coreum-js 2.10.0 → 2.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/main/client/index.d.ts +2 -1
- package/dist/main/coreum/asset/ft/v1/genesis.d.ts +1 -1
- package/dist/main/coreum/asset/ft/v1/genesis.js +25 -12
- package/dist/main/coreum/asset/ft/v1/params.d.ts +1 -1
- package/dist/main/coreum/asset/ft/v1/params.js +14 -6
- package/dist/main/coreum/asset/ft/v1/query.d.ts +2 -2
- package/dist/main/coreum/asset/ft/v1/query.js +116 -54
- package/dist/main/coreum/asset/ft/v1/tx.d.ts +1 -1
- package/dist/main/coreum/asset/ft/v1/tx.js +1 -1
- package/dist/main/coreum/asset/nft/v1/genesis.d.ts +2 -2
- package/dist/main/coreum/asset/nft/v1/params.d.ts +1 -1
- package/dist/main/coreum/asset/nft/v1/params.js +14 -6
- package/dist/main/coreum/asset/nft/v1/query.d.ts +3 -3
- package/dist/main/coreum/asset/nft/v1/query.js +49 -22
- package/dist/main/coreum/feemodel/v1/genesis.d.ts +1 -1
- package/dist/main/coreum/feemodel/v1/genesis.js +17 -10
- package/dist/main/coreum/feemodel/v1/query.d.ts +1 -1
- package/dist/main/coreum/feemodel/v1/query.js +22 -11
- package/dist/main/coreum/nft/v1beta1/query.d.ts +1 -1
- package/dist/main/coreum/nft/v1beta1/query.js +83 -39
- package/dist/main/cosmos/extensions/bank.d.ts +8 -8
- package/dist/main/cosmos/extensions/bank.js +2 -2
- package/dist/main/cosmos/extensions/distribution.d.ts +11 -11
- package/dist/main/cosmos/extensions/distribution.js +1 -1
- package/dist/main/cosmos/extensions/gov.d.ts +21 -21
- package/dist/main/cosmos/extensions/gov.js +1 -1
- package/dist/main/cosmos/index.d.ts +12 -21
- package/dist/main/cosmos/index.js +50 -42
- package/dist/main/types/msgs.d.ts +4 -4
- package/dist/main/wasm/v1/authz.d.ts +1 -1
- package/dist/main/wasm/v1/authz.js +1 -1
- package/dist/main/wasm/v1/proposal.d.ts +1 -1
- package/dist/main/wasm/v1/proposal.js +1 -1
- package/dist/main/wasm/v1/tx.d.ts +1 -1
- package/dist/main/wasm/v1/tx.js +1 -1
- package/dist/module/client/index.d.ts +2 -1
- package/dist/module/coreum/asset/ft/v1/genesis.d.ts +1 -1
- package/dist/module/coreum/asset/ft/v1/genesis.js +25 -12
- package/dist/module/coreum/asset/ft/v1/params.d.ts +1 -1
- package/dist/module/coreum/asset/ft/v1/params.js +14 -6
- package/dist/module/coreum/asset/ft/v1/query.d.ts +2 -2
- package/dist/module/coreum/asset/ft/v1/query.js +116 -54
- package/dist/module/coreum/asset/ft/v1/tx.d.ts +1 -1
- package/dist/module/coreum/asset/ft/v1/tx.js +1 -1
- package/dist/module/coreum/asset/nft/v1/genesis.d.ts +2 -2
- package/dist/module/coreum/asset/nft/v1/params.d.ts +1 -1
- package/dist/module/coreum/asset/nft/v1/params.js +14 -6
- package/dist/module/coreum/asset/nft/v1/query.d.ts +3 -3
- package/dist/module/coreum/asset/nft/v1/query.js +49 -22
- package/dist/module/coreum/feemodel/v1/genesis.d.ts +1 -1
- package/dist/module/coreum/feemodel/v1/genesis.js +17 -10
- package/dist/module/coreum/feemodel/v1/query.d.ts +1 -1
- package/dist/module/coreum/feemodel/v1/query.js +22 -11
- package/dist/module/coreum/nft/v1beta1/query.d.ts +1 -1
- package/dist/module/coreum/nft/v1beta1/query.js +83 -39
- package/dist/module/cosmos/extensions/bank.d.ts +8 -8
- package/dist/module/cosmos/extensions/bank.js +2 -2
- package/dist/module/cosmos/extensions/distribution.d.ts +11 -11
- package/dist/module/cosmos/extensions/distribution.js +1 -1
- package/dist/module/cosmos/extensions/gov.d.ts +21 -21
- package/dist/module/cosmos/extensions/gov.js +1 -1
- package/dist/module/cosmos/index.d.ts +12 -21
- package/dist/module/cosmos/index.js +29 -19
- package/dist/module/types/msgs.d.ts +4 -4
- package/dist/module/wasm/v1/authz.d.ts +1 -1
- package/dist/module/wasm/v1/authz.js +1 -1
- package/dist/module/wasm/v1/proposal.d.ts +1 -1
- package/dist/module/wasm/v1/proposal.js +1 -1
- package/dist/module/wasm/v1/tx.d.ts +1 -1
- package/dist/module/wasm/v1/tx.js +1 -1
- package/package.json +9 -9
- package/dist/main/cosmos/auth/v1beta1/auth.d.ts +0 -229
- package/dist/main/cosmos/auth/v1beta1/auth.js +0 -437
- package/dist/main/cosmos/authz/v1beta1/authz.d.ts +0 -167
- package/dist/main/cosmos/authz/v1beta1/authz.js +0 -319
- package/dist/main/cosmos/authz/v1beta1/event.d.ts +0 -80
- package/dist/main/cosmos/authz/v1beta1/event.js +0 -162
- package/dist/main/cosmos/authz/v1beta1/genesis.d.ts +0 -121
- package/dist/main/cosmos/authz/v1beta1/genesis.js +0 -68
- package/dist/main/cosmos/authz/v1beta1/pagination.d.ts +0 -128
- package/dist/main/cosmos/authz/v1beta1/pagination.js +0 -227
- package/dist/main/cosmos/authz/v1beta1/query.d.ts +0 -616
- package/dist/main/cosmos/authz/v1beta1/query.js +0 -512
- package/dist/main/cosmos/authz/v1beta1/tx.d.ts +0 -264
- package/dist/main/cosmos/authz/v1beta1/tx.js +0 -435
- package/dist/main/cosmos/bank/v1beta1/authz.d.ts +0 -80
- package/dist/main/cosmos/bank/v1beta1/authz.js +0 -83
- package/dist/main/cosmos/bank/v1beta1/bank.d.ts +0 -440
- package/dist/main/cosmos/bank/v1beta1/bank.js +0 -556
- package/dist/main/cosmos/bank/v1beta1/genesis.d.ts +0 -473
- package/dist/main/cosmos/bank/v1beta1/genesis.js +0 -207
- package/dist/main/cosmos/bank/v1beta1/pagination.d.ts +0 -128
- package/dist/main/cosmos/bank/v1beta1/pagination.js +0 -227
- package/dist/main/cosmos/bank/v1beta1/query.d.ts +0 -1633
- package/dist/main/cosmos/bank/v1beta1/query.js +0 -1595
- package/dist/main/cosmos/bank/v1beta1/tx.d.ts +0 -514
- package/dist/main/cosmos/bank/v1beta1/tx.js +0 -498
- package/dist/main/cosmos/base/query/v1beta1/pagination.d.ts +0 -470
- package/dist/main/cosmos/base/query/v1beta1/pagination.js +0 -241
- package/dist/main/cosmos/base/v1beta1/coin.d.ts +0 -114
- package/dist/main/cosmos/base/v1beta1/coin.js +0 -241
- package/dist/main/cosmos/crypto/multisig/v1beta1/multisig.d.ts +0 -67
- package/dist/main/cosmos/crypto/multisig/v1beta1/multisig.js +0 -172
- package/dist/main/cosmos/distribution/v1beta1/distribution.d.ts +0 -638
- package/dist/main/cosmos/distribution/v1beta1/distribution.js +0 -887
- package/dist/main/cosmos/distribution/v1beta1/genesis.d.ts +0 -1259
- package/dist/main/cosmos/distribution/v1beta1/genesis.js +0 -784
- package/dist/main/cosmos/distribution/v1beta1/pagination.d.ts +0 -128
- package/dist/main/cosmos/distribution/v1beta1/pagination.js +0 -227
- package/dist/main/cosmos/distribution/v1beta1/query.d.ts +0 -995
- package/dist/main/cosmos/distribution/v1beta1/query.js +0 -1335
- package/dist/main/cosmos/distribution/v1beta1/tx.d.ts +0 -593
- package/dist/main/cosmos/distribution/v1beta1/tx.js +0 -824
- package/dist/main/cosmos/feegrant/v1beta1/feegrant.d.ts +0 -367
- package/dist/main/cosmos/feegrant/v1beta1/feegrant.js +0 -412
- package/dist/main/cosmos/feegrant/v1beta1/genesis.d.ts +0 -111
- package/dist/main/cosmos/feegrant/v1beta1/genesis.js +0 -66
- package/dist/main/cosmos/feegrant/v1beta1/pagination.d.ts +0 -128
- package/dist/main/cosmos/feegrant/v1beta1/pagination.js +0 -227
- package/dist/main/cosmos/feegrant/v1beta1/query.d.ts +0 -512
- package/dist/main/cosmos/feegrant/v1beta1/query.js +0 -460
- package/dist/main/cosmos/feegrant/v1beta1/tx.d.ts +0 -143
- package/dist/main/cosmos/feegrant/v1beta1/tx.js +0 -252
- package/dist/main/cosmos/gov/v1beta1/genesis.d.ts +0 -639
- package/dist/main/cosmos/gov/v1beta1/genesis.js +0 -194
- package/dist/main/cosmos/gov/v1beta1/gov.d.ts +0 -620
- package/dist/main/cosmos/gov/v1beta1/gov.js +0 -1037
- package/dist/main/cosmos/gov/v1beta1/pagination.d.ts +0 -128
- package/dist/main/cosmos/gov/v1beta1/pagination.js +0 -227
- package/dist/main/cosmos/gov/v1beta1/query.d.ts +0 -1511
- package/dist/main/cosmos/gov/v1beta1/query.js +0 -1186
- package/dist/main/cosmos/gov/v1beta1/tx.d.ts +0 -350
- package/dist/main/cosmos/gov/v1beta1/tx.js +0 -566
- package/dist/main/cosmos/msg/v1/msg.d.ts +0 -1
- package/dist/main/cosmos/msg/v1/msg.js +0 -5
- package/dist/main/cosmos/staking/v1beta1/authz.d.ts +0 -145
- package/dist/main/cosmos/staking/v1beta1/authz.js +0 -224
- package/dist/main/cosmos/staking/v1beta1/genesis.d.ts +0 -899
- package/dist/main/cosmos/staking/v1beta1/genesis.js +0 -305
- package/dist/main/cosmos/staking/v1beta1/pagination.d.ts +0 -128
- package/dist/main/cosmos/staking/v1beta1/pagination.js +0 -227
- package/dist/main/cosmos/staking/v1beta1/query.d.ts +0 -4165
- package/dist/main/cosmos/staking/v1beta1/query.js +0 -2019
- package/dist/main/cosmos/staking/v1beta1/staking.d.ts +0 -2059
- package/dist/main/cosmos/staking/v1beta1/staking.js +0 -2127
- package/dist/main/cosmos/staking/v1beta1/tx.d.ts +0 -748
- package/dist/main/cosmos/staking/v1beta1/tx.js +0 -1141
- package/dist/main/cosmos/tx/signing/v1beta1/signing.d.ts +0 -1938
- package/dist/main/cosmos/tx/signing/v1beta1/signing.js +0 -546
- package/dist/main/cosmos/tx/v1beta1/tx.d.ts +0 -3468
- package/dist/main/cosmos/tx/v1beta1/tx.js +0 -1276
- package/dist/main/cosmos/vesting/v1beta1/tx.d.ts +0 -350
- package/dist/main/cosmos/vesting/v1beta1/tx.js +0 -454
- package/dist/main/cosmos/vesting/v1beta1/vesting.d.ts +0 -1305
- package/dist/main/cosmos/vesting/v1beta1/vesting.js +0 -498
- package/dist/module/cosmos/auth/v1beta1/auth.d.ts +0 -229
- package/dist/module/cosmos/auth/v1beta1/auth.js +0 -427
- package/dist/module/cosmos/authz/v1beta1/authz.d.ts +0 -167
- package/dist/module/cosmos/authz/v1beta1/authz.js +0 -309
- package/dist/module/cosmos/authz/v1beta1/event.d.ts +0 -80
- package/dist/module/cosmos/authz/v1beta1/event.js +0 -154
- package/dist/module/cosmos/authz/v1beta1/genesis.d.ts +0 -121
- package/dist/module/cosmos/authz/v1beta1/genesis.js +0 -61
- package/dist/module/cosmos/authz/v1beta1/pagination.d.ts +0 -128
- package/dist/module/cosmos/authz/v1beta1/pagination.js +0 -219
- package/dist/module/cosmos/authz/v1beta1/query.d.ts +0 -616
- package/dist/module/cosmos/authz/v1beta1/query.js +0 -501
- package/dist/module/cosmos/authz/v1beta1/tx.d.ts +0 -264
- package/dist/module/cosmos/authz/v1beta1/tx.js +0 -426
- package/dist/module/cosmos/bank/v1beta1/authz.d.ts +0 -80
- package/dist/module/cosmos/bank/v1beta1/authz.js +0 -76
- package/dist/module/cosmos/bank/v1beta1/bank.d.ts +0 -440
- package/dist/module/cosmos/bank/v1beta1/bank.js +0 -543
- package/dist/module/cosmos/bank/v1beta1/genesis.d.ts +0 -473
- package/dist/module/cosmos/bank/v1beta1/genesis.js +0 -199
- package/dist/module/cosmos/bank/v1beta1/pagination.d.ts +0 -128
- package/dist/module/cosmos/bank/v1beta1/pagination.js +0 -219
- package/dist/module/cosmos/bank/v1beta1/query.d.ts +0 -1633
- package/dist/module/cosmos/bank/v1beta1/query.js +0 -1575
- package/dist/module/cosmos/bank/v1beta1/tx.d.ts +0 -514
- package/dist/module/cosmos/bank/v1beta1/tx.js +0 -489
- package/dist/module/cosmos/base/query/v1beta1/pagination.d.ts +0 -470
- package/dist/module/cosmos/base/query/v1beta1/pagination.js +0 -233
- package/dist/module/cosmos/base/v1beta1/coin.d.ts +0 -114
- package/dist/module/cosmos/base/v1beta1/coin.js +0 -231
- package/dist/module/cosmos/crypto/multisig/v1beta1/multisig.d.ts +0 -67
- package/dist/module/cosmos/crypto/multisig/v1beta1/multisig.js +0 -164
- package/dist/module/cosmos/distribution/v1beta1/distribution.d.ts +0 -638
- package/dist/module/cosmos/distribution/v1beta1/distribution.js +0 -869
- package/dist/module/cosmos/distribution/v1beta1/genesis.d.ts +0 -1259
- package/dist/module/cosmos/distribution/v1beta1/genesis.js +0 -770
- package/dist/module/cosmos/distribution/v1beta1/pagination.d.ts +0 -128
- package/dist/module/cosmos/distribution/v1beta1/pagination.js +0 -219
- package/dist/module/cosmos/distribution/v1beta1/query.d.ts +0 -995
- package/dist/module/cosmos/distribution/v1beta1/query.js +0 -1315
- package/dist/module/cosmos/distribution/v1beta1/tx.d.ts +0 -593
- package/dist/module/cosmos/distribution/v1beta1/tx.js +0 -810
- package/dist/module/cosmos/feegrant/v1beta1/feegrant.d.ts +0 -367
- package/dist/module/cosmos/feegrant/v1beta1/feegrant.js +0 -402
- package/dist/module/cosmos/feegrant/v1beta1/genesis.d.ts +0 -111
- package/dist/module/cosmos/feegrant/v1beta1/genesis.js +0 -59
- package/dist/module/cosmos/feegrant/v1beta1/pagination.d.ts +0 -128
- package/dist/module/cosmos/feegrant/v1beta1/pagination.js +0 -219
- package/dist/module/cosmos/feegrant/v1beta1/query.d.ts +0 -512
- package/dist/module/cosmos/feegrant/v1beta1/query.js +0 -450
- package/dist/module/cosmos/feegrant/v1beta1/tx.d.ts +0 -143
- package/dist/module/cosmos/feegrant/v1beta1/tx.js +0 -245
- package/dist/module/cosmos/gov/v1beta1/genesis.d.ts +0 -639
- package/dist/module/cosmos/gov/v1beta1/genesis.js +0 -187
- package/dist/module/cosmos/gov/v1beta1/gov.d.ts +0 -620
- package/dist/module/cosmos/gov/v1beta1/gov.js +0 -1019
- package/dist/module/cosmos/gov/v1beta1/pagination.d.ts +0 -128
- package/dist/module/cosmos/gov/v1beta1/pagination.js +0 -219
- package/dist/module/cosmos/gov/v1beta1/query.d.ts +0 -1511
- package/dist/module/cosmos/gov/v1beta1/query.js +0 -1170
- package/dist/module/cosmos/gov/v1beta1/tx.d.ts +0 -350
- package/dist/module/cosmos/gov/v1beta1/tx.js +0 -556
- package/dist/module/cosmos/msg/v1/msg.d.ts +0 -1
- package/dist/module/cosmos/msg/v1/msg.js +0 -2
- package/dist/module/cosmos/staking/v1beta1/authz.d.ts +0 -145
- package/dist/module/cosmos/staking/v1beta1/authz.js +0 -214
- package/dist/module/cosmos/staking/v1beta1/genesis.d.ts +0 -899
- package/dist/module/cosmos/staking/v1beta1/genesis.js +0 -297
- package/dist/module/cosmos/staking/v1beta1/pagination.d.ts +0 -128
- package/dist/module/cosmos/staking/v1beta1/pagination.js +0 -219
- package/dist/module/cosmos/staking/v1beta1/query.d.ts +0 -4165
- package/dist/module/cosmos/staking/v1beta1/query.js +0 -1995
- package/dist/module/cosmos/staking/v1beta1/staking.d.ts +0 -2059
- package/dist/module/cosmos/staking/v1beta1/staking.js +0 -2097
- package/dist/module/cosmos/staking/v1beta1/tx.d.ts +0 -748
- package/dist/module/cosmos/staking/v1beta1/tx.js +0 -1127
- package/dist/module/cosmos/tx/signing/v1beta1/signing.d.ts +0 -1938
- package/dist/module/cosmos/tx/signing/v1beta1/signing.js +0 -534
- package/dist/module/cosmos/tx/v1beta1/tx.d.ts +0 -3468
- package/dist/module/cosmos/tx/v1beta1/tx.js +0 -1258
- package/dist/module/cosmos/vesting/v1beta1/tx.d.ts +0 -350
- package/dist/module/cosmos/vesting/v1beta1/tx.js +0 -446
- package/dist/module/cosmos/vesting/v1beta1/vesting.d.ts +0 -1305
- package/dist/module/cosmos/vesting/v1beta1/vesting.js +0 -488
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
import _m0 from "protobufjs/minimal";
|
|
2
|
-
import { Coin } from "../../base/v1beta1/coin";
|
|
3
|
-
export declare const protobufPackage = "cosmos.bank.v1beta1";
|
|
4
|
-
/**
|
|
5
|
-
* SendAuthorization allows the grantee to spend up to spend_limit coins from
|
|
6
|
-
* the granter's account.
|
|
7
|
-
*
|
|
8
|
-
* Since: cosmos-sdk 0.43
|
|
9
|
-
*/
|
|
10
|
-
export interface SendAuthorization {
|
|
11
|
-
spendLimit: Coin[];
|
|
12
|
-
/**
|
|
13
|
-
* allow_list specifies an optional list of addresses to whom the grantee can send tokens on behalf of the
|
|
14
|
-
* granter. If omitted, any recipient is allowed.
|
|
15
|
-
*
|
|
16
|
-
* Since: cosmos-sdk 0.47
|
|
17
|
-
*/
|
|
18
|
-
allowList: string[];
|
|
19
|
-
}
|
|
20
|
-
export declare const SendAuthorization: {
|
|
21
|
-
encode(message: SendAuthorization, writer?: _m0.Writer): _m0.Writer;
|
|
22
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): SendAuthorization;
|
|
23
|
-
fromJSON(object: any): SendAuthorization;
|
|
24
|
-
toJSON(message: SendAuthorization): unknown;
|
|
25
|
-
create<I extends {
|
|
26
|
-
spendLimit?: {
|
|
27
|
-
denom?: string;
|
|
28
|
-
amount?: string;
|
|
29
|
-
}[];
|
|
30
|
-
allowList?: string[];
|
|
31
|
-
} & {
|
|
32
|
-
spendLimit?: {
|
|
33
|
-
denom?: string;
|
|
34
|
-
amount?: string;
|
|
35
|
-
}[] & ({
|
|
36
|
-
denom?: string;
|
|
37
|
-
amount?: string;
|
|
38
|
-
} & {
|
|
39
|
-
denom?: string;
|
|
40
|
-
amount?: string;
|
|
41
|
-
} & { [K in Exclude<keyof I["spendLimit"][number], keyof Coin>]: never; })[] & { [K_1 in Exclude<keyof I["spendLimit"], keyof {
|
|
42
|
-
denom?: string;
|
|
43
|
-
amount?: string;
|
|
44
|
-
}[]>]: never; };
|
|
45
|
-
allowList?: string[] & string[] & { [K_2 in Exclude<keyof I["allowList"], keyof string[]>]: never; };
|
|
46
|
-
} & { [K_3 in Exclude<keyof I, keyof SendAuthorization>]: never; }>(base?: I): SendAuthorization;
|
|
47
|
-
fromPartial<I_1 extends {
|
|
48
|
-
spendLimit?: {
|
|
49
|
-
denom?: string;
|
|
50
|
-
amount?: string;
|
|
51
|
-
}[];
|
|
52
|
-
allowList?: string[];
|
|
53
|
-
} & {
|
|
54
|
-
spendLimit?: {
|
|
55
|
-
denom?: string;
|
|
56
|
-
amount?: string;
|
|
57
|
-
}[] & ({
|
|
58
|
-
denom?: string;
|
|
59
|
-
amount?: string;
|
|
60
|
-
} & {
|
|
61
|
-
denom?: string;
|
|
62
|
-
amount?: string;
|
|
63
|
-
} & { [K_4 in Exclude<keyof I_1["spendLimit"][number], keyof Coin>]: never; })[] & { [K_5 in Exclude<keyof I_1["spendLimit"], keyof {
|
|
64
|
-
denom?: string;
|
|
65
|
-
amount?: string;
|
|
66
|
-
}[]>]: never; };
|
|
67
|
-
allowList?: string[] & string[] & { [K_6 in Exclude<keyof I_1["allowList"], keyof string[]>]: never; };
|
|
68
|
-
} & { [K_7 in Exclude<keyof I_1, keyof SendAuthorization>]: never; }>(object: I_1): SendAuthorization;
|
|
69
|
-
};
|
|
70
|
-
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
71
|
-
export type DeepPartial<T> = T extends Builtin ? T : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|
|
72
|
-
[K in keyof T]?: DeepPartial<T[K]>;
|
|
73
|
-
} : Partial<T>;
|
|
74
|
-
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
75
|
-
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
76
|
-
[K in keyof P]: Exact<P[K], I[K]>;
|
|
77
|
-
} & {
|
|
78
|
-
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
79
|
-
};
|
|
80
|
-
export {};
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
/* eslint-disable */
|
|
2
|
-
import _m0 from "protobufjs/minimal";
|
|
3
|
-
import { Coin } from "../../base/v1beta1/coin";
|
|
4
|
-
export const protobufPackage = "cosmos.bank.v1beta1";
|
|
5
|
-
function createBaseSendAuthorization() {
|
|
6
|
-
return { spendLimit: [], allowList: [] };
|
|
7
|
-
}
|
|
8
|
-
export const SendAuthorization = {
|
|
9
|
-
encode(message, writer = _m0.Writer.create()) {
|
|
10
|
-
for (const v of message.spendLimit) {
|
|
11
|
-
Coin.encode(v, writer.uint32(10).fork()).ldelim();
|
|
12
|
-
}
|
|
13
|
-
for (const v of message.allowList) {
|
|
14
|
-
writer.uint32(18).string(v);
|
|
15
|
-
}
|
|
16
|
-
return writer;
|
|
17
|
-
},
|
|
18
|
-
decode(input, length) {
|
|
19
|
-
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
20
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
21
|
-
const message = createBaseSendAuthorization();
|
|
22
|
-
while (reader.pos < end) {
|
|
23
|
-
const tag = reader.uint32();
|
|
24
|
-
switch (tag >>> 3) {
|
|
25
|
-
case 1:
|
|
26
|
-
if (tag !== 10) {
|
|
27
|
-
break;
|
|
28
|
-
}
|
|
29
|
-
message.spendLimit.push(Coin.decode(reader, reader.uint32()));
|
|
30
|
-
continue;
|
|
31
|
-
case 2:
|
|
32
|
-
if (tag !== 18) {
|
|
33
|
-
break;
|
|
34
|
-
}
|
|
35
|
-
message.allowList.push(reader.string());
|
|
36
|
-
continue;
|
|
37
|
-
}
|
|
38
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
39
|
-
break;
|
|
40
|
-
}
|
|
41
|
-
reader.skipType(tag & 7);
|
|
42
|
-
}
|
|
43
|
-
return message;
|
|
44
|
-
},
|
|
45
|
-
fromJSON(object) {
|
|
46
|
-
return {
|
|
47
|
-
spendLimit: Array.isArray(object?.spendLimit) ? object.spendLimit.map((e) => Coin.fromJSON(e)) : [],
|
|
48
|
-
allowList: Array.isArray(object?.allowList) ? object.allowList.map((e) => String(e)) : [],
|
|
49
|
-
};
|
|
50
|
-
},
|
|
51
|
-
toJSON(message) {
|
|
52
|
-
const obj = {};
|
|
53
|
-
if (message.spendLimit) {
|
|
54
|
-
obj.spendLimit = message.spendLimit.map((e) => e ? Coin.toJSON(e) : undefined);
|
|
55
|
-
}
|
|
56
|
-
else {
|
|
57
|
-
obj.spendLimit = [];
|
|
58
|
-
}
|
|
59
|
-
if (message.allowList) {
|
|
60
|
-
obj.allowList = message.allowList.map((e) => e);
|
|
61
|
-
}
|
|
62
|
-
else {
|
|
63
|
-
obj.allowList = [];
|
|
64
|
-
}
|
|
65
|
-
return obj;
|
|
66
|
-
},
|
|
67
|
-
create(base) {
|
|
68
|
-
return SendAuthorization.fromPartial(base ?? {});
|
|
69
|
-
},
|
|
70
|
-
fromPartial(object) {
|
|
71
|
-
const message = createBaseSendAuthorization();
|
|
72
|
-
message.spendLimit = object.spendLimit?.map((e) => Coin.fromPartial(e)) || [];
|
|
73
|
-
message.allowList = object.allowList?.map((e) => e) || [];
|
|
74
|
-
return message;
|
|
75
|
-
},
|
|
76
|
-
};
|
|
@@ -1,440 +0,0 @@
|
|
|
1
|
-
import _m0 from "protobufjs/minimal";
|
|
2
|
-
import { Coin } from "../../base/v1beta1/coin";
|
|
3
|
-
export declare const protobufPackage = "cosmos.bank.v1beta1";
|
|
4
|
-
/** Params defines the parameters for the bank module. */
|
|
5
|
-
export interface Params {
|
|
6
|
-
/**
|
|
7
|
-
* Deprecated: Use of SendEnabled in params is deprecated.
|
|
8
|
-
* For genesis, use the newly added send_enabled field in the genesis object.
|
|
9
|
-
* Storage, lookup, and manipulation of this information is now in the keeper.
|
|
10
|
-
*
|
|
11
|
-
* As of cosmos-sdk 0.47, this only exists for backwards compatibility of genesis files.
|
|
12
|
-
*
|
|
13
|
-
* @deprecated
|
|
14
|
-
*/
|
|
15
|
-
sendEnabled: SendEnabled[];
|
|
16
|
-
defaultSendEnabled: boolean;
|
|
17
|
-
}
|
|
18
|
-
/**
|
|
19
|
-
* SendEnabled maps coin denom to a send_enabled status (whether a denom is
|
|
20
|
-
* sendable).
|
|
21
|
-
*/
|
|
22
|
-
export interface SendEnabled {
|
|
23
|
-
denom: string;
|
|
24
|
-
enabled: boolean;
|
|
25
|
-
}
|
|
26
|
-
/** Input models transaction input. */
|
|
27
|
-
export interface Input {
|
|
28
|
-
address: string;
|
|
29
|
-
coins: Coin[];
|
|
30
|
-
}
|
|
31
|
-
/** Output models transaction outputs. */
|
|
32
|
-
export interface Output {
|
|
33
|
-
address: string;
|
|
34
|
-
coins: Coin[];
|
|
35
|
-
}
|
|
36
|
-
/**
|
|
37
|
-
* Supply represents a struct that passively keeps track of the total supply
|
|
38
|
-
* amounts in the network.
|
|
39
|
-
* This message is deprecated now that supply is indexed by denom.
|
|
40
|
-
*
|
|
41
|
-
* @deprecated
|
|
42
|
-
*/
|
|
43
|
-
export interface Supply {
|
|
44
|
-
total: Coin[];
|
|
45
|
-
}
|
|
46
|
-
/**
|
|
47
|
-
* DenomUnit represents a struct that describes a given
|
|
48
|
-
* denomination unit of the basic token.
|
|
49
|
-
*/
|
|
50
|
-
export interface DenomUnit {
|
|
51
|
-
/** denom represents the string name of the given denom unit (e.g uatom). */
|
|
52
|
-
denom: string;
|
|
53
|
-
/**
|
|
54
|
-
* exponent represents power of 10 exponent that one must
|
|
55
|
-
* raise the base_denom to in order to equal the given DenomUnit's denom
|
|
56
|
-
* 1 denom = 10^exponent base_denom
|
|
57
|
-
* (e.g. with a base_denom of uatom, one can create a DenomUnit of 'atom' with
|
|
58
|
-
* exponent = 6, thus: 1 atom = 10^6 uatom).
|
|
59
|
-
*/
|
|
60
|
-
exponent: number;
|
|
61
|
-
/** aliases is a list of string aliases for the given denom */
|
|
62
|
-
aliases: string[];
|
|
63
|
-
}
|
|
64
|
-
/**
|
|
65
|
-
* Metadata represents a struct that describes
|
|
66
|
-
* a basic token.
|
|
67
|
-
*/
|
|
68
|
-
export interface Metadata {
|
|
69
|
-
description: string;
|
|
70
|
-
/** denom_units represents the list of DenomUnit's for a given coin */
|
|
71
|
-
denomUnits: DenomUnit[];
|
|
72
|
-
/** base represents the base denom (should be the DenomUnit with exponent = 0). */
|
|
73
|
-
base: string;
|
|
74
|
-
/**
|
|
75
|
-
* display indicates the suggested denom that should be
|
|
76
|
-
* displayed in clients.
|
|
77
|
-
*/
|
|
78
|
-
display: string;
|
|
79
|
-
/**
|
|
80
|
-
* name defines the name of the token (eg: Cosmos Atom)
|
|
81
|
-
*
|
|
82
|
-
* Since: cosmos-sdk 0.43
|
|
83
|
-
*/
|
|
84
|
-
name: string;
|
|
85
|
-
/**
|
|
86
|
-
* symbol is the token symbol usually shown on exchanges (eg: ATOM). This can
|
|
87
|
-
* be the same as the display.
|
|
88
|
-
*
|
|
89
|
-
* Since: cosmos-sdk 0.43
|
|
90
|
-
*/
|
|
91
|
-
symbol: string;
|
|
92
|
-
/**
|
|
93
|
-
* URI to a document (on or off-chain) that contains additional information. Optional.
|
|
94
|
-
*
|
|
95
|
-
* Since: cosmos-sdk 0.46
|
|
96
|
-
*/
|
|
97
|
-
uri: string;
|
|
98
|
-
/**
|
|
99
|
-
* URIHash is a sha256 hash of a document pointed by URI. It's used to verify that
|
|
100
|
-
* the document didn't change. Optional.
|
|
101
|
-
*
|
|
102
|
-
* Since: cosmos-sdk 0.46
|
|
103
|
-
*/
|
|
104
|
-
uriHash: string;
|
|
105
|
-
}
|
|
106
|
-
export declare const Params: {
|
|
107
|
-
encode(message: Params, writer?: _m0.Writer): _m0.Writer;
|
|
108
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): Params;
|
|
109
|
-
fromJSON(object: any): Params;
|
|
110
|
-
toJSON(message: Params): unknown;
|
|
111
|
-
create<I extends {
|
|
112
|
-
sendEnabled?: {
|
|
113
|
-
denom?: string;
|
|
114
|
-
enabled?: boolean;
|
|
115
|
-
}[];
|
|
116
|
-
defaultSendEnabled?: boolean;
|
|
117
|
-
} & {
|
|
118
|
-
sendEnabled?: {
|
|
119
|
-
denom?: string;
|
|
120
|
-
enabled?: boolean;
|
|
121
|
-
}[] & ({
|
|
122
|
-
denom?: string;
|
|
123
|
-
enabled?: boolean;
|
|
124
|
-
} & {
|
|
125
|
-
denom?: string;
|
|
126
|
-
enabled?: boolean;
|
|
127
|
-
} & { [K in Exclude<keyof I["sendEnabled"][number], keyof SendEnabled>]: never; })[] & { [K_1 in Exclude<keyof I["sendEnabled"], keyof {
|
|
128
|
-
denom?: string;
|
|
129
|
-
enabled?: boolean;
|
|
130
|
-
}[]>]: never; };
|
|
131
|
-
defaultSendEnabled?: boolean;
|
|
132
|
-
} & { [K_2 in Exclude<keyof I, keyof Params>]: never; }>(base?: I): Params;
|
|
133
|
-
fromPartial<I_1 extends {
|
|
134
|
-
sendEnabled?: {
|
|
135
|
-
denom?: string;
|
|
136
|
-
enabled?: boolean;
|
|
137
|
-
}[];
|
|
138
|
-
defaultSendEnabled?: boolean;
|
|
139
|
-
} & {
|
|
140
|
-
sendEnabled?: {
|
|
141
|
-
denom?: string;
|
|
142
|
-
enabled?: boolean;
|
|
143
|
-
}[] & ({
|
|
144
|
-
denom?: string;
|
|
145
|
-
enabled?: boolean;
|
|
146
|
-
} & {
|
|
147
|
-
denom?: string;
|
|
148
|
-
enabled?: boolean;
|
|
149
|
-
} & { [K_3 in Exclude<keyof I_1["sendEnabled"][number], keyof SendEnabled>]: never; })[] & { [K_4 in Exclude<keyof I_1["sendEnabled"], keyof {
|
|
150
|
-
denom?: string;
|
|
151
|
-
enabled?: boolean;
|
|
152
|
-
}[]>]: never; };
|
|
153
|
-
defaultSendEnabled?: boolean;
|
|
154
|
-
} & { [K_5 in Exclude<keyof I_1, keyof Params>]: never; }>(object: I_1): Params;
|
|
155
|
-
};
|
|
156
|
-
export declare const SendEnabled: {
|
|
157
|
-
encode(message: SendEnabled, writer?: _m0.Writer): _m0.Writer;
|
|
158
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): SendEnabled;
|
|
159
|
-
fromJSON(object: any): SendEnabled;
|
|
160
|
-
toJSON(message: SendEnabled): unknown;
|
|
161
|
-
create<I extends {
|
|
162
|
-
denom?: string;
|
|
163
|
-
enabled?: boolean;
|
|
164
|
-
} & {
|
|
165
|
-
denom?: string;
|
|
166
|
-
enabled?: boolean;
|
|
167
|
-
} & { [K in Exclude<keyof I, keyof SendEnabled>]: never; }>(base?: I): SendEnabled;
|
|
168
|
-
fromPartial<I_1 extends {
|
|
169
|
-
denom?: string;
|
|
170
|
-
enabled?: boolean;
|
|
171
|
-
} & {
|
|
172
|
-
denom?: string;
|
|
173
|
-
enabled?: boolean;
|
|
174
|
-
} & { [K_1 in Exclude<keyof I_1, keyof SendEnabled>]: never; }>(object: I_1): SendEnabled;
|
|
175
|
-
};
|
|
176
|
-
export declare const Input: {
|
|
177
|
-
encode(message: Input, writer?: _m0.Writer): _m0.Writer;
|
|
178
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): Input;
|
|
179
|
-
fromJSON(object: any): Input;
|
|
180
|
-
toJSON(message: Input): unknown;
|
|
181
|
-
create<I extends {
|
|
182
|
-
address?: string;
|
|
183
|
-
coins?: {
|
|
184
|
-
denom?: string;
|
|
185
|
-
amount?: string;
|
|
186
|
-
}[];
|
|
187
|
-
} & {
|
|
188
|
-
address?: string;
|
|
189
|
-
coins?: {
|
|
190
|
-
denom?: string;
|
|
191
|
-
amount?: string;
|
|
192
|
-
}[] & ({
|
|
193
|
-
denom?: string;
|
|
194
|
-
amount?: string;
|
|
195
|
-
} & {
|
|
196
|
-
denom?: string;
|
|
197
|
-
amount?: string;
|
|
198
|
-
} & { [K in Exclude<keyof I["coins"][number], keyof Coin>]: never; })[] & { [K_1 in Exclude<keyof I["coins"], keyof {
|
|
199
|
-
denom?: string;
|
|
200
|
-
amount?: string;
|
|
201
|
-
}[]>]: never; };
|
|
202
|
-
} & { [K_2 in Exclude<keyof I, keyof Input>]: never; }>(base?: I): Input;
|
|
203
|
-
fromPartial<I_1 extends {
|
|
204
|
-
address?: string;
|
|
205
|
-
coins?: {
|
|
206
|
-
denom?: string;
|
|
207
|
-
amount?: string;
|
|
208
|
-
}[];
|
|
209
|
-
} & {
|
|
210
|
-
address?: string;
|
|
211
|
-
coins?: {
|
|
212
|
-
denom?: string;
|
|
213
|
-
amount?: string;
|
|
214
|
-
}[] & ({
|
|
215
|
-
denom?: string;
|
|
216
|
-
amount?: string;
|
|
217
|
-
} & {
|
|
218
|
-
denom?: string;
|
|
219
|
-
amount?: string;
|
|
220
|
-
} & { [K_3 in Exclude<keyof I_1["coins"][number], keyof Coin>]: never; })[] & { [K_4 in Exclude<keyof I_1["coins"], keyof {
|
|
221
|
-
denom?: string;
|
|
222
|
-
amount?: string;
|
|
223
|
-
}[]>]: never; };
|
|
224
|
-
} & { [K_5 in Exclude<keyof I_1, keyof Input>]: never; }>(object: I_1): Input;
|
|
225
|
-
};
|
|
226
|
-
export declare const Output: {
|
|
227
|
-
encode(message: Output, writer?: _m0.Writer): _m0.Writer;
|
|
228
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): Output;
|
|
229
|
-
fromJSON(object: any): Output;
|
|
230
|
-
toJSON(message: Output): unknown;
|
|
231
|
-
create<I extends {
|
|
232
|
-
address?: string;
|
|
233
|
-
coins?: {
|
|
234
|
-
denom?: string;
|
|
235
|
-
amount?: string;
|
|
236
|
-
}[];
|
|
237
|
-
} & {
|
|
238
|
-
address?: string;
|
|
239
|
-
coins?: {
|
|
240
|
-
denom?: string;
|
|
241
|
-
amount?: string;
|
|
242
|
-
}[] & ({
|
|
243
|
-
denom?: string;
|
|
244
|
-
amount?: string;
|
|
245
|
-
} & {
|
|
246
|
-
denom?: string;
|
|
247
|
-
amount?: string;
|
|
248
|
-
} & { [K in Exclude<keyof I["coins"][number], keyof Coin>]: never; })[] & { [K_1 in Exclude<keyof I["coins"], keyof {
|
|
249
|
-
denom?: string;
|
|
250
|
-
amount?: string;
|
|
251
|
-
}[]>]: never; };
|
|
252
|
-
} & { [K_2 in Exclude<keyof I, keyof Output>]: never; }>(base?: I): Output;
|
|
253
|
-
fromPartial<I_1 extends {
|
|
254
|
-
address?: string;
|
|
255
|
-
coins?: {
|
|
256
|
-
denom?: string;
|
|
257
|
-
amount?: string;
|
|
258
|
-
}[];
|
|
259
|
-
} & {
|
|
260
|
-
address?: string;
|
|
261
|
-
coins?: {
|
|
262
|
-
denom?: string;
|
|
263
|
-
amount?: string;
|
|
264
|
-
}[] & ({
|
|
265
|
-
denom?: string;
|
|
266
|
-
amount?: string;
|
|
267
|
-
} & {
|
|
268
|
-
denom?: string;
|
|
269
|
-
amount?: string;
|
|
270
|
-
} & { [K_3 in Exclude<keyof I_1["coins"][number], keyof Coin>]: never; })[] & { [K_4 in Exclude<keyof I_1["coins"], keyof {
|
|
271
|
-
denom?: string;
|
|
272
|
-
amount?: string;
|
|
273
|
-
}[]>]: never; };
|
|
274
|
-
} & { [K_5 in Exclude<keyof I_1, keyof Output>]: never; }>(object: I_1): Output;
|
|
275
|
-
};
|
|
276
|
-
export declare const Supply: {
|
|
277
|
-
encode(message: Supply, writer?: _m0.Writer): _m0.Writer;
|
|
278
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): Supply;
|
|
279
|
-
fromJSON(object: any): Supply;
|
|
280
|
-
toJSON(message: Supply): unknown;
|
|
281
|
-
create<I extends {
|
|
282
|
-
total?: {
|
|
283
|
-
denom?: string;
|
|
284
|
-
amount?: string;
|
|
285
|
-
}[];
|
|
286
|
-
} & {
|
|
287
|
-
total?: {
|
|
288
|
-
denom?: string;
|
|
289
|
-
amount?: string;
|
|
290
|
-
}[] & ({
|
|
291
|
-
denom?: string;
|
|
292
|
-
amount?: string;
|
|
293
|
-
} & {
|
|
294
|
-
denom?: string;
|
|
295
|
-
amount?: string;
|
|
296
|
-
} & { [K in Exclude<keyof I["total"][number], keyof Coin>]: never; })[] & { [K_1 in Exclude<keyof I["total"], keyof {
|
|
297
|
-
denom?: string;
|
|
298
|
-
amount?: string;
|
|
299
|
-
}[]>]: never; };
|
|
300
|
-
} & { [K_2 in Exclude<keyof I, "total">]: never; }>(base?: I): Supply;
|
|
301
|
-
fromPartial<I_1 extends {
|
|
302
|
-
total?: {
|
|
303
|
-
denom?: string;
|
|
304
|
-
amount?: string;
|
|
305
|
-
}[];
|
|
306
|
-
} & {
|
|
307
|
-
total?: {
|
|
308
|
-
denom?: string;
|
|
309
|
-
amount?: string;
|
|
310
|
-
}[] & ({
|
|
311
|
-
denom?: string;
|
|
312
|
-
amount?: string;
|
|
313
|
-
} & {
|
|
314
|
-
denom?: string;
|
|
315
|
-
amount?: string;
|
|
316
|
-
} & { [K_3 in Exclude<keyof I_1["total"][number], keyof Coin>]: never; })[] & { [K_4 in Exclude<keyof I_1["total"], keyof {
|
|
317
|
-
denom?: string;
|
|
318
|
-
amount?: string;
|
|
319
|
-
}[]>]: never; };
|
|
320
|
-
} & { [K_5 in Exclude<keyof I_1, "total">]: never; }>(object: I_1): Supply;
|
|
321
|
-
};
|
|
322
|
-
export declare const DenomUnit: {
|
|
323
|
-
encode(message: DenomUnit, writer?: _m0.Writer): _m0.Writer;
|
|
324
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): DenomUnit;
|
|
325
|
-
fromJSON(object: any): DenomUnit;
|
|
326
|
-
toJSON(message: DenomUnit): unknown;
|
|
327
|
-
create<I extends {
|
|
328
|
-
denom?: string;
|
|
329
|
-
exponent?: number;
|
|
330
|
-
aliases?: string[];
|
|
331
|
-
} & {
|
|
332
|
-
denom?: string;
|
|
333
|
-
exponent?: number;
|
|
334
|
-
aliases?: string[] & string[] & { [K in Exclude<keyof I["aliases"], keyof string[]>]: never; };
|
|
335
|
-
} & { [K_1 in Exclude<keyof I, keyof DenomUnit>]: never; }>(base?: I): DenomUnit;
|
|
336
|
-
fromPartial<I_1 extends {
|
|
337
|
-
denom?: string;
|
|
338
|
-
exponent?: number;
|
|
339
|
-
aliases?: string[];
|
|
340
|
-
} & {
|
|
341
|
-
denom?: string;
|
|
342
|
-
exponent?: number;
|
|
343
|
-
aliases?: string[] & string[] & { [K_2 in Exclude<keyof I_1["aliases"], keyof string[]>]: never; };
|
|
344
|
-
} & { [K_3 in Exclude<keyof I_1, keyof DenomUnit>]: never; }>(object: I_1): DenomUnit;
|
|
345
|
-
};
|
|
346
|
-
export declare const Metadata: {
|
|
347
|
-
encode(message: Metadata, writer?: _m0.Writer): _m0.Writer;
|
|
348
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): Metadata;
|
|
349
|
-
fromJSON(object: any): Metadata;
|
|
350
|
-
toJSON(message: Metadata): unknown;
|
|
351
|
-
create<I extends {
|
|
352
|
-
description?: string;
|
|
353
|
-
denomUnits?: {
|
|
354
|
-
denom?: string;
|
|
355
|
-
exponent?: number;
|
|
356
|
-
aliases?: string[];
|
|
357
|
-
}[];
|
|
358
|
-
base?: string;
|
|
359
|
-
display?: string;
|
|
360
|
-
name?: string;
|
|
361
|
-
symbol?: string;
|
|
362
|
-
uri?: string;
|
|
363
|
-
uriHash?: string;
|
|
364
|
-
} & {
|
|
365
|
-
description?: string;
|
|
366
|
-
denomUnits?: {
|
|
367
|
-
denom?: string;
|
|
368
|
-
exponent?: number;
|
|
369
|
-
aliases?: string[];
|
|
370
|
-
}[] & ({
|
|
371
|
-
denom?: string;
|
|
372
|
-
exponent?: number;
|
|
373
|
-
aliases?: string[];
|
|
374
|
-
} & {
|
|
375
|
-
denom?: string;
|
|
376
|
-
exponent?: number;
|
|
377
|
-
aliases?: string[] & string[] & { [K in Exclude<keyof I["denomUnits"][number]["aliases"], keyof string[]>]: never; };
|
|
378
|
-
} & { [K_1 in Exclude<keyof I["denomUnits"][number], keyof DenomUnit>]: never; })[] & { [K_2 in Exclude<keyof I["denomUnits"], keyof {
|
|
379
|
-
denom?: string;
|
|
380
|
-
exponent?: number;
|
|
381
|
-
aliases?: string[];
|
|
382
|
-
}[]>]: never; };
|
|
383
|
-
base?: string;
|
|
384
|
-
display?: string;
|
|
385
|
-
name?: string;
|
|
386
|
-
symbol?: string;
|
|
387
|
-
uri?: string;
|
|
388
|
-
uriHash?: string;
|
|
389
|
-
} & { [K_3 in Exclude<keyof I, keyof Metadata>]: never; }>(base?: I): Metadata;
|
|
390
|
-
fromPartial<I_1 extends {
|
|
391
|
-
description?: string;
|
|
392
|
-
denomUnits?: {
|
|
393
|
-
denom?: string;
|
|
394
|
-
exponent?: number;
|
|
395
|
-
aliases?: string[];
|
|
396
|
-
}[];
|
|
397
|
-
base?: string;
|
|
398
|
-
display?: string;
|
|
399
|
-
name?: string;
|
|
400
|
-
symbol?: string;
|
|
401
|
-
uri?: string;
|
|
402
|
-
uriHash?: string;
|
|
403
|
-
} & {
|
|
404
|
-
description?: string;
|
|
405
|
-
denomUnits?: {
|
|
406
|
-
denom?: string;
|
|
407
|
-
exponent?: number;
|
|
408
|
-
aliases?: string[];
|
|
409
|
-
}[] & ({
|
|
410
|
-
denom?: string;
|
|
411
|
-
exponent?: number;
|
|
412
|
-
aliases?: string[];
|
|
413
|
-
} & {
|
|
414
|
-
denom?: string;
|
|
415
|
-
exponent?: number;
|
|
416
|
-
aliases?: string[] & string[] & { [K_4 in Exclude<keyof I_1["denomUnits"][number]["aliases"], keyof string[]>]: never; };
|
|
417
|
-
} & { [K_5 in Exclude<keyof I_1["denomUnits"][number], keyof DenomUnit>]: never; })[] & { [K_6 in Exclude<keyof I_1["denomUnits"], keyof {
|
|
418
|
-
denom?: string;
|
|
419
|
-
exponent?: number;
|
|
420
|
-
aliases?: string[];
|
|
421
|
-
}[]>]: never; };
|
|
422
|
-
base?: string;
|
|
423
|
-
display?: string;
|
|
424
|
-
name?: string;
|
|
425
|
-
symbol?: string;
|
|
426
|
-
uri?: string;
|
|
427
|
-
uriHash?: string;
|
|
428
|
-
} & { [K_7 in Exclude<keyof I_1, keyof Metadata>]: never; }>(object: I_1): Metadata;
|
|
429
|
-
};
|
|
430
|
-
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
431
|
-
export type DeepPartial<T> = T extends Builtin ? T : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|
|
432
|
-
[K in keyof T]?: DeepPartial<T[K]>;
|
|
433
|
-
} : Partial<T>;
|
|
434
|
-
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
435
|
-
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
436
|
-
[K in keyof P]: Exact<P[K], I[K]>;
|
|
437
|
-
} & {
|
|
438
|
-
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
439
|
-
};
|
|
440
|
-
export {};
|