Versions in this module Expand all Collapse all v0 v0.0.1 Dec 9, 2023 Changes in this version + var YieldTokenABI = YieldTokenMetaData.ABI + var YieldTokenMetaData = &bind.MetaData + type YieldToken struct + func NewYieldToken(address common.Address, backend bind.ContractBackend) (*YieldToken, error) + type YieldTokenApproval struct + Owner common.Address + Raw types.Log + Spender common.Address + Value *big.Int + type YieldTokenApprovalIterator struct + Event *YieldTokenApproval + func (it *YieldTokenApprovalIterator) Close() error + func (it *YieldTokenApprovalIterator) Error() error + func (it *YieldTokenApprovalIterator) Next() bool + type YieldTokenCaller struct + func NewYieldTokenCaller(address common.Address, caller bind.ContractCaller) (*YieldTokenCaller, error) + func (_YieldToken *YieldTokenCaller) Admins(opts *bind.CallOpts, arg0 common.Address) (bool, error) + func (_YieldToken *YieldTokenCaller) Allowance(opts *bind.CallOpts, _owner common.Address, _spender common.Address) (*big.Int, error) + func (_YieldToken *YieldTokenCaller) Allowances(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (*big.Int, error) + func (_YieldToken *YieldTokenCaller) BalanceOf(opts *bind.CallOpts, _account common.Address) (*big.Int, error) + func (_YieldToken *YieldTokenCaller) Balances(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error) + func (_YieldToken *YieldTokenCaller) Decimals(opts *bind.CallOpts) (uint8, error) + func (_YieldToken *YieldTokenCaller) Gov(opts *bind.CallOpts) (common.Address, error) + func (_YieldToken *YieldTokenCaller) InWhitelistMode(opts *bind.CallOpts) (bool, error) + func (_YieldToken *YieldTokenCaller) Name(opts *bind.CallOpts) (string, error) + func (_YieldToken *YieldTokenCaller) NonStakingAccounts(opts *bind.CallOpts, arg0 common.Address) (bool, error) + func (_YieldToken *YieldTokenCaller) NonStakingSupply(opts *bind.CallOpts) (*big.Int, error) + func (_YieldToken *YieldTokenCaller) StakedBalance(opts *bind.CallOpts, _account common.Address) (*big.Int, error) + func (_YieldToken *YieldTokenCaller) Symbol(opts *bind.CallOpts) (string, error) + func (_YieldToken *YieldTokenCaller) TotalStaked(opts *bind.CallOpts) (*big.Int, error) + func (_YieldToken *YieldTokenCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error) + func (_YieldToken *YieldTokenCaller) WhitelistedHandlers(opts *bind.CallOpts, arg0 common.Address) (bool, error) + func (_YieldToken *YieldTokenCaller) YieldTrackers(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error) + type YieldTokenCallerRaw struct + Contract *YieldTokenCaller + func (_YieldToken *YieldTokenCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error + type YieldTokenCallerSession struct + CallOpts bind.CallOpts + Contract *YieldTokenCaller + func (_YieldToken *YieldTokenCallerSession) Admins(arg0 common.Address) (bool, error) + func (_YieldToken *YieldTokenCallerSession) Allowance(_owner common.Address, _spender common.Address) (*big.Int, error) + func (_YieldToken *YieldTokenCallerSession) Allowances(arg0 common.Address, arg1 common.Address) (*big.Int, error) + func (_YieldToken *YieldTokenCallerSession) BalanceOf(_account common.Address) (*big.Int, error) + func (_YieldToken *YieldTokenCallerSession) Balances(arg0 common.Address) (*big.Int, error) + func (_YieldToken *YieldTokenCallerSession) Decimals() (uint8, error) + func (_YieldToken *YieldTokenCallerSession) Gov() (common.Address, error) + func (_YieldToken *YieldTokenCallerSession) InWhitelistMode() (bool, error) + func (_YieldToken *YieldTokenCallerSession) Name() (string, error) + func (_YieldToken *YieldTokenCallerSession) NonStakingAccounts(arg0 common.Address) (bool, error) + func (_YieldToken *YieldTokenCallerSession) NonStakingSupply() (*big.Int, error) + func (_YieldToken *YieldTokenCallerSession) StakedBalance(_account common.Address) (*big.Int, error) + func (_YieldToken *YieldTokenCallerSession) Symbol() (string, error) + func (_YieldToken *YieldTokenCallerSession) TotalStaked() (*big.Int, error) + func (_YieldToken *YieldTokenCallerSession) TotalSupply() (*big.Int, error) + func (_YieldToken *YieldTokenCallerSession) WhitelistedHandlers(arg0 common.Address) (bool, error) + func (_YieldToken *YieldTokenCallerSession) YieldTrackers(arg0 *big.Int) (common.Address, error) + type YieldTokenFilterer struct + func NewYieldTokenFilterer(address common.Address, filterer bind.ContractFilterer) (*YieldTokenFilterer, error) + func (_YieldToken *YieldTokenFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*YieldTokenApprovalIterator, error) + func (_YieldToken *YieldTokenFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*YieldTokenTransferIterator, error) + func (_YieldToken *YieldTokenFilterer) ParseApproval(log types.Log) (*YieldTokenApproval, error) + func (_YieldToken *YieldTokenFilterer) ParseTransfer(log types.Log) (*YieldTokenTransfer, error) + func (_YieldToken *YieldTokenFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *YieldTokenApproval, owner []common.Address, ...) (event.Subscription, error) + func (_YieldToken *YieldTokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *YieldTokenTransfer, from []common.Address, ...) (event.Subscription, error) + type YieldTokenRaw struct + Contract *YieldToken + func (_YieldToken *YieldTokenRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error + func (_YieldToken *YieldTokenRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) + func (_YieldToken *YieldTokenRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) + type YieldTokenSession struct + CallOpts bind.CallOpts + Contract *YieldToken + TransactOpts bind.TransactOpts + func (_YieldToken *YieldTokenSession) AddAdmin(_account common.Address) (*types.Transaction, error) + func (_YieldToken *YieldTokenSession) AddNonStakingAccount(_account common.Address) (*types.Transaction, error) + func (_YieldToken *YieldTokenSession) Admins(arg0 common.Address) (bool, error) + func (_YieldToken *YieldTokenSession) Allowance(_owner common.Address, _spender common.Address) (*big.Int, error) + func (_YieldToken *YieldTokenSession) Allowances(arg0 common.Address, arg1 common.Address) (*big.Int, error) + func (_YieldToken *YieldTokenSession) Approve(_spender common.Address, _amount *big.Int) (*types.Transaction, error) + func (_YieldToken *YieldTokenSession) BalanceOf(_account common.Address) (*big.Int, error) + func (_YieldToken *YieldTokenSession) Balances(arg0 common.Address) (*big.Int, error) + func (_YieldToken *YieldTokenSession) Claim(_receiver common.Address) (*types.Transaction, error) + func (_YieldToken *YieldTokenSession) Decimals() (uint8, error) + func (_YieldToken *YieldTokenSession) Gov() (common.Address, error) + func (_YieldToken *YieldTokenSession) InWhitelistMode() (bool, error) + func (_YieldToken *YieldTokenSession) Name() (string, error) + func (_YieldToken *YieldTokenSession) NonStakingAccounts(arg0 common.Address) (bool, error) + func (_YieldToken *YieldTokenSession) NonStakingSupply() (*big.Int, error) + func (_YieldToken *YieldTokenSession) RecoverClaim(_account common.Address, _receiver common.Address) (*types.Transaction, error) + func (_YieldToken *YieldTokenSession) RemoveAdmin(_account common.Address) (*types.Transaction, error) + func (_YieldToken *YieldTokenSession) RemoveNonStakingAccount(_account common.Address) (*types.Transaction, error) + func (_YieldToken *YieldTokenSession) SetGov(_gov common.Address) (*types.Transaction, error) + func (_YieldToken *YieldTokenSession) SetInWhitelistMode(_inWhitelistMode bool) (*types.Transaction, error) + func (_YieldToken *YieldTokenSession) SetInfo(_name string, _symbol string) (*types.Transaction, error) + func (_YieldToken *YieldTokenSession) SetWhitelistedHandler(_handler common.Address, _isWhitelisted bool) (*types.Transaction, error) + func (_YieldToken *YieldTokenSession) SetYieldTrackers(_yieldTrackers []common.Address) (*types.Transaction, error) + func (_YieldToken *YieldTokenSession) StakedBalance(_account common.Address) (*big.Int, error) + func (_YieldToken *YieldTokenSession) Symbol() (string, error) + func (_YieldToken *YieldTokenSession) TotalStaked() (*big.Int, error) + func (_YieldToken *YieldTokenSession) TotalSupply() (*big.Int, error) + func (_YieldToken *YieldTokenSession) Transfer(_recipient common.Address, _amount *big.Int) (*types.Transaction, error) + func (_YieldToken *YieldTokenSession) TransferFrom(_sender common.Address, _recipient common.Address, _amount *big.Int) (*types.Transaction, error) + func (_YieldToken *YieldTokenSession) WhitelistedHandlers(arg0 common.Address) (bool, error) + func (_YieldToken *YieldTokenSession) WithdrawToken(_token common.Address, _account common.Address, _amount *big.Int) (*types.Transaction, error) + func (_YieldToken *YieldTokenSession) YieldTrackers(arg0 *big.Int) (common.Address, error) + type YieldTokenTransactor struct + func NewYieldTokenTransactor(address common.Address, transactor bind.ContractTransactor) (*YieldTokenTransactor, error) + func (_YieldToken *YieldTokenTransactor) AddAdmin(opts *bind.TransactOpts, _account common.Address) (*types.Transaction, error) + func (_YieldToken *YieldTokenTransactor) AddNonStakingAccount(opts *bind.TransactOpts, _account common.Address) (*types.Transaction, error) + func (_YieldToken *YieldTokenTransactor) Approve(opts *bind.TransactOpts, _spender common.Address, _amount *big.Int) (*types.Transaction, error) + func (_YieldToken *YieldTokenTransactor) Claim(opts *bind.TransactOpts, _receiver common.Address) (*types.Transaction, error) + func (_YieldToken *YieldTokenTransactor) RecoverClaim(opts *bind.TransactOpts, _account common.Address, _receiver common.Address) (*types.Transaction, error) + func (_YieldToken *YieldTokenTransactor) RemoveAdmin(opts *bind.TransactOpts, _account common.Address) (*types.Transaction, error) + func (_YieldToken *YieldTokenTransactor) RemoveNonStakingAccount(opts *bind.TransactOpts, _account common.Address) (*types.Transaction, error) + func (_YieldToken *YieldTokenTransactor) SetGov(opts *bind.TransactOpts, _gov common.Address) (*types.Transaction, error) + func (_YieldToken *YieldTokenTransactor) SetInWhitelistMode(opts *bind.TransactOpts, _inWhitelistMode bool) (*types.Transaction, error) + func (_YieldToken *YieldTokenTransactor) SetInfo(opts *bind.TransactOpts, _name string, _symbol string) (*types.Transaction, error) + func (_YieldToken *YieldTokenTransactor) SetWhitelistedHandler(opts *bind.TransactOpts, _handler common.Address, _isWhitelisted bool) (*types.Transaction, error) + func (_YieldToken *YieldTokenTransactor) SetYieldTrackers(opts *bind.TransactOpts, _yieldTrackers []common.Address) (*types.Transaction, error) + func (_YieldToken *YieldTokenTransactor) Transfer(opts *bind.TransactOpts, _recipient common.Address, _amount *big.Int) (*types.Transaction, error) + func (_YieldToken *YieldTokenTransactor) TransferFrom(opts *bind.TransactOpts, _sender common.Address, _recipient common.Address, ...) (*types.Transaction, error) + func (_YieldToken *YieldTokenTransactor) WithdrawToken(opts *bind.TransactOpts, _token common.Address, _account common.Address, ...) (*types.Transaction, error) + type YieldTokenTransactorRaw struct + Contract *YieldTokenTransactor + func (_YieldToken *YieldTokenTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) + func (_YieldToken *YieldTokenTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) + type YieldTokenTransactorSession struct + Contract *YieldTokenTransactor + TransactOpts bind.TransactOpts + func (_YieldToken *YieldTokenTransactorSession) AddAdmin(_account common.Address) (*types.Transaction, error) + func (_YieldToken *YieldTokenTransactorSession) AddNonStakingAccount(_account common.Address) (*types.Transaction, error) + func (_YieldToken *YieldTokenTransactorSession) Approve(_spender common.Address, _amount *big.Int) (*types.Transaction, error) + func (_YieldToken *YieldTokenTransactorSession) Claim(_receiver common.Address) (*types.Transaction, error) + func (_YieldToken *YieldTokenTransactorSession) RecoverClaim(_account common.Address, _receiver common.Address) (*types.Transaction, error) + func (_YieldToken *YieldTokenTransactorSession) RemoveAdmin(_account common.Address) (*types.Transaction, error) + func (_YieldToken *YieldTokenTransactorSession) RemoveNonStakingAccount(_account common.Address) (*types.Transaction, error) + func (_YieldToken *YieldTokenTransactorSession) SetGov(_gov common.Address) (*types.Transaction, error) + func (_YieldToken *YieldTokenTransactorSession) SetInWhitelistMode(_inWhitelistMode bool) (*types.Transaction, error) + func (_YieldToken *YieldTokenTransactorSession) SetInfo(_name string, _symbol string) (*types.Transaction, error) + func (_YieldToken *YieldTokenTransactorSession) SetWhitelistedHandler(_handler common.Address, _isWhitelisted bool) (*types.Transaction, error) + func (_YieldToken *YieldTokenTransactorSession) SetYieldTrackers(_yieldTrackers []common.Address) (*types.Transaction, error) + func (_YieldToken *YieldTokenTransactorSession) Transfer(_recipient common.Address, _amount *big.Int) (*types.Transaction, error) + func (_YieldToken *YieldTokenTransactorSession) TransferFrom(_sender common.Address, _recipient common.Address, _amount *big.Int) (*types.Transaction, error) + func (_YieldToken *YieldTokenTransactorSession) WithdrawToken(_token common.Address, _account common.Address, _amount *big.Int) (*types.Transaction, error) + type YieldTokenTransfer struct + From common.Address + Raw types.Log + To common.Address + Value *big.Int + type YieldTokenTransferIterator struct + Event *YieldTokenTransfer + func (it *YieldTokenTransferIterator) Close() error + func (it *YieldTokenTransferIterator) Error() error + func (it *YieldTokenTransferIterator) Next() bool