ault-sdk-ts 0.4.2 → 0.6.0
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/dist/core/clob-gas.d.ts +1 -0
- package/dist/core/clob-msgs.d.ts +19 -2
- package/dist/core/clob-responses.d.ts +2 -1
- package/dist/core/gas-limits-fetcher.d.ts +14 -0
- package/dist/core/manifest-resolver.d.ts +2 -1
- package/dist/core/manifest-types.d.ts +2 -0
- package/dist/core/network.d.ts +7 -6
- package/dist/eip712/msg.generated.d.ts +16 -7
- package/dist/high-level/types.d.ts +63 -3
- package/dist/high-level-client.d.ts +1 -1
- package/dist/index.cjs +3413 -1239
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +3414 -1241
- package/dist/index.js.map +1 -1
- package/dist/proto/gen/ault/accountx/v1/query.d.ts +20 -0
- package/dist/proto/gen/ault/accountx/v1/tx.d.ts +37 -0
- package/dist/proto/gen/ault/clob/v1/fee.d.ts +17 -1
- package/dist/proto/gen/ault/clob/v1/genesis.d.ts +9 -0
- package/dist/proto/gen/ault/clob/v1/query.d.ts +19 -1
- package/dist/proto/gen/ault/clob/v1/twap.d.ts +61 -0
- package/dist/proto/gen/ault/clob/v1/tx.d.ts +44 -0
- package/dist/proto/gen/ault/license/v1/tx.d.ts +9 -0
- package/dist/proto/gen/ault/market/v1/tx.d.ts +9 -0
- package/dist/proto/gen/ault/miner/v1/miner.d.ts +8 -1
- package/dist/proto/gen/ault/reward/v1/genesis.d.ts +10 -1
- package/dist/proto/gen/ault/reward/v1/query.d.ts +27 -1
- package/dist/proto/gen/ault/reward/v1/reward.d.ts +30 -0
- package/dist/proto/gen/ault/reward/v1/tx.d.ts +46 -1
- package/dist/proto/gen/ault/spot/v1/order.d.ts +2 -0
- package/dist/rest/clob.d.ts +9 -3
- package/dist/rest/dex-types.generated.d.ts +9 -6
- package/dist/rest/dex.generated.d.ts +8 -2
- package/package.json +1 -1
- package/dist/proto/gen/ault/common/v1/system.d.ts +0 -31
- package/dist/proto/gen/ault/systemtx/v1/genesis.d.ts +0 -37
package/dist/core/clob-gas.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ import { type GAS_CONSTANTS } from "./network";
|
|
|
7
7
|
type Gas = typeof GAS_CONSTANTS;
|
|
8
8
|
export declare function limitOrderGas(gas: Gas): string;
|
|
9
9
|
export declare function marketOrderGas(gas: Gas): string;
|
|
10
|
+
export declare function twapOrderGas(gas: Gas): string;
|
|
10
11
|
export declare function scaleOrderGas(gas: Gas, subOrderCount: number): string;
|
|
11
12
|
export declare function cancelOrdersGas(gas: Gas, orderCount: number): string;
|
|
12
13
|
/** Modify gas: per-order minimum with no base (chain `MinGasPerModifyOrder`). */
|
package/dist/core/clob-msgs.d.ts
CHANGED
|
@@ -5,10 +5,27 @@ export declare function buildLimitOrderMsg(sender: string, params: {
|
|
|
5
5
|
quantity: string;
|
|
6
6
|
deadline: Date;
|
|
7
7
|
postOnly?: boolean;
|
|
8
|
+
timeInForce?: "ioc";
|
|
8
9
|
builderAddress?: string;
|
|
9
10
|
builderFeeRate?: string;
|
|
10
11
|
cloid?: Uint8Array;
|
|
11
|
-
}): import("../index.js").Eip712Msg<Omit<import("../proto/gen/ault/clob/v1/tx").MsgPlaceLimitOrder, "builderFeeRate" | "cloid" | "postOnly" | "builderAddress"> & Partial<Pick<import("../proto/gen/ault/clob/v1/tx").MsgPlaceLimitOrder, "builderFeeRate" | "cloid" | "postOnly" | "builderAddress">>, "/ault.clob.v1.MsgPlaceLimitOrder">;
|
|
12
|
+
}): import("../index.js").Eip712Msg<Omit<import("../proto/gen/ault/clob/v1/tx").MsgPlaceLimitOrder, "builderFeeRate" | "cloid" | "postOnly" | "timeInForce" | "builderAddress"> & Partial<Pick<import("../proto/gen/ault/clob/v1/tx").MsgPlaceLimitOrder, "builderFeeRate" | "cloid" | "postOnly" | "timeInForce" | "builderAddress">>, "/ault.clob.v1.MsgPlaceLimitOrder">;
|
|
13
|
+
/**
|
|
14
|
+
* TWAP order (chain v2.1.0+). `deadline` is the absolute end of the execution
|
|
15
|
+
* window; the chain runs one slice every 30s until then. `totalDeposit` must
|
|
16
|
+
* be ≥ 10× the market's minimum quote value.
|
|
17
|
+
*/
|
|
18
|
+
export declare function buildTwapOrderMsg(sender: string, params: {
|
|
19
|
+
marketId: Uint8Array;
|
|
20
|
+
isBuy: boolean;
|
|
21
|
+
totalDeposit: string;
|
|
22
|
+
deadline: Date;
|
|
23
|
+
worstPrice?: string;
|
|
24
|
+
priceTolerance?: string;
|
|
25
|
+
builderAddress?: string;
|
|
26
|
+
builderFeeRate?: string;
|
|
27
|
+
cloid?: Uint8Array;
|
|
28
|
+
}): import("../index.js").Eip712Msg<Omit<import("../proto/gen/ault/clob/v1/tx").MsgPlaceTwapOrder, "builderFeeRate" | "worstPrice" | "priceTolerance" | "cloid" | "builderAddress"> & Partial<Pick<import("../proto/gen/ault/clob/v1/tx").MsgPlaceTwapOrder, "builderFeeRate" | "worstPrice" | "priceTolerance" | "cloid" | "builderAddress">>, "/ault.clob.v1.MsgPlaceTwapOrder">;
|
|
12
29
|
export declare function buildMarketOrderMsg(sender: string, params: {
|
|
13
30
|
marketId: Uint8Array;
|
|
14
31
|
isBuy: boolean;
|
|
@@ -18,7 +35,7 @@ export declare function buildMarketOrderMsg(sender: string, params: {
|
|
|
18
35
|
builderAddress?: string;
|
|
19
36
|
builderFeeRate?: string;
|
|
20
37
|
cloid?: Uint8Array;
|
|
21
|
-
}): import("../index.js").Eip712Msg<Omit<import("../proto/gen/ault/clob/v1/tx").MsgPlaceMarketOrder, "builderFeeRate" | "
|
|
38
|
+
}): import("../index.js").Eip712Msg<Omit<import("../proto/gen/ault/clob/v1/tx").MsgPlaceMarketOrder, "builderFeeRate" | "worstPrice" | "priceTolerance" | "cloid" | "builderAddress"> & Partial<Pick<import("../proto/gen/ault/clob/v1/tx").MsgPlaceMarketOrder, "builderFeeRate" | "worstPrice" | "priceTolerance" | "cloid" | "builderAddress">>, "/ault.clob.v1.MsgPlaceMarketOrder">;
|
|
22
39
|
/** Each `orderIds` entry may be an 8-byte cloid or a 16-byte chain order_id. */
|
|
23
40
|
export declare function buildCancelOrdersMsg(sender: string, orderIds: Uint8Array[]): import("../index.js").Eip712Msg<import("../proto/gen/ault/clob/v1/tx").MsgCancelOrders, "/ault.clob.v1.MsgCancelOrders">;
|
|
24
41
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { PlaceOrderResult, PlaceScaleOrderResult, CancelOrdersResult, ModifyOrdersResult, TxResult } from "../high-level/types";
|
|
1
|
+
import type { PlaceOrderResult, PlaceScaleOrderResult, PlaceTwapOrderResult, CancelOrdersResult, ModifyOrdersResult, TxResult } from "../high-level/types";
|
|
2
2
|
type MsgResponse = {
|
|
3
3
|
typeUrl: string;
|
|
4
4
|
value: Uint8Array;
|
|
@@ -14,6 +14,7 @@ type MsgResponse = {
|
|
|
14
14
|
export declare function withWaitDecode<R extends TxResult>(wait: boolean | undefined, run: (wait: boolean) => Promise<TxResult>, decode: (msgResponses: MsgResponse[] | undefined, base: TxResult) => R): Promise<TxResult | R>;
|
|
15
15
|
export declare const decodeLimitOrderResult: (msgResponses: MsgResponse[] | undefined, base: TxResult) => PlaceOrderResult;
|
|
16
16
|
export declare const decodeMarketOrderResult: (msgResponses: MsgResponse[] | undefined, base: TxResult) => PlaceOrderResult;
|
|
17
|
+
export declare function decodeTwapOrderResult(msgResponses: MsgResponse[] | undefined, base: TxResult): PlaceTwapOrderResult;
|
|
17
18
|
export declare function decodeScaleOrderResult(msgResponses: MsgResponse[] | undefined, base: TxResult): PlaceScaleOrderResult;
|
|
18
19
|
export declare function decodeModifyOrdersResult(msgResponses: MsgResponse[] | undefined, base: TxResult): ModifyOrdersResult;
|
|
19
20
|
export declare function decodeCancelOrdersResult(msgResponses: MsgResponse[] | undefined, base: TxResult): CancelOrdersResult;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { type FetchFn, type FetchWithRetryOptions } from "./http";
|
|
2
|
+
import { GAS_CONSTANTS } from "./network";
|
|
3
|
+
type GasKey = keyof typeof GAS_CONSTANTS;
|
|
4
|
+
export type FeeFreeGasOverrides = Partial<Record<GasKey, number>>;
|
|
5
|
+
/**
|
|
6
|
+
* Fetches the chain's fee-free gas limits from
|
|
7
|
+
* `{restUrl}/ault/accountx/v1/fee_free_gas_limits` and maps them onto
|
|
8
|
+
* GAS_CONSTANTS keys, so the SDK tracks each chain's live limits instead of the
|
|
9
|
+
* embedded baseline. Returns the overrides on success, or `null` on any failure
|
|
10
|
+
* (network, non-2xx, parse, schema) — the caller keeps its embedded/last-good
|
|
11
|
+
* values in that case. A `0` base (e.g. MsgModifyOrders) is skipped, not zeroed.
|
|
12
|
+
*/
|
|
13
|
+
export declare function fetchFeeFreeGasLimits(restUrl: string, fetchFn?: FetchFn, fetchOptions?: FetchWithRetryOptions): Promise<FeeFreeGasOverrides | null>;
|
|
14
|
+
export {};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { GAS_CONSTANTS, type NetworkConfig } from "./network";
|
|
2
2
|
import type { FetchFn, FetchWithRetryOptions } from "./http";
|
|
3
|
+
import { type FeeFreeGasOverrides } from "./gas-limits-fetcher";
|
|
3
4
|
import { type Manifest, type ManifestGas } from "./manifest-types";
|
|
4
5
|
/**
|
|
5
6
|
* Sparse field-level merge of two manifests. The right operand wins on every
|
|
@@ -54,7 +55,7 @@ export declare const NON_OVERRIDABLE_GAS_KEYS: readonly ["EIP712_FEE_AMOUNT", "E
|
|
|
54
55
|
* every field has a baseline value, so any key the manifest omits keeps the
|
|
55
56
|
* embedded one.
|
|
56
57
|
*/
|
|
57
|
-
export declare function applyGasOverrides(gas: ManifestGas | undefined): typeof GAS_CONSTANTS;
|
|
58
|
+
export declare function applyGasOverrides(gas: ManifestGas | undefined, chainOverrides?: FeeFreeGasOverrides): typeof GAS_CONSTANTS;
|
|
58
59
|
export interface ManifestResolverOptions {
|
|
59
60
|
network: NetworkConfig;
|
|
60
61
|
fetchFn?: FetchFn;
|
|
@@ -22,6 +22,7 @@ export declare const ManifestGasSchema: z.ZodObject<{
|
|
|
22
22
|
SET_REFERRAL: z.ZodOptional<z.ZodNumber>;
|
|
23
23
|
LIMIT_ORDER: z.ZodOptional<z.ZodNumber>;
|
|
24
24
|
MARKET_ORDER: z.ZodOptional<z.ZodNumber>;
|
|
25
|
+
TWAP_ORDER: z.ZodOptional<z.ZodNumber>;
|
|
25
26
|
SCALE_ORDER_BASE: z.ZodOptional<z.ZodNumber>;
|
|
26
27
|
SCALE_ORDER_PER_SUB: z.ZodOptional<z.ZodNumber>;
|
|
27
28
|
CANCEL_ORDER_BASE: z.ZodOptional<z.ZodNumber>;
|
|
@@ -74,6 +75,7 @@ export declare const ManifestSchema: z.ZodObject<{
|
|
|
74
75
|
SET_REFERRAL: z.ZodOptional<z.ZodNumber>;
|
|
75
76
|
LIMIT_ORDER: z.ZodOptional<z.ZodNumber>;
|
|
76
77
|
MARKET_ORDER: z.ZodOptional<z.ZodNumber>;
|
|
78
|
+
TWAP_ORDER: z.ZodOptional<z.ZodNumber>;
|
|
77
79
|
SCALE_ORDER_BASE: z.ZodOptional<z.ZodNumber>;
|
|
78
80
|
SCALE_ORDER_PER_SUB: z.ZodOptional<z.ZodNumber>;
|
|
79
81
|
CANCEL_ORDER_BASE: z.ZodOptional<z.ZodNumber>;
|
package/dist/core/network.d.ts
CHANGED
|
@@ -51,13 +51,14 @@ export declare const GAS_CONSTANTS: {
|
|
|
51
51
|
readonly REVOKE_BUILDER: 57000;
|
|
52
52
|
readonly SET_REFERRAL_CODE: 76000;
|
|
53
53
|
readonly SET_REFERRAL: 80000;
|
|
54
|
-
readonly LIMIT_ORDER:
|
|
55
|
-
readonly MARKET_ORDER:
|
|
56
|
-
readonly
|
|
54
|
+
readonly LIMIT_ORDER: 133000;
|
|
55
|
+
readonly MARKET_ORDER: 124000;
|
|
56
|
+
readonly TWAP_ORDER: 135000;
|
|
57
|
+
readonly SCALE_ORDER_BASE: 122000;
|
|
57
58
|
readonly SCALE_ORDER_PER_SUB: 13000;
|
|
58
|
-
readonly CANCEL_ORDER_BASE:
|
|
59
|
-
readonly CANCEL_ORDER_PER_ID:
|
|
60
|
-
readonly MODIFY_ORDER_PER_ID:
|
|
59
|
+
readonly CANCEL_ORDER_BASE: 52000;
|
|
60
|
+
readonly CANCEL_ORDER_PER_ID: 24000;
|
|
61
|
+
readonly MODIFY_ORDER_PER_ID: 130000;
|
|
61
62
|
readonly OPEN_ACCOUNT: 96000;
|
|
62
63
|
readonly DELEGATE: 220000;
|
|
63
64
|
readonly UNDELEGATE: 220000;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import type { Eip712Msg } from "./builder";
|
|
2
|
-
import type { MsgOpenAccount, MsgUpdateParams as MsgUpdateParamsAultAccountxV1 } from "../proto/gen/ault/accountx/v1/tx";
|
|
2
|
+
import type { MsgOpenAccount, MsgUpdateFeeTiers, MsgUpdateParams as MsgUpdateParamsAultAccountxV1, MsgUpdateTradingTiers } from "../proto/gen/ault/accountx/v1/tx";
|
|
3
3
|
import type { MsgApproveAgent, MsgRevokeAgent, MsgUpdateParams as MsgUpdateParamsAultAgentV1 } from "../proto/gen/ault/agent/v1/tx";
|
|
4
4
|
import type { MsgGrantRole, MsgRevokeRole } from "../proto/gen/ault/authority/v1/tx";
|
|
5
|
-
import type { ModifyOrder, MsgCancelOrders, MsgModifyOrders, MsgPlaceLimitOrder, MsgPlaceMarketOrder, MsgPlaceScaleOrder, MsgUpdateParams as MsgUpdateParamsAultClobV1 } from "../proto/gen/ault/clob/v1/tx";
|
|
5
|
+
import type { ModifyOrder, MsgCancelOrders, MsgModifyOrders, MsgPlaceLimitOrder, MsgPlaceMarketOrder, MsgPlaceScaleOrder, MsgPlaceTwapOrder, MsgUpdateParams as MsgUpdateParamsAultClobV1 } from "../proto/gen/ault/clob/v1/tx";
|
|
6
6
|
import type { MsgApproveMember, MsgBatchApproveMember, MsgBatchMintLicense, MsgBatchRevokeMember, MsgBurnLicense, MsgMintLicense, MsgRevokeLicense, MsgRevokeMember, MsgSetKYCApprovers, MsgSetMinters, MsgSetTokenURI, MsgTransferLicense, MsgUpdateParams as MsgUpdateParamsAultLicenseV1 } from "../proto/gen/ault/license/v1/tx";
|
|
7
|
-
import type { MsgCreateMarket, MsgHaltAllMarkets, MsgHaltMarkets, MsgResumeAllMarkets, MsgResumeMarkets, MsgUpdateMarket, MsgUpdateParams as MsgUpdateParamsAultMarketV1 } from "../proto/gen/ault/market/v1/tx";
|
|
7
|
+
import type { MsgCreateMarket, MsgHaltAllMarkets, MsgHaltMarkets, MsgResumeAllMarkets, MsgResumeMarkets, MsgUpdateMarket, MsgUpdateMarketDeployer, MsgUpdateParams as MsgUpdateParamsAultMarketV1 } from "../proto/gen/ault/market/v1/tx";
|
|
8
8
|
import type { MsgBatchSubmitWork, MsgCancelMiningDelegation, MsgDelegateMining, MsgRedelegateMining, MsgRegisterOperator, MsgSetOwnerVrfKey, MsgSubmitWork, MsgUnregisterOperator, MsgUpdateOperatorInfo, MsgUpdateParams as MsgUpdateParamsAultMinerV1, WorkSubmission } from "../proto/gen/ault/miner/v1/tx";
|
|
9
9
|
import type { MsgUpdateParams as MsgUpdateParamsAultRatelimitV1 } from "../proto/gen/ault/ratelimit/v1/tx";
|
|
10
|
-
import type { MsgApproveBuilder, MsgRevokeBuilder, MsgSetDeployerShare, MsgSetReferral, MsgSetReferralCode, MsgUpdateEligibleReferrers, MsgUpdateParams as MsgUpdateParamsAultRewardV1 } from "../proto/gen/ault/reward/v1/tx";
|
|
10
|
+
import type { MsgApproveBuilder, MsgRevokeBuilder, MsgSetDeployerShare, MsgSetReferral, MsgSetReferralCode, MsgUpdateEligibleReferrers, MsgUpdateFeeTierDiscounts, MsgUpdateParams as MsgUpdateParamsAultRewardV1, MsgUpdateRefereeDiscountRate, MsgUpdateTradingTierBenefits } from "../proto/gen/ault/reward/v1/tx";
|
|
11
11
|
import type { TransferLimitConfig } from "../proto/gen/ault/tokenregistry/v1/tokenregistry";
|
|
12
12
|
import type { MsgDisableTokenPair, MsgDisableTransfers, MsgEnableTokenPair, MsgEnableTransfers, MsgRegisterTokenPair, MsgRemoveTransferLimit, MsgSetTransferLimit } from "../proto/gen/ault/tokenregistry/v1/tx";
|
|
13
13
|
import type { MsgWithdrawDelegatorReward } from "../proto/gen/cosmos/distribution/v1beta1/tx";
|
|
@@ -23,20 +23,24 @@ type MsgCreateMarketInput = Omit<MsgCreateMarket, "makerFeeRate" | "takerFeeRate
|
|
|
23
23
|
type MsgModifyOrdersInput = Omit<MsgModifyOrders, "orders"> & {
|
|
24
24
|
orders: ModifyOrderInput[];
|
|
25
25
|
};
|
|
26
|
-
type MsgPlaceLimitOrderInput = Omit<MsgPlaceLimitOrder, "builderAddress" | "builderFeeRate" | "cloid" | "postOnly"> & Partial<Pick<MsgPlaceLimitOrder, "builderAddress" | "builderFeeRate" | "cloid" | "postOnly">>;
|
|
26
|
+
type MsgPlaceLimitOrderInput = Omit<MsgPlaceLimitOrder, "builderAddress" | "builderFeeRate" | "cloid" | "postOnly" | "timeInForce"> & Partial<Pick<MsgPlaceLimitOrder, "builderAddress" | "builderFeeRate" | "cloid" | "postOnly" | "timeInForce">>;
|
|
27
27
|
type MsgPlaceMarketOrderInput = Omit<MsgPlaceMarketOrder, "builderAddress" | "builderFeeRate" | "cloid" | "priceTolerance" | "worstPrice"> & Partial<Pick<MsgPlaceMarketOrder, "builderAddress" | "builderFeeRate" | "cloid" | "priceTolerance" | "worstPrice">>;
|
|
28
28
|
type MsgPlaceScaleOrderInput = Omit<MsgPlaceScaleOrder, "builderAddress" | "builderFeeRate" | "postOnly"> & Partial<Pick<MsgPlaceScaleOrder, "builderAddress" | "builderFeeRate" | "postOnly">>;
|
|
29
|
+
type MsgPlaceTwapOrderInput = Omit<MsgPlaceTwapOrder, "builderAddress" | "builderFeeRate" | "cloid" | "priceTolerance" | "worstPrice"> & Partial<Pick<MsgPlaceTwapOrder, "builderAddress" | "builderFeeRate" | "cloid" | "priceTolerance" | "worstPrice">>;
|
|
29
30
|
type MsgRegisterOperatorInput = Omit<MsgRegisterOperator, "commissionRecipient"> & Partial<Pick<MsgRegisterOperator, "commissionRecipient">>;
|
|
30
31
|
type MsgRegisterTokenPairInput = Omit<MsgRegisterTokenPair, "transferLimit"> & Partial<Pick<MsgRegisterTokenPair, "transferLimit">>;
|
|
31
32
|
type MsgSetTransferLimitInput = Omit<MsgSetTransferLimit, "transferLimit"> & {
|
|
32
33
|
transferLimit: TransferLimitConfigInput;
|
|
33
34
|
};
|
|
34
35
|
type MsgSubmitWorkInput = Omit<MsgSubmitWork, "nonce"> & Partial<Pick<MsgSubmitWork, "nonce">>;
|
|
36
|
+
type MsgTransferLicenseInput = Omit<MsgTransferLicense, "openAccountFeeDenom"> & Partial<Pick<MsgTransferLicense, "openAccountFeeDenom">>;
|
|
35
37
|
type MsgUpdateOperatorInfoInput = Omit<MsgUpdateOperatorInfo, "newCommissionRecipient"> & Partial<Pick<MsgUpdateOperatorInfo, "newCommissionRecipient">>;
|
|
36
38
|
export declare const msg: {
|
|
37
39
|
readonly accountx: {
|
|
38
40
|
readonly openAccount: (value: MsgOpenAccount) => Eip712Msg<MsgOpenAccount, "/ault.accountx.v1.MsgOpenAccount">;
|
|
41
|
+
readonly updateFeeTiers: (value: MsgUpdateFeeTiers) => Eip712Msg<MsgUpdateFeeTiers, "/ault.accountx.v1.MsgUpdateFeeTiers">;
|
|
39
42
|
readonly updateParams: (value: MsgUpdateParamsAultAccountxV1) => Eip712Msg<MsgUpdateParamsAultAccountxV1, "/ault.accountx.v1.MsgUpdateParams">;
|
|
43
|
+
readonly updateTradingTiers: (value: MsgUpdateTradingTiers) => Eip712Msg<MsgUpdateTradingTiers, "/ault.accountx.v1.MsgUpdateTradingTiers">;
|
|
40
44
|
};
|
|
41
45
|
readonly agent: {
|
|
42
46
|
readonly approveAgent: (value: MsgApproveAgentInput) => Eip712Msg<MsgApproveAgentInput, "/ault.agent.v1.MsgApproveAgent">;
|
|
@@ -53,6 +57,7 @@ export declare const msg: {
|
|
|
53
57
|
readonly placeLimitOrder: (value: MsgPlaceLimitOrderInput) => Eip712Msg<MsgPlaceLimitOrderInput, "/ault.clob.v1.MsgPlaceLimitOrder">;
|
|
54
58
|
readonly placeMarketOrder: (value: MsgPlaceMarketOrderInput) => Eip712Msg<MsgPlaceMarketOrderInput, "/ault.clob.v1.MsgPlaceMarketOrder">;
|
|
55
59
|
readonly placeScaleOrder: (value: MsgPlaceScaleOrderInput) => Eip712Msg<MsgPlaceScaleOrderInput, "/ault.clob.v1.MsgPlaceScaleOrder">;
|
|
60
|
+
readonly placeTwapOrder: (value: MsgPlaceTwapOrderInput) => Eip712Msg<MsgPlaceTwapOrderInput, "/ault.clob.v1.MsgPlaceTwapOrder">;
|
|
56
61
|
readonly updateParams: (value: MsgUpdateParamsAultClobV1) => Eip712Msg<MsgUpdateParamsAultClobV1, "/ault.clob.v1.MsgUpdateParams">;
|
|
57
62
|
};
|
|
58
63
|
readonly distribution: {
|
|
@@ -70,7 +75,7 @@ export declare const msg: {
|
|
|
70
75
|
readonly setKYCApprovers: (value: MsgSetKYCApprovers) => Eip712Msg<MsgSetKYCApprovers, "/ault.license.v1.MsgSetKYCApprovers">;
|
|
71
76
|
readonly setMinters: (value: MsgSetMinters) => Eip712Msg<MsgSetMinters, "/ault.license.v1.MsgSetMinters">;
|
|
72
77
|
readonly setTokenURI: (value: MsgSetTokenURI) => Eip712Msg<MsgSetTokenURI, "/ault.license.v1.MsgSetTokenURI">;
|
|
73
|
-
readonly transferLicense: (value:
|
|
78
|
+
readonly transferLicense: (value: MsgTransferLicenseInput) => Eip712Msg<MsgTransferLicenseInput, "/ault.license.v1.MsgTransferLicense">;
|
|
74
79
|
readonly updateParams: (value: MsgUpdateParamsAultLicenseV1) => Eip712Msg<MsgUpdateParamsAultLicenseV1, "/ault.license.v1.MsgUpdateParams">;
|
|
75
80
|
};
|
|
76
81
|
readonly market: {
|
|
@@ -80,6 +85,7 @@ export declare const msg: {
|
|
|
80
85
|
readonly resumeAllMarkets: (value: MsgResumeAllMarkets) => Eip712Msg<MsgResumeAllMarkets, "/ault.market.v1.MsgResumeAllMarkets">;
|
|
81
86
|
readonly resumeMarkets: (value: MsgResumeMarkets) => Eip712Msg<MsgResumeMarkets, "/ault.market.v1.MsgResumeMarkets">;
|
|
82
87
|
readonly updateMarket: (value: MsgUpdateMarket) => Eip712Msg<MsgUpdateMarket, "/ault.market.v1.MsgUpdateMarket">;
|
|
88
|
+
readonly updateMarketDeployer: (value: MsgUpdateMarketDeployer) => Eip712Msg<MsgUpdateMarketDeployer, "/ault.market.v1.MsgUpdateMarketDeployer">;
|
|
83
89
|
readonly updateParams: (value: MsgUpdateParamsAultMarketV1) => Eip712Msg<MsgUpdateParamsAultMarketV1, "/ault.market.v1.MsgUpdateParams">;
|
|
84
90
|
};
|
|
85
91
|
readonly miner: {
|
|
@@ -104,7 +110,10 @@ export declare const msg: {
|
|
|
104
110
|
readonly setReferral: (value: MsgSetReferral) => Eip712Msg<MsgSetReferral, "/ault.reward.v1.MsgSetReferral">;
|
|
105
111
|
readonly setReferralCode: (value: MsgSetReferralCode) => Eip712Msg<MsgSetReferralCode, "/ault.reward.v1.MsgSetReferralCode">;
|
|
106
112
|
readonly updateEligibleReferrers: (value: MsgUpdateEligibleReferrers) => Eip712Msg<MsgUpdateEligibleReferrers, "/ault.reward.v1.MsgUpdateEligibleReferrers">;
|
|
113
|
+
readonly updateFeeTierDiscounts: (value: MsgUpdateFeeTierDiscounts) => Eip712Msg<MsgUpdateFeeTierDiscounts, "/ault.reward.v1.MsgUpdateFeeTierDiscounts">;
|
|
107
114
|
readonly updateParams: (value: MsgUpdateParamsAultRewardV1) => Eip712Msg<MsgUpdateParamsAultRewardV1, "/ault.reward.v1.MsgUpdateParams">;
|
|
115
|
+
readonly updateRefereeDiscountRate: (value: MsgUpdateRefereeDiscountRate) => Eip712Msg<MsgUpdateRefereeDiscountRate, "/ault.reward.v1.MsgUpdateRefereeDiscountRate">;
|
|
116
|
+
readonly updateTradingTierBenefits: (value: MsgUpdateTradingTierBenefits) => Eip712Msg<MsgUpdateTradingTierBenefits, "/ault.reward.v1.MsgUpdateTradingTierBenefits">;
|
|
108
117
|
};
|
|
109
118
|
readonly staking: {
|
|
110
119
|
readonly beginRedelegate: (value: MsgBeginRedelegate) => Eip712Msg<MsgBeginRedelegate, "/cosmos.staking.v1beta1.MsgBeginRedelegate">;
|
|
@@ -121,5 +130,5 @@ export declare const msg: {
|
|
|
121
130
|
readonly setTransferLimit: (value: MsgSetTransferLimitInput) => Eip712Msg<MsgSetTransferLimitInput, "/ault.tokenregistry.v1.MsgSetTransferLimit">;
|
|
122
131
|
};
|
|
123
132
|
};
|
|
124
|
-
export type AnyEip712Msg = Eip712Msg<MsgOpenAccount, "/ault.accountx.v1.MsgOpenAccount"> | Eip712Msg<MsgUpdateParamsAultAccountxV1, "/ault.accountx.v1.MsgUpdateParams"> | Eip712Msg<MsgApproveAgentInput, "/ault.agent.v1.MsgApproveAgent"> | Eip712Msg<MsgRevokeAgent, "/ault.agent.v1.MsgRevokeAgent"> | Eip712Msg<MsgUpdateParamsAultAgentV1, "/ault.agent.v1.MsgUpdateParams"> | Eip712Msg<MsgGrantRole, "/ault.authority.v1.MsgGrantRole"> | Eip712Msg<MsgRevokeRole, "/ault.authority.v1.MsgRevokeRole"> | Eip712Msg<MsgCancelOrders, "/ault.clob.v1.MsgCancelOrders"> | Eip712Msg<MsgModifyOrdersInput, "/ault.clob.v1.MsgModifyOrders"> | Eip712Msg<MsgPlaceLimitOrderInput, "/ault.clob.v1.MsgPlaceLimitOrder"> | Eip712Msg<MsgPlaceMarketOrderInput, "/ault.clob.v1.MsgPlaceMarketOrder"> | Eip712Msg<MsgPlaceScaleOrderInput, "/ault.clob.v1.MsgPlaceScaleOrder"> | Eip712Msg<MsgUpdateParamsAultClobV1, "/ault.clob.v1.MsgUpdateParams"> | Eip712Msg<MsgApproveMember, "/ault.license.v1.MsgApproveMember"> | Eip712Msg<MsgBatchApproveMember, "/ault.license.v1.MsgBatchApproveMember"> | Eip712Msg<MsgBatchMintLicense, "/ault.license.v1.MsgBatchMintLicense"> | Eip712Msg<MsgBatchRevokeMember, "/ault.license.v1.MsgBatchRevokeMember"> | Eip712Msg<MsgBurnLicense, "/ault.license.v1.MsgBurnLicense"> | Eip712Msg<MsgMintLicense, "/ault.license.v1.MsgMintLicense"> | Eip712Msg<MsgRevokeLicense, "/ault.license.v1.MsgRevokeLicense"> | Eip712Msg<MsgRevokeMember, "/ault.license.v1.MsgRevokeMember"> | Eip712Msg<MsgSetKYCApprovers, "/ault.license.v1.MsgSetKYCApprovers"> | Eip712Msg<MsgSetMinters, "/ault.license.v1.MsgSetMinters"> | Eip712Msg<MsgSetTokenURI, "/ault.license.v1.MsgSetTokenURI"> | Eip712Msg<
|
|
133
|
+
export type AnyEip712Msg = Eip712Msg<MsgOpenAccount, "/ault.accountx.v1.MsgOpenAccount"> | Eip712Msg<MsgUpdateFeeTiers, "/ault.accountx.v1.MsgUpdateFeeTiers"> | Eip712Msg<MsgUpdateParamsAultAccountxV1, "/ault.accountx.v1.MsgUpdateParams"> | Eip712Msg<MsgUpdateTradingTiers, "/ault.accountx.v1.MsgUpdateTradingTiers"> | Eip712Msg<MsgApproveAgentInput, "/ault.agent.v1.MsgApproveAgent"> | Eip712Msg<MsgRevokeAgent, "/ault.agent.v1.MsgRevokeAgent"> | Eip712Msg<MsgUpdateParamsAultAgentV1, "/ault.agent.v1.MsgUpdateParams"> | Eip712Msg<MsgGrantRole, "/ault.authority.v1.MsgGrantRole"> | Eip712Msg<MsgRevokeRole, "/ault.authority.v1.MsgRevokeRole"> | Eip712Msg<MsgCancelOrders, "/ault.clob.v1.MsgCancelOrders"> | Eip712Msg<MsgModifyOrdersInput, "/ault.clob.v1.MsgModifyOrders"> | Eip712Msg<MsgPlaceLimitOrderInput, "/ault.clob.v1.MsgPlaceLimitOrder"> | Eip712Msg<MsgPlaceMarketOrderInput, "/ault.clob.v1.MsgPlaceMarketOrder"> | Eip712Msg<MsgPlaceScaleOrderInput, "/ault.clob.v1.MsgPlaceScaleOrder"> | Eip712Msg<MsgPlaceTwapOrderInput, "/ault.clob.v1.MsgPlaceTwapOrder"> | Eip712Msg<MsgUpdateParamsAultClobV1, "/ault.clob.v1.MsgUpdateParams"> | Eip712Msg<MsgApproveMember, "/ault.license.v1.MsgApproveMember"> | Eip712Msg<MsgBatchApproveMember, "/ault.license.v1.MsgBatchApproveMember"> | Eip712Msg<MsgBatchMintLicense, "/ault.license.v1.MsgBatchMintLicense"> | Eip712Msg<MsgBatchRevokeMember, "/ault.license.v1.MsgBatchRevokeMember"> | Eip712Msg<MsgBurnLicense, "/ault.license.v1.MsgBurnLicense"> | Eip712Msg<MsgMintLicense, "/ault.license.v1.MsgMintLicense"> | Eip712Msg<MsgRevokeLicense, "/ault.license.v1.MsgRevokeLicense"> | Eip712Msg<MsgRevokeMember, "/ault.license.v1.MsgRevokeMember"> | Eip712Msg<MsgSetKYCApprovers, "/ault.license.v1.MsgSetKYCApprovers"> | Eip712Msg<MsgSetMinters, "/ault.license.v1.MsgSetMinters"> | Eip712Msg<MsgSetTokenURI, "/ault.license.v1.MsgSetTokenURI"> | Eip712Msg<MsgTransferLicenseInput, "/ault.license.v1.MsgTransferLicense"> | Eip712Msg<MsgUpdateParamsAultLicenseV1, "/ault.license.v1.MsgUpdateParams"> | Eip712Msg<MsgCreateMarketInput, "/ault.market.v1.MsgCreateMarket"> | Eip712Msg<MsgHaltAllMarkets, "/ault.market.v1.MsgHaltAllMarkets"> | Eip712Msg<MsgHaltMarkets, "/ault.market.v1.MsgHaltMarkets"> | Eip712Msg<MsgResumeAllMarkets, "/ault.market.v1.MsgResumeAllMarkets"> | Eip712Msg<MsgResumeMarkets, "/ault.market.v1.MsgResumeMarkets"> | Eip712Msg<MsgUpdateMarket, "/ault.market.v1.MsgUpdateMarket"> | Eip712Msg<MsgUpdateMarketDeployer, "/ault.market.v1.MsgUpdateMarketDeployer"> | Eip712Msg<MsgUpdateParamsAultMarketV1, "/ault.market.v1.MsgUpdateParams"> | Eip712Msg<MsgBatchSubmitWorkInput, "/ault.miner.v1.MsgBatchSubmitWork"> | Eip712Msg<MsgCancelMiningDelegation, "/ault.miner.v1.MsgCancelMiningDelegation"> | Eip712Msg<MsgDelegateMining, "/ault.miner.v1.MsgDelegateMining"> | Eip712Msg<MsgRedelegateMining, "/ault.miner.v1.MsgRedelegateMining"> | Eip712Msg<MsgRegisterOperatorInput, "/ault.miner.v1.MsgRegisterOperator"> | Eip712Msg<MsgSetOwnerVrfKey, "/ault.miner.v1.MsgSetOwnerVrfKey"> | Eip712Msg<MsgSubmitWorkInput, "/ault.miner.v1.MsgSubmitWork"> | Eip712Msg<MsgUnregisterOperator, "/ault.miner.v1.MsgUnregisterOperator"> | Eip712Msg<MsgUpdateOperatorInfoInput, "/ault.miner.v1.MsgUpdateOperatorInfo"> | Eip712Msg<MsgUpdateParamsAultMinerV1, "/ault.miner.v1.MsgUpdateParams"> | Eip712Msg<MsgUpdateParamsAultRatelimitV1, "/ault.ratelimit.v1.MsgUpdateParams"> | Eip712Msg<MsgApproveBuilder, "/ault.reward.v1.MsgApproveBuilder"> | Eip712Msg<MsgRevokeBuilder, "/ault.reward.v1.MsgRevokeBuilder"> | Eip712Msg<MsgSetDeployerShare, "/ault.reward.v1.MsgSetDeployerShare"> | Eip712Msg<MsgSetReferral, "/ault.reward.v1.MsgSetReferral"> | Eip712Msg<MsgSetReferralCode, "/ault.reward.v1.MsgSetReferralCode"> | Eip712Msg<MsgUpdateEligibleReferrers, "/ault.reward.v1.MsgUpdateEligibleReferrers"> | Eip712Msg<MsgUpdateFeeTierDiscounts, "/ault.reward.v1.MsgUpdateFeeTierDiscounts"> | Eip712Msg<MsgUpdateParamsAultRewardV1, "/ault.reward.v1.MsgUpdateParams"> | Eip712Msg<MsgUpdateRefereeDiscountRate, "/ault.reward.v1.MsgUpdateRefereeDiscountRate"> | Eip712Msg<MsgUpdateTradingTierBenefits, "/ault.reward.v1.MsgUpdateTradingTierBenefits"> | Eip712Msg<MsgDisableTokenPair, "/ault.tokenregistry.v1.MsgDisableTokenPair"> | Eip712Msg<MsgDisableTransfers, "/ault.tokenregistry.v1.MsgDisableTransfers"> | Eip712Msg<MsgEnableTokenPair, "/ault.tokenregistry.v1.MsgEnableTokenPair"> | Eip712Msg<MsgEnableTransfers, "/ault.tokenregistry.v1.MsgEnableTransfers"> | Eip712Msg<MsgRegisterTokenPairInput, "/ault.tokenregistry.v1.MsgRegisterTokenPair"> | Eip712Msg<MsgRemoveTransferLimit, "/ault.tokenregistry.v1.MsgRemoveTransferLimit"> | Eip712Msg<MsgSetTransferLimitInput, "/ault.tokenregistry.v1.MsgSetTransferLimit"> | Eip712Msg<MsgWithdrawDelegatorReward, "/cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward"> | Eip712Msg<MsgBeginRedelegate, "/cosmos.staking.v1beta1.MsgBeginRedelegate"> | Eip712Msg<MsgDelegate, "/cosmos.staking.v1beta1.MsgDelegate"> | Eip712Msg<MsgUndelegate, "/cosmos.staking.v1beta1.MsgUndelegate">;
|
|
125
134
|
export {};
|
|
@@ -16,7 +16,7 @@ import type { RateLimitApi } from "../rest/ratelimit";
|
|
|
16
16
|
import type { RewardApi } from "../rest/reward";
|
|
17
17
|
import type { StakingApi } from "../rest/staking";
|
|
18
18
|
import type { TokenRegistryApi } from "../rest/tokenregistry";
|
|
19
|
-
import type { OrderResponse as ChainOrderResponse } from "../proto/gen/ault/clob/v1/query";
|
|
19
|
+
import type { OrderResponse as ChainOrderResponse, TwapOrderResult } from "../proto/gen/ault/clob/v1/query";
|
|
20
20
|
import type { OrderResponse as DexOrderResponse } from "../rest/dex.generated";
|
|
21
21
|
import type { License } from "../proto/gen/ault/license/v1/license";
|
|
22
22
|
import type { Params as AgentParams } from "../proto/gen/ault/agent/v1/params";
|
|
@@ -163,6 +163,13 @@ export type PlaceOrderResult = TxResult & {
|
|
|
163
163
|
cloid?: string;
|
|
164
164
|
escrowedAmount?: Coin;
|
|
165
165
|
};
|
|
166
|
+
/** TWAP order result when `wait: true`. `twapId` is the 16-byte parent id in hex. */
|
|
167
|
+
export type PlaceTwapOrderResult = TxResult & {
|
|
168
|
+
twapId: string;
|
|
169
|
+
numSlices: number;
|
|
170
|
+
cloid?: string;
|
|
171
|
+
escrowedAmount?: Coin;
|
|
172
|
+
};
|
|
166
173
|
/** Scale order result when `wait: true`. */
|
|
167
174
|
export type PlaceScaleOrderResult = TxResult & {
|
|
168
175
|
orders: Array<{
|
|
@@ -209,6 +216,13 @@ export interface LicenseTxApi {
|
|
|
209
216
|
licenseId: BigIntLike;
|
|
210
217
|
to: string;
|
|
211
218
|
reason?: string;
|
|
219
|
+
/**
|
|
220
|
+
* If set (chain v2.1.0+), the recipient's accountx account is opened as
|
|
221
|
+
* part of the transfer, with the sender paying the activation fee in
|
|
222
|
+
* this denom (must be in accountx `allowed_fees`). No-op if the
|
|
223
|
+
* recipient's account is already open.
|
|
224
|
+
*/
|
|
225
|
+
openAccountFeeDenom?: string;
|
|
212
226
|
} & TxOptions): Promise<TxResult>;
|
|
213
227
|
burnLicense(params: {
|
|
214
228
|
licenseId: BigIntLike;
|
|
@@ -368,6 +382,33 @@ export type LimitOrderParams = {
|
|
|
368
382
|
quantity: string;
|
|
369
383
|
deadline: Date;
|
|
370
384
|
postOnly?: boolean;
|
|
385
|
+
/**
|
|
386
|
+
* `"ioc"` = immediate-or-cancel (chain v2.1.0+): any unfilled remainder is
|
|
387
|
+
* canceled with close reason `ioc_canceled` instead of resting. Omitted =
|
|
388
|
+
* good-till-time (the `deadline` still applies and is required either way).
|
|
389
|
+
* Mutually exclusive with `postOnly` — the chain rejects the combination.
|
|
390
|
+
*/
|
|
391
|
+
timeInForce?: "ioc";
|
|
392
|
+
builderAddress?: string;
|
|
393
|
+
builderFeeRate?: string;
|
|
394
|
+
/** Optional 8-byte client order id. Omitted from the signed payload when absent. */
|
|
395
|
+
cloid?: Uint8Array;
|
|
396
|
+
};
|
|
397
|
+
/**
|
|
398
|
+
* TWAP order (chain v2.1.0+). The chain splits `totalDeposit` into equal
|
|
399
|
+
* slices executed as market orders every 30s (fixed interval) until
|
|
400
|
+
* `deadline`; `numSlices` in the result = window / 30s. `totalDeposit` must be
|
|
401
|
+
* at least 10× the market's minimum quote value. `worstPrice` /
|
|
402
|
+
* `priceTolerance` optionally guard each slice like a market order's.
|
|
403
|
+
*/
|
|
404
|
+
export type TwapOrderParams = {
|
|
405
|
+
marketId: Uint8Array;
|
|
406
|
+
isBuy: boolean;
|
|
407
|
+
totalDeposit: string;
|
|
408
|
+
/** Absolute end of the execution window (not a duration). */
|
|
409
|
+
deadline: Date;
|
|
410
|
+
worstPrice?: string;
|
|
411
|
+
priceTolerance?: string;
|
|
371
412
|
builderAddress?: string;
|
|
372
413
|
builderFeeRate?: string;
|
|
373
414
|
/** Optional 8-byte client order id. Omitted from the signed payload when absent. */
|
|
@@ -452,6 +493,13 @@ export interface ClobTxApi {
|
|
|
452
493
|
wait?: false;
|
|
453
494
|
} & TxOptions): Promise<TxResult>;
|
|
454
495
|
placeScaleOrder(params: ScaleOrderParams & OrderWaitOption & TxOptions): Promise<TxResult | PlaceScaleOrderResult>;
|
|
496
|
+
placeTwapOrder(params: TwapOrderParams & {
|
|
497
|
+
wait: true;
|
|
498
|
+
} & TxOptions): Promise<PlaceTwapOrderResult>;
|
|
499
|
+
placeTwapOrder(params: TwapOrderParams & {
|
|
500
|
+
wait?: false;
|
|
501
|
+
} & TxOptions): Promise<TxResult>;
|
|
502
|
+
placeTwapOrder(params: TwapOrderParams & OrderWaitOption & TxOptions): Promise<TxResult | PlaceTwapOrderResult>;
|
|
455
503
|
updateClobParams(params: {
|
|
456
504
|
params: ClobParams;
|
|
457
505
|
} & TxOptions): Promise<TxResult>;
|
|
@@ -577,8 +625,10 @@ export interface ParallelQueryApi {
|
|
|
577
625
|
* Result of a chain-first cloid lookup ({@link CloidLookupApi.findOrderByCloid}).
|
|
578
626
|
* The two read surfaces return different shapes, so the source is tagged:
|
|
579
627
|
*
|
|
580
|
-
* - `source: "chain"` — live order from the node's CLOB state; `order` is
|
|
581
|
-
* proto {@link ChainOrderResponse}.
|
|
628
|
+
* - `source: "chain"` — live resting order from the node's CLOB state; `order` is
|
|
629
|
+
* the chain proto {@link ChainOrderResponse}.
|
|
630
|
+
* - `source: "chain-twap"` — the cloid resolved to a live TWAP order; `order` is
|
|
631
|
+
* the chain proto {@link TwapOrderResult} (parent order + slice schedule).
|
|
582
632
|
* - `source: "dex"` — chain had no live match, answered by the indexed dex-api;
|
|
583
633
|
* `order` is the dex REST {@link DexOrderResponse} DTO (`clientOrderId` is hex).
|
|
584
634
|
* - `source: "none"` — neither leg found an order for this cloid.
|
|
@@ -586,6 +636,9 @@ export interface ParallelQueryApi {
|
|
|
586
636
|
export type CloidOrder = {
|
|
587
637
|
source: "chain";
|
|
588
638
|
order: ChainOrderResponse;
|
|
639
|
+
} | {
|
|
640
|
+
source: "chain-twap";
|
|
641
|
+
order: TwapOrderResult;
|
|
589
642
|
} | {
|
|
590
643
|
source: "dex";
|
|
591
644
|
order: DexOrderResponse;
|
|
@@ -648,6 +701,13 @@ export interface AgentClobTxApi {
|
|
|
648
701
|
wait?: false;
|
|
649
702
|
} & AgentTxOptions): Promise<TxResult>;
|
|
650
703
|
placeScaleOrder(params: ScaleOrderParams & OrderWaitOption & AgentTxOptions): Promise<TxResult | PlaceScaleOrderResult>;
|
|
704
|
+
placeTwapOrder(params: TwapOrderParams & {
|
|
705
|
+
wait: true;
|
|
706
|
+
} & AgentTxOptions): Promise<PlaceTwapOrderResult>;
|
|
707
|
+
placeTwapOrder(params: TwapOrderParams & {
|
|
708
|
+
wait?: false;
|
|
709
|
+
} & AgentTxOptions): Promise<TxResult>;
|
|
710
|
+
placeTwapOrder(params: TwapOrderParams & OrderWaitOption & AgentTxOptions): Promise<TxResult | PlaceTwapOrderResult>;
|
|
651
711
|
}
|
|
652
712
|
/**
|
|
653
713
|
* Agent identity + agent-signed CLOB tx surface attached to a `Client`.
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export type { AgentClobTxApi, AgentSurface, AgentTxOptions, AttachAgentOptions, Client, ClientOptions, FlexibleSignerInput, TxResult, TxOptions, OrderWaitOption, PlaceOrderResult, PlaceScaleOrderResult, CancelOrdersResult, ModifyOrdersParams, ModifyOrdersResult, CloidOrder, CloidLookupApi, } from "./high-level/types";
|
|
1
|
+
export type { AgentClobTxApi, AgentSurface, AgentTxOptions, AttachAgentOptions, Client, ClientOptions, FlexibleSignerInput, TxResult, TxOptions, OrderWaitOption, PlaceOrderResult, PlaceScaleOrderResult, PlaceTwapOrderResult, TwapOrderParams, CancelOrdersResult, ModifyOrdersParams, ModifyOrdersResult, CloidOrder, CloidLookupApi, } from "./high-level/types";
|
|
2
2
|
export { createClient } from "./high-level/create-client";
|