Documentation ¶
Index ¶
- Variables
- type Timelock
- type TimelockCaller
- func (_Timelock *TimelockCaller) Admin(opts *bind.CallOpts) (common.Address, error)
- func (_Timelock *TimelockCaller) Buffer(opts *bind.CallOpts) (*big.Int, error)
- func (_Timelock *TimelockCaller) GlpManager(opts *bind.CallOpts) (common.Address, error)
- func (_Timelock *TimelockCaller) IsHandler(opts *bind.CallOpts, arg0 common.Address) (bool, error)
- func (_Timelock *TimelockCaller) IsKeeper(opts *bind.CallOpts, arg0 common.Address) (bool, error)
- func (_Timelock *TimelockCaller) MAXBUFFER(opts *bind.CallOpts) (*big.Int, error)
- func (_Timelock *TimelockCaller) MAXFUNDINGRATEFACTOR(opts *bind.CallOpts) (*big.Int, error)
- func (_Timelock *TimelockCaller) MAXLEVERAGEVALIDATION(opts *bind.CallOpts) (*big.Int, error)
- func (_Timelock *TimelockCaller) MarginFeeBasisPoints(opts *bind.CallOpts) (*big.Int, error)
- func (_Timelock *TimelockCaller) MaxMarginFeeBasisPoints(opts *bind.CallOpts) (*big.Int, error)
- func (_Timelock *TimelockCaller) MaxTokenSupply(opts *bind.CallOpts) (*big.Int, error)
- func (_Timelock *TimelockCaller) MintReceiver(opts *bind.CallOpts) (common.Address, error)
- func (_Timelock *TimelockCaller) PRICEPRECISION(opts *bind.CallOpts) (*big.Int, error)
- func (_Timelock *TimelockCaller) PendingActions(opts *bind.CallOpts, arg0 [32]byte) (*big.Int, error)
- func (_Timelock *TimelockCaller) RewardRouter(opts *bind.CallOpts) (common.Address, error)
- func (_Timelock *TimelockCaller) ShouldToggleIsLeverageEnabled(opts *bind.CallOpts) (bool, error)
- func (_Timelock *TimelockCaller) TokenManager(opts *bind.CallOpts) (common.Address, error)
- type TimelockCallerRaw
- type TimelockCallerSession
- func (_Timelock *TimelockCallerSession) Admin() (common.Address, error)
- func (_Timelock *TimelockCallerSession) Buffer() (*big.Int, error)
- func (_Timelock *TimelockCallerSession) GlpManager() (common.Address, error)
- func (_Timelock *TimelockCallerSession) IsHandler(arg0 common.Address) (bool, error)
- func (_Timelock *TimelockCallerSession) IsKeeper(arg0 common.Address) (bool, error)
- func (_Timelock *TimelockCallerSession) MAXBUFFER() (*big.Int, error)
- func (_Timelock *TimelockCallerSession) MAXFUNDINGRATEFACTOR() (*big.Int, error)
- func (_Timelock *TimelockCallerSession) MAXLEVERAGEVALIDATION() (*big.Int, error)
- func (_Timelock *TimelockCallerSession) MarginFeeBasisPoints() (*big.Int, error)
- func (_Timelock *TimelockCallerSession) MaxMarginFeeBasisPoints() (*big.Int, error)
- func (_Timelock *TimelockCallerSession) MaxTokenSupply() (*big.Int, error)
- func (_Timelock *TimelockCallerSession) MintReceiver() (common.Address, error)
- func (_Timelock *TimelockCallerSession) PRICEPRECISION() (*big.Int, error)
- func (_Timelock *TimelockCallerSession) PendingActions(arg0 [32]byte) (*big.Int, error)
- func (_Timelock *TimelockCallerSession) RewardRouter() (common.Address, error)
- func (_Timelock *TimelockCallerSession) ShouldToggleIsLeverageEnabled() (bool, error)
- func (_Timelock *TimelockCallerSession) TokenManager() (common.Address, error)
- type TimelockClearAction
- type TimelockClearActionIterator
- type TimelockFilterer
- func (_Timelock *TimelockFilterer) FilterClearAction(opts *bind.FilterOpts) (*TimelockClearActionIterator, error)
- func (_Timelock *TimelockFilterer) FilterSignalApprove(opts *bind.FilterOpts) (*TimelockSignalApproveIterator, error)
- func (_Timelock *TimelockFilterer) FilterSignalMint(opts *bind.FilterOpts) (*TimelockSignalMintIterator, error)
- func (_Timelock *TimelockFilterer) FilterSignalPendingAction(opts *bind.FilterOpts) (*TimelockSignalPendingActionIterator, error)
- func (_Timelock *TimelockFilterer) FilterSignalRedeemUsdg(opts *bind.FilterOpts) (*TimelockSignalRedeemUsdgIterator, error)
- func (_Timelock *TimelockFilterer) FilterSignalSetGov(opts *bind.FilterOpts) (*TimelockSignalSetGovIterator, error)
- func (_Timelock *TimelockFilterer) FilterSignalSetHandler(opts *bind.FilterOpts) (*TimelockSignalSetHandlerIterator, error)
- func (_Timelock *TimelockFilterer) FilterSignalSetPriceFeed(opts *bind.FilterOpts) (*TimelockSignalSetPriceFeedIterator, error)
- func (_Timelock *TimelockFilterer) FilterSignalVaultSetTokenConfig(opts *bind.FilterOpts) (*TimelockSignalVaultSetTokenConfigIterator, error)
- func (_Timelock *TimelockFilterer) FilterSignalWithdrawToken(opts *bind.FilterOpts) (*TimelockSignalWithdrawTokenIterator, error)
- func (_Timelock *TimelockFilterer) ParseClearAction(log types.Log) (*TimelockClearAction, error)
- func (_Timelock *TimelockFilterer) ParseSignalApprove(log types.Log) (*TimelockSignalApprove, error)
- func (_Timelock *TimelockFilterer) ParseSignalMint(log types.Log) (*TimelockSignalMint, error)
- func (_Timelock *TimelockFilterer) ParseSignalPendingAction(log types.Log) (*TimelockSignalPendingAction, error)
- func (_Timelock *TimelockFilterer) ParseSignalRedeemUsdg(log types.Log) (*TimelockSignalRedeemUsdg, error)
- func (_Timelock *TimelockFilterer) ParseSignalSetGov(log types.Log) (*TimelockSignalSetGov, error)
- func (_Timelock *TimelockFilterer) ParseSignalSetHandler(log types.Log) (*TimelockSignalSetHandler, error)
- func (_Timelock *TimelockFilterer) ParseSignalSetPriceFeed(log types.Log) (*TimelockSignalSetPriceFeed, error)
- func (_Timelock *TimelockFilterer) ParseSignalVaultSetTokenConfig(log types.Log) (*TimelockSignalVaultSetTokenConfig, error)
- func (_Timelock *TimelockFilterer) ParseSignalWithdrawToken(log types.Log) (*TimelockSignalWithdrawToken, error)
- func (_Timelock *TimelockFilterer) WatchClearAction(opts *bind.WatchOpts, sink chan<- *TimelockClearAction) (event.Subscription, error)
- func (_Timelock *TimelockFilterer) WatchSignalApprove(opts *bind.WatchOpts, sink chan<- *TimelockSignalApprove) (event.Subscription, error)
- func (_Timelock *TimelockFilterer) WatchSignalMint(opts *bind.WatchOpts, sink chan<- *TimelockSignalMint) (event.Subscription, error)
- func (_Timelock *TimelockFilterer) WatchSignalPendingAction(opts *bind.WatchOpts, sink chan<- *TimelockSignalPendingAction) (event.Subscription, error)
- func (_Timelock *TimelockFilterer) WatchSignalRedeemUsdg(opts *bind.WatchOpts, sink chan<- *TimelockSignalRedeemUsdg) (event.Subscription, error)
- func (_Timelock *TimelockFilterer) WatchSignalSetGov(opts *bind.WatchOpts, sink chan<- *TimelockSignalSetGov) (event.Subscription, error)
- func (_Timelock *TimelockFilterer) WatchSignalSetHandler(opts *bind.WatchOpts, sink chan<- *TimelockSignalSetHandler) (event.Subscription, error)
- func (_Timelock *TimelockFilterer) WatchSignalSetPriceFeed(opts *bind.WatchOpts, sink chan<- *TimelockSignalSetPriceFeed) (event.Subscription, error)
- func (_Timelock *TimelockFilterer) WatchSignalVaultSetTokenConfig(opts *bind.WatchOpts, sink chan<- *TimelockSignalVaultSetTokenConfig) (event.Subscription, error)
- func (_Timelock *TimelockFilterer) WatchSignalWithdrawToken(opts *bind.WatchOpts, sink chan<- *TimelockSignalWithdrawToken) (event.Subscription, error)
- type TimelockRaw
- func (_Timelock *TimelockRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Timelock *TimelockRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Timelock *TimelockRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type TimelockSession
- func (_Timelock *TimelockSession) Admin() (common.Address, error)
- func (_Timelock *TimelockSession) Approve(_token common.Address, _spender common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_Timelock *TimelockSession) BatchSetBonusRewards(_vester common.Address, _accounts []common.Address, _amounts []*big.Int) (*types.Transaction, error)
- func (_Timelock *TimelockSession) BatchWithdrawFees(_vault common.Address, _tokens []common.Address) (*types.Transaction, error)
- func (_Timelock *TimelockSession) Buffer() (*big.Int, error)
- func (_Timelock *TimelockSession) CancelAction(_action [32]byte) (*types.Transaction, error)
- func (_Timelock *TimelockSession) DisableLeverage(_vault common.Address) (*types.Transaction, error)
- func (_Timelock *TimelockSession) EnableLeverage(_vault common.Address) (*types.Transaction, error)
- func (_Timelock *TimelockSession) GlpManager() (common.Address, error)
- func (_Timelock *TimelockSession) GovSetCodeOwner(_referralStorage common.Address, _code [32]byte, _newAccount common.Address) (*types.Transaction, error)
- func (_Timelock *TimelockSession) InitGlpManager() (*types.Transaction, error)
- func (_Timelock *TimelockSession) InitRewardRouter() (*types.Transaction, error)
- func (_Timelock *TimelockSession) IsHandler(arg0 common.Address) (bool, error)
- func (_Timelock *TimelockSession) IsKeeper(arg0 common.Address) (bool, error)
- func (_Timelock *TimelockSession) MAXBUFFER() (*big.Int, error)
- func (_Timelock *TimelockSession) MAXFUNDINGRATEFACTOR() (*big.Int, error)
- func (_Timelock *TimelockSession) MAXLEVERAGEVALIDATION() (*big.Int, error)
- func (_Timelock *TimelockSession) MarginFeeBasisPoints() (*big.Int, error)
- func (_Timelock *TimelockSession) MaxMarginFeeBasisPoints() (*big.Int, error)
- func (_Timelock *TimelockSession) MaxTokenSupply() (*big.Int, error)
- func (_Timelock *TimelockSession) MintReceiver() (common.Address, error)
- func (_Timelock *TimelockSession) PRICEPRECISION() (*big.Int, error)
- func (_Timelock *TimelockSession) PendingActions(arg0 [32]byte) (*big.Int, error)
- func (_Timelock *TimelockSession) ProcessMint(_token common.Address, _receiver common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_Timelock *TimelockSession) RedeemUsdg(_vault common.Address, _token common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_Timelock *TimelockSession) RemoveAdmin(_token common.Address, _account common.Address) (*types.Transaction, error)
- func (_Timelock *TimelockSession) RewardRouter() (common.Address, error)
- func (_Timelock *TimelockSession) SetAdmin(_admin common.Address) (*types.Transaction, error)
- func (_Timelock *TimelockSession) SetBuffer(_buffer *big.Int) (*types.Transaction, error)
- func (_Timelock *TimelockSession) SetContractHandler(_handler common.Address, _isActive bool) (*types.Transaction, error)
- func (_Timelock *TimelockSession) SetExternalAdmin(_target common.Address, _admin common.Address) (*types.Transaction, error)
- func (_Timelock *TimelockSession) SetFees(_vault common.Address, _taxBasisPoints *big.Int, ...) (*types.Transaction, error)
- func (_Timelock *TimelockSession) SetFundingRate(_vault common.Address, _fundingInterval *big.Int, _fundingRateFactor *big.Int, ...) (*types.Transaction, error)
- func (_Timelock *TimelockSession) SetGlpCooldownDuration(_cooldownDuration *big.Int) (*types.Transaction, error)
- func (_Timelock *TimelockSession) SetGov(_target common.Address, _gov common.Address) (*types.Transaction, error)
- func (_Timelock *TimelockSession) SetHandler(_target common.Address, _handler common.Address, _isActive bool) (*types.Transaction, error)
- func (_Timelock *TimelockSession) SetInPrivateLiquidationMode(_vault common.Address, _inPrivateLiquidationMode bool) (*types.Transaction, error)
- func (_Timelock *TimelockSession) SetInPrivateTransferMode(_token common.Address, _inPrivateTransferMode bool) (*types.Transaction, error)
- func (_Timelock *TimelockSession) SetIsLeverageEnabled(_vault common.Address, _isLeverageEnabled bool) (*types.Transaction, error)
- func (_Timelock *TimelockSession) SetIsSwapEnabled(_vault common.Address, _isSwapEnabled bool) (*types.Transaction, error)
- func (_Timelock *TimelockSession) SetKeeper(_keeper common.Address, _isActive bool) (*types.Transaction, error)
- func (_Timelock *TimelockSession) SetLiquidator(_vault common.Address, _liquidator common.Address, _isActive bool) (*types.Transaction, error)
- func (_Timelock *TimelockSession) SetMarginFeeBasisPoints(_marginFeeBasisPoints *big.Int, _maxMarginFeeBasisPoints *big.Int) (*types.Transaction, error)
- func (_Timelock *TimelockSession) SetMaxGasPrice(_vault common.Address, _maxGasPrice *big.Int) (*types.Transaction, error)
- func (_Timelock *TimelockSession) SetMaxGlobalShortSize(_vault common.Address, _token common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_Timelock *TimelockSession) SetMaxLeverage(_vault common.Address, _maxLeverage *big.Int) (*types.Transaction, error)
- func (_Timelock *TimelockSession) SetPriceFeed(_vault common.Address, _priceFeed common.Address) (*types.Transaction, error)
- func (_Timelock *TimelockSession) SetReferrerTier(_referralStorage common.Address, _referrer common.Address, _tierId *big.Int) (*types.Transaction, error)
- func (_Timelock *TimelockSession) SetShortsTrackerAveragePriceWeight(_shortsTrackerAveragePriceWeight *big.Int) (*types.Transaction, error)
- func (_Timelock *TimelockSession) SetShouldToggleIsLeverageEnabled(_shouldToggleIsLeverageEnabled bool) (*types.Transaction, error)
- func (_Timelock *TimelockSession) SetSwapFees(_vault common.Address, _taxBasisPoints *big.Int, ...) (*types.Transaction, error)
- func (_Timelock *TimelockSession) SetTier(_referralStorage common.Address, _tierId *big.Int, _totalRebate *big.Int, ...) (*types.Transaction, error)
- func (_Timelock *TimelockSession) SetTokenConfig(_vault common.Address, _token common.Address, _tokenWeight *big.Int, ...) (*types.Transaction, error)
- func (_Timelock *TimelockSession) SetUsdgAmounts(_vault common.Address, _tokens []common.Address, _usdgAmounts []*big.Int) (*types.Transaction, error)
- func (_Timelock *TimelockSession) SetVaultUtils(_vault common.Address, _vaultUtils common.Address) (*types.Transaction, error)
- func (_Timelock *TimelockSession) ShouldToggleIsLeverageEnabled() (bool, error)
- func (_Timelock *TimelockSession) SignalApprove(_token common.Address, _spender common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_Timelock *TimelockSession) SignalMint(_token common.Address, _receiver common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_Timelock *TimelockSession) SignalRedeemUsdg(_vault common.Address, _token common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_Timelock *TimelockSession) SignalSetGov(_target common.Address, _gov common.Address) (*types.Transaction, error)
- func (_Timelock *TimelockSession) SignalSetHandler(_target common.Address, _handler common.Address, _isActive bool) (*types.Transaction, error)
- func (_Timelock *TimelockSession) SignalSetPriceFeed(_vault common.Address, _priceFeed common.Address) (*types.Transaction, error)
- func (_Timelock *TimelockSession) SignalVaultSetTokenConfig(_vault common.Address, _token common.Address, _tokenDecimals *big.Int, ...) (*types.Transaction, error)
- func (_Timelock *TimelockSession) SignalWithdrawToken(_target common.Address, _token common.Address, _receiver common.Address, ...) (*types.Transaction, error)
- func (_Timelock *TimelockSession) TokenManager() (common.Address, error)
- func (_Timelock *TimelockSession) TransferIn(_sender common.Address, _token common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_Timelock *TimelockSession) UpdateUsdgSupply(usdgAmount *big.Int) (*types.Transaction, error)
- func (_Timelock *TimelockSession) VaultSetTokenConfig(_vault common.Address, _token common.Address, _tokenDecimals *big.Int, ...) (*types.Transaction, error)
- func (_Timelock *TimelockSession) WithdrawFees(_vault common.Address, _token common.Address, _receiver common.Address) (*types.Transaction, error)
- func (_Timelock *TimelockSession) WithdrawToken(_target common.Address, _token common.Address, _receiver common.Address, ...) (*types.Transaction, error)
- type TimelockSignalApprove
- type TimelockSignalApproveIterator
- type TimelockSignalMint
- type TimelockSignalMintIterator
- type TimelockSignalPendingAction
- type TimelockSignalPendingActionIterator
- type TimelockSignalRedeemUsdg
- type TimelockSignalRedeemUsdgIterator
- type TimelockSignalSetGov
- type TimelockSignalSetGovIterator
- type TimelockSignalSetHandler
- type TimelockSignalSetHandlerIterator
- type TimelockSignalSetPriceFeed
- type TimelockSignalSetPriceFeedIterator
- type TimelockSignalVaultSetTokenConfig
- type TimelockSignalVaultSetTokenConfigIterator
- type TimelockSignalWithdrawToken
- type TimelockSignalWithdrawTokenIterator
- type TimelockTransactor
- func (_Timelock *TimelockTransactor) Approve(opts *bind.TransactOpts, _token common.Address, _spender common.Address, ...) (*types.Transaction, error)
- func (_Timelock *TimelockTransactor) BatchSetBonusRewards(opts *bind.TransactOpts, _vester common.Address, _accounts []common.Address, ...) (*types.Transaction, error)
- func (_Timelock *TimelockTransactor) BatchWithdrawFees(opts *bind.TransactOpts, _vault common.Address, _tokens []common.Address) (*types.Transaction, error)
- func (_Timelock *TimelockTransactor) CancelAction(opts *bind.TransactOpts, _action [32]byte) (*types.Transaction, error)
- func (_Timelock *TimelockTransactor) DisableLeverage(opts *bind.TransactOpts, _vault common.Address) (*types.Transaction, error)
- func (_Timelock *TimelockTransactor) EnableLeverage(opts *bind.TransactOpts, _vault common.Address) (*types.Transaction, error)
- func (_Timelock *TimelockTransactor) GovSetCodeOwner(opts *bind.TransactOpts, _referralStorage common.Address, _code [32]byte, ...) (*types.Transaction, error)
- func (_Timelock *TimelockTransactor) InitGlpManager(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Timelock *TimelockTransactor) InitRewardRouter(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Timelock *TimelockTransactor) ProcessMint(opts *bind.TransactOpts, _token common.Address, _receiver common.Address, ...) (*types.Transaction, error)
- func (_Timelock *TimelockTransactor) RedeemUsdg(opts *bind.TransactOpts, _vault common.Address, _token common.Address, ...) (*types.Transaction, error)
- func (_Timelock *TimelockTransactor) RemoveAdmin(opts *bind.TransactOpts, _token common.Address, _account common.Address) (*types.Transaction, error)
- func (_Timelock *TimelockTransactor) SetAdmin(opts *bind.TransactOpts, _admin common.Address) (*types.Transaction, error)
- func (_Timelock *TimelockTransactor) SetBuffer(opts *bind.TransactOpts, _buffer *big.Int) (*types.Transaction, error)
- func (_Timelock *TimelockTransactor) SetContractHandler(opts *bind.TransactOpts, _handler common.Address, _isActive bool) (*types.Transaction, error)
- func (_Timelock *TimelockTransactor) SetExternalAdmin(opts *bind.TransactOpts, _target common.Address, _admin common.Address) (*types.Transaction, error)
- func (_Timelock *TimelockTransactor) SetFees(opts *bind.TransactOpts, _vault common.Address, _taxBasisPoints *big.Int, ...) (*types.Transaction, error)
- func (_Timelock *TimelockTransactor) SetFundingRate(opts *bind.TransactOpts, _vault common.Address, _fundingInterval *big.Int, ...) (*types.Transaction, error)
- func (_Timelock *TimelockTransactor) SetGlpCooldownDuration(opts *bind.TransactOpts, _cooldownDuration *big.Int) (*types.Transaction, error)
- func (_Timelock *TimelockTransactor) SetGov(opts *bind.TransactOpts, _target common.Address, _gov common.Address) (*types.Transaction, error)
- func (_Timelock *TimelockTransactor) SetHandler(opts *bind.TransactOpts, _target common.Address, _handler common.Address, ...) (*types.Transaction, error)
- func (_Timelock *TimelockTransactor) SetInPrivateLiquidationMode(opts *bind.TransactOpts, _vault common.Address, _inPrivateLiquidationMode bool) (*types.Transaction, error)
- func (_Timelock *TimelockTransactor) SetInPrivateTransferMode(opts *bind.TransactOpts, _token common.Address, _inPrivateTransferMode bool) (*types.Transaction, error)
- func (_Timelock *TimelockTransactor) SetIsLeverageEnabled(opts *bind.TransactOpts, _vault common.Address, _isLeverageEnabled bool) (*types.Transaction, error)
- func (_Timelock *TimelockTransactor) SetIsSwapEnabled(opts *bind.TransactOpts, _vault common.Address, _isSwapEnabled bool) (*types.Transaction, error)
- func (_Timelock *TimelockTransactor) SetKeeper(opts *bind.TransactOpts, _keeper common.Address, _isActive bool) (*types.Transaction, error)
- func (_Timelock *TimelockTransactor) SetLiquidator(opts *bind.TransactOpts, _vault common.Address, _liquidator common.Address, ...) (*types.Transaction, error)
- func (_Timelock *TimelockTransactor) SetMarginFeeBasisPoints(opts *bind.TransactOpts, _marginFeeBasisPoints *big.Int, ...) (*types.Transaction, error)
- func (_Timelock *TimelockTransactor) SetMaxGasPrice(opts *bind.TransactOpts, _vault common.Address, _maxGasPrice *big.Int) (*types.Transaction, error)
- func (_Timelock *TimelockTransactor) SetMaxGlobalShortSize(opts *bind.TransactOpts, _vault common.Address, _token common.Address, ...) (*types.Transaction, error)
- func (_Timelock *TimelockTransactor) SetMaxLeverage(opts *bind.TransactOpts, _vault common.Address, _maxLeverage *big.Int) (*types.Transaction, error)
- func (_Timelock *TimelockTransactor) SetPriceFeed(opts *bind.TransactOpts, _vault common.Address, _priceFeed common.Address) (*types.Transaction, error)
- func (_Timelock *TimelockTransactor) SetReferrerTier(opts *bind.TransactOpts, _referralStorage common.Address, ...) (*types.Transaction, error)
- func (_Timelock *TimelockTransactor) SetShortsTrackerAveragePriceWeight(opts *bind.TransactOpts, _shortsTrackerAveragePriceWeight *big.Int) (*types.Transaction, error)
- func (_Timelock *TimelockTransactor) SetShouldToggleIsLeverageEnabled(opts *bind.TransactOpts, _shouldToggleIsLeverageEnabled bool) (*types.Transaction, error)
- func (_Timelock *TimelockTransactor) SetSwapFees(opts *bind.TransactOpts, _vault common.Address, _taxBasisPoints *big.Int, ...) (*types.Transaction, error)
- func (_Timelock *TimelockTransactor) SetTier(opts *bind.TransactOpts, _referralStorage common.Address, _tierId *big.Int, ...) (*types.Transaction, error)
- func (_Timelock *TimelockTransactor) SetTokenConfig(opts *bind.TransactOpts, _vault common.Address, _token common.Address, ...) (*types.Transaction, error)
- func (_Timelock *TimelockTransactor) SetUsdgAmounts(opts *bind.TransactOpts, _vault common.Address, _tokens []common.Address, ...) (*types.Transaction, error)
- func (_Timelock *TimelockTransactor) SetVaultUtils(opts *bind.TransactOpts, _vault common.Address, _vaultUtils common.Address) (*types.Transaction, error)
- func (_Timelock *TimelockTransactor) SignalApprove(opts *bind.TransactOpts, _token common.Address, _spender common.Address, ...) (*types.Transaction, error)
- func (_Timelock *TimelockTransactor) SignalMint(opts *bind.TransactOpts, _token common.Address, _receiver common.Address, ...) (*types.Transaction, error)
- func (_Timelock *TimelockTransactor) SignalRedeemUsdg(opts *bind.TransactOpts, _vault common.Address, _token common.Address, ...) (*types.Transaction, error)
- func (_Timelock *TimelockTransactor) SignalSetGov(opts *bind.TransactOpts, _target common.Address, _gov common.Address) (*types.Transaction, error)
- func (_Timelock *TimelockTransactor) SignalSetHandler(opts *bind.TransactOpts, _target common.Address, _handler common.Address, ...) (*types.Transaction, error)
- func (_Timelock *TimelockTransactor) SignalSetPriceFeed(opts *bind.TransactOpts, _vault common.Address, _priceFeed common.Address) (*types.Transaction, error)
- func (_Timelock *TimelockTransactor) SignalVaultSetTokenConfig(opts *bind.TransactOpts, _vault common.Address, _token common.Address, ...) (*types.Transaction, error)
- func (_Timelock *TimelockTransactor) SignalWithdrawToken(opts *bind.TransactOpts, _target common.Address, _token common.Address, ...) (*types.Transaction, error)
- func (_Timelock *TimelockTransactor) TransferIn(opts *bind.TransactOpts, _sender common.Address, _token common.Address, ...) (*types.Transaction, error)
- func (_Timelock *TimelockTransactor) UpdateUsdgSupply(opts *bind.TransactOpts, usdgAmount *big.Int) (*types.Transaction, error)
- func (_Timelock *TimelockTransactor) VaultSetTokenConfig(opts *bind.TransactOpts, _vault common.Address, _token common.Address, ...) (*types.Transaction, error)
- func (_Timelock *TimelockTransactor) WithdrawFees(opts *bind.TransactOpts, _vault common.Address, _token common.Address, ...) (*types.Transaction, error)
- func (_Timelock *TimelockTransactor) WithdrawToken(opts *bind.TransactOpts, _target common.Address, _token common.Address, ...) (*types.Transaction, error)
- type TimelockTransactorRaw
- type TimelockTransactorSession
- func (_Timelock *TimelockTransactorSession) Approve(_token common.Address, _spender common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_Timelock *TimelockTransactorSession) BatchSetBonusRewards(_vester common.Address, _accounts []common.Address, _amounts []*big.Int) (*types.Transaction, error)
- func (_Timelock *TimelockTransactorSession) BatchWithdrawFees(_vault common.Address, _tokens []common.Address) (*types.Transaction, error)
- func (_Timelock *TimelockTransactorSession) CancelAction(_action [32]byte) (*types.Transaction, error)
- func (_Timelock *TimelockTransactorSession) DisableLeverage(_vault common.Address) (*types.Transaction, error)
- func (_Timelock *TimelockTransactorSession) EnableLeverage(_vault common.Address) (*types.Transaction, error)
- func (_Timelock *TimelockTransactorSession) GovSetCodeOwner(_referralStorage common.Address, _code [32]byte, _newAccount common.Address) (*types.Transaction, error)
- func (_Timelock *TimelockTransactorSession) InitGlpManager() (*types.Transaction, error)
- func (_Timelock *TimelockTransactorSession) InitRewardRouter() (*types.Transaction, error)
- func (_Timelock *TimelockTransactorSession) ProcessMint(_token common.Address, _receiver common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_Timelock *TimelockTransactorSession) RedeemUsdg(_vault common.Address, _token common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_Timelock *TimelockTransactorSession) RemoveAdmin(_token common.Address, _account common.Address) (*types.Transaction, error)
- func (_Timelock *TimelockTransactorSession) SetAdmin(_admin common.Address) (*types.Transaction, error)
- func (_Timelock *TimelockTransactorSession) SetBuffer(_buffer *big.Int) (*types.Transaction, error)
- func (_Timelock *TimelockTransactorSession) SetContractHandler(_handler common.Address, _isActive bool) (*types.Transaction, error)
- func (_Timelock *TimelockTransactorSession) SetExternalAdmin(_target common.Address, _admin common.Address) (*types.Transaction, error)
- func (_Timelock *TimelockTransactorSession) SetFees(_vault common.Address, _taxBasisPoints *big.Int, ...) (*types.Transaction, error)
- func (_Timelock *TimelockTransactorSession) SetFundingRate(_vault common.Address, _fundingInterval *big.Int, _fundingRateFactor *big.Int, ...) (*types.Transaction, error)
- func (_Timelock *TimelockTransactorSession) SetGlpCooldownDuration(_cooldownDuration *big.Int) (*types.Transaction, error)
- func (_Timelock *TimelockTransactorSession) SetGov(_target common.Address, _gov common.Address) (*types.Transaction, error)
- func (_Timelock *TimelockTransactorSession) SetHandler(_target common.Address, _handler common.Address, _isActive bool) (*types.Transaction, error)
- func (_Timelock *TimelockTransactorSession) SetInPrivateLiquidationMode(_vault common.Address, _inPrivateLiquidationMode bool) (*types.Transaction, error)
- func (_Timelock *TimelockTransactorSession) SetInPrivateTransferMode(_token common.Address, _inPrivateTransferMode bool) (*types.Transaction, error)
- func (_Timelock *TimelockTransactorSession) SetIsLeverageEnabled(_vault common.Address, _isLeverageEnabled bool) (*types.Transaction, error)
- func (_Timelock *TimelockTransactorSession) SetIsSwapEnabled(_vault common.Address, _isSwapEnabled bool) (*types.Transaction, error)
- func (_Timelock *TimelockTransactorSession) SetKeeper(_keeper common.Address, _isActive bool) (*types.Transaction, error)
- func (_Timelock *TimelockTransactorSession) SetLiquidator(_vault common.Address, _liquidator common.Address, _isActive bool) (*types.Transaction, error)
- func (_Timelock *TimelockTransactorSession) SetMarginFeeBasisPoints(_marginFeeBasisPoints *big.Int, _maxMarginFeeBasisPoints *big.Int) (*types.Transaction, error)
- func (_Timelock *TimelockTransactorSession) SetMaxGasPrice(_vault common.Address, _maxGasPrice *big.Int) (*types.Transaction, error)
- func (_Timelock *TimelockTransactorSession) SetMaxGlobalShortSize(_vault common.Address, _token common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_Timelock *TimelockTransactorSession) SetMaxLeverage(_vault common.Address, _maxLeverage *big.Int) (*types.Transaction, error)
- func (_Timelock *TimelockTransactorSession) SetPriceFeed(_vault common.Address, _priceFeed common.Address) (*types.Transaction, error)
- func (_Timelock *TimelockTransactorSession) SetReferrerTier(_referralStorage common.Address, _referrer common.Address, _tierId *big.Int) (*types.Transaction, error)
- func (_Timelock *TimelockTransactorSession) SetShortsTrackerAveragePriceWeight(_shortsTrackerAveragePriceWeight *big.Int) (*types.Transaction, error)
- func (_Timelock *TimelockTransactorSession) SetShouldToggleIsLeverageEnabled(_shouldToggleIsLeverageEnabled bool) (*types.Transaction, error)
- func (_Timelock *TimelockTransactorSession) SetSwapFees(_vault common.Address, _taxBasisPoints *big.Int, ...) (*types.Transaction, error)
- func (_Timelock *TimelockTransactorSession) SetTier(_referralStorage common.Address, _tierId *big.Int, _totalRebate *big.Int, ...) (*types.Transaction, error)
- func (_Timelock *TimelockTransactorSession) SetTokenConfig(_vault common.Address, _token common.Address, _tokenWeight *big.Int, ...) (*types.Transaction, error)
- func (_Timelock *TimelockTransactorSession) SetUsdgAmounts(_vault common.Address, _tokens []common.Address, _usdgAmounts []*big.Int) (*types.Transaction, error)
- func (_Timelock *TimelockTransactorSession) SetVaultUtils(_vault common.Address, _vaultUtils common.Address) (*types.Transaction, error)
- func (_Timelock *TimelockTransactorSession) SignalApprove(_token common.Address, _spender common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_Timelock *TimelockTransactorSession) SignalMint(_token common.Address, _receiver common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_Timelock *TimelockTransactorSession) SignalRedeemUsdg(_vault common.Address, _token common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_Timelock *TimelockTransactorSession) SignalSetGov(_target common.Address, _gov common.Address) (*types.Transaction, error)
- func (_Timelock *TimelockTransactorSession) SignalSetHandler(_target common.Address, _handler common.Address, _isActive bool) (*types.Transaction, error)
- func (_Timelock *TimelockTransactorSession) SignalSetPriceFeed(_vault common.Address, _priceFeed common.Address) (*types.Transaction, error)
- func (_Timelock *TimelockTransactorSession) SignalVaultSetTokenConfig(_vault common.Address, _token common.Address, _tokenDecimals *big.Int, ...) (*types.Transaction, error)
- func (_Timelock *TimelockTransactorSession) SignalWithdrawToken(_target common.Address, _token common.Address, _receiver common.Address, ...) (*types.Transaction, error)
- func (_Timelock *TimelockTransactorSession) TransferIn(_sender common.Address, _token common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_Timelock *TimelockTransactorSession) UpdateUsdgSupply(usdgAmount *big.Int) (*types.Transaction, error)
- func (_Timelock *TimelockTransactorSession) VaultSetTokenConfig(_vault common.Address, _token common.Address, _tokenDecimals *big.Int, ...) (*types.Transaction, error)
- func (_Timelock *TimelockTransactorSession) WithdrawFees(_vault common.Address, _token common.Address, _receiver common.Address) (*types.Transaction, error)
- func (_Timelock *TimelockTransactorSession) WithdrawToken(_target common.Address, _token common.Address, _receiver common.Address, ...) (*types.Transaction, error)
Constants ¶
This section is empty.
Variables ¶
var TimelockABI = TimelockMetaData.ABI
TimelockABI is the input ABI used to generate the binding from. Deprecated: Use TimelockMetaData.ABI instead.
var TimelockMetaData = &bind.MetaData{
ABI: "[{\"type\":\"constructor\",\"inputs\":[{\"name\":\"_admin\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_buffer\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_tokenManager\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_mintReceiver\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_glpManager\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_rewardRouter\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_maxTokenSupply\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_marginFeeBasisPoints\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_maxMarginFeeBasisPoints\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"MAX_BUFFER\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"MAX_FUNDING_RATE_FACTOR\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"MAX_LEVERAGE_VALIDATION\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"PRICE_PRECISION\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"admin\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"approve\",\"inputs\":[{\"name\":\"_token\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_spender\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"batchSetBonusRewards\",\"inputs\":[{\"name\":\"_vester\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_accounts\",\"type\":\"address[]\",\"internalType\":\"address[]\"},{\"name\":\"_amounts\",\"type\":\"uint256[]\",\"internalType\":\"uint256[]\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"batchWithdrawFees\",\"inputs\":[{\"name\":\"_vault\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_tokens\",\"type\":\"address[]\",\"internalType\":\"address[]\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"buffer\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"cancelAction\",\"inputs\":[{\"name\":\"_action\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"disableLeverage\",\"inputs\":[{\"name\":\"_vault\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"enableLeverage\",\"inputs\":[{\"name\":\"_vault\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"glpManager\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"govSetCodeOwner\",\"inputs\":[{\"name\":\"_referralStorage\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_code\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"_newAccount\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"initGlpManager\",\"inputs\":[],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"initRewardRouter\",\"inputs\":[],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"isHandler\",\"inputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"isKeeper\",\"inputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"marginFeeBasisPoints\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"maxMarginFeeBasisPoints\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"maxTokenSupply\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"mintReceiver\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"pendingActions\",\"inputs\":[{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"processMint\",\"inputs\":[{\"name\":\"_token\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_receiver\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"redeemUsdg\",\"inputs\":[{\"name\":\"_vault\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_token\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"removeAdmin\",\"inputs\":[{\"name\":\"_token\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_account\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"rewardRouter\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"setAdmin\",\"inputs\":[{\"name\":\"_admin\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"setBuffer\",\"inputs\":[{\"name\":\"_buffer\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"setContractHandler\",\"inputs\":[{\"name\":\"_handler\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_isActive\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"setExternalAdmin\",\"inputs\":[{\"name\":\"_target\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_admin\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"setFees\",\"inputs\":[{\"name\":\"_vault\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_taxBasisPoints\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_stableTaxBasisPoints\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_mintBurnFeeBasisPoints\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_swapFeeBasisPoints\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_stableSwapFeeBasisPoints\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_marginFeeBasisPoints\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_liquidationFeeUsd\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_minProfitTime\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_hasDynamicFees\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"setFundingRate\",\"inputs\":[{\"name\":\"_vault\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_fundingInterval\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_fundingRateFactor\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_stableFundingRateFactor\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"setGlpCooldownDuration\",\"inputs\":[{\"name\":\"_cooldownDuration\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"setGov\",\"inputs\":[{\"name\":\"_target\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_gov\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"setHandler\",\"inputs\":[{\"name\":\"_target\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_handler\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_isActive\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"setInPrivateLiquidationMode\",\"inputs\":[{\"name\":\"_vault\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_inPrivateLiquidationMode\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"setInPrivateTransferMode\",\"inputs\":[{\"name\":\"_token\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_inPrivateTransferMode\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"setIsLeverageEnabled\",\"inputs\":[{\"name\":\"_vault\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_isLeverageEnabled\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"setIsSwapEnabled\",\"inputs\":[{\"name\":\"_vault\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_isSwapEnabled\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"setKeeper\",\"inputs\":[{\"name\":\"_keeper\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_isActive\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"setLiquidator\",\"inputs\":[{\"name\":\"_vault\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_liquidator\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_isActive\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"setMarginFeeBasisPoints\",\"inputs\":[{\"name\":\"_marginFeeBasisPoints\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_maxMarginFeeBasisPoints\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"setMaxGasPrice\",\"inputs\":[{\"name\":\"_vault\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_maxGasPrice\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"setMaxGlobalShortSize\",\"inputs\":[{\"name\":\"_vault\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_token\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"setMaxLeverage\",\"inputs\":[{\"name\":\"_vault\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_maxLeverage\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"setPriceFeed\",\"inputs\":[{\"name\":\"_vault\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_priceFeed\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"setReferrerTier\",\"inputs\":[{\"name\":\"_referralStorage\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_referrer\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_tierId\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"setShortsTrackerAveragePriceWeight\",\"inputs\":[{\"name\":\"_shortsTrackerAveragePriceWeight\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"setShouldToggleIsLeverageEnabled\",\"inputs\":[{\"name\":\"_shouldToggleIsLeverageEnabled\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"setSwapFees\",\"inputs\":[{\"name\":\"_vault\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_taxBasisPoints\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_stableTaxBasisPoints\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_mintBurnFeeBasisPoints\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_swapFeeBasisPoints\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_stableSwapFeeBasisPoints\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"setTier\",\"inputs\":[{\"name\":\"_referralStorage\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_tierId\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_totalRebate\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_discountShare\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"setTokenConfig\",\"inputs\":[{\"name\":\"_vault\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_token\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_tokenWeight\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_minProfitBps\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_maxUsdgAmount\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_bufferAmount\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_usdgAmount\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"setUsdgAmounts\",\"inputs\":[{\"name\":\"_vault\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_tokens\",\"type\":\"address[]\",\"internalType\":\"address[]\"},{\"name\":\"_usdgAmounts\",\"type\":\"uint256[]\",\"internalType\":\"uint256[]\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"setVaultUtils\",\"inputs\":[{\"name\":\"_vault\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_vaultUtils\",\"type\":\"address\",\"internalType\":\"contractIVaultUtils\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"shouldToggleIsLeverageEnabled\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"signalApprove\",\"inputs\":[{\"name\":\"_token\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_spender\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"signalMint\",\"inputs\":[{\"name\":\"_token\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_receiver\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"signalRedeemUsdg\",\"inputs\":[{\"name\":\"_vault\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_token\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"signalSetGov\",\"inputs\":[{\"name\":\"_target\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_gov\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"signalSetHandler\",\"inputs\":[{\"name\":\"_target\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_handler\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_isActive\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"signalSetPriceFeed\",\"inputs\":[{\"name\":\"_vault\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_priceFeed\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"signalVaultSetTokenConfig\",\"inputs\":[{\"name\":\"_vault\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_token\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_tokenDecimals\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_tokenWeight\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_minProfitBps\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_maxUsdgAmount\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_isStable\",\"type\":\"bool\",\"internalType\":\"bool\"},{\"name\":\"_isShortable\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"signalWithdrawToken\",\"inputs\":[{\"name\":\"_target\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_token\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_receiver\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"tokenManager\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"transferIn\",\"inputs\":[{\"name\":\"_sender\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_token\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"updateUsdgSupply\",\"inputs\":[{\"name\":\"usdgAmount\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"vaultSetTokenConfig\",\"inputs\":[{\"name\":\"_vault\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_token\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_tokenDecimals\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_tokenWeight\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_minProfitBps\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_maxUsdgAmount\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_isStable\",\"type\":\"bool\",\"internalType\":\"bool\"},{\"name\":\"_isShortable\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"withdrawFees\",\"inputs\":[{\"name\":\"_vault\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_token\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_receiver\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"withdrawToken\",\"inputs\":[{\"name\":\"_target\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_token\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_receiver\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"event\",\"name\":\"ClearAction\",\"inputs\":[{\"name\":\"action\",\"type\":\"bytes32\",\"indexed\":false,\"internalType\":\"bytes32\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"SignalApprove\",\"inputs\":[{\"name\":\"token\",\"type\":\"address\",\"indexed\":false,\"internalType\":\"address\"},{\"name\":\"spender\",\"type\":\"address\",\"indexed\":false,\"internalType\":\"address\"},{\"name\":\"amount\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"},{\"name\":\"action\",\"type\":\"bytes32\",\"indexed\":false,\"internalType\":\"bytes32\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"SignalMint\",\"inputs\":[{\"name\":\"token\",\"type\":\"address\",\"indexed\":false,\"internalType\":\"address\"},{\"name\":\"receiver\",\"type\":\"address\",\"indexed\":false,\"internalType\":\"address\"},{\"name\":\"amount\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"},{\"name\":\"action\",\"type\":\"bytes32\",\"indexed\":false,\"internalType\":\"bytes32\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"SignalPendingAction\",\"inputs\":[{\"name\":\"action\",\"type\":\"bytes32\",\"indexed\":false,\"internalType\":\"bytes32\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"SignalRedeemUsdg\",\"inputs\":[{\"name\":\"vault\",\"type\":\"address\",\"indexed\":false,\"internalType\":\"address\"},{\"name\":\"token\",\"type\":\"address\",\"indexed\":false,\"internalType\":\"address\"},{\"name\":\"amount\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"SignalSetGov\",\"inputs\":[{\"name\":\"target\",\"type\":\"address\",\"indexed\":false,\"internalType\":\"address\"},{\"name\":\"gov\",\"type\":\"address\",\"indexed\":false,\"internalType\":\"address\"},{\"name\":\"action\",\"type\":\"bytes32\",\"indexed\":false,\"internalType\":\"bytes32\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"SignalSetHandler\",\"inputs\":[{\"name\":\"target\",\"type\":\"address\",\"indexed\":false,\"internalType\":\"address\"},{\"name\":\"handler\",\"type\":\"address\",\"indexed\":false,\"internalType\":\"address\"},{\"name\":\"isActive\",\"type\":\"bool\",\"indexed\":false,\"internalType\":\"bool\"},{\"name\":\"action\",\"type\":\"bytes32\",\"indexed\":false,\"internalType\":\"bytes32\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"SignalSetPriceFeed\",\"inputs\":[{\"name\":\"vault\",\"type\":\"address\",\"indexed\":false,\"internalType\":\"address\"},{\"name\":\"priceFeed\",\"type\":\"address\",\"indexed\":false,\"internalType\":\"address\"},{\"name\":\"action\",\"type\":\"bytes32\",\"indexed\":false,\"internalType\":\"bytes32\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"SignalVaultSetTokenConfig\",\"inputs\":[{\"name\":\"vault\",\"type\":\"address\",\"indexed\":false,\"internalType\":\"address\"},{\"name\":\"token\",\"type\":\"address\",\"indexed\":false,\"internalType\":\"address\"},{\"name\":\"tokenDecimals\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"},{\"name\":\"tokenWeight\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"},{\"name\":\"minProfitBps\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"},{\"name\":\"maxUsdgAmount\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"},{\"name\":\"isStable\",\"type\":\"bool\",\"indexed\":false,\"internalType\":\"bool\"},{\"name\":\"isShortable\",\"type\":\"bool\",\"indexed\":false,\"internalType\":\"bool\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"SignalWithdrawToken\",\"inputs\":[{\"name\":\"target\",\"type\":\"address\",\"indexed\":false,\"internalType\":\"address\"},{\"name\":\"token\",\"type\":\"address\",\"indexed\":false,\"internalType\":\"address\"},{\"name\":\"receiver\",\"type\":\"address\",\"indexed\":false,\"internalType\":\"address\"},{\"name\":\"amount\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"},{\"name\":\"action\",\"type\":\"bytes32\",\"indexed\":false,\"internalType\":\"bytes32\"}],\"anonymous\":false}]",
}
TimelockMetaData contains all meta data concerning the Timelock contract.
Functions ¶
This section is empty.
Types ¶
type Timelock ¶
type Timelock struct { TimelockCaller // Read-only binding to the contract TimelockTransactor // Write-only binding to the contract TimelockFilterer // Log filterer for contract events }
Timelock is an auto generated Go binding around an Ethereum contract.
func NewTimelock ¶
NewTimelock creates a new instance of Timelock, bound to a specific deployed contract.
type TimelockCaller ¶
type TimelockCaller struct {
// contains filtered or unexported fields
}
TimelockCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewTimelockCaller ¶
func NewTimelockCaller(address common.Address, caller bind.ContractCaller) (*TimelockCaller, error)
NewTimelockCaller creates a new read-only instance of Timelock, bound to a specific deployed contract.
func (*TimelockCaller) Admin ¶
Admin is a free data retrieval call binding the contract method 0xf851a440.
Solidity: function admin() view returns(address)
func (*TimelockCaller) Buffer ¶
Buffer is a free data retrieval call binding the contract method 0xedaafe20.
Solidity: function buffer() view returns(uint256)
func (*TimelockCaller) GlpManager ¶
GlpManager is a free data retrieval call binding the contract method 0xfa6db1bc.
Solidity: function glpManager() view returns(address)
func (*TimelockCaller) IsHandler ¶
IsHandler is a free data retrieval call binding the contract method 0x46ea87af.
Solidity: function isHandler(address ) view returns(bool)
func (*TimelockCaller) IsKeeper ¶
IsKeeper is a free data retrieval call binding the contract method 0x6ba42aaa.
Solidity: function isKeeper(address ) view returns(bool)
func (*TimelockCaller) MAXBUFFER ¶
MAXBUFFER is a free data retrieval call binding the contract method 0x61d07569.
Solidity: function MAX_BUFFER() view returns(uint256)
func (*TimelockCaller) MAXFUNDINGRATEFACTOR ¶
MAXFUNDINGRATEFACTOR is a free data retrieval call binding the contract method 0x8a39735a.
Solidity: function MAX_FUNDING_RATE_FACTOR() view returns(uint256)
func (*TimelockCaller) MAXLEVERAGEVALIDATION ¶
MAXLEVERAGEVALIDATION is a free data retrieval call binding the contract method 0x2ba3725a.
Solidity: function MAX_LEVERAGE_VALIDATION() view returns(uint256)
func (*TimelockCaller) MarginFeeBasisPoints ¶
MarginFeeBasisPoints is a free data retrieval call binding the contract method 0x318bc689.
Solidity: function marginFeeBasisPoints() view returns(uint256)
func (*TimelockCaller) MaxMarginFeeBasisPoints ¶
MaxMarginFeeBasisPoints is a free data retrieval call binding the contract method 0x996e2bc9.
Solidity: function maxMarginFeeBasisPoints() view returns(uint256)
func (*TimelockCaller) MaxTokenSupply ¶
MaxTokenSupply is a free data retrieval call binding the contract method 0x50f7c204.
Solidity: function maxTokenSupply() view returns(uint256)
func (*TimelockCaller) MintReceiver ¶
MintReceiver is a free data retrieval call binding the contract method 0xc7bb26a0.
Solidity: function mintReceiver() view returns(address)
func (*TimelockCaller) PRICEPRECISION ¶
PRICEPRECISION is a free data retrieval call binding the contract method 0x95082d25.
Solidity: function PRICE_PRECISION() view returns(uint256)
func (*TimelockCaller) PendingActions ¶
func (_Timelock *TimelockCaller) PendingActions(opts *bind.CallOpts, arg0 [32]byte) (*big.Int, error)
PendingActions is a free data retrieval call binding the contract method 0xe30569e5.
Solidity: function pendingActions(bytes32 ) view returns(uint256)
func (*TimelockCaller) RewardRouter ¶
RewardRouter is a free data retrieval call binding the contract method 0x5a3bb989.
Solidity: function rewardRouter() view returns(address)
func (*TimelockCaller) ShouldToggleIsLeverageEnabled ¶
func (_Timelock *TimelockCaller) ShouldToggleIsLeverageEnabled(opts *bind.CallOpts) (bool, error)
ShouldToggleIsLeverageEnabled is a free data retrieval call binding the contract method 0x23aaad12.
Solidity: function shouldToggleIsLeverageEnabled() view returns(bool)
func (*TimelockCaller) TokenManager ¶
TokenManager is a free data retrieval call binding the contract method 0x2a709b14.
Solidity: function tokenManager() view returns(address)
type TimelockCallerRaw ¶
type TimelockCallerRaw struct {
Contract *TimelockCaller // Generic read-only contract binding to access the raw methods on
}
TimelockCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*TimelockCallerRaw) Call ¶
func (_Timelock *TimelockCallerRaw) 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 TimelockCallerSession ¶
type TimelockCallerSession struct { Contract *TimelockCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
TimelockCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*TimelockCallerSession) Admin ¶
func (_Timelock *TimelockCallerSession) Admin() (common.Address, error)
Admin is a free data retrieval call binding the contract method 0xf851a440.
Solidity: function admin() view returns(address)
func (*TimelockCallerSession) Buffer ¶
func (_Timelock *TimelockCallerSession) Buffer() (*big.Int, error)
Buffer is a free data retrieval call binding the contract method 0xedaafe20.
Solidity: function buffer() view returns(uint256)
func (*TimelockCallerSession) GlpManager ¶
func (_Timelock *TimelockCallerSession) GlpManager() (common.Address, error)
GlpManager is a free data retrieval call binding the contract method 0xfa6db1bc.
Solidity: function glpManager() view returns(address)
func (*TimelockCallerSession) IsHandler ¶
func (_Timelock *TimelockCallerSession) 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 (*TimelockCallerSession) IsKeeper ¶
func (_Timelock *TimelockCallerSession) IsKeeper(arg0 common.Address) (bool, error)
IsKeeper is a free data retrieval call binding the contract method 0x6ba42aaa.
Solidity: function isKeeper(address ) view returns(bool)
func (*TimelockCallerSession) MAXBUFFER ¶
func (_Timelock *TimelockCallerSession) MAXBUFFER() (*big.Int, error)
MAXBUFFER is a free data retrieval call binding the contract method 0x61d07569.
Solidity: function MAX_BUFFER() view returns(uint256)
func (*TimelockCallerSession) MAXFUNDINGRATEFACTOR ¶
func (_Timelock *TimelockCallerSession) MAXFUNDINGRATEFACTOR() (*big.Int, error)
MAXFUNDINGRATEFACTOR is a free data retrieval call binding the contract method 0x8a39735a.
Solidity: function MAX_FUNDING_RATE_FACTOR() view returns(uint256)
func (*TimelockCallerSession) MAXLEVERAGEVALIDATION ¶
func (_Timelock *TimelockCallerSession) MAXLEVERAGEVALIDATION() (*big.Int, error)
MAXLEVERAGEVALIDATION is a free data retrieval call binding the contract method 0x2ba3725a.
Solidity: function MAX_LEVERAGE_VALIDATION() view returns(uint256)
func (*TimelockCallerSession) MarginFeeBasisPoints ¶
func (_Timelock *TimelockCallerSession) MarginFeeBasisPoints() (*big.Int, error)
MarginFeeBasisPoints is a free data retrieval call binding the contract method 0x318bc689.
Solidity: function marginFeeBasisPoints() view returns(uint256)
func (*TimelockCallerSession) MaxMarginFeeBasisPoints ¶
func (_Timelock *TimelockCallerSession) MaxMarginFeeBasisPoints() (*big.Int, error)
MaxMarginFeeBasisPoints is a free data retrieval call binding the contract method 0x996e2bc9.
Solidity: function maxMarginFeeBasisPoints() view returns(uint256)
func (*TimelockCallerSession) MaxTokenSupply ¶
func (_Timelock *TimelockCallerSession) MaxTokenSupply() (*big.Int, error)
MaxTokenSupply is a free data retrieval call binding the contract method 0x50f7c204.
Solidity: function maxTokenSupply() view returns(uint256)
func (*TimelockCallerSession) MintReceiver ¶
func (_Timelock *TimelockCallerSession) MintReceiver() (common.Address, error)
MintReceiver is a free data retrieval call binding the contract method 0xc7bb26a0.
Solidity: function mintReceiver() view returns(address)
func (*TimelockCallerSession) PRICEPRECISION ¶
func (_Timelock *TimelockCallerSession) PRICEPRECISION() (*big.Int, error)
PRICEPRECISION is a free data retrieval call binding the contract method 0x95082d25.
Solidity: function PRICE_PRECISION() view returns(uint256)
func (*TimelockCallerSession) PendingActions ¶
func (_Timelock *TimelockCallerSession) PendingActions(arg0 [32]byte) (*big.Int, error)
PendingActions is a free data retrieval call binding the contract method 0xe30569e5.
Solidity: function pendingActions(bytes32 ) view returns(uint256)
func (*TimelockCallerSession) RewardRouter ¶
func (_Timelock *TimelockCallerSession) RewardRouter() (common.Address, error)
RewardRouter is a free data retrieval call binding the contract method 0x5a3bb989.
Solidity: function rewardRouter() view returns(address)
func (*TimelockCallerSession) ShouldToggleIsLeverageEnabled ¶
func (_Timelock *TimelockCallerSession) ShouldToggleIsLeverageEnabled() (bool, error)
ShouldToggleIsLeverageEnabled is a free data retrieval call binding the contract method 0x23aaad12.
Solidity: function shouldToggleIsLeverageEnabled() view returns(bool)
func (*TimelockCallerSession) TokenManager ¶
func (_Timelock *TimelockCallerSession) TokenManager() (common.Address, error)
TokenManager is a free data retrieval call binding the contract method 0x2a709b14.
Solidity: function tokenManager() view returns(address)
type TimelockClearAction ¶
type TimelockClearAction struct { Action [32]byte Raw types.Log // Blockchain specific contextual infos }
TimelockClearAction represents a ClearAction event raised by the Timelock contract.
type TimelockClearActionIterator ¶
type TimelockClearActionIterator struct { Event *TimelockClearAction // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TimelockClearActionIterator is returned from FilterClearAction and is used to iterate over the raw logs and unpacked data for ClearAction events raised by the Timelock contract.
func (*TimelockClearActionIterator) Close ¶
func (it *TimelockClearActionIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TimelockClearActionIterator) Error ¶
func (it *TimelockClearActionIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TimelockClearActionIterator) Next ¶
func (it *TimelockClearActionIterator) 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 TimelockFilterer ¶
type TimelockFilterer struct {
// contains filtered or unexported fields
}
TimelockFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewTimelockFilterer ¶
func NewTimelockFilterer(address common.Address, filterer bind.ContractFilterer) (*TimelockFilterer, error)
NewTimelockFilterer creates a new log filterer instance of Timelock, bound to a specific deployed contract.
func (*TimelockFilterer) FilterClearAction ¶
func (_Timelock *TimelockFilterer) FilterClearAction(opts *bind.FilterOpts) (*TimelockClearActionIterator, error)
FilterClearAction is a free log retrieval operation binding the contract event 0x194ed6dd5e37e2acc44a19455c3f208c4831ee695fe362d9c4ef2d316bc53aec.
Solidity: event ClearAction(bytes32 action)
func (*TimelockFilterer) FilterSignalApprove ¶
func (_Timelock *TimelockFilterer) FilterSignalApprove(opts *bind.FilterOpts) (*TimelockSignalApproveIterator, error)
FilterSignalApprove is a free log retrieval operation binding the contract event 0x6af9d86ba7407a934e941ed8ae5f779369a88fe8ba2cd1c204185d6f8a8287fd.
Solidity: event SignalApprove(address token, address spender, uint256 amount, bytes32 action)
func (*TimelockFilterer) FilterSignalMint ¶
func (_Timelock *TimelockFilterer) FilterSignalMint(opts *bind.FilterOpts) (*TimelockSignalMintIterator, error)
FilterSignalMint is a free log retrieval operation binding the contract event 0x23d37bec99db82564427c9bbfe48ad7434bccf413a40fd357fb838c90a0d6828.
Solidity: event SignalMint(address token, address receiver, uint256 amount, bytes32 action)
func (*TimelockFilterer) FilterSignalPendingAction ¶
func (_Timelock *TimelockFilterer) FilterSignalPendingAction(opts *bind.FilterOpts) (*TimelockSignalPendingActionIterator, error)
FilterSignalPendingAction is a free log retrieval operation binding the contract event 0x5fb9c0ecf7b4a28c4c480212e868f9da7f373a2ed4d23498b0be6aadf35242fb.
Solidity: event SignalPendingAction(bytes32 action)
func (*TimelockFilterer) FilterSignalRedeemUsdg ¶
func (_Timelock *TimelockFilterer) FilterSignalRedeemUsdg(opts *bind.FilterOpts) (*TimelockSignalRedeemUsdgIterator, error)
FilterSignalRedeemUsdg is a free log retrieval operation binding the contract event 0xe6bd553b6ef21f3a22ebc877b3aaedc30fe15826b8156d4e8c8b373ebf11d78b.
Solidity: event SignalRedeemUsdg(address vault, address token, uint256 amount)
func (*TimelockFilterer) FilterSignalSetGov ¶
func (_Timelock *TimelockFilterer) FilterSignalSetGov(opts *bind.FilterOpts) (*TimelockSignalSetGovIterator, error)
FilterSignalSetGov is a free log retrieval operation binding the contract event 0x2701a94fd55a560e291f3c54d36580040670d6fde558a77a75d619e38139f713.
Solidity: event SignalSetGov(address target, address gov, bytes32 action)
func (*TimelockFilterer) FilterSignalSetHandler ¶
func (_Timelock *TimelockFilterer) FilterSignalSetHandler(opts *bind.FilterOpts) (*TimelockSignalSetHandlerIterator, error)
FilterSignalSetHandler is a free log retrieval operation binding the contract event 0x1929c4e13b0dbbad7856b9ce1fc9dca98c7bf7cedd56e22c04dd60ad1d34fe4b.
Solidity: event SignalSetHandler(address target, address handler, bool isActive, bytes32 action)
func (*TimelockFilterer) FilterSignalSetPriceFeed ¶
func (_Timelock *TimelockFilterer) FilterSignalSetPriceFeed(opts *bind.FilterOpts) (*TimelockSignalSetPriceFeedIterator, error)
FilterSignalSetPriceFeed is a free log retrieval operation binding the contract event 0xb878dd4b5762f4118ad54995be907dd2bcd915d942e4ac75580fba9b4ee4727f.
Solidity: event SignalSetPriceFeed(address vault, address priceFeed, bytes32 action)
func (*TimelockFilterer) FilterSignalVaultSetTokenConfig ¶
func (_Timelock *TimelockFilterer) FilterSignalVaultSetTokenConfig(opts *bind.FilterOpts) (*TimelockSignalVaultSetTokenConfigIterator, error)
FilterSignalVaultSetTokenConfig is a free log retrieval operation binding the contract event 0x3510e9d8245371c6c1061c33781ce16bd0eafa03cd3d0781865036520af4c743.
Solidity: event SignalVaultSetTokenConfig(address vault, address token, uint256 tokenDecimals, uint256 tokenWeight, uint256 minProfitBps, uint256 maxUsdgAmount, bool isStable, bool isShortable)
func (*TimelockFilterer) FilterSignalWithdrawToken ¶
func (_Timelock *TimelockFilterer) FilterSignalWithdrawToken(opts *bind.FilterOpts) (*TimelockSignalWithdrawTokenIterator, error)
FilterSignalWithdrawToken is a free log retrieval operation binding the contract event 0x9ed7b0f07a9eed51079fab67f6d0f141f167f5b17fdb5a23282280e15fcafed3.
Solidity: event SignalWithdrawToken(address target, address token, address receiver, uint256 amount, bytes32 action)
func (*TimelockFilterer) ParseClearAction ¶
func (_Timelock *TimelockFilterer) ParseClearAction(log types.Log) (*TimelockClearAction, error)
ParseClearAction is a log parse operation binding the contract event 0x194ed6dd5e37e2acc44a19455c3f208c4831ee695fe362d9c4ef2d316bc53aec.
Solidity: event ClearAction(bytes32 action)
func (*TimelockFilterer) ParseSignalApprove ¶
func (_Timelock *TimelockFilterer) ParseSignalApprove(log types.Log) (*TimelockSignalApprove, error)
ParseSignalApprove is a log parse operation binding the contract event 0x6af9d86ba7407a934e941ed8ae5f779369a88fe8ba2cd1c204185d6f8a8287fd.
Solidity: event SignalApprove(address token, address spender, uint256 amount, bytes32 action)
func (*TimelockFilterer) ParseSignalMint ¶
func (_Timelock *TimelockFilterer) ParseSignalMint(log types.Log) (*TimelockSignalMint, error)
ParseSignalMint is a log parse operation binding the contract event 0x23d37bec99db82564427c9bbfe48ad7434bccf413a40fd357fb838c90a0d6828.
Solidity: event SignalMint(address token, address receiver, uint256 amount, bytes32 action)
func (*TimelockFilterer) ParseSignalPendingAction ¶
func (_Timelock *TimelockFilterer) ParseSignalPendingAction(log types.Log) (*TimelockSignalPendingAction, error)
ParseSignalPendingAction is a log parse operation binding the contract event 0x5fb9c0ecf7b4a28c4c480212e868f9da7f373a2ed4d23498b0be6aadf35242fb.
Solidity: event SignalPendingAction(bytes32 action)
func (*TimelockFilterer) ParseSignalRedeemUsdg ¶
func (_Timelock *TimelockFilterer) ParseSignalRedeemUsdg(log types.Log) (*TimelockSignalRedeemUsdg, error)
ParseSignalRedeemUsdg is a log parse operation binding the contract event 0xe6bd553b6ef21f3a22ebc877b3aaedc30fe15826b8156d4e8c8b373ebf11d78b.
Solidity: event SignalRedeemUsdg(address vault, address token, uint256 amount)
func (*TimelockFilterer) ParseSignalSetGov ¶
func (_Timelock *TimelockFilterer) ParseSignalSetGov(log types.Log) (*TimelockSignalSetGov, error)
ParseSignalSetGov is a log parse operation binding the contract event 0x2701a94fd55a560e291f3c54d36580040670d6fde558a77a75d619e38139f713.
Solidity: event SignalSetGov(address target, address gov, bytes32 action)
func (*TimelockFilterer) ParseSignalSetHandler ¶
func (_Timelock *TimelockFilterer) ParseSignalSetHandler(log types.Log) (*TimelockSignalSetHandler, error)
ParseSignalSetHandler is a log parse operation binding the contract event 0x1929c4e13b0dbbad7856b9ce1fc9dca98c7bf7cedd56e22c04dd60ad1d34fe4b.
Solidity: event SignalSetHandler(address target, address handler, bool isActive, bytes32 action)
func (*TimelockFilterer) ParseSignalSetPriceFeed ¶
func (_Timelock *TimelockFilterer) ParseSignalSetPriceFeed(log types.Log) (*TimelockSignalSetPriceFeed, error)
ParseSignalSetPriceFeed is a log parse operation binding the contract event 0xb878dd4b5762f4118ad54995be907dd2bcd915d942e4ac75580fba9b4ee4727f.
Solidity: event SignalSetPriceFeed(address vault, address priceFeed, bytes32 action)
func (*TimelockFilterer) ParseSignalVaultSetTokenConfig ¶
func (_Timelock *TimelockFilterer) ParseSignalVaultSetTokenConfig(log types.Log) (*TimelockSignalVaultSetTokenConfig, error)
ParseSignalVaultSetTokenConfig is a log parse operation binding the contract event 0x3510e9d8245371c6c1061c33781ce16bd0eafa03cd3d0781865036520af4c743.
Solidity: event SignalVaultSetTokenConfig(address vault, address token, uint256 tokenDecimals, uint256 tokenWeight, uint256 minProfitBps, uint256 maxUsdgAmount, bool isStable, bool isShortable)
func (*TimelockFilterer) ParseSignalWithdrawToken ¶
func (_Timelock *TimelockFilterer) ParseSignalWithdrawToken(log types.Log) (*TimelockSignalWithdrawToken, error)
ParseSignalWithdrawToken is a log parse operation binding the contract event 0x9ed7b0f07a9eed51079fab67f6d0f141f167f5b17fdb5a23282280e15fcafed3.
Solidity: event SignalWithdrawToken(address target, address token, address receiver, uint256 amount, bytes32 action)
func (*TimelockFilterer) WatchClearAction ¶
func (_Timelock *TimelockFilterer) WatchClearAction(opts *bind.WatchOpts, sink chan<- *TimelockClearAction) (event.Subscription, error)
WatchClearAction is a free log subscription operation binding the contract event 0x194ed6dd5e37e2acc44a19455c3f208c4831ee695fe362d9c4ef2d316bc53aec.
Solidity: event ClearAction(bytes32 action)
func (*TimelockFilterer) WatchSignalApprove ¶
func (_Timelock *TimelockFilterer) WatchSignalApprove(opts *bind.WatchOpts, sink chan<- *TimelockSignalApprove) (event.Subscription, error)
WatchSignalApprove is a free log subscription operation binding the contract event 0x6af9d86ba7407a934e941ed8ae5f779369a88fe8ba2cd1c204185d6f8a8287fd.
Solidity: event SignalApprove(address token, address spender, uint256 amount, bytes32 action)
func (*TimelockFilterer) WatchSignalMint ¶
func (_Timelock *TimelockFilterer) WatchSignalMint(opts *bind.WatchOpts, sink chan<- *TimelockSignalMint) (event.Subscription, error)
WatchSignalMint is a free log subscription operation binding the contract event 0x23d37bec99db82564427c9bbfe48ad7434bccf413a40fd357fb838c90a0d6828.
Solidity: event SignalMint(address token, address receiver, uint256 amount, bytes32 action)
func (*TimelockFilterer) WatchSignalPendingAction ¶
func (_Timelock *TimelockFilterer) WatchSignalPendingAction(opts *bind.WatchOpts, sink chan<- *TimelockSignalPendingAction) (event.Subscription, error)
WatchSignalPendingAction is a free log subscription operation binding the contract event 0x5fb9c0ecf7b4a28c4c480212e868f9da7f373a2ed4d23498b0be6aadf35242fb.
Solidity: event SignalPendingAction(bytes32 action)
func (*TimelockFilterer) WatchSignalRedeemUsdg ¶
func (_Timelock *TimelockFilterer) WatchSignalRedeemUsdg(opts *bind.WatchOpts, sink chan<- *TimelockSignalRedeemUsdg) (event.Subscription, error)
WatchSignalRedeemUsdg is a free log subscription operation binding the contract event 0xe6bd553b6ef21f3a22ebc877b3aaedc30fe15826b8156d4e8c8b373ebf11d78b.
Solidity: event SignalRedeemUsdg(address vault, address token, uint256 amount)
func (*TimelockFilterer) WatchSignalSetGov ¶
func (_Timelock *TimelockFilterer) WatchSignalSetGov(opts *bind.WatchOpts, sink chan<- *TimelockSignalSetGov) (event.Subscription, error)
WatchSignalSetGov is a free log subscription operation binding the contract event 0x2701a94fd55a560e291f3c54d36580040670d6fde558a77a75d619e38139f713.
Solidity: event SignalSetGov(address target, address gov, bytes32 action)
func (*TimelockFilterer) WatchSignalSetHandler ¶
func (_Timelock *TimelockFilterer) WatchSignalSetHandler(opts *bind.WatchOpts, sink chan<- *TimelockSignalSetHandler) (event.Subscription, error)
WatchSignalSetHandler is a free log subscription operation binding the contract event 0x1929c4e13b0dbbad7856b9ce1fc9dca98c7bf7cedd56e22c04dd60ad1d34fe4b.
Solidity: event SignalSetHandler(address target, address handler, bool isActive, bytes32 action)
func (*TimelockFilterer) WatchSignalSetPriceFeed ¶
func (_Timelock *TimelockFilterer) WatchSignalSetPriceFeed(opts *bind.WatchOpts, sink chan<- *TimelockSignalSetPriceFeed) (event.Subscription, error)
WatchSignalSetPriceFeed is a free log subscription operation binding the contract event 0xb878dd4b5762f4118ad54995be907dd2bcd915d942e4ac75580fba9b4ee4727f.
Solidity: event SignalSetPriceFeed(address vault, address priceFeed, bytes32 action)
func (*TimelockFilterer) WatchSignalVaultSetTokenConfig ¶
func (_Timelock *TimelockFilterer) WatchSignalVaultSetTokenConfig(opts *bind.WatchOpts, sink chan<- *TimelockSignalVaultSetTokenConfig) (event.Subscription, error)
WatchSignalVaultSetTokenConfig is a free log subscription operation binding the contract event 0x3510e9d8245371c6c1061c33781ce16bd0eafa03cd3d0781865036520af4c743.
Solidity: event SignalVaultSetTokenConfig(address vault, address token, uint256 tokenDecimals, uint256 tokenWeight, uint256 minProfitBps, uint256 maxUsdgAmount, bool isStable, bool isShortable)
func (*TimelockFilterer) WatchSignalWithdrawToken ¶
func (_Timelock *TimelockFilterer) WatchSignalWithdrawToken(opts *bind.WatchOpts, sink chan<- *TimelockSignalWithdrawToken) (event.Subscription, error)
WatchSignalWithdrawToken is a free log subscription operation binding the contract event 0x9ed7b0f07a9eed51079fab67f6d0f141f167f5b17fdb5a23282280e15fcafed3.
Solidity: event SignalWithdrawToken(address target, address token, address receiver, uint256 amount, bytes32 action)
type TimelockRaw ¶
type TimelockRaw struct {
Contract *Timelock // Generic contract binding to access the raw methods on
}
TimelockRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*TimelockRaw) Call ¶
func (_Timelock *TimelockRaw) 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 (*TimelockRaw) Transact ¶
func (_Timelock *TimelockRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*TimelockRaw) Transfer ¶
func (_Timelock *TimelockRaw) 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 TimelockSession ¶
type TimelockSession struct { Contract *Timelock // 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 }
TimelockSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*TimelockSession) Admin ¶
func (_Timelock *TimelockSession) Admin() (common.Address, error)
Admin is a free data retrieval call binding the contract method 0xf851a440.
Solidity: function admin() view returns(address)
func (*TimelockSession) Approve ¶
func (_Timelock *TimelockSession) Approve(_token common.Address, _spender common.Address, _amount *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0xe1f21c67.
Solidity: function approve(address _token, address _spender, uint256 _amount) returns()
func (*TimelockSession) BatchSetBonusRewards ¶
func (_Timelock *TimelockSession) BatchSetBonusRewards(_vester common.Address, _accounts []common.Address, _amounts []*big.Int) (*types.Transaction, error)
BatchSetBonusRewards is a paid mutator transaction binding the contract method 0x009a698e.
Solidity: function batchSetBonusRewards(address _vester, address[] _accounts, uint256[] _amounts) returns()
func (*TimelockSession) BatchWithdrawFees ¶
func (_Timelock *TimelockSession) BatchWithdrawFees(_vault common.Address, _tokens []common.Address) (*types.Transaction, error)
BatchWithdrawFees is a paid mutator transaction binding the contract method 0xe8ae2271.
Solidity: function batchWithdrawFees(address _vault, address[] _tokens) returns()
func (*TimelockSession) Buffer ¶
func (_Timelock *TimelockSession) Buffer() (*big.Int, error)
Buffer is a free data retrieval call binding the contract method 0xedaafe20.
Solidity: function buffer() view returns(uint256)
func (*TimelockSession) CancelAction ¶
func (_Timelock *TimelockSession) CancelAction(_action [32]byte) (*types.Transaction, error)
CancelAction is a paid mutator transaction binding the contract method 0x781cc3d3.
Solidity: function cancelAction(bytes32 _action) returns()
func (*TimelockSession) DisableLeverage ¶
func (_Timelock *TimelockSession) DisableLeverage(_vault common.Address) (*types.Transaction, error)
DisableLeverage is a paid mutator transaction binding the contract method 0xd3c87bbb.
Solidity: function disableLeverage(address _vault) returns()
func (*TimelockSession) EnableLeverage ¶
func (_Timelock *TimelockSession) EnableLeverage(_vault common.Address) (*types.Transaction, error)
EnableLeverage is a paid mutator transaction binding the contract method 0x6d63c1d0.
Solidity: function enableLeverage(address _vault) returns()
func (*TimelockSession) GlpManager ¶
func (_Timelock *TimelockSession) GlpManager() (common.Address, error)
GlpManager is a free data retrieval call binding the contract method 0xfa6db1bc.
Solidity: function glpManager() view returns(address)
func (*TimelockSession) GovSetCodeOwner ¶
func (_Timelock *TimelockSession) GovSetCodeOwner(_referralStorage common.Address, _code [32]byte, _newAccount common.Address) (*types.Transaction, error)
GovSetCodeOwner is a paid mutator transaction binding the contract method 0x204bbc54.
Solidity: function govSetCodeOwner(address _referralStorage, bytes32 _code, address _newAccount) returns()
func (*TimelockSession) InitGlpManager ¶
func (_Timelock *TimelockSession) InitGlpManager() (*types.Transaction, error)
InitGlpManager is a paid mutator transaction binding the contract method 0x7e43c62d.
Solidity: function initGlpManager() returns()
func (*TimelockSession) InitRewardRouter ¶
func (_Timelock *TimelockSession) InitRewardRouter() (*types.Transaction, error)
InitRewardRouter is a paid mutator transaction binding the contract method 0xafd14deb.
Solidity: function initRewardRouter() returns()
func (*TimelockSession) IsHandler ¶
func (_Timelock *TimelockSession) 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 (*TimelockSession) IsKeeper ¶
func (_Timelock *TimelockSession) IsKeeper(arg0 common.Address) (bool, error)
IsKeeper is a free data retrieval call binding the contract method 0x6ba42aaa.
Solidity: function isKeeper(address ) view returns(bool)
func (*TimelockSession) MAXBUFFER ¶
func (_Timelock *TimelockSession) MAXBUFFER() (*big.Int, error)
MAXBUFFER is a free data retrieval call binding the contract method 0x61d07569.
Solidity: function MAX_BUFFER() view returns(uint256)
func (*TimelockSession) MAXFUNDINGRATEFACTOR ¶
func (_Timelock *TimelockSession) MAXFUNDINGRATEFACTOR() (*big.Int, error)
MAXFUNDINGRATEFACTOR is a free data retrieval call binding the contract method 0x8a39735a.
Solidity: function MAX_FUNDING_RATE_FACTOR() view returns(uint256)
func (*TimelockSession) MAXLEVERAGEVALIDATION ¶
func (_Timelock *TimelockSession) MAXLEVERAGEVALIDATION() (*big.Int, error)
MAXLEVERAGEVALIDATION is a free data retrieval call binding the contract method 0x2ba3725a.
Solidity: function MAX_LEVERAGE_VALIDATION() view returns(uint256)
func (*TimelockSession) MarginFeeBasisPoints ¶
func (_Timelock *TimelockSession) MarginFeeBasisPoints() (*big.Int, error)
MarginFeeBasisPoints is a free data retrieval call binding the contract method 0x318bc689.
Solidity: function marginFeeBasisPoints() view returns(uint256)
func (*TimelockSession) MaxMarginFeeBasisPoints ¶
func (_Timelock *TimelockSession) MaxMarginFeeBasisPoints() (*big.Int, error)
MaxMarginFeeBasisPoints is a free data retrieval call binding the contract method 0x996e2bc9.
Solidity: function maxMarginFeeBasisPoints() view returns(uint256)
func (*TimelockSession) MaxTokenSupply ¶
func (_Timelock *TimelockSession) MaxTokenSupply() (*big.Int, error)
MaxTokenSupply is a free data retrieval call binding the contract method 0x50f7c204.
Solidity: function maxTokenSupply() view returns(uint256)
func (*TimelockSession) MintReceiver ¶
func (_Timelock *TimelockSession) MintReceiver() (common.Address, error)
MintReceiver is a free data retrieval call binding the contract method 0xc7bb26a0.
Solidity: function mintReceiver() view returns(address)
func (*TimelockSession) PRICEPRECISION ¶
func (_Timelock *TimelockSession) PRICEPRECISION() (*big.Int, error)
PRICEPRECISION is a free data retrieval call binding the contract method 0x95082d25.
Solidity: function PRICE_PRECISION() view returns(uint256)
func (*TimelockSession) PendingActions ¶
func (_Timelock *TimelockSession) PendingActions(arg0 [32]byte) (*big.Int, error)
PendingActions is a free data retrieval call binding the contract method 0xe30569e5.
Solidity: function pendingActions(bytes32 ) view returns(uint256)
func (*TimelockSession) ProcessMint ¶
func (_Timelock *TimelockSession) ProcessMint(_token common.Address, _receiver common.Address, _amount *big.Int) (*types.Transaction, error)
ProcessMint is a paid mutator transaction binding the contract method 0xbc8a8ab9.
Solidity: function processMint(address _token, address _receiver, uint256 _amount) returns()
func (*TimelockSession) RedeemUsdg ¶
func (_Timelock *TimelockSession) RedeemUsdg(_vault common.Address, _token common.Address, _amount *big.Int) (*types.Transaction, error)
RedeemUsdg is a paid mutator transaction binding the contract method 0x70ac0a93.
Solidity: function redeemUsdg(address _vault, address _token, uint256 _amount) returns()
func (*TimelockSession) RemoveAdmin ¶
func (_Timelock *TimelockSession) RemoveAdmin(_token common.Address, _account common.Address) (*types.Transaction, error)
RemoveAdmin is a paid mutator transaction binding the contract method 0x268959e5.
Solidity: function removeAdmin(address _token, address _account) returns()
func (*TimelockSession) RewardRouter ¶
func (_Timelock *TimelockSession) RewardRouter() (common.Address, error)
RewardRouter is a free data retrieval call binding the contract method 0x5a3bb989.
Solidity: function rewardRouter() view returns(address)
func (*TimelockSession) SetAdmin ¶
func (_Timelock *TimelockSession) SetAdmin(_admin common.Address) (*types.Transaction, error)
SetAdmin is a paid mutator transaction binding the contract method 0x704b6c02.
Solidity: function setAdmin(address _admin) returns()
func (*TimelockSession) SetBuffer ¶
func (_Timelock *TimelockSession) SetBuffer(_buffer *big.Int) (*types.Transaction, error)
SetBuffer is a paid mutator transaction binding the contract method 0xadc7ea37.
Solidity: function setBuffer(uint256 _buffer) returns()
func (*TimelockSession) SetContractHandler ¶
func (_Timelock *TimelockSession) SetContractHandler(_handler common.Address, _isActive bool) (*types.Transaction, error)
SetContractHandler is a paid mutator transaction binding the contract method 0x185051c1.
Solidity: function setContractHandler(address _handler, bool _isActive) returns()
func (*TimelockSession) SetExternalAdmin ¶
func (_Timelock *TimelockSession) SetExternalAdmin(_target common.Address, _admin common.Address) (*types.Transaction, error)
SetExternalAdmin is a paid mutator transaction binding the contract method 0x55ef1395.
Solidity: function setExternalAdmin(address _target, address _admin) returns()
func (*TimelockSession) SetFees ¶
func (_Timelock *TimelockSession) SetFees(_vault common.Address, _taxBasisPoints *big.Int, _stableTaxBasisPoints *big.Int, _mintBurnFeeBasisPoints *big.Int, _swapFeeBasisPoints *big.Int, _stableSwapFeeBasisPoints *big.Int, _marginFeeBasisPoints *big.Int, _liquidationFeeUsd *big.Int, _minProfitTime *big.Int, _hasDynamicFees bool) (*types.Transaction, error)
SetFees is a paid mutator transaction binding the contract method 0x6e5227d4.
Solidity: function setFees(address _vault, uint256 _taxBasisPoints, uint256 _stableTaxBasisPoints, uint256 _mintBurnFeeBasisPoints, uint256 _swapFeeBasisPoints, uint256 _stableSwapFeeBasisPoints, uint256 _marginFeeBasisPoints, uint256 _liquidationFeeUsd, uint256 _minProfitTime, bool _hasDynamicFees) returns()
func (*TimelockSession) SetFundingRate ¶
func (_Timelock *TimelockSession) SetFundingRate(_vault common.Address, _fundingInterval *big.Int, _fundingRateFactor *big.Int, _stableFundingRateFactor *big.Int) (*types.Transaction, error)
SetFundingRate is a paid mutator transaction binding the contract method 0x227f03eb.
Solidity: function setFundingRate(address _vault, uint256 _fundingInterval, uint256 _fundingRateFactor, uint256 _stableFundingRateFactor) returns()
func (*TimelockSession) SetGlpCooldownDuration ¶
func (_Timelock *TimelockSession) SetGlpCooldownDuration(_cooldownDuration *big.Int) (*types.Transaction, error)
SetGlpCooldownDuration is a paid mutator transaction binding the contract method 0x5b05348b.
Solidity: function setGlpCooldownDuration(uint256 _cooldownDuration) returns()
func (*TimelockSession) SetGov ¶
func (_Timelock *TimelockSession) SetGov(_target common.Address, _gov common.Address) (*types.Transaction, error)
SetGov is a paid mutator transaction binding the contract method 0x51a6de0d.
Solidity: function setGov(address _target, address _gov) returns()
func (*TimelockSession) SetHandler ¶
func (_Timelock *TimelockSession) SetHandler(_target common.Address, _handler common.Address, _isActive bool) (*types.Transaction, error)
SetHandler is a paid mutator transaction binding the contract method 0x1154e808.
Solidity: function setHandler(address _target, address _handler, bool _isActive) returns()
func (*TimelockSession) SetInPrivateLiquidationMode ¶
func (_Timelock *TimelockSession) SetInPrivateLiquidationMode(_vault common.Address, _inPrivateLiquidationMode bool) (*types.Transaction, error)
SetInPrivateLiquidationMode is a paid mutator transaction binding the contract method 0x21bd0592.
Solidity: function setInPrivateLiquidationMode(address _vault, bool _inPrivateLiquidationMode) returns()
func (*TimelockSession) SetInPrivateTransferMode ¶
func (_Timelock *TimelockSession) SetInPrivateTransferMode(_token common.Address, _inPrivateTransferMode bool) (*types.Transaction, error)
SetInPrivateTransferMode is a paid mutator transaction binding the contract method 0x86803c72.
Solidity: function setInPrivateTransferMode(address _token, bool _inPrivateTransferMode) returns()
func (*TimelockSession) SetIsLeverageEnabled ¶
func (_Timelock *TimelockSession) SetIsLeverageEnabled(_vault common.Address, _isLeverageEnabled bool) (*types.Transaction, error)
SetIsLeverageEnabled is a paid mutator transaction binding the contract method 0xcd2b1230.
Solidity: function setIsLeverageEnabled(address _vault, bool _isLeverageEnabled) returns()
func (*TimelockSession) SetIsSwapEnabled ¶
func (_Timelock *TimelockSession) SetIsSwapEnabled(_vault common.Address, _isSwapEnabled bool) (*types.Transaction, error)
SetIsSwapEnabled is a paid mutator transaction binding the contract method 0x117cf204.
Solidity: function setIsSwapEnabled(address _vault, bool _isSwapEnabled) returns()
func (*TimelockSession) SetKeeper ¶
func (_Timelock *TimelockSession) SetKeeper(_keeper common.Address, _isActive bool) (*types.Transaction, error)
SetKeeper is a paid mutator transaction binding the contract method 0xd1b9e853.
Solidity: function setKeeper(address _keeper, bool _isActive) returns()
func (*TimelockSession) SetLiquidator ¶
func (_Timelock *TimelockSession) SetLiquidator(_vault common.Address, _liquidator common.Address, _isActive bool) (*types.Transaction, error)
SetLiquidator is a paid mutator transaction binding the contract method 0x47de43e2.
Solidity: function setLiquidator(address _vault, address _liquidator, bool _isActive) returns()
func (*TimelockSession) SetMarginFeeBasisPoints ¶
func (_Timelock *TimelockSession) SetMarginFeeBasisPoints(_marginFeeBasisPoints *big.Int, _maxMarginFeeBasisPoints *big.Int) (*types.Transaction, error)
SetMarginFeeBasisPoints is a paid mutator transaction binding the contract method 0xe21b4591.
Solidity: function setMarginFeeBasisPoints(uint256 _marginFeeBasisPoints, uint256 _maxMarginFeeBasisPoints) returns()
func (*TimelockSession) SetMaxGasPrice ¶
func (_Timelock *TimelockSession) SetMaxGasPrice(_vault common.Address, _maxGasPrice *big.Int) (*types.Transaction, error)
SetMaxGasPrice is a paid mutator transaction binding the contract method 0x8bf22c46.
Solidity: function setMaxGasPrice(address _vault, uint256 _maxGasPrice) returns()
func (*TimelockSession) SetMaxGlobalShortSize ¶
func (_Timelock *TimelockSession) SetMaxGlobalShortSize(_vault common.Address, _token common.Address, _amount *big.Int) (*types.Transaction, error)
SetMaxGlobalShortSize is a paid mutator transaction binding the contract method 0xdf3a66d9.
Solidity: function setMaxGlobalShortSize(address _vault, address _token, uint256 _amount) returns()
func (*TimelockSession) SetMaxLeverage ¶
func (_Timelock *TimelockSession) SetMaxLeverage(_vault common.Address, _maxLeverage *big.Int) (*types.Transaction, error)
SetMaxLeverage is a paid mutator transaction binding the contract method 0x7b6f775a.
Solidity: function setMaxLeverage(address _vault, uint256 _maxLeverage) returns()
func (*TimelockSession) SetPriceFeed ¶
func (_Timelock *TimelockSession) SetPriceFeed(_vault common.Address, _priceFeed common.Address) (*types.Transaction, error)
SetPriceFeed is a paid mutator transaction binding the contract method 0x76e11286.
Solidity: function setPriceFeed(address _vault, address _priceFeed) returns()
func (*TimelockSession) SetReferrerTier ¶
func (_Timelock *TimelockSession) SetReferrerTier(_referralStorage common.Address, _referrer common.Address, _tierId *big.Int) (*types.Transaction, error)
SetReferrerTier is a paid mutator transaction binding the contract method 0xc142940a.
Solidity: function setReferrerTier(address _referralStorage, address _referrer, uint256 _tierId) returns()
func (*TimelockSession) SetShortsTrackerAveragePriceWeight ¶
func (_Timelock *TimelockSession) SetShortsTrackerAveragePriceWeight(_shortsTrackerAveragePriceWeight *big.Int) (*types.Transaction, error)
SetShortsTrackerAveragePriceWeight is a paid mutator transaction binding the contract method 0x4f5f6b5e.
Solidity: function setShortsTrackerAveragePriceWeight(uint256 _shortsTrackerAveragePriceWeight) returns()
func (*TimelockSession) SetShouldToggleIsLeverageEnabled ¶
func (_Timelock *TimelockSession) SetShouldToggleIsLeverageEnabled(_shouldToggleIsLeverageEnabled bool) (*types.Transaction, error)
SetShouldToggleIsLeverageEnabled is a paid mutator transaction binding the contract method 0x8e34c98f.
Solidity: function setShouldToggleIsLeverageEnabled(bool _shouldToggleIsLeverageEnabled) returns()
func (*TimelockSession) SetSwapFees ¶
func (_Timelock *TimelockSession) SetSwapFees(_vault common.Address, _taxBasisPoints *big.Int, _stableTaxBasisPoints *big.Int, _mintBurnFeeBasisPoints *big.Int, _swapFeeBasisPoints *big.Int, _stableSwapFeeBasisPoints *big.Int) (*types.Transaction, error)
SetSwapFees is a paid mutator transaction binding the contract method 0xda762316.
Solidity: function setSwapFees(address _vault, uint256 _taxBasisPoints, uint256 _stableTaxBasisPoints, uint256 _mintBurnFeeBasisPoints, uint256 _swapFeeBasisPoints, uint256 _stableSwapFeeBasisPoints) returns()
func (*TimelockSession) SetTier ¶
func (_Timelock *TimelockSession) SetTier(_referralStorage common.Address, _tierId *big.Int, _totalRebate *big.Int, _discountShare *big.Int) (*types.Transaction, error)
SetTier is a paid mutator transaction binding the contract method 0x55818294.
Solidity: function setTier(address _referralStorage, uint256 _tierId, uint256 _totalRebate, uint256 _discountShare) returns()
func (*TimelockSession) SetTokenConfig ¶
func (_Timelock *TimelockSession) SetTokenConfig(_vault common.Address, _token common.Address, _tokenWeight *big.Int, _minProfitBps *big.Int, _maxUsdgAmount *big.Int, _bufferAmount *big.Int, _usdgAmount *big.Int) (*types.Transaction, error)
SetTokenConfig is a paid mutator transaction binding the contract method 0x0e0dc426.
Solidity: function setTokenConfig(address _vault, address _token, uint256 _tokenWeight, uint256 _minProfitBps, uint256 _maxUsdgAmount, uint256 _bufferAmount, uint256 _usdgAmount) returns()
func (*TimelockSession) SetUsdgAmounts ¶
func (_Timelock *TimelockSession) SetUsdgAmounts(_vault common.Address, _tokens []common.Address, _usdgAmounts []*big.Int) (*types.Transaction, error)
SetUsdgAmounts is a paid mutator transaction binding the contract method 0x9b53ad22.
Solidity: function setUsdgAmounts(address _vault, address[] _tokens, uint256[] _usdgAmounts) returns()
func (*TimelockSession) SetVaultUtils ¶
func (_Timelock *TimelockSession) SetVaultUtils(_vault common.Address, _vaultUtils common.Address) (*types.Transaction, error)
SetVaultUtils is a paid mutator transaction binding the contract method 0xbc476dfd.
Solidity: function setVaultUtils(address _vault, address _vaultUtils) returns()
func (*TimelockSession) ShouldToggleIsLeverageEnabled ¶
func (_Timelock *TimelockSession) ShouldToggleIsLeverageEnabled() (bool, error)
ShouldToggleIsLeverageEnabled is a free data retrieval call binding the contract method 0x23aaad12.
Solidity: function shouldToggleIsLeverageEnabled() view returns(bool)
func (*TimelockSession) SignalApprove ¶
func (_Timelock *TimelockSession) SignalApprove(_token common.Address, _spender common.Address, _amount *big.Int) (*types.Transaction, error)
SignalApprove is a paid mutator transaction binding the contract method 0xdce6e18d.
Solidity: function signalApprove(address _token, address _spender, uint256 _amount) returns()
func (*TimelockSession) SignalMint ¶
func (_Timelock *TimelockSession) SignalMint(_token common.Address, _receiver common.Address, _amount *big.Int) (*types.Transaction, error)
SignalMint is a paid mutator transaction binding the contract method 0x09cc9a08.
Solidity: function signalMint(address _token, address _receiver, uint256 _amount) returns()
func (*TimelockSession) SignalRedeemUsdg ¶
func (_Timelock *TimelockSession) SignalRedeemUsdg(_vault common.Address, _token common.Address, _amount *big.Int) (*types.Transaction, error)
SignalRedeemUsdg is a paid mutator transaction binding the contract method 0x0191c237.
Solidity: function signalRedeemUsdg(address _vault, address _token, uint256 _amount) returns()
func (*TimelockSession) SignalSetGov ¶
func (_Timelock *TimelockSession) SignalSetGov(_target common.Address, _gov common.Address) (*types.Transaction, error)
SignalSetGov is a paid mutator transaction binding the contract method 0x996a7a1e.
Solidity: function signalSetGov(address _target, address _gov) returns()
func (*TimelockSession) SignalSetHandler ¶
func (_Timelock *TimelockSession) SignalSetHandler(_target common.Address, _handler common.Address, _isActive bool) (*types.Transaction, error)
SignalSetHandler is a paid mutator transaction binding the contract method 0x24ccbe30.
Solidity: function signalSetHandler(address _target, address _handler, bool _isActive) returns()
func (*TimelockSession) SignalSetPriceFeed ¶
func (_Timelock *TimelockSession) SignalSetPriceFeed(_vault common.Address, _priceFeed common.Address) (*types.Transaction, error)
SignalSetPriceFeed is a paid mutator transaction binding the contract method 0x80894d62.
Solidity: function signalSetPriceFeed(address _vault, address _priceFeed) returns()
func (*TimelockSession) SignalVaultSetTokenConfig ¶
func (_Timelock *TimelockSession) SignalVaultSetTokenConfig(_vault common.Address, _token common.Address, _tokenDecimals *big.Int, _tokenWeight *big.Int, _minProfitBps *big.Int, _maxUsdgAmount *big.Int, _isStable bool, _isShortable bool) (*types.Transaction, error)
SignalVaultSetTokenConfig is a paid mutator transaction binding the contract method 0xdb1c8441.
Solidity: function signalVaultSetTokenConfig(address _vault, address _token, uint256 _tokenDecimals, uint256 _tokenWeight, uint256 _minProfitBps, uint256 _maxUsdgAmount, bool _isStable, bool _isShortable) returns()
func (*TimelockSession) SignalWithdrawToken ¶
func (_Timelock *TimelockSession) SignalWithdrawToken(_target common.Address, _token common.Address, _receiver common.Address, _amount *big.Int) (*types.Transaction, error)
SignalWithdrawToken is a paid mutator transaction binding the contract method 0x4cd23f3b.
Solidity: function signalWithdrawToken(address _target, address _token, address _receiver, uint256 _amount) returns()
func (*TimelockSession) TokenManager ¶
func (_Timelock *TimelockSession) TokenManager() (common.Address, error)
TokenManager is a free data retrieval call binding the contract method 0x2a709b14.
Solidity: function tokenManager() view returns(address)
func (*TimelockSession) TransferIn ¶
func (_Timelock *TimelockSession) TransferIn(_sender common.Address, _token common.Address, _amount *big.Int) (*types.Transaction, error)
TransferIn is a paid mutator transaction binding the contract method 0xe4652f49.
Solidity: function transferIn(address _sender, address _token, uint256 _amount) returns()
func (*TimelockSession) UpdateUsdgSupply ¶
func (_Timelock *TimelockSession) UpdateUsdgSupply(usdgAmount *big.Int) (*types.Transaction, error)
UpdateUsdgSupply is a paid mutator transaction binding the contract method 0x81774b3d.
Solidity: function updateUsdgSupply(uint256 usdgAmount) returns()
func (*TimelockSession) VaultSetTokenConfig ¶
func (_Timelock *TimelockSession) VaultSetTokenConfig(_vault common.Address, _token common.Address, _tokenDecimals *big.Int, _tokenWeight *big.Int, _minProfitBps *big.Int, _maxUsdgAmount *big.Int, _isStable bool, _isShortable bool) (*types.Transaction, error)
VaultSetTokenConfig is a paid mutator transaction binding the contract method 0xe3cbeb0f.
Solidity: function vaultSetTokenConfig(address _vault, address _token, uint256 _tokenDecimals, uint256 _tokenWeight, uint256 _minProfitBps, uint256 _maxUsdgAmount, bool _isStable, bool _isShortable) returns()
func (*TimelockSession) WithdrawFees ¶
func (_Timelock *TimelockSession) WithdrawFees(_vault common.Address, _token common.Address, _receiver common.Address) (*types.Transaction, error)
WithdrawFees is a paid mutator transaction binding the contract method 0x0e9587f3.
Solidity: function withdrawFees(address _vault, address _token, address _receiver) returns()
func (*TimelockSession) WithdrawToken ¶
func (_Timelock *TimelockSession) WithdrawToken(_target common.Address, _token common.Address, _receiver common.Address, _amount *big.Int) (*types.Transaction, error)
WithdrawToken is a paid mutator transaction binding the contract method 0x21754d9e.
Solidity: function withdrawToken(address _target, address _token, address _receiver, uint256 _amount) returns()
type TimelockSignalApprove ¶
type TimelockSignalApprove struct { Token common.Address Spender common.Address Amount *big.Int Action [32]byte Raw types.Log // Blockchain specific contextual infos }
TimelockSignalApprove represents a SignalApprove event raised by the Timelock contract.
type TimelockSignalApproveIterator ¶
type TimelockSignalApproveIterator struct { Event *TimelockSignalApprove // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TimelockSignalApproveIterator is returned from FilterSignalApprove and is used to iterate over the raw logs and unpacked data for SignalApprove events raised by the Timelock contract.
func (*TimelockSignalApproveIterator) Close ¶
func (it *TimelockSignalApproveIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TimelockSignalApproveIterator) Error ¶
func (it *TimelockSignalApproveIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TimelockSignalApproveIterator) Next ¶
func (it *TimelockSignalApproveIterator) 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 TimelockSignalMint ¶
type TimelockSignalMint struct { Token common.Address Receiver common.Address Amount *big.Int Action [32]byte Raw types.Log // Blockchain specific contextual infos }
TimelockSignalMint represents a SignalMint event raised by the Timelock contract.
type TimelockSignalMintIterator ¶
type TimelockSignalMintIterator struct { Event *TimelockSignalMint // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TimelockSignalMintIterator is returned from FilterSignalMint and is used to iterate over the raw logs and unpacked data for SignalMint events raised by the Timelock contract.
func (*TimelockSignalMintIterator) Close ¶
func (it *TimelockSignalMintIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TimelockSignalMintIterator) Error ¶
func (it *TimelockSignalMintIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TimelockSignalMintIterator) Next ¶
func (it *TimelockSignalMintIterator) 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 TimelockSignalPendingAction ¶
type TimelockSignalPendingAction struct { Action [32]byte Raw types.Log // Blockchain specific contextual infos }
TimelockSignalPendingAction represents a SignalPendingAction event raised by the Timelock contract.
type TimelockSignalPendingActionIterator ¶
type TimelockSignalPendingActionIterator struct { Event *TimelockSignalPendingAction // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TimelockSignalPendingActionIterator is returned from FilterSignalPendingAction and is used to iterate over the raw logs and unpacked data for SignalPendingAction events raised by the Timelock contract.
func (*TimelockSignalPendingActionIterator) Close ¶
func (it *TimelockSignalPendingActionIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TimelockSignalPendingActionIterator) Error ¶
func (it *TimelockSignalPendingActionIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TimelockSignalPendingActionIterator) Next ¶
func (it *TimelockSignalPendingActionIterator) 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 TimelockSignalRedeemUsdg ¶
type TimelockSignalRedeemUsdg struct { Vault common.Address Token common.Address Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
TimelockSignalRedeemUsdg represents a SignalRedeemUsdg event raised by the Timelock contract.
type TimelockSignalRedeemUsdgIterator ¶
type TimelockSignalRedeemUsdgIterator struct { Event *TimelockSignalRedeemUsdg // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TimelockSignalRedeemUsdgIterator is returned from FilterSignalRedeemUsdg and is used to iterate over the raw logs and unpacked data for SignalRedeemUsdg events raised by the Timelock contract.
func (*TimelockSignalRedeemUsdgIterator) Close ¶
func (it *TimelockSignalRedeemUsdgIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TimelockSignalRedeemUsdgIterator) Error ¶
func (it *TimelockSignalRedeemUsdgIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TimelockSignalRedeemUsdgIterator) Next ¶
func (it *TimelockSignalRedeemUsdgIterator) 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 TimelockSignalSetGov ¶
type TimelockSignalSetGov struct { Target common.Address Gov common.Address Action [32]byte Raw types.Log // Blockchain specific contextual infos }
TimelockSignalSetGov represents a SignalSetGov event raised by the Timelock contract.
type TimelockSignalSetGovIterator ¶
type TimelockSignalSetGovIterator struct { Event *TimelockSignalSetGov // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TimelockSignalSetGovIterator is returned from FilterSignalSetGov and is used to iterate over the raw logs and unpacked data for SignalSetGov events raised by the Timelock contract.
func (*TimelockSignalSetGovIterator) Close ¶
func (it *TimelockSignalSetGovIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TimelockSignalSetGovIterator) Error ¶
func (it *TimelockSignalSetGovIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TimelockSignalSetGovIterator) Next ¶
func (it *TimelockSignalSetGovIterator) 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 TimelockSignalSetHandler ¶
type TimelockSignalSetHandler struct { Target common.Address Handler common.Address IsActive bool Action [32]byte Raw types.Log // Blockchain specific contextual infos }
TimelockSignalSetHandler represents a SignalSetHandler event raised by the Timelock contract.
type TimelockSignalSetHandlerIterator ¶
type TimelockSignalSetHandlerIterator struct { Event *TimelockSignalSetHandler // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TimelockSignalSetHandlerIterator is returned from FilterSignalSetHandler and is used to iterate over the raw logs and unpacked data for SignalSetHandler events raised by the Timelock contract.
func (*TimelockSignalSetHandlerIterator) Close ¶
func (it *TimelockSignalSetHandlerIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TimelockSignalSetHandlerIterator) Error ¶
func (it *TimelockSignalSetHandlerIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TimelockSignalSetHandlerIterator) Next ¶
func (it *TimelockSignalSetHandlerIterator) 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 TimelockSignalSetPriceFeed ¶
type TimelockSignalSetPriceFeed struct { Vault common.Address PriceFeed common.Address Action [32]byte Raw types.Log // Blockchain specific contextual infos }
TimelockSignalSetPriceFeed represents a SignalSetPriceFeed event raised by the Timelock contract.
type TimelockSignalSetPriceFeedIterator ¶
type TimelockSignalSetPriceFeedIterator struct { Event *TimelockSignalSetPriceFeed // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TimelockSignalSetPriceFeedIterator is returned from FilterSignalSetPriceFeed and is used to iterate over the raw logs and unpacked data for SignalSetPriceFeed events raised by the Timelock contract.
func (*TimelockSignalSetPriceFeedIterator) Close ¶
func (it *TimelockSignalSetPriceFeedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TimelockSignalSetPriceFeedIterator) Error ¶
func (it *TimelockSignalSetPriceFeedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TimelockSignalSetPriceFeedIterator) Next ¶
func (it *TimelockSignalSetPriceFeedIterator) 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 TimelockSignalVaultSetTokenConfig ¶
type TimelockSignalVaultSetTokenConfig struct { Vault common.Address Token common.Address TokenDecimals *big.Int TokenWeight *big.Int MinProfitBps *big.Int MaxUsdgAmount *big.Int IsStable bool IsShortable bool Raw types.Log // Blockchain specific contextual infos }
TimelockSignalVaultSetTokenConfig represents a SignalVaultSetTokenConfig event raised by the Timelock contract.
type TimelockSignalVaultSetTokenConfigIterator ¶
type TimelockSignalVaultSetTokenConfigIterator struct { Event *TimelockSignalVaultSetTokenConfig // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TimelockSignalVaultSetTokenConfigIterator is returned from FilterSignalVaultSetTokenConfig and is used to iterate over the raw logs and unpacked data for SignalVaultSetTokenConfig events raised by the Timelock contract.
func (*TimelockSignalVaultSetTokenConfigIterator) Close ¶
func (it *TimelockSignalVaultSetTokenConfigIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TimelockSignalVaultSetTokenConfigIterator) Error ¶
func (it *TimelockSignalVaultSetTokenConfigIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TimelockSignalVaultSetTokenConfigIterator) Next ¶
func (it *TimelockSignalVaultSetTokenConfigIterator) 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 TimelockSignalWithdrawToken ¶
type TimelockSignalWithdrawToken struct { Target common.Address Token common.Address Receiver common.Address Amount *big.Int Action [32]byte Raw types.Log // Blockchain specific contextual infos }
TimelockSignalWithdrawToken represents a SignalWithdrawToken event raised by the Timelock contract.
type TimelockSignalWithdrawTokenIterator ¶
type TimelockSignalWithdrawTokenIterator struct { Event *TimelockSignalWithdrawToken // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TimelockSignalWithdrawTokenIterator is returned from FilterSignalWithdrawToken and is used to iterate over the raw logs and unpacked data for SignalWithdrawToken events raised by the Timelock contract.
func (*TimelockSignalWithdrawTokenIterator) Close ¶
func (it *TimelockSignalWithdrawTokenIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TimelockSignalWithdrawTokenIterator) Error ¶
func (it *TimelockSignalWithdrawTokenIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TimelockSignalWithdrawTokenIterator) Next ¶
func (it *TimelockSignalWithdrawTokenIterator) 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 TimelockTransactor ¶
type TimelockTransactor struct {
// contains filtered or unexported fields
}
TimelockTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewTimelockTransactor ¶
func NewTimelockTransactor(address common.Address, transactor bind.ContractTransactor) (*TimelockTransactor, error)
NewTimelockTransactor creates a new write-only instance of Timelock, bound to a specific deployed contract.
func (*TimelockTransactor) Approve ¶
func (_Timelock *TimelockTransactor) Approve(opts *bind.TransactOpts, _token common.Address, _spender common.Address, _amount *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0xe1f21c67.
Solidity: function approve(address _token, address _spender, uint256 _amount) returns()
func (*TimelockTransactor) BatchSetBonusRewards ¶
func (_Timelock *TimelockTransactor) BatchSetBonusRewards(opts *bind.TransactOpts, _vester common.Address, _accounts []common.Address, _amounts []*big.Int) (*types.Transaction, error)
BatchSetBonusRewards is a paid mutator transaction binding the contract method 0x009a698e.
Solidity: function batchSetBonusRewards(address _vester, address[] _accounts, uint256[] _amounts) returns()
func (*TimelockTransactor) BatchWithdrawFees ¶
func (_Timelock *TimelockTransactor) BatchWithdrawFees(opts *bind.TransactOpts, _vault common.Address, _tokens []common.Address) (*types.Transaction, error)
BatchWithdrawFees is a paid mutator transaction binding the contract method 0xe8ae2271.
Solidity: function batchWithdrawFees(address _vault, address[] _tokens) returns()
func (*TimelockTransactor) CancelAction ¶
func (_Timelock *TimelockTransactor) CancelAction(opts *bind.TransactOpts, _action [32]byte) (*types.Transaction, error)
CancelAction is a paid mutator transaction binding the contract method 0x781cc3d3.
Solidity: function cancelAction(bytes32 _action) returns()
func (*TimelockTransactor) DisableLeverage ¶
func (_Timelock *TimelockTransactor) DisableLeverage(opts *bind.TransactOpts, _vault common.Address) (*types.Transaction, error)
DisableLeverage is a paid mutator transaction binding the contract method 0xd3c87bbb.
Solidity: function disableLeverage(address _vault) returns()
func (*TimelockTransactor) EnableLeverage ¶
func (_Timelock *TimelockTransactor) EnableLeverage(opts *bind.TransactOpts, _vault common.Address) (*types.Transaction, error)
EnableLeverage is a paid mutator transaction binding the contract method 0x6d63c1d0.
Solidity: function enableLeverage(address _vault) returns()
func (*TimelockTransactor) GovSetCodeOwner ¶
func (_Timelock *TimelockTransactor) GovSetCodeOwner(opts *bind.TransactOpts, _referralStorage common.Address, _code [32]byte, _newAccount common.Address) (*types.Transaction, error)
GovSetCodeOwner is a paid mutator transaction binding the contract method 0x204bbc54.
Solidity: function govSetCodeOwner(address _referralStorage, bytes32 _code, address _newAccount) returns()
func (*TimelockTransactor) InitGlpManager ¶
func (_Timelock *TimelockTransactor) InitGlpManager(opts *bind.TransactOpts) (*types.Transaction, error)
InitGlpManager is a paid mutator transaction binding the contract method 0x7e43c62d.
Solidity: function initGlpManager() returns()
func (*TimelockTransactor) InitRewardRouter ¶
func (_Timelock *TimelockTransactor) InitRewardRouter(opts *bind.TransactOpts) (*types.Transaction, error)
InitRewardRouter is a paid mutator transaction binding the contract method 0xafd14deb.
Solidity: function initRewardRouter() returns()
func (*TimelockTransactor) ProcessMint ¶
func (_Timelock *TimelockTransactor) ProcessMint(opts *bind.TransactOpts, _token common.Address, _receiver common.Address, _amount *big.Int) (*types.Transaction, error)
ProcessMint is a paid mutator transaction binding the contract method 0xbc8a8ab9.
Solidity: function processMint(address _token, address _receiver, uint256 _amount) returns()
func (*TimelockTransactor) RedeemUsdg ¶
func (_Timelock *TimelockTransactor) RedeemUsdg(opts *bind.TransactOpts, _vault common.Address, _token common.Address, _amount *big.Int) (*types.Transaction, error)
RedeemUsdg is a paid mutator transaction binding the contract method 0x70ac0a93.
Solidity: function redeemUsdg(address _vault, address _token, uint256 _amount) returns()
func (*TimelockTransactor) RemoveAdmin ¶
func (_Timelock *TimelockTransactor) RemoveAdmin(opts *bind.TransactOpts, _token common.Address, _account common.Address) (*types.Transaction, error)
RemoveAdmin is a paid mutator transaction binding the contract method 0x268959e5.
Solidity: function removeAdmin(address _token, address _account) returns()
func (*TimelockTransactor) SetAdmin ¶
func (_Timelock *TimelockTransactor) SetAdmin(opts *bind.TransactOpts, _admin common.Address) (*types.Transaction, error)
SetAdmin is a paid mutator transaction binding the contract method 0x704b6c02.
Solidity: function setAdmin(address _admin) returns()
func (*TimelockTransactor) SetBuffer ¶
func (_Timelock *TimelockTransactor) SetBuffer(opts *bind.TransactOpts, _buffer *big.Int) (*types.Transaction, error)
SetBuffer is a paid mutator transaction binding the contract method 0xadc7ea37.
Solidity: function setBuffer(uint256 _buffer) returns()
func (*TimelockTransactor) SetContractHandler ¶
func (_Timelock *TimelockTransactor) SetContractHandler(opts *bind.TransactOpts, _handler common.Address, _isActive bool) (*types.Transaction, error)
SetContractHandler is a paid mutator transaction binding the contract method 0x185051c1.
Solidity: function setContractHandler(address _handler, bool _isActive) returns()
func (*TimelockTransactor) SetExternalAdmin ¶
func (_Timelock *TimelockTransactor) SetExternalAdmin(opts *bind.TransactOpts, _target common.Address, _admin common.Address) (*types.Transaction, error)
SetExternalAdmin is a paid mutator transaction binding the contract method 0x55ef1395.
Solidity: function setExternalAdmin(address _target, address _admin) returns()
func (*TimelockTransactor) SetFees ¶
func (_Timelock *TimelockTransactor) SetFees(opts *bind.TransactOpts, _vault common.Address, _taxBasisPoints *big.Int, _stableTaxBasisPoints *big.Int, _mintBurnFeeBasisPoints *big.Int, _swapFeeBasisPoints *big.Int, _stableSwapFeeBasisPoints *big.Int, _marginFeeBasisPoints *big.Int, _liquidationFeeUsd *big.Int, _minProfitTime *big.Int, _hasDynamicFees bool) (*types.Transaction, error)
SetFees is a paid mutator transaction binding the contract method 0x6e5227d4.
Solidity: function setFees(address _vault, uint256 _taxBasisPoints, uint256 _stableTaxBasisPoints, uint256 _mintBurnFeeBasisPoints, uint256 _swapFeeBasisPoints, uint256 _stableSwapFeeBasisPoints, uint256 _marginFeeBasisPoints, uint256 _liquidationFeeUsd, uint256 _minProfitTime, bool _hasDynamicFees) returns()
func (*TimelockTransactor) SetFundingRate ¶
func (_Timelock *TimelockTransactor) SetFundingRate(opts *bind.TransactOpts, _vault common.Address, _fundingInterval *big.Int, _fundingRateFactor *big.Int, _stableFundingRateFactor *big.Int) (*types.Transaction, error)
SetFundingRate is a paid mutator transaction binding the contract method 0x227f03eb.
Solidity: function setFundingRate(address _vault, uint256 _fundingInterval, uint256 _fundingRateFactor, uint256 _stableFundingRateFactor) returns()
func (*TimelockTransactor) SetGlpCooldownDuration ¶
func (_Timelock *TimelockTransactor) SetGlpCooldownDuration(opts *bind.TransactOpts, _cooldownDuration *big.Int) (*types.Transaction, error)
SetGlpCooldownDuration is a paid mutator transaction binding the contract method 0x5b05348b.
Solidity: function setGlpCooldownDuration(uint256 _cooldownDuration) returns()
func (*TimelockTransactor) SetGov ¶
func (_Timelock *TimelockTransactor) SetGov(opts *bind.TransactOpts, _target common.Address, _gov common.Address) (*types.Transaction, error)
SetGov is a paid mutator transaction binding the contract method 0x51a6de0d.
Solidity: function setGov(address _target, address _gov) returns()
func (*TimelockTransactor) SetHandler ¶
func (_Timelock *TimelockTransactor) SetHandler(opts *bind.TransactOpts, _target common.Address, _handler common.Address, _isActive bool) (*types.Transaction, error)
SetHandler is a paid mutator transaction binding the contract method 0x1154e808.
Solidity: function setHandler(address _target, address _handler, bool _isActive) returns()
func (*TimelockTransactor) SetInPrivateLiquidationMode ¶
func (_Timelock *TimelockTransactor) SetInPrivateLiquidationMode(opts *bind.TransactOpts, _vault common.Address, _inPrivateLiquidationMode bool) (*types.Transaction, error)
SetInPrivateLiquidationMode is a paid mutator transaction binding the contract method 0x21bd0592.
Solidity: function setInPrivateLiquidationMode(address _vault, bool _inPrivateLiquidationMode) returns()
func (*TimelockTransactor) SetInPrivateTransferMode ¶
func (_Timelock *TimelockTransactor) SetInPrivateTransferMode(opts *bind.TransactOpts, _token common.Address, _inPrivateTransferMode bool) (*types.Transaction, error)
SetInPrivateTransferMode is a paid mutator transaction binding the contract method 0x86803c72.
Solidity: function setInPrivateTransferMode(address _token, bool _inPrivateTransferMode) returns()
func (*TimelockTransactor) SetIsLeverageEnabled ¶
func (_Timelock *TimelockTransactor) SetIsLeverageEnabled(opts *bind.TransactOpts, _vault common.Address, _isLeverageEnabled bool) (*types.Transaction, error)
SetIsLeverageEnabled is a paid mutator transaction binding the contract method 0xcd2b1230.
Solidity: function setIsLeverageEnabled(address _vault, bool _isLeverageEnabled) returns()
func (*TimelockTransactor) SetIsSwapEnabled ¶
func (_Timelock *TimelockTransactor) SetIsSwapEnabled(opts *bind.TransactOpts, _vault common.Address, _isSwapEnabled bool) (*types.Transaction, error)
SetIsSwapEnabled is a paid mutator transaction binding the contract method 0x117cf204.
Solidity: function setIsSwapEnabled(address _vault, bool _isSwapEnabled) returns()
func (*TimelockTransactor) SetKeeper ¶
func (_Timelock *TimelockTransactor) SetKeeper(opts *bind.TransactOpts, _keeper common.Address, _isActive bool) (*types.Transaction, error)
SetKeeper is a paid mutator transaction binding the contract method 0xd1b9e853.
Solidity: function setKeeper(address _keeper, bool _isActive) returns()
func (*TimelockTransactor) SetLiquidator ¶
func (_Timelock *TimelockTransactor) SetLiquidator(opts *bind.TransactOpts, _vault common.Address, _liquidator common.Address, _isActive bool) (*types.Transaction, error)
SetLiquidator is a paid mutator transaction binding the contract method 0x47de43e2.
Solidity: function setLiquidator(address _vault, address _liquidator, bool _isActive) returns()
func (*TimelockTransactor) SetMarginFeeBasisPoints ¶
func (_Timelock *TimelockTransactor) SetMarginFeeBasisPoints(opts *bind.TransactOpts, _marginFeeBasisPoints *big.Int, _maxMarginFeeBasisPoints *big.Int) (*types.Transaction, error)
SetMarginFeeBasisPoints is a paid mutator transaction binding the contract method 0xe21b4591.
Solidity: function setMarginFeeBasisPoints(uint256 _marginFeeBasisPoints, uint256 _maxMarginFeeBasisPoints) returns()
func (*TimelockTransactor) SetMaxGasPrice ¶
func (_Timelock *TimelockTransactor) SetMaxGasPrice(opts *bind.TransactOpts, _vault common.Address, _maxGasPrice *big.Int) (*types.Transaction, error)
SetMaxGasPrice is a paid mutator transaction binding the contract method 0x8bf22c46.
Solidity: function setMaxGasPrice(address _vault, uint256 _maxGasPrice) returns()
func (*TimelockTransactor) SetMaxGlobalShortSize ¶
func (_Timelock *TimelockTransactor) SetMaxGlobalShortSize(opts *bind.TransactOpts, _vault common.Address, _token common.Address, _amount *big.Int) (*types.Transaction, error)
SetMaxGlobalShortSize is a paid mutator transaction binding the contract method 0xdf3a66d9.
Solidity: function setMaxGlobalShortSize(address _vault, address _token, uint256 _amount) returns()
func (*TimelockTransactor) SetMaxLeverage ¶
func (_Timelock *TimelockTransactor) SetMaxLeverage(opts *bind.TransactOpts, _vault common.Address, _maxLeverage *big.Int) (*types.Transaction, error)
SetMaxLeverage is a paid mutator transaction binding the contract method 0x7b6f775a.
Solidity: function setMaxLeverage(address _vault, uint256 _maxLeverage) returns()
func (*TimelockTransactor) SetPriceFeed ¶
func (_Timelock *TimelockTransactor) SetPriceFeed(opts *bind.TransactOpts, _vault common.Address, _priceFeed common.Address) (*types.Transaction, error)
SetPriceFeed is a paid mutator transaction binding the contract method 0x76e11286.
Solidity: function setPriceFeed(address _vault, address _priceFeed) returns()
func (*TimelockTransactor) SetReferrerTier ¶
func (_Timelock *TimelockTransactor) SetReferrerTier(opts *bind.TransactOpts, _referralStorage common.Address, _referrer common.Address, _tierId *big.Int) (*types.Transaction, error)
SetReferrerTier is a paid mutator transaction binding the contract method 0xc142940a.
Solidity: function setReferrerTier(address _referralStorage, address _referrer, uint256 _tierId) returns()
func (*TimelockTransactor) SetShortsTrackerAveragePriceWeight ¶
func (_Timelock *TimelockTransactor) SetShortsTrackerAveragePriceWeight(opts *bind.TransactOpts, _shortsTrackerAveragePriceWeight *big.Int) (*types.Transaction, error)
SetShortsTrackerAveragePriceWeight is a paid mutator transaction binding the contract method 0x4f5f6b5e.
Solidity: function setShortsTrackerAveragePriceWeight(uint256 _shortsTrackerAveragePriceWeight) returns()
func (*TimelockTransactor) SetShouldToggleIsLeverageEnabled ¶
func (_Timelock *TimelockTransactor) SetShouldToggleIsLeverageEnabled(opts *bind.TransactOpts, _shouldToggleIsLeverageEnabled bool) (*types.Transaction, error)
SetShouldToggleIsLeverageEnabled is a paid mutator transaction binding the contract method 0x8e34c98f.
Solidity: function setShouldToggleIsLeverageEnabled(bool _shouldToggleIsLeverageEnabled) returns()
func (*TimelockTransactor) SetSwapFees ¶
func (_Timelock *TimelockTransactor) SetSwapFees(opts *bind.TransactOpts, _vault common.Address, _taxBasisPoints *big.Int, _stableTaxBasisPoints *big.Int, _mintBurnFeeBasisPoints *big.Int, _swapFeeBasisPoints *big.Int, _stableSwapFeeBasisPoints *big.Int) (*types.Transaction, error)
SetSwapFees is a paid mutator transaction binding the contract method 0xda762316.
Solidity: function setSwapFees(address _vault, uint256 _taxBasisPoints, uint256 _stableTaxBasisPoints, uint256 _mintBurnFeeBasisPoints, uint256 _swapFeeBasisPoints, uint256 _stableSwapFeeBasisPoints) returns()
func (*TimelockTransactor) SetTier ¶
func (_Timelock *TimelockTransactor) SetTier(opts *bind.TransactOpts, _referralStorage common.Address, _tierId *big.Int, _totalRebate *big.Int, _discountShare *big.Int) (*types.Transaction, error)
SetTier is a paid mutator transaction binding the contract method 0x55818294.
Solidity: function setTier(address _referralStorage, uint256 _tierId, uint256 _totalRebate, uint256 _discountShare) returns()
func (*TimelockTransactor) SetTokenConfig ¶
func (_Timelock *TimelockTransactor) SetTokenConfig(opts *bind.TransactOpts, _vault common.Address, _token common.Address, _tokenWeight *big.Int, _minProfitBps *big.Int, _maxUsdgAmount *big.Int, _bufferAmount *big.Int, _usdgAmount *big.Int) (*types.Transaction, error)
SetTokenConfig is a paid mutator transaction binding the contract method 0x0e0dc426.
Solidity: function setTokenConfig(address _vault, address _token, uint256 _tokenWeight, uint256 _minProfitBps, uint256 _maxUsdgAmount, uint256 _bufferAmount, uint256 _usdgAmount) returns()
func (*TimelockTransactor) SetUsdgAmounts ¶
func (_Timelock *TimelockTransactor) SetUsdgAmounts(opts *bind.TransactOpts, _vault common.Address, _tokens []common.Address, _usdgAmounts []*big.Int) (*types.Transaction, error)
SetUsdgAmounts is a paid mutator transaction binding the contract method 0x9b53ad22.
Solidity: function setUsdgAmounts(address _vault, address[] _tokens, uint256[] _usdgAmounts) returns()
func (*TimelockTransactor) SetVaultUtils ¶
func (_Timelock *TimelockTransactor) SetVaultUtils(opts *bind.TransactOpts, _vault common.Address, _vaultUtils common.Address) (*types.Transaction, error)
SetVaultUtils is a paid mutator transaction binding the contract method 0xbc476dfd.
Solidity: function setVaultUtils(address _vault, address _vaultUtils) returns()
func (*TimelockTransactor) SignalApprove ¶
func (_Timelock *TimelockTransactor) SignalApprove(opts *bind.TransactOpts, _token common.Address, _spender common.Address, _amount *big.Int) (*types.Transaction, error)
SignalApprove is a paid mutator transaction binding the contract method 0xdce6e18d.
Solidity: function signalApprove(address _token, address _spender, uint256 _amount) returns()
func (*TimelockTransactor) SignalMint ¶
func (_Timelock *TimelockTransactor) SignalMint(opts *bind.TransactOpts, _token common.Address, _receiver common.Address, _amount *big.Int) (*types.Transaction, error)
SignalMint is a paid mutator transaction binding the contract method 0x09cc9a08.
Solidity: function signalMint(address _token, address _receiver, uint256 _amount) returns()
func (*TimelockTransactor) SignalRedeemUsdg ¶
func (_Timelock *TimelockTransactor) SignalRedeemUsdg(opts *bind.TransactOpts, _vault common.Address, _token common.Address, _amount *big.Int) (*types.Transaction, error)
SignalRedeemUsdg is a paid mutator transaction binding the contract method 0x0191c237.
Solidity: function signalRedeemUsdg(address _vault, address _token, uint256 _amount) returns()
func (*TimelockTransactor) SignalSetGov ¶
func (_Timelock *TimelockTransactor) SignalSetGov(opts *bind.TransactOpts, _target common.Address, _gov common.Address) (*types.Transaction, error)
SignalSetGov is a paid mutator transaction binding the contract method 0x996a7a1e.
Solidity: function signalSetGov(address _target, address _gov) returns()
func (*TimelockTransactor) SignalSetHandler ¶
func (_Timelock *TimelockTransactor) SignalSetHandler(opts *bind.TransactOpts, _target common.Address, _handler common.Address, _isActive bool) (*types.Transaction, error)
SignalSetHandler is a paid mutator transaction binding the contract method 0x24ccbe30.
Solidity: function signalSetHandler(address _target, address _handler, bool _isActive) returns()
func (*TimelockTransactor) SignalSetPriceFeed ¶
func (_Timelock *TimelockTransactor) SignalSetPriceFeed(opts *bind.TransactOpts, _vault common.Address, _priceFeed common.Address) (*types.Transaction, error)
SignalSetPriceFeed is a paid mutator transaction binding the contract method 0x80894d62.
Solidity: function signalSetPriceFeed(address _vault, address _priceFeed) returns()
func (*TimelockTransactor) SignalVaultSetTokenConfig ¶
func (_Timelock *TimelockTransactor) SignalVaultSetTokenConfig(opts *bind.TransactOpts, _vault common.Address, _token common.Address, _tokenDecimals *big.Int, _tokenWeight *big.Int, _minProfitBps *big.Int, _maxUsdgAmount *big.Int, _isStable bool, _isShortable bool) (*types.Transaction, error)
SignalVaultSetTokenConfig is a paid mutator transaction binding the contract method 0xdb1c8441.
Solidity: function signalVaultSetTokenConfig(address _vault, address _token, uint256 _tokenDecimals, uint256 _tokenWeight, uint256 _minProfitBps, uint256 _maxUsdgAmount, bool _isStable, bool _isShortable) returns()
func (*TimelockTransactor) SignalWithdrawToken ¶
func (_Timelock *TimelockTransactor) SignalWithdrawToken(opts *bind.TransactOpts, _target common.Address, _token common.Address, _receiver common.Address, _amount *big.Int) (*types.Transaction, error)
SignalWithdrawToken is a paid mutator transaction binding the contract method 0x4cd23f3b.
Solidity: function signalWithdrawToken(address _target, address _token, address _receiver, uint256 _amount) returns()
func (*TimelockTransactor) TransferIn ¶
func (_Timelock *TimelockTransactor) TransferIn(opts *bind.TransactOpts, _sender common.Address, _token common.Address, _amount *big.Int) (*types.Transaction, error)
TransferIn is a paid mutator transaction binding the contract method 0xe4652f49.
Solidity: function transferIn(address _sender, address _token, uint256 _amount) returns()
func (*TimelockTransactor) UpdateUsdgSupply ¶
func (_Timelock *TimelockTransactor) UpdateUsdgSupply(opts *bind.TransactOpts, usdgAmount *big.Int) (*types.Transaction, error)
UpdateUsdgSupply is a paid mutator transaction binding the contract method 0x81774b3d.
Solidity: function updateUsdgSupply(uint256 usdgAmount) returns()
func (*TimelockTransactor) VaultSetTokenConfig ¶
func (_Timelock *TimelockTransactor) VaultSetTokenConfig(opts *bind.TransactOpts, _vault common.Address, _token common.Address, _tokenDecimals *big.Int, _tokenWeight *big.Int, _minProfitBps *big.Int, _maxUsdgAmount *big.Int, _isStable bool, _isShortable bool) (*types.Transaction, error)
VaultSetTokenConfig is a paid mutator transaction binding the contract method 0xe3cbeb0f.
Solidity: function vaultSetTokenConfig(address _vault, address _token, uint256 _tokenDecimals, uint256 _tokenWeight, uint256 _minProfitBps, uint256 _maxUsdgAmount, bool _isStable, bool _isShortable) returns()
func (*TimelockTransactor) WithdrawFees ¶
func (_Timelock *TimelockTransactor) WithdrawFees(opts *bind.TransactOpts, _vault common.Address, _token common.Address, _receiver common.Address) (*types.Transaction, error)
WithdrawFees is a paid mutator transaction binding the contract method 0x0e9587f3.
Solidity: function withdrawFees(address _vault, address _token, address _receiver) returns()
func (*TimelockTransactor) WithdrawToken ¶
func (_Timelock *TimelockTransactor) WithdrawToken(opts *bind.TransactOpts, _target common.Address, _token common.Address, _receiver common.Address, _amount *big.Int) (*types.Transaction, error)
WithdrawToken is a paid mutator transaction binding the contract method 0x21754d9e.
Solidity: function withdrawToken(address _target, address _token, address _receiver, uint256 _amount) returns()
type TimelockTransactorRaw ¶
type TimelockTransactorRaw struct {
Contract *TimelockTransactor // Generic write-only contract binding to access the raw methods on
}
TimelockTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*TimelockTransactorRaw) Transact ¶
func (_Timelock *TimelockTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*TimelockTransactorRaw) Transfer ¶
func (_Timelock *TimelockTransactorRaw) 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 TimelockTransactorSession ¶
type TimelockTransactorSession struct { Contract *TimelockTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
TimelockTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*TimelockTransactorSession) Approve ¶
func (_Timelock *TimelockTransactorSession) Approve(_token common.Address, _spender common.Address, _amount *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0xe1f21c67.
Solidity: function approve(address _token, address _spender, uint256 _amount) returns()
func (*TimelockTransactorSession) BatchSetBonusRewards ¶
func (_Timelock *TimelockTransactorSession) BatchSetBonusRewards(_vester common.Address, _accounts []common.Address, _amounts []*big.Int) (*types.Transaction, error)
BatchSetBonusRewards is a paid mutator transaction binding the contract method 0x009a698e.
Solidity: function batchSetBonusRewards(address _vester, address[] _accounts, uint256[] _amounts) returns()
func (*TimelockTransactorSession) BatchWithdrawFees ¶
func (_Timelock *TimelockTransactorSession) BatchWithdrawFees(_vault common.Address, _tokens []common.Address) (*types.Transaction, error)
BatchWithdrawFees is a paid mutator transaction binding the contract method 0xe8ae2271.
Solidity: function batchWithdrawFees(address _vault, address[] _tokens) returns()
func (*TimelockTransactorSession) CancelAction ¶
func (_Timelock *TimelockTransactorSession) CancelAction(_action [32]byte) (*types.Transaction, error)
CancelAction is a paid mutator transaction binding the contract method 0x781cc3d3.
Solidity: function cancelAction(bytes32 _action) returns()
func (*TimelockTransactorSession) DisableLeverage ¶
func (_Timelock *TimelockTransactorSession) DisableLeverage(_vault common.Address) (*types.Transaction, error)
DisableLeverage is a paid mutator transaction binding the contract method 0xd3c87bbb.
Solidity: function disableLeverage(address _vault) returns()
func (*TimelockTransactorSession) EnableLeverage ¶
func (_Timelock *TimelockTransactorSession) EnableLeverage(_vault common.Address) (*types.Transaction, error)
EnableLeverage is a paid mutator transaction binding the contract method 0x6d63c1d0.
Solidity: function enableLeverage(address _vault) returns()
func (*TimelockTransactorSession) GovSetCodeOwner ¶
func (_Timelock *TimelockTransactorSession) GovSetCodeOwner(_referralStorage common.Address, _code [32]byte, _newAccount common.Address) (*types.Transaction, error)
GovSetCodeOwner is a paid mutator transaction binding the contract method 0x204bbc54.
Solidity: function govSetCodeOwner(address _referralStorage, bytes32 _code, address _newAccount) returns()
func (*TimelockTransactorSession) InitGlpManager ¶
func (_Timelock *TimelockTransactorSession) InitGlpManager() (*types.Transaction, error)
InitGlpManager is a paid mutator transaction binding the contract method 0x7e43c62d.
Solidity: function initGlpManager() returns()
func (*TimelockTransactorSession) InitRewardRouter ¶
func (_Timelock *TimelockTransactorSession) InitRewardRouter() (*types.Transaction, error)
InitRewardRouter is a paid mutator transaction binding the contract method 0xafd14deb.
Solidity: function initRewardRouter() returns()
func (*TimelockTransactorSession) ProcessMint ¶
func (_Timelock *TimelockTransactorSession) ProcessMint(_token common.Address, _receiver common.Address, _amount *big.Int) (*types.Transaction, error)
ProcessMint is a paid mutator transaction binding the contract method 0xbc8a8ab9.
Solidity: function processMint(address _token, address _receiver, uint256 _amount) returns()
func (*TimelockTransactorSession) RedeemUsdg ¶
func (_Timelock *TimelockTransactorSession) RedeemUsdg(_vault common.Address, _token common.Address, _amount *big.Int) (*types.Transaction, error)
RedeemUsdg is a paid mutator transaction binding the contract method 0x70ac0a93.
Solidity: function redeemUsdg(address _vault, address _token, uint256 _amount) returns()
func (*TimelockTransactorSession) RemoveAdmin ¶
func (_Timelock *TimelockTransactorSession) RemoveAdmin(_token common.Address, _account common.Address) (*types.Transaction, error)
RemoveAdmin is a paid mutator transaction binding the contract method 0x268959e5.
Solidity: function removeAdmin(address _token, address _account) returns()
func (*TimelockTransactorSession) SetAdmin ¶
func (_Timelock *TimelockTransactorSession) SetAdmin(_admin common.Address) (*types.Transaction, error)
SetAdmin is a paid mutator transaction binding the contract method 0x704b6c02.
Solidity: function setAdmin(address _admin) returns()
func (*TimelockTransactorSession) SetBuffer ¶
func (_Timelock *TimelockTransactorSession) SetBuffer(_buffer *big.Int) (*types.Transaction, error)
SetBuffer is a paid mutator transaction binding the contract method 0xadc7ea37.
Solidity: function setBuffer(uint256 _buffer) returns()
func (*TimelockTransactorSession) SetContractHandler ¶
func (_Timelock *TimelockTransactorSession) SetContractHandler(_handler common.Address, _isActive bool) (*types.Transaction, error)
SetContractHandler is a paid mutator transaction binding the contract method 0x185051c1.
Solidity: function setContractHandler(address _handler, bool _isActive) returns()
func (*TimelockTransactorSession) SetExternalAdmin ¶
func (_Timelock *TimelockTransactorSession) SetExternalAdmin(_target common.Address, _admin common.Address) (*types.Transaction, error)
SetExternalAdmin is a paid mutator transaction binding the contract method 0x55ef1395.
Solidity: function setExternalAdmin(address _target, address _admin) returns()
func (*TimelockTransactorSession) SetFees ¶
func (_Timelock *TimelockTransactorSession) SetFees(_vault common.Address, _taxBasisPoints *big.Int, _stableTaxBasisPoints *big.Int, _mintBurnFeeBasisPoints *big.Int, _swapFeeBasisPoints *big.Int, _stableSwapFeeBasisPoints *big.Int, _marginFeeBasisPoints *big.Int, _liquidationFeeUsd *big.Int, _minProfitTime *big.Int, _hasDynamicFees bool) (*types.Transaction, error)
SetFees is a paid mutator transaction binding the contract method 0x6e5227d4.
Solidity: function setFees(address _vault, uint256 _taxBasisPoints, uint256 _stableTaxBasisPoints, uint256 _mintBurnFeeBasisPoints, uint256 _swapFeeBasisPoints, uint256 _stableSwapFeeBasisPoints, uint256 _marginFeeBasisPoints, uint256 _liquidationFeeUsd, uint256 _minProfitTime, bool _hasDynamicFees) returns()
func (*TimelockTransactorSession) SetFundingRate ¶
func (_Timelock *TimelockTransactorSession) SetFundingRate(_vault common.Address, _fundingInterval *big.Int, _fundingRateFactor *big.Int, _stableFundingRateFactor *big.Int) (*types.Transaction, error)
SetFundingRate is a paid mutator transaction binding the contract method 0x227f03eb.
Solidity: function setFundingRate(address _vault, uint256 _fundingInterval, uint256 _fundingRateFactor, uint256 _stableFundingRateFactor) returns()
func (*TimelockTransactorSession) SetGlpCooldownDuration ¶
func (_Timelock *TimelockTransactorSession) SetGlpCooldownDuration(_cooldownDuration *big.Int) (*types.Transaction, error)
SetGlpCooldownDuration is a paid mutator transaction binding the contract method 0x5b05348b.
Solidity: function setGlpCooldownDuration(uint256 _cooldownDuration) returns()
func (*TimelockTransactorSession) SetGov ¶
func (_Timelock *TimelockTransactorSession) SetGov(_target common.Address, _gov common.Address) (*types.Transaction, error)
SetGov is a paid mutator transaction binding the contract method 0x51a6de0d.
Solidity: function setGov(address _target, address _gov) returns()
func (*TimelockTransactorSession) SetHandler ¶
func (_Timelock *TimelockTransactorSession) SetHandler(_target common.Address, _handler common.Address, _isActive bool) (*types.Transaction, error)
SetHandler is a paid mutator transaction binding the contract method 0x1154e808.
Solidity: function setHandler(address _target, address _handler, bool _isActive) returns()
func (*TimelockTransactorSession) SetInPrivateLiquidationMode ¶
func (_Timelock *TimelockTransactorSession) SetInPrivateLiquidationMode(_vault common.Address, _inPrivateLiquidationMode bool) (*types.Transaction, error)
SetInPrivateLiquidationMode is a paid mutator transaction binding the contract method 0x21bd0592.
Solidity: function setInPrivateLiquidationMode(address _vault, bool _inPrivateLiquidationMode) returns()
func (*TimelockTransactorSession) SetInPrivateTransferMode ¶
func (_Timelock *TimelockTransactorSession) SetInPrivateTransferMode(_token common.Address, _inPrivateTransferMode bool) (*types.Transaction, error)
SetInPrivateTransferMode is a paid mutator transaction binding the contract method 0x86803c72.
Solidity: function setInPrivateTransferMode(address _token, bool _inPrivateTransferMode) returns()
func (*TimelockTransactorSession) SetIsLeverageEnabled ¶
func (_Timelock *TimelockTransactorSession) SetIsLeverageEnabled(_vault common.Address, _isLeverageEnabled bool) (*types.Transaction, error)
SetIsLeverageEnabled is a paid mutator transaction binding the contract method 0xcd2b1230.
Solidity: function setIsLeverageEnabled(address _vault, bool _isLeverageEnabled) returns()
func (*TimelockTransactorSession) SetIsSwapEnabled ¶
func (_Timelock *TimelockTransactorSession) SetIsSwapEnabled(_vault common.Address, _isSwapEnabled bool) (*types.Transaction, error)
SetIsSwapEnabled is a paid mutator transaction binding the contract method 0x117cf204.
Solidity: function setIsSwapEnabled(address _vault, bool _isSwapEnabled) returns()
func (*TimelockTransactorSession) SetKeeper ¶
func (_Timelock *TimelockTransactorSession) SetKeeper(_keeper common.Address, _isActive bool) (*types.Transaction, error)
SetKeeper is a paid mutator transaction binding the contract method 0xd1b9e853.
Solidity: function setKeeper(address _keeper, bool _isActive) returns()
func (*TimelockTransactorSession) SetLiquidator ¶
func (_Timelock *TimelockTransactorSession) SetLiquidator(_vault common.Address, _liquidator common.Address, _isActive bool) (*types.Transaction, error)
SetLiquidator is a paid mutator transaction binding the contract method 0x47de43e2.
Solidity: function setLiquidator(address _vault, address _liquidator, bool _isActive) returns()
func (*TimelockTransactorSession) SetMarginFeeBasisPoints ¶
func (_Timelock *TimelockTransactorSession) SetMarginFeeBasisPoints(_marginFeeBasisPoints *big.Int, _maxMarginFeeBasisPoints *big.Int) (*types.Transaction, error)
SetMarginFeeBasisPoints is a paid mutator transaction binding the contract method 0xe21b4591.
Solidity: function setMarginFeeBasisPoints(uint256 _marginFeeBasisPoints, uint256 _maxMarginFeeBasisPoints) returns()
func (*TimelockTransactorSession) SetMaxGasPrice ¶
func (_Timelock *TimelockTransactorSession) SetMaxGasPrice(_vault common.Address, _maxGasPrice *big.Int) (*types.Transaction, error)
SetMaxGasPrice is a paid mutator transaction binding the contract method 0x8bf22c46.
Solidity: function setMaxGasPrice(address _vault, uint256 _maxGasPrice) returns()
func (*TimelockTransactorSession) SetMaxGlobalShortSize ¶
func (_Timelock *TimelockTransactorSession) SetMaxGlobalShortSize(_vault common.Address, _token common.Address, _amount *big.Int) (*types.Transaction, error)
SetMaxGlobalShortSize is a paid mutator transaction binding the contract method 0xdf3a66d9.
Solidity: function setMaxGlobalShortSize(address _vault, address _token, uint256 _amount) returns()
func (*TimelockTransactorSession) SetMaxLeverage ¶
func (_Timelock *TimelockTransactorSession) SetMaxLeverage(_vault common.Address, _maxLeverage *big.Int) (*types.Transaction, error)
SetMaxLeverage is a paid mutator transaction binding the contract method 0x7b6f775a.
Solidity: function setMaxLeverage(address _vault, uint256 _maxLeverage) returns()
func (*TimelockTransactorSession) SetPriceFeed ¶
func (_Timelock *TimelockTransactorSession) SetPriceFeed(_vault common.Address, _priceFeed common.Address) (*types.Transaction, error)
SetPriceFeed is a paid mutator transaction binding the contract method 0x76e11286.
Solidity: function setPriceFeed(address _vault, address _priceFeed) returns()
func (*TimelockTransactorSession) SetReferrerTier ¶
func (_Timelock *TimelockTransactorSession) SetReferrerTier(_referralStorage common.Address, _referrer common.Address, _tierId *big.Int) (*types.Transaction, error)
SetReferrerTier is a paid mutator transaction binding the contract method 0xc142940a.
Solidity: function setReferrerTier(address _referralStorage, address _referrer, uint256 _tierId) returns()
func (*TimelockTransactorSession) SetShortsTrackerAveragePriceWeight ¶
func (_Timelock *TimelockTransactorSession) SetShortsTrackerAveragePriceWeight(_shortsTrackerAveragePriceWeight *big.Int) (*types.Transaction, error)
SetShortsTrackerAveragePriceWeight is a paid mutator transaction binding the contract method 0x4f5f6b5e.
Solidity: function setShortsTrackerAveragePriceWeight(uint256 _shortsTrackerAveragePriceWeight) returns()
func (*TimelockTransactorSession) SetShouldToggleIsLeverageEnabled ¶
func (_Timelock *TimelockTransactorSession) SetShouldToggleIsLeverageEnabled(_shouldToggleIsLeverageEnabled bool) (*types.Transaction, error)
SetShouldToggleIsLeverageEnabled is a paid mutator transaction binding the contract method 0x8e34c98f.
Solidity: function setShouldToggleIsLeverageEnabled(bool _shouldToggleIsLeverageEnabled) returns()
func (*TimelockTransactorSession) SetSwapFees ¶
func (_Timelock *TimelockTransactorSession) SetSwapFees(_vault common.Address, _taxBasisPoints *big.Int, _stableTaxBasisPoints *big.Int, _mintBurnFeeBasisPoints *big.Int, _swapFeeBasisPoints *big.Int, _stableSwapFeeBasisPoints *big.Int) (*types.Transaction, error)
SetSwapFees is a paid mutator transaction binding the contract method 0xda762316.
Solidity: function setSwapFees(address _vault, uint256 _taxBasisPoints, uint256 _stableTaxBasisPoints, uint256 _mintBurnFeeBasisPoints, uint256 _swapFeeBasisPoints, uint256 _stableSwapFeeBasisPoints) returns()
func (*TimelockTransactorSession) SetTier ¶
func (_Timelock *TimelockTransactorSession) SetTier(_referralStorage common.Address, _tierId *big.Int, _totalRebate *big.Int, _discountShare *big.Int) (*types.Transaction, error)
SetTier is a paid mutator transaction binding the contract method 0x55818294.
Solidity: function setTier(address _referralStorage, uint256 _tierId, uint256 _totalRebate, uint256 _discountShare) returns()
func (*TimelockTransactorSession) SetTokenConfig ¶
func (_Timelock *TimelockTransactorSession) SetTokenConfig(_vault common.Address, _token common.Address, _tokenWeight *big.Int, _minProfitBps *big.Int, _maxUsdgAmount *big.Int, _bufferAmount *big.Int, _usdgAmount *big.Int) (*types.Transaction, error)
SetTokenConfig is a paid mutator transaction binding the contract method 0x0e0dc426.
Solidity: function setTokenConfig(address _vault, address _token, uint256 _tokenWeight, uint256 _minProfitBps, uint256 _maxUsdgAmount, uint256 _bufferAmount, uint256 _usdgAmount) returns()
func (*TimelockTransactorSession) SetUsdgAmounts ¶
func (_Timelock *TimelockTransactorSession) SetUsdgAmounts(_vault common.Address, _tokens []common.Address, _usdgAmounts []*big.Int) (*types.Transaction, error)
SetUsdgAmounts is a paid mutator transaction binding the contract method 0x9b53ad22.
Solidity: function setUsdgAmounts(address _vault, address[] _tokens, uint256[] _usdgAmounts) returns()
func (*TimelockTransactorSession) SetVaultUtils ¶
func (_Timelock *TimelockTransactorSession) SetVaultUtils(_vault common.Address, _vaultUtils common.Address) (*types.Transaction, error)
SetVaultUtils is a paid mutator transaction binding the contract method 0xbc476dfd.
Solidity: function setVaultUtils(address _vault, address _vaultUtils) returns()
func (*TimelockTransactorSession) SignalApprove ¶
func (_Timelock *TimelockTransactorSession) SignalApprove(_token common.Address, _spender common.Address, _amount *big.Int) (*types.Transaction, error)
SignalApprove is a paid mutator transaction binding the contract method 0xdce6e18d.
Solidity: function signalApprove(address _token, address _spender, uint256 _amount) returns()
func (*TimelockTransactorSession) SignalMint ¶
func (_Timelock *TimelockTransactorSession) SignalMint(_token common.Address, _receiver common.Address, _amount *big.Int) (*types.Transaction, error)
SignalMint is a paid mutator transaction binding the contract method 0x09cc9a08.
Solidity: function signalMint(address _token, address _receiver, uint256 _amount) returns()
func (*TimelockTransactorSession) SignalRedeemUsdg ¶
func (_Timelock *TimelockTransactorSession) SignalRedeemUsdg(_vault common.Address, _token common.Address, _amount *big.Int) (*types.Transaction, error)
SignalRedeemUsdg is a paid mutator transaction binding the contract method 0x0191c237.
Solidity: function signalRedeemUsdg(address _vault, address _token, uint256 _amount) returns()
func (*TimelockTransactorSession) SignalSetGov ¶
func (_Timelock *TimelockTransactorSession) SignalSetGov(_target common.Address, _gov common.Address) (*types.Transaction, error)
SignalSetGov is a paid mutator transaction binding the contract method 0x996a7a1e.
Solidity: function signalSetGov(address _target, address _gov) returns()
func (*TimelockTransactorSession) SignalSetHandler ¶
func (_Timelock *TimelockTransactorSession) SignalSetHandler(_target common.Address, _handler common.Address, _isActive bool) (*types.Transaction, error)
SignalSetHandler is a paid mutator transaction binding the contract method 0x24ccbe30.
Solidity: function signalSetHandler(address _target, address _handler, bool _isActive) returns()
func (*TimelockTransactorSession) SignalSetPriceFeed ¶
func (_Timelock *TimelockTransactorSession) SignalSetPriceFeed(_vault common.Address, _priceFeed common.Address) (*types.Transaction, error)
SignalSetPriceFeed is a paid mutator transaction binding the contract method 0x80894d62.
Solidity: function signalSetPriceFeed(address _vault, address _priceFeed) returns()
func (*TimelockTransactorSession) SignalVaultSetTokenConfig ¶
func (_Timelock *TimelockTransactorSession) SignalVaultSetTokenConfig(_vault common.Address, _token common.Address, _tokenDecimals *big.Int, _tokenWeight *big.Int, _minProfitBps *big.Int, _maxUsdgAmount *big.Int, _isStable bool, _isShortable bool) (*types.Transaction, error)
SignalVaultSetTokenConfig is a paid mutator transaction binding the contract method 0xdb1c8441.
Solidity: function signalVaultSetTokenConfig(address _vault, address _token, uint256 _tokenDecimals, uint256 _tokenWeight, uint256 _minProfitBps, uint256 _maxUsdgAmount, bool _isStable, bool _isShortable) returns()
func (*TimelockTransactorSession) SignalWithdrawToken ¶
func (_Timelock *TimelockTransactorSession) SignalWithdrawToken(_target common.Address, _token common.Address, _receiver common.Address, _amount *big.Int) (*types.Transaction, error)
SignalWithdrawToken is a paid mutator transaction binding the contract method 0x4cd23f3b.
Solidity: function signalWithdrawToken(address _target, address _token, address _receiver, uint256 _amount) returns()
func (*TimelockTransactorSession) TransferIn ¶
func (_Timelock *TimelockTransactorSession) TransferIn(_sender common.Address, _token common.Address, _amount *big.Int) (*types.Transaction, error)
TransferIn is a paid mutator transaction binding the contract method 0xe4652f49.
Solidity: function transferIn(address _sender, address _token, uint256 _amount) returns()
func (*TimelockTransactorSession) UpdateUsdgSupply ¶
func (_Timelock *TimelockTransactorSession) UpdateUsdgSupply(usdgAmount *big.Int) (*types.Transaction, error)
UpdateUsdgSupply is a paid mutator transaction binding the contract method 0x81774b3d.
Solidity: function updateUsdgSupply(uint256 usdgAmount) returns()
func (*TimelockTransactorSession) VaultSetTokenConfig ¶
func (_Timelock *TimelockTransactorSession) VaultSetTokenConfig(_vault common.Address, _token common.Address, _tokenDecimals *big.Int, _tokenWeight *big.Int, _minProfitBps *big.Int, _maxUsdgAmount *big.Int, _isStable bool, _isShortable bool) (*types.Transaction, error)
VaultSetTokenConfig is a paid mutator transaction binding the contract method 0xe3cbeb0f.
Solidity: function vaultSetTokenConfig(address _vault, address _token, uint256 _tokenDecimals, uint256 _tokenWeight, uint256 _minProfitBps, uint256 _maxUsdgAmount, bool _isStable, bool _isShortable) returns()
func (*TimelockTransactorSession) WithdrawFees ¶
func (_Timelock *TimelockTransactorSession) WithdrawFees(_vault common.Address, _token common.Address, _receiver common.Address) (*types.Transaction, error)
WithdrawFees is a paid mutator transaction binding the contract method 0x0e9587f3.
Solidity: function withdrawFees(address _vault, address _token, address _receiver) returns()
func (*TimelockTransactorSession) WithdrawToken ¶
func (_Timelock *TimelockTransactorSession) WithdrawToken(_target common.Address, _token common.Address, _receiver common.Address, _amount *big.Int) (*types.Transaction, error)
WithdrawToken is a paid mutator transaction binding the contract method 0x21754d9e.
Solidity: function withdrawToken(address _target, address _token, address _receiver, uint256 _amount) returns()