Documentation ¶
Index ¶
- Constants
- 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 OneInchOracle
- type OneInchOracleCaller
- func (_OneInchOracle *OneInchOracleCaller) Connectors(opts *bind.CallOpts) ([]common.Address, error)
- func (_OneInchOracle *OneInchOracleCaller) GetRate(opts *bind.CallOpts, srcToken common.Address, dstToken common.Address, ...) (*big.Int, error)
- func (_OneInchOracle *OneInchOracleCaller) GetRateToEth(opts *bind.CallOpts, srcToken common.Address, useSrcWrappers bool) (*big.Int, error)
- func (_OneInchOracle *OneInchOracleCaller) MultiWrapper(opts *bind.CallOpts) (common.Address, error)
- func (_OneInchOracle *OneInchOracleCaller) Oracles(opts *bind.CallOpts) (struct{ ... }, error)
- func (_OneInchOracle *OneInchOracleCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- type OneInchOracleCallerRaw
- type OneInchOracleCallerSession
- func (_OneInchOracle *OneInchOracleCallerSession) Connectors() ([]common.Address, error)
- func (_OneInchOracle *OneInchOracleCallerSession) GetRate(srcToken common.Address, dstToken common.Address, useWrappers bool) (*big.Int, error)
- func (_OneInchOracle *OneInchOracleCallerSession) GetRateToEth(srcToken common.Address, useSrcWrappers bool) (*big.Int, error)
- func (_OneInchOracle *OneInchOracleCallerSession) MultiWrapper() (common.Address, error)
- func (_OneInchOracle *OneInchOracleCallerSession) Oracles() (struct{ ... }, error)
- func (_OneInchOracle *OneInchOracleCallerSession) Owner() (common.Address, error)
- type OneInchOracleConnectorAdded
- type OneInchOracleConnectorAddedIterator
- type OneInchOracleConnectorRemoved
- type OneInchOracleConnectorRemovedIterator
- type OneInchOracleFilterer
- func (_OneInchOracle *OneInchOracleFilterer) FilterConnectorAdded(opts *bind.FilterOpts) (*OneInchOracleConnectorAddedIterator, error)
- func (_OneInchOracle *OneInchOracleFilterer) FilterConnectorRemoved(opts *bind.FilterOpts) (*OneInchOracleConnectorRemovedIterator, error)
- func (_OneInchOracle *OneInchOracleFilterer) FilterMultiWrapperUpdated(opts *bind.FilterOpts) (*OneInchOracleMultiWrapperUpdatedIterator, error)
- func (_OneInchOracle *OneInchOracleFilterer) FilterOracleAdded(opts *bind.FilterOpts) (*OneInchOracleOracleAddedIterator, error)
- func (_OneInchOracle *OneInchOracleFilterer) FilterOracleRemoved(opts *bind.FilterOpts) (*OneInchOracleOracleRemovedIterator, error)
- func (_OneInchOracle *OneInchOracleFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*OneInchOracleOwnershipTransferredIterator, error)
- func (_OneInchOracle *OneInchOracleFilterer) ParseConnectorAdded(log types.Log) (*OneInchOracleConnectorAdded, error)
- func (_OneInchOracle *OneInchOracleFilterer) ParseConnectorRemoved(log types.Log) (*OneInchOracleConnectorRemoved, error)
- func (_OneInchOracle *OneInchOracleFilterer) ParseMultiWrapperUpdated(log types.Log) (*OneInchOracleMultiWrapperUpdated, error)
- func (_OneInchOracle *OneInchOracleFilterer) ParseOracleAdded(log types.Log) (*OneInchOracleOracleAdded, error)
- func (_OneInchOracle *OneInchOracleFilterer) ParseOracleRemoved(log types.Log) (*OneInchOracleOracleRemoved, error)
- func (_OneInchOracle *OneInchOracleFilterer) ParseOwnershipTransferred(log types.Log) (*OneInchOracleOwnershipTransferred, error)
- func (_OneInchOracle *OneInchOracleFilterer) WatchConnectorAdded(opts *bind.WatchOpts, sink chan<- *OneInchOracleConnectorAdded) (event.Subscription, error)
- func (_OneInchOracle *OneInchOracleFilterer) WatchConnectorRemoved(opts *bind.WatchOpts, sink chan<- *OneInchOracleConnectorRemoved) (event.Subscription, error)
- func (_OneInchOracle *OneInchOracleFilterer) WatchMultiWrapperUpdated(opts *bind.WatchOpts, sink chan<- *OneInchOracleMultiWrapperUpdated) (event.Subscription, error)
- func (_OneInchOracle *OneInchOracleFilterer) WatchOracleAdded(opts *bind.WatchOpts, sink chan<- *OneInchOracleOracleAdded) (event.Subscription, error)
- func (_OneInchOracle *OneInchOracleFilterer) WatchOracleRemoved(opts *bind.WatchOpts, sink chan<- *OneInchOracleOracleRemoved) (event.Subscription, error)
- func (_OneInchOracle *OneInchOracleFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *OneInchOracleOwnershipTransferred, ...) (event.Subscription, error)
- type OneInchOracleMultiWrapperUpdated
- type OneInchOracleMultiWrapperUpdatedIterator
- type OneInchOracleOracleAdded
- type OneInchOracleOracleAddedIterator
- type OneInchOracleOracleRemoved
- type OneInchOracleOracleRemovedIterator
- type OneInchOracleOwnershipTransferred
- type OneInchOracleOwnershipTransferredIterator
- type OneInchOracleRaw
- func (_OneInchOracle *OneInchOracleRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_OneInchOracle *OneInchOracleRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_OneInchOracle *OneInchOracleRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type OneInchOracleSession
- func (_OneInchOracle *OneInchOracleSession) AddConnector(connector common.Address) (*types.Transaction, error)
- func (_OneInchOracle *OneInchOracleSession) AddOracle(oracle common.Address, oracleKind uint8) (*types.Transaction, error)
- func (_OneInchOracle *OneInchOracleSession) Connectors() ([]common.Address, error)
- func (_OneInchOracle *OneInchOracleSession) GetRate(srcToken common.Address, dstToken common.Address, useWrappers bool) (*big.Int, error)
- func (_OneInchOracle *OneInchOracleSession) GetRateToEth(srcToken common.Address, useSrcWrappers bool) (*big.Int, error)
- func (_OneInchOracle *OneInchOracleSession) MultiWrapper() (common.Address, error)
- func (_OneInchOracle *OneInchOracleSession) Oracles() (struct{ ... }, error)
- func (_OneInchOracle *OneInchOracleSession) Owner() (common.Address, error)
- func (_OneInchOracle *OneInchOracleSession) RemoveConnector(connector common.Address) (*types.Transaction, error)
- func (_OneInchOracle *OneInchOracleSession) RemoveOracle(oracle common.Address, oracleKind uint8) (*types.Transaction, error)
- func (_OneInchOracle *OneInchOracleSession) RenounceOwnership() (*types.Transaction, error)
- func (_OneInchOracle *OneInchOracleSession) SetMultiWrapper(_multiWrapper common.Address) (*types.Transaction, error)
- func (_OneInchOracle *OneInchOracleSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- type OneInchOracleTransactor
- func (_OneInchOracle *OneInchOracleTransactor) AddConnector(opts *bind.TransactOpts, connector common.Address) (*types.Transaction, error)
- func (_OneInchOracle *OneInchOracleTransactor) AddOracle(opts *bind.TransactOpts, oracle common.Address, oracleKind uint8) (*types.Transaction, error)
- func (_OneInchOracle *OneInchOracleTransactor) RemoveConnector(opts *bind.TransactOpts, connector common.Address) (*types.Transaction, error)
- func (_OneInchOracle *OneInchOracleTransactor) RemoveOracle(opts *bind.TransactOpts, oracle common.Address, oracleKind uint8) (*types.Transaction, error)
- func (_OneInchOracle *OneInchOracleTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_OneInchOracle *OneInchOracleTransactor) SetMultiWrapper(opts *bind.TransactOpts, _multiWrapper common.Address) (*types.Transaction, error)
- func (_OneInchOracle *OneInchOracleTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- type OneInchOracleTransactorRaw
- type OneInchOracleTransactorSession
- func (_OneInchOracle *OneInchOracleTransactorSession) AddConnector(connector common.Address) (*types.Transaction, error)
- func (_OneInchOracle *OneInchOracleTransactorSession) AddOracle(oracle common.Address, oracleKind uint8) (*types.Transaction, error)
- func (_OneInchOracle *OneInchOracleTransactorSession) RemoveConnector(connector common.Address) (*types.Transaction, error)
- func (_OneInchOracle *OneInchOracleTransactorSession) RemoveOracle(oracle common.Address, oracleKind uint8) (*types.Transaction, error)
- func (_OneInchOracle *OneInchOracleTransactorSession) RenounceOwnership() (*types.Transaction, error)
- func (_OneInchOracle *OneInchOracleTransactorSession) SetMultiWrapper(_multiWrapper common.Address) (*types.Transaction, error)
- func (_OneInchOracle *OneInchOracleTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- 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
Constants ¶
const BeaconDepositABI = "" /* 1613-byte string literal not displayed */
BeaconDepositABI is the input ABI used to generate the binding from.
const OneInchOracleABI = "" /* 5032-byte string literal not displayed */
OneInchOracleABI 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 ¶
This section is empty.
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 OneInchOracle ¶
type OneInchOracle struct { OneInchOracleCaller // Read-only binding to the contract OneInchOracleTransactor // Write-only binding to the contract OneInchOracleFilterer // Log filterer for contract events }
OneInchOracle is an auto generated Go binding around an Ethereum contract.
func NewOneInchOracle ¶
func NewOneInchOracle(address common.Address, backend bind.ContractBackend) (*OneInchOracle, error)
NewOneInchOracle creates a new instance of OneInchOracle, bound to a specific deployed contract.
type OneInchOracleCaller ¶
type OneInchOracleCaller struct {
// contains filtered or unexported fields
}
OneInchOracleCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewOneInchOracleCaller ¶
func NewOneInchOracleCaller(address common.Address, caller bind.ContractCaller) (*OneInchOracleCaller, error)
NewOneInchOracleCaller creates a new read-only instance of OneInchOracle, bound to a specific deployed contract.
func (*OneInchOracleCaller) Connectors ¶
func (_OneInchOracle *OneInchOracleCaller) Connectors(opts *bind.CallOpts) ([]common.Address, error)
Connectors is a free data retrieval call binding the contract method 0x65050a68.
Solidity: function connectors() view returns(address[] allConnectors)
func (*OneInchOracleCaller) GetRate ¶
func (_OneInchOracle *OneInchOracleCaller) GetRate(opts *bind.CallOpts, srcToken common.Address, dstToken common.Address, useWrappers bool) (*big.Int, error)
GetRate is a free data retrieval call binding the contract method 0x802431fb.
Solidity: function getRate(address srcToken, address dstToken, bool useWrappers) view returns(uint256 weightedRate)
func (*OneInchOracleCaller) GetRateToEth ¶
func (_OneInchOracle *OneInchOracleCaller) GetRateToEth(opts *bind.CallOpts, srcToken common.Address, useSrcWrappers bool) (*big.Int, error)
GetRateToEth is a free data retrieval call binding the contract method 0x7de4fd10.
Solidity: function getRateToEth(address srcToken, bool useSrcWrappers) view returns(uint256 weightedRate)
func (*OneInchOracleCaller) MultiWrapper ¶
func (_OneInchOracle *OneInchOracleCaller) MultiWrapper(opts *bind.CallOpts) (common.Address, error)
MultiWrapper is a free data retrieval call binding the contract method 0xb77910dc.
Solidity: function multiWrapper() view returns(address)
func (*OneInchOracleCaller) Oracles ¶
func (_OneInchOracle *OneInchOracleCaller) Oracles(opts *bind.CallOpts) (struct { AllOracles []common.Address OracleTypes []uint8 }, error)
Oracles is a free data retrieval call binding the contract method 0x2857373a.
Solidity: function oracles() view returns(address[] allOracles, uint8[] oracleTypes)
type OneInchOracleCallerRaw ¶
type OneInchOracleCallerRaw struct {
Contract *OneInchOracleCaller // Generic read-only contract binding to access the raw methods on
}
OneInchOracleCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*OneInchOracleCallerRaw) Call ¶
func (_OneInchOracle *OneInchOracleCallerRaw) 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 OneInchOracleCallerSession ¶
type OneInchOracleCallerSession struct { Contract *OneInchOracleCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
OneInchOracleCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*OneInchOracleCallerSession) Connectors ¶
func (_OneInchOracle *OneInchOracleCallerSession) Connectors() ([]common.Address, error)
Connectors is a free data retrieval call binding the contract method 0x65050a68.
Solidity: function connectors() view returns(address[] allConnectors)
func (*OneInchOracleCallerSession) GetRate ¶
func (_OneInchOracle *OneInchOracleCallerSession) GetRate(srcToken common.Address, dstToken common.Address, useWrappers bool) (*big.Int, error)
GetRate is a free data retrieval call binding the contract method 0x802431fb.
Solidity: function getRate(address srcToken, address dstToken, bool useWrappers) view returns(uint256 weightedRate)
func (*OneInchOracleCallerSession) GetRateToEth ¶
func (_OneInchOracle *OneInchOracleCallerSession) GetRateToEth(srcToken common.Address, useSrcWrappers bool) (*big.Int, error)
GetRateToEth is a free data retrieval call binding the contract method 0x7de4fd10.
Solidity: function getRateToEth(address srcToken, bool useSrcWrappers) view returns(uint256 weightedRate)
func (*OneInchOracleCallerSession) MultiWrapper ¶
func (_OneInchOracle *OneInchOracleCallerSession) MultiWrapper() (common.Address, error)
MultiWrapper is a free data retrieval call binding the contract method 0xb77910dc.
Solidity: function multiWrapper() view returns(address)
func (*OneInchOracleCallerSession) Oracles ¶
func (_OneInchOracle *OneInchOracleCallerSession) Oracles() (struct { AllOracles []common.Address OracleTypes []uint8 }, error)
Oracles is a free data retrieval call binding the contract method 0x2857373a.
Solidity: function oracles() view returns(address[] allOracles, uint8[] oracleTypes)
type OneInchOracleConnectorAdded ¶
type OneInchOracleConnectorAdded struct { Connector common.Address Raw types.Log // Blockchain specific contextual infos }
OneInchOracleConnectorAdded represents a ConnectorAdded event raised by the OneInchOracle contract.
type OneInchOracleConnectorAddedIterator ¶
type OneInchOracleConnectorAddedIterator struct { Event *OneInchOracleConnectorAdded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
OneInchOracleConnectorAddedIterator is returned from FilterConnectorAdded and is used to iterate over the raw logs and unpacked data for ConnectorAdded events raised by the OneInchOracle contract.
func (*OneInchOracleConnectorAddedIterator) Close ¶
func (it *OneInchOracleConnectorAddedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*OneInchOracleConnectorAddedIterator) Error ¶
func (it *OneInchOracleConnectorAddedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*OneInchOracleConnectorAddedIterator) Next ¶
func (it *OneInchOracleConnectorAddedIterator) 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 OneInchOracleConnectorRemoved ¶
type OneInchOracleConnectorRemoved struct { Connector common.Address Raw types.Log // Blockchain specific contextual infos }
OneInchOracleConnectorRemoved represents a ConnectorRemoved event raised by the OneInchOracle contract.
type OneInchOracleConnectorRemovedIterator ¶
type OneInchOracleConnectorRemovedIterator struct { Event *OneInchOracleConnectorRemoved // Event containing the contract specifics and raw log // contains filtered or unexported fields }
OneInchOracleConnectorRemovedIterator is returned from FilterConnectorRemoved and is used to iterate over the raw logs and unpacked data for ConnectorRemoved events raised by the OneInchOracle contract.
func (*OneInchOracleConnectorRemovedIterator) Close ¶
func (it *OneInchOracleConnectorRemovedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*OneInchOracleConnectorRemovedIterator) Error ¶
func (it *OneInchOracleConnectorRemovedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*OneInchOracleConnectorRemovedIterator) Next ¶
func (it *OneInchOracleConnectorRemovedIterator) 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 OneInchOracleFilterer ¶
type OneInchOracleFilterer struct {
// contains filtered or unexported fields
}
OneInchOracleFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewOneInchOracleFilterer ¶
func NewOneInchOracleFilterer(address common.Address, filterer bind.ContractFilterer) (*OneInchOracleFilterer, error)
NewOneInchOracleFilterer creates a new log filterer instance of OneInchOracle, bound to a specific deployed contract.
func (*OneInchOracleFilterer) FilterConnectorAdded ¶
func (_OneInchOracle *OneInchOracleFilterer) FilterConnectorAdded(opts *bind.FilterOpts) (*OneInchOracleConnectorAddedIterator, error)
FilterConnectorAdded is a free log retrieval operation binding the contract event 0xff88af5d962d47fd25d87755e8267a029fad5a91740c67d0dade2bdbe5268a1d.
Solidity: event ConnectorAdded(address connector)
func (*OneInchOracleFilterer) FilterConnectorRemoved ¶
func (_OneInchOracle *OneInchOracleFilterer) FilterConnectorRemoved(opts *bind.FilterOpts) (*OneInchOracleConnectorRemovedIterator, error)
FilterConnectorRemoved is a free log retrieval operation binding the contract event 0x6825b26a0827e9c2ceca01d6289ce4a40e629dc074ec48ea4727d1afbff359f5.
Solidity: event ConnectorRemoved(address connector)
func (*OneInchOracleFilterer) FilterMultiWrapperUpdated ¶
func (_OneInchOracle *OneInchOracleFilterer) FilterMultiWrapperUpdated(opts *bind.FilterOpts) (*OneInchOracleMultiWrapperUpdatedIterator, error)
FilterMultiWrapperUpdated is a free log retrieval operation binding the contract event 0x1030152fe2062b574a830e6b9f13c65995990df31e4dc708d142533bb3ad0f52.
Solidity: event MultiWrapperUpdated(address multiWrapper)
func (*OneInchOracleFilterer) FilterOracleAdded ¶
func (_OneInchOracle *OneInchOracleFilterer) FilterOracleAdded(opts *bind.FilterOpts) (*OneInchOracleOracleAddedIterator, error)
FilterOracleAdded is a free log retrieval operation binding the contract event 0x5874b2072ff37562df54063dd700c59d45f311bdf6f9cabb5a15f0ffb2e9f622.
Solidity: event OracleAdded(address oracle, uint8 oracleType)
func (*OneInchOracleFilterer) FilterOracleRemoved ¶
func (_OneInchOracle *OneInchOracleFilterer) FilterOracleRemoved(opts *bind.FilterOpts) (*OneInchOracleOracleRemovedIterator, error)
FilterOracleRemoved is a free log retrieval operation binding the contract event 0x7a7f56716fe703fb190529c336e57df71ab88188ba47e8d786bac684b61ab9a6.
Solidity: event OracleRemoved(address oracle, uint8 oracleType)
func (*OneInchOracleFilterer) FilterOwnershipTransferred ¶
func (_OneInchOracle *OneInchOracleFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*OneInchOracleOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*OneInchOracleFilterer) ParseConnectorAdded ¶
func (_OneInchOracle *OneInchOracleFilterer) ParseConnectorAdded(log types.Log) (*OneInchOracleConnectorAdded, error)
ParseConnectorAdded is a log parse operation binding the contract event 0xff88af5d962d47fd25d87755e8267a029fad5a91740c67d0dade2bdbe5268a1d.
Solidity: event ConnectorAdded(address connector)
func (*OneInchOracleFilterer) ParseConnectorRemoved ¶
func (_OneInchOracle *OneInchOracleFilterer) ParseConnectorRemoved(log types.Log) (*OneInchOracleConnectorRemoved, error)
ParseConnectorRemoved is a log parse operation binding the contract event 0x6825b26a0827e9c2ceca01d6289ce4a40e629dc074ec48ea4727d1afbff359f5.
Solidity: event ConnectorRemoved(address connector)
func (*OneInchOracleFilterer) ParseMultiWrapperUpdated ¶
func (_OneInchOracle *OneInchOracleFilterer) ParseMultiWrapperUpdated(log types.Log) (*OneInchOracleMultiWrapperUpdated, error)
ParseMultiWrapperUpdated is a log parse operation binding the contract event 0x1030152fe2062b574a830e6b9f13c65995990df31e4dc708d142533bb3ad0f52.
Solidity: event MultiWrapperUpdated(address multiWrapper)
func (*OneInchOracleFilterer) ParseOracleAdded ¶
func (_OneInchOracle *OneInchOracleFilterer) ParseOracleAdded(log types.Log) (*OneInchOracleOracleAdded, error)
ParseOracleAdded is a log parse operation binding the contract event 0x5874b2072ff37562df54063dd700c59d45f311bdf6f9cabb5a15f0ffb2e9f622.
Solidity: event OracleAdded(address oracle, uint8 oracleType)
func (*OneInchOracleFilterer) ParseOracleRemoved ¶
func (_OneInchOracle *OneInchOracleFilterer) ParseOracleRemoved(log types.Log) (*OneInchOracleOracleRemoved, error)
ParseOracleRemoved is a log parse operation binding the contract event 0x7a7f56716fe703fb190529c336e57df71ab88188ba47e8d786bac684b61ab9a6.
Solidity: event OracleRemoved(address oracle, uint8 oracleType)
func (*OneInchOracleFilterer) ParseOwnershipTransferred ¶
func (_OneInchOracle *OneInchOracleFilterer) ParseOwnershipTransferred(log types.Log) (*OneInchOracleOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*OneInchOracleFilterer) WatchConnectorAdded ¶
func (_OneInchOracle *OneInchOracleFilterer) WatchConnectorAdded(opts *bind.WatchOpts, sink chan<- *OneInchOracleConnectorAdded) (event.Subscription, error)
WatchConnectorAdded is a free log subscription operation binding the contract event 0xff88af5d962d47fd25d87755e8267a029fad5a91740c67d0dade2bdbe5268a1d.
Solidity: event ConnectorAdded(address connector)
func (*OneInchOracleFilterer) WatchConnectorRemoved ¶
func (_OneInchOracle *OneInchOracleFilterer) WatchConnectorRemoved(opts *bind.WatchOpts, sink chan<- *OneInchOracleConnectorRemoved) (event.Subscription, error)
WatchConnectorRemoved is a free log subscription operation binding the contract event 0x6825b26a0827e9c2ceca01d6289ce4a40e629dc074ec48ea4727d1afbff359f5.
Solidity: event ConnectorRemoved(address connector)
func (*OneInchOracleFilterer) WatchMultiWrapperUpdated ¶
func (_OneInchOracle *OneInchOracleFilterer) WatchMultiWrapperUpdated(opts *bind.WatchOpts, sink chan<- *OneInchOracleMultiWrapperUpdated) (event.Subscription, error)
WatchMultiWrapperUpdated is a free log subscription operation binding the contract event 0x1030152fe2062b574a830e6b9f13c65995990df31e4dc708d142533bb3ad0f52.
Solidity: event MultiWrapperUpdated(address multiWrapper)
func (*OneInchOracleFilterer) WatchOracleAdded ¶
func (_OneInchOracle *OneInchOracleFilterer) WatchOracleAdded(opts *bind.WatchOpts, sink chan<- *OneInchOracleOracleAdded) (event.Subscription, error)
WatchOracleAdded is a free log subscription operation binding the contract event 0x5874b2072ff37562df54063dd700c59d45f311bdf6f9cabb5a15f0ffb2e9f622.
Solidity: event OracleAdded(address oracle, uint8 oracleType)
func (*OneInchOracleFilterer) WatchOracleRemoved ¶
func (_OneInchOracle *OneInchOracleFilterer) WatchOracleRemoved(opts *bind.WatchOpts, sink chan<- *OneInchOracleOracleRemoved) (event.Subscription, error)
WatchOracleRemoved is a free log subscription operation binding the contract event 0x7a7f56716fe703fb190529c336e57df71ab88188ba47e8d786bac684b61ab9a6.
Solidity: event OracleRemoved(address oracle, uint8 oracleType)
func (*OneInchOracleFilterer) WatchOwnershipTransferred ¶
func (_OneInchOracle *OneInchOracleFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *OneInchOracleOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)
WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
type OneInchOracleMultiWrapperUpdated ¶
type OneInchOracleMultiWrapperUpdated struct { MultiWrapper common.Address Raw types.Log // Blockchain specific contextual infos }
OneInchOracleMultiWrapperUpdated represents a MultiWrapperUpdated event raised by the OneInchOracle contract.
type OneInchOracleMultiWrapperUpdatedIterator ¶
type OneInchOracleMultiWrapperUpdatedIterator struct { Event *OneInchOracleMultiWrapperUpdated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
OneInchOracleMultiWrapperUpdatedIterator is returned from FilterMultiWrapperUpdated and is used to iterate over the raw logs and unpacked data for MultiWrapperUpdated events raised by the OneInchOracle contract.
func (*OneInchOracleMultiWrapperUpdatedIterator) Close ¶
func (it *OneInchOracleMultiWrapperUpdatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*OneInchOracleMultiWrapperUpdatedIterator) Error ¶
func (it *OneInchOracleMultiWrapperUpdatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*OneInchOracleMultiWrapperUpdatedIterator) Next ¶
func (it *OneInchOracleMultiWrapperUpdatedIterator) 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 OneInchOracleOracleAdded ¶
type OneInchOracleOracleAdded struct { Oracle common.Address OracleType uint8 Raw types.Log // Blockchain specific contextual infos }
OneInchOracleOracleAdded represents a OracleAdded event raised by the OneInchOracle contract.
type OneInchOracleOracleAddedIterator ¶
type OneInchOracleOracleAddedIterator struct { Event *OneInchOracleOracleAdded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
OneInchOracleOracleAddedIterator is returned from FilterOracleAdded and is used to iterate over the raw logs and unpacked data for OracleAdded events raised by the OneInchOracle contract.
func (*OneInchOracleOracleAddedIterator) Close ¶
func (it *OneInchOracleOracleAddedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*OneInchOracleOracleAddedIterator) Error ¶
func (it *OneInchOracleOracleAddedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*OneInchOracleOracleAddedIterator) Next ¶
func (it *OneInchOracleOracleAddedIterator) 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 OneInchOracleOracleRemoved ¶
type OneInchOracleOracleRemoved struct { Oracle common.Address OracleType uint8 Raw types.Log // Blockchain specific contextual infos }
OneInchOracleOracleRemoved represents a OracleRemoved event raised by the OneInchOracle contract.
type OneInchOracleOracleRemovedIterator ¶
type OneInchOracleOracleRemovedIterator struct { Event *OneInchOracleOracleRemoved // Event containing the contract specifics and raw log // contains filtered or unexported fields }
OneInchOracleOracleRemovedIterator is returned from FilterOracleRemoved and is used to iterate over the raw logs and unpacked data for OracleRemoved events raised by the OneInchOracle contract.
func (*OneInchOracleOracleRemovedIterator) Close ¶
func (it *OneInchOracleOracleRemovedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*OneInchOracleOracleRemovedIterator) Error ¶
func (it *OneInchOracleOracleRemovedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*OneInchOracleOracleRemovedIterator) Next ¶
func (it *OneInchOracleOracleRemovedIterator) 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 OneInchOracleOwnershipTransferred ¶
type OneInchOracleOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
OneInchOracleOwnershipTransferred represents a OwnershipTransferred event raised by the OneInchOracle contract.
type OneInchOracleOwnershipTransferredIterator ¶
type OneInchOracleOwnershipTransferredIterator struct { Event *OneInchOracleOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
OneInchOracleOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the OneInchOracle contract.
func (*OneInchOracleOwnershipTransferredIterator) Close ¶
func (it *OneInchOracleOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*OneInchOracleOwnershipTransferredIterator) Error ¶
func (it *OneInchOracleOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*OneInchOracleOwnershipTransferredIterator) Next ¶
func (it *OneInchOracleOwnershipTransferredIterator) 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 OneInchOracleRaw ¶
type OneInchOracleRaw struct {
Contract *OneInchOracle // Generic contract binding to access the raw methods on
}
OneInchOracleRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*OneInchOracleRaw) Call ¶
func (_OneInchOracle *OneInchOracleRaw) 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 (*OneInchOracleRaw) Transact ¶
func (_OneInchOracle *OneInchOracleRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*OneInchOracleRaw) Transfer ¶
func (_OneInchOracle *OneInchOracleRaw) 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 OneInchOracleSession ¶
type OneInchOracleSession struct { Contract *OneInchOracle // 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 }
OneInchOracleSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*OneInchOracleSession) AddConnector ¶
func (_OneInchOracle *OneInchOracleSession) AddConnector(connector common.Address) (*types.Transaction, error)
AddConnector is a paid mutator transaction binding the contract method 0xaa16d4c0.
Solidity: function addConnector(address connector) returns()
func (*OneInchOracleSession) AddOracle ¶
func (_OneInchOracle *OneInchOracleSession) AddOracle(oracle common.Address, oracleKind uint8) (*types.Transaction, error)
AddOracle is a paid mutator transaction binding the contract method 0x9d4d7b1c.
Solidity: function addOracle(address oracle, uint8 oracleKind) returns()
func (*OneInchOracleSession) Connectors ¶
func (_OneInchOracle *OneInchOracleSession) Connectors() ([]common.Address, error)
Connectors is a free data retrieval call binding the contract method 0x65050a68.
Solidity: function connectors() view returns(address[] allConnectors)
func (*OneInchOracleSession) GetRate ¶
func (_OneInchOracle *OneInchOracleSession) GetRate(srcToken common.Address, dstToken common.Address, useWrappers bool) (*big.Int, error)
GetRate is a free data retrieval call binding the contract method 0x802431fb.
Solidity: function getRate(address srcToken, address dstToken, bool useWrappers) view returns(uint256 weightedRate)
func (*OneInchOracleSession) GetRateToEth ¶
func (_OneInchOracle *OneInchOracleSession) GetRateToEth(srcToken common.Address, useSrcWrappers bool) (*big.Int, error)
GetRateToEth is a free data retrieval call binding the contract method 0x7de4fd10.
Solidity: function getRateToEth(address srcToken, bool useSrcWrappers) view returns(uint256 weightedRate)
func (*OneInchOracleSession) MultiWrapper ¶
func (_OneInchOracle *OneInchOracleSession) MultiWrapper() (common.Address, error)
MultiWrapper is a free data retrieval call binding the contract method 0xb77910dc.
Solidity: function multiWrapper() view returns(address)
func (*OneInchOracleSession) Oracles ¶
func (_OneInchOracle *OneInchOracleSession) Oracles() (struct { AllOracles []common.Address OracleTypes []uint8 }, error)
Oracles is a free data retrieval call binding the contract method 0x2857373a.
Solidity: function oracles() view returns(address[] allOracles, uint8[] oracleTypes)
func (*OneInchOracleSession) Owner ¶
func (_OneInchOracle *OneInchOracleSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*OneInchOracleSession) RemoveConnector ¶
func (_OneInchOracle *OneInchOracleSession) RemoveConnector(connector common.Address) (*types.Transaction, error)
RemoveConnector is a paid mutator transaction binding the contract method 0x1a6c6a98.
Solidity: function removeConnector(address connector) returns()
func (*OneInchOracleSession) RemoveOracle ¶
func (_OneInchOracle *OneInchOracleSession) RemoveOracle(oracle common.Address, oracleKind uint8) (*types.Transaction, error)
RemoveOracle is a paid mutator transaction binding the contract method 0xf0b92e40.
Solidity: function removeOracle(address oracle, uint8 oracleKind) returns()
func (*OneInchOracleSession) RenounceOwnership ¶
func (_OneInchOracle *OneInchOracleSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*OneInchOracleSession) SetMultiWrapper ¶
func (_OneInchOracle *OneInchOracleSession) SetMultiWrapper(_multiWrapper common.Address) (*types.Transaction, error)
SetMultiWrapper is a paid mutator transaction binding the contract method 0xd0626518.
Solidity: function setMultiWrapper(address _multiWrapper) returns()
func (*OneInchOracleSession) TransferOwnership ¶
func (_OneInchOracle *OneInchOracleSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
type OneInchOracleTransactor ¶
type OneInchOracleTransactor struct {
// contains filtered or unexported fields
}
OneInchOracleTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewOneInchOracleTransactor ¶
func NewOneInchOracleTransactor(address common.Address, transactor bind.ContractTransactor) (*OneInchOracleTransactor, error)
NewOneInchOracleTransactor creates a new write-only instance of OneInchOracle, bound to a specific deployed contract.
func (*OneInchOracleTransactor) AddConnector ¶
func (_OneInchOracle *OneInchOracleTransactor) AddConnector(opts *bind.TransactOpts, connector common.Address) (*types.Transaction, error)
AddConnector is a paid mutator transaction binding the contract method 0xaa16d4c0.
Solidity: function addConnector(address connector) returns()
func (*OneInchOracleTransactor) AddOracle ¶
func (_OneInchOracle *OneInchOracleTransactor) AddOracle(opts *bind.TransactOpts, oracle common.Address, oracleKind uint8) (*types.Transaction, error)
AddOracle is a paid mutator transaction binding the contract method 0x9d4d7b1c.
Solidity: function addOracle(address oracle, uint8 oracleKind) returns()
func (*OneInchOracleTransactor) RemoveConnector ¶
func (_OneInchOracle *OneInchOracleTransactor) RemoveConnector(opts *bind.TransactOpts, connector common.Address) (*types.Transaction, error)
RemoveConnector is a paid mutator transaction binding the contract method 0x1a6c6a98.
Solidity: function removeConnector(address connector) returns()
func (*OneInchOracleTransactor) RemoveOracle ¶
func (_OneInchOracle *OneInchOracleTransactor) RemoveOracle(opts *bind.TransactOpts, oracle common.Address, oracleKind uint8) (*types.Transaction, error)
RemoveOracle is a paid mutator transaction binding the contract method 0xf0b92e40.
Solidity: function removeOracle(address oracle, uint8 oracleKind) returns()
func (*OneInchOracleTransactor) RenounceOwnership ¶
func (_OneInchOracle *OneInchOracleTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*OneInchOracleTransactor) SetMultiWrapper ¶
func (_OneInchOracle *OneInchOracleTransactor) SetMultiWrapper(opts *bind.TransactOpts, _multiWrapper common.Address) (*types.Transaction, error)
SetMultiWrapper is a paid mutator transaction binding the contract method 0xd0626518.
Solidity: function setMultiWrapper(address _multiWrapper) returns()
func (*OneInchOracleTransactor) TransferOwnership ¶
func (_OneInchOracle *OneInchOracleTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
type OneInchOracleTransactorRaw ¶
type OneInchOracleTransactorRaw struct {
Contract *OneInchOracleTransactor // Generic write-only contract binding to access the raw methods on
}
OneInchOracleTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*OneInchOracleTransactorRaw) Transact ¶
func (_OneInchOracle *OneInchOracleTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*OneInchOracleTransactorRaw) Transfer ¶
func (_OneInchOracle *OneInchOracleTransactorRaw) 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 OneInchOracleTransactorSession ¶
type OneInchOracleTransactorSession struct { Contract *OneInchOracleTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
OneInchOracleTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*OneInchOracleTransactorSession) AddConnector ¶
func (_OneInchOracle *OneInchOracleTransactorSession) AddConnector(connector common.Address) (*types.Transaction, error)
AddConnector is a paid mutator transaction binding the contract method 0xaa16d4c0.
Solidity: function addConnector(address connector) returns()
func (*OneInchOracleTransactorSession) AddOracle ¶
func (_OneInchOracle *OneInchOracleTransactorSession) AddOracle(oracle common.Address, oracleKind uint8) (*types.Transaction, error)
AddOracle is a paid mutator transaction binding the contract method 0x9d4d7b1c.
Solidity: function addOracle(address oracle, uint8 oracleKind) returns()
func (*OneInchOracleTransactorSession) RemoveConnector ¶
func (_OneInchOracle *OneInchOracleTransactorSession) RemoveConnector(connector common.Address) (*types.Transaction, error)
RemoveConnector is a paid mutator transaction binding the contract method 0x1a6c6a98.
Solidity: function removeConnector(address connector) returns()
func (*OneInchOracleTransactorSession) RemoveOracle ¶
func (_OneInchOracle *OneInchOracleTransactorSession) RemoveOracle(oracle common.Address, oracleKind uint8) (*types.Transaction, error)
RemoveOracle is a paid mutator transaction binding the contract method 0xf0b92e40.
Solidity: function removeOracle(address oracle, uint8 oracleKind) returns()
func (*OneInchOracleTransactorSession) RenounceOwnership ¶
func (_OneInchOracle *OneInchOracleTransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*OneInchOracleTransactorSession) SetMultiWrapper ¶
func (_OneInchOracle *OneInchOracleTransactorSession) SetMultiWrapper(_multiWrapper common.Address) (*types.Transaction, error)
SetMultiWrapper is a paid mutator transaction binding the contract method 0xd0626518.
Solidity: function setMultiWrapper(address _multiWrapper) returns()
func (*OneInchOracleTransactorSession) TransferOwnership ¶
func (_OneInchOracle *OneInchOracleTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) 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.