Versions in this module Expand all Collapse all v0 v0.0.1 Dec 9, 2023 Changes in this version + var VesterABI = VesterMetaData.ABI + var VesterMetaData = &bind.MetaData + type Vester struct + func NewVester(address common.Address, backend bind.ContractBackend) (*Vester, error) + type VesterApproval struct + Owner common.Address + Raw types.Log + Spender common.Address + Value *big.Int + type VesterApprovalIterator struct + Event *VesterApproval + func (it *VesterApprovalIterator) Close() error + func (it *VesterApprovalIterator) Error() error + func (it *VesterApprovalIterator) Next() bool + type VesterCaller struct + func NewVesterCaller(address common.Address, caller bind.ContractCaller) (*VesterCaller, error) + func (_Vester *VesterCaller) Allowance(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (*big.Int, error) + func (_Vester *VesterCaller) BalanceOf(opts *bind.CallOpts, _account common.Address) (*big.Int, error) + func (_Vester *VesterCaller) Balances(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error) + func (_Vester *VesterCaller) BonusRewards(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error) + func (_Vester *VesterCaller) Claimable(opts *bind.CallOpts, _account common.Address) (*big.Int, error) + func (_Vester *VesterCaller) ClaimableToken(opts *bind.CallOpts) (common.Address, error) + func (_Vester *VesterCaller) ClaimedAmounts(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error) + func (_Vester *VesterCaller) CumulativeClaimAmounts(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error) + func (_Vester *VesterCaller) CumulativeRewardDeductions(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error) + func (_Vester *VesterCaller) Decimals(opts *bind.CallOpts) (uint8, error) + func (_Vester *VesterCaller) EsToken(opts *bind.CallOpts) (common.Address, error) + func (_Vester *VesterCaller) GetCombinedAverageStakedAmount(opts *bind.CallOpts, _account common.Address) (*big.Int, error) + func (_Vester *VesterCaller) GetMaxVestableAmount(opts *bind.CallOpts, _account common.Address) (*big.Int, error) + func (_Vester *VesterCaller) GetPairAmount(opts *bind.CallOpts, _account common.Address, _esAmount *big.Int) (*big.Int, error) + func (_Vester *VesterCaller) GetTotalVested(opts *bind.CallOpts, _account common.Address) (*big.Int, error) + func (_Vester *VesterCaller) GetVestedAmount(opts *bind.CallOpts, _account common.Address) (*big.Int, error) + func (_Vester *VesterCaller) Gov(opts *bind.CallOpts) (common.Address, error) + func (_Vester *VesterCaller) HasMaxVestableAmount(opts *bind.CallOpts) (bool, error) + func (_Vester *VesterCaller) HasPairToken(opts *bind.CallOpts) (bool, error) + func (_Vester *VesterCaller) HasRewardTracker(opts *bind.CallOpts) (bool, error) + func (_Vester *VesterCaller) IsHandler(opts *bind.CallOpts, arg0 common.Address) (bool, error) + func (_Vester *VesterCaller) LastVestingTimes(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error) + func (_Vester *VesterCaller) Name(opts *bind.CallOpts) (string, error) + func (_Vester *VesterCaller) PairAmounts(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error) + func (_Vester *VesterCaller) PairSupply(opts *bind.CallOpts) (*big.Int, error) + func (_Vester *VesterCaller) PairToken(opts *bind.CallOpts) (common.Address, error) + func (_Vester *VesterCaller) RewardTracker(opts *bind.CallOpts) (common.Address, error) + func (_Vester *VesterCaller) Symbol(opts *bind.CallOpts) (string, error) + func (_Vester *VesterCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error) + func (_Vester *VesterCaller) TransferredAverageStakedAmounts(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error) + func (_Vester *VesterCaller) TransferredCumulativeRewards(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error) + func (_Vester *VesterCaller) VestingDuration(opts *bind.CallOpts) (*big.Int, error) + type VesterCallerRaw struct + Contract *VesterCaller + func (_Vester *VesterCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error + type VesterCallerSession struct + CallOpts bind.CallOpts + Contract *VesterCaller + func (_Vester *VesterCallerSession) Allowance(arg0 common.Address, arg1 common.Address) (*big.Int, error) + func (_Vester *VesterCallerSession) BalanceOf(_account common.Address) (*big.Int, error) + func (_Vester *VesterCallerSession) Balances(arg0 common.Address) (*big.Int, error) + func (_Vester *VesterCallerSession) BonusRewards(arg0 common.Address) (*big.Int, error) + func (_Vester *VesterCallerSession) Claimable(_account common.Address) (*big.Int, error) + func (_Vester *VesterCallerSession) ClaimableToken() (common.Address, error) + func (_Vester *VesterCallerSession) ClaimedAmounts(arg0 common.Address) (*big.Int, error) + func (_Vester *VesterCallerSession) CumulativeClaimAmounts(arg0 common.Address) (*big.Int, error) + func (_Vester *VesterCallerSession) CumulativeRewardDeductions(arg0 common.Address) (*big.Int, error) + func (_Vester *VesterCallerSession) Decimals() (uint8, error) + func (_Vester *VesterCallerSession) EsToken() (common.Address, error) + func (_Vester *VesterCallerSession) GetCombinedAverageStakedAmount(_account common.Address) (*big.Int, error) + func (_Vester *VesterCallerSession) GetMaxVestableAmount(_account common.Address) (*big.Int, error) + func (_Vester *VesterCallerSession) GetPairAmount(_account common.Address, _esAmount *big.Int) (*big.Int, error) + func (_Vester *VesterCallerSession) GetTotalVested(_account common.Address) (*big.Int, error) + func (_Vester *VesterCallerSession) GetVestedAmount(_account common.Address) (*big.Int, error) + func (_Vester *VesterCallerSession) Gov() (common.Address, error) + func (_Vester *VesterCallerSession) HasMaxVestableAmount() (bool, error) + func (_Vester *VesterCallerSession) HasPairToken() (bool, error) + func (_Vester *VesterCallerSession) HasRewardTracker() (bool, error) + func (_Vester *VesterCallerSession) IsHandler(arg0 common.Address) (bool, error) + func (_Vester *VesterCallerSession) LastVestingTimes(arg0 common.Address) (*big.Int, error) + func (_Vester *VesterCallerSession) Name() (string, error) + func (_Vester *VesterCallerSession) PairAmounts(arg0 common.Address) (*big.Int, error) + func (_Vester *VesterCallerSession) PairSupply() (*big.Int, error) + func (_Vester *VesterCallerSession) PairToken() (common.Address, error) + func (_Vester *VesterCallerSession) RewardTracker() (common.Address, error) + func (_Vester *VesterCallerSession) Symbol() (string, error) + func (_Vester *VesterCallerSession) TotalSupply() (*big.Int, error) + func (_Vester *VesterCallerSession) TransferredAverageStakedAmounts(arg0 common.Address) (*big.Int, error) + func (_Vester *VesterCallerSession) TransferredCumulativeRewards(arg0 common.Address) (*big.Int, error) + func (_Vester *VesterCallerSession) VestingDuration() (*big.Int, error) + type VesterClaim struct + Amount *big.Int + Raw types.Log + Receiver common.Address + type VesterClaimIterator struct + Event *VesterClaim + func (it *VesterClaimIterator) Close() error + func (it *VesterClaimIterator) Error() error + func (it *VesterClaimIterator) Next() bool + type VesterDeposit struct + Account common.Address + Amount *big.Int + Raw types.Log + type VesterDepositIterator struct + Event *VesterDeposit + func (it *VesterDepositIterator) Close() error + func (it *VesterDepositIterator) Error() error + func (it *VesterDepositIterator) Next() bool + type VesterFilterer struct + func NewVesterFilterer(address common.Address, filterer bind.ContractFilterer) (*VesterFilterer, error) + func (_Vester *VesterFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*VesterApprovalIterator, error) + func (_Vester *VesterFilterer) FilterClaim(opts *bind.FilterOpts) (*VesterClaimIterator, error) + func (_Vester *VesterFilterer) FilterDeposit(opts *bind.FilterOpts) (*VesterDepositIterator, error) + func (_Vester *VesterFilterer) FilterPairTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*VesterPairTransferIterator, error) + func (_Vester *VesterFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*VesterTransferIterator, error) + func (_Vester *VesterFilterer) FilterWithdraw(opts *bind.FilterOpts) (*VesterWithdrawIterator, error) + func (_Vester *VesterFilterer) ParseApproval(log types.Log) (*VesterApproval, error) + func (_Vester *VesterFilterer) ParseClaim(log types.Log) (*VesterClaim, error) + func (_Vester *VesterFilterer) ParseDeposit(log types.Log) (*VesterDeposit, error) + func (_Vester *VesterFilterer) ParsePairTransfer(log types.Log) (*VesterPairTransfer, error) + func (_Vester *VesterFilterer) ParseTransfer(log types.Log) (*VesterTransfer, error) + func (_Vester *VesterFilterer) ParseWithdraw(log types.Log) (*VesterWithdraw, error) + func (_Vester *VesterFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *VesterApproval, owner []common.Address, ...) (event.Subscription, error) + func (_Vester *VesterFilterer) WatchClaim(opts *bind.WatchOpts, sink chan<- *VesterClaim) (event.Subscription, error) + func (_Vester *VesterFilterer) WatchDeposit(opts *bind.WatchOpts, sink chan<- *VesterDeposit) (event.Subscription, error) + func (_Vester *VesterFilterer) WatchPairTransfer(opts *bind.WatchOpts, sink chan<- *VesterPairTransfer, from []common.Address, ...) (event.Subscription, error) + func (_Vester *VesterFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *VesterTransfer, from []common.Address, ...) (event.Subscription, error) + func (_Vester *VesterFilterer) WatchWithdraw(opts *bind.WatchOpts, sink chan<- *VesterWithdraw) (event.Subscription, error) + type VesterPairTransfer struct + From common.Address + Raw types.Log + To common.Address + Value *big.Int + type VesterPairTransferIterator struct + Event *VesterPairTransfer + func (it *VesterPairTransferIterator) Close() error + func (it *VesterPairTransferIterator) Error() error + func (it *VesterPairTransferIterator) Next() bool + type VesterRaw struct + Contract *Vester + func (_Vester *VesterRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error + func (_Vester *VesterRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) + func (_Vester *VesterRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) + type VesterSession struct + CallOpts bind.CallOpts + Contract *Vester + TransactOpts bind.TransactOpts + func (_Vester *VesterSession) Allowance(arg0 common.Address, arg1 common.Address) (*big.Int, error) + func (_Vester *VesterSession) Approve(arg0 common.Address, arg1 *big.Int) (*types.Transaction, error) + func (_Vester *VesterSession) BalanceOf(_account common.Address) (*big.Int, error) + func (_Vester *VesterSession) Balances(arg0 common.Address) (*big.Int, error) + func (_Vester *VesterSession) BonusRewards(arg0 common.Address) (*big.Int, error) + func (_Vester *VesterSession) Claim() (*types.Transaction, error) + func (_Vester *VesterSession) ClaimForAccount(_account common.Address, _receiver common.Address) (*types.Transaction, error) + func (_Vester *VesterSession) Claimable(_account common.Address) (*big.Int, error) + func (_Vester *VesterSession) ClaimableToken() (common.Address, error) + func (_Vester *VesterSession) ClaimedAmounts(arg0 common.Address) (*big.Int, error) + func (_Vester *VesterSession) CumulativeClaimAmounts(arg0 common.Address) (*big.Int, error) + func (_Vester *VesterSession) CumulativeRewardDeductions(arg0 common.Address) (*big.Int, error) + func (_Vester *VesterSession) Decimals() (uint8, error) + func (_Vester *VesterSession) Deposit(_amount *big.Int) (*types.Transaction, error) + func (_Vester *VesterSession) DepositForAccount(_account common.Address, _amount *big.Int) (*types.Transaction, error) + func (_Vester *VesterSession) EsToken() (common.Address, error) + func (_Vester *VesterSession) GetCombinedAverageStakedAmount(_account common.Address) (*big.Int, error) + func (_Vester *VesterSession) GetMaxVestableAmount(_account common.Address) (*big.Int, error) + func (_Vester *VesterSession) GetPairAmount(_account common.Address, _esAmount *big.Int) (*big.Int, error) + func (_Vester *VesterSession) GetTotalVested(_account common.Address) (*big.Int, error) + func (_Vester *VesterSession) GetVestedAmount(_account common.Address) (*big.Int, error) + func (_Vester *VesterSession) Gov() (common.Address, error) + func (_Vester *VesterSession) HasMaxVestableAmount() (bool, error) + func (_Vester *VesterSession) HasPairToken() (bool, error) + func (_Vester *VesterSession) HasRewardTracker() (bool, error) + func (_Vester *VesterSession) IsHandler(arg0 common.Address) (bool, error) + func (_Vester *VesterSession) LastVestingTimes(arg0 common.Address) (*big.Int, error) + func (_Vester *VesterSession) Name() (string, error) + func (_Vester *VesterSession) PairAmounts(arg0 common.Address) (*big.Int, error) + func (_Vester *VesterSession) PairSupply() (*big.Int, error) + func (_Vester *VesterSession) PairToken() (common.Address, error) + func (_Vester *VesterSession) RewardTracker() (common.Address, error) + func (_Vester *VesterSession) SetBonusRewards(_account common.Address, _amount *big.Int) (*types.Transaction, error) + func (_Vester *VesterSession) SetCumulativeRewardDeductions(_account common.Address, _amount *big.Int) (*types.Transaction, error) + func (_Vester *VesterSession) SetGov(_gov common.Address) (*types.Transaction, error) + func (_Vester *VesterSession) SetHandler(_handler common.Address, _isActive bool) (*types.Transaction, error) + func (_Vester *VesterSession) SetHasMaxVestableAmount(_hasMaxVestableAmount bool) (*types.Transaction, error) + func (_Vester *VesterSession) SetTransferredAverageStakedAmounts(_account common.Address, _amount *big.Int) (*types.Transaction, error) + func (_Vester *VesterSession) SetTransferredCumulativeRewards(_account common.Address, _amount *big.Int) (*types.Transaction, error) + func (_Vester *VesterSession) Symbol() (string, error) + func (_Vester *VesterSession) TotalSupply() (*big.Int, error) + func (_Vester *VesterSession) Transfer(arg0 common.Address, arg1 *big.Int) (*types.Transaction, error) + func (_Vester *VesterSession) TransferFrom(arg0 common.Address, arg1 common.Address, arg2 *big.Int) (*types.Transaction, error) + func (_Vester *VesterSession) TransferStakeValues(_sender common.Address, _receiver common.Address) (*types.Transaction, error) + func (_Vester *VesterSession) TransferredAverageStakedAmounts(arg0 common.Address) (*big.Int, error) + func (_Vester *VesterSession) TransferredCumulativeRewards(arg0 common.Address) (*big.Int, error) + func (_Vester *VesterSession) VestingDuration() (*big.Int, error) + func (_Vester *VesterSession) Withdraw() (*types.Transaction, error) + func (_Vester *VesterSession) WithdrawToken(_token common.Address, _account common.Address, _amount *big.Int) (*types.Transaction, error) + type VesterTransactor struct + func NewVesterTransactor(address common.Address, transactor bind.ContractTransactor) (*VesterTransactor, error) + func (_Vester *VesterTransactor) Approve(opts *bind.TransactOpts, arg0 common.Address, arg1 *big.Int) (*types.Transaction, error) + func (_Vester *VesterTransactor) Claim(opts *bind.TransactOpts) (*types.Transaction, error) + func (_Vester *VesterTransactor) ClaimForAccount(opts *bind.TransactOpts, _account common.Address, _receiver common.Address) (*types.Transaction, error) + func (_Vester *VesterTransactor) Deposit(opts *bind.TransactOpts, _amount *big.Int) (*types.Transaction, error) + func (_Vester *VesterTransactor) DepositForAccount(opts *bind.TransactOpts, _account common.Address, _amount *big.Int) (*types.Transaction, error) + func (_Vester *VesterTransactor) SetBonusRewards(opts *bind.TransactOpts, _account common.Address, _amount *big.Int) (*types.Transaction, error) + func (_Vester *VesterTransactor) SetCumulativeRewardDeductions(opts *bind.TransactOpts, _account common.Address, _amount *big.Int) (*types.Transaction, error) + func (_Vester *VesterTransactor) SetGov(opts *bind.TransactOpts, _gov common.Address) (*types.Transaction, error) + func (_Vester *VesterTransactor) SetHandler(opts *bind.TransactOpts, _handler common.Address, _isActive bool) (*types.Transaction, error) + func (_Vester *VesterTransactor) SetHasMaxVestableAmount(opts *bind.TransactOpts, _hasMaxVestableAmount bool) (*types.Transaction, error) + func (_Vester *VesterTransactor) SetTransferredAverageStakedAmounts(opts *bind.TransactOpts, _account common.Address, _amount *big.Int) (*types.Transaction, error) + func (_Vester *VesterTransactor) SetTransferredCumulativeRewards(opts *bind.TransactOpts, _account common.Address, _amount *big.Int) (*types.Transaction, error) + func (_Vester *VesterTransactor) Transfer(opts *bind.TransactOpts, arg0 common.Address, arg1 *big.Int) (*types.Transaction, error) + func (_Vester *VesterTransactor) TransferFrom(opts *bind.TransactOpts, arg0 common.Address, arg1 common.Address, ...) (*types.Transaction, error) + func (_Vester *VesterTransactor) TransferStakeValues(opts *bind.TransactOpts, _sender common.Address, _receiver common.Address) (*types.Transaction, error) + func (_Vester *VesterTransactor) Withdraw(opts *bind.TransactOpts) (*types.Transaction, error) + func (_Vester *VesterTransactor) WithdrawToken(opts *bind.TransactOpts, _token common.Address, _account common.Address, ...) (*types.Transaction, error) + type VesterTransactorRaw struct + Contract *VesterTransactor + func (_Vester *VesterTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) + func (_Vester *VesterTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) + type VesterTransactorSession struct + Contract *VesterTransactor + TransactOpts bind.TransactOpts + func (_Vester *VesterTransactorSession) Approve(arg0 common.Address, arg1 *big.Int) (*types.Transaction, error) + func (_Vester *VesterTransactorSession) Claim() (*types.Transaction, error) + func (_Vester *VesterTransactorSession) ClaimForAccount(_account common.Address, _receiver common.Address) (*types.Transaction, error) + func (_Vester *VesterTransactorSession) Deposit(_amount *big.Int) (*types.Transaction, error) + func (_Vester *VesterTransactorSession) DepositForAccount(_account common.Address, _amount *big.Int) (*types.Transaction, error) + func (_Vester *VesterTransactorSession) SetBonusRewards(_account common.Address, _amount *big.Int) (*types.Transaction, error) + func (_Vester *VesterTransactorSession) SetCumulativeRewardDeductions(_account common.Address, _amount *big.Int) (*types.Transaction, error) + func (_Vester *VesterTransactorSession) SetGov(_gov common.Address) (*types.Transaction, error) + func (_Vester *VesterTransactorSession) SetHandler(_handler common.Address, _isActive bool) (*types.Transaction, error) + func (_Vester *VesterTransactorSession) SetHasMaxVestableAmount(_hasMaxVestableAmount bool) (*types.Transaction, error) + func (_Vester *VesterTransactorSession) SetTransferredAverageStakedAmounts(_account common.Address, _amount *big.Int) (*types.Transaction, error) + func (_Vester *VesterTransactorSession) SetTransferredCumulativeRewards(_account common.Address, _amount *big.Int) (*types.Transaction, error) + func (_Vester *VesterTransactorSession) Transfer(arg0 common.Address, arg1 *big.Int) (*types.Transaction, error) + func (_Vester *VesterTransactorSession) TransferFrom(arg0 common.Address, arg1 common.Address, arg2 *big.Int) (*types.Transaction, error) + func (_Vester *VesterTransactorSession) TransferStakeValues(_sender common.Address, _receiver common.Address) (*types.Transaction, error) + func (_Vester *VesterTransactorSession) Withdraw() (*types.Transaction, error) + func (_Vester *VesterTransactorSession) WithdrawToken(_token common.Address, _account common.Address, _amount *big.Int) (*types.Transaction, error) + type VesterTransfer struct + From common.Address + Raw types.Log + To common.Address + Value *big.Int + type VesterTransferIterator struct + Event *VesterTransfer + func (it *VesterTransferIterator) Close() error + func (it *VesterTransferIterator) Error() error + func (it *VesterTransferIterator) Next() bool + type VesterWithdraw struct + Account common.Address + Balance *big.Int + ClaimedAmount *big.Int + Raw types.Log + type VesterWithdrawIterator struct + Event *VesterWithdraw + func (it *VesterWithdrawIterator) Close() error + func (it *VesterWithdrawIterator) Error() error + func (it *VesterWithdrawIterator) Next() bool