Documentation ¶
Index ¶
- Variables
- type FeePool
- type FeePoolAdminChanged
- type FeePoolAdminChangedIterator
- type FeePoolBeaconUpgraded
- type FeePoolBeaconUpgradedIterator
- type FeePoolCaller
- func (_FeePool *FeePoolCaller) NetworkProposalAddress(opts *bind.CallOpts) (common.Address, error)
- func (_FeePool *FeePoolCaller) NetworkWithdrawAddress(opts *bind.CallOpts) (common.Address, error)
- func (_FeePool *FeePoolCaller) ProxiableUUID(opts *bind.CallOpts) ([32]byte, error)
- func (_FeePool *FeePoolCaller) Version(opts *bind.CallOpts) (uint8, error)
- type FeePoolCallerRaw
- type FeePoolCallerSession
- func (_FeePool *FeePoolCallerSession) NetworkProposalAddress() (common.Address, error)
- func (_FeePool *FeePoolCallerSession) NetworkWithdrawAddress() (common.Address, error)
- func (_FeePool *FeePoolCallerSession) ProxiableUUID() ([32]byte, error)
- func (_FeePool *FeePoolCallerSession) Version() (uint8, error)
- type FeePoolEtherWithdrawn
- type FeePoolEtherWithdrawnIterator
- type FeePoolFilterer
- func (_FeePool *FeePoolFilterer) FilterAdminChanged(opts *bind.FilterOpts) (*FeePoolAdminChangedIterator, error)
- func (_FeePool *FeePoolFilterer) FilterBeaconUpgraded(opts *bind.FilterOpts, beacon []common.Address) (*FeePoolBeaconUpgradedIterator, error)
- func (_FeePool *FeePoolFilterer) FilterEtherWithdrawn(opts *bind.FilterOpts) (*FeePoolEtherWithdrawnIterator, error)
- func (_FeePool *FeePoolFilterer) FilterInitialized(opts *bind.FilterOpts) (*FeePoolInitializedIterator, error)
- func (_FeePool *FeePoolFilterer) FilterUpgraded(opts *bind.FilterOpts, implementation []common.Address) (*FeePoolUpgradedIterator, error)
- func (_FeePool *FeePoolFilterer) ParseAdminChanged(log types.Log) (*FeePoolAdminChanged, error)
- func (_FeePool *FeePoolFilterer) ParseBeaconUpgraded(log types.Log) (*FeePoolBeaconUpgraded, error)
- func (_FeePool *FeePoolFilterer) ParseEtherWithdrawn(log types.Log) (*FeePoolEtherWithdrawn, error)
- func (_FeePool *FeePoolFilterer) ParseInitialized(log types.Log) (*FeePoolInitialized, error)
- func (_FeePool *FeePoolFilterer) ParseUpgraded(log types.Log) (*FeePoolUpgraded, error)
- func (_FeePool *FeePoolFilterer) WatchAdminChanged(opts *bind.WatchOpts, sink chan<- *FeePoolAdminChanged) (event.Subscription, error)
- func (_FeePool *FeePoolFilterer) WatchBeaconUpgraded(opts *bind.WatchOpts, sink chan<- *FeePoolBeaconUpgraded, ...) (event.Subscription, error)
- func (_FeePool *FeePoolFilterer) WatchEtherWithdrawn(opts *bind.WatchOpts, sink chan<- *FeePoolEtherWithdrawn) (event.Subscription, error)
- func (_FeePool *FeePoolFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *FeePoolInitialized) (event.Subscription, error)
- func (_FeePool *FeePoolFilterer) WatchUpgraded(opts *bind.WatchOpts, sink chan<- *FeePoolUpgraded, ...) (event.Subscription, error)
- type FeePoolInitialized
- type FeePoolInitializedIterator
- type FeePoolRaw
- func (_FeePool *FeePoolRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_FeePool *FeePoolRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_FeePool *FeePoolRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type FeePoolSession
- func (_FeePool *FeePoolSession) Init(_networkWithdrawAddress common.Address, _networkProposalAddress common.Address) (*types.Transaction, error)
- func (_FeePool *FeePoolSession) NetworkProposalAddress() (common.Address, error)
- func (_FeePool *FeePoolSession) NetworkWithdrawAddress() (common.Address, error)
- func (_FeePool *FeePoolSession) ProxiableUUID() ([32]byte, error)
- func (_FeePool *FeePoolSession) Receive() (*types.Transaction, error)
- func (_FeePool *FeePoolSession) Reinit() (*types.Transaction, error)
- func (_FeePool *FeePoolSession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error)
- func (_FeePool *FeePoolSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)
- func (_FeePool *FeePoolSession) Version() (uint8, error)
- func (_FeePool *FeePoolSession) WithdrawEther(_amount *big.Int) (*types.Transaction, error)
- type FeePoolTransactor
- func (_FeePool *FeePoolTransactor) Init(opts *bind.TransactOpts, _networkWithdrawAddress common.Address, ...) (*types.Transaction, error)
- func (_FeePool *FeePoolTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_FeePool *FeePoolTransactor) Reinit(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_FeePool *FeePoolTransactor) UpgradeTo(opts *bind.TransactOpts, newImplementation common.Address) (*types.Transaction, error)
- func (_FeePool *FeePoolTransactor) UpgradeToAndCall(opts *bind.TransactOpts, newImplementation common.Address, data []byte) (*types.Transaction, error)
- func (_FeePool *FeePoolTransactor) WithdrawEther(opts *bind.TransactOpts, _amount *big.Int) (*types.Transaction, error)
- type FeePoolTransactorRaw
- type FeePoolTransactorSession
- func (_FeePool *FeePoolTransactorSession) Init(_networkWithdrawAddress common.Address, _networkProposalAddress common.Address) (*types.Transaction, error)
- func (_FeePool *FeePoolTransactorSession) Receive() (*types.Transaction, error)
- func (_FeePool *FeePoolTransactorSession) Reinit() (*types.Transaction, error)
- func (_FeePool *FeePoolTransactorSession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error)
- func (_FeePool *FeePoolTransactorSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)
- func (_FeePool *FeePoolTransactorSession) WithdrawEther(_amount *big.Int) (*types.Transaction, error)
- type FeePoolUpgraded
- type FeePoolUpgradedIterator
Constants ¶
This section is empty.
Variables ¶
var FeePoolABI = FeePoolMetaData.ABI
FeePoolABI is the input ABI used to generate the binding from. Deprecated: Use FeePoolMetaData.ABI instead.
var FeePoolMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"AddressNotAllowed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"AlreadyClaimed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"AlreadyDealedEpoch\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"AlreadyDealedHeight\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"AlreadyInitialized\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"AlreadyNotifiedCycle\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"AlreadyVoted\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"AmountNotZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"AmountUnmatch\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"AmountZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"BalanceNotEnough\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"BlockNotMatch\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"CallerNotAllowed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ClaimableAmountZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ClaimableDepositZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ClaimableRewardZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ClaimableWithdrawIndexOverflow\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"CommissionRateInvalid\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"CycleNotMatch\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"DepositAmountGTMaxAmount\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"DepositAmountLTMinAmount\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"EmptyEntrustedVoters\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"EthAmountZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"FailedToCall\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidMerkleProof\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidThreshold\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"LengthNotMatch\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"LsdTokenAmountZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"LsdTokenCanOnlyUseOnce\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NodeAlreadyExist\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NodeAlreadyRemoved\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NodeNotClaimable\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotAuthorizedLsdToken\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotClaimable\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotPubkeyOwner\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotTrustNode\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ProposalExecFailed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"PubkeyAlreadyExist\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"PubkeyNotExist\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"PubkeyNumberOverLimit\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"PubkeyStatusUnmatch\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"RateChangeOverLimit\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"SoloNodeDepositAmountZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"SoloNodeDepositDisabled\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"SubmitBalancesDisabled\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"min\",\"type\":\"uint256\"}],\"name\":\"TooLow\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"TrustNodeDepositDisabled\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"UserDepositDisabled\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"VotersDuplicate\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"VotersNotEnough\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"VotersNotExist\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"WithdrawIndexEmpty\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"previousAdmin\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newAdmin\",\"type\":\"address\"}],\"name\":\"AdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"beacon\",\"type\":\"address\"}],\"name\":\"BeaconUpgraded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"time\",\"type\":\"uint256\"}],\"name\":\"EtherWithdrawn\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"version\",\"type\":\"uint8\"}],\"name\":\"Initialized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"implementation\",\"type\":\"address\"}],\"name\":\"Upgraded\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_networkWithdrawAddress\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_networkProposalAddress\",\"type\":\"address\"}],\"name\":\"init\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"networkProposalAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"networkWithdrawAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"proxiableUUID\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"reinit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newImplementation\",\"type\":\"address\"}],\"name\":\"upgradeTo\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newImplementation\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"upgradeToAndCall\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"version\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"withdrawEther\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}]",
}
FeePoolMetaData contains all meta data concerning the FeePool contract.
Functions ¶
This section is empty.
Types ¶
type FeePool ¶
type FeePool struct { FeePoolCaller // Read-only binding to the contract FeePoolTransactor // Write-only binding to the contract FeePoolFilterer // Log filterer for contract events }
FeePool is an auto generated Go binding around an Ethereum contract.
func NewFeePool ¶
NewFeePool creates a new instance of FeePool, bound to a specific deployed contract.
type FeePoolAdminChanged ¶
type FeePoolAdminChanged struct { PreviousAdmin common.Address NewAdmin common.Address Raw types.Log // Blockchain specific contextual infos }
FeePoolAdminChanged represents a AdminChanged event raised by the FeePool contract.
type FeePoolAdminChangedIterator ¶
type FeePoolAdminChangedIterator struct { Event *FeePoolAdminChanged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
FeePoolAdminChangedIterator is returned from FilterAdminChanged and is used to iterate over the raw logs and unpacked data for AdminChanged events raised by the FeePool contract.
func (*FeePoolAdminChangedIterator) Close ¶
func (it *FeePoolAdminChangedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*FeePoolAdminChangedIterator) Error ¶
func (it *FeePoolAdminChangedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*FeePoolAdminChangedIterator) Next ¶
func (it *FeePoolAdminChangedIterator) 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 FeePoolBeaconUpgraded ¶
type FeePoolBeaconUpgraded struct { Beacon common.Address Raw types.Log // Blockchain specific contextual infos }
FeePoolBeaconUpgraded represents a BeaconUpgraded event raised by the FeePool contract.
type FeePoolBeaconUpgradedIterator ¶
type FeePoolBeaconUpgradedIterator struct { Event *FeePoolBeaconUpgraded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
FeePoolBeaconUpgradedIterator is returned from FilterBeaconUpgraded and is used to iterate over the raw logs and unpacked data for BeaconUpgraded events raised by the FeePool contract.
func (*FeePoolBeaconUpgradedIterator) Close ¶
func (it *FeePoolBeaconUpgradedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*FeePoolBeaconUpgradedIterator) Error ¶
func (it *FeePoolBeaconUpgradedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*FeePoolBeaconUpgradedIterator) Next ¶
func (it *FeePoolBeaconUpgradedIterator) 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 FeePoolCaller ¶
type FeePoolCaller struct {
// contains filtered or unexported fields
}
FeePoolCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewFeePoolCaller ¶
func NewFeePoolCaller(address common.Address, caller bind.ContractCaller) (*FeePoolCaller, error)
NewFeePoolCaller creates a new read-only instance of FeePool, bound to a specific deployed contract.
func (*FeePoolCaller) NetworkProposalAddress ¶
NetworkProposalAddress is a free data retrieval call binding the contract method 0xb4701c09.
Solidity: function networkProposalAddress() view returns(address)
func (*FeePoolCaller) NetworkWithdrawAddress ¶
NetworkWithdrawAddress is a free data retrieval call binding the contract method 0x1587ef1b.
Solidity: function networkWithdrawAddress() view returns(address)
func (*FeePoolCaller) ProxiableUUID ¶
func (_FeePool *FeePoolCaller) ProxiableUUID(opts *bind.CallOpts) ([32]byte, error)
ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.
Solidity: function proxiableUUID() view returns(bytes32)
type FeePoolCallerRaw ¶
type FeePoolCallerRaw struct {
Contract *FeePoolCaller // Generic read-only contract binding to access the raw methods on
}
FeePoolCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*FeePoolCallerRaw) Call ¶
func (_FeePool *FeePoolCallerRaw) 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 FeePoolCallerSession ¶
type FeePoolCallerSession struct { Contract *FeePoolCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
FeePoolCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*FeePoolCallerSession) NetworkProposalAddress ¶
func (_FeePool *FeePoolCallerSession) NetworkProposalAddress() (common.Address, error)
NetworkProposalAddress is a free data retrieval call binding the contract method 0xb4701c09.
Solidity: function networkProposalAddress() view returns(address)
func (*FeePoolCallerSession) NetworkWithdrawAddress ¶
func (_FeePool *FeePoolCallerSession) NetworkWithdrawAddress() (common.Address, error)
NetworkWithdrawAddress is a free data retrieval call binding the contract method 0x1587ef1b.
Solidity: function networkWithdrawAddress() view returns(address)
func (*FeePoolCallerSession) ProxiableUUID ¶
func (_FeePool *FeePoolCallerSession) ProxiableUUID() ([32]byte, error)
ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.
Solidity: function proxiableUUID() view returns(bytes32)
func (*FeePoolCallerSession) Version ¶
func (_FeePool *FeePoolCallerSession) Version() (uint8, error)
Version is a free data retrieval call binding the contract method 0x54fd4d50.
Solidity: function version() view returns(uint8)
type FeePoolEtherWithdrawn ¶
type FeePoolEtherWithdrawn struct { Amount *big.Int Time *big.Int Raw types.Log // Blockchain specific contextual infos }
FeePoolEtherWithdrawn represents a EtherWithdrawn event raised by the FeePool contract.
type FeePoolEtherWithdrawnIterator ¶
type FeePoolEtherWithdrawnIterator struct { Event *FeePoolEtherWithdrawn // Event containing the contract specifics and raw log // contains filtered or unexported fields }
FeePoolEtherWithdrawnIterator is returned from FilterEtherWithdrawn and is used to iterate over the raw logs and unpacked data for EtherWithdrawn events raised by the FeePool contract.
func (*FeePoolEtherWithdrawnIterator) Close ¶
func (it *FeePoolEtherWithdrawnIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*FeePoolEtherWithdrawnIterator) Error ¶
func (it *FeePoolEtherWithdrawnIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*FeePoolEtherWithdrawnIterator) Next ¶
func (it *FeePoolEtherWithdrawnIterator) 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 FeePoolFilterer ¶
type FeePoolFilterer struct {
// contains filtered or unexported fields
}
FeePoolFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewFeePoolFilterer ¶
func NewFeePoolFilterer(address common.Address, filterer bind.ContractFilterer) (*FeePoolFilterer, error)
NewFeePoolFilterer creates a new log filterer instance of FeePool, bound to a specific deployed contract.
func (*FeePoolFilterer) FilterAdminChanged ¶
func (_FeePool *FeePoolFilterer) FilterAdminChanged(opts *bind.FilterOpts) (*FeePoolAdminChangedIterator, error)
FilterAdminChanged is a free log retrieval operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.
Solidity: event AdminChanged(address previousAdmin, address newAdmin)
func (*FeePoolFilterer) FilterBeaconUpgraded ¶
func (_FeePool *FeePoolFilterer) FilterBeaconUpgraded(opts *bind.FilterOpts, beacon []common.Address) (*FeePoolBeaconUpgradedIterator, error)
FilterBeaconUpgraded is a free log retrieval operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.
Solidity: event BeaconUpgraded(address indexed beacon)
func (*FeePoolFilterer) FilterEtherWithdrawn ¶
func (_FeePool *FeePoolFilterer) FilterEtherWithdrawn(opts *bind.FilterOpts) (*FeePoolEtherWithdrawnIterator, error)
FilterEtherWithdrawn is a free log retrieval operation binding the contract event 0xfe8f3b8f6ceb26dd77f4305e42b5199c054cd056585d04be113a00c6ea75acb1.
Solidity: event EtherWithdrawn(uint256 amount, uint256 time)
func (*FeePoolFilterer) FilterInitialized ¶
func (_FeePool *FeePoolFilterer) FilterInitialized(opts *bind.FilterOpts) (*FeePoolInitializedIterator, error)
FilterInitialized is a free log retrieval operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*FeePoolFilterer) FilterUpgraded ¶
func (_FeePool *FeePoolFilterer) FilterUpgraded(opts *bind.FilterOpts, implementation []common.Address) (*FeePoolUpgradedIterator, error)
FilterUpgraded is a free log retrieval operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.
Solidity: event Upgraded(address indexed implementation)
func (*FeePoolFilterer) ParseAdminChanged ¶
func (_FeePool *FeePoolFilterer) ParseAdminChanged(log types.Log) (*FeePoolAdminChanged, error)
ParseAdminChanged is a log parse operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.
Solidity: event AdminChanged(address previousAdmin, address newAdmin)
func (*FeePoolFilterer) ParseBeaconUpgraded ¶
func (_FeePool *FeePoolFilterer) ParseBeaconUpgraded(log types.Log) (*FeePoolBeaconUpgraded, error)
ParseBeaconUpgraded is a log parse operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.
Solidity: event BeaconUpgraded(address indexed beacon)
func (*FeePoolFilterer) ParseEtherWithdrawn ¶
func (_FeePool *FeePoolFilterer) ParseEtherWithdrawn(log types.Log) (*FeePoolEtherWithdrawn, error)
ParseEtherWithdrawn is a log parse operation binding the contract event 0xfe8f3b8f6ceb26dd77f4305e42b5199c054cd056585d04be113a00c6ea75acb1.
Solidity: event EtherWithdrawn(uint256 amount, uint256 time)
func (*FeePoolFilterer) ParseInitialized ¶
func (_FeePool *FeePoolFilterer) ParseInitialized(log types.Log) (*FeePoolInitialized, error)
ParseInitialized is a log parse operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*FeePoolFilterer) ParseUpgraded ¶
func (_FeePool *FeePoolFilterer) ParseUpgraded(log types.Log) (*FeePoolUpgraded, error)
ParseUpgraded is a log parse operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.
Solidity: event Upgraded(address indexed implementation)
func (*FeePoolFilterer) WatchAdminChanged ¶
func (_FeePool *FeePoolFilterer) WatchAdminChanged(opts *bind.WatchOpts, sink chan<- *FeePoolAdminChanged) (event.Subscription, error)
WatchAdminChanged is a free log subscription operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.
Solidity: event AdminChanged(address previousAdmin, address newAdmin)
func (*FeePoolFilterer) WatchBeaconUpgraded ¶
func (_FeePool *FeePoolFilterer) WatchBeaconUpgraded(opts *bind.WatchOpts, sink chan<- *FeePoolBeaconUpgraded, beacon []common.Address) (event.Subscription, error)
WatchBeaconUpgraded is a free log subscription operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.
Solidity: event BeaconUpgraded(address indexed beacon)
func (*FeePoolFilterer) WatchEtherWithdrawn ¶
func (_FeePool *FeePoolFilterer) WatchEtherWithdrawn(opts *bind.WatchOpts, sink chan<- *FeePoolEtherWithdrawn) (event.Subscription, error)
WatchEtherWithdrawn is a free log subscription operation binding the contract event 0xfe8f3b8f6ceb26dd77f4305e42b5199c054cd056585d04be113a00c6ea75acb1.
Solidity: event EtherWithdrawn(uint256 amount, uint256 time)
func (*FeePoolFilterer) WatchInitialized ¶
func (_FeePool *FeePoolFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *FeePoolInitialized) (event.Subscription, error)
WatchInitialized is a free log subscription operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*FeePoolFilterer) WatchUpgraded ¶
func (_FeePool *FeePoolFilterer) WatchUpgraded(opts *bind.WatchOpts, sink chan<- *FeePoolUpgraded, implementation []common.Address) (event.Subscription, error)
WatchUpgraded is a free log subscription operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.
Solidity: event Upgraded(address indexed implementation)
type FeePoolInitialized ¶
type FeePoolInitialized struct { Version uint8 Raw types.Log // Blockchain specific contextual infos }
FeePoolInitialized represents a Initialized event raised by the FeePool contract.
type FeePoolInitializedIterator ¶
type FeePoolInitializedIterator struct { Event *FeePoolInitialized // Event containing the contract specifics and raw log // contains filtered or unexported fields }
FeePoolInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the FeePool contract.
func (*FeePoolInitializedIterator) Close ¶
func (it *FeePoolInitializedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*FeePoolInitializedIterator) Error ¶
func (it *FeePoolInitializedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*FeePoolInitializedIterator) Next ¶
func (it *FeePoolInitializedIterator) 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 FeePoolRaw ¶
type FeePoolRaw struct {
Contract *FeePool // Generic contract binding to access the raw methods on
}
FeePoolRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*FeePoolRaw) Call ¶
func (_FeePool *FeePoolRaw) 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 (*FeePoolRaw) Transact ¶
func (_FeePool *FeePoolRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*FeePoolRaw) Transfer ¶
func (_FeePool *FeePoolRaw) 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 FeePoolSession ¶
type FeePoolSession struct { Contract *FeePool // 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 }
FeePoolSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*FeePoolSession) Init ¶
func (_FeePool *FeePoolSession) Init(_networkWithdrawAddress common.Address, _networkProposalAddress common.Address) (*types.Transaction, error)
Init is a paid mutator transaction binding the contract method 0xf09a4016.
Solidity: function init(address _networkWithdrawAddress, address _networkProposalAddress) returns()
func (*FeePoolSession) NetworkProposalAddress ¶
func (_FeePool *FeePoolSession) NetworkProposalAddress() (common.Address, error)
NetworkProposalAddress is a free data retrieval call binding the contract method 0xb4701c09.
Solidity: function networkProposalAddress() view returns(address)
func (*FeePoolSession) NetworkWithdrawAddress ¶
func (_FeePool *FeePoolSession) NetworkWithdrawAddress() (common.Address, error)
NetworkWithdrawAddress is a free data retrieval call binding the contract method 0x1587ef1b.
Solidity: function networkWithdrawAddress() view returns(address)
func (*FeePoolSession) ProxiableUUID ¶
func (_FeePool *FeePoolSession) ProxiableUUID() ([32]byte, error)
ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.
Solidity: function proxiableUUID() view returns(bytes32)
func (*FeePoolSession) Receive ¶
func (_FeePool *FeePoolSession) Receive() (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
func (*FeePoolSession) Reinit ¶
func (_FeePool *FeePoolSession) Reinit() (*types.Transaction, error)
Reinit is a paid mutator transaction binding the contract method 0xc482ceaf.
Solidity: function reinit() returns()
func (*FeePoolSession) UpgradeTo ¶
func (_FeePool *FeePoolSession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error)
UpgradeTo is a paid mutator transaction binding the contract method 0x3659cfe6.
Solidity: function upgradeTo(address newImplementation) returns()
func (*FeePoolSession) UpgradeToAndCall ¶
func (_FeePool *FeePoolSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)
UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.
Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()
func (*FeePoolSession) Version ¶
func (_FeePool *FeePoolSession) Version() (uint8, error)
Version is a free data retrieval call binding the contract method 0x54fd4d50.
Solidity: function version() view returns(uint8)
func (*FeePoolSession) WithdrawEther ¶
func (_FeePool *FeePoolSession) WithdrawEther(_amount *big.Int) (*types.Transaction, error)
WithdrawEther is a paid mutator transaction binding the contract method 0x3bed33ce.
Solidity: function withdrawEther(uint256 _amount) returns()
type FeePoolTransactor ¶
type FeePoolTransactor struct {
// contains filtered or unexported fields
}
FeePoolTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewFeePoolTransactor ¶
func NewFeePoolTransactor(address common.Address, transactor bind.ContractTransactor) (*FeePoolTransactor, error)
NewFeePoolTransactor creates a new write-only instance of FeePool, bound to a specific deployed contract.
func (*FeePoolTransactor) Init ¶
func (_FeePool *FeePoolTransactor) Init(opts *bind.TransactOpts, _networkWithdrawAddress common.Address, _networkProposalAddress common.Address) (*types.Transaction, error)
Init is a paid mutator transaction binding the contract method 0xf09a4016.
Solidity: function init(address _networkWithdrawAddress, address _networkProposalAddress) returns()
func (*FeePoolTransactor) Receive ¶
func (_FeePool *FeePoolTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
func (*FeePoolTransactor) Reinit ¶
func (_FeePool *FeePoolTransactor) Reinit(opts *bind.TransactOpts) (*types.Transaction, error)
Reinit is a paid mutator transaction binding the contract method 0xc482ceaf.
Solidity: function reinit() returns()
func (*FeePoolTransactor) UpgradeTo ¶
func (_FeePool *FeePoolTransactor) UpgradeTo(opts *bind.TransactOpts, newImplementation common.Address) (*types.Transaction, error)
UpgradeTo is a paid mutator transaction binding the contract method 0x3659cfe6.
Solidity: function upgradeTo(address newImplementation) returns()
func (*FeePoolTransactor) UpgradeToAndCall ¶
func (_FeePool *FeePoolTransactor) UpgradeToAndCall(opts *bind.TransactOpts, newImplementation common.Address, data []byte) (*types.Transaction, error)
UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.
Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()
func (*FeePoolTransactor) WithdrawEther ¶
func (_FeePool *FeePoolTransactor) WithdrawEther(opts *bind.TransactOpts, _amount *big.Int) (*types.Transaction, error)
WithdrawEther is a paid mutator transaction binding the contract method 0x3bed33ce.
Solidity: function withdrawEther(uint256 _amount) returns()
type FeePoolTransactorRaw ¶
type FeePoolTransactorRaw struct {
Contract *FeePoolTransactor // Generic write-only contract binding to access the raw methods on
}
FeePoolTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*FeePoolTransactorRaw) Transact ¶
func (_FeePool *FeePoolTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*FeePoolTransactorRaw) Transfer ¶
func (_FeePool *FeePoolTransactorRaw) 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 FeePoolTransactorSession ¶
type FeePoolTransactorSession struct { Contract *FeePoolTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
FeePoolTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*FeePoolTransactorSession) Init ¶
func (_FeePool *FeePoolTransactorSession) Init(_networkWithdrawAddress common.Address, _networkProposalAddress common.Address) (*types.Transaction, error)
Init is a paid mutator transaction binding the contract method 0xf09a4016.
Solidity: function init(address _networkWithdrawAddress, address _networkProposalAddress) returns()
func (*FeePoolTransactorSession) Receive ¶
func (_FeePool *FeePoolTransactorSession) Receive() (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
func (*FeePoolTransactorSession) Reinit ¶
func (_FeePool *FeePoolTransactorSession) Reinit() (*types.Transaction, error)
Reinit is a paid mutator transaction binding the contract method 0xc482ceaf.
Solidity: function reinit() returns()
func (*FeePoolTransactorSession) UpgradeTo ¶
func (_FeePool *FeePoolTransactorSession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error)
UpgradeTo is a paid mutator transaction binding the contract method 0x3659cfe6.
Solidity: function upgradeTo(address newImplementation) returns()
func (*FeePoolTransactorSession) UpgradeToAndCall ¶
func (_FeePool *FeePoolTransactorSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)
UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.
Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()
func (*FeePoolTransactorSession) WithdrawEther ¶
func (_FeePool *FeePoolTransactorSession) WithdrawEther(_amount *big.Int) (*types.Transaction, error)
WithdrawEther is a paid mutator transaction binding the contract method 0x3bed33ce.
Solidity: function withdrawEther(uint256 _amount) returns()
type FeePoolUpgraded ¶
type FeePoolUpgraded struct { Implementation common.Address Raw types.Log // Blockchain specific contextual infos }
FeePoolUpgraded represents a Upgraded event raised by the FeePool contract.
type FeePoolUpgradedIterator ¶
type FeePoolUpgradedIterator struct { Event *FeePoolUpgraded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
FeePoolUpgradedIterator is returned from FilterUpgraded and is used to iterate over the raw logs and unpacked data for Upgraded events raised by the FeePool contract.
func (*FeePoolUpgradedIterator) Close ¶
func (it *FeePoolUpgradedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*FeePoolUpgradedIterator) Error ¶
func (it *FeePoolUpgradedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*FeePoolUpgradedIterator) Next ¶
func (it *FeePoolUpgradedIterator) 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.