Documentation ¶
Index ¶
- Variables
- type NodeDeposit
- type NodeDepositCaller
- type NodeDepositCallerRaw
- type NodeDepositCallerSession
- type NodeDepositDepositReceived
- type NodeDepositDepositReceivedIterator
- type NodeDepositDeposited
- type NodeDepositDepositedIterator
- type NodeDepositFilterer
- func (_NodeDeposit *NodeDepositFilterer) FilterDepositReceived(opts *bind.FilterOpts, from []common.Address) (*NodeDepositDepositReceivedIterator, error)
- func (_NodeDeposit *NodeDepositFilterer) FilterDeposited(opts *bind.FilterOpts) (*NodeDepositDepositedIterator, error)
- func (_NodeDeposit *NodeDepositFilterer) FilterStaked(opts *bind.FilterOpts) (*NodeDepositStakedIterator, error)
- func (_NodeDeposit *NodeDepositFilterer) ParseDepositReceived(log types.Log) (*NodeDepositDepositReceived, error)
- func (_NodeDeposit *NodeDepositFilterer) ParseDeposited(log types.Log) (*NodeDepositDeposited, error)
- func (_NodeDeposit *NodeDepositFilterer) ParseStaked(log types.Log) (*NodeDepositStaked, error)
- func (_NodeDeposit *NodeDepositFilterer) WatchDepositReceived(opts *bind.WatchOpts, sink chan<- *NodeDepositDepositReceived, ...) (event.Subscription, error)
- func (_NodeDeposit *NodeDepositFilterer) WatchDeposited(opts *bind.WatchOpts, sink chan<- *NodeDepositDeposited) (event.Subscription, error)
- func (_NodeDeposit *NodeDepositFilterer) WatchStaked(opts *bind.WatchOpts, sink chan<- *NodeDepositStaked) (event.Subscription, error)
- type NodeDepositRaw
- func (_NodeDeposit *NodeDepositRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_NodeDeposit *NodeDepositRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_NodeDeposit *NodeDepositRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type NodeDepositSession
- func (_NodeDeposit *NodeDepositSession) Deposit(_validatorPubkeys [][]byte, _validatorSignatures [][]byte, ...) (*types.Transaction, error)
- func (_NodeDeposit *NodeDepositSession) GetCurrentNodeDepositAmount() (*big.Int, error)
- func (_NodeDeposit *NodeDepositSession) GetDepositEnabled() (bool, error)
- func (_NodeDeposit *NodeDepositSession) SetCurrentNodeDepositAmount(_value *big.Int) (*types.Transaction, error)
- func (_NodeDeposit *NodeDepositSession) SetDepositEnabled(_value bool) (*types.Transaction, error)
- func (_NodeDeposit *NodeDepositSession) Stake(_stakingPools []common.Address, _validatorSignatures [][]byte, ...) (*types.Transaction, error)
- func (_NodeDeposit *NodeDepositSession) Version() (uint8, error)
- type NodeDepositStaked
- type NodeDepositStakedIterator
- type NodeDepositTransactor
- func (_NodeDeposit *NodeDepositTransactor) Deposit(opts *bind.TransactOpts, _validatorPubkeys [][]byte, ...) (*types.Transaction, error)
- func (_NodeDeposit *NodeDepositTransactor) SetCurrentNodeDepositAmount(opts *bind.TransactOpts, _value *big.Int) (*types.Transaction, error)
- func (_NodeDeposit *NodeDepositTransactor) SetDepositEnabled(opts *bind.TransactOpts, _value bool) (*types.Transaction, error)
- func (_NodeDeposit *NodeDepositTransactor) Stake(opts *bind.TransactOpts, _stakingPools []common.Address, ...) (*types.Transaction, error)
- type NodeDepositTransactorRaw
- type NodeDepositTransactorSession
- func (_NodeDeposit *NodeDepositTransactorSession) Deposit(_validatorPubkeys [][]byte, _validatorSignatures [][]byte, ...) (*types.Transaction, error)
- func (_NodeDeposit *NodeDepositTransactorSession) SetCurrentNodeDepositAmount(_value *big.Int) (*types.Transaction, error)
- func (_NodeDeposit *NodeDepositTransactorSession) SetDepositEnabled(_value bool) (*types.Transaction, error)
- func (_NodeDeposit *NodeDepositTransactorSession) Stake(_stakingPools []common.Address, _validatorSignatures [][]byte, ...) (*types.Transaction, error)
Constants ¶
This section is empty.
Variables ¶
var NodeDepositABI = NodeDepositMetaData.ABI
NodeDepositABI is the input ABI used to generate the binding from. Deprecated: Use NodeDepositMetaData.ABI instead.
var NodeDepositMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_stafiStorageAddress\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"time\",\"type\":\"uint256\"}],\"name\":\"DepositReceived\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"node\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"pool\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"validatorPubkey\",\"type\":\"bytes\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"validatorSignature\",\"type\":\"bytes\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Deposited\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"node\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"validatorPubkey\",\"type\":\"bytes\"}],\"name\":\"Staked\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"bytes[]\",\"name\":\"_validatorPubkeys\",\"type\":\"bytes[]\"},{\"internalType\":\"bytes[]\",\"name\":\"_validatorSignatures\",\"type\":\"bytes[]\"},{\"internalType\":\"bytes32[]\",\"name\":\"_depositDataRoots\",\"type\":\"bytes32[]\"}],\"name\":\"deposit\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getCurrentNodeDepositAmount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getDepositEnabled\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"setCurrentNodeDepositAmount\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"_value\",\"type\":\"bool\"}],\"name\":\"setDepositEnabled\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"_stakingPools\",\"type\":\"address[]\"},{\"internalType\":\"bytes[]\",\"name\":\"_validatorSignatures\",\"type\":\"bytes[]\"},{\"internalType\":\"bytes32[]\",\"name\":\"_depositDataRoots\",\"type\":\"bytes32[]\"}],\"name\":\"stake\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"version\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}
NodeDepositMetaData contains all meta data concerning the NodeDeposit contract.
Functions ¶
This section is empty.
Types ¶
type NodeDeposit ¶
type NodeDeposit struct { NodeDepositCaller // Read-only binding to the contract NodeDepositTransactor // Write-only binding to the contract NodeDepositFilterer // Log filterer for contract events }
NodeDeposit is an auto generated Go binding around an Ethereum contract.
func NewNodeDeposit ¶
func NewNodeDeposit(address common.Address, backend bind.ContractBackend) (*NodeDeposit, error)
NewNodeDeposit creates a new instance of NodeDeposit, bound to a specific deployed contract.
type NodeDepositCaller ¶
type NodeDepositCaller struct {
// contains filtered or unexported fields
}
NodeDepositCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewNodeDepositCaller ¶
func NewNodeDepositCaller(address common.Address, caller bind.ContractCaller) (*NodeDepositCaller, error)
NewNodeDepositCaller creates a new read-only instance of NodeDeposit, bound to a specific deployed contract.
func (*NodeDepositCaller) GetCurrentNodeDepositAmount ¶
func (_NodeDeposit *NodeDepositCaller) GetCurrentNodeDepositAmount(opts *bind.CallOpts) (*big.Int, error)
GetCurrentNodeDepositAmount is a free data retrieval call binding the contract method 0x83f3f086.
Solidity: function getCurrentNodeDepositAmount() view returns(uint256)
func (*NodeDepositCaller) GetDepositEnabled ¶
func (_NodeDeposit *NodeDepositCaller) GetDepositEnabled(opts *bind.CallOpts) (bool, error)
GetDepositEnabled is a free data retrieval call binding the contract method 0x6ada7847.
Solidity: function getDepositEnabled() view returns(bool)
type NodeDepositCallerRaw ¶
type NodeDepositCallerRaw struct {
Contract *NodeDepositCaller // Generic read-only contract binding to access the raw methods on
}
NodeDepositCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*NodeDepositCallerRaw) Call ¶
func (_NodeDeposit *NodeDepositCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
type NodeDepositCallerSession ¶
type NodeDepositCallerSession struct { Contract *NodeDepositCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
NodeDepositCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*NodeDepositCallerSession) GetCurrentNodeDepositAmount ¶
func (_NodeDeposit *NodeDepositCallerSession) GetCurrentNodeDepositAmount() (*big.Int, error)
GetCurrentNodeDepositAmount is a free data retrieval call binding the contract method 0x83f3f086.
Solidity: function getCurrentNodeDepositAmount() view returns(uint256)
func (*NodeDepositCallerSession) GetDepositEnabled ¶
func (_NodeDeposit *NodeDepositCallerSession) GetDepositEnabled() (bool, error)
GetDepositEnabled is a free data retrieval call binding the contract method 0x6ada7847.
Solidity: function getDepositEnabled() view returns(bool)
func (*NodeDepositCallerSession) Version ¶
func (_NodeDeposit *NodeDepositCallerSession) Version() (uint8, error)
Version is a free data retrieval call binding the contract method 0x54fd4d50.
Solidity: function version() view returns(uint8)
type NodeDepositDepositReceived ¶
type NodeDepositDepositReceived struct { From common.Address Amount *big.Int Time *big.Int Raw types.Log // Blockchain specific contextual infos }
NodeDepositDepositReceived represents a DepositReceived event raised by the NodeDeposit contract.
type NodeDepositDepositReceivedIterator ¶
type NodeDepositDepositReceivedIterator struct { Event *NodeDepositDepositReceived // Event containing the contract specifics and raw log // contains filtered or unexported fields }
NodeDepositDepositReceivedIterator is returned from FilterDepositReceived and is used to iterate over the raw logs and unpacked data for DepositReceived events raised by the NodeDeposit contract.
func (*NodeDepositDepositReceivedIterator) Close ¶
func (it *NodeDepositDepositReceivedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*NodeDepositDepositReceivedIterator) Error ¶
func (it *NodeDepositDepositReceivedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*NodeDepositDepositReceivedIterator) Next ¶
func (it *NodeDepositDepositReceivedIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type NodeDepositDeposited ¶
type NodeDepositDeposited struct { Node common.Address Pool common.Address ValidatorPubkey []byte ValidatorSignature []byte Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
NodeDepositDeposited represents a Deposited event raised by the NodeDeposit contract.
type NodeDepositDepositedIterator ¶
type NodeDepositDepositedIterator struct { Event *NodeDepositDeposited // Event containing the contract specifics and raw log // contains filtered or unexported fields }
NodeDepositDepositedIterator is returned from FilterDeposited and is used to iterate over the raw logs and unpacked data for Deposited events raised by the NodeDeposit contract.
func (*NodeDepositDepositedIterator) Close ¶
func (it *NodeDepositDepositedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*NodeDepositDepositedIterator) Error ¶
func (it *NodeDepositDepositedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*NodeDepositDepositedIterator) Next ¶
func (it *NodeDepositDepositedIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type NodeDepositFilterer ¶
type NodeDepositFilterer struct {
// contains filtered or unexported fields
}
NodeDepositFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewNodeDepositFilterer ¶
func NewNodeDepositFilterer(address common.Address, filterer bind.ContractFilterer) (*NodeDepositFilterer, error)
NewNodeDepositFilterer creates a new log filterer instance of NodeDeposit, bound to a specific deployed contract.
func (*NodeDepositFilterer) FilterDepositReceived ¶
func (_NodeDeposit *NodeDepositFilterer) FilterDepositReceived(opts *bind.FilterOpts, from []common.Address) (*NodeDepositDepositReceivedIterator, error)
FilterDepositReceived is a free log retrieval operation binding the contract event 0x7aa1a8eb998c779420645fc14513bf058edb347d95c2fc2e6845bdc22f888631.
Solidity: event DepositReceived(address indexed from, uint256 amount, uint256 time)
func (*NodeDepositFilterer) FilterDeposited ¶
func (_NodeDeposit *NodeDepositFilterer) FilterDeposited(opts *bind.FilterOpts) (*NodeDepositDepositedIterator, error)
FilterDeposited is a free log retrieval operation binding the contract event 0x2c4863664bc90d75b80d943cf7e8cc0974d20e97b949374d963637af4b80dce6.
Solidity: event Deposited(address node, address pool, bytes validatorPubkey, bytes validatorSignature, uint256 amount)
func (*NodeDepositFilterer) FilterStaked ¶
func (_NodeDeposit *NodeDepositFilterer) FilterStaked(opts *bind.FilterOpts) (*NodeDepositStakedIterator, error)
FilterStaked is a free log retrieval operation binding the contract event 0xb384b282308c431ac3ea7756646550752d3f0dbfb418ef60bfeaf4edc9494815.
Solidity: event Staked(address node, bytes validatorPubkey)
func (*NodeDepositFilterer) ParseDepositReceived ¶
func (_NodeDeposit *NodeDepositFilterer) ParseDepositReceived(log types.Log) (*NodeDepositDepositReceived, error)
ParseDepositReceived is a log parse operation binding the contract event 0x7aa1a8eb998c779420645fc14513bf058edb347d95c2fc2e6845bdc22f888631.
Solidity: event DepositReceived(address indexed from, uint256 amount, uint256 time)
func (*NodeDepositFilterer) ParseDeposited ¶
func (_NodeDeposit *NodeDepositFilterer) ParseDeposited(log types.Log) (*NodeDepositDeposited, error)
ParseDeposited is a log parse operation binding the contract event 0x2c4863664bc90d75b80d943cf7e8cc0974d20e97b949374d963637af4b80dce6.
Solidity: event Deposited(address node, address pool, bytes validatorPubkey, bytes validatorSignature, uint256 amount)
func (*NodeDepositFilterer) ParseStaked ¶
func (_NodeDeposit *NodeDepositFilterer) ParseStaked(log types.Log) (*NodeDepositStaked, error)
ParseStaked is a log parse operation binding the contract event 0xb384b282308c431ac3ea7756646550752d3f0dbfb418ef60bfeaf4edc9494815.
Solidity: event Staked(address node, bytes validatorPubkey)
func (*NodeDepositFilterer) WatchDepositReceived ¶
func (_NodeDeposit *NodeDepositFilterer) WatchDepositReceived(opts *bind.WatchOpts, sink chan<- *NodeDepositDepositReceived, from []common.Address) (event.Subscription, error)
WatchDepositReceived is a free log subscription operation binding the contract event 0x7aa1a8eb998c779420645fc14513bf058edb347d95c2fc2e6845bdc22f888631.
Solidity: event DepositReceived(address indexed from, uint256 amount, uint256 time)
func (*NodeDepositFilterer) WatchDeposited ¶
func (_NodeDeposit *NodeDepositFilterer) WatchDeposited(opts *bind.WatchOpts, sink chan<- *NodeDepositDeposited) (event.Subscription, error)
WatchDeposited is a free log subscription operation binding the contract event 0x2c4863664bc90d75b80d943cf7e8cc0974d20e97b949374d963637af4b80dce6.
Solidity: event Deposited(address node, address pool, bytes validatorPubkey, bytes validatorSignature, uint256 amount)
func (*NodeDepositFilterer) WatchStaked ¶
func (_NodeDeposit *NodeDepositFilterer) WatchStaked(opts *bind.WatchOpts, sink chan<- *NodeDepositStaked) (event.Subscription, error)
WatchStaked is a free log subscription operation binding the contract event 0xb384b282308c431ac3ea7756646550752d3f0dbfb418ef60bfeaf4edc9494815.
Solidity: event Staked(address node, bytes validatorPubkey)
type NodeDepositRaw ¶
type NodeDepositRaw struct {
Contract *NodeDeposit // Generic contract binding to access the raw methods on
}
NodeDepositRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*NodeDepositRaw) Call ¶
func (_NodeDeposit *NodeDepositRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
func (*NodeDepositRaw) Transact ¶
func (_NodeDeposit *NodeDepositRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*NodeDepositRaw) Transfer ¶
func (_NodeDeposit *NodeDepositRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type NodeDepositSession ¶
type NodeDepositSession struct { Contract *NodeDeposit // Generic contract binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
NodeDepositSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*NodeDepositSession) Deposit ¶
func (_NodeDeposit *NodeDepositSession) Deposit(_validatorPubkeys [][]byte, _validatorSignatures [][]byte, _depositDataRoots [][32]byte) (*types.Transaction, error)
Deposit is a paid mutator transaction binding the contract method 0xd46221f9.
Solidity: function deposit(bytes[] _validatorPubkeys, bytes[] _validatorSignatures, bytes32[] _depositDataRoots) payable returns()
func (*NodeDepositSession) GetCurrentNodeDepositAmount ¶
func (_NodeDeposit *NodeDepositSession) GetCurrentNodeDepositAmount() (*big.Int, error)
GetCurrentNodeDepositAmount is a free data retrieval call binding the contract method 0x83f3f086.
Solidity: function getCurrentNodeDepositAmount() view returns(uint256)
func (*NodeDepositSession) GetDepositEnabled ¶
func (_NodeDeposit *NodeDepositSession) GetDepositEnabled() (bool, error)
GetDepositEnabled is a free data retrieval call binding the contract method 0x6ada7847.
Solidity: function getDepositEnabled() view returns(bool)
func (*NodeDepositSession) SetCurrentNodeDepositAmount ¶
func (_NodeDeposit *NodeDepositSession) SetCurrentNodeDepositAmount(_value *big.Int) (*types.Transaction, error)
SetCurrentNodeDepositAmount is a paid mutator transaction binding the contract method 0x33f30a5e.
Solidity: function setCurrentNodeDepositAmount(uint256 _value) returns()
func (*NodeDepositSession) SetDepositEnabled ¶
func (_NodeDeposit *NodeDepositSession) SetDepositEnabled(_value bool) (*types.Transaction, error)
SetDepositEnabled is a paid mutator transaction binding the contract method 0x5b17d04b.
Solidity: function setDepositEnabled(bool _value) returns()
func (*NodeDepositSession) Stake ¶
func (_NodeDeposit *NodeDepositSession) Stake(_stakingPools []common.Address, _validatorSignatures [][]byte, _depositDataRoots [][32]byte) (*types.Transaction, error)
Stake is a paid mutator transaction binding the contract method 0xa481513a.
Solidity: function stake(address[] _stakingPools, bytes[] _validatorSignatures, bytes32[] _depositDataRoots) returns()
func (*NodeDepositSession) Version ¶
func (_NodeDeposit *NodeDepositSession) Version() (uint8, error)
Version is a free data retrieval call binding the contract method 0x54fd4d50.
Solidity: function version() view returns(uint8)
type NodeDepositStaked ¶
type NodeDepositStaked struct { Node common.Address ValidatorPubkey []byte Raw types.Log // Blockchain specific contextual infos }
NodeDepositStaked represents a Staked event raised by the NodeDeposit contract.
type NodeDepositStakedIterator ¶
type NodeDepositStakedIterator struct { Event *NodeDepositStaked // Event containing the contract specifics and raw log // contains filtered or unexported fields }
NodeDepositStakedIterator is returned from FilterStaked and is used to iterate over the raw logs and unpacked data for Staked events raised by the NodeDeposit contract.
func (*NodeDepositStakedIterator) Close ¶
func (it *NodeDepositStakedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*NodeDepositStakedIterator) Error ¶
func (it *NodeDepositStakedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*NodeDepositStakedIterator) Next ¶
func (it *NodeDepositStakedIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type NodeDepositTransactor ¶
type NodeDepositTransactor struct {
// contains filtered or unexported fields
}
NodeDepositTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewNodeDepositTransactor ¶
func NewNodeDepositTransactor(address common.Address, transactor bind.ContractTransactor) (*NodeDepositTransactor, error)
NewNodeDepositTransactor creates a new write-only instance of NodeDeposit, bound to a specific deployed contract.
func (*NodeDepositTransactor) Deposit ¶
func (_NodeDeposit *NodeDepositTransactor) Deposit(opts *bind.TransactOpts, _validatorPubkeys [][]byte, _validatorSignatures [][]byte, _depositDataRoots [][32]byte) (*types.Transaction, error)
Deposit is a paid mutator transaction binding the contract method 0xd46221f9.
Solidity: function deposit(bytes[] _validatorPubkeys, bytes[] _validatorSignatures, bytes32[] _depositDataRoots) payable returns()
func (*NodeDepositTransactor) SetCurrentNodeDepositAmount ¶
func (_NodeDeposit *NodeDepositTransactor) SetCurrentNodeDepositAmount(opts *bind.TransactOpts, _value *big.Int) (*types.Transaction, error)
SetCurrentNodeDepositAmount is a paid mutator transaction binding the contract method 0x33f30a5e.
Solidity: function setCurrentNodeDepositAmount(uint256 _value) returns()
func (*NodeDepositTransactor) SetDepositEnabled ¶
func (_NodeDeposit *NodeDepositTransactor) SetDepositEnabled(opts *bind.TransactOpts, _value bool) (*types.Transaction, error)
SetDepositEnabled is a paid mutator transaction binding the contract method 0x5b17d04b.
Solidity: function setDepositEnabled(bool _value) returns()
func (*NodeDepositTransactor) Stake ¶
func (_NodeDeposit *NodeDepositTransactor) Stake(opts *bind.TransactOpts, _stakingPools []common.Address, _validatorSignatures [][]byte, _depositDataRoots [][32]byte) (*types.Transaction, error)
Stake is a paid mutator transaction binding the contract method 0xa481513a.
Solidity: function stake(address[] _stakingPools, bytes[] _validatorSignatures, bytes32[] _depositDataRoots) returns()
type NodeDepositTransactorRaw ¶
type NodeDepositTransactorRaw struct {
Contract *NodeDepositTransactor // Generic write-only contract binding to access the raw methods on
}
NodeDepositTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*NodeDepositTransactorRaw) Transact ¶
func (_NodeDeposit *NodeDepositTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*NodeDepositTransactorRaw) Transfer ¶
func (_NodeDeposit *NodeDepositTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type NodeDepositTransactorSession ¶
type NodeDepositTransactorSession struct { Contract *NodeDepositTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
NodeDepositTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*NodeDepositTransactorSession) Deposit ¶
func (_NodeDeposit *NodeDepositTransactorSession) Deposit(_validatorPubkeys [][]byte, _validatorSignatures [][]byte, _depositDataRoots [][32]byte) (*types.Transaction, error)
Deposit is a paid mutator transaction binding the contract method 0xd46221f9.
Solidity: function deposit(bytes[] _validatorPubkeys, bytes[] _validatorSignatures, bytes32[] _depositDataRoots) payable returns()
func (*NodeDepositTransactorSession) SetCurrentNodeDepositAmount ¶
func (_NodeDeposit *NodeDepositTransactorSession) SetCurrentNodeDepositAmount(_value *big.Int) (*types.Transaction, error)
SetCurrentNodeDepositAmount is a paid mutator transaction binding the contract method 0x33f30a5e.
Solidity: function setCurrentNodeDepositAmount(uint256 _value) returns()
func (*NodeDepositTransactorSession) SetDepositEnabled ¶
func (_NodeDeposit *NodeDepositTransactorSession) SetDepositEnabled(_value bool) (*types.Transaction, error)
SetDepositEnabled is a paid mutator transaction binding the contract method 0x5b17d04b.
Solidity: function setDepositEnabled(bool _value) returns()
func (*NodeDepositTransactorSession) Stake ¶
func (_NodeDeposit *NodeDepositTransactorSession) Stake(_stakingPools []common.Address, _validatorSignatures [][]byte, _depositDataRoots [][32]byte) (*types.Transaction, error)
Stake is a paid mutator transaction binding the contract method 0xa481513a.
Solidity: function stake(address[] _stakingPools, bytes[] _validatorSignatures, bytes32[] _depositDataRoots) returns()