@nktkas/hyperliquid 0.30.0 → 0.30.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm/deps/jsr.io/@std/async/1.0.16/unstable_semaphore.d.ts +93 -0
- package/esm/deps/jsr.io/@std/async/1.0.16/unstable_semaphore.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/async/1.0.16/unstable_semaphore.js +137 -0
- package/esm/deps/jsr.io/@std/async/1.0.16/unstable_semaphore.js.map +1 -0
- package/esm/src/api/_schemas.d.ts +4 -4
- package/esm/src/api/_schemas.d.ts.map +1 -1
- package/esm/src/api/_schemas.js +8 -4
- package/esm/src/api/_schemas.js.map +1 -1
- package/esm/src/api/exchange/_methods/_base/_nonce.d.ts +3 -2
- package/esm/src/api/exchange/_methods/_base/_nonce.d.ts.map +1 -1
- package/esm/src/api/exchange/_methods/_base/_nonce.js +3 -2
- package/esm/src/api/exchange/_methods/_base/_nonce.js.map +1 -1
- package/esm/src/api/exchange/_methods/_base/_semaphore.d.ts +7 -6
- package/esm/src/api/exchange/_methods/_base/_semaphore.d.ts.map +1 -1
- package/esm/src/api/exchange/_methods/_base/_semaphore.js +34 -47
- package/esm/src/api/exchange/_methods/_base/_semaphore.js.map +1 -1
- package/esm/src/api/exchange/_methods/_base/execute.js +3 -3
- package/esm/src/api/exchange/_methods/_base/execute.js.map +1 -1
- package/esm/src/api/exchange/_methods/agentEnableDexAbstraction.d.ts +2 -2
- package/esm/src/api/exchange/_methods/approveAgent.d.ts +4 -4
- package/esm/src/api/exchange/_methods/approveBuilderFee.d.ts +4 -4
- package/esm/src/api/exchange/_methods/batchModify.d.ts +27 -27
- package/esm/src/api/exchange/_methods/cDeposit.d.ts +7 -7
- package/esm/src/api/exchange/_methods/cSignerAction.d.ts +2 -2
- package/esm/src/api/exchange/_methods/cValidatorAction.d.ts +11 -11
- package/esm/src/api/exchange/_methods/cWithdraw.d.ts +7 -7
- package/esm/src/api/exchange/_methods/cancel.d.ts +8 -8
- package/esm/src/api/exchange/_methods/cancelByCloid.d.ts +5 -5
- package/esm/src/api/exchange/_methods/claimRewards.d.ts +2 -2
- package/esm/src/api/exchange/_methods/convertToMultiSigUser.d.ts +10 -10
- package/esm/src/api/exchange/_methods/createSubAccount.d.ts +2 -2
- package/esm/src/api/exchange/_methods/createVault.d.ts +8 -8
- package/esm/src/api/exchange/_methods/evmUserModify.d.ts +2 -2
- package/esm/src/api/exchange/_methods/linkStakingUser.d.ts +4 -4
- package/esm/src/api/exchange/_methods/modify.d.ts +17 -17
- package/esm/src/api/exchange/_methods/noop.d.ts +2 -2
- package/esm/src/api/exchange/_methods/order.d.ts +31 -31
- package/esm/src/api/exchange/_methods/order.d.ts.map +1 -1
- package/esm/src/api/exchange/_methods/order.js +4 -2
- package/esm/src/api/exchange/_methods/order.js.map +1 -1
- package/esm/src/api/exchange/_methods/perpDeploy.d.ts +53 -53
- package/esm/src/api/exchange/_methods/registerReferrer.d.ts +2 -2
- package/esm/src/api/exchange/_methods/reserveRequestWeight.d.ts +5 -5
- package/esm/src/api/exchange/_methods/scheduleCancel.d.ts +5 -5
- package/esm/src/api/exchange/_methods/sendAsset.d.ts +7 -7
- package/esm/src/api/exchange/_methods/setDisplayName.d.ts +2 -2
- package/esm/src/api/exchange/_methods/setReferrer.d.ts +2 -2
- package/esm/src/api/exchange/_methods/spotDeploy.d.ts +53 -53
- package/esm/src/api/exchange/_methods/spotSend.d.ts +7 -7
- package/esm/src/api/exchange/_methods/spotUser.d.ts +2 -2
- package/esm/src/api/exchange/_methods/subAccountModify.d.ts +2 -2
- package/esm/src/api/exchange/_methods/subAccountSpotTransfer.d.ts +5 -5
- package/esm/src/api/exchange/_methods/subAccountTransfer.d.ts +5 -5
- package/esm/src/api/exchange/_methods/tokenDelegate.d.ts +7 -7
- package/esm/src/api/exchange/_methods/twapCancel.d.ts +8 -8
- package/esm/src/api/exchange/_methods/twapOrder.d.ts +12 -12
- package/esm/src/api/exchange/_methods/updateIsolatedMargin.d.ts +8 -8
- package/esm/src/api/exchange/_methods/updateLeverage.d.ts +8 -8
- package/esm/src/api/exchange/_methods/usdClassTransfer.d.ts +7 -7
- package/esm/src/api/exchange/_methods/usdSend.d.ts +7 -7
- package/esm/src/api/exchange/_methods/userDexAbstraction.d.ts +4 -4
- package/esm/src/api/exchange/_methods/validatorL1Stream.d.ts +5 -5
- package/esm/src/api/exchange/_methods/vaultDistribute.d.ts +5 -5
- package/esm/src/api/exchange/_methods/vaultModify.d.ts +2 -2
- package/esm/src/api/exchange/_methods/vaultTransfer.d.ts +5 -5
- package/esm/src/api/exchange/_methods/withdraw3.d.ts +7 -7
- package/esm/src/api/info/_methods/_base/commonSchemas.d.ts +43 -43
- package/esm/src/api/info/_methods/activeAssetData.d.ts +6 -6
- package/esm/src/api/info/_methods/alignedQuoteTokenInfo.d.ts +5 -5
- package/esm/src/api/info/_methods/allMids.d.ts +1 -1
- package/esm/src/api/info/_methods/allPerpMetas.d.ts +7 -7
- package/esm/src/api/info/_methods/blockDetails.d.ts +6 -6
- package/esm/src/api/info/_methods/candleSnapshot.d.ts +10 -10
- package/esm/src/api/info/_methods/clearinghouseState.d.ts +25 -25
- package/esm/src/api/info/_methods/delegations.d.ts +2 -2
- package/esm/src/api/info/_methods/delegatorHistory.d.ts +4 -4
- package/esm/src/api/info/_methods/delegatorRewards.d.ts +2 -2
- package/esm/src/api/info/_methods/delegatorSummary.d.ts +4 -4
- package/esm/src/api/info/_methods/exchangeStatus.d.ts +1 -1
- package/esm/src/api/info/_methods/extraAgents.d.ts +1 -1
- package/esm/src/api/info/_methods/frontendOpenOrders.d.ts +6 -6
- package/esm/src/api/info/_methods/fundingHistory.d.ts +5 -5
- package/esm/src/api/info/_methods/historicalOrders.d.ts +7 -7
- package/esm/src/api/info/_methods/l2Book.d.ts +7 -7
- package/esm/src/api/info/_methods/marginTable.d.ts +3 -3
- package/esm/src/api/info/_methods/maxMarketOrderNtls.d.ts +1 -1
- package/esm/src/api/info/_methods/maxMarketOrderNtls.d.ts.map +1 -1
- package/esm/src/api/info/_methods/meta.d.ts +7 -7
- package/esm/src/api/info/_methods/metaAndAssetCtxs.d.ts +16 -16
- package/esm/src/api/info/_methods/openOrders.d.ts +5 -5
- package/esm/src/api/info/_methods/orderStatus.d.ts +8 -8
- package/esm/src/api/info/_methods/perpDeployAuctionStatus.d.ts +5 -5
- package/esm/src/api/info/_methods/perpDexLimits.d.ts +4 -4
- package/esm/src/api/info/_methods/perpDexStatus.d.ts +1 -1
- package/esm/src/api/info/_methods/perpDexs.d.ts +1 -1
- package/esm/src/api/info/_methods/portfolio.d.ts +24 -24
- package/esm/src/api/info/_methods/preTransferCheck.d.ts +1 -1
- package/esm/src/api/info/_methods/predictedFundings.d.ts +3 -3
- package/esm/src/api/info/_methods/recentTrades.d.ts +4 -4
- package/esm/src/api/info/_methods/referral.d.ts +23 -23
- package/esm/src/api/info/_methods/spotClearinghouseState.d.ts +6 -6
- package/esm/src/api/info/_methods/spotDeployState.d.ts +15 -15
- package/esm/src/api/info/_methods/spotMeta.d.ts +7 -7
- package/esm/src/api/info/_methods/spotMetaAndAssetCtxs.d.ts +14 -14
- package/esm/src/api/info/_methods/spotPairDeployAuctionStatus.d.ts +5 -5
- package/esm/src/api/info/_methods/subAccounts.d.ts +31 -31
- package/esm/src/api/info/_methods/subAccounts2.d.ts +31 -31
- package/esm/src/api/info/_methods/tokenDetails.d.ts +12 -12
- package/esm/src/api/info/_methods/twapHistory.d.ts +7 -7
- package/esm/src/api/info/_methods/txDetails.d.ts +2 -2
- package/esm/src/api/info/_methods/userDetails.d.ts +2 -2
- package/esm/src/api/info/_methods/userFees.d.ts +25 -25
- package/esm/src/api/info/_methods/userFills.d.ts +10 -10
- package/esm/src/api/info/_methods/userFillsByTime.d.ts +12 -12
- package/esm/src/api/info/_methods/userFunding.d.ts +9 -9
- package/esm/src/api/info/_methods/userFunding.js +2 -2
- package/esm/src/api/info/_methods/userFunding.js.map +1 -1
- package/esm/src/api/info/_methods/userNonFundingLedgerUpdates.d.ts +36 -36
- package/esm/src/api/info/_methods/userRateLimit.d.ts +4 -4
- package/esm/src/api/info/_methods/userToMultiSigSigners.d.ts +1 -1
- package/esm/src/api/info/_methods/userTwapSliceFills.d.ts +10 -10
- package/esm/src/api/info/_methods/userTwapSliceFillsByTime.d.ts +12 -12
- package/esm/src/api/info/_methods/userVaultEquities.d.ts +2 -2
- package/esm/src/api/info/_methods/validatorL1Votes.d.ts +1 -1
- package/esm/src/api/info/_methods/validatorSummaries.d.ts +9 -9
- package/esm/src/api/info/_methods/vaultDetails.d.ts +36 -36
- package/esm/src/api/info/_methods/vaultSummaries.d.ts +2 -2
- package/esm/src/api/info/_methods/webData2.d.ts +70 -70
- package/esm/src/api/subscription/_methods/activeAssetCtx.d.ts +9 -9
- package/esm/src/api/subscription/_methods/activeAssetData.d.ts +6 -6
- package/esm/src/api/subscription/_methods/activeSpotAssetCtx.d.ts +7 -7
- package/esm/src/api/subscription/_methods/allDexsAssetCtxs.d.ts +9 -9
- package/esm/src/api/subscription/_methods/allDexsClearinghouseState.d.ts +25 -25
- package/esm/src/api/subscription/_methods/allMids.d.ts +1 -1
- package/esm/src/api/subscription/_methods/assetCtxs.d.ts +11 -9
- package/esm/src/api/subscription/_methods/assetCtxs.d.ts.map +1 -1
- package/esm/src/api/subscription/_methods/assetCtxs.js.map +1 -1
- package/esm/src/api/subscription/_methods/bbo.d.ts +7 -7
- package/esm/src/api/subscription/_methods/candle.d.ts +8 -8
- package/esm/src/api/subscription/_methods/clearinghouseState.d.ts +27 -25
- package/esm/src/api/subscription/_methods/clearinghouseState.d.ts.map +1 -1
- package/esm/src/api/subscription/_methods/clearinghouseState.js +2 -0
- package/esm/src/api/subscription/_methods/clearinghouseState.js.map +1 -1
- package/esm/src/api/subscription/_methods/explorerBlock.d.ts +5 -3
- package/esm/src/api/subscription/_methods/explorerBlock.d.ts.map +1 -1
- package/esm/src/api/subscription/_methods/explorerBlock.js +2 -0
- package/esm/src/api/subscription/_methods/explorerBlock.js.map +1 -1
- package/esm/src/api/subscription/_methods/explorerTxs.d.ts +4 -2
- package/esm/src/api/subscription/_methods/explorerTxs.d.ts.map +1 -1
- package/esm/src/api/subscription/_methods/explorerTxs.js +2 -0
- package/esm/src/api/subscription/_methods/explorerTxs.js.map +1 -1
- package/esm/src/api/subscription/_methods/l2Book.d.ts +9 -9
- package/esm/src/api/subscription/_methods/openOrders.d.ts +6 -6
- package/esm/src/api/subscription/_methods/orderUpdates.d.ts +6 -6
- package/esm/src/api/subscription/_methods/spotAssetCtxs.d.ts +7 -7
- package/esm/src/api/subscription/_methods/spotState.d.ts +6 -6
- package/esm/src/api/subscription/_methods/trades.d.ts +4 -4
- package/esm/src/api/subscription/_methods/twapStates.d.ts +11 -6
- package/esm/src/api/subscription/_methods/twapStates.d.ts.map +1 -1
- package/esm/src/api/subscription/_methods/twapStates.js +6 -1
- package/esm/src/api/subscription/_methods/twapStates.js.map +1 -1
- package/esm/src/api/subscription/_methods/userEvents.d.ts +35 -35
- package/esm/src/api/subscription/_methods/userFills.d.ts +10 -10
- package/esm/src/api/subscription/_methods/userFundings.d.ts +5 -5
- package/esm/src/api/subscription/_methods/userHistoricalOrders.d.ts +7 -7
- package/esm/src/api/subscription/_methods/userNonFundingLedgerUpdates.d.ts +34 -34
- package/esm/src/api/subscription/_methods/userTwapHistory.d.ts +7 -7
- package/esm/src/api/subscription/_methods/userTwapSliceFills.d.ts +10 -10
- package/esm/src/api/subscription/_methods/webData2.d.ts +70 -70
- package/esm/src/api/subscription/_methods/webData3.d.ts +4 -4
- package/esm/src/signing/mod.js +1 -1
- package/esm/src/signing/mod.js.map +1 -1
- package/package.json +2 -2
- package/script/deps/jsr.io/@std/async/1.0.16/unstable_semaphore.d.ts +93 -0
- package/script/deps/jsr.io/@std/async/1.0.16/unstable_semaphore.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/async/1.0.16/unstable_semaphore.js +141 -0
- package/script/deps/jsr.io/@std/async/1.0.16/unstable_semaphore.js.map +1 -0
- package/script/src/api/_schemas.d.ts +4 -4
- package/script/src/api/_schemas.d.ts.map +1 -1
- package/script/src/api/_schemas.js +8 -4
- package/script/src/api/_schemas.js.map +1 -1
- package/script/src/api/exchange/_methods/_base/_nonce.d.ts +3 -2
- package/script/src/api/exchange/_methods/_base/_nonce.d.ts.map +1 -1
- package/script/src/api/exchange/_methods/_base/_nonce.js +4 -3
- package/script/src/api/exchange/_methods/_base/_nonce.js.map +1 -1
- package/script/src/api/exchange/_methods/_base/_semaphore.d.ts +7 -6
- package/script/src/api/exchange/_methods/_base/_semaphore.d.ts.map +1 -1
- package/script/src/api/exchange/_methods/_base/_semaphore.js +35 -50
- package/script/src/api/exchange/_methods/_base/_semaphore.js.map +1 -1
- package/script/src/api/exchange/_methods/_base/execute.js +2 -2
- package/script/src/api/exchange/_methods/_base/execute.js.map +1 -1
- package/script/src/api/exchange/_methods/agentEnableDexAbstraction.d.ts +2 -2
- package/script/src/api/exchange/_methods/approveAgent.d.ts +4 -4
- package/script/src/api/exchange/_methods/approveBuilderFee.d.ts +4 -4
- package/script/src/api/exchange/_methods/batchModify.d.ts +27 -27
- package/script/src/api/exchange/_methods/cDeposit.d.ts +7 -7
- package/script/src/api/exchange/_methods/cSignerAction.d.ts +2 -2
- package/script/src/api/exchange/_methods/cValidatorAction.d.ts +11 -11
- package/script/src/api/exchange/_methods/cWithdraw.d.ts +7 -7
- package/script/src/api/exchange/_methods/cancel.d.ts +8 -8
- package/script/src/api/exchange/_methods/cancelByCloid.d.ts +5 -5
- package/script/src/api/exchange/_methods/claimRewards.d.ts +2 -2
- package/script/src/api/exchange/_methods/convertToMultiSigUser.d.ts +10 -10
- package/script/src/api/exchange/_methods/createSubAccount.d.ts +2 -2
- package/script/src/api/exchange/_methods/createVault.d.ts +8 -8
- package/script/src/api/exchange/_methods/evmUserModify.d.ts +2 -2
- package/script/src/api/exchange/_methods/linkStakingUser.d.ts +4 -4
- package/script/src/api/exchange/_methods/modify.d.ts +17 -17
- package/script/src/api/exchange/_methods/noop.d.ts +2 -2
- package/script/src/api/exchange/_methods/order.d.ts +31 -31
- package/script/src/api/exchange/_methods/order.d.ts.map +1 -1
- package/script/src/api/exchange/_methods/order.js +4 -2
- package/script/src/api/exchange/_methods/order.js.map +1 -1
- package/script/src/api/exchange/_methods/perpDeploy.d.ts +53 -53
- package/script/src/api/exchange/_methods/registerReferrer.d.ts +2 -2
- package/script/src/api/exchange/_methods/reserveRequestWeight.d.ts +5 -5
- package/script/src/api/exchange/_methods/scheduleCancel.d.ts +5 -5
- package/script/src/api/exchange/_methods/sendAsset.d.ts +7 -7
- package/script/src/api/exchange/_methods/setDisplayName.d.ts +2 -2
- package/script/src/api/exchange/_methods/setReferrer.d.ts +2 -2
- package/script/src/api/exchange/_methods/spotDeploy.d.ts +53 -53
- package/script/src/api/exchange/_methods/spotSend.d.ts +7 -7
- package/script/src/api/exchange/_methods/spotUser.d.ts +2 -2
- package/script/src/api/exchange/_methods/subAccountModify.d.ts +2 -2
- package/script/src/api/exchange/_methods/subAccountSpotTransfer.d.ts +5 -5
- package/script/src/api/exchange/_methods/subAccountTransfer.d.ts +5 -5
- package/script/src/api/exchange/_methods/tokenDelegate.d.ts +7 -7
- package/script/src/api/exchange/_methods/twapCancel.d.ts +8 -8
- package/script/src/api/exchange/_methods/twapOrder.d.ts +12 -12
- package/script/src/api/exchange/_methods/updateIsolatedMargin.d.ts +8 -8
- package/script/src/api/exchange/_methods/updateLeverage.d.ts +8 -8
- package/script/src/api/exchange/_methods/usdClassTransfer.d.ts +7 -7
- package/script/src/api/exchange/_methods/usdSend.d.ts +7 -7
- package/script/src/api/exchange/_methods/userDexAbstraction.d.ts +4 -4
- package/script/src/api/exchange/_methods/validatorL1Stream.d.ts +5 -5
- package/script/src/api/exchange/_methods/vaultDistribute.d.ts +5 -5
- package/script/src/api/exchange/_methods/vaultModify.d.ts +2 -2
- package/script/src/api/exchange/_methods/vaultTransfer.d.ts +5 -5
- package/script/src/api/exchange/_methods/withdraw3.d.ts +7 -7
- package/script/src/api/info/_methods/_base/commonSchemas.d.ts +43 -43
- package/script/src/api/info/_methods/activeAssetData.d.ts +6 -6
- package/script/src/api/info/_methods/alignedQuoteTokenInfo.d.ts +5 -5
- package/script/src/api/info/_methods/allMids.d.ts +1 -1
- package/script/src/api/info/_methods/allPerpMetas.d.ts +7 -7
- package/script/src/api/info/_methods/blockDetails.d.ts +6 -6
- package/script/src/api/info/_methods/candleSnapshot.d.ts +10 -10
- package/script/src/api/info/_methods/clearinghouseState.d.ts +25 -25
- package/script/src/api/info/_methods/delegations.d.ts +2 -2
- package/script/src/api/info/_methods/delegatorHistory.d.ts +4 -4
- package/script/src/api/info/_methods/delegatorRewards.d.ts +2 -2
- package/script/src/api/info/_methods/delegatorSummary.d.ts +4 -4
- package/script/src/api/info/_methods/exchangeStatus.d.ts +1 -1
- package/script/src/api/info/_methods/extraAgents.d.ts +1 -1
- package/script/src/api/info/_methods/frontendOpenOrders.d.ts +6 -6
- package/script/src/api/info/_methods/fundingHistory.d.ts +5 -5
- package/script/src/api/info/_methods/historicalOrders.d.ts +7 -7
- package/script/src/api/info/_methods/l2Book.d.ts +7 -7
- package/script/src/api/info/_methods/marginTable.d.ts +3 -3
- package/script/src/api/info/_methods/maxMarketOrderNtls.d.ts +1 -1
- package/script/src/api/info/_methods/maxMarketOrderNtls.d.ts.map +1 -1
- package/script/src/api/info/_methods/meta.d.ts +7 -7
- package/script/src/api/info/_methods/metaAndAssetCtxs.d.ts +16 -16
- package/script/src/api/info/_methods/openOrders.d.ts +5 -5
- package/script/src/api/info/_methods/orderStatus.d.ts +8 -8
- package/script/src/api/info/_methods/perpDeployAuctionStatus.d.ts +5 -5
- package/script/src/api/info/_methods/perpDexLimits.d.ts +4 -4
- package/script/src/api/info/_methods/perpDexStatus.d.ts +1 -1
- package/script/src/api/info/_methods/perpDexs.d.ts +1 -1
- package/script/src/api/info/_methods/portfolio.d.ts +24 -24
- package/script/src/api/info/_methods/preTransferCheck.d.ts +1 -1
- package/script/src/api/info/_methods/predictedFundings.d.ts +3 -3
- package/script/src/api/info/_methods/recentTrades.d.ts +4 -4
- package/script/src/api/info/_methods/referral.d.ts +23 -23
- package/script/src/api/info/_methods/spotClearinghouseState.d.ts +6 -6
- package/script/src/api/info/_methods/spotDeployState.d.ts +15 -15
- package/script/src/api/info/_methods/spotMeta.d.ts +7 -7
- package/script/src/api/info/_methods/spotMetaAndAssetCtxs.d.ts +14 -14
- package/script/src/api/info/_methods/spotPairDeployAuctionStatus.d.ts +5 -5
- package/script/src/api/info/_methods/subAccounts.d.ts +31 -31
- package/script/src/api/info/_methods/subAccounts2.d.ts +31 -31
- package/script/src/api/info/_methods/tokenDetails.d.ts +12 -12
- package/script/src/api/info/_methods/twapHistory.d.ts +7 -7
- package/script/src/api/info/_methods/txDetails.d.ts +2 -2
- package/script/src/api/info/_methods/userDetails.d.ts +2 -2
- package/script/src/api/info/_methods/userFees.d.ts +25 -25
- package/script/src/api/info/_methods/userFills.d.ts +10 -10
- package/script/src/api/info/_methods/userFillsByTime.d.ts +12 -12
- package/script/src/api/info/_methods/userFunding.d.ts +9 -9
- package/script/src/api/info/_methods/userFunding.js +2 -2
- package/script/src/api/info/_methods/userFunding.js.map +1 -1
- package/script/src/api/info/_methods/userNonFundingLedgerUpdates.d.ts +36 -36
- package/script/src/api/info/_methods/userRateLimit.d.ts +4 -4
- package/script/src/api/info/_methods/userToMultiSigSigners.d.ts +1 -1
- package/script/src/api/info/_methods/userTwapSliceFills.d.ts +10 -10
- package/script/src/api/info/_methods/userTwapSliceFillsByTime.d.ts +12 -12
- package/script/src/api/info/_methods/userVaultEquities.d.ts +2 -2
- package/script/src/api/info/_methods/validatorL1Votes.d.ts +1 -1
- package/script/src/api/info/_methods/validatorSummaries.d.ts +9 -9
- package/script/src/api/info/_methods/vaultDetails.d.ts +36 -36
- package/script/src/api/info/_methods/vaultSummaries.d.ts +2 -2
- package/script/src/api/info/_methods/webData2.d.ts +70 -70
- package/script/src/api/subscription/_methods/activeAssetCtx.d.ts +9 -9
- package/script/src/api/subscription/_methods/activeAssetData.d.ts +6 -6
- package/script/src/api/subscription/_methods/activeSpotAssetCtx.d.ts +7 -7
- package/script/src/api/subscription/_methods/allDexsAssetCtxs.d.ts +9 -9
- package/script/src/api/subscription/_methods/allDexsClearinghouseState.d.ts +25 -25
- package/script/src/api/subscription/_methods/allMids.d.ts +1 -1
- package/script/src/api/subscription/_methods/assetCtxs.d.ts +11 -9
- package/script/src/api/subscription/_methods/assetCtxs.d.ts.map +1 -1
- package/script/src/api/subscription/_methods/assetCtxs.js.map +1 -1
- package/script/src/api/subscription/_methods/bbo.d.ts +7 -7
- package/script/src/api/subscription/_methods/candle.d.ts +8 -8
- package/script/src/api/subscription/_methods/clearinghouseState.d.ts +27 -25
- package/script/src/api/subscription/_methods/clearinghouseState.d.ts.map +1 -1
- package/script/src/api/subscription/_methods/clearinghouseState.js +2 -0
- package/script/src/api/subscription/_methods/clearinghouseState.js.map +1 -1
- package/script/src/api/subscription/_methods/explorerBlock.d.ts +5 -3
- package/script/src/api/subscription/_methods/explorerBlock.d.ts.map +1 -1
- package/script/src/api/subscription/_methods/explorerBlock.js +2 -0
- package/script/src/api/subscription/_methods/explorerBlock.js.map +1 -1
- package/script/src/api/subscription/_methods/explorerTxs.d.ts +4 -2
- package/script/src/api/subscription/_methods/explorerTxs.d.ts.map +1 -1
- package/script/src/api/subscription/_methods/explorerTxs.js +2 -0
- package/script/src/api/subscription/_methods/explorerTxs.js.map +1 -1
- package/script/src/api/subscription/_methods/l2Book.d.ts +9 -9
- package/script/src/api/subscription/_methods/openOrders.d.ts +6 -6
- package/script/src/api/subscription/_methods/orderUpdates.d.ts +6 -6
- package/script/src/api/subscription/_methods/spotAssetCtxs.d.ts +7 -7
- package/script/src/api/subscription/_methods/spotState.d.ts +6 -6
- package/script/src/api/subscription/_methods/trades.d.ts +4 -4
- package/script/src/api/subscription/_methods/twapStates.d.ts +11 -6
- package/script/src/api/subscription/_methods/twapStates.d.ts.map +1 -1
- package/script/src/api/subscription/_methods/twapStates.js +6 -1
- package/script/src/api/subscription/_methods/twapStates.js.map +1 -1
- package/script/src/api/subscription/_methods/userEvents.d.ts +35 -35
- package/script/src/api/subscription/_methods/userFills.d.ts +10 -10
- package/script/src/api/subscription/_methods/userFundings.d.ts +5 -5
- package/script/src/api/subscription/_methods/userHistoricalOrders.d.ts +7 -7
- package/script/src/api/subscription/_methods/userNonFundingLedgerUpdates.d.ts +34 -34
- package/script/src/api/subscription/_methods/userTwapHistory.d.ts +7 -7
- package/script/src/api/subscription/_methods/userTwapSliceFills.d.ts +10 -10
- package/script/src/api/subscription/_methods/webData2.d.ts +70 -70
- package/script/src/api/subscription/_methods/webData3.d.ts +4 -4
- package/script/src/signing/mod.js +2 -2
- package/script/src/signing/mod.js.map +1 -1
- package/src/deps/jsr.io/@std/async/1.0.16/unstable_semaphore.ts +146 -0
- package/src/src/api/_schemas.ts +4 -0
- package/src/src/api/exchange/_methods/_base/_nonce.ts +3 -2
- package/src/src/api/exchange/_methods/_base/_semaphore.ts +34 -59
- package/src/src/api/exchange/_methods/_base/execute.ts +3 -3
- package/src/src/api/exchange/_methods/order.ts +5 -3
- package/src/src/api/info/_methods/userFunding.ts +2 -2
- package/src/src/api/subscription/_methods/assetCtxs.ts +2 -0
- package/src/src/api/subscription/_methods/clearinghouseState.ts +2 -0
- package/src/src/api/subscription/_methods/explorerBlock.ts +2 -0
- package/src/src/api/subscription/_methods/explorerTxs.ts +2 -0
- package/src/src/api/subscription/_methods/twapStates.ts +9 -1
- package/src/src/signing/mod.ts +1 -1
- package/esm/deps/jsr.io/@std/msgpack/1.0.3/decode.d.ts +0 -21
- package/esm/deps/jsr.io/@std/msgpack/1.0.3/decode.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/msgpack/1.0.3/decode.js +0 -292
- package/esm/deps/jsr.io/@std/msgpack/1.0.3/decode.js.map +0 -1
- package/esm/deps/jsr.io/@std/msgpack/1.0.3/mod.d.ts +0 -44
- package/esm/deps/jsr.io/@std/msgpack/1.0.3/mod.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/msgpack/1.0.3/mod.js +0 -46
- package/esm/deps/jsr.io/@std/msgpack/1.0.3/mod.js.map +0 -1
- package/script/deps/jsr.io/@std/msgpack/1.0.3/decode.d.ts +0 -21
- package/script/deps/jsr.io/@std/msgpack/1.0.3/decode.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/msgpack/1.0.3/decode.js +0 -295
- package/script/deps/jsr.io/@std/msgpack/1.0.3/decode.js.map +0 -1
- package/script/deps/jsr.io/@std/msgpack/1.0.3/mod.d.ts +0 -44
- package/script/deps/jsr.io/@std/msgpack/1.0.3/mod.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/msgpack/1.0.3/mod.js +0 -62
- package/script/deps/jsr.io/@std/msgpack/1.0.3/mod.js.map +0 -1
- package/src/deps/jsr.io/@std/msgpack/1.0.3/decode.ts +0 -391
- package/src/deps/jsr.io/@std/msgpack/1.0.3/mod.ts +0 -47
|
@@ -11,7 +11,7 @@ export declare const CancelByCloidRequest: v.SchemaWithPipe<readonly [v.ObjectSc
|
|
|
11
11
|
/** Orders to cancel by asset and client order ID. */
|
|
12
12
|
readonly cancels: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
13
13
|
/** Asset ID. */
|
|
14
|
-
readonly asset: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.ToNumberAction<string | number, undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Asset ID.">]>;
|
|
14
|
+
readonly asset: 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, "Asset ID.">]>;
|
|
15
15
|
/** Client Order ID. */
|
|
16
16
|
readonly cloid: 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}`, 34, undefined>]>, v.DescriptionAction<`0x${string}`, "Client Order ID.">]>;
|
|
17
17
|
}, undefined>, undefined>, v.DescriptionAction<{
|
|
@@ -26,7 +26,7 @@ export declare const CancelByCloidRequest: v.SchemaWithPipe<readonly [v.ObjectSc
|
|
|
26
26
|
}[];
|
|
27
27
|
}, "Action to perform.">]>;
|
|
28
28
|
/** Nonce (timestamp in ms) used to prevent replay attacks. */
|
|
29
|
-
readonly nonce: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.ToNumberAction<string | number, undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Nonce (timestamp in ms) used to prevent replay attacks.">]>;
|
|
29
|
+
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.">]>;
|
|
30
30
|
/** ECDSA signature components. */
|
|
31
31
|
readonly signature: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
32
32
|
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.">]>;
|
|
@@ -44,7 +44,7 @@ export declare const CancelByCloidRequest: v.SchemaWithPipe<readonly [v.ObjectSc
|
|
|
44
44
|
/** Vault address (for vault trading). */
|
|
45
45
|
readonly vaultAddress: v.SchemaWithPipe<readonly [v.OptionalSchema<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}` | undefined, "Vault address (for vault trading).">]>;
|
|
46
46
|
/** Expiration time of the action. */
|
|
47
|
-
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.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>, v.DescriptionAction<number | undefined, "Expiration time of the action.">]>;
|
|
47
|
+
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.">]>;
|
|
48
48
|
}, undefined>, v.DescriptionAction<{
|
|
49
49
|
action: {
|
|
50
50
|
type: "cancelByCloid";
|
|
@@ -121,7 +121,7 @@ declare const CancelByCloidParameters: Omit<v.ObjectSchema<{
|
|
|
121
121
|
/** Orders to cancel by asset and client order ID. */
|
|
122
122
|
readonly cancels: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
123
123
|
/** Asset ID. */
|
|
124
|
-
readonly asset: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.ToNumberAction<string | number, undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Asset ID.">]>;
|
|
124
|
+
readonly asset: 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, "Asset ID.">]>;
|
|
125
125
|
/** Client Order ID. */
|
|
126
126
|
readonly cloid: 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}`, 34, undefined>]>, v.DescriptionAction<`0x${string}`, "Client Order ID.">]>;
|
|
127
127
|
}, undefined>, undefined>, v.DescriptionAction<{
|
|
@@ -135,7 +135,7 @@ declare const CancelByCloidParameters: Omit<v.ObjectSchema<{
|
|
|
135
135
|
/** Orders to cancel by asset and client order ID. */
|
|
136
136
|
readonly cancels: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
137
137
|
/** Asset ID. */
|
|
138
|
-
readonly asset: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.ToNumberAction<string | number, undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Asset ID.">]>;
|
|
138
|
+
readonly asset: 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, "Asset ID.">]>;
|
|
139
139
|
/** Client Order ID. */
|
|
140
140
|
readonly cloid: 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}`, 34, undefined>]>, v.DescriptionAction<`0x${string}`, "Client Order ID.">]>;
|
|
141
141
|
}, undefined>, undefined>, v.DescriptionAction<{
|
|
@@ -9,7 +9,7 @@ export declare const ClaimRewardsRequest: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
9
9
|
type: "claimRewards";
|
|
10
10
|
}, "Action to perform.">]>;
|
|
11
11
|
/** Nonce (timestamp in ms) used to prevent replay attacks. */
|
|
12
|
-
readonly nonce: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.ToNumberAction<string | number, undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Nonce (timestamp in ms) used to prevent replay attacks.">]>;
|
|
12
|
+
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.">]>;
|
|
13
13
|
/** ECDSA signature components. */
|
|
14
14
|
readonly signature: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
15
15
|
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.">]>;
|
|
@@ -25,7 +25,7 @@ export declare const ClaimRewardsRequest: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
25
25
|
v: 27 | 28;
|
|
26
26
|
}, "ECDSA signature components.">]>;
|
|
27
27
|
/** Expiration time of the action. */
|
|
28
|
-
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.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>, v.DescriptionAction<number | undefined, "Expiration time of the action.">]>;
|
|
28
|
+
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.">]>;
|
|
29
29
|
}, undefined>, v.DescriptionAction<{
|
|
30
30
|
action: {
|
|
31
31
|
type: "claimRewards";
|
|
@@ -21,7 +21,7 @@ export declare const ConvertToMultiSigUserRequest: v.SchemaWithPipe<readonly [v.
|
|
|
21
21
|
/** List of authorized user addresses. */
|
|
22
22
|
readonly authorizedUsers: v.SchemaWithPipe<readonly [v.ArraySchema<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}`[], "List of authorized user addresses.">]>;
|
|
23
23
|
/** Minimum number of signatures required. */
|
|
24
|
-
readonly threshold: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.ToNumberAction<string | number, undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 10, undefined>, v.DescriptionAction<number, "Minimum number of signatures required.">]>;
|
|
24
|
+
readonly threshold: 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.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 10, undefined>, v.DescriptionAction<number, "Minimum number of signatures required.">]>;
|
|
25
25
|
}, undefined>, undefined>, v.DescriptionAction<{
|
|
26
26
|
authorizedUsers: `0x${string}`[];
|
|
27
27
|
threshold: number;
|
|
@@ -32,7 +32,7 @@ export declare const ConvertToMultiSigUserRequest: v.SchemaWithPipe<readonly [v.
|
|
|
32
32
|
/** List of authorized user addresses. */
|
|
33
33
|
readonly authorizedUsers: v.SchemaWithPipe<readonly [v.ArraySchema<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}`[], "List of authorized user addresses.">]>;
|
|
34
34
|
/** Minimum number of signatures required. */
|
|
35
|
-
readonly threshold: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.ToNumberAction<string | number, undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 10, undefined>, v.DescriptionAction<number, "Minimum number of signatures required.">]>;
|
|
35
|
+
readonly threshold: 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.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 10, undefined>, v.DescriptionAction<number, "Minimum number of signatures required.">]>;
|
|
36
36
|
}, undefined>, undefined>, v.DescriptionAction<{
|
|
37
37
|
authorizedUsers: `0x${string}`[];
|
|
38
38
|
threshold: number;
|
|
@@ -41,7 +41,7 @@ export declare const ConvertToMultiSigUserRequest: v.SchemaWithPipe<readonly [v.
|
|
|
41
41
|
threshold: number;
|
|
42
42
|
} | null, undefined, undefined>]>], undefined>, v.DescriptionAction<string, string>]>;
|
|
43
43
|
/** Nonce (timestamp in ms) used to prevent replay attacks. */
|
|
44
|
-
readonly nonce: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.ToNumberAction<string | number, undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Nonce (timestamp in ms) used to prevent replay attacks.">]>;
|
|
44
|
+
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.">]>;
|
|
45
45
|
}, undefined>, v.DescriptionAction<{
|
|
46
46
|
type: "convertToMultiSigUser";
|
|
47
47
|
signatureChainId: `0x${string}`;
|
|
@@ -50,7 +50,7 @@ export declare const ConvertToMultiSigUserRequest: v.SchemaWithPipe<readonly [v.
|
|
|
50
50
|
nonce: number;
|
|
51
51
|
}, "Action to perform.">]>;
|
|
52
52
|
/** Nonce (timestamp in ms) used to prevent replay attacks. */
|
|
53
|
-
readonly nonce: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.ToNumberAction<string | number, undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Nonce (timestamp in ms) used to prevent replay attacks.">]>;
|
|
53
|
+
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.">]>;
|
|
54
54
|
/** ECDSA signature components. */
|
|
55
55
|
readonly signature: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
56
56
|
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.">]>;
|
|
@@ -132,7 +132,7 @@ declare const ConvertToMultiSigUserParameters: Omit<v.ObjectSchema<{
|
|
|
132
132
|
/** List of authorized user addresses. */
|
|
133
133
|
readonly authorizedUsers: v.SchemaWithPipe<readonly [v.ArraySchema<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}`[], "List of authorized user addresses.">]>;
|
|
134
134
|
/** Minimum number of signatures required. */
|
|
135
|
-
readonly threshold: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.ToNumberAction<string | number, undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 10, undefined>, v.DescriptionAction<number, "Minimum number of signatures required.">]>;
|
|
135
|
+
readonly threshold: 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.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 10, undefined>, v.DescriptionAction<number, "Minimum number of signatures required.">]>;
|
|
136
136
|
}, undefined>, undefined>, v.DescriptionAction<{
|
|
137
137
|
authorizedUsers: `0x${string}`[];
|
|
138
138
|
threshold: number;
|
|
@@ -143,7 +143,7 @@ declare const ConvertToMultiSigUserParameters: Omit<v.ObjectSchema<{
|
|
|
143
143
|
/** List of authorized user addresses. */
|
|
144
144
|
readonly authorizedUsers: v.SchemaWithPipe<readonly [v.ArraySchema<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}`[], "List of authorized user addresses.">]>;
|
|
145
145
|
/** Minimum number of signatures required. */
|
|
146
|
-
readonly threshold: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.ToNumberAction<string | number, undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 10, undefined>, v.DescriptionAction<number, "Minimum number of signatures required.">]>;
|
|
146
|
+
readonly threshold: 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.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 10, undefined>, v.DescriptionAction<number, "Minimum number of signatures required.">]>;
|
|
147
147
|
}, undefined>, undefined>, v.DescriptionAction<{
|
|
148
148
|
authorizedUsers: `0x${string}`[];
|
|
149
149
|
threshold: number;
|
|
@@ -152,7 +152,7 @@ declare const ConvertToMultiSigUserParameters: Omit<v.ObjectSchema<{
|
|
|
152
152
|
threshold: number;
|
|
153
153
|
} | null, undefined, undefined>]>], undefined>, v.DescriptionAction<string, string>]>;
|
|
154
154
|
/** Nonce (timestamp in ms) used to prevent replay attacks. */
|
|
155
|
-
readonly nonce: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.ToNumberAction<string | number, undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Nonce (timestamp in ms) used to prevent replay attacks.">]>;
|
|
155
|
+
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.">]>;
|
|
156
156
|
}, undefined>, "entries" | "~types" | "~run" | "~standard"> & {
|
|
157
157
|
readonly entries: Omit<{
|
|
158
158
|
/** Type of action. */
|
|
@@ -170,7 +170,7 @@ declare const ConvertToMultiSigUserParameters: Omit<v.ObjectSchema<{
|
|
|
170
170
|
/** List of authorized user addresses. */
|
|
171
171
|
readonly authorizedUsers: v.SchemaWithPipe<readonly [v.ArraySchema<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}`[], "List of authorized user addresses.">]>;
|
|
172
172
|
/** Minimum number of signatures required. */
|
|
173
|
-
readonly threshold: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.ToNumberAction<string | number, undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 10, undefined>, v.DescriptionAction<number, "Minimum number of signatures required.">]>;
|
|
173
|
+
readonly threshold: 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.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 10, undefined>, v.DescriptionAction<number, "Minimum number of signatures required.">]>;
|
|
174
174
|
}, undefined>, undefined>, v.DescriptionAction<{
|
|
175
175
|
authorizedUsers: `0x${string}`[];
|
|
176
176
|
threshold: number;
|
|
@@ -181,7 +181,7 @@ declare const ConvertToMultiSigUserParameters: Omit<v.ObjectSchema<{
|
|
|
181
181
|
/** List of authorized user addresses. */
|
|
182
182
|
readonly authorizedUsers: v.SchemaWithPipe<readonly [v.ArraySchema<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}`[], "List of authorized user addresses.">]>;
|
|
183
183
|
/** Minimum number of signatures required. */
|
|
184
|
-
readonly threshold: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.ToNumberAction<string | number, undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 10, undefined>, v.DescriptionAction<number, "Minimum number of signatures required.">]>;
|
|
184
|
+
readonly threshold: 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.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 10, undefined>, v.DescriptionAction<number, "Minimum number of signatures required.">]>;
|
|
185
185
|
}, undefined>, undefined>, v.DescriptionAction<{
|
|
186
186
|
authorizedUsers: `0x${string}`[];
|
|
187
187
|
threshold: number;
|
|
@@ -190,7 +190,7 @@ declare const ConvertToMultiSigUserParameters: Omit<v.ObjectSchema<{
|
|
|
190
190
|
threshold: number;
|
|
191
191
|
} | null, undefined, undefined>]>], undefined>, v.DescriptionAction<string, string>]>;
|
|
192
192
|
/** Nonce (timestamp in ms) used to prevent replay attacks. */
|
|
193
|
-
readonly nonce: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.ToNumberAction<string | number, undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Nonce (timestamp in ms) used to prevent replay attacks.">]>;
|
|
193
|
+
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.">]>;
|
|
194
194
|
}, "type" | "nonce" | "signatureChainId" | "hyperliquidChain">;
|
|
195
195
|
readonly "~standard": v.StandardProps<{
|
|
196
196
|
signers: string | {
|
|
@@ -12,7 +12,7 @@ export declare const CreateSubAccountRequest: v.SchemaWithPipe<readonly [v.Objec
|
|
|
12
12
|
name: string;
|
|
13
13
|
}, "Action to perform.">]>;
|
|
14
14
|
/** Nonce (timestamp in ms) used to prevent replay attacks. */
|
|
15
|
-
readonly nonce: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.ToNumberAction<string | number, undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Nonce (timestamp in ms) used to prevent replay attacks.">]>;
|
|
15
|
+
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.">]>;
|
|
16
16
|
/** ECDSA signature components. */
|
|
17
17
|
readonly signature: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
18
18
|
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.">]>;
|
|
@@ -28,7 +28,7 @@ export declare const CreateSubAccountRequest: v.SchemaWithPipe<readonly [v.Objec
|
|
|
28
28
|
v: 27 | 28;
|
|
29
29
|
}, "ECDSA signature components.">]>;
|
|
30
30
|
/** Expiration time of the action. */
|
|
31
|
-
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.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>, v.DescriptionAction<number | undefined, "Expiration time of the action.">]>;
|
|
31
|
+
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.">]>;
|
|
32
32
|
}, undefined>, v.DescriptionAction<{
|
|
33
33
|
action: {
|
|
34
34
|
type: "createSubAccount";
|
|
@@ -10,9 +10,9 @@ export declare const CreateVaultRequest: v.SchemaWithPipe<readonly [v.ObjectSche
|
|
|
10
10
|
/** Vault description. */
|
|
11
11
|
readonly description: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 10, undefined>, v.MaxLengthAction<string, 250, undefined>, v.DescriptionAction<string, "Vault description.">]>;
|
|
12
12
|
/** Initial balance (float * 1e6). */
|
|
13
|
-
readonly initialUsd: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.ToNumberAction<string | number, undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.MinValueAction<number, number, undefined>, v.DescriptionAction<number, "Initial balance (float * 1e6).">]>;
|
|
13
|
+
readonly initialUsd: 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.MinValueAction<number, number, undefined>, v.DescriptionAction<number, "Initial balance (float * 1e6).">]>;
|
|
14
14
|
/** Nonce (timestamp in ms) used to prevent replay attacks. */
|
|
15
|
-
readonly nonce: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.ToNumberAction<string | number, undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Nonce (timestamp in ms) used to prevent replay attacks.">]>;
|
|
15
|
+
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.">]>;
|
|
16
16
|
}, undefined>, v.DescriptionAction<{
|
|
17
17
|
type: "createVault";
|
|
18
18
|
name: string;
|
|
@@ -21,7 +21,7 @@ export declare const CreateVaultRequest: v.SchemaWithPipe<readonly [v.ObjectSche
|
|
|
21
21
|
nonce: number;
|
|
22
22
|
}, "Action to perform.">]>;
|
|
23
23
|
/** Nonce (timestamp in ms) used to prevent replay attacks. */
|
|
24
|
-
readonly nonce: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.ToNumberAction<string | number, undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Nonce (timestamp in ms) used to prevent replay attacks.">]>;
|
|
24
|
+
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.">]>;
|
|
25
25
|
/** ECDSA signature components. */
|
|
26
26
|
readonly signature: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
27
27
|
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.">]>;
|
|
@@ -37,7 +37,7 @@ export declare const CreateVaultRequest: v.SchemaWithPipe<readonly [v.ObjectSche
|
|
|
37
37
|
v: 27 | 28;
|
|
38
38
|
}, "ECDSA signature components.">]>;
|
|
39
39
|
/** Expiration time of the action. */
|
|
40
|
-
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.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>, v.DescriptionAction<number | undefined, "Expiration time of the action.">]>;
|
|
40
|
+
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.">]>;
|
|
41
41
|
}, undefined>, v.DescriptionAction<{
|
|
42
42
|
action: {
|
|
43
43
|
type: "createVault";
|
|
@@ -97,9 +97,9 @@ declare const CreateVaultParameters: Omit<v.ObjectSchema<{
|
|
|
97
97
|
/** Vault description. */
|
|
98
98
|
readonly description: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 10, undefined>, v.MaxLengthAction<string, 250, undefined>, v.DescriptionAction<string, "Vault description.">]>;
|
|
99
99
|
/** Initial balance (float * 1e6). */
|
|
100
|
-
readonly initialUsd: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.ToNumberAction<string | number, undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.MinValueAction<number, number, undefined>, v.DescriptionAction<number, "Initial balance (float * 1e6).">]>;
|
|
100
|
+
readonly initialUsd: 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.MinValueAction<number, number, undefined>, v.DescriptionAction<number, "Initial balance (float * 1e6).">]>;
|
|
101
101
|
/** Nonce (timestamp in ms) used to prevent replay attacks. */
|
|
102
|
-
readonly nonce: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.ToNumberAction<string | number, undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Nonce (timestamp in ms) used to prevent replay attacks.">]>;
|
|
102
|
+
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.">]>;
|
|
103
103
|
}, undefined>, "entries" | "~types" | "~run" | "~standard"> & {
|
|
104
104
|
readonly entries: Omit<{
|
|
105
105
|
/** Type of action. */
|
|
@@ -109,9 +109,9 @@ declare const CreateVaultParameters: Omit<v.ObjectSchema<{
|
|
|
109
109
|
/** Vault description. */
|
|
110
110
|
readonly description: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 10, undefined>, v.MaxLengthAction<string, 250, undefined>, v.DescriptionAction<string, "Vault description.">]>;
|
|
111
111
|
/** Initial balance (float * 1e6). */
|
|
112
|
-
readonly initialUsd: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.ToNumberAction<string | number, undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.MinValueAction<number, number, undefined>, v.DescriptionAction<number, "Initial balance (float * 1e6).">]>;
|
|
112
|
+
readonly initialUsd: 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.MinValueAction<number, number, undefined>, v.DescriptionAction<number, "Initial balance (float * 1e6).">]>;
|
|
113
113
|
/** Nonce (timestamp in ms) used to prevent replay attacks. */
|
|
114
|
-
readonly nonce: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.ToNumberAction<string | number, undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Nonce (timestamp in ms) used to prevent replay attacks.">]>;
|
|
114
|
+
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.">]>;
|
|
115
115
|
}, "type">;
|
|
116
116
|
readonly "~standard": v.StandardProps<{
|
|
117
117
|
name: string;
|
|
@@ -15,7 +15,7 @@ export declare const EvmUserModifyRequest: v.SchemaWithPipe<readonly [v.ObjectSc
|
|
|
15
15
|
usingBigBlocks: boolean;
|
|
16
16
|
}, "Action to perform.">]>;
|
|
17
17
|
/** Nonce (timestamp in ms) used to prevent replay attacks. */
|
|
18
|
-
readonly nonce: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.ToNumberAction<string | number, undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Nonce (timestamp in ms) used to prevent replay attacks.">]>;
|
|
18
|
+
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.">]>;
|
|
19
19
|
/** ECDSA signature components. */
|
|
20
20
|
readonly signature: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
21
21
|
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.">]>;
|
|
@@ -31,7 +31,7 @@ export declare const EvmUserModifyRequest: v.SchemaWithPipe<readonly [v.ObjectSc
|
|
|
31
31
|
v: 27 | 28;
|
|
32
32
|
}, "ECDSA signature components.">]>;
|
|
33
33
|
/** Expiration time of the action. */
|
|
34
|
-
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.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>, v.DescriptionAction<number | undefined, "Expiration time of the action.">]>;
|
|
34
|
+
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.">]>;
|
|
35
35
|
}, undefined>, v.DescriptionAction<{
|
|
36
36
|
action: {
|
|
37
37
|
type: "evmUserModify";
|
|
@@ -25,7 +25,7 @@ export declare const LinkStakingUserRequest: v.SchemaWithPipe<readonly [v.Object
|
|
|
25
25
|
*/
|
|
26
26
|
readonly isFinalize: v.SchemaWithPipe<readonly [v.BooleanSchema<undefined>, v.DescriptionAction<boolean, string>]>;
|
|
27
27
|
/** Nonce (timestamp in ms) used to prevent replay attacks. */
|
|
28
|
-
readonly nonce: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.ToNumberAction<string | number, undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Nonce (timestamp in ms) used to prevent replay attacks.">]>;
|
|
28
|
+
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.">]>;
|
|
29
29
|
}, undefined>, v.DescriptionAction<{
|
|
30
30
|
type: "linkStakingUser";
|
|
31
31
|
signatureChainId: `0x${string}`;
|
|
@@ -35,7 +35,7 @@ export declare const LinkStakingUserRequest: v.SchemaWithPipe<readonly [v.Object
|
|
|
35
35
|
nonce: number;
|
|
36
36
|
}, "Action to perform.">]>;
|
|
37
37
|
/** Nonce (timestamp in ms) used to prevent replay attacks. */
|
|
38
|
-
readonly nonce: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.ToNumberAction<string | number, undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Nonce (timestamp in ms) used to prevent replay attacks.">]>;
|
|
38
|
+
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.">]>;
|
|
39
39
|
/** ECDSA signature components. */
|
|
40
40
|
readonly signature: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
41
41
|
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.">]>;
|
|
@@ -122,7 +122,7 @@ declare const LinkStakingUserParameters: Omit<v.ObjectSchema<{
|
|
|
122
122
|
*/
|
|
123
123
|
readonly isFinalize: v.SchemaWithPipe<readonly [v.BooleanSchema<undefined>, v.DescriptionAction<boolean, string>]>;
|
|
124
124
|
/** Nonce (timestamp in ms) used to prevent replay attacks. */
|
|
125
|
-
readonly nonce: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.ToNumberAction<string | number, undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Nonce (timestamp in ms) used to prevent replay attacks.">]>;
|
|
125
|
+
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.">]>;
|
|
126
126
|
}, undefined>, "entries" | "~types" | "~run" | "~standard"> & {
|
|
127
127
|
readonly entries: Omit<{
|
|
128
128
|
/** Type of action. */
|
|
@@ -144,7 +144,7 @@ declare const LinkStakingUserParameters: Omit<v.ObjectSchema<{
|
|
|
144
144
|
*/
|
|
145
145
|
readonly isFinalize: v.SchemaWithPipe<readonly [v.BooleanSchema<undefined>, v.DescriptionAction<boolean, string>]>;
|
|
146
146
|
/** Nonce (timestamp in ms) used to prevent replay attacks. */
|
|
147
|
-
readonly nonce: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.ToNumberAction<string | number, undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Nonce (timestamp in ms) used to prevent replay attacks.">]>;
|
|
147
|
+
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.">]>;
|
|
148
148
|
}, "type" | "nonce" | "signatureChainId" | "hyperliquidChain">;
|
|
149
149
|
readonly "~standard": v.StandardProps<{
|
|
150
150
|
user: string;
|
|
@@ -9,17 +9,17 @@ export declare const ModifyRequest: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
|
9
9
|
/** Type of action. */
|
|
10
10
|
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"modify", undefined>, v.DescriptionAction<"modify", "Type of action.">]>;
|
|
11
11
|
/** Order ID or Client Order ID. */
|
|
12
|
-
readonly oid: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.ToNumberAction<string | number, undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 34, undefined>]>], undefined>, v.DescriptionAction<number | `0x${string}`, "Order ID or Client Order ID.">]>;
|
|
12
|
+
readonly oid: v.SchemaWithPipe<readonly [v.UnionSchema<[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.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 34, undefined>]>], undefined>, v.DescriptionAction<number | `0x${string}`, "Order ID or Client Order ID.">]>;
|
|
13
13
|
/** New order parameters. */
|
|
14
14
|
readonly order: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
15
15
|
/** Asset ID. */
|
|
16
|
-
readonly a: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.ToNumberAction<string | number, undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Asset ID.">]>;
|
|
16
|
+
readonly a: 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, "Asset ID.">]>;
|
|
17
17
|
/** Position side (`true` for long, `false` for short). */
|
|
18
18
|
readonly b: v.SchemaWithPipe<readonly [v.BooleanSchema<undefined>, v.DescriptionAction<boolean, "Position side (`true` for long, `false` for short).">]>;
|
|
19
19
|
/** Price. */
|
|
20
|
-
readonly p: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.ToStringAction<string | number, undefined>, v.TransformAction<string, string>, v.RegexAction<string, undefined>]>, v.CheckAction<string, "Value must be greater than zero.">, v.DescriptionAction<string, "Price.">]>;
|
|
20
|
+
readonly p: 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.CheckAction<string, "Value must be greater than zero.">, v.DescriptionAction<string, "Price.">]>;
|
|
21
21
|
/** Size (in base currency units). */
|
|
22
|
-
readonly s: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.ToStringAction<string | number, undefined>, v.TransformAction<string, string>, v.RegexAction<string, undefined>]>, v.DescriptionAction<string, "Size (in base currency units).">]>;
|
|
22
|
+
readonly s: 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, "Size (in base currency units).">]>;
|
|
23
23
|
/** Is reduce-only? */
|
|
24
24
|
readonly r: v.SchemaWithPipe<readonly [v.BooleanSchema<undefined>, v.DescriptionAction<boolean, "Is reduce-only?">]>;
|
|
25
25
|
/** Order type (`limit` for limit orders, `trigger` for stop-loss/take-profit orders). */
|
|
@@ -44,7 +44,7 @@ export declare const ModifyRequest: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
|
44
44
|
/** Is market order? */
|
|
45
45
|
readonly isMarket: v.SchemaWithPipe<readonly [v.BooleanSchema<undefined>, v.DescriptionAction<boolean, "Is market order?">]>;
|
|
46
46
|
/** Trigger price. */
|
|
47
|
-
readonly triggerPx: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.ToStringAction<string | number, undefined>, v.TransformAction<string, string>, v.RegexAction<string, undefined>]>, v.CheckAction<string, "Value must be greater than zero.">, v.DescriptionAction<string, "Trigger price.">]>;
|
|
47
|
+
readonly triggerPx: 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.CheckAction<string, "Value must be greater than zero.">, v.DescriptionAction<string, "Trigger price.">]>;
|
|
48
48
|
/** Indicates whether it is take profit or stop loss. */
|
|
49
49
|
readonly tpsl: v.SchemaWithPipe<readonly [v.PicklistSchema<["tp", "sl"], undefined>, v.DescriptionAction<"tp" | "sl", "Indicates whether it is take profit or stop loss.">]>;
|
|
50
50
|
}, undefined>, v.DescriptionAction<{
|
|
@@ -108,7 +108,7 @@ export declare const ModifyRequest: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
|
108
108
|
};
|
|
109
109
|
}, "Action to perform.">]>;
|
|
110
110
|
/** Nonce (timestamp in ms) used to prevent replay attacks. */
|
|
111
|
-
readonly nonce: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.ToNumberAction<string | number, undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Nonce (timestamp in ms) used to prevent replay attacks.">]>;
|
|
111
|
+
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.">]>;
|
|
112
112
|
/** ECDSA signature components. */
|
|
113
113
|
readonly signature: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
114
114
|
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.">]>;
|
|
@@ -126,7 +126,7 @@ export declare const ModifyRequest: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
|
126
126
|
/** Vault address (for vault trading). */
|
|
127
127
|
readonly vaultAddress: v.SchemaWithPipe<readonly [v.OptionalSchema<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}` | undefined, "Vault address (for vault trading).">]>;
|
|
128
128
|
/** Expiration time of the action. */
|
|
129
|
-
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.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>, v.DescriptionAction<number | undefined, "Expiration time of the action.">]>;
|
|
129
|
+
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.">]>;
|
|
130
130
|
}, undefined>, v.DescriptionAction<{
|
|
131
131
|
action: {
|
|
132
132
|
type: "modify";
|
|
@@ -200,17 +200,17 @@ declare const ModifyParameters: Omit<v.ObjectSchema<{
|
|
|
200
200
|
/** Type of action. */
|
|
201
201
|
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"modify", undefined>, v.DescriptionAction<"modify", "Type of action.">]>;
|
|
202
202
|
/** Order ID or Client Order ID. */
|
|
203
|
-
readonly oid: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.ToNumberAction<string | number, undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 34, undefined>]>], undefined>, v.DescriptionAction<number | `0x${string}`, "Order ID or Client Order ID.">]>;
|
|
203
|
+
readonly oid: v.SchemaWithPipe<readonly [v.UnionSchema<[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.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 34, undefined>]>], undefined>, v.DescriptionAction<number | `0x${string}`, "Order ID or Client Order ID.">]>;
|
|
204
204
|
/** New order parameters. */
|
|
205
205
|
readonly order: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
206
206
|
/** Asset ID. */
|
|
207
|
-
readonly a: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.ToNumberAction<string | number, undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Asset ID.">]>;
|
|
207
|
+
readonly a: 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, "Asset ID.">]>;
|
|
208
208
|
/** Position side (`true` for long, `false` for short). */
|
|
209
209
|
readonly b: v.SchemaWithPipe<readonly [v.BooleanSchema<undefined>, v.DescriptionAction<boolean, "Position side (`true` for long, `false` for short).">]>;
|
|
210
210
|
/** Price. */
|
|
211
|
-
readonly p: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.ToStringAction<string | number, undefined>, v.TransformAction<string, string>, v.RegexAction<string, undefined>]>, v.CheckAction<string, "Value must be greater than zero.">, v.DescriptionAction<string, "Price.">]>;
|
|
211
|
+
readonly p: 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.CheckAction<string, "Value must be greater than zero.">, v.DescriptionAction<string, "Price.">]>;
|
|
212
212
|
/** Size (in base currency units). */
|
|
213
|
-
readonly s: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.ToStringAction<string | number, undefined>, v.TransformAction<string, string>, v.RegexAction<string, undefined>]>, v.DescriptionAction<string, "Size (in base currency units).">]>;
|
|
213
|
+
readonly s: 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, "Size (in base currency units).">]>;
|
|
214
214
|
/** Is reduce-only? */
|
|
215
215
|
readonly r: v.SchemaWithPipe<readonly [v.BooleanSchema<undefined>, v.DescriptionAction<boolean, "Is reduce-only?">]>;
|
|
216
216
|
/** Order type (`limit` for limit orders, `trigger` for stop-loss/take-profit orders). */
|
|
@@ -235,7 +235,7 @@ declare const ModifyParameters: Omit<v.ObjectSchema<{
|
|
|
235
235
|
/** Is market order? */
|
|
236
236
|
readonly isMarket: v.SchemaWithPipe<readonly [v.BooleanSchema<undefined>, v.DescriptionAction<boolean, "Is market order?">]>;
|
|
237
237
|
/** Trigger price. */
|
|
238
|
-
readonly triggerPx: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.ToStringAction<string | number, undefined>, v.TransformAction<string, string>, v.RegexAction<string, undefined>]>, v.CheckAction<string, "Value must be greater than zero.">, v.DescriptionAction<string, "Trigger price.">]>;
|
|
238
|
+
readonly triggerPx: 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.CheckAction<string, "Value must be greater than zero.">, v.DescriptionAction<string, "Trigger price.">]>;
|
|
239
239
|
/** Indicates whether it is take profit or stop loss. */
|
|
240
240
|
readonly tpsl: v.SchemaWithPipe<readonly [v.PicklistSchema<["tp", "sl"], undefined>, v.DescriptionAction<"tp" | "sl", "Indicates whether it is take profit or stop loss.">]>;
|
|
241
241
|
}, undefined>, v.DescriptionAction<{
|
|
@@ -280,17 +280,17 @@ declare const ModifyParameters: Omit<v.ObjectSchema<{
|
|
|
280
280
|
/** Type of action. */
|
|
281
281
|
readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"modify", undefined>, v.DescriptionAction<"modify", "Type of action.">]>;
|
|
282
282
|
/** Order ID or Client Order ID. */
|
|
283
|
-
readonly oid: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.ToNumberAction<string | number, undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 34, undefined>]>], undefined>, v.DescriptionAction<number | `0x${string}`, "Order ID or Client Order ID.">]>;
|
|
283
|
+
readonly oid: v.SchemaWithPipe<readonly [v.UnionSchema<[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.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 34, undefined>]>], undefined>, v.DescriptionAction<number | `0x${string}`, "Order ID or Client Order ID.">]>;
|
|
284
284
|
/** New order parameters. */
|
|
285
285
|
readonly order: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
286
286
|
/** Asset ID. */
|
|
287
|
-
readonly a: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.ToNumberAction<string | number, undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Asset ID.">]>;
|
|
287
|
+
readonly a: 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, "Asset ID.">]>;
|
|
288
288
|
/** Position side (`true` for long, `false` for short). */
|
|
289
289
|
readonly b: v.SchemaWithPipe<readonly [v.BooleanSchema<undefined>, v.DescriptionAction<boolean, "Position side (`true` for long, `false` for short).">]>;
|
|
290
290
|
/** Price. */
|
|
291
|
-
readonly p: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.ToStringAction<string | number, undefined>, v.TransformAction<string, string>, v.RegexAction<string, undefined>]>, v.CheckAction<string, "Value must be greater than zero.">, v.DescriptionAction<string, "Price.">]>;
|
|
291
|
+
readonly p: 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.CheckAction<string, "Value must be greater than zero.">, v.DescriptionAction<string, "Price.">]>;
|
|
292
292
|
/** Size (in base currency units). */
|
|
293
|
-
readonly s: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.ToStringAction<string | number, undefined>, v.TransformAction<string, string>, v.RegexAction<string, undefined>]>, v.DescriptionAction<string, "Size (in base currency units).">]>;
|
|
293
|
+
readonly s: 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, "Size (in base currency units).">]>;
|
|
294
294
|
/** Is reduce-only? */
|
|
295
295
|
readonly r: v.SchemaWithPipe<readonly [v.BooleanSchema<undefined>, v.DescriptionAction<boolean, "Is reduce-only?">]>;
|
|
296
296
|
/** Order type (`limit` for limit orders, `trigger` for stop-loss/take-profit orders). */
|
|
@@ -315,7 +315,7 @@ declare const ModifyParameters: Omit<v.ObjectSchema<{
|
|
|
315
315
|
/** Is market order? */
|
|
316
316
|
readonly isMarket: v.SchemaWithPipe<readonly [v.BooleanSchema<undefined>, v.DescriptionAction<boolean, "Is market order?">]>;
|
|
317
317
|
/** Trigger price. */
|
|
318
|
-
readonly triggerPx: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.ToStringAction<string | number, undefined>, v.TransformAction<string, string>, v.RegexAction<string, undefined>]>, v.CheckAction<string, "Value must be greater than zero.">, v.DescriptionAction<string, "Trigger price.">]>;
|
|
318
|
+
readonly triggerPx: 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.CheckAction<string, "Value must be greater than zero.">, v.DescriptionAction<string, "Trigger price.">]>;
|
|
319
319
|
/** Indicates whether it is take profit or stop loss. */
|
|
320
320
|
readonly tpsl: v.SchemaWithPipe<readonly [v.PicklistSchema<["tp", "sl"], undefined>, v.DescriptionAction<"tp" | "sl", "Indicates whether it is take profit or stop loss.">]>;
|
|
321
321
|
}, undefined>, v.DescriptionAction<{
|
|
@@ -12,7 +12,7 @@ export declare const NoopRequest: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
|
12
12
|
type: "noop";
|
|
13
13
|
}, "Action to perform.">]>;
|
|
14
14
|
/** Nonce (timestamp in ms) used to prevent replay attacks. */
|
|
15
|
-
readonly nonce: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.ToNumberAction<string | number, undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Nonce (timestamp in ms) used to prevent replay attacks.">]>;
|
|
15
|
+
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.">]>;
|
|
16
16
|
/** ECDSA signature components. */
|
|
17
17
|
readonly signature: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
18
18
|
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.">]>;
|
|
@@ -28,7 +28,7 @@ export declare const NoopRequest: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
|
28
28
|
v: 27 | 28;
|
|
29
29
|
}, "ECDSA signature components.">]>;
|
|
30
30
|
/** Expiration time of the action. */
|
|
31
|
-
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.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>, v.DescriptionAction<number | undefined, "Expiration time of the action.">]>;
|
|
31
|
+
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.">]>;
|
|
32
32
|
}, undefined>, v.DescriptionAction<{
|
|
33
33
|
action: {
|
|
34
34
|
type: "noop";
|