@nktkas/hyperliquid 0.32.1 → 0.32.2
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/esm/_base.js +1 -1
- package/esm/_base.js.map +1 -1
- package/esm/api/_schemas.d.ts.map +1 -1
- package/esm/api/_schemas.js +1 -15
- package/esm/api/_schemas.js.map +1 -1
- package/esm/api/exchange/_methods/_base/execute.d.ts +1 -1
- package/esm/api/exchange/_methods/_base/execute.d.ts.map +1 -1
- package/esm/api/exchange/_methods/_base/execute.js.map +1 -1
- package/esm/api/exchange/_methods/agentEnableDexAbstraction.d.ts.map +1 -1
- package/esm/api/exchange/_methods/agentEnableDexAbstraction.js +10 -1
- package/esm/api/exchange/_methods/agentEnableDexAbstraction.js.map +1 -1
- package/esm/api/exchange/_methods/agentSetAbstraction.d.ts +7 -37
- package/esm/api/exchange/_methods/agentSetAbstraction.d.ts.map +1 -1
- package/esm/api/exchange/_methods/agentSetAbstraction.js +8 -9
- package/esm/api/exchange/_methods/agentSetAbstraction.js.map +1 -1
- package/esm/api/exchange/_methods/approveAgent.d.ts +19 -17
- package/esm/api/exchange/_methods/approveAgent.d.ts.map +1 -1
- package/esm/api/exchange/_methods/approveAgent.js +13 -16
- package/esm/api/exchange/_methods/approveAgent.js.map +1 -1
- package/esm/api/exchange/_methods/approveBuilderFee.d.ts +15 -10
- package/esm/api/exchange/_methods/approveBuilderFee.d.ts.map +1 -1
- package/esm/api/exchange/_methods/approveBuilderFee.js +9 -9
- package/esm/api/exchange/_methods/approveBuilderFee.js.map +1 -1
- package/esm/api/exchange/_methods/batchModify.d.ts +18 -192
- package/esm/api/exchange/_methods/batchModify.d.ts.map +1 -1
- package/esm/api/exchange/_methods/batchModify.js +19 -22
- package/esm/api/exchange/_methods/batchModify.js.map +1 -1
- package/esm/api/exchange/_methods/borrowLend.d.ts +9 -46
- package/esm/api/exchange/_methods/borrowLend.d.ts.map +1 -1
- package/esm/api/exchange/_methods/borrowLend.js +10 -9
- package/esm/api/exchange/_methods/borrowLend.js.map +1 -1
- package/esm/api/exchange/_methods/cDeposit.d.ts +14 -10
- package/esm/api/exchange/_methods/cDeposit.d.ts.map +1 -1
- package/esm/api/exchange/_methods/cDeposit.js +8 -9
- package/esm/api/exchange/_methods/cDeposit.js.map +1 -1
- package/esm/api/exchange/_methods/cSignerAction.d.ts +13 -61
- package/esm/api/exchange/_methods/cSignerAction.d.ts.map +1 -1
- package/esm/api/exchange/_methods/cSignerAction.js +11 -13
- package/esm/api/exchange/_methods/cSignerAction.js.map +1 -1
- package/esm/api/exchange/_methods/cValidatorAction.d.ts +18 -247
- package/esm/api/exchange/_methods/cValidatorAction.d.ts.map +1 -1
- package/esm/api/exchange/_methods/cValidatorAction.js +15 -18
- package/esm/api/exchange/_methods/cValidatorAction.js.map +1 -1
- package/esm/api/exchange/_methods/cWithdraw.d.ts +14 -10
- package/esm/api/exchange/_methods/cWithdraw.d.ts.map +1 -1
- package/esm/api/exchange/_methods/cWithdraw.js +8 -9
- package/esm/api/exchange/_methods/cWithdraw.js.map +1 -1
- package/esm/api/exchange/_methods/cancel.d.ts +7 -52
- package/esm/api/exchange/_methods/cancel.d.ts.map +1 -1
- package/esm/api/exchange/_methods/cancel.js +8 -9
- package/esm/api/exchange/_methods/cancel.js.map +1 -1
- package/esm/api/exchange/_methods/cancelByCloid.d.ts +9 -56
- package/esm/api/exchange/_methods/cancelByCloid.d.ts.map +1 -1
- package/esm/api/exchange/_methods/cancelByCloid.js +10 -13
- package/esm/api/exchange/_methods/cancelByCloid.js.map +1 -1
- package/esm/api/exchange/_methods/claimRewards.d.ts.map +1 -1
- package/esm/api/exchange/_methods/claimRewards.js +10 -1
- package/esm/api/exchange/_methods/claimRewards.js.map +1 -1
- package/esm/api/exchange/_methods/convertToMultiSigUser.d.ts +19 -18
- package/esm/api/exchange/_methods/convertToMultiSigUser.d.ts.map +1 -1
- package/esm/api/exchange/_methods/convertToMultiSigUser.js +13 -17
- package/esm/api/exchange/_methods/convertToMultiSigUser.js.map +1 -1
- package/esm/api/exchange/_methods/createSubAccount.d.ts +7 -32
- package/esm/api/exchange/_methods/createSubAccount.d.ts.map +1 -1
- package/esm/api/exchange/_methods/createSubAccount.js +8 -9
- package/esm/api/exchange/_methods/createSubAccount.js.map +1 -1
- package/esm/api/exchange/_methods/createVault.d.ts +10 -58
- package/esm/api/exchange/_methods/createVault.d.ts.map +1 -1
- package/esm/api/exchange/_methods/createVault.js +11 -14
- package/esm/api/exchange/_methods/createVault.js.map +1 -1
- package/esm/api/exchange/_methods/evmUserModify.d.ts +7 -32
- package/esm/api/exchange/_methods/evmUserModify.d.ts.map +1 -1
- package/esm/api/exchange/_methods/evmUserModify.js +8 -9
- package/esm/api/exchange/_methods/evmUserModify.js.map +1 -1
- package/esm/api/exchange/_methods/linkStakingUser.d.ts +15 -10
- package/esm/api/exchange/_methods/linkStakingUser.d.ts.map +1 -1
- package/esm/api/exchange/_methods/linkStakingUser.js +9 -9
- package/esm/api/exchange/_methods/linkStakingUser.js.map +1 -1
- package/esm/api/exchange/_methods/modify.d.ts +14 -175
- package/esm/api/exchange/_methods/modify.d.ts.map +1 -1
- package/esm/api/exchange/_methods/modify.js +15 -18
- package/esm/api/exchange/_methods/modify.js.map +1 -1
- package/esm/api/exchange/_methods/noop.d.ts.map +1 -1
- package/esm/api/exchange/_methods/noop.js +10 -1
- package/esm/api/exchange/_methods/noop.js.map +1 -1
- package/esm/api/exchange/_methods/order.d.ts +19 -212
- package/esm/api/exchange/_methods/order.d.ts.map +1 -1
- package/esm/api/exchange/_methods/order.js +18 -21
- package/esm/api/exchange/_methods/order.js.map +1 -1
- package/esm/api/exchange/_methods/perpDeploy.d.ts +39 -740
- package/esm/api/exchange/_methods/perpDeploy.d.ts.map +1 -1
- package/esm/api/exchange/_methods/perpDeploy.js +21 -20
- package/esm/api/exchange/_methods/perpDeploy.js.map +1 -1
- package/esm/api/exchange/_methods/registerReferrer.d.ts +7 -32
- package/esm/api/exchange/_methods/registerReferrer.d.ts.map +1 -1
- package/esm/api/exchange/_methods/registerReferrer.js +8 -9
- package/esm/api/exchange/_methods/registerReferrer.js.map +1 -1
- package/esm/api/exchange/_methods/reserveRequestWeight.d.ts +7 -32
- package/esm/api/exchange/_methods/reserveRequestWeight.d.ts.map +1 -1
- package/esm/api/exchange/_methods/reserveRequestWeight.js +8 -9
- package/esm/api/exchange/_methods/reserveRequestWeight.js.map +1 -1
- package/esm/api/exchange/_methods/scheduleCancel.d.ts +7 -37
- package/esm/api/exchange/_methods/scheduleCancel.d.ts.map +1 -1
- package/esm/api/exchange/_methods/scheduleCancel.js +5 -5
- package/esm/api/exchange/_methods/scheduleCancel.js.map +1 -1
- package/esm/api/exchange/_methods/sendAsset.d.ts +16 -14
- package/esm/api/exchange/_methods/sendAsset.d.ts.map +1 -1
- package/esm/api/exchange/_methods/sendAsset.js +12 -15
- package/esm/api/exchange/_methods/sendAsset.js.map +1 -1
- package/esm/api/exchange/_methods/sendToEvmWithData.d.ts +21 -19
- package/esm/api/exchange/_methods/sendToEvmWithData.d.ts.map +1 -1
- package/esm/api/exchange/_methods/sendToEvmWithData.js +15 -18
- package/esm/api/exchange/_methods/sendToEvmWithData.js.map +1 -1
- package/esm/api/exchange/_methods/setDisplayName.d.ts +7 -35
- package/esm/api/exchange/_methods/setDisplayName.d.ts.map +1 -1
- package/esm/api/exchange/_methods/setDisplayName.js +8 -9
- package/esm/api/exchange/_methods/setDisplayName.js.map +1 -1
- package/esm/api/exchange/_methods/setReferrer.d.ts +7 -32
- package/esm/api/exchange/_methods/setReferrer.d.ts.map +1 -1
- package/esm/api/exchange/_methods/setReferrer.js +8 -9
- package/esm/api/exchange/_methods/setReferrer.js.map +1 -1
- package/esm/api/exchange/_methods/spotDeploy.d.ts +22 -430
- package/esm/api/exchange/_methods/spotDeploy.d.ts.map +1 -1
- package/esm/api/exchange/_methods/spotDeploy.js +14 -17
- package/esm/api/exchange/_methods/spotDeploy.js.map +1 -1
- package/esm/api/exchange/_methods/spotSend.d.ts +16 -14
- package/esm/api/exchange/_methods/spotSend.d.ts.map +1 -1
- package/esm/api/exchange/_methods/spotSend.js +10 -13
- package/esm/api/exchange/_methods/spotSend.js.map +1 -1
- package/esm/api/exchange/_methods/spotUser.d.ts +7 -45
- package/esm/api/exchange/_methods/spotUser.d.ts.map +1 -1
- package/esm/api/exchange/_methods/spotUser.js +8 -9
- package/esm/api/exchange/_methods/spotUser.js.map +1 -1
- package/esm/api/exchange/_methods/subAccountModify.d.ts +8 -39
- package/esm/api/exchange/_methods/subAccountModify.d.ts.map +1 -1
- package/esm/api/exchange/_methods/subAccountModify.js +9 -9
- package/esm/api/exchange/_methods/subAccountModify.js.map +1 -1
- package/esm/api/exchange/_methods/subAccountSpotTransfer.d.ts +10 -58
- package/esm/api/exchange/_methods/subAccountSpotTransfer.d.ts.map +1 -1
- package/esm/api/exchange/_methods/subAccountSpotTransfer.js +11 -14
- package/esm/api/exchange/_methods/subAccountSpotTransfer.js.map +1 -1
- package/esm/api/exchange/_methods/subAccountTransfer.d.ts +9 -46
- package/esm/api/exchange/_methods/subAccountTransfer.d.ts.map +1 -1
- package/esm/api/exchange/_methods/subAccountTransfer.js +10 -9
- package/esm/api/exchange/_methods/subAccountTransfer.js.map +1 -1
- package/esm/api/exchange/_methods/tokenDelegate.d.ts +16 -10
- package/esm/api/exchange/_methods/tokenDelegate.d.ts.map +1 -1
- package/esm/api/exchange/_methods/tokenDelegate.js +10 -9
- package/esm/api/exchange/_methods/tokenDelegate.js.map +1 -1
- package/esm/api/exchange/_methods/topUpIsolatedOnlyMargin.d.ts +8 -39
- package/esm/api/exchange/_methods/topUpIsolatedOnlyMargin.d.ts.map +1 -1
- package/esm/api/exchange/_methods/topUpIsolatedOnlyMargin.js +9 -9
- package/esm/api/exchange/_methods/topUpIsolatedOnlyMargin.js.map +1 -1
- package/esm/api/exchange/_methods/twapCancel.d.ts +8 -39
- package/esm/api/exchange/_methods/twapCancel.d.ts.map +1 -1
- package/esm/api/exchange/_methods/twapCancel.js +9 -9
- package/esm/api/exchange/_methods/twapCancel.js.map +1 -1
- package/esm/api/exchange/_methods/twapOrder.d.ts +13 -88
- package/esm/api/exchange/_methods/twapOrder.d.ts.map +1 -1
- package/esm/api/exchange/_methods/twapOrder.js +14 -17
- package/esm/api/exchange/_methods/twapOrder.js.map +1 -1
- package/esm/api/exchange/_methods/updateIsolatedMargin.d.ts +9 -46
- package/esm/api/exchange/_methods/updateIsolatedMargin.d.ts.map +1 -1
- package/esm/api/exchange/_methods/updateIsolatedMargin.js +10 -9
- package/esm/api/exchange/_methods/updateIsolatedMargin.js.map +1 -1
- package/esm/api/exchange/_methods/updateLeverage.d.ts +9 -46
- package/esm/api/exchange/_methods/updateLeverage.d.ts.map +1 -1
- package/esm/api/exchange/_methods/updateLeverage.js +10 -9
- package/esm/api/exchange/_methods/updateLeverage.js.map +1 -1
- package/esm/api/exchange/_methods/usdClassTransfer.d.ts +15 -10
- package/esm/api/exchange/_methods/usdClassTransfer.d.ts.map +1 -1
- package/esm/api/exchange/_methods/usdClassTransfer.js +9 -9
- package/esm/api/exchange/_methods/usdClassTransfer.js.map +1 -1
- package/esm/api/exchange/_methods/usdSend.d.ts +15 -10
- package/esm/api/exchange/_methods/usdSend.d.ts.map +1 -1
- package/esm/api/exchange/_methods/usdSend.js +9 -9
- package/esm/api/exchange/_methods/usdSend.js.map +1 -1
- package/esm/api/exchange/_methods/userDexAbstraction.d.ts +15 -10
- package/esm/api/exchange/_methods/userDexAbstraction.d.ts.map +1 -1
- package/esm/api/exchange/_methods/userDexAbstraction.js +9 -9
- package/esm/api/exchange/_methods/userDexAbstraction.js.map +1 -1
- package/esm/api/exchange/_methods/userPortfolioMargin.d.ts +15 -10
- package/esm/api/exchange/_methods/userPortfolioMargin.d.ts.map +1 -1
- package/esm/api/exchange/_methods/userPortfolioMargin.js +9 -9
- package/esm/api/exchange/_methods/userPortfolioMargin.js.map +1 -1
- package/esm/api/exchange/_methods/userSetAbstraction.d.ts +15 -10
- package/esm/api/exchange/_methods/userSetAbstraction.d.ts.map +1 -1
- package/esm/api/exchange/_methods/userSetAbstraction.js +9 -9
- package/esm/api/exchange/_methods/userSetAbstraction.js.map +1 -1
- package/esm/api/exchange/_methods/validatorL1Stream.d.ts +7 -32
- package/esm/api/exchange/_methods/validatorL1Stream.d.ts.map +1 -1
- package/esm/api/exchange/_methods/validatorL1Stream.js +8 -9
- package/esm/api/exchange/_methods/validatorL1Stream.js.map +1 -1
- package/esm/api/exchange/_methods/vaultDistribute.d.ts +8 -42
- package/esm/api/exchange/_methods/vaultDistribute.d.ts.map +1 -1
- package/esm/api/exchange/_methods/vaultDistribute.js +9 -9
- package/esm/api/exchange/_methods/vaultDistribute.js.map +1 -1
- package/esm/api/exchange/_methods/vaultModify.d.ts +9 -50
- package/esm/api/exchange/_methods/vaultModify.d.ts.map +1 -1
- package/esm/api/exchange/_methods/vaultModify.js +10 -13
- package/esm/api/exchange/_methods/vaultModify.js.map +1 -1
- package/esm/api/exchange/_methods/vaultTransfer.d.ts +9 -46
- package/esm/api/exchange/_methods/vaultTransfer.d.ts.map +1 -1
- package/esm/api/exchange/_methods/vaultTransfer.js +10 -9
- package/esm/api/exchange/_methods/vaultTransfer.js.map +1 -1
- package/esm/api/exchange/_methods/withdraw3.d.ts +15 -10
- package/esm/api/exchange/_methods/withdraw3.d.ts.map +1 -1
- package/esm/api/exchange/_methods/withdraw3.js +9 -9
- package/esm/api/exchange/_methods/withdraw3.js.map +1 -1
- package/esm/api/exchange/mod.d.ts +1 -1
- package/esm/api/exchange/mod.d.ts.map +1 -1
- package/esm/api/info/_methods/activeAssetData.d.ts +4 -4
- package/esm/api/info/_methods/activeAssetData.js +4 -4
- package/esm/api/info/_methods/alignedQuoteTokenInfo.d.ts +3 -4
- package/esm/api/info/_methods/alignedQuoteTokenInfo.d.ts.map +1 -1
- package/esm/api/info/_methods/alignedQuoteTokenInfo.js +3 -4
- package/esm/api/info/_methods/alignedQuoteTokenInfo.js.map +1 -1
- package/esm/api/info/_methods/approvedBuilders.d.ts +3 -4
- package/esm/api/info/_methods/approvedBuilders.d.ts.map +1 -1
- package/esm/api/info/_methods/approvedBuilders.js +3 -4
- package/esm/api/info/_methods/approvedBuilders.js.map +1 -1
- package/esm/api/info/_methods/blockDetails.d.ts +3 -4
- package/esm/api/info/_methods/blockDetails.d.ts.map +1 -1
- package/esm/api/info/_methods/blockDetails.js +3 -4
- package/esm/api/info/_methods/blockDetails.js.map +1 -1
- package/esm/api/info/_methods/borrowLendReserveState.d.ts +3 -4
- package/esm/api/info/_methods/borrowLendReserveState.d.ts.map +1 -1
- package/esm/api/info/_methods/borrowLendReserveState.js +3 -4
- package/esm/api/info/_methods/borrowLendReserveState.js.map +1 -1
- package/esm/api/info/_methods/borrowLendUserState.d.ts +3 -4
- package/esm/api/info/_methods/borrowLendUserState.d.ts.map +1 -1
- package/esm/api/info/_methods/borrowLendUserState.js +3 -4
- package/esm/api/info/_methods/borrowLendUserState.js.map +1 -1
- package/esm/api/info/_methods/candleSnapshot.d.ts +5 -8
- package/esm/api/info/_methods/candleSnapshot.d.ts.map +1 -1
- package/esm/api/info/_methods/candleSnapshot.js +5 -8
- package/esm/api/info/_methods/candleSnapshot.js.map +1 -1
- package/esm/api/info/_methods/clearinghouseState.d.ts +3 -4
- package/esm/api/info/_methods/clearinghouseState.d.ts.map +1 -1
- package/esm/api/info/_methods/clearinghouseState.js +3 -4
- package/esm/api/info/_methods/clearinghouseState.js.map +1 -1
- package/esm/api/info/_methods/delegations.d.ts +3 -4
- package/esm/api/info/_methods/delegations.d.ts.map +1 -1
- package/esm/api/info/_methods/delegations.js +3 -4
- package/esm/api/info/_methods/delegations.js.map +1 -1
- package/esm/api/info/_methods/delegatorHistory.d.ts +3 -4
- package/esm/api/info/_methods/delegatorHistory.d.ts.map +1 -1
- package/esm/api/info/_methods/delegatorHistory.js +3 -4
- package/esm/api/info/_methods/delegatorHistory.js.map +1 -1
- package/esm/api/info/_methods/delegatorRewards.d.ts +3 -4
- package/esm/api/info/_methods/delegatorRewards.d.ts.map +1 -1
- package/esm/api/info/_methods/delegatorRewards.js +3 -4
- package/esm/api/info/_methods/delegatorRewards.js.map +1 -1
- package/esm/api/info/_methods/delegatorSummary.d.ts +3 -4
- package/esm/api/info/_methods/delegatorSummary.d.ts.map +1 -1
- package/esm/api/info/_methods/delegatorSummary.js +3 -4
- package/esm/api/info/_methods/delegatorSummary.js.map +1 -1
- package/esm/api/info/_methods/extraAgents.d.ts +3 -4
- package/esm/api/info/_methods/extraAgents.d.ts.map +1 -1
- package/esm/api/info/_methods/extraAgents.js +3 -4
- package/esm/api/info/_methods/extraAgents.js.map +1 -1
- package/esm/api/info/_methods/frontendOpenOrders.d.ts +3 -4
- package/esm/api/info/_methods/frontendOpenOrders.d.ts.map +1 -1
- package/esm/api/info/_methods/frontendOpenOrders.js +3 -4
- package/esm/api/info/_methods/frontendOpenOrders.js.map +1 -1
- package/esm/api/info/_methods/fundingHistory.d.ts +4 -7
- package/esm/api/info/_methods/fundingHistory.d.ts.map +1 -1
- package/esm/api/info/_methods/fundingHistory.js +4 -7
- package/esm/api/info/_methods/fundingHistory.js.map +1 -1
- package/esm/api/info/_methods/historicalOrders.d.ts +3 -4
- package/esm/api/info/_methods/historicalOrders.d.ts.map +1 -1
- package/esm/api/info/_methods/historicalOrders.js +3 -4
- package/esm/api/info/_methods/historicalOrders.js.map +1 -1
- package/esm/api/info/_methods/isVip.d.ts +3 -4
- package/esm/api/info/_methods/isVip.d.ts.map +1 -1
- package/esm/api/info/_methods/isVip.js +3 -4
- package/esm/api/info/_methods/isVip.js.map +1 -1
- package/esm/api/info/_methods/l2Book.d.ts +4 -4
- package/esm/api/info/_methods/l2Book.js +4 -4
- package/esm/api/info/_methods/leadingVaults.d.ts +3 -4
- package/esm/api/info/_methods/leadingVaults.d.ts.map +1 -1
- package/esm/api/info/_methods/leadingVaults.js +3 -4
- package/esm/api/info/_methods/leadingVaults.js.map +1 -1
- package/esm/api/info/_methods/legalCheck.d.ts +3 -4
- package/esm/api/info/_methods/legalCheck.d.ts.map +1 -1
- package/esm/api/info/_methods/legalCheck.js +3 -4
- package/esm/api/info/_methods/legalCheck.js.map +1 -1
- package/esm/api/info/_methods/marginTable.d.ts +3 -4
- package/esm/api/info/_methods/marginTable.d.ts.map +1 -1
- package/esm/api/info/_methods/marginTable.js +3 -4
- package/esm/api/info/_methods/marginTable.js.map +1 -1
- package/esm/api/info/_methods/maxBuilderFee.d.ts +4 -4
- package/esm/api/info/_methods/maxBuilderFee.js +4 -4
- package/esm/api/info/_methods/openOrders.d.ts +3 -4
- package/esm/api/info/_methods/openOrders.d.ts.map +1 -1
- package/esm/api/info/_methods/openOrders.js +3 -4
- package/esm/api/info/_methods/openOrders.js.map +1 -1
- package/esm/api/info/_methods/orderStatus.d.ts +4 -4
- package/esm/api/info/_methods/orderStatus.js +4 -4
- package/esm/api/info/_methods/outcomeMeta.d.ts +3 -1
- package/esm/api/info/_methods/outcomeMeta.d.ts.map +1 -1
- package/esm/api/info/_methods/outcomeMeta.js.map +1 -1
- package/esm/api/info/_methods/perpAnnotation.d.ts +7 -1
- package/esm/api/info/_methods/perpAnnotation.d.ts.map +1 -1
- package/esm/api/info/_methods/perpAnnotation.js +3 -1
- package/esm/api/info/_methods/perpAnnotation.js.map +1 -1
- package/esm/api/info/_methods/perpConciseAnnotations.d.ts +52 -0
- package/esm/api/info/_methods/perpConciseAnnotations.d.ts.map +1 -0
- package/esm/api/info/_methods/perpConciseAnnotations.js +47 -0
- package/esm/api/info/_methods/perpConciseAnnotations.js.map +1 -0
- package/esm/api/info/_methods/perpDexLimits.d.ts +3 -4
- package/esm/api/info/_methods/perpDexLimits.d.ts.map +1 -1
- package/esm/api/info/_methods/perpDexLimits.js +3 -4
- package/esm/api/info/_methods/perpDexLimits.js.map +1 -1
- package/esm/api/info/_methods/perpDexStatus.d.ts +3 -1
- package/esm/api/info/_methods/perpDexStatus.d.ts.map +1 -1
- package/esm/api/info/_methods/perpDexStatus.js +3 -1
- package/esm/api/info/_methods/perpDexStatus.js.map +1 -1
- package/esm/api/info/_methods/portfolio.d.ts +3 -4
- package/esm/api/info/_methods/portfolio.d.ts.map +1 -1
- package/esm/api/info/_methods/portfolio.js +3 -4
- package/esm/api/info/_methods/portfolio.js.map +1 -1
- package/esm/api/info/_methods/preTransferCheck.d.ts +4 -4
- package/esm/api/info/_methods/preTransferCheck.js +4 -4
- package/esm/api/info/_methods/recentTrades.d.ts +3 -4
- package/esm/api/info/_methods/recentTrades.d.ts.map +1 -1
- package/esm/api/info/_methods/recentTrades.js +3 -4
- package/esm/api/info/_methods/recentTrades.js.map +1 -1
- package/esm/api/info/_methods/referral.d.ts +3 -4
- package/esm/api/info/_methods/referral.d.ts.map +1 -1
- package/esm/api/info/_methods/referral.js +3 -4
- package/esm/api/info/_methods/referral.js.map +1 -1
- package/esm/api/info/_methods/spotClearinghouseState.d.ts +3 -4
- package/esm/api/info/_methods/spotClearinghouseState.d.ts.map +1 -1
- package/esm/api/info/_methods/spotClearinghouseState.js +3 -4
- package/esm/api/info/_methods/spotClearinghouseState.js.map +1 -1
- package/esm/api/info/_methods/spotDeployState.d.ts +3 -4
- package/esm/api/info/_methods/spotDeployState.d.ts.map +1 -1
- package/esm/api/info/_methods/spotDeployState.js +3 -4
- package/esm/api/info/_methods/spotDeployState.js.map +1 -1
- package/esm/api/info/_methods/subAccounts.d.ts +3 -4
- package/esm/api/info/_methods/subAccounts.d.ts.map +1 -1
- package/esm/api/info/_methods/subAccounts.js +3 -4
- package/esm/api/info/_methods/subAccounts.js.map +1 -1
- package/esm/api/info/_methods/subAccounts2.d.ts +3 -4
- package/esm/api/info/_methods/subAccounts2.d.ts.map +1 -1
- package/esm/api/info/_methods/subAccounts2.js +3 -4
- package/esm/api/info/_methods/subAccounts2.js.map +1 -1
- package/esm/api/info/_methods/tokenDetails.d.ts +3 -4
- package/esm/api/info/_methods/tokenDetails.d.ts.map +1 -1
- package/esm/api/info/_methods/tokenDetails.js +3 -4
- package/esm/api/info/_methods/tokenDetails.js.map +1 -1
- package/esm/api/info/_methods/twapHistory.d.ts +3 -4
- package/esm/api/info/_methods/twapHistory.d.ts.map +1 -1
- package/esm/api/info/_methods/twapHistory.js +3 -4
- package/esm/api/info/_methods/twapHistory.js.map +1 -1
- package/esm/api/info/_methods/txDetails.d.ts +3 -4
- package/esm/api/info/_methods/txDetails.d.ts.map +1 -1
- package/esm/api/info/_methods/txDetails.js +3 -4
- package/esm/api/info/_methods/txDetails.js.map +1 -1
- package/esm/api/info/_methods/userAbstraction.d.ts +3 -4
- package/esm/api/info/_methods/userAbstraction.d.ts.map +1 -1
- package/esm/api/info/_methods/userAbstraction.js +3 -4
- package/esm/api/info/_methods/userAbstraction.js.map +1 -1
- package/esm/api/info/_methods/userBorrowLendInterest.d.ts +4 -7
- package/esm/api/info/_methods/userBorrowLendInterest.d.ts.map +1 -1
- package/esm/api/info/_methods/userBorrowLendInterest.js +4 -7
- package/esm/api/info/_methods/userBorrowLendInterest.js.map +1 -1
- package/esm/api/info/_methods/userDetails.d.ts +3 -4
- package/esm/api/info/_methods/userDetails.d.ts.map +1 -1
- package/esm/api/info/_methods/userDetails.js +3 -4
- package/esm/api/info/_methods/userDetails.js.map +1 -1
- package/esm/api/info/_methods/userDexAbstraction.d.ts +3 -4
- package/esm/api/info/_methods/userDexAbstraction.d.ts.map +1 -1
- package/esm/api/info/_methods/userDexAbstraction.js +3 -4
- package/esm/api/info/_methods/userDexAbstraction.js.map +1 -1
- package/esm/api/info/_methods/userFees.d.ts +3 -4
- package/esm/api/info/_methods/userFees.d.ts.map +1 -1
- package/esm/api/info/_methods/userFees.js +3 -4
- package/esm/api/info/_methods/userFees.js.map +1 -1
- package/esm/api/info/_methods/userFills.d.ts +3 -4
- package/esm/api/info/_methods/userFills.d.ts.map +1 -1
- package/esm/api/info/_methods/userFills.js +3 -4
- package/esm/api/info/_methods/userFills.js.map +1 -1
- package/esm/api/info/_methods/userFillsByTime.d.ts +4 -7
- package/esm/api/info/_methods/userFillsByTime.d.ts.map +1 -1
- package/esm/api/info/_methods/userFillsByTime.js +4 -7
- package/esm/api/info/_methods/userFillsByTime.js.map +1 -1
- package/esm/api/info/_methods/userFunding.d.ts +3 -4
- package/esm/api/info/_methods/userFunding.d.ts.map +1 -1
- package/esm/api/info/_methods/userFunding.js +3 -4
- package/esm/api/info/_methods/userFunding.js.map +1 -1
- package/esm/api/info/_methods/userNonFundingLedgerUpdates.d.ts +17 -5
- package/esm/api/info/_methods/userNonFundingLedgerUpdates.d.ts.map +1 -1
- package/esm/api/info/_methods/userNonFundingLedgerUpdates.js +3 -4
- package/esm/api/info/_methods/userNonFundingLedgerUpdates.js.map +1 -1
- package/esm/api/info/_methods/userRateLimit.d.ts +3 -4
- package/esm/api/info/_methods/userRateLimit.d.ts.map +1 -1
- package/esm/api/info/_methods/userRateLimit.js +3 -4
- package/esm/api/info/_methods/userRateLimit.js.map +1 -1
- package/esm/api/info/_methods/userRole.d.ts +3 -4
- package/esm/api/info/_methods/userRole.d.ts.map +1 -1
- package/esm/api/info/_methods/userRole.js +3 -4
- package/esm/api/info/_methods/userRole.js.map +1 -1
- package/esm/api/info/_methods/userToMultiSigSigners.d.ts +3 -4
- package/esm/api/info/_methods/userToMultiSigSigners.d.ts.map +1 -1
- package/esm/api/info/_methods/userToMultiSigSigners.js +3 -4
- package/esm/api/info/_methods/userToMultiSigSigners.js.map +1 -1
- package/esm/api/info/_methods/userTwapSliceFills.d.ts +3 -4
- package/esm/api/info/_methods/userTwapSliceFills.d.ts.map +1 -1
- package/esm/api/info/_methods/userTwapSliceFills.js +3 -4
- package/esm/api/info/_methods/userTwapSliceFills.js.map +1 -1
- package/esm/api/info/_methods/userTwapSliceFillsByTime.d.ts +4 -7
- package/esm/api/info/_methods/userTwapSliceFillsByTime.d.ts.map +1 -1
- package/esm/api/info/_methods/userTwapSliceFillsByTime.js +4 -7
- package/esm/api/info/_methods/userTwapSliceFillsByTime.js.map +1 -1
- package/esm/api/info/_methods/userVaultEquities.d.ts +3 -4
- package/esm/api/info/_methods/userVaultEquities.d.ts.map +1 -1
- package/esm/api/info/_methods/userVaultEquities.js +3 -4
- package/esm/api/info/_methods/userVaultEquities.js.map +1 -1
- package/esm/api/info/_methods/vaultDetails.d.ts +3 -4
- package/esm/api/info/_methods/vaultDetails.d.ts.map +1 -1
- package/esm/api/info/_methods/vaultDetails.js +3 -4
- package/esm/api/info/_methods/vaultDetails.js.map +1 -1
- package/esm/api/info/_methods/webData2.d.ts +3 -4
- package/esm/api/info/_methods/webData2.d.ts.map +1 -1
- package/esm/api/info/_methods/webData2.js +3 -4
- package/esm/api/info/_methods/webData2.js.map +1 -1
- package/esm/api/info/client.d.ts +24 -0
- package/esm/api/info/client.d.ts.map +1 -1
- package/esm/api/info/client.js +25 -0
- package/esm/api/info/client.js.map +1 -1
- package/esm/api/info/mod.d.ts +1 -0
- package/esm/api/info/mod.d.ts.map +1 -1
- package/esm/api/info/mod.js +1 -0
- package/esm/api/info/mod.js.map +1 -1
- package/esm/api/subscription/_methods/l2Book.d.ts +19 -33
- package/esm/api/subscription/_methods/l2Book.d.ts.map +1 -1
- package/esm/api/subscription/_methods/l2Book.js +2 -3
- package/esm/api/subscription/_methods/l2Book.js.map +1 -1
- package/esm/api/subscription/_methods/spotState.d.ts +1 -1
- package/esm/api/subscription/_methods/spotState.js +2 -2
- package/esm/api/subscription/_methods/spotState.js.map +1 -1
- package/esm/api/subscription/_methods/userFundings.d.ts +1 -1
- package/esm/api/subscription/_methods/userFundings.d.ts.map +1 -1
- package/esm/signing/_abstractWallet.d.ts.map +1 -1
- package/esm/signing/_abstractWallet.js +11 -1
- package/esm/signing/_abstractWallet.js.map +1 -1
- package/esm/transport/websocket/_postRequest.d.ts.map +1 -1
- package/esm/transport/websocket/_postRequest.js +9 -0
- package/esm/transport/websocket/_postRequest.js.map +1 -1
- package/esm/utils/_format.d.ts +1 -0
- package/esm/utils/_format.d.ts.map +1 -1
- package/esm/utils/_format.js +1 -1
- package/esm/utils/_format.js.map +1 -1
- package/esm/utils/mod.d.ts +1 -1
- package/esm/utils/mod.d.ts.map +1 -1
- package/esm/utils/mod.js +1 -1
- package/esm/utils/mod.js.map +1 -1
- package/package.json +2 -2
- package/script/_base.js +1 -1
- package/script/_base.js.map +1 -1
- package/script/api/_schemas.d.ts.map +1 -1
- package/script/api/_schemas.js +3 -17
- package/script/api/_schemas.js.map +1 -1
- package/script/api/exchange/_methods/_base/execute.d.ts +1 -1
- package/script/api/exchange/_methods/_base/execute.d.ts.map +1 -1
- package/script/api/exchange/_methods/_base/execute.js.map +1 -1
- package/script/api/exchange/_methods/agentEnableDexAbstraction.d.ts.map +1 -1
- package/script/api/exchange/_methods/agentEnableDexAbstraction.js +10 -1
- package/script/api/exchange/_methods/agentEnableDexAbstraction.js.map +1 -1
- package/script/api/exchange/_methods/agentSetAbstraction.d.ts +7 -37
- package/script/api/exchange/_methods/agentSetAbstraction.d.ts.map +1 -1
- package/script/api/exchange/_methods/agentSetAbstraction.js +8 -9
- package/script/api/exchange/_methods/agentSetAbstraction.js.map +1 -1
- package/script/api/exchange/_methods/approveAgent.d.ts +19 -17
- package/script/api/exchange/_methods/approveAgent.d.ts.map +1 -1
- package/script/api/exchange/_methods/approveAgent.js +13 -16
- package/script/api/exchange/_methods/approveAgent.js.map +1 -1
- package/script/api/exchange/_methods/approveBuilderFee.d.ts +15 -10
- package/script/api/exchange/_methods/approveBuilderFee.d.ts.map +1 -1
- package/script/api/exchange/_methods/approveBuilderFee.js +9 -9
- package/script/api/exchange/_methods/approveBuilderFee.js.map +1 -1
- package/script/api/exchange/_methods/batchModify.d.ts +18 -192
- package/script/api/exchange/_methods/batchModify.d.ts.map +1 -1
- package/script/api/exchange/_methods/batchModify.js +19 -22
- package/script/api/exchange/_methods/batchModify.js.map +1 -1
- package/script/api/exchange/_methods/borrowLend.d.ts +9 -46
- package/script/api/exchange/_methods/borrowLend.d.ts.map +1 -1
- package/script/api/exchange/_methods/borrowLend.js +10 -9
- package/script/api/exchange/_methods/borrowLend.js.map +1 -1
- package/script/api/exchange/_methods/cDeposit.d.ts +14 -10
- package/script/api/exchange/_methods/cDeposit.d.ts.map +1 -1
- package/script/api/exchange/_methods/cDeposit.js +8 -9
- package/script/api/exchange/_methods/cDeposit.js.map +1 -1
- package/script/api/exchange/_methods/cSignerAction.d.ts +13 -61
- package/script/api/exchange/_methods/cSignerAction.d.ts.map +1 -1
- package/script/api/exchange/_methods/cSignerAction.js +11 -13
- package/script/api/exchange/_methods/cSignerAction.js.map +1 -1
- package/script/api/exchange/_methods/cValidatorAction.d.ts +18 -247
- package/script/api/exchange/_methods/cValidatorAction.d.ts.map +1 -1
- package/script/api/exchange/_methods/cValidatorAction.js +15 -18
- package/script/api/exchange/_methods/cValidatorAction.js.map +1 -1
- package/script/api/exchange/_methods/cWithdraw.d.ts +14 -10
- package/script/api/exchange/_methods/cWithdraw.d.ts.map +1 -1
- package/script/api/exchange/_methods/cWithdraw.js +8 -9
- package/script/api/exchange/_methods/cWithdraw.js.map +1 -1
- package/script/api/exchange/_methods/cancel.d.ts +7 -52
- package/script/api/exchange/_methods/cancel.d.ts.map +1 -1
- package/script/api/exchange/_methods/cancel.js +8 -9
- package/script/api/exchange/_methods/cancel.js.map +1 -1
- package/script/api/exchange/_methods/cancelByCloid.d.ts +9 -56
- package/script/api/exchange/_methods/cancelByCloid.d.ts.map +1 -1
- package/script/api/exchange/_methods/cancelByCloid.js +10 -13
- package/script/api/exchange/_methods/cancelByCloid.js.map +1 -1
- package/script/api/exchange/_methods/claimRewards.d.ts.map +1 -1
- package/script/api/exchange/_methods/claimRewards.js +10 -1
- package/script/api/exchange/_methods/claimRewards.js.map +1 -1
- package/script/api/exchange/_methods/convertToMultiSigUser.d.ts +19 -18
- package/script/api/exchange/_methods/convertToMultiSigUser.d.ts.map +1 -1
- package/script/api/exchange/_methods/convertToMultiSigUser.js +13 -17
- package/script/api/exchange/_methods/convertToMultiSigUser.js.map +1 -1
- package/script/api/exchange/_methods/createSubAccount.d.ts +7 -32
- package/script/api/exchange/_methods/createSubAccount.d.ts.map +1 -1
- package/script/api/exchange/_methods/createSubAccount.js +8 -9
- package/script/api/exchange/_methods/createSubAccount.js.map +1 -1
- package/script/api/exchange/_methods/createVault.d.ts +10 -58
- package/script/api/exchange/_methods/createVault.d.ts.map +1 -1
- package/script/api/exchange/_methods/createVault.js +11 -14
- package/script/api/exchange/_methods/createVault.js.map +1 -1
- package/script/api/exchange/_methods/evmUserModify.d.ts +7 -32
- package/script/api/exchange/_methods/evmUserModify.d.ts.map +1 -1
- package/script/api/exchange/_methods/evmUserModify.js +8 -9
- package/script/api/exchange/_methods/evmUserModify.js.map +1 -1
- package/script/api/exchange/_methods/linkStakingUser.d.ts +15 -10
- package/script/api/exchange/_methods/linkStakingUser.d.ts.map +1 -1
- package/script/api/exchange/_methods/linkStakingUser.js +9 -9
- package/script/api/exchange/_methods/linkStakingUser.js.map +1 -1
- package/script/api/exchange/_methods/modify.d.ts +14 -175
- package/script/api/exchange/_methods/modify.d.ts.map +1 -1
- package/script/api/exchange/_methods/modify.js +15 -18
- package/script/api/exchange/_methods/modify.js.map +1 -1
- package/script/api/exchange/_methods/noop.d.ts.map +1 -1
- package/script/api/exchange/_methods/noop.js +10 -1
- package/script/api/exchange/_methods/noop.js.map +1 -1
- package/script/api/exchange/_methods/order.d.ts +19 -212
- package/script/api/exchange/_methods/order.d.ts.map +1 -1
- package/script/api/exchange/_methods/order.js +18 -21
- package/script/api/exchange/_methods/order.js.map +1 -1
- package/script/api/exchange/_methods/perpDeploy.d.ts +39 -740
- package/script/api/exchange/_methods/perpDeploy.d.ts.map +1 -1
- package/script/api/exchange/_methods/perpDeploy.js +21 -20
- package/script/api/exchange/_methods/perpDeploy.js.map +1 -1
- package/script/api/exchange/_methods/registerReferrer.d.ts +7 -32
- package/script/api/exchange/_methods/registerReferrer.d.ts.map +1 -1
- package/script/api/exchange/_methods/registerReferrer.js +8 -9
- package/script/api/exchange/_methods/registerReferrer.js.map +1 -1
- package/script/api/exchange/_methods/reserveRequestWeight.d.ts +7 -32
- package/script/api/exchange/_methods/reserveRequestWeight.d.ts.map +1 -1
- package/script/api/exchange/_methods/reserveRequestWeight.js +8 -9
- package/script/api/exchange/_methods/reserveRequestWeight.js.map +1 -1
- package/script/api/exchange/_methods/scheduleCancel.d.ts +7 -37
- package/script/api/exchange/_methods/scheduleCancel.d.ts.map +1 -1
- package/script/api/exchange/_methods/scheduleCancel.js +5 -5
- package/script/api/exchange/_methods/scheduleCancel.js.map +1 -1
- package/script/api/exchange/_methods/sendAsset.d.ts +16 -14
- package/script/api/exchange/_methods/sendAsset.d.ts.map +1 -1
- package/script/api/exchange/_methods/sendAsset.js +12 -15
- package/script/api/exchange/_methods/sendAsset.js.map +1 -1
- package/script/api/exchange/_methods/sendToEvmWithData.d.ts +21 -19
- package/script/api/exchange/_methods/sendToEvmWithData.d.ts.map +1 -1
- package/script/api/exchange/_methods/sendToEvmWithData.js +15 -18
- package/script/api/exchange/_methods/sendToEvmWithData.js.map +1 -1
- package/script/api/exchange/_methods/setDisplayName.d.ts +7 -35
- package/script/api/exchange/_methods/setDisplayName.d.ts.map +1 -1
- package/script/api/exchange/_methods/setDisplayName.js +8 -9
- package/script/api/exchange/_methods/setDisplayName.js.map +1 -1
- package/script/api/exchange/_methods/setReferrer.d.ts +7 -32
- package/script/api/exchange/_methods/setReferrer.d.ts.map +1 -1
- package/script/api/exchange/_methods/setReferrer.js +8 -9
- package/script/api/exchange/_methods/setReferrer.js.map +1 -1
- package/script/api/exchange/_methods/spotDeploy.d.ts +22 -430
- package/script/api/exchange/_methods/spotDeploy.d.ts.map +1 -1
- package/script/api/exchange/_methods/spotDeploy.js +14 -17
- package/script/api/exchange/_methods/spotDeploy.js.map +1 -1
- package/script/api/exchange/_methods/spotSend.d.ts +16 -14
- package/script/api/exchange/_methods/spotSend.d.ts.map +1 -1
- package/script/api/exchange/_methods/spotSend.js +10 -13
- package/script/api/exchange/_methods/spotSend.js.map +1 -1
- package/script/api/exchange/_methods/spotUser.d.ts +7 -45
- package/script/api/exchange/_methods/spotUser.d.ts.map +1 -1
- package/script/api/exchange/_methods/spotUser.js +8 -9
- package/script/api/exchange/_methods/spotUser.js.map +1 -1
- package/script/api/exchange/_methods/subAccountModify.d.ts +8 -39
- package/script/api/exchange/_methods/subAccountModify.d.ts.map +1 -1
- package/script/api/exchange/_methods/subAccountModify.js +9 -9
- package/script/api/exchange/_methods/subAccountModify.js.map +1 -1
- package/script/api/exchange/_methods/subAccountSpotTransfer.d.ts +10 -58
- package/script/api/exchange/_methods/subAccountSpotTransfer.d.ts.map +1 -1
- package/script/api/exchange/_methods/subAccountSpotTransfer.js +11 -14
- package/script/api/exchange/_methods/subAccountSpotTransfer.js.map +1 -1
- package/script/api/exchange/_methods/subAccountTransfer.d.ts +9 -46
- package/script/api/exchange/_methods/subAccountTransfer.d.ts.map +1 -1
- package/script/api/exchange/_methods/subAccountTransfer.js +10 -9
- package/script/api/exchange/_methods/subAccountTransfer.js.map +1 -1
- package/script/api/exchange/_methods/tokenDelegate.d.ts +16 -10
- package/script/api/exchange/_methods/tokenDelegate.d.ts.map +1 -1
- package/script/api/exchange/_methods/tokenDelegate.js +10 -9
- package/script/api/exchange/_methods/tokenDelegate.js.map +1 -1
- package/script/api/exchange/_methods/topUpIsolatedOnlyMargin.d.ts +8 -39
- package/script/api/exchange/_methods/topUpIsolatedOnlyMargin.d.ts.map +1 -1
- package/script/api/exchange/_methods/topUpIsolatedOnlyMargin.js +9 -9
- package/script/api/exchange/_methods/topUpIsolatedOnlyMargin.js.map +1 -1
- package/script/api/exchange/_methods/twapCancel.d.ts +8 -39
- package/script/api/exchange/_methods/twapCancel.d.ts.map +1 -1
- package/script/api/exchange/_methods/twapCancel.js +9 -9
- package/script/api/exchange/_methods/twapCancel.js.map +1 -1
- package/script/api/exchange/_methods/twapOrder.d.ts +13 -88
- package/script/api/exchange/_methods/twapOrder.d.ts.map +1 -1
- package/script/api/exchange/_methods/twapOrder.js +14 -17
- package/script/api/exchange/_methods/twapOrder.js.map +1 -1
- package/script/api/exchange/_methods/updateIsolatedMargin.d.ts +9 -46
- package/script/api/exchange/_methods/updateIsolatedMargin.d.ts.map +1 -1
- package/script/api/exchange/_methods/updateIsolatedMargin.js +10 -9
- package/script/api/exchange/_methods/updateIsolatedMargin.js.map +1 -1
- package/script/api/exchange/_methods/updateLeverage.d.ts +9 -46
- package/script/api/exchange/_methods/updateLeverage.d.ts.map +1 -1
- package/script/api/exchange/_methods/updateLeverage.js +10 -9
- package/script/api/exchange/_methods/updateLeverage.js.map +1 -1
- package/script/api/exchange/_methods/usdClassTransfer.d.ts +15 -10
- package/script/api/exchange/_methods/usdClassTransfer.d.ts.map +1 -1
- package/script/api/exchange/_methods/usdClassTransfer.js +9 -9
- package/script/api/exchange/_methods/usdClassTransfer.js.map +1 -1
- package/script/api/exchange/_methods/usdSend.d.ts +15 -10
- package/script/api/exchange/_methods/usdSend.d.ts.map +1 -1
- package/script/api/exchange/_methods/usdSend.js +9 -9
- package/script/api/exchange/_methods/usdSend.js.map +1 -1
- package/script/api/exchange/_methods/userDexAbstraction.d.ts +15 -10
- package/script/api/exchange/_methods/userDexAbstraction.d.ts.map +1 -1
- package/script/api/exchange/_methods/userDexAbstraction.js +9 -9
- package/script/api/exchange/_methods/userDexAbstraction.js.map +1 -1
- package/script/api/exchange/_methods/userPortfolioMargin.d.ts +15 -10
- package/script/api/exchange/_methods/userPortfolioMargin.d.ts.map +1 -1
- package/script/api/exchange/_methods/userPortfolioMargin.js +9 -9
- package/script/api/exchange/_methods/userPortfolioMargin.js.map +1 -1
- package/script/api/exchange/_methods/userSetAbstraction.d.ts +15 -10
- package/script/api/exchange/_methods/userSetAbstraction.d.ts.map +1 -1
- package/script/api/exchange/_methods/userSetAbstraction.js +9 -9
- package/script/api/exchange/_methods/userSetAbstraction.js.map +1 -1
- package/script/api/exchange/_methods/validatorL1Stream.d.ts +7 -32
- package/script/api/exchange/_methods/validatorL1Stream.d.ts.map +1 -1
- package/script/api/exchange/_methods/validatorL1Stream.js +8 -9
- package/script/api/exchange/_methods/validatorL1Stream.js.map +1 -1
- package/script/api/exchange/_methods/vaultDistribute.d.ts +8 -42
- package/script/api/exchange/_methods/vaultDistribute.d.ts.map +1 -1
- package/script/api/exchange/_methods/vaultDistribute.js +9 -9
- package/script/api/exchange/_methods/vaultDistribute.js.map +1 -1
- package/script/api/exchange/_methods/vaultModify.d.ts +9 -50
- package/script/api/exchange/_methods/vaultModify.d.ts.map +1 -1
- package/script/api/exchange/_methods/vaultModify.js +10 -13
- package/script/api/exchange/_methods/vaultModify.js.map +1 -1
- package/script/api/exchange/_methods/vaultTransfer.d.ts +9 -46
- package/script/api/exchange/_methods/vaultTransfer.d.ts.map +1 -1
- package/script/api/exchange/_methods/vaultTransfer.js +10 -9
- package/script/api/exchange/_methods/vaultTransfer.js.map +1 -1
- package/script/api/exchange/_methods/withdraw3.d.ts +15 -10
- package/script/api/exchange/_methods/withdraw3.d.ts.map +1 -1
- package/script/api/exchange/_methods/withdraw3.js +9 -9
- package/script/api/exchange/_methods/withdraw3.js.map +1 -1
- package/script/api/exchange/mod.d.ts +1 -1
- package/script/api/exchange/mod.d.ts.map +1 -1
- package/script/api/info/_methods/activeAssetData.d.ts +4 -4
- package/script/api/info/_methods/activeAssetData.js +4 -4
- package/script/api/info/_methods/alignedQuoteTokenInfo.d.ts +3 -4
- package/script/api/info/_methods/alignedQuoteTokenInfo.d.ts.map +1 -1
- package/script/api/info/_methods/alignedQuoteTokenInfo.js +3 -4
- package/script/api/info/_methods/alignedQuoteTokenInfo.js.map +1 -1
- package/script/api/info/_methods/approvedBuilders.d.ts +3 -4
- package/script/api/info/_methods/approvedBuilders.d.ts.map +1 -1
- package/script/api/info/_methods/approvedBuilders.js +3 -4
- package/script/api/info/_methods/approvedBuilders.js.map +1 -1
- package/script/api/info/_methods/blockDetails.d.ts +3 -4
- package/script/api/info/_methods/blockDetails.d.ts.map +1 -1
- package/script/api/info/_methods/blockDetails.js +3 -4
- package/script/api/info/_methods/blockDetails.js.map +1 -1
- package/script/api/info/_methods/borrowLendReserveState.d.ts +3 -4
- package/script/api/info/_methods/borrowLendReserveState.d.ts.map +1 -1
- package/script/api/info/_methods/borrowLendReserveState.js +3 -4
- package/script/api/info/_methods/borrowLendReserveState.js.map +1 -1
- package/script/api/info/_methods/borrowLendUserState.d.ts +3 -4
- package/script/api/info/_methods/borrowLendUserState.d.ts.map +1 -1
- package/script/api/info/_methods/borrowLendUserState.js +3 -4
- package/script/api/info/_methods/borrowLendUserState.js.map +1 -1
- package/script/api/info/_methods/candleSnapshot.d.ts +5 -8
- package/script/api/info/_methods/candleSnapshot.d.ts.map +1 -1
- package/script/api/info/_methods/candleSnapshot.js +5 -8
- package/script/api/info/_methods/candleSnapshot.js.map +1 -1
- package/script/api/info/_methods/clearinghouseState.d.ts +3 -4
- package/script/api/info/_methods/clearinghouseState.d.ts.map +1 -1
- package/script/api/info/_methods/clearinghouseState.js +3 -4
- package/script/api/info/_methods/clearinghouseState.js.map +1 -1
- package/script/api/info/_methods/delegations.d.ts +3 -4
- package/script/api/info/_methods/delegations.d.ts.map +1 -1
- package/script/api/info/_methods/delegations.js +3 -4
- package/script/api/info/_methods/delegations.js.map +1 -1
- package/script/api/info/_methods/delegatorHistory.d.ts +3 -4
- package/script/api/info/_methods/delegatorHistory.d.ts.map +1 -1
- package/script/api/info/_methods/delegatorHistory.js +3 -4
- package/script/api/info/_methods/delegatorHistory.js.map +1 -1
- package/script/api/info/_methods/delegatorRewards.d.ts +3 -4
- package/script/api/info/_methods/delegatorRewards.d.ts.map +1 -1
- package/script/api/info/_methods/delegatorRewards.js +3 -4
- package/script/api/info/_methods/delegatorRewards.js.map +1 -1
- package/script/api/info/_methods/delegatorSummary.d.ts +3 -4
- package/script/api/info/_methods/delegatorSummary.d.ts.map +1 -1
- package/script/api/info/_methods/delegatorSummary.js +3 -4
- package/script/api/info/_methods/delegatorSummary.js.map +1 -1
- package/script/api/info/_methods/extraAgents.d.ts +3 -4
- package/script/api/info/_methods/extraAgents.d.ts.map +1 -1
- package/script/api/info/_methods/extraAgents.js +3 -4
- package/script/api/info/_methods/extraAgents.js.map +1 -1
- package/script/api/info/_methods/frontendOpenOrders.d.ts +3 -4
- package/script/api/info/_methods/frontendOpenOrders.d.ts.map +1 -1
- package/script/api/info/_methods/frontendOpenOrders.js +3 -4
- package/script/api/info/_methods/frontendOpenOrders.js.map +1 -1
- package/script/api/info/_methods/fundingHistory.d.ts +4 -7
- package/script/api/info/_methods/fundingHistory.d.ts.map +1 -1
- package/script/api/info/_methods/fundingHistory.js +4 -7
- package/script/api/info/_methods/fundingHistory.js.map +1 -1
- package/script/api/info/_methods/historicalOrders.d.ts +3 -4
- package/script/api/info/_methods/historicalOrders.d.ts.map +1 -1
- package/script/api/info/_methods/historicalOrders.js +3 -4
- package/script/api/info/_methods/historicalOrders.js.map +1 -1
- package/script/api/info/_methods/isVip.d.ts +3 -4
- package/script/api/info/_methods/isVip.d.ts.map +1 -1
- package/script/api/info/_methods/isVip.js +3 -4
- package/script/api/info/_methods/isVip.js.map +1 -1
- package/script/api/info/_methods/l2Book.d.ts +4 -4
- package/script/api/info/_methods/l2Book.js +4 -4
- package/script/api/info/_methods/leadingVaults.d.ts +3 -4
- package/script/api/info/_methods/leadingVaults.d.ts.map +1 -1
- package/script/api/info/_methods/leadingVaults.js +3 -4
- package/script/api/info/_methods/leadingVaults.js.map +1 -1
- package/script/api/info/_methods/legalCheck.d.ts +3 -4
- package/script/api/info/_methods/legalCheck.d.ts.map +1 -1
- package/script/api/info/_methods/legalCheck.js +3 -4
- package/script/api/info/_methods/legalCheck.js.map +1 -1
- package/script/api/info/_methods/marginTable.d.ts +3 -4
- package/script/api/info/_methods/marginTable.d.ts.map +1 -1
- package/script/api/info/_methods/marginTable.js +3 -4
- package/script/api/info/_methods/marginTable.js.map +1 -1
- package/script/api/info/_methods/maxBuilderFee.d.ts +4 -4
- package/script/api/info/_methods/maxBuilderFee.js +4 -4
- package/script/api/info/_methods/openOrders.d.ts +3 -4
- package/script/api/info/_methods/openOrders.d.ts.map +1 -1
- package/script/api/info/_methods/openOrders.js +3 -4
- package/script/api/info/_methods/openOrders.js.map +1 -1
- package/script/api/info/_methods/orderStatus.d.ts +4 -4
- package/script/api/info/_methods/orderStatus.js +4 -4
- package/script/api/info/_methods/outcomeMeta.d.ts +3 -1
- package/script/api/info/_methods/outcomeMeta.d.ts.map +1 -1
- package/script/api/info/_methods/outcomeMeta.js.map +1 -1
- package/script/api/info/_methods/perpAnnotation.d.ts +7 -1
- package/script/api/info/_methods/perpAnnotation.d.ts.map +1 -1
- package/script/api/info/_methods/perpAnnotation.js +3 -1
- package/script/api/info/_methods/perpAnnotation.js.map +1 -1
- package/script/api/info/_methods/perpConciseAnnotations.d.ts +52 -0
- package/script/api/info/_methods/perpConciseAnnotations.d.ts.map +1 -0
- package/script/api/info/_methods/perpConciseAnnotations.js +84 -0
- package/script/api/info/_methods/perpConciseAnnotations.js.map +1 -0
- package/script/api/info/_methods/perpDexLimits.d.ts +3 -4
- package/script/api/info/_methods/perpDexLimits.d.ts.map +1 -1
- package/script/api/info/_methods/perpDexLimits.js +3 -4
- package/script/api/info/_methods/perpDexLimits.js.map +1 -1
- package/script/api/info/_methods/perpDexStatus.d.ts +3 -1
- package/script/api/info/_methods/perpDexStatus.d.ts.map +1 -1
- package/script/api/info/_methods/perpDexStatus.js +3 -1
- package/script/api/info/_methods/perpDexStatus.js.map +1 -1
- package/script/api/info/_methods/portfolio.d.ts +3 -4
- package/script/api/info/_methods/portfolio.d.ts.map +1 -1
- package/script/api/info/_methods/portfolio.js +3 -4
- package/script/api/info/_methods/portfolio.js.map +1 -1
- package/script/api/info/_methods/preTransferCheck.d.ts +4 -4
- package/script/api/info/_methods/preTransferCheck.js +4 -4
- package/script/api/info/_methods/recentTrades.d.ts +3 -4
- package/script/api/info/_methods/recentTrades.d.ts.map +1 -1
- package/script/api/info/_methods/recentTrades.js +3 -4
- package/script/api/info/_methods/recentTrades.js.map +1 -1
- package/script/api/info/_methods/referral.d.ts +3 -4
- package/script/api/info/_methods/referral.d.ts.map +1 -1
- package/script/api/info/_methods/referral.js +3 -4
- package/script/api/info/_methods/referral.js.map +1 -1
- package/script/api/info/_methods/spotClearinghouseState.d.ts +3 -4
- package/script/api/info/_methods/spotClearinghouseState.d.ts.map +1 -1
- package/script/api/info/_methods/spotClearinghouseState.js +3 -4
- package/script/api/info/_methods/spotClearinghouseState.js.map +1 -1
- package/script/api/info/_methods/spotDeployState.d.ts +3 -4
- package/script/api/info/_methods/spotDeployState.d.ts.map +1 -1
- package/script/api/info/_methods/spotDeployState.js +3 -4
- package/script/api/info/_methods/spotDeployState.js.map +1 -1
- package/script/api/info/_methods/subAccounts.d.ts +3 -4
- package/script/api/info/_methods/subAccounts.d.ts.map +1 -1
- package/script/api/info/_methods/subAccounts.js +3 -4
- package/script/api/info/_methods/subAccounts.js.map +1 -1
- package/script/api/info/_methods/subAccounts2.d.ts +3 -4
- package/script/api/info/_methods/subAccounts2.d.ts.map +1 -1
- package/script/api/info/_methods/subAccounts2.js +3 -4
- package/script/api/info/_methods/subAccounts2.js.map +1 -1
- package/script/api/info/_methods/tokenDetails.d.ts +3 -4
- package/script/api/info/_methods/tokenDetails.d.ts.map +1 -1
- package/script/api/info/_methods/tokenDetails.js +3 -4
- package/script/api/info/_methods/tokenDetails.js.map +1 -1
- package/script/api/info/_methods/twapHistory.d.ts +3 -4
- package/script/api/info/_methods/twapHistory.d.ts.map +1 -1
- package/script/api/info/_methods/twapHistory.js +3 -4
- package/script/api/info/_methods/twapHistory.js.map +1 -1
- package/script/api/info/_methods/txDetails.d.ts +3 -4
- package/script/api/info/_methods/txDetails.d.ts.map +1 -1
- package/script/api/info/_methods/txDetails.js +3 -4
- package/script/api/info/_methods/txDetails.js.map +1 -1
- package/script/api/info/_methods/userAbstraction.d.ts +3 -4
- package/script/api/info/_methods/userAbstraction.d.ts.map +1 -1
- package/script/api/info/_methods/userAbstraction.js +3 -4
- package/script/api/info/_methods/userAbstraction.js.map +1 -1
- package/script/api/info/_methods/userBorrowLendInterest.d.ts +4 -7
- package/script/api/info/_methods/userBorrowLendInterest.d.ts.map +1 -1
- package/script/api/info/_methods/userBorrowLendInterest.js +4 -7
- package/script/api/info/_methods/userBorrowLendInterest.js.map +1 -1
- package/script/api/info/_methods/userDetails.d.ts +3 -4
- package/script/api/info/_methods/userDetails.d.ts.map +1 -1
- package/script/api/info/_methods/userDetails.js +3 -4
- package/script/api/info/_methods/userDetails.js.map +1 -1
- package/script/api/info/_methods/userDexAbstraction.d.ts +3 -4
- package/script/api/info/_methods/userDexAbstraction.d.ts.map +1 -1
- package/script/api/info/_methods/userDexAbstraction.js +3 -4
- package/script/api/info/_methods/userDexAbstraction.js.map +1 -1
- package/script/api/info/_methods/userFees.d.ts +3 -4
- package/script/api/info/_methods/userFees.d.ts.map +1 -1
- package/script/api/info/_methods/userFees.js +3 -4
- package/script/api/info/_methods/userFees.js.map +1 -1
- package/script/api/info/_methods/userFills.d.ts +3 -4
- package/script/api/info/_methods/userFills.d.ts.map +1 -1
- package/script/api/info/_methods/userFills.js +3 -4
- package/script/api/info/_methods/userFills.js.map +1 -1
- package/script/api/info/_methods/userFillsByTime.d.ts +4 -7
- package/script/api/info/_methods/userFillsByTime.d.ts.map +1 -1
- package/script/api/info/_methods/userFillsByTime.js +4 -7
- package/script/api/info/_methods/userFillsByTime.js.map +1 -1
- package/script/api/info/_methods/userFunding.d.ts +3 -4
- package/script/api/info/_methods/userFunding.d.ts.map +1 -1
- package/script/api/info/_methods/userFunding.js +3 -4
- package/script/api/info/_methods/userFunding.js.map +1 -1
- package/script/api/info/_methods/userNonFundingLedgerUpdates.d.ts +17 -5
- package/script/api/info/_methods/userNonFundingLedgerUpdates.d.ts.map +1 -1
- package/script/api/info/_methods/userNonFundingLedgerUpdates.js +3 -4
- package/script/api/info/_methods/userNonFundingLedgerUpdates.js.map +1 -1
- package/script/api/info/_methods/userRateLimit.d.ts +3 -4
- package/script/api/info/_methods/userRateLimit.d.ts.map +1 -1
- package/script/api/info/_methods/userRateLimit.js +3 -4
- package/script/api/info/_methods/userRateLimit.js.map +1 -1
- package/script/api/info/_methods/userRole.d.ts +3 -4
- package/script/api/info/_methods/userRole.d.ts.map +1 -1
- package/script/api/info/_methods/userRole.js +3 -4
- package/script/api/info/_methods/userRole.js.map +1 -1
- package/script/api/info/_methods/userToMultiSigSigners.d.ts +3 -4
- package/script/api/info/_methods/userToMultiSigSigners.d.ts.map +1 -1
- package/script/api/info/_methods/userToMultiSigSigners.js +3 -4
- package/script/api/info/_methods/userToMultiSigSigners.js.map +1 -1
- package/script/api/info/_methods/userTwapSliceFills.d.ts +3 -4
- package/script/api/info/_methods/userTwapSliceFills.d.ts.map +1 -1
- package/script/api/info/_methods/userTwapSliceFills.js +3 -4
- package/script/api/info/_methods/userTwapSliceFills.js.map +1 -1
- package/script/api/info/_methods/userTwapSliceFillsByTime.d.ts +4 -7
- package/script/api/info/_methods/userTwapSliceFillsByTime.d.ts.map +1 -1
- package/script/api/info/_methods/userTwapSliceFillsByTime.js +4 -7
- package/script/api/info/_methods/userTwapSliceFillsByTime.js.map +1 -1
- package/script/api/info/_methods/userVaultEquities.d.ts +3 -4
- package/script/api/info/_methods/userVaultEquities.d.ts.map +1 -1
- package/script/api/info/_methods/userVaultEquities.js +3 -4
- package/script/api/info/_methods/userVaultEquities.js.map +1 -1
- package/script/api/info/_methods/vaultDetails.d.ts +3 -4
- package/script/api/info/_methods/vaultDetails.d.ts.map +1 -1
- package/script/api/info/_methods/vaultDetails.js +3 -4
- package/script/api/info/_methods/vaultDetails.js.map +1 -1
- package/script/api/info/_methods/webData2.d.ts +3 -4
- package/script/api/info/_methods/webData2.d.ts.map +1 -1
- package/script/api/info/_methods/webData2.js +3 -4
- package/script/api/info/_methods/webData2.js.map +1 -1
- package/script/api/info/client.d.ts +24 -0
- package/script/api/info/client.d.ts.map +1 -1
- package/script/api/info/client.js +25 -0
- package/script/api/info/client.js.map +1 -1
- package/script/api/info/mod.d.ts +1 -0
- package/script/api/info/mod.d.ts.map +1 -1
- package/script/api/info/mod.js +1 -0
- package/script/api/info/mod.js.map +1 -1
- package/script/api/subscription/_methods/l2Book.d.ts +19 -33
- package/script/api/subscription/_methods/l2Book.d.ts.map +1 -1
- package/script/api/subscription/_methods/l2Book.js +2 -3
- package/script/api/subscription/_methods/l2Book.js.map +1 -1
- package/script/api/subscription/_methods/spotState.d.ts +1 -1
- package/script/api/subscription/_methods/spotState.js +2 -2
- package/script/api/subscription/_methods/spotState.js.map +1 -1
- package/script/api/subscription/_methods/userFundings.d.ts +1 -1
- package/script/api/subscription/_methods/userFundings.d.ts.map +1 -1
- package/script/signing/_abstractWallet.d.ts.map +1 -1
- package/script/signing/_abstractWallet.js +11 -1
- package/script/signing/_abstractWallet.js.map +1 -1
- package/script/transport/websocket/_postRequest.d.ts.map +1 -1
- package/script/transport/websocket/_postRequest.js +9 -0
- package/script/transport/websocket/_postRequest.js.map +1 -1
- package/script/utils/_format.d.ts +1 -0
- package/script/utils/_format.d.ts.map +1 -1
- package/script/utils/_format.js +1 -0
- package/script/utils/_format.js.map +1 -1
- package/script/utils/mod.d.ts +1 -1
- package/script/utils/mod.d.ts.map +1 -1
- package/script/utils/mod.js +4 -1
- package/script/utils/mod.js.map +1 -1
- package/src/_base.ts +1 -1
- package/src/api/_schemas.ts +1 -16
- package/src/api/exchange/_methods/_base/execute.ts +3 -1
- package/src/api/exchange/_methods/agentEnableDexAbstraction.ts +8 -1
- package/src/api/exchange/_methods/agentSetAbstraction.ts +9 -13
- package/src/api/exchange/_methods/approveAgent.ts +14 -22
- package/src/api/exchange/_methods/approveBuilderFee.ts +10 -15
- package/src/api/exchange/_methods/batchModify.ts +20 -26
- package/src/api/exchange/_methods/borrowLend.ts +11 -13
- package/src/api/exchange/_methods/cDeposit.ts +9 -15
- package/src/api/exchange/_methods/cSignerAction.ts +14 -16
- package/src/api/exchange/_methods/cValidatorAction.ts +18 -21
- package/src/api/exchange/_methods/cWithdraw.ts +9 -15
- package/src/api/exchange/_methods/cancel.ts +9 -13
- package/src/api/exchange/_methods/cancelByCloid.ts +11 -17
- package/src/api/exchange/_methods/claimRewards.ts +8 -1
- package/src/api/exchange/_methods/convertToMultiSigUser.ts +14 -23
- package/src/api/exchange/_methods/createSubAccount.ts +9 -13
- package/src/api/exchange/_methods/createVault.ts +12 -18
- package/src/api/exchange/_methods/evmUserModify.ts +9 -13
- package/src/api/exchange/_methods/linkStakingUser.ts +10 -15
- package/src/api/exchange/_methods/modify.ts +16 -22
- package/src/api/exchange/_methods/noop.ts +8 -1
- package/src/api/exchange/_methods/order.ts +21 -27
- package/src/api/exchange/_methods/perpDeploy.ts +24 -23
- package/src/api/exchange/_methods/registerReferrer.ts +9 -13
- package/src/api/exchange/_methods/reserveRequestWeight.ts +9 -13
- package/src/api/exchange/_methods/scheduleCancel.ts +9 -13
- package/src/api/exchange/_methods/sendAsset.ts +13 -21
- package/src/api/exchange/_methods/sendToEvmWithData.ts +16 -24
- package/src/api/exchange/_methods/setDisplayName.ts +9 -13
- package/src/api/exchange/_methods/setReferrer.ts +9 -13
- package/src/api/exchange/_methods/spotDeploy.ts +17 -20
- package/src/api/exchange/_methods/spotSend.ts +11 -19
- package/src/api/exchange/_methods/spotUser.ts +9 -13
- package/src/api/exchange/_methods/subAccountModify.ts +10 -13
- package/src/api/exchange/_methods/subAccountSpotTransfer.ts +12 -18
- package/src/api/exchange/_methods/subAccountTransfer.ts +11 -13
- package/src/api/exchange/_methods/tokenDelegate.ts +11 -15
- package/src/api/exchange/_methods/topUpIsolatedOnlyMargin.ts +10 -13
- package/src/api/exchange/_methods/twapCancel.ts +10 -13
- package/src/api/exchange/_methods/twapOrder.ts +15 -21
- package/src/api/exchange/_methods/updateIsolatedMargin.ts +11 -13
- package/src/api/exchange/_methods/updateLeverage.ts +11 -13
- package/src/api/exchange/_methods/usdClassTransfer.ts +10 -15
- package/src/api/exchange/_methods/usdSend.ts +10 -15
- package/src/api/exchange/_methods/userDexAbstraction.ts +10 -15
- package/src/api/exchange/_methods/userPortfolioMargin.ts +10 -15
- package/src/api/exchange/_methods/userSetAbstraction.ts +10 -15
- package/src/api/exchange/_methods/validatorL1Stream.ts +9 -13
- package/src/api/exchange/_methods/vaultDistribute.ts +10 -13
- package/src/api/exchange/_methods/vaultModify.ts +11 -17
- package/src/api/exchange/_methods/vaultTransfer.ts +11 -13
- package/src/api/exchange/_methods/withdraw3.ts +10 -15
- package/src/api/exchange/mod.ts +1 -1
- package/src/api/info/_methods/activeAssetData.ts +4 -4
- package/src/api/info/_methods/alignedQuoteTokenInfo.ts +3 -4
- package/src/api/info/_methods/approvedBuilders.ts +3 -4
- package/src/api/info/_methods/blockDetails.ts +3 -4
- package/src/api/info/_methods/borrowLendReserveState.ts +3 -4
- package/src/api/info/_methods/borrowLendUserState.ts +3 -4
- package/src/api/info/_methods/candleSnapshot.ts +5 -8
- package/src/api/info/_methods/clearinghouseState.ts +3 -4
- package/src/api/info/_methods/delegations.ts +3 -4
- package/src/api/info/_methods/delegatorHistory.ts +3 -4
- package/src/api/info/_methods/delegatorRewards.ts +3 -4
- package/src/api/info/_methods/delegatorSummary.ts +3 -4
- package/src/api/info/_methods/extraAgents.ts +3 -4
- package/src/api/info/_methods/frontendOpenOrders.ts +3 -4
- package/src/api/info/_methods/fundingHistory.ts +4 -7
- package/src/api/info/_methods/historicalOrders.ts +3 -4
- package/src/api/info/_methods/isVip.ts +3 -4
- package/src/api/info/_methods/l2Book.ts +4 -4
- package/src/api/info/_methods/leadingVaults.ts +3 -4
- package/src/api/info/_methods/legalCheck.ts +3 -4
- package/src/api/info/_methods/marginTable.ts +3 -4
- package/src/api/info/_methods/maxBuilderFee.ts +4 -4
- package/src/api/info/_methods/openOrders.ts +3 -4
- package/src/api/info/_methods/orderStatus.ts +4 -4
- package/src/api/info/_methods/outcomeMeta.ts +3 -1
- package/src/api/info/_methods/perpAnnotation.ts +7 -1
- package/src/api/info/_methods/perpConciseAnnotations.ts +74 -0
- package/src/api/info/_methods/perpDexLimits.ts +3 -4
- package/src/api/info/_methods/perpDexStatus.ts +3 -1
- package/src/api/info/_methods/portfolio.ts +3 -4
- package/src/api/info/_methods/preTransferCheck.ts +4 -4
- package/src/api/info/_methods/recentTrades.ts +3 -4
- package/src/api/info/_methods/referral.ts +3 -4
- package/src/api/info/_methods/spotClearinghouseState.ts +3 -4
- package/src/api/info/_methods/spotDeployState.ts +3 -4
- package/src/api/info/_methods/subAccounts.ts +3 -4
- package/src/api/info/_methods/subAccounts2.ts +3 -4
- package/src/api/info/_methods/tokenDetails.ts +3 -4
- package/src/api/info/_methods/twapHistory.ts +3 -4
- package/src/api/info/_methods/txDetails.ts +3 -4
- package/src/api/info/_methods/userAbstraction.ts +3 -4
- package/src/api/info/_methods/userBorrowLendInterest.ts +4 -7
- package/src/api/info/_methods/userDetails.ts +3 -4
- package/src/api/info/_methods/userDexAbstraction.ts +3 -4
- package/src/api/info/_methods/userFees.ts +3 -4
- package/src/api/info/_methods/userFills.ts +3 -4
- package/src/api/info/_methods/userFillsByTime.ts +4 -7
- package/src/api/info/_methods/userFunding.ts +3 -4
- package/src/api/info/_methods/userNonFundingLedgerUpdates.ts +18 -5
- package/src/api/info/_methods/userRateLimit.ts +3 -4
- package/src/api/info/_methods/userRole.ts +3 -4
- package/src/api/info/_methods/userToMultiSigSigners.ts +3 -4
- package/src/api/info/_methods/userTwapSliceFills.ts +3 -4
- package/src/api/info/_methods/userTwapSliceFillsByTime.ts +4 -7
- package/src/api/info/_methods/userVaultEquities.ts +3 -4
- package/src/api/info/_methods/vaultDetails.ts +3 -4
- package/src/api/info/_methods/webData2.ts +3 -4
- package/src/api/info/client.ts +29 -0
- package/src/api/info/mod.ts +1 -0
- package/src/api/subscription/_methods/l2Book.ts +19 -32
- package/src/api/subscription/_methods/spotState.ts +2 -2
- package/src/api/subscription/_methods/userFundings.ts +1 -1
- package/src/signing/_abstractWallet.ts +11 -3
- package/src/transport/websocket/_postRequest.ts +16 -0
- package/src/utils/_format.ts +1 -1
- package/src/utils/mod.ts +1 -1
|
@@ -172,6 +172,10 @@ export declare const PerpDeployRequest: v.ObjectSchema<{
|
|
|
172
172
|
readonly category: v.StringSchema<undefined>;
|
|
173
173
|
/** Detailed description (max 400 characters). */
|
|
174
174
|
readonly description: v.StringSchema<undefined>;
|
|
175
|
+
/** Display name for frontends to use instead of the L1 name, or null to ignore. */
|
|
176
|
+
readonly displayName: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
177
|
+
/** Keywords used as hints to match against searches. */
|
|
178
|
+
readonly keywords: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
175
179
|
}, undefined>;
|
|
176
180
|
}, undefined>], undefined>;
|
|
177
181
|
/** Nonce (timestamp in ms) used to prevent replay attacks. */
|
|
@@ -193,8 +197,8 @@ export type PerpDeployRequest = v.InferOutput<typeof PerpDeployRequest>;
|
|
|
193
197
|
export type PerpDeployResponse = SuccessResponse | ErrorResponse;
|
|
194
198
|
import type { ExcludeErrorResponse } from "./_base/errors.js";
|
|
195
199
|
import { type ExchangeConfig, type ExtractRequestOptions } from "./_base/execute.js";
|
|
196
|
-
/** Schema for
|
|
197
|
-
declare const
|
|
200
|
+
/** Schema for action fields (excludes request-level system fields). */
|
|
201
|
+
declare const PerpDeployActionSchema: v.VariantSchema<"type", [v.ObjectSchema<{
|
|
198
202
|
/** Type of action. */
|
|
199
203
|
readonly type: v.LiteralSchema<"perpDeploy", undefined>;
|
|
200
204
|
/** Parameters for registering a new perpetual asset (v2). */
|
|
@@ -226,133 +230,7 @@ declare const PerpDeployParameters: v.UnionSchema<((Omit<v.ObjectSchema<{
|
|
|
226
230
|
readonly oracleUpdater: v.NullableSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 42, undefined>]>, undefined>;
|
|
227
231
|
}, undefined>, undefined>;
|
|
228
232
|
}, undefined>;
|
|
229
|
-
}, undefined>,
|
|
230
|
-
readonly entries: Omit<{
|
|
231
|
-
/** Type of action. */
|
|
232
|
-
readonly type: v.LiteralSchema<"perpDeploy", undefined>;
|
|
233
|
-
/** Parameters for registering a new perpetual asset (v2). */
|
|
234
|
-
readonly registerAsset2: v.ObjectSchema<{
|
|
235
|
-
/** Max gas in native token wei. If not provided, then uses current deploy auction price. */
|
|
236
|
-
readonly maxGas: v.NullableSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.ToNumberAction<string | number, undefined>, v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
237
|
-
/** Contains new asset listing parameters. */
|
|
238
|
-
readonly assetRequest: v.ObjectSchema<{
|
|
239
|
-
/** Coin symbol for the new asset. */
|
|
240
|
-
readonly coin: v.StringSchema<undefined>;
|
|
241
|
-
/** Number of decimal places for size. */
|
|
242
|
-
readonly szDecimals: v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.ToNumberAction<string | number, undefined>, v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
243
|
-
/** Initial oracle price for the asset. */
|
|
244
|
-
readonly oraclePx: v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.ToStringAction<string | number, undefined>, v.StringSchema<undefined>, v.TransformAction<string, string>, v.RegexAction<string, undefined>]>;
|
|
245
|
-
/** Margin table identifier for risk management. */
|
|
246
|
-
readonly marginTableId: v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.ToNumberAction<string | number, undefined>, v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
247
|
-
/** 'strictIsolated' does not allow withdrawing of isolated margin from open position. */
|
|
248
|
-
readonly marginMode: v.PicklistSchema<["strictIsolated", "noCross"], undefined>;
|
|
249
|
-
}, undefined>;
|
|
250
|
-
/** Name of the dex. */
|
|
251
|
-
readonly dex: v.StringSchema<undefined>;
|
|
252
|
-
/** Contains new dex parameters. */
|
|
253
|
-
readonly schema: v.NullableSchema<v.ObjectSchema<{
|
|
254
|
-
/** Full name of the dex. */
|
|
255
|
-
readonly fullName: v.StringSchema<undefined>;
|
|
256
|
-
/** Collateral token index. */
|
|
257
|
-
readonly collateralToken: v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.ToNumberAction<string | number, undefined>, v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
258
|
-
/** User to update oracles. If not provided, then deployer is assumed to be oracle updater. */
|
|
259
|
-
readonly oracleUpdater: v.NullableSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 42, undefined>]>, undefined>;
|
|
260
|
-
}, undefined>, undefined>;
|
|
261
|
-
}, undefined>;
|
|
262
|
-
}, "type">;
|
|
263
|
-
readonly "~standard": v.StandardProps<{
|
|
264
|
-
registerAsset2: {
|
|
265
|
-
maxGas: string | number | null;
|
|
266
|
-
assetRequest: {
|
|
267
|
-
coin: string;
|
|
268
|
-
szDecimals: string | number;
|
|
269
|
-
oraclePx: string | number;
|
|
270
|
-
marginTableId: string | number;
|
|
271
|
-
marginMode: "strictIsolated" | "noCross";
|
|
272
|
-
};
|
|
273
|
-
dex: string;
|
|
274
|
-
schema: {
|
|
275
|
-
fullName: string;
|
|
276
|
-
collateralToken: string | number;
|
|
277
|
-
oracleUpdater: string | null;
|
|
278
|
-
} | null;
|
|
279
|
-
};
|
|
280
|
-
}, {
|
|
281
|
-
registerAsset2: {
|
|
282
|
-
maxGas: number | null;
|
|
283
|
-
assetRequest: {
|
|
284
|
-
coin: string;
|
|
285
|
-
szDecimals: number;
|
|
286
|
-
oraclePx: string;
|
|
287
|
-
marginTableId: number;
|
|
288
|
-
marginMode: "strictIsolated" | "noCross";
|
|
289
|
-
};
|
|
290
|
-
dex: string;
|
|
291
|
-
schema: {
|
|
292
|
-
fullName: string;
|
|
293
|
-
collateralToken: number;
|
|
294
|
-
oracleUpdater: `0x${string}` | null;
|
|
295
|
-
} | null;
|
|
296
|
-
};
|
|
297
|
-
}>;
|
|
298
|
-
readonly "~run": (dataset: v.UnknownDataset, config: v.Config<v.BaseIssue<unknown>>) => v.OutputDataset<{
|
|
299
|
-
registerAsset2: {
|
|
300
|
-
maxGas: number | null;
|
|
301
|
-
assetRequest: {
|
|
302
|
-
coin: string;
|
|
303
|
-
szDecimals: number;
|
|
304
|
-
oraclePx: string;
|
|
305
|
-
marginTableId: number;
|
|
306
|
-
marginMode: "strictIsolated" | "noCross";
|
|
307
|
-
};
|
|
308
|
-
dex: string;
|
|
309
|
-
schema: {
|
|
310
|
-
fullName: string;
|
|
311
|
-
collateralToken: number;
|
|
312
|
-
oracleUpdater: `0x${string}` | null;
|
|
313
|
-
} | null;
|
|
314
|
-
};
|
|
315
|
-
}, v.StringIssue | v.NumberIssue | v.UnionIssue<v.StringIssue | v.NumberIssue> | v.ToStringIssue<string | number> | v.RegexIssue<string> | v.ToNumberIssue<string | number> | v.SafeIntegerIssue<number> | v.MinValueIssue<number, 0> | v.LengthIssue<`0x${string}`, 42> | v.PicklistIssue | v.ObjectIssue>;
|
|
316
|
-
readonly "~types"?: {
|
|
317
|
-
readonly input: {
|
|
318
|
-
registerAsset2: {
|
|
319
|
-
maxGas: string | number | null;
|
|
320
|
-
assetRequest: {
|
|
321
|
-
coin: string;
|
|
322
|
-
szDecimals: string | number;
|
|
323
|
-
oraclePx: string | number;
|
|
324
|
-
marginTableId: string | number;
|
|
325
|
-
marginMode: "strictIsolated" | "noCross";
|
|
326
|
-
};
|
|
327
|
-
dex: string;
|
|
328
|
-
schema: {
|
|
329
|
-
fullName: string;
|
|
330
|
-
collateralToken: string | number;
|
|
331
|
-
oracleUpdater: string | null;
|
|
332
|
-
} | null;
|
|
333
|
-
};
|
|
334
|
-
};
|
|
335
|
-
readonly output: {
|
|
336
|
-
registerAsset2: {
|
|
337
|
-
maxGas: number | null;
|
|
338
|
-
assetRequest: {
|
|
339
|
-
coin: string;
|
|
340
|
-
szDecimals: number;
|
|
341
|
-
oraclePx: string;
|
|
342
|
-
marginTableId: number;
|
|
343
|
-
marginMode: "strictIsolated" | "noCross";
|
|
344
|
-
};
|
|
345
|
-
dex: string;
|
|
346
|
-
schema: {
|
|
347
|
-
fullName: string;
|
|
348
|
-
collateralToken: number;
|
|
349
|
-
oracleUpdater: `0x${string}` | null;
|
|
350
|
-
} | null;
|
|
351
|
-
};
|
|
352
|
-
};
|
|
353
|
-
readonly issue: v.StringIssue | v.NumberIssue | v.UnionIssue<v.StringIssue | v.NumberIssue> | v.ToStringIssue<string | number> | v.RegexIssue<string> | v.ToNumberIssue<string | number> | v.SafeIntegerIssue<number> | v.MinValueIssue<number, 0> | v.LengthIssue<`0x${string}`, 42> | v.PicklistIssue | v.ObjectIssue;
|
|
354
|
-
} | undefined;
|
|
355
|
-
}) | (Omit<v.ObjectSchema<{
|
|
233
|
+
}, undefined>, v.ObjectSchema<{
|
|
356
234
|
/** Type of action. */
|
|
357
235
|
readonly type: v.LiteralSchema<"perpDeploy", undefined>;
|
|
358
236
|
/** Parameters for registering a new perpetual asset. */
|
|
@@ -384,133 +262,7 @@ declare const PerpDeployParameters: v.UnionSchema<((Omit<v.ObjectSchema<{
|
|
|
384
262
|
readonly oracleUpdater: v.NullableSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 42, undefined>]>, undefined>;
|
|
385
263
|
}, undefined>, undefined>;
|
|
386
264
|
}, undefined>;
|
|
387
|
-
}, undefined>,
|
|
388
|
-
readonly entries: Omit<{
|
|
389
|
-
/** Type of action. */
|
|
390
|
-
readonly type: v.LiteralSchema<"perpDeploy", undefined>;
|
|
391
|
-
/** Parameters for registering a new perpetual asset. */
|
|
392
|
-
readonly registerAsset: v.ObjectSchema<{
|
|
393
|
-
/** Max gas in native token wei. If not provided, then uses current deploy auction price. */
|
|
394
|
-
readonly maxGas: v.NullableSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.ToNumberAction<string | number, undefined>, v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
395
|
-
/** Contains new asset listing parameters. */
|
|
396
|
-
readonly assetRequest: v.ObjectSchema<{
|
|
397
|
-
/** Coin symbol for the new asset. */
|
|
398
|
-
readonly coin: v.StringSchema<undefined>;
|
|
399
|
-
/** Number of decimal places for size. */
|
|
400
|
-
readonly szDecimals: v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.ToNumberAction<string | number, undefined>, v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
401
|
-
/** Initial oracle price for the asset. */
|
|
402
|
-
readonly oraclePx: v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.ToStringAction<string | number, undefined>, v.StringSchema<undefined>, v.TransformAction<string, string>, v.RegexAction<string, undefined>]>;
|
|
403
|
-
/** Margin table identifier for risk management. */
|
|
404
|
-
readonly marginTableId: v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.ToNumberAction<string | number, undefined>, v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
405
|
-
/** Whether the asset can only be traded with isolated margin. */
|
|
406
|
-
readonly onlyIsolated: v.BooleanSchema<undefined>;
|
|
407
|
-
}, undefined>;
|
|
408
|
-
/** Name of the dex. */
|
|
409
|
-
readonly dex: v.StringSchema<undefined>;
|
|
410
|
-
/** Contains new dex parameters. */
|
|
411
|
-
readonly schema: v.NullableSchema<v.ObjectSchema<{
|
|
412
|
-
/** Full name of the dex. */
|
|
413
|
-
readonly fullName: v.StringSchema<undefined>;
|
|
414
|
-
/** Collateral token index. */
|
|
415
|
-
readonly collateralToken: v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.ToNumberAction<string | number, undefined>, v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
416
|
-
/** User to update oracles. If not provided, then deployer is assumed to be oracle updater. */
|
|
417
|
-
readonly oracleUpdater: v.NullableSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 42, undefined>]>, undefined>;
|
|
418
|
-
}, undefined>, undefined>;
|
|
419
|
-
}, undefined>;
|
|
420
|
-
}, "type">;
|
|
421
|
-
readonly "~standard": v.StandardProps<{
|
|
422
|
-
registerAsset: {
|
|
423
|
-
maxGas: string | number | null;
|
|
424
|
-
assetRequest: {
|
|
425
|
-
coin: string;
|
|
426
|
-
szDecimals: string | number;
|
|
427
|
-
oraclePx: string | number;
|
|
428
|
-
marginTableId: string | number;
|
|
429
|
-
onlyIsolated: boolean;
|
|
430
|
-
};
|
|
431
|
-
dex: string;
|
|
432
|
-
schema: {
|
|
433
|
-
fullName: string;
|
|
434
|
-
collateralToken: string | number;
|
|
435
|
-
oracleUpdater: string | null;
|
|
436
|
-
} | null;
|
|
437
|
-
};
|
|
438
|
-
}, {
|
|
439
|
-
registerAsset: {
|
|
440
|
-
maxGas: number | null;
|
|
441
|
-
assetRequest: {
|
|
442
|
-
coin: string;
|
|
443
|
-
szDecimals: number;
|
|
444
|
-
oraclePx: string;
|
|
445
|
-
marginTableId: number;
|
|
446
|
-
onlyIsolated: boolean;
|
|
447
|
-
};
|
|
448
|
-
dex: string;
|
|
449
|
-
schema: {
|
|
450
|
-
fullName: string;
|
|
451
|
-
collateralToken: number;
|
|
452
|
-
oracleUpdater: `0x${string}` | null;
|
|
453
|
-
} | null;
|
|
454
|
-
};
|
|
455
|
-
}>;
|
|
456
|
-
readonly "~run": (dataset: v.UnknownDataset, config: v.Config<v.BaseIssue<unknown>>) => v.OutputDataset<{
|
|
457
|
-
registerAsset: {
|
|
458
|
-
maxGas: number | null;
|
|
459
|
-
assetRequest: {
|
|
460
|
-
coin: string;
|
|
461
|
-
szDecimals: number;
|
|
462
|
-
oraclePx: string;
|
|
463
|
-
marginTableId: number;
|
|
464
|
-
onlyIsolated: boolean;
|
|
465
|
-
};
|
|
466
|
-
dex: string;
|
|
467
|
-
schema: {
|
|
468
|
-
fullName: string;
|
|
469
|
-
collateralToken: number;
|
|
470
|
-
oracleUpdater: `0x${string}` | null;
|
|
471
|
-
} | null;
|
|
472
|
-
};
|
|
473
|
-
}, v.StringIssue | v.NumberIssue | v.UnionIssue<v.StringIssue | v.NumberIssue> | v.ToStringIssue<string | number> | v.RegexIssue<string> | v.ToNumberIssue<string | number> | v.SafeIntegerIssue<number> | v.MinValueIssue<number, 0> | v.LengthIssue<`0x${string}`, 42> | v.ObjectIssue | v.BooleanIssue>;
|
|
474
|
-
readonly "~types"?: {
|
|
475
|
-
readonly input: {
|
|
476
|
-
registerAsset: {
|
|
477
|
-
maxGas: string | number | null;
|
|
478
|
-
assetRequest: {
|
|
479
|
-
coin: string;
|
|
480
|
-
szDecimals: string | number;
|
|
481
|
-
oraclePx: string | number;
|
|
482
|
-
marginTableId: string | number;
|
|
483
|
-
onlyIsolated: boolean;
|
|
484
|
-
};
|
|
485
|
-
dex: string;
|
|
486
|
-
schema: {
|
|
487
|
-
fullName: string;
|
|
488
|
-
collateralToken: string | number;
|
|
489
|
-
oracleUpdater: string | null;
|
|
490
|
-
} | null;
|
|
491
|
-
};
|
|
492
|
-
};
|
|
493
|
-
readonly output: {
|
|
494
|
-
registerAsset: {
|
|
495
|
-
maxGas: number | null;
|
|
496
|
-
assetRequest: {
|
|
497
|
-
coin: string;
|
|
498
|
-
szDecimals: number;
|
|
499
|
-
oraclePx: string;
|
|
500
|
-
marginTableId: number;
|
|
501
|
-
onlyIsolated: boolean;
|
|
502
|
-
};
|
|
503
|
-
dex: string;
|
|
504
|
-
schema: {
|
|
505
|
-
fullName: string;
|
|
506
|
-
collateralToken: number;
|
|
507
|
-
oracleUpdater: `0x${string}` | null;
|
|
508
|
-
} | null;
|
|
509
|
-
};
|
|
510
|
-
};
|
|
511
|
-
readonly issue: v.StringIssue | v.NumberIssue | v.UnionIssue<v.StringIssue | v.NumberIssue> | v.ToStringIssue<string | number> | v.RegexIssue<string> | v.ToNumberIssue<string | number> | v.SafeIntegerIssue<number> | v.MinValueIssue<number, 0> | v.LengthIssue<`0x${string}`, 42> | v.ObjectIssue | v.BooleanIssue;
|
|
512
|
-
} | undefined;
|
|
513
|
-
}) | (Omit<v.ObjectSchema<{
|
|
265
|
+
}, undefined>, v.ObjectSchema<{
|
|
514
266
|
/** Type of action. */
|
|
515
267
|
readonly type: v.LiteralSchema<"perpDeploy", undefined>;
|
|
516
268
|
/** Parameters for setting oracle and mark prices for assets. */
|
|
@@ -524,123 +276,17 @@ declare const PerpDeployParameters: v.UnionSchema<((Omit<v.ObjectSchema<{
|
|
|
524
276
|
/** A list (sorted by key) of asset and external prices which prevent sudden mark price deviations. */
|
|
525
277
|
readonly externalPerpPxs: v.ArraySchema<v.TupleSchema<[v.StringSchema<undefined>, v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.ToStringAction<string | number, undefined>, v.StringSchema<undefined>, v.TransformAction<string, string>, v.RegexAction<string, undefined>]>], undefined>, undefined>;
|
|
526
278
|
}, undefined>;
|
|
527
|
-
}, undefined>,
|
|
528
|
-
readonly entries: Omit<{
|
|
529
|
-
/** Type of action. */
|
|
530
|
-
readonly type: v.LiteralSchema<"perpDeploy", undefined>;
|
|
531
|
-
/** Parameters for setting oracle and mark prices for assets. */
|
|
532
|
-
readonly setOracle: v.ObjectSchema<{
|
|
533
|
-
/** Name of the dex. */
|
|
534
|
-
readonly dex: v.StringSchema<undefined>;
|
|
535
|
-
/** A list (sorted by key) of asset and oracle prices. */
|
|
536
|
-
readonly oraclePxs: v.ArraySchema<v.TupleSchema<[v.StringSchema<undefined>, v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.ToStringAction<string | number, undefined>, v.StringSchema<undefined>, v.TransformAction<string, string>, v.RegexAction<string, undefined>]>], undefined>, undefined>;
|
|
537
|
-
/** An outer list of inner lists (inner list sorted by key) of asset and mark prices. */
|
|
538
|
-
readonly markPxs: v.ArraySchema<v.ArraySchema<v.TupleSchema<[v.StringSchema<undefined>, v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.ToStringAction<string | number, undefined>, v.StringSchema<undefined>, v.TransformAction<string, string>, v.RegexAction<string, undefined>]>], undefined>, undefined>, undefined>;
|
|
539
|
-
/** A list (sorted by key) of asset and external prices which prevent sudden mark price deviations. */
|
|
540
|
-
readonly externalPerpPxs: v.ArraySchema<v.TupleSchema<[v.StringSchema<undefined>, v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.ToStringAction<string | number, undefined>, v.StringSchema<undefined>, v.TransformAction<string, string>, v.RegexAction<string, undefined>]>], undefined>, undefined>;
|
|
541
|
-
}, undefined>;
|
|
542
|
-
}, "type">;
|
|
543
|
-
readonly "~standard": v.StandardProps<{
|
|
544
|
-
setOracle: {
|
|
545
|
-
dex: string;
|
|
546
|
-
oraclePxs: [string, string | number][];
|
|
547
|
-
markPxs: [string, string | number][][];
|
|
548
|
-
externalPerpPxs: [string, string | number][];
|
|
549
|
-
};
|
|
550
|
-
}, {
|
|
551
|
-
setOracle: {
|
|
552
|
-
dex: string;
|
|
553
|
-
oraclePxs: [string, string][];
|
|
554
|
-
markPxs: [string, string][][];
|
|
555
|
-
externalPerpPxs: [string, string][];
|
|
556
|
-
};
|
|
557
|
-
}>;
|
|
558
|
-
readonly "~run": (dataset: v.UnknownDataset, config: v.Config<v.BaseIssue<unknown>>) => v.OutputDataset<{
|
|
559
|
-
setOracle: {
|
|
560
|
-
dex: string;
|
|
561
|
-
oraclePxs: [string, string][];
|
|
562
|
-
markPxs: [string, string][][];
|
|
563
|
-
externalPerpPxs: [string, string][];
|
|
564
|
-
};
|
|
565
|
-
}, v.StringIssue | v.NumberIssue | v.UnionIssue<v.StringIssue | v.NumberIssue> | v.ToStringIssue<string | number> | v.RegexIssue<string> | v.ObjectIssue | v.ArrayIssue | v.TupleIssue>;
|
|
566
|
-
readonly "~types"?: {
|
|
567
|
-
readonly input: {
|
|
568
|
-
setOracle: {
|
|
569
|
-
dex: string;
|
|
570
|
-
oraclePxs: [string, string | number][];
|
|
571
|
-
markPxs: [string, string | number][][];
|
|
572
|
-
externalPerpPxs: [string, string | number][];
|
|
573
|
-
};
|
|
574
|
-
};
|
|
575
|
-
readonly output: {
|
|
576
|
-
setOracle: {
|
|
577
|
-
dex: string;
|
|
578
|
-
oraclePxs: [string, string][];
|
|
579
|
-
markPxs: [string, string][][];
|
|
580
|
-
externalPerpPxs: [string, string][];
|
|
581
|
-
};
|
|
582
|
-
};
|
|
583
|
-
readonly issue: v.StringIssue | v.NumberIssue | v.UnionIssue<v.StringIssue | v.NumberIssue> | v.ToStringIssue<string | number> | v.RegexIssue<string> | v.ObjectIssue | v.ArrayIssue | v.TupleIssue;
|
|
584
|
-
} | undefined;
|
|
585
|
-
}) | (Omit<v.ObjectSchema<{
|
|
279
|
+
}, undefined>, v.ObjectSchema<{
|
|
586
280
|
/** Type of action. */
|
|
587
281
|
readonly type: v.LiteralSchema<"perpDeploy", undefined>;
|
|
588
282
|
/** A list (sorted by key) of asset and funding multiplier. */
|
|
589
283
|
readonly setFundingMultipliers: v.ArraySchema<v.TupleSchema<[v.StringSchema<undefined>, v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.ToStringAction<string | number, undefined>, v.StringSchema<undefined>, v.TransformAction<string, string>, v.RegexAction<string, undefined>]>], undefined>, undefined>;
|
|
590
|
-
}, undefined>,
|
|
591
|
-
readonly entries: Omit<{
|
|
592
|
-
/** Type of action. */
|
|
593
|
-
readonly type: v.LiteralSchema<"perpDeploy", undefined>;
|
|
594
|
-
/** A list (sorted by key) of asset and funding multiplier. */
|
|
595
|
-
readonly setFundingMultipliers: v.ArraySchema<v.TupleSchema<[v.StringSchema<undefined>, v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.ToStringAction<string | number, undefined>, v.StringSchema<undefined>, v.TransformAction<string, string>, v.RegexAction<string, undefined>]>], undefined>, undefined>;
|
|
596
|
-
}, "type">;
|
|
597
|
-
readonly "~standard": v.StandardProps<{
|
|
598
|
-
setFundingMultipliers: [string, string | number][];
|
|
599
|
-
}, {
|
|
600
|
-
setFundingMultipliers: [string, string][];
|
|
601
|
-
}>;
|
|
602
|
-
readonly "~run": (dataset: v.UnknownDataset, config: v.Config<v.BaseIssue<unknown>>) => v.OutputDataset<{
|
|
603
|
-
setFundingMultipliers: [string, string][];
|
|
604
|
-
}, v.StringIssue | v.NumberIssue | v.UnionIssue<v.StringIssue | v.NumberIssue> | v.ToStringIssue<string | number> | v.RegexIssue<string> | v.ObjectIssue | v.ArrayIssue | v.TupleIssue>;
|
|
605
|
-
readonly "~types"?: {
|
|
606
|
-
readonly input: {
|
|
607
|
-
setFundingMultipliers: [string, string | number][];
|
|
608
|
-
};
|
|
609
|
-
readonly output: {
|
|
610
|
-
setFundingMultipliers: [string, string][];
|
|
611
|
-
};
|
|
612
|
-
readonly issue: v.StringIssue | v.NumberIssue | v.UnionIssue<v.StringIssue | v.NumberIssue> | v.ToStringIssue<string | number> | v.RegexIssue<string> | v.ObjectIssue | v.ArrayIssue | v.TupleIssue;
|
|
613
|
-
} | undefined;
|
|
614
|
-
}) | (Omit<v.ObjectSchema<{
|
|
284
|
+
}, undefined>, v.ObjectSchema<{
|
|
615
285
|
/** Type of action. */
|
|
616
286
|
readonly type: v.LiteralSchema<"perpDeploy", undefined>;
|
|
617
287
|
/** A list (sorted by key) of asset and 8-hour funding interest rate (between -0.01 and 0.01). */
|
|
618
288
|
readonly setFundingInterestRates: v.ArraySchema<v.TupleSchema<[v.StringSchema<undefined>, v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.ToStringAction<string | number, undefined>, v.StringSchema<undefined>, v.TransformAction<string, string>, v.RegexAction<string, undefined>]>], undefined>, undefined>;
|
|
619
|
-
}, undefined>,
|
|
620
|
-
readonly entries: Omit<{
|
|
621
|
-
/** Type of action. */
|
|
622
|
-
readonly type: v.LiteralSchema<"perpDeploy", undefined>;
|
|
623
|
-
/** A list (sorted by key) of asset and 8-hour funding interest rate (between -0.01 and 0.01). */
|
|
624
|
-
readonly setFundingInterestRates: v.ArraySchema<v.TupleSchema<[v.StringSchema<undefined>, v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.ToStringAction<string | number, undefined>, v.StringSchema<undefined>, v.TransformAction<string, string>, v.RegexAction<string, undefined>]>], undefined>, undefined>;
|
|
625
|
-
}, "type">;
|
|
626
|
-
readonly "~standard": v.StandardProps<{
|
|
627
|
-
setFundingInterestRates: [string, string | number][];
|
|
628
|
-
}, {
|
|
629
|
-
setFundingInterestRates: [string, string][];
|
|
630
|
-
}>;
|
|
631
|
-
readonly "~run": (dataset: v.UnknownDataset, config: v.Config<v.BaseIssue<unknown>>) => v.OutputDataset<{
|
|
632
|
-
setFundingInterestRates: [string, string][];
|
|
633
|
-
}, v.StringIssue | v.NumberIssue | v.UnionIssue<v.StringIssue | v.NumberIssue> | v.ToStringIssue<string | number> | v.RegexIssue<string> | v.ObjectIssue | v.ArrayIssue | v.TupleIssue>;
|
|
634
|
-
readonly "~types"?: {
|
|
635
|
-
readonly input: {
|
|
636
|
-
setFundingInterestRates: [string, string | number][];
|
|
637
|
-
};
|
|
638
|
-
readonly output: {
|
|
639
|
-
setFundingInterestRates: [string, string][];
|
|
640
|
-
};
|
|
641
|
-
readonly issue: v.StringIssue | v.NumberIssue | v.UnionIssue<v.StringIssue | v.NumberIssue> | v.ToStringIssue<string | number> | v.RegexIssue<string> | v.ObjectIssue | v.ArrayIssue | v.TupleIssue;
|
|
642
|
-
} | undefined;
|
|
643
|
-
}) | (Omit<v.ObjectSchema<{
|
|
289
|
+
}, undefined>, v.ObjectSchema<{
|
|
644
290
|
/** Type of action. */
|
|
645
291
|
readonly type: v.LiteralSchema<"perpDeploy", undefined>;
|
|
646
292
|
/** Parameters for halting or resuming trading for an asset. */
|
|
@@ -650,80 +296,12 @@ declare const PerpDeployParameters: v.UnionSchema<((Omit<v.ObjectSchema<{
|
|
|
650
296
|
/** Whether trading should be halted (true) or resumed (false). */
|
|
651
297
|
readonly isHalted: v.BooleanSchema<undefined>;
|
|
652
298
|
}, undefined>;
|
|
653
|
-
}, undefined>,
|
|
654
|
-
readonly entries: Omit<{
|
|
655
|
-
/** Type of action. */
|
|
656
|
-
readonly type: v.LiteralSchema<"perpDeploy", undefined>;
|
|
657
|
-
/** Parameters for halting or resuming trading for an asset. */
|
|
658
|
-
readonly haltTrading: v.ObjectSchema<{
|
|
659
|
-
/** Coin symbol for the asset to halt or resume. */
|
|
660
|
-
readonly coin: v.StringSchema<undefined>;
|
|
661
|
-
/** Whether trading should be halted (true) or resumed (false). */
|
|
662
|
-
readonly isHalted: v.BooleanSchema<undefined>;
|
|
663
|
-
}, undefined>;
|
|
664
|
-
}, "type">;
|
|
665
|
-
readonly "~standard": v.StandardProps<{
|
|
666
|
-
haltTrading: {
|
|
667
|
-
coin: string;
|
|
668
|
-
isHalted: boolean;
|
|
669
|
-
};
|
|
670
|
-
}, {
|
|
671
|
-
haltTrading: {
|
|
672
|
-
coin: string;
|
|
673
|
-
isHalted: boolean;
|
|
674
|
-
};
|
|
675
|
-
}>;
|
|
676
|
-
readonly "~run": (dataset: v.UnknownDataset, config: v.Config<v.BaseIssue<unknown>>) => v.OutputDataset<{
|
|
677
|
-
haltTrading: {
|
|
678
|
-
coin: string;
|
|
679
|
-
isHalted: boolean;
|
|
680
|
-
};
|
|
681
|
-
}, v.StringIssue | v.ObjectIssue | v.BooleanIssue>;
|
|
682
|
-
readonly "~types"?: {
|
|
683
|
-
readonly input: {
|
|
684
|
-
haltTrading: {
|
|
685
|
-
coin: string;
|
|
686
|
-
isHalted: boolean;
|
|
687
|
-
};
|
|
688
|
-
};
|
|
689
|
-
readonly output: {
|
|
690
|
-
haltTrading: {
|
|
691
|
-
coin: string;
|
|
692
|
-
isHalted: boolean;
|
|
693
|
-
};
|
|
694
|
-
};
|
|
695
|
-
readonly issue: v.StringIssue | v.ObjectIssue | v.BooleanIssue;
|
|
696
|
-
} | undefined;
|
|
697
|
-
}) | (Omit<v.ObjectSchema<{
|
|
299
|
+
}, undefined>, v.ObjectSchema<{
|
|
698
300
|
/** Type of action. */
|
|
699
301
|
readonly type: v.LiteralSchema<"perpDeploy", undefined>;
|
|
700
302
|
/** A list (sorted by key) of asset and margin table ids. */
|
|
701
303
|
readonly setMarginTableIds: v.ArraySchema<v.TupleSchema<[v.StringSchema<undefined>, v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.ToNumberAction<string | number, undefined>, v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>], undefined>, undefined>;
|
|
702
|
-
}, undefined>,
|
|
703
|
-
readonly entries: Omit<{
|
|
704
|
-
/** Type of action. */
|
|
705
|
-
readonly type: v.LiteralSchema<"perpDeploy", undefined>;
|
|
706
|
-
/** A list (sorted by key) of asset and margin table ids. */
|
|
707
|
-
readonly setMarginTableIds: v.ArraySchema<v.TupleSchema<[v.StringSchema<undefined>, v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.ToNumberAction<string | number, undefined>, v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>], undefined>, undefined>;
|
|
708
|
-
}, "type">;
|
|
709
|
-
readonly "~standard": v.StandardProps<{
|
|
710
|
-
setMarginTableIds: [string, string | number][];
|
|
711
|
-
}, {
|
|
712
|
-
setMarginTableIds: [string, number][];
|
|
713
|
-
}>;
|
|
714
|
-
readonly "~run": (dataset: v.UnknownDataset, config: v.Config<v.BaseIssue<unknown>>) => v.OutputDataset<{
|
|
715
|
-
setMarginTableIds: [string, number][];
|
|
716
|
-
}, v.StringIssue | v.NumberIssue | v.UnionIssue<v.StringIssue | v.NumberIssue> | v.ToNumberIssue<string | number> | v.SafeIntegerIssue<number> | v.MinValueIssue<number, 0> | v.ObjectIssue | v.ArrayIssue | v.TupleIssue>;
|
|
717
|
-
readonly "~types"?: {
|
|
718
|
-
readonly input: {
|
|
719
|
-
setMarginTableIds: [string, string | number][];
|
|
720
|
-
};
|
|
721
|
-
readonly output: {
|
|
722
|
-
setMarginTableIds: [string, number][];
|
|
723
|
-
};
|
|
724
|
-
readonly issue: v.StringIssue | v.NumberIssue | v.UnionIssue<v.StringIssue | v.NumberIssue> | v.ToNumberIssue<string | number> | v.SafeIntegerIssue<number> | v.MinValueIssue<number, 0> | v.ObjectIssue | v.ArrayIssue | v.TupleIssue;
|
|
725
|
-
} | undefined;
|
|
726
|
-
}) | (Omit<v.ObjectSchema<{
|
|
304
|
+
}, undefined>, v.ObjectSchema<{
|
|
727
305
|
/** Type of action. */
|
|
728
306
|
readonly type: v.LiteralSchema<"perpDeploy", undefined>;
|
|
729
307
|
/** Parameters for setting the fee recipient. */
|
|
@@ -733,80 +311,12 @@ declare const PerpDeployParameters: v.UnionSchema<((Omit<v.ObjectSchema<{
|
|
|
733
311
|
/** Address of the fee recipient. */
|
|
734
312
|
readonly feeRecipient: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 42, undefined>]>;
|
|
735
313
|
}, undefined>;
|
|
736
|
-
}, undefined>,
|
|
737
|
-
readonly entries: Omit<{
|
|
738
|
-
/** Type of action. */
|
|
739
|
-
readonly type: v.LiteralSchema<"perpDeploy", undefined>;
|
|
740
|
-
/** Parameters for setting the fee recipient. */
|
|
741
|
-
readonly setFeeRecipient: v.ObjectSchema<{
|
|
742
|
-
/** Name of the DEX. */
|
|
743
|
-
readonly dex: v.StringSchema<undefined>;
|
|
744
|
-
/** Address of the fee recipient. */
|
|
745
|
-
readonly feeRecipient: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 42, undefined>]>;
|
|
746
|
-
}, undefined>;
|
|
747
|
-
}, "type">;
|
|
748
|
-
readonly "~standard": v.StandardProps<{
|
|
749
|
-
setFeeRecipient: {
|
|
750
|
-
dex: string;
|
|
751
|
-
feeRecipient: string;
|
|
752
|
-
};
|
|
753
|
-
}, {
|
|
754
|
-
setFeeRecipient: {
|
|
755
|
-
dex: string;
|
|
756
|
-
feeRecipient: `0x${string}`;
|
|
757
|
-
};
|
|
758
|
-
}>;
|
|
759
|
-
readonly "~run": (dataset: v.UnknownDataset, config: v.Config<v.BaseIssue<unknown>>) => v.OutputDataset<{
|
|
760
|
-
setFeeRecipient: {
|
|
761
|
-
dex: string;
|
|
762
|
-
feeRecipient: `0x${string}`;
|
|
763
|
-
};
|
|
764
|
-
}, v.StringIssue | v.RegexIssue<string> | v.LengthIssue<`0x${string}`, 42> | v.ObjectIssue>;
|
|
765
|
-
readonly "~types"?: {
|
|
766
|
-
readonly input: {
|
|
767
|
-
setFeeRecipient: {
|
|
768
|
-
dex: string;
|
|
769
|
-
feeRecipient: string;
|
|
770
|
-
};
|
|
771
|
-
};
|
|
772
|
-
readonly output: {
|
|
773
|
-
setFeeRecipient: {
|
|
774
|
-
dex: string;
|
|
775
|
-
feeRecipient: `0x${string}`;
|
|
776
|
-
};
|
|
777
|
-
};
|
|
778
|
-
readonly issue: v.StringIssue | v.RegexIssue<string> | v.LengthIssue<`0x${string}`, 42> | v.ObjectIssue;
|
|
779
|
-
} | undefined;
|
|
780
|
-
}) | (Omit<v.ObjectSchema<{
|
|
314
|
+
}, undefined>, v.ObjectSchema<{
|
|
781
315
|
/** Type of action. */
|
|
782
316
|
readonly type: v.LiteralSchema<"perpDeploy", undefined>;
|
|
783
317
|
/** A list (sorted by key) of asset and open interest cap notionals. */
|
|
784
318
|
readonly setOpenInterestCaps: v.ArraySchema<v.TupleSchema<[v.StringSchema<undefined>, v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.ToNumberAction<string | number, undefined>, v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>], undefined>, undefined>;
|
|
785
|
-
}, undefined>,
|
|
786
|
-
readonly entries: Omit<{
|
|
787
|
-
/** Type of action. */
|
|
788
|
-
readonly type: v.LiteralSchema<"perpDeploy", undefined>;
|
|
789
|
-
/** A list (sorted by key) of asset and open interest cap notionals. */
|
|
790
|
-
readonly setOpenInterestCaps: v.ArraySchema<v.TupleSchema<[v.StringSchema<undefined>, v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.ToNumberAction<string | number, undefined>, v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>], undefined>, undefined>;
|
|
791
|
-
}, "type">;
|
|
792
|
-
readonly "~standard": v.StandardProps<{
|
|
793
|
-
setOpenInterestCaps: [string, string | number][];
|
|
794
|
-
}, {
|
|
795
|
-
setOpenInterestCaps: [string, number][];
|
|
796
|
-
}>;
|
|
797
|
-
readonly "~run": (dataset: v.UnknownDataset, config: v.Config<v.BaseIssue<unknown>>) => v.OutputDataset<{
|
|
798
|
-
setOpenInterestCaps: [string, number][];
|
|
799
|
-
}, v.StringIssue | v.NumberIssue | v.UnionIssue<v.StringIssue | v.NumberIssue> | v.ToNumberIssue<string | number> | v.SafeIntegerIssue<number> | v.MinValueIssue<number, 0> | v.ObjectIssue | v.ArrayIssue | v.TupleIssue>;
|
|
800
|
-
readonly "~types"?: {
|
|
801
|
-
readonly input: {
|
|
802
|
-
setOpenInterestCaps: [string, string | number][];
|
|
803
|
-
};
|
|
804
|
-
readonly output: {
|
|
805
|
-
setOpenInterestCaps: [string, number][];
|
|
806
|
-
};
|
|
807
|
-
readonly issue: v.StringIssue | v.NumberIssue | v.UnionIssue<v.StringIssue | v.NumberIssue> | v.ToNumberIssue<string | number> | v.SafeIntegerIssue<number> | v.MinValueIssue<number, 0> | v.ObjectIssue | v.ArrayIssue | v.TupleIssue;
|
|
808
|
-
} | undefined;
|
|
809
|
-
}) | (Omit<v.ObjectSchema<{
|
|
319
|
+
}, undefined>, v.ObjectSchema<{
|
|
810
320
|
/** Type of action. */
|
|
811
321
|
readonly type: v.LiteralSchema<"perpDeploy", undefined>;
|
|
812
322
|
/** A modification to sub-deployer permissions. */
|
|
@@ -823,107 +333,12 @@ declare const PerpDeployParameters: v.UnionSchema<((Omit<v.ObjectSchema<{
|
|
|
823
333
|
readonly allowed: v.BooleanSchema<undefined>;
|
|
824
334
|
}, undefined>, undefined>;
|
|
825
335
|
}, undefined>;
|
|
826
|
-
}, undefined>,
|
|
827
|
-
readonly entries: Omit<{
|
|
828
|
-
/** Type of action. */
|
|
829
|
-
readonly type: v.LiteralSchema<"perpDeploy", undefined>;
|
|
830
|
-
/** A modification to sub-deployer permissions. */
|
|
831
|
-
readonly setSubDeployers: v.ObjectSchema<{
|
|
832
|
-
/** Name of the DEX. */
|
|
833
|
-
readonly dex: v.StringSchema<undefined>;
|
|
834
|
-
/** A modification to sub-deployer permissions. */
|
|
835
|
-
readonly subDeployers: v.ArraySchema<v.ObjectSchema<{
|
|
836
|
-
/** Corresponds to a variant of PerpDeployAction. */
|
|
837
|
-
readonly variant: v.StringSchema<undefined>;
|
|
838
|
-
/** Sub-deployer address. */
|
|
839
|
-
readonly user: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 42, undefined>]>;
|
|
840
|
-
/** Add or remove the subDeployer from the authorized set for the action variant. */
|
|
841
|
-
readonly allowed: v.BooleanSchema<undefined>;
|
|
842
|
-
}, undefined>, undefined>;
|
|
843
|
-
}, undefined>;
|
|
844
|
-
}, "type">;
|
|
845
|
-
readonly "~standard": v.StandardProps<{
|
|
846
|
-
setSubDeployers: {
|
|
847
|
-
dex: string;
|
|
848
|
-
subDeployers: {
|
|
849
|
-
variant: string;
|
|
850
|
-
user: string;
|
|
851
|
-
allowed: boolean;
|
|
852
|
-
}[];
|
|
853
|
-
};
|
|
854
|
-
}, {
|
|
855
|
-
setSubDeployers: {
|
|
856
|
-
dex: string;
|
|
857
|
-
subDeployers: {
|
|
858
|
-
variant: string;
|
|
859
|
-
user: `0x${string}`;
|
|
860
|
-
allowed: boolean;
|
|
861
|
-
}[];
|
|
862
|
-
};
|
|
863
|
-
}>;
|
|
864
|
-
readonly "~run": (dataset: v.UnknownDataset, config: v.Config<v.BaseIssue<unknown>>) => v.OutputDataset<{
|
|
865
|
-
setSubDeployers: {
|
|
866
|
-
dex: string;
|
|
867
|
-
subDeployers: {
|
|
868
|
-
variant: string;
|
|
869
|
-
user: `0x${string}`;
|
|
870
|
-
allowed: boolean;
|
|
871
|
-
}[];
|
|
872
|
-
};
|
|
873
|
-
}, v.StringIssue | v.RegexIssue<string> | v.LengthIssue<`0x${string}`, 42> | v.ObjectIssue | v.ArrayIssue | v.BooleanIssue>;
|
|
874
|
-
readonly "~types"?: {
|
|
875
|
-
readonly input: {
|
|
876
|
-
setSubDeployers: {
|
|
877
|
-
dex: string;
|
|
878
|
-
subDeployers: {
|
|
879
|
-
variant: string;
|
|
880
|
-
user: string;
|
|
881
|
-
allowed: boolean;
|
|
882
|
-
}[];
|
|
883
|
-
};
|
|
884
|
-
};
|
|
885
|
-
readonly output: {
|
|
886
|
-
setSubDeployers: {
|
|
887
|
-
dex: string;
|
|
888
|
-
subDeployers: {
|
|
889
|
-
variant: string;
|
|
890
|
-
user: `0x${string}`;
|
|
891
|
-
allowed: boolean;
|
|
892
|
-
}[];
|
|
893
|
-
};
|
|
894
|
-
};
|
|
895
|
-
readonly issue: v.StringIssue | v.RegexIssue<string> | v.LengthIssue<`0x${string}`, 42> | v.ObjectIssue | v.ArrayIssue | v.BooleanIssue;
|
|
896
|
-
} | undefined;
|
|
897
|
-
}) | (Omit<v.ObjectSchema<{
|
|
336
|
+
}, undefined>, v.ObjectSchema<{
|
|
898
337
|
/** Type of action. */
|
|
899
338
|
readonly type: v.LiteralSchema<"perpDeploy", undefined>;
|
|
900
339
|
/** A list (sorted by key) of asset and margin modes. */
|
|
901
340
|
readonly setMarginModes: v.ArraySchema<v.TupleSchema<[v.StringSchema<undefined>, v.PicklistSchema<["strictIsolated", "noCross"], undefined>], undefined>, undefined>;
|
|
902
|
-
}, undefined>,
|
|
903
|
-
readonly entries: Omit<{
|
|
904
|
-
/** Type of action. */
|
|
905
|
-
readonly type: v.LiteralSchema<"perpDeploy", undefined>;
|
|
906
|
-
/** A list (sorted by key) of asset and margin modes. */
|
|
907
|
-
readonly setMarginModes: v.ArraySchema<v.TupleSchema<[v.StringSchema<undefined>, v.PicklistSchema<["strictIsolated", "noCross"], undefined>], undefined>, undefined>;
|
|
908
|
-
}, "type">;
|
|
909
|
-
readonly "~standard": v.StandardProps<{
|
|
910
|
-
setMarginModes: [string, "strictIsolated" | "noCross"][];
|
|
911
|
-
}, {
|
|
912
|
-
setMarginModes: [string, "strictIsolated" | "noCross"][];
|
|
913
|
-
}>;
|
|
914
|
-
readonly "~run": (dataset: v.UnknownDataset, config: v.Config<v.BaseIssue<unknown>>) => v.OutputDataset<{
|
|
915
|
-
setMarginModes: [string, "strictIsolated" | "noCross"][];
|
|
916
|
-
}, v.StringIssue | v.PicklistIssue | v.ObjectIssue | v.ArrayIssue | v.TupleIssue>;
|
|
917
|
-
readonly "~types"?: {
|
|
918
|
-
readonly input: {
|
|
919
|
-
setMarginModes: [string, "strictIsolated" | "noCross"][];
|
|
920
|
-
};
|
|
921
|
-
readonly output: {
|
|
922
|
-
setMarginModes: [string, "strictIsolated" | "noCross"][];
|
|
923
|
-
};
|
|
924
|
-
readonly issue: v.StringIssue | v.PicklistIssue | v.ObjectIssue | v.ArrayIssue | v.TupleIssue;
|
|
925
|
-
} | undefined;
|
|
926
|
-
}) | (Omit<v.ObjectSchema<{
|
|
341
|
+
}, undefined>, v.ObjectSchema<{
|
|
927
342
|
/** Type of action. */
|
|
928
343
|
readonly type: v.LiteralSchema<"perpDeploy", undefined>;
|
|
929
344
|
/** Set fee scale. */
|
|
@@ -933,80 +348,12 @@ declare const PerpDeployParameters: v.UnionSchema<((Omit<v.ObjectSchema<{
|
|
|
933
348
|
/** Fee scale (between 0.0 and 3.0). */
|
|
934
349
|
readonly scale: v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.ToStringAction<string | number, undefined>, v.StringSchema<undefined>, v.TransformAction<string, string>, v.RegexAction<string, undefined>]>;
|
|
935
350
|
}, undefined>;
|
|
936
|
-
}, undefined>,
|
|
937
|
-
readonly entries: Omit<{
|
|
938
|
-
/** Type of action. */
|
|
939
|
-
readonly type: v.LiteralSchema<"perpDeploy", undefined>;
|
|
940
|
-
/** Set fee scale. */
|
|
941
|
-
readonly setFeeScale: v.ObjectSchema<{
|
|
942
|
-
/** Name of the dex. */
|
|
943
|
-
readonly dex: v.StringSchema<undefined>;
|
|
944
|
-
/** Fee scale (between 0.0 and 3.0). */
|
|
945
|
-
readonly scale: v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.ToStringAction<string | number, undefined>, v.StringSchema<undefined>, v.TransformAction<string, string>, v.RegexAction<string, undefined>]>;
|
|
946
|
-
}, undefined>;
|
|
947
|
-
}, "type">;
|
|
948
|
-
readonly "~standard": v.StandardProps<{
|
|
949
|
-
setFeeScale: {
|
|
950
|
-
dex: string;
|
|
951
|
-
scale: string | number;
|
|
952
|
-
};
|
|
953
|
-
}, {
|
|
954
|
-
setFeeScale: {
|
|
955
|
-
dex: string;
|
|
956
|
-
scale: string;
|
|
957
|
-
};
|
|
958
|
-
}>;
|
|
959
|
-
readonly "~run": (dataset: v.UnknownDataset, config: v.Config<v.BaseIssue<unknown>>) => v.OutputDataset<{
|
|
960
|
-
setFeeScale: {
|
|
961
|
-
dex: string;
|
|
962
|
-
scale: string;
|
|
963
|
-
};
|
|
964
|
-
}, v.StringIssue | v.NumberIssue | v.UnionIssue<v.StringIssue | v.NumberIssue> | v.ToStringIssue<string | number> | v.RegexIssue<string> | v.ObjectIssue>;
|
|
965
|
-
readonly "~types"?: {
|
|
966
|
-
readonly input: {
|
|
967
|
-
setFeeScale: {
|
|
968
|
-
dex: string;
|
|
969
|
-
scale: string | number;
|
|
970
|
-
};
|
|
971
|
-
};
|
|
972
|
-
readonly output: {
|
|
973
|
-
setFeeScale: {
|
|
974
|
-
dex: string;
|
|
975
|
-
scale: string;
|
|
976
|
-
};
|
|
977
|
-
};
|
|
978
|
-
readonly issue: v.StringIssue | v.NumberIssue | v.UnionIssue<v.StringIssue | v.NumberIssue> | v.ToStringIssue<string | number> | v.RegexIssue<string> | v.ObjectIssue;
|
|
979
|
-
} | undefined;
|
|
980
|
-
}) | (Omit<v.ObjectSchema<{
|
|
351
|
+
}, undefined>, v.ObjectSchema<{
|
|
981
352
|
/** Type of action. */
|
|
982
353
|
readonly type: v.LiteralSchema<"perpDeploy", undefined>;
|
|
983
354
|
/** A list (sorted by key) of asset and growth modes. */
|
|
984
355
|
readonly setGrowthModes: v.ArraySchema<v.TupleSchema<[v.StringSchema<undefined>, v.BooleanSchema<undefined>], undefined>, undefined>;
|
|
985
|
-
}, undefined>,
|
|
986
|
-
readonly entries: Omit<{
|
|
987
|
-
/** Type of action. */
|
|
988
|
-
readonly type: v.LiteralSchema<"perpDeploy", undefined>;
|
|
989
|
-
/** A list (sorted by key) of asset and growth modes. */
|
|
990
|
-
readonly setGrowthModes: v.ArraySchema<v.TupleSchema<[v.StringSchema<undefined>, v.BooleanSchema<undefined>], undefined>, undefined>;
|
|
991
|
-
}, "type">;
|
|
992
|
-
readonly "~standard": v.StandardProps<{
|
|
993
|
-
setGrowthModes: [string, boolean][];
|
|
994
|
-
}, {
|
|
995
|
-
setGrowthModes: [string, boolean][];
|
|
996
|
-
}>;
|
|
997
|
-
readonly "~run": (dataset: v.UnknownDataset, config: v.Config<v.BaseIssue<unknown>>) => v.OutputDataset<{
|
|
998
|
-
setGrowthModes: [string, boolean][];
|
|
999
|
-
}, v.StringIssue | v.ObjectIssue | v.ArrayIssue | v.BooleanIssue | v.TupleIssue>;
|
|
1000
|
-
readonly "~types"?: {
|
|
1001
|
-
readonly input: {
|
|
1002
|
-
setGrowthModes: [string, boolean][];
|
|
1003
|
-
};
|
|
1004
|
-
readonly output: {
|
|
1005
|
-
setGrowthModes: [string, boolean][];
|
|
1006
|
-
};
|
|
1007
|
-
readonly issue: v.StringIssue | v.ObjectIssue | v.ArrayIssue | v.BooleanIssue | v.TupleIssue;
|
|
1008
|
-
} | undefined;
|
|
1009
|
-
}) | (Omit<v.ObjectSchema<{
|
|
356
|
+
}, undefined>, v.ObjectSchema<{
|
|
1010
357
|
/** Type of action. */
|
|
1011
358
|
readonly type: v.LiteralSchema<"perpDeploy", undefined>;
|
|
1012
359
|
/** Parameters for setting a perp annotation. */
|
|
@@ -1017,61 +364,16 @@ declare const PerpDeployParameters: v.UnionSchema<((Omit<v.ObjectSchema<{
|
|
|
1017
364
|
readonly category: v.StringSchema<undefined>;
|
|
1018
365
|
/** Detailed description (max 400 characters). */
|
|
1019
366
|
readonly description: v.StringSchema<undefined>;
|
|
367
|
+
/** Display name for frontends to use instead of the L1 name, or null to ignore. */
|
|
368
|
+
readonly displayName: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
369
|
+
/** Keywords used as hints to match against searches. */
|
|
370
|
+
readonly keywords: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
1020
371
|
}, undefined>;
|
|
1021
|
-
}, undefined
|
|
1022
|
-
readonly entries: Omit<{
|
|
1023
|
-
/** Type of action. */
|
|
1024
|
-
readonly type: v.LiteralSchema<"perpDeploy", undefined>;
|
|
1025
|
-
/** Parameters for setting a perp annotation. */
|
|
1026
|
-
readonly setPerpAnnotation: v.ObjectSchema<{
|
|
1027
|
-
/** Coin symbol for the asset to annotate. */
|
|
1028
|
-
readonly coin: v.StringSchema<undefined>;
|
|
1029
|
-
/** Classification label (max 15 characters). */
|
|
1030
|
-
readonly category: v.StringSchema<undefined>;
|
|
1031
|
-
/** Detailed description (max 400 characters). */
|
|
1032
|
-
readonly description: v.StringSchema<undefined>;
|
|
1033
|
-
}, undefined>;
|
|
1034
|
-
}, "type">;
|
|
1035
|
-
readonly "~standard": v.StandardProps<{
|
|
1036
|
-
setPerpAnnotation: {
|
|
1037
|
-
coin: string;
|
|
1038
|
-
category: string;
|
|
1039
|
-
description: string;
|
|
1040
|
-
};
|
|
1041
|
-
}, {
|
|
1042
|
-
setPerpAnnotation: {
|
|
1043
|
-
coin: string;
|
|
1044
|
-
category: string;
|
|
1045
|
-
description: string;
|
|
1046
|
-
};
|
|
1047
|
-
}>;
|
|
1048
|
-
readonly "~run": (dataset: v.UnknownDataset, config: v.Config<v.BaseIssue<unknown>>) => v.OutputDataset<{
|
|
1049
|
-
setPerpAnnotation: {
|
|
1050
|
-
coin: string;
|
|
1051
|
-
category: string;
|
|
1052
|
-
description: string;
|
|
1053
|
-
};
|
|
1054
|
-
}, v.StringIssue | v.ObjectIssue>;
|
|
1055
|
-
readonly "~types"?: {
|
|
1056
|
-
readonly input: {
|
|
1057
|
-
setPerpAnnotation: {
|
|
1058
|
-
coin: string;
|
|
1059
|
-
category: string;
|
|
1060
|
-
description: string;
|
|
1061
|
-
};
|
|
1062
|
-
};
|
|
1063
|
-
readonly output: {
|
|
1064
|
-
setPerpAnnotation: {
|
|
1065
|
-
coin: string;
|
|
1066
|
-
category: string;
|
|
1067
|
-
description: string;
|
|
1068
|
-
};
|
|
1069
|
-
};
|
|
1070
|
-
readonly issue: v.StringIssue | v.ObjectIssue;
|
|
1071
|
-
} | undefined;
|
|
1072
|
-
}))[], undefined>;
|
|
372
|
+
}, undefined>], undefined>;
|
|
1073
373
|
/** Action parameters for the {@linkcode perpDeploy} function. */
|
|
1074
|
-
export type PerpDeployParameters = v.InferInput<typeof
|
|
374
|
+
export type PerpDeployParameters = v.InferInput<typeof PerpDeployActionSchema> extends infer T ? T extends unknown ? {
|
|
375
|
+
[K in Exclude<keyof T, "type">]: T[K];
|
|
376
|
+
} : never : never;
|
|
1075
377
|
/** Request options for the {@linkcode perpDeploy} function. */
|
|
1076
378
|
export type PerpDeployOptions = ExtractRequestOptions<v.InferInput<typeof PerpDeployRequest>>;
|
|
1077
379
|
/** Successful variant of {@linkcode PerpDeployResponse} without errors. */
|
|
@@ -1097,23 +399,20 @@ export type PerpDeploySuccessResponse = ExcludeErrorResponse<PerpDeployResponse>
|
|
|
1097
399
|
* const wallet = privateKeyToAccount("0x..."); // viem or ethers
|
|
1098
400
|
* const transport = new HttpTransport(); // or `WebSocketTransport`
|
|
1099
401
|
*
|
|
1100
|
-
* await perpDeploy(
|
|
1101
|
-
* {
|
|
1102
|
-
*
|
|
1103
|
-
*
|
|
1104
|
-
*
|
|
1105
|
-
*
|
|
1106
|
-
*
|
|
1107
|
-
*
|
|
1108
|
-
*
|
|
1109
|
-
* marginTableId: 1,
|
|
1110
|
-
* onlyIsolated: false,
|
|
1111
|
-
* },
|
|
1112
|
-
* dex: "test",
|
|
1113
|
-
* schema: null,
|
|
402
|
+
* await perpDeploy({ transport, wallet }, {
|
|
403
|
+
* registerAsset: {
|
|
404
|
+
* maxGas: 1000000,
|
|
405
|
+
* assetRequest: {
|
|
406
|
+
* coin: "USDC",
|
|
407
|
+
* szDecimals: 8,
|
|
408
|
+
* oraclePx: "1",
|
|
409
|
+
* marginTableId: 1,
|
|
410
|
+
* onlyIsolated: false,
|
|
1114
411
|
* },
|
|
412
|
+
* dex: "test",
|
|
413
|
+
* schema: null,
|
|
1115
414
|
* },
|
|
1116
|
-
* );
|
|
415
|
+
* });
|
|
1117
416
|
* ```
|
|
1118
417
|
*
|
|
1119
418
|
* @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/hip-3-deployer-actions
|