Documentation ¶
Index ¶
- Constants
- Variables
- type IRetiredContract
- type IRetiredContractCaller
- type IRetiredContractCallerRaw
- type IRetiredContractCallerSession
- type IRetiredContractFilterer
- type IRetiredContractRaw
- func (_IRetiredContract *IRetiredContractRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_IRetiredContract *IRetiredContractRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_IRetiredContract *IRetiredContractRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type IRetiredContractSession
- type IRetiredContractTransactor
- type IRetiredContractTransactorRaw
- type IRetiredContractTransactorSession
- type ITreasuryRebalance
- type ITreasuryRebalanceApproved
- type ITreasuryRebalanceApprovedIterator
- type ITreasuryRebalanceCaller
- func (_ITreasuryRebalance *ITreasuryRebalanceCaller) CheckRetiredsApproved(opts *bind.CallOpts) error
- func (_ITreasuryRebalance *ITreasuryRebalanceCaller) GetNewbie(opts *bind.CallOpts, newbieAddress common.Address) (common.Address, *big.Int, error)
- func (_ITreasuryRebalance *ITreasuryRebalanceCaller) GetNewbieCount(opts *bind.CallOpts) (*big.Int, error)
- func (_ITreasuryRebalance *ITreasuryRebalanceCaller) GetRetired(opts *bind.CallOpts, retiredAddress common.Address) (common.Address, []common.Address, error)
- func (_ITreasuryRebalance *ITreasuryRebalanceCaller) GetRetiredCount(opts *bind.CallOpts) (*big.Int, error)
- func (_ITreasuryRebalance *ITreasuryRebalanceCaller) GetTreasuryAmount(opts *bind.CallOpts) (*big.Int, error)
- func (_ITreasuryRebalance *ITreasuryRebalanceCaller) Memo(opts *bind.CallOpts) (string, error)
- func (_ITreasuryRebalance *ITreasuryRebalanceCaller) RebalanceBlockNumber(opts *bind.CallOpts) (*big.Int, error)
- func (_ITreasuryRebalance *ITreasuryRebalanceCaller) Status(opts *bind.CallOpts) (uint8, error)
- func (_ITreasuryRebalance *ITreasuryRebalanceCaller) SumOfRetiredBalance(opts *bind.CallOpts) (*big.Int, error)
- type ITreasuryRebalanceCallerRaw
- type ITreasuryRebalanceCallerSession
- func (_ITreasuryRebalance *ITreasuryRebalanceCallerSession) CheckRetiredsApproved() error
- func (_ITreasuryRebalance *ITreasuryRebalanceCallerSession) GetNewbie(newbieAddress common.Address) (common.Address, *big.Int, error)
- func (_ITreasuryRebalance *ITreasuryRebalanceCallerSession) GetNewbieCount() (*big.Int, error)
- func (_ITreasuryRebalance *ITreasuryRebalanceCallerSession) GetRetired(retiredAddress common.Address) (common.Address, []common.Address, error)
- func (_ITreasuryRebalance *ITreasuryRebalanceCallerSession) GetRetiredCount() (*big.Int, error)
- func (_ITreasuryRebalance *ITreasuryRebalanceCallerSession) GetTreasuryAmount() (*big.Int, error)
- func (_ITreasuryRebalance *ITreasuryRebalanceCallerSession) Memo() (string, error)
- func (_ITreasuryRebalance *ITreasuryRebalanceCallerSession) RebalanceBlockNumber() (*big.Int, error)
- func (_ITreasuryRebalance *ITreasuryRebalanceCallerSession) Status() (uint8, error)
- func (_ITreasuryRebalance *ITreasuryRebalanceCallerSession) SumOfRetiredBalance() (*big.Int, error)
- type ITreasuryRebalanceContractDeployed
- type ITreasuryRebalanceContractDeployedIterator
- type ITreasuryRebalanceFilterer
- func (_ITreasuryRebalance *ITreasuryRebalanceFilterer) FilterApproved(opts *bind.FilterOpts) (*ITreasuryRebalanceApprovedIterator, error)
- func (_ITreasuryRebalance *ITreasuryRebalanceFilterer) FilterContractDeployed(opts *bind.FilterOpts) (*ITreasuryRebalanceContractDeployedIterator, error)
- func (_ITreasuryRebalance *ITreasuryRebalanceFilterer) FilterFinalized(opts *bind.FilterOpts) (*ITreasuryRebalanceFinalizedIterator, error)
- func (_ITreasuryRebalance *ITreasuryRebalanceFilterer) FilterNewbieRegistered(opts *bind.FilterOpts) (*ITreasuryRebalanceNewbieRegisteredIterator, error)
- func (_ITreasuryRebalance *ITreasuryRebalanceFilterer) FilterNewbieRemoved(opts *bind.FilterOpts) (*ITreasuryRebalanceNewbieRemovedIterator, error)
- func (_ITreasuryRebalance *ITreasuryRebalanceFilterer) FilterRetiredRegistered(opts *bind.FilterOpts) (*ITreasuryRebalanceRetiredRegisteredIterator, error)
- func (_ITreasuryRebalance *ITreasuryRebalanceFilterer) FilterRetiredRemoved(opts *bind.FilterOpts) (*ITreasuryRebalanceRetiredRemovedIterator, error)
- func (_ITreasuryRebalance *ITreasuryRebalanceFilterer) FilterStatusChanged(opts *bind.FilterOpts) (*ITreasuryRebalanceStatusChangedIterator, error)
- func (_ITreasuryRebalance *ITreasuryRebalanceFilterer) ParseApproved(log types.Log) (*ITreasuryRebalanceApproved, error)
- func (_ITreasuryRebalance *ITreasuryRebalanceFilterer) ParseContractDeployed(log types.Log) (*ITreasuryRebalanceContractDeployed, error)
- func (_ITreasuryRebalance *ITreasuryRebalanceFilterer) ParseFinalized(log types.Log) (*ITreasuryRebalanceFinalized, error)
- func (_ITreasuryRebalance *ITreasuryRebalanceFilterer) ParseNewbieRegistered(log types.Log) (*ITreasuryRebalanceNewbieRegistered, error)
- func (_ITreasuryRebalance *ITreasuryRebalanceFilterer) ParseNewbieRemoved(log types.Log) (*ITreasuryRebalanceNewbieRemoved, error)
- func (_ITreasuryRebalance *ITreasuryRebalanceFilterer) ParseRetiredRegistered(log types.Log) (*ITreasuryRebalanceRetiredRegistered, error)
- func (_ITreasuryRebalance *ITreasuryRebalanceFilterer) ParseRetiredRemoved(log types.Log) (*ITreasuryRebalanceRetiredRemoved, error)
- func (_ITreasuryRebalance *ITreasuryRebalanceFilterer) ParseStatusChanged(log types.Log) (*ITreasuryRebalanceStatusChanged, error)
- func (_ITreasuryRebalance *ITreasuryRebalanceFilterer) WatchApproved(opts *bind.WatchOpts, sink chan<- *ITreasuryRebalanceApproved) (event.Subscription, error)
- func (_ITreasuryRebalance *ITreasuryRebalanceFilterer) WatchContractDeployed(opts *bind.WatchOpts, sink chan<- *ITreasuryRebalanceContractDeployed) (event.Subscription, error)
- func (_ITreasuryRebalance *ITreasuryRebalanceFilterer) WatchFinalized(opts *bind.WatchOpts, sink chan<- *ITreasuryRebalanceFinalized) (event.Subscription, error)
- func (_ITreasuryRebalance *ITreasuryRebalanceFilterer) WatchNewbieRegistered(opts *bind.WatchOpts, sink chan<- *ITreasuryRebalanceNewbieRegistered) (event.Subscription, error)
- func (_ITreasuryRebalance *ITreasuryRebalanceFilterer) WatchNewbieRemoved(opts *bind.WatchOpts, sink chan<- *ITreasuryRebalanceNewbieRemoved) (event.Subscription, error)
- func (_ITreasuryRebalance *ITreasuryRebalanceFilterer) WatchRetiredRegistered(opts *bind.WatchOpts, sink chan<- *ITreasuryRebalanceRetiredRegistered) (event.Subscription, error)
- func (_ITreasuryRebalance *ITreasuryRebalanceFilterer) WatchRetiredRemoved(opts *bind.WatchOpts, sink chan<- *ITreasuryRebalanceRetiredRemoved) (event.Subscription, error)
- func (_ITreasuryRebalance *ITreasuryRebalanceFilterer) WatchStatusChanged(opts *bind.WatchOpts, sink chan<- *ITreasuryRebalanceStatusChanged) (event.Subscription, error)
- type ITreasuryRebalanceFinalized
- type ITreasuryRebalanceFinalizedIterator
- type ITreasuryRebalanceNewbieRegistered
- type ITreasuryRebalanceNewbieRegisteredIterator
- type ITreasuryRebalanceNewbieRemoved
- type ITreasuryRebalanceNewbieRemovedIterator
- type ITreasuryRebalanceRaw
- func (_ITreasuryRebalance *ITreasuryRebalanceRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_ITreasuryRebalance *ITreasuryRebalanceRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_ITreasuryRebalance *ITreasuryRebalanceRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ITreasuryRebalanceRetiredRegistered
- type ITreasuryRebalanceRetiredRegisteredIterator
- type ITreasuryRebalanceRetiredRemoved
- type ITreasuryRebalanceRetiredRemovedIterator
- type ITreasuryRebalanceSession
- func (_ITreasuryRebalance *ITreasuryRebalanceSession) Approve(retiredAddress common.Address) (*types.Transaction, error)
- func (_ITreasuryRebalance *ITreasuryRebalanceSession) CheckRetiredsApproved() error
- func (_ITreasuryRebalance *ITreasuryRebalanceSession) FinalizeApproval() (*types.Transaction, error)
- func (_ITreasuryRebalance *ITreasuryRebalanceSession) FinalizeContract(memo string) (*types.Transaction, error)
- func (_ITreasuryRebalance *ITreasuryRebalanceSession) FinalizeRegistration() (*types.Transaction, error)
- func (_ITreasuryRebalance *ITreasuryRebalanceSession) GetNewbie(newbieAddress common.Address) (common.Address, *big.Int, error)
- func (_ITreasuryRebalance *ITreasuryRebalanceSession) GetNewbieCount() (*big.Int, error)
- func (_ITreasuryRebalance *ITreasuryRebalanceSession) GetRetired(retiredAddress common.Address) (common.Address, []common.Address, error)
- func (_ITreasuryRebalance *ITreasuryRebalanceSession) GetRetiredCount() (*big.Int, error)
- func (_ITreasuryRebalance *ITreasuryRebalanceSession) GetTreasuryAmount() (*big.Int, error)
- func (_ITreasuryRebalance *ITreasuryRebalanceSession) Memo() (string, error)
- func (_ITreasuryRebalance *ITreasuryRebalanceSession) RebalanceBlockNumber() (*big.Int, error)
- func (_ITreasuryRebalance *ITreasuryRebalanceSession) RegisterNewbie(newbieAddress common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ITreasuryRebalance *ITreasuryRebalanceSession) RegisterRetired(retiredAddress common.Address) (*types.Transaction, error)
- func (_ITreasuryRebalance *ITreasuryRebalanceSession) RemoveNewbie(newbieAddress common.Address) (*types.Transaction, error)
- func (_ITreasuryRebalance *ITreasuryRebalanceSession) RemoveRetired(retiredAddress common.Address) (*types.Transaction, error)
- func (_ITreasuryRebalance *ITreasuryRebalanceSession) Reset() (*types.Transaction, error)
- func (_ITreasuryRebalance *ITreasuryRebalanceSession) Status() (uint8, error)
- func (_ITreasuryRebalance *ITreasuryRebalanceSession) SumOfRetiredBalance() (*big.Int, error)
- type ITreasuryRebalanceStatusChanged
- type ITreasuryRebalanceStatusChangedIterator
- type ITreasuryRebalanceTransactor
- func (_ITreasuryRebalance *ITreasuryRebalanceTransactor) Approve(opts *bind.TransactOpts, retiredAddress common.Address) (*types.Transaction, error)
- func (_ITreasuryRebalance *ITreasuryRebalanceTransactor) FinalizeApproval(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_ITreasuryRebalance *ITreasuryRebalanceTransactor) FinalizeContract(opts *bind.TransactOpts, memo string) (*types.Transaction, error)
- func (_ITreasuryRebalance *ITreasuryRebalanceTransactor) FinalizeRegistration(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_ITreasuryRebalance *ITreasuryRebalanceTransactor) RegisterNewbie(opts *bind.TransactOpts, newbieAddress common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ITreasuryRebalance *ITreasuryRebalanceTransactor) RegisterRetired(opts *bind.TransactOpts, retiredAddress common.Address) (*types.Transaction, error)
- func (_ITreasuryRebalance *ITreasuryRebalanceTransactor) RemoveNewbie(opts *bind.TransactOpts, newbieAddress common.Address) (*types.Transaction, error)
- func (_ITreasuryRebalance *ITreasuryRebalanceTransactor) RemoveRetired(opts *bind.TransactOpts, retiredAddress common.Address) (*types.Transaction, error)
- func (_ITreasuryRebalance *ITreasuryRebalanceTransactor) Reset(opts *bind.TransactOpts) (*types.Transaction, error)
- type ITreasuryRebalanceTransactorRaw
- type ITreasuryRebalanceTransactorSession
- func (_ITreasuryRebalance *ITreasuryRebalanceTransactorSession) Approve(retiredAddress common.Address) (*types.Transaction, error)
- func (_ITreasuryRebalance *ITreasuryRebalanceTransactorSession) FinalizeApproval() (*types.Transaction, error)
- func (_ITreasuryRebalance *ITreasuryRebalanceTransactorSession) FinalizeContract(memo string) (*types.Transaction, error)
- func (_ITreasuryRebalance *ITreasuryRebalanceTransactorSession) FinalizeRegistration() (*types.Transaction, error)
- func (_ITreasuryRebalance *ITreasuryRebalanceTransactorSession) RegisterNewbie(newbieAddress common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ITreasuryRebalance *ITreasuryRebalanceTransactorSession) RegisterRetired(retiredAddress common.Address) (*types.Transaction, error)
- func (_ITreasuryRebalance *ITreasuryRebalanceTransactorSession) RemoveNewbie(newbieAddress common.Address) (*types.Transaction, error)
- func (_ITreasuryRebalance *ITreasuryRebalanceTransactorSession) RemoveRetired(retiredAddress common.Address) (*types.Transaction, error)
- func (_ITreasuryRebalance *ITreasuryRebalanceTransactorSession) Reset() (*types.Transaction, error)
- type Ownable
- type OwnableCaller
- type OwnableCallerRaw
- type OwnableCallerSession
- type OwnableFilterer
- func (_Ownable *OwnableFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*OwnableOwnershipTransferredIterator, error)
- func (_Ownable *OwnableFilterer) ParseOwnershipTransferred(log types.Log) (*OwnableOwnershipTransferred, error)
- func (_Ownable *OwnableFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *OwnableOwnershipTransferred, ...) (event.Subscription, error)
- type OwnableOwnershipTransferred
- type OwnableOwnershipTransferredIterator
- type OwnableRaw
- func (_Ownable *OwnableRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Ownable *OwnableRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Ownable *OwnableRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type OwnableSession
- func (_Ownable *OwnableSession) IsOwner() (bool, error)
- func (_Ownable *OwnableSession) Owner() (common.Address, error)
- func (_Ownable *OwnableSession) RenounceOwnership() (*types.Transaction, error)
- func (_Ownable *OwnableSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- type OwnableTransactor
- type OwnableTransactorRaw
- type OwnableTransactorSession
- type TreasuryRebalance
- type TreasuryRebalanceApproved
- type TreasuryRebalanceApprovedIterator
- type TreasuryRebalanceCaller
- func (_TreasuryRebalance *TreasuryRebalanceCaller) CheckRetiredsApproved(opts *bind.CallOpts) error
- func (_TreasuryRebalance *TreasuryRebalanceCaller) GetNewbie(opts *bind.CallOpts, _newbieAddress common.Address) (common.Address, *big.Int, error)
- func (_TreasuryRebalance *TreasuryRebalanceCaller) GetNewbieCount(opts *bind.CallOpts) (*big.Int, error)
- func (_TreasuryRebalance *TreasuryRebalanceCaller) GetNewbieIndex(opts *bind.CallOpts, _newbieAddress common.Address) (*big.Int, error)
- func (_TreasuryRebalance *TreasuryRebalanceCaller) GetRetired(opts *bind.CallOpts, _retiredAddress common.Address) (common.Address, []common.Address, error)
- func (_TreasuryRebalance *TreasuryRebalanceCaller) GetRetiredCount(opts *bind.CallOpts) (*big.Int, error)
- func (_TreasuryRebalance *TreasuryRebalanceCaller) GetRetiredIndex(opts *bind.CallOpts, _retiredAddress common.Address) (*big.Int, error)
- func (_TreasuryRebalance *TreasuryRebalanceCaller) GetTreasuryAmount(opts *bind.CallOpts) (*big.Int, error)
- func (_TreasuryRebalance *TreasuryRebalanceCaller) IsContractAddr(opts *bind.CallOpts, _addr common.Address) (bool, error)
- func (_TreasuryRebalance *TreasuryRebalanceCaller) IsOwner(opts *bind.CallOpts) (bool, error)
- func (_TreasuryRebalance *TreasuryRebalanceCaller) Memo(opts *bind.CallOpts) (string, error)
- func (_TreasuryRebalance *TreasuryRebalanceCaller) NewbieExists(opts *bind.CallOpts, _newbieAddress common.Address) (bool, error)
- func (_TreasuryRebalance *TreasuryRebalanceCaller) Newbies(opts *bind.CallOpts, arg0 *big.Int) (struct{ ... }, error)
- func (_TreasuryRebalance *TreasuryRebalanceCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_TreasuryRebalance *TreasuryRebalanceCaller) RebalanceBlockNumber(opts *bind.CallOpts) (*big.Int, error)
- func (_TreasuryRebalance *TreasuryRebalanceCaller) RetiredExists(opts *bind.CallOpts, _retiredAddress common.Address) (bool, error)
- func (_TreasuryRebalance *TreasuryRebalanceCaller) Retirees(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)
- func (_TreasuryRebalance *TreasuryRebalanceCaller) Status(opts *bind.CallOpts) (uint8, error)
- func (_TreasuryRebalance *TreasuryRebalanceCaller) SumOfRetiredBalance(opts *bind.CallOpts) (*big.Int, error)
- type TreasuryRebalanceCallerRaw
- type TreasuryRebalanceCallerSession
- func (_TreasuryRebalance *TreasuryRebalanceCallerSession) CheckRetiredsApproved() error
- func (_TreasuryRebalance *TreasuryRebalanceCallerSession) GetNewbie(_newbieAddress common.Address) (common.Address, *big.Int, error)
- func (_TreasuryRebalance *TreasuryRebalanceCallerSession) GetNewbieCount() (*big.Int, error)
- func (_TreasuryRebalance *TreasuryRebalanceCallerSession) GetNewbieIndex(_newbieAddress common.Address) (*big.Int, error)
- func (_TreasuryRebalance *TreasuryRebalanceCallerSession) GetRetired(_retiredAddress common.Address) (common.Address, []common.Address, error)
- func (_TreasuryRebalance *TreasuryRebalanceCallerSession) GetRetiredCount() (*big.Int, error)
- func (_TreasuryRebalance *TreasuryRebalanceCallerSession) GetRetiredIndex(_retiredAddress common.Address) (*big.Int, error)
- func (_TreasuryRebalance *TreasuryRebalanceCallerSession) GetTreasuryAmount() (*big.Int, error)
- func (_TreasuryRebalance *TreasuryRebalanceCallerSession) IsContractAddr(_addr common.Address) (bool, error)
- func (_TreasuryRebalance *TreasuryRebalanceCallerSession) IsOwner() (bool, error)
- func (_TreasuryRebalance *TreasuryRebalanceCallerSession) Memo() (string, error)
- func (_TreasuryRebalance *TreasuryRebalanceCallerSession) NewbieExists(_newbieAddress common.Address) (bool, error)
- func (_TreasuryRebalance *TreasuryRebalanceCallerSession) Newbies(arg0 *big.Int) (struct{ ... }, error)
- func (_TreasuryRebalance *TreasuryRebalanceCallerSession) Owner() (common.Address, error)
- func (_TreasuryRebalance *TreasuryRebalanceCallerSession) RebalanceBlockNumber() (*big.Int, error)
- func (_TreasuryRebalance *TreasuryRebalanceCallerSession) RetiredExists(_retiredAddress common.Address) (bool, error)
- func (_TreasuryRebalance *TreasuryRebalanceCallerSession) Retirees(arg0 *big.Int) (common.Address, error)
- func (_TreasuryRebalance *TreasuryRebalanceCallerSession) Status() (uint8, error)
- func (_TreasuryRebalance *TreasuryRebalanceCallerSession) SumOfRetiredBalance() (*big.Int, error)
- type TreasuryRebalanceContractDeployed
- type TreasuryRebalanceContractDeployedIterator
- type TreasuryRebalanceFilterer
- func (_TreasuryRebalance *TreasuryRebalanceFilterer) FilterApproved(opts *bind.FilterOpts) (*TreasuryRebalanceApprovedIterator, error)
- func (_TreasuryRebalance *TreasuryRebalanceFilterer) FilterContractDeployed(opts *bind.FilterOpts) (*TreasuryRebalanceContractDeployedIterator, error)
- func (_TreasuryRebalance *TreasuryRebalanceFilterer) FilterFinalized(opts *bind.FilterOpts) (*TreasuryRebalanceFinalizedIterator, error)
- func (_TreasuryRebalance *TreasuryRebalanceFilterer) FilterNewbieRegistered(opts *bind.FilterOpts) (*TreasuryRebalanceNewbieRegisteredIterator, error)
- func (_TreasuryRebalance *TreasuryRebalanceFilterer) FilterNewbieRemoved(opts *bind.FilterOpts) (*TreasuryRebalanceNewbieRemovedIterator, error)
- func (_TreasuryRebalance *TreasuryRebalanceFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*TreasuryRebalanceOwnershipTransferredIterator, error)
- func (_TreasuryRebalance *TreasuryRebalanceFilterer) FilterRetiredRegistered(opts *bind.FilterOpts) (*TreasuryRebalanceRetiredRegisteredIterator, error)
- func (_TreasuryRebalance *TreasuryRebalanceFilterer) FilterRetiredRemoved(opts *bind.FilterOpts) (*TreasuryRebalanceRetiredRemovedIterator, error)
- func (_TreasuryRebalance *TreasuryRebalanceFilterer) FilterStatusChanged(opts *bind.FilterOpts) (*TreasuryRebalanceStatusChangedIterator, error)
- func (_TreasuryRebalance *TreasuryRebalanceFilterer) ParseApproved(log types.Log) (*TreasuryRebalanceApproved, error)
- func (_TreasuryRebalance *TreasuryRebalanceFilterer) ParseContractDeployed(log types.Log) (*TreasuryRebalanceContractDeployed, error)
- func (_TreasuryRebalance *TreasuryRebalanceFilterer) ParseFinalized(log types.Log) (*TreasuryRebalanceFinalized, error)
- func (_TreasuryRebalance *TreasuryRebalanceFilterer) ParseNewbieRegistered(log types.Log) (*TreasuryRebalanceNewbieRegistered, error)
- func (_TreasuryRebalance *TreasuryRebalanceFilterer) ParseNewbieRemoved(log types.Log) (*TreasuryRebalanceNewbieRemoved, error)
- func (_TreasuryRebalance *TreasuryRebalanceFilterer) ParseOwnershipTransferred(log types.Log) (*TreasuryRebalanceOwnershipTransferred, error)
- func (_TreasuryRebalance *TreasuryRebalanceFilterer) ParseRetiredRegistered(log types.Log) (*TreasuryRebalanceRetiredRegistered, error)
- func (_TreasuryRebalance *TreasuryRebalanceFilterer) ParseRetiredRemoved(log types.Log) (*TreasuryRebalanceRetiredRemoved, error)
- func (_TreasuryRebalance *TreasuryRebalanceFilterer) ParseStatusChanged(log types.Log) (*TreasuryRebalanceStatusChanged, error)
- func (_TreasuryRebalance *TreasuryRebalanceFilterer) WatchApproved(opts *bind.WatchOpts, sink chan<- *TreasuryRebalanceApproved) (event.Subscription, error)
- func (_TreasuryRebalance *TreasuryRebalanceFilterer) WatchContractDeployed(opts *bind.WatchOpts, sink chan<- *TreasuryRebalanceContractDeployed) (event.Subscription, error)
- func (_TreasuryRebalance *TreasuryRebalanceFilterer) WatchFinalized(opts *bind.WatchOpts, sink chan<- *TreasuryRebalanceFinalized) (event.Subscription, error)
- func (_TreasuryRebalance *TreasuryRebalanceFilterer) WatchNewbieRegistered(opts *bind.WatchOpts, sink chan<- *TreasuryRebalanceNewbieRegistered) (event.Subscription, error)
- func (_TreasuryRebalance *TreasuryRebalanceFilterer) WatchNewbieRemoved(opts *bind.WatchOpts, sink chan<- *TreasuryRebalanceNewbieRemoved) (event.Subscription, error)
- func (_TreasuryRebalance *TreasuryRebalanceFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *TreasuryRebalanceOwnershipTransferred, ...) (event.Subscription, error)
- func (_TreasuryRebalance *TreasuryRebalanceFilterer) WatchRetiredRegistered(opts *bind.WatchOpts, sink chan<- *TreasuryRebalanceRetiredRegistered) (event.Subscription, error)
- func (_TreasuryRebalance *TreasuryRebalanceFilterer) WatchRetiredRemoved(opts *bind.WatchOpts, sink chan<- *TreasuryRebalanceRetiredRemoved) (event.Subscription, error)
- func (_TreasuryRebalance *TreasuryRebalanceFilterer) WatchStatusChanged(opts *bind.WatchOpts, sink chan<- *TreasuryRebalanceStatusChanged) (event.Subscription, error)
- type TreasuryRebalanceFinalized
- type TreasuryRebalanceFinalizedIterator
- type TreasuryRebalanceNewbieRegistered
- type TreasuryRebalanceNewbieRegisteredIterator
- type TreasuryRebalanceNewbieRemoved
- type TreasuryRebalanceNewbieRemovedIterator
- type TreasuryRebalanceOwnershipTransferred
- type TreasuryRebalanceOwnershipTransferredIterator
- type TreasuryRebalanceRaw
- func (_TreasuryRebalance *TreasuryRebalanceRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_TreasuryRebalance *TreasuryRebalanceRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_TreasuryRebalance *TreasuryRebalanceRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type TreasuryRebalanceRetiredRegistered
- type TreasuryRebalanceRetiredRegisteredIterator
- type TreasuryRebalanceRetiredRemoved
- type TreasuryRebalanceRetiredRemovedIterator
- type TreasuryRebalanceSession
- func (_TreasuryRebalance *TreasuryRebalanceSession) Approve(_retiredAddress common.Address) (*types.Transaction, error)
- func (_TreasuryRebalance *TreasuryRebalanceSession) CheckRetiredsApproved() error
- func (_TreasuryRebalance *TreasuryRebalanceSession) Fallback(calldata []byte) (*types.Transaction, error)
- func (_TreasuryRebalance *TreasuryRebalanceSession) FinalizeApproval() (*types.Transaction, error)
- func (_TreasuryRebalance *TreasuryRebalanceSession) FinalizeContract(_memo string) (*types.Transaction, error)
- func (_TreasuryRebalance *TreasuryRebalanceSession) FinalizeRegistration() (*types.Transaction, error)
- func (_TreasuryRebalance *TreasuryRebalanceSession) GetNewbie(_newbieAddress common.Address) (common.Address, *big.Int, error)
- func (_TreasuryRebalance *TreasuryRebalanceSession) GetNewbieCount() (*big.Int, error)
- func (_TreasuryRebalance *TreasuryRebalanceSession) GetNewbieIndex(_newbieAddress common.Address) (*big.Int, error)
- func (_TreasuryRebalance *TreasuryRebalanceSession) GetRetired(_retiredAddress common.Address) (common.Address, []common.Address, error)
- func (_TreasuryRebalance *TreasuryRebalanceSession) GetRetiredCount() (*big.Int, error)
- func (_TreasuryRebalance *TreasuryRebalanceSession) GetRetiredIndex(_retiredAddress common.Address) (*big.Int, error)
- func (_TreasuryRebalance *TreasuryRebalanceSession) GetTreasuryAmount() (*big.Int, error)
- func (_TreasuryRebalance *TreasuryRebalanceSession) IsContractAddr(_addr common.Address) (bool, error)
- func (_TreasuryRebalance *TreasuryRebalanceSession) IsOwner() (bool, error)
- func (_TreasuryRebalance *TreasuryRebalanceSession) Memo() (string, error)
- func (_TreasuryRebalance *TreasuryRebalanceSession) NewbieExists(_newbieAddress common.Address) (bool, error)
- func (_TreasuryRebalance *TreasuryRebalanceSession) Newbies(arg0 *big.Int) (struct{ ... }, error)
- func (_TreasuryRebalance *TreasuryRebalanceSession) Owner() (common.Address, error)
- func (_TreasuryRebalance *TreasuryRebalanceSession) RebalanceBlockNumber() (*big.Int, error)
- func (_TreasuryRebalance *TreasuryRebalanceSession) RegisterNewbie(_newbieAddress common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_TreasuryRebalance *TreasuryRebalanceSession) RegisterRetired(_retiredAddress common.Address) (*types.Transaction, error)
- func (_TreasuryRebalance *TreasuryRebalanceSession) RemoveNewbie(_newbieAddress common.Address) (*types.Transaction, error)
- func (_TreasuryRebalance *TreasuryRebalanceSession) RemoveRetired(_retiredAddress common.Address) (*types.Transaction, error)
- func (_TreasuryRebalance *TreasuryRebalanceSession) RenounceOwnership() (*types.Transaction, error)
- func (_TreasuryRebalance *TreasuryRebalanceSession) Reset() (*types.Transaction, error)
- func (_TreasuryRebalance *TreasuryRebalanceSession) RetiredExists(_retiredAddress common.Address) (bool, error)
- func (_TreasuryRebalance *TreasuryRebalanceSession) Retirees(arg0 *big.Int) (common.Address, error)
- func (_TreasuryRebalance *TreasuryRebalanceSession) Status() (uint8, error)
- func (_TreasuryRebalance *TreasuryRebalanceSession) SumOfRetiredBalance() (*big.Int, error)
- func (_TreasuryRebalance *TreasuryRebalanceSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- type TreasuryRebalanceStatusChanged
- type TreasuryRebalanceStatusChangedIterator
- type TreasuryRebalanceTransactor
- func (_TreasuryRebalance *TreasuryRebalanceTransactor) Approve(opts *bind.TransactOpts, _retiredAddress common.Address) (*types.Transaction, error)
- func (_TreasuryRebalance *TreasuryRebalanceTransactor) Fallback(opts *bind.TransactOpts, calldata []byte) (*types.Transaction, error)
- func (_TreasuryRebalance *TreasuryRebalanceTransactor) FinalizeApproval(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_TreasuryRebalance *TreasuryRebalanceTransactor) FinalizeContract(opts *bind.TransactOpts, _memo string) (*types.Transaction, error)
- func (_TreasuryRebalance *TreasuryRebalanceTransactor) FinalizeRegistration(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_TreasuryRebalance *TreasuryRebalanceTransactor) RegisterNewbie(opts *bind.TransactOpts, _newbieAddress common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_TreasuryRebalance *TreasuryRebalanceTransactor) RegisterRetired(opts *bind.TransactOpts, _retiredAddress common.Address) (*types.Transaction, error)
- func (_TreasuryRebalance *TreasuryRebalanceTransactor) RemoveNewbie(opts *bind.TransactOpts, _newbieAddress common.Address) (*types.Transaction, error)
- func (_TreasuryRebalance *TreasuryRebalanceTransactor) RemoveRetired(opts *bind.TransactOpts, _retiredAddress common.Address) (*types.Transaction, error)
- func (_TreasuryRebalance *TreasuryRebalanceTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_TreasuryRebalance *TreasuryRebalanceTransactor) Reset(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_TreasuryRebalance *TreasuryRebalanceTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- type TreasuryRebalanceTransactorRaw
- type TreasuryRebalanceTransactorSession
- func (_TreasuryRebalance *TreasuryRebalanceTransactorSession) Approve(_retiredAddress common.Address) (*types.Transaction, error)
- func (_TreasuryRebalance *TreasuryRebalanceTransactorSession) Fallback(calldata []byte) (*types.Transaction, error)
- func (_TreasuryRebalance *TreasuryRebalanceTransactorSession) FinalizeApproval() (*types.Transaction, error)
- func (_TreasuryRebalance *TreasuryRebalanceTransactorSession) FinalizeContract(_memo string) (*types.Transaction, error)
- func (_TreasuryRebalance *TreasuryRebalanceTransactorSession) FinalizeRegistration() (*types.Transaction, error)
- func (_TreasuryRebalance *TreasuryRebalanceTransactorSession) RegisterNewbie(_newbieAddress common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_TreasuryRebalance *TreasuryRebalanceTransactorSession) RegisterRetired(_retiredAddress common.Address) (*types.Transaction, error)
- func (_TreasuryRebalance *TreasuryRebalanceTransactorSession) RemoveNewbie(_newbieAddress common.Address) (*types.Transaction, error)
- func (_TreasuryRebalance *TreasuryRebalanceTransactorSession) RemoveRetired(_retiredAddress common.Address) (*types.Transaction, error)
- func (_TreasuryRebalance *TreasuryRebalanceTransactorSession) RenounceOwnership() (*types.Transaction, error)
- func (_TreasuryRebalance *TreasuryRebalanceTransactorSession) Reset() (*types.Transaction, error)
- func (_TreasuryRebalance *TreasuryRebalanceTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
Constants ¶
const IRetiredContractBinRuntime = ``
IRetiredContractBinRuntime is the compiled bytecode used for adding genesis block without deploying code.
const ITreasuryRebalanceBinRuntime = ``
ITreasuryRebalanceBinRuntime is the compiled bytecode used for adding genesis block without deploying code.
const OwnableBinRuntime = `` /* 1474-byte string literal not displayed */
OwnableBinRuntime is the compiled bytecode used for adding genesis block without deploying code.
const TreasuryRebalanceBinRuntime = `` /* 19004-byte string literal not displayed */
TreasuryRebalanceBinRuntime is the compiled bytecode used for adding genesis block without deploying code.
Variables ¶
var IRetiredContractABI = IRetiredContractMetaData.ABI
IRetiredContractABI is the input ABI used to generate the binding from. Deprecated: Use IRetiredContractMetaData.ABI instead.
var IRetiredContractFuncSigs = IRetiredContractMetaData.Sigs
IRetiredContractFuncSigs maps the 4-byte function signature to its string representation. Deprecated: Use IRetiredContractMetaData.Sigs instead.
var IRetiredContractMetaData = &bind.MetaData{ ABI: "[{\"inputs\":[],\"name\":\"getState\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"adminList\",\"type\":\"address[]\"},{\"internalType\":\"uint256\",\"name\":\"quorom\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]", Sigs: map[string]string{ "1865c57d": "getState()", }, }
IRetiredContractMetaData contains all meta data concerning the IRetiredContract contract.
var ITreasuryRebalanceABI = ITreasuryRebalanceMetaData.ABI
ITreasuryRebalanceABI is the input ABI used to generate the binding from. Deprecated: Use ITreasuryRebalanceMetaData.ABI instead.
var ITreasuryRebalanceFuncSigs = ITreasuryRebalanceMetaData.Sigs
ITreasuryRebalanceFuncSigs maps the 4-byte function signature to its string representation. Deprecated: Use ITreasuryRebalanceMetaData.Sigs instead.
var ITreasuryRebalanceMetaData = &bind.MetaData{ ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"retired\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"approver\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"approversCount\",\"type\":\"uint256\"}],\"name\":\"Approved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"enumITreasuryRebalance.Status\",\"name\":\"status\",\"type\":\"uint8\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"rebalanceBlockNumber\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"deployedBlockNumber\",\"type\":\"uint256\"}],\"name\":\"ContractDeployed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"memo\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"enumITreasuryRebalance.Status\",\"name\":\"status\",\"type\":\"uint8\"}],\"name\":\"Finalized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newbie\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"fundAllocation\",\"type\":\"uint256\"}],\"name\":\"NewbieRegistered\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newbie\",\"type\":\"address\"}],\"name\":\"NewbieRemoved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"retired\",\"type\":\"address\"}],\"name\":\"RetiredRegistered\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"retired\",\"type\":\"address\"}],\"name\":\"RetiredRemoved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"enumITreasuryRebalance.Status\",\"name\":\"status\",\"type\":\"uint8\"}],\"name\":\"StatusChanged\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"retiredAddress\",\"type\":\"address\"}],\"name\":\"approve\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"checkRetiredsApproved\",\"outputs\":[],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"finalizeApproval\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"memo\",\"type\":\"string\"}],\"name\":\"finalizeContract\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"finalizeRegistration\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newbieAddress\",\"type\":\"address\"}],\"name\":\"getNewbie\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getNewbieCount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"retiredAddress\",\"type\":\"address\"}],\"name\":\"getRetired\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address[]\",\"name\":\"\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getRetiredCount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getTreasuryAmount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"treasuryAmount\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"memo\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"rebalanceBlockNumber\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newbieAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"registerNewbie\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"retiredAddress\",\"type\":\"address\"}],\"name\":\"registerRetired\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newbieAddress\",\"type\":\"address\"}],\"name\":\"removeNewbie\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"retiredAddress\",\"type\":\"address\"}],\"name\":\"removeRetired\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"reset\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"status\",\"outputs\":[{\"internalType\":\"enumITreasuryRebalance.Status\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"sumOfRetiredBalance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"retireesBalance\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]", Sigs: map[string]string{ "daea85c5": "approve(address)", "966e0794": "checkRetiredsApproved()", "faaf9ca6": "finalizeApproval()", "ea6d4a9b": "finalizeContract(string)", "48409096": "finalizeRegistration()", "eb5a8e55": "getNewbie(address)", "91734d86": "getNewbieCount()", "bf680590": "getRetired(address)", "d1ed33fc": "getRetiredCount()", "e20fcf00": "getTreasuryAmount()", "58c3b870": "memo()", "49a3fb45": "rebalanceBlockNumber()", "652e27e0": "registerNewbie(address,uint256)", "1f8c1798": "registerRetired(address)", "6864b95b": "removeNewbie(address)", "1c1dac59": "removeRetired(address)", "d826f88f": "reset()", "200d2ed2": "status()", "45205a6b": "sumOfRetiredBalance()", }, }
ITreasuryRebalanceMetaData contains all meta data concerning the ITreasuryRebalance contract.
var OwnableABI = OwnableMetaData.ABI
OwnableABI is the input ABI used to generate the binding from. Deprecated: Use OwnableMetaData.ABI instead.
var OwnableBin = OwnableMetaData.Bin
OwnableBin is the compiled bytecode used for deploying new contracts. Deprecated: Use OwnableMetaData.Bin instead.
var OwnableFuncSigs = OwnableMetaData.Sigs
OwnableFuncSigs maps the 4-byte function signature to its string representation. Deprecated: Use OwnableMetaData.Sigs instead.
var OwnableMetaData = &bind.MetaData{ ABI: "[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"isOwner\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]", Sigs: map[string]string{ "8f32d59b": "isOwner()", "8da5cb5b": "owner()", "715018a6": "renounceOwnership()", "f2fde38b": "transferOwnership(address)", }, Bin: "0x608060405234801561001057600080fd5b50600080546001600160a01b0319163390811782556040519091907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a36102e18061005f6000396000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c8063715018a6146100515780638da5cb5b1461005b5780638f32d59b1461007b578063f2fde38b14610099575b600080fd5b6100596100ac565b005b6000546040516001600160a01b0390911681526020015b60405180910390f35b6000546001600160a01b031633146040519015158152602001610072565b6100596100a736600461027b565b610155565b6000546001600160a01b0316331461010b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031633146101af5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610102565b6101b8816101bb565b50565b6001600160a01b0381166102205760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610102565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b60006020828403121561028d57600080fd5b81356001600160a01b03811681146102a457600080fd5b939250505056fea2646970667358221220899e1d3dc17bc702dc30caad014b162e5ba6f962c1b0bb4b15c82fb686ea72e264736f6c634300080a0033", }
OwnableMetaData contains all meta data concerning the Ownable contract.
var TreasuryRebalanceABI = TreasuryRebalanceMetaData.ABI
TreasuryRebalanceABI is the input ABI used to generate the binding from. Deprecated: Use TreasuryRebalanceMetaData.ABI instead.
var TreasuryRebalanceBin = TreasuryRebalanceMetaData.Bin
TreasuryRebalanceBin is the compiled bytecode used for deploying new contracts. Deprecated: Use TreasuryRebalanceMetaData.Bin instead.
var TreasuryRebalanceFuncSigs = TreasuryRebalanceMetaData.Sigs
TreasuryRebalanceFuncSigs maps the 4-byte function signature to its string representation. Deprecated: Use TreasuryRebalanceMetaData.Sigs instead.
var TreasuryRebalanceMetaData = &bind.MetaData{ ABI: "[{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_rebalanceBlockNumber\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"retired\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"approver\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"approversCount\",\"type\":\"uint256\"}],\"name\":\"Approved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"enumITreasuryRebalance.Status\",\"name\":\"status\",\"type\":\"uint8\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"rebalanceBlockNumber\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"deployedBlockNumber\",\"type\":\"uint256\"}],\"name\":\"ContractDeployed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"memo\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"enumITreasuryRebalance.Status\",\"name\":\"status\",\"type\":\"uint8\"}],\"name\":\"Finalized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newbie\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"fundAllocation\",\"type\":\"uint256\"}],\"name\":\"NewbieRegistered\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newbie\",\"type\":\"address\"}],\"name\":\"NewbieRemoved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"retired\",\"type\":\"address\"}],\"name\":\"RetiredRegistered\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"retired\",\"type\":\"address\"}],\"name\":\"RetiredRemoved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"enumITreasuryRebalance.Status\",\"name\":\"status\",\"type\":\"uint8\"}],\"name\":\"StatusChanged\",\"type\":\"event\"},{\"stateMutability\":\"payable\",\"type\":\"fallback\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_retiredAddress\",\"type\":\"address\"}],\"name\":\"approve\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"checkRetiredsApproved\",\"outputs\":[],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"finalizeApproval\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_memo\",\"type\":\"string\"}],\"name\":\"finalizeContract\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"finalizeRegistration\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_newbieAddress\",\"type\":\"address\"}],\"name\":\"getNewbie\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getNewbieCount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_newbieAddress\",\"type\":\"address\"}],\"name\":\"getNewbieIndex\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_retiredAddress\",\"type\":\"address\"}],\"name\":\"getRetired\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address[]\",\"name\":\"\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getRetiredCount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_retiredAddress\",\"type\":\"address\"}],\"name\":\"getRetiredIndex\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getTreasuryAmount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"treasuryAmount\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_addr\",\"type\":\"address\"}],\"name\":\"isContractAddr\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"isOwner\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"memo\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_newbieAddress\",\"type\":\"address\"}],\"name\":\"newbieExists\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"newbies\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"newbie\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"rebalanceBlockNumber\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_newbieAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"registerNewbie\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_retiredAddress\",\"type\":\"address\"}],\"name\":\"registerRetired\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_newbieAddress\",\"type\":\"address\"}],\"name\":\"removeNewbie\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_retiredAddress\",\"type\":\"address\"}],\"name\":\"removeRetired\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"reset\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_retiredAddress\",\"type\":\"address\"}],\"name\":\"retiredExists\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"retirees\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"retired\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"status\",\"outputs\":[{\"internalType\":\"enumITreasuryRebalance.Status\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"sumOfRetiredBalance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"retireesBalance\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]", Sigs: map[string]string{ "daea85c5": "approve(address)", "966e0794": "checkRetiredsApproved()", "faaf9ca6": "finalizeApproval()", "ea6d4a9b": "finalizeContract(string)", "48409096": "finalizeRegistration()", "eb5a8e55": "getNewbie(address)", "91734d86": "getNewbieCount()", "11f5c466": "getNewbieIndex(address)", "bf680590": "getRetired(address)", "d1ed33fc": "getRetiredCount()", "681f6e7c": "getRetiredIndex(address)", "e20fcf00": "getTreasuryAmount()", "e2384cb3": "isContractAddr(address)", "8f32d59b": "isOwner()", "58c3b870": "memo()", "683e13cb": "newbieExists(address)", "94393e11": "newbies(uint256)", "8da5cb5b": "owner()", "49a3fb45": "rebalanceBlockNumber()", "652e27e0": "registerNewbie(address,uint256)", "1f8c1798": "registerRetired(address)", "6864b95b": "removeNewbie(address)", "1c1dac59": "removeRetired(address)", "715018a6": "renounceOwnership()", "d826f88f": "reset()", "01784e05": "retiredExists(address)", "5a12667b": "retirees(uint256)", "200d2ed2": "status()", "45205a6b": "sumOfRetiredBalance()", "f2fde38b": "transferOwnership(address)", }, Bin: "0x60806040523480156200001157600080fd5b5060405162002647380380620026478339810160408190526200003491620000c8565b600080546001600160a01b0319163390811782556040519091907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a360048190556003805460ff191690556040517f6f182006c5a12fe70c0728eedb2d1b0628c41483ca6721c606707d778d22ed0a90620000b99060009084904290620000e2565b60405180910390a15062000119565b600060208284031215620000db57600080fd5b5051919050565b60608101600485106200010557634e487b7160e01b600052602160045260246000fd5b938152602081019290925260409091015290565b61251e80620001296000396000f3fe6080604052600436106101cd5760003560e01c80638da5cb5b116100f7578063d826f88f11610095578063ea6d4a9b11610064578063ea6d4a9b1461057d578063eb5a8e551461059d578063f2fde38b146105bd578063faaf9ca6146105dd576101cd565b8063d826f88f14610512578063daea85c514610527578063e20fcf0014610547578063e2384cb31461055c576101cd565b806394393e11116100d157806394393e111461047b578063966e0794146104ba578063bf680590146104cf578063d1ed33fc146104fd576101cd565b80638da5cb5b146104285780638f32d59b1461044657806391734d8614610466576101cd565b806349a3fb451161016f578063681f6e7c1161013e578063681f6e7c146103b3578063683e13cb146103d35780636864b95b146103f3578063715018a614610413576101cd565b806349a3fb451461032357806358c3b870146103395780635a12667b1461035b578063652e27e014610393576101cd565b80631f8c1798116101ab5780631f8c1798146102b2578063200d2ed2146102d257806345205a6b146102f9578063484090961461030e576101cd565b806301784e051461022d57806311f5c466146102625780631c1dac5914610290575b60405162461bcd60e51b815260206004820152602a60248201527f5468697320636f6e747261637420646f6573206e6f742061636365707420616e60448201526979207061796d656e747360b01b60648201526084015b60405180910390fd5b34801561023957600080fd5b5061024d610248366004611f94565b6105f2565b60405190151581526020015b60405180910390f35b34801561026e57600080fd5b5061028261027d366004611f94565b6106a7565b604051908152602001610259565b34801561029c57600080fd5b506102b06102ab366004611f94565b610714565b005b3480156102be57600080fd5b506102b06102cd366004611f94565b6108b3565b3480156102de57600080fd5b506003546102ec9060ff1681565b6040516102599190611ff0565b34801561030557600080fd5b506102826109f8565b34801561031a57600080fd5b506102b0610a56565b34801561032f57600080fd5b5061028260045481565b34801561034557600080fd5b5061034e610b0d565b6040516102599190612004565b34801561036757600080fd5b5061037b610376366004612059565b610b9b565b6040516001600160a01b039091168152602001610259565b34801561039f57600080fd5b506102b06103ae366004612072565b610bca565b3480156103bf57600080fd5b506102826103ce366004611f94565b610db0565b3480156103df57600080fd5b5061024d6103ee366004611f94565b610e13565b3480156103ff57600080fd5b506102b061040e366004611f94565b610ec2565b34801561041f57600080fd5b506102b061106c565b34801561043457600080fd5b506000546001600160a01b031661037b565b34801561045257600080fd5b506000546001600160a01b0316331461024d565b34801561047257600080fd5b50600254610282565b34801561048757600080fd5b5061049b610496366004612059565b6110e0565b604080516001600160a01b039093168352602083019190915201610259565b3480156104c657600080fd5b506102b0611118565b3480156104db57600080fd5b506104ef6104ea366004611f94565b6112fc565b60405161025992919061209e565b34801561050957600080fd5b50600154610282565b34801561051e57600080fd5b506102b06113e4565b34801561053357600080fd5b506102b0610542366004611f94565b6114c3565b34801561055357600080fd5b506102826116a8565b34801561056857600080fd5b5061024d610577366004611f94565b3b151590565b34801561058957600080fd5b506102b0610598366004612141565b6116fa565b3480156105a957600080fd5b5061049b6105b8366004611f94565b611829565b3480156105c957600080fd5b506102b06105d8366004611f94565b6118da565b3480156105e957600080fd5b506102b061190d565b60006001600160a01b03821661063c5760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b6044820152606401610224565b60005b6001548110156106a157826001600160a01b031660018281548110610666576106666121d6565b60009182526020909120600290910201546001600160a01b0316141561068f5750600192915050565b8061069981612202565b91505061063f565b50919050565b6000805b60025481101561070a57826001600160a01b0316600282815481106106d2576106d26121d6565b60009182526020909120600290910201546001600160a01b031614156106f85792915050565b8061070281612202565b9150506106ab565b5060001992915050565b6000546001600160a01b0316331461073e5760405162461bcd60e51b81526004016102249061221d565b6000806003805460ff169081111561075857610758611fb8565b146107755760405162461bcd60e51b815260040161022490612252565b600061078083610db0565b90506000198114156107a45760405162461bcd60e51b815260040161022490612289565b600180546107b39082906122b9565b815481106107c3576107c36121d6565b9060005260206000209060020201600182815481106107e4576107e46121d6565b60009182526020909120825460029092020180546001600160a01b0319166001600160a01b03909216919091178155600180830180546108279284019190611dbc565b50905050600180548061083c5761083c6122d0565b60008281526020812060026000199093019283020180546001600160a01b03191681559061086d6001830182611e08565b505090556040516001600160a01b03841681527f1f46b11b62ae5cc6363d0d5c2e597c4cb8849543d9126353adb73c5d7215e237906020015b60405180910390a1505050565b6000546001600160a01b031633146108dd5760405162461bcd60e51b81526004016102249061221d565b6000806003805460ff16908111156108f7576108f7611fb8565b146109145760405162461bcd60e51b815260040161022490612252565b61091d826105f2565b156109785760405162461bcd60e51b815260206004820152602560248201527f52657469726564206164647265737320697320616c72656164792072656769736044820152641d195c995960da1b6064820152608401610224565b6001805480820182556000919091526002027fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf60180546001600160a01b0384166001600160a01b0319909116811782556040519081527f7da2e87d0b02df1162d5736cc40dfcfffd17198aaf093ddff4a8f4eb26002fde906020016108a6565b6000805b600154811015610a525760018181548110610a1957610a196121d6565b6000918252602090912060029091020154610a3e906001600160a01b031631836122e6565b915080610a4a81612202565b9150506109fc565b5090565b6000546001600160a01b03163314610a805760405162461bcd60e51b81526004016102249061221d565b6000806003805460ff1690811115610a9a57610a9a611fb8565b14610ab75760405162461bcd60e51b815260040161022490612252565b600380546001919060ff191682805b02179055506003546040517fafa725e7f44cadb687a7043853fa1a7e7b8f0da74ce87ec546e9420f04da8c1e91610b029160ff90911690611ff0565b60405180910390a150565b60058054610b1a906122fe565b80601f0160208091040260200160405190810160405280929190818152602001828054610b46906122fe565b8015610b935780601f10610b6857610100808354040283529160200191610b93565b820191906000526020600020905b815481529060010190602001808311610b7657829003601f168201915b505050505081565b60018181548110610bab57600080fd5b60009182526020909120600290910201546001600160a01b0316905081565b6000546001600160a01b03163314610bf45760405162461bcd60e51b81526004016102249061221d565b6000806003805460ff1690811115610c0e57610c0e611fb8565b14610c2b5760405162461bcd60e51b815260040161022490612252565b610c3483610e13565b15610c8d5760405162461bcd60e51b8152602060048201526024808201527f4e6577626965206164647265737320697320616c726561647920726567697374604482015263195c995960e21b6064820152608401610224565b81610cda5760405162461bcd60e51b815260206004820152601960248201527f416d6f756e742063616e6e6f742062652073657420746f2030000000000000006044820152606401610224565b6040805180820182526001600160a01b038581168083526020808401878152600280546001810182556000829052865191027f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace81018054929096166001600160a01b031990921691909117909455517f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5acf90930192909255835190815290810185905290917fd261b37cd56b21cd1af841dca6331a133e5d8b9d55c2c6fe0ec822e2a303ef7491015b60405180910390a150505050565b6000805b60015481101561070a57826001600160a01b031660018281548110610ddb57610ddb6121d6565b60009182526020909120600290910201546001600160a01b03161415610e015792915050565b80610e0b81612202565b915050610db4565b60006001600160a01b038216610e5d5760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b6044820152606401610224565b60005b6002548110156106a157826001600160a01b031660028281548110610e8757610e876121d6565b60009182526020909120600290910201546001600160a01b03161415610eb05750600192915050565b80610eba81612202565b915050610e60565b6000546001600160a01b03163314610eec5760405162461bcd60e51b81526004016102249061221d565b6000806003805460ff1690811115610f0657610f06611fb8565b14610f235760405162461bcd60e51b815260040161022490612252565b6000610f2e836106a7565b9050600019811415610f7a5760405162461bcd60e51b815260206004820152601560248201527413995dd89a59481b9bdd081c9959da5cdd195c9959605a1b6044820152606401610224565b60028054610f8a906001906122b9565b81548110610f9a57610f9a6121d6565b906000526020600020906002020160028281548110610fbb57610fbb6121d6565b600091825260209091208254600292830290910180546001600160a01b0319166001600160a01b03909216919091178155600192830154920191909155805480611007576110076122d0565b600082815260208082206002600019949094019384020180546001600160a01b03191681556001019190915591556040516001600160a01b03851681527fe630072edaed8f0fccf534c7eaa063290db8f775b0824c7261d01e6619da4b3891016108a6565b6000546001600160a01b031633146110965760405162461bcd60e51b81526004016102249061221d565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b600281815481106110f057600080fd5b6000918252602090912060029091020180546001909101546001600160a01b03909116915082565b60005b6001548110156112f95760006001828154811061113a5761113a6121d6565b6000918252602091829020604080518082018252600290930290910180546001600160a01b031683526001810180548351818702810187019094528084529394919385830193928301828280156111ba57602002820191906000526020600020905b81546001600160a01b0316815260019091019060200180831161119c575b505050505081525050905060006111d582600001513b151590565b9050801561129a576000806111ed8460000151611a21565b915091508084602001515110156112165760405162461bcd60e51b815260040161022490612333565b60208401516000805b82518110156112705761124b83828151811061123d5761123d6121d6565b602002602001015186611a9a565b1561125e578161125a81612202565b9250505b8061126881612202565b91505061121f565b50828110156112915760405162461bcd60e51b815260040161022490612333565b505050506112e4565b8160200151516001146112e45760405162461bcd60e51b8152602060048201526012602482015271454f412073686f756c6420617070726f766560701b6044820152606401610224565b505080806112f190612202565b91505061111b565b50565b60006060600061130b84610db0565b905060001981141561132f5760405162461bcd60e51b815260040161022490612289565b600060018281548110611344576113446121d6565b6000918252602091829020604080518082018252600290930290910180546001600160a01b031683526001810180548351818702810187019094528084529394919385830193928301828280156113c457602002820191906000526020600020905b81546001600160a01b031681526001909101906020018083116113a6575b505050505081525050905080600001518160200151935093505050915091565b6000546001600160a01b0316331461140e5760405162461bcd60e51b81526004016102249061221d565b6003805460ff168181111561142557611425611fb8565b14158015611434575060045443105b6114935760405162461bcd60e51b815260206004820152602a60248201527f436f6e74726163742069732066696e616c697a65642c2063616e6e6f742072656044820152697365742076616c75657360b01b6064820152608401610224565b61149f60016000611e26565b6114ab60026000611e47565b6114b760056000611e68565b6003805460ff19169055565b6001806003805460ff16908111156114dd576114dd611fb8565b146114fa5760405162461bcd60e51b815260040161022490612252565b611503826105f2565b6115665760405162461bcd60e51b815260206004820152602e60248201527f72657469726564206e6565647320746f2062652072656769737465726564206260448201526d19599bdc9948185c1c1c9bdd985b60921b6064820152608401610224565b813b1515806115e257336001600160a01b038416146115d35760405162461bcd60e51b8152602060048201526024808201527f7265746972656441646472657373206973206e6f7420746865206d73672e7365604482015263373232b960e11b6064820152608401610224565b6115dd8333611af8565b505050565b60006115ed84611a21565b5090508051600014156116425760405162461bcd60e51b815260206004820152601a60248201527f61646d696e206c6973742063616e6e6f7420626520656d7074790000000000006044820152606401610224565b61164c3382611a9a565b6116985760405162461bcd60e51b815260206004820152601b60248201527f6d73672e73656e646572206973206e6f74207468652061646d696e00000000006044820152606401610224565b6116a28433611af8565b50505050565b6000805b600254811015610a5257600281815481106116c9576116c96121d6565b906000526020600020906002020160010154826116e691906122e6565b9150806116f281612202565b9150506116ac565b6000546001600160a01b031633146117245760405162461bcd60e51b81526004016102249061221d565b6002806003805460ff169081111561173e5761173e611fb8565b1461175b5760405162461bcd60e51b815260040161022490612252565b815161176e906005906020850190611ea2565b506003805460ff1916811781556040517f8f8636c7757ca9b7d154e1d44ca90d8e8c885b9eac417c59bbf8eb7779ca6404916117ad9160059190612375565b60405180910390a160045443116118255760405162461bcd60e51b815260206004820152603660248201527f436f6e74726163742063616e206f6e6c792066696e616c697a6520616674657260448201527520657865637574696e6720726562616c616e63696e6760501b6064820152608401610224565b5050565b6000806000611837846106a7565b90506000198114156118835760405162461bcd60e51b815260206004820152601560248201527413995dd89a59481b9bdd081c9959da5cdd195c9959605a1b6044820152606401610224565b600060028281548110611898576118986121d6565b60009182526020918290206040805180820190915260029092020180546001600160a01b03168083526001909101549190920181905290969095509350505050565b6000546001600160a01b031633146119045760405162461bcd60e51b81526004016102249061221d565b6112f981611cfc565b6000546001600160a01b031633146119375760405162461bcd60e51b81526004016102249061221d565b6001806003805460ff169081111561195157611951611fb8565b1461196e5760405162461bcd60e51b815260040161022490612252565b6119766109f8565b61197e6116a8565b10611a055760405162461bcd60e51b815260206004820152604b60248201527f747265617375727920616d6f756e742073686f756c64206265206c657373207460448201527f68616e207468652073756d206f6620616c6c207265746972656420616464726560648201526a73732062616c616e63657360a81b608482015260a401610224565b611a0d611118565b600380546002919060ff1916600183610ac6565b6060600080839050806001600160a01b0316631865c57d6040518163ffffffff1660e01b8152600401600060405180830381865afa158015611a67573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611a8f919081019061242e565b909590945092505050565b6000805b8251811015611af157828181518110611ab957611ab96121d6565b60200260200101516001600160a01b0316846001600160a01b03161415611adf57600191505b80611ae981612202565b915050611a9e565b5092915050565b6000611b0383610db0565b9050600019811415611b275760405162461bcd60e51b815260040161022490612289565b600060018281548110611b3c57611b3c6121d6565b9060005260206000209060020201600101805480602002602001604051908101604052809291908181526020018280548015611ba157602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311611b83575b5050505050905060005b8151811015611c3457836001600160a01b0316828281518110611bd057611bd06121d6565b60200260200101516001600160a01b03161415611c225760405162461bcd60e51b815260206004820152601060248201526f105b1c9958591e48185c1c1c9bdd995960821b6044820152606401610224565b80611c2c81612202565b915050611bab565b5060018281548110611c4857611c486121d6565b600091825260208083206001600290930201820180548084018255908452922090910180546001600160a01b0386166001600160a01b031990911617905580547f80da462ebfbe41cfc9bc015e7a9a3c7a2a73dbccede72d8ceb583606c27f8f9091869186919086908110611cbf57611cbf6121d6565b600091825260209182902060016002909202010154604080516001600160a01b039586168152949093169184019190915290820152606001610da2565b6001600160a01b038116611d615760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610224565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b828054828255906000526020600020908101928215611dfc5760005260206000209182015b82811115611dfc578254825591600101919060010190611de1565b50610a52929150611f16565b50805460008255906000526020600020908101906112f99190611f16565b50805460008255600202906000526020600020908101906112f99190611f2b565b50805460008255600202906000526020600020908101906112f99190611f59565b508054611e74906122fe565b6000825580601f10611e84575050565b601f0160209004906000526020600020908101906112f99190611f16565b828054611eae906122fe565b90600052602060002090601f016020900481019282611ed05760008555611dfc565b82601f10611ee957805160ff1916838001178555611dfc565b82800160010185558215611dfc579182015b82811115611dfc578251825591602001919060010190611efb565b5b80821115610a525760008155600101611f17565b80821115610a525780546001600160a01b03191681556000611f506001830182611e08565b50600201611f2b565b5b80821115610a525780546001600160a01b031916815560006001820155600201611f5a565b6001600160a01b03811681146112f957600080fd5b600060208284031215611fa657600080fd5b8135611fb181611f7f565b9392505050565b634e487b7160e01b600052602160045260246000fd5b60048110611fec57634e487b7160e01b600052602160045260246000fd5b9052565b60208101611ffe8284611fce565b92915050565b600060208083528351808285015260005b8181101561203157858101830151858201604001528201612015565b81811115612043576000604083870101525b50601f01601f1916929092016040019392505050565b60006020828403121561206b57600080fd5b5035919050565b6000806040838503121561208557600080fd5b823561209081611f7f565b946020939093013593505050565b6001600160a01b038381168252604060208084018290528451918401829052600092858201929091906060860190855b818110156120ec5785518516835294830194918301916001016120ce565b509098975050505050505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715612139576121396120fa565b604052919050565b6000602080838503121561215457600080fd5b823567ffffffffffffffff8082111561216c57600080fd5b818501915085601f83011261218057600080fd5b813581811115612192576121926120fa565b6121a4601f8201601f19168501612110565b915080825286848285010111156121ba57600080fd5b8084840185840137600090820190930192909252509392505050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000600019821415612216576122166121ec565b5060010190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252601c908201527f4e6f7420696e207468652064657369676e617465642073746174757300000000604082015260600190565b60208082526016908201527514995d1a5c9959081b9bdd081c9959da5cdd195c995960521b604082015260600190565b6000828210156122cb576122cb6121ec565b500390565b634e487b7160e01b600052603160045260246000fd5b600082198211156122f9576122f96121ec565b500190565b600181811c9082168061231257607f821691505b602082108114156106a157634e487b7160e01b600052602260045260246000fd5b60208082526022908201527f6d696e2072657175697265642061646d696e732073686f756c6420617070726f604082015261766560f01b606082015260800190565b60408152600080845481600182811c91508083168061239557607f831692505b60208084108214156123b557634e487b7160e01b86526022600452602486fd5b60408801849052606088018280156123d457600181146123e557612410565b60ff19871682528282019750612410565b60008c81526020902060005b8781101561240a578154848201529086019084016123f1565b83019850505b50508596506124218189018a611fce565b5050505050509392505050565b6000806040838503121561244157600080fd5b825167ffffffffffffffff8082111561245957600080fd5b818501915085601f83011261246d57600080fd5b8151602082821115612481576124816120fa565b8160051b9250612492818401612110565b82815292840181019281810190898511156124ac57600080fd5b948201945b848610156124d657855193506124c684611f7f565b83825294820194908201906124b1565b9790910151969896975050505050505056fea26469706673582212207926927e143232a6a5d27422a57ff7d1dc606697326e55f6563acd9ea12639cd64736f6c634300080a0033", }
TreasuryRebalanceMetaData contains all meta data concerning the TreasuryRebalance contract.
Functions ¶
This section is empty.
Types ¶
type IRetiredContract ¶
type IRetiredContract struct { IRetiredContractCaller // Read-only binding to the contract IRetiredContractTransactor // Write-only binding to the contract IRetiredContractFilterer // Log filterer for contract events }
IRetiredContract is an auto generated Go binding around a Klaytn contract.
func NewIRetiredContract ¶
func NewIRetiredContract(address common.Address, backend bind.ContractBackend) (*IRetiredContract, error)
NewIRetiredContract creates a new instance of IRetiredContract, bound to a specific deployed contract.
type IRetiredContractCaller ¶
type IRetiredContractCaller struct {
// contains filtered or unexported fields
}
IRetiredContractCaller is an auto generated read-only Go binding around a Klaytn contract.
func NewIRetiredContractCaller ¶
func NewIRetiredContractCaller(address common.Address, caller bind.ContractCaller) (*IRetiredContractCaller, error)
NewIRetiredContractCaller creates a new read-only instance of IRetiredContract, bound to a specific deployed contract.
func (*IRetiredContractCaller) GetState ¶
func (_IRetiredContract *IRetiredContractCaller) GetState(opts *bind.CallOpts) (struct { AdminList []common.Address Quorom *big.Int }, error)
GetState is a free data retrieval call binding the contract method 0x1865c57d.
Solidity: function getState() view returns(address[] adminList, uint256 quorom)
type IRetiredContractCallerRaw ¶
type IRetiredContractCallerRaw struct {
Contract *IRetiredContractCaller // Generic read-only contract binding to access the raw methods on
}
IRetiredContractCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract.
func (*IRetiredContractCallerRaw) Call ¶
func (_IRetiredContract *IRetiredContractCallerRaw) 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 IRetiredContractCallerSession ¶
type IRetiredContractCallerSession struct { Contract *IRetiredContractCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
IRetiredContractCallerSession is an auto generated read-only Go binding around a Klaytn contract, with pre-set call options.
func (*IRetiredContractCallerSession) GetState ¶
func (_IRetiredContract *IRetiredContractCallerSession) GetState() (struct { AdminList []common.Address Quorom *big.Int }, error)
GetState is a free data retrieval call binding the contract method 0x1865c57d.
Solidity: function getState() view returns(address[] adminList, uint256 quorom)
type IRetiredContractFilterer ¶
type IRetiredContractFilterer struct {
// contains filtered or unexported fields
}
IRetiredContractFilterer is an auto generated log filtering Go binding around a Klaytn contract events.
func NewIRetiredContractFilterer ¶
func NewIRetiredContractFilterer(address common.Address, filterer bind.ContractFilterer) (*IRetiredContractFilterer, error)
NewIRetiredContractFilterer creates a new log filterer instance of IRetiredContract, bound to a specific deployed contract.
type IRetiredContractRaw ¶
type IRetiredContractRaw struct {
Contract *IRetiredContract // Generic contract binding to access the raw methods on
}
IRetiredContractRaw is an auto generated low-level Go binding around a Klaytn contract.
func (*IRetiredContractRaw) Call ¶
func (_IRetiredContract *IRetiredContractRaw) 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 (*IRetiredContractRaw) Transact ¶
func (_IRetiredContract *IRetiredContractRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IRetiredContractRaw) Transfer ¶
func (_IRetiredContract *IRetiredContractRaw) 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 IRetiredContractSession ¶
type IRetiredContractSession struct { Contract *IRetiredContract // 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 }
IRetiredContractSession is an auto generated Go binding around a Klaytn contract, with pre-set call and transact options.
func (*IRetiredContractSession) GetState ¶
func (_IRetiredContract *IRetiredContractSession) GetState() (struct { AdminList []common.Address Quorom *big.Int }, error)
GetState is a free data retrieval call binding the contract method 0x1865c57d.
Solidity: function getState() view returns(address[] adminList, uint256 quorom)
type IRetiredContractTransactor ¶
type IRetiredContractTransactor struct {
// contains filtered or unexported fields
}
IRetiredContractTransactor is an auto generated write-only Go binding around a Klaytn contract.
func NewIRetiredContractTransactor ¶
func NewIRetiredContractTransactor(address common.Address, transactor bind.ContractTransactor) (*IRetiredContractTransactor, error)
NewIRetiredContractTransactor creates a new write-only instance of IRetiredContract, bound to a specific deployed contract.
type IRetiredContractTransactorRaw ¶
type IRetiredContractTransactorRaw struct {
Contract *IRetiredContractTransactor // Generic write-only contract binding to access the raw methods on
}
IRetiredContractTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract.
func (*IRetiredContractTransactorRaw) Transact ¶
func (_IRetiredContract *IRetiredContractTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IRetiredContractTransactorRaw) Transfer ¶
func (_IRetiredContract *IRetiredContractTransactorRaw) 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 IRetiredContractTransactorSession ¶
type IRetiredContractTransactorSession struct { Contract *IRetiredContractTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
IRetiredContractTransactorSession is an auto generated write-only Go binding around a Klaytn contract, with pre-set transact options.
type ITreasuryRebalance ¶
type ITreasuryRebalance struct { ITreasuryRebalanceCaller // Read-only binding to the contract ITreasuryRebalanceTransactor // Write-only binding to the contract ITreasuryRebalanceFilterer // Log filterer for contract events }
ITreasuryRebalance is an auto generated Go binding around a Klaytn contract.
func NewITreasuryRebalance ¶
func NewITreasuryRebalance(address common.Address, backend bind.ContractBackend) (*ITreasuryRebalance, error)
NewITreasuryRebalance creates a new instance of ITreasuryRebalance, bound to a specific deployed contract.
type ITreasuryRebalanceApproved ¶
type ITreasuryRebalanceApproved struct { Retired common.Address Approver common.Address ApproversCount *big.Int Raw types.Log // Blockchain specific contextual infos }
ITreasuryRebalanceApproved represents a Approved event raised by the ITreasuryRebalance contract.
type ITreasuryRebalanceApprovedIterator ¶
type ITreasuryRebalanceApprovedIterator struct { Event *ITreasuryRebalanceApproved // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ITreasuryRebalanceApprovedIterator is returned from FilterApproved and is used to iterate over the raw logs and unpacked data for Approved events raised by the ITreasuryRebalance contract.
func (*ITreasuryRebalanceApprovedIterator) Close ¶
func (it *ITreasuryRebalanceApprovedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ITreasuryRebalanceApprovedIterator) Error ¶
func (it *ITreasuryRebalanceApprovedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ITreasuryRebalanceApprovedIterator) Next ¶
func (it *ITreasuryRebalanceApprovedIterator) 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 ITreasuryRebalanceCaller ¶
type ITreasuryRebalanceCaller struct {
// contains filtered or unexported fields
}
ITreasuryRebalanceCaller is an auto generated read-only Go binding around a Klaytn contract.
func NewITreasuryRebalanceCaller ¶
func NewITreasuryRebalanceCaller(address common.Address, caller bind.ContractCaller) (*ITreasuryRebalanceCaller, error)
NewITreasuryRebalanceCaller creates a new read-only instance of ITreasuryRebalance, bound to a specific deployed contract.
func (*ITreasuryRebalanceCaller) CheckRetiredsApproved ¶
func (_ITreasuryRebalance *ITreasuryRebalanceCaller) CheckRetiredsApproved(opts *bind.CallOpts) error
CheckRetiredsApproved is a free data retrieval call binding the contract method 0x966e0794.
Solidity: function checkRetiredsApproved() view returns()
func (*ITreasuryRebalanceCaller) GetNewbie ¶
func (_ITreasuryRebalance *ITreasuryRebalanceCaller) GetNewbie(opts *bind.CallOpts, newbieAddress common.Address) (common.Address, *big.Int, error)
GetNewbie is a free data retrieval call binding the contract method 0xeb5a8e55.
Solidity: function getNewbie(address newbieAddress) view returns(address, uint256)
func (*ITreasuryRebalanceCaller) GetNewbieCount ¶
func (_ITreasuryRebalance *ITreasuryRebalanceCaller) GetNewbieCount(opts *bind.CallOpts) (*big.Int, error)
GetNewbieCount is a free data retrieval call binding the contract method 0x91734d86.
Solidity: function getNewbieCount() view returns(uint256)
func (*ITreasuryRebalanceCaller) GetRetired ¶
func (_ITreasuryRebalance *ITreasuryRebalanceCaller) GetRetired(opts *bind.CallOpts, retiredAddress common.Address) (common.Address, []common.Address, error)
GetRetired is a free data retrieval call binding the contract method 0xbf680590.
Solidity: function getRetired(address retiredAddress) view returns(address, address[])
func (*ITreasuryRebalanceCaller) GetRetiredCount ¶
func (_ITreasuryRebalance *ITreasuryRebalanceCaller) GetRetiredCount(opts *bind.CallOpts) (*big.Int, error)
GetRetiredCount is a free data retrieval call binding the contract method 0xd1ed33fc.
Solidity: function getRetiredCount() view returns(uint256)
func (*ITreasuryRebalanceCaller) GetTreasuryAmount ¶
func (_ITreasuryRebalance *ITreasuryRebalanceCaller) GetTreasuryAmount(opts *bind.CallOpts) (*big.Int, error)
GetTreasuryAmount is a free data retrieval call binding the contract method 0xe20fcf00.
Solidity: function getTreasuryAmount() view returns(uint256 treasuryAmount)
func (*ITreasuryRebalanceCaller) Memo ¶
func (_ITreasuryRebalance *ITreasuryRebalanceCaller) Memo(opts *bind.CallOpts) (string, error)
Memo is a free data retrieval call binding the contract method 0x58c3b870.
Solidity: function memo() view returns(string)
func (*ITreasuryRebalanceCaller) RebalanceBlockNumber ¶
func (_ITreasuryRebalance *ITreasuryRebalanceCaller) RebalanceBlockNumber(opts *bind.CallOpts) (*big.Int, error)
RebalanceBlockNumber is a free data retrieval call binding the contract method 0x49a3fb45.
Solidity: function rebalanceBlockNumber() view returns(uint256)
func (*ITreasuryRebalanceCaller) Status ¶
func (_ITreasuryRebalance *ITreasuryRebalanceCaller) Status(opts *bind.CallOpts) (uint8, error)
Status is a free data retrieval call binding the contract method 0x200d2ed2.
Solidity: function status() view returns(uint8)
func (*ITreasuryRebalanceCaller) SumOfRetiredBalance ¶
func (_ITreasuryRebalance *ITreasuryRebalanceCaller) SumOfRetiredBalance(opts *bind.CallOpts) (*big.Int, error)
SumOfRetiredBalance is a free data retrieval call binding the contract method 0x45205a6b.
Solidity: function sumOfRetiredBalance() view returns(uint256 retireesBalance)
type ITreasuryRebalanceCallerRaw ¶
type ITreasuryRebalanceCallerRaw struct {
Contract *ITreasuryRebalanceCaller // Generic read-only contract binding to access the raw methods on
}
ITreasuryRebalanceCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract.
func (*ITreasuryRebalanceCallerRaw) Call ¶
func (_ITreasuryRebalance *ITreasuryRebalanceCallerRaw) 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 ITreasuryRebalanceCallerSession ¶
type ITreasuryRebalanceCallerSession struct { Contract *ITreasuryRebalanceCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ITreasuryRebalanceCallerSession is an auto generated read-only Go binding around a Klaytn contract, with pre-set call options.
func (*ITreasuryRebalanceCallerSession) CheckRetiredsApproved ¶
func (_ITreasuryRebalance *ITreasuryRebalanceCallerSession) CheckRetiredsApproved() error
CheckRetiredsApproved is a free data retrieval call binding the contract method 0x966e0794.
Solidity: function checkRetiredsApproved() view returns()
func (*ITreasuryRebalanceCallerSession) GetNewbie ¶
func (_ITreasuryRebalance *ITreasuryRebalanceCallerSession) GetNewbie(newbieAddress common.Address) (common.Address, *big.Int, error)
GetNewbie is a free data retrieval call binding the contract method 0xeb5a8e55.
Solidity: function getNewbie(address newbieAddress) view returns(address, uint256)
func (*ITreasuryRebalanceCallerSession) GetNewbieCount ¶
func (_ITreasuryRebalance *ITreasuryRebalanceCallerSession) GetNewbieCount() (*big.Int, error)
GetNewbieCount is a free data retrieval call binding the contract method 0x91734d86.
Solidity: function getNewbieCount() view returns(uint256)
func (*ITreasuryRebalanceCallerSession) GetRetired ¶
func (_ITreasuryRebalance *ITreasuryRebalanceCallerSession) GetRetired(retiredAddress common.Address) (common.Address, []common.Address, error)
GetRetired is a free data retrieval call binding the contract method 0xbf680590.
Solidity: function getRetired(address retiredAddress) view returns(address, address[])
func (*ITreasuryRebalanceCallerSession) GetRetiredCount ¶
func (_ITreasuryRebalance *ITreasuryRebalanceCallerSession) GetRetiredCount() (*big.Int, error)
GetRetiredCount is a free data retrieval call binding the contract method 0xd1ed33fc.
Solidity: function getRetiredCount() view returns(uint256)
func (*ITreasuryRebalanceCallerSession) GetTreasuryAmount ¶
func (_ITreasuryRebalance *ITreasuryRebalanceCallerSession) GetTreasuryAmount() (*big.Int, error)
GetTreasuryAmount is a free data retrieval call binding the contract method 0xe20fcf00.
Solidity: function getTreasuryAmount() view returns(uint256 treasuryAmount)
func (*ITreasuryRebalanceCallerSession) Memo ¶
func (_ITreasuryRebalance *ITreasuryRebalanceCallerSession) Memo() (string, error)
Memo is a free data retrieval call binding the contract method 0x58c3b870.
Solidity: function memo() view returns(string)
func (*ITreasuryRebalanceCallerSession) RebalanceBlockNumber ¶
func (_ITreasuryRebalance *ITreasuryRebalanceCallerSession) RebalanceBlockNumber() (*big.Int, error)
RebalanceBlockNumber is a free data retrieval call binding the contract method 0x49a3fb45.
Solidity: function rebalanceBlockNumber() view returns(uint256)
func (*ITreasuryRebalanceCallerSession) Status ¶
func (_ITreasuryRebalance *ITreasuryRebalanceCallerSession) Status() (uint8, error)
Status is a free data retrieval call binding the contract method 0x200d2ed2.
Solidity: function status() view returns(uint8)
func (*ITreasuryRebalanceCallerSession) SumOfRetiredBalance ¶
func (_ITreasuryRebalance *ITreasuryRebalanceCallerSession) SumOfRetiredBalance() (*big.Int, error)
SumOfRetiredBalance is a free data retrieval call binding the contract method 0x45205a6b.
Solidity: function sumOfRetiredBalance() view returns(uint256 retireesBalance)
type ITreasuryRebalanceContractDeployed ¶
type ITreasuryRebalanceContractDeployed struct { Status uint8 RebalanceBlockNumber *big.Int DeployedBlockNumber *big.Int Raw types.Log // Blockchain specific contextual infos }
ITreasuryRebalanceContractDeployed represents a ContractDeployed event raised by the ITreasuryRebalance contract.
type ITreasuryRebalanceContractDeployedIterator ¶
type ITreasuryRebalanceContractDeployedIterator struct { Event *ITreasuryRebalanceContractDeployed // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ITreasuryRebalanceContractDeployedIterator is returned from FilterContractDeployed and is used to iterate over the raw logs and unpacked data for ContractDeployed events raised by the ITreasuryRebalance contract.
func (*ITreasuryRebalanceContractDeployedIterator) Close ¶
func (it *ITreasuryRebalanceContractDeployedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ITreasuryRebalanceContractDeployedIterator) Error ¶
func (it *ITreasuryRebalanceContractDeployedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ITreasuryRebalanceContractDeployedIterator) Next ¶
func (it *ITreasuryRebalanceContractDeployedIterator) 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 ITreasuryRebalanceFilterer ¶
type ITreasuryRebalanceFilterer struct {
// contains filtered or unexported fields
}
ITreasuryRebalanceFilterer is an auto generated log filtering Go binding around a Klaytn contract events.
func NewITreasuryRebalanceFilterer ¶
func NewITreasuryRebalanceFilterer(address common.Address, filterer bind.ContractFilterer) (*ITreasuryRebalanceFilterer, error)
NewITreasuryRebalanceFilterer creates a new log filterer instance of ITreasuryRebalance, bound to a specific deployed contract.
func (*ITreasuryRebalanceFilterer) FilterApproved ¶
func (_ITreasuryRebalance *ITreasuryRebalanceFilterer) FilterApproved(opts *bind.FilterOpts) (*ITreasuryRebalanceApprovedIterator, error)
FilterApproved is a free log retrieval operation binding the contract event 0x80da462ebfbe41cfc9bc015e7a9a3c7a2a73dbccede72d8ceb583606c27f8f90.
Solidity: event Approved(address retired, address approver, uint256 approversCount)
func (*ITreasuryRebalanceFilterer) FilterContractDeployed ¶
func (_ITreasuryRebalance *ITreasuryRebalanceFilterer) FilterContractDeployed(opts *bind.FilterOpts) (*ITreasuryRebalanceContractDeployedIterator, error)
FilterContractDeployed is a free log retrieval operation binding the contract event 0x6f182006c5a12fe70c0728eedb2d1b0628c41483ca6721c606707d778d22ed0a.
Solidity: event ContractDeployed(uint8 status, uint256 rebalanceBlockNumber, uint256 deployedBlockNumber)
func (*ITreasuryRebalanceFilterer) FilterFinalized ¶
func (_ITreasuryRebalance *ITreasuryRebalanceFilterer) FilterFinalized(opts *bind.FilterOpts) (*ITreasuryRebalanceFinalizedIterator, error)
FilterFinalized is a free log retrieval operation binding the contract event 0x8f8636c7757ca9b7d154e1d44ca90d8e8c885b9eac417c59bbf8eb7779ca6404.
Solidity: event Finalized(string memo, uint8 status)
func (*ITreasuryRebalanceFilterer) FilterNewbieRegistered ¶
func (_ITreasuryRebalance *ITreasuryRebalanceFilterer) FilterNewbieRegistered(opts *bind.FilterOpts) (*ITreasuryRebalanceNewbieRegisteredIterator, error)
FilterNewbieRegistered is a free log retrieval operation binding the contract event 0xd261b37cd56b21cd1af841dca6331a133e5d8b9d55c2c6fe0ec822e2a303ef74.
Solidity: event NewbieRegistered(address newbie, uint256 fundAllocation)
func (*ITreasuryRebalanceFilterer) FilterNewbieRemoved ¶
func (_ITreasuryRebalance *ITreasuryRebalanceFilterer) FilterNewbieRemoved(opts *bind.FilterOpts) (*ITreasuryRebalanceNewbieRemovedIterator, error)
FilterNewbieRemoved is a free log retrieval operation binding the contract event 0xe630072edaed8f0fccf534c7eaa063290db8f775b0824c7261d01e6619da4b38.
Solidity: event NewbieRemoved(address newbie)
func (*ITreasuryRebalanceFilterer) FilterRetiredRegistered ¶
func (_ITreasuryRebalance *ITreasuryRebalanceFilterer) FilterRetiredRegistered(opts *bind.FilterOpts) (*ITreasuryRebalanceRetiredRegisteredIterator, error)
FilterRetiredRegistered is a free log retrieval operation binding the contract event 0x7da2e87d0b02df1162d5736cc40dfcfffd17198aaf093ddff4a8f4eb26002fde.
Solidity: event RetiredRegistered(address retired)
func (*ITreasuryRebalanceFilterer) FilterRetiredRemoved ¶
func (_ITreasuryRebalance *ITreasuryRebalanceFilterer) FilterRetiredRemoved(opts *bind.FilterOpts) (*ITreasuryRebalanceRetiredRemovedIterator, error)
FilterRetiredRemoved is a free log retrieval operation binding the contract event 0x1f46b11b62ae5cc6363d0d5c2e597c4cb8849543d9126353adb73c5d7215e237.
Solidity: event RetiredRemoved(address retired)
func (*ITreasuryRebalanceFilterer) FilterStatusChanged ¶
func (_ITreasuryRebalance *ITreasuryRebalanceFilterer) FilterStatusChanged(opts *bind.FilterOpts) (*ITreasuryRebalanceStatusChangedIterator, error)
FilterStatusChanged is a free log retrieval operation binding the contract event 0xafa725e7f44cadb687a7043853fa1a7e7b8f0da74ce87ec546e9420f04da8c1e.
Solidity: event StatusChanged(uint8 status)
func (*ITreasuryRebalanceFilterer) ParseApproved ¶
func (_ITreasuryRebalance *ITreasuryRebalanceFilterer) ParseApproved(log types.Log) (*ITreasuryRebalanceApproved, error)
ParseApproved is a log parse operation binding the contract event 0x80da462ebfbe41cfc9bc015e7a9a3c7a2a73dbccede72d8ceb583606c27f8f90.
Solidity: event Approved(address retired, address approver, uint256 approversCount)
func (*ITreasuryRebalanceFilterer) ParseContractDeployed ¶
func (_ITreasuryRebalance *ITreasuryRebalanceFilterer) ParseContractDeployed(log types.Log) (*ITreasuryRebalanceContractDeployed, error)
ParseContractDeployed is a log parse operation binding the contract event 0x6f182006c5a12fe70c0728eedb2d1b0628c41483ca6721c606707d778d22ed0a.
Solidity: event ContractDeployed(uint8 status, uint256 rebalanceBlockNumber, uint256 deployedBlockNumber)
func (*ITreasuryRebalanceFilterer) ParseFinalized ¶
func (_ITreasuryRebalance *ITreasuryRebalanceFilterer) ParseFinalized(log types.Log) (*ITreasuryRebalanceFinalized, error)
ParseFinalized is a log parse operation binding the contract event 0x8f8636c7757ca9b7d154e1d44ca90d8e8c885b9eac417c59bbf8eb7779ca6404.
Solidity: event Finalized(string memo, uint8 status)
func (*ITreasuryRebalanceFilterer) ParseNewbieRegistered ¶
func (_ITreasuryRebalance *ITreasuryRebalanceFilterer) ParseNewbieRegistered(log types.Log) (*ITreasuryRebalanceNewbieRegistered, error)
ParseNewbieRegistered is a log parse operation binding the contract event 0xd261b37cd56b21cd1af841dca6331a133e5d8b9d55c2c6fe0ec822e2a303ef74.
Solidity: event NewbieRegistered(address newbie, uint256 fundAllocation)
func (*ITreasuryRebalanceFilterer) ParseNewbieRemoved ¶
func (_ITreasuryRebalance *ITreasuryRebalanceFilterer) ParseNewbieRemoved(log types.Log) (*ITreasuryRebalanceNewbieRemoved, error)
ParseNewbieRemoved is a log parse operation binding the contract event 0xe630072edaed8f0fccf534c7eaa063290db8f775b0824c7261d01e6619da4b38.
Solidity: event NewbieRemoved(address newbie)
func (*ITreasuryRebalanceFilterer) ParseRetiredRegistered ¶
func (_ITreasuryRebalance *ITreasuryRebalanceFilterer) ParseRetiredRegistered(log types.Log) (*ITreasuryRebalanceRetiredRegistered, error)
ParseRetiredRegistered is a log parse operation binding the contract event 0x7da2e87d0b02df1162d5736cc40dfcfffd17198aaf093ddff4a8f4eb26002fde.
Solidity: event RetiredRegistered(address retired)
func (*ITreasuryRebalanceFilterer) ParseRetiredRemoved ¶
func (_ITreasuryRebalance *ITreasuryRebalanceFilterer) ParseRetiredRemoved(log types.Log) (*ITreasuryRebalanceRetiredRemoved, error)
ParseRetiredRemoved is a log parse operation binding the contract event 0x1f46b11b62ae5cc6363d0d5c2e597c4cb8849543d9126353adb73c5d7215e237.
Solidity: event RetiredRemoved(address retired)
func (*ITreasuryRebalanceFilterer) ParseStatusChanged ¶
func (_ITreasuryRebalance *ITreasuryRebalanceFilterer) ParseStatusChanged(log types.Log) (*ITreasuryRebalanceStatusChanged, error)
ParseStatusChanged is a log parse operation binding the contract event 0xafa725e7f44cadb687a7043853fa1a7e7b8f0da74ce87ec546e9420f04da8c1e.
Solidity: event StatusChanged(uint8 status)
func (*ITreasuryRebalanceFilterer) WatchApproved ¶
func (_ITreasuryRebalance *ITreasuryRebalanceFilterer) WatchApproved(opts *bind.WatchOpts, sink chan<- *ITreasuryRebalanceApproved) (event.Subscription, error)
WatchApproved is a free log subscription operation binding the contract event 0x80da462ebfbe41cfc9bc015e7a9a3c7a2a73dbccede72d8ceb583606c27f8f90.
Solidity: event Approved(address retired, address approver, uint256 approversCount)
func (*ITreasuryRebalanceFilterer) WatchContractDeployed ¶
func (_ITreasuryRebalance *ITreasuryRebalanceFilterer) WatchContractDeployed(opts *bind.WatchOpts, sink chan<- *ITreasuryRebalanceContractDeployed) (event.Subscription, error)
WatchContractDeployed is a free log subscription operation binding the contract event 0x6f182006c5a12fe70c0728eedb2d1b0628c41483ca6721c606707d778d22ed0a.
Solidity: event ContractDeployed(uint8 status, uint256 rebalanceBlockNumber, uint256 deployedBlockNumber)
func (*ITreasuryRebalanceFilterer) WatchFinalized ¶
func (_ITreasuryRebalance *ITreasuryRebalanceFilterer) WatchFinalized(opts *bind.WatchOpts, sink chan<- *ITreasuryRebalanceFinalized) (event.Subscription, error)
WatchFinalized is a free log subscription operation binding the contract event 0x8f8636c7757ca9b7d154e1d44ca90d8e8c885b9eac417c59bbf8eb7779ca6404.
Solidity: event Finalized(string memo, uint8 status)
func (*ITreasuryRebalanceFilterer) WatchNewbieRegistered ¶
func (_ITreasuryRebalance *ITreasuryRebalanceFilterer) WatchNewbieRegistered(opts *bind.WatchOpts, sink chan<- *ITreasuryRebalanceNewbieRegistered) (event.Subscription, error)
WatchNewbieRegistered is a free log subscription operation binding the contract event 0xd261b37cd56b21cd1af841dca6331a133e5d8b9d55c2c6fe0ec822e2a303ef74.
Solidity: event NewbieRegistered(address newbie, uint256 fundAllocation)
func (*ITreasuryRebalanceFilterer) WatchNewbieRemoved ¶
func (_ITreasuryRebalance *ITreasuryRebalanceFilterer) WatchNewbieRemoved(opts *bind.WatchOpts, sink chan<- *ITreasuryRebalanceNewbieRemoved) (event.Subscription, error)
WatchNewbieRemoved is a free log subscription operation binding the contract event 0xe630072edaed8f0fccf534c7eaa063290db8f775b0824c7261d01e6619da4b38.
Solidity: event NewbieRemoved(address newbie)
func (*ITreasuryRebalanceFilterer) WatchRetiredRegistered ¶
func (_ITreasuryRebalance *ITreasuryRebalanceFilterer) WatchRetiredRegistered(opts *bind.WatchOpts, sink chan<- *ITreasuryRebalanceRetiredRegistered) (event.Subscription, error)
WatchRetiredRegistered is a free log subscription operation binding the contract event 0x7da2e87d0b02df1162d5736cc40dfcfffd17198aaf093ddff4a8f4eb26002fde.
Solidity: event RetiredRegistered(address retired)
func (*ITreasuryRebalanceFilterer) WatchRetiredRemoved ¶
func (_ITreasuryRebalance *ITreasuryRebalanceFilterer) WatchRetiredRemoved(opts *bind.WatchOpts, sink chan<- *ITreasuryRebalanceRetiredRemoved) (event.Subscription, error)
WatchRetiredRemoved is a free log subscription operation binding the contract event 0x1f46b11b62ae5cc6363d0d5c2e597c4cb8849543d9126353adb73c5d7215e237.
Solidity: event RetiredRemoved(address retired)
func (*ITreasuryRebalanceFilterer) WatchStatusChanged ¶
func (_ITreasuryRebalance *ITreasuryRebalanceFilterer) WatchStatusChanged(opts *bind.WatchOpts, sink chan<- *ITreasuryRebalanceStatusChanged) (event.Subscription, error)
WatchStatusChanged is a free log subscription operation binding the contract event 0xafa725e7f44cadb687a7043853fa1a7e7b8f0da74ce87ec546e9420f04da8c1e.
Solidity: event StatusChanged(uint8 status)
type ITreasuryRebalanceFinalized ¶
type ITreasuryRebalanceFinalized struct { Memo string Status uint8 Raw types.Log // Blockchain specific contextual infos }
ITreasuryRebalanceFinalized represents a Finalized event raised by the ITreasuryRebalance contract.
type ITreasuryRebalanceFinalizedIterator ¶
type ITreasuryRebalanceFinalizedIterator struct { Event *ITreasuryRebalanceFinalized // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ITreasuryRebalanceFinalizedIterator is returned from FilterFinalized and is used to iterate over the raw logs and unpacked data for Finalized events raised by the ITreasuryRebalance contract.
func (*ITreasuryRebalanceFinalizedIterator) Close ¶
func (it *ITreasuryRebalanceFinalizedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ITreasuryRebalanceFinalizedIterator) Error ¶
func (it *ITreasuryRebalanceFinalizedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ITreasuryRebalanceFinalizedIterator) Next ¶
func (it *ITreasuryRebalanceFinalizedIterator) 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 ITreasuryRebalanceNewbieRegistered ¶
type ITreasuryRebalanceNewbieRegistered struct { Newbie common.Address FundAllocation *big.Int Raw types.Log // Blockchain specific contextual infos }
ITreasuryRebalanceNewbieRegistered represents a NewbieRegistered event raised by the ITreasuryRebalance contract.
type ITreasuryRebalanceNewbieRegisteredIterator ¶
type ITreasuryRebalanceNewbieRegisteredIterator struct { Event *ITreasuryRebalanceNewbieRegistered // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ITreasuryRebalanceNewbieRegisteredIterator is returned from FilterNewbieRegistered and is used to iterate over the raw logs and unpacked data for NewbieRegistered events raised by the ITreasuryRebalance contract.
func (*ITreasuryRebalanceNewbieRegisteredIterator) Close ¶
func (it *ITreasuryRebalanceNewbieRegisteredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ITreasuryRebalanceNewbieRegisteredIterator) Error ¶
func (it *ITreasuryRebalanceNewbieRegisteredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ITreasuryRebalanceNewbieRegisteredIterator) Next ¶
func (it *ITreasuryRebalanceNewbieRegisteredIterator) 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 ITreasuryRebalanceNewbieRemoved ¶
type ITreasuryRebalanceNewbieRemoved struct { Newbie common.Address Raw types.Log // Blockchain specific contextual infos }
ITreasuryRebalanceNewbieRemoved represents a NewbieRemoved event raised by the ITreasuryRebalance contract.
type ITreasuryRebalanceNewbieRemovedIterator ¶
type ITreasuryRebalanceNewbieRemovedIterator struct { Event *ITreasuryRebalanceNewbieRemoved // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ITreasuryRebalanceNewbieRemovedIterator is returned from FilterNewbieRemoved and is used to iterate over the raw logs and unpacked data for NewbieRemoved events raised by the ITreasuryRebalance contract.
func (*ITreasuryRebalanceNewbieRemovedIterator) Close ¶
func (it *ITreasuryRebalanceNewbieRemovedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ITreasuryRebalanceNewbieRemovedIterator) Error ¶
func (it *ITreasuryRebalanceNewbieRemovedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ITreasuryRebalanceNewbieRemovedIterator) Next ¶
func (it *ITreasuryRebalanceNewbieRemovedIterator) 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 ITreasuryRebalanceRaw ¶
type ITreasuryRebalanceRaw struct {
Contract *ITreasuryRebalance // Generic contract binding to access the raw methods on
}
ITreasuryRebalanceRaw is an auto generated low-level Go binding around a Klaytn contract.
func (*ITreasuryRebalanceRaw) Call ¶
func (_ITreasuryRebalance *ITreasuryRebalanceRaw) 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 (*ITreasuryRebalanceRaw) Transact ¶
func (_ITreasuryRebalance *ITreasuryRebalanceRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ITreasuryRebalanceRaw) Transfer ¶
func (_ITreasuryRebalance *ITreasuryRebalanceRaw) 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 ITreasuryRebalanceRetiredRegistered ¶
type ITreasuryRebalanceRetiredRegistered struct { Retired common.Address Raw types.Log // Blockchain specific contextual infos }
ITreasuryRebalanceRetiredRegistered represents a RetiredRegistered event raised by the ITreasuryRebalance contract.
type ITreasuryRebalanceRetiredRegisteredIterator ¶
type ITreasuryRebalanceRetiredRegisteredIterator struct { Event *ITreasuryRebalanceRetiredRegistered // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ITreasuryRebalanceRetiredRegisteredIterator is returned from FilterRetiredRegistered and is used to iterate over the raw logs and unpacked data for RetiredRegistered events raised by the ITreasuryRebalance contract.
func (*ITreasuryRebalanceRetiredRegisteredIterator) Close ¶
func (it *ITreasuryRebalanceRetiredRegisteredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ITreasuryRebalanceRetiredRegisteredIterator) Error ¶
func (it *ITreasuryRebalanceRetiredRegisteredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ITreasuryRebalanceRetiredRegisteredIterator) Next ¶
func (it *ITreasuryRebalanceRetiredRegisteredIterator) 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 ITreasuryRebalanceRetiredRemoved ¶
type ITreasuryRebalanceRetiredRemoved struct { Retired common.Address Raw types.Log // Blockchain specific contextual infos }
ITreasuryRebalanceRetiredRemoved represents a RetiredRemoved event raised by the ITreasuryRebalance contract.
type ITreasuryRebalanceRetiredRemovedIterator ¶
type ITreasuryRebalanceRetiredRemovedIterator struct { Event *ITreasuryRebalanceRetiredRemoved // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ITreasuryRebalanceRetiredRemovedIterator is returned from FilterRetiredRemoved and is used to iterate over the raw logs and unpacked data for RetiredRemoved events raised by the ITreasuryRebalance contract.
func (*ITreasuryRebalanceRetiredRemovedIterator) Close ¶
func (it *ITreasuryRebalanceRetiredRemovedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ITreasuryRebalanceRetiredRemovedIterator) Error ¶
func (it *ITreasuryRebalanceRetiredRemovedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ITreasuryRebalanceRetiredRemovedIterator) Next ¶
func (it *ITreasuryRebalanceRetiredRemovedIterator) 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 ITreasuryRebalanceSession ¶
type ITreasuryRebalanceSession struct { Contract *ITreasuryRebalance // 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 }
ITreasuryRebalanceSession is an auto generated Go binding around a Klaytn contract, with pre-set call and transact options.
func (*ITreasuryRebalanceSession) Approve ¶
func (_ITreasuryRebalance *ITreasuryRebalanceSession) Approve(retiredAddress common.Address) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0xdaea85c5.
Solidity: function approve(address retiredAddress) returns()
func (*ITreasuryRebalanceSession) CheckRetiredsApproved ¶
func (_ITreasuryRebalance *ITreasuryRebalanceSession) CheckRetiredsApproved() error
CheckRetiredsApproved is a free data retrieval call binding the contract method 0x966e0794.
Solidity: function checkRetiredsApproved() view returns()
func (*ITreasuryRebalanceSession) FinalizeApproval ¶
func (_ITreasuryRebalance *ITreasuryRebalanceSession) FinalizeApproval() (*types.Transaction, error)
FinalizeApproval is a paid mutator transaction binding the contract method 0xfaaf9ca6.
Solidity: function finalizeApproval() returns()
func (*ITreasuryRebalanceSession) FinalizeContract ¶
func (_ITreasuryRebalance *ITreasuryRebalanceSession) FinalizeContract(memo string) (*types.Transaction, error)
FinalizeContract is a paid mutator transaction binding the contract method 0xea6d4a9b.
Solidity: function finalizeContract(string memo) returns()
func (*ITreasuryRebalanceSession) FinalizeRegistration ¶
func (_ITreasuryRebalance *ITreasuryRebalanceSession) FinalizeRegistration() (*types.Transaction, error)
FinalizeRegistration is a paid mutator transaction binding the contract method 0x48409096.
Solidity: function finalizeRegistration() returns()
func (*ITreasuryRebalanceSession) GetNewbie ¶
func (_ITreasuryRebalance *ITreasuryRebalanceSession) GetNewbie(newbieAddress common.Address) (common.Address, *big.Int, error)
GetNewbie is a free data retrieval call binding the contract method 0xeb5a8e55.
Solidity: function getNewbie(address newbieAddress) view returns(address, uint256)
func (*ITreasuryRebalanceSession) GetNewbieCount ¶
func (_ITreasuryRebalance *ITreasuryRebalanceSession) GetNewbieCount() (*big.Int, error)
GetNewbieCount is a free data retrieval call binding the contract method 0x91734d86.
Solidity: function getNewbieCount() view returns(uint256)
func (*ITreasuryRebalanceSession) GetRetired ¶
func (_ITreasuryRebalance *ITreasuryRebalanceSession) GetRetired(retiredAddress common.Address) (common.Address, []common.Address, error)
GetRetired is a free data retrieval call binding the contract method 0xbf680590.
Solidity: function getRetired(address retiredAddress) view returns(address, address[])
func (*ITreasuryRebalanceSession) GetRetiredCount ¶
func (_ITreasuryRebalance *ITreasuryRebalanceSession) GetRetiredCount() (*big.Int, error)
GetRetiredCount is a free data retrieval call binding the contract method 0xd1ed33fc.
Solidity: function getRetiredCount() view returns(uint256)
func (*ITreasuryRebalanceSession) GetTreasuryAmount ¶
func (_ITreasuryRebalance *ITreasuryRebalanceSession) GetTreasuryAmount() (*big.Int, error)
GetTreasuryAmount is a free data retrieval call binding the contract method 0xe20fcf00.
Solidity: function getTreasuryAmount() view returns(uint256 treasuryAmount)
func (*ITreasuryRebalanceSession) Memo ¶
func (_ITreasuryRebalance *ITreasuryRebalanceSession) Memo() (string, error)
Memo is a free data retrieval call binding the contract method 0x58c3b870.
Solidity: function memo() view returns(string)
func (*ITreasuryRebalanceSession) RebalanceBlockNumber ¶
func (_ITreasuryRebalance *ITreasuryRebalanceSession) RebalanceBlockNumber() (*big.Int, error)
RebalanceBlockNumber is a free data retrieval call binding the contract method 0x49a3fb45.
Solidity: function rebalanceBlockNumber() view returns(uint256)
func (*ITreasuryRebalanceSession) RegisterNewbie ¶
func (_ITreasuryRebalance *ITreasuryRebalanceSession) RegisterNewbie(newbieAddress common.Address, amount *big.Int) (*types.Transaction, error)
RegisterNewbie is a paid mutator transaction binding the contract method 0x652e27e0.
Solidity: function registerNewbie(address newbieAddress, uint256 amount) returns()
func (*ITreasuryRebalanceSession) RegisterRetired ¶
func (_ITreasuryRebalance *ITreasuryRebalanceSession) RegisterRetired(retiredAddress common.Address) (*types.Transaction, error)
RegisterRetired is a paid mutator transaction binding the contract method 0x1f8c1798.
Solidity: function registerRetired(address retiredAddress) returns()
func (*ITreasuryRebalanceSession) RemoveNewbie ¶
func (_ITreasuryRebalance *ITreasuryRebalanceSession) RemoveNewbie(newbieAddress common.Address) (*types.Transaction, error)
RemoveNewbie is a paid mutator transaction binding the contract method 0x6864b95b.
Solidity: function removeNewbie(address newbieAddress) returns()
func (*ITreasuryRebalanceSession) RemoveRetired ¶
func (_ITreasuryRebalance *ITreasuryRebalanceSession) RemoveRetired(retiredAddress common.Address) (*types.Transaction, error)
RemoveRetired is a paid mutator transaction binding the contract method 0x1c1dac59.
Solidity: function removeRetired(address retiredAddress) returns()
func (*ITreasuryRebalanceSession) Reset ¶
func (_ITreasuryRebalance *ITreasuryRebalanceSession) Reset() (*types.Transaction, error)
Reset is a paid mutator transaction binding the contract method 0xd826f88f.
Solidity: function reset() returns()
func (*ITreasuryRebalanceSession) Status ¶
func (_ITreasuryRebalance *ITreasuryRebalanceSession) Status() (uint8, error)
Status is a free data retrieval call binding the contract method 0x200d2ed2.
Solidity: function status() view returns(uint8)
func (*ITreasuryRebalanceSession) SumOfRetiredBalance ¶
func (_ITreasuryRebalance *ITreasuryRebalanceSession) SumOfRetiredBalance() (*big.Int, error)
SumOfRetiredBalance is a free data retrieval call binding the contract method 0x45205a6b.
Solidity: function sumOfRetiredBalance() view returns(uint256 retireesBalance)
type ITreasuryRebalanceStatusChanged ¶
type ITreasuryRebalanceStatusChanged struct { Status uint8 Raw types.Log // Blockchain specific contextual infos }
ITreasuryRebalanceStatusChanged represents a StatusChanged event raised by the ITreasuryRebalance contract.
type ITreasuryRebalanceStatusChangedIterator ¶
type ITreasuryRebalanceStatusChangedIterator struct { Event *ITreasuryRebalanceStatusChanged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ITreasuryRebalanceStatusChangedIterator is returned from FilterStatusChanged and is used to iterate over the raw logs and unpacked data for StatusChanged events raised by the ITreasuryRebalance contract.
func (*ITreasuryRebalanceStatusChangedIterator) Close ¶
func (it *ITreasuryRebalanceStatusChangedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ITreasuryRebalanceStatusChangedIterator) Error ¶
func (it *ITreasuryRebalanceStatusChangedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ITreasuryRebalanceStatusChangedIterator) Next ¶
func (it *ITreasuryRebalanceStatusChangedIterator) 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 ITreasuryRebalanceTransactor ¶
type ITreasuryRebalanceTransactor struct {
// contains filtered or unexported fields
}
ITreasuryRebalanceTransactor is an auto generated write-only Go binding around a Klaytn contract.
func NewITreasuryRebalanceTransactor ¶
func NewITreasuryRebalanceTransactor(address common.Address, transactor bind.ContractTransactor) (*ITreasuryRebalanceTransactor, error)
NewITreasuryRebalanceTransactor creates a new write-only instance of ITreasuryRebalance, bound to a specific deployed contract.
func (*ITreasuryRebalanceTransactor) Approve ¶
func (_ITreasuryRebalance *ITreasuryRebalanceTransactor) Approve(opts *bind.TransactOpts, retiredAddress common.Address) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0xdaea85c5.
Solidity: function approve(address retiredAddress) returns()
func (*ITreasuryRebalanceTransactor) FinalizeApproval ¶
func (_ITreasuryRebalance *ITreasuryRebalanceTransactor) FinalizeApproval(opts *bind.TransactOpts) (*types.Transaction, error)
FinalizeApproval is a paid mutator transaction binding the contract method 0xfaaf9ca6.
Solidity: function finalizeApproval() returns()
func (*ITreasuryRebalanceTransactor) FinalizeContract ¶
func (_ITreasuryRebalance *ITreasuryRebalanceTransactor) FinalizeContract(opts *bind.TransactOpts, memo string) (*types.Transaction, error)
FinalizeContract is a paid mutator transaction binding the contract method 0xea6d4a9b.
Solidity: function finalizeContract(string memo) returns()
func (*ITreasuryRebalanceTransactor) FinalizeRegistration ¶
func (_ITreasuryRebalance *ITreasuryRebalanceTransactor) FinalizeRegistration(opts *bind.TransactOpts) (*types.Transaction, error)
FinalizeRegistration is a paid mutator transaction binding the contract method 0x48409096.
Solidity: function finalizeRegistration() returns()
func (*ITreasuryRebalanceTransactor) RegisterNewbie ¶
func (_ITreasuryRebalance *ITreasuryRebalanceTransactor) RegisterNewbie(opts *bind.TransactOpts, newbieAddress common.Address, amount *big.Int) (*types.Transaction, error)
RegisterNewbie is a paid mutator transaction binding the contract method 0x652e27e0.
Solidity: function registerNewbie(address newbieAddress, uint256 amount) returns()
func (*ITreasuryRebalanceTransactor) RegisterRetired ¶
func (_ITreasuryRebalance *ITreasuryRebalanceTransactor) RegisterRetired(opts *bind.TransactOpts, retiredAddress common.Address) (*types.Transaction, error)
RegisterRetired is a paid mutator transaction binding the contract method 0x1f8c1798.
Solidity: function registerRetired(address retiredAddress) returns()
func (*ITreasuryRebalanceTransactor) RemoveNewbie ¶
func (_ITreasuryRebalance *ITreasuryRebalanceTransactor) RemoveNewbie(opts *bind.TransactOpts, newbieAddress common.Address) (*types.Transaction, error)
RemoveNewbie is a paid mutator transaction binding the contract method 0x6864b95b.
Solidity: function removeNewbie(address newbieAddress) returns()
func (*ITreasuryRebalanceTransactor) RemoveRetired ¶
func (_ITreasuryRebalance *ITreasuryRebalanceTransactor) RemoveRetired(opts *bind.TransactOpts, retiredAddress common.Address) (*types.Transaction, error)
RemoveRetired is a paid mutator transaction binding the contract method 0x1c1dac59.
Solidity: function removeRetired(address retiredAddress) returns()
func (*ITreasuryRebalanceTransactor) Reset ¶
func (_ITreasuryRebalance *ITreasuryRebalanceTransactor) Reset(opts *bind.TransactOpts) (*types.Transaction, error)
Reset is a paid mutator transaction binding the contract method 0xd826f88f.
Solidity: function reset() returns()
type ITreasuryRebalanceTransactorRaw ¶
type ITreasuryRebalanceTransactorRaw struct {
Contract *ITreasuryRebalanceTransactor // Generic write-only contract binding to access the raw methods on
}
ITreasuryRebalanceTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract.
func (*ITreasuryRebalanceTransactorRaw) Transact ¶
func (_ITreasuryRebalance *ITreasuryRebalanceTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ITreasuryRebalanceTransactorRaw) Transfer ¶
func (_ITreasuryRebalance *ITreasuryRebalanceTransactorRaw) 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 ITreasuryRebalanceTransactorSession ¶
type ITreasuryRebalanceTransactorSession struct { Contract *ITreasuryRebalanceTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ITreasuryRebalanceTransactorSession is an auto generated write-only Go binding around a Klaytn contract, with pre-set transact options.
func (*ITreasuryRebalanceTransactorSession) Approve ¶
func (_ITreasuryRebalance *ITreasuryRebalanceTransactorSession) Approve(retiredAddress common.Address) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0xdaea85c5.
Solidity: function approve(address retiredAddress) returns()
func (*ITreasuryRebalanceTransactorSession) FinalizeApproval ¶
func (_ITreasuryRebalance *ITreasuryRebalanceTransactorSession) FinalizeApproval() (*types.Transaction, error)
FinalizeApproval is a paid mutator transaction binding the contract method 0xfaaf9ca6.
Solidity: function finalizeApproval() returns()
func (*ITreasuryRebalanceTransactorSession) FinalizeContract ¶
func (_ITreasuryRebalance *ITreasuryRebalanceTransactorSession) FinalizeContract(memo string) (*types.Transaction, error)
FinalizeContract is a paid mutator transaction binding the contract method 0xea6d4a9b.
Solidity: function finalizeContract(string memo) returns()
func (*ITreasuryRebalanceTransactorSession) FinalizeRegistration ¶
func (_ITreasuryRebalance *ITreasuryRebalanceTransactorSession) FinalizeRegistration() (*types.Transaction, error)
FinalizeRegistration is a paid mutator transaction binding the contract method 0x48409096.
Solidity: function finalizeRegistration() returns()
func (*ITreasuryRebalanceTransactorSession) RegisterNewbie ¶
func (_ITreasuryRebalance *ITreasuryRebalanceTransactorSession) RegisterNewbie(newbieAddress common.Address, amount *big.Int) (*types.Transaction, error)
RegisterNewbie is a paid mutator transaction binding the contract method 0x652e27e0.
Solidity: function registerNewbie(address newbieAddress, uint256 amount) returns()
func (*ITreasuryRebalanceTransactorSession) RegisterRetired ¶
func (_ITreasuryRebalance *ITreasuryRebalanceTransactorSession) RegisterRetired(retiredAddress common.Address) (*types.Transaction, error)
RegisterRetired is a paid mutator transaction binding the contract method 0x1f8c1798.
Solidity: function registerRetired(address retiredAddress) returns()
func (*ITreasuryRebalanceTransactorSession) RemoveNewbie ¶
func (_ITreasuryRebalance *ITreasuryRebalanceTransactorSession) RemoveNewbie(newbieAddress common.Address) (*types.Transaction, error)
RemoveNewbie is a paid mutator transaction binding the contract method 0x6864b95b.
Solidity: function removeNewbie(address newbieAddress) returns()
func (*ITreasuryRebalanceTransactorSession) RemoveRetired ¶
func (_ITreasuryRebalance *ITreasuryRebalanceTransactorSession) RemoveRetired(retiredAddress common.Address) (*types.Transaction, error)
RemoveRetired is a paid mutator transaction binding the contract method 0x1c1dac59.
Solidity: function removeRetired(address retiredAddress) returns()
func (*ITreasuryRebalanceTransactorSession) Reset ¶
func (_ITreasuryRebalance *ITreasuryRebalanceTransactorSession) Reset() (*types.Transaction, error)
Reset is a paid mutator transaction binding the contract method 0xd826f88f.
Solidity: function reset() returns()
type Ownable ¶
type Ownable struct { OwnableCaller // Read-only binding to the contract OwnableTransactor // Write-only binding to the contract OwnableFilterer // Log filterer for contract events }
Ownable is an auto generated Go binding around a Klaytn contract.
func DeployOwnable ¶
func DeployOwnable(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Ownable, error)
DeployOwnable deploys a new Klaytn contract, binding an instance of Ownable to it.
func NewOwnable ¶
NewOwnable creates a new instance of Ownable, bound to a specific deployed contract.
type OwnableCaller ¶
type OwnableCaller struct {
// contains filtered or unexported fields
}
OwnableCaller is an auto generated read-only Go binding around a Klaytn contract.
func NewOwnableCaller ¶
func NewOwnableCaller(address common.Address, caller bind.ContractCaller) (*OwnableCaller, error)
NewOwnableCaller creates a new read-only instance of Ownable, bound to a specific deployed contract.
type OwnableCallerRaw ¶
type OwnableCallerRaw struct {
Contract *OwnableCaller // Generic read-only contract binding to access the raw methods on
}
OwnableCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract.
func (*OwnableCallerRaw) Call ¶
func (_Ownable *OwnableCallerRaw) 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 OwnableCallerSession ¶
type OwnableCallerSession struct { Contract *OwnableCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
OwnableCallerSession is an auto generated read-only Go binding around a Klaytn contract, with pre-set call options.
func (*OwnableCallerSession) IsOwner ¶
func (_Ownable *OwnableCallerSession) IsOwner() (bool, error)
IsOwner is a free data retrieval call binding the contract method 0x8f32d59b.
Solidity: function isOwner() view returns(bool)
type OwnableFilterer ¶
type OwnableFilterer struct {
// contains filtered or unexported fields
}
OwnableFilterer is an auto generated log filtering Go binding around a Klaytn contract events.
func NewOwnableFilterer ¶
func NewOwnableFilterer(address common.Address, filterer bind.ContractFilterer) (*OwnableFilterer, error)
NewOwnableFilterer creates a new log filterer instance of Ownable, bound to a specific deployed contract.
func (*OwnableFilterer) FilterOwnershipTransferred ¶
func (_Ownable *OwnableFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*OwnableOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*OwnableFilterer) ParseOwnershipTransferred ¶
func (_Ownable *OwnableFilterer) ParseOwnershipTransferred(log types.Log) (*OwnableOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*OwnableFilterer) WatchOwnershipTransferred ¶
func (_Ownable *OwnableFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *OwnableOwnershipTransferred, 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 OwnableOwnershipTransferred ¶
type OwnableOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
OwnableOwnershipTransferred represents a OwnershipTransferred event raised by the Ownable contract.
type OwnableOwnershipTransferredIterator ¶
type OwnableOwnershipTransferredIterator struct { Event *OwnableOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
OwnableOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the Ownable contract.
func (*OwnableOwnershipTransferredIterator) Close ¶
func (it *OwnableOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*OwnableOwnershipTransferredIterator) Error ¶
func (it *OwnableOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*OwnableOwnershipTransferredIterator) Next ¶
func (it *OwnableOwnershipTransferredIterator) 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 OwnableRaw ¶
type OwnableRaw struct {
Contract *Ownable // Generic contract binding to access the raw methods on
}
OwnableRaw is an auto generated low-level Go binding around a Klaytn contract.
func (*OwnableRaw) Call ¶
func (_Ownable *OwnableRaw) 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 (*OwnableRaw) Transact ¶
func (_Ownable *OwnableRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*OwnableRaw) Transfer ¶
func (_Ownable *OwnableRaw) 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 OwnableSession ¶
type OwnableSession struct { Contract *Ownable // 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 }
OwnableSession is an auto generated Go binding around a Klaytn contract, with pre-set call and transact options.
func (*OwnableSession) IsOwner ¶
func (_Ownable *OwnableSession) IsOwner() (bool, error)
IsOwner is a free data retrieval call binding the contract method 0x8f32d59b.
Solidity: function isOwner() view returns(bool)
func (*OwnableSession) Owner ¶
func (_Ownable *OwnableSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*OwnableSession) RenounceOwnership ¶
func (_Ownable *OwnableSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*OwnableSession) TransferOwnership ¶
func (_Ownable *OwnableSession) 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 OwnableTransactor ¶
type OwnableTransactor struct {
// contains filtered or unexported fields
}
OwnableTransactor is an auto generated write-only Go binding around a Klaytn contract.
func NewOwnableTransactor ¶
func NewOwnableTransactor(address common.Address, transactor bind.ContractTransactor) (*OwnableTransactor, error)
NewOwnableTransactor creates a new write-only instance of Ownable, bound to a specific deployed contract.
func (*OwnableTransactor) RenounceOwnership ¶
func (_Ownable *OwnableTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*OwnableTransactor) TransferOwnership ¶
func (_Ownable *OwnableTransactor) 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 OwnableTransactorRaw ¶
type OwnableTransactorRaw struct {
Contract *OwnableTransactor // Generic write-only contract binding to access the raw methods on
}
OwnableTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract.
func (*OwnableTransactorRaw) Transact ¶
func (_Ownable *OwnableTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*OwnableTransactorRaw) Transfer ¶
func (_Ownable *OwnableTransactorRaw) 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 OwnableTransactorSession ¶
type OwnableTransactorSession struct { Contract *OwnableTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
OwnableTransactorSession is an auto generated write-only Go binding around a Klaytn contract, with pre-set transact options.
func (*OwnableTransactorSession) RenounceOwnership ¶
func (_Ownable *OwnableTransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*OwnableTransactorSession) TransferOwnership ¶
func (_Ownable *OwnableTransactorSession) 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 TreasuryRebalance ¶
type TreasuryRebalance struct { TreasuryRebalanceCaller // Read-only binding to the contract TreasuryRebalanceTransactor // Write-only binding to the contract TreasuryRebalanceFilterer // Log filterer for contract events }
TreasuryRebalance is an auto generated Go binding around a Klaytn contract.
func DeployTreasuryRebalance ¶
func DeployTreasuryRebalance(auth *bind.TransactOpts, backend bind.ContractBackend, _rebalanceBlockNumber *big.Int) (common.Address, *types.Transaction, *TreasuryRebalance, error)
DeployTreasuryRebalance deploys a new Klaytn contract, binding an instance of TreasuryRebalance to it.
func NewTreasuryRebalance ¶
func NewTreasuryRebalance(address common.Address, backend bind.ContractBackend) (*TreasuryRebalance, error)
NewTreasuryRebalance creates a new instance of TreasuryRebalance, bound to a specific deployed contract.
type TreasuryRebalanceApproved ¶
type TreasuryRebalanceApproved struct { Retired common.Address Approver common.Address ApproversCount *big.Int Raw types.Log // Blockchain specific contextual infos }
TreasuryRebalanceApproved represents a Approved event raised by the TreasuryRebalance contract.
type TreasuryRebalanceApprovedIterator ¶
type TreasuryRebalanceApprovedIterator struct { Event *TreasuryRebalanceApproved // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TreasuryRebalanceApprovedIterator is returned from FilterApproved and is used to iterate over the raw logs and unpacked data for Approved events raised by the TreasuryRebalance contract.
func (*TreasuryRebalanceApprovedIterator) Close ¶
func (it *TreasuryRebalanceApprovedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TreasuryRebalanceApprovedIterator) Error ¶
func (it *TreasuryRebalanceApprovedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TreasuryRebalanceApprovedIterator) Next ¶
func (it *TreasuryRebalanceApprovedIterator) 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 TreasuryRebalanceCaller ¶
type TreasuryRebalanceCaller struct {
// contains filtered or unexported fields
}
TreasuryRebalanceCaller is an auto generated read-only Go binding around a Klaytn contract.
func NewTreasuryRebalanceCaller ¶
func NewTreasuryRebalanceCaller(address common.Address, caller bind.ContractCaller) (*TreasuryRebalanceCaller, error)
NewTreasuryRebalanceCaller creates a new read-only instance of TreasuryRebalance, bound to a specific deployed contract.
func (*TreasuryRebalanceCaller) CheckRetiredsApproved ¶
func (_TreasuryRebalance *TreasuryRebalanceCaller) CheckRetiredsApproved(opts *bind.CallOpts) error
CheckRetiredsApproved is a free data retrieval call binding the contract method 0x966e0794.
Solidity: function checkRetiredsApproved() view returns()
func (*TreasuryRebalanceCaller) GetNewbie ¶
func (_TreasuryRebalance *TreasuryRebalanceCaller) GetNewbie(opts *bind.CallOpts, _newbieAddress common.Address) (common.Address, *big.Int, error)
GetNewbie is a free data retrieval call binding the contract method 0xeb5a8e55.
Solidity: function getNewbie(address _newbieAddress) view returns(address, uint256)
func (*TreasuryRebalanceCaller) GetNewbieCount ¶
func (_TreasuryRebalance *TreasuryRebalanceCaller) GetNewbieCount(opts *bind.CallOpts) (*big.Int, error)
GetNewbieCount is a free data retrieval call binding the contract method 0x91734d86.
Solidity: function getNewbieCount() view returns(uint256)
func (*TreasuryRebalanceCaller) GetNewbieIndex ¶
func (_TreasuryRebalance *TreasuryRebalanceCaller) GetNewbieIndex(opts *bind.CallOpts, _newbieAddress common.Address) (*big.Int, error)
GetNewbieIndex is a free data retrieval call binding the contract method 0x11f5c466.
Solidity: function getNewbieIndex(address _newbieAddress) view returns(uint256)
func (*TreasuryRebalanceCaller) GetRetired ¶
func (_TreasuryRebalance *TreasuryRebalanceCaller) GetRetired(opts *bind.CallOpts, _retiredAddress common.Address) (common.Address, []common.Address, error)
GetRetired is a free data retrieval call binding the contract method 0xbf680590.
Solidity: function getRetired(address _retiredAddress) view returns(address, address[])
func (*TreasuryRebalanceCaller) GetRetiredCount ¶
func (_TreasuryRebalance *TreasuryRebalanceCaller) GetRetiredCount(opts *bind.CallOpts) (*big.Int, error)
GetRetiredCount is a free data retrieval call binding the contract method 0xd1ed33fc.
Solidity: function getRetiredCount() view returns(uint256)
func (*TreasuryRebalanceCaller) GetRetiredIndex ¶
func (_TreasuryRebalance *TreasuryRebalanceCaller) GetRetiredIndex(opts *bind.CallOpts, _retiredAddress common.Address) (*big.Int, error)
GetRetiredIndex is a free data retrieval call binding the contract method 0x681f6e7c.
Solidity: function getRetiredIndex(address _retiredAddress) view returns(uint256)
func (*TreasuryRebalanceCaller) GetTreasuryAmount ¶
func (_TreasuryRebalance *TreasuryRebalanceCaller) GetTreasuryAmount(opts *bind.CallOpts) (*big.Int, error)
GetTreasuryAmount is a free data retrieval call binding the contract method 0xe20fcf00.
Solidity: function getTreasuryAmount() view returns(uint256 treasuryAmount)
func (*TreasuryRebalanceCaller) IsContractAddr ¶
func (_TreasuryRebalance *TreasuryRebalanceCaller) IsContractAddr(opts *bind.CallOpts, _addr common.Address) (bool, error)
IsContractAddr is a free data retrieval call binding the contract method 0xe2384cb3.
Solidity: function isContractAddr(address _addr) view returns(bool)
func (*TreasuryRebalanceCaller) IsOwner ¶
func (_TreasuryRebalance *TreasuryRebalanceCaller) IsOwner(opts *bind.CallOpts) (bool, error)
IsOwner is a free data retrieval call binding the contract method 0x8f32d59b.
Solidity: function isOwner() view returns(bool)
func (*TreasuryRebalanceCaller) Memo ¶
func (_TreasuryRebalance *TreasuryRebalanceCaller) Memo(opts *bind.CallOpts) (string, error)
Memo is a free data retrieval call binding the contract method 0x58c3b870.
Solidity: function memo() view returns(string)
func (*TreasuryRebalanceCaller) NewbieExists ¶
func (_TreasuryRebalance *TreasuryRebalanceCaller) NewbieExists(opts *bind.CallOpts, _newbieAddress common.Address) (bool, error)
NewbieExists is a free data retrieval call binding the contract method 0x683e13cb.
Solidity: function newbieExists(address _newbieAddress) view returns(bool)
func (*TreasuryRebalanceCaller) Newbies ¶
func (_TreasuryRebalance *TreasuryRebalanceCaller) Newbies(opts *bind.CallOpts, arg0 *big.Int) (struct { Newbie common.Address Amount *big.Int }, error)
Newbies is a free data retrieval call binding the contract method 0x94393e11.
Solidity: function newbies(uint256 ) view returns(address newbie, uint256 amount)
func (*TreasuryRebalanceCaller) Owner ¶
func (_TreasuryRebalance *TreasuryRebalanceCaller) 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 (*TreasuryRebalanceCaller) RebalanceBlockNumber ¶
func (_TreasuryRebalance *TreasuryRebalanceCaller) RebalanceBlockNumber(opts *bind.CallOpts) (*big.Int, error)
RebalanceBlockNumber is a free data retrieval call binding the contract method 0x49a3fb45.
Solidity: function rebalanceBlockNumber() view returns(uint256)
func (*TreasuryRebalanceCaller) RetiredExists ¶
func (_TreasuryRebalance *TreasuryRebalanceCaller) RetiredExists(opts *bind.CallOpts, _retiredAddress common.Address) (bool, error)
RetiredExists is a free data retrieval call binding the contract method 0x01784e05.
Solidity: function retiredExists(address _retiredAddress) view returns(bool)
func (*TreasuryRebalanceCaller) Retirees ¶
func (_TreasuryRebalance *TreasuryRebalanceCaller) Retirees(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)
Retirees is a free data retrieval call binding the contract method 0x5a12667b.
Solidity: function retirees(uint256 ) view returns(address retired)
func (*TreasuryRebalanceCaller) Status ¶
func (_TreasuryRebalance *TreasuryRebalanceCaller) Status(opts *bind.CallOpts) (uint8, error)
Status is a free data retrieval call binding the contract method 0x200d2ed2.
Solidity: function status() view returns(uint8)
func (*TreasuryRebalanceCaller) SumOfRetiredBalance ¶
func (_TreasuryRebalance *TreasuryRebalanceCaller) SumOfRetiredBalance(opts *bind.CallOpts) (*big.Int, error)
SumOfRetiredBalance is a free data retrieval call binding the contract method 0x45205a6b.
Solidity: function sumOfRetiredBalance() view returns(uint256 retireesBalance)
type TreasuryRebalanceCallerRaw ¶
type TreasuryRebalanceCallerRaw struct {
Contract *TreasuryRebalanceCaller // Generic read-only contract binding to access the raw methods on
}
TreasuryRebalanceCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract.
func (*TreasuryRebalanceCallerRaw) Call ¶
func (_TreasuryRebalance *TreasuryRebalanceCallerRaw) 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 TreasuryRebalanceCallerSession ¶
type TreasuryRebalanceCallerSession struct { Contract *TreasuryRebalanceCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
TreasuryRebalanceCallerSession is an auto generated read-only Go binding around a Klaytn contract, with pre-set call options.
func (*TreasuryRebalanceCallerSession) CheckRetiredsApproved ¶
func (_TreasuryRebalance *TreasuryRebalanceCallerSession) CheckRetiredsApproved() error
CheckRetiredsApproved is a free data retrieval call binding the contract method 0x966e0794.
Solidity: function checkRetiredsApproved() view returns()
func (*TreasuryRebalanceCallerSession) GetNewbie ¶
func (_TreasuryRebalance *TreasuryRebalanceCallerSession) GetNewbie(_newbieAddress common.Address) (common.Address, *big.Int, error)
GetNewbie is a free data retrieval call binding the contract method 0xeb5a8e55.
Solidity: function getNewbie(address _newbieAddress) view returns(address, uint256)
func (*TreasuryRebalanceCallerSession) GetNewbieCount ¶
func (_TreasuryRebalance *TreasuryRebalanceCallerSession) GetNewbieCount() (*big.Int, error)
GetNewbieCount is a free data retrieval call binding the contract method 0x91734d86.
Solidity: function getNewbieCount() view returns(uint256)
func (*TreasuryRebalanceCallerSession) GetNewbieIndex ¶
func (_TreasuryRebalance *TreasuryRebalanceCallerSession) GetNewbieIndex(_newbieAddress common.Address) (*big.Int, error)
GetNewbieIndex is a free data retrieval call binding the contract method 0x11f5c466.
Solidity: function getNewbieIndex(address _newbieAddress) view returns(uint256)
func (*TreasuryRebalanceCallerSession) GetRetired ¶
func (_TreasuryRebalance *TreasuryRebalanceCallerSession) GetRetired(_retiredAddress common.Address) (common.Address, []common.Address, error)
GetRetired is a free data retrieval call binding the contract method 0xbf680590.
Solidity: function getRetired(address _retiredAddress) view returns(address, address[])
func (*TreasuryRebalanceCallerSession) GetRetiredCount ¶
func (_TreasuryRebalance *TreasuryRebalanceCallerSession) GetRetiredCount() (*big.Int, error)
GetRetiredCount is a free data retrieval call binding the contract method 0xd1ed33fc.
Solidity: function getRetiredCount() view returns(uint256)
func (*TreasuryRebalanceCallerSession) GetRetiredIndex ¶
func (_TreasuryRebalance *TreasuryRebalanceCallerSession) GetRetiredIndex(_retiredAddress common.Address) (*big.Int, error)
GetRetiredIndex is a free data retrieval call binding the contract method 0x681f6e7c.
Solidity: function getRetiredIndex(address _retiredAddress) view returns(uint256)
func (*TreasuryRebalanceCallerSession) GetTreasuryAmount ¶
func (_TreasuryRebalance *TreasuryRebalanceCallerSession) GetTreasuryAmount() (*big.Int, error)
GetTreasuryAmount is a free data retrieval call binding the contract method 0xe20fcf00.
Solidity: function getTreasuryAmount() view returns(uint256 treasuryAmount)
func (*TreasuryRebalanceCallerSession) IsContractAddr ¶
func (_TreasuryRebalance *TreasuryRebalanceCallerSession) IsContractAddr(_addr common.Address) (bool, error)
IsContractAddr is a free data retrieval call binding the contract method 0xe2384cb3.
Solidity: function isContractAddr(address _addr) view returns(bool)
func (*TreasuryRebalanceCallerSession) IsOwner ¶
func (_TreasuryRebalance *TreasuryRebalanceCallerSession) IsOwner() (bool, error)
IsOwner is a free data retrieval call binding the contract method 0x8f32d59b.
Solidity: function isOwner() view returns(bool)
func (*TreasuryRebalanceCallerSession) Memo ¶
func (_TreasuryRebalance *TreasuryRebalanceCallerSession) Memo() (string, error)
Memo is a free data retrieval call binding the contract method 0x58c3b870.
Solidity: function memo() view returns(string)
func (*TreasuryRebalanceCallerSession) NewbieExists ¶
func (_TreasuryRebalance *TreasuryRebalanceCallerSession) NewbieExists(_newbieAddress common.Address) (bool, error)
NewbieExists is a free data retrieval call binding the contract method 0x683e13cb.
Solidity: function newbieExists(address _newbieAddress) view returns(bool)
func (*TreasuryRebalanceCallerSession) Newbies ¶
func (_TreasuryRebalance *TreasuryRebalanceCallerSession) Newbies(arg0 *big.Int) (struct { Newbie common.Address Amount *big.Int }, error)
Newbies is a free data retrieval call binding the contract method 0x94393e11.
Solidity: function newbies(uint256 ) view returns(address newbie, uint256 amount)
func (*TreasuryRebalanceCallerSession) Owner ¶
func (_TreasuryRebalance *TreasuryRebalanceCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*TreasuryRebalanceCallerSession) RebalanceBlockNumber ¶
func (_TreasuryRebalance *TreasuryRebalanceCallerSession) RebalanceBlockNumber() (*big.Int, error)
RebalanceBlockNumber is a free data retrieval call binding the contract method 0x49a3fb45.
Solidity: function rebalanceBlockNumber() view returns(uint256)
func (*TreasuryRebalanceCallerSession) RetiredExists ¶
func (_TreasuryRebalance *TreasuryRebalanceCallerSession) RetiredExists(_retiredAddress common.Address) (bool, error)
RetiredExists is a free data retrieval call binding the contract method 0x01784e05.
Solidity: function retiredExists(address _retiredAddress) view returns(bool)
func (*TreasuryRebalanceCallerSession) Retirees ¶
func (_TreasuryRebalance *TreasuryRebalanceCallerSession) Retirees(arg0 *big.Int) (common.Address, error)
Retirees is a free data retrieval call binding the contract method 0x5a12667b.
Solidity: function retirees(uint256 ) view returns(address retired)
func (*TreasuryRebalanceCallerSession) Status ¶
func (_TreasuryRebalance *TreasuryRebalanceCallerSession) Status() (uint8, error)
Status is a free data retrieval call binding the contract method 0x200d2ed2.
Solidity: function status() view returns(uint8)
func (*TreasuryRebalanceCallerSession) SumOfRetiredBalance ¶
func (_TreasuryRebalance *TreasuryRebalanceCallerSession) SumOfRetiredBalance() (*big.Int, error)
SumOfRetiredBalance is a free data retrieval call binding the contract method 0x45205a6b.
Solidity: function sumOfRetiredBalance() view returns(uint256 retireesBalance)
type TreasuryRebalanceContractDeployed ¶
type TreasuryRebalanceContractDeployed struct { Status uint8 RebalanceBlockNumber *big.Int DeployedBlockNumber *big.Int Raw types.Log // Blockchain specific contextual infos }
TreasuryRebalanceContractDeployed represents a ContractDeployed event raised by the TreasuryRebalance contract.
type TreasuryRebalanceContractDeployedIterator ¶
type TreasuryRebalanceContractDeployedIterator struct { Event *TreasuryRebalanceContractDeployed // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TreasuryRebalanceContractDeployedIterator is returned from FilterContractDeployed and is used to iterate over the raw logs and unpacked data for ContractDeployed events raised by the TreasuryRebalance contract.
func (*TreasuryRebalanceContractDeployedIterator) Close ¶
func (it *TreasuryRebalanceContractDeployedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TreasuryRebalanceContractDeployedIterator) Error ¶
func (it *TreasuryRebalanceContractDeployedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TreasuryRebalanceContractDeployedIterator) Next ¶
func (it *TreasuryRebalanceContractDeployedIterator) 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 TreasuryRebalanceFilterer ¶
type TreasuryRebalanceFilterer struct {
// contains filtered or unexported fields
}
TreasuryRebalanceFilterer is an auto generated log filtering Go binding around a Klaytn contract events.
func NewTreasuryRebalanceFilterer ¶
func NewTreasuryRebalanceFilterer(address common.Address, filterer bind.ContractFilterer) (*TreasuryRebalanceFilterer, error)
NewTreasuryRebalanceFilterer creates a new log filterer instance of TreasuryRebalance, bound to a specific deployed contract.
func (*TreasuryRebalanceFilterer) FilterApproved ¶
func (_TreasuryRebalance *TreasuryRebalanceFilterer) FilterApproved(opts *bind.FilterOpts) (*TreasuryRebalanceApprovedIterator, error)
FilterApproved is a free log retrieval operation binding the contract event 0x80da462ebfbe41cfc9bc015e7a9a3c7a2a73dbccede72d8ceb583606c27f8f90.
Solidity: event Approved(address retired, address approver, uint256 approversCount)
func (*TreasuryRebalanceFilterer) FilterContractDeployed ¶
func (_TreasuryRebalance *TreasuryRebalanceFilterer) FilterContractDeployed(opts *bind.FilterOpts) (*TreasuryRebalanceContractDeployedIterator, error)
FilterContractDeployed is a free log retrieval operation binding the contract event 0x6f182006c5a12fe70c0728eedb2d1b0628c41483ca6721c606707d778d22ed0a.
Solidity: event ContractDeployed(uint8 status, uint256 rebalanceBlockNumber, uint256 deployedBlockNumber)
func (*TreasuryRebalanceFilterer) FilterFinalized ¶
func (_TreasuryRebalance *TreasuryRebalanceFilterer) FilterFinalized(opts *bind.FilterOpts) (*TreasuryRebalanceFinalizedIterator, error)
FilterFinalized is a free log retrieval operation binding the contract event 0x8f8636c7757ca9b7d154e1d44ca90d8e8c885b9eac417c59bbf8eb7779ca6404.
Solidity: event Finalized(string memo, uint8 status)
func (*TreasuryRebalanceFilterer) FilterNewbieRegistered ¶
func (_TreasuryRebalance *TreasuryRebalanceFilterer) FilterNewbieRegistered(opts *bind.FilterOpts) (*TreasuryRebalanceNewbieRegisteredIterator, error)
FilterNewbieRegistered is a free log retrieval operation binding the contract event 0xd261b37cd56b21cd1af841dca6331a133e5d8b9d55c2c6fe0ec822e2a303ef74.
Solidity: event NewbieRegistered(address newbie, uint256 fundAllocation)
func (*TreasuryRebalanceFilterer) FilterNewbieRemoved ¶
func (_TreasuryRebalance *TreasuryRebalanceFilterer) FilterNewbieRemoved(opts *bind.FilterOpts) (*TreasuryRebalanceNewbieRemovedIterator, error)
FilterNewbieRemoved is a free log retrieval operation binding the contract event 0xe630072edaed8f0fccf534c7eaa063290db8f775b0824c7261d01e6619da4b38.
Solidity: event NewbieRemoved(address newbie)
func (*TreasuryRebalanceFilterer) FilterOwnershipTransferred ¶
func (_TreasuryRebalance *TreasuryRebalanceFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*TreasuryRebalanceOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*TreasuryRebalanceFilterer) FilterRetiredRegistered ¶
func (_TreasuryRebalance *TreasuryRebalanceFilterer) FilterRetiredRegistered(opts *bind.FilterOpts) (*TreasuryRebalanceRetiredRegisteredIterator, error)
FilterRetiredRegistered is a free log retrieval operation binding the contract event 0x7da2e87d0b02df1162d5736cc40dfcfffd17198aaf093ddff4a8f4eb26002fde.
Solidity: event RetiredRegistered(address retired)
func (*TreasuryRebalanceFilterer) FilterRetiredRemoved ¶
func (_TreasuryRebalance *TreasuryRebalanceFilterer) FilterRetiredRemoved(opts *bind.FilterOpts) (*TreasuryRebalanceRetiredRemovedIterator, error)
FilterRetiredRemoved is a free log retrieval operation binding the contract event 0x1f46b11b62ae5cc6363d0d5c2e597c4cb8849543d9126353adb73c5d7215e237.
Solidity: event RetiredRemoved(address retired)
func (*TreasuryRebalanceFilterer) FilterStatusChanged ¶
func (_TreasuryRebalance *TreasuryRebalanceFilterer) FilterStatusChanged(opts *bind.FilterOpts) (*TreasuryRebalanceStatusChangedIterator, error)
FilterStatusChanged is a free log retrieval operation binding the contract event 0xafa725e7f44cadb687a7043853fa1a7e7b8f0da74ce87ec546e9420f04da8c1e.
Solidity: event StatusChanged(uint8 status)
func (*TreasuryRebalanceFilterer) ParseApproved ¶
func (_TreasuryRebalance *TreasuryRebalanceFilterer) ParseApproved(log types.Log) (*TreasuryRebalanceApproved, error)
ParseApproved is a log parse operation binding the contract event 0x80da462ebfbe41cfc9bc015e7a9a3c7a2a73dbccede72d8ceb583606c27f8f90.
Solidity: event Approved(address retired, address approver, uint256 approversCount)
func (*TreasuryRebalanceFilterer) ParseContractDeployed ¶
func (_TreasuryRebalance *TreasuryRebalanceFilterer) ParseContractDeployed(log types.Log) (*TreasuryRebalanceContractDeployed, error)
ParseContractDeployed is a log parse operation binding the contract event 0x6f182006c5a12fe70c0728eedb2d1b0628c41483ca6721c606707d778d22ed0a.
Solidity: event ContractDeployed(uint8 status, uint256 rebalanceBlockNumber, uint256 deployedBlockNumber)
func (*TreasuryRebalanceFilterer) ParseFinalized ¶
func (_TreasuryRebalance *TreasuryRebalanceFilterer) ParseFinalized(log types.Log) (*TreasuryRebalanceFinalized, error)
ParseFinalized is a log parse operation binding the contract event 0x8f8636c7757ca9b7d154e1d44ca90d8e8c885b9eac417c59bbf8eb7779ca6404.
Solidity: event Finalized(string memo, uint8 status)
func (*TreasuryRebalanceFilterer) ParseNewbieRegistered ¶
func (_TreasuryRebalance *TreasuryRebalanceFilterer) ParseNewbieRegistered(log types.Log) (*TreasuryRebalanceNewbieRegistered, error)
ParseNewbieRegistered is a log parse operation binding the contract event 0xd261b37cd56b21cd1af841dca6331a133e5d8b9d55c2c6fe0ec822e2a303ef74.
Solidity: event NewbieRegistered(address newbie, uint256 fundAllocation)
func (*TreasuryRebalanceFilterer) ParseNewbieRemoved ¶
func (_TreasuryRebalance *TreasuryRebalanceFilterer) ParseNewbieRemoved(log types.Log) (*TreasuryRebalanceNewbieRemoved, error)
ParseNewbieRemoved is a log parse operation binding the contract event 0xe630072edaed8f0fccf534c7eaa063290db8f775b0824c7261d01e6619da4b38.
Solidity: event NewbieRemoved(address newbie)
func (*TreasuryRebalanceFilterer) ParseOwnershipTransferred ¶
func (_TreasuryRebalance *TreasuryRebalanceFilterer) ParseOwnershipTransferred(log types.Log) (*TreasuryRebalanceOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*TreasuryRebalanceFilterer) ParseRetiredRegistered ¶
func (_TreasuryRebalance *TreasuryRebalanceFilterer) ParseRetiredRegistered(log types.Log) (*TreasuryRebalanceRetiredRegistered, error)
ParseRetiredRegistered is a log parse operation binding the contract event 0x7da2e87d0b02df1162d5736cc40dfcfffd17198aaf093ddff4a8f4eb26002fde.
Solidity: event RetiredRegistered(address retired)
func (*TreasuryRebalanceFilterer) ParseRetiredRemoved ¶
func (_TreasuryRebalance *TreasuryRebalanceFilterer) ParseRetiredRemoved(log types.Log) (*TreasuryRebalanceRetiredRemoved, error)
ParseRetiredRemoved is a log parse operation binding the contract event 0x1f46b11b62ae5cc6363d0d5c2e597c4cb8849543d9126353adb73c5d7215e237.
Solidity: event RetiredRemoved(address retired)
func (*TreasuryRebalanceFilterer) ParseStatusChanged ¶
func (_TreasuryRebalance *TreasuryRebalanceFilterer) ParseStatusChanged(log types.Log) (*TreasuryRebalanceStatusChanged, error)
ParseStatusChanged is a log parse operation binding the contract event 0xafa725e7f44cadb687a7043853fa1a7e7b8f0da74ce87ec546e9420f04da8c1e.
Solidity: event StatusChanged(uint8 status)
func (*TreasuryRebalanceFilterer) WatchApproved ¶
func (_TreasuryRebalance *TreasuryRebalanceFilterer) WatchApproved(opts *bind.WatchOpts, sink chan<- *TreasuryRebalanceApproved) (event.Subscription, error)
WatchApproved is a free log subscription operation binding the contract event 0x80da462ebfbe41cfc9bc015e7a9a3c7a2a73dbccede72d8ceb583606c27f8f90.
Solidity: event Approved(address retired, address approver, uint256 approversCount)
func (*TreasuryRebalanceFilterer) WatchContractDeployed ¶
func (_TreasuryRebalance *TreasuryRebalanceFilterer) WatchContractDeployed(opts *bind.WatchOpts, sink chan<- *TreasuryRebalanceContractDeployed) (event.Subscription, error)
WatchContractDeployed is a free log subscription operation binding the contract event 0x6f182006c5a12fe70c0728eedb2d1b0628c41483ca6721c606707d778d22ed0a.
Solidity: event ContractDeployed(uint8 status, uint256 rebalanceBlockNumber, uint256 deployedBlockNumber)
func (*TreasuryRebalanceFilterer) WatchFinalized ¶
func (_TreasuryRebalance *TreasuryRebalanceFilterer) WatchFinalized(opts *bind.WatchOpts, sink chan<- *TreasuryRebalanceFinalized) (event.Subscription, error)
WatchFinalized is a free log subscription operation binding the contract event 0x8f8636c7757ca9b7d154e1d44ca90d8e8c885b9eac417c59bbf8eb7779ca6404.
Solidity: event Finalized(string memo, uint8 status)
func (*TreasuryRebalanceFilterer) WatchNewbieRegistered ¶
func (_TreasuryRebalance *TreasuryRebalanceFilterer) WatchNewbieRegistered(opts *bind.WatchOpts, sink chan<- *TreasuryRebalanceNewbieRegistered) (event.Subscription, error)
WatchNewbieRegistered is a free log subscription operation binding the contract event 0xd261b37cd56b21cd1af841dca6331a133e5d8b9d55c2c6fe0ec822e2a303ef74.
Solidity: event NewbieRegistered(address newbie, uint256 fundAllocation)
func (*TreasuryRebalanceFilterer) WatchNewbieRemoved ¶
func (_TreasuryRebalance *TreasuryRebalanceFilterer) WatchNewbieRemoved(opts *bind.WatchOpts, sink chan<- *TreasuryRebalanceNewbieRemoved) (event.Subscription, error)
WatchNewbieRemoved is a free log subscription operation binding the contract event 0xe630072edaed8f0fccf534c7eaa063290db8f775b0824c7261d01e6619da4b38.
Solidity: event NewbieRemoved(address newbie)
func (*TreasuryRebalanceFilterer) WatchOwnershipTransferred ¶
func (_TreasuryRebalance *TreasuryRebalanceFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *TreasuryRebalanceOwnershipTransferred, 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)
func (*TreasuryRebalanceFilterer) WatchRetiredRegistered ¶
func (_TreasuryRebalance *TreasuryRebalanceFilterer) WatchRetiredRegistered(opts *bind.WatchOpts, sink chan<- *TreasuryRebalanceRetiredRegistered) (event.Subscription, error)
WatchRetiredRegistered is a free log subscription operation binding the contract event 0x7da2e87d0b02df1162d5736cc40dfcfffd17198aaf093ddff4a8f4eb26002fde.
Solidity: event RetiredRegistered(address retired)
func (*TreasuryRebalanceFilterer) WatchRetiredRemoved ¶
func (_TreasuryRebalance *TreasuryRebalanceFilterer) WatchRetiredRemoved(opts *bind.WatchOpts, sink chan<- *TreasuryRebalanceRetiredRemoved) (event.Subscription, error)
WatchRetiredRemoved is a free log subscription operation binding the contract event 0x1f46b11b62ae5cc6363d0d5c2e597c4cb8849543d9126353adb73c5d7215e237.
Solidity: event RetiredRemoved(address retired)
func (*TreasuryRebalanceFilterer) WatchStatusChanged ¶
func (_TreasuryRebalance *TreasuryRebalanceFilterer) WatchStatusChanged(opts *bind.WatchOpts, sink chan<- *TreasuryRebalanceStatusChanged) (event.Subscription, error)
WatchStatusChanged is a free log subscription operation binding the contract event 0xafa725e7f44cadb687a7043853fa1a7e7b8f0da74ce87ec546e9420f04da8c1e.
Solidity: event StatusChanged(uint8 status)
type TreasuryRebalanceFinalized ¶
type TreasuryRebalanceFinalized struct { Memo string Status uint8 Raw types.Log // Blockchain specific contextual infos }
TreasuryRebalanceFinalized represents a Finalized event raised by the TreasuryRebalance contract.
type TreasuryRebalanceFinalizedIterator ¶
type TreasuryRebalanceFinalizedIterator struct { Event *TreasuryRebalanceFinalized // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TreasuryRebalanceFinalizedIterator is returned from FilterFinalized and is used to iterate over the raw logs and unpacked data for Finalized events raised by the TreasuryRebalance contract.
func (*TreasuryRebalanceFinalizedIterator) Close ¶
func (it *TreasuryRebalanceFinalizedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TreasuryRebalanceFinalizedIterator) Error ¶
func (it *TreasuryRebalanceFinalizedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TreasuryRebalanceFinalizedIterator) Next ¶
func (it *TreasuryRebalanceFinalizedIterator) 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 TreasuryRebalanceNewbieRegistered ¶
type TreasuryRebalanceNewbieRegistered struct { Newbie common.Address FundAllocation *big.Int Raw types.Log // Blockchain specific contextual infos }
TreasuryRebalanceNewbieRegistered represents a NewbieRegistered event raised by the TreasuryRebalance contract.
type TreasuryRebalanceNewbieRegisteredIterator ¶
type TreasuryRebalanceNewbieRegisteredIterator struct { Event *TreasuryRebalanceNewbieRegistered // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TreasuryRebalanceNewbieRegisteredIterator is returned from FilterNewbieRegistered and is used to iterate over the raw logs and unpacked data for NewbieRegistered events raised by the TreasuryRebalance contract.
func (*TreasuryRebalanceNewbieRegisteredIterator) Close ¶
func (it *TreasuryRebalanceNewbieRegisteredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TreasuryRebalanceNewbieRegisteredIterator) Error ¶
func (it *TreasuryRebalanceNewbieRegisteredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TreasuryRebalanceNewbieRegisteredIterator) Next ¶
func (it *TreasuryRebalanceNewbieRegisteredIterator) 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 TreasuryRebalanceNewbieRemoved ¶
type TreasuryRebalanceNewbieRemoved struct { Newbie common.Address Raw types.Log // Blockchain specific contextual infos }
TreasuryRebalanceNewbieRemoved represents a NewbieRemoved event raised by the TreasuryRebalance contract.
type TreasuryRebalanceNewbieRemovedIterator ¶
type TreasuryRebalanceNewbieRemovedIterator struct { Event *TreasuryRebalanceNewbieRemoved // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TreasuryRebalanceNewbieRemovedIterator is returned from FilterNewbieRemoved and is used to iterate over the raw logs and unpacked data for NewbieRemoved events raised by the TreasuryRebalance contract.
func (*TreasuryRebalanceNewbieRemovedIterator) Close ¶
func (it *TreasuryRebalanceNewbieRemovedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TreasuryRebalanceNewbieRemovedIterator) Error ¶
func (it *TreasuryRebalanceNewbieRemovedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TreasuryRebalanceNewbieRemovedIterator) Next ¶
func (it *TreasuryRebalanceNewbieRemovedIterator) 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 TreasuryRebalanceOwnershipTransferred ¶
type TreasuryRebalanceOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
TreasuryRebalanceOwnershipTransferred represents a OwnershipTransferred event raised by the TreasuryRebalance contract.
type TreasuryRebalanceOwnershipTransferredIterator ¶
type TreasuryRebalanceOwnershipTransferredIterator struct { Event *TreasuryRebalanceOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TreasuryRebalanceOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the TreasuryRebalance contract.
func (*TreasuryRebalanceOwnershipTransferredIterator) Close ¶
func (it *TreasuryRebalanceOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TreasuryRebalanceOwnershipTransferredIterator) Error ¶
func (it *TreasuryRebalanceOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TreasuryRebalanceOwnershipTransferredIterator) Next ¶
func (it *TreasuryRebalanceOwnershipTransferredIterator) 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 TreasuryRebalanceRaw ¶
type TreasuryRebalanceRaw struct {
Contract *TreasuryRebalance // Generic contract binding to access the raw methods on
}
TreasuryRebalanceRaw is an auto generated low-level Go binding around a Klaytn contract.
func (*TreasuryRebalanceRaw) Call ¶
func (_TreasuryRebalance *TreasuryRebalanceRaw) 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 (*TreasuryRebalanceRaw) Transact ¶
func (_TreasuryRebalance *TreasuryRebalanceRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*TreasuryRebalanceRaw) Transfer ¶
func (_TreasuryRebalance *TreasuryRebalanceRaw) 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 TreasuryRebalanceRetiredRegistered ¶
type TreasuryRebalanceRetiredRegistered struct { Retired common.Address Raw types.Log // Blockchain specific contextual infos }
TreasuryRebalanceRetiredRegistered represents a RetiredRegistered event raised by the TreasuryRebalance contract.
type TreasuryRebalanceRetiredRegisteredIterator ¶
type TreasuryRebalanceRetiredRegisteredIterator struct { Event *TreasuryRebalanceRetiredRegistered // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TreasuryRebalanceRetiredRegisteredIterator is returned from FilterRetiredRegistered and is used to iterate over the raw logs and unpacked data for RetiredRegistered events raised by the TreasuryRebalance contract.
func (*TreasuryRebalanceRetiredRegisteredIterator) Close ¶
func (it *TreasuryRebalanceRetiredRegisteredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TreasuryRebalanceRetiredRegisteredIterator) Error ¶
func (it *TreasuryRebalanceRetiredRegisteredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TreasuryRebalanceRetiredRegisteredIterator) Next ¶
func (it *TreasuryRebalanceRetiredRegisteredIterator) 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 TreasuryRebalanceRetiredRemoved ¶
type TreasuryRebalanceRetiredRemoved struct { Retired common.Address Raw types.Log // Blockchain specific contextual infos }
TreasuryRebalanceRetiredRemoved represents a RetiredRemoved event raised by the TreasuryRebalance contract.
type TreasuryRebalanceRetiredRemovedIterator ¶
type TreasuryRebalanceRetiredRemovedIterator struct { Event *TreasuryRebalanceRetiredRemoved // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TreasuryRebalanceRetiredRemovedIterator is returned from FilterRetiredRemoved and is used to iterate over the raw logs and unpacked data for RetiredRemoved events raised by the TreasuryRebalance contract.
func (*TreasuryRebalanceRetiredRemovedIterator) Close ¶
func (it *TreasuryRebalanceRetiredRemovedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TreasuryRebalanceRetiredRemovedIterator) Error ¶
func (it *TreasuryRebalanceRetiredRemovedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TreasuryRebalanceRetiredRemovedIterator) Next ¶
func (it *TreasuryRebalanceRetiredRemovedIterator) 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 TreasuryRebalanceSession ¶
type TreasuryRebalanceSession struct { Contract *TreasuryRebalance // 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 }
TreasuryRebalanceSession is an auto generated Go binding around a Klaytn contract, with pre-set call and transact options.
func (*TreasuryRebalanceSession) Approve ¶
func (_TreasuryRebalance *TreasuryRebalanceSession) Approve(_retiredAddress common.Address) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0xdaea85c5.
Solidity: function approve(address _retiredAddress) returns()
func (*TreasuryRebalanceSession) CheckRetiredsApproved ¶
func (_TreasuryRebalance *TreasuryRebalanceSession) CheckRetiredsApproved() error
CheckRetiredsApproved is a free data retrieval call binding the contract method 0x966e0794.
Solidity: function checkRetiredsApproved() view returns()
func (*TreasuryRebalanceSession) Fallback ¶
func (_TreasuryRebalance *TreasuryRebalanceSession) Fallback(calldata []byte) (*types.Transaction, error)
Fallback is a paid mutator transaction binding the contract fallback function.
Solidity: fallback() payable returns()
func (*TreasuryRebalanceSession) FinalizeApproval ¶
func (_TreasuryRebalance *TreasuryRebalanceSession) FinalizeApproval() (*types.Transaction, error)
FinalizeApproval is a paid mutator transaction binding the contract method 0xfaaf9ca6.
Solidity: function finalizeApproval() returns()
func (*TreasuryRebalanceSession) FinalizeContract ¶
func (_TreasuryRebalance *TreasuryRebalanceSession) FinalizeContract(_memo string) (*types.Transaction, error)
FinalizeContract is a paid mutator transaction binding the contract method 0xea6d4a9b.
Solidity: function finalizeContract(string _memo) returns()
func (*TreasuryRebalanceSession) FinalizeRegistration ¶
func (_TreasuryRebalance *TreasuryRebalanceSession) FinalizeRegistration() (*types.Transaction, error)
FinalizeRegistration is a paid mutator transaction binding the contract method 0x48409096.
Solidity: function finalizeRegistration() returns()
func (*TreasuryRebalanceSession) GetNewbie ¶
func (_TreasuryRebalance *TreasuryRebalanceSession) GetNewbie(_newbieAddress common.Address) (common.Address, *big.Int, error)
GetNewbie is a free data retrieval call binding the contract method 0xeb5a8e55.
Solidity: function getNewbie(address _newbieAddress) view returns(address, uint256)
func (*TreasuryRebalanceSession) GetNewbieCount ¶
func (_TreasuryRebalance *TreasuryRebalanceSession) GetNewbieCount() (*big.Int, error)
GetNewbieCount is a free data retrieval call binding the contract method 0x91734d86.
Solidity: function getNewbieCount() view returns(uint256)
func (*TreasuryRebalanceSession) GetNewbieIndex ¶
func (_TreasuryRebalance *TreasuryRebalanceSession) GetNewbieIndex(_newbieAddress common.Address) (*big.Int, error)
GetNewbieIndex is a free data retrieval call binding the contract method 0x11f5c466.
Solidity: function getNewbieIndex(address _newbieAddress) view returns(uint256)
func (*TreasuryRebalanceSession) GetRetired ¶
func (_TreasuryRebalance *TreasuryRebalanceSession) GetRetired(_retiredAddress common.Address) (common.Address, []common.Address, error)
GetRetired is a free data retrieval call binding the contract method 0xbf680590.
Solidity: function getRetired(address _retiredAddress) view returns(address, address[])
func (*TreasuryRebalanceSession) GetRetiredCount ¶
func (_TreasuryRebalance *TreasuryRebalanceSession) GetRetiredCount() (*big.Int, error)
GetRetiredCount is a free data retrieval call binding the contract method 0xd1ed33fc.
Solidity: function getRetiredCount() view returns(uint256)
func (*TreasuryRebalanceSession) GetRetiredIndex ¶
func (_TreasuryRebalance *TreasuryRebalanceSession) GetRetiredIndex(_retiredAddress common.Address) (*big.Int, error)
GetRetiredIndex is a free data retrieval call binding the contract method 0x681f6e7c.
Solidity: function getRetiredIndex(address _retiredAddress) view returns(uint256)
func (*TreasuryRebalanceSession) GetTreasuryAmount ¶
func (_TreasuryRebalance *TreasuryRebalanceSession) GetTreasuryAmount() (*big.Int, error)
GetTreasuryAmount is a free data retrieval call binding the contract method 0xe20fcf00.
Solidity: function getTreasuryAmount() view returns(uint256 treasuryAmount)
func (*TreasuryRebalanceSession) IsContractAddr ¶
func (_TreasuryRebalance *TreasuryRebalanceSession) IsContractAddr(_addr common.Address) (bool, error)
IsContractAddr is a free data retrieval call binding the contract method 0xe2384cb3.
Solidity: function isContractAddr(address _addr) view returns(bool)
func (*TreasuryRebalanceSession) IsOwner ¶
func (_TreasuryRebalance *TreasuryRebalanceSession) IsOwner() (bool, error)
IsOwner is a free data retrieval call binding the contract method 0x8f32d59b.
Solidity: function isOwner() view returns(bool)
func (*TreasuryRebalanceSession) Memo ¶
func (_TreasuryRebalance *TreasuryRebalanceSession) Memo() (string, error)
Memo is a free data retrieval call binding the contract method 0x58c3b870.
Solidity: function memo() view returns(string)
func (*TreasuryRebalanceSession) NewbieExists ¶
func (_TreasuryRebalance *TreasuryRebalanceSession) NewbieExists(_newbieAddress common.Address) (bool, error)
NewbieExists is a free data retrieval call binding the contract method 0x683e13cb.
Solidity: function newbieExists(address _newbieAddress) view returns(bool)
func (*TreasuryRebalanceSession) Newbies ¶
func (_TreasuryRebalance *TreasuryRebalanceSession) Newbies(arg0 *big.Int) (struct { Newbie common.Address Amount *big.Int }, error)
Newbies is a free data retrieval call binding the contract method 0x94393e11.
Solidity: function newbies(uint256 ) view returns(address newbie, uint256 amount)
func (*TreasuryRebalanceSession) Owner ¶
func (_TreasuryRebalance *TreasuryRebalanceSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*TreasuryRebalanceSession) RebalanceBlockNumber ¶
func (_TreasuryRebalance *TreasuryRebalanceSession) RebalanceBlockNumber() (*big.Int, error)
RebalanceBlockNumber is a free data retrieval call binding the contract method 0x49a3fb45.
Solidity: function rebalanceBlockNumber() view returns(uint256)
func (*TreasuryRebalanceSession) RegisterNewbie ¶
func (_TreasuryRebalance *TreasuryRebalanceSession) RegisterNewbie(_newbieAddress common.Address, _amount *big.Int) (*types.Transaction, error)
RegisterNewbie is a paid mutator transaction binding the contract method 0x652e27e0.
Solidity: function registerNewbie(address _newbieAddress, uint256 _amount) returns()
func (*TreasuryRebalanceSession) RegisterRetired ¶
func (_TreasuryRebalance *TreasuryRebalanceSession) RegisterRetired(_retiredAddress common.Address) (*types.Transaction, error)
RegisterRetired is a paid mutator transaction binding the contract method 0x1f8c1798.
Solidity: function registerRetired(address _retiredAddress) returns()
func (*TreasuryRebalanceSession) RemoveNewbie ¶
func (_TreasuryRebalance *TreasuryRebalanceSession) RemoveNewbie(_newbieAddress common.Address) (*types.Transaction, error)
RemoveNewbie is a paid mutator transaction binding the contract method 0x6864b95b.
Solidity: function removeNewbie(address _newbieAddress) returns()
func (*TreasuryRebalanceSession) RemoveRetired ¶
func (_TreasuryRebalance *TreasuryRebalanceSession) RemoveRetired(_retiredAddress common.Address) (*types.Transaction, error)
RemoveRetired is a paid mutator transaction binding the contract method 0x1c1dac59.
Solidity: function removeRetired(address _retiredAddress) returns()
func (*TreasuryRebalanceSession) RenounceOwnership ¶
func (_TreasuryRebalance *TreasuryRebalanceSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*TreasuryRebalanceSession) Reset ¶
func (_TreasuryRebalance *TreasuryRebalanceSession) Reset() (*types.Transaction, error)
Reset is a paid mutator transaction binding the contract method 0xd826f88f.
Solidity: function reset() returns()
func (*TreasuryRebalanceSession) RetiredExists ¶
func (_TreasuryRebalance *TreasuryRebalanceSession) RetiredExists(_retiredAddress common.Address) (bool, error)
RetiredExists is a free data retrieval call binding the contract method 0x01784e05.
Solidity: function retiredExists(address _retiredAddress) view returns(bool)
func (*TreasuryRebalanceSession) Retirees ¶
Retirees is a free data retrieval call binding the contract method 0x5a12667b.
Solidity: function retirees(uint256 ) view returns(address retired)
func (*TreasuryRebalanceSession) Status ¶
func (_TreasuryRebalance *TreasuryRebalanceSession) Status() (uint8, error)
Status is a free data retrieval call binding the contract method 0x200d2ed2.
Solidity: function status() view returns(uint8)
func (*TreasuryRebalanceSession) SumOfRetiredBalance ¶
func (_TreasuryRebalance *TreasuryRebalanceSession) SumOfRetiredBalance() (*big.Int, error)
SumOfRetiredBalance is a free data retrieval call binding the contract method 0x45205a6b.
Solidity: function sumOfRetiredBalance() view returns(uint256 retireesBalance)
func (*TreasuryRebalanceSession) TransferOwnership ¶
func (_TreasuryRebalance *TreasuryRebalanceSession) 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 TreasuryRebalanceStatusChanged ¶
type TreasuryRebalanceStatusChanged struct { Status uint8 Raw types.Log // Blockchain specific contextual infos }
TreasuryRebalanceStatusChanged represents a StatusChanged event raised by the TreasuryRebalance contract.
type TreasuryRebalanceStatusChangedIterator ¶
type TreasuryRebalanceStatusChangedIterator struct { Event *TreasuryRebalanceStatusChanged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TreasuryRebalanceStatusChangedIterator is returned from FilterStatusChanged and is used to iterate over the raw logs and unpacked data for StatusChanged events raised by the TreasuryRebalance contract.
func (*TreasuryRebalanceStatusChangedIterator) Close ¶
func (it *TreasuryRebalanceStatusChangedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TreasuryRebalanceStatusChangedIterator) Error ¶
func (it *TreasuryRebalanceStatusChangedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TreasuryRebalanceStatusChangedIterator) Next ¶
func (it *TreasuryRebalanceStatusChangedIterator) 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 TreasuryRebalanceTransactor ¶
type TreasuryRebalanceTransactor struct {
// contains filtered or unexported fields
}
TreasuryRebalanceTransactor is an auto generated write-only Go binding around a Klaytn contract.
func NewTreasuryRebalanceTransactor ¶
func NewTreasuryRebalanceTransactor(address common.Address, transactor bind.ContractTransactor) (*TreasuryRebalanceTransactor, error)
NewTreasuryRebalanceTransactor creates a new write-only instance of TreasuryRebalance, bound to a specific deployed contract.
func (*TreasuryRebalanceTransactor) Approve ¶
func (_TreasuryRebalance *TreasuryRebalanceTransactor) Approve(opts *bind.TransactOpts, _retiredAddress common.Address) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0xdaea85c5.
Solidity: function approve(address _retiredAddress) returns()
func (*TreasuryRebalanceTransactor) Fallback ¶
func (_TreasuryRebalance *TreasuryRebalanceTransactor) Fallback(opts *bind.TransactOpts, calldata []byte) (*types.Transaction, error)
Fallback is a paid mutator transaction binding the contract fallback function.
Solidity: fallback() payable returns()
func (*TreasuryRebalanceTransactor) FinalizeApproval ¶
func (_TreasuryRebalance *TreasuryRebalanceTransactor) FinalizeApproval(opts *bind.TransactOpts) (*types.Transaction, error)
FinalizeApproval is a paid mutator transaction binding the contract method 0xfaaf9ca6.
Solidity: function finalizeApproval() returns()
func (*TreasuryRebalanceTransactor) FinalizeContract ¶
func (_TreasuryRebalance *TreasuryRebalanceTransactor) FinalizeContract(opts *bind.TransactOpts, _memo string) (*types.Transaction, error)
FinalizeContract is a paid mutator transaction binding the contract method 0xea6d4a9b.
Solidity: function finalizeContract(string _memo) returns()
func (*TreasuryRebalanceTransactor) FinalizeRegistration ¶
func (_TreasuryRebalance *TreasuryRebalanceTransactor) FinalizeRegistration(opts *bind.TransactOpts) (*types.Transaction, error)
FinalizeRegistration is a paid mutator transaction binding the contract method 0x48409096.
Solidity: function finalizeRegistration() returns()
func (*TreasuryRebalanceTransactor) RegisterNewbie ¶
func (_TreasuryRebalance *TreasuryRebalanceTransactor) RegisterNewbie(opts *bind.TransactOpts, _newbieAddress common.Address, _amount *big.Int) (*types.Transaction, error)
RegisterNewbie is a paid mutator transaction binding the contract method 0x652e27e0.
Solidity: function registerNewbie(address _newbieAddress, uint256 _amount) returns()
func (*TreasuryRebalanceTransactor) RegisterRetired ¶
func (_TreasuryRebalance *TreasuryRebalanceTransactor) RegisterRetired(opts *bind.TransactOpts, _retiredAddress common.Address) (*types.Transaction, error)
RegisterRetired is a paid mutator transaction binding the contract method 0x1f8c1798.
Solidity: function registerRetired(address _retiredAddress) returns()
func (*TreasuryRebalanceTransactor) RemoveNewbie ¶
func (_TreasuryRebalance *TreasuryRebalanceTransactor) RemoveNewbie(opts *bind.TransactOpts, _newbieAddress common.Address) (*types.Transaction, error)
RemoveNewbie is a paid mutator transaction binding the contract method 0x6864b95b.
Solidity: function removeNewbie(address _newbieAddress) returns()
func (*TreasuryRebalanceTransactor) RemoveRetired ¶
func (_TreasuryRebalance *TreasuryRebalanceTransactor) RemoveRetired(opts *bind.TransactOpts, _retiredAddress common.Address) (*types.Transaction, error)
RemoveRetired is a paid mutator transaction binding the contract method 0x1c1dac59.
Solidity: function removeRetired(address _retiredAddress) returns()
func (*TreasuryRebalanceTransactor) RenounceOwnership ¶
func (_TreasuryRebalance *TreasuryRebalanceTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*TreasuryRebalanceTransactor) Reset ¶
func (_TreasuryRebalance *TreasuryRebalanceTransactor) Reset(opts *bind.TransactOpts) (*types.Transaction, error)
Reset is a paid mutator transaction binding the contract method 0xd826f88f.
Solidity: function reset() returns()
func (*TreasuryRebalanceTransactor) TransferOwnership ¶
func (_TreasuryRebalance *TreasuryRebalanceTransactor) 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 TreasuryRebalanceTransactorRaw ¶
type TreasuryRebalanceTransactorRaw struct {
Contract *TreasuryRebalanceTransactor // Generic write-only contract binding to access the raw methods on
}
TreasuryRebalanceTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract.
func (*TreasuryRebalanceTransactorRaw) Transact ¶
func (_TreasuryRebalance *TreasuryRebalanceTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*TreasuryRebalanceTransactorRaw) Transfer ¶
func (_TreasuryRebalance *TreasuryRebalanceTransactorRaw) 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 TreasuryRebalanceTransactorSession ¶
type TreasuryRebalanceTransactorSession struct { Contract *TreasuryRebalanceTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
TreasuryRebalanceTransactorSession is an auto generated write-only Go binding around a Klaytn contract, with pre-set transact options.
func (*TreasuryRebalanceTransactorSession) Approve ¶
func (_TreasuryRebalance *TreasuryRebalanceTransactorSession) Approve(_retiredAddress common.Address) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0xdaea85c5.
Solidity: function approve(address _retiredAddress) returns()
func (*TreasuryRebalanceTransactorSession) Fallback ¶
func (_TreasuryRebalance *TreasuryRebalanceTransactorSession) Fallback(calldata []byte) (*types.Transaction, error)
Fallback is a paid mutator transaction binding the contract fallback function.
Solidity: fallback() payable returns()
func (*TreasuryRebalanceTransactorSession) FinalizeApproval ¶
func (_TreasuryRebalance *TreasuryRebalanceTransactorSession) FinalizeApproval() (*types.Transaction, error)
FinalizeApproval is a paid mutator transaction binding the contract method 0xfaaf9ca6.
Solidity: function finalizeApproval() returns()
func (*TreasuryRebalanceTransactorSession) FinalizeContract ¶
func (_TreasuryRebalance *TreasuryRebalanceTransactorSession) FinalizeContract(_memo string) (*types.Transaction, error)
FinalizeContract is a paid mutator transaction binding the contract method 0xea6d4a9b.
Solidity: function finalizeContract(string _memo) returns()
func (*TreasuryRebalanceTransactorSession) FinalizeRegistration ¶
func (_TreasuryRebalance *TreasuryRebalanceTransactorSession) FinalizeRegistration() (*types.Transaction, error)
FinalizeRegistration is a paid mutator transaction binding the contract method 0x48409096.
Solidity: function finalizeRegistration() returns()
func (*TreasuryRebalanceTransactorSession) RegisterNewbie ¶
func (_TreasuryRebalance *TreasuryRebalanceTransactorSession) RegisterNewbie(_newbieAddress common.Address, _amount *big.Int) (*types.Transaction, error)
RegisterNewbie is a paid mutator transaction binding the contract method 0x652e27e0.
Solidity: function registerNewbie(address _newbieAddress, uint256 _amount) returns()
func (*TreasuryRebalanceTransactorSession) RegisterRetired ¶
func (_TreasuryRebalance *TreasuryRebalanceTransactorSession) RegisterRetired(_retiredAddress common.Address) (*types.Transaction, error)
RegisterRetired is a paid mutator transaction binding the contract method 0x1f8c1798.
Solidity: function registerRetired(address _retiredAddress) returns()
func (*TreasuryRebalanceTransactorSession) RemoveNewbie ¶
func (_TreasuryRebalance *TreasuryRebalanceTransactorSession) RemoveNewbie(_newbieAddress common.Address) (*types.Transaction, error)
RemoveNewbie is a paid mutator transaction binding the contract method 0x6864b95b.
Solidity: function removeNewbie(address _newbieAddress) returns()
func (*TreasuryRebalanceTransactorSession) RemoveRetired ¶
func (_TreasuryRebalance *TreasuryRebalanceTransactorSession) RemoveRetired(_retiredAddress common.Address) (*types.Transaction, error)
RemoveRetired is a paid mutator transaction binding the contract method 0x1c1dac59.
Solidity: function removeRetired(address _retiredAddress) returns()
func (*TreasuryRebalanceTransactorSession) RenounceOwnership ¶
func (_TreasuryRebalance *TreasuryRebalanceTransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*TreasuryRebalanceTransactorSession) Reset ¶
func (_TreasuryRebalance *TreasuryRebalanceTransactorSession) Reset() (*types.Transaction, error)
Reset is a paid mutator transaction binding the contract method 0xd826f88f.
Solidity: function reset() returns()
func (*TreasuryRebalanceTransactorSession) TransferOwnership ¶
func (_TreasuryRebalance *TreasuryRebalanceTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()