juno-network 0.7.0 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (186) hide show
  1. package/package.json +2 -2
  2. package/types/codegen/JunoSwap.client.d.ts +122 -0
  3. package/types/codegen/JunoSwap.types.d.ts +142 -0
  4. package/types/codegen/confio/proofs.d.ts +495 -0
  5. package/types/codegen/contracts.d.ts +12 -0
  6. package/types/codegen/cosmos/authz/v1beta1/authz.d.ts +95 -0
  7. package/types/codegen/cosmos/authz/v1beta1/event.d.ts +48 -0
  8. package/types/codegen/cosmos/authz/v1beta1/genesis.d.ts +16 -0
  9. package/types/codegen/cosmos/authz/v1beta1/query.d.ts +118 -0
  10. package/types/codegen/cosmos/authz/v1beta1/query.lcd.d.ts +11 -0
  11. package/types/codegen/cosmos/authz/v1beta1/query.rpc.query.d.ts +32 -0
  12. package/types/codegen/cosmos/authz/v1beta1/tx.d.ts +118 -0
  13. package/types/codegen/cosmos/authz/v1beta1/tx.rpc.msg.d.ts +30 -0
  14. package/types/codegen/cosmos/bank/v1beta1/authz.d.ts +26 -0
  15. package/types/codegen/cosmos/bank/v1beta1/bank.d.ts +222 -0
  16. package/types/codegen/cosmos/bank/v1beta1/genesis.d.ts +62 -0
  17. package/types/codegen/cosmos/bank/v1beta1/query.d.ts +396 -0
  18. package/types/codegen/cosmos/bank/v1beta1/query.lcd.d.ts +17 -0
  19. package/types/codegen/cosmos/bank/v1beta1/query.rpc.query.d.ts +57 -0
  20. package/types/codegen/cosmos/bank/v1beta1/tx.amino.d.ts +44 -0
  21. package/types/codegen/cosmos/bank/v1beta1/tx.d.ts +58 -0
  22. package/types/codegen/cosmos/bank/v1beta1/tx.registry.d.ts +36 -0
  23. package/types/codegen/cosmos/bank/v1beta1/tx.rpc.msg.d.ts +15 -0
  24. package/types/codegen/cosmos/base/abci/v1beta1/abci.d.ts +354 -0
  25. package/types/codegen/cosmos/base/query/v1beta1/pagination.d.ts +138 -0
  26. package/types/codegen/cosmos/base/reflection/v2alpha1/reflection.d.ts +514 -0
  27. package/types/codegen/cosmos/base/v1beta1/coin.d.ts +78 -0
  28. package/types/codegen/cosmos/bundle.d.ts +25545 -0
  29. package/types/codegen/cosmos/client.d.ts +473 -0
  30. package/types/codegen/cosmos/crypto/ed25519/keys.d.ts +46 -0
  31. package/types/codegen/cosmos/crypto/hd/v1/hd.d.ts +39 -0
  32. package/types/codegen/cosmos/crypto/keyring/v1/record.d.ts +95 -0
  33. package/types/codegen/cosmos/crypto/multisig/keys.d.ts +26 -0
  34. package/types/codegen/cosmos/crypto/multisig/v1beta1/multisig.d.ts +48 -0
  35. package/types/codegen/cosmos/crypto/secp256k1/keys.d.ts +40 -0
  36. package/types/codegen/cosmos/crypto/secp256r1/keys.d.ts +38 -0
  37. package/types/codegen/cosmos/distribution/v1beta1/distribution.d.ts +281 -0
  38. package/types/codegen/cosmos/distribution/v1beta1/genesis.d.ts +224 -0
  39. package/types/codegen/cosmos/distribution/v1beta1/query.d.ts +385 -0
  40. package/types/codegen/cosmos/distribution/v1beta1/query.lcd.d.ts +17 -0
  41. package/types/codegen/cosmos/distribution/v1beta1/query.rpc.query.d.ts +51 -0
  42. package/types/codegen/cosmos/distribution/v1beta1/tx.amino.d.ts +54 -0
  43. package/types/codegen/cosmos/distribution/v1beta1/tx.d.ts +133 -0
  44. package/types/codegen/cosmos/distribution/v1beta1/tx.registry.d.ts +60 -0
  45. package/types/codegen/cosmos/distribution/v1beta1/tx.rpc.msg.d.ts +33 -0
  46. package/types/codegen/cosmos/gov/v1/genesis.d.ts +42 -0
  47. package/types/codegen/cosmos/gov/v1/gov.d.ts +301 -0
  48. package/types/codegen/cosmos/gov/v1/query.d.ts +298 -0
  49. package/types/codegen/cosmos/gov/v1/query.lcd.d.ts +16 -0
  50. package/types/codegen/cosmos/gov/v1/query.rpc.query.d.ts +44 -0
  51. package/types/codegen/cosmos/gov/v1/tx.amino.d.ts +86 -0
  52. package/types/codegen/cosmos/gov/v1/tx.d.ts +169 -0
  53. package/types/codegen/cosmos/gov/v1/tx.registry.d.ts +72 -0
  54. package/types/codegen/cosmos/gov/v1/tx.rpc.msg.d.ts +27 -0
  55. package/types/codegen/cosmos/gov/v1beta1/genesis.d.ts +42 -0
  56. package/types/codegen/cosmos/gov/v1beta1/gov.d.ts +338 -0
  57. package/types/codegen/cosmos/gov/v1beta1/query.d.ts +298 -0
  58. package/types/codegen/cosmos/gov/v1beta1/query.lcd.d.ts +16 -0
  59. package/types/codegen/cosmos/gov/v1beta1/query.rpc.query.d.ts +44 -0
  60. package/types/codegen/cosmos/gov/v1beta1/tx.amino.d.ts +68 -0
  61. package/types/codegen/cosmos/gov/v1beta1/tx.d.ts +141 -0
  62. package/types/codegen/cosmos/gov/v1beta1/tx.registry.d.ts +60 -0
  63. package/types/codegen/cosmos/gov/v1beta1/tx.rpc.msg.d.ts +25 -0
  64. package/types/codegen/cosmos/lcd.d.ts +28 -0
  65. package/types/codegen/cosmos/rpc.query.d.ts +97 -0
  66. package/types/codegen/cosmos/rpc.tx.d.ts +26 -0
  67. package/types/codegen/cosmos/staking/v1beta1/authz.d.ts +97 -0
  68. package/types/codegen/cosmos/staking/v1beta1/genesis.d.ts +75 -0
  69. package/types/codegen/cosmos/staking/v1beta1/query.d.ts +592 -0
  70. package/types/codegen/cosmos/staking/v1beta1/query.lcd.d.ts +22 -0
  71. package/types/codegen/cosmos/staking/v1beta1/query.rpc.query.d.ts +80 -0
  72. package/types/codegen/cosmos/staking/v1beta1/staking.d.ts +568 -0
  73. package/types/codegen/cosmos/staking/v1beta1/tx.amino.d.ts +106 -0
  74. package/types/codegen/cosmos/staking/v1beta1/tx.d.ts +191 -0
  75. package/types/codegen/cosmos/staking/v1beta1/tx.registry.d.ts +72 -0
  76. package/types/codegen/cosmos/staking/v1beta1/tx.rpc.msg.d.ts +33 -0
  77. package/types/codegen/cosmos/tx/signing/v1beta1/signing.d.ts +203 -0
  78. package/types/codegen/cosmos/tx/v1beta1/service.d.ts +339 -0
  79. package/types/codegen/cosmos/tx/v1beta1/service.lcd.d.ts +11 -0
  80. package/types/codegen/cosmos/tx/v1beta1/service.rpc.svc.d.ts +36 -0
  81. package/types/codegen/cosmos/tx/v1beta1/tx.d.ts +603 -0
  82. package/types/codegen/cosmos/upgrade/v1beta1/query.d.ts +233 -0
  83. package/types/codegen/cosmos/upgrade/v1beta1/query.lcd.d.ts +13 -0
  84. package/types/codegen/cosmos/upgrade/v1beta1/query.rpc.query.d.ts +43 -0
  85. package/types/codegen/cosmos/upgrade/v1beta1/tx.amino.d.ts +39 -0
  86. package/types/codegen/cosmos/upgrade/v1beta1/tx.d.ts +91 -0
  87. package/types/codegen/cosmos/upgrade/v1beta1/tx.registry.d.ts +36 -0
  88. package/types/codegen/cosmos/upgrade/v1beta1/tx.rpc.msg.d.ts +24 -0
  89. package/types/codegen/cosmos/upgrade/v1beta1/upgrade.d.ts +165 -0
  90. package/types/codegen/cosmos_proto/bundle.d.ts +24 -0
  91. package/types/codegen/cosmos_proto/cosmos.d.ts +124 -0
  92. package/types/codegen/cosmwasm/bundle.d.ts +5227 -0
  93. package/types/codegen/cosmwasm/client.d.ts +120 -0
  94. package/types/codegen/cosmwasm/lcd.d.ts +33 -0
  95. package/types/codegen/cosmwasm/rpc.query.d.ts +112 -0
  96. package/types/codegen/cosmwasm/rpc.tx.d.ts +31 -0
  97. package/types/codegen/cosmwasm/wasm/v1/genesis.d.ts +101 -0
  98. package/types/codegen/cosmwasm/wasm/v1/ibc.d.ts +60 -0
  99. package/types/codegen/cosmwasm/wasm/v1/proposal.d.ts +297 -0
  100. package/types/codegen/cosmwasm/wasm/v1/query.d.ts +411 -0
  101. package/types/codegen/cosmwasm/wasm/v1/query.lcd.d.ts +17 -0
  102. package/types/codegen/cosmwasm/wasm/v1/query.rpc.query.d.ts +48 -0
  103. package/types/codegen/cosmwasm/wasm/v1/tx.amino.d.ts +95 -0
  104. package/types/codegen/cosmwasm/wasm/v1/tx.d.ts +262 -0
  105. package/types/codegen/cosmwasm/wasm/v1/tx.registry.d.ts +84 -0
  106. package/types/codegen/cosmwasm/wasm/v1/tx.rpc.msg.d.ts +27 -0
  107. package/types/codegen/cosmwasm/wasm/v1/types.d.ts +247 -0
  108. package/types/codegen/gogoproto/bundle.d.ts +1 -0
  109. package/types/codegen/gogoproto/gogo.d.ts +1 -0
  110. package/types/codegen/google/bundle.d.ts +8939 -0
  111. package/types/codegen/google/protobuf/any.d.ts +237 -0
  112. package/types/codegen/google/protobuf/descriptor.d.ts +1725 -0
  113. package/types/codegen/google/protobuf/duration.d.ts +161 -0
  114. package/types/codegen/google/protobuf/empty.d.ts +33 -0
  115. package/types/codegen/google/protobuf/timestamp.d.ts +205 -0
  116. package/types/codegen/helpers.d.ts +82 -0
  117. package/types/codegen/ibc/applications/transfer/v1/genesis.d.ts +20 -0
  118. package/types/codegen/ibc/applications/transfer/v1/query.d.ts +118 -0
  119. package/types/codegen/ibc/applications/transfer/v1/query.lcd.d.ts +11 -0
  120. package/types/codegen/ibc/applications/transfer/v1/query.rpc.query.d.ts +24 -0
  121. package/types/codegen/ibc/applications/transfer/v1/transfer.d.ts +74 -0
  122. package/types/codegen/ibc/applications/transfer/v1/tx.amino.d.ts +25 -0
  123. package/types/codegen/ibc/applications/transfer/v1/tx.d.ts +74 -0
  124. package/types/codegen/ibc/applications/transfer/v1/tx.registry.d.ts +24 -0
  125. package/types/codegen/ibc/applications/transfer/v1/tx.rpc.msg.d.ts +12 -0
  126. package/types/codegen/ibc/applications/transfer/v2/packet.d.ts +37 -0
  127. package/types/codegen/ibc/bundle.d.ts +21744 -0
  128. package/types/codegen/ibc/client.d.ts +559 -0
  129. package/types/codegen/ibc/core/channel/v1/channel.d.ts +313 -0
  130. package/types/codegen/ibc/core/channel/v1/genesis.d.ts +55 -0
  131. package/types/codegen/ibc/core/channel/v1/query.d.ts +726 -0
  132. package/types/codegen/ibc/core/channel/v1/query.lcd.d.ts +21 -0
  133. package/types/codegen/ibc/core/channel/v1/query.rpc.query.d.ts +88 -0
  134. package/types/codegen/ibc/core/channel/v1/tx.amino.d.ts +209 -0
  135. package/types/codegen/ibc/core/channel/v1/tx.d.ts +380 -0
  136. package/types/codegen/ibc/core/channel/v1/tx.registry.d.ts +132 -0
  137. package/types/codegen/ibc/core/channel/v1/tx.rpc.msg.d.ts +42 -0
  138. package/types/codegen/ibc/core/client/v1/client.d.ts +219 -0
  139. package/types/codegen/ibc/core/client/v1/genesis.d.ts +82 -0
  140. package/types/codegen/ibc/core/client/v1/query.d.ts +377 -0
  141. package/types/codegen/ibc/core/client/v1/query.lcd.d.ts +16 -0
  142. package/types/codegen/ibc/core/client/v1/query.rpc.query.d.ts +50 -0
  143. package/types/codegen/ibc/core/client/v1/tx.amino.d.ts +77 -0
  144. package/types/codegen/ibc/core/client/v1/tx.d.ts +187 -0
  145. package/types/codegen/ibc/core/client/v1/tx.registry.d.ts +60 -0
  146. package/types/codegen/ibc/core/client/v1/tx.rpc.msg.d.ts +21 -0
  147. package/types/codegen/ibc/core/commitment/v1/commitment.d.ts +89 -0
  148. package/types/codegen/ibc/core/connection/v1/connection.d.ts +260 -0
  149. package/types/codegen/ibc/core/connection/v1/genesis.d.ts +24 -0
  150. package/types/codegen/ibc/core/connection/v1/query.d.ts +264 -0
  151. package/types/codegen/ibc/core/connection/v1/query.lcd.d.ts +13 -0
  152. package/types/codegen/ibc/core/connection/v1/query.rpc.query.d.ts +41 -0
  153. package/types/codegen/ibc/core/connection/v1/tx.amino.d.ts +103 -0
  154. package/types/codegen/ibc/core/connection/v1/tx.d.ts +225 -0
  155. package/types/codegen/ibc/core/connection/v1/tx.registry.d.ts +60 -0
  156. package/types/codegen/ibc/core/connection/v1/tx.rpc.msg.d.ts +24 -0
  157. package/types/codegen/ibc/lcd.d.ts +46 -0
  158. package/types/codegen/ibc/lightclients/localhost/v1/localhost.d.ts +28 -0
  159. package/types/codegen/ibc/lightclients/solomachine/v1/solomachine.d.ts +433 -0
  160. package/types/codegen/ibc/lightclients/solomachine/v2/solomachine.d.ts +433 -0
  161. package/types/codegen/ibc/lightclients/tendermint/v1/tendermint.d.ts +215 -0
  162. package/types/codegen/ibc/rpc.query.d.ts +148 -0
  163. package/types/codegen/ibc/rpc.tx.d.ts +44 -0
  164. package/types/codegen/ics23/bundle.d.ts +545 -0
  165. package/types/codegen/index.d.ts +18 -0
  166. package/types/codegen/juno/bundle.d.ts +723 -0
  167. package/types/codegen/juno/lcd.d.ts +31 -0
  168. package/types/codegen/juno/mint/genesis.d.ts +22 -0
  169. package/types/codegen/juno/mint/mint.d.ts +44 -0
  170. package/types/codegen/juno/mint/query.d.ts +99 -0
  171. package/types/codegen/juno/mint/query.lcd.d.ts +11 -0
  172. package/types/codegen/juno/mint/query.rpc.query.d.ts +24 -0
  173. package/types/codegen/juno/rpc.query.d.ts +104 -0
  174. package/types/codegen/tendermint/abci/types.d.ts +902 -0
  175. package/types/codegen/tendermint/bundle.d.ts +19673 -0
  176. package/types/codegen/tendermint/crypto/keys.d.ts +17 -0
  177. package/types/codegen/tendermint/crypto/proof.d.ts +89 -0
  178. package/types/codegen/tendermint/libs/bits/types.d.ts +15 -0
  179. package/types/codegen/tendermint/p2p/types.d.ts +87 -0
  180. package/types/codegen/tendermint/types/block.d.ts +21 -0
  181. package/types/codegen/tendermint/types/evidence.d.ts +70 -0
  182. package/types/codegen/tendermint/types/params.d.ts +181 -0
  183. package/types/codegen/tendermint/types/types.d.ts +326 -0
  184. package/types/codegen/tendermint/types/validator.d.ts +48 -0
  185. package/types/codegen/tendermint/version/types.d.ts +48 -0
  186. package/types/index.d.ts +1 -0
@@ -0,0 +1,262 @@
1
+ import { AccessConfig, AccessConfigSDKType } from "./types";
2
+ import { Coin, CoinSDKType } from "../../../cosmos/base/v1beta1/coin";
3
+ import * as _m0 from "protobufjs/minimal";
4
+ import { DeepPartial, Long } from "../../../helpers";
5
+ /** MsgStoreCode submit Wasm code to the system */
6
+ export interface MsgStoreCode {
7
+ /** Sender is the that actor that signed the messages */
8
+ sender: string;
9
+ /** WASMByteCode can be raw or gzip compressed */
10
+ wasmByteCode: Uint8Array;
11
+ /**
12
+ * InstantiatePermission access control to apply on contract creation,
13
+ * optional
14
+ */
15
+ instantiatePermission?: AccessConfig;
16
+ }
17
+ /** MsgStoreCode submit Wasm code to the system */
18
+ export interface MsgStoreCodeSDKType {
19
+ /** Sender is the that actor that signed the messages */
20
+ sender: string;
21
+ /** WASMByteCode can be raw or gzip compressed */
22
+ wasm_byte_code: Uint8Array;
23
+ /**
24
+ * InstantiatePermission access control to apply on contract creation,
25
+ * optional
26
+ */
27
+ instantiate_permission?: AccessConfigSDKType;
28
+ }
29
+ /** MsgStoreCodeResponse returns store result data. */
30
+ export interface MsgStoreCodeResponse {
31
+ /** CodeID is the reference to the stored WASM code */
32
+ codeId: Long;
33
+ }
34
+ /** MsgStoreCodeResponse returns store result data. */
35
+ export interface MsgStoreCodeResponseSDKType {
36
+ /** CodeID is the reference to the stored WASM code */
37
+ code_id: Long;
38
+ }
39
+ /**
40
+ * MsgInstantiateContract create a new smart contract instance for the given
41
+ * code id.
42
+ */
43
+ export interface MsgInstantiateContract {
44
+ /** Sender is the that actor that signed the messages */
45
+ sender: string;
46
+ /** Admin is an optional address that can execute migrations */
47
+ admin: string;
48
+ /** CodeID is the reference to the stored WASM code */
49
+ codeId: Long;
50
+ /** Label is optional metadata to be stored with a contract instance. */
51
+ label: string;
52
+ /** Msg json encoded message to be passed to the contract on instantiation */
53
+ msg: Uint8Array;
54
+ /** Funds coins that are transferred to the contract on instantiation */
55
+ funds: Coin[];
56
+ }
57
+ /**
58
+ * MsgInstantiateContract create a new smart contract instance for the given
59
+ * code id.
60
+ */
61
+ export interface MsgInstantiateContractSDKType {
62
+ /** Sender is the that actor that signed the messages */
63
+ sender: string;
64
+ /** Admin is an optional address that can execute migrations */
65
+ admin: string;
66
+ /** CodeID is the reference to the stored WASM code */
67
+ code_id: Long;
68
+ /** Label is optional metadata to be stored with a contract instance. */
69
+ label: string;
70
+ /** Msg json encoded message to be passed to the contract on instantiation */
71
+ msg: Uint8Array;
72
+ /** Funds coins that are transferred to the contract on instantiation */
73
+ funds: CoinSDKType[];
74
+ }
75
+ /** MsgInstantiateContractResponse return instantiation result data */
76
+ export interface MsgInstantiateContractResponse {
77
+ /** Address is the bech32 address of the new contract instance. */
78
+ address: string;
79
+ /** Data contains base64-encoded bytes to returned from the contract */
80
+ data: Uint8Array;
81
+ }
82
+ /** MsgInstantiateContractResponse return instantiation result data */
83
+ export interface MsgInstantiateContractResponseSDKType {
84
+ /** Address is the bech32 address of the new contract instance. */
85
+ address: string;
86
+ /** Data contains base64-encoded bytes to returned from the contract */
87
+ data: Uint8Array;
88
+ }
89
+ /** MsgExecuteContract submits the given message data to a smart contract */
90
+ export interface MsgExecuteContract {
91
+ /** Sender is the that actor that signed the messages */
92
+ sender: string;
93
+ /** Contract is the address of the smart contract */
94
+ contract: string;
95
+ /** Msg json encoded message to be passed to the contract */
96
+ msg: Uint8Array;
97
+ /** Funds coins that are transferred to the contract on execution */
98
+ funds: Coin[];
99
+ }
100
+ /** MsgExecuteContract submits the given message data to a smart contract */
101
+ export interface MsgExecuteContractSDKType {
102
+ /** Sender is the that actor that signed the messages */
103
+ sender: string;
104
+ /** Contract is the address of the smart contract */
105
+ contract: string;
106
+ /** Msg json encoded message to be passed to the contract */
107
+ msg: Uint8Array;
108
+ /** Funds coins that are transferred to the contract on execution */
109
+ funds: CoinSDKType[];
110
+ }
111
+ /** MsgExecuteContractResponse returns execution result data. */
112
+ export interface MsgExecuteContractResponse {
113
+ /** Data contains base64-encoded bytes to returned from the contract */
114
+ data: Uint8Array;
115
+ }
116
+ /** MsgExecuteContractResponse returns execution result data. */
117
+ export interface MsgExecuteContractResponseSDKType {
118
+ /** Data contains base64-encoded bytes to returned from the contract */
119
+ data: Uint8Array;
120
+ }
121
+ /** MsgMigrateContract runs a code upgrade/ downgrade for a smart contract */
122
+ export interface MsgMigrateContract {
123
+ /** Sender is the that actor that signed the messages */
124
+ sender: string;
125
+ /** Contract is the address of the smart contract */
126
+ contract: string;
127
+ /** CodeID references the new WASM code */
128
+ codeId: Long;
129
+ /** Msg json encoded message to be passed to the contract on migration */
130
+ msg: Uint8Array;
131
+ }
132
+ /** MsgMigrateContract runs a code upgrade/ downgrade for a smart contract */
133
+ export interface MsgMigrateContractSDKType {
134
+ /** Sender is the that actor that signed the messages */
135
+ sender: string;
136
+ /** Contract is the address of the smart contract */
137
+ contract: string;
138
+ /** CodeID references the new WASM code */
139
+ code_id: Long;
140
+ /** Msg json encoded message to be passed to the contract on migration */
141
+ msg: Uint8Array;
142
+ }
143
+ /** MsgMigrateContractResponse returns contract migration result data. */
144
+ export interface MsgMigrateContractResponse {
145
+ /**
146
+ * Data contains same raw bytes returned as data from the wasm contract.
147
+ * (May be empty)
148
+ */
149
+ data: Uint8Array;
150
+ }
151
+ /** MsgMigrateContractResponse returns contract migration result data. */
152
+ export interface MsgMigrateContractResponseSDKType {
153
+ /**
154
+ * Data contains same raw bytes returned as data from the wasm contract.
155
+ * (May be empty)
156
+ */
157
+ data: Uint8Array;
158
+ }
159
+ /** MsgUpdateAdmin sets a new admin for a smart contract */
160
+ export interface MsgUpdateAdmin {
161
+ /** Sender is the that actor that signed the messages */
162
+ sender: string;
163
+ /** NewAdmin address to be set */
164
+ newAdmin: string;
165
+ /** Contract is the address of the smart contract */
166
+ contract: string;
167
+ }
168
+ /** MsgUpdateAdmin sets a new admin for a smart contract */
169
+ export interface MsgUpdateAdminSDKType {
170
+ /** Sender is the that actor that signed the messages */
171
+ sender: string;
172
+ /** NewAdmin address to be set */
173
+ new_admin: string;
174
+ /** Contract is the address of the smart contract */
175
+ contract: string;
176
+ }
177
+ /** MsgUpdateAdminResponse returns empty data */
178
+ export interface MsgUpdateAdminResponse {
179
+ }
180
+ /** MsgUpdateAdminResponse returns empty data */
181
+ export interface MsgUpdateAdminResponseSDKType {
182
+ }
183
+ /** MsgClearAdmin removes any admin stored for a smart contract */
184
+ export interface MsgClearAdmin {
185
+ /** Sender is the that actor that signed the messages */
186
+ sender: string;
187
+ /** Contract is the address of the smart contract */
188
+ contract: string;
189
+ }
190
+ /** MsgClearAdmin removes any admin stored for a smart contract */
191
+ export interface MsgClearAdminSDKType {
192
+ /** Sender is the that actor that signed the messages */
193
+ sender: string;
194
+ /** Contract is the address of the smart contract */
195
+ contract: string;
196
+ }
197
+ /** MsgClearAdminResponse returns empty data */
198
+ export interface MsgClearAdminResponse {
199
+ }
200
+ /** MsgClearAdminResponse returns empty data */
201
+ export interface MsgClearAdminResponseSDKType {
202
+ }
203
+ export declare const MsgStoreCode: {
204
+ encode(message: MsgStoreCode, writer?: _m0.Writer): _m0.Writer;
205
+ decode(input: _m0.Reader | Uint8Array, length?: number): MsgStoreCode;
206
+ fromPartial(object: DeepPartial<MsgStoreCode>): MsgStoreCode;
207
+ };
208
+ export declare const MsgStoreCodeResponse: {
209
+ encode(message: MsgStoreCodeResponse, writer?: _m0.Writer): _m0.Writer;
210
+ decode(input: _m0.Reader | Uint8Array, length?: number): MsgStoreCodeResponse;
211
+ fromPartial(object: DeepPartial<MsgStoreCodeResponse>): MsgStoreCodeResponse;
212
+ };
213
+ export declare const MsgInstantiateContract: {
214
+ encode(message: MsgInstantiateContract, writer?: _m0.Writer): _m0.Writer;
215
+ decode(input: _m0.Reader | Uint8Array, length?: number): MsgInstantiateContract;
216
+ fromPartial(object: DeepPartial<MsgInstantiateContract>): MsgInstantiateContract;
217
+ };
218
+ export declare const MsgInstantiateContractResponse: {
219
+ encode(message: MsgInstantiateContractResponse, writer?: _m0.Writer): _m0.Writer;
220
+ decode(input: _m0.Reader | Uint8Array, length?: number): MsgInstantiateContractResponse;
221
+ fromPartial(object: DeepPartial<MsgInstantiateContractResponse>): MsgInstantiateContractResponse;
222
+ };
223
+ export declare const MsgExecuteContract: {
224
+ encode(message: MsgExecuteContract, writer?: _m0.Writer): _m0.Writer;
225
+ decode(input: _m0.Reader | Uint8Array, length?: number): MsgExecuteContract;
226
+ fromPartial(object: DeepPartial<MsgExecuteContract>): MsgExecuteContract;
227
+ };
228
+ export declare const MsgExecuteContractResponse: {
229
+ encode(message: MsgExecuteContractResponse, writer?: _m0.Writer): _m0.Writer;
230
+ decode(input: _m0.Reader | Uint8Array, length?: number): MsgExecuteContractResponse;
231
+ fromPartial(object: DeepPartial<MsgExecuteContractResponse>): MsgExecuteContractResponse;
232
+ };
233
+ export declare const MsgMigrateContract: {
234
+ encode(message: MsgMigrateContract, writer?: _m0.Writer): _m0.Writer;
235
+ decode(input: _m0.Reader | Uint8Array, length?: number): MsgMigrateContract;
236
+ fromPartial(object: DeepPartial<MsgMigrateContract>): MsgMigrateContract;
237
+ };
238
+ export declare const MsgMigrateContractResponse: {
239
+ encode(message: MsgMigrateContractResponse, writer?: _m0.Writer): _m0.Writer;
240
+ decode(input: _m0.Reader | Uint8Array, length?: number): MsgMigrateContractResponse;
241
+ fromPartial(object: DeepPartial<MsgMigrateContractResponse>): MsgMigrateContractResponse;
242
+ };
243
+ export declare const MsgUpdateAdmin: {
244
+ encode(message: MsgUpdateAdmin, writer?: _m0.Writer): _m0.Writer;
245
+ decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateAdmin;
246
+ fromPartial(object: DeepPartial<MsgUpdateAdmin>): MsgUpdateAdmin;
247
+ };
248
+ export declare const MsgUpdateAdminResponse: {
249
+ encode(_: MsgUpdateAdminResponse, writer?: _m0.Writer): _m0.Writer;
250
+ decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateAdminResponse;
251
+ fromPartial(_: DeepPartial<MsgUpdateAdminResponse>): MsgUpdateAdminResponse;
252
+ };
253
+ export declare const MsgClearAdmin: {
254
+ encode(message: MsgClearAdmin, writer?: _m0.Writer): _m0.Writer;
255
+ decode(input: _m0.Reader | Uint8Array, length?: number): MsgClearAdmin;
256
+ fromPartial(object: DeepPartial<MsgClearAdmin>): MsgClearAdmin;
257
+ };
258
+ export declare const MsgClearAdminResponse: {
259
+ encode(_: MsgClearAdminResponse, writer?: _m0.Writer): _m0.Writer;
260
+ decode(input: _m0.Reader | Uint8Array, length?: number): MsgClearAdminResponse;
261
+ fromPartial(_: DeepPartial<MsgClearAdminResponse>): MsgClearAdminResponse;
262
+ };
@@ -0,0 +1,84 @@
1
+ import { GeneratedType, Registry } from "@cosmjs/proto-signing";
2
+ import { MsgStoreCode, MsgInstantiateContract, MsgExecuteContract, MsgMigrateContract, MsgUpdateAdmin, MsgClearAdmin } from "./tx";
3
+ export declare const registry: ReadonlyArray<[string, GeneratedType]>;
4
+ export declare const load: (protoRegistry: Registry) => void;
5
+ export declare const MessageComposer: {
6
+ encoded: {
7
+ storeCode(value: MsgStoreCode): {
8
+ typeUrl: string;
9
+ value: Uint8Array;
10
+ };
11
+ instantiateContract(value: MsgInstantiateContract): {
12
+ typeUrl: string;
13
+ value: Uint8Array;
14
+ };
15
+ executeContract(value: MsgExecuteContract): {
16
+ typeUrl: string;
17
+ value: Uint8Array;
18
+ };
19
+ migrateContract(value: MsgMigrateContract): {
20
+ typeUrl: string;
21
+ value: Uint8Array;
22
+ };
23
+ updateAdmin(value: MsgUpdateAdmin): {
24
+ typeUrl: string;
25
+ value: Uint8Array;
26
+ };
27
+ clearAdmin(value: MsgClearAdmin): {
28
+ typeUrl: string;
29
+ value: Uint8Array;
30
+ };
31
+ };
32
+ withTypeUrl: {
33
+ storeCode(value: MsgStoreCode): {
34
+ typeUrl: string;
35
+ value: MsgStoreCode;
36
+ };
37
+ instantiateContract(value: MsgInstantiateContract): {
38
+ typeUrl: string;
39
+ value: MsgInstantiateContract;
40
+ };
41
+ executeContract(value: MsgExecuteContract): {
42
+ typeUrl: string;
43
+ value: MsgExecuteContract;
44
+ };
45
+ migrateContract(value: MsgMigrateContract): {
46
+ typeUrl: string;
47
+ value: MsgMigrateContract;
48
+ };
49
+ updateAdmin(value: MsgUpdateAdmin): {
50
+ typeUrl: string;
51
+ value: MsgUpdateAdmin;
52
+ };
53
+ clearAdmin(value: MsgClearAdmin): {
54
+ typeUrl: string;
55
+ value: MsgClearAdmin;
56
+ };
57
+ };
58
+ fromPartial: {
59
+ storeCode(value: MsgStoreCode): {
60
+ typeUrl: string;
61
+ value: MsgStoreCode;
62
+ };
63
+ instantiateContract(value: MsgInstantiateContract): {
64
+ typeUrl: string;
65
+ value: MsgInstantiateContract;
66
+ };
67
+ executeContract(value: MsgExecuteContract): {
68
+ typeUrl: string;
69
+ value: MsgExecuteContract;
70
+ };
71
+ migrateContract(value: MsgMigrateContract): {
72
+ typeUrl: string;
73
+ value: MsgMigrateContract;
74
+ };
75
+ updateAdmin(value: MsgUpdateAdmin): {
76
+ typeUrl: string;
77
+ value: MsgUpdateAdmin;
78
+ };
79
+ clearAdmin(value: MsgClearAdmin): {
80
+ typeUrl: string;
81
+ value: MsgClearAdmin;
82
+ };
83
+ };
84
+ };
@@ -0,0 +1,27 @@
1
+ import { Rpc } from "../../../helpers";
2
+ import { MsgStoreCode, MsgStoreCodeResponse, MsgInstantiateContract, MsgInstantiateContractResponse, MsgExecuteContract, MsgExecuteContractResponse, MsgMigrateContract, MsgMigrateContractResponse, MsgUpdateAdmin, MsgUpdateAdminResponse, MsgClearAdmin, MsgClearAdminResponse } from "./tx";
3
+ /** Msg defines the wasm Msg service. */
4
+ export interface Msg {
5
+ /** StoreCode to submit Wasm code to the system */
6
+ storeCode(request: MsgStoreCode): Promise<MsgStoreCodeResponse>;
7
+ /** Instantiate creates a new smart contract instance for the given code id. */
8
+ instantiateContract(request: MsgInstantiateContract): Promise<MsgInstantiateContractResponse>;
9
+ /** Execute submits the given message data to a smart contract */
10
+ executeContract(request: MsgExecuteContract): Promise<MsgExecuteContractResponse>;
11
+ /** Migrate runs a code upgrade/ downgrade for a smart contract */
12
+ migrateContract(request: MsgMigrateContract): Promise<MsgMigrateContractResponse>;
13
+ /** UpdateAdmin sets a new admin for a smart contract */
14
+ updateAdmin(request: MsgUpdateAdmin): Promise<MsgUpdateAdminResponse>;
15
+ /** ClearAdmin removes any admin stored for a smart contract */
16
+ clearAdmin(request: MsgClearAdmin): Promise<MsgClearAdminResponse>;
17
+ }
18
+ export declare class MsgClientImpl implements Msg {
19
+ private readonly rpc;
20
+ constructor(rpc: Rpc);
21
+ storeCode(request: MsgStoreCode): Promise<MsgStoreCodeResponse>;
22
+ instantiateContract(request: MsgInstantiateContract): Promise<MsgInstantiateContractResponse>;
23
+ executeContract(request: MsgExecuteContract): Promise<MsgExecuteContractResponse>;
24
+ migrateContract(request: MsgMigrateContract): Promise<MsgMigrateContractResponse>;
25
+ updateAdmin(request: MsgUpdateAdmin): Promise<MsgUpdateAdminResponse>;
26
+ clearAdmin(request: MsgClearAdmin): Promise<MsgClearAdminResponse>;
27
+ }
@@ -0,0 +1,247 @@
1
+ import { Any, AnySDKType } from "../../../google/protobuf/any";
2
+ import * as _m0 from "protobufjs/minimal";
3
+ import { DeepPartial, Long } from "../../../helpers";
4
+ /** AccessType permission types */
5
+ export declare enum AccessType {
6
+ /** ACCESS_TYPE_UNSPECIFIED - AccessTypeUnspecified placeholder for empty value */
7
+ ACCESS_TYPE_UNSPECIFIED = 0,
8
+ /** ACCESS_TYPE_NOBODY - AccessTypeNobody forbidden */
9
+ ACCESS_TYPE_NOBODY = 1,
10
+ /** ACCESS_TYPE_ONLY_ADDRESS - AccessTypeOnlyAddress restricted to an address */
11
+ ACCESS_TYPE_ONLY_ADDRESS = 2,
12
+ /** ACCESS_TYPE_EVERYBODY - AccessTypeEverybody unrestricted */
13
+ ACCESS_TYPE_EVERYBODY = 3,
14
+ UNRECOGNIZED = -1
15
+ }
16
+ /** AccessType permission types */
17
+ export declare enum AccessTypeSDKType {
18
+ /** ACCESS_TYPE_UNSPECIFIED - AccessTypeUnspecified placeholder for empty value */
19
+ ACCESS_TYPE_UNSPECIFIED = 0,
20
+ /** ACCESS_TYPE_NOBODY - AccessTypeNobody forbidden */
21
+ ACCESS_TYPE_NOBODY = 1,
22
+ /** ACCESS_TYPE_ONLY_ADDRESS - AccessTypeOnlyAddress restricted to an address */
23
+ ACCESS_TYPE_ONLY_ADDRESS = 2,
24
+ /** ACCESS_TYPE_EVERYBODY - AccessTypeEverybody unrestricted */
25
+ ACCESS_TYPE_EVERYBODY = 3,
26
+ UNRECOGNIZED = -1
27
+ }
28
+ export declare function accessTypeFromJSON(object: any): AccessType;
29
+ export declare function accessTypeToJSON(object: AccessType): string;
30
+ /** ContractCodeHistoryOperationType actions that caused a code change */
31
+ export declare enum ContractCodeHistoryOperationType {
32
+ /** CONTRACT_CODE_HISTORY_OPERATION_TYPE_UNSPECIFIED - ContractCodeHistoryOperationTypeUnspecified placeholder for empty value */
33
+ CONTRACT_CODE_HISTORY_OPERATION_TYPE_UNSPECIFIED = 0,
34
+ /** CONTRACT_CODE_HISTORY_OPERATION_TYPE_INIT - ContractCodeHistoryOperationTypeInit on chain contract instantiation */
35
+ CONTRACT_CODE_HISTORY_OPERATION_TYPE_INIT = 1,
36
+ /** CONTRACT_CODE_HISTORY_OPERATION_TYPE_MIGRATE - ContractCodeHistoryOperationTypeMigrate code migration */
37
+ CONTRACT_CODE_HISTORY_OPERATION_TYPE_MIGRATE = 2,
38
+ /** CONTRACT_CODE_HISTORY_OPERATION_TYPE_GENESIS - ContractCodeHistoryOperationTypeGenesis based on genesis data */
39
+ CONTRACT_CODE_HISTORY_OPERATION_TYPE_GENESIS = 3,
40
+ UNRECOGNIZED = -1
41
+ }
42
+ /** ContractCodeHistoryOperationType actions that caused a code change */
43
+ export declare enum ContractCodeHistoryOperationTypeSDKType {
44
+ /** CONTRACT_CODE_HISTORY_OPERATION_TYPE_UNSPECIFIED - ContractCodeHistoryOperationTypeUnspecified placeholder for empty value */
45
+ CONTRACT_CODE_HISTORY_OPERATION_TYPE_UNSPECIFIED = 0,
46
+ /** CONTRACT_CODE_HISTORY_OPERATION_TYPE_INIT - ContractCodeHistoryOperationTypeInit on chain contract instantiation */
47
+ CONTRACT_CODE_HISTORY_OPERATION_TYPE_INIT = 1,
48
+ /** CONTRACT_CODE_HISTORY_OPERATION_TYPE_MIGRATE - ContractCodeHistoryOperationTypeMigrate code migration */
49
+ CONTRACT_CODE_HISTORY_OPERATION_TYPE_MIGRATE = 2,
50
+ /** CONTRACT_CODE_HISTORY_OPERATION_TYPE_GENESIS - ContractCodeHistoryOperationTypeGenesis based on genesis data */
51
+ CONTRACT_CODE_HISTORY_OPERATION_TYPE_GENESIS = 3,
52
+ UNRECOGNIZED = -1
53
+ }
54
+ export declare function contractCodeHistoryOperationTypeFromJSON(object: any): ContractCodeHistoryOperationType;
55
+ export declare function contractCodeHistoryOperationTypeToJSON(object: ContractCodeHistoryOperationType): string;
56
+ /** AccessTypeParam */
57
+ export interface AccessTypeParam {
58
+ value: AccessType;
59
+ }
60
+ /** AccessTypeParam */
61
+ export interface AccessTypeParamSDKType {
62
+ value: AccessTypeSDKType;
63
+ }
64
+ /** AccessConfig access control type. */
65
+ export interface AccessConfig {
66
+ permission: AccessType;
67
+ address: string;
68
+ }
69
+ /** AccessConfig access control type. */
70
+ export interface AccessConfigSDKType {
71
+ permission: AccessTypeSDKType;
72
+ address: string;
73
+ }
74
+ /** Params defines the set of wasm parameters. */
75
+ export interface Params {
76
+ codeUploadAccess?: AccessConfig;
77
+ instantiateDefaultPermission: AccessType;
78
+ maxWasmCodeSize: Long;
79
+ }
80
+ /** Params defines the set of wasm parameters. */
81
+ export interface ParamsSDKType {
82
+ code_upload_access?: AccessConfigSDKType;
83
+ instantiate_default_permission: AccessTypeSDKType;
84
+ max_wasm_code_size: Long;
85
+ }
86
+ /** CodeInfo is data for the uploaded contract WASM code */
87
+ export interface CodeInfo {
88
+ /** CodeHash is the unique identifier created by wasmvm */
89
+ codeHash: Uint8Array;
90
+ /** Creator address who initially stored the code */
91
+ creator: string;
92
+ /** InstantiateConfig access control to apply on contract creation, optional */
93
+ instantiateConfig?: AccessConfig;
94
+ }
95
+ /** CodeInfo is data for the uploaded contract WASM code */
96
+ export interface CodeInfoSDKType {
97
+ /** CodeHash is the unique identifier created by wasmvm */
98
+ code_hash: Uint8Array;
99
+ /** Creator address who initially stored the code */
100
+ creator: string;
101
+ /** InstantiateConfig access control to apply on contract creation, optional */
102
+ instantiate_config?: AccessConfigSDKType;
103
+ }
104
+ /** ContractInfo stores a WASM contract instance */
105
+ export interface ContractInfo {
106
+ /** CodeID is the reference to the stored Wasm code */
107
+ codeId: Long;
108
+ /** Creator address who initially instantiated the contract */
109
+ creator: string;
110
+ /** Admin is an optional address that can execute migrations */
111
+ admin: string;
112
+ /** Label is optional metadata to be stored with a contract instance. */
113
+ label: string;
114
+ /**
115
+ * Created Tx position when the contract was instantiated.
116
+ * This data should kept internal and not be exposed via query results. Just
117
+ * use for sorting
118
+ */
119
+ created?: AbsoluteTxPosition;
120
+ ibcPortId: string;
121
+ /**
122
+ * Extension is an extension point to store custom metadata within the
123
+ * persistence model.
124
+ */
125
+ extension?: Any;
126
+ }
127
+ /** ContractInfo stores a WASM contract instance */
128
+ export interface ContractInfoSDKType {
129
+ /** CodeID is the reference to the stored Wasm code */
130
+ code_id: Long;
131
+ /** Creator address who initially instantiated the contract */
132
+ creator: string;
133
+ /** Admin is an optional address that can execute migrations */
134
+ admin: string;
135
+ /** Label is optional metadata to be stored with a contract instance. */
136
+ label: string;
137
+ /**
138
+ * Created Tx position when the contract was instantiated.
139
+ * This data should kept internal and not be exposed via query results. Just
140
+ * use for sorting
141
+ */
142
+ created?: AbsoluteTxPositionSDKType;
143
+ ibc_port_id: string;
144
+ /**
145
+ * Extension is an extension point to store custom metadata within the
146
+ * persistence model.
147
+ */
148
+ extension?: AnySDKType;
149
+ }
150
+ /** ContractCodeHistoryEntry metadata to a contract. */
151
+ export interface ContractCodeHistoryEntry {
152
+ operation: ContractCodeHistoryOperationType;
153
+ /** CodeID is the reference to the stored WASM code */
154
+ codeId: Long;
155
+ /** Updated Tx position when the operation was executed. */
156
+ updated?: AbsoluteTxPosition;
157
+ msg: Uint8Array;
158
+ }
159
+ /** ContractCodeHistoryEntry metadata to a contract. */
160
+ export interface ContractCodeHistoryEntrySDKType {
161
+ operation: ContractCodeHistoryOperationTypeSDKType;
162
+ /** CodeID is the reference to the stored WASM code */
163
+ code_id: Long;
164
+ /** Updated Tx position when the operation was executed. */
165
+ updated?: AbsoluteTxPositionSDKType;
166
+ msg: Uint8Array;
167
+ }
168
+ /**
169
+ * AbsoluteTxPosition is a unique transaction position that allows for global
170
+ * ordering of transactions.
171
+ */
172
+ export interface AbsoluteTxPosition {
173
+ /** BlockHeight is the block the contract was created at */
174
+ blockHeight: Long;
175
+ /**
176
+ * TxIndex is a monotonic counter within the block (actual transaction index,
177
+ * or gas consumed)
178
+ */
179
+ txIndex: Long;
180
+ }
181
+ /**
182
+ * AbsoluteTxPosition is a unique transaction position that allows for global
183
+ * ordering of transactions.
184
+ */
185
+ export interface AbsoluteTxPositionSDKType {
186
+ /** BlockHeight is the block the contract was created at */
187
+ block_height: Long;
188
+ /**
189
+ * TxIndex is a monotonic counter within the block (actual transaction index,
190
+ * or gas consumed)
191
+ */
192
+ tx_index: Long;
193
+ }
194
+ /** Model is a struct that holds a KV pair */
195
+ export interface Model {
196
+ /** hex-encode key to read it better (this is often ascii) */
197
+ key: Uint8Array;
198
+ /** base64-encode raw value */
199
+ value: Uint8Array;
200
+ }
201
+ /** Model is a struct that holds a KV pair */
202
+ export interface ModelSDKType {
203
+ /** hex-encode key to read it better (this is often ascii) */
204
+ key: Uint8Array;
205
+ /** base64-encode raw value */
206
+ value: Uint8Array;
207
+ }
208
+ export declare const AccessTypeParam: {
209
+ encode(message: AccessTypeParam, writer?: _m0.Writer): _m0.Writer;
210
+ decode(input: _m0.Reader | Uint8Array, length?: number): AccessTypeParam;
211
+ fromPartial(object: DeepPartial<AccessTypeParam>): AccessTypeParam;
212
+ };
213
+ export declare const AccessConfig: {
214
+ encode(message: AccessConfig, writer?: _m0.Writer): _m0.Writer;
215
+ decode(input: _m0.Reader | Uint8Array, length?: number): AccessConfig;
216
+ fromPartial(object: DeepPartial<AccessConfig>): AccessConfig;
217
+ };
218
+ export declare const Params: {
219
+ encode(message: Params, writer?: _m0.Writer): _m0.Writer;
220
+ decode(input: _m0.Reader | Uint8Array, length?: number): Params;
221
+ fromPartial(object: DeepPartial<Params>): Params;
222
+ };
223
+ export declare const CodeInfo: {
224
+ encode(message: CodeInfo, writer?: _m0.Writer): _m0.Writer;
225
+ decode(input: _m0.Reader | Uint8Array, length?: number): CodeInfo;
226
+ fromPartial(object: DeepPartial<CodeInfo>): CodeInfo;
227
+ };
228
+ export declare const ContractInfo: {
229
+ encode(message: ContractInfo, writer?: _m0.Writer): _m0.Writer;
230
+ decode(input: _m0.Reader | Uint8Array, length?: number): ContractInfo;
231
+ fromPartial(object: DeepPartial<ContractInfo>): ContractInfo;
232
+ };
233
+ export declare const ContractCodeHistoryEntry: {
234
+ encode(message: ContractCodeHistoryEntry, writer?: _m0.Writer): _m0.Writer;
235
+ decode(input: _m0.Reader | Uint8Array, length?: number): ContractCodeHistoryEntry;
236
+ fromPartial(object: DeepPartial<ContractCodeHistoryEntry>): ContractCodeHistoryEntry;
237
+ };
238
+ export declare const AbsoluteTxPosition: {
239
+ encode(message: AbsoluteTxPosition, writer?: _m0.Writer): _m0.Writer;
240
+ decode(input: _m0.Reader | Uint8Array, length?: number): AbsoluteTxPosition;
241
+ fromPartial(object: DeepPartial<AbsoluteTxPosition>): AbsoluteTxPosition;
242
+ };
243
+ export declare const Model: {
244
+ encode(message: Model, writer?: _m0.Writer): _m0.Writer;
245
+ decode(input: _m0.Reader | Uint8Array, length?: number): Model;
246
+ fromPartial(object: DeepPartial<Model>): Model;
247
+ };
@@ -0,0 +1 @@
1
+ export declare const gogoproto: {};
@@ -0,0 +1 @@
1
+ export {};