Documentation
¶
Index ¶
- Variables
- type FastPriceFee
- type FastPriceFeeCaller
- func (_FastPriceFee *FastPriceFeeCaller) BASISPOINTSDIVISOR(opts *bind.CallOpts) (*big.Int, error)
- func (_FastPriceFee *FastPriceFeeCaller) BITMASK32(opts *bind.CallOpts) (*big.Int, error)
- func (_FastPriceFee *FastPriceFeeCaller) CUMULATIVEDELTAPRECISION(opts *bind.CallOpts) (*big.Int, error)
- func (_FastPriceFee *FastPriceFeeCaller) DisableFastPriceVoteCount(opts *bind.CallOpts) (*big.Int, error)
- func (_FastPriceFee *FastPriceFeeCaller) DisableFastPriceVotes(opts *bind.CallOpts, arg0 common.Address) (bool, error)
- func (_FastPriceFee *FastPriceFeeCaller) FastPriceEvents(opts *bind.CallOpts) (common.Address, error)
- func (_FastPriceFee *FastPriceFeeCaller) FavorFastPrice(opts *bind.CallOpts, _token common.Address) (bool, error)
- func (_FastPriceFee *FastPriceFeeCaller) GetPrice(opts *bind.CallOpts, _token common.Address, _refPrice *big.Int, _maximise bool) (*big.Int, error)
- func (_FastPriceFee *FastPriceFeeCaller) GetPriceData(opts *bind.CallOpts, _token common.Address) (*big.Int, *big.Int, *big.Int, *big.Int, error)
- func (_FastPriceFee *FastPriceFeeCaller) Gov(opts *bind.CallOpts) (common.Address, error)
- func (_FastPriceFee *FastPriceFeeCaller) IsInitialized(opts *bind.CallOpts) (bool, error)
- func (_FastPriceFee *FastPriceFeeCaller) IsSigner(opts *bind.CallOpts, arg0 common.Address) (bool, error)
- func (_FastPriceFee *FastPriceFeeCaller) IsSpreadEnabled(opts *bind.CallOpts) (bool, error)
- func (_FastPriceFee *FastPriceFeeCaller) IsUpdater(opts *bind.CallOpts, arg0 common.Address) (bool, error)
- func (_FastPriceFee *FastPriceFeeCaller) LastUpdatedAt(opts *bind.CallOpts) (*big.Int, error)
- func (_FastPriceFee *FastPriceFeeCaller) LastUpdatedBlock(opts *bind.CallOpts) (*big.Int, error)
- func (_FastPriceFee *FastPriceFeeCaller) MAXCUMULATIVEFASTDELTA(opts *bind.CallOpts) (*big.Int, error)
- func (_FastPriceFee *FastPriceFeeCaller) MAXCUMULATIVEREFDELTA(opts *bind.CallOpts) (*big.Int, error)
- func (_FastPriceFee *FastPriceFeeCaller) MAXPRICEDURATION(opts *bind.CallOpts) (*big.Int, error)
- func (_FastPriceFee *FastPriceFeeCaller) MAXREFPRICE(opts *bind.CallOpts) (*big.Int, error)
- func (_FastPriceFee *FastPriceFeeCaller) MaxCumulativeDeltaDiffs(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
- func (_FastPriceFee *FastPriceFeeCaller) MaxDeviationBasisPoints(opts *bind.CallOpts) (*big.Int, error)
- func (_FastPriceFee *FastPriceFeeCaller) MaxPriceUpdateDelay(opts *bind.CallOpts) (*big.Int, error)
- func (_FastPriceFee *FastPriceFeeCaller) MaxTimeDeviation(opts *bind.CallOpts) (*big.Int, error)
- func (_FastPriceFee *FastPriceFeeCaller) MinAuthorizations(opts *bind.CallOpts) (*big.Int, error)
- func (_FastPriceFee *FastPriceFeeCaller) MinBlockInterval(opts *bind.CallOpts) (*big.Int, error)
- func (_FastPriceFee *FastPriceFeeCaller) PRICEPRECISION(opts *bind.CallOpts) (*big.Int, error)
- func (_FastPriceFee *FastPriceFeeCaller) PriceData(opts *bind.CallOpts, arg0 common.Address) (struct{ ... }, error)
- func (_FastPriceFee *FastPriceFeeCaller) PriceDataInterval(opts *bind.CallOpts) (*big.Int, error)
- func (_FastPriceFee *FastPriceFeeCaller) PriceDuration(opts *bind.CallOpts) (*big.Int, error)
- func (_FastPriceFee *FastPriceFeeCaller) Prices(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
- func (_FastPriceFee *FastPriceFeeCaller) SpreadBasisPointsIfChainError(opts *bind.CallOpts) (*big.Int, error)
- func (_FastPriceFee *FastPriceFeeCaller) SpreadBasisPointsIfInactive(opts *bind.CallOpts) (*big.Int, error)
- func (_FastPriceFee *FastPriceFeeCaller) TokenManager(opts *bind.CallOpts) (common.Address, error)
- func (_FastPriceFee *FastPriceFeeCaller) TokenPrecisions(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)
- func (_FastPriceFee *FastPriceFeeCaller) Tokens(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)
- func (_FastPriceFee *FastPriceFeeCaller) VaultPriceFeed(opts *bind.CallOpts) (common.Address, error)
- type FastPriceFeeCallerRaw
- type FastPriceFeeCallerSession
- func (_FastPriceFee *FastPriceFeeCallerSession) BASISPOINTSDIVISOR() (*big.Int, error)
- func (_FastPriceFee *FastPriceFeeCallerSession) BITMASK32() (*big.Int, error)
- func (_FastPriceFee *FastPriceFeeCallerSession) CUMULATIVEDELTAPRECISION() (*big.Int, error)
- func (_FastPriceFee *FastPriceFeeCallerSession) DisableFastPriceVoteCount() (*big.Int, error)
- func (_FastPriceFee *FastPriceFeeCallerSession) DisableFastPriceVotes(arg0 common.Address) (bool, error)
- func (_FastPriceFee *FastPriceFeeCallerSession) FastPriceEvents() (common.Address, error)
- func (_FastPriceFee *FastPriceFeeCallerSession) FavorFastPrice(_token common.Address) (bool, error)
- func (_FastPriceFee *FastPriceFeeCallerSession) GetPrice(_token common.Address, _refPrice *big.Int, _maximise bool) (*big.Int, error)
- func (_FastPriceFee *FastPriceFeeCallerSession) GetPriceData(_token common.Address) (*big.Int, *big.Int, *big.Int, *big.Int, error)
- func (_FastPriceFee *FastPriceFeeCallerSession) Gov() (common.Address, error)
- func (_FastPriceFee *FastPriceFeeCallerSession) IsInitialized() (bool, error)
- func (_FastPriceFee *FastPriceFeeCallerSession) IsSigner(arg0 common.Address) (bool, error)
- func (_FastPriceFee *FastPriceFeeCallerSession) IsSpreadEnabled() (bool, error)
- func (_FastPriceFee *FastPriceFeeCallerSession) IsUpdater(arg0 common.Address) (bool, error)
- func (_FastPriceFee *FastPriceFeeCallerSession) LastUpdatedAt() (*big.Int, error)
- func (_FastPriceFee *FastPriceFeeCallerSession) LastUpdatedBlock() (*big.Int, error)
- func (_FastPriceFee *FastPriceFeeCallerSession) MAXCUMULATIVEFASTDELTA() (*big.Int, error)
- func (_FastPriceFee *FastPriceFeeCallerSession) MAXCUMULATIVEREFDELTA() (*big.Int, error)
- func (_FastPriceFee *FastPriceFeeCallerSession) MAXPRICEDURATION() (*big.Int, error)
- func (_FastPriceFee *FastPriceFeeCallerSession) MAXREFPRICE() (*big.Int, error)
- func (_FastPriceFee *FastPriceFeeCallerSession) MaxCumulativeDeltaDiffs(arg0 common.Address) (*big.Int, error)
- func (_FastPriceFee *FastPriceFeeCallerSession) MaxDeviationBasisPoints() (*big.Int, error)
- func (_FastPriceFee *FastPriceFeeCallerSession) MaxPriceUpdateDelay() (*big.Int, error)
- func (_FastPriceFee *FastPriceFeeCallerSession) MaxTimeDeviation() (*big.Int, error)
- func (_FastPriceFee *FastPriceFeeCallerSession) MinAuthorizations() (*big.Int, error)
- func (_FastPriceFee *FastPriceFeeCallerSession) MinBlockInterval() (*big.Int, error)
- func (_FastPriceFee *FastPriceFeeCallerSession) PRICEPRECISION() (*big.Int, error)
- func (_FastPriceFee *FastPriceFeeCallerSession) PriceData(arg0 common.Address) (struct{ ... }, error)
- func (_FastPriceFee *FastPriceFeeCallerSession) PriceDataInterval() (*big.Int, error)
- func (_FastPriceFee *FastPriceFeeCallerSession) PriceDuration() (*big.Int, error)
- func (_FastPriceFee *FastPriceFeeCallerSession) Prices(arg0 common.Address) (*big.Int, error)
- func (_FastPriceFee *FastPriceFeeCallerSession) SpreadBasisPointsIfChainError() (*big.Int, error)
- func (_FastPriceFee *FastPriceFeeCallerSession) SpreadBasisPointsIfInactive() (*big.Int, error)
- func (_FastPriceFee *FastPriceFeeCallerSession) TokenManager() (common.Address, error)
- func (_FastPriceFee *FastPriceFeeCallerSession) TokenPrecisions(arg0 *big.Int) (*big.Int, error)
- func (_FastPriceFee *FastPriceFeeCallerSession) Tokens(arg0 *big.Int) (common.Address, error)
- func (_FastPriceFee *FastPriceFeeCallerSession) VaultPriceFeed() (common.Address, error)
- type FastPriceFeeDisableFastPrice
- type FastPriceFeeDisableFastPriceIterator
- type FastPriceFeeEnableFastPrice
- type FastPriceFeeEnableFastPriceIterator
- type FastPriceFeeFilterer
- func (_FastPriceFee *FastPriceFeeFilterer) FilterDisableFastPrice(opts *bind.FilterOpts) (*FastPriceFeeDisableFastPriceIterator, error)
- func (_FastPriceFee *FastPriceFeeFilterer) FilterEnableFastPrice(opts *bind.FilterOpts) (*FastPriceFeeEnableFastPriceIterator, error)
- func (_FastPriceFee *FastPriceFeeFilterer) FilterMaxCumulativeDeltaDiffExceeded(opts *bind.FilterOpts) (*FastPriceFeeMaxCumulativeDeltaDiffExceededIterator, error)
- func (_FastPriceFee *FastPriceFeeFilterer) FilterPriceData(opts *bind.FilterOpts) (*FastPriceFeePriceDataIterator, error)
- func (_FastPriceFee *FastPriceFeeFilterer) ParseDisableFastPrice(log types.Log) (*FastPriceFeeDisableFastPrice, error)
- func (_FastPriceFee *FastPriceFeeFilterer) ParseEnableFastPrice(log types.Log) (*FastPriceFeeEnableFastPrice, error)
- func (_FastPriceFee *FastPriceFeeFilterer) ParseMaxCumulativeDeltaDiffExceeded(log types.Log) (*FastPriceFeeMaxCumulativeDeltaDiffExceeded, error)
- func (_FastPriceFee *FastPriceFeeFilterer) ParsePriceData(log types.Log) (*FastPriceFeePriceData, error)
- func (_FastPriceFee *FastPriceFeeFilterer) WatchDisableFastPrice(opts *bind.WatchOpts, sink chan<- *FastPriceFeeDisableFastPrice) (event.Subscription, error)
- func (_FastPriceFee *FastPriceFeeFilterer) WatchEnableFastPrice(opts *bind.WatchOpts, sink chan<- *FastPriceFeeEnableFastPrice) (event.Subscription, error)
- func (_FastPriceFee *FastPriceFeeFilterer) WatchMaxCumulativeDeltaDiffExceeded(opts *bind.WatchOpts, sink chan<- *FastPriceFeeMaxCumulativeDeltaDiffExceeded) (event.Subscription, error)
- func (_FastPriceFee *FastPriceFeeFilterer) WatchPriceData(opts *bind.WatchOpts, sink chan<- *FastPriceFeePriceData) (event.Subscription, error)
- type FastPriceFeeMaxCumulativeDeltaDiffExceeded
- type FastPriceFeeMaxCumulativeDeltaDiffExceededIterator
- type FastPriceFeePriceData
- type FastPriceFeePriceDataIterator
- type FastPriceFeeRaw
- func (_FastPriceFee *FastPriceFeeRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_FastPriceFee *FastPriceFeeRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_FastPriceFee *FastPriceFeeRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type FastPriceFeeSession
- func (_FastPriceFee *FastPriceFeeSession) BASISPOINTSDIVISOR() (*big.Int, error)
- func (_FastPriceFee *FastPriceFeeSession) BITMASK32() (*big.Int, error)
- func (_FastPriceFee *FastPriceFeeSession) CUMULATIVEDELTAPRECISION() (*big.Int, error)
- func (_FastPriceFee *FastPriceFeeSession) DisableFastPrice() (*types.Transaction, error)
- func (_FastPriceFee *FastPriceFeeSession) DisableFastPriceVoteCount() (*big.Int, error)
- func (_FastPriceFee *FastPriceFeeSession) DisableFastPriceVotes(arg0 common.Address) (bool, error)
- func (_FastPriceFee *FastPriceFeeSession) EnableFastPrice() (*types.Transaction, error)
- func (_FastPriceFee *FastPriceFeeSession) FastPriceEvents() (common.Address, error)
- func (_FastPriceFee *FastPriceFeeSession) FavorFastPrice(_token common.Address) (bool, error)
- func (_FastPriceFee *FastPriceFeeSession) GetPrice(_token common.Address, _refPrice *big.Int, _maximise bool) (*big.Int, error)
- func (_FastPriceFee *FastPriceFeeSession) GetPriceData(_token common.Address) (*big.Int, *big.Int, *big.Int, *big.Int, error)
- func (_FastPriceFee *FastPriceFeeSession) Gov() (common.Address, error)
- func (_FastPriceFee *FastPriceFeeSession) Initialize(_minAuthorizations *big.Int, _signers []common.Address, ...) (*types.Transaction, error)
- func (_FastPriceFee *FastPriceFeeSession) IsInitialized() (bool, error)
- func (_FastPriceFee *FastPriceFeeSession) IsSigner(arg0 common.Address) (bool, error)
- func (_FastPriceFee *FastPriceFeeSession) IsSpreadEnabled() (bool, error)
- func (_FastPriceFee *FastPriceFeeSession) IsUpdater(arg0 common.Address) (bool, error)
- func (_FastPriceFee *FastPriceFeeSession) LastUpdatedAt() (*big.Int, error)
- func (_FastPriceFee *FastPriceFeeSession) LastUpdatedBlock() (*big.Int, error)
- func (_FastPriceFee *FastPriceFeeSession) MAXCUMULATIVEFASTDELTA() (*big.Int, error)
- func (_FastPriceFee *FastPriceFeeSession) MAXCUMULATIVEREFDELTA() (*big.Int, error)
- func (_FastPriceFee *FastPriceFeeSession) MAXPRICEDURATION() (*big.Int, error)
- func (_FastPriceFee *FastPriceFeeSession) MAXREFPRICE() (*big.Int, error)
- func (_FastPriceFee *FastPriceFeeSession) MaxCumulativeDeltaDiffs(arg0 common.Address) (*big.Int, error)
- func (_FastPriceFee *FastPriceFeeSession) MaxDeviationBasisPoints() (*big.Int, error)
- func (_FastPriceFee *FastPriceFeeSession) MaxPriceUpdateDelay() (*big.Int, error)
- func (_FastPriceFee *FastPriceFeeSession) MaxTimeDeviation() (*big.Int, error)
- func (_FastPriceFee *FastPriceFeeSession) MinAuthorizations() (*big.Int, error)
- func (_FastPriceFee *FastPriceFeeSession) MinBlockInterval() (*big.Int, error)
- func (_FastPriceFee *FastPriceFeeSession) PRICEPRECISION() (*big.Int, error)
- func (_FastPriceFee *FastPriceFeeSession) PriceData(arg0 common.Address) (struct{ ... }, error)
- func (_FastPriceFee *FastPriceFeeSession) PriceDataInterval() (*big.Int, error)
- func (_FastPriceFee *FastPriceFeeSession) PriceDuration() (*big.Int, error)
- func (_FastPriceFee *FastPriceFeeSession) Prices(arg0 common.Address) (*big.Int, error)
- func (_FastPriceFee *FastPriceFeeSession) SetCompactedPrices(_priceBitArray []*big.Int, _timestamp *big.Int) (*types.Transaction, error)
- func (_FastPriceFee *FastPriceFeeSession) SetFastPriceEvents(_fastPriceEvents common.Address) (*types.Transaction, error)
- func (_FastPriceFee *FastPriceFeeSession) SetGov(_gov common.Address) (*types.Transaction, error)
- func (_FastPriceFee *FastPriceFeeSession) SetIsSpreadEnabled(_isSpreadEnabled bool) (*types.Transaction, error)
- func (_FastPriceFee *FastPriceFeeSession) SetLastUpdatedAt(_lastUpdatedAt *big.Int) (*types.Transaction, error)
- func (_FastPriceFee *FastPriceFeeSession) SetMaxCumulativeDeltaDiffs(_tokens []common.Address, _maxCumulativeDeltaDiffs []*big.Int) (*types.Transaction, error)
- func (_FastPriceFee *FastPriceFeeSession) SetMaxDeviationBasisPoints(_maxDeviationBasisPoints *big.Int) (*types.Transaction, error)
- func (_FastPriceFee *FastPriceFeeSession) SetMaxPriceUpdateDelay(_maxPriceUpdateDelay *big.Int) (*types.Transaction, error)
- func (_FastPriceFee *FastPriceFeeSession) SetMaxTimeDeviation(_maxTimeDeviation *big.Int) (*types.Transaction, error)
- func (_FastPriceFee *FastPriceFeeSession) SetMinAuthorizations(_minAuthorizations *big.Int) (*types.Transaction, error)
- func (_FastPriceFee *FastPriceFeeSession) SetMinBlockInterval(_minBlockInterval *big.Int) (*types.Transaction, error)
- func (_FastPriceFee *FastPriceFeeSession) SetPriceDataInterval(_priceDataInterval *big.Int) (*types.Transaction, error)
- func (_FastPriceFee *FastPriceFeeSession) SetPriceDuration(_priceDuration *big.Int) (*types.Transaction, error)
- func (_FastPriceFee *FastPriceFeeSession) SetPrices(_tokens []common.Address, _prices []*big.Int, _timestamp *big.Int) (*types.Transaction, error)
- func (_FastPriceFee *FastPriceFeeSession) SetPricesWithBits(_priceBits *big.Int, _timestamp *big.Int) (*types.Transaction, error)
- func (_FastPriceFee *FastPriceFeeSession) SetPricesWithBitsAndExecute(_positionRouter common.Address, _priceBits *big.Int, _timestamp *big.Int, ...) (*types.Transaction, error)
- func (_FastPriceFee *FastPriceFeeSession) SetSigner(_account common.Address, _isActive bool) (*types.Transaction, error)
- func (_FastPriceFee *FastPriceFeeSession) SetSpreadBasisPointsIfChainError(_spreadBasisPointsIfChainError *big.Int) (*types.Transaction, error)
- func (_FastPriceFee *FastPriceFeeSession) SetSpreadBasisPointsIfInactive(_spreadBasisPointsIfInactive *big.Int) (*types.Transaction, error)
- func (_FastPriceFee *FastPriceFeeSession) SetTokenManager(_tokenManager common.Address) (*types.Transaction, error)
- func (_FastPriceFee *FastPriceFeeSession) SetTokens(_tokens []common.Address, _tokenPrecisions []*big.Int) (*types.Transaction, error)
- func (_FastPriceFee *FastPriceFeeSession) SetUpdater(_account common.Address, _isActive bool) (*types.Transaction, error)
- func (_FastPriceFee *FastPriceFeeSession) SetVaultPriceFeed(_vaultPriceFeed common.Address) (*types.Transaction, error)
- func (_FastPriceFee *FastPriceFeeSession) SpreadBasisPointsIfChainError() (*big.Int, error)
- func (_FastPriceFee *FastPriceFeeSession) SpreadBasisPointsIfInactive() (*big.Int, error)
- func (_FastPriceFee *FastPriceFeeSession) TokenManager() (common.Address, error)
- func (_FastPriceFee *FastPriceFeeSession) TokenPrecisions(arg0 *big.Int) (*big.Int, error)
- func (_FastPriceFee *FastPriceFeeSession) Tokens(arg0 *big.Int) (common.Address, error)
- func (_FastPriceFee *FastPriceFeeSession) VaultPriceFeed() (common.Address, error)
- type FastPriceFeeTransactor
- func (_FastPriceFee *FastPriceFeeTransactor) DisableFastPrice(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_FastPriceFee *FastPriceFeeTransactor) EnableFastPrice(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_FastPriceFee *FastPriceFeeTransactor) Initialize(opts *bind.TransactOpts, _minAuthorizations *big.Int, ...) (*types.Transaction, error)
- func (_FastPriceFee *FastPriceFeeTransactor) SetCompactedPrices(opts *bind.TransactOpts, _priceBitArray []*big.Int, _timestamp *big.Int) (*types.Transaction, error)
- func (_FastPriceFee *FastPriceFeeTransactor) SetFastPriceEvents(opts *bind.TransactOpts, _fastPriceEvents common.Address) (*types.Transaction, error)
- func (_FastPriceFee *FastPriceFeeTransactor) SetGov(opts *bind.TransactOpts, _gov common.Address) (*types.Transaction, error)
- func (_FastPriceFee *FastPriceFeeTransactor) SetIsSpreadEnabled(opts *bind.TransactOpts, _isSpreadEnabled bool) (*types.Transaction, error)
- func (_FastPriceFee *FastPriceFeeTransactor) SetLastUpdatedAt(opts *bind.TransactOpts, _lastUpdatedAt *big.Int) (*types.Transaction, error)
- func (_FastPriceFee *FastPriceFeeTransactor) SetMaxCumulativeDeltaDiffs(opts *bind.TransactOpts, _tokens []common.Address, ...) (*types.Transaction, error)
- func (_FastPriceFee *FastPriceFeeTransactor) SetMaxDeviationBasisPoints(opts *bind.TransactOpts, _maxDeviationBasisPoints *big.Int) (*types.Transaction, error)
- func (_FastPriceFee *FastPriceFeeTransactor) SetMaxPriceUpdateDelay(opts *bind.TransactOpts, _maxPriceUpdateDelay *big.Int) (*types.Transaction, error)
- func (_FastPriceFee *FastPriceFeeTransactor) SetMaxTimeDeviation(opts *bind.TransactOpts, _maxTimeDeviation *big.Int) (*types.Transaction, error)
- func (_FastPriceFee *FastPriceFeeTransactor) SetMinAuthorizations(opts *bind.TransactOpts, _minAuthorizations *big.Int) (*types.Transaction, error)
- func (_FastPriceFee *FastPriceFeeTransactor) SetMinBlockInterval(opts *bind.TransactOpts, _minBlockInterval *big.Int) (*types.Transaction, error)
- func (_FastPriceFee *FastPriceFeeTransactor) SetPriceDataInterval(opts *bind.TransactOpts, _priceDataInterval *big.Int) (*types.Transaction, error)
- func (_FastPriceFee *FastPriceFeeTransactor) SetPriceDuration(opts *bind.TransactOpts, _priceDuration *big.Int) (*types.Transaction, error)
- func (_FastPriceFee *FastPriceFeeTransactor) SetPrices(opts *bind.TransactOpts, _tokens []common.Address, _prices []*big.Int, ...) (*types.Transaction, error)
- func (_FastPriceFee *FastPriceFeeTransactor) SetPricesWithBits(opts *bind.TransactOpts, _priceBits *big.Int, _timestamp *big.Int) (*types.Transaction, error)
- func (_FastPriceFee *FastPriceFeeTransactor) SetPricesWithBitsAndExecute(opts *bind.TransactOpts, _positionRouter common.Address, _priceBits *big.Int, ...) (*types.Transaction, error)
- func (_FastPriceFee *FastPriceFeeTransactor) SetSigner(opts *bind.TransactOpts, _account common.Address, _isActive bool) (*types.Transaction, error)
- func (_FastPriceFee *FastPriceFeeTransactor) SetSpreadBasisPointsIfChainError(opts *bind.TransactOpts, _spreadBasisPointsIfChainError *big.Int) (*types.Transaction, error)
- func (_FastPriceFee *FastPriceFeeTransactor) SetSpreadBasisPointsIfInactive(opts *bind.TransactOpts, _spreadBasisPointsIfInactive *big.Int) (*types.Transaction, error)
- func (_FastPriceFee *FastPriceFeeTransactor) SetTokenManager(opts *bind.TransactOpts, _tokenManager common.Address) (*types.Transaction, error)
- func (_FastPriceFee *FastPriceFeeTransactor) SetTokens(opts *bind.TransactOpts, _tokens []common.Address, _tokenPrecisions []*big.Int) (*types.Transaction, error)
- func (_FastPriceFee *FastPriceFeeTransactor) SetUpdater(opts *bind.TransactOpts, _account common.Address, _isActive bool) (*types.Transaction, error)
- func (_FastPriceFee *FastPriceFeeTransactor) SetVaultPriceFeed(opts *bind.TransactOpts, _vaultPriceFeed common.Address) (*types.Transaction, error)
- type FastPriceFeeTransactorRaw
- type FastPriceFeeTransactorSession
- func (_FastPriceFee *FastPriceFeeTransactorSession) DisableFastPrice() (*types.Transaction, error)
- func (_FastPriceFee *FastPriceFeeTransactorSession) EnableFastPrice() (*types.Transaction, error)
- func (_FastPriceFee *FastPriceFeeTransactorSession) Initialize(_minAuthorizations *big.Int, _signers []common.Address, ...) (*types.Transaction, error)
- func (_FastPriceFee *FastPriceFeeTransactorSession) SetCompactedPrices(_priceBitArray []*big.Int, _timestamp *big.Int) (*types.Transaction, error)
- func (_FastPriceFee *FastPriceFeeTransactorSession) SetFastPriceEvents(_fastPriceEvents common.Address) (*types.Transaction, error)
- func (_FastPriceFee *FastPriceFeeTransactorSession) SetGov(_gov common.Address) (*types.Transaction, error)
- func (_FastPriceFee *FastPriceFeeTransactorSession) SetIsSpreadEnabled(_isSpreadEnabled bool) (*types.Transaction, error)
- func (_FastPriceFee *FastPriceFeeTransactorSession) SetLastUpdatedAt(_lastUpdatedAt *big.Int) (*types.Transaction, error)
- func (_FastPriceFee *FastPriceFeeTransactorSession) SetMaxCumulativeDeltaDiffs(_tokens []common.Address, _maxCumulativeDeltaDiffs []*big.Int) (*types.Transaction, error)
- func (_FastPriceFee *FastPriceFeeTransactorSession) SetMaxDeviationBasisPoints(_maxDeviationBasisPoints *big.Int) (*types.Transaction, error)
- func (_FastPriceFee *FastPriceFeeTransactorSession) SetMaxPriceUpdateDelay(_maxPriceUpdateDelay *big.Int) (*types.Transaction, error)
- func (_FastPriceFee *FastPriceFeeTransactorSession) SetMaxTimeDeviation(_maxTimeDeviation *big.Int) (*types.Transaction, error)
- func (_FastPriceFee *FastPriceFeeTransactorSession) SetMinAuthorizations(_minAuthorizations *big.Int) (*types.Transaction, error)
- func (_FastPriceFee *FastPriceFeeTransactorSession) SetMinBlockInterval(_minBlockInterval *big.Int) (*types.Transaction, error)
- func (_FastPriceFee *FastPriceFeeTransactorSession) SetPriceDataInterval(_priceDataInterval *big.Int) (*types.Transaction, error)
- func (_FastPriceFee *FastPriceFeeTransactorSession) SetPriceDuration(_priceDuration *big.Int) (*types.Transaction, error)
- func (_FastPriceFee *FastPriceFeeTransactorSession) SetPrices(_tokens []common.Address, _prices []*big.Int, _timestamp *big.Int) (*types.Transaction, error)
- func (_FastPriceFee *FastPriceFeeTransactorSession) SetPricesWithBits(_priceBits *big.Int, _timestamp *big.Int) (*types.Transaction, error)
- func (_FastPriceFee *FastPriceFeeTransactorSession) SetPricesWithBitsAndExecute(_positionRouter common.Address, _priceBits *big.Int, _timestamp *big.Int, ...) (*types.Transaction, error)
- func (_FastPriceFee *FastPriceFeeTransactorSession) SetSigner(_account common.Address, _isActive bool) (*types.Transaction, error)
- func (_FastPriceFee *FastPriceFeeTransactorSession) SetSpreadBasisPointsIfChainError(_spreadBasisPointsIfChainError *big.Int) (*types.Transaction, error)
- func (_FastPriceFee *FastPriceFeeTransactorSession) SetSpreadBasisPointsIfInactive(_spreadBasisPointsIfInactive *big.Int) (*types.Transaction, error)
- func (_FastPriceFee *FastPriceFeeTransactorSession) SetTokenManager(_tokenManager common.Address) (*types.Transaction, error)
- func (_FastPriceFee *FastPriceFeeTransactorSession) SetTokens(_tokens []common.Address, _tokenPrecisions []*big.Int) (*types.Transaction, error)
- func (_FastPriceFee *FastPriceFeeTransactorSession) SetUpdater(_account common.Address, _isActive bool) (*types.Transaction, error)
- func (_FastPriceFee *FastPriceFeeTransactorSession) SetVaultPriceFeed(_vaultPriceFeed common.Address) (*types.Transaction, error)
Constants ¶
This section is empty.
Variables ¶
var FastPriceFeeABI = FastPriceFeeMetaData.ABI
FastPriceFeeABI is the input ABI used to generate the binding from. Deprecated: Use FastPriceFeeMetaData.ABI instead.
var FastPriceFeeMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_priceDuration\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_maxPriceUpdateDelay\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_minBlockInterval\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_maxDeviationBasisPoints\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_fastPriceEvents\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_tokenManager\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"signer\",\"type\":\"address\"}],\"name\":\"DisableFastPrice\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"signer\",\"type\":\"address\"}],\"name\":\"EnableFastPrice\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"refPrice\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"fastPrice\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"cumulativeRefDelta\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"cumulativeFastDelta\",\"type\":\"uint256\"}],\"name\":\"MaxCumulativeDeltaDiffExceeded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"refPrice\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"fastPrice\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"cumulativeRefDelta\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"cumulativeFastDelta\",\"type\":\"uint256\"}],\"name\":\"PriceData\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"BASIS_POINTS_DIVISOR\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"BITMASK_32\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"CUMULATIVE_DELTA_PRECISION\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"MAX_CUMULATIVE_FAST_DELTA\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"MAX_CUMULATIVE_REF_DELTA\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"MAX_PRICE_DURATION\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"MAX_REF_PRICE\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"PRICE_PRECISION\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"disableFastPrice\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"disableFastPriceVoteCount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"disableFastPriceVotes\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"enableFastPrice\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"fastPriceEvents\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"}],\"name\":\"favorFastPrice\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_refPrice\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"_maximise\",\"type\":\"bool\"}],\"name\":\"getPrice\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"}],\"name\":\"getPriceData\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"gov\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_minAuthorizations\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"_signers\",\"type\":\"address[]\"},{\"internalType\":\"address[]\",\"name\":\"_updaters\",\"type\":\"address[]\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"isInitialized\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"isSigner\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"isSpreadEnabled\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"isUpdater\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"lastUpdatedAt\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"lastUpdatedBlock\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"maxCumulativeDeltaDiffs\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"maxDeviationBasisPoints\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"maxPriceUpdateDelay\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"maxTimeDeviation\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"minAuthorizations\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"minBlockInterval\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"priceData\",\"outputs\":[{\"internalType\":\"uint160\",\"name\":\"refPrice\",\"type\":\"uint160\"},{\"internalType\":\"uint32\",\"name\":\"refTime\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"cumulativeRefDelta\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"cumulativeFastDelta\",\"type\":\"uint32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"priceDataInterval\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"priceDuration\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"prices\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256[]\",\"name\":\"_priceBitArray\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256\",\"name\":\"_timestamp\",\"type\":\"uint256\"}],\"name\":\"setCompactedPrices\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_fastPriceEvents\",\"type\":\"address\"}],\"name\":\"setFastPriceEvents\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_gov\",\"type\":\"address\"}],\"name\":\"setGov\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"_isSpreadEnabled\",\"type\":\"bool\"}],\"name\":\"setIsSpreadEnabled\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_lastUpdatedAt\",\"type\":\"uint256\"}],\"name\":\"setLastUpdatedAt\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"_tokens\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_maxCumulativeDeltaDiffs\",\"type\":\"uint256[]\"}],\"name\":\"setMaxCumulativeDeltaDiffs\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_maxDeviationBasisPoints\",\"type\":\"uint256\"}],\"name\":\"setMaxDeviationBasisPoints\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_maxPriceUpdateDelay\",\"type\":\"uint256\"}],\"name\":\"setMaxPriceUpdateDelay\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_maxTimeDeviation\",\"type\":\"uint256\"}],\"name\":\"setMaxTimeDeviation\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_minAuthorizations\",\"type\":\"uint256\"}],\"name\":\"setMinAuthorizations\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_minBlockInterval\",\"type\":\"uint256\"}],\"name\":\"setMinBlockInterval\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_priceDataInterval\",\"type\":\"uint256\"}],\"name\":\"setPriceDataInterval\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_priceDuration\",\"type\":\"uint256\"}],\"name\":\"setPriceDuration\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"_tokens\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_prices\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256\",\"name\":\"_timestamp\",\"type\":\"uint256\"}],\"name\":\"setPrices\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_priceBits\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_timestamp\",\"type\":\"uint256\"}],\"name\":\"setPricesWithBits\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_positionRouter\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_priceBits\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_timestamp\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_endIndexForIncreasePositions\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_endIndexForDecreasePositions\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_maxIncreasePositions\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_maxDecreasePositions\",\"type\":\"uint256\"}],\"name\":\"setPricesWithBitsAndExecute\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_account\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"_isActive\",\"type\":\"bool\"}],\"name\":\"setSigner\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_spreadBasisPointsIfChainError\",\"type\":\"uint256\"}],\"name\":\"setSpreadBasisPointsIfChainError\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_spreadBasisPointsIfInactive\",\"type\":\"uint256\"}],\"name\":\"setSpreadBasisPointsIfInactive\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_tokenManager\",\"type\":\"address\"}],\"name\":\"setTokenManager\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"_tokens\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_tokenPrecisions\",\"type\":\"uint256[]\"}],\"name\":\"setTokens\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_account\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"_isActive\",\"type\":\"bool\"}],\"name\":\"setUpdater\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_vaultPriceFeed\",\"type\":\"address\"}],\"name\":\"setVaultPriceFeed\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"spreadBasisPointsIfChainError\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"spreadBasisPointsIfInactive\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"tokenManager\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"tokenPrecisions\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"tokens\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"vaultPriceFeed\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}
FastPriceFeeMetaData contains all meta data concerning the FastPriceFee contract.
Functions ¶
This section is empty.
Types ¶
type FastPriceFee ¶
type FastPriceFee struct { FastPriceFeeCaller // Read-only binding to the contract FastPriceFeeTransactor // Write-only binding to the contract FastPriceFeeFilterer // Log filterer for contract events }
FastPriceFee is an auto generated Go binding around an Ethereum contract.
func NewFastPriceFee ¶
func NewFastPriceFee(address common.Address, backend bind.ContractBackend) (*FastPriceFee, error)
NewFastPriceFee creates a new instance of FastPriceFee, bound to a specific deployed contract.
type FastPriceFeeCaller ¶
type FastPriceFeeCaller struct {
// contains filtered or unexported fields
}
FastPriceFeeCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewFastPriceFeeCaller ¶
func NewFastPriceFeeCaller(address common.Address, caller bind.ContractCaller) (*FastPriceFeeCaller, error)
NewFastPriceFeeCaller creates a new read-only instance of FastPriceFee, bound to a specific deployed contract.
func (*FastPriceFeeCaller) BASISPOINTSDIVISOR ¶
BASISPOINTSDIVISOR is a free data retrieval call binding the contract method 0x126082cf.
Solidity: function BASIS_POINTS_DIVISOR() view returns(uint256)
func (*FastPriceFeeCaller) BITMASK32 ¶
BITMASK32 is a free data retrieval call binding the contract method 0x807c9782.
Solidity: function BITMASK_32() view returns(uint256)
func (*FastPriceFeeCaller) CUMULATIVEDELTAPRECISION ¶
func (_FastPriceFee *FastPriceFeeCaller) CUMULATIVEDELTAPRECISION(opts *bind.CallOpts) (*big.Int, error)
CUMULATIVEDELTAPRECISION is a free data retrieval call binding the contract method 0xa2b47c16.
Solidity: function CUMULATIVE_DELTA_PRECISION() view returns(uint256)
func (*FastPriceFeeCaller) DisableFastPriceVoteCount ¶
func (_FastPriceFee *FastPriceFeeCaller) DisableFastPriceVoteCount(opts *bind.CallOpts) (*big.Int, error)
DisableFastPriceVoteCount is a free data retrieval call binding the contract method 0xb0a25666.
Solidity: function disableFastPriceVoteCount() view returns(uint256)
func (*FastPriceFeeCaller) DisableFastPriceVotes ¶
func (_FastPriceFee *FastPriceFeeCaller) DisableFastPriceVotes(opts *bind.CallOpts, arg0 common.Address) (bool, error)
DisableFastPriceVotes is a free data retrieval call binding the contract method 0x03b04936.
Solidity: function disableFastPriceVotes(address ) view returns(bool)
func (*FastPriceFeeCaller) FastPriceEvents ¶
func (_FastPriceFee *FastPriceFeeCaller) FastPriceEvents(opts *bind.CallOpts) (common.Address, error)
FastPriceEvents is a free data retrieval call binding the contract method 0x0e9272ea.
Solidity: function fastPriceEvents() view returns(address)
func (*FastPriceFeeCaller) FavorFastPrice ¶
func (_FastPriceFee *FastPriceFeeCaller) FavorFastPrice(opts *bind.CallOpts, _token common.Address) (bool, error)
FavorFastPrice is a free data retrieval call binding the contract method 0x6c56fd05.
Solidity: function favorFastPrice(address _token) view returns(bool)
func (*FastPriceFeeCaller) GetPrice ¶
func (_FastPriceFee *FastPriceFeeCaller) GetPrice(opts *bind.CallOpts, _token common.Address, _refPrice *big.Int, _maximise bool) (*big.Int, error)
GetPrice is a free data retrieval call binding the contract method 0x7fece368.
Solidity: function getPrice(address _token, uint256 _refPrice, bool _maximise) view returns(uint256)
func (*FastPriceFeeCaller) GetPriceData ¶
func (_FastPriceFee *FastPriceFeeCaller) GetPriceData(opts *bind.CallOpts, _token common.Address) (*big.Int, *big.Int, *big.Int, *big.Int, error)
GetPriceData is a free data retrieval call binding the contract method 0x72279ba1.
Solidity: function getPriceData(address _token) view returns(uint256, uint256, uint256, uint256)
func (*FastPriceFeeCaller) Gov ¶
Gov is a free data retrieval call binding the contract method 0x12d43a51.
Solidity: function gov() view returns(address)
func (*FastPriceFeeCaller) IsInitialized ¶
func (_FastPriceFee *FastPriceFeeCaller) IsInitialized(opts *bind.CallOpts) (bool, error)
IsInitialized is a free data retrieval call binding the contract method 0x392e53cd.
Solidity: function isInitialized() view returns(bool)
func (*FastPriceFeeCaller) IsSigner ¶
func (_FastPriceFee *FastPriceFeeCaller) IsSigner(opts *bind.CallOpts, arg0 common.Address) (bool, error)
IsSigner is a free data retrieval call binding the contract method 0x7df73e27.
Solidity: function isSigner(address ) view returns(bool)
func (*FastPriceFeeCaller) IsSpreadEnabled ¶
func (_FastPriceFee *FastPriceFeeCaller) IsSpreadEnabled(opts *bind.CallOpts) (bool, error)
IsSpreadEnabled is a free data retrieval call binding the contract method 0x695d4184.
Solidity: function isSpreadEnabled() view returns(bool)
func (*FastPriceFeeCaller) IsUpdater ¶
func (_FastPriceFee *FastPriceFeeCaller) IsUpdater(opts *bind.CallOpts, arg0 common.Address) (bool, error)
IsUpdater is a free data retrieval call binding the contract method 0x4fdfb086.
Solidity: function isUpdater(address ) view returns(bool)
func (*FastPriceFeeCaller) LastUpdatedAt ¶
LastUpdatedAt is a free data retrieval call binding the contract method 0x54aea127.
Solidity: function lastUpdatedAt() view returns(uint256)
func (*FastPriceFeeCaller) LastUpdatedBlock ¶
LastUpdatedBlock is a free data retrieval call binding the contract method 0xf90ce5ba.
Solidity: function lastUpdatedBlock() view returns(uint256)
func (*FastPriceFeeCaller) MAXCUMULATIVEFASTDELTA ¶
func (_FastPriceFee *FastPriceFeeCaller) MAXCUMULATIVEFASTDELTA(opts *bind.CallOpts) (*big.Int, error)
MAXCUMULATIVEFASTDELTA is a free data retrieval call binding the contract method 0x4bd66c1c.
Solidity: function MAX_CUMULATIVE_FAST_DELTA() view returns(uint256)
func (*FastPriceFeeCaller) MAXCUMULATIVEREFDELTA ¶
func (_FastPriceFee *FastPriceFeeCaller) MAXCUMULATIVEREFDELTA(opts *bind.CallOpts) (*big.Int, error)
MAXCUMULATIVEREFDELTA is a free data retrieval call binding the contract method 0x0604ddea.
Solidity: function MAX_CUMULATIVE_REF_DELTA() view returns(uint256)
func (*FastPriceFeeCaller) MAXPRICEDURATION ¶
MAXPRICEDURATION is a free data retrieval call binding the contract method 0x668d3d65.
Solidity: function MAX_PRICE_DURATION() view returns(uint256)
func (*FastPriceFeeCaller) MAXREFPRICE ¶
MAXREFPRICE is a free data retrieval call binding the contract method 0xe68a22c0.
Solidity: function MAX_REF_PRICE() view returns(uint256)
func (*FastPriceFeeCaller) MaxCumulativeDeltaDiffs ¶
func (_FastPriceFee *FastPriceFeeCaller) MaxCumulativeDeltaDiffs(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
MaxCumulativeDeltaDiffs is a free data retrieval call binding the contract method 0xa3742425.
Solidity: function maxCumulativeDeltaDiffs(address ) view returns(uint256)
func (*FastPriceFeeCaller) MaxDeviationBasisPoints ¶
func (_FastPriceFee *FastPriceFeeCaller) MaxDeviationBasisPoints(opts *bind.CallOpts) (*big.Int, error)
MaxDeviationBasisPoints is a free data retrieval call binding the contract method 0x715c7536.
Solidity: function maxDeviationBasisPoints() view returns(uint256)
func (*FastPriceFeeCaller) MaxPriceUpdateDelay ¶
MaxPriceUpdateDelay is a free data retrieval call binding the contract method 0xe64559ad.
Solidity: function maxPriceUpdateDelay() view returns(uint256)
func (*FastPriceFeeCaller) MaxTimeDeviation ¶
MaxTimeDeviation is a free data retrieval call binding the contract method 0x3aa08f86.
Solidity: function maxTimeDeviation() view returns(uint256)
func (*FastPriceFeeCaller) MinAuthorizations ¶
MinAuthorizations is a free data retrieval call binding the contract method 0x287800c9.
Solidity: function minAuthorizations() view returns(uint256)
func (*FastPriceFeeCaller) MinBlockInterval ¶
MinBlockInterval is a free data retrieval call binding the contract method 0xb3606b56.
Solidity: function minBlockInterval() view returns(uint256)
func (*FastPriceFeeCaller) PRICEPRECISION ¶
PRICEPRECISION is a free data retrieval call binding the contract method 0x95082d25.
Solidity: function PRICE_PRECISION() view returns(uint256)
func (*FastPriceFeeCaller) PriceData ¶
func (_FastPriceFee *FastPriceFeeCaller) PriceData(opts *bind.CallOpts, arg0 common.Address) (struct { RefPrice *big.Int RefTime uint32 CumulativeRefDelta uint32 CumulativeFastDelta uint32 }, error)
PriceData is a free data retrieval call binding the contract method 0xcab44b76.
Solidity: function priceData(address ) view returns(uint160 refPrice, uint32 refTime, uint32 cumulativeRefDelta, uint32 cumulativeFastDelta)
func (*FastPriceFeeCaller) PriceDataInterval ¶
PriceDataInterval is a free data retrieval call binding the contract method 0xdfb481c9.
Solidity: function priceDataInterval() view returns(uint256)
func (*FastPriceFeeCaller) PriceDuration ¶
PriceDuration is a free data retrieval call binding the contract method 0x03cd2571.
Solidity: function priceDuration() view returns(uint256)
func (*FastPriceFeeCaller) Prices ¶
func (_FastPriceFee *FastPriceFeeCaller) Prices(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
Prices is a free data retrieval call binding the contract method 0xcfed246b.
Solidity: function prices(address ) view returns(uint256)
func (*FastPriceFeeCaller) SpreadBasisPointsIfChainError ¶
func (_FastPriceFee *FastPriceFeeCaller) SpreadBasisPointsIfChainError(opts *bind.CallOpts) (*big.Int, error)
SpreadBasisPointsIfChainError is a free data retrieval call binding the contract method 0xa6eca896.
Solidity: function spreadBasisPointsIfChainError() view returns(uint256)
func (*FastPriceFeeCaller) SpreadBasisPointsIfInactive ¶
func (_FastPriceFee *FastPriceFeeCaller) SpreadBasisPointsIfInactive(opts *bind.CallOpts) (*big.Int, error)
SpreadBasisPointsIfInactive is a free data retrieval call binding the contract method 0x74bfed89.
Solidity: function spreadBasisPointsIfInactive() view returns(uint256)
func (*FastPriceFeeCaller) TokenManager ¶
TokenManager is a free data retrieval call binding the contract method 0x2a709b14.
Solidity: function tokenManager() view returns(address)
func (*FastPriceFeeCaller) TokenPrecisions ¶
func (_FastPriceFee *FastPriceFeeCaller) TokenPrecisions(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)
TokenPrecisions is a free data retrieval call binding the contract method 0x4d11fb4a.
Solidity: function tokenPrecisions(uint256 ) view returns(uint256)
func (*FastPriceFeeCaller) Tokens ¶
func (_FastPriceFee *FastPriceFeeCaller) Tokens(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)
Tokens is a free data retrieval call binding the contract method 0x4f64b2be.
Solidity: function tokens(uint256 ) view returns(address)
func (*FastPriceFeeCaller) VaultPriceFeed ¶
func (_FastPriceFee *FastPriceFeeCaller) VaultPriceFeed(opts *bind.CallOpts) (common.Address, error)
VaultPriceFeed is a free data retrieval call binding the contract method 0xeeaa783a.
Solidity: function vaultPriceFeed() view returns(address)
type FastPriceFeeCallerRaw ¶
type FastPriceFeeCallerRaw struct {
Contract *FastPriceFeeCaller // Generic read-only contract binding to access the raw methods on
}
FastPriceFeeCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*FastPriceFeeCallerRaw) Call ¶
func (_FastPriceFee *FastPriceFeeCallerRaw) 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 FastPriceFeeCallerSession ¶
type FastPriceFeeCallerSession struct { Contract *FastPriceFeeCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
FastPriceFeeCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*FastPriceFeeCallerSession) BASISPOINTSDIVISOR ¶
func (_FastPriceFee *FastPriceFeeCallerSession) BASISPOINTSDIVISOR() (*big.Int, error)
BASISPOINTSDIVISOR is a free data retrieval call binding the contract method 0x126082cf.
Solidity: function BASIS_POINTS_DIVISOR() view returns(uint256)
func (*FastPriceFeeCallerSession) BITMASK32 ¶
func (_FastPriceFee *FastPriceFeeCallerSession) BITMASK32() (*big.Int, error)
BITMASK32 is a free data retrieval call binding the contract method 0x807c9782.
Solidity: function BITMASK_32() view returns(uint256)
func (*FastPriceFeeCallerSession) CUMULATIVEDELTAPRECISION ¶
func (_FastPriceFee *FastPriceFeeCallerSession) CUMULATIVEDELTAPRECISION() (*big.Int, error)
CUMULATIVEDELTAPRECISION is a free data retrieval call binding the contract method 0xa2b47c16.
Solidity: function CUMULATIVE_DELTA_PRECISION() view returns(uint256)
func (*FastPriceFeeCallerSession) DisableFastPriceVoteCount ¶
func (_FastPriceFee *FastPriceFeeCallerSession) DisableFastPriceVoteCount() (*big.Int, error)
DisableFastPriceVoteCount is a free data retrieval call binding the contract method 0xb0a25666.
Solidity: function disableFastPriceVoteCount() view returns(uint256)
func (*FastPriceFeeCallerSession) DisableFastPriceVotes ¶
func (_FastPriceFee *FastPriceFeeCallerSession) DisableFastPriceVotes(arg0 common.Address) (bool, error)
DisableFastPriceVotes is a free data retrieval call binding the contract method 0x03b04936.
Solidity: function disableFastPriceVotes(address ) view returns(bool)
func (*FastPriceFeeCallerSession) FastPriceEvents ¶
func (_FastPriceFee *FastPriceFeeCallerSession) FastPriceEvents() (common.Address, error)
FastPriceEvents is a free data retrieval call binding the contract method 0x0e9272ea.
Solidity: function fastPriceEvents() view returns(address)
func (*FastPriceFeeCallerSession) FavorFastPrice ¶
func (_FastPriceFee *FastPriceFeeCallerSession) FavorFastPrice(_token common.Address) (bool, error)
FavorFastPrice is a free data retrieval call binding the contract method 0x6c56fd05.
Solidity: function favorFastPrice(address _token) view returns(bool)
func (*FastPriceFeeCallerSession) GetPrice ¶
func (_FastPriceFee *FastPriceFeeCallerSession) GetPrice(_token common.Address, _refPrice *big.Int, _maximise bool) (*big.Int, error)
GetPrice is a free data retrieval call binding the contract method 0x7fece368.
Solidity: function getPrice(address _token, uint256 _refPrice, bool _maximise) view returns(uint256)
func (*FastPriceFeeCallerSession) GetPriceData ¶
func (_FastPriceFee *FastPriceFeeCallerSession) GetPriceData(_token common.Address) (*big.Int, *big.Int, *big.Int, *big.Int, error)
GetPriceData is a free data retrieval call binding the contract method 0x72279ba1.
Solidity: function getPriceData(address _token) view returns(uint256, uint256, uint256, uint256)
func (*FastPriceFeeCallerSession) Gov ¶
func (_FastPriceFee *FastPriceFeeCallerSession) Gov() (common.Address, error)
Gov is a free data retrieval call binding the contract method 0x12d43a51.
Solidity: function gov() view returns(address)
func (*FastPriceFeeCallerSession) IsInitialized ¶
func (_FastPriceFee *FastPriceFeeCallerSession) IsInitialized() (bool, error)
IsInitialized is a free data retrieval call binding the contract method 0x392e53cd.
Solidity: function isInitialized() view returns(bool)
func (*FastPriceFeeCallerSession) IsSigner ¶
func (_FastPriceFee *FastPriceFeeCallerSession) IsSigner(arg0 common.Address) (bool, error)
IsSigner is a free data retrieval call binding the contract method 0x7df73e27.
Solidity: function isSigner(address ) view returns(bool)
func (*FastPriceFeeCallerSession) IsSpreadEnabled ¶
func (_FastPriceFee *FastPriceFeeCallerSession) IsSpreadEnabled() (bool, error)
IsSpreadEnabled is a free data retrieval call binding the contract method 0x695d4184.
Solidity: function isSpreadEnabled() view returns(bool)
func (*FastPriceFeeCallerSession) IsUpdater ¶
func (_FastPriceFee *FastPriceFeeCallerSession) IsUpdater(arg0 common.Address) (bool, error)
IsUpdater is a free data retrieval call binding the contract method 0x4fdfb086.
Solidity: function isUpdater(address ) view returns(bool)
func (*FastPriceFeeCallerSession) LastUpdatedAt ¶
func (_FastPriceFee *FastPriceFeeCallerSession) LastUpdatedAt() (*big.Int, error)
LastUpdatedAt is a free data retrieval call binding the contract method 0x54aea127.
Solidity: function lastUpdatedAt() view returns(uint256)
func (*FastPriceFeeCallerSession) LastUpdatedBlock ¶
func (_FastPriceFee *FastPriceFeeCallerSession) LastUpdatedBlock() (*big.Int, error)
LastUpdatedBlock is a free data retrieval call binding the contract method 0xf90ce5ba.
Solidity: function lastUpdatedBlock() view returns(uint256)
func (*FastPriceFeeCallerSession) MAXCUMULATIVEFASTDELTA ¶
func (_FastPriceFee *FastPriceFeeCallerSession) MAXCUMULATIVEFASTDELTA() (*big.Int, error)
MAXCUMULATIVEFASTDELTA is a free data retrieval call binding the contract method 0x4bd66c1c.
Solidity: function MAX_CUMULATIVE_FAST_DELTA() view returns(uint256)
func (*FastPriceFeeCallerSession) MAXCUMULATIVEREFDELTA ¶
func (_FastPriceFee *FastPriceFeeCallerSession) MAXCUMULATIVEREFDELTA() (*big.Int, error)
MAXCUMULATIVEREFDELTA is a free data retrieval call binding the contract method 0x0604ddea.
Solidity: function MAX_CUMULATIVE_REF_DELTA() view returns(uint256)
func (*FastPriceFeeCallerSession) MAXPRICEDURATION ¶
func (_FastPriceFee *FastPriceFeeCallerSession) MAXPRICEDURATION() (*big.Int, error)
MAXPRICEDURATION is a free data retrieval call binding the contract method 0x668d3d65.
Solidity: function MAX_PRICE_DURATION() view returns(uint256)
func (*FastPriceFeeCallerSession) MAXREFPRICE ¶
func (_FastPriceFee *FastPriceFeeCallerSession) MAXREFPRICE() (*big.Int, error)
MAXREFPRICE is a free data retrieval call binding the contract method 0xe68a22c0.
Solidity: function MAX_REF_PRICE() view returns(uint256)
func (*FastPriceFeeCallerSession) MaxCumulativeDeltaDiffs ¶
func (_FastPriceFee *FastPriceFeeCallerSession) MaxCumulativeDeltaDiffs(arg0 common.Address) (*big.Int, error)
MaxCumulativeDeltaDiffs is a free data retrieval call binding the contract method 0xa3742425.
Solidity: function maxCumulativeDeltaDiffs(address ) view returns(uint256)
func (*FastPriceFeeCallerSession) MaxDeviationBasisPoints ¶
func (_FastPriceFee *FastPriceFeeCallerSession) MaxDeviationBasisPoints() (*big.Int, error)
MaxDeviationBasisPoints is a free data retrieval call binding the contract method 0x715c7536.
Solidity: function maxDeviationBasisPoints() view returns(uint256)
func (*FastPriceFeeCallerSession) MaxPriceUpdateDelay ¶
func (_FastPriceFee *FastPriceFeeCallerSession) MaxPriceUpdateDelay() (*big.Int, error)
MaxPriceUpdateDelay is a free data retrieval call binding the contract method 0xe64559ad.
Solidity: function maxPriceUpdateDelay() view returns(uint256)
func (*FastPriceFeeCallerSession) MaxTimeDeviation ¶
func (_FastPriceFee *FastPriceFeeCallerSession) MaxTimeDeviation() (*big.Int, error)
MaxTimeDeviation is a free data retrieval call binding the contract method 0x3aa08f86.
Solidity: function maxTimeDeviation() view returns(uint256)
func (*FastPriceFeeCallerSession) MinAuthorizations ¶
func (_FastPriceFee *FastPriceFeeCallerSession) MinAuthorizations() (*big.Int, error)
MinAuthorizations is a free data retrieval call binding the contract method 0x287800c9.
Solidity: function minAuthorizations() view returns(uint256)
func (*FastPriceFeeCallerSession) MinBlockInterval ¶
func (_FastPriceFee *FastPriceFeeCallerSession) MinBlockInterval() (*big.Int, error)
MinBlockInterval is a free data retrieval call binding the contract method 0xb3606b56.
Solidity: function minBlockInterval() view returns(uint256)
func (*FastPriceFeeCallerSession) PRICEPRECISION ¶
func (_FastPriceFee *FastPriceFeeCallerSession) PRICEPRECISION() (*big.Int, error)
PRICEPRECISION is a free data retrieval call binding the contract method 0x95082d25.
Solidity: function PRICE_PRECISION() view returns(uint256)
func (*FastPriceFeeCallerSession) PriceData ¶
func (_FastPriceFee *FastPriceFeeCallerSession) PriceData(arg0 common.Address) (struct { RefPrice *big.Int RefTime uint32 CumulativeRefDelta uint32 CumulativeFastDelta uint32 }, error)
PriceData is a free data retrieval call binding the contract method 0xcab44b76.
Solidity: function priceData(address ) view returns(uint160 refPrice, uint32 refTime, uint32 cumulativeRefDelta, uint32 cumulativeFastDelta)
func (*FastPriceFeeCallerSession) PriceDataInterval ¶
func (_FastPriceFee *FastPriceFeeCallerSession) PriceDataInterval() (*big.Int, error)
PriceDataInterval is a free data retrieval call binding the contract method 0xdfb481c9.
Solidity: function priceDataInterval() view returns(uint256)
func (*FastPriceFeeCallerSession) PriceDuration ¶
func (_FastPriceFee *FastPriceFeeCallerSession) PriceDuration() (*big.Int, error)
PriceDuration is a free data retrieval call binding the contract method 0x03cd2571.
Solidity: function priceDuration() view returns(uint256)
func (*FastPriceFeeCallerSession) Prices ¶
Prices is a free data retrieval call binding the contract method 0xcfed246b.
Solidity: function prices(address ) view returns(uint256)
func (*FastPriceFeeCallerSession) SpreadBasisPointsIfChainError ¶
func (_FastPriceFee *FastPriceFeeCallerSession) SpreadBasisPointsIfChainError() (*big.Int, error)
SpreadBasisPointsIfChainError is a free data retrieval call binding the contract method 0xa6eca896.
Solidity: function spreadBasisPointsIfChainError() view returns(uint256)
func (*FastPriceFeeCallerSession) SpreadBasisPointsIfInactive ¶
func (_FastPriceFee *FastPriceFeeCallerSession) SpreadBasisPointsIfInactive() (*big.Int, error)
SpreadBasisPointsIfInactive is a free data retrieval call binding the contract method 0x74bfed89.
Solidity: function spreadBasisPointsIfInactive() view returns(uint256)
func (*FastPriceFeeCallerSession) TokenManager ¶
func (_FastPriceFee *FastPriceFeeCallerSession) TokenManager() (common.Address, error)
TokenManager is a free data retrieval call binding the contract method 0x2a709b14.
Solidity: function tokenManager() view returns(address)
func (*FastPriceFeeCallerSession) TokenPrecisions ¶
TokenPrecisions is a free data retrieval call binding the contract method 0x4d11fb4a.
Solidity: function tokenPrecisions(uint256 ) view returns(uint256)
func (*FastPriceFeeCallerSession) Tokens ¶
Tokens is a free data retrieval call binding the contract method 0x4f64b2be.
Solidity: function tokens(uint256 ) view returns(address)
func (*FastPriceFeeCallerSession) VaultPriceFeed ¶
func (_FastPriceFee *FastPriceFeeCallerSession) VaultPriceFeed() (common.Address, error)
VaultPriceFeed is a free data retrieval call binding the contract method 0xeeaa783a.
Solidity: function vaultPriceFeed() view returns(address)
type FastPriceFeeDisableFastPrice ¶
type FastPriceFeeDisableFastPrice struct { Signer common.Address Raw types.Log // Blockchain specific contextual infos }
FastPriceFeeDisableFastPrice represents a DisableFastPrice event raised by the FastPriceFee contract.
type FastPriceFeeDisableFastPriceIterator ¶
type FastPriceFeeDisableFastPriceIterator struct { Event *FastPriceFeeDisableFastPrice // Event containing the contract specifics and raw log // contains filtered or unexported fields }
FastPriceFeeDisableFastPriceIterator is returned from FilterDisableFastPrice and is used to iterate over the raw logs and unpacked data for DisableFastPrice events raised by the FastPriceFee contract.
func (*FastPriceFeeDisableFastPriceIterator) Close ¶
func (it *FastPriceFeeDisableFastPriceIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*FastPriceFeeDisableFastPriceIterator) Error ¶
func (it *FastPriceFeeDisableFastPriceIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*FastPriceFeeDisableFastPriceIterator) Next ¶
func (it *FastPriceFeeDisableFastPriceIterator) 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 FastPriceFeeEnableFastPrice ¶
type FastPriceFeeEnableFastPrice struct { Signer common.Address Raw types.Log // Blockchain specific contextual infos }
FastPriceFeeEnableFastPrice represents a EnableFastPrice event raised by the FastPriceFee contract.
type FastPriceFeeEnableFastPriceIterator ¶
type FastPriceFeeEnableFastPriceIterator struct { Event *FastPriceFeeEnableFastPrice // Event containing the contract specifics and raw log // contains filtered or unexported fields }
FastPriceFeeEnableFastPriceIterator is returned from FilterEnableFastPrice and is used to iterate over the raw logs and unpacked data for EnableFastPrice events raised by the FastPriceFee contract.
func (*FastPriceFeeEnableFastPriceIterator) Close ¶
func (it *FastPriceFeeEnableFastPriceIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*FastPriceFeeEnableFastPriceIterator) Error ¶
func (it *FastPriceFeeEnableFastPriceIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*FastPriceFeeEnableFastPriceIterator) Next ¶
func (it *FastPriceFeeEnableFastPriceIterator) 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 FastPriceFeeFilterer ¶
type FastPriceFeeFilterer struct {
// contains filtered or unexported fields
}
FastPriceFeeFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewFastPriceFeeFilterer ¶
func NewFastPriceFeeFilterer(address common.Address, filterer bind.ContractFilterer) (*FastPriceFeeFilterer, error)
NewFastPriceFeeFilterer creates a new log filterer instance of FastPriceFee, bound to a specific deployed contract.
func (*FastPriceFeeFilterer) FilterDisableFastPrice ¶
func (_FastPriceFee *FastPriceFeeFilterer) FilterDisableFastPrice(opts *bind.FilterOpts) (*FastPriceFeeDisableFastPriceIterator, error)
FilterDisableFastPrice is a free log retrieval operation binding the contract event 0x4c0c5fabf50e808e3bc8d19577d305e3a7163eea7e8a74a50caa8896694cd44b.
Solidity: event DisableFastPrice(address signer)
func (*FastPriceFeeFilterer) FilterEnableFastPrice ¶
func (_FastPriceFee *FastPriceFeeFilterer) FilterEnableFastPrice(opts *bind.FilterOpts) (*FastPriceFeeEnableFastPriceIterator, error)
FilterEnableFastPrice is a free log retrieval operation binding the contract event 0x9fe0c305c33aa92757a537936872a60be0d91549a4303cc99fd8b7fce8a00275.
Solidity: event EnableFastPrice(address signer)
func (*FastPriceFeeFilterer) FilterMaxCumulativeDeltaDiffExceeded ¶
func (_FastPriceFee *FastPriceFeeFilterer) FilterMaxCumulativeDeltaDiffExceeded(opts *bind.FilterOpts) (*FastPriceFeeMaxCumulativeDeltaDiffExceededIterator, error)
FilterMaxCumulativeDeltaDiffExceeded is a free log retrieval operation binding the contract event 0xe582322b389ad06b2bbf619cd6da3f16a288ec873ea0fa6df4d72f3d9480b447.
Solidity: event MaxCumulativeDeltaDiffExceeded(address token, uint256 refPrice, uint256 fastPrice, uint256 cumulativeRefDelta, uint256 cumulativeFastDelta)
func (*FastPriceFeeFilterer) FilterPriceData ¶
func (_FastPriceFee *FastPriceFeeFilterer) FilterPriceData(opts *bind.FilterOpts) (*FastPriceFeePriceDataIterator, error)
FilterPriceData is a free log retrieval operation binding the contract event 0x23b9387f81fca646aac1dc4487ede045c65f5f7445482906565f01e05afdb3a8.
Solidity: event PriceData(address token, uint256 refPrice, uint256 fastPrice, uint256 cumulativeRefDelta, uint256 cumulativeFastDelta)
func (*FastPriceFeeFilterer) ParseDisableFastPrice ¶
func (_FastPriceFee *FastPriceFeeFilterer) ParseDisableFastPrice(log types.Log) (*FastPriceFeeDisableFastPrice, error)
ParseDisableFastPrice is a log parse operation binding the contract event 0x4c0c5fabf50e808e3bc8d19577d305e3a7163eea7e8a74a50caa8896694cd44b.
Solidity: event DisableFastPrice(address signer)
func (*FastPriceFeeFilterer) ParseEnableFastPrice ¶
func (_FastPriceFee *FastPriceFeeFilterer) ParseEnableFastPrice(log types.Log) (*FastPriceFeeEnableFastPrice, error)
ParseEnableFastPrice is a log parse operation binding the contract event 0x9fe0c305c33aa92757a537936872a60be0d91549a4303cc99fd8b7fce8a00275.
Solidity: event EnableFastPrice(address signer)
func (*FastPriceFeeFilterer) ParseMaxCumulativeDeltaDiffExceeded ¶
func (_FastPriceFee *FastPriceFeeFilterer) ParseMaxCumulativeDeltaDiffExceeded(log types.Log) (*FastPriceFeeMaxCumulativeDeltaDiffExceeded, error)
ParseMaxCumulativeDeltaDiffExceeded is a log parse operation binding the contract event 0xe582322b389ad06b2bbf619cd6da3f16a288ec873ea0fa6df4d72f3d9480b447.
Solidity: event MaxCumulativeDeltaDiffExceeded(address token, uint256 refPrice, uint256 fastPrice, uint256 cumulativeRefDelta, uint256 cumulativeFastDelta)
func (*FastPriceFeeFilterer) ParsePriceData ¶
func (_FastPriceFee *FastPriceFeeFilterer) ParsePriceData(log types.Log) (*FastPriceFeePriceData, error)
ParsePriceData is a log parse operation binding the contract event 0x23b9387f81fca646aac1dc4487ede045c65f5f7445482906565f01e05afdb3a8.
Solidity: event PriceData(address token, uint256 refPrice, uint256 fastPrice, uint256 cumulativeRefDelta, uint256 cumulativeFastDelta)
func (*FastPriceFeeFilterer) WatchDisableFastPrice ¶
func (_FastPriceFee *FastPriceFeeFilterer) WatchDisableFastPrice(opts *bind.WatchOpts, sink chan<- *FastPriceFeeDisableFastPrice) (event.Subscription, error)
WatchDisableFastPrice is a free log subscription operation binding the contract event 0x4c0c5fabf50e808e3bc8d19577d305e3a7163eea7e8a74a50caa8896694cd44b.
Solidity: event DisableFastPrice(address signer)
func (*FastPriceFeeFilterer) WatchEnableFastPrice ¶
func (_FastPriceFee *FastPriceFeeFilterer) WatchEnableFastPrice(opts *bind.WatchOpts, sink chan<- *FastPriceFeeEnableFastPrice) (event.Subscription, error)
WatchEnableFastPrice is a free log subscription operation binding the contract event 0x9fe0c305c33aa92757a537936872a60be0d91549a4303cc99fd8b7fce8a00275.
Solidity: event EnableFastPrice(address signer)
func (*FastPriceFeeFilterer) WatchMaxCumulativeDeltaDiffExceeded ¶
func (_FastPriceFee *FastPriceFeeFilterer) WatchMaxCumulativeDeltaDiffExceeded(opts *bind.WatchOpts, sink chan<- *FastPriceFeeMaxCumulativeDeltaDiffExceeded) (event.Subscription, error)
WatchMaxCumulativeDeltaDiffExceeded is a free log subscription operation binding the contract event 0xe582322b389ad06b2bbf619cd6da3f16a288ec873ea0fa6df4d72f3d9480b447.
Solidity: event MaxCumulativeDeltaDiffExceeded(address token, uint256 refPrice, uint256 fastPrice, uint256 cumulativeRefDelta, uint256 cumulativeFastDelta)
func (*FastPriceFeeFilterer) WatchPriceData ¶
func (_FastPriceFee *FastPriceFeeFilterer) WatchPriceData(opts *bind.WatchOpts, sink chan<- *FastPriceFeePriceData) (event.Subscription, error)
WatchPriceData is a free log subscription operation binding the contract event 0x23b9387f81fca646aac1dc4487ede045c65f5f7445482906565f01e05afdb3a8.
Solidity: event PriceData(address token, uint256 refPrice, uint256 fastPrice, uint256 cumulativeRefDelta, uint256 cumulativeFastDelta)
type FastPriceFeeMaxCumulativeDeltaDiffExceeded ¶
type FastPriceFeeMaxCumulativeDeltaDiffExceeded struct { Token common.Address RefPrice *big.Int FastPrice *big.Int CumulativeRefDelta *big.Int CumulativeFastDelta *big.Int Raw types.Log // Blockchain specific contextual infos }
FastPriceFeeMaxCumulativeDeltaDiffExceeded represents a MaxCumulativeDeltaDiffExceeded event raised by the FastPriceFee contract.
type FastPriceFeeMaxCumulativeDeltaDiffExceededIterator ¶
type FastPriceFeeMaxCumulativeDeltaDiffExceededIterator struct { Event *FastPriceFeeMaxCumulativeDeltaDiffExceeded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
FastPriceFeeMaxCumulativeDeltaDiffExceededIterator is returned from FilterMaxCumulativeDeltaDiffExceeded and is used to iterate over the raw logs and unpacked data for MaxCumulativeDeltaDiffExceeded events raised by the FastPriceFee contract.
func (*FastPriceFeeMaxCumulativeDeltaDiffExceededIterator) Close ¶
func (it *FastPriceFeeMaxCumulativeDeltaDiffExceededIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*FastPriceFeeMaxCumulativeDeltaDiffExceededIterator) Error ¶
func (it *FastPriceFeeMaxCumulativeDeltaDiffExceededIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*FastPriceFeeMaxCumulativeDeltaDiffExceededIterator) Next ¶
func (it *FastPriceFeeMaxCumulativeDeltaDiffExceededIterator) 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 FastPriceFeePriceData ¶
type FastPriceFeePriceData struct { Token common.Address RefPrice *big.Int FastPrice *big.Int CumulativeRefDelta *big.Int CumulativeFastDelta *big.Int Raw types.Log // Blockchain specific contextual infos }
FastPriceFeePriceData represents a PriceData event raised by the FastPriceFee contract.
type FastPriceFeePriceDataIterator ¶
type FastPriceFeePriceDataIterator struct { Event *FastPriceFeePriceData // Event containing the contract specifics and raw log // contains filtered or unexported fields }
FastPriceFeePriceDataIterator is returned from FilterPriceData and is used to iterate over the raw logs and unpacked data for PriceData events raised by the FastPriceFee contract.
func (*FastPriceFeePriceDataIterator) Close ¶
func (it *FastPriceFeePriceDataIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*FastPriceFeePriceDataIterator) Error ¶
func (it *FastPriceFeePriceDataIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*FastPriceFeePriceDataIterator) Next ¶
func (it *FastPriceFeePriceDataIterator) 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 FastPriceFeeRaw ¶
type FastPriceFeeRaw struct {
Contract *FastPriceFee // Generic contract binding to access the raw methods on
}
FastPriceFeeRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*FastPriceFeeRaw) Call ¶
func (_FastPriceFee *FastPriceFeeRaw) 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 (*FastPriceFeeRaw) Transact ¶
func (_FastPriceFee *FastPriceFeeRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*FastPriceFeeRaw) Transfer ¶
func (_FastPriceFee *FastPriceFeeRaw) 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 FastPriceFeeSession ¶
type FastPriceFeeSession struct { Contract *FastPriceFee // 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 }
FastPriceFeeSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*FastPriceFeeSession) BASISPOINTSDIVISOR ¶
func (_FastPriceFee *FastPriceFeeSession) BASISPOINTSDIVISOR() (*big.Int, error)
BASISPOINTSDIVISOR is a free data retrieval call binding the contract method 0x126082cf.
Solidity: function BASIS_POINTS_DIVISOR() view returns(uint256)
func (*FastPriceFeeSession) BITMASK32 ¶
func (_FastPriceFee *FastPriceFeeSession) BITMASK32() (*big.Int, error)
BITMASK32 is a free data retrieval call binding the contract method 0x807c9782.
Solidity: function BITMASK_32() view returns(uint256)
func (*FastPriceFeeSession) CUMULATIVEDELTAPRECISION ¶
func (_FastPriceFee *FastPriceFeeSession) CUMULATIVEDELTAPRECISION() (*big.Int, error)
CUMULATIVEDELTAPRECISION is a free data retrieval call binding the contract method 0xa2b47c16.
Solidity: function CUMULATIVE_DELTA_PRECISION() view returns(uint256)
func (*FastPriceFeeSession) DisableFastPrice ¶
func (_FastPriceFee *FastPriceFeeSession) DisableFastPrice() (*types.Transaction, error)
DisableFastPrice is a paid mutator transaction binding the contract method 0xc84a9124.
Solidity: function disableFastPrice() returns()
func (*FastPriceFeeSession) DisableFastPriceVoteCount ¶
func (_FastPriceFee *FastPriceFeeSession) DisableFastPriceVoteCount() (*big.Int, error)
DisableFastPriceVoteCount is a free data retrieval call binding the contract method 0xb0a25666.
Solidity: function disableFastPriceVoteCount() view returns(uint256)
func (*FastPriceFeeSession) DisableFastPriceVotes ¶
func (_FastPriceFee *FastPriceFeeSession) DisableFastPriceVotes(arg0 common.Address) (bool, error)
DisableFastPriceVotes is a free data retrieval call binding the contract method 0x03b04936.
Solidity: function disableFastPriceVotes(address ) view returns(bool)
func (*FastPriceFeeSession) EnableFastPrice ¶
func (_FastPriceFee *FastPriceFeeSession) EnableFastPrice() (*types.Transaction, error)
EnableFastPrice is a paid mutator transaction binding the contract method 0x6ccd47c4.
Solidity: function enableFastPrice() returns()
func (*FastPriceFeeSession) FastPriceEvents ¶
func (_FastPriceFee *FastPriceFeeSession) FastPriceEvents() (common.Address, error)
FastPriceEvents is a free data retrieval call binding the contract method 0x0e9272ea.
Solidity: function fastPriceEvents() view returns(address)
func (*FastPriceFeeSession) FavorFastPrice ¶
func (_FastPriceFee *FastPriceFeeSession) FavorFastPrice(_token common.Address) (bool, error)
FavorFastPrice is a free data retrieval call binding the contract method 0x6c56fd05.
Solidity: function favorFastPrice(address _token) view returns(bool)
func (*FastPriceFeeSession) GetPrice ¶
func (_FastPriceFee *FastPriceFeeSession) GetPrice(_token common.Address, _refPrice *big.Int, _maximise bool) (*big.Int, error)
GetPrice is a free data retrieval call binding the contract method 0x7fece368.
Solidity: function getPrice(address _token, uint256 _refPrice, bool _maximise) view returns(uint256)
func (*FastPriceFeeSession) GetPriceData ¶
func (_FastPriceFee *FastPriceFeeSession) GetPriceData(_token common.Address) (*big.Int, *big.Int, *big.Int, *big.Int, error)
GetPriceData is a free data retrieval call binding the contract method 0x72279ba1.
Solidity: function getPriceData(address _token) view returns(uint256, uint256, uint256, uint256)
func (*FastPriceFeeSession) Gov ¶
func (_FastPriceFee *FastPriceFeeSession) Gov() (common.Address, error)
Gov is a free data retrieval call binding the contract method 0x12d43a51.
Solidity: function gov() view returns(address)
func (*FastPriceFeeSession) Initialize ¶
func (_FastPriceFee *FastPriceFeeSession) Initialize(_minAuthorizations *big.Int, _signers []common.Address, _updaters []common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x7fbc79c6.
Solidity: function initialize(uint256 _minAuthorizations, address[] _signers, address[] _updaters) returns()
func (*FastPriceFeeSession) IsInitialized ¶
func (_FastPriceFee *FastPriceFeeSession) IsInitialized() (bool, error)
IsInitialized is a free data retrieval call binding the contract method 0x392e53cd.
Solidity: function isInitialized() view returns(bool)
func (*FastPriceFeeSession) IsSigner ¶
func (_FastPriceFee *FastPriceFeeSession) IsSigner(arg0 common.Address) (bool, error)
IsSigner is a free data retrieval call binding the contract method 0x7df73e27.
Solidity: function isSigner(address ) view returns(bool)
func (*FastPriceFeeSession) IsSpreadEnabled ¶
func (_FastPriceFee *FastPriceFeeSession) IsSpreadEnabled() (bool, error)
IsSpreadEnabled is a free data retrieval call binding the contract method 0x695d4184.
Solidity: function isSpreadEnabled() view returns(bool)
func (*FastPriceFeeSession) IsUpdater ¶
func (_FastPriceFee *FastPriceFeeSession) IsUpdater(arg0 common.Address) (bool, error)
IsUpdater is a free data retrieval call binding the contract method 0x4fdfb086.
Solidity: function isUpdater(address ) view returns(bool)
func (*FastPriceFeeSession) LastUpdatedAt ¶
func (_FastPriceFee *FastPriceFeeSession) LastUpdatedAt() (*big.Int, error)
LastUpdatedAt is a free data retrieval call binding the contract method 0x54aea127.
Solidity: function lastUpdatedAt() view returns(uint256)
func (*FastPriceFeeSession) LastUpdatedBlock ¶
func (_FastPriceFee *FastPriceFeeSession) LastUpdatedBlock() (*big.Int, error)
LastUpdatedBlock is a free data retrieval call binding the contract method 0xf90ce5ba.
Solidity: function lastUpdatedBlock() view returns(uint256)
func (*FastPriceFeeSession) MAXCUMULATIVEFASTDELTA ¶
func (_FastPriceFee *FastPriceFeeSession) MAXCUMULATIVEFASTDELTA() (*big.Int, error)
MAXCUMULATIVEFASTDELTA is a free data retrieval call binding the contract method 0x4bd66c1c.
Solidity: function MAX_CUMULATIVE_FAST_DELTA() view returns(uint256)
func (*FastPriceFeeSession) MAXCUMULATIVEREFDELTA ¶
func (_FastPriceFee *FastPriceFeeSession) MAXCUMULATIVEREFDELTA() (*big.Int, error)
MAXCUMULATIVEREFDELTA is a free data retrieval call binding the contract method 0x0604ddea.
Solidity: function MAX_CUMULATIVE_REF_DELTA() view returns(uint256)
func (*FastPriceFeeSession) MAXPRICEDURATION ¶
func (_FastPriceFee *FastPriceFeeSession) MAXPRICEDURATION() (*big.Int, error)
MAXPRICEDURATION is a free data retrieval call binding the contract method 0x668d3d65.
Solidity: function MAX_PRICE_DURATION() view returns(uint256)
func (*FastPriceFeeSession) MAXREFPRICE ¶
func (_FastPriceFee *FastPriceFeeSession) MAXREFPRICE() (*big.Int, error)
MAXREFPRICE is a free data retrieval call binding the contract method 0xe68a22c0.
Solidity: function MAX_REF_PRICE() view returns(uint256)
func (*FastPriceFeeSession) MaxCumulativeDeltaDiffs ¶
func (_FastPriceFee *FastPriceFeeSession) MaxCumulativeDeltaDiffs(arg0 common.Address) (*big.Int, error)
MaxCumulativeDeltaDiffs is a free data retrieval call binding the contract method 0xa3742425.
Solidity: function maxCumulativeDeltaDiffs(address ) view returns(uint256)
func (*FastPriceFeeSession) MaxDeviationBasisPoints ¶
func (_FastPriceFee *FastPriceFeeSession) MaxDeviationBasisPoints() (*big.Int, error)
MaxDeviationBasisPoints is a free data retrieval call binding the contract method 0x715c7536.
Solidity: function maxDeviationBasisPoints() view returns(uint256)
func (*FastPriceFeeSession) MaxPriceUpdateDelay ¶
func (_FastPriceFee *FastPriceFeeSession) MaxPriceUpdateDelay() (*big.Int, error)
MaxPriceUpdateDelay is a free data retrieval call binding the contract method 0xe64559ad.
Solidity: function maxPriceUpdateDelay() view returns(uint256)
func (*FastPriceFeeSession) MaxTimeDeviation ¶
func (_FastPriceFee *FastPriceFeeSession) MaxTimeDeviation() (*big.Int, error)
MaxTimeDeviation is a free data retrieval call binding the contract method 0x3aa08f86.
Solidity: function maxTimeDeviation() view returns(uint256)
func (*FastPriceFeeSession) MinAuthorizations ¶
func (_FastPriceFee *FastPriceFeeSession) MinAuthorizations() (*big.Int, error)
MinAuthorizations is a free data retrieval call binding the contract method 0x287800c9.
Solidity: function minAuthorizations() view returns(uint256)
func (*FastPriceFeeSession) MinBlockInterval ¶
func (_FastPriceFee *FastPriceFeeSession) MinBlockInterval() (*big.Int, error)
MinBlockInterval is a free data retrieval call binding the contract method 0xb3606b56.
Solidity: function minBlockInterval() view returns(uint256)
func (*FastPriceFeeSession) PRICEPRECISION ¶
func (_FastPriceFee *FastPriceFeeSession) PRICEPRECISION() (*big.Int, error)
PRICEPRECISION is a free data retrieval call binding the contract method 0x95082d25.
Solidity: function PRICE_PRECISION() view returns(uint256)
func (*FastPriceFeeSession) PriceData ¶
func (_FastPriceFee *FastPriceFeeSession) PriceData(arg0 common.Address) (struct { RefPrice *big.Int RefTime uint32 CumulativeRefDelta uint32 CumulativeFastDelta uint32 }, error)
PriceData is a free data retrieval call binding the contract method 0xcab44b76.
Solidity: function priceData(address ) view returns(uint160 refPrice, uint32 refTime, uint32 cumulativeRefDelta, uint32 cumulativeFastDelta)
func (*FastPriceFeeSession) PriceDataInterval ¶
func (_FastPriceFee *FastPriceFeeSession) PriceDataInterval() (*big.Int, error)
PriceDataInterval is a free data retrieval call binding the contract method 0xdfb481c9.
Solidity: function priceDataInterval() view returns(uint256)
func (*FastPriceFeeSession) PriceDuration ¶
func (_FastPriceFee *FastPriceFeeSession) PriceDuration() (*big.Int, error)
PriceDuration is a free data retrieval call binding the contract method 0x03cd2571.
Solidity: function priceDuration() view returns(uint256)
func (*FastPriceFeeSession) Prices ¶
Prices is a free data retrieval call binding the contract method 0xcfed246b.
Solidity: function prices(address ) view returns(uint256)
func (*FastPriceFeeSession) SetCompactedPrices ¶
func (_FastPriceFee *FastPriceFeeSession) SetCompactedPrices(_priceBitArray []*big.Int, _timestamp *big.Int) (*types.Transaction, error)
SetCompactedPrices is a paid mutator transaction binding the contract method 0x03f4d7dc.
Solidity: function setCompactedPrices(uint256[] _priceBitArray, uint256 _timestamp) returns()
func (*FastPriceFeeSession) SetFastPriceEvents ¶
func (_FastPriceFee *FastPriceFeeSession) SetFastPriceEvents(_fastPriceEvents common.Address) (*types.Transaction, error)
SetFastPriceEvents is a paid mutator transaction binding the contract method 0x162ac4e0.
Solidity: function setFastPriceEvents(address _fastPriceEvents) returns()
func (*FastPriceFeeSession) SetGov ¶
func (_FastPriceFee *FastPriceFeeSession) SetGov(_gov common.Address) (*types.Transaction, error)
SetGov is a paid mutator transaction binding the contract method 0xcfad57a2.
Solidity: function setGov(address _gov) returns()
func (*FastPriceFeeSession) SetIsSpreadEnabled ¶
func (_FastPriceFee *FastPriceFeeSession) SetIsSpreadEnabled(_isSpreadEnabled bool) (*types.Transaction, error)
SetIsSpreadEnabled is a paid mutator transaction binding the contract method 0xce98dfa8.
Solidity: function setIsSpreadEnabled(bool _isSpreadEnabled) returns()
func (*FastPriceFeeSession) SetLastUpdatedAt ¶
func (_FastPriceFee *FastPriceFeeSession) SetLastUpdatedAt(_lastUpdatedAt *big.Int) (*types.Transaction, error)
SetLastUpdatedAt is a paid mutator transaction binding the contract method 0x14dd2dce.
Solidity: function setLastUpdatedAt(uint256 _lastUpdatedAt) returns()
func (*FastPriceFeeSession) SetMaxCumulativeDeltaDiffs ¶
func (_FastPriceFee *FastPriceFeeSession) SetMaxCumulativeDeltaDiffs(_tokens []common.Address, _maxCumulativeDeltaDiffs []*big.Int) (*types.Transaction, error)
SetMaxCumulativeDeltaDiffs is a paid mutator transaction binding the contract method 0x4c0e31c8.
Solidity: function setMaxCumulativeDeltaDiffs(address[] _tokens, uint256[] _maxCumulativeDeltaDiffs) returns()
func (*FastPriceFeeSession) SetMaxDeviationBasisPoints ¶
func (_FastPriceFee *FastPriceFeeSession) SetMaxDeviationBasisPoints(_maxDeviationBasisPoints *big.Int) (*types.Transaction, error)
SetMaxDeviationBasisPoints is a paid mutator transaction binding the contract method 0x82553aad.
Solidity: function setMaxDeviationBasisPoints(uint256 _maxDeviationBasisPoints) returns()
func (*FastPriceFeeSession) SetMaxPriceUpdateDelay ¶
func (_FastPriceFee *FastPriceFeeSession) SetMaxPriceUpdateDelay(_maxPriceUpdateDelay *big.Int) (*types.Transaction, error)
SetMaxPriceUpdateDelay is a paid mutator transaction binding the contract method 0x8b7677f4.
Solidity: function setMaxPriceUpdateDelay(uint256 _maxPriceUpdateDelay) returns()
func (*FastPriceFeeSession) SetMaxTimeDeviation ¶
func (_FastPriceFee *FastPriceFeeSession) SetMaxTimeDeviation(_maxTimeDeviation *big.Int) (*types.Transaction, error)
SetMaxTimeDeviation is a paid mutator transaction binding the contract method 0x776d16c1.
Solidity: function setMaxTimeDeviation(uint256 _maxTimeDeviation) returns()
func (*FastPriceFeeSession) SetMinAuthorizations ¶
func (_FastPriceFee *FastPriceFeeSession) SetMinAuthorizations(_minAuthorizations *big.Int) (*types.Transaction, error)
SetMinAuthorizations is a paid mutator transaction binding the contract method 0xd925351a.
Solidity: function setMinAuthorizations(uint256 _minAuthorizations) returns()
func (*FastPriceFeeSession) SetMinBlockInterval ¶
func (_FastPriceFee *FastPriceFeeSession) SetMinBlockInterval(_minBlockInterval *big.Int) (*types.Transaction, error)
SetMinBlockInterval is a paid mutator transaction binding the contract method 0xd6a153f1.
Solidity: function setMinBlockInterval(uint256 _minBlockInterval) returns()
func (*FastPriceFeeSession) SetPriceDataInterval ¶
func (_FastPriceFee *FastPriceFeeSession) SetPriceDataInterval(_priceDataInterval *big.Int) (*types.Transaction, error)
SetPriceDataInterval is a paid mutator transaction binding the contract method 0x2e9cd94b.
Solidity: function setPriceDataInterval(uint256 _priceDataInterval) returns()
func (*FastPriceFeeSession) SetPriceDuration ¶
func (_FastPriceFee *FastPriceFeeSession) SetPriceDuration(_priceDuration *big.Int) (*types.Transaction, error)
SetPriceDuration is a paid mutator transaction binding the contract method 0x44c23193.
Solidity: function setPriceDuration(uint256 _priceDuration) returns()
func (*FastPriceFeeSession) SetPrices ¶
func (_FastPriceFee *FastPriceFeeSession) SetPrices(_tokens []common.Address, _prices []*big.Int, _timestamp *big.Int) (*types.Transaction, error)
SetPrices is a paid mutator transaction binding the contract method 0x782661bc.
Solidity: function setPrices(address[] _tokens, uint256[] _prices, uint256 _timestamp) returns()
func (*FastPriceFeeSession) SetPricesWithBits ¶
func (_FastPriceFee *FastPriceFeeSession) SetPricesWithBits(_priceBits *big.Int, _timestamp *big.Int) (*types.Transaction, error)
SetPricesWithBits is a paid mutator transaction binding the contract method 0x17835d1c.
Solidity: function setPricesWithBits(uint256 _priceBits, uint256 _timestamp) returns()
func (*FastPriceFeeSession) SetPricesWithBitsAndExecute ¶
func (_FastPriceFee *FastPriceFeeSession) SetPricesWithBitsAndExecute(_positionRouter common.Address, _priceBits *big.Int, _timestamp *big.Int, _endIndexForIncreasePositions *big.Int, _endIndexForDecreasePositions *big.Int, _maxIncreasePositions *big.Int, _maxDecreasePositions *big.Int) (*types.Transaction, error)
SetPricesWithBitsAndExecute is a paid mutator transaction binding the contract method 0x32e5f9fa.
Solidity: function setPricesWithBitsAndExecute(address _positionRouter, uint256 _priceBits, uint256 _timestamp, uint256 _endIndexForIncreasePositions, uint256 _endIndexForDecreasePositions, uint256 _maxIncreasePositions, uint256 _maxDecreasePositions) returns()
func (*FastPriceFeeSession) SetSigner ¶
func (_FastPriceFee *FastPriceFeeSession) SetSigner(_account common.Address, _isActive bool) (*types.Transaction, error)
SetSigner is a paid mutator transaction binding the contract method 0x31cb6105.
Solidity: function setSigner(address _account, bool _isActive) returns()
func (*FastPriceFeeSession) SetSpreadBasisPointsIfChainError ¶
func (_FastPriceFee *FastPriceFeeSession) SetSpreadBasisPointsIfChainError(_spreadBasisPointsIfChainError *big.Int) (*types.Transaction, error)
SetSpreadBasisPointsIfChainError is a paid mutator transaction binding the contract method 0xde0d1b94.
Solidity: function setSpreadBasisPointsIfChainError(uint256 _spreadBasisPointsIfChainError) returns()
func (*FastPriceFeeSession) SetSpreadBasisPointsIfInactive ¶
func (_FastPriceFee *FastPriceFeeSession) SetSpreadBasisPointsIfInactive(_spreadBasisPointsIfInactive *big.Int) (*types.Transaction, error)
SetSpreadBasisPointsIfInactive is a paid mutator transaction binding the contract method 0xb70c7b70.
Solidity: function setSpreadBasisPointsIfInactive(uint256 _spreadBasisPointsIfInactive) returns()
func (*FastPriceFeeSession) SetTokenManager ¶
func (_FastPriceFee *FastPriceFeeSession) SetTokenManager(_tokenManager common.Address) (*types.Transaction, error)
SetTokenManager is a paid mutator transaction binding the contract method 0x7cb2b79c.
Solidity: function setTokenManager(address _tokenManager) returns()
func (*FastPriceFeeSession) SetTokens ¶
func (_FastPriceFee *FastPriceFeeSession) SetTokens(_tokens []common.Address, _tokenPrecisions []*big.Int) (*types.Transaction, error)
SetTokens is a paid mutator transaction binding the contract method 0xc8390a48.
Solidity: function setTokens(address[] _tokens, uint256[] _tokenPrecisions) returns()
func (*FastPriceFeeSession) SetUpdater ¶
func (_FastPriceFee *FastPriceFeeSession) SetUpdater(_account common.Address, _isActive bool) (*types.Transaction, error)
SetUpdater is a paid mutator transaction binding the contract method 0x1a153391.
Solidity: function setUpdater(address _account, bool _isActive) returns()
func (*FastPriceFeeSession) SetVaultPriceFeed ¶
func (_FastPriceFee *FastPriceFeeSession) SetVaultPriceFeed(_vaultPriceFeed common.Address) (*types.Transaction, error)
SetVaultPriceFeed is a paid mutator transaction binding the contract method 0x238aafb7.
Solidity: function setVaultPriceFeed(address _vaultPriceFeed) returns()
func (*FastPriceFeeSession) SpreadBasisPointsIfChainError ¶
func (_FastPriceFee *FastPriceFeeSession) SpreadBasisPointsIfChainError() (*big.Int, error)
SpreadBasisPointsIfChainError is a free data retrieval call binding the contract method 0xa6eca896.
Solidity: function spreadBasisPointsIfChainError() view returns(uint256)
func (*FastPriceFeeSession) SpreadBasisPointsIfInactive ¶
func (_FastPriceFee *FastPriceFeeSession) SpreadBasisPointsIfInactive() (*big.Int, error)
SpreadBasisPointsIfInactive is a free data retrieval call binding the contract method 0x74bfed89.
Solidity: function spreadBasisPointsIfInactive() view returns(uint256)
func (*FastPriceFeeSession) TokenManager ¶
func (_FastPriceFee *FastPriceFeeSession) TokenManager() (common.Address, error)
TokenManager is a free data retrieval call binding the contract method 0x2a709b14.
Solidity: function tokenManager() view returns(address)
func (*FastPriceFeeSession) TokenPrecisions ¶
TokenPrecisions is a free data retrieval call binding the contract method 0x4d11fb4a.
Solidity: function tokenPrecisions(uint256 ) view returns(uint256)
func (*FastPriceFeeSession) Tokens ¶
Tokens is a free data retrieval call binding the contract method 0x4f64b2be.
Solidity: function tokens(uint256 ) view returns(address)
func (*FastPriceFeeSession) VaultPriceFeed ¶
func (_FastPriceFee *FastPriceFeeSession) VaultPriceFeed() (common.Address, error)
VaultPriceFeed is a free data retrieval call binding the contract method 0xeeaa783a.
Solidity: function vaultPriceFeed() view returns(address)
type FastPriceFeeTransactor ¶
type FastPriceFeeTransactor struct {
// contains filtered or unexported fields
}
FastPriceFeeTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewFastPriceFeeTransactor ¶
func NewFastPriceFeeTransactor(address common.Address, transactor bind.ContractTransactor) (*FastPriceFeeTransactor, error)
NewFastPriceFeeTransactor creates a new write-only instance of FastPriceFee, bound to a specific deployed contract.
func (*FastPriceFeeTransactor) DisableFastPrice ¶
func (_FastPriceFee *FastPriceFeeTransactor) DisableFastPrice(opts *bind.TransactOpts) (*types.Transaction, error)
DisableFastPrice is a paid mutator transaction binding the contract method 0xc84a9124.
Solidity: function disableFastPrice() returns()
func (*FastPriceFeeTransactor) EnableFastPrice ¶
func (_FastPriceFee *FastPriceFeeTransactor) EnableFastPrice(opts *bind.TransactOpts) (*types.Transaction, error)
EnableFastPrice is a paid mutator transaction binding the contract method 0x6ccd47c4.
Solidity: function enableFastPrice() returns()
func (*FastPriceFeeTransactor) Initialize ¶
func (_FastPriceFee *FastPriceFeeTransactor) Initialize(opts *bind.TransactOpts, _minAuthorizations *big.Int, _signers []common.Address, _updaters []common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x7fbc79c6.
Solidity: function initialize(uint256 _minAuthorizations, address[] _signers, address[] _updaters) returns()
func (*FastPriceFeeTransactor) SetCompactedPrices ¶
func (_FastPriceFee *FastPriceFeeTransactor) SetCompactedPrices(opts *bind.TransactOpts, _priceBitArray []*big.Int, _timestamp *big.Int) (*types.Transaction, error)
SetCompactedPrices is a paid mutator transaction binding the contract method 0x03f4d7dc.
Solidity: function setCompactedPrices(uint256[] _priceBitArray, uint256 _timestamp) returns()
func (*FastPriceFeeTransactor) SetFastPriceEvents ¶
func (_FastPriceFee *FastPriceFeeTransactor) SetFastPriceEvents(opts *bind.TransactOpts, _fastPriceEvents common.Address) (*types.Transaction, error)
SetFastPriceEvents is a paid mutator transaction binding the contract method 0x162ac4e0.
Solidity: function setFastPriceEvents(address _fastPriceEvents) returns()
func (*FastPriceFeeTransactor) SetGov ¶
func (_FastPriceFee *FastPriceFeeTransactor) SetGov(opts *bind.TransactOpts, _gov common.Address) (*types.Transaction, error)
SetGov is a paid mutator transaction binding the contract method 0xcfad57a2.
Solidity: function setGov(address _gov) returns()
func (*FastPriceFeeTransactor) SetIsSpreadEnabled ¶
func (_FastPriceFee *FastPriceFeeTransactor) SetIsSpreadEnabled(opts *bind.TransactOpts, _isSpreadEnabled bool) (*types.Transaction, error)
SetIsSpreadEnabled is a paid mutator transaction binding the contract method 0xce98dfa8.
Solidity: function setIsSpreadEnabled(bool _isSpreadEnabled) returns()
func (*FastPriceFeeTransactor) SetLastUpdatedAt ¶
func (_FastPriceFee *FastPriceFeeTransactor) SetLastUpdatedAt(opts *bind.TransactOpts, _lastUpdatedAt *big.Int) (*types.Transaction, error)
SetLastUpdatedAt is a paid mutator transaction binding the contract method 0x14dd2dce.
Solidity: function setLastUpdatedAt(uint256 _lastUpdatedAt) returns()
func (*FastPriceFeeTransactor) SetMaxCumulativeDeltaDiffs ¶
func (_FastPriceFee *FastPriceFeeTransactor) SetMaxCumulativeDeltaDiffs(opts *bind.TransactOpts, _tokens []common.Address, _maxCumulativeDeltaDiffs []*big.Int) (*types.Transaction, error)
SetMaxCumulativeDeltaDiffs is a paid mutator transaction binding the contract method 0x4c0e31c8.
Solidity: function setMaxCumulativeDeltaDiffs(address[] _tokens, uint256[] _maxCumulativeDeltaDiffs) returns()
func (*FastPriceFeeTransactor) SetMaxDeviationBasisPoints ¶
func (_FastPriceFee *FastPriceFeeTransactor) SetMaxDeviationBasisPoints(opts *bind.TransactOpts, _maxDeviationBasisPoints *big.Int) (*types.Transaction, error)
SetMaxDeviationBasisPoints is a paid mutator transaction binding the contract method 0x82553aad.
Solidity: function setMaxDeviationBasisPoints(uint256 _maxDeviationBasisPoints) returns()
func (*FastPriceFeeTransactor) SetMaxPriceUpdateDelay ¶
func (_FastPriceFee *FastPriceFeeTransactor) SetMaxPriceUpdateDelay(opts *bind.TransactOpts, _maxPriceUpdateDelay *big.Int) (*types.Transaction, error)
SetMaxPriceUpdateDelay is a paid mutator transaction binding the contract method 0x8b7677f4.
Solidity: function setMaxPriceUpdateDelay(uint256 _maxPriceUpdateDelay) returns()
func (*FastPriceFeeTransactor) SetMaxTimeDeviation ¶
func (_FastPriceFee *FastPriceFeeTransactor) SetMaxTimeDeviation(opts *bind.TransactOpts, _maxTimeDeviation *big.Int) (*types.Transaction, error)
SetMaxTimeDeviation is a paid mutator transaction binding the contract method 0x776d16c1.
Solidity: function setMaxTimeDeviation(uint256 _maxTimeDeviation) returns()
func (*FastPriceFeeTransactor) SetMinAuthorizations ¶
func (_FastPriceFee *FastPriceFeeTransactor) SetMinAuthorizations(opts *bind.TransactOpts, _minAuthorizations *big.Int) (*types.Transaction, error)
SetMinAuthorizations is a paid mutator transaction binding the contract method 0xd925351a.
Solidity: function setMinAuthorizations(uint256 _minAuthorizations) returns()
func (*FastPriceFeeTransactor) SetMinBlockInterval ¶
func (_FastPriceFee *FastPriceFeeTransactor) SetMinBlockInterval(opts *bind.TransactOpts, _minBlockInterval *big.Int) (*types.Transaction, error)
SetMinBlockInterval is a paid mutator transaction binding the contract method 0xd6a153f1.
Solidity: function setMinBlockInterval(uint256 _minBlockInterval) returns()
func (*FastPriceFeeTransactor) SetPriceDataInterval ¶
func (_FastPriceFee *FastPriceFeeTransactor) SetPriceDataInterval(opts *bind.TransactOpts, _priceDataInterval *big.Int) (*types.Transaction, error)
SetPriceDataInterval is a paid mutator transaction binding the contract method 0x2e9cd94b.
Solidity: function setPriceDataInterval(uint256 _priceDataInterval) returns()
func (*FastPriceFeeTransactor) SetPriceDuration ¶
func (_FastPriceFee *FastPriceFeeTransactor) SetPriceDuration(opts *bind.TransactOpts, _priceDuration *big.Int) (*types.Transaction, error)
SetPriceDuration is a paid mutator transaction binding the contract method 0x44c23193.
Solidity: function setPriceDuration(uint256 _priceDuration) returns()
func (*FastPriceFeeTransactor) SetPrices ¶
func (_FastPriceFee *FastPriceFeeTransactor) SetPrices(opts *bind.TransactOpts, _tokens []common.Address, _prices []*big.Int, _timestamp *big.Int) (*types.Transaction, error)
SetPrices is a paid mutator transaction binding the contract method 0x782661bc.
Solidity: function setPrices(address[] _tokens, uint256[] _prices, uint256 _timestamp) returns()
func (*FastPriceFeeTransactor) SetPricesWithBits ¶
func (_FastPriceFee *FastPriceFeeTransactor) SetPricesWithBits(opts *bind.TransactOpts, _priceBits *big.Int, _timestamp *big.Int) (*types.Transaction, error)
SetPricesWithBits is a paid mutator transaction binding the contract method 0x17835d1c.
Solidity: function setPricesWithBits(uint256 _priceBits, uint256 _timestamp) returns()
func (*FastPriceFeeTransactor) SetPricesWithBitsAndExecute ¶
func (_FastPriceFee *FastPriceFeeTransactor) SetPricesWithBitsAndExecute(opts *bind.TransactOpts, _positionRouter common.Address, _priceBits *big.Int, _timestamp *big.Int, _endIndexForIncreasePositions *big.Int, _endIndexForDecreasePositions *big.Int, _maxIncreasePositions *big.Int, _maxDecreasePositions *big.Int) (*types.Transaction, error)
SetPricesWithBitsAndExecute is a paid mutator transaction binding the contract method 0x32e5f9fa.
Solidity: function setPricesWithBitsAndExecute(address _positionRouter, uint256 _priceBits, uint256 _timestamp, uint256 _endIndexForIncreasePositions, uint256 _endIndexForDecreasePositions, uint256 _maxIncreasePositions, uint256 _maxDecreasePositions) returns()
func (*FastPriceFeeTransactor) SetSigner ¶
func (_FastPriceFee *FastPriceFeeTransactor) SetSigner(opts *bind.TransactOpts, _account common.Address, _isActive bool) (*types.Transaction, error)
SetSigner is a paid mutator transaction binding the contract method 0x31cb6105.
Solidity: function setSigner(address _account, bool _isActive) returns()
func (*FastPriceFeeTransactor) SetSpreadBasisPointsIfChainError ¶
func (_FastPriceFee *FastPriceFeeTransactor) SetSpreadBasisPointsIfChainError(opts *bind.TransactOpts, _spreadBasisPointsIfChainError *big.Int) (*types.Transaction, error)
SetSpreadBasisPointsIfChainError is a paid mutator transaction binding the contract method 0xde0d1b94.
Solidity: function setSpreadBasisPointsIfChainError(uint256 _spreadBasisPointsIfChainError) returns()
func (*FastPriceFeeTransactor) SetSpreadBasisPointsIfInactive ¶
func (_FastPriceFee *FastPriceFeeTransactor) SetSpreadBasisPointsIfInactive(opts *bind.TransactOpts, _spreadBasisPointsIfInactive *big.Int) (*types.Transaction, error)
SetSpreadBasisPointsIfInactive is a paid mutator transaction binding the contract method 0xb70c7b70.
Solidity: function setSpreadBasisPointsIfInactive(uint256 _spreadBasisPointsIfInactive) returns()
func (*FastPriceFeeTransactor) SetTokenManager ¶
func (_FastPriceFee *FastPriceFeeTransactor) SetTokenManager(opts *bind.TransactOpts, _tokenManager common.Address) (*types.Transaction, error)
SetTokenManager is a paid mutator transaction binding the contract method 0x7cb2b79c.
Solidity: function setTokenManager(address _tokenManager) returns()
func (*FastPriceFeeTransactor) SetTokens ¶
func (_FastPriceFee *FastPriceFeeTransactor) SetTokens(opts *bind.TransactOpts, _tokens []common.Address, _tokenPrecisions []*big.Int) (*types.Transaction, error)
SetTokens is a paid mutator transaction binding the contract method 0xc8390a48.
Solidity: function setTokens(address[] _tokens, uint256[] _tokenPrecisions) returns()
func (*FastPriceFeeTransactor) SetUpdater ¶
func (_FastPriceFee *FastPriceFeeTransactor) SetUpdater(opts *bind.TransactOpts, _account common.Address, _isActive bool) (*types.Transaction, error)
SetUpdater is a paid mutator transaction binding the contract method 0x1a153391.
Solidity: function setUpdater(address _account, bool _isActive) returns()
func (*FastPriceFeeTransactor) SetVaultPriceFeed ¶
func (_FastPriceFee *FastPriceFeeTransactor) SetVaultPriceFeed(opts *bind.TransactOpts, _vaultPriceFeed common.Address) (*types.Transaction, error)
SetVaultPriceFeed is a paid mutator transaction binding the contract method 0x238aafb7.
Solidity: function setVaultPriceFeed(address _vaultPriceFeed) returns()
type FastPriceFeeTransactorRaw ¶
type FastPriceFeeTransactorRaw struct {
Contract *FastPriceFeeTransactor // Generic write-only contract binding to access the raw methods on
}
FastPriceFeeTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*FastPriceFeeTransactorRaw) Transact ¶
func (_FastPriceFee *FastPriceFeeTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*FastPriceFeeTransactorRaw) Transfer ¶
func (_FastPriceFee *FastPriceFeeTransactorRaw) 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 FastPriceFeeTransactorSession ¶
type FastPriceFeeTransactorSession struct { Contract *FastPriceFeeTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
FastPriceFeeTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*FastPriceFeeTransactorSession) DisableFastPrice ¶
func (_FastPriceFee *FastPriceFeeTransactorSession) DisableFastPrice() (*types.Transaction, error)
DisableFastPrice is a paid mutator transaction binding the contract method 0xc84a9124.
Solidity: function disableFastPrice() returns()
func (*FastPriceFeeTransactorSession) EnableFastPrice ¶
func (_FastPriceFee *FastPriceFeeTransactorSession) EnableFastPrice() (*types.Transaction, error)
EnableFastPrice is a paid mutator transaction binding the contract method 0x6ccd47c4.
Solidity: function enableFastPrice() returns()
func (*FastPriceFeeTransactorSession) Initialize ¶
func (_FastPriceFee *FastPriceFeeTransactorSession) Initialize(_minAuthorizations *big.Int, _signers []common.Address, _updaters []common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x7fbc79c6.
Solidity: function initialize(uint256 _minAuthorizations, address[] _signers, address[] _updaters) returns()
func (*FastPriceFeeTransactorSession) SetCompactedPrices ¶
func (_FastPriceFee *FastPriceFeeTransactorSession) SetCompactedPrices(_priceBitArray []*big.Int, _timestamp *big.Int) (*types.Transaction, error)
SetCompactedPrices is a paid mutator transaction binding the contract method 0x03f4d7dc.
Solidity: function setCompactedPrices(uint256[] _priceBitArray, uint256 _timestamp) returns()
func (*FastPriceFeeTransactorSession) SetFastPriceEvents ¶
func (_FastPriceFee *FastPriceFeeTransactorSession) SetFastPriceEvents(_fastPriceEvents common.Address) (*types.Transaction, error)
SetFastPriceEvents is a paid mutator transaction binding the contract method 0x162ac4e0.
Solidity: function setFastPriceEvents(address _fastPriceEvents) returns()
func (*FastPriceFeeTransactorSession) SetGov ¶
func (_FastPriceFee *FastPriceFeeTransactorSession) SetGov(_gov common.Address) (*types.Transaction, error)
SetGov is a paid mutator transaction binding the contract method 0xcfad57a2.
Solidity: function setGov(address _gov) returns()
func (*FastPriceFeeTransactorSession) SetIsSpreadEnabled ¶
func (_FastPriceFee *FastPriceFeeTransactorSession) SetIsSpreadEnabled(_isSpreadEnabled bool) (*types.Transaction, error)
SetIsSpreadEnabled is a paid mutator transaction binding the contract method 0xce98dfa8.
Solidity: function setIsSpreadEnabled(bool _isSpreadEnabled) returns()
func (*FastPriceFeeTransactorSession) SetLastUpdatedAt ¶
func (_FastPriceFee *FastPriceFeeTransactorSession) SetLastUpdatedAt(_lastUpdatedAt *big.Int) (*types.Transaction, error)
SetLastUpdatedAt is a paid mutator transaction binding the contract method 0x14dd2dce.
Solidity: function setLastUpdatedAt(uint256 _lastUpdatedAt) returns()
func (*FastPriceFeeTransactorSession) SetMaxCumulativeDeltaDiffs ¶
func (_FastPriceFee *FastPriceFeeTransactorSession) SetMaxCumulativeDeltaDiffs(_tokens []common.Address, _maxCumulativeDeltaDiffs []*big.Int) (*types.Transaction, error)
SetMaxCumulativeDeltaDiffs is a paid mutator transaction binding the contract method 0x4c0e31c8.
Solidity: function setMaxCumulativeDeltaDiffs(address[] _tokens, uint256[] _maxCumulativeDeltaDiffs) returns()
func (*FastPriceFeeTransactorSession) SetMaxDeviationBasisPoints ¶
func (_FastPriceFee *FastPriceFeeTransactorSession) SetMaxDeviationBasisPoints(_maxDeviationBasisPoints *big.Int) (*types.Transaction, error)
SetMaxDeviationBasisPoints is a paid mutator transaction binding the contract method 0x82553aad.
Solidity: function setMaxDeviationBasisPoints(uint256 _maxDeviationBasisPoints) returns()
func (*FastPriceFeeTransactorSession) SetMaxPriceUpdateDelay ¶
func (_FastPriceFee *FastPriceFeeTransactorSession) SetMaxPriceUpdateDelay(_maxPriceUpdateDelay *big.Int) (*types.Transaction, error)
SetMaxPriceUpdateDelay is a paid mutator transaction binding the contract method 0x8b7677f4.
Solidity: function setMaxPriceUpdateDelay(uint256 _maxPriceUpdateDelay) returns()
func (*FastPriceFeeTransactorSession) SetMaxTimeDeviation ¶
func (_FastPriceFee *FastPriceFeeTransactorSession) SetMaxTimeDeviation(_maxTimeDeviation *big.Int) (*types.Transaction, error)
SetMaxTimeDeviation is a paid mutator transaction binding the contract method 0x776d16c1.
Solidity: function setMaxTimeDeviation(uint256 _maxTimeDeviation) returns()
func (*FastPriceFeeTransactorSession) SetMinAuthorizations ¶
func (_FastPriceFee *FastPriceFeeTransactorSession) SetMinAuthorizations(_minAuthorizations *big.Int) (*types.Transaction, error)
SetMinAuthorizations is a paid mutator transaction binding the contract method 0xd925351a.
Solidity: function setMinAuthorizations(uint256 _minAuthorizations) returns()
func (*FastPriceFeeTransactorSession) SetMinBlockInterval ¶
func (_FastPriceFee *FastPriceFeeTransactorSession) SetMinBlockInterval(_minBlockInterval *big.Int) (*types.Transaction, error)
SetMinBlockInterval is a paid mutator transaction binding the contract method 0xd6a153f1.
Solidity: function setMinBlockInterval(uint256 _minBlockInterval) returns()
func (*FastPriceFeeTransactorSession) SetPriceDataInterval ¶
func (_FastPriceFee *FastPriceFeeTransactorSession) SetPriceDataInterval(_priceDataInterval *big.Int) (*types.Transaction, error)
SetPriceDataInterval is a paid mutator transaction binding the contract method 0x2e9cd94b.
Solidity: function setPriceDataInterval(uint256 _priceDataInterval) returns()
func (*FastPriceFeeTransactorSession) SetPriceDuration ¶
func (_FastPriceFee *FastPriceFeeTransactorSession) SetPriceDuration(_priceDuration *big.Int) (*types.Transaction, error)
SetPriceDuration is a paid mutator transaction binding the contract method 0x44c23193.
Solidity: function setPriceDuration(uint256 _priceDuration) returns()
func (*FastPriceFeeTransactorSession) SetPrices ¶
func (_FastPriceFee *FastPriceFeeTransactorSession) SetPrices(_tokens []common.Address, _prices []*big.Int, _timestamp *big.Int) (*types.Transaction, error)
SetPrices is a paid mutator transaction binding the contract method 0x782661bc.
Solidity: function setPrices(address[] _tokens, uint256[] _prices, uint256 _timestamp) returns()
func (*FastPriceFeeTransactorSession) SetPricesWithBits ¶
func (_FastPriceFee *FastPriceFeeTransactorSession) SetPricesWithBits(_priceBits *big.Int, _timestamp *big.Int) (*types.Transaction, error)
SetPricesWithBits is a paid mutator transaction binding the contract method 0x17835d1c.
Solidity: function setPricesWithBits(uint256 _priceBits, uint256 _timestamp) returns()
func (*FastPriceFeeTransactorSession) SetPricesWithBitsAndExecute ¶
func (_FastPriceFee *FastPriceFeeTransactorSession) SetPricesWithBitsAndExecute(_positionRouter common.Address, _priceBits *big.Int, _timestamp *big.Int, _endIndexForIncreasePositions *big.Int, _endIndexForDecreasePositions *big.Int, _maxIncreasePositions *big.Int, _maxDecreasePositions *big.Int) (*types.Transaction, error)
SetPricesWithBitsAndExecute is a paid mutator transaction binding the contract method 0x32e5f9fa.
Solidity: function setPricesWithBitsAndExecute(address _positionRouter, uint256 _priceBits, uint256 _timestamp, uint256 _endIndexForIncreasePositions, uint256 _endIndexForDecreasePositions, uint256 _maxIncreasePositions, uint256 _maxDecreasePositions) returns()
func (*FastPriceFeeTransactorSession) SetSigner ¶
func (_FastPriceFee *FastPriceFeeTransactorSession) SetSigner(_account common.Address, _isActive bool) (*types.Transaction, error)
SetSigner is a paid mutator transaction binding the contract method 0x31cb6105.
Solidity: function setSigner(address _account, bool _isActive) returns()
func (*FastPriceFeeTransactorSession) SetSpreadBasisPointsIfChainError ¶
func (_FastPriceFee *FastPriceFeeTransactorSession) SetSpreadBasisPointsIfChainError(_spreadBasisPointsIfChainError *big.Int) (*types.Transaction, error)
SetSpreadBasisPointsIfChainError is a paid mutator transaction binding the contract method 0xde0d1b94.
Solidity: function setSpreadBasisPointsIfChainError(uint256 _spreadBasisPointsIfChainError) returns()
func (*FastPriceFeeTransactorSession) SetSpreadBasisPointsIfInactive ¶
func (_FastPriceFee *FastPriceFeeTransactorSession) SetSpreadBasisPointsIfInactive(_spreadBasisPointsIfInactive *big.Int) (*types.Transaction, error)
SetSpreadBasisPointsIfInactive is a paid mutator transaction binding the contract method 0xb70c7b70.
Solidity: function setSpreadBasisPointsIfInactive(uint256 _spreadBasisPointsIfInactive) returns()
func (*FastPriceFeeTransactorSession) SetTokenManager ¶
func (_FastPriceFee *FastPriceFeeTransactorSession) SetTokenManager(_tokenManager common.Address) (*types.Transaction, error)
SetTokenManager is a paid mutator transaction binding the contract method 0x7cb2b79c.
Solidity: function setTokenManager(address _tokenManager) returns()
func (*FastPriceFeeTransactorSession) SetTokens ¶
func (_FastPriceFee *FastPriceFeeTransactorSession) SetTokens(_tokens []common.Address, _tokenPrecisions []*big.Int) (*types.Transaction, error)
SetTokens is a paid mutator transaction binding the contract method 0xc8390a48.
Solidity: function setTokens(address[] _tokens, uint256[] _tokenPrecisions) returns()
func (*FastPriceFeeTransactorSession) SetUpdater ¶
func (_FastPriceFee *FastPriceFeeTransactorSession) SetUpdater(_account common.Address, _isActive bool) (*types.Transaction, error)
SetUpdater is a paid mutator transaction binding the contract method 0x1a153391.
Solidity: function setUpdater(address _account, bool _isActive) returns()
func (*FastPriceFeeTransactorSession) SetVaultPriceFeed ¶
func (_FastPriceFee *FastPriceFeeTransactorSession) SetVaultPriceFeed(_vaultPriceFeed common.Address) (*types.Transaction, error)
SetVaultPriceFeed is a paid mutator transaction binding the contract method 0x238aafb7.
Solidity: function setVaultPriceFeed(address _vaultPriceFeed) returns()