Documentation ¶
Index ¶
- Constants
- Variables
- type BeaconDeposit
- type BeaconDepositCaller
- func (_BeaconDeposit *BeaconDepositCaller) GetDepositCount(opts *bind.CallOpts) ([]byte, error)
- func (_BeaconDeposit *BeaconDepositCaller) GetDepositRoot(opts *bind.CallOpts) ([32]byte, error)
- func (_BeaconDeposit *BeaconDepositCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)
- type BeaconDepositCallerRaw
- type BeaconDepositCallerSession
- type BeaconDepositDepositEvent
- type BeaconDepositDepositEventIterator
- type BeaconDepositFilterer
- func (_BeaconDeposit *BeaconDepositFilterer) FilterDepositEvent(opts *bind.FilterOpts) (*BeaconDepositDepositEventIterator, error)
- func (_BeaconDeposit *BeaconDepositFilterer) ParseDepositEvent(log types.Log) (*BeaconDepositDepositEvent, error)
- func (_BeaconDeposit *BeaconDepositFilterer) WatchDepositEvent(opts *bind.WatchOpts, sink chan<- *BeaconDepositDepositEvent) (event.Subscription, error)
- type BeaconDepositRaw
- func (_BeaconDeposit *BeaconDepositRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_BeaconDeposit *BeaconDepositRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_BeaconDeposit *BeaconDepositRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type BeaconDepositSession
- func (_BeaconDeposit *BeaconDepositSession) Deposit(pubkey []byte, withdrawal_credentials []byte, signature []byte, ...) (*types.Transaction, error)
- func (_BeaconDeposit *BeaconDepositSession) GetDepositCount() ([]byte, error)
- func (_BeaconDeposit *BeaconDepositSession) GetDepositRoot() ([32]byte, error)
- func (_BeaconDeposit *BeaconDepositSession) SupportsInterface(interfaceId [4]byte) (bool, error)
- type BeaconDepositTransactor
- type BeaconDepositTransactorRaw
- type BeaconDepositTransactorSession
- type RPLFaucet
- type RPLFaucetCaller
- func (_RPLFaucet *RPLFaucetCaller) GetAllowance(opts *bind.CallOpts) (*big.Int, error)
- func (_RPLFaucet *RPLFaucetCaller) GetAllowanceFor(opts *bind.CallOpts, _address common.Address) (*big.Int, error)
- func (_RPLFaucet *RPLFaucetCaller) GetBalance(opts *bind.CallOpts) (*big.Int, error)
- func (_RPLFaucet *RPLFaucetCaller) GetWithdrawalPeriodStart(opts *bind.CallOpts) (*big.Int, error)
- func (_RPLFaucet *RPLFaucetCaller) MaxWithdrawalPerPeriod(opts *bind.CallOpts) (*big.Int, error)
- func (_RPLFaucet *RPLFaucetCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_RPLFaucet *RPLFaucetCaller) WithdrawalFee(opts *bind.CallOpts) (*big.Int, error)
- func (_RPLFaucet *RPLFaucetCaller) WithdrawalPeriod(opts *bind.CallOpts) (*big.Int, error)
- type RPLFaucetCallerRaw
- type RPLFaucetCallerSession
- func (_RPLFaucet *RPLFaucetCallerSession) GetAllowance() (*big.Int, error)
- func (_RPLFaucet *RPLFaucetCallerSession) GetAllowanceFor(_address common.Address) (*big.Int, error)
- func (_RPLFaucet *RPLFaucetCallerSession) GetBalance() (*big.Int, error)
- func (_RPLFaucet *RPLFaucetCallerSession) GetWithdrawalPeriodStart() (*big.Int, error)
- func (_RPLFaucet *RPLFaucetCallerSession) MaxWithdrawalPerPeriod() (*big.Int, error)
- func (_RPLFaucet *RPLFaucetCallerSession) Owner() (common.Address, error)
- func (_RPLFaucet *RPLFaucetCallerSession) WithdrawalFee() (*big.Int, error)
- func (_RPLFaucet *RPLFaucetCallerSession) WithdrawalPeriod() (*big.Int, error)
- type RPLFaucetFilterer
- func (_RPLFaucet *RPLFaucetFilterer) FilterWithdrawal(opts *bind.FilterOpts, to []common.Address) (*RPLFaucetWithdrawalIterator, error)
- func (_RPLFaucet *RPLFaucetFilterer) ParseWithdrawal(log types.Log) (*RPLFaucetWithdrawal, error)
- func (_RPLFaucet *RPLFaucetFilterer) WatchWithdrawal(opts *bind.WatchOpts, sink chan<- *RPLFaucetWithdrawal, to []common.Address) (event.Subscription, error)
- type RPLFaucetRaw
- func (_RPLFaucet *RPLFaucetRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_RPLFaucet *RPLFaucetRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_RPLFaucet *RPLFaucetRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type RPLFaucetSession
- func (_RPLFaucet *RPLFaucetSession) GetAllowance() (*big.Int, error)
- func (_RPLFaucet *RPLFaucetSession) GetAllowanceFor(_address common.Address) (*big.Int, error)
- func (_RPLFaucet *RPLFaucetSession) GetBalance() (*big.Int, error)
- func (_RPLFaucet *RPLFaucetSession) GetWithdrawalPeriodStart() (*big.Int, error)
- func (_RPLFaucet *RPLFaucetSession) MaxWithdrawalPerPeriod() (*big.Int, error)
- func (_RPLFaucet *RPLFaucetSession) Owner() (common.Address, error)
- func (_RPLFaucet *RPLFaucetSession) SetMaxWithdrawalPerPeriod(_maxWithdrawalPerPeriod *big.Int) (*types.Transaction, error)
- func (_RPLFaucet *RPLFaucetSession) SetWithdrawalFee(_withdrawalFee *big.Int) (*types.Transaction, error)
- func (_RPLFaucet *RPLFaucetSession) SetWithdrawalPeriod(_withdrawalPeriod *big.Int) (*types.Transaction, error)
- func (_RPLFaucet *RPLFaucetSession) Withdraw(_amount *big.Int) (*types.Transaction, error)
- func (_RPLFaucet *RPLFaucetSession) WithdrawTo(_to common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_RPLFaucet *RPLFaucetSession) WithdrawalFee() (*big.Int, error)
- func (_RPLFaucet *RPLFaucetSession) WithdrawalPeriod() (*big.Int, error)
- type RPLFaucetTransactor
- func (_RPLFaucet *RPLFaucetTransactor) SetMaxWithdrawalPerPeriod(opts *bind.TransactOpts, _maxWithdrawalPerPeriod *big.Int) (*types.Transaction, error)
- func (_RPLFaucet *RPLFaucetTransactor) SetWithdrawalFee(opts *bind.TransactOpts, _withdrawalFee *big.Int) (*types.Transaction, error)
- func (_RPLFaucet *RPLFaucetTransactor) SetWithdrawalPeriod(opts *bind.TransactOpts, _withdrawalPeriod *big.Int) (*types.Transaction, error)
- func (_RPLFaucet *RPLFaucetTransactor) Withdraw(opts *bind.TransactOpts, _amount *big.Int) (*types.Transaction, error)
- func (_RPLFaucet *RPLFaucetTransactor) WithdrawTo(opts *bind.TransactOpts, _to common.Address, _amount *big.Int) (*types.Transaction, error)
- type RPLFaucetTransactorRaw
- type RPLFaucetTransactorSession
- func (_RPLFaucet *RPLFaucetTransactorSession) SetMaxWithdrawalPerPeriod(_maxWithdrawalPerPeriod *big.Int) (*types.Transaction, error)
- func (_RPLFaucet *RPLFaucetTransactorSession) SetWithdrawalFee(_withdrawalFee *big.Int) (*types.Transaction, error)
- func (_RPLFaucet *RPLFaucetTransactorSession) SetWithdrawalPeriod(_withdrawalPeriod *big.Int) (*types.Transaction, error)
- func (_RPLFaucet *RPLFaucetTransactorSession) Withdraw(_amount *big.Int) (*types.Transaction, error)
- func (_RPLFaucet *RPLFaucetTransactorSession) WithdrawTo(_to common.Address, _amount *big.Int) (*types.Transaction, error)
- type RPLFaucetWithdrawal
- type RPLFaucetWithdrawalIterator
- type SnapshotDelegation
- type SnapshotDelegationCaller
- type SnapshotDelegationCallerRaw
- type SnapshotDelegationCallerSession
- type SnapshotDelegationClearDelegate
- type SnapshotDelegationClearDelegateIterator
- type SnapshotDelegationFilterer
- func (_SnapshotDelegation *SnapshotDelegationFilterer) FilterClearDelegate(opts *bind.FilterOpts, delegator []common.Address, id [][32]byte, ...) (*SnapshotDelegationClearDelegateIterator, error)
- func (_SnapshotDelegation *SnapshotDelegationFilterer) FilterSetDelegate(opts *bind.FilterOpts, delegator []common.Address, id [][32]byte, ...) (*SnapshotDelegationSetDelegateIterator, error)
- func (_SnapshotDelegation *SnapshotDelegationFilterer) ParseClearDelegate(log types.Log) (*SnapshotDelegationClearDelegate, error)
- func (_SnapshotDelegation *SnapshotDelegationFilterer) ParseSetDelegate(log types.Log) (*SnapshotDelegationSetDelegate, error)
- func (_SnapshotDelegation *SnapshotDelegationFilterer) WatchClearDelegate(opts *bind.WatchOpts, sink chan<- *SnapshotDelegationClearDelegate, ...) (event.Subscription, error)
- func (_SnapshotDelegation *SnapshotDelegationFilterer) WatchSetDelegate(opts *bind.WatchOpts, sink chan<- *SnapshotDelegationSetDelegate, ...) (event.Subscription, error)
- type SnapshotDelegationRaw
- func (_SnapshotDelegation *SnapshotDelegationRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_SnapshotDelegation *SnapshotDelegationRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_SnapshotDelegation *SnapshotDelegationRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type SnapshotDelegationSession
- func (_SnapshotDelegation *SnapshotDelegationSession) ClearDelegate(id [32]byte) (*types.Transaction, error)
- func (_SnapshotDelegation *SnapshotDelegationSession) Delegation(arg0 common.Address, arg1 [32]byte) (common.Address, error)
- func (_SnapshotDelegation *SnapshotDelegationSession) SetDelegate(id [32]byte, delegate common.Address) (*types.Transaction, error)
- type SnapshotDelegationSetDelegate
- type SnapshotDelegationSetDelegateIterator
- type SnapshotDelegationTransactor
- type SnapshotDelegationTransactorRaw
- type SnapshotDelegationTransactorSession
Constants ¶
const BeaconDepositABI = "" /* 1613-byte string literal not displayed */
BeaconDepositABI is the input ABI used to generate the binding from.
const RPLFaucetABI = "" /* 3027-byte string literal not displayed */
RPLFaucetABI is the input ABI used to generate the binding from.
Variables ¶
var SnapshotDelegationABI = SnapshotDelegationMetaData.ABI
SnapshotDelegationABI is the input ABI used to generate the binding from. Deprecated: Use SnapshotDelegationMetaData.ABI instead.
var SnapshotDelegationMetaData = &bind.MetaData{
ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"delegator\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"id\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"delegate\",\"type\":\"address\"}],\"name\":\"ClearDelegate\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"delegator\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"id\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"delegate\",\"type\":\"address\"}],\"name\":\"SetDelegate\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"id\",\"type\":\"bytes32\"}],\"name\":\"clearDelegate\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"delegation\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"id\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"delegate\",\"type\":\"address\"}],\"name\":\"setDelegate\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}
SnapshotDelegationMetaData contains all meta data concerning the SnapshotDelegation contract.
Functions ¶
This section is empty.
Types ¶
type BeaconDeposit ¶
type BeaconDeposit struct { BeaconDepositCaller // Read-only binding to the contract BeaconDepositTransactor // Write-only binding to the contract BeaconDepositFilterer // Log filterer for contract events }
BeaconDeposit is an auto generated Go binding around an Ethereum contract.
func NewBeaconDeposit ¶
func NewBeaconDeposit(address common.Address, backend bind.ContractBackend) (*BeaconDeposit, error)
NewBeaconDeposit creates a new instance of BeaconDeposit, bound to a specific deployed contract.
type BeaconDepositCaller ¶
type BeaconDepositCaller struct {
// contains filtered or unexported fields
}
BeaconDepositCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewBeaconDepositCaller ¶
func NewBeaconDepositCaller(address common.Address, caller bind.ContractCaller) (*BeaconDepositCaller, error)
NewBeaconDepositCaller creates a new read-only instance of BeaconDeposit, bound to a specific deployed contract.
func (*BeaconDepositCaller) GetDepositCount ¶
func (_BeaconDeposit *BeaconDepositCaller) GetDepositCount(opts *bind.CallOpts) ([]byte, error)
GetDepositCount is a free data retrieval call binding the contract method 0x621fd130.
Solidity: function get_deposit_count() view returns(bytes)
func (*BeaconDepositCaller) GetDepositRoot ¶
func (_BeaconDeposit *BeaconDepositCaller) GetDepositRoot(opts *bind.CallOpts) ([32]byte, error)
GetDepositRoot is a free data retrieval call binding the contract method 0xc5f2892f.
Solidity: function get_deposit_root() view returns(bytes32)
func (*BeaconDepositCaller) SupportsInterface ¶
func (_BeaconDeposit *BeaconDepositCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)
SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.
Solidity: function supportsInterface(bytes4 interfaceId) pure returns(bool)
type BeaconDepositCallerRaw ¶
type BeaconDepositCallerRaw struct {
Contract *BeaconDepositCaller // Generic read-only contract binding to access the raw methods on
}
BeaconDepositCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*BeaconDepositCallerRaw) Call ¶
func (_BeaconDeposit *BeaconDepositCallerRaw) 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 BeaconDepositCallerSession ¶
type BeaconDepositCallerSession struct { Contract *BeaconDepositCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
BeaconDepositCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*BeaconDepositCallerSession) GetDepositCount ¶
func (_BeaconDeposit *BeaconDepositCallerSession) GetDepositCount() ([]byte, error)
GetDepositCount is a free data retrieval call binding the contract method 0x621fd130.
Solidity: function get_deposit_count() view returns(bytes)
func (*BeaconDepositCallerSession) GetDepositRoot ¶
func (_BeaconDeposit *BeaconDepositCallerSession) GetDepositRoot() ([32]byte, error)
GetDepositRoot is a free data retrieval call binding the contract method 0xc5f2892f.
Solidity: function get_deposit_root() view returns(bytes32)
func (*BeaconDepositCallerSession) SupportsInterface ¶
func (_BeaconDeposit *BeaconDepositCallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)
SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.
Solidity: function supportsInterface(bytes4 interfaceId) pure returns(bool)
type BeaconDepositDepositEvent ¶
type BeaconDepositDepositEvent struct { Pubkey []byte WithdrawalCredentials []byte Amount []byte Signature []byte Index []byte Raw types.Log // Blockchain specific contextual infos }
BeaconDepositDepositEvent represents a DepositEvent event raised by the BeaconDeposit contract.
type BeaconDepositDepositEventIterator ¶
type BeaconDepositDepositEventIterator struct { Event *BeaconDepositDepositEvent // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BeaconDepositDepositEventIterator is returned from FilterDepositEvent and is used to iterate over the raw logs and unpacked data for DepositEvent events raised by the BeaconDeposit contract.
func (*BeaconDepositDepositEventIterator) Close ¶
func (it *BeaconDepositDepositEventIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BeaconDepositDepositEventIterator) Error ¶
func (it *BeaconDepositDepositEventIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BeaconDepositDepositEventIterator) Next ¶
func (it *BeaconDepositDepositEventIterator) 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 BeaconDepositFilterer ¶
type BeaconDepositFilterer struct {
// contains filtered or unexported fields
}
BeaconDepositFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewBeaconDepositFilterer ¶
func NewBeaconDepositFilterer(address common.Address, filterer bind.ContractFilterer) (*BeaconDepositFilterer, error)
NewBeaconDepositFilterer creates a new log filterer instance of BeaconDeposit, bound to a specific deployed contract.
func (*BeaconDepositFilterer) FilterDepositEvent ¶
func (_BeaconDeposit *BeaconDepositFilterer) FilterDepositEvent(opts *bind.FilterOpts) (*BeaconDepositDepositEventIterator, error)
FilterDepositEvent is a free log retrieval operation binding the contract event 0x649bbc62d0e31342afea4e5cd82d4049e7e1ee912fc0889aa790803be39038c5.
Solidity: event DepositEvent(bytes pubkey, bytes withdrawal_credentials, bytes amount, bytes signature, bytes index)
func (*BeaconDepositFilterer) ParseDepositEvent ¶
func (_BeaconDeposit *BeaconDepositFilterer) ParseDepositEvent(log types.Log) (*BeaconDepositDepositEvent, error)
ParseDepositEvent is a log parse operation binding the contract event 0x649bbc62d0e31342afea4e5cd82d4049e7e1ee912fc0889aa790803be39038c5.
Solidity: event DepositEvent(bytes pubkey, bytes withdrawal_credentials, bytes amount, bytes signature, bytes index)
func (*BeaconDepositFilterer) WatchDepositEvent ¶
func (_BeaconDeposit *BeaconDepositFilterer) WatchDepositEvent(opts *bind.WatchOpts, sink chan<- *BeaconDepositDepositEvent) (event.Subscription, error)
WatchDepositEvent is a free log subscription operation binding the contract event 0x649bbc62d0e31342afea4e5cd82d4049e7e1ee912fc0889aa790803be39038c5.
Solidity: event DepositEvent(bytes pubkey, bytes withdrawal_credentials, bytes amount, bytes signature, bytes index)
type BeaconDepositRaw ¶
type BeaconDepositRaw struct {
Contract *BeaconDeposit // Generic contract binding to access the raw methods on
}
BeaconDepositRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*BeaconDepositRaw) Call ¶
func (_BeaconDeposit *BeaconDepositRaw) 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 (*BeaconDepositRaw) Transact ¶
func (_BeaconDeposit *BeaconDepositRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*BeaconDepositRaw) Transfer ¶
func (_BeaconDeposit *BeaconDepositRaw) 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 BeaconDepositSession ¶
type BeaconDepositSession struct { Contract *BeaconDeposit // 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 }
BeaconDepositSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*BeaconDepositSession) Deposit ¶
func (_BeaconDeposit *BeaconDepositSession) Deposit(pubkey []byte, withdrawal_credentials []byte, signature []byte, deposit_data_root [32]byte) (*types.Transaction, error)
Deposit is a paid mutator transaction binding the contract method 0x22895118.
Solidity: function deposit(bytes pubkey, bytes withdrawal_credentials, bytes signature, bytes32 deposit_data_root) payable returns()
func (*BeaconDepositSession) GetDepositCount ¶
func (_BeaconDeposit *BeaconDepositSession) GetDepositCount() ([]byte, error)
GetDepositCount is a free data retrieval call binding the contract method 0x621fd130.
Solidity: function get_deposit_count() view returns(bytes)
func (*BeaconDepositSession) GetDepositRoot ¶
func (_BeaconDeposit *BeaconDepositSession) GetDepositRoot() ([32]byte, error)
GetDepositRoot is a free data retrieval call binding the contract method 0xc5f2892f.
Solidity: function get_deposit_root() view returns(bytes32)
func (*BeaconDepositSession) SupportsInterface ¶
func (_BeaconDeposit *BeaconDepositSession) SupportsInterface(interfaceId [4]byte) (bool, error)
SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.
Solidity: function supportsInterface(bytes4 interfaceId) pure returns(bool)
type BeaconDepositTransactor ¶
type BeaconDepositTransactor struct {
// contains filtered or unexported fields
}
BeaconDepositTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewBeaconDepositTransactor ¶
func NewBeaconDepositTransactor(address common.Address, transactor bind.ContractTransactor) (*BeaconDepositTransactor, error)
NewBeaconDepositTransactor creates a new write-only instance of BeaconDeposit, bound to a specific deployed contract.
func (*BeaconDepositTransactor) Deposit ¶
func (_BeaconDeposit *BeaconDepositTransactor) Deposit(opts *bind.TransactOpts, pubkey []byte, withdrawal_credentials []byte, signature []byte, deposit_data_root [32]byte) (*types.Transaction, error)
Deposit is a paid mutator transaction binding the contract method 0x22895118.
Solidity: function deposit(bytes pubkey, bytes withdrawal_credentials, bytes signature, bytes32 deposit_data_root) payable returns()
type BeaconDepositTransactorRaw ¶
type BeaconDepositTransactorRaw struct {
Contract *BeaconDepositTransactor // Generic write-only contract binding to access the raw methods on
}
BeaconDepositTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*BeaconDepositTransactorRaw) Transact ¶
func (_BeaconDeposit *BeaconDepositTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*BeaconDepositTransactorRaw) Transfer ¶
func (_BeaconDeposit *BeaconDepositTransactorRaw) 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 BeaconDepositTransactorSession ¶
type BeaconDepositTransactorSession struct { Contract *BeaconDepositTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
BeaconDepositTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*BeaconDepositTransactorSession) Deposit ¶
func (_BeaconDeposit *BeaconDepositTransactorSession) Deposit(pubkey []byte, withdrawal_credentials []byte, signature []byte, deposit_data_root [32]byte) (*types.Transaction, error)
Deposit is a paid mutator transaction binding the contract method 0x22895118.
Solidity: function deposit(bytes pubkey, bytes withdrawal_credentials, bytes signature, bytes32 deposit_data_root) payable returns()
type RPLFaucet ¶
type RPLFaucet struct { RPLFaucetCaller // Read-only binding to the contract RPLFaucetTransactor // Write-only binding to the contract RPLFaucetFilterer // Log filterer for contract events }
RPLFaucet is an auto generated Go binding around an Ethereum contract.
func NewRPLFaucet ¶
NewRPLFaucet creates a new instance of RPLFaucet, bound to a specific deployed contract.
type RPLFaucetCaller ¶
type RPLFaucetCaller struct {
// contains filtered or unexported fields
}
RPLFaucetCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewRPLFaucetCaller ¶
func NewRPLFaucetCaller(address common.Address, caller bind.ContractCaller) (*RPLFaucetCaller, error)
NewRPLFaucetCaller creates a new read-only instance of RPLFaucet, bound to a specific deployed contract.
func (*RPLFaucetCaller) GetAllowance ¶
GetAllowance is a free data retrieval call binding the contract method 0x973e9b8b.
Solidity: function getAllowance() view returns(uint256)
func (*RPLFaucetCaller) GetAllowanceFor ¶
func (_RPLFaucet *RPLFaucetCaller) GetAllowanceFor(opts *bind.CallOpts, _address common.Address) (*big.Int, error)
GetAllowanceFor is a free data retrieval call binding the contract method 0x7639a24b.
Solidity: function getAllowanceFor(address _address) view returns(uint256)
func (*RPLFaucetCaller) GetBalance ¶
GetBalance is a free data retrieval call binding the contract method 0x12065fe0.
Solidity: function getBalance() view returns(uint256)
func (*RPLFaucetCaller) GetWithdrawalPeriodStart ¶
GetWithdrawalPeriodStart is a free data retrieval call binding the contract method 0xfc65bc4f.
Solidity: function getWithdrawalPeriodStart() view returns(uint256)
func (*RPLFaucetCaller) MaxWithdrawalPerPeriod ¶
MaxWithdrawalPerPeriod is a free data retrieval call binding the contract method 0x203bf056.
Solidity: function maxWithdrawalPerPeriod() view returns(uint256)
func (*RPLFaucetCaller) Owner ¶
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*RPLFaucetCaller) WithdrawalFee ¶
WithdrawalFee is a free data retrieval call binding the contract method 0x8bc7e8c4.
Solidity: function withdrawalFee() view returns(uint256)
func (*RPLFaucetCaller) WithdrawalPeriod ¶
WithdrawalPeriod is a free data retrieval call binding the contract method 0xbca7093d.
Solidity: function withdrawalPeriod() view returns(uint256)
type RPLFaucetCallerRaw ¶
type RPLFaucetCallerRaw struct {
Contract *RPLFaucetCaller // Generic read-only contract binding to access the raw methods on
}
RPLFaucetCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*RPLFaucetCallerRaw) Call ¶
func (_RPLFaucet *RPLFaucetCallerRaw) 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 RPLFaucetCallerSession ¶
type RPLFaucetCallerSession struct { Contract *RPLFaucetCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
RPLFaucetCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*RPLFaucetCallerSession) GetAllowance ¶
func (_RPLFaucet *RPLFaucetCallerSession) GetAllowance() (*big.Int, error)
GetAllowance is a free data retrieval call binding the contract method 0x973e9b8b.
Solidity: function getAllowance() view returns(uint256)
func (*RPLFaucetCallerSession) GetAllowanceFor ¶
func (_RPLFaucet *RPLFaucetCallerSession) GetAllowanceFor(_address common.Address) (*big.Int, error)
GetAllowanceFor is a free data retrieval call binding the contract method 0x7639a24b.
Solidity: function getAllowanceFor(address _address) view returns(uint256)
func (*RPLFaucetCallerSession) GetBalance ¶
func (_RPLFaucet *RPLFaucetCallerSession) GetBalance() (*big.Int, error)
GetBalance is a free data retrieval call binding the contract method 0x12065fe0.
Solidity: function getBalance() view returns(uint256)
func (*RPLFaucetCallerSession) GetWithdrawalPeriodStart ¶
func (_RPLFaucet *RPLFaucetCallerSession) GetWithdrawalPeriodStart() (*big.Int, error)
GetWithdrawalPeriodStart is a free data retrieval call binding the contract method 0xfc65bc4f.
Solidity: function getWithdrawalPeriodStart() view returns(uint256)
func (*RPLFaucetCallerSession) MaxWithdrawalPerPeriod ¶
func (_RPLFaucet *RPLFaucetCallerSession) MaxWithdrawalPerPeriod() (*big.Int, error)
MaxWithdrawalPerPeriod is a free data retrieval call binding the contract method 0x203bf056.
Solidity: function maxWithdrawalPerPeriod() view returns(uint256)
func (*RPLFaucetCallerSession) Owner ¶
func (_RPLFaucet *RPLFaucetCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*RPLFaucetCallerSession) WithdrawalFee ¶
func (_RPLFaucet *RPLFaucetCallerSession) WithdrawalFee() (*big.Int, error)
WithdrawalFee is a free data retrieval call binding the contract method 0x8bc7e8c4.
Solidity: function withdrawalFee() view returns(uint256)
func (*RPLFaucetCallerSession) WithdrawalPeriod ¶
func (_RPLFaucet *RPLFaucetCallerSession) WithdrawalPeriod() (*big.Int, error)
WithdrawalPeriod is a free data retrieval call binding the contract method 0xbca7093d.
Solidity: function withdrawalPeriod() view returns(uint256)
type RPLFaucetFilterer ¶
type RPLFaucetFilterer struct {
// contains filtered or unexported fields
}
RPLFaucetFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewRPLFaucetFilterer ¶
func NewRPLFaucetFilterer(address common.Address, filterer bind.ContractFilterer) (*RPLFaucetFilterer, error)
NewRPLFaucetFilterer creates a new log filterer instance of RPLFaucet, bound to a specific deployed contract.
func (*RPLFaucetFilterer) FilterWithdrawal ¶
func (_RPLFaucet *RPLFaucetFilterer) FilterWithdrawal(opts *bind.FilterOpts, to []common.Address) (*RPLFaucetWithdrawalIterator, error)
FilterWithdrawal is a free log retrieval operation binding the contract event 0xdf273cb619d95419a9cd0ec88123a0538c85064229baa6363788f743fff90deb.
Solidity: event Withdrawal(address indexed to, uint256 value, uint256 created)
func (*RPLFaucetFilterer) ParseWithdrawal ¶
func (_RPLFaucet *RPLFaucetFilterer) ParseWithdrawal(log types.Log) (*RPLFaucetWithdrawal, error)
ParseWithdrawal is a log parse operation binding the contract event 0xdf273cb619d95419a9cd0ec88123a0538c85064229baa6363788f743fff90deb.
Solidity: event Withdrawal(address indexed to, uint256 value, uint256 created)
func (*RPLFaucetFilterer) WatchWithdrawal ¶
func (_RPLFaucet *RPLFaucetFilterer) WatchWithdrawal(opts *bind.WatchOpts, sink chan<- *RPLFaucetWithdrawal, to []common.Address) (event.Subscription, error)
WatchWithdrawal is a free log subscription operation binding the contract event 0xdf273cb619d95419a9cd0ec88123a0538c85064229baa6363788f743fff90deb.
Solidity: event Withdrawal(address indexed to, uint256 value, uint256 created)
type RPLFaucetRaw ¶
type RPLFaucetRaw struct {
Contract *RPLFaucet // Generic contract binding to access the raw methods on
}
RPLFaucetRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*RPLFaucetRaw) Call ¶
func (_RPLFaucet *RPLFaucetRaw) 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 (*RPLFaucetRaw) Transact ¶
func (_RPLFaucet *RPLFaucetRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*RPLFaucetRaw) Transfer ¶
func (_RPLFaucet *RPLFaucetRaw) 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 RPLFaucetSession ¶
type RPLFaucetSession struct { Contract *RPLFaucet // 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 }
RPLFaucetSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*RPLFaucetSession) GetAllowance ¶
func (_RPLFaucet *RPLFaucetSession) GetAllowance() (*big.Int, error)
GetAllowance is a free data retrieval call binding the contract method 0x973e9b8b.
Solidity: function getAllowance() view returns(uint256)
func (*RPLFaucetSession) GetAllowanceFor ¶
GetAllowanceFor is a free data retrieval call binding the contract method 0x7639a24b.
Solidity: function getAllowanceFor(address _address) view returns(uint256)
func (*RPLFaucetSession) GetBalance ¶
func (_RPLFaucet *RPLFaucetSession) GetBalance() (*big.Int, error)
GetBalance is a free data retrieval call binding the contract method 0x12065fe0.
Solidity: function getBalance() view returns(uint256)
func (*RPLFaucetSession) GetWithdrawalPeriodStart ¶
func (_RPLFaucet *RPLFaucetSession) GetWithdrawalPeriodStart() (*big.Int, error)
GetWithdrawalPeriodStart is a free data retrieval call binding the contract method 0xfc65bc4f.
Solidity: function getWithdrawalPeriodStart() view returns(uint256)
func (*RPLFaucetSession) MaxWithdrawalPerPeriod ¶
func (_RPLFaucet *RPLFaucetSession) MaxWithdrawalPerPeriod() (*big.Int, error)
MaxWithdrawalPerPeriod is a free data retrieval call binding the contract method 0x203bf056.
Solidity: function maxWithdrawalPerPeriod() view returns(uint256)
func (*RPLFaucetSession) Owner ¶
func (_RPLFaucet *RPLFaucetSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*RPLFaucetSession) SetMaxWithdrawalPerPeriod ¶
func (_RPLFaucet *RPLFaucetSession) SetMaxWithdrawalPerPeriod(_maxWithdrawalPerPeriod *big.Int) (*types.Transaction, error)
SetMaxWithdrawalPerPeriod is a paid mutator transaction binding the contract method 0xc0ac9128.
Solidity: function setMaxWithdrawalPerPeriod(uint256 _maxWithdrawalPerPeriod) returns()
func (*RPLFaucetSession) SetWithdrawalFee ¶
func (_RPLFaucet *RPLFaucetSession) SetWithdrawalFee(_withdrawalFee *big.Int) (*types.Transaction, error)
SetWithdrawalFee is a paid mutator transaction binding the contract method 0xac1e5025.
Solidity: function setWithdrawalFee(uint256 _withdrawalFee) returns()
func (*RPLFaucetSession) SetWithdrawalPeriod ¶
func (_RPLFaucet *RPLFaucetSession) SetWithdrawalPeriod(_withdrawalPeriod *big.Int) (*types.Transaction, error)
SetWithdrawalPeriod is a paid mutator transaction binding the contract method 0x973b294f.
Solidity: function setWithdrawalPeriod(uint256 _withdrawalPeriod) returns()
func (*RPLFaucetSession) Withdraw ¶
func (_RPLFaucet *RPLFaucetSession) Withdraw(_amount *big.Int) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x2e1a7d4d.
Solidity: function withdraw(uint256 _amount) payable returns(bool)
func (*RPLFaucetSession) WithdrawTo ¶
func (_RPLFaucet *RPLFaucetSession) WithdrawTo(_to common.Address, _amount *big.Int) (*types.Transaction, error)
WithdrawTo is a paid mutator transaction binding the contract method 0x205c2878.
Solidity: function withdrawTo(address _to, uint256 _amount) payable returns(bool)
func (*RPLFaucetSession) WithdrawalFee ¶
func (_RPLFaucet *RPLFaucetSession) WithdrawalFee() (*big.Int, error)
WithdrawalFee is a free data retrieval call binding the contract method 0x8bc7e8c4.
Solidity: function withdrawalFee() view returns(uint256)
func (*RPLFaucetSession) WithdrawalPeriod ¶
func (_RPLFaucet *RPLFaucetSession) WithdrawalPeriod() (*big.Int, error)
WithdrawalPeriod is a free data retrieval call binding the contract method 0xbca7093d.
Solidity: function withdrawalPeriod() view returns(uint256)
type RPLFaucetTransactor ¶
type RPLFaucetTransactor struct {
// contains filtered or unexported fields
}
RPLFaucetTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewRPLFaucetTransactor ¶
func NewRPLFaucetTransactor(address common.Address, transactor bind.ContractTransactor) (*RPLFaucetTransactor, error)
NewRPLFaucetTransactor creates a new write-only instance of RPLFaucet, bound to a specific deployed contract.
func (*RPLFaucetTransactor) SetMaxWithdrawalPerPeriod ¶
func (_RPLFaucet *RPLFaucetTransactor) SetMaxWithdrawalPerPeriod(opts *bind.TransactOpts, _maxWithdrawalPerPeriod *big.Int) (*types.Transaction, error)
SetMaxWithdrawalPerPeriod is a paid mutator transaction binding the contract method 0xc0ac9128.
Solidity: function setMaxWithdrawalPerPeriod(uint256 _maxWithdrawalPerPeriod) returns()
func (*RPLFaucetTransactor) SetWithdrawalFee ¶
func (_RPLFaucet *RPLFaucetTransactor) SetWithdrawalFee(opts *bind.TransactOpts, _withdrawalFee *big.Int) (*types.Transaction, error)
SetWithdrawalFee is a paid mutator transaction binding the contract method 0xac1e5025.
Solidity: function setWithdrawalFee(uint256 _withdrawalFee) returns()
func (*RPLFaucetTransactor) SetWithdrawalPeriod ¶
func (_RPLFaucet *RPLFaucetTransactor) SetWithdrawalPeriod(opts *bind.TransactOpts, _withdrawalPeriod *big.Int) (*types.Transaction, error)
SetWithdrawalPeriod is a paid mutator transaction binding the contract method 0x973b294f.
Solidity: function setWithdrawalPeriod(uint256 _withdrawalPeriod) returns()
func (*RPLFaucetTransactor) Withdraw ¶
func (_RPLFaucet *RPLFaucetTransactor) Withdraw(opts *bind.TransactOpts, _amount *big.Int) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x2e1a7d4d.
Solidity: function withdraw(uint256 _amount) payable returns(bool)
func (*RPLFaucetTransactor) WithdrawTo ¶
func (_RPLFaucet *RPLFaucetTransactor) WithdrawTo(opts *bind.TransactOpts, _to common.Address, _amount *big.Int) (*types.Transaction, error)
WithdrawTo is a paid mutator transaction binding the contract method 0x205c2878.
Solidity: function withdrawTo(address _to, uint256 _amount) payable returns(bool)
type RPLFaucetTransactorRaw ¶
type RPLFaucetTransactorRaw struct {
Contract *RPLFaucetTransactor // Generic write-only contract binding to access the raw methods on
}
RPLFaucetTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*RPLFaucetTransactorRaw) Transact ¶
func (_RPLFaucet *RPLFaucetTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*RPLFaucetTransactorRaw) Transfer ¶
func (_RPLFaucet *RPLFaucetTransactorRaw) 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 RPLFaucetTransactorSession ¶
type RPLFaucetTransactorSession struct { Contract *RPLFaucetTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
RPLFaucetTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*RPLFaucetTransactorSession) SetMaxWithdrawalPerPeriod ¶
func (_RPLFaucet *RPLFaucetTransactorSession) SetMaxWithdrawalPerPeriod(_maxWithdrawalPerPeriod *big.Int) (*types.Transaction, error)
SetMaxWithdrawalPerPeriod is a paid mutator transaction binding the contract method 0xc0ac9128.
Solidity: function setMaxWithdrawalPerPeriod(uint256 _maxWithdrawalPerPeriod) returns()
func (*RPLFaucetTransactorSession) SetWithdrawalFee ¶
func (_RPLFaucet *RPLFaucetTransactorSession) SetWithdrawalFee(_withdrawalFee *big.Int) (*types.Transaction, error)
SetWithdrawalFee is a paid mutator transaction binding the contract method 0xac1e5025.
Solidity: function setWithdrawalFee(uint256 _withdrawalFee) returns()
func (*RPLFaucetTransactorSession) SetWithdrawalPeriod ¶
func (_RPLFaucet *RPLFaucetTransactorSession) SetWithdrawalPeriod(_withdrawalPeriod *big.Int) (*types.Transaction, error)
SetWithdrawalPeriod is a paid mutator transaction binding the contract method 0x973b294f.
Solidity: function setWithdrawalPeriod(uint256 _withdrawalPeriod) returns()
func (*RPLFaucetTransactorSession) Withdraw ¶
func (_RPLFaucet *RPLFaucetTransactorSession) Withdraw(_amount *big.Int) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x2e1a7d4d.
Solidity: function withdraw(uint256 _amount) payable returns(bool)
func (*RPLFaucetTransactorSession) WithdrawTo ¶
func (_RPLFaucet *RPLFaucetTransactorSession) WithdrawTo(_to common.Address, _amount *big.Int) (*types.Transaction, error)
WithdrawTo is a paid mutator transaction binding the contract method 0x205c2878.
Solidity: function withdrawTo(address _to, uint256 _amount) payable returns(bool)
type RPLFaucetWithdrawal ¶
type RPLFaucetWithdrawal struct { To common.Address Value *big.Int Created *big.Int Raw types.Log // Blockchain specific contextual infos }
RPLFaucetWithdrawal represents a Withdrawal event raised by the RPLFaucet contract.
type RPLFaucetWithdrawalIterator ¶
type RPLFaucetWithdrawalIterator struct { Event *RPLFaucetWithdrawal // Event containing the contract specifics and raw log // contains filtered or unexported fields }
RPLFaucetWithdrawalIterator is returned from FilterWithdrawal and is used to iterate over the raw logs and unpacked data for Withdrawal events raised by the RPLFaucet contract.
func (*RPLFaucetWithdrawalIterator) Close ¶
func (it *RPLFaucetWithdrawalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*RPLFaucetWithdrawalIterator) Error ¶
func (it *RPLFaucetWithdrawalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*RPLFaucetWithdrawalIterator) Next ¶
func (it *RPLFaucetWithdrawalIterator) 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 SnapshotDelegation ¶ added in v1.4.2
type SnapshotDelegation struct { SnapshotDelegationCaller // Read-only binding to the contract SnapshotDelegationTransactor // Write-only binding to the contract SnapshotDelegationFilterer // Log filterer for contract events }
SnapshotDelegation is an auto generated Go binding around an Ethereum contract.
func NewSnapshotDelegation ¶ added in v1.4.2
func NewSnapshotDelegation(address common.Address, backend bind.ContractBackend) (*SnapshotDelegation, error)
NewSnapshotDelegation creates a new instance of SnapshotDelegation, bound to a specific deployed contract.
type SnapshotDelegationCaller ¶ added in v1.4.2
type SnapshotDelegationCaller struct {
// contains filtered or unexported fields
}
SnapshotDelegationCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewSnapshotDelegationCaller ¶ added in v1.4.2
func NewSnapshotDelegationCaller(address common.Address, caller bind.ContractCaller) (*SnapshotDelegationCaller, error)
NewSnapshotDelegationCaller creates a new read-only instance of SnapshotDelegation, bound to a specific deployed contract.
func (*SnapshotDelegationCaller) Delegation ¶ added in v1.4.2
func (_SnapshotDelegation *SnapshotDelegationCaller) Delegation(opts *bind.CallOpts, arg0 common.Address, arg1 [32]byte) (common.Address, error)
Delegation is a free data retrieval call binding the contract method 0x74c6c454.
Solidity: function delegation(address , bytes32 ) view returns(address)
type SnapshotDelegationCallerRaw ¶ added in v1.4.2
type SnapshotDelegationCallerRaw struct {
Contract *SnapshotDelegationCaller // Generic read-only contract binding to access the raw methods on
}
SnapshotDelegationCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*SnapshotDelegationCallerRaw) Call ¶ added in v1.4.2
func (_SnapshotDelegation *SnapshotDelegationCallerRaw) 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 SnapshotDelegationCallerSession ¶ added in v1.4.2
type SnapshotDelegationCallerSession struct { Contract *SnapshotDelegationCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
SnapshotDelegationCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*SnapshotDelegationCallerSession) Delegation ¶ added in v1.4.2
func (_SnapshotDelegation *SnapshotDelegationCallerSession) Delegation(arg0 common.Address, arg1 [32]byte) (common.Address, error)
Delegation is a free data retrieval call binding the contract method 0x74c6c454.
Solidity: function delegation(address , bytes32 ) view returns(address)
type SnapshotDelegationClearDelegate ¶ added in v1.4.2
type SnapshotDelegationClearDelegate struct { Delegator common.Address Id [32]byte Delegate common.Address Raw types.Log // Blockchain specific contextual infos }
SnapshotDelegationClearDelegate represents a ClearDelegate event raised by the SnapshotDelegation contract.
type SnapshotDelegationClearDelegateIterator ¶ added in v1.4.2
type SnapshotDelegationClearDelegateIterator struct { Event *SnapshotDelegationClearDelegate // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SnapshotDelegationClearDelegateIterator is returned from FilterClearDelegate and is used to iterate over the raw logs and unpacked data for ClearDelegate events raised by the SnapshotDelegation contract.
func (*SnapshotDelegationClearDelegateIterator) Close ¶ added in v1.4.2
func (it *SnapshotDelegationClearDelegateIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SnapshotDelegationClearDelegateIterator) Error ¶ added in v1.4.2
func (it *SnapshotDelegationClearDelegateIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SnapshotDelegationClearDelegateIterator) Next ¶ added in v1.4.2
func (it *SnapshotDelegationClearDelegateIterator) 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 SnapshotDelegationFilterer ¶ added in v1.4.2
type SnapshotDelegationFilterer struct {
// contains filtered or unexported fields
}
SnapshotDelegationFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewSnapshotDelegationFilterer ¶ added in v1.4.2
func NewSnapshotDelegationFilterer(address common.Address, filterer bind.ContractFilterer) (*SnapshotDelegationFilterer, error)
NewSnapshotDelegationFilterer creates a new log filterer instance of SnapshotDelegation, bound to a specific deployed contract.
func (*SnapshotDelegationFilterer) FilterClearDelegate ¶ added in v1.4.2
func (_SnapshotDelegation *SnapshotDelegationFilterer) FilterClearDelegate(opts *bind.FilterOpts, delegator []common.Address, id [][32]byte, delegate []common.Address) (*SnapshotDelegationClearDelegateIterator, error)
FilterClearDelegate is a free log retrieval operation binding the contract event 0x9c4f00c4291262731946e308dc2979a56bd22cce8f95906b975065e96cd5a064.
Solidity: event ClearDelegate(address indexed delegator, bytes32 indexed id, address indexed delegate)
func (*SnapshotDelegationFilterer) FilterSetDelegate ¶ added in v1.4.2
func (_SnapshotDelegation *SnapshotDelegationFilterer) FilterSetDelegate(opts *bind.FilterOpts, delegator []common.Address, id [][32]byte, delegate []common.Address) (*SnapshotDelegationSetDelegateIterator, error)
FilterSetDelegate is a free log retrieval operation binding the contract event 0xa9a7fd460f56bddb880a465a9c3e9730389c70bc53108148f16d55a87a6c468e.
Solidity: event SetDelegate(address indexed delegator, bytes32 indexed id, address indexed delegate)
func (*SnapshotDelegationFilterer) ParseClearDelegate ¶ added in v1.4.2
func (_SnapshotDelegation *SnapshotDelegationFilterer) ParseClearDelegate(log types.Log) (*SnapshotDelegationClearDelegate, error)
ParseClearDelegate is a log parse operation binding the contract event 0x9c4f00c4291262731946e308dc2979a56bd22cce8f95906b975065e96cd5a064.
Solidity: event ClearDelegate(address indexed delegator, bytes32 indexed id, address indexed delegate)
func (*SnapshotDelegationFilterer) ParseSetDelegate ¶ added in v1.4.2
func (_SnapshotDelegation *SnapshotDelegationFilterer) ParseSetDelegate(log types.Log) (*SnapshotDelegationSetDelegate, error)
ParseSetDelegate is a log parse operation binding the contract event 0xa9a7fd460f56bddb880a465a9c3e9730389c70bc53108148f16d55a87a6c468e.
Solidity: event SetDelegate(address indexed delegator, bytes32 indexed id, address indexed delegate)
func (*SnapshotDelegationFilterer) WatchClearDelegate ¶ added in v1.4.2
func (_SnapshotDelegation *SnapshotDelegationFilterer) WatchClearDelegate(opts *bind.WatchOpts, sink chan<- *SnapshotDelegationClearDelegate, delegator []common.Address, id [][32]byte, delegate []common.Address) (event.Subscription, error)
WatchClearDelegate is a free log subscription operation binding the contract event 0x9c4f00c4291262731946e308dc2979a56bd22cce8f95906b975065e96cd5a064.
Solidity: event ClearDelegate(address indexed delegator, bytes32 indexed id, address indexed delegate)
func (*SnapshotDelegationFilterer) WatchSetDelegate ¶ added in v1.4.2
func (_SnapshotDelegation *SnapshotDelegationFilterer) WatchSetDelegate(opts *bind.WatchOpts, sink chan<- *SnapshotDelegationSetDelegate, delegator []common.Address, id [][32]byte, delegate []common.Address) (event.Subscription, error)
WatchSetDelegate is a free log subscription operation binding the contract event 0xa9a7fd460f56bddb880a465a9c3e9730389c70bc53108148f16d55a87a6c468e.
Solidity: event SetDelegate(address indexed delegator, bytes32 indexed id, address indexed delegate)
type SnapshotDelegationRaw ¶ added in v1.4.2
type SnapshotDelegationRaw struct {
Contract *SnapshotDelegation // Generic contract binding to access the raw methods on
}
SnapshotDelegationRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*SnapshotDelegationRaw) Call ¶ added in v1.4.2
func (_SnapshotDelegation *SnapshotDelegationRaw) 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 (*SnapshotDelegationRaw) Transact ¶ added in v1.4.2
func (_SnapshotDelegation *SnapshotDelegationRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SnapshotDelegationRaw) Transfer ¶ added in v1.4.2
func (_SnapshotDelegation *SnapshotDelegationRaw) 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 SnapshotDelegationSession ¶ added in v1.4.2
type SnapshotDelegationSession struct { Contract *SnapshotDelegation // 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 }
SnapshotDelegationSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*SnapshotDelegationSession) ClearDelegate ¶ added in v1.4.2
func (_SnapshotDelegation *SnapshotDelegationSession) ClearDelegate(id [32]byte) (*types.Transaction, error)
ClearDelegate is a paid mutator transaction binding the contract method 0xf0bedbe2.
Solidity: function clearDelegate(bytes32 id) returns()
func (*SnapshotDelegationSession) Delegation ¶ added in v1.4.2
func (_SnapshotDelegation *SnapshotDelegationSession) Delegation(arg0 common.Address, arg1 [32]byte) (common.Address, error)
Delegation is a free data retrieval call binding the contract method 0x74c6c454.
Solidity: function delegation(address , bytes32 ) view returns(address)
func (*SnapshotDelegationSession) SetDelegate ¶ added in v1.4.2
func (_SnapshotDelegation *SnapshotDelegationSession) SetDelegate(id [32]byte, delegate common.Address) (*types.Transaction, error)
SetDelegate is a paid mutator transaction binding the contract method 0xbd86e508.
Solidity: function setDelegate(bytes32 id, address delegate) returns()
type SnapshotDelegationSetDelegate ¶ added in v1.4.2
type SnapshotDelegationSetDelegate struct { Delegator common.Address Id [32]byte Delegate common.Address Raw types.Log // Blockchain specific contextual infos }
SnapshotDelegationSetDelegate represents a SetDelegate event raised by the SnapshotDelegation contract.
type SnapshotDelegationSetDelegateIterator ¶ added in v1.4.2
type SnapshotDelegationSetDelegateIterator struct { Event *SnapshotDelegationSetDelegate // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SnapshotDelegationSetDelegateIterator is returned from FilterSetDelegate and is used to iterate over the raw logs and unpacked data for SetDelegate events raised by the SnapshotDelegation contract.
func (*SnapshotDelegationSetDelegateIterator) Close ¶ added in v1.4.2
func (it *SnapshotDelegationSetDelegateIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SnapshotDelegationSetDelegateIterator) Error ¶ added in v1.4.2
func (it *SnapshotDelegationSetDelegateIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SnapshotDelegationSetDelegateIterator) Next ¶ added in v1.4.2
func (it *SnapshotDelegationSetDelegateIterator) 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 SnapshotDelegationTransactor ¶ added in v1.4.2
type SnapshotDelegationTransactor struct {
// contains filtered or unexported fields
}
SnapshotDelegationTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewSnapshotDelegationTransactor ¶ added in v1.4.2
func NewSnapshotDelegationTransactor(address common.Address, transactor bind.ContractTransactor) (*SnapshotDelegationTransactor, error)
NewSnapshotDelegationTransactor creates a new write-only instance of SnapshotDelegation, bound to a specific deployed contract.
func (*SnapshotDelegationTransactor) ClearDelegate ¶ added in v1.4.2
func (_SnapshotDelegation *SnapshotDelegationTransactor) ClearDelegate(opts *bind.TransactOpts, id [32]byte) (*types.Transaction, error)
ClearDelegate is a paid mutator transaction binding the contract method 0xf0bedbe2.
Solidity: function clearDelegate(bytes32 id) returns()
func (*SnapshotDelegationTransactor) SetDelegate ¶ added in v1.4.2
func (_SnapshotDelegation *SnapshotDelegationTransactor) SetDelegate(opts *bind.TransactOpts, id [32]byte, delegate common.Address) (*types.Transaction, error)
SetDelegate is a paid mutator transaction binding the contract method 0xbd86e508.
Solidity: function setDelegate(bytes32 id, address delegate) returns()
type SnapshotDelegationTransactorRaw ¶ added in v1.4.2
type SnapshotDelegationTransactorRaw struct {
Contract *SnapshotDelegationTransactor // Generic write-only contract binding to access the raw methods on
}
SnapshotDelegationTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*SnapshotDelegationTransactorRaw) Transact ¶ added in v1.4.2
func (_SnapshotDelegation *SnapshotDelegationTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SnapshotDelegationTransactorRaw) Transfer ¶ added in v1.4.2
func (_SnapshotDelegation *SnapshotDelegationTransactorRaw) 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 SnapshotDelegationTransactorSession ¶ added in v1.4.2
type SnapshotDelegationTransactorSession struct { Contract *SnapshotDelegationTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
SnapshotDelegationTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*SnapshotDelegationTransactorSession) ClearDelegate ¶ added in v1.4.2
func (_SnapshotDelegation *SnapshotDelegationTransactorSession) ClearDelegate(id [32]byte) (*types.Transaction, error)
ClearDelegate is a paid mutator transaction binding the contract method 0xf0bedbe2.
Solidity: function clearDelegate(bytes32 id) returns()
func (*SnapshotDelegationTransactorSession) SetDelegate ¶ added in v1.4.2
func (_SnapshotDelegation *SnapshotDelegationTransactorSession) SetDelegate(id [32]byte, delegate common.Address) (*types.Transaction, error)
SetDelegate is a paid mutator transaction binding the contract method 0xbd86e508.
Solidity: function setDelegate(bytes32 id, address delegate) returns()