Documentation ¶
Index ¶
- Variables
- type Vester
- type VesterApproval
- type VesterApprovalIterator
- type VesterCaller
- 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
- type VesterCallerSession
- 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
- type VesterClaimIterator
- type VesterDeposit
- type VesterDepositIterator
- type VesterFilterer
- 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
- type VesterPairTransferIterator
- type VesterRaw
- 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
- 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
- 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
- type VesterTransactorSession
- 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
- type VesterTransferIterator
- type VesterWithdraw
- type VesterWithdrawIterator
Constants ¶
This section is empty.
Variables ¶
var VesterABI = VesterMetaData.ABI
VesterABI is the input ABI used to generate the binding from. Deprecated: Use VesterMetaData.ABI instead.
var VesterMetaData = &bind.MetaData{
ABI: "[{\"type\":\"constructor\",\"inputs\":[{\"name\":\"_name\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"_symbol\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"_vestingDuration\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_esToken\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_pairToken\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_claimableToken\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_rewardTracker\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"allowance\",\"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\":\"\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"balanceOf\",\"inputs\":[{\"name\":\"_account\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"balances\",\"inputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"bonusRewards\",\"inputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"claim\",\"inputs\":[],\"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\":\"claimableToken\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"claimedAmounts\",\"inputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"cumulativeClaimAmounts\",\"inputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"cumulativeRewardDeductions\",\"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\":\"deposit\",\"inputs\":[{\"name\":\"_amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"depositForAccount\",\"inputs\":[{\"name\":\"_account\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"esToken\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getCombinedAverageStakedAmount\",\"inputs\":[{\"name\":\"_account\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getMaxVestableAmount\",\"inputs\":[{\"name\":\"_account\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getPairAmount\",\"inputs\":[{\"name\":\"_account\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_esAmount\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getTotalVested\",\"inputs\":[{\"name\":\"_account\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getVestedAmount\",\"inputs\":[{\"name\":\"_account\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"gov\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"hasMaxVestableAmount\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"hasPairToken\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"hasRewardTracker\",\"inputs\":[],\"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\":\"lastVestingTimes\",\"inputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"name\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"string\",\"internalType\":\"string\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"pairAmounts\",\"inputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"pairSupply\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"pairToken\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"rewardTracker\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"setBonusRewards\",\"inputs\":[{\"name\":\"_account\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"setCumulativeRewardDeductions\",\"inputs\":[{\"name\":\"_account\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"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\":\"setHasMaxVestableAmount\",\"inputs\":[{\"name\":\"_hasMaxVestableAmount\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"setTransferredAverageStakedAmounts\",\"inputs\":[{\"name\":\"_account\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"setTransferredCumulativeRewards\",\"inputs\":[{\"name\":\"_account\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"symbol\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"string\",\"internalType\":\"string\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"totalSupply\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"transfer\",\"inputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"transferFrom\",\"inputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"transferStakeValues\",\"inputs\":[{\"name\":\"_sender\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_receiver\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"transferredAverageStakedAmounts\",\"inputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"transferredCumulativeRewards\",\"inputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"vestingDuration\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"withdraw\",\"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\":\"Deposit\",\"inputs\":[{\"name\":\"account\",\"type\":\"address\",\"indexed\":false,\"internalType\":\"address\"},{\"name\":\"amount\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"PairTransfer\",\"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},{\"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},{\"type\":\"event\",\"name\":\"Withdraw\",\"inputs\":[{\"name\":\"account\",\"type\":\"address\",\"indexed\":false,\"internalType\":\"address\"},{\"name\":\"claimedAmount\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"},{\"name\":\"balance\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"}],\"anonymous\":false}]",
}
VesterMetaData contains all meta data concerning the Vester contract.
Functions ¶
This section is empty.
Types ¶
type Vester ¶
type Vester struct { VesterCaller // Read-only binding to the contract VesterTransactor // Write-only binding to the contract VesterFilterer // Log filterer for contract events }
Vester is an auto generated Go binding around an Ethereum contract.
type VesterApproval ¶
type VesterApproval struct { Owner common.Address Spender common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
VesterApproval represents a Approval event raised by the Vester contract.
type VesterApprovalIterator ¶
type VesterApprovalIterator struct { Event *VesterApproval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
VesterApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the Vester contract.
func (*VesterApprovalIterator) Close ¶
func (it *VesterApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*VesterApprovalIterator) Error ¶
func (it *VesterApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*VesterApprovalIterator) Next ¶
func (it *VesterApprovalIterator) 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 VesterCaller ¶
type VesterCaller struct {
// contains filtered or unexported fields
}
VesterCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewVesterCaller ¶
func NewVesterCaller(address common.Address, caller bind.ContractCaller) (*VesterCaller, error)
NewVesterCaller creates a new read-only instance of Vester, bound to a specific deployed contract.
func (*VesterCaller) Allowance ¶
func (_Vester *VesterCaller) Allowance(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address , address ) view returns(uint256)
func (*VesterCaller) BalanceOf ¶
func (_Vester *VesterCaller) 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 (*VesterCaller) Balances ¶
Balances is a free data retrieval call binding the contract method 0x27e235e3.
Solidity: function balances(address ) view returns(uint256)
func (*VesterCaller) BonusRewards ¶
func (_Vester *VesterCaller) BonusRewards(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
BonusRewards is a free data retrieval call binding the contract method 0xa2545fa5.
Solidity: function bonusRewards(address ) view returns(uint256)
func (*VesterCaller) Claimable ¶
func (_Vester *VesterCaller) 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 (*VesterCaller) ClaimableToken ¶
ClaimableToken is a free data retrieval call binding the contract method 0xf6d6d5aa.
Solidity: function claimableToken() view returns(address)
func (*VesterCaller) ClaimedAmounts ¶
func (_Vester *VesterCaller) ClaimedAmounts(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
ClaimedAmounts is a free data retrieval call binding the contract method 0x71417b32.
Solidity: function claimedAmounts(address ) view returns(uint256)
func (*VesterCaller) CumulativeClaimAmounts ¶
func (_Vester *VesterCaller) CumulativeClaimAmounts(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
CumulativeClaimAmounts is a free data retrieval call binding the contract method 0xb5ff136d.
Solidity: function cumulativeClaimAmounts(address ) view returns(uint256)
func (*VesterCaller) CumulativeRewardDeductions ¶
func (_Vester *VesterCaller) CumulativeRewardDeductions(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
CumulativeRewardDeductions is a free data retrieval call binding the contract method 0x387a785d.
Solidity: function cumulativeRewardDeductions(address ) view returns(uint256)
func (*VesterCaller) Decimals ¶
func (_Vester *VesterCaller) 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 (*VesterCaller) EsToken ¶
EsToken is a free data retrieval call binding the contract method 0x16ca05c5.
Solidity: function esToken() view returns(address)
func (*VesterCaller) GetCombinedAverageStakedAmount ¶
func (_Vester *VesterCaller) GetCombinedAverageStakedAmount(opts *bind.CallOpts, _account common.Address) (*big.Int, error)
GetCombinedAverageStakedAmount is a free data retrieval call binding the contract method 0x45f01ee6.
Solidity: function getCombinedAverageStakedAmount(address _account) view returns(uint256)
func (*VesterCaller) GetMaxVestableAmount ¶
func (_Vester *VesterCaller) GetMaxVestableAmount(opts *bind.CallOpts, _account common.Address) (*big.Int, error)
GetMaxVestableAmount is a free data retrieval call binding the contract method 0x08f26c76.
Solidity: function getMaxVestableAmount(address _account) view returns(uint256)
func (*VesterCaller) GetPairAmount ¶
func (_Vester *VesterCaller) GetPairAmount(opts *bind.CallOpts, _account common.Address, _esAmount *big.Int) (*big.Int, error)
GetPairAmount is a free data retrieval call binding the contract method 0x7cf8f3b2.
Solidity: function getPairAmount(address _account, uint256 _esAmount) view returns(uint256)
func (*VesterCaller) GetTotalVested ¶
func (_Vester *VesterCaller) GetTotalVested(opts *bind.CallOpts, _account common.Address) (*big.Int, error)
GetTotalVested is a free data retrieval call binding the contract method 0x93035473.
Solidity: function getTotalVested(address _account) view returns(uint256)
func (*VesterCaller) GetVestedAmount ¶
func (_Vester *VesterCaller) GetVestedAmount(opts *bind.CallOpts, _account common.Address) (*big.Int, error)
GetVestedAmount is a free data retrieval call binding the contract method 0xd5a73fdd.
Solidity: function getVestedAmount(address _account) view returns(uint256)
func (*VesterCaller) Gov ¶
Gov is a free data retrieval call binding the contract method 0x12d43a51.
Solidity: function gov() view returns(address)
func (*VesterCaller) HasMaxVestableAmount ¶
func (_Vester *VesterCaller) HasMaxVestableAmount(opts *bind.CallOpts) (bool, error)
HasMaxVestableAmount is a free data retrieval call binding the contract method 0xacf077a5.
Solidity: function hasMaxVestableAmount() view returns(bool)
func (*VesterCaller) HasPairToken ¶
func (_Vester *VesterCaller) HasPairToken(opts *bind.CallOpts) (bool, error)
HasPairToken is a free data retrieval call binding the contract method 0xd75abb57.
Solidity: function hasPairToken() view returns(bool)
func (*VesterCaller) HasRewardTracker ¶
func (_Vester *VesterCaller) HasRewardTracker(opts *bind.CallOpts) (bool, error)
HasRewardTracker is a free data retrieval call binding the contract method 0xf421f62a.
Solidity: function hasRewardTracker() view returns(bool)
func (*VesterCaller) IsHandler ¶
IsHandler is a free data retrieval call binding the contract method 0x46ea87af.
Solidity: function isHandler(address ) view returns(bool)
func (*VesterCaller) LastVestingTimes ¶
func (_Vester *VesterCaller) LastVestingTimes(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
LastVestingTimes is a free data retrieval call binding the contract method 0x0db9ea4a.
Solidity: function lastVestingTimes(address ) view returns(uint256)
func (*VesterCaller) Name ¶
func (_Vester *VesterCaller) 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 (*VesterCaller) PairAmounts ¶
func (_Vester *VesterCaller) PairAmounts(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
PairAmounts is a free data retrieval call binding the contract method 0x5d50e729.
Solidity: function pairAmounts(address ) view returns(uint256)
func (*VesterCaller) PairSupply ¶
PairSupply is a free data retrieval call binding the contract method 0x15e90a41.
Solidity: function pairSupply() view returns(uint256)
func (*VesterCaller) PairToken ¶
PairToken is a free data retrieval call binding the contract method 0x3de35b79.
Solidity: function pairToken() view returns(address)
func (*VesterCaller) RewardTracker ¶
RewardTracker is a free data retrieval call binding the contract method 0x6bcb411a.
Solidity: function rewardTracker() view returns(address)
func (*VesterCaller) Symbol ¶
func (_Vester *VesterCaller) 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 (*VesterCaller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*VesterCaller) TransferredAverageStakedAmounts ¶
func (_Vester *VesterCaller) TransferredAverageStakedAmounts(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
TransferredAverageStakedAmounts is a free data retrieval call binding the contract method 0x7337035c.
Solidity: function transferredAverageStakedAmounts(address ) view returns(uint256)
func (*VesterCaller) TransferredCumulativeRewards ¶
func (_Vester *VesterCaller) TransferredCumulativeRewards(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
TransferredCumulativeRewards is a free data retrieval call binding the contract method 0xb71bce2a.
Solidity: function transferredCumulativeRewards(address ) view returns(uint256)
func (*VesterCaller) VestingDuration ¶
VestingDuration is a free data retrieval call binding the contract method 0x1514617e.
Solidity: function vestingDuration() view returns(uint256)
type VesterCallerRaw ¶
type VesterCallerRaw struct {
Contract *VesterCaller // Generic read-only contract binding to access the raw methods on
}
VesterCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*VesterCallerRaw) Call ¶
func (_Vester *VesterCallerRaw) 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 VesterCallerSession ¶
type VesterCallerSession struct { Contract *VesterCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
VesterCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*VesterCallerSession) Allowance ¶
func (_Vester *VesterCallerSession) Allowance(arg0 common.Address, arg1 common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address , address ) view returns(uint256)
func (*VesterCallerSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address _account) view returns(uint256)
func (*VesterCallerSession) Balances ¶
Balances is a free data retrieval call binding the contract method 0x27e235e3.
Solidity: function balances(address ) view returns(uint256)
func (*VesterCallerSession) BonusRewards ¶
BonusRewards is a free data retrieval call binding the contract method 0xa2545fa5.
Solidity: function bonusRewards(address ) view returns(uint256)
func (*VesterCallerSession) Claimable ¶
Claimable is a free data retrieval call binding the contract method 0x402914f5.
Solidity: function claimable(address _account) view returns(uint256)
func (*VesterCallerSession) ClaimableToken ¶
func (_Vester *VesterCallerSession) ClaimableToken() (common.Address, error)
ClaimableToken is a free data retrieval call binding the contract method 0xf6d6d5aa.
Solidity: function claimableToken() view returns(address)
func (*VesterCallerSession) ClaimedAmounts ¶
ClaimedAmounts is a free data retrieval call binding the contract method 0x71417b32.
Solidity: function claimedAmounts(address ) view returns(uint256)
func (*VesterCallerSession) CumulativeClaimAmounts ¶
CumulativeClaimAmounts is a free data retrieval call binding the contract method 0xb5ff136d.
Solidity: function cumulativeClaimAmounts(address ) view returns(uint256)
func (*VesterCallerSession) CumulativeRewardDeductions ¶
func (_Vester *VesterCallerSession) CumulativeRewardDeductions(arg0 common.Address) (*big.Int, error)
CumulativeRewardDeductions is a free data retrieval call binding the contract method 0x387a785d.
Solidity: function cumulativeRewardDeductions(address ) view returns(uint256)
func (*VesterCallerSession) Decimals ¶
func (_Vester *VesterCallerSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*VesterCallerSession) EsToken ¶
func (_Vester *VesterCallerSession) EsToken() (common.Address, error)
EsToken is a free data retrieval call binding the contract method 0x16ca05c5.
Solidity: function esToken() view returns(address)
func (*VesterCallerSession) GetCombinedAverageStakedAmount ¶
func (_Vester *VesterCallerSession) GetCombinedAverageStakedAmount(_account common.Address) (*big.Int, error)
GetCombinedAverageStakedAmount is a free data retrieval call binding the contract method 0x45f01ee6.
Solidity: function getCombinedAverageStakedAmount(address _account) view returns(uint256)
func (*VesterCallerSession) GetMaxVestableAmount ¶
GetMaxVestableAmount is a free data retrieval call binding the contract method 0x08f26c76.
Solidity: function getMaxVestableAmount(address _account) view returns(uint256)
func (*VesterCallerSession) GetPairAmount ¶
func (_Vester *VesterCallerSession) GetPairAmount(_account common.Address, _esAmount *big.Int) (*big.Int, error)
GetPairAmount is a free data retrieval call binding the contract method 0x7cf8f3b2.
Solidity: function getPairAmount(address _account, uint256 _esAmount) view returns(uint256)
func (*VesterCallerSession) GetTotalVested ¶
GetTotalVested is a free data retrieval call binding the contract method 0x93035473.
Solidity: function getTotalVested(address _account) view returns(uint256)
func (*VesterCallerSession) GetVestedAmount ¶
GetVestedAmount is a free data retrieval call binding the contract method 0xd5a73fdd.
Solidity: function getVestedAmount(address _account) view returns(uint256)
func (*VesterCallerSession) Gov ¶
func (_Vester *VesterCallerSession) Gov() (common.Address, error)
Gov is a free data retrieval call binding the contract method 0x12d43a51.
Solidity: function gov() view returns(address)
func (*VesterCallerSession) HasMaxVestableAmount ¶
func (_Vester *VesterCallerSession) HasMaxVestableAmount() (bool, error)
HasMaxVestableAmount is a free data retrieval call binding the contract method 0xacf077a5.
Solidity: function hasMaxVestableAmount() view returns(bool)
func (*VesterCallerSession) HasPairToken ¶
func (_Vester *VesterCallerSession) HasPairToken() (bool, error)
HasPairToken is a free data retrieval call binding the contract method 0xd75abb57.
Solidity: function hasPairToken() view returns(bool)
func (*VesterCallerSession) HasRewardTracker ¶
func (_Vester *VesterCallerSession) HasRewardTracker() (bool, error)
HasRewardTracker is a free data retrieval call binding the contract method 0xf421f62a.
Solidity: function hasRewardTracker() view returns(bool)
func (*VesterCallerSession) IsHandler ¶
func (_Vester *VesterCallerSession) 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 (*VesterCallerSession) LastVestingTimes ¶
LastVestingTimes is a free data retrieval call binding the contract method 0x0db9ea4a.
Solidity: function lastVestingTimes(address ) view returns(uint256)
func (*VesterCallerSession) Name ¶
func (_Vester *VesterCallerSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*VesterCallerSession) PairAmounts ¶
PairAmounts is a free data retrieval call binding the contract method 0x5d50e729.
Solidity: function pairAmounts(address ) view returns(uint256)
func (*VesterCallerSession) PairSupply ¶
func (_Vester *VesterCallerSession) PairSupply() (*big.Int, error)
PairSupply is a free data retrieval call binding the contract method 0x15e90a41.
Solidity: function pairSupply() view returns(uint256)
func (*VesterCallerSession) PairToken ¶
func (_Vester *VesterCallerSession) PairToken() (common.Address, error)
PairToken is a free data retrieval call binding the contract method 0x3de35b79.
Solidity: function pairToken() view returns(address)
func (*VesterCallerSession) RewardTracker ¶
func (_Vester *VesterCallerSession) RewardTracker() (common.Address, error)
RewardTracker is a free data retrieval call binding the contract method 0x6bcb411a.
Solidity: function rewardTracker() view returns(address)
func (*VesterCallerSession) Symbol ¶
func (_Vester *VesterCallerSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*VesterCallerSession) TotalSupply ¶
func (_Vester *VesterCallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*VesterCallerSession) TransferredAverageStakedAmounts ¶
func (_Vester *VesterCallerSession) TransferredAverageStakedAmounts(arg0 common.Address) (*big.Int, error)
TransferredAverageStakedAmounts is a free data retrieval call binding the contract method 0x7337035c.
Solidity: function transferredAverageStakedAmounts(address ) view returns(uint256)
func (*VesterCallerSession) TransferredCumulativeRewards ¶
func (_Vester *VesterCallerSession) TransferredCumulativeRewards(arg0 common.Address) (*big.Int, error)
TransferredCumulativeRewards is a free data retrieval call binding the contract method 0xb71bce2a.
Solidity: function transferredCumulativeRewards(address ) view returns(uint256)
func (*VesterCallerSession) VestingDuration ¶
func (_Vester *VesterCallerSession) VestingDuration() (*big.Int, error)
VestingDuration is a free data retrieval call binding the contract method 0x1514617e.
Solidity: function vestingDuration() view returns(uint256)
type VesterClaim ¶
type VesterClaim struct { Receiver common.Address Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
VesterClaim represents a Claim event raised by the Vester contract.
type VesterClaimIterator ¶
type VesterClaimIterator struct { Event *VesterClaim // Event containing the contract specifics and raw log // contains filtered or unexported fields }
VesterClaimIterator is returned from FilterClaim and is used to iterate over the raw logs and unpacked data for Claim events raised by the Vester contract.
func (*VesterClaimIterator) Close ¶
func (it *VesterClaimIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*VesterClaimIterator) Error ¶
func (it *VesterClaimIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*VesterClaimIterator) Next ¶
func (it *VesterClaimIterator) 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 VesterDeposit ¶
type VesterDeposit struct { Account common.Address Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
VesterDeposit represents a Deposit event raised by the Vester contract.
type VesterDepositIterator ¶
type VesterDepositIterator struct { Event *VesterDeposit // Event containing the contract specifics and raw log // contains filtered or unexported fields }
VesterDepositIterator is returned from FilterDeposit and is used to iterate over the raw logs and unpacked data for Deposit events raised by the Vester contract.
func (*VesterDepositIterator) Close ¶
func (it *VesterDepositIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*VesterDepositIterator) Error ¶
func (it *VesterDepositIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*VesterDepositIterator) Next ¶
func (it *VesterDepositIterator) 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 VesterFilterer ¶
type VesterFilterer struct {
// contains filtered or unexported fields
}
VesterFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewVesterFilterer ¶
func NewVesterFilterer(address common.Address, filterer bind.ContractFilterer) (*VesterFilterer, error)
NewVesterFilterer creates a new log filterer instance of Vester, bound to a specific deployed contract.
func (*VesterFilterer) FilterApproval ¶
func (_Vester *VesterFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*VesterApprovalIterator, 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 (*VesterFilterer) FilterClaim ¶
func (_Vester *VesterFilterer) FilterClaim(opts *bind.FilterOpts) (*VesterClaimIterator, error)
FilterClaim is a free log retrieval operation binding the contract event 0x47cee97cb7acd717b3c0aa1435d004cd5b3c8c57d70dbceb4e4458bbd60e39d4.
Solidity: event Claim(address receiver, uint256 amount)
func (*VesterFilterer) FilterDeposit ¶
func (_Vester *VesterFilterer) FilterDeposit(opts *bind.FilterOpts) (*VesterDepositIterator, error)
FilterDeposit is a free log retrieval operation binding the contract event 0xe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c.
Solidity: event Deposit(address account, uint256 amount)
func (*VesterFilterer) FilterPairTransfer ¶
func (_Vester *VesterFilterer) FilterPairTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*VesterPairTransferIterator, error)
FilterPairTransfer is a free log retrieval operation binding the contract event 0x659523c479d006050ebc0d0e48fea36d1b2c5d45b2f31402ac6f8671fc84cc04.
Solidity: event PairTransfer(address indexed from, address indexed to, uint256 value)
func (*VesterFilterer) FilterTransfer ¶
func (_Vester *VesterFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*VesterTransferIterator, 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 (*VesterFilterer) FilterWithdraw ¶
func (_Vester *VesterFilterer) FilterWithdraw(opts *bind.FilterOpts) (*VesterWithdrawIterator, error)
FilterWithdraw is a free log retrieval operation binding the contract event 0xf279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b568.
Solidity: event Withdraw(address account, uint256 claimedAmount, uint256 balance)
func (*VesterFilterer) ParseApproval ¶
func (_Vester *VesterFilterer) ParseApproval(log types.Log) (*VesterApproval, error)
ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*VesterFilterer) ParseClaim ¶
func (_Vester *VesterFilterer) ParseClaim(log types.Log) (*VesterClaim, error)
ParseClaim is a log parse operation binding the contract event 0x47cee97cb7acd717b3c0aa1435d004cd5b3c8c57d70dbceb4e4458bbd60e39d4.
Solidity: event Claim(address receiver, uint256 amount)
func (*VesterFilterer) ParseDeposit ¶
func (_Vester *VesterFilterer) ParseDeposit(log types.Log) (*VesterDeposit, error)
ParseDeposit is a log parse operation binding the contract event 0xe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c.
Solidity: event Deposit(address account, uint256 amount)
func (*VesterFilterer) ParsePairTransfer ¶
func (_Vester *VesterFilterer) ParsePairTransfer(log types.Log) (*VesterPairTransfer, error)
ParsePairTransfer is a log parse operation binding the contract event 0x659523c479d006050ebc0d0e48fea36d1b2c5d45b2f31402ac6f8671fc84cc04.
Solidity: event PairTransfer(address indexed from, address indexed to, uint256 value)
func (*VesterFilterer) ParseTransfer ¶
func (_Vester *VesterFilterer) ParseTransfer(log types.Log) (*VesterTransfer, error)
ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*VesterFilterer) ParseWithdraw ¶
func (_Vester *VesterFilterer) ParseWithdraw(log types.Log) (*VesterWithdraw, error)
ParseWithdraw is a log parse operation binding the contract event 0xf279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b568.
Solidity: event Withdraw(address account, uint256 claimedAmount, uint256 balance)
func (*VesterFilterer) WatchApproval ¶
func (_Vester *VesterFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *VesterApproval, 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 (*VesterFilterer) WatchClaim ¶
func (_Vester *VesterFilterer) WatchClaim(opts *bind.WatchOpts, sink chan<- *VesterClaim) (event.Subscription, error)
WatchClaim is a free log subscription operation binding the contract event 0x47cee97cb7acd717b3c0aa1435d004cd5b3c8c57d70dbceb4e4458bbd60e39d4.
Solidity: event Claim(address receiver, uint256 amount)
func (*VesterFilterer) WatchDeposit ¶
func (_Vester *VesterFilterer) WatchDeposit(opts *bind.WatchOpts, sink chan<- *VesterDeposit) (event.Subscription, error)
WatchDeposit is a free log subscription operation binding the contract event 0xe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c.
Solidity: event Deposit(address account, uint256 amount)
func (*VesterFilterer) WatchPairTransfer ¶
func (_Vester *VesterFilterer) WatchPairTransfer(opts *bind.WatchOpts, sink chan<- *VesterPairTransfer, from []common.Address, to []common.Address) (event.Subscription, error)
WatchPairTransfer is a free log subscription operation binding the contract event 0x659523c479d006050ebc0d0e48fea36d1b2c5d45b2f31402ac6f8671fc84cc04.
Solidity: event PairTransfer(address indexed from, address indexed to, uint256 value)
func (*VesterFilterer) WatchTransfer ¶
func (_Vester *VesterFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *VesterTransfer, 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)
func (*VesterFilterer) WatchWithdraw ¶
func (_Vester *VesterFilterer) WatchWithdraw(opts *bind.WatchOpts, sink chan<- *VesterWithdraw) (event.Subscription, error)
WatchWithdraw is a free log subscription operation binding the contract event 0xf279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b568.
Solidity: event Withdraw(address account, uint256 claimedAmount, uint256 balance)
type VesterPairTransfer ¶
type VesterPairTransfer struct { From common.Address To common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
VesterPairTransfer represents a PairTransfer event raised by the Vester contract.
type VesterPairTransferIterator ¶
type VesterPairTransferIterator struct { Event *VesterPairTransfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
VesterPairTransferIterator is returned from FilterPairTransfer and is used to iterate over the raw logs and unpacked data for PairTransfer events raised by the Vester contract.
func (*VesterPairTransferIterator) Close ¶
func (it *VesterPairTransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*VesterPairTransferIterator) Error ¶
func (it *VesterPairTransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*VesterPairTransferIterator) Next ¶
func (it *VesterPairTransferIterator) 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 VesterRaw ¶
type VesterRaw struct {
Contract *Vester // Generic contract binding to access the raw methods on
}
VesterRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*VesterRaw) Call ¶
func (_Vester *VesterRaw) 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 (*VesterRaw) Transact ¶
func (_Vester *VesterRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*VesterRaw) Transfer ¶
func (_Vester *VesterRaw) 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 VesterSession ¶
type VesterSession struct { Contract *Vester // 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 }
VesterSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*VesterSession) Allowance ¶
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address , address ) view returns(uint256)
func (*VesterSession) Approve ¶
func (_Vester *VesterSession) Approve(arg0 common.Address, arg1 *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address , uint256 ) returns(bool)
func (*VesterSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address _account) view returns(uint256)
func (*VesterSession) Balances ¶
Balances is a free data retrieval call binding the contract method 0x27e235e3.
Solidity: function balances(address ) view returns(uint256)
func (*VesterSession) BonusRewards ¶
BonusRewards is a free data retrieval call binding the contract method 0xa2545fa5.
Solidity: function bonusRewards(address ) view returns(uint256)
func (*VesterSession) Claim ¶
func (_Vester *VesterSession) Claim() (*types.Transaction, error)
Claim is a paid mutator transaction binding the contract method 0x4e71d92d.
Solidity: function claim() returns(uint256)
func (*VesterSession) ClaimForAccount ¶
func (_Vester *VesterSession) 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 (*VesterSession) Claimable ¶
Claimable is a free data retrieval call binding the contract method 0x402914f5.
Solidity: function claimable(address _account) view returns(uint256)
func (*VesterSession) ClaimableToken ¶
func (_Vester *VesterSession) ClaimableToken() (common.Address, error)
ClaimableToken is a free data retrieval call binding the contract method 0xf6d6d5aa.
Solidity: function claimableToken() view returns(address)
func (*VesterSession) ClaimedAmounts ¶
ClaimedAmounts is a free data retrieval call binding the contract method 0x71417b32.
Solidity: function claimedAmounts(address ) view returns(uint256)
func (*VesterSession) CumulativeClaimAmounts ¶
CumulativeClaimAmounts is a free data retrieval call binding the contract method 0xb5ff136d.
Solidity: function cumulativeClaimAmounts(address ) view returns(uint256)
func (*VesterSession) CumulativeRewardDeductions ¶
CumulativeRewardDeductions is a free data retrieval call binding the contract method 0x387a785d.
Solidity: function cumulativeRewardDeductions(address ) view returns(uint256)
func (*VesterSession) Decimals ¶
func (_Vester *VesterSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*VesterSession) Deposit ¶
func (_Vester *VesterSession) Deposit(_amount *big.Int) (*types.Transaction, error)
Deposit is a paid mutator transaction binding the contract method 0xb6b55f25.
Solidity: function deposit(uint256 _amount) returns()
func (*VesterSession) DepositForAccount ¶
func (_Vester *VesterSession) DepositForAccount(_account common.Address, _amount *big.Int) (*types.Transaction, error)
DepositForAccount is a paid mutator transaction binding the contract method 0x342fcda9.
Solidity: function depositForAccount(address _account, uint256 _amount) returns()
func (*VesterSession) EsToken ¶
func (_Vester *VesterSession) EsToken() (common.Address, error)
EsToken is a free data retrieval call binding the contract method 0x16ca05c5.
Solidity: function esToken() view returns(address)
func (*VesterSession) GetCombinedAverageStakedAmount ¶
func (_Vester *VesterSession) GetCombinedAverageStakedAmount(_account common.Address) (*big.Int, error)
GetCombinedAverageStakedAmount is a free data retrieval call binding the contract method 0x45f01ee6.
Solidity: function getCombinedAverageStakedAmount(address _account) view returns(uint256)
func (*VesterSession) GetMaxVestableAmount ¶
GetMaxVestableAmount is a free data retrieval call binding the contract method 0x08f26c76.
Solidity: function getMaxVestableAmount(address _account) view returns(uint256)
func (*VesterSession) GetPairAmount ¶
func (_Vester *VesterSession) GetPairAmount(_account common.Address, _esAmount *big.Int) (*big.Int, error)
GetPairAmount is a free data retrieval call binding the contract method 0x7cf8f3b2.
Solidity: function getPairAmount(address _account, uint256 _esAmount) view returns(uint256)
func (*VesterSession) GetTotalVested ¶
GetTotalVested is a free data retrieval call binding the contract method 0x93035473.
Solidity: function getTotalVested(address _account) view returns(uint256)
func (*VesterSession) GetVestedAmount ¶
GetVestedAmount is a free data retrieval call binding the contract method 0xd5a73fdd.
Solidity: function getVestedAmount(address _account) view returns(uint256)
func (*VesterSession) Gov ¶
func (_Vester *VesterSession) Gov() (common.Address, error)
Gov is a free data retrieval call binding the contract method 0x12d43a51.
Solidity: function gov() view returns(address)
func (*VesterSession) HasMaxVestableAmount ¶
func (_Vester *VesterSession) HasMaxVestableAmount() (bool, error)
HasMaxVestableAmount is a free data retrieval call binding the contract method 0xacf077a5.
Solidity: function hasMaxVestableAmount() view returns(bool)
func (*VesterSession) HasPairToken ¶
func (_Vester *VesterSession) HasPairToken() (bool, error)
HasPairToken is a free data retrieval call binding the contract method 0xd75abb57.
Solidity: function hasPairToken() view returns(bool)
func (*VesterSession) HasRewardTracker ¶
func (_Vester *VesterSession) HasRewardTracker() (bool, error)
HasRewardTracker is a free data retrieval call binding the contract method 0xf421f62a.
Solidity: function hasRewardTracker() view returns(bool)
func (*VesterSession) IsHandler ¶
func (_Vester *VesterSession) 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 (*VesterSession) LastVestingTimes ¶
LastVestingTimes is a free data retrieval call binding the contract method 0x0db9ea4a.
Solidity: function lastVestingTimes(address ) view returns(uint256)
func (*VesterSession) Name ¶
func (_Vester *VesterSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*VesterSession) PairAmounts ¶
PairAmounts is a free data retrieval call binding the contract method 0x5d50e729.
Solidity: function pairAmounts(address ) view returns(uint256)
func (*VesterSession) PairSupply ¶
func (_Vester *VesterSession) PairSupply() (*big.Int, error)
PairSupply is a free data retrieval call binding the contract method 0x15e90a41.
Solidity: function pairSupply() view returns(uint256)
func (*VesterSession) PairToken ¶
func (_Vester *VesterSession) PairToken() (common.Address, error)
PairToken is a free data retrieval call binding the contract method 0x3de35b79.
Solidity: function pairToken() view returns(address)
func (*VesterSession) RewardTracker ¶
func (_Vester *VesterSession) RewardTracker() (common.Address, error)
RewardTracker is a free data retrieval call binding the contract method 0x6bcb411a.
Solidity: function rewardTracker() view returns(address)
func (*VesterSession) SetBonusRewards ¶
func (_Vester *VesterSession) SetBonusRewards(_account common.Address, _amount *big.Int) (*types.Transaction, error)
SetBonusRewards is a paid mutator transaction binding the contract method 0x41f22724.
Solidity: function setBonusRewards(address _account, uint256 _amount) returns()
func (*VesterSession) SetCumulativeRewardDeductions ¶
func (_Vester *VesterSession) SetCumulativeRewardDeductions(_account common.Address, _amount *big.Int) (*types.Transaction, error)
SetCumulativeRewardDeductions is a paid mutator transaction binding the contract method 0xd89b7007.
Solidity: function setCumulativeRewardDeductions(address _account, uint256 _amount) returns()
func (*VesterSession) SetGov ¶
func (_Vester *VesterSession) 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 (*VesterSession) SetHandler ¶
func (_Vester *VesterSession) 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 (*VesterSession) SetHasMaxVestableAmount ¶
func (_Vester *VesterSession) SetHasMaxVestableAmount(_hasMaxVestableAmount bool) (*types.Transaction, error)
SetHasMaxVestableAmount is a paid mutator transaction binding the contract method 0x69de9b93.
Solidity: function setHasMaxVestableAmount(bool _hasMaxVestableAmount) returns()
func (*VesterSession) SetTransferredAverageStakedAmounts ¶
func (_Vester *VesterSession) SetTransferredAverageStakedAmounts(_account common.Address, _amount *big.Int) (*types.Transaction, error)
SetTransferredAverageStakedAmounts is a paid mutator transaction binding the contract method 0xe3ecc4b2.
Solidity: function setTransferredAverageStakedAmounts(address _account, uint256 _amount) returns()
func (*VesterSession) SetTransferredCumulativeRewards ¶
func (_Vester *VesterSession) SetTransferredCumulativeRewards(_account common.Address, _amount *big.Int) (*types.Transaction, error)
SetTransferredCumulativeRewards is a paid mutator transaction binding the contract method 0xd0b038b7.
Solidity: function setTransferredCumulativeRewards(address _account, uint256 _amount) returns()
func (*VesterSession) Symbol ¶
func (_Vester *VesterSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*VesterSession) TotalSupply ¶
func (_Vester *VesterSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*VesterSession) Transfer ¶
func (_Vester *VesterSession) Transfer(arg0 common.Address, arg1 *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address , uint256 ) returns(bool)
func (*VesterSession) TransferFrom ¶
func (_Vester *VesterSession) TransferFrom(arg0 common.Address, arg1 common.Address, arg2 *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address , address , uint256 ) returns(bool)
func (*VesterSession) TransferStakeValues ¶
func (_Vester *VesterSession) TransferStakeValues(_sender common.Address, _receiver common.Address) (*types.Transaction, error)
TransferStakeValues is a paid mutator transaction binding the contract method 0xf713c230.
Solidity: function transferStakeValues(address _sender, address _receiver) returns()
func (*VesterSession) TransferredAverageStakedAmounts ¶
func (_Vester *VesterSession) TransferredAverageStakedAmounts(arg0 common.Address) (*big.Int, error)
TransferredAverageStakedAmounts is a free data retrieval call binding the contract method 0x7337035c.
Solidity: function transferredAverageStakedAmounts(address ) view returns(uint256)
func (*VesterSession) TransferredCumulativeRewards ¶
TransferredCumulativeRewards is a free data retrieval call binding the contract method 0xb71bce2a.
Solidity: function transferredCumulativeRewards(address ) view returns(uint256)
func (*VesterSession) VestingDuration ¶
func (_Vester *VesterSession) VestingDuration() (*big.Int, error)
VestingDuration is a free data retrieval call binding the contract method 0x1514617e.
Solidity: function vestingDuration() view returns(uint256)
func (*VesterSession) Withdraw ¶
func (_Vester *VesterSession) Withdraw() (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x3ccfd60b.
Solidity: function withdraw() returns()
func (*VesterSession) WithdrawToken ¶
func (_Vester *VesterSession) 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 VesterTransactor ¶
type VesterTransactor struct {
// contains filtered or unexported fields
}
VesterTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewVesterTransactor ¶
func NewVesterTransactor(address common.Address, transactor bind.ContractTransactor) (*VesterTransactor, error)
NewVesterTransactor creates a new write-only instance of Vester, bound to a specific deployed contract.
func (*VesterTransactor) Approve ¶
func (_Vester *VesterTransactor) Approve(opts *bind.TransactOpts, arg0 common.Address, arg1 *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address , uint256 ) returns(bool)
func (*VesterTransactor) Claim ¶
func (_Vester *VesterTransactor) Claim(opts *bind.TransactOpts) (*types.Transaction, error)
Claim is a paid mutator transaction binding the contract method 0x4e71d92d.
Solidity: function claim() returns(uint256)
func (*VesterTransactor) ClaimForAccount ¶
func (_Vester *VesterTransactor) 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 (*VesterTransactor) Deposit ¶
func (_Vester *VesterTransactor) Deposit(opts *bind.TransactOpts, _amount *big.Int) (*types.Transaction, error)
Deposit is a paid mutator transaction binding the contract method 0xb6b55f25.
Solidity: function deposit(uint256 _amount) returns()
func (*VesterTransactor) DepositForAccount ¶
func (_Vester *VesterTransactor) DepositForAccount(opts *bind.TransactOpts, _account common.Address, _amount *big.Int) (*types.Transaction, error)
DepositForAccount is a paid mutator transaction binding the contract method 0x342fcda9.
Solidity: function depositForAccount(address _account, uint256 _amount) returns()
func (*VesterTransactor) SetBonusRewards ¶
func (_Vester *VesterTransactor) SetBonusRewards(opts *bind.TransactOpts, _account common.Address, _amount *big.Int) (*types.Transaction, error)
SetBonusRewards is a paid mutator transaction binding the contract method 0x41f22724.
Solidity: function setBonusRewards(address _account, uint256 _amount) returns()
func (*VesterTransactor) SetCumulativeRewardDeductions ¶
func (_Vester *VesterTransactor) SetCumulativeRewardDeductions(opts *bind.TransactOpts, _account common.Address, _amount *big.Int) (*types.Transaction, error)
SetCumulativeRewardDeductions is a paid mutator transaction binding the contract method 0xd89b7007.
Solidity: function setCumulativeRewardDeductions(address _account, uint256 _amount) returns()
func (*VesterTransactor) SetGov ¶
func (_Vester *VesterTransactor) 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 (*VesterTransactor) SetHandler ¶
func (_Vester *VesterTransactor) 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 (*VesterTransactor) SetHasMaxVestableAmount ¶
func (_Vester *VesterTransactor) SetHasMaxVestableAmount(opts *bind.TransactOpts, _hasMaxVestableAmount bool) (*types.Transaction, error)
SetHasMaxVestableAmount is a paid mutator transaction binding the contract method 0x69de9b93.
Solidity: function setHasMaxVestableAmount(bool _hasMaxVestableAmount) returns()
func (*VesterTransactor) SetTransferredAverageStakedAmounts ¶
func (_Vester *VesterTransactor) SetTransferredAverageStakedAmounts(opts *bind.TransactOpts, _account common.Address, _amount *big.Int) (*types.Transaction, error)
SetTransferredAverageStakedAmounts is a paid mutator transaction binding the contract method 0xe3ecc4b2.
Solidity: function setTransferredAverageStakedAmounts(address _account, uint256 _amount) returns()
func (*VesterTransactor) SetTransferredCumulativeRewards ¶
func (_Vester *VesterTransactor) SetTransferredCumulativeRewards(opts *bind.TransactOpts, _account common.Address, _amount *big.Int) (*types.Transaction, error)
SetTransferredCumulativeRewards is a paid mutator transaction binding the contract method 0xd0b038b7.
Solidity: function setTransferredCumulativeRewards(address _account, uint256 _amount) returns()
func (*VesterTransactor) Transfer ¶
func (_Vester *VesterTransactor) Transfer(opts *bind.TransactOpts, arg0 common.Address, arg1 *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address , uint256 ) returns(bool)
func (*VesterTransactor) TransferFrom ¶
func (_Vester *VesterTransactor) TransferFrom(opts *bind.TransactOpts, arg0 common.Address, arg1 common.Address, arg2 *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address , address , uint256 ) returns(bool)
func (*VesterTransactor) TransferStakeValues ¶
func (_Vester *VesterTransactor) TransferStakeValues(opts *bind.TransactOpts, _sender common.Address, _receiver common.Address) (*types.Transaction, error)
TransferStakeValues is a paid mutator transaction binding the contract method 0xf713c230.
Solidity: function transferStakeValues(address _sender, address _receiver) returns()
func (*VesterTransactor) Withdraw ¶
func (_Vester *VesterTransactor) Withdraw(opts *bind.TransactOpts) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x3ccfd60b.
Solidity: function withdraw() returns()
func (*VesterTransactor) WithdrawToken ¶
func (_Vester *VesterTransactor) 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 VesterTransactorRaw ¶
type VesterTransactorRaw struct {
Contract *VesterTransactor // Generic write-only contract binding to access the raw methods on
}
VesterTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*VesterTransactorRaw) Transact ¶
func (_Vester *VesterTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*VesterTransactorRaw) Transfer ¶
func (_Vester *VesterTransactorRaw) 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 VesterTransactorSession ¶
type VesterTransactorSession struct { Contract *VesterTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
VesterTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*VesterTransactorSession) Approve ¶
func (_Vester *VesterTransactorSession) Approve(arg0 common.Address, arg1 *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address , uint256 ) returns(bool)
func (*VesterTransactorSession) Claim ¶
func (_Vester *VesterTransactorSession) Claim() (*types.Transaction, error)
Claim is a paid mutator transaction binding the contract method 0x4e71d92d.
Solidity: function claim() returns(uint256)
func (*VesterTransactorSession) ClaimForAccount ¶
func (_Vester *VesterTransactorSession) 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 (*VesterTransactorSession) Deposit ¶
func (_Vester *VesterTransactorSession) Deposit(_amount *big.Int) (*types.Transaction, error)
Deposit is a paid mutator transaction binding the contract method 0xb6b55f25.
Solidity: function deposit(uint256 _amount) returns()
func (*VesterTransactorSession) DepositForAccount ¶
func (_Vester *VesterTransactorSession) DepositForAccount(_account common.Address, _amount *big.Int) (*types.Transaction, error)
DepositForAccount is a paid mutator transaction binding the contract method 0x342fcda9.
Solidity: function depositForAccount(address _account, uint256 _amount) returns()
func (*VesterTransactorSession) SetBonusRewards ¶
func (_Vester *VesterTransactorSession) SetBonusRewards(_account common.Address, _amount *big.Int) (*types.Transaction, error)
SetBonusRewards is a paid mutator transaction binding the contract method 0x41f22724.
Solidity: function setBonusRewards(address _account, uint256 _amount) returns()
func (*VesterTransactorSession) SetCumulativeRewardDeductions ¶
func (_Vester *VesterTransactorSession) SetCumulativeRewardDeductions(_account common.Address, _amount *big.Int) (*types.Transaction, error)
SetCumulativeRewardDeductions is a paid mutator transaction binding the contract method 0xd89b7007.
Solidity: function setCumulativeRewardDeductions(address _account, uint256 _amount) returns()
func (*VesterTransactorSession) SetGov ¶
func (_Vester *VesterTransactorSession) 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 (*VesterTransactorSession) SetHandler ¶
func (_Vester *VesterTransactorSession) 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 (*VesterTransactorSession) SetHasMaxVestableAmount ¶
func (_Vester *VesterTransactorSession) SetHasMaxVestableAmount(_hasMaxVestableAmount bool) (*types.Transaction, error)
SetHasMaxVestableAmount is a paid mutator transaction binding the contract method 0x69de9b93.
Solidity: function setHasMaxVestableAmount(bool _hasMaxVestableAmount) returns()
func (*VesterTransactorSession) SetTransferredAverageStakedAmounts ¶
func (_Vester *VesterTransactorSession) SetTransferredAverageStakedAmounts(_account common.Address, _amount *big.Int) (*types.Transaction, error)
SetTransferredAverageStakedAmounts is a paid mutator transaction binding the contract method 0xe3ecc4b2.
Solidity: function setTransferredAverageStakedAmounts(address _account, uint256 _amount) returns()
func (*VesterTransactorSession) SetTransferredCumulativeRewards ¶
func (_Vester *VesterTransactorSession) SetTransferredCumulativeRewards(_account common.Address, _amount *big.Int) (*types.Transaction, error)
SetTransferredCumulativeRewards is a paid mutator transaction binding the contract method 0xd0b038b7.
Solidity: function setTransferredCumulativeRewards(address _account, uint256 _amount) returns()
func (*VesterTransactorSession) Transfer ¶
func (_Vester *VesterTransactorSession) Transfer(arg0 common.Address, arg1 *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address , uint256 ) returns(bool)
func (*VesterTransactorSession) TransferFrom ¶
func (_Vester *VesterTransactorSession) TransferFrom(arg0 common.Address, arg1 common.Address, arg2 *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address , address , uint256 ) returns(bool)
func (*VesterTransactorSession) TransferStakeValues ¶
func (_Vester *VesterTransactorSession) TransferStakeValues(_sender common.Address, _receiver common.Address) (*types.Transaction, error)
TransferStakeValues is a paid mutator transaction binding the contract method 0xf713c230.
Solidity: function transferStakeValues(address _sender, address _receiver) returns()
func (*VesterTransactorSession) Withdraw ¶
func (_Vester *VesterTransactorSession) Withdraw() (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x3ccfd60b.
Solidity: function withdraw() returns()
func (*VesterTransactorSession) WithdrawToken ¶
func (_Vester *VesterTransactorSession) 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 VesterTransfer ¶
type VesterTransfer struct { From common.Address To common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
VesterTransfer represents a Transfer event raised by the Vester contract.
type VesterTransferIterator ¶
type VesterTransferIterator struct { Event *VesterTransfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
VesterTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the Vester contract.
func (*VesterTransferIterator) Close ¶
func (it *VesterTransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*VesterTransferIterator) Error ¶
func (it *VesterTransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*VesterTransferIterator) Next ¶
func (it *VesterTransferIterator) 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 VesterWithdraw ¶
type VesterWithdraw struct { Account common.Address ClaimedAmount *big.Int Balance *big.Int Raw types.Log // Blockchain specific contextual infos }
VesterWithdraw represents a Withdraw event raised by the Vester contract.
type VesterWithdrawIterator ¶
type VesterWithdrawIterator struct { Event *VesterWithdraw // Event containing the contract specifics and raw log // contains filtered or unexported fields }
VesterWithdrawIterator is returned from FilterWithdraw and is used to iterate over the raw logs and unpacked data for Withdraw events raised by the Vester contract.
func (*VesterWithdrawIterator) Close ¶
func (it *VesterWithdrawIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*VesterWithdrawIterator) Error ¶
func (it *VesterWithdrawIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*VesterWithdrawIterator) Next ¶
func (it *VesterWithdrawIterator) 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.