coreum-js 2.16.1 → 2.16.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (108) hide show
  1. package/dist/main/client/index.js +1 -1
  2. package/dist/main/coreum/asset/ft/v1/event.d.ts +6 -98
  3. package/dist/main/coreum/asset/ft/v1/genesis.d.ts +4 -500
  4. package/dist/main/coreum/asset/ft/v1/params.d.ts +2 -54
  5. package/dist/main/coreum/asset/ft/v1/query.d.ts +28 -1852
  6. package/dist/main/coreum/asset/ft/v1/token.d.ts +12 -210
  7. package/dist/main/coreum/asset/ft/v1/token.js +3 -3
  8. package/dist/main/coreum/asset/ft/v1/tx.d.ts +36 -644
  9. package/dist/main/coreum/asset/nft/v1/event.d.ts +10 -114
  10. package/dist/main/coreum/asset/nft/v1/genesis.d.ts +8 -258
  11. package/dist/main/coreum/asset/nft/v1/nft.d.ts +4 -86
  12. package/dist/main/coreum/asset/nft/v1/nft.js +3 -3
  13. package/dist/main/coreum/asset/nft/v1/params.d.ts +2 -28
  14. package/dist/main/coreum/asset/nft/v1/query.d.ts +20 -638
  15. package/dist/main/coreum/asset/nft/v1/tx.d.ts +16 -212
  16. package/dist/main/coreum/asset/nft/v1/types.d.ts +2 -10
  17. package/dist/main/coreum/customparams/v1/genesis.d.ts +2 -22
  18. package/dist/main/coreum/customparams/v1/params.d.ts +2 -10
  19. package/dist/main/coreum/customparams/v1/query.d.ts +4 -24
  20. package/dist/main/coreum/extensions/ft.js +1 -2
  21. package/dist/main/coreum/extensions/nft.js +1 -2
  22. package/dist/main/coreum/extensions/nftbeta.js +1 -2
  23. package/dist/main/coreum/feemodel/v1/genesis.d.ts +2 -222
  24. package/dist/main/coreum/feemodel/v1/params.d.ts +4 -320
  25. package/dist/main/coreum/feemodel/v1/query.d.ts +8 -232
  26. package/dist/main/coreum/nft/v1beta1/event.d.ts +6 -58
  27. package/dist/main/coreum/nft/v1beta1/genesis.d.ts +4 -420
  28. package/dist/main/coreum/nft/v1beta1/nft.d.ts +4 -96
  29. package/dist/main/coreum/nft/v1beta1/query.d.ts +28 -1532
  30. package/dist/main/coreum/nft/v1beta1/tx.d.ts +4 -24
  31. package/dist/main/cosmos/extensions/bank.js +1 -2
  32. package/dist/main/cosmos/extensions/distribution.js +1 -2
  33. package/dist/main/cosmos/extensions/gov.js +1 -2
  34. package/dist/main/google/api/http.d.ts +6 -2636
  35. package/dist/main/google/protobuf/any.d.ts +2 -14
  36. package/dist/main/google/protobuf/any.js +3 -3
  37. package/dist/main/google/protobuf/duration.d.ts +2 -14
  38. package/dist/main/google/protobuf/timestamp.d.ts +2 -14
  39. package/dist/main/index.js +17 -7
  40. package/dist/main/tendermint/abci/types.d.ts +92 -6360
  41. package/dist/main/tendermint/abci/types.js +12 -12
  42. package/dist/main/tendermint/crypto/keys.d.ts +2 -14
  43. package/dist/main/tendermint/crypto/proof.d.ts +10 -152
  44. package/dist/main/tendermint/types/params.d.ts +12 -196
  45. package/dist/main/tendermint/types/types.d.ts +26 -1744
  46. package/dist/main/tendermint/types/types.js +5 -5
  47. package/dist/main/tendermint/types/validator.d.ts +6 -230
  48. package/dist/main/tendermint/version/types.d.ts +4 -28
  49. package/dist/main/types/coreum.js +3 -3
  50. package/dist/main/utils/convertStringToAny.d.ts +1 -0
  51. package/dist/main/utils/nft.js +1 -2
  52. package/dist/main/wasm/v1/authz.d.ts +18 -414
  53. package/dist/main/wasm/v1/extensions/wasm.js +1 -2
  54. package/dist/main/wasm/v1/genesis.d.ts +8 -994
  55. package/dist/main/wasm/v1/ibc.d.ts +6 -42
  56. package/dist/main/wasm/v1/pagination.d.ts +4 -40
  57. package/dist/main/wasm/v1/proposal.d.ts +26 -640
  58. package/dist/main/wasm/v1/query.d.ts +46 -1060
  59. package/dist/main/wasm/v1/tx.d.ts +52 -630
  60. package/dist/main/wasm/v1/types.d.ts +16 -246
  61. package/dist/main/wasm/v1/types.js +5 -5
  62. package/dist/module/client/index.js +2 -2
  63. package/dist/module/coreum/asset/ft/v1/event.d.ts +6 -98
  64. package/dist/module/coreum/asset/ft/v1/genesis.d.ts +4 -500
  65. package/dist/module/coreum/asset/ft/v1/params.d.ts +2 -54
  66. package/dist/module/coreum/asset/ft/v1/query.d.ts +28 -1852
  67. package/dist/module/coreum/asset/ft/v1/token.d.ts +12 -210
  68. package/dist/module/coreum/asset/ft/v1/tx.d.ts +36 -644
  69. package/dist/module/coreum/asset/nft/v1/event.d.ts +10 -114
  70. package/dist/module/coreum/asset/nft/v1/genesis.d.ts +8 -258
  71. package/dist/module/coreum/asset/nft/v1/nft.d.ts +4 -86
  72. package/dist/module/coreum/asset/nft/v1/params.d.ts +2 -28
  73. package/dist/module/coreum/asset/nft/v1/query.d.ts +20 -638
  74. package/dist/module/coreum/asset/nft/v1/tx.d.ts +16 -212
  75. package/dist/module/coreum/asset/nft/v1/types.d.ts +2 -10
  76. package/dist/module/coreum/customparams/v1/genesis.d.ts +2 -22
  77. package/dist/module/coreum/customparams/v1/params.d.ts +2 -10
  78. package/dist/module/coreum/customparams/v1/query.d.ts +4 -24
  79. package/dist/module/coreum/feemodel/v1/genesis.d.ts +2 -222
  80. package/dist/module/coreum/feemodel/v1/params.d.ts +4 -320
  81. package/dist/module/coreum/feemodel/v1/query.d.ts +8 -232
  82. package/dist/module/coreum/nft/v1beta1/event.d.ts +6 -58
  83. package/dist/module/coreum/nft/v1beta1/genesis.d.ts +4 -420
  84. package/dist/module/coreum/nft/v1beta1/nft.d.ts +4 -96
  85. package/dist/module/coreum/nft/v1beta1/query.d.ts +28 -1532
  86. package/dist/module/coreum/nft/v1beta1/tx.d.ts +4 -24
  87. package/dist/module/google/api/http.d.ts +6 -2636
  88. package/dist/module/google/protobuf/any.d.ts +2 -14
  89. package/dist/module/google/protobuf/duration.d.ts +2 -14
  90. package/dist/module/google/protobuf/timestamp.d.ts +2 -14
  91. package/dist/module/tendermint/abci/types.d.ts +92 -6360
  92. package/dist/module/tendermint/crypto/keys.d.ts +2 -14
  93. package/dist/module/tendermint/crypto/proof.d.ts +10 -152
  94. package/dist/module/tendermint/types/params.d.ts +12 -196
  95. package/dist/module/tendermint/types/types.d.ts +26 -1744
  96. package/dist/module/tendermint/types/validator.d.ts +6 -230
  97. package/dist/module/tendermint/version/types.d.ts +4 -28
  98. package/dist/module/types/coreum.js +3 -3
  99. package/dist/module/utils/convertStringToAny.d.ts +1 -0
  100. package/dist/module/wasm/v1/authz.d.ts +18 -414
  101. package/dist/module/wasm/v1/genesis.d.ts +8 -994
  102. package/dist/module/wasm/v1/ibc.d.ts +6 -42
  103. package/dist/module/wasm/v1/pagination.d.ts +4 -40
  104. package/dist/module/wasm/v1/proposal.d.ts +26 -640
  105. package/dist/module/wasm/v1/query.d.ts +46 -1060
  106. package/dist/module/wasm/v1/tx.d.ts +52 -630
  107. package/dist/module/wasm/v1/types.d.ts +16 -246
  108. package/package.json +2 -2
@@ -39,144 +39,40 @@ export declare const EventClassIssued: {
39
39
  decode(input: _m0.Reader | Uint8Array, length?: number): EventClassIssued;
40
40
  fromJSON(object: any): EventClassIssued;
41
41
  toJSON(message: EventClassIssued): unknown;
42
- create<I extends {
43
- id?: string;
44
- issuer?: string;
45
- symbol?: string;
46
- name?: string;
47
- description?: string;
48
- uri?: string;
49
- uriHash?: string;
50
- features?: ClassFeature[];
51
- royaltyRate?: string;
52
- } & {
53
- id?: string;
54
- issuer?: string;
55
- symbol?: string;
56
- name?: string;
57
- description?: string;
58
- uri?: string;
59
- uriHash?: string;
60
- features?: ClassFeature[] & ClassFeature[] & { [K in Exclude<keyof I["features"], keyof ClassFeature[]>]: never; };
61
- royaltyRate?: string;
62
- } & { [K_1 in Exclude<keyof I, keyof EventClassIssued>]: never; }>(base?: I): EventClassIssued;
63
- fromPartial<I_1 extends {
64
- id?: string;
65
- issuer?: string;
66
- symbol?: string;
67
- name?: string;
68
- description?: string;
69
- uri?: string;
70
- uriHash?: string;
71
- features?: ClassFeature[];
72
- royaltyRate?: string;
73
- } & {
74
- id?: string;
75
- issuer?: string;
76
- symbol?: string;
77
- name?: string;
78
- description?: string;
79
- uri?: string;
80
- uriHash?: string;
81
- features?: ClassFeature[] & ClassFeature[] & { [K_2 in Exclude<keyof I_1["features"], keyof ClassFeature[]>]: never; };
82
- royaltyRate?: string;
83
- } & { [K_3 in Exclude<keyof I_1, keyof EventClassIssued>]: never; }>(object: I_1): EventClassIssued;
42
+ create<I extends Exact<DeepPartial<EventClassIssued>, I>>(base?: I): EventClassIssued;
43
+ fromPartial<I extends Exact<DeepPartial<EventClassIssued>, I>>(object: I): EventClassIssued;
84
44
  };
85
45
  export declare const EventFrozen: {
86
46
  encode(message: EventFrozen, writer?: _m0.Writer): _m0.Writer;
87
47
  decode(input: _m0.Reader | Uint8Array, length?: number): EventFrozen;
88
48
  fromJSON(object: any): EventFrozen;
89
49
  toJSON(message: EventFrozen): unknown;
90
- create<I extends {
91
- classId?: string;
92
- id?: string;
93
- owner?: string;
94
- } & {
95
- classId?: string;
96
- id?: string;
97
- owner?: string;
98
- } & { [K in Exclude<keyof I, keyof EventFrozen>]: never; }>(base?: I): EventFrozen;
99
- fromPartial<I_1 extends {
100
- classId?: string;
101
- id?: string;
102
- owner?: string;
103
- } & {
104
- classId?: string;
105
- id?: string;
106
- owner?: string;
107
- } & { [K_1 in Exclude<keyof I_1, keyof EventFrozen>]: never; }>(object: I_1): EventFrozen;
50
+ create<I extends Exact<DeepPartial<EventFrozen>, I>>(base?: I): EventFrozen;
51
+ fromPartial<I extends Exact<DeepPartial<EventFrozen>, I>>(object: I): EventFrozen;
108
52
  };
109
53
  export declare const EventUnfrozen: {
110
54
  encode(message: EventUnfrozen, writer?: _m0.Writer): _m0.Writer;
111
55
  decode(input: _m0.Reader | Uint8Array, length?: number): EventUnfrozen;
112
56
  fromJSON(object: any): EventUnfrozen;
113
57
  toJSON(message: EventUnfrozen): unknown;
114
- create<I extends {
115
- classId?: string;
116
- id?: string;
117
- owner?: string;
118
- } & {
119
- classId?: string;
120
- id?: string;
121
- owner?: string;
122
- } & { [K in Exclude<keyof I, keyof EventUnfrozen>]: never; }>(base?: I): EventUnfrozen;
123
- fromPartial<I_1 extends {
124
- classId?: string;
125
- id?: string;
126
- owner?: string;
127
- } & {
128
- classId?: string;
129
- id?: string;
130
- owner?: string;
131
- } & { [K_1 in Exclude<keyof I_1, keyof EventUnfrozen>]: never; }>(object: I_1): EventUnfrozen;
58
+ create<I extends Exact<DeepPartial<EventUnfrozen>, I>>(base?: I): EventUnfrozen;
59
+ fromPartial<I extends Exact<DeepPartial<EventUnfrozen>, I>>(object: I): EventUnfrozen;
132
60
  };
133
61
  export declare const EventAddedToWhitelist: {
134
62
  encode(message: EventAddedToWhitelist, writer?: _m0.Writer): _m0.Writer;
135
63
  decode(input: _m0.Reader | Uint8Array, length?: number): EventAddedToWhitelist;
136
64
  fromJSON(object: any): EventAddedToWhitelist;
137
65
  toJSON(message: EventAddedToWhitelist): unknown;
138
- create<I extends {
139
- classId?: string;
140
- id?: string;
141
- account?: string;
142
- } & {
143
- classId?: string;
144
- id?: string;
145
- account?: string;
146
- } & { [K in Exclude<keyof I, keyof EventAddedToWhitelist>]: never; }>(base?: I): EventAddedToWhitelist;
147
- fromPartial<I_1 extends {
148
- classId?: string;
149
- id?: string;
150
- account?: string;
151
- } & {
152
- classId?: string;
153
- id?: string;
154
- account?: string;
155
- } & { [K_1 in Exclude<keyof I_1, keyof EventAddedToWhitelist>]: never; }>(object: I_1): EventAddedToWhitelist;
66
+ create<I extends Exact<DeepPartial<EventAddedToWhitelist>, I>>(base?: I): EventAddedToWhitelist;
67
+ fromPartial<I extends Exact<DeepPartial<EventAddedToWhitelist>, I>>(object: I): EventAddedToWhitelist;
156
68
  };
157
69
  export declare const EventRemovedFromWhitelist: {
158
70
  encode(message: EventRemovedFromWhitelist, writer?: _m0.Writer): _m0.Writer;
159
71
  decode(input: _m0.Reader | Uint8Array, length?: number): EventRemovedFromWhitelist;
160
72
  fromJSON(object: any): EventRemovedFromWhitelist;
161
73
  toJSON(message: EventRemovedFromWhitelist): unknown;
162
- create<I extends {
163
- classId?: string;
164
- id?: string;
165
- account?: string;
166
- } & {
167
- classId?: string;
168
- id?: string;
169
- account?: string;
170
- } & { [K in Exclude<keyof I, keyof EventRemovedFromWhitelist>]: never; }>(base?: I): EventRemovedFromWhitelist;
171
- fromPartial<I_1 extends {
172
- classId?: string;
173
- id?: string;
174
- account?: string;
175
- } & {
176
- classId?: string;
177
- id?: string;
178
- account?: string;
179
- } & { [K_1 in Exclude<keyof I_1, keyof EventRemovedFromWhitelist>]: never; }>(object: I_1): EventRemovedFromWhitelist;
74
+ create<I extends Exact<DeepPartial<EventRemovedFromWhitelist>, I>>(base?: I): EventRemovedFromWhitelist;
75
+ fromPartial<I extends Exact<DeepPartial<EventRemovedFromWhitelist>, I>>(object: I): EventRemovedFromWhitelist;
180
76
  };
181
77
  type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
182
78
  export type DeepPartial<T> = T extends Builtin ? T : T extends Long ? string | number | Long : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
@@ -31,282 +31,32 @@ export declare const GenesisState: {
31
31
  decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState;
32
32
  fromJSON(object: any): GenesisState;
33
33
  toJSON(message: GenesisState): unknown;
34
- create<I extends {
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;
34
+ create<I extends Exact<DeepPartial<GenesisState>, I>>(base?: I): GenesisState;
35
+ fromPartial<I extends Exact<DeepPartial<GenesisState>, I>>(object: I): GenesisState;
246
36
  };
247
37
  export declare const FrozenNFT: {
248
38
  encode(message: FrozenNFT, writer?: _m0.Writer): _m0.Writer;
249
39
  decode(input: _m0.Reader | Uint8Array, length?: number): FrozenNFT;
250
40
  fromJSON(object: any): FrozenNFT;
251
41
  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;
42
+ create<I extends Exact<DeepPartial<FrozenNFT>, I>>(base?: I): FrozenNFT;
43
+ fromPartial<I extends Exact<DeepPartial<FrozenNFT>, I>>(object: I): FrozenNFT;
266
44
  };
267
45
  export declare const WhitelistedNFTAccounts: {
268
46
  encode(message: WhitelistedNFTAccounts, writer?: _m0.Writer): _m0.Writer;
269
47
  decode(input: _m0.Reader | Uint8Array, length?: number): WhitelistedNFTAccounts;
270
48
  fromJSON(object: any): WhitelistedNFTAccounts;
271
49
  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;
50
+ create<I extends Exact<DeepPartial<WhitelistedNFTAccounts>, I>>(base?: I): WhitelistedNFTAccounts;
51
+ fromPartial<I extends Exact<DeepPartial<WhitelistedNFTAccounts>, I>>(object: I): WhitelistedNFTAccounts;
290
52
  };
291
53
  export declare const BurntNFT: {
292
54
  encode(message: BurntNFT, writer?: _m0.Writer): _m0.Writer;
293
55
  decode(input: _m0.Reader | Uint8Array, length?: number): BurntNFT;
294
56
  fromJSON(object: any): BurntNFT;
295
57
  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;
58
+ create<I extends Exact<DeepPartial<BurntNFT>, I>>(base?: I): BurntNFT;
59
+ fromPartial<I extends Exact<DeepPartial<BurntNFT>, I>>(object: I): BurntNFT;
310
60
  };
311
61
  type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
312
62
  export type DeepPartial<T> = T extends Builtin ? T : T extends Long ? string | number | Long : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
@@ -47,98 +47,16 @@ export declare const ClassDefinition: {
47
47
  decode(input: _m0.Reader | Uint8Array, length?: number): ClassDefinition;
48
48
  fromJSON(object: any): ClassDefinition;
49
49
  toJSON(message: ClassDefinition): unknown;
50
- create<I extends {
51
- id?: string;
52
- issuer?: string;
53
- features?: ClassFeature[];
54
- royaltyRate?: string;
55
- } & {
56
- id?: string;
57
- issuer?: string;
58
- features?: ClassFeature[] & ClassFeature[] & { [K in Exclude<keyof I["features"], keyof ClassFeature[]>]: never; };
59
- royaltyRate?: string;
60
- } & { [K_1 in Exclude<keyof I, keyof ClassDefinition>]: never; }>(base?: I): ClassDefinition;
61
- fromPartial<I_1 extends {
62
- id?: string;
63
- issuer?: string;
64
- features?: ClassFeature[];
65
- royaltyRate?: string;
66
- } & {
67
- id?: string;
68
- issuer?: string;
69
- features?: ClassFeature[] & ClassFeature[] & { [K_2 in Exclude<keyof I_1["features"], keyof ClassFeature[]>]: never; };
70
- royaltyRate?: string;
71
- } & { [K_3 in Exclude<keyof I_1, keyof ClassDefinition>]: never; }>(object: I_1): ClassDefinition;
50
+ create<I extends Exact<DeepPartial<ClassDefinition>, I>>(base?: I): ClassDefinition;
51
+ fromPartial<I extends Exact<DeepPartial<ClassDefinition>, I>>(object: I): ClassDefinition;
72
52
  };
73
53
  export declare const Class: {
74
54
  encode(message: Class, writer?: _m0.Writer): _m0.Writer;
75
55
  decode(input: _m0.Reader | Uint8Array, length?: number): Class;
76
56
  fromJSON(object: any): Class;
77
57
  toJSON(message: Class): unknown;
78
- create<I extends {
79
- id?: string;
80
- issuer?: string;
81
- name?: string;
82
- symbol?: string;
83
- description?: string;
84
- uri?: string;
85
- uriHash?: string;
86
- data?: {
87
- typeUrl?: string;
88
- value?: Uint8Array;
89
- };
90
- features?: ClassFeature[];
91
- royaltyRate?: string;
92
- } & {
93
- id?: string;
94
- issuer?: string;
95
- name?: string;
96
- symbol?: string;
97
- description?: string;
98
- uri?: string;
99
- uriHash?: string;
100
- data?: {
101
- typeUrl?: string;
102
- value?: Uint8Array;
103
- } & {
104
- typeUrl?: string;
105
- value?: Uint8Array;
106
- } & { [K in Exclude<keyof I["data"], keyof Any>]: never; };
107
- features?: ClassFeature[] & ClassFeature[] & { [K_1 in Exclude<keyof I["features"], keyof ClassFeature[]>]: never; };
108
- royaltyRate?: string;
109
- } & { [K_2 in Exclude<keyof I, keyof Class>]: never; }>(base?: I): Class;
110
- fromPartial<I_1 extends {
111
- id?: string;
112
- issuer?: string;
113
- name?: string;
114
- symbol?: string;
115
- description?: string;
116
- uri?: string;
117
- uriHash?: string;
118
- data?: {
119
- typeUrl?: string;
120
- value?: Uint8Array;
121
- };
122
- features?: ClassFeature[];
123
- royaltyRate?: string;
124
- } & {
125
- id?: string;
126
- issuer?: string;
127
- name?: string;
128
- symbol?: string;
129
- description?: string;
130
- uri?: string;
131
- uriHash?: string;
132
- data?: {
133
- typeUrl?: string;
134
- value?: Uint8Array;
135
- } & {
136
- typeUrl?: string;
137
- value?: Uint8Array;
138
- } & { [K_3 in Exclude<keyof I_1["data"], keyof Any>]: never; };
139
- features?: ClassFeature[] & ClassFeature[] & { [K_4 in Exclude<keyof I_1["features"], keyof ClassFeature[]>]: never; };
140
- royaltyRate?: string;
141
- } & { [K_5 in Exclude<keyof I_1, keyof Class>]: never; }>(object: I_1): Class;
58
+ create<I extends Exact<DeepPartial<Class>, I>>(base?: I): Class;
59
+ fromPartial<I extends Exact<DeepPartial<Class>, I>>(object: I): Class;
142
60
  };
143
61
  type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
144
62
  export type DeepPartial<T> = T extends Builtin ? T : T extends Long ? string | number | Long : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
@@ -12,34 +12,8 @@ export declare const Params: {
12
12
  decode(input: _m0.Reader | Uint8Array, length?: number): Params;
13
13
  fromJSON(object: any): Params;
14
14
  toJSON(message: Params): unknown;
15
- create<I extends {
16
- mintFee?: {
17
- denom?: string;
18
- amount?: string;
19
- };
20
- } & {
21
- mintFee?: {
22
- denom?: string;
23
- amount?: string;
24
- } & {
25
- denom?: string;
26
- amount?: string;
27
- } & { [K in Exclude<keyof I["mintFee"], keyof Coin>]: never; };
28
- } & { [K_1 in Exclude<keyof I, "mintFee">]: never; }>(base?: I): Params;
29
- fromPartial<I_1 extends {
30
- mintFee?: {
31
- denom?: string;
32
- amount?: string;
33
- };
34
- } & {
35
- mintFee?: {
36
- denom?: string;
37
- amount?: string;
38
- } & {
39
- denom?: string;
40
- amount?: string;
41
- } & { [K_2 in Exclude<keyof I_1["mintFee"], keyof Coin>]: never; };
42
- } & { [K_3 in Exclude<keyof I_1, "mintFee">]: never; }>(object: I_1): Params;
15
+ create<I extends Exact<DeepPartial<Params>, I>>(base?: I): Params;
16
+ fromPartial<I extends Exact<DeepPartial<Params>, I>>(object: I): Params;
43
17
  };
44
18
  type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
45
19
  export type DeepPartial<T> = T extends Builtin ? T : T extends Long ? string | number | Long : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {