@hfunlabs/hyperliquid 0.27.1 → 0.30.0-hfunlabs.1
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/CONTRIBUTING.md +3 -5
- package/README.md +31 -1096
- package/esm/bin/_utils.d.ts +77 -41
- package/esm/bin/_utils.d.ts.map +1 -1
- package/esm/bin/_utils.js +176 -80
- package/esm/bin/_utils.js.map +1 -1
- package/esm/bin/cli.js +73 -50
- package/esm/bin/cli.js.map +1 -1
- package/esm/src/api/_schemas.d.ts +20 -0
- package/esm/src/api/_schemas.d.ts.map +1 -0
- package/esm/src/api/_schemas.js +58 -0
- package/esm/src/api/_schemas.js.map +1 -0
- package/esm/src/api/exchange/_methods/_base/_nonce.d.ts +12 -0
- package/esm/src/api/exchange/_methods/_base/_nonce.d.ts.map +1 -0
- package/esm/src/api/exchange/_methods/_base/_nonce.js +25 -0
- package/esm/src/api/exchange/_methods/_base/_nonce.js.map +1 -0
- package/esm/src/api/exchange/_methods/_base/_semaphore.d.ts +8 -0
- package/esm/src/api/exchange/_methods/_base/_semaphore.d.ts.map +1 -0
- package/esm/src/api/exchange/_methods/_base/_semaphore.js +84 -0
- package/esm/src/api/exchange/_methods/_base/_semaphore.js.map +1 -0
- package/esm/src/api/exchange/_methods/_base/commonSchemas.d.ts +48 -0
- package/esm/src/api/exchange/_methods/_base/commonSchemas.d.ts.map +1 -0
- package/esm/src/api/exchange/_methods/_base/commonSchemas.js +39 -0
- package/esm/src/api/exchange/_methods/_base/commonSchemas.js.map +1 -0
- package/esm/src/api/exchange/_methods/_base/errors.d.ts +49 -0
- package/esm/src/api/exchange/_methods/_base/errors.d.ts.map +1 -0
- package/esm/src/api/exchange/_methods/_base/errors.js +73 -0
- package/esm/src/api/exchange/_methods/_base/errors.js.map +1 -0
- package/esm/src/api/exchange/_methods/_base/execute.d.ts +74 -0
- package/esm/src/api/exchange/_methods/_base/execute.d.ts.map +1 -0
- package/esm/src/api/exchange/_methods/_base/execute.js +207 -0
- package/esm/src/api/exchange/_methods/_base/execute.js.map +1 -0
- package/esm/src/api/exchange/_methods/agentEnableDexAbstraction.d.ts +111 -0
- package/esm/src/api/exchange/_methods/agentEnableDexAbstraction.d.ts.map +1 -0
- package/esm/src/api/exchange/_methods/agentEnableDexAbstraction.js +67 -0
- package/esm/src/api/exchange/_methods/agentEnableDexAbstraction.js.map +1 -0
- package/esm/src/api/exchange/_methods/approveAgent.d.ts +193 -0
- package/esm/src/api/exchange/_methods/approveAgent.d.ts.map +1 -0
- package/esm/src/api/exchange/_methods/approveAgent.js +92 -0
- package/esm/src/api/exchange/_methods/approveAgent.js.map +1 -0
- package/esm/src/api/exchange/_methods/approveBuilderFee.d.ts +193 -0
- package/esm/src/api/exchange/_methods/approveBuilderFee.d.ts.map +1 -0
- package/esm/src/api/exchange/_methods/approveBuilderFee.js +92 -0
- package/esm/src/api/exchange/_methods/approveBuilderFee.js.map +1 -0
- package/esm/src/api/exchange/_methods/batchModify.d.ts +708 -0
- package/esm/src/api/exchange/_methods/batchModify.d.ts.map +1 -0
- package/esm/src/api/exchange/_methods/batchModify.js +145 -0
- package/esm/src/api/exchange/_methods/batchModify.js.map +1 -0
- package/esm/src/api/exchange/_methods/cDeposit.d.ts +180 -0
- package/esm/src/api/exchange/_methods/cDeposit.d.ts.map +1 -0
- package/esm/src/api/exchange/_methods/cDeposit.js +89 -0
- package/esm/src/api/exchange/_methods/cDeposit.js.map +1 -0
- package/esm/src/api/exchange/_methods/cSignerAction.d.ts +198 -0
- package/esm/src/api/exchange/_methods/cSignerAction.d.ts.map +1 -0
- package/esm/src/api/exchange/_methods/cSignerAction.js +91 -0
- package/esm/src/api/exchange/_methods/cSignerAction.js.map +1 -0
- package/esm/src/api/exchange/_methods/cValidatorAction.d.ts +626 -0
- package/esm/src/api/exchange/_methods/cValidatorAction.d.ts.map +1 -0
- package/esm/src/api/exchange/_methods/cValidatorAction.js +134 -0
- package/esm/src/api/exchange/_methods/cValidatorAction.js.map +1 -0
- package/esm/src/api/exchange/_methods/cWithdraw.d.ts +180 -0
- package/esm/src/api/exchange/_methods/cWithdraw.d.ts.map +1 -0
- package/esm/src/api/exchange/_methods/cWithdraw.js +89 -0
- package/esm/src/api/exchange/_methods/cWithdraw.js.map +1 -0
- package/esm/src/api/exchange/_methods/cancel.d.ts +217 -0
- package/esm/src/api/exchange/_methods/cancel.d.ts.map +1 -0
- package/esm/src/api/exchange/_methods/cancel.js +107 -0
- package/esm/src/api/exchange/_methods/cancel.js.map +1 -0
- package/esm/src/api/exchange/_methods/cancelByCloid.d.ts +221 -0
- package/esm/src/api/exchange/_methods/cancelByCloid.d.ts.map +1 -0
- package/esm/src/api/exchange/_methods/cancelByCloid.js +89 -0
- package/esm/src/api/exchange/_methods/cancelByCloid.js.map +1 -0
- package/esm/src/api/exchange/_methods/claimRewards.d.ts +101 -0
- package/esm/src/api/exchange/_methods/claimRewards.d.ts.map +1 -0
- package/esm/src/api/exchange/_methods/claimRewards.js +57 -0
- package/esm/src/api/exchange/_methods/claimRewards.js.map +1 -0
- package/esm/src/api/exchange/_methods/convertToMultiSigUser.d.ts +296 -0
- package/esm/src/api/exchange/_methods/convertToMultiSigUser.d.ts.map +1 -0
- package/esm/src/api/exchange/_methods/convertToMultiSigUser.js +128 -0
- package/esm/src/api/exchange/_methods/convertToMultiSigUser.js.map +1 -0
- package/esm/src/api/exchange/_methods/createSubAccount.d.ts +146 -0
- package/esm/src/api/exchange/_methods/createSubAccount.d.ts.map +1 -0
- package/esm/src/api/exchange/_methods/createSubAccount.js +82 -0
- package/esm/src/api/exchange/_methods/createSubAccount.js.map +1 -0
- package/esm/src/api/exchange/_methods/createVault.d.ts +190 -0
- package/esm/src/api/exchange/_methods/createVault.d.ts.map +1 -0
- package/esm/src/api/exchange/_methods/createVault.js +94 -0
- package/esm/src/api/exchange/_methods/createVault.js.map +1 -0
- package/esm/src/api/exchange/_methods/evmUserModify.d.ts +152 -0
- package/esm/src/api/exchange/_methods/evmUserModify.d.ts.map +1 -0
- package/esm/src/api/exchange/_methods/evmUserModify.js +77 -0
- package/esm/src/api/exchange/_methods/evmUserModify.js.map +1 -0
- package/esm/src/api/exchange/_methods/linkStakingUser.d.ts +217 -0
- package/esm/src/api/exchange/_methods/linkStakingUser.d.ts.map +1 -0
- package/esm/src/api/exchange/_methods/linkStakingUser.js +104 -0
- package/esm/src/api/exchange/_methods/linkStakingUser.js.map +1 -0
- package/esm/src/api/exchange/_methods/modify.d.ts +521 -0
- package/esm/src/api/exchange/_methods/modify.d.ts.map +1 -0
- package/esm/src/api/exchange/_methods/modify.js +138 -0
- package/esm/src/api/exchange/_methods/modify.js.map +1 -0
- package/esm/src/api/exchange/_methods/noop.d.ts +111 -0
- package/esm/src/api/exchange/_methods/noop.d.ts.map +1 -0
- package/esm/src/api/exchange/_methods/noop.js +67 -0
- package/esm/src/api/exchange/_methods/noop.js.map +1 -0
- package/esm/src/api/exchange/_methods/order.d.ts +685 -0
- package/esm/src/api/exchange/_methods/order.d.ts.map +1 -0
- package/esm/src/api/exchange/_methods/order.js +195 -0
- package/esm/src/api/exchange/_methods/order.js.map +1 -0
- package/esm/src/api/exchange/_methods/perpDeploy.d.ts +1457 -0
- package/esm/src/api/exchange/_methods/perpDeploy.d.ts.map +1 -0
- package/esm/src/api/exchange/_methods/perpDeploy.js +272 -0
- package/esm/src/api/exchange/_methods/perpDeploy.js.map +1 -0
- package/esm/src/api/exchange/_methods/registerReferrer.d.ts +144 -0
- package/esm/src/api/exchange/_methods/registerReferrer.d.ts.map +1 -0
- package/esm/src/api/exchange/_methods/registerReferrer.js +69 -0
- package/esm/src/api/exchange/_methods/registerReferrer.js.map +1 -0
- package/esm/src/api/exchange/_methods/reserveRequestWeight.d.ts +152 -0
- package/esm/src/api/exchange/_methods/reserveRequestWeight.d.ts.map +1 -0
- package/esm/src/api/exchange/_methods/reserveRequestWeight.js +78 -0
- package/esm/src/api/exchange/_methods/reserveRequestWeight.js.map +1 -0
- package/esm/src/api/exchange/_methods/scheduleCancel.d.ts +171 -0
- package/esm/src/api/exchange/_methods/scheduleCancel.d.ts.map +1 -0
- package/esm/src/api/exchange/_methods/scheduleCancel.js +59 -0
- package/esm/src/api/exchange/_methods/scheduleCancel.js.map +1 -0
- package/esm/src/api/exchange/_methods/sendAsset.d.ts +251 -0
- package/esm/src/api/exchange/_methods/sendAsset.d.ts.map +1 -0
- package/esm/src/api/exchange/_methods/sendAsset.js +110 -0
- package/esm/src/api/exchange/_methods/sendAsset.js.map +1 -0
- package/esm/src/api/exchange/_methods/setDisplayName.d.ts +153 -0
- package/esm/src/api/exchange/_methods/setDisplayName.d.ts.map +1 -0
- package/esm/src/api/exchange/_methods/setDisplayName.js +73 -0
- package/esm/src/api/exchange/_methods/setDisplayName.js.map +1 -0
- package/esm/src/api/exchange/_methods/setReferrer.d.ts +144 -0
- package/esm/src/api/exchange/_methods/setReferrer.d.ts.map +1 -0
- package/esm/src/api/exchange/_methods/setReferrer.js +69 -0
- package/esm/src/api/exchange/_methods/setReferrer.js.map +1 -0
- package/esm/src/api/exchange/_methods/spotDeploy.d.ts +939 -0
- package/esm/src/api/exchange/_methods/spotDeploy.d.ts.map +1 -0
- package/esm/src/api/exchange/_methods/spotDeploy.js +198 -0
- package/esm/src/api/exchange/_methods/spotDeploy.js.map +1 -0
- package/esm/src/api/exchange/_methods/spotSend.d.ts +210 -0
- package/esm/src/api/exchange/_methods/spotSend.d.ts.map +1 -0
- package/esm/src/api/exchange/_methods/spotSend.js +99 -0
- package/esm/src/api/exchange/_methods/spotSend.js.map +1 -0
- package/esm/src/api/exchange/_methods/spotUser.d.ts +173 -0
- package/esm/src/api/exchange/_methods/spotUser.d.ts.map +1 -0
- package/esm/src/api/exchange/_methods/spotUser.js +72 -0
- package/esm/src/api/exchange/_methods/spotUser.js.map +1 -0
- package/esm/src/api/exchange/_methods/subAccountModify.d.ts +157 -0
- package/esm/src/api/exchange/_methods/subAccountModify.d.ts.map +1 -0
- package/esm/src/api/exchange/_methods/subAccountModify.js +71 -0
- package/esm/src/api/exchange/_methods/subAccountModify.js.map +1 -0
- package/esm/src/api/exchange/_methods/subAccountSpotTransfer.d.ts +188 -0
- package/esm/src/api/exchange/_methods/subAccountSpotTransfer.d.ts.map +1 -0
- package/esm/src/api/exchange/_methods/subAccountSpotTransfer.js +80 -0
- package/esm/src/api/exchange/_methods/subAccountSpotTransfer.js.map +1 -0
- package/esm/src/api/exchange/_methods/subAccountTransfer.d.ts +170 -0
- package/esm/src/api/exchange/_methods/subAccountTransfer.d.ts.map +1 -0
- package/esm/src/api/exchange/_methods/subAccountTransfer.js +73 -0
- package/esm/src/api/exchange/_methods/subAccountTransfer.js.map +1 -0
- package/esm/src/api/exchange/_methods/tokenDelegate.d.ts +206 -0
- package/esm/src/api/exchange/_methods/tokenDelegate.d.ts.map +1 -0
- package/esm/src/api/exchange/_methods/tokenDelegate.js +95 -0
- package/esm/src/api/exchange/_methods/tokenDelegate.js.map +1 -0
- package/esm/src/api/exchange/_methods/twapCancel.d.ts +181 -0
- package/esm/src/api/exchange/_methods/twapCancel.d.ts.map +1 -0
- package/esm/src/api/exchange/_methods/twapCancel.js +100 -0
- package/esm/src/api/exchange/_methods/twapCancel.js.map +1 -0
- package/esm/src/api/exchange/_methods/twapOrder.d.ts +310 -0
- package/esm/src/api/exchange/_methods/twapOrder.d.ts.map +1 -0
- package/esm/src/api/exchange/_methods/twapOrder.js +126 -0
- package/esm/src/api/exchange/_methods/twapOrder.js.map +1 -0
- package/esm/src/api/exchange/_methods/updateIsolatedMargin.d.ts +181 -0
- package/esm/src/api/exchange/_methods/updateIsolatedMargin.d.ts.map +1 -0
- package/esm/src/api/exchange/_methods/updateIsolatedMargin.js +83 -0
- package/esm/src/api/exchange/_methods/updateIsolatedMargin.js.map +1 -0
- package/esm/src/api/exchange/_methods/updateLeverage.d.ts +181 -0
- package/esm/src/api/exchange/_methods/updateLeverage.d.ts.map +1 -0
- package/esm/src/api/exchange/_methods/updateLeverage.js +83 -0
- package/esm/src/api/exchange/_methods/updateLeverage.js.map +1 -0
- package/esm/src/api/exchange/_methods/usdClassTransfer.d.ts +193 -0
- package/esm/src/api/exchange/_methods/usdClassTransfer.d.ts.map +1 -0
- package/esm/src/api/exchange/_methods/usdClassTransfer.js +92 -0
- package/esm/src/api/exchange/_methods/usdClassTransfer.js.map +1 -0
- package/esm/src/api/exchange/_methods/usdSend.d.ts +193 -0
- package/esm/src/api/exchange/_methods/usdSend.d.ts.map +1 -0
- package/esm/src/api/exchange/_methods/usdSend.js +92 -0
- package/esm/src/api/exchange/_methods/usdSend.js.map +1 -0
- package/esm/src/api/exchange/_methods/userDexAbstraction.d.ts +193 -0
- package/esm/src/api/exchange/_methods/userDexAbstraction.d.ts.map +1 -0
- package/esm/src/api/exchange/_methods/userDexAbstraction.js +92 -0
- package/esm/src/api/exchange/_methods/userDexAbstraction.js.map +1 -0
- package/esm/src/api/exchange/_methods/validatorL1Stream.d.ts +152 -0
- package/esm/src/api/exchange/_methods/validatorL1Stream.d.ts.map +1 -0
- package/esm/src/api/exchange/_methods/validatorL1Stream.js +77 -0
- package/esm/src/api/exchange/_methods/validatorL1Stream.js.map +1 -0
- package/esm/src/api/exchange/_methods/vaultDistribute.d.ts +166 -0
- package/esm/src/api/exchange/_methods/vaultDistribute.d.ts.map +1 -0
- package/esm/src/api/exchange/_methods/vaultDistribute.js +75 -0
- package/esm/src/api/exchange/_methods/vaultDistribute.js.map +1 -0
- package/esm/src/api/exchange/_methods/vaultModify.d.ts +174 -0
- package/esm/src/api/exchange/_methods/vaultModify.d.ts.map +1 -0
- package/esm/src/api/exchange/_methods/vaultModify.js +77 -0
- package/esm/src/api/exchange/_methods/vaultModify.js.map +1 -0
- package/esm/src/api/exchange/_methods/vaultTransfer.d.ts +178 -0
- package/esm/src/api/exchange/_methods/vaultTransfer.d.ts.map +1 -0
- package/esm/src/api/exchange/_methods/vaultTransfer.js +81 -0
- package/esm/src/api/exchange/_methods/vaultTransfer.js.map +1 -0
- package/esm/src/api/exchange/_methods/withdraw3.d.ts +193 -0
- package/esm/src/api/exchange/_methods/withdraw3.d.ts.map +1 -0
- package/esm/src/api/exchange/_methods/withdraw3.js +92 -0
- package/esm/src/api/exchange/_methods/withdraw3.js.map +1 -0
- package/esm/src/api/exchange/client.d.ts +238 -0
- package/esm/src/api/exchange/client.d.ts.map +1 -0
- package/esm/src/api/exchange/client.js +290 -0
- package/esm/src/api/exchange/client.js.map +1 -0
- package/esm/src/api/exchange/mod.d.ts +86 -0
- package/esm/src/api/exchange/mod.d.ts.map +1 -0
- package/esm/src/api/exchange/mod.js +85 -0
- package/esm/src/api/exchange/mod.js.map +1 -0
- package/esm/src/api/info/_methods/_base/commonSchemas.d.ts +343 -0
- package/esm/src/api/info/_methods/_base/commonSchemas.d.ts.map +1 -0
- package/esm/src/api/info/_methods/_base/commonSchemas.js +341 -0
- package/esm/src/api/info/_methods/_base/commonSchemas.js.map +1 -0
- package/esm/src/api/info/_methods/_base/types.d.ts +7 -0
- package/esm/src/api/info/_methods/_base/types.d.ts.map +1 -0
- package/esm/src/api/info/_methods/_base/types.js +2 -0
- package/esm/src/api/info/_methods/_base/types.js.map +1 -0
- package/esm/src/api/info/_methods/activeAssetData.d.ts +102 -0
- package/esm/src/api/info/_methods/activeAssetData.d.ts.map +1 -0
- package/esm/src/api/info/_methods/activeAssetData.js +89 -0
- package/esm/src/api/info/_methods/activeAssetData.js.map +1 -0
- package/esm/src/api/info/_methods/alignedQuoteTokenInfo.d.ts +66 -0
- package/esm/src/api/info/_methods/alignedQuoteTokenInfo.d.ts.map +1 -0
- package/esm/src/api/info/_methods/alignedQuoteTokenInfo.js +69 -0
- package/esm/src/api/info/_methods/alignedQuoteTokenInfo.js.map +1 -0
- package/esm/src/api/info/_methods/allBorrowLendReserveStates.d.ts +84 -0
- package/esm/src/api/info/_methods/allBorrowLendReserveStates.d.ts.map +1 -0
- package/esm/src/api/info/_methods/allBorrowLendReserveStates.js +73 -0
- package/esm/src/api/info/_methods/allBorrowLendReserveStates.js.map +1 -0
- package/esm/src/api/info/_methods/allMids.d.ts +53 -0
- package/esm/src/api/info/_methods/allMids.d.ts.map +1 -0
- package/esm/src/api/info/_methods/allMids.js +34 -0
- package/esm/src/api/info/_methods/allMids.js.map +1 -0
- package/esm/src/api/info/_methods/allPerpMetas.d.ts +125 -0
- package/esm/src/api/info/_methods/allPerpMetas.d.ts.map +1 -0
- package/esm/src/api/info/_methods/allPerpMetas.js +48 -0
- package/esm/src/api/info/_methods/allPerpMetas.js.map +1 -0
- package/esm/src/api/info/_methods/blockDetails.d.ts +140 -0
- package/esm/src/api/info/_methods/blockDetails.d.ts.map +1 -0
- package/esm/src/api/info/_methods/blockDetails.js +73 -0
- package/esm/src/api/info/_methods/blockDetails.js.map +1 -0
- package/esm/src/api/info/_methods/borrowLendUserState.d.ts +123 -0
- package/esm/src/api/info/_methods/borrowLendUserState.d.ts.map +1 -0
- package/esm/src/api/info/_methods/borrowLendUserState.js +84 -0
- package/esm/src/api/info/_methods/borrowLendUserState.js.map +1 -0
- package/esm/src/api/info/_methods/candleSnapshot.d.ts +104 -0
- package/esm/src/api/info/_methods/candleSnapshot.d.ts.map +1 -0
- package/esm/src/api/info/_methods/candleSnapshot.js +89 -0
- package/esm/src/api/info/_methods/candleSnapshot.js.map +1 -0
- package/esm/src/api/info/_methods/clearinghouseState.d.ts +247 -0
- package/esm/src/api/info/_methods/clearinghouseState.d.ts.map +1 -0
- package/esm/src/api/info/_methods/clearinghouseState.js +142 -0
- package/esm/src/api/info/_methods/clearinghouseState.js.map +1 -0
- package/esm/src/api/info/_methods/delegations.d.ts +64 -0
- package/esm/src/api/info/_methods/delegations.d.ts.map +1 -0
- package/esm/src/api/info/_methods/delegations.js +66 -0
- package/esm/src/api/info/_methods/delegations.js.map +1 -0
- package/esm/src/api/info/_methods/delegatorHistory.d.ts +127 -0
- package/esm/src/api/info/_methods/delegatorHistory.d.ts.map +1 -0
- package/esm/src/api/info/_methods/delegatorHistory.js +94 -0
- package/esm/src/api/info/_methods/delegatorHistory.js.map +1 -0
- package/esm/src/api/info/_methods/delegatorRewards.d.ts +64 -0
- package/esm/src/api/info/_methods/delegatorRewards.d.ts.map +1 -0
- package/esm/src/api/info/_methods/delegatorRewards.js +66 -0
- package/esm/src/api/info/_methods/delegatorRewards.js.map +1 -0
- package/esm/src/api/info/_methods/delegatorSummary.d.ts +67 -0
- package/esm/src/api/info/_methods/delegatorSummary.d.ts.map +1 -0
- package/esm/src/api/info/_methods/delegatorSummary.js +68 -0
- package/esm/src/api/info/_methods/delegatorSummary.js.map +1 -0
- package/esm/src/api/info/_methods/exchangeStatus.d.ts +48 -0
- package/esm/src/api/info/_methods/exchangeStatus.d.ts.map +1 -0
- package/esm/src/api/info/_methods/exchangeStatus.js +53 -0
- package/esm/src/api/info/_methods/exchangeStatus.js.map +1 -0
- package/esm/src/api/info/_methods/extraAgents.d.ts +60 -0
- package/esm/src/api/info/_methods/extraAgents.d.ts.map +1 -0
- package/esm/src/api/info/_methods/extraAgents.js +62 -0
- package/esm/src/api/info/_methods/extraAgents.js.map +1 -0
- package/esm/src/api/info/_methods/frontendOpenOrders.d.ts +107 -0
- package/esm/src/api/info/_methods/frontendOpenOrders.d.ts.map +1 -0
- package/esm/src/api/info/_methods/frontendOpenOrders.js +62 -0
- package/esm/src/api/info/_methods/frontendOpenOrders.js.map +1 -0
- package/esm/src/api/info/_methods/fundingHistory.d.ts +73 -0
- package/esm/src/api/info/_methods/fundingHistory.d.ts.map +1 -0
- package/esm/src/api/info/_methods/fundingHistory.js +72 -0
- package/esm/src/api/info/_methods/fundingHistory.js.map +1 -0
- package/esm/src/api/info/_methods/gossipRootIps.d.ts +40 -0
- package/esm/src/api/info/_methods/gossipRootIps.d.ts.map +1 -0
- package/esm/src/api/info/_methods/gossipRootIps.js +47 -0
- package/esm/src/api/info/_methods/gossipRootIps.js.map +1 -0
- package/esm/src/api/info/_methods/historicalOrders.d.ts +163 -0
- package/esm/src/api/info/_methods/historicalOrders.d.ts.map +1 -0
- package/esm/src/api/info/_methods/historicalOrders.js +127 -0
- package/esm/src/api/info/_methods/historicalOrders.js.map +1 -0
- package/esm/src/api/info/_methods/isVip.d.ts +49 -0
- package/esm/src/api/info/_methods/isVip.d.ts.map +1 -0
- package/esm/src/api/info/_methods/isVip.js +55 -0
- package/esm/src/api/info/_methods/isVip.js.map +1 -0
- package/esm/src/api/info/_methods/l2Book.d.ts +108 -0
- package/esm/src/api/info/_methods/l2Book.d.ts.map +1 -0
- package/esm/src/api/info/_methods/l2Book.js +80 -0
- package/esm/src/api/info/_methods/l2Book.js.map +1 -0
- package/esm/src/api/info/_methods/l3Orders.d.ts +183 -0
- package/esm/src/api/info/_methods/l3Orders.d.ts.map +1 -0
- package/esm/src/api/info/_methods/l3Orders.js +105 -0
- package/esm/src/api/info/_methods/l3Orders.js.map +1 -0
- package/esm/src/api/info/_methods/l4Orders.d.ts +219 -0
- package/esm/src/api/info/_methods/l4Orders.d.ts.map +1 -0
- package/esm/src/api/info/_methods/l4Orders.js +124 -0
- package/esm/src/api/info/_methods/l4Orders.js.map +1 -0
- package/esm/src/api/info/_methods/leadingVaults.d.ts +57 -0
- package/esm/src/api/info/_methods/leadingVaults.d.ts.map +1 -0
- package/esm/src/api/info/_methods/leadingVaults.js +60 -0
- package/esm/src/api/info/_methods/leadingVaults.js.map +1 -0
- package/esm/src/api/info/_methods/legalCheck.d.ts +60 -0
- package/esm/src/api/info/_methods/legalCheck.d.ts.map +1 -0
- package/esm/src/api/info/_methods/legalCheck.js +62 -0
- package/esm/src/api/info/_methods/legalCheck.js.map +1 -0
- package/esm/src/api/info/_methods/liquidatable.d.ts +40 -0
- package/esm/src/api/info/_methods/liquidatable.d.ts.map +1 -0
- package/esm/src/api/info/_methods/liquidatable.js +47 -0
- package/esm/src/api/info/_methods/liquidatable.js.map +1 -0
- package/esm/src/api/info/_methods/marginTable.d.ts +68 -0
- package/esm/src/api/info/_methods/marginTable.d.ts.map +1 -0
- package/esm/src/api/info/_methods/marginTable.js +65 -0
- package/esm/src/api/info/_methods/marginTable.js.map +1 -0
- package/esm/src/api/info/_methods/maxBuilderFee.d.ts +56 -0
- package/esm/src/api/info/_methods/maxBuilderFee.d.ts.map +1 -0
- package/esm/src/api/info/_methods/maxBuilderFee.js +61 -0
- package/esm/src/api/info/_methods/maxBuilderFee.js.map +1 -0
- package/esm/src/api/info/_methods/maxMarketOrderNtls.d.ts +40 -0
- package/esm/src/api/info/_methods/maxMarketOrderNtls.d.ts.map +1 -0
- package/esm/src/api/info/_methods/maxMarketOrderNtls.js +48 -0
- package/esm/src/api/info/_methods/maxMarketOrderNtls.js.map +1 -0
- package/esm/src/api/info/_methods/meta.d.ts +128 -0
- package/esm/src/api/info/_methods/meta.d.ts.map +1 -0
- package/esm/src/api/info/_methods/meta.js +64 -0
- package/esm/src/api/info/_methods/meta.js.map +1 -0
- package/esm/src/api/info/_methods/metaAndAssetCtxs.d.ts +168 -0
- package/esm/src/api/info/_methods/metaAndAssetCtxs.d.ts.map +1 -0
- package/esm/src/api/info/_methods/metaAndAssetCtxs.js +38 -0
- package/esm/src/api/info/_methods/metaAndAssetCtxs.js.map +1 -0
- package/esm/src/api/info/_methods/openOrders.d.ts +86 -0
- package/esm/src/api/info/_methods/openOrders.d.ts.map +1 -0
- package/esm/src/api/info/_methods/openOrders.js +62 -0
- package/esm/src/api/info/_methods/openOrders.js.map +1 -0
- package/esm/src/api/info/_methods/orderStatus.d.ts +202 -0
- package/esm/src/api/info/_methods/orderStatus.d.ts.map +1 -0
- package/esm/src/api/info/_methods/orderStatus.js +144 -0
- package/esm/src/api/info/_methods/orderStatus.js.map +1 -0
- package/esm/src/api/info/_methods/perpDeployAuctionStatus.d.ts +61 -0
- package/esm/src/api/info/_methods/perpDeployAuctionStatus.d.ts.map +1 -0
- package/esm/src/api/info/_methods/perpDeployAuctionStatus.js +63 -0
- package/esm/src/api/info/_methods/perpDeployAuctionStatus.js.map +1 -0
- package/esm/src/api/info/_methods/perpDexLimits.d.ts +67 -0
- package/esm/src/api/info/_methods/perpDexLimits.d.ts.map +1 -0
- package/esm/src/api/info/_methods/perpDexLimits.js +68 -0
- package/esm/src/api/info/_methods/perpDexLimits.js.map +1 -0
- package/esm/src/api/info/_methods/perpDexStatus.d.ts +55 -0
- package/esm/src/api/info/_methods/perpDexStatus.d.ts.map +1 -0
- package/esm/src/api/info/_methods/perpDexStatus.js +59 -0
- package/esm/src/api/info/_methods/perpDexStatus.js.map +1 -0
- package/esm/src/api/info/_methods/perpDexs.d.ts +87 -0
- package/esm/src/api/info/_methods/perpDexs.d.ts.map +1 -0
- package/esm/src/api/info/_methods/perpDexs.js +78 -0
- package/esm/src/api/info/_methods/perpDexs.js.map +1 -0
- package/esm/src/api/info/_methods/perpsAtOpenInterestCap.d.ts +51 -0
- package/esm/src/api/info/_methods/perpsAtOpenInterestCap.d.ts.map +1 -0
- package/esm/src/api/info/_methods/perpsAtOpenInterestCap.js +33 -0
- package/esm/src/api/info/_methods/perpsAtOpenInterestCap.js.map +1 -0
- package/esm/src/api/info/_methods/portfolio.d.ts +173 -0
- package/esm/src/api/info/_methods/portfolio.d.ts.map +1 -0
- package/esm/src/api/info/_methods/portfolio.js +79 -0
- package/esm/src/api/info/_methods/portfolio.js.map +1 -0
- package/esm/src/api/info/_methods/preTransferCheck.d.ts +66 -0
- package/esm/src/api/info/_methods/preTransferCheck.d.ts.map +1 -0
- package/esm/src/api/info/_methods/preTransferCheck.js +66 -0
- package/esm/src/api/info/_methods/preTransferCheck.js.map +1 -0
- package/esm/src/api/info/_methods/predictedFundings.d.ts +55 -0
- package/esm/src/api/info/_methods/predictedFundings.d.ts.map +1 -0
- package/esm/src/api/info/_methods/predictedFundings.js +69 -0
- package/esm/src/api/info/_methods/predictedFundings.js.map +1 -0
- package/esm/src/api/info/_methods/recentTrades.d.ts +75 -0
- package/esm/src/api/info/_methods/recentTrades.d.ts.map +1 -0
- package/esm/src/api/info/_methods/recentTrades.js +72 -0
- package/esm/src/api/info/_methods/recentTrades.js.map +1 -0
- package/esm/src/api/info/_methods/referral.d.ts +253 -0
- package/esm/src/api/info/_methods/referral.d.ts.map +1 -0
- package/esm/src/api/info/_methods/referral.js +152 -0
- package/esm/src/api/info/_methods/referral.js.map +1 -0
- package/esm/src/api/info/_methods/spotClearinghouseState.d.ts +102 -0
- package/esm/src/api/info/_methods/spotClearinghouseState.d.ts.map +1 -0
- package/esm/src/api/info/_methods/spotClearinghouseState.js +84 -0
- package/esm/src/api/info/_methods/spotClearinghouseState.js.map +1 -0
- package/esm/src/api/info/_methods/spotDeployState.d.ts +157 -0
- package/esm/src/api/info/_methods/spotDeployState.d.ts.map +1 -0
- package/esm/src/api/info/_methods/spotDeployState.js +95 -0
- package/esm/src/api/info/_methods/spotDeployState.js.map +1 -0
- package/esm/src/api/info/_methods/spotMeta.d.ts +124 -0
- package/esm/src/api/info/_methods/spotMeta.d.ts.map +1 -0
- package/esm/src/api/info/_methods/spotMeta.js +90 -0
- package/esm/src/api/info/_methods/spotMeta.js.map +1 -0
- package/esm/src/api/info/_methods/spotMetaAndAssetCtxs.d.ts +155 -0
- package/esm/src/api/info/_methods/spotMetaAndAssetCtxs.d.ts.map +1 -0
- package/esm/src/api/info/_methods/spotMetaAndAssetCtxs.js +56 -0
- package/esm/src/api/info/_methods/spotMetaAndAssetCtxs.js.map +1 -0
- package/esm/src/api/info/_methods/spotPairDeployAuctionStatus.d.ts +62 -0
- package/esm/src/api/info/_methods/spotPairDeployAuctionStatus.d.ts.map +1 -0
- package/esm/src/api/info/_methods/spotPairDeployAuctionStatus.js +52 -0
- package/esm/src/api/info/_methods/spotPairDeployAuctionStatus.js.map +1 -0
- package/esm/src/api/info/_methods/subAccounts.d.ts +374 -0
- package/esm/src/api/info/_methods/subAccounts.d.ts.map +1 -0
- package/esm/src/api/info/_methods/subAccounts.js +72 -0
- package/esm/src/api/info/_methods/subAccounts.js.map +1 -0
- package/esm/src/api/info/_methods/subAccounts2.d.ts +414 -0
- package/esm/src/api/info/_methods/subAccounts2.d.ts.map +1 -0
- package/esm/src/api/info/_methods/subAccounts2.js +69 -0
- package/esm/src/api/info/_methods/subAccounts2.js.map +1 -0
- package/esm/src/api/info/_methods/tokenDetails.d.ts +118 -0
- package/esm/src/api/info/_methods/tokenDetails.d.ts.map +1 -0
- package/esm/src/api/info/_methods/tokenDetails.js +99 -0
- package/esm/src/api/info/_methods/tokenDetails.js.map +1 -0
- package/esm/src/api/info/_methods/twapHistory.d.ts +131 -0
- package/esm/src/api/info/_methods/twapHistory.d.ts.map +1 -0
- package/esm/src/api/info/_methods/twapHistory.js +86 -0
- package/esm/src/api/info/_methods/twapHistory.js.map +1 -0
- package/esm/src/api/info/_methods/txDetails.d.ts +102 -0
- package/esm/src/api/info/_methods/txDetails.d.ts.map +1 -0
- package/esm/src/api/info/_methods/txDetails.js +60 -0
- package/esm/src/api/info/_methods/txDetails.js.map +1 -0
- package/esm/src/api/info/_methods/userDetails.d.ts +102 -0
- package/esm/src/api/info/_methods/userDetails.d.ts.map +1 -0
- package/esm/src/api/info/_methods/userDetails.js +60 -0
- package/esm/src/api/info/_methods/userDetails.js.map +1 -0
- package/esm/src/api/info/_methods/userDexAbstraction.d.ts +53 -0
- package/esm/src/api/info/_methods/userDexAbstraction.d.ts.map +1 -0
- package/esm/src/api/info/_methods/userDexAbstraction.js +59 -0
- package/esm/src/api/info/_methods/userDexAbstraction.js.map +1 -0
- package/esm/src/api/info/_methods/userFees.d.ts +256 -0
- package/esm/src/api/info/_methods/userFees.d.ts.map +1 -0
- package/esm/src/api/info/_methods/userFees.js +164 -0
- package/esm/src/api/info/_methods/userFees.js.map +1 -0
- package/esm/src/api/info/_methods/userFills.d.ts +127 -0
- package/esm/src/api/info/_methods/userFills.d.ts.map +1 -0
- package/esm/src/api/info/_methods/userFills.js +77 -0
- package/esm/src/api/info/_methods/userFills.js.map +1 -0
- package/esm/src/api/info/_methods/userFillsByTime.d.ts +151 -0
- package/esm/src/api/info/_methods/userFillsByTime.d.ts.map +1 -0
- package/esm/src/api/info/_methods/userFillsByTime.js +66 -0
- package/esm/src/api/info/_methods/userFillsByTime.js.map +1 -0
- package/esm/src/api/info/_methods/userFunding.d.ts +97 -0
- package/esm/src/api/info/_methods/userFunding.d.ts.map +1 -0
- package/esm/src/api/info/_methods/userFunding.js +83 -0
- package/esm/src/api/info/_methods/userFunding.js.map +1 -0
- package/esm/src/api/info/_methods/userNonFundingLedgerUpdates.d.ts +421 -0
- package/esm/src/api/info/_methods/userNonFundingLedgerUpdates.d.ts.map +1 -0
- package/esm/src/api/info/_methods/userNonFundingLedgerUpdates.js +267 -0
- package/esm/src/api/info/_methods/userNonFundingLedgerUpdates.js.map +1 -0
- package/esm/src/api/info/_methods/userRateLimit.d.ts +67 -0
- package/esm/src/api/info/_methods/userRateLimit.d.ts.map +1 -0
- package/esm/src/api/info/_methods/userRateLimit.js +68 -0
- package/esm/src/api/info/_methods/userRateLimit.js.map +1 -0
- package/esm/src/api/info/_methods/userRole.d.ts +88 -0
- package/esm/src/api/info/_methods/userRole.d.ts.map +1 -0
- package/esm/src/api/info/_methods/userRole.js +82 -0
- package/esm/src/api/info/_methods/userRole.js.map +1 -0
- package/esm/src/api/info/_methods/userToMultiSigSigners.d.ts +57 -0
- package/esm/src/api/info/_methods/userToMultiSigSigners.d.ts.map +1 -0
- package/esm/src/api/info/_methods/userToMultiSigSigners.js +60 -0
- package/esm/src/api/info/_methods/userToMultiSigSigners.js.map +1 -0
- package/esm/src/api/info/_methods/userTwapSliceFills.d.ts +125 -0
- package/esm/src/api/info/_methods/userTwapSliceFills.d.ts.map +1 -0
- package/esm/src/api/info/_methods/userTwapSliceFills.js +65 -0
- package/esm/src/api/info/_methods/userTwapSliceFills.js.map +1 -0
- package/esm/src/api/info/_methods/userTwapSliceFillsByTime.d.ts +148 -0
- package/esm/src/api/info/_methods/userTwapSliceFillsByTime.d.ts.map +1 -0
- package/esm/src/api/info/_methods/userTwapSliceFillsByTime.js +63 -0
- package/esm/src/api/info/_methods/userTwapSliceFillsByTime.js.map +1 -0
- package/esm/src/api/info/_methods/userVaultEquities.d.ts +64 -0
- package/esm/src/api/info/_methods/userVaultEquities.d.ts.map +1 -0
- package/esm/src/api/info/_methods/userVaultEquities.js +66 -0
- package/esm/src/api/info/_methods/userVaultEquities.js.map +1 -0
- package/esm/src/api/info/_methods/validatorL1Votes.d.ts +63 -0
- package/esm/src/api/info/_methods/validatorL1Votes.d.ts.map +1 -0
- package/esm/src/api/info/_methods/validatorL1Votes.js +64 -0
- package/esm/src/api/info/_methods/validatorL1Votes.js.map +1 -0
- package/esm/src/api/info/_methods/validatorSummaries.d.ts +132 -0
- package/esm/src/api/info/_methods/validatorSummaries.d.ts.map +1 -0
- package/esm/src/api/info/_methods/validatorSummaries.js +86 -0
- package/esm/src/api/info/_methods/validatorSummaries.js.map +1 -0
- package/esm/src/api/info/_methods/vaultDetails.d.ts +358 -0
- package/esm/src/api/info/_methods/vaultDetails.d.ts.map +1 -0
- package/esm/src/api/info/_methods/vaultDetails.js +126 -0
- package/esm/src/api/info/_methods/vaultDetails.js.map +1 -0
- package/esm/src/api/info/_methods/vaultSummaries.d.ts +93 -0
- package/esm/src/api/info/_methods/vaultSummaries.d.ts.map +1 -0
- package/esm/src/api/info/_methods/vaultSummaries.js +64 -0
- package/esm/src/api/info/_methods/vaultSummaries.js.map +1 -0
- package/esm/src/api/info/_methods/webData2.d.ts +732 -0
- package/esm/src/api/info/_methods/webData2.d.ts.map +1 -0
- package/esm/src/api/info/_methods/webData2.js +97 -0
- package/esm/src/api/info/_methods/webData2.js.map +1 -0
- package/esm/src/api/info/client.d.ts +314 -0
- package/esm/src/api/info/client.d.ts.map +1 -0
- package/esm/src/api/info/client.js +391 -0
- package/esm/src/api/info/client.js.map +1 -0
- package/esm/src/api/info/mod.d.ts +96 -0
- package/esm/src/api/info/mod.d.ts.map +1 -0
- package/esm/src/api/info/mod.js +95 -0
- package/esm/src/api/info/mod.js.map +1 -0
- package/esm/src/api/subscription/_methods/_types.d.ts +7 -0
- package/esm/src/api/subscription/_methods/_types.d.ts.map +1 -0
- package/esm/src/api/subscription/_methods/_types.js.map +1 -0
- package/esm/src/api/subscription/_methods/activeAssetCtx.d.ts +101 -0
- package/esm/src/api/subscription/_methods/activeAssetCtx.d.ts.map +1 -0
- package/esm/src/api/subscription/_methods/activeAssetCtx.js +60 -0
- package/esm/src/api/subscription/_methods/activeAssetCtx.js.map +1 -0
- package/esm/src/api/subscription/_methods/activeAssetData.d.ts +101 -0
- package/esm/src/api/subscription/_methods/activeAssetData.d.ts.map +1 -0
- package/esm/src/api/subscription/_methods/activeAssetData.js +58 -0
- package/esm/src/api/subscription/_methods/activeAssetData.js.map +1 -0
- package/esm/src/api/subscription/_methods/activeSpotAssetCtx.d.ts +92 -0
- package/esm/src/api/subscription/_methods/activeSpotAssetCtx.d.ts.map +1 -0
- package/esm/src/api/subscription/_methods/activeSpotAssetCtx.js +59 -0
- package/esm/src/api/subscription/_methods/activeSpotAssetCtx.js.map +1 -0
- package/esm/src/api/subscription/_methods/allDexsAssetCtxs.d.ts +91 -0
- package/esm/src/api/subscription/_methods/allDexsAssetCtxs.d.ts.map +1 -0
- package/esm/src/api/subscription/_methods/allDexsAssetCtxs.js +57 -0
- package/esm/src/api/subscription/_methods/allDexsAssetCtxs.js.map +1 -0
- package/esm/src/api/subscription/_methods/allDexsClearinghouseState.d.ts +299 -0
- package/esm/src/api/subscription/_methods/allDexsClearinghouseState.d.ts.map +1 -0
- package/esm/src/api/subscription/_methods/allDexsClearinghouseState.js +67 -0
- package/esm/src/api/subscription/_methods/allDexsClearinghouseState.js.map +1 -0
- package/esm/src/api/subscription/_methods/allMids.d.ts +63 -0
- package/esm/src/api/subscription/_methods/allMids.d.ts.map +1 -0
- package/esm/src/api/subscription/_methods/allMids.js +38 -0
- package/esm/src/api/subscription/_methods/allMids.js.map +1 -0
- package/esm/src/api/subscription/_methods/assetCtxs.d.ts +99 -0
- package/esm/src/api/subscription/_methods/assetCtxs.d.ts.map +1 -0
- package/esm/src/api/subscription/_methods/assetCtxs.js +38 -0
- package/esm/src/api/subscription/_methods/assetCtxs.js.map +1 -0
- package/esm/src/api/subscription/_methods/bbo.d.ts +98 -0
- package/esm/src/api/subscription/_methods/bbo.d.ts.map +1 -0
- package/esm/src/api/subscription/_methods/bbo.js +72 -0
- package/esm/src/api/subscription/_methods/bbo.js.map +1 -0
- package/esm/src/api/subscription/_methods/candle.d.ts +84 -0
- package/esm/src/api/subscription/_methods/candle.d.ts.map +1 -0
- package/esm/src/api/subscription/_methods/candle.js +78 -0
- package/esm/src/api/subscription/_methods/candle.js.map +1 -0
- package/esm/src/api/subscription/_methods/clearinghouseState.d.ts +303 -0
- package/esm/src/api/subscription/_methods/clearinghouseState.d.ts.map +1 -0
- package/esm/src/api/subscription/_methods/clearinghouseState.js +67 -0
- package/esm/src/api/subscription/_methods/clearinghouseState.js.map +1 -0
- package/esm/src/api/subscription/_methods/explorerBlock.d.ts +57 -0
- package/esm/src/api/subscription/_methods/explorerBlock.d.ts.map +1 -0
- package/esm/src/api/subscription/_methods/explorerBlock.js +58 -0
- package/esm/src/api/subscription/_methods/explorerBlock.js.map +1 -0
- package/esm/src/api/subscription/_methods/explorerTxs.d.ts +74 -0
- package/esm/src/api/subscription/_methods/explorerTxs.d.ts.map +1 -0
- package/esm/src/api/subscription/_methods/explorerTxs.js +46 -0
- package/esm/src/api/subscription/_methods/explorerTxs.js.map +1 -0
- package/esm/src/api/subscription/_methods/l2Book.d.ts +106 -0
- package/esm/src/api/subscription/_methods/l2Book.d.ts.map +1 -0
- package/esm/src/api/subscription/_methods/l2Book.js +83 -0
- package/esm/src/api/subscription/_methods/l2Book.js.map +1 -0
- package/esm/src/api/subscription/_methods/notification.d.ts +54 -0
- package/esm/src/api/subscription/_methods/notification.d.ts.map +1 -0
- package/esm/src/api/subscription/_methods/notification.js +56 -0
- package/esm/src/api/subscription/_methods/notification.js.map +1 -0
- package/esm/src/api/subscription/_methods/openOrders.d.ts +148 -0
- package/esm/src/api/subscription/_methods/openOrders.d.ts.map +1 -0
- package/esm/src/api/subscription/_methods/openOrders.js +69 -0
- package/esm/src/api/subscription/_methods/openOrders.js.map +1 -0
- package/esm/src/api/subscription/_methods/orderUpdates.d.ts +131 -0
- package/esm/src/api/subscription/_methods/orderUpdates.d.ts.map +1 -0
- package/esm/src/api/subscription/_methods/orderUpdates.js +121 -0
- package/esm/src/api/subscription/_methods/orderUpdates.js.map +1 -0
- package/esm/src/api/subscription/_methods/spotAssetCtxs.d.ts +70 -0
- package/esm/src/api/subscription/_methods/spotAssetCtxs.d.ts.map +1 -0
- package/esm/src/api/subscription/_methods/spotAssetCtxs.js +50 -0
- package/esm/src/api/subscription/_methods/spotAssetCtxs.js.map +1 -0
- package/esm/src/api/subscription/_methods/spotState.d.ts +122 -0
- package/esm/src/api/subscription/_methods/spotState.d.ts.map +1 -0
- package/esm/src/api/subscription/_methods/spotState.js +63 -0
- package/esm/src/api/subscription/_methods/spotState.js.map +1 -0
- package/esm/src/api/subscription/_methods/trades.d.ts +76 -0
- package/esm/src/api/subscription/_methods/trades.d.ts.map +1 -0
- package/esm/src/api/subscription/_methods/trades.js +55 -0
- package/esm/src/api/subscription/_methods/trades.js.map +1 -0
- package/esm/src/api/subscription/_methods/twapStates.d.ts +102 -0
- package/esm/src/api/subscription/_methods/twapStates.d.ts.map +1 -0
- package/esm/src/api/subscription/_methods/twapStates.js +64 -0
- package/esm/src/api/subscription/_methods/twapStates.js.map +1 -0
- package/esm/src/api/subscription/_methods/userEvents.d.ts +467 -0
- package/esm/src/api/subscription/_methods/userEvents.d.ts.map +1 -0
- package/esm/src/api/subscription/_methods/userEvents.js +116 -0
- package/esm/src/api/subscription/_methods/userEvents.js.map +1 -0
- package/esm/src/api/subscription/_methods/userFills.d.ts +175 -0
- package/esm/src/api/subscription/_methods/userFills.d.ts.map +1 -0
- package/esm/src/api/subscription/_methods/userFills.js +69 -0
- package/esm/src/api/subscription/_methods/userFills.js.map +1 -0
- package/esm/src/api/subscription/_methods/userFundings.d.ts +87 -0
- package/esm/src/api/subscription/_methods/userFundings.d.ts.map +1 -0
- package/esm/src/api/subscription/_methods/userFundings.js +75 -0
- package/esm/src/api/subscription/_methods/userFundings.js.map +1 -0
- package/esm/src/api/subscription/_methods/userHistoricalOrders.d.ts +178 -0
- package/esm/src/api/subscription/_methods/userHistoricalOrders.d.ts.map +1 -0
- package/esm/src/api/subscription/_methods/userHistoricalOrders.js +63 -0
- package/esm/src/api/subscription/_methods/userHistoricalOrders.js.map +1 -0
- package/esm/src/api/subscription/_methods/userNonFundingLedgerUpdates.d.ts +534 -0
- package/esm/src/api/subscription/_methods/userNonFundingLedgerUpdates.d.ts.map +1 -0
- package/esm/src/api/subscription/_methods/userNonFundingLedgerUpdates.js +63 -0
- package/esm/src/api/subscription/_methods/userNonFundingLedgerUpdates.js.map +1 -0
- package/esm/src/api/subscription/_methods/userTwapHistory.d.ts +171 -0
- package/esm/src/api/subscription/_methods/userTwapHistory.d.ts.map +1 -0
- package/esm/src/api/subscription/_methods/userTwapHistory.js +63 -0
- package/esm/src/api/subscription/_methods/userTwapHistory.js.map +1 -0
- package/esm/src/api/subscription/_methods/userTwapSliceFills.d.ts +168 -0
- package/esm/src/api/subscription/_methods/userTwapSliceFills.d.ts.map +1 -0
- package/esm/src/api/subscription/_methods/userTwapSliceFills.js +63 -0
- package/esm/src/api/subscription/_methods/userTwapSliceFills.js.map +1 -0
- package/esm/src/api/subscription/_methods/webData2.d.ts +860 -0
- package/esm/src/api/subscription/_methods/webData2.d.ts.map +1 -0
- package/esm/src/api/subscription/_methods/webData2.js +56 -0
- package/esm/src/api/subscription/_methods/webData2.js.map +1 -0
- package/esm/src/api/subscription/_methods/webData3.d.ts +126 -0
- package/esm/src/api/subscription/_methods/webData3.d.ts.map +1 -0
- package/esm/src/api/subscription/_methods/webData3.js +88 -0
- package/esm/src/api/subscription/_methods/webData3.js.map +1 -0
- package/esm/src/api/subscription/client.d.ts +145 -0
- package/esm/src/api/subscription/client.d.ts.map +1 -0
- package/esm/src/api/subscription/client.js +179 -0
- package/esm/src/api/subscription/client.js.map +1 -0
- package/esm/src/api/subscription/mod.d.ts +55 -0
- package/esm/src/api/subscription/mod.d.ts.map +1 -0
- package/esm/src/api/subscription/mod.js +54 -0
- package/esm/src/api/subscription/mod.js.map +1 -0
- package/esm/src/mod.d.ts +34 -8
- package/esm/src/mod.d.ts.map +1 -1
- package/esm/src/mod.js +34 -8
- package/esm/src/mod.js.map +1 -1
- package/esm/src/signing/_abstractWallet.d.ts +119 -0
- package/esm/src/signing/_abstractWallet.d.ts.map +1 -0
- package/esm/src/signing/_abstractWallet.js +155 -0
- package/esm/src/signing/_abstractWallet.js.map +1 -0
- package/esm/src/signing/_privateKeySigner.d.ts +37 -0
- package/esm/src/signing/_privateKeySigner.d.ts.map +1 -0
- package/esm/src/signing/_privateKeySigner.js +33 -0
- package/esm/src/signing/_privateKeySigner.js.map +1 -0
- package/esm/src/signing/mod.d.ts +33 -80
- package/esm/src/signing/mod.d.ts.map +1 -1
- package/esm/src/signing/mod.js +67 -109
- package/esm/src/signing/mod.js.map +1 -1
- package/esm/src/transport/_base.d.ts +51 -0
- package/esm/src/transport/_base.d.ts.map +1 -0
- package/esm/src/transport/_base.js +9 -0
- package/esm/src/transport/_base.js.map +1 -0
- package/esm/src/transport/_polyfills.d.ts +30 -3
- package/esm/src/transport/_polyfills.d.ts.map +1 -1
- package/esm/src/transport/_polyfills.js +11 -5
- package/esm/src/transport/_polyfills.js.map +1 -1
- package/esm/src/transport/http/mod.d.ts +68 -51
- package/esm/src/transport/http/mod.d.ts.map +1 -1
- package/esm/src/transport/http/mod.js +86 -72
- package/esm/src/transport/http/mod.js.map +1 -1
- package/esm/src/transport/mod.d.ts +19 -0
- package/esm/src/transport/mod.d.ts.map +1 -0
- package/esm/src/transport/mod.js +19 -0
- package/esm/src/transport/mod.js.map +1 -0
- package/esm/src/transport/websocket/_hyperliquidEventTarget.d.ts +67 -0
- package/esm/src/transport/websocket/_hyperliquidEventTarget.d.ts.map +1 -0
- package/esm/src/transport/websocket/_hyperliquidEventTarget.js +59 -0
- package/esm/src/transport/websocket/_hyperliquidEventTarget.js.map +1 -0
- package/esm/src/transport/websocket/_postRequest.d.ts +42 -0
- package/esm/src/transport/websocket/_postRequest.d.ts.map +1 -0
- package/esm/src/transport/websocket/_postRequest.js +231 -0
- package/esm/src/transport/websocket/_postRequest.js.map +1 -0
- package/esm/src/transport/websocket/_subscriptionManager.d.ts +51 -0
- package/esm/src/transport/websocket/_subscriptionManager.d.ts.map +1 -0
- package/esm/src/transport/websocket/_subscriptionManager.js +150 -0
- package/esm/src/transport/websocket/_subscriptionManager.js.map +1 -0
- package/esm/src/transport/websocket/mod.d.ts +75 -56
- package/esm/src/transport/websocket/mod.d.ts.map +1 -1
- package/esm/src/transport/websocket/mod.js +125 -175
- package/esm/src/transport/websocket/mod.js.map +1 -1
- package/esm/src/utils/_format.d.ts +15 -6
- package/esm/src/utils/_format.d.ts.map +1 -1
- package/esm/src/utils/_format.js +30 -13
- package/esm/src/utils/_format.js.map +1 -1
- package/esm/src/utils/_symbolConverter.d.ts +21 -15
- package/esm/src/utils/_symbolConverter.d.ts.map +1 -1
- package/esm/src/utils/_symbolConverter.js +58 -44
- package/esm/src/utils/_symbolConverter.js.map +1 -1
- package/esm/src/utils/mod.d.ts +24 -1
- package/esm/src/utils/mod.d.ts.map +1 -1
- package/esm/src/utils/mod.js +24 -1
- package/esm/src/utils/mod.js.map +1 -1
- package/package.json +9 -10
- package/script/bin/_utils.d.ts +77 -41
- package/script/bin/_utils.d.ts.map +1 -1
- package/script/bin/_utils.js +179 -83
- package/script/bin/_utils.js.map +1 -1
- package/script/bin/cli.js +72 -82
- package/script/bin/cli.js.map +1 -1
- package/script/src/api/_schemas.d.ts +20 -0
- package/script/src/api/_schemas.d.ts.map +1 -0
- package/script/src/api/_schemas.js +94 -0
- package/script/src/api/_schemas.js.map +1 -0
- package/script/src/api/exchange/_methods/_base/_nonce.d.ts +12 -0
- package/script/src/api/exchange/_methods/_base/_nonce.d.ts.map +1 -0
- package/script/src/api/exchange/_methods/_base/_nonce.js +28 -0
- package/script/src/api/exchange/_methods/_base/_nonce.js.map +1 -0
- package/script/src/api/exchange/_methods/_base/_semaphore.d.ts +8 -0
- package/script/src/api/exchange/_methods/_base/_semaphore.d.ts.map +1 -0
- package/script/src/api/exchange/_methods/_base/_semaphore.js +89 -0
- package/script/src/api/exchange/_methods/_base/_semaphore.js.map +1 -0
- package/script/src/api/exchange/_methods/_base/commonSchemas.d.ts +48 -0
- package/script/src/api/exchange/_methods/_base/commonSchemas.d.ts.map +1 -0
- package/script/src/api/exchange/_methods/_base/commonSchemas.js +75 -0
- package/script/src/api/exchange/_methods/_base/commonSchemas.js.map +1 -0
- package/script/src/api/exchange/_methods/_base/errors.d.ts +49 -0
- package/script/src/api/exchange/_methods/_base/errors.d.ts.map +1 -0
- package/script/src/api/exchange/_methods/_base/errors.js +78 -0
- package/script/src/api/exchange/_methods/_base/errors.js.map +1 -0
- package/script/src/api/exchange/_methods/_base/execute.d.ts +74 -0
- package/script/src/api/exchange/_methods/_base/execute.d.ts.map +1 -0
- package/script/src/api/exchange/_methods/_base/execute.js +244 -0
- package/script/src/api/exchange/_methods/_base/execute.js.map +1 -0
- package/script/src/api/exchange/_methods/agentEnableDexAbstraction.d.ts +111 -0
- package/script/src/api/exchange/_methods/agentEnableDexAbstraction.d.ts.map +1 -0
- package/script/src/api/exchange/_methods/agentEnableDexAbstraction.js +104 -0
- package/script/src/api/exchange/_methods/agentEnableDexAbstraction.js.map +1 -0
- package/script/src/api/exchange/_methods/approveAgent.d.ts +193 -0
- package/script/src/api/exchange/_methods/approveAgent.d.ts.map +1 -0
- package/script/src/api/exchange/_methods/approveAgent.js +129 -0
- package/script/src/api/exchange/_methods/approveAgent.js.map +1 -0
- package/script/src/api/exchange/_methods/approveBuilderFee.d.ts +193 -0
- package/script/src/api/exchange/_methods/approveBuilderFee.d.ts.map +1 -0
- package/script/src/api/exchange/_methods/approveBuilderFee.js +129 -0
- package/script/src/api/exchange/_methods/approveBuilderFee.js.map +1 -0
- package/script/src/api/exchange/_methods/batchModify.d.ts +708 -0
- package/script/src/api/exchange/_methods/batchModify.d.ts.map +1 -0
- package/script/src/api/exchange/_methods/batchModify.js +182 -0
- package/script/src/api/exchange/_methods/batchModify.js.map +1 -0
- package/script/src/api/exchange/_methods/cDeposit.d.ts +180 -0
- package/script/src/api/exchange/_methods/cDeposit.d.ts.map +1 -0
- package/script/src/api/exchange/_methods/cDeposit.js +126 -0
- package/script/src/api/exchange/_methods/cDeposit.js.map +1 -0
- package/script/src/api/exchange/_methods/cSignerAction.d.ts +198 -0
- package/script/src/api/exchange/_methods/cSignerAction.d.ts.map +1 -0
- package/script/src/api/exchange/_methods/cSignerAction.js +128 -0
- package/script/src/api/exchange/_methods/cSignerAction.js.map +1 -0
- package/script/src/api/exchange/_methods/cValidatorAction.d.ts +626 -0
- package/script/src/api/exchange/_methods/cValidatorAction.d.ts.map +1 -0
- package/script/src/api/exchange/_methods/cValidatorAction.js +171 -0
- package/script/src/api/exchange/_methods/cValidatorAction.js.map +1 -0
- package/script/src/api/exchange/_methods/cWithdraw.d.ts +180 -0
- package/script/src/api/exchange/_methods/cWithdraw.d.ts.map +1 -0
- package/script/src/api/exchange/_methods/cWithdraw.js +126 -0
- package/script/src/api/exchange/_methods/cWithdraw.js.map +1 -0
- package/script/src/api/exchange/_methods/cancel.d.ts +217 -0
- package/script/src/api/exchange/_methods/cancel.d.ts.map +1 -0
- package/script/src/api/exchange/_methods/cancel.js +144 -0
- package/script/src/api/exchange/_methods/cancel.js.map +1 -0
- package/script/src/api/exchange/_methods/cancelByCloid.d.ts +221 -0
- package/script/src/api/exchange/_methods/cancelByCloid.d.ts.map +1 -0
- package/script/src/api/exchange/_methods/cancelByCloid.js +126 -0
- package/script/src/api/exchange/_methods/cancelByCloid.js.map +1 -0
- package/script/src/api/exchange/_methods/claimRewards.d.ts +101 -0
- package/script/src/api/exchange/_methods/claimRewards.d.ts.map +1 -0
- package/script/src/api/exchange/_methods/claimRewards.js +94 -0
- package/script/src/api/exchange/_methods/claimRewards.js.map +1 -0
- package/script/src/api/exchange/_methods/convertToMultiSigUser.d.ts +296 -0
- package/script/src/api/exchange/_methods/convertToMultiSigUser.d.ts.map +1 -0
- package/script/src/api/exchange/_methods/convertToMultiSigUser.js +165 -0
- package/script/src/api/exchange/_methods/convertToMultiSigUser.js.map +1 -0
- package/script/src/api/exchange/_methods/createSubAccount.d.ts +146 -0
- package/script/src/api/exchange/_methods/createSubAccount.d.ts.map +1 -0
- package/script/src/api/exchange/_methods/createSubAccount.js +119 -0
- package/script/src/api/exchange/_methods/createSubAccount.js.map +1 -0
- package/script/src/api/exchange/_methods/createVault.d.ts +190 -0
- package/script/src/api/exchange/_methods/createVault.d.ts.map +1 -0
- package/script/src/api/exchange/_methods/createVault.js +131 -0
- package/script/src/api/exchange/_methods/createVault.js.map +1 -0
- package/script/src/api/exchange/_methods/evmUserModify.d.ts +152 -0
- package/script/src/api/exchange/_methods/evmUserModify.d.ts.map +1 -0
- package/script/src/api/exchange/_methods/evmUserModify.js +114 -0
- package/script/src/api/exchange/_methods/evmUserModify.js.map +1 -0
- package/script/src/api/exchange/_methods/linkStakingUser.d.ts +217 -0
- package/script/src/api/exchange/_methods/linkStakingUser.d.ts.map +1 -0
- package/script/src/api/exchange/_methods/linkStakingUser.js +141 -0
- package/script/src/api/exchange/_methods/linkStakingUser.js.map +1 -0
- package/script/src/api/exchange/_methods/modify.d.ts +521 -0
- package/script/src/api/exchange/_methods/modify.d.ts.map +1 -0
- package/script/src/api/exchange/_methods/modify.js +175 -0
- package/script/src/api/exchange/_methods/modify.js.map +1 -0
- package/script/src/api/exchange/_methods/noop.d.ts +111 -0
- package/script/src/api/exchange/_methods/noop.d.ts.map +1 -0
- package/script/src/api/exchange/_methods/noop.js +104 -0
- package/script/src/api/exchange/_methods/noop.js.map +1 -0
- package/script/src/api/exchange/_methods/order.d.ts +685 -0
- package/script/src/api/exchange/_methods/order.d.ts.map +1 -0
- package/script/src/api/exchange/_methods/order.js +232 -0
- package/script/src/api/exchange/_methods/order.js.map +1 -0
- package/script/src/api/exchange/_methods/perpDeploy.d.ts +1457 -0
- package/script/src/api/exchange/_methods/perpDeploy.d.ts.map +1 -0
- package/script/src/api/exchange/_methods/perpDeploy.js +309 -0
- package/script/src/api/exchange/_methods/perpDeploy.js.map +1 -0
- package/script/src/api/exchange/_methods/registerReferrer.d.ts +144 -0
- package/script/src/api/exchange/_methods/registerReferrer.d.ts.map +1 -0
- package/script/src/api/exchange/_methods/registerReferrer.js +106 -0
- package/script/src/api/exchange/_methods/registerReferrer.js.map +1 -0
- package/script/src/api/exchange/_methods/reserveRequestWeight.d.ts +152 -0
- package/script/src/api/exchange/_methods/reserveRequestWeight.d.ts.map +1 -0
- package/script/src/api/exchange/_methods/reserveRequestWeight.js +115 -0
- package/script/src/api/exchange/_methods/reserveRequestWeight.js.map +1 -0
- package/script/src/api/exchange/_methods/scheduleCancel.d.ts +171 -0
- package/script/src/api/exchange/_methods/scheduleCancel.d.ts.map +1 -0
- package/script/src/api/exchange/_methods/scheduleCancel.js +96 -0
- package/script/src/api/exchange/_methods/scheduleCancel.js.map +1 -0
- package/script/src/api/exchange/_methods/sendAsset.d.ts +251 -0
- package/script/src/api/exchange/_methods/sendAsset.d.ts.map +1 -0
- package/script/src/api/exchange/_methods/sendAsset.js +147 -0
- package/script/src/api/exchange/_methods/sendAsset.js.map +1 -0
- package/script/src/api/exchange/_methods/setDisplayName.d.ts +153 -0
- package/script/src/api/exchange/_methods/setDisplayName.d.ts.map +1 -0
- package/script/src/api/exchange/_methods/setDisplayName.js +110 -0
- package/script/src/api/exchange/_methods/setDisplayName.js.map +1 -0
- package/script/src/api/exchange/_methods/setReferrer.d.ts +144 -0
- package/script/src/api/exchange/_methods/setReferrer.d.ts.map +1 -0
- package/script/src/api/exchange/_methods/setReferrer.js +106 -0
- package/script/src/api/exchange/_methods/setReferrer.js.map +1 -0
- package/script/src/api/exchange/_methods/spotDeploy.d.ts +939 -0
- package/script/src/api/exchange/_methods/spotDeploy.d.ts.map +1 -0
- package/script/src/api/exchange/_methods/spotDeploy.js +235 -0
- package/script/src/api/exchange/_methods/spotDeploy.js.map +1 -0
- package/script/src/api/exchange/_methods/spotSend.d.ts +210 -0
- package/script/src/api/exchange/_methods/spotSend.d.ts.map +1 -0
- package/script/src/api/exchange/_methods/spotSend.js +136 -0
- package/script/src/api/exchange/_methods/spotSend.js.map +1 -0
- package/script/src/api/exchange/_methods/spotUser.d.ts +173 -0
- package/script/src/api/exchange/_methods/spotUser.d.ts.map +1 -0
- package/script/src/api/exchange/_methods/spotUser.js +109 -0
- package/script/src/api/exchange/_methods/spotUser.js.map +1 -0
- package/script/src/api/exchange/_methods/subAccountModify.d.ts +157 -0
- package/script/src/api/exchange/_methods/subAccountModify.d.ts.map +1 -0
- package/script/src/api/exchange/_methods/subAccountModify.js +108 -0
- package/script/src/api/exchange/_methods/subAccountModify.js.map +1 -0
- package/script/src/api/exchange/_methods/subAccountSpotTransfer.d.ts +188 -0
- package/script/src/api/exchange/_methods/subAccountSpotTransfer.d.ts.map +1 -0
- package/script/src/api/exchange/_methods/subAccountSpotTransfer.js +117 -0
- package/script/src/api/exchange/_methods/subAccountSpotTransfer.js.map +1 -0
- package/script/src/api/exchange/_methods/subAccountTransfer.d.ts +170 -0
- package/script/src/api/exchange/_methods/subAccountTransfer.d.ts.map +1 -0
- package/script/src/api/exchange/_methods/subAccountTransfer.js +110 -0
- package/script/src/api/exchange/_methods/subAccountTransfer.js.map +1 -0
- package/script/src/api/exchange/_methods/tokenDelegate.d.ts +206 -0
- package/script/src/api/exchange/_methods/tokenDelegate.d.ts.map +1 -0
- package/script/src/api/exchange/_methods/tokenDelegate.js +132 -0
- package/script/src/api/exchange/_methods/tokenDelegate.js.map +1 -0
- package/script/src/api/exchange/_methods/twapCancel.d.ts +181 -0
- package/script/src/api/exchange/_methods/twapCancel.d.ts.map +1 -0
- package/script/src/api/exchange/_methods/twapCancel.js +137 -0
- package/script/src/api/exchange/_methods/twapCancel.js.map +1 -0
- package/script/src/api/exchange/_methods/twapOrder.d.ts +310 -0
- package/script/src/api/exchange/_methods/twapOrder.d.ts.map +1 -0
- package/script/src/api/exchange/_methods/twapOrder.js +163 -0
- package/script/src/api/exchange/_methods/twapOrder.js.map +1 -0
- package/script/src/api/exchange/_methods/updateIsolatedMargin.d.ts +181 -0
- package/script/src/api/exchange/_methods/updateIsolatedMargin.d.ts.map +1 -0
- package/script/src/api/exchange/_methods/updateIsolatedMargin.js +120 -0
- package/script/src/api/exchange/_methods/updateIsolatedMargin.js.map +1 -0
- package/script/src/api/exchange/_methods/updateLeverage.d.ts +181 -0
- package/script/src/api/exchange/_methods/updateLeverage.d.ts.map +1 -0
- package/script/src/api/exchange/_methods/updateLeverage.js +120 -0
- package/script/src/api/exchange/_methods/updateLeverage.js.map +1 -0
- package/script/src/api/exchange/_methods/usdClassTransfer.d.ts +193 -0
- package/script/src/api/exchange/_methods/usdClassTransfer.d.ts.map +1 -0
- package/script/src/api/exchange/_methods/usdClassTransfer.js +129 -0
- package/script/src/api/exchange/_methods/usdClassTransfer.js.map +1 -0
- package/script/src/api/exchange/_methods/usdSend.d.ts +193 -0
- package/script/src/api/exchange/_methods/usdSend.d.ts.map +1 -0
- package/script/src/api/exchange/_methods/usdSend.js +129 -0
- package/script/src/api/exchange/_methods/usdSend.js.map +1 -0
- package/script/src/api/exchange/_methods/userDexAbstraction.d.ts +193 -0
- package/script/src/api/exchange/_methods/userDexAbstraction.d.ts.map +1 -0
- package/script/src/api/exchange/_methods/userDexAbstraction.js +129 -0
- package/script/src/api/exchange/_methods/userDexAbstraction.js.map +1 -0
- package/script/src/api/exchange/_methods/validatorL1Stream.d.ts +152 -0
- package/script/src/api/exchange/_methods/validatorL1Stream.d.ts.map +1 -0
- package/script/src/api/exchange/_methods/validatorL1Stream.js +114 -0
- package/script/src/api/exchange/_methods/validatorL1Stream.js.map +1 -0
- package/script/src/api/exchange/_methods/vaultDistribute.d.ts +166 -0
- package/script/src/api/exchange/_methods/vaultDistribute.d.ts.map +1 -0
- package/script/src/api/exchange/_methods/vaultDistribute.js +112 -0
- package/script/src/api/exchange/_methods/vaultDistribute.js.map +1 -0
- package/script/src/api/exchange/_methods/vaultModify.d.ts +174 -0
- package/script/src/api/exchange/_methods/vaultModify.d.ts.map +1 -0
- package/script/src/api/exchange/_methods/vaultModify.js +114 -0
- package/script/src/api/exchange/_methods/vaultModify.js.map +1 -0
- package/script/src/api/exchange/_methods/vaultTransfer.d.ts +178 -0
- package/script/src/api/exchange/_methods/vaultTransfer.d.ts.map +1 -0
- package/script/src/api/exchange/_methods/vaultTransfer.js +118 -0
- package/script/src/api/exchange/_methods/vaultTransfer.js.map +1 -0
- package/script/src/api/exchange/_methods/withdraw3.d.ts +193 -0
- package/script/src/api/exchange/_methods/withdraw3.d.ts.map +1 -0
- package/script/src/api/exchange/_methods/withdraw3.js +129 -0
- package/script/src/api/exchange/_methods/withdraw3.js.map +1 -0
- package/script/src/api/exchange/client.d.ts +238 -0
- package/script/src/api/exchange/client.d.ts.map +1 -0
- package/script/src/api/exchange/client.js +295 -0
- package/script/src/api/exchange/client.js.map +1 -0
- package/script/src/api/exchange/mod.d.ts +86 -0
- package/script/src/api/exchange/mod.d.ts.map +1 -0
- package/script/src/api/exchange/mod.js +103 -0
- package/script/src/api/exchange/mod.js.map +1 -0
- package/script/src/api/info/_methods/_base/commonSchemas.d.ts +343 -0
- package/script/src/api/info/_methods/_base/commonSchemas.d.ts.map +1 -0
- package/script/src/api/info/_methods/_base/commonSchemas.js +377 -0
- package/script/src/api/info/_methods/_base/commonSchemas.js.map +1 -0
- package/script/src/api/info/_methods/_base/types.d.ts +7 -0
- package/script/src/api/info/_methods/_base/types.d.ts.map +1 -0
- package/script/src/api/info/_methods/_base/types.js +3 -0
- package/script/src/api/info/_methods/_base/types.js.map +1 -0
- package/script/src/api/info/_methods/activeAssetData.d.ts +102 -0
- package/script/src/api/info/_methods/activeAssetData.d.ts.map +1 -0
- package/script/src/api/info/_methods/activeAssetData.js +126 -0
- package/script/src/api/info/_methods/activeAssetData.js.map +1 -0
- package/script/src/api/info/_methods/alignedQuoteTokenInfo.d.ts +66 -0
- package/script/src/api/info/_methods/alignedQuoteTokenInfo.d.ts.map +1 -0
- package/script/src/api/info/_methods/alignedQuoteTokenInfo.js +106 -0
- package/script/src/api/info/_methods/alignedQuoteTokenInfo.js.map +1 -0
- package/script/src/api/info/_methods/allBorrowLendReserveStates.d.ts +84 -0
- package/script/src/api/info/_methods/allBorrowLendReserveStates.d.ts.map +1 -0
- package/script/src/api/info/_methods/allBorrowLendReserveStates.js +110 -0
- package/script/src/api/info/_methods/allBorrowLendReserveStates.js.map +1 -0
- package/script/src/api/info/_methods/allMids.d.ts +53 -0
- package/script/src/api/info/_methods/allMids.d.ts.map +1 -0
- package/script/src/api/info/_methods/allMids.js +71 -0
- package/script/src/api/info/_methods/allMids.js.map +1 -0
- package/script/src/api/info/_methods/allPerpMetas.d.ts +125 -0
- package/script/src/api/info/_methods/allPerpMetas.d.ts.map +1 -0
- package/script/src/api/info/_methods/allPerpMetas.js +85 -0
- package/script/src/api/info/_methods/allPerpMetas.js.map +1 -0
- package/script/src/api/info/_methods/blockDetails.d.ts +140 -0
- package/script/src/api/info/_methods/blockDetails.d.ts.map +1 -0
- package/script/src/api/info/_methods/blockDetails.js +110 -0
- package/script/src/api/info/_methods/blockDetails.js.map +1 -0
- package/script/src/api/info/_methods/borrowLendUserState.d.ts +123 -0
- package/script/src/api/info/_methods/borrowLendUserState.d.ts.map +1 -0
- package/script/src/api/info/_methods/borrowLendUserState.js +121 -0
- package/script/src/api/info/_methods/borrowLendUserState.js.map +1 -0
- package/script/src/api/info/_methods/candleSnapshot.d.ts +104 -0
- package/script/src/api/info/_methods/candleSnapshot.d.ts.map +1 -0
- package/script/src/api/info/_methods/candleSnapshot.js +126 -0
- package/script/src/api/info/_methods/candleSnapshot.js.map +1 -0
- package/script/src/api/info/_methods/clearinghouseState.d.ts +247 -0
- package/script/src/api/info/_methods/clearinghouseState.d.ts.map +1 -0
- package/script/src/api/info/_methods/clearinghouseState.js +179 -0
- package/script/src/api/info/_methods/clearinghouseState.js.map +1 -0
- package/script/src/api/info/_methods/delegations.d.ts +64 -0
- package/script/src/api/info/_methods/delegations.d.ts.map +1 -0
- package/script/src/api/info/_methods/delegations.js +103 -0
- package/script/src/api/info/_methods/delegations.js.map +1 -0
- package/script/src/api/info/_methods/delegatorHistory.d.ts +127 -0
- package/script/src/api/info/_methods/delegatorHistory.d.ts.map +1 -0
- package/script/src/api/info/_methods/delegatorHistory.js +131 -0
- package/script/src/api/info/_methods/delegatorHistory.js.map +1 -0
- package/script/src/api/info/_methods/delegatorRewards.d.ts +64 -0
- package/script/src/api/info/_methods/delegatorRewards.d.ts.map +1 -0
- package/script/src/api/info/_methods/delegatorRewards.js +103 -0
- package/script/src/api/info/_methods/delegatorRewards.js.map +1 -0
- package/script/src/api/info/_methods/delegatorSummary.d.ts +67 -0
- package/script/src/api/info/_methods/delegatorSummary.d.ts.map +1 -0
- package/script/src/api/info/_methods/delegatorSummary.js +105 -0
- package/script/src/api/info/_methods/delegatorSummary.js.map +1 -0
- package/script/src/api/info/_methods/exchangeStatus.d.ts +48 -0
- package/script/src/api/info/_methods/exchangeStatus.d.ts.map +1 -0
- package/script/src/api/info/_methods/exchangeStatus.js +90 -0
- package/script/src/api/info/_methods/exchangeStatus.js.map +1 -0
- package/script/src/api/info/_methods/extraAgents.d.ts +60 -0
- package/script/src/api/info/_methods/extraAgents.d.ts.map +1 -0
- package/script/src/api/info/_methods/extraAgents.js +99 -0
- package/script/src/api/info/_methods/extraAgents.js.map +1 -0
- package/script/src/api/info/_methods/frontendOpenOrders.d.ts +107 -0
- package/script/src/api/info/_methods/frontendOpenOrders.d.ts.map +1 -0
- package/script/src/api/info/_methods/frontendOpenOrders.js +99 -0
- package/script/src/api/info/_methods/frontendOpenOrders.js.map +1 -0
- package/script/src/api/info/_methods/fundingHistory.d.ts +73 -0
- package/script/src/api/info/_methods/fundingHistory.d.ts.map +1 -0
- package/script/src/api/info/_methods/fundingHistory.js +109 -0
- package/script/src/api/info/_methods/fundingHistory.js.map +1 -0
- package/script/src/api/info/_methods/gossipRootIps.d.ts +40 -0
- package/script/src/api/info/_methods/gossipRootIps.d.ts.map +1 -0
- package/script/src/api/info/_methods/gossipRootIps.js +84 -0
- package/script/src/api/info/_methods/gossipRootIps.js.map +1 -0
- package/script/src/api/info/_methods/historicalOrders.d.ts +163 -0
- package/script/src/api/info/_methods/historicalOrders.d.ts.map +1 -0
- package/script/src/api/info/_methods/historicalOrders.js +164 -0
- package/script/src/api/info/_methods/historicalOrders.js.map +1 -0
- package/script/src/api/info/_methods/isVip.d.ts +49 -0
- package/script/src/api/info/_methods/isVip.d.ts.map +1 -0
- package/script/src/api/info/_methods/isVip.js +92 -0
- package/script/src/api/info/_methods/isVip.js.map +1 -0
- package/script/src/api/info/_methods/l2Book.d.ts +108 -0
- package/script/src/api/info/_methods/l2Book.d.ts.map +1 -0
- package/script/src/api/info/_methods/l2Book.js +117 -0
- package/script/src/api/info/_methods/l2Book.js.map +1 -0
- package/script/src/api/info/_methods/l3Orders.d.ts +183 -0
- package/script/src/api/info/_methods/l3Orders.d.ts.map +1 -0
- package/script/src/api/info/_methods/l3Orders.js +142 -0
- package/script/src/api/info/_methods/l3Orders.js.map +1 -0
- package/script/src/api/info/_methods/l4Orders.d.ts +219 -0
- package/script/src/api/info/_methods/l4Orders.d.ts.map +1 -0
- package/script/src/api/info/_methods/l4Orders.js +161 -0
- package/script/src/api/info/_methods/l4Orders.js.map +1 -0
- package/script/src/api/info/_methods/leadingVaults.d.ts +57 -0
- package/script/src/api/info/_methods/leadingVaults.d.ts.map +1 -0
- package/script/src/api/info/_methods/leadingVaults.js +97 -0
- package/script/src/api/info/_methods/leadingVaults.js.map +1 -0
- package/script/src/api/info/_methods/legalCheck.d.ts +60 -0
- package/script/src/api/info/_methods/legalCheck.d.ts.map +1 -0
- package/script/src/api/info/_methods/legalCheck.js +99 -0
- package/script/src/api/info/_methods/legalCheck.js.map +1 -0
- package/script/src/api/info/_methods/liquidatable.d.ts +40 -0
- package/script/src/api/info/_methods/liquidatable.d.ts.map +1 -0
- package/script/src/api/info/_methods/liquidatable.js +84 -0
- package/script/src/api/info/_methods/liquidatable.js.map +1 -0
- package/script/src/api/info/_methods/marginTable.d.ts +68 -0
- package/script/src/api/info/_methods/marginTable.d.ts.map +1 -0
- package/script/src/api/info/_methods/marginTable.js +102 -0
- package/script/src/api/info/_methods/marginTable.js.map +1 -0
- package/script/src/api/info/_methods/maxBuilderFee.d.ts +56 -0
- package/script/src/api/info/_methods/maxBuilderFee.d.ts.map +1 -0
- package/script/src/api/info/_methods/maxBuilderFee.js +98 -0
- package/script/src/api/info/_methods/maxBuilderFee.js.map +1 -0
- package/script/src/api/info/_methods/maxMarketOrderNtls.d.ts +40 -0
- package/script/src/api/info/_methods/maxMarketOrderNtls.d.ts.map +1 -0
- package/script/src/api/info/_methods/maxMarketOrderNtls.js +85 -0
- package/script/src/api/info/_methods/maxMarketOrderNtls.js.map +1 -0
- package/script/src/api/info/_methods/meta.d.ts +128 -0
- package/script/src/api/info/_methods/meta.d.ts.map +1 -0
- package/script/src/api/info/_methods/meta.js +101 -0
- package/script/src/api/info/_methods/meta.js.map +1 -0
- package/script/src/api/info/_methods/metaAndAssetCtxs.d.ts +168 -0
- package/script/src/api/info/_methods/metaAndAssetCtxs.d.ts.map +1 -0
- package/script/src/api/info/_methods/metaAndAssetCtxs.js +75 -0
- package/script/src/api/info/_methods/metaAndAssetCtxs.js.map +1 -0
- package/script/src/api/info/_methods/openOrders.d.ts +86 -0
- package/script/src/api/info/_methods/openOrders.d.ts.map +1 -0
- package/script/src/api/info/_methods/openOrders.js +99 -0
- package/script/src/api/info/_methods/openOrders.js.map +1 -0
- package/script/src/api/info/_methods/orderStatus.d.ts +202 -0
- package/script/src/api/info/_methods/orderStatus.d.ts.map +1 -0
- package/script/src/api/info/_methods/orderStatus.js +181 -0
- package/script/src/api/info/_methods/orderStatus.js.map +1 -0
- package/script/src/api/info/_methods/perpDeployAuctionStatus.d.ts +61 -0
- package/script/src/api/info/_methods/perpDeployAuctionStatus.d.ts.map +1 -0
- package/script/src/api/info/_methods/perpDeployAuctionStatus.js +100 -0
- package/script/src/api/info/_methods/perpDeployAuctionStatus.js.map +1 -0
- package/script/src/api/info/_methods/perpDexLimits.d.ts +67 -0
- package/script/src/api/info/_methods/perpDexLimits.d.ts.map +1 -0
- package/script/src/api/info/_methods/perpDexLimits.js +105 -0
- package/script/src/api/info/_methods/perpDexLimits.js.map +1 -0
- package/script/src/api/info/_methods/perpDexStatus.d.ts +55 -0
- package/script/src/api/info/_methods/perpDexStatus.d.ts.map +1 -0
- package/script/src/api/info/_methods/perpDexStatus.js +96 -0
- package/script/src/api/info/_methods/perpDexStatus.js.map +1 -0
- package/script/src/api/info/_methods/perpDexs.d.ts +87 -0
- package/script/src/api/info/_methods/perpDexs.d.ts.map +1 -0
- package/script/src/api/info/_methods/perpDexs.js +115 -0
- package/script/src/api/info/_methods/perpDexs.js.map +1 -0
- package/script/src/api/info/_methods/perpsAtOpenInterestCap.d.ts +51 -0
- package/script/src/api/info/_methods/perpsAtOpenInterestCap.d.ts.map +1 -0
- package/script/src/api/info/_methods/perpsAtOpenInterestCap.js +70 -0
- package/script/src/api/info/_methods/perpsAtOpenInterestCap.js.map +1 -0
- package/script/src/api/info/_methods/portfolio.d.ts +173 -0
- package/script/src/api/info/_methods/portfolio.d.ts.map +1 -0
- package/script/src/api/info/_methods/portfolio.js +116 -0
- package/script/src/api/info/_methods/portfolio.js.map +1 -0
- package/script/src/api/info/_methods/preTransferCheck.d.ts +66 -0
- package/script/src/api/info/_methods/preTransferCheck.d.ts.map +1 -0
- package/script/src/api/info/_methods/preTransferCheck.js +103 -0
- package/script/src/api/info/_methods/preTransferCheck.js.map +1 -0
- package/script/src/api/info/_methods/predictedFundings.d.ts +55 -0
- package/script/src/api/info/_methods/predictedFundings.d.ts.map +1 -0
- package/script/src/api/info/_methods/predictedFundings.js +106 -0
- package/script/src/api/info/_methods/predictedFundings.js.map +1 -0
- package/script/src/api/info/_methods/recentTrades.d.ts +75 -0
- package/script/src/api/info/_methods/recentTrades.d.ts.map +1 -0
- package/script/src/api/info/_methods/recentTrades.js +109 -0
- package/script/src/api/info/_methods/recentTrades.js.map +1 -0
- package/script/src/api/info/_methods/referral.d.ts +253 -0
- package/script/src/api/info/_methods/referral.d.ts.map +1 -0
- package/script/src/api/info/_methods/referral.js +189 -0
- package/script/src/api/info/_methods/referral.js.map +1 -0
- package/script/src/api/info/_methods/spotClearinghouseState.d.ts +102 -0
- package/script/src/api/info/_methods/spotClearinghouseState.d.ts.map +1 -0
- package/script/src/api/info/_methods/spotClearinghouseState.js +121 -0
- package/script/src/api/info/_methods/spotClearinghouseState.js.map +1 -0
- package/script/src/api/info/_methods/spotDeployState.d.ts +157 -0
- package/script/src/api/info/_methods/spotDeployState.d.ts.map +1 -0
- package/script/src/api/info/_methods/spotDeployState.js +132 -0
- package/script/src/api/info/_methods/spotDeployState.js.map +1 -0
- package/script/src/api/info/_methods/spotMeta.d.ts +124 -0
- package/script/src/api/info/_methods/spotMeta.d.ts.map +1 -0
- package/script/src/api/info/_methods/spotMeta.js +127 -0
- package/script/src/api/info/_methods/spotMeta.js.map +1 -0
- package/script/src/api/info/_methods/spotMetaAndAssetCtxs.d.ts +155 -0
- package/script/src/api/info/_methods/spotMetaAndAssetCtxs.d.ts.map +1 -0
- package/script/src/api/info/_methods/spotMetaAndAssetCtxs.js +93 -0
- package/script/src/api/info/_methods/spotMetaAndAssetCtxs.js.map +1 -0
- package/script/src/api/info/_methods/spotPairDeployAuctionStatus.d.ts +62 -0
- package/script/src/api/info/_methods/spotPairDeployAuctionStatus.d.ts.map +1 -0
- package/script/src/api/info/_methods/spotPairDeployAuctionStatus.js +89 -0
- package/script/src/api/info/_methods/spotPairDeployAuctionStatus.js.map +1 -0
- package/script/src/api/info/_methods/subAccounts.d.ts +374 -0
- package/script/src/api/info/_methods/subAccounts.d.ts.map +1 -0
- package/script/src/api/info/_methods/subAccounts.js +109 -0
- package/script/src/api/info/_methods/subAccounts.js.map +1 -0
- package/script/src/api/info/_methods/subAccounts2.d.ts +414 -0
- package/script/src/api/info/_methods/subAccounts2.d.ts.map +1 -0
- package/script/src/api/info/_methods/subAccounts2.js +106 -0
- package/script/src/api/info/_methods/subAccounts2.js.map +1 -0
- package/script/src/api/info/_methods/tokenDetails.d.ts +118 -0
- package/script/src/api/info/_methods/tokenDetails.d.ts.map +1 -0
- package/script/src/api/info/_methods/tokenDetails.js +136 -0
- package/script/src/api/info/_methods/tokenDetails.js.map +1 -0
- package/script/src/api/info/_methods/twapHistory.d.ts +131 -0
- package/script/src/api/info/_methods/twapHistory.d.ts.map +1 -0
- package/script/src/api/info/_methods/twapHistory.js +123 -0
- package/script/src/api/info/_methods/twapHistory.js.map +1 -0
- package/script/src/api/info/_methods/txDetails.d.ts +102 -0
- package/script/src/api/info/_methods/txDetails.d.ts.map +1 -0
- package/script/src/api/info/_methods/txDetails.js +97 -0
- package/script/src/api/info/_methods/txDetails.js.map +1 -0
- package/script/src/api/info/_methods/userDetails.d.ts +102 -0
- package/script/src/api/info/_methods/userDetails.d.ts.map +1 -0
- package/script/src/api/info/_methods/userDetails.js +97 -0
- package/script/src/api/info/_methods/userDetails.js.map +1 -0
- package/script/src/api/info/_methods/userDexAbstraction.d.ts +53 -0
- package/script/src/api/info/_methods/userDexAbstraction.d.ts.map +1 -0
- package/script/src/api/info/_methods/userDexAbstraction.js +96 -0
- package/script/src/api/info/_methods/userDexAbstraction.js.map +1 -0
- package/script/src/api/info/_methods/userFees.d.ts +256 -0
- package/script/src/api/info/_methods/userFees.d.ts.map +1 -0
- package/script/src/api/info/_methods/userFees.js +201 -0
- package/script/src/api/info/_methods/userFees.js.map +1 -0
- package/script/src/api/info/_methods/userFills.d.ts +127 -0
- package/script/src/api/info/_methods/userFills.d.ts.map +1 -0
- package/script/src/api/info/_methods/userFills.js +114 -0
- package/script/src/api/info/_methods/userFills.js.map +1 -0
- package/script/src/api/info/_methods/userFillsByTime.d.ts +151 -0
- package/script/src/api/info/_methods/userFillsByTime.d.ts.map +1 -0
- package/script/src/api/info/_methods/userFillsByTime.js +103 -0
- package/script/src/api/info/_methods/userFillsByTime.js.map +1 -0
- package/script/src/api/info/_methods/userFunding.d.ts +97 -0
- package/script/src/api/info/_methods/userFunding.d.ts.map +1 -0
- package/script/src/api/info/_methods/userFunding.js +120 -0
- package/script/src/api/info/_methods/userFunding.js.map +1 -0
- package/script/src/api/info/_methods/userNonFundingLedgerUpdates.d.ts +421 -0
- package/script/src/api/info/_methods/userNonFundingLedgerUpdates.d.ts.map +1 -0
- package/script/src/api/info/_methods/userNonFundingLedgerUpdates.js +304 -0
- package/script/src/api/info/_methods/userNonFundingLedgerUpdates.js.map +1 -0
- package/script/src/api/info/_methods/userRateLimit.d.ts +67 -0
- package/script/src/api/info/_methods/userRateLimit.d.ts.map +1 -0
- package/script/src/api/info/_methods/userRateLimit.js +105 -0
- package/script/src/api/info/_methods/userRateLimit.js.map +1 -0
- package/script/src/api/info/_methods/userRole.d.ts +88 -0
- package/script/src/api/info/_methods/userRole.d.ts.map +1 -0
- package/script/src/api/info/_methods/userRole.js +119 -0
- package/script/src/api/info/_methods/userRole.js.map +1 -0
- package/script/src/api/info/_methods/userToMultiSigSigners.d.ts +57 -0
- package/script/src/api/info/_methods/userToMultiSigSigners.d.ts.map +1 -0
- package/script/src/api/info/_methods/userToMultiSigSigners.js +97 -0
- package/script/src/api/info/_methods/userToMultiSigSigners.js.map +1 -0
- package/script/src/api/info/_methods/userTwapSliceFills.d.ts +125 -0
- package/script/src/api/info/_methods/userTwapSliceFills.d.ts.map +1 -0
- package/script/src/api/info/_methods/userTwapSliceFills.js +102 -0
- package/script/src/api/info/_methods/userTwapSliceFills.js.map +1 -0
- package/script/src/api/info/_methods/userTwapSliceFillsByTime.d.ts +148 -0
- package/script/src/api/info/_methods/userTwapSliceFillsByTime.d.ts.map +1 -0
- package/script/src/api/info/_methods/userTwapSliceFillsByTime.js +100 -0
- package/script/src/api/info/_methods/userTwapSliceFillsByTime.js.map +1 -0
- package/script/src/api/info/_methods/userVaultEquities.d.ts +64 -0
- package/script/src/api/info/_methods/userVaultEquities.d.ts.map +1 -0
- package/script/src/api/info/_methods/userVaultEquities.js +103 -0
- package/script/src/api/info/_methods/userVaultEquities.js.map +1 -0
- package/script/src/api/info/_methods/validatorL1Votes.d.ts +63 -0
- package/script/src/api/info/_methods/validatorL1Votes.d.ts.map +1 -0
- package/script/src/api/info/_methods/validatorL1Votes.js +101 -0
- package/script/src/api/info/_methods/validatorL1Votes.js.map +1 -0
- package/script/src/api/info/_methods/validatorSummaries.d.ts +132 -0
- package/script/src/api/info/_methods/validatorSummaries.d.ts.map +1 -0
- package/script/src/api/info/_methods/validatorSummaries.js +123 -0
- package/script/src/api/info/_methods/validatorSummaries.js.map +1 -0
- package/script/src/api/info/_methods/vaultDetails.d.ts +358 -0
- package/script/src/api/info/_methods/vaultDetails.d.ts.map +1 -0
- package/script/src/api/info/_methods/vaultDetails.js +163 -0
- package/script/src/api/info/_methods/vaultDetails.js.map +1 -0
- package/script/src/api/info/_methods/vaultSummaries.d.ts +93 -0
- package/script/src/api/info/_methods/vaultSummaries.d.ts.map +1 -0
- package/script/src/api/info/_methods/vaultSummaries.js +101 -0
- package/script/src/api/info/_methods/vaultSummaries.js.map +1 -0
- package/script/src/api/info/_methods/webData2.d.ts +732 -0
- package/script/src/api/info/_methods/webData2.d.ts.map +1 -0
- package/script/src/api/info/_methods/webData2.js +134 -0
- package/script/src/api/info/_methods/webData2.js.map +1 -0
- package/script/src/api/info/client.d.ts +314 -0
- package/script/src/api/info/client.d.ts.map +1 -0
- package/script/src/api/info/client.js +395 -0
- package/script/src/api/info/client.js.map +1 -0
- package/script/src/api/info/mod.d.ts +96 -0
- package/script/src/api/info/mod.d.ts.map +1 -0
- package/script/src/api/info/mod.js +111 -0
- package/script/src/api/info/mod.js.map +1 -0
- package/script/src/api/subscription/_methods/_types.d.ts +7 -0
- package/script/src/api/subscription/_methods/_types.d.ts.map +1 -0
- package/script/src/api/subscription/_methods/_types.js.map +1 -0
- package/script/src/api/subscription/_methods/activeAssetCtx.d.ts +101 -0
- package/script/src/api/subscription/_methods/activeAssetCtx.d.ts.map +1 -0
- package/script/src/api/subscription/_methods/activeAssetCtx.js +97 -0
- package/script/src/api/subscription/_methods/activeAssetCtx.js.map +1 -0
- package/script/src/api/subscription/_methods/activeAssetData.d.ts +101 -0
- package/script/src/api/subscription/_methods/activeAssetData.d.ts.map +1 -0
- package/script/src/api/subscription/_methods/activeAssetData.js +95 -0
- package/script/src/api/subscription/_methods/activeAssetData.js.map +1 -0
- package/script/src/api/subscription/_methods/activeSpotAssetCtx.d.ts +92 -0
- package/script/src/api/subscription/_methods/activeSpotAssetCtx.d.ts.map +1 -0
- package/script/src/api/subscription/_methods/activeSpotAssetCtx.js +96 -0
- package/script/src/api/subscription/_methods/activeSpotAssetCtx.js.map +1 -0
- package/script/src/api/subscription/_methods/allDexsAssetCtxs.d.ts +91 -0
- package/script/src/api/subscription/_methods/allDexsAssetCtxs.d.ts.map +1 -0
- package/script/src/api/subscription/_methods/allDexsAssetCtxs.js +94 -0
- package/script/src/api/subscription/_methods/allDexsAssetCtxs.js.map +1 -0
- package/script/src/api/subscription/_methods/allDexsClearinghouseState.d.ts +299 -0
- package/script/src/api/subscription/_methods/allDexsClearinghouseState.d.ts.map +1 -0
- package/script/src/api/subscription/_methods/allDexsClearinghouseState.js +104 -0
- package/script/src/api/subscription/_methods/allDexsClearinghouseState.js.map +1 -0
- package/script/src/api/subscription/_methods/allMids.d.ts +63 -0
- package/script/src/api/subscription/_methods/allMids.d.ts.map +1 -0
- package/script/src/api/subscription/_methods/allMids.js +75 -0
- package/script/src/api/subscription/_methods/allMids.js.map +1 -0
- package/script/src/api/subscription/_methods/assetCtxs.d.ts +99 -0
- package/script/src/api/subscription/_methods/assetCtxs.d.ts.map +1 -0
- package/script/src/api/subscription/_methods/assetCtxs.js +75 -0
- package/script/src/api/subscription/_methods/assetCtxs.js.map +1 -0
- package/script/src/api/subscription/_methods/bbo.d.ts +98 -0
- package/script/src/api/subscription/_methods/bbo.d.ts.map +1 -0
- package/script/src/api/subscription/_methods/bbo.js +109 -0
- package/script/src/api/subscription/_methods/bbo.js.map +1 -0
- package/script/src/api/subscription/_methods/candle.d.ts +84 -0
- package/script/src/api/subscription/_methods/candle.d.ts.map +1 -0
- package/script/src/api/subscription/_methods/candle.js +115 -0
- package/script/src/api/subscription/_methods/candle.js.map +1 -0
- package/script/src/api/subscription/_methods/clearinghouseState.d.ts +303 -0
- package/script/src/api/subscription/_methods/clearinghouseState.d.ts.map +1 -0
- package/script/src/api/subscription/_methods/clearinghouseState.js +104 -0
- package/script/src/api/subscription/_methods/clearinghouseState.js.map +1 -0
- package/script/src/api/subscription/_methods/explorerBlock.d.ts +57 -0
- package/script/src/api/subscription/_methods/explorerBlock.d.ts.map +1 -0
- package/script/src/api/subscription/_methods/explorerBlock.js +95 -0
- package/script/src/api/subscription/_methods/explorerBlock.js.map +1 -0
- package/script/src/api/subscription/_methods/explorerTxs.d.ts +74 -0
- package/script/src/api/subscription/_methods/explorerTxs.d.ts.map +1 -0
- package/script/src/api/subscription/_methods/explorerTxs.js +83 -0
- package/script/src/api/subscription/_methods/explorerTxs.js.map +1 -0
- package/script/src/api/subscription/_methods/l2Book.d.ts +106 -0
- package/script/src/api/subscription/_methods/l2Book.d.ts.map +1 -0
- package/script/src/api/subscription/_methods/l2Book.js +120 -0
- package/script/src/api/subscription/_methods/l2Book.js.map +1 -0
- package/script/src/api/subscription/_methods/notification.d.ts +54 -0
- package/script/src/api/subscription/_methods/notification.d.ts.map +1 -0
- package/script/src/api/subscription/_methods/notification.js +93 -0
- package/script/src/api/subscription/_methods/notification.js.map +1 -0
- package/script/src/api/subscription/_methods/openOrders.d.ts +148 -0
- package/script/src/api/subscription/_methods/openOrders.d.ts.map +1 -0
- package/script/src/api/subscription/_methods/openOrders.js +106 -0
- package/script/src/api/subscription/_methods/openOrders.js.map +1 -0
- package/script/src/api/subscription/_methods/orderUpdates.d.ts +131 -0
- package/script/src/api/subscription/_methods/orderUpdates.d.ts.map +1 -0
- package/script/src/api/subscription/_methods/orderUpdates.js +158 -0
- package/script/src/api/subscription/_methods/orderUpdates.js.map +1 -0
- package/script/src/api/subscription/_methods/spotAssetCtxs.d.ts +70 -0
- package/script/src/api/subscription/_methods/spotAssetCtxs.d.ts.map +1 -0
- package/script/src/api/subscription/_methods/spotAssetCtxs.js +87 -0
- package/script/src/api/subscription/_methods/spotAssetCtxs.js.map +1 -0
- package/script/src/api/subscription/_methods/spotState.d.ts +122 -0
- package/script/src/api/subscription/_methods/spotState.d.ts.map +1 -0
- package/script/src/api/subscription/_methods/spotState.js +100 -0
- package/script/src/api/subscription/_methods/spotState.js.map +1 -0
- package/script/src/api/subscription/_methods/trades.d.ts +76 -0
- package/script/src/api/subscription/_methods/trades.d.ts.map +1 -0
- package/script/src/api/subscription/_methods/trades.js +92 -0
- package/script/src/api/subscription/_methods/trades.js.map +1 -0
- package/script/src/api/subscription/_methods/twapStates.d.ts +102 -0
- package/script/src/api/subscription/_methods/twapStates.d.ts.map +1 -0
- package/script/src/api/subscription/_methods/twapStates.js +101 -0
- package/script/src/api/subscription/_methods/twapStates.js.map +1 -0
- package/script/src/api/subscription/_methods/userEvents.d.ts +467 -0
- package/script/src/api/subscription/_methods/userEvents.d.ts.map +1 -0
- package/script/src/api/subscription/_methods/userEvents.js +153 -0
- package/script/src/api/subscription/_methods/userEvents.js.map +1 -0
- package/script/src/api/subscription/_methods/userFills.d.ts +175 -0
- package/script/src/api/subscription/_methods/userFills.d.ts.map +1 -0
- package/script/src/api/subscription/_methods/userFills.js +106 -0
- package/script/src/api/subscription/_methods/userFills.js.map +1 -0
- package/script/src/api/subscription/_methods/userFundings.d.ts +87 -0
- package/script/src/api/subscription/_methods/userFundings.d.ts.map +1 -0
- package/script/src/api/subscription/_methods/userFundings.js +112 -0
- package/script/src/api/subscription/_methods/userFundings.js.map +1 -0
- package/script/src/api/subscription/_methods/userHistoricalOrders.d.ts +178 -0
- package/script/src/api/subscription/_methods/userHistoricalOrders.d.ts.map +1 -0
- package/script/src/api/subscription/_methods/userHistoricalOrders.js +100 -0
- package/script/src/api/subscription/_methods/userHistoricalOrders.js.map +1 -0
- package/script/src/api/subscription/_methods/userNonFundingLedgerUpdates.d.ts +534 -0
- package/script/src/api/subscription/_methods/userNonFundingLedgerUpdates.d.ts.map +1 -0
- package/script/src/api/subscription/_methods/userNonFundingLedgerUpdates.js +100 -0
- package/script/src/api/subscription/_methods/userNonFundingLedgerUpdates.js.map +1 -0
- package/script/src/api/subscription/_methods/userTwapHistory.d.ts +171 -0
- package/script/src/api/subscription/_methods/userTwapHistory.d.ts.map +1 -0
- package/script/src/api/subscription/_methods/userTwapHistory.js +100 -0
- package/script/src/api/subscription/_methods/userTwapHistory.js.map +1 -0
- package/script/src/api/subscription/_methods/userTwapSliceFills.d.ts +168 -0
- package/script/src/api/subscription/_methods/userTwapSliceFills.d.ts.map +1 -0
- package/script/src/api/subscription/_methods/userTwapSliceFills.js +100 -0
- package/script/src/api/subscription/_methods/userTwapSliceFills.js.map +1 -0
- package/script/src/api/subscription/_methods/webData2.d.ts +860 -0
- package/script/src/api/subscription/_methods/webData2.d.ts.map +1 -0
- package/script/src/api/subscription/_methods/webData2.js +93 -0
- package/script/src/api/subscription/_methods/webData2.js.map +1 -0
- package/script/src/api/subscription/_methods/webData3.d.ts +126 -0
- package/script/src/api/subscription/_methods/webData3.d.ts.map +1 -0
- package/script/src/api/subscription/_methods/webData3.js +125 -0
- package/script/src/api/subscription/_methods/webData3.js.map +1 -0
- package/script/src/api/subscription/client.d.ts +145 -0
- package/script/src/api/subscription/client.d.ts.map +1 -0
- package/script/src/api/subscription/client.js +183 -0
- package/script/src/api/subscription/client.js.map +1 -0
- package/script/src/api/subscription/mod.d.ts +55 -0
- package/script/src/api/subscription/mod.d.ts.map +1 -0
- package/script/src/api/subscription/mod.js +70 -0
- package/script/src/api/subscription/mod.js.map +1 -0
- package/script/src/mod.d.ts +34 -8
- package/script/src/mod.d.ts.map +1 -1
- package/script/src/mod.js +34 -11
- package/script/src/mod.js.map +1 -1
- package/script/src/signing/_abstractWallet.d.ts +119 -0
- package/script/src/signing/_abstractWallet.d.ts.map +1 -0
- package/script/src/signing/_abstractWallet.js +195 -0
- package/script/src/signing/_abstractWallet.js.map +1 -0
- package/script/src/signing/_privateKeySigner.d.ts +37 -0
- package/script/src/signing/_privateKeySigner.d.ts.map +1 -0
- package/script/src/signing/_privateKeySigner.js +37 -0
- package/script/src/signing/_privateKeySigner.js.map +1 -0
- package/script/src/signing/mod.d.ts +33 -80
- package/script/src/signing/mod.d.ts.map +1 -1
- package/script/src/signing/mod.js +75 -116
- package/script/src/signing/mod.js.map +1 -1
- package/script/src/transport/_base.d.ts +51 -0
- package/script/src/transport/_base.d.ts.map +1 -0
- package/script/src/transport/_base.js +13 -0
- package/script/src/transport/_base.js.map +1 -0
- package/script/src/transport/_polyfills.d.ts +30 -3
- package/script/src/transport/_polyfills.d.ts.map +1 -1
- package/script/src/transport/_polyfills.js +12 -6
- package/script/src/transport/_polyfills.js.map +1 -1
- package/script/src/transport/http/mod.d.ts +68 -51
- package/script/src/transport/http/mod.d.ts.map +1 -1
- package/script/src/transport/http/mod.js +90 -76
- package/script/src/transport/http/mod.js.map +1 -1
- package/script/src/transport/mod.d.ts +19 -0
- package/script/src/transport/mod.d.ts.map +1 -0
- package/script/src/transport/mod.js +35 -0
- package/script/src/transport/mod.js.map +1 -0
- package/script/src/transport/websocket/_hyperliquidEventTarget.d.ts +67 -0
- package/script/src/transport/websocket/_hyperliquidEventTarget.d.ts.map +1 -0
- package/script/src/transport/websocket/_hyperliquidEventTarget.js +96 -0
- package/script/src/transport/websocket/_hyperliquidEventTarget.js.map +1 -0
- package/script/src/transport/websocket/_postRequest.d.ts +42 -0
- package/script/src/transport/websocket/_postRequest.d.ts.map +1 -0
- package/script/src/transport/websocket/_postRequest.js +236 -0
- package/script/src/transport/websocket/_postRequest.js.map +1 -0
- package/script/src/transport/websocket/_subscriptionManager.d.ts +51 -0
- package/script/src/transport/websocket/_subscriptionManager.d.ts.map +1 -0
- package/script/src/transport/websocket/_subscriptionManager.js +154 -0
- package/script/src/transport/websocket/_subscriptionManager.js.map +1 -0
- package/script/src/transport/websocket/mod.d.ts +75 -56
- package/script/src/transport/websocket/mod.d.ts.map +1 -1
- package/script/src/transport/websocket/mod.js +126 -177
- package/script/src/transport/websocket/mod.js.map +1 -1
- package/script/src/utils/_format.d.ts +15 -6
- package/script/src/utils/_format.d.ts.map +1 -1
- package/script/src/utils/_format.js +30 -13
- package/script/src/utils/_format.js.map +1 -1
- package/script/src/utils/_symbolConverter.d.ts +21 -15
- package/script/src/utils/_symbolConverter.d.ts.map +1 -1
- package/script/src/utils/_symbolConverter.js +61 -47
- package/script/src/utils/_symbolConverter.js.map +1 -1
- package/script/src/utils/mod.d.ts +24 -1
- package/script/src/utils/mod.d.ts.map +1 -1
- package/script/src/utils/mod.js +24 -1
- package/script/src/utils/mod.js.map +1 -1
- package/src/bin/_utils.ts +283 -120
- package/src/bin/cli.ts +84 -68
- package/src/src/api/_schemas.ts +110 -0
- package/src/src/api/exchange/_methods/_base/_nonce.ts +28 -0
- package/src/src/api/exchange/_methods/_base/_semaphore.ts +99 -0
- package/src/src/api/exchange/_methods/_base/commonSchemas.ts +84 -0
- package/src/src/api/exchange/_methods/_base/errors.ts +108 -0
- package/src/src/api/exchange/_methods/_base/execute.ts +350 -0
- package/src/src/api/exchange/_methods/agentEnableDexAbstraction.ts +108 -0
- package/src/src/api/exchange/_methods/approveAgent.ts +163 -0
- package/src/src/api/exchange/_methods/approveBuilderFee.ts +156 -0
- package/src/src/api/exchange/_methods/batchModify.ts +250 -0
- package/src/src/api/exchange/_methods/cDeposit.ts +151 -0
- package/src/src/api/exchange/_methods/cSignerAction.ts +145 -0
- package/src/src/api/exchange/_methods/cValidatorAction.ts +252 -0
- package/src/src/api/exchange/_methods/cWithdraw.ts +151 -0
- package/src/src/api/exchange/_methods/cancel.ts +187 -0
- package/src/src/api/exchange/_methods/cancelByCloid.ts +149 -0
- package/src/src/api/exchange/_methods/claimRewards.ts +96 -0
- package/src/src/api/exchange/_methods/convertToMultiSigUser.ts +212 -0
- package/src/src/api/exchange/_methods/createSubAccount.ts +145 -0
- package/src/src/api/exchange/_methods/createVault.ts +168 -0
- package/src/src/api/exchange/_methods/evmUserModify.ts +126 -0
- package/src/src/api/exchange/_methods/linkStakingUser.ts +172 -0
- package/src/src/api/exchange/_methods/modify.ts +236 -0
- package/src/src/api/exchange/_methods/noop.ts +106 -0
- package/src/src/api/exchange/_methods/order.ts +351 -0
- package/src/src/api/exchange/_methods/perpDeploy.ts +539 -0
- package/src/src/api/exchange/_methods/registerReferrer.ts +120 -0
- package/src/src/api/exchange/_methods/reserveRequestWeight.ts +127 -0
- package/src/src/api/exchange/_methods/scheduleCancel.ts +153 -0
- package/src/src/api/exchange/_methods/sendAsset.ts +189 -0
- package/src/src/api/exchange/_methods/setDisplayName.ts +125 -0
- package/src/src/api/exchange/_methods/setReferrer.ts +120 -0
- package/src/src/api/exchange/_methods/spotDeploy.ts +369 -0
- package/src/src/api/exchange/_methods/spotSend.ts +166 -0
- package/src/src/api/exchange/_methods/spotUser.ts +124 -0
- package/src/src/api/exchange/_methods/subAccountModify.ts +125 -0
- package/src/src/api/exchange/_methods/subAccountSpotTransfer.ts +138 -0
- package/src/src/api/exchange/_methods/subAccountTransfer.ts +129 -0
- package/src/src/api/exchange/_methods/tokenDelegate.ts +163 -0
- package/src/src/api/exchange/_methods/twapCancel.ts +173 -0
- package/src/src/api/exchange/_methods/twapOrder.ts +222 -0
- package/src/src/api/exchange/_methods/updateIsolatedMargin.ts +141 -0
- package/src/src/api/exchange/_methods/updateLeverage.ts +142 -0
- package/src/src/api/exchange/_methods/usdClassTransfer.ts +156 -0
- package/src/src/api/exchange/_methods/usdSend.ts +156 -0
- package/src/src/api/exchange/_methods/userDexAbstraction.ts +158 -0
- package/src/src/api/exchange/_methods/validatorL1Stream.ts +126 -0
- package/src/src/api/exchange/_methods/vaultDistribute.ts +129 -0
- package/src/src/api/exchange/_methods/vaultModify.ts +132 -0
- package/src/src/api/exchange/_methods/vaultTransfer.ts +137 -0
- package/src/src/api/exchange/_methods/withdraw3.ts +156 -0
- package/src/src/api/exchange/client.ts +830 -0
- package/src/src/api/exchange/mod.ts +87 -0
- package/src/src/api/info/_methods/_base/commonSchemas.ts +630 -0
- package/src/src/api/info/_methods/_base/types.ts +7 -0
- package/src/src/api/info/_methods/activeAssetData.ts +158 -0
- package/src/src/api/info/_methods/alignedQuoteTokenInfo.ts +117 -0
- package/src/src/api/info/_methods/allBorrowLendReserveStates.ts +131 -0
- package/src/src/api/info/_methods/allMids.ts +99 -0
- package/src/src/api/info/_methods/allPerpMetas.ts +72 -0
- package/src/src/api/info/_methods/blockDetails.ts +129 -0
- package/src/src/api/info/_methods/borrowLendUserState.ts +151 -0
- package/src/src/api/info/_methods/candleSnapshot.ts +164 -0
- package/src/src/api/info/_methods/clearinghouseState.ts +286 -0
- package/src/src/api/info/_methods/delegations.ts +108 -0
- package/src/src/api/info/_methods/delegatorHistory.ts +164 -0
- package/src/src/api/info/_methods/delegatorRewards.ts +108 -0
- package/src/src/api/info/_methods/delegatorSummary.ts +111 -0
- package/src/src/api/info/_methods/exchangeStatus.ts +83 -0
- package/src/src/api/info/_methods/extraAgents.ts +105 -0
- package/src/src/api/info/_methods/frontendOpenOrders.ts +96 -0
- package/src/src/api/info/_methods/fundingHistory.ts +123 -0
- package/src/src/api/info/_methods/gossipRootIps.ts +70 -0
- package/src/src/api/info/_methods/historicalOrders.ts +171 -0
- package/src/src/api/info/_methods/isVip.ts +86 -0
- package/src/src/api/info/_methods/l2Book.ts +141 -0
- package/src/src/api/info/_methods/l3Orders.ts +196 -0
- package/src/src/api/info/_methods/l4Orders.ts +233 -0
- package/src/src/api/info/_methods/leadingVaults.ts +99 -0
- package/src/src/api/info/_methods/legalCheck.ts +102 -0
- package/src/src/api/info/_methods/liquidatable.ts +70 -0
- package/src/src/api/info/_methods/marginTable.ts +113 -0
- package/src/src/api/info/_methods/maxBuilderFee.ts +97 -0
- package/src/src/api/info/_methods/maxMarketOrderNtls.ts +74 -0
- package/src/src/api/info/_methods/meta.ts +170 -0
- package/src/src/api/info/_methods/metaAndAssetCtxs.ts +102 -0
- package/src/src/api/info/_methods/openOrders.ts +96 -0
- package/src/src/api/info/_methods/orderStatus.ts +200 -0
- package/src/src/api/info/_methods/perpDeployAuctionStatus.ts +102 -0
- package/src/src/api/info/_methods/perpDexLimits.ts +113 -0
- package/src/src/api/info/_methods/perpDexStatus.ts +93 -0
- package/src/src/api/info/_methods/perpDexs.ts +140 -0
- package/src/src/api/info/_methods/perpsAtOpenInterestCap.ts +97 -0
- package/src/src/api/info/_methods/portfolio.ts +124 -0
- package/src/src/api/info/_methods/preTransferCheck.ts +112 -0
- package/src/src/api/info/_methods/predictedFundings.ts +108 -0
- package/src/src/api/info/_methods/recentTrades.ts +130 -0
- package/src/src/api/info/_methods/referral.ts +309 -0
- package/src/src/api/info/_methods/spotClearinghouseState.ts +154 -0
- package/src/src/api/info/_methods/spotDeployState.ts +176 -0
- package/src/src/api/info/_methods/spotMeta.ts +171 -0
- package/src/src/api/info/_methods/spotMetaAndAssetCtxs.ts +80 -0
- package/src/src/api/info/_methods/spotPairDeployAuctionStatus.ts +76 -0
- package/src/src/api/info/_methods/subAccounts.ts +123 -0
- package/src/src/api/info/_methods/subAccounts2.ts +121 -0
- package/src/src/api/info/_methods/tokenDetails.ts +190 -0
- package/src/src/api/info/_methods/twapHistory.ts +142 -0
- package/src/src/api/info/_methods/txDetails.ts +98 -0
- package/src/src/api/info/_methods/userDetails.ts +97 -0
- package/src/src/api/info/_methods/userDexAbstraction.ts +90 -0
- package/src/src/api/info/_methods/userFees.ts +326 -0
- package/src/src/api/info/_methods/userFills.ts +130 -0
- package/src/src/api/info/_methods/userFillsByTime.ts +106 -0
- package/src/src/api/info/_methods/userFunding.ts +150 -0
- package/src/src/api/info/_methods/userNonFundingLedgerUpdates.ts +546 -0
- package/src/src/api/info/_methods/userRateLimit.ts +111 -0
- package/src/src/api/info/_methods/userRole.ts +134 -0
- package/src/src/api/info/_methods/userToMultiSigSigners.ts +101 -0
- package/src/src/api/info/_methods/userTwapSliceFills.ts +104 -0
- package/src/src/api/info/_methods/userTwapSliceFillsByTime.ts +103 -0
- package/src/src/api/info/_methods/userVaultEquities.ts +108 -0
- package/src/src/api/info/_methods/validatorL1Votes.ts +99 -0
- package/src/src/api/info/_methods/validatorSummaries.ts +159 -0
- package/src/src/api/info/_methods/vaultDetails.ts +254 -0
- package/src/src/api/info/_methods/vaultSummaries.ts +111 -0
- package/src/src/api/info/_methods/webData2.ts +179 -0
- package/src/src/api/info/client.ts +898 -0
- package/src/src/api/info/mod.ts +97 -0
- package/src/src/api/subscription/_methods/_types.ts +7 -0
- package/src/src/api/subscription/_methods/activeAssetCtx.ts +98 -0
- package/src/src/api/subscription/_methods/activeAssetData.ts +93 -0
- package/src/src/api/subscription/_methods/activeSpotAssetCtx.ts +97 -0
- package/src/src/api/subscription/_methods/allDexsAssetCtxs.ts +87 -0
- package/src/src/api/subscription/_methods/allDexsClearinghouseState.ts +107 -0
- package/src/src/api/subscription/_methods/allMids.ts +113 -0
- package/src/src/api/subscription/_methods/assetCtxs.ts +111 -0
- package/src/src/api/subscription/_methods/bbo.ts +126 -0
- package/src/src/api/subscription/_methods/candle.ts +143 -0
- package/src/src/api/subscription/_methods/clearinghouseState.ts +111 -0
- package/src/src/api/subscription/_methods/explorerBlock.ts +101 -0
- package/src/src/api/subscription/_methods/explorerTxs.ts +71 -0
- package/src/src/api/subscription/_methods/l2Book.ts +151 -0
- package/src/src/api/subscription/_methods/notification.ts +91 -0
- package/src/src/api/subscription/_methods/openOrders.ts +113 -0
- package/src/src/api/subscription/_methods/orderUpdates.ts +166 -0
- package/src/src/api/subscription/_methods/spotAssetCtxs.ts +75 -0
- package/src/src/api/subscription/_methods/spotState.ts +104 -0
- package/src/src/api/subscription/_methods/trades.ts +87 -0
- package/src/src/api/subscription/_methods/twapStates.ts +105 -0
- package/src/src/api/subscription/_methods/userEvents.ts +203 -0
- package/src/src/api/subscription/_methods/userFills.ts +113 -0
- package/src/src/api/subscription/_methods/userFundings.ts +136 -0
- package/src/src/api/subscription/_methods/userHistoricalOrders.ts +104 -0
- package/src/src/api/subscription/_methods/userNonFundingLedgerUpdates.ts +107 -0
- package/src/src/api/subscription/_methods/userTwapHistory.ts +104 -0
- package/src/src/api/subscription/_methods/userTwapSliceFills.ts +104 -0
- package/src/src/api/subscription/_methods/webData2.ts +88 -0
- package/src/src/api/subscription/_methods/webData3.ts +164 -0
- package/src/src/api/subscription/client.ts +441 -0
- package/src/src/api/subscription/mod.ts +56 -0
- package/src/src/mod.ts +34 -9
- package/src/src/signing/_abstractWallet.ts +315 -0
- package/src/src/signing/_privateKeySigner.ts +56 -0
- package/src/src/signing/mod.ts +78 -130
- package/src/src/transport/_base.ts +57 -0
- package/src/src/transport/_polyfills.ts +14 -7
- package/src/src/transport/http/mod.ts +94 -107
- package/src/src/transport/mod.ts +19 -0
- package/src/src/transport/websocket/_hyperliquidEventTarget.ts +131 -0
- package/src/src/transport/websocket/_postRequest.ts +292 -0
- package/src/src/transport/websocket/_subscriptionManager.ts +195 -0
- package/src/src/transport/websocket/mod.ts +152 -223
- package/src/src/utils/_format.ts +32 -13
- package/src/src/utils/_symbolConverter.ts +72 -52
- package/src/src/utils/mod.ts +25 -1
- package/esm/src/api/_base.d.ts +0 -53
- package/esm/src/api/_base.d.ts.map +0 -1
- package/esm/src/api/_base.js +0 -67
- package/esm/src/api/_base.js.map +0 -1
- package/esm/src/api/_common_schemas.d.ts +0 -425
- package/esm/src/api/_common_schemas.d.ts.map +0 -1
- package/esm/src/api/_common_schemas.js +0 -435
- package/esm/src/api/_common_schemas.js.map +0 -1
- package/esm/src/api/exchange/_base/_errors.d.ts +0 -16
- package/esm/src/api/exchange/_base/_errors.d.ts.map +0 -1
- package/esm/src/api/exchange/_base/_errors.js +0 -51
- package/esm/src/api/exchange/_base/_errors.js.map +0 -1
- package/esm/src/api/exchange/_base/_execute.d.ts +0 -43
- package/esm/src/api/exchange/_base/_execute.d.ts.map +0 -1
- package/esm/src/api/exchange/_base/_execute.js +0 -181
- package/esm/src/api/exchange/_base/_execute.js.map +0 -1
- package/esm/src/api/exchange/_base/_nonce.d.ts +0 -5
- package/esm/src/api/exchange/_base/_nonce.d.ts.map +0 -1
- package/esm/src/api/exchange/_base/_nonce.js +0 -28
- package/esm/src/api/exchange/_base/_nonce.js.map +0 -1
- package/esm/src/api/exchange/_base/_schemas.d.ts +0 -45
- package/esm/src/api/exchange/_base/_schemas.d.ts.map +0 -1
- package/esm/src/api/exchange/_base/_schemas.js +0 -35
- package/esm/src/api/exchange/_base/_schemas.js.map +0 -1
- package/esm/src/api/exchange/_base/_types.d.ts +0 -105
- package/esm/src/api/exchange/_base/_types.d.ts.map +0 -1
- package/esm/src/api/exchange/_base/_types.js.map +0 -1
- package/esm/src/api/exchange/_base/mod.d.ts +0 -5
- package/esm/src/api/exchange/_base/mod.d.ts.map +0 -1
- package/esm/src/api/exchange/_base/mod.js +0 -5
- package/esm/src/api/exchange/_base/mod.js.map +0 -1
- package/esm/src/api/exchange/agentEnableDexAbstraction.d.ts +0 -106
- package/esm/src/api/exchange/agentEnableDexAbstraction.d.ts.map +0 -1
- package/esm/src/api/exchange/agentEnableDexAbstraction.js +0 -78
- package/esm/src/api/exchange/agentEnableDexAbstraction.js.map +0 -1
- package/esm/src/api/exchange/approveAgent.d.ts +0 -136
- package/esm/src/api/exchange/approveAgent.d.ts.map +0 -1
- package/esm/src/api/exchange/approveAgent.js +0 -99
- package/esm/src/api/exchange/approveAgent.js.map +0 -1
- package/esm/src/api/exchange/approveBuilderFee.d.ts +0 -136
- package/esm/src/api/exchange/approveBuilderFee.d.ts.map +0 -1
- package/esm/src/api/exchange/approveBuilderFee.js +0 -99
- package/esm/src/api/exchange/approveBuilderFee.js.map +0 -1
- package/esm/src/api/exchange/batchModify.d.ts +0 -329
- package/esm/src/api/exchange/batchModify.d.ts.map +0 -1
- package/esm/src/api/exchange/batchModify.js +0 -109
- package/esm/src/api/exchange/batchModify.js.map +0 -1
- package/esm/src/api/exchange/cDeposit.d.ts +0 -132
- package/esm/src/api/exchange/cDeposit.d.ts.map +0 -1
- package/esm/src/api/exchange/cDeposit.js +0 -96
- package/esm/src/api/exchange/cDeposit.js.map +0 -1
- package/esm/src/api/exchange/cSignerAction.d.ts +0 -127
- package/esm/src/api/exchange/cSignerAction.d.ts.map +0 -1
- package/esm/src/api/exchange/cSignerAction.js +0 -92
- package/esm/src/api/exchange/cSignerAction.js.map +0 -1
- package/esm/src/api/exchange/cValidatorAction.d.ts +0 -290
- package/esm/src/api/exchange/cValidatorAction.d.ts.map +0 -1
- package/esm/src/api/exchange/cValidatorAction.js +0 -168
- package/esm/src/api/exchange/cValidatorAction.js.map +0 -1
- package/esm/src/api/exchange/cWithdraw.d.ts +0 -132
- package/esm/src/api/exchange/cWithdraw.d.ts.map +0 -1
- package/esm/src/api/exchange/cWithdraw.js +0 -96
- package/esm/src/api/exchange/cWithdraw.js.map +0 -1
- package/esm/src/api/exchange/cancel.d.ts +0 -150
- package/esm/src/api/exchange/cancel.d.ts.map +0 -1
- package/esm/src/api/exchange/cancel.js +0 -115
- package/esm/src/api/exchange/cancel.js.map +0 -1
- package/esm/src/api/exchange/cancelByCloid.d.ts +0 -145
- package/esm/src/api/exchange/cancelByCloid.d.ts.map +0 -1
- package/esm/src/api/exchange/cancelByCloid.js +0 -95
- package/esm/src/api/exchange/cancelByCloid.js.map +0 -1
- package/esm/src/api/exchange/claimRewards.d.ts +0 -97
- package/esm/src/api/exchange/claimRewards.d.ts.map +0 -1
- package/esm/src/api/exchange/claimRewards.js +0 -69
- package/esm/src/api/exchange/claimRewards.js.map +0 -1
- package/esm/src/api/exchange/convertToMultiSigUser.d.ts +0 -170
- package/esm/src/api/exchange/convertToMultiSigUser.d.ts.map +0 -1
- package/esm/src/api/exchange/convertToMultiSigUser.js +0 -129
- package/esm/src/api/exchange/convertToMultiSigUser.js.map +0 -1
- package/esm/src/api/exchange/createSubAccount.d.ts +0 -117
- package/esm/src/api/exchange/createSubAccount.d.ts.map +0 -1
- package/esm/src/api/exchange/createSubAccount.js +0 -90
- package/esm/src/api/exchange/createSubAccount.js.map +0 -1
- package/esm/src/api/exchange/createVault.d.ts +0 -133
- package/esm/src/api/exchange/createVault.d.ts.map +0 -1
- package/esm/src/api/exchange/createVault.js +0 -102
- package/esm/src/api/exchange/createVault.js.map +0 -1
- package/esm/src/api/exchange/evmUserModify.d.ts +0 -116
- package/esm/src/api/exchange/evmUserModify.d.ts.map +0 -1
- package/esm/src/api/exchange/evmUserModify.js +0 -84
- package/esm/src/api/exchange/evmUserModify.js.map +0 -1
- package/esm/src/api/exchange/linkStakingUser.d.ts +0 -144
- package/esm/src/api/exchange/linkStakingUser.d.ts.map +0 -1
- package/esm/src/api/exchange/linkStakingUser.js +0 -111
- package/esm/src/api/exchange/linkStakingUser.js.map +0 -1
- package/esm/src/api/exchange/modify.d.ts +0 -222
- package/esm/src/api/exchange/modify.d.ts.map +0 -1
- package/esm/src/api/exchange/modify.js +0 -104
- package/esm/src/api/exchange/modify.js.map +0 -1
- package/esm/src/api/exchange/multiSig.d.ts +0 -4314
- package/esm/src/api/exchange/multiSig.d.ts.map +0 -1
- package/esm/src/api/exchange/multiSig.js +0 -272
- package/esm/src/api/exchange/multiSig.js.map +0 -1
- package/esm/src/api/exchange/noop.d.ts +0 -106
- package/esm/src/api/exchange/noop.d.ts.map +0 -1
- package/esm/src/api/exchange/noop.js +0 -78
- package/esm/src/api/exchange/noop.js.map +0 -1
- package/esm/src/api/exchange/order.d.ts +0 -354
- package/esm/src/api/exchange/order.d.ts.map +0 -1
- package/esm/src/api/exchange/order.js +0 -162
- package/esm/src/api/exchange/order.js.map +0 -1
- package/esm/src/api/exchange/perpDeploy.d.ts +0 -400
- package/esm/src/api/exchange/perpDeploy.d.ts.map +0 -1
- package/esm/src/api/exchange/perpDeploy.js +0 -208
- package/esm/src/api/exchange/perpDeploy.js.map +0 -1
- package/esm/src/api/exchange/registerReferrer.d.ts +0 -109
- package/esm/src/api/exchange/registerReferrer.d.ts.map +0 -1
- package/esm/src/api/exchange/registerReferrer.js +0 -77
- package/esm/src/api/exchange/registerReferrer.js.map +0 -1
- package/esm/src/api/exchange/reserveRequestWeight.d.ts +0 -116
- package/esm/src/api/exchange/reserveRequestWeight.d.ts.map +0 -1
- package/esm/src/api/exchange/reserveRequestWeight.js +0 -84
- package/esm/src/api/exchange/reserveRequestWeight.js.map +0 -1
- package/esm/src/api/exchange/scheduleCancel.d.ts +0 -125
- package/esm/src/api/exchange/scheduleCancel.d.ts.map +0 -1
- package/esm/src/api/exchange/scheduleCancel.js +0 -71
- package/esm/src/api/exchange/scheduleCancel.js.map +0 -1
- package/esm/src/api/exchange/sendAsset.d.ts +0 -158
- package/esm/src/api/exchange/sendAsset.d.ts.map +0 -1
- package/esm/src/api/exchange/sendAsset.js +0 -117
- package/esm/src/api/exchange/sendAsset.js.map +0 -1
- package/esm/src/api/exchange/setDisplayName.d.ts +0 -113
- package/esm/src/api/exchange/setDisplayName.d.ts.map +0 -1
- package/esm/src/api/exchange/setDisplayName.js +0 -82
- package/esm/src/api/exchange/setDisplayName.js.map +0 -1
- package/esm/src/api/exchange/setReferrer.d.ts +0 -109
- package/esm/src/api/exchange/setReferrer.d.ts.map +0 -1
- package/esm/src/api/exchange/setReferrer.js +0 -77
- package/esm/src/api/exchange/setReferrer.js.map +0 -1
- package/esm/src/api/exchange/spotDeploy.d.ts +0 -389
- package/esm/src/api/exchange/spotDeploy.d.ts.map +0 -1
- package/esm/src/api/exchange/spotDeploy.js +0 -196
- package/esm/src/api/exchange/spotDeploy.js.map +0 -1
- package/esm/src/api/exchange/spotSend.d.ts +0 -144
- package/esm/src/api/exchange/spotSend.d.ts.map +0 -1
- package/esm/src/api/exchange/spotSend.js +0 -106
- package/esm/src/api/exchange/spotSend.js.map +0 -1
- package/esm/src/api/exchange/spotUser.d.ts +0 -118
- package/esm/src/api/exchange/spotUser.d.ts.map +0 -1
- package/esm/src/api/exchange/spotUser.js +0 -80
- package/esm/src/api/exchange/spotUser.js.map +0 -1
- package/esm/src/api/exchange/subAccountModify.d.ts +0 -113
- package/esm/src/api/exchange/subAccountModify.d.ts.map +0 -1
- package/esm/src/api/exchange/subAccountModify.js +0 -79
- package/esm/src/api/exchange/subAccountModify.js.map +0 -1
- package/esm/src/api/exchange/subAccountSpotTransfer.d.ts +0 -126
- package/esm/src/api/exchange/subAccountSpotTransfer.d.ts.map +0 -1
- package/esm/src/api/exchange/subAccountSpotTransfer.js +0 -88
- package/esm/src/api/exchange/subAccountSpotTransfer.js.map +0 -1
- package/esm/src/api/exchange/subAccountTransfer.d.ts +0 -117
- package/esm/src/api/exchange/subAccountTransfer.d.ts.map +0 -1
- package/esm/src/api/exchange/subAccountTransfer.js +0 -81
- package/esm/src/api/exchange/subAccountTransfer.js.map +0 -1
- package/esm/src/api/exchange/tokenDelegate.d.ts +0 -140
- package/esm/src/api/exchange/tokenDelegate.d.ts.map +0 -1
- package/esm/src/api/exchange/tokenDelegate.js +0 -102
- package/esm/src/api/exchange/tokenDelegate.js.map +0 -1
- package/esm/src/api/exchange/twapCancel.d.ts +0 -136
- package/esm/src/api/exchange/twapCancel.d.ts.map +0 -1
- package/esm/src/api/exchange/twapCancel.js +0 -108
- package/esm/src/api/exchange/twapCancel.js.map +0 -1
- package/esm/src/api/exchange/twapOrder.d.ts +0 -199
- package/esm/src/api/exchange/twapOrder.d.ts.map +0 -1
- package/esm/src/api/exchange/twapOrder.js +0 -134
- package/esm/src/api/exchange/twapOrder.js.map +0 -1
- package/esm/src/api/exchange/updateIsolatedMargin.d.ts +0 -127
- package/esm/src/api/exchange/updateIsolatedMargin.d.ts.map +0 -1
- package/esm/src/api/exchange/updateIsolatedMargin.js +0 -91
- package/esm/src/api/exchange/updateIsolatedMargin.js.map +0 -1
- package/esm/src/api/exchange/updateLeverage.d.ts +0 -127
- package/esm/src/api/exchange/updateLeverage.d.ts.map +0 -1
- package/esm/src/api/exchange/updateLeverage.js +0 -91
- package/esm/src/api/exchange/updateLeverage.js.map +0 -1
- package/esm/src/api/exchange/usdClassTransfer.d.ts +0 -136
- package/esm/src/api/exchange/usdClassTransfer.d.ts.map +0 -1
- package/esm/src/api/exchange/usdClassTransfer.js +0 -99
- package/esm/src/api/exchange/usdClassTransfer.js.map +0 -1
- package/esm/src/api/exchange/usdSend.d.ts +0 -136
- package/esm/src/api/exchange/usdSend.d.ts.map +0 -1
- package/esm/src/api/exchange/usdSend.js +0 -99
- package/esm/src/api/exchange/usdSend.js.map +0 -1
- package/esm/src/api/exchange/userDexAbstraction.d.ts +0 -136
- package/esm/src/api/exchange/userDexAbstraction.d.ts.map +0 -1
- package/esm/src/api/exchange/userDexAbstraction.js +0 -99
- package/esm/src/api/exchange/userDexAbstraction.js.map +0 -1
- package/esm/src/api/exchange/validatorL1Stream.d.ts +0 -116
- package/esm/src/api/exchange/validatorL1Stream.d.ts.map +0 -1
- package/esm/src/api/exchange/validatorL1Stream.js +0 -84
- package/esm/src/api/exchange/validatorL1Stream.js.map +0 -1
- package/esm/src/api/exchange/vaultDistribute.d.ts +0 -117
- package/esm/src/api/exchange/vaultDistribute.d.ts.map +0 -1
- package/esm/src/api/exchange/vaultDistribute.js +0 -84
- package/esm/src/api/exchange/vaultDistribute.js.map +0 -1
- package/esm/src/api/exchange/vaultModify.d.ts +0 -121
- package/esm/src/api/exchange/vaultModify.d.ts.map +0 -1
- package/esm/src/api/exchange/vaultModify.js +0 -85
- package/esm/src/api/exchange/vaultModify.js.map +0 -1
- package/esm/src/api/exchange/vaultTransfer.d.ts +0 -124
- package/esm/src/api/exchange/vaultTransfer.d.ts.map +0 -1
- package/esm/src/api/exchange/vaultTransfer.js +0 -88
- package/esm/src/api/exchange/vaultTransfer.js.map +0 -1
- package/esm/src/api/exchange/withdraw3.d.ts +0 -136
- package/esm/src/api/exchange/withdraw3.d.ts.map +0 -1
- package/esm/src/api/exchange/withdraw3.js +0 -99
- package/esm/src/api/exchange/withdraw3.js.map +0 -1
- package/esm/src/api/exchange/~client.d.ts +0 -1381
- package/esm/src/api/exchange/~client.d.ts.map +0 -1
- package/esm/src/api/exchange/~client.js +0 -1445
- package/esm/src/api/exchange/~client.js.map +0 -1
- package/esm/src/api/exchange/~mod.d.ts +0 -87
- package/esm/src/api/exchange/~mod.d.ts.map +0 -1
- package/esm/src/api/exchange/~mod.js +0 -87
- package/esm/src/api/exchange/~mod.js.map +0 -1
- package/esm/src/api/info/_types.d.ts +0 -7
- package/esm/src/api/info/_types.d.ts.map +0 -1
- package/esm/src/api/info/_types.js +0 -2
- package/esm/src/api/info/_types.js.map +0 -1
- package/esm/src/api/info/activeAssetData.d.ts +0 -98
- package/esm/src/api/info/activeAssetData.d.ts.map +0 -1
- package/esm/src/api/info/activeAssetData.js +0 -88
- package/esm/src/api/info/activeAssetData.js.map +0 -1
- package/esm/src/api/info/alignedQuoteTokenInfo.d.ts +0 -66
- package/esm/src/api/info/alignedQuoteTokenInfo.d.ts.map +0 -1
- package/esm/src/api/info/alignedQuoteTokenInfo.js +0 -74
- package/esm/src/api/info/alignedQuoteTokenInfo.js.map +0 -1
- package/esm/src/api/info/allMids.d.ts +0 -49
- package/esm/src/api/info/allMids.d.ts.map +0 -1
- package/esm/src/api/info/allMids.js +0 -38
- package/esm/src/api/info/allMids.js.map +0 -1
- package/esm/src/api/info/allPerpMetas.d.ts +0 -145
- package/esm/src/api/info/allPerpMetas.d.ts.map +0 -1
- package/esm/src/api/info/allPerpMetas.js +0 -51
- package/esm/src/api/info/allPerpMetas.js.map +0 -1
- package/esm/src/api/info/blockDetails.d.ts +0 -151
- package/esm/src/api/info/blockDetails.d.ts.map +0 -1
- package/esm/src/api/info/blockDetails.js +0 -94
- package/esm/src/api/info/blockDetails.js.map +0 -1
- package/esm/src/api/info/candleSnapshot.d.ts +0 -111
- package/esm/src/api/info/candleSnapshot.d.ts.map +0 -1
- package/esm/src/api/info/candleSnapshot.js +0 -91
- package/esm/src/api/info/candleSnapshot.js.map +0 -1
- package/esm/src/api/info/clearinghouseState.d.ts +0 -269
- package/esm/src/api/info/clearinghouseState.d.ts.map +0 -1
- package/esm/src/api/info/clearinghouseState.js +0 -143
- package/esm/src/api/info/clearinghouseState.js.map +0 -1
- package/esm/src/api/info/delegations.d.ts +0 -64
- package/esm/src/api/info/delegations.d.ts.map +0 -1
- package/esm/src/api/info/delegations.js +0 -67
- package/esm/src/api/info/delegations.js.map +0 -1
- package/esm/src/api/info/delegatorHistory.d.ts +0 -142
- package/esm/src/api/info/delegatorHistory.d.ts.map +0 -1
- package/esm/src/api/info/delegatorHistory.js +0 -95
- package/esm/src/api/info/delegatorHistory.js.map +0 -1
- package/esm/src/api/info/delegatorRewards.d.ts +0 -64
- package/esm/src/api/info/delegatorRewards.d.ts.map +0 -1
- package/esm/src/api/info/delegatorRewards.js +0 -67
- package/esm/src/api/info/delegatorRewards.js.map +0 -1
- package/esm/src/api/info/delegatorSummary.d.ts +0 -63
- package/esm/src/api/info/delegatorSummary.d.ts.map +0 -1
- package/esm/src/api/info/delegatorSummary.js +0 -67
- package/esm/src/api/info/delegatorSummary.js.map +0 -1
- package/esm/src/api/info/exchangeStatus.d.ts +0 -46
- package/esm/src/api/info/exchangeStatus.d.ts.map +0 -1
- package/esm/src/api/info/exchangeStatus.js +0 -55
- package/esm/src/api/info/exchangeStatus.js.map +0 -1
- package/esm/src/api/info/extraAgents.d.ts +0 -64
- package/esm/src/api/info/extraAgents.d.ts.map +0 -1
- package/esm/src/api/info/extraAgents.js +0 -67
- package/esm/src/api/info/extraAgents.js.map +0 -1
- package/esm/src/api/info/frontendOpenOrders.d.ts +0 -103
- package/esm/src/api/info/frontendOpenOrders.d.ts.map +0 -1
- package/esm/src/api/info/frontendOpenOrders.js +0 -61
- package/esm/src/api/info/frontendOpenOrders.js.map +0 -1
- package/esm/src/api/info/fundingHistory.d.ts +0 -74
- package/esm/src/api/info/fundingHistory.d.ts.map +0 -1
- package/esm/src/api/info/fundingHistory.js +0 -73
- package/esm/src/api/info/fundingHistory.js.map +0 -1
- package/esm/src/api/info/gossipRootIps.d.ts +0 -39
- package/esm/src/api/info/gossipRootIps.d.ts.map +0 -1
- package/esm/src/api/info/gossipRootIps.js +0 -50
- package/esm/src/api/info/gossipRootIps.js.map +0 -1
- package/esm/src/api/info/historicalOrders.d.ts +0 -132
- package/esm/src/api/info/historicalOrders.d.ts.map +0 -1
- package/esm/src/api/info/historicalOrders.js +0 -68
- package/esm/src/api/info/historicalOrders.js.map +0 -1
- package/esm/src/api/info/isVip.d.ts +0 -49
- package/esm/src/api/info/isVip.d.ts.map +0 -1
- package/esm/src/api/info/isVip.js +0 -58
- package/esm/src/api/info/isVip.js.map +0 -1
- package/esm/src/api/info/l2Book.d.ts +0 -98
- package/esm/src/api/info/l2Book.d.ts.map +0 -1
- package/esm/src/api/info/l2Book.js +0 -70
- package/esm/src/api/info/l2Book.js.map +0 -1
- package/esm/src/api/info/leadingVaults.d.ts +0 -60
- package/esm/src/api/info/leadingVaults.d.ts.map +0 -1
- package/esm/src/api/info/leadingVaults.js +0 -65
- package/esm/src/api/info/leadingVaults.js.map +0 -1
- package/esm/src/api/info/legalCheck.d.ts +0 -60
- package/esm/src/api/info/legalCheck.d.ts.map +0 -1
- package/esm/src/api/info/legalCheck.js +0 -65
- package/esm/src/api/info/legalCheck.js.map +0 -1
- package/esm/src/api/info/liquidatable.d.ts +0 -38
- package/esm/src/api/info/liquidatable.d.ts.map +0 -1
- package/esm/src/api/info/liquidatable.js +0 -49
- package/esm/src/api/info/liquidatable.js.map +0 -1
- package/esm/src/api/info/marginTable.d.ts +0 -71
- package/esm/src/api/info/marginTable.d.ts.map +0 -1
- package/esm/src/api/info/marginTable.js +0 -70
- package/esm/src/api/info/marginTable.js.map +0 -1
- package/esm/src/api/info/maxBuilderFee.d.ts +0 -52
- package/esm/src/api/info/maxBuilderFee.d.ts.map +0 -1
- package/esm/src/api/info/maxBuilderFee.js +0 -60
- package/esm/src/api/info/maxBuilderFee.js.map +0 -1
- package/esm/src/api/info/maxMarketOrderNtls.d.ts +0 -41
- package/esm/src/api/info/maxMarketOrderNtls.d.ts.map +0 -1
- package/esm/src/api/info/maxMarketOrderNtls.js +0 -53
- package/esm/src/api/info/maxMarketOrderNtls.js.map +0 -1
- package/esm/src/api/info/meta.d.ts +0 -143
- package/esm/src/api/info/meta.d.ts.map +0 -1
- package/esm/src/api/info/meta.js +0 -72
- package/esm/src/api/info/meta.js.map +0 -1
- package/esm/src/api/info/metaAndAssetCtxs.d.ts +0 -204
- package/esm/src/api/info/metaAndAssetCtxs.d.ts.map +0 -1
- package/esm/src/api/info/metaAndAssetCtxs.js +0 -66
- package/esm/src/api/info/metaAndAssetCtxs.js.map +0 -1
- package/esm/src/api/info/openOrders.d.ts +0 -82
- package/esm/src/api/info/openOrders.d.ts.map +0 -1
- package/esm/src/api/info/openOrders.js +0 -61
- package/esm/src/api/info/openOrders.js.map +0 -1
- package/esm/src/api/info/orderStatus.d.ts +0 -150
- package/esm/src/api/info/orderStatus.d.ts.map +0 -1
- package/esm/src/api/info/orderStatus.js +0 -83
- package/esm/src/api/info/orderStatus.js.map +0 -1
- package/esm/src/api/info/perpDeployAuctionStatus.d.ts +0 -56
- package/esm/src/api/info/perpDeployAuctionStatus.d.ts.map +0 -1
- package/esm/src/api/info/perpDeployAuctionStatus.js +0 -62
- package/esm/src/api/info/perpDeployAuctionStatus.js.map +0 -1
- package/esm/src/api/info/perpDexLimits.d.ts +0 -63
- package/esm/src/api/info/perpDexLimits.d.ts.map +0 -1
- package/esm/src/api/info/perpDexLimits.js +0 -67
- package/esm/src/api/info/perpDexLimits.js.map +0 -1
- package/esm/src/api/info/perpDexs.d.ts +0 -78
- package/esm/src/api/info/perpDexs.d.ts.map +0 -1
- package/esm/src/api/info/perpDexs.js +0 -75
- package/esm/src/api/info/perpDexs.js.map +0 -1
- package/esm/src/api/info/perpsAtOpenInterestCap.d.ts +0 -47
- package/esm/src/api/info/perpsAtOpenInterestCap.d.ts.map +0 -1
- package/esm/src/api/info/perpsAtOpenInterestCap.js +0 -37
- package/esm/src/api/info/perpsAtOpenInterestCap.js.map +0 -1
- package/esm/src/api/info/portfolio.d.ts +0 -169
- package/esm/src/api/info/portfolio.d.ts.map +0 -1
- package/esm/src/api/info/portfolio.js +0 -78
- package/esm/src/api/info/portfolio.js.map +0 -1
- package/esm/src/api/info/preTransferCheck.d.ts +0 -66
- package/esm/src/api/info/preTransferCheck.d.ts.map +0 -1
- package/esm/src/api/info/preTransferCheck.js +0 -69
- package/esm/src/api/info/preTransferCheck.js.map +0 -1
- package/esm/src/api/info/predictedFundings.d.ts +0 -66
- package/esm/src/api/info/predictedFundings.d.ts.map +0 -1
- package/esm/src/api/info/predictedFundings.js +0 -72
- package/esm/src/api/info/predictedFundings.js.map +0 -1
- package/esm/src/api/info/recentTrades.d.ts +0 -84
- package/esm/src/api/info/recentTrades.d.ts.map +0 -1
- package/esm/src/api/info/recentTrades.js +0 -77
- package/esm/src/api/info/recentTrades.js.map +0 -1
- package/esm/src/api/info/referral.d.ts +0 -274
- package/esm/src/api/info/referral.d.ts.map +0 -1
- package/esm/src/api/info/referral.js +0 -159
- package/esm/src/api/info/referral.js.map +0 -1
- package/esm/src/api/info/spotClearinghouseState.d.ts +0 -103
- package/esm/src/api/info/spotClearinghouseState.d.ts.map +0 -1
- package/esm/src/api/info/spotClearinghouseState.js +0 -75
- package/esm/src/api/info/spotClearinghouseState.js.map +0 -1
- package/esm/src/api/info/spotDeployState.d.ts +0 -162
- package/esm/src/api/info/spotDeployState.d.ts.map +0 -1
- package/esm/src/api/info/spotDeployState.js +0 -106
- package/esm/src/api/info/spotDeployState.js.map +0 -1
- package/esm/src/api/info/spotMeta.d.ts +0 -137
- package/esm/src/api/info/spotMeta.d.ts.map +0 -1
- package/esm/src/api/info/spotMeta.js +0 -93
- package/esm/src/api/info/spotMeta.js.map +0 -1
- package/esm/src/api/info/spotMetaAndAssetCtxs.d.ts +0 -185
- package/esm/src/api/info/spotMetaAndAssetCtxs.d.ts.map +0 -1
- package/esm/src/api/info/spotMetaAndAssetCtxs.js +0 -75
- package/esm/src/api/info/spotMetaAndAssetCtxs.js.map +0 -1
- package/esm/src/api/info/spotPairDeployAuctionStatus.d.ts +0 -56
- package/esm/src/api/info/spotPairDeployAuctionStatus.d.ts.map +0 -1
- package/esm/src/api/info/spotPairDeployAuctionStatus.js +0 -62
- package/esm/src/api/info/spotPairDeployAuctionStatus.js.map +0 -1
- package/esm/src/api/info/subAccounts.d.ts +0 -412
- package/esm/src/api/info/subAccounts.d.ts.map +0 -1
- package/esm/src/api/info/subAccounts.js +0 -73
- package/esm/src/api/info/subAccounts.js.map +0 -1
- package/esm/src/api/info/subAccounts2.d.ts +0 -498
- package/esm/src/api/info/subAccounts2.d.ts.map +0 -1
- package/esm/src/api/info/subAccounts2.js +0 -76
- package/esm/src/api/info/subAccounts2.js.map +0 -1
- package/esm/src/api/info/tokenDetails.d.ts +0 -114
- package/esm/src/api/info/tokenDetails.d.ts.map +0 -1
- package/esm/src/api/info/tokenDetails.js +0 -98
- package/esm/src/api/info/tokenDetails.js.map +0 -1
- package/esm/src/api/info/twapHistory.d.ts +0 -132
- package/esm/src/api/info/twapHistory.d.ts.map +0 -1
- package/esm/src/api/info/twapHistory.js +0 -70
- package/esm/src/api/info/twapHistory.js.map +0 -1
- package/esm/src/api/info/txDetails.d.ts +0 -102
- package/esm/src/api/info/txDetails.d.ts.map +0 -1
- package/esm/src/api/info/txDetails.js +0 -79
- package/esm/src/api/info/txDetails.js.map +0 -1
- package/esm/src/api/info/userDetails.d.ts +0 -106
- package/esm/src/api/info/userDetails.d.ts.map +0 -1
- package/esm/src/api/info/userDetails.js +0 -64
- package/esm/src/api/info/userDetails.js.map +0 -1
- package/esm/src/api/info/userDexAbstraction.d.ts +0 -49
- package/esm/src/api/info/userDexAbstraction.d.ts.map +0 -1
- package/esm/src/api/info/userDexAbstraction.js +0 -58
- package/esm/src/api/info/userDexAbstraction.js.map +0 -1
- package/esm/src/api/info/userFees.d.ts +0 -269
- package/esm/src/api/info/userFees.d.ts.map +0 -1
- package/esm/src/api/info/userFees.js +0 -173
- package/esm/src/api/info/userFees.js.map +0 -1
- package/esm/src/api/info/userFills.d.ts +0 -122
- package/esm/src/api/info/userFills.d.ts.map +0 -1
- package/esm/src/api/info/userFills.js +0 -61
- package/esm/src/api/info/userFills.js.map +0 -1
- package/esm/src/api/info/userFillsByTime.d.ts +0 -128
- package/esm/src/api/info/userFillsByTime.d.ts.map +0 -1
- package/esm/src/api/info/userFillsByTime.js +0 -65
- package/esm/src/api/info/userFillsByTime.js.map +0 -1
- package/esm/src/api/info/userFunding.d.ts +0 -104
- package/esm/src/api/info/userFunding.d.ts.map +0 -1
- package/esm/src/api/info/userFunding.js +0 -84
- package/esm/src/api/info/userFunding.js.map +0 -1
- package/esm/src/api/info/userNonFundingLedgerUpdates.d.ts +0 -711
- package/esm/src/api/info/userNonFundingLedgerUpdates.d.ts.map +0 -1
- package/esm/src/api/info/userNonFundingLedgerUpdates.js +0 -258
- package/esm/src/api/info/userNonFundingLedgerUpdates.js.map +0 -1
- package/esm/src/api/info/userRateLimit.d.ts +0 -63
- package/esm/src/api/info/userRateLimit.d.ts.map +0 -1
- package/esm/src/api/info/userRateLimit.js +0 -67
- package/esm/src/api/info/userRateLimit.js.map +0 -1
- package/esm/src/api/info/userRole.d.ts +0 -84
- package/esm/src/api/info/userRole.d.ts.map +0 -1
- package/esm/src/api/info/userRole.js +0 -81
- package/esm/src/api/info/userRole.js.map +0 -1
- package/esm/src/api/info/userToMultiSigSigners.d.ts +0 -57
- package/esm/src/api/info/userToMultiSigSigners.d.ts.map +0 -1
- package/esm/src/api/info/userToMultiSigSigners.js +0 -63
- package/esm/src/api/info/userToMultiSigSigners.js.map +0 -1
- package/esm/src/api/info/userTwapSliceFills.d.ts +0 -124
- package/esm/src/api/info/userTwapSliceFills.d.ts.map +0 -1
- package/esm/src/api/info/userTwapSliceFills.js +0 -66
- package/esm/src/api/info/userTwapSliceFills.js.map +0 -1
- package/esm/src/api/info/userTwapSliceFillsByTime.d.ts +0 -133
- package/esm/src/api/info/userTwapSliceFillsByTime.d.ts.map +0 -1
- package/esm/src/api/info/userTwapSliceFillsByTime.js +0 -72
- package/esm/src/api/info/userTwapSliceFillsByTime.js.map +0 -1
- package/esm/src/api/info/userVaultEquities.d.ts +0 -64
- package/esm/src/api/info/userVaultEquities.d.ts.map +0 -1
- package/esm/src/api/info/userVaultEquities.js +0 -67
- package/esm/src/api/info/userVaultEquities.js.map +0 -1
- package/esm/src/api/info/validatorL1Votes.d.ts +0 -70
- package/esm/src/api/info/validatorL1Votes.d.ts.map +0 -1
- package/esm/src/api/info/validatorL1Votes.js +0 -67
- package/esm/src/api/info/validatorL1Votes.js.map +0 -1
- package/esm/src/api/info/validatorSummaries.d.ts +0 -155
- package/esm/src/api/info/validatorSummaries.d.ts.map +0 -1
- package/esm/src/api/info/validatorSummaries.js +0 -91
- package/esm/src/api/info/validatorSummaries.js.map +0 -1
- package/esm/src/api/info/vaultDetails.d.ts +0 -359
- package/esm/src/api/info/vaultDetails.d.ts.map +0 -1
- package/esm/src/api/info/vaultDetails.js +0 -140
- package/esm/src/api/info/vaultDetails.js.map +0 -1
- package/esm/src/api/info/vaultSummaries.d.ts +0 -104
- package/esm/src/api/info/vaultSummaries.d.ts.map +0 -1
- package/esm/src/api/info/vaultSummaries.js +0 -82
- package/esm/src/api/info/vaultSummaries.js.map +0 -1
- package/esm/src/api/info/webData2.d.ts +0 -833
- package/esm/src/api/info/webData2.d.ts.map +0 -1
- package/esm/src/api/info/webData2.js +0 -59
- package/esm/src/api/info/webData2.js.map +0 -1
- package/esm/src/api/info/~client.d.ts +0 -1487
- package/esm/src/api/info/~client.d.ts.map +0 -1
- package/esm/src/api/info/~client.js +0 -1553
- package/esm/src/api/info/~client.js.map +0 -1
- package/esm/src/api/info/~mod.d.ts +0 -91
- package/esm/src/api/info/~mod.d.ts.map +0 -1
- package/esm/src/api/info/~mod.js +0 -90
- package/esm/src/api/info/~mod.js.map +0 -1
- package/esm/src/api/subscription/_types.d.ts +0 -7
- package/esm/src/api/subscription/_types.d.ts.map +0 -1
- package/esm/src/api/subscription/_types.js +0 -2
- package/esm/src/api/subscription/_types.js.map +0 -1
- package/esm/src/api/subscription/activeAssetCtx.d.ts +0 -97
- package/esm/src/api/subscription/activeAssetCtx.d.ts.map +0 -1
- package/esm/src/api/subscription/activeAssetCtx.js +0 -81
- package/esm/src/api/subscription/activeAssetCtx.js.map +0 -1
- package/esm/src/api/subscription/activeAssetData.d.ts +0 -84
- package/esm/src/api/subscription/activeAssetData.d.ts.map +0 -1
- package/esm/src/api/subscription/activeAssetData.js +0 -58
- package/esm/src/api/subscription/activeAssetData.js.map +0 -1
- package/esm/src/api/subscription/activeSpotAssetCtx.d.ts +0 -89
- package/esm/src/api/subscription/activeSpotAssetCtx.d.ts.map +0 -1
- package/esm/src/api/subscription/activeSpotAssetCtx.js +0 -77
- package/esm/src/api/subscription/activeSpotAssetCtx.js.map +0 -1
- package/esm/src/api/subscription/allMids.d.ts +0 -58
- package/esm/src/api/subscription/allMids.d.ts.map +0 -1
- package/esm/src/api/subscription/allMids.js +0 -42
- package/esm/src/api/subscription/allMids.js.map +0 -1
- package/esm/src/api/subscription/assetCtxs.d.ts +0 -108
- package/esm/src/api/subscription/assetCtxs.d.ts.map +0 -1
- package/esm/src/api/subscription/assetCtxs.js +0 -65
- package/esm/src/api/subscription/assetCtxs.js.map +0 -1
- package/esm/src/api/subscription/bbo.d.ts +0 -89
- package/esm/src/api/subscription/bbo.d.ts.map +0 -1
- package/esm/src/api/subscription/bbo.js +0 -63
- package/esm/src/api/subscription/bbo.js.map +0 -1
- package/esm/src/api/subscription/candle.d.ts +0 -71
- package/esm/src/api/subscription/candle.d.ts.map +0 -1
- package/esm/src/api/subscription/candle.js +0 -58
- package/esm/src/api/subscription/candle.js.map +0 -1
- package/esm/src/api/subscription/clearinghouseState.d.ts +0 -285
- package/esm/src/api/subscription/clearinghouseState.d.ts.map +0 -1
- package/esm/src/api/subscription/clearinghouseState.js +0 -69
- package/esm/src/api/subscription/clearinghouseState.js.map +0 -1
- package/esm/src/api/subscription/explorerBlock.d.ts +0 -64
- package/esm/src/api/subscription/explorerBlock.d.ts.map +0 -1
- package/esm/src/api/subscription/explorerBlock.js +0 -63
- package/esm/src/api/subscription/explorerBlock.js.map +0 -1
- package/esm/src/api/subscription/explorerTxs.d.ts +0 -83
- package/esm/src/api/subscription/explorerTxs.d.ts.map +0 -1
- package/esm/src/api/subscription/explorerTxs.js +0 -68
- package/esm/src/api/subscription/explorerTxs.js.map +0 -1
- package/esm/src/api/subscription/l2Book.d.ts +0 -97
- package/esm/src/api/subscription/l2Book.d.ts.map +0 -1
- package/esm/src/api/subscription/l2Book.js +0 -75
- package/esm/src/api/subscription/l2Book.js.map +0 -1
- package/esm/src/api/subscription/notification.d.ts +0 -51
- package/esm/src/api/subscription/notification.d.ts.map +0 -1
- package/esm/src/api/subscription/notification.js +0 -56
- package/esm/src/api/subscription/notification.js.map +0 -1
- package/esm/src/api/subscription/openOrders.d.ts +0 -128
- package/esm/src/api/subscription/openOrders.d.ts.map +0 -1
- package/esm/src/api/subscription/openOrders.js +0 -69
- package/esm/src/api/subscription/openOrders.js.map +0 -1
- package/esm/src/api/subscription/orderUpdates.d.ts +0 -101
- package/esm/src/api/subscription/orderUpdates.d.ts.map +0 -1
- package/esm/src/api/subscription/orderUpdates.js +0 -63
- package/esm/src/api/subscription/orderUpdates.js.map +0 -1
- package/esm/src/api/subscription/spotAssetCtxs.d.ts +0 -67
- package/esm/src/api/subscription/spotAssetCtxs.d.ts.map +0 -1
- package/esm/src/api/subscription/spotAssetCtxs.js +0 -67
- package/esm/src/api/subscription/spotAssetCtxs.js.map +0 -1
- package/esm/src/api/subscription/spotState.d.ts +0 -91
- package/esm/src/api/subscription/spotState.d.ts.map +0 -1
- package/esm/src/api/subscription/spotState.js +0 -64
- package/esm/src/api/subscription/spotState.js.map +0 -1
- package/esm/src/api/subscription/trades.d.ts +0 -73
- package/esm/src/api/subscription/trades.d.ts.map +0 -1
- package/esm/src/api/subscription/trades.js +0 -55
- package/esm/src/api/subscription/trades.js.map +0 -1
- package/esm/src/api/subscription/userEvents.d.ts +0 -876
- package/esm/src/api/subscription/userEvents.d.ts.map +0 -1
- package/esm/src/api/subscription/userEvents.js +0 -149
- package/esm/src/api/subscription/userEvents.js.map +0 -1
- package/esm/src/api/subscription/userFills.d.ts +0 -152
- package/esm/src/api/subscription/userFills.d.ts.map +0 -1
- package/esm/src/api/subscription/userFills.js +0 -69
- package/esm/src/api/subscription/userFills.js.map +0 -1
- package/esm/src/api/subscription/userFundings.d.ts +0 -91
- package/esm/src/api/subscription/userFundings.d.ts.map +0 -1
- package/esm/src/api/subscription/userFundings.js +0 -77
- package/esm/src/api/subscription/userFundings.js.map +0 -1
- package/esm/src/api/subscription/userHistoricalOrders.d.ts +0 -161
- package/esm/src/api/subscription/userHistoricalOrders.d.ts.map +0 -1
- package/esm/src/api/subscription/userHistoricalOrders.js +0 -72
- package/esm/src/api/subscription/userHistoricalOrders.js.map +0 -1
- package/esm/src/api/subscription/userNonFundingLedgerUpdates.d.ts +0 -493
- package/esm/src/api/subscription/userNonFundingLedgerUpdates.d.ts.map +0 -1
- package/esm/src/api/subscription/userNonFundingLedgerUpdates.js +0 -63
- package/esm/src/api/subscription/userNonFundingLedgerUpdates.js.map +0 -1
- package/esm/src/api/subscription/userTwapHistory.d.ts +0 -161
- package/esm/src/api/subscription/userTwapHistory.d.ts.map +0 -1
- package/esm/src/api/subscription/userTwapHistory.js +0 -74
- package/esm/src/api/subscription/userTwapHistory.js.map +0 -1
- package/esm/src/api/subscription/userTwapSliceFills.d.ts +0 -132
- package/esm/src/api/subscription/userTwapSliceFills.d.ts.map +0 -1
- package/esm/src/api/subscription/userTwapSliceFills.js +0 -68
- package/esm/src/api/subscription/userTwapSliceFills.js.map +0 -1
- package/esm/src/api/subscription/webData2.d.ts +0 -704
- package/esm/src/api/subscription/webData2.d.ts.map +0 -1
- package/esm/src/api/subscription/webData2.js +0 -107
- package/esm/src/api/subscription/webData2.js.map +0 -1
- package/esm/src/api/subscription/webData3.d.ts +0 -541
- package/esm/src/api/subscription/webData3.d.ts.map +0 -1
- package/esm/src/api/subscription/webData3.js +0 -100
- package/esm/src/api/subscription/webData3.js.map +0 -1
- package/esm/src/api/subscription/~client.d.ts +0 -598
- package/esm/src/api/subscription/~client.d.ts.map +0 -1
- package/esm/src/api/subscription/~client.js +0 -626
- package/esm/src/api/subscription/~client.js.map +0 -1
- package/esm/src/api/subscription/~mod.d.ts +0 -53
- package/esm/src/api/subscription/~mod.d.ts.map +0 -1
- package/esm/src/api/subscription/~mod.js +0 -52
- package/esm/src/api/subscription/~mod.js.map +0 -1
- package/esm/src/signing/_signTypedData.d.ts +0 -123
- package/esm/src/signing/_signTypedData.d.ts.map +0 -1
- package/esm/src/signing/_signTypedData.js +0 -161
- package/esm/src/signing/_signTypedData.js.map +0 -1
- package/esm/src/transport/base.d.ts +0 -48
- package/esm/src/transport/base.d.ts.map +0 -1
- package/esm/src/transport/base.js +0 -9
- package/esm/src/transport/base.js.map +0 -1
- package/esm/src/transport/websocket/_hyperliquid_event_target.d.ts +0 -91
- package/esm/src/transport/websocket/_hyperliquid_event_target.d.ts.map +0 -1
- package/esm/src/transport/websocket/_hyperliquid_event_target.js +0 -54
- package/esm/src/transport/websocket/_hyperliquid_event_target.js.map +0 -1
- package/esm/src/transport/websocket/_websocket_async_request.d.ts +0 -37
- package/esm/src/transport/websocket/_websocket_async_request.d.ts.map +0 -1
- package/esm/src/transport/websocket/_websocket_async_request.js +0 -192
- package/esm/src/transport/websocket/_websocket_async_request.js.map +0 -1
- package/esm/src/utils/_eip712.d.ts +0 -42
- package/esm/src/utils/_eip712.d.ts.map +0 -1
- package/esm/src/utils/_eip712.js +0 -175
- package/esm/src/utils/_eip712.js.map +0 -1
- package/esm/src/utils/_recover.d.ts +0 -89
- package/esm/src/utils/_recover.d.ts.map +0 -1
- package/esm/src/utils/_recover.js +0 -119
- package/esm/src/utils/_recover.js.map +0 -1
- package/script/src/api/_base.d.ts +0 -53
- package/script/src/api/_base.d.ts.map +0 -1
- package/script/src/api/_base.js +0 -105
- package/script/src/api/_base.js.map +0 -1
- package/script/src/api/_common_schemas.d.ts +0 -425
- package/script/src/api/_common_schemas.d.ts.map +0 -1
- package/script/src/api/_common_schemas.js +0 -471
- package/script/src/api/_common_schemas.js.map +0 -1
- package/script/src/api/exchange/_base/_errors.d.ts +0 -16
- package/script/src/api/exchange/_base/_errors.d.ts.map +0 -1
- package/script/src/api/exchange/_base/_errors.js +0 -56
- package/script/src/api/exchange/_base/_errors.js.map +0 -1
- package/script/src/api/exchange/_base/_execute.d.ts +0 -43
- package/script/src/api/exchange/_base/_execute.d.ts.map +0 -1
- package/script/src/api/exchange/_base/_execute.js +0 -187
- package/script/src/api/exchange/_base/_execute.js.map +0 -1
- package/script/src/api/exchange/_base/_nonce.d.ts +0 -5
- package/script/src/api/exchange/_base/_nonce.d.ts.map +0 -1
- package/script/src/api/exchange/_base/_nonce.js +0 -31
- package/script/src/api/exchange/_base/_nonce.js.map +0 -1
- package/script/src/api/exchange/_base/_schemas.d.ts +0 -45
- package/script/src/api/exchange/_base/_schemas.d.ts.map +0 -1
- package/script/src/api/exchange/_base/_schemas.js +0 -71
- package/script/src/api/exchange/_base/_schemas.js.map +0 -1
- package/script/src/api/exchange/_base/_types.d.ts +0 -105
- package/script/src/api/exchange/_base/_types.d.ts.map +0 -1
- package/script/src/api/exchange/_base/_types.js.map +0 -1
- package/script/src/api/exchange/_base/mod.d.ts +0 -5
- package/script/src/api/exchange/_base/mod.d.ts.map +0 -1
- package/script/src/api/exchange/_base/mod.js +0 -21
- package/script/src/api/exchange/_base/mod.js.map +0 -1
- package/script/src/api/exchange/agentEnableDexAbstraction.d.ts +0 -106
- package/script/src/api/exchange/agentEnableDexAbstraction.d.ts.map +0 -1
- package/script/src/api/exchange/agentEnableDexAbstraction.js +0 -115
- package/script/src/api/exchange/agentEnableDexAbstraction.js.map +0 -1
- package/script/src/api/exchange/approveAgent.d.ts +0 -136
- package/script/src/api/exchange/approveAgent.d.ts.map +0 -1
- package/script/src/api/exchange/approveAgent.js +0 -136
- package/script/src/api/exchange/approveAgent.js.map +0 -1
- package/script/src/api/exchange/approveBuilderFee.d.ts +0 -136
- package/script/src/api/exchange/approveBuilderFee.d.ts.map +0 -1
- package/script/src/api/exchange/approveBuilderFee.js +0 -136
- package/script/src/api/exchange/approveBuilderFee.js.map +0 -1
- package/script/src/api/exchange/batchModify.d.ts +0 -329
- package/script/src/api/exchange/batchModify.d.ts.map +0 -1
- package/script/src/api/exchange/batchModify.js +0 -146
- package/script/src/api/exchange/batchModify.js.map +0 -1
- package/script/src/api/exchange/cDeposit.d.ts +0 -132
- package/script/src/api/exchange/cDeposit.d.ts.map +0 -1
- package/script/src/api/exchange/cDeposit.js +0 -133
- package/script/src/api/exchange/cDeposit.js.map +0 -1
- package/script/src/api/exchange/cSignerAction.d.ts +0 -127
- package/script/src/api/exchange/cSignerAction.d.ts.map +0 -1
- package/script/src/api/exchange/cSignerAction.js +0 -129
- package/script/src/api/exchange/cSignerAction.js.map +0 -1
- package/script/src/api/exchange/cValidatorAction.d.ts +0 -290
- package/script/src/api/exchange/cValidatorAction.d.ts.map +0 -1
- package/script/src/api/exchange/cValidatorAction.js +0 -205
- package/script/src/api/exchange/cValidatorAction.js.map +0 -1
- package/script/src/api/exchange/cWithdraw.d.ts +0 -132
- package/script/src/api/exchange/cWithdraw.d.ts.map +0 -1
- package/script/src/api/exchange/cWithdraw.js +0 -133
- package/script/src/api/exchange/cWithdraw.js.map +0 -1
- package/script/src/api/exchange/cancel.d.ts +0 -150
- package/script/src/api/exchange/cancel.d.ts.map +0 -1
- package/script/src/api/exchange/cancel.js +0 -152
- package/script/src/api/exchange/cancel.js.map +0 -1
- package/script/src/api/exchange/cancelByCloid.d.ts +0 -145
- package/script/src/api/exchange/cancelByCloid.d.ts.map +0 -1
- package/script/src/api/exchange/cancelByCloid.js +0 -132
- package/script/src/api/exchange/cancelByCloid.js.map +0 -1
- package/script/src/api/exchange/claimRewards.d.ts +0 -97
- package/script/src/api/exchange/claimRewards.d.ts.map +0 -1
- package/script/src/api/exchange/claimRewards.js +0 -106
- package/script/src/api/exchange/claimRewards.js.map +0 -1
- package/script/src/api/exchange/convertToMultiSigUser.d.ts +0 -170
- package/script/src/api/exchange/convertToMultiSigUser.d.ts.map +0 -1
- package/script/src/api/exchange/convertToMultiSigUser.js +0 -166
- package/script/src/api/exchange/convertToMultiSigUser.js.map +0 -1
- package/script/src/api/exchange/createSubAccount.d.ts +0 -117
- package/script/src/api/exchange/createSubAccount.d.ts.map +0 -1
- package/script/src/api/exchange/createSubAccount.js +0 -127
- package/script/src/api/exchange/createSubAccount.js.map +0 -1
- package/script/src/api/exchange/createVault.d.ts +0 -133
- package/script/src/api/exchange/createVault.d.ts.map +0 -1
- package/script/src/api/exchange/createVault.js +0 -139
- package/script/src/api/exchange/createVault.js.map +0 -1
- package/script/src/api/exchange/evmUserModify.d.ts +0 -116
- package/script/src/api/exchange/evmUserModify.d.ts.map +0 -1
- package/script/src/api/exchange/evmUserModify.js +0 -121
- package/script/src/api/exchange/evmUserModify.js.map +0 -1
- package/script/src/api/exchange/linkStakingUser.d.ts +0 -144
- package/script/src/api/exchange/linkStakingUser.d.ts.map +0 -1
- package/script/src/api/exchange/linkStakingUser.js +0 -148
- package/script/src/api/exchange/linkStakingUser.js.map +0 -1
- package/script/src/api/exchange/modify.d.ts +0 -222
- package/script/src/api/exchange/modify.d.ts.map +0 -1
- package/script/src/api/exchange/modify.js +0 -141
- package/script/src/api/exchange/modify.js.map +0 -1
- package/script/src/api/exchange/multiSig.d.ts +0 -4314
- package/script/src/api/exchange/multiSig.d.ts.map +0 -1
- package/script/src/api/exchange/multiSig.js +0 -309
- package/script/src/api/exchange/multiSig.js.map +0 -1
- package/script/src/api/exchange/noop.d.ts +0 -106
- package/script/src/api/exchange/noop.d.ts.map +0 -1
- package/script/src/api/exchange/noop.js +0 -115
- package/script/src/api/exchange/noop.js.map +0 -1
- package/script/src/api/exchange/order.d.ts +0 -354
- package/script/src/api/exchange/order.d.ts.map +0 -1
- package/script/src/api/exchange/order.js +0 -199
- package/script/src/api/exchange/order.js.map +0 -1
- package/script/src/api/exchange/perpDeploy.d.ts +0 -400
- package/script/src/api/exchange/perpDeploy.d.ts.map +0 -1
- package/script/src/api/exchange/perpDeploy.js +0 -245
- package/script/src/api/exchange/perpDeploy.js.map +0 -1
- package/script/src/api/exchange/registerReferrer.d.ts +0 -109
- package/script/src/api/exchange/registerReferrer.d.ts.map +0 -1
- package/script/src/api/exchange/registerReferrer.js +0 -114
- package/script/src/api/exchange/registerReferrer.js.map +0 -1
- package/script/src/api/exchange/reserveRequestWeight.d.ts +0 -116
- package/script/src/api/exchange/reserveRequestWeight.d.ts.map +0 -1
- package/script/src/api/exchange/reserveRequestWeight.js +0 -121
- package/script/src/api/exchange/reserveRequestWeight.js.map +0 -1
- package/script/src/api/exchange/scheduleCancel.d.ts +0 -125
- package/script/src/api/exchange/scheduleCancel.d.ts.map +0 -1
- package/script/src/api/exchange/scheduleCancel.js +0 -108
- package/script/src/api/exchange/scheduleCancel.js.map +0 -1
- package/script/src/api/exchange/sendAsset.d.ts +0 -158
- package/script/src/api/exchange/sendAsset.d.ts.map +0 -1
- package/script/src/api/exchange/sendAsset.js +0 -154
- package/script/src/api/exchange/sendAsset.js.map +0 -1
- package/script/src/api/exchange/setDisplayName.d.ts +0 -113
- package/script/src/api/exchange/setDisplayName.d.ts.map +0 -1
- package/script/src/api/exchange/setDisplayName.js +0 -119
- package/script/src/api/exchange/setDisplayName.js.map +0 -1
- package/script/src/api/exchange/setReferrer.d.ts +0 -109
- package/script/src/api/exchange/setReferrer.d.ts.map +0 -1
- package/script/src/api/exchange/setReferrer.js +0 -114
- package/script/src/api/exchange/setReferrer.js.map +0 -1
- package/script/src/api/exchange/spotDeploy.d.ts +0 -389
- package/script/src/api/exchange/spotDeploy.d.ts.map +0 -1
- package/script/src/api/exchange/spotDeploy.js +0 -233
- package/script/src/api/exchange/spotDeploy.js.map +0 -1
- package/script/src/api/exchange/spotSend.d.ts +0 -144
- package/script/src/api/exchange/spotSend.d.ts.map +0 -1
- package/script/src/api/exchange/spotSend.js +0 -143
- package/script/src/api/exchange/spotSend.js.map +0 -1
- package/script/src/api/exchange/spotUser.d.ts +0 -118
- package/script/src/api/exchange/spotUser.d.ts.map +0 -1
- package/script/src/api/exchange/spotUser.js +0 -117
- package/script/src/api/exchange/spotUser.js.map +0 -1
- package/script/src/api/exchange/subAccountModify.d.ts +0 -113
- package/script/src/api/exchange/subAccountModify.d.ts.map +0 -1
- package/script/src/api/exchange/subAccountModify.js +0 -116
- package/script/src/api/exchange/subAccountModify.js.map +0 -1
- package/script/src/api/exchange/subAccountSpotTransfer.d.ts +0 -126
- package/script/src/api/exchange/subAccountSpotTransfer.d.ts.map +0 -1
- package/script/src/api/exchange/subAccountSpotTransfer.js +0 -125
- package/script/src/api/exchange/subAccountSpotTransfer.js.map +0 -1
- package/script/src/api/exchange/subAccountTransfer.d.ts +0 -117
- package/script/src/api/exchange/subAccountTransfer.d.ts.map +0 -1
- package/script/src/api/exchange/subAccountTransfer.js +0 -118
- package/script/src/api/exchange/subAccountTransfer.js.map +0 -1
- package/script/src/api/exchange/tokenDelegate.d.ts +0 -140
- package/script/src/api/exchange/tokenDelegate.d.ts.map +0 -1
- package/script/src/api/exchange/tokenDelegate.js +0 -139
- package/script/src/api/exchange/tokenDelegate.js.map +0 -1
- package/script/src/api/exchange/twapCancel.d.ts +0 -136
- package/script/src/api/exchange/twapCancel.d.ts.map +0 -1
- package/script/src/api/exchange/twapCancel.js +0 -145
- package/script/src/api/exchange/twapCancel.js.map +0 -1
- package/script/src/api/exchange/twapOrder.d.ts +0 -199
- package/script/src/api/exchange/twapOrder.d.ts.map +0 -1
- package/script/src/api/exchange/twapOrder.js +0 -171
- package/script/src/api/exchange/twapOrder.js.map +0 -1
- package/script/src/api/exchange/updateIsolatedMargin.d.ts +0 -127
- package/script/src/api/exchange/updateIsolatedMargin.d.ts.map +0 -1
- package/script/src/api/exchange/updateIsolatedMargin.js +0 -128
- package/script/src/api/exchange/updateIsolatedMargin.js.map +0 -1
- package/script/src/api/exchange/updateLeverage.d.ts +0 -127
- package/script/src/api/exchange/updateLeverage.d.ts.map +0 -1
- package/script/src/api/exchange/updateLeverage.js +0 -128
- package/script/src/api/exchange/updateLeverage.js.map +0 -1
- package/script/src/api/exchange/usdClassTransfer.d.ts +0 -136
- package/script/src/api/exchange/usdClassTransfer.d.ts.map +0 -1
- package/script/src/api/exchange/usdClassTransfer.js +0 -136
- package/script/src/api/exchange/usdClassTransfer.js.map +0 -1
- package/script/src/api/exchange/usdSend.d.ts +0 -136
- package/script/src/api/exchange/usdSend.d.ts.map +0 -1
- package/script/src/api/exchange/usdSend.js +0 -136
- package/script/src/api/exchange/usdSend.js.map +0 -1
- package/script/src/api/exchange/userDexAbstraction.d.ts +0 -136
- package/script/src/api/exchange/userDexAbstraction.d.ts.map +0 -1
- package/script/src/api/exchange/userDexAbstraction.js +0 -136
- package/script/src/api/exchange/userDexAbstraction.js.map +0 -1
- package/script/src/api/exchange/validatorL1Stream.d.ts +0 -116
- package/script/src/api/exchange/validatorL1Stream.d.ts.map +0 -1
- package/script/src/api/exchange/validatorL1Stream.js +0 -121
- package/script/src/api/exchange/validatorL1Stream.js.map +0 -1
- package/script/src/api/exchange/vaultDistribute.d.ts +0 -117
- package/script/src/api/exchange/vaultDistribute.d.ts.map +0 -1
- package/script/src/api/exchange/vaultDistribute.js +0 -121
- package/script/src/api/exchange/vaultDistribute.js.map +0 -1
- package/script/src/api/exchange/vaultModify.d.ts +0 -121
- package/script/src/api/exchange/vaultModify.d.ts.map +0 -1
- package/script/src/api/exchange/vaultModify.js +0 -122
- package/script/src/api/exchange/vaultModify.js.map +0 -1
- package/script/src/api/exchange/vaultTransfer.d.ts +0 -124
- package/script/src/api/exchange/vaultTransfer.d.ts.map +0 -1
- package/script/src/api/exchange/vaultTransfer.js +0 -125
- package/script/src/api/exchange/vaultTransfer.js.map +0 -1
- package/script/src/api/exchange/withdraw3.d.ts +0 -136
- package/script/src/api/exchange/withdraw3.d.ts.map +0 -1
- package/script/src/api/exchange/withdraw3.js +0 -136
- package/script/src/api/exchange/withdraw3.js.map +0 -1
- package/script/src/api/exchange/~client.d.ts +0 -1381
- package/script/src/api/exchange/~client.d.ts.map +0 -1
- package/script/src/api/exchange/~client.js +0 -1451
- package/script/src/api/exchange/~client.js.map +0 -1
- package/script/src/api/exchange/~mod.d.ts +0 -87
- package/script/src/api/exchange/~mod.d.ts.map +0 -1
- package/script/src/api/exchange/~mod.js +0 -107
- package/script/src/api/exchange/~mod.js.map +0 -1
- package/script/src/api/info/_types.d.ts +0 -7
- package/script/src/api/info/_types.d.ts.map +0 -1
- package/script/src/api/info/_types.js +0 -3
- package/script/src/api/info/_types.js.map +0 -1
- package/script/src/api/info/activeAssetData.d.ts +0 -98
- package/script/src/api/info/activeAssetData.d.ts.map +0 -1
- package/script/src/api/info/activeAssetData.js +0 -125
- package/script/src/api/info/activeAssetData.js.map +0 -1
- package/script/src/api/info/alignedQuoteTokenInfo.d.ts +0 -66
- package/script/src/api/info/alignedQuoteTokenInfo.d.ts.map +0 -1
- package/script/src/api/info/alignedQuoteTokenInfo.js +0 -111
- package/script/src/api/info/alignedQuoteTokenInfo.js.map +0 -1
- package/script/src/api/info/allMids.d.ts +0 -49
- package/script/src/api/info/allMids.d.ts.map +0 -1
- package/script/src/api/info/allMids.js +0 -75
- package/script/src/api/info/allMids.js.map +0 -1
- package/script/src/api/info/allPerpMetas.d.ts +0 -145
- package/script/src/api/info/allPerpMetas.d.ts.map +0 -1
- package/script/src/api/info/allPerpMetas.js +0 -88
- package/script/src/api/info/allPerpMetas.js.map +0 -1
- package/script/src/api/info/blockDetails.d.ts +0 -151
- package/script/src/api/info/blockDetails.d.ts.map +0 -1
- package/script/src/api/info/blockDetails.js +0 -131
- package/script/src/api/info/blockDetails.js.map +0 -1
- package/script/src/api/info/candleSnapshot.d.ts +0 -111
- package/script/src/api/info/candleSnapshot.d.ts.map +0 -1
- package/script/src/api/info/candleSnapshot.js +0 -128
- package/script/src/api/info/candleSnapshot.js.map +0 -1
- package/script/src/api/info/clearinghouseState.d.ts +0 -269
- package/script/src/api/info/clearinghouseState.d.ts.map +0 -1
- package/script/src/api/info/clearinghouseState.js +0 -180
- package/script/src/api/info/clearinghouseState.js.map +0 -1
- package/script/src/api/info/delegations.d.ts +0 -64
- package/script/src/api/info/delegations.d.ts.map +0 -1
- package/script/src/api/info/delegations.js +0 -104
- package/script/src/api/info/delegations.js.map +0 -1
- package/script/src/api/info/delegatorHistory.d.ts +0 -142
- package/script/src/api/info/delegatorHistory.d.ts.map +0 -1
- package/script/src/api/info/delegatorHistory.js +0 -132
- package/script/src/api/info/delegatorHistory.js.map +0 -1
- package/script/src/api/info/delegatorRewards.d.ts +0 -64
- package/script/src/api/info/delegatorRewards.d.ts.map +0 -1
- package/script/src/api/info/delegatorRewards.js +0 -104
- package/script/src/api/info/delegatorRewards.js.map +0 -1
- package/script/src/api/info/delegatorSummary.d.ts +0 -63
- package/script/src/api/info/delegatorSummary.d.ts.map +0 -1
- package/script/src/api/info/delegatorSummary.js +0 -104
- package/script/src/api/info/delegatorSummary.js.map +0 -1
- package/script/src/api/info/exchangeStatus.d.ts +0 -46
- package/script/src/api/info/exchangeStatus.d.ts.map +0 -1
- package/script/src/api/info/exchangeStatus.js +0 -92
- package/script/src/api/info/exchangeStatus.js.map +0 -1
- package/script/src/api/info/extraAgents.d.ts +0 -64
- package/script/src/api/info/extraAgents.d.ts.map +0 -1
- package/script/src/api/info/extraAgents.js +0 -104
- package/script/src/api/info/extraAgents.js.map +0 -1
- package/script/src/api/info/frontendOpenOrders.d.ts +0 -103
- package/script/src/api/info/frontendOpenOrders.d.ts.map +0 -1
- package/script/src/api/info/frontendOpenOrders.js +0 -98
- package/script/src/api/info/frontendOpenOrders.js.map +0 -1
- package/script/src/api/info/fundingHistory.d.ts +0 -74
- package/script/src/api/info/fundingHistory.d.ts.map +0 -1
- package/script/src/api/info/fundingHistory.js +0 -110
- package/script/src/api/info/fundingHistory.js.map +0 -1
- package/script/src/api/info/gossipRootIps.d.ts +0 -39
- package/script/src/api/info/gossipRootIps.d.ts.map +0 -1
- package/script/src/api/info/gossipRootIps.js +0 -87
- package/script/src/api/info/gossipRootIps.js.map +0 -1
- package/script/src/api/info/historicalOrders.d.ts +0 -132
- package/script/src/api/info/historicalOrders.d.ts.map +0 -1
- package/script/src/api/info/historicalOrders.js +0 -105
- package/script/src/api/info/historicalOrders.js.map +0 -1
- package/script/src/api/info/isVip.d.ts +0 -49
- package/script/src/api/info/isVip.d.ts.map +0 -1
- package/script/src/api/info/isVip.js +0 -95
- package/script/src/api/info/isVip.js.map +0 -1
- package/script/src/api/info/l2Book.d.ts +0 -98
- package/script/src/api/info/l2Book.d.ts.map +0 -1
- package/script/src/api/info/l2Book.js +0 -107
- package/script/src/api/info/l2Book.js.map +0 -1
- package/script/src/api/info/leadingVaults.d.ts +0 -60
- package/script/src/api/info/leadingVaults.d.ts.map +0 -1
- package/script/src/api/info/leadingVaults.js +0 -102
- package/script/src/api/info/leadingVaults.js.map +0 -1
- package/script/src/api/info/legalCheck.d.ts +0 -60
- package/script/src/api/info/legalCheck.d.ts.map +0 -1
- package/script/src/api/info/legalCheck.js +0 -102
- package/script/src/api/info/legalCheck.js.map +0 -1
- package/script/src/api/info/liquidatable.d.ts +0 -38
- package/script/src/api/info/liquidatable.d.ts.map +0 -1
- package/script/src/api/info/liquidatable.js +0 -86
- package/script/src/api/info/liquidatable.js.map +0 -1
- package/script/src/api/info/marginTable.d.ts +0 -71
- package/script/src/api/info/marginTable.d.ts.map +0 -1
- package/script/src/api/info/marginTable.js +0 -107
- package/script/src/api/info/marginTable.js.map +0 -1
- package/script/src/api/info/maxBuilderFee.d.ts +0 -52
- package/script/src/api/info/maxBuilderFee.d.ts.map +0 -1
- package/script/src/api/info/maxBuilderFee.js +0 -97
- package/script/src/api/info/maxBuilderFee.js.map +0 -1
- package/script/src/api/info/maxMarketOrderNtls.d.ts +0 -41
- package/script/src/api/info/maxMarketOrderNtls.d.ts.map +0 -1
- package/script/src/api/info/maxMarketOrderNtls.js +0 -90
- package/script/src/api/info/maxMarketOrderNtls.js.map +0 -1
- package/script/src/api/info/meta.d.ts +0 -143
- package/script/src/api/info/meta.d.ts.map +0 -1
- package/script/src/api/info/meta.js +0 -109
- package/script/src/api/info/meta.js.map +0 -1
- package/script/src/api/info/metaAndAssetCtxs.d.ts +0 -204
- package/script/src/api/info/metaAndAssetCtxs.d.ts.map +0 -1
- package/script/src/api/info/metaAndAssetCtxs.js +0 -103
- package/script/src/api/info/metaAndAssetCtxs.js.map +0 -1
- package/script/src/api/info/openOrders.d.ts +0 -82
- package/script/src/api/info/openOrders.d.ts.map +0 -1
- package/script/src/api/info/openOrders.js +0 -98
- package/script/src/api/info/openOrders.js.map +0 -1
- package/script/src/api/info/orderStatus.d.ts +0 -150
- package/script/src/api/info/orderStatus.d.ts.map +0 -1
- package/script/src/api/info/orderStatus.js +0 -120
- package/script/src/api/info/orderStatus.js.map +0 -1
- package/script/src/api/info/perpDeployAuctionStatus.d.ts +0 -56
- package/script/src/api/info/perpDeployAuctionStatus.d.ts.map +0 -1
- package/script/src/api/info/perpDeployAuctionStatus.js +0 -99
- package/script/src/api/info/perpDeployAuctionStatus.js.map +0 -1
- package/script/src/api/info/perpDexLimits.d.ts +0 -63
- package/script/src/api/info/perpDexLimits.d.ts.map +0 -1
- package/script/src/api/info/perpDexLimits.js +0 -104
- package/script/src/api/info/perpDexLimits.js.map +0 -1
- package/script/src/api/info/perpDexs.d.ts +0 -78
- package/script/src/api/info/perpDexs.d.ts.map +0 -1
- package/script/src/api/info/perpDexs.js +0 -112
- package/script/src/api/info/perpDexs.js.map +0 -1
- package/script/src/api/info/perpsAtOpenInterestCap.d.ts +0 -47
- package/script/src/api/info/perpsAtOpenInterestCap.d.ts.map +0 -1
- package/script/src/api/info/perpsAtOpenInterestCap.js +0 -74
- package/script/src/api/info/perpsAtOpenInterestCap.js.map +0 -1
- package/script/src/api/info/portfolio.d.ts +0 -169
- package/script/src/api/info/portfolio.d.ts.map +0 -1
- package/script/src/api/info/portfolio.js +0 -115
- package/script/src/api/info/portfolio.js.map +0 -1
- package/script/src/api/info/preTransferCheck.d.ts +0 -66
- package/script/src/api/info/preTransferCheck.d.ts.map +0 -1
- package/script/src/api/info/preTransferCheck.js +0 -106
- package/script/src/api/info/preTransferCheck.js.map +0 -1
- package/script/src/api/info/predictedFundings.d.ts +0 -66
- package/script/src/api/info/predictedFundings.d.ts.map +0 -1
- package/script/src/api/info/predictedFundings.js +0 -109
- package/script/src/api/info/predictedFundings.js.map +0 -1
- package/script/src/api/info/recentTrades.d.ts +0 -84
- package/script/src/api/info/recentTrades.d.ts.map +0 -1
- package/script/src/api/info/recentTrades.js +0 -114
- package/script/src/api/info/recentTrades.js.map +0 -1
- package/script/src/api/info/referral.d.ts +0 -274
- package/script/src/api/info/referral.d.ts.map +0 -1
- package/script/src/api/info/referral.js +0 -196
- package/script/src/api/info/referral.js.map +0 -1
- package/script/src/api/info/spotClearinghouseState.d.ts +0 -103
- package/script/src/api/info/spotClearinghouseState.d.ts.map +0 -1
- package/script/src/api/info/spotClearinghouseState.js +0 -112
- package/script/src/api/info/spotClearinghouseState.js.map +0 -1
- package/script/src/api/info/spotDeployState.d.ts +0 -162
- package/script/src/api/info/spotDeployState.d.ts.map +0 -1
- package/script/src/api/info/spotDeployState.js +0 -143
- package/script/src/api/info/spotDeployState.js.map +0 -1
- package/script/src/api/info/spotMeta.d.ts +0 -137
- package/script/src/api/info/spotMeta.d.ts.map +0 -1
- package/script/src/api/info/spotMeta.js +0 -130
- package/script/src/api/info/spotMeta.js.map +0 -1
- package/script/src/api/info/spotMetaAndAssetCtxs.d.ts +0 -185
- package/script/src/api/info/spotMetaAndAssetCtxs.d.ts.map +0 -1
- package/script/src/api/info/spotMetaAndAssetCtxs.js +0 -112
- package/script/src/api/info/spotMetaAndAssetCtxs.js.map +0 -1
- package/script/src/api/info/spotPairDeployAuctionStatus.d.ts +0 -56
- package/script/src/api/info/spotPairDeployAuctionStatus.d.ts.map +0 -1
- package/script/src/api/info/spotPairDeployAuctionStatus.js +0 -99
- package/script/src/api/info/spotPairDeployAuctionStatus.js.map +0 -1
- package/script/src/api/info/subAccounts.d.ts +0 -412
- package/script/src/api/info/subAccounts.d.ts.map +0 -1
- package/script/src/api/info/subAccounts.js +0 -110
- package/script/src/api/info/subAccounts.js.map +0 -1
- package/script/src/api/info/subAccounts2.d.ts +0 -498
- package/script/src/api/info/subAccounts2.d.ts.map +0 -1
- package/script/src/api/info/subAccounts2.js +0 -113
- package/script/src/api/info/subAccounts2.js.map +0 -1
- package/script/src/api/info/tokenDetails.d.ts +0 -114
- package/script/src/api/info/tokenDetails.d.ts.map +0 -1
- package/script/src/api/info/tokenDetails.js +0 -135
- package/script/src/api/info/tokenDetails.js.map +0 -1
- package/script/src/api/info/twapHistory.d.ts +0 -132
- package/script/src/api/info/twapHistory.d.ts.map +0 -1
- package/script/src/api/info/twapHistory.js +0 -107
- package/script/src/api/info/twapHistory.js.map +0 -1
- package/script/src/api/info/txDetails.d.ts +0 -102
- package/script/src/api/info/txDetails.d.ts.map +0 -1
- package/script/src/api/info/txDetails.js +0 -116
- package/script/src/api/info/txDetails.js.map +0 -1
- package/script/src/api/info/userDetails.d.ts +0 -106
- package/script/src/api/info/userDetails.d.ts.map +0 -1
- package/script/src/api/info/userDetails.js +0 -101
- package/script/src/api/info/userDetails.js.map +0 -1
- package/script/src/api/info/userDexAbstraction.d.ts +0 -49
- package/script/src/api/info/userDexAbstraction.d.ts.map +0 -1
- package/script/src/api/info/userDexAbstraction.js +0 -95
- package/script/src/api/info/userDexAbstraction.js.map +0 -1
- package/script/src/api/info/userFees.d.ts +0 -269
- package/script/src/api/info/userFees.d.ts.map +0 -1
- package/script/src/api/info/userFees.js +0 -210
- package/script/src/api/info/userFees.js.map +0 -1
- package/script/src/api/info/userFills.d.ts +0 -122
- package/script/src/api/info/userFills.d.ts.map +0 -1
- package/script/src/api/info/userFills.js +0 -98
- package/script/src/api/info/userFills.js.map +0 -1
- package/script/src/api/info/userFillsByTime.d.ts +0 -128
- package/script/src/api/info/userFillsByTime.d.ts.map +0 -1
- package/script/src/api/info/userFillsByTime.js +0 -102
- package/script/src/api/info/userFillsByTime.js.map +0 -1
- package/script/src/api/info/userFunding.d.ts +0 -104
- package/script/src/api/info/userFunding.d.ts.map +0 -1
- package/script/src/api/info/userFunding.js +0 -121
- package/script/src/api/info/userFunding.js.map +0 -1
- package/script/src/api/info/userNonFundingLedgerUpdates.d.ts +0 -711
- package/script/src/api/info/userNonFundingLedgerUpdates.d.ts.map +0 -1
- package/script/src/api/info/userNonFundingLedgerUpdates.js +0 -295
- package/script/src/api/info/userNonFundingLedgerUpdates.js.map +0 -1
- package/script/src/api/info/userRateLimit.d.ts +0 -63
- package/script/src/api/info/userRateLimit.d.ts.map +0 -1
- package/script/src/api/info/userRateLimit.js +0 -104
- package/script/src/api/info/userRateLimit.js.map +0 -1
- package/script/src/api/info/userRole.d.ts +0 -84
- package/script/src/api/info/userRole.d.ts.map +0 -1
- package/script/src/api/info/userRole.js +0 -118
- package/script/src/api/info/userRole.js.map +0 -1
- package/script/src/api/info/userToMultiSigSigners.d.ts +0 -57
- package/script/src/api/info/userToMultiSigSigners.d.ts.map +0 -1
- package/script/src/api/info/userToMultiSigSigners.js +0 -100
- package/script/src/api/info/userToMultiSigSigners.js.map +0 -1
- package/script/src/api/info/userTwapSliceFills.d.ts +0 -124
- package/script/src/api/info/userTwapSliceFills.d.ts.map +0 -1
- package/script/src/api/info/userTwapSliceFills.js +0 -103
- package/script/src/api/info/userTwapSliceFills.js.map +0 -1
- package/script/src/api/info/userTwapSliceFillsByTime.d.ts +0 -133
- package/script/src/api/info/userTwapSliceFillsByTime.d.ts.map +0 -1
- package/script/src/api/info/userTwapSliceFillsByTime.js +0 -109
- package/script/src/api/info/userTwapSliceFillsByTime.js.map +0 -1
- package/script/src/api/info/userVaultEquities.d.ts +0 -64
- package/script/src/api/info/userVaultEquities.d.ts.map +0 -1
- package/script/src/api/info/userVaultEquities.js +0 -104
- package/script/src/api/info/userVaultEquities.js.map +0 -1
- package/script/src/api/info/validatorL1Votes.d.ts +0 -70
- package/script/src/api/info/validatorL1Votes.d.ts.map +0 -1
- package/script/src/api/info/validatorL1Votes.js +0 -104
- package/script/src/api/info/validatorL1Votes.js.map +0 -1
- package/script/src/api/info/validatorSummaries.d.ts +0 -155
- package/script/src/api/info/validatorSummaries.d.ts.map +0 -1
- package/script/src/api/info/validatorSummaries.js +0 -128
- package/script/src/api/info/validatorSummaries.js.map +0 -1
- package/script/src/api/info/vaultDetails.d.ts +0 -359
- package/script/src/api/info/vaultDetails.d.ts.map +0 -1
- package/script/src/api/info/vaultDetails.js +0 -177
- package/script/src/api/info/vaultDetails.js.map +0 -1
- package/script/src/api/info/vaultSummaries.d.ts +0 -104
- package/script/src/api/info/vaultSummaries.d.ts.map +0 -1
- package/script/src/api/info/vaultSummaries.js +0 -119
- package/script/src/api/info/vaultSummaries.js.map +0 -1
- package/script/src/api/info/webData2.d.ts +0 -833
- package/script/src/api/info/webData2.d.ts.map +0 -1
- package/script/src/api/info/webData2.js +0 -96
- package/script/src/api/info/webData2.js.map +0 -1
- package/script/src/api/info/~client.d.ts +0 -1487
- package/script/src/api/info/~client.d.ts.map +0 -1
- package/script/src/api/info/~client.js +0 -1557
- package/script/src/api/info/~client.js.map +0 -1
- package/script/src/api/info/~mod.d.ts +0 -91
- package/script/src/api/info/~mod.d.ts.map +0 -1
- package/script/src/api/info/~mod.js +0 -109
- package/script/src/api/info/~mod.js.map +0 -1
- package/script/src/api/subscription/_types.d.ts +0 -7
- package/script/src/api/subscription/_types.d.ts.map +0 -1
- package/script/src/api/subscription/_types.js +0 -3
- package/script/src/api/subscription/_types.js.map +0 -1
- package/script/src/api/subscription/activeAssetCtx.d.ts +0 -97
- package/script/src/api/subscription/activeAssetCtx.d.ts.map +0 -1
- package/script/src/api/subscription/activeAssetCtx.js +0 -118
- package/script/src/api/subscription/activeAssetCtx.js.map +0 -1
- package/script/src/api/subscription/activeAssetData.d.ts +0 -84
- package/script/src/api/subscription/activeAssetData.d.ts.map +0 -1
- package/script/src/api/subscription/activeAssetData.js +0 -95
- package/script/src/api/subscription/activeAssetData.js.map +0 -1
- package/script/src/api/subscription/activeSpotAssetCtx.d.ts +0 -89
- package/script/src/api/subscription/activeSpotAssetCtx.d.ts.map +0 -1
- package/script/src/api/subscription/activeSpotAssetCtx.js +0 -114
- package/script/src/api/subscription/activeSpotAssetCtx.js.map +0 -1
- package/script/src/api/subscription/allMids.d.ts +0 -58
- package/script/src/api/subscription/allMids.d.ts.map +0 -1
- package/script/src/api/subscription/allMids.js +0 -79
- package/script/src/api/subscription/allMids.js.map +0 -1
- package/script/src/api/subscription/assetCtxs.d.ts +0 -108
- package/script/src/api/subscription/assetCtxs.d.ts.map +0 -1
- package/script/src/api/subscription/assetCtxs.js +0 -102
- package/script/src/api/subscription/assetCtxs.js.map +0 -1
- package/script/src/api/subscription/bbo.d.ts +0 -89
- package/script/src/api/subscription/bbo.d.ts.map +0 -1
- package/script/src/api/subscription/bbo.js +0 -100
- package/script/src/api/subscription/bbo.js.map +0 -1
- package/script/src/api/subscription/candle.d.ts +0 -71
- package/script/src/api/subscription/candle.d.ts.map +0 -1
- package/script/src/api/subscription/candle.js +0 -95
- package/script/src/api/subscription/candle.js.map +0 -1
- package/script/src/api/subscription/clearinghouseState.d.ts +0 -285
- package/script/src/api/subscription/clearinghouseState.d.ts.map +0 -1
- package/script/src/api/subscription/clearinghouseState.js +0 -106
- package/script/src/api/subscription/clearinghouseState.js.map +0 -1
- package/script/src/api/subscription/explorerBlock.d.ts +0 -64
- package/script/src/api/subscription/explorerBlock.d.ts.map +0 -1
- package/script/src/api/subscription/explorerBlock.js +0 -100
- package/script/src/api/subscription/explorerBlock.js.map +0 -1
- package/script/src/api/subscription/explorerTxs.d.ts +0 -83
- package/script/src/api/subscription/explorerTxs.d.ts.map +0 -1
- package/script/src/api/subscription/explorerTxs.js +0 -105
- package/script/src/api/subscription/explorerTxs.js.map +0 -1
- package/script/src/api/subscription/l2Book.d.ts +0 -97
- package/script/src/api/subscription/l2Book.d.ts.map +0 -1
- package/script/src/api/subscription/l2Book.js +0 -112
- package/script/src/api/subscription/l2Book.js.map +0 -1
- package/script/src/api/subscription/notification.d.ts +0 -51
- package/script/src/api/subscription/notification.d.ts.map +0 -1
- package/script/src/api/subscription/notification.js +0 -93
- package/script/src/api/subscription/notification.js.map +0 -1
- package/script/src/api/subscription/openOrders.d.ts +0 -128
- package/script/src/api/subscription/openOrders.d.ts.map +0 -1
- package/script/src/api/subscription/openOrders.js +0 -106
- package/script/src/api/subscription/openOrders.js.map +0 -1
- package/script/src/api/subscription/orderUpdates.d.ts +0 -101
- package/script/src/api/subscription/orderUpdates.d.ts.map +0 -1
- package/script/src/api/subscription/orderUpdates.js +0 -100
- package/script/src/api/subscription/orderUpdates.js.map +0 -1
- package/script/src/api/subscription/spotAssetCtxs.d.ts +0 -67
- package/script/src/api/subscription/spotAssetCtxs.d.ts.map +0 -1
- package/script/src/api/subscription/spotAssetCtxs.js +0 -104
- package/script/src/api/subscription/spotAssetCtxs.js.map +0 -1
- package/script/src/api/subscription/spotState.d.ts +0 -91
- package/script/src/api/subscription/spotState.d.ts.map +0 -1
- package/script/src/api/subscription/spotState.js +0 -101
- package/script/src/api/subscription/spotState.js.map +0 -1
- package/script/src/api/subscription/trades.d.ts +0 -73
- package/script/src/api/subscription/trades.d.ts.map +0 -1
- package/script/src/api/subscription/trades.js +0 -92
- package/script/src/api/subscription/trades.js.map +0 -1
- package/script/src/api/subscription/userEvents.d.ts +0 -876
- package/script/src/api/subscription/userEvents.d.ts.map +0 -1
- package/script/src/api/subscription/userEvents.js +0 -186
- package/script/src/api/subscription/userEvents.js.map +0 -1
- package/script/src/api/subscription/userFills.d.ts +0 -152
- package/script/src/api/subscription/userFills.d.ts.map +0 -1
- package/script/src/api/subscription/userFills.js +0 -106
- package/script/src/api/subscription/userFills.js.map +0 -1
- package/script/src/api/subscription/userFundings.d.ts +0 -91
- package/script/src/api/subscription/userFundings.d.ts.map +0 -1
- package/script/src/api/subscription/userFundings.js +0 -114
- package/script/src/api/subscription/userFundings.js.map +0 -1
- package/script/src/api/subscription/userHistoricalOrders.d.ts +0 -161
- package/script/src/api/subscription/userHistoricalOrders.d.ts.map +0 -1
- package/script/src/api/subscription/userHistoricalOrders.js +0 -109
- package/script/src/api/subscription/userHistoricalOrders.js.map +0 -1
- package/script/src/api/subscription/userNonFundingLedgerUpdates.d.ts +0 -493
- package/script/src/api/subscription/userNonFundingLedgerUpdates.d.ts.map +0 -1
- package/script/src/api/subscription/userNonFundingLedgerUpdates.js +0 -100
- package/script/src/api/subscription/userNonFundingLedgerUpdates.js.map +0 -1
- package/script/src/api/subscription/userTwapHistory.d.ts +0 -161
- package/script/src/api/subscription/userTwapHistory.d.ts.map +0 -1
- package/script/src/api/subscription/userTwapHistory.js +0 -111
- package/script/src/api/subscription/userTwapHistory.js.map +0 -1
- package/script/src/api/subscription/userTwapSliceFills.d.ts +0 -132
- package/script/src/api/subscription/userTwapSliceFills.d.ts.map +0 -1
- package/script/src/api/subscription/userTwapSliceFills.js +0 -105
- package/script/src/api/subscription/userTwapSliceFills.js.map +0 -1
- package/script/src/api/subscription/webData2.d.ts +0 -704
- package/script/src/api/subscription/webData2.d.ts.map +0 -1
- package/script/src/api/subscription/webData2.js +0 -144
- package/script/src/api/subscription/webData2.js.map +0 -1
- package/script/src/api/subscription/webData3.d.ts +0 -541
- package/script/src/api/subscription/webData3.d.ts.map +0 -1
- package/script/src/api/subscription/webData3.js +0 -137
- package/script/src/api/subscription/webData3.js.map +0 -1
- package/script/src/api/subscription/~client.d.ts +0 -598
- package/script/src/api/subscription/~client.d.ts.map +0 -1
- package/script/src/api/subscription/~client.js +0 -630
- package/script/src/api/subscription/~client.js.map +0 -1
- package/script/src/api/subscription/~mod.d.ts +0 -53
- package/script/src/api/subscription/~mod.d.ts.map +0 -1
- package/script/src/api/subscription/~mod.js +0 -71
- package/script/src/api/subscription/~mod.js.map +0 -1
- package/script/src/signing/_signTypedData.d.ts +0 -123
- package/script/src/signing/_signTypedData.d.ts.map +0 -1
- package/script/src/signing/_signTypedData.js +0 -201
- package/script/src/signing/_signTypedData.js.map +0 -1
- package/script/src/transport/base.d.ts +0 -48
- package/script/src/transport/base.d.ts.map +0 -1
- package/script/src/transport/base.js +0 -13
- package/script/src/transport/base.js.map +0 -1
- package/script/src/transport/websocket/_hyperliquid_event_target.d.ts +0 -91
- package/script/src/transport/websocket/_hyperliquid_event_target.d.ts.map +0 -1
- package/script/src/transport/websocket/_hyperliquid_event_target.js +0 -91
- package/script/src/transport/websocket/_hyperliquid_event_target.js.map +0 -1
- package/script/src/transport/websocket/_websocket_async_request.d.ts +0 -37
- package/script/src/transport/websocket/_websocket_async_request.d.ts.map +0 -1
- package/script/src/transport/websocket/_websocket_async_request.js +0 -197
- package/script/src/transport/websocket/_websocket_async_request.js.map +0 -1
- package/script/src/utils/_eip712.d.ts +0 -42
- package/script/src/utils/_eip712.d.ts.map +0 -1
- package/script/src/utils/_eip712.js +0 -214
- package/script/src/utils/_eip712.js.map +0 -1
- package/script/src/utils/_recover.d.ts +0 -89
- package/script/src/utils/_recover.d.ts.map +0 -1
- package/script/src/utils/_recover.js +0 -156
- package/script/src/utils/_recover.js.map +0 -1
- package/src/src/api/_base.ts +0 -163
- package/src/src/api/_common_schemas.ts +0 -767
- package/src/src/api/exchange/_base/_errors.ts +0 -57
- package/src/src/api/exchange/_base/_execute.ts +0 -275
- package/src/src/api/exchange/_base/_nonce.ts +0 -29
- package/src/src/api/exchange/_base/_schemas.ts +0 -73
- package/src/src/api/exchange/_base/_types.ts +0 -114
- package/src/src/api/exchange/_base/mod.ts +0 -4
- package/src/src/api/exchange/agentEnableDexAbstraction.ts +0 -124
- package/src/src/api/exchange/approveAgent.ts +0 -162
- package/src/src/api/exchange/approveBuilderFee.ts +0 -162
- package/src/src/api/exchange/batchModify.ts +0 -164
- package/src/src/api/exchange/cDeposit.ts +0 -156
- package/src/src/api/exchange/cSignerAction.ts +0 -150
- package/src/src/api/exchange/cValidatorAction.ts +0 -290
- package/src/src/api/exchange/cWithdraw.ts +0 -156
- package/src/src/api/exchange/cancel.ts +0 -196
- package/src/src/api/exchange/cancelByCloid.ts +0 -153
- package/src/src/api/exchange/claimRewards.ts +0 -113
- package/src/src/api/exchange/convertToMultiSigUser.ts +0 -212
- package/src/src/api/exchange/createSubAccount.ts +0 -158
- package/src/src/api/exchange/createVault.ts +0 -179
- package/src/src/api/exchange/evmUserModify.ts +0 -136
- package/src/src/api/exchange/linkStakingUser.ts +0 -178
- package/src/src/api/exchange/modify.ts +0 -159
- package/src/src/api/exchange/multiSig.ts +0 -348
- package/src/src/api/exchange/noop.ts +0 -122
- package/src/src/api/exchange/order.ts +0 -278
- package/src/src/api/exchange/perpDeploy.ts +0 -402
- package/src/src/api/exchange/registerReferrer.ts +0 -130
- package/src/src/api/exchange/reserveRequestWeight.ts +0 -136
- package/src/src/api/exchange/scheduleCancel.ts +0 -166
- package/src/src/api/exchange/sendAsset.ts +0 -192
- package/src/src/api/exchange/setDisplayName.ts +0 -136
- package/src/src/api/exchange/setReferrer.ts +0 -130
- package/src/src/api/exchange/spotDeploy.ts +0 -379
- package/src/src/api/exchange/spotSend.ts +0 -172
- package/src/src/api/exchange/spotUser.ts +0 -135
- package/src/src/api/exchange/subAccountModify.ts +0 -135
- package/src/src/api/exchange/subAccountSpotTransfer.ts +0 -149
- package/src/src/api/exchange/subAccountTransfer.ts +0 -139
- package/src/src/api/exchange/tokenDelegate.ts +0 -168
- package/src/src/api/exchange/twapCancel.ts +0 -184
- package/src/src/api/exchange/twapOrder.ts +0 -231
- package/src/src/api/exchange/updateIsolatedMargin.ts +0 -152
- package/src/src/api/exchange/updateLeverage.ts +0 -152
- package/src/src/api/exchange/usdClassTransfer.ts +0 -162
- package/src/src/api/exchange/usdSend.ts +0 -162
- package/src/src/api/exchange/userDexAbstraction.ts +0 -166
- package/src/src/api/exchange/validatorL1Stream.ts +0 -136
- package/src/src/api/exchange/vaultDistribute.ts +0 -141
- package/src/src/api/exchange/vaultModify.ts +0 -143
- package/src/src/api/exchange/vaultTransfer.ts +0 -146
- package/src/src/api/exchange/withdraw3.ts +0 -162
- package/src/src/api/exchange/~client.ts +0 -1671
- package/src/src/api/exchange/~mod.ts +0 -88
- package/src/src/api/info/_types.ts +0 -7
- package/src/src/api/info/activeAssetData.ts +0 -154
- package/src/src/api/info/alignedQuoteTokenInfo.ts +0 -128
- package/src/src/api/info/allMids.ts +0 -95
- package/src/src/api/info/allPerpMetas.ts +0 -75
- package/src/src/api/info/blockDetails.ts +0 -172
- package/src/src/api/info/candleSnapshot.ts +0 -159
- package/src/src/api/info/clearinghouseState.ts +0 -286
- package/src/src/api/info/delegations.ts +0 -108
- package/src/src/api/info/delegatorHistory.ts +0 -163
- package/src/src/api/info/delegatorRewards.ts +0 -108
- package/src/src/api/info/delegatorSummary.ts +0 -107
- package/src/src/api/info/exchangeStatus.ts +0 -81
- package/src/src/api/info/extraAgents.ts +0 -109
- package/src/src/api/info/frontendOpenOrders.ts +0 -92
- package/src/src/api/info/fundingHistory.ts +0 -123
- package/src/src/api/info/gossipRootIps.ts +0 -70
- package/src/src/api/info/historicalOrders.ts +0 -103
- package/src/src/api/info/isVip.ts +0 -86
- package/src/src/api/info/l2Book.ts +0 -125
- package/src/src/api/info/leadingVaults.ts +0 -103
- package/src/src/api/info/legalCheck.ts +0 -102
- package/src/src/api/info/liquidatable.ts +0 -68
- package/src/src/api/info/marginTable.ts +0 -117
- package/src/src/api/info/maxBuilderFee.ts +0 -93
- package/src/src/api/info/maxMarketOrderNtls.ts +0 -81
- package/src/src/api/info/meta.ts +0 -176
- package/src/src/api/info/metaAndAssetCtxs.ts +0 -159
- package/src/src/api/info/openOrders.ts +0 -92
- package/src/src/api/info/orderStatus.ts +0 -128
- package/src/src/api/info/perpDeployAuctionStatus.ts +0 -98
- package/src/src/api/info/perpDexLimits.ts +0 -109
- package/src/src/api/info/perpDexs.ts +0 -131
- package/src/src/api/info/perpsAtOpenInterestCap.ts +0 -93
- package/src/src/api/info/portfolio.ts +0 -120
- package/src/src/api/info/preTransferCheck.ts +0 -112
- package/src/src/api/info/predictedFundings.ts +0 -124
- package/src/src/api/info/recentTrades.ts +0 -133
- package/src/src/api/info/referral.ts +0 -321
- package/src/src/api/info/spotClearinghouseState.ts +0 -127
- package/src/src/api/info/spotDeployState.ts +0 -201
- package/src/src/api/info/spotMeta.ts +0 -175
- package/src/src/api/info/spotMetaAndAssetCtxs.ts +0 -127
- package/src/src/api/info/spotPairDeployAuctionStatus.ts +0 -98
- package/src/src/api/info/subAccounts.ts +0 -117
- package/src/src/api/info/subAccounts2.ts +0 -126
- package/src/src/api/info/tokenDetails.ts +0 -185
- package/src/src/api/info/twapHistory.ts +0 -108
- package/src/src/api/info/txDetails.ts +0 -135
- package/src/src/api/info/userDetails.ts +0 -99
- package/src/src/api/info/userDexAbstraction.ts +0 -86
- package/src/src/api/info/userFees.ts +0 -340
- package/src/src/api/info/userFills.ts +0 -92
- package/src/src/api/info/userFillsByTime.ts +0 -102
- package/src/src/api/info/userFunding.ts +0 -149
- package/src/src/api/info/userNonFundingLedgerUpdates.ts +0 -537
- package/src/src/api/info/userRateLimit.ts +0 -107
- package/src/src/api/info/userRole.ts +0 -130
- package/src/src/api/info/userToMultiSigSigners.ts +0 -101
- package/src/src/api/info/userTwapSliceFills.ts +0 -101
- package/src/src/api/info/userTwapSliceFillsByTime.ts +0 -116
- package/src/src/api/info/userVaultEquities.ts +0 -108
- package/src/src/api/info/validatorL1Votes.ts +0 -101
- package/src/src/api/info/validatorSummaries.ts +0 -163
- package/src/src/api/info/vaultDetails.ts +0 -279
- package/src/src/api/info/vaultSummaries.ts +0 -140
- package/src/src/api/info/webData2.ts +0 -87
- package/src/src/api/info/~client.ts +0 -1838
- package/src/src/api/info/~mod.ts +0 -92
- package/src/src/api/subscription/_types.ts +0 -7
- package/src/src/api/subscription/activeAssetCtx.ts +0 -146
- package/src/src/api/subscription/activeAssetData.ts +0 -87
- package/src/src/api/subscription/activeSpotAssetCtx.ts +0 -136
- package/src/src/api/subscription/allMids.ts +0 -110
- package/src/src/api/subscription/assetCtxs.ts +0 -167
- package/src/src/api/subscription/bbo.ts +0 -101
- package/src/src/api/subscription/candle.ts +0 -84
- package/src/src/api/subscription/clearinghouseState.ts +0 -107
- package/src/src/api/subscription/explorerBlock.ts +0 -107
- package/src/src/api/subscription/explorerTxs.ts +0 -118
- package/src/src/api/subscription/l2Book.ts +0 -137
- package/src/src/api/subscription/notification.ts +0 -88
- package/src/src/api/subscription/openOrders.ts +0 -110
- package/src/src/api/subscription/orderUpdates.ts +0 -99
- package/src/src/api/subscription/spotAssetCtxs.ts +0 -118
- package/src/src/api/subscription/spotState.ts +0 -102
- package/src/src/api/subscription/trades.ts +0 -81
- package/src/src/api/subscription/userEvents.ts +0 -281
- package/src/src/api/subscription/userFills.ts +0 -110
- package/src/src/api/subscription/userFundings.ts +0 -137
- package/src/src/api/subscription/userHistoricalOrders.ts +0 -117
- package/src/src/api/subscription/userNonFundingLedgerUpdates.ts +0 -101
- package/src/src/api/subscription/userTwapHistory.ts +0 -122
- package/src/src/api/subscription/userTwapSliceFills.ts +0 -111
- package/src/src/api/subscription/webData2.ts +0 -186
- package/src/src/api/subscription/webData3.ts +0 -185
- package/src/src/api/subscription/~client.ts +0 -792
- package/src/src/api/subscription/~mod.ts +0 -54
- package/src/src/signing/_signTypedData.ts +0 -314
- package/src/src/transport/base.ts +0 -54
- package/src/src/transport/websocket/_hyperliquid_event_target.ts +0 -137
- package/src/src/transport/websocket/_websocket_async_request.ts +0 -242
- package/src/src/utils/_eip712.ts +0 -243
- package/src/src/utils/_recover.ts +0 -178
- /package/esm/src/api/{exchange/_base → subscription/_methods}/_types.js +0 -0
- /package/script/src/api/{exchange/_base → subscription/_methods}/_types.js +0 -0
|
@@ -0,0 +1,1457 @@
|
|
|
1
|
+
import * as v from "valibot";
|
|
2
|
+
/**
|
|
3
|
+
* Deploying HIP-3 assets.
|
|
4
|
+
* @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/hip-3-deployer-actions
|
|
5
|
+
*/
|
|
6
|
+
export declare const PerpDeployRequest: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
7
|
+
/** Action to perform. */
|
|
8
|
+
readonly action: v.SchemaWithPipe<readonly [v.UnionSchema<[v.ObjectSchema<{
|
|
9
|
+
/** Type of action. */
|
|
10
|
+
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"perpDeploy", undefined>, v.DescriptionAction<"perpDeploy", "Type of action.">]>;
|
|
11
|
+
/** Parameters for registering a new perpetual asset (v2). */
|
|
12
|
+
readonly registerAsset2: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
13
|
+
/** Max gas in native token wei. If not provided, then uses current deploy auction price. */
|
|
14
|
+
readonly maxGas: v.SchemaWithPipe<readonly [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>, v.DescriptionAction<number | null, "Max gas in native token wei. If not provided, then uses current deploy auction price.">]>;
|
|
15
|
+
/** Contains new asset listing parameters. */
|
|
16
|
+
readonly assetRequest: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
17
|
+
/** Coin symbol for the new asset. */
|
|
18
|
+
readonly coin: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Coin symbol for the new asset.">]>;
|
|
19
|
+
/** Number of decimal places for size. */
|
|
20
|
+
readonly szDecimals: v.SchemaWithPipe<readonly [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>]>, v.DescriptionAction<number, "Number of decimal places for size.">]>;
|
|
21
|
+
/** Initial oracle price for the asset. */
|
|
22
|
+
readonly oraclePx: v.SchemaWithPipe<readonly [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>]>, v.DescriptionAction<string, "Initial oracle price for the asset.">]>;
|
|
23
|
+
/** Margin table identifier for risk management. */
|
|
24
|
+
readonly marginTableId: v.SchemaWithPipe<readonly [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>]>, v.DescriptionAction<number, "Margin table identifier for risk management.">]>;
|
|
25
|
+
/** 'strictIsolated' does not allow withdrawing of isolated margin from open position. */
|
|
26
|
+
readonly marginMode: v.SchemaWithPipe<readonly [v.PicklistSchema<["strictIsolated", "noCross"], undefined>, v.DescriptionAction<"strictIsolated" | "noCross", "'strictIsolated' does not allow withdrawing of isolated margin from open position.">]>;
|
|
27
|
+
}, undefined>, v.DescriptionAction<{
|
|
28
|
+
coin: string;
|
|
29
|
+
szDecimals: number;
|
|
30
|
+
oraclePx: string;
|
|
31
|
+
marginTableId: number;
|
|
32
|
+
marginMode: "strictIsolated" | "noCross";
|
|
33
|
+
}, "Contains new asset listing parameters.">]>;
|
|
34
|
+
/** Name of the dex. */
|
|
35
|
+
readonly dex: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Name of the dex.">]>;
|
|
36
|
+
/** Contains new dex parameters. */
|
|
37
|
+
readonly schema: v.SchemaWithPipe<readonly [v.NullableSchema<v.ObjectSchema<{
|
|
38
|
+
/** Full name of the dex. */
|
|
39
|
+
readonly fullName: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Full name of the dex.">]>;
|
|
40
|
+
/** Collateral token index. */
|
|
41
|
+
readonly collateralToken: v.SchemaWithPipe<readonly [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>]>, v.DescriptionAction<number, "Collateral token index.">]>;
|
|
42
|
+
/** User to update oracles. If not provided, then deployer is assumed to be oracle updater. */
|
|
43
|
+
readonly oracleUpdater: v.SchemaWithPipe<readonly [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>, v.DescriptionAction<`0x${string}` | null, "User to update oracles. If not provided, then deployer is assumed to be oracle updater.">]>;
|
|
44
|
+
}, undefined>, undefined>, v.DescriptionAction<{
|
|
45
|
+
fullName: string;
|
|
46
|
+
collateralToken: number;
|
|
47
|
+
oracleUpdater: `0x${string}` | null;
|
|
48
|
+
} | null, "Contains new dex parameters.">]>;
|
|
49
|
+
}, undefined>, v.DescriptionAction<{
|
|
50
|
+
maxGas: number | null;
|
|
51
|
+
assetRequest: {
|
|
52
|
+
coin: string;
|
|
53
|
+
szDecimals: number;
|
|
54
|
+
oraclePx: string;
|
|
55
|
+
marginTableId: number;
|
|
56
|
+
marginMode: "strictIsolated" | "noCross";
|
|
57
|
+
};
|
|
58
|
+
dex: string;
|
|
59
|
+
schema: {
|
|
60
|
+
fullName: string;
|
|
61
|
+
collateralToken: number;
|
|
62
|
+
oracleUpdater: `0x${string}` | null;
|
|
63
|
+
} | null;
|
|
64
|
+
}, "Parameters for registering a new perpetual asset (v2).">]>;
|
|
65
|
+
}, undefined>, v.ObjectSchema<{
|
|
66
|
+
/** Type of action. */
|
|
67
|
+
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"perpDeploy", undefined>, v.DescriptionAction<"perpDeploy", "Type of action.">]>;
|
|
68
|
+
/** Parameters for registering a new perpetual asset. */
|
|
69
|
+
readonly registerAsset: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
70
|
+
/** Max gas in native token wei. If not provided, then uses current deploy auction price. */
|
|
71
|
+
readonly maxGas: v.SchemaWithPipe<readonly [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>, v.DescriptionAction<number | null, "Max gas in native token wei. If not provided, then uses current deploy auction price.">]>;
|
|
72
|
+
/** Contains new asset listing parameters. */
|
|
73
|
+
readonly assetRequest: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
74
|
+
/** Coin symbol for the new asset. */
|
|
75
|
+
readonly coin: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Coin symbol for the new asset.">]>;
|
|
76
|
+
/** Number of decimal places for size. */
|
|
77
|
+
readonly szDecimals: v.SchemaWithPipe<readonly [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>]>, v.DescriptionAction<number, "Number of decimal places for size.">]>;
|
|
78
|
+
/** Initial oracle price for the asset. */
|
|
79
|
+
readonly oraclePx: v.SchemaWithPipe<readonly [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>]>, v.DescriptionAction<string, "Initial oracle price for the asset.">]>;
|
|
80
|
+
/** Margin table identifier for risk management. */
|
|
81
|
+
readonly marginTableId: v.SchemaWithPipe<readonly [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>]>, v.DescriptionAction<number, "Margin table identifier for risk management.">]>;
|
|
82
|
+
/** Whether the asset can only be traded with isolated margin. */
|
|
83
|
+
readonly onlyIsolated: v.SchemaWithPipe<readonly [v.BooleanSchema<undefined>, v.DescriptionAction<boolean, "Whether the asset can only be traded with isolated margin.">]>;
|
|
84
|
+
}, undefined>, v.DescriptionAction<{
|
|
85
|
+
coin: string;
|
|
86
|
+
szDecimals: number;
|
|
87
|
+
oraclePx: string;
|
|
88
|
+
marginTableId: number;
|
|
89
|
+
onlyIsolated: boolean;
|
|
90
|
+
}, "Contains new asset listing parameters.">]>;
|
|
91
|
+
/** Name of the dex. */
|
|
92
|
+
readonly dex: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Name of the dex.">]>;
|
|
93
|
+
/** Contains new dex parameters. */
|
|
94
|
+
readonly schema: v.SchemaWithPipe<readonly [v.NullableSchema<v.ObjectSchema<{
|
|
95
|
+
/** Full name of the dex. */
|
|
96
|
+
readonly fullName: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Full name of the dex.">]>;
|
|
97
|
+
/** Collateral token index. */
|
|
98
|
+
readonly collateralToken: v.SchemaWithPipe<readonly [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>]>, v.DescriptionAction<number, "Collateral token index.">]>;
|
|
99
|
+
/** User to update oracles. If not provided, then deployer is assumed to be oracle updater. */
|
|
100
|
+
readonly oracleUpdater: v.SchemaWithPipe<readonly [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>, v.DescriptionAction<`0x${string}` | null, "User to update oracles. If not provided, then deployer is assumed to be oracle updater.">]>;
|
|
101
|
+
}, undefined>, undefined>, v.DescriptionAction<{
|
|
102
|
+
fullName: string;
|
|
103
|
+
collateralToken: number;
|
|
104
|
+
oracleUpdater: `0x${string}` | null;
|
|
105
|
+
} | null, "Contains new dex parameters.">]>;
|
|
106
|
+
}, undefined>, v.DescriptionAction<{
|
|
107
|
+
maxGas: number | null;
|
|
108
|
+
assetRequest: {
|
|
109
|
+
coin: string;
|
|
110
|
+
szDecimals: number;
|
|
111
|
+
oraclePx: string;
|
|
112
|
+
marginTableId: number;
|
|
113
|
+
onlyIsolated: boolean;
|
|
114
|
+
};
|
|
115
|
+
dex: string;
|
|
116
|
+
schema: {
|
|
117
|
+
fullName: string;
|
|
118
|
+
collateralToken: number;
|
|
119
|
+
oracleUpdater: `0x${string}` | null;
|
|
120
|
+
} | null;
|
|
121
|
+
}, "Parameters for registering a new perpetual asset.">]>;
|
|
122
|
+
}, undefined>, v.ObjectSchema<{
|
|
123
|
+
/** Type of action. */
|
|
124
|
+
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"perpDeploy", undefined>, v.DescriptionAction<"perpDeploy", "Type of action.">]>;
|
|
125
|
+
/** Parameters for setting oracle and mark prices for assets. */
|
|
126
|
+
readonly setOracle: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
127
|
+
/** Name of the dex. */
|
|
128
|
+
readonly dex: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Name of the dex.">]>;
|
|
129
|
+
/** A list (sorted by key) of asset and oracle prices. */
|
|
130
|
+
readonly oraclePxs: v.SchemaWithPipe<readonly [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>, v.DescriptionAction<[string, string][], "A list (sorted by key) of asset and oracle prices.">]>;
|
|
131
|
+
/** An outer list of inner lists (inner list sorted by key) of asset and mark prices. */
|
|
132
|
+
readonly markPxs: v.SchemaWithPipe<readonly [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>, v.DescriptionAction<[string, string][][], "An outer list of inner lists (inner list sorted by key) of asset and mark prices.">]>;
|
|
133
|
+
/** A list (sorted by key) of asset and external prices which prevent sudden mark price deviations. */
|
|
134
|
+
readonly externalPerpPxs: v.SchemaWithPipe<readonly [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>, v.DescriptionAction<[string, string][], "A list (sorted by key) of asset and external prices which prevent sudden mark price deviations.">]>;
|
|
135
|
+
}, undefined>, v.DescriptionAction<{
|
|
136
|
+
dex: string;
|
|
137
|
+
oraclePxs: [string, string][];
|
|
138
|
+
markPxs: [string, string][][];
|
|
139
|
+
externalPerpPxs: [string, string][];
|
|
140
|
+
}, "Parameters for setting oracle and mark prices for assets.">]>;
|
|
141
|
+
}, undefined>, v.ObjectSchema<{
|
|
142
|
+
/** Type of action. */
|
|
143
|
+
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"perpDeploy", undefined>, v.DescriptionAction<"perpDeploy", "Type of action.">]>;
|
|
144
|
+
/** A list (sorted by key) of asset and funding multiplier. */
|
|
145
|
+
readonly setFundingMultipliers: v.SchemaWithPipe<readonly [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>, v.DescriptionAction<[string, string][], "A list (sorted by key) of asset and funding multiplier.">]>;
|
|
146
|
+
}, undefined>, v.ObjectSchema<{
|
|
147
|
+
/** Type of action. */
|
|
148
|
+
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"perpDeploy", undefined>, v.DescriptionAction<"perpDeploy", "Type of action.">]>;
|
|
149
|
+
/** Parameters for halting or resuming trading for an asset. */
|
|
150
|
+
readonly haltTrading: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
151
|
+
/** Coin symbol for the asset to halt or resume. */
|
|
152
|
+
readonly coin: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Coin symbol for the asset to halt or resume.">]>;
|
|
153
|
+
/** Whether trading should be halted (true) or resumed (false). */
|
|
154
|
+
readonly isHalted: v.SchemaWithPipe<readonly [v.BooleanSchema<undefined>, v.DescriptionAction<boolean, "Whether trading should be halted (true) or resumed (false).">]>;
|
|
155
|
+
}, undefined>, v.DescriptionAction<{
|
|
156
|
+
coin: string;
|
|
157
|
+
isHalted: boolean;
|
|
158
|
+
}, "Parameters for halting or resuming trading for an asset.">]>;
|
|
159
|
+
}, undefined>, v.ObjectSchema<{
|
|
160
|
+
/** Type of action. */
|
|
161
|
+
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"perpDeploy", undefined>, v.DescriptionAction<"perpDeploy", "Type of action.">]>;
|
|
162
|
+
/** A list (sorted by key) of asset and margin table ids. */
|
|
163
|
+
readonly setMarginTableIds: v.SchemaWithPipe<readonly [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>, v.DescriptionAction<[string, number][], "A list (sorted by key) of asset and margin table ids.">]>;
|
|
164
|
+
}, undefined>, v.ObjectSchema<{
|
|
165
|
+
/** Type of action. */
|
|
166
|
+
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"perpDeploy", undefined>, v.DescriptionAction<"perpDeploy", "Type of action.">]>;
|
|
167
|
+
/** Parameters for setting the fee recipient. */
|
|
168
|
+
readonly setFeeRecipient: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
169
|
+
/** Name of the DEX. */
|
|
170
|
+
readonly dex: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Name of the DEX.">]>;
|
|
171
|
+
/** Address of the fee recipient. */
|
|
172
|
+
readonly feeRecipient: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 42, undefined>]>, v.DescriptionAction<`0x${string}`, "Address of the fee recipient.">]>;
|
|
173
|
+
}, undefined>, v.DescriptionAction<{
|
|
174
|
+
dex: string;
|
|
175
|
+
feeRecipient: `0x${string}`;
|
|
176
|
+
}, "Parameters for setting the fee recipient.">]>;
|
|
177
|
+
}, undefined>, v.ObjectSchema<{
|
|
178
|
+
/** Type of action. */
|
|
179
|
+
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"perpDeploy", undefined>, v.DescriptionAction<"perpDeploy", "Type of action.">]>;
|
|
180
|
+
/** A list (sorted by key) of asset and open interest cap notionals. */
|
|
181
|
+
readonly setOpenInterestCaps: v.SchemaWithPipe<readonly [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>, v.DescriptionAction<[string, number][], "A list (sorted by key) of asset and open interest cap notionals.">]>;
|
|
182
|
+
}, undefined>, v.ObjectSchema<{
|
|
183
|
+
/** Type of action. */
|
|
184
|
+
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"perpDeploy", undefined>, v.DescriptionAction<"perpDeploy", "Type of action.">]>;
|
|
185
|
+
/** A modification to sub-deployer permissions. */
|
|
186
|
+
readonly setSubDeployers: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
187
|
+
/** Name of the DEX. */
|
|
188
|
+
readonly dex: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Name of the DEX.">]>;
|
|
189
|
+
/** A modification to sub-deployer permissions. */
|
|
190
|
+
readonly subDeployers: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
191
|
+
/** Corresponds to a variant of PerpDeployAction. */
|
|
192
|
+
readonly variant: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Corresponds to a variant of PerpDeployAction.">]>;
|
|
193
|
+
/** Sub-deployer address. */
|
|
194
|
+
readonly user: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 42, undefined>]>, v.DescriptionAction<`0x${string}`, "Sub-deployer address.">]>;
|
|
195
|
+
/** Add or remove the subDeployer from the authorized set for the action variant. */
|
|
196
|
+
readonly allowed: v.SchemaWithPipe<readonly [v.BooleanSchema<undefined>, v.DescriptionAction<boolean, "Add or remove the subDeployer from the authorized set for the action variant.">]>;
|
|
197
|
+
}, undefined>, undefined>, v.DescriptionAction<{
|
|
198
|
+
variant: string;
|
|
199
|
+
user: `0x${string}`;
|
|
200
|
+
allowed: boolean;
|
|
201
|
+
}[], "A modification to sub-deployer permissions.">]>;
|
|
202
|
+
}, undefined>, v.DescriptionAction<{
|
|
203
|
+
dex: string;
|
|
204
|
+
subDeployers: {
|
|
205
|
+
variant: string;
|
|
206
|
+
user: `0x${string}`;
|
|
207
|
+
allowed: boolean;
|
|
208
|
+
}[];
|
|
209
|
+
}, "A modification to sub-deployer permissions.">]>;
|
|
210
|
+
}, undefined>, v.ObjectSchema<{
|
|
211
|
+
/** Type of action. */
|
|
212
|
+
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"perpDeploy", undefined>, v.DescriptionAction<"perpDeploy", "Type of action.">]>;
|
|
213
|
+
/** A list (sorted by key) of asset and margin modes. */
|
|
214
|
+
readonly setMarginModes: v.SchemaWithPipe<readonly [v.ArraySchema<v.TupleSchema<[v.StringSchema<undefined>, v.PicklistSchema<["strictIsolated", "noCross"], undefined>], undefined>, undefined>, v.DescriptionAction<[string, "strictIsolated" | "noCross"][], "A list (sorted by key) of asset and margin modes.">]>;
|
|
215
|
+
}, undefined>, v.ObjectSchema<{
|
|
216
|
+
/** Type of action. */
|
|
217
|
+
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"perpDeploy", undefined>, v.DescriptionAction<"perpDeploy", "Type of action.">]>;
|
|
218
|
+
/** Set fee scale. */
|
|
219
|
+
readonly setFeeScale: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
220
|
+
/** Name of the dex. */
|
|
221
|
+
readonly dex: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Name of the dex.">]>;
|
|
222
|
+
/** Fee scale (between 0.0 and 3.0). */
|
|
223
|
+
readonly scale: v.SchemaWithPipe<readonly [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>]>, v.DescriptionAction<string, "Fee scale (between 0.0 and 3.0).">]>;
|
|
224
|
+
}, undefined>, v.DescriptionAction<{
|
|
225
|
+
dex: string;
|
|
226
|
+
scale: string;
|
|
227
|
+
}, "Set fee scale.">]>;
|
|
228
|
+
}, undefined>, v.ObjectSchema<{
|
|
229
|
+
/** Type of action. */
|
|
230
|
+
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"perpDeploy", undefined>, v.DescriptionAction<"perpDeploy", "Type of action.">]>;
|
|
231
|
+
/** A list (sorted by key) of asset and growth modes. */
|
|
232
|
+
readonly setGrowthModes: v.SchemaWithPipe<readonly [v.ArraySchema<v.TupleSchema<[v.StringSchema<undefined>, v.BooleanSchema<undefined>], undefined>, undefined>, v.DescriptionAction<[string, boolean][], "A list (sorted by key) of asset and growth modes.">]>;
|
|
233
|
+
}, undefined>], undefined>, v.DescriptionAction<{
|
|
234
|
+
type: "perpDeploy";
|
|
235
|
+
registerAsset2: {
|
|
236
|
+
maxGas: number | null;
|
|
237
|
+
assetRequest: {
|
|
238
|
+
coin: string;
|
|
239
|
+
szDecimals: number;
|
|
240
|
+
oraclePx: string;
|
|
241
|
+
marginTableId: number;
|
|
242
|
+
marginMode: "strictIsolated" | "noCross";
|
|
243
|
+
};
|
|
244
|
+
dex: string;
|
|
245
|
+
schema: {
|
|
246
|
+
fullName: string;
|
|
247
|
+
collateralToken: number;
|
|
248
|
+
oracleUpdater: `0x${string}` | null;
|
|
249
|
+
} | null;
|
|
250
|
+
};
|
|
251
|
+
} | {
|
|
252
|
+
type: "perpDeploy";
|
|
253
|
+
registerAsset: {
|
|
254
|
+
maxGas: number | null;
|
|
255
|
+
assetRequest: {
|
|
256
|
+
coin: string;
|
|
257
|
+
szDecimals: number;
|
|
258
|
+
oraclePx: string;
|
|
259
|
+
marginTableId: number;
|
|
260
|
+
onlyIsolated: boolean;
|
|
261
|
+
};
|
|
262
|
+
dex: string;
|
|
263
|
+
schema: {
|
|
264
|
+
fullName: string;
|
|
265
|
+
collateralToken: number;
|
|
266
|
+
oracleUpdater: `0x${string}` | null;
|
|
267
|
+
} | null;
|
|
268
|
+
};
|
|
269
|
+
} | {
|
|
270
|
+
type: "perpDeploy";
|
|
271
|
+
setOracle: {
|
|
272
|
+
dex: string;
|
|
273
|
+
oraclePxs: [string, string][];
|
|
274
|
+
markPxs: [string, string][][];
|
|
275
|
+
externalPerpPxs: [string, string][];
|
|
276
|
+
};
|
|
277
|
+
} | {
|
|
278
|
+
type: "perpDeploy";
|
|
279
|
+
setFundingMultipliers: [string, string][];
|
|
280
|
+
} | {
|
|
281
|
+
type: "perpDeploy";
|
|
282
|
+
haltTrading: {
|
|
283
|
+
coin: string;
|
|
284
|
+
isHalted: boolean;
|
|
285
|
+
};
|
|
286
|
+
} | {
|
|
287
|
+
type: "perpDeploy";
|
|
288
|
+
setMarginTableIds: [string, number][];
|
|
289
|
+
} | {
|
|
290
|
+
type: "perpDeploy";
|
|
291
|
+
setFeeRecipient: {
|
|
292
|
+
dex: string;
|
|
293
|
+
feeRecipient: `0x${string}`;
|
|
294
|
+
};
|
|
295
|
+
} | {
|
|
296
|
+
type: "perpDeploy";
|
|
297
|
+
setOpenInterestCaps: [string, number][];
|
|
298
|
+
} | {
|
|
299
|
+
type: "perpDeploy";
|
|
300
|
+
setSubDeployers: {
|
|
301
|
+
dex: string;
|
|
302
|
+
subDeployers: {
|
|
303
|
+
variant: string;
|
|
304
|
+
user: `0x${string}`;
|
|
305
|
+
allowed: boolean;
|
|
306
|
+
}[];
|
|
307
|
+
};
|
|
308
|
+
} | {
|
|
309
|
+
type: "perpDeploy";
|
|
310
|
+
setMarginModes: [string, "strictIsolated" | "noCross"][];
|
|
311
|
+
} | {
|
|
312
|
+
type: "perpDeploy";
|
|
313
|
+
setFeeScale: {
|
|
314
|
+
dex: string;
|
|
315
|
+
scale: string;
|
|
316
|
+
};
|
|
317
|
+
} | {
|
|
318
|
+
type: "perpDeploy";
|
|
319
|
+
setGrowthModes: [string, boolean][];
|
|
320
|
+
}, "Action to perform.">]>;
|
|
321
|
+
/** Nonce (timestamp in ms) used to prevent replay attacks. */
|
|
322
|
+
readonly nonce: v.SchemaWithPipe<readonly [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>]>, v.DescriptionAction<number, "Nonce (timestamp in ms) used to prevent replay attacks.">]>;
|
|
323
|
+
/** ECDSA signature components. */
|
|
324
|
+
readonly signature: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
325
|
+
readonly r: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 66, undefined>, v.DescriptionAction<`0x${string}`, "First 32-byte component.">]>;
|
|
326
|
+
readonly s: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 66, undefined>, v.DescriptionAction<`0x${string}`, "Second 32-byte component.">]>;
|
|
327
|
+
readonly v: v.SchemaWithPipe<readonly [v.PicklistSchema<[27, 28], undefined>, v.DescriptionAction<27 | 28, "Recovery identifier.">]>;
|
|
328
|
+
}, undefined>, v.DescriptionAction<{
|
|
329
|
+
r: `0x${string}`;
|
|
330
|
+
s: `0x${string}`;
|
|
331
|
+
v: 27 | 28;
|
|
332
|
+
}, "ECDSA signature components.">]>, v.DescriptionAction<{
|
|
333
|
+
r: `0x${string}`;
|
|
334
|
+
s: `0x${string}`;
|
|
335
|
+
v: 27 | 28;
|
|
336
|
+
}, "ECDSA signature components.">]>;
|
|
337
|
+
/** Expiration time of the action. */
|
|
338
|
+
readonly expiresAfter: v.SchemaWithPipe<readonly [v.OptionalSchema<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>, v.DescriptionAction<number | undefined, "Expiration time of the action.">]>;
|
|
339
|
+
}, undefined>, v.DescriptionAction<{
|
|
340
|
+
action: {
|
|
341
|
+
type: "perpDeploy";
|
|
342
|
+
registerAsset2: {
|
|
343
|
+
maxGas: number | null;
|
|
344
|
+
assetRequest: {
|
|
345
|
+
coin: string;
|
|
346
|
+
szDecimals: number;
|
|
347
|
+
oraclePx: string;
|
|
348
|
+
marginTableId: number;
|
|
349
|
+
marginMode: "strictIsolated" | "noCross";
|
|
350
|
+
};
|
|
351
|
+
dex: string;
|
|
352
|
+
schema: {
|
|
353
|
+
fullName: string;
|
|
354
|
+
collateralToken: number;
|
|
355
|
+
oracleUpdater: `0x${string}` | null;
|
|
356
|
+
} | null;
|
|
357
|
+
};
|
|
358
|
+
} | {
|
|
359
|
+
type: "perpDeploy";
|
|
360
|
+
registerAsset: {
|
|
361
|
+
maxGas: number | null;
|
|
362
|
+
assetRequest: {
|
|
363
|
+
coin: string;
|
|
364
|
+
szDecimals: number;
|
|
365
|
+
oraclePx: string;
|
|
366
|
+
marginTableId: number;
|
|
367
|
+
onlyIsolated: boolean;
|
|
368
|
+
};
|
|
369
|
+
dex: string;
|
|
370
|
+
schema: {
|
|
371
|
+
fullName: string;
|
|
372
|
+
collateralToken: number;
|
|
373
|
+
oracleUpdater: `0x${string}` | null;
|
|
374
|
+
} | null;
|
|
375
|
+
};
|
|
376
|
+
} | {
|
|
377
|
+
type: "perpDeploy";
|
|
378
|
+
setOracle: {
|
|
379
|
+
dex: string;
|
|
380
|
+
oraclePxs: [string, string][];
|
|
381
|
+
markPxs: [string, string][][];
|
|
382
|
+
externalPerpPxs: [string, string][];
|
|
383
|
+
};
|
|
384
|
+
} | {
|
|
385
|
+
type: "perpDeploy";
|
|
386
|
+
setFundingMultipliers: [string, string][];
|
|
387
|
+
} | {
|
|
388
|
+
type: "perpDeploy";
|
|
389
|
+
haltTrading: {
|
|
390
|
+
coin: string;
|
|
391
|
+
isHalted: boolean;
|
|
392
|
+
};
|
|
393
|
+
} | {
|
|
394
|
+
type: "perpDeploy";
|
|
395
|
+
setMarginTableIds: [string, number][];
|
|
396
|
+
} | {
|
|
397
|
+
type: "perpDeploy";
|
|
398
|
+
setFeeRecipient: {
|
|
399
|
+
dex: string;
|
|
400
|
+
feeRecipient: `0x${string}`;
|
|
401
|
+
};
|
|
402
|
+
} | {
|
|
403
|
+
type: "perpDeploy";
|
|
404
|
+
setOpenInterestCaps: [string, number][];
|
|
405
|
+
} | {
|
|
406
|
+
type: "perpDeploy";
|
|
407
|
+
setSubDeployers: {
|
|
408
|
+
dex: string;
|
|
409
|
+
subDeployers: {
|
|
410
|
+
variant: string;
|
|
411
|
+
user: `0x${string}`;
|
|
412
|
+
allowed: boolean;
|
|
413
|
+
}[];
|
|
414
|
+
};
|
|
415
|
+
} | {
|
|
416
|
+
type: "perpDeploy";
|
|
417
|
+
setMarginModes: [string, "strictIsolated" | "noCross"][];
|
|
418
|
+
} | {
|
|
419
|
+
type: "perpDeploy";
|
|
420
|
+
setFeeScale: {
|
|
421
|
+
dex: string;
|
|
422
|
+
scale: string;
|
|
423
|
+
};
|
|
424
|
+
} | {
|
|
425
|
+
type: "perpDeploy";
|
|
426
|
+
setGrowthModes: [string, boolean][];
|
|
427
|
+
};
|
|
428
|
+
nonce: number;
|
|
429
|
+
signature: {
|
|
430
|
+
r: `0x${string}`;
|
|
431
|
+
s: `0x${string}`;
|
|
432
|
+
v: 27 | 28;
|
|
433
|
+
};
|
|
434
|
+
expiresAfter?: number | undefined;
|
|
435
|
+
}, "Deploying HIP-3 assets.">]>;
|
|
436
|
+
export type PerpDeployRequest = v.InferOutput<typeof PerpDeployRequest>;
|
|
437
|
+
/**
|
|
438
|
+
* Successful response without specific data or error response.
|
|
439
|
+
* @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/hip-3-deployer-actions
|
|
440
|
+
*/
|
|
441
|
+
export declare const PerpDeployResponse: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
442
|
+
readonly status: v.SchemaWithPipe<readonly [v.LiteralSchema<"ok", undefined>, v.DescriptionAction<"ok", "Successful status.">]>;
|
|
443
|
+
readonly response: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
444
|
+
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"default", undefined>, v.DescriptionAction<"default", "Type of response.">]>;
|
|
445
|
+
}, undefined>, v.DescriptionAction<{
|
|
446
|
+
type: "default";
|
|
447
|
+
}, "Response details.">]>;
|
|
448
|
+
}, undefined>, v.DescriptionAction<{
|
|
449
|
+
status: "ok";
|
|
450
|
+
response: {
|
|
451
|
+
type: "default";
|
|
452
|
+
};
|
|
453
|
+
}, "Successful response without specific data.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
454
|
+
readonly status: v.SchemaWithPipe<readonly [v.LiteralSchema<"err", undefined>, v.DescriptionAction<"err", "Error status.">]>;
|
|
455
|
+
readonly response: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Error message.">]>;
|
|
456
|
+
}, undefined>, v.DescriptionAction<{
|
|
457
|
+
status: "err";
|
|
458
|
+
response: string;
|
|
459
|
+
}, "Error response for failed operations.">]>], undefined>, v.DescriptionAction<{
|
|
460
|
+
status: "err";
|
|
461
|
+
response: string;
|
|
462
|
+
} | {
|
|
463
|
+
status: "ok";
|
|
464
|
+
response: {
|
|
465
|
+
type: "default";
|
|
466
|
+
};
|
|
467
|
+
}, "Successful response without specific data or error response.">]>;
|
|
468
|
+
export type PerpDeployResponse = v.InferOutput<typeof PerpDeployResponse>;
|
|
469
|
+
import { type ExchangeConfig, type ExtractRequestOptions } from "./_base/execute.js";
|
|
470
|
+
import type { ExcludeErrorResponse } from "./_base/errors.js";
|
|
471
|
+
/** Schema for user-provided action parameters (excludes system fields). */
|
|
472
|
+
declare const PerpDeployParameters: v.UnionSchema<((Omit<v.ObjectSchema<{
|
|
473
|
+
/** Type of action. */
|
|
474
|
+
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"perpDeploy", undefined>, v.DescriptionAction<"perpDeploy", "Type of action.">]>;
|
|
475
|
+
/** Parameters for registering a new perpetual asset (v2). */
|
|
476
|
+
readonly registerAsset2: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
477
|
+
/** Max gas in native token wei. If not provided, then uses current deploy auction price. */
|
|
478
|
+
readonly maxGas: v.SchemaWithPipe<readonly [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>, v.DescriptionAction<number | null, "Max gas in native token wei. If not provided, then uses current deploy auction price.">]>;
|
|
479
|
+
/** Contains new asset listing parameters. */
|
|
480
|
+
readonly assetRequest: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
481
|
+
/** Coin symbol for the new asset. */
|
|
482
|
+
readonly coin: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Coin symbol for the new asset.">]>;
|
|
483
|
+
/** Number of decimal places for size. */
|
|
484
|
+
readonly szDecimals: v.SchemaWithPipe<readonly [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>]>, v.DescriptionAction<number, "Number of decimal places for size.">]>;
|
|
485
|
+
/** Initial oracle price for the asset. */
|
|
486
|
+
readonly oraclePx: v.SchemaWithPipe<readonly [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>]>, v.DescriptionAction<string, "Initial oracle price for the asset.">]>;
|
|
487
|
+
/** Margin table identifier for risk management. */
|
|
488
|
+
readonly marginTableId: v.SchemaWithPipe<readonly [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>]>, v.DescriptionAction<number, "Margin table identifier for risk management.">]>;
|
|
489
|
+
/** 'strictIsolated' does not allow withdrawing of isolated margin from open position. */
|
|
490
|
+
readonly marginMode: v.SchemaWithPipe<readonly [v.PicklistSchema<["strictIsolated", "noCross"], undefined>, v.DescriptionAction<"strictIsolated" | "noCross", "'strictIsolated' does not allow withdrawing of isolated margin from open position.">]>;
|
|
491
|
+
}, undefined>, v.DescriptionAction<{
|
|
492
|
+
coin: string;
|
|
493
|
+
szDecimals: number;
|
|
494
|
+
oraclePx: string;
|
|
495
|
+
marginTableId: number;
|
|
496
|
+
marginMode: "strictIsolated" | "noCross";
|
|
497
|
+
}, "Contains new asset listing parameters.">]>;
|
|
498
|
+
/** Name of the dex. */
|
|
499
|
+
readonly dex: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Name of the dex.">]>;
|
|
500
|
+
/** Contains new dex parameters. */
|
|
501
|
+
readonly schema: v.SchemaWithPipe<readonly [v.NullableSchema<v.ObjectSchema<{
|
|
502
|
+
/** Full name of the dex. */
|
|
503
|
+
readonly fullName: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Full name of the dex.">]>;
|
|
504
|
+
/** Collateral token index. */
|
|
505
|
+
readonly collateralToken: v.SchemaWithPipe<readonly [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>]>, v.DescriptionAction<number, "Collateral token index.">]>;
|
|
506
|
+
/** User to update oracles. If not provided, then deployer is assumed to be oracle updater. */
|
|
507
|
+
readonly oracleUpdater: v.SchemaWithPipe<readonly [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>, v.DescriptionAction<`0x${string}` | null, "User to update oracles. If not provided, then deployer is assumed to be oracle updater.">]>;
|
|
508
|
+
}, undefined>, undefined>, v.DescriptionAction<{
|
|
509
|
+
fullName: string;
|
|
510
|
+
collateralToken: number;
|
|
511
|
+
oracleUpdater: `0x${string}` | null;
|
|
512
|
+
} | null, "Contains new dex parameters.">]>;
|
|
513
|
+
}, undefined>, v.DescriptionAction<{
|
|
514
|
+
maxGas: number | null;
|
|
515
|
+
assetRequest: {
|
|
516
|
+
coin: string;
|
|
517
|
+
szDecimals: number;
|
|
518
|
+
oraclePx: string;
|
|
519
|
+
marginTableId: number;
|
|
520
|
+
marginMode: "strictIsolated" | "noCross";
|
|
521
|
+
};
|
|
522
|
+
dex: string;
|
|
523
|
+
schema: {
|
|
524
|
+
fullName: string;
|
|
525
|
+
collateralToken: number;
|
|
526
|
+
oracleUpdater: `0x${string}` | null;
|
|
527
|
+
} | null;
|
|
528
|
+
}, "Parameters for registering a new perpetual asset (v2).">]>;
|
|
529
|
+
}, undefined>, "entries" | "~types" | "~run" | "~standard"> & {
|
|
530
|
+
readonly entries: Omit<{
|
|
531
|
+
/** Type of action. */
|
|
532
|
+
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"perpDeploy", undefined>, v.DescriptionAction<"perpDeploy", "Type of action.">]>;
|
|
533
|
+
/** Parameters for registering a new perpetual asset (v2). */
|
|
534
|
+
readonly registerAsset2: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
535
|
+
/** Max gas in native token wei. If not provided, then uses current deploy auction price. */
|
|
536
|
+
readonly maxGas: v.SchemaWithPipe<readonly [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>, v.DescriptionAction<number | null, "Max gas in native token wei. If not provided, then uses current deploy auction price.">]>;
|
|
537
|
+
/** Contains new asset listing parameters. */
|
|
538
|
+
readonly assetRequest: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
539
|
+
/** Coin symbol for the new asset. */
|
|
540
|
+
readonly coin: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Coin symbol for the new asset.">]>;
|
|
541
|
+
/** Number of decimal places for size. */
|
|
542
|
+
readonly szDecimals: v.SchemaWithPipe<readonly [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>]>, v.DescriptionAction<number, "Number of decimal places for size.">]>;
|
|
543
|
+
/** Initial oracle price for the asset. */
|
|
544
|
+
readonly oraclePx: v.SchemaWithPipe<readonly [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>]>, v.DescriptionAction<string, "Initial oracle price for the asset.">]>;
|
|
545
|
+
/** Margin table identifier for risk management. */
|
|
546
|
+
readonly marginTableId: v.SchemaWithPipe<readonly [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>]>, v.DescriptionAction<number, "Margin table identifier for risk management.">]>;
|
|
547
|
+
/** 'strictIsolated' does not allow withdrawing of isolated margin from open position. */
|
|
548
|
+
readonly marginMode: v.SchemaWithPipe<readonly [v.PicklistSchema<["strictIsolated", "noCross"], undefined>, v.DescriptionAction<"strictIsolated" | "noCross", "'strictIsolated' does not allow withdrawing of isolated margin from open position.">]>;
|
|
549
|
+
}, undefined>, v.DescriptionAction<{
|
|
550
|
+
coin: string;
|
|
551
|
+
szDecimals: number;
|
|
552
|
+
oraclePx: string;
|
|
553
|
+
marginTableId: number;
|
|
554
|
+
marginMode: "strictIsolated" | "noCross";
|
|
555
|
+
}, "Contains new asset listing parameters.">]>;
|
|
556
|
+
/** Name of the dex. */
|
|
557
|
+
readonly dex: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Name of the dex.">]>;
|
|
558
|
+
/** Contains new dex parameters. */
|
|
559
|
+
readonly schema: v.SchemaWithPipe<readonly [v.NullableSchema<v.ObjectSchema<{
|
|
560
|
+
/** Full name of the dex. */
|
|
561
|
+
readonly fullName: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Full name of the dex.">]>;
|
|
562
|
+
/** Collateral token index. */
|
|
563
|
+
readonly collateralToken: v.SchemaWithPipe<readonly [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>]>, v.DescriptionAction<number, "Collateral token index.">]>;
|
|
564
|
+
/** User to update oracles. If not provided, then deployer is assumed to be oracle updater. */
|
|
565
|
+
readonly oracleUpdater: v.SchemaWithPipe<readonly [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>, v.DescriptionAction<`0x${string}` | null, "User to update oracles. If not provided, then deployer is assumed to be oracle updater.">]>;
|
|
566
|
+
}, undefined>, undefined>, v.DescriptionAction<{
|
|
567
|
+
fullName: string;
|
|
568
|
+
collateralToken: number;
|
|
569
|
+
oracleUpdater: `0x${string}` | null;
|
|
570
|
+
} | null, "Contains new dex parameters.">]>;
|
|
571
|
+
}, undefined>, v.DescriptionAction<{
|
|
572
|
+
maxGas: number | null;
|
|
573
|
+
assetRequest: {
|
|
574
|
+
coin: string;
|
|
575
|
+
szDecimals: number;
|
|
576
|
+
oraclePx: string;
|
|
577
|
+
marginTableId: number;
|
|
578
|
+
marginMode: "strictIsolated" | "noCross";
|
|
579
|
+
};
|
|
580
|
+
dex: string;
|
|
581
|
+
schema: {
|
|
582
|
+
fullName: string;
|
|
583
|
+
collateralToken: number;
|
|
584
|
+
oracleUpdater: `0x${string}` | null;
|
|
585
|
+
} | null;
|
|
586
|
+
}, "Parameters for registering a new perpetual asset (v2).">]>;
|
|
587
|
+
}, "type">;
|
|
588
|
+
readonly "~standard": v.StandardProps<{
|
|
589
|
+
registerAsset2: {
|
|
590
|
+
maxGas: string | number | null;
|
|
591
|
+
assetRequest: {
|
|
592
|
+
coin: string;
|
|
593
|
+
szDecimals: string | number;
|
|
594
|
+
oraclePx: string | number;
|
|
595
|
+
marginTableId: string | number;
|
|
596
|
+
marginMode: "strictIsolated" | "noCross";
|
|
597
|
+
};
|
|
598
|
+
dex: string;
|
|
599
|
+
schema: {
|
|
600
|
+
fullName: string;
|
|
601
|
+
collateralToken: string | number;
|
|
602
|
+
oracleUpdater: string | null;
|
|
603
|
+
} | null;
|
|
604
|
+
};
|
|
605
|
+
}, {
|
|
606
|
+
registerAsset2: {
|
|
607
|
+
maxGas: number | null;
|
|
608
|
+
assetRequest: {
|
|
609
|
+
coin: string;
|
|
610
|
+
szDecimals: number;
|
|
611
|
+
oraclePx: string;
|
|
612
|
+
marginTableId: number;
|
|
613
|
+
marginMode: "strictIsolated" | "noCross";
|
|
614
|
+
};
|
|
615
|
+
dex: string;
|
|
616
|
+
schema: {
|
|
617
|
+
fullName: string;
|
|
618
|
+
collateralToken: number;
|
|
619
|
+
oracleUpdater: `0x${string}` | null;
|
|
620
|
+
} | null;
|
|
621
|
+
};
|
|
622
|
+
}>;
|
|
623
|
+
readonly "~run": (dataset: v.UnknownDataset, config: v.Config<v.BaseIssue<unknown>>) => v.OutputDataset<{
|
|
624
|
+
registerAsset2: {
|
|
625
|
+
maxGas: number | null;
|
|
626
|
+
assetRequest: {
|
|
627
|
+
coin: string;
|
|
628
|
+
szDecimals: number;
|
|
629
|
+
oraclePx: string;
|
|
630
|
+
marginTableId: number;
|
|
631
|
+
marginMode: "strictIsolated" | "noCross";
|
|
632
|
+
};
|
|
633
|
+
dex: string;
|
|
634
|
+
schema: {
|
|
635
|
+
fullName: string;
|
|
636
|
+
collateralToken: number;
|
|
637
|
+
oracleUpdater: `0x${string}` | null;
|
|
638
|
+
} | null;
|
|
639
|
+
};
|
|
640
|
+
}, v.StringIssue | v.ObjectIssue | 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>;
|
|
641
|
+
readonly "~types"?: {
|
|
642
|
+
readonly input: {
|
|
643
|
+
registerAsset2: {
|
|
644
|
+
maxGas: string | number | null;
|
|
645
|
+
assetRequest: {
|
|
646
|
+
coin: string;
|
|
647
|
+
szDecimals: string | number;
|
|
648
|
+
oraclePx: string | number;
|
|
649
|
+
marginTableId: string | number;
|
|
650
|
+
marginMode: "strictIsolated" | "noCross";
|
|
651
|
+
};
|
|
652
|
+
dex: string;
|
|
653
|
+
schema: {
|
|
654
|
+
fullName: string;
|
|
655
|
+
collateralToken: string | number;
|
|
656
|
+
oracleUpdater: string | null;
|
|
657
|
+
} | null;
|
|
658
|
+
};
|
|
659
|
+
};
|
|
660
|
+
readonly output: {
|
|
661
|
+
registerAsset2: {
|
|
662
|
+
maxGas: number | null;
|
|
663
|
+
assetRequest: {
|
|
664
|
+
coin: string;
|
|
665
|
+
szDecimals: number;
|
|
666
|
+
oraclePx: string;
|
|
667
|
+
marginTableId: number;
|
|
668
|
+
marginMode: "strictIsolated" | "noCross";
|
|
669
|
+
};
|
|
670
|
+
dex: string;
|
|
671
|
+
schema: {
|
|
672
|
+
fullName: string;
|
|
673
|
+
collateralToken: number;
|
|
674
|
+
oracleUpdater: `0x${string}` | null;
|
|
675
|
+
} | null;
|
|
676
|
+
};
|
|
677
|
+
};
|
|
678
|
+
readonly issue: v.StringIssue | v.ObjectIssue | 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;
|
|
679
|
+
} | undefined;
|
|
680
|
+
}) | (Omit<v.ObjectSchema<{
|
|
681
|
+
/** Type of action. */
|
|
682
|
+
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"perpDeploy", undefined>, v.DescriptionAction<"perpDeploy", "Type of action.">]>;
|
|
683
|
+
/** Parameters for registering a new perpetual asset. */
|
|
684
|
+
readonly registerAsset: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
685
|
+
/** Max gas in native token wei. If not provided, then uses current deploy auction price. */
|
|
686
|
+
readonly maxGas: v.SchemaWithPipe<readonly [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>, v.DescriptionAction<number | null, "Max gas in native token wei. If not provided, then uses current deploy auction price.">]>;
|
|
687
|
+
/** Contains new asset listing parameters. */
|
|
688
|
+
readonly assetRequest: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
689
|
+
/** Coin symbol for the new asset. */
|
|
690
|
+
readonly coin: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Coin symbol for the new asset.">]>;
|
|
691
|
+
/** Number of decimal places for size. */
|
|
692
|
+
readonly szDecimals: v.SchemaWithPipe<readonly [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>]>, v.DescriptionAction<number, "Number of decimal places for size.">]>;
|
|
693
|
+
/** Initial oracle price for the asset. */
|
|
694
|
+
readonly oraclePx: v.SchemaWithPipe<readonly [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>]>, v.DescriptionAction<string, "Initial oracle price for the asset.">]>;
|
|
695
|
+
/** Margin table identifier for risk management. */
|
|
696
|
+
readonly marginTableId: v.SchemaWithPipe<readonly [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>]>, v.DescriptionAction<number, "Margin table identifier for risk management.">]>;
|
|
697
|
+
/** Whether the asset can only be traded with isolated margin. */
|
|
698
|
+
readonly onlyIsolated: v.SchemaWithPipe<readonly [v.BooleanSchema<undefined>, v.DescriptionAction<boolean, "Whether the asset can only be traded with isolated margin.">]>;
|
|
699
|
+
}, undefined>, v.DescriptionAction<{
|
|
700
|
+
coin: string;
|
|
701
|
+
szDecimals: number;
|
|
702
|
+
oraclePx: string;
|
|
703
|
+
marginTableId: number;
|
|
704
|
+
onlyIsolated: boolean;
|
|
705
|
+
}, "Contains new asset listing parameters.">]>;
|
|
706
|
+
/** Name of the dex. */
|
|
707
|
+
readonly dex: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Name of the dex.">]>;
|
|
708
|
+
/** Contains new dex parameters. */
|
|
709
|
+
readonly schema: v.SchemaWithPipe<readonly [v.NullableSchema<v.ObjectSchema<{
|
|
710
|
+
/** Full name of the dex. */
|
|
711
|
+
readonly fullName: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Full name of the dex.">]>;
|
|
712
|
+
/** Collateral token index. */
|
|
713
|
+
readonly collateralToken: v.SchemaWithPipe<readonly [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>]>, v.DescriptionAction<number, "Collateral token index.">]>;
|
|
714
|
+
/** User to update oracles. If not provided, then deployer is assumed to be oracle updater. */
|
|
715
|
+
readonly oracleUpdater: v.SchemaWithPipe<readonly [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>, v.DescriptionAction<`0x${string}` | null, "User to update oracles. If not provided, then deployer is assumed to be oracle updater.">]>;
|
|
716
|
+
}, undefined>, undefined>, v.DescriptionAction<{
|
|
717
|
+
fullName: string;
|
|
718
|
+
collateralToken: number;
|
|
719
|
+
oracleUpdater: `0x${string}` | null;
|
|
720
|
+
} | null, "Contains new dex parameters.">]>;
|
|
721
|
+
}, undefined>, v.DescriptionAction<{
|
|
722
|
+
maxGas: number | null;
|
|
723
|
+
assetRequest: {
|
|
724
|
+
coin: string;
|
|
725
|
+
szDecimals: number;
|
|
726
|
+
oraclePx: string;
|
|
727
|
+
marginTableId: number;
|
|
728
|
+
onlyIsolated: boolean;
|
|
729
|
+
};
|
|
730
|
+
dex: string;
|
|
731
|
+
schema: {
|
|
732
|
+
fullName: string;
|
|
733
|
+
collateralToken: number;
|
|
734
|
+
oracleUpdater: `0x${string}` | null;
|
|
735
|
+
} | null;
|
|
736
|
+
}, "Parameters for registering a new perpetual asset.">]>;
|
|
737
|
+
}, undefined>, "entries" | "~types" | "~run" | "~standard"> & {
|
|
738
|
+
readonly entries: Omit<{
|
|
739
|
+
/** Type of action. */
|
|
740
|
+
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"perpDeploy", undefined>, v.DescriptionAction<"perpDeploy", "Type of action.">]>;
|
|
741
|
+
/** Parameters for registering a new perpetual asset. */
|
|
742
|
+
readonly registerAsset: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
743
|
+
/** Max gas in native token wei. If not provided, then uses current deploy auction price. */
|
|
744
|
+
readonly maxGas: v.SchemaWithPipe<readonly [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>, v.DescriptionAction<number | null, "Max gas in native token wei. If not provided, then uses current deploy auction price.">]>;
|
|
745
|
+
/** Contains new asset listing parameters. */
|
|
746
|
+
readonly assetRequest: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
747
|
+
/** Coin symbol for the new asset. */
|
|
748
|
+
readonly coin: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Coin symbol for the new asset.">]>;
|
|
749
|
+
/** Number of decimal places for size. */
|
|
750
|
+
readonly szDecimals: v.SchemaWithPipe<readonly [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>]>, v.DescriptionAction<number, "Number of decimal places for size.">]>;
|
|
751
|
+
/** Initial oracle price for the asset. */
|
|
752
|
+
readonly oraclePx: v.SchemaWithPipe<readonly [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>]>, v.DescriptionAction<string, "Initial oracle price for the asset.">]>;
|
|
753
|
+
/** Margin table identifier for risk management. */
|
|
754
|
+
readonly marginTableId: v.SchemaWithPipe<readonly [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>]>, v.DescriptionAction<number, "Margin table identifier for risk management.">]>;
|
|
755
|
+
/** Whether the asset can only be traded with isolated margin. */
|
|
756
|
+
readonly onlyIsolated: v.SchemaWithPipe<readonly [v.BooleanSchema<undefined>, v.DescriptionAction<boolean, "Whether the asset can only be traded with isolated margin.">]>;
|
|
757
|
+
}, undefined>, v.DescriptionAction<{
|
|
758
|
+
coin: string;
|
|
759
|
+
szDecimals: number;
|
|
760
|
+
oraclePx: string;
|
|
761
|
+
marginTableId: number;
|
|
762
|
+
onlyIsolated: boolean;
|
|
763
|
+
}, "Contains new asset listing parameters.">]>;
|
|
764
|
+
/** Name of the dex. */
|
|
765
|
+
readonly dex: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Name of the dex.">]>;
|
|
766
|
+
/** Contains new dex parameters. */
|
|
767
|
+
readonly schema: v.SchemaWithPipe<readonly [v.NullableSchema<v.ObjectSchema<{
|
|
768
|
+
/** Full name of the dex. */
|
|
769
|
+
readonly fullName: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Full name of the dex.">]>;
|
|
770
|
+
/** Collateral token index. */
|
|
771
|
+
readonly collateralToken: v.SchemaWithPipe<readonly [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>]>, v.DescriptionAction<number, "Collateral token index.">]>;
|
|
772
|
+
/** User to update oracles. If not provided, then deployer is assumed to be oracle updater. */
|
|
773
|
+
readonly oracleUpdater: v.SchemaWithPipe<readonly [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>, v.DescriptionAction<`0x${string}` | null, "User to update oracles. If not provided, then deployer is assumed to be oracle updater.">]>;
|
|
774
|
+
}, undefined>, undefined>, v.DescriptionAction<{
|
|
775
|
+
fullName: string;
|
|
776
|
+
collateralToken: number;
|
|
777
|
+
oracleUpdater: `0x${string}` | null;
|
|
778
|
+
} | null, "Contains new dex parameters.">]>;
|
|
779
|
+
}, undefined>, v.DescriptionAction<{
|
|
780
|
+
maxGas: number | null;
|
|
781
|
+
assetRequest: {
|
|
782
|
+
coin: string;
|
|
783
|
+
szDecimals: number;
|
|
784
|
+
oraclePx: string;
|
|
785
|
+
marginTableId: number;
|
|
786
|
+
onlyIsolated: boolean;
|
|
787
|
+
};
|
|
788
|
+
dex: string;
|
|
789
|
+
schema: {
|
|
790
|
+
fullName: string;
|
|
791
|
+
collateralToken: number;
|
|
792
|
+
oracleUpdater: `0x${string}` | null;
|
|
793
|
+
} | null;
|
|
794
|
+
}, "Parameters for registering a new perpetual asset.">]>;
|
|
795
|
+
}, "type">;
|
|
796
|
+
readonly "~standard": v.StandardProps<{
|
|
797
|
+
registerAsset: {
|
|
798
|
+
maxGas: string | number | null;
|
|
799
|
+
assetRequest: {
|
|
800
|
+
coin: string;
|
|
801
|
+
szDecimals: string | number;
|
|
802
|
+
oraclePx: string | number;
|
|
803
|
+
marginTableId: string | number;
|
|
804
|
+
onlyIsolated: boolean;
|
|
805
|
+
};
|
|
806
|
+
dex: string;
|
|
807
|
+
schema: {
|
|
808
|
+
fullName: string;
|
|
809
|
+
collateralToken: string | number;
|
|
810
|
+
oracleUpdater: string | null;
|
|
811
|
+
} | null;
|
|
812
|
+
};
|
|
813
|
+
}, {
|
|
814
|
+
registerAsset: {
|
|
815
|
+
maxGas: number | null;
|
|
816
|
+
assetRequest: {
|
|
817
|
+
coin: string;
|
|
818
|
+
szDecimals: number;
|
|
819
|
+
oraclePx: string;
|
|
820
|
+
marginTableId: number;
|
|
821
|
+
onlyIsolated: boolean;
|
|
822
|
+
};
|
|
823
|
+
dex: string;
|
|
824
|
+
schema: {
|
|
825
|
+
fullName: string;
|
|
826
|
+
collateralToken: number;
|
|
827
|
+
oracleUpdater: `0x${string}` | null;
|
|
828
|
+
} | null;
|
|
829
|
+
};
|
|
830
|
+
}>;
|
|
831
|
+
readonly "~run": (dataset: v.UnknownDataset, config: v.Config<v.BaseIssue<unknown>>) => v.OutputDataset<{
|
|
832
|
+
registerAsset: {
|
|
833
|
+
maxGas: number | null;
|
|
834
|
+
assetRequest: {
|
|
835
|
+
coin: string;
|
|
836
|
+
szDecimals: number;
|
|
837
|
+
oraclePx: string;
|
|
838
|
+
marginTableId: number;
|
|
839
|
+
onlyIsolated: boolean;
|
|
840
|
+
};
|
|
841
|
+
dex: string;
|
|
842
|
+
schema: {
|
|
843
|
+
fullName: string;
|
|
844
|
+
collateralToken: number;
|
|
845
|
+
oracleUpdater: `0x${string}` | null;
|
|
846
|
+
} | null;
|
|
847
|
+
};
|
|
848
|
+
}, v.StringIssue | v.ObjectIssue | 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.BooleanIssue>;
|
|
849
|
+
readonly "~types"?: {
|
|
850
|
+
readonly input: {
|
|
851
|
+
registerAsset: {
|
|
852
|
+
maxGas: string | number | null;
|
|
853
|
+
assetRequest: {
|
|
854
|
+
coin: string;
|
|
855
|
+
szDecimals: string | number;
|
|
856
|
+
oraclePx: string | number;
|
|
857
|
+
marginTableId: string | number;
|
|
858
|
+
onlyIsolated: boolean;
|
|
859
|
+
};
|
|
860
|
+
dex: string;
|
|
861
|
+
schema: {
|
|
862
|
+
fullName: string;
|
|
863
|
+
collateralToken: string | number;
|
|
864
|
+
oracleUpdater: string | null;
|
|
865
|
+
} | null;
|
|
866
|
+
};
|
|
867
|
+
};
|
|
868
|
+
readonly output: {
|
|
869
|
+
registerAsset: {
|
|
870
|
+
maxGas: number | null;
|
|
871
|
+
assetRequest: {
|
|
872
|
+
coin: string;
|
|
873
|
+
szDecimals: number;
|
|
874
|
+
oraclePx: string;
|
|
875
|
+
marginTableId: number;
|
|
876
|
+
onlyIsolated: boolean;
|
|
877
|
+
};
|
|
878
|
+
dex: string;
|
|
879
|
+
schema: {
|
|
880
|
+
fullName: string;
|
|
881
|
+
collateralToken: number;
|
|
882
|
+
oracleUpdater: `0x${string}` | null;
|
|
883
|
+
} | null;
|
|
884
|
+
};
|
|
885
|
+
};
|
|
886
|
+
readonly issue: v.StringIssue | v.ObjectIssue | 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.BooleanIssue;
|
|
887
|
+
} | undefined;
|
|
888
|
+
}) | (Omit<v.ObjectSchema<{
|
|
889
|
+
/** Type of action. */
|
|
890
|
+
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"perpDeploy", undefined>, v.DescriptionAction<"perpDeploy", "Type of action.">]>;
|
|
891
|
+
/** Parameters for setting oracle and mark prices for assets. */
|
|
892
|
+
readonly setOracle: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
893
|
+
/** Name of the dex. */
|
|
894
|
+
readonly dex: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Name of the dex.">]>;
|
|
895
|
+
/** A list (sorted by key) of asset and oracle prices. */
|
|
896
|
+
readonly oraclePxs: v.SchemaWithPipe<readonly [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>, v.DescriptionAction<[string, string][], "A list (sorted by key) of asset and oracle prices.">]>;
|
|
897
|
+
/** An outer list of inner lists (inner list sorted by key) of asset and mark prices. */
|
|
898
|
+
readonly markPxs: v.SchemaWithPipe<readonly [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>, v.DescriptionAction<[string, string][][], "An outer list of inner lists (inner list sorted by key) of asset and mark prices.">]>;
|
|
899
|
+
/** A list (sorted by key) of asset and external prices which prevent sudden mark price deviations. */
|
|
900
|
+
readonly externalPerpPxs: v.SchemaWithPipe<readonly [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>, v.DescriptionAction<[string, string][], "A list (sorted by key) of asset and external prices which prevent sudden mark price deviations.">]>;
|
|
901
|
+
}, undefined>, v.DescriptionAction<{
|
|
902
|
+
dex: string;
|
|
903
|
+
oraclePxs: [string, string][];
|
|
904
|
+
markPxs: [string, string][][];
|
|
905
|
+
externalPerpPxs: [string, string][];
|
|
906
|
+
}, "Parameters for setting oracle and mark prices for assets.">]>;
|
|
907
|
+
}, undefined>, "entries" | "~types" | "~run" | "~standard"> & {
|
|
908
|
+
readonly entries: Omit<{
|
|
909
|
+
/** Type of action. */
|
|
910
|
+
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"perpDeploy", undefined>, v.DescriptionAction<"perpDeploy", "Type of action.">]>;
|
|
911
|
+
/** Parameters for setting oracle and mark prices for assets. */
|
|
912
|
+
readonly setOracle: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
913
|
+
/** Name of the dex. */
|
|
914
|
+
readonly dex: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Name of the dex.">]>;
|
|
915
|
+
/** A list (sorted by key) of asset and oracle prices. */
|
|
916
|
+
readonly oraclePxs: v.SchemaWithPipe<readonly [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>, v.DescriptionAction<[string, string][], "A list (sorted by key) of asset and oracle prices.">]>;
|
|
917
|
+
/** An outer list of inner lists (inner list sorted by key) of asset and mark prices. */
|
|
918
|
+
readonly markPxs: v.SchemaWithPipe<readonly [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>, v.DescriptionAction<[string, string][][], "An outer list of inner lists (inner list sorted by key) of asset and mark prices.">]>;
|
|
919
|
+
/** A list (sorted by key) of asset and external prices which prevent sudden mark price deviations. */
|
|
920
|
+
readonly externalPerpPxs: v.SchemaWithPipe<readonly [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>, v.DescriptionAction<[string, string][], "A list (sorted by key) of asset and external prices which prevent sudden mark price deviations.">]>;
|
|
921
|
+
}, undefined>, v.DescriptionAction<{
|
|
922
|
+
dex: string;
|
|
923
|
+
oraclePxs: [string, string][];
|
|
924
|
+
markPxs: [string, string][][];
|
|
925
|
+
externalPerpPxs: [string, string][];
|
|
926
|
+
}, "Parameters for setting oracle and mark prices for assets.">]>;
|
|
927
|
+
}, "type">;
|
|
928
|
+
readonly "~standard": v.StandardProps<{
|
|
929
|
+
setOracle: {
|
|
930
|
+
dex: string;
|
|
931
|
+
oraclePxs: [string, string | number][];
|
|
932
|
+
markPxs: [string, string | number][][];
|
|
933
|
+
externalPerpPxs: [string, string | number][];
|
|
934
|
+
};
|
|
935
|
+
}, {
|
|
936
|
+
setOracle: {
|
|
937
|
+
dex: string;
|
|
938
|
+
oraclePxs: [string, string][];
|
|
939
|
+
markPxs: [string, string][][];
|
|
940
|
+
externalPerpPxs: [string, string][];
|
|
941
|
+
};
|
|
942
|
+
}>;
|
|
943
|
+
readonly "~run": (dataset: v.UnknownDataset, config: v.Config<v.BaseIssue<unknown>>) => v.OutputDataset<{
|
|
944
|
+
setOracle: {
|
|
945
|
+
dex: string;
|
|
946
|
+
oraclePxs: [string, string][];
|
|
947
|
+
markPxs: [string, string][][];
|
|
948
|
+
externalPerpPxs: [string, string][];
|
|
949
|
+
};
|
|
950
|
+
}, v.StringIssue | v.ArrayIssue | v.ObjectIssue | v.NumberIssue | v.UnionIssue<v.StringIssue | v.NumberIssue> | v.ToStringIssue<string | number> | v.RegexIssue<string> | v.TupleIssue>;
|
|
951
|
+
readonly "~types"?: {
|
|
952
|
+
readonly input: {
|
|
953
|
+
setOracle: {
|
|
954
|
+
dex: string;
|
|
955
|
+
oraclePxs: [string, string | number][];
|
|
956
|
+
markPxs: [string, string | number][][];
|
|
957
|
+
externalPerpPxs: [string, string | number][];
|
|
958
|
+
};
|
|
959
|
+
};
|
|
960
|
+
readonly output: {
|
|
961
|
+
setOracle: {
|
|
962
|
+
dex: string;
|
|
963
|
+
oraclePxs: [string, string][];
|
|
964
|
+
markPxs: [string, string][][];
|
|
965
|
+
externalPerpPxs: [string, string][];
|
|
966
|
+
};
|
|
967
|
+
};
|
|
968
|
+
readonly issue: v.StringIssue | v.ArrayIssue | v.ObjectIssue | v.NumberIssue | v.UnionIssue<v.StringIssue | v.NumberIssue> | v.ToStringIssue<string | number> | v.RegexIssue<string> | v.TupleIssue;
|
|
969
|
+
} | undefined;
|
|
970
|
+
}) | (Omit<v.ObjectSchema<{
|
|
971
|
+
/** Type of action. */
|
|
972
|
+
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"perpDeploy", undefined>, v.DescriptionAction<"perpDeploy", "Type of action.">]>;
|
|
973
|
+
/** A list (sorted by key) of asset and funding multiplier. */
|
|
974
|
+
readonly setFundingMultipliers: v.SchemaWithPipe<readonly [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>, v.DescriptionAction<[string, string][], "A list (sorted by key) of asset and funding multiplier.">]>;
|
|
975
|
+
}, undefined>, "entries" | "~types" | "~run" | "~standard"> & {
|
|
976
|
+
readonly entries: Omit<{
|
|
977
|
+
/** Type of action. */
|
|
978
|
+
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"perpDeploy", undefined>, v.DescriptionAction<"perpDeploy", "Type of action.">]>;
|
|
979
|
+
/** A list (sorted by key) of asset and funding multiplier. */
|
|
980
|
+
readonly setFundingMultipliers: v.SchemaWithPipe<readonly [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>, v.DescriptionAction<[string, string][], "A list (sorted by key) of asset and funding multiplier.">]>;
|
|
981
|
+
}, "type">;
|
|
982
|
+
readonly "~standard": v.StandardProps<{
|
|
983
|
+
setFundingMultipliers: [string, string | number][];
|
|
984
|
+
}, {
|
|
985
|
+
setFundingMultipliers: [string, string][];
|
|
986
|
+
}>;
|
|
987
|
+
readonly "~run": (dataset: v.UnknownDataset, config: v.Config<v.BaseIssue<unknown>>) => v.OutputDataset<{
|
|
988
|
+
setFundingMultipliers: [string, string][];
|
|
989
|
+
}, v.StringIssue | v.ArrayIssue | v.ObjectIssue | v.NumberIssue | v.UnionIssue<v.StringIssue | v.NumberIssue> | v.ToStringIssue<string | number> | v.RegexIssue<string> | v.TupleIssue>;
|
|
990
|
+
readonly "~types"?: {
|
|
991
|
+
readonly input: {
|
|
992
|
+
setFundingMultipliers: [string, string | number][];
|
|
993
|
+
};
|
|
994
|
+
readonly output: {
|
|
995
|
+
setFundingMultipliers: [string, string][];
|
|
996
|
+
};
|
|
997
|
+
readonly issue: v.StringIssue | v.ArrayIssue | v.ObjectIssue | v.NumberIssue | v.UnionIssue<v.StringIssue | v.NumberIssue> | v.ToStringIssue<string | number> | v.RegexIssue<string> | v.TupleIssue;
|
|
998
|
+
} | undefined;
|
|
999
|
+
}) | (Omit<v.ObjectSchema<{
|
|
1000
|
+
/** Type of action. */
|
|
1001
|
+
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"perpDeploy", undefined>, v.DescriptionAction<"perpDeploy", "Type of action.">]>;
|
|
1002
|
+
/** Parameters for halting or resuming trading for an asset. */
|
|
1003
|
+
readonly haltTrading: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
1004
|
+
/** Coin symbol for the asset to halt or resume. */
|
|
1005
|
+
readonly coin: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Coin symbol for the asset to halt or resume.">]>;
|
|
1006
|
+
/** Whether trading should be halted (true) or resumed (false). */
|
|
1007
|
+
readonly isHalted: v.SchemaWithPipe<readonly [v.BooleanSchema<undefined>, v.DescriptionAction<boolean, "Whether trading should be halted (true) or resumed (false).">]>;
|
|
1008
|
+
}, undefined>, v.DescriptionAction<{
|
|
1009
|
+
coin: string;
|
|
1010
|
+
isHalted: boolean;
|
|
1011
|
+
}, "Parameters for halting or resuming trading for an asset.">]>;
|
|
1012
|
+
}, undefined>, "entries" | "~types" | "~run" | "~standard"> & {
|
|
1013
|
+
readonly entries: Omit<{
|
|
1014
|
+
/** Type of action. */
|
|
1015
|
+
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"perpDeploy", undefined>, v.DescriptionAction<"perpDeploy", "Type of action.">]>;
|
|
1016
|
+
/** Parameters for halting or resuming trading for an asset. */
|
|
1017
|
+
readonly haltTrading: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
1018
|
+
/** Coin symbol for the asset to halt or resume. */
|
|
1019
|
+
readonly coin: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Coin symbol for the asset to halt or resume.">]>;
|
|
1020
|
+
/** Whether trading should be halted (true) or resumed (false). */
|
|
1021
|
+
readonly isHalted: v.SchemaWithPipe<readonly [v.BooleanSchema<undefined>, v.DescriptionAction<boolean, "Whether trading should be halted (true) or resumed (false).">]>;
|
|
1022
|
+
}, undefined>, v.DescriptionAction<{
|
|
1023
|
+
coin: string;
|
|
1024
|
+
isHalted: boolean;
|
|
1025
|
+
}, "Parameters for halting or resuming trading for an asset.">]>;
|
|
1026
|
+
}, "type">;
|
|
1027
|
+
readonly "~standard": v.StandardProps<{
|
|
1028
|
+
haltTrading: {
|
|
1029
|
+
coin: string;
|
|
1030
|
+
isHalted: boolean;
|
|
1031
|
+
};
|
|
1032
|
+
}, {
|
|
1033
|
+
haltTrading: {
|
|
1034
|
+
coin: string;
|
|
1035
|
+
isHalted: boolean;
|
|
1036
|
+
};
|
|
1037
|
+
}>;
|
|
1038
|
+
readonly "~run": (dataset: v.UnknownDataset, config: v.Config<v.BaseIssue<unknown>>) => v.OutputDataset<{
|
|
1039
|
+
haltTrading: {
|
|
1040
|
+
coin: string;
|
|
1041
|
+
isHalted: boolean;
|
|
1042
|
+
};
|
|
1043
|
+
}, v.StringIssue | v.ObjectIssue | v.BooleanIssue>;
|
|
1044
|
+
readonly "~types"?: {
|
|
1045
|
+
readonly input: {
|
|
1046
|
+
haltTrading: {
|
|
1047
|
+
coin: string;
|
|
1048
|
+
isHalted: boolean;
|
|
1049
|
+
};
|
|
1050
|
+
};
|
|
1051
|
+
readonly output: {
|
|
1052
|
+
haltTrading: {
|
|
1053
|
+
coin: string;
|
|
1054
|
+
isHalted: boolean;
|
|
1055
|
+
};
|
|
1056
|
+
};
|
|
1057
|
+
readonly issue: v.StringIssue | v.ObjectIssue | v.BooleanIssue;
|
|
1058
|
+
} | undefined;
|
|
1059
|
+
}) | (Omit<v.ObjectSchema<{
|
|
1060
|
+
/** Type of action. */
|
|
1061
|
+
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"perpDeploy", undefined>, v.DescriptionAction<"perpDeploy", "Type of action.">]>;
|
|
1062
|
+
/** A list (sorted by key) of asset and margin table ids. */
|
|
1063
|
+
readonly setMarginTableIds: v.SchemaWithPipe<readonly [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>, v.DescriptionAction<[string, number][], "A list (sorted by key) of asset and margin table ids.">]>;
|
|
1064
|
+
}, undefined>, "entries" | "~types" | "~run" | "~standard"> & {
|
|
1065
|
+
readonly entries: Omit<{
|
|
1066
|
+
/** Type of action. */
|
|
1067
|
+
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"perpDeploy", undefined>, v.DescriptionAction<"perpDeploy", "Type of action.">]>;
|
|
1068
|
+
/** A list (sorted by key) of asset and margin table ids. */
|
|
1069
|
+
readonly setMarginTableIds: v.SchemaWithPipe<readonly [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>, v.DescriptionAction<[string, number][], "A list (sorted by key) of asset and margin table ids.">]>;
|
|
1070
|
+
}, "type">;
|
|
1071
|
+
readonly "~standard": v.StandardProps<{
|
|
1072
|
+
setMarginTableIds: [string, string | number][];
|
|
1073
|
+
}, {
|
|
1074
|
+
setMarginTableIds: [string, number][];
|
|
1075
|
+
}>;
|
|
1076
|
+
readonly "~run": (dataset: v.UnknownDataset, config: v.Config<v.BaseIssue<unknown>>) => v.OutputDataset<{
|
|
1077
|
+
setMarginTableIds: [string, number][];
|
|
1078
|
+
}, v.StringIssue | v.ArrayIssue | v.ObjectIssue | v.NumberIssue | v.UnionIssue<v.StringIssue | v.NumberIssue> | v.ToNumberIssue<string | number> | v.SafeIntegerIssue<number> | v.MinValueIssue<number, 0> | v.TupleIssue>;
|
|
1079
|
+
readonly "~types"?: {
|
|
1080
|
+
readonly input: {
|
|
1081
|
+
setMarginTableIds: [string, string | number][];
|
|
1082
|
+
};
|
|
1083
|
+
readonly output: {
|
|
1084
|
+
setMarginTableIds: [string, number][];
|
|
1085
|
+
};
|
|
1086
|
+
readonly issue: v.StringIssue | v.ArrayIssue | v.ObjectIssue | v.NumberIssue | v.UnionIssue<v.StringIssue | v.NumberIssue> | v.ToNumberIssue<string | number> | v.SafeIntegerIssue<number> | v.MinValueIssue<number, 0> | v.TupleIssue;
|
|
1087
|
+
} | undefined;
|
|
1088
|
+
}) | (Omit<v.ObjectSchema<{
|
|
1089
|
+
/** Type of action. */
|
|
1090
|
+
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"perpDeploy", undefined>, v.DescriptionAction<"perpDeploy", "Type of action.">]>;
|
|
1091
|
+
/** Parameters for setting the fee recipient. */
|
|
1092
|
+
readonly setFeeRecipient: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
1093
|
+
/** Name of the DEX. */
|
|
1094
|
+
readonly dex: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Name of the DEX.">]>;
|
|
1095
|
+
/** Address of the fee recipient. */
|
|
1096
|
+
readonly feeRecipient: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 42, undefined>]>, v.DescriptionAction<`0x${string}`, "Address of the fee recipient.">]>;
|
|
1097
|
+
}, undefined>, v.DescriptionAction<{
|
|
1098
|
+
dex: string;
|
|
1099
|
+
feeRecipient: `0x${string}`;
|
|
1100
|
+
}, "Parameters for setting the fee recipient.">]>;
|
|
1101
|
+
}, undefined>, "entries" | "~types" | "~run" | "~standard"> & {
|
|
1102
|
+
readonly entries: Omit<{
|
|
1103
|
+
/** Type of action. */
|
|
1104
|
+
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"perpDeploy", undefined>, v.DescriptionAction<"perpDeploy", "Type of action.">]>;
|
|
1105
|
+
/** Parameters for setting the fee recipient. */
|
|
1106
|
+
readonly setFeeRecipient: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
1107
|
+
/** Name of the DEX. */
|
|
1108
|
+
readonly dex: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Name of the DEX.">]>;
|
|
1109
|
+
/** Address of the fee recipient. */
|
|
1110
|
+
readonly feeRecipient: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 42, undefined>]>, v.DescriptionAction<`0x${string}`, "Address of the fee recipient.">]>;
|
|
1111
|
+
}, undefined>, v.DescriptionAction<{
|
|
1112
|
+
dex: string;
|
|
1113
|
+
feeRecipient: `0x${string}`;
|
|
1114
|
+
}, "Parameters for setting the fee recipient.">]>;
|
|
1115
|
+
}, "type">;
|
|
1116
|
+
readonly "~standard": v.StandardProps<{
|
|
1117
|
+
setFeeRecipient: {
|
|
1118
|
+
dex: string;
|
|
1119
|
+
feeRecipient: string;
|
|
1120
|
+
};
|
|
1121
|
+
}, {
|
|
1122
|
+
setFeeRecipient: {
|
|
1123
|
+
dex: string;
|
|
1124
|
+
feeRecipient: `0x${string}`;
|
|
1125
|
+
};
|
|
1126
|
+
}>;
|
|
1127
|
+
readonly "~run": (dataset: v.UnknownDataset, config: v.Config<v.BaseIssue<unknown>>) => v.OutputDataset<{
|
|
1128
|
+
setFeeRecipient: {
|
|
1129
|
+
dex: string;
|
|
1130
|
+
feeRecipient: `0x${string}`;
|
|
1131
|
+
};
|
|
1132
|
+
}, v.StringIssue | v.ObjectIssue | v.RegexIssue<string> | v.LengthIssue<`0x${string}`, 42>>;
|
|
1133
|
+
readonly "~types"?: {
|
|
1134
|
+
readonly input: {
|
|
1135
|
+
setFeeRecipient: {
|
|
1136
|
+
dex: string;
|
|
1137
|
+
feeRecipient: string;
|
|
1138
|
+
};
|
|
1139
|
+
};
|
|
1140
|
+
readonly output: {
|
|
1141
|
+
setFeeRecipient: {
|
|
1142
|
+
dex: string;
|
|
1143
|
+
feeRecipient: `0x${string}`;
|
|
1144
|
+
};
|
|
1145
|
+
};
|
|
1146
|
+
readonly issue: v.StringIssue | v.ObjectIssue | v.RegexIssue<string> | v.LengthIssue<`0x${string}`, 42>;
|
|
1147
|
+
} | undefined;
|
|
1148
|
+
}) | (Omit<v.ObjectSchema<{
|
|
1149
|
+
/** Type of action. */
|
|
1150
|
+
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"perpDeploy", undefined>, v.DescriptionAction<"perpDeploy", "Type of action.">]>;
|
|
1151
|
+
/** A list (sorted by key) of asset and open interest cap notionals. */
|
|
1152
|
+
readonly setOpenInterestCaps: v.SchemaWithPipe<readonly [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>, v.DescriptionAction<[string, number][], "A list (sorted by key) of asset and open interest cap notionals.">]>;
|
|
1153
|
+
}, undefined>, "entries" | "~types" | "~run" | "~standard"> & {
|
|
1154
|
+
readonly entries: Omit<{
|
|
1155
|
+
/** Type of action. */
|
|
1156
|
+
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"perpDeploy", undefined>, v.DescriptionAction<"perpDeploy", "Type of action.">]>;
|
|
1157
|
+
/** A list (sorted by key) of asset and open interest cap notionals. */
|
|
1158
|
+
readonly setOpenInterestCaps: v.SchemaWithPipe<readonly [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>, v.DescriptionAction<[string, number][], "A list (sorted by key) of asset and open interest cap notionals.">]>;
|
|
1159
|
+
}, "type">;
|
|
1160
|
+
readonly "~standard": v.StandardProps<{
|
|
1161
|
+
setOpenInterestCaps: [string, string | number][];
|
|
1162
|
+
}, {
|
|
1163
|
+
setOpenInterestCaps: [string, number][];
|
|
1164
|
+
}>;
|
|
1165
|
+
readonly "~run": (dataset: v.UnknownDataset, config: v.Config<v.BaseIssue<unknown>>) => v.OutputDataset<{
|
|
1166
|
+
setOpenInterestCaps: [string, number][];
|
|
1167
|
+
}, v.StringIssue | v.ArrayIssue | v.ObjectIssue | v.NumberIssue | v.UnionIssue<v.StringIssue | v.NumberIssue> | v.ToNumberIssue<string | number> | v.SafeIntegerIssue<number> | v.MinValueIssue<number, 0> | v.TupleIssue>;
|
|
1168
|
+
readonly "~types"?: {
|
|
1169
|
+
readonly input: {
|
|
1170
|
+
setOpenInterestCaps: [string, string | number][];
|
|
1171
|
+
};
|
|
1172
|
+
readonly output: {
|
|
1173
|
+
setOpenInterestCaps: [string, number][];
|
|
1174
|
+
};
|
|
1175
|
+
readonly issue: v.StringIssue | v.ArrayIssue | v.ObjectIssue | v.NumberIssue | v.UnionIssue<v.StringIssue | v.NumberIssue> | v.ToNumberIssue<string | number> | v.SafeIntegerIssue<number> | v.MinValueIssue<number, 0> | v.TupleIssue;
|
|
1176
|
+
} | undefined;
|
|
1177
|
+
}) | (Omit<v.ObjectSchema<{
|
|
1178
|
+
/** Type of action. */
|
|
1179
|
+
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"perpDeploy", undefined>, v.DescriptionAction<"perpDeploy", "Type of action.">]>;
|
|
1180
|
+
/** A modification to sub-deployer permissions. */
|
|
1181
|
+
readonly setSubDeployers: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
1182
|
+
/** Name of the DEX. */
|
|
1183
|
+
readonly dex: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Name of the DEX.">]>;
|
|
1184
|
+
/** A modification to sub-deployer permissions. */
|
|
1185
|
+
readonly subDeployers: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
1186
|
+
/** Corresponds to a variant of PerpDeployAction. */
|
|
1187
|
+
readonly variant: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Corresponds to a variant of PerpDeployAction.">]>;
|
|
1188
|
+
/** Sub-deployer address. */
|
|
1189
|
+
readonly user: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 42, undefined>]>, v.DescriptionAction<`0x${string}`, "Sub-deployer address.">]>;
|
|
1190
|
+
/** Add or remove the subDeployer from the authorized set for the action variant. */
|
|
1191
|
+
readonly allowed: v.SchemaWithPipe<readonly [v.BooleanSchema<undefined>, v.DescriptionAction<boolean, "Add or remove the subDeployer from the authorized set for the action variant.">]>;
|
|
1192
|
+
}, undefined>, undefined>, v.DescriptionAction<{
|
|
1193
|
+
variant: string;
|
|
1194
|
+
user: `0x${string}`;
|
|
1195
|
+
allowed: boolean;
|
|
1196
|
+
}[], "A modification to sub-deployer permissions.">]>;
|
|
1197
|
+
}, undefined>, v.DescriptionAction<{
|
|
1198
|
+
dex: string;
|
|
1199
|
+
subDeployers: {
|
|
1200
|
+
variant: string;
|
|
1201
|
+
user: `0x${string}`;
|
|
1202
|
+
allowed: boolean;
|
|
1203
|
+
}[];
|
|
1204
|
+
}, "A modification to sub-deployer permissions.">]>;
|
|
1205
|
+
}, undefined>, "entries" | "~types" | "~run" | "~standard"> & {
|
|
1206
|
+
readonly entries: Omit<{
|
|
1207
|
+
/** Type of action. */
|
|
1208
|
+
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"perpDeploy", undefined>, v.DescriptionAction<"perpDeploy", "Type of action.">]>;
|
|
1209
|
+
/** A modification to sub-deployer permissions. */
|
|
1210
|
+
readonly setSubDeployers: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
1211
|
+
/** Name of the DEX. */
|
|
1212
|
+
readonly dex: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Name of the DEX.">]>;
|
|
1213
|
+
/** A modification to sub-deployer permissions. */
|
|
1214
|
+
readonly subDeployers: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
1215
|
+
/** Corresponds to a variant of PerpDeployAction. */
|
|
1216
|
+
readonly variant: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Corresponds to a variant of PerpDeployAction.">]>;
|
|
1217
|
+
/** Sub-deployer address. */
|
|
1218
|
+
readonly user: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 42, undefined>]>, v.DescriptionAction<`0x${string}`, "Sub-deployer address.">]>;
|
|
1219
|
+
/** Add or remove the subDeployer from the authorized set for the action variant. */
|
|
1220
|
+
readonly allowed: v.SchemaWithPipe<readonly [v.BooleanSchema<undefined>, v.DescriptionAction<boolean, "Add or remove the subDeployer from the authorized set for the action variant.">]>;
|
|
1221
|
+
}, undefined>, undefined>, v.DescriptionAction<{
|
|
1222
|
+
variant: string;
|
|
1223
|
+
user: `0x${string}`;
|
|
1224
|
+
allowed: boolean;
|
|
1225
|
+
}[], "A modification to sub-deployer permissions.">]>;
|
|
1226
|
+
}, undefined>, v.DescriptionAction<{
|
|
1227
|
+
dex: string;
|
|
1228
|
+
subDeployers: {
|
|
1229
|
+
variant: string;
|
|
1230
|
+
user: `0x${string}`;
|
|
1231
|
+
allowed: boolean;
|
|
1232
|
+
}[];
|
|
1233
|
+
}, "A modification to sub-deployer permissions.">]>;
|
|
1234
|
+
}, "type">;
|
|
1235
|
+
readonly "~standard": v.StandardProps<{
|
|
1236
|
+
setSubDeployers: {
|
|
1237
|
+
dex: string;
|
|
1238
|
+
subDeployers: {
|
|
1239
|
+
variant: string;
|
|
1240
|
+
user: string;
|
|
1241
|
+
allowed: boolean;
|
|
1242
|
+
}[];
|
|
1243
|
+
};
|
|
1244
|
+
}, {
|
|
1245
|
+
setSubDeployers: {
|
|
1246
|
+
dex: string;
|
|
1247
|
+
subDeployers: {
|
|
1248
|
+
variant: string;
|
|
1249
|
+
user: `0x${string}`;
|
|
1250
|
+
allowed: boolean;
|
|
1251
|
+
}[];
|
|
1252
|
+
};
|
|
1253
|
+
}>;
|
|
1254
|
+
readonly "~run": (dataset: v.UnknownDataset, config: v.Config<v.BaseIssue<unknown>>) => v.OutputDataset<{
|
|
1255
|
+
setSubDeployers: {
|
|
1256
|
+
dex: string;
|
|
1257
|
+
subDeployers: {
|
|
1258
|
+
variant: string;
|
|
1259
|
+
user: `0x${string}`;
|
|
1260
|
+
allowed: boolean;
|
|
1261
|
+
}[];
|
|
1262
|
+
};
|
|
1263
|
+
}, v.StringIssue | v.ArrayIssue | v.ObjectIssue | v.RegexIssue<string> | v.LengthIssue<`0x${string}`, 42> | v.BooleanIssue>;
|
|
1264
|
+
readonly "~types"?: {
|
|
1265
|
+
readonly input: {
|
|
1266
|
+
setSubDeployers: {
|
|
1267
|
+
dex: string;
|
|
1268
|
+
subDeployers: {
|
|
1269
|
+
variant: string;
|
|
1270
|
+
user: string;
|
|
1271
|
+
allowed: boolean;
|
|
1272
|
+
}[];
|
|
1273
|
+
};
|
|
1274
|
+
};
|
|
1275
|
+
readonly output: {
|
|
1276
|
+
setSubDeployers: {
|
|
1277
|
+
dex: string;
|
|
1278
|
+
subDeployers: {
|
|
1279
|
+
variant: string;
|
|
1280
|
+
user: `0x${string}`;
|
|
1281
|
+
allowed: boolean;
|
|
1282
|
+
}[];
|
|
1283
|
+
};
|
|
1284
|
+
};
|
|
1285
|
+
readonly issue: v.StringIssue | v.ArrayIssue | v.ObjectIssue | v.RegexIssue<string> | v.LengthIssue<`0x${string}`, 42> | v.BooleanIssue;
|
|
1286
|
+
} | undefined;
|
|
1287
|
+
}) | (Omit<v.ObjectSchema<{
|
|
1288
|
+
/** Type of action. */
|
|
1289
|
+
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"perpDeploy", undefined>, v.DescriptionAction<"perpDeploy", "Type of action.">]>;
|
|
1290
|
+
/** A list (sorted by key) of asset and margin modes. */
|
|
1291
|
+
readonly setMarginModes: v.SchemaWithPipe<readonly [v.ArraySchema<v.TupleSchema<[v.StringSchema<undefined>, v.PicklistSchema<["strictIsolated", "noCross"], undefined>], undefined>, undefined>, v.DescriptionAction<[string, "strictIsolated" | "noCross"][], "A list (sorted by key) of asset and margin modes.">]>;
|
|
1292
|
+
}, undefined>, "entries" | "~types" | "~run" | "~standard"> & {
|
|
1293
|
+
readonly entries: Omit<{
|
|
1294
|
+
/** Type of action. */
|
|
1295
|
+
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"perpDeploy", undefined>, v.DescriptionAction<"perpDeploy", "Type of action.">]>;
|
|
1296
|
+
/** A list (sorted by key) of asset and margin modes. */
|
|
1297
|
+
readonly setMarginModes: v.SchemaWithPipe<readonly [v.ArraySchema<v.TupleSchema<[v.StringSchema<undefined>, v.PicklistSchema<["strictIsolated", "noCross"], undefined>], undefined>, undefined>, v.DescriptionAction<[string, "strictIsolated" | "noCross"][], "A list (sorted by key) of asset and margin modes.">]>;
|
|
1298
|
+
}, "type">;
|
|
1299
|
+
readonly "~standard": v.StandardProps<{
|
|
1300
|
+
setMarginModes: [string, "strictIsolated" | "noCross"][];
|
|
1301
|
+
}, {
|
|
1302
|
+
setMarginModes: [string, "strictIsolated" | "noCross"][];
|
|
1303
|
+
}>;
|
|
1304
|
+
readonly "~run": (dataset: v.UnknownDataset, config: v.Config<v.BaseIssue<unknown>>) => v.OutputDataset<{
|
|
1305
|
+
setMarginModes: [string, "strictIsolated" | "noCross"][];
|
|
1306
|
+
}, v.StringIssue | v.ArrayIssue | v.ObjectIssue | v.PicklistIssue | v.TupleIssue>;
|
|
1307
|
+
readonly "~types"?: {
|
|
1308
|
+
readonly input: {
|
|
1309
|
+
setMarginModes: [string, "strictIsolated" | "noCross"][];
|
|
1310
|
+
};
|
|
1311
|
+
readonly output: {
|
|
1312
|
+
setMarginModes: [string, "strictIsolated" | "noCross"][];
|
|
1313
|
+
};
|
|
1314
|
+
readonly issue: v.StringIssue | v.ArrayIssue | v.ObjectIssue | v.PicklistIssue | v.TupleIssue;
|
|
1315
|
+
} | undefined;
|
|
1316
|
+
}) | (Omit<v.ObjectSchema<{
|
|
1317
|
+
/** Type of action. */
|
|
1318
|
+
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"perpDeploy", undefined>, v.DescriptionAction<"perpDeploy", "Type of action.">]>;
|
|
1319
|
+
/** Set fee scale. */
|
|
1320
|
+
readonly setFeeScale: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
1321
|
+
/** Name of the dex. */
|
|
1322
|
+
readonly dex: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Name of the dex.">]>;
|
|
1323
|
+
/** Fee scale (between 0.0 and 3.0). */
|
|
1324
|
+
readonly scale: v.SchemaWithPipe<readonly [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>]>, v.DescriptionAction<string, "Fee scale (between 0.0 and 3.0).">]>;
|
|
1325
|
+
}, undefined>, v.DescriptionAction<{
|
|
1326
|
+
dex: string;
|
|
1327
|
+
scale: string;
|
|
1328
|
+
}, "Set fee scale.">]>;
|
|
1329
|
+
}, undefined>, "entries" | "~types" | "~run" | "~standard"> & {
|
|
1330
|
+
readonly entries: Omit<{
|
|
1331
|
+
/** Type of action. */
|
|
1332
|
+
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"perpDeploy", undefined>, v.DescriptionAction<"perpDeploy", "Type of action.">]>;
|
|
1333
|
+
/** Set fee scale. */
|
|
1334
|
+
readonly setFeeScale: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
1335
|
+
/** Name of the dex. */
|
|
1336
|
+
readonly dex: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Name of the dex.">]>;
|
|
1337
|
+
/** Fee scale (between 0.0 and 3.0). */
|
|
1338
|
+
readonly scale: v.SchemaWithPipe<readonly [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>]>, v.DescriptionAction<string, "Fee scale (between 0.0 and 3.0).">]>;
|
|
1339
|
+
}, undefined>, v.DescriptionAction<{
|
|
1340
|
+
dex: string;
|
|
1341
|
+
scale: string;
|
|
1342
|
+
}, "Set fee scale.">]>;
|
|
1343
|
+
}, "type">;
|
|
1344
|
+
readonly "~standard": v.StandardProps<{
|
|
1345
|
+
setFeeScale: {
|
|
1346
|
+
dex: string;
|
|
1347
|
+
scale: string | number;
|
|
1348
|
+
};
|
|
1349
|
+
}, {
|
|
1350
|
+
setFeeScale: {
|
|
1351
|
+
dex: string;
|
|
1352
|
+
scale: string;
|
|
1353
|
+
};
|
|
1354
|
+
}>;
|
|
1355
|
+
readonly "~run": (dataset: v.UnknownDataset, config: v.Config<v.BaseIssue<unknown>>) => v.OutputDataset<{
|
|
1356
|
+
setFeeScale: {
|
|
1357
|
+
dex: string;
|
|
1358
|
+
scale: string;
|
|
1359
|
+
};
|
|
1360
|
+
}, v.StringIssue | v.ObjectIssue | v.NumberIssue | v.UnionIssue<v.StringIssue | v.NumberIssue> | v.ToStringIssue<string | number> | v.RegexIssue<string>>;
|
|
1361
|
+
readonly "~types"?: {
|
|
1362
|
+
readonly input: {
|
|
1363
|
+
setFeeScale: {
|
|
1364
|
+
dex: string;
|
|
1365
|
+
scale: string | number;
|
|
1366
|
+
};
|
|
1367
|
+
};
|
|
1368
|
+
readonly output: {
|
|
1369
|
+
setFeeScale: {
|
|
1370
|
+
dex: string;
|
|
1371
|
+
scale: string;
|
|
1372
|
+
};
|
|
1373
|
+
};
|
|
1374
|
+
readonly issue: v.StringIssue | v.ObjectIssue | v.NumberIssue | v.UnionIssue<v.StringIssue | v.NumberIssue> | v.ToStringIssue<string | number> | v.RegexIssue<string>;
|
|
1375
|
+
} | undefined;
|
|
1376
|
+
}) | (Omit<v.ObjectSchema<{
|
|
1377
|
+
/** Type of action. */
|
|
1378
|
+
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"perpDeploy", undefined>, v.DescriptionAction<"perpDeploy", "Type of action.">]>;
|
|
1379
|
+
/** A list (sorted by key) of asset and growth modes. */
|
|
1380
|
+
readonly setGrowthModes: v.SchemaWithPipe<readonly [v.ArraySchema<v.TupleSchema<[v.StringSchema<undefined>, v.BooleanSchema<undefined>], undefined>, undefined>, v.DescriptionAction<[string, boolean][], "A list (sorted by key) of asset and growth modes.">]>;
|
|
1381
|
+
}, undefined>, "entries" | "~types" | "~run" | "~standard"> & {
|
|
1382
|
+
readonly entries: Omit<{
|
|
1383
|
+
/** Type of action. */
|
|
1384
|
+
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"perpDeploy", undefined>, v.DescriptionAction<"perpDeploy", "Type of action.">]>;
|
|
1385
|
+
/** A list (sorted by key) of asset and growth modes. */
|
|
1386
|
+
readonly setGrowthModes: v.SchemaWithPipe<readonly [v.ArraySchema<v.TupleSchema<[v.StringSchema<undefined>, v.BooleanSchema<undefined>], undefined>, undefined>, v.DescriptionAction<[string, boolean][], "A list (sorted by key) of asset and growth modes.">]>;
|
|
1387
|
+
}, "type">;
|
|
1388
|
+
readonly "~standard": v.StandardProps<{
|
|
1389
|
+
setGrowthModes: [string, boolean][];
|
|
1390
|
+
}, {
|
|
1391
|
+
setGrowthModes: [string, boolean][];
|
|
1392
|
+
}>;
|
|
1393
|
+
readonly "~run": (dataset: v.UnknownDataset, config: v.Config<v.BaseIssue<unknown>>) => v.OutputDataset<{
|
|
1394
|
+
setGrowthModes: [string, boolean][];
|
|
1395
|
+
}, v.StringIssue | v.ArrayIssue | v.ObjectIssue | v.BooleanIssue | v.TupleIssue>;
|
|
1396
|
+
readonly "~types"?: {
|
|
1397
|
+
readonly input: {
|
|
1398
|
+
setGrowthModes: [string, boolean][];
|
|
1399
|
+
};
|
|
1400
|
+
readonly output: {
|
|
1401
|
+
setGrowthModes: [string, boolean][];
|
|
1402
|
+
};
|
|
1403
|
+
readonly issue: v.StringIssue | v.ArrayIssue | v.ObjectIssue | v.BooleanIssue | v.TupleIssue;
|
|
1404
|
+
} | undefined;
|
|
1405
|
+
}))[], undefined>;
|
|
1406
|
+
/** Action parameters for the {@linkcode perpDeploy} function. */
|
|
1407
|
+
export type PerpDeployParameters = v.InferInput<typeof PerpDeployParameters>;
|
|
1408
|
+
/** Request options for the {@linkcode perpDeploy} function. */
|
|
1409
|
+
export type PerpDeployOptions = ExtractRequestOptions<v.InferInput<typeof PerpDeployRequest>>;
|
|
1410
|
+
/** Successful variant of {@linkcode PerpDeployResponse} without errors. */
|
|
1411
|
+
export type PerpDeploySuccessResponse = ExcludeErrorResponse<PerpDeployResponse>;
|
|
1412
|
+
/**
|
|
1413
|
+
* Deploying HIP-3 assets.
|
|
1414
|
+
*
|
|
1415
|
+
* @param config - General configuration for Exchange API requests.
|
|
1416
|
+
* @param params - Parameters specific to the API request.
|
|
1417
|
+
* @param opts - Request execution options.
|
|
1418
|
+
*
|
|
1419
|
+
* @returns Successful response without specific data.
|
|
1420
|
+
*
|
|
1421
|
+
* @throws {ValiError} When the request parameters fail validation (before sending).
|
|
1422
|
+
* @throws {TransportError} When the transport layer throws an error.
|
|
1423
|
+
* @throws {ApiRequestError} When the API returns an unsuccessful response.
|
|
1424
|
+
*
|
|
1425
|
+
* @example
|
|
1426
|
+
* ```ts
|
|
1427
|
+
* import { HttpTransport } from "@nktkas/hyperliquid";
|
|
1428
|
+
* import { perpDeploy } from "@nktkas/hyperliquid/api/exchange";
|
|
1429
|
+
* import { privateKeyToAccount } from "npm:viem/accounts";
|
|
1430
|
+
*
|
|
1431
|
+
* const wallet = privateKeyToAccount("0x..."); // viem or ethers
|
|
1432
|
+
* const transport = new HttpTransport(); // or `WebSocketTransport`
|
|
1433
|
+
*
|
|
1434
|
+
* await perpDeploy(
|
|
1435
|
+
* { transport, wallet },
|
|
1436
|
+
* {
|
|
1437
|
+
* registerAsset: {
|
|
1438
|
+
* maxGas: 1000000,
|
|
1439
|
+
* assetRequest: {
|
|
1440
|
+
* coin: "USDC",
|
|
1441
|
+
* szDecimals: 8,
|
|
1442
|
+
* oraclePx: "1",
|
|
1443
|
+
* marginTableId: 1,
|
|
1444
|
+
* onlyIsolated: false,
|
|
1445
|
+
* },
|
|
1446
|
+
* dex: "test",
|
|
1447
|
+
* schema: null,
|
|
1448
|
+
* },
|
|
1449
|
+
* },
|
|
1450
|
+
* );
|
|
1451
|
+
* ```
|
|
1452
|
+
*
|
|
1453
|
+
* @see https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/hip-3-deployer-actions
|
|
1454
|
+
*/
|
|
1455
|
+
export declare function perpDeploy(config: ExchangeConfig, params: PerpDeployParameters, opts?: PerpDeployOptions): Promise<PerpDeploySuccessResponse>;
|
|
1456
|
+
export {};
|
|
1457
|
+
//# sourceMappingURL=perpDeploy.d.ts.map
|