Versions in this module Expand all Collapse all v0 v0.0.1 Dec 9, 2023 Changes in this version + var YieldFarmABI = YieldFarmMetaData.ABI + var YieldFarmMetaData = &bind.MetaData + type YieldFarm struct + func NewYieldFarm(address common.Address, backend bind.ContractBackend) (*YieldFarm, error) + type YieldFarmApproval struct + Owner common.Address + Raw types.Log + Spender common.Address + Value *big.Int + type YieldFarmApprovalIterator struct + Event *YieldFarmApproval + func (it *YieldFarmApprovalIterator) Close() error + func (it *YieldFarmApprovalIterator) Error() error + func (it *YieldFarmApprovalIterator) Next() bool + type YieldFarmCaller struct + func NewYieldFarmCaller(address common.Address, caller bind.ContractCaller) (*YieldFarmCaller, error) + func (_YieldFarm *YieldFarmCaller) Admins(opts *bind.CallOpts, arg0 common.Address) (bool, error) + func (_YieldFarm *YieldFarmCaller) Allowance(opts *bind.CallOpts, _owner common.Address, _spender common.Address) (*big.Int, error) + func (_YieldFarm *YieldFarmCaller) Allowances(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (*big.Int, error) + func (_YieldFarm *YieldFarmCaller) BalanceOf(opts *bind.CallOpts, _account common.Address) (*big.Int, error) + func (_YieldFarm *YieldFarmCaller) Balances(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error) + func (_YieldFarm *YieldFarmCaller) Decimals(opts *bind.CallOpts) (uint8, error) + func (_YieldFarm *YieldFarmCaller) Gov(opts *bind.CallOpts) (common.Address, error) + func (_YieldFarm *YieldFarmCaller) InWhitelistMode(opts *bind.CallOpts) (bool, error) + func (_YieldFarm *YieldFarmCaller) Name(opts *bind.CallOpts) (string, error) + func (_YieldFarm *YieldFarmCaller) NonStakingAccounts(opts *bind.CallOpts, arg0 common.Address) (bool, error) + func (_YieldFarm *YieldFarmCaller) NonStakingSupply(opts *bind.CallOpts) (*big.Int, error) + func (_YieldFarm *YieldFarmCaller) StakedBalance(opts *bind.CallOpts, _account common.Address) (*big.Int, error) + func (_YieldFarm *YieldFarmCaller) StakingToken(opts *bind.CallOpts) (common.Address, error) + func (_YieldFarm *YieldFarmCaller) Symbol(opts *bind.CallOpts) (string, error) + func (_YieldFarm *YieldFarmCaller) TotalStaked(opts *bind.CallOpts) (*big.Int, error) + func (_YieldFarm *YieldFarmCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error) + func (_YieldFarm *YieldFarmCaller) WhitelistedHandlers(opts *bind.CallOpts, arg0 common.Address) (bool, error) + func (_YieldFarm *YieldFarmCaller) YieldTrackers(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error) + type YieldFarmCallerRaw struct + Contract *YieldFarmCaller + func (_YieldFarm *YieldFarmCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error + type YieldFarmCallerSession struct + CallOpts bind.CallOpts + Contract *YieldFarmCaller + func (_YieldFarm *YieldFarmCallerSession) Admins(arg0 common.Address) (bool, error) + func (_YieldFarm *YieldFarmCallerSession) Allowance(_owner common.Address, _spender common.Address) (*big.Int, error) + func (_YieldFarm *YieldFarmCallerSession) Allowances(arg0 common.Address, arg1 common.Address) (*big.Int, error) + func (_YieldFarm *YieldFarmCallerSession) BalanceOf(_account common.Address) (*big.Int, error) + func (_YieldFarm *YieldFarmCallerSession) Balances(arg0 common.Address) (*big.Int, error) + func (_YieldFarm *YieldFarmCallerSession) Decimals() (uint8, error) + func (_YieldFarm *YieldFarmCallerSession) Gov() (common.Address, error) + func (_YieldFarm *YieldFarmCallerSession) InWhitelistMode() (bool, error) + func (_YieldFarm *YieldFarmCallerSession) Name() (string, error) + func (_YieldFarm *YieldFarmCallerSession) NonStakingAccounts(arg0 common.Address) (bool, error) + func (_YieldFarm *YieldFarmCallerSession) NonStakingSupply() (*big.Int, error) + func (_YieldFarm *YieldFarmCallerSession) StakedBalance(_account common.Address) (*big.Int, error) + func (_YieldFarm *YieldFarmCallerSession) StakingToken() (common.Address, error) + func (_YieldFarm *YieldFarmCallerSession) Symbol() (string, error) + func (_YieldFarm *YieldFarmCallerSession) TotalStaked() (*big.Int, error) + func (_YieldFarm *YieldFarmCallerSession) TotalSupply() (*big.Int, error) + func (_YieldFarm *YieldFarmCallerSession) WhitelistedHandlers(arg0 common.Address) (bool, error) + func (_YieldFarm *YieldFarmCallerSession) YieldTrackers(arg0 *big.Int) (common.Address, error) + type YieldFarmFilterer struct + func NewYieldFarmFilterer(address common.Address, filterer bind.ContractFilterer) (*YieldFarmFilterer, error) + func (_YieldFarm *YieldFarmFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*YieldFarmApprovalIterator, error) + func (_YieldFarm *YieldFarmFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*YieldFarmTransferIterator, error) + func (_YieldFarm *YieldFarmFilterer) ParseApproval(log types.Log) (*YieldFarmApproval, error) + func (_YieldFarm *YieldFarmFilterer) ParseTransfer(log types.Log) (*YieldFarmTransfer, error) + func (_YieldFarm *YieldFarmFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *YieldFarmApproval, owner []common.Address, ...) (event.Subscription, error) + func (_YieldFarm *YieldFarmFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *YieldFarmTransfer, from []common.Address, ...) (event.Subscription, error) + type YieldFarmRaw struct + Contract *YieldFarm + func (_YieldFarm *YieldFarmRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error + func (_YieldFarm *YieldFarmRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) + func (_YieldFarm *YieldFarmRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) + type YieldFarmSession struct + CallOpts bind.CallOpts + Contract *YieldFarm + TransactOpts bind.TransactOpts + func (_YieldFarm *YieldFarmSession) AddAdmin(_account common.Address) (*types.Transaction, error) + func (_YieldFarm *YieldFarmSession) AddNonStakingAccount(_account common.Address) (*types.Transaction, error) + func (_YieldFarm *YieldFarmSession) Admins(arg0 common.Address) (bool, error) + func (_YieldFarm *YieldFarmSession) Allowance(_owner common.Address, _spender common.Address) (*big.Int, error) + func (_YieldFarm *YieldFarmSession) Allowances(arg0 common.Address, arg1 common.Address) (*big.Int, error) + func (_YieldFarm *YieldFarmSession) Approve(_spender common.Address, _amount *big.Int) (*types.Transaction, error) + func (_YieldFarm *YieldFarmSession) BalanceOf(_account common.Address) (*big.Int, error) + func (_YieldFarm *YieldFarmSession) Balances(arg0 common.Address) (*big.Int, error) + func (_YieldFarm *YieldFarmSession) Claim(_receiver common.Address) (*types.Transaction, error) + func (_YieldFarm *YieldFarmSession) Decimals() (uint8, error) + func (_YieldFarm *YieldFarmSession) Gov() (common.Address, error) + func (_YieldFarm *YieldFarmSession) InWhitelistMode() (bool, error) + func (_YieldFarm *YieldFarmSession) Name() (string, error) + func (_YieldFarm *YieldFarmSession) NonStakingAccounts(arg0 common.Address) (bool, error) + func (_YieldFarm *YieldFarmSession) NonStakingSupply() (*big.Int, error) + func (_YieldFarm *YieldFarmSession) RecoverClaim(_account common.Address, _receiver common.Address) (*types.Transaction, error) + func (_YieldFarm *YieldFarmSession) RemoveAdmin(_account common.Address) (*types.Transaction, error) + func (_YieldFarm *YieldFarmSession) RemoveNonStakingAccount(_account common.Address) (*types.Transaction, error) + func (_YieldFarm *YieldFarmSession) SetGov(_gov common.Address) (*types.Transaction, error) + func (_YieldFarm *YieldFarmSession) SetInWhitelistMode(_inWhitelistMode bool) (*types.Transaction, error) + func (_YieldFarm *YieldFarmSession) SetInfo(_name string, _symbol string) (*types.Transaction, error) + func (_YieldFarm *YieldFarmSession) SetWhitelistedHandler(_handler common.Address, _isWhitelisted bool) (*types.Transaction, error) + func (_YieldFarm *YieldFarmSession) SetYieldTrackers(_yieldTrackers []common.Address) (*types.Transaction, error) + func (_YieldFarm *YieldFarmSession) Stake(_amount *big.Int) (*types.Transaction, error) + func (_YieldFarm *YieldFarmSession) StakedBalance(_account common.Address) (*big.Int, error) + func (_YieldFarm *YieldFarmSession) StakingToken() (common.Address, error) + func (_YieldFarm *YieldFarmSession) Symbol() (string, error) + func (_YieldFarm *YieldFarmSession) TotalStaked() (*big.Int, error) + func (_YieldFarm *YieldFarmSession) TotalSupply() (*big.Int, error) + func (_YieldFarm *YieldFarmSession) Transfer(_recipient common.Address, _amount *big.Int) (*types.Transaction, error) + func (_YieldFarm *YieldFarmSession) TransferFrom(_sender common.Address, _recipient common.Address, _amount *big.Int) (*types.Transaction, error) + func (_YieldFarm *YieldFarmSession) Unstake(_amount *big.Int) (*types.Transaction, error) + func (_YieldFarm *YieldFarmSession) WhitelistedHandlers(arg0 common.Address) (bool, error) + func (_YieldFarm *YieldFarmSession) WithdrawToken(_token common.Address, _account common.Address, _amount *big.Int) (*types.Transaction, error) + func (_YieldFarm *YieldFarmSession) YieldTrackers(arg0 *big.Int) (common.Address, error) + type YieldFarmTransactor struct + func NewYieldFarmTransactor(address common.Address, transactor bind.ContractTransactor) (*YieldFarmTransactor, error) + func (_YieldFarm *YieldFarmTransactor) AddAdmin(opts *bind.TransactOpts, _account common.Address) (*types.Transaction, error) + func (_YieldFarm *YieldFarmTransactor) AddNonStakingAccount(opts *bind.TransactOpts, _account common.Address) (*types.Transaction, error) + func (_YieldFarm *YieldFarmTransactor) Approve(opts *bind.TransactOpts, _spender common.Address, _amount *big.Int) (*types.Transaction, error) + func (_YieldFarm *YieldFarmTransactor) Claim(opts *bind.TransactOpts, _receiver common.Address) (*types.Transaction, error) + func (_YieldFarm *YieldFarmTransactor) RecoverClaim(opts *bind.TransactOpts, _account common.Address, _receiver common.Address) (*types.Transaction, error) + func (_YieldFarm *YieldFarmTransactor) RemoveAdmin(opts *bind.TransactOpts, _account common.Address) (*types.Transaction, error) + func (_YieldFarm *YieldFarmTransactor) RemoveNonStakingAccount(opts *bind.TransactOpts, _account common.Address) (*types.Transaction, error) + func (_YieldFarm *YieldFarmTransactor) SetGov(opts *bind.TransactOpts, _gov common.Address) (*types.Transaction, error) + func (_YieldFarm *YieldFarmTransactor) SetInWhitelistMode(opts *bind.TransactOpts, _inWhitelistMode bool) (*types.Transaction, error) + func (_YieldFarm *YieldFarmTransactor) SetInfo(opts *bind.TransactOpts, _name string, _symbol string) (*types.Transaction, error) + func (_YieldFarm *YieldFarmTransactor) SetWhitelistedHandler(opts *bind.TransactOpts, _handler common.Address, _isWhitelisted bool) (*types.Transaction, error) + func (_YieldFarm *YieldFarmTransactor) SetYieldTrackers(opts *bind.TransactOpts, _yieldTrackers []common.Address) (*types.Transaction, error) + func (_YieldFarm *YieldFarmTransactor) Stake(opts *bind.TransactOpts, _amount *big.Int) (*types.Transaction, error) + func (_YieldFarm *YieldFarmTransactor) Transfer(opts *bind.TransactOpts, _recipient common.Address, _amount *big.Int) (*types.Transaction, error) + func (_YieldFarm *YieldFarmTransactor) TransferFrom(opts *bind.TransactOpts, _sender common.Address, _recipient common.Address, ...) (*types.Transaction, error) + func (_YieldFarm *YieldFarmTransactor) Unstake(opts *bind.TransactOpts, _amount *big.Int) (*types.Transaction, error) + func (_YieldFarm *YieldFarmTransactor) WithdrawToken(opts *bind.TransactOpts, _token common.Address, _account common.Address, ...) (*types.Transaction, error) + type YieldFarmTransactorRaw struct + Contract *YieldFarmTransactor + func (_YieldFarm *YieldFarmTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) + func (_YieldFarm *YieldFarmTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) + type YieldFarmTransactorSession struct + Contract *YieldFarmTransactor + TransactOpts bind.TransactOpts + func (_YieldFarm *YieldFarmTransactorSession) AddAdmin(_account common.Address) (*types.Transaction, error) + func (_YieldFarm *YieldFarmTransactorSession) AddNonStakingAccount(_account common.Address) (*types.Transaction, error) + func (_YieldFarm *YieldFarmTransactorSession) Approve(_spender common.Address, _amount *big.Int) (*types.Transaction, error) + func (_YieldFarm *YieldFarmTransactorSession) Claim(_receiver common.Address) (*types.Transaction, error) + func (_YieldFarm *YieldFarmTransactorSession) RecoverClaim(_account common.Address, _receiver common.Address) (*types.Transaction, error) + func (_YieldFarm *YieldFarmTransactorSession) RemoveAdmin(_account common.Address) (*types.Transaction, error) + func (_YieldFarm *YieldFarmTransactorSession) RemoveNonStakingAccount(_account common.Address) (*types.Transaction, error) + func (_YieldFarm *YieldFarmTransactorSession) SetGov(_gov common.Address) (*types.Transaction, error) + func (_YieldFarm *YieldFarmTransactorSession) SetInWhitelistMode(_inWhitelistMode bool) (*types.Transaction, error) + func (_YieldFarm *YieldFarmTransactorSession) SetInfo(_name string, _symbol string) (*types.Transaction, error) + func (_YieldFarm *YieldFarmTransactorSession) SetWhitelistedHandler(_handler common.Address, _isWhitelisted bool) (*types.Transaction, error) + func (_YieldFarm *YieldFarmTransactorSession) SetYieldTrackers(_yieldTrackers []common.Address) (*types.Transaction, error) + func (_YieldFarm *YieldFarmTransactorSession) Stake(_amount *big.Int) (*types.Transaction, error) + func (_YieldFarm *YieldFarmTransactorSession) Transfer(_recipient common.Address, _amount *big.Int) (*types.Transaction, error) + func (_YieldFarm *YieldFarmTransactorSession) TransferFrom(_sender common.Address, _recipient common.Address, _amount *big.Int) (*types.Transaction, error) + func (_YieldFarm *YieldFarmTransactorSession) Unstake(_amount *big.Int) (*types.Transaction, error) + func (_YieldFarm *YieldFarmTransactorSession) WithdrawToken(_token common.Address, _account common.Address, _amount *big.Int) (*types.Transaction, error) + type YieldFarmTransfer struct + From common.Address + Raw types.Log + To common.Address + Value *big.Int + type YieldFarmTransferIterator struct + Event *YieldFarmTransfer + func (it *YieldFarmTransferIterator) Close() error + func (it *YieldFarmTransferIterator) Error() error + func (it *YieldFarmTransferIterator) Next() bool