decentralcardgame-cardchain-client-ts 0.0.31 → 0.0.33

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 (390) hide show
  1. package/lib/index.d.ts +78 -78
  2. package/lib/index.js +25 -25
  3. package/package.json +12 -1
  4. package/cardchain.cardchain/index.ts +0 -6
  5. package/cardchain.cardchain/module.ts +0 -1869
  6. package/cardchain.cardchain/registry.ts +0 -111
  7. package/cardchain.cardchain/rest.ts +0 -655
  8. package/cardchain.cardchain/types.ts +0 -63
  9. package/cardchain.featureflag/index.ts +0 -6
  10. package/cardchain.featureflag/module.ts +0 -165
  11. package/cardchain.featureflag/registry.ts +0 -11
  12. package/cardchain.featureflag/rest.ts +0 -256
  13. package/cardchain.featureflag/types.ts +0 -9
  14. package/client.ts +0 -164
  15. package/cosmos.auth.v1beta1/index.ts +0 -6
  16. package/cosmos.auth.v1beta1/module.ts +0 -136
  17. package/cosmos.auth.v1beta1/registry.ts +0 -9
  18. package/cosmos.auth.v1beta1/rest.ts +0 -403
  19. package/cosmos.auth.v1beta1/types.ts +0 -13
  20. package/cosmos.authz.v1beta1/index.ts +0 -6
  21. package/cosmos.authz.v1beta1/module.ts +0 -206
  22. package/cosmos.authz.v1beta1/registry.ts +0 -13
  23. package/cosmos.authz.v1beta1/rest.ts +0 -256
  24. package/cosmos.authz.v1beta1/types.ts +0 -17
  25. package/cosmos.bank.v1beta1/index.ts +0 -6
  26. package/cosmos.bank.v1beta1/module.ts +0 -247
  27. package/cosmos.bank.v1beta1/registry.ts +0 -15
  28. package/cosmos.bank.v1beta1/rest.ts +0 -466
  29. package/cosmos.bank.v1beta1/types.ts +0 -25
  30. package/cosmos.base.node.v1beta1/index.ts +0 -6
  31. package/cosmos.base.node.v1beta1/module.ts +0 -95
  32. package/cosmos.base.node.v1beta1/registry.ts +0 -7
  33. package/cosmos.base.node.v1beta1/rest.ts +0 -235
  34. package/cosmos.base.node.v1beta1/types.ts +0 -5
  35. package/cosmos.base.tendermint.v1beta1/index.ts +0 -6
  36. package/cosmos.base.tendermint.v1beta1/module.ts +0 -109
  37. package/cosmos.base.tendermint.v1beta1/registry.ts +0 -7
  38. package/cosmos.base.tendermint.v1beta1/rest.ts +0 -340
  39. package/cosmos.base.tendermint.v1beta1/types.ts +0 -19
  40. package/cosmos.circuit.v1/index.ts +0 -6
  41. package/cosmos.circuit.v1/module.ts +0 -198
  42. package/cosmos.circuit.v1/registry.ts +0 -13
  43. package/cosmos.circuit.v1/rest.ts +0 -256
  44. package/cosmos.circuit.v1/types.ts +0 -9
  45. package/cosmos.consensus.v1/index.ts +0 -6
  46. package/cosmos.consensus.v1/module.ts +0 -128
  47. package/cosmos.consensus.v1/registry.ts +0 -9
  48. package/cosmos.consensus.v1/rest.ts +0 -214
  49. package/cosmos.consensus.v1/types.ts +0 -5
  50. package/cosmos.crisis.v1beta1/index.ts +0 -6
  51. package/cosmos.crisis.v1beta1/module.ts +0 -161
  52. package/cosmos.crisis.v1beta1/registry.ts +0 -11
  53. package/cosmos.crisis.v1beta1/rest.ts +0 -193
  54. package/cosmos.crisis.v1beta1/types.ts +0 -5
  55. package/cosmos.distribution.v1beta1/index.ts +0 -6
  56. package/cosmos.distribution.v1beta1/module.ts +0 -364
  57. package/cosmos.distribution.v1beta1/registry.ts +0 -21
  58. package/cosmos.distribution.v1beta1/rest.ts +0 -403
  59. package/cosmos.distribution.v1beta1/types.ts +0 -43
  60. package/cosmos.evidence.v1beta1/index.ts +0 -6
  61. package/cosmos.evidence.v1beta1/module.ts +0 -130
  62. package/cosmos.evidence.v1beta1/registry.ts +0 -9
  63. package/cosmos.evidence.v1beta1/rest.ts +0 -235
  64. package/cosmos.evidence.v1beta1/types.ts +0 -7
  65. package/cosmos.feegrant.v1beta1/index.ts +0 -6
  66. package/cosmos.feegrant.v1beta1/module.ts +0 -202
  67. package/cosmos.feegrant.v1beta1/registry.ts +0 -13
  68. package/cosmos.feegrant.v1beta1/rest.ts +0 -256
  69. package/cosmos.feegrant.v1beta1/types.ts +0 -13
  70. package/cosmos.gov.v1/index.ts +0 -6
  71. package/cosmos.gov.v1/module.ts +0 -344
  72. package/cosmos.gov.v1/registry.ts +0 -21
  73. package/cosmos.gov.v1/rest.ts +0 -382
  74. package/cosmos.gov.v1/types.ts +0 -23
  75. package/cosmos.gov.v1beta1/index.ts +0 -6
  76. package/cosmos.gov.v1beta1/module.ts +0 -245
  77. package/cosmos.gov.v1beta1/registry.ts +0 -15
  78. package/cosmos.gov.v1beta1/rest.ts +0 -361
  79. package/cosmos.gov.v1beta1/types.ts +0 -23
  80. package/cosmos.group.v1/index.ts +0 -6
  81. package/cosmos.group.v1/module.ts +0 -599
  82. package/cosmos.group.v1/registry.ts +0 -35
  83. package/cosmos.group.v1/rest.ts +0 -487
  84. package/cosmos.group.v1/types.ts +0 -47
  85. package/cosmos.mint.v1beta1/index.ts +0 -6
  86. package/cosmos.mint.v1beta1/module.ts +0 -132
  87. package/cosmos.mint.v1beta1/registry.ts +0 -9
  88. package/cosmos.mint.v1beta1/rest.ts +0 -256
  89. package/cosmos.mint.v1beta1/types.ts +0 -9
  90. package/cosmos.nft.v1beta1/index.ts +0 -6
  91. package/cosmos.nft.v1beta1/module.ts +0 -140
  92. package/cosmos.nft.v1beta1/registry.ts +0 -9
  93. package/cosmos.nft.v1beta1/rest.ts +0 -340
  94. package/cosmos.nft.v1beta1/types.ts +0 -17
  95. package/cosmos.params.v1beta1/index.ts +0 -6
  96. package/cosmos.params.v1beta1/module.ts +0 -101
  97. package/cosmos.params.v1beta1/registry.ts +0 -7
  98. package/cosmos.params.v1beta1/rest.ts +0 -235
  99. package/cosmos.params.v1beta1/types.ts +0 -11
  100. package/cosmos.slashing.v1beta1/index.ts +0 -6
  101. package/cosmos.slashing.v1beta1/module.ts +0 -171
  102. package/cosmos.slashing.v1beta1/registry.ts +0 -11
  103. package/cosmos.slashing.v1beta1/rest.ts +0 -256
  104. package/cosmos.slashing.v1beta1/types.ts +0 -15
  105. package/cosmos.staking.v1beta1/index.ts +0 -6
  106. package/cosmos.staking.v1beta1/module.ts +0 -374
  107. package/cosmos.staking.v1beta1/registry.ts +0 -21
  108. package/cosmos.staking.v1beta1/rest.ts +0 -487
  109. package/cosmos.staking.v1beta1/types.ts +0 -53
  110. package/cosmos.tx.v1beta1/index.ts +0 -6
  111. package/cosmos.tx.v1beta1/module.ts +0 -121
  112. package/cosmos.tx.v1beta1/registry.ts +0 -7
  113. package/cosmos.tx.v1beta1/rest.ts +0 -382
  114. package/cosmos.tx.v1beta1/types.ts +0 -31
  115. package/cosmos.upgrade.v1beta1/index.ts +0 -6
  116. package/cosmos.upgrade.v1beta1/module.ts +0 -169
  117. package/cosmos.upgrade.v1beta1/registry.ts +0 -11
  118. package/cosmos.upgrade.v1beta1/rest.ts +0 -298
  119. package/cosmos.upgrade.v1beta1/types.ts +0 -13
  120. package/cosmos.vesting.v1beta1/index.ts +0 -6
  121. package/cosmos.vesting.v1beta1/module.ts +0 -206
  122. package/cosmos.vesting.v1beta1/registry.ts +0 -13
  123. package/cosmos.vesting.v1beta1/rest.ts +0 -193
  124. package/cosmos.vesting.v1beta1/types.ts +0 -17
  125. package/env.ts +0 -7
  126. package/helpers.ts +0 -32
  127. package/ibc.applications.fee.v1/index.ts +0 -6
  128. package/ibc.applications.fee.v1/module.ts +0 -247
  129. package/ibc.applications.fee.v1/registry.ts +0 -15
  130. package/ibc.applications.fee.v1/rest.ts +0 -403
  131. package/ibc.applications.fee.v1/types.ts +0 -25
  132. package/ibc.applications.interchain_accounts.controller.v1/index.ts +0 -6
  133. package/ibc.applications.interchain_accounts.controller.v1/module.ts +0 -196
  134. package/ibc.applications.interchain_accounts.controller.v1/registry.ts +0 -13
  135. package/ibc.applications.interchain_accounts.controller.v1/rest.ts +0 -235
  136. package/ibc.applications.interchain_accounts.controller.v1/types.ts +0 -7
  137. package/ibc.applications.interchain_accounts.host.v1/index.ts +0 -6
  138. package/ibc.applications.interchain_accounts.host.v1/module.ts +0 -165
  139. package/ibc.applications.interchain_accounts.host.v1/registry.ts +0 -11
  140. package/ibc.applications.interchain_accounts.host.v1/rest.ts +0 -214
  141. package/ibc.applications.interchain_accounts.host.v1/types.ts +0 -9
  142. package/ibc.applications.transfer.v1/index.ts +0 -6
  143. package/ibc.applications.transfer.v1/module.ts +0 -169
  144. package/ibc.applications.transfer.v1/registry.ts +0 -11
  145. package/ibc.applications.transfer.v1/rest.ts +0 -319
  146. package/ibc.applications.transfer.v1/types.ts +0 -13
  147. package/ibc.core.channel.v1/index.ts +0 -6
  148. package/ibc.core.channel.v1/module.ts +0 -748
  149. package/ibc.core.channel.v1/registry.ts +0 -45
  150. package/ibc.core.channel.v1/rest.ts +0 -550
  151. package/ibc.core.channel.v1/types.ts +0 -31
  152. package/ibc.core.client.v1/index.ts +0 -6
  153. package/ibc.core.client.v1/module.ts +0 -344
  154. package/ibc.core.client.v1/registry.ts +0 -21
  155. package/ibc.core.client.v1/rest.ts +0 -403
  156. package/ibc.core.client.v1/types.ts +0 -23
  157. package/ibc.core.connection.v1/index.ts +0 -6
  158. package/ibc.core.connection.v1/module.ts +0 -274
  159. package/ibc.core.connection.v1/registry.ts +0 -17
  160. package/ibc.core.connection.v1/rest.ts +0 -319
  161. package/ibc.core.connection.v1/types.ts +0 -19
  162. package/index.ts +0 -81
  163. package/modules.ts +0 -5
  164. package/tsconfig.json +0 -13
  165. package/types/amino/amino.ts +0 -9
  166. package/types/capability/v1/capability.ts +0 -263
  167. package/types/capability/v1/genesis.ts +0 -220
  168. package/types/cardchain/cardchain/card.ts +0 -712
  169. package/types/cardchain/cardchain/card_content.ts +0 -116
  170. package/types/cardchain/cardchain/card_with_image.ts +0 -134
  171. package/types/cardchain/cardchain/council.ts +0 -502
  172. package/types/cardchain/cardchain/encounter.ts +0 -307
  173. package/types/cardchain/cardchain/encounter_with_image.ts +0 -119
  174. package/types/cardchain/cardchain/genesis.ts +0 -403
  175. package/types/cardchain/cardchain/image.ts +0 -122
  176. package/types/cardchain/cardchain/match.ts +0 -453
  177. package/types/cardchain/cardchain/module/module.ts +0 -99
  178. package/types/cardchain/cardchain/params.ts +0 -544
  179. package/types/cardchain/cardchain/query.ts +0 -3786
  180. package/types/cardchain/cardchain/running_average.ts +0 -116
  181. package/types/cardchain/cardchain/sell_offer.ts +0 -224
  182. package/types/cardchain/cardchain/server.ts +0 -144
  183. package/types/cardchain/cardchain/set.ts +0 -537
  184. package/types/cardchain/cardchain/set_with_artwork.ts +0 -142
  185. package/types/cardchain/cardchain/tx.ts +0 -8053
  186. package/types/cardchain/cardchain/user.ts +0 -955
  187. package/types/cardchain/cardchain/voting.ts +0 -328
  188. package/types/cardchain/cardchain/voting_results.ts +0 -227
  189. package/types/cardchain/cardchain/zealy.ts +0 -116
  190. package/types/cardchain/featureflag/flag.ts +0 -133
  191. package/types/cardchain/featureflag/genesis.ts +0 -226
  192. package/types/cardchain/featureflag/module/module.ts +0 -99
  193. package/types/cardchain/featureflag/params.ts +0 -78
  194. package/types/cardchain/featureflag/query.ts +0 -445
  195. package/types/cardchain/featureflag/tx.ts +0 -373
  196. package/types/cosmos/app/runtime/v1alpha1/module.ts +0 -389
  197. package/types/cosmos/app/v1alpha1/config.ts +0 -346
  198. package/types/cosmos/app/v1alpha1/module.ts +0 -348
  199. package/types/cosmos/app/v1alpha1/query.ts +0 -175
  200. package/types/cosmos/auth/module/v1/module.ts +0 -229
  201. package/types/cosmos/auth/v1beta1/auth.ts +0 -531
  202. package/types/cosmos/auth/v1beta1/genesis.ts +0 -125
  203. package/types/cosmos/auth/v1beta1/query.ts +0 -1564
  204. package/types/cosmos/auth/v1beta1/tx.ts +0 -213
  205. package/types/cosmos/authz/module/v1/module.ts +0 -78
  206. package/types/cosmos/authz/v1beta1/authz.ts +0 -411
  207. package/types/cosmos/authz/v1beta1/event.ts +0 -241
  208. package/types/cosmos/authz/v1beta1/genesis.ts +0 -101
  209. package/types/cosmos/authz/v1beta1/query.ts +0 -643
  210. package/types/cosmos/authz/v1beta1/tx.ts +0 -574
  211. package/types/cosmos/autocli/v1/options.ts +0 -1049
  212. package/types/cosmos/autocli/v1/query.ts +0 -291
  213. package/types/cosmos/bank/module/v1/module.ts +0 -150
  214. package/types/cosmos/bank/v1beta1/authz.ts +0 -129
  215. package/types/cosmos/bank/v1beta1/bank.ts +0 -775
  216. package/types/cosmos/bank/v1beta1/genesis.ts +0 -277
  217. package/types/cosmos/bank/v1beta1/query.ts +0 -2424
  218. package/types/cosmos/bank/v1beta1/tx.ts +0 -697
  219. package/types/cosmos/base/abci/v1beta1/abci.ts +0 -1469
  220. package/types/cosmos/base/node/v1beta1/query.ts +0 -485
  221. package/types/cosmos/base/query/v1beta1/pagination.ts +0 -336
  222. package/types/cosmos/base/reflection/v1beta1/reflection.ts +0 -328
  223. package/types/cosmos/base/reflection/v2alpha1/reflection.ts +0 -2092
  224. package/types/cosmos/base/tendermint/v1beta1/query.ts +0 -2025
  225. package/types/cosmos/base/tendermint/v1beta1/types.ts +0 -548
  226. package/types/cosmos/base/v1beta1/coin.ts +0 -209
  227. package/types/cosmos/circuit/module/v1/module.ts +0 -99
  228. package/types/cosmos/circuit/v1/query.ts +0 -476
  229. package/types/cosmos/circuit/v1/tx.ts +0 -576
  230. package/types/cosmos/circuit/v1/types.ts +0 -362
  231. package/types/cosmos/consensus/module/v1/module.ts +0 -99
  232. package/types/cosmos/consensus/v1/query.ts +0 -181
  233. package/types/cosmos/consensus/v1/tx.ts +0 -271
  234. package/types/cosmos/crisis/module/v1/module.ts +0 -119
  235. package/types/cosmos/crisis/v1beta1/genesis.ts +0 -105
  236. package/types/cosmos/crisis/v1beta1/tx.ts +0 -367
  237. package/types/cosmos/crypto/ed25519/keys.ts +0 -195
  238. package/types/cosmos/crypto/hd/v1/hd.ts +0 -178
  239. package/types/cosmos/crypto/keyring/v1/record.ts +0 -440
  240. package/types/cosmos/crypto/multisig/keys.ts +0 -124
  241. package/types/cosmos/crypto/multisig/v1beta1/multisig.ts +0 -218
  242. package/types/cosmos/crypto/secp256k1/keys.ts +0 -192
  243. package/types/cosmos/crypto/secp256r1/keys.ts +0 -193
  244. package/types/cosmos/distribution/module/v1/module.ts +0 -118
  245. package/types/cosmos/distribution/v1beta1/distribution.ts +0 -1177
  246. package/types/cosmos/distribution/v1beta1/genesis.ts +0 -1028
  247. package/types/cosmos/distribution/v1beta1/query.ts +0 -1700
  248. package/types/cosmos/distribution/v1beta1/tx.ts +0 -1178
  249. package/types/cosmos/evidence/module/v1/module.ts +0 -78
  250. package/types/cosmos/evidence/v1beta1/evidence.ts +0 -194
  251. package/types/cosmos/evidence/v1beta1/genesis.ts +0 -98
  252. package/types/cosmos/evidence/v1beta1/query.ts +0 -414
  253. package/types/cosmos/evidence/v1beta1/tx.ts +0 -243
  254. package/types/cosmos/feegrant/module/v1/module.ts +0 -78
  255. package/types/cosmos/feegrant/v1beta1/feegrant.ts +0 -513
  256. package/types/cosmos/feegrant/v1beta1/genesis.ts +0 -101
  257. package/types/cosmos/feegrant/v1beta1/query.ts +0 -597
  258. package/types/cosmos/feegrant/v1beta1/tx.ts +0 -496
  259. package/types/cosmos/genutil/module/v1/module.ts +0 -78
  260. package/types/cosmos/genutil/v1beta1/genesis.ts +0 -122
  261. package/types/cosmos/gov/module/v1/module.ts +0 -133
  262. package/types/cosmos/gov/v1/genesis.ts +0 -313
  263. package/types/cosmos/gov/v1/gov.ts +0 -1712
  264. package/types/cosmos/gov/v1/query.ts +0 -1605
  265. package/types/cosmos/gov/v1/tx.ts +0 -1387
  266. package/types/cosmos/gov/v1beta1/genesis.ts +0 -241
  267. package/types/cosmos/gov/v1beta1/gov.ts +0 -1273
  268. package/types/cosmos/gov/v1beta1/query.ts +0 -1441
  269. package/types/cosmos/gov/v1beta1/tx.ts +0 -738
  270. package/types/cosmos/group/module/v1/module.ts +0 -141
  271. package/types/cosmos/group/v1/events.ts +0 -795
  272. package/types/cosmos/group/v1/genesis.ts +0 -265
  273. package/types/cosmos/group/v1/query.ts +0 -2441
  274. package/types/cosmos/group/v1/tx.ts +0 -2631
  275. package/types/cosmos/group/v1/types.ts +0 -1850
  276. package/types/cosmos/ics23/v1/proofs.ts +0 -1731
  277. package/types/cosmos/mint/module/v1/module.ts +0 -118
  278. package/types/cosmos/mint/v1beta1/genesis.ts +0 -126
  279. package/types/cosmos/mint/v1beta1/mint.ts +0 -293
  280. package/types/cosmos/mint/v1beta1/query.ts +0 -453
  281. package/types/cosmos/mint/v1beta1/tx.ts +0 -213
  282. package/types/cosmos/msg/textual/v1/textual.ts +0 -9
  283. package/types/cosmos/msg/v1/msg.ts +0 -9
  284. package/types/cosmos/nft/module/v1/module.ts +0 -78
  285. package/types/cosmos/nft/v1beta1/event.ts +0 -359
  286. package/types/cosmos/nft/v1beta1/genesis.ts +0 -204
  287. package/types/cosmos/nft/v1beta1/nft.ts +0 -348
  288. package/types/cosmos/nft/v1beta1/query.ts +0 -1173
  289. package/types/cosmos/nft/v1beta1/tx.ts +0 -228
  290. package/types/cosmos/orm/module/v1alpha1/module.ts +0 -82
  291. package/types/cosmos/orm/query/v1alpha1/query.ts +0 -933
  292. package/types/cosmos/orm/v1/orm.ts +0 -453
  293. package/types/cosmos/orm/v1alpha1/schema.ts +0 -321
  294. package/types/cosmos/params/module/v1/module.ts +0 -78
  295. package/types/cosmos/params/v1beta1/params.ts +0 -236
  296. package/types/cosmos/params/v1beta1/query.ts +0 -439
  297. package/types/cosmos/query/v1/query.ts +0 -9
  298. package/types/cosmos/reflection/v1/reflection.ts +0 -179
  299. package/types/cosmos/slashing/module/v1/module.ts +0 -99
  300. package/types/cosmos/slashing/v1beta1/genesis.ts +0 -424
  301. package/types/cosmos/slashing/v1beta1/query.ts +0 -487
  302. package/types/cosmos/slashing/v1beta1/slashing.ts +0 -422
  303. package/types/cosmos/slashing/v1beta1/tx.ts +0 -336
  304. package/types/cosmos/staking/module/v1/module.ts +0 -161
  305. package/types/cosmos/staking/v1beta1/authz.ts +0 -306
  306. package/types/cosmos/staking/v1beta1/genesis.ts +0 -377
  307. package/types/cosmos/staking/v1beta1/query.ts +0 -2540
  308. package/types/cosmos/staking/v1beta1/staking.ts +0 -2576
  309. package/types/cosmos/staking/v1beta1/tx.ts +0 -1433
  310. package/types/cosmos/store/internal/kv/v1beta1/kv.ts +0 -205
  311. package/types/cosmos/store/snapshots/v1/snapshot.ts +0 -746
  312. package/types/cosmos/store/streaming/abci/grpc.ts +0 -367
  313. package/types/cosmos/store/v1beta1/commit_info.ts +0 -370
  314. package/types/cosmos/store/v1beta1/listening.ts +0 -301
  315. package/types/cosmos/tx/config/v1/config.ts +0 -125
  316. package/types/cosmos/tx/signing/v1beta1/signing.ts +0 -630
  317. package/types/cosmos/tx/v1beta1/service.ts +0 -1889
  318. package/types/cosmos/tx/v1beta1/tx.ts +0 -1657
  319. package/types/cosmos/upgrade/module/v1/module.ts +0 -99
  320. package/types/cosmos/upgrade/v1beta1/query.ts +0 -819
  321. package/types/cosmos/upgrade/v1beta1/tx.ts +0 -340
  322. package/types/cosmos/upgrade/v1beta1/upgrade.ts +0 -525
  323. package/types/cosmos/vesting/module/v1/module.ts +0 -78
  324. package/types/cosmos/vesting/v1beta1/tx.ts +0 -640
  325. package/types/cosmos/vesting/v1beta1/vesting.ts +0 -624
  326. package/types/cosmos_proto/cosmos.ts +0 -307
  327. package/types/gogoproto/gogo.ts +0 -9
  328. package/types/google/api/annotations.ts +0 -9
  329. package/types/google/api/http.ts +0 -770
  330. package/types/google/protobuf/any.ts +0 -259
  331. package/types/google/protobuf/descriptor.ts +0 -6642
  332. package/types/google/protobuf/duration.ts +0 -200
  333. package/types/google/protobuf/timestamp.ts +0 -229
  334. package/types/ibc/applications/fee/v1/ack.ts +0 -166
  335. package/types/ibc/applications/fee/v1/fee.ts +0 -403
  336. package/types/ibc/applications/fee/v1/genesis.ts +0 -571
  337. package/types/ibc/applications/fee/v1/metadata.ts +0 -122
  338. package/types/ibc/applications/fee/v1/query.ts +0 -1757
  339. package/types/ibc/applications/fee/v1/tx.ts +0 -781
  340. package/types/ibc/applications/interchain_accounts/controller/v1/controller.ts +0 -104
  341. package/types/ibc/applications/interchain_accounts/controller/v1/query.ts +0 -333
  342. package/types/ibc/applications/interchain_accounts/controller/v1/tx.ts +0 -619
  343. package/types/ibc/applications/interchain_accounts/genesis/v1/genesis.ts +0 -590
  344. package/types/ibc/applications/interchain_accounts/host/v1/host.ts +0 -242
  345. package/types/ibc/applications/interchain_accounts/host/v1/query.ts +0 -175
  346. package/types/ibc/applications/interchain_accounts/host/v1/tx.ts +0 -416
  347. package/types/ibc/applications/interchain_accounts/v1/account.ts +0 -120
  348. package/types/ibc/applications/interchain_accounts/v1/metadata.ts +0 -199
  349. package/types/ibc/applications/interchain_accounts/v1/packet.ts +0 -264
  350. package/types/ibc/applications/transfer/v1/authz.ts +0 -254
  351. package/types/ibc/applications/transfer/v1/genesis.ts +0 -165
  352. package/types/ibc/applications/transfer/v1/query.ts +0 -934
  353. package/types/ibc/applications/transfer/v1/transfer.ts +0 -220
  354. package/types/ibc/applications/transfer/v1/tx.ts +0 -505
  355. package/types/ibc/applications/transfer/v2/packet.ts +0 -177
  356. package/types/ibc/core/channel/v1/channel.ts +0 -1358
  357. package/types/ibc/core/channel/v1/genesis.ts +0 -377
  358. package/types/ibc/core/channel/v1/query.ts +0 -3781
  359. package/types/ibc/core/channel/v1/tx.ts +0 -4424
  360. package/types/ibc/core/channel/v1/upgrade.ts +0 -348
  361. package/types/ibc/core/client/v1/client.ts +0 -753
  362. package/types/ibc/core/client/v1/genesis.ts +0 -423
  363. package/types/ibc/core/client/v1/query.ts +0 -1898
  364. package/types/ibc/core/client/v1/tx.ts +0 -1301
  365. package/types/ibc/core/commitment/v1/commitment.ts +0 -336
  366. package/types/ibc/core/connection/v1/connection.ts +0 -840
  367. package/types/ibc/core/connection/v1/genesis.ts +0 -172
  368. package/types/ibc/core/connection/v1/query.ts +0 -1243
  369. package/types/ibc/core/connection/v1/tx.ts +0 -1352
  370. package/types/ibc/core/types/v1/genesis.ts +0 -150
  371. package/types/ibc/lightclients/localhost/v2/localhost.ts +0 -102
  372. package/types/ibc/lightclients/solomachine/v2/solomachine.ts +0 -1765
  373. package/types/ibc/lightclients/solomachine/v3/solomachine.ts +0 -945
  374. package/types/ibc/lightclients/tendermint/v1/tendermint.ts +0 -853
  375. package/types/ibc/lightclients/wasm/v1/genesis.ts +0 -192
  376. package/types/ibc/lightclients/wasm/v1/query.ts +0 -377
  377. package/types/ibc/lightclients/wasm/v1/tx.ts +0 -550
  378. package/types/ibc/lightclients/wasm/v1/wasm.ts +0 -370
  379. package/types/tendermint/abci/types.ts +0 -6103
  380. package/types/tendermint/crypto/keys.ts +0 -142
  381. package/types/tendermint/crypto/proof.ts +0 -533
  382. package/types/tendermint/libs/bits/types.ts +0 -139
  383. package/types/tendermint/p2p/types.ts +0 -544
  384. package/types/tendermint/types/block.ts +0 -158
  385. package/types/tendermint/types/evidence.ts +0 -502
  386. package/types/tendermint/types/params.ts +0 -701
  387. package/types/tendermint/types/types.ts +0 -2133
  388. package/types/tendermint/types/validator.ts +0 -424
  389. package/types/tendermint/version/types.ts +0 -218
  390. package/types.d.ts +0 -21
@@ -1,340 +0,0 @@
1
- import axios, { AxiosInstance, AxiosRequestConfig, AxiosResponse, ResponseType } from "axios";
2
- import { QueryBalanceResponse } from "../types/cosmos/nft/v1beta1/query";
3
- import { QueryOwnerResponse } from "../types/cosmos/nft/v1beta1/query";
4
- import { QuerySupplyResponse } from "../types/cosmos/nft/v1beta1/query";
5
- import { QueryNFTsResponse } from "../types/cosmos/nft/v1beta1/query";
6
- import { QueryNFTResponse } from "../types/cosmos/nft/v1beta1/query";
7
- import { QueryClassResponse } from "../types/cosmos/nft/v1beta1/query";
8
- import { QueryClassesResponse } from "../types/cosmos/nft/v1beta1/query";
9
-
10
- import { QueryBalanceRequest } from "../types/cosmos/nft/v1beta1/query";
11
- import { QueryOwnerRequest } from "../types/cosmos/nft/v1beta1/query";
12
- import { QuerySupplyRequest } from "../types/cosmos/nft/v1beta1/query";
13
- import { QueryNFTsRequest } from "../types/cosmos/nft/v1beta1/query";
14
- import { QueryNFTRequest } from "../types/cosmos/nft/v1beta1/query";
15
- import { QueryClassRequest } from "../types/cosmos/nft/v1beta1/query";
16
- import { QueryClassesRequest } from "../types/cosmos/nft/v1beta1/query";
17
-
18
-
19
- import type {SnakeCasedPropertiesDeep} from 'type-fest';
20
-
21
- export type QueryParamsType = Record<string | number, any>;
22
-
23
- export type FlattenObject<TValue> = CollapseEntries<CreateObjectEntries<TValue, TValue>>;
24
-
25
- type Entry = { key: string; value: unknown };
26
- type EmptyEntry<TValue> = { key: ''; value: TValue };
27
- type ExcludedTypes = Date | Set<unknown> | Map<unknown, unknown>;
28
- type ArrayEncoder = `[${bigint}]`;
29
-
30
- type EscapeArrayKey<TKey extends string> = TKey extends `${infer TKeyBefore}.${ArrayEncoder}${infer TKeyAfter}`
31
- ? EscapeArrayKey<`${TKeyBefore}${ArrayEncoder}${TKeyAfter}`>
32
- : TKey;
33
-
34
- // Transforms entries to one flattened type
35
- type CollapseEntries<TEntry extends Entry> = {
36
- [E in TEntry as EscapeArrayKey<E['key']>]: E['value'];
37
- };
38
-
39
- // Transforms array type to object
40
- type CreateArrayEntry<TValue, TValueInitial> = OmitItself<
41
- TValue extends unknown[] ? { [k: ArrayEncoder]: TValue[number] } : TValue,
42
- TValueInitial
43
- >;
44
-
45
- // Omit the type that references itself
46
- type OmitItself<TValue, TValueInitial> = TValue extends TValueInitial
47
- ? EmptyEntry<TValue>
48
- : OmitExcludedTypes<TValue, TValueInitial>;
49
-
50
- // Omit the type that is listed in ExcludedTypes union
51
- type OmitExcludedTypes<TValue, TValueInitial> = TValue extends ExcludedTypes
52
- ? EmptyEntry<TValue>
53
- : CreateObjectEntries<TValue, TValueInitial>;
54
-
55
- type CreateObjectEntries<TValue, TValueInitial> = TValue extends object
56
- ? {
57
- // Checks that Key is of type string
58
- [TKey in keyof TValue]-?: TKey extends string
59
- ? // Nested key can be an object, run recursively to the bottom
60
- CreateArrayEntry<TValue[TKey], TValueInitial> extends infer TNestedValue
61
- ? TNestedValue extends Entry
62
- ? TNestedValue['key'] extends ''
63
- ? {
64
- key: TKey;
65
- value: TNestedValue['value'];
66
- }
67
- :
68
- | {
69
- key: `${TKey}.${TNestedValue['key']}`;
70
- value: TNestedValue['value'];
71
- }
72
- | {
73
- key: TKey;
74
- value: TValue[TKey];
75
- }
76
- : never
77
- : never
78
- : never;
79
- }[keyof TValue] // Builds entry for each key
80
- : EmptyEntry<TValue>;
81
-
82
- export type ChangeProtoToJSPrimitives<T extends object> = {
83
- [key in keyof T]: T[key] extends Uint8Array | Date ? string : T[key] extends object ? ChangeProtoToJSPrimitives<T[key]>: T[key];
84
- // ^^^^ This line is used to convert Uint8Array to string, if you want to keep Uint8Array as is, you can remove this line
85
- }
86
-
87
- export interface FullRequestParams extends Omit<AxiosRequestConfig, "data" | "params" | "url" | "responseType"> {
88
- /** set parameter to `true` for call `securityWorker` for this request */
89
- secure?: boolean;
90
- /** request path */
91
- path: string;
92
- /** content type of request body */
93
- type?: ContentType;
94
- /** query params */
95
- query?: QueryParamsType;
96
- /** format of response (i.e. response.json() -> format: "json") */
97
- format?: ResponseType;
98
- /** request body */
99
- body?: unknown;
100
- }
101
-
102
- export type RequestParams = Omit<FullRequestParams, "body" | "method" | "query" | "path">;
103
-
104
- export interface ApiConfig<SecurityDataType = unknown> extends Omit<AxiosRequestConfig, "data" | "cancelToken"> {
105
- securityWorker?: (
106
- securityData: SecurityDataType | null,
107
- ) => Promise<AxiosRequestConfig | void> | AxiosRequestConfig | void;
108
- secure?: boolean;
109
- format?: ResponseType;
110
- }
111
-
112
- export enum ContentType {
113
- Json = "application/json",
114
- FormData = "multipart/form-data",
115
- UrlEncoded = "application/x-www-form-urlencoded",
116
- }
117
-
118
- export class HttpClient<SecurityDataType = unknown> {
119
- public instance: AxiosInstance;
120
- private securityData: SecurityDataType | null = null;
121
- private securityWorker?: ApiConfig<SecurityDataType>["securityWorker"];
122
- private secure?: boolean;
123
- private format?: ResponseType;
124
-
125
- constructor({ securityWorker, secure, format, ...axiosConfig }: ApiConfig<SecurityDataType> = {}) {
126
- this.instance = axios.create({ ...axiosConfig, baseURL: axiosConfig.baseURL || "" });
127
- this.secure = secure;
128
- this.format = format;
129
- this.securityWorker = securityWorker;
130
- }
131
-
132
- public setSecurityData = (data: SecurityDataType | null) => {
133
- this.securityData = data;
134
- };
135
-
136
- private mergeRequestParams(params1: AxiosRequestConfig, params2?: AxiosRequestConfig): AxiosRequestConfig {
137
- return {
138
- ...this.instance.defaults,
139
- ...params1,
140
- ...(params2 || {}),
141
- headers: {
142
- ...(this.instance.defaults.headers ),
143
- ...(params1.headers || {}),
144
- ...((params2 && params2.headers) || {}),
145
- },
146
- } as AxiosRequestConfig;
147
- }
148
-
149
- private createFormData(input: Record<string, unknown>): FormData {
150
- return Object.keys(input || {}).reduce((formData, key) => {
151
- const property = input[key];
152
- formData.append(
153
- key,
154
- property instanceof Blob
155
- ? property
156
- : typeof property === "object" && property !== null
157
- ? JSON.stringify(property)
158
- : `${property}`,
159
- );
160
- return formData;
161
- }, new FormData());
162
- }
163
-
164
- public request = async <T = any>({
165
- secure,
166
- path,
167
- type,
168
- query,
169
- format,
170
- body,
171
- ...params
172
- }: FullRequestParams): Promise<AxiosResponse<T>> => {
173
- const secureParams =
174
- ((typeof secure === "boolean" ? secure : this.secure) &&
175
- this.securityWorker &&
176
- (await this.securityWorker(this.securityData))) ||
177
- {};
178
- const requestParams = this.mergeRequestParams(params, secureParams);
179
- const responseFormat = (format && this.format) || void 0;
180
-
181
- if (type === ContentType.FormData && body && body !== null && typeof body === "object") {
182
- requestParams.headers.common = { Accept: "*/*" };
183
- requestParams.headers.post = {};
184
- requestParams.headers.put = {};
185
-
186
- body = this.createFormData(body as Record<string, unknown>);
187
- }
188
-
189
- return this.instance.request({
190
- ...requestParams,
191
- headers: {
192
- ...(type && type !== ContentType.FormData ? { "Content-Type": type } : {}),
193
- ...(requestParams.headers || {}),
194
- },
195
- params: query,
196
- responseType: responseFormat,
197
- data: body,
198
- url: path,
199
- });
200
- };
201
- }
202
-
203
- /**
204
- * @title cosmos.nft.v1beta1
205
- */
206
- export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDataType> {
207
- /**
208
- * QueryBalance
209
- *
210
- * @tags Query
211
- * @name queryBalance
212
- * @request GET:/cosmos/nft/v1beta1/balance/{owner}/{class_id}
213
- */
214
- queryBalance = (owner: string, class_id: string,
215
- query?: Record<string, any>,
216
- params: RequestParams = {},
217
- ) =>
218
- this.request<SnakeCasedPropertiesDeep<ChangeProtoToJSPrimitives<QueryBalanceResponse>>>({
219
- path: `/cosmos/nft/v1beta1/balance/${owner}/${class_id}`,
220
- method: "GET",
221
- query: query,
222
- format: "json",
223
- ...params,
224
- });
225
-
226
- /**
227
- * QueryOwner
228
- *
229
- * @tags Query
230
- * @name queryOwner
231
- * @request GET:/cosmos/nft/v1beta1/owner/{class_id}/{id}
232
- */
233
- queryOwner = (class_id: string, id: string,
234
- query?: Record<string, any>,
235
- params: RequestParams = {},
236
- ) =>
237
- this.request<SnakeCasedPropertiesDeep<ChangeProtoToJSPrimitives<QueryOwnerResponse>>>({
238
- path: `/cosmos/nft/v1beta1/owner/${class_id}/${id}`,
239
- method: "GET",
240
- query: query,
241
- format: "json",
242
- ...params,
243
- });
244
-
245
- /**
246
- * QuerySupply
247
- *
248
- * @tags Query
249
- * @name querySupply
250
- * @request GET:/cosmos/nft/v1beta1/supply/{class_id}
251
- */
252
- querySupply = (class_id: string,
253
- query?: Record<string, any>,
254
- params: RequestParams = {},
255
- ) =>
256
- this.request<SnakeCasedPropertiesDeep<ChangeProtoToJSPrimitives<QuerySupplyResponse>>>({
257
- path: `/cosmos/nft/v1beta1/supply/${class_id}`,
258
- method: "GET",
259
- query: query,
260
- format: "json",
261
- ...params,
262
- });
263
-
264
- /**
265
- * QueryNFTs
266
- *
267
- * @tags Query
268
- * @name queryNfts
269
- * @request GET:/cosmos/nft/v1beta1/nfts
270
- */
271
- queryNfts = (
272
- query?: Omit<FlattenObject<SnakeCasedPropertiesDeep<ChangeProtoToJSPrimitives<QueryNFTsRequest>>>,"">,
273
- params: RequestParams = {},
274
- ) =>
275
- this.request<SnakeCasedPropertiesDeep<ChangeProtoToJSPrimitives<QueryNFTsResponse>>>({
276
- path: `/cosmos/nft/v1beta1/nfts`,
277
- method: "GET",
278
- query: query,
279
- format: "json",
280
- ...params,
281
- });
282
-
283
- /**
284
- * QueryNFT
285
- *
286
- * @tags Query
287
- * @name queryNft
288
- * @request GET:/cosmos/nft/v1beta1/nfts/{class_id}/{id}
289
- */
290
- queryNft = (class_id: string, id: string,
291
- query?: Record<string, any>,
292
- params: RequestParams = {},
293
- ) =>
294
- this.request<SnakeCasedPropertiesDeep<ChangeProtoToJSPrimitives<QueryNFTResponse>>>({
295
- path: `/cosmos/nft/v1beta1/nfts/${class_id}/${id}`,
296
- method: "GET",
297
- query: query,
298
- format: "json",
299
- ...params,
300
- });
301
-
302
- /**
303
- * QueryClass
304
- *
305
- * @tags Query
306
- * @name queryClass
307
- * @request GET:/cosmos/nft/v1beta1/classes/{class_id}
308
- */
309
- queryClass = (class_id: string,
310
- query?: Record<string, any>,
311
- params: RequestParams = {},
312
- ) =>
313
- this.request<SnakeCasedPropertiesDeep<ChangeProtoToJSPrimitives<QueryClassResponse>>>({
314
- path: `/cosmos/nft/v1beta1/classes/${class_id}`,
315
- method: "GET",
316
- query: query,
317
- format: "json",
318
- ...params,
319
- });
320
-
321
- /**
322
- * QueryClasses
323
- *
324
- * @tags Query
325
- * @name queryClasses
326
- * @request GET:/cosmos/nft/v1beta1/classes
327
- */
328
- queryClasses = (
329
- query?: Omit<FlattenObject<SnakeCasedPropertiesDeep<ChangeProtoToJSPrimitives<QueryClassesRequest>>>,"">,
330
- params: RequestParams = {},
331
- ) =>
332
- this.request<SnakeCasedPropertiesDeep<ChangeProtoToJSPrimitives<QueryClassesResponse>>>({
333
- path: `/cosmos/nft/v1beta1/classes`,
334
- method: "GET",
335
- query: query,
336
- format: "json",
337
- ...params,
338
- });
339
-
340
- }
@@ -1,17 +0,0 @@
1
- import { EventSend } from "../types/cosmos/nft/v1beta1/event"
2
- import { EventMint } from "../types/cosmos/nft/v1beta1/event"
3
- import { EventBurn } from "../types/cosmos/nft/v1beta1/event"
4
- import { Entry } from "../types/cosmos/nft/v1beta1/genesis"
5
- import { Class } from "../types/cosmos/nft/v1beta1/nft"
6
- import { NFT } from "../types/cosmos/nft/v1beta1/nft"
7
-
8
-
9
- export {
10
- EventSend,
11
- EventMint,
12
- EventBurn,
13
- Entry,
14
- Class,
15
- NFT,
16
-
17
- }
@@ -1,6 +0,0 @@
1
- import IgntModule from './module';
2
- import { txClient, queryClient, registry } from './module';
3
- import { msgTypes } from './registry';
4
-
5
- export * from "./types";
6
- export { IgntModule, msgTypes, txClient, queryClient, registry };
@@ -1,101 +0,0 @@
1
- // Generated by Ignite ignite.com/cli
2
-
3
- import { SigningStargateClient, DeliverTxResponse, StdFee } from "@cosmjs/stargate";
4
- import { EncodeObject, GeneratedType, OfflineSigner, Registry } from "@cosmjs/proto-signing";
5
- import { msgTypes } from './registry';
6
- import { IgniteClient } from "../client"
7
- import { MissingWalletError } from "../helpers"
8
- import { Api } from "./rest";
9
-
10
- import { ParameterChangeProposal as typeParameterChangeProposal} from "./types"
11
- import { ParamChange as typeParamChange} from "./types"
12
- import { Subspace as typeSubspace} from "./types"
13
-
14
- export { };
15
-
16
-
17
-
18
- export const registry = new Registry(msgTypes);
19
-
20
- type Field = {
21
- name: string;
22
- type: unknown;
23
- }
24
- function getStructure(template) {
25
- const structure: {fields: Field[]} = { fields: [] }
26
- for (let [key, value] of Object.entries(template)) {
27
- let field = { name: key, type: typeof value }
28
- structure.fields.push(field)
29
- }
30
- return structure
31
- }
32
- const defaultFee = {
33
- amount: [],
34
- gas: "200000",
35
- };
36
-
37
- interface TxClientOptions {
38
- addr: string
39
- prefix: string
40
- signer?: OfflineSigner
41
- }
42
-
43
- export const txClient = ({ signer, prefix, addr }: TxClientOptions = { addr: "http://localhost:26657", prefix: "cosmos" }) => {
44
-
45
- return {
46
-
47
-
48
- }
49
- };
50
-
51
- interface QueryClientOptions {
52
- addr: string
53
- }
54
-
55
- export const queryClient = ({ addr: addr }: QueryClientOptions = { addr: "http://localhost:1317" }) => {
56
- return new Api({ baseURL: addr });
57
- };
58
-
59
- class SDKModule {
60
- public query: ReturnType<typeof queryClient>;
61
- public tx: ReturnType<typeof txClient>;
62
- public structure: Record<string,unknown>;
63
- public registry: Array<[string, GeneratedType]> = [];
64
-
65
- constructor(client: IgniteClient) {
66
-
67
- this.query = queryClient({ addr: client.env.apiURL });
68
- this.updateTX(client);
69
- this.structure = {
70
- ParameterChangeProposal: getStructure(typeParameterChangeProposal.fromPartial({})),
71
- ParamChange: getStructure(typeParamChange.fromPartial({})),
72
- Subspace: getStructure(typeSubspace.fromPartial({})),
73
-
74
- };
75
- client.on('signer-changed',(signer) => {
76
- this.updateTX(client);
77
- })
78
- }
79
- updateTX(client: IgniteClient) {
80
- const methods = txClient({
81
- signer: client.signer,
82
- addr: client.env.rpcURL,
83
- prefix: client.env.prefix ?? "cosmos",
84
- })
85
-
86
- this.tx = methods;
87
- for (let m in methods) {
88
- this.tx[m] = methods[m].bind(this.tx);
89
- }
90
- }
91
- };
92
-
93
- const IgntModule = (test: IgniteClient) => {
94
- return {
95
- module: {
96
- CosmosParamsV_1Beta_1: new SDKModule(test)
97
- },
98
- registry: msgTypes
99
- }
100
- }
101
- export default IgntModule;
@@ -1,7 +0,0 @@
1
- import { GeneratedType } from "@cosmjs/proto-signing";
2
-
3
- const msgTypes: Array<[string, GeneratedType]> = [
4
-
5
- ];
6
-
7
- export { msgTypes }