Documentation ¶
Index ¶
- Variables
- type YieldToken
- type YieldTokenApproval
- type YieldTokenApprovalIterator
- type YieldTokenCaller
- 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
- type YieldTokenCallerSession
- 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
- 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
- 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
- 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
- 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
- type YieldTokenTransactorSession
- 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
- type YieldTokenTransferIterator
Constants ¶
This section is empty.
Variables ¶
var YieldTokenABI = YieldTokenMetaData.ABI
YieldTokenABI is the input ABI used to generate the binding from. Deprecated: Use YieldTokenMetaData.ABI instead.
var YieldTokenMetaData = &bind.MetaData{
ABI: "[{\"type\":\"constructor\",\"inputs\":[{\"name\":\"_name\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"_symbol\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"_initialSupply\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"addAdmin\",\"inputs\":[{\"name\":\"_account\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"addNonStakingAccount\",\"inputs\":[{\"name\":\"_account\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"admins\",\"inputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"allowance\",\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_spender\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"allowances\",\"inputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"approve\",\"inputs\":[{\"name\":\"_spender\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"balanceOf\",\"inputs\":[{\"name\":\"_account\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"balances\",\"inputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"claim\",\"inputs\":[{\"name\":\"_receiver\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"decimals\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint8\",\"internalType\":\"uint8\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"gov\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"inWhitelistMode\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"name\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"string\",\"internalType\":\"string\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"nonStakingAccounts\",\"inputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"nonStakingSupply\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"recoverClaim\",\"inputs\":[{\"name\":\"_account\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_receiver\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"removeAdmin\",\"inputs\":[{\"name\":\"_account\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"removeNonStakingAccount\",\"inputs\":[{\"name\":\"_account\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"setGov\",\"inputs\":[{\"name\":\"_gov\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"setInWhitelistMode\",\"inputs\":[{\"name\":\"_inWhitelistMode\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"setInfo\",\"inputs\":[{\"name\":\"_name\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"_symbol\",\"type\":\"string\",\"internalType\":\"string\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"setWhitelistedHandler\",\"inputs\":[{\"name\":\"_handler\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_isWhitelisted\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"setYieldTrackers\",\"inputs\":[{\"name\":\"_yieldTrackers\",\"type\":\"address[]\",\"internalType\":\"address[]\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"stakedBalance\",\"inputs\":[{\"name\":\"_account\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"symbol\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"string\",\"internalType\":\"string\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"totalStaked\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"totalSupply\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"transfer\",\"inputs\":[{\"name\":\"_recipient\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"transferFrom\",\"inputs\":[{\"name\":\"_sender\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_recipient\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"whitelistedHandlers\",\"inputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"withdrawToken\",\"inputs\":[{\"name\":\"_token\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_account\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"yieldTrackers\",\"inputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"event\",\"name\":\"Approval\",\"inputs\":[{\"name\":\"owner\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"spender\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"value\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Transfer\",\"inputs\":[{\"name\":\"from\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"to\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"value\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"}],\"anonymous\":false}]",
}
YieldTokenMetaData contains all meta data concerning the YieldToken contract.
Functions ¶
This section is empty.
Types ¶
type YieldToken ¶
type YieldToken struct { YieldTokenCaller // Read-only binding to the contract YieldTokenTransactor // Write-only binding to the contract YieldTokenFilterer // Log filterer for contract events }
YieldToken is an auto generated Go binding around an Ethereum contract.
func NewYieldToken ¶
func NewYieldToken(address common.Address, backend bind.ContractBackend) (*YieldToken, error)
NewYieldToken creates a new instance of YieldToken, bound to a specific deployed contract.
type YieldTokenApproval ¶
type YieldTokenApproval struct { Owner common.Address Spender common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
YieldTokenApproval represents a Approval event raised by the YieldToken contract.
type YieldTokenApprovalIterator ¶
type YieldTokenApprovalIterator struct { Event *YieldTokenApproval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
YieldTokenApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the YieldToken contract.
func (*YieldTokenApprovalIterator) Close ¶
func (it *YieldTokenApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*YieldTokenApprovalIterator) Error ¶
func (it *YieldTokenApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*YieldTokenApprovalIterator) Next ¶
func (it *YieldTokenApprovalIterator) 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 YieldTokenCaller ¶
type YieldTokenCaller struct {
// contains filtered or unexported fields
}
YieldTokenCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewYieldTokenCaller ¶
func NewYieldTokenCaller(address common.Address, caller bind.ContractCaller) (*YieldTokenCaller, error)
NewYieldTokenCaller creates a new read-only instance of YieldToken, bound to a specific deployed contract.
func (*YieldTokenCaller) Admins ¶
Admins is a free data retrieval call binding the contract method 0x429b62e5.
Solidity: function admins(address ) view returns(bool)
func (*YieldTokenCaller) Allowance ¶
func (_YieldToken *YieldTokenCaller) Allowance(opts *bind.CallOpts, _owner common.Address, _spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address _owner, address _spender) view returns(uint256)
func (*YieldTokenCaller) Allowances ¶
func (_YieldToken *YieldTokenCaller) Allowances(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (*big.Int, error)
Allowances is a free data retrieval call binding the contract method 0x55b6ed5c.
Solidity: function allowances(address , address ) view returns(uint256)
func (*YieldTokenCaller) BalanceOf ¶
func (_YieldToken *YieldTokenCaller) BalanceOf(opts *bind.CallOpts, _account common.Address) (*big.Int, error)
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address _account) view returns(uint256)
func (*YieldTokenCaller) Balances ¶
func (_YieldToken *YieldTokenCaller) Balances(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
Balances is a free data retrieval call binding the contract method 0x27e235e3.
Solidity: function balances(address ) view returns(uint256)
func (*YieldTokenCaller) Decimals ¶
func (_YieldToken *YieldTokenCaller) Decimals(opts *bind.CallOpts) (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*YieldTokenCaller) Gov ¶
Gov is a free data retrieval call binding the contract method 0x12d43a51.
Solidity: function gov() view returns(address)
func (*YieldTokenCaller) InWhitelistMode ¶
func (_YieldToken *YieldTokenCaller) InWhitelistMode(opts *bind.CallOpts) (bool, error)
InWhitelistMode is a free data retrieval call binding the contract method 0x293d6987.
Solidity: function inWhitelistMode() view returns(bool)
func (*YieldTokenCaller) Name ¶
func (_YieldToken *YieldTokenCaller) Name(opts *bind.CallOpts) (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*YieldTokenCaller) NonStakingAccounts ¶
func (_YieldToken *YieldTokenCaller) NonStakingAccounts(opts *bind.CallOpts, arg0 common.Address) (bool, error)
NonStakingAccounts is a free data retrieval call binding the contract method 0x9554381a.
Solidity: function nonStakingAccounts(address ) view returns(bool)
func (*YieldTokenCaller) NonStakingSupply ¶
NonStakingSupply is a free data retrieval call binding the contract method 0xc93be636.
Solidity: function nonStakingSupply() view returns(uint256)
func (*YieldTokenCaller) StakedBalance ¶
func (_YieldToken *YieldTokenCaller) StakedBalance(opts *bind.CallOpts, _account common.Address) (*big.Int, error)
StakedBalance is a free data retrieval call binding the contract method 0x60217267.
Solidity: function stakedBalance(address _account) view returns(uint256)
func (*YieldTokenCaller) Symbol ¶
func (_YieldToken *YieldTokenCaller) Symbol(opts *bind.CallOpts) (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*YieldTokenCaller) TotalStaked ¶
TotalStaked is a free data retrieval call binding the contract method 0x817b1cd2.
Solidity: function totalStaked() view returns(uint256)
func (*YieldTokenCaller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*YieldTokenCaller) WhitelistedHandlers ¶
func (_YieldToken *YieldTokenCaller) WhitelistedHandlers(opts *bind.CallOpts, arg0 common.Address) (bool, error)
WhitelistedHandlers is a free data retrieval call binding the contract method 0x36300051.
Solidity: function whitelistedHandlers(address ) view returns(bool)
func (*YieldTokenCaller) YieldTrackers ¶
func (_YieldToken *YieldTokenCaller) YieldTrackers(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)
YieldTrackers is a free data retrieval call binding the contract method 0x52cd38d9.
Solidity: function yieldTrackers(uint256 ) view returns(address)
type YieldTokenCallerRaw ¶
type YieldTokenCallerRaw struct {
Contract *YieldTokenCaller // Generic read-only contract binding to access the raw methods on
}
YieldTokenCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*YieldTokenCallerRaw) Call ¶
func (_YieldToken *YieldTokenCallerRaw) 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 YieldTokenCallerSession ¶
type YieldTokenCallerSession struct { Contract *YieldTokenCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
YieldTokenCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*YieldTokenCallerSession) Admins ¶
func (_YieldToken *YieldTokenCallerSession) Admins(arg0 common.Address) (bool, error)
Admins is a free data retrieval call binding the contract method 0x429b62e5.
Solidity: function admins(address ) view returns(bool)
func (*YieldTokenCallerSession) Allowance ¶
func (_YieldToken *YieldTokenCallerSession) Allowance(_owner common.Address, _spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address _owner, address _spender) view returns(uint256)
func (*YieldTokenCallerSession) Allowances ¶
func (_YieldToken *YieldTokenCallerSession) Allowances(arg0 common.Address, arg1 common.Address) (*big.Int, error)
Allowances is a free data retrieval call binding the contract method 0x55b6ed5c.
Solidity: function allowances(address , address ) view returns(uint256)
func (*YieldTokenCallerSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address _account) view returns(uint256)
func (*YieldTokenCallerSession) Balances ¶
Balances is a free data retrieval call binding the contract method 0x27e235e3.
Solidity: function balances(address ) view returns(uint256)
func (*YieldTokenCallerSession) Decimals ¶
func (_YieldToken *YieldTokenCallerSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*YieldTokenCallerSession) Gov ¶
func (_YieldToken *YieldTokenCallerSession) Gov() (common.Address, error)
Gov is a free data retrieval call binding the contract method 0x12d43a51.
Solidity: function gov() view returns(address)
func (*YieldTokenCallerSession) InWhitelistMode ¶
func (_YieldToken *YieldTokenCallerSession) InWhitelistMode() (bool, error)
InWhitelistMode is a free data retrieval call binding the contract method 0x293d6987.
Solidity: function inWhitelistMode() view returns(bool)
func (*YieldTokenCallerSession) Name ¶
func (_YieldToken *YieldTokenCallerSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*YieldTokenCallerSession) NonStakingAccounts ¶
func (_YieldToken *YieldTokenCallerSession) NonStakingAccounts(arg0 common.Address) (bool, error)
NonStakingAccounts is a free data retrieval call binding the contract method 0x9554381a.
Solidity: function nonStakingAccounts(address ) view returns(bool)
func (*YieldTokenCallerSession) NonStakingSupply ¶
func (_YieldToken *YieldTokenCallerSession) NonStakingSupply() (*big.Int, error)
NonStakingSupply is a free data retrieval call binding the contract method 0xc93be636.
Solidity: function nonStakingSupply() view returns(uint256)
func (*YieldTokenCallerSession) StakedBalance ¶
func (_YieldToken *YieldTokenCallerSession) StakedBalance(_account common.Address) (*big.Int, error)
StakedBalance is a free data retrieval call binding the contract method 0x60217267.
Solidity: function stakedBalance(address _account) view returns(uint256)
func (*YieldTokenCallerSession) Symbol ¶
func (_YieldToken *YieldTokenCallerSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*YieldTokenCallerSession) TotalStaked ¶
func (_YieldToken *YieldTokenCallerSession) TotalStaked() (*big.Int, error)
TotalStaked is a free data retrieval call binding the contract method 0x817b1cd2.
Solidity: function totalStaked() view returns(uint256)
func (*YieldTokenCallerSession) TotalSupply ¶
func (_YieldToken *YieldTokenCallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*YieldTokenCallerSession) WhitelistedHandlers ¶
func (_YieldToken *YieldTokenCallerSession) WhitelistedHandlers(arg0 common.Address) (bool, error)
WhitelistedHandlers is a free data retrieval call binding the contract method 0x36300051.
Solidity: function whitelistedHandlers(address ) view returns(bool)
func (*YieldTokenCallerSession) YieldTrackers ¶
YieldTrackers is a free data retrieval call binding the contract method 0x52cd38d9.
Solidity: function yieldTrackers(uint256 ) view returns(address)
type YieldTokenFilterer ¶
type YieldTokenFilterer struct {
// contains filtered or unexported fields
}
YieldTokenFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewYieldTokenFilterer ¶
func NewYieldTokenFilterer(address common.Address, filterer bind.ContractFilterer) (*YieldTokenFilterer, error)
NewYieldTokenFilterer creates a new log filterer instance of YieldToken, bound to a specific deployed contract.
func (*YieldTokenFilterer) FilterApproval ¶
func (_YieldToken *YieldTokenFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*YieldTokenApprovalIterator, error)
FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*YieldTokenFilterer) FilterTransfer ¶
func (_YieldToken *YieldTokenFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*YieldTokenTransferIterator, error)
FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*YieldTokenFilterer) ParseApproval ¶
func (_YieldToken *YieldTokenFilterer) ParseApproval(log types.Log) (*YieldTokenApproval, error)
ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*YieldTokenFilterer) ParseTransfer ¶
func (_YieldToken *YieldTokenFilterer) ParseTransfer(log types.Log) (*YieldTokenTransfer, error)
ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*YieldTokenFilterer) WatchApproval ¶
func (_YieldToken *YieldTokenFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *YieldTokenApproval, owner []common.Address, spender []common.Address) (event.Subscription, error)
WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*YieldTokenFilterer) WatchTransfer ¶
func (_YieldToken *YieldTokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *YieldTokenTransfer, from []common.Address, to []common.Address) (event.Subscription, error)
WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
type YieldTokenRaw ¶
type YieldTokenRaw struct {
Contract *YieldToken // Generic contract binding to access the raw methods on
}
YieldTokenRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*YieldTokenRaw) Call ¶
func (_YieldToken *YieldTokenRaw) 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 (*YieldTokenRaw) Transact ¶
func (_YieldToken *YieldTokenRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*YieldTokenRaw) Transfer ¶
func (_YieldToken *YieldTokenRaw) 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 YieldTokenSession ¶
type YieldTokenSession struct { Contract *YieldToken // 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 }
YieldTokenSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*YieldTokenSession) AddAdmin ¶
func (_YieldToken *YieldTokenSession) AddAdmin(_account common.Address) (*types.Transaction, error)
AddAdmin is a paid mutator transaction binding the contract method 0x70480275.
Solidity: function addAdmin(address _account) returns()
func (*YieldTokenSession) AddNonStakingAccount ¶
func (_YieldToken *YieldTokenSession) AddNonStakingAccount(_account common.Address) (*types.Transaction, error)
AddNonStakingAccount is a paid mutator transaction binding the contract method 0x62289077.
Solidity: function addNonStakingAccount(address _account) returns()
func (*YieldTokenSession) Admins ¶
func (_YieldToken *YieldTokenSession) Admins(arg0 common.Address) (bool, error)
Admins is a free data retrieval call binding the contract method 0x429b62e5.
Solidity: function admins(address ) view returns(bool)
func (*YieldTokenSession) Allowance ¶
func (_YieldToken *YieldTokenSession) Allowance(_owner common.Address, _spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address _owner, address _spender) view returns(uint256)
func (*YieldTokenSession) Allowances ¶
func (_YieldToken *YieldTokenSession) Allowances(arg0 common.Address, arg1 common.Address) (*big.Int, error)
Allowances is a free data retrieval call binding the contract method 0x55b6ed5c.
Solidity: function allowances(address , address ) view returns(uint256)
func (*YieldTokenSession) Approve ¶
func (_YieldToken *YieldTokenSession) Approve(_spender common.Address, _amount *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address _spender, uint256 _amount) returns(bool)
func (*YieldTokenSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address _account) view returns(uint256)
func (*YieldTokenSession) Balances ¶
Balances is a free data retrieval call binding the contract method 0x27e235e3.
Solidity: function balances(address ) view returns(uint256)
func (*YieldTokenSession) Claim ¶
func (_YieldToken *YieldTokenSession) Claim(_receiver common.Address) (*types.Transaction, error)
Claim is a paid mutator transaction binding the contract method 0x1e83409a.
Solidity: function claim(address _receiver) returns()
func (*YieldTokenSession) Decimals ¶
func (_YieldToken *YieldTokenSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*YieldTokenSession) Gov ¶
func (_YieldToken *YieldTokenSession) Gov() (common.Address, error)
Gov is a free data retrieval call binding the contract method 0x12d43a51.
Solidity: function gov() view returns(address)
func (*YieldTokenSession) InWhitelistMode ¶
func (_YieldToken *YieldTokenSession) InWhitelistMode() (bool, error)
InWhitelistMode is a free data retrieval call binding the contract method 0x293d6987.
Solidity: function inWhitelistMode() view returns(bool)
func (*YieldTokenSession) Name ¶
func (_YieldToken *YieldTokenSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*YieldTokenSession) NonStakingAccounts ¶
func (_YieldToken *YieldTokenSession) NonStakingAccounts(arg0 common.Address) (bool, error)
NonStakingAccounts is a free data retrieval call binding the contract method 0x9554381a.
Solidity: function nonStakingAccounts(address ) view returns(bool)
func (*YieldTokenSession) NonStakingSupply ¶
func (_YieldToken *YieldTokenSession) NonStakingSupply() (*big.Int, error)
NonStakingSupply is a free data retrieval call binding the contract method 0xc93be636.
Solidity: function nonStakingSupply() view returns(uint256)
func (*YieldTokenSession) RecoverClaim ¶
func (_YieldToken *YieldTokenSession) RecoverClaim(_account common.Address, _receiver common.Address) (*types.Transaction, error)
RecoverClaim is a paid mutator transaction binding the contract method 0x996f11ee.
Solidity: function recoverClaim(address _account, address _receiver) returns()
func (*YieldTokenSession) RemoveAdmin ¶
func (_YieldToken *YieldTokenSession) RemoveAdmin(_account common.Address) (*types.Transaction, error)
RemoveAdmin is a paid mutator transaction binding the contract method 0x1785f53c.
Solidity: function removeAdmin(address _account) returns()
func (*YieldTokenSession) RemoveNonStakingAccount ¶
func (_YieldToken *YieldTokenSession) RemoveNonStakingAccount(_account common.Address) (*types.Transaction, error)
RemoveNonStakingAccount is a paid mutator transaction binding the contract method 0xfb30d916.
Solidity: function removeNonStakingAccount(address _account) returns()
func (*YieldTokenSession) SetGov ¶
func (_YieldToken *YieldTokenSession) SetGov(_gov common.Address) (*types.Transaction, error)
SetGov is a paid mutator transaction binding the contract method 0xcfad57a2.
Solidity: function setGov(address _gov) returns()
func (*YieldTokenSession) SetInWhitelistMode ¶
func (_YieldToken *YieldTokenSession) SetInWhitelistMode(_inWhitelistMode bool) (*types.Transaction, error)
SetInWhitelistMode is a paid mutator transaction binding the contract method 0x4cb5bbe3.
Solidity: function setInWhitelistMode(bool _inWhitelistMode) returns()
func (*YieldTokenSession) SetInfo ¶
func (_YieldToken *YieldTokenSession) SetInfo(_name string, _symbol string) (*types.Transaction, error)
SetInfo is a paid mutator transaction binding the contract method 0xa923fc40.
Solidity: function setInfo(string _name, string _symbol) returns()
func (*YieldTokenSession) SetWhitelistedHandler ¶
func (_YieldToken *YieldTokenSession) SetWhitelistedHandler(_handler common.Address, _isWhitelisted bool) (*types.Transaction, error)
SetWhitelistedHandler is a paid mutator transaction binding the contract method 0xd92fc87e.
Solidity: function setWhitelistedHandler(address _handler, bool _isWhitelisted) returns()
func (*YieldTokenSession) SetYieldTrackers ¶
func (_YieldToken *YieldTokenSession) SetYieldTrackers(_yieldTrackers []common.Address) (*types.Transaction, error)
SetYieldTrackers is a paid mutator transaction binding the contract method 0x276eab4e.
Solidity: function setYieldTrackers(address[] _yieldTrackers) returns()
func (*YieldTokenSession) StakedBalance ¶
StakedBalance is a free data retrieval call binding the contract method 0x60217267.
Solidity: function stakedBalance(address _account) view returns(uint256)
func (*YieldTokenSession) Symbol ¶
func (_YieldToken *YieldTokenSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*YieldTokenSession) TotalStaked ¶
func (_YieldToken *YieldTokenSession) TotalStaked() (*big.Int, error)
TotalStaked is a free data retrieval call binding the contract method 0x817b1cd2.
Solidity: function totalStaked() view returns(uint256)
func (*YieldTokenSession) TotalSupply ¶
func (_YieldToken *YieldTokenSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*YieldTokenSession) Transfer ¶
func (_YieldToken *YieldTokenSession) Transfer(_recipient common.Address, _amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address _recipient, uint256 _amount) returns(bool)
func (*YieldTokenSession) TransferFrom ¶
func (_YieldToken *YieldTokenSession) TransferFrom(_sender common.Address, _recipient common.Address, _amount *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address _sender, address _recipient, uint256 _amount) returns(bool)
func (*YieldTokenSession) WhitelistedHandlers ¶
func (_YieldToken *YieldTokenSession) WhitelistedHandlers(arg0 common.Address) (bool, error)
WhitelistedHandlers is a free data retrieval call binding the contract method 0x36300051.
Solidity: function whitelistedHandlers(address ) view returns(bool)
func (*YieldTokenSession) WithdrawToken ¶
func (_YieldToken *YieldTokenSession) WithdrawToken(_token common.Address, _account common.Address, _amount *big.Int) (*types.Transaction, error)
WithdrawToken is a paid mutator transaction binding the contract method 0x01e33667.
Solidity: function withdrawToken(address _token, address _account, uint256 _amount) returns()
func (*YieldTokenSession) YieldTrackers ¶
YieldTrackers is a free data retrieval call binding the contract method 0x52cd38d9.
Solidity: function yieldTrackers(uint256 ) view returns(address)
type YieldTokenTransactor ¶
type YieldTokenTransactor struct {
// contains filtered or unexported fields
}
YieldTokenTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewYieldTokenTransactor ¶
func NewYieldTokenTransactor(address common.Address, transactor bind.ContractTransactor) (*YieldTokenTransactor, error)
NewYieldTokenTransactor creates a new write-only instance of YieldToken, bound to a specific deployed contract.
func (*YieldTokenTransactor) AddAdmin ¶
func (_YieldToken *YieldTokenTransactor) AddAdmin(opts *bind.TransactOpts, _account common.Address) (*types.Transaction, error)
AddAdmin is a paid mutator transaction binding the contract method 0x70480275.
Solidity: function addAdmin(address _account) returns()
func (*YieldTokenTransactor) AddNonStakingAccount ¶
func (_YieldToken *YieldTokenTransactor) AddNonStakingAccount(opts *bind.TransactOpts, _account common.Address) (*types.Transaction, error)
AddNonStakingAccount is a paid mutator transaction binding the contract method 0x62289077.
Solidity: function addNonStakingAccount(address _account) returns()
func (*YieldTokenTransactor) Approve ¶
func (_YieldToken *YieldTokenTransactor) Approve(opts *bind.TransactOpts, _spender common.Address, _amount *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address _spender, uint256 _amount) returns(bool)
func (*YieldTokenTransactor) Claim ¶
func (_YieldToken *YieldTokenTransactor) Claim(opts *bind.TransactOpts, _receiver common.Address) (*types.Transaction, error)
Claim is a paid mutator transaction binding the contract method 0x1e83409a.
Solidity: function claim(address _receiver) returns()
func (*YieldTokenTransactor) RecoverClaim ¶
func (_YieldToken *YieldTokenTransactor) RecoverClaim(opts *bind.TransactOpts, _account common.Address, _receiver common.Address) (*types.Transaction, error)
RecoverClaim is a paid mutator transaction binding the contract method 0x996f11ee.
Solidity: function recoverClaim(address _account, address _receiver) returns()
func (*YieldTokenTransactor) RemoveAdmin ¶
func (_YieldToken *YieldTokenTransactor) RemoveAdmin(opts *bind.TransactOpts, _account common.Address) (*types.Transaction, error)
RemoveAdmin is a paid mutator transaction binding the contract method 0x1785f53c.
Solidity: function removeAdmin(address _account) returns()
func (*YieldTokenTransactor) RemoveNonStakingAccount ¶
func (_YieldToken *YieldTokenTransactor) RemoveNonStakingAccount(opts *bind.TransactOpts, _account common.Address) (*types.Transaction, error)
RemoveNonStakingAccount is a paid mutator transaction binding the contract method 0xfb30d916.
Solidity: function removeNonStakingAccount(address _account) returns()
func (*YieldTokenTransactor) SetGov ¶
func (_YieldToken *YieldTokenTransactor) SetGov(opts *bind.TransactOpts, _gov common.Address) (*types.Transaction, error)
SetGov is a paid mutator transaction binding the contract method 0xcfad57a2.
Solidity: function setGov(address _gov) returns()
func (*YieldTokenTransactor) SetInWhitelistMode ¶
func (_YieldToken *YieldTokenTransactor) SetInWhitelistMode(opts *bind.TransactOpts, _inWhitelistMode bool) (*types.Transaction, error)
SetInWhitelistMode is a paid mutator transaction binding the contract method 0x4cb5bbe3.
Solidity: function setInWhitelistMode(bool _inWhitelistMode) returns()
func (*YieldTokenTransactor) SetInfo ¶
func (_YieldToken *YieldTokenTransactor) SetInfo(opts *bind.TransactOpts, _name string, _symbol string) (*types.Transaction, error)
SetInfo is a paid mutator transaction binding the contract method 0xa923fc40.
Solidity: function setInfo(string _name, string _symbol) returns()
func (*YieldTokenTransactor) SetWhitelistedHandler ¶
func (_YieldToken *YieldTokenTransactor) SetWhitelistedHandler(opts *bind.TransactOpts, _handler common.Address, _isWhitelisted bool) (*types.Transaction, error)
SetWhitelistedHandler is a paid mutator transaction binding the contract method 0xd92fc87e.
Solidity: function setWhitelistedHandler(address _handler, bool _isWhitelisted) returns()
func (*YieldTokenTransactor) SetYieldTrackers ¶
func (_YieldToken *YieldTokenTransactor) SetYieldTrackers(opts *bind.TransactOpts, _yieldTrackers []common.Address) (*types.Transaction, error)
SetYieldTrackers is a paid mutator transaction binding the contract method 0x276eab4e.
Solidity: function setYieldTrackers(address[] _yieldTrackers) returns()
func (*YieldTokenTransactor) Transfer ¶
func (_YieldToken *YieldTokenTransactor) Transfer(opts *bind.TransactOpts, _recipient common.Address, _amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address _recipient, uint256 _amount) returns(bool)
func (*YieldTokenTransactor) TransferFrom ¶
func (_YieldToken *YieldTokenTransactor) TransferFrom(opts *bind.TransactOpts, _sender common.Address, _recipient common.Address, _amount *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address _sender, address _recipient, uint256 _amount) returns(bool)
func (*YieldTokenTransactor) WithdrawToken ¶
func (_YieldToken *YieldTokenTransactor) WithdrawToken(opts *bind.TransactOpts, _token common.Address, _account common.Address, _amount *big.Int) (*types.Transaction, error)
WithdrawToken is a paid mutator transaction binding the contract method 0x01e33667.
Solidity: function withdrawToken(address _token, address _account, uint256 _amount) returns()
type YieldTokenTransactorRaw ¶
type YieldTokenTransactorRaw struct {
Contract *YieldTokenTransactor // Generic write-only contract binding to access the raw methods on
}
YieldTokenTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*YieldTokenTransactorRaw) Transact ¶
func (_YieldToken *YieldTokenTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*YieldTokenTransactorRaw) Transfer ¶
func (_YieldToken *YieldTokenTransactorRaw) 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 YieldTokenTransactorSession ¶
type YieldTokenTransactorSession struct { Contract *YieldTokenTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
YieldTokenTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*YieldTokenTransactorSession) AddAdmin ¶
func (_YieldToken *YieldTokenTransactorSession) AddAdmin(_account common.Address) (*types.Transaction, error)
AddAdmin is a paid mutator transaction binding the contract method 0x70480275.
Solidity: function addAdmin(address _account) returns()
func (*YieldTokenTransactorSession) AddNonStakingAccount ¶
func (_YieldToken *YieldTokenTransactorSession) AddNonStakingAccount(_account common.Address) (*types.Transaction, error)
AddNonStakingAccount is a paid mutator transaction binding the contract method 0x62289077.
Solidity: function addNonStakingAccount(address _account) returns()
func (*YieldTokenTransactorSession) Approve ¶
func (_YieldToken *YieldTokenTransactorSession) Approve(_spender common.Address, _amount *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address _spender, uint256 _amount) returns(bool)
func (*YieldTokenTransactorSession) Claim ¶
func (_YieldToken *YieldTokenTransactorSession) Claim(_receiver common.Address) (*types.Transaction, error)
Claim is a paid mutator transaction binding the contract method 0x1e83409a.
Solidity: function claim(address _receiver) returns()
func (*YieldTokenTransactorSession) RecoverClaim ¶
func (_YieldToken *YieldTokenTransactorSession) RecoverClaim(_account common.Address, _receiver common.Address) (*types.Transaction, error)
RecoverClaim is a paid mutator transaction binding the contract method 0x996f11ee.
Solidity: function recoverClaim(address _account, address _receiver) returns()
func (*YieldTokenTransactorSession) RemoveAdmin ¶
func (_YieldToken *YieldTokenTransactorSession) RemoveAdmin(_account common.Address) (*types.Transaction, error)
RemoveAdmin is a paid mutator transaction binding the contract method 0x1785f53c.
Solidity: function removeAdmin(address _account) returns()
func (*YieldTokenTransactorSession) RemoveNonStakingAccount ¶
func (_YieldToken *YieldTokenTransactorSession) RemoveNonStakingAccount(_account common.Address) (*types.Transaction, error)
RemoveNonStakingAccount is a paid mutator transaction binding the contract method 0xfb30d916.
Solidity: function removeNonStakingAccount(address _account) returns()
func (*YieldTokenTransactorSession) SetGov ¶
func (_YieldToken *YieldTokenTransactorSession) SetGov(_gov common.Address) (*types.Transaction, error)
SetGov is a paid mutator transaction binding the contract method 0xcfad57a2.
Solidity: function setGov(address _gov) returns()
func (*YieldTokenTransactorSession) SetInWhitelistMode ¶
func (_YieldToken *YieldTokenTransactorSession) SetInWhitelistMode(_inWhitelistMode bool) (*types.Transaction, error)
SetInWhitelistMode is a paid mutator transaction binding the contract method 0x4cb5bbe3.
Solidity: function setInWhitelistMode(bool _inWhitelistMode) returns()
func (*YieldTokenTransactorSession) SetInfo ¶
func (_YieldToken *YieldTokenTransactorSession) SetInfo(_name string, _symbol string) (*types.Transaction, error)
SetInfo is a paid mutator transaction binding the contract method 0xa923fc40.
Solidity: function setInfo(string _name, string _symbol) returns()
func (*YieldTokenTransactorSession) SetWhitelistedHandler ¶
func (_YieldToken *YieldTokenTransactorSession) SetWhitelistedHandler(_handler common.Address, _isWhitelisted bool) (*types.Transaction, error)
SetWhitelistedHandler is a paid mutator transaction binding the contract method 0xd92fc87e.
Solidity: function setWhitelistedHandler(address _handler, bool _isWhitelisted) returns()
func (*YieldTokenTransactorSession) SetYieldTrackers ¶
func (_YieldToken *YieldTokenTransactorSession) SetYieldTrackers(_yieldTrackers []common.Address) (*types.Transaction, error)
SetYieldTrackers is a paid mutator transaction binding the contract method 0x276eab4e.
Solidity: function setYieldTrackers(address[] _yieldTrackers) returns()
func (*YieldTokenTransactorSession) Transfer ¶
func (_YieldToken *YieldTokenTransactorSession) Transfer(_recipient common.Address, _amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address _recipient, uint256 _amount) returns(bool)
func (*YieldTokenTransactorSession) TransferFrom ¶
func (_YieldToken *YieldTokenTransactorSession) TransferFrom(_sender common.Address, _recipient common.Address, _amount *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address _sender, address _recipient, uint256 _amount) returns(bool)
func (*YieldTokenTransactorSession) WithdrawToken ¶
func (_YieldToken *YieldTokenTransactorSession) WithdrawToken(_token common.Address, _account common.Address, _amount *big.Int) (*types.Transaction, error)
WithdrawToken is a paid mutator transaction binding the contract method 0x01e33667.
Solidity: function withdrawToken(address _token, address _account, uint256 _amount) returns()
type YieldTokenTransfer ¶
type YieldTokenTransfer struct { From common.Address To common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
YieldTokenTransfer represents a Transfer event raised by the YieldToken contract.
type YieldTokenTransferIterator ¶
type YieldTokenTransferIterator struct { Event *YieldTokenTransfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
YieldTokenTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the YieldToken contract.
func (*YieldTokenTransferIterator) Close ¶
func (it *YieldTokenTransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*YieldTokenTransferIterator) Error ¶
func (it *YieldTokenTransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*YieldTokenTransferIterator) Next ¶
func (it *YieldTokenTransferIterator) 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.