@gitopia/gitopiajs 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (310) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/LICENSE +21 -0
  3. package/dist/amino/amino.d.ts +1 -0
  4. package/dist/amino/amino.js +2 -0
  5. package/dist/amino/bundle.d.ts +1 -0
  6. package/dist/amino/bundle.js +41 -0
  7. package/dist/binary.d.ts +130 -0
  8. package/dist/binary.js +371 -0
  9. package/dist/cosmos/bank/v1beta1/bank.d.ts +407 -0
  10. package/dist/cosmos/bank/v1beta1/bank.js +664 -0
  11. package/dist/cosmos/bank/v1beta1/query.d.ts +1062 -0
  12. package/dist/cosmos/bank/v1beta1/query.js +1759 -0
  13. package/dist/cosmos/bank/v1beta1/query.lcd.d.ts +19 -0
  14. package/dist/cosmos/bank/v1beta1/query.lcd.js +173 -0
  15. package/dist/cosmos/bank/v1beta1/query.rpc.Query.d.ts +106 -0
  16. package/dist/cosmos/bank/v1beta1/query.rpc.Query.js +123 -0
  17. package/dist/cosmos/base/query/v1beta1/pagination.d.ts +190 -0
  18. package/dist/cosmos/base/query/v1beta1/pagination.js +204 -0
  19. package/dist/cosmos/base/v1beta1/coin.d.ts +193 -0
  20. package/dist/cosmos/base/v1beta1/coin.js +306 -0
  21. package/dist/cosmos/bundle.d.ts +2311 -0
  22. package/dist/cosmos/bundle.js +134 -0
  23. package/dist/cosmos/client.d.ts +84 -0
  24. package/dist/cosmos/client.js +65 -0
  25. package/dist/cosmos/feegrant/v1beta1/feegrant.d.ts +245 -0
  26. package/dist/cosmos/feegrant/v1beta1/feegrant.js +456 -0
  27. package/dist/cosmos/feegrant/v1beta1/query.d.ts +258 -0
  28. package/dist/cosmos/feegrant/v1beta1/query.js +487 -0
  29. package/dist/cosmos/feegrant/v1beta1/query.lcd.d.ts +11 -0
  30. package/dist/cosmos/feegrant/v1beta1/query.lcd.js +44 -0
  31. package/dist/cosmos/feegrant/v1beta1/query.rpc.Query.d.ts +28 -0
  32. package/dist/cosmos/feegrant/v1beta1/query.rpc.Query.js +47 -0
  33. package/dist/cosmos/gov/v1beta1/gov.d.ts +571 -0
  34. package/dist/cosmos/gov/v1beta1/gov.js +1122 -0
  35. package/dist/cosmos/gov/v1beta1/query.d.ts +636 -0
  36. package/dist/cosmos/gov/v1beta1/query.js +1264 -0
  37. package/dist/cosmos/gov/v1beta1/query.lcd.d.ts +16 -0
  38. package/dist/cosmos/gov/v1beta1/query.lcd.js +87 -0
  39. package/dist/cosmos/gov/v1beta1/query.rpc.Query.d.ts +44 -0
  40. package/dist/cosmos/gov/v1beta1/query.rpc.Query.js +92 -0
  41. package/dist/cosmos/group/v1/query.d.ts +1097 -0
  42. package/dist/cosmos/group/v1/query.js +2182 -0
  43. package/dist/cosmos/group/v1/query.lcd.d.ts +22 -0
  44. package/dist/cosmos/group/v1/query.lcd.js +158 -0
  45. package/dist/cosmos/group/v1/query.rpc.Query.d.ts +78 -0
  46. package/dist/cosmos/group/v1/query.rpc.Query.js +148 -0
  47. package/dist/cosmos/group/v1/tx.amino.d.ts +73 -0
  48. package/dist/cosmos/group/v1/tx.amino.js +77 -0
  49. package/dist/cosmos/group/v1/tx.d.ts +1198 -0
  50. package/dist/cosmos/group/v1/tx.js +2362 -0
  51. package/dist/cosmos/group/v1/tx.registry.d.ts +180 -0
  52. package/dist/cosmos/group/v1/tx.registry.js +271 -0
  53. package/dist/cosmos/group/v1/tx.rpc.msg.d.ts +51 -0
  54. package/dist/cosmos/group/v1/tx.rpc.msg.js +96 -0
  55. package/dist/cosmos/group/v1/types.d.ts +873 -0
  56. package/dist/cosmos/group/v1/types.js +1495 -0
  57. package/dist/cosmos/msg/v1/msg.d.ts +1 -0
  58. package/dist/cosmos/msg/v1/msg.js +2 -0
  59. package/dist/cosmos/query/v1/query.d.ts +1 -0
  60. package/dist/cosmos/query/v1/query.js +2 -0
  61. package/dist/cosmos/rpc.query.d.ts +59 -0
  62. package/dist/cosmos/rpc.query.js +60 -0
  63. package/dist/cosmos/rpc.tx.d.ts +10 -0
  64. package/dist/cosmos/rpc.tx.js +44 -0
  65. package/dist/cosmos/upgrade/v1beta1/upgrade.d.ts +278 -0
  66. package/dist/cosmos/upgrade/v1beta1/upgrade.js +382 -0
  67. package/dist/cosmos_proto/bundle.d.ts +32 -0
  68. package/dist/cosmos_proto/bundle.js +41 -0
  69. package/dist/cosmos_proto/cosmos.d.ts +171 -0
  70. package/dist/cosmos_proto/cosmos.js +221 -0
  71. package/dist/esm/amino/amino.js +1 -0
  72. package/dist/esm/amino/bundle.js +5 -0
  73. package/dist/esm/binary.js +366 -0
  74. package/dist/esm/cosmos/bank/v1beta1/bank.js +661 -0
  75. package/dist/esm/cosmos/bank/v1beta1/query.js +1756 -0
  76. package/dist/esm/cosmos/bank/v1beta1/query.lcd.js +169 -0
  77. package/dist/esm/cosmos/bank/v1beta1/query.rpc.Query.js +118 -0
  78. package/dist/esm/cosmos/base/query/v1beta1/pagination.js +201 -0
  79. package/dist/esm/cosmos/base/v1beta1/coin.js +303 -0
  80. package/dist/esm/cosmos/bundle.js +98 -0
  81. package/dist/esm/cosmos/client.js +27 -0
  82. package/dist/esm/cosmos/feegrant/v1beta1/feegrant.js +450 -0
  83. package/dist/esm/cosmos/feegrant/v1beta1/query.js +484 -0
  84. package/dist/esm/cosmos/feegrant/v1beta1/query.lcd.js +40 -0
  85. package/dist/esm/cosmos/feegrant/v1beta1/query.rpc.Query.js +42 -0
  86. package/dist/esm/cosmos/gov/v1beta1/gov.js +1112 -0
  87. package/dist/esm/cosmos/gov/v1beta1/query.js +1261 -0
  88. package/dist/esm/cosmos/gov/v1beta1/query.lcd.js +83 -0
  89. package/dist/esm/cosmos/gov/v1beta1/query.rpc.Query.js +87 -0
  90. package/dist/esm/cosmos/group/v1/query.js +2179 -0
  91. package/dist/esm/cosmos/group/v1/query.lcd.js +154 -0
  92. package/dist/esm/cosmos/group/v1/query.rpc.Query.js +143 -0
  93. package/dist/esm/cosmos/group/v1/tx.amino.js +74 -0
  94. package/dist/esm/cosmos/group/v1/tx.js +2354 -0
  95. package/dist/esm/cosmos/group/v1/tx.registry.js +267 -0
  96. package/dist/esm/cosmos/group/v1/tx.rpc.msg.js +92 -0
  97. package/dist/esm/cosmos/group/v1/types.js +1483 -0
  98. package/dist/esm/cosmos/msg/v1/msg.js +1 -0
  99. package/dist/esm/cosmos/query/v1/query.js +1 -0
  100. package/dist/esm/cosmos/rpc.query.js +23 -0
  101. package/dist/esm/cosmos/rpc.tx.js +7 -0
  102. package/dist/esm/cosmos/upgrade/v1beta1/upgrade.js +379 -0
  103. package/dist/esm/cosmos_proto/bundle.js +5 -0
  104. package/dist/esm/cosmos_proto/cosmos.js +216 -0
  105. package/dist/esm/gitopia/bundle.js +95 -0
  106. package/dist/esm/gitopia/client.js +32 -0
  107. package/dist/esm/gitopia/custom-lcd-client.js +50 -0
  108. package/dist/esm/gitopia/gitopia/gitopia/attachment.js +101 -0
  109. package/dist/esm/gitopia/gitopia/gitopia/bounty.js +255 -0
  110. package/dist/esm/gitopia/gitopia/gitopia/branch.js +137 -0
  111. package/dist/esm/gitopia/gitopia/gitopia/comment.js +488 -0
  112. package/dist/esm/gitopia/gitopia/gitopia/dao.js +451 -0
  113. package/dist/esm/gitopia/gitopia/gitopia/exercised_amount.js +78 -0
  114. package/dist/esm/gitopia/gitopia/gitopia/genesis.js +460 -0
  115. package/dist/esm/gitopia/gitopia/gitopia/issue.js +323 -0
  116. package/dist/esm/gitopia/gitopia/gitopia/params.js +293 -0
  117. package/dist/esm/gitopia/gitopia/gitopia/pullRequest.js +565 -0
  118. package/dist/esm/gitopia/gitopia/gitopia/query.js +7351 -0
  119. package/dist/esm/gitopia/gitopia/gitopia/query.lcd.js +452 -0
  120. package/dist/esm/gitopia/gitopia/gitopia/query.rpc.Query.js +453 -0
  121. package/dist/esm/gitopia/gitopia/gitopia/reaction.js +123 -0
  122. package/dist/esm/gitopia/gitopia/gitopia/release.js +225 -0
  123. package/dist/esm/gitopia/gitopia/gitopia/repository.js +1200 -0
  124. package/dist/esm/gitopia/gitopia/gitopia/tag.js +125 -0
  125. package/dist/esm/gitopia/gitopia/gitopia/task.js +197 -0
  126. package/dist/esm/gitopia/gitopia/gitopia/tx.amino.js +464 -0
  127. package/dist/esm/gitopia/gitopia/gitopia/tx.js +14679 -0
  128. package/dist/esm/gitopia/gitopia/gitopia/tx.registry.js +1671 -0
  129. package/dist/esm/gitopia/gitopia/gitopia/tx.rpc.msg.js +560 -0
  130. package/dist/esm/gitopia/gitopia/gitopia/user.js +340 -0
  131. package/dist/esm/gitopia/gitopia/gitopia/whois.js +146 -0
  132. package/dist/esm/gitopia/gitopia/offchain/offchain.js +144 -0
  133. package/dist/esm/gitopia/gitopia/rewards/genesis.js +82 -0
  134. package/dist/esm/gitopia/gitopia/rewards/params.js +81 -0
  135. package/dist/esm/gitopia/gitopia/rewards/pool.js +191 -0
  136. package/dist/esm/gitopia/gitopia/rewards/query.js +654 -0
  137. package/dist/esm/gitopia/gitopia/rewards/query.lcd.js +40 -0
  138. package/dist/esm/gitopia/gitopia/rewards/query.rpc.Query.js +53 -0
  139. package/dist/esm/gitopia/gitopia/rewards/rewards.js +191 -0
  140. package/dist/esm/gitopia/gitopia/rewards/task.js +176 -0
  141. package/dist/esm/gitopia/gitopia/rewards/tx.amino.js +19 -0
  142. package/dist/esm/gitopia/gitopia/rewards/tx.js +525 -0
  143. package/dist/esm/gitopia/gitopia/rewards/tx.registry.js +69 -0
  144. package/dist/esm/gitopia/gitopia/rewards/tx.rpc.msg.js +26 -0
  145. package/dist/esm/gitopia/rpc.query.js +29 -0
  146. package/dist/esm/gitopia/rpc.tx.js +13 -0
  147. package/dist/esm/gogoproto/bundle.js +5 -0
  148. package/dist/esm/gogoproto/gogo.js +1 -0
  149. package/dist/esm/google/api/annotations.js +1 -0
  150. package/dist/esm/google/api/http.js +329 -0
  151. package/dist/esm/google/bundle.js +14 -0
  152. package/dist/esm/google/protobuf/any.js +74 -0
  153. package/dist/esm/google/protobuf/descriptor.js +4848 -0
  154. package/dist/esm/google/protobuf/duration.js +71 -0
  155. package/dist/esm/google/protobuf/timestamp.js +68 -0
  156. package/dist/esm/helpers.js +129 -0
  157. package/dist/esm/ibc/applications/transfer/v1/query.js +847 -0
  158. package/dist/esm/ibc/applications/transfer/v1/query.lcd.js +70 -0
  159. package/dist/esm/ibc/applications/transfer/v1/query.rpc.Query.js +71 -0
  160. package/dist/esm/ibc/applications/transfer/v1/transfer.js +164 -0
  161. package/dist/esm/ibc/applications/transfer/v1/tx.amino.js +9 -0
  162. package/dist/esm/ibc/applications/transfer/v1/tx.js +226 -0
  163. package/dist/esm/ibc/applications/transfer/v1/tx.registry.js +33 -0
  164. package/dist/esm/ibc/applications/transfer/v1/tx.rpc.msg.js +14 -0
  165. package/dist/esm/ibc/bundle.js +44 -0
  166. package/dist/esm/ibc/client.js +29 -0
  167. package/dist/esm/ibc/core/client/v1/client.js +611 -0
  168. package/dist/esm/ibc/rpc.query.js +30 -0
  169. package/dist/esm/ibc/rpc.tx.js +14 -0
  170. package/dist/esm/index.js +19 -0
  171. package/dist/esm/utf8.js +137 -0
  172. package/dist/esm/varint.js +408 -0
  173. package/dist/gitopia/bundle.d.ts +6123 -0
  174. package/dist/gitopia/bundle.js +131 -0
  175. package/dist/gitopia/client.d.ts +492 -0
  176. package/dist/gitopia/client.js +70 -0
  177. package/dist/gitopia/custom-lcd-client.d.ts +31 -0
  178. package/dist/gitopia/custom-lcd-client.js +87 -0
  179. package/dist/gitopia/gitopia/gitopia/attachment.d.ts +39 -0
  180. package/dist/gitopia/gitopia/gitopia/attachment.js +104 -0
  181. package/dist/gitopia/gitopia/gitopia/bounty.d.ts +79 -0
  182. package/dist/gitopia/gitopia/gitopia/bounty.js +262 -0
  183. package/dist/gitopia/gitopia/gitopia/branch.d.ts +48 -0
  184. package/dist/gitopia/gitopia/gitopia/branch.js +140 -0
  185. package/dist/gitopia/gitopia/gitopia/comment.d.ts +125 -0
  186. package/dist/gitopia/gitopia/gitopia/comment.js +495 -0
  187. package/dist/gitopia/gitopia/gitopia/dao.d.ts +160 -0
  188. package/dist/gitopia/gitopia/gitopia/dao.js +454 -0
  189. package/dist/gitopia/gitopia/gitopia/exercised_amount.d.ts +34 -0
  190. package/dist/gitopia/gitopia/gitopia/exercised_amount.js +81 -0
  191. package/dist/gitopia/gitopia/gitopia/genesis.d.ts +143 -0
  192. package/dist/gitopia/gitopia/gitopia/genesis.js +463 -0
  193. package/dist/gitopia/gitopia/gitopia/issue.d.ts +88 -0
  194. package/dist/gitopia/gitopia/gitopia/issue.js +328 -0
  195. package/dist/gitopia/gitopia/gitopia/params.d.ts +115 -0
  196. package/dist/gitopia/gitopia/gitopia/params.js +296 -0
  197. package/dist/gitopia/gitopia/gitopia/pullRequest.d.ts +177 -0
  198. package/dist/gitopia/gitopia/gitopia/pullRequest.js +570 -0
  199. package/dist/gitopia/gitopia/gitopia/query.d.ts +3130 -0
  200. package/dist/gitopia/gitopia/gitopia/query.js +7355 -0
  201. package/dist/gitopia/gitopia/gitopia/query.lcd.d.ts +54 -0
  202. package/dist/gitopia/gitopia/gitopia/query.lcd.js +456 -0
  203. package/dist/gitopia/gitopia/gitopia/query.rpc.Query.d.ts +188 -0
  204. package/dist/gitopia/gitopia/gitopia/query.rpc.Query.js +458 -0
  205. package/dist/gitopia/gitopia/gitopia/reaction.d.ts +42 -0
  206. package/dist/gitopia/gitopia/gitopia/reaction.js +128 -0
  207. package/dist/gitopia/gitopia/gitopia/release.d.ts +70 -0
  208. package/dist/gitopia/gitopia/gitopia/release.js +228 -0
  209. package/dist/gitopia/gitopia/gitopia/repository.d.ts +424 -0
  210. package/dist/gitopia/gitopia/gitopia/repository.js +1207 -0
  211. package/dist/gitopia/gitopia/gitopia/tag.d.ts +45 -0
  212. package/dist/gitopia/gitopia/gitopia/tag.js +128 -0
  213. package/dist/gitopia/gitopia/gitopia/task.d.ts +64 -0
  214. package/dist/gitopia/gitopia/gitopia/task.js +204 -0
  215. package/dist/gitopia/gitopia/gitopia/tx.amino.d.ts +463 -0
  216. package/dist/gitopia/gitopia/gitopia/tx.amino.js +467 -0
  217. package/dist/gitopia/gitopia/gitopia/tx.d.ts +6246 -0
  218. package/dist/gitopia/gitopia/gitopia/tx.js +14687 -0
  219. package/dist/gitopia/gitopia/gitopia/tx.registry.d.ts +1116 -0
  220. package/dist/gitopia/gitopia/gitopia/tx.registry.js +1675 -0
  221. package/dist/gitopia/gitopia/gitopia/tx.rpc.msg.d.ts +200 -0
  222. package/dist/gitopia/gitopia/gitopia/tx.rpc.msg.js +564 -0
  223. package/dist/gitopia/gitopia/gitopia/user.d.ts +104 -0
  224. package/dist/gitopia/gitopia/gitopia/user.js +343 -0
  225. package/dist/gitopia/gitopia/gitopia/whois.d.ts +51 -0
  226. package/dist/gitopia/gitopia/gitopia/whois.js +151 -0
  227. package/dist/gitopia/gitopia/offchain/offchain.d.ts +74 -0
  228. package/dist/gitopia/gitopia/offchain/offchain.js +147 -0
  229. package/dist/gitopia/gitopia/rewards/genesis.d.ts +40 -0
  230. package/dist/gitopia/gitopia/rewards/genesis.js +85 -0
  231. package/dist/gitopia/gitopia/rewards/params.d.ts +37 -0
  232. package/dist/gitopia/gitopia/rewards/params.js +84 -0
  233. package/dist/gitopia/gitopia/rewards/pool.d.ts +59 -0
  234. package/dist/gitopia/gitopia/rewards/pool.js +196 -0
  235. package/dist/gitopia/gitopia/rewards/query.d.ts +294 -0
  236. package/dist/gitopia/gitopia/rewards/query.js +657 -0
  237. package/dist/gitopia/gitopia/rewards/query.lcd.d.ts +12 -0
  238. package/dist/gitopia/gitopia/rewards/query.lcd.js +44 -0
  239. package/dist/gitopia/gitopia/rewards/query.rpc.Query.d.ts +28 -0
  240. package/dist/gitopia/gitopia/rewards/query.rpc.Query.js +58 -0
  241. package/dist/gitopia/gitopia/rewards/rewards.d.ts +79 -0
  242. package/dist/gitopia/gitopia/rewards/rewards.js +194 -0
  243. package/dist/gitopia/gitopia/rewards/task.d.ts +54 -0
  244. package/dist/gitopia/gitopia/rewards/task.js +181 -0
  245. package/dist/gitopia/gitopia/rewards/tx.amino.d.ts +18 -0
  246. package/dist/gitopia/gitopia/rewards/tx.amino.js +22 -0
  247. package/dist/gitopia/gitopia/rewards/tx.d.ts +242 -0
  248. package/dist/gitopia/gitopia/rewards/tx.js +528 -0
  249. package/dist/gitopia/gitopia/rewards/tx.registry.d.ts +48 -0
  250. package/dist/gitopia/gitopia/rewards/tx.registry.js +73 -0
  251. package/dist/gitopia/gitopia/rewards/tx.rpc.msg.d.ts +19 -0
  252. package/dist/gitopia/gitopia/rewards/tx.rpc.msg.js +30 -0
  253. package/dist/gitopia/rpc.query.d.ts +117 -0
  254. package/dist/gitopia/rpc.query.js +66 -0
  255. package/dist/gitopia/rpc.tx.d.ts +16 -0
  256. package/dist/gitopia/rpc.tx.js +50 -0
  257. package/dist/gogoproto/bundle.d.ts +1 -0
  258. package/dist/gogoproto/bundle.js +41 -0
  259. package/dist/gogoproto/gogo.d.ts +1 -0
  260. package/dist/gogoproto/gogo.js +2 -0
  261. package/dist/google/api/annotations.d.ts +1 -0
  262. package/dist/google/api/annotations.js +2 -0
  263. package/dist/google/api/http.d.ts +1049 -0
  264. package/dist/google/api/http.js +332 -0
  265. package/dist/google/bundle.d.ts +525 -0
  266. package/dist/google/bundle.js +50 -0
  267. package/dist/google/protobuf/any.d.ts +358 -0
  268. package/dist/google/protobuf/any.js +77 -0
  269. package/dist/google/protobuf/descriptor.d.ts +3178 -0
  270. package/dist/google/protobuf/descriptor.js +4886 -0
  271. package/dist/google/protobuf/duration.d.ts +223 -0
  272. package/dist/google/protobuf/duration.js +74 -0
  273. package/dist/google/protobuf/timestamp.d.ts +314 -0
  274. package/dist/google/protobuf/timestamp.js +71 -0
  275. package/dist/helpers.d.ts +82 -0
  276. package/dist/helpers.js +144 -0
  277. package/dist/ibc/applications/transfer/v1/query.d.ts +479 -0
  278. package/dist/ibc/applications/transfer/v1/query.js +850 -0
  279. package/dist/ibc/applications/transfer/v1/query.lcd.d.ts +14 -0
  280. package/dist/ibc/applications/transfer/v1/query.lcd.js +74 -0
  281. package/dist/ibc/applications/transfer/v1/query.rpc.Query.d.ts +36 -0
  282. package/dist/ibc/applications/transfer/v1/query.rpc.Query.js +76 -0
  283. package/dist/ibc/applications/transfer/v1/transfer.d.ts +123 -0
  284. package/dist/ibc/applications/transfer/v1/transfer.js +167 -0
  285. package/dist/ibc/applications/transfer/v1/tx.amino.d.ts +8 -0
  286. package/dist/ibc/applications/transfer/v1/tx.amino.js +12 -0
  287. package/dist/ibc/applications/transfer/v1/tx.d.ts +132 -0
  288. package/dist/ibc/applications/transfer/v1/tx.js +229 -0
  289. package/dist/ibc/applications/transfer/v1/tx.registry.d.ts +24 -0
  290. package/dist/ibc/applications/transfer/v1/tx.registry.js +37 -0
  291. package/dist/ibc/applications/transfer/v1/tx.rpc.msg.d.ts +12 -0
  292. package/dist/ibc/applications/transfer/v1/tx.rpc.msg.js +18 -0
  293. package/dist/ibc/bundle.d.ts +450 -0
  294. package/dist/ibc/bundle.js +80 -0
  295. package/dist/ibc/client.d.ts +22 -0
  296. package/dist/ibc/client.js +67 -0
  297. package/dist/ibc/core/client/v1/client.d.ts +408 -0
  298. package/dist/ibc/core/client/v1/client.js +614 -0
  299. package/dist/ibc/rpc.query.d.ts +73 -0
  300. package/dist/ibc/rpc.query.js +67 -0
  301. package/dist/ibc/rpc.tx.d.ts +17 -0
  302. package/dist/ibc/rpc.tx.js +51 -0
  303. package/dist/index.d.ts +18 -0
  304. package/dist/index.js +35 -0
  305. package/dist/package.json +46 -0
  306. package/dist/utf8.d.ts +27 -0
  307. package/dist/utf8.js +141 -0
  308. package/dist/varint.d.ts +105 -0
  309. package/dist/varint.js +426 -0
  310. package/package.json +46 -0
@@ -0,0 +1,407 @@
1
+ import { Coin, CoinAmino, CoinSDKType } from "../../base/v1beta1/coin";
2
+ import { BinaryReader, BinaryWriter } from "../../../binary";
3
+ /** Params defines the parameters for the bank module. */
4
+ export interface Params {
5
+ /**
6
+ * Deprecated: Use of SendEnabled in params is deprecated.
7
+ * For genesis, use the newly added send_enabled field in the genesis object.
8
+ * Storage, lookup, and manipulation of this information is now in the keeper.
9
+ *
10
+ * As of cosmos-sdk 0.47, this only exists for backwards compatibility of genesis files.
11
+ */
12
+ /** @deprecated */
13
+ sendEnabled: SendEnabled[];
14
+ defaultSendEnabled: boolean;
15
+ }
16
+ export interface ParamsProtoMsg {
17
+ typeUrl: "/cosmos.bank.v1beta1.Params";
18
+ value: Uint8Array;
19
+ }
20
+ /** Params defines the parameters for the bank module. */
21
+ export interface ParamsAmino {
22
+ /**
23
+ * Deprecated: Use of SendEnabled in params is deprecated.
24
+ * For genesis, use the newly added send_enabled field in the genesis object.
25
+ * Storage, lookup, and manipulation of this information is now in the keeper.
26
+ *
27
+ * As of cosmos-sdk 0.47, this only exists for backwards compatibility of genesis files.
28
+ */
29
+ /** @deprecated */
30
+ send_enabled?: SendEnabledAmino[];
31
+ default_send_enabled?: boolean;
32
+ }
33
+ export interface ParamsAminoMsg {
34
+ type: "cosmos-sdk/x/bank/Params";
35
+ value: ParamsAmino;
36
+ }
37
+ /** Params defines the parameters for the bank module. */
38
+ export interface ParamsSDKType {
39
+ /** @deprecated */
40
+ send_enabled: SendEnabledSDKType[];
41
+ default_send_enabled: boolean;
42
+ }
43
+ /**
44
+ * SendEnabled maps coin denom to a send_enabled status (whether a denom is
45
+ * sendable).
46
+ */
47
+ export interface SendEnabled {
48
+ denom: string;
49
+ enabled: boolean;
50
+ }
51
+ export interface SendEnabledProtoMsg {
52
+ typeUrl: "/cosmos.bank.v1beta1.SendEnabled";
53
+ value: Uint8Array;
54
+ }
55
+ /**
56
+ * SendEnabled maps coin denom to a send_enabled status (whether a denom is
57
+ * sendable).
58
+ */
59
+ export interface SendEnabledAmino {
60
+ denom?: string;
61
+ enabled?: boolean;
62
+ }
63
+ export interface SendEnabledAminoMsg {
64
+ type: "cosmos-sdk/SendEnabled";
65
+ value: SendEnabledAmino;
66
+ }
67
+ /**
68
+ * SendEnabled maps coin denom to a send_enabled status (whether a denom is
69
+ * sendable).
70
+ */
71
+ export interface SendEnabledSDKType {
72
+ denom: string;
73
+ enabled: boolean;
74
+ }
75
+ /** Input models transaction input. */
76
+ export interface Input {
77
+ address: string;
78
+ coins: Coin[];
79
+ }
80
+ export interface InputProtoMsg {
81
+ typeUrl: "/cosmos.bank.v1beta1.Input";
82
+ value: Uint8Array;
83
+ }
84
+ /** Input models transaction input. */
85
+ export interface InputAmino {
86
+ address?: string;
87
+ coins: CoinAmino[];
88
+ }
89
+ export interface InputAminoMsg {
90
+ type: "cosmos-sdk/Input";
91
+ value: InputAmino;
92
+ }
93
+ /** Input models transaction input. */
94
+ export interface InputSDKType {
95
+ address: string;
96
+ coins: CoinSDKType[];
97
+ }
98
+ /** Output models transaction outputs. */
99
+ export interface Output {
100
+ address: string;
101
+ coins: Coin[];
102
+ }
103
+ export interface OutputProtoMsg {
104
+ typeUrl: "/cosmos.bank.v1beta1.Output";
105
+ value: Uint8Array;
106
+ }
107
+ /** Output models transaction outputs. */
108
+ export interface OutputAmino {
109
+ address?: string;
110
+ coins: CoinAmino[];
111
+ }
112
+ export interface OutputAminoMsg {
113
+ type: "cosmos-sdk/Output";
114
+ value: OutputAmino;
115
+ }
116
+ /** Output models transaction outputs. */
117
+ export interface OutputSDKType {
118
+ address: string;
119
+ coins: CoinSDKType[];
120
+ }
121
+ /**
122
+ * Supply represents a struct that passively keeps track of the total supply
123
+ * amounts in the network.
124
+ * This message is deprecated now that supply is indexed by denom.
125
+ */
126
+ /** @deprecated */
127
+ export interface Supply {
128
+ $typeUrl?: "/cosmos.bank.v1beta1.Supply";
129
+ total: Coin[];
130
+ }
131
+ export interface SupplyProtoMsg {
132
+ typeUrl: "/cosmos.bank.v1beta1.Supply";
133
+ value: Uint8Array;
134
+ }
135
+ /**
136
+ * Supply represents a struct that passively keeps track of the total supply
137
+ * amounts in the network.
138
+ * This message is deprecated now that supply is indexed by denom.
139
+ */
140
+ /** @deprecated */
141
+ export interface SupplyAmino {
142
+ total: CoinAmino[];
143
+ }
144
+ export interface SupplyAminoMsg {
145
+ type: "cosmos-sdk/Supply";
146
+ value: SupplyAmino;
147
+ }
148
+ /**
149
+ * Supply represents a struct that passively keeps track of the total supply
150
+ * amounts in the network.
151
+ * This message is deprecated now that supply is indexed by denom.
152
+ */
153
+ /** @deprecated */
154
+ export interface SupplySDKType {
155
+ $typeUrl?: "/cosmos.bank.v1beta1.Supply";
156
+ total: CoinSDKType[];
157
+ }
158
+ /**
159
+ * DenomUnit represents a struct that describes a given
160
+ * denomination unit of the basic token.
161
+ */
162
+ export interface DenomUnit {
163
+ /** denom represents the string name of the given denom unit (e.g uatom). */
164
+ denom: string;
165
+ /**
166
+ * exponent represents power of 10 exponent that one must
167
+ * raise the base_denom to in order to equal the given DenomUnit's denom
168
+ * 1 denom = 10^exponent base_denom
169
+ * (e.g. with a base_denom of uatom, one can create a DenomUnit of 'atom' with
170
+ * exponent = 6, thus: 1 atom = 10^6 uatom).
171
+ */
172
+ exponent: number;
173
+ /** aliases is a list of string aliases for the given denom */
174
+ aliases: string[];
175
+ }
176
+ export interface DenomUnitProtoMsg {
177
+ typeUrl: "/cosmos.bank.v1beta1.DenomUnit";
178
+ value: Uint8Array;
179
+ }
180
+ /**
181
+ * DenomUnit represents a struct that describes a given
182
+ * denomination unit of the basic token.
183
+ */
184
+ export interface DenomUnitAmino {
185
+ /** denom represents the string name of the given denom unit (e.g uatom). */
186
+ denom?: string;
187
+ /**
188
+ * exponent represents power of 10 exponent that one must
189
+ * raise the base_denom to in order to equal the given DenomUnit's denom
190
+ * 1 denom = 10^exponent base_denom
191
+ * (e.g. with a base_denom of uatom, one can create a DenomUnit of 'atom' with
192
+ * exponent = 6, thus: 1 atom = 10^6 uatom).
193
+ */
194
+ exponent?: number;
195
+ /** aliases is a list of string aliases for the given denom */
196
+ aliases?: string[];
197
+ }
198
+ export interface DenomUnitAminoMsg {
199
+ type: "cosmos-sdk/DenomUnit";
200
+ value: DenomUnitAmino;
201
+ }
202
+ /**
203
+ * DenomUnit represents a struct that describes a given
204
+ * denomination unit of the basic token.
205
+ */
206
+ export interface DenomUnitSDKType {
207
+ denom: string;
208
+ exponent: number;
209
+ aliases: string[];
210
+ }
211
+ /**
212
+ * Metadata represents a struct that describes
213
+ * a basic token.
214
+ */
215
+ export interface Metadata {
216
+ description: string;
217
+ /** denom_units represents the list of DenomUnit's for a given coin */
218
+ denomUnits: DenomUnit[];
219
+ /** base represents the base denom (should be the DenomUnit with exponent = 0). */
220
+ base: string;
221
+ /**
222
+ * display indicates the suggested denom that should be
223
+ * displayed in clients.
224
+ */
225
+ display: string;
226
+ /**
227
+ * name defines the name of the token (eg: Cosmos Atom)
228
+ *
229
+ * Since: cosmos-sdk 0.43
230
+ */
231
+ name: string;
232
+ /**
233
+ * symbol is the token symbol usually shown on exchanges (eg: ATOM). This can
234
+ * be the same as the display.
235
+ *
236
+ * Since: cosmos-sdk 0.43
237
+ */
238
+ symbol: string;
239
+ /**
240
+ * URI to a document (on or off-chain) that contains additional information. Optional.
241
+ *
242
+ * Since: cosmos-sdk 0.46
243
+ */
244
+ uri: string;
245
+ /**
246
+ * URIHash is a sha256 hash of a document pointed by URI. It's used to verify that
247
+ * the document didn't change. Optional.
248
+ *
249
+ * Since: cosmos-sdk 0.46
250
+ */
251
+ uriHash: string;
252
+ }
253
+ export interface MetadataProtoMsg {
254
+ typeUrl: "/cosmos.bank.v1beta1.Metadata";
255
+ value: Uint8Array;
256
+ }
257
+ /**
258
+ * Metadata represents a struct that describes
259
+ * a basic token.
260
+ */
261
+ export interface MetadataAmino {
262
+ description?: string;
263
+ /** denom_units represents the list of DenomUnit's for a given coin */
264
+ denom_units?: DenomUnitAmino[];
265
+ /** base represents the base denom (should be the DenomUnit with exponent = 0). */
266
+ base?: string;
267
+ /**
268
+ * display indicates the suggested denom that should be
269
+ * displayed in clients.
270
+ */
271
+ display?: string;
272
+ /**
273
+ * name defines the name of the token (eg: Cosmos Atom)
274
+ *
275
+ * Since: cosmos-sdk 0.43
276
+ */
277
+ name?: string;
278
+ /**
279
+ * symbol is the token symbol usually shown on exchanges (eg: ATOM). This can
280
+ * be the same as the display.
281
+ *
282
+ * Since: cosmos-sdk 0.43
283
+ */
284
+ symbol?: string;
285
+ /**
286
+ * URI to a document (on or off-chain) that contains additional information. Optional.
287
+ *
288
+ * Since: cosmos-sdk 0.46
289
+ */
290
+ uri?: string;
291
+ /**
292
+ * URIHash is a sha256 hash of a document pointed by URI. It's used to verify that
293
+ * the document didn't change. Optional.
294
+ *
295
+ * Since: cosmos-sdk 0.46
296
+ */
297
+ uri_hash?: string;
298
+ }
299
+ export interface MetadataAminoMsg {
300
+ type: "cosmos-sdk/Metadata";
301
+ value: MetadataAmino;
302
+ }
303
+ /**
304
+ * Metadata represents a struct that describes
305
+ * a basic token.
306
+ */
307
+ export interface MetadataSDKType {
308
+ description: string;
309
+ denom_units: DenomUnitSDKType[];
310
+ base: string;
311
+ display: string;
312
+ name: string;
313
+ symbol: string;
314
+ uri: string;
315
+ uri_hash: string;
316
+ }
317
+ export declare const Params: {
318
+ typeUrl: string;
319
+ encode(message: Params, writer?: BinaryWriter): BinaryWriter;
320
+ decode(input: BinaryReader | Uint8Array, length?: number): Params;
321
+ fromPartial(object: Partial<Params>): Params;
322
+ fromAmino(object: ParamsAmino): Params;
323
+ toAmino(message: Params): ParamsAmino;
324
+ fromAminoMsg(object: ParamsAminoMsg): Params;
325
+ toAminoMsg(message: Params): ParamsAminoMsg;
326
+ fromProtoMsg(message: ParamsProtoMsg): Params;
327
+ toProto(message: Params): Uint8Array;
328
+ toProtoMsg(message: Params): ParamsProtoMsg;
329
+ };
330
+ export declare const SendEnabled: {
331
+ typeUrl: string;
332
+ encode(message: SendEnabled, writer?: BinaryWriter): BinaryWriter;
333
+ decode(input: BinaryReader | Uint8Array, length?: number): SendEnabled;
334
+ fromPartial(object: Partial<SendEnabled>): SendEnabled;
335
+ fromAmino(object: SendEnabledAmino): SendEnabled;
336
+ toAmino(message: SendEnabled): SendEnabledAmino;
337
+ fromAminoMsg(object: SendEnabledAminoMsg): SendEnabled;
338
+ toAminoMsg(message: SendEnabled): SendEnabledAminoMsg;
339
+ fromProtoMsg(message: SendEnabledProtoMsg): SendEnabled;
340
+ toProto(message: SendEnabled): Uint8Array;
341
+ toProtoMsg(message: SendEnabled): SendEnabledProtoMsg;
342
+ };
343
+ export declare const Input: {
344
+ typeUrl: string;
345
+ encode(message: Input, writer?: BinaryWriter): BinaryWriter;
346
+ decode(input: BinaryReader | Uint8Array, length?: number): Input;
347
+ fromPartial(object: Partial<Input>): Input;
348
+ fromAmino(object: InputAmino): Input;
349
+ toAmino(message: Input): InputAmino;
350
+ fromAminoMsg(object: InputAminoMsg): Input;
351
+ toAminoMsg(message: Input): InputAminoMsg;
352
+ fromProtoMsg(message: InputProtoMsg): Input;
353
+ toProto(message: Input): Uint8Array;
354
+ toProtoMsg(message: Input): InputProtoMsg;
355
+ };
356
+ export declare const Output: {
357
+ typeUrl: string;
358
+ encode(message: Output, writer?: BinaryWriter): BinaryWriter;
359
+ decode(input: BinaryReader | Uint8Array, length?: number): Output;
360
+ fromPartial(object: Partial<Output>): Output;
361
+ fromAmino(object: OutputAmino): Output;
362
+ toAmino(message: Output): OutputAmino;
363
+ fromAminoMsg(object: OutputAminoMsg): Output;
364
+ toAminoMsg(message: Output): OutputAminoMsg;
365
+ fromProtoMsg(message: OutputProtoMsg): Output;
366
+ toProto(message: Output): Uint8Array;
367
+ toProtoMsg(message: Output): OutputProtoMsg;
368
+ };
369
+ export declare const Supply: {
370
+ typeUrl: string;
371
+ encode(message: Supply, writer?: BinaryWriter): BinaryWriter;
372
+ decode(input: BinaryReader | Uint8Array, length?: number): Supply;
373
+ fromPartial(object: Partial<Supply>): Supply;
374
+ fromAmino(object: SupplyAmino): Supply;
375
+ toAmino(message: Supply): SupplyAmino;
376
+ fromAminoMsg(object: SupplyAminoMsg): Supply;
377
+ toAminoMsg(message: Supply): SupplyAminoMsg;
378
+ fromProtoMsg(message: SupplyProtoMsg): Supply;
379
+ toProto(message: Supply): Uint8Array;
380
+ toProtoMsg(message: Supply): SupplyProtoMsg;
381
+ };
382
+ export declare const DenomUnit: {
383
+ typeUrl: string;
384
+ encode(message: DenomUnit, writer?: BinaryWriter): BinaryWriter;
385
+ decode(input: BinaryReader | Uint8Array, length?: number): DenomUnit;
386
+ fromPartial(object: Partial<DenomUnit>): DenomUnit;
387
+ fromAmino(object: DenomUnitAmino): DenomUnit;
388
+ toAmino(message: DenomUnit): DenomUnitAmino;
389
+ fromAminoMsg(object: DenomUnitAminoMsg): DenomUnit;
390
+ toAminoMsg(message: DenomUnit): DenomUnitAminoMsg;
391
+ fromProtoMsg(message: DenomUnitProtoMsg): DenomUnit;
392
+ toProto(message: DenomUnit): Uint8Array;
393
+ toProtoMsg(message: DenomUnit): DenomUnitProtoMsg;
394
+ };
395
+ export declare const Metadata: {
396
+ typeUrl: string;
397
+ encode(message: Metadata, writer?: BinaryWriter): BinaryWriter;
398
+ decode(input: BinaryReader | Uint8Array, length?: number): Metadata;
399
+ fromPartial(object: Partial<Metadata>): Metadata;
400
+ fromAmino(object: MetadataAmino): Metadata;
401
+ toAmino(message: Metadata): MetadataAmino;
402
+ fromAminoMsg(object: MetadataAminoMsg): Metadata;
403
+ toAminoMsg(message: Metadata): MetadataAminoMsg;
404
+ fromProtoMsg(message: MetadataProtoMsg): Metadata;
405
+ toProto(message: Metadata): Uint8Array;
406
+ toProtoMsg(message: Metadata): MetadataProtoMsg;
407
+ };