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.
Files changed (203) hide show
  1. package/dist/main/client/index.js +16 -17
  2. package/dist/main/coreum/asset/ft/v1/authz.d.ts +38 -0
  3. package/dist/main/coreum/asset/ft/v1/authz.js +122 -0
  4. package/dist/main/coreum/asset/ft/v1/event.d.ts +52 -120
  5. package/dist/main/coreum/asset/ft/v1/event.js +744 -138
  6. package/dist/main/coreum/asset/ft/v1/genesis.d.ts +31 -517
  7. package/dist/main/coreum/asset/ft/v1/genesis.js +273 -62
  8. package/dist/main/coreum/asset/ft/v1/params.d.ts +12 -63
  9. package/dist/main/coreum/asset/ft/v1/params.js +37 -33
  10. package/dist/main/coreum/asset/ft/v1/query.d.ts +86 -1950
  11. package/dist/main/coreum/asset/ft/v1/query.js +697 -217
  12. package/dist/main/coreum/asset/ft/v1/token.d.ts +17 -249
  13. package/dist/main/coreum/asset/ft/v1/token.js +273 -197
  14. package/dist/main/coreum/asset/ft/v1/tx.d.ts +30 -755
  15. package/dist/main/coreum/asset/ft/v1/tx.js +502 -386
  16. package/dist/main/coreum/asset/index.d.ts +2 -3
  17. package/dist/main/coreum/asset/nft/v1/authz.d.ts +33 -0
  18. package/dist/main/coreum/asset/nft/v1/authz.js +137 -0
  19. package/dist/main/coreum/asset/nft/v1/event.d.ts +35 -147
  20. package/dist/main/coreum/asset/nft/v1/event.js +475 -147
  21. package/dist/main/coreum/asset/nft/v1/genesis.d.ts +27 -286
  22. package/dist/main/coreum/asset/nft/v1/genesis.js +311 -119
  23. package/dist/main/coreum/asset/nft/v1/nft.d.ts +20 -108
  24. package/dist/main/coreum/asset/nft/v1/nft.js +136 -101
  25. package/dist/main/coreum/asset/nft/v1/params.d.ts +12 -38
  26. package/dist/main/coreum/asset/nft/v1/params.js +17 -20
  27. package/dist/main/coreum/asset/nft/v1/query.d.ts +110 -706
  28. package/dist/main/coreum/asset/nft/v1/query.js +1079 -185
  29. package/dist/main/coreum/asset/nft/v1/tx.d.ts +96 -266
  30. package/dist/main/coreum/asset/nft/v1/tx.js +865 -234
  31. package/dist/main/coreum/asset/nft/v1/types.d.ts +38 -19
  32. package/dist/main/coreum/asset/nft/v1/types.js +273 -45
  33. package/dist/main/coreum/customparams/v1/genesis.d.ts +12 -32
  34. package/dist/main/coreum/customparams/v1/genesis.js +26 -22
  35. package/dist/main/coreum/customparams/v1/params.d.ts +11 -19
  36. package/dist/main/coreum/customparams/v1/params.js +23 -20
  37. package/dist/main/coreum/customparams/v1/query.d.ts +14 -40
  38. package/dist/main/coreum/customparams/v1/query.js +35 -29
  39. package/dist/main/coreum/dex/index.d.ts +1 -0
  40. package/dist/main/coreum/dex/index.js +12 -0
  41. package/dist/main/coreum/dex/v1/event.d.ts +73 -0
  42. package/dist/main/coreum/dex/v1/event.js +470 -0
  43. package/dist/main/coreum/dex/v1/genesis.d.ts +49 -0
  44. package/dist/main/coreum/dex/v1/genesis.js +318 -0
  45. package/dist/main/coreum/dex/v1/order.d.ts +172 -0
  46. package/dist/main/coreum/dex/v1/order.js +1137 -0
  47. package/dist/main/coreum/dex/v1/params.d.ts +34 -0
  48. package/dist/main/coreum/dex/v1/params.js +139 -0
  49. package/dist/main/coreum/dex/v1/query.d.ts +133 -0
  50. package/dist/main/coreum/dex/v1/query.js +873 -0
  51. package/dist/main/coreum/dex/v1/tx.d.ts +102 -0
  52. package/dist/main/coreum/dex/v1/tx.js +521 -0
  53. package/dist/main/coreum/extensions/dex.d.ts +12 -0
  54. package/dist/main/coreum/extensions/dex.js +32 -0
  55. package/dist/main/coreum/feemodel/v1/genesis.d.ts +13 -233
  56. package/dist/main/coreum/feemodel/v1/genesis.js +23 -24
  57. package/dist/main/coreum/feemodel/v1/params.d.ts +14 -337
  58. package/dist/main/coreum/feemodel/v1/params.js +113 -66
  59. package/dist/main/coreum/feemodel/v1/query.d.ts +30 -261
  60. package/dist/main/coreum/feemodel/v1/query.js +196 -43
  61. package/dist/main/coreum/index.d.ts +46 -0
  62. package/dist/main/coreum/index.js +58 -1
  63. package/dist/main/coreum/nft/index.d.ts +1 -2
  64. package/dist/main/coreum/nft/v1beta1/event.d.ts +23 -79
  65. package/dist/main/coreum/nft/v1beta1/event.js +103 -77
  66. package/dist/main/coreum/nft/v1beta1/genesis.d.ts +13 -435
  67. package/dist/main/coreum/nft/v1beta1/genesis.js +50 -52
  68. package/dist/main/coreum/nft/v1beta1/nft.d.ts +15 -114
  69. package/dist/main/coreum/nft/v1beta1/nft.js +111 -81
  70. package/dist/main/coreum/nft/v1beta1/query.d.ts +54 -1628
  71. package/dist/main/coreum/nft/v1beta1/query.js +259 -223
  72. package/dist/main/coreum/nft/v1beta1/tx.d.ts +13 -39
  73. package/dist/main/coreum/nft/v1beta1/tx.js +54 -43
  74. package/dist/main/cosmos/extensions/distribution.d.ts +4 -4
  75. package/dist/main/cosmos/extensions/distribution.js +9 -9
  76. package/dist/main/cosmos/extensions/gov.d.ts +13 -13
  77. package/dist/main/cosmos/extensions/gov.js +14 -8
  78. package/dist/main/cosmos/index.d.ts +8 -8
  79. package/dist/main/google/api/http.js +18 -21
  80. package/dist/main/google/protobuf/any.js +3 -4
  81. package/dist/main/google/protobuf/duration.js +3 -4
  82. package/dist/main/google/protobuf/timestamp.js +3 -4
  83. package/dist/main/services/cosmostation.js +1 -1
  84. package/dist/main/tendermint/abci/types.js +183 -223
  85. package/dist/main/tendermint/crypto/keys.js +3 -4
  86. package/dist/main/tendermint/crypto/proof.js +19 -24
  87. package/dist/main/tendermint/types/params.js +15 -20
  88. package/dist/main/tendermint/types/types.js +57 -68
  89. package/dist/main/tendermint/types/validator.js +10 -13
  90. package/dist/main/tendermint/version/types.js +6 -8
  91. package/dist/main/types/core.d.ts +2 -1
  92. package/dist/main/types/core.js +2 -0
  93. package/dist/main/wasm/v1/authz.d.ts +20 -471
  94. package/dist/main/wasm/v1/authz.js +129 -148
  95. package/dist/main/wasm/v1/genesis.d.ts +14 -1020
  96. package/dist/main/wasm/v1/genesis.js +169 -140
  97. package/dist/main/wasm/v1/ibc.d.ts +13 -62
  98. package/dist/main/wasm/v1/ibc.js +91 -76
  99. package/dist/main/wasm/v1/index.d.ts +1 -2
  100. package/dist/main/wasm/v1/pagination.js +9 -11
  101. package/dist/main/wasm/v1/proposal.d.ts +23 -720
  102. package/dist/main/wasm/v1/proposal.js +634 -465
  103. package/dist/main/wasm/v1/query.d.ts +35 -1201
  104. package/dist/main/wasm/v1/query.js +370 -363
  105. package/dist/main/wasm/v1/tx.d.ts +37 -788
  106. package/dist/main/wasm/v1/tx.js +621 -497
  107. package/dist/main/wasm/v1/types.d.ts +19 -297
  108. package/dist/main/wasm/v1/types.js +219 -190
  109. package/dist/module/client/index.js +4 -3
  110. package/dist/module/coreum/asset/ft/v1/authz.d.ts +38 -0
  111. package/dist/module/coreum/asset/ft/v1/authz.js +119 -0
  112. package/dist/module/coreum/asset/ft/v1/event.d.ts +52 -120
  113. package/dist/module/coreum/asset/ft/v1/event.js +721 -109
  114. package/dist/module/coreum/asset/ft/v1/genesis.d.ts +31 -517
  115. package/dist/module/coreum/asset/ft/v1/genesis.js +266 -50
  116. package/dist/module/coreum/asset/ft/v1/params.d.ts +12 -63
  117. package/dist/module/coreum/asset/ft/v1/params.js +35 -27
  118. package/dist/module/coreum/asset/ft/v1/query.d.ts +86 -1950
  119. package/dist/module/coreum/asset/ft/v1/query.js +672 -180
  120. package/dist/module/coreum/asset/ft/v1/token.d.ts +17 -249
  121. package/dist/module/coreum/asset/ft/v1/token.js +236 -152
  122. package/dist/module/coreum/asset/ft/v1/tx.d.ts +30 -755
  123. package/dist/module/coreum/asset/ft/v1/tx.js +437 -301
  124. package/dist/module/coreum/asset/index.d.ts +2 -3
  125. package/dist/module/coreum/asset/nft/v1/authz.d.ts +33 -0
  126. package/dist/module/coreum/asset/nft/v1/authz.js +134 -0
  127. package/dist/module/coreum/asset/nft/v1/event.d.ts +35 -147
  128. package/dist/module/coreum/asset/nft/v1/event.js +448 -112
  129. package/dist/module/coreum/asset/nft/v1/genesis.d.ts +27 -286
  130. package/dist/module/coreum/asset/nft/v1/genesis.js +299 -100
  131. package/dist/module/coreum/asset/nft/v1/nft.d.ts +20 -108
  132. package/dist/module/coreum/asset/nft/v1/nft.js +121 -81
  133. package/dist/module/coreum/asset/nft/v1/params.d.ts +12 -38
  134. package/dist/module/coreum/asset/nft/v1/params.js +16 -16
  135. package/dist/module/coreum/asset/nft/v1/query.d.ts +110 -706
  136. package/dist/module/coreum/asset/nft/v1/query.js +1057 -153
  137. package/dist/module/coreum/asset/nft/v1/tx.d.ts +96 -266
  138. package/dist/module/coreum/asset/nft/v1/tx.js +825 -184
  139. package/dist/module/coreum/asset/nft/v1/types.d.ts +38 -19
  140. package/dist/module/coreum/asset/nft/v1/types.js +269 -39
  141. package/dist/module/coreum/customparams/v1/genesis.d.ts +12 -32
  142. package/dist/module/coreum/customparams/v1/genesis.js +25 -18
  143. package/dist/module/coreum/customparams/v1/params.d.ts +11 -19
  144. package/dist/module/coreum/customparams/v1/params.js +21 -14
  145. package/dist/module/coreum/customparams/v1/query.d.ts +14 -40
  146. package/dist/module/coreum/customparams/v1/query.js +32 -23
  147. package/dist/module/coreum/dex/index.d.ts +1 -0
  148. package/dist/module/coreum/dex/index.js +9 -0
  149. package/dist/module/coreum/dex/v1/event.d.ts +73 -0
  150. package/dist/module/coreum/dex/v1/event.js +467 -0
  151. package/dist/module/coreum/dex/v1/genesis.d.ts +49 -0
  152. package/dist/module/coreum/dex/v1/genesis.js +315 -0
  153. package/dist/module/coreum/dex/v1/order.d.ts +172 -0
  154. package/dist/module/coreum/dex/v1/order.js +1128 -0
  155. package/dist/module/coreum/dex/v1/params.d.ts +34 -0
  156. package/dist/module/coreum/dex/v1/params.js +136 -0
  157. package/dist/module/coreum/dex/v1/query.d.ts +133 -0
  158. package/dist/module/coreum/dex/v1/query.js +871 -0
  159. package/dist/module/coreum/dex/v1/tx.d.ts +102 -0
  160. package/dist/module/coreum/dex/v1/tx.js +519 -0
  161. package/dist/module/coreum/extensions/dex.d.ts +12 -0
  162. package/dist/module/coreum/extensions/dex.js +28 -0
  163. package/dist/module/coreum/feemodel/v1/genesis.d.ts +13 -233
  164. package/dist/module/coreum/feemodel/v1/genesis.js +22 -20
  165. package/dist/module/coreum/feemodel/v1/params.d.ts +14 -337
  166. package/dist/module/coreum/feemodel/v1/params.js +105 -54
  167. package/dist/module/coreum/feemodel/v1/query.d.ts +30 -261
  168. package/dist/module/coreum/feemodel/v1/query.js +191 -35
  169. package/dist/module/coreum/index.d.ts +46 -0
  170. package/dist/module/coreum/index.js +57 -0
  171. package/dist/module/coreum/nft/index.d.ts +1 -2
  172. package/dist/module/coreum/nft/v1beta1/event.d.ts +23 -79
  173. package/dist/module/coreum/nft/v1beta1/event.js +90 -58
  174. package/dist/module/coreum/nft/v1beta1/genesis.d.ts +13 -435
  175. package/dist/module/coreum/nft/v1beta1/genesis.js +44 -41
  176. package/dist/module/coreum/nft/v1beta1/nft.d.ts +15 -114
  177. package/dist/module/coreum/nft/v1beta1/nft.js +99 -64
  178. package/dist/module/coreum/nft/v1beta1/query.d.ts +54 -1628
  179. package/dist/module/coreum/nft/v1beta1/query.js +231 -183
  180. package/dist/module/coreum/nft/v1beta1/tx.d.ts +13 -39
  181. package/dist/module/coreum/nft/v1beta1/tx.js +47 -32
  182. package/dist/module/cosmos/extensions/distribution.d.ts +4 -4
  183. package/dist/module/cosmos/extensions/gov.d.ts +13 -13
  184. package/dist/module/cosmos/index.d.ts +8 -8
  185. package/dist/module/services/cosmostation.js +1 -1
  186. package/dist/module/types/core.d.ts +2 -1
  187. package/dist/module/types/core.js +2 -0
  188. package/dist/module/wasm/v1/authz.d.ts +20 -471
  189. package/dist/module/wasm/v1/authz.js +111 -119
  190. package/dist/module/wasm/v1/genesis.d.ts +14 -1020
  191. package/dist/module/wasm/v1/genesis.js +161 -125
  192. package/dist/module/wasm/v1/ibc.d.ts +13 -62
  193. package/dist/module/wasm/v1/ibc.js +83 -62
  194. package/dist/module/wasm/v1/index.d.ts +1 -2
  195. package/dist/module/wasm/v1/proposal.d.ts +23 -720
  196. package/dist/module/wasm/v1/proposal.js +562 -377
  197. package/dist/module/wasm/v1/query.d.ts +35 -1201
  198. package/dist/module/wasm/v1/query.js +330 -301
  199. package/dist/module/wasm/v1/tx.d.ts +37 -788
  200. package/dist/module/wasm/v1/tx.js +551 -404
  201. package/dist/module/wasm/v1/types.d.ts +19 -297
  202. package/dist/module/wasm/v1/types.js +196 -156
  203. package/package.json +11 -10
@@ -1,5 +1,5 @@
1
- import _m0 from "protobufjs/minimal";
2
- import { Any } from "../../google/protobuf/any";
1
+ import { BinaryReader, BinaryWriter } from "cosmjs-types/binary";
2
+ import { Any } from "cosmjs-types/google/protobuf/any";
3
3
  export declare const protobufPackage = "cosmwasm.wasm.v1";
4
4
  /** AccessType permission types */
5
5
  export declare enum AccessType {
@@ -110,302 +110,16 @@ export interface Model {
110
110
  /** base64-encode raw value */
111
111
  value: Uint8Array;
112
112
  }
113
- export declare const AccessTypeParam: {
114
- encode(message: AccessTypeParam, writer?: _m0.Writer): _m0.Writer;
115
- decode(input: _m0.Reader | Uint8Array, length?: number): AccessTypeParam;
116
- fromJSON(object: any): AccessTypeParam;
117
- toJSON(message: AccessTypeParam): unknown;
118
- create<I extends {
119
- value?: AccessType;
120
- } & {
121
- value?: AccessType;
122
- } & { [K in Exclude<keyof I, "value">]: never; }>(base?: I): AccessTypeParam;
123
- fromPartial<I_1 extends {
124
- value?: AccessType;
125
- } & {
126
- value?: AccessType;
127
- } & { [K_1 in Exclude<keyof I_1, "value">]: never; }>(object: I_1): AccessTypeParam;
128
- };
129
- export declare const AccessConfig: {
130
- encode(message: AccessConfig, writer?: _m0.Writer): _m0.Writer;
131
- decode(input: _m0.Reader | Uint8Array, length?: number): AccessConfig;
132
- fromJSON(object: any): AccessConfig;
133
- toJSON(message: AccessConfig): unknown;
134
- create<I extends {
135
- permission?: AccessType;
136
- address?: string;
137
- addresses?: string[];
138
- } & {
139
- permission?: AccessType;
140
- address?: string;
141
- addresses?: string[] & string[] & { [K in Exclude<keyof I["addresses"], keyof string[]>]: never; };
142
- } & { [K_1 in Exclude<keyof I, keyof AccessConfig>]: never; }>(base?: I): AccessConfig;
143
- fromPartial<I_1 extends {
144
- permission?: AccessType;
145
- address?: string;
146
- addresses?: string[];
147
- } & {
148
- permission?: AccessType;
149
- address?: string;
150
- addresses?: string[] & string[] & { [K_2 in Exclude<keyof I_1["addresses"], keyof string[]>]: never; };
151
- } & { [K_3 in Exclude<keyof I_1, keyof AccessConfig>]: never; }>(object: I_1): AccessConfig;
152
- };
153
- export declare const Params: {
154
- encode(message: Params, writer?: _m0.Writer): _m0.Writer;
155
- decode(input: _m0.Reader | Uint8Array, length?: number): Params;
156
- fromJSON(object: any): Params;
157
- toJSON(message: Params): unknown;
158
- create<I extends {
159
- codeUploadAccess?: {
160
- permission?: AccessType;
161
- address?: string;
162
- addresses?: string[];
163
- };
164
- instantiateDefaultPermission?: AccessType;
165
- } & {
166
- codeUploadAccess?: {
167
- permission?: AccessType;
168
- address?: string;
169
- addresses?: string[];
170
- } & {
171
- permission?: AccessType;
172
- address?: string;
173
- addresses?: string[] & string[] & { [K in Exclude<keyof I["codeUploadAccess"]["addresses"], keyof string[]>]: never; };
174
- } & { [K_1 in Exclude<keyof I["codeUploadAccess"], keyof AccessConfig>]: never; };
175
- instantiateDefaultPermission?: AccessType;
176
- } & { [K_2 in Exclude<keyof I, keyof Params>]: never; }>(base?: I): Params;
177
- fromPartial<I_1 extends {
178
- codeUploadAccess?: {
179
- permission?: AccessType;
180
- address?: string;
181
- addresses?: string[];
182
- };
183
- instantiateDefaultPermission?: AccessType;
184
- } & {
185
- codeUploadAccess?: {
186
- permission?: AccessType;
187
- address?: string;
188
- addresses?: string[];
189
- } & {
190
- permission?: AccessType;
191
- address?: string;
192
- addresses?: string[] & string[] & { [K_3 in Exclude<keyof I_1["codeUploadAccess"]["addresses"], keyof string[]>]: never; };
193
- } & { [K_4 in Exclude<keyof I_1["codeUploadAccess"], keyof AccessConfig>]: never; };
194
- instantiateDefaultPermission?: AccessType;
195
- } & { [K_5 in Exclude<keyof I_1, keyof Params>]: never; }>(object: I_1): Params;
196
- };
197
- export declare const CodeInfo: {
198
- encode(message: CodeInfo, writer?: _m0.Writer): _m0.Writer;
199
- decode(input: _m0.Reader | Uint8Array, length?: number): CodeInfo;
200
- fromJSON(object: any): CodeInfo;
201
- toJSON(message: CodeInfo): unknown;
202
- create<I extends {
203
- codeHash?: Uint8Array;
204
- creator?: string;
205
- instantiateConfig?: {
206
- permission?: AccessType;
207
- address?: string;
208
- addresses?: string[];
209
- };
210
- } & {
211
- codeHash?: Uint8Array;
212
- creator?: string;
213
- instantiateConfig?: {
214
- permission?: AccessType;
215
- address?: string;
216
- addresses?: string[];
217
- } & {
218
- permission?: AccessType;
219
- address?: string;
220
- addresses?: string[] & string[] & { [K in Exclude<keyof I["instantiateConfig"]["addresses"], keyof string[]>]: never; };
221
- } & { [K_1 in Exclude<keyof I["instantiateConfig"], keyof AccessConfig>]: never; };
222
- } & { [K_2 in Exclude<keyof I, keyof CodeInfo>]: never; }>(base?: I): CodeInfo;
223
- fromPartial<I_1 extends {
224
- codeHash?: Uint8Array;
225
- creator?: string;
226
- instantiateConfig?: {
227
- permission?: AccessType;
228
- address?: string;
229
- addresses?: string[];
230
- };
231
- } & {
232
- codeHash?: Uint8Array;
233
- creator?: string;
234
- instantiateConfig?: {
235
- permission?: AccessType;
236
- address?: string;
237
- addresses?: string[];
238
- } & {
239
- permission?: AccessType;
240
- address?: string;
241
- addresses?: string[] & string[] & { [K_3 in Exclude<keyof I_1["instantiateConfig"]["addresses"], keyof string[]>]: never; };
242
- } & { [K_4 in Exclude<keyof I_1["instantiateConfig"], keyof AccessConfig>]: never; };
243
- } & { [K_5 in Exclude<keyof I_1, keyof CodeInfo>]: never; }>(object: I_1): CodeInfo;
244
- };
245
- export declare const ContractInfo: {
246
- encode(message: ContractInfo, writer?: _m0.Writer): _m0.Writer;
247
- decode(input: _m0.Reader | Uint8Array, length?: number): ContractInfo;
248
- fromJSON(object: any): ContractInfo;
249
- toJSON(message: ContractInfo): unknown;
250
- create<I extends {
251
- codeId?: number;
252
- creator?: string;
253
- admin?: string;
254
- label?: string;
255
- created?: {
256
- blockHeight?: number;
257
- txIndex?: number;
258
- };
259
- ibcPortId?: string;
260
- extension?: {
261
- typeUrl?: string;
262
- value?: Uint8Array;
263
- };
264
- } & {
265
- codeId?: number;
266
- creator?: string;
267
- admin?: string;
268
- label?: string;
269
- created?: {
270
- blockHeight?: number;
271
- txIndex?: number;
272
- } & {
273
- blockHeight?: number;
274
- txIndex?: number;
275
- } & { [K in Exclude<keyof I["created"], keyof AbsoluteTxPosition>]: never; };
276
- ibcPortId?: string;
277
- extension?: {
278
- typeUrl?: string;
279
- value?: Uint8Array;
280
- } & {
281
- typeUrl?: string;
282
- value?: Uint8Array;
283
- } & { [K_1 in Exclude<keyof I["extension"], keyof Any>]: never; };
284
- } & { [K_2 in Exclude<keyof I, keyof ContractInfo>]: never; }>(base?: I): ContractInfo;
285
- fromPartial<I_1 extends {
286
- codeId?: number;
287
- creator?: string;
288
- admin?: string;
289
- label?: string;
290
- created?: {
291
- blockHeight?: number;
292
- txIndex?: number;
293
- };
294
- ibcPortId?: string;
295
- extension?: {
296
- typeUrl?: string;
297
- value?: Uint8Array;
298
- };
299
- } & {
300
- codeId?: number;
301
- creator?: string;
302
- admin?: string;
303
- label?: string;
304
- created?: {
305
- blockHeight?: number;
306
- txIndex?: number;
307
- } & {
308
- blockHeight?: number;
309
- txIndex?: number;
310
- } & { [K_3 in Exclude<keyof I_1["created"], keyof AbsoluteTxPosition>]: never; };
311
- ibcPortId?: string;
312
- extension?: {
313
- typeUrl?: string;
314
- value?: Uint8Array;
315
- } & {
316
- typeUrl?: string;
317
- value?: Uint8Array;
318
- } & { [K_4 in Exclude<keyof I_1["extension"], keyof Any>]: never; };
319
- } & { [K_5 in Exclude<keyof I_1, keyof ContractInfo>]: never; }>(object: I_1): ContractInfo;
320
- };
321
- export declare const ContractCodeHistoryEntry: {
322
- encode(message: ContractCodeHistoryEntry, writer?: _m0.Writer): _m0.Writer;
323
- decode(input: _m0.Reader | Uint8Array, length?: number): ContractCodeHistoryEntry;
324
- fromJSON(object: any): ContractCodeHistoryEntry;
325
- toJSON(message: ContractCodeHistoryEntry): unknown;
326
- create<I extends {
327
- operation?: ContractCodeHistoryOperationType;
328
- codeId?: number;
329
- updated?: {
330
- blockHeight?: number;
331
- txIndex?: number;
332
- };
333
- msg?: Uint8Array;
334
- } & {
335
- operation?: ContractCodeHistoryOperationType;
336
- codeId?: number;
337
- updated?: {
338
- blockHeight?: number;
339
- txIndex?: number;
340
- } & {
341
- blockHeight?: number;
342
- txIndex?: number;
343
- } & { [K in Exclude<keyof I["updated"], keyof AbsoluteTxPosition>]: never; };
344
- msg?: Uint8Array;
345
- } & { [K_1 in Exclude<keyof I, keyof ContractCodeHistoryEntry>]: never; }>(base?: I): ContractCodeHistoryEntry;
346
- fromPartial<I_1 extends {
347
- operation?: ContractCodeHistoryOperationType;
348
- codeId?: number;
349
- updated?: {
350
- blockHeight?: number;
351
- txIndex?: number;
352
- };
353
- msg?: Uint8Array;
354
- } & {
355
- operation?: ContractCodeHistoryOperationType;
356
- codeId?: number;
357
- updated?: {
358
- blockHeight?: number;
359
- txIndex?: number;
360
- } & {
361
- blockHeight?: number;
362
- txIndex?: number;
363
- } & { [K_2 in Exclude<keyof I_1["updated"], keyof AbsoluteTxPosition>]: never; };
364
- msg?: Uint8Array;
365
- } & { [K_3 in Exclude<keyof I_1, keyof ContractCodeHistoryEntry>]: never; }>(object: I_1): ContractCodeHistoryEntry;
366
- };
367
- export declare const AbsoluteTxPosition: {
368
- encode(message: AbsoluteTxPosition, writer?: _m0.Writer): _m0.Writer;
369
- decode(input: _m0.Reader | Uint8Array, length?: number): AbsoluteTxPosition;
370
- fromJSON(object: any): AbsoluteTxPosition;
371
- toJSON(message: AbsoluteTxPosition): unknown;
372
- create<I extends {
373
- blockHeight?: number;
374
- txIndex?: number;
375
- } & {
376
- blockHeight?: number;
377
- txIndex?: number;
378
- } & { [K in Exclude<keyof I, keyof AbsoluteTxPosition>]: never; }>(base?: I): AbsoluteTxPosition;
379
- fromPartial<I_1 extends {
380
- blockHeight?: number;
381
- txIndex?: number;
382
- } & {
383
- blockHeight?: number;
384
- txIndex?: number;
385
- } & { [K_1 in Exclude<keyof I_1, keyof AbsoluteTxPosition>]: never; }>(object: I_1): AbsoluteTxPosition;
386
- };
387
- export declare const Model: {
388
- encode(message: Model, writer?: _m0.Writer): _m0.Writer;
389
- decode(input: _m0.Reader | Uint8Array, length?: number): Model;
390
- fromJSON(object: any): Model;
391
- toJSON(message: Model): unknown;
392
- create<I extends {
393
- key?: Uint8Array;
394
- value?: Uint8Array;
395
- } & {
396
- key?: Uint8Array;
397
- value?: Uint8Array;
398
- } & { [K in Exclude<keyof I, keyof Model>]: never; }>(base?: I): Model;
399
- fromPartial<I_1 extends {
400
- key?: Uint8Array;
401
- value?: Uint8Array;
402
- } & {
403
- key?: Uint8Array;
404
- value?: Uint8Array;
405
- } & { [K_1 in Exclude<keyof I_1, keyof Model>]: never; }>(object: I_1): Model;
406
- };
113
+ export declare const AccessTypeParam: MessageFns<AccessTypeParam>;
114
+ export declare const AccessConfig: MessageFns<AccessConfig>;
115
+ export declare const Params: MessageFns<Params>;
116
+ export declare const CodeInfo: MessageFns<CodeInfo>;
117
+ export declare const ContractInfo: MessageFns<ContractInfo>;
118
+ export declare const ContractCodeHistoryEntry: MessageFns<ContractCodeHistoryEntry>;
119
+ export declare const AbsoluteTxPosition: MessageFns<AbsoluteTxPosition>;
120
+ export declare const Model: MessageFns<Model>;
407
121
  type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
408
- 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 {} ? {
122
+ 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 {} ? {
409
123
  [K in keyof T]?: DeepPartial<T[K]>;
410
124
  } : Partial<T>;
411
125
  type KeysOfUnion<T> = T extends T ? keyof T : never;
@@ -414,4 +128,12 @@ export type Exact<P, I extends P> = P extends Builtin ? P : P & {
414
128
  } & {
415
129
  [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
416
130
  };
131
+ export interface MessageFns<T> {
132
+ encode(message: T, writer?: BinaryWriter): BinaryWriter;
133
+ decode(input: BinaryReader | Uint8Array, length?: number): T;
134
+ fromJSON(object: any): T;
135
+ toJSON(message: T): unknown;
136
+ create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
137
+ fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
138
+ }
417
139
  export {};