Documentation ¶
Index ¶
- Variables
- func EsTokenAddress() common.Address
- func GMXLpAddress() common.Address
- func GMXTokenAddress() common.Address
- func RewardTrackerGlpAddress() common.Address
- func RewardTrackerSGMXAddress() common.Address
- func RewardTrackerSbfGmxAddress() common.Address
- func StakedGlpAddress() common.Address
- func VesterGMXAddress() common.Address
- func VesterGlpAddress() common.Address
- type GmxRewardTracker
- type GmxRewardTrackerApproval
- type GmxRewardTrackerApprovalIterator
- type GmxRewardTrackerCaller
- func (_GmxRewardTracker *GmxRewardTrackerCaller) Allowance(opts *bind.CallOpts, _owner common.Address, _spender common.Address) (*big.Int, error)
- func (_GmxRewardTracker *GmxRewardTrackerCaller) Allowances(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (*big.Int, error)
- func (_GmxRewardTracker *GmxRewardTrackerCaller) AverageStakedAmounts(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
- func (_GmxRewardTracker *GmxRewardTrackerCaller) BASISPOINTSDIVISOR(opts *bind.CallOpts) (*big.Int, error)
- func (_GmxRewardTracker *GmxRewardTrackerCaller) BalanceOf(opts *bind.CallOpts, _account common.Address) (*big.Int, error)
- func (_GmxRewardTracker *GmxRewardTrackerCaller) Balances(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
- func (_GmxRewardTracker *GmxRewardTrackerCaller) Claimable(opts *bind.CallOpts, _account common.Address) (*big.Int, error)
- func (_GmxRewardTracker *GmxRewardTrackerCaller) ClaimableReward(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
- func (_GmxRewardTracker *GmxRewardTrackerCaller) CumulativeRewardPerToken(opts *bind.CallOpts) (*big.Int, error)
- func (_GmxRewardTracker *GmxRewardTrackerCaller) CumulativeRewards(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
- func (_GmxRewardTracker *GmxRewardTrackerCaller) Decimals(opts *bind.CallOpts) (uint8, error)
- func (_GmxRewardTracker *GmxRewardTrackerCaller) DepositBalances(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (*big.Int, error)
- func (_GmxRewardTracker *GmxRewardTrackerCaller) Distributor(opts *bind.CallOpts) (common.Address, error)
- func (_GmxRewardTracker *GmxRewardTrackerCaller) Gov(opts *bind.CallOpts) (common.Address, error)
- func (_GmxRewardTracker *GmxRewardTrackerCaller) InPrivateClaimingMode(opts *bind.CallOpts) (bool, error)
- func (_GmxRewardTracker *GmxRewardTrackerCaller) InPrivateStakingMode(opts *bind.CallOpts) (bool, error)
- func (_GmxRewardTracker *GmxRewardTrackerCaller) InPrivateTransferMode(opts *bind.CallOpts) (bool, error)
- func (_GmxRewardTracker *GmxRewardTrackerCaller) IsDepositToken(opts *bind.CallOpts, arg0 common.Address) (bool, error)
- func (_GmxRewardTracker *GmxRewardTrackerCaller) IsHandler(opts *bind.CallOpts, arg0 common.Address) (bool, error)
- func (_GmxRewardTracker *GmxRewardTrackerCaller) IsInitialized(opts *bind.CallOpts) (bool, error)
- func (_GmxRewardTracker *GmxRewardTrackerCaller) Name(opts *bind.CallOpts) (string, error)
- func (_GmxRewardTracker *GmxRewardTrackerCaller) PRECISION(opts *bind.CallOpts) (*big.Int, error)
- func (_GmxRewardTracker *GmxRewardTrackerCaller) PreviousCumulatedRewardPerToken(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
- func (_GmxRewardTracker *GmxRewardTrackerCaller) RewardToken(opts *bind.CallOpts) (common.Address, error)
- func (_GmxRewardTracker *GmxRewardTrackerCaller) StakedAmounts(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
- func (_GmxRewardTracker *GmxRewardTrackerCaller) Symbol(opts *bind.CallOpts) (string, error)
- func (_GmxRewardTracker *GmxRewardTrackerCaller) TokensPerInterval(opts *bind.CallOpts) (*big.Int, error)
- func (_GmxRewardTracker *GmxRewardTrackerCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- type GmxRewardTrackerCallerRaw
- type GmxRewardTrackerCallerSession
- func (_GmxRewardTracker *GmxRewardTrackerCallerSession) Allowance(_owner common.Address, _spender common.Address) (*big.Int, error)
- func (_GmxRewardTracker *GmxRewardTrackerCallerSession) Allowances(arg0 common.Address, arg1 common.Address) (*big.Int, error)
- func (_GmxRewardTracker *GmxRewardTrackerCallerSession) AverageStakedAmounts(arg0 common.Address) (*big.Int, error)
- func (_GmxRewardTracker *GmxRewardTrackerCallerSession) BASISPOINTSDIVISOR() (*big.Int, error)
- func (_GmxRewardTracker *GmxRewardTrackerCallerSession) BalanceOf(_account common.Address) (*big.Int, error)
- func (_GmxRewardTracker *GmxRewardTrackerCallerSession) Balances(arg0 common.Address) (*big.Int, error)
- func (_GmxRewardTracker *GmxRewardTrackerCallerSession) Claimable(_account common.Address) (*big.Int, error)
- func (_GmxRewardTracker *GmxRewardTrackerCallerSession) ClaimableReward(arg0 common.Address) (*big.Int, error)
- func (_GmxRewardTracker *GmxRewardTrackerCallerSession) CumulativeRewardPerToken() (*big.Int, error)
- func (_GmxRewardTracker *GmxRewardTrackerCallerSession) CumulativeRewards(arg0 common.Address) (*big.Int, error)
- func (_GmxRewardTracker *GmxRewardTrackerCallerSession) Decimals() (uint8, error)
- func (_GmxRewardTracker *GmxRewardTrackerCallerSession) DepositBalances(arg0 common.Address, arg1 common.Address) (*big.Int, error)
- func (_GmxRewardTracker *GmxRewardTrackerCallerSession) Distributor() (common.Address, error)
- func (_GmxRewardTracker *GmxRewardTrackerCallerSession) Gov() (common.Address, error)
- func (_GmxRewardTracker *GmxRewardTrackerCallerSession) InPrivateClaimingMode() (bool, error)
- func (_GmxRewardTracker *GmxRewardTrackerCallerSession) InPrivateStakingMode() (bool, error)
- func (_GmxRewardTracker *GmxRewardTrackerCallerSession) InPrivateTransferMode() (bool, error)
- func (_GmxRewardTracker *GmxRewardTrackerCallerSession) IsDepositToken(arg0 common.Address) (bool, error)
- func (_GmxRewardTracker *GmxRewardTrackerCallerSession) IsHandler(arg0 common.Address) (bool, error)
- func (_GmxRewardTracker *GmxRewardTrackerCallerSession) IsInitialized() (bool, error)
- func (_GmxRewardTracker *GmxRewardTrackerCallerSession) Name() (string, error)
- func (_GmxRewardTracker *GmxRewardTrackerCallerSession) PRECISION() (*big.Int, error)
- func (_GmxRewardTracker *GmxRewardTrackerCallerSession) PreviousCumulatedRewardPerToken(arg0 common.Address) (*big.Int, error)
- func (_GmxRewardTracker *GmxRewardTrackerCallerSession) RewardToken() (common.Address, error)
- func (_GmxRewardTracker *GmxRewardTrackerCallerSession) StakedAmounts(arg0 common.Address) (*big.Int, error)
- func (_GmxRewardTracker *GmxRewardTrackerCallerSession) Symbol() (string, error)
- func (_GmxRewardTracker *GmxRewardTrackerCallerSession) TokensPerInterval() (*big.Int, error)
- func (_GmxRewardTracker *GmxRewardTrackerCallerSession) TotalSupply() (*big.Int, error)
- type GmxRewardTrackerClaim
- type GmxRewardTrackerClaimIterator
- type GmxRewardTrackerFilterer
- func (_GmxRewardTracker *GmxRewardTrackerFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*GmxRewardTrackerApprovalIterator, error)
- func (_GmxRewardTracker *GmxRewardTrackerFilterer) FilterClaim(opts *bind.FilterOpts) (*GmxRewardTrackerClaimIterator, error)
- func (_GmxRewardTracker *GmxRewardTrackerFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*GmxRewardTrackerTransferIterator, error)
- func (_GmxRewardTracker *GmxRewardTrackerFilterer) ParseApproval(log types.Log) (*GmxRewardTrackerApproval, error)
- func (_GmxRewardTracker *GmxRewardTrackerFilterer) ParseClaim(log types.Log) (*GmxRewardTrackerClaim, error)
- func (_GmxRewardTracker *GmxRewardTrackerFilterer) ParseTransfer(log types.Log) (*GmxRewardTrackerTransfer, error)
- func (_GmxRewardTracker *GmxRewardTrackerFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *GmxRewardTrackerApproval, ...) (event.Subscription, error)
- func (_GmxRewardTracker *GmxRewardTrackerFilterer) WatchClaim(opts *bind.WatchOpts, sink chan<- *GmxRewardTrackerClaim) (event.Subscription, error)
- func (_GmxRewardTracker *GmxRewardTrackerFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *GmxRewardTrackerTransfer, ...) (event.Subscription, error)
- type GmxRewardTrackerRaw
- func (_GmxRewardTracker *GmxRewardTrackerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_GmxRewardTracker *GmxRewardTrackerRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_GmxRewardTracker *GmxRewardTrackerRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type GmxRewardTrackerSession
- func (_GmxRewardTracker *GmxRewardTrackerSession) Allowance(_owner common.Address, _spender common.Address) (*big.Int, error)
- func (_GmxRewardTracker *GmxRewardTrackerSession) Allowances(arg0 common.Address, arg1 common.Address) (*big.Int, error)
- func (_GmxRewardTracker *GmxRewardTrackerSession) Approve(_spender common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_GmxRewardTracker *GmxRewardTrackerSession) AverageStakedAmounts(arg0 common.Address) (*big.Int, error)
- func (_GmxRewardTracker *GmxRewardTrackerSession) BASISPOINTSDIVISOR() (*big.Int, error)
- func (_GmxRewardTracker *GmxRewardTrackerSession) BalanceOf(_account common.Address) (*big.Int, error)
- func (_GmxRewardTracker *GmxRewardTrackerSession) Balances(arg0 common.Address) (*big.Int, error)
- func (_GmxRewardTracker *GmxRewardTrackerSession) Claim(_receiver common.Address) (*types.Transaction, error)
- func (_GmxRewardTracker *GmxRewardTrackerSession) ClaimForAccount(_account common.Address, _receiver common.Address) (*types.Transaction, error)
- func (_GmxRewardTracker *GmxRewardTrackerSession) Claimable(_account common.Address) (*big.Int, error)
- func (_GmxRewardTracker *GmxRewardTrackerSession) ClaimableReward(arg0 common.Address) (*big.Int, error)
- func (_GmxRewardTracker *GmxRewardTrackerSession) CumulativeRewardPerToken() (*big.Int, error)
- func (_GmxRewardTracker *GmxRewardTrackerSession) CumulativeRewards(arg0 common.Address) (*big.Int, error)
- func (_GmxRewardTracker *GmxRewardTrackerSession) Decimals() (uint8, error)
- func (_GmxRewardTracker *GmxRewardTrackerSession) DepositBalances(arg0 common.Address, arg1 common.Address) (*big.Int, error)
- func (_GmxRewardTracker *GmxRewardTrackerSession) Distributor() (common.Address, error)
- func (_GmxRewardTracker *GmxRewardTrackerSession) Gov() (common.Address, error)
- func (_GmxRewardTracker *GmxRewardTrackerSession) InPrivateClaimingMode() (bool, error)
- func (_GmxRewardTracker *GmxRewardTrackerSession) InPrivateStakingMode() (bool, error)
- func (_GmxRewardTracker *GmxRewardTrackerSession) InPrivateTransferMode() (bool, error)
- func (_GmxRewardTracker *GmxRewardTrackerSession) Initialize(_depositTokens []common.Address, _distributor common.Address) (*types.Transaction, error)
- func (_GmxRewardTracker *GmxRewardTrackerSession) IsDepositToken(arg0 common.Address) (bool, error)
- func (_GmxRewardTracker *GmxRewardTrackerSession) IsHandler(arg0 common.Address) (bool, error)
- func (_GmxRewardTracker *GmxRewardTrackerSession) IsInitialized() (bool, error)
- func (_GmxRewardTracker *GmxRewardTrackerSession) Name() (string, error)
- func (_GmxRewardTracker *GmxRewardTrackerSession) PRECISION() (*big.Int, error)
- func (_GmxRewardTracker *GmxRewardTrackerSession) PreviousCumulatedRewardPerToken(arg0 common.Address) (*big.Int, error)
- func (_GmxRewardTracker *GmxRewardTrackerSession) RewardToken() (common.Address, error)
- func (_GmxRewardTracker *GmxRewardTrackerSession) SetDepositToken(_depositToken common.Address, _isDepositToken bool) (*types.Transaction, error)
- func (_GmxRewardTracker *GmxRewardTrackerSession) SetGov(_gov common.Address) (*types.Transaction, error)
- func (_GmxRewardTracker *GmxRewardTrackerSession) SetHandler(_handler common.Address, _isActive bool) (*types.Transaction, error)
- func (_GmxRewardTracker *GmxRewardTrackerSession) SetInPrivateClaimingMode(_inPrivateClaimingMode bool) (*types.Transaction, error)
- func (_GmxRewardTracker *GmxRewardTrackerSession) SetInPrivateStakingMode(_inPrivateStakingMode bool) (*types.Transaction, error)
- func (_GmxRewardTracker *GmxRewardTrackerSession) SetInPrivateTransferMode(_inPrivateTransferMode bool) (*types.Transaction, error)
- func (_GmxRewardTracker *GmxRewardTrackerSession) Stake(_depositToken common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_GmxRewardTracker *GmxRewardTrackerSession) StakeForAccount(_fundingAccount common.Address, _account common.Address, ...) (*types.Transaction, error)
- func (_GmxRewardTracker *GmxRewardTrackerSession) StakedAmounts(arg0 common.Address) (*big.Int, error)
- func (_GmxRewardTracker *GmxRewardTrackerSession) Symbol() (string, error)
- func (_GmxRewardTracker *GmxRewardTrackerSession) TokensPerInterval() (*big.Int, error)
- func (_GmxRewardTracker *GmxRewardTrackerSession) TotalSupply() (*big.Int, error)
- func (_GmxRewardTracker *GmxRewardTrackerSession) Transfer(_recipient common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_GmxRewardTracker *GmxRewardTrackerSession) TransferFrom(_sender common.Address, _recipient common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_GmxRewardTracker *GmxRewardTrackerSession) Unstake(_depositToken common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_GmxRewardTracker *GmxRewardTrackerSession) UnstakeForAccount(_account common.Address, _depositToken common.Address, _amount *big.Int, ...) (*types.Transaction, error)
- func (_GmxRewardTracker *GmxRewardTrackerSession) UpdateRewards() (*types.Transaction, error)
- func (_GmxRewardTracker *GmxRewardTrackerSession) WithdrawToken(_token common.Address, _account common.Address, _amount *big.Int) (*types.Transaction, error)
- type GmxRewardTrackerTransactor
- func (_GmxRewardTracker *GmxRewardTrackerTransactor) Approve(opts *bind.TransactOpts, _spender common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_GmxRewardTracker *GmxRewardTrackerTransactor) Claim(opts *bind.TransactOpts, _receiver common.Address) (*types.Transaction, error)
- func (_GmxRewardTracker *GmxRewardTrackerTransactor) ClaimForAccount(opts *bind.TransactOpts, _account common.Address, _receiver common.Address) (*types.Transaction, error)
- func (_GmxRewardTracker *GmxRewardTrackerTransactor) Initialize(opts *bind.TransactOpts, _depositTokens []common.Address, ...) (*types.Transaction, error)
- func (_GmxRewardTracker *GmxRewardTrackerTransactor) SetDepositToken(opts *bind.TransactOpts, _depositToken common.Address, _isDepositToken bool) (*types.Transaction, error)
- func (_GmxRewardTracker *GmxRewardTrackerTransactor) SetGov(opts *bind.TransactOpts, _gov common.Address) (*types.Transaction, error)
- func (_GmxRewardTracker *GmxRewardTrackerTransactor) SetHandler(opts *bind.TransactOpts, _handler common.Address, _isActive bool) (*types.Transaction, error)
- func (_GmxRewardTracker *GmxRewardTrackerTransactor) SetInPrivateClaimingMode(opts *bind.TransactOpts, _inPrivateClaimingMode bool) (*types.Transaction, error)
- func (_GmxRewardTracker *GmxRewardTrackerTransactor) SetInPrivateStakingMode(opts *bind.TransactOpts, _inPrivateStakingMode bool) (*types.Transaction, error)
- func (_GmxRewardTracker *GmxRewardTrackerTransactor) SetInPrivateTransferMode(opts *bind.TransactOpts, _inPrivateTransferMode bool) (*types.Transaction, error)
- func (_GmxRewardTracker *GmxRewardTrackerTransactor) Stake(opts *bind.TransactOpts, _depositToken common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_GmxRewardTracker *GmxRewardTrackerTransactor) StakeForAccount(opts *bind.TransactOpts, _fundingAccount common.Address, ...) (*types.Transaction, error)
- func (_GmxRewardTracker *GmxRewardTrackerTransactor) Transfer(opts *bind.TransactOpts, _recipient common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_GmxRewardTracker *GmxRewardTrackerTransactor) TransferFrom(opts *bind.TransactOpts, _sender common.Address, _recipient common.Address, ...) (*types.Transaction, error)
- func (_GmxRewardTracker *GmxRewardTrackerTransactor) Unstake(opts *bind.TransactOpts, _depositToken common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_GmxRewardTracker *GmxRewardTrackerTransactor) UnstakeForAccount(opts *bind.TransactOpts, _account common.Address, _depositToken common.Address, ...) (*types.Transaction, error)
- func (_GmxRewardTracker *GmxRewardTrackerTransactor) UpdateRewards(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_GmxRewardTracker *GmxRewardTrackerTransactor) WithdrawToken(opts *bind.TransactOpts, _token common.Address, _account common.Address, ...) (*types.Transaction, error)
- type GmxRewardTrackerTransactorRaw
- type GmxRewardTrackerTransactorSession
- func (_GmxRewardTracker *GmxRewardTrackerTransactorSession) Approve(_spender common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_GmxRewardTracker *GmxRewardTrackerTransactorSession) Claim(_receiver common.Address) (*types.Transaction, error)
- func (_GmxRewardTracker *GmxRewardTrackerTransactorSession) ClaimForAccount(_account common.Address, _receiver common.Address) (*types.Transaction, error)
- func (_GmxRewardTracker *GmxRewardTrackerTransactorSession) Initialize(_depositTokens []common.Address, _distributor common.Address) (*types.Transaction, error)
- func (_GmxRewardTracker *GmxRewardTrackerTransactorSession) SetDepositToken(_depositToken common.Address, _isDepositToken bool) (*types.Transaction, error)
- func (_GmxRewardTracker *GmxRewardTrackerTransactorSession) SetGov(_gov common.Address) (*types.Transaction, error)
- func (_GmxRewardTracker *GmxRewardTrackerTransactorSession) SetHandler(_handler common.Address, _isActive bool) (*types.Transaction, error)
- func (_GmxRewardTracker *GmxRewardTrackerTransactorSession) SetInPrivateClaimingMode(_inPrivateClaimingMode bool) (*types.Transaction, error)
- func (_GmxRewardTracker *GmxRewardTrackerTransactorSession) SetInPrivateStakingMode(_inPrivateStakingMode bool) (*types.Transaction, error)
- func (_GmxRewardTracker *GmxRewardTrackerTransactorSession) SetInPrivateTransferMode(_inPrivateTransferMode bool) (*types.Transaction, error)
- func (_GmxRewardTracker *GmxRewardTrackerTransactorSession) Stake(_depositToken common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_GmxRewardTracker *GmxRewardTrackerTransactorSession) StakeForAccount(_fundingAccount common.Address, _account common.Address, ...) (*types.Transaction, error)
- func (_GmxRewardTracker *GmxRewardTrackerTransactorSession) Transfer(_recipient common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_GmxRewardTracker *GmxRewardTrackerTransactorSession) TransferFrom(_sender common.Address, _recipient common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_GmxRewardTracker *GmxRewardTrackerTransactorSession) Unstake(_depositToken common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_GmxRewardTracker *GmxRewardTrackerTransactorSession) UnstakeForAccount(_account common.Address, _depositToken common.Address, _amount *big.Int, ...) (*types.Transaction, error)
- func (_GmxRewardTracker *GmxRewardTrackerTransactorSession) UpdateRewards() (*types.Transaction, error)
- func (_GmxRewardTracker *GmxRewardTrackerTransactorSession) WithdrawToken(_token common.Address, _account common.Address, _amount *big.Int) (*types.Transaction, error)
- type GmxRewardTrackerTransfer
- type GmxRewardTrackerTransferIterator
- type GmxStakedGlp
- type GmxStakedGlpApproval
- type GmxStakedGlpApprovalIterator
- type GmxStakedGlpCaller
- func (_GmxStakedGlp *GmxStakedGlpCaller) Allowance(opts *bind.CallOpts, _owner common.Address, _spender common.Address) (*big.Int, error)
- func (_GmxStakedGlp *GmxStakedGlpCaller) Allowances(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (*big.Int, error)
- func (_GmxStakedGlp *GmxStakedGlpCaller) BalanceOf(opts *bind.CallOpts, _account common.Address) (*big.Int, error)
- func (_GmxStakedGlp *GmxStakedGlpCaller) Decimals(opts *bind.CallOpts) (uint8, error)
- func (_GmxStakedGlp *GmxStakedGlpCaller) FeeGlpTracker(opts *bind.CallOpts) (common.Address, error)
- func (_GmxStakedGlp *GmxStakedGlpCaller) Glp(opts *bind.CallOpts) (common.Address, error)
- func (_GmxStakedGlp *GmxStakedGlpCaller) GlpManager(opts *bind.CallOpts) (common.Address, error)
- func (_GmxStakedGlp *GmxStakedGlpCaller) Name(opts *bind.CallOpts) (string, error)
- func (_GmxStakedGlp *GmxStakedGlpCaller) StakedGlpTracker(opts *bind.CallOpts) (common.Address, error)
- func (_GmxStakedGlp *GmxStakedGlpCaller) Symbol(opts *bind.CallOpts) (string, error)
- func (_GmxStakedGlp *GmxStakedGlpCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- type GmxStakedGlpCallerRaw
- type GmxStakedGlpCallerSession
- func (_GmxStakedGlp *GmxStakedGlpCallerSession) Allowance(_owner common.Address, _spender common.Address) (*big.Int, error)
- func (_GmxStakedGlp *GmxStakedGlpCallerSession) Allowances(arg0 common.Address, arg1 common.Address) (*big.Int, error)
- func (_GmxStakedGlp *GmxStakedGlpCallerSession) BalanceOf(_account common.Address) (*big.Int, error)
- func (_GmxStakedGlp *GmxStakedGlpCallerSession) Decimals() (uint8, error)
- func (_GmxStakedGlp *GmxStakedGlpCallerSession) FeeGlpTracker() (common.Address, error)
- func (_GmxStakedGlp *GmxStakedGlpCallerSession) Glp() (common.Address, error)
- func (_GmxStakedGlp *GmxStakedGlpCallerSession) GlpManager() (common.Address, error)
- func (_GmxStakedGlp *GmxStakedGlpCallerSession) Name() (string, error)
- func (_GmxStakedGlp *GmxStakedGlpCallerSession) StakedGlpTracker() (common.Address, error)
- func (_GmxStakedGlp *GmxStakedGlpCallerSession) Symbol() (string, error)
- func (_GmxStakedGlp *GmxStakedGlpCallerSession) TotalSupply() (*big.Int, error)
- type GmxStakedGlpFilterer
- func (_GmxStakedGlp *GmxStakedGlpFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*GmxStakedGlpApprovalIterator, error)
- func (_GmxStakedGlp *GmxStakedGlpFilterer) ParseApproval(log types.Log) (*GmxStakedGlpApproval, error)
- func (_GmxStakedGlp *GmxStakedGlpFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *GmxStakedGlpApproval, ...) (event.Subscription, error)
- type GmxStakedGlpRaw
- func (_GmxStakedGlp *GmxStakedGlpRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_GmxStakedGlp *GmxStakedGlpRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_GmxStakedGlp *GmxStakedGlpRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type GmxStakedGlpSession
- func (_GmxStakedGlp *GmxStakedGlpSession) Allowance(_owner common.Address, _spender common.Address) (*big.Int, error)
- func (_GmxStakedGlp *GmxStakedGlpSession) Allowances(arg0 common.Address, arg1 common.Address) (*big.Int, error)
- func (_GmxStakedGlp *GmxStakedGlpSession) Approve(_spender common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_GmxStakedGlp *GmxStakedGlpSession) BalanceOf(_account common.Address) (*big.Int, error)
- func (_GmxStakedGlp *GmxStakedGlpSession) Decimals() (uint8, error)
- func (_GmxStakedGlp *GmxStakedGlpSession) FeeGlpTracker() (common.Address, error)
- func (_GmxStakedGlp *GmxStakedGlpSession) Glp() (common.Address, error)
- func (_GmxStakedGlp *GmxStakedGlpSession) GlpManager() (common.Address, error)
- func (_GmxStakedGlp *GmxStakedGlpSession) Name() (string, error)
- func (_GmxStakedGlp *GmxStakedGlpSession) StakedGlpTracker() (common.Address, error)
- func (_GmxStakedGlp *GmxStakedGlpSession) Symbol() (string, error)
- func (_GmxStakedGlp *GmxStakedGlpSession) TotalSupply() (*big.Int, error)
- func (_GmxStakedGlp *GmxStakedGlpSession) Transfer(_recipient common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_GmxStakedGlp *GmxStakedGlpSession) TransferFrom(_sender common.Address, _recipient common.Address, _amount *big.Int) (*types.Transaction, error)
- type GmxStakedGlpTransactor
- func (_GmxStakedGlp *GmxStakedGlpTransactor) Approve(opts *bind.TransactOpts, _spender common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_GmxStakedGlp *GmxStakedGlpTransactor) Transfer(opts *bind.TransactOpts, _recipient common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_GmxStakedGlp *GmxStakedGlpTransactor) TransferFrom(opts *bind.TransactOpts, _sender common.Address, _recipient common.Address, ...) (*types.Transaction, error)
- type GmxStakedGlpTransactorRaw
- type GmxStakedGlpTransactorSession
- func (_GmxStakedGlp *GmxStakedGlpTransactorSession) Approve(_spender common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_GmxStakedGlp *GmxStakedGlpTransactorSession) Transfer(_recipient common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_GmxStakedGlp *GmxStakedGlpTransactorSession) TransferFrom(_sender common.Address, _recipient common.Address, _amount *big.Int) (*types.Transaction, error)
- type GmxVester
- type GmxVesterApproval
- type GmxVesterApprovalIterator
- type GmxVesterCaller
- func (_GmxVester *GmxVesterCaller) Allowance(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (*big.Int, error)
- func (_GmxVester *GmxVesterCaller) BalanceOf(opts *bind.CallOpts, _account common.Address) (*big.Int, error)
- func (_GmxVester *GmxVesterCaller) Balances(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
- func (_GmxVester *GmxVesterCaller) BonusRewards(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
- func (_GmxVester *GmxVesterCaller) Claimable(opts *bind.CallOpts, _account common.Address) (*big.Int, error)
- func (_GmxVester *GmxVesterCaller) ClaimableToken(opts *bind.CallOpts) (common.Address, error)
- func (_GmxVester *GmxVesterCaller) ClaimedAmounts(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
- func (_GmxVester *GmxVesterCaller) CumulativeClaimAmounts(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
- func (_GmxVester *GmxVesterCaller) CumulativeRewardDeductions(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
- func (_GmxVester *GmxVesterCaller) Decimals(opts *bind.CallOpts) (uint8, error)
- func (_GmxVester *GmxVesterCaller) EsToken(opts *bind.CallOpts) (common.Address, error)
- func (_GmxVester *GmxVesterCaller) GetCombinedAverageStakedAmount(opts *bind.CallOpts, _account common.Address) (*big.Int, error)
- func (_GmxVester *GmxVesterCaller) GetMaxVestableAmount(opts *bind.CallOpts, _account common.Address) (*big.Int, error)
- func (_GmxVester *GmxVesterCaller) GetPairAmount(opts *bind.CallOpts, _account common.Address, _esAmount *big.Int) (*big.Int, error)
- func (_GmxVester *GmxVesterCaller) GetTotalVested(opts *bind.CallOpts, _account common.Address) (*big.Int, error)
- func (_GmxVester *GmxVesterCaller) GetVestedAmount(opts *bind.CallOpts, _account common.Address) (*big.Int, error)
- func (_GmxVester *GmxVesterCaller) Gov(opts *bind.CallOpts) (common.Address, error)
- func (_GmxVester *GmxVesterCaller) HasMaxVestableAmount(opts *bind.CallOpts) (bool, error)
- func (_GmxVester *GmxVesterCaller) HasPairToken(opts *bind.CallOpts) (bool, error)
- func (_GmxVester *GmxVesterCaller) HasRewardTracker(opts *bind.CallOpts) (bool, error)
- func (_GmxVester *GmxVesterCaller) IsHandler(opts *bind.CallOpts, arg0 common.Address) (bool, error)
- func (_GmxVester *GmxVesterCaller) LastVestingTimes(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
- func (_GmxVester *GmxVesterCaller) Name(opts *bind.CallOpts) (string, error)
- func (_GmxVester *GmxVesterCaller) PairAmounts(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
- func (_GmxVester *GmxVesterCaller) PairSupply(opts *bind.CallOpts) (*big.Int, error)
- func (_GmxVester *GmxVesterCaller) PairToken(opts *bind.CallOpts) (common.Address, error)
- func (_GmxVester *GmxVesterCaller) RewardTracker(opts *bind.CallOpts) (common.Address, error)
- func (_GmxVester *GmxVesterCaller) Symbol(opts *bind.CallOpts) (string, error)
- func (_GmxVester *GmxVesterCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- func (_GmxVester *GmxVesterCaller) TransferredAverageStakedAmounts(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
- func (_GmxVester *GmxVesterCaller) TransferredCumulativeRewards(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
- func (_GmxVester *GmxVesterCaller) VestingDuration(opts *bind.CallOpts) (*big.Int, error)
- type GmxVesterCallerRaw
- type GmxVesterCallerSession
- func (_GmxVester *GmxVesterCallerSession) Allowance(arg0 common.Address, arg1 common.Address) (*big.Int, error)
- func (_GmxVester *GmxVesterCallerSession) BalanceOf(_account common.Address) (*big.Int, error)
- func (_GmxVester *GmxVesterCallerSession) Balances(arg0 common.Address) (*big.Int, error)
- func (_GmxVester *GmxVesterCallerSession) BonusRewards(arg0 common.Address) (*big.Int, error)
- func (_GmxVester *GmxVesterCallerSession) Claimable(_account common.Address) (*big.Int, error)
- func (_GmxVester *GmxVesterCallerSession) ClaimableToken() (common.Address, error)
- func (_GmxVester *GmxVesterCallerSession) ClaimedAmounts(arg0 common.Address) (*big.Int, error)
- func (_GmxVester *GmxVesterCallerSession) CumulativeClaimAmounts(arg0 common.Address) (*big.Int, error)
- func (_GmxVester *GmxVesterCallerSession) CumulativeRewardDeductions(arg0 common.Address) (*big.Int, error)
- func (_GmxVester *GmxVesterCallerSession) Decimals() (uint8, error)
- func (_GmxVester *GmxVesterCallerSession) EsToken() (common.Address, error)
- func (_GmxVester *GmxVesterCallerSession) GetCombinedAverageStakedAmount(_account common.Address) (*big.Int, error)
- func (_GmxVester *GmxVesterCallerSession) GetMaxVestableAmount(_account common.Address) (*big.Int, error)
- func (_GmxVester *GmxVesterCallerSession) GetPairAmount(_account common.Address, _esAmount *big.Int) (*big.Int, error)
- func (_GmxVester *GmxVesterCallerSession) GetTotalVested(_account common.Address) (*big.Int, error)
- func (_GmxVester *GmxVesterCallerSession) GetVestedAmount(_account common.Address) (*big.Int, error)
- func (_GmxVester *GmxVesterCallerSession) Gov() (common.Address, error)
- func (_GmxVester *GmxVesterCallerSession) HasMaxVestableAmount() (bool, error)
- func (_GmxVester *GmxVesterCallerSession) HasPairToken() (bool, error)
- func (_GmxVester *GmxVesterCallerSession) HasRewardTracker() (bool, error)
- func (_GmxVester *GmxVesterCallerSession) IsHandler(arg0 common.Address) (bool, error)
- func (_GmxVester *GmxVesterCallerSession) LastVestingTimes(arg0 common.Address) (*big.Int, error)
- func (_GmxVester *GmxVesterCallerSession) Name() (string, error)
- func (_GmxVester *GmxVesterCallerSession) PairAmounts(arg0 common.Address) (*big.Int, error)
- func (_GmxVester *GmxVesterCallerSession) PairSupply() (*big.Int, error)
- func (_GmxVester *GmxVesterCallerSession) PairToken() (common.Address, error)
- func (_GmxVester *GmxVesterCallerSession) RewardTracker() (common.Address, error)
- func (_GmxVester *GmxVesterCallerSession) Symbol() (string, error)
- func (_GmxVester *GmxVesterCallerSession) TotalSupply() (*big.Int, error)
- func (_GmxVester *GmxVesterCallerSession) TransferredAverageStakedAmounts(arg0 common.Address) (*big.Int, error)
- func (_GmxVester *GmxVesterCallerSession) TransferredCumulativeRewards(arg0 common.Address) (*big.Int, error)
- func (_GmxVester *GmxVesterCallerSession) VestingDuration() (*big.Int, error)
- type GmxVesterClaim
- type GmxVesterClaimIterator
- type GmxVesterDeposit
- type GmxVesterDepositIterator
- type GmxVesterFilterer
- func (_GmxVester *GmxVesterFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*GmxVesterApprovalIterator, error)
- func (_GmxVester *GmxVesterFilterer) FilterClaim(opts *bind.FilterOpts) (*GmxVesterClaimIterator, error)
- func (_GmxVester *GmxVesterFilterer) FilterDeposit(opts *bind.FilterOpts) (*GmxVesterDepositIterator, error)
- func (_GmxVester *GmxVesterFilterer) FilterPairTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*GmxVesterPairTransferIterator, error)
- func (_GmxVester *GmxVesterFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*GmxVesterTransferIterator, error)
- func (_GmxVester *GmxVesterFilterer) FilterWithdraw(opts *bind.FilterOpts) (*GmxVesterWithdrawIterator, error)
- func (_GmxVester *GmxVesterFilterer) ParseApproval(log types.Log) (*GmxVesterApproval, error)
- func (_GmxVester *GmxVesterFilterer) ParseClaim(log types.Log) (*GmxVesterClaim, error)
- func (_GmxVester *GmxVesterFilterer) ParseDeposit(log types.Log) (*GmxVesterDeposit, error)
- func (_GmxVester *GmxVesterFilterer) ParsePairTransfer(log types.Log) (*GmxVesterPairTransfer, error)
- func (_GmxVester *GmxVesterFilterer) ParseTransfer(log types.Log) (*GmxVesterTransfer, error)
- func (_GmxVester *GmxVesterFilterer) ParseWithdraw(log types.Log) (*GmxVesterWithdraw, error)
- func (_GmxVester *GmxVesterFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *GmxVesterApproval, owner []common.Address, ...) (event.Subscription, error)
- func (_GmxVester *GmxVesterFilterer) WatchClaim(opts *bind.WatchOpts, sink chan<- *GmxVesterClaim) (event.Subscription, error)
- func (_GmxVester *GmxVesterFilterer) WatchDeposit(opts *bind.WatchOpts, sink chan<- *GmxVesterDeposit) (event.Subscription, error)
- func (_GmxVester *GmxVesterFilterer) WatchPairTransfer(opts *bind.WatchOpts, sink chan<- *GmxVesterPairTransfer, ...) (event.Subscription, error)
- func (_GmxVester *GmxVesterFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *GmxVesterTransfer, from []common.Address, ...) (event.Subscription, error)
- func (_GmxVester *GmxVesterFilterer) WatchWithdraw(opts *bind.WatchOpts, sink chan<- *GmxVesterWithdraw) (event.Subscription, error)
- type GmxVesterPairTransfer
- type GmxVesterPairTransferIterator
- type GmxVesterRaw
- func (_GmxVester *GmxVesterRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_GmxVester *GmxVesterRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_GmxVester *GmxVesterRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type GmxVesterSession
- func (_GmxVester *GmxVesterSession) Allowance(arg0 common.Address, arg1 common.Address) (*big.Int, error)
- func (_GmxVester *GmxVesterSession) Approve(arg0 common.Address, arg1 *big.Int) (*types.Transaction, error)
- func (_GmxVester *GmxVesterSession) BalanceOf(_account common.Address) (*big.Int, error)
- func (_GmxVester *GmxVesterSession) Balances(arg0 common.Address) (*big.Int, error)
- func (_GmxVester *GmxVesterSession) BonusRewards(arg0 common.Address) (*big.Int, error)
- func (_GmxVester *GmxVesterSession) Claim() (*types.Transaction, error)
- func (_GmxVester *GmxVesterSession) ClaimForAccount(_account common.Address, _receiver common.Address) (*types.Transaction, error)
- func (_GmxVester *GmxVesterSession) Claimable(_account common.Address) (*big.Int, error)
- func (_GmxVester *GmxVesterSession) ClaimableToken() (common.Address, error)
- func (_GmxVester *GmxVesterSession) ClaimedAmounts(arg0 common.Address) (*big.Int, error)
- func (_GmxVester *GmxVesterSession) CumulativeClaimAmounts(arg0 common.Address) (*big.Int, error)
- func (_GmxVester *GmxVesterSession) CumulativeRewardDeductions(arg0 common.Address) (*big.Int, error)
- func (_GmxVester *GmxVesterSession) Decimals() (uint8, error)
- func (_GmxVester *GmxVesterSession) Deposit(_amount *big.Int) (*types.Transaction, error)
- func (_GmxVester *GmxVesterSession) DepositForAccount(_account common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_GmxVester *GmxVesterSession) EsToken() (common.Address, error)
- func (_GmxVester *GmxVesterSession) GetCombinedAverageStakedAmount(_account common.Address) (*big.Int, error)
- func (_GmxVester *GmxVesterSession) GetMaxVestableAmount(_account common.Address) (*big.Int, error)
- func (_GmxVester *GmxVesterSession) GetPairAmount(_account common.Address, _esAmount *big.Int) (*big.Int, error)
- func (_GmxVester *GmxVesterSession) GetTotalVested(_account common.Address) (*big.Int, error)
- func (_GmxVester *GmxVesterSession) GetVestedAmount(_account common.Address) (*big.Int, error)
- func (_GmxVester *GmxVesterSession) Gov() (common.Address, error)
- func (_GmxVester *GmxVesterSession) HasMaxVestableAmount() (bool, error)
- func (_GmxVester *GmxVesterSession) HasPairToken() (bool, error)
- func (_GmxVester *GmxVesterSession) HasRewardTracker() (bool, error)
- func (_GmxVester *GmxVesterSession) IsHandler(arg0 common.Address) (bool, error)
- func (_GmxVester *GmxVesterSession) LastVestingTimes(arg0 common.Address) (*big.Int, error)
- func (_GmxVester *GmxVesterSession) Name() (string, error)
- func (_GmxVester *GmxVesterSession) PairAmounts(arg0 common.Address) (*big.Int, error)
- func (_GmxVester *GmxVesterSession) PairSupply() (*big.Int, error)
- func (_GmxVester *GmxVesterSession) PairToken() (common.Address, error)
- func (_GmxVester *GmxVesterSession) RewardTracker() (common.Address, error)
- func (_GmxVester *GmxVesterSession) SetBonusRewards(_account common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_GmxVester *GmxVesterSession) SetCumulativeRewardDeductions(_account common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_GmxVester *GmxVesterSession) SetGov(_gov common.Address) (*types.Transaction, error)
- func (_GmxVester *GmxVesterSession) SetHandler(_handler common.Address, _isActive bool) (*types.Transaction, error)
- func (_GmxVester *GmxVesterSession) SetHasMaxVestableAmount(_hasMaxVestableAmount bool) (*types.Transaction, error)
- func (_GmxVester *GmxVesterSession) SetTransferredAverageStakedAmounts(_account common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_GmxVester *GmxVesterSession) SetTransferredCumulativeRewards(_account common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_GmxVester *GmxVesterSession) Symbol() (string, error)
- func (_GmxVester *GmxVesterSession) TotalSupply() (*big.Int, error)
- func (_GmxVester *GmxVesterSession) Transfer(arg0 common.Address, arg1 *big.Int) (*types.Transaction, error)
- func (_GmxVester *GmxVesterSession) TransferFrom(arg0 common.Address, arg1 common.Address, arg2 *big.Int) (*types.Transaction, error)
- func (_GmxVester *GmxVesterSession) TransferStakeValues(_sender common.Address, _receiver common.Address) (*types.Transaction, error)
- func (_GmxVester *GmxVesterSession) TransferredAverageStakedAmounts(arg0 common.Address) (*big.Int, error)
- func (_GmxVester *GmxVesterSession) TransferredCumulativeRewards(arg0 common.Address) (*big.Int, error)
- func (_GmxVester *GmxVesterSession) VestingDuration() (*big.Int, error)
- func (_GmxVester *GmxVesterSession) Withdraw() (*types.Transaction, error)
- func (_GmxVester *GmxVesterSession) WithdrawToken(_token common.Address, _account common.Address, _amount *big.Int) (*types.Transaction, error)
- type GmxVesterTransactor
- func (_GmxVester *GmxVesterTransactor) Approve(opts *bind.TransactOpts, arg0 common.Address, arg1 *big.Int) (*types.Transaction, error)
- func (_GmxVester *GmxVesterTransactor) Claim(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_GmxVester *GmxVesterTransactor) ClaimForAccount(opts *bind.TransactOpts, _account common.Address, _receiver common.Address) (*types.Transaction, error)
- func (_GmxVester *GmxVesterTransactor) Deposit(opts *bind.TransactOpts, _amount *big.Int) (*types.Transaction, error)
- func (_GmxVester *GmxVesterTransactor) DepositForAccount(opts *bind.TransactOpts, _account common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_GmxVester *GmxVesterTransactor) SetBonusRewards(opts *bind.TransactOpts, _account common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_GmxVester *GmxVesterTransactor) SetCumulativeRewardDeductions(opts *bind.TransactOpts, _account common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_GmxVester *GmxVesterTransactor) SetGov(opts *bind.TransactOpts, _gov common.Address) (*types.Transaction, error)
- func (_GmxVester *GmxVesterTransactor) SetHandler(opts *bind.TransactOpts, _handler common.Address, _isActive bool) (*types.Transaction, error)
- func (_GmxVester *GmxVesterTransactor) SetHasMaxVestableAmount(opts *bind.TransactOpts, _hasMaxVestableAmount bool) (*types.Transaction, error)
- func (_GmxVester *GmxVesterTransactor) SetTransferredAverageStakedAmounts(opts *bind.TransactOpts, _account common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_GmxVester *GmxVesterTransactor) SetTransferredCumulativeRewards(opts *bind.TransactOpts, _account common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_GmxVester *GmxVesterTransactor) Transfer(opts *bind.TransactOpts, arg0 common.Address, arg1 *big.Int) (*types.Transaction, error)
- func (_GmxVester *GmxVesterTransactor) TransferFrom(opts *bind.TransactOpts, arg0 common.Address, arg1 common.Address, ...) (*types.Transaction, error)
- func (_GmxVester *GmxVesterTransactor) TransferStakeValues(opts *bind.TransactOpts, _sender common.Address, _receiver common.Address) (*types.Transaction, error)
- func (_GmxVester *GmxVesterTransactor) Withdraw(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_GmxVester *GmxVesterTransactor) WithdrawToken(opts *bind.TransactOpts, _token common.Address, _account common.Address, ...) (*types.Transaction, error)
- type GmxVesterTransactorRaw
- type GmxVesterTransactorSession
- func (_GmxVester *GmxVesterTransactorSession) Approve(arg0 common.Address, arg1 *big.Int) (*types.Transaction, error)
- func (_GmxVester *GmxVesterTransactorSession) Claim() (*types.Transaction, error)
- func (_GmxVester *GmxVesterTransactorSession) ClaimForAccount(_account common.Address, _receiver common.Address) (*types.Transaction, error)
- func (_GmxVester *GmxVesterTransactorSession) Deposit(_amount *big.Int) (*types.Transaction, error)
- func (_GmxVester *GmxVesterTransactorSession) DepositForAccount(_account common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_GmxVester *GmxVesterTransactorSession) SetBonusRewards(_account common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_GmxVester *GmxVesterTransactorSession) SetCumulativeRewardDeductions(_account common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_GmxVester *GmxVesterTransactorSession) SetGov(_gov common.Address) (*types.Transaction, error)
- func (_GmxVester *GmxVesterTransactorSession) SetHandler(_handler common.Address, _isActive bool) (*types.Transaction, error)
- func (_GmxVester *GmxVesterTransactorSession) SetHasMaxVestableAmount(_hasMaxVestableAmount bool) (*types.Transaction, error)
- func (_GmxVester *GmxVesterTransactorSession) SetTransferredAverageStakedAmounts(_account common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_GmxVester *GmxVesterTransactorSession) SetTransferredCumulativeRewards(_account common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_GmxVester *GmxVesterTransactorSession) Transfer(arg0 common.Address, arg1 *big.Int) (*types.Transaction, error)
- func (_GmxVester *GmxVesterTransactorSession) TransferFrom(arg0 common.Address, arg1 common.Address, arg2 *big.Int) (*types.Transaction, error)
- func (_GmxVester *GmxVesterTransactorSession) TransferStakeValues(_sender common.Address, _receiver common.Address) (*types.Transaction, error)
- func (_GmxVester *GmxVesterTransactorSession) Withdraw() (*types.Transaction, error)
- func (_GmxVester *GmxVesterTransactorSession) WithdrawToken(_token common.Address, _account common.Address, _amount *big.Int) (*types.Transaction, error)
- type GmxVesterTransfer
- type GmxVesterTransferIterator
- type GmxVesterWithdraw
- type GmxVesterWithdrawIterator
Constants ¶
This section is empty.
Variables ¶
var GmxRewardTrackerABI = GmxRewardTrackerMetaData.ABI
GmxRewardTrackerABI is the input ABI used to generate the binding from. Deprecated: Use GmxRewardTrackerMetaData.ABI instead.
var GmxRewardTrackerMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"_symbol\",\"type\":\"string\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Claim\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"BASIS_POINTS_DIVISOR\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"PRECISION\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"allowances\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"averageStakedAmounts\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_account\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"balances\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_receiver\",\"type\":\"address\"}],\"name\":\"claim\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_account\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_receiver\",\"type\":\"address\"}],\"name\":\"claimForAccount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_account\",\"type\":\"address\"}],\"name\":\"claimable\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"claimableReward\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"cumulativeRewardPerToken\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"cumulativeRewards\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"depositBalances\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"distributor\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"gov\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"inPrivateClaimingMode\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"inPrivateStakingMode\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"inPrivateTransferMode\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"_depositTokens\",\"type\":\"address[]\"},{\"internalType\":\"address\",\"name\":\"_distributor\",\"type\":\"address\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"isDepositToken\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"isHandler\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"isInitialized\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"previousCumulatedRewardPerToken\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"rewardToken\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_depositToken\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"_isDepositToken\",\"type\":\"bool\"}],\"name\":\"setDepositToken\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_gov\",\"type\":\"address\"}],\"name\":\"setGov\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_handler\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"_isActive\",\"type\":\"bool\"}],\"name\":\"setHandler\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"_inPrivateClaimingMode\",\"type\":\"bool\"}],\"name\":\"setInPrivateClaimingMode\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"_inPrivateStakingMode\",\"type\":\"bool\"}],\"name\":\"setInPrivateStakingMode\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"_inPrivateTransferMode\",\"type\":\"bool\"}],\"name\":\"setInPrivateTransferMode\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_depositToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"stake\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_fundingAccount\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_account\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_depositToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"stakeForAccount\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"stakedAmounts\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"tokensPerInterval\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_depositToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"unstake\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_account\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_depositToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_receiver\",\"type\":\"address\"}],\"name\":\"unstakeForAccount\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"updateRewards\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"withdrawToken\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}
GmxRewardTrackerMetaData contains all meta data concerning the GmxRewardTracker contract.
var GmxStakedGlpABI = GmxStakedGlpMetaData.ABI
GmxStakedGlpABI is the input ABI used to generate the binding from. Deprecated: Use GmxStakedGlpMetaData.ABI instead.
var GmxStakedGlpMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_glp\",\"type\":\"address\"},{\"internalType\":\"contractIGlpManager\",\"name\":\"_glpManager\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_stakedGlpTracker\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_feeGlpTracker\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"allowances\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_account\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"feeGlpTracker\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"glp\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"glpManager\",\"outputs\":[{\"internalType\":\"contractIGlpManager\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"stakedGlpTracker\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}
GmxStakedGlpMetaData contains all meta data concerning the GmxStakedGlp contract.
var GmxVesterABI = GmxVesterMetaData.ABI
GmxVesterABI is the input ABI used to generate the binding from. Deprecated: Use GmxVesterMetaData.ABI instead.
var GmxVesterMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"_symbol\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"_vestingDuration\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_esToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_pairToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_claimableToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_rewardTracker\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Claim\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Deposit\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"PairTransfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"claimedAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"balance\",\"type\":\"uint256\"}],\"name\":\"Withdraw\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_account\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"balances\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"bonusRewards\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"claim\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_account\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_receiver\",\"type\":\"address\"}],\"name\":\"claimForAccount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_account\",\"type\":\"address\"}],\"name\":\"claimable\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"claimableToken\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"claimedAmounts\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"cumulativeClaimAmounts\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"cumulativeRewardDeductions\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"deposit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"depositForAccount\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"esToken\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_account\",\"type\":\"address\"}],\"name\":\"getCombinedAverageStakedAmount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_account\",\"type\":\"address\"}],\"name\":\"getMaxVestableAmount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_esAmount\",\"type\":\"uint256\"}],\"name\":\"getPairAmount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_account\",\"type\":\"address\"}],\"name\":\"getTotalVested\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_account\",\"type\":\"address\"}],\"name\":\"getVestedAmount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"gov\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"hasMaxVestableAmount\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"hasPairToken\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"hasRewardTracker\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"isHandler\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"lastVestingTimes\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"pairAmounts\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pairSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pairToken\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"rewardTracker\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"setBonusRewards\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"setCumulativeRewardDeductions\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_gov\",\"type\":\"address\"}],\"name\":\"setGov\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_handler\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"_isActive\",\"type\":\"bool\"}],\"name\":\"setHandler\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"_hasMaxVestableAmount\",\"type\":\"bool\"}],\"name\":\"setHasMaxVestableAmount\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"setTransferredAverageStakedAmounts\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"setTransferredCumulativeRewards\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_receiver\",\"type\":\"address\"}],\"name\":\"transferStakeValues\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"transferredAverageStakedAmounts\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"transferredCumulativeRewards\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"vestingDuration\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"withdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"withdrawToken\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}
GmxVesterMetaData contains all meta data concerning the GmxVester contract.
Functions ¶
func EsTokenAddress ¶
func GMXLpAddress ¶
func GMXTokenAddress ¶
func RewardTrackerGlpAddress ¶
func StakedGlpAddress ¶
func VesterGMXAddress ¶
func VesterGlpAddress ¶
Types ¶
type GmxRewardTracker ¶
type GmxRewardTracker struct { GmxRewardTrackerCaller // Read-only binding to the contract GmxRewardTrackerTransactor // Write-only binding to the contract GmxRewardTrackerFilterer // Log filterer for contract events }
GmxRewardTracker is an auto generated Go binding around an Ethereum contract.
func NewGmxRewardTracker ¶
func NewGmxRewardTracker(address common.Address, backend bind.ContractBackend) (*GmxRewardTracker, error)
NewGmxRewardTracker creates a new instance of GmxRewardTracker, bound to a specific deployed contract.
type GmxRewardTrackerApproval ¶
type GmxRewardTrackerApproval struct { Owner common.Address Spender common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
GmxRewardTrackerApproval represents a Approval event raised by the GmxRewardTracker contract.
type GmxRewardTrackerApprovalIterator ¶
type GmxRewardTrackerApprovalIterator struct { Event *GmxRewardTrackerApproval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
GmxRewardTrackerApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the GmxRewardTracker contract.
func (*GmxRewardTrackerApprovalIterator) Close ¶
func (it *GmxRewardTrackerApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*GmxRewardTrackerApprovalIterator) Error ¶
func (it *GmxRewardTrackerApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*GmxRewardTrackerApprovalIterator) Next ¶
func (it *GmxRewardTrackerApprovalIterator) 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 GmxRewardTrackerCaller ¶
type GmxRewardTrackerCaller struct {
// contains filtered or unexported fields
}
GmxRewardTrackerCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewGmxRewardTrackerCaller ¶
func NewGmxRewardTrackerCaller(address common.Address, caller bind.ContractCaller) (*GmxRewardTrackerCaller, error)
NewGmxRewardTrackerCaller creates a new read-only instance of GmxRewardTracker, bound to a specific deployed contract.
func (*GmxRewardTrackerCaller) Allowance ¶
func (_GmxRewardTracker *GmxRewardTrackerCaller) Allowance(opts *bind.CallOpts, _owner common.Address, _spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address _owner, address _spender) view returns(uint256)
func (*GmxRewardTrackerCaller) Allowances ¶
func (_GmxRewardTracker *GmxRewardTrackerCaller) Allowances(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (*big.Int, error)
Allowances is a free data retrieval call binding the contract method 0x55b6ed5c.
Solidity: function allowances(address , address ) view returns(uint256)
func (*GmxRewardTrackerCaller) AverageStakedAmounts ¶
func (_GmxRewardTracker *GmxRewardTrackerCaller) AverageStakedAmounts(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
AverageStakedAmounts is a free data retrieval call binding the contract method 0xa3180217.
Solidity: function averageStakedAmounts(address ) view returns(uint256)
func (*GmxRewardTrackerCaller) BASISPOINTSDIVISOR ¶
func (_GmxRewardTracker *GmxRewardTrackerCaller) BASISPOINTSDIVISOR(opts *bind.CallOpts) (*big.Int, error)
BASISPOINTSDIVISOR is a free data retrieval call binding the contract method 0x126082cf.
Solidity: function BASIS_POINTS_DIVISOR() view returns(uint256)
func (*GmxRewardTrackerCaller) BalanceOf ¶
func (_GmxRewardTracker *GmxRewardTrackerCaller) 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 (*GmxRewardTrackerCaller) Balances ¶
func (_GmxRewardTracker *GmxRewardTrackerCaller) Balances(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
Balances is a free data retrieval call binding the contract method 0x27e235e3.
Solidity: function balances(address ) view returns(uint256)
func (*GmxRewardTrackerCaller) Claimable ¶
func (_GmxRewardTracker *GmxRewardTrackerCaller) 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 (*GmxRewardTrackerCaller) ClaimableReward ¶
func (_GmxRewardTracker *GmxRewardTrackerCaller) ClaimableReward(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
ClaimableReward is a free data retrieval call binding the contract method 0xe9503425.
Solidity: function claimableReward(address ) view returns(uint256)
func (*GmxRewardTrackerCaller) CumulativeRewardPerToken ¶
func (_GmxRewardTracker *GmxRewardTrackerCaller) CumulativeRewardPerToken(opts *bind.CallOpts) (*big.Int, error)
CumulativeRewardPerToken is a free data retrieval call binding the contract method 0xf5fc5076.
Solidity: function cumulativeRewardPerToken() view returns(uint256)
func (*GmxRewardTrackerCaller) CumulativeRewards ¶
func (_GmxRewardTracker *GmxRewardTrackerCaller) CumulativeRewards(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
CumulativeRewards is a free data retrieval call binding the contract method 0x3792def3.
Solidity: function cumulativeRewards(address ) view returns(uint256)
func (*GmxRewardTrackerCaller) Decimals ¶
func (_GmxRewardTracker *GmxRewardTrackerCaller) 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 (*GmxRewardTrackerCaller) DepositBalances ¶
func (_GmxRewardTracker *GmxRewardTrackerCaller) DepositBalances(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (*big.Int, error)
DepositBalances is a free data retrieval call binding the contract method 0xf5d9d63e.
Solidity: function depositBalances(address , address ) view returns(uint256)
func (*GmxRewardTrackerCaller) Distributor ¶
func (_GmxRewardTracker *GmxRewardTrackerCaller) Distributor(opts *bind.CallOpts) (common.Address, error)
Distributor is a free data retrieval call binding the contract method 0xbfe10928.
Solidity: function distributor() view returns(address)
func (*GmxRewardTrackerCaller) Gov ¶
Gov is a free data retrieval call binding the contract method 0x12d43a51.
Solidity: function gov() view returns(address)
func (*GmxRewardTrackerCaller) InPrivateClaimingMode ¶
func (_GmxRewardTracker *GmxRewardTrackerCaller) InPrivateClaimingMode(opts *bind.CallOpts) (bool, error)
InPrivateClaimingMode is a free data retrieval call binding the contract method 0xf76033d3.
Solidity: function inPrivateClaimingMode() view returns(bool)
func (*GmxRewardTrackerCaller) InPrivateStakingMode ¶
func (_GmxRewardTracker *GmxRewardTrackerCaller) InPrivateStakingMode(opts *bind.CallOpts) (bool, error)
InPrivateStakingMode is a free data retrieval call binding the contract method 0xc5fa2730.
Solidity: function inPrivateStakingMode() view returns(bool)
func (*GmxRewardTrackerCaller) InPrivateTransferMode ¶
func (_GmxRewardTracker *GmxRewardTrackerCaller) InPrivateTransferMode(opts *bind.CallOpts) (bool, error)
InPrivateTransferMode is a free data retrieval call binding the contract method 0xdfbaefb1.
Solidity: function inPrivateTransferMode() view returns(bool)
func (*GmxRewardTrackerCaller) IsDepositToken ¶
func (_GmxRewardTracker *GmxRewardTrackerCaller) IsDepositToken(opts *bind.CallOpts, arg0 common.Address) (bool, error)
IsDepositToken is a free data retrieval call binding the contract method 0xb89e45b3.
Solidity: function isDepositToken(address ) view returns(bool)
func (*GmxRewardTrackerCaller) IsHandler ¶
func (_GmxRewardTracker *GmxRewardTrackerCaller) IsHandler(opts *bind.CallOpts, arg0 common.Address) (bool, error)
IsHandler is a free data retrieval call binding the contract method 0x46ea87af.
Solidity: function isHandler(address ) view returns(bool)
func (*GmxRewardTrackerCaller) IsInitialized ¶
func (_GmxRewardTracker *GmxRewardTrackerCaller) IsInitialized(opts *bind.CallOpts) (bool, error)
IsInitialized is a free data retrieval call binding the contract method 0x392e53cd.
Solidity: function isInitialized() view returns(bool)
func (*GmxRewardTrackerCaller) Name ¶
func (_GmxRewardTracker *GmxRewardTrackerCaller) 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 (*GmxRewardTrackerCaller) PRECISION ¶
PRECISION is a free data retrieval call binding the contract method 0xaaf5eb68.
Solidity: function PRECISION() view returns(uint256)
func (*GmxRewardTrackerCaller) PreviousCumulatedRewardPerToken ¶
func (_GmxRewardTracker *GmxRewardTrackerCaller) PreviousCumulatedRewardPerToken(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
PreviousCumulatedRewardPerToken is a free data retrieval call binding the contract method 0x44a08411.
Solidity: function previousCumulatedRewardPerToken(address ) view returns(uint256)
func (*GmxRewardTrackerCaller) RewardToken ¶
func (_GmxRewardTracker *GmxRewardTrackerCaller) RewardToken(opts *bind.CallOpts) (common.Address, error)
RewardToken is a free data retrieval call binding the contract method 0xf7c618c1.
Solidity: function rewardToken() view returns(address)
func (*GmxRewardTrackerCaller) StakedAmounts ¶
func (_GmxRewardTracker *GmxRewardTrackerCaller) StakedAmounts(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
StakedAmounts is a free data retrieval call binding the contract method 0x10c1c103.
Solidity: function stakedAmounts(address ) view returns(uint256)
func (*GmxRewardTrackerCaller) Symbol ¶
func (_GmxRewardTracker *GmxRewardTrackerCaller) 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 (*GmxRewardTrackerCaller) TokensPerInterval ¶
func (_GmxRewardTracker *GmxRewardTrackerCaller) TokensPerInterval(opts *bind.CallOpts) (*big.Int, error)
TokensPerInterval is a free data retrieval call binding the contract method 0xa8d93627.
Solidity: function tokensPerInterval() view returns(uint256)
func (*GmxRewardTrackerCaller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type GmxRewardTrackerCallerRaw ¶
type GmxRewardTrackerCallerRaw struct {
Contract *GmxRewardTrackerCaller // Generic read-only contract binding to access the raw methods on
}
GmxRewardTrackerCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*GmxRewardTrackerCallerRaw) Call ¶
func (_GmxRewardTracker *GmxRewardTrackerCallerRaw) 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 GmxRewardTrackerCallerSession ¶
type GmxRewardTrackerCallerSession struct { Contract *GmxRewardTrackerCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
GmxRewardTrackerCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*GmxRewardTrackerCallerSession) Allowance ¶
func (_GmxRewardTracker *GmxRewardTrackerCallerSession) Allowance(_owner common.Address, _spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address _owner, address _spender) view returns(uint256)
func (*GmxRewardTrackerCallerSession) Allowances ¶
func (_GmxRewardTracker *GmxRewardTrackerCallerSession) Allowances(arg0 common.Address, arg1 common.Address) (*big.Int, error)
Allowances is a free data retrieval call binding the contract method 0x55b6ed5c.
Solidity: function allowances(address , address ) view returns(uint256)
func (*GmxRewardTrackerCallerSession) AverageStakedAmounts ¶
func (_GmxRewardTracker *GmxRewardTrackerCallerSession) AverageStakedAmounts(arg0 common.Address) (*big.Int, error)
AverageStakedAmounts is a free data retrieval call binding the contract method 0xa3180217.
Solidity: function averageStakedAmounts(address ) view returns(uint256)
func (*GmxRewardTrackerCallerSession) BASISPOINTSDIVISOR ¶
func (_GmxRewardTracker *GmxRewardTrackerCallerSession) BASISPOINTSDIVISOR() (*big.Int, error)
BASISPOINTSDIVISOR is a free data retrieval call binding the contract method 0x126082cf.
Solidity: function BASIS_POINTS_DIVISOR() view returns(uint256)
func (*GmxRewardTrackerCallerSession) BalanceOf ¶
func (_GmxRewardTracker *GmxRewardTrackerCallerSession) BalanceOf(_account common.Address) (*big.Int, error)
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address _account) view returns(uint256)
func (*GmxRewardTrackerCallerSession) Balances ¶
func (_GmxRewardTracker *GmxRewardTrackerCallerSession) Balances(arg0 common.Address) (*big.Int, error)
Balances is a free data retrieval call binding the contract method 0x27e235e3.
Solidity: function balances(address ) view returns(uint256)
func (*GmxRewardTrackerCallerSession) Claimable ¶
func (_GmxRewardTracker *GmxRewardTrackerCallerSession) Claimable(_account common.Address) (*big.Int, error)
Claimable is a free data retrieval call binding the contract method 0x402914f5.
Solidity: function claimable(address _account) view returns(uint256)
func (*GmxRewardTrackerCallerSession) ClaimableReward ¶
func (_GmxRewardTracker *GmxRewardTrackerCallerSession) ClaimableReward(arg0 common.Address) (*big.Int, error)
ClaimableReward is a free data retrieval call binding the contract method 0xe9503425.
Solidity: function claimableReward(address ) view returns(uint256)
func (*GmxRewardTrackerCallerSession) CumulativeRewardPerToken ¶
func (_GmxRewardTracker *GmxRewardTrackerCallerSession) CumulativeRewardPerToken() (*big.Int, error)
CumulativeRewardPerToken is a free data retrieval call binding the contract method 0xf5fc5076.
Solidity: function cumulativeRewardPerToken() view returns(uint256)
func (*GmxRewardTrackerCallerSession) CumulativeRewards ¶
func (_GmxRewardTracker *GmxRewardTrackerCallerSession) CumulativeRewards(arg0 common.Address) (*big.Int, error)
CumulativeRewards is a free data retrieval call binding the contract method 0x3792def3.
Solidity: function cumulativeRewards(address ) view returns(uint256)
func (*GmxRewardTrackerCallerSession) Decimals ¶
func (_GmxRewardTracker *GmxRewardTrackerCallerSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*GmxRewardTrackerCallerSession) DepositBalances ¶
func (_GmxRewardTracker *GmxRewardTrackerCallerSession) DepositBalances(arg0 common.Address, arg1 common.Address) (*big.Int, error)
DepositBalances is a free data retrieval call binding the contract method 0xf5d9d63e.
Solidity: function depositBalances(address , address ) view returns(uint256)
func (*GmxRewardTrackerCallerSession) Distributor ¶
func (_GmxRewardTracker *GmxRewardTrackerCallerSession) Distributor() (common.Address, error)
Distributor is a free data retrieval call binding the contract method 0xbfe10928.
Solidity: function distributor() view returns(address)
func (*GmxRewardTrackerCallerSession) Gov ¶
func (_GmxRewardTracker *GmxRewardTrackerCallerSession) Gov() (common.Address, error)
Gov is a free data retrieval call binding the contract method 0x12d43a51.
Solidity: function gov() view returns(address)
func (*GmxRewardTrackerCallerSession) InPrivateClaimingMode ¶
func (_GmxRewardTracker *GmxRewardTrackerCallerSession) InPrivateClaimingMode() (bool, error)
InPrivateClaimingMode is a free data retrieval call binding the contract method 0xf76033d3.
Solidity: function inPrivateClaimingMode() view returns(bool)
func (*GmxRewardTrackerCallerSession) InPrivateStakingMode ¶
func (_GmxRewardTracker *GmxRewardTrackerCallerSession) InPrivateStakingMode() (bool, error)
InPrivateStakingMode is a free data retrieval call binding the contract method 0xc5fa2730.
Solidity: function inPrivateStakingMode() view returns(bool)
func (*GmxRewardTrackerCallerSession) InPrivateTransferMode ¶
func (_GmxRewardTracker *GmxRewardTrackerCallerSession) InPrivateTransferMode() (bool, error)
InPrivateTransferMode is a free data retrieval call binding the contract method 0xdfbaefb1.
Solidity: function inPrivateTransferMode() view returns(bool)
func (*GmxRewardTrackerCallerSession) IsDepositToken ¶
func (_GmxRewardTracker *GmxRewardTrackerCallerSession) IsDepositToken(arg0 common.Address) (bool, error)
IsDepositToken is a free data retrieval call binding the contract method 0xb89e45b3.
Solidity: function isDepositToken(address ) view returns(bool)
func (*GmxRewardTrackerCallerSession) IsHandler ¶
func (_GmxRewardTracker *GmxRewardTrackerCallerSession) 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 (*GmxRewardTrackerCallerSession) IsInitialized ¶
func (_GmxRewardTracker *GmxRewardTrackerCallerSession) IsInitialized() (bool, error)
IsInitialized is a free data retrieval call binding the contract method 0x392e53cd.
Solidity: function isInitialized() view returns(bool)
func (*GmxRewardTrackerCallerSession) Name ¶
func (_GmxRewardTracker *GmxRewardTrackerCallerSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*GmxRewardTrackerCallerSession) PRECISION ¶
func (_GmxRewardTracker *GmxRewardTrackerCallerSession) PRECISION() (*big.Int, error)
PRECISION is a free data retrieval call binding the contract method 0xaaf5eb68.
Solidity: function PRECISION() view returns(uint256)
func (*GmxRewardTrackerCallerSession) PreviousCumulatedRewardPerToken ¶
func (_GmxRewardTracker *GmxRewardTrackerCallerSession) PreviousCumulatedRewardPerToken(arg0 common.Address) (*big.Int, error)
PreviousCumulatedRewardPerToken is a free data retrieval call binding the contract method 0x44a08411.
Solidity: function previousCumulatedRewardPerToken(address ) view returns(uint256)
func (*GmxRewardTrackerCallerSession) RewardToken ¶
func (_GmxRewardTracker *GmxRewardTrackerCallerSession) RewardToken() (common.Address, error)
RewardToken is a free data retrieval call binding the contract method 0xf7c618c1.
Solidity: function rewardToken() view returns(address)
func (*GmxRewardTrackerCallerSession) StakedAmounts ¶
func (_GmxRewardTracker *GmxRewardTrackerCallerSession) StakedAmounts(arg0 common.Address) (*big.Int, error)
StakedAmounts is a free data retrieval call binding the contract method 0x10c1c103.
Solidity: function stakedAmounts(address ) view returns(uint256)
func (*GmxRewardTrackerCallerSession) Symbol ¶
func (_GmxRewardTracker *GmxRewardTrackerCallerSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*GmxRewardTrackerCallerSession) TokensPerInterval ¶
func (_GmxRewardTracker *GmxRewardTrackerCallerSession) TokensPerInterval() (*big.Int, error)
TokensPerInterval is a free data retrieval call binding the contract method 0xa8d93627.
Solidity: function tokensPerInterval() view returns(uint256)
func (*GmxRewardTrackerCallerSession) TotalSupply ¶
func (_GmxRewardTracker *GmxRewardTrackerCallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type GmxRewardTrackerClaim ¶
type GmxRewardTrackerClaim struct { Receiver common.Address Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
GmxRewardTrackerClaim represents a Claim event raised by the GmxRewardTracker contract.
type GmxRewardTrackerClaimIterator ¶
type GmxRewardTrackerClaimIterator struct { Event *GmxRewardTrackerClaim // Event containing the contract specifics and raw log // contains filtered or unexported fields }
GmxRewardTrackerClaimIterator is returned from FilterClaim and is used to iterate over the raw logs and unpacked data for Claim events raised by the GmxRewardTracker contract.
func (*GmxRewardTrackerClaimIterator) Close ¶
func (it *GmxRewardTrackerClaimIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*GmxRewardTrackerClaimIterator) Error ¶
func (it *GmxRewardTrackerClaimIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*GmxRewardTrackerClaimIterator) Next ¶
func (it *GmxRewardTrackerClaimIterator) 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 GmxRewardTrackerFilterer ¶
type GmxRewardTrackerFilterer struct {
// contains filtered or unexported fields
}
GmxRewardTrackerFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewGmxRewardTrackerFilterer ¶
func NewGmxRewardTrackerFilterer(address common.Address, filterer bind.ContractFilterer) (*GmxRewardTrackerFilterer, error)
NewGmxRewardTrackerFilterer creates a new log filterer instance of GmxRewardTracker, bound to a specific deployed contract.
func (*GmxRewardTrackerFilterer) FilterApproval ¶
func (_GmxRewardTracker *GmxRewardTrackerFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*GmxRewardTrackerApprovalIterator, 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 (*GmxRewardTrackerFilterer) FilterClaim ¶
func (_GmxRewardTracker *GmxRewardTrackerFilterer) FilterClaim(opts *bind.FilterOpts) (*GmxRewardTrackerClaimIterator, error)
FilterClaim is a free log retrieval operation binding the contract event 0x47cee97cb7acd717b3c0aa1435d004cd5b3c8c57d70dbceb4e4458bbd60e39d4.
Solidity: event Claim(address receiver, uint256 amount)
func (*GmxRewardTrackerFilterer) FilterTransfer ¶
func (_GmxRewardTracker *GmxRewardTrackerFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*GmxRewardTrackerTransferIterator, 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 (*GmxRewardTrackerFilterer) ParseApproval ¶
func (_GmxRewardTracker *GmxRewardTrackerFilterer) ParseApproval(log types.Log) (*GmxRewardTrackerApproval, error)
ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*GmxRewardTrackerFilterer) ParseClaim ¶
func (_GmxRewardTracker *GmxRewardTrackerFilterer) ParseClaim(log types.Log) (*GmxRewardTrackerClaim, error)
ParseClaim is a log parse operation binding the contract event 0x47cee97cb7acd717b3c0aa1435d004cd5b3c8c57d70dbceb4e4458bbd60e39d4.
Solidity: event Claim(address receiver, uint256 amount)
func (*GmxRewardTrackerFilterer) ParseTransfer ¶
func (_GmxRewardTracker *GmxRewardTrackerFilterer) ParseTransfer(log types.Log) (*GmxRewardTrackerTransfer, error)
ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*GmxRewardTrackerFilterer) WatchApproval ¶
func (_GmxRewardTracker *GmxRewardTrackerFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *GmxRewardTrackerApproval, 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 (*GmxRewardTrackerFilterer) WatchClaim ¶
func (_GmxRewardTracker *GmxRewardTrackerFilterer) WatchClaim(opts *bind.WatchOpts, sink chan<- *GmxRewardTrackerClaim) (event.Subscription, error)
WatchClaim is a free log subscription operation binding the contract event 0x47cee97cb7acd717b3c0aa1435d004cd5b3c8c57d70dbceb4e4458bbd60e39d4.
Solidity: event Claim(address receiver, uint256 amount)
func (*GmxRewardTrackerFilterer) WatchTransfer ¶
func (_GmxRewardTracker *GmxRewardTrackerFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *GmxRewardTrackerTransfer, from []common.Address, to []common.Address) (event.Subscription, error)
WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
type GmxRewardTrackerRaw ¶
type GmxRewardTrackerRaw struct {
Contract *GmxRewardTracker // Generic contract binding to access the raw methods on
}
GmxRewardTrackerRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*GmxRewardTrackerRaw) Call ¶
func (_GmxRewardTracker *GmxRewardTrackerRaw) 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 (*GmxRewardTrackerRaw) Transact ¶
func (_GmxRewardTracker *GmxRewardTrackerRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*GmxRewardTrackerRaw) Transfer ¶
func (_GmxRewardTracker *GmxRewardTrackerRaw) 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 GmxRewardTrackerSession ¶
type GmxRewardTrackerSession struct { Contract *GmxRewardTracker // 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 }
GmxRewardTrackerSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*GmxRewardTrackerSession) Allowance ¶
func (_GmxRewardTracker *GmxRewardTrackerSession) Allowance(_owner common.Address, _spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address _owner, address _spender) view returns(uint256)
func (*GmxRewardTrackerSession) Allowances ¶
func (_GmxRewardTracker *GmxRewardTrackerSession) Allowances(arg0 common.Address, arg1 common.Address) (*big.Int, error)
Allowances is a free data retrieval call binding the contract method 0x55b6ed5c.
Solidity: function allowances(address , address ) view returns(uint256)
func (*GmxRewardTrackerSession) Approve ¶
func (_GmxRewardTracker *GmxRewardTrackerSession) Approve(_spender common.Address, _amount *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address _spender, uint256 _amount) returns(bool)
func (*GmxRewardTrackerSession) AverageStakedAmounts ¶
func (_GmxRewardTracker *GmxRewardTrackerSession) AverageStakedAmounts(arg0 common.Address) (*big.Int, error)
AverageStakedAmounts is a free data retrieval call binding the contract method 0xa3180217.
Solidity: function averageStakedAmounts(address ) view returns(uint256)
func (*GmxRewardTrackerSession) BASISPOINTSDIVISOR ¶
func (_GmxRewardTracker *GmxRewardTrackerSession) BASISPOINTSDIVISOR() (*big.Int, error)
BASISPOINTSDIVISOR is a free data retrieval call binding the contract method 0x126082cf.
Solidity: function BASIS_POINTS_DIVISOR() view returns(uint256)
func (*GmxRewardTrackerSession) BalanceOf ¶
func (_GmxRewardTracker *GmxRewardTrackerSession) BalanceOf(_account common.Address) (*big.Int, error)
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address _account) view returns(uint256)
func (*GmxRewardTrackerSession) Balances ¶
Balances is a free data retrieval call binding the contract method 0x27e235e3.
Solidity: function balances(address ) view returns(uint256)
func (*GmxRewardTrackerSession) Claim ¶
func (_GmxRewardTracker *GmxRewardTrackerSession) Claim(_receiver common.Address) (*types.Transaction, error)
Claim is a paid mutator transaction binding the contract method 0x1e83409a.
Solidity: function claim(address _receiver) returns(uint256)
func (*GmxRewardTrackerSession) ClaimForAccount ¶
func (_GmxRewardTracker *GmxRewardTrackerSession) 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 (*GmxRewardTrackerSession) Claimable ¶
func (_GmxRewardTracker *GmxRewardTrackerSession) Claimable(_account common.Address) (*big.Int, error)
Claimable is a free data retrieval call binding the contract method 0x402914f5.
Solidity: function claimable(address _account) view returns(uint256)
func (*GmxRewardTrackerSession) ClaimableReward ¶
func (_GmxRewardTracker *GmxRewardTrackerSession) ClaimableReward(arg0 common.Address) (*big.Int, error)
ClaimableReward is a free data retrieval call binding the contract method 0xe9503425.
Solidity: function claimableReward(address ) view returns(uint256)
func (*GmxRewardTrackerSession) CumulativeRewardPerToken ¶
func (_GmxRewardTracker *GmxRewardTrackerSession) CumulativeRewardPerToken() (*big.Int, error)
CumulativeRewardPerToken is a free data retrieval call binding the contract method 0xf5fc5076.
Solidity: function cumulativeRewardPerToken() view returns(uint256)
func (*GmxRewardTrackerSession) CumulativeRewards ¶
func (_GmxRewardTracker *GmxRewardTrackerSession) CumulativeRewards(arg0 common.Address) (*big.Int, error)
CumulativeRewards is a free data retrieval call binding the contract method 0x3792def3.
Solidity: function cumulativeRewards(address ) view returns(uint256)
func (*GmxRewardTrackerSession) Decimals ¶
func (_GmxRewardTracker *GmxRewardTrackerSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*GmxRewardTrackerSession) DepositBalances ¶
func (_GmxRewardTracker *GmxRewardTrackerSession) DepositBalances(arg0 common.Address, arg1 common.Address) (*big.Int, error)
DepositBalances is a free data retrieval call binding the contract method 0xf5d9d63e.
Solidity: function depositBalances(address , address ) view returns(uint256)
func (*GmxRewardTrackerSession) Distributor ¶
func (_GmxRewardTracker *GmxRewardTrackerSession) Distributor() (common.Address, error)
Distributor is a free data retrieval call binding the contract method 0xbfe10928.
Solidity: function distributor() view returns(address)
func (*GmxRewardTrackerSession) Gov ¶
func (_GmxRewardTracker *GmxRewardTrackerSession) Gov() (common.Address, error)
Gov is a free data retrieval call binding the contract method 0x12d43a51.
Solidity: function gov() view returns(address)
func (*GmxRewardTrackerSession) InPrivateClaimingMode ¶
func (_GmxRewardTracker *GmxRewardTrackerSession) InPrivateClaimingMode() (bool, error)
InPrivateClaimingMode is a free data retrieval call binding the contract method 0xf76033d3.
Solidity: function inPrivateClaimingMode() view returns(bool)
func (*GmxRewardTrackerSession) InPrivateStakingMode ¶
func (_GmxRewardTracker *GmxRewardTrackerSession) InPrivateStakingMode() (bool, error)
InPrivateStakingMode is a free data retrieval call binding the contract method 0xc5fa2730.
Solidity: function inPrivateStakingMode() view returns(bool)
func (*GmxRewardTrackerSession) InPrivateTransferMode ¶
func (_GmxRewardTracker *GmxRewardTrackerSession) InPrivateTransferMode() (bool, error)
InPrivateTransferMode is a free data retrieval call binding the contract method 0xdfbaefb1.
Solidity: function inPrivateTransferMode() view returns(bool)
func (*GmxRewardTrackerSession) Initialize ¶
func (_GmxRewardTracker *GmxRewardTrackerSession) Initialize(_depositTokens []common.Address, _distributor common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x462d0b2e.
Solidity: function initialize(address[] _depositTokens, address _distributor) returns()
func (*GmxRewardTrackerSession) IsDepositToken ¶
func (_GmxRewardTracker *GmxRewardTrackerSession) IsDepositToken(arg0 common.Address) (bool, error)
IsDepositToken is a free data retrieval call binding the contract method 0xb89e45b3.
Solidity: function isDepositToken(address ) view returns(bool)
func (*GmxRewardTrackerSession) IsHandler ¶
func (_GmxRewardTracker *GmxRewardTrackerSession) 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 (*GmxRewardTrackerSession) IsInitialized ¶
func (_GmxRewardTracker *GmxRewardTrackerSession) IsInitialized() (bool, error)
IsInitialized is a free data retrieval call binding the contract method 0x392e53cd.
Solidity: function isInitialized() view returns(bool)
func (*GmxRewardTrackerSession) Name ¶
func (_GmxRewardTracker *GmxRewardTrackerSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*GmxRewardTrackerSession) PRECISION ¶
func (_GmxRewardTracker *GmxRewardTrackerSession) PRECISION() (*big.Int, error)
PRECISION is a free data retrieval call binding the contract method 0xaaf5eb68.
Solidity: function PRECISION() view returns(uint256)
func (*GmxRewardTrackerSession) PreviousCumulatedRewardPerToken ¶
func (_GmxRewardTracker *GmxRewardTrackerSession) PreviousCumulatedRewardPerToken(arg0 common.Address) (*big.Int, error)
PreviousCumulatedRewardPerToken is a free data retrieval call binding the contract method 0x44a08411.
Solidity: function previousCumulatedRewardPerToken(address ) view returns(uint256)
func (*GmxRewardTrackerSession) RewardToken ¶
func (_GmxRewardTracker *GmxRewardTrackerSession) RewardToken() (common.Address, error)
RewardToken is a free data retrieval call binding the contract method 0xf7c618c1.
Solidity: function rewardToken() view returns(address)
func (*GmxRewardTrackerSession) SetDepositToken ¶
func (_GmxRewardTracker *GmxRewardTrackerSession) SetDepositToken(_depositToken common.Address, _isDepositToken bool) (*types.Transaction, error)
SetDepositToken is a paid mutator transaction binding the contract method 0xe44b7558.
Solidity: function setDepositToken(address _depositToken, bool _isDepositToken) returns()
func (*GmxRewardTrackerSession) SetGov ¶
func (_GmxRewardTracker *GmxRewardTrackerSession) 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 (*GmxRewardTrackerSession) SetHandler ¶
func (_GmxRewardTracker *GmxRewardTrackerSession) 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 (*GmxRewardTrackerSession) SetInPrivateClaimingMode ¶
func (_GmxRewardTracker *GmxRewardTrackerSession) SetInPrivateClaimingMode(_inPrivateClaimingMode bool) (*types.Transaction, error)
SetInPrivateClaimingMode is a paid mutator transaction binding the contract method 0x3cd7f700.
Solidity: function setInPrivateClaimingMode(bool _inPrivateClaimingMode) returns()
func (*GmxRewardTrackerSession) SetInPrivateStakingMode ¶
func (_GmxRewardTracker *GmxRewardTrackerSession) SetInPrivateStakingMode(_inPrivateStakingMode bool) (*types.Transaction, error)
SetInPrivateStakingMode is a paid mutator transaction binding the contract method 0x1d30d5bc.
Solidity: function setInPrivateStakingMode(bool _inPrivateStakingMode) returns()
func (*GmxRewardTrackerSession) SetInPrivateTransferMode ¶
func (_GmxRewardTracker *GmxRewardTrackerSession) SetInPrivateTransferMode(_inPrivateTransferMode bool) (*types.Transaction, error)
SetInPrivateTransferMode is a paid mutator transaction binding the contract method 0x5a47a1a7.
Solidity: function setInPrivateTransferMode(bool _inPrivateTransferMode) returns()
func (*GmxRewardTrackerSession) Stake ¶
func (_GmxRewardTracker *GmxRewardTrackerSession) Stake(_depositToken common.Address, _amount *big.Int) (*types.Transaction, error)
Stake is a paid mutator transaction binding the contract method 0xadc9772e.
Solidity: function stake(address _depositToken, uint256 _amount) returns()
func (*GmxRewardTrackerSession) StakeForAccount ¶
func (_GmxRewardTracker *GmxRewardTrackerSession) StakeForAccount(_fundingAccount common.Address, _account common.Address, _depositToken common.Address, _amount *big.Int) (*types.Transaction, error)
StakeForAccount is a paid mutator transaction binding the contract method 0x790b5a6c.
Solidity: function stakeForAccount(address _fundingAccount, address _account, address _depositToken, uint256 _amount) returns()
func (*GmxRewardTrackerSession) StakedAmounts ¶
func (_GmxRewardTracker *GmxRewardTrackerSession) StakedAmounts(arg0 common.Address) (*big.Int, error)
StakedAmounts is a free data retrieval call binding the contract method 0x10c1c103.
Solidity: function stakedAmounts(address ) view returns(uint256)
func (*GmxRewardTrackerSession) Symbol ¶
func (_GmxRewardTracker *GmxRewardTrackerSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*GmxRewardTrackerSession) TokensPerInterval ¶
func (_GmxRewardTracker *GmxRewardTrackerSession) TokensPerInterval() (*big.Int, error)
TokensPerInterval is a free data retrieval call binding the contract method 0xa8d93627.
Solidity: function tokensPerInterval() view returns(uint256)
func (*GmxRewardTrackerSession) TotalSupply ¶
func (_GmxRewardTracker *GmxRewardTrackerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*GmxRewardTrackerSession) Transfer ¶
func (_GmxRewardTracker *GmxRewardTrackerSession) Transfer(_recipient common.Address, _amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address _recipient, uint256 _amount) returns(bool)
func (*GmxRewardTrackerSession) TransferFrom ¶
func (_GmxRewardTracker *GmxRewardTrackerSession) TransferFrom(_sender common.Address, _recipient common.Address, _amount *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address _sender, address _recipient, uint256 _amount) returns(bool)
func (*GmxRewardTrackerSession) Unstake ¶
func (_GmxRewardTracker *GmxRewardTrackerSession) Unstake(_depositToken common.Address, _amount *big.Int) (*types.Transaction, error)
Unstake is a paid mutator transaction binding the contract method 0xc2a672e0.
Solidity: function unstake(address _depositToken, uint256 _amount) returns()
func (*GmxRewardTrackerSession) UnstakeForAccount ¶
func (_GmxRewardTracker *GmxRewardTrackerSession) UnstakeForAccount(_account common.Address, _depositToken common.Address, _amount *big.Int, _receiver common.Address) (*types.Transaction, error)
UnstakeForAccount is a paid mutator transaction binding the contract method 0x098bf59d.
Solidity: function unstakeForAccount(address _account, address _depositToken, uint256 _amount, address _receiver) returns()
func (*GmxRewardTrackerSession) UpdateRewards ¶
func (_GmxRewardTracker *GmxRewardTrackerSession) UpdateRewards() (*types.Transaction, error)
UpdateRewards is a paid mutator transaction binding the contract method 0x3e158b0c.
Solidity: function updateRewards() returns()
func (*GmxRewardTrackerSession) WithdrawToken ¶
func (_GmxRewardTracker *GmxRewardTrackerSession) 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 GmxRewardTrackerTransactor ¶
type GmxRewardTrackerTransactor struct {
// contains filtered or unexported fields
}
GmxRewardTrackerTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewGmxRewardTrackerTransactor ¶
func NewGmxRewardTrackerTransactor(address common.Address, transactor bind.ContractTransactor) (*GmxRewardTrackerTransactor, error)
NewGmxRewardTrackerTransactor creates a new write-only instance of GmxRewardTracker, bound to a specific deployed contract.
func (*GmxRewardTrackerTransactor) Approve ¶
func (_GmxRewardTracker *GmxRewardTrackerTransactor) Approve(opts *bind.TransactOpts, _spender common.Address, _amount *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address _spender, uint256 _amount) returns(bool)
func (*GmxRewardTrackerTransactor) Claim ¶
func (_GmxRewardTracker *GmxRewardTrackerTransactor) Claim(opts *bind.TransactOpts, _receiver common.Address) (*types.Transaction, error)
Claim is a paid mutator transaction binding the contract method 0x1e83409a.
Solidity: function claim(address _receiver) returns(uint256)
func (*GmxRewardTrackerTransactor) ClaimForAccount ¶
func (_GmxRewardTracker *GmxRewardTrackerTransactor) 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 (*GmxRewardTrackerTransactor) Initialize ¶
func (_GmxRewardTracker *GmxRewardTrackerTransactor) Initialize(opts *bind.TransactOpts, _depositTokens []common.Address, _distributor common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x462d0b2e.
Solidity: function initialize(address[] _depositTokens, address _distributor) returns()
func (*GmxRewardTrackerTransactor) SetDepositToken ¶
func (_GmxRewardTracker *GmxRewardTrackerTransactor) SetDepositToken(opts *bind.TransactOpts, _depositToken common.Address, _isDepositToken bool) (*types.Transaction, error)
SetDepositToken is a paid mutator transaction binding the contract method 0xe44b7558.
Solidity: function setDepositToken(address _depositToken, bool _isDepositToken) returns()
func (*GmxRewardTrackerTransactor) SetGov ¶
func (_GmxRewardTracker *GmxRewardTrackerTransactor) 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 (*GmxRewardTrackerTransactor) SetHandler ¶
func (_GmxRewardTracker *GmxRewardTrackerTransactor) 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 (*GmxRewardTrackerTransactor) SetInPrivateClaimingMode ¶
func (_GmxRewardTracker *GmxRewardTrackerTransactor) SetInPrivateClaimingMode(opts *bind.TransactOpts, _inPrivateClaimingMode bool) (*types.Transaction, error)
SetInPrivateClaimingMode is a paid mutator transaction binding the contract method 0x3cd7f700.
Solidity: function setInPrivateClaimingMode(bool _inPrivateClaimingMode) returns()
func (*GmxRewardTrackerTransactor) SetInPrivateStakingMode ¶
func (_GmxRewardTracker *GmxRewardTrackerTransactor) SetInPrivateStakingMode(opts *bind.TransactOpts, _inPrivateStakingMode bool) (*types.Transaction, error)
SetInPrivateStakingMode is a paid mutator transaction binding the contract method 0x1d30d5bc.
Solidity: function setInPrivateStakingMode(bool _inPrivateStakingMode) returns()
func (*GmxRewardTrackerTransactor) SetInPrivateTransferMode ¶
func (_GmxRewardTracker *GmxRewardTrackerTransactor) SetInPrivateTransferMode(opts *bind.TransactOpts, _inPrivateTransferMode bool) (*types.Transaction, error)
SetInPrivateTransferMode is a paid mutator transaction binding the contract method 0x5a47a1a7.
Solidity: function setInPrivateTransferMode(bool _inPrivateTransferMode) returns()
func (*GmxRewardTrackerTransactor) Stake ¶
func (_GmxRewardTracker *GmxRewardTrackerTransactor) Stake(opts *bind.TransactOpts, _depositToken common.Address, _amount *big.Int) (*types.Transaction, error)
Stake is a paid mutator transaction binding the contract method 0xadc9772e.
Solidity: function stake(address _depositToken, uint256 _amount) returns()
func (*GmxRewardTrackerTransactor) StakeForAccount ¶
func (_GmxRewardTracker *GmxRewardTrackerTransactor) StakeForAccount(opts *bind.TransactOpts, _fundingAccount common.Address, _account common.Address, _depositToken common.Address, _amount *big.Int) (*types.Transaction, error)
StakeForAccount is a paid mutator transaction binding the contract method 0x790b5a6c.
Solidity: function stakeForAccount(address _fundingAccount, address _account, address _depositToken, uint256 _amount) returns()
func (*GmxRewardTrackerTransactor) Transfer ¶
func (_GmxRewardTracker *GmxRewardTrackerTransactor) Transfer(opts *bind.TransactOpts, _recipient common.Address, _amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address _recipient, uint256 _amount) returns(bool)
func (*GmxRewardTrackerTransactor) TransferFrom ¶
func (_GmxRewardTracker *GmxRewardTrackerTransactor) TransferFrom(opts *bind.TransactOpts, _sender common.Address, _recipient common.Address, _amount *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address _sender, address _recipient, uint256 _amount) returns(bool)
func (*GmxRewardTrackerTransactor) Unstake ¶
func (_GmxRewardTracker *GmxRewardTrackerTransactor) Unstake(opts *bind.TransactOpts, _depositToken common.Address, _amount *big.Int) (*types.Transaction, error)
Unstake is a paid mutator transaction binding the contract method 0xc2a672e0.
Solidity: function unstake(address _depositToken, uint256 _amount) returns()
func (*GmxRewardTrackerTransactor) UnstakeForAccount ¶
func (_GmxRewardTracker *GmxRewardTrackerTransactor) UnstakeForAccount(opts *bind.TransactOpts, _account common.Address, _depositToken common.Address, _amount *big.Int, _receiver common.Address) (*types.Transaction, error)
UnstakeForAccount is a paid mutator transaction binding the contract method 0x098bf59d.
Solidity: function unstakeForAccount(address _account, address _depositToken, uint256 _amount, address _receiver) returns()
func (*GmxRewardTrackerTransactor) UpdateRewards ¶
func (_GmxRewardTracker *GmxRewardTrackerTransactor) UpdateRewards(opts *bind.TransactOpts) (*types.Transaction, error)
UpdateRewards is a paid mutator transaction binding the contract method 0x3e158b0c.
Solidity: function updateRewards() returns()
func (*GmxRewardTrackerTransactor) WithdrawToken ¶
func (_GmxRewardTracker *GmxRewardTrackerTransactor) 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 GmxRewardTrackerTransactorRaw ¶
type GmxRewardTrackerTransactorRaw struct {
Contract *GmxRewardTrackerTransactor // Generic write-only contract binding to access the raw methods on
}
GmxRewardTrackerTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*GmxRewardTrackerTransactorRaw) Transact ¶
func (_GmxRewardTracker *GmxRewardTrackerTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*GmxRewardTrackerTransactorRaw) Transfer ¶
func (_GmxRewardTracker *GmxRewardTrackerTransactorRaw) 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 GmxRewardTrackerTransactorSession ¶
type GmxRewardTrackerTransactorSession struct { Contract *GmxRewardTrackerTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
GmxRewardTrackerTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*GmxRewardTrackerTransactorSession) Approve ¶
func (_GmxRewardTracker *GmxRewardTrackerTransactorSession) Approve(_spender common.Address, _amount *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address _spender, uint256 _amount) returns(bool)
func (*GmxRewardTrackerTransactorSession) Claim ¶
func (_GmxRewardTracker *GmxRewardTrackerTransactorSession) Claim(_receiver common.Address) (*types.Transaction, error)
Claim is a paid mutator transaction binding the contract method 0x1e83409a.
Solidity: function claim(address _receiver) returns(uint256)
func (*GmxRewardTrackerTransactorSession) ClaimForAccount ¶
func (_GmxRewardTracker *GmxRewardTrackerTransactorSession) 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 (*GmxRewardTrackerTransactorSession) Initialize ¶
func (_GmxRewardTracker *GmxRewardTrackerTransactorSession) Initialize(_depositTokens []common.Address, _distributor common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x462d0b2e.
Solidity: function initialize(address[] _depositTokens, address _distributor) returns()
func (*GmxRewardTrackerTransactorSession) SetDepositToken ¶
func (_GmxRewardTracker *GmxRewardTrackerTransactorSession) SetDepositToken(_depositToken common.Address, _isDepositToken bool) (*types.Transaction, error)
SetDepositToken is a paid mutator transaction binding the contract method 0xe44b7558.
Solidity: function setDepositToken(address _depositToken, bool _isDepositToken) returns()
func (*GmxRewardTrackerTransactorSession) SetGov ¶
func (_GmxRewardTracker *GmxRewardTrackerTransactorSession) 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 (*GmxRewardTrackerTransactorSession) SetHandler ¶
func (_GmxRewardTracker *GmxRewardTrackerTransactorSession) 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 (*GmxRewardTrackerTransactorSession) SetInPrivateClaimingMode ¶
func (_GmxRewardTracker *GmxRewardTrackerTransactorSession) SetInPrivateClaimingMode(_inPrivateClaimingMode bool) (*types.Transaction, error)
SetInPrivateClaimingMode is a paid mutator transaction binding the contract method 0x3cd7f700.
Solidity: function setInPrivateClaimingMode(bool _inPrivateClaimingMode) returns()
func (*GmxRewardTrackerTransactorSession) SetInPrivateStakingMode ¶
func (_GmxRewardTracker *GmxRewardTrackerTransactorSession) SetInPrivateStakingMode(_inPrivateStakingMode bool) (*types.Transaction, error)
SetInPrivateStakingMode is a paid mutator transaction binding the contract method 0x1d30d5bc.
Solidity: function setInPrivateStakingMode(bool _inPrivateStakingMode) returns()
func (*GmxRewardTrackerTransactorSession) SetInPrivateTransferMode ¶
func (_GmxRewardTracker *GmxRewardTrackerTransactorSession) SetInPrivateTransferMode(_inPrivateTransferMode bool) (*types.Transaction, error)
SetInPrivateTransferMode is a paid mutator transaction binding the contract method 0x5a47a1a7.
Solidity: function setInPrivateTransferMode(bool _inPrivateTransferMode) returns()
func (*GmxRewardTrackerTransactorSession) Stake ¶
func (_GmxRewardTracker *GmxRewardTrackerTransactorSession) Stake(_depositToken common.Address, _amount *big.Int) (*types.Transaction, error)
Stake is a paid mutator transaction binding the contract method 0xadc9772e.
Solidity: function stake(address _depositToken, uint256 _amount) returns()
func (*GmxRewardTrackerTransactorSession) StakeForAccount ¶
func (_GmxRewardTracker *GmxRewardTrackerTransactorSession) StakeForAccount(_fundingAccount common.Address, _account common.Address, _depositToken common.Address, _amount *big.Int) (*types.Transaction, error)
StakeForAccount is a paid mutator transaction binding the contract method 0x790b5a6c.
Solidity: function stakeForAccount(address _fundingAccount, address _account, address _depositToken, uint256 _amount) returns()
func (*GmxRewardTrackerTransactorSession) Transfer ¶
func (_GmxRewardTracker *GmxRewardTrackerTransactorSession) Transfer(_recipient common.Address, _amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address _recipient, uint256 _amount) returns(bool)
func (*GmxRewardTrackerTransactorSession) TransferFrom ¶
func (_GmxRewardTracker *GmxRewardTrackerTransactorSession) TransferFrom(_sender common.Address, _recipient common.Address, _amount *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address _sender, address _recipient, uint256 _amount) returns(bool)
func (*GmxRewardTrackerTransactorSession) Unstake ¶
func (_GmxRewardTracker *GmxRewardTrackerTransactorSession) Unstake(_depositToken common.Address, _amount *big.Int) (*types.Transaction, error)
Unstake is a paid mutator transaction binding the contract method 0xc2a672e0.
Solidity: function unstake(address _depositToken, uint256 _amount) returns()
func (*GmxRewardTrackerTransactorSession) UnstakeForAccount ¶
func (_GmxRewardTracker *GmxRewardTrackerTransactorSession) UnstakeForAccount(_account common.Address, _depositToken common.Address, _amount *big.Int, _receiver common.Address) (*types.Transaction, error)
UnstakeForAccount is a paid mutator transaction binding the contract method 0x098bf59d.
Solidity: function unstakeForAccount(address _account, address _depositToken, uint256 _amount, address _receiver) returns()
func (*GmxRewardTrackerTransactorSession) UpdateRewards ¶
func (_GmxRewardTracker *GmxRewardTrackerTransactorSession) UpdateRewards() (*types.Transaction, error)
UpdateRewards is a paid mutator transaction binding the contract method 0x3e158b0c.
Solidity: function updateRewards() returns()
func (*GmxRewardTrackerTransactorSession) WithdrawToken ¶
func (_GmxRewardTracker *GmxRewardTrackerTransactorSession) 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 GmxRewardTrackerTransfer ¶
type GmxRewardTrackerTransfer struct { From common.Address To common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
GmxRewardTrackerTransfer represents a Transfer event raised by the GmxRewardTracker contract.
type GmxRewardTrackerTransferIterator ¶
type GmxRewardTrackerTransferIterator struct { Event *GmxRewardTrackerTransfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
GmxRewardTrackerTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the GmxRewardTracker contract.
func (*GmxRewardTrackerTransferIterator) Close ¶
func (it *GmxRewardTrackerTransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*GmxRewardTrackerTransferIterator) Error ¶
func (it *GmxRewardTrackerTransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*GmxRewardTrackerTransferIterator) Next ¶
func (it *GmxRewardTrackerTransferIterator) 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 GmxStakedGlp ¶
type GmxStakedGlp struct { GmxStakedGlpCaller // Read-only binding to the contract GmxStakedGlpTransactor // Write-only binding to the contract GmxStakedGlpFilterer // Log filterer for contract events }
GmxStakedGlp is an auto generated Go binding around an Ethereum contract.
func NewGmxStakedGlp ¶
func NewGmxStakedGlp(address common.Address, backend bind.ContractBackend) (*GmxStakedGlp, error)
NewGmxStakedGlp creates a new instance of GmxStakedGlp, bound to a specific deployed contract.
type GmxStakedGlpApproval ¶
type GmxStakedGlpApproval struct { Owner common.Address Spender common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
GmxStakedGlpApproval represents a Approval event raised by the GmxStakedGlp contract.
type GmxStakedGlpApprovalIterator ¶
type GmxStakedGlpApprovalIterator struct { Event *GmxStakedGlpApproval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
GmxStakedGlpApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the GmxStakedGlp contract.
func (*GmxStakedGlpApprovalIterator) Close ¶
func (it *GmxStakedGlpApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*GmxStakedGlpApprovalIterator) Error ¶
func (it *GmxStakedGlpApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*GmxStakedGlpApprovalIterator) Next ¶
func (it *GmxStakedGlpApprovalIterator) 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 GmxStakedGlpCaller ¶
type GmxStakedGlpCaller struct {
// contains filtered or unexported fields
}
GmxStakedGlpCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewGmxStakedGlpCaller ¶
func NewGmxStakedGlpCaller(address common.Address, caller bind.ContractCaller) (*GmxStakedGlpCaller, error)
NewGmxStakedGlpCaller creates a new read-only instance of GmxStakedGlp, bound to a specific deployed contract.
func (*GmxStakedGlpCaller) Allowance ¶
func (_GmxStakedGlp *GmxStakedGlpCaller) Allowance(opts *bind.CallOpts, _owner common.Address, _spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address _owner, address _spender) view returns(uint256)
func (*GmxStakedGlpCaller) Allowances ¶
func (_GmxStakedGlp *GmxStakedGlpCaller) Allowances(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (*big.Int, error)
Allowances is a free data retrieval call binding the contract method 0x55b6ed5c.
Solidity: function allowances(address , address ) view returns(uint256)
func (*GmxStakedGlpCaller) BalanceOf ¶
func (_GmxStakedGlp *GmxStakedGlpCaller) 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 (*GmxStakedGlpCaller) Decimals ¶
func (_GmxStakedGlp *GmxStakedGlpCaller) 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 (*GmxStakedGlpCaller) FeeGlpTracker ¶
FeeGlpTracker is a free data retrieval call binding the contract method 0xe1c363b7.
Solidity: function feeGlpTracker() view returns(address)
func (*GmxStakedGlpCaller) Glp ¶
Glp is a free data retrieval call binding the contract method 0x78a207ee.
Solidity: function glp() view returns(address)
func (*GmxStakedGlpCaller) GlpManager ¶
GlpManager is a free data retrieval call binding the contract method 0xfa6db1bc.
Solidity: function glpManager() view returns(address)
func (*GmxStakedGlpCaller) Name ¶
func (_GmxStakedGlp *GmxStakedGlpCaller) 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 (*GmxStakedGlpCaller) StakedGlpTracker ¶
func (_GmxStakedGlp *GmxStakedGlpCaller) StakedGlpTracker(opts *bind.CallOpts) (common.Address, error)
StakedGlpTracker is a free data retrieval call binding the contract method 0xaf394d00.
Solidity: function stakedGlpTracker() view returns(address)
func (*GmxStakedGlpCaller) Symbol ¶
func (_GmxStakedGlp *GmxStakedGlpCaller) 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 (*GmxStakedGlpCaller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type GmxStakedGlpCallerRaw ¶
type GmxStakedGlpCallerRaw struct {
Contract *GmxStakedGlpCaller // Generic read-only contract binding to access the raw methods on
}
GmxStakedGlpCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*GmxStakedGlpCallerRaw) Call ¶
func (_GmxStakedGlp *GmxStakedGlpCallerRaw) 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 GmxStakedGlpCallerSession ¶
type GmxStakedGlpCallerSession struct { Contract *GmxStakedGlpCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
GmxStakedGlpCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*GmxStakedGlpCallerSession) Allowance ¶
func (_GmxStakedGlp *GmxStakedGlpCallerSession) Allowance(_owner common.Address, _spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address _owner, address _spender) view returns(uint256)
func (*GmxStakedGlpCallerSession) Allowances ¶
func (_GmxStakedGlp *GmxStakedGlpCallerSession) Allowances(arg0 common.Address, arg1 common.Address) (*big.Int, error)
Allowances is a free data retrieval call binding the contract method 0x55b6ed5c.
Solidity: function allowances(address , address ) view returns(uint256)
func (*GmxStakedGlpCallerSession) BalanceOf ¶
func (_GmxStakedGlp *GmxStakedGlpCallerSession) BalanceOf(_account common.Address) (*big.Int, error)
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address _account) view returns(uint256)
func (*GmxStakedGlpCallerSession) Decimals ¶
func (_GmxStakedGlp *GmxStakedGlpCallerSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*GmxStakedGlpCallerSession) FeeGlpTracker ¶
func (_GmxStakedGlp *GmxStakedGlpCallerSession) FeeGlpTracker() (common.Address, error)
FeeGlpTracker is a free data retrieval call binding the contract method 0xe1c363b7.
Solidity: function feeGlpTracker() view returns(address)
func (*GmxStakedGlpCallerSession) Glp ¶
func (_GmxStakedGlp *GmxStakedGlpCallerSession) Glp() (common.Address, error)
Glp is a free data retrieval call binding the contract method 0x78a207ee.
Solidity: function glp() view returns(address)
func (*GmxStakedGlpCallerSession) GlpManager ¶
func (_GmxStakedGlp *GmxStakedGlpCallerSession) GlpManager() (common.Address, error)
GlpManager is a free data retrieval call binding the contract method 0xfa6db1bc.
Solidity: function glpManager() view returns(address)
func (*GmxStakedGlpCallerSession) Name ¶
func (_GmxStakedGlp *GmxStakedGlpCallerSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*GmxStakedGlpCallerSession) StakedGlpTracker ¶
func (_GmxStakedGlp *GmxStakedGlpCallerSession) StakedGlpTracker() (common.Address, error)
StakedGlpTracker is a free data retrieval call binding the contract method 0xaf394d00.
Solidity: function stakedGlpTracker() view returns(address)
func (*GmxStakedGlpCallerSession) Symbol ¶
func (_GmxStakedGlp *GmxStakedGlpCallerSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*GmxStakedGlpCallerSession) TotalSupply ¶
func (_GmxStakedGlp *GmxStakedGlpCallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type GmxStakedGlpFilterer ¶
type GmxStakedGlpFilterer struct {
// contains filtered or unexported fields
}
GmxStakedGlpFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewGmxStakedGlpFilterer ¶
func NewGmxStakedGlpFilterer(address common.Address, filterer bind.ContractFilterer) (*GmxStakedGlpFilterer, error)
NewGmxStakedGlpFilterer creates a new log filterer instance of GmxStakedGlp, bound to a specific deployed contract.
func (*GmxStakedGlpFilterer) FilterApproval ¶
func (_GmxStakedGlp *GmxStakedGlpFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*GmxStakedGlpApprovalIterator, 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 (*GmxStakedGlpFilterer) ParseApproval ¶
func (_GmxStakedGlp *GmxStakedGlpFilterer) ParseApproval(log types.Log) (*GmxStakedGlpApproval, error)
ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*GmxStakedGlpFilterer) WatchApproval ¶
func (_GmxStakedGlp *GmxStakedGlpFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *GmxStakedGlpApproval, 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)
type GmxStakedGlpRaw ¶
type GmxStakedGlpRaw struct {
Contract *GmxStakedGlp // Generic contract binding to access the raw methods on
}
GmxStakedGlpRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*GmxStakedGlpRaw) Call ¶
func (_GmxStakedGlp *GmxStakedGlpRaw) 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 (*GmxStakedGlpRaw) Transact ¶
func (_GmxStakedGlp *GmxStakedGlpRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*GmxStakedGlpRaw) Transfer ¶
func (_GmxStakedGlp *GmxStakedGlpRaw) 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 GmxStakedGlpSession ¶
type GmxStakedGlpSession struct { Contract *GmxStakedGlp // 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 }
GmxStakedGlpSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*GmxStakedGlpSession) Allowance ¶
func (_GmxStakedGlp *GmxStakedGlpSession) Allowance(_owner common.Address, _spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address _owner, address _spender) view returns(uint256)
func (*GmxStakedGlpSession) Allowances ¶
func (_GmxStakedGlp *GmxStakedGlpSession) Allowances(arg0 common.Address, arg1 common.Address) (*big.Int, error)
Allowances is a free data retrieval call binding the contract method 0x55b6ed5c.
Solidity: function allowances(address , address ) view returns(uint256)
func (*GmxStakedGlpSession) Approve ¶
func (_GmxStakedGlp *GmxStakedGlpSession) Approve(_spender common.Address, _amount *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address _spender, uint256 _amount) returns(bool)
func (*GmxStakedGlpSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address _account) view returns(uint256)
func (*GmxStakedGlpSession) Decimals ¶
func (_GmxStakedGlp *GmxStakedGlpSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*GmxStakedGlpSession) FeeGlpTracker ¶
func (_GmxStakedGlp *GmxStakedGlpSession) FeeGlpTracker() (common.Address, error)
FeeGlpTracker is a free data retrieval call binding the contract method 0xe1c363b7.
Solidity: function feeGlpTracker() view returns(address)
func (*GmxStakedGlpSession) Glp ¶
func (_GmxStakedGlp *GmxStakedGlpSession) Glp() (common.Address, error)
Glp is a free data retrieval call binding the contract method 0x78a207ee.
Solidity: function glp() view returns(address)
func (*GmxStakedGlpSession) GlpManager ¶
func (_GmxStakedGlp *GmxStakedGlpSession) GlpManager() (common.Address, error)
GlpManager is a free data retrieval call binding the contract method 0xfa6db1bc.
Solidity: function glpManager() view returns(address)
func (*GmxStakedGlpSession) Name ¶
func (_GmxStakedGlp *GmxStakedGlpSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*GmxStakedGlpSession) StakedGlpTracker ¶
func (_GmxStakedGlp *GmxStakedGlpSession) StakedGlpTracker() (common.Address, error)
StakedGlpTracker is a free data retrieval call binding the contract method 0xaf394d00.
Solidity: function stakedGlpTracker() view returns(address)
func (*GmxStakedGlpSession) Symbol ¶
func (_GmxStakedGlp *GmxStakedGlpSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*GmxStakedGlpSession) TotalSupply ¶
func (_GmxStakedGlp *GmxStakedGlpSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*GmxStakedGlpSession) Transfer ¶
func (_GmxStakedGlp *GmxStakedGlpSession) Transfer(_recipient common.Address, _amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address _recipient, uint256 _amount) returns(bool)
func (*GmxStakedGlpSession) TransferFrom ¶
func (_GmxStakedGlp *GmxStakedGlpSession) TransferFrom(_sender common.Address, _recipient common.Address, _amount *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address _sender, address _recipient, uint256 _amount) returns(bool)
type GmxStakedGlpTransactor ¶
type GmxStakedGlpTransactor struct {
// contains filtered or unexported fields
}
GmxStakedGlpTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewGmxStakedGlpTransactor ¶
func NewGmxStakedGlpTransactor(address common.Address, transactor bind.ContractTransactor) (*GmxStakedGlpTransactor, error)
NewGmxStakedGlpTransactor creates a new write-only instance of GmxStakedGlp, bound to a specific deployed contract.
func (*GmxStakedGlpTransactor) Approve ¶
func (_GmxStakedGlp *GmxStakedGlpTransactor) Approve(opts *bind.TransactOpts, _spender common.Address, _amount *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address _spender, uint256 _amount) returns(bool)
func (*GmxStakedGlpTransactor) Transfer ¶
func (_GmxStakedGlp *GmxStakedGlpTransactor) Transfer(opts *bind.TransactOpts, _recipient common.Address, _amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address _recipient, uint256 _amount) returns(bool)
func (*GmxStakedGlpTransactor) TransferFrom ¶
func (_GmxStakedGlp *GmxStakedGlpTransactor) TransferFrom(opts *bind.TransactOpts, _sender common.Address, _recipient common.Address, _amount *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address _sender, address _recipient, uint256 _amount) returns(bool)
type GmxStakedGlpTransactorRaw ¶
type GmxStakedGlpTransactorRaw struct {
Contract *GmxStakedGlpTransactor // Generic write-only contract binding to access the raw methods on
}
GmxStakedGlpTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*GmxStakedGlpTransactorRaw) Transact ¶
func (_GmxStakedGlp *GmxStakedGlpTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*GmxStakedGlpTransactorRaw) Transfer ¶
func (_GmxStakedGlp *GmxStakedGlpTransactorRaw) 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 GmxStakedGlpTransactorSession ¶
type GmxStakedGlpTransactorSession struct { Contract *GmxStakedGlpTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
GmxStakedGlpTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*GmxStakedGlpTransactorSession) Approve ¶
func (_GmxStakedGlp *GmxStakedGlpTransactorSession) Approve(_spender common.Address, _amount *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address _spender, uint256 _amount) returns(bool)
func (*GmxStakedGlpTransactorSession) Transfer ¶
func (_GmxStakedGlp *GmxStakedGlpTransactorSession) Transfer(_recipient common.Address, _amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address _recipient, uint256 _amount) returns(bool)
func (*GmxStakedGlpTransactorSession) TransferFrom ¶
func (_GmxStakedGlp *GmxStakedGlpTransactorSession) TransferFrom(_sender common.Address, _recipient common.Address, _amount *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address _sender, address _recipient, uint256 _amount) returns(bool)
type GmxVester ¶
type GmxVester struct { GmxVesterCaller // Read-only binding to the contract GmxVesterTransactor // Write-only binding to the contract GmxVesterFilterer // Log filterer for contract events }
GmxVester is an auto generated Go binding around an Ethereum contract.
func NewGmxVester ¶
NewGmxVester creates a new instance of GmxVester, bound to a specific deployed contract.
type GmxVesterApproval ¶
type GmxVesterApproval struct { Owner common.Address Spender common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
GmxVesterApproval represents a Approval event raised by the GmxVester contract.
type GmxVesterApprovalIterator ¶
type GmxVesterApprovalIterator struct { Event *GmxVesterApproval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
GmxVesterApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the GmxVester contract.
func (*GmxVesterApprovalIterator) Close ¶
func (it *GmxVesterApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*GmxVesterApprovalIterator) Error ¶
func (it *GmxVesterApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*GmxVesterApprovalIterator) Next ¶
func (it *GmxVesterApprovalIterator) 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 GmxVesterCaller ¶
type GmxVesterCaller struct {
// contains filtered or unexported fields
}
GmxVesterCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewGmxVesterCaller ¶
func NewGmxVesterCaller(address common.Address, caller bind.ContractCaller) (*GmxVesterCaller, error)
NewGmxVesterCaller creates a new read-only instance of GmxVester, bound to a specific deployed contract.
func (*GmxVesterCaller) Allowance ¶
func (_GmxVester *GmxVesterCaller) 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 (*GmxVesterCaller) BalanceOf ¶
func (_GmxVester *GmxVesterCaller) 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 (*GmxVesterCaller) Balances ¶
func (_GmxVester *GmxVesterCaller) Balances(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
Balances is a free data retrieval call binding the contract method 0x27e235e3.
Solidity: function balances(address ) view returns(uint256)
func (*GmxVesterCaller) BonusRewards ¶
func (_GmxVester *GmxVesterCaller) 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 (*GmxVesterCaller) Claimable ¶
func (_GmxVester *GmxVesterCaller) 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 (*GmxVesterCaller) ClaimableToken ¶
ClaimableToken is a free data retrieval call binding the contract method 0xf6d6d5aa.
Solidity: function claimableToken() view returns(address)
func (*GmxVesterCaller) ClaimedAmounts ¶
func (_GmxVester *GmxVesterCaller) 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 (*GmxVesterCaller) CumulativeClaimAmounts ¶
func (_GmxVester *GmxVesterCaller) 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 (*GmxVesterCaller) CumulativeRewardDeductions ¶
func (_GmxVester *GmxVesterCaller) 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 (*GmxVesterCaller) Decimals ¶
func (_GmxVester *GmxVesterCaller) 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 (*GmxVesterCaller) EsToken ¶
EsToken is a free data retrieval call binding the contract method 0x16ca05c5.
Solidity: function esToken() view returns(address)
func (*GmxVesterCaller) GetCombinedAverageStakedAmount ¶
func (_GmxVester *GmxVesterCaller) 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 (*GmxVesterCaller) GetMaxVestableAmount ¶
func (_GmxVester *GmxVesterCaller) 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 (*GmxVesterCaller) GetPairAmount ¶
func (_GmxVester *GmxVesterCaller) 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 (*GmxVesterCaller) GetTotalVested ¶
func (_GmxVester *GmxVesterCaller) 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 (*GmxVesterCaller) GetVestedAmount ¶
func (_GmxVester *GmxVesterCaller) 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 (*GmxVesterCaller) Gov ¶
Gov is a free data retrieval call binding the contract method 0x12d43a51.
Solidity: function gov() view returns(address)
func (*GmxVesterCaller) HasMaxVestableAmount ¶
func (_GmxVester *GmxVesterCaller) 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 (*GmxVesterCaller) HasPairToken ¶
func (_GmxVester *GmxVesterCaller) 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 (*GmxVesterCaller) HasRewardTracker ¶
func (_GmxVester *GmxVesterCaller) 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 (*GmxVesterCaller) IsHandler ¶
func (_GmxVester *GmxVesterCaller) IsHandler(opts *bind.CallOpts, arg0 common.Address) (bool, error)
IsHandler is a free data retrieval call binding the contract method 0x46ea87af.
Solidity: function isHandler(address ) view returns(bool)
func (*GmxVesterCaller) LastVestingTimes ¶
func (_GmxVester *GmxVesterCaller) 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 (*GmxVesterCaller) Name ¶
func (_GmxVester *GmxVesterCaller) 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 (*GmxVesterCaller) PairAmounts ¶
func (_GmxVester *GmxVesterCaller) 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 (*GmxVesterCaller) PairSupply ¶
PairSupply is a free data retrieval call binding the contract method 0x15e90a41.
Solidity: function pairSupply() view returns(uint256)
func (*GmxVesterCaller) PairToken ¶
PairToken is a free data retrieval call binding the contract method 0x3de35b79.
Solidity: function pairToken() view returns(address)
func (*GmxVesterCaller) RewardTracker ¶
RewardTracker is a free data retrieval call binding the contract method 0x6bcb411a.
Solidity: function rewardTracker() view returns(address)
func (*GmxVesterCaller) Symbol ¶
func (_GmxVester *GmxVesterCaller) 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 (*GmxVesterCaller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*GmxVesterCaller) TransferredAverageStakedAmounts ¶
func (_GmxVester *GmxVesterCaller) 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 (*GmxVesterCaller) TransferredCumulativeRewards ¶
func (_GmxVester *GmxVesterCaller) 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 (*GmxVesterCaller) VestingDuration ¶
VestingDuration is a free data retrieval call binding the contract method 0x1514617e.
Solidity: function vestingDuration() view returns(uint256)
type GmxVesterCallerRaw ¶
type GmxVesterCallerRaw struct {
Contract *GmxVesterCaller // Generic read-only contract binding to access the raw methods on
}
GmxVesterCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*GmxVesterCallerRaw) Call ¶
func (_GmxVester *GmxVesterCallerRaw) 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 GmxVesterCallerSession ¶
type GmxVesterCallerSession struct { Contract *GmxVesterCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
GmxVesterCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*GmxVesterCallerSession) Allowance ¶
func (_GmxVester *GmxVesterCallerSession) 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 (*GmxVesterCallerSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address _account) view returns(uint256)
func (*GmxVesterCallerSession) Balances ¶
Balances is a free data retrieval call binding the contract method 0x27e235e3.
Solidity: function balances(address ) view returns(uint256)
func (*GmxVesterCallerSession) BonusRewards ¶
BonusRewards is a free data retrieval call binding the contract method 0xa2545fa5.
Solidity: function bonusRewards(address ) view returns(uint256)
func (*GmxVesterCallerSession) Claimable ¶
Claimable is a free data retrieval call binding the contract method 0x402914f5.
Solidity: function claimable(address _account) view returns(uint256)
func (*GmxVesterCallerSession) ClaimableToken ¶
func (_GmxVester *GmxVesterCallerSession) ClaimableToken() (common.Address, error)
ClaimableToken is a free data retrieval call binding the contract method 0xf6d6d5aa.
Solidity: function claimableToken() view returns(address)
func (*GmxVesterCallerSession) ClaimedAmounts ¶
ClaimedAmounts is a free data retrieval call binding the contract method 0x71417b32.
Solidity: function claimedAmounts(address ) view returns(uint256)
func (*GmxVesterCallerSession) CumulativeClaimAmounts ¶
func (_GmxVester *GmxVesterCallerSession) CumulativeClaimAmounts(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 (*GmxVesterCallerSession) CumulativeRewardDeductions ¶
func (_GmxVester *GmxVesterCallerSession) 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 (*GmxVesterCallerSession) Decimals ¶
func (_GmxVester *GmxVesterCallerSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*GmxVesterCallerSession) EsToken ¶
func (_GmxVester *GmxVesterCallerSession) EsToken() (common.Address, error)
EsToken is a free data retrieval call binding the contract method 0x16ca05c5.
Solidity: function esToken() view returns(address)
func (*GmxVesterCallerSession) GetCombinedAverageStakedAmount ¶
func (_GmxVester *GmxVesterCallerSession) 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 (*GmxVesterCallerSession) GetMaxVestableAmount ¶
func (_GmxVester *GmxVesterCallerSession) GetMaxVestableAmount(_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 (*GmxVesterCallerSession) GetPairAmount ¶
func (_GmxVester *GmxVesterCallerSession) 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 (*GmxVesterCallerSession) GetTotalVested ¶
GetTotalVested is a free data retrieval call binding the contract method 0x93035473.
Solidity: function getTotalVested(address _account) view returns(uint256)
func (*GmxVesterCallerSession) GetVestedAmount ¶
func (_GmxVester *GmxVesterCallerSession) GetVestedAmount(_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 (*GmxVesterCallerSession) Gov ¶
func (_GmxVester *GmxVesterCallerSession) Gov() (common.Address, error)
Gov is a free data retrieval call binding the contract method 0x12d43a51.
Solidity: function gov() view returns(address)
func (*GmxVesterCallerSession) HasMaxVestableAmount ¶
func (_GmxVester *GmxVesterCallerSession) HasMaxVestableAmount() (bool, error)
HasMaxVestableAmount is a free data retrieval call binding the contract method 0xacf077a5.
Solidity: function hasMaxVestableAmount() view returns(bool)
func (*GmxVesterCallerSession) HasPairToken ¶
func (_GmxVester *GmxVesterCallerSession) HasPairToken() (bool, error)
HasPairToken is a free data retrieval call binding the contract method 0xd75abb57.
Solidity: function hasPairToken() view returns(bool)
func (*GmxVesterCallerSession) HasRewardTracker ¶
func (_GmxVester *GmxVesterCallerSession) HasRewardTracker() (bool, error)
HasRewardTracker is a free data retrieval call binding the contract method 0xf421f62a.
Solidity: function hasRewardTracker() view returns(bool)
func (*GmxVesterCallerSession) IsHandler ¶
func (_GmxVester *GmxVesterCallerSession) 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 (*GmxVesterCallerSession) LastVestingTimes ¶
LastVestingTimes is a free data retrieval call binding the contract method 0x0db9ea4a.
Solidity: function lastVestingTimes(address ) view returns(uint256)
func (*GmxVesterCallerSession) Name ¶
func (_GmxVester *GmxVesterCallerSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*GmxVesterCallerSession) PairAmounts ¶
PairAmounts is a free data retrieval call binding the contract method 0x5d50e729.
Solidity: function pairAmounts(address ) view returns(uint256)
func (*GmxVesterCallerSession) PairSupply ¶
func (_GmxVester *GmxVesterCallerSession) PairSupply() (*big.Int, error)
PairSupply is a free data retrieval call binding the contract method 0x15e90a41.
Solidity: function pairSupply() view returns(uint256)
func (*GmxVesterCallerSession) PairToken ¶
func (_GmxVester *GmxVesterCallerSession) PairToken() (common.Address, error)
PairToken is a free data retrieval call binding the contract method 0x3de35b79.
Solidity: function pairToken() view returns(address)
func (*GmxVesterCallerSession) RewardTracker ¶
func (_GmxVester *GmxVesterCallerSession) RewardTracker() (common.Address, error)
RewardTracker is a free data retrieval call binding the contract method 0x6bcb411a.
Solidity: function rewardTracker() view returns(address)
func (*GmxVesterCallerSession) Symbol ¶
func (_GmxVester *GmxVesterCallerSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*GmxVesterCallerSession) TotalSupply ¶
func (_GmxVester *GmxVesterCallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*GmxVesterCallerSession) TransferredAverageStakedAmounts ¶
func (_GmxVester *GmxVesterCallerSession) 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 (*GmxVesterCallerSession) TransferredCumulativeRewards ¶
func (_GmxVester *GmxVesterCallerSession) 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 (*GmxVesterCallerSession) VestingDuration ¶
func (_GmxVester *GmxVesterCallerSession) VestingDuration() (*big.Int, error)
VestingDuration is a free data retrieval call binding the contract method 0x1514617e.
Solidity: function vestingDuration() view returns(uint256)
type GmxVesterClaim ¶
type GmxVesterClaim struct { Receiver common.Address Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
GmxVesterClaim represents a Claim event raised by the GmxVester contract.
type GmxVesterClaimIterator ¶
type GmxVesterClaimIterator struct { Event *GmxVesterClaim // Event containing the contract specifics and raw log // contains filtered or unexported fields }
GmxVesterClaimIterator is returned from FilterClaim and is used to iterate over the raw logs and unpacked data for Claim events raised by the GmxVester contract.
func (*GmxVesterClaimIterator) Close ¶
func (it *GmxVesterClaimIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*GmxVesterClaimIterator) Error ¶
func (it *GmxVesterClaimIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*GmxVesterClaimIterator) Next ¶
func (it *GmxVesterClaimIterator) 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 GmxVesterDeposit ¶
type GmxVesterDeposit struct { Account common.Address Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
GmxVesterDeposit represents a Deposit event raised by the GmxVester contract.
type GmxVesterDepositIterator ¶
type GmxVesterDepositIterator struct { Event *GmxVesterDeposit // Event containing the contract specifics and raw log // contains filtered or unexported fields }
GmxVesterDepositIterator is returned from FilterDeposit and is used to iterate over the raw logs and unpacked data for Deposit events raised by the GmxVester contract.
func (*GmxVesterDepositIterator) Close ¶
func (it *GmxVesterDepositIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*GmxVesterDepositIterator) Error ¶
func (it *GmxVesterDepositIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*GmxVesterDepositIterator) Next ¶
func (it *GmxVesterDepositIterator) 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 GmxVesterFilterer ¶
type GmxVesterFilterer struct {
// contains filtered or unexported fields
}
GmxVesterFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewGmxVesterFilterer ¶
func NewGmxVesterFilterer(address common.Address, filterer bind.ContractFilterer) (*GmxVesterFilterer, error)
NewGmxVesterFilterer creates a new log filterer instance of GmxVester, bound to a specific deployed contract.
func (*GmxVesterFilterer) FilterApproval ¶
func (_GmxVester *GmxVesterFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*GmxVesterApprovalIterator, 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 (*GmxVesterFilterer) FilterClaim ¶
func (_GmxVester *GmxVesterFilterer) FilterClaim(opts *bind.FilterOpts) (*GmxVesterClaimIterator, error)
FilterClaim is a free log retrieval operation binding the contract event 0x47cee97cb7acd717b3c0aa1435d004cd5b3c8c57d70dbceb4e4458bbd60e39d4.
Solidity: event Claim(address receiver, uint256 amount)
func (*GmxVesterFilterer) FilterDeposit ¶
func (_GmxVester *GmxVesterFilterer) FilterDeposit(opts *bind.FilterOpts) (*GmxVesterDepositIterator, error)
FilterDeposit is a free log retrieval operation binding the contract event 0xe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c.
Solidity: event Deposit(address account, uint256 amount)
func (*GmxVesterFilterer) FilterPairTransfer ¶
func (_GmxVester *GmxVesterFilterer) FilterPairTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*GmxVesterPairTransferIterator, 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 (*GmxVesterFilterer) FilterTransfer ¶
func (_GmxVester *GmxVesterFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*GmxVesterTransferIterator, 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 (*GmxVesterFilterer) FilterWithdraw ¶
func (_GmxVester *GmxVesterFilterer) FilterWithdraw(opts *bind.FilterOpts) (*GmxVesterWithdrawIterator, error)
FilterWithdraw is a free log retrieval operation binding the contract event 0xf279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b568.
Solidity: event Withdraw(address account, uint256 claimedAmount, uint256 balance)
func (*GmxVesterFilterer) ParseApproval ¶
func (_GmxVester *GmxVesterFilterer) ParseApproval(log types.Log) (*GmxVesterApproval, error)
ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*GmxVesterFilterer) ParseClaim ¶
func (_GmxVester *GmxVesterFilterer) ParseClaim(log types.Log) (*GmxVesterClaim, error)
ParseClaim is a log parse operation binding the contract event 0x47cee97cb7acd717b3c0aa1435d004cd5b3c8c57d70dbceb4e4458bbd60e39d4.
Solidity: event Claim(address receiver, uint256 amount)
func (*GmxVesterFilterer) ParseDeposit ¶
func (_GmxVester *GmxVesterFilterer) ParseDeposit(log types.Log) (*GmxVesterDeposit, error)
ParseDeposit is a log parse operation binding the contract event 0xe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c.
Solidity: event Deposit(address account, uint256 amount)
func (*GmxVesterFilterer) ParsePairTransfer ¶
func (_GmxVester *GmxVesterFilterer) ParsePairTransfer(log types.Log) (*GmxVesterPairTransfer, error)
ParsePairTransfer is a log parse operation binding the contract event 0x659523c479d006050ebc0d0e48fea36d1b2c5d45b2f31402ac6f8671fc84cc04.
Solidity: event PairTransfer(address indexed from, address indexed to, uint256 value)
func (*GmxVesterFilterer) ParseTransfer ¶
func (_GmxVester *GmxVesterFilterer) ParseTransfer(log types.Log) (*GmxVesterTransfer, error)
ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*GmxVesterFilterer) ParseWithdraw ¶
func (_GmxVester *GmxVesterFilterer) ParseWithdraw(log types.Log) (*GmxVesterWithdraw, error)
ParseWithdraw is a log parse operation binding the contract event 0xf279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b568.
Solidity: event Withdraw(address account, uint256 claimedAmount, uint256 balance)
func (*GmxVesterFilterer) WatchApproval ¶
func (_GmxVester *GmxVesterFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *GmxVesterApproval, 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 (*GmxVesterFilterer) WatchClaim ¶
func (_GmxVester *GmxVesterFilterer) WatchClaim(opts *bind.WatchOpts, sink chan<- *GmxVesterClaim) (event.Subscription, error)
WatchClaim is a free log subscription operation binding the contract event 0x47cee97cb7acd717b3c0aa1435d004cd5b3c8c57d70dbceb4e4458bbd60e39d4.
Solidity: event Claim(address receiver, uint256 amount)
func (*GmxVesterFilterer) WatchDeposit ¶
func (_GmxVester *GmxVesterFilterer) WatchDeposit(opts *bind.WatchOpts, sink chan<- *GmxVesterDeposit) (event.Subscription, error)
WatchDeposit is a free log subscription operation binding the contract event 0xe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c.
Solidity: event Deposit(address account, uint256 amount)
func (*GmxVesterFilterer) WatchPairTransfer ¶
func (_GmxVester *GmxVesterFilterer) WatchPairTransfer(opts *bind.WatchOpts, sink chan<- *GmxVesterPairTransfer, 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 (*GmxVesterFilterer) WatchTransfer ¶
func (_GmxVester *GmxVesterFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *GmxVesterTransfer, 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 (*GmxVesterFilterer) WatchWithdraw ¶
func (_GmxVester *GmxVesterFilterer) WatchWithdraw(opts *bind.WatchOpts, sink chan<- *GmxVesterWithdraw) (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 GmxVesterPairTransfer ¶
type GmxVesterPairTransfer struct { From common.Address To common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
GmxVesterPairTransfer represents a PairTransfer event raised by the GmxVester contract.
type GmxVesterPairTransferIterator ¶
type GmxVesterPairTransferIterator struct { Event *GmxVesterPairTransfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
GmxVesterPairTransferIterator is returned from FilterPairTransfer and is used to iterate over the raw logs and unpacked data for PairTransfer events raised by the GmxVester contract.
func (*GmxVesterPairTransferIterator) Close ¶
func (it *GmxVesterPairTransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*GmxVesterPairTransferIterator) Error ¶
func (it *GmxVesterPairTransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*GmxVesterPairTransferIterator) Next ¶
func (it *GmxVesterPairTransferIterator) 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 GmxVesterRaw ¶
type GmxVesterRaw struct {
Contract *GmxVester // Generic contract binding to access the raw methods on
}
GmxVesterRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*GmxVesterRaw) Call ¶
func (_GmxVester *GmxVesterRaw) 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 (*GmxVesterRaw) Transact ¶
func (_GmxVester *GmxVesterRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*GmxVesterRaw) Transfer ¶
func (_GmxVester *GmxVesterRaw) 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 GmxVesterSession ¶
type GmxVesterSession struct { Contract *GmxVester // 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 }
GmxVesterSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*GmxVesterSession) Allowance ¶
func (_GmxVester *GmxVesterSession) 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 (*GmxVesterSession) Approve ¶
func (_GmxVester *GmxVesterSession) 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 (*GmxVesterSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address _account) view returns(uint256)
func (*GmxVesterSession) Balances ¶
Balances is a free data retrieval call binding the contract method 0x27e235e3.
Solidity: function balances(address ) view returns(uint256)
func (*GmxVesterSession) BonusRewards ¶
BonusRewards is a free data retrieval call binding the contract method 0xa2545fa5.
Solidity: function bonusRewards(address ) view returns(uint256)
func (*GmxVesterSession) Claim ¶
func (_GmxVester *GmxVesterSession) Claim() (*types.Transaction, error)
Claim is a paid mutator transaction binding the contract method 0x4e71d92d.
Solidity: function claim() returns(uint256)
func (*GmxVesterSession) ClaimForAccount ¶
func (_GmxVester *GmxVesterSession) 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 (*GmxVesterSession) Claimable ¶
Claimable is a free data retrieval call binding the contract method 0x402914f5.
Solidity: function claimable(address _account) view returns(uint256)
func (*GmxVesterSession) ClaimableToken ¶
func (_GmxVester *GmxVesterSession) ClaimableToken() (common.Address, error)
ClaimableToken is a free data retrieval call binding the contract method 0xf6d6d5aa.
Solidity: function claimableToken() view returns(address)
func (*GmxVesterSession) ClaimedAmounts ¶
ClaimedAmounts is a free data retrieval call binding the contract method 0x71417b32.
Solidity: function claimedAmounts(address ) view returns(uint256)
func (*GmxVesterSession) CumulativeClaimAmounts ¶
CumulativeClaimAmounts is a free data retrieval call binding the contract method 0xb5ff136d.
Solidity: function cumulativeClaimAmounts(address ) view returns(uint256)
func (*GmxVesterSession) CumulativeRewardDeductions ¶
func (_GmxVester *GmxVesterSession) 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 (*GmxVesterSession) Decimals ¶
func (_GmxVester *GmxVesterSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*GmxVesterSession) Deposit ¶
func (_GmxVester *GmxVesterSession) 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 (*GmxVesterSession) DepositForAccount ¶
func (_GmxVester *GmxVesterSession) 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 (*GmxVesterSession) EsToken ¶
func (_GmxVester *GmxVesterSession) EsToken() (common.Address, error)
EsToken is a free data retrieval call binding the contract method 0x16ca05c5.
Solidity: function esToken() view returns(address)
func (*GmxVesterSession) GetCombinedAverageStakedAmount ¶
func (_GmxVester *GmxVesterSession) 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 (*GmxVesterSession) GetMaxVestableAmount ¶
GetMaxVestableAmount is a free data retrieval call binding the contract method 0x08f26c76.
Solidity: function getMaxVestableAmount(address _account) view returns(uint256)
func (*GmxVesterSession) GetPairAmount ¶
func (_GmxVester *GmxVesterSession) 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 (*GmxVesterSession) GetTotalVested ¶
GetTotalVested is a free data retrieval call binding the contract method 0x93035473.
Solidity: function getTotalVested(address _account) view returns(uint256)
func (*GmxVesterSession) GetVestedAmount ¶
GetVestedAmount is a free data retrieval call binding the contract method 0xd5a73fdd.
Solidity: function getVestedAmount(address _account) view returns(uint256)
func (*GmxVesterSession) Gov ¶
func (_GmxVester *GmxVesterSession) Gov() (common.Address, error)
Gov is a free data retrieval call binding the contract method 0x12d43a51.
Solidity: function gov() view returns(address)
func (*GmxVesterSession) HasMaxVestableAmount ¶
func (_GmxVester *GmxVesterSession) HasMaxVestableAmount() (bool, error)
HasMaxVestableAmount is a free data retrieval call binding the contract method 0xacf077a5.
Solidity: function hasMaxVestableAmount() view returns(bool)
func (*GmxVesterSession) HasPairToken ¶
func (_GmxVester *GmxVesterSession) HasPairToken() (bool, error)
HasPairToken is a free data retrieval call binding the contract method 0xd75abb57.
Solidity: function hasPairToken() view returns(bool)
func (*GmxVesterSession) HasRewardTracker ¶
func (_GmxVester *GmxVesterSession) HasRewardTracker() (bool, error)
HasRewardTracker is a free data retrieval call binding the contract method 0xf421f62a.
Solidity: function hasRewardTracker() view returns(bool)
func (*GmxVesterSession) IsHandler ¶
func (_GmxVester *GmxVesterSession) 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 (*GmxVesterSession) LastVestingTimes ¶
LastVestingTimes is a free data retrieval call binding the contract method 0x0db9ea4a.
Solidity: function lastVestingTimes(address ) view returns(uint256)
func (*GmxVesterSession) Name ¶
func (_GmxVester *GmxVesterSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*GmxVesterSession) PairAmounts ¶
PairAmounts is a free data retrieval call binding the contract method 0x5d50e729.
Solidity: function pairAmounts(address ) view returns(uint256)
func (*GmxVesterSession) PairSupply ¶
func (_GmxVester *GmxVesterSession) PairSupply() (*big.Int, error)
PairSupply is a free data retrieval call binding the contract method 0x15e90a41.
Solidity: function pairSupply() view returns(uint256)
func (*GmxVesterSession) PairToken ¶
func (_GmxVester *GmxVesterSession) PairToken() (common.Address, error)
PairToken is a free data retrieval call binding the contract method 0x3de35b79.
Solidity: function pairToken() view returns(address)
func (*GmxVesterSession) RewardTracker ¶
func (_GmxVester *GmxVesterSession) RewardTracker() (common.Address, error)
RewardTracker is a free data retrieval call binding the contract method 0x6bcb411a.
Solidity: function rewardTracker() view returns(address)
func (*GmxVesterSession) SetBonusRewards ¶
func (_GmxVester *GmxVesterSession) 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 (*GmxVesterSession) SetCumulativeRewardDeductions ¶
func (_GmxVester *GmxVesterSession) 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 (*GmxVesterSession) SetGov ¶
func (_GmxVester *GmxVesterSession) 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 (*GmxVesterSession) SetHandler ¶
func (_GmxVester *GmxVesterSession) 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 (*GmxVesterSession) SetHasMaxVestableAmount ¶
func (_GmxVester *GmxVesterSession) SetHasMaxVestableAmount(_hasMaxVestableAmount bool) (*types.Transaction, error)
SetHasMaxVestableAmount is a paid mutator transaction binding the contract method 0x69de9b93.
Solidity: function setHasMaxVestableAmount(bool _hasMaxVestableAmount) returns()
func (*GmxVesterSession) SetTransferredAverageStakedAmounts ¶
func (_GmxVester *GmxVesterSession) 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 (*GmxVesterSession) SetTransferredCumulativeRewards ¶
func (_GmxVester *GmxVesterSession) 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 (*GmxVesterSession) Symbol ¶
func (_GmxVester *GmxVesterSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*GmxVesterSession) TotalSupply ¶
func (_GmxVester *GmxVesterSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*GmxVesterSession) Transfer ¶
func (_GmxVester *GmxVesterSession) 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 (*GmxVesterSession) TransferFrom ¶
func (_GmxVester *GmxVesterSession) 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 (*GmxVesterSession) TransferStakeValues ¶
func (_GmxVester *GmxVesterSession) 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 (*GmxVesterSession) TransferredAverageStakedAmounts ¶
func (_GmxVester *GmxVesterSession) 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 (*GmxVesterSession) TransferredCumulativeRewards ¶
func (_GmxVester *GmxVesterSession) 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 (*GmxVesterSession) VestingDuration ¶
func (_GmxVester *GmxVesterSession) VestingDuration() (*big.Int, error)
VestingDuration is a free data retrieval call binding the contract method 0x1514617e.
Solidity: function vestingDuration() view returns(uint256)
func (*GmxVesterSession) Withdraw ¶
func (_GmxVester *GmxVesterSession) Withdraw() (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x3ccfd60b.
Solidity: function withdraw() returns()
func (*GmxVesterSession) WithdrawToken ¶
func (_GmxVester *GmxVesterSession) 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 GmxVesterTransactor ¶
type GmxVesterTransactor struct {
// contains filtered or unexported fields
}
GmxVesterTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewGmxVesterTransactor ¶
func NewGmxVesterTransactor(address common.Address, transactor bind.ContractTransactor) (*GmxVesterTransactor, error)
NewGmxVesterTransactor creates a new write-only instance of GmxVester, bound to a specific deployed contract.
func (*GmxVesterTransactor) Approve ¶
func (_GmxVester *GmxVesterTransactor) 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 (*GmxVesterTransactor) Claim ¶
func (_GmxVester *GmxVesterTransactor) Claim(opts *bind.TransactOpts) (*types.Transaction, error)
Claim is a paid mutator transaction binding the contract method 0x4e71d92d.
Solidity: function claim() returns(uint256)
func (*GmxVesterTransactor) ClaimForAccount ¶
func (_GmxVester *GmxVesterTransactor) 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 (*GmxVesterTransactor) Deposit ¶
func (_GmxVester *GmxVesterTransactor) 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 (*GmxVesterTransactor) DepositForAccount ¶
func (_GmxVester *GmxVesterTransactor) 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 (*GmxVesterTransactor) SetBonusRewards ¶
func (_GmxVester *GmxVesterTransactor) 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 (*GmxVesterTransactor) SetCumulativeRewardDeductions ¶
func (_GmxVester *GmxVesterTransactor) 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 (*GmxVesterTransactor) SetGov ¶
func (_GmxVester *GmxVesterTransactor) 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 (*GmxVesterTransactor) SetHandler ¶
func (_GmxVester *GmxVesterTransactor) 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 (*GmxVesterTransactor) SetHasMaxVestableAmount ¶
func (_GmxVester *GmxVesterTransactor) 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 (*GmxVesterTransactor) SetTransferredAverageStakedAmounts ¶
func (_GmxVester *GmxVesterTransactor) 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 (*GmxVesterTransactor) SetTransferredCumulativeRewards ¶
func (_GmxVester *GmxVesterTransactor) 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 (*GmxVesterTransactor) Transfer ¶
func (_GmxVester *GmxVesterTransactor) 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 (*GmxVesterTransactor) TransferFrom ¶
func (_GmxVester *GmxVesterTransactor) 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 (*GmxVesterTransactor) TransferStakeValues ¶
func (_GmxVester *GmxVesterTransactor) 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 (*GmxVesterTransactor) Withdraw ¶
func (_GmxVester *GmxVesterTransactor) Withdraw(opts *bind.TransactOpts) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x3ccfd60b.
Solidity: function withdraw() returns()
func (*GmxVesterTransactor) WithdrawToken ¶
func (_GmxVester *GmxVesterTransactor) 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 GmxVesterTransactorRaw ¶
type GmxVesterTransactorRaw struct {
Contract *GmxVesterTransactor // Generic write-only contract binding to access the raw methods on
}
GmxVesterTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*GmxVesterTransactorRaw) Transact ¶
func (_GmxVester *GmxVesterTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*GmxVesterTransactorRaw) Transfer ¶
func (_GmxVester *GmxVesterTransactorRaw) 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 GmxVesterTransactorSession ¶
type GmxVesterTransactorSession struct { Contract *GmxVesterTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
GmxVesterTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*GmxVesterTransactorSession) Approve ¶
func (_GmxVester *GmxVesterTransactorSession) 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 (*GmxVesterTransactorSession) Claim ¶
func (_GmxVester *GmxVesterTransactorSession) Claim() (*types.Transaction, error)
Claim is a paid mutator transaction binding the contract method 0x4e71d92d.
Solidity: function claim() returns(uint256)
func (*GmxVesterTransactorSession) ClaimForAccount ¶
func (_GmxVester *GmxVesterTransactorSession) 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 (*GmxVesterTransactorSession) Deposit ¶
func (_GmxVester *GmxVesterTransactorSession) 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 (*GmxVesterTransactorSession) DepositForAccount ¶
func (_GmxVester *GmxVesterTransactorSession) 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 (*GmxVesterTransactorSession) SetBonusRewards ¶
func (_GmxVester *GmxVesterTransactorSession) 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 (*GmxVesterTransactorSession) SetCumulativeRewardDeductions ¶
func (_GmxVester *GmxVesterTransactorSession) 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 (*GmxVesterTransactorSession) SetGov ¶
func (_GmxVester *GmxVesterTransactorSession) 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 (*GmxVesterTransactorSession) SetHandler ¶
func (_GmxVester *GmxVesterTransactorSession) 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 (*GmxVesterTransactorSession) SetHasMaxVestableAmount ¶
func (_GmxVester *GmxVesterTransactorSession) SetHasMaxVestableAmount(_hasMaxVestableAmount bool) (*types.Transaction, error)
SetHasMaxVestableAmount is a paid mutator transaction binding the contract method 0x69de9b93.
Solidity: function setHasMaxVestableAmount(bool _hasMaxVestableAmount) returns()
func (*GmxVesterTransactorSession) SetTransferredAverageStakedAmounts ¶
func (_GmxVester *GmxVesterTransactorSession) 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 (*GmxVesterTransactorSession) SetTransferredCumulativeRewards ¶
func (_GmxVester *GmxVesterTransactorSession) 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 (*GmxVesterTransactorSession) Transfer ¶
func (_GmxVester *GmxVesterTransactorSession) 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 (*GmxVesterTransactorSession) TransferFrom ¶
func (_GmxVester *GmxVesterTransactorSession) 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 (*GmxVesterTransactorSession) TransferStakeValues ¶
func (_GmxVester *GmxVesterTransactorSession) 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 (*GmxVesterTransactorSession) Withdraw ¶
func (_GmxVester *GmxVesterTransactorSession) Withdraw() (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x3ccfd60b.
Solidity: function withdraw() returns()
func (*GmxVesterTransactorSession) WithdrawToken ¶
func (_GmxVester *GmxVesterTransactorSession) 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 GmxVesterTransfer ¶
type GmxVesterTransfer struct { From common.Address To common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
GmxVesterTransfer represents a Transfer event raised by the GmxVester contract.
type GmxVesterTransferIterator ¶
type GmxVesterTransferIterator struct { Event *GmxVesterTransfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
GmxVesterTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the GmxVester contract.
func (*GmxVesterTransferIterator) Close ¶
func (it *GmxVesterTransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*GmxVesterTransferIterator) Error ¶
func (it *GmxVesterTransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*GmxVesterTransferIterator) Next ¶
func (it *GmxVesterTransferIterator) 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 GmxVesterWithdraw ¶
type GmxVesterWithdraw struct { Account common.Address ClaimedAmount *big.Int Balance *big.Int Raw types.Log // Blockchain specific contextual infos }
GmxVesterWithdraw represents a Withdraw event raised by the GmxVester contract.
type GmxVesterWithdrawIterator ¶
type GmxVesterWithdrawIterator struct { Event *GmxVesterWithdraw // Event containing the contract specifics and raw log // contains filtered or unexported fields }
GmxVesterWithdrawIterator is returned from FilterWithdraw and is used to iterate over the raw logs and unpacked data for Withdraw events raised by the GmxVester contract.
func (*GmxVesterWithdrawIterator) Close ¶
func (it *GmxVesterWithdrawIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*GmxVesterWithdrawIterator) Error ¶
func (it *GmxVesterWithdrawIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*GmxVesterWithdrawIterator) Next ¶
func (it *GmxVesterWithdrawIterator) 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.