Documentation ¶
Index ¶
- type SplitMain1_0
- func (c *SplitMain1_0) GetErc20Balance(mc *batch.MultiCaller, out **big.Int, account common.Address, ...)
- func (c *SplitMain1_0) GetEthBalance(mc *batch.MultiCaller, out **big.Int, account common.Address)
- func (c *SplitMain1_0) Withdraw(address common.Address, ethAmountWithdraw *big.Int, ...) (*eth.TransactionInfo, error)
- type SplitMain1_1
- func (c *SplitMain1_1) GetErc20Balance(mc *batch.MultiCaller, out **big.Int, account common.Address, ...)
- func (c *SplitMain1_1) GetEthBalance(mc *batch.MultiCaller, out **big.Int, account common.Address)
- func (c *SplitMain1_1) Withdraw(address common.Address, ethAmountWithdraw *big.Int, ...) (*eth.TransactionInfo, error)
- type StakewiseVault
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SplitMain1_0 ¶
type SplitMain1_0 struct {
// contains filtered or unexported fields
}
Binding for the SplitMain "v1.0" contract See https://github.com/0xSplits/splits-contracts/blob/main/contracts/interfaces/ISplitMain.sol
func NewSplitMain1_0 ¶
func NewSplitMain1_0(address common.Address, ec eth.IExecutionClient, txMgr *eth.TransactionManager) (*SplitMain1_0, error)
Create a new SplitMain instance
func (*SplitMain1_0) GetErc20Balance ¶
func (c *SplitMain1_0) GetErc20Balance(mc *batch.MultiCaller, out **big.Int, account common.Address, token common.Address)
func (*SplitMain1_0) GetEthBalance ¶
func (c *SplitMain1_0) GetEthBalance(mc *batch.MultiCaller, out **big.Int, account common.Address)
func (*SplitMain1_0) Withdraw ¶
func (c *SplitMain1_0) Withdraw(address common.Address, ethAmountWithdraw *big.Int, claimTokenList []common.Address, opts *bind.TransactOpts) (*eth.TransactionInfo, error)
type SplitMain1_1 ¶
type SplitMain1_1 struct {
// contains filtered or unexported fields
}
Binding for the SplitMain "v1.1" contract See https://github.com/0xSplits/splits-contracts/blob/holesky-2/contracts/interfaces/ISplitMain.sol
func NewSplitMain1_1 ¶
func NewSplitMain1_1(address common.Address, ec eth.IExecutionClient, txMgr *eth.TransactionManager) (*SplitMain1_1, error)
Create a new SplitMain instance
func (*SplitMain1_1) GetErc20Balance ¶
func (c *SplitMain1_1) GetErc20Balance(mc *batch.MultiCaller, out **big.Int, account common.Address, token common.Address)
func (*SplitMain1_1) GetEthBalance ¶
func (c *SplitMain1_1) GetEthBalance(mc *batch.MultiCaller, out **big.Int, account common.Address)
func (*SplitMain1_1) Withdraw ¶
func (c *SplitMain1_1) 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
Click to show internal directories.
Click to hide internal directories.