contracts

package
v1.0.11 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2023 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const BeaconDepositABI = "" /* 1613-byte string literal not displayed */

BeaconDepositABI is the input ABI used to generate the binding from.

View Source
const OneInchOracleABI = "" /* 5032-byte string literal not displayed */

OneInchOracleABI is the input ABI used to generate the binding from.

View Source
const RPLFaucetABI = "" /* 3027-byte string literal not displayed */

RPLFaucetABI is the input ABI used to generate the binding from.

Variables

View Source
var SnapshotDelegationABI = SnapshotDelegationMetaData.ABI

SnapshotDelegationABI is the input ABI used to generate the binding from. Deprecated: Use SnapshotDelegationMetaData.ABI instead.

View Source
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

Close terminates the iteration process, releasing any pending underlying resources.

func (*BeaconDepositDepositEventIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BeaconDepositDepositEventIterator) Next

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)

func (*OneInchOracleCaller) Owner

func (_OneInchOracle *OneInchOracleCaller) Owner(opts *bind.CallOpts) (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

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)

func (*OneInchOracleCallerSession) Owner

func (_OneInchOracle *OneInchOracleCallerSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

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

Close terminates the iteration process, releasing any pending underlying resources.

func (*OneInchOracleConnectorAddedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OneInchOracleConnectorAddedIterator) Next

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

Close terminates the iteration process, releasing any pending underlying resources.

func (*OneInchOracleConnectorRemovedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OneInchOracleConnectorRemovedIterator) Next

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

Close terminates the iteration process, releasing any pending underlying resources.

func (*OneInchOracleMultiWrapperUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OneInchOracleMultiWrapperUpdatedIterator) Next

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

Close terminates the iteration process, releasing any pending underlying resources.

func (*OneInchOracleOracleAddedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OneInchOracleOracleAddedIterator) Next

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

Close terminates the iteration process, releasing any pending underlying resources.

func (*OneInchOracleOracleRemovedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OneInchOracleOracleRemovedIterator) Next

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

Close terminates the iteration process, releasing any pending underlying resources.

func (*OneInchOracleOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OneInchOracleOwnershipTransferredIterator) Next

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

func NewRPLFaucet(address common.Address, backend bind.ContractBackend) (*RPLFaucet, error)

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

func (_RPLFaucet *RPLFaucetCaller) GetAllowance(opts *bind.CallOpts) (*big.Int, error)

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

func (_RPLFaucet *RPLFaucetCaller) GetBalance(opts *bind.CallOpts) (*big.Int, error)

GetBalance is a free data retrieval call binding the contract method 0x12065fe0.

Solidity: function getBalance() view returns(uint256)

func (*RPLFaucetCaller) GetWithdrawalPeriodStart

func (_RPLFaucet *RPLFaucetCaller) GetWithdrawalPeriodStart(opts *bind.CallOpts) (*big.Int, error)

GetWithdrawalPeriodStart is a free data retrieval call binding the contract method 0xfc65bc4f.

Solidity: function getWithdrawalPeriodStart() view returns(uint256)

func (*RPLFaucetCaller) MaxWithdrawalPerPeriod

func (_RPLFaucet *RPLFaucetCaller) MaxWithdrawalPerPeriod(opts *bind.CallOpts) (*big.Int, error)

MaxWithdrawalPerPeriod is a free data retrieval call binding the contract method 0x203bf056.

Solidity: function maxWithdrawalPerPeriod() view returns(uint256)

func (*RPLFaucetCaller) Owner

func (_RPLFaucet *RPLFaucetCaller) Owner(opts *bind.CallOpts) (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*RPLFaucetCaller) WithdrawalFee

func (_RPLFaucet *RPLFaucetCaller) WithdrawalFee(opts *bind.CallOpts) (*big.Int, error)

WithdrawalFee is a free data retrieval call binding the contract method 0x8bc7e8c4.

Solidity: function withdrawalFee() view returns(uint256)

func (*RPLFaucetCaller) WithdrawalPeriod

func (_RPLFaucet *RPLFaucetCaller) WithdrawalPeriod(opts *bind.CallOpts) (*big.Int, error)

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

func (_RPLFaucet *RPLFaucetSession) 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 (*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

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

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

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

SnapshotDelegationCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewSnapshotDelegationCaller

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

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

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

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

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

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

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

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

Close terminates the iteration process, releasing any pending underlying resources.

func (*SnapshotDelegationClearDelegateIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*SnapshotDelegationClearDelegateIterator) Next

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

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

SnapshotDelegationFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewSnapshotDelegationFilterer

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Close terminates the iteration process, releasing any pending underlying resources.

func (*SnapshotDelegationSetDelegateIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*SnapshotDelegationSetDelegateIterator) Next

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

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

SnapshotDelegationTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewSnapshotDelegationTransactor

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

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

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

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

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

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

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

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

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()

Jump to

Keyboard shortcuts

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