juno-network 0.12.0 → 0.14.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (428) hide show
  1. package/main/codegen/confio/proofs.js +3 -29
  2. package/main/codegen/cosmos/base/abci/v1beta1/abci.js +1 -1
  3. package/main/codegen/cosmos/base/query/v1beta1/pagination.js +1 -1
  4. package/main/codegen/cosmos/bundle.js +47 -47
  5. package/main/codegen/cosmos/gov/v1/genesis.js +1 -1
  6. package/main/codegen/cosmos/gov/v1/gov.js +4 -21
  7. package/main/codegen/cosmos/gov/v1/query.js +1 -1
  8. package/main/codegen/cosmos/gov/v1beta1/genesis.js +1 -1
  9. package/main/codegen/cosmos/gov/v1beta1/gov.js +4 -21
  10. package/main/codegen/cosmos/gov/v1beta1/query.js +1 -1
  11. package/main/codegen/cosmos/staking/v1beta1/authz.js +2 -13
  12. package/main/codegen/cosmos/staking/v1beta1/staking.js +2 -9
  13. package/main/codegen/cosmos/tx/signing/v1beta1/signing.js +2 -19
  14. package/main/codegen/cosmos/tx/v1beta1/service.js +4 -17
  15. package/main/codegen/cosmos/upgrade/v1beta1/upgrade.js +1 -1
  16. package/main/codegen/cosmos_proto/cosmos.js +1 -7
  17. package/main/codegen/cosmwasm/bundle.js +17 -16
  18. package/main/codegen/cosmwasm/wasm/v1/authz.js +437 -0
  19. package/main/codegen/cosmwasm/wasm/v1/genesis.js +21 -2
  20. package/main/codegen/cosmwasm/wasm/v1/ibc.js +1 -1
  21. package/main/codegen/cosmwasm/wasm/v1/proposal.js +291 -4
  22. package/main/codegen/cosmwasm/wasm/v1/query.js +179 -3
  23. package/main/codegen/cosmwasm/wasm/v1/query.lcd.js +65 -2
  24. package/main/codegen/cosmwasm/wasm/v1/query.rpc.Query.js +27 -0
  25. package/main/codegen/cosmwasm/wasm/v1/tx.amino.js +89 -34
  26. package/main/codegen/cosmwasm/wasm/v1/tx.js +183 -23
  27. package/main/codegen/cosmwasm/wasm/v1/tx.registry.js +19 -1
  28. package/main/codegen/cosmwasm/wasm/v1/tx.rpc.msg.js +10 -0
  29. package/main/codegen/cosmwasm/wasm/v1/types.js +35 -29
  30. package/main/codegen/gogoproto/bundle.js +2 -2
  31. package/main/codegen/google/bundle.js +6 -6
  32. package/main/codegen/google/protobuf/descriptor.js +8 -63
  33. package/main/codegen/google/protobuf/duration.js +1 -1
  34. package/main/codegen/google/protobuf/timestamp.js +1 -1
  35. package/main/codegen/helpers.js +1 -1
  36. package/main/codegen/ibc/applications/transfer/v1/tx.js +1 -1
  37. package/main/codegen/ibc/bundle.js +56 -56
  38. package/main/codegen/ibc/core/channel/v1/channel.js +4 -21
  39. package/main/codegen/ibc/core/channel/v1/genesis.js +1 -1
  40. package/main/codegen/ibc/core/client/v1/genesis.js +1 -1
  41. package/main/codegen/ibc/core/connection/v1/connection.js +3 -13
  42. package/main/codegen/ibc/core/connection/v1/genesis.js +1 -1
  43. package/main/codegen/ibc/core/connection/v1/tx.js +1 -1
  44. package/main/codegen/ibc/lightclients/solomachine/v1/solomachine.js +3 -19
  45. package/main/codegen/ibc/lightclients/solomachine/v2/solomachine.js +3 -19
  46. package/main/codegen/index.js +34 -1
  47. package/main/codegen/juno/bundle.js +20 -20
  48. package/main/codegen/juno/mint/mint.js +1 -1
  49. package/main/codegen/osmosis/bundle.js +35 -0
  50. package/main/codegen/osmosis/client.js +67 -0
  51. package/main/codegen/osmosis/lcd.js +167 -0
  52. package/main/codegen/osmosis/rpc.query.js +134 -0
  53. package/main/codegen/osmosis/rpc.tx.js +133 -0
  54. package/main/codegen/osmosis/tokenfactory/v1beta1/authorityMetadata.js +48 -0
  55. package/main/codegen/osmosis/tokenfactory/v1beta1/genesis.js +118 -0
  56. package/main/codegen/osmosis/tokenfactory/v1beta1/params.js +63 -0
  57. package/main/codegen/osmosis/tokenfactory/v1beta1/query.js +242 -0
  58. package/main/codegen/osmosis/tokenfactory/v1beta1/query.lcd.js +111 -0
  59. package/main/codegen/osmosis/tokenfactory/v1beta1/query.rpc.Query.js +73 -0
  60. package/main/codegen/osmosis/tokenfactory/v1beta1/tx.amino.js +151 -0
  61. package/main/codegen/osmosis/tokenfactory/v1beta1/tx.js +400 -0
  62. package/main/codegen/osmosis/tokenfactory/v1beta1/tx.registry.js +119 -0
  63. package/main/codegen/osmosis/tokenfactory/v1beta1/tx.rpc.msg.js +75 -0
  64. package/main/codegen/router/bundle.js +25 -0
  65. package/main/codegen/router/lcd.js +164 -0
  66. package/main/codegen/router/rpc.query.js +131 -0
  67. package/main/codegen/router/v1/genesis.js +286 -0
  68. package/main/codegen/router/v1/query.js +76 -0
  69. package/main/codegen/router/v1/query.lcd.js +54 -0
  70. package/main/codegen/router/v1/query.rpc.Query.js +47 -0
  71. package/main/codegen/tendermint/abci/types.js +4 -33
  72. package/main/codegen/tendermint/bundle.js +17 -17
  73. package/main/codegen/tendermint/crypto/proof.js +1 -1
  74. package/main/codegen/tendermint/libs/bits/types.js +1 -1
  75. package/main/codegen/tendermint/p2p/types.js +1 -1
  76. package/main/codegen/tendermint/types/types.js +4 -18
  77. package/main/codegen/tendermint/types/validator.js +1 -1
  78. package/main/codegen/tendermint/version/types.js +1 -1
  79. package/module/codegen/confio/proofs.js +2 -29
  80. package/module/codegen/cosmos/base/abci/v1beta1/abci.js +1 -1
  81. package/module/codegen/cosmos/base/query/v1beta1/pagination.js +1 -1
  82. package/module/codegen/cosmos/bundle.js +47 -47
  83. package/module/codegen/cosmos/gov/v1/genesis.js +1 -1
  84. package/module/codegen/cosmos/gov/v1/gov.js +2 -21
  85. package/module/codegen/cosmos/gov/v1/query.js +1 -1
  86. package/module/codegen/cosmos/gov/v1beta1/genesis.js +1 -1
  87. package/module/codegen/cosmos/gov/v1beta1/gov.js +2 -21
  88. package/module/codegen/cosmos/gov/v1beta1/query.js +1 -1
  89. package/module/codegen/cosmos/staking/v1beta1/authz.js +1 -13
  90. package/module/codegen/cosmos/staking/v1beta1/staking.js +1 -9
  91. package/module/codegen/cosmos/tx/signing/v1beta1/signing.js +1 -19
  92. package/module/codegen/cosmos/tx/v1beta1/service.js +2 -17
  93. package/module/codegen/cosmos/upgrade/v1beta1/upgrade.js +1 -1
  94. package/module/codegen/cosmos_proto/cosmos.js +1 -7
  95. package/module/codegen/cosmwasm/bundle.js +17 -16
  96. package/module/codegen/cosmwasm/wasm/v1/authz.js +346 -0
  97. package/module/codegen/cosmwasm/wasm/v1/genesis.js +11 -3
  98. package/module/codegen/cosmwasm/wasm/v1/ibc.js +1 -1
  99. package/module/codegen/cosmwasm/wasm/v1/proposal.js +261 -2
  100. package/module/codegen/cosmwasm/wasm/v1/query.js +159 -2
  101. package/module/codegen/cosmwasm/wasm/v1/query.lcd.js +22 -2
  102. package/module/codegen/cosmwasm/wasm/v1/query.rpc.Query.js +19 -1
  103. package/module/codegen/cosmwasm/wasm/v1/tx.amino.js +55 -2
  104. package/module/codegen/cosmwasm/wasm/v1/tx.js +161 -16
  105. package/module/codegen/cosmwasm/wasm/v1/tx.registry.js +20 -2
  106. package/module/codegen/cosmwasm/wasm/v1/tx.rpc.msg.js +7 -1
  107. package/module/codegen/cosmwasm/wasm/v1/types.js +19 -29
  108. package/module/codegen/gogoproto/bundle.js +2 -2
  109. package/module/codegen/google/bundle.js +6 -6
  110. package/module/codegen/google/protobuf/descriptor.js +6 -63
  111. package/module/codegen/google/protobuf/duration.js +1 -1
  112. package/module/codegen/google/protobuf/timestamp.js +1 -1
  113. package/module/codegen/helpers.js +1 -1
  114. package/module/codegen/ibc/applications/transfer/v1/tx.js +1 -1
  115. package/module/codegen/ibc/bundle.js +56 -56
  116. package/module/codegen/ibc/core/channel/v1/channel.js +2 -21
  117. package/module/codegen/ibc/core/channel/v1/genesis.js +1 -1
  118. package/module/codegen/ibc/core/client/v1/genesis.js +1 -1
  119. package/module/codegen/ibc/core/connection/v1/connection.js +2 -13
  120. package/module/codegen/ibc/core/connection/v1/genesis.js +1 -1
  121. package/module/codegen/ibc/core/connection/v1/tx.js +1 -1
  122. package/module/codegen/ibc/lightclients/solomachine/v1/solomachine.js +2 -19
  123. package/module/codegen/ibc/lightclients/solomachine/v2/solomachine.js +2 -19
  124. package/module/codegen/index.js +4 -1
  125. package/module/codegen/juno/bundle.js +20 -20
  126. package/module/codegen/juno/mint/mint.js +1 -1
  127. package/module/codegen/osmosis/bundle.js +24 -0
  128. package/module/codegen/osmosis/client.js +36 -0
  129. package/module/codegen/osmosis/lcd.js +57 -0
  130. package/module/codegen/osmosis/rpc.query.js +39 -0
  131. package/module/codegen/osmosis/rpc.tx.js +30 -0
  132. package/module/codegen/osmosis/tokenfactory/v1beta1/authorityMetadata.js +37 -0
  133. package/module/codegen/osmosis/tokenfactory/v1beta1/genesis.js +91 -0
  134. package/module/codegen/osmosis/tokenfactory/v1beta1/params.js +38 -0
  135. package/module/codegen/osmosis/tokenfactory/v1beta1/query.js +207 -0
  136. package/module/codegen/osmosis/tokenfactory/v1beta1/query.lcd.js +33 -0
  137. package/module/codegen/osmosis/tokenfactory/v1beta1/query.rpc.Query.js +45 -0
  138. package/module/codegen/osmosis/tokenfactory/v1beta1/tx.amino.js +150 -0
  139. package/module/codegen/osmosis/tokenfactory/v1beta1/tx.js +371 -0
  140. package/module/codegen/osmosis/tokenfactory/v1beta1/tx.registry.js +105 -0
  141. package/module/codegen/osmosis/tokenfactory/v1beta1/tx.rpc.msg.js +41 -0
  142. package/module/codegen/router/bundle.js +14 -0
  143. package/module/codegen/router/lcd.js +55 -0
  144. package/module/codegen/router/rpc.query.js +37 -0
  145. package/module/codegen/router/v1/genesis.js +261 -0
  146. package/module/codegen/router/v1/query.js +63 -0
  147. package/module/codegen/router/v1/query.lcd.js +16 -0
  148. package/module/codegen/router/v1/query.rpc.Query.js +27 -0
  149. package/module/codegen/tendermint/abci/types.js +4 -33
  150. package/module/codegen/tendermint/bundle.js +17 -17
  151. package/module/codegen/tendermint/crypto/proof.js +1 -1
  152. package/module/codegen/tendermint/libs/bits/types.js +1 -1
  153. package/module/codegen/tendermint/p2p/types.js +1 -1
  154. package/module/codegen/tendermint/types/evidence.js +1 -1
  155. package/module/codegen/tendermint/types/types.js +3 -19
  156. package/module/codegen/tendermint/types/validator.js +1 -1
  157. package/module/codegen/tendermint/version/types.js +1 -1
  158. package/package.json +7 -7
  159. package/src/codegen/confio/proofs.ts +8 -80
  160. package/src/codegen/cosmos/authz/v1beta1/authz.ts +0 -8
  161. package/src/codegen/cosmos/authz/v1beta1/event.ts +0 -10
  162. package/src/codegen/cosmos/authz/v1beta1/query.ts +0 -17
  163. package/src/codegen/cosmos/authz/v1beta1/tx.ts +0 -6
  164. package/src/codegen/cosmos/bank/v1beta1/bank.ts +0 -46
  165. package/src/codegen/cosmos/bank/v1beta1/genesis.ts +0 -13
  166. package/src/codegen/cosmos/bank/v1beta1/query.ts +0 -44
  167. package/src/codegen/cosmos/bank/v1beta1/tx.amino.ts +6 -6
  168. package/src/codegen/cosmos/base/abci/v1beta1/abci.ts +1 -87
  169. package/src/codegen/cosmos/base/query/v1beta1/pagination.ts +1 -40
  170. package/src/codegen/cosmos/base/reflection/v2alpha1/reflection.ts +0 -78
  171. package/src/codegen/cosmos/bundle.ts +68 -68
  172. package/src/codegen/cosmos/crypto/hd/v1/hd.ts +0 -12
  173. package/src/codegen/cosmos/crypto/keyring/v1/record.ts +0 -11
  174. package/src/codegen/cosmos/crypto/secp256r1/keys.ts +0 -5
  175. package/src/codegen/cosmos/distribution/v1beta1/genesis.ts +0 -48
  176. package/src/codegen/cosmos/distribution/v1beta1/query.ts +0 -27
  177. package/src/codegen/cosmos/distribution/v1beta1/tx.amino.ts +12 -12
  178. package/src/codegen/cosmos/gov/v1/genesis.ts +1 -14
  179. package/src/codegen/cosmos/gov/v1/gov.ts +4 -86
  180. package/src/codegen/cosmos/gov/v1/query.ts +3 -43
  181. package/src/codegen/cosmos/gov/v1/tx.amino.ts +15 -15
  182. package/src/codegen/cosmos/gov/v1/tx.ts +2 -7
  183. package/src/codegen/cosmos/gov/v1beta1/genesis.ts +1 -14
  184. package/src/codegen/cosmos/gov/v1beta1/gov.ts +5 -91
  185. package/src/codegen/cosmos/gov/v1beta1/query.ts +3 -43
  186. package/src/codegen/cosmos/gov/v1beta1/tx.amino.ts +12 -12
  187. package/src/codegen/cosmos/gov/v1beta1/tx.ts +2 -2
  188. package/src/codegen/cosmos/staking/v1beta1/authz.ts +2 -34
  189. package/src/codegen/cosmos/staking/v1beta1/genesis.ts +0 -22
  190. package/src/codegen/cosmos/staking/v1beta1/query.ts +0 -60
  191. package/src/codegen/cosmos/staking/v1beta1/staking.ts +2 -97
  192. package/src/codegen/cosmos/staking/v1beta1/tx.amino.ts +15 -15
  193. package/src/codegen/cosmos/staking/v1beta1/tx.ts +0 -7
  194. package/src/codegen/cosmos/tx/signing/v1beta1/signing.ts +2 -66
  195. package/src/codegen/cosmos/tx/v1beta1/service.ts +4 -74
  196. package/src/codegen/cosmos/tx/v1beta1/tx.ts +3 -181
  197. package/src/codegen/cosmos/upgrade/v1beta1/query.ts +0 -14
  198. package/src/codegen/cosmos/upgrade/v1beta1/tx.amino.ts +6 -6
  199. package/src/codegen/cosmos/upgrade/v1beta1/tx.ts +0 -4
  200. package/src/codegen/cosmos/upgrade/v1beta1/upgrade.ts +1 -35
  201. package/src/codegen/cosmos_proto/cosmos.ts +2 -37
  202. package/src/codegen/cosmwasm/bundle.ts +24 -22
  203. package/src/codegen/cosmwasm/wasm/v1/authz.ts +603 -0
  204. package/src/codegen/cosmwasm/wasm/v1/genesis.ts +14 -4
  205. package/src/codegen/cosmwasm/wasm/v1/ibc.ts +1 -17
  206. package/src/codegen/cosmwasm/wasm/v1/proposal.ts +466 -72
  207. package/src/codegen/cosmwasm/wasm/v1/query.lcd.ts +27 -3
  208. package/src/codegen/cosmwasm/wasm/v1/query.rpc.Query.ts +29 -1
  209. package/src/codegen/cosmwasm/wasm/v1/query.ts +261 -33
  210. package/src/codegen/cosmwasm/wasm/v1/tx.amino.ts +91 -21
  211. package/src/codegen/cosmwasm/wasm/v1/tx.registry.ts +23 -2
  212. package/src/codegen/cosmwasm/wasm/v1/tx.rpc.msg.ts +18 -2
  213. package/src/codegen/cosmwasm/wasm/v1/tx.ts +238 -41
  214. package/src/codegen/cosmwasm/wasm/v1/types.ts +39 -91
  215. package/src/codegen/gogoproto/bundle.ts +2 -2
  216. package/src/codegen/google/bundle.ts +8 -8
  217. package/src/codegen/google/protobuf/any.ts +0 -31
  218. package/src/codegen/google/protobuf/descriptor.ts +12 -638
  219. package/src/codegen/google/protobuf/duration.ts +1 -15
  220. package/src/codegen/google/protobuf/timestamp.ts +1 -13
  221. package/src/codegen/helpers.ts +1 -1
  222. package/src/codegen/ibc/applications/transfer/v1/query.ts +0 -7
  223. package/src/codegen/ibc/applications/transfer/v1/transfer.ts +0 -15
  224. package/src/codegen/ibc/applications/transfer/v1/tx.amino.ts +3 -3
  225. package/src/codegen/ibc/applications/transfer/v1/tx.ts +1 -20
  226. package/src/codegen/ibc/applications/transfer/v2/packet.ts +0 -7
  227. package/src/codegen/ibc/bundle.ts +74 -74
  228. package/src/codegen/ibc/core/channel/v1/channel.ts +6 -105
  229. package/src/codegen/ibc/core/channel/v1/genesis.ts +1 -3
  230. package/src/codegen/ibc/core/channel/v1/query.ts +0 -118
  231. package/src/codegen/ibc/core/channel/v1/tx.amino.ts +30 -30
  232. package/src/codegen/ibc/core/channel/v1/tx.ts +0 -5
  233. package/src/codegen/ibc/core/client/v1/client.ts +0 -32
  234. package/src/codegen/ibc/core/client/v1/genesis.ts +1 -13
  235. package/src/codegen/ibc/core/client/v1/query.ts +0 -35
  236. package/src/codegen/ibc/core/client/v1/tx.amino.ts +12 -12
  237. package/src/codegen/ibc/core/client/v1/tx.ts +0 -32
  238. package/src/codegen/ibc/core/connection/v1/connection.ts +4 -78
  239. package/src/codegen/ibc/core/connection/v1/genesis.ts +1 -3
  240. package/src/codegen/ibc/core/connection/v1/query.ts +0 -31
  241. package/src/codegen/ibc/core/connection/v1/tx.amino.ts +12 -12
  242. package/src/codegen/ibc/core/connection/v1/tx.ts +1 -26
  243. package/src/codegen/ibc/lightclients/localhost/v1/localhost.ts +0 -3
  244. package/src/codegen/ibc/lightclients/solomachine/v1/solomachine.ts +4 -63
  245. package/src/codegen/ibc/lightclients/solomachine/v2/solomachine.ts +4 -63
  246. package/src/codegen/ibc/lightclients/tendermint/v1/tendermint.ts +0 -41
  247. package/src/codegen/index.ts +4 -1
  248. package/src/codegen/juno/bundle.ts +31 -31
  249. package/src/codegen/juno/feeshare/v1/feeshare.ts +0 -14
  250. package/src/codegen/juno/feeshare/v1/genesis.ts +0 -16
  251. package/src/codegen/juno/feeshare/v1/query.ts +0 -25
  252. package/src/codegen/juno/feeshare/v1/tx.amino.ts +9 -9
  253. package/src/codegen/juno/feeshare/v1/tx.ts +0 -28
  254. package/src/codegen/juno/mint/genesis.ts +0 -3
  255. package/src/codegen/juno/mint/mint.ts +1 -7
  256. package/src/codegen/juno/mint/query.ts +0 -3
  257. package/src/codegen/osmosis/bundle.ts +32 -0
  258. package/src/codegen/osmosis/client.ts +45 -0
  259. package/src/codegen/osmosis/lcd.ts +59 -0
  260. package/src/codegen/osmosis/rpc.query.ts +41 -0
  261. package/src/codegen/osmosis/rpc.tx.ts +33 -0
  262. package/src/codegen/osmosis/tokenfactory/v1beta1/authorityMetadata.ts +66 -0
  263. package/src/codegen/osmosis/tokenfactory/v1beta1/genesis.ts +147 -0
  264. package/src/codegen/osmosis/tokenfactory/v1beta1/params.ts +58 -0
  265. package/src/codegen/osmosis/tokenfactory/v1beta1/query.lcd.ts +41 -0
  266. package/src/codegen/osmosis/tokenfactory/v1beta1/query.rpc.Query.ts +72 -0
  267. package/src/codegen/osmosis/tokenfactory/v1beta1/query.ts +344 -0
  268. package/src/codegen/osmosis/tokenfactory/v1beta1/tx.amino.ts +207 -0
  269. package/src/codegen/osmosis/tokenfactory/v1beta1/tx.registry.ts +121 -0
  270. package/src/codegen/osmosis/tokenfactory/v1beta1/tx.rpc.msg.ts +55 -0
  271. package/src/codegen/osmosis/tokenfactory/v1beta1/tx.ts +622 -0
  272. package/src/codegen/router/bundle.ts +16 -0
  273. package/src/codegen/router/lcd.ts +57 -0
  274. package/src/codegen/router/rpc.query.ts +39 -0
  275. package/src/codegen/router/v1/genesis.ts +406 -0
  276. package/src/codegen/router/v1/query.lcd.ts +22 -0
  277. package/src/codegen/router/v1/query.rpc.Query.ts +35 -0
  278. package/src/codegen/router/v1/query.ts +99 -0
  279. package/src/codegen/tendermint/abci/types.ts +8 -109
  280. package/src/codegen/tendermint/bundle.ts +22 -22
  281. package/src/codegen/tendermint/crypto/proof.ts +1 -4
  282. package/src/codegen/tendermint/libs/bits/types.ts +1 -1
  283. package/src/codegen/tendermint/p2p/types.ts +1 -1
  284. package/src/codegen/tendermint/types/evidence.ts +1 -1
  285. package/src/codegen/tendermint/types/params.ts +0 -36
  286. package/src/codegen/tendermint/types/types.ts +6 -50
  287. package/src/codegen/tendermint/types/validator.ts +1 -1
  288. package/src/codegen/tendermint/version/types.ts +1 -1
  289. package/types/codegen/confio/proofs.d.ts +8 -64
  290. package/types/codegen/cosmos/authz/v1beta1/authz.d.ts +0 -7
  291. package/types/codegen/cosmos/authz/v1beta1/event.d.ts +0 -6
  292. package/types/codegen/cosmos/authz/v1beta1/query.d.ts +0 -10
  293. package/types/codegen/cosmos/authz/v1beta1/tx.d.ts +0 -5
  294. package/types/codegen/cosmos/bank/v1beta1/bank.d.ts +0 -37
  295. package/types/codegen/cosmos/bank/v1beta1/genesis.d.ts +0 -9
  296. package/types/codegen/cosmos/bank/v1beta1/query.d.ts +0 -34
  297. package/types/codegen/cosmos/bank/v1beta1/tx.amino.d.ts +6 -6
  298. package/types/codegen/cosmos/base/abci/v1beta1/abci.d.ts +1 -62
  299. package/types/codegen/cosmos/base/query/v1beta1/pagination.d.ts +1 -35
  300. package/types/codegen/cosmos/base/reflection/v2alpha1/reflection.d.ts +0 -63
  301. package/types/codegen/cosmos/bundle.d.ts +70 -70
  302. package/types/codegen/cosmos/crypto/hd/v1/hd.d.ts +0 -8
  303. package/types/codegen/cosmos/crypto/keyring/v1/record.d.ts +0 -6
  304. package/types/codegen/cosmos/crypto/secp256r1/keys.d.ts +0 -5
  305. package/types/codegen/cosmos/distribution/v1beta1/genesis.d.ts +0 -28
  306. package/types/codegen/cosmos/distribution/v1beta1/query.d.ts +0 -21
  307. package/types/codegen/cosmos/distribution/v1beta1/tx.amino.d.ts +12 -12
  308. package/types/codegen/cosmos/gov/v1/genesis.d.ts +1 -8
  309. package/types/codegen/cosmos/gov/v1/gov.d.ts +4 -69
  310. package/types/codegen/cosmos/gov/v1/query.d.ts +3 -31
  311. package/types/codegen/cosmos/gov/v1/tx.amino.d.ts +15 -15
  312. package/types/codegen/cosmos/gov/v1/tx.d.ts +2 -5
  313. package/types/codegen/cosmos/gov/v1beta1/genesis.d.ts +1 -8
  314. package/types/codegen/cosmos/gov/v1beta1/gov.d.ts +5 -74
  315. package/types/codegen/cosmos/gov/v1beta1/query.d.ts +3 -31
  316. package/types/codegen/cosmos/gov/v1beta1/tx.amino.d.ts +12 -12
  317. package/types/codegen/cosmos/gov/v1beta1/tx.d.ts +2 -2
  318. package/types/codegen/cosmos/staking/v1beta1/authz.d.ts +2 -27
  319. package/types/codegen/cosmos/staking/v1beta1/genesis.d.ts +0 -15
  320. package/types/codegen/cosmos/staking/v1beta1/query.d.ts +0 -41
  321. package/types/codegen/cosmos/staking/v1beta1/staking.d.ts +2 -58
  322. package/types/codegen/cosmos/staking/v1beta1/tx.amino.d.ts +15 -15
  323. package/types/codegen/cosmos/staking/v1beta1/tx.d.ts +0 -6
  324. package/types/codegen/cosmos/tx/signing/v1beta1/signing.d.ts +2 -57
  325. package/types/codegen/cosmos/tx/v1beta1/service.d.ts +4 -58
  326. package/types/codegen/cosmos/tx/v1beta1/tx.d.ts +3 -152
  327. package/types/codegen/cosmos/upgrade/v1beta1/query.d.ts +0 -14
  328. package/types/codegen/cosmos/upgrade/v1beta1/tx.amino.d.ts +6 -6
  329. package/types/codegen/cosmos/upgrade/v1beta1/tx.d.ts +0 -3
  330. package/types/codegen/cosmos/upgrade/v1beta1/upgrade.d.ts +1 -30
  331. package/types/codegen/cosmos_proto/bundle.d.ts +1 -1
  332. package/types/codegen/cosmos_proto/cosmos.d.ts +2 -34
  333. package/types/codegen/cosmwasm/bundle.d.ts +386 -248
  334. package/types/codegen/cosmwasm/client.d.ts +31 -0
  335. package/types/codegen/cosmwasm/rpc.query.d.ts +2 -0
  336. package/types/codegen/cosmwasm/wasm/v1/authz.d.ts +205 -0
  337. package/types/codegen/cosmwasm/wasm/v1/genesis.d.ts +3 -2
  338. package/types/codegen/cosmwasm/wasm/v1/ibc.d.ts +1 -14
  339. package/types/codegen/cosmwasm/wasm/v1/proposal.d.ts +132 -41
  340. package/types/codegen/cosmwasm/wasm/v1/query.d.ts +74 -25
  341. package/types/codegen/cosmwasm/wasm/v1/query.lcd.d.ts +3 -1
  342. package/types/codegen/cosmwasm/wasm/v1/query.rpc.Query.d.ts +9 -1
  343. package/types/codegen/cosmwasm/wasm/v1/tx.amino.d.ts +41 -19
  344. package/types/codegen/cosmwasm/wasm/v1/tx.d.ts +60 -29
  345. package/types/codegen/cosmwasm/wasm/v1/tx.registry.d.ts +13 -1
  346. package/types/codegen/cosmwasm/wasm/v1/tx.rpc.msg.d.ts +11 -2
  347. package/types/codegen/cosmwasm/wasm/v1/types.d.ts +19 -61
  348. package/types/codegen/google/bundle.d.ts +123 -123
  349. package/types/codegen/google/protobuf/any.d.ts +0 -30
  350. package/types/codegen/google/protobuf/descriptor.d.ts +12 -566
  351. package/types/codegen/google/protobuf/duration.d.ts +1 -14
  352. package/types/codegen/google/protobuf/timestamp.d.ts +1 -12
  353. package/types/codegen/helpers.d.ts +1 -1
  354. package/types/codegen/ibc/applications/transfer/v1/query.d.ts +0 -6
  355. package/types/codegen/ibc/applications/transfer/v1/transfer.d.ts +0 -13
  356. package/types/codegen/ibc/applications/transfer/v1/tx.amino.d.ts +3 -3
  357. package/types/codegen/ibc/applications/transfer/v1/tx.d.ts +1 -14
  358. package/types/codegen/ibc/applications/transfer/v2/packet.d.ts +0 -4
  359. package/types/codegen/ibc/bundle.d.ts +750 -750
  360. package/types/codegen/ibc/core/channel/v1/channel.d.ts +6 -76
  361. package/types/codegen/ibc/core/channel/v1/genesis.d.ts +1 -2
  362. package/types/codegen/ibc/core/channel/v1/query.d.ts +0 -71
  363. package/types/codegen/ibc/core/channel/v1/tx.amino.d.ts +30 -30
  364. package/types/codegen/ibc/core/channel/v1/tx.d.ts +0 -4
  365. package/types/codegen/ibc/core/client/v1/client.d.ts +0 -24
  366. package/types/codegen/ibc/core/client/v1/genesis.d.ts +1 -8
  367. package/types/codegen/ibc/core/client/v1/query.d.ts +0 -25
  368. package/types/codegen/ibc/core/client/v1/tx.amino.d.ts +12 -12
  369. package/types/codegen/ibc/core/client/v1/tx.d.ts +0 -21
  370. package/types/codegen/ibc/core/connection/v1/connection.d.ts +4 -61
  371. package/types/codegen/ibc/core/connection/v1/genesis.d.ts +1 -2
  372. package/types/codegen/ibc/core/connection/v1/query.d.ts +0 -20
  373. package/types/codegen/ibc/core/connection/v1/tx.amino.d.ts +12 -12
  374. package/types/codegen/ibc/core/connection/v1/tx.d.ts +1 -18
  375. package/types/codegen/ibc/lightclients/localhost/v1/localhost.d.ts +0 -2
  376. package/types/codegen/ibc/lightclients/solomachine/v1/solomachine.d.ts +4 -47
  377. package/types/codegen/ibc/lightclients/solomachine/v2/solomachine.d.ts +4 -47
  378. package/types/codegen/ibc/lightclients/tendermint/v1/tendermint.d.ts +0 -31
  379. package/types/codegen/ics23/bundle.d.ts +2 -2
  380. package/types/codegen/index.d.ts +5 -1
  381. package/types/codegen/juno/bundle.d.ts +284 -41
  382. package/types/codegen/juno/client.d.ts +54 -0
  383. package/types/codegen/juno/feeshare/v1/feeshare.d.ts +37 -0
  384. package/types/codegen/juno/feeshare/v1/genesis.d.ts +48 -0
  385. package/types/codegen/juno/feeshare/v1/query.d.ts +193 -0
  386. package/types/codegen/juno/feeshare/v1/query.lcd.d.ts +13 -0
  387. package/types/codegen/juno/feeshare/v1/query.rpc.Query.d.ts +38 -0
  388. package/types/codegen/juno/feeshare/v1/tx.amino.d.ts +42 -0
  389. package/types/codegen/juno/feeshare/v1/tx.d.ts +113 -0
  390. package/types/codegen/juno/feeshare/v1/tx.registry.d.ts +48 -0
  391. package/types/codegen/juno/feeshare/v1/tx.rpc.msg.d.ts +21 -0
  392. package/types/codegen/juno/lcd.d.ts +3 -0
  393. package/types/codegen/juno/mint/genesis.d.ts +0 -2
  394. package/types/codegen/juno/mint/mint.d.ts +1 -5
  395. package/types/codegen/juno/mint/query.d.ts +0 -3
  396. package/types/codegen/juno/rpc.query.d.ts +9 -0
  397. package/types/codegen/juno/rpc.tx.d.ts +31 -0
  398. package/types/codegen/osmosis/bundle.d.ts +460 -0
  399. package/types/codegen/osmosis/client.d.ts +112 -0
  400. package/types/codegen/osmosis/lcd.d.ts +33 -0
  401. package/types/codegen/osmosis/rpc.query.d.ts +107 -0
  402. package/types/codegen/osmosis/rpc.tx.d.ts +31 -0
  403. package/types/codegen/osmosis/tokenfactory/v1beta1/authorityMetadata.d.ts +24 -0
  404. package/types/codegen/osmosis/tokenfactory/v1beta1/genesis.d.ts +43 -0
  405. package/types/codegen/osmosis/tokenfactory/v1beta1/params.d.ts +16 -0
  406. package/types/codegen/osmosis/tokenfactory/v1beta1/query.d.ts +105 -0
  407. package/types/codegen/osmosis/tokenfactory/v1beta1/query.lcd.d.ts +11 -0
  408. package/types/codegen/osmosis/tokenfactory/v1beta1/query.rpc.Query.d.ts +33 -0
  409. package/types/codegen/osmosis/tokenfactory/v1beta1/tx.amino.d.ts +84 -0
  410. package/types/codegen/osmosis/tokenfactory/v1beta1/tx.d.ts +197 -0
  411. package/types/codegen/osmosis/tokenfactory/v1beta1/tx.registry.d.ts +72 -0
  412. package/types/codegen/osmosis/tokenfactory/v1beta1/tx.rpc.msg.d.ts +19 -0
  413. package/types/codegen/router/bundle.d.ts +178 -0
  414. package/types/codegen/router/lcd.d.ts +31 -0
  415. package/types/codegen/router/rpc.query.d.ts +103 -0
  416. package/types/codegen/router/v1/genesis.d.ts +94 -0
  417. package/types/codegen/router/v1/query.d.ts +28 -0
  418. package/types/codegen/router/v1/query.lcd.d.ts +9 -0
  419. package/types/codegen/router/v1/query.rpc.Query.d.ts +16 -0
  420. package/types/codegen/tendermint/abci/types.d.ts +8 -78
  421. package/types/codegen/tendermint/bundle.d.ts +291 -291
  422. package/types/codegen/tendermint/crypto/proof.d.ts +1 -3
  423. package/types/codegen/tendermint/libs/bits/types.d.ts +1 -1
  424. package/types/codegen/tendermint/p2p/types.d.ts +1 -1
  425. package/types/codegen/tendermint/types/params.d.ts +0 -32
  426. package/types/codegen/tendermint/types/types.d.ts +5 -36
  427. package/types/codegen/tendermint/types/validator.d.ts +1 -1
  428. package/types/codegen/tendermint/version/types.d.ts +1 -1
@@ -10,6 +10,7 @@ export declare const cosmwasmAminoConverters: {
10
10
  instantiate_permission: {
11
11
  permission: number;
12
12
  address: string;
13
+ addresses: string[];
13
14
  };
14
15
  };
15
16
  fromAmino: ({ sender, wasm_byte_code, instantiate_permission }: {
@@ -18,6 +19,7 @@ export declare const cosmwasmAminoConverters: {
18
19
  instantiate_permission: {
19
20
  permission: number;
20
21
  address: string;
22
+ addresses: string[];
21
23
  };
22
24
  }) => import("./wasm/v1/tx").MsgStoreCode;
23
25
  };
@@ -46,6 +48,35 @@ export declare const cosmwasmAminoConverters: {
46
48
  }[];
47
49
  }) => import("./wasm/v1/tx").MsgInstantiateContract;
48
50
  };
51
+ "/cosmwasm.wasm.v1.MsgInstantiateContract2": {
52
+ aminoType: string;
53
+ toAmino: ({ sender, admin, codeId, label, msg, funds, salt, fixMsg }: import("./wasm/v1/tx").MsgInstantiateContract2) => {
54
+ sender: string;
55
+ admin: string;
56
+ code_id: string;
57
+ label: string;
58
+ msg: Uint8Array;
59
+ funds: {
60
+ denom: string;
61
+ amount: string;
62
+ }[];
63
+ salt: Uint8Array;
64
+ fix_msg: boolean;
65
+ };
66
+ fromAmino: ({ sender, admin, code_id, label, msg, funds, salt, fix_msg }: {
67
+ sender: string;
68
+ admin: string;
69
+ code_id: string;
70
+ label: string;
71
+ msg: Uint8Array;
72
+ funds: {
73
+ denom: string;
74
+ amount: string;
75
+ }[];
76
+ salt: Uint8Array;
77
+ fix_msg: boolean;
78
+ }) => import("./wasm/v1/tx").MsgInstantiateContract2;
79
+ };
49
80
  "/cosmwasm.wasm.v1.MsgExecuteContract": {
50
81
  aminoType: string;
51
82
  toAmino: ({ sender, contract, msg, funds }: import("./wasm/v1/tx").MsgExecuteContract) => {
@@ -107,6 +107,8 @@ export declare const createRPCQueryClient: ({ rpcEndpoint }: {
107
107
  code(request: import("./wasm/v1/query").QueryCodeRequest): Promise<import("./wasm/v1/query").QueryCodeResponse>;
108
108
  codes(request?: import("./wasm/v1/query").QueryCodesRequest): Promise<import("./wasm/v1/query").QueryCodesResponse>;
109
109
  pinnedCodes(request?: import("./wasm/v1/query").QueryPinnedCodesRequest): Promise<import("./wasm/v1/query").QueryPinnedCodesResponse>;
110
+ params(request?: import("./wasm/v1/query").QueryParamsRequest): Promise<import("./wasm/v1/query").QueryParamsResponse>;
111
+ contractsByCreator(request: import("./wasm/v1/query").QueryContractsByCreatorRequest): Promise<import("./wasm/v1/query").QueryContractsByCreatorResponse>;
110
112
  };
111
113
  };
112
114
  };
@@ -0,0 +1,205 @@
1
+ import { Any, AnySDKType } from "../../../google/protobuf/any";
2
+ import { Coin, CoinSDKType } from "../../../cosmos/base/v1beta1/coin";
3
+ import * as _m0 from "protobufjs/minimal";
4
+ import { DeepPartial, Long } from "../../../helpers";
5
+ /**
6
+ * ContractExecutionAuthorization defines authorization for wasm execute.
7
+ * Since: wasmd 0.30
8
+ */
9
+ export interface ContractExecutionAuthorization {
10
+ /** Grants for contract executions */
11
+ grants: ContractGrant[];
12
+ }
13
+ /**
14
+ * ContractExecutionAuthorization defines authorization for wasm execute.
15
+ * Since: wasmd 0.30
16
+ */
17
+ export interface ContractExecutionAuthorizationSDKType {
18
+ grants: ContractGrantSDKType[];
19
+ }
20
+ /**
21
+ * ContractMigrationAuthorization defines authorization for wasm contract
22
+ * migration. Since: wasmd 0.30
23
+ */
24
+ export interface ContractMigrationAuthorization {
25
+ /** Grants for contract migrations */
26
+ grants: ContractGrant[];
27
+ }
28
+ /**
29
+ * ContractMigrationAuthorization defines authorization for wasm contract
30
+ * migration. Since: wasmd 0.30
31
+ */
32
+ export interface ContractMigrationAuthorizationSDKType {
33
+ grants: ContractGrantSDKType[];
34
+ }
35
+ /**
36
+ * ContractGrant a granted permission for a single contract
37
+ * Since: wasmd 0.30
38
+ */
39
+ export interface ContractGrant {
40
+ /** Contract is the bech32 address of the smart contract */
41
+ contract: string;
42
+ /**
43
+ * Limit defines execution limits that are enforced and updated when the grant
44
+ * is applied. When the limit lapsed the grant is removed.
45
+ */
46
+ limit?: Any;
47
+ /**
48
+ * Filter define more fine-grained control on the message payload passed
49
+ * to the contract in the operation. When no filter applies on execution, the
50
+ * operation is prohibited.
51
+ */
52
+ filter?: Any;
53
+ }
54
+ /**
55
+ * ContractGrant a granted permission for a single contract
56
+ * Since: wasmd 0.30
57
+ */
58
+ export interface ContractGrantSDKType {
59
+ contract: string;
60
+ limit?: AnySDKType;
61
+ filter?: AnySDKType;
62
+ }
63
+ /**
64
+ * MaxCallsLimit limited number of calls to the contract. No funds transferable.
65
+ * Since: wasmd 0.30
66
+ */
67
+ export interface MaxCallsLimit {
68
+ /** Remaining number that is decremented on each execution */
69
+ remaining: Long;
70
+ }
71
+ /**
72
+ * MaxCallsLimit limited number of calls to the contract. No funds transferable.
73
+ * Since: wasmd 0.30
74
+ */
75
+ export interface MaxCallsLimitSDKType {
76
+ remaining: Long;
77
+ }
78
+ /**
79
+ * MaxFundsLimit defines the maximal amounts that can be sent to the contract.
80
+ * Since: wasmd 0.30
81
+ */
82
+ export interface MaxFundsLimit {
83
+ /** Amounts is the maximal amount of tokens transferable to the contract. */
84
+ amounts: Coin[];
85
+ }
86
+ /**
87
+ * MaxFundsLimit defines the maximal amounts that can be sent to the contract.
88
+ * Since: wasmd 0.30
89
+ */
90
+ export interface MaxFundsLimitSDKType {
91
+ amounts: CoinSDKType[];
92
+ }
93
+ /**
94
+ * CombinedLimit defines the maximal amounts that can be sent to a contract and
95
+ * the maximal number of calls executable. Both need to remain >0 to be valid.
96
+ * Since: wasmd 0.30
97
+ */
98
+ export interface CombinedLimit {
99
+ /** Remaining number that is decremented on each execution */
100
+ callsRemaining: Long;
101
+ /** Amounts is the maximal amount of tokens transferable to the contract. */
102
+ amounts: Coin[];
103
+ }
104
+ /**
105
+ * CombinedLimit defines the maximal amounts that can be sent to a contract and
106
+ * the maximal number of calls executable. Both need to remain >0 to be valid.
107
+ * Since: wasmd 0.30
108
+ */
109
+ export interface CombinedLimitSDKType {
110
+ calls_remaining: Long;
111
+ amounts: CoinSDKType[];
112
+ }
113
+ /**
114
+ * AllowAllMessagesFilter is a wildcard to allow any type of contract payload
115
+ * message.
116
+ * Since: wasmd 0.30
117
+ */
118
+ export interface AllowAllMessagesFilter {
119
+ }
120
+ /**
121
+ * AllowAllMessagesFilter is a wildcard to allow any type of contract payload
122
+ * message.
123
+ * Since: wasmd 0.30
124
+ */
125
+ export interface AllowAllMessagesFilterSDKType {
126
+ }
127
+ /**
128
+ * AcceptedMessageKeysFilter accept only the specific contract message keys in
129
+ * the json object to be executed.
130
+ * Since: wasmd 0.30
131
+ */
132
+ export interface AcceptedMessageKeysFilter {
133
+ /** Messages is the list of unique keys */
134
+ keys: string[];
135
+ }
136
+ /**
137
+ * AcceptedMessageKeysFilter accept only the specific contract message keys in
138
+ * the json object to be executed.
139
+ * Since: wasmd 0.30
140
+ */
141
+ export interface AcceptedMessageKeysFilterSDKType {
142
+ keys: string[];
143
+ }
144
+ /**
145
+ * AcceptedMessagesFilter accept only the specific raw contract messages to be
146
+ * executed.
147
+ * Since: wasmd 0.30
148
+ */
149
+ export interface AcceptedMessagesFilter {
150
+ /** Messages is the list of raw contract messages */
151
+ messages: Uint8Array[];
152
+ }
153
+ /**
154
+ * AcceptedMessagesFilter accept only the specific raw contract messages to be
155
+ * executed.
156
+ * Since: wasmd 0.30
157
+ */
158
+ export interface AcceptedMessagesFilterSDKType {
159
+ messages: Uint8Array[];
160
+ }
161
+ export declare const ContractExecutionAuthorization: {
162
+ encode(message: ContractExecutionAuthorization, writer?: _m0.Writer): _m0.Writer;
163
+ decode(input: _m0.Reader | Uint8Array, length?: number): ContractExecutionAuthorization;
164
+ fromPartial(object: DeepPartial<ContractExecutionAuthorization>): ContractExecutionAuthorization;
165
+ };
166
+ export declare const ContractMigrationAuthorization: {
167
+ encode(message: ContractMigrationAuthorization, writer?: _m0.Writer): _m0.Writer;
168
+ decode(input: _m0.Reader | Uint8Array, length?: number): ContractMigrationAuthorization;
169
+ fromPartial(object: DeepPartial<ContractMigrationAuthorization>): ContractMigrationAuthorization;
170
+ };
171
+ export declare const ContractGrant: {
172
+ encode(message: ContractGrant, writer?: _m0.Writer): _m0.Writer;
173
+ decode(input: _m0.Reader | Uint8Array, length?: number): ContractGrant;
174
+ fromPartial(object: DeepPartial<ContractGrant>): ContractGrant;
175
+ };
176
+ export declare const MaxCallsLimit: {
177
+ encode(message: MaxCallsLimit, writer?: _m0.Writer): _m0.Writer;
178
+ decode(input: _m0.Reader | Uint8Array, length?: number): MaxCallsLimit;
179
+ fromPartial(object: DeepPartial<MaxCallsLimit>): MaxCallsLimit;
180
+ };
181
+ export declare const MaxFundsLimit: {
182
+ encode(message: MaxFundsLimit, writer?: _m0.Writer): _m0.Writer;
183
+ decode(input: _m0.Reader | Uint8Array, length?: number): MaxFundsLimit;
184
+ fromPartial(object: DeepPartial<MaxFundsLimit>): MaxFundsLimit;
185
+ };
186
+ export declare const CombinedLimit: {
187
+ encode(message: CombinedLimit, writer?: _m0.Writer): _m0.Writer;
188
+ decode(input: _m0.Reader | Uint8Array, length?: number): CombinedLimit;
189
+ fromPartial(object: DeepPartial<CombinedLimit>): CombinedLimit;
190
+ };
191
+ export declare const AllowAllMessagesFilter: {
192
+ encode(_: AllowAllMessagesFilter, writer?: _m0.Writer): _m0.Writer;
193
+ decode(input: _m0.Reader | Uint8Array, length?: number): AllowAllMessagesFilter;
194
+ fromPartial(_: DeepPartial<AllowAllMessagesFilter>): AllowAllMessagesFilter;
195
+ };
196
+ export declare const AcceptedMessageKeysFilter: {
197
+ encode(message: AcceptedMessageKeysFilter, writer?: _m0.Writer): _m0.Writer;
198
+ decode(input: _m0.Reader | Uint8Array, length?: number): AcceptedMessageKeysFilter;
199
+ fromPartial(object: DeepPartial<AcceptedMessageKeysFilter>): AcceptedMessageKeysFilter;
200
+ };
201
+ export declare const AcceptedMessagesFilter: {
202
+ encode(message: AcceptedMessagesFilter, writer?: _m0.Writer): _m0.Writer;
203
+ decode(input: _m0.Reader | Uint8Array, length?: number): AcceptedMessagesFilter;
204
+ fromPartial(object: DeepPartial<AcceptedMessagesFilter>): AcceptedMessagesFilter;
205
+ };
@@ -1,5 +1,5 @@
1
1
  import { MsgStoreCode, MsgStoreCodeSDKType, MsgInstantiateContract, MsgInstantiateContractSDKType, MsgExecuteContract, MsgExecuteContractSDKType } from "./tx";
2
- import { Params, ParamsSDKType, CodeInfo, CodeInfoSDKType, ContractInfo, ContractInfoSDKType, Model, ModelSDKType } from "./types";
2
+ import { Params, ParamsSDKType, CodeInfo, CodeInfoSDKType, ContractInfo, ContractInfoSDKType, Model, ModelSDKType, ContractCodeHistoryEntry, ContractCodeHistoryEntrySDKType } from "./types";
3
3
  import * as _m0 from "protobufjs/minimal";
4
4
  import { DeepPartial, Long } from "../../../helpers";
5
5
  /** GenesisState - genesis state of x/wasm */
@@ -49,7 +49,6 @@ export interface CodeSDKType {
49
49
  code_id: Long;
50
50
  code_info?: CodeInfoSDKType;
51
51
  code_bytes: Uint8Array;
52
- /** Pinned to wasmvm cache */
53
52
  pinned: boolean;
54
53
  }
55
54
  /** Contract struct encompasses ContractAddress, ContractInfo, and ContractState */
@@ -57,12 +56,14 @@ export interface Contract {
57
56
  contractAddress: string;
58
57
  contractInfo?: ContractInfo;
59
58
  contractState: Model[];
59
+ contractCodeHistory: ContractCodeHistoryEntry[];
60
60
  }
61
61
  /** Contract struct encompasses ContractAddress, ContractInfo, and ContractState */
62
62
  export interface ContractSDKType {
63
63
  contract_address: string;
64
64
  contract_info?: ContractInfoSDKType;
65
65
  contract_state: ModelSDKType[];
66
+ contract_code_history: ContractCodeHistoryEntrySDKType[];
66
67
  }
67
68
  /** Sequence key and value of an id generation counter */
68
69
  export interface Sequence {
@@ -1,5 +1,5 @@
1
- import * as _m0 from "protobufjs/minimal";
2
1
  import { Long, DeepPartial } from "../../../helpers";
2
+ import * as _m0 from "protobufjs/minimal";
3
3
  /** MsgIBCSend */
4
4
  export interface MsgIBCSend {
5
5
  /** the channel by which the packet will be sent */
@@ -22,22 +22,9 @@ export interface MsgIBCSend {
22
22
  }
23
23
  /** MsgIBCSend */
24
24
  export interface MsgIBCSendSDKType {
25
- /** the channel by which the packet will be sent */
26
25
  channel: string;
27
- /**
28
- * Timeout height relative to the current block height.
29
- * The timeout is disabled when set to 0.
30
- */
31
26
  timeout_height: Long;
32
- /**
33
- * Timeout timestamp (in nanoseconds) relative to the current block timestamp.
34
- * The timeout is disabled when set to 0.
35
- */
36
27
  timeout_timestamp: Long;
37
- /**
38
- * Data is the payload to transfer. We must not make assumption what format or
39
- * content is in here.
40
- */
41
28
  data: Uint8Array;
42
29
  }
43
30
  /** MsgIBCCloseChannel port and channel need to be owned by the contract */
@@ -14,19 +14,32 @@ export interface StoreCodeProposal {
14
14
  wasmByteCode: Uint8Array;
15
15
  /** InstantiatePermission to apply on contract creation, optional */
16
16
  instantiatePermission?: AccessConfig;
17
+ /** UnpinCode code on upload, optional */
18
+ unpinCode: boolean;
19
+ /** Source is the URL where the code is hosted */
20
+ source: string;
21
+ /**
22
+ * Builder is the docker image used to build the code deterministically, used
23
+ * for smart contract verification
24
+ */
25
+ builder: string;
26
+ /**
27
+ * CodeHash is the SHA256 sum of the code outputted by builder, used for smart
28
+ * contract verification
29
+ */
30
+ codeHash: Uint8Array;
17
31
  }
18
32
  /** StoreCodeProposal gov proposal content type to submit WASM code to the system */
19
33
  export interface StoreCodeProposalSDKType {
20
- /** Title is a short summary */
21
34
  title: string;
22
- /** Description is a human readable text */
23
35
  description: string;
24
- /** RunAs is the address that is passed to the contract's environment as sender */
25
36
  run_as: string;
26
- /** WASMByteCode can be raw or gzip compressed */
27
37
  wasm_byte_code: Uint8Array;
28
- /** InstantiatePermission to apply on contract creation, optional */
29
38
  instantiate_permission?: AccessConfigSDKType;
39
+ unpin_code: boolean;
40
+ source: string;
41
+ builder: string;
42
+ code_hash: Uint8Array;
30
43
  }
31
44
  /**
32
45
  * InstantiateContractProposal gov proposal content type to instantiate a
@@ -55,21 +68,13 @@ export interface InstantiateContractProposal {
55
68
  * contract.
56
69
  */
57
70
  export interface InstantiateContractProposalSDKType {
58
- /** Title is a short summary */
59
71
  title: string;
60
- /** Description is a human readable text */
61
72
  description: string;
62
- /** RunAs is the address that is passed to the contract's environment as sender */
63
73
  run_as: string;
64
- /** Admin is an optional address that can execute migrations */
65
74
  admin: string;
66
- /** CodeID is the reference to the stored WASM code */
67
75
  code_id: Long;
68
- /** Label is optional metadata to be stored with a constract instance. */
69
76
  label: string;
70
- /** Msg json encoded message to be passed to the contract on instantiation */
71
77
  msg: Uint8Array;
72
- /** Funds coins that are transferred to the contract on instantiation */
73
78
  funds: CoinSDKType[];
74
79
  }
75
80
  /** MigrateContractProposal gov proposal content type to migrate a contract. */
@@ -80,22 +85,17 @@ export interface MigrateContractProposal {
80
85
  description: string;
81
86
  /** Contract is the address of the smart contract */
82
87
  contract: string;
83
- /** CodeID references the new WASM codesudo */
88
+ /** CodeID references the new WASM code */
84
89
  codeId: Long;
85
90
  /** Msg json encoded message to be passed to the contract on migration */
86
91
  msg: Uint8Array;
87
92
  }
88
93
  /** MigrateContractProposal gov proposal content type to migrate a contract. */
89
94
  export interface MigrateContractProposalSDKType {
90
- /** Title is a short summary */
91
95
  title: string;
92
- /** Description is a human readable text */
93
96
  description: string;
94
- /** Contract is the address of the smart contract */
95
97
  contract: string;
96
- /** CodeID references the new WASM codesudo */
97
98
  code_id: Long;
98
- /** Msg json encoded message to be passed to the contract on migration */
99
99
  msg: Uint8Array;
100
100
  }
101
101
  /** SudoContractProposal gov proposal content type to call sudo on a contract. */
@@ -111,13 +111,9 @@ export interface SudoContractProposal {
111
111
  }
112
112
  /** SudoContractProposal gov proposal content type to call sudo on a contract. */
113
113
  export interface SudoContractProposalSDKType {
114
- /** Title is a short summary */
115
114
  title: string;
116
- /** Description is a human readable text */
117
115
  description: string;
118
- /** Contract is the address of the smart contract */
119
116
  contract: string;
120
- /** Msg json encoded message to be passed to the contract as sudo */
121
117
  msg: Uint8Array;
122
118
  }
123
119
  /**
@@ -143,17 +139,11 @@ export interface ExecuteContractProposal {
143
139
  * contract.
144
140
  */
145
141
  export interface ExecuteContractProposalSDKType {
146
- /** Title is a short summary */
147
142
  title: string;
148
- /** Description is a human readable text */
149
143
  description: string;
150
- /** RunAs is the address that is passed to the contract's environment as sender */
151
144
  run_as: string;
152
- /** Contract is the address of the smart contract */
153
145
  contract: string;
154
- /** Msg json encoded message to be passed to the contract as execute */
155
146
  msg: Uint8Array;
156
- /** Funds coins that are transferred to the contract on instantiation */
157
147
  funds: CoinSDKType[];
158
148
  }
159
149
  /** UpdateAdminProposal gov proposal content type to set an admin for a contract. */
@@ -169,13 +159,9 @@ export interface UpdateAdminProposal {
169
159
  }
170
160
  /** UpdateAdminProposal gov proposal content type to set an admin for a contract. */
171
161
  export interface UpdateAdminProposalSDKType {
172
- /** Title is a short summary */
173
162
  title: string;
174
- /** Description is a human readable text */
175
163
  description: string;
176
- /** NewAdmin address to be set */
177
164
  new_admin: string;
178
- /** Contract is the address of the smart contract */
179
165
  contract: string;
180
166
  }
181
167
  /**
@@ -195,11 +181,8 @@ export interface ClearAdminProposal {
195
181
  * contract.
196
182
  */
197
183
  export interface ClearAdminProposalSDKType {
198
- /** Title is a short summary */
199
184
  title: string;
200
- /** Description is a human readable text */
201
185
  description: string;
202
- /** Contract is the address of the smart contract */
203
186
  contract: string;
204
187
  }
205
188
  /**
@@ -219,11 +202,8 @@ export interface PinCodesProposal {
219
202
  * wasmvm cache.
220
203
  */
221
204
  export interface PinCodesProposalSDKType {
222
- /** Title is a short summary */
223
205
  title: string;
224
- /** Description is a human readable text */
225
206
  description: string;
226
- /** CodeIDs references the new WASM codes */
227
207
  code_ids: Long[];
228
208
  }
229
209
  /**
@@ -243,12 +223,108 @@ export interface UnpinCodesProposal {
243
223
  * the wasmvm cache.
244
224
  */
245
225
  export interface UnpinCodesProposalSDKType {
226
+ title: string;
227
+ description: string;
228
+ code_ids: Long[];
229
+ }
230
+ /**
231
+ * AccessConfigUpdate contains the code id and the access config to be
232
+ * applied.
233
+ */
234
+ export interface AccessConfigUpdate {
235
+ /** CodeID is the reference to the stored WASM code to be updated */
236
+ codeId: Long;
237
+ /** InstantiatePermission to apply to the set of code ids */
238
+ instantiatePermission?: AccessConfig;
239
+ }
240
+ /**
241
+ * AccessConfigUpdate contains the code id and the access config to be
242
+ * applied.
243
+ */
244
+ export interface AccessConfigUpdateSDKType {
245
+ code_id: Long;
246
+ instantiate_permission?: AccessConfigSDKType;
247
+ }
248
+ /**
249
+ * UpdateInstantiateConfigProposal gov proposal content type to update
250
+ * instantiate config to a set of code ids.
251
+ */
252
+ export interface UpdateInstantiateConfigProposal {
246
253
  /** Title is a short summary */
247
254
  title: string;
248
255
  /** Description is a human readable text */
249
256
  description: string;
250
- /** CodeIDs references the WASM codes */
251
- code_ids: Long[];
257
+ /**
258
+ * AccessConfigUpdate contains the list of code ids and the access config
259
+ * to be applied.
260
+ */
261
+ accessConfigUpdates: AccessConfigUpdate[];
262
+ }
263
+ /**
264
+ * UpdateInstantiateConfigProposal gov proposal content type to update
265
+ * instantiate config to a set of code ids.
266
+ */
267
+ export interface UpdateInstantiateConfigProposalSDKType {
268
+ title: string;
269
+ description: string;
270
+ access_config_updates: AccessConfigUpdateSDKType[];
271
+ }
272
+ /**
273
+ * StoreAndInstantiateContractProposal gov proposal content type to store
274
+ * and instantiate the contract.
275
+ */
276
+ export interface StoreAndInstantiateContractProposal {
277
+ /** Title is a short summary */
278
+ title: string;
279
+ /** Description is a human readable text */
280
+ description: string;
281
+ /** RunAs is the address that is passed to the contract's environment as sender */
282
+ runAs: string;
283
+ /** WASMByteCode can be raw or gzip compressed */
284
+ wasmByteCode: Uint8Array;
285
+ /** InstantiatePermission to apply on contract creation, optional */
286
+ instantiatePermission?: AccessConfig;
287
+ /** UnpinCode code on upload, optional */
288
+ unpinCode: boolean;
289
+ /** Admin is an optional address that can execute migrations */
290
+ admin: string;
291
+ /** Label is optional metadata to be stored with a constract instance. */
292
+ label: string;
293
+ /** Msg json encoded message to be passed to the contract on instantiation */
294
+ msg: Uint8Array;
295
+ /** Funds coins that are transferred to the contract on instantiation */
296
+ funds: Coin[];
297
+ /** Source is the URL where the code is hosted */
298
+ source: string;
299
+ /**
300
+ * Builder is the docker image used to build the code deterministically, used
301
+ * for smart contract verification
302
+ */
303
+ builder: string;
304
+ /**
305
+ * CodeHash is the SHA256 sum of the code outputted by builder, used for smart
306
+ * contract verification
307
+ */
308
+ codeHash: Uint8Array;
309
+ }
310
+ /**
311
+ * StoreAndInstantiateContractProposal gov proposal content type to store
312
+ * and instantiate the contract.
313
+ */
314
+ export interface StoreAndInstantiateContractProposalSDKType {
315
+ title: string;
316
+ description: string;
317
+ run_as: string;
318
+ wasm_byte_code: Uint8Array;
319
+ instantiate_permission?: AccessConfigSDKType;
320
+ unpin_code: boolean;
321
+ admin: string;
322
+ label: string;
323
+ msg: Uint8Array;
324
+ funds: CoinSDKType[];
325
+ source: string;
326
+ builder: string;
327
+ code_hash: Uint8Array;
252
328
  }
253
329
  export declare const StoreCodeProposal: {
254
330
  encode(message: StoreCodeProposal, writer?: _m0.Writer): _m0.Writer;
@@ -295,3 +371,18 @@ export declare const UnpinCodesProposal: {
295
371
  decode(input: _m0.Reader | Uint8Array, length?: number): UnpinCodesProposal;
296
372
  fromPartial(object: DeepPartial<UnpinCodesProposal>): UnpinCodesProposal;
297
373
  };
374
+ export declare const AccessConfigUpdate: {
375
+ encode(message: AccessConfigUpdate, writer?: _m0.Writer): _m0.Writer;
376
+ decode(input: _m0.Reader | Uint8Array, length?: number): AccessConfigUpdate;
377
+ fromPartial(object: DeepPartial<AccessConfigUpdate>): AccessConfigUpdate;
378
+ };
379
+ export declare const UpdateInstantiateConfigProposal: {
380
+ encode(message: UpdateInstantiateConfigProposal, writer?: _m0.Writer): _m0.Writer;
381
+ decode(input: _m0.Reader | Uint8Array, length?: number): UpdateInstantiateConfigProposal;
382
+ fromPartial(object: DeepPartial<UpdateInstantiateConfigProposal>): UpdateInstantiateConfigProposal;
383
+ };
384
+ export declare const StoreAndInstantiateContractProposal: {
385
+ encode(message: StoreAndInstantiateContractProposal, writer?: _m0.Writer): _m0.Writer;
386
+ decode(input: _m0.Reader | Uint8Array, length?: number): StoreAndInstantiateContractProposal;
387
+ fromPartial(object: DeepPartial<StoreAndInstantiateContractProposal>): StoreAndInstantiateContractProposal;
388
+ };