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,4 +1,4 @@
1
- import _m0 from "protobufjs/minimal";
1
+ import { BinaryReader, BinaryWriter } from "cosmjs-types/binary";
2
2
  import { CodeInfo, ContractCodeHistoryEntry, ContractInfo, Model, Params } from "./types";
3
3
  export declare const protobufPackage = "cosmwasm.wasm.v1";
4
4
  /** GenesisState - genesis state of x/wasm */
@@ -28,1026 +28,12 @@ export interface Sequence {
28
28
  idKey: Uint8Array;
29
29
  value: number;
30
30
  }
31
- export declare const GenesisState: {
32
- encode(message: GenesisState, writer?: _m0.Writer): _m0.Writer;
33
- decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState;
34
- fromJSON(object: any): GenesisState;
35
- toJSON(message: GenesisState): unknown;
36
- create<I extends {
37
- params?: {
38
- codeUploadAccess?: {
39
- permission?: import("./types").AccessType;
40
- address?: string;
41
- addresses?: string[];
42
- };
43
- instantiateDefaultPermission?: import("./types").AccessType;
44
- };
45
- codes?: {
46
- codeId?: number;
47
- codeInfo?: {
48
- codeHash?: Uint8Array;
49
- creator?: string;
50
- instantiateConfig?: {
51
- permission?: import("./types").AccessType;
52
- address?: string;
53
- addresses?: string[];
54
- };
55
- };
56
- codeBytes?: Uint8Array;
57
- pinned?: boolean;
58
- }[];
59
- contracts?: {
60
- contractAddress?: string;
61
- contractInfo?: {
62
- codeId?: number;
63
- creator?: string;
64
- admin?: string;
65
- label?: string;
66
- created?: {
67
- blockHeight?: number;
68
- txIndex?: number;
69
- };
70
- ibcPortId?: string;
71
- extension?: {
72
- typeUrl?: string;
73
- value?: Uint8Array;
74
- };
75
- };
76
- contractState?: {
77
- key?: Uint8Array;
78
- value?: Uint8Array;
79
- }[];
80
- contractCodeHistory?: {
81
- operation?: import("./types").ContractCodeHistoryOperationType;
82
- codeId?: number;
83
- updated?: {
84
- blockHeight?: number;
85
- txIndex?: number;
86
- };
87
- msg?: Uint8Array;
88
- }[];
89
- }[];
90
- sequences?: {
91
- idKey?: Uint8Array;
92
- value?: number;
93
- }[];
94
- } & {
95
- params?: {
96
- codeUploadAccess?: {
97
- permission?: import("./types").AccessType;
98
- address?: string;
99
- addresses?: string[];
100
- };
101
- instantiateDefaultPermission?: import("./types").AccessType;
102
- } & {
103
- codeUploadAccess?: {
104
- permission?: import("./types").AccessType;
105
- address?: string;
106
- addresses?: string[];
107
- } & {
108
- permission?: import("./types").AccessType;
109
- address?: string;
110
- addresses?: string[] & string[] & { [K in Exclude<keyof I["params"]["codeUploadAccess"]["addresses"], keyof string[]>]: never; };
111
- } & { [K_1 in Exclude<keyof I["params"]["codeUploadAccess"], keyof import("./types").AccessConfig>]: never; };
112
- instantiateDefaultPermission?: import("./types").AccessType;
113
- } & { [K_2 in Exclude<keyof I["params"], keyof Params>]: never; };
114
- codes?: {
115
- codeId?: number;
116
- codeInfo?: {
117
- codeHash?: Uint8Array;
118
- creator?: string;
119
- instantiateConfig?: {
120
- permission?: import("./types").AccessType;
121
- address?: string;
122
- addresses?: string[];
123
- };
124
- };
125
- codeBytes?: Uint8Array;
126
- pinned?: boolean;
127
- }[] & ({
128
- codeId?: number;
129
- codeInfo?: {
130
- codeHash?: Uint8Array;
131
- creator?: string;
132
- instantiateConfig?: {
133
- permission?: import("./types").AccessType;
134
- address?: string;
135
- addresses?: string[];
136
- };
137
- };
138
- codeBytes?: Uint8Array;
139
- pinned?: boolean;
140
- } & {
141
- codeId?: number;
142
- codeInfo?: {
143
- codeHash?: Uint8Array;
144
- creator?: string;
145
- instantiateConfig?: {
146
- permission?: import("./types").AccessType;
147
- address?: string;
148
- addresses?: string[];
149
- };
150
- } & {
151
- codeHash?: Uint8Array;
152
- creator?: string;
153
- instantiateConfig?: {
154
- permission?: import("./types").AccessType;
155
- address?: string;
156
- addresses?: string[];
157
- } & {
158
- permission?: import("./types").AccessType;
159
- address?: string;
160
- addresses?: string[] & string[] & { [K_3 in Exclude<keyof I["codes"][number]["codeInfo"]["instantiateConfig"]["addresses"], keyof string[]>]: never; };
161
- } & { [K_4 in Exclude<keyof I["codes"][number]["codeInfo"]["instantiateConfig"], keyof import("./types").AccessConfig>]: never; };
162
- } & { [K_5 in Exclude<keyof I["codes"][number]["codeInfo"], keyof CodeInfo>]: never; };
163
- codeBytes?: Uint8Array;
164
- pinned?: boolean;
165
- } & { [K_6 in Exclude<keyof I["codes"][number], keyof Code>]: never; })[] & { [K_7 in Exclude<keyof I["codes"], keyof {
166
- codeId?: number;
167
- codeInfo?: {
168
- codeHash?: Uint8Array;
169
- creator?: string;
170
- instantiateConfig?: {
171
- permission?: import("./types").AccessType;
172
- address?: string;
173
- addresses?: string[];
174
- };
175
- };
176
- codeBytes?: Uint8Array;
177
- pinned?: boolean;
178
- }[]>]: never; };
179
- contracts?: {
180
- contractAddress?: string;
181
- contractInfo?: {
182
- codeId?: number;
183
- creator?: string;
184
- admin?: string;
185
- label?: string;
186
- created?: {
187
- blockHeight?: number;
188
- txIndex?: number;
189
- };
190
- ibcPortId?: string;
191
- extension?: {
192
- typeUrl?: string;
193
- value?: Uint8Array;
194
- };
195
- };
196
- contractState?: {
197
- key?: Uint8Array;
198
- value?: Uint8Array;
199
- }[];
200
- contractCodeHistory?: {
201
- operation?: import("./types").ContractCodeHistoryOperationType;
202
- codeId?: number;
203
- updated?: {
204
- blockHeight?: number;
205
- txIndex?: number;
206
- };
207
- msg?: Uint8Array;
208
- }[];
209
- }[] & ({
210
- contractAddress?: string;
211
- contractInfo?: {
212
- codeId?: number;
213
- creator?: string;
214
- admin?: string;
215
- label?: string;
216
- created?: {
217
- blockHeight?: number;
218
- txIndex?: number;
219
- };
220
- ibcPortId?: string;
221
- extension?: {
222
- typeUrl?: string;
223
- value?: Uint8Array;
224
- };
225
- };
226
- contractState?: {
227
- key?: Uint8Array;
228
- value?: Uint8Array;
229
- }[];
230
- contractCodeHistory?: {
231
- operation?: import("./types").ContractCodeHistoryOperationType;
232
- codeId?: number;
233
- updated?: {
234
- blockHeight?: number;
235
- txIndex?: number;
236
- };
237
- msg?: Uint8Array;
238
- }[];
239
- } & {
240
- contractAddress?: string;
241
- contractInfo?: {
242
- codeId?: number;
243
- creator?: string;
244
- admin?: string;
245
- label?: string;
246
- created?: {
247
- blockHeight?: number;
248
- txIndex?: number;
249
- };
250
- ibcPortId?: string;
251
- extension?: {
252
- typeUrl?: string;
253
- value?: Uint8Array;
254
- };
255
- } & {
256
- codeId?: number;
257
- creator?: string;
258
- admin?: string;
259
- label?: string;
260
- created?: {
261
- blockHeight?: number;
262
- txIndex?: number;
263
- } & {
264
- blockHeight?: number;
265
- txIndex?: number;
266
- } & { [K_8 in Exclude<keyof I["contracts"][number]["contractInfo"]["created"], keyof import("./types").AbsoluteTxPosition>]: never; };
267
- ibcPortId?: string;
268
- extension?: {
269
- typeUrl?: string;
270
- value?: Uint8Array;
271
- } & {
272
- typeUrl?: string;
273
- value?: Uint8Array;
274
- } & { [K_9 in Exclude<keyof I["contracts"][number]["contractInfo"]["extension"], keyof import("../../google").Any>]: never; };
275
- } & { [K_10 in Exclude<keyof I["contracts"][number]["contractInfo"], keyof ContractInfo>]: never; };
276
- contractState?: {
277
- key?: Uint8Array;
278
- value?: Uint8Array;
279
- }[] & ({
280
- key?: Uint8Array;
281
- value?: Uint8Array;
282
- } & {
283
- key?: Uint8Array;
284
- value?: Uint8Array;
285
- } & { [K_11 in Exclude<keyof I["contracts"][number]["contractState"][number], keyof Model>]: never; })[] & { [K_12 in Exclude<keyof I["contracts"][number]["contractState"], keyof {
286
- key?: Uint8Array;
287
- value?: Uint8Array;
288
- }[]>]: never; };
289
- contractCodeHistory?: {
290
- operation?: import("./types").ContractCodeHistoryOperationType;
291
- codeId?: number;
292
- updated?: {
293
- blockHeight?: number;
294
- txIndex?: number;
295
- };
296
- msg?: Uint8Array;
297
- }[] & ({
298
- operation?: import("./types").ContractCodeHistoryOperationType;
299
- codeId?: number;
300
- updated?: {
301
- blockHeight?: number;
302
- txIndex?: number;
303
- };
304
- msg?: Uint8Array;
305
- } & {
306
- operation?: import("./types").ContractCodeHistoryOperationType;
307
- codeId?: number;
308
- updated?: {
309
- blockHeight?: number;
310
- txIndex?: number;
311
- } & {
312
- blockHeight?: number;
313
- txIndex?: number;
314
- } & { [K_13 in Exclude<keyof I["contracts"][number]["contractCodeHistory"][number]["updated"], keyof import("./types").AbsoluteTxPosition>]: never; };
315
- msg?: Uint8Array;
316
- } & { [K_14 in Exclude<keyof I["contracts"][number]["contractCodeHistory"][number], keyof ContractCodeHistoryEntry>]: never; })[] & { [K_15 in Exclude<keyof I["contracts"][number]["contractCodeHistory"], keyof {
317
- operation?: import("./types").ContractCodeHistoryOperationType;
318
- codeId?: number;
319
- updated?: {
320
- blockHeight?: number;
321
- txIndex?: number;
322
- };
323
- msg?: Uint8Array;
324
- }[]>]: never; };
325
- } & { [K_16 in Exclude<keyof I["contracts"][number], keyof Contract>]: never; })[] & { [K_17 in Exclude<keyof I["contracts"], keyof {
326
- contractAddress?: string;
327
- contractInfo?: {
328
- codeId?: number;
329
- creator?: string;
330
- admin?: string;
331
- label?: string;
332
- created?: {
333
- blockHeight?: number;
334
- txIndex?: number;
335
- };
336
- ibcPortId?: string;
337
- extension?: {
338
- typeUrl?: string;
339
- value?: Uint8Array;
340
- };
341
- };
342
- contractState?: {
343
- key?: Uint8Array;
344
- value?: Uint8Array;
345
- }[];
346
- contractCodeHistory?: {
347
- operation?: import("./types").ContractCodeHistoryOperationType;
348
- codeId?: number;
349
- updated?: {
350
- blockHeight?: number;
351
- txIndex?: number;
352
- };
353
- msg?: Uint8Array;
354
- }[];
355
- }[]>]: never; };
356
- sequences?: {
357
- idKey?: Uint8Array;
358
- value?: number;
359
- }[] & ({
360
- idKey?: Uint8Array;
361
- value?: number;
362
- } & {
363
- idKey?: Uint8Array;
364
- value?: number;
365
- } & { [K_18 in Exclude<keyof I["sequences"][number], keyof Sequence>]: never; })[] & { [K_19 in Exclude<keyof I["sequences"], keyof {
366
- idKey?: Uint8Array;
367
- value?: number;
368
- }[]>]: never; };
369
- } & { [K_20 in Exclude<keyof I, keyof GenesisState>]: never; }>(base?: I): GenesisState;
370
- fromPartial<I_1 extends {
371
- params?: {
372
- codeUploadAccess?: {
373
- permission?: import("./types").AccessType;
374
- address?: string;
375
- addresses?: string[];
376
- };
377
- instantiateDefaultPermission?: import("./types").AccessType;
378
- };
379
- codes?: {
380
- codeId?: number;
381
- codeInfo?: {
382
- codeHash?: Uint8Array;
383
- creator?: string;
384
- instantiateConfig?: {
385
- permission?: import("./types").AccessType;
386
- address?: string;
387
- addresses?: string[];
388
- };
389
- };
390
- codeBytes?: Uint8Array;
391
- pinned?: boolean;
392
- }[];
393
- contracts?: {
394
- contractAddress?: string;
395
- contractInfo?: {
396
- codeId?: number;
397
- creator?: string;
398
- admin?: string;
399
- label?: string;
400
- created?: {
401
- blockHeight?: number;
402
- txIndex?: number;
403
- };
404
- ibcPortId?: string;
405
- extension?: {
406
- typeUrl?: string;
407
- value?: Uint8Array;
408
- };
409
- };
410
- contractState?: {
411
- key?: Uint8Array;
412
- value?: Uint8Array;
413
- }[];
414
- contractCodeHistory?: {
415
- operation?: import("./types").ContractCodeHistoryOperationType;
416
- codeId?: number;
417
- updated?: {
418
- blockHeight?: number;
419
- txIndex?: number;
420
- };
421
- msg?: Uint8Array;
422
- }[];
423
- }[];
424
- sequences?: {
425
- idKey?: Uint8Array;
426
- value?: number;
427
- }[];
428
- } & {
429
- params?: {
430
- codeUploadAccess?: {
431
- permission?: import("./types").AccessType;
432
- address?: string;
433
- addresses?: string[];
434
- };
435
- instantiateDefaultPermission?: import("./types").AccessType;
436
- } & {
437
- codeUploadAccess?: {
438
- permission?: import("./types").AccessType;
439
- address?: string;
440
- addresses?: string[];
441
- } & {
442
- permission?: import("./types").AccessType;
443
- address?: string;
444
- addresses?: string[] & string[] & { [K_21 in Exclude<keyof I_1["params"]["codeUploadAccess"]["addresses"], keyof string[]>]: never; };
445
- } & { [K_22 in Exclude<keyof I_1["params"]["codeUploadAccess"], keyof import("./types").AccessConfig>]: never; };
446
- instantiateDefaultPermission?: import("./types").AccessType;
447
- } & { [K_23 in Exclude<keyof I_1["params"], keyof Params>]: never; };
448
- codes?: {
449
- codeId?: number;
450
- codeInfo?: {
451
- codeHash?: Uint8Array;
452
- creator?: string;
453
- instantiateConfig?: {
454
- permission?: import("./types").AccessType;
455
- address?: string;
456
- addresses?: string[];
457
- };
458
- };
459
- codeBytes?: Uint8Array;
460
- pinned?: boolean;
461
- }[] & ({
462
- codeId?: number;
463
- codeInfo?: {
464
- codeHash?: Uint8Array;
465
- creator?: string;
466
- instantiateConfig?: {
467
- permission?: import("./types").AccessType;
468
- address?: string;
469
- addresses?: string[];
470
- };
471
- };
472
- codeBytes?: Uint8Array;
473
- pinned?: boolean;
474
- } & {
475
- codeId?: number;
476
- codeInfo?: {
477
- codeHash?: Uint8Array;
478
- creator?: string;
479
- instantiateConfig?: {
480
- permission?: import("./types").AccessType;
481
- address?: string;
482
- addresses?: string[];
483
- };
484
- } & {
485
- codeHash?: Uint8Array;
486
- creator?: string;
487
- instantiateConfig?: {
488
- permission?: import("./types").AccessType;
489
- address?: string;
490
- addresses?: string[];
491
- } & {
492
- permission?: import("./types").AccessType;
493
- address?: string;
494
- addresses?: string[] & string[] & { [K_24 in Exclude<keyof I_1["codes"][number]["codeInfo"]["instantiateConfig"]["addresses"], keyof string[]>]: never; };
495
- } & { [K_25 in Exclude<keyof I_1["codes"][number]["codeInfo"]["instantiateConfig"], keyof import("./types").AccessConfig>]: never; };
496
- } & { [K_26 in Exclude<keyof I_1["codes"][number]["codeInfo"], keyof CodeInfo>]: never; };
497
- codeBytes?: Uint8Array;
498
- pinned?: boolean;
499
- } & { [K_27 in Exclude<keyof I_1["codes"][number], keyof Code>]: never; })[] & { [K_28 in Exclude<keyof I_1["codes"], keyof {
500
- codeId?: number;
501
- codeInfo?: {
502
- codeHash?: Uint8Array;
503
- creator?: string;
504
- instantiateConfig?: {
505
- permission?: import("./types").AccessType;
506
- address?: string;
507
- addresses?: string[];
508
- };
509
- };
510
- codeBytes?: Uint8Array;
511
- pinned?: boolean;
512
- }[]>]: never; };
513
- contracts?: {
514
- contractAddress?: string;
515
- contractInfo?: {
516
- codeId?: number;
517
- creator?: string;
518
- admin?: string;
519
- label?: string;
520
- created?: {
521
- blockHeight?: number;
522
- txIndex?: number;
523
- };
524
- ibcPortId?: string;
525
- extension?: {
526
- typeUrl?: string;
527
- value?: Uint8Array;
528
- };
529
- };
530
- contractState?: {
531
- key?: Uint8Array;
532
- value?: Uint8Array;
533
- }[];
534
- contractCodeHistory?: {
535
- operation?: import("./types").ContractCodeHistoryOperationType;
536
- codeId?: number;
537
- updated?: {
538
- blockHeight?: number;
539
- txIndex?: number;
540
- };
541
- msg?: Uint8Array;
542
- }[];
543
- }[] & ({
544
- contractAddress?: string;
545
- contractInfo?: {
546
- codeId?: number;
547
- creator?: string;
548
- admin?: string;
549
- label?: string;
550
- created?: {
551
- blockHeight?: number;
552
- txIndex?: number;
553
- };
554
- ibcPortId?: string;
555
- extension?: {
556
- typeUrl?: string;
557
- value?: Uint8Array;
558
- };
559
- };
560
- contractState?: {
561
- key?: Uint8Array;
562
- value?: Uint8Array;
563
- }[];
564
- contractCodeHistory?: {
565
- operation?: import("./types").ContractCodeHistoryOperationType;
566
- codeId?: number;
567
- updated?: {
568
- blockHeight?: number;
569
- txIndex?: number;
570
- };
571
- msg?: Uint8Array;
572
- }[];
573
- } & {
574
- contractAddress?: string;
575
- contractInfo?: {
576
- codeId?: number;
577
- creator?: string;
578
- admin?: string;
579
- label?: string;
580
- created?: {
581
- blockHeight?: number;
582
- txIndex?: number;
583
- };
584
- ibcPortId?: string;
585
- extension?: {
586
- typeUrl?: string;
587
- value?: Uint8Array;
588
- };
589
- } & {
590
- codeId?: number;
591
- creator?: string;
592
- admin?: string;
593
- label?: string;
594
- created?: {
595
- blockHeight?: number;
596
- txIndex?: number;
597
- } & {
598
- blockHeight?: number;
599
- txIndex?: number;
600
- } & { [K_29 in Exclude<keyof I_1["contracts"][number]["contractInfo"]["created"], keyof import("./types").AbsoluteTxPosition>]: never; };
601
- ibcPortId?: string;
602
- extension?: {
603
- typeUrl?: string;
604
- value?: Uint8Array;
605
- } & {
606
- typeUrl?: string;
607
- value?: Uint8Array;
608
- } & { [K_30 in Exclude<keyof I_1["contracts"][number]["contractInfo"]["extension"], keyof import("../../google").Any>]: never; };
609
- } & { [K_31 in Exclude<keyof I_1["contracts"][number]["contractInfo"], keyof ContractInfo>]: never; };
610
- contractState?: {
611
- key?: Uint8Array;
612
- value?: Uint8Array;
613
- }[] & ({
614
- key?: Uint8Array;
615
- value?: Uint8Array;
616
- } & {
617
- key?: Uint8Array;
618
- value?: Uint8Array;
619
- } & { [K_32 in Exclude<keyof I_1["contracts"][number]["contractState"][number], keyof Model>]: never; })[] & { [K_33 in Exclude<keyof I_1["contracts"][number]["contractState"], keyof {
620
- key?: Uint8Array;
621
- value?: Uint8Array;
622
- }[]>]: never; };
623
- contractCodeHistory?: {
624
- operation?: import("./types").ContractCodeHistoryOperationType;
625
- codeId?: number;
626
- updated?: {
627
- blockHeight?: number;
628
- txIndex?: number;
629
- };
630
- msg?: Uint8Array;
631
- }[] & ({
632
- operation?: import("./types").ContractCodeHistoryOperationType;
633
- codeId?: number;
634
- updated?: {
635
- blockHeight?: number;
636
- txIndex?: number;
637
- };
638
- msg?: Uint8Array;
639
- } & {
640
- operation?: import("./types").ContractCodeHistoryOperationType;
641
- codeId?: number;
642
- updated?: {
643
- blockHeight?: number;
644
- txIndex?: number;
645
- } & {
646
- blockHeight?: number;
647
- txIndex?: number;
648
- } & { [K_34 in Exclude<keyof I_1["contracts"][number]["contractCodeHistory"][number]["updated"], keyof import("./types").AbsoluteTxPosition>]: never; };
649
- msg?: Uint8Array;
650
- } & { [K_35 in Exclude<keyof I_1["contracts"][number]["contractCodeHistory"][number], keyof ContractCodeHistoryEntry>]: never; })[] & { [K_36 in Exclude<keyof I_1["contracts"][number]["contractCodeHistory"], keyof {
651
- operation?: import("./types").ContractCodeHistoryOperationType;
652
- codeId?: number;
653
- updated?: {
654
- blockHeight?: number;
655
- txIndex?: number;
656
- };
657
- msg?: Uint8Array;
658
- }[]>]: never; };
659
- } & { [K_37 in Exclude<keyof I_1["contracts"][number], keyof Contract>]: never; })[] & { [K_38 in Exclude<keyof I_1["contracts"], keyof {
660
- contractAddress?: string;
661
- contractInfo?: {
662
- codeId?: number;
663
- creator?: string;
664
- admin?: string;
665
- label?: string;
666
- created?: {
667
- blockHeight?: number;
668
- txIndex?: number;
669
- };
670
- ibcPortId?: string;
671
- extension?: {
672
- typeUrl?: string;
673
- value?: Uint8Array;
674
- };
675
- };
676
- contractState?: {
677
- key?: Uint8Array;
678
- value?: Uint8Array;
679
- }[];
680
- contractCodeHistory?: {
681
- operation?: import("./types").ContractCodeHistoryOperationType;
682
- codeId?: number;
683
- updated?: {
684
- blockHeight?: number;
685
- txIndex?: number;
686
- };
687
- msg?: Uint8Array;
688
- }[];
689
- }[]>]: never; };
690
- sequences?: {
691
- idKey?: Uint8Array;
692
- value?: number;
693
- }[] & ({
694
- idKey?: Uint8Array;
695
- value?: number;
696
- } & {
697
- idKey?: Uint8Array;
698
- value?: number;
699
- } & { [K_39 in Exclude<keyof I_1["sequences"][number], keyof Sequence>]: never; })[] & { [K_40 in Exclude<keyof I_1["sequences"], keyof {
700
- idKey?: Uint8Array;
701
- value?: number;
702
- }[]>]: never; };
703
- } & { [K_41 in Exclude<keyof I_1, keyof GenesisState>]: never; }>(object: I_1): GenesisState;
704
- };
705
- export declare const Code: {
706
- encode(message: Code, writer?: _m0.Writer): _m0.Writer;
707
- decode(input: _m0.Reader | Uint8Array, length?: number): Code;
708
- fromJSON(object: any): Code;
709
- toJSON(message: Code): unknown;
710
- create<I extends {
711
- codeId?: number;
712
- codeInfo?: {
713
- codeHash?: Uint8Array;
714
- creator?: string;
715
- instantiateConfig?: {
716
- permission?: import("./types").AccessType;
717
- address?: string;
718
- addresses?: string[];
719
- };
720
- };
721
- codeBytes?: Uint8Array;
722
- pinned?: boolean;
723
- } & {
724
- codeId?: number;
725
- codeInfo?: {
726
- codeHash?: Uint8Array;
727
- creator?: string;
728
- instantiateConfig?: {
729
- permission?: import("./types").AccessType;
730
- address?: string;
731
- addresses?: string[];
732
- };
733
- } & {
734
- codeHash?: Uint8Array;
735
- creator?: string;
736
- instantiateConfig?: {
737
- permission?: import("./types").AccessType;
738
- address?: string;
739
- addresses?: string[];
740
- } & {
741
- permission?: import("./types").AccessType;
742
- address?: string;
743
- addresses?: string[] & string[] & { [K in Exclude<keyof I["codeInfo"]["instantiateConfig"]["addresses"], keyof string[]>]: never; };
744
- } & { [K_1 in Exclude<keyof I["codeInfo"]["instantiateConfig"], keyof import("./types").AccessConfig>]: never; };
745
- } & { [K_2 in Exclude<keyof I["codeInfo"], keyof CodeInfo>]: never; };
746
- codeBytes?: Uint8Array;
747
- pinned?: boolean;
748
- } & { [K_3 in Exclude<keyof I, keyof Code>]: never; }>(base?: I): Code;
749
- fromPartial<I_1 extends {
750
- codeId?: number;
751
- codeInfo?: {
752
- codeHash?: Uint8Array;
753
- creator?: string;
754
- instantiateConfig?: {
755
- permission?: import("./types").AccessType;
756
- address?: string;
757
- addresses?: string[];
758
- };
759
- };
760
- codeBytes?: Uint8Array;
761
- pinned?: boolean;
762
- } & {
763
- codeId?: number;
764
- codeInfo?: {
765
- codeHash?: Uint8Array;
766
- creator?: string;
767
- instantiateConfig?: {
768
- permission?: import("./types").AccessType;
769
- address?: string;
770
- addresses?: string[];
771
- };
772
- } & {
773
- codeHash?: Uint8Array;
774
- creator?: string;
775
- instantiateConfig?: {
776
- permission?: import("./types").AccessType;
777
- address?: string;
778
- addresses?: string[];
779
- } & {
780
- permission?: import("./types").AccessType;
781
- address?: string;
782
- addresses?: string[] & string[] & { [K_4 in Exclude<keyof I_1["codeInfo"]["instantiateConfig"]["addresses"], keyof string[]>]: never; };
783
- } & { [K_5 in Exclude<keyof I_1["codeInfo"]["instantiateConfig"], keyof import("./types").AccessConfig>]: never; };
784
- } & { [K_6 in Exclude<keyof I_1["codeInfo"], keyof CodeInfo>]: never; };
785
- codeBytes?: Uint8Array;
786
- pinned?: boolean;
787
- } & { [K_7 in Exclude<keyof I_1, keyof Code>]: never; }>(object: I_1): Code;
788
- };
789
- export declare const Contract: {
790
- encode(message: Contract, writer?: _m0.Writer): _m0.Writer;
791
- decode(input: _m0.Reader | Uint8Array, length?: number): Contract;
792
- fromJSON(object: any): Contract;
793
- toJSON(message: Contract): unknown;
794
- create<I extends {
795
- contractAddress?: string;
796
- contractInfo?: {
797
- codeId?: number;
798
- creator?: string;
799
- admin?: string;
800
- label?: string;
801
- created?: {
802
- blockHeight?: number;
803
- txIndex?: number;
804
- };
805
- ibcPortId?: string;
806
- extension?: {
807
- typeUrl?: string;
808
- value?: Uint8Array;
809
- };
810
- };
811
- contractState?: {
812
- key?: Uint8Array;
813
- value?: Uint8Array;
814
- }[];
815
- contractCodeHistory?: {
816
- operation?: import("./types").ContractCodeHistoryOperationType;
817
- codeId?: number;
818
- updated?: {
819
- blockHeight?: number;
820
- txIndex?: number;
821
- };
822
- msg?: Uint8Array;
823
- }[];
824
- } & {
825
- contractAddress?: string;
826
- contractInfo?: {
827
- codeId?: number;
828
- creator?: string;
829
- admin?: string;
830
- label?: string;
831
- created?: {
832
- blockHeight?: number;
833
- txIndex?: number;
834
- };
835
- ibcPortId?: string;
836
- extension?: {
837
- typeUrl?: string;
838
- value?: Uint8Array;
839
- };
840
- } & {
841
- codeId?: number;
842
- creator?: string;
843
- admin?: string;
844
- label?: string;
845
- created?: {
846
- blockHeight?: number;
847
- txIndex?: number;
848
- } & {
849
- blockHeight?: number;
850
- txIndex?: number;
851
- } & { [K in Exclude<keyof I["contractInfo"]["created"], keyof import("./types").AbsoluteTxPosition>]: never; };
852
- ibcPortId?: string;
853
- extension?: {
854
- typeUrl?: string;
855
- value?: Uint8Array;
856
- } & {
857
- typeUrl?: string;
858
- value?: Uint8Array;
859
- } & { [K_1 in Exclude<keyof I["contractInfo"]["extension"], keyof import("../../google").Any>]: never; };
860
- } & { [K_2 in Exclude<keyof I["contractInfo"], keyof ContractInfo>]: never; };
861
- contractState?: {
862
- key?: Uint8Array;
863
- value?: Uint8Array;
864
- }[] & ({
865
- key?: Uint8Array;
866
- value?: Uint8Array;
867
- } & {
868
- key?: Uint8Array;
869
- value?: Uint8Array;
870
- } & { [K_3 in Exclude<keyof I["contractState"][number], keyof Model>]: never; })[] & { [K_4 in Exclude<keyof I["contractState"], keyof {
871
- key?: Uint8Array;
872
- value?: Uint8Array;
873
- }[]>]: never; };
874
- contractCodeHistory?: {
875
- operation?: import("./types").ContractCodeHistoryOperationType;
876
- codeId?: number;
877
- updated?: {
878
- blockHeight?: number;
879
- txIndex?: number;
880
- };
881
- msg?: Uint8Array;
882
- }[] & ({
883
- operation?: import("./types").ContractCodeHistoryOperationType;
884
- codeId?: number;
885
- updated?: {
886
- blockHeight?: number;
887
- txIndex?: number;
888
- };
889
- msg?: Uint8Array;
890
- } & {
891
- operation?: import("./types").ContractCodeHistoryOperationType;
892
- codeId?: number;
893
- updated?: {
894
- blockHeight?: number;
895
- txIndex?: number;
896
- } & {
897
- blockHeight?: number;
898
- txIndex?: number;
899
- } & { [K_5 in Exclude<keyof I["contractCodeHistory"][number]["updated"], keyof import("./types").AbsoluteTxPosition>]: never; };
900
- msg?: Uint8Array;
901
- } & { [K_6 in Exclude<keyof I["contractCodeHistory"][number], keyof ContractCodeHistoryEntry>]: never; })[] & { [K_7 in Exclude<keyof I["contractCodeHistory"], keyof {
902
- operation?: import("./types").ContractCodeHistoryOperationType;
903
- codeId?: number;
904
- updated?: {
905
- blockHeight?: number;
906
- txIndex?: number;
907
- };
908
- msg?: Uint8Array;
909
- }[]>]: never; };
910
- } & { [K_8 in Exclude<keyof I, keyof Contract>]: never; }>(base?: I): Contract;
911
- fromPartial<I_1 extends {
912
- contractAddress?: string;
913
- contractInfo?: {
914
- codeId?: number;
915
- creator?: string;
916
- admin?: string;
917
- label?: string;
918
- created?: {
919
- blockHeight?: number;
920
- txIndex?: number;
921
- };
922
- ibcPortId?: string;
923
- extension?: {
924
- typeUrl?: string;
925
- value?: Uint8Array;
926
- };
927
- };
928
- contractState?: {
929
- key?: Uint8Array;
930
- value?: Uint8Array;
931
- }[];
932
- contractCodeHistory?: {
933
- operation?: import("./types").ContractCodeHistoryOperationType;
934
- codeId?: number;
935
- updated?: {
936
- blockHeight?: number;
937
- txIndex?: number;
938
- };
939
- msg?: Uint8Array;
940
- }[];
941
- } & {
942
- contractAddress?: string;
943
- contractInfo?: {
944
- codeId?: number;
945
- creator?: string;
946
- admin?: string;
947
- label?: string;
948
- created?: {
949
- blockHeight?: number;
950
- txIndex?: number;
951
- };
952
- ibcPortId?: string;
953
- extension?: {
954
- typeUrl?: string;
955
- value?: Uint8Array;
956
- };
957
- } & {
958
- codeId?: number;
959
- creator?: string;
960
- admin?: string;
961
- label?: string;
962
- created?: {
963
- blockHeight?: number;
964
- txIndex?: number;
965
- } & {
966
- blockHeight?: number;
967
- txIndex?: number;
968
- } & { [K_9 in Exclude<keyof I_1["contractInfo"]["created"], keyof import("./types").AbsoluteTxPosition>]: never; };
969
- ibcPortId?: string;
970
- extension?: {
971
- typeUrl?: string;
972
- value?: Uint8Array;
973
- } & {
974
- typeUrl?: string;
975
- value?: Uint8Array;
976
- } & { [K_10 in Exclude<keyof I_1["contractInfo"]["extension"], keyof import("../../google").Any>]: never; };
977
- } & { [K_11 in Exclude<keyof I_1["contractInfo"], keyof ContractInfo>]: never; };
978
- contractState?: {
979
- key?: Uint8Array;
980
- value?: Uint8Array;
981
- }[] & ({
982
- key?: Uint8Array;
983
- value?: Uint8Array;
984
- } & {
985
- key?: Uint8Array;
986
- value?: Uint8Array;
987
- } & { [K_12 in Exclude<keyof I_1["contractState"][number], keyof Model>]: never; })[] & { [K_13 in Exclude<keyof I_1["contractState"], keyof {
988
- key?: Uint8Array;
989
- value?: Uint8Array;
990
- }[]>]: never; };
991
- contractCodeHistory?: {
992
- operation?: import("./types").ContractCodeHistoryOperationType;
993
- codeId?: number;
994
- updated?: {
995
- blockHeight?: number;
996
- txIndex?: number;
997
- };
998
- msg?: Uint8Array;
999
- }[] & ({
1000
- operation?: import("./types").ContractCodeHistoryOperationType;
1001
- codeId?: number;
1002
- updated?: {
1003
- blockHeight?: number;
1004
- txIndex?: number;
1005
- };
1006
- msg?: Uint8Array;
1007
- } & {
1008
- operation?: import("./types").ContractCodeHistoryOperationType;
1009
- codeId?: number;
1010
- updated?: {
1011
- blockHeight?: number;
1012
- txIndex?: number;
1013
- } & {
1014
- blockHeight?: number;
1015
- txIndex?: number;
1016
- } & { [K_14 in Exclude<keyof I_1["contractCodeHistory"][number]["updated"], keyof import("./types").AbsoluteTxPosition>]: never; };
1017
- msg?: Uint8Array;
1018
- } & { [K_15 in Exclude<keyof I_1["contractCodeHistory"][number], keyof ContractCodeHistoryEntry>]: never; })[] & { [K_16 in Exclude<keyof I_1["contractCodeHistory"], keyof {
1019
- operation?: import("./types").ContractCodeHistoryOperationType;
1020
- codeId?: number;
1021
- updated?: {
1022
- blockHeight?: number;
1023
- txIndex?: number;
1024
- };
1025
- msg?: Uint8Array;
1026
- }[]>]: never; };
1027
- } & { [K_17 in Exclude<keyof I_1, keyof Contract>]: never; }>(object: I_1): Contract;
1028
- };
1029
- export declare const Sequence: {
1030
- encode(message: Sequence, writer?: _m0.Writer): _m0.Writer;
1031
- decode(input: _m0.Reader | Uint8Array, length?: number): Sequence;
1032
- fromJSON(object: any): Sequence;
1033
- toJSON(message: Sequence): unknown;
1034
- create<I extends {
1035
- idKey?: Uint8Array;
1036
- value?: number;
1037
- } & {
1038
- idKey?: Uint8Array;
1039
- value?: number;
1040
- } & { [K in Exclude<keyof I, keyof Sequence>]: never; }>(base?: I): Sequence;
1041
- fromPartial<I_1 extends {
1042
- idKey?: Uint8Array;
1043
- value?: number;
1044
- } & {
1045
- idKey?: Uint8Array;
1046
- value?: number;
1047
- } & { [K_1 in Exclude<keyof I_1, keyof Sequence>]: never; }>(object: I_1): Sequence;
1048
- };
31
+ export declare const GenesisState: MessageFns<GenesisState>;
32
+ export declare const Code: MessageFns<Code>;
33
+ export declare const Contract: MessageFns<Contract>;
34
+ export declare const Sequence: MessageFns<Sequence>;
1049
35
  type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
1050
- 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 {} ? {
36
+ 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 {} ? {
1051
37
  [K in keyof T]?: DeepPartial<T[K]>;
1052
38
  } : Partial<T>;
1053
39
  type KeysOfUnion<T> = T extends T ? keyof T : never;
@@ -1056,4 +42,12 @@ export type Exact<P, I extends P> = P extends Builtin ? P : P & {
1056
42
  } & {
1057
43
  [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
1058
44
  };
45
+ export interface MessageFns<T> {
46
+ encode(message: T, writer?: BinaryWriter): BinaryWriter;
47
+ decode(input: BinaryReader | Uint8Array, length?: number): T;
48
+ fromJSON(object: any): T;
49
+ toJSON(message: T): unknown;
50
+ create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
51
+ fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
52
+ }
1059
53
  export {};