@katanaperps/katana-perps-sdk 0.0.0-placeholder
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.nvmrc +1 -0
- package/LICENSE +21 -0
- package/README.md +90 -0
- package/dist/abis/ERC20.json +288 -0
- package/dist/abis/EarningsEscrow.json +468 -0
- package/dist/abis/Exchange_v1.json +3644 -0
- package/dist/abis/IOFT.json +447 -0
- package/dist/bridge/config.d.ts +262 -0
- package/dist/bridge/config.d.ts.map +1 -0
- package/dist/bridge/config.js +221 -0
- package/dist/bridge/deposit.d.ts +107 -0
- package/dist/bridge/deposit.d.ts.map +1 -0
- package/dist/bridge/deposit.js +284 -0
- package/dist/bridge/index.d.ts +5 -0
- package/dist/bridge/index.d.ts.map +1 -0
- package/dist/bridge/index.js +7 -0
- package/dist/bridge/utils.d.ts +140 -0
- package/dist/bridge/utils.d.ts.map +1 -0
- package/dist/bridge/utils.js +66 -0
- package/dist/bridge/withdraw.d.ts +42 -0
- package/dist/bridge/withdraw.d.ts.map +1 -0
- package/dist/bridge/withdraw.js +86 -0
- package/dist/client/index.d.ts +4 -0
- package/dist/client/index.d.ts.map +1 -0
- package/dist/client/index.js +6 -0
- package/dist/client/orderBook/index.d.ts +2 -0
- package/dist/client/orderBook/index.d.ts.map +1 -0
- package/dist/client/orderBook/index.js +4 -0
- package/dist/client/orderBook/realTime.d.ts +180 -0
- package/dist/client/orderBook/realTime.d.ts.map +1 -0
- package/dist/client/orderBook/realTime.js +344 -0
- package/dist/client/orderBook/utils.d.ts +15 -0
- package/dist/client/orderBook/utils.d.ts.map +1 -0
- package/dist/client/orderBook/utils.js +77 -0
- package/dist/client/rest/authenticated.d.ts +1199 -0
- package/dist/client/rest/authenticated.d.ts.map +1 -0
- package/dist/client/rest/authenticated.js +1311 -0
- package/dist/client/rest/index.d.ts +3 -0
- package/dist/client/rest/index.d.ts.map +1 -0
- package/dist/client/rest/index.js +5 -0
- package/dist/client/rest/public.d.ts +436 -0
- package/dist/client/rest/public.d.ts.map +1 -0
- package/dist/client/rest/public.js +502 -0
- package/dist/client/webSocket/guards.d.ts +15 -0
- package/dist/client/webSocket/guards.d.ts.map +1 -0
- package/dist/client/webSocket/guards.js +37 -0
- package/dist/client/webSocket/index.d.ts +632 -0
- package/dist/client/webSocket/index.d.ts.map +1 -0
- package/dist/client/webSocket/index.js +1048 -0
- package/dist/client/webSocket/transform.d.ts +3 -0
- package/dist/client/webSocket/transform.d.ts.map +1 -0
- package/dist/client/webSocket/transform.js +244 -0
- package/dist/constants.d.ts +34 -0
- package/dist/constants.d.ts.map +1 -0
- package/dist/constants.js +38 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +14 -0
- package/dist/orderbook/apiConversions.d.ts +8 -0
- package/dist/orderbook/apiConversions.d.ts.map +1 -0
- package/dist/orderbook/apiConversions.js +100 -0
- package/dist/orderbook/demo.d.ts +2 -0
- package/dist/orderbook/demo.d.ts.map +1 -0
- package/dist/orderbook/demo.js +68 -0
- package/dist/orderbook/index.d.ts +3 -0
- package/dist/orderbook/index.d.ts.map +1 -0
- package/dist/orderbook/index.js +5 -0
- package/dist/orderbook/quantities.d.ts +112 -0
- package/dist/orderbook/quantities.d.ts.map +1 -0
- package/dist/orderbook/quantities.js +257 -0
- package/dist/orderbook/utils.d.ts +8 -0
- package/dist/orderbook/utils.d.ts.map +1 -0
- package/dist/orderbook/utils.js +28 -0
- package/dist/pipmath.d.ts +21 -0
- package/dist/pipmath.d.ts.map +1 -0
- package/dist/pipmath.js +110 -0
- package/dist/signatures.d.ts +37 -0
- package/dist/signatures.d.ts.map +1 -0
- package/dist/signatures.js +450 -0
- package/dist/tests/orderbook/quantities/calculateInitialMarginFractionWithOverride.test.d.ts +2 -0
- package/dist/tests/orderbook/quantities/calculateInitialMarginFractionWithOverride.test.d.ts.map +1 -0
- package/dist/tests/orderbook/quantities/calculateInitialMarginFractionWithOverride.test.js +49 -0
- package/dist/tests/orderbook/quantities/calculateMaximumInitialMarginFractionOverride.test.d.ts +2 -0
- package/dist/tests/orderbook/quantities/calculateMaximumInitialMarginFractionOverride.test.d.ts.map +1 -0
- package/dist/tests/orderbook/quantities/calculateMaximumInitialMarginFractionOverride.test.js +122 -0
- package/dist/tests/orderbook/quantities/determineMaximumReduceOnlyQuantityAvailableAtPriceLevel.test.d.ts +2 -0
- package/dist/tests/orderbook/quantities/determineMaximumReduceOnlyQuantityAvailableAtPriceLevel.test.d.ts.map +1 -0
- package/dist/tests/orderbook/quantities/determineMaximumReduceOnlyQuantityAvailableAtPriceLevel.test.js +138 -0
- package/dist/tests/orderbook/quantities.test.d.ts +2 -0
- package/dist/tests/orderbook/quantities.test.d.ts.map +1 -0
- package/dist/tests/orderbook/quantities.test.js +310 -0
- package/dist/tests/testHelpers.d.ts +2 -0
- package/dist/tests/testHelpers.d.ts.map +1 -0
- package/dist/tests/testHelpers.js +16 -0
- package/dist/tests/utils/deriveBaseURL.test.d.ts +2 -0
- package/dist/tests/utils/deriveBaseURL.test.d.ts.map +1 -0
- package/dist/tests/utils/deriveBaseURL.test.js +46 -0
- package/dist/typechain-types/ERC20.d.ts +170 -0
- package/dist/typechain-types/ERC20.d.ts.map +1 -0
- package/dist/typechain-types/ERC20.js +2 -0
- package/dist/typechain-types/EarningsEscrow.d.ts +210 -0
- package/dist/typechain-types/EarningsEscrow.d.ts.map +1 -0
- package/dist/typechain-types/EarningsEscrow.js +2 -0
- package/dist/typechain-types/ExchangeLayerZeroAdapter.d.ts +253 -0
- package/dist/typechain-types/ExchangeLayerZeroAdapter.d.ts.map +1 -0
- package/dist/typechain-types/ExchangeLayerZeroAdapter.js +2 -0
- package/dist/typechain-types/ExchangeLayerZeroAdapter_v2.d.ts +338 -0
- package/dist/typechain-types/ExchangeLayerZeroAdapter_v2.d.ts.map +1 -0
- package/dist/typechain-types/ExchangeLayerZeroAdapter_v2.js +2 -0
- package/dist/typechain-types/ExchangeLayerZeroAdapter_v3.d.ts +413 -0
- package/dist/typechain-types/ExchangeLayerZeroAdapter_v3.d.ts.map +1 -0
- package/dist/typechain-types/ExchangeLayerZeroAdapter_v3.js +2 -0
- package/dist/typechain-types/Exchange_v1.d.ts +2172 -0
- package/dist/typechain-types/Exchange_v1.d.ts.map +1 -0
- package/dist/typechain-types/Exchange_v1.js +2 -0
- package/dist/typechain-types/Exchange_v2.d.ts +2148 -0
- package/dist/typechain-types/Exchange_v2.d.ts.map +1 -0
- package/dist/typechain-types/Exchange_v2.js +2 -0
- package/dist/typechain-types/FixedIncomeVaultProviderStateAggregator_v1.d.ts +148 -0
- package/dist/typechain-types/FixedIncomeVaultProviderStateAggregator_v1.d.ts.map +1 -0
- package/dist/typechain-types/FixedIncomeVaultProviderStateAggregator_v1.js +2 -0
- package/dist/typechain-types/FixedIncomeVaultProvider_v1.d.ts +1204 -0
- package/dist/typechain-types/FixedIncomeVaultProvider_v1.d.ts.map +1 -0
- package/dist/typechain-types/FixedIncomeVaultProvider_v1.js +2 -0
- package/dist/typechain-types/IOFT.d.ts +247 -0
- package/dist/typechain-types/IOFT.d.ts.map +1 -0
- package/dist/typechain-types/IOFT.js +2 -0
- package/dist/typechain-types/IRewardVault.d.ts +649 -0
- package/dist/typechain-types/IRewardVault.d.ts.map +1 -0
- package/dist/typechain-types/IRewardVault.js +2 -0
- package/dist/typechain-types/KumaOFTAdapterUSDC.d.ts +638 -0
- package/dist/typechain-types/KumaOFTAdapterUSDC.d.ts.map +1 -0
- package/dist/typechain-types/KumaOFTAdapterUSDC.js +2 -0
- package/dist/typechain-types/KumaOFTUSDC.d.ts +756 -0
- package/dist/typechain-types/KumaOFTUSDC.d.ts.map +1 -0
- package/dist/typechain-types/KumaOFTUSDC.js +2 -0
- package/dist/typechain-types/KumaStargateForwarder_v1.d.ts +252 -0
- package/dist/typechain-types/KumaStargateForwarder_v1.d.ts.map +1 -0
- package/dist/typechain-types/KumaStargateForwarder_v1.js +2 -0
- package/dist/typechain-types/KumaStargateForwarder_v2.d.ts +252 -0
- package/dist/typechain-types/KumaStargateForwarder_v2.d.ts.map +1 -0
- package/dist/typechain-types/KumaStargateForwarder_v2.js +2 -0
- package/dist/typechain-types/ProfitShareVaultProvider_v1.d.ts +1095 -0
- package/dist/typechain-types/ProfitShareVaultProvider_v1.d.ts.map +1 -0
- package/dist/typechain-types/ProfitShareVaultProvider_v1.js +2 -0
- package/dist/typechain-types/StargatePoolUSDC.d.ts +956 -0
- package/dist/typechain-types/StargatePoolUSDC.d.ts.map +1 -0
- package/dist/typechain-types/StargatePoolUSDC.js +2 -0
- package/dist/typechain-types/common.d.ts +51 -0
- package/dist/typechain-types/common.d.ts.map +1 -0
- package/dist/typechain-types/common.js +2 -0
- package/dist/typechain-types/factories/ERC20__factory.d.ts +226 -0
- package/dist/typechain-types/factories/ERC20__factory.d.ts.map +1 -0
- package/dist/typechain-types/factories/ERC20__factory.js +305 -0
- package/dist/typechain-types/factories/EarningsEscrow__factory.d.ts +370 -0
- package/dist/typechain-types/factories/EarningsEscrow__factory.d.ts.map +1 -0
- package/dist/typechain-types/factories/EarningsEscrow__factory.js +485 -0
- package/dist/typechain-types/factories/ExchangeLayerZeroAdapter__factory.d.ts +359 -0
- package/dist/typechain-types/factories/ExchangeLayerZeroAdapter__factory.d.ts.map +1 -0
- package/dist/typechain-types/factories/ExchangeLayerZeroAdapter__factory.js +471 -0
- package/dist/typechain-types/factories/ExchangeLayerZeroAdapter_v2__factory.d.ts +419 -0
- package/dist/typechain-types/factories/ExchangeLayerZeroAdapter_v2__factory.d.ts.map +1 -0
- package/dist/typechain-types/factories/ExchangeLayerZeroAdapter_v2__factory.js +545 -0
- package/dist/typechain-types/factories/ExchangeLayerZeroAdapter_v3__factory.d.ts +546 -0
- package/dist/typechain-types/factories/ExchangeLayerZeroAdapter_v3__factory.d.ts.map +1 -0
- package/dist/typechain-types/factories/ExchangeLayerZeroAdapter_v3__factory.js +710 -0
- package/dist/typechain-types/factories/Exchange_v1__factory.d.ts +2852 -0
- package/dist/typechain-types/factories/Exchange_v1__factory.d.ts.map +1 -0
- package/dist/typechain-types/factories/Exchange_v1__factory.js +3661 -0
- package/dist/typechain-types/factories/Exchange_v2__factory.d.ts +2832 -0
- package/dist/typechain-types/factories/Exchange_v2__factory.d.ts.map +1 -0
- package/dist/typechain-types/factories/Exchange_v2__factory.js +3636 -0
- package/dist/typechain-types/factories/FixedIncomeVaultProviderStateAggregator_v1__factory.d.ts +180 -0
- package/dist/typechain-types/factories/FixedIncomeVaultProviderStateAggregator_v1__factory.d.ts.map +1 -0
- package/dist/typechain-types/factories/FixedIncomeVaultProviderStateAggregator_v1__factory.js +246 -0
- package/dist/typechain-types/factories/FixedIncomeVaultProvider_v1__factory.d.ts +2092 -0
- package/dist/typechain-types/factories/FixedIncomeVaultProvider_v1__factory.d.ts.map +1 -0
- package/dist/typechain-types/factories/FixedIncomeVaultProvider_v1__factory.js +2702 -0
- package/dist/typechain-types/factories/IOFT__factory.d.ts +352 -0
- package/dist/typechain-types/factories/IOFT__factory.d.ts.map +1 -0
- package/dist/typechain-types/factories/IOFT__factory.js +464 -0
- package/dist/typechain-types/factories/IRewardVault__factory.d.ts +1019 -0
- package/dist/typechain-types/factories/IRewardVault__factory.d.ts.map +1 -0
- package/dist/typechain-types/factories/IRewardVault__factory.js +1311 -0
- package/dist/typechain-types/factories/KumaOFTAdapterUSDC__factory.d.ts +996 -0
- package/dist/typechain-types/factories/KumaOFTAdapterUSDC__factory.d.ts.map +1 -0
- package/dist/typechain-types/factories/KumaOFTAdapterUSDC__factory.js +1306 -0
- package/dist/typechain-types/factories/KumaOFTUSDC__factory.d.ts +1234 -0
- package/dist/typechain-types/factories/KumaOFTUSDC__factory.d.ts.map +1 -0
- package/dist/typechain-types/factories/KumaOFTUSDC__factory.js +1619 -0
- package/dist/typechain-types/factories/KumaStargateForwarder_v1__factory.d.ts +354 -0
- package/dist/typechain-types/factories/KumaStargateForwarder_v1__factory.d.ts.map +1 -0
- package/dist/typechain-types/factories/KumaStargateForwarder_v1__factory.js +464 -0
- package/dist/typechain-types/factories/KumaStargateForwarder_v2__factory.d.ts +370 -0
- package/dist/typechain-types/factories/KumaStargateForwarder_v2__factory.d.ts.map +1 -0
- package/dist/typechain-types/factories/KumaStargateForwarder_v2__factory.js +486 -0
- package/dist/typechain-types/factories/ProfitShareVaultProvider_v1__factory.d.ts +1914 -0
- package/dist/typechain-types/factories/ProfitShareVaultProvider_v1__factory.d.ts.map +1 -0
- package/dist/typechain-types/factories/ProfitShareVaultProvider_v1__factory.js +2475 -0
- package/dist/typechain-types/factories/StargatePoolUSDC__factory.d.ts +1557 -0
- package/dist/typechain-types/factories/StargatePoolUSDC__factory.d.ts.map +1 -0
- package/dist/typechain-types/factories/StargatePoolUSDC__factory.js +2019 -0
- package/dist/typechain-types/factories/index.d.ts +5 -0
- package/dist/typechain-types/factories/index.d.ts.map +1 -0
- package/dist/typechain-types/factories/index.js +13 -0
- package/dist/typechain-types/index.d.ts +10 -0
- package/dist/typechain-types/index.d.ts.map +1 -0
- package/dist/typechain-types/index.js +15 -0
- package/dist/types/delegatedKeys.d.ts +44 -0
- package/dist/types/delegatedKeys.d.ts.map +1 -0
- package/dist/types/delegatedKeys.js +2 -0
- package/dist/types/enums/index.d.ts +4 -0
- package/dist/types/enums/index.d.ts.map +1 -0
- package/dist/types/enums/index.js +6 -0
- package/dist/types/enums/request.d.ts +980 -0
- package/dist/types/enums/request.d.ts.map +1 -0
- package/dist/types/enums/request.js +906 -0
- package/dist/types/enums/response.d.ts +329 -0
- package/dist/types/enums/response.d.ts.map +1 -0
- package/dist/types/enums/response.js +296 -0
- package/dist/types/enums/signature.d.ts +118 -0
- package/dist/types/enums/signature.d.ts.map +1 -0
- package/dist/types/enums/signature.js +131 -0
- package/dist/types/errors.d.ts +5 -0
- package/dist/types/errors.d.ts.map +1 -0
- package/dist/types/errors.js +2 -0
- package/dist/types/index.d.ts +9 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/index.js +10 -0
- package/dist/types/orderBook.d.ts +72 -0
- package/dist/types/orderBook.d.ts.map +1 -0
- package/dist/types/orderBook.js +2 -0
- package/dist/types/rest/common/common.d.ts +118 -0
- package/dist/types/rest/common/common.d.ts.map +1 -0
- package/dist/types/rest/common/common.js +2 -0
- package/dist/types/rest/common/guards.d.ts +8 -0
- package/dist/types/rest/common/guards.d.ts.map +1 -0
- package/dist/types/rest/common/guards.js +14 -0
- package/dist/types/rest/endpoints/AssociateWallet.d.ts +40 -0
- package/dist/types/rest/endpoints/AssociateWallet.d.ts.map +1 -0
- package/dist/types/rest/endpoints/AssociateWallet.js +2 -0
- package/dist/types/rest/endpoints/CancelOrders.d.ts +134 -0
- package/dist/types/rest/endpoints/CancelOrders.d.ts.map +1 -0
- package/dist/types/rest/endpoints/CancelOrders.js +2 -0
- package/dist/types/rest/endpoints/CreateOrder.d.ts +401 -0
- package/dist/types/rest/endpoints/CreateOrder.d.ts.map +1 -0
- package/dist/types/rest/endpoints/CreateOrder.js +2 -0
- package/dist/types/rest/endpoints/GetAuthenticationToken.d.ts +39 -0
- package/dist/types/rest/endpoints/GetAuthenticationToken.d.ts.map +1 -0
- package/dist/types/rest/endpoints/GetAuthenticationToken.js +2 -0
- package/dist/types/rest/endpoints/GetCandles.d.ts +115 -0
- package/dist/types/rest/endpoints/GetCandles.d.ts.map +1 -0
- package/dist/types/rest/endpoints/GetCandles.js +2 -0
- package/dist/types/rest/endpoints/GetDeposits.d.ts +109 -0
- package/dist/types/rest/endpoints/GetDeposits.d.ts.map +1 -0
- package/dist/types/rest/endpoints/GetDeposits.js +2 -0
- package/dist/types/rest/endpoints/GetExchange.d.ts +78 -0
- package/dist/types/rest/endpoints/GetExchange.d.ts.map +1 -0
- package/dist/types/rest/endpoints/GetExchange.js +9 -0
- package/dist/types/rest/endpoints/GetFills.d.ts +178 -0
- package/dist/types/rest/endpoints/GetFills.d.ts.map +1 -0
- package/dist/types/rest/endpoints/GetFills.js +2 -0
- package/dist/types/rest/endpoints/GetFundingPayments.d.ts +52 -0
- package/dist/types/rest/endpoints/GetFundingPayments.d.ts.map +1 -0
- package/dist/types/rest/endpoints/GetFundingPayments.js +2 -0
- package/dist/types/rest/endpoints/GetFundingRates.d.ts +34 -0
- package/dist/types/rest/endpoints/GetFundingRates.d.ts.map +1 -0
- package/dist/types/rest/endpoints/GetFundingRates.js +2 -0
- package/dist/types/rest/endpoints/GetGasFees.d.ts +23 -0
- package/dist/types/rest/endpoints/GetGasFees.d.ts.map +1 -0
- package/dist/types/rest/endpoints/GetGasFees.js +2 -0
- package/dist/types/rest/endpoints/GetHistoricalPnL.d.ts +39 -0
- package/dist/types/rest/endpoints/GetHistoricalPnL.d.ts.map +1 -0
- package/dist/types/rest/endpoints/GetHistoricalPnL.js +2 -0
- package/dist/types/rest/endpoints/GetInitialMarginFractionOverride.d.ts +31 -0
- package/dist/types/rest/endpoints/GetInitialMarginFractionOverride.d.ts.map +1 -0
- package/dist/types/rest/endpoints/GetInitialMarginFractionOverride.js +2 -0
- package/dist/types/rest/endpoints/GetLiquidations.d.ts +52 -0
- package/dist/types/rest/endpoints/GetLiquidations.d.ts.map +1 -0
- package/dist/types/rest/endpoints/GetLiquidations.js +2 -0
- package/dist/types/rest/endpoints/GetMarketMakerRewardsEpochs.d.ts +534 -0
- package/dist/types/rest/endpoints/GetMarketMakerRewardsEpochs.d.ts.map +1 -0
- package/dist/types/rest/endpoints/GetMarketMakerRewardsEpochs.js +2 -0
- package/dist/types/rest/endpoints/GetMarkets.d.ts +161 -0
- package/dist/types/rest/endpoints/GetMarkets.d.ts.map +1 -0
- package/dist/types/rest/endpoints/GetMarkets.js +2 -0
- package/dist/types/rest/endpoints/GetOrderBook.d.ts +176 -0
- package/dist/types/rest/endpoints/GetOrderBook.d.ts.map +1 -0
- package/dist/types/rest/endpoints/GetOrderBook.js +2 -0
- package/dist/types/rest/endpoints/GetOrders.d.ts +188 -0
- package/dist/types/rest/endpoints/GetOrders.d.ts.map +1 -0
- package/dist/types/rest/endpoints/GetOrders.js +2 -0
- package/dist/types/rest/endpoints/GetPing.d.ts +8 -0
- package/dist/types/rest/endpoints/GetPing.d.ts.map +1 -0
- package/dist/types/rest/endpoints/GetPing.js +2 -0
- package/dist/types/rest/endpoints/GetPositions.d.ts +104 -0
- package/dist/types/rest/endpoints/GetPositions.d.ts.map +1 -0
- package/dist/types/rest/endpoints/GetPositions.js +2 -0
- package/dist/types/rest/endpoints/GetTickers.d.ts +129 -0
- package/dist/types/rest/endpoints/GetTickers.d.ts.map +1 -0
- package/dist/types/rest/endpoints/GetTickers.js +2 -0
- package/dist/types/rest/endpoints/GetTime.d.ts +14 -0
- package/dist/types/rest/endpoints/GetTime.d.ts.map +1 -0
- package/dist/types/rest/endpoints/GetTime.js +2 -0
- package/dist/types/rest/endpoints/GetTrades.d.ts +62 -0
- package/dist/types/rest/endpoints/GetTrades.d.ts.map +1 -0
- package/dist/types/rest/endpoints/GetTrades.js +2 -0
- package/dist/types/rest/endpoints/GetWallets.d.ts +121 -0
- package/dist/types/rest/endpoints/GetWallets.d.ts.map +1 -0
- package/dist/types/rest/endpoints/GetWallets.js +2 -0
- package/dist/types/rest/endpoints/GetWithdrawals.d.ts +98 -0
- package/dist/types/rest/endpoints/GetWithdrawals.d.ts.map +1 -0
- package/dist/types/rest/endpoints/GetWithdrawals.js +2 -0
- package/dist/types/rest/endpoints/GetWithdrawalsFromManagedAccount.d.ts +98 -0
- package/dist/types/rest/endpoints/GetWithdrawalsFromManagedAccount.d.ts.map +1 -0
- package/dist/types/rest/endpoints/GetWithdrawalsFromManagedAccount.js +2 -0
- package/dist/types/rest/endpoints/Payouts.d.ts +199 -0
- package/dist/types/rest/endpoints/Payouts.d.ts.map +1 -0
- package/dist/types/rest/endpoints/Payouts.js +2 -0
- package/dist/types/rest/endpoints/SetInitialMarginFractionOverride.d.ts +83 -0
- package/dist/types/rest/endpoints/SetInitialMarginFractionOverride.d.ts.map +1 -0
- package/dist/types/rest/endpoints/SetInitialMarginFractionOverride.js +2 -0
- package/dist/types/rest/endpoints/WithdrawFunds.d.ts +144 -0
- package/dist/types/rest/endpoints/WithdrawFunds.d.ts.map +1 -0
- package/dist/types/rest/endpoints/WithdrawFunds.js +2 -0
- package/dist/types/rest/endpoints/WithdrawFundsFromManagedAccountByQuantity.d.ts +161 -0
- package/dist/types/rest/endpoints/WithdrawFundsFromManagedAccountByQuantity.d.ts.map +1 -0
- package/dist/types/rest/endpoints/WithdrawFundsFromManagedAccountByQuantity.js +2 -0
- package/dist/types/rest/endpoints/WithdrawFundsFromManagedAccountByShares.d.ts +160 -0
- package/dist/types/rest/endpoints/WithdrawFundsFromManagedAccountByShares.d.ts.map +1 -0
- package/dist/types/rest/endpoints/WithdrawFundsFromManagedAccountByShares.js +2 -0
- package/dist/types/rest/endpoints/index.d.ts +33 -0
- package/dist/types/rest/endpoints/index.d.ts.map +1 -0
- package/dist/types/rest/endpoints/index.js +35 -0
- package/dist/types/rest/endpoints/internal.d.ts +329 -0
- package/dist/types/rest/endpoints/internal.d.ts.map +1 -0
- package/dist/types/rest/endpoints/internal.js +14 -0
- package/dist/types/rest/index.d.ts +4 -0
- package/dist/types/rest/index.d.ts.map +1 -0
- package/dist/types/rest/index.js +6 -0
- package/dist/types/swaps.d.ts +11 -0
- package/dist/types/swaps.d.ts.map +1 -0
- package/dist/types/swaps.js +2 -0
- package/dist/types/utils.d.ts +67 -0
- package/dist/types/utils.d.ts.map +1 -0
- package/dist/types/utils.js +3 -0
- package/dist/types/webSocket/base.d.ts +83 -0
- package/dist/types/webSocket/base.d.ts.map +1 -0
- package/dist/types/webSocket/base.js +2 -0
- package/dist/types/webSocket/constants.d.ts +41 -0
- package/dist/types/webSocket/constants.d.ts.map +1 -0
- package/dist/types/webSocket/constants.js +54 -0
- package/dist/types/webSocket/index.d.ts +6 -0
- package/dist/types/webSocket/index.d.ts.map +1 -0
- package/dist/types/webSocket/index.js +8 -0
- package/dist/types/webSocket/options.d.ts +276 -0
- package/dist/types/webSocket/options.d.ts.map +1 -0
- package/dist/types/webSocket/options.js +2 -0
- package/dist/types/webSocket/request/index.d.ts +3 -0
- package/dist/types/webSocket/request/index.d.ts.map +1 -0
- package/dist/types/webSocket/request/index.js +5 -0
- package/dist/types/webSocket/request/request.d.ts +137 -0
- package/dist/types/webSocket/request/request.d.ts.map +1 -0
- package/dist/types/webSocket/request/request.js +2 -0
- package/dist/types/webSocket/request/subscriptions.d.ts +498 -0
- package/dist/types/webSocket/request/subscriptions.d.ts.map +1 -0
- package/dist/types/webSocket/request/subscriptions.js +2 -0
- package/dist/types/webSocket/response/candles.d.ts +138 -0
- package/dist/types/webSocket/response/candles.d.ts.map +1 -0
- package/dist/types/webSocket/response/candles.js +2 -0
- package/dist/types/webSocket/response/deposits.d.ts +80 -0
- package/dist/types/webSocket/response/deposits.d.ts.map +1 -0
- package/dist/types/webSocket/response/deposits.js +2 -0
- package/dist/types/webSocket/response/fundingPayments.d.ts +78 -0
- package/dist/types/webSocket/response/fundingPayments.d.ts.map +1 -0
- package/dist/types/webSocket/response/fundingPayments.js +2 -0
- package/dist/types/webSocket/response/index.d.ts +13 -0
- package/dist/types/webSocket/response/index.d.ts.map +1 -0
- package/dist/types/webSocket/response/index.js +15 -0
- package/dist/types/webSocket/response/liquidations.d.ts +78 -0
- package/dist/types/webSocket/response/liquidations.d.ts.map +1 -0
- package/dist/types/webSocket/response/liquidations.js +2 -0
- package/dist/types/webSocket/response/orderbook.d.ts +214 -0
- package/dist/types/webSocket/response/orderbook.d.ts.map +1 -0
- package/dist/types/webSocket/response/orderbook.js +2 -0
- package/dist/types/webSocket/response/orders.d.ts +355 -0
- package/dist/types/webSocket/response/orders.d.ts.map +1 -0
- package/dist/types/webSocket/response/orders.js +2 -0
- package/dist/types/webSocket/response/ordersFill.d.ts +138 -0
- package/dist/types/webSocket/response/ordersFill.d.ts.map +1 -0
- package/dist/types/webSocket/response/ordersFill.js +2 -0
- package/dist/types/webSocket/response/positions.d.ts +120 -0
- package/dist/types/webSocket/response/positions.d.ts.map +1 -0
- package/dist/types/webSocket/response/positions.js +2 -0
- package/dist/types/webSocket/response/tickers.d.ts +131 -0
- package/dist/types/webSocket/response/tickers.d.ts.map +1 -0
- package/dist/types/webSocket/response/tickers.js +2 -0
- package/dist/types/webSocket/response/trades.d.ts +90 -0
- package/dist/types/webSocket/response/trades.d.ts.map +1 -0
- package/dist/types/webSocket/response/trades.js +2 -0
- package/dist/types/webSocket/response/webclient/base.d.ts +24 -0
- package/dist/types/webSocket/response/webclient/base.d.ts.map +1 -0
- package/dist/types/webSocket/response/webclient/base.js +2 -0
- package/dist/types/webSocket/response/webclient/events/exchangeStatus.d.ts +31 -0
- package/dist/types/webSocket/response/webclient/events/exchangeStatus.d.ts.map +1 -0
- package/dist/types/webSocket/response/webclient/events/exchangeStatus.js +2 -0
- package/dist/types/webSocket/response/webclient/events/index.d.ts +4 -0
- package/dist/types/webSocket/response/webclient/events/index.d.ts.map +1 -0
- package/dist/types/webSocket/response/webclient/events/index.js +6 -0
- package/dist/types/webSocket/response/webclient/events/reloadBanners.d.ts +17 -0
- package/dist/types/webSocket/response/webclient/events/reloadBanners.d.ts.map +1 -0
- package/dist/types/webSocket/response/webclient/events/reloadBanners.js +2 -0
- package/dist/types/webSocket/response/webclient/events/transactionSettled.d.ts +76 -0
- package/dist/types/webSocket/response/webclient/events/transactionSettled.d.ts.map +1 -0
- package/dist/types/webSocket/response/webclient/events/transactionSettled.js +2 -0
- package/dist/types/webSocket/response/webclient/index.d.ts +3 -0
- package/dist/types/webSocket/response/webclient/index.d.ts.map +1 -0
- package/dist/types/webSocket/response/webclient/index.js +5 -0
- package/dist/types/webSocket/response/webclient/webclient.d.ts +13 -0
- package/dist/types/webSocket/response/webclient/webclient.d.ts.map +1 -0
- package/dist/types/webSocket/response/webclient/webclient.js +2 -0
- package/dist/types/webSocket/response/withdrawals.d.ts +83 -0
- package/dist/types/webSocket/response/withdrawals.d.ts.map +1 -0
- package/dist/types/webSocket/response/withdrawals.js +2 -0
- package/dist/utils.d.ts +63 -0
- package/dist/utils.d.ts.map +1 -0
- package/dist/utils.js +136 -0
- package/package.json +200 -0
|
@@ -0,0 +1,2148 @@
|
|
|
1
|
+
import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, EventFragment, AddressLike, ContractRunner, ContractMethod, Listener } from 'ethers';
|
|
2
|
+
import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener, TypedContractMethod } from './common';
|
|
3
|
+
export type OverridableMarketFieldsStruct = {
|
|
4
|
+
initialMarginFraction: BigNumberish;
|
|
5
|
+
maintenanceMarginFraction: BigNumberish;
|
|
6
|
+
incrementalInitialMarginFraction: BigNumberish;
|
|
7
|
+
baselinePositionSize: BigNumberish;
|
|
8
|
+
incrementalPositionSize: BigNumberish;
|
|
9
|
+
maximumPositionSize: BigNumberish;
|
|
10
|
+
minimumPositionSize: BigNumberish;
|
|
11
|
+
};
|
|
12
|
+
export type OverridableMarketFieldsStructOutput = [
|
|
13
|
+
initialMarginFraction: bigint,
|
|
14
|
+
maintenanceMarginFraction: bigint,
|
|
15
|
+
incrementalInitialMarginFraction: bigint,
|
|
16
|
+
baselinePositionSize: bigint,
|
|
17
|
+
incrementalPositionSize: bigint,
|
|
18
|
+
maximumPositionSize: bigint,
|
|
19
|
+
minimumPositionSize: bigint
|
|
20
|
+
] & {
|
|
21
|
+
initialMarginFraction: bigint;
|
|
22
|
+
maintenanceMarginFraction: bigint;
|
|
23
|
+
incrementalInitialMarginFraction: bigint;
|
|
24
|
+
baselinePositionSize: bigint;
|
|
25
|
+
incrementalPositionSize: bigint;
|
|
26
|
+
maximumPositionSize: bigint;
|
|
27
|
+
minimumPositionSize: bigint;
|
|
28
|
+
};
|
|
29
|
+
export type MarketStruct = {
|
|
30
|
+
exists: boolean;
|
|
31
|
+
isActive: boolean;
|
|
32
|
+
baseAssetSymbol: string;
|
|
33
|
+
indexPriceAtDeactivation: BigNumberish;
|
|
34
|
+
lastIndexPrice: BigNumberish;
|
|
35
|
+
lastIndexPriceTimestampInMs: BigNumberish;
|
|
36
|
+
overridableFields: OverridableMarketFieldsStruct;
|
|
37
|
+
};
|
|
38
|
+
export type MarketStructOutput = [
|
|
39
|
+
exists: boolean,
|
|
40
|
+
isActive: boolean,
|
|
41
|
+
baseAssetSymbol: string,
|
|
42
|
+
indexPriceAtDeactivation: bigint,
|
|
43
|
+
lastIndexPrice: bigint,
|
|
44
|
+
lastIndexPriceTimestampInMs: bigint,
|
|
45
|
+
overridableFields: OverridableMarketFieldsStructOutput
|
|
46
|
+
] & {
|
|
47
|
+
exists: boolean;
|
|
48
|
+
isActive: boolean;
|
|
49
|
+
baseAssetSymbol: string;
|
|
50
|
+
indexPriceAtDeactivation: bigint;
|
|
51
|
+
lastIndexPrice: bigint;
|
|
52
|
+
lastIndexPriceTimestampInMs: bigint;
|
|
53
|
+
overridableFields: OverridableMarketFieldsStructOutput;
|
|
54
|
+
};
|
|
55
|
+
export type WithdrawalFromManagedAccountByQuantityStruct = {
|
|
56
|
+
nonce: BigNumberish;
|
|
57
|
+
managerWallet: AddressLike;
|
|
58
|
+
depositorWallet: AddressLike;
|
|
59
|
+
grossQuantity: BigNumberish;
|
|
60
|
+
maxShares: BigNumberish;
|
|
61
|
+
maximumGasFee: BigNumberish;
|
|
62
|
+
managedAccountProvider: AddressLike;
|
|
63
|
+
managedAccountProviderPayload: BytesLike;
|
|
64
|
+
bridgeAdapter: AddressLike;
|
|
65
|
+
bridgeAdapterPayload: BytesLike;
|
|
66
|
+
gasFee: BigNumberish;
|
|
67
|
+
walletSignature: BytesLike;
|
|
68
|
+
};
|
|
69
|
+
export type WithdrawalFromManagedAccountByQuantityStructOutput = [
|
|
70
|
+
nonce: bigint,
|
|
71
|
+
managerWallet: string,
|
|
72
|
+
depositorWallet: string,
|
|
73
|
+
grossQuantity: bigint,
|
|
74
|
+
maxShares: bigint,
|
|
75
|
+
maximumGasFee: bigint,
|
|
76
|
+
managedAccountProvider: string,
|
|
77
|
+
managedAccountProviderPayload: string,
|
|
78
|
+
bridgeAdapter: string,
|
|
79
|
+
bridgeAdapterPayload: string,
|
|
80
|
+
gasFee: bigint,
|
|
81
|
+
walletSignature: string
|
|
82
|
+
] & {
|
|
83
|
+
nonce: bigint;
|
|
84
|
+
managerWallet: string;
|
|
85
|
+
depositorWallet: string;
|
|
86
|
+
grossQuantity: bigint;
|
|
87
|
+
maxShares: bigint;
|
|
88
|
+
maximumGasFee: bigint;
|
|
89
|
+
managedAccountProvider: string;
|
|
90
|
+
managedAccountProviderPayload: string;
|
|
91
|
+
bridgeAdapter: string;
|
|
92
|
+
bridgeAdapterPayload: string;
|
|
93
|
+
gasFee: bigint;
|
|
94
|
+
walletSignature: string;
|
|
95
|
+
};
|
|
96
|
+
export type WithdrawalFromManagedAccountBySharesStruct = {
|
|
97
|
+
nonce: BigNumberish;
|
|
98
|
+
managerWallet: AddressLike;
|
|
99
|
+
depositorWallet: AddressLike;
|
|
100
|
+
shares: BigNumberish;
|
|
101
|
+
minimumQuantity: BigNumberish;
|
|
102
|
+
maximumGasFee: BigNumberish;
|
|
103
|
+
managedAccountProvider: AddressLike;
|
|
104
|
+
managedAccountProviderPayload: BytesLike;
|
|
105
|
+
bridgeAdapter: AddressLike;
|
|
106
|
+
bridgeAdapterPayload: BytesLike;
|
|
107
|
+
gasFee: BigNumberish;
|
|
108
|
+
grossQuantity: BigNumberish;
|
|
109
|
+
walletSignature: BytesLike;
|
|
110
|
+
};
|
|
111
|
+
export type WithdrawalFromManagedAccountBySharesStructOutput = [
|
|
112
|
+
nonce: bigint,
|
|
113
|
+
managerWallet: string,
|
|
114
|
+
depositorWallet: string,
|
|
115
|
+
shares: bigint,
|
|
116
|
+
minimumQuantity: bigint,
|
|
117
|
+
maximumGasFee: bigint,
|
|
118
|
+
managedAccountProvider: string,
|
|
119
|
+
managedAccountProviderPayload: string,
|
|
120
|
+
bridgeAdapter: string,
|
|
121
|
+
bridgeAdapterPayload: string,
|
|
122
|
+
gasFee: bigint,
|
|
123
|
+
grossQuantity: bigint,
|
|
124
|
+
walletSignature: string
|
|
125
|
+
] & {
|
|
126
|
+
nonce: bigint;
|
|
127
|
+
managerWallet: string;
|
|
128
|
+
depositorWallet: string;
|
|
129
|
+
shares: bigint;
|
|
130
|
+
minimumQuantity: bigint;
|
|
131
|
+
maximumGasFee: bigint;
|
|
132
|
+
managedAccountProvider: string;
|
|
133
|
+
managedAccountProviderPayload: string;
|
|
134
|
+
bridgeAdapter: string;
|
|
135
|
+
bridgeAdapterPayload: string;
|
|
136
|
+
gasFee: bigint;
|
|
137
|
+
grossQuantity: bigint;
|
|
138
|
+
walletSignature: string;
|
|
139
|
+
};
|
|
140
|
+
export type WithdrawalFromManagedAccountStruct = {
|
|
141
|
+
withdrawalType: BigNumberish;
|
|
142
|
+
withdrawalByQuantity: WithdrawalFromManagedAccountByQuantityStruct;
|
|
143
|
+
withdrawalByShares: WithdrawalFromManagedAccountBySharesStruct;
|
|
144
|
+
};
|
|
145
|
+
export type WithdrawalFromManagedAccountStructOutput = [
|
|
146
|
+
withdrawalType: bigint,
|
|
147
|
+
withdrawalByQuantity: WithdrawalFromManagedAccountByQuantityStructOutput,
|
|
148
|
+
withdrawalByShares: WithdrawalFromManagedAccountBySharesStructOutput
|
|
149
|
+
] & {
|
|
150
|
+
withdrawalType: bigint;
|
|
151
|
+
withdrawalByQuantity: WithdrawalFromManagedAccountByQuantityStructOutput;
|
|
152
|
+
withdrawalByShares: WithdrawalFromManagedAccountBySharesStructOutput;
|
|
153
|
+
};
|
|
154
|
+
export type AcquisitionDeleverageArgumentsStruct = {
|
|
155
|
+
baseAssetSymbol: string;
|
|
156
|
+
counterpartyWallet: AddressLike;
|
|
157
|
+
liquidatingWallet: AddressLike;
|
|
158
|
+
liquidationBaseQuantity: BigNumberish;
|
|
159
|
+
liquidationQuoteQuantity: BigNumberish;
|
|
160
|
+
};
|
|
161
|
+
export type AcquisitionDeleverageArgumentsStructOutput = [
|
|
162
|
+
baseAssetSymbol: string,
|
|
163
|
+
counterpartyWallet: string,
|
|
164
|
+
liquidatingWallet: string,
|
|
165
|
+
liquidationBaseQuantity: bigint,
|
|
166
|
+
liquidationQuoteQuantity: bigint
|
|
167
|
+
] & {
|
|
168
|
+
baseAssetSymbol: string;
|
|
169
|
+
counterpartyWallet: string;
|
|
170
|
+
liquidatingWallet: string;
|
|
171
|
+
liquidationBaseQuantity: bigint;
|
|
172
|
+
liquidationQuoteQuantity: bigint;
|
|
173
|
+
};
|
|
174
|
+
export type ClosureDeleverageArgumentsStruct = {
|
|
175
|
+
baseAssetSymbol: string;
|
|
176
|
+
counterpartyWallet: AddressLike;
|
|
177
|
+
liquidatingWallet: AddressLike;
|
|
178
|
+
liquidationBaseQuantity: BigNumberish;
|
|
179
|
+
liquidationQuoteQuantity: BigNumberish;
|
|
180
|
+
};
|
|
181
|
+
export type ClosureDeleverageArgumentsStructOutput = [
|
|
182
|
+
baseAssetSymbol: string,
|
|
183
|
+
counterpartyWallet: string,
|
|
184
|
+
liquidatingWallet: string,
|
|
185
|
+
liquidationBaseQuantity: bigint,
|
|
186
|
+
liquidationQuoteQuantity: bigint
|
|
187
|
+
] & {
|
|
188
|
+
baseAssetSymbol: string;
|
|
189
|
+
counterpartyWallet: string;
|
|
190
|
+
liquidatingWallet: string;
|
|
191
|
+
liquidationBaseQuantity: bigint;
|
|
192
|
+
liquidationQuoteQuantity: bigint;
|
|
193
|
+
};
|
|
194
|
+
export type TradeStruct = {
|
|
195
|
+
baseAssetSymbol: string;
|
|
196
|
+
baseQuantity: BigNumberish;
|
|
197
|
+
quoteQuantity: BigNumberish;
|
|
198
|
+
makerFeeQuantity: BigNumberish;
|
|
199
|
+
takerFeeQuantity: BigNumberish;
|
|
200
|
+
price: BigNumberish;
|
|
201
|
+
makerSide: BigNumberish;
|
|
202
|
+
};
|
|
203
|
+
export type TradeStructOutput = [
|
|
204
|
+
baseAssetSymbol: string,
|
|
205
|
+
baseQuantity: bigint,
|
|
206
|
+
quoteQuantity: bigint,
|
|
207
|
+
makerFeeQuantity: bigint,
|
|
208
|
+
takerFeeQuantity: bigint,
|
|
209
|
+
price: bigint,
|
|
210
|
+
makerSide: bigint
|
|
211
|
+
] & {
|
|
212
|
+
baseAssetSymbol: string;
|
|
213
|
+
baseQuantity: bigint;
|
|
214
|
+
quoteQuantity: bigint;
|
|
215
|
+
makerFeeQuantity: bigint;
|
|
216
|
+
takerFeeQuantity: bigint;
|
|
217
|
+
price: bigint;
|
|
218
|
+
makerSide: bigint;
|
|
219
|
+
};
|
|
220
|
+
export type DelegatedKeyAuthorizationStruct = {
|
|
221
|
+
nonce: BigNumberish;
|
|
222
|
+
delegatedPublicKey: AddressLike;
|
|
223
|
+
signature: BytesLike;
|
|
224
|
+
};
|
|
225
|
+
export type DelegatedKeyAuthorizationStructOutput = [
|
|
226
|
+
nonce: bigint,
|
|
227
|
+
delegatedPublicKey: string,
|
|
228
|
+
signature: string
|
|
229
|
+
] & {
|
|
230
|
+
nonce: bigint;
|
|
231
|
+
delegatedPublicKey: string;
|
|
232
|
+
signature: string;
|
|
233
|
+
};
|
|
234
|
+
export type OrderStruct = {
|
|
235
|
+
nonce: BigNumberish;
|
|
236
|
+
wallet: AddressLike;
|
|
237
|
+
orderType: BigNumberish;
|
|
238
|
+
side: BigNumberish;
|
|
239
|
+
quantity: BigNumberish;
|
|
240
|
+
limitPrice: BigNumberish;
|
|
241
|
+
triggerPrice: BigNumberish;
|
|
242
|
+
triggerType: BigNumberish;
|
|
243
|
+
callbackRate: BigNumberish;
|
|
244
|
+
conditionalOrderId: BigNumberish;
|
|
245
|
+
isReduceOnly: boolean;
|
|
246
|
+
timeInForce: BigNumberish;
|
|
247
|
+
selfTradePrevention: BigNumberish;
|
|
248
|
+
isLiquidationAcquisitionOnly: boolean;
|
|
249
|
+
isSignedByDelegatedKey: boolean;
|
|
250
|
+
delegatedKeyAuthorization: DelegatedKeyAuthorizationStruct;
|
|
251
|
+
clientOrderId: string;
|
|
252
|
+
walletSignature: BytesLike;
|
|
253
|
+
};
|
|
254
|
+
export type OrderStructOutput = [
|
|
255
|
+
nonce: bigint,
|
|
256
|
+
wallet: string,
|
|
257
|
+
orderType: bigint,
|
|
258
|
+
side: bigint,
|
|
259
|
+
quantity: bigint,
|
|
260
|
+
limitPrice: bigint,
|
|
261
|
+
triggerPrice: bigint,
|
|
262
|
+
triggerType: bigint,
|
|
263
|
+
callbackRate: bigint,
|
|
264
|
+
conditionalOrderId: bigint,
|
|
265
|
+
isReduceOnly: boolean,
|
|
266
|
+
timeInForce: bigint,
|
|
267
|
+
selfTradePrevention: bigint,
|
|
268
|
+
isLiquidationAcquisitionOnly: boolean,
|
|
269
|
+
isSignedByDelegatedKey: boolean,
|
|
270
|
+
delegatedKeyAuthorization: DelegatedKeyAuthorizationStructOutput,
|
|
271
|
+
clientOrderId: string,
|
|
272
|
+
walletSignature: string
|
|
273
|
+
] & {
|
|
274
|
+
nonce: bigint;
|
|
275
|
+
wallet: string;
|
|
276
|
+
orderType: bigint;
|
|
277
|
+
side: bigint;
|
|
278
|
+
quantity: bigint;
|
|
279
|
+
limitPrice: bigint;
|
|
280
|
+
triggerPrice: bigint;
|
|
281
|
+
triggerType: bigint;
|
|
282
|
+
callbackRate: bigint;
|
|
283
|
+
conditionalOrderId: bigint;
|
|
284
|
+
isReduceOnly: boolean;
|
|
285
|
+
timeInForce: bigint;
|
|
286
|
+
selfTradePrevention: bigint;
|
|
287
|
+
isLiquidationAcquisitionOnly: boolean;
|
|
288
|
+
isSignedByDelegatedKey: boolean;
|
|
289
|
+
delegatedKeyAuthorization: DelegatedKeyAuthorizationStructOutput;
|
|
290
|
+
clientOrderId: string;
|
|
291
|
+
walletSignature: string;
|
|
292
|
+
};
|
|
293
|
+
export type PositionBelowMinimumLiquidationArgumentsStruct = {
|
|
294
|
+
baseAssetSymbol: string;
|
|
295
|
+
liquidatingWallet: AddressLike;
|
|
296
|
+
liquidationQuoteQuantity: BigNumberish;
|
|
297
|
+
};
|
|
298
|
+
export type PositionBelowMinimumLiquidationArgumentsStructOutput = [
|
|
299
|
+
baseAssetSymbol: string,
|
|
300
|
+
liquidatingWallet: string,
|
|
301
|
+
liquidationQuoteQuantity: bigint
|
|
302
|
+
] & {
|
|
303
|
+
baseAssetSymbol: string;
|
|
304
|
+
liquidatingWallet: string;
|
|
305
|
+
liquidationQuoteQuantity: bigint;
|
|
306
|
+
};
|
|
307
|
+
export type PositionInDeactivatedMarketLiquidationArgumentsStruct = {
|
|
308
|
+
baseAssetSymbol: string;
|
|
309
|
+
feeQuantity: BigNumberish;
|
|
310
|
+
liquidatingWallet: AddressLike;
|
|
311
|
+
liquidationQuoteQuantity: BigNumberish;
|
|
312
|
+
};
|
|
313
|
+
export type PositionInDeactivatedMarketLiquidationArgumentsStructOutput = [
|
|
314
|
+
baseAssetSymbol: string,
|
|
315
|
+
feeQuantity: bigint,
|
|
316
|
+
liquidatingWallet: string,
|
|
317
|
+
liquidationQuoteQuantity: bigint
|
|
318
|
+
] & {
|
|
319
|
+
baseAssetSymbol: string;
|
|
320
|
+
feeQuantity: bigint;
|
|
321
|
+
liquidatingWallet: string;
|
|
322
|
+
liquidationQuoteQuantity: bigint;
|
|
323
|
+
};
|
|
324
|
+
export type WalletLiquidationArgumentsStruct = {
|
|
325
|
+
counterpartyWallet: AddressLike;
|
|
326
|
+
liquidatingWallet: AddressLike;
|
|
327
|
+
liquidationQuoteQuantities: BigNumberish[];
|
|
328
|
+
};
|
|
329
|
+
export type WalletLiquidationArgumentsStructOutput = [
|
|
330
|
+
counterpartyWallet: string,
|
|
331
|
+
liquidatingWallet: string,
|
|
332
|
+
liquidationQuoteQuantities: bigint[]
|
|
333
|
+
] & {
|
|
334
|
+
counterpartyWallet: string;
|
|
335
|
+
liquidatingWallet: string;
|
|
336
|
+
liquidationQuoteQuantities: bigint[];
|
|
337
|
+
};
|
|
338
|
+
export type BalanceStruct = {
|
|
339
|
+
isMigrated: boolean;
|
|
340
|
+
managedAccountProvider: AddressLike;
|
|
341
|
+
balance: BigNumberish;
|
|
342
|
+
costBasis: BigNumberish;
|
|
343
|
+
lastUpdateTimestampInMs: BigNumberish;
|
|
344
|
+
};
|
|
345
|
+
export type BalanceStructOutput = [
|
|
346
|
+
isMigrated: boolean,
|
|
347
|
+
managedAccountProvider: string,
|
|
348
|
+
balance: bigint,
|
|
349
|
+
costBasis: bigint,
|
|
350
|
+
lastUpdateTimestampInMs: bigint
|
|
351
|
+
] & {
|
|
352
|
+
isMigrated: boolean;
|
|
353
|
+
managedAccountProvider: string;
|
|
354
|
+
balance: bigint;
|
|
355
|
+
costBasis: bigint;
|
|
356
|
+
lastUpdateTimestampInMs: bigint;
|
|
357
|
+
};
|
|
358
|
+
export type NonceInvalidationStruct = {
|
|
359
|
+
timestampInMs: BigNumberish;
|
|
360
|
+
effectiveBlockTimestamp: BigNumberish;
|
|
361
|
+
};
|
|
362
|
+
export type NonceInvalidationStructOutput = [
|
|
363
|
+
timestampInMs: bigint,
|
|
364
|
+
effectiveBlockTimestamp: bigint
|
|
365
|
+
] & {
|
|
366
|
+
timestampInMs: bigint;
|
|
367
|
+
effectiveBlockTimestamp: bigint;
|
|
368
|
+
};
|
|
369
|
+
export type WalletExitStruct = {
|
|
370
|
+
exists: boolean;
|
|
371
|
+
effectiveBlockTimestamp: BigNumberish;
|
|
372
|
+
deleveragePriceStrategy: BigNumberish;
|
|
373
|
+
};
|
|
374
|
+
export type WalletExitStructOutput = [
|
|
375
|
+
exists: boolean,
|
|
376
|
+
effectiveBlockTimestamp: bigint,
|
|
377
|
+
deleveragePriceStrategy: bigint
|
|
378
|
+
] & {
|
|
379
|
+
exists: boolean;
|
|
380
|
+
effectiveBlockTimestamp: bigint;
|
|
381
|
+
deleveragePriceStrategy: bigint;
|
|
382
|
+
};
|
|
383
|
+
export type IndexPricePayloadStruct = {
|
|
384
|
+
indexPriceAdapter: AddressLike;
|
|
385
|
+
payload: BytesLike;
|
|
386
|
+
};
|
|
387
|
+
export type IndexPricePayloadStructOutput = [
|
|
388
|
+
indexPriceAdapter: string,
|
|
389
|
+
payload: string
|
|
390
|
+
] & {
|
|
391
|
+
indexPriceAdapter: string;
|
|
392
|
+
payload: string;
|
|
393
|
+
};
|
|
394
|
+
export type TransferStruct = {
|
|
395
|
+
nonce: BigNumberish;
|
|
396
|
+
sourceWallet: AddressLike;
|
|
397
|
+
destinationWallet: AddressLike;
|
|
398
|
+
grossQuantity: BigNumberish;
|
|
399
|
+
gasFee: BigNumberish;
|
|
400
|
+
walletSignature: BytesLike;
|
|
401
|
+
};
|
|
402
|
+
export type TransferStructOutput = [
|
|
403
|
+
nonce: bigint,
|
|
404
|
+
sourceWallet: string,
|
|
405
|
+
destinationWallet: string,
|
|
406
|
+
grossQuantity: bigint,
|
|
407
|
+
gasFee: bigint,
|
|
408
|
+
walletSignature: string
|
|
409
|
+
] & {
|
|
410
|
+
nonce: bigint;
|
|
411
|
+
sourceWallet: string;
|
|
412
|
+
destinationWallet: string;
|
|
413
|
+
grossQuantity: bigint;
|
|
414
|
+
gasFee: bigint;
|
|
415
|
+
walletSignature: string;
|
|
416
|
+
};
|
|
417
|
+
export type WithdrawalStruct = {
|
|
418
|
+
nonce: BigNumberish;
|
|
419
|
+
wallet: AddressLike;
|
|
420
|
+
grossQuantity: BigNumberish;
|
|
421
|
+
maximumGasFee: BigNumberish;
|
|
422
|
+
bridgeAdapter: AddressLike;
|
|
423
|
+
bridgeAdapterPayload: BytesLike;
|
|
424
|
+
gasFee: BigNumberish;
|
|
425
|
+
walletSignature: BytesLike;
|
|
426
|
+
};
|
|
427
|
+
export type WithdrawalStructOutput = [
|
|
428
|
+
nonce: bigint,
|
|
429
|
+
wallet: string,
|
|
430
|
+
grossQuantity: bigint,
|
|
431
|
+
maximumGasFee: bigint,
|
|
432
|
+
bridgeAdapter: string,
|
|
433
|
+
bridgeAdapterPayload: string,
|
|
434
|
+
gasFee: bigint,
|
|
435
|
+
walletSignature: string
|
|
436
|
+
] & {
|
|
437
|
+
nonce: bigint;
|
|
438
|
+
wallet: string;
|
|
439
|
+
grossQuantity: bigint;
|
|
440
|
+
maximumGasFee: bigint;
|
|
441
|
+
bridgeAdapter: string;
|
|
442
|
+
bridgeAdapterPayload: string;
|
|
443
|
+
gasFee: bigint;
|
|
444
|
+
walletSignature: string;
|
|
445
|
+
};
|
|
446
|
+
export interface Exchange_v2Interface extends Interface {
|
|
447
|
+
getFunction(nameOrSignature: 'activateMarket' | 'addMarket' | 'adminWallet' | 'applyOutstandingWalletFundingForMarket' | 'applyPendingDepositForManagedAccount' | 'applyPendingDepositsForWallet' | 'associateManagerWalletWithManagedAccount' | 'cancelWithdrawalFromManagedAccount' | 'chainPropagationPeriodInS' | 'clearWalletExit' | 'custodian' | 'deactivateMarket' | 'delegateKeyExpirationPeriodInMs' | 'deleverageExitAcquisition' | 'deleverageExitFundClosure' | 'deleverageInMaintenanceAcquisition' | 'deleverageInsuranceFundClosure' | 'deposit' | 'depositIndex' | 'depositToManagedAccount' | 'dispatcherWallet' | 'domainSeparatorV4' | 'eip712Domain' | 'executeTrade' | 'exitFundPositionOpenedAtBlockTimestamp' | 'exitFundWallet' | 'exitWallet' | 'feeWallet' | 'fundingMultipliersByBaseAssetSymbol' | 'insuranceFundWallet' | 'invalidateNonce' | 'isDepositEnabled' | 'lastFundingRatePublishTimestampInMsByBaseAssetSymbol' | 'liquidatePositionBelowMinimum' | 'liquidatePositionInDeactivatedMarket' | 'liquidateWalletExit' | 'liquidateWalletInMaintenance' | 'liquidateWalletInMaintenanceDuringSystemRecovery' | 'loadBalanceBySymbol' | 'loadBalanceStructBySymbol' | 'loadBaseAssetSymbolsWithOpenPositionsByWallet' | 'loadBridgeAdapter' | 'loadBridgeAdaptersLength' | 'loadIndexPriceAdaptersLength' | 'loadIndexPriceAdaptersProvider' | 'loadLastNonceInvalidationForWallet' | 'loadManagedAccountProvider' | 'loadManagedAccountProvidersLength' | 'loadMarket' | 'loadMarketsLength' | 'loadOutstandingWalletFunding' | 'loadQuoteQuantityAvailableForExitWithdrawal' | 'loadTotalAccountValueFromIndexPrices' | 'loadTotalAccountValueFromOraclePrices' | 'loadTotalInitialMarginRequirementFromIndexPrices' | 'loadTotalInitialMarginRequirementFromOraclePrices' | 'loadTotalMaintenanceMarginRequirementFromIndexPrices' | 'loadTotalMaintenanceMarginRequirementFromOraclePrices' | 'loadWalletExitStatus' | 'marketOverridesByBaseAssetSymbolAndWallet' | 'migrateQuoteTokenAddress' | 'oraclePriceAdapter' | 'ownerWallet' | 'pendingDepositQuantityByWallet' | 'positionBelowMinimumLiquidationPriceToleranceMultiplier' | 'publishFundingMultiplier' | 'publishIndexPrices' | 'quoteTokenAddress' | 'removeAdmin' | 'removeDispatcher' | 'removeOwner' | 'setAdmin' | 'setBridgeAdapters' | 'setChainPropagationPeriod' | 'setCustodian' | 'setDelegateKeyExpirationPeriod' | 'setDepositEnabled' | 'setDepositIndex' | 'setDispatcher' | 'setExitFundWallet' | 'setFeeWallet' | 'setIndexPriceAdapters' | 'setInsuranceFundWallet' | 'setManagedAccounts' | 'setMarketOverrides' | 'setOraclePriceAdapter' | 'setOwner' | 'setPositionBelowMinimumLiquidationPriceToleranceMultiplier' | 'skim' | 'transfer' | 'unsetMarketOverridesForWallet' | 'withdraw' | 'withdrawExit' | 'withdrawExitAdmin' | 'withdrawExitFromManagedAccount' | 'withdrawFromManagedAccount'): FunctionFragment;
|
|
448
|
+
getEvent(nameOrSignatureOrTopic: 'ChainPropagationPeriodChanged' | 'DelegateKeyExpirationPeriodChanged' | 'DeleveragedExitAcquisition' | 'DeleveragedExitFundClosure' | 'DeleveragedInMaintenanceAcquisition' | 'DeleveragedInsuranceFundClosure' | 'Deposited' | 'DepositsDisabled' | 'DepositsEnabled' | 'DispatcherChanged' | 'EIP712DomainChanged' | 'ExitFundWalletChanged' | 'FeeWalletChanged' | 'FundingRatePublished' | 'IndexPricePublished' | 'LiquidatedPositionBelowMinimum' | 'LiquidatedPositionInDeactivatedMarket' | 'LiquidatedWalletExit' | 'LiquidatedWalletInMaintenance' | 'LiquidatedWalletInMaintenanceDuringSystemRecovery' | 'LiquidationAcquisitionExecuted' | 'MarketActivated' | 'MarketAdded' | 'MarketDeactivated' | 'MarketOverridesUnset' | 'OrderNonceInvalidated' | 'PendingDepositApplied' | 'PositionBelowMinimumLiquidationPriceToleranceMultiplierChanged' | 'QuoteTokenAddressChanged' | 'TradeExecuted' | 'Transferred' | 'WalletExitCleared' | 'WalletExitFromManagedAccountWithdrawn' | 'WalletExitWithdrawn' | 'WalletExited' | 'Withdrawn'): EventFragment;
|
|
449
|
+
encodeFunctionData(functionFragment: 'activateMarket', values: [string]): string;
|
|
450
|
+
encodeFunctionData(functionFragment: 'addMarket', values: [MarketStruct]): string;
|
|
451
|
+
encodeFunctionData(functionFragment: 'adminWallet', values?: undefined): string;
|
|
452
|
+
encodeFunctionData(functionFragment: 'applyOutstandingWalletFundingForMarket', values: [AddressLike, string]): string;
|
|
453
|
+
encodeFunctionData(functionFragment: 'applyPendingDepositForManagedAccount', values: [BigNumberish, BigNumberish, AddressLike]): string;
|
|
454
|
+
encodeFunctionData(functionFragment: 'applyPendingDepositsForWallet', values: [BigNumberish, AddressLike]): string;
|
|
455
|
+
encodeFunctionData(functionFragment: 'associateManagerWalletWithManagedAccount', values: [AddressLike]): string;
|
|
456
|
+
encodeFunctionData(functionFragment: 'cancelWithdrawalFromManagedAccount', values: [WithdrawalFromManagedAccountStruct]): string;
|
|
457
|
+
encodeFunctionData(functionFragment: 'chainPropagationPeriodInS', values?: undefined): string;
|
|
458
|
+
encodeFunctionData(functionFragment: 'clearWalletExit', values?: undefined): string;
|
|
459
|
+
encodeFunctionData(functionFragment: 'custodian', values?: undefined): string;
|
|
460
|
+
encodeFunctionData(functionFragment: 'deactivateMarket', values: [string]): string;
|
|
461
|
+
encodeFunctionData(functionFragment: 'delegateKeyExpirationPeriodInMs', values?: undefined): string;
|
|
462
|
+
encodeFunctionData(functionFragment: 'deleverageExitAcquisition', values: [AcquisitionDeleverageArgumentsStruct]): string;
|
|
463
|
+
encodeFunctionData(functionFragment: 'deleverageExitFundClosure', values: [ClosureDeleverageArgumentsStruct]): string;
|
|
464
|
+
encodeFunctionData(functionFragment: 'deleverageInMaintenanceAcquisition', values: [AcquisitionDeleverageArgumentsStruct]): string;
|
|
465
|
+
encodeFunctionData(functionFragment: 'deleverageInsuranceFundClosure', values: [ClosureDeleverageArgumentsStruct]): string;
|
|
466
|
+
encodeFunctionData(functionFragment: 'deposit', values: [BigNumberish, AddressLike]): string;
|
|
467
|
+
encodeFunctionData(functionFragment: 'depositIndex', values?: undefined): string;
|
|
468
|
+
encodeFunctionData(functionFragment: 'depositToManagedAccount', values: [BigNumberish, AddressLike, AddressLike, BytesLike, AddressLike]): string;
|
|
469
|
+
encodeFunctionData(functionFragment: 'dispatcherWallet', values?: undefined): string;
|
|
470
|
+
encodeFunctionData(functionFragment: 'domainSeparatorV4', values?: undefined): string;
|
|
471
|
+
encodeFunctionData(functionFragment: 'eip712Domain', values?: undefined): string;
|
|
472
|
+
encodeFunctionData(functionFragment: 'executeTrade', values: [TradeStruct, OrderStruct, OrderStruct]): string;
|
|
473
|
+
encodeFunctionData(functionFragment: 'exitFundPositionOpenedAtBlockTimestamp', values?: undefined): string;
|
|
474
|
+
encodeFunctionData(functionFragment: 'exitFundWallet', values?: undefined): string;
|
|
475
|
+
encodeFunctionData(functionFragment: 'exitWallet', values: [AddressLike]): string;
|
|
476
|
+
encodeFunctionData(functionFragment: 'feeWallet', values?: undefined): string;
|
|
477
|
+
encodeFunctionData(functionFragment: 'fundingMultipliersByBaseAssetSymbol', values: [string, BigNumberish]): string;
|
|
478
|
+
encodeFunctionData(functionFragment: 'insuranceFundWallet', values?: undefined): string;
|
|
479
|
+
encodeFunctionData(functionFragment: 'invalidateNonce', values: [BigNumberish]): string;
|
|
480
|
+
encodeFunctionData(functionFragment: 'isDepositEnabled', values?: undefined): string;
|
|
481
|
+
encodeFunctionData(functionFragment: 'lastFundingRatePublishTimestampInMsByBaseAssetSymbol', values: [string]): string;
|
|
482
|
+
encodeFunctionData(functionFragment: 'liquidatePositionBelowMinimum', values: [PositionBelowMinimumLiquidationArgumentsStruct]): string;
|
|
483
|
+
encodeFunctionData(functionFragment: 'liquidatePositionInDeactivatedMarket', values: [PositionInDeactivatedMarketLiquidationArgumentsStruct]): string;
|
|
484
|
+
encodeFunctionData(functionFragment: 'liquidateWalletExit', values: [WalletLiquidationArgumentsStruct]): string;
|
|
485
|
+
encodeFunctionData(functionFragment: 'liquidateWalletInMaintenance', values: [WalletLiquidationArgumentsStruct]): string;
|
|
486
|
+
encodeFunctionData(functionFragment: 'liquidateWalletInMaintenanceDuringSystemRecovery', values: [WalletLiquidationArgumentsStruct]): string;
|
|
487
|
+
encodeFunctionData(functionFragment: 'loadBalanceBySymbol', values: [AddressLike, string]): string;
|
|
488
|
+
encodeFunctionData(functionFragment: 'loadBalanceStructBySymbol', values: [AddressLike, string]): string;
|
|
489
|
+
encodeFunctionData(functionFragment: 'loadBaseAssetSymbolsWithOpenPositionsByWallet', values: [AddressLike]): string;
|
|
490
|
+
encodeFunctionData(functionFragment: 'loadBridgeAdapter', values: [BigNumberish]): string;
|
|
491
|
+
encodeFunctionData(functionFragment: 'loadBridgeAdaptersLength', values?: undefined): string;
|
|
492
|
+
encodeFunctionData(functionFragment: 'loadIndexPriceAdaptersLength', values?: undefined): string;
|
|
493
|
+
encodeFunctionData(functionFragment: 'loadIndexPriceAdaptersProvider', values: [BigNumberish]): string;
|
|
494
|
+
encodeFunctionData(functionFragment: 'loadLastNonceInvalidationForWallet', values: [AddressLike]): string;
|
|
495
|
+
encodeFunctionData(functionFragment: 'loadManagedAccountProvider', values: [BigNumberish]): string;
|
|
496
|
+
encodeFunctionData(functionFragment: 'loadManagedAccountProvidersLength', values?: undefined): string;
|
|
497
|
+
encodeFunctionData(functionFragment: 'loadMarket', values: [BigNumberish]): string;
|
|
498
|
+
encodeFunctionData(functionFragment: 'loadMarketsLength', values?: undefined): string;
|
|
499
|
+
encodeFunctionData(functionFragment: 'loadOutstandingWalletFunding', values: [AddressLike]): string;
|
|
500
|
+
encodeFunctionData(functionFragment: 'loadQuoteQuantityAvailableForExitWithdrawal', values: [AddressLike]): string;
|
|
501
|
+
encodeFunctionData(functionFragment: 'loadTotalAccountValueFromIndexPrices', values: [AddressLike]): string;
|
|
502
|
+
encodeFunctionData(functionFragment: 'loadTotalAccountValueFromOraclePrices', values: [AddressLike]): string;
|
|
503
|
+
encodeFunctionData(functionFragment: 'loadTotalInitialMarginRequirementFromIndexPrices', values: [AddressLike]): string;
|
|
504
|
+
encodeFunctionData(functionFragment: 'loadTotalInitialMarginRequirementFromOraclePrices', values: [AddressLike]): string;
|
|
505
|
+
encodeFunctionData(functionFragment: 'loadTotalMaintenanceMarginRequirementFromIndexPrices', values: [AddressLike]): string;
|
|
506
|
+
encodeFunctionData(functionFragment: 'loadTotalMaintenanceMarginRequirementFromOraclePrices', values: [AddressLike]): string;
|
|
507
|
+
encodeFunctionData(functionFragment: 'loadWalletExitStatus', values: [AddressLike]): string;
|
|
508
|
+
encodeFunctionData(functionFragment: 'marketOverridesByBaseAssetSymbolAndWallet', values: [string, AddressLike]): string;
|
|
509
|
+
encodeFunctionData(functionFragment: 'migrateQuoteTokenAddress', values?: undefined): string;
|
|
510
|
+
encodeFunctionData(functionFragment: 'oraclePriceAdapter', values?: undefined): string;
|
|
511
|
+
encodeFunctionData(functionFragment: 'ownerWallet', values?: undefined): string;
|
|
512
|
+
encodeFunctionData(functionFragment: 'pendingDepositQuantityByWallet', values: [AddressLike]): string;
|
|
513
|
+
encodeFunctionData(functionFragment: 'positionBelowMinimumLiquidationPriceToleranceMultiplier', values?: undefined): string;
|
|
514
|
+
encodeFunctionData(functionFragment: 'publishFundingMultiplier', values: [string, BigNumberish]): string;
|
|
515
|
+
encodeFunctionData(functionFragment: 'publishIndexPrices', values: [IndexPricePayloadStruct[]]): string;
|
|
516
|
+
encodeFunctionData(functionFragment: 'quoteTokenAddress', values?: undefined): string;
|
|
517
|
+
encodeFunctionData(functionFragment: 'removeAdmin', values?: undefined): string;
|
|
518
|
+
encodeFunctionData(functionFragment: 'removeDispatcher', values?: undefined): string;
|
|
519
|
+
encodeFunctionData(functionFragment: 'removeOwner', values?: undefined): string;
|
|
520
|
+
encodeFunctionData(functionFragment: 'setAdmin', values: [AddressLike]): string;
|
|
521
|
+
encodeFunctionData(functionFragment: 'setBridgeAdapters', values: [AddressLike[]]): string;
|
|
522
|
+
encodeFunctionData(functionFragment: 'setChainPropagationPeriod', values: [BigNumberish]): string;
|
|
523
|
+
encodeFunctionData(functionFragment: 'setCustodian', values: [AddressLike]): string;
|
|
524
|
+
encodeFunctionData(functionFragment: 'setDelegateKeyExpirationPeriod', values: [BigNumberish]): string;
|
|
525
|
+
encodeFunctionData(functionFragment: 'setDepositEnabled', values: [boolean]): string;
|
|
526
|
+
encodeFunctionData(functionFragment: 'setDepositIndex', values?: undefined): string;
|
|
527
|
+
encodeFunctionData(functionFragment: 'setDispatcher', values: [AddressLike]): string;
|
|
528
|
+
encodeFunctionData(functionFragment: 'setExitFundWallet', values: [AddressLike]): string;
|
|
529
|
+
encodeFunctionData(functionFragment: 'setFeeWallet', values: [AddressLike]): string;
|
|
530
|
+
encodeFunctionData(functionFragment: 'setIndexPriceAdapters', values: [AddressLike[]]): string;
|
|
531
|
+
encodeFunctionData(functionFragment: 'setInsuranceFundWallet', values: [AddressLike]): string;
|
|
532
|
+
encodeFunctionData(functionFragment: 'setManagedAccounts', values: [AddressLike[]]): string;
|
|
533
|
+
encodeFunctionData(functionFragment: 'setMarketOverrides', values: [string, OverridableMarketFieldsStruct, AddressLike]): string;
|
|
534
|
+
encodeFunctionData(functionFragment: 'setOraclePriceAdapter', values: [AddressLike]): string;
|
|
535
|
+
encodeFunctionData(functionFragment: 'setOwner', values: [AddressLike]): string;
|
|
536
|
+
encodeFunctionData(functionFragment: 'setPositionBelowMinimumLiquidationPriceToleranceMultiplier', values: [BigNumberish]): string;
|
|
537
|
+
encodeFunctionData(functionFragment: 'skim', values: [AddressLike]): string;
|
|
538
|
+
encodeFunctionData(functionFragment: 'transfer', values: [TransferStruct]): string;
|
|
539
|
+
encodeFunctionData(functionFragment: 'unsetMarketOverridesForWallet', values: [string, AddressLike]): string;
|
|
540
|
+
encodeFunctionData(functionFragment: 'withdraw', values: [WithdrawalStruct]): string;
|
|
541
|
+
encodeFunctionData(functionFragment: 'withdrawExit', values: [AddressLike]): string;
|
|
542
|
+
encodeFunctionData(functionFragment: 'withdrawExitAdmin', values: [AddressLike]): string;
|
|
543
|
+
encodeFunctionData(functionFragment: 'withdrawExitFromManagedAccount', values: [AddressLike, AddressLike, BigNumberish]): string;
|
|
544
|
+
encodeFunctionData(functionFragment: 'withdrawFromManagedAccount', values: [WithdrawalFromManagedAccountStruct]): string;
|
|
545
|
+
decodeFunctionResult(functionFragment: 'activateMarket', data: BytesLike): Result;
|
|
546
|
+
decodeFunctionResult(functionFragment: 'addMarket', data: BytesLike): Result;
|
|
547
|
+
decodeFunctionResult(functionFragment: 'adminWallet', data: BytesLike): Result;
|
|
548
|
+
decodeFunctionResult(functionFragment: 'applyOutstandingWalletFundingForMarket', data: BytesLike): Result;
|
|
549
|
+
decodeFunctionResult(functionFragment: 'applyPendingDepositForManagedAccount', data: BytesLike): Result;
|
|
550
|
+
decodeFunctionResult(functionFragment: 'applyPendingDepositsForWallet', data: BytesLike): Result;
|
|
551
|
+
decodeFunctionResult(functionFragment: 'associateManagerWalletWithManagedAccount', data: BytesLike): Result;
|
|
552
|
+
decodeFunctionResult(functionFragment: 'cancelWithdrawalFromManagedAccount', data: BytesLike): Result;
|
|
553
|
+
decodeFunctionResult(functionFragment: 'chainPropagationPeriodInS', data: BytesLike): Result;
|
|
554
|
+
decodeFunctionResult(functionFragment: 'clearWalletExit', data: BytesLike): Result;
|
|
555
|
+
decodeFunctionResult(functionFragment: 'custodian', data: BytesLike): Result;
|
|
556
|
+
decodeFunctionResult(functionFragment: 'deactivateMarket', data: BytesLike): Result;
|
|
557
|
+
decodeFunctionResult(functionFragment: 'delegateKeyExpirationPeriodInMs', data: BytesLike): Result;
|
|
558
|
+
decodeFunctionResult(functionFragment: 'deleverageExitAcquisition', data: BytesLike): Result;
|
|
559
|
+
decodeFunctionResult(functionFragment: 'deleverageExitFundClosure', data: BytesLike): Result;
|
|
560
|
+
decodeFunctionResult(functionFragment: 'deleverageInMaintenanceAcquisition', data: BytesLike): Result;
|
|
561
|
+
decodeFunctionResult(functionFragment: 'deleverageInsuranceFundClosure', data: BytesLike): Result;
|
|
562
|
+
decodeFunctionResult(functionFragment: 'deposit', data: BytesLike): Result;
|
|
563
|
+
decodeFunctionResult(functionFragment: 'depositIndex', data: BytesLike): Result;
|
|
564
|
+
decodeFunctionResult(functionFragment: 'depositToManagedAccount', data: BytesLike): Result;
|
|
565
|
+
decodeFunctionResult(functionFragment: 'dispatcherWallet', data: BytesLike): Result;
|
|
566
|
+
decodeFunctionResult(functionFragment: 'domainSeparatorV4', data: BytesLike): Result;
|
|
567
|
+
decodeFunctionResult(functionFragment: 'eip712Domain', data: BytesLike): Result;
|
|
568
|
+
decodeFunctionResult(functionFragment: 'executeTrade', data: BytesLike): Result;
|
|
569
|
+
decodeFunctionResult(functionFragment: 'exitFundPositionOpenedAtBlockTimestamp', data: BytesLike): Result;
|
|
570
|
+
decodeFunctionResult(functionFragment: 'exitFundWallet', data: BytesLike): Result;
|
|
571
|
+
decodeFunctionResult(functionFragment: 'exitWallet', data: BytesLike): Result;
|
|
572
|
+
decodeFunctionResult(functionFragment: 'feeWallet', data: BytesLike): Result;
|
|
573
|
+
decodeFunctionResult(functionFragment: 'fundingMultipliersByBaseAssetSymbol', data: BytesLike): Result;
|
|
574
|
+
decodeFunctionResult(functionFragment: 'insuranceFundWallet', data: BytesLike): Result;
|
|
575
|
+
decodeFunctionResult(functionFragment: 'invalidateNonce', data: BytesLike): Result;
|
|
576
|
+
decodeFunctionResult(functionFragment: 'isDepositEnabled', data: BytesLike): Result;
|
|
577
|
+
decodeFunctionResult(functionFragment: 'lastFundingRatePublishTimestampInMsByBaseAssetSymbol', data: BytesLike): Result;
|
|
578
|
+
decodeFunctionResult(functionFragment: 'liquidatePositionBelowMinimum', data: BytesLike): Result;
|
|
579
|
+
decodeFunctionResult(functionFragment: 'liquidatePositionInDeactivatedMarket', data: BytesLike): Result;
|
|
580
|
+
decodeFunctionResult(functionFragment: 'liquidateWalletExit', data: BytesLike): Result;
|
|
581
|
+
decodeFunctionResult(functionFragment: 'liquidateWalletInMaintenance', data: BytesLike): Result;
|
|
582
|
+
decodeFunctionResult(functionFragment: 'liquidateWalletInMaintenanceDuringSystemRecovery', data: BytesLike): Result;
|
|
583
|
+
decodeFunctionResult(functionFragment: 'loadBalanceBySymbol', data: BytesLike): Result;
|
|
584
|
+
decodeFunctionResult(functionFragment: 'loadBalanceStructBySymbol', data: BytesLike): Result;
|
|
585
|
+
decodeFunctionResult(functionFragment: 'loadBaseAssetSymbolsWithOpenPositionsByWallet', data: BytesLike): Result;
|
|
586
|
+
decodeFunctionResult(functionFragment: 'loadBridgeAdapter', data: BytesLike): Result;
|
|
587
|
+
decodeFunctionResult(functionFragment: 'loadBridgeAdaptersLength', data: BytesLike): Result;
|
|
588
|
+
decodeFunctionResult(functionFragment: 'loadIndexPriceAdaptersLength', data: BytesLike): Result;
|
|
589
|
+
decodeFunctionResult(functionFragment: 'loadIndexPriceAdaptersProvider', data: BytesLike): Result;
|
|
590
|
+
decodeFunctionResult(functionFragment: 'loadLastNonceInvalidationForWallet', data: BytesLike): Result;
|
|
591
|
+
decodeFunctionResult(functionFragment: 'loadManagedAccountProvider', data: BytesLike): Result;
|
|
592
|
+
decodeFunctionResult(functionFragment: 'loadManagedAccountProvidersLength', data: BytesLike): Result;
|
|
593
|
+
decodeFunctionResult(functionFragment: 'loadMarket', data: BytesLike): Result;
|
|
594
|
+
decodeFunctionResult(functionFragment: 'loadMarketsLength', data: BytesLike): Result;
|
|
595
|
+
decodeFunctionResult(functionFragment: 'loadOutstandingWalletFunding', data: BytesLike): Result;
|
|
596
|
+
decodeFunctionResult(functionFragment: 'loadQuoteQuantityAvailableForExitWithdrawal', data: BytesLike): Result;
|
|
597
|
+
decodeFunctionResult(functionFragment: 'loadTotalAccountValueFromIndexPrices', data: BytesLike): Result;
|
|
598
|
+
decodeFunctionResult(functionFragment: 'loadTotalAccountValueFromOraclePrices', data: BytesLike): Result;
|
|
599
|
+
decodeFunctionResult(functionFragment: 'loadTotalInitialMarginRequirementFromIndexPrices', data: BytesLike): Result;
|
|
600
|
+
decodeFunctionResult(functionFragment: 'loadTotalInitialMarginRequirementFromOraclePrices', data: BytesLike): Result;
|
|
601
|
+
decodeFunctionResult(functionFragment: 'loadTotalMaintenanceMarginRequirementFromIndexPrices', data: BytesLike): Result;
|
|
602
|
+
decodeFunctionResult(functionFragment: 'loadTotalMaintenanceMarginRequirementFromOraclePrices', data: BytesLike): Result;
|
|
603
|
+
decodeFunctionResult(functionFragment: 'loadWalletExitStatus', data: BytesLike): Result;
|
|
604
|
+
decodeFunctionResult(functionFragment: 'marketOverridesByBaseAssetSymbolAndWallet', data: BytesLike): Result;
|
|
605
|
+
decodeFunctionResult(functionFragment: 'migrateQuoteTokenAddress', data: BytesLike): Result;
|
|
606
|
+
decodeFunctionResult(functionFragment: 'oraclePriceAdapter', data: BytesLike): Result;
|
|
607
|
+
decodeFunctionResult(functionFragment: 'ownerWallet', data: BytesLike): Result;
|
|
608
|
+
decodeFunctionResult(functionFragment: 'pendingDepositQuantityByWallet', data: BytesLike): Result;
|
|
609
|
+
decodeFunctionResult(functionFragment: 'positionBelowMinimumLiquidationPriceToleranceMultiplier', data: BytesLike): Result;
|
|
610
|
+
decodeFunctionResult(functionFragment: 'publishFundingMultiplier', data: BytesLike): Result;
|
|
611
|
+
decodeFunctionResult(functionFragment: 'publishIndexPrices', data: BytesLike): Result;
|
|
612
|
+
decodeFunctionResult(functionFragment: 'quoteTokenAddress', data: BytesLike): Result;
|
|
613
|
+
decodeFunctionResult(functionFragment: 'removeAdmin', data: BytesLike): Result;
|
|
614
|
+
decodeFunctionResult(functionFragment: 'removeDispatcher', data: BytesLike): Result;
|
|
615
|
+
decodeFunctionResult(functionFragment: 'removeOwner', data: BytesLike): Result;
|
|
616
|
+
decodeFunctionResult(functionFragment: 'setAdmin', data: BytesLike): Result;
|
|
617
|
+
decodeFunctionResult(functionFragment: 'setBridgeAdapters', data: BytesLike): Result;
|
|
618
|
+
decodeFunctionResult(functionFragment: 'setChainPropagationPeriod', data: BytesLike): Result;
|
|
619
|
+
decodeFunctionResult(functionFragment: 'setCustodian', data: BytesLike): Result;
|
|
620
|
+
decodeFunctionResult(functionFragment: 'setDelegateKeyExpirationPeriod', data: BytesLike): Result;
|
|
621
|
+
decodeFunctionResult(functionFragment: 'setDepositEnabled', data: BytesLike): Result;
|
|
622
|
+
decodeFunctionResult(functionFragment: 'setDepositIndex', data: BytesLike): Result;
|
|
623
|
+
decodeFunctionResult(functionFragment: 'setDispatcher', data: BytesLike): Result;
|
|
624
|
+
decodeFunctionResult(functionFragment: 'setExitFundWallet', data: BytesLike): Result;
|
|
625
|
+
decodeFunctionResult(functionFragment: 'setFeeWallet', data: BytesLike): Result;
|
|
626
|
+
decodeFunctionResult(functionFragment: 'setIndexPriceAdapters', data: BytesLike): Result;
|
|
627
|
+
decodeFunctionResult(functionFragment: 'setInsuranceFundWallet', data: BytesLike): Result;
|
|
628
|
+
decodeFunctionResult(functionFragment: 'setManagedAccounts', data: BytesLike): Result;
|
|
629
|
+
decodeFunctionResult(functionFragment: 'setMarketOverrides', data: BytesLike): Result;
|
|
630
|
+
decodeFunctionResult(functionFragment: 'setOraclePriceAdapter', data: BytesLike): Result;
|
|
631
|
+
decodeFunctionResult(functionFragment: 'setOwner', data: BytesLike): Result;
|
|
632
|
+
decodeFunctionResult(functionFragment: 'setPositionBelowMinimumLiquidationPriceToleranceMultiplier', data: BytesLike): Result;
|
|
633
|
+
decodeFunctionResult(functionFragment: 'skim', data: BytesLike): Result;
|
|
634
|
+
decodeFunctionResult(functionFragment: 'transfer', data: BytesLike): Result;
|
|
635
|
+
decodeFunctionResult(functionFragment: 'unsetMarketOverridesForWallet', data: BytesLike): Result;
|
|
636
|
+
decodeFunctionResult(functionFragment: 'withdraw', data: BytesLike): Result;
|
|
637
|
+
decodeFunctionResult(functionFragment: 'withdrawExit', data: BytesLike): Result;
|
|
638
|
+
decodeFunctionResult(functionFragment: 'withdrawExitAdmin', data: BytesLike): Result;
|
|
639
|
+
decodeFunctionResult(functionFragment: 'withdrawExitFromManagedAccount', data: BytesLike): Result;
|
|
640
|
+
decodeFunctionResult(functionFragment: 'withdrawFromManagedAccount', data: BytesLike): Result;
|
|
641
|
+
}
|
|
642
|
+
export declare namespace ChainPropagationPeriodChangedEvent {
|
|
643
|
+
type InputTuple = [
|
|
644
|
+
previousValue: BigNumberish,
|
|
645
|
+
newValue: BigNumberish
|
|
646
|
+
];
|
|
647
|
+
type OutputTuple = [previousValue: bigint, newValue: bigint];
|
|
648
|
+
interface OutputObject {
|
|
649
|
+
previousValue: bigint;
|
|
650
|
+
newValue: bigint;
|
|
651
|
+
}
|
|
652
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
653
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
654
|
+
type Log = TypedEventLog<Event>;
|
|
655
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
656
|
+
}
|
|
657
|
+
export declare namespace DelegateKeyExpirationPeriodChangedEvent {
|
|
658
|
+
type InputTuple = [
|
|
659
|
+
previousValue: BigNumberish,
|
|
660
|
+
newValue: BigNumberish
|
|
661
|
+
];
|
|
662
|
+
type OutputTuple = [previousValue: bigint, newValue: bigint];
|
|
663
|
+
interface OutputObject {
|
|
664
|
+
previousValue: bigint;
|
|
665
|
+
newValue: bigint;
|
|
666
|
+
}
|
|
667
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
668
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
669
|
+
type Log = TypedEventLog<Event>;
|
|
670
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
671
|
+
}
|
|
672
|
+
export declare namespace DeleveragedExitAcquisitionEvent {
|
|
673
|
+
type InputTuple = [
|
|
674
|
+
baseAssetSymbol: string,
|
|
675
|
+
counterpartyWallet: AddressLike,
|
|
676
|
+
liquidatingWallet: AddressLike,
|
|
677
|
+
liquidationBaseQuantity: BigNumberish,
|
|
678
|
+
liquidationQuoteQuantity: BigNumberish
|
|
679
|
+
];
|
|
680
|
+
type OutputTuple = [
|
|
681
|
+
baseAssetSymbol: string,
|
|
682
|
+
counterpartyWallet: string,
|
|
683
|
+
liquidatingWallet: string,
|
|
684
|
+
liquidationBaseQuantity: bigint,
|
|
685
|
+
liquidationQuoteQuantity: bigint
|
|
686
|
+
];
|
|
687
|
+
interface OutputObject {
|
|
688
|
+
baseAssetSymbol: string;
|
|
689
|
+
counterpartyWallet: string;
|
|
690
|
+
liquidatingWallet: string;
|
|
691
|
+
liquidationBaseQuantity: bigint;
|
|
692
|
+
liquidationQuoteQuantity: bigint;
|
|
693
|
+
}
|
|
694
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
695
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
696
|
+
type Log = TypedEventLog<Event>;
|
|
697
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
698
|
+
}
|
|
699
|
+
export declare namespace DeleveragedExitFundClosureEvent {
|
|
700
|
+
type InputTuple = [
|
|
701
|
+
baseAssetSymbol: string,
|
|
702
|
+
counterpartyWallet: AddressLike,
|
|
703
|
+
exitFundWallet: AddressLike,
|
|
704
|
+
liquidationBaseQuantity: BigNumberish,
|
|
705
|
+
liquidationQuoteQuantity: BigNumberish
|
|
706
|
+
];
|
|
707
|
+
type OutputTuple = [
|
|
708
|
+
baseAssetSymbol: string,
|
|
709
|
+
counterpartyWallet: string,
|
|
710
|
+
exitFundWallet: string,
|
|
711
|
+
liquidationBaseQuantity: bigint,
|
|
712
|
+
liquidationQuoteQuantity: bigint
|
|
713
|
+
];
|
|
714
|
+
interface OutputObject {
|
|
715
|
+
baseAssetSymbol: string;
|
|
716
|
+
counterpartyWallet: string;
|
|
717
|
+
exitFundWallet: string;
|
|
718
|
+
liquidationBaseQuantity: bigint;
|
|
719
|
+
liquidationQuoteQuantity: bigint;
|
|
720
|
+
}
|
|
721
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
722
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
723
|
+
type Log = TypedEventLog<Event>;
|
|
724
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
725
|
+
}
|
|
726
|
+
export declare namespace DeleveragedInMaintenanceAcquisitionEvent {
|
|
727
|
+
type InputTuple = [
|
|
728
|
+
baseAssetSymbol: string,
|
|
729
|
+
counterpartyWallet: AddressLike,
|
|
730
|
+
liquidatingWallet: AddressLike,
|
|
731
|
+
liquidationBaseQuantity: BigNumberish,
|
|
732
|
+
liquidationQuoteQuantity: BigNumberish
|
|
733
|
+
];
|
|
734
|
+
type OutputTuple = [
|
|
735
|
+
baseAssetSymbol: string,
|
|
736
|
+
counterpartyWallet: string,
|
|
737
|
+
liquidatingWallet: string,
|
|
738
|
+
liquidationBaseQuantity: bigint,
|
|
739
|
+
liquidationQuoteQuantity: bigint
|
|
740
|
+
];
|
|
741
|
+
interface OutputObject {
|
|
742
|
+
baseAssetSymbol: string;
|
|
743
|
+
counterpartyWallet: string;
|
|
744
|
+
liquidatingWallet: string;
|
|
745
|
+
liquidationBaseQuantity: bigint;
|
|
746
|
+
liquidationQuoteQuantity: bigint;
|
|
747
|
+
}
|
|
748
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
749
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
750
|
+
type Log = TypedEventLog<Event>;
|
|
751
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
752
|
+
}
|
|
753
|
+
export declare namespace DeleveragedInsuranceFundClosureEvent {
|
|
754
|
+
type InputTuple = [
|
|
755
|
+
baseAssetSymbol: string,
|
|
756
|
+
counterpartyWallet: AddressLike,
|
|
757
|
+
insuranceFundWallet: AddressLike,
|
|
758
|
+
liquidationBaseQuantity: BigNumberish,
|
|
759
|
+
liquidationQuoteQuantity: BigNumberish
|
|
760
|
+
];
|
|
761
|
+
type OutputTuple = [
|
|
762
|
+
baseAssetSymbol: string,
|
|
763
|
+
counterpartyWallet: string,
|
|
764
|
+
insuranceFundWallet: string,
|
|
765
|
+
liquidationBaseQuantity: bigint,
|
|
766
|
+
liquidationQuoteQuantity: bigint
|
|
767
|
+
];
|
|
768
|
+
interface OutputObject {
|
|
769
|
+
baseAssetSymbol: string;
|
|
770
|
+
counterpartyWallet: string;
|
|
771
|
+
insuranceFundWallet: string;
|
|
772
|
+
liquidationBaseQuantity: bigint;
|
|
773
|
+
liquidationQuoteQuantity: bigint;
|
|
774
|
+
}
|
|
775
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
776
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
777
|
+
type Log = TypedEventLog<Event>;
|
|
778
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
779
|
+
}
|
|
780
|
+
export declare namespace DepositedEvent {
|
|
781
|
+
type InputTuple = [
|
|
782
|
+
index: BigNumberish,
|
|
783
|
+
sourceWallet: AddressLike,
|
|
784
|
+
depositorWallet: AddressLike,
|
|
785
|
+
quantity: BigNumberish,
|
|
786
|
+
isAssociatedWithManagedAccount: boolean
|
|
787
|
+
];
|
|
788
|
+
type OutputTuple = [
|
|
789
|
+
index: bigint,
|
|
790
|
+
sourceWallet: string,
|
|
791
|
+
depositorWallet: string,
|
|
792
|
+
quantity: bigint,
|
|
793
|
+
isAssociatedWithManagedAccount: boolean
|
|
794
|
+
];
|
|
795
|
+
interface OutputObject {
|
|
796
|
+
index: bigint;
|
|
797
|
+
sourceWallet: string;
|
|
798
|
+
depositorWallet: string;
|
|
799
|
+
quantity: bigint;
|
|
800
|
+
isAssociatedWithManagedAccount: boolean;
|
|
801
|
+
}
|
|
802
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
803
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
804
|
+
type Log = TypedEventLog<Event>;
|
|
805
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
806
|
+
}
|
|
807
|
+
export declare namespace DepositsDisabledEvent {
|
|
808
|
+
type InputTuple = [];
|
|
809
|
+
type OutputTuple = [];
|
|
810
|
+
interface OutputObject {
|
|
811
|
+
}
|
|
812
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
813
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
814
|
+
type Log = TypedEventLog<Event>;
|
|
815
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
816
|
+
}
|
|
817
|
+
export declare namespace DepositsEnabledEvent {
|
|
818
|
+
type InputTuple = [];
|
|
819
|
+
type OutputTuple = [];
|
|
820
|
+
interface OutputObject {
|
|
821
|
+
}
|
|
822
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
823
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
824
|
+
type Log = TypedEventLog<Event>;
|
|
825
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
826
|
+
}
|
|
827
|
+
export declare namespace DispatcherChangedEvent {
|
|
828
|
+
type InputTuple = [previousValue: AddressLike, newValue: AddressLike];
|
|
829
|
+
type OutputTuple = [previousValue: string, newValue: string];
|
|
830
|
+
interface OutputObject {
|
|
831
|
+
previousValue: string;
|
|
832
|
+
newValue: string;
|
|
833
|
+
}
|
|
834
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
835
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
836
|
+
type Log = TypedEventLog<Event>;
|
|
837
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
838
|
+
}
|
|
839
|
+
export declare namespace EIP712DomainChangedEvent {
|
|
840
|
+
type InputTuple = [];
|
|
841
|
+
type OutputTuple = [];
|
|
842
|
+
interface OutputObject {
|
|
843
|
+
}
|
|
844
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
845
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
846
|
+
type Log = TypedEventLog<Event>;
|
|
847
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
848
|
+
}
|
|
849
|
+
export declare namespace ExitFundWalletChangedEvent {
|
|
850
|
+
type InputTuple = [previousValue: AddressLike, newValue: AddressLike];
|
|
851
|
+
type OutputTuple = [previousValue: string, newValue: string];
|
|
852
|
+
interface OutputObject {
|
|
853
|
+
previousValue: string;
|
|
854
|
+
newValue: string;
|
|
855
|
+
}
|
|
856
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
857
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
858
|
+
type Log = TypedEventLog<Event>;
|
|
859
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
860
|
+
}
|
|
861
|
+
export declare namespace FeeWalletChangedEvent {
|
|
862
|
+
type InputTuple = [previousValue: AddressLike, newValue: AddressLike];
|
|
863
|
+
type OutputTuple = [previousValue: string, newValue: string];
|
|
864
|
+
interface OutputObject {
|
|
865
|
+
previousValue: string;
|
|
866
|
+
newValue: string;
|
|
867
|
+
}
|
|
868
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
869
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
870
|
+
type Log = TypedEventLog<Event>;
|
|
871
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
872
|
+
}
|
|
873
|
+
export declare namespace FundingRatePublishedEvent {
|
|
874
|
+
type InputTuple = [baseAssetSymbol: string, fundingRate: BigNumberish];
|
|
875
|
+
type OutputTuple = [baseAssetSymbol: string, fundingRate: bigint];
|
|
876
|
+
interface OutputObject {
|
|
877
|
+
baseAssetSymbol: string;
|
|
878
|
+
fundingRate: bigint;
|
|
879
|
+
}
|
|
880
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
881
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
882
|
+
type Log = TypedEventLog<Event>;
|
|
883
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
884
|
+
}
|
|
885
|
+
export declare namespace IndexPricePublishedEvent {
|
|
886
|
+
type InputTuple = [
|
|
887
|
+
baseAssetSymbol: string,
|
|
888
|
+
timestampInMs: BigNumberish,
|
|
889
|
+
price: BigNumberish
|
|
890
|
+
];
|
|
891
|
+
type OutputTuple = [
|
|
892
|
+
baseAssetSymbol: string,
|
|
893
|
+
timestampInMs: bigint,
|
|
894
|
+
price: bigint
|
|
895
|
+
];
|
|
896
|
+
interface OutputObject {
|
|
897
|
+
baseAssetSymbol: string;
|
|
898
|
+
timestampInMs: bigint;
|
|
899
|
+
price: bigint;
|
|
900
|
+
}
|
|
901
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
902
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
903
|
+
type Log = TypedEventLog<Event>;
|
|
904
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
905
|
+
}
|
|
906
|
+
export declare namespace LiquidatedPositionBelowMinimumEvent {
|
|
907
|
+
type InputTuple = [
|
|
908
|
+
baseAssetSymbol: string,
|
|
909
|
+
liquidatingWallet: AddressLike,
|
|
910
|
+
liquidationBaseQuantity: BigNumberish,
|
|
911
|
+
liquidationQuoteQuantity: BigNumberish
|
|
912
|
+
];
|
|
913
|
+
type OutputTuple = [
|
|
914
|
+
baseAssetSymbol: string,
|
|
915
|
+
liquidatingWallet: string,
|
|
916
|
+
liquidationBaseQuantity: bigint,
|
|
917
|
+
liquidationQuoteQuantity: bigint
|
|
918
|
+
];
|
|
919
|
+
interface OutputObject {
|
|
920
|
+
baseAssetSymbol: string;
|
|
921
|
+
liquidatingWallet: string;
|
|
922
|
+
liquidationBaseQuantity: bigint;
|
|
923
|
+
liquidationQuoteQuantity: bigint;
|
|
924
|
+
}
|
|
925
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
926
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
927
|
+
type Log = TypedEventLog<Event>;
|
|
928
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
929
|
+
}
|
|
930
|
+
export declare namespace LiquidatedPositionInDeactivatedMarketEvent {
|
|
931
|
+
type InputTuple = [
|
|
932
|
+
baseAssetSymbol: string,
|
|
933
|
+
liquidatingWallet: AddressLike,
|
|
934
|
+
liquidationBaseQuantity: BigNumberish,
|
|
935
|
+
liquidationQuoteQuantity: BigNumberish
|
|
936
|
+
];
|
|
937
|
+
type OutputTuple = [
|
|
938
|
+
baseAssetSymbol: string,
|
|
939
|
+
liquidatingWallet: string,
|
|
940
|
+
liquidationBaseQuantity: bigint,
|
|
941
|
+
liquidationQuoteQuantity: bigint
|
|
942
|
+
];
|
|
943
|
+
interface OutputObject {
|
|
944
|
+
baseAssetSymbol: string;
|
|
945
|
+
liquidatingWallet: string;
|
|
946
|
+
liquidationBaseQuantity: bigint;
|
|
947
|
+
liquidationQuoteQuantity: bigint;
|
|
948
|
+
}
|
|
949
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
950
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
951
|
+
type Log = TypedEventLog<Event>;
|
|
952
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
953
|
+
}
|
|
954
|
+
export declare namespace LiquidatedWalletExitEvent {
|
|
955
|
+
type InputTuple = [liquidatingWallet: AddressLike];
|
|
956
|
+
type OutputTuple = [liquidatingWallet: string];
|
|
957
|
+
interface OutputObject {
|
|
958
|
+
liquidatingWallet: string;
|
|
959
|
+
}
|
|
960
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
961
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
962
|
+
type Log = TypedEventLog<Event>;
|
|
963
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
964
|
+
}
|
|
965
|
+
export declare namespace LiquidatedWalletInMaintenanceEvent {
|
|
966
|
+
type InputTuple = [liquidatingWallet: AddressLike];
|
|
967
|
+
type OutputTuple = [liquidatingWallet: string];
|
|
968
|
+
interface OutputObject {
|
|
969
|
+
liquidatingWallet: string;
|
|
970
|
+
}
|
|
971
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
972
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
973
|
+
type Log = TypedEventLog<Event>;
|
|
974
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
975
|
+
}
|
|
976
|
+
export declare namespace LiquidatedWalletInMaintenanceDuringSystemRecoveryEvent {
|
|
977
|
+
type InputTuple = [liquidatingWallet: AddressLike];
|
|
978
|
+
type OutputTuple = [liquidatingWallet: string];
|
|
979
|
+
interface OutputObject {
|
|
980
|
+
liquidatingWallet: string;
|
|
981
|
+
}
|
|
982
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
983
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
984
|
+
type Log = TypedEventLog<Event>;
|
|
985
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
986
|
+
}
|
|
987
|
+
export declare namespace LiquidationAcquisitionExecutedEvent {
|
|
988
|
+
type InputTuple = [
|
|
989
|
+
buyWallet: AddressLike,
|
|
990
|
+
sellWallet: AddressLike,
|
|
991
|
+
baseAssetSymbol: string,
|
|
992
|
+
quoteAssetSymbol: string,
|
|
993
|
+
baseQuantity: BigNumberish,
|
|
994
|
+
quoteQuantity: BigNumberish,
|
|
995
|
+
makerSide: BigNumberish,
|
|
996
|
+
makerFeeQuantity: BigNumberish,
|
|
997
|
+
takerFeeQuantity: BigNumberish
|
|
998
|
+
];
|
|
999
|
+
type OutputTuple = [
|
|
1000
|
+
buyWallet: string,
|
|
1001
|
+
sellWallet: string,
|
|
1002
|
+
baseAssetSymbol: string,
|
|
1003
|
+
quoteAssetSymbol: string,
|
|
1004
|
+
baseQuantity: bigint,
|
|
1005
|
+
quoteQuantity: bigint,
|
|
1006
|
+
makerSide: bigint,
|
|
1007
|
+
makerFeeQuantity: bigint,
|
|
1008
|
+
takerFeeQuantity: bigint
|
|
1009
|
+
];
|
|
1010
|
+
interface OutputObject {
|
|
1011
|
+
buyWallet: string;
|
|
1012
|
+
sellWallet: string;
|
|
1013
|
+
baseAssetSymbol: string;
|
|
1014
|
+
quoteAssetSymbol: string;
|
|
1015
|
+
baseQuantity: bigint;
|
|
1016
|
+
quoteQuantity: bigint;
|
|
1017
|
+
makerSide: bigint;
|
|
1018
|
+
makerFeeQuantity: bigint;
|
|
1019
|
+
takerFeeQuantity: bigint;
|
|
1020
|
+
}
|
|
1021
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
1022
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
1023
|
+
type Log = TypedEventLog<Event>;
|
|
1024
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
1025
|
+
}
|
|
1026
|
+
export declare namespace MarketActivatedEvent {
|
|
1027
|
+
type InputTuple = [baseAssetSymbol: string];
|
|
1028
|
+
type OutputTuple = [baseAssetSymbol: string];
|
|
1029
|
+
interface OutputObject {
|
|
1030
|
+
baseAssetSymbol: string;
|
|
1031
|
+
}
|
|
1032
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
1033
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
1034
|
+
type Log = TypedEventLog<Event>;
|
|
1035
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
1036
|
+
}
|
|
1037
|
+
export declare namespace MarketAddedEvent {
|
|
1038
|
+
type InputTuple = [baseAssetSymbol: string];
|
|
1039
|
+
type OutputTuple = [baseAssetSymbol: string];
|
|
1040
|
+
interface OutputObject {
|
|
1041
|
+
baseAssetSymbol: string;
|
|
1042
|
+
}
|
|
1043
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
1044
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
1045
|
+
type Log = TypedEventLog<Event>;
|
|
1046
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
1047
|
+
}
|
|
1048
|
+
export declare namespace MarketDeactivatedEvent {
|
|
1049
|
+
type InputTuple = [baseAssetSymbol: string];
|
|
1050
|
+
type OutputTuple = [baseAssetSymbol: string];
|
|
1051
|
+
interface OutputObject {
|
|
1052
|
+
baseAssetSymbol: string;
|
|
1053
|
+
}
|
|
1054
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
1055
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
1056
|
+
type Log = TypedEventLog<Event>;
|
|
1057
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
1058
|
+
}
|
|
1059
|
+
export declare namespace MarketOverridesUnsetEvent {
|
|
1060
|
+
type InputTuple = [baseAssetSymbol: string, wallet: AddressLike];
|
|
1061
|
+
type OutputTuple = [baseAssetSymbol: string, wallet: string];
|
|
1062
|
+
interface OutputObject {
|
|
1063
|
+
baseAssetSymbol: string;
|
|
1064
|
+
wallet: string;
|
|
1065
|
+
}
|
|
1066
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
1067
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
1068
|
+
type Log = TypedEventLog<Event>;
|
|
1069
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
1070
|
+
}
|
|
1071
|
+
export declare namespace OrderNonceInvalidatedEvent {
|
|
1072
|
+
type InputTuple = [
|
|
1073
|
+
wallet: AddressLike,
|
|
1074
|
+
nonce: BigNumberish,
|
|
1075
|
+
timestampInMs: BigNumberish,
|
|
1076
|
+
effectiveBlockTimestamp: BigNumberish
|
|
1077
|
+
];
|
|
1078
|
+
type OutputTuple = [
|
|
1079
|
+
wallet: string,
|
|
1080
|
+
nonce: bigint,
|
|
1081
|
+
timestampInMs: bigint,
|
|
1082
|
+
effectiveBlockTimestamp: bigint
|
|
1083
|
+
];
|
|
1084
|
+
interface OutputObject {
|
|
1085
|
+
wallet: string;
|
|
1086
|
+
nonce: bigint;
|
|
1087
|
+
timestampInMs: bigint;
|
|
1088
|
+
effectiveBlockTimestamp: bigint;
|
|
1089
|
+
}
|
|
1090
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
1091
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
1092
|
+
type Log = TypedEventLog<Event>;
|
|
1093
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
1094
|
+
}
|
|
1095
|
+
export declare namespace PendingDepositAppliedEvent {
|
|
1096
|
+
type InputTuple = [
|
|
1097
|
+
wallet: AddressLike,
|
|
1098
|
+
quantity: BigNumberish,
|
|
1099
|
+
newExchangeBalance: BigNumberish,
|
|
1100
|
+
isAssociatedWithManagedAccount: boolean
|
|
1101
|
+
];
|
|
1102
|
+
type OutputTuple = [
|
|
1103
|
+
wallet: string,
|
|
1104
|
+
quantity: bigint,
|
|
1105
|
+
newExchangeBalance: bigint,
|
|
1106
|
+
isAssociatedWithManagedAccount: boolean
|
|
1107
|
+
];
|
|
1108
|
+
interface OutputObject {
|
|
1109
|
+
wallet: string;
|
|
1110
|
+
quantity: bigint;
|
|
1111
|
+
newExchangeBalance: bigint;
|
|
1112
|
+
isAssociatedWithManagedAccount: boolean;
|
|
1113
|
+
}
|
|
1114
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
1115
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
1116
|
+
type Log = TypedEventLog<Event>;
|
|
1117
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
1118
|
+
}
|
|
1119
|
+
export declare namespace PositionBelowMinimumLiquidationPriceToleranceMultiplierChangedEvent {
|
|
1120
|
+
type InputTuple = [
|
|
1121
|
+
previousValue: BigNumberish,
|
|
1122
|
+
newValue: BigNumberish
|
|
1123
|
+
];
|
|
1124
|
+
type OutputTuple = [previousValue: bigint, newValue: bigint];
|
|
1125
|
+
interface OutputObject {
|
|
1126
|
+
previousValue: bigint;
|
|
1127
|
+
newValue: bigint;
|
|
1128
|
+
}
|
|
1129
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
1130
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
1131
|
+
type Log = TypedEventLog<Event>;
|
|
1132
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
1133
|
+
}
|
|
1134
|
+
export declare namespace QuoteTokenAddressChangedEvent {
|
|
1135
|
+
type InputTuple = [previousValue: AddressLike, newValue: AddressLike];
|
|
1136
|
+
type OutputTuple = [previousValue: string, newValue: string];
|
|
1137
|
+
interface OutputObject {
|
|
1138
|
+
previousValue: string;
|
|
1139
|
+
newValue: string;
|
|
1140
|
+
}
|
|
1141
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
1142
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
1143
|
+
type Log = TypedEventLog<Event>;
|
|
1144
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
1145
|
+
}
|
|
1146
|
+
export declare namespace TradeExecutedEvent {
|
|
1147
|
+
type InputTuple = [
|
|
1148
|
+
buyWallet: AddressLike,
|
|
1149
|
+
sellWallet: AddressLike,
|
|
1150
|
+
baseAssetSymbol: string,
|
|
1151
|
+
quoteAssetSymbol: string,
|
|
1152
|
+
baseQuantity: BigNumberish,
|
|
1153
|
+
quoteQuantity: BigNumberish,
|
|
1154
|
+
makerSide: BigNumberish,
|
|
1155
|
+
makerFeeQuantity: BigNumberish,
|
|
1156
|
+
takerFeeQuantity: BigNumberish
|
|
1157
|
+
];
|
|
1158
|
+
type OutputTuple = [
|
|
1159
|
+
buyWallet: string,
|
|
1160
|
+
sellWallet: string,
|
|
1161
|
+
baseAssetSymbol: string,
|
|
1162
|
+
quoteAssetSymbol: string,
|
|
1163
|
+
baseQuantity: bigint,
|
|
1164
|
+
quoteQuantity: bigint,
|
|
1165
|
+
makerSide: bigint,
|
|
1166
|
+
makerFeeQuantity: bigint,
|
|
1167
|
+
takerFeeQuantity: bigint
|
|
1168
|
+
];
|
|
1169
|
+
interface OutputObject {
|
|
1170
|
+
buyWallet: string;
|
|
1171
|
+
sellWallet: string;
|
|
1172
|
+
baseAssetSymbol: string;
|
|
1173
|
+
quoteAssetSymbol: string;
|
|
1174
|
+
baseQuantity: bigint;
|
|
1175
|
+
quoteQuantity: bigint;
|
|
1176
|
+
makerSide: bigint;
|
|
1177
|
+
makerFeeQuantity: bigint;
|
|
1178
|
+
takerFeeQuantity: bigint;
|
|
1179
|
+
}
|
|
1180
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
1181
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
1182
|
+
type Log = TypedEventLog<Event>;
|
|
1183
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
1184
|
+
}
|
|
1185
|
+
export declare namespace TransferredEvent {
|
|
1186
|
+
type InputTuple = [
|
|
1187
|
+
destinationWallet: AddressLike,
|
|
1188
|
+
sourceWallet: AddressLike,
|
|
1189
|
+
quantity: BigNumberish,
|
|
1190
|
+
newDestinationWalletExchangeBalance: BigNumberish,
|
|
1191
|
+
newSourceWalletExchangeBalance: BigNumberish
|
|
1192
|
+
];
|
|
1193
|
+
type OutputTuple = [
|
|
1194
|
+
destinationWallet: string,
|
|
1195
|
+
sourceWallet: string,
|
|
1196
|
+
quantity: bigint,
|
|
1197
|
+
newDestinationWalletExchangeBalance: bigint,
|
|
1198
|
+
newSourceWalletExchangeBalance: bigint
|
|
1199
|
+
];
|
|
1200
|
+
interface OutputObject {
|
|
1201
|
+
destinationWallet: string;
|
|
1202
|
+
sourceWallet: string;
|
|
1203
|
+
quantity: bigint;
|
|
1204
|
+
newDestinationWalletExchangeBalance: bigint;
|
|
1205
|
+
newSourceWalletExchangeBalance: bigint;
|
|
1206
|
+
}
|
|
1207
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
1208
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
1209
|
+
type Log = TypedEventLog<Event>;
|
|
1210
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
1211
|
+
}
|
|
1212
|
+
export declare namespace WalletExitClearedEvent {
|
|
1213
|
+
type InputTuple = [wallet: AddressLike];
|
|
1214
|
+
type OutputTuple = [wallet: string];
|
|
1215
|
+
interface OutputObject {
|
|
1216
|
+
wallet: string;
|
|
1217
|
+
}
|
|
1218
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
1219
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
1220
|
+
type Log = TypedEventLog<Event>;
|
|
1221
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
1222
|
+
}
|
|
1223
|
+
export declare namespace WalletExitFromManagedAccountWithdrawnEvent {
|
|
1224
|
+
type InputTuple = [
|
|
1225
|
+
managerWallet: AddressLike,
|
|
1226
|
+
depositorWallet: AddressLike,
|
|
1227
|
+
quantity: BigNumberish
|
|
1228
|
+
];
|
|
1229
|
+
type OutputTuple = [
|
|
1230
|
+
managerWallet: string,
|
|
1231
|
+
depositorWallet: string,
|
|
1232
|
+
quantity: bigint
|
|
1233
|
+
];
|
|
1234
|
+
interface OutputObject {
|
|
1235
|
+
managerWallet: string;
|
|
1236
|
+
depositorWallet: string;
|
|
1237
|
+
quantity: bigint;
|
|
1238
|
+
}
|
|
1239
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
1240
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
1241
|
+
type Log = TypedEventLog<Event>;
|
|
1242
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
1243
|
+
}
|
|
1244
|
+
export declare namespace WalletExitWithdrawnEvent {
|
|
1245
|
+
type InputTuple = [wallet: AddressLike, quantity: BigNumberish];
|
|
1246
|
+
type OutputTuple = [wallet: string, quantity: bigint];
|
|
1247
|
+
interface OutputObject {
|
|
1248
|
+
wallet: string;
|
|
1249
|
+
quantity: bigint;
|
|
1250
|
+
}
|
|
1251
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
1252
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
1253
|
+
type Log = TypedEventLog<Event>;
|
|
1254
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
1255
|
+
}
|
|
1256
|
+
export declare namespace WalletExitedEvent {
|
|
1257
|
+
type InputTuple = [
|
|
1258
|
+
wallet: AddressLike,
|
|
1259
|
+
effectiveBlockTimestamp: BigNumberish,
|
|
1260
|
+
isAssociatedWithManagedAccount: boolean
|
|
1261
|
+
];
|
|
1262
|
+
type OutputTuple = [
|
|
1263
|
+
wallet: string,
|
|
1264
|
+
effectiveBlockTimestamp: bigint,
|
|
1265
|
+
isAssociatedWithManagedAccount: boolean
|
|
1266
|
+
];
|
|
1267
|
+
interface OutputObject {
|
|
1268
|
+
wallet: string;
|
|
1269
|
+
effectiveBlockTimestamp: bigint;
|
|
1270
|
+
isAssociatedWithManagedAccount: boolean;
|
|
1271
|
+
}
|
|
1272
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
1273
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
1274
|
+
type Log = TypedEventLog<Event>;
|
|
1275
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
1276
|
+
}
|
|
1277
|
+
export declare namespace WithdrawnEvent {
|
|
1278
|
+
type InputTuple = [
|
|
1279
|
+
wallet: AddressLike,
|
|
1280
|
+
quantity: BigNumberish,
|
|
1281
|
+
newExchangeBalance: BigNumberish,
|
|
1282
|
+
isAssociatedWithManagedAccount: boolean
|
|
1283
|
+
];
|
|
1284
|
+
type OutputTuple = [
|
|
1285
|
+
wallet: string,
|
|
1286
|
+
quantity: bigint,
|
|
1287
|
+
newExchangeBalance: bigint,
|
|
1288
|
+
isAssociatedWithManagedAccount: boolean
|
|
1289
|
+
];
|
|
1290
|
+
interface OutputObject {
|
|
1291
|
+
wallet: string;
|
|
1292
|
+
quantity: bigint;
|
|
1293
|
+
newExchangeBalance: bigint;
|
|
1294
|
+
isAssociatedWithManagedAccount: boolean;
|
|
1295
|
+
}
|
|
1296
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
1297
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
1298
|
+
type Log = TypedEventLog<Event>;
|
|
1299
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
1300
|
+
}
|
|
1301
|
+
export interface Exchange_v2 extends BaseContract {
|
|
1302
|
+
connect(runner?: ContractRunner | null): Exchange_v2;
|
|
1303
|
+
waitForDeployment(): Promise<this>;
|
|
1304
|
+
interface: Exchange_v2Interface;
|
|
1305
|
+
queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
1306
|
+
queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
1307
|
+
on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
1308
|
+
on<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
1309
|
+
once<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
1310
|
+
once<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
1311
|
+
listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
|
|
1312
|
+
listeners(eventName?: string): Promise<Array<Listener>>;
|
|
1313
|
+
removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
|
|
1314
|
+
activateMarket: TypedContractMethod<[
|
|
1315
|
+
baseAssetSymbol: string
|
|
1316
|
+
], [
|
|
1317
|
+
void
|
|
1318
|
+
], 'nonpayable'>;
|
|
1319
|
+
addMarket: TypedContractMethod<[
|
|
1320
|
+
newMarket: MarketStruct
|
|
1321
|
+
], [
|
|
1322
|
+
void
|
|
1323
|
+
], 'nonpayable'>;
|
|
1324
|
+
adminWallet: TypedContractMethod<[], [string], 'view'>;
|
|
1325
|
+
applyOutstandingWalletFundingForMarket: TypedContractMethod<[
|
|
1326
|
+
wallet: AddressLike,
|
|
1327
|
+
baseAssetSymbol: string
|
|
1328
|
+
], [
|
|
1329
|
+
void
|
|
1330
|
+
], 'nonpayable'>;
|
|
1331
|
+
applyPendingDepositForManagedAccount: TypedContractMethod<[
|
|
1332
|
+
depositIndex_: BigNumberish,
|
|
1333
|
+
quantity: BigNumberish,
|
|
1334
|
+
managerWallet: AddressLike
|
|
1335
|
+
], [
|
|
1336
|
+
void
|
|
1337
|
+
], 'nonpayable'>;
|
|
1338
|
+
applyPendingDepositsForWallet: TypedContractMethod<[
|
|
1339
|
+
quantity: BigNumberish,
|
|
1340
|
+
wallet: AddressLike
|
|
1341
|
+
], [
|
|
1342
|
+
void
|
|
1343
|
+
], 'nonpayable'>;
|
|
1344
|
+
associateManagerWalletWithManagedAccount: TypedContractMethod<[
|
|
1345
|
+
managerWallet: AddressLike
|
|
1346
|
+
], [
|
|
1347
|
+
void
|
|
1348
|
+
], 'nonpayable'>;
|
|
1349
|
+
cancelWithdrawalFromManagedAccount: TypedContractMethod<[
|
|
1350
|
+
withdrawal: WithdrawalFromManagedAccountStruct
|
|
1351
|
+
], [
|
|
1352
|
+
void
|
|
1353
|
+
], 'nonpayable'>;
|
|
1354
|
+
chainPropagationPeriodInS: TypedContractMethod<[], [bigint], 'view'>;
|
|
1355
|
+
clearWalletExit: TypedContractMethod<[], [void], 'nonpayable'>;
|
|
1356
|
+
custodian: TypedContractMethod<[], [string], 'view'>;
|
|
1357
|
+
deactivateMarket: TypedContractMethod<[
|
|
1358
|
+
baseAssetSymbol: string
|
|
1359
|
+
], [
|
|
1360
|
+
void
|
|
1361
|
+
], 'nonpayable'>;
|
|
1362
|
+
delegateKeyExpirationPeriodInMs: TypedContractMethod<[], [bigint], 'view'>;
|
|
1363
|
+
deleverageExitAcquisition: TypedContractMethod<[
|
|
1364
|
+
deleverageArguments: AcquisitionDeleverageArgumentsStruct
|
|
1365
|
+
], [
|
|
1366
|
+
void
|
|
1367
|
+
], 'nonpayable'>;
|
|
1368
|
+
deleverageExitFundClosure: TypedContractMethod<[
|
|
1369
|
+
deleverageArguments: ClosureDeleverageArgumentsStruct
|
|
1370
|
+
], [
|
|
1371
|
+
void
|
|
1372
|
+
], 'nonpayable'>;
|
|
1373
|
+
deleverageInMaintenanceAcquisition: TypedContractMethod<[
|
|
1374
|
+
deleverageArguments: AcquisitionDeleverageArgumentsStruct
|
|
1375
|
+
], [
|
|
1376
|
+
void
|
|
1377
|
+
], 'nonpayable'>;
|
|
1378
|
+
deleverageInsuranceFundClosure: TypedContractMethod<[
|
|
1379
|
+
deleverageArguments: ClosureDeleverageArgumentsStruct
|
|
1380
|
+
], [
|
|
1381
|
+
void
|
|
1382
|
+
], 'nonpayable'>;
|
|
1383
|
+
deposit: TypedContractMethod<[
|
|
1384
|
+
quantityInAssetUnits: BigNumberish,
|
|
1385
|
+
depositorWallet: AddressLike
|
|
1386
|
+
], [
|
|
1387
|
+
void
|
|
1388
|
+
], 'nonpayable'>;
|
|
1389
|
+
depositIndex: TypedContractMethod<[], [bigint], 'view'>;
|
|
1390
|
+
depositToManagedAccount: TypedContractMethod<[
|
|
1391
|
+
quantityInAssetUnits: BigNumberish,
|
|
1392
|
+
depositorWallet: AddressLike,
|
|
1393
|
+
managedAccountProvider: AddressLike,
|
|
1394
|
+
managedAccountProviderPayload: BytesLike,
|
|
1395
|
+
managerWallet: AddressLike
|
|
1396
|
+
], [
|
|
1397
|
+
void
|
|
1398
|
+
], 'nonpayable'>;
|
|
1399
|
+
dispatcherWallet: TypedContractMethod<[], [string], 'view'>;
|
|
1400
|
+
domainSeparatorV4: TypedContractMethod<[], [string], 'view'>;
|
|
1401
|
+
eip712Domain: TypedContractMethod<[
|
|
1402
|
+
], [
|
|
1403
|
+
[
|
|
1404
|
+
string,
|
|
1405
|
+
string,
|
|
1406
|
+
string,
|
|
1407
|
+
bigint,
|
|
1408
|
+
string,
|
|
1409
|
+
string,
|
|
1410
|
+
bigint[]
|
|
1411
|
+
] & {
|
|
1412
|
+
fields: string;
|
|
1413
|
+
name: string;
|
|
1414
|
+
version: string;
|
|
1415
|
+
chainId: bigint;
|
|
1416
|
+
verifyingContract: string;
|
|
1417
|
+
salt: string;
|
|
1418
|
+
extensions: bigint[];
|
|
1419
|
+
}
|
|
1420
|
+
], 'view'>;
|
|
1421
|
+
executeTrade: TypedContractMethod<[
|
|
1422
|
+
trade: TradeStruct,
|
|
1423
|
+
buy: OrderStruct,
|
|
1424
|
+
sell: OrderStruct
|
|
1425
|
+
], [
|
|
1426
|
+
void
|
|
1427
|
+
], 'nonpayable'>;
|
|
1428
|
+
exitFundPositionOpenedAtBlockTimestamp: TypedContractMethod<[
|
|
1429
|
+
], [
|
|
1430
|
+
bigint
|
|
1431
|
+
], 'view'>;
|
|
1432
|
+
exitFundWallet: TypedContractMethod<[], [string], 'view'>;
|
|
1433
|
+
exitWallet: TypedContractMethod<[wallet: AddressLike], [void], 'nonpayable'>;
|
|
1434
|
+
feeWallet: TypedContractMethod<[], [string], 'view'>;
|
|
1435
|
+
fundingMultipliersByBaseAssetSymbol: TypedContractMethod<[
|
|
1436
|
+
arg0: string,
|
|
1437
|
+
arg1: BigNumberish
|
|
1438
|
+
], [
|
|
1439
|
+
[
|
|
1440
|
+
bigint,
|
|
1441
|
+
bigint,
|
|
1442
|
+
bigint,
|
|
1443
|
+
bigint
|
|
1444
|
+
] & {
|
|
1445
|
+
fundingMultiplier0: bigint;
|
|
1446
|
+
fundingMultiplier1: bigint;
|
|
1447
|
+
fundingMultiplier2: bigint;
|
|
1448
|
+
fundingMultiplier3: bigint;
|
|
1449
|
+
}
|
|
1450
|
+
], 'view'>;
|
|
1451
|
+
insuranceFundWallet: TypedContractMethod<[], [string], 'view'>;
|
|
1452
|
+
invalidateNonce: TypedContractMethod<[
|
|
1453
|
+
nonce: BigNumberish
|
|
1454
|
+
], [
|
|
1455
|
+
void
|
|
1456
|
+
], 'nonpayable'>;
|
|
1457
|
+
isDepositEnabled: TypedContractMethod<[], [boolean], 'view'>;
|
|
1458
|
+
lastFundingRatePublishTimestampInMsByBaseAssetSymbol: TypedContractMethod<[
|
|
1459
|
+
arg0: string
|
|
1460
|
+
], [
|
|
1461
|
+
bigint
|
|
1462
|
+
], 'view'>;
|
|
1463
|
+
liquidatePositionBelowMinimum: TypedContractMethod<[
|
|
1464
|
+
liquidationArguments: PositionBelowMinimumLiquidationArgumentsStruct
|
|
1465
|
+
], [
|
|
1466
|
+
void
|
|
1467
|
+
], 'nonpayable'>;
|
|
1468
|
+
liquidatePositionInDeactivatedMarket: TypedContractMethod<[
|
|
1469
|
+
liquidationArguments: PositionInDeactivatedMarketLiquidationArgumentsStruct
|
|
1470
|
+
], [
|
|
1471
|
+
void
|
|
1472
|
+
], 'nonpayable'>;
|
|
1473
|
+
liquidateWalletExit: TypedContractMethod<[
|
|
1474
|
+
liquidationArguments: WalletLiquidationArgumentsStruct
|
|
1475
|
+
], [
|
|
1476
|
+
void
|
|
1477
|
+
], 'nonpayable'>;
|
|
1478
|
+
liquidateWalletInMaintenance: TypedContractMethod<[
|
|
1479
|
+
liquidationArguments: WalletLiquidationArgumentsStruct
|
|
1480
|
+
], [
|
|
1481
|
+
void
|
|
1482
|
+
], 'nonpayable'>;
|
|
1483
|
+
liquidateWalletInMaintenanceDuringSystemRecovery: TypedContractMethod<[
|
|
1484
|
+
liquidationArguments: WalletLiquidationArgumentsStruct
|
|
1485
|
+
], [
|
|
1486
|
+
void
|
|
1487
|
+
], 'nonpayable'>;
|
|
1488
|
+
loadBalanceBySymbol: TypedContractMethod<[
|
|
1489
|
+
wallet: AddressLike,
|
|
1490
|
+
assetSymbol: string
|
|
1491
|
+
], [
|
|
1492
|
+
bigint
|
|
1493
|
+
], 'view'>;
|
|
1494
|
+
loadBalanceStructBySymbol: TypedContractMethod<[
|
|
1495
|
+
wallet: AddressLike,
|
|
1496
|
+
assetSymbol: string
|
|
1497
|
+
], [
|
|
1498
|
+
BalanceStructOutput
|
|
1499
|
+
], 'view'>;
|
|
1500
|
+
loadBaseAssetSymbolsWithOpenPositionsByWallet: TypedContractMethod<[
|
|
1501
|
+
wallet: AddressLike
|
|
1502
|
+
], [
|
|
1503
|
+
string[]
|
|
1504
|
+
], 'view'>;
|
|
1505
|
+
loadBridgeAdapter: TypedContractMethod<[
|
|
1506
|
+
index: BigNumberish
|
|
1507
|
+
], [
|
|
1508
|
+
string
|
|
1509
|
+
], 'view'>;
|
|
1510
|
+
loadBridgeAdaptersLength: TypedContractMethod<[], [bigint], 'view'>;
|
|
1511
|
+
loadIndexPriceAdaptersLength: TypedContractMethod<[], [bigint], 'view'>;
|
|
1512
|
+
loadIndexPriceAdaptersProvider: TypedContractMethod<[
|
|
1513
|
+
index: BigNumberish
|
|
1514
|
+
], [
|
|
1515
|
+
string
|
|
1516
|
+
], 'view'>;
|
|
1517
|
+
loadLastNonceInvalidationForWallet: TypedContractMethod<[
|
|
1518
|
+
wallet: AddressLike
|
|
1519
|
+
], [
|
|
1520
|
+
NonceInvalidationStructOutput
|
|
1521
|
+
], 'view'>;
|
|
1522
|
+
loadManagedAccountProvider: TypedContractMethod<[
|
|
1523
|
+
index: BigNumberish
|
|
1524
|
+
], [
|
|
1525
|
+
string
|
|
1526
|
+
], 'view'>;
|
|
1527
|
+
loadManagedAccountProvidersLength: TypedContractMethod<[], [bigint], 'view'>;
|
|
1528
|
+
loadMarket: TypedContractMethod<[
|
|
1529
|
+
index: BigNumberish
|
|
1530
|
+
], [
|
|
1531
|
+
MarketStructOutput
|
|
1532
|
+
], 'view'>;
|
|
1533
|
+
loadMarketsLength: TypedContractMethod<[], [bigint], 'view'>;
|
|
1534
|
+
loadOutstandingWalletFunding: TypedContractMethod<[
|
|
1535
|
+
wallet: AddressLike
|
|
1536
|
+
], [
|
|
1537
|
+
bigint
|
|
1538
|
+
], 'view'>;
|
|
1539
|
+
loadQuoteQuantityAvailableForExitWithdrawal: TypedContractMethod<[
|
|
1540
|
+
wallet: AddressLike
|
|
1541
|
+
], [
|
|
1542
|
+
bigint
|
|
1543
|
+
], 'view'>;
|
|
1544
|
+
loadTotalAccountValueFromIndexPrices: TypedContractMethod<[
|
|
1545
|
+
wallet: AddressLike
|
|
1546
|
+
], [
|
|
1547
|
+
bigint
|
|
1548
|
+
], 'view'>;
|
|
1549
|
+
loadTotalAccountValueFromOraclePrices: TypedContractMethod<[
|
|
1550
|
+
wallet: AddressLike
|
|
1551
|
+
], [
|
|
1552
|
+
bigint
|
|
1553
|
+
], 'view'>;
|
|
1554
|
+
loadTotalInitialMarginRequirementFromIndexPrices: TypedContractMethod<[
|
|
1555
|
+
wallet: AddressLike
|
|
1556
|
+
], [
|
|
1557
|
+
bigint
|
|
1558
|
+
], 'view'>;
|
|
1559
|
+
loadTotalInitialMarginRequirementFromOraclePrices: TypedContractMethod<[
|
|
1560
|
+
wallet: AddressLike
|
|
1561
|
+
], [
|
|
1562
|
+
bigint
|
|
1563
|
+
], 'view'>;
|
|
1564
|
+
loadTotalMaintenanceMarginRequirementFromIndexPrices: TypedContractMethod<[
|
|
1565
|
+
wallet: AddressLike
|
|
1566
|
+
], [
|
|
1567
|
+
bigint
|
|
1568
|
+
], 'view'>;
|
|
1569
|
+
loadTotalMaintenanceMarginRequirementFromOraclePrices: TypedContractMethod<[
|
|
1570
|
+
wallet: AddressLike
|
|
1571
|
+
], [
|
|
1572
|
+
bigint
|
|
1573
|
+
], 'view'>;
|
|
1574
|
+
loadWalletExitStatus: TypedContractMethod<[
|
|
1575
|
+
wallet: AddressLike
|
|
1576
|
+
], [
|
|
1577
|
+
WalletExitStructOutput
|
|
1578
|
+
], 'view'>;
|
|
1579
|
+
marketOverridesByBaseAssetSymbolAndWallet: TypedContractMethod<[
|
|
1580
|
+
arg0: string,
|
|
1581
|
+
arg1: AddressLike
|
|
1582
|
+
], [
|
|
1583
|
+
[
|
|
1584
|
+
boolean,
|
|
1585
|
+
OverridableMarketFieldsStructOutput
|
|
1586
|
+
] & {
|
|
1587
|
+
exists: boolean;
|
|
1588
|
+
overridableFields: OverridableMarketFieldsStructOutput;
|
|
1589
|
+
}
|
|
1590
|
+
], 'view'>;
|
|
1591
|
+
migrateQuoteTokenAddress: TypedContractMethod<[], [void], 'nonpayable'>;
|
|
1592
|
+
oraclePriceAdapter: TypedContractMethod<[], [string], 'view'>;
|
|
1593
|
+
ownerWallet: TypedContractMethod<[], [string], 'view'>;
|
|
1594
|
+
pendingDepositQuantityByWallet: TypedContractMethod<[
|
|
1595
|
+
arg0: AddressLike
|
|
1596
|
+
], [
|
|
1597
|
+
bigint
|
|
1598
|
+
], 'view'>;
|
|
1599
|
+
positionBelowMinimumLiquidationPriceToleranceMultiplier: TypedContractMethod<[
|
|
1600
|
+
], [
|
|
1601
|
+
bigint
|
|
1602
|
+
], 'view'>;
|
|
1603
|
+
publishFundingMultiplier: TypedContractMethod<[
|
|
1604
|
+
baseAssetSymbol: string,
|
|
1605
|
+
fundingRate: BigNumberish
|
|
1606
|
+
], [
|
|
1607
|
+
void
|
|
1608
|
+
], 'nonpayable'>;
|
|
1609
|
+
publishIndexPrices: TypedContractMethod<[
|
|
1610
|
+
encodedIndexPrices: IndexPricePayloadStruct[]
|
|
1611
|
+
], [
|
|
1612
|
+
void
|
|
1613
|
+
], 'nonpayable'>;
|
|
1614
|
+
quoteTokenAddress: TypedContractMethod<[], [string], 'view'>;
|
|
1615
|
+
removeAdmin: TypedContractMethod<[], [void], 'nonpayable'>;
|
|
1616
|
+
removeDispatcher: TypedContractMethod<[], [void], 'nonpayable'>;
|
|
1617
|
+
removeOwner: TypedContractMethod<[], [void], 'nonpayable'>;
|
|
1618
|
+
setAdmin: TypedContractMethod<[newAdmin: AddressLike], [void], 'nonpayable'>;
|
|
1619
|
+
setBridgeAdapters: TypedContractMethod<[
|
|
1620
|
+
newBridgeAdapters: AddressLike[]
|
|
1621
|
+
], [
|
|
1622
|
+
void
|
|
1623
|
+
], 'nonpayable'>;
|
|
1624
|
+
setChainPropagationPeriod: TypedContractMethod<[
|
|
1625
|
+
newChainPropagationPeriodInS: BigNumberish
|
|
1626
|
+
], [
|
|
1627
|
+
void
|
|
1628
|
+
], 'nonpayable'>;
|
|
1629
|
+
setCustodian: TypedContractMethod<[
|
|
1630
|
+
newCustodian: AddressLike
|
|
1631
|
+
], [
|
|
1632
|
+
void
|
|
1633
|
+
], 'nonpayable'>;
|
|
1634
|
+
setDelegateKeyExpirationPeriod: TypedContractMethod<[
|
|
1635
|
+
newDelegateKeyExpirationPeriodInMs: BigNumberish
|
|
1636
|
+
], [
|
|
1637
|
+
void
|
|
1638
|
+
], 'nonpayable'>;
|
|
1639
|
+
setDepositEnabled: TypedContractMethod<[
|
|
1640
|
+
isEnabled: boolean
|
|
1641
|
+
], [
|
|
1642
|
+
void
|
|
1643
|
+
], 'nonpayable'>;
|
|
1644
|
+
setDepositIndex: TypedContractMethod<[], [void], 'nonpayable'>;
|
|
1645
|
+
setDispatcher: TypedContractMethod<[
|
|
1646
|
+
newDispatcherWallet: AddressLike
|
|
1647
|
+
], [
|
|
1648
|
+
void
|
|
1649
|
+
], 'nonpayable'>;
|
|
1650
|
+
setExitFundWallet: TypedContractMethod<[
|
|
1651
|
+
newExitFundWallet: AddressLike
|
|
1652
|
+
], [
|
|
1653
|
+
void
|
|
1654
|
+
], 'nonpayable'>;
|
|
1655
|
+
setFeeWallet: TypedContractMethod<[
|
|
1656
|
+
newFeeWallet: AddressLike
|
|
1657
|
+
], [
|
|
1658
|
+
void
|
|
1659
|
+
], 'nonpayable'>;
|
|
1660
|
+
setIndexPriceAdapters: TypedContractMethod<[
|
|
1661
|
+
newIndexPriceAdapters: AddressLike[]
|
|
1662
|
+
], [
|
|
1663
|
+
void
|
|
1664
|
+
], 'nonpayable'>;
|
|
1665
|
+
setInsuranceFundWallet: TypedContractMethod<[
|
|
1666
|
+
newInsuranceFundWallet: AddressLike
|
|
1667
|
+
], [
|
|
1668
|
+
void
|
|
1669
|
+
], 'nonpayable'>;
|
|
1670
|
+
setManagedAccounts: TypedContractMethod<[
|
|
1671
|
+
newManagedAccountProviders: AddressLike[]
|
|
1672
|
+
], [
|
|
1673
|
+
void
|
|
1674
|
+
], 'nonpayable'>;
|
|
1675
|
+
setMarketOverrides: TypedContractMethod<[
|
|
1676
|
+
baseAssetSymbol: string,
|
|
1677
|
+
overridableFields: OverridableMarketFieldsStruct,
|
|
1678
|
+
wallet: AddressLike
|
|
1679
|
+
], [
|
|
1680
|
+
void
|
|
1681
|
+
], 'nonpayable'>;
|
|
1682
|
+
setOraclePriceAdapter: TypedContractMethod<[
|
|
1683
|
+
newOraclePriceAdapter: AddressLike
|
|
1684
|
+
], [
|
|
1685
|
+
void
|
|
1686
|
+
], 'nonpayable'>;
|
|
1687
|
+
setOwner: TypedContractMethod<[newOwner: AddressLike], [void], 'nonpayable'>;
|
|
1688
|
+
setPositionBelowMinimumLiquidationPriceToleranceMultiplier: TypedContractMethod<[
|
|
1689
|
+
newPositionBelowMinimumLiquidationPriceToleranceMultiplier: BigNumberish
|
|
1690
|
+
], [
|
|
1691
|
+
void
|
|
1692
|
+
], 'nonpayable'>;
|
|
1693
|
+
skim: TypedContractMethod<[tokenAddress: AddressLike], [void], 'nonpayable'>;
|
|
1694
|
+
transfer: TypedContractMethod<[
|
|
1695
|
+
transfer_: TransferStruct
|
|
1696
|
+
], [
|
|
1697
|
+
void
|
|
1698
|
+
], 'nonpayable'>;
|
|
1699
|
+
unsetMarketOverridesForWallet: TypedContractMethod<[
|
|
1700
|
+
baseAssetSymbol: string,
|
|
1701
|
+
wallet: AddressLike
|
|
1702
|
+
], [
|
|
1703
|
+
void
|
|
1704
|
+
], 'nonpayable'>;
|
|
1705
|
+
withdraw: TypedContractMethod<[
|
|
1706
|
+
withdrawal: WithdrawalStruct
|
|
1707
|
+
], [
|
|
1708
|
+
void
|
|
1709
|
+
], 'nonpayable'>;
|
|
1710
|
+
withdrawExit: TypedContractMethod<[
|
|
1711
|
+
wallet: AddressLike
|
|
1712
|
+
], [
|
|
1713
|
+
void
|
|
1714
|
+
], 'nonpayable'>;
|
|
1715
|
+
withdrawExitAdmin: TypedContractMethod<[
|
|
1716
|
+
wallet: AddressLike
|
|
1717
|
+
], [
|
|
1718
|
+
void
|
|
1719
|
+
], 'nonpayable'>;
|
|
1720
|
+
withdrawExitFromManagedAccount: TypedContractMethod<[
|
|
1721
|
+
depositorWallet: AddressLike,
|
|
1722
|
+
managerWallet: AddressLike,
|
|
1723
|
+
quantity: BigNumberish
|
|
1724
|
+
], [
|
|
1725
|
+
void
|
|
1726
|
+
], 'nonpayable'>;
|
|
1727
|
+
withdrawFromManagedAccount: TypedContractMethod<[
|
|
1728
|
+
withdrawal: WithdrawalFromManagedAccountStruct
|
|
1729
|
+
], [
|
|
1730
|
+
void
|
|
1731
|
+
], 'nonpayable'>;
|
|
1732
|
+
getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
|
|
1733
|
+
getFunction(nameOrSignature: 'activateMarket'): TypedContractMethod<[baseAssetSymbol: string], [void], 'nonpayable'>;
|
|
1734
|
+
getFunction(nameOrSignature: 'addMarket'): TypedContractMethod<[newMarket: MarketStruct], [void], 'nonpayable'>;
|
|
1735
|
+
getFunction(nameOrSignature: 'adminWallet'): TypedContractMethod<[], [string], 'view'>;
|
|
1736
|
+
getFunction(nameOrSignature: 'applyOutstandingWalletFundingForMarket'): TypedContractMethod<[
|
|
1737
|
+
wallet: AddressLike,
|
|
1738
|
+
baseAssetSymbol: string
|
|
1739
|
+
], [
|
|
1740
|
+
void
|
|
1741
|
+
], 'nonpayable'>;
|
|
1742
|
+
getFunction(nameOrSignature: 'applyPendingDepositForManagedAccount'): TypedContractMethod<[
|
|
1743
|
+
depositIndex_: BigNumberish,
|
|
1744
|
+
quantity: BigNumberish,
|
|
1745
|
+
managerWallet: AddressLike
|
|
1746
|
+
], [
|
|
1747
|
+
void
|
|
1748
|
+
], 'nonpayable'>;
|
|
1749
|
+
getFunction(nameOrSignature: 'applyPendingDepositsForWallet'): TypedContractMethod<[
|
|
1750
|
+
quantity: BigNumberish,
|
|
1751
|
+
wallet: AddressLike
|
|
1752
|
+
], [
|
|
1753
|
+
void
|
|
1754
|
+
], 'nonpayable'>;
|
|
1755
|
+
getFunction(nameOrSignature: 'associateManagerWalletWithManagedAccount'): TypedContractMethod<[managerWallet: AddressLike], [void], 'nonpayable'>;
|
|
1756
|
+
getFunction(nameOrSignature: 'cancelWithdrawalFromManagedAccount'): TypedContractMethod<[
|
|
1757
|
+
withdrawal: WithdrawalFromManagedAccountStruct
|
|
1758
|
+
], [
|
|
1759
|
+
void
|
|
1760
|
+
], 'nonpayable'>;
|
|
1761
|
+
getFunction(nameOrSignature: 'chainPropagationPeriodInS'): TypedContractMethod<[], [bigint], 'view'>;
|
|
1762
|
+
getFunction(nameOrSignature: 'clearWalletExit'): TypedContractMethod<[], [void], 'nonpayable'>;
|
|
1763
|
+
getFunction(nameOrSignature: 'custodian'): TypedContractMethod<[], [string], 'view'>;
|
|
1764
|
+
getFunction(nameOrSignature: 'deactivateMarket'): TypedContractMethod<[baseAssetSymbol: string], [void], 'nonpayable'>;
|
|
1765
|
+
getFunction(nameOrSignature: 'delegateKeyExpirationPeriodInMs'): TypedContractMethod<[], [bigint], 'view'>;
|
|
1766
|
+
getFunction(nameOrSignature: 'deleverageExitAcquisition'): TypedContractMethod<[
|
|
1767
|
+
deleverageArguments: AcquisitionDeleverageArgumentsStruct
|
|
1768
|
+
], [
|
|
1769
|
+
void
|
|
1770
|
+
], 'nonpayable'>;
|
|
1771
|
+
getFunction(nameOrSignature: 'deleverageExitFundClosure'): TypedContractMethod<[
|
|
1772
|
+
deleverageArguments: ClosureDeleverageArgumentsStruct
|
|
1773
|
+
], [
|
|
1774
|
+
void
|
|
1775
|
+
], 'nonpayable'>;
|
|
1776
|
+
getFunction(nameOrSignature: 'deleverageInMaintenanceAcquisition'): TypedContractMethod<[
|
|
1777
|
+
deleverageArguments: AcquisitionDeleverageArgumentsStruct
|
|
1778
|
+
], [
|
|
1779
|
+
void
|
|
1780
|
+
], 'nonpayable'>;
|
|
1781
|
+
getFunction(nameOrSignature: 'deleverageInsuranceFundClosure'): TypedContractMethod<[
|
|
1782
|
+
deleverageArguments: ClosureDeleverageArgumentsStruct
|
|
1783
|
+
], [
|
|
1784
|
+
void
|
|
1785
|
+
], 'nonpayable'>;
|
|
1786
|
+
getFunction(nameOrSignature: 'deposit'): TypedContractMethod<[
|
|
1787
|
+
quantityInAssetUnits: BigNumberish,
|
|
1788
|
+
depositorWallet: AddressLike
|
|
1789
|
+
], [
|
|
1790
|
+
void
|
|
1791
|
+
], 'nonpayable'>;
|
|
1792
|
+
getFunction(nameOrSignature: 'depositIndex'): TypedContractMethod<[], [bigint], 'view'>;
|
|
1793
|
+
getFunction(nameOrSignature: 'depositToManagedAccount'): TypedContractMethod<[
|
|
1794
|
+
quantityInAssetUnits: BigNumberish,
|
|
1795
|
+
depositorWallet: AddressLike,
|
|
1796
|
+
managedAccountProvider: AddressLike,
|
|
1797
|
+
managedAccountProviderPayload: BytesLike,
|
|
1798
|
+
managerWallet: AddressLike
|
|
1799
|
+
], [
|
|
1800
|
+
void
|
|
1801
|
+
], 'nonpayable'>;
|
|
1802
|
+
getFunction(nameOrSignature: 'dispatcherWallet'): TypedContractMethod<[], [string], 'view'>;
|
|
1803
|
+
getFunction(nameOrSignature: 'domainSeparatorV4'): TypedContractMethod<[], [string], 'view'>;
|
|
1804
|
+
getFunction(nameOrSignature: 'eip712Domain'): TypedContractMethod<[
|
|
1805
|
+
], [
|
|
1806
|
+
[
|
|
1807
|
+
string,
|
|
1808
|
+
string,
|
|
1809
|
+
string,
|
|
1810
|
+
bigint,
|
|
1811
|
+
string,
|
|
1812
|
+
string,
|
|
1813
|
+
bigint[]
|
|
1814
|
+
] & {
|
|
1815
|
+
fields: string;
|
|
1816
|
+
name: string;
|
|
1817
|
+
version: string;
|
|
1818
|
+
chainId: bigint;
|
|
1819
|
+
verifyingContract: string;
|
|
1820
|
+
salt: string;
|
|
1821
|
+
extensions: bigint[];
|
|
1822
|
+
}
|
|
1823
|
+
], 'view'>;
|
|
1824
|
+
getFunction(nameOrSignature: 'executeTrade'): TypedContractMethod<[
|
|
1825
|
+
trade: TradeStruct,
|
|
1826
|
+
buy: OrderStruct,
|
|
1827
|
+
sell: OrderStruct
|
|
1828
|
+
], [
|
|
1829
|
+
void
|
|
1830
|
+
], 'nonpayable'>;
|
|
1831
|
+
getFunction(nameOrSignature: 'exitFundPositionOpenedAtBlockTimestamp'): TypedContractMethod<[], [bigint], 'view'>;
|
|
1832
|
+
getFunction(nameOrSignature: 'exitFundWallet'): TypedContractMethod<[], [string], 'view'>;
|
|
1833
|
+
getFunction(nameOrSignature: 'exitWallet'): TypedContractMethod<[wallet: AddressLike], [void], 'nonpayable'>;
|
|
1834
|
+
getFunction(nameOrSignature: 'feeWallet'): TypedContractMethod<[], [string], 'view'>;
|
|
1835
|
+
getFunction(nameOrSignature: 'fundingMultipliersByBaseAssetSymbol'): TypedContractMethod<[
|
|
1836
|
+
arg0: string,
|
|
1837
|
+
arg1: BigNumberish
|
|
1838
|
+
], [
|
|
1839
|
+
[
|
|
1840
|
+
bigint,
|
|
1841
|
+
bigint,
|
|
1842
|
+
bigint,
|
|
1843
|
+
bigint
|
|
1844
|
+
] & {
|
|
1845
|
+
fundingMultiplier0: bigint;
|
|
1846
|
+
fundingMultiplier1: bigint;
|
|
1847
|
+
fundingMultiplier2: bigint;
|
|
1848
|
+
fundingMultiplier3: bigint;
|
|
1849
|
+
}
|
|
1850
|
+
], 'view'>;
|
|
1851
|
+
getFunction(nameOrSignature: 'insuranceFundWallet'): TypedContractMethod<[], [string], 'view'>;
|
|
1852
|
+
getFunction(nameOrSignature: 'invalidateNonce'): TypedContractMethod<[nonce: BigNumberish], [void], 'nonpayable'>;
|
|
1853
|
+
getFunction(nameOrSignature: 'isDepositEnabled'): TypedContractMethod<[], [boolean], 'view'>;
|
|
1854
|
+
getFunction(nameOrSignature: 'lastFundingRatePublishTimestampInMsByBaseAssetSymbol'): TypedContractMethod<[arg0: string], [bigint], 'view'>;
|
|
1855
|
+
getFunction(nameOrSignature: 'liquidatePositionBelowMinimum'): TypedContractMethod<[
|
|
1856
|
+
liquidationArguments: PositionBelowMinimumLiquidationArgumentsStruct
|
|
1857
|
+
], [
|
|
1858
|
+
void
|
|
1859
|
+
], 'nonpayable'>;
|
|
1860
|
+
getFunction(nameOrSignature: 'liquidatePositionInDeactivatedMarket'): TypedContractMethod<[
|
|
1861
|
+
liquidationArguments: PositionInDeactivatedMarketLiquidationArgumentsStruct
|
|
1862
|
+
], [
|
|
1863
|
+
void
|
|
1864
|
+
], 'nonpayable'>;
|
|
1865
|
+
getFunction(nameOrSignature: 'liquidateWalletExit'): TypedContractMethod<[
|
|
1866
|
+
liquidationArguments: WalletLiquidationArgumentsStruct
|
|
1867
|
+
], [
|
|
1868
|
+
void
|
|
1869
|
+
], 'nonpayable'>;
|
|
1870
|
+
getFunction(nameOrSignature: 'liquidateWalletInMaintenance'): TypedContractMethod<[
|
|
1871
|
+
liquidationArguments: WalletLiquidationArgumentsStruct
|
|
1872
|
+
], [
|
|
1873
|
+
void
|
|
1874
|
+
], 'nonpayable'>;
|
|
1875
|
+
getFunction(nameOrSignature: 'liquidateWalletInMaintenanceDuringSystemRecovery'): TypedContractMethod<[
|
|
1876
|
+
liquidationArguments: WalletLiquidationArgumentsStruct
|
|
1877
|
+
], [
|
|
1878
|
+
void
|
|
1879
|
+
], 'nonpayable'>;
|
|
1880
|
+
getFunction(nameOrSignature: 'loadBalanceBySymbol'): TypedContractMethod<[
|
|
1881
|
+
wallet: AddressLike,
|
|
1882
|
+
assetSymbol: string
|
|
1883
|
+
], [
|
|
1884
|
+
bigint
|
|
1885
|
+
], 'view'>;
|
|
1886
|
+
getFunction(nameOrSignature: 'loadBalanceStructBySymbol'): TypedContractMethod<[
|
|
1887
|
+
wallet: AddressLike,
|
|
1888
|
+
assetSymbol: string
|
|
1889
|
+
], [
|
|
1890
|
+
BalanceStructOutput
|
|
1891
|
+
], 'view'>;
|
|
1892
|
+
getFunction(nameOrSignature: 'loadBaseAssetSymbolsWithOpenPositionsByWallet'): TypedContractMethod<[wallet: AddressLike], [string[]], 'view'>;
|
|
1893
|
+
getFunction(nameOrSignature: 'loadBridgeAdapter'): TypedContractMethod<[index: BigNumberish], [string], 'view'>;
|
|
1894
|
+
getFunction(nameOrSignature: 'loadBridgeAdaptersLength'): TypedContractMethod<[], [bigint], 'view'>;
|
|
1895
|
+
getFunction(nameOrSignature: 'loadIndexPriceAdaptersLength'): TypedContractMethod<[], [bigint], 'view'>;
|
|
1896
|
+
getFunction(nameOrSignature: 'loadIndexPriceAdaptersProvider'): TypedContractMethod<[index: BigNumberish], [string], 'view'>;
|
|
1897
|
+
getFunction(nameOrSignature: 'loadLastNonceInvalidationForWallet'): TypedContractMethod<[
|
|
1898
|
+
wallet: AddressLike
|
|
1899
|
+
], [
|
|
1900
|
+
NonceInvalidationStructOutput
|
|
1901
|
+
], 'view'>;
|
|
1902
|
+
getFunction(nameOrSignature: 'loadManagedAccountProvider'): TypedContractMethod<[index: BigNumberish], [string], 'view'>;
|
|
1903
|
+
getFunction(nameOrSignature: 'loadManagedAccountProvidersLength'): TypedContractMethod<[], [bigint], 'view'>;
|
|
1904
|
+
getFunction(nameOrSignature: 'loadMarket'): TypedContractMethod<[index: BigNumberish], [MarketStructOutput], 'view'>;
|
|
1905
|
+
getFunction(nameOrSignature: 'loadMarketsLength'): TypedContractMethod<[], [bigint], 'view'>;
|
|
1906
|
+
getFunction(nameOrSignature: 'loadOutstandingWalletFunding'): TypedContractMethod<[wallet: AddressLike], [bigint], 'view'>;
|
|
1907
|
+
getFunction(nameOrSignature: 'loadQuoteQuantityAvailableForExitWithdrawal'): TypedContractMethod<[wallet: AddressLike], [bigint], 'view'>;
|
|
1908
|
+
getFunction(nameOrSignature: 'loadTotalAccountValueFromIndexPrices'): TypedContractMethod<[wallet: AddressLike], [bigint], 'view'>;
|
|
1909
|
+
getFunction(nameOrSignature: 'loadTotalAccountValueFromOraclePrices'): TypedContractMethod<[wallet: AddressLike], [bigint], 'view'>;
|
|
1910
|
+
getFunction(nameOrSignature: 'loadTotalInitialMarginRequirementFromIndexPrices'): TypedContractMethod<[wallet: AddressLike], [bigint], 'view'>;
|
|
1911
|
+
getFunction(nameOrSignature: 'loadTotalInitialMarginRequirementFromOraclePrices'): TypedContractMethod<[wallet: AddressLike], [bigint], 'view'>;
|
|
1912
|
+
getFunction(nameOrSignature: 'loadTotalMaintenanceMarginRequirementFromIndexPrices'): TypedContractMethod<[wallet: AddressLike], [bigint], 'view'>;
|
|
1913
|
+
getFunction(nameOrSignature: 'loadTotalMaintenanceMarginRequirementFromOraclePrices'): TypedContractMethod<[wallet: AddressLike], [bigint], 'view'>;
|
|
1914
|
+
getFunction(nameOrSignature: 'loadWalletExitStatus'): TypedContractMethod<[
|
|
1915
|
+
wallet: AddressLike
|
|
1916
|
+
], [
|
|
1917
|
+
WalletExitStructOutput
|
|
1918
|
+
], 'view'>;
|
|
1919
|
+
getFunction(nameOrSignature: 'marketOverridesByBaseAssetSymbolAndWallet'): TypedContractMethod<[
|
|
1920
|
+
arg0: string,
|
|
1921
|
+
arg1: AddressLike
|
|
1922
|
+
], [
|
|
1923
|
+
[
|
|
1924
|
+
boolean,
|
|
1925
|
+
OverridableMarketFieldsStructOutput
|
|
1926
|
+
] & {
|
|
1927
|
+
exists: boolean;
|
|
1928
|
+
overridableFields: OverridableMarketFieldsStructOutput;
|
|
1929
|
+
}
|
|
1930
|
+
], 'view'>;
|
|
1931
|
+
getFunction(nameOrSignature: 'migrateQuoteTokenAddress'): TypedContractMethod<[], [void], 'nonpayable'>;
|
|
1932
|
+
getFunction(nameOrSignature: 'oraclePriceAdapter'): TypedContractMethod<[], [string], 'view'>;
|
|
1933
|
+
getFunction(nameOrSignature: 'ownerWallet'): TypedContractMethod<[], [string], 'view'>;
|
|
1934
|
+
getFunction(nameOrSignature: 'pendingDepositQuantityByWallet'): TypedContractMethod<[arg0: AddressLike], [bigint], 'view'>;
|
|
1935
|
+
getFunction(nameOrSignature: 'positionBelowMinimumLiquidationPriceToleranceMultiplier'): TypedContractMethod<[], [bigint], 'view'>;
|
|
1936
|
+
getFunction(nameOrSignature: 'publishFundingMultiplier'): TypedContractMethod<[
|
|
1937
|
+
baseAssetSymbol: string,
|
|
1938
|
+
fundingRate: BigNumberish
|
|
1939
|
+
], [
|
|
1940
|
+
void
|
|
1941
|
+
], 'nonpayable'>;
|
|
1942
|
+
getFunction(nameOrSignature: 'publishIndexPrices'): TypedContractMethod<[
|
|
1943
|
+
encodedIndexPrices: IndexPricePayloadStruct[]
|
|
1944
|
+
], [
|
|
1945
|
+
void
|
|
1946
|
+
], 'nonpayable'>;
|
|
1947
|
+
getFunction(nameOrSignature: 'quoteTokenAddress'): TypedContractMethod<[], [string], 'view'>;
|
|
1948
|
+
getFunction(nameOrSignature: 'removeAdmin'): TypedContractMethod<[], [void], 'nonpayable'>;
|
|
1949
|
+
getFunction(nameOrSignature: 'removeDispatcher'): TypedContractMethod<[], [void], 'nonpayable'>;
|
|
1950
|
+
getFunction(nameOrSignature: 'removeOwner'): TypedContractMethod<[], [void], 'nonpayable'>;
|
|
1951
|
+
getFunction(nameOrSignature: 'setAdmin'): TypedContractMethod<[newAdmin: AddressLike], [void], 'nonpayable'>;
|
|
1952
|
+
getFunction(nameOrSignature: 'setBridgeAdapters'): TypedContractMethod<[
|
|
1953
|
+
newBridgeAdapters: AddressLike[]
|
|
1954
|
+
], [
|
|
1955
|
+
void
|
|
1956
|
+
], 'nonpayable'>;
|
|
1957
|
+
getFunction(nameOrSignature: 'setChainPropagationPeriod'): TypedContractMethod<[
|
|
1958
|
+
newChainPropagationPeriodInS: BigNumberish
|
|
1959
|
+
], [
|
|
1960
|
+
void
|
|
1961
|
+
], 'nonpayable'>;
|
|
1962
|
+
getFunction(nameOrSignature: 'setCustodian'): TypedContractMethod<[newCustodian: AddressLike], [void], 'nonpayable'>;
|
|
1963
|
+
getFunction(nameOrSignature: 'setDelegateKeyExpirationPeriod'): TypedContractMethod<[
|
|
1964
|
+
newDelegateKeyExpirationPeriodInMs: BigNumberish
|
|
1965
|
+
], [
|
|
1966
|
+
void
|
|
1967
|
+
], 'nonpayable'>;
|
|
1968
|
+
getFunction(nameOrSignature: 'setDepositEnabled'): TypedContractMethod<[isEnabled: boolean], [void], 'nonpayable'>;
|
|
1969
|
+
getFunction(nameOrSignature: 'setDepositIndex'): TypedContractMethod<[], [void], 'nonpayable'>;
|
|
1970
|
+
getFunction(nameOrSignature: 'setDispatcher'): TypedContractMethod<[
|
|
1971
|
+
newDispatcherWallet: AddressLike
|
|
1972
|
+
], [
|
|
1973
|
+
void
|
|
1974
|
+
], 'nonpayable'>;
|
|
1975
|
+
getFunction(nameOrSignature: 'setExitFundWallet'): TypedContractMethod<[
|
|
1976
|
+
newExitFundWallet: AddressLike
|
|
1977
|
+
], [
|
|
1978
|
+
void
|
|
1979
|
+
], 'nonpayable'>;
|
|
1980
|
+
getFunction(nameOrSignature: 'setFeeWallet'): TypedContractMethod<[newFeeWallet: AddressLike], [void], 'nonpayable'>;
|
|
1981
|
+
getFunction(nameOrSignature: 'setIndexPriceAdapters'): TypedContractMethod<[
|
|
1982
|
+
newIndexPriceAdapters: AddressLike[]
|
|
1983
|
+
], [
|
|
1984
|
+
void
|
|
1985
|
+
], 'nonpayable'>;
|
|
1986
|
+
getFunction(nameOrSignature: 'setInsuranceFundWallet'): TypedContractMethod<[
|
|
1987
|
+
newInsuranceFundWallet: AddressLike
|
|
1988
|
+
], [
|
|
1989
|
+
void
|
|
1990
|
+
], 'nonpayable'>;
|
|
1991
|
+
getFunction(nameOrSignature: 'setManagedAccounts'): TypedContractMethod<[
|
|
1992
|
+
newManagedAccountProviders: AddressLike[]
|
|
1993
|
+
], [
|
|
1994
|
+
void
|
|
1995
|
+
], 'nonpayable'>;
|
|
1996
|
+
getFunction(nameOrSignature: 'setMarketOverrides'): TypedContractMethod<[
|
|
1997
|
+
baseAssetSymbol: string,
|
|
1998
|
+
overridableFields: OverridableMarketFieldsStruct,
|
|
1999
|
+
wallet: AddressLike
|
|
2000
|
+
], [
|
|
2001
|
+
void
|
|
2002
|
+
], 'nonpayable'>;
|
|
2003
|
+
getFunction(nameOrSignature: 'setOraclePriceAdapter'): TypedContractMethod<[
|
|
2004
|
+
newOraclePriceAdapter: AddressLike
|
|
2005
|
+
], [
|
|
2006
|
+
void
|
|
2007
|
+
], 'nonpayable'>;
|
|
2008
|
+
getFunction(nameOrSignature: 'setOwner'): TypedContractMethod<[newOwner: AddressLike], [void], 'nonpayable'>;
|
|
2009
|
+
getFunction(nameOrSignature: 'setPositionBelowMinimumLiquidationPriceToleranceMultiplier'): TypedContractMethod<[
|
|
2010
|
+
newPositionBelowMinimumLiquidationPriceToleranceMultiplier: BigNumberish
|
|
2011
|
+
], [
|
|
2012
|
+
void
|
|
2013
|
+
], 'nonpayable'>;
|
|
2014
|
+
getFunction(nameOrSignature: 'skim'): TypedContractMethod<[tokenAddress: AddressLike], [void], 'nonpayable'>;
|
|
2015
|
+
getFunction(nameOrSignature: 'transfer'): TypedContractMethod<[transfer_: TransferStruct], [void], 'nonpayable'>;
|
|
2016
|
+
getFunction(nameOrSignature: 'unsetMarketOverridesForWallet'): TypedContractMethod<[
|
|
2017
|
+
baseAssetSymbol: string,
|
|
2018
|
+
wallet: AddressLike
|
|
2019
|
+
], [
|
|
2020
|
+
void
|
|
2021
|
+
], 'nonpayable'>;
|
|
2022
|
+
getFunction(nameOrSignature: 'withdraw'): TypedContractMethod<[withdrawal: WithdrawalStruct], [void], 'nonpayable'>;
|
|
2023
|
+
getFunction(nameOrSignature: 'withdrawExit'): TypedContractMethod<[wallet: AddressLike], [void], 'nonpayable'>;
|
|
2024
|
+
getFunction(nameOrSignature: 'withdrawExitAdmin'): TypedContractMethod<[wallet: AddressLike], [void], 'nonpayable'>;
|
|
2025
|
+
getFunction(nameOrSignature: 'withdrawExitFromManagedAccount'): TypedContractMethod<[
|
|
2026
|
+
depositorWallet: AddressLike,
|
|
2027
|
+
managerWallet: AddressLike,
|
|
2028
|
+
quantity: BigNumberish
|
|
2029
|
+
], [
|
|
2030
|
+
void
|
|
2031
|
+
], 'nonpayable'>;
|
|
2032
|
+
getFunction(nameOrSignature: 'withdrawFromManagedAccount'): TypedContractMethod<[
|
|
2033
|
+
withdrawal: WithdrawalFromManagedAccountStruct
|
|
2034
|
+
], [
|
|
2035
|
+
void
|
|
2036
|
+
], 'nonpayable'>;
|
|
2037
|
+
getEvent(key: 'ChainPropagationPeriodChanged'): TypedContractEvent<ChainPropagationPeriodChangedEvent.InputTuple, ChainPropagationPeriodChangedEvent.OutputTuple, ChainPropagationPeriodChangedEvent.OutputObject>;
|
|
2038
|
+
getEvent(key: 'DelegateKeyExpirationPeriodChanged'): TypedContractEvent<DelegateKeyExpirationPeriodChangedEvent.InputTuple, DelegateKeyExpirationPeriodChangedEvent.OutputTuple, DelegateKeyExpirationPeriodChangedEvent.OutputObject>;
|
|
2039
|
+
getEvent(key: 'DeleveragedExitAcquisition'): TypedContractEvent<DeleveragedExitAcquisitionEvent.InputTuple, DeleveragedExitAcquisitionEvent.OutputTuple, DeleveragedExitAcquisitionEvent.OutputObject>;
|
|
2040
|
+
getEvent(key: 'DeleveragedExitFundClosure'): TypedContractEvent<DeleveragedExitFundClosureEvent.InputTuple, DeleveragedExitFundClosureEvent.OutputTuple, DeleveragedExitFundClosureEvent.OutputObject>;
|
|
2041
|
+
getEvent(key: 'DeleveragedInMaintenanceAcquisition'): TypedContractEvent<DeleveragedInMaintenanceAcquisitionEvent.InputTuple, DeleveragedInMaintenanceAcquisitionEvent.OutputTuple, DeleveragedInMaintenanceAcquisitionEvent.OutputObject>;
|
|
2042
|
+
getEvent(key: 'DeleveragedInsuranceFundClosure'): TypedContractEvent<DeleveragedInsuranceFundClosureEvent.InputTuple, DeleveragedInsuranceFundClosureEvent.OutputTuple, DeleveragedInsuranceFundClosureEvent.OutputObject>;
|
|
2043
|
+
getEvent(key: 'Deposited'): TypedContractEvent<DepositedEvent.InputTuple, DepositedEvent.OutputTuple, DepositedEvent.OutputObject>;
|
|
2044
|
+
getEvent(key: 'DepositsDisabled'): TypedContractEvent<DepositsDisabledEvent.InputTuple, DepositsDisabledEvent.OutputTuple, DepositsDisabledEvent.OutputObject>;
|
|
2045
|
+
getEvent(key: 'DepositsEnabled'): TypedContractEvent<DepositsEnabledEvent.InputTuple, DepositsEnabledEvent.OutputTuple, DepositsEnabledEvent.OutputObject>;
|
|
2046
|
+
getEvent(key: 'DispatcherChanged'): TypedContractEvent<DispatcherChangedEvent.InputTuple, DispatcherChangedEvent.OutputTuple, DispatcherChangedEvent.OutputObject>;
|
|
2047
|
+
getEvent(key: 'EIP712DomainChanged'): TypedContractEvent<EIP712DomainChangedEvent.InputTuple, EIP712DomainChangedEvent.OutputTuple, EIP712DomainChangedEvent.OutputObject>;
|
|
2048
|
+
getEvent(key: 'ExitFundWalletChanged'): TypedContractEvent<ExitFundWalletChangedEvent.InputTuple, ExitFundWalletChangedEvent.OutputTuple, ExitFundWalletChangedEvent.OutputObject>;
|
|
2049
|
+
getEvent(key: 'FeeWalletChanged'): TypedContractEvent<FeeWalletChangedEvent.InputTuple, FeeWalletChangedEvent.OutputTuple, FeeWalletChangedEvent.OutputObject>;
|
|
2050
|
+
getEvent(key: 'FundingRatePublished'): TypedContractEvent<FundingRatePublishedEvent.InputTuple, FundingRatePublishedEvent.OutputTuple, FundingRatePublishedEvent.OutputObject>;
|
|
2051
|
+
getEvent(key: 'IndexPricePublished'): TypedContractEvent<IndexPricePublishedEvent.InputTuple, IndexPricePublishedEvent.OutputTuple, IndexPricePublishedEvent.OutputObject>;
|
|
2052
|
+
getEvent(key: 'LiquidatedPositionBelowMinimum'): TypedContractEvent<LiquidatedPositionBelowMinimumEvent.InputTuple, LiquidatedPositionBelowMinimumEvent.OutputTuple, LiquidatedPositionBelowMinimumEvent.OutputObject>;
|
|
2053
|
+
getEvent(key: 'LiquidatedPositionInDeactivatedMarket'): TypedContractEvent<LiquidatedPositionInDeactivatedMarketEvent.InputTuple, LiquidatedPositionInDeactivatedMarketEvent.OutputTuple, LiquidatedPositionInDeactivatedMarketEvent.OutputObject>;
|
|
2054
|
+
getEvent(key: 'LiquidatedWalletExit'): TypedContractEvent<LiquidatedWalletExitEvent.InputTuple, LiquidatedWalletExitEvent.OutputTuple, LiquidatedWalletExitEvent.OutputObject>;
|
|
2055
|
+
getEvent(key: 'LiquidatedWalletInMaintenance'): TypedContractEvent<LiquidatedWalletInMaintenanceEvent.InputTuple, LiquidatedWalletInMaintenanceEvent.OutputTuple, LiquidatedWalletInMaintenanceEvent.OutputObject>;
|
|
2056
|
+
getEvent(key: 'LiquidatedWalletInMaintenanceDuringSystemRecovery'): TypedContractEvent<LiquidatedWalletInMaintenanceDuringSystemRecoveryEvent.InputTuple, LiquidatedWalletInMaintenanceDuringSystemRecoveryEvent.OutputTuple, LiquidatedWalletInMaintenanceDuringSystemRecoveryEvent.OutputObject>;
|
|
2057
|
+
getEvent(key: 'LiquidationAcquisitionExecuted'): TypedContractEvent<LiquidationAcquisitionExecutedEvent.InputTuple, LiquidationAcquisitionExecutedEvent.OutputTuple, LiquidationAcquisitionExecutedEvent.OutputObject>;
|
|
2058
|
+
getEvent(key: 'MarketActivated'): TypedContractEvent<MarketActivatedEvent.InputTuple, MarketActivatedEvent.OutputTuple, MarketActivatedEvent.OutputObject>;
|
|
2059
|
+
getEvent(key: 'MarketAdded'): TypedContractEvent<MarketAddedEvent.InputTuple, MarketAddedEvent.OutputTuple, MarketAddedEvent.OutputObject>;
|
|
2060
|
+
getEvent(key: 'MarketDeactivated'): TypedContractEvent<MarketDeactivatedEvent.InputTuple, MarketDeactivatedEvent.OutputTuple, MarketDeactivatedEvent.OutputObject>;
|
|
2061
|
+
getEvent(key: 'MarketOverridesUnset'): TypedContractEvent<MarketOverridesUnsetEvent.InputTuple, MarketOverridesUnsetEvent.OutputTuple, MarketOverridesUnsetEvent.OutputObject>;
|
|
2062
|
+
getEvent(key: 'OrderNonceInvalidated'): TypedContractEvent<OrderNonceInvalidatedEvent.InputTuple, OrderNonceInvalidatedEvent.OutputTuple, OrderNonceInvalidatedEvent.OutputObject>;
|
|
2063
|
+
getEvent(key: 'PendingDepositApplied'): TypedContractEvent<PendingDepositAppliedEvent.InputTuple, PendingDepositAppliedEvent.OutputTuple, PendingDepositAppliedEvent.OutputObject>;
|
|
2064
|
+
getEvent(key: 'PositionBelowMinimumLiquidationPriceToleranceMultiplierChanged'): TypedContractEvent<PositionBelowMinimumLiquidationPriceToleranceMultiplierChangedEvent.InputTuple, PositionBelowMinimumLiquidationPriceToleranceMultiplierChangedEvent.OutputTuple, PositionBelowMinimumLiquidationPriceToleranceMultiplierChangedEvent.OutputObject>;
|
|
2065
|
+
getEvent(key: 'QuoteTokenAddressChanged'): TypedContractEvent<QuoteTokenAddressChangedEvent.InputTuple, QuoteTokenAddressChangedEvent.OutputTuple, QuoteTokenAddressChangedEvent.OutputObject>;
|
|
2066
|
+
getEvent(key: 'TradeExecuted'): TypedContractEvent<TradeExecutedEvent.InputTuple, TradeExecutedEvent.OutputTuple, TradeExecutedEvent.OutputObject>;
|
|
2067
|
+
getEvent(key: 'Transferred'): TypedContractEvent<TransferredEvent.InputTuple, TransferredEvent.OutputTuple, TransferredEvent.OutputObject>;
|
|
2068
|
+
getEvent(key: 'WalletExitCleared'): TypedContractEvent<WalletExitClearedEvent.InputTuple, WalletExitClearedEvent.OutputTuple, WalletExitClearedEvent.OutputObject>;
|
|
2069
|
+
getEvent(key: 'WalletExitFromManagedAccountWithdrawn'): TypedContractEvent<WalletExitFromManagedAccountWithdrawnEvent.InputTuple, WalletExitFromManagedAccountWithdrawnEvent.OutputTuple, WalletExitFromManagedAccountWithdrawnEvent.OutputObject>;
|
|
2070
|
+
getEvent(key: 'WalletExitWithdrawn'): TypedContractEvent<WalletExitWithdrawnEvent.InputTuple, WalletExitWithdrawnEvent.OutputTuple, WalletExitWithdrawnEvent.OutputObject>;
|
|
2071
|
+
getEvent(key: 'WalletExited'): TypedContractEvent<WalletExitedEvent.InputTuple, WalletExitedEvent.OutputTuple, WalletExitedEvent.OutputObject>;
|
|
2072
|
+
getEvent(key: 'Withdrawn'): TypedContractEvent<WithdrawnEvent.InputTuple, WithdrawnEvent.OutputTuple, WithdrawnEvent.OutputObject>;
|
|
2073
|
+
filters: {
|
|
2074
|
+
'ChainPropagationPeriodChanged(uint256,uint256)': TypedContractEvent<ChainPropagationPeriodChangedEvent.InputTuple, ChainPropagationPeriodChangedEvent.OutputTuple, ChainPropagationPeriodChangedEvent.OutputObject>;
|
|
2075
|
+
ChainPropagationPeriodChanged: TypedContractEvent<ChainPropagationPeriodChangedEvent.InputTuple, ChainPropagationPeriodChangedEvent.OutputTuple, ChainPropagationPeriodChangedEvent.OutputObject>;
|
|
2076
|
+
'DelegateKeyExpirationPeriodChanged(uint256,uint256)': TypedContractEvent<DelegateKeyExpirationPeriodChangedEvent.InputTuple, DelegateKeyExpirationPeriodChangedEvent.OutputTuple, DelegateKeyExpirationPeriodChangedEvent.OutputObject>;
|
|
2077
|
+
DelegateKeyExpirationPeriodChanged: TypedContractEvent<DelegateKeyExpirationPeriodChangedEvent.InputTuple, DelegateKeyExpirationPeriodChangedEvent.OutputTuple, DelegateKeyExpirationPeriodChangedEvent.OutputObject>;
|
|
2078
|
+
'DeleveragedExitAcquisition(string,address,address,uint64,uint64)': TypedContractEvent<DeleveragedExitAcquisitionEvent.InputTuple, DeleveragedExitAcquisitionEvent.OutputTuple, DeleveragedExitAcquisitionEvent.OutputObject>;
|
|
2079
|
+
DeleveragedExitAcquisition: TypedContractEvent<DeleveragedExitAcquisitionEvent.InputTuple, DeleveragedExitAcquisitionEvent.OutputTuple, DeleveragedExitAcquisitionEvent.OutputObject>;
|
|
2080
|
+
'DeleveragedExitFundClosure(string,address,address,uint64,uint64)': TypedContractEvent<DeleveragedExitFundClosureEvent.InputTuple, DeleveragedExitFundClosureEvent.OutputTuple, DeleveragedExitFundClosureEvent.OutputObject>;
|
|
2081
|
+
DeleveragedExitFundClosure: TypedContractEvent<DeleveragedExitFundClosureEvent.InputTuple, DeleveragedExitFundClosureEvent.OutputTuple, DeleveragedExitFundClosureEvent.OutputObject>;
|
|
2082
|
+
'DeleveragedInMaintenanceAcquisition(string,address,address,uint64,uint64)': TypedContractEvent<DeleveragedInMaintenanceAcquisitionEvent.InputTuple, DeleveragedInMaintenanceAcquisitionEvent.OutputTuple, DeleveragedInMaintenanceAcquisitionEvent.OutputObject>;
|
|
2083
|
+
DeleveragedInMaintenanceAcquisition: TypedContractEvent<DeleveragedInMaintenanceAcquisitionEvent.InputTuple, DeleveragedInMaintenanceAcquisitionEvent.OutputTuple, DeleveragedInMaintenanceAcquisitionEvent.OutputObject>;
|
|
2084
|
+
'DeleveragedInsuranceFundClosure(string,address,address,uint64,uint64)': TypedContractEvent<DeleveragedInsuranceFundClosureEvent.InputTuple, DeleveragedInsuranceFundClosureEvent.OutputTuple, DeleveragedInsuranceFundClosureEvent.OutputObject>;
|
|
2085
|
+
DeleveragedInsuranceFundClosure: TypedContractEvent<DeleveragedInsuranceFundClosureEvent.InputTuple, DeleveragedInsuranceFundClosureEvent.OutputTuple, DeleveragedInsuranceFundClosureEvent.OutputObject>;
|
|
2086
|
+
'Deposited(uint64,address,address,uint64,bool)': TypedContractEvent<DepositedEvent.InputTuple, DepositedEvent.OutputTuple, DepositedEvent.OutputObject>;
|
|
2087
|
+
Deposited: TypedContractEvent<DepositedEvent.InputTuple, DepositedEvent.OutputTuple, DepositedEvent.OutputObject>;
|
|
2088
|
+
'DepositsDisabled()': TypedContractEvent<DepositsDisabledEvent.InputTuple, DepositsDisabledEvent.OutputTuple, DepositsDisabledEvent.OutputObject>;
|
|
2089
|
+
DepositsDisabled: TypedContractEvent<DepositsDisabledEvent.InputTuple, DepositsDisabledEvent.OutputTuple, DepositsDisabledEvent.OutputObject>;
|
|
2090
|
+
'DepositsEnabled()': TypedContractEvent<DepositsEnabledEvent.InputTuple, DepositsEnabledEvent.OutputTuple, DepositsEnabledEvent.OutputObject>;
|
|
2091
|
+
DepositsEnabled: TypedContractEvent<DepositsEnabledEvent.InputTuple, DepositsEnabledEvent.OutputTuple, DepositsEnabledEvent.OutputObject>;
|
|
2092
|
+
'DispatcherChanged(address,address)': TypedContractEvent<DispatcherChangedEvent.InputTuple, DispatcherChangedEvent.OutputTuple, DispatcherChangedEvent.OutputObject>;
|
|
2093
|
+
DispatcherChanged: TypedContractEvent<DispatcherChangedEvent.InputTuple, DispatcherChangedEvent.OutputTuple, DispatcherChangedEvent.OutputObject>;
|
|
2094
|
+
'EIP712DomainChanged()': TypedContractEvent<EIP712DomainChangedEvent.InputTuple, EIP712DomainChangedEvent.OutputTuple, EIP712DomainChangedEvent.OutputObject>;
|
|
2095
|
+
EIP712DomainChanged: TypedContractEvent<EIP712DomainChangedEvent.InputTuple, EIP712DomainChangedEvent.OutputTuple, EIP712DomainChangedEvent.OutputObject>;
|
|
2096
|
+
'ExitFundWalletChanged(address,address)': TypedContractEvent<ExitFundWalletChangedEvent.InputTuple, ExitFundWalletChangedEvent.OutputTuple, ExitFundWalletChangedEvent.OutputObject>;
|
|
2097
|
+
ExitFundWalletChanged: TypedContractEvent<ExitFundWalletChangedEvent.InputTuple, ExitFundWalletChangedEvent.OutputTuple, ExitFundWalletChangedEvent.OutputObject>;
|
|
2098
|
+
'FeeWalletChanged(address,address)': TypedContractEvent<FeeWalletChangedEvent.InputTuple, FeeWalletChangedEvent.OutputTuple, FeeWalletChangedEvent.OutputObject>;
|
|
2099
|
+
FeeWalletChanged: TypedContractEvent<FeeWalletChangedEvent.InputTuple, FeeWalletChangedEvent.OutputTuple, FeeWalletChangedEvent.OutputObject>;
|
|
2100
|
+
'FundingRatePublished(string,int64)': TypedContractEvent<FundingRatePublishedEvent.InputTuple, FundingRatePublishedEvent.OutputTuple, FundingRatePublishedEvent.OutputObject>;
|
|
2101
|
+
FundingRatePublished: TypedContractEvent<FundingRatePublishedEvent.InputTuple, FundingRatePublishedEvent.OutputTuple, FundingRatePublishedEvent.OutputObject>;
|
|
2102
|
+
'IndexPricePublished(string,uint64,uint64)': TypedContractEvent<IndexPricePublishedEvent.InputTuple, IndexPricePublishedEvent.OutputTuple, IndexPricePublishedEvent.OutputObject>;
|
|
2103
|
+
IndexPricePublished: TypedContractEvent<IndexPricePublishedEvent.InputTuple, IndexPricePublishedEvent.OutputTuple, IndexPricePublishedEvent.OutputObject>;
|
|
2104
|
+
'LiquidatedPositionBelowMinimum(string,address,uint64,uint64)': TypedContractEvent<LiquidatedPositionBelowMinimumEvent.InputTuple, LiquidatedPositionBelowMinimumEvent.OutputTuple, LiquidatedPositionBelowMinimumEvent.OutputObject>;
|
|
2105
|
+
LiquidatedPositionBelowMinimum: TypedContractEvent<LiquidatedPositionBelowMinimumEvent.InputTuple, LiquidatedPositionBelowMinimumEvent.OutputTuple, LiquidatedPositionBelowMinimumEvent.OutputObject>;
|
|
2106
|
+
'LiquidatedPositionInDeactivatedMarket(string,address,uint64,uint64)': TypedContractEvent<LiquidatedPositionInDeactivatedMarketEvent.InputTuple, LiquidatedPositionInDeactivatedMarketEvent.OutputTuple, LiquidatedPositionInDeactivatedMarketEvent.OutputObject>;
|
|
2107
|
+
LiquidatedPositionInDeactivatedMarket: TypedContractEvent<LiquidatedPositionInDeactivatedMarketEvent.InputTuple, LiquidatedPositionInDeactivatedMarketEvent.OutputTuple, LiquidatedPositionInDeactivatedMarketEvent.OutputObject>;
|
|
2108
|
+
'LiquidatedWalletExit(address)': TypedContractEvent<LiquidatedWalletExitEvent.InputTuple, LiquidatedWalletExitEvent.OutputTuple, LiquidatedWalletExitEvent.OutputObject>;
|
|
2109
|
+
LiquidatedWalletExit: TypedContractEvent<LiquidatedWalletExitEvent.InputTuple, LiquidatedWalletExitEvent.OutputTuple, LiquidatedWalletExitEvent.OutputObject>;
|
|
2110
|
+
'LiquidatedWalletInMaintenance(address)': TypedContractEvent<LiquidatedWalletInMaintenanceEvent.InputTuple, LiquidatedWalletInMaintenanceEvent.OutputTuple, LiquidatedWalletInMaintenanceEvent.OutputObject>;
|
|
2111
|
+
LiquidatedWalletInMaintenance: TypedContractEvent<LiquidatedWalletInMaintenanceEvent.InputTuple, LiquidatedWalletInMaintenanceEvent.OutputTuple, LiquidatedWalletInMaintenanceEvent.OutputObject>;
|
|
2112
|
+
'LiquidatedWalletInMaintenanceDuringSystemRecovery(address)': TypedContractEvent<LiquidatedWalletInMaintenanceDuringSystemRecoveryEvent.InputTuple, LiquidatedWalletInMaintenanceDuringSystemRecoveryEvent.OutputTuple, LiquidatedWalletInMaintenanceDuringSystemRecoveryEvent.OutputObject>;
|
|
2113
|
+
LiquidatedWalletInMaintenanceDuringSystemRecovery: TypedContractEvent<LiquidatedWalletInMaintenanceDuringSystemRecoveryEvent.InputTuple, LiquidatedWalletInMaintenanceDuringSystemRecoveryEvent.OutputTuple, LiquidatedWalletInMaintenanceDuringSystemRecoveryEvent.OutputObject>;
|
|
2114
|
+
'LiquidationAcquisitionExecuted(address,address,string,string,uint64,uint64,uint8,int64,uint64)': TypedContractEvent<LiquidationAcquisitionExecutedEvent.InputTuple, LiquidationAcquisitionExecutedEvent.OutputTuple, LiquidationAcquisitionExecutedEvent.OutputObject>;
|
|
2115
|
+
LiquidationAcquisitionExecuted: TypedContractEvent<LiquidationAcquisitionExecutedEvent.InputTuple, LiquidationAcquisitionExecutedEvent.OutputTuple, LiquidationAcquisitionExecutedEvent.OutputObject>;
|
|
2116
|
+
'MarketActivated(string)': TypedContractEvent<MarketActivatedEvent.InputTuple, MarketActivatedEvent.OutputTuple, MarketActivatedEvent.OutputObject>;
|
|
2117
|
+
MarketActivated: TypedContractEvent<MarketActivatedEvent.InputTuple, MarketActivatedEvent.OutputTuple, MarketActivatedEvent.OutputObject>;
|
|
2118
|
+
'MarketAdded(string)': TypedContractEvent<MarketAddedEvent.InputTuple, MarketAddedEvent.OutputTuple, MarketAddedEvent.OutputObject>;
|
|
2119
|
+
MarketAdded: TypedContractEvent<MarketAddedEvent.InputTuple, MarketAddedEvent.OutputTuple, MarketAddedEvent.OutputObject>;
|
|
2120
|
+
'MarketDeactivated(string)': TypedContractEvent<MarketDeactivatedEvent.InputTuple, MarketDeactivatedEvent.OutputTuple, MarketDeactivatedEvent.OutputObject>;
|
|
2121
|
+
MarketDeactivated: TypedContractEvent<MarketDeactivatedEvent.InputTuple, MarketDeactivatedEvent.OutputTuple, MarketDeactivatedEvent.OutputObject>;
|
|
2122
|
+
'MarketOverridesUnset(string,address)': TypedContractEvent<MarketOverridesUnsetEvent.InputTuple, MarketOverridesUnsetEvent.OutputTuple, MarketOverridesUnsetEvent.OutputObject>;
|
|
2123
|
+
MarketOverridesUnset: TypedContractEvent<MarketOverridesUnsetEvent.InputTuple, MarketOverridesUnsetEvent.OutputTuple, MarketOverridesUnsetEvent.OutputObject>;
|
|
2124
|
+
'OrderNonceInvalidated(address,uint128,uint128,uint256)': TypedContractEvent<OrderNonceInvalidatedEvent.InputTuple, OrderNonceInvalidatedEvent.OutputTuple, OrderNonceInvalidatedEvent.OutputObject>;
|
|
2125
|
+
OrderNonceInvalidated: TypedContractEvent<OrderNonceInvalidatedEvent.InputTuple, OrderNonceInvalidatedEvent.OutputTuple, OrderNonceInvalidatedEvent.OutputObject>;
|
|
2126
|
+
'PendingDepositApplied(address,uint64,int64,bool)': TypedContractEvent<PendingDepositAppliedEvent.InputTuple, PendingDepositAppliedEvent.OutputTuple, PendingDepositAppliedEvent.OutputObject>;
|
|
2127
|
+
PendingDepositApplied: TypedContractEvent<PendingDepositAppliedEvent.InputTuple, PendingDepositAppliedEvent.OutputTuple, PendingDepositAppliedEvent.OutputObject>;
|
|
2128
|
+
'PositionBelowMinimumLiquidationPriceToleranceMultiplierChanged(uint256,uint256)': TypedContractEvent<PositionBelowMinimumLiquidationPriceToleranceMultiplierChangedEvent.InputTuple, PositionBelowMinimumLiquidationPriceToleranceMultiplierChangedEvent.OutputTuple, PositionBelowMinimumLiquidationPriceToleranceMultiplierChangedEvent.OutputObject>;
|
|
2129
|
+
PositionBelowMinimumLiquidationPriceToleranceMultiplierChanged: TypedContractEvent<PositionBelowMinimumLiquidationPriceToleranceMultiplierChangedEvent.InputTuple, PositionBelowMinimumLiquidationPriceToleranceMultiplierChangedEvent.OutputTuple, PositionBelowMinimumLiquidationPriceToleranceMultiplierChangedEvent.OutputObject>;
|
|
2130
|
+
'QuoteTokenAddressChanged(address,address)': TypedContractEvent<QuoteTokenAddressChangedEvent.InputTuple, QuoteTokenAddressChangedEvent.OutputTuple, QuoteTokenAddressChangedEvent.OutputObject>;
|
|
2131
|
+
QuoteTokenAddressChanged: TypedContractEvent<QuoteTokenAddressChangedEvent.InputTuple, QuoteTokenAddressChangedEvent.OutputTuple, QuoteTokenAddressChangedEvent.OutputObject>;
|
|
2132
|
+
'TradeExecuted(address,address,string,string,uint64,uint64,uint8,int64,uint64)': TypedContractEvent<TradeExecutedEvent.InputTuple, TradeExecutedEvent.OutputTuple, TradeExecutedEvent.OutputObject>;
|
|
2133
|
+
TradeExecuted: TypedContractEvent<TradeExecutedEvent.InputTuple, TradeExecutedEvent.OutputTuple, TradeExecutedEvent.OutputObject>;
|
|
2134
|
+
'Transferred(address,address,uint64,int64,int64)': TypedContractEvent<TransferredEvent.InputTuple, TransferredEvent.OutputTuple, TransferredEvent.OutputObject>;
|
|
2135
|
+
Transferred: TypedContractEvent<TransferredEvent.InputTuple, TransferredEvent.OutputTuple, TransferredEvent.OutputObject>;
|
|
2136
|
+
'WalletExitCleared(address)': TypedContractEvent<WalletExitClearedEvent.InputTuple, WalletExitClearedEvent.OutputTuple, WalletExitClearedEvent.OutputObject>;
|
|
2137
|
+
WalletExitCleared: TypedContractEvent<WalletExitClearedEvent.InputTuple, WalletExitClearedEvent.OutputTuple, WalletExitClearedEvent.OutputObject>;
|
|
2138
|
+
'WalletExitFromManagedAccountWithdrawn(address,address,uint64)': TypedContractEvent<WalletExitFromManagedAccountWithdrawnEvent.InputTuple, WalletExitFromManagedAccountWithdrawnEvent.OutputTuple, WalletExitFromManagedAccountWithdrawnEvent.OutputObject>;
|
|
2139
|
+
WalletExitFromManagedAccountWithdrawn: TypedContractEvent<WalletExitFromManagedAccountWithdrawnEvent.InputTuple, WalletExitFromManagedAccountWithdrawnEvent.OutputTuple, WalletExitFromManagedAccountWithdrawnEvent.OutputObject>;
|
|
2140
|
+
'WalletExitWithdrawn(address,uint64)': TypedContractEvent<WalletExitWithdrawnEvent.InputTuple, WalletExitWithdrawnEvent.OutputTuple, WalletExitWithdrawnEvent.OutputObject>;
|
|
2141
|
+
WalletExitWithdrawn: TypedContractEvent<WalletExitWithdrawnEvent.InputTuple, WalletExitWithdrawnEvent.OutputTuple, WalletExitWithdrawnEvent.OutputObject>;
|
|
2142
|
+
'WalletExited(address,uint256,bool)': TypedContractEvent<WalletExitedEvent.InputTuple, WalletExitedEvent.OutputTuple, WalletExitedEvent.OutputObject>;
|
|
2143
|
+
WalletExited: TypedContractEvent<WalletExitedEvent.InputTuple, WalletExitedEvent.OutputTuple, WalletExitedEvent.OutputObject>;
|
|
2144
|
+
'Withdrawn(address,uint64,int64,bool)': TypedContractEvent<WithdrawnEvent.InputTuple, WithdrawnEvent.OutputTuple, WithdrawnEvent.OutputObject>;
|
|
2145
|
+
Withdrawn: TypedContractEvent<WithdrawnEvent.InputTuple, WithdrawnEvent.OutputTuple, WithdrawnEvent.OutputObject>;
|
|
2146
|
+
};
|
|
2147
|
+
}
|
|
2148
|
+
//# sourceMappingURL=Exchange_v2.d.ts.map
|