Documentation ¶
Index ¶
- Variables
- type RewardTracker
- type RewardTrackerApproval
- type RewardTrackerApprovalIterator
- type RewardTrackerCaller
- func (_RewardTracker *RewardTrackerCaller) Allowance(opts *bind.CallOpts, _owner common.Address, _spender common.Address) (*big.Int, error)
- func (_RewardTracker *RewardTrackerCaller) Allowances(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (*big.Int, error)
- func (_RewardTracker *RewardTrackerCaller) AverageStakedAmounts(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
- func (_RewardTracker *RewardTrackerCaller) BASISPOINTSDIVISOR(opts *bind.CallOpts) (*big.Int, error)
- func (_RewardTracker *RewardTrackerCaller) BalanceOf(opts *bind.CallOpts, _account common.Address) (*big.Int, error)
- func (_RewardTracker *RewardTrackerCaller) Balances(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
- func (_RewardTracker *RewardTrackerCaller) Claimable(opts *bind.CallOpts, _account common.Address) (*big.Int, error)
- func (_RewardTracker *RewardTrackerCaller) ClaimableReward(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
- func (_RewardTracker *RewardTrackerCaller) CumulativeRewardPerToken(opts *bind.CallOpts) (*big.Int, error)
- func (_RewardTracker *RewardTrackerCaller) CumulativeRewards(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
- func (_RewardTracker *RewardTrackerCaller) Decimals(opts *bind.CallOpts) (uint8, error)
- func (_RewardTracker *RewardTrackerCaller) DepositBalances(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (*big.Int, error)
- func (_RewardTracker *RewardTrackerCaller) Distributor(opts *bind.CallOpts) (common.Address, error)
- func (_RewardTracker *RewardTrackerCaller) Gov(opts *bind.CallOpts) (common.Address, error)
- func (_RewardTracker *RewardTrackerCaller) InPrivateClaimingMode(opts *bind.CallOpts) (bool, error)
- func (_RewardTracker *RewardTrackerCaller) InPrivateStakingMode(opts *bind.CallOpts) (bool, error)
- func (_RewardTracker *RewardTrackerCaller) InPrivateTransferMode(opts *bind.CallOpts) (bool, error)
- func (_RewardTracker *RewardTrackerCaller) IsDepositToken(opts *bind.CallOpts, arg0 common.Address) (bool, error)
- func (_RewardTracker *RewardTrackerCaller) IsHandler(opts *bind.CallOpts, arg0 common.Address) (bool, error)
- func (_RewardTracker *RewardTrackerCaller) IsInitialized(opts *bind.CallOpts) (bool, error)
- func (_RewardTracker *RewardTrackerCaller) Name(opts *bind.CallOpts) (string, error)
- func (_RewardTracker *RewardTrackerCaller) PRECISION(opts *bind.CallOpts) (*big.Int, error)
- func (_RewardTracker *RewardTrackerCaller) PreviousCumulatedRewardPerToken(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
- func (_RewardTracker *RewardTrackerCaller) RewardToken(opts *bind.CallOpts) (common.Address, error)
- func (_RewardTracker *RewardTrackerCaller) StakedAmounts(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
- func (_RewardTracker *RewardTrackerCaller) Symbol(opts *bind.CallOpts) (string, error)
- func (_RewardTracker *RewardTrackerCaller) TokensPerInterval(opts *bind.CallOpts) (*big.Int, error)
- func (_RewardTracker *RewardTrackerCaller) TotalDepositSupply(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
- func (_RewardTracker *RewardTrackerCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- type RewardTrackerCallerRaw
- type RewardTrackerCallerSession
- func (_RewardTracker *RewardTrackerCallerSession) Allowance(_owner common.Address, _spender common.Address) (*big.Int, error)
- func (_RewardTracker *RewardTrackerCallerSession) Allowances(arg0 common.Address, arg1 common.Address) (*big.Int, error)
- func (_RewardTracker *RewardTrackerCallerSession) AverageStakedAmounts(arg0 common.Address) (*big.Int, error)
- func (_RewardTracker *RewardTrackerCallerSession) BASISPOINTSDIVISOR() (*big.Int, error)
- func (_RewardTracker *RewardTrackerCallerSession) BalanceOf(_account common.Address) (*big.Int, error)
- func (_RewardTracker *RewardTrackerCallerSession) Balances(arg0 common.Address) (*big.Int, error)
- func (_RewardTracker *RewardTrackerCallerSession) Claimable(_account common.Address) (*big.Int, error)
- func (_RewardTracker *RewardTrackerCallerSession) ClaimableReward(arg0 common.Address) (*big.Int, error)
- func (_RewardTracker *RewardTrackerCallerSession) CumulativeRewardPerToken() (*big.Int, error)
- func (_RewardTracker *RewardTrackerCallerSession) CumulativeRewards(arg0 common.Address) (*big.Int, error)
- func (_RewardTracker *RewardTrackerCallerSession) Decimals() (uint8, error)
- func (_RewardTracker *RewardTrackerCallerSession) DepositBalances(arg0 common.Address, arg1 common.Address) (*big.Int, error)
- func (_RewardTracker *RewardTrackerCallerSession) Distributor() (common.Address, error)
- func (_RewardTracker *RewardTrackerCallerSession) Gov() (common.Address, error)
- func (_RewardTracker *RewardTrackerCallerSession) InPrivateClaimingMode() (bool, error)
- func (_RewardTracker *RewardTrackerCallerSession) InPrivateStakingMode() (bool, error)
- func (_RewardTracker *RewardTrackerCallerSession) InPrivateTransferMode() (bool, error)
- func (_RewardTracker *RewardTrackerCallerSession) IsDepositToken(arg0 common.Address) (bool, error)
- func (_RewardTracker *RewardTrackerCallerSession) IsHandler(arg0 common.Address) (bool, error)
- func (_RewardTracker *RewardTrackerCallerSession) IsInitialized() (bool, error)
- func (_RewardTracker *RewardTrackerCallerSession) Name() (string, error)
- func (_RewardTracker *RewardTrackerCallerSession) PRECISION() (*big.Int, error)
- func (_RewardTracker *RewardTrackerCallerSession) PreviousCumulatedRewardPerToken(arg0 common.Address) (*big.Int, error)
- func (_RewardTracker *RewardTrackerCallerSession) RewardToken() (common.Address, error)
- func (_RewardTracker *RewardTrackerCallerSession) StakedAmounts(arg0 common.Address) (*big.Int, error)
- func (_RewardTracker *RewardTrackerCallerSession) Symbol() (string, error)
- func (_RewardTracker *RewardTrackerCallerSession) TokensPerInterval() (*big.Int, error)
- func (_RewardTracker *RewardTrackerCallerSession) TotalDepositSupply(arg0 common.Address) (*big.Int, error)
- func (_RewardTracker *RewardTrackerCallerSession) TotalSupply() (*big.Int, error)
- type RewardTrackerClaim
- type RewardTrackerClaimIterator
- type RewardTrackerFilterer
- func (_RewardTracker *RewardTrackerFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*RewardTrackerApprovalIterator, error)
- func (_RewardTracker *RewardTrackerFilterer) FilterClaim(opts *bind.FilterOpts) (*RewardTrackerClaimIterator, error)
- func (_RewardTracker *RewardTrackerFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*RewardTrackerTransferIterator, error)
- func (_RewardTracker *RewardTrackerFilterer) ParseApproval(log types.Log) (*RewardTrackerApproval, error)
- func (_RewardTracker *RewardTrackerFilterer) ParseClaim(log types.Log) (*RewardTrackerClaim, error)
- func (_RewardTracker *RewardTrackerFilterer) ParseTransfer(log types.Log) (*RewardTrackerTransfer, error)
- func (_RewardTracker *RewardTrackerFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *RewardTrackerApproval, ...) (event.Subscription, error)
- func (_RewardTracker *RewardTrackerFilterer) WatchClaim(opts *bind.WatchOpts, sink chan<- *RewardTrackerClaim) (event.Subscription, error)
- func (_RewardTracker *RewardTrackerFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *RewardTrackerTransfer, ...) (event.Subscription, error)
- type RewardTrackerRaw
- func (_RewardTracker *RewardTrackerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_RewardTracker *RewardTrackerRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_RewardTracker *RewardTrackerRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type RewardTrackerSession
- func (_RewardTracker *RewardTrackerSession) Allowance(_owner common.Address, _spender common.Address) (*big.Int, error)
- func (_RewardTracker *RewardTrackerSession) Allowances(arg0 common.Address, arg1 common.Address) (*big.Int, error)
- func (_RewardTracker *RewardTrackerSession) Approve(_spender common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_RewardTracker *RewardTrackerSession) AverageStakedAmounts(arg0 common.Address) (*big.Int, error)
- func (_RewardTracker *RewardTrackerSession) BASISPOINTSDIVISOR() (*big.Int, error)
- func (_RewardTracker *RewardTrackerSession) BalanceOf(_account common.Address) (*big.Int, error)
- func (_RewardTracker *RewardTrackerSession) Balances(arg0 common.Address) (*big.Int, error)
- func (_RewardTracker *RewardTrackerSession) Claim(_receiver common.Address) (*types.Transaction, error)
- func (_RewardTracker *RewardTrackerSession) ClaimForAccount(_account common.Address, _receiver common.Address) (*types.Transaction, error)
- func (_RewardTracker *RewardTrackerSession) Claimable(_account common.Address) (*big.Int, error)
- func (_RewardTracker *RewardTrackerSession) ClaimableReward(arg0 common.Address) (*big.Int, error)
- func (_RewardTracker *RewardTrackerSession) CumulativeRewardPerToken() (*big.Int, error)
- func (_RewardTracker *RewardTrackerSession) CumulativeRewards(arg0 common.Address) (*big.Int, error)
- func (_RewardTracker *RewardTrackerSession) Decimals() (uint8, error)
- func (_RewardTracker *RewardTrackerSession) DepositBalances(arg0 common.Address, arg1 common.Address) (*big.Int, error)
- func (_RewardTracker *RewardTrackerSession) Distributor() (common.Address, error)
- func (_RewardTracker *RewardTrackerSession) Gov() (common.Address, error)
- func (_RewardTracker *RewardTrackerSession) InPrivateClaimingMode() (bool, error)
- func (_RewardTracker *RewardTrackerSession) InPrivateStakingMode() (bool, error)
- func (_RewardTracker *RewardTrackerSession) InPrivateTransferMode() (bool, error)
- func (_RewardTracker *RewardTrackerSession) Initialize(_depositTokens []common.Address, _distributor common.Address) (*types.Transaction, error)
- func (_RewardTracker *RewardTrackerSession) IsDepositToken(arg0 common.Address) (bool, error)
- func (_RewardTracker *RewardTrackerSession) IsHandler(arg0 common.Address) (bool, error)
- func (_RewardTracker *RewardTrackerSession) IsInitialized() (bool, error)
- func (_RewardTracker *RewardTrackerSession) Name() (string, error)
- func (_RewardTracker *RewardTrackerSession) PRECISION() (*big.Int, error)
- func (_RewardTracker *RewardTrackerSession) PreviousCumulatedRewardPerToken(arg0 common.Address) (*big.Int, error)
- func (_RewardTracker *RewardTrackerSession) RewardToken() (common.Address, error)
- func (_RewardTracker *RewardTrackerSession) SetDepositToken(_depositToken common.Address, _isDepositToken bool) (*types.Transaction, error)
- func (_RewardTracker *RewardTrackerSession) SetGov(_gov common.Address) (*types.Transaction, error)
- func (_RewardTracker *RewardTrackerSession) SetHandler(_handler common.Address, _isActive bool) (*types.Transaction, error)
- func (_RewardTracker *RewardTrackerSession) SetInPrivateClaimingMode(_inPrivateClaimingMode bool) (*types.Transaction, error)
- func (_RewardTracker *RewardTrackerSession) SetInPrivateStakingMode(_inPrivateStakingMode bool) (*types.Transaction, error)
- func (_RewardTracker *RewardTrackerSession) SetInPrivateTransferMode(_inPrivateTransferMode bool) (*types.Transaction, error)
- func (_RewardTracker *RewardTrackerSession) Stake(_depositToken common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_RewardTracker *RewardTrackerSession) StakeForAccount(_fundingAccount common.Address, _account common.Address, ...) (*types.Transaction, error)
- func (_RewardTracker *RewardTrackerSession) StakedAmounts(arg0 common.Address) (*big.Int, error)
- func (_RewardTracker *RewardTrackerSession) Symbol() (string, error)
- func (_RewardTracker *RewardTrackerSession) TokensPerInterval() (*big.Int, error)
- func (_RewardTracker *RewardTrackerSession) TotalDepositSupply(arg0 common.Address) (*big.Int, error)
- func (_RewardTracker *RewardTrackerSession) TotalSupply() (*big.Int, error)
- func (_RewardTracker *RewardTrackerSession) Transfer(_recipient common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_RewardTracker *RewardTrackerSession) TransferFrom(_sender common.Address, _recipient common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_RewardTracker *RewardTrackerSession) Unstake(_depositToken common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_RewardTracker *RewardTrackerSession) UnstakeForAccount(_account common.Address, _depositToken common.Address, _amount *big.Int, ...) (*types.Transaction, error)
- func (_RewardTracker *RewardTrackerSession) UpdateRewards() (*types.Transaction, error)
- func (_RewardTracker *RewardTrackerSession) WithdrawToken(_token common.Address, _account common.Address, _amount *big.Int) (*types.Transaction, error)
- type RewardTrackerTransactor
- func (_RewardTracker *RewardTrackerTransactor) Approve(opts *bind.TransactOpts, _spender common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_RewardTracker *RewardTrackerTransactor) Claim(opts *bind.TransactOpts, _receiver common.Address) (*types.Transaction, error)
- func (_RewardTracker *RewardTrackerTransactor) ClaimForAccount(opts *bind.TransactOpts, _account common.Address, _receiver common.Address) (*types.Transaction, error)
- func (_RewardTracker *RewardTrackerTransactor) Initialize(opts *bind.TransactOpts, _depositTokens []common.Address, ...) (*types.Transaction, error)
- func (_RewardTracker *RewardTrackerTransactor) SetDepositToken(opts *bind.TransactOpts, _depositToken common.Address, _isDepositToken bool) (*types.Transaction, error)
- func (_RewardTracker *RewardTrackerTransactor) SetGov(opts *bind.TransactOpts, _gov common.Address) (*types.Transaction, error)
- func (_RewardTracker *RewardTrackerTransactor) SetHandler(opts *bind.TransactOpts, _handler common.Address, _isActive bool) (*types.Transaction, error)
- func (_RewardTracker *RewardTrackerTransactor) SetInPrivateClaimingMode(opts *bind.TransactOpts, _inPrivateClaimingMode bool) (*types.Transaction, error)
- func (_RewardTracker *RewardTrackerTransactor) SetInPrivateStakingMode(opts *bind.TransactOpts, _inPrivateStakingMode bool) (*types.Transaction, error)
- func (_RewardTracker *RewardTrackerTransactor) SetInPrivateTransferMode(opts *bind.TransactOpts, _inPrivateTransferMode bool) (*types.Transaction, error)
- func (_RewardTracker *RewardTrackerTransactor) Stake(opts *bind.TransactOpts, _depositToken common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_RewardTracker *RewardTrackerTransactor) StakeForAccount(opts *bind.TransactOpts, _fundingAccount common.Address, ...) (*types.Transaction, error)
- func (_RewardTracker *RewardTrackerTransactor) Transfer(opts *bind.TransactOpts, _recipient common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_RewardTracker *RewardTrackerTransactor) TransferFrom(opts *bind.TransactOpts, _sender common.Address, _recipient common.Address, ...) (*types.Transaction, error)
- func (_RewardTracker *RewardTrackerTransactor) Unstake(opts *bind.TransactOpts, _depositToken common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_RewardTracker *RewardTrackerTransactor) UnstakeForAccount(opts *bind.TransactOpts, _account common.Address, _depositToken common.Address, ...) (*types.Transaction, error)
- func (_RewardTracker *RewardTrackerTransactor) UpdateRewards(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_RewardTracker *RewardTrackerTransactor) WithdrawToken(opts *bind.TransactOpts, _token common.Address, _account common.Address, ...) (*types.Transaction, error)
- type RewardTrackerTransactorRaw
- type RewardTrackerTransactorSession
- func (_RewardTracker *RewardTrackerTransactorSession) Approve(_spender common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_RewardTracker *RewardTrackerTransactorSession) Claim(_receiver common.Address) (*types.Transaction, error)
- func (_RewardTracker *RewardTrackerTransactorSession) ClaimForAccount(_account common.Address, _receiver common.Address) (*types.Transaction, error)
- func (_RewardTracker *RewardTrackerTransactorSession) Initialize(_depositTokens []common.Address, _distributor common.Address) (*types.Transaction, error)
- func (_RewardTracker *RewardTrackerTransactorSession) SetDepositToken(_depositToken common.Address, _isDepositToken bool) (*types.Transaction, error)
- func (_RewardTracker *RewardTrackerTransactorSession) SetGov(_gov common.Address) (*types.Transaction, error)
- func (_RewardTracker *RewardTrackerTransactorSession) SetHandler(_handler common.Address, _isActive bool) (*types.Transaction, error)
- func (_RewardTracker *RewardTrackerTransactorSession) SetInPrivateClaimingMode(_inPrivateClaimingMode bool) (*types.Transaction, error)
- func (_RewardTracker *RewardTrackerTransactorSession) SetInPrivateStakingMode(_inPrivateStakingMode bool) (*types.Transaction, error)
- func (_RewardTracker *RewardTrackerTransactorSession) SetInPrivateTransferMode(_inPrivateTransferMode bool) (*types.Transaction, error)
- func (_RewardTracker *RewardTrackerTransactorSession) Stake(_depositToken common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_RewardTracker *RewardTrackerTransactorSession) StakeForAccount(_fundingAccount common.Address, _account common.Address, ...) (*types.Transaction, error)
- func (_RewardTracker *RewardTrackerTransactorSession) Transfer(_recipient common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_RewardTracker *RewardTrackerTransactorSession) TransferFrom(_sender common.Address, _recipient common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_RewardTracker *RewardTrackerTransactorSession) Unstake(_depositToken common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_RewardTracker *RewardTrackerTransactorSession) UnstakeForAccount(_account common.Address, _depositToken common.Address, _amount *big.Int, ...) (*types.Transaction, error)
- func (_RewardTracker *RewardTrackerTransactorSession) UpdateRewards() (*types.Transaction, error)
- func (_RewardTracker *RewardTrackerTransactorSession) WithdrawToken(_token common.Address, _account common.Address, _amount *big.Int) (*types.Transaction, error)
- type RewardTrackerTransfer
- type RewardTrackerTransferIterator
Constants ¶
This section is empty.
Variables ¶
var RewardTrackerABI = RewardTrackerMetaData.ABI
RewardTrackerABI is the input ABI used to generate the binding from. Deprecated: Use RewardTrackerMetaData.ABI instead.
var RewardTrackerMetaData = &bind.MetaData{
ABI: "[{\"type\":\"constructor\",\"inputs\":[{\"name\":\"_name\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"_symbol\",\"type\":\"string\",\"internalType\":\"string\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"BASIS_POINTS_DIVISOR\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"PRECISION\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"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\":\"averageStakedAmounts\",\"inputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"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\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"claimForAccount\",\"inputs\":[{\"name\":\"_account\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_receiver\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"claimable\",\"inputs\":[{\"name\":\"_account\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"claimableReward\",\"inputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"cumulativeRewardPerToken\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"cumulativeRewards\",\"inputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"decimals\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint8\",\"internalType\":\"uint8\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"depositBalances\",\"inputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"distributor\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"gov\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"inPrivateClaimingMode\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"inPrivateStakingMode\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"inPrivateTransferMode\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"initialize\",\"inputs\":[{\"name\":\"_depositTokens\",\"type\":\"address[]\",\"internalType\":\"address[]\"},{\"name\":\"_distributor\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"isDepositToken\",\"inputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"isHandler\",\"inputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"isInitialized\",\"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\":\"previousCumulatedRewardPerToken\",\"inputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"rewardToken\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"setDepositToken\",\"inputs\":[{\"name\":\"_depositToken\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_isDepositToken\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"setGov\",\"inputs\":[{\"name\":\"_gov\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"setHandler\",\"inputs\":[{\"name\":\"_handler\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_isActive\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"setInPrivateClaimingMode\",\"inputs\":[{\"name\":\"_inPrivateClaimingMode\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"setInPrivateStakingMode\",\"inputs\":[{\"name\":\"_inPrivateStakingMode\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"setInPrivateTransferMode\",\"inputs\":[{\"name\":\"_inPrivateTransferMode\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"stake\",\"inputs\":[{\"name\":\"_depositToken\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"stakeForAccount\",\"inputs\":[{\"name\":\"_fundingAccount\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_account\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_depositToken\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"stakedAmounts\",\"inputs\":[{\"name\":\"\",\"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\":\"tokensPerInterval\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"totalDepositSupply\",\"inputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"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\":\"unstake\",\"inputs\":[{\"name\":\"_depositToken\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"unstakeForAccount\",\"inputs\":[{\"name\":\"_account\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_depositToken\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_receiver\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"updateRewards\",\"inputs\":[],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"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\":\"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\":\"Claim\",\"inputs\":[{\"name\":\"receiver\",\"type\":\"address\",\"indexed\":false,\"internalType\":\"address\"},{\"name\":\"amount\",\"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}]",
}
RewardTrackerMetaData contains all meta data concerning the RewardTracker contract.
Functions ¶
This section is empty.
Types ¶
type RewardTracker ¶
type RewardTracker struct { RewardTrackerCaller // Read-only binding to the contract RewardTrackerTransactor // Write-only binding to the contract RewardTrackerFilterer // Log filterer for contract events }
RewardTracker is an auto generated Go binding around an Ethereum contract.
func NewRewardTracker ¶
func NewRewardTracker(address common.Address, backend bind.ContractBackend) (*RewardTracker, error)
NewRewardTracker creates a new instance of RewardTracker, bound to a specific deployed contract.
type RewardTrackerApproval ¶
type RewardTrackerApproval struct { Owner common.Address Spender common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
RewardTrackerApproval represents a Approval event raised by the RewardTracker contract.
type RewardTrackerApprovalIterator ¶
type RewardTrackerApprovalIterator struct { Event *RewardTrackerApproval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
RewardTrackerApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the RewardTracker contract.
func (*RewardTrackerApprovalIterator) Close ¶
func (it *RewardTrackerApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*RewardTrackerApprovalIterator) Error ¶
func (it *RewardTrackerApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*RewardTrackerApprovalIterator) Next ¶
func (it *RewardTrackerApprovalIterator) 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 RewardTrackerCaller ¶
type RewardTrackerCaller struct {
// contains filtered or unexported fields
}
RewardTrackerCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewRewardTrackerCaller ¶
func NewRewardTrackerCaller(address common.Address, caller bind.ContractCaller) (*RewardTrackerCaller, error)
NewRewardTrackerCaller creates a new read-only instance of RewardTracker, bound to a specific deployed contract.
func (*RewardTrackerCaller) Allowance ¶
func (_RewardTracker *RewardTrackerCaller) 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 (*RewardTrackerCaller) Allowances ¶
func (_RewardTracker *RewardTrackerCaller) 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 (*RewardTrackerCaller) AverageStakedAmounts ¶
func (_RewardTracker *RewardTrackerCaller) AverageStakedAmounts(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
AverageStakedAmounts is a free data retrieval call binding the contract method 0xa3180217.
Solidity: function averageStakedAmounts(address ) view returns(uint256)
func (*RewardTrackerCaller) BASISPOINTSDIVISOR ¶
func (_RewardTracker *RewardTrackerCaller) BASISPOINTSDIVISOR(opts *bind.CallOpts) (*big.Int, error)
BASISPOINTSDIVISOR is a free data retrieval call binding the contract method 0x126082cf.
Solidity: function BASIS_POINTS_DIVISOR() view returns(uint256)
func (*RewardTrackerCaller) BalanceOf ¶
func (_RewardTracker *RewardTrackerCaller) 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 (*RewardTrackerCaller) Balances ¶
func (_RewardTracker *RewardTrackerCaller) 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 (*RewardTrackerCaller) Claimable ¶
func (_RewardTracker *RewardTrackerCaller) Claimable(opts *bind.CallOpts, _account common.Address) (*big.Int, error)
Claimable is a free data retrieval call binding the contract method 0x402914f5.
Solidity: function claimable(address _account) view returns(uint256)
func (*RewardTrackerCaller) ClaimableReward ¶
func (_RewardTracker *RewardTrackerCaller) ClaimableReward(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
ClaimableReward is a free data retrieval call binding the contract method 0xe9503425.
Solidity: function claimableReward(address ) view returns(uint256)
func (*RewardTrackerCaller) CumulativeRewardPerToken ¶
func (_RewardTracker *RewardTrackerCaller) CumulativeRewardPerToken(opts *bind.CallOpts) (*big.Int, error)
CumulativeRewardPerToken is a free data retrieval call binding the contract method 0xf5fc5076.
Solidity: function cumulativeRewardPerToken() view returns(uint256)
func (*RewardTrackerCaller) CumulativeRewards ¶
func (_RewardTracker *RewardTrackerCaller) CumulativeRewards(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
CumulativeRewards is a free data retrieval call binding the contract method 0x3792def3.
Solidity: function cumulativeRewards(address ) view returns(uint256)
func (*RewardTrackerCaller) Decimals ¶
func (_RewardTracker *RewardTrackerCaller) 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 (*RewardTrackerCaller) DepositBalances ¶
func (_RewardTracker *RewardTrackerCaller) DepositBalances(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (*big.Int, error)
DepositBalances is a free data retrieval call binding the contract method 0xf5d9d63e.
Solidity: function depositBalances(address , address ) view returns(uint256)
func (*RewardTrackerCaller) Distributor ¶
Distributor is a free data retrieval call binding the contract method 0xbfe10928.
Solidity: function distributor() view returns(address)
func (*RewardTrackerCaller) Gov ¶
Gov is a free data retrieval call binding the contract method 0x12d43a51.
Solidity: function gov() view returns(address)
func (*RewardTrackerCaller) InPrivateClaimingMode ¶
func (_RewardTracker *RewardTrackerCaller) InPrivateClaimingMode(opts *bind.CallOpts) (bool, error)
InPrivateClaimingMode is a free data retrieval call binding the contract method 0xf76033d3.
Solidity: function inPrivateClaimingMode() view returns(bool)
func (*RewardTrackerCaller) InPrivateStakingMode ¶
func (_RewardTracker *RewardTrackerCaller) InPrivateStakingMode(opts *bind.CallOpts) (bool, error)
InPrivateStakingMode is a free data retrieval call binding the contract method 0xc5fa2730.
Solidity: function inPrivateStakingMode() view returns(bool)
func (*RewardTrackerCaller) InPrivateTransferMode ¶
func (_RewardTracker *RewardTrackerCaller) InPrivateTransferMode(opts *bind.CallOpts) (bool, error)
InPrivateTransferMode is a free data retrieval call binding the contract method 0xdfbaefb1.
Solidity: function inPrivateTransferMode() view returns(bool)
func (*RewardTrackerCaller) IsDepositToken ¶
func (_RewardTracker *RewardTrackerCaller) IsDepositToken(opts *bind.CallOpts, arg0 common.Address) (bool, error)
IsDepositToken is a free data retrieval call binding the contract method 0xb89e45b3.
Solidity: function isDepositToken(address ) view returns(bool)
func (*RewardTrackerCaller) IsHandler ¶
func (_RewardTracker *RewardTrackerCaller) IsHandler(opts *bind.CallOpts, arg0 common.Address) (bool, error)
IsHandler is a free data retrieval call binding the contract method 0x46ea87af.
Solidity: function isHandler(address ) view returns(bool)
func (*RewardTrackerCaller) IsInitialized ¶
func (_RewardTracker *RewardTrackerCaller) IsInitialized(opts *bind.CallOpts) (bool, error)
IsInitialized is a free data retrieval call binding the contract method 0x392e53cd.
Solidity: function isInitialized() view returns(bool)
func (*RewardTrackerCaller) Name ¶
func (_RewardTracker *RewardTrackerCaller) 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 (*RewardTrackerCaller) PRECISION ¶
PRECISION is a free data retrieval call binding the contract method 0xaaf5eb68.
Solidity: function PRECISION() view returns(uint256)
func (*RewardTrackerCaller) PreviousCumulatedRewardPerToken ¶
func (_RewardTracker *RewardTrackerCaller) PreviousCumulatedRewardPerToken(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
PreviousCumulatedRewardPerToken is a free data retrieval call binding the contract method 0x44a08411.
Solidity: function previousCumulatedRewardPerToken(address ) view returns(uint256)
func (*RewardTrackerCaller) RewardToken ¶
RewardToken is a free data retrieval call binding the contract method 0xf7c618c1.
Solidity: function rewardToken() view returns(address)
func (*RewardTrackerCaller) StakedAmounts ¶
func (_RewardTracker *RewardTrackerCaller) StakedAmounts(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
StakedAmounts is a free data retrieval call binding the contract method 0x10c1c103.
Solidity: function stakedAmounts(address ) view returns(uint256)
func (*RewardTrackerCaller) Symbol ¶
func (_RewardTracker *RewardTrackerCaller) 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 (*RewardTrackerCaller) TokensPerInterval ¶
TokensPerInterval is a free data retrieval call binding the contract method 0xa8d93627.
Solidity: function tokensPerInterval() view returns(uint256)
func (*RewardTrackerCaller) TotalDepositSupply ¶
func (_RewardTracker *RewardTrackerCaller) TotalDepositSupply(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
TotalDepositSupply is a free data retrieval call binding the contract method 0x552ce1dc.
Solidity: function totalDepositSupply(address ) view returns(uint256)
func (*RewardTrackerCaller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type RewardTrackerCallerRaw ¶
type RewardTrackerCallerRaw struct {
Contract *RewardTrackerCaller // Generic read-only contract binding to access the raw methods on
}
RewardTrackerCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*RewardTrackerCallerRaw) Call ¶
func (_RewardTracker *RewardTrackerCallerRaw) 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 RewardTrackerCallerSession ¶
type RewardTrackerCallerSession struct { Contract *RewardTrackerCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
RewardTrackerCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*RewardTrackerCallerSession) Allowance ¶
func (_RewardTracker *RewardTrackerCallerSession) 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 (*RewardTrackerCallerSession) Allowances ¶
func (_RewardTracker *RewardTrackerCallerSession) 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 (*RewardTrackerCallerSession) AverageStakedAmounts ¶
func (_RewardTracker *RewardTrackerCallerSession) AverageStakedAmounts(arg0 common.Address) (*big.Int, error)
AverageStakedAmounts is a free data retrieval call binding the contract method 0xa3180217.
Solidity: function averageStakedAmounts(address ) view returns(uint256)
func (*RewardTrackerCallerSession) BASISPOINTSDIVISOR ¶
func (_RewardTracker *RewardTrackerCallerSession) BASISPOINTSDIVISOR() (*big.Int, error)
BASISPOINTSDIVISOR is a free data retrieval call binding the contract method 0x126082cf.
Solidity: function BASIS_POINTS_DIVISOR() view returns(uint256)
func (*RewardTrackerCallerSession) BalanceOf ¶
func (_RewardTracker *RewardTrackerCallerSession) BalanceOf(_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 (*RewardTrackerCallerSession) Balances ¶
Balances is a free data retrieval call binding the contract method 0x27e235e3.
Solidity: function balances(address ) view returns(uint256)
func (*RewardTrackerCallerSession) Claimable ¶
func (_RewardTracker *RewardTrackerCallerSession) Claimable(_account common.Address) (*big.Int, error)
Claimable is a free data retrieval call binding the contract method 0x402914f5.
Solidity: function claimable(address _account) view returns(uint256)
func (*RewardTrackerCallerSession) ClaimableReward ¶
func (_RewardTracker *RewardTrackerCallerSession) ClaimableReward(arg0 common.Address) (*big.Int, error)
ClaimableReward is a free data retrieval call binding the contract method 0xe9503425.
Solidity: function claimableReward(address ) view returns(uint256)
func (*RewardTrackerCallerSession) CumulativeRewardPerToken ¶
func (_RewardTracker *RewardTrackerCallerSession) CumulativeRewardPerToken() (*big.Int, error)
CumulativeRewardPerToken is a free data retrieval call binding the contract method 0xf5fc5076.
Solidity: function cumulativeRewardPerToken() view returns(uint256)
func (*RewardTrackerCallerSession) CumulativeRewards ¶
func (_RewardTracker *RewardTrackerCallerSession) CumulativeRewards(arg0 common.Address) (*big.Int, error)
CumulativeRewards is a free data retrieval call binding the contract method 0x3792def3.
Solidity: function cumulativeRewards(address ) view returns(uint256)
func (*RewardTrackerCallerSession) Decimals ¶
func (_RewardTracker *RewardTrackerCallerSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*RewardTrackerCallerSession) DepositBalances ¶
func (_RewardTracker *RewardTrackerCallerSession) DepositBalances(arg0 common.Address, arg1 common.Address) (*big.Int, error)
DepositBalances is a free data retrieval call binding the contract method 0xf5d9d63e.
Solidity: function depositBalances(address , address ) view returns(uint256)
func (*RewardTrackerCallerSession) Distributor ¶
func (_RewardTracker *RewardTrackerCallerSession) Distributor() (common.Address, error)
Distributor is a free data retrieval call binding the contract method 0xbfe10928.
Solidity: function distributor() view returns(address)
func (*RewardTrackerCallerSession) Gov ¶
func (_RewardTracker *RewardTrackerCallerSession) Gov() (common.Address, error)
Gov is a free data retrieval call binding the contract method 0x12d43a51.
Solidity: function gov() view returns(address)
func (*RewardTrackerCallerSession) InPrivateClaimingMode ¶
func (_RewardTracker *RewardTrackerCallerSession) InPrivateClaimingMode() (bool, error)
InPrivateClaimingMode is a free data retrieval call binding the contract method 0xf76033d3.
Solidity: function inPrivateClaimingMode() view returns(bool)
func (*RewardTrackerCallerSession) InPrivateStakingMode ¶
func (_RewardTracker *RewardTrackerCallerSession) InPrivateStakingMode() (bool, error)
InPrivateStakingMode is a free data retrieval call binding the contract method 0xc5fa2730.
Solidity: function inPrivateStakingMode() view returns(bool)
func (*RewardTrackerCallerSession) InPrivateTransferMode ¶
func (_RewardTracker *RewardTrackerCallerSession) InPrivateTransferMode() (bool, error)
InPrivateTransferMode is a free data retrieval call binding the contract method 0xdfbaefb1.
Solidity: function inPrivateTransferMode() view returns(bool)
func (*RewardTrackerCallerSession) IsDepositToken ¶
func (_RewardTracker *RewardTrackerCallerSession) IsDepositToken(arg0 common.Address) (bool, error)
IsDepositToken is a free data retrieval call binding the contract method 0xb89e45b3.
Solidity: function isDepositToken(address ) view returns(bool)
func (*RewardTrackerCallerSession) IsHandler ¶
func (_RewardTracker *RewardTrackerCallerSession) IsHandler(arg0 common.Address) (bool, error)
IsHandler is a free data retrieval call binding the contract method 0x46ea87af.
Solidity: function isHandler(address ) view returns(bool)
func (*RewardTrackerCallerSession) IsInitialized ¶
func (_RewardTracker *RewardTrackerCallerSession) IsInitialized() (bool, error)
IsInitialized is a free data retrieval call binding the contract method 0x392e53cd.
Solidity: function isInitialized() view returns(bool)
func (*RewardTrackerCallerSession) Name ¶
func (_RewardTracker *RewardTrackerCallerSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*RewardTrackerCallerSession) PRECISION ¶
func (_RewardTracker *RewardTrackerCallerSession) PRECISION() (*big.Int, error)
PRECISION is a free data retrieval call binding the contract method 0xaaf5eb68.
Solidity: function PRECISION() view returns(uint256)
func (*RewardTrackerCallerSession) PreviousCumulatedRewardPerToken ¶
func (_RewardTracker *RewardTrackerCallerSession) PreviousCumulatedRewardPerToken(arg0 common.Address) (*big.Int, error)
PreviousCumulatedRewardPerToken is a free data retrieval call binding the contract method 0x44a08411.
Solidity: function previousCumulatedRewardPerToken(address ) view returns(uint256)
func (*RewardTrackerCallerSession) RewardToken ¶
func (_RewardTracker *RewardTrackerCallerSession) RewardToken() (common.Address, error)
RewardToken is a free data retrieval call binding the contract method 0xf7c618c1.
Solidity: function rewardToken() view returns(address)
func (*RewardTrackerCallerSession) StakedAmounts ¶
func (_RewardTracker *RewardTrackerCallerSession) StakedAmounts(arg0 common.Address) (*big.Int, error)
StakedAmounts is a free data retrieval call binding the contract method 0x10c1c103.
Solidity: function stakedAmounts(address ) view returns(uint256)
func (*RewardTrackerCallerSession) Symbol ¶
func (_RewardTracker *RewardTrackerCallerSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*RewardTrackerCallerSession) TokensPerInterval ¶
func (_RewardTracker *RewardTrackerCallerSession) TokensPerInterval() (*big.Int, error)
TokensPerInterval is a free data retrieval call binding the contract method 0xa8d93627.
Solidity: function tokensPerInterval() view returns(uint256)
func (*RewardTrackerCallerSession) TotalDepositSupply ¶
func (_RewardTracker *RewardTrackerCallerSession) TotalDepositSupply(arg0 common.Address) (*big.Int, error)
TotalDepositSupply is a free data retrieval call binding the contract method 0x552ce1dc.
Solidity: function totalDepositSupply(address ) view returns(uint256)
func (*RewardTrackerCallerSession) TotalSupply ¶
func (_RewardTracker *RewardTrackerCallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type RewardTrackerClaim ¶
type RewardTrackerClaim struct { Receiver common.Address Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
RewardTrackerClaim represents a Claim event raised by the RewardTracker contract.
type RewardTrackerClaimIterator ¶
type RewardTrackerClaimIterator struct { Event *RewardTrackerClaim // Event containing the contract specifics and raw log // contains filtered or unexported fields }
RewardTrackerClaimIterator is returned from FilterClaim and is used to iterate over the raw logs and unpacked data for Claim events raised by the RewardTracker contract.
func (*RewardTrackerClaimIterator) Close ¶
func (it *RewardTrackerClaimIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*RewardTrackerClaimIterator) Error ¶
func (it *RewardTrackerClaimIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*RewardTrackerClaimIterator) Next ¶
func (it *RewardTrackerClaimIterator) 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 RewardTrackerFilterer ¶
type RewardTrackerFilterer struct {
// contains filtered or unexported fields
}
RewardTrackerFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewRewardTrackerFilterer ¶
func NewRewardTrackerFilterer(address common.Address, filterer bind.ContractFilterer) (*RewardTrackerFilterer, error)
NewRewardTrackerFilterer creates a new log filterer instance of RewardTracker, bound to a specific deployed contract.
func (*RewardTrackerFilterer) FilterApproval ¶
func (_RewardTracker *RewardTrackerFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*RewardTrackerApprovalIterator, 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 (*RewardTrackerFilterer) FilterClaim ¶
func (_RewardTracker *RewardTrackerFilterer) FilterClaim(opts *bind.FilterOpts) (*RewardTrackerClaimIterator, error)
FilterClaim is a free log retrieval operation binding the contract event 0x47cee97cb7acd717b3c0aa1435d004cd5b3c8c57d70dbceb4e4458bbd60e39d4.
Solidity: event Claim(address receiver, uint256 amount)
func (*RewardTrackerFilterer) FilterTransfer ¶
func (_RewardTracker *RewardTrackerFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*RewardTrackerTransferIterator, 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 (*RewardTrackerFilterer) ParseApproval ¶
func (_RewardTracker *RewardTrackerFilterer) ParseApproval(log types.Log) (*RewardTrackerApproval, error)
ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*RewardTrackerFilterer) ParseClaim ¶
func (_RewardTracker *RewardTrackerFilterer) ParseClaim(log types.Log) (*RewardTrackerClaim, error)
ParseClaim is a log parse operation binding the contract event 0x47cee97cb7acd717b3c0aa1435d004cd5b3c8c57d70dbceb4e4458bbd60e39d4.
Solidity: event Claim(address receiver, uint256 amount)
func (*RewardTrackerFilterer) ParseTransfer ¶
func (_RewardTracker *RewardTrackerFilterer) ParseTransfer(log types.Log) (*RewardTrackerTransfer, error)
ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*RewardTrackerFilterer) WatchApproval ¶
func (_RewardTracker *RewardTrackerFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *RewardTrackerApproval, 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 (*RewardTrackerFilterer) WatchClaim ¶
func (_RewardTracker *RewardTrackerFilterer) WatchClaim(opts *bind.WatchOpts, sink chan<- *RewardTrackerClaim) (event.Subscription, error)
WatchClaim is a free log subscription operation binding the contract event 0x47cee97cb7acd717b3c0aa1435d004cd5b3c8c57d70dbceb4e4458bbd60e39d4.
Solidity: event Claim(address receiver, uint256 amount)
func (*RewardTrackerFilterer) WatchTransfer ¶
func (_RewardTracker *RewardTrackerFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *RewardTrackerTransfer, 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 RewardTrackerRaw ¶
type RewardTrackerRaw struct {
Contract *RewardTracker // Generic contract binding to access the raw methods on
}
RewardTrackerRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*RewardTrackerRaw) Call ¶
func (_RewardTracker *RewardTrackerRaw) 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 (*RewardTrackerRaw) Transact ¶
func (_RewardTracker *RewardTrackerRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*RewardTrackerRaw) Transfer ¶
func (_RewardTracker *RewardTrackerRaw) 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 RewardTrackerSession ¶
type RewardTrackerSession struct { Contract *RewardTracker // 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 }
RewardTrackerSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*RewardTrackerSession) Allowance ¶
func (_RewardTracker *RewardTrackerSession) 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 (*RewardTrackerSession) Allowances ¶
func (_RewardTracker *RewardTrackerSession) 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 (*RewardTrackerSession) Approve ¶
func (_RewardTracker *RewardTrackerSession) 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 (*RewardTrackerSession) AverageStakedAmounts ¶
func (_RewardTracker *RewardTrackerSession) AverageStakedAmounts(arg0 common.Address) (*big.Int, error)
AverageStakedAmounts is a free data retrieval call binding the contract method 0xa3180217.
Solidity: function averageStakedAmounts(address ) view returns(uint256)
func (*RewardTrackerSession) BASISPOINTSDIVISOR ¶
func (_RewardTracker *RewardTrackerSession) BASISPOINTSDIVISOR() (*big.Int, error)
BASISPOINTSDIVISOR is a free data retrieval call binding the contract method 0x126082cf.
Solidity: function BASIS_POINTS_DIVISOR() view returns(uint256)
func (*RewardTrackerSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address _account) view returns(uint256)
func (*RewardTrackerSession) Balances ¶
Balances is a free data retrieval call binding the contract method 0x27e235e3.
Solidity: function balances(address ) view returns(uint256)
func (*RewardTrackerSession) Claim ¶
func (_RewardTracker *RewardTrackerSession) Claim(_receiver common.Address) (*types.Transaction, error)
Claim is a paid mutator transaction binding the contract method 0x1e83409a.
Solidity: function claim(address _receiver) returns(uint256)
func (*RewardTrackerSession) ClaimForAccount ¶
func (_RewardTracker *RewardTrackerSession) ClaimForAccount(_account common.Address, _receiver common.Address) (*types.Transaction, error)
ClaimForAccount is a paid mutator transaction binding the contract method 0x13e82e7a.
Solidity: function claimForAccount(address _account, address _receiver) returns(uint256)
func (*RewardTrackerSession) Claimable ¶
Claimable is a free data retrieval call binding the contract method 0x402914f5.
Solidity: function claimable(address _account) view returns(uint256)
func (*RewardTrackerSession) ClaimableReward ¶
ClaimableReward is a free data retrieval call binding the contract method 0xe9503425.
Solidity: function claimableReward(address ) view returns(uint256)
func (*RewardTrackerSession) CumulativeRewardPerToken ¶
func (_RewardTracker *RewardTrackerSession) CumulativeRewardPerToken() (*big.Int, error)
CumulativeRewardPerToken is a free data retrieval call binding the contract method 0xf5fc5076.
Solidity: function cumulativeRewardPerToken() view returns(uint256)
func (*RewardTrackerSession) CumulativeRewards ¶
func (_RewardTracker *RewardTrackerSession) CumulativeRewards(arg0 common.Address) (*big.Int, error)
CumulativeRewards is a free data retrieval call binding the contract method 0x3792def3.
Solidity: function cumulativeRewards(address ) view returns(uint256)
func (*RewardTrackerSession) Decimals ¶
func (_RewardTracker *RewardTrackerSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*RewardTrackerSession) DepositBalances ¶
func (_RewardTracker *RewardTrackerSession) DepositBalances(arg0 common.Address, arg1 common.Address) (*big.Int, error)
DepositBalances is a free data retrieval call binding the contract method 0xf5d9d63e.
Solidity: function depositBalances(address , address ) view returns(uint256)
func (*RewardTrackerSession) Distributor ¶
func (_RewardTracker *RewardTrackerSession) Distributor() (common.Address, error)
Distributor is a free data retrieval call binding the contract method 0xbfe10928.
Solidity: function distributor() view returns(address)
func (*RewardTrackerSession) Gov ¶
func (_RewardTracker *RewardTrackerSession) Gov() (common.Address, error)
Gov is a free data retrieval call binding the contract method 0x12d43a51.
Solidity: function gov() view returns(address)
func (*RewardTrackerSession) InPrivateClaimingMode ¶
func (_RewardTracker *RewardTrackerSession) InPrivateClaimingMode() (bool, error)
InPrivateClaimingMode is a free data retrieval call binding the contract method 0xf76033d3.
Solidity: function inPrivateClaimingMode() view returns(bool)
func (*RewardTrackerSession) InPrivateStakingMode ¶
func (_RewardTracker *RewardTrackerSession) InPrivateStakingMode() (bool, error)
InPrivateStakingMode is a free data retrieval call binding the contract method 0xc5fa2730.
Solidity: function inPrivateStakingMode() view returns(bool)
func (*RewardTrackerSession) InPrivateTransferMode ¶
func (_RewardTracker *RewardTrackerSession) InPrivateTransferMode() (bool, error)
InPrivateTransferMode is a free data retrieval call binding the contract method 0xdfbaefb1.
Solidity: function inPrivateTransferMode() view returns(bool)
func (*RewardTrackerSession) Initialize ¶
func (_RewardTracker *RewardTrackerSession) Initialize(_depositTokens []common.Address, _distributor common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x462d0b2e.
Solidity: function initialize(address[] _depositTokens, address _distributor) returns()
func (*RewardTrackerSession) IsDepositToken ¶
func (_RewardTracker *RewardTrackerSession) IsDepositToken(arg0 common.Address) (bool, error)
IsDepositToken is a free data retrieval call binding the contract method 0xb89e45b3.
Solidity: function isDepositToken(address ) view returns(bool)
func (*RewardTrackerSession) IsHandler ¶
func (_RewardTracker *RewardTrackerSession) IsHandler(arg0 common.Address) (bool, error)
IsHandler is a free data retrieval call binding the contract method 0x46ea87af.
Solidity: function isHandler(address ) view returns(bool)
func (*RewardTrackerSession) IsInitialized ¶
func (_RewardTracker *RewardTrackerSession) IsInitialized() (bool, error)
IsInitialized is a free data retrieval call binding the contract method 0x392e53cd.
Solidity: function isInitialized() view returns(bool)
func (*RewardTrackerSession) Name ¶
func (_RewardTracker *RewardTrackerSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*RewardTrackerSession) PRECISION ¶
func (_RewardTracker *RewardTrackerSession) PRECISION() (*big.Int, error)
PRECISION is a free data retrieval call binding the contract method 0xaaf5eb68.
Solidity: function PRECISION() view returns(uint256)
func (*RewardTrackerSession) PreviousCumulatedRewardPerToken ¶
func (_RewardTracker *RewardTrackerSession) PreviousCumulatedRewardPerToken(arg0 common.Address) (*big.Int, error)
PreviousCumulatedRewardPerToken is a free data retrieval call binding the contract method 0x44a08411.
Solidity: function previousCumulatedRewardPerToken(address ) view returns(uint256)
func (*RewardTrackerSession) RewardToken ¶
func (_RewardTracker *RewardTrackerSession) RewardToken() (common.Address, error)
RewardToken is a free data retrieval call binding the contract method 0xf7c618c1.
Solidity: function rewardToken() view returns(address)
func (*RewardTrackerSession) SetDepositToken ¶
func (_RewardTracker *RewardTrackerSession) SetDepositToken(_depositToken common.Address, _isDepositToken bool) (*types.Transaction, error)
SetDepositToken is a paid mutator transaction binding the contract method 0xe44b7558.
Solidity: function setDepositToken(address _depositToken, bool _isDepositToken) returns()
func (*RewardTrackerSession) SetGov ¶
func (_RewardTracker *RewardTrackerSession) 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 (*RewardTrackerSession) SetHandler ¶
func (_RewardTracker *RewardTrackerSession) SetHandler(_handler common.Address, _isActive bool) (*types.Transaction, error)
SetHandler is a paid mutator transaction binding the contract method 0x9cb7de4b.
Solidity: function setHandler(address _handler, bool _isActive) returns()
func (*RewardTrackerSession) SetInPrivateClaimingMode ¶
func (_RewardTracker *RewardTrackerSession) SetInPrivateClaimingMode(_inPrivateClaimingMode bool) (*types.Transaction, error)
SetInPrivateClaimingMode is a paid mutator transaction binding the contract method 0x3cd7f700.
Solidity: function setInPrivateClaimingMode(bool _inPrivateClaimingMode) returns()
func (*RewardTrackerSession) SetInPrivateStakingMode ¶
func (_RewardTracker *RewardTrackerSession) SetInPrivateStakingMode(_inPrivateStakingMode bool) (*types.Transaction, error)
SetInPrivateStakingMode is a paid mutator transaction binding the contract method 0x1d30d5bc.
Solidity: function setInPrivateStakingMode(bool _inPrivateStakingMode) returns()
func (*RewardTrackerSession) SetInPrivateTransferMode ¶
func (_RewardTracker *RewardTrackerSession) SetInPrivateTransferMode(_inPrivateTransferMode bool) (*types.Transaction, error)
SetInPrivateTransferMode is a paid mutator transaction binding the contract method 0x5a47a1a7.
Solidity: function setInPrivateTransferMode(bool _inPrivateTransferMode) returns()
func (*RewardTrackerSession) Stake ¶
func (_RewardTracker *RewardTrackerSession) Stake(_depositToken common.Address, _amount *big.Int) (*types.Transaction, error)
Stake is a paid mutator transaction binding the contract method 0xadc9772e.
Solidity: function stake(address _depositToken, uint256 _amount) returns()
func (*RewardTrackerSession) StakeForAccount ¶
func (_RewardTracker *RewardTrackerSession) StakeForAccount(_fundingAccount common.Address, _account common.Address, _depositToken common.Address, _amount *big.Int) (*types.Transaction, error)
StakeForAccount is a paid mutator transaction binding the contract method 0x790b5a6c.
Solidity: function stakeForAccount(address _fundingAccount, address _account, address _depositToken, uint256 _amount) returns()
func (*RewardTrackerSession) StakedAmounts ¶
StakedAmounts is a free data retrieval call binding the contract method 0x10c1c103.
Solidity: function stakedAmounts(address ) view returns(uint256)
func (*RewardTrackerSession) Symbol ¶
func (_RewardTracker *RewardTrackerSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*RewardTrackerSession) TokensPerInterval ¶
func (_RewardTracker *RewardTrackerSession) TokensPerInterval() (*big.Int, error)
TokensPerInterval is a free data retrieval call binding the contract method 0xa8d93627.
Solidity: function tokensPerInterval() view returns(uint256)
func (*RewardTrackerSession) TotalDepositSupply ¶
func (_RewardTracker *RewardTrackerSession) TotalDepositSupply(arg0 common.Address) (*big.Int, error)
TotalDepositSupply is a free data retrieval call binding the contract method 0x552ce1dc.
Solidity: function totalDepositSupply(address ) view returns(uint256)
func (*RewardTrackerSession) TotalSupply ¶
func (_RewardTracker *RewardTrackerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*RewardTrackerSession) Transfer ¶
func (_RewardTracker *RewardTrackerSession) 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 (*RewardTrackerSession) TransferFrom ¶
func (_RewardTracker *RewardTrackerSession) 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 (*RewardTrackerSession) Unstake ¶
func (_RewardTracker *RewardTrackerSession) Unstake(_depositToken common.Address, _amount *big.Int) (*types.Transaction, error)
Unstake is a paid mutator transaction binding the contract method 0xc2a672e0.
Solidity: function unstake(address _depositToken, uint256 _amount) returns()
func (*RewardTrackerSession) UnstakeForAccount ¶
func (_RewardTracker *RewardTrackerSession) UnstakeForAccount(_account common.Address, _depositToken common.Address, _amount *big.Int, _receiver common.Address) (*types.Transaction, error)
UnstakeForAccount is a paid mutator transaction binding the contract method 0x098bf59d.
Solidity: function unstakeForAccount(address _account, address _depositToken, uint256 _amount, address _receiver) returns()
func (*RewardTrackerSession) UpdateRewards ¶
func (_RewardTracker *RewardTrackerSession) UpdateRewards() (*types.Transaction, error)
UpdateRewards is a paid mutator transaction binding the contract method 0x3e158b0c.
Solidity: function updateRewards() returns()
func (*RewardTrackerSession) WithdrawToken ¶
func (_RewardTracker *RewardTrackerSession) 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 RewardTrackerTransactor ¶
type RewardTrackerTransactor struct {
// contains filtered or unexported fields
}
RewardTrackerTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewRewardTrackerTransactor ¶
func NewRewardTrackerTransactor(address common.Address, transactor bind.ContractTransactor) (*RewardTrackerTransactor, error)
NewRewardTrackerTransactor creates a new write-only instance of RewardTracker, bound to a specific deployed contract.
func (*RewardTrackerTransactor) Approve ¶
func (_RewardTracker *RewardTrackerTransactor) 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 (*RewardTrackerTransactor) Claim ¶
func (_RewardTracker *RewardTrackerTransactor) 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(uint256)
func (*RewardTrackerTransactor) ClaimForAccount ¶
func (_RewardTracker *RewardTrackerTransactor) ClaimForAccount(opts *bind.TransactOpts, _account common.Address, _receiver common.Address) (*types.Transaction, error)
ClaimForAccount is a paid mutator transaction binding the contract method 0x13e82e7a.
Solidity: function claimForAccount(address _account, address _receiver) returns(uint256)
func (*RewardTrackerTransactor) Initialize ¶
func (_RewardTracker *RewardTrackerTransactor) Initialize(opts *bind.TransactOpts, _depositTokens []common.Address, _distributor common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x462d0b2e.
Solidity: function initialize(address[] _depositTokens, address _distributor) returns()
func (*RewardTrackerTransactor) SetDepositToken ¶
func (_RewardTracker *RewardTrackerTransactor) SetDepositToken(opts *bind.TransactOpts, _depositToken common.Address, _isDepositToken bool) (*types.Transaction, error)
SetDepositToken is a paid mutator transaction binding the contract method 0xe44b7558.
Solidity: function setDepositToken(address _depositToken, bool _isDepositToken) returns()
func (*RewardTrackerTransactor) SetGov ¶
func (_RewardTracker *RewardTrackerTransactor) 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 (*RewardTrackerTransactor) SetHandler ¶
func (_RewardTracker *RewardTrackerTransactor) SetHandler(opts *bind.TransactOpts, _handler common.Address, _isActive bool) (*types.Transaction, error)
SetHandler is a paid mutator transaction binding the contract method 0x9cb7de4b.
Solidity: function setHandler(address _handler, bool _isActive) returns()
func (*RewardTrackerTransactor) SetInPrivateClaimingMode ¶
func (_RewardTracker *RewardTrackerTransactor) SetInPrivateClaimingMode(opts *bind.TransactOpts, _inPrivateClaimingMode bool) (*types.Transaction, error)
SetInPrivateClaimingMode is a paid mutator transaction binding the contract method 0x3cd7f700.
Solidity: function setInPrivateClaimingMode(bool _inPrivateClaimingMode) returns()
func (*RewardTrackerTransactor) SetInPrivateStakingMode ¶
func (_RewardTracker *RewardTrackerTransactor) SetInPrivateStakingMode(opts *bind.TransactOpts, _inPrivateStakingMode bool) (*types.Transaction, error)
SetInPrivateStakingMode is a paid mutator transaction binding the contract method 0x1d30d5bc.
Solidity: function setInPrivateStakingMode(bool _inPrivateStakingMode) returns()
func (*RewardTrackerTransactor) SetInPrivateTransferMode ¶
func (_RewardTracker *RewardTrackerTransactor) SetInPrivateTransferMode(opts *bind.TransactOpts, _inPrivateTransferMode bool) (*types.Transaction, error)
SetInPrivateTransferMode is a paid mutator transaction binding the contract method 0x5a47a1a7.
Solidity: function setInPrivateTransferMode(bool _inPrivateTransferMode) returns()
func (*RewardTrackerTransactor) Stake ¶
func (_RewardTracker *RewardTrackerTransactor) Stake(opts *bind.TransactOpts, _depositToken common.Address, _amount *big.Int) (*types.Transaction, error)
Stake is a paid mutator transaction binding the contract method 0xadc9772e.
Solidity: function stake(address _depositToken, uint256 _amount) returns()
func (*RewardTrackerTransactor) StakeForAccount ¶
func (_RewardTracker *RewardTrackerTransactor) StakeForAccount(opts *bind.TransactOpts, _fundingAccount common.Address, _account common.Address, _depositToken common.Address, _amount *big.Int) (*types.Transaction, error)
StakeForAccount is a paid mutator transaction binding the contract method 0x790b5a6c.
Solidity: function stakeForAccount(address _fundingAccount, address _account, address _depositToken, uint256 _amount) returns()
func (*RewardTrackerTransactor) Transfer ¶
func (_RewardTracker *RewardTrackerTransactor) 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 (*RewardTrackerTransactor) TransferFrom ¶
func (_RewardTracker *RewardTrackerTransactor) 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 (*RewardTrackerTransactor) Unstake ¶
func (_RewardTracker *RewardTrackerTransactor) Unstake(opts *bind.TransactOpts, _depositToken common.Address, _amount *big.Int) (*types.Transaction, error)
Unstake is a paid mutator transaction binding the contract method 0xc2a672e0.
Solidity: function unstake(address _depositToken, uint256 _amount) returns()
func (*RewardTrackerTransactor) UnstakeForAccount ¶
func (_RewardTracker *RewardTrackerTransactor) UnstakeForAccount(opts *bind.TransactOpts, _account common.Address, _depositToken common.Address, _amount *big.Int, _receiver common.Address) (*types.Transaction, error)
UnstakeForAccount is a paid mutator transaction binding the contract method 0x098bf59d.
Solidity: function unstakeForAccount(address _account, address _depositToken, uint256 _amount, address _receiver) returns()
func (*RewardTrackerTransactor) UpdateRewards ¶
func (_RewardTracker *RewardTrackerTransactor) UpdateRewards(opts *bind.TransactOpts) (*types.Transaction, error)
UpdateRewards is a paid mutator transaction binding the contract method 0x3e158b0c.
Solidity: function updateRewards() returns()
func (*RewardTrackerTransactor) WithdrawToken ¶
func (_RewardTracker *RewardTrackerTransactor) 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 RewardTrackerTransactorRaw ¶
type RewardTrackerTransactorRaw struct {
Contract *RewardTrackerTransactor // Generic write-only contract binding to access the raw methods on
}
RewardTrackerTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*RewardTrackerTransactorRaw) Transact ¶
func (_RewardTracker *RewardTrackerTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*RewardTrackerTransactorRaw) Transfer ¶
func (_RewardTracker *RewardTrackerTransactorRaw) 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 RewardTrackerTransactorSession ¶
type RewardTrackerTransactorSession struct { Contract *RewardTrackerTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
RewardTrackerTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*RewardTrackerTransactorSession) Approve ¶
func (_RewardTracker *RewardTrackerTransactorSession) 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 (*RewardTrackerTransactorSession) Claim ¶
func (_RewardTracker *RewardTrackerTransactorSession) Claim(_receiver common.Address) (*types.Transaction, error)
Claim is a paid mutator transaction binding the contract method 0x1e83409a.
Solidity: function claim(address _receiver) returns(uint256)
func (*RewardTrackerTransactorSession) ClaimForAccount ¶
func (_RewardTracker *RewardTrackerTransactorSession) ClaimForAccount(_account common.Address, _receiver common.Address) (*types.Transaction, error)
ClaimForAccount is a paid mutator transaction binding the contract method 0x13e82e7a.
Solidity: function claimForAccount(address _account, address _receiver) returns(uint256)
func (*RewardTrackerTransactorSession) Initialize ¶
func (_RewardTracker *RewardTrackerTransactorSession) Initialize(_depositTokens []common.Address, _distributor common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x462d0b2e.
Solidity: function initialize(address[] _depositTokens, address _distributor) returns()
func (*RewardTrackerTransactorSession) SetDepositToken ¶
func (_RewardTracker *RewardTrackerTransactorSession) SetDepositToken(_depositToken common.Address, _isDepositToken bool) (*types.Transaction, error)
SetDepositToken is a paid mutator transaction binding the contract method 0xe44b7558.
Solidity: function setDepositToken(address _depositToken, bool _isDepositToken) returns()
func (*RewardTrackerTransactorSession) SetGov ¶
func (_RewardTracker *RewardTrackerTransactorSession) 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 (*RewardTrackerTransactorSession) SetHandler ¶
func (_RewardTracker *RewardTrackerTransactorSession) SetHandler(_handler common.Address, _isActive bool) (*types.Transaction, error)
SetHandler is a paid mutator transaction binding the contract method 0x9cb7de4b.
Solidity: function setHandler(address _handler, bool _isActive) returns()
func (*RewardTrackerTransactorSession) SetInPrivateClaimingMode ¶
func (_RewardTracker *RewardTrackerTransactorSession) SetInPrivateClaimingMode(_inPrivateClaimingMode bool) (*types.Transaction, error)
SetInPrivateClaimingMode is a paid mutator transaction binding the contract method 0x3cd7f700.
Solidity: function setInPrivateClaimingMode(bool _inPrivateClaimingMode) returns()
func (*RewardTrackerTransactorSession) SetInPrivateStakingMode ¶
func (_RewardTracker *RewardTrackerTransactorSession) SetInPrivateStakingMode(_inPrivateStakingMode bool) (*types.Transaction, error)
SetInPrivateStakingMode is a paid mutator transaction binding the contract method 0x1d30d5bc.
Solidity: function setInPrivateStakingMode(bool _inPrivateStakingMode) returns()
func (*RewardTrackerTransactorSession) SetInPrivateTransferMode ¶
func (_RewardTracker *RewardTrackerTransactorSession) SetInPrivateTransferMode(_inPrivateTransferMode bool) (*types.Transaction, error)
SetInPrivateTransferMode is a paid mutator transaction binding the contract method 0x5a47a1a7.
Solidity: function setInPrivateTransferMode(bool _inPrivateTransferMode) returns()
func (*RewardTrackerTransactorSession) Stake ¶
func (_RewardTracker *RewardTrackerTransactorSession) Stake(_depositToken common.Address, _amount *big.Int) (*types.Transaction, error)
Stake is a paid mutator transaction binding the contract method 0xadc9772e.
Solidity: function stake(address _depositToken, uint256 _amount) returns()
func (*RewardTrackerTransactorSession) StakeForAccount ¶
func (_RewardTracker *RewardTrackerTransactorSession) StakeForAccount(_fundingAccount common.Address, _account common.Address, _depositToken common.Address, _amount *big.Int) (*types.Transaction, error)
StakeForAccount is a paid mutator transaction binding the contract method 0x790b5a6c.
Solidity: function stakeForAccount(address _fundingAccount, address _account, address _depositToken, uint256 _amount) returns()
func (*RewardTrackerTransactorSession) Transfer ¶
func (_RewardTracker *RewardTrackerTransactorSession) 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 (*RewardTrackerTransactorSession) TransferFrom ¶
func (_RewardTracker *RewardTrackerTransactorSession) 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 (*RewardTrackerTransactorSession) Unstake ¶
func (_RewardTracker *RewardTrackerTransactorSession) Unstake(_depositToken common.Address, _amount *big.Int) (*types.Transaction, error)
Unstake is a paid mutator transaction binding the contract method 0xc2a672e0.
Solidity: function unstake(address _depositToken, uint256 _amount) returns()
func (*RewardTrackerTransactorSession) UnstakeForAccount ¶
func (_RewardTracker *RewardTrackerTransactorSession) UnstakeForAccount(_account common.Address, _depositToken common.Address, _amount *big.Int, _receiver common.Address) (*types.Transaction, error)
UnstakeForAccount is a paid mutator transaction binding the contract method 0x098bf59d.
Solidity: function unstakeForAccount(address _account, address _depositToken, uint256 _amount, address _receiver) returns()
func (*RewardTrackerTransactorSession) UpdateRewards ¶
func (_RewardTracker *RewardTrackerTransactorSession) UpdateRewards() (*types.Transaction, error)
UpdateRewards is a paid mutator transaction binding the contract method 0x3e158b0c.
Solidity: function updateRewards() returns()
func (*RewardTrackerTransactorSession) WithdrawToken ¶
func (_RewardTracker *RewardTrackerTransactorSession) 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 RewardTrackerTransfer ¶
type RewardTrackerTransfer struct { From common.Address To common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
RewardTrackerTransfer represents a Transfer event raised by the RewardTracker contract.
type RewardTrackerTransferIterator ¶
type RewardTrackerTransferIterator struct { Event *RewardTrackerTransfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
RewardTrackerTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the RewardTracker contract.
func (*RewardTrackerTransferIterator) Close ¶
func (it *RewardTrackerTransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*RewardTrackerTransferIterator) Error ¶
func (it *RewardTrackerTransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*RewardTrackerTransferIterator) Next ¶
func (it *RewardTrackerTransferIterator) 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.