ault-sdk-ts 0.17.0 → 0.18.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.
@@ -8,8 +8,8 @@ export declare enum OrderGroupType {
8
8
  /** ORDER_GROUP_TYPE_UNSPECIFIED - UNSPECIFIED is not a valid group type. */
9
9
  ORDER_GROUP_TYPE_UNSPECIFIED = 0,
10
10
  /**
11
- * ORDER_GROUP_TYPE_OCO - OCO: two legs placed on the same side and quantity; any fill or the
12
- * trigger of either leg cancels the other.
11
+ * ORDER_GROUP_TYPE_OCO - OCO: two legs placed on the same side and quantity; the first fill of
12
+ * either leg's child cancels the other.
13
13
  */
14
14
  ORDER_GROUP_TYPE_OCO = 1,
15
15
  /** ORDER_GROUP_TYPE_OTO - OTO: a primary whose fill wakes a dormant conditional secondary. */
@@ -11,6 +11,7 @@ export interface GenesisState {
11
11
  assetStates: AssetStateEntry[];
12
12
  shares: SharesEntry[];
13
13
  pendingAssetUpdates: PendingAssetUpdateEntry[];
14
+ spotQuoteOracleFeedId: string;
14
15
  }
15
16
  export declare const GenesisState: MessageFns<GenesisState>;
16
17
  type Builtin = Date | Function | Uint8Array | string | number | boolean | bigint | undefined;
@@ -30,26 +30,25 @@ export interface Asset {
30
30
  kinks: string[];
31
31
  /** Annualized rates at each kink and full utilization, in basis points. */
32
32
  rates: string[];
33
- supplyCap: string;
33
+ collateralCap: string;
34
34
  borrowCap: string;
35
35
  oracleAsset: string;
36
36
  spotMarketId: Uint8Array;
37
- spotQuoteOracleDenom: string;
37
+ /** Unix seconds when the asset becomes usable. Zero means immediately usable. */
38
+ availableAt: bigint;
38
39
  }
39
40
  export interface AssetTerms {
40
41
  maxBonus: string;
41
42
  kinks: string[];
42
43
  /** Annualized rates at each kink and full utilization, in basis points. */
43
44
  rates: string[];
44
- supplyCap: string;
45
+ collateralCap: string;
45
46
  borrowCap: string;
46
47
  }
47
48
  export interface AssetRisk {
48
49
  ltv: string;
49
50
  lt: string;
50
- oracleAsset: string;
51
51
  spotMarketId: Uint8Array;
52
- spotQuoteOracleDenom: string;
53
52
  }
54
53
  export interface AssetTermsConfig {
55
54
  denom: string;
@@ -84,6 +83,7 @@ export interface AssetState {
84
83
  totalBorrowShares: string;
85
84
  collectedProtocolFee: string;
86
85
  deficit: string;
86
+ totalCollateral: string;
87
87
  }
88
88
  export interface AssetStateEntry {
89
89
  poolId: bigint;
@@ -47,6 +47,14 @@ export interface QuerySharesRequest {
47
47
  export interface QuerySharesResponse {
48
48
  shares: Shares | undefined;
49
49
  }
50
+ export interface QueryBorrowersRequest {
51
+ poolId: bigint;
52
+ pagination: PageRequest | undefined;
53
+ }
54
+ export interface QueryBorrowersResponse {
55
+ borrowers: string[];
56
+ pagination: PageResponse | undefined;
57
+ }
50
58
  export interface QueryHealthRequest {
51
59
  poolId: bigint;
52
60
  owner: string;
@@ -120,6 +128,8 @@ export declare const QueryAssetsRequest: MessageFns<QueryAssetsRequest>;
120
128
  export declare const QueryAssetsResponse: MessageFns<QueryAssetsResponse>;
121
129
  export declare const QuerySharesRequest: MessageFns<QuerySharesRequest>;
122
130
  export declare const QuerySharesResponse: MessageFns<QuerySharesResponse>;
131
+ export declare const QueryBorrowersRequest: MessageFns<QueryBorrowersRequest>;
132
+ export declare const QueryBorrowersResponse: MessageFns<QueryBorrowersResponse>;
123
133
  export declare const QueryHealthRequest: MessageFns<QueryHealthRequest>;
124
134
  export declare const QueryHealthResponse: MessageFns<QueryHealthResponse>;
125
135
  export declare const QueryBorrowRateRequest: MessageFns<QueryBorrowRateRequest>;
@@ -23,8 +23,8 @@ export interface MarginOptions {
23
23
  /** auto_repay applies this order's fill proceeds to same-denom debt. */
24
24
  autoRepay: boolean;
25
25
  /**
26
- * auto_repay_at_cancel repays this order's borrow when its owner cancels or
27
- * shrinks it, or a liquidation force-cancels it.
26
+ * auto_repay_at_cancel repays this order's borrow when its owner cancels it,
27
+ * or a liquidation force-cancels it.
28
28
  *
29
29
  * Must stay a plain bool: proto3 optional becomes a synthetic oneof, which
30
30
  * amino JSON rejects, making every margin order unsignable through EIP-712.
@@ -46,13 +46,13 @@ export interface MarginOrderState {
46
46
  /** auto_repay applies the order's fill proceeds to same-denom debt. */
47
47
  autoRepay: boolean;
48
48
  /**
49
- * auto_repay_at_cancel repays on an owner cancel or shrink, or a
49
+ * auto_repay_at_cancel repays on an owner cancel, or a
50
50
  * liquidation's forced cancel.
51
51
  */
52
52
  autoRepayAtCancel: boolean;
53
53
  /**
54
54
  * borrowed is what this order still owes on the borrow its placement opened,
55
- * and the cap on what a cancel or shrink may repay.
55
+ * and the cap on what a cancel may repay.
56
56
  */
57
57
  borrowed: Coin | undefined;
58
58
  }
@@ -1,5 +1,5 @@
1
1
  import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
2
- import { Feed, MarketStatus, OracleData, OracleMetadata, Params } from "./oracle";
2
+ import { Feed, LinearBridgeState, MarketStatus, OracleData, OracleMetadata, Params } from "./oracle";
3
3
  export declare const protobufPackage = "ault.oracle.v1";
4
4
  /** GenesisState defines the oracle module genesis state. */
5
5
  export interface GenesisState {
@@ -17,8 +17,22 @@ export interface GenesisState {
17
17
  marketStatuses: MarketStatus[];
18
18
  /** oracle_data is the latest canonical value per feed (runtime price state). */
19
19
  oracleData: FeedOracleData[];
20
- /** oracle_metadata is the internal bridge/replay state per feed. */
20
+ /**
21
+ * oracle_metadata is deprecated. Use bridge_sessions instead.
22
+ *
23
+ * @deprecated
24
+ */
21
25
  oracleMetadata: FeedOracleMetadata[];
26
+ /**
27
+ * bridge_sessions includes the default bridge (empty consumer) and named
28
+ * bridges.
29
+ */
30
+ bridgeSessions: FeedBridgeSession[];
31
+ }
32
+ export interface FeedBridgeSession {
33
+ feedId: string;
34
+ consumer: string;
35
+ state: LinearBridgeState | undefined;
22
36
  }
23
37
  /** FeedOracleData pairs a feed id with its stored OracleData for genesis. */
24
38
  export interface FeedOracleData {
@@ -31,6 +45,7 @@ export interface FeedOracleData {
31
45
  */
32
46
  export interface FeedOracleMetadata {
33
47
  feedId: string;
48
+ /** @deprecated */
34
49
  metadata: OracleMetadata | undefined;
35
50
  }
36
51
  /** FeedMapping is one feed_id -> vendor source_id binding. */
@@ -44,6 +59,7 @@ export interface MarketMapping {
44
59
  sourceId: string;
45
60
  }
46
61
  export declare const GenesisState: MessageFns<GenesisState>;
62
+ export declare const FeedBridgeSession: MessageFns<FeedBridgeSession>;
47
63
  export declare const FeedOracleData: MessageFns<FeedOracleData>;
48
64
  export declare const FeedOracleMetadata: MessageFns<FeedOracleMetadata>;
49
65
  export declare const FeedMapping: MessageFns<FeedMapping>;
@@ -36,17 +36,11 @@ export interface Feed {
36
36
  */
37
37
  marketId: string;
38
38
  /**
39
- * base_denom is the asset the price is for (e.g. "WETH", "SKYNIX"), aligned
40
- * with x/market naming. Set once at registration and immutable. An empty
41
- * base_denom marks a standalone feed (e.g. a perp mark price) that is read
42
- * only by feed_id and not registered in the denom-pair conversion index.
39
+ * base_denom is optional asset metadata (e.g. "WETH", "SKYNIX"). Set once
40
+ * at registration and immutable. Feeds are read by feed_id; several feeds
41
+ * may describe the same asset.
43
42
  */
44
43
  baseDenom: string;
45
- /**
46
- * quote_denom is the denom the price is expressed in (e.g. "USD", "KRW",
47
- * "USDC.e"). "USD" is the normalization hub. Set once and immutable.
48
- */
49
- quoteDenom: string;
50
44
  }
51
45
  /**
52
46
  * OracleData is the latest verified source data and bridge-adjusted canonical
@@ -68,7 +62,7 @@ export interface OracleData {
68
62
  /**
69
63
  * market_open is the price-confirmed trading flag: true once a
70
64
  * current-session price is applied while the market is open, reset when a
71
- * price is dropped during a close. GetOracle and GetOracleInDenom return an
65
+ * price is dropped during a close. GetOracle and GetOracleView return an
72
66
  * effective flag that also checks the live session and
73
67
  * MarketStatus.opened_at; they do not change this stored flag.
74
68
  */
@@ -118,11 +112,11 @@ export interface LinearBridgeState {
118
112
  targetPrice: string;
119
113
  }
120
114
  /**
121
- * OracleMetadata is internal per-feed state for bridge continuation and exact
122
- * carry-forward recognition. It is not returned by QueryOracle.
115
+ * Deprecated: OracleMetadata is legacy per-feed bridge state retained for
116
+ * migration. New bridge state is stored in BridgeSessions.
123
117
  */
124
118
  export interface OracleMetadata {
125
- /** bridge is the active linear bridge; absent when no bridge is active. */
119
+ /** Deprecated: bridge is read only from legacy state. */
126
120
  bridge: LinearBridgeState | undefined;
127
121
  }
128
122
  export declare const Params: MessageFns<Params>;
@@ -1,5 +1,6 @@
1
1
  import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
2
2
  import { PageRequest, PageResponse } from "../../../cosmos/base/query/v1beta1/pagination";
3
+ import { FeedMapping, MarketMapping } from "./genesis";
3
4
  import { Feed, MarketStatus, OracleData, Params } from "./oracle";
4
5
  export declare const protobufPackage = "ault.oracle.v1";
5
6
  /** QueryParamsRequest is the request for Query/Params. */
@@ -60,6 +61,50 @@ export interface QueryMarketStatusResponse {
60
61
  /** status is the market's trading-session status. */
61
62
  status: MarketStatus | undefined;
62
63
  }
64
+ /** QueryFeedMappingRequest is the request for Query/FeedMapping. */
65
+ export interface QueryFeedMappingRequest {
66
+ /** feed_id is the internal feed identifier. */
67
+ feedId: string;
68
+ }
69
+ /** QueryFeedMappingResponse is the response for Query/FeedMapping. */
70
+ export interface QueryFeedMappingResponse {
71
+ /** mapping is the feed's source id binding. */
72
+ mapping: FeedMapping | undefined;
73
+ }
74
+ /** QueryFeedMappingsRequest is the request for Query/FeedMappings. */
75
+ export interface QueryFeedMappingsRequest {
76
+ /** pagination defines the pagination in the request. */
77
+ pagination: PageRequest | undefined;
78
+ }
79
+ /** QueryFeedMappingsResponse is the response for Query/FeedMappings. */
80
+ export interface QueryFeedMappingsResponse {
81
+ /** mappings is the paginated list of feed bindings. */
82
+ mappings: FeedMapping[];
83
+ /** pagination defines the pagination in the response. */
84
+ pagination: PageResponse | undefined;
85
+ }
86
+ /** QueryMarketMappingRequest is the request for Query/MarketMapping. */
87
+ export interface QueryMarketMappingRequest {
88
+ /** market_id is the internal market identifier. */
89
+ marketId: string;
90
+ }
91
+ /** QueryMarketMappingResponse is the response for Query/MarketMapping. */
92
+ export interface QueryMarketMappingResponse {
93
+ /** mapping is the market's source id binding. */
94
+ mapping: MarketMapping | undefined;
95
+ }
96
+ /** QueryMarketMappingsRequest is the request for Query/MarketMappings. */
97
+ export interface QueryMarketMappingsRequest {
98
+ /** pagination defines the pagination in the request. */
99
+ pagination: PageRequest | undefined;
100
+ }
101
+ /** QueryMarketMappingsResponse is the response for Query/MarketMappings. */
102
+ export interface QueryMarketMappingsResponse {
103
+ /** mappings is the paginated list of market bindings. */
104
+ mappings: MarketMapping[];
105
+ /** pagination defines the pagination in the response. */
106
+ pagination: PageResponse | undefined;
107
+ }
63
108
  export declare const QueryParamsRequest: MessageFns<QueryParamsRequest>;
64
109
  export declare const QueryParamsResponse: MessageFns<QueryParamsResponse>;
65
110
  export declare const QueryTrustedSignersRequest: MessageFns<QueryTrustedSignersRequest>;
@@ -72,6 +117,14 @@ export declare const QueryOracleRequest: MessageFns<QueryOracleRequest>;
72
117
  export declare const QueryOracleResponse: MessageFns<QueryOracleResponse>;
73
118
  export declare const QueryMarketStatusRequest: MessageFns<QueryMarketStatusRequest>;
74
119
  export declare const QueryMarketStatusResponse: MessageFns<QueryMarketStatusResponse>;
120
+ export declare const QueryFeedMappingRequest: MessageFns<QueryFeedMappingRequest>;
121
+ export declare const QueryFeedMappingResponse: MessageFns<QueryFeedMappingResponse>;
122
+ export declare const QueryFeedMappingsRequest: MessageFns<QueryFeedMappingsRequest>;
123
+ export declare const QueryFeedMappingsResponse: MessageFns<QueryFeedMappingsResponse>;
124
+ export declare const QueryMarketMappingRequest: MessageFns<QueryMarketMappingRequest>;
125
+ export declare const QueryMarketMappingResponse: MessageFns<QueryMarketMappingResponse>;
126
+ export declare const QueryMarketMappingsRequest: MessageFns<QueryMarketMappingsRequest>;
127
+ export declare const QueryMarketMappingsResponse: MessageFns<QueryMarketMappingsResponse>;
75
128
  type Builtin = Date | Function | Uint8Array | string | number | boolean | bigint | undefined;
76
129
  export type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
77
130
  [K in keyof T]?: DeepPartial<T[K]>;
@@ -44,13 +44,10 @@ export interface MsgSetFeed {
44
44
  */
45
45
  marketId: string;
46
46
  /**
47
- * base_denom / quote_denom identify the price pair (e.g. base "WETH", quote
48
- * "USD"). Honored only at creation; immutable afterwards. An empty base_denom
49
- * marks a standalone feed (e.g. a perp) that is not added to the denom-pair
50
- * conversion index.
47
+ * base_denom is optional asset metadata. Honored only at creation and
48
+ * immutable afterwards. All feeds are read by feed_id.
51
49
  */
52
50
  baseDenom: string;
53
- quoteDenom: string;
54
51
  }
55
52
  /** MsgSetFeedResponse is the response for MsgSetFeed. */
56
53
  export interface MsgSetFeedResponse {
@@ -39,7 +39,7 @@ export interface PerpetualMarketConfig {
39
39
  marginTiers: MarginTier[];
40
40
  /**
41
41
  * mark_price_max_change_rate bounds one mark price update relative to the
42
- * previous mark.
42
+ * previous mark. Zero disables the bound.
43
43
  */
44
44
  markPriceMaxChangeRate: string;
45
45
  /**
@@ -103,11 +103,23 @@ export interface MarkPriceState {
103
103
  * the index or advanced from at least two price candidates.
104
104
  */
105
105
  lastUpdateTime: bigint;
106
+ /** clamped reports whether the movement clamp bound the last advance. */
107
+ clamped: boolean;
108
+ /**
109
+ * previous_mark_price is the mark before the latest sampled EndBlock update.
110
+ * ADL uses it only in the block after last_change_height.
111
+ */
112
+ previousMarkPrice: string;
113
+ /**
114
+ * last_change_height is the block height at which mark_price last
115
+ * changed.
116
+ */
117
+ lastChangeHeight: bigint;
106
118
  }
107
119
  /**
108
- * ImpactPriceState is one market's impact prices from the latest accepted vote
109
- * extension. A zero side means the book had insufficient depth and contributes
110
- * no funding premium.
120
+ * ImpactPriceState is one market's impact prices from the latest accepted
121
+ * system transaction. A zero side means the book had insufficient depth and
122
+ * contributes no funding premium.
111
123
  */
112
124
  export interface ImpactPriceState {
113
125
  bid: string;
@@ -64,6 +64,40 @@ export interface MsgLiquidate {
64
64
  }
65
65
  export interface MsgLiquidateResponse {
66
66
  }
67
+ /**
68
+ * MsgExecuteADL supplies the markets of underwater accounts as ADL hints.
69
+ * An empty market list means no ADL.
70
+ */
71
+ export interface MsgExecuteADL {
72
+ authority: string;
73
+ marketIds: Uint8Array[];
74
+ }
75
+ export interface MsgExecuteADLResponse {
76
+ }
77
+ /**
78
+ * MsgRecordImpactPrices carries prices computed from the previous committed
79
+ * order book.
80
+ */
81
+ export interface MsgRecordImpactPrices {
82
+ authority: string;
83
+ observations: ImpactPriceObservation[];
84
+ }
85
+ export interface ImpactPriceObservation {
86
+ marketId: Uint8Array;
87
+ bid: string;
88
+ ask: string;
89
+ }
90
+ export interface MsgRecordImpactPricesResponse {
91
+ }
92
+ /** MsgSettleMarket closes every position in a halted market at settle_price. */
93
+ export interface MsgSettleMarket {
94
+ /** authority is the governance account or a market coordinator. */
95
+ authority: string;
96
+ marketId: Uint8Array;
97
+ settlePrice: string;
98
+ }
99
+ export interface MsgSettleMarketResponse {
100
+ }
67
101
  export declare const MsgDeposit: MessageFns<MsgDeposit>;
68
102
  export declare const MsgDepositResponse: MessageFns<MsgDepositResponse>;
69
103
  export declare const MsgWithdraw: MessageFns<MsgWithdraw>;
@@ -76,6 +110,13 @@ export declare const MsgUpdateParams: MessageFns<MsgUpdateParams>;
76
110
  export declare const MsgUpdateParamsResponse: MessageFns<MsgUpdateParamsResponse>;
77
111
  export declare const MsgLiquidate: MessageFns<MsgLiquidate>;
78
112
  export declare const MsgLiquidateResponse: MessageFns<MsgLiquidateResponse>;
113
+ export declare const MsgExecuteADL: MessageFns<MsgExecuteADL>;
114
+ export declare const MsgExecuteADLResponse: MessageFns<MsgExecuteADLResponse>;
115
+ export declare const MsgRecordImpactPrices: MessageFns<MsgRecordImpactPrices>;
116
+ export declare const ImpactPriceObservation: MessageFns<ImpactPriceObservation>;
117
+ export declare const MsgRecordImpactPricesResponse: MessageFns<MsgRecordImpactPricesResponse>;
118
+ export declare const MsgSettleMarket: MessageFns<MsgSettleMarket>;
119
+ export declare const MsgSettleMarketResponse: MessageFns<MsgSettleMarketResponse>;
79
120
  type Builtin = Date | Function | Uint8Array | string | number | boolean | bigint | undefined;
80
121
  export type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
81
122
  [K in keyof T]?: DeepPartial<T[K]>;
@@ -14,7 +14,10 @@ export interface Params {
14
14
  enabledVaultCreations: EnabledVaultCreation[];
15
15
  maxManagementFeeBps: number;
16
16
  maxPerformanceFeeBps: number;
17
- /** vault_config_update_delay must be positive. */
17
+ /**
18
+ * vault_config_update_delay is the wait before applying a config update; zero
19
+ * applies immediately.
20
+ */
18
21
  vaultConfigUpdateDelay: Duration | undefined;
19
22
  forcedCloseBps: number;
20
23
  maxExitFeeBps: number;
@@ -1,7 +1,7 @@
1
1
  import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
2
2
  import { PageRequest, PageResponse } from "../../../cosmos/base/query/v1beta1/pagination";
3
3
  import { Params } from "./params";
4
- import { FundWindow, LendingVaultTerms, OracleFeed, PendingVaultConfigUpdate, Position, TradingVaultTerms, VaultConfig, VaultRelationship, VaultStatus, VaultType } from "./vault";
4
+ import { Description, FundWindow, LendingVaultTerms, OracleFeed, PendingVaultConfigUpdate, Position, TradingVaultTerms, VaultConfig, VaultRelationship, VaultStatus, VaultType } from "./vault";
5
5
  export declare const protobufPackage = "ault.vault.v1";
6
6
  /** QueryParamsRequest is the request for module parameters. */
7
7
  export interface QueryParamsRequest {
@@ -29,6 +29,7 @@ export interface VaultResponse {
29
29
  pendingConfigUpdate: PendingVaultConfigUpdate | undefined;
30
30
  lendingTerms?: LendingVaultTerms | undefined;
31
31
  tradingTerms?: TradingVaultTerms | undefined;
32
+ description: Description | undefined;
32
33
  }
33
34
  /** QueryVaultResponse returns a vault public view. */
34
35
  export interface QueryVaultResponse {
@@ -1,7 +1,7 @@
1
1
  import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
2
2
  import { Coin } from "../../../cosmos/base/v1beta1/coin";
3
3
  import { Params } from "./params";
4
- import { FundWindow, LendingVaultConfig, LendingVaultTerms, OracleFeed, TradingVaultConfig, TradingVaultTerms, VaultRelationship, VaultStatus, VaultType } from "./vault";
4
+ import { Description, FundWindow, LendingVaultConfig, LendingVaultTerms, OracleFeed, TradingVaultConfig, TradingVaultTerms, VaultRelationship, VaultStatus, VaultType } from "./vault";
5
5
  export declare const protobufPackage = "ault.vault.v1";
6
6
  /**
7
7
  * LegacyFeeType is the v3.0.0-rc.2 vault fee type.
@@ -42,6 +42,7 @@ export interface MsgCreateVault {
42
42
  * vault.
43
43
  */
44
44
  initialDeposit: Coin | undefined;
45
+ description: Description | undefined;
45
46
  }
46
47
  /** MsgCreateVaultResponse returns the created vault identity. */
47
48
  export interface MsgCreateVaultResponse {
@@ -63,6 +63,7 @@ export interface Vault {
63
63
  fundWindow: FundWindow | undefined;
64
64
  lending?: LendingVaultTerms | undefined;
65
65
  trading?: TradingVaultTerms | undefined;
66
+ description: Description | undefined;
66
67
  }
67
68
  /** LendingVaultTerms defines immutable lending denomination and fees. */
68
69
  export interface LendingVaultTerms {
@@ -111,13 +112,15 @@ export interface RedemptionRequest {
111
112
  * scaled by 10^18.
112
113
  */
113
114
  depositValue: string;
114
- /**
115
- * awaiting_liquidity means the previous liquidity action should be checked
116
- * once before retrying.
117
- */
115
+ /** awaiting_liquidity checks the previous close before retrying. */
118
116
  awaitingLiquidity: boolean;
119
117
  /** waive_exit_fee preserves eligibility when all issued shares were queued. */
120
118
  waiveExitFee: boolean;
119
+ /**
120
+ * best_effort allows normal trading if cash covers the payout at submission.
121
+ * cash is not reserved; cleared if settlement cannot complete.
122
+ */
123
+ bestEffort: boolean;
121
124
  }
122
125
  /** VaultConfig wraps type-specific vault configuration. */
123
126
  export interface VaultConfig {
@@ -165,6 +168,11 @@ export interface OracleFeed {
165
168
  */
166
169
  feedId: string;
167
170
  }
171
+ /** Description contains immutable vault display metadata. */
172
+ export interface Description {
173
+ name: string;
174
+ details: string;
175
+ }
168
176
  export declare const Vault: MessageFns<Vault>;
169
177
  export declare const LendingVaultTerms: MessageFns<LendingVaultTerms>;
170
178
  export declare const TradingVaultTerms: MessageFns<TradingVaultTerms>;
@@ -180,6 +188,7 @@ export declare const LendingPoolConfig: MessageFns<LendingPoolConfig>;
180
188
  export declare const AllowedMarkets: MessageFns<AllowedMarkets>;
181
189
  export declare const TradingVaultConfig: MessageFns<TradingVaultConfig>;
182
190
  export declare const OracleFeed: MessageFns<OracleFeed>;
191
+ export declare const Description: MessageFns<Description>;
183
192
  type Builtin = Date | Function | Uint8Array | string | number | boolean | bigint | undefined;
184
193
  export type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
185
194
  [K in keyof T]?: DeepPartial<T[K]>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ault-sdk-ts",
3
- "version": "0.17.0",
3
+ "version": "0.18.0",
4
4
  "description": "TypeScript SDK for the Ault blockchain with high-level transaction methods and REST query clients",
5
5
  "keywords": [
6
6
  "ault",