Versions in this module Expand all Collapse all v0 v0.0.1 Dec 9, 2023 Changes in this version + var RewardTrackerABI = RewardTrackerMetaData.ABI + var RewardTrackerMetaData = &bind.MetaData + type RewardTracker struct + func NewRewardTracker(address common.Address, backend bind.ContractBackend) (*RewardTracker, error) + type RewardTrackerApproval struct + Owner common.Address + Raw types.Log + Spender common.Address + Value *big.Int + type RewardTrackerApprovalIterator struct + Event *RewardTrackerApproval + func (it *RewardTrackerApprovalIterator) Close() error + func (it *RewardTrackerApprovalIterator) Error() error + func (it *RewardTrackerApprovalIterator) Next() bool + type RewardTrackerCaller struct + func NewRewardTrackerCaller(address common.Address, caller bind.ContractCaller) (*RewardTrackerCaller, error) + 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 struct + Contract *RewardTrackerCaller + func (_RewardTracker *RewardTrackerCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error + type RewardTrackerCallerSession struct + CallOpts bind.CallOpts + Contract *RewardTrackerCaller + 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 struct + Amount *big.Int + Raw types.Log + Receiver common.Address + type RewardTrackerClaimIterator struct + Event *RewardTrackerClaim + func (it *RewardTrackerClaimIterator) Close() error + func (it *RewardTrackerClaimIterator) Error() error + func (it *RewardTrackerClaimIterator) Next() bool + type RewardTrackerFilterer struct + func NewRewardTrackerFilterer(address common.Address, filterer bind.ContractFilterer) (*RewardTrackerFilterer, error) + 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 struct + Contract *RewardTracker + 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 struct + CallOpts bind.CallOpts + Contract *RewardTracker + TransactOpts bind.TransactOpts + 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 struct + func NewRewardTrackerTransactor(address common.Address, transactor bind.ContractTransactor) (*RewardTrackerTransactor, error) + 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 struct + Contract *RewardTrackerTransactor + func (_RewardTracker *RewardTrackerTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) + func (_RewardTracker *RewardTrackerTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) + type RewardTrackerTransactorSession struct + Contract *RewardTrackerTransactor + TransactOpts bind.TransactOpts + 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 struct + From common.Address + Raw types.Log + To common.Address + Value *big.Int + type RewardTrackerTransferIterator struct + Event *RewardTrackerTransfer + func (it *RewardTrackerTransferIterator) Close() error + func (it *RewardTrackerTransferIterator) Error() error + func (it *RewardTrackerTransferIterator) Next() bool