Versions in this module Expand all Collapse all v0 v0.9.0 Mar 9, 2023 Changes in this version + var DistributorABI = DistributorMetaData.ABI + var DistributorMetaData = &bind.MetaData + type Distributor struct + func NewDistributor(address common.Address, backend bind.ContractBackend) (*Distributor, error) + type DistributorCaller struct + func NewDistributorCaller(address common.Address, caller bind.ContractCaller) (*DistributorCaller, error) + func (_Distributor *DistributorCaller) GetCurrentNodeDepositAmount(opts *bind.CallOpts) (*big.Int, error) + func (_Distributor *DistributorCaller) Version(opts *bind.CallOpts) (uint8, error) + type DistributorCallerRaw struct + Contract *DistributorCaller + func (_Distributor *DistributorCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error + type DistributorCallerSession struct + CallOpts bind.CallOpts + Contract *DistributorCaller + func (_Distributor *DistributorCallerSession) GetCurrentNodeDepositAmount() (*big.Int, error) + func (_Distributor *DistributorCallerSession) Version() (uint8, error) + type DistributorClaimed struct + Account common.Address + ClaimedAmount *big.Int + Index *big.Int + Raw types.Log + TotalAmount *big.Int + type DistributorClaimedIterator struct + Event *DistributorClaimed + func (it *DistributorClaimedIterator) Close() error + func (it *DistributorClaimedIterator) Error() error + func (it *DistributorClaimedIterator) Next() bool + type DistributorFilterer struct + func NewDistributorFilterer(address common.Address, filterer bind.ContractFilterer) (*DistributorFilterer, error) + func (_Distributor *DistributorFilterer) FilterClaimed(opts *bind.FilterOpts) (*DistributorClaimedIterator, error) + func (_Distributor *DistributorFilterer) FilterProposalExecuted(opts *bind.FilterOpts, proposalId [][32]byte) (*DistributorProposalExecutedIterator, error) + func (_Distributor *DistributorFilterer) FilterVoteProposal(opts *bind.FilterOpts, proposalId [][32]byte) (*DistributorVoteProposalIterator, error) + func (_Distributor *DistributorFilterer) ParseClaimed(log types.Log) (*DistributorClaimed, error) + func (_Distributor *DistributorFilterer) ParseProposalExecuted(log types.Log) (*DistributorProposalExecuted, error) + func (_Distributor *DistributorFilterer) ParseVoteProposal(log types.Log) (*DistributorVoteProposal, error) + func (_Distributor *DistributorFilterer) WatchClaimed(opts *bind.WatchOpts, sink chan<- *DistributorClaimed) (event.Subscription, error) + func (_Distributor *DistributorFilterer) WatchProposalExecuted(opts *bind.WatchOpts, sink chan<- *DistributorProposalExecuted, ...) (event.Subscription, error) + func (_Distributor *DistributorFilterer) WatchVoteProposal(opts *bind.WatchOpts, sink chan<- *DistributorVoteProposal, ...) (event.Subscription, error) + type DistributorProposalExecuted struct + ProposalId [32]byte + Raw types.Log + type DistributorProposalExecutedIterator struct + Event *DistributorProposalExecuted + func (it *DistributorProposalExecutedIterator) Close() error + func (it *DistributorProposalExecutedIterator) Error() error + func (it *DistributorProposalExecutedIterator) Next() bool + type DistributorRaw struct + Contract *Distributor + func (_Distributor *DistributorRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error + func (_Distributor *DistributorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) + func (_Distributor *DistributorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) + type DistributorSession struct + CallOpts bind.CallOpts + Contract *Distributor + TransactOpts bind.TransactOpts + func (_Distributor *DistributorSession) Claim(_index *big.Int, _account common.Address, _totalAmount *big.Int, ...) (*types.Transaction, error) + func (_Distributor *DistributorSession) DistributeFee(_amount *big.Int) (*types.Transaction, error) + func (_Distributor *DistributorSession) DistributeSlashAmount(_dealedHeight *big.Int, _amount *big.Int) (*types.Transaction, error) + func (_Distributor *DistributorSession) DistributeSuperNodeFee(_amount *big.Int) (*types.Transaction, error) + func (_Distributor *DistributorSession) DistributeWithdrawals() (*types.Transaction, error) + func (_Distributor *DistributorSession) GetCurrentNodeDepositAmount() (*big.Int, error) + func (_Distributor *DistributorSession) Receive() (*types.Transaction, error) + func (_Distributor *DistributorSession) ReceiveEtherWithdrawal() (*types.Transaction, error) + func (_Distributor *DistributorSession) SetMerkleRoot(_dealedEpoch *big.Int, _merkleRoot [32]byte) (*types.Transaction, error) + func (_Distributor *DistributorSession) Version() (uint8, error) + type DistributorTransactor struct + func NewDistributorTransactor(address common.Address, transactor bind.ContractTransactor) (*DistributorTransactor, error) + func (_Distributor *DistributorTransactor) Claim(opts *bind.TransactOpts, _index *big.Int, _account common.Address, ...) (*types.Transaction, error) + func (_Distributor *DistributorTransactor) DistributeFee(opts *bind.TransactOpts, _amount *big.Int) (*types.Transaction, error) + func (_Distributor *DistributorTransactor) DistributeSlashAmount(opts *bind.TransactOpts, _dealedHeight *big.Int, _amount *big.Int) (*types.Transaction, error) + func (_Distributor *DistributorTransactor) DistributeSuperNodeFee(opts *bind.TransactOpts, _amount *big.Int) (*types.Transaction, error) + func (_Distributor *DistributorTransactor) DistributeWithdrawals(opts *bind.TransactOpts) (*types.Transaction, error) + func (_Distributor *DistributorTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error) + func (_Distributor *DistributorTransactor) ReceiveEtherWithdrawal(opts *bind.TransactOpts) (*types.Transaction, error) + func (_Distributor *DistributorTransactor) SetMerkleRoot(opts *bind.TransactOpts, _dealedEpoch *big.Int, _merkleRoot [32]byte) (*types.Transaction, error) + type DistributorTransactorRaw struct + Contract *DistributorTransactor + func (_Distributor *DistributorTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) + func (_Distributor *DistributorTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) + type DistributorTransactorSession struct + Contract *DistributorTransactor + TransactOpts bind.TransactOpts + func (_Distributor *DistributorTransactorSession) Claim(_index *big.Int, _account common.Address, _totalAmount *big.Int, ...) (*types.Transaction, error) + func (_Distributor *DistributorTransactorSession) DistributeFee(_amount *big.Int) (*types.Transaction, error) + func (_Distributor *DistributorTransactorSession) DistributeSlashAmount(_dealedHeight *big.Int, _amount *big.Int) (*types.Transaction, error) + func (_Distributor *DistributorTransactorSession) DistributeSuperNodeFee(_amount *big.Int) (*types.Transaction, error) + func (_Distributor *DistributorTransactorSession) DistributeWithdrawals() (*types.Transaction, error) + func (_Distributor *DistributorTransactorSession) Receive() (*types.Transaction, error) + func (_Distributor *DistributorTransactorSession) ReceiveEtherWithdrawal() (*types.Transaction, error) + func (_Distributor *DistributorTransactorSession) SetMerkleRoot(_dealedEpoch *big.Int, _merkleRoot [32]byte) (*types.Transaction, error) + type DistributorVoteProposal struct + ProposalId [32]byte + Raw types.Log + Voter common.Address + type DistributorVoteProposalIterator struct + Event *DistributorVoteProposal + func (it *DistributorVoteProposalIterator) Close() error + func (it *DistributorVoteProposalIterator) Error() error + func (it *DistributorVoteProposalIterator) Next() bool