coreum-js 2.16.2 → 2.17.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.js +16 -17
- package/dist/main/coreum/asset/ft/v1/authz.d.ts +38 -0
- package/dist/main/coreum/asset/ft/v1/authz.js +122 -0
- package/dist/main/coreum/asset/ft/v1/event.d.ts +52 -120
- package/dist/main/coreum/asset/ft/v1/event.js +744 -138
- package/dist/main/coreum/asset/ft/v1/genesis.d.ts +31 -517
- package/dist/main/coreum/asset/ft/v1/genesis.js +273 -62
- package/dist/main/coreum/asset/ft/v1/params.d.ts +12 -63
- package/dist/main/coreum/asset/ft/v1/params.js +37 -33
- package/dist/main/coreum/asset/ft/v1/query.d.ts +86 -1950
- package/dist/main/coreum/asset/ft/v1/query.js +697 -217
- package/dist/main/coreum/asset/ft/v1/token.d.ts +17 -249
- package/dist/main/coreum/asset/ft/v1/token.js +273 -197
- package/dist/main/coreum/asset/ft/v1/tx.d.ts +30 -755
- package/dist/main/coreum/asset/ft/v1/tx.js +502 -386
- package/dist/main/coreum/asset/index.d.ts +2 -3
- package/dist/main/coreum/asset/nft/v1/authz.d.ts +33 -0
- package/dist/main/coreum/asset/nft/v1/authz.js +137 -0
- package/dist/main/coreum/asset/nft/v1/event.d.ts +35 -147
- package/dist/main/coreum/asset/nft/v1/event.js +475 -147
- package/dist/main/coreum/asset/nft/v1/genesis.d.ts +27 -286
- package/dist/main/coreum/asset/nft/v1/genesis.js +311 -119
- package/dist/main/coreum/asset/nft/v1/nft.d.ts +20 -108
- package/dist/main/coreum/asset/nft/v1/nft.js +136 -101
- package/dist/main/coreum/asset/nft/v1/params.d.ts +12 -38
- package/dist/main/coreum/asset/nft/v1/params.js +17 -20
- package/dist/main/coreum/asset/nft/v1/query.d.ts +110 -706
- package/dist/main/coreum/asset/nft/v1/query.js +1079 -185
- package/dist/main/coreum/asset/nft/v1/tx.d.ts +96 -266
- package/dist/main/coreum/asset/nft/v1/tx.js +865 -234
- package/dist/main/coreum/asset/nft/v1/types.d.ts +38 -19
- package/dist/main/coreum/asset/nft/v1/types.js +273 -45
- package/dist/main/coreum/customparams/v1/genesis.d.ts +12 -32
- package/dist/main/coreum/customparams/v1/genesis.js +26 -22
- package/dist/main/coreum/customparams/v1/params.d.ts +11 -19
- package/dist/main/coreum/customparams/v1/params.js +23 -20
- package/dist/main/coreum/customparams/v1/query.d.ts +14 -40
- package/dist/main/coreum/customparams/v1/query.js +35 -29
- package/dist/main/coreum/dex/index.d.ts +1 -0
- package/dist/main/coreum/dex/index.js +12 -0
- package/dist/main/coreum/dex/v1/event.d.ts +73 -0
- package/dist/main/coreum/dex/v1/event.js +470 -0
- package/dist/main/coreum/dex/v1/genesis.d.ts +49 -0
- package/dist/main/coreum/dex/v1/genesis.js +318 -0
- package/dist/main/coreum/dex/v1/order.d.ts +172 -0
- package/dist/main/coreum/dex/v1/order.js +1137 -0
- package/dist/main/coreum/dex/v1/params.d.ts +34 -0
- package/dist/main/coreum/dex/v1/params.js +139 -0
- package/dist/main/coreum/dex/v1/query.d.ts +133 -0
- package/dist/main/coreum/dex/v1/query.js +873 -0
- package/dist/main/coreum/dex/v1/tx.d.ts +102 -0
- package/dist/main/coreum/dex/v1/tx.js +521 -0
- package/dist/main/coreum/extensions/dex.d.ts +12 -0
- package/dist/main/coreum/extensions/dex.js +32 -0
- package/dist/main/coreum/feemodel/v1/genesis.d.ts +13 -233
- package/dist/main/coreum/feemodel/v1/genesis.js +23 -24
- package/dist/main/coreum/feemodel/v1/params.d.ts +14 -337
- package/dist/main/coreum/feemodel/v1/params.js +113 -66
- package/dist/main/coreum/feemodel/v1/query.d.ts +30 -261
- package/dist/main/coreum/feemodel/v1/query.js +196 -43
- package/dist/main/coreum/index.d.ts +46 -0
- package/dist/main/coreum/index.js +58 -1
- package/dist/main/coreum/nft/index.d.ts +1 -2
- package/dist/main/coreum/nft/v1beta1/event.d.ts +23 -79
- package/dist/main/coreum/nft/v1beta1/event.js +103 -77
- package/dist/main/coreum/nft/v1beta1/genesis.d.ts +13 -435
- package/dist/main/coreum/nft/v1beta1/genesis.js +50 -52
- package/dist/main/coreum/nft/v1beta1/nft.d.ts +15 -114
- package/dist/main/coreum/nft/v1beta1/nft.js +111 -81
- package/dist/main/coreum/nft/v1beta1/query.d.ts +54 -1628
- package/dist/main/coreum/nft/v1beta1/query.js +259 -223
- package/dist/main/coreum/nft/v1beta1/tx.d.ts +13 -39
- package/dist/main/coreum/nft/v1beta1/tx.js +54 -43
- package/dist/main/cosmos/extensions/distribution.d.ts +4 -4
- package/dist/main/cosmos/extensions/distribution.js +9 -9
- package/dist/main/cosmos/extensions/gov.d.ts +13 -13
- package/dist/main/cosmos/extensions/gov.js +14 -8
- package/dist/main/cosmos/index.d.ts +8 -8
- package/dist/main/google/api/http.js +18 -21
- package/dist/main/google/protobuf/any.js +3 -4
- package/dist/main/google/protobuf/duration.js +3 -4
- package/dist/main/google/protobuf/timestamp.js +3 -4
- package/dist/main/services/cosmostation.js +1 -1
- package/dist/main/tendermint/abci/types.js +183 -223
- package/dist/main/tendermint/crypto/keys.js +3 -4
- package/dist/main/tendermint/crypto/proof.js +19 -24
- package/dist/main/tendermint/types/params.js +15 -20
- package/dist/main/tendermint/types/types.js +57 -68
- package/dist/main/tendermint/types/validator.js +10 -13
- package/dist/main/tendermint/version/types.js +6 -8
- package/dist/main/types/core.d.ts +2 -1
- package/dist/main/types/core.js +2 -0
- package/dist/main/wasm/v1/authz.d.ts +20 -471
- package/dist/main/wasm/v1/authz.js +129 -148
- package/dist/main/wasm/v1/genesis.d.ts +14 -1020
- package/dist/main/wasm/v1/genesis.js +169 -140
- package/dist/main/wasm/v1/ibc.d.ts +13 -62
- package/dist/main/wasm/v1/ibc.js +91 -76
- package/dist/main/wasm/v1/index.d.ts +1 -2
- package/dist/main/wasm/v1/pagination.js +9 -11
- package/dist/main/wasm/v1/proposal.d.ts +23 -720
- package/dist/main/wasm/v1/proposal.js +634 -465
- package/dist/main/wasm/v1/query.d.ts +35 -1201
- package/dist/main/wasm/v1/query.js +370 -363
- package/dist/main/wasm/v1/tx.d.ts +37 -788
- package/dist/main/wasm/v1/tx.js +621 -497
- package/dist/main/wasm/v1/types.d.ts +19 -297
- package/dist/main/wasm/v1/types.js +219 -190
- package/dist/module/client/index.js +4 -3
- package/dist/module/coreum/asset/ft/v1/authz.d.ts +38 -0
- package/dist/module/coreum/asset/ft/v1/authz.js +119 -0
- package/dist/module/coreum/asset/ft/v1/event.d.ts +52 -120
- package/dist/module/coreum/asset/ft/v1/event.js +721 -109
- package/dist/module/coreum/asset/ft/v1/genesis.d.ts +31 -517
- package/dist/module/coreum/asset/ft/v1/genesis.js +266 -50
- package/dist/module/coreum/asset/ft/v1/params.d.ts +12 -63
- package/dist/module/coreum/asset/ft/v1/params.js +35 -27
- package/dist/module/coreum/asset/ft/v1/query.d.ts +86 -1950
- package/dist/module/coreum/asset/ft/v1/query.js +672 -180
- package/dist/module/coreum/asset/ft/v1/token.d.ts +17 -249
- package/dist/module/coreum/asset/ft/v1/token.js +236 -152
- package/dist/module/coreum/asset/ft/v1/tx.d.ts +30 -755
- package/dist/module/coreum/asset/ft/v1/tx.js +437 -301
- package/dist/module/coreum/asset/index.d.ts +2 -3
- package/dist/module/coreum/asset/nft/v1/authz.d.ts +33 -0
- package/dist/module/coreum/asset/nft/v1/authz.js +134 -0
- package/dist/module/coreum/asset/nft/v1/event.d.ts +35 -147
- package/dist/module/coreum/asset/nft/v1/event.js +448 -112
- package/dist/module/coreum/asset/nft/v1/genesis.d.ts +27 -286
- package/dist/module/coreum/asset/nft/v1/genesis.js +299 -100
- package/dist/module/coreum/asset/nft/v1/nft.d.ts +20 -108
- package/dist/module/coreum/asset/nft/v1/nft.js +121 -81
- package/dist/module/coreum/asset/nft/v1/params.d.ts +12 -38
- package/dist/module/coreum/asset/nft/v1/params.js +16 -16
- package/dist/module/coreum/asset/nft/v1/query.d.ts +110 -706
- package/dist/module/coreum/asset/nft/v1/query.js +1057 -153
- package/dist/module/coreum/asset/nft/v1/tx.d.ts +96 -266
- package/dist/module/coreum/asset/nft/v1/tx.js +825 -184
- package/dist/module/coreum/asset/nft/v1/types.d.ts +38 -19
- package/dist/module/coreum/asset/nft/v1/types.js +269 -39
- package/dist/module/coreum/customparams/v1/genesis.d.ts +12 -32
- package/dist/module/coreum/customparams/v1/genesis.js +25 -18
- package/dist/module/coreum/customparams/v1/params.d.ts +11 -19
- package/dist/module/coreum/customparams/v1/params.js +21 -14
- package/dist/module/coreum/customparams/v1/query.d.ts +14 -40
- package/dist/module/coreum/customparams/v1/query.js +32 -23
- package/dist/module/coreum/dex/index.d.ts +1 -0
- package/dist/module/coreum/dex/index.js +9 -0
- package/dist/module/coreum/dex/v1/event.d.ts +73 -0
- package/dist/module/coreum/dex/v1/event.js +467 -0
- package/dist/module/coreum/dex/v1/genesis.d.ts +49 -0
- package/dist/module/coreum/dex/v1/genesis.js +315 -0
- package/dist/module/coreum/dex/v1/order.d.ts +172 -0
- package/dist/module/coreum/dex/v1/order.js +1128 -0
- package/dist/module/coreum/dex/v1/params.d.ts +34 -0
- package/dist/module/coreum/dex/v1/params.js +136 -0
- package/dist/module/coreum/dex/v1/query.d.ts +133 -0
- package/dist/module/coreum/dex/v1/query.js +871 -0
- package/dist/module/coreum/dex/v1/tx.d.ts +102 -0
- package/dist/module/coreum/dex/v1/tx.js +519 -0
- package/dist/module/coreum/extensions/dex.d.ts +12 -0
- package/dist/module/coreum/extensions/dex.js +28 -0
- package/dist/module/coreum/feemodel/v1/genesis.d.ts +13 -233
- package/dist/module/coreum/feemodel/v1/genesis.js +22 -20
- package/dist/module/coreum/feemodel/v1/params.d.ts +14 -337
- package/dist/module/coreum/feemodel/v1/params.js +105 -54
- package/dist/module/coreum/feemodel/v1/query.d.ts +30 -261
- package/dist/module/coreum/feemodel/v1/query.js +191 -35
- package/dist/module/coreum/index.d.ts +46 -0
- package/dist/module/coreum/index.js +57 -0
- package/dist/module/coreum/nft/index.d.ts +1 -2
- package/dist/module/coreum/nft/v1beta1/event.d.ts +23 -79
- package/dist/module/coreum/nft/v1beta1/event.js +90 -58
- package/dist/module/coreum/nft/v1beta1/genesis.d.ts +13 -435
- package/dist/module/coreum/nft/v1beta1/genesis.js +44 -41
- package/dist/module/coreum/nft/v1beta1/nft.d.ts +15 -114
- package/dist/module/coreum/nft/v1beta1/nft.js +99 -64
- package/dist/module/coreum/nft/v1beta1/query.d.ts +54 -1628
- package/dist/module/coreum/nft/v1beta1/query.js +231 -183
- package/dist/module/coreum/nft/v1beta1/tx.d.ts +13 -39
- package/dist/module/coreum/nft/v1beta1/tx.js +47 -32
- package/dist/module/cosmos/extensions/distribution.d.ts +4 -4
- package/dist/module/cosmos/extensions/gov.d.ts +13 -13
- package/dist/module/cosmos/index.d.ts +8 -8
- package/dist/module/services/cosmostation.js +1 -1
- package/dist/module/types/core.d.ts +2 -1
- package/dist/module/types/core.js +2 -0
- package/dist/module/wasm/v1/authz.d.ts +20 -471
- package/dist/module/wasm/v1/authz.js +111 -119
- package/dist/module/wasm/v1/genesis.d.ts +14 -1020
- package/dist/module/wasm/v1/genesis.js +161 -125
- package/dist/module/wasm/v1/ibc.d.ts +13 -62
- package/dist/module/wasm/v1/ibc.js +83 -62
- package/dist/module/wasm/v1/index.d.ts +1 -2
- package/dist/module/wasm/v1/proposal.d.ts +23 -720
- package/dist/module/wasm/v1/proposal.js +562 -377
- package/dist/module/wasm/v1/query.d.ts +35 -1201
- package/dist/module/wasm/v1/query.js +330 -301
- package/dist/module/wasm/v1/tx.d.ts +37 -788
- package/dist/module/wasm/v1/tx.js +551 -404
- package/dist/module/wasm/v1/types.d.ts +19 -297
- package/dist/module/wasm/v1/types.js +196 -156
- package/package.json +11 -10
|
@@ -1,17 +1,18 @@
|
|
|
1
|
-
import
|
|
2
|
-
import _m0 from "protobufjs/minimal";
|
|
1
|
+
import { BinaryReader, BinaryWriter } from "cosmjs-types/binary";
|
|
3
2
|
import { ClassDefinition } from "./nft";
|
|
4
3
|
import { Params } from "./params";
|
|
5
4
|
export declare const protobufPackage = "coreum.asset.nft.v1";
|
|
6
5
|
/** GenesisState defines the nftasset module's genesis state. */
|
|
7
6
|
export interface GenesisState {
|
|
8
7
|
/** params defines all the parameters of the module. */
|
|
9
|
-
params
|
|
8
|
+
params: Params | undefined;
|
|
10
9
|
/** class_definitions keep the non-fungible token class definitions state */
|
|
11
10
|
classDefinitions: ClassDefinition[];
|
|
12
11
|
frozenNfts: FrozenNFT[];
|
|
13
12
|
whitelistedNftAccounts: WhitelistedNFTAccounts[];
|
|
14
13
|
burntNfts: BurntNFT[];
|
|
14
|
+
classWhitelistedAccounts: ClassWhitelistedAccounts[];
|
|
15
|
+
classFrozenAccounts: ClassFrozenAccounts[];
|
|
15
16
|
}
|
|
16
17
|
export interface FrozenNFT {
|
|
17
18
|
classID: string;
|
|
@@ -22,294 +23,26 @@ export interface WhitelistedNFTAccounts {
|
|
|
22
23
|
nftID: string;
|
|
23
24
|
accounts: string[];
|
|
24
25
|
}
|
|
26
|
+
export interface ClassWhitelistedAccounts {
|
|
27
|
+
classID: string;
|
|
28
|
+
accounts: string[];
|
|
29
|
+
}
|
|
30
|
+
export interface ClassFrozenAccounts {
|
|
31
|
+
classID: string;
|
|
32
|
+
accounts: string[];
|
|
33
|
+
}
|
|
25
34
|
export interface BurntNFT {
|
|
26
35
|
classID: string;
|
|
27
36
|
nftIDs: string[];
|
|
28
37
|
}
|
|
29
|
-
export declare const GenesisState:
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
params?: {
|
|
36
|
-
mintFee?: {
|
|
37
|
-
denom?: string;
|
|
38
|
-
amount?: string;
|
|
39
|
-
};
|
|
40
|
-
};
|
|
41
|
-
classDefinitions?: {
|
|
42
|
-
id?: string;
|
|
43
|
-
issuer?: string;
|
|
44
|
-
features?: import("./nft").ClassFeature[];
|
|
45
|
-
royaltyRate?: string;
|
|
46
|
-
}[];
|
|
47
|
-
frozenNfts?: {
|
|
48
|
-
classID?: string;
|
|
49
|
-
nftIDs?: string[];
|
|
50
|
-
}[];
|
|
51
|
-
whitelistedNftAccounts?: {
|
|
52
|
-
classID?: string;
|
|
53
|
-
nftID?: string;
|
|
54
|
-
accounts?: string[];
|
|
55
|
-
}[];
|
|
56
|
-
burntNfts?: {
|
|
57
|
-
classID?: string;
|
|
58
|
-
nftIDs?: string[];
|
|
59
|
-
}[];
|
|
60
|
-
} & {
|
|
61
|
-
params?: {
|
|
62
|
-
mintFee?: {
|
|
63
|
-
denom?: string;
|
|
64
|
-
amount?: string;
|
|
65
|
-
};
|
|
66
|
-
} & {
|
|
67
|
-
mintFee?: {
|
|
68
|
-
denom?: string;
|
|
69
|
-
amount?: string;
|
|
70
|
-
} & {
|
|
71
|
-
denom?: string;
|
|
72
|
-
amount?: string;
|
|
73
|
-
} & { [K in Exclude<keyof I["params"]["mintFee"], keyof import("cosmjs-types/cosmos/base/v1beta1/coin").Coin>]: never; };
|
|
74
|
-
} & { [K_1 in Exclude<keyof I["params"], "mintFee">]: never; };
|
|
75
|
-
classDefinitions?: {
|
|
76
|
-
id?: string;
|
|
77
|
-
issuer?: string;
|
|
78
|
-
features?: import("./nft").ClassFeature[];
|
|
79
|
-
royaltyRate?: string;
|
|
80
|
-
}[] & ({
|
|
81
|
-
id?: string;
|
|
82
|
-
issuer?: string;
|
|
83
|
-
features?: import("./nft").ClassFeature[];
|
|
84
|
-
royaltyRate?: string;
|
|
85
|
-
} & {
|
|
86
|
-
id?: string;
|
|
87
|
-
issuer?: string;
|
|
88
|
-
features?: import("./nft").ClassFeature[] & import("./nft").ClassFeature[] & { [K_2 in Exclude<keyof I["classDefinitions"][number]["features"], keyof import("./nft").ClassFeature[]>]: never; };
|
|
89
|
-
royaltyRate?: string;
|
|
90
|
-
} & { [K_3 in Exclude<keyof I["classDefinitions"][number], keyof ClassDefinition>]: never; })[] & { [K_4 in Exclude<keyof I["classDefinitions"], keyof {
|
|
91
|
-
id?: string;
|
|
92
|
-
issuer?: string;
|
|
93
|
-
features?: import("./nft").ClassFeature[];
|
|
94
|
-
royaltyRate?: string;
|
|
95
|
-
}[]>]: never; };
|
|
96
|
-
frozenNfts?: {
|
|
97
|
-
classID?: string;
|
|
98
|
-
nftIDs?: string[];
|
|
99
|
-
}[] & ({
|
|
100
|
-
classID?: string;
|
|
101
|
-
nftIDs?: string[];
|
|
102
|
-
} & {
|
|
103
|
-
classID?: string;
|
|
104
|
-
nftIDs?: string[] & string[] & { [K_5 in Exclude<keyof I["frozenNfts"][number]["nftIDs"], keyof string[]>]: never; };
|
|
105
|
-
} & { [K_6 in Exclude<keyof I["frozenNfts"][number], keyof FrozenNFT>]: never; })[] & { [K_7 in Exclude<keyof I["frozenNfts"], keyof {
|
|
106
|
-
classID?: string;
|
|
107
|
-
nftIDs?: string[];
|
|
108
|
-
}[]>]: never; };
|
|
109
|
-
whitelistedNftAccounts?: {
|
|
110
|
-
classID?: string;
|
|
111
|
-
nftID?: string;
|
|
112
|
-
accounts?: string[];
|
|
113
|
-
}[] & ({
|
|
114
|
-
classID?: string;
|
|
115
|
-
nftID?: string;
|
|
116
|
-
accounts?: string[];
|
|
117
|
-
} & {
|
|
118
|
-
classID?: string;
|
|
119
|
-
nftID?: string;
|
|
120
|
-
accounts?: string[] & string[] & { [K_8 in Exclude<keyof I["whitelistedNftAccounts"][number]["accounts"], keyof string[]>]: never; };
|
|
121
|
-
} & { [K_9 in Exclude<keyof I["whitelistedNftAccounts"][number], keyof WhitelistedNFTAccounts>]: never; })[] & { [K_10 in Exclude<keyof I["whitelistedNftAccounts"], keyof {
|
|
122
|
-
classID?: string;
|
|
123
|
-
nftID?: string;
|
|
124
|
-
accounts?: string[];
|
|
125
|
-
}[]>]: never; };
|
|
126
|
-
burntNfts?: {
|
|
127
|
-
classID?: string;
|
|
128
|
-
nftIDs?: string[];
|
|
129
|
-
}[] & ({
|
|
130
|
-
classID?: string;
|
|
131
|
-
nftIDs?: string[];
|
|
132
|
-
} & {
|
|
133
|
-
classID?: string;
|
|
134
|
-
nftIDs?: string[] & string[] & { [K_11 in Exclude<keyof I["burntNfts"][number]["nftIDs"], keyof string[]>]: never; };
|
|
135
|
-
} & { [K_12 in Exclude<keyof I["burntNfts"][number], keyof BurntNFT>]: never; })[] & { [K_13 in Exclude<keyof I["burntNfts"], keyof {
|
|
136
|
-
classID?: string;
|
|
137
|
-
nftIDs?: string[];
|
|
138
|
-
}[]>]: never; };
|
|
139
|
-
} & { [K_14 in Exclude<keyof I, keyof GenesisState>]: never; }>(base?: I): GenesisState;
|
|
140
|
-
fromPartial<I_1 extends {
|
|
141
|
-
params?: {
|
|
142
|
-
mintFee?: {
|
|
143
|
-
denom?: string;
|
|
144
|
-
amount?: string;
|
|
145
|
-
};
|
|
146
|
-
};
|
|
147
|
-
classDefinitions?: {
|
|
148
|
-
id?: string;
|
|
149
|
-
issuer?: string;
|
|
150
|
-
features?: import("./nft").ClassFeature[];
|
|
151
|
-
royaltyRate?: string;
|
|
152
|
-
}[];
|
|
153
|
-
frozenNfts?: {
|
|
154
|
-
classID?: string;
|
|
155
|
-
nftIDs?: string[];
|
|
156
|
-
}[];
|
|
157
|
-
whitelistedNftAccounts?: {
|
|
158
|
-
classID?: string;
|
|
159
|
-
nftID?: string;
|
|
160
|
-
accounts?: string[];
|
|
161
|
-
}[];
|
|
162
|
-
burntNfts?: {
|
|
163
|
-
classID?: string;
|
|
164
|
-
nftIDs?: string[];
|
|
165
|
-
}[];
|
|
166
|
-
} & {
|
|
167
|
-
params?: {
|
|
168
|
-
mintFee?: {
|
|
169
|
-
denom?: string;
|
|
170
|
-
amount?: string;
|
|
171
|
-
};
|
|
172
|
-
} & {
|
|
173
|
-
mintFee?: {
|
|
174
|
-
denom?: string;
|
|
175
|
-
amount?: string;
|
|
176
|
-
} & {
|
|
177
|
-
denom?: string;
|
|
178
|
-
amount?: string;
|
|
179
|
-
} & { [K_15 in Exclude<keyof I_1["params"]["mintFee"], keyof import("cosmjs-types/cosmos/base/v1beta1/coin").Coin>]: never; };
|
|
180
|
-
} & { [K_16 in Exclude<keyof I_1["params"], "mintFee">]: never; };
|
|
181
|
-
classDefinitions?: {
|
|
182
|
-
id?: string;
|
|
183
|
-
issuer?: string;
|
|
184
|
-
features?: import("./nft").ClassFeature[];
|
|
185
|
-
royaltyRate?: string;
|
|
186
|
-
}[] & ({
|
|
187
|
-
id?: string;
|
|
188
|
-
issuer?: string;
|
|
189
|
-
features?: import("./nft").ClassFeature[];
|
|
190
|
-
royaltyRate?: string;
|
|
191
|
-
} & {
|
|
192
|
-
id?: string;
|
|
193
|
-
issuer?: string;
|
|
194
|
-
features?: import("./nft").ClassFeature[] & import("./nft").ClassFeature[] & { [K_17 in Exclude<keyof I_1["classDefinitions"][number]["features"], keyof import("./nft").ClassFeature[]>]: never; };
|
|
195
|
-
royaltyRate?: string;
|
|
196
|
-
} & { [K_18 in Exclude<keyof I_1["classDefinitions"][number], keyof ClassDefinition>]: never; })[] & { [K_19 in Exclude<keyof I_1["classDefinitions"], keyof {
|
|
197
|
-
id?: string;
|
|
198
|
-
issuer?: string;
|
|
199
|
-
features?: import("./nft").ClassFeature[];
|
|
200
|
-
royaltyRate?: string;
|
|
201
|
-
}[]>]: never; };
|
|
202
|
-
frozenNfts?: {
|
|
203
|
-
classID?: string;
|
|
204
|
-
nftIDs?: string[];
|
|
205
|
-
}[] & ({
|
|
206
|
-
classID?: string;
|
|
207
|
-
nftIDs?: string[];
|
|
208
|
-
} & {
|
|
209
|
-
classID?: string;
|
|
210
|
-
nftIDs?: string[] & string[] & { [K_20 in Exclude<keyof I_1["frozenNfts"][number]["nftIDs"], keyof string[]>]: never; };
|
|
211
|
-
} & { [K_21 in Exclude<keyof I_1["frozenNfts"][number], keyof FrozenNFT>]: never; })[] & { [K_22 in Exclude<keyof I_1["frozenNfts"], keyof {
|
|
212
|
-
classID?: string;
|
|
213
|
-
nftIDs?: string[];
|
|
214
|
-
}[]>]: never; };
|
|
215
|
-
whitelistedNftAccounts?: {
|
|
216
|
-
classID?: string;
|
|
217
|
-
nftID?: string;
|
|
218
|
-
accounts?: string[];
|
|
219
|
-
}[] & ({
|
|
220
|
-
classID?: string;
|
|
221
|
-
nftID?: string;
|
|
222
|
-
accounts?: string[];
|
|
223
|
-
} & {
|
|
224
|
-
classID?: string;
|
|
225
|
-
nftID?: string;
|
|
226
|
-
accounts?: string[] & string[] & { [K_23 in Exclude<keyof I_1["whitelistedNftAccounts"][number]["accounts"], keyof string[]>]: never; };
|
|
227
|
-
} & { [K_24 in Exclude<keyof I_1["whitelistedNftAccounts"][number], keyof WhitelistedNFTAccounts>]: never; })[] & { [K_25 in Exclude<keyof I_1["whitelistedNftAccounts"], keyof {
|
|
228
|
-
classID?: string;
|
|
229
|
-
nftID?: string;
|
|
230
|
-
accounts?: string[];
|
|
231
|
-
}[]>]: never; };
|
|
232
|
-
burntNfts?: {
|
|
233
|
-
classID?: string;
|
|
234
|
-
nftIDs?: string[];
|
|
235
|
-
}[] & ({
|
|
236
|
-
classID?: string;
|
|
237
|
-
nftIDs?: string[];
|
|
238
|
-
} & {
|
|
239
|
-
classID?: string;
|
|
240
|
-
nftIDs?: string[] & string[] & { [K_26 in Exclude<keyof I_1["burntNfts"][number]["nftIDs"], keyof string[]>]: never; };
|
|
241
|
-
} & { [K_27 in Exclude<keyof I_1["burntNfts"][number], keyof BurntNFT>]: never; })[] & { [K_28 in Exclude<keyof I_1["burntNfts"], keyof {
|
|
242
|
-
classID?: string;
|
|
243
|
-
nftIDs?: string[];
|
|
244
|
-
}[]>]: never; };
|
|
245
|
-
} & { [K_29 in Exclude<keyof I_1, keyof GenesisState>]: never; }>(object: I_1): GenesisState;
|
|
246
|
-
};
|
|
247
|
-
export declare const FrozenNFT: {
|
|
248
|
-
encode(message: FrozenNFT, writer?: _m0.Writer): _m0.Writer;
|
|
249
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): FrozenNFT;
|
|
250
|
-
fromJSON(object: any): FrozenNFT;
|
|
251
|
-
toJSON(message: FrozenNFT): unknown;
|
|
252
|
-
create<I extends {
|
|
253
|
-
classID?: string;
|
|
254
|
-
nftIDs?: string[];
|
|
255
|
-
} & {
|
|
256
|
-
classID?: string;
|
|
257
|
-
nftIDs?: string[] & string[] & { [K in Exclude<keyof I["nftIDs"], keyof string[]>]: never; };
|
|
258
|
-
} & { [K_1 in Exclude<keyof I, keyof FrozenNFT>]: never; }>(base?: I): FrozenNFT;
|
|
259
|
-
fromPartial<I_1 extends {
|
|
260
|
-
classID?: string;
|
|
261
|
-
nftIDs?: string[];
|
|
262
|
-
} & {
|
|
263
|
-
classID?: string;
|
|
264
|
-
nftIDs?: string[] & string[] & { [K_2 in Exclude<keyof I_1["nftIDs"], keyof string[]>]: never; };
|
|
265
|
-
} & { [K_3 in Exclude<keyof I_1, keyof FrozenNFT>]: never; }>(object: I_1): FrozenNFT;
|
|
266
|
-
};
|
|
267
|
-
export declare const WhitelistedNFTAccounts: {
|
|
268
|
-
encode(message: WhitelistedNFTAccounts, writer?: _m0.Writer): _m0.Writer;
|
|
269
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): WhitelistedNFTAccounts;
|
|
270
|
-
fromJSON(object: any): WhitelistedNFTAccounts;
|
|
271
|
-
toJSON(message: WhitelistedNFTAccounts): unknown;
|
|
272
|
-
create<I extends {
|
|
273
|
-
classID?: string;
|
|
274
|
-
nftID?: string;
|
|
275
|
-
accounts?: string[];
|
|
276
|
-
} & {
|
|
277
|
-
classID?: string;
|
|
278
|
-
nftID?: string;
|
|
279
|
-
accounts?: string[] & string[] & { [K in Exclude<keyof I["accounts"], keyof string[]>]: never; };
|
|
280
|
-
} & { [K_1 in Exclude<keyof I, keyof WhitelistedNFTAccounts>]: never; }>(base?: I): WhitelistedNFTAccounts;
|
|
281
|
-
fromPartial<I_1 extends {
|
|
282
|
-
classID?: string;
|
|
283
|
-
nftID?: string;
|
|
284
|
-
accounts?: string[];
|
|
285
|
-
} & {
|
|
286
|
-
classID?: string;
|
|
287
|
-
nftID?: string;
|
|
288
|
-
accounts?: string[] & string[] & { [K_2 in Exclude<keyof I_1["accounts"], keyof string[]>]: never; };
|
|
289
|
-
} & { [K_3 in Exclude<keyof I_1, keyof WhitelistedNFTAccounts>]: never; }>(object: I_1): WhitelistedNFTAccounts;
|
|
290
|
-
};
|
|
291
|
-
export declare const BurntNFT: {
|
|
292
|
-
encode(message: BurntNFT, writer?: _m0.Writer): _m0.Writer;
|
|
293
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): BurntNFT;
|
|
294
|
-
fromJSON(object: any): BurntNFT;
|
|
295
|
-
toJSON(message: BurntNFT): unknown;
|
|
296
|
-
create<I extends {
|
|
297
|
-
classID?: string;
|
|
298
|
-
nftIDs?: string[];
|
|
299
|
-
} & {
|
|
300
|
-
classID?: string;
|
|
301
|
-
nftIDs?: string[] & string[] & { [K in Exclude<keyof I["nftIDs"], keyof string[]>]: never; };
|
|
302
|
-
} & { [K_1 in Exclude<keyof I, keyof BurntNFT>]: never; }>(base?: I): BurntNFT;
|
|
303
|
-
fromPartial<I_1 extends {
|
|
304
|
-
classID?: string;
|
|
305
|
-
nftIDs?: string[];
|
|
306
|
-
} & {
|
|
307
|
-
classID?: string;
|
|
308
|
-
nftIDs?: string[] & string[] & { [K_2 in Exclude<keyof I_1["nftIDs"], keyof string[]>]: never; };
|
|
309
|
-
} & { [K_3 in Exclude<keyof I_1, keyof BurntNFT>]: never; }>(object: I_1): BurntNFT;
|
|
310
|
-
};
|
|
38
|
+
export declare const GenesisState: MessageFns<GenesisState>;
|
|
39
|
+
export declare const FrozenNFT: MessageFns<FrozenNFT>;
|
|
40
|
+
export declare const WhitelistedNFTAccounts: MessageFns<WhitelistedNFTAccounts>;
|
|
41
|
+
export declare const ClassWhitelistedAccounts: MessageFns<ClassWhitelistedAccounts>;
|
|
42
|
+
export declare const ClassFrozenAccounts: MessageFns<ClassFrozenAccounts>;
|
|
43
|
+
export declare const BurntNFT: MessageFns<BurntNFT>;
|
|
311
44
|
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
312
|
-
export type DeepPartial<T> = T extends Builtin ? T : T extends
|
|
45
|
+
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 {} ? {
|
|
313
46
|
[K in keyof T]?: DeepPartial<T[K]>;
|
|
314
47
|
} : Partial<T>;
|
|
315
48
|
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
@@ -318,4 +51,12 @@ export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
|
318
51
|
} & {
|
|
319
52
|
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
320
53
|
};
|
|
54
|
+
export interface MessageFns<T> {
|
|
55
|
+
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
56
|
+
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
57
|
+
fromJSON(object: any): T;
|
|
58
|
+
toJSON(message: T): unknown;
|
|
59
|
+
create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
|
|
60
|
+
fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
|
|
61
|
+
}
|
|
321
62
|
export {};
|