Documentation ¶
Index ¶
- Variables
- type AsyncOrderClaimData
- type OrderFeesData
- type SettlementStrategyData
- type SpotMarketOptimism
- type SpotMarketOptimismAssociatedSystemSet
- type SpotMarketOptimismAssociatedSystemSetIterator
- type SpotMarketOptimismAsyncFixedFeeSet
- type SpotMarketOptimismAsyncFixedFeeSetIterator
- type SpotMarketOptimismAtomicFixedFeeSet
- type SpotMarketOptimismAtomicFixedFeeSetIterator
- type SpotMarketOptimismCaller
- func (_SpotMarketOptimism *SpotMarketOptimismCaller) GetAssociatedSystem(opts *bind.CallOpts, id [32]byte) (struct{ ... }, error)
- func (_SpotMarketOptimism *SpotMarketOptimismCaller) GetAsyncOrderClaim(opts *bind.CallOpts, marketId *big.Int, asyncOrderId *big.Int) (AsyncOrderClaimData, error)
- func (_SpotMarketOptimism *SpotMarketOptimismCaller) GetCollateralLeverage(opts *bind.CallOpts, synthMarketId *big.Int) (*big.Int, error)
- func (_SpotMarketOptimism *SpotMarketOptimismCaller) GetCustomTransactorFees(opts *bind.CallOpts, synthMarketId *big.Int, transactor common.Address) (*big.Int, error)
- func (_SpotMarketOptimism *SpotMarketOptimismCaller) GetDeniers(opts *bind.CallOpts, feature [32]byte) ([]common.Address, error)
- func (_SpotMarketOptimism *SpotMarketOptimismCaller) GetFeatureFlagAllowAll(opts *bind.CallOpts, feature [32]byte) (bool, error)
- func (_SpotMarketOptimism *SpotMarketOptimismCaller) GetFeatureFlagAllowlist(opts *bind.CallOpts, feature [32]byte) ([]common.Address, error)
- func (_SpotMarketOptimism *SpotMarketOptimismCaller) GetFeatureFlagDenyAll(opts *bind.CallOpts, feature [32]byte) (bool, error)
- func (_SpotMarketOptimism *SpotMarketOptimismCaller) GetFeeCollector(opts *bind.CallOpts, synthMarketId *big.Int) (common.Address, error)
- func (_SpotMarketOptimism *SpotMarketOptimismCaller) GetImplementation(opts *bind.CallOpts) (common.Address, error)
- func (_SpotMarketOptimism *SpotMarketOptimismCaller) GetMarketFees(opts *bind.CallOpts, synthMarketId *big.Int) (struct{ ... }, error)
- func (_SpotMarketOptimism *SpotMarketOptimismCaller) GetMarketOwner(opts *bind.CallOpts, synthMarketId *big.Int) (common.Address, error)
- func (_SpotMarketOptimism *SpotMarketOptimismCaller) GetMarketSkewScale(opts *bind.CallOpts, synthMarketId *big.Int) (*big.Int, error)
- func (_SpotMarketOptimism *SpotMarketOptimismCaller) GetMarketUtilizationFees(opts *bind.CallOpts, synthMarketId *big.Int) (*big.Int, error)
- func (_SpotMarketOptimism *SpotMarketOptimismCaller) GetReferrerShare(opts *bind.CallOpts, synthMarketId *big.Int, referrer common.Address) (*big.Int, error)
- func (_SpotMarketOptimism *SpotMarketOptimismCaller) GetSettlementStrategy(opts *bind.CallOpts, marketId *big.Int, strategyId *big.Int) (SettlementStrategyData, error)
- func (_SpotMarketOptimism *SpotMarketOptimismCaller) GetSynth(opts *bind.CallOpts, marketId *big.Int) (common.Address, error)
- func (_SpotMarketOptimism *SpotMarketOptimismCaller) GetSynthImpl(opts *bind.CallOpts, marketId *big.Int) (common.Address, error)
- func (_SpotMarketOptimism *SpotMarketOptimismCaller) IsFeatureAllowed(opts *bind.CallOpts, feature [32]byte, account common.Address) (bool, error)
- func (_SpotMarketOptimism *SpotMarketOptimismCaller) MinimumCredit(opts *bind.CallOpts, marketId *big.Int) (*big.Int, error)
- func (_SpotMarketOptimism *SpotMarketOptimismCaller) Name(opts *bind.CallOpts, marketId *big.Int) (string, error)
- func (_SpotMarketOptimism *SpotMarketOptimismCaller) NominatedOwner(opts *bind.CallOpts) (common.Address, error)
- func (_SpotMarketOptimism *SpotMarketOptimismCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_SpotMarketOptimism *SpotMarketOptimismCaller) PRECISION(opts *bind.CallOpts) (*big.Int, error)
- func (_SpotMarketOptimism *SpotMarketOptimismCaller) QuoteBuyExactIn(opts *bind.CallOpts, marketId *big.Int, usdAmount *big.Int) (struct{ ... }, error)
- func (_SpotMarketOptimism *SpotMarketOptimismCaller) QuoteBuyExactOut(opts *bind.CallOpts, marketId *big.Int, synthAmount *big.Int) (struct{ ... }, error)
- func (_SpotMarketOptimism *SpotMarketOptimismCaller) QuoteSellExactIn(opts *bind.CallOpts, marketId *big.Int, synthAmount *big.Int) (struct{ ... }, error)
- func (_SpotMarketOptimism *SpotMarketOptimismCaller) QuoteSellExactOut(opts *bind.CallOpts, marketId *big.Int, usdAmount *big.Int) (struct{ ... }, error)
- func (_SpotMarketOptimism *SpotMarketOptimismCaller) ReportedDebt(opts *bind.CallOpts, marketId *big.Int) (*big.Int, error)
- func (_SpotMarketOptimism *SpotMarketOptimismCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)
- type SpotMarketOptimismCallerRaw
- type SpotMarketOptimismCallerSession
- func (_SpotMarketOptimism *SpotMarketOptimismCallerSession) GetAssociatedSystem(id [32]byte) (struct{ ... }, error)
- func (_SpotMarketOptimism *SpotMarketOptimismCallerSession) GetAsyncOrderClaim(marketId *big.Int, asyncOrderId *big.Int) (AsyncOrderClaimData, error)
- func (_SpotMarketOptimism *SpotMarketOptimismCallerSession) GetCollateralLeverage(synthMarketId *big.Int) (*big.Int, error)
- func (_SpotMarketOptimism *SpotMarketOptimismCallerSession) GetCustomTransactorFees(synthMarketId *big.Int, transactor common.Address) (*big.Int, error)
- func (_SpotMarketOptimism *SpotMarketOptimismCallerSession) GetDeniers(feature [32]byte) ([]common.Address, error)
- func (_SpotMarketOptimism *SpotMarketOptimismCallerSession) GetFeatureFlagAllowAll(feature [32]byte) (bool, error)
- func (_SpotMarketOptimism *SpotMarketOptimismCallerSession) GetFeatureFlagAllowlist(feature [32]byte) ([]common.Address, error)
- func (_SpotMarketOptimism *SpotMarketOptimismCallerSession) GetFeatureFlagDenyAll(feature [32]byte) (bool, error)
- func (_SpotMarketOptimism *SpotMarketOptimismCallerSession) GetFeeCollector(synthMarketId *big.Int) (common.Address, error)
- func (_SpotMarketOptimism *SpotMarketOptimismCallerSession) GetImplementation() (common.Address, error)
- func (_SpotMarketOptimism *SpotMarketOptimismCallerSession) GetMarketFees(synthMarketId *big.Int) (struct{ ... }, error)
- func (_SpotMarketOptimism *SpotMarketOptimismCallerSession) GetMarketOwner(synthMarketId *big.Int) (common.Address, error)
- func (_SpotMarketOptimism *SpotMarketOptimismCallerSession) GetMarketSkewScale(synthMarketId *big.Int) (*big.Int, error)
- func (_SpotMarketOptimism *SpotMarketOptimismCallerSession) GetMarketUtilizationFees(synthMarketId *big.Int) (*big.Int, error)
- func (_SpotMarketOptimism *SpotMarketOptimismCallerSession) GetReferrerShare(synthMarketId *big.Int, referrer common.Address) (*big.Int, error)
- func (_SpotMarketOptimism *SpotMarketOptimismCallerSession) GetSettlementStrategy(marketId *big.Int, strategyId *big.Int) (SettlementStrategyData, error)
- func (_SpotMarketOptimism *SpotMarketOptimismCallerSession) GetSynth(marketId *big.Int) (common.Address, error)
- func (_SpotMarketOptimism *SpotMarketOptimismCallerSession) GetSynthImpl(marketId *big.Int) (common.Address, error)
- func (_SpotMarketOptimism *SpotMarketOptimismCallerSession) IsFeatureAllowed(feature [32]byte, account common.Address) (bool, error)
- func (_SpotMarketOptimism *SpotMarketOptimismCallerSession) MinimumCredit(marketId *big.Int) (*big.Int, error)
- func (_SpotMarketOptimism *SpotMarketOptimismCallerSession) Name(marketId *big.Int) (string, error)
- func (_SpotMarketOptimism *SpotMarketOptimismCallerSession) NominatedOwner() (common.Address, error)
- func (_SpotMarketOptimism *SpotMarketOptimismCallerSession) Owner() (common.Address, error)
- func (_SpotMarketOptimism *SpotMarketOptimismCallerSession) PRECISION() (*big.Int, error)
- func (_SpotMarketOptimism *SpotMarketOptimismCallerSession) QuoteBuyExactIn(marketId *big.Int, usdAmount *big.Int) (struct{ ... }, error)
- func (_SpotMarketOptimism *SpotMarketOptimismCallerSession) QuoteBuyExactOut(marketId *big.Int, synthAmount *big.Int) (struct{ ... }, error)
- func (_SpotMarketOptimism *SpotMarketOptimismCallerSession) QuoteSellExactIn(marketId *big.Int, synthAmount *big.Int) (struct{ ... }, error)
- func (_SpotMarketOptimism *SpotMarketOptimismCallerSession) QuoteSellExactOut(marketId *big.Int, usdAmount *big.Int) (struct{ ... }, error)
- func (_SpotMarketOptimism *SpotMarketOptimismCallerSession) ReportedDebt(marketId *big.Int) (*big.Int, error)
- func (_SpotMarketOptimism *SpotMarketOptimismCallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)
- type SpotMarketOptimismCollateralLeverageSet
- type SpotMarketOptimismCollateralLeverageSetIterator
- type SpotMarketOptimismDecayRateUpdated
- type SpotMarketOptimismDecayRateUpdatedIterator
- type SpotMarketOptimismFeatureFlagAllowAllSet
- type SpotMarketOptimismFeatureFlagAllowAllSetIterator
- type SpotMarketOptimismFeatureFlagAllowlistAdded
- type SpotMarketOptimismFeatureFlagAllowlistAddedIterator
- type SpotMarketOptimismFeatureFlagAllowlistRemoved
- type SpotMarketOptimismFeatureFlagAllowlistRemovedIterator
- type SpotMarketOptimismFeatureFlagDeniersReset
- type SpotMarketOptimismFeatureFlagDeniersResetIterator
- type SpotMarketOptimismFeatureFlagDenyAllSet
- type SpotMarketOptimismFeatureFlagDenyAllSetIterator
- type SpotMarketOptimismFeeCollectorSet
- type SpotMarketOptimismFeeCollectorSetIterator
- type SpotMarketOptimismFilterer
- func (_SpotMarketOptimism *SpotMarketOptimismFilterer) FilterAssociatedSystemSet(opts *bind.FilterOpts, kind [][32]byte, id [][32]byte) (*SpotMarketOptimismAssociatedSystemSetIterator, error)
- func (_SpotMarketOptimism *SpotMarketOptimismFilterer) FilterAsyncFixedFeeSet(opts *bind.FilterOpts, synthMarketId []*big.Int) (*SpotMarketOptimismAsyncFixedFeeSetIterator, error)
- func (_SpotMarketOptimism *SpotMarketOptimismFilterer) FilterAtomicFixedFeeSet(opts *bind.FilterOpts, synthMarketId []*big.Int) (*SpotMarketOptimismAtomicFixedFeeSetIterator, error)
- func (_SpotMarketOptimism *SpotMarketOptimismFilterer) FilterCollateralLeverageSet(opts *bind.FilterOpts, synthMarketId []*big.Int) (*SpotMarketOptimismCollateralLeverageSetIterator, error)
- func (_SpotMarketOptimism *SpotMarketOptimismFilterer) FilterDecayRateUpdated(opts *bind.FilterOpts, marketId []*big.Int) (*SpotMarketOptimismDecayRateUpdatedIterator, error)
- func (_SpotMarketOptimism *SpotMarketOptimismFilterer) FilterFeatureFlagAllowAllSet(opts *bind.FilterOpts, feature [][32]byte) (*SpotMarketOptimismFeatureFlagAllowAllSetIterator, error)
- func (_SpotMarketOptimism *SpotMarketOptimismFilterer) FilterFeatureFlagAllowlistAdded(opts *bind.FilterOpts, feature [][32]byte) (*SpotMarketOptimismFeatureFlagAllowlistAddedIterator, error)
- func (_SpotMarketOptimism *SpotMarketOptimismFilterer) FilterFeatureFlagAllowlistRemoved(opts *bind.FilterOpts, feature [][32]byte) (*SpotMarketOptimismFeatureFlagAllowlistRemovedIterator, error)
- func (_SpotMarketOptimism *SpotMarketOptimismFilterer) FilterFeatureFlagDeniersReset(opts *bind.FilterOpts, feature [][32]byte) (*SpotMarketOptimismFeatureFlagDeniersResetIterator, error)
- func (_SpotMarketOptimism *SpotMarketOptimismFilterer) FilterFeatureFlagDenyAllSet(opts *bind.FilterOpts, feature [][32]byte) (*SpotMarketOptimismFeatureFlagDenyAllSetIterator, error)
- func (_SpotMarketOptimism *SpotMarketOptimismFilterer) FilterFeeCollectorSet(opts *bind.FilterOpts, synthMarketId []*big.Int) (*SpotMarketOptimismFeeCollectorSetIterator, error)
- func (_SpotMarketOptimism *SpotMarketOptimismFilterer) FilterMarketNominationRenounced(opts *bind.FilterOpts, marketId []*big.Int) (*SpotMarketOptimismMarketNominationRenouncedIterator, error)
- func (_SpotMarketOptimism *SpotMarketOptimismFilterer) FilterMarketOwnerChanged(opts *bind.FilterOpts, marketId []*big.Int) (*SpotMarketOptimismMarketOwnerChangedIterator, error)
- func (_SpotMarketOptimism *SpotMarketOptimismFilterer) FilterMarketOwnerNominated(opts *bind.FilterOpts, marketId []*big.Int) (*SpotMarketOptimismMarketOwnerNominatedIterator, error)
- func (_SpotMarketOptimism *SpotMarketOptimismFilterer) FilterMarketSkewScaleSet(opts *bind.FilterOpts, synthMarketId []*big.Int) (*SpotMarketOptimismMarketSkewScaleSetIterator, error)
- func (_SpotMarketOptimism *SpotMarketOptimismFilterer) FilterMarketUtilizationFeesSet(opts *bind.FilterOpts, synthMarketId []*big.Int) (*SpotMarketOptimismMarketUtilizationFeesSetIterator, error)
- func (_SpotMarketOptimism *SpotMarketOptimismFilterer) FilterOrderCancelled(opts *bind.FilterOpts, marketId []*big.Int, asyncOrderId []*big.Int, ...) (*SpotMarketOptimismOrderCancelledIterator, error)
- func (_SpotMarketOptimism *SpotMarketOptimismFilterer) FilterOrderCommitted(opts *bind.FilterOpts, marketId []*big.Int, orderType []uint8, ...) (*SpotMarketOptimismOrderCommittedIterator, error)
- func (_SpotMarketOptimism *SpotMarketOptimismFilterer) FilterOrderSettled(opts *bind.FilterOpts, marketId []*big.Int, asyncOrderId []*big.Int, ...) (*SpotMarketOptimismOrderSettledIterator, error)
- func (_SpotMarketOptimism *SpotMarketOptimismFilterer) FilterOwnerChanged(opts *bind.FilterOpts) (*SpotMarketOptimismOwnerChangedIterator, error)
- func (_SpotMarketOptimism *SpotMarketOptimismFilterer) FilterOwnerNominated(opts *bind.FilterOpts) (*SpotMarketOptimismOwnerNominatedIterator, error)
- func (_SpotMarketOptimism *SpotMarketOptimismFilterer) FilterReferrerShareUpdated(opts *bind.FilterOpts, marketId []*big.Int) (*SpotMarketOptimismReferrerShareUpdatedIterator, error)
- func (_SpotMarketOptimism *SpotMarketOptimismFilterer) FilterSettlementStrategyAdded(opts *bind.FilterOpts, synthMarketId []*big.Int, strategyId []*big.Int) (*SpotMarketOptimismSettlementStrategyAddedIterator, error)
- func (_SpotMarketOptimism *SpotMarketOptimismFilterer) FilterSettlementStrategyUpdated(opts *bind.FilterOpts, synthMarketId []*big.Int, strategyId []*big.Int) (*SpotMarketOptimismSettlementStrategyUpdatedIterator, error)
- func (_SpotMarketOptimism *SpotMarketOptimismFilterer) FilterSynthBought(opts *bind.FilterOpts, synthMarketId []*big.Int) (*SpotMarketOptimismSynthBoughtIterator, error)
- func (_SpotMarketOptimism *SpotMarketOptimismFilterer) FilterSynthImplementationSet(opts *bind.FilterOpts) (*SpotMarketOptimismSynthImplementationSetIterator, error)
- func (_SpotMarketOptimism *SpotMarketOptimismFilterer) FilterSynthImplementationUpgraded(opts *bind.FilterOpts, synthMarketId []*big.Int, proxy []common.Address) (*SpotMarketOptimismSynthImplementationUpgradedIterator, error)
- func (_SpotMarketOptimism *SpotMarketOptimismFilterer) FilterSynthPriceDataUpdated(opts *bind.FilterOpts, synthMarketId []*big.Int, buyFeedId [][32]byte, ...) (*SpotMarketOptimismSynthPriceDataUpdatedIterator, error)
- func (_SpotMarketOptimism *SpotMarketOptimismFilterer) FilterSynthRegistered(opts *bind.FilterOpts, synthMarketId []*big.Int) (*SpotMarketOptimismSynthRegisteredIterator, error)
- func (_SpotMarketOptimism *SpotMarketOptimismFilterer) FilterSynthSold(opts *bind.FilterOpts, synthMarketId []*big.Int) (*SpotMarketOptimismSynthSoldIterator, error)
- func (_SpotMarketOptimism *SpotMarketOptimismFilterer) FilterSynthUnwrapped(opts *bind.FilterOpts, synthMarketId []*big.Int) (*SpotMarketOptimismSynthUnwrappedIterator, error)
- func (_SpotMarketOptimism *SpotMarketOptimismFilterer) FilterSynthWrapped(opts *bind.FilterOpts, synthMarketId []*big.Int) (*SpotMarketOptimismSynthWrappedIterator, error)
- func (_SpotMarketOptimism *SpotMarketOptimismFilterer) FilterSynthetixSystemSet(opts *bind.FilterOpts) (*SpotMarketOptimismSynthetixSystemSetIterator, error)
- func (_SpotMarketOptimism *SpotMarketOptimismFilterer) FilterTransactorFixedFeeSet(opts *bind.FilterOpts, synthMarketId []*big.Int) (*SpotMarketOptimismTransactorFixedFeeSetIterator, error)
- func (_SpotMarketOptimism *SpotMarketOptimismFilterer) FilterUpgraded(opts *bind.FilterOpts, self []common.Address) (*SpotMarketOptimismUpgradedIterator, error)
- func (_SpotMarketOptimism *SpotMarketOptimismFilterer) FilterWrapperFeesSet(opts *bind.FilterOpts, synthMarketId []*big.Int) (*SpotMarketOptimismWrapperFeesSetIterator, error)
- func (_SpotMarketOptimism *SpotMarketOptimismFilterer) FilterWrapperSet(opts *bind.FilterOpts, synthMarketId []*big.Int, ...) (*SpotMarketOptimismWrapperSetIterator, error)
- func (_SpotMarketOptimism *SpotMarketOptimismFilterer) ParseAssociatedSystemSet(log types.Log) (*SpotMarketOptimismAssociatedSystemSet, error)
- func (_SpotMarketOptimism *SpotMarketOptimismFilterer) ParseAsyncFixedFeeSet(log types.Log) (*SpotMarketOptimismAsyncFixedFeeSet, error)
- func (_SpotMarketOptimism *SpotMarketOptimismFilterer) ParseAtomicFixedFeeSet(log types.Log) (*SpotMarketOptimismAtomicFixedFeeSet, error)
- func (_SpotMarketOptimism *SpotMarketOptimismFilterer) ParseCollateralLeverageSet(log types.Log) (*SpotMarketOptimismCollateralLeverageSet, error)
- func (_SpotMarketOptimism *SpotMarketOptimismFilterer) ParseDecayRateUpdated(log types.Log) (*SpotMarketOptimismDecayRateUpdated, error)
- func (_SpotMarketOptimism *SpotMarketOptimismFilterer) ParseFeatureFlagAllowAllSet(log types.Log) (*SpotMarketOptimismFeatureFlagAllowAllSet, error)
- func (_SpotMarketOptimism *SpotMarketOptimismFilterer) ParseFeatureFlagAllowlistAdded(log types.Log) (*SpotMarketOptimismFeatureFlagAllowlistAdded, error)
- func (_SpotMarketOptimism *SpotMarketOptimismFilterer) ParseFeatureFlagAllowlistRemoved(log types.Log) (*SpotMarketOptimismFeatureFlagAllowlistRemoved, error)
- func (_SpotMarketOptimism *SpotMarketOptimismFilterer) ParseFeatureFlagDeniersReset(log types.Log) (*SpotMarketOptimismFeatureFlagDeniersReset, error)
- func (_SpotMarketOptimism *SpotMarketOptimismFilterer) ParseFeatureFlagDenyAllSet(log types.Log) (*SpotMarketOptimismFeatureFlagDenyAllSet, error)
- func (_SpotMarketOptimism *SpotMarketOptimismFilterer) ParseFeeCollectorSet(log types.Log) (*SpotMarketOptimismFeeCollectorSet, error)
- func (_SpotMarketOptimism *SpotMarketOptimismFilterer) ParseMarketNominationRenounced(log types.Log) (*SpotMarketOptimismMarketNominationRenounced, error)
- func (_SpotMarketOptimism *SpotMarketOptimismFilterer) ParseMarketOwnerChanged(log types.Log) (*SpotMarketOptimismMarketOwnerChanged, error)
- func (_SpotMarketOptimism *SpotMarketOptimismFilterer) ParseMarketOwnerNominated(log types.Log) (*SpotMarketOptimismMarketOwnerNominated, error)
- func (_SpotMarketOptimism *SpotMarketOptimismFilterer) ParseMarketSkewScaleSet(log types.Log) (*SpotMarketOptimismMarketSkewScaleSet, error)
- func (_SpotMarketOptimism *SpotMarketOptimismFilterer) ParseMarketUtilizationFeesSet(log types.Log) (*SpotMarketOptimismMarketUtilizationFeesSet, error)
- func (_SpotMarketOptimism *SpotMarketOptimismFilterer) ParseOrderCancelled(log types.Log) (*SpotMarketOptimismOrderCancelled, error)
- func (_SpotMarketOptimism *SpotMarketOptimismFilterer) ParseOrderCommitted(log types.Log) (*SpotMarketOptimismOrderCommitted, error)
- func (_SpotMarketOptimism *SpotMarketOptimismFilterer) ParseOrderSettled(log types.Log) (*SpotMarketOptimismOrderSettled, error)
- func (_SpotMarketOptimism *SpotMarketOptimismFilterer) ParseOwnerChanged(log types.Log) (*SpotMarketOptimismOwnerChanged, error)
- func (_SpotMarketOptimism *SpotMarketOptimismFilterer) ParseOwnerNominated(log types.Log) (*SpotMarketOptimismOwnerNominated, error)
- func (_SpotMarketOptimism *SpotMarketOptimismFilterer) ParseReferrerShareUpdated(log types.Log) (*SpotMarketOptimismReferrerShareUpdated, error)
- func (_SpotMarketOptimism *SpotMarketOptimismFilterer) ParseSettlementStrategyAdded(log types.Log) (*SpotMarketOptimismSettlementStrategyAdded, error)
- func (_SpotMarketOptimism *SpotMarketOptimismFilterer) ParseSettlementStrategyUpdated(log types.Log) (*SpotMarketOptimismSettlementStrategyUpdated, error)
- func (_SpotMarketOptimism *SpotMarketOptimismFilterer) ParseSynthBought(log types.Log) (*SpotMarketOptimismSynthBought, error)
- func (_SpotMarketOptimism *SpotMarketOptimismFilterer) ParseSynthImplementationSet(log types.Log) (*SpotMarketOptimismSynthImplementationSet, error)
- func (_SpotMarketOptimism *SpotMarketOptimismFilterer) ParseSynthImplementationUpgraded(log types.Log) (*SpotMarketOptimismSynthImplementationUpgraded, error)
- func (_SpotMarketOptimism *SpotMarketOptimismFilterer) ParseSynthPriceDataUpdated(log types.Log) (*SpotMarketOptimismSynthPriceDataUpdated, error)
- func (_SpotMarketOptimism *SpotMarketOptimismFilterer) ParseSynthRegistered(log types.Log) (*SpotMarketOptimismSynthRegistered, error)
- func (_SpotMarketOptimism *SpotMarketOptimismFilterer) ParseSynthSold(log types.Log) (*SpotMarketOptimismSynthSold, error)
- func (_SpotMarketOptimism *SpotMarketOptimismFilterer) ParseSynthUnwrapped(log types.Log) (*SpotMarketOptimismSynthUnwrapped, error)
- func (_SpotMarketOptimism *SpotMarketOptimismFilterer) ParseSynthWrapped(log types.Log) (*SpotMarketOptimismSynthWrapped, error)
- func (_SpotMarketOptimism *SpotMarketOptimismFilterer) ParseSynthetixSystemSet(log types.Log) (*SpotMarketOptimismSynthetixSystemSet, error)
- func (_SpotMarketOptimism *SpotMarketOptimismFilterer) ParseTransactorFixedFeeSet(log types.Log) (*SpotMarketOptimismTransactorFixedFeeSet, error)
- func (_SpotMarketOptimism *SpotMarketOptimismFilterer) ParseUpgraded(log types.Log) (*SpotMarketOptimismUpgraded, error)
- func (_SpotMarketOptimism *SpotMarketOptimismFilterer) ParseWrapperFeesSet(log types.Log) (*SpotMarketOptimismWrapperFeesSet, error)
- func (_SpotMarketOptimism *SpotMarketOptimismFilterer) ParseWrapperSet(log types.Log) (*SpotMarketOptimismWrapperSet, error)
- func (_SpotMarketOptimism *SpotMarketOptimismFilterer) WatchAssociatedSystemSet(opts *bind.WatchOpts, sink chan<- *SpotMarketOptimismAssociatedSystemSet, ...) (event.Subscription, error)
- func (_SpotMarketOptimism *SpotMarketOptimismFilterer) WatchAsyncFixedFeeSet(opts *bind.WatchOpts, sink chan<- *SpotMarketOptimismAsyncFixedFeeSet, ...) (event.Subscription, error)
- func (_SpotMarketOptimism *SpotMarketOptimismFilterer) WatchAtomicFixedFeeSet(opts *bind.WatchOpts, sink chan<- *SpotMarketOptimismAtomicFixedFeeSet, ...) (event.Subscription, error)
- func (_SpotMarketOptimism *SpotMarketOptimismFilterer) WatchCollateralLeverageSet(opts *bind.WatchOpts, sink chan<- *SpotMarketOptimismCollateralLeverageSet, ...) (event.Subscription, error)
- func (_SpotMarketOptimism *SpotMarketOptimismFilterer) WatchDecayRateUpdated(opts *bind.WatchOpts, sink chan<- *SpotMarketOptimismDecayRateUpdated, ...) (event.Subscription, error)
- func (_SpotMarketOptimism *SpotMarketOptimismFilterer) WatchFeatureFlagAllowAllSet(opts *bind.WatchOpts, sink chan<- *SpotMarketOptimismFeatureFlagAllowAllSet, ...) (event.Subscription, error)
- func (_SpotMarketOptimism *SpotMarketOptimismFilterer) WatchFeatureFlagAllowlistAdded(opts *bind.WatchOpts, sink chan<- *SpotMarketOptimismFeatureFlagAllowlistAdded, ...) (event.Subscription, error)
- func (_SpotMarketOptimism *SpotMarketOptimismFilterer) WatchFeatureFlagAllowlistRemoved(opts *bind.WatchOpts, ...) (event.Subscription, error)
- func (_SpotMarketOptimism *SpotMarketOptimismFilterer) WatchFeatureFlagDeniersReset(opts *bind.WatchOpts, sink chan<- *SpotMarketOptimismFeatureFlagDeniersReset, ...) (event.Subscription, error)
- func (_SpotMarketOptimism *SpotMarketOptimismFilterer) WatchFeatureFlagDenyAllSet(opts *bind.WatchOpts, sink chan<- *SpotMarketOptimismFeatureFlagDenyAllSet, ...) (event.Subscription, error)
- func (_SpotMarketOptimism *SpotMarketOptimismFilterer) WatchFeeCollectorSet(opts *bind.WatchOpts, sink chan<- *SpotMarketOptimismFeeCollectorSet, ...) (event.Subscription, error)
- func (_SpotMarketOptimism *SpotMarketOptimismFilterer) WatchMarketNominationRenounced(opts *bind.WatchOpts, sink chan<- *SpotMarketOptimismMarketNominationRenounced, ...) (event.Subscription, error)
- func (_SpotMarketOptimism *SpotMarketOptimismFilterer) WatchMarketOwnerChanged(opts *bind.WatchOpts, sink chan<- *SpotMarketOptimismMarketOwnerChanged, ...) (event.Subscription, error)
- func (_SpotMarketOptimism *SpotMarketOptimismFilterer) WatchMarketOwnerNominated(opts *bind.WatchOpts, sink chan<- *SpotMarketOptimismMarketOwnerNominated, ...) (event.Subscription, error)
- func (_SpotMarketOptimism *SpotMarketOptimismFilterer) WatchMarketSkewScaleSet(opts *bind.WatchOpts, sink chan<- *SpotMarketOptimismMarketSkewScaleSet, ...) (event.Subscription, error)
- func (_SpotMarketOptimism *SpotMarketOptimismFilterer) WatchMarketUtilizationFeesSet(opts *bind.WatchOpts, sink chan<- *SpotMarketOptimismMarketUtilizationFeesSet, ...) (event.Subscription, error)
- func (_SpotMarketOptimism *SpotMarketOptimismFilterer) WatchOrderCancelled(opts *bind.WatchOpts, sink chan<- *SpotMarketOptimismOrderCancelled, ...) (event.Subscription, error)
- func (_SpotMarketOptimism *SpotMarketOptimismFilterer) WatchOrderCommitted(opts *bind.WatchOpts, sink chan<- *SpotMarketOptimismOrderCommitted, ...) (event.Subscription, error)
- func (_SpotMarketOptimism *SpotMarketOptimismFilterer) WatchOrderSettled(opts *bind.WatchOpts, sink chan<- *SpotMarketOptimismOrderSettled, ...) (event.Subscription, error)
- func (_SpotMarketOptimism *SpotMarketOptimismFilterer) WatchOwnerChanged(opts *bind.WatchOpts, sink chan<- *SpotMarketOptimismOwnerChanged) (event.Subscription, error)
- func (_SpotMarketOptimism *SpotMarketOptimismFilterer) WatchOwnerNominated(opts *bind.WatchOpts, sink chan<- *SpotMarketOptimismOwnerNominated) (event.Subscription, error)
- func (_SpotMarketOptimism *SpotMarketOptimismFilterer) WatchReferrerShareUpdated(opts *bind.WatchOpts, sink chan<- *SpotMarketOptimismReferrerShareUpdated, ...) (event.Subscription, error)
- func (_SpotMarketOptimism *SpotMarketOptimismFilterer) WatchSettlementStrategyAdded(opts *bind.WatchOpts, sink chan<- *SpotMarketOptimismSettlementStrategyAdded, ...) (event.Subscription, error)
- func (_SpotMarketOptimism *SpotMarketOptimismFilterer) WatchSettlementStrategyUpdated(opts *bind.WatchOpts, sink chan<- *SpotMarketOptimismSettlementStrategyUpdated, ...) (event.Subscription, error)
- func (_SpotMarketOptimism *SpotMarketOptimismFilterer) WatchSynthBought(opts *bind.WatchOpts, sink chan<- *SpotMarketOptimismSynthBought, ...) (event.Subscription, error)
- func (_SpotMarketOptimism *SpotMarketOptimismFilterer) WatchSynthImplementationSet(opts *bind.WatchOpts, sink chan<- *SpotMarketOptimismSynthImplementationSet) (event.Subscription, error)
- func (_SpotMarketOptimism *SpotMarketOptimismFilterer) WatchSynthImplementationUpgraded(opts *bind.WatchOpts, ...) (event.Subscription, error)
- func (_SpotMarketOptimism *SpotMarketOptimismFilterer) WatchSynthPriceDataUpdated(opts *bind.WatchOpts, sink chan<- *SpotMarketOptimismSynthPriceDataUpdated, ...) (event.Subscription, error)
- func (_SpotMarketOptimism *SpotMarketOptimismFilterer) WatchSynthRegistered(opts *bind.WatchOpts, sink chan<- *SpotMarketOptimismSynthRegistered, ...) (event.Subscription, error)
- func (_SpotMarketOptimism *SpotMarketOptimismFilterer) WatchSynthSold(opts *bind.WatchOpts, sink chan<- *SpotMarketOptimismSynthSold, ...) (event.Subscription, error)
- func (_SpotMarketOptimism *SpotMarketOptimismFilterer) WatchSynthUnwrapped(opts *bind.WatchOpts, sink chan<- *SpotMarketOptimismSynthUnwrapped, ...) (event.Subscription, error)
- func (_SpotMarketOptimism *SpotMarketOptimismFilterer) WatchSynthWrapped(opts *bind.WatchOpts, sink chan<- *SpotMarketOptimismSynthWrapped, ...) (event.Subscription, error)
- func (_SpotMarketOptimism *SpotMarketOptimismFilterer) WatchSynthetixSystemSet(opts *bind.WatchOpts, sink chan<- *SpotMarketOptimismSynthetixSystemSet) (event.Subscription, error)
- func (_SpotMarketOptimism *SpotMarketOptimismFilterer) WatchTransactorFixedFeeSet(opts *bind.WatchOpts, sink chan<- *SpotMarketOptimismTransactorFixedFeeSet, ...) (event.Subscription, error)
- func (_SpotMarketOptimism *SpotMarketOptimismFilterer) WatchUpgraded(opts *bind.WatchOpts, sink chan<- *SpotMarketOptimismUpgraded, ...) (event.Subscription, error)
- func (_SpotMarketOptimism *SpotMarketOptimismFilterer) WatchWrapperFeesSet(opts *bind.WatchOpts, sink chan<- *SpotMarketOptimismWrapperFeesSet, ...) (event.Subscription, error)
- func (_SpotMarketOptimism *SpotMarketOptimismFilterer) WatchWrapperSet(opts *bind.WatchOpts, sink chan<- *SpotMarketOptimismWrapperSet, ...) (event.Subscription, error)
- type SpotMarketOptimismMarketNominationRenounced
- type SpotMarketOptimismMarketNominationRenouncedIterator
- type SpotMarketOptimismMarketOwnerChanged
- type SpotMarketOptimismMarketOwnerChangedIterator
- type SpotMarketOptimismMarketOwnerNominated
- type SpotMarketOptimismMarketOwnerNominatedIterator
- type SpotMarketOptimismMarketSkewScaleSet
- type SpotMarketOptimismMarketSkewScaleSetIterator
- type SpotMarketOptimismMarketUtilizationFeesSet
- type SpotMarketOptimismMarketUtilizationFeesSetIterator
- type SpotMarketOptimismOrderCancelled
- type SpotMarketOptimismOrderCancelledIterator
- type SpotMarketOptimismOrderCommitted
- type SpotMarketOptimismOrderCommittedIterator
- type SpotMarketOptimismOrderSettled
- type SpotMarketOptimismOrderSettledIterator
- type SpotMarketOptimismOwnerChanged
- type SpotMarketOptimismOwnerChangedIterator
- type SpotMarketOptimismOwnerNominated
- type SpotMarketOptimismOwnerNominatedIterator
- type SpotMarketOptimismRaw
- func (_SpotMarketOptimism *SpotMarketOptimismRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_SpotMarketOptimism *SpotMarketOptimismRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type SpotMarketOptimismReferrerShareUpdated
- type SpotMarketOptimismReferrerShareUpdatedIterator
- type SpotMarketOptimismSession
- func (_SpotMarketOptimism *SpotMarketOptimismSession) AcceptMarketOwnership(synthMarketId *big.Int) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismSession) AcceptOwnership() (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismSession) AddSettlementStrategy(marketId *big.Int, strategy SettlementStrategyData) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismSession) AddToFeatureFlagAllowlist(feature [32]byte, account common.Address) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismSession) Buy(marketId *big.Int, usdAmount *big.Int, minAmountReceived *big.Int, ...) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismSession) BuyExactIn(marketId *big.Int, usdAmount *big.Int, minAmountReceived *big.Int, ...) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismSession) BuyExactOut(marketId *big.Int, synthAmount *big.Int, maxUsdAmount *big.Int, ...) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismSession) CancelOrder(marketId *big.Int, asyncOrderId *big.Int) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismSession) CommitOrder(marketId *big.Int, orderType uint8, amountProvided *big.Int, ...) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismSession) CreateSynth(tokenName string, tokenSymbol string, synthOwner common.Address) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismSession) GetAssociatedSystem(id [32]byte) (struct{ ... }, error)
- func (_SpotMarketOptimism *SpotMarketOptimismSession) GetAsyncOrderClaim(marketId *big.Int, asyncOrderId *big.Int) (AsyncOrderClaimData, error)
- func (_SpotMarketOptimism *SpotMarketOptimismSession) GetCollateralLeverage(synthMarketId *big.Int) (*big.Int, error)
- func (_SpotMarketOptimism *SpotMarketOptimismSession) GetCustomTransactorFees(synthMarketId *big.Int, transactor common.Address) (*big.Int, error)
- func (_SpotMarketOptimism *SpotMarketOptimismSession) GetDeniers(feature [32]byte) ([]common.Address, error)
- func (_SpotMarketOptimism *SpotMarketOptimismSession) GetFeatureFlagAllowAll(feature [32]byte) (bool, error)
- func (_SpotMarketOptimism *SpotMarketOptimismSession) GetFeatureFlagAllowlist(feature [32]byte) ([]common.Address, error)
- func (_SpotMarketOptimism *SpotMarketOptimismSession) GetFeatureFlagDenyAll(feature [32]byte) (bool, error)
- func (_SpotMarketOptimism *SpotMarketOptimismSession) GetFeeCollector(synthMarketId *big.Int) (common.Address, error)
- func (_SpotMarketOptimism *SpotMarketOptimismSession) GetImplementation() (common.Address, error)
- func (_SpotMarketOptimism *SpotMarketOptimismSession) GetMarketFees(synthMarketId *big.Int) (struct{ ... }, error)
- func (_SpotMarketOptimism *SpotMarketOptimismSession) GetMarketOwner(synthMarketId *big.Int) (common.Address, error)
- func (_SpotMarketOptimism *SpotMarketOptimismSession) GetMarketSkewScale(synthMarketId *big.Int) (*big.Int, error)
- func (_SpotMarketOptimism *SpotMarketOptimismSession) GetMarketUtilizationFees(synthMarketId *big.Int) (*big.Int, error)
- func (_SpotMarketOptimism *SpotMarketOptimismSession) GetReferrerShare(synthMarketId *big.Int, referrer common.Address) (*big.Int, error)
- func (_SpotMarketOptimism *SpotMarketOptimismSession) GetSettlementStrategy(marketId *big.Int, strategyId *big.Int) (SettlementStrategyData, error)
- func (_SpotMarketOptimism *SpotMarketOptimismSession) GetSynth(marketId *big.Int) (common.Address, error)
- func (_SpotMarketOptimism *SpotMarketOptimismSession) GetSynthImpl(marketId *big.Int) (common.Address, error)
- func (_SpotMarketOptimism *SpotMarketOptimismSession) InitOrUpgradeNft(id [32]byte, name string, symbol string, uri string, impl common.Address) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismSession) InitOrUpgradeToken(id [32]byte, name string, symbol string, decimals uint8, impl common.Address) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismSession) IsFeatureAllowed(feature [32]byte, account common.Address) (bool, error)
- func (_SpotMarketOptimism *SpotMarketOptimismSession) MinimumCredit(marketId *big.Int) (*big.Int, error)
- func (_SpotMarketOptimism *SpotMarketOptimismSession) Name(marketId *big.Int) (string, error)
- func (_SpotMarketOptimism *SpotMarketOptimismSession) NominateMarketOwner(synthMarketId *big.Int, newNominatedOwner common.Address) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismSession) NominateNewOwner(newNominatedOwner common.Address) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismSession) NominatedOwner() (common.Address, error)
- func (_SpotMarketOptimism *SpotMarketOptimismSession) Owner() (common.Address, error)
- func (_SpotMarketOptimism *SpotMarketOptimismSession) PRECISION() (*big.Int, error)
- func (_SpotMarketOptimism *SpotMarketOptimismSession) QuoteBuyExactIn(marketId *big.Int, usdAmount *big.Int) (struct{ ... }, error)
- func (_SpotMarketOptimism *SpotMarketOptimismSession) QuoteBuyExactOut(marketId *big.Int, synthAmount *big.Int) (struct{ ... }, error)
- func (_SpotMarketOptimism *SpotMarketOptimismSession) QuoteSellExactIn(marketId *big.Int, synthAmount *big.Int) (struct{ ... }, error)
- func (_SpotMarketOptimism *SpotMarketOptimismSession) QuoteSellExactOut(marketId *big.Int, usdAmount *big.Int) (struct{ ... }, error)
- func (_SpotMarketOptimism *SpotMarketOptimismSession) RegisterUnmanagedSystem(id [32]byte, endpoint common.Address) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismSession) RemoveFromFeatureFlagAllowlist(feature [32]byte, account common.Address) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismSession) RenounceMarketNomination(synthMarketId *big.Int) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismSession) RenounceMarketOwnership(synthMarketId *big.Int) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismSession) RenounceNomination() (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismSession) ReportedDebt(marketId *big.Int) (*big.Int, error)
- func (_SpotMarketOptimism *SpotMarketOptimismSession) Sell(marketId *big.Int, synthAmount *big.Int, minUsdAmount *big.Int, ...) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismSession) SellExactIn(marketId *big.Int, synthAmount *big.Int, minAmountReceived *big.Int, ...) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismSession) SellExactOut(marketId *big.Int, usdAmount *big.Int, maxSynthAmount *big.Int, ...) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismSession) SetAsyncFixedFee(synthMarketId *big.Int, asyncFixedFee *big.Int) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismSession) SetAtomicFixedFee(synthMarketId *big.Int, atomicFixedFee *big.Int) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismSession) SetCollateralLeverage(synthMarketId *big.Int, collateralLeverage *big.Int) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismSession) SetCustomTransactorFees(synthMarketId *big.Int, transactor common.Address, fixedFeeAmount *big.Int) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismSession) SetDecayRate(marketId *big.Int, rate *big.Int) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismSession) SetDeniers(feature [32]byte, deniers []common.Address) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismSession) SetFeatureFlagAllowAll(feature [32]byte, allowAll bool) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismSession) SetFeatureFlagDenyAll(feature [32]byte, denyAll bool) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismSession) SetFeeCollector(synthMarketId *big.Int, feeCollector common.Address) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismSession) SetMarketSkewScale(synthMarketId *big.Int, skewScale *big.Int) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismSession) SetMarketUtilizationFees(synthMarketId *big.Int, utilizationFeeRate *big.Int) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismSession) SetSettlementStrategyEnabled(marketId *big.Int, strategyId *big.Int, enabled bool) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismSession) SetSynthImplementation(synthImplementation common.Address) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismSession) SetSynthetix(synthetix common.Address) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismSession) SetWrapper(marketId *big.Int, wrapCollateralType common.Address, ...) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismSession) SetWrapperFees(synthMarketId *big.Int, wrapFee *big.Int, unwrapFee *big.Int) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismSession) SettleOrder(marketId *big.Int, asyncOrderId *big.Int) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismSession) SettlePythOrder(result []byte, extraData []byte) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismSession) SimulateUpgradeTo(newImplementation common.Address) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismSession) SupportsInterface(interfaceId [4]byte) (bool, error)
- func (_SpotMarketOptimism *SpotMarketOptimismSession) Unwrap(marketId *big.Int, unwrapAmount *big.Int, minAmountReceived *big.Int) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismSession) UpdatePriceData(synthMarketId *big.Int, buyFeedId [32]byte, sellFeedId [32]byte) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismSession) UpdateReferrerShare(synthMarketId *big.Int, referrer common.Address, sharePercentage *big.Int) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismSession) UpgradeSynthImpl(marketId *big.Int) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismSession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismSession) Wrap(marketId *big.Int, wrapAmount *big.Int, minAmountReceived *big.Int) (*types.Transaction, error)
- type SpotMarketOptimismSettlementStrategyAdded
- type SpotMarketOptimismSettlementStrategyAddedIterator
- type SpotMarketOptimismSettlementStrategyUpdated
- type SpotMarketOptimismSettlementStrategyUpdatedIterator
- type SpotMarketOptimismSynthBought
- type SpotMarketOptimismSynthBoughtIterator
- type SpotMarketOptimismSynthImplementationSet
- type SpotMarketOptimismSynthImplementationSetIterator
- type SpotMarketOptimismSynthImplementationUpgraded
- type SpotMarketOptimismSynthImplementationUpgradedIterator
- type SpotMarketOptimismSynthPriceDataUpdated
- type SpotMarketOptimismSynthPriceDataUpdatedIterator
- type SpotMarketOptimismSynthRegistered
- type SpotMarketOptimismSynthRegisteredIterator
- type SpotMarketOptimismSynthSold
- type SpotMarketOptimismSynthSoldIterator
- type SpotMarketOptimismSynthUnwrapped
- type SpotMarketOptimismSynthUnwrappedIterator
- type SpotMarketOptimismSynthWrapped
- type SpotMarketOptimismSynthWrappedIterator
- type SpotMarketOptimismSynthetixSystemSet
- type SpotMarketOptimismSynthetixSystemSetIterator
- type SpotMarketOptimismTransactor
- func (_SpotMarketOptimism *SpotMarketOptimismTransactor) AcceptMarketOwnership(opts *bind.TransactOpts, synthMarketId *big.Int) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismTransactor) AcceptOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismTransactor) AddSettlementStrategy(opts *bind.TransactOpts, marketId *big.Int, strategy SettlementStrategyData) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismTransactor) AddToFeatureFlagAllowlist(opts *bind.TransactOpts, feature [32]byte, account common.Address) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismTransactor) Buy(opts *bind.TransactOpts, marketId *big.Int, usdAmount *big.Int, ...) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismTransactor) BuyExactIn(opts *bind.TransactOpts, marketId *big.Int, usdAmount *big.Int, ...) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismTransactor) BuyExactOut(opts *bind.TransactOpts, marketId *big.Int, synthAmount *big.Int, ...) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismTransactor) CancelOrder(opts *bind.TransactOpts, marketId *big.Int, asyncOrderId *big.Int) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismTransactor) CommitOrder(opts *bind.TransactOpts, marketId *big.Int, orderType uint8, ...) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismTransactor) CreateSynth(opts *bind.TransactOpts, tokenName string, tokenSymbol string, ...) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismTransactor) InitOrUpgradeNft(opts *bind.TransactOpts, id [32]byte, name string, symbol string, uri string, ...) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismTransactor) InitOrUpgradeToken(opts *bind.TransactOpts, id [32]byte, name string, symbol string, ...) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismTransactor) NominateMarketOwner(opts *bind.TransactOpts, synthMarketId *big.Int, ...) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismTransactor) NominateNewOwner(opts *bind.TransactOpts, newNominatedOwner common.Address) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismTransactor) RegisterUnmanagedSystem(opts *bind.TransactOpts, id [32]byte, endpoint common.Address) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismTransactor) RemoveFromFeatureFlagAllowlist(opts *bind.TransactOpts, feature [32]byte, account common.Address) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismTransactor) RenounceMarketNomination(opts *bind.TransactOpts, synthMarketId *big.Int) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismTransactor) RenounceMarketOwnership(opts *bind.TransactOpts, synthMarketId *big.Int) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismTransactor) RenounceNomination(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismTransactor) Sell(opts *bind.TransactOpts, marketId *big.Int, synthAmount *big.Int, ...) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismTransactor) SellExactIn(opts *bind.TransactOpts, marketId *big.Int, synthAmount *big.Int, ...) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismTransactor) SellExactOut(opts *bind.TransactOpts, marketId *big.Int, usdAmount *big.Int, ...) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismTransactor) SetAsyncFixedFee(opts *bind.TransactOpts, synthMarketId *big.Int, asyncFixedFee *big.Int) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismTransactor) SetAtomicFixedFee(opts *bind.TransactOpts, synthMarketId *big.Int, atomicFixedFee *big.Int) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismTransactor) SetCollateralLeverage(opts *bind.TransactOpts, synthMarketId *big.Int, collateralLeverage *big.Int) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismTransactor) SetCustomTransactorFees(opts *bind.TransactOpts, synthMarketId *big.Int, transactor common.Address, ...) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismTransactor) SetDecayRate(opts *bind.TransactOpts, marketId *big.Int, rate *big.Int) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismTransactor) SetDeniers(opts *bind.TransactOpts, feature [32]byte, deniers []common.Address) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismTransactor) SetFeatureFlagAllowAll(opts *bind.TransactOpts, feature [32]byte, allowAll bool) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismTransactor) SetFeatureFlagDenyAll(opts *bind.TransactOpts, feature [32]byte, denyAll bool) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismTransactor) SetFeeCollector(opts *bind.TransactOpts, synthMarketId *big.Int, feeCollector common.Address) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismTransactor) SetMarketSkewScale(opts *bind.TransactOpts, synthMarketId *big.Int, skewScale *big.Int) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismTransactor) SetMarketUtilizationFees(opts *bind.TransactOpts, synthMarketId *big.Int, utilizationFeeRate *big.Int) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismTransactor) SetSettlementStrategyEnabled(opts *bind.TransactOpts, marketId *big.Int, strategyId *big.Int, enabled bool) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismTransactor) SetSynthImplementation(opts *bind.TransactOpts, synthImplementation common.Address) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismTransactor) SetSynthetix(opts *bind.TransactOpts, synthetix common.Address) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismTransactor) SetWrapper(opts *bind.TransactOpts, marketId *big.Int, wrapCollateralType common.Address, ...) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismTransactor) SetWrapperFees(opts *bind.TransactOpts, synthMarketId *big.Int, wrapFee *big.Int, ...) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismTransactor) SettleOrder(opts *bind.TransactOpts, marketId *big.Int, asyncOrderId *big.Int) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismTransactor) SettlePythOrder(opts *bind.TransactOpts, result []byte, extraData []byte) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismTransactor) SimulateUpgradeTo(opts *bind.TransactOpts, newImplementation common.Address) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismTransactor) Unwrap(opts *bind.TransactOpts, marketId *big.Int, unwrapAmount *big.Int, ...) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismTransactor) UpdatePriceData(opts *bind.TransactOpts, synthMarketId *big.Int, buyFeedId [32]byte, ...) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismTransactor) UpdateReferrerShare(opts *bind.TransactOpts, synthMarketId *big.Int, referrer common.Address, ...) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismTransactor) UpgradeSynthImpl(opts *bind.TransactOpts, marketId *big.Int) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismTransactor) UpgradeTo(opts *bind.TransactOpts, newImplementation common.Address) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismTransactor) Wrap(opts *bind.TransactOpts, marketId *big.Int, wrapAmount *big.Int, ...) (*types.Transaction, error)
- type SpotMarketOptimismTransactorFixedFeeSet
- type SpotMarketOptimismTransactorFixedFeeSetIterator
- type SpotMarketOptimismTransactorRaw
- type SpotMarketOptimismTransactorSession
- func (_SpotMarketOptimism *SpotMarketOptimismTransactorSession) AcceptMarketOwnership(synthMarketId *big.Int) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismTransactorSession) AcceptOwnership() (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismTransactorSession) AddSettlementStrategy(marketId *big.Int, strategy SettlementStrategyData) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismTransactorSession) AddToFeatureFlagAllowlist(feature [32]byte, account common.Address) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismTransactorSession) Buy(marketId *big.Int, usdAmount *big.Int, minAmountReceived *big.Int, ...) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismTransactorSession) BuyExactIn(marketId *big.Int, usdAmount *big.Int, minAmountReceived *big.Int, ...) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismTransactorSession) BuyExactOut(marketId *big.Int, synthAmount *big.Int, maxUsdAmount *big.Int, ...) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismTransactorSession) CancelOrder(marketId *big.Int, asyncOrderId *big.Int) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismTransactorSession) CommitOrder(marketId *big.Int, orderType uint8, amountProvided *big.Int, ...) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismTransactorSession) CreateSynth(tokenName string, tokenSymbol string, synthOwner common.Address) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismTransactorSession) InitOrUpgradeNft(id [32]byte, name string, symbol string, uri string, impl common.Address) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismTransactorSession) InitOrUpgradeToken(id [32]byte, name string, symbol string, decimals uint8, impl common.Address) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismTransactorSession) NominateMarketOwner(synthMarketId *big.Int, newNominatedOwner common.Address) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismTransactorSession) NominateNewOwner(newNominatedOwner common.Address) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismTransactorSession) RegisterUnmanagedSystem(id [32]byte, endpoint common.Address) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismTransactorSession) RemoveFromFeatureFlagAllowlist(feature [32]byte, account common.Address) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismTransactorSession) RenounceMarketNomination(synthMarketId *big.Int) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismTransactorSession) RenounceMarketOwnership(synthMarketId *big.Int) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismTransactorSession) RenounceNomination() (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismTransactorSession) Sell(marketId *big.Int, synthAmount *big.Int, minUsdAmount *big.Int, ...) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismTransactorSession) SellExactIn(marketId *big.Int, synthAmount *big.Int, minAmountReceived *big.Int, ...) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismTransactorSession) SellExactOut(marketId *big.Int, usdAmount *big.Int, maxSynthAmount *big.Int, ...) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismTransactorSession) SetAsyncFixedFee(synthMarketId *big.Int, asyncFixedFee *big.Int) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismTransactorSession) SetAtomicFixedFee(synthMarketId *big.Int, atomicFixedFee *big.Int) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismTransactorSession) SetCollateralLeverage(synthMarketId *big.Int, collateralLeverage *big.Int) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismTransactorSession) SetCustomTransactorFees(synthMarketId *big.Int, transactor common.Address, fixedFeeAmount *big.Int) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismTransactorSession) SetDecayRate(marketId *big.Int, rate *big.Int) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismTransactorSession) SetDeniers(feature [32]byte, deniers []common.Address) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismTransactorSession) SetFeatureFlagAllowAll(feature [32]byte, allowAll bool) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismTransactorSession) SetFeatureFlagDenyAll(feature [32]byte, denyAll bool) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismTransactorSession) SetFeeCollector(synthMarketId *big.Int, feeCollector common.Address) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismTransactorSession) SetMarketSkewScale(synthMarketId *big.Int, skewScale *big.Int) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismTransactorSession) SetMarketUtilizationFees(synthMarketId *big.Int, utilizationFeeRate *big.Int) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismTransactorSession) SetSettlementStrategyEnabled(marketId *big.Int, strategyId *big.Int, enabled bool) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismTransactorSession) SetSynthImplementation(synthImplementation common.Address) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismTransactorSession) SetSynthetix(synthetix common.Address) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismTransactorSession) SetWrapper(marketId *big.Int, wrapCollateralType common.Address, ...) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismTransactorSession) SetWrapperFees(synthMarketId *big.Int, wrapFee *big.Int, unwrapFee *big.Int) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismTransactorSession) SettleOrder(marketId *big.Int, asyncOrderId *big.Int) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismTransactorSession) SettlePythOrder(result []byte, extraData []byte) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismTransactorSession) SimulateUpgradeTo(newImplementation common.Address) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismTransactorSession) Unwrap(marketId *big.Int, unwrapAmount *big.Int, minAmountReceived *big.Int) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismTransactorSession) UpdatePriceData(synthMarketId *big.Int, buyFeedId [32]byte, sellFeedId [32]byte) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismTransactorSession) UpdateReferrerShare(synthMarketId *big.Int, referrer common.Address, sharePercentage *big.Int) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismTransactorSession) UpgradeSynthImpl(marketId *big.Int) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismTransactorSession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error)
- func (_SpotMarketOptimism *SpotMarketOptimismTransactorSession) Wrap(marketId *big.Int, wrapAmount *big.Int, minAmountReceived *big.Int) (*types.Transaction, error)
- type SpotMarketOptimismUpgraded
- type SpotMarketOptimismUpgradedIterator
- type SpotMarketOptimismWrapperFeesSet
- type SpotMarketOptimismWrapperFeesSetIterator
- type SpotMarketOptimismWrapperSet
- type SpotMarketOptimismWrapperSetIterator
Constants ¶
This section is empty.
Variables ¶
var SpotMarketOptimismABI = SpotMarketOptimismMetaData.ABI
SpotMarketOptimismABI is the input ABI used to generate the binding from. Deprecated: Use SpotMarketOptimismMetaData.ABI instead.
var SpotMarketOptimismMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"implementation\",\"type\":\"address\"}],\"name\":\"ImplementationIsSterile\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NoChange\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"contr\",\"type\":\"address\"}],\"name\":\"NotAContract\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"}],\"name\":\"NotNominated\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"}],\"name\":\"Unauthorized\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"UpgradeSimulationFailed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ZeroAddress\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"oldOwner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnerChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnerNominated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"self\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"implementation\",\"type\":\"address\"}],\"name\":\"Upgraded\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"acceptOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getImplementation\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newNominatedOwner\",\"type\":\"address\"}],\"name\":\"nominateNewOwner\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"nominatedOwner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceNomination\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newImplementation\",\"type\":\"address\"}],\"name\":\"simulateUpgradeTo\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newImplementation\",\"type\":\"address\"}],\"name\":\"upgradeTo\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"which\",\"type\":\"bytes32\"}],\"name\":\"FeatureUnavailable\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidMarketOwner\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"synthImplementation\",\"type\":\"uint256\"}],\"name\":\"InvalidSynthImplementation\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"expected\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"actual\",\"type\":\"bytes32\"}],\"name\":\"MismatchAssociatedSystemKind\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"id\",\"type\":\"bytes32\"}],\"name\":\"MissingAssociatedSystem\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"marketOwner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"OnlyMarketOwner\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OverflowInt256ToUint256\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"kind\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"id\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"proxy\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"impl\",\"type\":\"address\"}],\"name\":\"AssociatedSystemSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"rate\",\"type\":\"uint256\"}],\"name\":\"DecayRateUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"nominee\",\"type\":\"address\"}],\"name\":\"MarketNominationRenounced\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"oldOwner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"MarketOwnerChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"MarketOwnerNominated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"synthImplementation\",\"type\":\"address\"}],\"name\":\"SynthImplementationSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"synthMarketId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"proxy\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"implementation\",\"type\":\"address\"}],\"name\":\"SynthImplementationUpgraded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"synthMarketId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"buyFeedId\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"sellFeedId\",\"type\":\"bytes32\"}],\"name\":\"SynthPriceDataUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"synthMarketId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"synthTokenAddress\",\"type\":\"address\"}],\"name\":\"SynthRegistered\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"synthetix\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"usdTokenAddress\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"oracleManager\",\"type\":\"address\"}],\"name\":\"SynthetixSystemSet\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"synthMarketId\",\"type\":\"uint128\"}],\"name\":\"acceptMarketOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"tokenName\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"tokenSymbol\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"synthOwner\",\"type\":\"address\"}],\"name\":\"createSynth\",\"outputs\":[{\"internalType\":\"uint128\",\"name\":\"synthMarketId\",\"type\":\"uint128\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"id\",\"type\":\"bytes32\"}],\"name\":\"getAssociatedSystem\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"kind\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"synthMarketId\",\"type\":\"uint128\"}],\"name\":\"getMarketOwner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"marketOwner\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"}],\"name\":\"getSynth\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"synthAddress\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"}],\"name\":\"getSynthImpl\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"implAddress\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"id\",\"type\":\"bytes32\"},{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"symbol\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"uri\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"impl\",\"type\":\"address\"}],\"name\":\"initOrUpgradeNft\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"id\",\"type\":\"bytes32\"},{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"symbol\",\"type\":\"string\"},{\"internalType\":\"uint8\",\"name\":\"decimals\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"impl\",\"type\":\"address\"}],\"name\":\"initOrUpgradeToken\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"}],\"name\":\"minimumCredit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"lockedAmount\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"}],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"marketName\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"synthMarketId\",\"type\":\"uint128\"},{\"internalType\":\"address\",\"name\":\"newNominatedOwner\",\"type\":\"address\"}],\"name\":\"nominateMarketOwner\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"id\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"endpoint\",\"type\":\"address\"}],\"name\":\"registerUnmanagedSystem\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"synthMarketId\",\"type\":\"uint128\"}],\"name\":\"renounceMarketNomination\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"synthMarketId\",\"type\":\"uint128\"}],\"name\":\"renounceMarketOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"}],\"name\":\"reportedDebt\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"reportedDebtAmount\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"},{\"internalType\":\"uint256\",\"name\":\"rate\",\"type\":\"uint256\"}],\"name\":\"setDecayRate\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"synthImplementation\",\"type\":\"address\"}],\"name\":\"setSynthImplementation\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractISynthetixSystem\",\"name\":\"synthetix\",\"type\":\"address\"}],\"name\":\"setSynthetix\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"isSupported\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"synthMarketId\",\"type\":\"uint128\"},{\"internalType\":\"bytes32\",\"name\":\"buyFeedId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"sellFeedId\",\"type\":\"bytes32\"}],\"name\":\"updatePriceData\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"}],\"name\":\"upgradeSynthImpl\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"maxSynthAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"synthAmountCharged\",\"type\":\"uint256\"}],\"name\":\"ExceedsMaxSynthAmount\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"maxUsdAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"usdAmountCharged\",\"type\":\"uint256\"}],\"name\":\"ExceedsMaxUsdAmount\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"expected\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"current\",\"type\":\"uint256\"}],\"name\":\"InsufficientAmountReceived\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"}],\"name\":\"InvalidMarket\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidPrices\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OverflowUint256ToInt256\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"synthMarketId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"synthReturned\",\"type\":\"uint256\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"fixedFees\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"utilizationFees\",\"type\":\"uint256\"},{\"internalType\":\"int256\",\"name\":\"skewFees\",\"type\":\"int256\"},{\"internalType\":\"int256\",\"name\":\"wrapperFees\",\"type\":\"int256\"}],\"indexed\":false,\"internalType\":\"structOrderFees.Data\",\"name\":\"fees\",\"type\":\"tuple\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"collectedFees\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"referrer\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"price\",\"type\":\"uint256\"}],\"name\":\"SynthBought\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"synthMarketId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amountReturned\",\"type\":\"uint256\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"fixedFees\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"utilizationFees\",\"type\":\"uint256\"},{\"internalType\":\"int256\",\"name\":\"skewFees\",\"type\":\"int256\"},{\"internalType\":\"int256\",\"name\":\"wrapperFees\",\"type\":\"int256\"}],\"indexed\":false,\"internalType\":\"structOrderFees.Data\",\"name\":\"fees\",\"type\":\"tuple\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"collectedFees\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"referrer\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"price\",\"type\":\"uint256\"}],\"name\":\"SynthSold\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"},{\"internalType\":\"uint256\",\"name\":\"usdAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"minAmountReceived\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"referrer\",\"type\":\"address\"}],\"name\":\"buy\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"synthAmount\",\"type\":\"uint256\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"fixedFees\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"utilizationFees\",\"type\":\"uint256\"},{\"internalType\":\"int256\",\"name\":\"skewFees\",\"type\":\"int256\"},{\"internalType\":\"int256\",\"name\":\"wrapperFees\",\"type\":\"int256\"}],\"internalType\":\"structOrderFees.Data\",\"name\":\"fees\",\"type\":\"tuple\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"},{\"internalType\":\"uint256\",\"name\":\"usdAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"minAmountReceived\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"referrer\",\"type\":\"address\"}],\"name\":\"buyExactIn\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"synthAmount\",\"type\":\"uint256\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"fixedFees\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"utilizationFees\",\"type\":\"uint256\"},{\"internalType\":\"int256\",\"name\":\"skewFees\",\"type\":\"int256\"},{\"internalType\":\"int256\",\"name\":\"wrapperFees\",\"type\":\"int256\"}],\"internalType\":\"structOrderFees.Data\",\"name\":\"fees\",\"type\":\"tuple\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"},{\"internalType\":\"uint256\",\"name\":\"synthAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"maxUsdAmount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"referrer\",\"type\":\"address\"}],\"name\":\"buyExactOut\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"usdAmountCharged\",\"type\":\"uint256\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"fixedFees\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"utilizationFees\",\"type\":\"uint256\"},{\"internalType\":\"int256\",\"name\":\"skewFees\",\"type\":\"int256\"},{\"internalType\":\"int256\",\"name\":\"wrapperFees\",\"type\":\"int256\"}],\"internalType\":\"structOrderFees.Data\",\"name\":\"fees\",\"type\":\"tuple\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"},{\"internalType\":\"uint256\",\"name\":\"usdAmount\",\"type\":\"uint256\"}],\"name\":\"quoteBuyExactIn\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"synthAmount\",\"type\":\"uint256\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"fixedFees\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"utilizationFees\",\"type\":\"uint256\"},{\"internalType\":\"int256\",\"name\":\"skewFees\",\"type\":\"int256\"},{\"internalType\":\"int256\",\"name\":\"wrapperFees\",\"type\":\"int256\"}],\"internalType\":\"structOrderFees.Data\",\"name\":\"fees\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"},{\"internalType\":\"uint256\",\"name\":\"synthAmount\",\"type\":\"uint256\"}],\"name\":\"quoteBuyExactOut\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"usdAmountCharged\",\"type\":\"uint256\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"fixedFees\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"utilizationFees\",\"type\":\"uint256\"},{\"internalType\":\"int256\",\"name\":\"skewFees\",\"type\":\"int256\"},{\"internalType\":\"int256\",\"name\":\"wrapperFees\",\"type\":\"int256\"}],\"internalType\":\"structOrderFees.Data\",\"name\":\"fees\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"},{\"internalType\":\"uint256\",\"name\":\"synthAmount\",\"type\":\"uint256\"}],\"name\":\"quoteSellExactIn\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"returnAmount\",\"type\":\"uint256\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"fixedFees\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"utilizationFees\",\"type\":\"uint256\"},{\"internalType\":\"int256\",\"name\":\"skewFees\",\"type\":\"int256\"},{\"internalType\":\"int256\",\"name\":\"wrapperFees\",\"type\":\"int256\"}],\"internalType\":\"structOrderFees.Data\",\"name\":\"fees\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"},{\"internalType\":\"uint256\",\"name\":\"usdAmount\",\"type\":\"uint256\"}],\"name\":\"quoteSellExactOut\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"synthToBurn\",\"type\":\"uint256\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"fixedFees\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"utilizationFees\",\"type\":\"uint256\"},{\"internalType\":\"int256\",\"name\":\"skewFees\",\"type\":\"int256\"},{\"internalType\":\"int256\",\"name\":\"wrapperFees\",\"type\":\"int256\"}],\"internalType\":\"structOrderFees.Data\",\"name\":\"fees\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"},{\"internalType\":\"uint256\",\"name\":\"synthAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"minUsdAmount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"referrer\",\"type\":\"address\"}],\"name\":\"sell\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"usdAmountReceived\",\"type\":\"uint256\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"fixedFees\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"utilizationFees\",\"type\":\"uint256\"},{\"internalType\":\"int256\",\"name\":\"skewFees\",\"type\":\"int256\"},{\"internalType\":\"int256\",\"name\":\"wrapperFees\",\"type\":\"int256\"}],\"internalType\":\"structOrderFees.Data\",\"name\":\"fees\",\"type\":\"tuple\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"},{\"internalType\":\"uint256\",\"name\":\"synthAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"minAmountReceived\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"referrer\",\"type\":\"address\"}],\"name\":\"sellExactIn\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"returnAmount\",\"type\":\"uint256\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"fixedFees\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"utilizationFees\",\"type\":\"uint256\"},{\"internalType\":\"int256\",\"name\":\"skewFees\",\"type\":\"int256\"},{\"internalType\":\"int256\",\"name\":\"wrapperFees\",\"type\":\"int256\"}],\"internalType\":\"structOrderFees.Data\",\"name\":\"fees\",\"type\":\"tuple\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"},{\"internalType\":\"uint256\",\"name\":\"usdAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"maxSynthAmount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"referrer\",\"type\":\"address\"}],\"name\":\"sellExactOut\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"synthToBurn\",\"type\":\"uint256\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"fixedFees\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"utilizationFees\",\"type\":\"uint256\"},{\"internalType\":\"int256\",\"name\":\"skewFees\",\"type\":\"int256\"},{\"internalType\":\"int256\",\"name\":\"wrapperFees\",\"type\":\"int256\"}],\"internalType\":\"structOrderFees.Data\",\"name\":\"fees\",\"type\":\"tuple\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"timestamp\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"expirationTime\",\"type\":\"uint256\"}],\"name\":\"IneligibleForCancellation\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"expected\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"actual\",\"type\":\"uint256\"}],\"name\":\"InsufficientSharesAmount\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"enumTransaction.Type\",\"name\":\"transactionType\",\"type\":\"uint8\"}],\"name\":\"InvalidAsyncTransactionType\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"asyncOrderId\",\"type\":\"uint256\"}],\"name\":\"InvalidClaim\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"minimumAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"InvalidCommitmentAmount\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"settlementStrategyId\",\"type\":\"uint256\"}],\"name\":\"InvalidSettlementStrategy\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"asyncOrderId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"settledAt\",\"type\":\"uint256\"}],\"name\":\"OrderAlreadySettled\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"},{\"indexed\":true,\"internalType\":\"uint128\",\"name\":\"asyncOrderId\",\"type\":\"uint128\"},{\"components\":[{\"internalType\":\"uint128\",\"name\":\"id\",\"type\":\"uint128\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"enumTransaction.Type\",\"name\":\"orderType\",\"type\":\"uint8\"},{\"internalType\":\"uint256\",\"name\":\"amountEscrowed\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"settlementStrategyId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"settlementTime\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"minimumSettlementAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"settledAt\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"referrer\",\"type\":\"address\"}],\"indexed\":false,\"internalType\":\"structAsyncOrderClaim.Data\",\"name\":\"asyncOrderClaim\",\"type\":\"tuple\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"OrderCancelled\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"},{\"indexed\":true,\"internalType\":\"enumTransaction.Type\",\"name\":\"orderType\",\"type\":\"uint8\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amountProvided\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint128\",\"name\":\"asyncOrderId\",\"type\":\"uint128\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"referrer\",\"type\":\"address\"}],\"name\":\"OrderCommitted\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"asyncOrderId\",\"type\":\"uint128\"}],\"name\":\"cancelOrder\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"},{\"internalType\":\"enumTransaction.Type\",\"name\":\"orderType\",\"type\":\"uint8\"},{\"internalType\":\"uint256\",\"name\":\"amountProvided\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"settlementStrategyId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"minimumSettlementAmount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"referrer\",\"type\":\"address\"}],\"name\":\"commitOrder\",\"outputs\":[{\"components\":[{\"internalType\":\"uint128\",\"name\":\"id\",\"type\":\"uint128\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"enumTransaction.Type\",\"name\":\"orderType\",\"type\":\"uint8\"},{\"internalType\":\"uint256\",\"name\":\"amountEscrowed\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"settlementStrategyId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"settlementTime\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"minimumSettlementAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"settledAt\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"referrer\",\"type\":\"address\"}],\"internalType\":\"structAsyncOrderClaim.Data\",\"name\":\"asyncOrderClaim\",\"type\":\"tuple\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"asyncOrderId\",\"type\":\"uint128\"}],\"name\":\"getAsyncOrderClaim\",\"outputs\":[{\"components\":[{\"internalType\":\"uint128\",\"name\":\"id\",\"type\":\"uint128\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"enumTransaction.Type\",\"name\":\"orderType\",\"type\":\"uint8\"},{\"internalType\":\"uint256\",\"name\":\"amountEscrowed\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"settlementStrategyId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"settlementTime\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"minimumSettlementAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"settledAt\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"referrer\",\"type\":\"address\"}],\"internalType\":\"structAsyncOrderClaim.Data\",\"name\":\"asyncOrderClaim\",\"type\":\"tuple\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"enumSettlementStrategy.Type\",\"name\":\"strategyType\",\"type\":\"uint8\"}],\"name\":\"InvalidSettlementStrategy\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidVerificationResponse\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"minimum\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"actual\",\"type\":\"uint256\"}],\"name\":\"MinimumSettlementAmountNotMet\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"string[]\",\"name\":\"urls\",\"type\":\"string[]\"},{\"internalType\":\"bytes\",\"name\":\"callData\",\"type\":\"bytes\"},{\"internalType\":\"bytes4\",\"name\":\"callbackFunction\",\"type\":\"bytes4\"},{\"internalType\":\"bytes\",\"name\":\"extraData\",\"type\":\"bytes\"}],\"name\":\"OffchainLookup\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"timestamp\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"startTime\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"expirationTime\",\"type\":\"uint256\"}],\"name\":\"OutsideSettlementWindow\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OverflowUint256ToUint64\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"deviation\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"tolerance\",\"type\":\"uint256\"}],\"name\":\"PriceDeviationToleranceExceeded\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"enumSettlementStrategy.Type\",\"name\":\"strategyType\",\"type\":\"uint8\"}],\"name\":\"SettlementStrategyNotFound\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"},{\"indexed\":true,\"internalType\":\"uint128\",\"name\":\"asyncOrderId\",\"type\":\"uint128\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"finalOrderAmount\",\"type\":\"uint256\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"fixedFees\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"utilizationFees\",\"type\":\"uint256\"},{\"internalType\":\"int256\",\"name\":\"skewFees\",\"type\":\"int256\"},{\"internalType\":\"int256\",\"name\":\"wrapperFees\",\"type\":\"int256\"}],\"indexed\":false,\"internalType\":\"structOrderFees.Data\",\"name\":\"fees\",\"type\":\"tuple\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"collectedFees\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"settler\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"price\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"enumTransaction.Type\",\"name\":\"orderType\",\"type\":\"uint8\"}],\"name\":\"OrderSettled\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"PRECISION\",\"outputs\":[{\"internalType\":\"int256\",\"name\":\"\",\"type\":\"int256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"asyncOrderId\",\"type\":\"uint128\"}],\"name\":\"settleOrder\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"finalOrderAmount\",\"type\":\"uint256\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"fixedFees\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"utilizationFees\",\"type\":\"uint256\"},{\"internalType\":\"int256\",\"name\":\"skewFees\",\"type\":\"int256\"},{\"internalType\":\"int256\",\"name\":\"wrapperFees\",\"type\":\"int256\"}],\"internalType\":\"structOrderFees.Data\",\"name\":\"fees\",\"type\":\"tuple\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"result\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"extraData\",\"type\":\"bytes\"}],\"name\":\"settlePythOrder\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"finalOrderAmount\",\"type\":\"uint256\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"fixedFees\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"utilizationFees\",\"type\":\"uint256\"},{\"internalType\":\"int256\",\"name\":\"skewFees\",\"type\":\"int256\"},{\"internalType\":\"int256\",\"name\":\"wrapperFees\",\"type\":\"int256\"}],\"internalType\":\"structOrderFees.Data\",\"name\":\"fees\",\"type\":\"tuple\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint128\",\"name\":\"synthMarketId\",\"type\":\"uint128\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"strategyId\",\"type\":\"uint256\"}],\"name\":\"SettlementStrategyAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint128\",\"name\":\"synthMarketId\",\"type\":\"uint128\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"strategyId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"enabled\",\"type\":\"bool\"}],\"name\":\"SettlementStrategyUpdated\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"},{\"components\":[{\"internalType\":\"enumSettlementStrategy.Type\",\"name\":\"strategyType\",\"type\":\"uint8\"},{\"internalType\":\"uint256\",\"name\":\"settlementDelay\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"settlementWindowDuration\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"priceVerificationContract\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"feedId\",\"type\":\"bytes32\"},{\"internalType\":\"string\",\"name\":\"url\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"settlementReward\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"priceDeviationTolerance\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"minimumUsdExchangeAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"maxRoundingLoss\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"disabled\",\"type\":\"bool\"}],\"internalType\":\"structSettlementStrategy.Data\",\"name\":\"strategy\",\"type\":\"tuple\"}],\"name\":\"addSettlementStrategy\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"strategyId\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"},{\"internalType\":\"uint256\",\"name\":\"strategyId\",\"type\":\"uint256\"}],\"name\":\"getSettlementStrategy\",\"outputs\":[{\"components\":[{\"internalType\":\"enumSettlementStrategy.Type\",\"name\":\"strategyType\",\"type\":\"uint8\"},{\"internalType\":\"uint256\",\"name\":\"settlementDelay\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"settlementWindowDuration\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"priceVerificationContract\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"feedId\",\"type\":\"bytes32\"},{\"internalType\":\"string\",\"name\":\"url\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"settlementReward\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"priceDeviationTolerance\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"minimumUsdExchangeAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"maxRoundingLoss\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"disabled\",\"type\":\"bool\"}],\"internalType\":\"structSettlementStrategy.Data\",\"name\":\"settlementStrategy\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"},{\"internalType\":\"uint256\",\"name\":\"strategyId\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"enabled\",\"type\":\"bool\"}],\"name\":\"setSettlementStrategyEnabled\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"FailedTransfer\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"message\",\"type\":\"bytes32\"}],\"name\":\"InvalidCollateralType\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"maxWrappableAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"currentSupply\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountToWrap\",\"type\":\"uint256\"}],\"name\":\"WrapperExceedsMaxAmount\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"synthMarketId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amountUnwrapped\",\"type\":\"uint256\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"fixedFees\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"utilizationFees\",\"type\":\"uint256\"},{\"internalType\":\"int256\",\"name\":\"skewFees\",\"type\":\"int256\"},{\"internalType\":\"int256\",\"name\":\"wrapperFees\",\"type\":\"int256\"}],\"indexed\":false,\"internalType\":\"structOrderFees.Data\",\"name\":\"fees\",\"type\":\"tuple\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"feesCollected\",\"type\":\"uint256\"}],\"name\":\"SynthUnwrapped\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"synthMarketId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amountWrapped\",\"type\":\"uint256\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"fixedFees\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"utilizationFees\",\"type\":\"uint256\"},{\"internalType\":\"int256\",\"name\":\"skewFees\",\"type\":\"int256\"},{\"internalType\":\"int256\",\"name\":\"wrapperFees\",\"type\":\"int256\"}],\"indexed\":false,\"internalType\":\"structOrderFees.Data\",\"name\":\"fees\",\"type\":\"tuple\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"feesCollected\",\"type\":\"uint256\"}],\"name\":\"SynthWrapped\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"synthMarketId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"wrapCollateralType\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"maxWrappableAmount\",\"type\":\"uint256\"}],\"name\":\"WrapperSet\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"},{\"internalType\":\"address\",\"name\":\"wrapCollateralType\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"maxWrappableAmount\",\"type\":\"uint256\"}],\"name\":\"setWrapper\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"},{\"internalType\":\"uint256\",\"name\":\"unwrapAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"minAmountReceived\",\"type\":\"uint256\"}],\"name\":\"unwrap\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"returnCollateralAmount\",\"type\":\"uint256\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"fixedFees\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"utilizationFees\",\"type\":\"uint256\"},{\"internalType\":\"int256\",\"name\":\"skewFees\",\"type\":\"int256\"},{\"internalType\":\"int256\",\"name\":\"wrapperFees\",\"type\":\"int256\"}],\"internalType\":\"structOrderFees.Data\",\"name\":\"fees\",\"type\":\"tuple\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"},{\"internalType\":\"uint256\",\"name\":\"wrapAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"minAmountReceived\",\"type\":\"uint256\"}],\"name\":\"wrap\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amountToMint\",\"type\":\"uint256\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"fixedFees\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"utilizationFees\",\"type\":\"uint256\"},{\"internalType\":\"int256\",\"name\":\"skewFees\",\"type\":\"int256\"},{\"internalType\":\"int256\",\"name\":\"wrapperFees\",\"type\":\"int256\"}],\"internalType\":\"structOrderFees.Data\",\"name\":\"fees\",\"type\":\"tuple\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"InvalidCollateralLeverage\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"invalidFeeCollector\",\"type\":\"address\"}],\"name\":\"InvalidFeeCollectorInterface\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidWrapperFees\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"synthMarketId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"asyncFixedFee\",\"type\":\"uint256\"}],\"name\":\"AsyncFixedFeeSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"synthMarketId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"atomicFixedFee\",\"type\":\"uint256\"}],\"name\":\"AtomicFixedFeeSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"synthMarketId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"collateralLeverage\",\"type\":\"uint256\"}],\"name\":\"CollateralLeverageSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"synthMarketId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"feeCollector\",\"type\":\"address\"}],\"name\":\"FeeCollectorSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"synthMarketId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"skewScale\",\"type\":\"uint256\"}],\"name\":\"MarketSkewScaleSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"synthMarketId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"utilizationFeeRate\",\"type\":\"uint256\"}],\"name\":\"MarketUtilizationFeesSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint128\",\"name\":\"marketId\",\"type\":\"uint128\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"referrer\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"sharePercentage\",\"type\":\"uint256\"}],\"name\":\"ReferrerShareUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"synthMarketId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"transactor\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"fixedFeeAmount\",\"type\":\"uint256\"}],\"name\":\"TransactorFixedFeeSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"synthMarketId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"int256\",\"name\":\"wrapFee\",\"type\":\"int256\"},{\"indexed\":false,\"internalType\":\"int256\",\"name\":\"unwrapFee\",\"type\":\"int256\"}],\"name\":\"WrapperFeesSet\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"synthMarketId\",\"type\":\"uint128\"}],\"name\":\"getCollateralLeverage\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"collateralLeverage\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"synthMarketId\",\"type\":\"uint128\"},{\"internalType\":\"address\",\"name\":\"transactor\",\"type\":\"address\"}],\"name\":\"getCustomTransactorFees\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"fixedFeeAmount\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"synthMarketId\",\"type\":\"uint128\"}],\"name\":\"getFeeCollector\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"feeCollector\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"synthMarketId\",\"type\":\"uint128\"}],\"name\":\"getMarketFees\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"atomicFixedFee\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"asyncFixedFee\",\"type\":\"uint256\"},{\"internalType\":\"int256\",\"name\":\"wrapFee\",\"type\":\"int256\"},{\"internalType\":\"int256\",\"name\":\"unwrapFee\",\"type\":\"int256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"synthMarketId\",\"type\":\"uint128\"}],\"name\":\"getMarketSkewScale\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"skewScale\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"synthMarketId\",\"type\":\"uint128\"}],\"name\":\"getMarketUtilizationFees\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"utilizationFeeRate\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"synthMarketId\",\"type\":\"uint128\"},{\"internalType\":\"address\",\"name\":\"referrer\",\"type\":\"address\"}],\"name\":\"getReferrerShare\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"sharePercentage\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"synthMarketId\",\"type\":\"uint128\"},{\"internalType\":\"uint256\",\"name\":\"asyncFixedFee\",\"type\":\"uint256\"}],\"name\":\"setAsyncFixedFee\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"synthMarketId\",\"type\":\"uint128\"},{\"internalType\":\"uint256\",\"name\":\"atomicFixedFee\",\"type\":\"uint256\"}],\"name\":\"setAtomicFixedFee\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"synthMarketId\",\"type\":\"uint128\"},{\"internalType\":\"uint256\",\"name\":\"collateralLeverage\",\"type\":\"uint256\"}],\"name\":\"setCollateralLeverage\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"synthMarketId\",\"type\":\"uint128\"},{\"internalType\":\"address\",\"name\":\"transactor\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"fixedFeeAmount\",\"type\":\"uint256\"}],\"name\":\"setCustomTransactorFees\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"synthMarketId\",\"type\":\"uint128\"},{\"internalType\":\"address\",\"name\":\"feeCollector\",\"type\":\"address\"}],\"name\":\"setFeeCollector\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"synthMarketId\",\"type\":\"uint128\"},{\"internalType\":\"uint256\",\"name\":\"skewScale\",\"type\":\"uint256\"}],\"name\":\"setMarketSkewScale\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"synthMarketId\",\"type\":\"uint128\"},{\"internalType\":\"uint256\",\"name\":\"utilizationFeeRate\",\"type\":\"uint256\"}],\"name\":\"setMarketUtilizationFees\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"synthMarketId\",\"type\":\"uint128\"},{\"internalType\":\"int256\",\"name\":\"wrapFee\",\"type\":\"int256\"},{\"internalType\":\"int256\",\"name\":\"unwrapFee\",\"type\":\"int256\"}],\"name\":\"setWrapperFees\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint128\",\"name\":\"synthMarketId\",\"type\":\"uint128\"},{\"internalType\":\"address\",\"name\":\"referrer\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"sharePercentage\",\"type\":\"uint256\"}],\"name\":\"updateReferrerShare\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"ValueAlreadyInSet\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ValueNotInSet\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"feature\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"allowAll\",\"type\":\"bool\"}],\"name\":\"FeatureFlagAllowAllSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"feature\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"FeatureFlagAllowlistAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"feature\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"FeatureFlagAllowlistRemoved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"feature\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"address[]\",\"name\":\"deniers\",\"type\":\"address[]\"}],\"name\":\"FeatureFlagDeniersReset\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"feature\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"denyAll\",\"type\":\"bool\"}],\"name\":\"FeatureFlagDenyAllSet\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"feature\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"addToFeatureFlagAllowlist\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"feature\",\"type\":\"bytes32\"}],\"name\":\"getDeniers\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"feature\",\"type\":\"bytes32\"}],\"name\":\"getFeatureFlagAllowAll\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"feature\",\"type\":\"bytes32\"}],\"name\":\"getFeatureFlagAllowlist\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"feature\",\"type\":\"bytes32\"}],\"name\":\"getFeatureFlagDenyAll\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"feature\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"isFeatureAllowed\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"feature\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"removeFromFeatureFlagAllowlist\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"feature\",\"type\":\"bytes32\"},{\"internalType\":\"address[]\",\"name\":\"deniers\",\"type\":\"address[]\"}],\"name\":\"setDeniers\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"feature\",\"type\":\"bytes32\"},{\"internalType\":\"bool\",\"name\":\"allowAll\",\"type\":\"bool\"}],\"name\":\"setFeatureFlagAllowAll\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"feature\",\"type\":\"bytes32\"},{\"internalType\":\"bool\",\"name\":\"denyAll\",\"type\":\"bool\"}],\"name\":\"setFeatureFlagDenyAll\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}
SpotMarketOptimismMetaData contains all meta data concerning the SpotMarketOptimism contract.
Functions ¶
This section is empty.
Types ¶
type AsyncOrderClaimData ¶
type AsyncOrderClaimData struct { Id *big.Int Owner common.Address OrderType uint8 AmountEscrowed *big.Int SettlementStrategyId *big.Int SettlementTime *big.Int MinimumSettlementAmount *big.Int SettledAt *big.Int Referrer common.Address }
AsyncOrderClaimData is an auto generated low-level Go binding around an user-defined struct.
type OrderFeesData ¶
type OrderFeesData struct { FixedFees *big.Int UtilizationFees *big.Int SkewFees *big.Int WrapperFees *big.Int }
OrderFeesData is an auto generated low-level Go binding around an user-defined struct.
type SettlementStrategyData ¶
type SettlementStrategyData struct { StrategyType uint8 SettlementDelay *big.Int SettlementWindowDuration *big.Int PriceVerificationContract common.Address FeedId [32]byte Url string SettlementReward *big.Int PriceDeviationTolerance *big.Int MinimumUsdExchangeAmount *big.Int MaxRoundingLoss *big.Int Disabled bool }
SettlementStrategyData is an auto generated low-level Go binding around an user-defined struct.
type SpotMarketOptimism ¶
type SpotMarketOptimism struct { SpotMarketOptimismCaller // Read-only binding to the contract SpotMarketOptimismTransactor // Write-only binding to the contract SpotMarketOptimismFilterer // Log filterer for contract events }
SpotMarketOptimism is an auto generated Go binding around an Ethereum contract.
func NewSpotMarketOptimism ¶
func NewSpotMarketOptimism(address common.Address, backend bind.ContractBackend) (*SpotMarketOptimism, error)
NewSpotMarketOptimism creates a new instance of SpotMarketOptimism, bound to a specific deployed contract.
type SpotMarketOptimismAssociatedSystemSet ¶
type SpotMarketOptimismAssociatedSystemSet struct { Kind [32]byte Id [32]byte Proxy common.Address Impl common.Address Raw types.Log // Blockchain specific contextual infos }
SpotMarketOptimismAssociatedSystemSet represents a AssociatedSystemSet event raised by the SpotMarketOptimism contract.
type SpotMarketOptimismAssociatedSystemSetIterator ¶
type SpotMarketOptimismAssociatedSystemSetIterator struct { Event *SpotMarketOptimismAssociatedSystemSet // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SpotMarketOptimismAssociatedSystemSetIterator is returned from FilterAssociatedSystemSet and is used to iterate over the raw logs and unpacked data for AssociatedSystemSet events raised by the SpotMarketOptimism contract.
func (*SpotMarketOptimismAssociatedSystemSetIterator) Close ¶
func (it *SpotMarketOptimismAssociatedSystemSetIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SpotMarketOptimismAssociatedSystemSetIterator) Error ¶
func (it *SpotMarketOptimismAssociatedSystemSetIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SpotMarketOptimismAssociatedSystemSetIterator) Next ¶
func (it *SpotMarketOptimismAssociatedSystemSetIterator) 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 SpotMarketOptimismAsyncFixedFeeSet ¶
type SpotMarketOptimismAsyncFixedFeeSet struct { SynthMarketId *big.Int AsyncFixedFee *big.Int Raw types.Log // Blockchain specific contextual infos }
SpotMarketOptimismAsyncFixedFeeSet represents a AsyncFixedFeeSet event raised by the SpotMarketOptimism contract.
type SpotMarketOptimismAsyncFixedFeeSetIterator ¶
type SpotMarketOptimismAsyncFixedFeeSetIterator struct { Event *SpotMarketOptimismAsyncFixedFeeSet // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SpotMarketOptimismAsyncFixedFeeSetIterator is returned from FilterAsyncFixedFeeSet and is used to iterate over the raw logs and unpacked data for AsyncFixedFeeSet events raised by the SpotMarketOptimism contract.
func (*SpotMarketOptimismAsyncFixedFeeSetIterator) Close ¶
func (it *SpotMarketOptimismAsyncFixedFeeSetIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SpotMarketOptimismAsyncFixedFeeSetIterator) Error ¶
func (it *SpotMarketOptimismAsyncFixedFeeSetIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SpotMarketOptimismAsyncFixedFeeSetIterator) Next ¶
func (it *SpotMarketOptimismAsyncFixedFeeSetIterator) 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 SpotMarketOptimismAtomicFixedFeeSet ¶
type SpotMarketOptimismAtomicFixedFeeSet struct { SynthMarketId *big.Int AtomicFixedFee *big.Int Raw types.Log // Blockchain specific contextual infos }
SpotMarketOptimismAtomicFixedFeeSet represents a AtomicFixedFeeSet event raised by the SpotMarketOptimism contract.
type SpotMarketOptimismAtomicFixedFeeSetIterator ¶
type SpotMarketOptimismAtomicFixedFeeSetIterator struct { Event *SpotMarketOptimismAtomicFixedFeeSet // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SpotMarketOptimismAtomicFixedFeeSetIterator is returned from FilterAtomicFixedFeeSet and is used to iterate over the raw logs and unpacked data for AtomicFixedFeeSet events raised by the SpotMarketOptimism contract.
func (*SpotMarketOptimismAtomicFixedFeeSetIterator) Close ¶
func (it *SpotMarketOptimismAtomicFixedFeeSetIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SpotMarketOptimismAtomicFixedFeeSetIterator) Error ¶
func (it *SpotMarketOptimismAtomicFixedFeeSetIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SpotMarketOptimismAtomicFixedFeeSetIterator) Next ¶
func (it *SpotMarketOptimismAtomicFixedFeeSetIterator) 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 SpotMarketOptimismCaller ¶
type SpotMarketOptimismCaller struct {
// contains filtered or unexported fields
}
SpotMarketOptimismCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewSpotMarketOptimismCaller ¶
func NewSpotMarketOptimismCaller(address common.Address, caller bind.ContractCaller) (*SpotMarketOptimismCaller, error)
NewSpotMarketOptimismCaller creates a new read-only instance of SpotMarketOptimism, bound to a specific deployed contract.
func (*SpotMarketOptimismCaller) GetAssociatedSystem ¶
func (_SpotMarketOptimism *SpotMarketOptimismCaller) GetAssociatedSystem(opts *bind.CallOpts, id [32]byte) (struct { Addr common.Address Kind [32]byte }, error)
GetAssociatedSystem is a free data retrieval call binding the contract method 0x60988e09.
Solidity: function getAssociatedSystem(bytes32 id) view returns(address addr, bytes32 kind)
func (*SpotMarketOptimismCaller) GetAsyncOrderClaim ¶
func (_SpotMarketOptimism *SpotMarketOptimismCaller) GetAsyncOrderClaim(opts *bind.CallOpts, marketId *big.Int, asyncOrderId *big.Int) (AsyncOrderClaimData, error)
GetAsyncOrderClaim is a free data retrieval call binding the contract method 0x5381ce16.
Solidity: function getAsyncOrderClaim(uint128 marketId, uint128 asyncOrderId) pure returns((uint128,address,uint8,uint256,uint256,uint256,uint256,uint256,address) asyncOrderClaim)
func (*SpotMarketOptimismCaller) GetCollateralLeverage ¶
func (_SpotMarketOptimism *SpotMarketOptimismCaller) GetCollateralLeverage(opts *bind.CallOpts, synthMarketId *big.Int) (*big.Int, error)
GetCollateralLeverage is a free data retrieval call binding the contract method 0xcdfaef0f.
Solidity: function getCollateralLeverage(uint128 synthMarketId) view returns(uint256 collateralLeverage)
func (*SpotMarketOptimismCaller) GetCustomTransactorFees ¶
func (_SpotMarketOptimism *SpotMarketOptimismCaller) GetCustomTransactorFees(opts *bind.CallOpts, synthMarketId *big.Int, transactor common.Address) (*big.Int, error)
GetCustomTransactorFees is a free data retrieval call binding the contract method 0x2efaa971.
Solidity: function getCustomTransactorFees(uint128 synthMarketId, address transactor) view returns(uint256 fixedFeeAmount)
func (*SpotMarketOptimismCaller) GetDeniers ¶
func (_SpotMarketOptimism *SpotMarketOptimismCaller) GetDeniers(opts *bind.CallOpts, feature [32]byte) ([]common.Address, error)
GetDeniers is a free data retrieval call binding the contract method 0xed429cf7.
Solidity: function getDeniers(bytes32 feature) view returns(address[])
func (*SpotMarketOptimismCaller) GetFeatureFlagAllowAll ¶
func (_SpotMarketOptimism *SpotMarketOptimismCaller) GetFeatureFlagAllowAll(opts *bind.CallOpts, feature [32]byte) (bool, error)
GetFeatureFlagAllowAll is a free data retrieval call binding the contract method 0x40a399ef.
Solidity: function getFeatureFlagAllowAll(bytes32 feature) view returns(bool)
func (*SpotMarketOptimismCaller) GetFeatureFlagAllowlist ¶
func (_SpotMarketOptimism *SpotMarketOptimismCaller) GetFeatureFlagAllowlist(opts *bind.CallOpts, feature [32]byte) ([]common.Address, error)
GetFeatureFlagAllowlist is a free data retrieval call binding the contract method 0xe12c8160.
Solidity: function getFeatureFlagAllowlist(bytes32 feature) view returns(address[])
func (*SpotMarketOptimismCaller) GetFeatureFlagDenyAll ¶
func (_SpotMarketOptimism *SpotMarketOptimismCaller) GetFeatureFlagDenyAll(opts *bind.CallOpts, feature [32]byte) (bool, error)
GetFeatureFlagDenyAll is a free data retrieval call binding the contract method 0xbcae3ea0.
Solidity: function getFeatureFlagDenyAll(bytes32 feature) view returns(bool)
func (*SpotMarketOptimismCaller) GetFeeCollector ¶
func (_SpotMarketOptimism *SpotMarketOptimismCaller) GetFeeCollector(opts *bind.CallOpts, synthMarketId *big.Int) (common.Address, error)
GetFeeCollector is a free data retrieval call binding the contract method 0x5497eb23.
Solidity: function getFeeCollector(uint128 synthMarketId) view returns(address feeCollector)
func (*SpotMarketOptimismCaller) GetImplementation ¶
func (_SpotMarketOptimism *SpotMarketOptimismCaller) GetImplementation(opts *bind.CallOpts) (common.Address, error)
GetImplementation is a free data retrieval call binding the contract method 0xaaf10f42.
Solidity: function getImplementation() view returns(address)
func (*SpotMarketOptimismCaller) GetMarketFees ¶
func (_SpotMarketOptimism *SpotMarketOptimismCaller) GetMarketFees(opts *bind.CallOpts, synthMarketId *big.Int) (struct { AtomicFixedFee *big.Int AsyncFixedFee *big.Int WrapFee *big.Int UnwrapFee *big.Int }, error)
GetMarketFees is a free data retrieval call binding the contract method 0x32598e61.
Solidity: function getMarketFees(uint128 synthMarketId) view returns(uint256 atomicFixedFee, uint256 asyncFixedFee, int256 wrapFee, int256 unwrapFee)
func (*SpotMarketOptimismCaller) GetMarketOwner ¶
func (_SpotMarketOptimism *SpotMarketOptimismCaller) GetMarketOwner(opts *bind.CallOpts, synthMarketId *big.Int) (common.Address, error)
GetMarketOwner is a free data retrieval call binding the contract method 0xa7b8cb9f.
Solidity: function getMarketOwner(uint128 synthMarketId) view returns(address marketOwner)
func (*SpotMarketOptimismCaller) GetMarketSkewScale ¶
func (_SpotMarketOptimism *SpotMarketOptimismCaller) GetMarketSkewScale(opts *bind.CallOpts, synthMarketId *big.Int) (*big.Int, error)
GetMarketSkewScale is a free data retrieval call binding the contract method 0x8d105571.
Solidity: function getMarketSkewScale(uint128 synthMarketId) view returns(uint256 skewScale)
func (*SpotMarketOptimismCaller) GetMarketUtilizationFees ¶
func (_SpotMarketOptimism *SpotMarketOptimismCaller) GetMarketUtilizationFees(opts *bind.CallOpts, synthMarketId *big.Int) (*big.Int, error)
GetMarketUtilizationFees is a free data retrieval call binding the contract method 0xf375f324.
Solidity: function getMarketUtilizationFees(uint128 synthMarketId) view returns(uint256 utilizationFeeRate)
func (*SpotMarketOptimismCaller) GetReferrerShare ¶
func (_SpotMarketOptimism *SpotMarketOptimismCaller) GetReferrerShare(opts *bind.CallOpts, synthMarketId *big.Int, referrer common.Address) (*big.Int, error)
GetReferrerShare is a free data retrieval call binding the contract method 0xfa4b28ed.
Solidity: function getReferrerShare(uint128 synthMarketId, address referrer) view returns(uint256 sharePercentage)
func (*SpotMarketOptimismCaller) GetSettlementStrategy ¶
func (_SpotMarketOptimism *SpotMarketOptimismCaller) GetSettlementStrategy(opts *bind.CallOpts, marketId *big.Int, strategyId *big.Int) (SettlementStrategyData, error)
GetSettlementStrategy is a free data retrieval call binding the contract method 0xf74c377f.
Solidity: function getSettlementStrategy(uint128 marketId, uint256 strategyId) view returns((uint8,uint256,uint256,address,bytes32,string,uint256,uint256,uint256,uint256,bool) settlementStrategy)
func (*SpotMarketOptimismCaller) GetSynth ¶
func (_SpotMarketOptimism *SpotMarketOptimismCaller) GetSynth(opts *bind.CallOpts, marketId *big.Int) (common.Address, error)
GetSynth is a free data retrieval call binding the contract method 0x69e0365f.
Solidity: function getSynth(uint128 marketId) view returns(address synthAddress)
func (*SpotMarketOptimismCaller) GetSynthImpl ¶
func (_SpotMarketOptimism *SpotMarketOptimismCaller) GetSynthImpl(opts *bind.CallOpts, marketId *big.Int) (common.Address, error)
GetSynthImpl is a free data retrieval call binding the contract method 0x3e0c76ca.
Solidity: function getSynthImpl(uint128 marketId) view returns(address implAddress)
func (*SpotMarketOptimismCaller) IsFeatureAllowed ¶
func (_SpotMarketOptimism *SpotMarketOptimismCaller) IsFeatureAllowed(opts *bind.CallOpts, feature [32]byte, account common.Address) (bool, error)
IsFeatureAllowed is a free data retrieval call binding the contract method 0xcf635949.
Solidity: function isFeatureAllowed(bytes32 feature, address account) view returns(bool)
func (*SpotMarketOptimismCaller) MinimumCredit ¶
func (_SpotMarketOptimism *SpotMarketOptimismCaller) MinimumCredit(opts *bind.CallOpts, marketId *big.Int) (*big.Int, error)
MinimumCredit is a free data retrieval call binding the contract method 0xafe79200.
Solidity: function minimumCredit(uint128 marketId) view returns(uint256 lockedAmount)
func (*SpotMarketOptimismCaller) Name ¶
func (_SpotMarketOptimism *SpotMarketOptimismCaller) Name(opts *bind.CallOpts, marketId *big.Int) (string, error)
Name is a free data retrieval call binding the contract method 0xc624440a.
Solidity: function name(uint128 marketId) view returns(string marketName)
func (*SpotMarketOptimismCaller) NominatedOwner ¶
func (_SpotMarketOptimism *SpotMarketOptimismCaller) NominatedOwner(opts *bind.CallOpts) (common.Address, error)
NominatedOwner is a free data retrieval call binding the contract method 0x53a47bb7.
Solidity: function nominatedOwner() view returns(address)
func (*SpotMarketOptimismCaller) Owner ¶
func (_SpotMarketOptimism *SpotMarketOptimismCaller) Owner(opts *bind.CallOpts) (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*SpotMarketOptimismCaller) PRECISION ¶
func (_SpotMarketOptimism *SpotMarketOptimismCaller) PRECISION(opts *bind.CallOpts) (*big.Int, error)
PRECISION is a free data retrieval call binding the contract method 0xaaf5eb68.
Solidity: function PRECISION() view returns(int256)
func (*SpotMarketOptimismCaller) QuoteBuyExactIn ¶
func (_SpotMarketOptimism *SpotMarketOptimismCaller) QuoteBuyExactIn(opts *bind.CallOpts, marketId *big.Int, usdAmount *big.Int) (struct { SynthAmount *big.Int Fees OrderFeesData }, error)
QuoteBuyExactIn is a free data retrieval call binding the contract method 0x6b5e6ae4.
Solidity: function quoteBuyExactIn(uint128 marketId, uint256 usdAmount) view returns(uint256 synthAmount, (uint256,uint256,int256,int256) fees)
func (*SpotMarketOptimismCaller) QuoteBuyExactOut ¶
func (_SpotMarketOptimism *SpotMarketOptimismCaller) QuoteBuyExactOut(opts *bind.CallOpts, marketId *big.Int, synthAmount *big.Int) (struct { UsdAmountCharged *big.Int Fees OrderFeesData }, error)
QuoteBuyExactOut is a free data retrieval call binding the contract method 0x1f3f7640.
Solidity: function quoteBuyExactOut(uint128 marketId, uint256 synthAmount) view returns(uint256 usdAmountCharged, (uint256,uint256,int256,int256) fees)
func (*SpotMarketOptimismCaller) QuoteSellExactIn ¶
func (_SpotMarketOptimism *SpotMarketOptimismCaller) QuoteSellExactIn(opts *bind.CallOpts, marketId *big.Int, synthAmount *big.Int) (struct { ReturnAmount *big.Int Fees OrderFeesData }, error)
QuoteSellExactIn is a free data retrieval call binding the contract method 0xc52d1730.
Solidity: function quoteSellExactIn(uint128 marketId, uint256 synthAmount) view returns(uint256 returnAmount, (uint256,uint256,int256,int256) fees)
func (*SpotMarketOptimismCaller) QuoteSellExactOut ¶
func (_SpotMarketOptimism *SpotMarketOptimismCaller) QuoteSellExactOut(opts *bind.CallOpts, marketId *big.Int, usdAmount *big.Int) (struct { SynthToBurn *big.Int Fees OrderFeesData }, error)
QuoteSellExactOut is a free data retrieval call binding the contract method 0x2c007522.
Solidity: function quoteSellExactOut(uint128 marketId, uint256 usdAmount) view returns(uint256 synthToBurn, (uint256,uint256,int256,int256) fees)
func (*SpotMarketOptimismCaller) ReportedDebt ¶
func (_SpotMarketOptimism *SpotMarketOptimismCaller) ReportedDebt(opts *bind.CallOpts, marketId *big.Int) (*big.Int, error)
ReportedDebt is a free data retrieval call binding the contract method 0xbcec0d0f.
Solidity: function reportedDebt(uint128 marketId) view returns(uint256 reportedDebtAmount)
func (*SpotMarketOptimismCaller) SupportsInterface ¶
func (_SpotMarketOptimism *SpotMarketOptimismCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)
SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.
Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool isSupported)
type SpotMarketOptimismCallerRaw ¶
type SpotMarketOptimismCallerRaw struct {
Contract *SpotMarketOptimismCaller // Generic read-only contract binding to access the raw methods on
}
SpotMarketOptimismCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*SpotMarketOptimismCallerRaw) Call ¶
func (_SpotMarketOptimism *SpotMarketOptimismCallerRaw) 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 SpotMarketOptimismCallerSession ¶
type SpotMarketOptimismCallerSession struct { Contract *SpotMarketOptimismCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
SpotMarketOptimismCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*SpotMarketOptimismCallerSession) GetAssociatedSystem ¶
func (_SpotMarketOptimism *SpotMarketOptimismCallerSession) GetAssociatedSystem(id [32]byte) (struct { Addr common.Address Kind [32]byte }, error)
GetAssociatedSystem is a free data retrieval call binding the contract method 0x60988e09.
Solidity: function getAssociatedSystem(bytes32 id) view returns(address addr, bytes32 kind)
func (*SpotMarketOptimismCallerSession) GetAsyncOrderClaim ¶
func (_SpotMarketOptimism *SpotMarketOptimismCallerSession) GetAsyncOrderClaim(marketId *big.Int, asyncOrderId *big.Int) (AsyncOrderClaimData, error)
GetAsyncOrderClaim is a free data retrieval call binding the contract method 0x5381ce16.
Solidity: function getAsyncOrderClaim(uint128 marketId, uint128 asyncOrderId) pure returns((uint128,address,uint8,uint256,uint256,uint256,uint256,uint256,address) asyncOrderClaim)
func (*SpotMarketOptimismCallerSession) GetCollateralLeverage ¶
func (_SpotMarketOptimism *SpotMarketOptimismCallerSession) GetCollateralLeverage(synthMarketId *big.Int) (*big.Int, error)
GetCollateralLeverage is a free data retrieval call binding the contract method 0xcdfaef0f.
Solidity: function getCollateralLeverage(uint128 synthMarketId) view returns(uint256 collateralLeverage)
func (*SpotMarketOptimismCallerSession) GetCustomTransactorFees ¶
func (_SpotMarketOptimism *SpotMarketOptimismCallerSession) GetCustomTransactorFees(synthMarketId *big.Int, transactor common.Address) (*big.Int, error)
GetCustomTransactorFees is a free data retrieval call binding the contract method 0x2efaa971.
Solidity: function getCustomTransactorFees(uint128 synthMarketId, address transactor) view returns(uint256 fixedFeeAmount)
func (*SpotMarketOptimismCallerSession) GetDeniers ¶
func (_SpotMarketOptimism *SpotMarketOptimismCallerSession) GetDeniers(feature [32]byte) ([]common.Address, error)
GetDeniers is a free data retrieval call binding the contract method 0xed429cf7.
Solidity: function getDeniers(bytes32 feature) view returns(address[])
func (*SpotMarketOptimismCallerSession) GetFeatureFlagAllowAll ¶
func (_SpotMarketOptimism *SpotMarketOptimismCallerSession) GetFeatureFlagAllowAll(feature [32]byte) (bool, error)
GetFeatureFlagAllowAll is a free data retrieval call binding the contract method 0x40a399ef.
Solidity: function getFeatureFlagAllowAll(bytes32 feature) view returns(bool)
func (*SpotMarketOptimismCallerSession) GetFeatureFlagAllowlist ¶
func (_SpotMarketOptimism *SpotMarketOptimismCallerSession) GetFeatureFlagAllowlist(feature [32]byte) ([]common.Address, error)
GetFeatureFlagAllowlist is a free data retrieval call binding the contract method 0xe12c8160.
Solidity: function getFeatureFlagAllowlist(bytes32 feature) view returns(address[])
func (*SpotMarketOptimismCallerSession) GetFeatureFlagDenyAll ¶
func (_SpotMarketOptimism *SpotMarketOptimismCallerSession) GetFeatureFlagDenyAll(feature [32]byte) (bool, error)
GetFeatureFlagDenyAll is a free data retrieval call binding the contract method 0xbcae3ea0.
Solidity: function getFeatureFlagDenyAll(bytes32 feature) view returns(bool)
func (*SpotMarketOptimismCallerSession) GetFeeCollector ¶
func (_SpotMarketOptimism *SpotMarketOptimismCallerSession) GetFeeCollector(synthMarketId *big.Int) (common.Address, error)
GetFeeCollector is a free data retrieval call binding the contract method 0x5497eb23.
Solidity: function getFeeCollector(uint128 synthMarketId) view returns(address feeCollector)
func (*SpotMarketOptimismCallerSession) GetImplementation ¶
func (_SpotMarketOptimism *SpotMarketOptimismCallerSession) GetImplementation() (common.Address, error)
GetImplementation is a free data retrieval call binding the contract method 0xaaf10f42.
Solidity: function getImplementation() view returns(address)
func (*SpotMarketOptimismCallerSession) GetMarketFees ¶
func (_SpotMarketOptimism *SpotMarketOptimismCallerSession) GetMarketFees(synthMarketId *big.Int) (struct { AtomicFixedFee *big.Int AsyncFixedFee *big.Int WrapFee *big.Int UnwrapFee *big.Int }, error)
GetMarketFees is a free data retrieval call binding the contract method 0x32598e61.
Solidity: function getMarketFees(uint128 synthMarketId) view returns(uint256 atomicFixedFee, uint256 asyncFixedFee, int256 wrapFee, int256 unwrapFee)
func (*SpotMarketOptimismCallerSession) GetMarketOwner ¶
func (_SpotMarketOptimism *SpotMarketOptimismCallerSession) GetMarketOwner(synthMarketId *big.Int) (common.Address, error)
GetMarketOwner is a free data retrieval call binding the contract method 0xa7b8cb9f.
Solidity: function getMarketOwner(uint128 synthMarketId) view returns(address marketOwner)
func (*SpotMarketOptimismCallerSession) GetMarketSkewScale ¶
func (_SpotMarketOptimism *SpotMarketOptimismCallerSession) GetMarketSkewScale(synthMarketId *big.Int) (*big.Int, error)
GetMarketSkewScale is a free data retrieval call binding the contract method 0x8d105571.
Solidity: function getMarketSkewScale(uint128 synthMarketId) view returns(uint256 skewScale)
func (*SpotMarketOptimismCallerSession) GetMarketUtilizationFees ¶
func (_SpotMarketOptimism *SpotMarketOptimismCallerSession) GetMarketUtilizationFees(synthMarketId *big.Int) (*big.Int, error)
GetMarketUtilizationFees is a free data retrieval call binding the contract method 0xf375f324.
Solidity: function getMarketUtilizationFees(uint128 synthMarketId) view returns(uint256 utilizationFeeRate)
func (*SpotMarketOptimismCallerSession) GetReferrerShare ¶
func (_SpotMarketOptimism *SpotMarketOptimismCallerSession) GetReferrerShare(synthMarketId *big.Int, referrer common.Address) (*big.Int, error)
GetReferrerShare is a free data retrieval call binding the contract method 0xfa4b28ed.
Solidity: function getReferrerShare(uint128 synthMarketId, address referrer) view returns(uint256 sharePercentage)
func (*SpotMarketOptimismCallerSession) GetSettlementStrategy ¶
func (_SpotMarketOptimism *SpotMarketOptimismCallerSession) GetSettlementStrategy(marketId *big.Int, strategyId *big.Int) (SettlementStrategyData, error)
GetSettlementStrategy is a free data retrieval call binding the contract method 0xf74c377f.
Solidity: function getSettlementStrategy(uint128 marketId, uint256 strategyId) view returns((uint8,uint256,uint256,address,bytes32,string,uint256,uint256,uint256,uint256,bool) settlementStrategy)
func (*SpotMarketOptimismCallerSession) GetSynth ¶
func (_SpotMarketOptimism *SpotMarketOptimismCallerSession) GetSynth(marketId *big.Int) (common.Address, error)
GetSynth is a free data retrieval call binding the contract method 0x69e0365f.
Solidity: function getSynth(uint128 marketId) view returns(address synthAddress)
func (*SpotMarketOptimismCallerSession) GetSynthImpl ¶
func (_SpotMarketOptimism *SpotMarketOptimismCallerSession) GetSynthImpl(marketId *big.Int) (common.Address, error)
GetSynthImpl is a free data retrieval call binding the contract method 0x3e0c76ca.
Solidity: function getSynthImpl(uint128 marketId) view returns(address implAddress)
func (*SpotMarketOptimismCallerSession) IsFeatureAllowed ¶
func (_SpotMarketOptimism *SpotMarketOptimismCallerSession) IsFeatureAllowed(feature [32]byte, account common.Address) (bool, error)
IsFeatureAllowed is a free data retrieval call binding the contract method 0xcf635949.
Solidity: function isFeatureAllowed(bytes32 feature, address account) view returns(bool)
func (*SpotMarketOptimismCallerSession) MinimumCredit ¶
func (_SpotMarketOptimism *SpotMarketOptimismCallerSession) MinimumCredit(marketId *big.Int) (*big.Int, error)
MinimumCredit is a free data retrieval call binding the contract method 0xafe79200.
Solidity: function minimumCredit(uint128 marketId) view returns(uint256 lockedAmount)
func (*SpotMarketOptimismCallerSession) Name ¶
func (_SpotMarketOptimism *SpotMarketOptimismCallerSession) Name(marketId *big.Int) (string, error)
Name is a free data retrieval call binding the contract method 0xc624440a.
Solidity: function name(uint128 marketId) view returns(string marketName)
func (*SpotMarketOptimismCallerSession) NominatedOwner ¶
func (_SpotMarketOptimism *SpotMarketOptimismCallerSession) NominatedOwner() (common.Address, error)
NominatedOwner is a free data retrieval call binding the contract method 0x53a47bb7.
Solidity: function nominatedOwner() view returns(address)
func (*SpotMarketOptimismCallerSession) Owner ¶
func (_SpotMarketOptimism *SpotMarketOptimismCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*SpotMarketOptimismCallerSession) PRECISION ¶
func (_SpotMarketOptimism *SpotMarketOptimismCallerSession) PRECISION() (*big.Int, error)
PRECISION is a free data retrieval call binding the contract method 0xaaf5eb68.
Solidity: function PRECISION() view returns(int256)
func (*SpotMarketOptimismCallerSession) QuoteBuyExactIn ¶
func (_SpotMarketOptimism *SpotMarketOptimismCallerSession) QuoteBuyExactIn(marketId *big.Int, usdAmount *big.Int) (struct { SynthAmount *big.Int Fees OrderFeesData }, error)
QuoteBuyExactIn is a free data retrieval call binding the contract method 0x6b5e6ae4.
Solidity: function quoteBuyExactIn(uint128 marketId, uint256 usdAmount) view returns(uint256 synthAmount, (uint256,uint256,int256,int256) fees)
func (*SpotMarketOptimismCallerSession) QuoteBuyExactOut ¶
func (_SpotMarketOptimism *SpotMarketOptimismCallerSession) QuoteBuyExactOut(marketId *big.Int, synthAmount *big.Int) (struct { UsdAmountCharged *big.Int Fees OrderFeesData }, error)
QuoteBuyExactOut is a free data retrieval call binding the contract method 0x1f3f7640.
Solidity: function quoteBuyExactOut(uint128 marketId, uint256 synthAmount) view returns(uint256 usdAmountCharged, (uint256,uint256,int256,int256) fees)
func (*SpotMarketOptimismCallerSession) QuoteSellExactIn ¶
func (_SpotMarketOptimism *SpotMarketOptimismCallerSession) QuoteSellExactIn(marketId *big.Int, synthAmount *big.Int) (struct { ReturnAmount *big.Int Fees OrderFeesData }, error)
QuoteSellExactIn is a free data retrieval call binding the contract method 0xc52d1730.
Solidity: function quoteSellExactIn(uint128 marketId, uint256 synthAmount) view returns(uint256 returnAmount, (uint256,uint256,int256,int256) fees)
func (*SpotMarketOptimismCallerSession) QuoteSellExactOut ¶
func (_SpotMarketOptimism *SpotMarketOptimismCallerSession) QuoteSellExactOut(marketId *big.Int, usdAmount *big.Int) (struct { SynthToBurn *big.Int Fees OrderFeesData }, error)
QuoteSellExactOut is a free data retrieval call binding the contract method 0x2c007522.
Solidity: function quoteSellExactOut(uint128 marketId, uint256 usdAmount) view returns(uint256 synthToBurn, (uint256,uint256,int256,int256) fees)
func (*SpotMarketOptimismCallerSession) ReportedDebt ¶
func (_SpotMarketOptimism *SpotMarketOptimismCallerSession) ReportedDebt(marketId *big.Int) (*big.Int, error)
ReportedDebt is a free data retrieval call binding the contract method 0xbcec0d0f.
Solidity: function reportedDebt(uint128 marketId) view returns(uint256 reportedDebtAmount)
func (*SpotMarketOptimismCallerSession) SupportsInterface ¶
func (_SpotMarketOptimism *SpotMarketOptimismCallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)
SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.
Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool isSupported)
type SpotMarketOptimismCollateralLeverageSet ¶
type SpotMarketOptimismCollateralLeverageSet struct { SynthMarketId *big.Int CollateralLeverage *big.Int Raw types.Log // Blockchain specific contextual infos }
SpotMarketOptimismCollateralLeverageSet represents a CollateralLeverageSet event raised by the SpotMarketOptimism contract.
type SpotMarketOptimismCollateralLeverageSetIterator ¶
type SpotMarketOptimismCollateralLeverageSetIterator struct { Event *SpotMarketOptimismCollateralLeverageSet // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SpotMarketOptimismCollateralLeverageSetIterator is returned from FilterCollateralLeverageSet and is used to iterate over the raw logs and unpacked data for CollateralLeverageSet events raised by the SpotMarketOptimism contract.
func (*SpotMarketOptimismCollateralLeverageSetIterator) Close ¶
func (it *SpotMarketOptimismCollateralLeverageSetIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SpotMarketOptimismCollateralLeverageSetIterator) Error ¶
func (it *SpotMarketOptimismCollateralLeverageSetIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SpotMarketOptimismCollateralLeverageSetIterator) Next ¶
func (it *SpotMarketOptimismCollateralLeverageSetIterator) 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 SpotMarketOptimismDecayRateUpdated ¶
type SpotMarketOptimismDecayRateUpdated struct { MarketId *big.Int Rate *big.Int Raw types.Log // Blockchain specific contextual infos }
SpotMarketOptimismDecayRateUpdated represents a DecayRateUpdated event raised by the SpotMarketOptimism contract.
type SpotMarketOptimismDecayRateUpdatedIterator ¶
type SpotMarketOptimismDecayRateUpdatedIterator struct { Event *SpotMarketOptimismDecayRateUpdated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SpotMarketOptimismDecayRateUpdatedIterator is returned from FilterDecayRateUpdated and is used to iterate over the raw logs and unpacked data for DecayRateUpdated events raised by the SpotMarketOptimism contract.
func (*SpotMarketOptimismDecayRateUpdatedIterator) Close ¶
func (it *SpotMarketOptimismDecayRateUpdatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SpotMarketOptimismDecayRateUpdatedIterator) Error ¶
func (it *SpotMarketOptimismDecayRateUpdatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SpotMarketOptimismDecayRateUpdatedIterator) Next ¶
func (it *SpotMarketOptimismDecayRateUpdatedIterator) 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 SpotMarketOptimismFeatureFlagAllowAllSet ¶
type SpotMarketOptimismFeatureFlagAllowAllSet struct { Feature [32]byte AllowAll bool Raw types.Log // Blockchain specific contextual infos }
SpotMarketOptimismFeatureFlagAllowAllSet represents a FeatureFlagAllowAllSet event raised by the SpotMarketOptimism contract.
type SpotMarketOptimismFeatureFlagAllowAllSetIterator ¶
type SpotMarketOptimismFeatureFlagAllowAllSetIterator struct { Event *SpotMarketOptimismFeatureFlagAllowAllSet // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SpotMarketOptimismFeatureFlagAllowAllSetIterator is returned from FilterFeatureFlagAllowAllSet and is used to iterate over the raw logs and unpacked data for FeatureFlagAllowAllSet events raised by the SpotMarketOptimism contract.
func (*SpotMarketOptimismFeatureFlagAllowAllSetIterator) Close ¶
func (it *SpotMarketOptimismFeatureFlagAllowAllSetIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SpotMarketOptimismFeatureFlagAllowAllSetIterator) Error ¶
func (it *SpotMarketOptimismFeatureFlagAllowAllSetIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SpotMarketOptimismFeatureFlagAllowAllSetIterator) Next ¶
func (it *SpotMarketOptimismFeatureFlagAllowAllSetIterator) 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 SpotMarketOptimismFeatureFlagAllowlistAdded ¶
type SpotMarketOptimismFeatureFlagAllowlistAdded struct { Feature [32]byte Account common.Address Raw types.Log // Blockchain specific contextual infos }
SpotMarketOptimismFeatureFlagAllowlistAdded represents a FeatureFlagAllowlistAdded event raised by the SpotMarketOptimism contract.
type SpotMarketOptimismFeatureFlagAllowlistAddedIterator ¶
type SpotMarketOptimismFeatureFlagAllowlistAddedIterator struct { Event *SpotMarketOptimismFeatureFlagAllowlistAdded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SpotMarketOptimismFeatureFlagAllowlistAddedIterator is returned from FilterFeatureFlagAllowlistAdded and is used to iterate over the raw logs and unpacked data for FeatureFlagAllowlistAdded events raised by the SpotMarketOptimism contract.
func (*SpotMarketOptimismFeatureFlagAllowlistAddedIterator) Close ¶
func (it *SpotMarketOptimismFeatureFlagAllowlistAddedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SpotMarketOptimismFeatureFlagAllowlistAddedIterator) Error ¶
func (it *SpotMarketOptimismFeatureFlagAllowlistAddedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SpotMarketOptimismFeatureFlagAllowlistAddedIterator) Next ¶
func (it *SpotMarketOptimismFeatureFlagAllowlistAddedIterator) 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 SpotMarketOptimismFeatureFlagAllowlistRemoved ¶
type SpotMarketOptimismFeatureFlagAllowlistRemoved struct { Feature [32]byte Account common.Address Raw types.Log // Blockchain specific contextual infos }
SpotMarketOptimismFeatureFlagAllowlistRemoved represents a FeatureFlagAllowlistRemoved event raised by the SpotMarketOptimism contract.
type SpotMarketOptimismFeatureFlagAllowlistRemovedIterator ¶
type SpotMarketOptimismFeatureFlagAllowlistRemovedIterator struct { Event *SpotMarketOptimismFeatureFlagAllowlistRemoved // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SpotMarketOptimismFeatureFlagAllowlistRemovedIterator is returned from FilterFeatureFlagAllowlistRemoved and is used to iterate over the raw logs and unpacked data for FeatureFlagAllowlistRemoved events raised by the SpotMarketOptimism contract.
func (*SpotMarketOptimismFeatureFlagAllowlistRemovedIterator) Close ¶
func (it *SpotMarketOptimismFeatureFlagAllowlistRemovedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SpotMarketOptimismFeatureFlagAllowlistRemovedIterator) Error ¶
func (it *SpotMarketOptimismFeatureFlagAllowlistRemovedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SpotMarketOptimismFeatureFlagAllowlistRemovedIterator) Next ¶
func (it *SpotMarketOptimismFeatureFlagAllowlistRemovedIterator) 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 SpotMarketOptimismFeatureFlagDeniersReset ¶
type SpotMarketOptimismFeatureFlagDeniersReset struct { Feature [32]byte Deniers []common.Address Raw types.Log // Blockchain specific contextual infos }
SpotMarketOptimismFeatureFlagDeniersReset represents a FeatureFlagDeniersReset event raised by the SpotMarketOptimism contract.
type SpotMarketOptimismFeatureFlagDeniersResetIterator ¶
type SpotMarketOptimismFeatureFlagDeniersResetIterator struct { Event *SpotMarketOptimismFeatureFlagDeniersReset // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SpotMarketOptimismFeatureFlagDeniersResetIterator is returned from FilterFeatureFlagDeniersReset and is used to iterate over the raw logs and unpacked data for FeatureFlagDeniersReset events raised by the SpotMarketOptimism contract.
func (*SpotMarketOptimismFeatureFlagDeniersResetIterator) Close ¶
func (it *SpotMarketOptimismFeatureFlagDeniersResetIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SpotMarketOptimismFeatureFlagDeniersResetIterator) Error ¶
func (it *SpotMarketOptimismFeatureFlagDeniersResetIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SpotMarketOptimismFeatureFlagDeniersResetIterator) Next ¶
func (it *SpotMarketOptimismFeatureFlagDeniersResetIterator) 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 SpotMarketOptimismFeatureFlagDenyAllSet ¶
type SpotMarketOptimismFeatureFlagDenyAllSet struct { Feature [32]byte DenyAll bool Raw types.Log // Blockchain specific contextual infos }
SpotMarketOptimismFeatureFlagDenyAllSet represents a FeatureFlagDenyAllSet event raised by the SpotMarketOptimism contract.
type SpotMarketOptimismFeatureFlagDenyAllSetIterator ¶
type SpotMarketOptimismFeatureFlagDenyAllSetIterator struct { Event *SpotMarketOptimismFeatureFlagDenyAllSet // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SpotMarketOptimismFeatureFlagDenyAllSetIterator is returned from FilterFeatureFlagDenyAllSet and is used to iterate over the raw logs and unpacked data for FeatureFlagDenyAllSet events raised by the SpotMarketOptimism contract.
func (*SpotMarketOptimismFeatureFlagDenyAllSetIterator) Close ¶
func (it *SpotMarketOptimismFeatureFlagDenyAllSetIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SpotMarketOptimismFeatureFlagDenyAllSetIterator) Error ¶
func (it *SpotMarketOptimismFeatureFlagDenyAllSetIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SpotMarketOptimismFeatureFlagDenyAllSetIterator) Next ¶
func (it *SpotMarketOptimismFeatureFlagDenyAllSetIterator) 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 SpotMarketOptimismFeeCollectorSet ¶
type SpotMarketOptimismFeeCollectorSet struct { SynthMarketId *big.Int FeeCollector common.Address Raw types.Log // Blockchain specific contextual infos }
SpotMarketOptimismFeeCollectorSet represents a FeeCollectorSet event raised by the SpotMarketOptimism contract.
type SpotMarketOptimismFeeCollectorSetIterator ¶
type SpotMarketOptimismFeeCollectorSetIterator struct { Event *SpotMarketOptimismFeeCollectorSet // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SpotMarketOptimismFeeCollectorSetIterator is returned from FilterFeeCollectorSet and is used to iterate over the raw logs and unpacked data for FeeCollectorSet events raised by the SpotMarketOptimism contract.
func (*SpotMarketOptimismFeeCollectorSetIterator) Close ¶
func (it *SpotMarketOptimismFeeCollectorSetIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SpotMarketOptimismFeeCollectorSetIterator) Error ¶
func (it *SpotMarketOptimismFeeCollectorSetIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SpotMarketOptimismFeeCollectorSetIterator) Next ¶
func (it *SpotMarketOptimismFeeCollectorSetIterator) 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 SpotMarketOptimismFilterer ¶
type SpotMarketOptimismFilterer struct {
// contains filtered or unexported fields
}
SpotMarketOptimismFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewSpotMarketOptimismFilterer ¶
func NewSpotMarketOptimismFilterer(address common.Address, filterer bind.ContractFilterer) (*SpotMarketOptimismFilterer, error)
NewSpotMarketOptimismFilterer creates a new log filterer instance of SpotMarketOptimism, bound to a specific deployed contract.
func (*SpotMarketOptimismFilterer) FilterAssociatedSystemSet ¶
func (_SpotMarketOptimism *SpotMarketOptimismFilterer) FilterAssociatedSystemSet(opts *bind.FilterOpts, kind [][32]byte, id [][32]byte) (*SpotMarketOptimismAssociatedSystemSetIterator, error)
FilterAssociatedSystemSet is a free log retrieval operation binding the contract event 0xc8551a5a03a7b06d5d20159b3b8839429a7aefab4bf3d020f1b65fa903ccb3d2.
Solidity: event AssociatedSystemSet(bytes32 indexed kind, bytes32 indexed id, address proxy, address impl)
func (*SpotMarketOptimismFilterer) FilterAsyncFixedFeeSet ¶
func (_SpotMarketOptimism *SpotMarketOptimismFilterer) FilterAsyncFixedFeeSet(opts *bind.FilterOpts, synthMarketId []*big.Int) (*SpotMarketOptimismAsyncFixedFeeSetIterator, error)
FilterAsyncFixedFeeSet is a free log retrieval operation binding the contract event 0xaef59d229d195c5b8372221acbf4041b926fb1616a95f93e44379e4f30d57bfe.
Solidity: event AsyncFixedFeeSet(uint256 indexed synthMarketId, uint256 asyncFixedFee)
func (*SpotMarketOptimismFilterer) FilterAtomicFixedFeeSet ¶
func (_SpotMarketOptimism *SpotMarketOptimismFilterer) FilterAtomicFixedFeeSet(opts *bind.FilterOpts, synthMarketId []*big.Int) (*SpotMarketOptimismAtomicFixedFeeSetIterator, error)
FilterAtomicFixedFeeSet is a free log retrieval operation binding the contract event 0x6b0a526b06b2f30ba2d5b063c2ef81547512216d37c540b86039e3a19f1d2b3f.
Solidity: event AtomicFixedFeeSet(uint256 indexed synthMarketId, uint256 atomicFixedFee)
func (*SpotMarketOptimismFilterer) FilterCollateralLeverageSet ¶
func (_SpotMarketOptimism *SpotMarketOptimismFilterer) FilterCollateralLeverageSet(opts *bind.FilterOpts, synthMarketId []*big.Int) (*SpotMarketOptimismCollateralLeverageSetIterator, error)
FilterCollateralLeverageSet is a free log retrieval operation binding the contract event 0x83113c0e8d811f7e7017948357e945a1a8a6b6fc0d76c8512ffdd6f6766e8a13.
Solidity: event CollateralLeverageSet(uint256 indexed synthMarketId, uint256 collateralLeverage)
func (*SpotMarketOptimismFilterer) FilterDecayRateUpdated ¶
func (_SpotMarketOptimism *SpotMarketOptimismFilterer) FilterDecayRateUpdated(opts *bind.FilterOpts, marketId []*big.Int) (*SpotMarketOptimismDecayRateUpdatedIterator, error)
FilterDecayRateUpdated is a free log retrieval operation binding the contract event 0x8a1ed33cd71d1533eadd1d4eb0ea2ae64da7d343cb2a932fdf135f345264e2b5.
Solidity: event DecayRateUpdated(uint128 indexed marketId, uint256 rate)
func (*SpotMarketOptimismFilterer) FilterFeatureFlagAllowAllSet ¶
func (_SpotMarketOptimism *SpotMarketOptimismFilterer) FilterFeatureFlagAllowAllSet(opts *bind.FilterOpts, feature [][32]byte) (*SpotMarketOptimismFeatureFlagAllowAllSetIterator, error)
FilterFeatureFlagAllowAllSet is a free log retrieval operation binding the contract event 0xa806035d8c8de7cd43725250d3fbf9ee7abe3b99ffb892897913d8a21721121d.
Solidity: event FeatureFlagAllowAllSet(bytes32 indexed feature, bool allowAll)
func (*SpotMarketOptimismFilterer) FilterFeatureFlagAllowlistAdded ¶
func (_SpotMarketOptimism *SpotMarketOptimismFilterer) FilterFeatureFlagAllowlistAdded(opts *bind.FilterOpts, feature [][32]byte) (*SpotMarketOptimismFeatureFlagAllowlistAddedIterator, error)
FilterFeatureFlagAllowlistAdded is a free log retrieval operation binding the contract event 0x30b9b4104e2fb00b4f980e414dcd828e691c8fcb286f0c73d7267c3a2de49383.
Solidity: event FeatureFlagAllowlistAdded(bytes32 indexed feature, address account)
func (*SpotMarketOptimismFilterer) FilterFeatureFlagAllowlistRemoved ¶
func (_SpotMarketOptimism *SpotMarketOptimismFilterer) FilterFeatureFlagAllowlistRemoved(opts *bind.FilterOpts, feature [][32]byte) (*SpotMarketOptimismFeatureFlagAllowlistRemovedIterator, error)
FilterFeatureFlagAllowlistRemoved is a free log retrieval operation binding the contract event 0xb44a47e11880cc865e8ea382561e406dea8c895366c58e3908f05708b2880890.
Solidity: event FeatureFlagAllowlistRemoved(bytes32 indexed feature, address account)
func (*SpotMarketOptimismFilterer) FilterFeatureFlagDeniersReset ¶
func (_SpotMarketOptimism *SpotMarketOptimismFilterer) FilterFeatureFlagDeniersReset(opts *bind.FilterOpts, feature [][32]byte) (*SpotMarketOptimismFeatureFlagDeniersResetIterator, error)
FilterFeatureFlagDeniersReset is a free log retrieval operation binding the contract event 0x74d48d0b51a70680130c00decd06b4d536fbb3cee16a3b0bdd2309c264dcbd13.
Solidity: event FeatureFlagDeniersReset(bytes32 indexed feature, address[] deniers)
func (*SpotMarketOptimismFilterer) FilterFeatureFlagDenyAllSet ¶
func (_SpotMarketOptimism *SpotMarketOptimismFilterer) FilterFeatureFlagDenyAllSet(opts *bind.FilterOpts, feature [][32]byte) (*SpotMarketOptimismFeatureFlagDenyAllSetIterator, error)
FilterFeatureFlagDenyAllSet is a free log retrieval operation binding the contract event 0x97f76d2e384948e28ddd4280a4e76e8600acc328a0c0910c93682a0fccc02018.
Solidity: event FeatureFlagDenyAllSet(bytes32 indexed feature, bool denyAll)
func (*SpotMarketOptimismFilterer) FilterFeeCollectorSet ¶
func (_SpotMarketOptimism *SpotMarketOptimismFilterer) FilterFeeCollectorSet(opts *bind.FilterOpts, synthMarketId []*big.Int) (*SpotMarketOptimismFeeCollectorSetIterator, error)
FilterFeeCollectorSet is a free log retrieval operation binding the contract event 0x9559a9b7e14bf53553c17859be245a108350185ec859ec690012b13b820b7ef4.
Solidity: event FeeCollectorSet(uint256 indexed synthMarketId, address feeCollector)
func (*SpotMarketOptimismFilterer) FilterMarketNominationRenounced ¶
func (_SpotMarketOptimism *SpotMarketOptimismFilterer) FilterMarketNominationRenounced(opts *bind.FilterOpts, marketId []*big.Int) (*SpotMarketOptimismMarketNominationRenouncedIterator, error)
FilterMarketNominationRenounced is a free log retrieval operation binding the contract event 0xf5b87e3c7e0caa8e0d233591fff85e764ebc73d5c7027cce729fd4beab04c2b6.
Solidity: event MarketNominationRenounced(uint128 indexed marketId, address nominee)
func (*SpotMarketOptimismFilterer) FilterMarketOwnerChanged ¶
func (_SpotMarketOptimism *SpotMarketOptimismFilterer) FilterMarketOwnerChanged(opts *bind.FilterOpts, marketId []*big.Int) (*SpotMarketOptimismMarketOwnerChangedIterator, error)
FilterMarketOwnerChanged is a free log retrieval operation binding the contract event 0xe73c996387b656d1e0ea2866c854ed68122ce4e4eea51d6af012938b3c7ff52f.
Solidity: event MarketOwnerChanged(uint128 indexed marketId, address oldOwner, address newOwner)
func (*SpotMarketOptimismFilterer) FilterMarketOwnerNominated ¶
func (_SpotMarketOptimism *SpotMarketOptimismFilterer) FilterMarketOwnerNominated(opts *bind.FilterOpts, marketId []*big.Int) (*SpotMarketOptimismMarketOwnerNominatedIterator, error)
FilterMarketOwnerNominated is a free log retrieval operation binding the contract event 0x54605d90ee82d9b4318b0b4b479f3966976e44b94c6aff221c04f5294f85016b.
Solidity: event MarketOwnerNominated(uint128 indexed marketId, address newOwner)
func (*SpotMarketOptimismFilterer) FilterMarketSkewScaleSet ¶
func (_SpotMarketOptimism *SpotMarketOptimismFilterer) FilterMarketSkewScaleSet(opts *bind.FilterOpts, synthMarketId []*big.Int) (*SpotMarketOptimismMarketSkewScaleSetIterator, error)
FilterMarketSkewScaleSet is a free log retrieval operation binding the contract event 0x786fdfd5a0e146d8f4878876a8439ff01436e5969b14682e12d07d7e926b157c.
Solidity: event MarketSkewScaleSet(uint256 indexed synthMarketId, uint256 skewScale)
func (*SpotMarketOptimismFilterer) FilterMarketUtilizationFeesSet ¶
func (_SpotMarketOptimism *SpotMarketOptimismFilterer) FilterMarketUtilizationFeesSet(opts *bind.FilterOpts, synthMarketId []*big.Int) (*SpotMarketOptimismMarketUtilizationFeesSetIterator, error)
FilterMarketUtilizationFeesSet is a free log retrieval operation binding the contract event 0x83dfad56ac61e49feb43345b8c73b6d45eb121decc66b1709ca0413b31c64f63.
Solidity: event MarketUtilizationFeesSet(uint256 indexed synthMarketId, uint256 utilizationFeeRate)
func (*SpotMarketOptimismFilterer) FilterOrderCancelled ¶
func (_SpotMarketOptimism *SpotMarketOptimismFilterer) FilterOrderCancelled(opts *bind.FilterOpts, marketId []*big.Int, asyncOrderId []*big.Int, sender []common.Address) (*SpotMarketOptimismOrderCancelledIterator, error)
FilterOrderCancelled is a free log retrieval operation binding the contract event 0xa57ffc5057d10e88a0dd7713d14130f9638d680af94401e7f1f4fba44a3ad5e2.
Solidity: event OrderCancelled(uint128 indexed marketId, uint128 indexed asyncOrderId, (uint128,address,uint8,uint256,uint256,uint256,uint256,uint256,address) asyncOrderClaim, address indexed sender)
func (*SpotMarketOptimismFilterer) FilterOrderCommitted ¶
func (_SpotMarketOptimism *SpotMarketOptimismFilterer) FilterOrderCommitted(opts *bind.FilterOpts, marketId []*big.Int, orderType []uint8, sender []common.Address) (*SpotMarketOptimismOrderCommittedIterator, error)
FilterOrderCommitted is a free log retrieval operation binding the contract event 0xb26c216bf0a127dddc2431e4d8ca845513c8e6fb80e754296e7afab1ce92722f.
Solidity: event OrderCommitted(uint128 indexed marketId, uint8 indexed orderType, uint256 amountProvided, uint128 asyncOrderId, address indexed sender, address referrer)
func (*SpotMarketOptimismFilterer) FilterOrderSettled ¶
func (_SpotMarketOptimism *SpotMarketOptimismFilterer) FilterOrderSettled(opts *bind.FilterOpts, marketId []*big.Int, asyncOrderId []*big.Int, settler []common.Address) (*SpotMarketOptimismOrderSettledIterator, error)
FilterOrderSettled is a free log retrieval operation binding the contract event 0x6c5e8ff282d52fb9f532408e86d4afc62fc1f89c749a8ddca7a6f34c0439a183.
Solidity: event OrderSettled(uint128 indexed marketId, uint128 indexed asyncOrderId, uint256 finalOrderAmount, (uint256,uint256,int256,int256) fees, uint256 collectedFees, address indexed settler, uint256 price, uint8 orderType)
func (*SpotMarketOptimismFilterer) FilterOwnerChanged ¶
func (_SpotMarketOptimism *SpotMarketOptimismFilterer) FilterOwnerChanged(opts *bind.FilterOpts) (*SpotMarketOptimismOwnerChangedIterator, error)
FilterOwnerChanged is a free log retrieval operation binding the contract event 0xb532073b38c83145e3e5135377a08bf9aab55bc0fd7c1179cd4fb995d2a5159c.
Solidity: event OwnerChanged(address oldOwner, address newOwner)
func (*SpotMarketOptimismFilterer) FilterOwnerNominated ¶
func (_SpotMarketOptimism *SpotMarketOptimismFilterer) FilterOwnerNominated(opts *bind.FilterOpts) (*SpotMarketOptimismOwnerNominatedIterator, error)
FilterOwnerNominated is a free log retrieval operation binding the contract event 0x906a1c6bd7e3091ea86693dd029a831c19049ce77f1dce2ce0bab1cacbabce22.
Solidity: event OwnerNominated(address newOwner)
func (*SpotMarketOptimismFilterer) FilterReferrerShareUpdated ¶
func (_SpotMarketOptimism *SpotMarketOptimismFilterer) FilterReferrerShareUpdated(opts *bind.FilterOpts, marketId []*big.Int) (*SpotMarketOptimismReferrerShareUpdatedIterator, error)
FilterReferrerShareUpdated is a free log retrieval operation binding the contract event 0xd2a3339bb3c610e9030023c1cb3e89374fe0ebd7e37faee9b3d343f33e9df2fb.
Solidity: event ReferrerShareUpdated(uint128 indexed marketId, address referrer, uint256 sharePercentage)
func (*SpotMarketOptimismFilterer) FilterSettlementStrategyAdded ¶
func (_SpotMarketOptimism *SpotMarketOptimismFilterer) FilterSettlementStrategyAdded(opts *bind.FilterOpts, synthMarketId []*big.Int, strategyId []*big.Int) (*SpotMarketOptimismSettlementStrategyAddedIterator, error)
FilterSettlementStrategyAdded is a free log retrieval operation binding the contract event 0x91750a8e3d84ed1bccdc79dcecf63cc1b6f83b5bf8293bf86628cbb248e487f1.
Solidity: event SettlementStrategyAdded(uint128 indexed synthMarketId, uint256 indexed strategyId)
func (*SpotMarketOptimismFilterer) FilterSettlementStrategyUpdated ¶
func (_SpotMarketOptimism *SpotMarketOptimismFilterer) FilterSettlementStrategyUpdated(opts *bind.FilterOpts, synthMarketId []*big.Int, strategyId []*big.Int) (*SpotMarketOptimismSettlementStrategyUpdatedIterator, error)
FilterSettlementStrategyUpdated is a free log retrieval operation binding the contract event 0xb0187d91c1ffe66740e5f7619aab4d868a85ac3698b026bed3f420d871b6c048.
Solidity: event SettlementStrategyUpdated(uint128 indexed synthMarketId, uint256 indexed strategyId, bool enabled)
func (*SpotMarketOptimismFilterer) FilterSynthBought ¶
func (_SpotMarketOptimism *SpotMarketOptimismFilterer) FilterSynthBought(opts *bind.FilterOpts, synthMarketId []*big.Int) (*SpotMarketOptimismSynthBoughtIterator, error)
FilterSynthBought is a free log retrieval operation binding the contract event 0xac82d63e679c7d862613aa8b5ccd94f9adc4986763ab14bb3351ab9092ef1303.
Solidity: event SynthBought(uint256 indexed synthMarketId, uint256 synthReturned, (uint256,uint256,int256,int256) fees, uint256 collectedFees, address referrer, uint256 price)
func (*SpotMarketOptimismFilterer) FilterSynthImplementationSet ¶
func (_SpotMarketOptimism *SpotMarketOptimismFilterer) FilterSynthImplementationSet(opts *bind.FilterOpts) (*SpotMarketOptimismSynthImplementationSetIterator, error)
FilterSynthImplementationSet is a free log retrieval operation binding the contract event 0xafffc48b3243eba10d901f21ba761ad741f18a23feed86ca425df4974d3314b0.
Solidity: event SynthImplementationSet(address synthImplementation)
func (*SpotMarketOptimismFilterer) FilterSynthImplementationUpgraded ¶
func (_SpotMarketOptimism *SpotMarketOptimismFilterer) FilterSynthImplementationUpgraded(opts *bind.FilterOpts, synthMarketId []*big.Int, proxy []common.Address) (*SpotMarketOptimismSynthImplementationUpgradedIterator, error)
FilterSynthImplementationUpgraded is a free log retrieval operation binding the contract event 0xa7badace8b24daeeb3981497a506d3812b3dc6f147ef3f78bc0e2cc664c50330.
Solidity: event SynthImplementationUpgraded(uint256 indexed synthMarketId, address indexed proxy, address implementation)
func (*SpotMarketOptimismFilterer) FilterSynthPriceDataUpdated ¶
func (_SpotMarketOptimism *SpotMarketOptimismFilterer) FilterSynthPriceDataUpdated(opts *bind.FilterOpts, synthMarketId []*big.Int, buyFeedId [][32]byte, sellFeedId [][32]byte) (*SpotMarketOptimismSynthPriceDataUpdatedIterator, error)
FilterSynthPriceDataUpdated is a free log retrieval operation binding the contract event 0x30309eafe094276dfad42e7ac4676aebcf5ea8480c86708ad2a2c9c0335c912e.
Solidity: event SynthPriceDataUpdated(uint256 indexed synthMarketId, bytes32 indexed buyFeedId, bytes32 indexed sellFeedId)
func (*SpotMarketOptimismFilterer) FilterSynthRegistered ¶
func (_SpotMarketOptimism *SpotMarketOptimismFilterer) FilterSynthRegistered(opts *bind.FilterOpts, synthMarketId []*big.Int) (*SpotMarketOptimismSynthRegisteredIterator, error)
FilterSynthRegistered is a free log retrieval operation binding the contract event 0x04b07b1c236913894927915a3dd91c8e250223fc668ceabdc47074c5a77e2cb9.
Solidity: event SynthRegistered(uint256 indexed synthMarketId, address synthTokenAddress)
func (*SpotMarketOptimismFilterer) FilterSynthSold ¶
func (_SpotMarketOptimism *SpotMarketOptimismFilterer) FilterSynthSold(opts *bind.FilterOpts, synthMarketId []*big.Int) (*SpotMarketOptimismSynthSoldIterator, error)
FilterSynthSold is a free log retrieval operation binding the contract event 0x61fa4bb370a2f18a502b3bcf1d0755e53371d58791fa42766aa6386bbefb594a.
Solidity: event SynthSold(uint256 indexed synthMarketId, uint256 amountReturned, (uint256,uint256,int256,int256) fees, uint256 collectedFees, address referrer, uint256 price)
func (*SpotMarketOptimismFilterer) FilterSynthUnwrapped ¶
func (_SpotMarketOptimism *SpotMarketOptimismFilterer) FilterSynthUnwrapped(opts *bind.FilterOpts, synthMarketId []*big.Int) (*SpotMarketOptimismSynthUnwrappedIterator, error)
FilterSynthUnwrapped is a free log retrieval operation binding the contract event 0xa1dd74fb936c7942732e4355961ca6944ca6c6744121ace0d9a1203d664231b3.
Solidity: event SynthUnwrapped(uint256 indexed synthMarketId, uint256 amountUnwrapped, (uint256,uint256,int256,int256) fees, uint256 feesCollected)
func (*SpotMarketOptimismFilterer) FilterSynthWrapped ¶
func (_SpotMarketOptimism *SpotMarketOptimismFilterer) FilterSynthWrapped(opts *bind.FilterOpts, synthMarketId []*big.Int) (*SpotMarketOptimismSynthWrappedIterator, error)
FilterSynthWrapped is a free log retrieval operation binding the contract event 0xea50ab2f37d37692441c4a16317c1287bb410a3a616a16c49c9ca76d415667ff.
Solidity: event SynthWrapped(uint256 indexed synthMarketId, uint256 amountWrapped, (uint256,uint256,int256,int256) fees, uint256 feesCollected)
func (*SpotMarketOptimismFilterer) FilterSynthetixSystemSet ¶
func (_SpotMarketOptimism *SpotMarketOptimismFilterer) FilterSynthetixSystemSet(opts *bind.FilterOpts) (*SpotMarketOptimismSynthetixSystemSetIterator, error)
FilterSynthetixSystemSet is a free log retrieval operation binding the contract event 0x52dccf7e2653d5ae8cf1d18c5499fd530f01920181d81afdf6bf489d897e24aa.
Solidity: event SynthetixSystemSet(address synthetix, address usdTokenAddress, address oracleManager)
func (*SpotMarketOptimismFilterer) FilterTransactorFixedFeeSet ¶
func (_SpotMarketOptimism *SpotMarketOptimismFilterer) FilterTransactorFixedFeeSet(opts *bind.FilterOpts, synthMarketId []*big.Int) (*SpotMarketOptimismTransactorFixedFeeSetIterator, error)
FilterTransactorFixedFeeSet is a free log retrieval operation binding the contract event 0xeed7c7ebc4a7e7456a5b14f961bbe55d026f35a2a2b52d1ad43fe11c348df24a.
Solidity: event TransactorFixedFeeSet(uint256 indexed synthMarketId, address transactor, uint256 fixedFeeAmount)
func (*SpotMarketOptimismFilterer) FilterUpgraded ¶
func (_SpotMarketOptimism *SpotMarketOptimismFilterer) FilterUpgraded(opts *bind.FilterOpts, self []common.Address) (*SpotMarketOptimismUpgradedIterator, error)
FilterUpgraded is a free log retrieval operation binding the contract event 0x5d611f318680d00598bb735d61bacf0c514c6b50e1e5ad30040a4df2b12791c7.
Solidity: event Upgraded(address indexed self, address implementation)
func (*SpotMarketOptimismFilterer) FilterWrapperFeesSet ¶
func (_SpotMarketOptimism *SpotMarketOptimismFilterer) FilterWrapperFeesSet(opts *bind.FilterOpts, synthMarketId []*big.Int) (*SpotMarketOptimismWrapperFeesSetIterator, error)
FilterWrapperFeesSet is a free log retrieval operation binding the contract event 0x84c5bc20d6e52e92afe6ebc9d85d3e4d35de276ba3f05cae640db053f5b861b8.
Solidity: event WrapperFeesSet(uint256 indexed synthMarketId, int256 wrapFee, int256 unwrapFee)
func (*SpotMarketOptimismFilterer) FilterWrapperSet ¶
func (_SpotMarketOptimism *SpotMarketOptimismFilterer) FilterWrapperSet(opts *bind.FilterOpts, synthMarketId []*big.Int, wrapCollateralType []common.Address) (*SpotMarketOptimismWrapperSetIterator, error)
FilterWrapperSet is a free log retrieval operation binding the contract event 0xf6b8d296783aecfc5d372dff3e3e802ab63338637f9a2f3e2aae1e745c148def.
Solidity: event WrapperSet(uint256 indexed synthMarketId, address indexed wrapCollateralType, uint256 maxWrappableAmount)
func (*SpotMarketOptimismFilterer) ParseAssociatedSystemSet ¶
func (_SpotMarketOptimism *SpotMarketOptimismFilterer) ParseAssociatedSystemSet(log types.Log) (*SpotMarketOptimismAssociatedSystemSet, error)
ParseAssociatedSystemSet is a log parse operation binding the contract event 0xc8551a5a03a7b06d5d20159b3b8839429a7aefab4bf3d020f1b65fa903ccb3d2.
Solidity: event AssociatedSystemSet(bytes32 indexed kind, bytes32 indexed id, address proxy, address impl)
func (*SpotMarketOptimismFilterer) ParseAsyncFixedFeeSet ¶
func (_SpotMarketOptimism *SpotMarketOptimismFilterer) ParseAsyncFixedFeeSet(log types.Log) (*SpotMarketOptimismAsyncFixedFeeSet, error)
ParseAsyncFixedFeeSet is a log parse operation binding the contract event 0xaef59d229d195c5b8372221acbf4041b926fb1616a95f93e44379e4f30d57bfe.
Solidity: event AsyncFixedFeeSet(uint256 indexed synthMarketId, uint256 asyncFixedFee)
func (*SpotMarketOptimismFilterer) ParseAtomicFixedFeeSet ¶
func (_SpotMarketOptimism *SpotMarketOptimismFilterer) ParseAtomicFixedFeeSet(log types.Log) (*SpotMarketOptimismAtomicFixedFeeSet, error)
ParseAtomicFixedFeeSet is a log parse operation binding the contract event 0x6b0a526b06b2f30ba2d5b063c2ef81547512216d37c540b86039e3a19f1d2b3f.
Solidity: event AtomicFixedFeeSet(uint256 indexed synthMarketId, uint256 atomicFixedFee)
func (*SpotMarketOptimismFilterer) ParseCollateralLeverageSet ¶
func (_SpotMarketOptimism *SpotMarketOptimismFilterer) ParseCollateralLeverageSet(log types.Log) (*SpotMarketOptimismCollateralLeverageSet, error)
ParseCollateralLeverageSet is a log parse operation binding the contract event 0x83113c0e8d811f7e7017948357e945a1a8a6b6fc0d76c8512ffdd6f6766e8a13.
Solidity: event CollateralLeverageSet(uint256 indexed synthMarketId, uint256 collateralLeverage)
func (*SpotMarketOptimismFilterer) ParseDecayRateUpdated ¶
func (_SpotMarketOptimism *SpotMarketOptimismFilterer) ParseDecayRateUpdated(log types.Log) (*SpotMarketOptimismDecayRateUpdated, error)
ParseDecayRateUpdated is a log parse operation binding the contract event 0x8a1ed33cd71d1533eadd1d4eb0ea2ae64da7d343cb2a932fdf135f345264e2b5.
Solidity: event DecayRateUpdated(uint128 indexed marketId, uint256 rate)
func (*SpotMarketOptimismFilterer) ParseFeatureFlagAllowAllSet ¶
func (_SpotMarketOptimism *SpotMarketOptimismFilterer) ParseFeatureFlagAllowAllSet(log types.Log) (*SpotMarketOptimismFeatureFlagAllowAllSet, error)
ParseFeatureFlagAllowAllSet is a log parse operation binding the contract event 0xa806035d8c8de7cd43725250d3fbf9ee7abe3b99ffb892897913d8a21721121d.
Solidity: event FeatureFlagAllowAllSet(bytes32 indexed feature, bool allowAll)
func (*SpotMarketOptimismFilterer) ParseFeatureFlagAllowlistAdded ¶
func (_SpotMarketOptimism *SpotMarketOptimismFilterer) ParseFeatureFlagAllowlistAdded(log types.Log) (*SpotMarketOptimismFeatureFlagAllowlistAdded, error)
ParseFeatureFlagAllowlistAdded is a log parse operation binding the contract event 0x30b9b4104e2fb00b4f980e414dcd828e691c8fcb286f0c73d7267c3a2de49383.
Solidity: event FeatureFlagAllowlistAdded(bytes32 indexed feature, address account)
func (*SpotMarketOptimismFilterer) ParseFeatureFlagAllowlistRemoved ¶
func (_SpotMarketOptimism *SpotMarketOptimismFilterer) ParseFeatureFlagAllowlistRemoved(log types.Log) (*SpotMarketOptimismFeatureFlagAllowlistRemoved, error)
ParseFeatureFlagAllowlistRemoved is a log parse operation binding the contract event 0xb44a47e11880cc865e8ea382561e406dea8c895366c58e3908f05708b2880890.
Solidity: event FeatureFlagAllowlistRemoved(bytes32 indexed feature, address account)
func (*SpotMarketOptimismFilterer) ParseFeatureFlagDeniersReset ¶
func (_SpotMarketOptimism *SpotMarketOptimismFilterer) ParseFeatureFlagDeniersReset(log types.Log) (*SpotMarketOptimismFeatureFlagDeniersReset, error)
ParseFeatureFlagDeniersReset is a log parse operation binding the contract event 0x74d48d0b51a70680130c00decd06b4d536fbb3cee16a3b0bdd2309c264dcbd13.
Solidity: event FeatureFlagDeniersReset(bytes32 indexed feature, address[] deniers)
func (*SpotMarketOptimismFilterer) ParseFeatureFlagDenyAllSet ¶
func (_SpotMarketOptimism *SpotMarketOptimismFilterer) ParseFeatureFlagDenyAllSet(log types.Log) (*SpotMarketOptimismFeatureFlagDenyAllSet, error)
ParseFeatureFlagDenyAllSet is a log parse operation binding the contract event 0x97f76d2e384948e28ddd4280a4e76e8600acc328a0c0910c93682a0fccc02018.
Solidity: event FeatureFlagDenyAllSet(bytes32 indexed feature, bool denyAll)
func (*SpotMarketOptimismFilterer) ParseFeeCollectorSet ¶
func (_SpotMarketOptimism *SpotMarketOptimismFilterer) ParseFeeCollectorSet(log types.Log) (*SpotMarketOptimismFeeCollectorSet, error)
ParseFeeCollectorSet is a log parse operation binding the contract event 0x9559a9b7e14bf53553c17859be245a108350185ec859ec690012b13b820b7ef4.
Solidity: event FeeCollectorSet(uint256 indexed synthMarketId, address feeCollector)
func (*SpotMarketOptimismFilterer) ParseMarketNominationRenounced ¶
func (_SpotMarketOptimism *SpotMarketOptimismFilterer) ParseMarketNominationRenounced(log types.Log) (*SpotMarketOptimismMarketNominationRenounced, error)
ParseMarketNominationRenounced is a log parse operation binding the contract event 0xf5b87e3c7e0caa8e0d233591fff85e764ebc73d5c7027cce729fd4beab04c2b6.
Solidity: event MarketNominationRenounced(uint128 indexed marketId, address nominee)
func (*SpotMarketOptimismFilterer) ParseMarketOwnerChanged ¶
func (_SpotMarketOptimism *SpotMarketOptimismFilterer) ParseMarketOwnerChanged(log types.Log) (*SpotMarketOptimismMarketOwnerChanged, error)
ParseMarketOwnerChanged is a log parse operation binding the contract event 0xe73c996387b656d1e0ea2866c854ed68122ce4e4eea51d6af012938b3c7ff52f.
Solidity: event MarketOwnerChanged(uint128 indexed marketId, address oldOwner, address newOwner)
func (*SpotMarketOptimismFilterer) ParseMarketOwnerNominated ¶
func (_SpotMarketOptimism *SpotMarketOptimismFilterer) ParseMarketOwnerNominated(log types.Log) (*SpotMarketOptimismMarketOwnerNominated, error)
ParseMarketOwnerNominated is a log parse operation binding the contract event 0x54605d90ee82d9b4318b0b4b479f3966976e44b94c6aff221c04f5294f85016b.
Solidity: event MarketOwnerNominated(uint128 indexed marketId, address newOwner)
func (*SpotMarketOptimismFilterer) ParseMarketSkewScaleSet ¶
func (_SpotMarketOptimism *SpotMarketOptimismFilterer) ParseMarketSkewScaleSet(log types.Log) (*SpotMarketOptimismMarketSkewScaleSet, error)
ParseMarketSkewScaleSet is a log parse operation binding the contract event 0x786fdfd5a0e146d8f4878876a8439ff01436e5969b14682e12d07d7e926b157c.
Solidity: event MarketSkewScaleSet(uint256 indexed synthMarketId, uint256 skewScale)
func (*SpotMarketOptimismFilterer) ParseMarketUtilizationFeesSet ¶
func (_SpotMarketOptimism *SpotMarketOptimismFilterer) ParseMarketUtilizationFeesSet(log types.Log) (*SpotMarketOptimismMarketUtilizationFeesSet, error)
ParseMarketUtilizationFeesSet is a log parse operation binding the contract event 0x83dfad56ac61e49feb43345b8c73b6d45eb121decc66b1709ca0413b31c64f63.
Solidity: event MarketUtilizationFeesSet(uint256 indexed synthMarketId, uint256 utilizationFeeRate)
func (*SpotMarketOptimismFilterer) ParseOrderCancelled ¶
func (_SpotMarketOptimism *SpotMarketOptimismFilterer) ParseOrderCancelled(log types.Log) (*SpotMarketOptimismOrderCancelled, error)
ParseOrderCancelled is a log parse operation binding the contract event 0xa57ffc5057d10e88a0dd7713d14130f9638d680af94401e7f1f4fba44a3ad5e2.
Solidity: event OrderCancelled(uint128 indexed marketId, uint128 indexed asyncOrderId, (uint128,address,uint8,uint256,uint256,uint256,uint256,uint256,address) asyncOrderClaim, address indexed sender)
func (*SpotMarketOptimismFilterer) ParseOrderCommitted ¶
func (_SpotMarketOptimism *SpotMarketOptimismFilterer) ParseOrderCommitted(log types.Log) (*SpotMarketOptimismOrderCommitted, error)
ParseOrderCommitted is a log parse operation binding the contract event 0xb26c216bf0a127dddc2431e4d8ca845513c8e6fb80e754296e7afab1ce92722f.
Solidity: event OrderCommitted(uint128 indexed marketId, uint8 indexed orderType, uint256 amountProvided, uint128 asyncOrderId, address indexed sender, address referrer)
func (*SpotMarketOptimismFilterer) ParseOrderSettled ¶
func (_SpotMarketOptimism *SpotMarketOptimismFilterer) ParseOrderSettled(log types.Log) (*SpotMarketOptimismOrderSettled, error)
ParseOrderSettled is a log parse operation binding the contract event 0x6c5e8ff282d52fb9f532408e86d4afc62fc1f89c749a8ddca7a6f34c0439a183.
Solidity: event OrderSettled(uint128 indexed marketId, uint128 indexed asyncOrderId, uint256 finalOrderAmount, (uint256,uint256,int256,int256) fees, uint256 collectedFees, address indexed settler, uint256 price, uint8 orderType)
func (*SpotMarketOptimismFilterer) ParseOwnerChanged ¶
func (_SpotMarketOptimism *SpotMarketOptimismFilterer) ParseOwnerChanged(log types.Log) (*SpotMarketOptimismOwnerChanged, error)
ParseOwnerChanged is a log parse operation binding the contract event 0xb532073b38c83145e3e5135377a08bf9aab55bc0fd7c1179cd4fb995d2a5159c.
Solidity: event OwnerChanged(address oldOwner, address newOwner)
func (*SpotMarketOptimismFilterer) ParseOwnerNominated ¶
func (_SpotMarketOptimism *SpotMarketOptimismFilterer) ParseOwnerNominated(log types.Log) (*SpotMarketOptimismOwnerNominated, error)
ParseOwnerNominated is a log parse operation binding the contract event 0x906a1c6bd7e3091ea86693dd029a831c19049ce77f1dce2ce0bab1cacbabce22.
Solidity: event OwnerNominated(address newOwner)
func (*SpotMarketOptimismFilterer) ParseReferrerShareUpdated ¶
func (_SpotMarketOptimism *SpotMarketOptimismFilterer) ParseReferrerShareUpdated(log types.Log) (*SpotMarketOptimismReferrerShareUpdated, error)
ParseReferrerShareUpdated is a log parse operation binding the contract event 0xd2a3339bb3c610e9030023c1cb3e89374fe0ebd7e37faee9b3d343f33e9df2fb.
Solidity: event ReferrerShareUpdated(uint128 indexed marketId, address referrer, uint256 sharePercentage)
func (*SpotMarketOptimismFilterer) ParseSettlementStrategyAdded ¶
func (_SpotMarketOptimism *SpotMarketOptimismFilterer) ParseSettlementStrategyAdded(log types.Log) (*SpotMarketOptimismSettlementStrategyAdded, error)
ParseSettlementStrategyAdded is a log parse operation binding the contract event 0x91750a8e3d84ed1bccdc79dcecf63cc1b6f83b5bf8293bf86628cbb248e487f1.
Solidity: event SettlementStrategyAdded(uint128 indexed synthMarketId, uint256 indexed strategyId)
func (*SpotMarketOptimismFilterer) ParseSettlementStrategyUpdated ¶
func (_SpotMarketOptimism *SpotMarketOptimismFilterer) ParseSettlementStrategyUpdated(log types.Log) (*SpotMarketOptimismSettlementStrategyUpdated, error)
ParseSettlementStrategyUpdated is a log parse operation binding the contract event 0xb0187d91c1ffe66740e5f7619aab4d868a85ac3698b026bed3f420d871b6c048.
Solidity: event SettlementStrategyUpdated(uint128 indexed synthMarketId, uint256 indexed strategyId, bool enabled)
func (*SpotMarketOptimismFilterer) ParseSynthBought ¶
func (_SpotMarketOptimism *SpotMarketOptimismFilterer) ParseSynthBought(log types.Log) (*SpotMarketOptimismSynthBought, error)
ParseSynthBought is a log parse operation binding the contract event 0xac82d63e679c7d862613aa8b5ccd94f9adc4986763ab14bb3351ab9092ef1303.
Solidity: event SynthBought(uint256 indexed synthMarketId, uint256 synthReturned, (uint256,uint256,int256,int256) fees, uint256 collectedFees, address referrer, uint256 price)
func (*SpotMarketOptimismFilterer) ParseSynthImplementationSet ¶
func (_SpotMarketOptimism *SpotMarketOptimismFilterer) ParseSynthImplementationSet(log types.Log) (*SpotMarketOptimismSynthImplementationSet, error)
ParseSynthImplementationSet is a log parse operation binding the contract event 0xafffc48b3243eba10d901f21ba761ad741f18a23feed86ca425df4974d3314b0.
Solidity: event SynthImplementationSet(address synthImplementation)
func (*SpotMarketOptimismFilterer) ParseSynthImplementationUpgraded ¶
func (_SpotMarketOptimism *SpotMarketOptimismFilterer) ParseSynthImplementationUpgraded(log types.Log) (*SpotMarketOptimismSynthImplementationUpgraded, error)
ParseSynthImplementationUpgraded is a log parse operation binding the contract event 0xa7badace8b24daeeb3981497a506d3812b3dc6f147ef3f78bc0e2cc664c50330.
Solidity: event SynthImplementationUpgraded(uint256 indexed synthMarketId, address indexed proxy, address implementation)
func (*SpotMarketOptimismFilterer) ParseSynthPriceDataUpdated ¶
func (_SpotMarketOptimism *SpotMarketOptimismFilterer) ParseSynthPriceDataUpdated(log types.Log) (*SpotMarketOptimismSynthPriceDataUpdated, error)
ParseSynthPriceDataUpdated is a log parse operation binding the contract event 0x30309eafe094276dfad42e7ac4676aebcf5ea8480c86708ad2a2c9c0335c912e.
Solidity: event SynthPriceDataUpdated(uint256 indexed synthMarketId, bytes32 indexed buyFeedId, bytes32 indexed sellFeedId)
func (*SpotMarketOptimismFilterer) ParseSynthRegistered ¶
func (_SpotMarketOptimism *SpotMarketOptimismFilterer) ParseSynthRegistered(log types.Log) (*SpotMarketOptimismSynthRegistered, error)
ParseSynthRegistered is a log parse operation binding the contract event 0x04b07b1c236913894927915a3dd91c8e250223fc668ceabdc47074c5a77e2cb9.
Solidity: event SynthRegistered(uint256 indexed synthMarketId, address synthTokenAddress)
func (*SpotMarketOptimismFilterer) ParseSynthSold ¶
func (_SpotMarketOptimism *SpotMarketOptimismFilterer) ParseSynthSold(log types.Log) (*SpotMarketOptimismSynthSold, error)
ParseSynthSold is a log parse operation binding the contract event 0x61fa4bb370a2f18a502b3bcf1d0755e53371d58791fa42766aa6386bbefb594a.
Solidity: event SynthSold(uint256 indexed synthMarketId, uint256 amountReturned, (uint256,uint256,int256,int256) fees, uint256 collectedFees, address referrer, uint256 price)
func (*SpotMarketOptimismFilterer) ParseSynthUnwrapped ¶
func (_SpotMarketOptimism *SpotMarketOptimismFilterer) ParseSynthUnwrapped(log types.Log) (*SpotMarketOptimismSynthUnwrapped, error)
ParseSynthUnwrapped is a log parse operation binding the contract event 0xa1dd74fb936c7942732e4355961ca6944ca6c6744121ace0d9a1203d664231b3.
Solidity: event SynthUnwrapped(uint256 indexed synthMarketId, uint256 amountUnwrapped, (uint256,uint256,int256,int256) fees, uint256 feesCollected)
func (*SpotMarketOptimismFilterer) ParseSynthWrapped ¶
func (_SpotMarketOptimism *SpotMarketOptimismFilterer) ParseSynthWrapped(log types.Log) (*SpotMarketOptimismSynthWrapped, error)
ParseSynthWrapped is a log parse operation binding the contract event 0xea50ab2f37d37692441c4a16317c1287bb410a3a616a16c49c9ca76d415667ff.
Solidity: event SynthWrapped(uint256 indexed synthMarketId, uint256 amountWrapped, (uint256,uint256,int256,int256) fees, uint256 feesCollected)
func (*SpotMarketOptimismFilterer) ParseSynthetixSystemSet ¶
func (_SpotMarketOptimism *SpotMarketOptimismFilterer) ParseSynthetixSystemSet(log types.Log) (*SpotMarketOptimismSynthetixSystemSet, error)
ParseSynthetixSystemSet is a log parse operation binding the contract event 0x52dccf7e2653d5ae8cf1d18c5499fd530f01920181d81afdf6bf489d897e24aa.
Solidity: event SynthetixSystemSet(address synthetix, address usdTokenAddress, address oracleManager)
func (*SpotMarketOptimismFilterer) ParseTransactorFixedFeeSet ¶
func (_SpotMarketOptimism *SpotMarketOptimismFilterer) ParseTransactorFixedFeeSet(log types.Log) (*SpotMarketOptimismTransactorFixedFeeSet, error)
ParseTransactorFixedFeeSet is a log parse operation binding the contract event 0xeed7c7ebc4a7e7456a5b14f961bbe55d026f35a2a2b52d1ad43fe11c348df24a.
Solidity: event TransactorFixedFeeSet(uint256 indexed synthMarketId, address transactor, uint256 fixedFeeAmount)
func (*SpotMarketOptimismFilterer) ParseUpgraded ¶
func (_SpotMarketOptimism *SpotMarketOptimismFilterer) ParseUpgraded(log types.Log) (*SpotMarketOptimismUpgraded, error)
ParseUpgraded is a log parse operation binding the contract event 0x5d611f318680d00598bb735d61bacf0c514c6b50e1e5ad30040a4df2b12791c7.
Solidity: event Upgraded(address indexed self, address implementation)
func (*SpotMarketOptimismFilterer) ParseWrapperFeesSet ¶
func (_SpotMarketOptimism *SpotMarketOptimismFilterer) ParseWrapperFeesSet(log types.Log) (*SpotMarketOptimismWrapperFeesSet, error)
ParseWrapperFeesSet is a log parse operation binding the contract event 0x84c5bc20d6e52e92afe6ebc9d85d3e4d35de276ba3f05cae640db053f5b861b8.
Solidity: event WrapperFeesSet(uint256 indexed synthMarketId, int256 wrapFee, int256 unwrapFee)
func (*SpotMarketOptimismFilterer) ParseWrapperSet ¶
func (_SpotMarketOptimism *SpotMarketOptimismFilterer) ParseWrapperSet(log types.Log) (*SpotMarketOptimismWrapperSet, error)
ParseWrapperSet is a log parse operation binding the contract event 0xf6b8d296783aecfc5d372dff3e3e802ab63338637f9a2f3e2aae1e745c148def.
Solidity: event WrapperSet(uint256 indexed synthMarketId, address indexed wrapCollateralType, uint256 maxWrappableAmount)
func (*SpotMarketOptimismFilterer) WatchAssociatedSystemSet ¶
func (_SpotMarketOptimism *SpotMarketOptimismFilterer) WatchAssociatedSystemSet(opts *bind.WatchOpts, sink chan<- *SpotMarketOptimismAssociatedSystemSet, kind [][32]byte, id [][32]byte) (event.Subscription, error)
WatchAssociatedSystemSet is a free log subscription operation binding the contract event 0xc8551a5a03a7b06d5d20159b3b8839429a7aefab4bf3d020f1b65fa903ccb3d2.
Solidity: event AssociatedSystemSet(bytes32 indexed kind, bytes32 indexed id, address proxy, address impl)
func (*SpotMarketOptimismFilterer) WatchAsyncFixedFeeSet ¶
func (_SpotMarketOptimism *SpotMarketOptimismFilterer) WatchAsyncFixedFeeSet(opts *bind.WatchOpts, sink chan<- *SpotMarketOptimismAsyncFixedFeeSet, synthMarketId []*big.Int) (event.Subscription, error)
WatchAsyncFixedFeeSet is a free log subscription operation binding the contract event 0xaef59d229d195c5b8372221acbf4041b926fb1616a95f93e44379e4f30d57bfe.
Solidity: event AsyncFixedFeeSet(uint256 indexed synthMarketId, uint256 asyncFixedFee)
func (*SpotMarketOptimismFilterer) WatchAtomicFixedFeeSet ¶
func (_SpotMarketOptimism *SpotMarketOptimismFilterer) WatchAtomicFixedFeeSet(opts *bind.WatchOpts, sink chan<- *SpotMarketOptimismAtomicFixedFeeSet, synthMarketId []*big.Int) (event.Subscription, error)
WatchAtomicFixedFeeSet is a free log subscription operation binding the contract event 0x6b0a526b06b2f30ba2d5b063c2ef81547512216d37c540b86039e3a19f1d2b3f.
Solidity: event AtomicFixedFeeSet(uint256 indexed synthMarketId, uint256 atomicFixedFee)
func (*SpotMarketOptimismFilterer) WatchCollateralLeverageSet ¶
func (_SpotMarketOptimism *SpotMarketOptimismFilterer) WatchCollateralLeverageSet(opts *bind.WatchOpts, sink chan<- *SpotMarketOptimismCollateralLeverageSet, synthMarketId []*big.Int) (event.Subscription, error)
WatchCollateralLeverageSet is a free log subscription operation binding the contract event 0x83113c0e8d811f7e7017948357e945a1a8a6b6fc0d76c8512ffdd6f6766e8a13.
Solidity: event CollateralLeverageSet(uint256 indexed synthMarketId, uint256 collateralLeverage)
func (*SpotMarketOptimismFilterer) WatchDecayRateUpdated ¶
func (_SpotMarketOptimism *SpotMarketOptimismFilterer) WatchDecayRateUpdated(opts *bind.WatchOpts, sink chan<- *SpotMarketOptimismDecayRateUpdated, marketId []*big.Int) (event.Subscription, error)
WatchDecayRateUpdated is a free log subscription operation binding the contract event 0x8a1ed33cd71d1533eadd1d4eb0ea2ae64da7d343cb2a932fdf135f345264e2b5.
Solidity: event DecayRateUpdated(uint128 indexed marketId, uint256 rate)
func (*SpotMarketOptimismFilterer) WatchFeatureFlagAllowAllSet ¶
func (_SpotMarketOptimism *SpotMarketOptimismFilterer) WatchFeatureFlagAllowAllSet(opts *bind.WatchOpts, sink chan<- *SpotMarketOptimismFeatureFlagAllowAllSet, feature [][32]byte) (event.Subscription, error)
WatchFeatureFlagAllowAllSet is a free log subscription operation binding the contract event 0xa806035d8c8de7cd43725250d3fbf9ee7abe3b99ffb892897913d8a21721121d.
Solidity: event FeatureFlagAllowAllSet(bytes32 indexed feature, bool allowAll)
func (*SpotMarketOptimismFilterer) WatchFeatureFlagAllowlistAdded ¶
func (_SpotMarketOptimism *SpotMarketOptimismFilterer) WatchFeatureFlagAllowlistAdded(opts *bind.WatchOpts, sink chan<- *SpotMarketOptimismFeatureFlagAllowlistAdded, feature [][32]byte) (event.Subscription, error)
WatchFeatureFlagAllowlistAdded is a free log subscription operation binding the contract event 0x30b9b4104e2fb00b4f980e414dcd828e691c8fcb286f0c73d7267c3a2de49383.
Solidity: event FeatureFlagAllowlistAdded(bytes32 indexed feature, address account)
func (*SpotMarketOptimismFilterer) WatchFeatureFlagAllowlistRemoved ¶
func (_SpotMarketOptimism *SpotMarketOptimismFilterer) WatchFeatureFlagAllowlistRemoved(opts *bind.WatchOpts, sink chan<- *SpotMarketOptimismFeatureFlagAllowlistRemoved, feature [][32]byte) (event.Subscription, error)
WatchFeatureFlagAllowlistRemoved is a free log subscription operation binding the contract event 0xb44a47e11880cc865e8ea382561e406dea8c895366c58e3908f05708b2880890.
Solidity: event FeatureFlagAllowlistRemoved(bytes32 indexed feature, address account)
func (*SpotMarketOptimismFilterer) WatchFeatureFlagDeniersReset ¶
func (_SpotMarketOptimism *SpotMarketOptimismFilterer) WatchFeatureFlagDeniersReset(opts *bind.WatchOpts, sink chan<- *SpotMarketOptimismFeatureFlagDeniersReset, feature [][32]byte) (event.Subscription, error)
WatchFeatureFlagDeniersReset is a free log subscription operation binding the contract event 0x74d48d0b51a70680130c00decd06b4d536fbb3cee16a3b0bdd2309c264dcbd13.
Solidity: event FeatureFlagDeniersReset(bytes32 indexed feature, address[] deniers)
func (*SpotMarketOptimismFilterer) WatchFeatureFlagDenyAllSet ¶
func (_SpotMarketOptimism *SpotMarketOptimismFilterer) WatchFeatureFlagDenyAllSet(opts *bind.WatchOpts, sink chan<- *SpotMarketOptimismFeatureFlagDenyAllSet, feature [][32]byte) (event.Subscription, error)
WatchFeatureFlagDenyAllSet is a free log subscription operation binding the contract event 0x97f76d2e384948e28ddd4280a4e76e8600acc328a0c0910c93682a0fccc02018.
Solidity: event FeatureFlagDenyAllSet(bytes32 indexed feature, bool denyAll)
func (*SpotMarketOptimismFilterer) WatchFeeCollectorSet ¶
func (_SpotMarketOptimism *SpotMarketOptimismFilterer) WatchFeeCollectorSet(opts *bind.WatchOpts, sink chan<- *SpotMarketOptimismFeeCollectorSet, synthMarketId []*big.Int) (event.Subscription, error)
WatchFeeCollectorSet is a free log subscription operation binding the contract event 0x9559a9b7e14bf53553c17859be245a108350185ec859ec690012b13b820b7ef4.
Solidity: event FeeCollectorSet(uint256 indexed synthMarketId, address feeCollector)
func (*SpotMarketOptimismFilterer) WatchMarketNominationRenounced ¶
func (_SpotMarketOptimism *SpotMarketOptimismFilterer) WatchMarketNominationRenounced(opts *bind.WatchOpts, sink chan<- *SpotMarketOptimismMarketNominationRenounced, marketId []*big.Int) (event.Subscription, error)
WatchMarketNominationRenounced is a free log subscription operation binding the contract event 0xf5b87e3c7e0caa8e0d233591fff85e764ebc73d5c7027cce729fd4beab04c2b6.
Solidity: event MarketNominationRenounced(uint128 indexed marketId, address nominee)
func (*SpotMarketOptimismFilterer) WatchMarketOwnerChanged ¶
func (_SpotMarketOptimism *SpotMarketOptimismFilterer) WatchMarketOwnerChanged(opts *bind.WatchOpts, sink chan<- *SpotMarketOptimismMarketOwnerChanged, marketId []*big.Int) (event.Subscription, error)
WatchMarketOwnerChanged is a free log subscription operation binding the contract event 0xe73c996387b656d1e0ea2866c854ed68122ce4e4eea51d6af012938b3c7ff52f.
Solidity: event MarketOwnerChanged(uint128 indexed marketId, address oldOwner, address newOwner)
func (*SpotMarketOptimismFilterer) WatchMarketOwnerNominated ¶
func (_SpotMarketOptimism *SpotMarketOptimismFilterer) WatchMarketOwnerNominated(opts *bind.WatchOpts, sink chan<- *SpotMarketOptimismMarketOwnerNominated, marketId []*big.Int) (event.Subscription, error)
WatchMarketOwnerNominated is a free log subscription operation binding the contract event 0x54605d90ee82d9b4318b0b4b479f3966976e44b94c6aff221c04f5294f85016b.
Solidity: event MarketOwnerNominated(uint128 indexed marketId, address newOwner)
func (*SpotMarketOptimismFilterer) WatchMarketSkewScaleSet ¶
func (_SpotMarketOptimism *SpotMarketOptimismFilterer) WatchMarketSkewScaleSet(opts *bind.WatchOpts, sink chan<- *SpotMarketOptimismMarketSkewScaleSet, synthMarketId []*big.Int) (event.Subscription, error)
WatchMarketSkewScaleSet is a free log subscription operation binding the contract event 0x786fdfd5a0e146d8f4878876a8439ff01436e5969b14682e12d07d7e926b157c.
Solidity: event MarketSkewScaleSet(uint256 indexed synthMarketId, uint256 skewScale)
func (*SpotMarketOptimismFilterer) WatchMarketUtilizationFeesSet ¶
func (_SpotMarketOptimism *SpotMarketOptimismFilterer) WatchMarketUtilizationFeesSet(opts *bind.WatchOpts, sink chan<- *SpotMarketOptimismMarketUtilizationFeesSet, synthMarketId []*big.Int) (event.Subscription, error)
WatchMarketUtilizationFeesSet is a free log subscription operation binding the contract event 0x83dfad56ac61e49feb43345b8c73b6d45eb121decc66b1709ca0413b31c64f63.
Solidity: event MarketUtilizationFeesSet(uint256 indexed synthMarketId, uint256 utilizationFeeRate)
func (*SpotMarketOptimismFilterer) WatchOrderCancelled ¶
func (_SpotMarketOptimism *SpotMarketOptimismFilterer) WatchOrderCancelled(opts *bind.WatchOpts, sink chan<- *SpotMarketOptimismOrderCancelled, marketId []*big.Int, asyncOrderId []*big.Int, sender []common.Address) (event.Subscription, error)
WatchOrderCancelled is a free log subscription operation binding the contract event 0xa57ffc5057d10e88a0dd7713d14130f9638d680af94401e7f1f4fba44a3ad5e2.
Solidity: event OrderCancelled(uint128 indexed marketId, uint128 indexed asyncOrderId, (uint128,address,uint8,uint256,uint256,uint256,uint256,uint256,address) asyncOrderClaim, address indexed sender)
func (*SpotMarketOptimismFilterer) WatchOrderCommitted ¶
func (_SpotMarketOptimism *SpotMarketOptimismFilterer) WatchOrderCommitted(opts *bind.WatchOpts, sink chan<- *SpotMarketOptimismOrderCommitted, marketId []*big.Int, orderType []uint8, sender []common.Address) (event.Subscription, error)
WatchOrderCommitted is a free log subscription operation binding the contract event 0xb26c216bf0a127dddc2431e4d8ca845513c8e6fb80e754296e7afab1ce92722f.
Solidity: event OrderCommitted(uint128 indexed marketId, uint8 indexed orderType, uint256 amountProvided, uint128 asyncOrderId, address indexed sender, address referrer)
func (*SpotMarketOptimismFilterer) WatchOrderSettled ¶
func (_SpotMarketOptimism *SpotMarketOptimismFilterer) WatchOrderSettled(opts *bind.WatchOpts, sink chan<- *SpotMarketOptimismOrderSettled, marketId []*big.Int, asyncOrderId []*big.Int, settler []common.Address) (event.Subscription, error)
WatchOrderSettled is a free log subscription operation binding the contract event 0x6c5e8ff282d52fb9f532408e86d4afc62fc1f89c749a8ddca7a6f34c0439a183.
Solidity: event OrderSettled(uint128 indexed marketId, uint128 indexed asyncOrderId, uint256 finalOrderAmount, (uint256,uint256,int256,int256) fees, uint256 collectedFees, address indexed settler, uint256 price, uint8 orderType)
func (*SpotMarketOptimismFilterer) WatchOwnerChanged ¶
func (_SpotMarketOptimism *SpotMarketOptimismFilterer) WatchOwnerChanged(opts *bind.WatchOpts, sink chan<- *SpotMarketOptimismOwnerChanged) (event.Subscription, error)
WatchOwnerChanged is a free log subscription operation binding the contract event 0xb532073b38c83145e3e5135377a08bf9aab55bc0fd7c1179cd4fb995d2a5159c.
Solidity: event OwnerChanged(address oldOwner, address newOwner)
func (*SpotMarketOptimismFilterer) WatchOwnerNominated ¶
func (_SpotMarketOptimism *SpotMarketOptimismFilterer) WatchOwnerNominated(opts *bind.WatchOpts, sink chan<- *SpotMarketOptimismOwnerNominated) (event.Subscription, error)
WatchOwnerNominated is a free log subscription operation binding the contract event 0x906a1c6bd7e3091ea86693dd029a831c19049ce77f1dce2ce0bab1cacbabce22.
Solidity: event OwnerNominated(address newOwner)
func (*SpotMarketOptimismFilterer) WatchReferrerShareUpdated ¶
func (_SpotMarketOptimism *SpotMarketOptimismFilterer) WatchReferrerShareUpdated(opts *bind.WatchOpts, sink chan<- *SpotMarketOptimismReferrerShareUpdated, marketId []*big.Int) (event.Subscription, error)
WatchReferrerShareUpdated is a free log subscription operation binding the contract event 0xd2a3339bb3c610e9030023c1cb3e89374fe0ebd7e37faee9b3d343f33e9df2fb.
Solidity: event ReferrerShareUpdated(uint128 indexed marketId, address referrer, uint256 sharePercentage)
func (*SpotMarketOptimismFilterer) WatchSettlementStrategyAdded ¶
func (_SpotMarketOptimism *SpotMarketOptimismFilterer) WatchSettlementStrategyAdded(opts *bind.WatchOpts, sink chan<- *SpotMarketOptimismSettlementStrategyAdded, synthMarketId []*big.Int, strategyId []*big.Int) (event.Subscription, error)
WatchSettlementStrategyAdded is a free log subscription operation binding the contract event 0x91750a8e3d84ed1bccdc79dcecf63cc1b6f83b5bf8293bf86628cbb248e487f1.
Solidity: event SettlementStrategyAdded(uint128 indexed synthMarketId, uint256 indexed strategyId)
func (*SpotMarketOptimismFilterer) WatchSettlementStrategyUpdated ¶
func (_SpotMarketOptimism *SpotMarketOptimismFilterer) WatchSettlementStrategyUpdated(opts *bind.WatchOpts, sink chan<- *SpotMarketOptimismSettlementStrategyUpdated, synthMarketId []*big.Int, strategyId []*big.Int) (event.Subscription, error)
WatchSettlementStrategyUpdated is a free log subscription operation binding the contract event 0xb0187d91c1ffe66740e5f7619aab4d868a85ac3698b026bed3f420d871b6c048.
Solidity: event SettlementStrategyUpdated(uint128 indexed synthMarketId, uint256 indexed strategyId, bool enabled)
func (*SpotMarketOptimismFilterer) WatchSynthBought ¶
func (_SpotMarketOptimism *SpotMarketOptimismFilterer) WatchSynthBought(opts *bind.WatchOpts, sink chan<- *SpotMarketOptimismSynthBought, synthMarketId []*big.Int) (event.Subscription, error)
WatchSynthBought is a free log subscription operation binding the contract event 0xac82d63e679c7d862613aa8b5ccd94f9adc4986763ab14bb3351ab9092ef1303.
Solidity: event SynthBought(uint256 indexed synthMarketId, uint256 synthReturned, (uint256,uint256,int256,int256) fees, uint256 collectedFees, address referrer, uint256 price)
func (*SpotMarketOptimismFilterer) WatchSynthImplementationSet ¶
func (_SpotMarketOptimism *SpotMarketOptimismFilterer) WatchSynthImplementationSet(opts *bind.WatchOpts, sink chan<- *SpotMarketOptimismSynthImplementationSet) (event.Subscription, error)
WatchSynthImplementationSet is a free log subscription operation binding the contract event 0xafffc48b3243eba10d901f21ba761ad741f18a23feed86ca425df4974d3314b0.
Solidity: event SynthImplementationSet(address synthImplementation)
func (*SpotMarketOptimismFilterer) WatchSynthImplementationUpgraded ¶
func (_SpotMarketOptimism *SpotMarketOptimismFilterer) WatchSynthImplementationUpgraded(opts *bind.WatchOpts, sink chan<- *SpotMarketOptimismSynthImplementationUpgraded, synthMarketId []*big.Int, proxy []common.Address) (event.Subscription, error)
WatchSynthImplementationUpgraded is a free log subscription operation binding the contract event 0xa7badace8b24daeeb3981497a506d3812b3dc6f147ef3f78bc0e2cc664c50330.
Solidity: event SynthImplementationUpgraded(uint256 indexed synthMarketId, address indexed proxy, address implementation)
func (*SpotMarketOptimismFilterer) WatchSynthPriceDataUpdated ¶
func (_SpotMarketOptimism *SpotMarketOptimismFilterer) WatchSynthPriceDataUpdated(opts *bind.WatchOpts, sink chan<- *SpotMarketOptimismSynthPriceDataUpdated, synthMarketId []*big.Int, buyFeedId [][32]byte, sellFeedId [][32]byte) (event.Subscription, error)
WatchSynthPriceDataUpdated is a free log subscription operation binding the contract event 0x30309eafe094276dfad42e7ac4676aebcf5ea8480c86708ad2a2c9c0335c912e.
Solidity: event SynthPriceDataUpdated(uint256 indexed synthMarketId, bytes32 indexed buyFeedId, bytes32 indexed sellFeedId)
func (*SpotMarketOptimismFilterer) WatchSynthRegistered ¶
func (_SpotMarketOptimism *SpotMarketOptimismFilterer) WatchSynthRegistered(opts *bind.WatchOpts, sink chan<- *SpotMarketOptimismSynthRegistered, synthMarketId []*big.Int) (event.Subscription, error)
WatchSynthRegistered is a free log subscription operation binding the contract event 0x04b07b1c236913894927915a3dd91c8e250223fc668ceabdc47074c5a77e2cb9.
Solidity: event SynthRegistered(uint256 indexed synthMarketId, address synthTokenAddress)
func (*SpotMarketOptimismFilterer) WatchSynthSold ¶
func (_SpotMarketOptimism *SpotMarketOptimismFilterer) WatchSynthSold(opts *bind.WatchOpts, sink chan<- *SpotMarketOptimismSynthSold, synthMarketId []*big.Int) (event.Subscription, error)
WatchSynthSold is a free log subscription operation binding the contract event 0x61fa4bb370a2f18a502b3bcf1d0755e53371d58791fa42766aa6386bbefb594a.
Solidity: event SynthSold(uint256 indexed synthMarketId, uint256 amountReturned, (uint256,uint256,int256,int256) fees, uint256 collectedFees, address referrer, uint256 price)
func (*SpotMarketOptimismFilterer) WatchSynthUnwrapped ¶
func (_SpotMarketOptimism *SpotMarketOptimismFilterer) WatchSynthUnwrapped(opts *bind.WatchOpts, sink chan<- *SpotMarketOptimismSynthUnwrapped, synthMarketId []*big.Int) (event.Subscription, error)
WatchSynthUnwrapped is a free log subscription operation binding the contract event 0xa1dd74fb936c7942732e4355961ca6944ca6c6744121ace0d9a1203d664231b3.
Solidity: event SynthUnwrapped(uint256 indexed synthMarketId, uint256 amountUnwrapped, (uint256,uint256,int256,int256) fees, uint256 feesCollected)
func (*SpotMarketOptimismFilterer) WatchSynthWrapped ¶
func (_SpotMarketOptimism *SpotMarketOptimismFilterer) WatchSynthWrapped(opts *bind.WatchOpts, sink chan<- *SpotMarketOptimismSynthWrapped, synthMarketId []*big.Int) (event.Subscription, error)
WatchSynthWrapped is a free log subscription operation binding the contract event 0xea50ab2f37d37692441c4a16317c1287bb410a3a616a16c49c9ca76d415667ff.
Solidity: event SynthWrapped(uint256 indexed synthMarketId, uint256 amountWrapped, (uint256,uint256,int256,int256) fees, uint256 feesCollected)
func (*SpotMarketOptimismFilterer) WatchSynthetixSystemSet ¶
func (_SpotMarketOptimism *SpotMarketOptimismFilterer) WatchSynthetixSystemSet(opts *bind.WatchOpts, sink chan<- *SpotMarketOptimismSynthetixSystemSet) (event.Subscription, error)
WatchSynthetixSystemSet is a free log subscription operation binding the contract event 0x52dccf7e2653d5ae8cf1d18c5499fd530f01920181d81afdf6bf489d897e24aa.
Solidity: event SynthetixSystemSet(address synthetix, address usdTokenAddress, address oracleManager)
func (*SpotMarketOptimismFilterer) WatchTransactorFixedFeeSet ¶
func (_SpotMarketOptimism *SpotMarketOptimismFilterer) WatchTransactorFixedFeeSet(opts *bind.WatchOpts, sink chan<- *SpotMarketOptimismTransactorFixedFeeSet, synthMarketId []*big.Int) (event.Subscription, error)
WatchTransactorFixedFeeSet is a free log subscription operation binding the contract event 0xeed7c7ebc4a7e7456a5b14f961bbe55d026f35a2a2b52d1ad43fe11c348df24a.
Solidity: event TransactorFixedFeeSet(uint256 indexed synthMarketId, address transactor, uint256 fixedFeeAmount)
func (*SpotMarketOptimismFilterer) WatchUpgraded ¶
func (_SpotMarketOptimism *SpotMarketOptimismFilterer) WatchUpgraded(opts *bind.WatchOpts, sink chan<- *SpotMarketOptimismUpgraded, self []common.Address) (event.Subscription, error)
WatchUpgraded is a free log subscription operation binding the contract event 0x5d611f318680d00598bb735d61bacf0c514c6b50e1e5ad30040a4df2b12791c7.
Solidity: event Upgraded(address indexed self, address implementation)
func (*SpotMarketOptimismFilterer) WatchWrapperFeesSet ¶
func (_SpotMarketOptimism *SpotMarketOptimismFilterer) WatchWrapperFeesSet(opts *bind.WatchOpts, sink chan<- *SpotMarketOptimismWrapperFeesSet, synthMarketId []*big.Int) (event.Subscription, error)
WatchWrapperFeesSet is a free log subscription operation binding the contract event 0x84c5bc20d6e52e92afe6ebc9d85d3e4d35de276ba3f05cae640db053f5b861b8.
Solidity: event WrapperFeesSet(uint256 indexed synthMarketId, int256 wrapFee, int256 unwrapFee)
func (*SpotMarketOptimismFilterer) WatchWrapperSet ¶
func (_SpotMarketOptimism *SpotMarketOptimismFilterer) WatchWrapperSet(opts *bind.WatchOpts, sink chan<- *SpotMarketOptimismWrapperSet, synthMarketId []*big.Int, wrapCollateralType []common.Address) (event.Subscription, error)
WatchWrapperSet is a free log subscription operation binding the contract event 0xf6b8d296783aecfc5d372dff3e3e802ab63338637f9a2f3e2aae1e745c148def.
Solidity: event WrapperSet(uint256 indexed synthMarketId, address indexed wrapCollateralType, uint256 maxWrappableAmount)
type SpotMarketOptimismMarketNominationRenounced ¶
type SpotMarketOptimismMarketNominationRenounced struct { MarketId *big.Int Nominee common.Address Raw types.Log // Blockchain specific contextual infos }
SpotMarketOptimismMarketNominationRenounced represents a MarketNominationRenounced event raised by the SpotMarketOptimism contract.
type SpotMarketOptimismMarketNominationRenouncedIterator ¶
type SpotMarketOptimismMarketNominationRenouncedIterator struct { Event *SpotMarketOptimismMarketNominationRenounced // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SpotMarketOptimismMarketNominationRenouncedIterator is returned from FilterMarketNominationRenounced and is used to iterate over the raw logs and unpacked data for MarketNominationRenounced events raised by the SpotMarketOptimism contract.
func (*SpotMarketOptimismMarketNominationRenouncedIterator) Close ¶
func (it *SpotMarketOptimismMarketNominationRenouncedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SpotMarketOptimismMarketNominationRenouncedIterator) Error ¶
func (it *SpotMarketOptimismMarketNominationRenouncedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SpotMarketOptimismMarketNominationRenouncedIterator) Next ¶
func (it *SpotMarketOptimismMarketNominationRenouncedIterator) 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 SpotMarketOptimismMarketOwnerChanged ¶
type SpotMarketOptimismMarketOwnerChanged struct { MarketId *big.Int OldOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
SpotMarketOptimismMarketOwnerChanged represents a MarketOwnerChanged event raised by the SpotMarketOptimism contract.
type SpotMarketOptimismMarketOwnerChangedIterator ¶
type SpotMarketOptimismMarketOwnerChangedIterator struct { Event *SpotMarketOptimismMarketOwnerChanged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SpotMarketOptimismMarketOwnerChangedIterator is returned from FilterMarketOwnerChanged and is used to iterate over the raw logs and unpacked data for MarketOwnerChanged events raised by the SpotMarketOptimism contract.
func (*SpotMarketOptimismMarketOwnerChangedIterator) Close ¶
func (it *SpotMarketOptimismMarketOwnerChangedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SpotMarketOptimismMarketOwnerChangedIterator) Error ¶
func (it *SpotMarketOptimismMarketOwnerChangedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SpotMarketOptimismMarketOwnerChangedIterator) Next ¶
func (it *SpotMarketOptimismMarketOwnerChangedIterator) 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 SpotMarketOptimismMarketOwnerNominated ¶
type SpotMarketOptimismMarketOwnerNominated struct { MarketId *big.Int NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
SpotMarketOptimismMarketOwnerNominated represents a MarketOwnerNominated event raised by the SpotMarketOptimism contract.
type SpotMarketOptimismMarketOwnerNominatedIterator ¶
type SpotMarketOptimismMarketOwnerNominatedIterator struct { Event *SpotMarketOptimismMarketOwnerNominated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SpotMarketOptimismMarketOwnerNominatedIterator is returned from FilterMarketOwnerNominated and is used to iterate over the raw logs and unpacked data for MarketOwnerNominated events raised by the SpotMarketOptimism contract.
func (*SpotMarketOptimismMarketOwnerNominatedIterator) Close ¶
func (it *SpotMarketOptimismMarketOwnerNominatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SpotMarketOptimismMarketOwnerNominatedIterator) Error ¶
func (it *SpotMarketOptimismMarketOwnerNominatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SpotMarketOptimismMarketOwnerNominatedIterator) Next ¶
func (it *SpotMarketOptimismMarketOwnerNominatedIterator) 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 SpotMarketOptimismMarketSkewScaleSet ¶
type SpotMarketOptimismMarketSkewScaleSet struct { SynthMarketId *big.Int SkewScale *big.Int Raw types.Log // Blockchain specific contextual infos }
SpotMarketOptimismMarketSkewScaleSet represents a MarketSkewScaleSet event raised by the SpotMarketOptimism contract.
type SpotMarketOptimismMarketSkewScaleSetIterator ¶
type SpotMarketOptimismMarketSkewScaleSetIterator struct { Event *SpotMarketOptimismMarketSkewScaleSet // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SpotMarketOptimismMarketSkewScaleSetIterator is returned from FilterMarketSkewScaleSet and is used to iterate over the raw logs and unpacked data for MarketSkewScaleSet events raised by the SpotMarketOptimism contract.
func (*SpotMarketOptimismMarketSkewScaleSetIterator) Close ¶
func (it *SpotMarketOptimismMarketSkewScaleSetIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SpotMarketOptimismMarketSkewScaleSetIterator) Error ¶
func (it *SpotMarketOptimismMarketSkewScaleSetIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SpotMarketOptimismMarketSkewScaleSetIterator) Next ¶
func (it *SpotMarketOptimismMarketSkewScaleSetIterator) 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 SpotMarketOptimismMarketUtilizationFeesSet ¶
type SpotMarketOptimismMarketUtilizationFeesSet struct { SynthMarketId *big.Int UtilizationFeeRate *big.Int Raw types.Log // Blockchain specific contextual infos }
SpotMarketOptimismMarketUtilizationFeesSet represents a MarketUtilizationFeesSet event raised by the SpotMarketOptimism contract.
type SpotMarketOptimismMarketUtilizationFeesSetIterator ¶
type SpotMarketOptimismMarketUtilizationFeesSetIterator struct { Event *SpotMarketOptimismMarketUtilizationFeesSet // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SpotMarketOptimismMarketUtilizationFeesSetIterator is returned from FilterMarketUtilizationFeesSet and is used to iterate over the raw logs and unpacked data for MarketUtilizationFeesSet events raised by the SpotMarketOptimism contract.
func (*SpotMarketOptimismMarketUtilizationFeesSetIterator) Close ¶
func (it *SpotMarketOptimismMarketUtilizationFeesSetIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SpotMarketOptimismMarketUtilizationFeesSetIterator) Error ¶
func (it *SpotMarketOptimismMarketUtilizationFeesSetIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SpotMarketOptimismMarketUtilizationFeesSetIterator) Next ¶
func (it *SpotMarketOptimismMarketUtilizationFeesSetIterator) 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 SpotMarketOptimismOrderCancelled ¶
type SpotMarketOptimismOrderCancelled struct { MarketId *big.Int AsyncOrderId *big.Int AsyncOrderClaim AsyncOrderClaimData Sender common.Address Raw types.Log // Blockchain specific contextual infos }
SpotMarketOptimismOrderCancelled represents a OrderCancelled event raised by the SpotMarketOptimism contract.
type SpotMarketOptimismOrderCancelledIterator ¶
type SpotMarketOptimismOrderCancelledIterator struct { Event *SpotMarketOptimismOrderCancelled // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SpotMarketOptimismOrderCancelledIterator is returned from FilterOrderCancelled and is used to iterate over the raw logs and unpacked data for OrderCancelled events raised by the SpotMarketOptimism contract.
func (*SpotMarketOptimismOrderCancelledIterator) Close ¶
func (it *SpotMarketOptimismOrderCancelledIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SpotMarketOptimismOrderCancelledIterator) Error ¶
func (it *SpotMarketOptimismOrderCancelledIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SpotMarketOptimismOrderCancelledIterator) Next ¶
func (it *SpotMarketOptimismOrderCancelledIterator) 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 SpotMarketOptimismOrderCommitted ¶
type SpotMarketOptimismOrderCommitted struct { MarketId *big.Int OrderType uint8 AmountProvided *big.Int AsyncOrderId *big.Int Sender common.Address Referrer common.Address Raw types.Log // Blockchain specific contextual infos }
SpotMarketOptimismOrderCommitted represents a OrderCommitted event raised by the SpotMarketOptimism contract.
type SpotMarketOptimismOrderCommittedIterator ¶
type SpotMarketOptimismOrderCommittedIterator struct { Event *SpotMarketOptimismOrderCommitted // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SpotMarketOptimismOrderCommittedIterator is returned from FilterOrderCommitted and is used to iterate over the raw logs and unpacked data for OrderCommitted events raised by the SpotMarketOptimism contract.
func (*SpotMarketOptimismOrderCommittedIterator) Close ¶
func (it *SpotMarketOptimismOrderCommittedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SpotMarketOptimismOrderCommittedIterator) Error ¶
func (it *SpotMarketOptimismOrderCommittedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SpotMarketOptimismOrderCommittedIterator) Next ¶
func (it *SpotMarketOptimismOrderCommittedIterator) 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 SpotMarketOptimismOrderSettled ¶
type SpotMarketOptimismOrderSettled struct { MarketId *big.Int AsyncOrderId *big.Int FinalOrderAmount *big.Int Fees OrderFeesData CollectedFees *big.Int Settler common.Address Price *big.Int OrderType uint8 Raw types.Log // Blockchain specific contextual infos }
SpotMarketOptimismOrderSettled represents a OrderSettled event raised by the SpotMarketOptimism contract.
type SpotMarketOptimismOrderSettledIterator ¶
type SpotMarketOptimismOrderSettledIterator struct { Event *SpotMarketOptimismOrderSettled // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SpotMarketOptimismOrderSettledIterator is returned from FilterOrderSettled and is used to iterate over the raw logs and unpacked data for OrderSettled events raised by the SpotMarketOptimism contract.
func (*SpotMarketOptimismOrderSettledIterator) Close ¶
func (it *SpotMarketOptimismOrderSettledIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SpotMarketOptimismOrderSettledIterator) Error ¶
func (it *SpotMarketOptimismOrderSettledIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SpotMarketOptimismOrderSettledIterator) Next ¶
func (it *SpotMarketOptimismOrderSettledIterator) 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 SpotMarketOptimismOwnerChanged ¶
type SpotMarketOptimismOwnerChanged struct { OldOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
SpotMarketOptimismOwnerChanged represents a OwnerChanged event raised by the SpotMarketOptimism contract.
type SpotMarketOptimismOwnerChangedIterator ¶
type SpotMarketOptimismOwnerChangedIterator struct { Event *SpotMarketOptimismOwnerChanged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SpotMarketOptimismOwnerChangedIterator is returned from FilterOwnerChanged and is used to iterate over the raw logs and unpacked data for OwnerChanged events raised by the SpotMarketOptimism contract.
func (*SpotMarketOptimismOwnerChangedIterator) Close ¶
func (it *SpotMarketOptimismOwnerChangedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SpotMarketOptimismOwnerChangedIterator) Error ¶
func (it *SpotMarketOptimismOwnerChangedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SpotMarketOptimismOwnerChangedIterator) Next ¶
func (it *SpotMarketOptimismOwnerChangedIterator) 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 SpotMarketOptimismOwnerNominated ¶
type SpotMarketOptimismOwnerNominated struct { NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
SpotMarketOptimismOwnerNominated represents a OwnerNominated event raised by the SpotMarketOptimism contract.
type SpotMarketOptimismOwnerNominatedIterator ¶
type SpotMarketOptimismOwnerNominatedIterator struct { Event *SpotMarketOptimismOwnerNominated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SpotMarketOptimismOwnerNominatedIterator is returned from FilterOwnerNominated and is used to iterate over the raw logs and unpacked data for OwnerNominated events raised by the SpotMarketOptimism contract.
func (*SpotMarketOptimismOwnerNominatedIterator) Close ¶
func (it *SpotMarketOptimismOwnerNominatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SpotMarketOptimismOwnerNominatedIterator) Error ¶
func (it *SpotMarketOptimismOwnerNominatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SpotMarketOptimismOwnerNominatedIterator) Next ¶
func (it *SpotMarketOptimismOwnerNominatedIterator) 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 SpotMarketOptimismRaw ¶
type SpotMarketOptimismRaw struct {
Contract *SpotMarketOptimism // Generic contract binding to access the raw methods on
}
SpotMarketOptimismRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*SpotMarketOptimismRaw) Call ¶
func (_SpotMarketOptimism *SpotMarketOptimismRaw) 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 (*SpotMarketOptimismRaw) Transact ¶
func (_SpotMarketOptimism *SpotMarketOptimismRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SpotMarketOptimismRaw) Transfer ¶
func (_SpotMarketOptimism *SpotMarketOptimismRaw) 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 SpotMarketOptimismReferrerShareUpdated ¶
type SpotMarketOptimismReferrerShareUpdated struct {}
SpotMarketOptimismReferrerShareUpdated represents a ReferrerShareUpdated event raised by the SpotMarketOptimism contract.
type SpotMarketOptimismReferrerShareUpdatedIterator ¶
type SpotMarketOptimismReferrerShareUpdatedIterator struct { // contains filtered or unexported fields }
SpotMarketOptimismReferrerShareUpdatedIterator is returned from FilterReferrerShareUpdated and is used to iterate over the raw logs and unpacked data for ReferrerShareUpdated events raised by the SpotMarketOptimism contract.
func (*SpotMarketOptimismReferrerShareUpdatedIterator) Close ¶
func (it *SpotMarketOptimismReferrerShareUpdatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SpotMarketOptimismReferrerShareUpdatedIterator) Error ¶
func (it *SpotMarketOptimismReferrerShareUpdatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SpotMarketOptimismReferrerShareUpdatedIterator) Next ¶
func (it *SpotMarketOptimismReferrerShareUpdatedIterator) 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 SpotMarketOptimismSession ¶
type SpotMarketOptimismSession struct { Contract *SpotMarketOptimism // 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 }
SpotMarketOptimismSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*SpotMarketOptimismSession) AcceptMarketOwnership ¶
func (_SpotMarketOptimism *SpotMarketOptimismSession) AcceptMarketOwnership(synthMarketId *big.Int) (*types.Transaction, error)
AcceptMarketOwnership is a paid mutator transaction binding the contract method 0x1c216a0e.
Solidity: function acceptMarketOwnership(uint128 synthMarketId) returns()
func (*SpotMarketOptimismSession) AcceptOwnership ¶
func (_SpotMarketOptimism *SpotMarketOptimismSession) AcceptOwnership() (*types.Transaction, error)
AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.
Solidity: function acceptOwnership() returns()
func (*SpotMarketOptimismSession) AddSettlementStrategy ¶
func (_SpotMarketOptimism *SpotMarketOptimismSession) AddSettlementStrategy(marketId *big.Int, strategy SettlementStrategyData) (*types.Transaction, error)
AddSettlementStrategy is a paid mutator transaction binding the contract method 0x97b30e6d.
Solidity: function addSettlementStrategy(uint128 marketId, (uint8,uint256,uint256,address,bytes32,string,uint256,uint256,uint256,uint256,bool) strategy) returns(uint256 strategyId)
func (*SpotMarketOptimismSession) AddToFeatureFlagAllowlist ¶
func (_SpotMarketOptimism *SpotMarketOptimismSession) AddToFeatureFlagAllowlist(feature [32]byte, account common.Address) (*types.Transaction, error)
AddToFeatureFlagAllowlist is a paid mutator transaction binding the contract method 0xa0778144.
Solidity: function addToFeatureFlagAllowlist(bytes32 feature, address account) returns()
func (*SpotMarketOptimismSession) Buy ¶
func (_SpotMarketOptimism *SpotMarketOptimismSession) Buy(marketId *big.Int, usdAmount *big.Int, minAmountReceived *big.Int, referrer common.Address) (*types.Transaction, error)
Buy is a paid mutator transaction binding the contract method 0x37fb3369.
Solidity: function buy(uint128 marketId, uint256 usdAmount, uint256 minAmountReceived, address referrer) returns(uint256 synthAmount, (uint256,uint256,int256,int256) fees)
func (*SpotMarketOptimismSession) BuyExactIn ¶
func (_SpotMarketOptimism *SpotMarketOptimismSession) BuyExactIn(marketId *big.Int, usdAmount *big.Int, minAmountReceived *big.Int, referrer common.Address) (*types.Transaction, error)
BuyExactIn is a paid mutator transaction binding the contract method 0xa12d9400.
Solidity: function buyExactIn(uint128 marketId, uint256 usdAmount, uint256 minAmountReceived, address referrer) returns(uint256 synthAmount, (uint256,uint256,int256,int256) fees)
func (*SpotMarketOptimismSession) BuyExactOut ¶
func (_SpotMarketOptimism *SpotMarketOptimismSession) BuyExactOut(marketId *big.Int, synthAmount *big.Int, maxUsdAmount *big.Int, referrer common.Address) (*types.Transaction, error)
BuyExactOut is a paid mutator transaction binding the contract method 0x983220bb.
Solidity: function buyExactOut(uint128 marketId, uint256 synthAmount, uint256 maxUsdAmount, address referrer) returns(uint256 usdAmountCharged, (uint256,uint256,int256,int256) fees)
func (*SpotMarketOptimismSession) CancelOrder ¶
func (_SpotMarketOptimism *SpotMarketOptimismSession) CancelOrder(marketId *big.Int, asyncOrderId *big.Int) (*types.Transaction, error)
CancelOrder is a paid mutator transaction binding the contract method 0x4138dc53.
Solidity: function cancelOrder(uint128 marketId, uint128 asyncOrderId) returns()
func (*SpotMarketOptimismSession) CommitOrder ¶
func (_SpotMarketOptimism *SpotMarketOptimismSession) CommitOrder(marketId *big.Int, orderType uint8, amountProvided *big.Int, settlementStrategyId *big.Int, minimumSettlementAmount *big.Int, referrer common.Address) (*types.Transaction, error)
CommitOrder is a paid mutator transaction binding the contract method 0xd393340e.
Solidity: function commitOrder(uint128 marketId, uint8 orderType, uint256 amountProvided, uint256 settlementStrategyId, uint256 minimumSettlementAmount, address referrer) returns((uint128,address,uint8,uint256,uint256,uint256,uint256,uint256,address) asyncOrderClaim)
func (*SpotMarketOptimismSession) CreateSynth ¶
func (_SpotMarketOptimism *SpotMarketOptimismSession) CreateSynth(tokenName string, tokenSymbol string, synthOwner common.Address) (*types.Transaction, error)
CreateSynth is a paid mutator transaction binding the contract method 0x2e535d61.
Solidity: function createSynth(string tokenName, string tokenSymbol, address synthOwner) returns(uint128 synthMarketId)
func (*SpotMarketOptimismSession) GetAssociatedSystem ¶
func (_SpotMarketOptimism *SpotMarketOptimismSession) GetAssociatedSystem(id [32]byte) (struct { Addr common.Address Kind [32]byte }, error)
GetAssociatedSystem is a free data retrieval call binding the contract method 0x60988e09.
Solidity: function getAssociatedSystem(bytes32 id) view returns(address addr, bytes32 kind)
func (*SpotMarketOptimismSession) GetAsyncOrderClaim ¶
func (_SpotMarketOptimism *SpotMarketOptimismSession) GetAsyncOrderClaim(marketId *big.Int, asyncOrderId *big.Int) (AsyncOrderClaimData, error)
GetAsyncOrderClaim is a free data retrieval call binding the contract method 0x5381ce16.
Solidity: function getAsyncOrderClaim(uint128 marketId, uint128 asyncOrderId) pure returns((uint128,address,uint8,uint256,uint256,uint256,uint256,uint256,address) asyncOrderClaim)
func (*SpotMarketOptimismSession) GetCollateralLeverage ¶
func (_SpotMarketOptimism *SpotMarketOptimismSession) GetCollateralLeverage(synthMarketId *big.Int) (*big.Int, error)
GetCollateralLeverage is a free data retrieval call binding the contract method 0xcdfaef0f.
Solidity: function getCollateralLeverage(uint128 synthMarketId) view returns(uint256 collateralLeverage)
func (*SpotMarketOptimismSession) GetCustomTransactorFees ¶
func (_SpotMarketOptimism *SpotMarketOptimismSession) GetCustomTransactorFees(synthMarketId *big.Int, transactor common.Address) (*big.Int, error)
GetCustomTransactorFees is a free data retrieval call binding the contract method 0x2efaa971.
Solidity: function getCustomTransactorFees(uint128 synthMarketId, address transactor) view returns(uint256 fixedFeeAmount)
func (*SpotMarketOptimismSession) GetDeniers ¶
func (_SpotMarketOptimism *SpotMarketOptimismSession) GetDeniers(feature [32]byte) ([]common.Address, error)
GetDeniers is a free data retrieval call binding the contract method 0xed429cf7.
Solidity: function getDeniers(bytes32 feature) view returns(address[])
func (*SpotMarketOptimismSession) GetFeatureFlagAllowAll ¶
func (_SpotMarketOptimism *SpotMarketOptimismSession) GetFeatureFlagAllowAll(feature [32]byte) (bool, error)
GetFeatureFlagAllowAll is a free data retrieval call binding the contract method 0x40a399ef.
Solidity: function getFeatureFlagAllowAll(bytes32 feature) view returns(bool)
func (*SpotMarketOptimismSession) GetFeatureFlagAllowlist ¶
func (_SpotMarketOptimism *SpotMarketOptimismSession) GetFeatureFlagAllowlist(feature [32]byte) ([]common.Address, error)
GetFeatureFlagAllowlist is a free data retrieval call binding the contract method 0xe12c8160.
Solidity: function getFeatureFlagAllowlist(bytes32 feature) view returns(address[])
func (*SpotMarketOptimismSession) GetFeatureFlagDenyAll ¶
func (_SpotMarketOptimism *SpotMarketOptimismSession) GetFeatureFlagDenyAll(feature [32]byte) (bool, error)
GetFeatureFlagDenyAll is a free data retrieval call binding the contract method 0xbcae3ea0.
Solidity: function getFeatureFlagDenyAll(bytes32 feature) view returns(bool)
func (*SpotMarketOptimismSession) GetFeeCollector ¶
func (_SpotMarketOptimism *SpotMarketOptimismSession) GetFeeCollector(synthMarketId *big.Int) (common.Address, error)
GetFeeCollector is a free data retrieval call binding the contract method 0x5497eb23.
Solidity: function getFeeCollector(uint128 synthMarketId) view returns(address feeCollector)
func (*SpotMarketOptimismSession) GetImplementation ¶
func (_SpotMarketOptimism *SpotMarketOptimismSession) GetImplementation() (common.Address, error)
GetImplementation is a free data retrieval call binding the contract method 0xaaf10f42.
Solidity: function getImplementation() view returns(address)
func (*SpotMarketOptimismSession) GetMarketFees ¶
func (_SpotMarketOptimism *SpotMarketOptimismSession) GetMarketFees(synthMarketId *big.Int) (struct { AtomicFixedFee *big.Int AsyncFixedFee *big.Int WrapFee *big.Int UnwrapFee *big.Int }, error)
GetMarketFees is a free data retrieval call binding the contract method 0x32598e61.
Solidity: function getMarketFees(uint128 synthMarketId) view returns(uint256 atomicFixedFee, uint256 asyncFixedFee, int256 wrapFee, int256 unwrapFee)
func (*SpotMarketOptimismSession) GetMarketOwner ¶
func (_SpotMarketOptimism *SpotMarketOptimismSession) GetMarketOwner(synthMarketId *big.Int) (common.Address, error)
GetMarketOwner is a free data retrieval call binding the contract method 0xa7b8cb9f.
Solidity: function getMarketOwner(uint128 synthMarketId) view returns(address marketOwner)
func (*SpotMarketOptimismSession) GetMarketSkewScale ¶
func (_SpotMarketOptimism *SpotMarketOptimismSession) GetMarketSkewScale(synthMarketId *big.Int) (*big.Int, error)
GetMarketSkewScale is a free data retrieval call binding the contract method 0x8d105571.
Solidity: function getMarketSkewScale(uint128 synthMarketId) view returns(uint256 skewScale)
func (*SpotMarketOptimismSession) GetMarketUtilizationFees ¶
func (_SpotMarketOptimism *SpotMarketOptimismSession) GetMarketUtilizationFees(synthMarketId *big.Int) (*big.Int, error)
GetMarketUtilizationFees is a free data retrieval call binding the contract method 0xf375f324.
Solidity: function getMarketUtilizationFees(uint128 synthMarketId) view returns(uint256 utilizationFeeRate)
func (*SpotMarketOptimismSession) GetReferrerShare ¶
func (_SpotMarketOptimism *SpotMarketOptimismSession) GetReferrerShare(synthMarketId *big.Int, referrer common.Address) (*big.Int, error)
GetReferrerShare is a free data retrieval call binding the contract method 0xfa4b28ed.
Solidity: function getReferrerShare(uint128 synthMarketId, address referrer) view returns(uint256 sharePercentage)
func (*SpotMarketOptimismSession) GetSettlementStrategy ¶
func (_SpotMarketOptimism *SpotMarketOptimismSession) GetSettlementStrategy(marketId *big.Int, strategyId *big.Int) (SettlementStrategyData, error)
GetSettlementStrategy is a free data retrieval call binding the contract method 0xf74c377f.
Solidity: function getSettlementStrategy(uint128 marketId, uint256 strategyId) view returns((uint8,uint256,uint256,address,bytes32,string,uint256,uint256,uint256,uint256,bool) settlementStrategy)
func (*SpotMarketOptimismSession) GetSynth ¶
func (_SpotMarketOptimism *SpotMarketOptimismSession) GetSynth(marketId *big.Int) (common.Address, error)
GetSynth is a free data retrieval call binding the contract method 0x69e0365f.
Solidity: function getSynth(uint128 marketId) view returns(address synthAddress)
func (*SpotMarketOptimismSession) GetSynthImpl ¶
func (_SpotMarketOptimism *SpotMarketOptimismSession) GetSynthImpl(marketId *big.Int) (common.Address, error)
GetSynthImpl is a free data retrieval call binding the contract method 0x3e0c76ca.
Solidity: function getSynthImpl(uint128 marketId) view returns(address implAddress)
func (*SpotMarketOptimismSession) InitOrUpgradeNft ¶
func (_SpotMarketOptimism *SpotMarketOptimismSession) InitOrUpgradeNft(id [32]byte, name string, symbol string, uri string, impl common.Address) (*types.Transaction, error)
InitOrUpgradeNft is a paid mutator transaction binding the contract method 0x2d22bef9.
Solidity: function initOrUpgradeNft(bytes32 id, string name, string symbol, string uri, address impl) returns()
func (*SpotMarketOptimismSession) InitOrUpgradeToken ¶
func (_SpotMarketOptimism *SpotMarketOptimismSession) InitOrUpgradeToken(id [32]byte, name string, symbol string, decimals uint8, impl common.Address) (*types.Transaction, error)
InitOrUpgradeToken is a paid mutator transaction binding the contract method 0xc6f79537.
Solidity: function initOrUpgradeToken(bytes32 id, string name, string symbol, uint8 decimals, address impl) returns()
func (*SpotMarketOptimismSession) IsFeatureAllowed ¶
func (_SpotMarketOptimism *SpotMarketOptimismSession) IsFeatureAllowed(feature [32]byte, account common.Address) (bool, error)
IsFeatureAllowed is a free data retrieval call binding the contract method 0xcf635949.
Solidity: function isFeatureAllowed(bytes32 feature, address account) view returns(bool)
func (*SpotMarketOptimismSession) MinimumCredit ¶
func (_SpotMarketOptimism *SpotMarketOptimismSession) MinimumCredit(marketId *big.Int) (*big.Int, error)
MinimumCredit is a free data retrieval call binding the contract method 0xafe79200.
Solidity: function minimumCredit(uint128 marketId) view returns(uint256 lockedAmount)
func (*SpotMarketOptimismSession) Name ¶
func (_SpotMarketOptimism *SpotMarketOptimismSession) Name(marketId *big.Int) (string, error)
Name is a free data retrieval call binding the contract method 0xc624440a.
Solidity: function name(uint128 marketId) view returns(string marketName)
func (*SpotMarketOptimismSession) NominateMarketOwner ¶
func (_SpotMarketOptimism *SpotMarketOptimismSession) NominateMarketOwner(synthMarketId *big.Int, newNominatedOwner common.Address) (*types.Transaction, error)
NominateMarketOwner is a paid mutator transaction binding the contract method 0x5950864b.
Solidity: function nominateMarketOwner(uint128 synthMarketId, address newNominatedOwner) returns()
func (*SpotMarketOptimismSession) NominateNewOwner ¶
func (_SpotMarketOptimism *SpotMarketOptimismSession) NominateNewOwner(newNominatedOwner common.Address) (*types.Transaction, error)
NominateNewOwner is a paid mutator transaction binding the contract method 0x1627540c.
Solidity: function nominateNewOwner(address newNominatedOwner) returns()
func (*SpotMarketOptimismSession) NominatedOwner ¶
func (_SpotMarketOptimism *SpotMarketOptimismSession) NominatedOwner() (common.Address, error)
NominatedOwner is a free data retrieval call binding the contract method 0x53a47bb7.
Solidity: function nominatedOwner() view returns(address)
func (*SpotMarketOptimismSession) Owner ¶
func (_SpotMarketOptimism *SpotMarketOptimismSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*SpotMarketOptimismSession) PRECISION ¶
func (_SpotMarketOptimism *SpotMarketOptimismSession) PRECISION() (*big.Int, error)
PRECISION is a free data retrieval call binding the contract method 0xaaf5eb68.
Solidity: function PRECISION() view returns(int256)
func (*SpotMarketOptimismSession) QuoteBuyExactIn ¶
func (_SpotMarketOptimism *SpotMarketOptimismSession) QuoteBuyExactIn(marketId *big.Int, usdAmount *big.Int) (struct { SynthAmount *big.Int Fees OrderFeesData }, error)
QuoteBuyExactIn is a free data retrieval call binding the contract method 0x6b5e6ae4.
Solidity: function quoteBuyExactIn(uint128 marketId, uint256 usdAmount) view returns(uint256 synthAmount, (uint256,uint256,int256,int256) fees)
func (*SpotMarketOptimismSession) QuoteBuyExactOut ¶
func (_SpotMarketOptimism *SpotMarketOptimismSession) QuoteBuyExactOut(marketId *big.Int, synthAmount *big.Int) (struct { UsdAmountCharged *big.Int Fees OrderFeesData }, error)
QuoteBuyExactOut is a free data retrieval call binding the contract method 0x1f3f7640.
Solidity: function quoteBuyExactOut(uint128 marketId, uint256 synthAmount) view returns(uint256 usdAmountCharged, (uint256,uint256,int256,int256) fees)
func (*SpotMarketOptimismSession) QuoteSellExactIn ¶
func (_SpotMarketOptimism *SpotMarketOptimismSession) QuoteSellExactIn(marketId *big.Int, synthAmount *big.Int) (struct { ReturnAmount *big.Int Fees OrderFeesData }, error)
QuoteSellExactIn is a free data retrieval call binding the contract method 0xc52d1730.
Solidity: function quoteSellExactIn(uint128 marketId, uint256 synthAmount) view returns(uint256 returnAmount, (uint256,uint256,int256,int256) fees)
func (*SpotMarketOptimismSession) QuoteSellExactOut ¶
func (_SpotMarketOptimism *SpotMarketOptimismSession) QuoteSellExactOut(marketId *big.Int, usdAmount *big.Int) (struct { SynthToBurn *big.Int Fees OrderFeesData }, error)
QuoteSellExactOut is a free data retrieval call binding the contract method 0x2c007522.
Solidity: function quoteSellExactOut(uint128 marketId, uint256 usdAmount) view returns(uint256 synthToBurn, (uint256,uint256,int256,int256) fees)
func (*SpotMarketOptimismSession) RegisterUnmanagedSystem ¶
func (_SpotMarketOptimism *SpotMarketOptimismSession) RegisterUnmanagedSystem(id [32]byte, endpoint common.Address) (*types.Transaction, error)
RegisterUnmanagedSystem is a paid mutator transaction binding the contract method 0xd245d983.
Solidity: function registerUnmanagedSystem(bytes32 id, address endpoint) returns()
func (*SpotMarketOptimismSession) RemoveFromFeatureFlagAllowlist ¶
func (_SpotMarketOptimism *SpotMarketOptimismSession) RemoveFromFeatureFlagAllowlist(feature [32]byte, account common.Address) (*types.Transaction, error)
RemoveFromFeatureFlagAllowlist is a paid mutator transaction binding the contract method 0xb7746b59.
Solidity: function removeFromFeatureFlagAllowlist(bytes32 feature, address account) returns()
func (*SpotMarketOptimismSession) RenounceMarketNomination ¶
func (_SpotMarketOptimism *SpotMarketOptimismSession) RenounceMarketNomination(synthMarketId *big.Int) (*types.Transaction, error)
RenounceMarketNomination is a paid mutator transaction binding the contract method 0x298b26bf.
Solidity: function renounceMarketNomination(uint128 synthMarketId) returns()
func (*SpotMarketOptimismSession) RenounceMarketOwnership ¶ added in v0.1.5
func (_SpotMarketOptimism *SpotMarketOptimismSession) RenounceMarketOwnership(synthMarketId *big.Int) (*types.Transaction, error)
RenounceMarketOwnership is a paid mutator transaction binding the contract method 0xbd1cdfb5.
Solidity: function renounceMarketOwnership(uint128 synthMarketId) returns()
func (*SpotMarketOptimismSession) RenounceNomination ¶
func (_SpotMarketOptimism *SpotMarketOptimismSession) RenounceNomination() (*types.Transaction, error)
RenounceNomination is a paid mutator transaction binding the contract method 0x718fe928.
Solidity: function renounceNomination() returns()
func (*SpotMarketOptimismSession) ReportedDebt ¶
func (_SpotMarketOptimism *SpotMarketOptimismSession) ReportedDebt(marketId *big.Int) (*big.Int, error)
ReportedDebt is a free data retrieval call binding the contract method 0xbcec0d0f.
Solidity: function reportedDebt(uint128 marketId) view returns(uint256 reportedDebtAmount)
func (*SpotMarketOptimismSession) Sell ¶
func (_SpotMarketOptimism *SpotMarketOptimismSession) Sell(marketId *big.Int, synthAmount *big.Int, minUsdAmount *big.Int, referrer common.Address) (*types.Transaction, error)
Sell is a paid mutator transaction binding the contract method 0x4d4bfbd5.
Solidity: function sell(uint128 marketId, uint256 synthAmount, uint256 minUsdAmount, address referrer) returns(uint256 usdAmountReceived, (uint256,uint256,int256,int256) fees)
func (*SpotMarketOptimismSession) SellExactIn ¶
func (_SpotMarketOptimism *SpotMarketOptimismSession) SellExactIn(marketId *big.Int, synthAmount *big.Int, minAmountReceived *big.Int, referrer common.Address) (*types.Transaction, error)
SellExactIn is a paid mutator transaction binding the contract method 0x3d1a60e4.
Solidity: function sellExactIn(uint128 marketId, uint256 synthAmount, uint256 minAmountReceived, address referrer) returns(uint256 returnAmount, (uint256,uint256,int256,int256) fees)
func (*SpotMarketOptimismSession) SellExactOut ¶
func (_SpotMarketOptimism *SpotMarketOptimismSession) SellExactOut(marketId *big.Int, usdAmount *big.Int, maxSynthAmount *big.Int, referrer common.Address) (*types.Transaction, error)
SellExactOut is a paid mutator transaction binding the contract method 0x4ce94d9d.
Solidity: function sellExactOut(uint128 marketId, uint256 usdAmount, uint256 maxSynthAmount, address referrer) returns(uint256 synthToBurn, (uint256,uint256,int256,int256) fees)
func (*SpotMarketOptimismSession) SetAsyncFixedFee ¶
func (_SpotMarketOptimism *SpotMarketOptimismSession) SetAsyncFixedFee(synthMarketId *big.Int, asyncFixedFee *big.Int) (*types.Transaction, error)
SetAsyncFixedFee is a paid mutator transaction binding the contract method 0x61dcca86.
Solidity: function setAsyncFixedFee(uint128 synthMarketId, uint256 asyncFixedFee) returns()
func (*SpotMarketOptimismSession) SetAtomicFixedFee ¶
func (_SpotMarketOptimism *SpotMarketOptimismSession) SetAtomicFixedFee(synthMarketId *big.Int, atomicFixedFee *big.Int) (*types.Transaction, error)
SetAtomicFixedFee is a paid mutator transaction binding the contract method 0x480be91f.
Solidity: function setAtomicFixedFee(uint128 synthMarketId, uint256 atomicFixedFee) returns()
func (*SpotMarketOptimismSession) SetCollateralLeverage ¶
func (_SpotMarketOptimism *SpotMarketOptimismSession) SetCollateralLeverage(synthMarketId *big.Int, collateralLeverage *big.Int) (*types.Transaction, error)
SetCollateralLeverage is a paid mutator transaction binding the contract method 0x21f7f58f.
Solidity: function setCollateralLeverage(uint128 synthMarketId, uint256 collateralLeverage) returns()
func (*SpotMarketOptimismSession) SetCustomTransactorFees ¶
func (_SpotMarketOptimism *SpotMarketOptimismSession) SetCustomTransactorFees(synthMarketId *big.Int, transactor common.Address, fixedFeeAmount *big.Int) (*types.Transaction, error)
SetCustomTransactorFees is a paid mutator transaction binding the contract method 0x95fcd547.
Solidity: function setCustomTransactorFees(uint128 synthMarketId, address transactor, uint256 fixedFeeAmount) returns()
func (*SpotMarketOptimismSession) SetDecayRate ¶
func (_SpotMarketOptimism *SpotMarketOptimismSession) SetDecayRate(marketId *big.Int, rate *big.Int) (*types.Transaction, error)
SetDecayRate is a paid mutator transaction binding the contract method 0xec846bac.
Solidity: function setDecayRate(uint128 marketId, uint256 rate) returns()
func (*SpotMarketOptimismSession) SetDeniers ¶
func (_SpotMarketOptimism *SpotMarketOptimismSession) SetDeniers(feature [32]byte, deniers []common.Address) (*types.Transaction, error)
SetDeniers is a paid mutator transaction binding the contract method 0x715cb7d2.
Solidity: function setDeniers(bytes32 feature, address[] deniers) returns()
func (*SpotMarketOptimismSession) SetFeatureFlagAllowAll ¶
func (_SpotMarketOptimism *SpotMarketOptimismSession) SetFeatureFlagAllowAll(feature [32]byte, allowAll bool) (*types.Transaction, error)
SetFeatureFlagAllowAll is a paid mutator transaction binding the contract method 0x7d632bd2.
Solidity: function setFeatureFlagAllowAll(bytes32 feature, bool allowAll) returns()
func (*SpotMarketOptimismSession) SetFeatureFlagDenyAll ¶
func (_SpotMarketOptimism *SpotMarketOptimismSession) SetFeatureFlagDenyAll(feature [32]byte, denyAll bool) (*types.Transaction, error)
SetFeatureFlagDenyAll is a paid mutator transaction binding the contract method 0x5e52ad6e.
Solidity: function setFeatureFlagDenyAll(bytes32 feature, bool denyAll) returns()
func (*SpotMarketOptimismSession) SetFeeCollector ¶
func (_SpotMarketOptimism *SpotMarketOptimismSession) SetFeeCollector(synthMarketId *big.Int, feeCollector common.Address) (*types.Transaction, error)
SetFeeCollector is a paid mutator transaction binding the contract method 0x025f6120.
Solidity: function setFeeCollector(uint128 synthMarketId, address feeCollector) returns()
func (*SpotMarketOptimismSession) SetMarketSkewScale ¶
func (_SpotMarketOptimism *SpotMarketOptimismSession) SetMarketSkewScale(synthMarketId *big.Int, skewScale *big.Int) (*types.Transaction, error)
SetMarketSkewScale is a paid mutator transaction binding the contract method 0x9a40f8cb.
Solidity: function setMarketSkewScale(uint128 synthMarketId, uint256 skewScale) returns()
func (*SpotMarketOptimismSession) SetMarketUtilizationFees ¶
func (_SpotMarketOptimism *SpotMarketOptimismSession) SetMarketUtilizationFees(synthMarketId *big.Int, utilizationFeeRate *big.Int) (*types.Transaction, error)
SetMarketUtilizationFees is a paid mutator transaction binding the contract method 0x45f2601c.
Solidity: function setMarketUtilizationFees(uint128 synthMarketId, uint256 utilizationFeeRate) returns()
func (*SpotMarketOptimismSession) SetSettlementStrategyEnabled ¶
func (_SpotMarketOptimism *SpotMarketOptimismSession) SetSettlementStrategyEnabled(marketId *big.Int, strategyId *big.Int, enabled bool) (*types.Transaction, error)
SetSettlementStrategyEnabled is a paid mutator transaction binding the contract method 0x7f73a891.
Solidity: function setSettlementStrategyEnabled(uint128 marketId, uint256 strategyId, bool enabled) returns()
func (*SpotMarketOptimismSession) SetSynthImplementation ¶
func (_SpotMarketOptimism *SpotMarketOptimismSession) SetSynthImplementation(synthImplementation common.Address) (*types.Transaction, error)
SetSynthImplementation is a paid mutator transaction binding the contract method 0xec04ceb1.
Solidity: function setSynthImplementation(address synthImplementation) returns()
func (*SpotMarketOptimismSession) SetSynthetix ¶
func (_SpotMarketOptimism *SpotMarketOptimismSession) SetSynthetix(synthetix common.Address) (*types.Transaction, error)
SetSynthetix is a paid mutator transaction binding the contract method 0xfec9f9da.
Solidity: function setSynthetix(address synthetix) returns()
func (*SpotMarketOptimismSession) SetWrapper ¶
func (_SpotMarketOptimism *SpotMarketOptimismSession) SetWrapper(marketId *big.Int, wrapCollateralType common.Address, maxWrappableAmount *big.Int) (*types.Transaction, error)
SetWrapper is a paid mutator transaction binding the contract method 0x673a21e5.
Solidity: function setWrapper(uint128 marketId, address wrapCollateralType, uint256 maxWrappableAmount) returns()
func (*SpotMarketOptimismSession) SetWrapperFees ¶
func (_SpotMarketOptimism *SpotMarketOptimismSession) SetWrapperFees(synthMarketId *big.Int, wrapFee *big.Int, unwrapFee *big.Int) (*types.Transaction, error)
SetWrapperFees is a paid mutator transaction binding the contract method 0x6539b1c3.
Solidity: function setWrapperFees(uint128 synthMarketId, int256 wrapFee, int256 unwrapFee) returns()
func (*SpotMarketOptimismSession) SettleOrder ¶
func (_SpotMarketOptimism *SpotMarketOptimismSession) SettleOrder(marketId *big.Int, asyncOrderId *big.Int) (*types.Transaction, error)
SettleOrder is a paid mutator transaction binding the contract method 0x9444ac48.
Solidity: function settleOrder(uint128 marketId, uint128 asyncOrderId) returns(uint256 finalOrderAmount, (uint256,uint256,int256,int256) fees)
func (*SpotMarketOptimismSession) SettlePythOrder ¶
func (_SpotMarketOptimism *SpotMarketOptimismSession) SettlePythOrder(result []byte, extraData []byte) (*types.Transaction, error)
SettlePythOrder is a paid mutator transaction binding the contract method 0x8a0345c6.
Solidity: function settlePythOrder(bytes result, bytes extraData) payable returns(uint256 finalOrderAmount, (uint256,uint256,int256,int256) fees)
func (*SpotMarketOptimismSession) SimulateUpgradeTo ¶
func (_SpotMarketOptimism *SpotMarketOptimismSession) SimulateUpgradeTo(newImplementation common.Address) (*types.Transaction, error)
SimulateUpgradeTo is a paid mutator transaction binding the contract method 0xc7f62cda.
Solidity: function simulateUpgradeTo(address newImplementation) returns()
func (*SpotMarketOptimismSession) SupportsInterface ¶
func (_SpotMarketOptimism *SpotMarketOptimismSession) SupportsInterface(interfaceId [4]byte) (bool, error)
SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.
Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool isSupported)
func (*SpotMarketOptimismSession) Unwrap ¶
func (_SpotMarketOptimism *SpotMarketOptimismSession) Unwrap(marketId *big.Int, unwrapAmount *big.Int, minAmountReceived *big.Int) (*types.Transaction, error)
Unwrap is a paid mutator transaction binding the contract method 0x784dad9e.
Solidity: function unwrap(uint128 marketId, uint256 unwrapAmount, uint256 minAmountReceived) returns(uint256 returnCollateralAmount, (uint256,uint256,int256,int256) fees)
func (*SpotMarketOptimismSession) UpdatePriceData ¶
func (_SpotMarketOptimism *SpotMarketOptimismSession) UpdatePriceData(synthMarketId *big.Int, buyFeedId [32]byte, sellFeedId [32]byte) (*types.Transaction, error)
UpdatePriceData is a paid mutator transaction binding the contract method 0x6a0e2085.
Solidity: function updatePriceData(uint128 synthMarketId, bytes32 buyFeedId, bytes32 sellFeedId) returns()
func (*SpotMarketOptimismSession) UpdateReferrerShare ¶
func (_SpotMarketOptimism *SpotMarketOptimismSession) UpdateReferrerShare(synthMarketId *big.Int, referrer common.Address, sharePercentage *big.Int) (*types.Transaction, error)
UpdateReferrerShare is a paid mutator transaction binding the contract method 0x6ad77077.
Solidity: function updateReferrerShare(uint128 synthMarketId, address referrer, uint256 sharePercentage) returns()
func (*SpotMarketOptimismSession) UpgradeSynthImpl ¶
func (_SpotMarketOptimism *SpotMarketOptimismSession) UpgradeSynthImpl(marketId *big.Int) (*types.Transaction, error)
UpgradeSynthImpl is a paid mutator transaction binding the contract method 0xc99d0cdd.
Solidity: function upgradeSynthImpl(uint128 marketId) returns()
func (*SpotMarketOptimismSession) UpgradeTo ¶
func (_SpotMarketOptimism *SpotMarketOptimismSession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error)
UpgradeTo is a paid mutator transaction binding the contract method 0x3659cfe6.
Solidity: function upgradeTo(address newImplementation) returns()
func (*SpotMarketOptimismSession) Wrap ¶
func (_SpotMarketOptimism *SpotMarketOptimismSession) Wrap(marketId *big.Int, wrapAmount *big.Int, minAmountReceived *big.Int) (*types.Transaction, error)
Wrap is a paid mutator transaction binding the contract method 0xd7ce770c.
Solidity: function wrap(uint128 marketId, uint256 wrapAmount, uint256 minAmountReceived) returns(uint256 amountToMint, (uint256,uint256,int256,int256) fees)
type SpotMarketOptimismSettlementStrategyAdded ¶
type SpotMarketOptimismSettlementStrategyAdded struct { SynthMarketId *big.Int StrategyId *big.Int Raw types.Log // Blockchain specific contextual infos }
SpotMarketOptimismSettlementStrategyAdded represents a SettlementStrategyAdded event raised by the SpotMarketOptimism contract.
type SpotMarketOptimismSettlementStrategyAddedIterator ¶
type SpotMarketOptimismSettlementStrategyAddedIterator struct { Event *SpotMarketOptimismSettlementStrategyAdded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SpotMarketOptimismSettlementStrategyAddedIterator is returned from FilterSettlementStrategyAdded and is used to iterate over the raw logs and unpacked data for SettlementStrategyAdded events raised by the SpotMarketOptimism contract.
func (*SpotMarketOptimismSettlementStrategyAddedIterator) Close ¶
func (it *SpotMarketOptimismSettlementStrategyAddedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SpotMarketOptimismSettlementStrategyAddedIterator) Error ¶
func (it *SpotMarketOptimismSettlementStrategyAddedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SpotMarketOptimismSettlementStrategyAddedIterator) Next ¶
func (it *SpotMarketOptimismSettlementStrategyAddedIterator) 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 SpotMarketOptimismSettlementStrategyUpdated ¶
type SpotMarketOptimismSettlementStrategyUpdated struct { SynthMarketId *big.Int StrategyId *big.Int Enabled bool Raw types.Log // Blockchain specific contextual infos }
SpotMarketOptimismSettlementStrategyUpdated represents a SettlementStrategyUpdated event raised by the SpotMarketOptimism contract.
type SpotMarketOptimismSettlementStrategyUpdatedIterator ¶
type SpotMarketOptimismSettlementStrategyUpdatedIterator struct { Event *SpotMarketOptimismSettlementStrategyUpdated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SpotMarketOptimismSettlementStrategyUpdatedIterator is returned from FilterSettlementStrategyUpdated and is used to iterate over the raw logs and unpacked data for SettlementStrategyUpdated events raised by the SpotMarketOptimism contract.
func (*SpotMarketOptimismSettlementStrategyUpdatedIterator) Close ¶
func (it *SpotMarketOptimismSettlementStrategyUpdatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SpotMarketOptimismSettlementStrategyUpdatedIterator) Error ¶
func (it *SpotMarketOptimismSettlementStrategyUpdatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SpotMarketOptimismSettlementStrategyUpdatedIterator) Next ¶
func (it *SpotMarketOptimismSettlementStrategyUpdatedIterator) 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 SpotMarketOptimismSynthBought ¶
type SpotMarketOptimismSynthBought struct { SynthMarketId *big.Int SynthReturned *big.Int Fees OrderFeesData CollectedFees *big.Int Referrer common.Address Price *big.Int Raw types.Log // Blockchain specific contextual infos }
SpotMarketOptimismSynthBought represents a SynthBought event raised by the SpotMarketOptimism contract.
type SpotMarketOptimismSynthBoughtIterator ¶
type SpotMarketOptimismSynthBoughtIterator struct { Event *SpotMarketOptimismSynthBought // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SpotMarketOptimismSynthBoughtIterator is returned from FilterSynthBought and is used to iterate over the raw logs and unpacked data for SynthBought events raised by the SpotMarketOptimism contract.
func (*SpotMarketOptimismSynthBoughtIterator) Close ¶
func (it *SpotMarketOptimismSynthBoughtIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SpotMarketOptimismSynthBoughtIterator) Error ¶
func (it *SpotMarketOptimismSynthBoughtIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SpotMarketOptimismSynthBoughtIterator) Next ¶
func (it *SpotMarketOptimismSynthBoughtIterator) 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 SpotMarketOptimismSynthImplementationSet ¶
type SpotMarketOptimismSynthImplementationSet struct { SynthImplementation common.Address Raw types.Log // Blockchain specific contextual infos }
SpotMarketOptimismSynthImplementationSet represents a SynthImplementationSet event raised by the SpotMarketOptimism contract.
type SpotMarketOptimismSynthImplementationSetIterator ¶
type SpotMarketOptimismSynthImplementationSetIterator struct { Event *SpotMarketOptimismSynthImplementationSet // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SpotMarketOptimismSynthImplementationSetIterator is returned from FilterSynthImplementationSet and is used to iterate over the raw logs and unpacked data for SynthImplementationSet events raised by the SpotMarketOptimism contract.
func (*SpotMarketOptimismSynthImplementationSetIterator) Close ¶
func (it *SpotMarketOptimismSynthImplementationSetIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SpotMarketOptimismSynthImplementationSetIterator) Error ¶
func (it *SpotMarketOptimismSynthImplementationSetIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SpotMarketOptimismSynthImplementationSetIterator) Next ¶
func (it *SpotMarketOptimismSynthImplementationSetIterator) 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 SpotMarketOptimismSynthImplementationUpgraded ¶
type SpotMarketOptimismSynthImplementationUpgraded struct { SynthMarketId *big.Int Proxy common.Address Implementation common.Address Raw types.Log // Blockchain specific contextual infos }
SpotMarketOptimismSynthImplementationUpgraded represents a SynthImplementationUpgraded event raised by the SpotMarketOptimism contract.
type SpotMarketOptimismSynthImplementationUpgradedIterator ¶
type SpotMarketOptimismSynthImplementationUpgradedIterator struct { Event *SpotMarketOptimismSynthImplementationUpgraded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SpotMarketOptimismSynthImplementationUpgradedIterator is returned from FilterSynthImplementationUpgraded and is used to iterate over the raw logs and unpacked data for SynthImplementationUpgraded events raised by the SpotMarketOptimism contract.
func (*SpotMarketOptimismSynthImplementationUpgradedIterator) Close ¶
func (it *SpotMarketOptimismSynthImplementationUpgradedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SpotMarketOptimismSynthImplementationUpgradedIterator) Error ¶
func (it *SpotMarketOptimismSynthImplementationUpgradedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SpotMarketOptimismSynthImplementationUpgradedIterator) Next ¶
func (it *SpotMarketOptimismSynthImplementationUpgradedIterator) 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 SpotMarketOptimismSynthPriceDataUpdated ¶
type SpotMarketOptimismSynthPriceDataUpdated struct { SynthMarketId *big.Int BuyFeedId [32]byte SellFeedId [32]byte Raw types.Log // Blockchain specific contextual infos }
SpotMarketOptimismSynthPriceDataUpdated represents a SynthPriceDataUpdated event raised by the SpotMarketOptimism contract.
type SpotMarketOptimismSynthPriceDataUpdatedIterator ¶
type SpotMarketOptimismSynthPriceDataUpdatedIterator struct { Event *SpotMarketOptimismSynthPriceDataUpdated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SpotMarketOptimismSynthPriceDataUpdatedIterator is returned from FilterSynthPriceDataUpdated and is used to iterate over the raw logs and unpacked data for SynthPriceDataUpdated events raised by the SpotMarketOptimism contract.
func (*SpotMarketOptimismSynthPriceDataUpdatedIterator) Close ¶
func (it *SpotMarketOptimismSynthPriceDataUpdatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SpotMarketOptimismSynthPriceDataUpdatedIterator) Error ¶
func (it *SpotMarketOptimismSynthPriceDataUpdatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SpotMarketOptimismSynthPriceDataUpdatedIterator) Next ¶
func (it *SpotMarketOptimismSynthPriceDataUpdatedIterator) 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 SpotMarketOptimismSynthRegistered ¶
type SpotMarketOptimismSynthRegistered struct { SynthMarketId *big.Int SynthTokenAddress common.Address Raw types.Log // Blockchain specific contextual infos }
SpotMarketOptimismSynthRegistered represents a SynthRegistered event raised by the SpotMarketOptimism contract.
type SpotMarketOptimismSynthRegisteredIterator ¶
type SpotMarketOptimismSynthRegisteredIterator struct { Event *SpotMarketOptimismSynthRegistered // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SpotMarketOptimismSynthRegisteredIterator is returned from FilterSynthRegistered and is used to iterate over the raw logs and unpacked data for SynthRegistered events raised by the SpotMarketOptimism contract.
func (*SpotMarketOptimismSynthRegisteredIterator) Close ¶
func (it *SpotMarketOptimismSynthRegisteredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SpotMarketOptimismSynthRegisteredIterator) Error ¶
func (it *SpotMarketOptimismSynthRegisteredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SpotMarketOptimismSynthRegisteredIterator) Next ¶
func (it *SpotMarketOptimismSynthRegisteredIterator) 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 SpotMarketOptimismSynthSold ¶
type SpotMarketOptimismSynthSold struct { SynthMarketId *big.Int AmountReturned *big.Int Fees OrderFeesData CollectedFees *big.Int Referrer common.Address Price *big.Int Raw types.Log // Blockchain specific contextual infos }
SpotMarketOptimismSynthSold represents a SynthSold event raised by the SpotMarketOptimism contract.
type SpotMarketOptimismSynthSoldIterator ¶
type SpotMarketOptimismSynthSoldIterator struct { Event *SpotMarketOptimismSynthSold // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SpotMarketOptimismSynthSoldIterator is returned from FilterSynthSold and is used to iterate over the raw logs and unpacked data for SynthSold events raised by the SpotMarketOptimism contract.
func (*SpotMarketOptimismSynthSoldIterator) Close ¶
func (it *SpotMarketOptimismSynthSoldIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SpotMarketOptimismSynthSoldIterator) Error ¶
func (it *SpotMarketOptimismSynthSoldIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SpotMarketOptimismSynthSoldIterator) Next ¶
func (it *SpotMarketOptimismSynthSoldIterator) 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 SpotMarketOptimismSynthUnwrapped ¶
type SpotMarketOptimismSynthUnwrapped struct { SynthMarketId *big.Int AmountUnwrapped *big.Int Fees OrderFeesData FeesCollected *big.Int Raw types.Log // Blockchain specific contextual infos }
SpotMarketOptimismSynthUnwrapped represents a SynthUnwrapped event raised by the SpotMarketOptimism contract.
type SpotMarketOptimismSynthUnwrappedIterator ¶
type SpotMarketOptimismSynthUnwrappedIterator struct { Event *SpotMarketOptimismSynthUnwrapped // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SpotMarketOptimismSynthUnwrappedIterator is returned from FilterSynthUnwrapped and is used to iterate over the raw logs and unpacked data for SynthUnwrapped events raised by the SpotMarketOptimism contract.
func (*SpotMarketOptimismSynthUnwrappedIterator) Close ¶
func (it *SpotMarketOptimismSynthUnwrappedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SpotMarketOptimismSynthUnwrappedIterator) Error ¶
func (it *SpotMarketOptimismSynthUnwrappedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SpotMarketOptimismSynthUnwrappedIterator) Next ¶
func (it *SpotMarketOptimismSynthUnwrappedIterator) 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 SpotMarketOptimismSynthWrapped ¶
type SpotMarketOptimismSynthWrapped struct { SynthMarketId *big.Int AmountWrapped *big.Int Fees OrderFeesData FeesCollected *big.Int Raw types.Log // Blockchain specific contextual infos }
SpotMarketOptimismSynthWrapped represents a SynthWrapped event raised by the SpotMarketOptimism contract.
type SpotMarketOptimismSynthWrappedIterator ¶
type SpotMarketOptimismSynthWrappedIterator struct { Event *SpotMarketOptimismSynthWrapped // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SpotMarketOptimismSynthWrappedIterator is returned from FilterSynthWrapped and is used to iterate over the raw logs and unpacked data for SynthWrapped events raised by the SpotMarketOptimism contract.
func (*SpotMarketOptimismSynthWrappedIterator) Close ¶
func (it *SpotMarketOptimismSynthWrappedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SpotMarketOptimismSynthWrappedIterator) Error ¶
func (it *SpotMarketOptimismSynthWrappedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SpotMarketOptimismSynthWrappedIterator) Next ¶
func (it *SpotMarketOptimismSynthWrappedIterator) 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 SpotMarketOptimismSynthetixSystemSet ¶
type SpotMarketOptimismSynthetixSystemSet struct { Synthetix common.Address UsdTokenAddress common.Address OracleManager common.Address Raw types.Log // Blockchain specific contextual infos }
SpotMarketOptimismSynthetixSystemSet represents a SynthetixSystemSet event raised by the SpotMarketOptimism contract.
type SpotMarketOptimismSynthetixSystemSetIterator ¶
type SpotMarketOptimismSynthetixSystemSetIterator struct { Event *SpotMarketOptimismSynthetixSystemSet // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SpotMarketOptimismSynthetixSystemSetIterator is returned from FilterSynthetixSystemSet and is used to iterate over the raw logs and unpacked data for SynthetixSystemSet events raised by the SpotMarketOptimism contract.
func (*SpotMarketOptimismSynthetixSystemSetIterator) Close ¶
func (it *SpotMarketOptimismSynthetixSystemSetIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SpotMarketOptimismSynthetixSystemSetIterator) Error ¶
func (it *SpotMarketOptimismSynthetixSystemSetIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SpotMarketOptimismSynthetixSystemSetIterator) Next ¶
func (it *SpotMarketOptimismSynthetixSystemSetIterator) 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 SpotMarketOptimismTransactor ¶
type SpotMarketOptimismTransactor struct {
// contains filtered or unexported fields
}
SpotMarketOptimismTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewSpotMarketOptimismTransactor ¶
func NewSpotMarketOptimismTransactor(address common.Address, transactor bind.ContractTransactor) (*SpotMarketOptimismTransactor, error)
NewSpotMarketOptimismTransactor creates a new write-only instance of SpotMarketOptimism, bound to a specific deployed contract.
func (*SpotMarketOptimismTransactor) AcceptMarketOwnership ¶
func (_SpotMarketOptimism *SpotMarketOptimismTransactor) AcceptMarketOwnership(opts *bind.TransactOpts, synthMarketId *big.Int) (*types.Transaction, error)
AcceptMarketOwnership is a paid mutator transaction binding the contract method 0x1c216a0e.
Solidity: function acceptMarketOwnership(uint128 synthMarketId) returns()
func (*SpotMarketOptimismTransactor) AcceptOwnership ¶
func (_SpotMarketOptimism *SpotMarketOptimismTransactor) AcceptOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.
Solidity: function acceptOwnership() returns()
func (*SpotMarketOptimismTransactor) AddSettlementStrategy ¶
func (_SpotMarketOptimism *SpotMarketOptimismTransactor) AddSettlementStrategy(opts *bind.TransactOpts, marketId *big.Int, strategy SettlementStrategyData) (*types.Transaction, error)
AddSettlementStrategy is a paid mutator transaction binding the contract method 0x97b30e6d.
Solidity: function addSettlementStrategy(uint128 marketId, (uint8,uint256,uint256,address,bytes32,string,uint256,uint256,uint256,uint256,bool) strategy) returns(uint256 strategyId)
func (*SpotMarketOptimismTransactor) AddToFeatureFlagAllowlist ¶
func (_SpotMarketOptimism *SpotMarketOptimismTransactor) AddToFeatureFlagAllowlist(opts *bind.TransactOpts, feature [32]byte, account common.Address) (*types.Transaction, error)
AddToFeatureFlagAllowlist is a paid mutator transaction binding the contract method 0xa0778144.
Solidity: function addToFeatureFlagAllowlist(bytes32 feature, address account) returns()
func (*SpotMarketOptimismTransactor) Buy ¶
func (_SpotMarketOptimism *SpotMarketOptimismTransactor) Buy(opts *bind.TransactOpts, marketId *big.Int, usdAmount *big.Int, minAmountReceived *big.Int, referrer common.Address) (*types.Transaction, error)
Buy is a paid mutator transaction binding the contract method 0x37fb3369.
Solidity: function buy(uint128 marketId, uint256 usdAmount, uint256 minAmountReceived, address referrer) returns(uint256 synthAmount, (uint256,uint256,int256,int256) fees)
func (*SpotMarketOptimismTransactor) BuyExactIn ¶
func (_SpotMarketOptimism *SpotMarketOptimismTransactor) BuyExactIn(opts *bind.TransactOpts, marketId *big.Int, usdAmount *big.Int, minAmountReceived *big.Int, referrer common.Address) (*types.Transaction, error)
BuyExactIn is a paid mutator transaction binding the contract method 0xa12d9400.
Solidity: function buyExactIn(uint128 marketId, uint256 usdAmount, uint256 minAmountReceived, address referrer) returns(uint256 synthAmount, (uint256,uint256,int256,int256) fees)
func (*SpotMarketOptimismTransactor) BuyExactOut ¶
func (_SpotMarketOptimism *SpotMarketOptimismTransactor) BuyExactOut(opts *bind.TransactOpts, marketId *big.Int, synthAmount *big.Int, maxUsdAmount *big.Int, referrer common.Address) (*types.Transaction, error)
BuyExactOut is a paid mutator transaction binding the contract method 0x983220bb.
Solidity: function buyExactOut(uint128 marketId, uint256 synthAmount, uint256 maxUsdAmount, address referrer) returns(uint256 usdAmountCharged, (uint256,uint256,int256,int256) fees)
func (*SpotMarketOptimismTransactor) CancelOrder ¶
func (_SpotMarketOptimism *SpotMarketOptimismTransactor) CancelOrder(opts *bind.TransactOpts, marketId *big.Int, asyncOrderId *big.Int) (*types.Transaction, error)
CancelOrder is a paid mutator transaction binding the contract method 0x4138dc53.
Solidity: function cancelOrder(uint128 marketId, uint128 asyncOrderId) returns()
func (*SpotMarketOptimismTransactor) CommitOrder ¶
func (_SpotMarketOptimism *SpotMarketOptimismTransactor) CommitOrder(opts *bind.TransactOpts, marketId *big.Int, orderType uint8, amountProvided *big.Int, settlementStrategyId *big.Int, minimumSettlementAmount *big.Int, referrer common.Address) (*types.Transaction, error)
CommitOrder is a paid mutator transaction binding the contract method 0xd393340e.
Solidity: function commitOrder(uint128 marketId, uint8 orderType, uint256 amountProvided, uint256 settlementStrategyId, uint256 minimumSettlementAmount, address referrer) returns((uint128,address,uint8,uint256,uint256,uint256,uint256,uint256,address) asyncOrderClaim)
func (*SpotMarketOptimismTransactor) CreateSynth ¶
func (_SpotMarketOptimism *SpotMarketOptimismTransactor) CreateSynth(opts *bind.TransactOpts, tokenName string, tokenSymbol string, synthOwner common.Address) (*types.Transaction, error)
CreateSynth is a paid mutator transaction binding the contract method 0x2e535d61.
Solidity: function createSynth(string tokenName, string tokenSymbol, address synthOwner) returns(uint128 synthMarketId)
func (*SpotMarketOptimismTransactor) InitOrUpgradeNft ¶
func (_SpotMarketOptimism *SpotMarketOptimismTransactor) InitOrUpgradeNft(opts *bind.TransactOpts, id [32]byte, name string, symbol string, uri string, impl common.Address) (*types.Transaction, error)
InitOrUpgradeNft is a paid mutator transaction binding the contract method 0x2d22bef9.
Solidity: function initOrUpgradeNft(bytes32 id, string name, string symbol, string uri, address impl) returns()
func (*SpotMarketOptimismTransactor) InitOrUpgradeToken ¶
func (_SpotMarketOptimism *SpotMarketOptimismTransactor) InitOrUpgradeToken(opts *bind.TransactOpts, id [32]byte, name string, symbol string, decimals uint8, impl common.Address) (*types.Transaction, error)
InitOrUpgradeToken is a paid mutator transaction binding the contract method 0xc6f79537.
Solidity: function initOrUpgradeToken(bytes32 id, string name, string symbol, uint8 decimals, address impl) returns()
func (*SpotMarketOptimismTransactor) NominateMarketOwner ¶
func (_SpotMarketOptimism *SpotMarketOptimismTransactor) NominateMarketOwner(opts *bind.TransactOpts, synthMarketId *big.Int, newNominatedOwner common.Address) (*types.Transaction, error)
NominateMarketOwner is a paid mutator transaction binding the contract method 0x5950864b.
Solidity: function nominateMarketOwner(uint128 synthMarketId, address newNominatedOwner) returns()
func (*SpotMarketOptimismTransactor) NominateNewOwner ¶
func (_SpotMarketOptimism *SpotMarketOptimismTransactor) NominateNewOwner(opts *bind.TransactOpts, newNominatedOwner common.Address) (*types.Transaction, error)
NominateNewOwner is a paid mutator transaction binding the contract method 0x1627540c.
Solidity: function nominateNewOwner(address newNominatedOwner) returns()
func (*SpotMarketOptimismTransactor) RegisterUnmanagedSystem ¶
func (_SpotMarketOptimism *SpotMarketOptimismTransactor) RegisterUnmanagedSystem(opts *bind.TransactOpts, id [32]byte, endpoint common.Address) (*types.Transaction, error)
RegisterUnmanagedSystem is a paid mutator transaction binding the contract method 0xd245d983.
Solidity: function registerUnmanagedSystem(bytes32 id, address endpoint) returns()
func (*SpotMarketOptimismTransactor) RemoveFromFeatureFlagAllowlist ¶
func (_SpotMarketOptimism *SpotMarketOptimismTransactor) RemoveFromFeatureFlagAllowlist(opts *bind.TransactOpts, feature [32]byte, account common.Address) (*types.Transaction, error)
RemoveFromFeatureFlagAllowlist is a paid mutator transaction binding the contract method 0xb7746b59.
Solidity: function removeFromFeatureFlagAllowlist(bytes32 feature, address account) returns()
func (*SpotMarketOptimismTransactor) RenounceMarketNomination ¶
func (_SpotMarketOptimism *SpotMarketOptimismTransactor) RenounceMarketNomination(opts *bind.TransactOpts, synthMarketId *big.Int) (*types.Transaction, error)
RenounceMarketNomination is a paid mutator transaction binding the contract method 0x298b26bf.
Solidity: function renounceMarketNomination(uint128 synthMarketId) returns()
func (*SpotMarketOptimismTransactor) RenounceMarketOwnership ¶ added in v0.1.5
func (_SpotMarketOptimism *SpotMarketOptimismTransactor) RenounceMarketOwnership(opts *bind.TransactOpts, synthMarketId *big.Int) (*types.Transaction, error)
RenounceMarketOwnership is a paid mutator transaction binding the contract method 0xbd1cdfb5.
Solidity: function renounceMarketOwnership(uint128 synthMarketId) returns()
func (*SpotMarketOptimismTransactor) RenounceNomination ¶
func (_SpotMarketOptimism *SpotMarketOptimismTransactor) RenounceNomination(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceNomination is a paid mutator transaction binding the contract method 0x718fe928.
Solidity: function renounceNomination() returns()
func (*SpotMarketOptimismTransactor) Sell ¶
func (_SpotMarketOptimism *SpotMarketOptimismTransactor) Sell(opts *bind.TransactOpts, marketId *big.Int, synthAmount *big.Int, minUsdAmount *big.Int, referrer common.Address) (*types.Transaction, error)
Sell is a paid mutator transaction binding the contract method 0x4d4bfbd5.
Solidity: function sell(uint128 marketId, uint256 synthAmount, uint256 minUsdAmount, address referrer) returns(uint256 usdAmountReceived, (uint256,uint256,int256,int256) fees)
func (*SpotMarketOptimismTransactor) SellExactIn ¶
func (_SpotMarketOptimism *SpotMarketOptimismTransactor) SellExactIn(opts *bind.TransactOpts, marketId *big.Int, synthAmount *big.Int, minAmountReceived *big.Int, referrer common.Address) (*types.Transaction, error)
SellExactIn is a paid mutator transaction binding the contract method 0x3d1a60e4.
Solidity: function sellExactIn(uint128 marketId, uint256 synthAmount, uint256 minAmountReceived, address referrer) returns(uint256 returnAmount, (uint256,uint256,int256,int256) fees)
func (*SpotMarketOptimismTransactor) SellExactOut ¶
func (_SpotMarketOptimism *SpotMarketOptimismTransactor) SellExactOut(opts *bind.TransactOpts, marketId *big.Int, usdAmount *big.Int, maxSynthAmount *big.Int, referrer common.Address) (*types.Transaction, error)
SellExactOut is a paid mutator transaction binding the contract method 0x4ce94d9d.
Solidity: function sellExactOut(uint128 marketId, uint256 usdAmount, uint256 maxSynthAmount, address referrer) returns(uint256 synthToBurn, (uint256,uint256,int256,int256) fees)
func (*SpotMarketOptimismTransactor) SetAsyncFixedFee ¶
func (_SpotMarketOptimism *SpotMarketOptimismTransactor) SetAsyncFixedFee(opts *bind.TransactOpts, synthMarketId *big.Int, asyncFixedFee *big.Int) (*types.Transaction, error)
SetAsyncFixedFee is a paid mutator transaction binding the contract method 0x61dcca86.
Solidity: function setAsyncFixedFee(uint128 synthMarketId, uint256 asyncFixedFee) returns()
func (*SpotMarketOptimismTransactor) SetAtomicFixedFee ¶
func (_SpotMarketOptimism *SpotMarketOptimismTransactor) SetAtomicFixedFee(opts *bind.TransactOpts, synthMarketId *big.Int, atomicFixedFee *big.Int) (*types.Transaction, error)
SetAtomicFixedFee is a paid mutator transaction binding the contract method 0x480be91f.
Solidity: function setAtomicFixedFee(uint128 synthMarketId, uint256 atomicFixedFee) returns()
func (*SpotMarketOptimismTransactor) SetCollateralLeverage ¶
func (_SpotMarketOptimism *SpotMarketOptimismTransactor) SetCollateralLeverage(opts *bind.TransactOpts, synthMarketId *big.Int, collateralLeverage *big.Int) (*types.Transaction, error)
SetCollateralLeverage is a paid mutator transaction binding the contract method 0x21f7f58f.
Solidity: function setCollateralLeverage(uint128 synthMarketId, uint256 collateralLeverage) returns()
func (*SpotMarketOptimismTransactor) SetCustomTransactorFees ¶
func (_SpotMarketOptimism *SpotMarketOptimismTransactor) SetCustomTransactorFees(opts *bind.TransactOpts, synthMarketId *big.Int, transactor common.Address, fixedFeeAmount *big.Int) (*types.Transaction, error)
SetCustomTransactorFees is a paid mutator transaction binding the contract method 0x95fcd547.
Solidity: function setCustomTransactorFees(uint128 synthMarketId, address transactor, uint256 fixedFeeAmount) returns()
func (*SpotMarketOptimismTransactor) SetDecayRate ¶
func (_SpotMarketOptimism *SpotMarketOptimismTransactor) SetDecayRate(opts *bind.TransactOpts, marketId *big.Int, rate *big.Int) (*types.Transaction, error)
SetDecayRate is a paid mutator transaction binding the contract method 0xec846bac.
Solidity: function setDecayRate(uint128 marketId, uint256 rate) returns()
func (*SpotMarketOptimismTransactor) SetDeniers ¶
func (_SpotMarketOptimism *SpotMarketOptimismTransactor) SetDeniers(opts *bind.TransactOpts, feature [32]byte, deniers []common.Address) (*types.Transaction, error)
SetDeniers is a paid mutator transaction binding the contract method 0x715cb7d2.
Solidity: function setDeniers(bytes32 feature, address[] deniers) returns()
func (*SpotMarketOptimismTransactor) SetFeatureFlagAllowAll ¶
func (_SpotMarketOptimism *SpotMarketOptimismTransactor) SetFeatureFlagAllowAll(opts *bind.TransactOpts, feature [32]byte, allowAll bool) (*types.Transaction, error)
SetFeatureFlagAllowAll is a paid mutator transaction binding the contract method 0x7d632bd2.
Solidity: function setFeatureFlagAllowAll(bytes32 feature, bool allowAll) returns()
func (*SpotMarketOptimismTransactor) SetFeatureFlagDenyAll ¶
func (_SpotMarketOptimism *SpotMarketOptimismTransactor) SetFeatureFlagDenyAll(opts *bind.TransactOpts, feature [32]byte, denyAll bool) (*types.Transaction, error)
SetFeatureFlagDenyAll is a paid mutator transaction binding the contract method 0x5e52ad6e.
Solidity: function setFeatureFlagDenyAll(bytes32 feature, bool denyAll) returns()
func (*SpotMarketOptimismTransactor) SetFeeCollector ¶
func (_SpotMarketOptimism *SpotMarketOptimismTransactor) SetFeeCollector(opts *bind.TransactOpts, synthMarketId *big.Int, feeCollector common.Address) (*types.Transaction, error)
SetFeeCollector is a paid mutator transaction binding the contract method 0x025f6120.
Solidity: function setFeeCollector(uint128 synthMarketId, address feeCollector) returns()
func (*SpotMarketOptimismTransactor) SetMarketSkewScale ¶
func (_SpotMarketOptimism *SpotMarketOptimismTransactor) SetMarketSkewScale(opts *bind.TransactOpts, synthMarketId *big.Int, skewScale *big.Int) (*types.Transaction, error)
SetMarketSkewScale is a paid mutator transaction binding the contract method 0x9a40f8cb.
Solidity: function setMarketSkewScale(uint128 synthMarketId, uint256 skewScale) returns()
func (*SpotMarketOptimismTransactor) SetMarketUtilizationFees ¶
func (_SpotMarketOptimism *SpotMarketOptimismTransactor) SetMarketUtilizationFees(opts *bind.TransactOpts, synthMarketId *big.Int, utilizationFeeRate *big.Int) (*types.Transaction, error)
SetMarketUtilizationFees is a paid mutator transaction binding the contract method 0x45f2601c.
Solidity: function setMarketUtilizationFees(uint128 synthMarketId, uint256 utilizationFeeRate) returns()
func (*SpotMarketOptimismTransactor) SetSettlementStrategyEnabled ¶
func (_SpotMarketOptimism *SpotMarketOptimismTransactor) SetSettlementStrategyEnabled(opts *bind.TransactOpts, marketId *big.Int, strategyId *big.Int, enabled bool) (*types.Transaction, error)
SetSettlementStrategyEnabled is a paid mutator transaction binding the contract method 0x7f73a891.
Solidity: function setSettlementStrategyEnabled(uint128 marketId, uint256 strategyId, bool enabled) returns()
func (*SpotMarketOptimismTransactor) SetSynthImplementation ¶
func (_SpotMarketOptimism *SpotMarketOptimismTransactor) SetSynthImplementation(opts *bind.TransactOpts, synthImplementation common.Address) (*types.Transaction, error)
SetSynthImplementation is a paid mutator transaction binding the contract method 0xec04ceb1.
Solidity: function setSynthImplementation(address synthImplementation) returns()
func (*SpotMarketOptimismTransactor) SetSynthetix ¶
func (_SpotMarketOptimism *SpotMarketOptimismTransactor) SetSynthetix(opts *bind.TransactOpts, synthetix common.Address) (*types.Transaction, error)
SetSynthetix is a paid mutator transaction binding the contract method 0xfec9f9da.
Solidity: function setSynthetix(address synthetix) returns()
func (*SpotMarketOptimismTransactor) SetWrapper ¶
func (_SpotMarketOptimism *SpotMarketOptimismTransactor) SetWrapper(opts *bind.TransactOpts, marketId *big.Int, wrapCollateralType common.Address, maxWrappableAmount *big.Int) (*types.Transaction, error)
SetWrapper is a paid mutator transaction binding the contract method 0x673a21e5.
Solidity: function setWrapper(uint128 marketId, address wrapCollateralType, uint256 maxWrappableAmount) returns()
func (*SpotMarketOptimismTransactor) SetWrapperFees ¶
func (_SpotMarketOptimism *SpotMarketOptimismTransactor) SetWrapperFees(opts *bind.TransactOpts, synthMarketId *big.Int, wrapFee *big.Int, unwrapFee *big.Int) (*types.Transaction, error)
SetWrapperFees is a paid mutator transaction binding the contract method 0x6539b1c3.
Solidity: function setWrapperFees(uint128 synthMarketId, int256 wrapFee, int256 unwrapFee) returns()
func (*SpotMarketOptimismTransactor) SettleOrder ¶
func (_SpotMarketOptimism *SpotMarketOptimismTransactor) SettleOrder(opts *bind.TransactOpts, marketId *big.Int, asyncOrderId *big.Int) (*types.Transaction, error)
SettleOrder is a paid mutator transaction binding the contract method 0x9444ac48.
Solidity: function settleOrder(uint128 marketId, uint128 asyncOrderId) returns(uint256 finalOrderAmount, (uint256,uint256,int256,int256) fees)
func (*SpotMarketOptimismTransactor) SettlePythOrder ¶
func (_SpotMarketOptimism *SpotMarketOptimismTransactor) SettlePythOrder(opts *bind.TransactOpts, result []byte, extraData []byte) (*types.Transaction, error)
SettlePythOrder is a paid mutator transaction binding the contract method 0x8a0345c6.
Solidity: function settlePythOrder(bytes result, bytes extraData) payable returns(uint256 finalOrderAmount, (uint256,uint256,int256,int256) fees)
func (*SpotMarketOptimismTransactor) SimulateUpgradeTo ¶
func (_SpotMarketOptimism *SpotMarketOptimismTransactor) SimulateUpgradeTo(opts *bind.TransactOpts, newImplementation common.Address) (*types.Transaction, error)
SimulateUpgradeTo is a paid mutator transaction binding the contract method 0xc7f62cda.
Solidity: function simulateUpgradeTo(address newImplementation) returns()
func (*SpotMarketOptimismTransactor) Unwrap ¶
func (_SpotMarketOptimism *SpotMarketOptimismTransactor) Unwrap(opts *bind.TransactOpts, marketId *big.Int, unwrapAmount *big.Int, minAmountReceived *big.Int) (*types.Transaction, error)
Unwrap is a paid mutator transaction binding the contract method 0x784dad9e.
Solidity: function unwrap(uint128 marketId, uint256 unwrapAmount, uint256 minAmountReceived) returns(uint256 returnCollateralAmount, (uint256,uint256,int256,int256) fees)
func (*SpotMarketOptimismTransactor) UpdatePriceData ¶
func (_SpotMarketOptimism *SpotMarketOptimismTransactor) UpdatePriceData(opts *bind.TransactOpts, synthMarketId *big.Int, buyFeedId [32]byte, sellFeedId [32]byte) (*types.Transaction, error)
UpdatePriceData is a paid mutator transaction binding the contract method 0x6a0e2085.
Solidity: function updatePriceData(uint128 synthMarketId, bytes32 buyFeedId, bytes32 sellFeedId) returns()
func (*SpotMarketOptimismTransactor) UpdateReferrerShare ¶
func (_SpotMarketOptimism *SpotMarketOptimismTransactor) UpdateReferrerShare(opts *bind.TransactOpts, synthMarketId *big.Int, referrer common.Address, sharePercentage *big.Int) (*types.Transaction, error)
UpdateReferrerShare is a paid mutator transaction binding the contract method 0x6ad77077.
Solidity: function updateReferrerShare(uint128 synthMarketId, address referrer, uint256 sharePercentage) returns()
func (*SpotMarketOptimismTransactor) UpgradeSynthImpl ¶
func (_SpotMarketOptimism *SpotMarketOptimismTransactor) UpgradeSynthImpl(opts *bind.TransactOpts, marketId *big.Int) (*types.Transaction, error)
UpgradeSynthImpl is a paid mutator transaction binding the contract method 0xc99d0cdd.
Solidity: function upgradeSynthImpl(uint128 marketId) returns()
func (*SpotMarketOptimismTransactor) UpgradeTo ¶
func (_SpotMarketOptimism *SpotMarketOptimismTransactor) UpgradeTo(opts *bind.TransactOpts, newImplementation common.Address) (*types.Transaction, error)
UpgradeTo is a paid mutator transaction binding the contract method 0x3659cfe6.
Solidity: function upgradeTo(address newImplementation) returns()
func (*SpotMarketOptimismTransactor) Wrap ¶
func (_SpotMarketOptimism *SpotMarketOptimismTransactor) Wrap(opts *bind.TransactOpts, marketId *big.Int, wrapAmount *big.Int, minAmountReceived *big.Int) (*types.Transaction, error)
Wrap is a paid mutator transaction binding the contract method 0xd7ce770c.
Solidity: function wrap(uint128 marketId, uint256 wrapAmount, uint256 minAmountReceived) returns(uint256 amountToMint, (uint256,uint256,int256,int256) fees)
type SpotMarketOptimismTransactorFixedFeeSet ¶
type SpotMarketOptimismTransactorFixedFeeSet struct { SynthMarketId *big.Int Transactor common.Address FixedFeeAmount *big.Int Raw types.Log // Blockchain specific contextual infos }
SpotMarketOptimismTransactorFixedFeeSet represents a TransactorFixedFeeSet event raised by the SpotMarketOptimism contract.
type SpotMarketOptimismTransactorFixedFeeSetIterator ¶
type SpotMarketOptimismTransactorFixedFeeSetIterator struct { Event *SpotMarketOptimismTransactorFixedFeeSet // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SpotMarketOptimismTransactorFixedFeeSetIterator is returned from FilterTransactorFixedFeeSet and is used to iterate over the raw logs and unpacked data for TransactorFixedFeeSet events raised by the SpotMarketOptimism contract.
func (*SpotMarketOptimismTransactorFixedFeeSetIterator) Close ¶
func (it *SpotMarketOptimismTransactorFixedFeeSetIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SpotMarketOptimismTransactorFixedFeeSetIterator) Error ¶
func (it *SpotMarketOptimismTransactorFixedFeeSetIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SpotMarketOptimismTransactorFixedFeeSetIterator) Next ¶
func (it *SpotMarketOptimismTransactorFixedFeeSetIterator) 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 SpotMarketOptimismTransactorRaw ¶
type SpotMarketOptimismTransactorRaw struct {
Contract *SpotMarketOptimismTransactor // Generic write-only contract binding to access the raw methods on
}
SpotMarketOptimismTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*SpotMarketOptimismTransactorRaw) Transact ¶
func (_SpotMarketOptimism *SpotMarketOptimismTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SpotMarketOptimismTransactorRaw) Transfer ¶
func (_SpotMarketOptimism *SpotMarketOptimismTransactorRaw) 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 SpotMarketOptimismTransactorSession ¶
type SpotMarketOptimismTransactorSession struct { Contract *SpotMarketOptimismTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
SpotMarketOptimismTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*SpotMarketOptimismTransactorSession) AcceptMarketOwnership ¶
func (_SpotMarketOptimism *SpotMarketOptimismTransactorSession) AcceptMarketOwnership(synthMarketId *big.Int) (*types.Transaction, error)
AcceptMarketOwnership is a paid mutator transaction binding the contract method 0x1c216a0e.
Solidity: function acceptMarketOwnership(uint128 synthMarketId) returns()
func (*SpotMarketOptimismTransactorSession) AcceptOwnership ¶
func (_SpotMarketOptimism *SpotMarketOptimismTransactorSession) AcceptOwnership() (*types.Transaction, error)
AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.
Solidity: function acceptOwnership() returns()
func (*SpotMarketOptimismTransactorSession) AddSettlementStrategy ¶
func (_SpotMarketOptimism *SpotMarketOptimismTransactorSession) AddSettlementStrategy(marketId *big.Int, strategy SettlementStrategyData) (*types.Transaction, error)
AddSettlementStrategy is a paid mutator transaction binding the contract method 0x97b30e6d.
Solidity: function addSettlementStrategy(uint128 marketId, (uint8,uint256,uint256,address,bytes32,string,uint256,uint256,uint256,uint256,bool) strategy) returns(uint256 strategyId)
func (*SpotMarketOptimismTransactorSession) AddToFeatureFlagAllowlist ¶
func (_SpotMarketOptimism *SpotMarketOptimismTransactorSession) AddToFeatureFlagAllowlist(feature [32]byte, account common.Address) (*types.Transaction, error)
AddToFeatureFlagAllowlist is a paid mutator transaction binding the contract method 0xa0778144.
Solidity: function addToFeatureFlagAllowlist(bytes32 feature, address account) returns()
func (*SpotMarketOptimismTransactorSession) Buy ¶
func (_SpotMarketOptimism *SpotMarketOptimismTransactorSession) Buy(marketId *big.Int, usdAmount *big.Int, minAmountReceived *big.Int, referrer common.Address) (*types.Transaction, error)
Buy is a paid mutator transaction binding the contract method 0x37fb3369.
Solidity: function buy(uint128 marketId, uint256 usdAmount, uint256 minAmountReceived, address referrer) returns(uint256 synthAmount, (uint256,uint256,int256,int256) fees)
func (*SpotMarketOptimismTransactorSession) BuyExactIn ¶
func (_SpotMarketOptimism *SpotMarketOptimismTransactorSession) BuyExactIn(marketId *big.Int, usdAmount *big.Int, minAmountReceived *big.Int, referrer common.Address) (*types.Transaction, error)
BuyExactIn is a paid mutator transaction binding the contract method 0xa12d9400.
Solidity: function buyExactIn(uint128 marketId, uint256 usdAmount, uint256 minAmountReceived, address referrer) returns(uint256 synthAmount, (uint256,uint256,int256,int256) fees)
func (*SpotMarketOptimismTransactorSession) BuyExactOut ¶
func (_SpotMarketOptimism *SpotMarketOptimismTransactorSession) BuyExactOut(marketId *big.Int, synthAmount *big.Int, maxUsdAmount *big.Int, referrer common.Address) (*types.Transaction, error)
BuyExactOut is a paid mutator transaction binding the contract method 0x983220bb.
Solidity: function buyExactOut(uint128 marketId, uint256 synthAmount, uint256 maxUsdAmount, address referrer) returns(uint256 usdAmountCharged, (uint256,uint256,int256,int256) fees)
func (*SpotMarketOptimismTransactorSession) CancelOrder ¶
func (_SpotMarketOptimism *SpotMarketOptimismTransactorSession) CancelOrder(marketId *big.Int, asyncOrderId *big.Int) (*types.Transaction, error)
CancelOrder is a paid mutator transaction binding the contract method 0x4138dc53.
Solidity: function cancelOrder(uint128 marketId, uint128 asyncOrderId) returns()
func (*SpotMarketOptimismTransactorSession) CommitOrder ¶
func (_SpotMarketOptimism *SpotMarketOptimismTransactorSession) CommitOrder(marketId *big.Int, orderType uint8, amountProvided *big.Int, settlementStrategyId *big.Int, minimumSettlementAmount *big.Int, referrer common.Address) (*types.Transaction, error)
CommitOrder is a paid mutator transaction binding the contract method 0xd393340e.
Solidity: function commitOrder(uint128 marketId, uint8 orderType, uint256 amountProvided, uint256 settlementStrategyId, uint256 minimumSettlementAmount, address referrer) returns((uint128,address,uint8,uint256,uint256,uint256,uint256,uint256,address) asyncOrderClaim)
func (*SpotMarketOptimismTransactorSession) CreateSynth ¶
func (_SpotMarketOptimism *SpotMarketOptimismTransactorSession) CreateSynth(tokenName string, tokenSymbol string, synthOwner common.Address) (*types.Transaction, error)
CreateSynth is a paid mutator transaction binding the contract method 0x2e535d61.
Solidity: function createSynth(string tokenName, string tokenSymbol, address synthOwner) returns(uint128 synthMarketId)
func (*SpotMarketOptimismTransactorSession) InitOrUpgradeNft ¶
func (_SpotMarketOptimism *SpotMarketOptimismTransactorSession) InitOrUpgradeNft(id [32]byte, name string, symbol string, uri string, impl common.Address) (*types.Transaction, error)
InitOrUpgradeNft is a paid mutator transaction binding the contract method 0x2d22bef9.
Solidity: function initOrUpgradeNft(bytes32 id, string name, string symbol, string uri, address impl) returns()
func (*SpotMarketOptimismTransactorSession) InitOrUpgradeToken ¶
func (_SpotMarketOptimism *SpotMarketOptimismTransactorSession) InitOrUpgradeToken(id [32]byte, name string, symbol string, decimals uint8, impl common.Address) (*types.Transaction, error)
InitOrUpgradeToken is a paid mutator transaction binding the contract method 0xc6f79537.
Solidity: function initOrUpgradeToken(bytes32 id, string name, string symbol, uint8 decimals, address impl) returns()
func (*SpotMarketOptimismTransactorSession) NominateMarketOwner ¶
func (_SpotMarketOptimism *SpotMarketOptimismTransactorSession) NominateMarketOwner(synthMarketId *big.Int, newNominatedOwner common.Address) (*types.Transaction, error)
NominateMarketOwner is a paid mutator transaction binding the contract method 0x5950864b.
Solidity: function nominateMarketOwner(uint128 synthMarketId, address newNominatedOwner) returns()
func (*SpotMarketOptimismTransactorSession) NominateNewOwner ¶
func (_SpotMarketOptimism *SpotMarketOptimismTransactorSession) NominateNewOwner(newNominatedOwner common.Address) (*types.Transaction, error)
NominateNewOwner is a paid mutator transaction binding the contract method 0x1627540c.
Solidity: function nominateNewOwner(address newNominatedOwner) returns()
func (*SpotMarketOptimismTransactorSession) RegisterUnmanagedSystem ¶
func (_SpotMarketOptimism *SpotMarketOptimismTransactorSession) RegisterUnmanagedSystem(id [32]byte, endpoint common.Address) (*types.Transaction, error)
RegisterUnmanagedSystem is a paid mutator transaction binding the contract method 0xd245d983.
Solidity: function registerUnmanagedSystem(bytes32 id, address endpoint) returns()
func (*SpotMarketOptimismTransactorSession) RemoveFromFeatureFlagAllowlist ¶
func (_SpotMarketOptimism *SpotMarketOptimismTransactorSession) RemoveFromFeatureFlagAllowlist(feature [32]byte, account common.Address) (*types.Transaction, error)
RemoveFromFeatureFlagAllowlist is a paid mutator transaction binding the contract method 0xb7746b59.
Solidity: function removeFromFeatureFlagAllowlist(bytes32 feature, address account) returns()
func (*SpotMarketOptimismTransactorSession) RenounceMarketNomination ¶
func (_SpotMarketOptimism *SpotMarketOptimismTransactorSession) RenounceMarketNomination(synthMarketId *big.Int) (*types.Transaction, error)
RenounceMarketNomination is a paid mutator transaction binding the contract method 0x298b26bf.
Solidity: function renounceMarketNomination(uint128 synthMarketId) returns()
func (*SpotMarketOptimismTransactorSession) RenounceMarketOwnership ¶ added in v0.1.5
func (_SpotMarketOptimism *SpotMarketOptimismTransactorSession) RenounceMarketOwnership(synthMarketId *big.Int) (*types.Transaction, error)
RenounceMarketOwnership is a paid mutator transaction binding the contract method 0xbd1cdfb5.
Solidity: function renounceMarketOwnership(uint128 synthMarketId) returns()
func (*SpotMarketOptimismTransactorSession) RenounceNomination ¶
func (_SpotMarketOptimism *SpotMarketOptimismTransactorSession) RenounceNomination() (*types.Transaction, error)
RenounceNomination is a paid mutator transaction binding the contract method 0x718fe928.
Solidity: function renounceNomination() returns()
func (*SpotMarketOptimismTransactorSession) Sell ¶
func (_SpotMarketOptimism *SpotMarketOptimismTransactorSession) Sell(marketId *big.Int, synthAmount *big.Int, minUsdAmount *big.Int, referrer common.Address) (*types.Transaction, error)
Sell is a paid mutator transaction binding the contract method 0x4d4bfbd5.
Solidity: function sell(uint128 marketId, uint256 synthAmount, uint256 minUsdAmount, address referrer) returns(uint256 usdAmountReceived, (uint256,uint256,int256,int256) fees)
func (*SpotMarketOptimismTransactorSession) SellExactIn ¶
func (_SpotMarketOptimism *SpotMarketOptimismTransactorSession) SellExactIn(marketId *big.Int, synthAmount *big.Int, minAmountReceived *big.Int, referrer common.Address) (*types.Transaction, error)
SellExactIn is a paid mutator transaction binding the contract method 0x3d1a60e4.
Solidity: function sellExactIn(uint128 marketId, uint256 synthAmount, uint256 minAmountReceived, address referrer) returns(uint256 returnAmount, (uint256,uint256,int256,int256) fees)
func (*SpotMarketOptimismTransactorSession) SellExactOut ¶
func (_SpotMarketOptimism *SpotMarketOptimismTransactorSession) SellExactOut(marketId *big.Int, usdAmount *big.Int, maxSynthAmount *big.Int, referrer common.Address) (*types.Transaction, error)
SellExactOut is a paid mutator transaction binding the contract method 0x4ce94d9d.
Solidity: function sellExactOut(uint128 marketId, uint256 usdAmount, uint256 maxSynthAmount, address referrer) returns(uint256 synthToBurn, (uint256,uint256,int256,int256) fees)
func (*SpotMarketOptimismTransactorSession) SetAsyncFixedFee ¶
func (_SpotMarketOptimism *SpotMarketOptimismTransactorSession) SetAsyncFixedFee(synthMarketId *big.Int, asyncFixedFee *big.Int) (*types.Transaction, error)
SetAsyncFixedFee is a paid mutator transaction binding the contract method 0x61dcca86.
Solidity: function setAsyncFixedFee(uint128 synthMarketId, uint256 asyncFixedFee) returns()
func (*SpotMarketOptimismTransactorSession) SetAtomicFixedFee ¶
func (_SpotMarketOptimism *SpotMarketOptimismTransactorSession) SetAtomicFixedFee(synthMarketId *big.Int, atomicFixedFee *big.Int) (*types.Transaction, error)
SetAtomicFixedFee is a paid mutator transaction binding the contract method 0x480be91f.
Solidity: function setAtomicFixedFee(uint128 synthMarketId, uint256 atomicFixedFee) returns()
func (*SpotMarketOptimismTransactorSession) SetCollateralLeverage ¶
func (_SpotMarketOptimism *SpotMarketOptimismTransactorSession) SetCollateralLeverage(synthMarketId *big.Int, collateralLeverage *big.Int) (*types.Transaction, error)
SetCollateralLeverage is a paid mutator transaction binding the contract method 0x21f7f58f.
Solidity: function setCollateralLeverage(uint128 synthMarketId, uint256 collateralLeverage) returns()
func (*SpotMarketOptimismTransactorSession) SetCustomTransactorFees ¶
func (_SpotMarketOptimism *SpotMarketOptimismTransactorSession) SetCustomTransactorFees(synthMarketId *big.Int, transactor common.Address, fixedFeeAmount *big.Int) (*types.Transaction, error)
SetCustomTransactorFees is a paid mutator transaction binding the contract method 0x95fcd547.
Solidity: function setCustomTransactorFees(uint128 synthMarketId, address transactor, uint256 fixedFeeAmount) returns()
func (*SpotMarketOptimismTransactorSession) SetDecayRate ¶
func (_SpotMarketOptimism *SpotMarketOptimismTransactorSession) SetDecayRate(marketId *big.Int, rate *big.Int) (*types.Transaction, error)
SetDecayRate is a paid mutator transaction binding the contract method 0xec846bac.
Solidity: function setDecayRate(uint128 marketId, uint256 rate) returns()
func (*SpotMarketOptimismTransactorSession) SetDeniers ¶
func (_SpotMarketOptimism *SpotMarketOptimismTransactorSession) SetDeniers(feature [32]byte, deniers []common.Address) (*types.Transaction, error)
SetDeniers is a paid mutator transaction binding the contract method 0x715cb7d2.
Solidity: function setDeniers(bytes32 feature, address[] deniers) returns()
func (*SpotMarketOptimismTransactorSession) SetFeatureFlagAllowAll ¶
func (_SpotMarketOptimism *SpotMarketOptimismTransactorSession) SetFeatureFlagAllowAll(feature [32]byte, allowAll bool) (*types.Transaction, error)
SetFeatureFlagAllowAll is a paid mutator transaction binding the contract method 0x7d632bd2.
Solidity: function setFeatureFlagAllowAll(bytes32 feature, bool allowAll) returns()
func (*SpotMarketOptimismTransactorSession) SetFeatureFlagDenyAll ¶
func (_SpotMarketOptimism *SpotMarketOptimismTransactorSession) SetFeatureFlagDenyAll(feature [32]byte, denyAll bool) (*types.Transaction, error)
SetFeatureFlagDenyAll is a paid mutator transaction binding the contract method 0x5e52ad6e.
Solidity: function setFeatureFlagDenyAll(bytes32 feature, bool denyAll) returns()
func (*SpotMarketOptimismTransactorSession) SetFeeCollector ¶
func (_SpotMarketOptimism *SpotMarketOptimismTransactorSession) SetFeeCollector(synthMarketId *big.Int, feeCollector common.Address) (*types.Transaction, error)
SetFeeCollector is a paid mutator transaction binding the contract method 0x025f6120.
Solidity: function setFeeCollector(uint128 synthMarketId, address feeCollector) returns()
func (*SpotMarketOptimismTransactorSession) SetMarketSkewScale ¶
func (_SpotMarketOptimism *SpotMarketOptimismTransactorSession) SetMarketSkewScale(synthMarketId *big.Int, skewScale *big.Int) (*types.Transaction, error)
SetMarketSkewScale is a paid mutator transaction binding the contract method 0x9a40f8cb.
Solidity: function setMarketSkewScale(uint128 synthMarketId, uint256 skewScale) returns()
func (*SpotMarketOptimismTransactorSession) SetMarketUtilizationFees ¶
func (_SpotMarketOptimism *SpotMarketOptimismTransactorSession) SetMarketUtilizationFees(synthMarketId *big.Int, utilizationFeeRate *big.Int) (*types.Transaction, error)
SetMarketUtilizationFees is a paid mutator transaction binding the contract method 0x45f2601c.
Solidity: function setMarketUtilizationFees(uint128 synthMarketId, uint256 utilizationFeeRate) returns()
func (*SpotMarketOptimismTransactorSession) SetSettlementStrategyEnabled ¶
func (_SpotMarketOptimism *SpotMarketOptimismTransactorSession) SetSettlementStrategyEnabled(marketId *big.Int, strategyId *big.Int, enabled bool) (*types.Transaction, error)
SetSettlementStrategyEnabled is a paid mutator transaction binding the contract method 0x7f73a891.
Solidity: function setSettlementStrategyEnabled(uint128 marketId, uint256 strategyId, bool enabled) returns()
func (*SpotMarketOptimismTransactorSession) SetSynthImplementation ¶
func (_SpotMarketOptimism *SpotMarketOptimismTransactorSession) SetSynthImplementation(synthImplementation common.Address) (*types.Transaction, error)
SetSynthImplementation is a paid mutator transaction binding the contract method 0xec04ceb1.
Solidity: function setSynthImplementation(address synthImplementation) returns()
func (*SpotMarketOptimismTransactorSession) SetSynthetix ¶
func (_SpotMarketOptimism *SpotMarketOptimismTransactorSession) SetSynthetix(synthetix common.Address) (*types.Transaction, error)
SetSynthetix is a paid mutator transaction binding the contract method 0xfec9f9da.
Solidity: function setSynthetix(address synthetix) returns()
func (*SpotMarketOptimismTransactorSession) SetWrapper ¶
func (_SpotMarketOptimism *SpotMarketOptimismTransactorSession) SetWrapper(marketId *big.Int, wrapCollateralType common.Address, maxWrappableAmount *big.Int) (*types.Transaction, error)
SetWrapper is a paid mutator transaction binding the contract method 0x673a21e5.
Solidity: function setWrapper(uint128 marketId, address wrapCollateralType, uint256 maxWrappableAmount) returns()
func (*SpotMarketOptimismTransactorSession) SetWrapperFees ¶
func (_SpotMarketOptimism *SpotMarketOptimismTransactorSession) SetWrapperFees(synthMarketId *big.Int, wrapFee *big.Int, unwrapFee *big.Int) (*types.Transaction, error)
SetWrapperFees is a paid mutator transaction binding the contract method 0x6539b1c3.
Solidity: function setWrapperFees(uint128 synthMarketId, int256 wrapFee, int256 unwrapFee) returns()
func (*SpotMarketOptimismTransactorSession) SettleOrder ¶
func (_SpotMarketOptimism *SpotMarketOptimismTransactorSession) SettleOrder(marketId *big.Int, asyncOrderId *big.Int) (*types.Transaction, error)
SettleOrder is a paid mutator transaction binding the contract method 0x9444ac48.
Solidity: function settleOrder(uint128 marketId, uint128 asyncOrderId) returns(uint256 finalOrderAmount, (uint256,uint256,int256,int256) fees)
func (*SpotMarketOptimismTransactorSession) SettlePythOrder ¶
func (_SpotMarketOptimism *SpotMarketOptimismTransactorSession) SettlePythOrder(result []byte, extraData []byte) (*types.Transaction, error)
SettlePythOrder is a paid mutator transaction binding the contract method 0x8a0345c6.
Solidity: function settlePythOrder(bytes result, bytes extraData) payable returns(uint256 finalOrderAmount, (uint256,uint256,int256,int256) fees)
func (*SpotMarketOptimismTransactorSession) SimulateUpgradeTo ¶
func (_SpotMarketOptimism *SpotMarketOptimismTransactorSession) SimulateUpgradeTo(newImplementation common.Address) (*types.Transaction, error)
SimulateUpgradeTo is a paid mutator transaction binding the contract method 0xc7f62cda.
Solidity: function simulateUpgradeTo(address newImplementation) returns()
func (*SpotMarketOptimismTransactorSession) Unwrap ¶
func (_SpotMarketOptimism *SpotMarketOptimismTransactorSession) Unwrap(marketId *big.Int, unwrapAmount *big.Int, minAmountReceived *big.Int) (*types.Transaction, error)
Unwrap is a paid mutator transaction binding the contract method 0x784dad9e.
Solidity: function unwrap(uint128 marketId, uint256 unwrapAmount, uint256 minAmountReceived) returns(uint256 returnCollateralAmount, (uint256,uint256,int256,int256) fees)
func (*SpotMarketOptimismTransactorSession) UpdatePriceData ¶
func (_SpotMarketOptimism *SpotMarketOptimismTransactorSession) UpdatePriceData(synthMarketId *big.Int, buyFeedId [32]byte, sellFeedId [32]byte) (*types.Transaction, error)
UpdatePriceData is a paid mutator transaction binding the contract method 0x6a0e2085.
Solidity: function updatePriceData(uint128 synthMarketId, bytes32 buyFeedId, bytes32 sellFeedId) returns()
func (*SpotMarketOptimismTransactorSession) UpdateReferrerShare ¶
func (_SpotMarketOptimism *SpotMarketOptimismTransactorSession) UpdateReferrerShare(synthMarketId *big.Int, referrer common.Address, sharePercentage *big.Int) (*types.Transaction, error)
UpdateReferrerShare is a paid mutator transaction binding the contract method 0x6ad77077.
Solidity: function updateReferrerShare(uint128 synthMarketId, address referrer, uint256 sharePercentage) returns()
func (*SpotMarketOptimismTransactorSession) UpgradeSynthImpl ¶
func (_SpotMarketOptimism *SpotMarketOptimismTransactorSession) UpgradeSynthImpl(marketId *big.Int) (*types.Transaction, error)
UpgradeSynthImpl is a paid mutator transaction binding the contract method 0xc99d0cdd.
Solidity: function upgradeSynthImpl(uint128 marketId) returns()
func (*SpotMarketOptimismTransactorSession) UpgradeTo ¶
func (_SpotMarketOptimism *SpotMarketOptimismTransactorSession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error)
UpgradeTo is a paid mutator transaction binding the contract method 0x3659cfe6.
Solidity: function upgradeTo(address newImplementation) returns()
func (*SpotMarketOptimismTransactorSession) Wrap ¶
func (_SpotMarketOptimism *SpotMarketOptimismTransactorSession) Wrap(marketId *big.Int, wrapAmount *big.Int, minAmountReceived *big.Int) (*types.Transaction, error)
Wrap is a paid mutator transaction binding the contract method 0xd7ce770c.
Solidity: function wrap(uint128 marketId, uint256 wrapAmount, uint256 minAmountReceived) returns(uint256 amountToMint, (uint256,uint256,int256,int256) fees)
type SpotMarketOptimismUpgraded ¶
type SpotMarketOptimismUpgraded struct { Self common.Address Implementation common.Address Raw types.Log // Blockchain specific contextual infos }
SpotMarketOptimismUpgraded represents a Upgraded event raised by the SpotMarketOptimism contract.
type SpotMarketOptimismUpgradedIterator ¶
type SpotMarketOptimismUpgradedIterator struct { Event *SpotMarketOptimismUpgraded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SpotMarketOptimismUpgradedIterator is returned from FilterUpgraded and is used to iterate over the raw logs and unpacked data for Upgraded events raised by the SpotMarketOptimism contract.
func (*SpotMarketOptimismUpgradedIterator) Close ¶
func (it *SpotMarketOptimismUpgradedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SpotMarketOptimismUpgradedIterator) Error ¶
func (it *SpotMarketOptimismUpgradedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SpotMarketOptimismUpgradedIterator) Next ¶
func (it *SpotMarketOptimismUpgradedIterator) 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 SpotMarketOptimismWrapperFeesSet ¶
type SpotMarketOptimismWrapperFeesSet struct { SynthMarketId *big.Int WrapFee *big.Int UnwrapFee *big.Int Raw types.Log // Blockchain specific contextual infos }
SpotMarketOptimismWrapperFeesSet represents a WrapperFeesSet event raised by the SpotMarketOptimism contract.
type SpotMarketOptimismWrapperFeesSetIterator ¶
type SpotMarketOptimismWrapperFeesSetIterator struct { Event *SpotMarketOptimismWrapperFeesSet // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SpotMarketOptimismWrapperFeesSetIterator is returned from FilterWrapperFeesSet and is used to iterate over the raw logs and unpacked data for WrapperFeesSet events raised by the SpotMarketOptimism contract.
func (*SpotMarketOptimismWrapperFeesSetIterator) Close ¶
func (it *SpotMarketOptimismWrapperFeesSetIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SpotMarketOptimismWrapperFeesSetIterator) Error ¶
func (it *SpotMarketOptimismWrapperFeesSetIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SpotMarketOptimismWrapperFeesSetIterator) Next ¶
func (it *SpotMarketOptimismWrapperFeesSetIterator) 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 SpotMarketOptimismWrapperSet ¶
type SpotMarketOptimismWrapperSet struct { SynthMarketId *big.Int WrapCollateralType common.Address MaxWrappableAmount *big.Int Raw types.Log // Blockchain specific contextual infos }
SpotMarketOptimismWrapperSet represents a WrapperSet event raised by the SpotMarketOptimism contract.
type SpotMarketOptimismWrapperSetIterator ¶
type SpotMarketOptimismWrapperSetIterator struct { Event *SpotMarketOptimismWrapperSet // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SpotMarketOptimismWrapperSetIterator is returned from FilterWrapperSet and is used to iterate over the raw logs and unpacked data for WrapperSet events raised by the SpotMarketOptimism contract.
func (*SpotMarketOptimismWrapperSetIterator) Close ¶
func (it *SpotMarketOptimismWrapperSetIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SpotMarketOptimismWrapperSetIterator) Error ¶
func (it *SpotMarketOptimismWrapperSetIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SpotMarketOptimismWrapperSetIterator) Next ¶
func (it *SpotMarketOptimismWrapperSetIterator) 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.