Documentation ¶
Index ¶
- Variables
- type AsyncOrderClaimData
- type OrderFeesData
- type SettlementStrategyData
- type SpotMarketGoerli
- type SpotMarketGoerliAssociatedSystemSet
- type SpotMarketGoerliAssociatedSystemSetIterator
- type SpotMarketGoerliAsyncFixedFeeSet
- type SpotMarketGoerliAsyncFixedFeeSetIterator
- type SpotMarketGoerliAtomicFixedFeeSet
- type SpotMarketGoerliAtomicFixedFeeSetIterator
- type SpotMarketGoerliCaller
- func (_SpotMarketGoerli *SpotMarketGoerliCaller) GetAssociatedSystem(opts *bind.CallOpts, id [32]byte) (struct{ ... }, error)
- func (_SpotMarketGoerli *SpotMarketGoerliCaller) GetAsyncOrderClaim(opts *bind.CallOpts, marketId *big.Int, asyncOrderId *big.Int) (AsyncOrderClaimData, error)
- func (_SpotMarketGoerli *SpotMarketGoerliCaller) GetCollateralLeverage(opts *bind.CallOpts, synthMarketId *big.Int) (*big.Int, error)
- func (_SpotMarketGoerli *SpotMarketGoerliCaller) GetCustomTransactorFees(opts *bind.CallOpts, synthMarketId *big.Int, transactor common.Address) (*big.Int, error)
- func (_SpotMarketGoerli *SpotMarketGoerliCaller) GetDeniers(opts *bind.CallOpts, feature [32]byte) ([]common.Address, error)
- func (_SpotMarketGoerli *SpotMarketGoerliCaller) GetFeatureFlagAllowAll(opts *bind.CallOpts, feature [32]byte) (bool, error)
- func (_SpotMarketGoerli *SpotMarketGoerliCaller) GetFeatureFlagAllowlist(opts *bind.CallOpts, feature [32]byte) ([]common.Address, error)
- func (_SpotMarketGoerli *SpotMarketGoerliCaller) GetFeatureFlagDenyAll(opts *bind.CallOpts, feature [32]byte) (bool, error)
- func (_SpotMarketGoerli *SpotMarketGoerliCaller) GetFeeCollector(opts *bind.CallOpts, synthMarketId *big.Int) (common.Address, error)
- func (_SpotMarketGoerli *SpotMarketGoerliCaller) GetImplementation(opts *bind.CallOpts) (common.Address, error)
- func (_SpotMarketGoerli *SpotMarketGoerliCaller) GetMarketFees(opts *bind.CallOpts, synthMarketId *big.Int) (struct{ ... }, error)
- func (_SpotMarketGoerli *SpotMarketGoerliCaller) GetMarketOwner(opts *bind.CallOpts, synthMarketId *big.Int) (common.Address, error)
- func (_SpotMarketGoerli *SpotMarketGoerliCaller) GetMarketSkewScale(opts *bind.CallOpts, synthMarketId *big.Int) (*big.Int, error)
- func (_SpotMarketGoerli *SpotMarketGoerliCaller) GetMarketUtilizationFees(opts *bind.CallOpts, synthMarketId *big.Int) (*big.Int, error)
- func (_SpotMarketGoerli *SpotMarketGoerliCaller) GetReferrerShare(opts *bind.CallOpts, synthMarketId *big.Int, referrer common.Address) (*big.Int, error)
- func (_SpotMarketGoerli *SpotMarketGoerliCaller) GetSettlementStrategy(opts *bind.CallOpts, marketId *big.Int, strategyId *big.Int) (SettlementStrategyData, error)
- func (_SpotMarketGoerli *SpotMarketGoerliCaller) GetSynth(opts *bind.CallOpts, marketId *big.Int) (common.Address, error)
- func (_SpotMarketGoerli *SpotMarketGoerliCaller) GetSynthImpl(opts *bind.CallOpts, marketId *big.Int) (common.Address, error)
- func (_SpotMarketGoerli *SpotMarketGoerliCaller) IsFeatureAllowed(opts *bind.CallOpts, feature [32]byte, account common.Address) (bool, error)
- func (_SpotMarketGoerli *SpotMarketGoerliCaller) MinimumCredit(opts *bind.CallOpts, marketId *big.Int) (*big.Int, error)
- func (_SpotMarketGoerli *SpotMarketGoerliCaller) Name(opts *bind.CallOpts, marketId *big.Int) (string, error)
- func (_SpotMarketGoerli *SpotMarketGoerliCaller) NominatedOwner(opts *bind.CallOpts) (common.Address, error)
- func (_SpotMarketGoerli *SpotMarketGoerliCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_SpotMarketGoerli *SpotMarketGoerliCaller) PRECISION(opts *bind.CallOpts) (*big.Int, error)
- func (_SpotMarketGoerli *SpotMarketGoerliCaller) QuoteBuyExactIn(opts *bind.CallOpts, marketId *big.Int, usdAmount *big.Int) (struct{ ... }, error)
- func (_SpotMarketGoerli *SpotMarketGoerliCaller) QuoteBuyExactOut(opts *bind.CallOpts, marketId *big.Int, synthAmount *big.Int) (struct{ ... }, error)
- func (_SpotMarketGoerli *SpotMarketGoerliCaller) QuoteSellExactIn(opts *bind.CallOpts, marketId *big.Int, synthAmount *big.Int) (struct{ ... }, error)
- func (_SpotMarketGoerli *SpotMarketGoerliCaller) QuoteSellExactOut(opts *bind.CallOpts, marketId *big.Int, usdAmount *big.Int) (struct{ ... }, error)
- func (_SpotMarketGoerli *SpotMarketGoerliCaller) ReportedDebt(opts *bind.CallOpts, marketId *big.Int) (*big.Int, error)
- func (_SpotMarketGoerli *SpotMarketGoerliCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)
- type SpotMarketGoerliCallerRaw
- type SpotMarketGoerliCallerSession
- func (_SpotMarketGoerli *SpotMarketGoerliCallerSession) GetAssociatedSystem(id [32]byte) (struct{ ... }, error)
- func (_SpotMarketGoerli *SpotMarketGoerliCallerSession) GetAsyncOrderClaim(marketId *big.Int, asyncOrderId *big.Int) (AsyncOrderClaimData, error)
- func (_SpotMarketGoerli *SpotMarketGoerliCallerSession) GetCollateralLeverage(synthMarketId *big.Int) (*big.Int, error)
- func (_SpotMarketGoerli *SpotMarketGoerliCallerSession) GetCustomTransactorFees(synthMarketId *big.Int, transactor common.Address) (*big.Int, error)
- func (_SpotMarketGoerli *SpotMarketGoerliCallerSession) GetDeniers(feature [32]byte) ([]common.Address, error)
- func (_SpotMarketGoerli *SpotMarketGoerliCallerSession) GetFeatureFlagAllowAll(feature [32]byte) (bool, error)
- func (_SpotMarketGoerli *SpotMarketGoerliCallerSession) GetFeatureFlagAllowlist(feature [32]byte) ([]common.Address, error)
- func (_SpotMarketGoerli *SpotMarketGoerliCallerSession) GetFeatureFlagDenyAll(feature [32]byte) (bool, error)
- func (_SpotMarketGoerli *SpotMarketGoerliCallerSession) GetFeeCollector(synthMarketId *big.Int) (common.Address, error)
- func (_SpotMarketGoerli *SpotMarketGoerliCallerSession) GetImplementation() (common.Address, error)
- func (_SpotMarketGoerli *SpotMarketGoerliCallerSession) GetMarketFees(synthMarketId *big.Int) (struct{ ... }, error)
- func (_SpotMarketGoerli *SpotMarketGoerliCallerSession) GetMarketOwner(synthMarketId *big.Int) (common.Address, error)
- func (_SpotMarketGoerli *SpotMarketGoerliCallerSession) GetMarketSkewScale(synthMarketId *big.Int) (*big.Int, error)
- func (_SpotMarketGoerli *SpotMarketGoerliCallerSession) GetMarketUtilizationFees(synthMarketId *big.Int) (*big.Int, error)
- func (_SpotMarketGoerli *SpotMarketGoerliCallerSession) GetReferrerShare(synthMarketId *big.Int, referrer common.Address) (*big.Int, error)
- func (_SpotMarketGoerli *SpotMarketGoerliCallerSession) GetSettlementStrategy(marketId *big.Int, strategyId *big.Int) (SettlementStrategyData, error)
- func (_SpotMarketGoerli *SpotMarketGoerliCallerSession) GetSynth(marketId *big.Int) (common.Address, error)
- func (_SpotMarketGoerli *SpotMarketGoerliCallerSession) GetSynthImpl(marketId *big.Int) (common.Address, error)
- func (_SpotMarketGoerli *SpotMarketGoerliCallerSession) IsFeatureAllowed(feature [32]byte, account common.Address) (bool, error)
- func (_SpotMarketGoerli *SpotMarketGoerliCallerSession) MinimumCredit(marketId *big.Int) (*big.Int, error)
- func (_SpotMarketGoerli *SpotMarketGoerliCallerSession) Name(marketId *big.Int) (string, error)
- func (_SpotMarketGoerli *SpotMarketGoerliCallerSession) NominatedOwner() (common.Address, error)
- func (_SpotMarketGoerli *SpotMarketGoerliCallerSession) Owner() (common.Address, error)
- func (_SpotMarketGoerli *SpotMarketGoerliCallerSession) PRECISION() (*big.Int, error)
- func (_SpotMarketGoerli *SpotMarketGoerliCallerSession) QuoteBuyExactIn(marketId *big.Int, usdAmount *big.Int) (struct{ ... }, error)
- func (_SpotMarketGoerli *SpotMarketGoerliCallerSession) QuoteBuyExactOut(marketId *big.Int, synthAmount *big.Int) (struct{ ... }, error)
- func (_SpotMarketGoerli *SpotMarketGoerliCallerSession) QuoteSellExactIn(marketId *big.Int, synthAmount *big.Int) (struct{ ... }, error)
- func (_SpotMarketGoerli *SpotMarketGoerliCallerSession) QuoteSellExactOut(marketId *big.Int, usdAmount *big.Int) (struct{ ... }, error)
- func (_SpotMarketGoerli *SpotMarketGoerliCallerSession) ReportedDebt(marketId *big.Int) (*big.Int, error)
- func (_SpotMarketGoerli *SpotMarketGoerliCallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)
- type SpotMarketGoerliCollateralLeverageSet
- type SpotMarketGoerliCollateralLeverageSetIterator
- type SpotMarketGoerliDecayRateUpdated
- type SpotMarketGoerliDecayRateUpdatedIterator
- type SpotMarketGoerliFeatureFlagAllowAllSet
- type SpotMarketGoerliFeatureFlagAllowAllSetIterator
- type SpotMarketGoerliFeatureFlagAllowlistAdded
- type SpotMarketGoerliFeatureFlagAllowlistAddedIterator
- type SpotMarketGoerliFeatureFlagAllowlistRemoved
- type SpotMarketGoerliFeatureFlagAllowlistRemovedIterator
- type SpotMarketGoerliFeatureFlagDeniersReset
- type SpotMarketGoerliFeatureFlagDeniersResetIterator
- type SpotMarketGoerliFeatureFlagDenyAllSet
- type SpotMarketGoerliFeatureFlagDenyAllSetIterator
- type SpotMarketGoerliFeeCollectorSet
- type SpotMarketGoerliFeeCollectorSetIterator
- type SpotMarketGoerliFilterer
- func (_SpotMarketGoerli *SpotMarketGoerliFilterer) FilterAssociatedSystemSet(opts *bind.FilterOpts, kind [][32]byte, id [][32]byte) (*SpotMarketGoerliAssociatedSystemSetIterator, error)
- func (_SpotMarketGoerli *SpotMarketGoerliFilterer) FilterAsyncFixedFeeSet(opts *bind.FilterOpts, synthMarketId []*big.Int) (*SpotMarketGoerliAsyncFixedFeeSetIterator, error)
- func (_SpotMarketGoerli *SpotMarketGoerliFilterer) FilterAtomicFixedFeeSet(opts *bind.FilterOpts, synthMarketId []*big.Int) (*SpotMarketGoerliAtomicFixedFeeSetIterator, error)
- func (_SpotMarketGoerli *SpotMarketGoerliFilterer) FilterCollateralLeverageSet(opts *bind.FilterOpts, synthMarketId []*big.Int) (*SpotMarketGoerliCollateralLeverageSetIterator, error)
- func (_SpotMarketGoerli *SpotMarketGoerliFilterer) FilterDecayRateUpdated(opts *bind.FilterOpts, marketId []*big.Int) (*SpotMarketGoerliDecayRateUpdatedIterator, error)
- func (_SpotMarketGoerli *SpotMarketGoerliFilterer) FilterFeatureFlagAllowAllSet(opts *bind.FilterOpts, feature [][32]byte) (*SpotMarketGoerliFeatureFlagAllowAllSetIterator, error)
- func (_SpotMarketGoerli *SpotMarketGoerliFilterer) FilterFeatureFlagAllowlistAdded(opts *bind.FilterOpts, feature [][32]byte) (*SpotMarketGoerliFeatureFlagAllowlistAddedIterator, error)
- func (_SpotMarketGoerli *SpotMarketGoerliFilterer) FilterFeatureFlagAllowlistRemoved(opts *bind.FilterOpts, feature [][32]byte) (*SpotMarketGoerliFeatureFlagAllowlistRemovedIterator, error)
- func (_SpotMarketGoerli *SpotMarketGoerliFilterer) FilterFeatureFlagDeniersReset(opts *bind.FilterOpts, feature [][32]byte) (*SpotMarketGoerliFeatureFlagDeniersResetIterator, error)
- func (_SpotMarketGoerli *SpotMarketGoerliFilterer) FilterFeatureFlagDenyAllSet(opts *bind.FilterOpts, feature [][32]byte) (*SpotMarketGoerliFeatureFlagDenyAllSetIterator, error)
- func (_SpotMarketGoerli *SpotMarketGoerliFilterer) FilterFeeCollectorSet(opts *bind.FilterOpts, synthMarketId []*big.Int) (*SpotMarketGoerliFeeCollectorSetIterator, error)
- func (_SpotMarketGoerli *SpotMarketGoerliFilterer) FilterMarketNominationRenounced(opts *bind.FilterOpts, marketId []*big.Int) (*SpotMarketGoerliMarketNominationRenouncedIterator, error)
- func (_SpotMarketGoerli *SpotMarketGoerliFilterer) FilterMarketOwnerChanged(opts *bind.FilterOpts, marketId []*big.Int) (*SpotMarketGoerliMarketOwnerChangedIterator, error)
- func (_SpotMarketGoerli *SpotMarketGoerliFilterer) FilterMarketOwnerNominated(opts *bind.FilterOpts, marketId []*big.Int) (*SpotMarketGoerliMarketOwnerNominatedIterator, error)
- func (_SpotMarketGoerli *SpotMarketGoerliFilterer) FilterMarketSkewScaleSet(opts *bind.FilterOpts, synthMarketId []*big.Int) (*SpotMarketGoerliMarketSkewScaleSetIterator, error)
- func (_SpotMarketGoerli *SpotMarketGoerliFilterer) FilterMarketUtilizationFeesSet(opts *bind.FilterOpts, synthMarketId []*big.Int) (*SpotMarketGoerliMarketUtilizationFeesSetIterator, error)
- func (_SpotMarketGoerli *SpotMarketGoerliFilterer) FilterOrderCancelled(opts *bind.FilterOpts, marketId []*big.Int, asyncOrderId []*big.Int, ...) (*SpotMarketGoerliOrderCancelledIterator, error)
- func (_SpotMarketGoerli *SpotMarketGoerliFilterer) FilterOrderCommitted(opts *bind.FilterOpts, marketId []*big.Int, orderType []uint8, ...) (*SpotMarketGoerliOrderCommittedIterator, error)
- func (_SpotMarketGoerli *SpotMarketGoerliFilterer) FilterOrderSettled(opts *bind.FilterOpts, marketId []*big.Int, asyncOrderId []*big.Int, ...) (*SpotMarketGoerliOrderSettledIterator, error)
- func (_SpotMarketGoerli *SpotMarketGoerliFilterer) FilterOwnerChanged(opts *bind.FilterOpts) (*SpotMarketGoerliOwnerChangedIterator, error)
- func (_SpotMarketGoerli *SpotMarketGoerliFilterer) FilterOwnerNominated(opts *bind.FilterOpts) (*SpotMarketGoerliOwnerNominatedIterator, error)
- func (_SpotMarketGoerli *SpotMarketGoerliFilterer) FilterReferrerShareUpdated(opts *bind.FilterOpts, marketId []*big.Int) (*SpotMarketGoerliReferrerShareUpdatedIterator, error)
- func (_SpotMarketGoerli *SpotMarketGoerliFilterer) FilterSettlementStrategyAdded(opts *bind.FilterOpts, synthMarketId []*big.Int, strategyId []*big.Int) (*SpotMarketGoerliSettlementStrategyAddedIterator, error)
- func (_SpotMarketGoerli *SpotMarketGoerliFilterer) FilterSettlementStrategyUpdated(opts *bind.FilterOpts, synthMarketId []*big.Int, strategyId []*big.Int) (*SpotMarketGoerliSettlementStrategyUpdatedIterator, error)
- func (_SpotMarketGoerli *SpotMarketGoerliFilterer) FilterSynthBought(opts *bind.FilterOpts, synthMarketId []*big.Int) (*SpotMarketGoerliSynthBoughtIterator, error)
- func (_SpotMarketGoerli *SpotMarketGoerliFilterer) FilterSynthImplementationSet(opts *bind.FilterOpts) (*SpotMarketGoerliSynthImplementationSetIterator, error)
- func (_SpotMarketGoerli *SpotMarketGoerliFilterer) FilterSynthImplementationUpgraded(opts *bind.FilterOpts, synthMarketId []*big.Int, proxy []common.Address) (*SpotMarketGoerliSynthImplementationUpgradedIterator, error)
- func (_SpotMarketGoerli *SpotMarketGoerliFilterer) FilterSynthPriceDataUpdated(opts *bind.FilterOpts, synthMarketId []*big.Int, buyFeedId [][32]byte, ...) (*SpotMarketGoerliSynthPriceDataUpdatedIterator, error)
- func (_SpotMarketGoerli *SpotMarketGoerliFilterer) FilterSynthRegistered(opts *bind.FilterOpts, synthMarketId []*big.Int) (*SpotMarketGoerliSynthRegisteredIterator, error)
- func (_SpotMarketGoerli *SpotMarketGoerliFilterer) FilterSynthSold(opts *bind.FilterOpts, synthMarketId []*big.Int) (*SpotMarketGoerliSynthSoldIterator, error)
- func (_SpotMarketGoerli *SpotMarketGoerliFilterer) FilterSynthUnwrapped(opts *bind.FilterOpts, synthMarketId []*big.Int) (*SpotMarketGoerliSynthUnwrappedIterator, error)
- func (_SpotMarketGoerli *SpotMarketGoerliFilterer) FilterSynthWrapped(opts *bind.FilterOpts, synthMarketId []*big.Int) (*SpotMarketGoerliSynthWrappedIterator, error)
- func (_SpotMarketGoerli *SpotMarketGoerliFilterer) FilterSynthetixSystemSet(opts *bind.FilterOpts) (*SpotMarketGoerliSynthetixSystemSetIterator, error)
- func (_SpotMarketGoerli *SpotMarketGoerliFilterer) FilterTransactorFixedFeeSet(opts *bind.FilterOpts, synthMarketId []*big.Int) (*SpotMarketGoerliTransactorFixedFeeSetIterator, error)
- func (_SpotMarketGoerli *SpotMarketGoerliFilterer) FilterUpgraded(opts *bind.FilterOpts, self []common.Address) (*SpotMarketGoerliUpgradedIterator, error)
- func (_SpotMarketGoerli *SpotMarketGoerliFilterer) FilterWrapperFeesSet(opts *bind.FilterOpts, synthMarketId []*big.Int) (*SpotMarketGoerliWrapperFeesSetIterator, error)
- func (_SpotMarketGoerli *SpotMarketGoerliFilterer) FilterWrapperSet(opts *bind.FilterOpts, synthMarketId []*big.Int, ...) (*SpotMarketGoerliWrapperSetIterator, error)
- func (_SpotMarketGoerli *SpotMarketGoerliFilterer) ParseAssociatedSystemSet(log types.Log) (*SpotMarketGoerliAssociatedSystemSet, error)
- func (_SpotMarketGoerli *SpotMarketGoerliFilterer) ParseAsyncFixedFeeSet(log types.Log) (*SpotMarketGoerliAsyncFixedFeeSet, error)
- func (_SpotMarketGoerli *SpotMarketGoerliFilterer) ParseAtomicFixedFeeSet(log types.Log) (*SpotMarketGoerliAtomicFixedFeeSet, error)
- func (_SpotMarketGoerli *SpotMarketGoerliFilterer) ParseCollateralLeverageSet(log types.Log) (*SpotMarketGoerliCollateralLeverageSet, error)
- func (_SpotMarketGoerli *SpotMarketGoerliFilterer) ParseDecayRateUpdated(log types.Log) (*SpotMarketGoerliDecayRateUpdated, error)
- func (_SpotMarketGoerli *SpotMarketGoerliFilterer) ParseFeatureFlagAllowAllSet(log types.Log) (*SpotMarketGoerliFeatureFlagAllowAllSet, error)
- func (_SpotMarketGoerli *SpotMarketGoerliFilterer) ParseFeatureFlagAllowlistAdded(log types.Log) (*SpotMarketGoerliFeatureFlagAllowlistAdded, error)
- func (_SpotMarketGoerli *SpotMarketGoerliFilterer) ParseFeatureFlagAllowlistRemoved(log types.Log) (*SpotMarketGoerliFeatureFlagAllowlistRemoved, error)
- func (_SpotMarketGoerli *SpotMarketGoerliFilterer) ParseFeatureFlagDeniersReset(log types.Log) (*SpotMarketGoerliFeatureFlagDeniersReset, error)
- func (_SpotMarketGoerli *SpotMarketGoerliFilterer) ParseFeatureFlagDenyAllSet(log types.Log) (*SpotMarketGoerliFeatureFlagDenyAllSet, error)
- func (_SpotMarketGoerli *SpotMarketGoerliFilterer) ParseFeeCollectorSet(log types.Log) (*SpotMarketGoerliFeeCollectorSet, error)
- func (_SpotMarketGoerli *SpotMarketGoerliFilterer) ParseMarketNominationRenounced(log types.Log) (*SpotMarketGoerliMarketNominationRenounced, error)
- func (_SpotMarketGoerli *SpotMarketGoerliFilterer) ParseMarketOwnerChanged(log types.Log) (*SpotMarketGoerliMarketOwnerChanged, error)
- func (_SpotMarketGoerli *SpotMarketGoerliFilterer) ParseMarketOwnerNominated(log types.Log) (*SpotMarketGoerliMarketOwnerNominated, error)
- func (_SpotMarketGoerli *SpotMarketGoerliFilterer) ParseMarketSkewScaleSet(log types.Log) (*SpotMarketGoerliMarketSkewScaleSet, error)
- func (_SpotMarketGoerli *SpotMarketGoerliFilterer) ParseMarketUtilizationFeesSet(log types.Log) (*SpotMarketGoerliMarketUtilizationFeesSet, error)
- func (_SpotMarketGoerli *SpotMarketGoerliFilterer) ParseOrderCancelled(log types.Log) (*SpotMarketGoerliOrderCancelled, error)
- func (_SpotMarketGoerli *SpotMarketGoerliFilterer) ParseOrderCommitted(log types.Log) (*SpotMarketGoerliOrderCommitted, error)
- func (_SpotMarketGoerli *SpotMarketGoerliFilterer) ParseOrderSettled(log types.Log) (*SpotMarketGoerliOrderSettled, error)
- func (_SpotMarketGoerli *SpotMarketGoerliFilterer) ParseOwnerChanged(log types.Log) (*SpotMarketGoerliOwnerChanged, error)
- func (_SpotMarketGoerli *SpotMarketGoerliFilterer) ParseOwnerNominated(log types.Log) (*SpotMarketGoerliOwnerNominated, error)
- func (_SpotMarketGoerli *SpotMarketGoerliFilterer) ParseReferrerShareUpdated(log types.Log) (*SpotMarketGoerliReferrerShareUpdated, error)
- func (_SpotMarketGoerli *SpotMarketGoerliFilterer) ParseSettlementStrategyAdded(log types.Log) (*SpotMarketGoerliSettlementStrategyAdded, error)
- func (_SpotMarketGoerli *SpotMarketGoerliFilterer) ParseSettlementStrategyUpdated(log types.Log) (*SpotMarketGoerliSettlementStrategyUpdated, error)
- func (_SpotMarketGoerli *SpotMarketGoerliFilterer) ParseSynthBought(log types.Log) (*SpotMarketGoerliSynthBought, error)
- func (_SpotMarketGoerli *SpotMarketGoerliFilterer) ParseSynthImplementationSet(log types.Log) (*SpotMarketGoerliSynthImplementationSet, error)
- func (_SpotMarketGoerli *SpotMarketGoerliFilterer) ParseSynthImplementationUpgraded(log types.Log) (*SpotMarketGoerliSynthImplementationUpgraded, error)
- func (_SpotMarketGoerli *SpotMarketGoerliFilterer) ParseSynthPriceDataUpdated(log types.Log) (*SpotMarketGoerliSynthPriceDataUpdated, error)
- func (_SpotMarketGoerli *SpotMarketGoerliFilterer) ParseSynthRegistered(log types.Log) (*SpotMarketGoerliSynthRegistered, error)
- func (_SpotMarketGoerli *SpotMarketGoerliFilterer) ParseSynthSold(log types.Log) (*SpotMarketGoerliSynthSold, error)
- func (_SpotMarketGoerli *SpotMarketGoerliFilterer) ParseSynthUnwrapped(log types.Log) (*SpotMarketGoerliSynthUnwrapped, error)
- func (_SpotMarketGoerli *SpotMarketGoerliFilterer) ParseSynthWrapped(log types.Log) (*SpotMarketGoerliSynthWrapped, error)
- func (_SpotMarketGoerli *SpotMarketGoerliFilterer) ParseSynthetixSystemSet(log types.Log) (*SpotMarketGoerliSynthetixSystemSet, error)
- func (_SpotMarketGoerli *SpotMarketGoerliFilterer) ParseTransactorFixedFeeSet(log types.Log) (*SpotMarketGoerliTransactorFixedFeeSet, error)
- func (_SpotMarketGoerli *SpotMarketGoerliFilterer) ParseUpgraded(log types.Log) (*SpotMarketGoerliUpgraded, error)
- func (_SpotMarketGoerli *SpotMarketGoerliFilterer) ParseWrapperFeesSet(log types.Log) (*SpotMarketGoerliWrapperFeesSet, error)
- func (_SpotMarketGoerli *SpotMarketGoerliFilterer) ParseWrapperSet(log types.Log) (*SpotMarketGoerliWrapperSet, error)
- func (_SpotMarketGoerli *SpotMarketGoerliFilterer) WatchAssociatedSystemSet(opts *bind.WatchOpts, sink chan<- *SpotMarketGoerliAssociatedSystemSet, ...) (event.Subscription, error)
- func (_SpotMarketGoerli *SpotMarketGoerliFilterer) WatchAsyncFixedFeeSet(opts *bind.WatchOpts, sink chan<- *SpotMarketGoerliAsyncFixedFeeSet, ...) (event.Subscription, error)
- func (_SpotMarketGoerli *SpotMarketGoerliFilterer) WatchAtomicFixedFeeSet(opts *bind.WatchOpts, sink chan<- *SpotMarketGoerliAtomicFixedFeeSet, ...) (event.Subscription, error)
- func (_SpotMarketGoerli *SpotMarketGoerliFilterer) WatchCollateralLeverageSet(opts *bind.WatchOpts, sink chan<- *SpotMarketGoerliCollateralLeverageSet, ...) (event.Subscription, error)
- func (_SpotMarketGoerli *SpotMarketGoerliFilterer) WatchDecayRateUpdated(opts *bind.WatchOpts, sink chan<- *SpotMarketGoerliDecayRateUpdated, ...) (event.Subscription, error)
- func (_SpotMarketGoerli *SpotMarketGoerliFilterer) WatchFeatureFlagAllowAllSet(opts *bind.WatchOpts, sink chan<- *SpotMarketGoerliFeatureFlagAllowAllSet, ...) (event.Subscription, error)
- func (_SpotMarketGoerli *SpotMarketGoerliFilterer) WatchFeatureFlagAllowlistAdded(opts *bind.WatchOpts, sink chan<- *SpotMarketGoerliFeatureFlagAllowlistAdded, ...) (event.Subscription, error)
- func (_SpotMarketGoerli *SpotMarketGoerliFilterer) WatchFeatureFlagAllowlistRemoved(opts *bind.WatchOpts, sink chan<- *SpotMarketGoerliFeatureFlagAllowlistRemoved, ...) (event.Subscription, error)
- func (_SpotMarketGoerli *SpotMarketGoerliFilterer) WatchFeatureFlagDeniersReset(opts *bind.WatchOpts, sink chan<- *SpotMarketGoerliFeatureFlagDeniersReset, ...) (event.Subscription, error)
- func (_SpotMarketGoerli *SpotMarketGoerliFilterer) WatchFeatureFlagDenyAllSet(opts *bind.WatchOpts, sink chan<- *SpotMarketGoerliFeatureFlagDenyAllSet, ...) (event.Subscription, error)
- func (_SpotMarketGoerli *SpotMarketGoerliFilterer) WatchFeeCollectorSet(opts *bind.WatchOpts, sink chan<- *SpotMarketGoerliFeeCollectorSet, ...) (event.Subscription, error)
- func (_SpotMarketGoerli *SpotMarketGoerliFilterer) WatchMarketNominationRenounced(opts *bind.WatchOpts, sink chan<- *SpotMarketGoerliMarketNominationRenounced, ...) (event.Subscription, error)
- func (_SpotMarketGoerli *SpotMarketGoerliFilterer) WatchMarketOwnerChanged(opts *bind.WatchOpts, sink chan<- *SpotMarketGoerliMarketOwnerChanged, ...) (event.Subscription, error)
- func (_SpotMarketGoerli *SpotMarketGoerliFilterer) WatchMarketOwnerNominated(opts *bind.WatchOpts, sink chan<- *SpotMarketGoerliMarketOwnerNominated, ...) (event.Subscription, error)
- func (_SpotMarketGoerli *SpotMarketGoerliFilterer) WatchMarketSkewScaleSet(opts *bind.WatchOpts, sink chan<- *SpotMarketGoerliMarketSkewScaleSet, ...) (event.Subscription, error)
- func (_SpotMarketGoerli *SpotMarketGoerliFilterer) WatchMarketUtilizationFeesSet(opts *bind.WatchOpts, sink chan<- *SpotMarketGoerliMarketUtilizationFeesSet, ...) (event.Subscription, error)
- func (_SpotMarketGoerli *SpotMarketGoerliFilterer) WatchOrderCancelled(opts *bind.WatchOpts, sink chan<- *SpotMarketGoerliOrderCancelled, ...) (event.Subscription, error)
- func (_SpotMarketGoerli *SpotMarketGoerliFilterer) WatchOrderCommitted(opts *bind.WatchOpts, sink chan<- *SpotMarketGoerliOrderCommitted, ...) (event.Subscription, error)
- func (_SpotMarketGoerli *SpotMarketGoerliFilterer) WatchOrderSettled(opts *bind.WatchOpts, sink chan<- *SpotMarketGoerliOrderSettled, ...) (event.Subscription, error)
- func (_SpotMarketGoerli *SpotMarketGoerliFilterer) WatchOwnerChanged(opts *bind.WatchOpts, sink chan<- *SpotMarketGoerliOwnerChanged) (event.Subscription, error)
- func (_SpotMarketGoerli *SpotMarketGoerliFilterer) WatchOwnerNominated(opts *bind.WatchOpts, sink chan<- *SpotMarketGoerliOwnerNominated) (event.Subscription, error)
- func (_SpotMarketGoerli *SpotMarketGoerliFilterer) WatchReferrerShareUpdated(opts *bind.WatchOpts, sink chan<- *SpotMarketGoerliReferrerShareUpdated, ...) (event.Subscription, error)
- func (_SpotMarketGoerli *SpotMarketGoerliFilterer) WatchSettlementStrategyAdded(opts *bind.WatchOpts, sink chan<- *SpotMarketGoerliSettlementStrategyAdded, ...) (event.Subscription, error)
- func (_SpotMarketGoerli *SpotMarketGoerliFilterer) WatchSettlementStrategyUpdated(opts *bind.WatchOpts, sink chan<- *SpotMarketGoerliSettlementStrategyUpdated, ...) (event.Subscription, error)
- func (_SpotMarketGoerli *SpotMarketGoerliFilterer) WatchSynthBought(opts *bind.WatchOpts, sink chan<- *SpotMarketGoerliSynthBought, ...) (event.Subscription, error)
- func (_SpotMarketGoerli *SpotMarketGoerliFilterer) WatchSynthImplementationSet(opts *bind.WatchOpts, sink chan<- *SpotMarketGoerliSynthImplementationSet) (event.Subscription, error)
- func (_SpotMarketGoerli *SpotMarketGoerliFilterer) WatchSynthImplementationUpgraded(opts *bind.WatchOpts, sink chan<- *SpotMarketGoerliSynthImplementationUpgraded, ...) (event.Subscription, error)
- func (_SpotMarketGoerli *SpotMarketGoerliFilterer) WatchSynthPriceDataUpdated(opts *bind.WatchOpts, sink chan<- *SpotMarketGoerliSynthPriceDataUpdated, ...) (event.Subscription, error)
- func (_SpotMarketGoerli *SpotMarketGoerliFilterer) WatchSynthRegistered(opts *bind.WatchOpts, sink chan<- *SpotMarketGoerliSynthRegistered, ...) (event.Subscription, error)
- func (_SpotMarketGoerli *SpotMarketGoerliFilterer) WatchSynthSold(opts *bind.WatchOpts, sink chan<- *SpotMarketGoerliSynthSold, ...) (event.Subscription, error)
- func (_SpotMarketGoerli *SpotMarketGoerliFilterer) WatchSynthUnwrapped(opts *bind.WatchOpts, sink chan<- *SpotMarketGoerliSynthUnwrapped, ...) (event.Subscription, error)
- func (_SpotMarketGoerli *SpotMarketGoerliFilterer) WatchSynthWrapped(opts *bind.WatchOpts, sink chan<- *SpotMarketGoerliSynthWrapped, ...) (event.Subscription, error)
- func (_SpotMarketGoerli *SpotMarketGoerliFilterer) WatchSynthetixSystemSet(opts *bind.WatchOpts, sink chan<- *SpotMarketGoerliSynthetixSystemSet) (event.Subscription, error)
- func (_SpotMarketGoerli *SpotMarketGoerliFilterer) WatchTransactorFixedFeeSet(opts *bind.WatchOpts, sink chan<- *SpotMarketGoerliTransactorFixedFeeSet, ...) (event.Subscription, error)
- func (_SpotMarketGoerli *SpotMarketGoerliFilterer) WatchUpgraded(opts *bind.WatchOpts, sink chan<- *SpotMarketGoerliUpgraded, ...) (event.Subscription, error)
- func (_SpotMarketGoerli *SpotMarketGoerliFilterer) WatchWrapperFeesSet(opts *bind.WatchOpts, sink chan<- *SpotMarketGoerliWrapperFeesSet, ...) (event.Subscription, error)
- func (_SpotMarketGoerli *SpotMarketGoerliFilterer) WatchWrapperSet(opts *bind.WatchOpts, sink chan<- *SpotMarketGoerliWrapperSet, ...) (event.Subscription, error)
- type SpotMarketGoerliMarketNominationRenounced
- type SpotMarketGoerliMarketNominationRenouncedIterator
- type SpotMarketGoerliMarketOwnerChanged
- type SpotMarketGoerliMarketOwnerChangedIterator
- type SpotMarketGoerliMarketOwnerNominated
- type SpotMarketGoerliMarketOwnerNominatedIterator
- type SpotMarketGoerliMarketSkewScaleSet
- type SpotMarketGoerliMarketSkewScaleSetIterator
- type SpotMarketGoerliMarketUtilizationFeesSet
- type SpotMarketGoerliMarketUtilizationFeesSetIterator
- type SpotMarketGoerliOrderCancelled
- type SpotMarketGoerliOrderCancelledIterator
- type SpotMarketGoerliOrderCommitted
- type SpotMarketGoerliOrderCommittedIterator
- type SpotMarketGoerliOrderSettled
- type SpotMarketGoerliOrderSettledIterator
- type SpotMarketGoerliOwnerChanged
- type SpotMarketGoerliOwnerChangedIterator
- type SpotMarketGoerliOwnerNominated
- type SpotMarketGoerliOwnerNominatedIterator
- type SpotMarketGoerliRaw
- func (_SpotMarketGoerli *SpotMarketGoerliRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_SpotMarketGoerli *SpotMarketGoerliRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type SpotMarketGoerliReferrerShareUpdated
- type SpotMarketGoerliReferrerShareUpdatedIterator
- type SpotMarketGoerliSession
- func (_SpotMarketGoerli *SpotMarketGoerliSession) AcceptMarketOwnership(synthMarketId *big.Int) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliSession) AcceptOwnership() (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliSession) AddSettlementStrategy(marketId *big.Int, strategy SettlementStrategyData) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliSession) AddToFeatureFlagAllowlist(feature [32]byte, account common.Address) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliSession) Buy(marketId *big.Int, usdAmount *big.Int, minAmountReceived *big.Int, ...) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliSession) BuyExactIn(marketId *big.Int, usdAmount *big.Int, minAmountReceived *big.Int, ...) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliSession) BuyExactOut(marketId *big.Int, synthAmount *big.Int, maxUsdAmount *big.Int, ...) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliSession) CancelOrder(marketId *big.Int, asyncOrderId *big.Int) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliSession) CommitOrder(marketId *big.Int, orderType uint8, amountProvided *big.Int, ...) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliSession) CreateSynth(tokenName string, tokenSymbol string, synthOwner common.Address) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliSession) GetAssociatedSystem(id [32]byte) (struct{ ... }, error)
- func (_SpotMarketGoerli *SpotMarketGoerliSession) GetAsyncOrderClaim(marketId *big.Int, asyncOrderId *big.Int) (AsyncOrderClaimData, error)
- func (_SpotMarketGoerli *SpotMarketGoerliSession) GetCollateralLeverage(synthMarketId *big.Int) (*big.Int, error)
- func (_SpotMarketGoerli *SpotMarketGoerliSession) GetCustomTransactorFees(synthMarketId *big.Int, transactor common.Address) (*big.Int, error)
- func (_SpotMarketGoerli *SpotMarketGoerliSession) GetDeniers(feature [32]byte) ([]common.Address, error)
- func (_SpotMarketGoerli *SpotMarketGoerliSession) GetFeatureFlagAllowAll(feature [32]byte) (bool, error)
- func (_SpotMarketGoerli *SpotMarketGoerliSession) GetFeatureFlagAllowlist(feature [32]byte) ([]common.Address, error)
- func (_SpotMarketGoerli *SpotMarketGoerliSession) GetFeatureFlagDenyAll(feature [32]byte) (bool, error)
- func (_SpotMarketGoerli *SpotMarketGoerliSession) GetFeeCollector(synthMarketId *big.Int) (common.Address, error)
- func (_SpotMarketGoerli *SpotMarketGoerliSession) GetImplementation() (common.Address, error)
- func (_SpotMarketGoerli *SpotMarketGoerliSession) GetMarketFees(synthMarketId *big.Int) (struct{ ... }, error)
- func (_SpotMarketGoerli *SpotMarketGoerliSession) GetMarketOwner(synthMarketId *big.Int) (common.Address, error)
- func (_SpotMarketGoerli *SpotMarketGoerliSession) GetMarketSkewScale(synthMarketId *big.Int) (*big.Int, error)
- func (_SpotMarketGoerli *SpotMarketGoerliSession) GetMarketUtilizationFees(synthMarketId *big.Int) (*big.Int, error)
- func (_SpotMarketGoerli *SpotMarketGoerliSession) GetReferrerShare(synthMarketId *big.Int, referrer common.Address) (*big.Int, error)
- func (_SpotMarketGoerli *SpotMarketGoerliSession) GetSettlementStrategy(marketId *big.Int, strategyId *big.Int) (SettlementStrategyData, error)
- func (_SpotMarketGoerli *SpotMarketGoerliSession) GetSynth(marketId *big.Int) (common.Address, error)
- func (_SpotMarketGoerli *SpotMarketGoerliSession) GetSynthImpl(marketId *big.Int) (common.Address, error)
- func (_SpotMarketGoerli *SpotMarketGoerliSession) InitOrUpgradeNft(id [32]byte, name string, symbol string, uri string, impl common.Address) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliSession) InitOrUpgradeToken(id [32]byte, name string, symbol string, decimals uint8, impl common.Address) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliSession) IsFeatureAllowed(feature [32]byte, account common.Address) (bool, error)
- func (_SpotMarketGoerli *SpotMarketGoerliSession) MinimumCredit(marketId *big.Int) (*big.Int, error)
- func (_SpotMarketGoerli *SpotMarketGoerliSession) Name(marketId *big.Int) (string, error)
- func (_SpotMarketGoerli *SpotMarketGoerliSession) NominateMarketOwner(synthMarketId *big.Int, newNominatedOwner common.Address) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliSession) NominateNewOwner(newNominatedOwner common.Address) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliSession) NominatedOwner() (common.Address, error)
- func (_SpotMarketGoerli *SpotMarketGoerliSession) Owner() (common.Address, error)
- func (_SpotMarketGoerli *SpotMarketGoerliSession) PRECISION() (*big.Int, error)
- func (_SpotMarketGoerli *SpotMarketGoerliSession) QuoteBuyExactIn(marketId *big.Int, usdAmount *big.Int) (struct{ ... }, error)
- func (_SpotMarketGoerli *SpotMarketGoerliSession) QuoteBuyExactOut(marketId *big.Int, synthAmount *big.Int) (struct{ ... }, error)
- func (_SpotMarketGoerli *SpotMarketGoerliSession) QuoteSellExactIn(marketId *big.Int, synthAmount *big.Int) (struct{ ... }, error)
- func (_SpotMarketGoerli *SpotMarketGoerliSession) QuoteSellExactOut(marketId *big.Int, usdAmount *big.Int) (struct{ ... }, error)
- func (_SpotMarketGoerli *SpotMarketGoerliSession) RegisterUnmanagedSystem(id [32]byte, endpoint common.Address) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliSession) RemoveFromFeatureFlagAllowlist(feature [32]byte, account common.Address) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliSession) RenounceMarketNomination(synthMarketId *big.Int) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliSession) RenounceMarketOwnership(synthMarketId *big.Int) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliSession) RenounceNomination() (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliSession) ReportedDebt(marketId *big.Int) (*big.Int, error)
- func (_SpotMarketGoerli *SpotMarketGoerliSession) Sell(marketId *big.Int, synthAmount *big.Int, minUsdAmount *big.Int, ...) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliSession) SellExactIn(marketId *big.Int, synthAmount *big.Int, minAmountReceived *big.Int, ...) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliSession) SellExactOut(marketId *big.Int, usdAmount *big.Int, maxSynthAmount *big.Int, ...) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliSession) SetAsyncFixedFee(synthMarketId *big.Int, asyncFixedFee *big.Int) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliSession) SetAtomicFixedFee(synthMarketId *big.Int, atomicFixedFee *big.Int) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliSession) SetCollateralLeverage(synthMarketId *big.Int, collateralLeverage *big.Int) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliSession) SetCustomTransactorFees(synthMarketId *big.Int, transactor common.Address, fixedFeeAmount *big.Int) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliSession) SetDecayRate(marketId *big.Int, rate *big.Int) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliSession) SetDeniers(feature [32]byte, deniers []common.Address) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliSession) SetFeatureFlagAllowAll(feature [32]byte, allowAll bool) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliSession) SetFeatureFlagDenyAll(feature [32]byte, denyAll bool) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliSession) SetFeeCollector(synthMarketId *big.Int, feeCollector common.Address) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliSession) SetMarketSkewScale(synthMarketId *big.Int, skewScale *big.Int) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliSession) SetMarketUtilizationFees(synthMarketId *big.Int, utilizationFeeRate *big.Int) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliSession) SetSettlementStrategyEnabled(marketId *big.Int, strategyId *big.Int, enabled bool) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliSession) SetSynthImplementation(synthImplementation common.Address) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliSession) SetSynthetix(synthetix common.Address) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliSession) SetWrapper(marketId *big.Int, wrapCollateralType common.Address, ...) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliSession) SetWrapperFees(synthMarketId *big.Int, wrapFee *big.Int, unwrapFee *big.Int) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliSession) SettleOrder(marketId *big.Int, asyncOrderId *big.Int) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliSession) SettlePythOrder(result []byte, extraData []byte) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliSession) SimulateUpgradeTo(newImplementation common.Address) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliSession) SupportsInterface(interfaceId [4]byte) (bool, error)
- func (_SpotMarketGoerli *SpotMarketGoerliSession) Unwrap(marketId *big.Int, unwrapAmount *big.Int, minAmountReceived *big.Int) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliSession) UpdatePriceData(synthMarketId *big.Int, buyFeedId [32]byte, sellFeedId [32]byte) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliSession) UpdateReferrerShare(synthMarketId *big.Int, referrer common.Address, sharePercentage *big.Int) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliSession) UpgradeSynthImpl(marketId *big.Int) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliSession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliSession) Wrap(marketId *big.Int, wrapAmount *big.Int, minAmountReceived *big.Int) (*types.Transaction, error)
- type SpotMarketGoerliSettlementStrategyAdded
- type SpotMarketGoerliSettlementStrategyAddedIterator
- type SpotMarketGoerliSettlementStrategyUpdated
- type SpotMarketGoerliSettlementStrategyUpdatedIterator
- type SpotMarketGoerliSynthBought
- type SpotMarketGoerliSynthBoughtIterator
- type SpotMarketGoerliSynthImplementationSet
- type SpotMarketGoerliSynthImplementationSetIterator
- type SpotMarketGoerliSynthImplementationUpgraded
- type SpotMarketGoerliSynthImplementationUpgradedIterator
- type SpotMarketGoerliSynthPriceDataUpdated
- type SpotMarketGoerliSynthPriceDataUpdatedIterator
- type SpotMarketGoerliSynthRegistered
- type SpotMarketGoerliSynthRegisteredIterator
- type SpotMarketGoerliSynthSold
- type SpotMarketGoerliSynthSoldIterator
- type SpotMarketGoerliSynthUnwrapped
- type SpotMarketGoerliSynthUnwrappedIterator
- type SpotMarketGoerliSynthWrapped
- type SpotMarketGoerliSynthWrappedIterator
- type SpotMarketGoerliSynthetixSystemSet
- type SpotMarketGoerliSynthetixSystemSetIterator
- type SpotMarketGoerliTransactor
- func (_SpotMarketGoerli *SpotMarketGoerliTransactor) AcceptMarketOwnership(opts *bind.TransactOpts, synthMarketId *big.Int) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliTransactor) AcceptOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliTransactor) AddSettlementStrategy(opts *bind.TransactOpts, marketId *big.Int, strategy SettlementStrategyData) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliTransactor) AddToFeatureFlagAllowlist(opts *bind.TransactOpts, feature [32]byte, account common.Address) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliTransactor) Buy(opts *bind.TransactOpts, marketId *big.Int, usdAmount *big.Int, ...) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliTransactor) BuyExactIn(opts *bind.TransactOpts, marketId *big.Int, usdAmount *big.Int, ...) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliTransactor) BuyExactOut(opts *bind.TransactOpts, marketId *big.Int, synthAmount *big.Int, ...) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliTransactor) CancelOrder(opts *bind.TransactOpts, marketId *big.Int, asyncOrderId *big.Int) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliTransactor) CommitOrder(opts *bind.TransactOpts, marketId *big.Int, orderType uint8, ...) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliTransactor) CreateSynth(opts *bind.TransactOpts, tokenName string, tokenSymbol string, ...) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliTransactor) InitOrUpgradeNft(opts *bind.TransactOpts, id [32]byte, name string, symbol string, uri string, ...) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliTransactor) InitOrUpgradeToken(opts *bind.TransactOpts, id [32]byte, name string, symbol string, ...) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliTransactor) NominateMarketOwner(opts *bind.TransactOpts, synthMarketId *big.Int, ...) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliTransactor) NominateNewOwner(opts *bind.TransactOpts, newNominatedOwner common.Address) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliTransactor) RegisterUnmanagedSystem(opts *bind.TransactOpts, id [32]byte, endpoint common.Address) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliTransactor) RemoveFromFeatureFlagAllowlist(opts *bind.TransactOpts, feature [32]byte, account common.Address) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliTransactor) RenounceMarketNomination(opts *bind.TransactOpts, synthMarketId *big.Int) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliTransactor) RenounceMarketOwnership(opts *bind.TransactOpts, synthMarketId *big.Int) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliTransactor) RenounceNomination(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliTransactor) Sell(opts *bind.TransactOpts, marketId *big.Int, synthAmount *big.Int, ...) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliTransactor) SellExactIn(opts *bind.TransactOpts, marketId *big.Int, synthAmount *big.Int, ...) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliTransactor) SellExactOut(opts *bind.TransactOpts, marketId *big.Int, usdAmount *big.Int, ...) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliTransactor) SetAsyncFixedFee(opts *bind.TransactOpts, synthMarketId *big.Int, asyncFixedFee *big.Int) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliTransactor) SetAtomicFixedFee(opts *bind.TransactOpts, synthMarketId *big.Int, atomicFixedFee *big.Int) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliTransactor) SetCollateralLeverage(opts *bind.TransactOpts, synthMarketId *big.Int, collateralLeverage *big.Int) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliTransactor) SetCustomTransactorFees(opts *bind.TransactOpts, synthMarketId *big.Int, transactor common.Address, ...) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliTransactor) SetDecayRate(opts *bind.TransactOpts, marketId *big.Int, rate *big.Int) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliTransactor) SetDeniers(opts *bind.TransactOpts, feature [32]byte, deniers []common.Address) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliTransactor) SetFeatureFlagAllowAll(opts *bind.TransactOpts, feature [32]byte, allowAll bool) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliTransactor) SetFeatureFlagDenyAll(opts *bind.TransactOpts, feature [32]byte, denyAll bool) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliTransactor) SetFeeCollector(opts *bind.TransactOpts, synthMarketId *big.Int, feeCollector common.Address) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliTransactor) SetMarketSkewScale(opts *bind.TransactOpts, synthMarketId *big.Int, skewScale *big.Int) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliTransactor) SetMarketUtilizationFees(opts *bind.TransactOpts, synthMarketId *big.Int, utilizationFeeRate *big.Int) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliTransactor) SetSettlementStrategyEnabled(opts *bind.TransactOpts, marketId *big.Int, strategyId *big.Int, enabled bool) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliTransactor) SetSynthImplementation(opts *bind.TransactOpts, synthImplementation common.Address) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliTransactor) SetSynthetix(opts *bind.TransactOpts, synthetix common.Address) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliTransactor) SetWrapper(opts *bind.TransactOpts, marketId *big.Int, wrapCollateralType common.Address, ...) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliTransactor) SetWrapperFees(opts *bind.TransactOpts, synthMarketId *big.Int, wrapFee *big.Int, ...) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliTransactor) SettleOrder(opts *bind.TransactOpts, marketId *big.Int, asyncOrderId *big.Int) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliTransactor) SettlePythOrder(opts *bind.TransactOpts, result []byte, extraData []byte) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliTransactor) SimulateUpgradeTo(opts *bind.TransactOpts, newImplementation common.Address) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliTransactor) Unwrap(opts *bind.TransactOpts, marketId *big.Int, unwrapAmount *big.Int, ...) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliTransactor) UpdatePriceData(opts *bind.TransactOpts, synthMarketId *big.Int, buyFeedId [32]byte, ...) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliTransactor) UpdateReferrerShare(opts *bind.TransactOpts, synthMarketId *big.Int, referrer common.Address, ...) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliTransactor) UpgradeSynthImpl(opts *bind.TransactOpts, marketId *big.Int) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliTransactor) UpgradeTo(opts *bind.TransactOpts, newImplementation common.Address) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliTransactor) Wrap(opts *bind.TransactOpts, marketId *big.Int, wrapAmount *big.Int, ...) (*types.Transaction, error)
- type SpotMarketGoerliTransactorFixedFeeSet
- type SpotMarketGoerliTransactorFixedFeeSetIterator
- type SpotMarketGoerliTransactorRaw
- type SpotMarketGoerliTransactorSession
- func (_SpotMarketGoerli *SpotMarketGoerliTransactorSession) AcceptMarketOwnership(synthMarketId *big.Int) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliTransactorSession) AcceptOwnership() (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliTransactorSession) AddSettlementStrategy(marketId *big.Int, strategy SettlementStrategyData) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliTransactorSession) AddToFeatureFlagAllowlist(feature [32]byte, account common.Address) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliTransactorSession) Buy(marketId *big.Int, usdAmount *big.Int, minAmountReceived *big.Int, ...) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliTransactorSession) BuyExactIn(marketId *big.Int, usdAmount *big.Int, minAmountReceived *big.Int, ...) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliTransactorSession) BuyExactOut(marketId *big.Int, synthAmount *big.Int, maxUsdAmount *big.Int, ...) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliTransactorSession) CancelOrder(marketId *big.Int, asyncOrderId *big.Int) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliTransactorSession) CommitOrder(marketId *big.Int, orderType uint8, amountProvided *big.Int, ...) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliTransactorSession) CreateSynth(tokenName string, tokenSymbol string, synthOwner common.Address) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliTransactorSession) InitOrUpgradeNft(id [32]byte, name string, symbol string, uri string, impl common.Address) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliTransactorSession) InitOrUpgradeToken(id [32]byte, name string, symbol string, decimals uint8, impl common.Address) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliTransactorSession) NominateMarketOwner(synthMarketId *big.Int, newNominatedOwner common.Address) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliTransactorSession) NominateNewOwner(newNominatedOwner common.Address) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliTransactorSession) RegisterUnmanagedSystem(id [32]byte, endpoint common.Address) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliTransactorSession) RemoveFromFeatureFlagAllowlist(feature [32]byte, account common.Address) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliTransactorSession) RenounceMarketNomination(synthMarketId *big.Int) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliTransactorSession) RenounceMarketOwnership(synthMarketId *big.Int) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliTransactorSession) RenounceNomination() (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliTransactorSession) Sell(marketId *big.Int, synthAmount *big.Int, minUsdAmount *big.Int, ...) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliTransactorSession) SellExactIn(marketId *big.Int, synthAmount *big.Int, minAmountReceived *big.Int, ...) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliTransactorSession) SellExactOut(marketId *big.Int, usdAmount *big.Int, maxSynthAmount *big.Int, ...) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliTransactorSession) SetAsyncFixedFee(synthMarketId *big.Int, asyncFixedFee *big.Int) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliTransactorSession) SetAtomicFixedFee(synthMarketId *big.Int, atomicFixedFee *big.Int) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliTransactorSession) SetCollateralLeverage(synthMarketId *big.Int, collateralLeverage *big.Int) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliTransactorSession) SetCustomTransactorFees(synthMarketId *big.Int, transactor common.Address, fixedFeeAmount *big.Int) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliTransactorSession) SetDecayRate(marketId *big.Int, rate *big.Int) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliTransactorSession) SetDeniers(feature [32]byte, deniers []common.Address) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliTransactorSession) SetFeatureFlagAllowAll(feature [32]byte, allowAll bool) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliTransactorSession) SetFeatureFlagDenyAll(feature [32]byte, denyAll bool) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliTransactorSession) SetFeeCollector(synthMarketId *big.Int, feeCollector common.Address) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliTransactorSession) SetMarketSkewScale(synthMarketId *big.Int, skewScale *big.Int) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliTransactorSession) SetMarketUtilizationFees(synthMarketId *big.Int, utilizationFeeRate *big.Int) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliTransactorSession) SetSettlementStrategyEnabled(marketId *big.Int, strategyId *big.Int, enabled bool) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliTransactorSession) SetSynthImplementation(synthImplementation common.Address) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliTransactorSession) SetSynthetix(synthetix common.Address) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliTransactorSession) SetWrapper(marketId *big.Int, wrapCollateralType common.Address, ...) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliTransactorSession) SetWrapperFees(synthMarketId *big.Int, wrapFee *big.Int, unwrapFee *big.Int) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliTransactorSession) SettleOrder(marketId *big.Int, asyncOrderId *big.Int) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliTransactorSession) SettlePythOrder(result []byte, extraData []byte) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliTransactorSession) SimulateUpgradeTo(newImplementation common.Address) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliTransactorSession) Unwrap(marketId *big.Int, unwrapAmount *big.Int, minAmountReceived *big.Int) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliTransactorSession) UpdatePriceData(synthMarketId *big.Int, buyFeedId [32]byte, sellFeedId [32]byte) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliTransactorSession) UpdateReferrerShare(synthMarketId *big.Int, referrer common.Address, sharePercentage *big.Int) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliTransactorSession) UpgradeSynthImpl(marketId *big.Int) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliTransactorSession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error)
- func (_SpotMarketGoerli *SpotMarketGoerliTransactorSession) Wrap(marketId *big.Int, wrapAmount *big.Int, minAmountReceived *big.Int) (*types.Transaction, error)
- type SpotMarketGoerliUpgraded
- type SpotMarketGoerliUpgradedIterator
- type SpotMarketGoerliWrapperFeesSet
- type SpotMarketGoerliWrapperFeesSetIterator
- type SpotMarketGoerliWrapperSet
- type SpotMarketGoerliWrapperSetIterator
Constants ¶
This section is empty.
Variables ¶
var SpotMarketGoerliABI = SpotMarketGoerliMetaData.ABI
SpotMarketGoerliABI is the input ABI used to generate the binding from. Deprecated: Use SpotMarketGoerliMetaData.ABI instead.
var SpotMarketGoerliMetaData = &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\"}]",
}
SpotMarketGoerliMetaData contains all meta data concerning the SpotMarketGoerli 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 SpotMarketGoerli ¶
type SpotMarketGoerli struct { SpotMarketGoerliCaller // Read-only binding to the contract SpotMarketGoerliTransactor // Write-only binding to the contract SpotMarketGoerliFilterer // Log filterer for contract events }
SpotMarketGoerli is an auto generated Go binding around an Ethereum contract.
func NewSpotMarketGoerli ¶
func NewSpotMarketGoerli(address common.Address, backend bind.ContractBackend) (*SpotMarketGoerli, error)
NewSpotMarketGoerli creates a new instance of SpotMarketGoerli, bound to a specific deployed contract.
type SpotMarketGoerliAssociatedSystemSet ¶
type SpotMarketGoerliAssociatedSystemSet struct { Kind [32]byte Id [32]byte Proxy common.Address Impl common.Address Raw types.Log // Blockchain specific contextual infos }
SpotMarketGoerliAssociatedSystemSet represents a AssociatedSystemSet event raised by the SpotMarketGoerli contract.
type SpotMarketGoerliAssociatedSystemSetIterator ¶
type SpotMarketGoerliAssociatedSystemSetIterator struct { Event *SpotMarketGoerliAssociatedSystemSet // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SpotMarketGoerliAssociatedSystemSetIterator is returned from FilterAssociatedSystemSet and is used to iterate over the raw logs and unpacked data for AssociatedSystemSet events raised by the SpotMarketGoerli contract.
func (*SpotMarketGoerliAssociatedSystemSetIterator) Close ¶
func (it *SpotMarketGoerliAssociatedSystemSetIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SpotMarketGoerliAssociatedSystemSetIterator) Error ¶
func (it *SpotMarketGoerliAssociatedSystemSetIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SpotMarketGoerliAssociatedSystemSetIterator) Next ¶
func (it *SpotMarketGoerliAssociatedSystemSetIterator) 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 SpotMarketGoerliAsyncFixedFeeSet ¶
type SpotMarketGoerliAsyncFixedFeeSet struct { SynthMarketId *big.Int AsyncFixedFee *big.Int Raw types.Log // Blockchain specific contextual infos }
SpotMarketGoerliAsyncFixedFeeSet represents a AsyncFixedFeeSet event raised by the SpotMarketGoerli contract.
type SpotMarketGoerliAsyncFixedFeeSetIterator ¶
type SpotMarketGoerliAsyncFixedFeeSetIterator struct { Event *SpotMarketGoerliAsyncFixedFeeSet // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SpotMarketGoerliAsyncFixedFeeSetIterator is returned from FilterAsyncFixedFeeSet and is used to iterate over the raw logs and unpacked data for AsyncFixedFeeSet events raised by the SpotMarketGoerli contract.
func (*SpotMarketGoerliAsyncFixedFeeSetIterator) Close ¶
func (it *SpotMarketGoerliAsyncFixedFeeSetIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SpotMarketGoerliAsyncFixedFeeSetIterator) Error ¶
func (it *SpotMarketGoerliAsyncFixedFeeSetIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SpotMarketGoerliAsyncFixedFeeSetIterator) Next ¶
func (it *SpotMarketGoerliAsyncFixedFeeSetIterator) 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 SpotMarketGoerliAtomicFixedFeeSet ¶
type SpotMarketGoerliAtomicFixedFeeSet struct { SynthMarketId *big.Int AtomicFixedFee *big.Int Raw types.Log // Blockchain specific contextual infos }
SpotMarketGoerliAtomicFixedFeeSet represents a AtomicFixedFeeSet event raised by the SpotMarketGoerli contract.
type SpotMarketGoerliAtomicFixedFeeSetIterator ¶
type SpotMarketGoerliAtomicFixedFeeSetIterator struct { Event *SpotMarketGoerliAtomicFixedFeeSet // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SpotMarketGoerliAtomicFixedFeeSetIterator is returned from FilterAtomicFixedFeeSet and is used to iterate over the raw logs and unpacked data for AtomicFixedFeeSet events raised by the SpotMarketGoerli contract.
func (*SpotMarketGoerliAtomicFixedFeeSetIterator) Close ¶
func (it *SpotMarketGoerliAtomicFixedFeeSetIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SpotMarketGoerliAtomicFixedFeeSetIterator) Error ¶
func (it *SpotMarketGoerliAtomicFixedFeeSetIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SpotMarketGoerliAtomicFixedFeeSetIterator) Next ¶
func (it *SpotMarketGoerliAtomicFixedFeeSetIterator) 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 SpotMarketGoerliCaller ¶
type SpotMarketGoerliCaller struct {
// contains filtered or unexported fields
}
SpotMarketGoerliCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewSpotMarketGoerliCaller ¶
func NewSpotMarketGoerliCaller(address common.Address, caller bind.ContractCaller) (*SpotMarketGoerliCaller, error)
NewSpotMarketGoerliCaller creates a new read-only instance of SpotMarketGoerli, bound to a specific deployed contract.
func (*SpotMarketGoerliCaller) GetAssociatedSystem ¶
func (_SpotMarketGoerli *SpotMarketGoerliCaller) 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 (*SpotMarketGoerliCaller) GetAsyncOrderClaim ¶
func (_SpotMarketGoerli *SpotMarketGoerliCaller) 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 (*SpotMarketGoerliCaller) GetCollateralLeverage ¶
func (_SpotMarketGoerli *SpotMarketGoerliCaller) 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 (*SpotMarketGoerliCaller) GetCustomTransactorFees ¶
func (_SpotMarketGoerli *SpotMarketGoerliCaller) 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 (*SpotMarketGoerliCaller) GetDeniers ¶
func (_SpotMarketGoerli *SpotMarketGoerliCaller) 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 (*SpotMarketGoerliCaller) GetFeatureFlagAllowAll ¶
func (_SpotMarketGoerli *SpotMarketGoerliCaller) 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 (*SpotMarketGoerliCaller) GetFeatureFlagAllowlist ¶
func (_SpotMarketGoerli *SpotMarketGoerliCaller) 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 (*SpotMarketGoerliCaller) GetFeatureFlagDenyAll ¶
func (_SpotMarketGoerli *SpotMarketGoerliCaller) 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 (*SpotMarketGoerliCaller) GetFeeCollector ¶
func (_SpotMarketGoerli *SpotMarketGoerliCaller) 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 (*SpotMarketGoerliCaller) GetImplementation ¶
func (_SpotMarketGoerli *SpotMarketGoerliCaller) 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 (*SpotMarketGoerliCaller) GetMarketFees ¶
func (_SpotMarketGoerli *SpotMarketGoerliCaller) 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 (*SpotMarketGoerliCaller) GetMarketOwner ¶
func (_SpotMarketGoerli *SpotMarketGoerliCaller) 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 (*SpotMarketGoerliCaller) GetMarketSkewScale ¶
func (_SpotMarketGoerli *SpotMarketGoerliCaller) 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 (*SpotMarketGoerliCaller) GetMarketUtilizationFees ¶
func (_SpotMarketGoerli *SpotMarketGoerliCaller) 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 (*SpotMarketGoerliCaller) GetReferrerShare ¶
func (_SpotMarketGoerli *SpotMarketGoerliCaller) 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 (*SpotMarketGoerliCaller) GetSettlementStrategy ¶
func (_SpotMarketGoerli *SpotMarketGoerliCaller) 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 (*SpotMarketGoerliCaller) GetSynth ¶
func (_SpotMarketGoerli *SpotMarketGoerliCaller) 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 (*SpotMarketGoerliCaller) GetSynthImpl ¶
func (_SpotMarketGoerli *SpotMarketGoerliCaller) 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 (*SpotMarketGoerliCaller) IsFeatureAllowed ¶
func (_SpotMarketGoerli *SpotMarketGoerliCaller) 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 (*SpotMarketGoerliCaller) MinimumCredit ¶
func (_SpotMarketGoerli *SpotMarketGoerliCaller) 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 (*SpotMarketGoerliCaller) Name ¶
func (_SpotMarketGoerli *SpotMarketGoerliCaller) 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 (*SpotMarketGoerliCaller) NominatedOwner ¶
func (_SpotMarketGoerli *SpotMarketGoerliCaller) 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 (*SpotMarketGoerliCaller) Owner ¶
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*SpotMarketGoerliCaller) PRECISION ¶
PRECISION is a free data retrieval call binding the contract method 0xaaf5eb68.
Solidity: function PRECISION() view returns(int256)
func (*SpotMarketGoerliCaller) QuoteBuyExactIn ¶
func (_SpotMarketGoerli *SpotMarketGoerliCaller) 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 (*SpotMarketGoerliCaller) QuoteBuyExactOut ¶
func (_SpotMarketGoerli *SpotMarketGoerliCaller) 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 (*SpotMarketGoerliCaller) QuoteSellExactIn ¶
func (_SpotMarketGoerli *SpotMarketGoerliCaller) 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 (*SpotMarketGoerliCaller) QuoteSellExactOut ¶
func (_SpotMarketGoerli *SpotMarketGoerliCaller) 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 (*SpotMarketGoerliCaller) ReportedDebt ¶
func (_SpotMarketGoerli *SpotMarketGoerliCaller) 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 (*SpotMarketGoerliCaller) SupportsInterface ¶
func (_SpotMarketGoerli *SpotMarketGoerliCaller) 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 SpotMarketGoerliCallerRaw ¶
type SpotMarketGoerliCallerRaw struct {
Contract *SpotMarketGoerliCaller // Generic read-only contract binding to access the raw methods on
}
SpotMarketGoerliCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*SpotMarketGoerliCallerRaw) Call ¶
func (_SpotMarketGoerli *SpotMarketGoerliCallerRaw) 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 SpotMarketGoerliCallerSession ¶
type SpotMarketGoerliCallerSession struct { Contract *SpotMarketGoerliCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
SpotMarketGoerliCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*SpotMarketGoerliCallerSession) GetAssociatedSystem ¶
func (_SpotMarketGoerli *SpotMarketGoerliCallerSession) 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 (*SpotMarketGoerliCallerSession) GetAsyncOrderClaim ¶
func (_SpotMarketGoerli *SpotMarketGoerliCallerSession) 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 (*SpotMarketGoerliCallerSession) GetCollateralLeverage ¶
func (_SpotMarketGoerli *SpotMarketGoerliCallerSession) 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 (*SpotMarketGoerliCallerSession) GetCustomTransactorFees ¶
func (_SpotMarketGoerli *SpotMarketGoerliCallerSession) 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 (*SpotMarketGoerliCallerSession) GetDeniers ¶
func (_SpotMarketGoerli *SpotMarketGoerliCallerSession) 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 (*SpotMarketGoerliCallerSession) GetFeatureFlagAllowAll ¶
func (_SpotMarketGoerli *SpotMarketGoerliCallerSession) 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 (*SpotMarketGoerliCallerSession) GetFeatureFlagAllowlist ¶
func (_SpotMarketGoerli *SpotMarketGoerliCallerSession) 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 (*SpotMarketGoerliCallerSession) GetFeatureFlagDenyAll ¶
func (_SpotMarketGoerli *SpotMarketGoerliCallerSession) 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 (*SpotMarketGoerliCallerSession) GetFeeCollector ¶
func (_SpotMarketGoerli *SpotMarketGoerliCallerSession) 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 (*SpotMarketGoerliCallerSession) GetImplementation ¶
func (_SpotMarketGoerli *SpotMarketGoerliCallerSession) GetImplementation() (common.Address, error)
GetImplementation is a free data retrieval call binding the contract method 0xaaf10f42.
Solidity: function getImplementation() view returns(address)
func (*SpotMarketGoerliCallerSession) GetMarketFees ¶
func (_SpotMarketGoerli *SpotMarketGoerliCallerSession) 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 (*SpotMarketGoerliCallerSession) GetMarketOwner ¶
func (_SpotMarketGoerli *SpotMarketGoerliCallerSession) 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 (*SpotMarketGoerliCallerSession) GetMarketSkewScale ¶
func (_SpotMarketGoerli *SpotMarketGoerliCallerSession) 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 (*SpotMarketGoerliCallerSession) GetMarketUtilizationFees ¶
func (_SpotMarketGoerli *SpotMarketGoerliCallerSession) 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 (*SpotMarketGoerliCallerSession) GetReferrerShare ¶
func (_SpotMarketGoerli *SpotMarketGoerliCallerSession) 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 (*SpotMarketGoerliCallerSession) GetSettlementStrategy ¶
func (_SpotMarketGoerli *SpotMarketGoerliCallerSession) 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 (*SpotMarketGoerliCallerSession) GetSynth ¶
func (_SpotMarketGoerli *SpotMarketGoerliCallerSession) 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 (*SpotMarketGoerliCallerSession) GetSynthImpl ¶
func (_SpotMarketGoerli *SpotMarketGoerliCallerSession) 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 (*SpotMarketGoerliCallerSession) IsFeatureAllowed ¶
func (_SpotMarketGoerli *SpotMarketGoerliCallerSession) 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 (*SpotMarketGoerliCallerSession) MinimumCredit ¶
func (_SpotMarketGoerli *SpotMarketGoerliCallerSession) 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 (*SpotMarketGoerliCallerSession) Name ¶
func (_SpotMarketGoerli *SpotMarketGoerliCallerSession) 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 (*SpotMarketGoerliCallerSession) NominatedOwner ¶
func (_SpotMarketGoerli *SpotMarketGoerliCallerSession) NominatedOwner() (common.Address, error)
NominatedOwner is a free data retrieval call binding the contract method 0x53a47bb7.
Solidity: function nominatedOwner() view returns(address)
func (*SpotMarketGoerliCallerSession) Owner ¶
func (_SpotMarketGoerli *SpotMarketGoerliCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*SpotMarketGoerliCallerSession) PRECISION ¶
func (_SpotMarketGoerli *SpotMarketGoerliCallerSession) PRECISION() (*big.Int, error)
PRECISION is a free data retrieval call binding the contract method 0xaaf5eb68.
Solidity: function PRECISION() view returns(int256)
func (*SpotMarketGoerliCallerSession) QuoteBuyExactIn ¶
func (_SpotMarketGoerli *SpotMarketGoerliCallerSession) 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 (*SpotMarketGoerliCallerSession) QuoteBuyExactOut ¶
func (_SpotMarketGoerli *SpotMarketGoerliCallerSession) 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 (*SpotMarketGoerliCallerSession) QuoteSellExactIn ¶
func (_SpotMarketGoerli *SpotMarketGoerliCallerSession) 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 (*SpotMarketGoerliCallerSession) QuoteSellExactOut ¶
func (_SpotMarketGoerli *SpotMarketGoerliCallerSession) 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 (*SpotMarketGoerliCallerSession) ReportedDebt ¶
func (_SpotMarketGoerli *SpotMarketGoerliCallerSession) 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 (*SpotMarketGoerliCallerSession) SupportsInterface ¶
func (_SpotMarketGoerli *SpotMarketGoerliCallerSession) 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 SpotMarketGoerliCollateralLeverageSet ¶
type SpotMarketGoerliCollateralLeverageSet struct { SynthMarketId *big.Int CollateralLeverage *big.Int Raw types.Log // Blockchain specific contextual infos }
SpotMarketGoerliCollateralLeverageSet represents a CollateralLeverageSet event raised by the SpotMarketGoerli contract.
type SpotMarketGoerliCollateralLeverageSetIterator ¶
type SpotMarketGoerliCollateralLeverageSetIterator struct { Event *SpotMarketGoerliCollateralLeverageSet // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SpotMarketGoerliCollateralLeverageSetIterator is returned from FilterCollateralLeverageSet and is used to iterate over the raw logs and unpacked data for CollateralLeverageSet events raised by the SpotMarketGoerli contract.
func (*SpotMarketGoerliCollateralLeverageSetIterator) Close ¶
func (it *SpotMarketGoerliCollateralLeverageSetIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SpotMarketGoerliCollateralLeverageSetIterator) Error ¶
func (it *SpotMarketGoerliCollateralLeverageSetIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SpotMarketGoerliCollateralLeverageSetIterator) Next ¶
func (it *SpotMarketGoerliCollateralLeverageSetIterator) 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 SpotMarketGoerliDecayRateUpdated ¶
type SpotMarketGoerliDecayRateUpdated struct { MarketId *big.Int Rate *big.Int Raw types.Log // Blockchain specific contextual infos }
SpotMarketGoerliDecayRateUpdated represents a DecayRateUpdated event raised by the SpotMarketGoerli contract.
type SpotMarketGoerliDecayRateUpdatedIterator ¶
type SpotMarketGoerliDecayRateUpdatedIterator struct { Event *SpotMarketGoerliDecayRateUpdated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SpotMarketGoerliDecayRateUpdatedIterator is returned from FilterDecayRateUpdated and is used to iterate over the raw logs and unpacked data for DecayRateUpdated events raised by the SpotMarketGoerli contract.
func (*SpotMarketGoerliDecayRateUpdatedIterator) Close ¶
func (it *SpotMarketGoerliDecayRateUpdatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SpotMarketGoerliDecayRateUpdatedIterator) Error ¶
func (it *SpotMarketGoerliDecayRateUpdatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SpotMarketGoerliDecayRateUpdatedIterator) Next ¶
func (it *SpotMarketGoerliDecayRateUpdatedIterator) 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 SpotMarketGoerliFeatureFlagAllowAllSet ¶
type SpotMarketGoerliFeatureFlagAllowAllSet struct { Feature [32]byte AllowAll bool Raw types.Log // Blockchain specific contextual infos }
SpotMarketGoerliFeatureFlagAllowAllSet represents a FeatureFlagAllowAllSet event raised by the SpotMarketGoerli contract.
type SpotMarketGoerliFeatureFlagAllowAllSetIterator ¶
type SpotMarketGoerliFeatureFlagAllowAllSetIterator struct { Event *SpotMarketGoerliFeatureFlagAllowAllSet // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SpotMarketGoerliFeatureFlagAllowAllSetIterator is returned from FilterFeatureFlagAllowAllSet and is used to iterate over the raw logs and unpacked data for FeatureFlagAllowAllSet events raised by the SpotMarketGoerli contract.
func (*SpotMarketGoerliFeatureFlagAllowAllSetIterator) Close ¶
func (it *SpotMarketGoerliFeatureFlagAllowAllSetIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SpotMarketGoerliFeatureFlagAllowAllSetIterator) Error ¶
func (it *SpotMarketGoerliFeatureFlagAllowAllSetIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SpotMarketGoerliFeatureFlagAllowAllSetIterator) Next ¶
func (it *SpotMarketGoerliFeatureFlagAllowAllSetIterator) 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 SpotMarketGoerliFeatureFlagAllowlistAdded ¶
type SpotMarketGoerliFeatureFlagAllowlistAdded struct { Feature [32]byte Account common.Address Raw types.Log // Blockchain specific contextual infos }
SpotMarketGoerliFeatureFlagAllowlistAdded represents a FeatureFlagAllowlistAdded event raised by the SpotMarketGoerli contract.
type SpotMarketGoerliFeatureFlagAllowlistAddedIterator ¶
type SpotMarketGoerliFeatureFlagAllowlistAddedIterator struct { Event *SpotMarketGoerliFeatureFlagAllowlistAdded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SpotMarketGoerliFeatureFlagAllowlistAddedIterator is returned from FilterFeatureFlagAllowlistAdded and is used to iterate over the raw logs and unpacked data for FeatureFlagAllowlistAdded events raised by the SpotMarketGoerli contract.
func (*SpotMarketGoerliFeatureFlagAllowlistAddedIterator) Close ¶
func (it *SpotMarketGoerliFeatureFlagAllowlistAddedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SpotMarketGoerliFeatureFlagAllowlistAddedIterator) Error ¶
func (it *SpotMarketGoerliFeatureFlagAllowlistAddedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SpotMarketGoerliFeatureFlagAllowlistAddedIterator) Next ¶
func (it *SpotMarketGoerliFeatureFlagAllowlistAddedIterator) 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 SpotMarketGoerliFeatureFlagAllowlistRemoved ¶
type SpotMarketGoerliFeatureFlagAllowlistRemoved struct { Feature [32]byte Account common.Address Raw types.Log // Blockchain specific contextual infos }
SpotMarketGoerliFeatureFlagAllowlistRemoved represents a FeatureFlagAllowlistRemoved event raised by the SpotMarketGoerli contract.
type SpotMarketGoerliFeatureFlagAllowlistRemovedIterator ¶
type SpotMarketGoerliFeatureFlagAllowlistRemovedIterator struct { Event *SpotMarketGoerliFeatureFlagAllowlistRemoved // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SpotMarketGoerliFeatureFlagAllowlistRemovedIterator is returned from FilterFeatureFlagAllowlistRemoved and is used to iterate over the raw logs and unpacked data for FeatureFlagAllowlistRemoved events raised by the SpotMarketGoerli contract.
func (*SpotMarketGoerliFeatureFlagAllowlistRemovedIterator) Close ¶
func (it *SpotMarketGoerliFeatureFlagAllowlistRemovedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SpotMarketGoerliFeatureFlagAllowlistRemovedIterator) Error ¶
func (it *SpotMarketGoerliFeatureFlagAllowlistRemovedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SpotMarketGoerliFeatureFlagAllowlistRemovedIterator) Next ¶
func (it *SpotMarketGoerliFeatureFlagAllowlistRemovedIterator) 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 SpotMarketGoerliFeatureFlagDeniersReset ¶
type SpotMarketGoerliFeatureFlagDeniersReset struct { Feature [32]byte Deniers []common.Address Raw types.Log // Blockchain specific contextual infos }
SpotMarketGoerliFeatureFlagDeniersReset represents a FeatureFlagDeniersReset event raised by the SpotMarketGoerli contract.
type SpotMarketGoerliFeatureFlagDeniersResetIterator ¶
type SpotMarketGoerliFeatureFlagDeniersResetIterator struct { Event *SpotMarketGoerliFeatureFlagDeniersReset // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SpotMarketGoerliFeatureFlagDeniersResetIterator is returned from FilterFeatureFlagDeniersReset and is used to iterate over the raw logs and unpacked data for FeatureFlagDeniersReset events raised by the SpotMarketGoerli contract.
func (*SpotMarketGoerliFeatureFlagDeniersResetIterator) Close ¶
func (it *SpotMarketGoerliFeatureFlagDeniersResetIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SpotMarketGoerliFeatureFlagDeniersResetIterator) Error ¶
func (it *SpotMarketGoerliFeatureFlagDeniersResetIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SpotMarketGoerliFeatureFlagDeniersResetIterator) Next ¶
func (it *SpotMarketGoerliFeatureFlagDeniersResetIterator) 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 SpotMarketGoerliFeatureFlagDenyAllSet ¶
type SpotMarketGoerliFeatureFlagDenyAllSet struct { Feature [32]byte DenyAll bool Raw types.Log // Blockchain specific contextual infos }
SpotMarketGoerliFeatureFlagDenyAllSet represents a FeatureFlagDenyAllSet event raised by the SpotMarketGoerli contract.
type SpotMarketGoerliFeatureFlagDenyAllSetIterator ¶
type SpotMarketGoerliFeatureFlagDenyAllSetIterator struct { Event *SpotMarketGoerliFeatureFlagDenyAllSet // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SpotMarketGoerliFeatureFlagDenyAllSetIterator is returned from FilterFeatureFlagDenyAllSet and is used to iterate over the raw logs and unpacked data for FeatureFlagDenyAllSet events raised by the SpotMarketGoerli contract.
func (*SpotMarketGoerliFeatureFlagDenyAllSetIterator) Close ¶
func (it *SpotMarketGoerliFeatureFlagDenyAllSetIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SpotMarketGoerliFeatureFlagDenyAllSetIterator) Error ¶
func (it *SpotMarketGoerliFeatureFlagDenyAllSetIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SpotMarketGoerliFeatureFlagDenyAllSetIterator) Next ¶
func (it *SpotMarketGoerliFeatureFlagDenyAllSetIterator) 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 SpotMarketGoerliFeeCollectorSet ¶
type SpotMarketGoerliFeeCollectorSet struct { SynthMarketId *big.Int FeeCollector common.Address Raw types.Log // Blockchain specific contextual infos }
SpotMarketGoerliFeeCollectorSet represents a FeeCollectorSet event raised by the SpotMarketGoerli contract.
type SpotMarketGoerliFeeCollectorSetIterator ¶
type SpotMarketGoerliFeeCollectorSetIterator struct { Event *SpotMarketGoerliFeeCollectorSet // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SpotMarketGoerliFeeCollectorSetIterator is returned from FilterFeeCollectorSet and is used to iterate over the raw logs and unpacked data for FeeCollectorSet events raised by the SpotMarketGoerli contract.
func (*SpotMarketGoerliFeeCollectorSetIterator) Close ¶
func (it *SpotMarketGoerliFeeCollectorSetIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SpotMarketGoerliFeeCollectorSetIterator) Error ¶
func (it *SpotMarketGoerliFeeCollectorSetIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SpotMarketGoerliFeeCollectorSetIterator) Next ¶
func (it *SpotMarketGoerliFeeCollectorSetIterator) 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 SpotMarketGoerliFilterer ¶
type SpotMarketGoerliFilterer struct {
// contains filtered or unexported fields
}
SpotMarketGoerliFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewSpotMarketGoerliFilterer ¶
func NewSpotMarketGoerliFilterer(address common.Address, filterer bind.ContractFilterer) (*SpotMarketGoerliFilterer, error)
NewSpotMarketGoerliFilterer creates a new log filterer instance of SpotMarketGoerli, bound to a specific deployed contract.
func (*SpotMarketGoerliFilterer) FilterAssociatedSystemSet ¶
func (_SpotMarketGoerli *SpotMarketGoerliFilterer) FilterAssociatedSystemSet(opts *bind.FilterOpts, kind [][32]byte, id [][32]byte) (*SpotMarketGoerliAssociatedSystemSetIterator, 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 (*SpotMarketGoerliFilterer) FilterAsyncFixedFeeSet ¶
func (_SpotMarketGoerli *SpotMarketGoerliFilterer) FilterAsyncFixedFeeSet(opts *bind.FilterOpts, synthMarketId []*big.Int) (*SpotMarketGoerliAsyncFixedFeeSetIterator, error)
FilterAsyncFixedFeeSet is a free log retrieval operation binding the contract event 0xaef59d229d195c5b8372221acbf4041b926fb1616a95f93e44379e4f30d57bfe.
Solidity: event AsyncFixedFeeSet(uint256 indexed synthMarketId, uint256 asyncFixedFee)
func (*SpotMarketGoerliFilterer) FilterAtomicFixedFeeSet ¶
func (_SpotMarketGoerli *SpotMarketGoerliFilterer) FilterAtomicFixedFeeSet(opts *bind.FilterOpts, synthMarketId []*big.Int) (*SpotMarketGoerliAtomicFixedFeeSetIterator, error)
FilterAtomicFixedFeeSet is a free log retrieval operation binding the contract event 0x6b0a526b06b2f30ba2d5b063c2ef81547512216d37c540b86039e3a19f1d2b3f.
Solidity: event AtomicFixedFeeSet(uint256 indexed synthMarketId, uint256 atomicFixedFee)
func (*SpotMarketGoerliFilterer) FilterCollateralLeverageSet ¶
func (_SpotMarketGoerli *SpotMarketGoerliFilterer) FilterCollateralLeverageSet(opts *bind.FilterOpts, synthMarketId []*big.Int) (*SpotMarketGoerliCollateralLeverageSetIterator, error)
FilterCollateralLeverageSet is a free log retrieval operation binding the contract event 0x83113c0e8d811f7e7017948357e945a1a8a6b6fc0d76c8512ffdd6f6766e8a13.
Solidity: event CollateralLeverageSet(uint256 indexed synthMarketId, uint256 collateralLeverage)
func (*SpotMarketGoerliFilterer) FilterDecayRateUpdated ¶
func (_SpotMarketGoerli *SpotMarketGoerliFilterer) FilterDecayRateUpdated(opts *bind.FilterOpts, marketId []*big.Int) (*SpotMarketGoerliDecayRateUpdatedIterator, error)
FilterDecayRateUpdated is a free log retrieval operation binding the contract event 0x8a1ed33cd71d1533eadd1d4eb0ea2ae64da7d343cb2a932fdf135f345264e2b5.
Solidity: event DecayRateUpdated(uint128 indexed marketId, uint256 rate)
func (*SpotMarketGoerliFilterer) FilterFeatureFlagAllowAllSet ¶
func (_SpotMarketGoerli *SpotMarketGoerliFilterer) FilterFeatureFlagAllowAllSet(opts *bind.FilterOpts, feature [][32]byte) (*SpotMarketGoerliFeatureFlagAllowAllSetIterator, error)
FilterFeatureFlagAllowAllSet is a free log retrieval operation binding the contract event 0xa806035d8c8de7cd43725250d3fbf9ee7abe3b99ffb892897913d8a21721121d.
Solidity: event FeatureFlagAllowAllSet(bytes32 indexed feature, bool allowAll)
func (*SpotMarketGoerliFilterer) FilterFeatureFlagAllowlistAdded ¶
func (_SpotMarketGoerli *SpotMarketGoerliFilterer) FilterFeatureFlagAllowlistAdded(opts *bind.FilterOpts, feature [][32]byte) (*SpotMarketGoerliFeatureFlagAllowlistAddedIterator, error)
FilterFeatureFlagAllowlistAdded is a free log retrieval operation binding the contract event 0x30b9b4104e2fb00b4f980e414dcd828e691c8fcb286f0c73d7267c3a2de49383.
Solidity: event FeatureFlagAllowlistAdded(bytes32 indexed feature, address account)
func (*SpotMarketGoerliFilterer) FilterFeatureFlagAllowlistRemoved ¶
func (_SpotMarketGoerli *SpotMarketGoerliFilterer) FilterFeatureFlagAllowlistRemoved(opts *bind.FilterOpts, feature [][32]byte) (*SpotMarketGoerliFeatureFlagAllowlistRemovedIterator, error)
FilterFeatureFlagAllowlistRemoved is a free log retrieval operation binding the contract event 0xb44a47e11880cc865e8ea382561e406dea8c895366c58e3908f05708b2880890.
Solidity: event FeatureFlagAllowlistRemoved(bytes32 indexed feature, address account)
func (*SpotMarketGoerliFilterer) FilterFeatureFlagDeniersReset ¶
func (_SpotMarketGoerli *SpotMarketGoerliFilterer) FilterFeatureFlagDeniersReset(opts *bind.FilterOpts, feature [][32]byte) (*SpotMarketGoerliFeatureFlagDeniersResetIterator, error)
FilterFeatureFlagDeniersReset is a free log retrieval operation binding the contract event 0x74d48d0b51a70680130c00decd06b4d536fbb3cee16a3b0bdd2309c264dcbd13.
Solidity: event FeatureFlagDeniersReset(bytes32 indexed feature, address[] deniers)
func (*SpotMarketGoerliFilterer) FilterFeatureFlagDenyAllSet ¶
func (_SpotMarketGoerli *SpotMarketGoerliFilterer) FilterFeatureFlagDenyAllSet(opts *bind.FilterOpts, feature [][32]byte) (*SpotMarketGoerliFeatureFlagDenyAllSetIterator, error)
FilterFeatureFlagDenyAllSet is a free log retrieval operation binding the contract event 0x97f76d2e384948e28ddd4280a4e76e8600acc328a0c0910c93682a0fccc02018.
Solidity: event FeatureFlagDenyAllSet(bytes32 indexed feature, bool denyAll)
func (*SpotMarketGoerliFilterer) FilterFeeCollectorSet ¶
func (_SpotMarketGoerli *SpotMarketGoerliFilterer) FilterFeeCollectorSet(opts *bind.FilterOpts, synthMarketId []*big.Int) (*SpotMarketGoerliFeeCollectorSetIterator, error)
FilterFeeCollectorSet is a free log retrieval operation binding the contract event 0x9559a9b7e14bf53553c17859be245a108350185ec859ec690012b13b820b7ef4.
Solidity: event FeeCollectorSet(uint256 indexed synthMarketId, address feeCollector)
func (*SpotMarketGoerliFilterer) FilterMarketNominationRenounced ¶
func (_SpotMarketGoerli *SpotMarketGoerliFilterer) FilterMarketNominationRenounced(opts *bind.FilterOpts, marketId []*big.Int) (*SpotMarketGoerliMarketNominationRenouncedIterator, error)
FilterMarketNominationRenounced is a free log retrieval operation binding the contract event 0xf5b87e3c7e0caa8e0d233591fff85e764ebc73d5c7027cce729fd4beab04c2b6.
Solidity: event MarketNominationRenounced(uint128 indexed marketId, address nominee)
func (*SpotMarketGoerliFilterer) FilterMarketOwnerChanged ¶
func (_SpotMarketGoerli *SpotMarketGoerliFilterer) FilterMarketOwnerChanged(opts *bind.FilterOpts, marketId []*big.Int) (*SpotMarketGoerliMarketOwnerChangedIterator, error)
FilterMarketOwnerChanged is a free log retrieval operation binding the contract event 0xe73c996387b656d1e0ea2866c854ed68122ce4e4eea51d6af012938b3c7ff52f.
Solidity: event MarketOwnerChanged(uint128 indexed marketId, address oldOwner, address newOwner)
func (*SpotMarketGoerliFilterer) FilterMarketOwnerNominated ¶
func (_SpotMarketGoerli *SpotMarketGoerliFilterer) FilterMarketOwnerNominated(opts *bind.FilterOpts, marketId []*big.Int) (*SpotMarketGoerliMarketOwnerNominatedIterator, error)
FilterMarketOwnerNominated is a free log retrieval operation binding the contract event 0x54605d90ee82d9b4318b0b4b479f3966976e44b94c6aff221c04f5294f85016b.
Solidity: event MarketOwnerNominated(uint128 indexed marketId, address newOwner)
func (*SpotMarketGoerliFilterer) FilterMarketSkewScaleSet ¶
func (_SpotMarketGoerli *SpotMarketGoerliFilterer) FilterMarketSkewScaleSet(opts *bind.FilterOpts, synthMarketId []*big.Int) (*SpotMarketGoerliMarketSkewScaleSetIterator, error)
FilterMarketSkewScaleSet is a free log retrieval operation binding the contract event 0x786fdfd5a0e146d8f4878876a8439ff01436e5969b14682e12d07d7e926b157c.
Solidity: event MarketSkewScaleSet(uint256 indexed synthMarketId, uint256 skewScale)
func (*SpotMarketGoerliFilterer) FilterMarketUtilizationFeesSet ¶
func (_SpotMarketGoerli *SpotMarketGoerliFilterer) FilterMarketUtilizationFeesSet(opts *bind.FilterOpts, synthMarketId []*big.Int) (*SpotMarketGoerliMarketUtilizationFeesSetIterator, error)
FilterMarketUtilizationFeesSet is a free log retrieval operation binding the contract event 0x83dfad56ac61e49feb43345b8c73b6d45eb121decc66b1709ca0413b31c64f63.
Solidity: event MarketUtilizationFeesSet(uint256 indexed synthMarketId, uint256 utilizationFeeRate)
func (*SpotMarketGoerliFilterer) FilterOrderCancelled ¶
func (_SpotMarketGoerli *SpotMarketGoerliFilterer) FilterOrderCancelled(opts *bind.FilterOpts, marketId []*big.Int, asyncOrderId []*big.Int, sender []common.Address) (*SpotMarketGoerliOrderCancelledIterator, 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 (*SpotMarketGoerliFilterer) FilterOrderCommitted ¶
func (_SpotMarketGoerli *SpotMarketGoerliFilterer) FilterOrderCommitted(opts *bind.FilterOpts, marketId []*big.Int, orderType []uint8, sender []common.Address) (*SpotMarketGoerliOrderCommittedIterator, 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 (*SpotMarketGoerliFilterer) FilterOrderSettled ¶
func (_SpotMarketGoerli *SpotMarketGoerliFilterer) FilterOrderSettled(opts *bind.FilterOpts, marketId []*big.Int, asyncOrderId []*big.Int, settler []common.Address) (*SpotMarketGoerliOrderSettledIterator, 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 (*SpotMarketGoerliFilterer) FilterOwnerChanged ¶
func (_SpotMarketGoerli *SpotMarketGoerliFilterer) FilterOwnerChanged(opts *bind.FilterOpts) (*SpotMarketGoerliOwnerChangedIterator, error)
FilterOwnerChanged is a free log retrieval operation binding the contract event 0xb532073b38c83145e3e5135377a08bf9aab55bc0fd7c1179cd4fb995d2a5159c.
Solidity: event OwnerChanged(address oldOwner, address newOwner)
func (*SpotMarketGoerliFilterer) FilterOwnerNominated ¶
func (_SpotMarketGoerli *SpotMarketGoerliFilterer) FilterOwnerNominated(opts *bind.FilterOpts) (*SpotMarketGoerliOwnerNominatedIterator, error)
FilterOwnerNominated is a free log retrieval operation binding the contract event 0x906a1c6bd7e3091ea86693dd029a831c19049ce77f1dce2ce0bab1cacbabce22.
Solidity: event OwnerNominated(address newOwner)
func (*SpotMarketGoerliFilterer) FilterReferrerShareUpdated ¶
func (_SpotMarketGoerli *SpotMarketGoerliFilterer) FilterReferrerShareUpdated(opts *bind.FilterOpts, marketId []*big.Int) (*SpotMarketGoerliReferrerShareUpdatedIterator, error)
FilterReferrerShareUpdated is a free log retrieval operation binding the contract event 0xd2a3339bb3c610e9030023c1cb3e89374fe0ebd7e37faee9b3d343f33e9df2fb.
Solidity: event ReferrerShareUpdated(uint128 indexed marketId, address referrer, uint256 sharePercentage)
func (*SpotMarketGoerliFilterer) FilterSettlementStrategyAdded ¶
func (_SpotMarketGoerli *SpotMarketGoerliFilterer) FilterSettlementStrategyAdded(opts *bind.FilterOpts, synthMarketId []*big.Int, strategyId []*big.Int) (*SpotMarketGoerliSettlementStrategyAddedIterator, error)
FilterSettlementStrategyAdded is a free log retrieval operation binding the contract event 0x91750a8e3d84ed1bccdc79dcecf63cc1b6f83b5bf8293bf86628cbb248e487f1.
Solidity: event SettlementStrategyAdded(uint128 indexed synthMarketId, uint256 indexed strategyId)
func (*SpotMarketGoerliFilterer) FilterSettlementStrategyUpdated ¶
func (_SpotMarketGoerli *SpotMarketGoerliFilterer) FilterSettlementStrategyUpdated(opts *bind.FilterOpts, synthMarketId []*big.Int, strategyId []*big.Int) (*SpotMarketGoerliSettlementStrategyUpdatedIterator, 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 (*SpotMarketGoerliFilterer) FilterSynthBought ¶
func (_SpotMarketGoerli *SpotMarketGoerliFilterer) FilterSynthBought(opts *bind.FilterOpts, synthMarketId []*big.Int) (*SpotMarketGoerliSynthBoughtIterator, 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 (*SpotMarketGoerliFilterer) FilterSynthImplementationSet ¶
func (_SpotMarketGoerli *SpotMarketGoerliFilterer) FilterSynthImplementationSet(opts *bind.FilterOpts) (*SpotMarketGoerliSynthImplementationSetIterator, error)
FilterSynthImplementationSet is a free log retrieval operation binding the contract event 0xafffc48b3243eba10d901f21ba761ad741f18a23feed86ca425df4974d3314b0.
Solidity: event SynthImplementationSet(address synthImplementation)
func (*SpotMarketGoerliFilterer) FilterSynthImplementationUpgraded ¶
func (_SpotMarketGoerli *SpotMarketGoerliFilterer) FilterSynthImplementationUpgraded(opts *bind.FilterOpts, synthMarketId []*big.Int, proxy []common.Address) (*SpotMarketGoerliSynthImplementationUpgradedIterator, 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 (*SpotMarketGoerliFilterer) FilterSynthPriceDataUpdated ¶
func (_SpotMarketGoerli *SpotMarketGoerliFilterer) FilterSynthPriceDataUpdated(opts *bind.FilterOpts, synthMarketId []*big.Int, buyFeedId [][32]byte, sellFeedId [][32]byte) (*SpotMarketGoerliSynthPriceDataUpdatedIterator, 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 (*SpotMarketGoerliFilterer) FilterSynthRegistered ¶
func (_SpotMarketGoerli *SpotMarketGoerliFilterer) FilterSynthRegistered(opts *bind.FilterOpts, synthMarketId []*big.Int) (*SpotMarketGoerliSynthRegisteredIterator, error)
FilterSynthRegistered is a free log retrieval operation binding the contract event 0x04b07b1c236913894927915a3dd91c8e250223fc668ceabdc47074c5a77e2cb9.
Solidity: event SynthRegistered(uint256 indexed synthMarketId, address synthTokenAddress)
func (*SpotMarketGoerliFilterer) FilterSynthSold ¶
func (_SpotMarketGoerli *SpotMarketGoerliFilterer) FilterSynthSold(opts *bind.FilterOpts, synthMarketId []*big.Int) (*SpotMarketGoerliSynthSoldIterator, 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 (*SpotMarketGoerliFilterer) FilterSynthUnwrapped ¶
func (_SpotMarketGoerli *SpotMarketGoerliFilterer) FilterSynthUnwrapped(opts *bind.FilterOpts, synthMarketId []*big.Int) (*SpotMarketGoerliSynthUnwrappedIterator, 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 (*SpotMarketGoerliFilterer) FilterSynthWrapped ¶
func (_SpotMarketGoerli *SpotMarketGoerliFilterer) FilterSynthWrapped(opts *bind.FilterOpts, synthMarketId []*big.Int) (*SpotMarketGoerliSynthWrappedIterator, 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 (*SpotMarketGoerliFilterer) FilterSynthetixSystemSet ¶
func (_SpotMarketGoerli *SpotMarketGoerliFilterer) FilterSynthetixSystemSet(opts *bind.FilterOpts) (*SpotMarketGoerliSynthetixSystemSetIterator, error)
FilterSynthetixSystemSet is a free log retrieval operation binding the contract event 0x52dccf7e2653d5ae8cf1d18c5499fd530f01920181d81afdf6bf489d897e24aa.
Solidity: event SynthetixSystemSet(address synthetix, address usdTokenAddress, address oracleManager)
func (*SpotMarketGoerliFilterer) FilterTransactorFixedFeeSet ¶
func (_SpotMarketGoerli *SpotMarketGoerliFilterer) FilterTransactorFixedFeeSet(opts *bind.FilterOpts, synthMarketId []*big.Int) (*SpotMarketGoerliTransactorFixedFeeSetIterator, error)
FilterTransactorFixedFeeSet is a free log retrieval operation binding the contract event 0xeed7c7ebc4a7e7456a5b14f961bbe55d026f35a2a2b52d1ad43fe11c348df24a.
Solidity: event TransactorFixedFeeSet(uint256 indexed synthMarketId, address transactor, uint256 fixedFeeAmount)
func (*SpotMarketGoerliFilterer) FilterUpgraded ¶
func (_SpotMarketGoerli *SpotMarketGoerliFilterer) FilterUpgraded(opts *bind.FilterOpts, self []common.Address) (*SpotMarketGoerliUpgradedIterator, error)
FilterUpgraded is a free log retrieval operation binding the contract event 0x5d611f318680d00598bb735d61bacf0c514c6b50e1e5ad30040a4df2b12791c7.
Solidity: event Upgraded(address indexed self, address implementation)
func (*SpotMarketGoerliFilterer) FilterWrapperFeesSet ¶
func (_SpotMarketGoerli *SpotMarketGoerliFilterer) FilterWrapperFeesSet(opts *bind.FilterOpts, synthMarketId []*big.Int) (*SpotMarketGoerliWrapperFeesSetIterator, error)
FilterWrapperFeesSet is a free log retrieval operation binding the contract event 0x84c5bc20d6e52e92afe6ebc9d85d3e4d35de276ba3f05cae640db053f5b861b8.
Solidity: event WrapperFeesSet(uint256 indexed synthMarketId, int256 wrapFee, int256 unwrapFee)
func (*SpotMarketGoerliFilterer) FilterWrapperSet ¶
func (_SpotMarketGoerli *SpotMarketGoerliFilterer) FilterWrapperSet(opts *bind.FilterOpts, synthMarketId []*big.Int, wrapCollateralType []common.Address) (*SpotMarketGoerliWrapperSetIterator, 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 (*SpotMarketGoerliFilterer) ParseAssociatedSystemSet ¶
func (_SpotMarketGoerli *SpotMarketGoerliFilterer) ParseAssociatedSystemSet(log types.Log) (*SpotMarketGoerliAssociatedSystemSet, 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 (*SpotMarketGoerliFilterer) ParseAsyncFixedFeeSet ¶
func (_SpotMarketGoerli *SpotMarketGoerliFilterer) ParseAsyncFixedFeeSet(log types.Log) (*SpotMarketGoerliAsyncFixedFeeSet, error)
ParseAsyncFixedFeeSet is a log parse operation binding the contract event 0xaef59d229d195c5b8372221acbf4041b926fb1616a95f93e44379e4f30d57bfe.
Solidity: event AsyncFixedFeeSet(uint256 indexed synthMarketId, uint256 asyncFixedFee)
func (*SpotMarketGoerliFilterer) ParseAtomicFixedFeeSet ¶
func (_SpotMarketGoerli *SpotMarketGoerliFilterer) ParseAtomicFixedFeeSet(log types.Log) (*SpotMarketGoerliAtomicFixedFeeSet, error)
ParseAtomicFixedFeeSet is a log parse operation binding the contract event 0x6b0a526b06b2f30ba2d5b063c2ef81547512216d37c540b86039e3a19f1d2b3f.
Solidity: event AtomicFixedFeeSet(uint256 indexed synthMarketId, uint256 atomicFixedFee)
func (*SpotMarketGoerliFilterer) ParseCollateralLeverageSet ¶
func (_SpotMarketGoerli *SpotMarketGoerliFilterer) ParseCollateralLeverageSet(log types.Log) (*SpotMarketGoerliCollateralLeverageSet, error)
ParseCollateralLeverageSet is a log parse operation binding the contract event 0x83113c0e8d811f7e7017948357e945a1a8a6b6fc0d76c8512ffdd6f6766e8a13.
Solidity: event CollateralLeverageSet(uint256 indexed synthMarketId, uint256 collateralLeverage)
func (*SpotMarketGoerliFilterer) ParseDecayRateUpdated ¶
func (_SpotMarketGoerli *SpotMarketGoerliFilterer) ParseDecayRateUpdated(log types.Log) (*SpotMarketGoerliDecayRateUpdated, error)
ParseDecayRateUpdated is a log parse operation binding the contract event 0x8a1ed33cd71d1533eadd1d4eb0ea2ae64da7d343cb2a932fdf135f345264e2b5.
Solidity: event DecayRateUpdated(uint128 indexed marketId, uint256 rate)
func (*SpotMarketGoerliFilterer) ParseFeatureFlagAllowAllSet ¶
func (_SpotMarketGoerli *SpotMarketGoerliFilterer) ParseFeatureFlagAllowAllSet(log types.Log) (*SpotMarketGoerliFeatureFlagAllowAllSet, error)
ParseFeatureFlagAllowAllSet is a log parse operation binding the contract event 0xa806035d8c8de7cd43725250d3fbf9ee7abe3b99ffb892897913d8a21721121d.
Solidity: event FeatureFlagAllowAllSet(bytes32 indexed feature, bool allowAll)
func (*SpotMarketGoerliFilterer) ParseFeatureFlagAllowlistAdded ¶
func (_SpotMarketGoerli *SpotMarketGoerliFilterer) ParseFeatureFlagAllowlistAdded(log types.Log) (*SpotMarketGoerliFeatureFlagAllowlistAdded, error)
ParseFeatureFlagAllowlistAdded is a log parse operation binding the contract event 0x30b9b4104e2fb00b4f980e414dcd828e691c8fcb286f0c73d7267c3a2de49383.
Solidity: event FeatureFlagAllowlistAdded(bytes32 indexed feature, address account)
func (*SpotMarketGoerliFilterer) ParseFeatureFlagAllowlistRemoved ¶
func (_SpotMarketGoerli *SpotMarketGoerliFilterer) ParseFeatureFlagAllowlistRemoved(log types.Log) (*SpotMarketGoerliFeatureFlagAllowlistRemoved, error)
ParseFeatureFlagAllowlistRemoved is a log parse operation binding the contract event 0xb44a47e11880cc865e8ea382561e406dea8c895366c58e3908f05708b2880890.
Solidity: event FeatureFlagAllowlistRemoved(bytes32 indexed feature, address account)
func (*SpotMarketGoerliFilterer) ParseFeatureFlagDeniersReset ¶
func (_SpotMarketGoerli *SpotMarketGoerliFilterer) ParseFeatureFlagDeniersReset(log types.Log) (*SpotMarketGoerliFeatureFlagDeniersReset, error)
ParseFeatureFlagDeniersReset is a log parse operation binding the contract event 0x74d48d0b51a70680130c00decd06b4d536fbb3cee16a3b0bdd2309c264dcbd13.
Solidity: event FeatureFlagDeniersReset(bytes32 indexed feature, address[] deniers)
func (*SpotMarketGoerliFilterer) ParseFeatureFlagDenyAllSet ¶
func (_SpotMarketGoerli *SpotMarketGoerliFilterer) ParseFeatureFlagDenyAllSet(log types.Log) (*SpotMarketGoerliFeatureFlagDenyAllSet, error)
ParseFeatureFlagDenyAllSet is a log parse operation binding the contract event 0x97f76d2e384948e28ddd4280a4e76e8600acc328a0c0910c93682a0fccc02018.
Solidity: event FeatureFlagDenyAllSet(bytes32 indexed feature, bool denyAll)
func (*SpotMarketGoerliFilterer) ParseFeeCollectorSet ¶
func (_SpotMarketGoerli *SpotMarketGoerliFilterer) ParseFeeCollectorSet(log types.Log) (*SpotMarketGoerliFeeCollectorSet, error)
ParseFeeCollectorSet is a log parse operation binding the contract event 0x9559a9b7e14bf53553c17859be245a108350185ec859ec690012b13b820b7ef4.
Solidity: event FeeCollectorSet(uint256 indexed synthMarketId, address feeCollector)
func (*SpotMarketGoerliFilterer) ParseMarketNominationRenounced ¶
func (_SpotMarketGoerli *SpotMarketGoerliFilterer) ParseMarketNominationRenounced(log types.Log) (*SpotMarketGoerliMarketNominationRenounced, error)
ParseMarketNominationRenounced is a log parse operation binding the contract event 0xf5b87e3c7e0caa8e0d233591fff85e764ebc73d5c7027cce729fd4beab04c2b6.
Solidity: event MarketNominationRenounced(uint128 indexed marketId, address nominee)
func (*SpotMarketGoerliFilterer) ParseMarketOwnerChanged ¶
func (_SpotMarketGoerli *SpotMarketGoerliFilterer) ParseMarketOwnerChanged(log types.Log) (*SpotMarketGoerliMarketOwnerChanged, error)
ParseMarketOwnerChanged is a log parse operation binding the contract event 0xe73c996387b656d1e0ea2866c854ed68122ce4e4eea51d6af012938b3c7ff52f.
Solidity: event MarketOwnerChanged(uint128 indexed marketId, address oldOwner, address newOwner)
func (*SpotMarketGoerliFilterer) ParseMarketOwnerNominated ¶
func (_SpotMarketGoerli *SpotMarketGoerliFilterer) ParseMarketOwnerNominated(log types.Log) (*SpotMarketGoerliMarketOwnerNominated, error)
ParseMarketOwnerNominated is a log parse operation binding the contract event 0x54605d90ee82d9b4318b0b4b479f3966976e44b94c6aff221c04f5294f85016b.
Solidity: event MarketOwnerNominated(uint128 indexed marketId, address newOwner)
func (*SpotMarketGoerliFilterer) ParseMarketSkewScaleSet ¶
func (_SpotMarketGoerli *SpotMarketGoerliFilterer) ParseMarketSkewScaleSet(log types.Log) (*SpotMarketGoerliMarketSkewScaleSet, error)
ParseMarketSkewScaleSet is a log parse operation binding the contract event 0x786fdfd5a0e146d8f4878876a8439ff01436e5969b14682e12d07d7e926b157c.
Solidity: event MarketSkewScaleSet(uint256 indexed synthMarketId, uint256 skewScale)
func (*SpotMarketGoerliFilterer) ParseMarketUtilizationFeesSet ¶
func (_SpotMarketGoerli *SpotMarketGoerliFilterer) ParseMarketUtilizationFeesSet(log types.Log) (*SpotMarketGoerliMarketUtilizationFeesSet, error)
ParseMarketUtilizationFeesSet is a log parse operation binding the contract event 0x83dfad56ac61e49feb43345b8c73b6d45eb121decc66b1709ca0413b31c64f63.
Solidity: event MarketUtilizationFeesSet(uint256 indexed synthMarketId, uint256 utilizationFeeRate)
func (*SpotMarketGoerliFilterer) ParseOrderCancelled ¶
func (_SpotMarketGoerli *SpotMarketGoerliFilterer) ParseOrderCancelled(log types.Log) (*SpotMarketGoerliOrderCancelled, 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 (*SpotMarketGoerliFilterer) ParseOrderCommitted ¶
func (_SpotMarketGoerli *SpotMarketGoerliFilterer) ParseOrderCommitted(log types.Log) (*SpotMarketGoerliOrderCommitted, 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 (*SpotMarketGoerliFilterer) ParseOrderSettled ¶
func (_SpotMarketGoerli *SpotMarketGoerliFilterer) ParseOrderSettled(log types.Log) (*SpotMarketGoerliOrderSettled, 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 (*SpotMarketGoerliFilterer) ParseOwnerChanged ¶
func (_SpotMarketGoerli *SpotMarketGoerliFilterer) ParseOwnerChanged(log types.Log) (*SpotMarketGoerliOwnerChanged, error)
ParseOwnerChanged is a log parse operation binding the contract event 0xb532073b38c83145e3e5135377a08bf9aab55bc0fd7c1179cd4fb995d2a5159c.
Solidity: event OwnerChanged(address oldOwner, address newOwner)
func (*SpotMarketGoerliFilterer) ParseOwnerNominated ¶
func (_SpotMarketGoerli *SpotMarketGoerliFilterer) ParseOwnerNominated(log types.Log) (*SpotMarketGoerliOwnerNominated, error)
ParseOwnerNominated is a log parse operation binding the contract event 0x906a1c6bd7e3091ea86693dd029a831c19049ce77f1dce2ce0bab1cacbabce22.
Solidity: event OwnerNominated(address newOwner)
func (*SpotMarketGoerliFilterer) ParseReferrerShareUpdated ¶
func (_SpotMarketGoerli *SpotMarketGoerliFilterer) ParseReferrerShareUpdated(log types.Log) (*SpotMarketGoerliReferrerShareUpdated, error)
ParseReferrerShareUpdated is a log parse operation binding the contract event 0xd2a3339bb3c610e9030023c1cb3e89374fe0ebd7e37faee9b3d343f33e9df2fb.
Solidity: event ReferrerShareUpdated(uint128 indexed marketId, address referrer, uint256 sharePercentage)
func (*SpotMarketGoerliFilterer) ParseSettlementStrategyAdded ¶
func (_SpotMarketGoerli *SpotMarketGoerliFilterer) ParseSettlementStrategyAdded(log types.Log) (*SpotMarketGoerliSettlementStrategyAdded, error)
ParseSettlementStrategyAdded is a log parse operation binding the contract event 0x91750a8e3d84ed1bccdc79dcecf63cc1b6f83b5bf8293bf86628cbb248e487f1.
Solidity: event SettlementStrategyAdded(uint128 indexed synthMarketId, uint256 indexed strategyId)
func (*SpotMarketGoerliFilterer) ParseSettlementStrategyUpdated ¶
func (_SpotMarketGoerli *SpotMarketGoerliFilterer) ParseSettlementStrategyUpdated(log types.Log) (*SpotMarketGoerliSettlementStrategyUpdated, error)
ParseSettlementStrategyUpdated is a log parse operation binding the contract event 0xb0187d91c1ffe66740e5f7619aab4d868a85ac3698b026bed3f420d871b6c048.
Solidity: event SettlementStrategyUpdated(uint128 indexed synthMarketId, uint256 indexed strategyId, bool enabled)
func (*SpotMarketGoerliFilterer) ParseSynthBought ¶
func (_SpotMarketGoerli *SpotMarketGoerliFilterer) ParseSynthBought(log types.Log) (*SpotMarketGoerliSynthBought, 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 (*SpotMarketGoerliFilterer) ParseSynthImplementationSet ¶
func (_SpotMarketGoerli *SpotMarketGoerliFilterer) ParseSynthImplementationSet(log types.Log) (*SpotMarketGoerliSynthImplementationSet, error)
ParseSynthImplementationSet is a log parse operation binding the contract event 0xafffc48b3243eba10d901f21ba761ad741f18a23feed86ca425df4974d3314b0.
Solidity: event SynthImplementationSet(address synthImplementation)
func (*SpotMarketGoerliFilterer) ParseSynthImplementationUpgraded ¶
func (_SpotMarketGoerli *SpotMarketGoerliFilterer) ParseSynthImplementationUpgraded(log types.Log) (*SpotMarketGoerliSynthImplementationUpgraded, error)
ParseSynthImplementationUpgraded is a log parse operation binding the contract event 0xa7badace8b24daeeb3981497a506d3812b3dc6f147ef3f78bc0e2cc664c50330.
Solidity: event SynthImplementationUpgraded(uint256 indexed synthMarketId, address indexed proxy, address implementation)
func (*SpotMarketGoerliFilterer) ParseSynthPriceDataUpdated ¶
func (_SpotMarketGoerli *SpotMarketGoerliFilterer) ParseSynthPriceDataUpdated(log types.Log) (*SpotMarketGoerliSynthPriceDataUpdated, 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 (*SpotMarketGoerliFilterer) ParseSynthRegistered ¶
func (_SpotMarketGoerli *SpotMarketGoerliFilterer) ParseSynthRegistered(log types.Log) (*SpotMarketGoerliSynthRegistered, error)
ParseSynthRegistered is a log parse operation binding the contract event 0x04b07b1c236913894927915a3dd91c8e250223fc668ceabdc47074c5a77e2cb9.
Solidity: event SynthRegistered(uint256 indexed synthMarketId, address synthTokenAddress)
func (*SpotMarketGoerliFilterer) ParseSynthSold ¶
func (_SpotMarketGoerli *SpotMarketGoerliFilterer) ParseSynthSold(log types.Log) (*SpotMarketGoerliSynthSold, 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 (*SpotMarketGoerliFilterer) ParseSynthUnwrapped ¶
func (_SpotMarketGoerli *SpotMarketGoerliFilterer) ParseSynthUnwrapped(log types.Log) (*SpotMarketGoerliSynthUnwrapped, 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 (*SpotMarketGoerliFilterer) ParseSynthWrapped ¶
func (_SpotMarketGoerli *SpotMarketGoerliFilterer) ParseSynthWrapped(log types.Log) (*SpotMarketGoerliSynthWrapped, 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 (*SpotMarketGoerliFilterer) ParseSynthetixSystemSet ¶
func (_SpotMarketGoerli *SpotMarketGoerliFilterer) ParseSynthetixSystemSet(log types.Log) (*SpotMarketGoerliSynthetixSystemSet, error)
ParseSynthetixSystemSet is a log parse operation binding the contract event 0x52dccf7e2653d5ae8cf1d18c5499fd530f01920181d81afdf6bf489d897e24aa.
Solidity: event SynthetixSystemSet(address synthetix, address usdTokenAddress, address oracleManager)
func (*SpotMarketGoerliFilterer) ParseTransactorFixedFeeSet ¶
func (_SpotMarketGoerli *SpotMarketGoerliFilterer) ParseTransactorFixedFeeSet(log types.Log) (*SpotMarketGoerliTransactorFixedFeeSet, error)
ParseTransactorFixedFeeSet is a log parse operation binding the contract event 0xeed7c7ebc4a7e7456a5b14f961bbe55d026f35a2a2b52d1ad43fe11c348df24a.
Solidity: event TransactorFixedFeeSet(uint256 indexed synthMarketId, address transactor, uint256 fixedFeeAmount)
func (*SpotMarketGoerliFilterer) ParseUpgraded ¶
func (_SpotMarketGoerli *SpotMarketGoerliFilterer) ParseUpgraded(log types.Log) (*SpotMarketGoerliUpgraded, error)
ParseUpgraded is a log parse operation binding the contract event 0x5d611f318680d00598bb735d61bacf0c514c6b50e1e5ad30040a4df2b12791c7.
Solidity: event Upgraded(address indexed self, address implementation)
func (*SpotMarketGoerliFilterer) ParseWrapperFeesSet ¶
func (_SpotMarketGoerli *SpotMarketGoerliFilterer) ParseWrapperFeesSet(log types.Log) (*SpotMarketGoerliWrapperFeesSet, error)
ParseWrapperFeesSet is a log parse operation binding the contract event 0x84c5bc20d6e52e92afe6ebc9d85d3e4d35de276ba3f05cae640db053f5b861b8.
Solidity: event WrapperFeesSet(uint256 indexed synthMarketId, int256 wrapFee, int256 unwrapFee)
func (*SpotMarketGoerliFilterer) ParseWrapperSet ¶
func (_SpotMarketGoerli *SpotMarketGoerliFilterer) ParseWrapperSet(log types.Log) (*SpotMarketGoerliWrapperSet, error)
ParseWrapperSet is a log parse operation binding the contract event 0xf6b8d296783aecfc5d372dff3e3e802ab63338637f9a2f3e2aae1e745c148def.
Solidity: event WrapperSet(uint256 indexed synthMarketId, address indexed wrapCollateralType, uint256 maxWrappableAmount)
func (*SpotMarketGoerliFilterer) WatchAssociatedSystemSet ¶
func (_SpotMarketGoerli *SpotMarketGoerliFilterer) WatchAssociatedSystemSet(opts *bind.WatchOpts, sink chan<- *SpotMarketGoerliAssociatedSystemSet, 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 (*SpotMarketGoerliFilterer) WatchAsyncFixedFeeSet ¶
func (_SpotMarketGoerli *SpotMarketGoerliFilterer) WatchAsyncFixedFeeSet(opts *bind.WatchOpts, sink chan<- *SpotMarketGoerliAsyncFixedFeeSet, 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 (*SpotMarketGoerliFilterer) WatchAtomicFixedFeeSet ¶
func (_SpotMarketGoerli *SpotMarketGoerliFilterer) WatchAtomicFixedFeeSet(opts *bind.WatchOpts, sink chan<- *SpotMarketGoerliAtomicFixedFeeSet, 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 (*SpotMarketGoerliFilterer) WatchCollateralLeverageSet ¶
func (_SpotMarketGoerli *SpotMarketGoerliFilterer) WatchCollateralLeverageSet(opts *bind.WatchOpts, sink chan<- *SpotMarketGoerliCollateralLeverageSet, 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 (*SpotMarketGoerliFilterer) WatchDecayRateUpdated ¶
func (_SpotMarketGoerli *SpotMarketGoerliFilterer) WatchDecayRateUpdated(opts *bind.WatchOpts, sink chan<- *SpotMarketGoerliDecayRateUpdated, 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 (*SpotMarketGoerliFilterer) WatchFeatureFlagAllowAllSet ¶
func (_SpotMarketGoerli *SpotMarketGoerliFilterer) WatchFeatureFlagAllowAllSet(opts *bind.WatchOpts, sink chan<- *SpotMarketGoerliFeatureFlagAllowAllSet, 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 (*SpotMarketGoerliFilterer) WatchFeatureFlagAllowlistAdded ¶
func (_SpotMarketGoerli *SpotMarketGoerliFilterer) WatchFeatureFlagAllowlistAdded(opts *bind.WatchOpts, sink chan<- *SpotMarketGoerliFeatureFlagAllowlistAdded, 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 (*SpotMarketGoerliFilterer) WatchFeatureFlagAllowlistRemoved ¶
func (_SpotMarketGoerli *SpotMarketGoerliFilterer) WatchFeatureFlagAllowlistRemoved(opts *bind.WatchOpts, sink chan<- *SpotMarketGoerliFeatureFlagAllowlistRemoved, 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 (*SpotMarketGoerliFilterer) WatchFeatureFlagDeniersReset ¶
func (_SpotMarketGoerli *SpotMarketGoerliFilterer) WatchFeatureFlagDeniersReset(opts *bind.WatchOpts, sink chan<- *SpotMarketGoerliFeatureFlagDeniersReset, 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 (*SpotMarketGoerliFilterer) WatchFeatureFlagDenyAllSet ¶
func (_SpotMarketGoerli *SpotMarketGoerliFilterer) WatchFeatureFlagDenyAllSet(opts *bind.WatchOpts, sink chan<- *SpotMarketGoerliFeatureFlagDenyAllSet, 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 (*SpotMarketGoerliFilterer) WatchFeeCollectorSet ¶
func (_SpotMarketGoerli *SpotMarketGoerliFilterer) WatchFeeCollectorSet(opts *bind.WatchOpts, sink chan<- *SpotMarketGoerliFeeCollectorSet, 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 (*SpotMarketGoerliFilterer) WatchMarketNominationRenounced ¶
func (_SpotMarketGoerli *SpotMarketGoerliFilterer) WatchMarketNominationRenounced(opts *bind.WatchOpts, sink chan<- *SpotMarketGoerliMarketNominationRenounced, 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 (*SpotMarketGoerliFilterer) WatchMarketOwnerChanged ¶
func (_SpotMarketGoerli *SpotMarketGoerliFilterer) WatchMarketOwnerChanged(opts *bind.WatchOpts, sink chan<- *SpotMarketGoerliMarketOwnerChanged, 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 (*SpotMarketGoerliFilterer) WatchMarketOwnerNominated ¶
func (_SpotMarketGoerli *SpotMarketGoerliFilterer) WatchMarketOwnerNominated(opts *bind.WatchOpts, sink chan<- *SpotMarketGoerliMarketOwnerNominated, 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 (*SpotMarketGoerliFilterer) WatchMarketSkewScaleSet ¶
func (_SpotMarketGoerli *SpotMarketGoerliFilterer) WatchMarketSkewScaleSet(opts *bind.WatchOpts, sink chan<- *SpotMarketGoerliMarketSkewScaleSet, 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 (*SpotMarketGoerliFilterer) WatchMarketUtilizationFeesSet ¶
func (_SpotMarketGoerli *SpotMarketGoerliFilterer) WatchMarketUtilizationFeesSet(opts *bind.WatchOpts, sink chan<- *SpotMarketGoerliMarketUtilizationFeesSet, 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 (*SpotMarketGoerliFilterer) WatchOrderCancelled ¶
func (_SpotMarketGoerli *SpotMarketGoerliFilterer) WatchOrderCancelled(opts *bind.WatchOpts, sink chan<- *SpotMarketGoerliOrderCancelled, 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 (*SpotMarketGoerliFilterer) WatchOrderCommitted ¶
func (_SpotMarketGoerli *SpotMarketGoerliFilterer) WatchOrderCommitted(opts *bind.WatchOpts, sink chan<- *SpotMarketGoerliOrderCommitted, 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 (*SpotMarketGoerliFilterer) WatchOrderSettled ¶
func (_SpotMarketGoerli *SpotMarketGoerliFilterer) WatchOrderSettled(opts *bind.WatchOpts, sink chan<- *SpotMarketGoerliOrderSettled, 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 (*SpotMarketGoerliFilterer) WatchOwnerChanged ¶
func (_SpotMarketGoerli *SpotMarketGoerliFilterer) WatchOwnerChanged(opts *bind.WatchOpts, sink chan<- *SpotMarketGoerliOwnerChanged) (event.Subscription, error)
WatchOwnerChanged is a free log subscription operation binding the contract event 0xb532073b38c83145e3e5135377a08bf9aab55bc0fd7c1179cd4fb995d2a5159c.
Solidity: event OwnerChanged(address oldOwner, address newOwner)
func (*SpotMarketGoerliFilterer) WatchOwnerNominated ¶
func (_SpotMarketGoerli *SpotMarketGoerliFilterer) WatchOwnerNominated(opts *bind.WatchOpts, sink chan<- *SpotMarketGoerliOwnerNominated) (event.Subscription, error)
WatchOwnerNominated is a free log subscription operation binding the contract event 0x906a1c6bd7e3091ea86693dd029a831c19049ce77f1dce2ce0bab1cacbabce22.
Solidity: event OwnerNominated(address newOwner)
func (*SpotMarketGoerliFilterer) WatchReferrerShareUpdated ¶
func (_SpotMarketGoerli *SpotMarketGoerliFilterer) WatchReferrerShareUpdated(opts *bind.WatchOpts, sink chan<- *SpotMarketGoerliReferrerShareUpdated, 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 (*SpotMarketGoerliFilterer) WatchSettlementStrategyAdded ¶
func (_SpotMarketGoerli *SpotMarketGoerliFilterer) WatchSettlementStrategyAdded(opts *bind.WatchOpts, sink chan<- *SpotMarketGoerliSettlementStrategyAdded, 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 (*SpotMarketGoerliFilterer) WatchSettlementStrategyUpdated ¶
func (_SpotMarketGoerli *SpotMarketGoerliFilterer) WatchSettlementStrategyUpdated(opts *bind.WatchOpts, sink chan<- *SpotMarketGoerliSettlementStrategyUpdated, 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 (*SpotMarketGoerliFilterer) WatchSynthBought ¶
func (_SpotMarketGoerli *SpotMarketGoerliFilterer) WatchSynthBought(opts *bind.WatchOpts, sink chan<- *SpotMarketGoerliSynthBought, 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 (*SpotMarketGoerliFilterer) WatchSynthImplementationSet ¶
func (_SpotMarketGoerli *SpotMarketGoerliFilterer) WatchSynthImplementationSet(opts *bind.WatchOpts, sink chan<- *SpotMarketGoerliSynthImplementationSet) (event.Subscription, error)
WatchSynthImplementationSet is a free log subscription operation binding the contract event 0xafffc48b3243eba10d901f21ba761ad741f18a23feed86ca425df4974d3314b0.
Solidity: event SynthImplementationSet(address synthImplementation)
func (*SpotMarketGoerliFilterer) WatchSynthImplementationUpgraded ¶
func (_SpotMarketGoerli *SpotMarketGoerliFilterer) WatchSynthImplementationUpgraded(opts *bind.WatchOpts, sink chan<- *SpotMarketGoerliSynthImplementationUpgraded, 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 (*SpotMarketGoerliFilterer) WatchSynthPriceDataUpdated ¶
func (_SpotMarketGoerli *SpotMarketGoerliFilterer) WatchSynthPriceDataUpdated(opts *bind.WatchOpts, sink chan<- *SpotMarketGoerliSynthPriceDataUpdated, 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 (*SpotMarketGoerliFilterer) WatchSynthRegistered ¶
func (_SpotMarketGoerli *SpotMarketGoerliFilterer) WatchSynthRegistered(opts *bind.WatchOpts, sink chan<- *SpotMarketGoerliSynthRegistered, 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 (*SpotMarketGoerliFilterer) WatchSynthSold ¶
func (_SpotMarketGoerli *SpotMarketGoerliFilterer) WatchSynthSold(opts *bind.WatchOpts, sink chan<- *SpotMarketGoerliSynthSold, 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 (*SpotMarketGoerliFilterer) WatchSynthUnwrapped ¶
func (_SpotMarketGoerli *SpotMarketGoerliFilterer) WatchSynthUnwrapped(opts *bind.WatchOpts, sink chan<- *SpotMarketGoerliSynthUnwrapped, 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 (*SpotMarketGoerliFilterer) WatchSynthWrapped ¶
func (_SpotMarketGoerli *SpotMarketGoerliFilterer) WatchSynthWrapped(opts *bind.WatchOpts, sink chan<- *SpotMarketGoerliSynthWrapped, 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 (*SpotMarketGoerliFilterer) WatchSynthetixSystemSet ¶
func (_SpotMarketGoerli *SpotMarketGoerliFilterer) WatchSynthetixSystemSet(opts *bind.WatchOpts, sink chan<- *SpotMarketGoerliSynthetixSystemSet) (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 (*SpotMarketGoerliFilterer) WatchTransactorFixedFeeSet ¶
func (_SpotMarketGoerli *SpotMarketGoerliFilterer) WatchTransactorFixedFeeSet(opts *bind.WatchOpts, sink chan<- *SpotMarketGoerliTransactorFixedFeeSet, 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 (*SpotMarketGoerliFilterer) WatchUpgraded ¶
func (_SpotMarketGoerli *SpotMarketGoerliFilterer) WatchUpgraded(opts *bind.WatchOpts, sink chan<- *SpotMarketGoerliUpgraded, 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 (*SpotMarketGoerliFilterer) WatchWrapperFeesSet ¶
func (_SpotMarketGoerli *SpotMarketGoerliFilterer) WatchWrapperFeesSet(opts *bind.WatchOpts, sink chan<- *SpotMarketGoerliWrapperFeesSet, 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 (*SpotMarketGoerliFilterer) WatchWrapperSet ¶
func (_SpotMarketGoerli *SpotMarketGoerliFilterer) WatchWrapperSet(opts *bind.WatchOpts, sink chan<- *SpotMarketGoerliWrapperSet, 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 SpotMarketGoerliMarketNominationRenounced ¶
type SpotMarketGoerliMarketNominationRenounced struct { MarketId *big.Int Nominee common.Address Raw types.Log // Blockchain specific contextual infos }
SpotMarketGoerliMarketNominationRenounced represents a MarketNominationRenounced event raised by the SpotMarketGoerli contract.
type SpotMarketGoerliMarketNominationRenouncedIterator ¶
type SpotMarketGoerliMarketNominationRenouncedIterator struct { Event *SpotMarketGoerliMarketNominationRenounced // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SpotMarketGoerliMarketNominationRenouncedIterator is returned from FilterMarketNominationRenounced and is used to iterate over the raw logs and unpacked data for MarketNominationRenounced events raised by the SpotMarketGoerli contract.
func (*SpotMarketGoerliMarketNominationRenouncedIterator) Close ¶
func (it *SpotMarketGoerliMarketNominationRenouncedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SpotMarketGoerliMarketNominationRenouncedIterator) Error ¶
func (it *SpotMarketGoerliMarketNominationRenouncedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SpotMarketGoerliMarketNominationRenouncedIterator) Next ¶
func (it *SpotMarketGoerliMarketNominationRenouncedIterator) 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 SpotMarketGoerliMarketOwnerChanged ¶
type SpotMarketGoerliMarketOwnerChanged struct { MarketId *big.Int OldOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
SpotMarketGoerliMarketOwnerChanged represents a MarketOwnerChanged event raised by the SpotMarketGoerli contract.
type SpotMarketGoerliMarketOwnerChangedIterator ¶
type SpotMarketGoerliMarketOwnerChangedIterator struct { Event *SpotMarketGoerliMarketOwnerChanged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SpotMarketGoerliMarketOwnerChangedIterator is returned from FilterMarketOwnerChanged and is used to iterate over the raw logs and unpacked data for MarketOwnerChanged events raised by the SpotMarketGoerli contract.
func (*SpotMarketGoerliMarketOwnerChangedIterator) Close ¶
func (it *SpotMarketGoerliMarketOwnerChangedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SpotMarketGoerliMarketOwnerChangedIterator) Error ¶
func (it *SpotMarketGoerliMarketOwnerChangedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SpotMarketGoerliMarketOwnerChangedIterator) Next ¶
func (it *SpotMarketGoerliMarketOwnerChangedIterator) 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 SpotMarketGoerliMarketOwnerNominated ¶
type SpotMarketGoerliMarketOwnerNominated struct { MarketId *big.Int NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
SpotMarketGoerliMarketOwnerNominated represents a MarketOwnerNominated event raised by the SpotMarketGoerli contract.
type SpotMarketGoerliMarketOwnerNominatedIterator ¶
type SpotMarketGoerliMarketOwnerNominatedIterator struct { Event *SpotMarketGoerliMarketOwnerNominated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SpotMarketGoerliMarketOwnerNominatedIterator is returned from FilterMarketOwnerNominated and is used to iterate over the raw logs and unpacked data for MarketOwnerNominated events raised by the SpotMarketGoerli contract.
func (*SpotMarketGoerliMarketOwnerNominatedIterator) Close ¶
func (it *SpotMarketGoerliMarketOwnerNominatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SpotMarketGoerliMarketOwnerNominatedIterator) Error ¶
func (it *SpotMarketGoerliMarketOwnerNominatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SpotMarketGoerliMarketOwnerNominatedIterator) Next ¶
func (it *SpotMarketGoerliMarketOwnerNominatedIterator) 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 SpotMarketGoerliMarketSkewScaleSet ¶
type SpotMarketGoerliMarketSkewScaleSet struct { SynthMarketId *big.Int SkewScale *big.Int Raw types.Log // Blockchain specific contextual infos }
SpotMarketGoerliMarketSkewScaleSet represents a MarketSkewScaleSet event raised by the SpotMarketGoerli contract.
type SpotMarketGoerliMarketSkewScaleSetIterator ¶
type SpotMarketGoerliMarketSkewScaleSetIterator struct { Event *SpotMarketGoerliMarketSkewScaleSet // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SpotMarketGoerliMarketSkewScaleSetIterator is returned from FilterMarketSkewScaleSet and is used to iterate over the raw logs and unpacked data for MarketSkewScaleSet events raised by the SpotMarketGoerli contract.
func (*SpotMarketGoerliMarketSkewScaleSetIterator) Close ¶
func (it *SpotMarketGoerliMarketSkewScaleSetIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SpotMarketGoerliMarketSkewScaleSetIterator) Error ¶
func (it *SpotMarketGoerliMarketSkewScaleSetIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SpotMarketGoerliMarketSkewScaleSetIterator) Next ¶
func (it *SpotMarketGoerliMarketSkewScaleSetIterator) 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 SpotMarketGoerliMarketUtilizationFeesSet ¶
type SpotMarketGoerliMarketUtilizationFeesSet struct { SynthMarketId *big.Int UtilizationFeeRate *big.Int Raw types.Log // Blockchain specific contextual infos }
SpotMarketGoerliMarketUtilizationFeesSet represents a MarketUtilizationFeesSet event raised by the SpotMarketGoerli contract.
type SpotMarketGoerliMarketUtilizationFeesSetIterator ¶
type SpotMarketGoerliMarketUtilizationFeesSetIterator struct { Event *SpotMarketGoerliMarketUtilizationFeesSet // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SpotMarketGoerliMarketUtilizationFeesSetIterator is returned from FilterMarketUtilizationFeesSet and is used to iterate over the raw logs and unpacked data for MarketUtilizationFeesSet events raised by the SpotMarketGoerli contract.
func (*SpotMarketGoerliMarketUtilizationFeesSetIterator) Close ¶
func (it *SpotMarketGoerliMarketUtilizationFeesSetIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SpotMarketGoerliMarketUtilizationFeesSetIterator) Error ¶
func (it *SpotMarketGoerliMarketUtilizationFeesSetIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SpotMarketGoerliMarketUtilizationFeesSetIterator) Next ¶
func (it *SpotMarketGoerliMarketUtilizationFeesSetIterator) 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 SpotMarketGoerliOrderCancelled ¶
type SpotMarketGoerliOrderCancelled struct { MarketId *big.Int AsyncOrderId *big.Int AsyncOrderClaim AsyncOrderClaimData Sender common.Address Raw types.Log // Blockchain specific contextual infos }
SpotMarketGoerliOrderCancelled represents a OrderCancelled event raised by the SpotMarketGoerli contract.
type SpotMarketGoerliOrderCancelledIterator ¶
type SpotMarketGoerliOrderCancelledIterator struct { Event *SpotMarketGoerliOrderCancelled // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SpotMarketGoerliOrderCancelledIterator is returned from FilterOrderCancelled and is used to iterate over the raw logs and unpacked data for OrderCancelled events raised by the SpotMarketGoerli contract.
func (*SpotMarketGoerliOrderCancelledIterator) Close ¶
func (it *SpotMarketGoerliOrderCancelledIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SpotMarketGoerliOrderCancelledIterator) Error ¶
func (it *SpotMarketGoerliOrderCancelledIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SpotMarketGoerliOrderCancelledIterator) Next ¶
func (it *SpotMarketGoerliOrderCancelledIterator) 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 SpotMarketGoerliOrderCommitted ¶
type SpotMarketGoerliOrderCommitted 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 }
SpotMarketGoerliOrderCommitted represents a OrderCommitted event raised by the SpotMarketGoerli contract.
type SpotMarketGoerliOrderCommittedIterator ¶
type SpotMarketGoerliOrderCommittedIterator struct { Event *SpotMarketGoerliOrderCommitted // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SpotMarketGoerliOrderCommittedIterator is returned from FilterOrderCommitted and is used to iterate over the raw logs and unpacked data for OrderCommitted events raised by the SpotMarketGoerli contract.
func (*SpotMarketGoerliOrderCommittedIterator) Close ¶
func (it *SpotMarketGoerliOrderCommittedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SpotMarketGoerliOrderCommittedIterator) Error ¶
func (it *SpotMarketGoerliOrderCommittedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SpotMarketGoerliOrderCommittedIterator) Next ¶
func (it *SpotMarketGoerliOrderCommittedIterator) 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 SpotMarketGoerliOrderSettled ¶
type SpotMarketGoerliOrderSettled 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 }
SpotMarketGoerliOrderSettled represents a OrderSettled event raised by the SpotMarketGoerli contract.
type SpotMarketGoerliOrderSettledIterator ¶
type SpotMarketGoerliOrderSettledIterator struct { Event *SpotMarketGoerliOrderSettled // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SpotMarketGoerliOrderSettledIterator is returned from FilterOrderSettled and is used to iterate over the raw logs and unpacked data for OrderSettled events raised by the SpotMarketGoerli contract.
func (*SpotMarketGoerliOrderSettledIterator) Close ¶
func (it *SpotMarketGoerliOrderSettledIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SpotMarketGoerliOrderSettledIterator) Error ¶
func (it *SpotMarketGoerliOrderSettledIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SpotMarketGoerliOrderSettledIterator) Next ¶
func (it *SpotMarketGoerliOrderSettledIterator) 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 SpotMarketGoerliOwnerChanged ¶
type SpotMarketGoerliOwnerChanged struct { OldOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
SpotMarketGoerliOwnerChanged represents a OwnerChanged event raised by the SpotMarketGoerli contract.
type SpotMarketGoerliOwnerChangedIterator ¶
type SpotMarketGoerliOwnerChangedIterator struct { Event *SpotMarketGoerliOwnerChanged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SpotMarketGoerliOwnerChangedIterator is returned from FilterOwnerChanged and is used to iterate over the raw logs and unpacked data for OwnerChanged events raised by the SpotMarketGoerli contract.
func (*SpotMarketGoerliOwnerChangedIterator) Close ¶
func (it *SpotMarketGoerliOwnerChangedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SpotMarketGoerliOwnerChangedIterator) Error ¶
func (it *SpotMarketGoerliOwnerChangedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SpotMarketGoerliOwnerChangedIterator) Next ¶
func (it *SpotMarketGoerliOwnerChangedIterator) 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 SpotMarketGoerliOwnerNominated ¶
type SpotMarketGoerliOwnerNominated struct { NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
SpotMarketGoerliOwnerNominated represents a OwnerNominated event raised by the SpotMarketGoerli contract.
type SpotMarketGoerliOwnerNominatedIterator ¶
type SpotMarketGoerliOwnerNominatedIterator struct { Event *SpotMarketGoerliOwnerNominated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SpotMarketGoerliOwnerNominatedIterator is returned from FilterOwnerNominated and is used to iterate over the raw logs and unpacked data for OwnerNominated events raised by the SpotMarketGoerli contract.
func (*SpotMarketGoerliOwnerNominatedIterator) Close ¶
func (it *SpotMarketGoerliOwnerNominatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SpotMarketGoerliOwnerNominatedIterator) Error ¶
func (it *SpotMarketGoerliOwnerNominatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SpotMarketGoerliOwnerNominatedIterator) Next ¶
func (it *SpotMarketGoerliOwnerNominatedIterator) 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 SpotMarketGoerliRaw ¶
type SpotMarketGoerliRaw struct {
Contract *SpotMarketGoerli // Generic contract binding to access the raw methods on
}
SpotMarketGoerliRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*SpotMarketGoerliRaw) Call ¶
func (_SpotMarketGoerli *SpotMarketGoerliRaw) 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 (*SpotMarketGoerliRaw) Transact ¶
func (_SpotMarketGoerli *SpotMarketGoerliRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SpotMarketGoerliRaw) Transfer ¶
func (_SpotMarketGoerli *SpotMarketGoerliRaw) 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 SpotMarketGoerliReferrerShareUpdated ¶
type SpotMarketGoerliReferrerShareUpdated struct {}
SpotMarketGoerliReferrerShareUpdated represents a ReferrerShareUpdated event raised by the SpotMarketGoerli contract.
type SpotMarketGoerliReferrerShareUpdatedIterator ¶
type SpotMarketGoerliReferrerShareUpdatedIterator struct { // contains filtered or unexported fields }
SpotMarketGoerliReferrerShareUpdatedIterator is returned from FilterReferrerShareUpdated and is used to iterate over the raw logs and unpacked data for ReferrerShareUpdated events raised by the SpotMarketGoerli contract.
func (*SpotMarketGoerliReferrerShareUpdatedIterator) Close ¶
func (it *SpotMarketGoerliReferrerShareUpdatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SpotMarketGoerliReferrerShareUpdatedIterator) Error ¶
func (it *SpotMarketGoerliReferrerShareUpdatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SpotMarketGoerliReferrerShareUpdatedIterator) Next ¶
func (it *SpotMarketGoerliReferrerShareUpdatedIterator) 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 SpotMarketGoerliSession ¶
type SpotMarketGoerliSession struct { Contract *SpotMarketGoerli // 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 }
SpotMarketGoerliSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*SpotMarketGoerliSession) AcceptMarketOwnership ¶
func (_SpotMarketGoerli *SpotMarketGoerliSession) 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 (*SpotMarketGoerliSession) AcceptOwnership ¶
func (_SpotMarketGoerli *SpotMarketGoerliSession) AcceptOwnership() (*types.Transaction, error)
AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.
Solidity: function acceptOwnership() returns()
func (*SpotMarketGoerliSession) AddSettlementStrategy ¶
func (_SpotMarketGoerli *SpotMarketGoerliSession) 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 (*SpotMarketGoerliSession) AddToFeatureFlagAllowlist ¶
func (_SpotMarketGoerli *SpotMarketGoerliSession) 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 (*SpotMarketGoerliSession) Buy ¶
func (_SpotMarketGoerli *SpotMarketGoerliSession) 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 (*SpotMarketGoerliSession) BuyExactIn ¶
func (_SpotMarketGoerli *SpotMarketGoerliSession) 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 (*SpotMarketGoerliSession) BuyExactOut ¶
func (_SpotMarketGoerli *SpotMarketGoerliSession) 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 (*SpotMarketGoerliSession) CancelOrder ¶
func (_SpotMarketGoerli *SpotMarketGoerliSession) 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 (*SpotMarketGoerliSession) CommitOrder ¶
func (_SpotMarketGoerli *SpotMarketGoerliSession) 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 (*SpotMarketGoerliSession) CreateSynth ¶
func (_SpotMarketGoerli *SpotMarketGoerliSession) 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 (*SpotMarketGoerliSession) GetAssociatedSystem ¶
func (_SpotMarketGoerli *SpotMarketGoerliSession) 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 (*SpotMarketGoerliSession) GetAsyncOrderClaim ¶
func (_SpotMarketGoerli *SpotMarketGoerliSession) 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 (*SpotMarketGoerliSession) GetCollateralLeverage ¶
func (_SpotMarketGoerli *SpotMarketGoerliSession) 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 (*SpotMarketGoerliSession) GetCustomTransactorFees ¶
func (_SpotMarketGoerli *SpotMarketGoerliSession) 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 (*SpotMarketGoerliSession) GetDeniers ¶
func (_SpotMarketGoerli *SpotMarketGoerliSession) 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 (*SpotMarketGoerliSession) GetFeatureFlagAllowAll ¶
func (_SpotMarketGoerli *SpotMarketGoerliSession) 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 (*SpotMarketGoerliSession) GetFeatureFlagAllowlist ¶
func (_SpotMarketGoerli *SpotMarketGoerliSession) 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 (*SpotMarketGoerliSession) GetFeatureFlagDenyAll ¶
func (_SpotMarketGoerli *SpotMarketGoerliSession) 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 (*SpotMarketGoerliSession) GetFeeCollector ¶
func (_SpotMarketGoerli *SpotMarketGoerliSession) 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 (*SpotMarketGoerliSession) GetImplementation ¶
func (_SpotMarketGoerli *SpotMarketGoerliSession) GetImplementation() (common.Address, error)
GetImplementation is a free data retrieval call binding the contract method 0xaaf10f42.
Solidity: function getImplementation() view returns(address)
func (*SpotMarketGoerliSession) GetMarketFees ¶
func (_SpotMarketGoerli *SpotMarketGoerliSession) 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 (*SpotMarketGoerliSession) GetMarketOwner ¶
func (_SpotMarketGoerli *SpotMarketGoerliSession) 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 (*SpotMarketGoerliSession) GetMarketSkewScale ¶
func (_SpotMarketGoerli *SpotMarketGoerliSession) 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 (*SpotMarketGoerliSession) GetMarketUtilizationFees ¶
func (_SpotMarketGoerli *SpotMarketGoerliSession) 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 (*SpotMarketGoerliSession) GetReferrerShare ¶
func (_SpotMarketGoerli *SpotMarketGoerliSession) 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 (*SpotMarketGoerliSession) GetSettlementStrategy ¶
func (_SpotMarketGoerli *SpotMarketGoerliSession) 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 (*SpotMarketGoerliSession) GetSynth ¶
func (_SpotMarketGoerli *SpotMarketGoerliSession) 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 (*SpotMarketGoerliSession) GetSynthImpl ¶
func (_SpotMarketGoerli *SpotMarketGoerliSession) 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 (*SpotMarketGoerliSession) InitOrUpgradeNft ¶
func (_SpotMarketGoerli *SpotMarketGoerliSession) 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 (*SpotMarketGoerliSession) InitOrUpgradeToken ¶
func (_SpotMarketGoerli *SpotMarketGoerliSession) 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 (*SpotMarketGoerliSession) IsFeatureAllowed ¶
func (_SpotMarketGoerli *SpotMarketGoerliSession) 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 (*SpotMarketGoerliSession) MinimumCredit ¶
func (_SpotMarketGoerli *SpotMarketGoerliSession) 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 (*SpotMarketGoerliSession) Name ¶
func (_SpotMarketGoerli *SpotMarketGoerliSession) 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 (*SpotMarketGoerliSession) NominateMarketOwner ¶
func (_SpotMarketGoerli *SpotMarketGoerliSession) 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 (*SpotMarketGoerliSession) NominateNewOwner ¶
func (_SpotMarketGoerli *SpotMarketGoerliSession) 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 (*SpotMarketGoerliSession) NominatedOwner ¶
func (_SpotMarketGoerli *SpotMarketGoerliSession) NominatedOwner() (common.Address, error)
NominatedOwner is a free data retrieval call binding the contract method 0x53a47bb7.
Solidity: function nominatedOwner() view returns(address)
func (*SpotMarketGoerliSession) Owner ¶
func (_SpotMarketGoerli *SpotMarketGoerliSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*SpotMarketGoerliSession) PRECISION ¶
func (_SpotMarketGoerli *SpotMarketGoerliSession) PRECISION() (*big.Int, error)
PRECISION is a free data retrieval call binding the contract method 0xaaf5eb68.
Solidity: function PRECISION() view returns(int256)
func (*SpotMarketGoerliSession) QuoteBuyExactIn ¶
func (_SpotMarketGoerli *SpotMarketGoerliSession) 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 (*SpotMarketGoerliSession) QuoteBuyExactOut ¶
func (_SpotMarketGoerli *SpotMarketGoerliSession) 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 (*SpotMarketGoerliSession) QuoteSellExactIn ¶
func (_SpotMarketGoerli *SpotMarketGoerliSession) 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 (*SpotMarketGoerliSession) QuoteSellExactOut ¶
func (_SpotMarketGoerli *SpotMarketGoerliSession) 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 (*SpotMarketGoerliSession) RegisterUnmanagedSystem ¶
func (_SpotMarketGoerli *SpotMarketGoerliSession) 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 (*SpotMarketGoerliSession) RemoveFromFeatureFlagAllowlist ¶
func (_SpotMarketGoerli *SpotMarketGoerliSession) 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 (*SpotMarketGoerliSession) RenounceMarketNomination ¶
func (_SpotMarketGoerli *SpotMarketGoerliSession) 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 (*SpotMarketGoerliSession) RenounceMarketOwnership ¶ added in v0.1.5
func (_SpotMarketGoerli *SpotMarketGoerliSession) 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 (*SpotMarketGoerliSession) RenounceNomination ¶
func (_SpotMarketGoerli *SpotMarketGoerliSession) RenounceNomination() (*types.Transaction, error)
RenounceNomination is a paid mutator transaction binding the contract method 0x718fe928.
Solidity: function renounceNomination() returns()
func (*SpotMarketGoerliSession) ReportedDebt ¶
ReportedDebt is a free data retrieval call binding the contract method 0xbcec0d0f.
Solidity: function reportedDebt(uint128 marketId) view returns(uint256 reportedDebtAmount)
func (*SpotMarketGoerliSession) Sell ¶
func (_SpotMarketGoerli *SpotMarketGoerliSession) 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 (*SpotMarketGoerliSession) SellExactIn ¶
func (_SpotMarketGoerli *SpotMarketGoerliSession) 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 (*SpotMarketGoerliSession) SellExactOut ¶
func (_SpotMarketGoerli *SpotMarketGoerliSession) 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 (*SpotMarketGoerliSession) SetAsyncFixedFee ¶
func (_SpotMarketGoerli *SpotMarketGoerliSession) 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 (*SpotMarketGoerliSession) SetAtomicFixedFee ¶
func (_SpotMarketGoerli *SpotMarketGoerliSession) 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 (*SpotMarketGoerliSession) SetCollateralLeverage ¶
func (_SpotMarketGoerli *SpotMarketGoerliSession) 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 (*SpotMarketGoerliSession) SetCustomTransactorFees ¶
func (_SpotMarketGoerli *SpotMarketGoerliSession) 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 (*SpotMarketGoerliSession) SetDecayRate ¶
func (_SpotMarketGoerli *SpotMarketGoerliSession) 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 (*SpotMarketGoerliSession) SetDeniers ¶
func (_SpotMarketGoerli *SpotMarketGoerliSession) 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 (*SpotMarketGoerliSession) SetFeatureFlagAllowAll ¶
func (_SpotMarketGoerli *SpotMarketGoerliSession) 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 (*SpotMarketGoerliSession) SetFeatureFlagDenyAll ¶
func (_SpotMarketGoerli *SpotMarketGoerliSession) 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 (*SpotMarketGoerliSession) SetFeeCollector ¶
func (_SpotMarketGoerli *SpotMarketGoerliSession) 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 (*SpotMarketGoerliSession) SetMarketSkewScale ¶
func (_SpotMarketGoerli *SpotMarketGoerliSession) 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 (*SpotMarketGoerliSession) SetMarketUtilizationFees ¶
func (_SpotMarketGoerli *SpotMarketGoerliSession) 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 (*SpotMarketGoerliSession) SetSettlementStrategyEnabled ¶
func (_SpotMarketGoerli *SpotMarketGoerliSession) 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 (*SpotMarketGoerliSession) SetSynthImplementation ¶
func (_SpotMarketGoerli *SpotMarketGoerliSession) 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 (*SpotMarketGoerliSession) SetSynthetix ¶
func (_SpotMarketGoerli *SpotMarketGoerliSession) 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 (*SpotMarketGoerliSession) SetWrapper ¶
func (_SpotMarketGoerli *SpotMarketGoerliSession) 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 (*SpotMarketGoerliSession) SetWrapperFees ¶
func (_SpotMarketGoerli *SpotMarketGoerliSession) 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 (*SpotMarketGoerliSession) SettleOrder ¶
func (_SpotMarketGoerli *SpotMarketGoerliSession) 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 (*SpotMarketGoerliSession) SettlePythOrder ¶
func (_SpotMarketGoerli *SpotMarketGoerliSession) 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 (*SpotMarketGoerliSession) SimulateUpgradeTo ¶
func (_SpotMarketGoerli *SpotMarketGoerliSession) 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 (*SpotMarketGoerliSession) SupportsInterface ¶
func (_SpotMarketGoerli *SpotMarketGoerliSession) 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 (*SpotMarketGoerliSession) Unwrap ¶
func (_SpotMarketGoerli *SpotMarketGoerliSession) 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 (*SpotMarketGoerliSession) UpdatePriceData ¶
func (_SpotMarketGoerli *SpotMarketGoerliSession) 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 (*SpotMarketGoerliSession) UpdateReferrerShare ¶
func (_SpotMarketGoerli *SpotMarketGoerliSession) 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 (*SpotMarketGoerliSession) UpgradeSynthImpl ¶
func (_SpotMarketGoerli *SpotMarketGoerliSession) 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 (*SpotMarketGoerliSession) UpgradeTo ¶
func (_SpotMarketGoerli *SpotMarketGoerliSession) 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 (*SpotMarketGoerliSession) Wrap ¶
func (_SpotMarketGoerli *SpotMarketGoerliSession) 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 SpotMarketGoerliSettlementStrategyAdded ¶
type SpotMarketGoerliSettlementStrategyAdded struct { SynthMarketId *big.Int StrategyId *big.Int Raw types.Log // Blockchain specific contextual infos }
SpotMarketGoerliSettlementStrategyAdded represents a SettlementStrategyAdded event raised by the SpotMarketGoerli contract.
type SpotMarketGoerliSettlementStrategyAddedIterator ¶
type SpotMarketGoerliSettlementStrategyAddedIterator struct { Event *SpotMarketGoerliSettlementStrategyAdded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SpotMarketGoerliSettlementStrategyAddedIterator is returned from FilterSettlementStrategyAdded and is used to iterate over the raw logs and unpacked data for SettlementStrategyAdded events raised by the SpotMarketGoerli contract.
func (*SpotMarketGoerliSettlementStrategyAddedIterator) Close ¶
func (it *SpotMarketGoerliSettlementStrategyAddedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SpotMarketGoerliSettlementStrategyAddedIterator) Error ¶
func (it *SpotMarketGoerliSettlementStrategyAddedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SpotMarketGoerliSettlementStrategyAddedIterator) Next ¶
func (it *SpotMarketGoerliSettlementStrategyAddedIterator) 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 SpotMarketGoerliSettlementStrategyUpdated ¶
type SpotMarketGoerliSettlementStrategyUpdated struct { SynthMarketId *big.Int StrategyId *big.Int Enabled bool Raw types.Log // Blockchain specific contextual infos }
SpotMarketGoerliSettlementStrategyUpdated represents a SettlementStrategyUpdated event raised by the SpotMarketGoerli contract.
type SpotMarketGoerliSettlementStrategyUpdatedIterator ¶
type SpotMarketGoerliSettlementStrategyUpdatedIterator struct { Event *SpotMarketGoerliSettlementStrategyUpdated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SpotMarketGoerliSettlementStrategyUpdatedIterator is returned from FilterSettlementStrategyUpdated and is used to iterate over the raw logs and unpacked data for SettlementStrategyUpdated events raised by the SpotMarketGoerli contract.
func (*SpotMarketGoerliSettlementStrategyUpdatedIterator) Close ¶
func (it *SpotMarketGoerliSettlementStrategyUpdatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SpotMarketGoerliSettlementStrategyUpdatedIterator) Error ¶
func (it *SpotMarketGoerliSettlementStrategyUpdatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SpotMarketGoerliSettlementStrategyUpdatedIterator) Next ¶
func (it *SpotMarketGoerliSettlementStrategyUpdatedIterator) 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 SpotMarketGoerliSynthBought ¶
type SpotMarketGoerliSynthBought 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 }
SpotMarketGoerliSynthBought represents a SynthBought event raised by the SpotMarketGoerli contract.
type SpotMarketGoerliSynthBoughtIterator ¶
type SpotMarketGoerliSynthBoughtIterator struct { Event *SpotMarketGoerliSynthBought // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SpotMarketGoerliSynthBoughtIterator is returned from FilterSynthBought and is used to iterate over the raw logs and unpacked data for SynthBought events raised by the SpotMarketGoerli contract.
func (*SpotMarketGoerliSynthBoughtIterator) Close ¶
func (it *SpotMarketGoerliSynthBoughtIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SpotMarketGoerliSynthBoughtIterator) Error ¶
func (it *SpotMarketGoerliSynthBoughtIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SpotMarketGoerliSynthBoughtIterator) Next ¶
func (it *SpotMarketGoerliSynthBoughtIterator) 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 SpotMarketGoerliSynthImplementationSet ¶
type SpotMarketGoerliSynthImplementationSet struct { SynthImplementation common.Address Raw types.Log // Blockchain specific contextual infos }
SpotMarketGoerliSynthImplementationSet represents a SynthImplementationSet event raised by the SpotMarketGoerli contract.
type SpotMarketGoerliSynthImplementationSetIterator ¶
type SpotMarketGoerliSynthImplementationSetIterator struct { Event *SpotMarketGoerliSynthImplementationSet // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SpotMarketGoerliSynthImplementationSetIterator is returned from FilterSynthImplementationSet and is used to iterate over the raw logs and unpacked data for SynthImplementationSet events raised by the SpotMarketGoerli contract.
func (*SpotMarketGoerliSynthImplementationSetIterator) Close ¶
func (it *SpotMarketGoerliSynthImplementationSetIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SpotMarketGoerliSynthImplementationSetIterator) Error ¶
func (it *SpotMarketGoerliSynthImplementationSetIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SpotMarketGoerliSynthImplementationSetIterator) Next ¶
func (it *SpotMarketGoerliSynthImplementationSetIterator) 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 SpotMarketGoerliSynthImplementationUpgraded ¶
type SpotMarketGoerliSynthImplementationUpgraded struct { SynthMarketId *big.Int Proxy common.Address Implementation common.Address Raw types.Log // Blockchain specific contextual infos }
SpotMarketGoerliSynthImplementationUpgraded represents a SynthImplementationUpgraded event raised by the SpotMarketGoerli contract.
type SpotMarketGoerliSynthImplementationUpgradedIterator ¶
type SpotMarketGoerliSynthImplementationUpgradedIterator struct { Event *SpotMarketGoerliSynthImplementationUpgraded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SpotMarketGoerliSynthImplementationUpgradedIterator is returned from FilterSynthImplementationUpgraded and is used to iterate over the raw logs and unpacked data for SynthImplementationUpgraded events raised by the SpotMarketGoerli contract.
func (*SpotMarketGoerliSynthImplementationUpgradedIterator) Close ¶
func (it *SpotMarketGoerliSynthImplementationUpgradedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SpotMarketGoerliSynthImplementationUpgradedIterator) Error ¶
func (it *SpotMarketGoerliSynthImplementationUpgradedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SpotMarketGoerliSynthImplementationUpgradedIterator) Next ¶
func (it *SpotMarketGoerliSynthImplementationUpgradedIterator) 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 SpotMarketGoerliSynthPriceDataUpdated ¶
type SpotMarketGoerliSynthPriceDataUpdated struct { SynthMarketId *big.Int BuyFeedId [32]byte SellFeedId [32]byte Raw types.Log // Blockchain specific contextual infos }
SpotMarketGoerliSynthPriceDataUpdated represents a SynthPriceDataUpdated event raised by the SpotMarketGoerli contract.
type SpotMarketGoerliSynthPriceDataUpdatedIterator ¶
type SpotMarketGoerliSynthPriceDataUpdatedIterator struct { Event *SpotMarketGoerliSynthPriceDataUpdated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SpotMarketGoerliSynthPriceDataUpdatedIterator is returned from FilterSynthPriceDataUpdated and is used to iterate over the raw logs and unpacked data for SynthPriceDataUpdated events raised by the SpotMarketGoerli contract.
func (*SpotMarketGoerliSynthPriceDataUpdatedIterator) Close ¶
func (it *SpotMarketGoerliSynthPriceDataUpdatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SpotMarketGoerliSynthPriceDataUpdatedIterator) Error ¶
func (it *SpotMarketGoerliSynthPriceDataUpdatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SpotMarketGoerliSynthPriceDataUpdatedIterator) Next ¶
func (it *SpotMarketGoerliSynthPriceDataUpdatedIterator) 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 SpotMarketGoerliSynthRegistered ¶
type SpotMarketGoerliSynthRegistered struct { SynthMarketId *big.Int SynthTokenAddress common.Address Raw types.Log // Blockchain specific contextual infos }
SpotMarketGoerliSynthRegistered represents a SynthRegistered event raised by the SpotMarketGoerli contract.
type SpotMarketGoerliSynthRegisteredIterator ¶
type SpotMarketGoerliSynthRegisteredIterator struct { Event *SpotMarketGoerliSynthRegistered // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SpotMarketGoerliSynthRegisteredIterator is returned from FilterSynthRegistered and is used to iterate over the raw logs and unpacked data for SynthRegistered events raised by the SpotMarketGoerli contract.
func (*SpotMarketGoerliSynthRegisteredIterator) Close ¶
func (it *SpotMarketGoerliSynthRegisteredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SpotMarketGoerliSynthRegisteredIterator) Error ¶
func (it *SpotMarketGoerliSynthRegisteredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SpotMarketGoerliSynthRegisteredIterator) Next ¶
func (it *SpotMarketGoerliSynthRegisteredIterator) 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 SpotMarketGoerliSynthSold ¶
type SpotMarketGoerliSynthSold 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 }
SpotMarketGoerliSynthSold represents a SynthSold event raised by the SpotMarketGoerli contract.
type SpotMarketGoerliSynthSoldIterator ¶
type SpotMarketGoerliSynthSoldIterator struct { Event *SpotMarketGoerliSynthSold // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SpotMarketGoerliSynthSoldIterator is returned from FilterSynthSold and is used to iterate over the raw logs and unpacked data for SynthSold events raised by the SpotMarketGoerli contract.
func (*SpotMarketGoerliSynthSoldIterator) Close ¶
func (it *SpotMarketGoerliSynthSoldIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SpotMarketGoerliSynthSoldIterator) Error ¶
func (it *SpotMarketGoerliSynthSoldIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SpotMarketGoerliSynthSoldIterator) Next ¶
func (it *SpotMarketGoerliSynthSoldIterator) 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 SpotMarketGoerliSynthUnwrapped ¶
type SpotMarketGoerliSynthUnwrapped struct { SynthMarketId *big.Int AmountUnwrapped *big.Int Fees OrderFeesData FeesCollected *big.Int Raw types.Log // Blockchain specific contextual infos }
SpotMarketGoerliSynthUnwrapped represents a SynthUnwrapped event raised by the SpotMarketGoerli contract.
type SpotMarketGoerliSynthUnwrappedIterator ¶
type SpotMarketGoerliSynthUnwrappedIterator struct { Event *SpotMarketGoerliSynthUnwrapped // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SpotMarketGoerliSynthUnwrappedIterator is returned from FilterSynthUnwrapped and is used to iterate over the raw logs and unpacked data for SynthUnwrapped events raised by the SpotMarketGoerli contract.
func (*SpotMarketGoerliSynthUnwrappedIterator) Close ¶
func (it *SpotMarketGoerliSynthUnwrappedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SpotMarketGoerliSynthUnwrappedIterator) Error ¶
func (it *SpotMarketGoerliSynthUnwrappedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SpotMarketGoerliSynthUnwrappedIterator) Next ¶
func (it *SpotMarketGoerliSynthUnwrappedIterator) 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 SpotMarketGoerliSynthWrapped ¶
type SpotMarketGoerliSynthWrapped struct { SynthMarketId *big.Int AmountWrapped *big.Int Fees OrderFeesData FeesCollected *big.Int Raw types.Log // Blockchain specific contextual infos }
SpotMarketGoerliSynthWrapped represents a SynthWrapped event raised by the SpotMarketGoerli contract.
type SpotMarketGoerliSynthWrappedIterator ¶
type SpotMarketGoerliSynthWrappedIterator struct { Event *SpotMarketGoerliSynthWrapped // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SpotMarketGoerliSynthWrappedIterator is returned from FilterSynthWrapped and is used to iterate over the raw logs and unpacked data for SynthWrapped events raised by the SpotMarketGoerli contract.
func (*SpotMarketGoerliSynthWrappedIterator) Close ¶
func (it *SpotMarketGoerliSynthWrappedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SpotMarketGoerliSynthWrappedIterator) Error ¶
func (it *SpotMarketGoerliSynthWrappedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SpotMarketGoerliSynthWrappedIterator) Next ¶
func (it *SpotMarketGoerliSynthWrappedIterator) 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 SpotMarketGoerliSynthetixSystemSet ¶
type SpotMarketGoerliSynthetixSystemSet struct { Synthetix common.Address UsdTokenAddress common.Address OracleManager common.Address Raw types.Log // Blockchain specific contextual infos }
SpotMarketGoerliSynthetixSystemSet represents a SynthetixSystemSet event raised by the SpotMarketGoerli contract.
type SpotMarketGoerliSynthetixSystemSetIterator ¶
type SpotMarketGoerliSynthetixSystemSetIterator struct { Event *SpotMarketGoerliSynthetixSystemSet // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SpotMarketGoerliSynthetixSystemSetIterator is returned from FilterSynthetixSystemSet and is used to iterate over the raw logs and unpacked data for SynthetixSystemSet events raised by the SpotMarketGoerli contract.
func (*SpotMarketGoerliSynthetixSystemSetIterator) Close ¶
func (it *SpotMarketGoerliSynthetixSystemSetIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SpotMarketGoerliSynthetixSystemSetIterator) Error ¶
func (it *SpotMarketGoerliSynthetixSystemSetIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SpotMarketGoerliSynthetixSystemSetIterator) Next ¶
func (it *SpotMarketGoerliSynthetixSystemSetIterator) 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 SpotMarketGoerliTransactor ¶
type SpotMarketGoerliTransactor struct {
// contains filtered or unexported fields
}
SpotMarketGoerliTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewSpotMarketGoerliTransactor ¶
func NewSpotMarketGoerliTransactor(address common.Address, transactor bind.ContractTransactor) (*SpotMarketGoerliTransactor, error)
NewSpotMarketGoerliTransactor creates a new write-only instance of SpotMarketGoerli, bound to a specific deployed contract.
func (*SpotMarketGoerliTransactor) AcceptMarketOwnership ¶
func (_SpotMarketGoerli *SpotMarketGoerliTransactor) 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 (*SpotMarketGoerliTransactor) AcceptOwnership ¶
func (_SpotMarketGoerli *SpotMarketGoerliTransactor) AcceptOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.
Solidity: function acceptOwnership() returns()
func (*SpotMarketGoerliTransactor) AddSettlementStrategy ¶
func (_SpotMarketGoerli *SpotMarketGoerliTransactor) 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 (*SpotMarketGoerliTransactor) AddToFeatureFlagAllowlist ¶
func (_SpotMarketGoerli *SpotMarketGoerliTransactor) 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 (*SpotMarketGoerliTransactor) Buy ¶
func (_SpotMarketGoerli *SpotMarketGoerliTransactor) 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 (*SpotMarketGoerliTransactor) BuyExactIn ¶
func (_SpotMarketGoerli *SpotMarketGoerliTransactor) 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 (*SpotMarketGoerliTransactor) BuyExactOut ¶
func (_SpotMarketGoerli *SpotMarketGoerliTransactor) 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 (*SpotMarketGoerliTransactor) CancelOrder ¶
func (_SpotMarketGoerli *SpotMarketGoerliTransactor) 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 (*SpotMarketGoerliTransactor) CommitOrder ¶
func (_SpotMarketGoerli *SpotMarketGoerliTransactor) 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 (*SpotMarketGoerliTransactor) CreateSynth ¶
func (_SpotMarketGoerli *SpotMarketGoerliTransactor) 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 (*SpotMarketGoerliTransactor) InitOrUpgradeNft ¶
func (_SpotMarketGoerli *SpotMarketGoerliTransactor) 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 (*SpotMarketGoerliTransactor) InitOrUpgradeToken ¶
func (_SpotMarketGoerli *SpotMarketGoerliTransactor) 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 (*SpotMarketGoerliTransactor) NominateMarketOwner ¶
func (_SpotMarketGoerli *SpotMarketGoerliTransactor) 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 (*SpotMarketGoerliTransactor) NominateNewOwner ¶
func (_SpotMarketGoerli *SpotMarketGoerliTransactor) 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 (*SpotMarketGoerliTransactor) RegisterUnmanagedSystem ¶
func (_SpotMarketGoerli *SpotMarketGoerliTransactor) 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 (*SpotMarketGoerliTransactor) RemoveFromFeatureFlagAllowlist ¶
func (_SpotMarketGoerli *SpotMarketGoerliTransactor) 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 (*SpotMarketGoerliTransactor) RenounceMarketNomination ¶
func (_SpotMarketGoerli *SpotMarketGoerliTransactor) 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 (*SpotMarketGoerliTransactor) RenounceMarketOwnership ¶ added in v0.1.5
func (_SpotMarketGoerli *SpotMarketGoerliTransactor) 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 (*SpotMarketGoerliTransactor) RenounceNomination ¶
func (_SpotMarketGoerli *SpotMarketGoerliTransactor) RenounceNomination(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceNomination is a paid mutator transaction binding the contract method 0x718fe928.
Solidity: function renounceNomination() returns()
func (*SpotMarketGoerliTransactor) Sell ¶
func (_SpotMarketGoerli *SpotMarketGoerliTransactor) 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 (*SpotMarketGoerliTransactor) SellExactIn ¶
func (_SpotMarketGoerli *SpotMarketGoerliTransactor) 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 (*SpotMarketGoerliTransactor) SellExactOut ¶
func (_SpotMarketGoerli *SpotMarketGoerliTransactor) 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 (*SpotMarketGoerliTransactor) SetAsyncFixedFee ¶
func (_SpotMarketGoerli *SpotMarketGoerliTransactor) 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 (*SpotMarketGoerliTransactor) SetAtomicFixedFee ¶
func (_SpotMarketGoerli *SpotMarketGoerliTransactor) 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 (*SpotMarketGoerliTransactor) SetCollateralLeverage ¶
func (_SpotMarketGoerli *SpotMarketGoerliTransactor) 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 (*SpotMarketGoerliTransactor) SetCustomTransactorFees ¶
func (_SpotMarketGoerli *SpotMarketGoerliTransactor) 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 (*SpotMarketGoerliTransactor) SetDecayRate ¶
func (_SpotMarketGoerli *SpotMarketGoerliTransactor) 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 (*SpotMarketGoerliTransactor) SetDeniers ¶
func (_SpotMarketGoerli *SpotMarketGoerliTransactor) 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 (*SpotMarketGoerliTransactor) SetFeatureFlagAllowAll ¶
func (_SpotMarketGoerli *SpotMarketGoerliTransactor) 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 (*SpotMarketGoerliTransactor) SetFeatureFlagDenyAll ¶
func (_SpotMarketGoerli *SpotMarketGoerliTransactor) 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 (*SpotMarketGoerliTransactor) SetFeeCollector ¶
func (_SpotMarketGoerli *SpotMarketGoerliTransactor) 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 (*SpotMarketGoerliTransactor) SetMarketSkewScale ¶
func (_SpotMarketGoerli *SpotMarketGoerliTransactor) 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 (*SpotMarketGoerliTransactor) SetMarketUtilizationFees ¶
func (_SpotMarketGoerli *SpotMarketGoerliTransactor) 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 (*SpotMarketGoerliTransactor) SetSettlementStrategyEnabled ¶
func (_SpotMarketGoerli *SpotMarketGoerliTransactor) 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 (*SpotMarketGoerliTransactor) SetSynthImplementation ¶
func (_SpotMarketGoerli *SpotMarketGoerliTransactor) 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 (*SpotMarketGoerliTransactor) SetSynthetix ¶
func (_SpotMarketGoerli *SpotMarketGoerliTransactor) 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 (*SpotMarketGoerliTransactor) SetWrapper ¶
func (_SpotMarketGoerli *SpotMarketGoerliTransactor) 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 (*SpotMarketGoerliTransactor) SetWrapperFees ¶
func (_SpotMarketGoerli *SpotMarketGoerliTransactor) 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 (*SpotMarketGoerliTransactor) SettleOrder ¶
func (_SpotMarketGoerli *SpotMarketGoerliTransactor) 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 (*SpotMarketGoerliTransactor) SettlePythOrder ¶
func (_SpotMarketGoerli *SpotMarketGoerliTransactor) 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 (*SpotMarketGoerliTransactor) SimulateUpgradeTo ¶
func (_SpotMarketGoerli *SpotMarketGoerliTransactor) 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 (*SpotMarketGoerliTransactor) Unwrap ¶
func (_SpotMarketGoerli *SpotMarketGoerliTransactor) 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 (*SpotMarketGoerliTransactor) UpdatePriceData ¶
func (_SpotMarketGoerli *SpotMarketGoerliTransactor) 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 (*SpotMarketGoerliTransactor) UpdateReferrerShare ¶
func (_SpotMarketGoerli *SpotMarketGoerliTransactor) 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 (*SpotMarketGoerliTransactor) UpgradeSynthImpl ¶
func (_SpotMarketGoerli *SpotMarketGoerliTransactor) 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 (*SpotMarketGoerliTransactor) UpgradeTo ¶
func (_SpotMarketGoerli *SpotMarketGoerliTransactor) 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 (*SpotMarketGoerliTransactor) Wrap ¶
func (_SpotMarketGoerli *SpotMarketGoerliTransactor) 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 SpotMarketGoerliTransactorFixedFeeSet ¶
type SpotMarketGoerliTransactorFixedFeeSet struct { SynthMarketId *big.Int Transactor common.Address FixedFeeAmount *big.Int Raw types.Log // Blockchain specific contextual infos }
SpotMarketGoerliTransactorFixedFeeSet represents a TransactorFixedFeeSet event raised by the SpotMarketGoerli contract.
type SpotMarketGoerliTransactorFixedFeeSetIterator ¶
type SpotMarketGoerliTransactorFixedFeeSetIterator struct { Event *SpotMarketGoerliTransactorFixedFeeSet // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SpotMarketGoerliTransactorFixedFeeSetIterator is returned from FilterTransactorFixedFeeSet and is used to iterate over the raw logs and unpacked data for TransactorFixedFeeSet events raised by the SpotMarketGoerli contract.
func (*SpotMarketGoerliTransactorFixedFeeSetIterator) Close ¶
func (it *SpotMarketGoerliTransactorFixedFeeSetIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SpotMarketGoerliTransactorFixedFeeSetIterator) Error ¶
func (it *SpotMarketGoerliTransactorFixedFeeSetIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SpotMarketGoerliTransactorFixedFeeSetIterator) Next ¶
func (it *SpotMarketGoerliTransactorFixedFeeSetIterator) 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 SpotMarketGoerliTransactorRaw ¶
type SpotMarketGoerliTransactorRaw struct {
Contract *SpotMarketGoerliTransactor // Generic write-only contract binding to access the raw methods on
}
SpotMarketGoerliTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*SpotMarketGoerliTransactorRaw) Transact ¶
func (_SpotMarketGoerli *SpotMarketGoerliTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SpotMarketGoerliTransactorRaw) Transfer ¶
func (_SpotMarketGoerli *SpotMarketGoerliTransactorRaw) 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 SpotMarketGoerliTransactorSession ¶
type SpotMarketGoerliTransactorSession struct { Contract *SpotMarketGoerliTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
SpotMarketGoerliTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*SpotMarketGoerliTransactorSession) AcceptMarketOwnership ¶
func (_SpotMarketGoerli *SpotMarketGoerliTransactorSession) 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 (*SpotMarketGoerliTransactorSession) AcceptOwnership ¶
func (_SpotMarketGoerli *SpotMarketGoerliTransactorSession) AcceptOwnership() (*types.Transaction, error)
AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.
Solidity: function acceptOwnership() returns()
func (*SpotMarketGoerliTransactorSession) AddSettlementStrategy ¶
func (_SpotMarketGoerli *SpotMarketGoerliTransactorSession) 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 (*SpotMarketGoerliTransactorSession) AddToFeatureFlagAllowlist ¶
func (_SpotMarketGoerli *SpotMarketGoerliTransactorSession) 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 (*SpotMarketGoerliTransactorSession) Buy ¶
func (_SpotMarketGoerli *SpotMarketGoerliTransactorSession) 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 (*SpotMarketGoerliTransactorSession) BuyExactIn ¶
func (_SpotMarketGoerli *SpotMarketGoerliTransactorSession) 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 (*SpotMarketGoerliTransactorSession) BuyExactOut ¶
func (_SpotMarketGoerli *SpotMarketGoerliTransactorSession) 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 (*SpotMarketGoerliTransactorSession) CancelOrder ¶
func (_SpotMarketGoerli *SpotMarketGoerliTransactorSession) 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 (*SpotMarketGoerliTransactorSession) CommitOrder ¶
func (_SpotMarketGoerli *SpotMarketGoerliTransactorSession) 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 (*SpotMarketGoerliTransactorSession) CreateSynth ¶
func (_SpotMarketGoerli *SpotMarketGoerliTransactorSession) 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 (*SpotMarketGoerliTransactorSession) InitOrUpgradeNft ¶
func (_SpotMarketGoerli *SpotMarketGoerliTransactorSession) 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 (*SpotMarketGoerliTransactorSession) InitOrUpgradeToken ¶
func (_SpotMarketGoerli *SpotMarketGoerliTransactorSession) 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 (*SpotMarketGoerliTransactorSession) NominateMarketOwner ¶
func (_SpotMarketGoerli *SpotMarketGoerliTransactorSession) 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 (*SpotMarketGoerliTransactorSession) NominateNewOwner ¶
func (_SpotMarketGoerli *SpotMarketGoerliTransactorSession) 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 (*SpotMarketGoerliTransactorSession) RegisterUnmanagedSystem ¶
func (_SpotMarketGoerli *SpotMarketGoerliTransactorSession) 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 (*SpotMarketGoerliTransactorSession) RemoveFromFeatureFlagAllowlist ¶
func (_SpotMarketGoerli *SpotMarketGoerliTransactorSession) 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 (*SpotMarketGoerliTransactorSession) RenounceMarketNomination ¶
func (_SpotMarketGoerli *SpotMarketGoerliTransactorSession) 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 (*SpotMarketGoerliTransactorSession) RenounceMarketOwnership ¶ added in v0.1.5
func (_SpotMarketGoerli *SpotMarketGoerliTransactorSession) 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 (*SpotMarketGoerliTransactorSession) RenounceNomination ¶
func (_SpotMarketGoerli *SpotMarketGoerliTransactorSession) RenounceNomination() (*types.Transaction, error)
RenounceNomination is a paid mutator transaction binding the contract method 0x718fe928.
Solidity: function renounceNomination() returns()
func (*SpotMarketGoerliTransactorSession) Sell ¶
func (_SpotMarketGoerli *SpotMarketGoerliTransactorSession) 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 (*SpotMarketGoerliTransactorSession) SellExactIn ¶
func (_SpotMarketGoerli *SpotMarketGoerliTransactorSession) 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 (*SpotMarketGoerliTransactorSession) SellExactOut ¶
func (_SpotMarketGoerli *SpotMarketGoerliTransactorSession) 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 (*SpotMarketGoerliTransactorSession) SetAsyncFixedFee ¶
func (_SpotMarketGoerli *SpotMarketGoerliTransactorSession) 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 (*SpotMarketGoerliTransactorSession) SetAtomicFixedFee ¶
func (_SpotMarketGoerli *SpotMarketGoerliTransactorSession) 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 (*SpotMarketGoerliTransactorSession) SetCollateralLeverage ¶
func (_SpotMarketGoerli *SpotMarketGoerliTransactorSession) 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 (*SpotMarketGoerliTransactorSession) SetCustomTransactorFees ¶
func (_SpotMarketGoerli *SpotMarketGoerliTransactorSession) 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 (*SpotMarketGoerliTransactorSession) SetDecayRate ¶
func (_SpotMarketGoerli *SpotMarketGoerliTransactorSession) 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 (*SpotMarketGoerliTransactorSession) SetDeniers ¶
func (_SpotMarketGoerli *SpotMarketGoerliTransactorSession) 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 (*SpotMarketGoerliTransactorSession) SetFeatureFlagAllowAll ¶
func (_SpotMarketGoerli *SpotMarketGoerliTransactorSession) 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 (*SpotMarketGoerliTransactorSession) SetFeatureFlagDenyAll ¶
func (_SpotMarketGoerli *SpotMarketGoerliTransactorSession) 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 (*SpotMarketGoerliTransactorSession) SetFeeCollector ¶
func (_SpotMarketGoerli *SpotMarketGoerliTransactorSession) 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 (*SpotMarketGoerliTransactorSession) SetMarketSkewScale ¶
func (_SpotMarketGoerli *SpotMarketGoerliTransactorSession) 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 (*SpotMarketGoerliTransactorSession) SetMarketUtilizationFees ¶
func (_SpotMarketGoerli *SpotMarketGoerliTransactorSession) 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 (*SpotMarketGoerliTransactorSession) SetSettlementStrategyEnabled ¶
func (_SpotMarketGoerli *SpotMarketGoerliTransactorSession) 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 (*SpotMarketGoerliTransactorSession) SetSynthImplementation ¶
func (_SpotMarketGoerli *SpotMarketGoerliTransactorSession) 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 (*SpotMarketGoerliTransactorSession) SetSynthetix ¶
func (_SpotMarketGoerli *SpotMarketGoerliTransactorSession) 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 (*SpotMarketGoerliTransactorSession) SetWrapper ¶
func (_SpotMarketGoerli *SpotMarketGoerliTransactorSession) 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 (*SpotMarketGoerliTransactorSession) SetWrapperFees ¶
func (_SpotMarketGoerli *SpotMarketGoerliTransactorSession) 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 (*SpotMarketGoerliTransactorSession) SettleOrder ¶
func (_SpotMarketGoerli *SpotMarketGoerliTransactorSession) 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 (*SpotMarketGoerliTransactorSession) SettlePythOrder ¶
func (_SpotMarketGoerli *SpotMarketGoerliTransactorSession) 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 (*SpotMarketGoerliTransactorSession) SimulateUpgradeTo ¶
func (_SpotMarketGoerli *SpotMarketGoerliTransactorSession) 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 (*SpotMarketGoerliTransactorSession) Unwrap ¶
func (_SpotMarketGoerli *SpotMarketGoerliTransactorSession) 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 (*SpotMarketGoerliTransactorSession) UpdatePriceData ¶
func (_SpotMarketGoerli *SpotMarketGoerliTransactorSession) 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 (*SpotMarketGoerliTransactorSession) UpdateReferrerShare ¶
func (_SpotMarketGoerli *SpotMarketGoerliTransactorSession) 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 (*SpotMarketGoerliTransactorSession) UpgradeSynthImpl ¶
func (_SpotMarketGoerli *SpotMarketGoerliTransactorSession) 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 (*SpotMarketGoerliTransactorSession) UpgradeTo ¶
func (_SpotMarketGoerli *SpotMarketGoerliTransactorSession) 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 (*SpotMarketGoerliTransactorSession) Wrap ¶
func (_SpotMarketGoerli *SpotMarketGoerliTransactorSession) 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 SpotMarketGoerliUpgraded ¶
type SpotMarketGoerliUpgraded struct { Self common.Address Implementation common.Address Raw types.Log // Blockchain specific contextual infos }
SpotMarketGoerliUpgraded represents a Upgraded event raised by the SpotMarketGoerli contract.
type SpotMarketGoerliUpgradedIterator ¶
type SpotMarketGoerliUpgradedIterator struct { Event *SpotMarketGoerliUpgraded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SpotMarketGoerliUpgradedIterator is returned from FilterUpgraded and is used to iterate over the raw logs and unpacked data for Upgraded events raised by the SpotMarketGoerli contract.
func (*SpotMarketGoerliUpgradedIterator) Close ¶
func (it *SpotMarketGoerliUpgradedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SpotMarketGoerliUpgradedIterator) Error ¶
func (it *SpotMarketGoerliUpgradedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SpotMarketGoerliUpgradedIterator) Next ¶
func (it *SpotMarketGoerliUpgradedIterator) 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 SpotMarketGoerliWrapperFeesSet ¶
type SpotMarketGoerliWrapperFeesSet struct { SynthMarketId *big.Int WrapFee *big.Int UnwrapFee *big.Int Raw types.Log // Blockchain specific contextual infos }
SpotMarketGoerliWrapperFeesSet represents a WrapperFeesSet event raised by the SpotMarketGoerli contract.
type SpotMarketGoerliWrapperFeesSetIterator ¶
type SpotMarketGoerliWrapperFeesSetIterator struct { Event *SpotMarketGoerliWrapperFeesSet // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SpotMarketGoerliWrapperFeesSetIterator is returned from FilterWrapperFeesSet and is used to iterate over the raw logs and unpacked data for WrapperFeesSet events raised by the SpotMarketGoerli contract.
func (*SpotMarketGoerliWrapperFeesSetIterator) Close ¶
func (it *SpotMarketGoerliWrapperFeesSetIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SpotMarketGoerliWrapperFeesSetIterator) Error ¶
func (it *SpotMarketGoerliWrapperFeesSetIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SpotMarketGoerliWrapperFeesSetIterator) Next ¶
func (it *SpotMarketGoerliWrapperFeesSetIterator) 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 SpotMarketGoerliWrapperSet ¶
type SpotMarketGoerliWrapperSet struct { SynthMarketId *big.Int WrapCollateralType common.Address MaxWrappableAmount *big.Int Raw types.Log // Blockchain specific contextual infos }
SpotMarketGoerliWrapperSet represents a WrapperSet event raised by the SpotMarketGoerli contract.
type SpotMarketGoerliWrapperSetIterator ¶
type SpotMarketGoerliWrapperSetIterator struct { Event *SpotMarketGoerliWrapperSet // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SpotMarketGoerliWrapperSetIterator is returned from FilterWrapperSet and is used to iterate over the raw logs and unpacked data for WrapperSet events raised by the SpotMarketGoerli contract.
func (*SpotMarketGoerliWrapperSetIterator) Close ¶
func (it *SpotMarketGoerliWrapperSetIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SpotMarketGoerliWrapperSetIterator) Error ¶
func (it *SpotMarketGoerliWrapperSetIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SpotMarketGoerliWrapperSetIterator) Next ¶
func (it *SpotMarketGoerliWrapperSetIterator) 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.