ault-sdk-ts 0.0.2-alpha.22 → 0.0.2-alpha.23
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-msgs.d.ts +2 -3
- package/dist/eip712/msg.generated.d.ts +10 -4
- package/dist/eip712/registry.d.ts +2 -0
- package/dist/high-level/types.d.ts +10 -6
- package/dist/index.cjs +517 -306
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +517 -306
- package/dist/index.js.map +1 -1
- package/dist/proto/gen/ault/accountx/v1/query.d.ts +32 -0
- package/dist/proto/gen/ault/agent/v1/tx.d.ts +4 -5
- package/dist/proto/gen/ault/clob/v1/genesis.d.ts +0 -7
- package/dist/proto/gen/ault/clob/v1/tx.d.ts +25 -3
- package/dist/proto/gen/ault/license/v1/genesis.d.ts +1 -26
- package/dist/proto/gen/ault/license/v1/license.d.ts +0 -14
- package/dist/proto/gen/ault/license/v1/query.d.ts +44 -18
- package/dist/proto/gen/ault/market/v1/market.d.ts +1 -0
- package/dist/proto/gen/ault/market/v1/tx.d.ts +9 -0
- package/dist/proto/gen/ault/miner/v1/genesis.d.ts +52 -84
- package/dist/proto/gen/ault/miner/v1/miner.d.ts +10 -45
- package/dist/proto/gen/ault/miner/v1/query.d.ts +0 -13
- package/dist/proto/gen/ault/spot/v1/genesis.d.ts +2 -2
- package/dist/proto/gen/ault/spot/v1/order.d.ts +12 -4
- package/dist/proto/gen/ault/tokenregistry/v1/genesis.d.ts +3 -3
- package/dist/proto/gen/ault/tokenregistry/v1/query.d.ts +2 -2
- package/dist/proto/gen/ault/tokenregistry/v1/tokenregistry.d.ts +24 -15
- package/dist/proto/gen/ault/tokenregistry/v1/tx.d.ts +1 -1
- package/dist/rest/dex-types.generated.d.ts +12 -27
- package/dist/rest/dex.generated.d.ts +24 -52
- package/dist/rest/license.d.ts +1 -2
- package/dist/rest/types.d.ts +1 -2
- package/package.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
2
|
-
import {
|
|
2
|
+
import { SpotOrderRecord } from "./order";
|
|
3
3
|
export declare const protobufPackage = "ault.spot.v1";
|
|
4
4
|
export interface GenesisState {
|
|
5
|
-
orders:
|
|
5
|
+
orders: SpotOrderRecord[];
|
|
6
6
|
}
|
|
7
7
|
export declare const GenesisState: MessageFns<GenesisState>;
|
|
8
8
|
type Builtin = Date | Function | Uint8Array | string | number | boolean | bigint | undefined;
|
|
@@ -2,20 +2,26 @@ import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
|
2
2
|
import { FeeInfo } from "../../clob/v1/fee";
|
|
3
3
|
export declare const protobufPackage = "ault.spot.v1";
|
|
4
4
|
export interface SpotOrder {
|
|
5
|
-
id: Uint8Array;
|
|
6
5
|
orderer: Uint8Array;
|
|
7
6
|
marketId: Uint8Array;
|
|
8
7
|
buy: boolean;
|
|
9
8
|
price: string;
|
|
10
|
-
quantity: string;
|
|
11
|
-
openQuantity: string;
|
|
12
|
-
remainingDeposit: string;
|
|
13
9
|
deadline: Date | undefined;
|
|
14
10
|
tick: bigint;
|
|
15
11
|
postOnly: boolean;
|
|
16
12
|
/** fee_info contains fee distribution metadata. */
|
|
17
13
|
feeInfo: FeeInfo | undefined;
|
|
18
14
|
}
|
|
15
|
+
export interface SpotOrderState {
|
|
16
|
+
quantity: string;
|
|
17
|
+
openQuantity: string;
|
|
18
|
+
remainingDeposit: string;
|
|
19
|
+
}
|
|
20
|
+
export interface SpotOrderRecord {
|
|
21
|
+
id: Uint8Array;
|
|
22
|
+
order: SpotOrder | undefined;
|
|
23
|
+
state: SpotOrderState | undefined;
|
|
24
|
+
}
|
|
19
25
|
/**
|
|
20
26
|
* ConditionalSpotOrder is a pending order that activates when trigger
|
|
21
27
|
* conditions are met.
|
|
@@ -44,6 +50,8 @@ export interface ConditionalSpotOrder {
|
|
|
44
50
|
feeInfo: FeeInfo | undefined;
|
|
45
51
|
}
|
|
46
52
|
export declare const SpotOrder: MessageFns<SpotOrder>;
|
|
53
|
+
export declare const SpotOrderState: MessageFns<SpotOrderState>;
|
|
54
|
+
export declare const SpotOrderRecord: MessageFns<SpotOrderRecord>;
|
|
47
55
|
export declare const ConditionalSpotOrder: MessageFns<ConditionalSpotOrder>;
|
|
48
56
|
type Builtin = Date | Function | Uint8Array | string | number | boolean | bigint | undefined;
|
|
49
57
|
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 {} ? {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
2
|
-
import {
|
|
2
|
+
import { Params, ResetState, TokenPair, TransferLimit } from "./tokenregistry";
|
|
3
3
|
export declare const protobufPackage = "ault.tokenregistry.v1";
|
|
4
4
|
/** GenesisState defines the tokenregistry module genesis state. */
|
|
5
5
|
export interface GenesisState {
|
|
@@ -7,8 +7,8 @@ export interface GenesisState {
|
|
|
7
7
|
params: Params | undefined;
|
|
8
8
|
/** token_pairs is the initial token pair set. */
|
|
9
9
|
tokenPairs: TokenPair[];
|
|
10
|
-
/**
|
|
11
|
-
|
|
10
|
+
/** transfer_limits is the initial transfer limit set. */
|
|
11
|
+
transferLimits: TransferLimit[];
|
|
12
12
|
/** reset_state tracks the last hourly/daily reset timestamps. */
|
|
13
13
|
resetState: ResetState | undefined;
|
|
14
14
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
2
2
|
import { PageRequest, PageResponse } from "../../../cosmos/base/query/v1beta1/pagination";
|
|
3
|
-
import {
|
|
3
|
+
import { Params, TokenPair, TransferLimit } from "./tokenregistry";
|
|
4
4
|
export declare const protobufPackage = "ault.tokenregistry.v1";
|
|
5
5
|
/** QueryTokenPairRequest defines the request for Query/TokenPair. */
|
|
6
6
|
export interface QueryTokenPairRequest {
|
|
@@ -46,7 +46,7 @@ export interface QueryTransferLimitRequest {
|
|
|
46
46
|
/** QueryTransferLimitResponse defines the response for Query/TransferLimit. */
|
|
47
47
|
export interface QueryTransferLimitResponse {
|
|
48
48
|
/** transfer_limit is the transfer limit config and current capacity. */
|
|
49
|
-
transferLimit:
|
|
49
|
+
transferLimit: TransferLimit | undefined;
|
|
50
50
|
}
|
|
51
51
|
export declare const QueryTokenPairRequest: MessageFns<QueryTokenPairRequest>;
|
|
52
52
|
export declare const QueryTokenPairResponse: MessageFns<QueryTokenPairResponse>;
|
|
@@ -23,13 +23,6 @@ export interface Limiter {
|
|
|
23
23
|
*/
|
|
24
24
|
baselineSupplyBps: number;
|
|
25
25
|
}
|
|
26
|
-
/** TransferLimitConfig wraps the hourly and daily limiters for a token pair. */
|
|
27
|
-
export interface TransferLimitConfig {
|
|
28
|
-
/** hourly defines the hourly transfer-out rate limit. */
|
|
29
|
-
hourly: Limiter | undefined;
|
|
30
|
-
/** daily defines the daily transfer-out rate limit. */
|
|
31
|
-
daily: Limiter | undefined;
|
|
32
|
-
}
|
|
33
26
|
/** TokenPair defines an ERC20 <> Cosmos denom pair. */
|
|
34
27
|
export interface TokenPair {
|
|
35
28
|
/** erc20_address is the ERC20 contract address (0x...). */
|
|
@@ -45,18 +38,33 @@ export interface TokenPair {
|
|
|
45
38
|
enabled: boolean;
|
|
46
39
|
}
|
|
47
40
|
/**
|
|
48
|
-
*
|
|
49
|
-
*
|
|
41
|
+
* TransferLimitConfig stores the transfer limit config. only exists for denoms
|
|
42
|
+
* that have a transfer limit.
|
|
50
43
|
*/
|
|
51
|
-
export interface
|
|
52
|
-
/**
|
|
53
|
-
|
|
44
|
+
export interface TransferLimitConfig {
|
|
45
|
+
/** hourly defines the hourly transfer-out rate limit. */
|
|
46
|
+
hourly: Limiter | undefined;
|
|
47
|
+
/** daily defines the daily transfer-out rate limit. */
|
|
48
|
+
daily: Limiter | undefined;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* TransferLimitState stores the current remaining capacity. only exists for
|
|
52
|
+
* denoms that have a transfer limit.
|
|
53
|
+
*/
|
|
54
|
+
export interface TransferLimitState {
|
|
54
55
|
/** hourly_remaining is the remaining outflow capacity for the current hour. */
|
|
55
56
|
hourlyRemaining: string;
|
|
56
57
|
/** daily_remaining is the remaining outflow capacity for the current day. */
|
|
57
58
|
dailyRemaining: string;
|
|
58
|
-
|
|
59
|
+
}
|
|
60
|
+
/** TransferLimit wraps the full transfer limit view for a denom. */
|
|
61
|
+
export interface TransferLimit {
|
|
62
|
+
/** denom is the cosmos denom. */
|
|
63
|
+
denom: string;
|
|
64
|
+
/** config is the transfer limit config for the denom. */
|
|
59
65
|
config: TransferLimitConfig | undefined;
|
|
66
|
+
/** state is the current remaining transfer capacity for the denom. */
|
|
67
|
+
state: TransferLimitState | undefined;
|
|
60
68
|
}
|
|
61
69
|
/** ResetState tracks the last time boundaries for transfer limit resets. */
|
|
62
70
|
export interface ResetState {
|
|
@@ -91,9 +99,10 @@ export interface PendingTransfer {
|
|
|
91
99
|
amount: string;
|
|
92
100
|
}
|
|
93
101
|
export declare const Limiter: MessageFns<Limiter>;
|
|
94
|
-
export declare const TransferLimitConfig: MessageFns<TransferLimitConfig>;
|
|
95
102
|
export declare const TokenPair: MessageFns<TokenPair>;
|
|
96
|
-
export declare const
|
|
103
|
+
export declare const TransferLimitConfig: MessageFns<TransferLimitConfig>;
|
|
104
|
+
export declare const TransferLimitState: MessageFns<TransferLimitState>;
|
|
105
|
+
export declare const TransferLimit: MessageFns<TransferLimit>;
|
|
97
106
|
export declare const ResetState: MessageFns<ResetState>;
|
|
98
107
|
export declare const Params: MessageFns<Params>;
|
|
99
108
|
export declare const PendingTransfer: MessageFns<PendingTransfer>;
|
|
@@ -63,7 +63,7 @@ export interface MsgSetTransferLimit {
|
|
|
63
63
|
sender: string;
|
|
64
64
|
/** erc20_address is the ERC20 contract address (0x...). */
|
|
65
65
|
erc20Address: string;
|
|
66
|
-
/** transfer_limit defines the
|
|
66
|
+
/** transfer_limit defines the transfer rate limit config. */
|
|
67
67
|
transferLimit: TransferLimitConfig | undefined;
|
|
68
68
|
}
|
|
69
69
|
/** MsgSetTransferLimitResponse is the response for MsgSetTransferLimit. */
|
|
@@ -405,34 +405,19 @@ export declare const GetTradingFeesResponse: zod.ZodRecord<zod.ZodString, zod.Zo
|
|
|
405
405
|
info: zod.ZodObject<{}, zod.z.core.$loose>;
|
|
406
406
|
}, zod.z.core.$strip>>;
|
|
407
407
|
/**
|
|
408
|
-
*
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
average taker slippage, and a per-market breakdown.
|
|
408
|
+
* Protocol-wide stats overview for a rolling window: quote volume,
|
|
409
|
+
estimated fees, trade/trader counts, active markets, an active-traders
|
|
410
|
+
DAU, average taker slippage, and a per-market breakdown.
|
|
412
411
|
|
|
413
|
-
Volume
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
basis points, scoped to symbol-mapped markets (a benchmarked fill on a
|
|
423
|
-
market absent from the symbol map does not contribute). It is null when
|
|
424
|
-
the window has no benchmarkable taker fill on a mapped market or when the
|
|
425
|
-
contributing fills span more than one quote asset (it never mixes
|
|
426
|
-
notionals across quotes). `depositUsdcVolume24h` and `builderCodesFee24h`
|
|
427
|
-
are reserved and currently always null.
|
|
428
|
-
|
|
429
|
-
Reconciliation note: `tradeCount` and `traderCount` are computed book-wide
|
|
430
|
-
over the window, while `quoteVolume`, `estimatedFee`, `averageSlippageBps`,
|
|
431
|
-
`markets[]`, and `activeMarkets` cover only markets present in the symbol
|
|
432
|
-
map. During symbol-map lag or right after a market is listed, the two need
|
|
433
|
-
not reconcile (the sum of per-market trade counts can trail
|
|
434
|
-
`totals.tradeCount`, and a benchmarked fill on an unmapped market is
|
|
435
|
-
excluded from the book-wide slippage figure).
|
|
412
|
+
Volume shares the `price_history` source and DB-side cutoff the 24h
|
|
413
|
+
ticker uses. `estimatedFee` is `quoteVolume × takerFeeRate` (an
|
|
414
|
+
estimate, not booked revenue). `dailyActiveUsers` currently aliases
|
|
415
|
+
`traderCount`. `quoteVolume`/`estimatedFee`/`quoteAsset` and
|
|
416
|
+
`averageSlippageBps` are null when contributors span more than one
|
|
417
|
+
quote asset. `depositUsdcVolume24h` and `builderCodesFee24h` are
|
|
418
|
+
reserved and always null. `tradeCount`/`traderCount` are book-wide;
|
|
419
|
+
the rest cover symbol-mapped markets, so the two need not reconcile
|
|
420
|
+
during symbol-map lag.
|
|
436
421
|
|
|
437
422
|
* @summary Protocol stats overview
|
|
438
423
|
*/
|
|
@@ -337,33 +337,24 @@ export declare const StatsResponseWindow: {
|
|
|
337
337
|
export interface StatsTotals {
|
|
338
338
|
/**
|
|
339
339
|
* Total quote volume over the window as a canonical decimal string.
|
|
340
|
-
Null when
|
|
341
|
-
|
|
342
|
-
`quoteVolume`, `estimatedFee`, and `quoteAsset` are null together in
|
|
343
|
-
that case.
|
|
340
|
+
Null when contributing markets span more than one quote (then
|
|
341
|
+
`estimatedFee` and `quoteAsset` are null too).
|
|
344
342
|
|
|
345
343
|
* @nullable
|
|
346
344
|
* @pattern ^-?\d+(\.\d+)?$
|
|
347
345
|
*/
|
|
348
346
|
quoteVolume: string | null;
|
|
349
347
|
/**
|
|
350
|
-
*
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
no market had volume in the window (an idle window — then
|
|
354
|
-
`quoteVolume` and `estimatedFee` are "0" rather than null, since a
|
|
355
|
-
zero total is well-defined regardless of quote). To distinguish the
|
|
356
|
-
two null causes, read `quoteVolume`: null means multi-quote, "0"
|
|
357
|
-
means idle.
|
|
348
|
+
* Shared quote ticker of the markets that had volume. Null when they
|
|
349
|
+
span more than one quote, or on an idle window (then `quoteVolume`
|
|
350
|
+
is "0"; a null `quoteVolume` means multi-quote).
|
|
358
351
|
|
|
359
352
|
* @nullable
|
|
360
353
|
*/
|
|
361
354
|
quoteAsset: string | null;
|
|
362
355
|
/**
|
|
363
|
-
* Estimated total fees (`Σ quoteVolume × takerFeeRate`) as a
|
|
364
|
-
|
|
365
|
-
revenue. Null when the markets that had volume span more than one
|
|
366
|
-
quote (see `quoteVolume`).
|
|
356
|
+
* Estimated total fees (`Σ quoteVolume × takerFeeRate`) as a decimal
|
|
357
|
+
string; an estimate, not booked revenue. Null on multi-quote.
|
|
367
358
|
|
|
368
359
|
* @nullable
|
|
369
360
|
* @pattern ^-?\d+(\.\d+)?$
|
|
@@ -376,20 +367,16 @@ export interface StatsTotals {
|
|
|
376
367
|
/** Number of markets with at least one fill in the window. */
|
|
377
368
|
activeMarkets: number;
|
|
378
369
|
/**
|
|
379
|
-
* Distinct trading addresses in the window
|
|
380
|
-
|
|
381
|
-
as a separate nullable field so a future precise DAU source can
|
|
382
|
-
diverge without an API change. Never null today.
|
|
370
|
+
* Distinct trading addresses in the window. Currently an alias of
|
|
371
|
+
`traderCount`; separate so a precise DAU source can diverge later.
|
|
383
372
|
|
|
384
373
|
* @nullable
|
|
385
374
|
*/
|
|
386
375
|
dailyActiveUsers: number | null;
|
|
387
376
|
/**
|
|
388
|
-
* Volume-weighted taker slippage (fill vs book-mid) in
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
more than one quote asset (the weights are quote-denominated, so a
|
|
392
|
-
single figure across quotes would mix notionals).
|
|
377
|
+
* Volume-weighted taker slippage (fill vs book-mid) in bps as a
|
|
378
|
+
decimal string. Null with no benchmarkable taker fill or when
|
|
379
|
+
fills span more than one quote.
|
|
393
380
|
|
|
394
381
|
* @nullable
|
|
395
382
|
* @pattern ^-?\d+(\.\d+)?$
|
|
@@ -1432,34 +1419,19 @@ export type getTradingFeesResponse = getTradingFeesResponseSuccess | getTradingF
|
|
|
1432
1419
|
export declare const getGetTradingFeesUrl: () => string;
|
|
1433
1420
|
export declare const getTradingFees: (options?: RequestInit) => Promise<getTradingFeesResponse>;
|
|
1434
1421
|
/**
|
|
1435
|
-
*
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
average taker slippage, and a per-market breakdown.
|
|
1422
|
+
* Protocol-wide stats overview for a rolling window: quote volume,
|
|
1423
|
+
estimated fees, trade/trader counts, active markets, an active-traders
|
|
1424
|
+
DAU, average taker slippage, and a per-market breakdown.
|
|
1439
1425
|
|
|
1440
|
-
Volume
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
basis points, scoped to symbol-mapped markets (a benchmarked fill on a
|
|
1450
|
-
market absent from the symbol map does not contribute). It is null when
|
|
1451
|
-
the window has no benchmarkable taker fill on a mapped market or when the
|
|
1452
|
-
contributing fills span more than one quote asset (it never mixes
|
|
1453
|
-
notionals across quotes). `depositUsdcVolume24h` and `builderCodesFee24h`
|
|
1454
|
-
are reserved and currently always null.
|
|
1455
|
-
|
|
1456
|
-
Reconciliation note: `tradeCount` and `traderCount` are computed book-wide
|
|
1457
|
-
over the window, while `quoteVolume`, `estimatedFee`, `averageSlippageBps`,
|
|
1458
|
-
`markets[]`, and `activeMarkets` cover only markets present in the symbol
|
|
1459
|
-
map. During symbol-map lag or right after a market is listed, the two need
|
|
1460
|
-
not reconcile (the sum of per-market trade counts can trail
|
|
1461
|
-
`totals.tradeCount`, and a benchmarked fill on an unmapped market is
|
|
1462
|
-
excluded from the book-wide slippage figure).
|
|
1426
|
+
Volume shares the `price_history` source and DB-side cutoff the 24h
|
|
1427
|
+
ticker uses. `estimatedFee` is `quoteVolume × takerFeeRate` (an
|
|
1428
|
+
estimate, not booked revenue). `dailyActiveUsers` currently aliases
|
|
1429
|
+
`traderCount`. `quoteVolume`/`estimatedFee`/`quoteAsset` and
|
|
1430
|
+
`averageSlippageBps` are null when contributors span more than one
|
|
1431
|
+
quote asset. `depositUsdcVolume24h` and `builderCodesFee24h` are
|
|
1432
|
+
reserved and always null. `tradeCount`/`traderCount` are book-wide;
|
|
1433
|
+
the rest cover symbol-mapped markets, so the two need not reconcile
|
|
1434
|
+
during symbol-map lag.
|
|
1463
1435
|
|
|
1464
1436
|
* @summary Protocol stats overview
|
|
1465
1437
|
*/
|
package/dist/rest/license.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type RestContext } from "./context";
|
|
2
|
-
import {
|
|
2
|
+
import { QueryApprovedMembersResponse, QueryBalanceResponse, QueryIsActiveResponse, QueryIsApprovedMemberResponse, QueryIsKYCApproverResponse, QueryKYCApproversResponse, QueryLicenseResponse, QueryLicensesByOwnerResponse, QueryLicensesResponse, QueryMintersResponse, QueryOwnedByResponse, QueryOwnerResponse, QueryParamsResponse, QueryTokenByOwnerIndexResponse, QueryTotalSupplyResponse, QueryTransferUnlockTimeResponse } from "../proto/gen/ault/license/v1/query";
|
|
3
3
|
import { LicenseStatus } from "../proto/gen/ault/license/v1/license";
|
|
4
4
|
import type { PaginationParams } from "./types";
|
|
5
5
|
export { LicenseStatus } from "../proto/gen/ault/license/v1/license";
|
|
@@ -37,6 +37,5 @@ export interface LicenseApi {
|
|
|
37
37
|
}) => Promise<QueryApprovedMembersResponse>;
|
|
38
38
|
isApprovedMember: (address: string) => Promise<QueryIsApprovedMemberResponse>;
|
|
39
39
|
isKycApprover: (address: string) => Promise<QueryIsKYCApproverResponse>;
|
|
40
|
-
getActiveLicenseCountAt: (owner: string, snapshotTime: string) => Promise<QueryActiveLicenseCountAtResponse>;
|
|
41
40
|
}
|
|
42
41
|
export declare function createLicenseApi(context: RestContext): LicenseApi;
|
package/dist/rest/types.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
import { License as ProtoLicense, LicenseStatus as ProtoLicenseStatus, Params as ProtoLicenseParams } from "../proto/gen/ault/license/v1/license";
|
|
3
3
|
import { EpochInfo as ProtoEpochInfo, MiningDelegation as ProtoMiningDelegation, OperatorInfo as ProtoOperatorInfo, Params as ProtoMinerParams } from "../proto/gen/ault/miner/v1/miner";
|
|
4
|
-
import {
|
|
4
|
+
import { QueryApprovedMembersResponse as ProtoApprovedMembersResponse, QueryBalanceResponse as ProtoBalanceResponse, QueryIsActiveResponse as ProtoIsActiveResponse, QueryIsApprovedMemberResponse as ProtoIsApprovedMemberResponse, QueryIsKYCApproverResponse as ProtoIsKycApproverResponse, QueryKYCApproversResponse as ProtoKycApproversResponse, QueryLicenseResponse as ProtoLicenseResponse, QueryLicensesByOwnerResponse as ProtoLicensesByOwnerResponse, QueryLicensesResponse as ProtoLicensesResponse, QueryMintersResponse as ProtoMintersResponse, QueryOwnedByResponse as ProtoOwnedByResponse, QueryOwnerResponse as ProtoOwnerResponse, QueryParamsResponse as ProtoLicenseParamsResponse, QueryTokenByOwnerIndexResponse as ProtoTokenOfOwnerByIndexResponse, QueryTotalSupplyResponse as ProtoTotalSupplyResponse, QueryTransferUnlockTimeResponse as ProtoTransferUnlockTimeResponse } from "../proto/gen/ault/license/v1/query";
|
|
5
5
|
import { QueryBeaconResponse as ProtoBeaconResponse, QueryDelegatedLicensesResponse as ProtoDelegatedLicensesResponse, QueryEmissionInfoResponse as ProtoEmissionInfoResponse, QueryEmissionScheduleResponse as ProtoEmissionScheduleResponse, QueryEpochInfoResponse as ProtoEpochInfoResponse, QueryEpochResponse as ProtoCurrentEpochResponse, QueryEpochsResponse as ProtoEpochsResponse, QueryLicenseDelegationResponse as ProtoLicenseDelegationResponse, QueryLicenseMinerInfoResponse as ProtoLicenseMinerInfoResponse, QueryOperatorInfoResponse as ProtoOperatorInfoResponse, QueryOperatorsResponse as ProtoOperatorsResponse, QueryOwnerKeyResponse as ProtoOwnerKeyResponse, QueryParamsResponse as ProtoMinerParamsResponse, YearEmission as ProtoYearEmission } from "../proto/gen/ault/miner/v1/query";
|
|
6
6
|
import { Commission as ProtoCommission, CommissionRates as ProtoCommissionRates, Delegation as ProtoDelegation, DelegationResponse as ProtoDelegationResponse, Description as ProtoValidatorDescription, Params as ProtoStakingParams, Pool as ProtoStakingPool, UnbondingDelegation as ProtoUnbondingDelegation, UnbondingDelegationEntry as ProtoUnbondingDelegationEntry, Validator as ProtoValidator, BondStatus as ProtoBondStatus } from "../proto/gen/cosmos/staking/v1beta1/staking";
|
|
7
7
|
import { QueryDelegatorDelegationsResponse as ProtoDelegationsResponse, QueryDelegationResponse as ProtoDelegationResponseEnvelope, QueryDelegatorUnbondingDelegationsResponse as ProtoUnbondingDelegationsResponse, QueryParamsResponse as ProtoStakingParamsResponse, QueryPoolResponse as ProtoStakingPoolResponse, QueryValidatorResponse as ProtoValidatorResponse, QueryValidatorsResponse as ProtoValidatorsResponse } from "../proto/gen/cosmos/staking/v1beta1/query";
|
|
@@ -52,7 +52,6 @@ export type KycApproversResponse = ProtoKycApproversResponse;
|
|
|
52
52
|
export type ApprovedMembersResponse = ProtoApprovedMembersResponse;
|
|
53
53
|
export type IsApprovedMemberResponse = ProtoIsApprovedMemberResponse;
|
|
54
54
|
export type IsKycApproverResponse = ProtoIsKycApproverResponse;
|
|
55
|
-
export type ActiveLicenseCountAtResponse = ProtoActiveLicenseCountAtResponse;
|
|
56
55
|
export type MiningDelegation = ProtoMiningDelegation;
|
|
57
56
|
export type Operator = ProtoOperatorInfo;
|
|
58
57
|
export type LicenseMinerInfo = ProtoLicenseMinerInfoResponse;
|