@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,2852 @@
|
|
|
1
|
+
import { type ContractRunner } from 'ethers';
|
|
2
|
+
import type { Exchange_v1, Exchange_v1Interface } from '../Exchange_v1';
|
|
3
|
+
export declare class Exchange_v1__factory {
|
|
4
|
+
static readonly abi: readonly [{
|
|
5
|
+
readonly inputs: readonly [{
|
|
6
|
+
readonly internalType: "contract IExchange";
|
|
7
|
+
readonly name: "balanceMigrationSource";
|
|
8
|
+
readonly type: "address";
|
|
9
|
+
}, {
|
|
10
|
+
readonly internalType: "address";
|
|
11
|
+
readonly name: "exitFundWallet_";
|
|
12
|
+
readonly type: "address";
|
|
13
|
+
}, {
|
|
14
|
+
readonly internalType: "address";
|
|
15
|
+
readonly name: "feeWallet_";
|
|
16
|
+
readonly type: "address";
|
|
17
|
+
}, {
|
|
18
|
+
readonly internalType: "contract IIndexPriceAdapter[]";
|
|
19
|
+
readonly name: "indexPriceAdapters";
|
|
20
|
+
readonly type: "address[]";
|
|
21
|
+
}, {
|
|
22
|
+
readonly internalType: "address";
|
|
23
|
+
readonly name: "insuranceFundWallet_";
|
|
24
|
+
readonly type: "address";
|
|
25
|
+
}, {
|
|
26
|
+
readonly internalType: "contract IOraclePriceAdapter";
|
|
27
|
+
readonly name: "oraclePriceAdapter_";
|
|
28
|
+
readonly type: "address";
|
|
29
|
+
}, {
|
|
30
|
+
readonly internalType: "address";
|
|
31
|
+
readonly name: "quoteTokenAddress_";
|
|
32
|
+
readonly type: "address";
|
|
33
|
+
}];
|
|
34
|
+
readonly stateMutability: "nonpayable";
|
|
35
|
+
readonly type: "constructor";
|
|
36
|
+
}, {
|
|
37
|
+
readonly inputs: readonly [];
|
|
38
|
+
readonly name: "ExitFundCannotHaveOpenPosition";
|
|
39
|
+
readonly type: "error";
|
|
40
|
+
}, {
|
|
41
|
+
readonly inputs: readonly [];
|
|
42
|
+
readonly name: "ExitFundHasNoPositions";
|
|
43
|
+
readonly type: "error";
|
|
44
|
+
}, {
|
|
45
|
+
readonly inputs: readonly [];
|
|
46
|
+
readonly name: "InvalidContractAddress";
|
|
47
|
+
readonly type: "error";
|
|
48
|
+
}, {
|
|
49
|
+
readonly inputs: readonly [];
|
|
50
|
+
readonly name: "InvalidShortString";
|
|
51
|
+
readonly type: "error";
|
|
52
|
+
}, {
|
|
53
|
+
readonly inputs: readonly [];
|
|
54
|
+
readonly name: "InvalidWalletAddress";
|
|
55
|
+
readonly type: "error";
|
|
56
|
+
}, {
|
|
57
|
+
readonly inputs: readonly [];
|
|
58
|
+
readonly name: "NewInsuranceFundWalletCannotBeExited";
|
|
59
|
+
readonly type: "error";
|
|
60
|
+
}, {
|
|
61
|
+
readonly inputs: readonly [];
|
|
62
|
+
readonly name: "NewValueExceedsMaximum";
|
|
63
|
+
readonly type: "error";
|
|
64
|
+
}, {
|
|
65
|
+
readonly inputs: readonly [];
|
|
66
|
+
readonly name: "NewValueMustBeDifferentFromCurrent";
|
|
67
|
+
readonly type: "error";
|
|
68
|
+
}, {
|
|
69
|
+
readonly inputs: readonly [];
|
|
70
|
+
readonly name: "SenderMustBeAdmin";
|
|
71
|
+
readonly type: "error";
|
|
72
|
+
}, {
|
|
73
|
+
readonly inputs: readonly [];
|
|
74
|
+
readonly name: "SenderMustBeAdminOrDispatcher";
|
|
75
|
+
readonly type: "error";
|
|
76
|
+
}, {
|
|
77
|
+
readonly inputs: readonly [];
|
|
78
|
+
readonly name: "SenderMustBeDispatcher";
|
|
79
|
+
readonly type: "error";
|
|
80
|
+
}, {
|
|
81
|
+
readonly inputs: readonly [];
|
|
82
|
+
readonly name: "SenderMustBeGovernance";
|
|
83
|
+
readonly type: "error";
|
|
84
|
+
}, {
|
|
85
|
+
readonly inputs: readonly [];
|
|
86
|
+
readonly name: "SenderMustBeOwner";
|
|
87
|
+
readonly type: "error";
|
|
88
|
+
}, {
|
|
89
|
+
readonly inputs: readonly [{
|
|
90
|
+
readonly internalType: "string";
|
|
91
|
+
readonly name: "str";
|
|
92
|
+
readonly type: "string";
|
|
93
|
+
}];
|
|
94
|
+
readonly name: "StringTooLong";
|
|
95
|
+
readonly type: "error";
|
|
96
|
+
}, {
|
|
97
|
+
readonly inputs: readonly [];
|
|
98
|
+
readonly name: "UnknownBaseAssetSymbol";
|
|
99
|
+
readonly type: "error";
|
|
100
|
+
}, {
|
|
101
|
+
readonly inputs: readonly [];
|
|
102
|
+
readonly name: "ValueCanOnlyBetSetOnce";
|
|
103
|
+
readonly type: "error";
|
|
104
|
+
}, {
|
|
105
|
+
readonly inputs: readonly [];
|
|
106
|
+
readonly name: "WalletCannotBeExited";
|
|
107
|
+
readonly type: "error";
|
|
108
|
+
}, {
|
|
109
|
+
readonly inputs: readonly [];
|
|
110
|
+
readonly name: "WalletHasNoOverridesForMarket";
|
|
111
|
+
readonly type: "error";
|
|
112
|
+
}, {
|
|
113
|
+
readonly inputs: readonly [];
|
|
114
|
+
readonly name: "WalletMustBeExited";
|
|
115
|
+
readonly type: "error";
|
|
116
|
+
}, {
|
|
117
|
+
readonly anonymous: false;
|
|
118
|
+
readonly inputs: readonly [{
|
|
119
|
+
readonly indexed: false;
|
|
120
|
+
readonly internalType: "uint256";
|
|
121
|
+
readonly name: "previousValue";
|
|
122
|
+
readonly type: "uint256";
|
|
123
|
+
}, {
|
|
124
|
+
readonly indexed: false;
|
|
125
|
+
readonly internalType: "uint256";
|
|
126
|
+
readonly name: "newValue";
|
|
127
|
+
readonly type: "uint256";
|
|
128
|
+
}];
|
|
129
|
+
readonly name: "ChainPropagationPeriodChanged";
|
|
130
|
+
readonly type: "event";
|
|
131
|
+
}, {
|
|
132
|
+
readonly anonymous: false;
|
|
133
|
+
readonly inputs: readonly [{
|
|
134
|
+
readonly indexed: false;
|
|
135
|
+
readonly internalType: "uint256";
|
|
136
|
+
readonly name: "previousValue";
|
|
137
|
+
readonly type: "uint256";
|
|
138
|
+
}, {
|
|
139
|
+
readonly indexed: false;
|
|
140
|
+
readonly internalType: "uint256";
|
|
141
|
+
readonly name: "newValue";
|
|
142
|
+
readonly type: "uint256";
|
|
143
|
+
}];
|
|
144
|
+
readonly name: "DelegateKeyExpirationPeriodChanged";
|
|
145
|
+
readonly type: "event";
|
|
146
|
+
}, {
|
|
147
|
+
readonly anonymous: false;
|
|
148
|
+
readonly inputs: readonly [{
|
|
149
|
+
readonly indexed: false;
|
|
150
|
+
readonly internalType: "string";
|
|
151
|
+
readonly name: "baseAssetSymbol";
|
|
152
|
+
readonly type: "string";
|
|
153
|
+
}, {
|
|
154
|
+
readonly indexed: false;
|
|
155
|
+
readonly internalType: "address";
|
|
156
|
+
readonly name: "counterpartyWallet";
|
|
157
|
+
readonly type: "address";
|
|
158
|
+
}, {
|
|
159
|
+
readonly indexed: false;
|
|
160
|
+
readonly internalType: "address";
|
|
161
|
+
readonly name: "liquidatingWallet";
|
|
162
|
+
readonly type: "address";
|
|
163
|
+
}, {
|
|
164
|
+
readonly indexed: false;
|
|
165
|
+
readonly internalType: "uint64";
|
|
166
|
+
readonly name: "liquidationBaseQuantity";
|
|
167
|
+
readonly type: "uint64";
|
|
168
|
+
}, {
|
|
169
|
+
readonly indexed: false;
|
|
170
|
+
readonly internalType: "uint64";
|
|
171
|
+
readonly name: "liquidationQuoteQuantity";
|
|
172
|
+
readonly type: "uint64";
|
|
173
|
+
}];
|
|
174
|
+
readonly name: "DeleveragedExitAcquisition";
|
|
175
|
+
readonly type: "event";
|
|
176
|
+
}, {
|
|
177
|
+
readonly anonymous: false;
|
|
178
|
+
readonly inputs: readonly [{
|
|
179
|
+
readonly indexed: false;
|
|
180
|
+
readonly internalType: "string";
|
|
181
|
+
readonly name: "baseAssetSymbol";
|
|
182
|
+
readonly type: "string";
|
|
183
|
+
}, {
|
|
184
|
+
readonly indexed: false;
|
|
185
|
+
readonly internalType: "address";
|
|
186
|
+
readonly name: "counterpartyWallet";
|
|
187
|
+
readonly type: "address";
|
|
188
|
+
}, {
|
|
189
|
+
readonly indexed: false;
|
|
190
|
+
readonly internalType: "address";
|
|
191
|
+
readonly name: "exitFundWallet";
|
|
192
|
+
readonly type: "address";
|
|
193
|
+
}, {
|
|
194
|
+
readonly indexed: false;
|
|
195
|
+
readonly internalType: "uint64";
|
|
196
|
+
readonly name: "liquidationBaseQuantity";
|
|
197
|
+
readonly type: "uint64";
|
|
198
|
+
}, {
|
|
199
|
+
readonly indexed: false;
|
|
200
|
+
readonly internalType: "uint64";
|
|
201
|
+
readonly name: "liquidationQuoteQuantity";
|
|
202
|
+
readonly type: "uint64";
|
|
203
|
+
}];
|
|
204
|
+
readonly name: "DeleveragedExitFundClosure";
|
|
205
|
+
readonly type: "event";
|
|
206
|
+
}, {
|
|
207
|
+
readonly anonymous: false;
|
|
208
|
+
readonly inputs: readonly [{
|
|
209
|
+
readonly indexed: false;
|
|
210
|
+
readonly internalType: "string";
|
|
211
|
+
readonly name: "baseAssetSymbol";
|
|
212
|
+
readonly type: "string";
|
|
213
|
+
}, {
|
|
214
|
+
readonly indexed: false;
|
|
215
|
+
readonly internalType: "address";
|
|
216
|
+
readonly name: "counterpartyWallet";
|
|
217
|
+
readonly type: "address";
|
|
218
|
+
}, {
|
|
219
|
+
readonly indexed: false;
|
|
220
|
+
readonly internalType: "address";
|
|
221
|
+
readonly name: "liquidatingWallet";
|
|
222
|
+
readonly type: "address";
|
|
223
|
+
}, {
|
|
224
|
+
readonly indexed: false;
|
|
225
|
+
readonly internalType: "uint64";
|
|
226
|
+
readonly name: "liquidationBaseQuantity";
|
|
227
|
+
readonly type: "uint64";
|
|
228
|
+
}, {
|
|
229
|
+
readonly indexed: false;
|
|
230
|
+
readonly internalType: "uint64";
|
|
231
|
+
readonly name: "liquidationQuoteQuantity";
|
|
232
|
+
readonly type: "uint64";
|
|
233
|
+
}];
|
|
234
|
+
readonly name: "DeleveragedInMaintenanceAcquisition";
|
|
235
|
+
readonly type: "event";
|
|
236
|
+
}, {
|
|
237
|
+
readonly anonymous: false;
|
|
238
|
+
readonly inputs: readonly [{
|
|
239
|
+
readonly indexed: false;
|
|
240
|
+
readonly internalType: "string";
|
|
241
|
+
readonly name: "baseAssetSymbol";
|
|
242
|
+
readonly type: "string";
|
|
243
|
+
}, {
|
|
244
|
+
readonly indexed: false;
|
|
245
|
+
readonly internalType: "address";
|
|
246
|
+
readonly name: "counterpartyWallet";
|
|
247
|
+
readonly type: "address";
|
|
248
|
+
}, {
|
|
249
|
+
readonly indexed: false;
|
|
250
|
+
readonly internalType: "address";
|
|
251
|
+
readonly name: "insuranceFundWallet";
|
|
252
|
+
readonly type: "address";
|
|
253
|
+
}, {
|
|
254
|
+
readonly indexed: false;
|
|
255
|
+
readonly internalType: "uint64";
|
|
256
|
+
readonly name: "liquidationBaseQuantity";
|
|
257
|
+
readonly type: "uint64";
|
|
258
|
+
}, {
|
|
259
|
+
readonly indexed: false;
|
|
260
|
+
readonly internalType: "uint64";
|
|
261
|
+
readonly name: "liquidationQuoteQuantity";
|
|
262
|
+
readonly type: "uint64";
|
|
263
|
+
}];
|
|
264
|
+
readonly name: "DeleveragedInsuranceFundClosure";
|
|
265
|
+
readonly type: "event";
|
|
266
|
+
}, {
|
|
267
|
+
readonly anonymous: false;
|
|
268
|
+
readonly inputs: readonly [{
|
|
269
|
+
readonly indexed: false;
|
|
270
|
+
readonly internalType: "uint64";
|
|
271
|
+
readonly name: "index";
|
|
272
|
+
readonly type: "uint64";
|
|
273
|
+
}, {
|
|
274
|
+
readonly indexed: false;
|
|
275
|
+
readonly internalType: "address";
|
|
276
|
+
readonly name: "sourceWallet";
|
|
277
|
+
readonly type: "address";
|
|
278
|
+
}, {
|
|
279
|
+
readonly indexed: false;
|
|
280
|
+
readonly internalType: "address";
|
|
281
|
+
readonly name: "depositorWallet";
|
|
282
|
+
readonly type: "address";
|
|
283
|
+
}, {
|
|
284
|
+
readonly indexed: false;
|
|
285
|
+
readonly internalType: "uint64";
|
|
286
|
+
readonly name: "quantity";
|
|
287
|
+
readonly type: "uint64";
|
|
288
|
+
}, {
|
|
289
|
+
readonly indexed: false;
|
|
290
|
+
readonly internalType: "bool";
|
|
291
|
+
readonly name: "isAssociatedWithManagedAccount";
|
|
292
|
+
readonly type: "bool";
|
|
293
|
+
}];
|
|
294
|
+
readonly name: "Deposited";
|
|
295
|
+
readonly type: "event";
|
|
296
|
+
}, {
|
|
297
|
+
readonly anonymous: false;
|
|
298
|
+
readonly inputs: readonly [];
|
|
299
|
+
readonly name: "DepositsDisabled";
|
|
300
|
+
readonly type: "event";
|
|
301
|
+
}, {
|
|
302
|
+
readonly anonymous: false;
|
|
303
|
+
readonly inputs: readonly [];
|
|
304
|
+
readonly name: "DepositsEnabled";
|
|
305
|
+
readonly type: "event";
|
|
306
|
+
}, {
|
|
307
|
+
readonly anonymous: false;
|
|
308
|
+
readonly inputs: readonly [{
|
|
309
|
+
readonly indexed: false;
|
|
310
|
+
readonly internalType: "address";
|
|
311
|
+
readonly name: "previousValue";
|
|
312
|
+
readonly type: "address";
|
|
313
|
+
}, {
|
|
314
|
+
readonly indexed: false;
|
|
315
|
+
readonly internalType: "address";
|
|
316
|
+
readonly name: "newValue";
|
|
317
|
+
readonly type: "address";
|
|
318
|
+
}];
|
|
319
|
+
readonly name: "DispatcherChanged";
|
|
320
|
+
readonly type: "event";
|
|
321
|
+
}, {
|
|
322
|
+
readonly anonymous: false;
|
|
323
|
+
readonly inputs: readonly [];
|
|
324
|
+
readonly name: "EIP712DomainChanged";
|
|
325
|
+
readonly type: "event";
|
|
326
|
+
}, {
|
|
327
|
+
readonly anonymous: false;
|
|
328
|
+
readonly inputs: readonly [{
|
|
329
|
+
readonly indexed: false;
|
|
330
|
+
readonly internalType: "address";
|
|
331
|
+
readonly name: "previousValue";
|
|
332
|
+
readonly type: "address";
|
|
333
|
+
}, {
|
|
334
|
+
readonly indexed: false;
|
|
335
|
+
readonly internalType: "address";
|
|
336
|
+
readonly name: "newValue";
|
|
337
|
+
readonly type: "address";
|
|
338
|
+
}];
|
|
339
|
+
readonly name: "ExitFundWalletChanged";
|
|
340
|
+
readonly type: "event";
|
|
341
|
+
}, {
|
|
342
|
+
readonly anonymous: false;
|
|
343
|
+
readonly inputs: readonly [{
|
|
344
|
+
readonly indexed: false;
|
|
345
|
+
readonly internalType: "address";
|
|
346
|
+
readonly name: "previousValue";
|
|
347
|
+
readonly type: "address";
|
|
348
|
+
}, {
|
|
349
|
+
readonly indexed: false;
|
|
350
|
+
readonly internalType: "address";
|
|
351
|
+
readonly name: "newValue";
|
|
352
|
+
readonly type: "address";
|
|
353
|
+
}];
|
|
354
|
+
readonly name: "FeeWalletChanged";
|
|
355
|
+
readonly type: "event";
|
|
356
|
+
}, {
|
|
357
|
+
readonly anonymous: false;
|
|
358
|
+
readonly inputs: readonly [{
|
|
359
|
+
readonly indexed: false;
|
|
360
|
+
readonly internalType: "string";
|
|
361
|
+
readonly name: "baseAssetSymbol";
|
|
362
|
+
readonly type: "string";
|
|
363
|
+
}, {
|
|
364
|
+
readonly indexed: false;
|
|
365
|
+
readonly internalType: "int64";
|
|
366
|
+
readonly name: "fundingRate";
|
|
367
|
+
readonly type: "int64";
|
|
368
|
+
}];
|
|
369
|
+
readonly name: "FundingRatePublished";
|
|
370
|
+
readonly type: "event";
|
|
371
|
+
}, {
|
|
372
|
+
readonly anonymous: false;
|
|
373
|
+
readonly inputs: readonly [{
|
|
374
|
+
readonly indexed: false;
|
|
375
|
+
readonly internalType: "string";
|
|
376
|
+
readonly name: "baseAssetSymbol";
|
|
377
|
+
readonly type: "string";
|
|
378
|
+
}, {
|
|
379
|
+
readonly indexed: false;
|
|
380
|
+
readonly internalType: "uint64";
|
|
381
|
+
readonly name: "timestampInMs";
|
|
382
|
+
readonly type: "uint64";
|
|
383
|
+
}, {
|
|
384
|
+
readonly indexed: false;
|
|
385
|
+
readonly internalType: "uint64";
|
|
386
|
+
readonly name: "price";
|
|
387
|
+
readonly type: "uint64";
|
|
388
|
+
}];
|
|
389
|
+
readonly name: "IndexPricePublished";
|
|
390
|
+
readonly type: "event";
|
|
391
|
+
}, {
|
|
392
|
+
readonly anonymous: false;
|
|
393
|
+
readonly inputs: readonly [{
|
|
394
|
+
readonly indexed: false;
|
|
395
|
+
readonly internalType: "string";
|
|
396
|
+
readonly name: "baseAssetSymbol";
|
|
397
|
+
readonly type: "string";
|
|
398
|
+
}, {
|
|
399
|
+
readonly indexed: false;
|
|
400
|
+
readonly internalType: "address";
|
|
401
|
+
readonly name: "liquidatingWallet";
|
|
402
|
+
readonly type: "address";
|
|
403
|
+
}, {
|
|
404
|
+
readonly indexed: false;
|
|
405
|
+
readonly internalType: "uint64";
|
|
406
|
+
readonly name: "liquidationBaseQuantity";
|
|
407
|
+
readonly type: "uint64";
|
|
408
|
+
}, {
|
|
409
|
+
readonly indexed: false;
|
|
410
|
+
readonly internalType: "uint64";
|
|
411
|
+
readonly name: "liquidationQuoteQuantity";
|
|
412
|
+
readonly type: "uint64";
|
|
413
|
+
}];
|
|
414
|
+
readonly name: "LiquidatedPositionBelowMinimum";
|
|
415
|
+
readonly type: "event";
|
|
416
|
+
}, {
|
|
417
|
+
readonly anonymous: false;
|
|
418
|
+
readonly inputs: readonly [{
|
|
419
|
+
readonly indexed: false;
|
|
420
|
+
readonly internalType: "string";
|
|
421
|
+
readonly name: "baseAssetSymbol";
|
|
422
|
+
readonly type: "string";
|
|
423
|
+
}, {
|
|
424
|
+
readonly indexed: false;
|
|
425
|
+
readonly internalType: "address";
|
|
426
|
+
readonly name: "liquidatingWallet";
|
|
427
|
+
readonly type: "address";
|
|
428
|
+
}, {
|
|
429
|
+
readonly indexed: false;
|
|
430
|
+
readonly internalType: "uint64";
|
|
431
|
+
readonly name: "liquidationBaseQuantity";
|
|
432
|
+
readonly type: "uint64";
|
|
433
|
+
}, {
|
|
434
|
+
readonly indexed: false;
|
|
435
|
+
readonly internalType: "uint64";
|
|
436
|
+
readonly name: "liquidationQuoteQuantity";
|
|
437
|
+
readonly type: "uint64";
|
|
438
|
+
}];
|
|
439
|
+
readonly name: "LiquidatedPositionInDeactivatedMarket";
|
|
440
|
+
readonly type: "event";
|
|
441
|
+
}, {
|
|
442
|
+
readonly anonymous: false;
|
|
443
|
+
readonly inputs: readonly [{
|
|
444
|
+
readonly indexed: false;
|
|
445
|
+
readonly internalType: "address";
|
|
446
|
+
readonly name: "liquidatingWallet";
|
|
447
|
+
readonly type: "address";
|
|
448
|
+
}];
|
|
449
|
+
readonly name: "LiquidatedWalletExit";
|
|
450
|
+
readonly type: "event";
|
|
451
|
+
}, {
|
|
452
|
+
readonly anonymous: false;
|
|
453
|
+
readonly inputs: readonly [{
|
|
454
|
+
readonly indexed: false;
|
|
455
|
+
readonly internalType: "address";
|
|
456
|
+
readonly name: "liquidatingWallet";
|
|
457
|
+
readonly type: "address";
|
|
458
|
+
}];
|
|
459
|
+
readonly name: "LiquidatedWalletInMaintenance";
|
|
460
|
+
readonly type: "event";
|
|
461
|
+
}, {
|
|
462
|
+
readonly anonymous: false;
|
|
463
|
+
readonly inputs: readonly [{
|
|
464
|
+
readonly indexed: false;
|
|
465
|
+
readonly internalType: "address";
|
|
466
|
+
readonly name: "liquidatingWallet";
|
|
467
|
+
readonly type: "address";
|
|
468
|
+
}];
|
|
469
|
+
readonly name: "LiquidatedWalletInMaintenanceDuringSystemRecovery";
|
|
470
|
+
readonly type: "event";
|
|
471
|
+
}, {
|
|
472
|
+
readonly anonymous: false;
|
|
473
|
+
readonly inputs: readonly [{
|
|
474
|
+
readonly indexed: false;
|
|
475
|
+
readonly internalType: "address";
|
|
476
|
+
readonly name: "buyWallet";
|
|
477
|
+
readonly type: "address";
|
|
478
|
+
}, {
|
|
479
|
+
readonly indexed: false;
|
|
480
|
+
readonly internalType: "address";
|
|
481
|
+
readonly name: "sellWallet";
|
|
482
|
+
readonly type: "address";
|
|
483
|
+
}, {
|
|
484
|
+
readonly indexed: false;
|
|
485
|
+
readonly internalType: "string";
|
|
486
|
+
readonly name: "baseAssetSymbol";
|
|
487
|
+
readonly type: "string";
|
|
488
|
+
}, {
|
|
489
|
+
readonly indexed: false;
|
|
490
|
+
readonly internalType: "string";
|
|
491
|
+
readonly name: "quoteAssetSymbol";
|
|
492
|
+
readonly type: "string";
|
|
493
|
+
}, {
|
|
494
|
+
readonly indexed: false;
|
|
495
|
+
readonly internalType: "uint64";
|
|
496
|
+
readonly name: "baseQuantity";
|
|
497
|
+
readonly type: "uint64";
|
|
498
|
+
}, {
|
|
499
|
+
readonly indexed: false;
|
|
500
|
+
readonly internalType: "uint64";
|
|
501
|
+
readonly name: "quoteQuantity";
|
|
502
|
+
readonly type: "uint64";
|
|
503
|
+
}, {
|
|
504
|
+
readonly indexed: false;
|
|
505
|
+
readonly internalType: "enum OrderSide";
|
|
506
|
+
readonly name: "makerSide";
|
|
507
|
+
readonly type: "uint8";
|
|
508
|
+
}, {
|
|
509
|
+
readonly indexed: false;
|
|
510
|
+
readonly internalType: "int64";
|
|
511
|
+
readonly name: "makerFeeQuantity";
|
|
512
|
+
readonly type: "int64";
|
|
513
|
+
}, {
|
|
514
|
+
readonly indexed: false;
|
|
515
|
+
readonly internalType: "uint64";
|
|
516
|
+
readonly name: "takerFeeQuantity";
|
|
517
|
+
readonly type: "uint64";
|
|
518
|
+
}];
|
|
519
|
+
readonly name: "LiquidationAcquisitionExecuted";
|
|
520
|
+
readonly type: "event";
|
|
521
|
+
}, {
|
|
522
|
+
readonly anonymous: false;
|
|
523
|
+
readonly inputs: readonly [{
|
|
524
|
+
readonly indexed: false;
|
|
525
|
+
readonly internalType: "string";
|
|
526
|
+
readonly name: "baseAssetSymbol";
|
|
527
|
+
readonly type: "string";
|
|
528
|
+
}];
|
|
529
|
+
readonly name: "MarketActivated";
|
|
530
|
+
readonly type: "event";
|
|
531
|
+
}, {
|
|
532
|
+
readonly anonymous: false;
|
|
533
|
+
readonly inputs: readonly [{
|
|
534
|
+
readonly indexed: false;
|
|
535
|
+
readonly internalType: "string";
|
|
536
|
+
readonly name: "baseAssetSymbol";
|
|
537
|
+
readonly type: "string";
|
|
538
|
+
}];
|
|
539
|
+
readonly name: "MarketAdded";
|
|
540
|
+
readonly type: "event";
|
|
541
|
+
}, {
|
|
542
|
+
readonly anonymous: false;
|
|
543
|
+
readonly inputs: readonly [{
|
|
544
|
+
readonly indexed: false;
|
|
545
|
+
readonly internalType: "string";
|
|
546
|
+
readonly name: "baseAssetSymbol";
|
|
547
|
+
readonly type: "string";
|
|
548
|
+
}];
|
|
549
|
+
readonly name: "MarketDeactivated";
|
|
550
|
+
readonly type: "event";
|
|
551
|
+
}, {
|
|
552
|
+
readonly anonymous: false;
|
|
553
|
+
readonly inputs: readonly [{
|
|
554
|
+
readonly indexed: false;
|
|
555
|
+
readonly internalType: "string";
|
|
556
|
+
readonly name: "baseAssetSymbol";
|
|
557
|
+
readonly type: "string";
|
|
558
|
+
}, {
|
|
559
|
+
readonly indexed: false;
|
|
560
|
+
readonly internalType: "address";
|
|
561
|
+
readonly name: "wallet";
|
|
562
|
+
readonly type: "address";
|
|
563
|
+
}];
|
|
564
|
+
readonly name: "MarketOverridesUnset";
|
|
565
|
+
readonly type: "event";
|
|
566
|
+
}, {
|
|
567
|
+
readonly anonymous: false;
|
|
568
|
+
readonly inputs: readonly [{
|
|
569
|
+
readonly indexed: false;
|
|
570
|
+
readonly internalType: "address";
|
|
571
|
+
readonly name: "wallet";
|
|
572
|
+
readonly type: "address";
|
|
573
|
+
}, {
|
|
574
|
+
readonly indexed: false;
|
|
575
|
+
readonly internalType: "uint128";
|
|
576
|
+
readonly name: "nonce";
|
|
577
|
+
readonly type: "uint128";
|
|
578
|
+
}, {
|
|
579
|
+
readonly indexed: false;
|
|
580
|
+
readonly internalType: "uint128";
|
|
581
|
+
readonly name: "timestampInMs";
|
|
582
|
+
readonly type: "uint128";
|
|
583
|
+
}, {
|
|
584
|
+
readonly indexed: false;
|
|
585
|
+
readonly internalType: "uint256";
|
|
586
|
+
readonly name: "effectiveBlockTimestamp";
|
|
587
|
+
readonly type: "uint256";
|
|
588
|
+
}];
|
|
589
|
+
readonly name: "OrderNonceInvalidated";
|
|
590
|
+
readonly type: "event";
|
|
591
|
+
}, {
|
|
592
|
+
readonly anonymous: false;
|
|
593
|
+
readonly inputs: readonly [{
|
|
594
|
+
readonly indexed: false;
|
|
595
|
+
readonly internalType: "address";
|
|
596
|
+
readonly name: "wallet";
|
|
597
|
+
readonly type: "address";
|
|
598
|
+
}, {
|
|
599
|
+
readonly indexed: false;
|
|
600
|
+
readonly internalType: "uint64";
|
|
601
|
+
readonly name: "quantity";
|
|
602
|
+
readonly type: "uint64";
|
|
603
|
+
}, {
|
|
604
|
+
readonly indexed: false;
|
|
605
|
+
readonly internalType: "int64";
|
|
606
|
+
readonly name: "newExchangeBalance";
|
|
607
|
+
readonly type: "int64";
|
|
608
|
+
}, {
|
|
609
|
+
readonly indexed: false;
|
|
610
|
+
readonly internalType: "bool";
|
|
611
|
+
readonly name: "isAssociatedWithManagedAccount";
|
|
612
|
+
readonly type: "bool";
|
|
613
|
+
}];
|
|
614
|
+
readonly name: "PendingDepositApplied";
|
|
615
|
+
readonly type: "event";
|
|
616
|
+
}, {
|
|
617
|
+
readonly anonymous: false;
|
|
618
|
+
readonly inputs: readonly [{
|
|
619
|
+
readonly indexed: false;
|
|
620
|
+
readonly internalType: "uint256";
|
|
621
|
+
readonly name: "previousValue";
|
|
622
|
+
readonly type: "uint256";
|
|
623
|
+
}, {
|
|
624
|
+
readonly indexed: false;
|
|
625
|
+
readonly internalType: "uint256";
|
|
626
|
+
readonly name: "newValue";
|
|
627
|
+
readonly type: "uint256";
|
|
628
|
+
}];
|
|
629
|
+
readonly name: "PositionBelowMinimumLiquidationPriceToleranceMultiplierChanged";
|
|
630
|
+
readonly type: "event";
|
|
631
|
+
}, {
|
|
632
|
+
readonly anonymous: false;
|
|
633
|
+
readonly inputs: readonly [{
|
|
634
|
+
readonly indexed: false;
|
|
635
|
+
readonly internalType: "address";
|
|
636
|
+
readonly name: "previousValue";
|
|
637
|
+
readonly type: "address";
|
|
638
|
+
}, {
|
|
639
|
+
readonly indexed: false;
|
|
640
|
+
readonly internalType: "address";
|
|
641
|
+
readonly name: "newValue";
|
|
642
|
+
readonly type: "address";
|
|
643
|
+
}];
|
|
644
|
+
readonly name: "QuoteTokenAddressChanged";
|
|
645
|
+
readonly type: "event";
|
|
646
|
+
}, {
|
|
647
|
+
readonly anonymous: false;
|
|
648
|
+
readonly inputs: readonly [{
|
|
649
|
+
readonly indexed: false;
|
|
650
|
+
readonly internalType: "address";
|
|
651
|
+
readonly name: "buyWallet";
|
|
652
|
+
readonly type: "address";
|
|
653
|
+
}, {
|
|
654
|
+
readonly indexed: false;
|
|
655
|
+
readonly internalType: "address";
|
|
656
|
+
readonly name: "sellWallet";
|
|
657
|
+
readonly type: "address";
|
|
658
|
+
}, {
|
|
659
|
+
readonly indexed: false;
|
|
660
|
+
readonly internalType: "string";
|
|
661
|
+
readonly name: "baseAssetSymbol";
|
|
662
|
+
readonly type: "string";
|
|
663
|
+
}, {
|
|
664
|
+
readonly indexed: false;
|
|
665
|
+
readonly internalType: "string";
|
|
666
|
+
readonly name: "quoteAssetSymbol";
|
|
667
|
+
readonly type: "string";
|
|
668
|
+
}, {
|
|
669
|
+
readonly indexed: false;
|
|
670
|
+
readonly internalType: "uint64";
|
|
671
|
+
readonly name: "baseQuantity";
|
|
672
|
+
readonly type: "uint64";
|
|
673
|
+
}, {
|
|
674
|
+
readonly indexed: false;
|
|
675
|
+
readonly internalType: "uint64";
|
|
676
|
+
readonly name: "quoteQuantity";
|
|
677
|
+
readonly type: "uint64";
|
|
678
|
+
}, {
|
|
679
|
+
readonly indexed: false;
|
|
680
|
+
readonly internalType: "enum OrderSide";
|
|
681
|
+
readonly name: "makerSide";
|
|
682
|
+
readonly type: "uint8";
|
|
683
|
+
}, {
|
|
684
|
+
readonly indexed: false;
|
|
685
|
+
readonly internalType: "int64";
|
|
686
|
+
readonly name: "makerFeeQuantity";
|
|
687
|
+
readonly type: "int64";
|
|
688
|
+
}, {
|
|
689
|
+
readonly indexed: false;
|
|
690
|
+
readonly internalType: "uint64";
|
|
691
|
+
readonly name: "takerFeeQuantity";
|
|
692
|
+
readonly type: "uint64";
|
|
693
|
+
}];
|
|
694
|
+
readonly name: "TradeExecuted";
|
|
695
|
+
readonly type: "event";
|
|
696
|
+
}, {
|
|
697
|
+
readonly anonymous: false;
|
|
698
|
+
readonly inputs: readonly [{
|
|
699
|
+
readonly indexed: false;
|
|
700
|
+
readonly internalType: "address";
|
|
701
|
+
readonly name: "destinationWallet";
|
|
702
|
+
readonly type: "address";
|
|
703
|
+
}, {
|
|
704
|
+
readonly indexed: false;
|
|
705
|
+
readonly internalType: "address";
|
|
706
|
+
readonly name: "sourceWallet";
|
|
707
|
+
readonly type: "address";
|
|
708
|
+
}, {
|
|
709
|
+
readonly indexed: false;
|
|
710
|
+
readonly internalType: "uint64";
|
|
711
|
+
readonly name: "quantity";
|
|
712
|
+
readonly type: "uint64";
|
|
713
|
+
}, {
|
|
714
|
+
readonly indexed: false;
|
|
715
|
+
readonly internalType: "int64";
|
|
716
|
+
readonly name: "newDestinationWalletExchangeBalance";
|
|
717
|
+
readonly type: "int64";
|
|
718
|
+
}, {
|
|
719
|
+
readonly indexed: false;
|
|
720
|
+
readonly internalType: "int64";
|
|
721
|
+
readonly name: "newSourceWalletExchangeBalance";
|
|
722
|
+
readonly type: "int64";
|
|
723
|
+
}];
|
|
724
|
+
readonly name: "Transferred";
|
|
725
|
+
readonly type: "event";
|
|
726
|
+
}, {
|
|
727
|
+
readonly anonymous: false;
|
|
728
|
+
readonly inputs: readonly [{
|
|
729
|
+
readonly indexed: false;
|
|
730
|
+
readonly internalType: "address";
|
|
731
|
+
readonly name: "wallet";
|
|
732
|
+
readonly type: "address";
|
|
733
|
+
}];
|
|
734
|
+
readonly name: "WalletExitCleared";
|
|
735
|
+
readonly type: "event";
|
|
736
|
+
}, {
|
|
737
|
+
readonly anonymous: false;
|
|
738
|
+
readonly inputs: readonly [{
|
|
739
|
+
readonly indexed: false;
|
|
740
|
+
readonly internalType: "address";
|
|
741
|
+
readonly name: "managerWallet";
|
|
742
|
+
readonly type: "address";
|
|
743
|
+
}, {
|
|
744
|
+
readonly indexed: false;
|
|
745
|
+
readonly internalType: "address";
|
|
746
|
+
readonly name: "depositorWallet";
|
|
747
|
+
readonly type: "address";
|
|
748
|
+
}, {
|
|
749
|
+
readonly indexed: false;
|
|
750
|
+
readonly internalType: "uint64";
|
|
751
|
+
readonly name: "quantity";
|
|
752
|
+
readonly type: "uint64";
|
|
753
|
+
}];
|
|
754
|
+
readonly name: "WalletExitFromManagedAccountWithdrawn";
|
|
755
|
+
readonly type: "event";
|
|
756
|
+
}, {
|
|
757
|
+
readonly anonymous: false;
|
|
758
|
+
readonly inputs: readonly [{
|
|
759
|
+
readonly indexed: false;
|
|
760
|
+
readonly internalType: "address";
|
|
761
|
+
readonly name: "wallet";
|
|
762
|
+
readonly type: "address";
|
|
763
|
+
}, {
|
|
764
|
+
readonly indexed: false;
|
|
765
|
+
readonly internalType: "uint64";
|
|
766
|
+
readonly name: "quantity";
|
|
767
|
+
readonly type: "uint64";
|
|
768
|
+
}];
|
|
769
|
+
readonly name: "WalletExitWithdrawn";
|
|
770
|
+
readonly type: "event";
|
|
771
|
+
}, {
|
|
772
|
+
readonly anonymous: false;
|
|
773
|
+
readonly inputs: readonly [{
|
|
774
|
+
readonly indexed: false;
|
|
775
|
+
readonly internalType: "address";
|
|
776
|
+
readonly name: "wallet";
|
|
777
|
+
readonly type: "address";
|
|
778
|
+
}, {
|
|
779
|
+
readonly indexed: false;
|
|
780
|
+
readonly internalType: "uint256";
|
|
781
|
+
readonly name: "effectiveBlockTimestamp";
|
|
782
|
+
readonly type: "uint256";
|
|
783
|
+
}, {
|
|
784
|
+
readonly indexed: false;
|
|
785
|
+
readonly internalType: "bool";
|
|
786
|
+
readonly name: "isAssociatedWithManagedAccount";
|
|
787
|
+
readonly type: "bool";
|
|
788
|
+
}];
|
|
789
|
+
readonly name: "WalletExited";
|
|
790
|
+
readonly type: "event";
|
|
791
|
+
}, {
|
|
792
|
+
readonly anonymous: false;
|
|
793
|
+
readonly inputs: readonly [{
|
|
794
|
+
readonly indexed: false;
|
|
795
|
+
readonly internalType: "address";
|
|
796
|
+
readonly name: "wallet";
|
|
797
|
+
readonly type: "address";
|
|
798
|
+
}, {
|
|
799
|
+
readonly indexed: false;
|
|
800
|
+
readonly internalType: "uint64";
|
|
801
|
+
readonly name: "quantity";
|
|
802
|
+
readonly type: "uint64";
|
|
803
|
+
}, {
|
|
804
|
+
readonly indexed: false;
|
|
805
|
+
readonly internalType: "int64";
|
|
806
|
+
readonly name: "newExchangeBalance";
|
|
807
|
+
readonly type: "int64";
|
|
808
|
+
}];
|
|
809
|
+
readonly name: "WithdrawalFromManagedAccountCanceled";
|
|
810
|
+
readonly type: "event";
|
|
811
|
+
}, {
|
|
812
|
+
readonly anonymous: false;
|
|
813
|
+
readonly inputs: readonly [{
|
|
814
|
+
readonly indexed: false;
|
|
815
|
+
readonly internalType: "address";
|
|
816
|
+
readonly name: "wallet";
|
|
817
|
+
readonly type: "address";
|
|
818
|
+
}, {
|
|
819
|
+
readonly indexed: false;
|
|
820
|
+
readonly internalType: "uint64";
|
|
821
|
+
readonly name: "quantity";
|
|
822
|
+
readonly type: "uint64";
|
|
823
|
+
}, {
|
|
824
|
+
readonly indexed: false;
|
|
825
|
+
readonly internalType: "int64";
|
|
826
|
+
readonly name: "newExchangeBalance";
|
|
827
|
+
readonly type: "int64";
|
|
828
|
+
}, {
|
|
829
|
+
readonly indexed: false;
|
|
830
|
+
readonly internalType: "bool";
|
|
831
|
+
readonly name: "isAssociatedWithManagedAccount";
|
|
832
|
+
readonly type: "bool";
|
|
833
|
+
}];
|
|
834
|
+
readonly name: "Withdrawn";
|
|
835
|
+
readonly type: "event";
|
|
836
|
+
}, {
|
|
837
|
+
readonly inputs: readonly [{
|
|
838
|
+
readonly internalType: "string";
|
|
839
|
+
readonly name: "baseAssetSymbol";
|
|
840
|
+
readonly type: "string";
|
|
841
|
+
}];
|
|
842
|
+
readonly name: "activateMarket";
|
|
843
|
+
readonly outputs: readonly [];
|
|
844
|
+
readonly stateMutability: "nonpayable";
|
|
845
|
+
readonly type: "function";
|
|
846
|
+
}, {
|
|
847
|
+
readonly inputs: readonly [{
|
|
848
|
+
readonly components: readonly [{
|
|
849
|
+
readonly internalType: "bool";
|
|
850
|
+
readonly name: "exists";
|
|
851
|
+
readonly type: "bool";
|
|
852
|
+
}, {
|
|
853
|
+
readonly internalType: "bool";
|
|
854
|
+
readonly name: "isActive";
|
|
855
|
+
readonly type: "bool";
|
|
856
|
+
}, {
|
|
857
|
+
readonly internalType: "string";
|
|
858
|
+
readonly name: "baseAssetSymbol";
|
|
859
|
+
readonly type: "string";
|
|
860
|
+
}, {
|
|
861
|
+
readonly internalType: "uint64";
|
|
862
|
+
readonly name: "indexPriceAtDeactivation";
|
|
863
|
+
readonly type: "uint64";
|
|
864
|
+
}, {
|
|
865
|
+
readonly internalType: "uint64";
|
|
866
|
+
readonly name: "lastIndexPrice";
|
|
867
|
+
readonly type: "uint64";
|
|
868
|
+
}, {
|
|
869
|
+
readonly internalType: "uint64";
|
|
870
|
+
readonly name: "lastIndexPriceTimestampInMs";
|
|
871
|
+
readonly type: "uint64";
|
|
872
|
+
}, {
|
|
873
|
+
readonly components: readonly [{
|
|
874
|
+
readonly internalType: "uint64";
|
|
875
|
+
readonly name: "initialMarginFraction";
|
|
876
|
+
readonly type: "uint64";
|
|
877
|
+
}, {
|
|
878
|
+
readonly internalType: "uint64";
|
|
879
|
+
readonly name: "maintenanceMarginFraction";
|
|
880
|
+
readonly type: "uint64";
|
|
881
|
+
}, {
|
|
882
|
+
readonly internalType: "uint64";
|
|
883
|
+
readonly name: "incrementalInitialMarginFraction";
|
|
884
|
+
readonly type: "uint64";
|
|
885
|
+
}, {
|
|
886
|
+
readonly internalType: "uint64";
|
|
887
|
+
readonly name: "baselinePositionSize";
|
|
888
|
+
readonly type: "uint64";
|
|
889
|
+
}, {
|
|
890
|
+
readonly internalType: "uint64";
|
|
891
|
+
readonly name: "incrementalPositionSize";
|
|
892
|
+
readonly type: "uint64";
|
|
893
|
+
}, {
|
|
894
|
+
readonly internalType: "uint64";
|
|
895
|
+
readonly name: "maximumPositionSize";
|
|
896
|
+
readonly type: "uint64";
|
|
897
|
+
}, {
|
|
898
|
+
readonly internalType: "uint64";
|
|
899
|
+
readonly name: "minimumPositionSize";
|
|
900
|
+
readonly type: "uint64";
|
|
901
|
+
}];
|
|
902
|
+
readonly internalType: "struct OverridableMarketFields";
|
|
903
|
+
readonly name: "overridableFields";
|
|
904
|
+
readonly type: "tuple";
|
|
905
|
+
}];
|
|
906
|
+
readonly internalType: "struct Market";
|
|
907
|
+
readonly name: "newMarket";
|
|
908
|
+
readonly type: "tuple";
|
|
909
|
+
}];
|
|
910
|
+
readonly name: "addMarket";
|
|
911
|
+
readonly outputs: readonly [];
|
|
912
|
+
readonly stateMutability: "nonpayable";
|
|
913
|
+
readonly type: "function";
|
|
914
|
+
}, {
|
|
915
|
+
readonly inputs: readonly [];
|
|
916
|
+
readonly name: "adminWallet";
|
|
917
|
+
readonly outputs: readonly [{
|
|
918
|
+
readonly internalType: "address";
|
|
919
|
+
readonly name: "";
|
|
920
|
+
readonly type: "address";
|
|
921
|
+
}];
|
|
922
|
+
readonly stateMutability: "view";
|
|
923
|
+
readonly type: "function";
|
|
924
|
+
}, {
|
|
925
|
+
readonly inputs: readonly [{
|
|
926
|
+
readonly internalType: "address";
|
|
927
|
+
readonly name: "wallet";
|
|
928
|
+
readonly type: "address";
|
|
929
|
+
}, {
|
|
930
|
+
readonly internalType: "string";
|
|
931
|
+
readonly name: "baseAssetSymbol";
|
|
932
|
+
readonly type: "string";
|
|
933
|
+
}];
|
|
934
|
+
readonly name: "applyOutstandingWalletFundingForMarket";
|
|
935
|
+
readonly outputs: readonly [];
|
|
936
|
+
readonly stateMutability: "nonpayable";
|
|
937
|
+
readonly type: "function";
|
|
938
|
+
}, {
|
|
939
|
+
readonly inputs: readonly [{
|
|
940
|
+
readonly internalType: "uint64";
|
|
941
|
+
readonly name: "depositIndex_";
|
|
942
|
+
readonly type: "uint64";
|
|
943
|
+
}, {
|
|
944
|
+
readonly internalType: "uint64";
|
|
945
|
+
readonly name: "quantity";
|
|
946
|
+
readonly type: "uint64";
|
|
947
|
+
}, {
|
|
948
|
+
readonly internalType: "address";
|
|
949
|
+
readonly name: "managerWallet";
|
|
950
|
+
readonly type: "address";
|
|
951
|
+
}];
|
|
952
|
+
readonly name: "applyPendingDepositToManagedAccount";
|
|
953
|
+
readonly outputs: readonly [];
|
|
954
|
+
readonly stateMutability: "nonpayable";
|
|
955
|
+
readonly type: "function";
|
|
956
|
+
}, {
|
|
957
|
+
readonly inputs: readonly [{
|
|
958
|
+
readonly internalType: "uint64";
|
|
959
|
+
readonly name: "quantity";
|
|
960
|
+
readonly type: "uint64";
|
|
961
|
+
}, {
|
|
962
|
+
readonly internalType: "address";
|
|
963
|
+
readonly name: "wallet";
|
|
964
|
+
readonly type: "address";
|
|
965
|
+
}];
|
|
966
|
+
readonly name: "applyPendingDepositsForWallet";
|
|
967
|
+
readonly outputs: readonly [];
|
|
968
|
+
readonly stateMutability: "nonpayable";
|
|
969
|
+
readonly type: "function";
|
|
970
|
+
}, {
|
|
971
|
+
readonly inputs: readonly [{
|
|
972
|
+
readonly components: readonly [{
|
|
973
|
+
readonly internalType: "enum ManagedAccountWithdrawalType";
|
|
974
|
+
readonly name: "withdrawalType";
|
|
975
|
+
readonly type: "uint8";
|
|
976
|
+
}, {
|
|
977
|
+
readonly components: readonly [{
|
|
978
|
+
readonly internalType: "uint128";
|
|
979
|
+
readonly name: "nonce";
|
|
980
|
+
readonly type: "uint128";
|
|
981
|
+
}, {
|
|
982
|
+
readonly internalType: "address";
|
|
983
|
+
readonly name: "managerWallet";
|
|
984
|
+
readonly type: "address";
|
|
985
|
+
}, {
|
|
986
|
+
readonly internalType: "address";
|
|
987
|
+
readonly name: "depositorWallet";
|
|
988
|
+
readonly type: "address";
|
|
989
|
+
}, {
|
|
990
|
+
readonly internalType: "uint64";
|
|
991
|
+
readonly name: "grossQuantity";
|
|
992
|
+
readonly type: "uint64";
|
|
993
|
+
}, {
|
|
994
|
+
readonly internalType: "uint64";
|
|
995
|
+
readonly name: "maxShares";
|
|
996
|
+
readonly type: "uint64";
|
|
997
|
+
}, {
|
|
998
|
+
readonly internalType: "uint64";
|
|
999
|
+
readonly name: "maximumGasFee";
|
|
1000
|
+
readonly type: "uint64";
|
|
1001
|
+
}, {
|
|
1002
|
+
readonly internalType: "contract IManagedAccountProvider";
|
|
1003
|
+
readonly name: "managedAccountProvider";
|
|
1004
|
+
readonly type: "address";
|
|
1005
|
+
}, {
|
|
1006
|
+
readonly internalType: "bytes";
|
|
1007
|
+
readonly name: "managedAccountProviderPayload";
|
|
1008
|
+
readonly type: "bytes";
|
|
1009
|
+
}, {
|
|
1010
|
+
readonly internalType: "address";
|
|
1011
|
+
readonly name: "bridgeAdapter";
|
|
1012
|
+
readonly type: "address";
|
|
1013
|
+
}, {
|
|
1014
|
+
readonly internalType: "bytes";
|
|
1015
|
+
readonly name: "bridgeAdapterPayload";
|
|
1016
|
+
readonly type: "bytes";
|
|
1017
|
+
}, {
|
|
1018
|
+
readonly internalType: "uint64";
|
|
1019
|
+
readonly name: "gasFee";
|
|
1020
|
+
readonly type: "uint64";
|
|
1021
|
+
}, {
|
|
1022
|
+
readonly internalType: "bytes";
|
|
1023
|
+
readonly name: "walletSignature";
|
|
1024
|
+
readonly type: "bytes";
|
|
1025
|
+
}];
|
|
1026
|
+
readonly internalType: "struct WithdrawalFromManagedAccountByQuantity";
|
|
1027
|
+
readonly name: "withdrawalByQuantity";
|
|
1028
|
+
readonly type: "tuple";
|
|
1029
|
+
}, {
|
|
1030
|
+
readonly components: readonly [{
|
|
1031
|
+
readonly internalType: "uint128";
|
|
1032
|
+
readonly name: "nonce";
|
|
1033
|
+
readonly type: "uint128";
|
|
1034
|
+
}, {
|
|
1035
|
+
readonly internalType: "address";
|
|
1036
|
+
readonly name: "managerWallet";
|
|
1037
|
+
readonly type: "address";
|
|
1038
|
+
}, {
|
|
1039
|
+
readonly internalType: "address";
|
|
1040
|
+
readonly name: "depositorWallet";
|
|
1041
|
+
readonly type: "address";
|
|
1042
|
+
}, {
|
|
1043
|
+
readonly internalType: "uint64";
|
|
1044
|
+
readonly name: "shares";
|
|
1045
|
+
readonly type: "uint64";
|
|
1046
|
+
}, {
|
|
1047
|
+
readonly internalType: "uint64";
|
|
1048
|
+
readonly name: "minimumQuantity";
|
|
1049
|
+
readonly type: "uint64";
|
|
1050
|
+
}, {
|
|
1051
|
+
readonly internalType: "uint64";
|
|
1052
|
+
readonly name: "maximumGasFee";
|
|
1053
|
+
readonly type: "uint64";
|
|
1054
|
+
}, {
|
|
1055
|
+
readonly internalType: "contract IManagedAccountProvider";
|
|
1056
|
+
readonly name: "managedAccountProvider";
|
|
1057
|
+
readonly type: "address";
|
|
1058
|
+
}, {
|
|
1059
|
+
readonly internalType: "bytes";
|
|
1060
|
+
readonly name: "managedAccountProviderPayload";
|
|
1061
|
+
readonly type: "bytes";
|
|
1062
|
+
}, {
|
|
1063
|
+
readonly internalType: "address";
|
|
1064
|
+
readonly name: "bridgeAdapter";
|
|
1065
|
+
readonly type: "address";
|
|
1066
|
+
}, {
|
|
1067
|
+
readonly internalType: "bytes";
|
|
1068
|
+
readonly name: "bridgeAdapterPayload";
|
|
1069
|
+
readonly type: "bytes";
|
|
1070
|
+
}, {
|
|
1071
|
+
readonly internalType: "uint64";
|
|
1072
|
+
readonly name: "gasFee";
|
|
1073
|
+
readonly type: "uint64";
|
|
1074
|
+
}, {
|
|
1075
|
+
readonly internalType: "uint64";
|
|
1076
|
+
readonly name: "grossQuantity";
|
|
1077
|
+
readonly type: "uint64";
|
|
1078
|
+
}, {
|
|
1079
|
+
readonly internalType: "bytes";
|
|
1080
|
+
readonly name: "walletSignature";
|
|
1081
|
+
readonly type: "bytes";
|
|
1082
|
+
}];
|
|
1083
|
+
readonly internalType: "struct WithdrawalFromManagedAccountByShares";
|
|
1084
|
+
readonly name: "withdrawalByShares";
|
|
1085
|
+
readonly type: "tuple";
|
|
1086
|
+
}];
|
|
1087
|
+
readonly internalType: "struct WithdrawalFromManagedAccount";
|
|
1088
|
+
readonly name: "withdrawal";
|
|
1089
|
+
readonly type: "tuple";
|
|
1090
|
+
}];
|
|
1091
|
+
readonly name: "applyPendingWithdrawalFromManagedAccount";
|
|
1092
|
+
readonly outputs: readonly [];
|
|
1093
|
+
readonly stateMutability: "nonpayable";
|
|
1094
|
+
readonly type: "function";
|
|
1095
|
+
}, {
|
|
1096
|
+
readonly inputs: readonly [{
|
|
1097
|
+
readonly internalType: "address";
|
|
1098
|
+
readonly name: "managerWallet";
|
|
1099
|
+
readonly type: "address";
|
|
1100
|
+
}];
|
|
1101
|
+
readonly name: "associateManagerWalletWithManagedAccount";
|
|
1102
|
+
readonly outputs: readonly [];
|
|
1103
|
+
readonly stateMutability: "nonpayable";
|
|
1104
|
+
readonly type: "function";
|
|
1105
|
+
}, {
|
|
1106
|
+
readonly inputs: readonly [{
|
|
1107
|
+
readonly components: readonly [{
|
|
1108
|
+
readonly internalType: "enum ManagedAccountWithdrawalType";
|
|
1109
|
+
readonly name: "withdrawalType";
|
|
1110
|
+
readonly type: "uint8";
|
|
1111
|
+
}, {
|
|
1112
|
+
readonly components: readonly [{
|
|
1113
|
+
readonly internalType: "uint128";
|
|
1114
|
+
readonly name: "nonce";
|
|
1115
|
+
readonly type: "uint128";
|
|
1116
|
+
}, {
|
|
1117
|
+
readonly internalType: "address";
|
|
1118
|
+
readonly name: "managerWallet";
|
|
1119
|
+
readonly type: "address";
|
|
1120
|
+
}, {
|
|
1121
|
+
readonly internalType: "address";
|
|
1122
|
+
readonly name: "depositorWallet";
|
|
1123
|
+
readonly type: "address";
|
|
1124
|
+
}, {
|
|
1125
|
+
readonly internalType: "uint64";
|
|
1126
|
+
readonly name: "grossQuantity";
|
|
1127
|
+
readonly type: "uint64";
|
|
1128
|
+
}, {
|
|
1129
|
+
readonly internalType: "uint64";
|
|
1130
|
+
readonly name: "maxShares";
|
|
1131
|
+
readonly type: "uint64";
|
|
1132
|
+
}, {
|
|
1133
|
+
readonly internalType: "uint64";
|
|
1134
|
+
readonly name: "maximumGasFee";
|
|
1135
|
+
readonly type: "uint64";
|
|
1136
|
+
}, {
|
|
1137
|
+
readonly internalType: "contract IManagedAccountProvider";
|
|
1138
|
+
readonly name: "managedAccountProvider";
|
|
1139
|
+
readonly type: "address";
|
|
1140
|
+
}, {
|
|
1141
|
+
readonly internalType: "bytes";
|
|
1142
|
+
readonly name: "managedAccountProviderPayload";
|
|
1143
|
+
readonly type: "bytes";
|
|
1144
|
+
}, {
|
|
1145
|
+
readonly internalType: "address";
|
|
1146
|
+
readonly name: "bridgeAdapter";
|
|
1147
|
+
readonly type: "address";
|
|
1148
|
+
}, {
|
|
1149
|
+
readonly internalType: "bytes";
|
|
1150
|
+
readonly name: "bridgeAdapterPayload";
|
|
1151
|
+
readonly type: "bytes";
|
|
1152
|
+
}, {
|
|
1153
|
+
readonly internalType: "uint64";
|
|
1154
|
+
readonly name: "gasFee";
|
|
1155
|
+
readonly type: "uint64";
|
|
1156
|
+
}, {
|
|
1157
|
+
readonly internalType: "bytes";
|
|
1158
|
+
readonly name: "walletSignature";
|
|
1159
|
+
readonly type: "bytes";
|
|
1160
|
+
}];
|
|
1161
|
+
readonly internalType: "struct WithdrawalFromManagedAccountByQuantity";
|
|
1162
|
+
readonly name: "withdrawalByQuantity";
|
|
1163
|
+
readonly type: "tuple";
|
|
1164
|
+
}, {
|
|
1165
|
+
readonly components: readonly [{
|
|
1166
|
+
readonly internalType: "uint128";
|
|
1167
|
+
readonly name: "nonce";
|
|
1168
|
+
readonly type: "uint128";
|
|
1169
|
+
}, {
|
|
1170
|
+
readonly internalType: "address";
|
|
1171
|
+
readonly name: "managerWallet";
|
|
1172
|
+
readonly type: "address";
|
|
1173
|
+
}, {
|
|
1174
|
+
readonly internalType: "address";
|
|
1175
|
+
readonly name: "depositorWallet";
|
|
1176
|
+
readonly type: "address";
|
|
1177
|
+
}, {
|
|
1178
|
+
readonly internalType: "uint64";
|
|
1179
|
+
readonly name: "shares";
|
|
1180
|
+
readonly type: "uint64";
|
|
1181
|
+
}, {
|
|
1182
|
+
readonly internalType: "uint64";
|
|
1183
|
+
readonly name: "minimumQuantity";
|
|
1184
|
+
readonly type: "uint64";
|
|
1185
|
+
}, {
|
|
1186
|
+
readonly internalType: "uint64";
|
|
1187
|
+
readonly name: "maximumGasFee";
|
|
1188
|
+
readonly type: "uint64";
|
|
1189
|
+
}, {
|
|
1190
|
+
readonly internalType: "contract IManagedAccountProvider";
|
|
1191
|
+
readonly name: "managedAccountProvider";
|
|
1192
|
+
readonly type: "address";
|
|
1193
|
+
}, {
|
|
1194
|
+
readonly internalType: "bytes";
|
|
1195
|
+
readonly name: "managedAccountProviderPayload";
|
|
1196
|
+
readonly type: "bytes";
|
|
1197
|
+
}, {
|
|
1198
|
+
readonly internalType: "address";
|
|
1199
|
+
readonly name: "bridgeAdapter";
|
|
1200
|
+
readonly type: "address";
|
|
1201
|
+
}, {
|
|
1202
|
+
readonly internalType: "bytes";
|
|
1203
|
+
readonly name: "bridgeAdapterPayload";
|
|
1204
|
+
readonly type: "bytes";
|
|
1205
|
+
}, {
|
|
1206
|
+
readonly internalType: "uint64";
|
|
1207
|
+
readonly name: "gasFee";
|
|
1208
|
+
readonly type: "uint64";
|
|
1209
|
+
}, {
|
|
1210
|
+
readonly internalType: "uint64";
|
|
1211
|
+
readonly name: "grossQuantity";
|
|
1212
|
+
readonly type: "uint64";
|
|
1213
|
+
}, {
|
|
1214
|
+
readonly internalType: "bytes";
|
|
1215
|
+
readonly name: "walletSignature";
|
|
1216
|
+
readonly type: "bytes";
|
|
1217
|
+
}];
|
|
1218
|
+
readonly internalType: "struct WithdrawalFromManagedAccountByShares";
|
|
1219
|
+
readonly name: "withdrawalByShares";
|
|
1220
|
+
readonly type: "tuple";
|
|
1221
|
+
}];
|
|
1222
|
+
readonly internalType: "struct WithdrawalFromManagedAccount";
|
|
1223
|
+
readonly name: "withdrawal";
|
|
1224
|
+
readonly type: "tuple";
|
|
1225
|
+
}];
|
|
1226
|
+
readonly name: "cancelPendingWithdrawalFromManagedAccount";
|
|
1227
|
+
readonly outputs: readonly [];
|
|
1228
|
+
readonly stateMutability: "nonpayable";
|
|
1229
|
+
readonly type: "function";
|
|
1230
|
+
}, {
|
|
1231
|
+
readonly inputs: readonly [];
|
|
1232
|
+
readonly name: "chainPropagationPeriodInS";
|
|
1233
|
+
readonly outputs: readonly [{
|
|
1234
|
+
readonly internalType: "uint256";
|
|
1235
|
+
readonly name: "";
|
|
1236
|
+
readonly type: "uint256";
|
|
1237
|
+
}];
|
|
1238
|
+
readonly stateMutability: "view";
|
|
1239
|
+
readonly type: "function";
|
|
1240
|
+
}, {
|
|
1241
|
+
readonly inputs: readonly [];
|
|
1242
|
+
readonly name: "clearWalletExit";
|
|
1243
|
+
readonly outputs: readonly [];
|
|
1244
|
+
readonly stateMutability: "nonpayable";
|
|
1245
|
+
readonly type: "function";
|
|
1246
|
+
}, {
|
|
1247
|
+
readonly inputs: readonly [];
|
|
1248
|
+
readonly name: "custodian";
|
|
1249
|
+
readonly outputs: readonly [{
|
|
1250
|
+
readonly internalType: "contract ICustodian";
|
|
1251
|
+
readonly name: "";
|
|
1252
|
+
readonly type: "address";
|
|
1253
|
+
}];
|
|
1254
|
+
readonly stateMutability: "view";
|
|
1255
|
+
readonly type: "function";
|
|
1256
|
+
}, {
|
|
1257
|
+
readonly inputs: readonly [{
|
|
1258
|
+
readonly internalType: "string";
|
|
1259
|
+
readonly name: "baseAssetSymbol";
|
|
1260
|
+
readonly type: "string";
|
|
1261
|
+
}];
|
|
1262
|
+
readonly name: "deactivateMarket";
|
|
1263
|
+
readonly outputs: readonly [];
|
|
1264
|
+
readonly stateMutability: "nonpayable";
|
|
1265
|
+
readonly type: "function";
|
|
1266
|
+
}, {
|
|
1267
|
+
readonly inputs: readonly [];
|
|
1268
|
+
readonly name: "delegateKeyExpirationPeriodInMs";
|
|
1269
|
+
readonly outputs: readonly [{
|
|
1270
|
+
readonly internalType: "uint64";
|
|
1271
|
+
readonly name: "";
|
|
1272
|
+
readonly type: "uint64";
|
|
1273
|
+
}];
|
|
1274
|
+
readonly stateMutability: "view";
|
|
1275
|
+
readonly type: "function";
|
|
1276
|
+
}, {
|
|
1277
|
+
readonly inputs: readonly [{
|
|
1278
|
+
readonly components: readonly [{
|
|
1279
|
+
readonly internalType: "string";
|
|
1280
|
+
readonly name: "baseAssetSymbol";
|
|
1281
|
+
readonly type: "string";
|
|
1282
|
+
}, {
|
|
1283
|
+
readonly internalType: "address";
|
|
1284
|
+
readonly name: "counterpartyWallet";
|
|
1285
|
+
readonly type: "address";
|
|
1286
|
+
}, {
|
|
1287
|
+
readonly internalType: "address";
|
|
1288
|
+
readonly name: "liquidatingWallet";
|
|
1289
|
+
readonly type: "address";
|
|
1290
|
+
}, {
|
|
1291
|
+
readonly internalType: "uint64";
|
|
1292
|
+
readonly name: "liquidationBaseQuantity";
|
|
1293
|
+
readonly type: "uint64";
|
|
1294
|
+
}, {
|
|
1295
|
+
readonly internalType: "uint64";
|
|
1296
|
+
readonly name: "liquidationQuoteQuantity";
|
|
1297
|
+
readonly type: "uint64";
|
|
1298
|
+
}];
|
|
1299
|
+
readonly internalType: "struct AcquisitionDeleverageArguments";
|
|
1300
|
+
readonly name: "deleverageArguments";
|
|
1301
|
+
readonly type: "tuple";
|
|
1302
|
+
}];
|
|
1303
|
+
readonly name: "deleverageExitAcquisition";
|
|
1304
|
+
readonly outputs: readonly [];
|
|
1305
|
+
readonly stateMutability: "nonpayable";
|
|
1306
|
+
readonly type: "function";
|
|
1307
|
+
}, {
|
|
1308
|
+
readonly inputs: readonly [{
|
|
1309
|
+
readonly components: readonly [{
|
|
1310
|
+
readonly internalType: "string";
|
|
1311
|
+
readonly name: "baseAssetSymbol";
|
|
1312
|
+
readonly type: "string";
|
|
1313
|
+
}, {
|
|
1314
|
+
readonly internalType: "address";
|
|
1315
|
+
readonly name: "counterpartyWallet";
|
|
1316
|
+
readonly type: "address";
|
|
1317
|
+
}, {
|
|
1318
|
+
readonly internalType: "address";
|
|
1319
|
+
readonly name: "liquidatingWallet";
|
|
1320
|
+
readonly type: "address";
|
|
1321
|
+
}, {
|
|
1322
|
+
readonly internalType: "uint64";
|
|
1323
|
+
readonly name: "liquidationBaseQuantity";
|
|
1324
|
+
readonly type: "uint64";
|
|
1325
|
+
}, {
|
|
1326
|
+
readonly internalType: "uint64";
|
|
1327
|
+
readonly name: "liquidationQuoteQuantity";
|
|
1328
|
+
readonly type: "uint64";
|
|
1329
|
+
}];
|
|
1330
|
+
readonly internalType: "struct ClosureDeleverageArguments";
|
|
1331
|
+
readonly name: "deleverageArguments";
|
|
1332
|
+
readonly type: "tuple";
|
|
1333
|
+
}];
|
|
1334
|
+
readonly name: "deleverageExitFundClosure";
|
|
1335
|
+
readonly outputs: readonly [];
|
|
1336
|
+
readonly stateMutability: "nonpayable";
|
|
1337
|
+
readonly type: "function";
|
|
1338
|
+
}, {
|
|
1339
|
+
readonly inputs: readonly [{
|
|
1340
|
+
readonly components: readonly [{
|
|
1341
|
+
readonly internalType: "string";
|
|
1342
|
+
readonly name: "baseAssetSymbol";
|
|
1343
|
+
readonly type: "string";
|
|
1344
|
+
}, {
|
|
1345
|
+
readonly internalType: "address";
|
|
1346
|
+
readonly name: "counterpartyWallet";
|
|
1347
|
+
readonly type: "address";
|
|
1348
|
+
}, {
|
|
1349
|
+
readonly internalType: "address";
|
|
1350
|
+
readonly name: "liquidatingWallet";
|
|
1351
|
+
readonly type: "address";
|
|
1352
|
+
}, {
|
|
1353
|
+
readonly internalType: "uint64";
|
|
1354
|
+
readonly name: "liquidationBaseQuantity";
|
|
1355
|
+
readonly type: "uint64";
|
|
1356
|
+
}, {
|
|
1357
|
+
readonly internalType: "uint64";
|
|
1358
|
+
readonly name: "liquidationQuoteQuantity";
|
|
1359
|
+
readonly type: "uint64";
|
|
1360
|
+
}];
|
|
1361
|
+
readonly internalType: "struct AcquisitionDeleverageArguments";
|
|
1362
|
+
readonly name: "deleverageArguments";
|
|
1363
|
+
readonly type: "tuple";
|
|
1364
|
+
}];
|
|
1365
|
+
readonly name: "deleverageInMaintenanceAcquisition";
|
|
1366
|
+
readonly outputs: readonly [];
|
|
1367
|
+
readonly stateMutability: "nonpayable";
|
|
1368
|
+
readonly type: "function";
|
|
1369
|
+
}, {
|
|
1370
|
+
readonly inputs: readonly [{
|
|
1371
|
+
readonly components: readonly [{
|
|
1372
|
+
readonly internalType: "string";
|
|
1373
|
+
readonly name: "baseAssetSymbol";
|
|
1374
|
+
readonly type: "string";
|
|
1375
|
+
}, {
|
|
1376
|
+
readonly internalType: "address";
|
|
1377
|
+
readonly name: "counterpartyWallet";
|
|
1378
|
+
readonly type: "address";
|
|
1379
|
+
}, {
|
|
1380
|
+
readonly internalType: "address";
|
|
1381
|
+
readonly name: "liquidatingWallet";
|
|
1382
|
+
readonly type: "address";
|
|
1383
|
+
}, {
|
|
1384
|
+
readonly internalType: "uint64";
|
|
1385
|
+
readonly name: "liquidationBaseQuantity";
|
|
1386
|
+
readonly type: "uint64";
|
|
1387
|
+
}, {
|
|
1388
|
+
readonly internalType: "uint64";
|
|
1389
|
+
readonly name: "liquidationQuoteQuantity";
|
|
1390
|
+
readonly type: "uint64";
|
|
1391
|
+
}];
|
|
1392
|
+
readonly internalType: "struct ClosureDeleverageArguments";
|
|
1393
|
+
readonly name: "deleverageArguments";
|
|
1394
|
+
readonly type: "tuple";
|
|
1395
|
+
}];
|
|
1396
|
+
readonly name: "deleverageInsuranceFundClosure";
|
|
1397
|
+
readonly outputs: readonly [];
|
|
1398
|
+
readonly stateMutability: "nonpayable";
|
|
1399
|
+
readonly type: "function";
|
|
1400
|
+
}, {
|
|
1401
|
+
readonly inputs: readonly [{
|
|
1402
|
+
readonly internalType: "uint256";
|
|
1403
|
+
readonly name: "quantityInAssetUnits";
|
|
1404
|
+
readonly type: "uint256";
|
|
1405
|
+
}, {
|
|
1406
|
+
readonly internalType: "address";
|
|
1407
|
+
readonly name: "depositorWallet";
|
|
1408
|
+
readonly type: "address";
|
|
1409
|
+
}];
|
|
1410
|
+
readonly name: "deposit";
|
|
1411
|
+
readonly outputs: readonly [];
|
|
1412
|
+
readonly stateMutability: "nonpayable";
|
|
1413
|
+
readonly type: "function";
|
|
1414
|
+
}, {
|
|
1415
|
+
readonly inputs: readonly [];
|
|
1416
|
+
readonly name: "depositIndex";
|
|
1417
|
+
readonly outputs: readonly [{
|
|
1418
|
+
readonly internalType: "uint64";
|
|
1419
|
+
readonly name: "";
|
|
1420
|
+
readonly type: "uint64";
|
|
1421
|
+
}];
|
|
1422
|
+
readonly stateMutability: "view";
|
|
1423
|
+
readonly type: "function";
|
|
1424
|
+
}, {
|
|
1425
|
+
readonly inputs: readonly [{
|
|
1426
|
+
readonly internalType: "uint256";
|
|
1427
|
+
readonly name: "quantityInAssetUnits";
|
|
1428
|
+
readonly type: "uint256";
|
|
1429
|
+
}, {
|
|
1430
|
+
readonly internalType: "address";
|
|
1431
|
+
readonly name: "depositorWallet";
|
|
1432
|
+
readonly type: "address";
|
|
1433
|
+
}, {
|
|
1434
|
+
readonly internalType: "contract IManagedAccountProvider";
|
|
1435
|
+
readonly name: "managedAccountProvider";
|
|
1436
|
+
readonly type: "address";
|
|
1437
|
+
}, {
|
|
1438
|
+
readonly internalType: "bytes";
|
|
1439
|
+
readonly name: "managedAccountProviderPayload";
|
|
1440
|
+
readonly type: "bytes";
|
|
1441
|
+
}, {
|
|
1442
|
+
readonly internalType: "address";
|
|
1443
|
+
readonly name: "managerWallet";
|
|
1444
|
+
readonly type: "address";
|
|
1445
|
+
}];
|
|
1446
|
+
readonly name: "depositToManagedAccount";
|
|
1447
|
+
readonly outputs: readonly [];
|
|
1448
|
+
readonly stateMutability: "nonpayable";
|
|
1449
|
+
readonly type: "function";
|
|
1450
|
+
}, {
|
|
1451
|
+
readonly inputs: readonly [];
|
|
1452
|
+
readonly name: "dispatcherWallet";
|
|
1453
|
+
readonly outputs: readonly [{
|
|
1454
|
+
readonly internalType: "address";
|
|
1455
|
+
readonly name: "";
|
|
1456
|
+
readonly type: "address";
|
|
1457
|
+
}];
|
|
1458
|
+
readonly stateMutability: "view";
|
|
1459
|
+
readonly type: "function";
|
|
1460
|
+
}, {
|
|
1461
|
+
readonly inputs: readonly [];
|
|
1462
|
+
readonly name: "domainSeparatorV4";
|
|
1463
|
+
readonly outputs: readonly [{
|
|
1464
|
+
readonly internalType: "bytes32";
|
|
1465
|
+
readonly name: "";
|
|
1466
|
+
readonly type: "bytes32";
|
|
1467
|
+
}];
|
|
1468
|
+
readonly stateMutability: "view";
|
|
1469
|
+
readonly type: "function";
|
|
1470
|
+
}, {
|
|
1471
|
+
readonly inputs: readonly [];
|
|
1472
|
+
readonly name: "eip712Domain";
|
|
1473
|
+
readonly outputs: readonly [{
|
|
1474
|
+
readonly internalType: "bytes1";
|
|
1475
|
+
readonly name: "fields";
|
|
1476
|
+
readonly type: "bytes1";
|
|
1477
|
+
}, {
|
|
1478
|
+
readonly internalType: "string";
|
|
1479
|
+
readonly name: "name";
|
|
1480
|
+
readonly type: "string";
|
|
1481
|
+
}, {
|
|
1482
|
+
readonly internalType: "string";
|
|
1483
|
+
readonly name: "version";
|
|
1484
|
+
readonly type: "string";
|
|
1485
|
+
}, {
|
|
1486
|
+
readonly internalType: "uint256";
|
|
1487
|
+
readonly name: "chainId";
|
|
1488
|
+
readonly type: "uint256";
|
|
1489
|
+
}, {
|
|
1490
|
+
readonly internalType: "address";
|
|
1491
|
+
readonly name: "verifyingContract";
|
|
1492
|
+
readonly type: "address";
|
|
1493
|
+
}, {
|
|
1494
|
+
readonly internalType: "bytes32";
|
|
1495
|
+
readonly name: "salt";
|
|
1496
|
+
readonly type: "bytes32";
|
|
1497
|
+
}, {
|
|
1498
|
+
readonly internalType: "uint256[]";
|
|
1499
|
+
readonly name: "extensions";
|
|
1500
|
+
readonly type: "uint256[]";
|
|
1501
|
+
}];
|
|
1502
|
+
readonly stateMutability: "view";
|
|
1503
|
+
readonly type: "function";
|
|
1504
|
+
}, {
|
|
1505
|
+
readonly inputs: readonly [{
|
|
1506
|
+
readonly components: readonly [{
|
|
1507
|
+
readonly internalType: "string";
|
|
1508
|
+
readonly name: "baseAssetSymbol";
|
|
1509
|
+
readonly type: "string";
|
|
1510
|
+
}, {
|
|
1511
|
+
readonly internalType: "uint64";
|
|
1512
|
+
readonly name: "baseQuantity";
|
|
1513
|
+
readonly type: "uint64";
|
|
1514
|
+
}, {
|
|
1515
|
+
readonly internalType: "uint64";
|
|
1516
|
+
readonly name: "quoteQuantity";
|
|
1517
|
+
readonly type: "uint64";
|
|
1518
|
+
}, {
|
|
1519
|
+
readonly internalType: "int64";
|
|
1520
|
+
readonly name: "makerFeeQuantity";
|
|
1521
|
+
readonly type: "int64";
|
|
1522
|
+
}, {
|
|
1523
|
+
readonly internalType: "uint64";
|
|
1524
|
+
readonly name: "takerFeeQuantity";
|
|
1525
|
+
readonly type: "uint64";
|
|
1526
|
+
}, {
|
|
1527
|
+
readonly internalType: "uint64";
|
|
1528
|
+
readonly name: "price";
|
|
1529
|
+
readonly type: "uint64";
|
|
1530
|
+
}, {
|
|
1531
|
+
readonly internalType: "enum OrderSide";
|
|
1532
|
+
readonly name: "makerSide";
|
|
1533
|
+
readonly type: "uint8";
|
|
1534
|
+
}];
|
|
1535
|
+
readonly internalType: "struct Trade";
|
|
1536
|
+
readonly name: "trade";
|
|
1537
|
+
readonly type: "tuple";
|
|
1538
|
+
}, {
|
|
1539
|
+
readonly components: readonly [{
|
|
1540
|
+
readonly internalType: "uint128";
|
|
1541
|
+
readonly name: "nonce";
|
|
1542
|
+
readonly type: "uint128";
|
|
1543
|
+
}, {
|
|
1544
|
+
readonly internalType: "address";
|
|
1545
|
+
readonly name: "wallet";
|
|
1546
|
+
readonly type: "address";
|
|
1547
|
+
}, {
|
|
1548
|
+
readonly internalType: "enum OrderType";
|
|
1549
|
+
readonly name: "orderType";
|
|
1550
|
+
readonly type: "uint8";
|
|
1551
|
+
}, {
|
|
1552
|
+
readonly internalType: "enum OrderSide";
|
|
1553
|
+
readonly name: "side";
|
|
1554
|
+
readonly type: "uint8";
|
|
1555
|
+
}, {
|
|
1556
|
+
readonly internalType: "uint64";
|
|
1557
|
+
readonly name: "quantity";
|
|
1558
|
+
readonly type: "uint64";
|
|
1559
|
+
}, {
|
|
1560
|
+
readonly internalType: "uint64";
|
|
1561
|
+
readonly name: "limitPrice";
|
|
1562
|
+
readonly type: "uint64";
|
|
1563
|
+
}, {
|
|
1564
|
+
readonly internalType: "uint64";
|
|
1565
|
+
readonly name: "triggerPrice";
|
|
1566
|
+
readonly type: "uint64";
|
|
1567
|
+
}, {
|
|
1568
|
+
readonly internalType: "enum OrderTriggerType";
|
|
1569
|
+
readonly name: "triggerType";
|
|
1570
|
+
readonly type: "uint8";
|
|
1571
|
+
}, {
|
|
1572
|
+
readonly internalType: "uint64";
|
|
1573
|
+
readonly name: "callbackRate";
|
|
1574
|
+
readonly type: "uint64";
|
|
1575
|
+
}, {
|
|
1576
|
+
readonly internalType: "uint128";
|
|
1577
|
+
readonly name: "conditionalOrderId";
|
|
1578
|
+
readonly type: "uint128";
|
|
1579
|
+
}, {
|
|
1580
|
+
readonly internalType: "bool";
|
|
1581
|
+
readonly name: "isReduceOnly";
|
|
1582
|
+
readonly type: "bool";
|
|
1583
|
+
}, {
|
|
1584
|
+
readonly internalType: "enum OrderTimeInForce";
|
|
1585
|
+
readonly name: "timeInForce";
|
|
1586
|
+
readonly type: "uint8";
|
|
1587
|
+
}, {
|
|
1588
|
+
readonly internalType: "enum OrderSelfTradePrevention";
|
|
1589
|
+
readonly name: "selfTradePrevention";
|
|
1590
|
+
readonly type: "uint8";
|
|
1591
|
+
}, {
|
|
1592
|
+
readonly internalType: "bool";
|
|
1593
|
+
readonly name: "isLiquidationAcquisitionOnly";
|
|
1594
|
+
readonly type: "bool";
|
|
1595
|
+
}, {
|
|
1596
|
+
readonly internalType: "bool";
|
|
1597
|
+
readonly name: "isSignedByDelegatedKey";
|
|
1598
|
+
readonly type: "bool";
|
|
1599
|
+
}, {
|
|
1600
|
+
readonly components: readonly [{
|
|
1601
|
+
readonly internalType: "uint128";
|
|
1602
|
+
readonly name: "nonce";
|
|
1603
|
+
readonly type: "uint128";
|
|
1604
|
+
}, {
|
|
1605
|
+
readonly internalType: "address";
|
|
1606
|
+
readonly name: "delegatedPublicKey";
|
|
1607
|
+
readonly type: "address";
|
|
1608
|
+
}, {
|
|
1609
|
+
readonly internalType: "bytes";
|
|
1610
|
+
readonly name: "signature";
|
|
1611
|
+
readonly type: "bytes";
|
|
1612
|
+
}];
|
|
1613
|
+
readonly internalType: "struct DelegatedKeyAuthorization";
|
|
1614
|
+
readonly name: "delegatedKeyAuthorization";
|
|
1615
|
+
readonly type: "tuple";
|
|
1616
|
+
}, {
|
|
1617
|
+
readonly internalType: "string";
|
|
1618
|
+
readonly name: "clientOrderId";
|
|
1619
|
+
readonly type: "string";
|
|
1620
|
+
}, {
|
|
1621
|
+
readonly internalType: "bytes";
|
|
1622
|
+
readonly name: "walletSignature";
|
|
1623
|
+
readonly type: "bytes";
|
|
1624
|
+
}];
|
|
1625
|
+
readonly internalType: "struct Order";
|
|
1626
|
+
readonly name: "buy";
|
|
1627
|
+
readonly type: "tuple";
|
|
1628
|
+
}, {
|
|
1629
|
+
readonly components: readonly [{
|
|
1630
|
+
readonly internalType: "uint128";
|
|
1631
|
+
readonly name: "nonce";
|
|
1632
|
+
readonly type: "uint128";
|
|
1633
|
+
}, {
|
|
1634
|
+
readonly internalType: "address";
|
|
1635
|
+
readonly name: "wallet";
|
|
1636
|
+
readonly type: "address";
|
|
1637
|
+
}, {
|
|
1638
|
+
readonly internalType: "enum OrderType";
|
|
1639
|
+
readonly name: "orderType";
|
|
1640
|
+
readonly type: "uint8";
|
|
1641
|
+
}, {
|
|
1642
|
+
readonly internalType: "enum OrderSide";
|
|
1643
|
+
readonly name: "side";
|
|
1644
|
+
readonly type: "uint8";
|
|
1645
|
+
}, {
|
|
1646
|
+
readonly internalType: "uint64";
|
|
1647
|
+
readonly name: "quantity";
|
|
1648
|
+
readonly type: "uint64";
|
|
1649
|
+
}, {
|
|
1650
|
+
readonly internalType: "uint64";
|
|
1651
|
+
readonly name: "limitPrice";
|
|
1652
|
+
readonly type: "uint64";
|
|
1653
|
+
}, {
|
|
1654
|
+
readonly internalType: "uint64";
|
|
1655
|
+
readonly name: "triggerPrice";
|
|
1656
|
+
readonly type: "uint64";
|
|
1657
|
+
}, {
|
|
1658
|
+
readonly internalType: "enum OrderTriggerType";
|
|
1659
|
+
readonly name: "triggerType";
|
|
1660
|
+
readonly type: "uint8";
|
|
1661
|
+
}, {
|
|
1662
|
+
readonly internalType: "uint64";
|
|
1663
|
+
readonly name: "callbackRate";
|
|
1664
|
+
readonly type: "uint64";
|
|
1665
|
+
}, {
|
|
1666
|
+
readonly internalType: "uint128";
|
|
1667
|
+
readonly name: "conditionalOrderId";
|
|
1668
|
+
readonly type: "uint128";
|
|
1669
|
+
}, {
|
|
1670
|
+
readonly internalType: "bool";
|
|
1671
|
+
readonly name: "isReduceOnly";
|
|
1672
|
+
readonly type: "bool";
|
|
1673
|
+
}, {
|
|
1674
|
+
readonly internalType: "enum OrderTimeInForce";
|
|
1675
|
+
readonly name: "timeInForce";
|
|
1676
|
+
readonly type: "uint8";
|
|
1677
|
+
}, {
|
|
1678
|
+
readonly internalType: "enum OrderSelfTradePrevention";
|
|
1679
|
+
readonly name: "selfTradePrevention";
|
|
1680
|
+
readonly type: "uint8";
|
|
1681
|
+
}, {
|
|
1682
|
+
readonly internalType: "bool";
|
|
1683
|
+
readonly name: "isLiquidationAcquisitionOnly";
|
|
1684
|
+
readonly type: "bool";
|
|
1685
|
+
}, {
|
|
1686
|
+
readonly internalType: "bool";
|
|
1687
|
+
readonly name: "isSignedByDelegatedKey";
|
|
1688
|
+
readonly type: "bool";
|
|
1689
|
+
}, {
|
|
1690
|
+
readonly components: readonly [{
|
|
1691
|
+
readonly internalType: "uint128";
|
|
1692
|
+
readonly name: "nonce";
|
|
1693
|
+
readonly type: "uint128";
|
|
1694
|
+
}, {
|
|
1695
|
+
readonly internalType: "address";
|
|
1696
|
+
readonly name: "delegatedPublicKey";
|
|
1697
|
+
readonly type: "address";
|
|
1698
|
+
}, {
|
|
1699
|
+
readonly internalType: "bytes";
|
|
1700
|
+
readonly name: "signature";
|
|
1701
|
+
readonly type: "bytes";
|
|
1702
|
+
}];
|
|
1703
|
+
readonly internalType: "struct DelegatedKeyAuthorization";
|
|
1704
|
+
readonly name: "delegatedKeyAuthorization";
|
|
1705
|
+
readonly type: "tuple";
|
|
1706
|
+
}, {
|
|
1707
|
+
readonly internalType: "string";
|
|
1708
|
+
readonly name: "clientOrderId";
|
|
1709
|
+
readonly type: "string";
|
|
1710
|
+
}, {
|
|
1711
|
+
readonly internalType: "bytes";
|
|
1712
|
+
readonly name: "walletSignature";
|
|
1713
|
+
readonly type: "bytes";
|
|
1714
|
+
}];
|
|
1715
|
+
readonly internalType: "struct Order";
|
|
1716
|
+
readonly name: "sell";
|
|
1717
|
+
readonly type: "tuple";
|
|
1718
|
+
}];
|
|
1719
|
+
readonly name: "executeTrade";
|
|
1720
|
+
readonly outputs: readonly [];
|
|
1721
|
+
readonly stateMutability: "nonpayable";
|
|
1722
|
+
readonly type: "function";
|
|
1723
|
+
}, {
|
|
1724
|
+
readonly inputs: readonly [];
|
|
1725
|
+
readonly name: "exitFundPositionOpenedAtBlockTimestamp";
|
|
1726
|
+
readonly outputs: readonly [{
|
|
1727
|
+
readonly internalType: "uint256";
|
|
1728
|
+
readonly name: "";
|
|
1729
|
+
readonly type: "uint256";
|
|
1730
|
+
}];
|
|
1731
|
+
readonly stateMutability: "view";
|
|
1732
|
+
readonly type: "function";
|
|
1733
|
+
}, {
|
|
1734
|
+
readonly inputs: readonly [];
|
|
1735
|
+
readonly name: "exitFundWallet";
|
|
1736
|
+
readonly outputs: readonly [{
|
|
1737
|
+
readonly internalType: "address";
|
|
1738
|
+
readonly name: "";
|
|
1739
|
+
readonly type: "address";
|
|
1740
|
+
}];
|
|
1741
|
+
readonly stateMutability: "view";
|
|
1742
|
+
readonly type: "function";
|
|
1743
|
+
}, {
|
|
1744
|
+
readonly inputs: readonly [{
|
|
1745
|
+
readonly internalType: "address";
|
|
1746
|
+
readonly name: "wallet";
|
|
1747
|
+
readonly type: "address";
|
|
1748
|
+
}];
|
|
1749
|
+
readonly name: "exitWallet";
|
|
1750
|
+
readonly outputs: readonly [];
|
|
1751
|
+
readonly stateMutability: "nonpayable";
|
|
1752
|
+
readonly type: "function";
|
|
1753
|
+
}, {
|
|
1754
|
+
readonly inputs: readonly [];
|
|
1755
|
+
readonly name: "feeWallet";
|
|
1756
|
+
readonly outputs: readonly [{
|
|
1757
|
+
readonly internalType: "address";
|
|
1758
|
+
readonly name: "";
|
|
1759
|
+
readonly type: "address";
|
|
1760
|
+
}];
|
|
1761
|
+
readonly stateMutability: "view";
|
|
1762
|
+
readonly type: "function";
|
|
1763
|
+
}, {
|
|
1764
|
+
readonly inputs: readonly [{
|
|
1765
|
+
readonly internalType: "string";
|
|
1766
|
+
readonly name: "";
|
|
1767
|
+
readonly type: "string";
|
|
1768
|
+
}, {
|
|
1769
|
+
readonly internalType: "uint256";
|
|
1770
|
+
readonly name: "";
|
|
1771
|
+
readonly type: "uint256";
|
|
1772
|
+
}];
|
|
1773
|
+
readonly name: "fundingMultipliersByBaseAssetSymbol";
|
|
1774
|
+
readonly outputs: readonly [{
|
|
1775
|
+
readonly internalType: "int64";
|
|
1776
|
+
readonly name: "fundingMultiplier0";
|
|
1777
|
+
readonly type: "int64";
|
|
1778
|
+
}, {
|
|
1779
|
+
readonly internalType: "int64";
|
|
1780
|
+
readonly name: "fundingMultiplier1";
|
|
1781
|
+
readonly type: "int64";
|
|
1782
|
+
}, {
|
|
1783
|
+
readonly internalType: "int64";
|
|
1784
|
+
readonly name: "fundingMultiplier2";
|
|
1785
|
+
readonly type: "int64";
|
|
1786
|
+
}, {
|
|
1787
|
+
readonly internalType: "int64";
|
|
1788
|
+
readonly name: "fundingMultiplier3";
|
|
1789
|
+
readonly type: "int64";
|
|
1790
|
+
}];
|
|
1791
|
+
readonly stateMutability: "view";
|
|
1792
|
+
readonly type: "function";
|
|
1793
|
+
}, {
|
|
1794
|
+
readonly inputs: readonly [];
|
|
1795
|
+
readonly name: "insuranceFundWallet";
|
|
1796
|
+
readonly outputs: readonly [{
|
|
1797
|
+
readonly internalType: "address";
|
|
1798
|
+
readonly name: "";
|
|
1799
|
+
readonly type: "address";
|
|
1800
|
+
}];
|
|
1801
|
+
readonly stateMutability: "view";
|
|
1802
|
+
readonly type: "function";
|
|
1803
|
+
}, {
|
|
1804
|
+
readonly inputs: readonly [{
|
|
1805
|
+
readonly internalType: "uint128";
|
|
1806
|
+
readonly name: "nonce";
|
|
1807
|
+
readonly type: "uint128";
|
|
1808
|
+
}];
|
|
1809
|
+
readonly name: "invalidateNonce";
|
|
1810
|
+
readonly outputs: readonly [];
|
|
1811
|
+
readonly stateMutability: "nonpayable";
|
|
1812
|
+
readonly type: "function";
|
|
1813
|
+
}, {
|
|
1814
|
+
readonly inputs: readonly [];
|
|
1815
|
+
readonly name: "isDepositEnabled";
|
|
1816
|
+
readonly outputs: readonly [{
|
|
1817
|
+
readonly internalType: "bool";
|
|
1818
|
+
readonly name: "";
|
|
1819
|
+
readonly type: "bool";
|
|
1820
|
+
}];
|
|
1821
|
+
readonly stateMutability: "view";
|
|
1822
|
+
readonly type: "function";
|
|
1823
|
+
}, {
|
|
1824
|
+
readonly inputs: readonly [{
|
|
1825
|
+
readonly internalType: "string";
|
|
1826
|
+
readonly name: "";
|
|
1827
|
+
readonly type: "string";
|
|
1828
|
+
}];
|
|
1829
|
+
readonly name: "lastFundingRatePublishTimestampInMsByBaseAssetSymbol";
|
|
1830
|
+
readonly outputs: readonly [{
|
|
1831
|
+
readonly internalType: "uint64";
|
|
1832
|
+
readonly name: "";
|
|
1833
|
+
readonly type: "uint64";
|
|
1834
|
+
}];
|
|
1835
|
+
readonly stateMutability: "view";
|
|
1836
|
+
readonly type: "function";
|
|
1837
|
+
}, {
|
|
1838
|
+
readonly inputs: readonly [{
|
|
1839
|
+
readonly components: readonly [{
|
|
1840
|
+
readonly internalType: "string";
|
|
1841
|
+
readonly name: "baseAssetSymbol";
|
|
1842
|
+
readonly type: "string";
|
|
1843
|
+
}, {
|
|
1844
|
+
readonly internalType: "address";
|
|
1845
|
+
readonly name: "liquidatingWallet";
|
|
1846
|
+
readonly type: "address";
|
|
1847
|
+
}, {
|
|
1848
|
+
readonly internalType: "uint64";
|
|
1849
|
+
readonly name: "liquidationQuoteQuantity";
|
|
1850
|
+
readonly type: "uint64";
|
|
1851
|
+
}];
|
|
1852
|
+
readonly internalType: "struct PositionBelowMinimumLiquidationArguments";
|
|
1853
|
+
readonly name: "liquidationArguments";
|
|
1854
|
+
readonly type: "tuple";
|
|
1855
|
+
}];
|
|
1856
|
+
readonly name: "liquidatePositionBelowMinimum";
|
|
1857
|
+
readonly outputs: readonly [];
|
|
1858
|
+
readonly stateMutability: "nonpayable";
|
|
1859
|
+
readonly type: "function";
|
|
1860
|
+
}, {
|
|
1861
|
+
readonly inputs: readonly [{
|
|
1862
|
+
readonly components: readonly [{
|
|
1863
|
+
readonly internalType: "string";
|
|
1864
|
+
readonly name: "baseAssetSymbol";
|
|
1865
|
+
readonly type: "string";
|
|
1866
|
+
}, {
|
|
1867
|
+
readonly internalType: "uint64";
|
|
1868
|
+
readonly name: "feeQuantity";
|
|
1869
|
+
readonly type: "uint64";
|
|
1870
|
+
}, {
|
|
1871
|
+
readonly internalType: "address";
|
|
1872
|
+
readonly name: "liquidatingWallet";
|
|
1873
|
+
readonly type: "address";
|
|
1874
|
+
}, {
|
|
1875
|
+
readonly internalType: "uint64";
|
|
1876
|
+
readonly name: "liquidationQuoteQuantity";
|
|
1877
|
+
readonly type: "uint64";
|
|
1878
|
+
}];
|
|
1879
|
+
readonly internalType: "struct PositionInDeactivatedMarketLiquidationArguments";
|
|
1880
|
+
readonly name: "liquidationArguments";
|
|
1881
|
+
readonly type: "tuple";
|
|
1882
|
+
}];
|
|
1883
|
+
readonly name: "liquidatePositionInDeactivatedMarket";
|
|
1884
|
+
readonly outputs: readonly [];
|
|
1885
|
+
readonly stateMutability: "nonpayable";
|
|
1886
|
+
readonly type: "function";
|
|
1887
|
+
}, {
|
|
1888
|
+
readonly inputs: readonly [{
|
|
1889
|
+
readonly components: readonly [{
|
|
1890
|
+
readonly internalType: "address";
|
|
1891
|
+
readonly name: "counterpartyWallet";
|
|
1892
|
+
readonly type: "address";
|
|
1893
|
+
}, {
|
|
1894
|
+
readonly internalType: "address";
|
|
1895
|
+
readonly name: "liquidatingWallet";
|
|
1896
|
+
readonly type: "address";
|
|
1897
|
+
}, {
|
|
1898
|
+
readonly internalType: "uint64[]";
|
|
1899
|
+
readonly name: "liquidationQuoteQuantities";
|
|
1900
|
+
readonly type: "uint64[]";
|
|
1901
|
+
}];
|
|
1902
|
+
readonly internalType: "struct WalletLiquidationArguments";
|
|
1903
|
+
readonly name: "liquidationArguments";
|
|
1904
|
+
readonly type: "tuple";
|
|
1905
|
+
}];
|
|
1906
|
+
readonly name: "liquidateWalletExit";
|
|
1907
|
+
readonly outputs: readonly [];
|
|
1908
|
+
readonly stateMutability: "nonpayable";
|
|
1909
|
+
readonly type: "function";
|
|
1910
|
+
}, {
|
|
1911
|
+
readonly inputs: readonly [{
|
|
1912
|
+
readonly components: readonly [{
|
|
1913
|
+
readonly internalType: "address";
|
|
1914
|
+
readonly name: "counterpartyWallet";
|
|
1915
|
+
readonly type: "address";
|
|
1916
|
+
}, {
|
|
1917
|
+
readonly internalType: "address";
|
|
1918
|
+
readonly name: "liquidatingWallet";
|
|
1919
|
+
readonly type: "address";
|
|
1920
|
+
}, {
|
|
1921
|
+
readonly internalType: "uint64[]";
|
|
1922
|
+
readonly name: "liquidationQuoteQuantities";
|
|
1923
|
+
readonly type: "uint64[]";
|
|
1924
|
+
}];
|
|
1925
|
+
readonly internalType: "struct WalletLiquidationArguments";
|
|
1926
|
+
readonly name: "liquidationArguments";
|
|
1927
|
+
readonly type: "tuple";
|
|
1928
|
+
}];
|
|
1929
|
+
readonly name: "liquidateWalletInMaintenance";
|
|
1930
|
+
readonly outputs: readonly [];
|
|
1931
|
+
readonly stateMutability: "nonpayable";
|
|
1932
|
+
readonly type: "function";
|
|
1933
|
+
}, {
|
|
1934
|
+
readonly inputs: readonly [{
|
|
1935
|
+
readonly components: readonly [{
|
|
1936
|
+
readonly internalType: "address";
|
|
1937
|
+
readonly name: "counterpartyWallet";
|
|
1938
|
+
readonly type: "address";
|
|
1939
|
+
}, {
|
|
1940
|
+
readonly internalType: "address";
|
|
1941
|
+
readonly name: "liquidatingWallet";
|
|
1942
|
+
readonly type: "address";
|
|
1943
|
+
}, {
|
|
1944
|
+
readonly internalType: "uint64[]";
|
|
1945
|
+
readonly name: "liquidationQuoteQuantities";
|
|
1946
|
+
readonly type: "uint64[]";
|
|
1947
|
+
}];
|
|
1948
|
+
readonly internalType: "struct WalletLiquidationArguments";
|
|
1949
|
+
readonly name: "liquidationArguments";
|
|
1950
|
+
readonly type: "tuple";
|
|
1951
|
+
}];
|
|
1952
|
+
readonly name: "liquidateWalletInMaintenanceDuringSystemRecovery";
|
|
1953
|
+
readonly outputs: readonly [];
|
|
1954
|
+
readonly stateMutability: "nonpayable";
|
|
1955
|
+
readonly type: "function";
|
|
1956
|
+
}, {
|
|
1957
|
+
readonly inputs: readonly [{
|
|
1958
|
+
readonly internalType: "address";
|
|
1959
|
+
readonly name: "wallet";
|
|
1960
|
+
readonly type: "address";
|
|
1961
|
+
}, {
|
|
1962
|
+
readonly internalType: "string";
|
|
1963
|
+
readonly name: "assetSymbol";
|
|
1964
|
+
readonly type: "string";
|
|
1965
|
+
}];
|
|
1966
|
+
readonly name: "loadBalanceBySymbol";
|
|
1967
|
+
readonly outputs: readonly [{
|
|
1968
|
+
readonly internalType: "int64";
|
|
1969
|
+
readonly name: "";
|
|
1970
|
+
readonly type: "int64";
|
|
1971
|
+
}];
|
|
1972
|
+
readonly stateMutability: "view";
|
|
1973
|
+
readonly type: "function";
|
|
1974
|
+
}, {
|
|
1975
|
+
readonly inputs: readonly [{
|
|
1976
|
+
readonly internalType: "address";
|
|
1977
|
+
readonly name: "wallet";
|
|
1978
|
+
readonly type: "address";
|
|
1979
|
+
}, {
|
|
1980
|
+
readonly internalType: "string";
|
|
1981
|
+
readonly name: "assetSymbol";
|
|
1982
|
+
readonly type: "string";
|
|
1983
|
+
}];
|
|
1984
|
+
readonly name: "loadBalanceStructBySymbol";
|
|
1985
|
+
readonly outputs: readonly [{
|
|
1986
|
+
readonly components: readonly [{
|
|
1987
|
+
readonly internalType: "bool";
|
|
1988
|
+
readonly name: "isMigrated";
|
|
1989
|
+
readonly type: "bool";
|
|
1990
|
+
}, {
|
|
1991
|
+
readonly internalType: "int64";
|
|
1992
|
+
readonly name: "balance";
|
|
1993
|
+
readonly type: "int64";
|
|
1994
|
+
}, {
|
|
1995
|
+
readonly internalType: "int64";
|
|
1996
|
+
readonly name: "costBasis";
|
|
1997
|
+
readonly type: "int64";
|
|
1998
|
+
}, {
|
|
1999
|
+
readonly internalType: "uint64";
|
|
2000
|
+
readonly name: "lastUpdateTimestampInMs";
|
|
2001
|
+
readonly type: "uint64";
|
|
2002
|
+
}, {
|
|
2003
|
+
readonly internalType: "contract IManagedAccountProvider";
|
|
2004
|
+
readonly name: "managedAccountProvider";
|
|
2005
|
+
readonly type: "address";
|
|
2006
|
+
}];
|
|
2007
|
+
readonly internalType: "struct Balance";
|
|
2008
|
+
readonly name: "";
|
|
2009
|
+
readonly type: "tuple";
|
|
2010
|
+
}];
|
|
2011
|
+
readonly stateMutability: "view";
|
|
2012
|
+
readonly type: "function";
|
|
2013
|
+
}, {
|
|
2014
|
+
readonly inputs: readonly [{
|
|
2015
|
+
readonly internalType: "address";
|
|
2016
|
+
readonly name: "wallet";
|
|
2017
|
+
readonly type: "address";
|
|
2018
|
+
}];
|
|
2019
|
+
readonly name: "loadBaseAssetSymbolsWithOpenPositionsByWallet";
|
|
2020
|
+
readonly outputs: readonly [{
|
|
2021
|
+
readonly internalType: "string[]";
|
|
2022
|
+
readonly name: "";
|
|
2023
|
+
readonly type: "string[]";
|
|
2024
|
+
}];
|
|
2025
|
+
readonly stateMutability: "view";
|
|
2026
|
+
readonly type: "function";
|
|
2027
|
+
}, {
|
|
2028
|
+
readonly inputs: readonly [{
|
|
2029
|
+
readonly internalType: "uint8";
|
|
2030
|
+
readonly name: "index";
|
|
2031
|
+
readonly type: "uint8";
|
|
2032
|
+
}];
|
|
2033
|
+
readonly name: "loadBridgeAdapter";
|
|
2034
|
+
readonly outputs: readonly [{
|
|
2035
|
+
readonly internalType: "contract IBridgeAdapter";
|
|
2036
|
+
readonly name: "";
|
|
2037
|
+
readonly type: "address";
|
|
2038
|
+
}];
|
|
2039
|
+
readonly stateMutability: "view";
|
|
2040
|
+
readonly type: "function";
|
|
2041
|
+
}, {
|
|
2042
|
+
readonly inputs: readonly [];
|
|
2043
|
+
readonly name: "loadBridgeAdaptersLength";
|
|
2044
|
+
readonly outputs: readonly [{
|
|
2045
|
+
readonly internalType: "uint256";
|
|
2046
|
+
readonly name: "";
|
|
2047
|
+
readonly type: "uint256";
|
|
2048
|
+
}];
|
|
2049
|
+
readonly stateMutability: "view";
|
|
2050
|
+
readonly type: "function";
|
|
2051
|
+
}, {
|
|
2052
|
+
readonly inputs: readonly [{
|
|
2053
|
+
readonly internalType: "uint8";
|
|
2054
|
+
readonly name: "index";
|
|
2055
|
+
readonly type: "uint8";
|
|
2056
|
+
}];
|
|
2057
|
+
readonly name: "loadIndexPriceAdapter";
|
|
2058
|
+
readonly outputs: readonly [{
|
|
2059
|
+
readonly internalType: "contract IIndexPriceAdapter";
|
|
2060
|
+
readonly name: "";
|
|
2061
|
+
readonly type: "address";
|
|
2062
|
+
}];
|
|
2063
|
+
readonly stateMutability: "view";
|
|
2064
|
+
readonly type: "function";
|
|
2065
|
+
}, {
|
|
2066
|
+
readonly inputs: readonly [];
|
|
2067
|
+
readonly name: "loadIndexPriceAdaptersLength";
|
|
2068
|
+
readonly outputs: readonly [{
|
|
2069
|
+
readonly internalType: "uint256";
|
|
2070
|
+
readonly name: "";
|
|
2071
|
+
readonly type: "uint256";
|
|
2072
|
+
}];
|
|
2073
|
+
readonly stateMutability: "view";
|
|
2074
|
+
readonly type: "function";
|
|
2075
|
+
}, {
|
|
2076
|
+
readonly inputs: readonly [{
|
|
2077
|
+
readonly internalType: "address";
|
|
2078
|
+
readonly name: "wallet";
|
|
2079
|
+
readonly type: "address";
|
|
2080
|
+
}];
|
|
2081
|
+
readonly name: "loadLastNonceInvalidationForWallet";
|
|
2082
|
+
readonly outputs: readonly [{
|
|
2083
|
+
readonly components: readonly [{
|
|
2084
|
+
readonly internalType: "uint64";
|
|
2085
|
+
readonly name: "timestampInMs";
|
|
2086
|
+
readonly type: "uint64";
|
|
2087
|
+
}, {
|
|
2088
|
+
readonly internalType: "uint256";
|
|
2089
|
+
readonly name: "effectiveBlockTimestamp";
|
|
2090
|
+
readonly type: "uint256";
|
|
2091
|
+
}];
|
|
2092
|
+
readonly internalType: "struct NonceInvalidation";
|
|
2093
|
+
readonly name: "nonceInvalidation";
|
|
2094
|
+
readonly type: "tuple";
|
|
2095
|
+
}];
|
|
2096
|
+
readonly stateMutability: "view";
|
|
2097
|
+
readonly type: "function";
|
|
2098
|
+
}, {
|
|
2099
|
+
readonly inputs: readonly [{
|
|
2100
|
+
readonly internalType: "uint8";
|
|
2101
|
+
readonly name: "index";
|
|
2102
|
+
readonly type: "uint8";
|
|
2103
|
+
}];
|
|
2104
|
+
readonly name: "loadManagedAccountProvider";
|
|
2105
|
+
readonly outputs: readonly [{
|
|
2106
|
+
readonly internalType: "contract IManagedAccountProvider";
|
|
2107
|
+
readonly name: "";
|
|
2108
|
+
readonly type: "address";
|
|
2109
|
+
}];
|
|
2110
|
+
readonly stateMutability: "view";
|
|
2111
|
+
readonly type: "function";
|
|
2112
|
+
}, {
|
|
2113
|
+
readonly inputs: readonly [];
|
|
2114
|
+
readonly name: "loadManagedAccountProvidersLength";
|
|
2115
|
+
readonly outputs: readonly [{
|
|
2116
|
+
readonly internalType: "uint256";
|
|
2117
|
+
readonly name: "";
|
|
2118
|
+
readonly type: "uint256";
|
|
2119
|
+
}];
|
|
2120
|
+
readonly stateMutability: "view";
|
|
2121
|
+
readonly type: "function";
|
|
2122
|
+
}, {
|
|
2123
|
+
readonly inputs: readonly [{
|
|
2124
|
+
readonly internalType: "uint8";
|
|
2125
|
+
readonly name: "index";
|
|
2126
|
+
readonly type: "uint8";
|
|
2127
|
+
}];
|
|
2128
|
+
readonly name: "loadMarket";
|
|
2129
|
+
readonly outputs: readonly [{
|
|
2130
|
+
readonly components: readonly [{
|
|
2131
|
+
readonly internalType: "bool";
|
|
2132
|
+
readonly name: "exists";
|
|
2133
|
+
readonly type: "bool";
|
|
2134
|
+
}, {
|
|
2135
|
+
readonly internalType: "bool";
|
|
2136
|
+
readonly name: "isActive";
|
|
2137
|
+
readonly type: "bool";
|
|
2138
|
+
}, {
|
|
2139
|
+
readonly internalType: "string";
|
|
2140
|
+
readonly name: "baseAssetSymbol";
|
|
2141
|
+
readonly type: "string";
|
|
2142
|
+
}, {
|
|
2143
|
+
readonly internalType: "uint64";
|
|
2144
|
+
readonly name: "indexPriceAtDeactivation";
|
|
2145
|
+
readonly type: "uint64";
|
|
2146
|
+
}, {
|
|
2147
|
+
readonly internalType: "uint64";
|
|
2148
|
+
readonly name: "lastIndexPrice";
|
|
2149
|
+
readonly type: "uint64";
|
|
2150
|
+
}, {
|
|
2151
|
+
readonly internalType: "uint64";
|
|
2152
|
+
readonly name: "lastIndexPriceTimestampInMs";
|
|
2153
|
+
readonly type: "uint64";
|
|
2154
|
+
}, {
|
|
2155
|
+
readonly components: readonly [{
|
|
2156
|
+
readonly internalType: "uint64";
|
|
2157
|
+
readonly name: "initialMarginFraction";
|
|
2158
|
+
readonly type: "uint64";
|
|
2159
|
+
}, {
|
|
2160
|
+
readonly internalType: "uint64";
|
|
2161
|
+
readonly name: "maintenanceMarginFraction";
|
|
2162
|
+
readonly type: "uint64";
|
|
2163
|
+
}, {
|
|
2164
|
+
readonly internalType: "uint64";
|
|
2165
|
+
readonly name: "incrementalInitialMarginFraction";
|
|
2166
|
+
readonly type: "uint64";
|
|
2167
|
+
}, {
|
|
2168
|
+
readonly internalType: "uint64";
|
|
2169
|
+
readonly name: "baselinePositionSize";
|
|
2170
|
+
readonly type: "uint64";
|
|
2171
|
+
}, {
|
|
2172
|
+
readonly internalType: "uint64";
|
|
2173
|
+
readonly name: "incrementalPositionSize";
|
|
2174
|
+
readonly type: "uint64";
|
|
2175
|
+
}, {
|
|
2176
|
+
readonly internalType: "uint64";
|
|
2177
|
+
readonly name: "maximumPositionSize";
|
|
2178
|
+
readonly type: "uint64";
|
|
2179
|
+
}, {
|
|
2180
|
+
readonly internalType: "uint64";
|
|
2181
|
+
readonly name: "minimumPositionSize";
|
|
2182
|
+
readonly type: "uint64";
|
|
2183
|
+
}];
|
|
2184
|
+
readonly internalType: "struct OverridableMarketFields";
|
|
2185
|
+
readonly name: "overridableFields";
|
|
2186
|
+
readonly type: "tuple";
|
|
2187
|
+
}];
|
|
2188
|
+
readonly internalType: "struct Market";
|
|
2189
|
+
readonly name: "";
|
|
2190
|
+
readonly type: "tuple";
|
|
2191
|
+
}];
|
|
2192
|
+
readonly stateMutability: "view";
|
|
2193
|
+
readonly type: "function";
|
|
2194
|
+
}, {
|
|
2195
|
+
readonly inputs: readonly [];
|
|
2196
|
+
readonly name: "loadMarketsLength";
|
|
2197
|
+
readonly outputs: readonly [{
|
|
2198
|
+
readonly internalType: "uint256";
|
|
2199
|
+
readonly name: "";
|
|
2200
|
+
readonly type: "uint256";
|
|
2201
|
+
}];
|
|
2202
|
+
readonly stateMutability: "view";
|
|
2203
|
+
readonly type: "function";
|
|
2204
|
+
}, {
|
|
2205
|
+
readonly inputs: readonly [{
|
|
2206
|
+
readonly internalType: "address";
|
|
2207
|
+
readonly name: "wallet";
|
|
2208
|
+
readonly type: "address";
|
|
2209
|
+
}];
|
|
2210
|
+
readonly name: "loadOutstandingWalletFunding";
|
|
2211
|
+
readonly outputs: readonly [{
|
|
2212
|
+
readonly internalType: "int64";
|
|
2213
|
+
readonly name: "";
|
|
2214
|
+
readonly type: "int64";
|
|
2215
|
+
}];
|
|
2216
|
+
readonly stateMutability: "view";
|
|
2217
|
+
readonly type: "function";
|
|
2218
|
+
}, {
|
|
2219
|
+
readonly inputs: readonly [{
|
|
2220
|
+
readonly internalType: "address";
|
|
2221
|
+
readonly name: "wallet";
|
|
2222
|
+
readonly type: "address";
|
|
2223
|
+
}];
|
|
2224
|
+
readonly name: "loadQuoteQuantityAvailableForExitWithdrawal";
|
|
2225
|
+
readonly outputs: readonly [{
|
|
2226
|
+
readonly internalType: "int64";
|
|
2227
|
+
readonly name: "";
|
|
2228
|
+
readonly type: "int64";
|
|
2229
|
+
}];
|
|
2230
|
+
readonly stateMutability: "view";
|
|
2231
|
+
readonly type: "function";
|
|
2232
|
+
}, {
|
|
2233
|
+
readonly inputs: readonly [{
|
|
2234
|
+
readonly internalType: "address";
|
|
2235
|
+
readonly name: "wallet";
|
|
2236
|
+
readonly type: "address";
|
|
2237
|
+
}];
|
|
2238
|
+
readonly name: "loadTotalAccountValueFromIndexPrices";
|
|
2239
|
+
readonly outputs: readonly [{
|
|
2240
|
+
readonly internalType: "int64";
|
|
2241
|
+
readonly name: "";
|
|
2242
|
+
readonly type: "int64";
|
|
2243
|
+
}];
|
|
2244
|
+
readonly stateMutability: "view";
|
|
2245
|
+
readonly type: "function";
|
|
2246
|
+
}, {
|
|
2247
|
+
readonly inputs: readonly [{
|
|
2248
|
+
readonly internalType: "address";
|
|
2249
|
+
readonly name: "wallet";
|
|
2250
|
+
readonly type: "address";
|
|
2251
|
+
}];
|
|
2252
|
+
readonly name: "loadTotalAccountValueFromOraclePrices";
|
|
2253
|
+
readonly outputs: readonly [{
|
|
2254
|
+
readonly internalType: "int64";
|
|
2255
|
+
readonly name: "";
|
|
2256
|
+
readonly type: "int64";
|
|
2257
|
+
}];
|
|
2258
|
+
readonly stateMutability: "view";
|
|
2259
|
+
readonly type: "function";
|
|
2260
|
+
}, {
|
|
2261
|
+
readonly inputs: readonly [{
|
|
2262
|
+
readonly internalType: "address";
|
|
2263
|
+
readonly name: "wallet";
|
|
2264
|
+
readonly type: "address";
|
|
2265
|
+
}];
|
|
2266
|
+
readonly name: "loadTotalInitialMarginRequirementFromIndexPrices";
|
|
2267
|
+
readonly outputs: readonly [{
|
|
2268
|
+
readonly internalType: "uint64";
|
|
2269
|
+
readonly name: "";
|
|
2270
|
+
readonly type: "uint64";
|
|
2271
|
+
}];
|
|
2272
|
+
readonly stateMutability: "view";
|
|
2273
|
+
readonly type: "function";
|
|
2274
|
+
}, {
|
|
2275
|
+
readonly inputs: readonly [{
|
|
2276
|
+
readonly internalType: "address";
|
|
2277
|
+
readonly name: "wallet";
|
|
2278
|
+
readonly type: "address";
|
|
2279
|
+
}];
|
|
2280
|
+
readonly name: "loadTotalInitialMarginRequirementFromOraclePrices";
|
|
2281
|
+
readonly outputs: readonly [{
|
|
2282
|
+
readonly internalType: "uint64";
|
|
2283
|
+
readonly name: "";
|
|
2284
|
+
readonly type: "uint64";
|
|
2285
|
+
}];
|
|
2286
|
+
readonly stateMutability: "view";
|
|
2287
|
+
readonly type: "function";
|
|
2288
|
+
}, {
|
|
2289
|
+
readonly inputs: readonly [{
|
|
2290
|
+
readonly internalType: "address";
|
|
2291
|
+
readonly name: "wallet";
|
|
2292
|
+
readonly type: "address";
|
|
2293
|
+
}];
|
|
2294
|
+
readonly name: "loadTotalMaintenanceMarginRequirementFromIndexPrices";
|
|
2295
|
+
readonly outputs: readonly [{
|
|
2296
|
+
readonly internalType: "uint64";
|
|
2297
|
+
readonly name: "";
|
|
2298
|
+
readonly type: "uint64";
|
|
2299
|
+
}];
|
|
2300
|
+
readonly stateMutability: "view";
|
|
2301
|
+
readonly type: "function";
|
|
2302
|
+
}, {
|
|
2303
|
+
readonly inputs: readonly [{
|
|
2304
|
+
readonly internalType: "address";
|
|
2305
|
+
readonly name: "wallet";
|
|
2306
|
+
readonly type: "address";
|
|
2307
|
+
}];
|
|
2308
|
+
readonly name: "loadTotalMaintenanceMarginRequirementFromOraclePrices";
|
|
2309
|
+
readonly outputs: readonly [{
|
|
2310
|
+
readonly internalType: "uint64";
|
|
2311
|
+
readonly name: "";
|
|
2312
|
+
readonly type: "uint64";
|
|
2313
|
+
}];
|
|
2314
|
+
readonly stateMutability: "view";
|
|
2315
|
+
readonly type: "function";
|
|
2316
|
+
}, {
|
|
2317
|
+
readonly inputs: readonly [{
|
|
2318
|
+
readonly internalType: "address";
|
|
2319
|
+
readonly name: "wallet";
|
|
2320
|
+
readonly type: "address";
|
|
2321
|
+
}];
|
|
2322
|
+
readonly name: "loadWalletExitStatus";
|
|
2323
|
+
readonly outputs: readonly [{
|
|
2324
|
+
readonly components: readonly [{
|
|
2325
|
+
readonly internalType: "bool";
|
|
2326
|
+
readonly name: "exists";
|
|
2327
|
+
readonly type: "bool";
|
|
2328
|
+
}, {
|
|
2329
|
+
readonly internalType: "uint64";
|
|
2330
|
+
readonly name: "effectiveBlockTimestamp";
|
|
2331
|
+
readonly type: "uint64";
|
|
2332
|
+
}, {
|
|
2333
|
+
readonly internalType: "enum WalletExitAcquisitionDeleveragePriceStrategy";
|
|
2334
|
+
readonly name: "deleveragePriceStrategy";
|
|
2335
|
+
readonly type: "uint8";
|
|
2336
|
+
}];
|
|
2337
|
+
readonly internalType: "struct WalletExit";
|
|
2338
|
+
readonly name: "";
|
|
2339
|
+
readonly type: "tuple";
|
|
2340
|
+
}];
|
|
2341
|
+
readonly stateMutability: "view";
|
|
2342
|
+
readonly type: "function";
|
|
2343
|
+
}, {
|
|
2344
|
+
readonly inputs: readonly [{
|
|
2345
|
+
readonly internalType: "string";
|
|
2346
|
+
readonly name: "";
|
|
2347
|
+
readonly type: "string";
|
|
2348
|
+
}, {
|
|
2349
|
+
readonly internalType: "address";
|
|
2350
|
+
readonly name: "";
|
|
2351
|
+
readonly type: "address";
|
|
2352
|
+
}];
|
|
2353
|
+
readonly name: "marketOverridesByBaseAssetSymbolAndWallet";
|
|
2354
|
+
readonly outputs: readonly [{
|
|
2355
|
+
readonly internalType: "bool";
|
|
2356
|
+
readonly name: "exists";
|
|
2357
|
+
readonly type: "bool";
|
|
2358
|
+
}, {
|
|
2359
|
+
readonly components: readonly [{
|
|
2360
|
+
readonly internalType: "uint64";
|
|
2361
|
+
readonly name: "initialMarginFraction";
|
|
2362
|
+
readonly type: "uint64";
|
|
2363
|
+
}, {
|
|
2364
|
+
readonly internalType: "uint64";
|
|
2365
|
+
readonly name: "maintenanceMarginFraction";
|
|
2366
|
+
readonly type: "uint64";
|
|
2367
|
+
}, {
|
|
2368
|
+
readonly internalType: "uint64";
|
|
2369
|
+
readonly name: "incrementalInitialMarginFraction";
|
|
2370
|
+
readonly type: "uint64";
|
|
2371
|
+
}, {
|
|
2372
|
+
readonly internalType: "uint64";
|
|
2373
|
+
readonly name: "baselinePositionSize";
|
|
2374
|
+
readonly type: "uint64";
|
|
2375
|
+
}, {
|
|
2376
|
+
readonly internalType: "uint64";
|
|
2377
|
+
readonly name: "incrementalPositionSize";
|
|
2378
|
+
readonly type: "uint64";
|
|
2379
|
+
}, {
|
|
2380
|
+
readonly internalType: "uint64";
|
|
2381
|
+
readonly name: "maximumPositionSize";
|
|
2382
|
+
readonly type: "uint64";
|
|
2383
|
+
}, {
|
|
2384
|
+
readonly internalType: "uint64";
|
|
2385
|
+
readonly name: "minimumPositionSize";
|
|
2386
|
+
readonly type: "uint64";
|
|
2387
|
+
}];
|
|
2388
|
+
readonly internalType: "struct OverridableMarketFields";
|
|
2389
|
+
readonly name: "overridableFields";
|
|
2390
|
+
readonly type: "tuple";
|
|
2391
|
+
}];
|
|
2392
|
+
readonly stateMutability: "view";
|
|
2393
|
+
readonly type: "function";
|
|
2394
|
+
}, {
|
|
2395
|
+
readonly inputs: readonly [];
|
|
2396
|
+
readonly name: "migrateQuoteTokenAddress";
|
|
2397
|
+
readonly outputs: readonly [];
|
|
2398
|
+
readonly stateMutability: "nonpayable";
|
|
2399
|
+
readonly type: "function";
|
|
2400
|
+
}, {
|
|
2401
|
+
readonly inputs: readonly [];
|
|
2402
|
+
readonly name: "oraclePriceAdapter";
|
|
2403
|
+
readonly outputs: readonly [{
|
|
2404
|
+
readonly internalType: "contract IOraclePriceAdapter";
|
|
2405
|
+
readonly name: "";
|
|
2406
|
+
readonly type: "address";
|
|
2407
|
+
}];
|
|
2408
|
+
readonly stateMutability: "view";
|
|
2409
|
+
readonly type: "function";
|
|
2410
|
+
}, {
|
|
2411
|
+
readonly inputs: readonly [];
|
|
2412
|
+
readonly name: "ownerWallet";
|
|
2413
|
+
readonly outputs: readonly [{
|
|
2414
|
+
readonly internalType: "address";
|
|
2415
|
+
readonly name: "";
|
|
2416
|
+
readonly type: "address";
|
|
2417
|
+
}];
|
|
2418
|
+
readonly stateMutability: "view";
|
|
2419
|
+
readonly type: "function";
|
|
2420
|
+
}, {
|
|
2421
|
+
readonly inputs: readonly [{
|
|
2422
|
+
readonly internalType: "address";
|
|
2423
|
+
readonly name: "";
|
|
2424
|
+
readonly type: "address";
|
|
2425
|
+
}];
|
|
2426
|
+
readonly name: "pendingDepositQuantityByWallet";
|
|
2427
|
+
readonly outputs: readonly [{
|
|
2428
|
+
readonly internalType: "uint64";
|
|
2429
|
+
readonly name: "";
|
|
2430
|
+
readonly type: "uint64";
|
|
2431
|
+
}];
|
|
2432
|
+
readonly stateMutability: "view";
|
|
2433
|
+
readonly type: "function";
|
|
2434
|
+
}, {
|
|
2435
|
+
readonly inputs: readonly [];
|
|
2436
|
+
readonly name: "positionBelowMinimumLiquidationPriceToleranceMultiplier";
|
|
2437
|
+
readonly outputs: readonly [{
|
|
2438
|
+
readonly internalType: "uint64";
|
|
2439
|
+
readonly name: "";
|
|
2440
|
+
readonly type: "uint64";
|
|
2441
|
+
}];
|
|
2442
|
+
readonly stateMutability: "view";
|
|
2443
|
+
readonly type: "function";
|
|
2444
|
+
}, {
|
|
2445
|
+
readonly inputs: readonly [{
|
|
2446
|
+
readonly internalType: "string";
|
|
2447
|
+
readonly name: "baseAssetSymbol";
|
|
2448
|
+
readonly type: "string";
|
|
2449
|
+
}, {
|
|
2450
|
+
readonly internalType: "int64";
|
|
2451
|
+
readonly name: "fundingRate";
|
|
2452
|
+
readonly type: "int64";
|
|
2453
|
+
}];
|
|
2454
|
+
readonly name: "publishFundingMultiplier";
|
|
2455
|
+
readonly outputs: readonly [];
|
|
2456
|
+
readonly stateMutability: "nonpayable";
|
|
2457
|
+
readonly type: "function";
|
|
2458
|
+
}, {
|
|
2459
|
+
readonly inputs: readonly [{
|
|
2460
|
+
readonly components: readonly [{
|
|
2461
|
+
readonly internalType: "address";
|
|
2462
|
+
readonly name: "indexPriceAdapter";
|
|
2463
|
+
readonly type: "address";
|
|
2464
|
+
}, {
|
|
2465
|
+
readonly internalType: "bytes";
|
|
2466
|
+
readonly name: "payload";
|
|
2467
|
+
readonly type: "bytes";
|
|
2468
|
+
}];
|
|
2469
|
+
readonly internalType: "struct IndexPricePayload[]";
|
|
2470
|
+
readonly name: "encodedIndexPrices";
|
|
2471
|
+
readonly type: "tuple[]";
|
|
2472
|
+
}];
|
|
2473
|
+
readonly name: "publishIndexPrices";
|
|
2474
|
+
readonly outputs: readonly [];
|
|
2475
|
+
readonly stateMutability: "nonpayable";
|
|
2476
|
+
readonly type: "function";
|
|
2477
|
+
}, {
|
|
2478
|
+
readonly inputs: readonly [];
|
|
2479
|
+
readonly name: "quoteTokenAddress";
|
|
2480
|
+
readonly outputs: readonly [{
|
|
2481
|
+
readonly internalType: "address";
|
|
2482
|
+
readonly name: "";
|
|
2483
|
+
readonly type: "address";
|
|
2484
|
+
}];
|
|
2485
|
+
readonly stateMutability: "view";
|
|
2486
|
+
readonly type: "function";
|
|
2487
|
+
}, {
|
|
2488
|
+
readonly inputs: readonly [];
|
|
2489
|
+
readonly name: "removeAdmin";
|
|
2490
|
+
readonly outputs: readonly [];
|
|
2491
|
+
readonly stateMutability: "nonpayable";
|
|
2492
|
+
readonly type: "function";
|
|
2493
|
+
}, {
|
|
2494
|
+
readonly inputs: readonly [];
|
|
2495
|
+
readonly name: "removeDispatcher";
|
|
2496
|
+
readonly outputs: readonly [];
|
|
2497
|
+
readonly stateMutability: "nonpayable";
|
|
2498
|
+
readonly type: "function";
|
|
2499
|
+
}, {
|
|
2500
|
+
readonly inputs: readonly [];
|
|
2501
|
+
readonly name: "removeOwner";
|
|
2502
|
+
readonly outputs: readonly [];
|
|
2503
|
+
readonly stateMutability: "nonpayable";
|
|
2504
|
+
readonly type: "function";
|
|
2505
|
+
}, {
|
|
2506
|
+
readonly inputs: readonly [{
|
|
2507
|
+
readonly internalType: "address";
|
|
2508
|
+
readonly name: "newAdmin";
|
|
2509
|
+
readonly type: "address";
|
|
2510
|
+
}];
|
|
2511
|
+
readonly name: "setAdmin";
|
|
2512
|
+
readonly outputs: readonly [];
|
|
2513
|
+
readonly stateMutability: "nonpayable";
|
|
2514
|
+
readonly type: "function";
|
|
2515
|
+
}, {
|
|
2516
|
+
readonly inputs: readonly [{
|
|
2517
|
+
readonly internalType: "contract IBridgeAdapter[]";
|
|
2518
|
+
readonly name: "newBridgeAdapters";
|
|
2519
|
+
readonly type: "address[]";
|
|
2520
|
+
}];
|
|
2521
|
+
readonly name: "setBridgeAdapters";
|
|
2522
|
+
readonly outputs: readonly [];
|
|
2523
|
+
readonly stateMutability: "nonpayable";
|
|
2524
|
+
readonly type: "function";
|
|
2525
|
+
}, {
|
|
2526
|
+
readonly inputs: readonly [{
|
|
2527
|
+
readonly internalType: "uint256";
|
|
2528
|
+
readonly name: "newChainPropagationPeriodInS";
|
|
2529
|
+
readonly type: "uint256";
|
|
2530
|
+
}];
|
|
2531
|
+
readonly name: "setChainPropagationPeriod";
|
|
2532
|
+
readonly outputs: readonly [];
|
|
2533
|
+
readonly stateMutability: "nonpayable";
|
|
2534
|
+
readonly type: "function";
|
|
2535
|
+
}, {
|
|
2536
|
+
readonly inputs: readonly [{
|
|
2537
|
+
readonly internalType: "contract ICustodian";
|
|
2538
|
+
readonly name: "newCustodian";
|
|
2539
|
+
readonly type: "address";
|
|
2540
|
+
}];
|
|
2541
|
+
readonly name: "setCustodian";
|
|
2542
|
+
readonly outputs: readonly [];
|
|
2543
|
+
readonly stateMutability: "nonpayable";
|
|
2544
|
+
readonly type: "function";
|
|
2545
|
+
}, {
|
|
2546
|
+
readonly inputs: readonly [{
|
|
2547
|
+
readonly internalType: "uint64";
|
|
2548
|
+
readonly name: "newDelegateKeyExpirationPeriodInMs";
|
|
2549
|
+
readonly type: "uint64";
|
|
2550
|
+
}];
|
|
2551
|
+
readonly name: "setDelegatedKeyExpirationPeriod";
|
|
2552
|
+
readonly outputs: readonly [];
|
|
2553
|
+
readonly stateMutability: "nonpayable";
|
|
2554
|
+
readonly type: "function";
|
|
2555
|
+
}, {
|
|
2556
|
+
readonly inputs: readonly [{
|
|
2557
|
+
readonly internalType: "bool";
|
|
2558
|
+
readonly name: "isEnabled";
|
|
2559
|
+
readonly type: "bool";
|
|
2560
|
+
}];
|
|
2561
|
+
readonly name: "setDepositEnabled";
|
|
2562
|
+
readonly outputs: readonly [];
|
|
2563
|
+
readonly stateMutability: "nonpayable";
|
|
2564
|
+
readonly type: "function";
|
|
2565
|
+
}, {
|
|
2566
|
+
readonly inputs: readonly [];
|
|
2567
|
+
readonly name: "setDepositIndex";
|
|
2568
|
+
readonly outputs: readonly [];
|
|
2569
|
+
readonly stateMutability: "nonpayable";
|
|
2570
|
+
readonly type: "function";
|
|
2571
|
+
}, {
|
|
2572
|
+
readonly inputs: readonly [{
|
|
2573
|
+
readonly internalType: "address";
|
|
2574
|
+
readonly name: "newDispatcherWallet";
|
|
2575
|
+
readonly type: "address";
|
|
2576
|
+
}];
|
|
2577
|
+
readonly name: "setDispatcher";
|
|
2578
|
+
readonly outputs: readonly [];
|
|
2579
|
+
readonly stateMutability: "nonpayable";
|
|
2580
|
+
readonly type: "function";
|
|
2581
|
+
}, {
|
|
2582
|
+
readonly inputs: readonly [{
|
|
2583
|
+
readonly internalType: "address";
|
|
2584
|
+
readonly name: "newExitFundWallet";
|
|
2585
|
+
readonly type: "address";
|
|
2586
|
+
}];
|
|
2587
|
+
readonly name: "setExitFundWallet";
|
|
2588
|
+
readonly outputs: readonly [];
|
|
2589
|
+
readonly stateMutability: "nonpayable";
|
|
2590
|
+
readonly type: "function";
|
|
2591
|
+
}, {
|
|
2592
|
+
readonly inputs: readonly [{
|
|
2593
|
+
readonly internalType: "address";
|
|
2594
|
+
readonly name: "newFeeWallet";
|
|
2595
|
+
readonly type: "address";
|
|
2596
|
+
}];
|
|
2597
|
+
readonly name: "setFeeWallet";
|
|
2598
|
+
readonly outputs: readonly [];
|
|
2599
|
+
readonly stateMutability: "nonpayable";
|
|
2600
|
+
readonly type: "function";
|
|
2601
|
+
}, {
|
|
2602
|
+
readonly inputs: readonly [{
|
|
2603
|
+
readonly internalType: "contract IIndexPriceAdapter[]";
|
|
2604
|
+
readonly name: "newIndexPriceAdapters";
|
|
2605
|
+
readonly type: "address[]";
|
|
2606
|
+
}];
|
|
2607
|
+
readonly name: "setIndexPriceAdapters";
|
|
2608
|
+
readonly outputs: readonly [];
|
|
2609
|
+
readonly stateMutability: "nonpayable";
|
|
2610
|
+
readonly type: "function";
|
|
2611
|
+
}, {
|
|
2612
|
+
readonly inputs: readonly [{
|
|
2613
|
+
readonly internalType: "address";
|
|
2614
|
+
readonly name: "newInsuranceFundWallet";
|
|
2615
|
+
readonly type: "address";
|
|
2616
|
+
}];
|
|
2617
|
+
readonly name: "setInsuranceFundWallet";
|
|
2618
|
+
readonly outputs: readonly [];
|
|
2619
|
+
readonly stateMutability: "nonpayable";
|
|
2620
|
+
readonly type: "function";
|
|
2621
|
+
}, {
|
|
2622
|
+
readonly inputs: readonly [{
|
|
2623
|
+
readonly internalType: "contract IManagedAccountProvider[]";
|
|
2624
|
+
readonly name: "newManagedAccountProviders";
|
|
2625
|
+
readonly type: "address[]";
|
|
2626
|
+
}];
|
|
2627
|
+
readonly name: "setManagedAccountProviders";
|
|
2628
|
+
readonly outputs: readonly [];
|
|
2629
|
+
readonly stateMutability: "nonpayable";
|
|
2630
|
+
readonly type: "function";
|
|
2631
|
+
}, {
|
|
2632
|
+
readonly inputs: readonly [{
|
|
2633
|
+
readonly internalType: "string";
|
|
2634
|
+
readonly name: "baseAssetSymbol";
|
|
2635
|
+
readonly type: "string";
|
|
2636
|
+
}, {
|
|
2637
|
+
readonly components: readonly [{
|
|
2638
|
+
readonly internalType: "uint64";
|
|
2639
|
+
readonly name: "initialMarginFraction";
|
|
2640
|
+
readonly type: "uint64";
|
|
2641
|
+
}, {
|
|
2642
|
+
readonly internalType: "uint64";
|
|
2643
|
+
readonly name: "maintenanceMarginFraction";
|
|
2644
|
+
readonly type: "uint64";
|
|
2645
|
+
}, {
|
|
2646
|
+
readonly internalType: "uint64";
|
|
2647
|
+
readonly name: "incrementalInitialMarginFraction";
|
|
2648
|
+
readonly type: "uint64";
|
|
2649
|
+
}, {
|
|
2650
|
+
readonly internalType: "uint64";
|
|
2651
|
+
readonly name: "baselinePositionSize";
|
|
2652
|
+
readonly type: "uint64";
|
|
2653
|
+
}, {
|
|
2654
|
+
readonly internalType: "uint64";
|
|
2655
|
+
readonly name: "incrementalPositionSize";
|
|
2656
|
+
readonly type: "uint64";
|
|
2657
|
+
}, {
|
|
2658
|
+
readonly internalType: "uint64";
|
|
2659
|
+
readonly name: "maximumPositionSize";
|
|
2660
|
+
readonly type: "uint64";
|
|
2661
|
+
}, {
|
|
2662
|
+
readonly internalType: "uint64";
|
|
2663
|
+
readonly name: "minimumPositionSize";
|
|
2664
|
+
readonly type: "uint64";
|
|
2665
|
+
}];
|
|
2666
|
+
readonly internalType: "struct OverridableMarketFields";
|
|
2667
|
+
readonly name: "overridableFields";
|
|
2668
|
+
readonly type: "tuple";
|
|
2669
|
+
}, {
|
|
2670
|
+
readonly internalType: "address";
|
|
2671
|
+
readonly name: "wallet";
|
|
2672
|
+
readonly type: "address";
|
|
2673
|
+
}];
|
|
2674
|
+
readonly name: "setMarketOverrides";
|
|
2675
|
+
readonly outputs: readonly [];
|
|
2676
|
+
readonly stateMutability: "nonpayable";
|
|
2677
|
+
readonly type: "function";
|
|
2678
|
+
}, {
|
|
2679
|
+
readonly inputs: readonly [{
|
|
2680
|
+
readonly internalType: "contract IOraclePriceAdapter";
|
|
2681
|
+
readonly name: "newOraclePriceAdapter";
|
|
2682
|
+
readonly type: "address";
|
|
2683
|
+
}];
|
|
2684
|
+
readonly name: "setOraclePriceAdapter";
|
|
2685
|
+
readonly outputs: readonly [];
|
|
2686
|
+
readonly stateMutability: "nonpayable";
|
|
2687
|
+
readonly type: "function";
|
|
2688
|
+
}, {
|
|
2689
|
+
readonly inputs: readonly [{
|
|
2690
|
+
readonly internalType: "address";
|
|
2691
|
+
readonly name: "newOwner";
|
|
2692
|
+
readonly type: "address";
|
|
2693
|
+
}];
|
|
2694
|
+
readonly name: "setOwner";
|
|
2695
|
+
readonly outputs: readonly [];
|
|
2696
|
+
readonly stateMutability: "nonpayable";
|
|
2697
|
+
readonly type: "function";
|
|
2698
|
+
}, {
|
|
2699
|
+
readonly inputs: readonly [{
|
|
2700
|
+
readonly internalType: "uint64";
|
|
2701
|
+
readonly name: "newPositionBelowMinimumLiquidationPriceToleranceMultiplier";
|
|
2702
|
+
readonly type: "uint64";
|
|
2703
|
+
}];
|
|
2704
|
+
readonly name: "setPositionBelowMinimumLiquidationPriceToleranceMultiplier";
|
|
2705
|
+
readonly outputs: readonly [];
|
|
2706
|
+
readonly stateMutability: "nonpayable";
|
|
2707
|
+
readonly type: "function";
|
|
2708
|
+
}, {
|
|
2709
|
+
readonly inputs: readonly [{
|
|
2710
|
+
readonly internalType: "address";
|
|
2711
|
+
readonly name: "tokenAddress";
|
|
2712
|
+
readonly type: "address";
|
|
2713
|
+
}];
|
|
2714
|
+
readonly name: "skim";
|
|
2715
|
+
readonly outputs: readonly [];
|
|
2716
|
+
readonly stateMutability: "nonpayable";
|
|
2717
|
+
readonly type: "function";
|
|
2718
|
+
}, {
|
|
2719
|
+
readonly inputs: readonly [{
|
|
2720
|
+
readonly components: readonly [{
|
|
2721
|
+
readonly internalType: "uint128";
|
|
2722
|
+
readonly name: "nonce";
|
|
2723
|
+
readonly type: "uint128";
|
|
2724
|
+
}, {
|
|
2725
|
+
readonly internalType: "address";
|
|
2726
|
+
readonly name: "sourceWallet";
|
|
2727
|
+
readonly type: "address";
|
|
2728
|
+
}, {
|
|
2729
|
+
readonly internalType: "address";
|
|
2730
|
+
readonly name: "destinationWallet";
|
|
2731
|
+
readonly type: "address";
|
|
2732
|
+
}, {
|
|
2733
|
+
readonly internalType: "uint64";
|
|
2734
|
+
readonly name: "grossQuantity";
|
|
2735
|
+
readonly type: "uint64";
|
|
2736
|
+
}, {
|
|
2737
|
+
readonly internalType: "uint64";
|
|
2738
|
+
readonly name: "gasFee";
|
|
2739
|
+
readonly type: "uint64";
|
|
2740
|
+
}, {
|
|
2741
|
+
readonly internalType: "bytes";
|
|
2742
|
+
readonly name: "walletSignature";
|
|
2743
|
+
readonly type: "bytes";
|
|
2744
|
+
}];
|
|
2745
|
+
readonly internalType: "struct Transfer";
|
|
2746
|
+
readonly name: "transfer_";
|
|
2747
|
+
readonly type: "tuple";
|
|
2748
|
+
}];
|
|
2749
|
+
readonly name: "transfer";
|
|
2750
|
+
readonly outputs: readonly [];
|
|
2751
|
+
readonly stateMutability: "nonpayable";
|
|
2752
|
+
readonly type: "function";
|
|
2753
|
+
}, {
|
|
2754
|
+
readonly inputs: readonly [{
|
|
2755
|
+
readonly internalType: "string";
|
|
2756
|
+
readonly name: "baseAssetSymbol";
|
|
2757
|
+
readonly type: "string";
|
|
2758
|
+
}, {
|
|
2759
|
+
readonly internalType: "address";
|
|
2760
|
+
readonly name: "wallet";
|
|
2761
|
+
readonly type: "address";
|
|
2762
|
+
}];
|
|
2763
|
+
readonly name: "unsetMarketOverridesForWallet";
|
|
2764
|
+
readonly outputs: readonly [];
|
|
2765
|
+
readonly stateMutability: "nonpayable";
|
|
2766
|
+
readonly type: "function";
|
|
2767
|
+
}, {
|
|
2768
|
+
readonly inputs: readonly [{
|
|
2769
|
+
readonly components: readonly [{
|
|
2770
|
+
readonly internalType: "uint128";
|
|
2771
|
+
readonly name: "nonce";
|
|
2772
|
+
readonly type: "uint128";
|
|
2773
|
+
}, {
|
|
2774
|
+
readonly internalType: "address";
|
|
2775
|
+
readonly name: "wallet";
|
|
2776
|
+
readonly type: "address";
|
|
2777
|
+
}, {
|
|
2778
|
+
readonly internalType: "uint64";
|
|
2779
|
+
readonly name: "grossQuantity";
|
|
2780
|
+
readonly type: "uint64";
|
|
2781
|
+
}, {
|
|
2782
|
+
readonly internalType: "uint64";
|
|
2783
|
+
readonly name: "maximumGasFee";
|
|
2784
|
+
readonly type: "uint64";
|
|
2785
|
+
}, {
|
|
2786
|
+
readonly internalType: "address";
|
|
2787
|
+
readonly name: "bridgeAdapter";
|
|
2788
|
+
readonly type: "address";
|
|
2789
|
+
}, {
|
|
2790
|
+
readonly internalType: "bytes";
|
|
2791
|
+
readonly name: "bridgeAdapterPayload";
|
|
2792
|
+
readonly type: "bytes";
|
|
2793
|
+
}, {
|
|
2794
|
+
readonly internalType: "uint64";
|
|
2795
|
+
readonly name: "gasFee";
|
|
2796
|
+
readonly type: "uint64";
|
|
2797
|
+
}, {
|
|
2798
|
+
readonly internalType: "bytes";
|
|
2799
|
+
readonly name: "walletSignature";
|
|
2800
|
+
readonly type: "bytes";
|
|
2801
|
+
}];
|
|
2802
|
+
readonly internalType: "struct Withdrawal";
|
|
2803
|
+
readonly name: "withdrawal";
|
|
2804
|
+
readonly type: "tuple";
|
|
2805
|
+
}];
|
|
2806
|
+
readonly name: "withdraw";
|
|
2807
|
+
readonly outputs: readonly [];
|
|
2808
|
+
readonly stateMutability: "nonpayable";
|
|
2809
|
+
readonly type: "function";
|
|
2810
|
+
}, {
|
|
2811
|
+
readonly inputs: readonly [{
|
|
2812
|
+
readonly internalType: "address";
|
|
2813
|
+
readonly name: "wallet";
|
|
2814
|
+
readonly type: "address";
|
|
2815
|
+
}];
|
|
2816
|
+
readonly name: "withdrawExit";
|
|
2817
|
+
readonly outputs: readonly [];
|
|
2818
|
+
readonly stateMutability: "nonpayable";
|
|
2819
|
+
readonly type: "function";
|
|
2820
|
+
}, {
|
|
2821
|
+
readonly inputs: readonly [{
|
|
2822
|
+
readonly internalType: "address";
|
|
2823
|
+
readonly name: "wallet";
|
|
2824
|
+
readonly type: "address";
|
|
2825
|
+
}];
|
|
2826
|
+
readonly name: "withdrawExitAdmin";
|
|
2827
|
+
readonly outputs: readonly [];
|
|
2828
|
+
readonly stateMutability: "nonpayable";
|
|
2829
|
+
readonly type: "function";
|
|
2830
|
+
}, {
|
|
2831
|
+
readonly inputs: readonly [{
|
|
2832
|
+
readonly internalType: "address";
|
|
2833
|
+
readonly name: "depositorWallet";
|
|
2834
|
+
readonly type: "address";
|
|
2835
|
+
}, {
|
|
2836
|
+
readonly internalType: "address";
|
|
2837
|
+
readonly name: "managerWallet";
|
|
2838
|
+
readonly type: "address";
|
|
2839
|
+
}, {
|
|
2840
|
+
readonly internalType: "uint64";
|
|
2841
|
+
readonly name: "quantity";
|
|
2842
|
+
readonly type: "uint64";
|
|
2843
|
+
}];
|
|
2844
|
+
readonly name: "withdrawExitFromManagedAccount";
|
|
2845
|
+
readonly outputs: readonly [];
|
|
2846
|
+
readonly stateMutability: "nonpayable";
|
|
2847
|
+
readonly type: "function";
|
|
2848
|
+
}];
|
|
2849
|
+
static createInterface(): Exchange_v1Interface;
|
|
2850
|
+
static connect(address: string, runner?: ContractRunner | null): Exchange_v1;
|
|
2851
|
+
}
|
|
2852
|
+
//# sourceMappingURL=Exchange_v1__factory.d.ts.map
|