ault-sdk-ts 0.9.0 → 0.11.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.
Files changed (42) hide show
  1. package/README.md +206 -93
  2. package/dist/agent/attach.d.ts +10 -1
  3. package/dist/agent/sign-and-broadcast.d.ts +1 -1
  4. package/dist/agent/tx/vault.d.ts +11 -0
  5. package/dist/client.d.ts +8 -0
  6. package/dist/core/address.d.ts +6 -0
  7. package/dist/core/clob-msgs.d.ts +9 -0
  8. package/dist/core/lending-gas.d.ts +5 -0
  9. package/dist/core/lending-msgs.d.ts +52 -0
  10. package/dist/core/manifest-types.d.ts +52 -0
  11. package/dist/core/margin-account.d.ts +18 -0
  12. package/dist/core/margin-gas.d.ts +7 -0
  13. package/dist/core/margin-msgs.d.ts +52 -0
  14. package/dist/core/network.d.ts +26 -0
  15. package/dist/core/perpetual-msgs.d.ts +0 -16
  16. package/dist/core/vault-gas.d.ts +8 -0
  17. package/dist/core/vault-msgs.d.ts +150 -0
  18. package/dist/eip712/msg.generated.d.ts +19 -106
  19. package/dist/eip712/registry.d.ts +7 -1
  20. package/dist/high-level/tx/lending.d.ts +3 -0
  21. package/dist/high-level/tx/license.d.ts +1 -1
  22. package/dist/high-level/tx/margin.d.ts +3 -0
  23. package/dist/high-level/tx/vault.d.ts +3 -0
  24. package/dist/high-level/types.d.ts +227 -178
  25. package/dist/index.cjs +16049 -20858
  26. package/dist/index.cjs.map +1 -1
  27. package/dist/index.d.ts +6 -0
  28. package/dist/index.js +15992 -20813
  29. package/dist/index.js.map +1 -1
  30. package/dist/rest/dex-types.generated.d.ts +1 -1
  31. package/dist/rest/dex.d.ts +34 -1
  32. package/dist/rest/lending.d.ts +46 -0
  33. package/dist/rest/margin.d.ts +33 -0
  34. package/dist/rest/oracle.d.ts +19 -0
  35. package/dist/rest/pagination.d.ts +6 -2
  36. package/dist/rest/portfolio.d.ts +52 -5
  37. package/dist/rest/vault.d.ts +26 -0
  38. package/package.json +1 -1
  39. package/dist/high-level/tx/authority.d.ts +0 -3
  40. package/dist/high-level/tx/market.d.ts +0 -3
  41. package/dist/high-level/tx/ratelimit.d.ts +0 -3
  42. package/dist/high-level/tx/tokenregistry.d.ts +0 -3
@@ -0,0 +1,52 @@
1
+ import type { Any } from "../proto/gen/google/protobuf/any";
2
+ import type { Coin } from "../proto/gen/cosmos/base/v1beta1/coin";
3
+ export declare const MARGIN_OPTIONS_TYPE_URL = "/ault.margin.v1.MarginOptions";
4
+ /**
5
+ * Lending-backed funding for a spot order. Every flag defaults to false, which
6
+ * is an isolated order that only spends collateral already in the account.
7
+ */
8
+ export interface MarginOrderOptions {
9
+ /** Fund from the owner's cross-margin account instead of the market's isolated one. */
10
+ cross?: boolean;
11
+ /** Borrow the shortfall between the order's escrow and the account's free collateral. */
12
+ autoBorrow?: boolean;
13
+ /** Apply the order's fill proceeds to same-denom debt. */
14
+ autoRepay?: boolean;
15
+ /** Repay this order's borrow when its reservation is freed by a close, shrink or replace. */
16
+ autoRepayAtCancel?: boolean;
17
+ }
18
+ /**
19
+ * Packs margin funding options into the `options` Any of a clob limit or
20
+ * market order. The order then escrows from the owner's derived margin
21
+ * account (see `marginAccountAddress`) instead of the bank balance. TWAP and
22
+ * scale orders carry no options.
23
+ */
24
+ export declare function packMarginOrderOptions(options: MarginOrderOptions): Any;
25
+ /**
26
+ * Moves coins from the sender's bank balance into a margin account as Lending
27
+ * collateral. Without `marketId` this funds the cross account. Coins may come
28
+ * in any order; they are sent sorted by denom.
29
+ */
30
+ export declare function buildDepositMarginMsg(sender: string, params: {
31
+ amount: Coin[];
32
+ marketId?: Uint8Array;
33
+ }): import("../index.js").Eip712Msg<import("../proto/gen/ault/margin/v1/tx").MsgDepositMargin, "/ault.margin.v1.MsgDepositMargin">;
34
+ /**
35
+ * Withdraws collateral from a margin account back to the bank. The chain
36
+ * refuses a withdrawal that would drop the account below its health bound;
37
+ * the dex-api reports the safe amount per denom as `maxTransferable`.
38
+ */
39
+ export declare function buildWithdrawMarginMsg(sender: string, params: {
40
+ amount: Coin[];
41
+ marketId?: Uint8Array;
42
+ }): import("../index.js").Eip712Msg<import("../proto/gen/ault/margin/v1/tx").MsgWithdrawMargin, "/ault.margin.v1.MsgWithdrawMargin">;
43
+ /** Borrows into a margin account from the margin Lending pool. */
44
+ export declare function buildBorrowMarginMsg(sender: string, params: {
45
+ amount: Coin;
46
+ marketId?: Uint8Array;
47
+ }): import("../index.js").Eip712Msg<import("../proto/gen/ault/margin/v1/tx").MsgBorrowMargin, "/ault.margin.v1.MsgBorrowMargin">;
48
+ /** Repays a margin account's debt out of its own collateral. */
49
+ export declare function buildRepayMarginMsg(sender: string, params: {
50
+ amount: Coin;
51
+ marketId?: Uint8Array;
52
+ }): import("../index.js").Eip712Msg<import("../proto/gen/ault/margin/v1/tx").MsgRepayMargin, "/ault.margin.v1.MsgRepayMargin">;
@@ -66,6 +66,32 @@ export declare const GAS_CONSTANTS: {
66
66
  readonly PERP_WITHDRAW: 250000;
67
67
  readonly PERP_SET_MARGIN_CONFIG: 250000;
68
68
  readonly PERP_MODIFY_POSITION_MARGIN: 250000;
69
+ readonly LENDING_SUPPLY: 122000;
70
+ readonly LENDING_WITHDRAW: 115000;
71
+ readonly LENDING_SUPPLY_COLLATERAL: 110000;
72
+ readonly LENDING_WITHDRAW_COLLATERAL: 240000;
73
+ readonly LENDING_BORROW: 260000;
74
+ readonly LENDING_REPAY: 100000;
75
+ readonly LENDING_LIQUIDATE: 440000;
76
+ readonly LENDING_FUND_INSURANCE_FUND: 150000;
77
+ readonly MARGIN_DEPOSIT_BASE: 88000;
78
+ readonly MARGIN_DEPOSIT_PER_COIN: 46000;
79
+ readonly MARGIN_WITHDRAW_BASE: 74000;
80
+ readonly MARGIN_WITHDRAW_PER_COIN: 180000;
81
+ readonly MARGIN_BORROW: 227000;
82
+ readonly MARGIN_REPAY: 92000;
83
+ readonly VAULT_CREATE_TRADING_BASE: 190000;
84
+ readonly VAULT_CREATE_PER_MARKET: 10000;
85
+ readonly VAULT_CREATE_LENDING_BASE: 124000;
86
+ readonly VAULT_CREATE_PER_LENDING_POOL: 1700;
87
+ readonly VAULT_UPDATE_MANAGER: 130000;
88
+ readonly VAULT_UPDATE_CONFIG: 1650000;
89
+ readonly VAULT_CANCEL_CONFIG_UPDATE: 75000;
90
+ readonly VAULT_SET_STATUS: 78000;
91
+ readonly VAULT_DEPOSIT: 2000000;
92
+ readonly VAULT_REDEEM: 2000000;
93
+ readonly VAULT_TRANSFER: 65000;
94
+ readonly VAULT_REALLOCATE: 145000;
69
95
  readonly DELEGATE: 220000;
70
96
  readonly UNDELEGATE: 260000;
71
97
  readonly BEGIN_REDELEGATE: 400000;
@@ -1,8 +1,5 @@
1
- import { PerpetualMarketConfig } from "../proto/gen/ault/perpetual/v1/perpetual";
2
1
  import type { Any } from "../proto/gen/google/protobuf/any";
3
- export type { PerpetualMarketConfig };
4
2
  export declare const PERPETUAL_ORDER_OPTIONS_TYPE_URL = "/ault.perpetual.v1.PerpetualOrderOptions";
5
- export declare const PERPETUAL_MARKET_CONFIG_TYPE_URL = "/ault.perpetual.v1.PerpetualMarketConfig";
6
3
  /**
7
4
  * Packs perpetual order options into the `options` Any that the clob
8
5
  * place-order messages carry. The chain routes the order to x/perpetual by
@@ -11,19 +8,6 @@ export declare const PERPETUAL_MARKET_CONFIG_TYPE_URL = "/ault.perpetual.v1.Perp
11
8
  export declare function packPerpetualOrderOptions(options: {
12
9
  reduceOnly: boolean;
13
10
  }): Any;
14
- /**
15
- * Packs the `config` Any a perpetual market carries on `MsgCreateMarket` and
16
- * `MsgSetMarketConfig`. x/market requires it for `MARKET_TYPE_PERPETUAL` and
17
- * rejects it on a spot market, and the market type is immutable, so a perp
18
- * market must be created with its config rather than configured afterwards.
19
- *
20
- * The decimal fields (funding rate and caps, mark price bound, notional caps
21
- * and the tiers' caps) take the human-readable cosmos.Dec strings every other
22
- * SDK input uses ("0.0001"); they are scaled to the chain's 18-place integer
23
- * wire form here, the same conversion the msg encoders apply to top-level
24
- * messages.
25
- */
26
- export declare function packPerpetualMarketConfig(config: PerpetualMarketConfig): Any;
27
11
  /**
28
12
  * Moves collateral from the sender's bank balance into their perpetual cross
29
13
  * account. `amount` is an integer string in the collateral denom's base units.
@@ -0,0 +1,8 @@
1
+ import { type GAS_CONSTANTS } from "./network";
2
+ import type { VaultConfigInput } from "./vault-msgs";
3
+ type Gas = typeof GAS_CONSTANTS;
4
+ type VaultGasKey = "VAULT_UPDATE_MANAGER" | "VAULT_UPDATE_CONFIG" | "VAULT_CANCEL_CONFIG_UPDATE" | "VAULT_SET_STATUS" | "VAULT_DEPOSIT" | "VAULT_REDEEM" | "VAULT_TRANSFER" | "VAULT_REALLOCATE";
5
+ export declare function vaultGas(gas: Gas, key: VaultGasKey): string;
6
+ /** A trading vault pays per allowed spot market, a lending vault per pool. */
7
+ export declare function createVaultGas(gas: Gas, config: VaultConfigInput): string;
8
+ export {};
@@ -0,0 +1,150 @@
1
+ import type { Coin } from "../proto/gen/cosmos/base/v1beta1/coin";
2
+ import { type LockupPolicy } from "../proto/gen/ault/vault/v1/vault";
3
+ export type VaultStatusInput = "active" | "paused" | "closed";
4
+ export type VaultFeeInput = {
5
+ type: "none" | "managementDilution" | "performanceExit";
6
+ /** Fee rate in basis points (100 = 1%). */
7
+ rateBps: number;
8
+ };
9
+ /**
10
+ * When depositors may enter and leave. A fund window accepts deposits between
11
+ * the open and close times and redemptions from `redemptionOpenTime` on.
12
+ */
13
+ export type VaultLockupInput = {
14
+ type: "unrestricted";
15
+ } | {
16
+ type: "fundWindow";
17
+ depositOpenTime: Date;
18
+ depositCloseTime: Date;
19
+ redemptionOpenTime: Date;
20
+ };
21
+ export interface LendingVaultConfigInput {
22
+ /** Pools the vault may supply to, with the most it may supply to each (base units). */
23
+ pools: Array<{
24
+ poolId: bigint | number | string;
25
+ supplyCap: string;
26
+ }>;
27
+ /** Order in which deposits are supplied to pools. */
28
+ supplyQueue: Array<bigint | number | string>;
29
+ /** Order in which pools are drawn down to pay redemptions. */
30
+ withdrawalQueue: Array<bigint | number | string>;
31
+ }
32
+ export interface TradingVaultConfigInput {
33
+ allowedActions: Array<"spot" | "lendingLiquidation">;
34
+ spotMarketIds: Uint8Array[];
35
+ lendingPoolIds?: Array<bigint | number | string>;
36
+ /** Share of each fill the manager keeps, in basis points. */
37
+ managerFractionBps?: number;
38
+ /** Close the redeemed share of open positions on every redemption. */
39
+ alwaysCloseOnRedemption?: boolean;
40
+ }
41
+ export type VaultConfigInput = {
42
+ lending: LendingVaultConfigInput;
43
+ } | {
44
+ trading: TradingVaultConfigInput;
45
+ };
46
+ /** x/gov's module account: the only owner x/vault accepts for a parent vault. */
47
+ export declare const GOV_MODULE_ADDRESS = "ault10d07y265gmmuvt4z0w9aw880jnsr700jtfne29";
48
+ /** Whether `address` (bech32 or 0x) is a vault account. */
49
+ export declare function isVaultAddress(address: string): boolean;
50
+ /**
51
+ * Deposits `amount` of the vault's denom and mints shares to the sender.
52
+ * Normal and parent vaults take deposits; a child vault does not.
53
+ */
54
+ export declare function buildVaultDepositMsg(sender: string, params: {
55
+ vaultAddress: string;
56
+ amount: Coin;
57
+ }): import("../index.js").Eip712Msg<import("../proto/gen/ault/vault/v1/tx").MsgDeposit, "/ault.vault.v1.MsgDeposit">;
58
+ /**
59
+ * Redeems `shares` (raw share units, 10^18 per human share). Settles at once
60
+ * when the vault holds enough idle funds, otherwise queues a redemption
61
+ * request the vault unwinds over the following blocks. A child vault has no
62
+ * shares to redeem.
63
+ */
64
+ export declare function buildVaultRedeemMsg(sender: string, params: {
65
+ vaultAddress: string;
66
+ shares: string;
67
+ }): import("../index.js").Eip712Msg<import("../proto/gen/ault/vault/v1/tx").MsgRedeem, "/ault.vault.v1.MsgRedeem">;
68
+ /**
69
+ * Creates a vault owned by `owner`.
70
+ *
71
+ * - A normal vault is owned and, at first, managed by the account that sends
72
+ * it (`manager` defaults to it and may not differ; hand it over later with
73
+ * `updateVaultManager`). A normal trading vault needs `initialDeposit` in
74
+ * its denom, which makes the owner its first depositor.
75
+ * - A parent vault is owned by x/gov (`GOV_MODULE_ADDRESS`), so it can only be
76
+ * created by a governance proposal; `manager` names who runs it.
77
+ * - A child vault is created by its parent vault's account (`owner` is the
78
+ * parent vault, through `attachVaultManager`), with no `manager` and no
79
+ * `lockup`.
80
+ *
81
+ * Lending vaults are always normal. Only a normal trading vault takes an
82
+ * `initialDeposit`. Only the agent path can sign this on chain v3.0.0-rc.2
83
+ * (see `eip712Unsupported` on the registry entry).
84
+ */
85
+ export declare function buildCreateVaultMsg(owner: string, params: {
86
+ vaultDenom: string;
87
+ config: VaultConfigInput;
88
+ lockup?: VaultLockupInput;
89
+ fee: VaultFeeInput;
90
+ initialDeposit?: Coin;
91
+ manager?: string;
92
+ exitFeeBps?: number;
93
+ /** `parent` or `child` for protocol vault trees; default `normal`. */
94
+ relationship?: "normal" | "parent" | "child";
95
+ }): import("../index.js").Eip712Msg<Omit<import("../proto/gen/ault/vault/v1/tx").MsgCreateVault, "lending" | "trading" | "lockup"> & Partial<Pick<import("../proto/gen/ault/vault/v1/tx").MsgCreateVault, "lending" | "trading">> & {
96
+ lockup: Omit<LockupPolicy, "unrestricted" | "fundWindow"> & Partial<Pick<LockupPolicy, "unrestricted" | "fundWindow">>;
97
+ }, "/ault.vault.v1.MsgCreateVault">;
98
+ /**
99
+ * Schedules a new configuration of the vault's own type (a lending config for
100
+ * a lending vault, a trading config for a trading vault). It applies after
101
+ * the chain's config delay; `buildCancelVaultConfigUpdateMsg` drops it before
102
+ * then. Sent by the vault's owner: the user for a normal vault, the parent
103
+ * vault's account for a child. Agent path only on chain v3.0.0-rc.2.
104
+ */
105
+ export declare function buildUpdateVaultConfigMsg(owner: string, params: {
106
+ vaultAddress: string;
107
+ config: VaultConfigInput;
108
+ }): import("../index.js").Eip712Msg<Omit<import("../proto/gen/ault/vault/v1/tx").MsgUpdateVaultConfig, "lending" | "trading"> & Partial<Pick<import("../proto/gen/ault/vault/v1/tx").MsgUpdateVaultConfig, "lending" | "trading">>, "/ault.vault.v1.MsgUpdateVaultConfig">;
109
+ /** Drops a scheduled config update. Sent by the vault's owner. */
110
+ export declare function buildCancelVaultConfigUpdateMsg(owner: string, params: {
111
+ vaultAddress: string;
112
+ }): import("../index.js").Eip712Msg<import("../proto/gen/ault/vault/v1/tx").MsgCancelVaultConfigUpdate, "/ault.vault.v1.MsgCancelVaultConfigUpdate">;
113
+ /**
114
+ * Pauses, resumes or closes a vault. Sent by its owner (the parent vault's
115
+ * account for a child), not its manager; closing cannot be undone.
116
+ */
117
+ export declare function buildSetVaultStatusMsg(sender: string, params: {
118
+ vaultAddress: string;
119
+ status: VaultStatusInput;
120
+ }): import("../index.js").Eip712Msg<import("../proto/gen/ault/vault/v1/tx").MsgSetVaultStatus, "/ault.vault.v1.MsgSetVaultStatus">;
121
+ /**
122
+ * Hands the vault to a new manager. Owner only, and not agent-signable. A
123
+ * child vault has no manager of its own; a normal trading vault's new
124
+ * manager must already hold its `managerFractionBps` of the shares.
125
+ */
126
+ export declare function buildUpdateVaultManagerMsg(owner: string, params: {
127
+ vaultAddress: string;
128
+ manager: string;
129
+ }): import("../index.js").Eip712Msg<import("../proto/gen/ault/vault/v1/tx").MsgUpdateVaultManager, "/ault.vault.v1.MsgUpdateVaultManager">;
130
+ /**
131
+ * Moves capital between a parent vault (`sender`) and one of its child
132
+ * vaults: into the child when `isDeposit`, back to the parent otherwise.
133
+ * `amount` is in the parent's denom. Sent from the parent vault's account,
134
+ * signed by its manager (or the manager's agent) through the agent path.
135
+ */
136
+ export declare function buildVaultTransferMsg(parentVault: string, params: {
137
+ childVault: string;
138
+ amount: Coin;
139
+ isDeposit: boolean;
140
+ }): import("../index.js").Eip712Msg<import("../proto/gen/ault/vault/v1/tx").MsgVaultTransfer, "/ault.vault.v1.MsgVaultTransfer">;
141
+ /**
142
+ * Moves a normal Lending vault's supply from one configured pool to another.
143
+ * Sent from the vault's own account, signed by its manager through the agent
144
+ * path.
145
+ */
146
+ export declare function buildReallocateMsg(vaultAddress: string, params: {
147
+ sourcePoolId: bigint | number | string;
148
+ destinationPoolId: bigint | number | string;
149
+ amount: Coin;
150
+ }): import("../index.js").Eip712Msg<import("../proto/gen/ault/vault/v1/tx").MsgReallocate, "/ault.vault.v1.MsgReallocate">;
@@ -1,30 +1,27 @@
1
1
  import type { Eip712Msg } from "./builder";
2
- import type { MsgOpenAccount, MsgUpdateFeeTiers, MsgUpdateParams as MsgUpdateParamsAultAccountxV1, MsgUpdateTradingTiers } from "../proto/gen/ault/accountx/v1/tx";
3
- import type { MsgApproveAgent, MsgRevokeAgent, MsgUpdateParams as MsgUpdateParamsAultAgentV1 } from "../proto/gen/ault/agent/v1/tx";
4
- import type { MsgGrantRole, MsgRevokeRole } from "../proto/gen/ault/authority/v1/tx";
5
- import type { ModifyOrder, MsgCancelOrders, MsgModifyOrders, MsgPlaceLimitOrder, MsgPlaceMarketOrder, MsgPlaceScaleOrder, MsgPlaceTwapOrder, MsgUpdateParams as MsgUpdateParamsAultClobV1 } from "../proto/gen/ault/clob/v1/tx";
6
- import type { MsgBorrow, MsgCancelAssetUpdates, MsgCreatePool, MsgDisablePoolActions, MsgEnablePoolActions, MsgFundInsuranceFund, MsgLiquidate as MsgLiquidateAultLendingV1, MsgRegisterAssets, MsgRepay, MsgSettleDeficit, MsgSupply, MsgSupplyCollateral, MsgUpdateAssets, MsgUpdateAssetsRisk, MsgUpdateParams as MsgUpdateParamsAultLendingV1, MsgUpdatePool, MsgUpdatePoolOwner, MsgWithdraw as MsgWithdrawAultLendingV1, MsgWithdrawCollateral, MsgWithdrawInsuranceFund, MsgWithdrawProtocolRevenue } from "../proto/gen/ault/lending/v1/tx";
7
- import type { MsgApproveMember, MsgBatchApproveMember, MsgBatchMintLicense, MsgBatchRevokeMember, MsgBurnLicense, MsgMintLicense, MsgRevokeLicense, MsgRevokeMember, MsgSetKYCApprovers, MsgSetMinters, MsgSetTokenURI, MsgTransferLicense, MsgUpdateParams as MsgUpdateParamsAultLicenseV1 } from "../proto/gen/ault/license/v1/tx";
8
- import type { MsgBorrowMargin, MsgDepositMargin, MsgDisableMarginMarket, MsgEnableMarginMarket, MsgRepayMargin, MsgSetMarginLendingPool, MsgUpdateParams as MsgUpdateParamsAultMarginV1, MsgWithdrawMargin } from "../proto/gen/ault/margin/v1/tx";
9
- import type { MsgCreateMarket, MsgHaltAllMarkets, MsgHaltMarkets, MsgResumeAllMarkets, MsgResumeMarkets, MsgSetMarketConfig, MsgUpdateMarket, MsgUpdateMarketDeployer, MsgUpdateParams as MsgUpdateParamsAultMarketV1 } from "../proto/gen/ault/market/v1/tx";
10
- import type { MsgBatchSubmitWork, MsgCancelMiningDelegation, MsgDelegateMining, MsgRedelegateMining, MsgRegisterOperator, MsgSetOwnerVrfKey, MsgSubmitWork, MsgUnregisterOperator, MsgUpdateOperatorInfo, MsgUpdateParams as MsgUpdateParamsAultMinerV1, WorkSubmission } from "../proto/gen/ault/miner/v1/tx";
11
- import type { MsgInjectOraclePrices, MsgRemoveFeed, MsgSetFeed, MsgSetFeedMapping, MsgSetMarketMapping, MsgSetTrustedSigner, MsgUpdateParams as MsgUpdateParamsAultOracleV1 } from "../proto/gen/ault/oracle/v1/tx";
12
- import type { MsgDeposit as MsgDepositAultPerpetualV1, MsgLiquidate as MsgLiquidateAultPerpetualV1, MsgModifyPositionMargin, MsgSetMarginConfig, MsgUpdateParams as MsgUpdateParamsAultPerpetualV1, MsgWithdraw as MsgWithdrawAultPerpetualV1 } from "../proto/gen/ault/perpetual/v1/tx";
13
- import type { MsgUpdateParams as MsgUpdateParamsAultRatelimitV1 } from "../proto/gen/ault/ratelimit/v1/tx";
14
- import type { MsgApproveBuilder, MsgRevokeBuilder, MsgSetDeployerShare, MsgSetReferral, MsgSetReferralCode, MsgUpdateEligibleReferrers, MsgUpdateFeeTierDiscounts, MsgUpdateParams as MsgUpdateParamsAultRewardV1, MsgUpdateRefereeDiscountRate, MsgUpdateTradingTierBenefits } from "../proto/gen/ault/reward/v1/tx";
15
- import type { TransferLimitConfig } from "../proto/gen/ault/tokenregistry/v1/tokenregistry";
16
- import type { MsgDisableTokenPair, MsgDisableTransfers, MsgEnableTokenPair, MsgEnableTransfers, MsgRegisterTokenPair, MsgRemoveTransferLimit, MsgSetTransferLimit } from "../proto/gen/ault/tokenregistry/v1/tx";
17
- import type { MsgCancelVaultConfigUpdate, MsgCreateVault, MsgDeposit as MsgDepositAultVaultV1, MsgReallocate, MsgRedeem, MsgSetOracleFeeds, MsgSetVaultStatus, MsgUpdateParams as MsgUpdateParamsAultVaultV1, MsgUpdateVaultConfig, MsgUpdateVaultManager, MsgVaultTransfer } from "../proto/gen/ault/vault/v1/tx";
2
+ import type { MsgOpenAccount } from "../proto/gen/ault/accountx/v1/tx";
3
+ import type { MsgApproveAgent, MsgRevokeAgent } from "../proto/gen/ault/agent/v1/tx";
4
+ import type { ModifyOrder, MsgCancelOrders, MsgModifyOrders, MsgPlaceLimitOrder, MsgPlaceMarketOrder, MsgPlaceScaleOrder, MsgPlaceTwapOrder } from "../proto/gen/ault/clob/v1/tx";
5
+ import type { MsgBorrow, MsgFundInsuranceFund, MsgLiquidate as MsgLiquidateAultLendingV1, MsgRepay, MsgSupply, MsgSupplyCollateral, MsgWithdraw as MsgWithdrawAultLendingV1, MsgWithdrawCollateral } from "../proto/gen/ault/lending/v1/tx";
6
+ import type { MsgTransferLicense } from "../proto/gen/ault/license/v1/tx";
7
+ import type { MsgBorrowMargin, MsgDepositMargin, MsgRepayMargin, MsgWithdrawMargin } from "../proto/gen/ault/margin/v1/tx";
8
+ import type { MsgBatchSubmitWork, MsgCancelMiningDelegation, MsgDelegateMining, MsgRedelegateMining, MsgRegisterOperator, MsgSetOwnerVrfKey, MsgSubmitWork, MsgUnregisterOperator, MsgUpdateOperatorInfo, WorkSubmission } from "../proto/gen/ault/miner/v1/tx";
9
+ import type { MsgDeposit as MsgDepositAultPerpetualV1, MsgLiquidate as MsgLiquidateAultPerpetualV1, MsgModifyPositionMargin, MsgSetMarginConfig, MsgWithdraw as MsgWithdrawAultPerpetualV1 } from "../proto/gen/ault/perpetual/v1/tx";
10
+ import type { MsgApproveBuilder, MsgRevokeBuilder, MsgSetReferral, MsgSetReferralCode } from "../proto/gen/ault/reward/v1/tx";
11
+ import type { MsgCancelVaultConfigUpdate, MsgCreateVault, MsgDeposit as MsgDepositAultVaultV1, MsgReallocate, MsgRedeem, MsgSetVaultStatus, MsgUpdateVaultConfig, MsgUpdateVaultManager, MsgVaultTransfer } from "../proto/gen/ault/vault/v1/tx";
12
+ import type { LockupPolicy } from "../proto/gen/ault/vault/v1/vault";
18
13
  import type { MsgWithdrawDelegatorReward } from "../proto/gen/cosmos/distribution/v1beta1/tx";
19
14
  import type { MsgBeginRedelegate, MsgDelegate, MsgUndelegate } from "../proto/gen/cosmos/staking/v1beta1/tx";
15
+ type LockupPolicyInput = Omit<LockupPolicy, "fundWindow" | "unrestricted"> & Partial<Pick<LockupPolicy, "fundWindow" | "unrestricted">>;
20
16
  type ModifyOrderInput = Omit<ModifyOrder, "newPrice" | "newQuantity"> & Partial<Pick<ModifyOrder, "newPrice" | "newQuantity">>;
21
- type TransferLimitConfigInput = TransferLimitConfig;
22
17
  type WorkSubmissionInput = Omit<WorkSubmission, "nonce"> & Partial<Pick<WorkSubmission, "nonce">>;
23
18
  type MsgApproveAgentInput = Omit<MsgApproveAgent, "expiresAt" | "name"> & Partial<Pick<MsgApproveAgent, "expiresAt" | "name">>;
24
19
  type MsgBatchSubmitWorkInput = Omit<MsgBatchSubmitWork, "submissions"> & {
25
20
  submissions: WorkSubmissionInput[];
26
21
  };
27
- type MsgCreateMarketInput = Omit<MsgCreateMarket, "config" | "makerFeeRate" | "takerFeeRate"> & Partial<Pick<MsgCreateMarket, "config" | "makerFeeRate" | "takerFeeRate">>;
22
+ type MsgCreateVaultInput = Omit<MsgCreateVault, "lending" | "trading" | "lockup"> & Partial<Pick<MsgCreateVault, "lending" | "trading">> & {
23
+ lockup: LockupPolicyInput;
24
+ };
28
25
  type MsgModifyOrdersInput = Omit<MsgModifyOrders, "orders"> & {
29
26
  orders: ModifyOrderInput[];
30
27
  };
@@ -33,29 +30,17 @@ type MsgPlaceMarketOrderInput = Omit<MsgPlaceMarketOrder, "builderAddress" | "bu
33
30
  type MsgPlaceScaleOrderInput = Omit<MsgPlaceScaleOrder, "builderAddress" | "builderFeeRate" | "options" | "postOnly"> & Partial<Pick<MsgPlaceScaleOrder, "builderAddress" | "builderFeeRate" | "options" | "postOnly">>;
34
31
  type MsgPlaceTwapOrderInput = Omit<MsgPlaceTwapOrder, "builderAddress" | "builderFeeRate" | "cloid" | "priceTolerance" | "worstPrice"> & Partial<Pick<MsgPlaceTwapOrder, "builderAddress" | "builderFeeRate" | "cloid" | "priceTolerance" | "worstPrice">>;
35
32
  type MsgRegisterOperatorInput = Omit<MsgRegisterOperator, "commissionRecipient"> & Partial<Pick<MsgRegisterOperator, "commissionRecipient">>;
36
- type MsgRegisterTokenPairInput = Omit<MsgRegisterTokenPair, "transferLimit"> & Partial<Pick<MsgRegisterTokenPair, "transferLimit">>;
37
- type MsgSetMarketConfigInput = Omit<MsgSetMarketConfig, "config"> & Partial<Pick<MsgSetMarketConfig, "config">>;
38
- type MsgSetTransferLimitInput = Omit<MsgSetTransferLimit, "transferLimit"> & {
39
- transferLimit: TransferLimitConfigInput;
40
- };
41
33
  type MsgSubmitWorkInput = Omit<MsgSubmitWork, "nonce"> & Partial<Pick<MsgSubmitWork, "nonce">>;
42
34
  type MsgTransferLicenseInput = Omit<MsgTransferLicense, "openAccountFeeDenom"> & Partial<Pick<MsgTransferLicense, "openAccountFeeDenom">>;
43
35
  type MsgUpdateOperatorInfoInput = Omit<MsgUpdateOperatorInfo, "newCommissionRecipient"> & Partial<Pick<MsgUpdateOperatorInfo, "newCommissionRecipient">>;
36
+ type MsgUpdateVaultConfigInput = Omit<MsgUpdateVaultConfig, "lending" | "trading"> & Partial<Pick<MsgUpdateVaultConfig, "lending" | "trading">>;
44
37
  export declare const msg: {
45
38
  readonly accountx: {
46
39
  readonly openAccount: (value: MsgOpenAccount) => Eip712Msg<MsgOpenAccount, "/ault.accountx.v1.MsgOpenAccount">;
47
- readonly updateFeeTiers: (value: MsgUpdateFeeTiers) => Eip712Msg<MsgUpdateFeeTiers, "/ault.accountx.v1.MsgUpdateFeeTiers">;
48
- readonly updateParams: (value: MsgUpdateParamsAultAccountxV1) => Eip712Msg<MsgUpdateParamsAultAccountxV1, "/ault.accountx.v1.MsgUpdateParams">;
49
- readonly updateTradingTiers: (value: MsgUpdateTradingTiers) => Eip712Msg<MsgUpdateTradingTiers, "/ault.accountx.v1.MsgUpdateTradingTiers">;
50
40
  };
51
41
  readonly agent: {
52
42
  readonly approveAgent: (value: MsgApproveAgentInput) => Eip712Msg<MsgApproveAgentInput, "/ault.agent.v1.MsgApproveAgent">;
53
43
  readonly revokeAgent: (value: MsgRevokeAgent) => Eip712Msg<MsgRevokeAgent, "/ault.agent.v1.MsgRevokeAgent">;
54
- readonly updateParams: (value: MsgUpdateParamsAultAgentV1) => Eip712Msg<MsgUpdateParamsAultAgentV1, "/ault.agent.v1.MsgUpdateParams">;
55
- };
56
- readonly authority: {
57
- readonly grantRole: (value: MsgGrantRole) => Eip712Msg<MsgGrantRole, "/ault.authority.v1.MsgGrantRole">;
58
- readonly revokeRole: (value: MsgRevokeRole) => Eip712Msg<MsgRevokeRole, "/ault.authority.v1.MsgRevokeRole">;
59
44
  };
60
45
  readonly clob: {
61
46
  readonly cancelOrders: (value: MsgCancelOrders) => Eip712Msg<MsgCancelOrders, "/ault.clob.v1.MsgCancelOrders">;
@@ -64,70 +49,29 @@ export declare const msg: {
64
49
  readonly placeMarketOrder: (value: MsgPlaceMarketOrderInput) => Eip712Msg<MsgPlaceMarketOrderInput, "/ault.clob.v1.MsgPlaceMarketOrder">;
65
50
  readonly placeScaleOrder: (value: MsgPlaceScaleOrderInput) => Eip712Msg<MsgPlaceScaleOrderInput, "/ault.clob.v1.MsgPlaceScaleOrder">;
66
51
  readonly placeTwapOrder: (value: MsgPlaceTwapOrderInput) => Eip712Msg<MsgPlaceTwapOrderInput, "/ault.clob.v1.MsgPlaceTwapOrder">;
67
- readonly updateParams: (value: MsgUpdateParamsAultClobV1) => Eip712Msg<MsgUpdateParamsAultClobV1, "/ault.clob.v1.MsgUpdateParams">;
68
52
  };
69
53
  readonly distribution: {
70
54
  readonly withdrawDelegatorReward: (value: MsgWithdrawDelegatorReward) => Eip712Msg<MsgWithdrawDelegatorReward, "/cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward">;
71
55
  };
72
56
  readonly lending: {
73
57
  readonly borrow: (value: MsgBorrow) => Eip712Msg<MsgBorrow, "/ault.lending.v1.MsgBorrow">;
74
- readonly cancelAssetUpdates: (value: MsgCancelAssetUpdates) => Eip712Msg<MsgCancelAssetUpdates, "/ault.lending.v1.MsgCancelAssetUpdates">;
75
- readonly createPool: (value: MsgCreatePool) => Eip712Msg<MsgCreatePool, "/ault.lending.v1.MsgCreatePool">;
76
- readonly disablePoolActions: (value: MsgDisablePoolActions) => Eip712Msg<MsgDisablePoolActions, "/ault.lending.v1.MsgDisablePoolActions">;
77
- readonly enablePoolActions: (value: MsgEnablePoolActions) => Eip712Msg<MsgEnablePoolActions, "/ault.lending.v1.MsgEnablePoolActions">;
78
58
  readonly fundInsuranceFund: (value: MsgFundInsuranceFund) => Eip712Msg<MsgFundInsuranceFund, "/ault.lending.v1.MsgFundInsuranceFund">;
79
59
  readonly liquidate: (value: MsgLiquidateAultLendingV1) => Eip712Msg<MsgLiquidateAultLendingV1, "/ault.lending.v1.MsgLiquidate">;
80
- readonly registerAssets: (value: MsgRegisterAssets) => Eip712Msg<MsgRegisterAssets, "/ault.lending.v1.MsgRegisterAssets">;
81
60
  readonly repay: (value: MsgRepay) => Eip712Msg<MsgRepay, "/ault.lending.v1.MsgRepay">;
82
- readonly settleDeficit: (value: MsgSettleDeficit) => Eip712Msg<MsgSettleDeficit, "/ault.lending.v1.MsgSettleDeficit">;
83
61
  readonly supply: (value: MsgSupply) => Eip712Msg<MsgSupply, "/ault.lending.v1.MsgSupply">;
84
62
  readonly supplyCollateral: (value: MsgSupplyCollateral) => Eip712Msg<MsgSupplyCollateral, "/ault.lending.v1.MsgSupplyCollateral">;
85
- readonly updateAssets: (value: MsgUpdateAssets) => Eip712Msg<MsgUpdateAssets, "/ault.lending.v1.MsgUpdateAssets">;
86
- readonly updateAssetsRisk: (value: MsgUpdateAssetsRisk) => Eip712Msg<MsgUpdateAssetsRisk, "/ault.lending.v1.MsgUpdateAssetsRisk">;
87
- readonly updateParams: (value: MsgUpdateParamsAultLendingV1) => Eip712Msg<MsgUpdateParamsAultLendingV1, "/ault.lending.v1.MsgUpdateParams">;
88
- readonly updatePool: (value: MsgUpdatePool) => Eip712Msg<MsgUpdatePool, "/ault.lending.v1.MsgUpdatePool">;
89
- readonly updatePoolOwner: (value: MsgUpdatePoolOwner) => Eip712Msg<MsgUpdatePoolOwner, "/ault.lending.v1.MsgUpdatePoolOwner">;
90
63
  readonly withdraw: (value: MsgWithdrawAultLendingV1) => Eip712Msg<MsgWithdrawAultLendingV1, "/ault.lending.v1.MsgWithdraw">;
91
64
  readonly withdrawCollateral: (value: MsgWithdrawCollateral) => Eip712Msg<MsgWithdrawCollateral, "/ault.lending.v1.MsgWithdrawCollateral">;
92
- readonly withdrawInsuranceFund: (value: MsgWithdrawInsuranceFund) => Eip712Msg<MsgWithdrawInsuranceFund, "/ault.lending.v1.MsgWithdrawInsuranceFund">;
93
- readonly withdrawProtocolRevenue: (value: MsgWithdrawProtocolRevenue) => Eip712Msg<MsgWithdrawProtocolRevenue, "/ault.lending.v1.MsgWithdrawProtocolRevenue">;
94
65
  };
95
66
  readonly license: {
96
- readonly approveMember: (value: MsgApproveMember) => Eip712Msg<MsgApproveMember, "/ault.license.v1.MsgApproveMember">;
97
- readonly batchApproveMember: (value: MsgBatchApproveMember) => Eip712Msg<MsgBatchApproveMember, "/ault.license.v1.MsgBatchApproveMember">;
98
- readonly batchMintLicense: (value: MsgBatchMintLicense) => Eip712Msg<MsgBatchMintLicense, "/ault.license.v1.MsgBatchMintLicense">;
99
- readonly batchRevokeMember: (value: MsgBatchRevokeMember) => Eip712Msg<MsgBatchRevokeMember, "/ault.license.v1.MsgBatchRevokeMember">;
100
- readonly burnLicense: (value: MsgBurnLicense) => Eip712Msg<MsgBurnLicense, "/ault.license.v1.MsgBurnLicense">;
101
- readonly mintLicense: (value: MsgMintLicense) => Eip712Msg<MsgMintLicense, "/ault.license.v1.MsgMintLicense">;
102
- readonly revokeLicense: (value: MsgRevokeLicense) => Eip712Msg<MsgRevokeLicense, "/ault.license.v1.MsgRevokeLicense">;
103
- readonly revokeMember: (value: MsgRevokeMember) => Eip712Msg<MsgRevokeMember, "/ault.license.v1.MsgRevokeMember">;
104
- readonly setKYCApprovers: (value: MsgSetKYCApprovers) => Eip712Msg<MsgSetKYCApprovers, "/ault.license.v1.MsgSetKYCApprovers">;
105
- readonly setMinters: (value: MsgSetMinters) => Eip712Msg<MsgSetMinters, "/ault.license.v1.MsgSetMinters">;
106
- readonly setTokenURI: (value: MsgSetTokenURI) => Eip712Msg<MsgSetTokenURI, "/ault.license.v1.MsgSetTokenURI">;
107
67
  readonly transferLicense: (value: MsgTransferLicenseInput) => Eip712Msg<MsgTransferLicenseInput, "/ault.license.v1.MsgTransferLicense">;
108
- readonly updateParams: (value: MsgUpdateParamsAultLicenseV1) => Eip712Msg<MsgUpdateParamsAultLicenseV1, "/ault.license.v1.MsgUpdateParams">;
109
68
  };
110
69
  readonly margin: {
111
70
  readonly borrowMargin: (value: MsgBorrowMargin) => Eip712Msg<MsgBorrowMargin, "/ault.margin.v1.MsgBorrowMargin">;
112
71
  readonly depositMargin: (value: MsgDepositMargin) => Eip712Msg<MsgDepositMargin, "/ault.margin.v1.MsgDepositMargin">;
113
- readonly disableMarginMarket: (value: MsgDisableMarginMarket) => Eip712Msg<MsgDisableMarginMarket, "/ault.margin.v1.MsgDisableMarginMarket">;
114
- readonly enableMarginMarket: (value: MsgEnableMarginMarket) => Eip712Msg<MsgEnableMarginMarket, "/ault.margin.v1.MsgEnableMarginMarket">;
115
72
  readonly repayMargin: (value: MsgRepayMargin) => Eip712Msg<MsgRepayMargin, "/ault.margin.v1.MsgRepayMargin">;
116
- readonly setMarginLendingPool: (value: MsgSetMarginLendingPool) => Eip712Msg<MsgSetMarginLendingPool, "/ault.margin.v1.MsgSetMarginLendingPool">;
117
- readonly updateParams: (value: MsgUpdateParamsAultMarginV1) => Eip712Msg<MsgUpdateParamsAultMarginV1, "/ault.margin.v1.MsgUpdateParams">;
118
73
  readonly withdrawMargin: (value: MsgWithdrawMargin) => Eip712Msg<MsgWithdrawMargin, "/ault.margin.v1.MsgWithdrawMargin">;
119
74
  };
120
- readonly market: {
121
- readonly createMarket: (value: MsgCreateMarketInput) => Eip712Msg<MsgCreateMarketInput, "/ault.market.v1.MsgCreateMarket">;
122
- readonly haltAllMarkets: (value: MsgHaltAllMarkets) => Eip712Msg<MsgHaltAllMarkets, "/ault.market.v1.MsgHaltAllMarkets">;
123
- readonly haltMarkets: (value: MsgHaltMarkets) => Eip712Msg<MsgHaltMarkets, "/ault.market.v1.MsgHaltMarkets">;
124
- readonly resumeAllMarkets: (value: MsgResumeAllMarkets) => Eip712Msg<MsgResumeAllMarkets, "/ault.market.v1.MsgResumeAllMarkets">;
125
- readonly resumeMarkets: (value: MsgResumeMarkets) => Eip712Msg<MsgResumeMarkets, "/ault.market.v1.MsgResumeMarkets">;
126
- readonly setMarketConfig: (value: MsgSetMarketConfigInput) => Eip712Msg<MsgSetMarketConfigInput, "/ault.market.v1.MsgSetMarketConfig">;
127
- readonly updateMarket: (value: MsgUpdateMarket) => Eip712Msg<MsgUpdateMarket, "/ault.market.v1.MsgUpdateMarket">;
128
- readonly updateMarketDeployer: (value: MsgUpdateMarketDeployer) => Eip712Msg<MsgUpdateMarketDeployer, "/ault.market.v1.MsgUpdateMarketDeployer">;
129
- readonly updateParams: (value: MsgUpdateParamsAultMarketV1) => Eip712Msg<MsgUpdateParamsAultMarketV1, "/ault.market.v1.MsgUpdateParams">;
130
- };
131
75
  readonly miner: {
132
76
  readonly batchSubmitWork: (value: MsgBatchSubmitWorkInput) => Eip712Msg<MsgBatchSubmitWorkInput, "/ault.miner.v1.MsgBatchSubmitWork">;
133
77
  readonly cancelMiningDelegation: (value: MsgCancelMiningDelegation) => Eip712Msg<MsgCancelMiningDelegation, "/ault.miner.v1.MsgCancelMiningDelegation">;
@@ -138,67 +82,36 @@ export declare const msg: {
138
82
  readonly submitWork: (value: MsgSubmitWorkInput) => Eip712Msg<MsgSubmitWorkInput, "/ault.miner.v1.MsgSubmitWork">;
139
83
  readonly unregisterOperator: (value: MsgUnregisterOperator) => Eip712Msg<MsgUnregisterOperator, "/ault.miner.v1.MsgUnregisterOperator">;
140
84
  readonly updateOperatorInfo: (value: MsgUpdateOperatorInfoInput) => Eip712Msg<MsgUpdateOperatorInfoInput, "/ault.miner.v1.MsgUpdateOperatorInfo">;
141
- readonly updateParams: (value: MsgUpdateParamsAultMinerV1) => Eip712Msg<MsgUpdateParamsAultMinerV1, "/ault.miner.v1.MsgUpdateParams">;
142
- };
143
- readonly oracle: {
144
- readonly injectOraclePrices: (value: MsgInjectOraclePrices) => Eip712Msg<MsgInjectOraclePrices, "/ault.oracle.v1.MsgInjectOraclePrices">;
145
- readonly removeFeed: (value: MsgRemoveFeed) => Eip712Msg<MsgRemoveFeed, "/ault.oracle.v1.MsgRemoveFeed">;
146
- readonly setFeed: (value: MsgSetFeed) => Eip712Msg<MsgSetFeed, "/ault.oracle.v1.MsgSetFeed">;
147
- readonly setFeedMapping: (value: MsgSetFeedMapping) => Eip712Msg<MsgSetFeedMapping, "/ault.oracle.v1.MsgSetFeedMapping">;
148
- readonly setMarketMapping: (value: MsgSetMarketMapping) => Eip712Msg<MsgSetMarketMapping, "/ault.oracle.v1.MsgSetMarketMapping">;
149
- readonly setTrustedSigner: (value: MsgSetTrustedSigner) => Eip712Msg<MsgSetTrustedSigner, "/ault.oracle.v1.MsgSetTrustedSigner">;
150
- readonly updateParams: (value: MsgUpdateParamsAultOracleV1) => Eip712Msg<MsgUpdateParamsAultOracleV1, "/ault.oracle.v1.MsgUpdateParams">;
151
85
  };
152
86
  readonly perpetual: {
153
87
  readonly deposit: (value: MsgDepositAultPerpetualV1) => Eip712Msg<MsgDepositAultPerpetualV1, "/ault.perpetual.v1.MsgDeposit">;
154
88
  readonly liquidate: (value: MsgLiquidateAultPerpetualV1) => Eip712Msg<MsgLiquidateAultPerpetualV1, "/ault.perpetual.v1.MsgLiquidate">;
155
89
  readonly modifyPositionMargin: (value: MsgModifyPositionMargin) => Eip712Msg<MsgModifyPositionMargin, "/ault.perpetual.v1.MsgModifyPositionMargin">;
156
90
  readonly setMarginConfig: (value: MsgSetMarginConfig) => Eip712Msg<MsgSetMarginConfig, "/ault.perpetual.v1.MsgSetMarginConfig">;
157
- readonly updateParams: (value: MsgUpdateParamsAultPerpetualV1) => Eip712Msg<MsgUpdateParamsAultPerpetualV1, "/ault.perpetual.v1.MsgUpdateParams">;
158
91
  readonly withdraw: (value: MsgWithdrawAultPerpetualV1) => Eip712Msg<MsgWithdrawAultPerpetualV1, "/ault.perpetual.v1.MsgWithdraw">;
159
92
  };
160
- readonly ratelimit: {
161
- readonly updateParams: (value: MsgUpdateParamsAultRatelimitV1) => Eip712Msg<MsgUpdateParamsAultRatelimitV1, "/ault.ratelimit.v1.MsgUpdateParams">;
162
- };
163
93
  readonly reward: {
164
94
  readonly approveBuilder: (value: MsgApproveBuilder) => Eip712Msg<MsgApproveBuilder, "/ault.reward.v1.MsgApproveBuilder">;
165
95
  readonly revokeBuilder: (value: MsgRevokeBuilder) => Eip712Msg<MsgRevokeBuilder, "/ault.reward.v1.MsgRevokeBuilder">;
166
- readonly setDeployerShare: (value: MsgSetDeployerShare) => Eip712Msg<MsgSetDeployerShare, "/ault.reward.v1.MsgSetDeployerShare">;
167
96
  readonly setReferral: (value: MsgSetReferral) => Eip712Msg<MsgSetReferral, "/ault.reward.v1.MsgSetReferral">;
168
97
  readonly setReferralCode: (value: MsgSetReferralCode) => Eip712Msg<MsgSetReferralCode, "/ault.reward.v1.MsgSetReferralCode">;
169
- readonly updateEligibleReferrers: (value: MsgUpdateEligibleReferrers) => Eip712Msg<MsgUpdateEligibleReferrers, "/ault.reward.v1.MsgUpdateEligibleReferrers">;
170
- readonly updateFeeTierDiscounts: (value: MsgUpdateFeeTierDiscounts) => Eip712Msg<MsgUpdateFeeTierDiscounts, "/ault.reward.v1.MsgUpdateFeeTierDiscounts">;
171
- readonly updateParams: (value: MsgUpdateParamsAultRewardV1) => Eip712Msg<MsgUpdateParamsAultRewardV1, "/ault.reward.v1.MsgUpdateParams">;
172
- readonly updateRefereeDiscountRate: (value: MsgUpdateRefereeDiscountRate) => Eip712Msg<MsgUpdateRefereeDiscountRate, "/ault.reward.v1.MsgUpdateRefereeDiscountRate">;
173
- readonly updateTradingTierBenefits: (value: MsgUpdateTradingTierBenefits) => Eip712Msg<MsgUpdateTradingTierBenefits, "/ault.reward.v1.MsgUpdateTradingTierBenefits">;
174
98
  };
175
99
  readonly staking: {
176
100
  readonly beginRedelegate: (value: MsgBeginRedelegate) => Eip712Msg<MsgBeginRedelegate, "/cosmos.staking.v1beta1.MsgBeginRedelegate">;
177
101
  readonly delegate: (value: MsgDelegate) => Eip712Msg<MsgDelegate, "/cosmos.staking.v1beta1.MsgDelegate">;
178
102
  readonly undelegate: (value: MsgUndelegate) => Eip712Msg<MsgUndelegate, "/cosmos.staking.v1beta1.MsgUndelegate">;
179
103
  };
180
- readonly tokenregistry: {
181
- readonly disableTokenPair: (value: MsgDisableTokenPair) => Eip712Msg<MsgDisableTokenPair, "/ault.tokenregistry.v1.MsgDisableTokenPair">;
182
- readonly disableTransfers: (value: MsgDisableTransfers) => Eip712Msg<MsgDisableTransfers, "/ault.tokenregistry.v1.MsgDisableTransfers">;
183
- readonly enableTokenPair: (value: MsgEnableTokenPair) => Eip712Msg<MsgEnableTokenPair, "/ault.tokenregistry.v1.MsgEnableTokenPair">;
184
- readonly enableTransfers: (value: MsgEnableTransfers) => Eip712Msg<MsgEnableTransfers, "/ault.tokenregistry.v1.MsgEnableTransfers">;
185
- readonly registerTokenPair: (value: MsgRegisterTokenPairInput) => Eip712Msg<MsgRegisterTokenPairInput, "/ault.tokenregistry.v1.MsgRegisterTokenPair">;
186
- readonly removeTransferLimit: (value: MsgRemoveTransferLimit) => Eip712Msg<MsgRemoveTransferLimit, "/ault.tokenregistry.v1.MsgRemoveTransferLimit">;
187
- readonly setTransferLimit: (value: MsgSetTransferLimitInput) => Eip712Msg<MsgSetTransferLimitInput, "/ault.tokenregistry.v1.MsgSetTransferLimit">;
188
- };
189
104
  readonly vault: {
190
105
  readonly cancelVaultConfigUpdate: (value: MsgCancelVaultConfigUpdate) => Eip712Msg<MsgCancelVaultConfigUpdate, "/ault.vault.v1.MsgCancelVaultConfigUpdate">;
191
- readonly createVault: (value: MsgCreateVault) => Eip712Msg<MsgCreateVault, "/ault.vault.v1.MsgCreateVault">;
106
+ readonly createVault: (value: MsgCreateVaultInput) => Eip712Msg<MsgCreateVaultInput, "/ault.vault.v1.MsgCreateVault">;
192
107
  readonly deposit: (value: MsgDepositAultVaultV1) => Eip712Msg<MsgDepositAultVaultV1, "/ault.vault.v1.MsgDeposit">;
193
108
  readonly reallocate: (value: MsgReallocate) => Eip712Msg<MsgReallocate, "/ault.vault.v1.MsgReallocate">;
194
109
  readonly redeem: (value: MsgRedeem) => Eip712Msg<MsgRedeem, "/ault.vault.v1.MsgRedeem">;
195
- readonly setOracleFeeds: (value: MsgSetOracleFeeds) => Eip712Msg<MsgSetOracleFeeds, "/ault.vault.v1.MsgSetOracleFeeds">;
196
110
  readonly setVaultStatus: (value: MsgSetVaultStatus) => Eip712Msg<MsgSetVaultStatus, "/ault.vault.v1.MsgSetVaultStatus">;
197
- readonly updateParams: (value: MsgUpdateParamsAultVaultV1) => Eip712Msg<MsgUpdateParamsAultVaultV1, "/ault.vault.v1.MsgUpdateParams">;
198
- readonly updateVaultConfig: (value: MsgUpdateVaultConfig) => Eip712Msg<MsgUpdateVaultConfig, "/ault.vault.v1.MsgUpdateVaultConfig">;
111
+ readonly updateVaultConfig: (value: MsgUpdateVaultConfigInput) => Eip712Msg<MsgUpdateVaultConfigInput, "/ault.vault.v1.MsgUpdateVaultConfig">;
199
112
  readonly updateVaultManager: (value: MsgUpdateVaultManager) => Eip712Msg<MsgUpdateVaultManager, "/ault.vault.v1.MsgUpdateVaultManager">;
200
113
  readonly vaultTransfer: (value: MsgVaultTransfer) => Eip712Msg<MsgVaultTransfer, "/ault.vault.v1.MsgVaultTransfer">;
201
114
  };
202
115
  };
203
- 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<MsgBorrow, "/ault.lending.v1.MsgBorrow"> | Eip712Msg<MsgCancelAssetUpdates, "/ault.lending.v1.MsgCancelAssetUpdates"> | Eip712Msg<MsgCreatePool, "/ault.lending.v1.MsgCreatePool"> | Eip712Msg<MsgDisablePoolActions, "/ault.lending.v1.MsgDisablePoolActions"> | Eip712Msg<MsgEnablePoolActions, "/ault.lending.v1.MsgEnablePoolActions"> | Eip712Msg<MsgFundInsuranceFund, "/ault.lending.v1.MsgFundInsuranceFund"> | Eip712Msg<MsgLiquidateAultLendingV1, "/ault.lending.v1.MsgLiquidate"> | Eip712Msg<MsgRegisterAssets, "/ault.lending.v1.MsgRegisterAssets"> | Eip712Msg<MsgRepay, "/ault.lending.v1.MsgRepay"> | Eip712Msg<MsgSettleDeficit, "/ault.lending.v1.MsgSettleDeficit"> | Eip712Msg<MsgSupply, "/ault.lending.v1.MsgSupply"> | Eip712Msg<MsgSupplyCollateral, "/ault.lending.v1.MsgSupplyCollateral"> | Eip712Msg<MsgUpdateAssets, "/ault.lending.v1.MsgUpdateAssets"> | Eip712Msg<MsgUpdateAssetsRisk, "/ault.lending.v1.MsgUpdateAssetsRisk"> | Eip712Msg<MsgUpdateParamsAultLendingV1, "/ault.lending.v1.MsgUpdateParams"> | Eip712Msg<MsgUpdatePool, "/ault.lending.v1.MsgUpdatePool"> | Eip712Msg<MsgUpdatePoolOwner, "/ault.lending.v1.MsgUpdatePoolOwner"> | Eip712Msg<MsgWithdrawAultLendingV1, "/ault.lending.v1.MsgWithdraw"> | Eip712Msg<MsgWithdrawCollateral, "/ault.lending.v1.MsgWithdrawCollateral"> | Eip712Msg<MsgWithdrawInsuranceFund, "/ault.lending.v1.MsgWithdrawInsuranceFund"> | Eip712Msg<MsgWithdrawProtocolRevenue, "/ault.lending.v1.MsgWithdrawProtocolRevenue"> | 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<MsgBorrowMargin, "/ault.margin.v1.MsgBorrowMargin"> | Eip712Msg<MsgDepositMargin, "/ault.margin.v1.MsgDepositMargin"> | Eip712Msg<MsgDisableMarginMarket, "/ault.margin.v1.MsgDisableMarginMarket"> | Eip712Msg<MsgEnableMarginMarket, "/ault.margin.v1.MsgEnableMarginMarket"> | Eip712Msg<MsgRepayMargin, "/ault.margin.v1.MsgRepayMargin"> | Eip712Msg<MsgSetMarginLendingPool, "/ault.margin.v1.MsgSetMarginLendingPool"> | Eip712Msg<MsgUpdateParamsAultMarginV1, "/ault.margin.v1.MsgUpdateParams"> | Eip712Msg<MsgWithdrawMargin, "/ault.margin.v1.MsgWithdrawMargin"> | 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<MsgSetMarketConfigInput, "/ault.market.v1.MsgSetMarketConfig"> | 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<MsgInjectOraclePrices, "/ault.oracle.v1.MsgInjectOraclePrices"> | Eip712Msg<MsgRemoveFeed, "/ault.oracle.v1.MsgRemoveFeed"> | Eip712Msg<MsgSetFeed, "/ault.oracle.v1.MsgSetFeed"> | Eip712Msg<MsgSetFeedMapping, "/ault.oracle.v1.MsgSetFeedMapping"> | Eip712Msg<MsgSetMarketMapping, "/ault.oracle.v1.MsgSetMarketMapping"> | Eip712Msg<MsgSetTrustedSigner, "/ault.oracle.v1.MsgSetTrustedSigner"> | Eip712Msg<MsgUpdateParamsAultOracleV1, "/ault.oracle.v1.MsgUpdateParams"> | Eip712Msg<MsgDepositAultPerpetualV1, "/ault.perpetual.v1.MsgDeposit"> | Eip712Msg<MsgLiquidateAultPerpetualV1, "/ault.perpetual.v1.MsgLiquidate"> | Eip712Msg<MsgModifyPositionMargin, "/ault.perpetual.v1.MsgModifyPositionMargin"> | Eip712Msg<MsgSetMarginConfig, "/ault.perpetual.v1.MsgSetMarginConfig"> | Eip712Msg<MsgUpdateParamsAultPerpetualV1, "/ault.perpetual.v1.MsgUpdateParams"> | Eip712Msg<MsgWithdrawAultPerpetualV1, "/ault.perpetual.v1.MsgWithdraw"> | 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<MsgCancelVaultConfigUpdate, "/ault.vault.v1.MsgCancelVaultConfigUpdate"> | Eip712Msg<MsgCreateVault, "/ault.vault.v1.MsgCreateVault"> | Eip712Msg<MsgDepositAultVaultV1, "/ault.vault.v1.MsgDeposit"> | Eip712Msg<MsgReallocate, "/ault.vault.v1.MsgReallocate"> | Eip712Msg<MsgRedeem, "/ault.vault.v1.MsgRedeem"> | Eip712Msg<MsgSetOracleFeeds, "/ault.vault.v1.MsgSetOracleFeeds"> | Eip712Msg<MsgSetVaultStatus, "/ault.vault.v1.MsgSetVaultStatus"> | Eip712Msg<MsgUpdateParamsAultVaultV1, "/ault.vault.v1.MsgUpdateParams"> | Eip712Msg<MsgUpdateVaultConfig, "/ault.vault.v1.MsgUpdateVaultConfig"> | Eip712Msg<MsgUpdateVaultManager, "/ault.vault.v1.MsgUpdateVaultManager"> | Eip712Msg<MsgVaultTransfer, "/ault.vault.v1.MsgVaultTransfer"> | Eip712Msg<MsgWithdrawDelegatorReward, "/cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward"> | Eip712Msg<MsgBeginRedelegate, "/cosmos.staking.v1beta1.MsgBeginRedelegate"> | Eip712Msg<MsgDelegate, "/cosmos.staking.v1beta1.MsgDelegate"> | Eip712Msg<MsgUndelegate, "/cosmos.staking.v1beta1.MsgUndelegate">;
116
+ export type AnyEip712Msg = Eip712Msg<MsgOpenAccount, "/ault.accountx.v1.MsgOpenAccount"> | Eip712Msg<MsgApproveAgentInput, "/ault.agent.v1.MsgApproveAgent"> | Eip712Msg<MsgRevokeAgent, "/ault.agent.v1.MsgRevokeAgent"> | 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<MsgBorrow, "/ault.lending.v1.MsgBorrow"> | Eip712Msg<MsgFundInsuranceFund, "/ault.lending.v1.MsgFundInsuranceFund"> | Eip712Msg<MsgLiquidateAultLendingV1, "/ault.lending.v1.MsgLiquidate"> | Eip712Msg<MsgRepay, "/ault.lending.v1.MsgRepay"> | Eip712Msg<MsgSupply, "/ault.lending.v1.MsgSupply"> | Eip712Msg<MsgSupplyCollateral, "/ault.lending.v1.MsgSupplyCollateral"> | Eip712Msg<MsgWithdrawAultLendingV1, "/ault.lending.v1.MsgWithdraw"> | Eip712Msg<MsgWithdrawCollateral, "/ault.lending.v1.MsgWithdrawCollateral"> | Eip712Msg<MsgTransferLicenseInput, "/ault.license.v1.MsgTransferLicense"> | Eip712Msg<MsgBorrowMargin, "/ault.margin.v1.MsgBorrowMargin"> | Eip712Msg<MsgDepositMargin, "/ault.margin.v1.MsgDepositMargin"> | Eip712Msg<MsgRepayMargin, "/ault.margin.v1.MsgRepayMargin"> | Eip712Msg<MsgWithdrawMargin, "/ault.margin.v1.MsgWithdrawMargin"> | 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<MsgDepositAultPerpetualV1, "/ault.perpetual.v1.MsgDeposit"> | Eip712Msg<MsgLiquidateAultPerpetualV1, "/ault.perpetual.v1.MsgLiquidate"> | Eip712Msg<MsgModifyPositionMargin, "/ault.perpetual.v1.MsgModifyPositionMargin"> | Eip712Msg<MsgSetMarginConfig, "/ault.perpetual.v1.MsgSetMarginConfig"> | Eip712Msg<MsgWithdrawAultPerpetualV1, "/ault.perpetual.v1.MsgWithdraw"> | Eip712Msg<MsgApproveBuilder, "/ault.reward.v1.MsgApproveBuilder"> | Eip712Msg<MsgRevokeBuilder, "/ault.reward.v1.MsgRevokeBuilder"> | Eip712Msg<MsgSetReferral, "/ault.reward.v1.MsgSetReferral"> | Eip712Msg<MsgSetReferralCode, "/ault.reward.v1.MsgSetReferralCode"> | Eip712Msg<MsgCancelVaultConfigUpdate, "/ault.vault.v1.MsgCancelVaultConfigUpdate"> | Eip712Msg<MsgCreateVaultInput, "/ault.vault.v1.MsgCreateVault"> | Eip712Msg<MsgDepositAultVaultV1, "/ault.vault.v1.MsgDeposit"> | Eip712Msg<MsgReallocate, "/ault.vault.v1.MsgReallocate"> | Eip712Msg<MsgRedeem, "/ault.vault.v1.MsgRedeem"> | Eip712Msg<MsgSetVaultStatus, "/ault.vault.v1.MsgSetVaultStatus"> | Eip712Msg<MsgUpdateVaultConfigInput, "/ault.vault.v1.MsgUpdateVaultConfig"> | Eip712Msg<MsgUpdateVaultManager, "/ault.vault.v1.MsgUpdateVaultManager"> | Eip712Msg<MsgVaultTransfer, "/ault.vault.v1.MsgVaultTransfer"> | Eip712Msg<MsgWithdrawDelegatorReward, "/cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward"> | Eip712Msg<MsgBeginRedelegate, "/cosmos.staking.v1beta1.MsgBeginRedelegate"> | Eip712Msg<MsgDelegate, "/cosmos.staking.v1beta1.MsgDelegate"> | Eip712Msg<MsgUndelegate, "/cosmos.staking.v1beta1.MsgUndelegate">;
204
117
  export {};
@@ -24,6 +24,12 @@ export interface Eip712MsgTypeConfig {
24
24
  enumFieldPaths?: Record<string, Record<string, string>>;
25
25
  optionalFields?: readonly string[];
26
26
  legacyAminoRegistered?: boolean;
27
+ /**
28
+ * Set when the chain cannot verify an EIP-712 signature over this message
29
+ * faithfully; the reason says which path to use instead. The proto encoder
30
+ * still covers it, so the agent path (SIGN_MODE_DIRECT) can send it.
31
+ */
32
+ eip712Unsupported?: string;
27
33
  fieldSemantics?: Record<string, FieldSemantics>;
28
34
  /**
29
35
  * Interface-typed Any fields (e.g. clob `options`), keyed by field name and
@@ -33,7 +39,7 @@ export interface Eip712MsgTypeConfig {
33
39
  anyTypes?: Eip712AnyTypesMap;
34
40
  }
35
41
  /** Amino/EIP-712 config of one message that can be packed into an interface Any. */
36
- export type Eip712AnyTypeConfig = Omit<Eip712MsgTypeConfig, "eip712TypeName" | "legacyAminoRegistered">;
42
+ export type Eip712AnyTypeConfig = Omit<Eip712MsgTypeConfig, "eip712TypeName" | "legacyAminoRegistered" | "eip712Unsupported">;
37
43
  export type Eip712AnyTypesMap = Record<string, Record<string, Eip712AnyTypeConfig>>;
38
44
  export { EIP712_MSG_TYPES } from "./registry.generated";
39
45
  export type { Params as AgentParams } from "../proto/gen/ault/agent/v1/params";
@@ -0,0 +1,3 @@
1
+ import type { LendingTxApi } from "../types";
2
+ import type { TxModuleContext } from "./context";
3
+ export declare function createLendingTxApi({ signerAddress, exec, getGas }: TxModuleContext): LendingTxApi;
@@ -1,3 +1,3 @@
1
1
  import type { LicenseTxApi } from "../types";
2
2
  import type { TxModuleContext } from "./context";
3
- export declare function createLicenseTxApi({ signerAddress, exec, getGas }: TxModuleContext): LicenseTxApi;
3
+ export declare function createLicenseTxApi({ signerAddress, exec }: TxModuleContext): LicenseTxApi;
@@ -0,0 +1,3 @@
1
+ import type { MarginTxApi } from "../types";
2
+ import type { TxModuleContext } from "./context";
3
+ export declare function createMarginTxApi({ signerAddress, exec, getGas }: TxModuleContext): MarginTxApi;
@@ -0,0 +1,3 @@
1
+ import type { VaultTxApi } from "../types";
2
+ import type { TxModuleContext } from "./context";
3
+ export declare function createVaultTxApi({ signerAddress, exec, getGas }: TxModuleContext): VaultTxApi;