swcontracts

package
v0.1.0-dev Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 16, 2024 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SplitMain

type SplitMain struct {
	// contains filtered or unexported fields
}

Binding for Splitmain

func NewSplitMain

func NewSplitMain(address common.Address, ec eth.IExecutionClient, txMgr *eth.TransactionManager) (*SplitMain, error)

Create a new Splitmain instance

func (*SplitMain) Withdraw

func (c *SplitMain) Withdraw(address common.Address, ethAmountWithdraw big.Int, claimTokenList []common.Address, opts *bind.TransactOpts) (*eth.TransactionInfo, error)

type StakewiseVault

type StakewiseVault struct {
	// contains filtered or unexported fields
}

Binding for Stakewise vaults

func NewStakewiseVault

func NewStakewiseVault(address common.Address, ec eth.IExecutionClient, txMgr *eth.TransactionManager) (*StakewiseVault, error)

Create a new Stakewise vault instance

func (*StakewiseVault) GetValidatorsRoot

func (c *StakewiseVault) GetValidatorsRoot(mc *batch.MultiCaller, out *common.Hash)

Get the current validators root in the contracts

func (*StakewiseVault) SetDepositDataRoot

func (c *StakewiseVault) SetDepositDataRoot(dataRoot common.Hash, opts *bind.TransactOpts) (*eth.TransactionInfo, error)

Set the validator deposit data root for the vault

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL