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,544 +0,0 @@
1
- // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
2
- // versions:
3
- // protoc-gen-ts_proto v2.6.1
4
- // protoc unknown
5
- // source: cardchain/cardchain/params.proto
6
-
7
- /* eslint-disable */
8
- import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
9
- import { Coin } from "../../cosmos/base/v1beta1/coin";
10
-
11
- export const protobufPackage = "cardchain.cardchain";
12
-
13
- /** Params defines the parameters for the module. */
14
- export interface Params {
15
- votingRightsExpirationTime: number;
16
- setSize: number;
17
- setPrice: Coin | undefined;
18
- activeSetsAmount: number;
19
- setCreationFee: Coin | undefined;
20
- collateralDeposit: Coin | undefined;
21
- winnerReward: number;
22
- hourlyFaucet: Coin | undefined;
23
- inflationRate: string;
24
- raresPerPack: number;
25
- commonsPerPack: number;
26
- unCommonsPerPack: number;
27
- trialPeriod: number;
28
- gameVoteRatio: number;
29
- cardAuctionPriceReductionPeriod: number;
30
- airDropValue: Coin | undefined;
31
- airDropMaxBlockHeight: number;
32
- trialVoteReward: Coin | undefined;
33
- votePoolFraction: number;
34
- votingRewardCap: number;
35
- matchWorkerDelay: number;
36
- rareDropRatio: number;
37
- exceptionalDropRatio: number;
38
- uniqueDropRatio: number;
39
- }
40
-
41
- function createBaseParams(): Params {
42
- return {
43
- votingRightsExpirationTime: 0,
44
- setSize: 0,
45
- setPrice: undefined,
46
- activeSetsAmount: 0,
47
- setCreationFee: undefined,
48
- collateralDeposit: undefined,
49
- winnerReward: 0,
50
- hourlyFaucet: undefined,
51
- inflationRate: "",
52
- raresPerPack: 0,
53
- commonsPerPack: 0,
54
- unCommonsPerPack: 0,
55
- trialPeriod: 0,
56
- gameVoteRatio: 0,
57
- cardAuctionPriceReductionPeriod: 0,
58
- airDropValue: undefined,
59
- airDropMaxBlockHeight: 0,
60
- trialVoteReward: undefined,
61
- votePoolFraction: 0,
62
- votingRewardCap: 0,
63
- matchWorkerDelay: 0,
64
- rareDropRatio: 0,
65
- exceptionalDropRatio: 0,
66
- uniqueDropRatio: 0,
67
- };
68
- }
69
-
70
- export const Params: MessageFns<Params> = {
71
- encode(message: Params, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {
72
- if (message.votingRightsExpirationTime !== 0) {
73
- writer.uint32(8).int64(message.votingRightsExpirationTime);
74
- }
75
- if (message.setSize !== 0) {
76
- writer.uint32(16).uint64(message.setSize);
77
- }
78
- if (message.setPrice !== undefined) {
79
- Coin.encode(message.setPrice, writer.uint32(26).fork()).join();
80
- }
81
- if (message.activeSetsAmount !== 0) {
82
- writer.uint32(32).uint64(message.activeSetsAmount);
83
- }
84
- if (message.setCreationFee !== undefined) {
85
- Coin.encode(message.setCreationFee, writer.uint32(42).fork()).join();
86
- }
87
- if (message.collateralDeposit !== undefined) {
88
- Coin.encode(message.collateralDeposit, writer.uint32(50).fork()).join();
89
- }
90
- if (message.winnerReward !== 0) {
91
- writer.uint32(56).int64(message.winnerReward);
92
- }
93
- if (message.hourlyFaucet !== undefined) {
94
- Coin.encode(message.hourlyFaucet, writer.uint32(74).fork()).join();
95
- }
96
- if (message.inflationRate !== "") {
97
- writer.uint32(82).string(message.inflationRate);
98
- }
99
- if (message.raresPerPack !== 0) {
100
- writer.uint32(88).uint64(message.raresPerPack);
101
- }
102
- if (message.commonsPerPack !== 0) {
103
- writer.uint32(96).uint64(message.commonsPerPack);
104
- }
105
- if (message.unCommonsPerPack !== 0) {
106
- writer.uint32(104).uint64(message.unCommonsPerPack);
107
- }
108
- if (message.trialPeriod !== 0) {
109
- writer.uint32(112).uint64(message.trialPeriod);
110
- }
111
- if (message.gameVoteRatio !== 0) {
112
- writer.uint32(120).int64(message.gameVoteRatio);
113
- }
114
- if (message.cardAuctionPriceReductionPeriod !== 0) {
115
- writer.uint32(128).int64(message.cardAuctionPriceReductionPeriod);
116
- }
117
- if (message.airDropValue !== undefined) {
118
- Coin.encode(message.airDropValue, writer.uint32(138).fork()).join();
119
- }
120
- if (message.airDropMaxBlockHeight !== 0) {
121
- writer.uint32(144).int64(message.airDropMaxBlockHeight);
122
- }
123
- if (message.trialVoteReward !== undefined) {
124
- Coin.encode(message.trialVoteReward, writer.uint32(154).fork()).join();
125
- }
126
- if (message.votePoolFraction !== 0) {
127
- writer.uint32(160).int64(message.votePoolFraction);
128
- }
129
- if (message.votingRewardCap !== 0) {
130
- writer.uint32(64).int64(message.votingRewardCap);
131
- }
132
- if (message.matchWorkerDelay !== 0) {
133
- writer.uint32(168).uint64(message.matchWorkerDelay);
134
- }
135
- if (message.rareDropRatio !== 0) {
136
- writer.uint32(176).uint64(message.rareDropRatio);
137
- }
138
- if (message.exceptionalDropRatio !== 0) {
139
- writer.uint32(184).uint64(message.exceptionalDropRatio);
140
- }
141
- if (message.uniqueDropRatio !== 0) {
142
- writer.uint32(192).uint64(message.uniqueDropRatio);
143
- }
144
- return writer;
145
- },
146
-
147
- decode(input: BinaryReader | Uint8Array, length?: number): Params {
148
- const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
149
- let end = length === undefined ? reader.len : reader.pos + length;
150
- const message = createBaseParams();
151
- while (reader.pos < end) {
152
- const tag = reader.uint32();
153
- switch (tag >>> 3) {
154
- case 1: {
155
- if (tag !== 8) {
156
- break;
157
- }
158
-
159
- message.votingRightsExpirationTime = longToNumber(reader.int64());
160
- continue;
161
- }
162
- case 2: {
163
- if (tag !== 16) {
164
- break;
165
- }
166
-
167
- message.setSize = longToNumber(reader.uint64());
168
- continue;
169
- }
170
- case 3: {
171
- if (tag !== 26) {
172
- break;
173
- }
174
-
175
- message.setPrice = Coin.decode(reader, reader.uint32());
176
- continue;
177
- }
178
- case 4: {
179
- if (tag !== 32) {
180
- break;
181
- }
182
-
183
- message.activeSetsAmount = longToNumber(reader.uint64());
184
- continue;
185
- }
186
- case 5: {
187
- if (tag !== 42) {
188
- break;
189
- }
190
-
191
- message.setCreationFee = Coin.decode(reader, reader.uint32());
192
- continue;
193
- }
194
- case 6: {
195
- if (tag !== 50) {
196
- break;
197
- }
198
-
199
- message.collateralDeposit = Coin.decode(reader, reader.uint32());
200
- continue;
201
- }
202
- case 7: {
203
- if (tag !== 56) {
204
- break;
205
- }
206
-
207
- message.winnerReward = longToNumber(reader.int64());
208
- continue;
209
- }
210
- case 9: {
211
- if (tag !== 74) {
212
- break;
213
- }
214
-
215
- message.hourlyFaucet = Coin.decode(reader, reader.uint32());
216
- continue;
217
- }
218
- case 10: {
219
- if (tag !== 82) {
220
- break;
221
- }
222
-
223
- message.inflationRate = reader.string();
224
- continue;
225
- }
226
- case 11: {
227
- if (tag !== 88) {
228
- break;
229
- }
230
-
231
- message.raresPerPack = longToNumber(reader.uint64());
232
- continue;
233
- }
234
- case 12: {
235
- if (tag !== 96) {
236
- break;
237
- }
238
-
239
- message.commonsPerPack = longToNumber(reader.uint64());
240
- continue;
241
- }
242
- case 13: {
243
- if (tag !== 104) {
244
- break;
245
- }
246
-
247
- message.unCommonsPerPack = longToNumber(reader.uint64());
248
- continue;
249
- }
250
- case 14: {
251
- if (tag !== 112) {
252
- break;
253
- }
254
-
255
- message.trialPeriod = longToNumber(reader.uint64());
256
- continue;
257
- }
258
- case 15: {
259
- if (tag !== 120) {
260
- break;
261
- }
262
-
263
- message.gameVoteRatio = longToNumber(reader.int64());
264
- continue;
265
- }
266
- case 16: {
267
- if (tag !== 128) {
268
- break;
269
- }
270
-
271
- message.cardAuctionPriceReductionPeriod = longToNumber(reader.int64());
272
- continue;
273
- }
274
- case 17: {
275
- if (tag !== 138) {
276
- break;
277
- }
278
-
279
- message.airDropValue = Coin.decode(reader, reader.uint32());
280
- continue;
281
- }
282
- case 18: {
283
- if (tag !== 144) {
284
- break;
285
- }
286
-
287
- message.airDropMaxBlockHeight = longToNumber(reader.int64());
288
- continue;
289
- }
290
- case 19: {
291
- if (tag !== 154) {
292
- break;
293
- }
294
-
295
- message.trialVoteReward = Coin.decode(reader, reader.uint32());
296
- continue;
297
- }
298
- case 20: {
299
- if (tag !== 160) {
300
- break;
301
- }
302
-
303
- message.votePoolFraction = longToNumber(reader.int64());
304
- continue;
305
- }
306
- case 8: {
307
- if (tag !== 64) {
308
- break;
309
- }
310
-
311
- message.votingRewardCap = longToNumber(reader.int64());
312
- continue;
313
- }
314
- case 21: {
315
- if (tag !== 168) {
316
- break;
317
- }
318
-
319
- message.matchWorkerDelay = longToNumber(reader.uint64());
320
- continue;
321
- }
322
- case 22: {
323
- if (tag !== 176) {
324
- break;
325
- }
326
-
327
- message.rareDropRatio = longToNumber(reader.uint64());
328
- continue;
329
- }
330
- case 23: {
331
- if (tag !== 184) {
332
- break;
333
- }
334
-
335
- message.exceptionalDropRatio = longToNumber(reader.uint64());
336
- continue;
337
- }
338
- case 24: {
339
- if (tag !== 192) {
340
- break;
341
- }
342
-
343
- message.uniqueDropRatio = longToNumber(reader.uint64());
344
- continue;
345
- }
346
- }
347
- if ((tag & 7) === 4 || tag === 0) {
348
- break;
349
- }
350
- reader.skip(tag & 7);
351
- }
352
- return message;
353
- },
354
-
355
- fromJSON(object: any): Params {
356
- return {
357
- votingRightsExpirationTime: isSet(object.votingRightsExpirationTime)
358
- ? globalThis.Number(object.votingRightsExpirationTime)
359
- : 0,
360
- setSize: isSet(object.setSize) ? globalThis.Number(object.setSize) : 0,
361
- setPrice: isSet(object.setPrice) ? Coin.fromJSON(object.setPrice) : undefined,
362
- activeSetsAmount: isSet(object.activeSetsAmount) ? globalThis.Number(object.activeSetsAmount) : 0,
363
- setCreationFee: isSet(object.setCreationFee) ? Coin.fromJSON(object.setCreationFee) : undefined,
364
- collateralDeposit: isSet(object.collateralDeposit) ? Coin.fromJSON(object.collateralDeposit) : undefined,
365
- winnerReward: isSet(object.winnerReward) ? globalThis.Number(object.winnerReward) : 0,
366
- hourlyFaucet: isSet(object.hourlyFaucet) ? Coin.fromJSON(object.hourlyFaucet) : undefined,
367
- inflationRate: isSet(object.inflationRate) ? globalThis.String(object.inflationRate) : "",
368
- raresPerPack: isSet(object.raresPerPack) ? globalThis.Number(object.raresPerPack) : 0,
369
- commonsPerPack: isSet(object.commonsPerPack) ? globalThis.Number(object.commonsPerPack) : 0,
370
- unCommonsPerPack: isSet(object.unCommonsPerPack) ? globalThis.Number(object.unCommonsPerPack) : 0,
371
- trialPeriod: isSet(object.trialPeriod) ? globalThis.Number(object.trialPeriod) : 0,
372
- gameVoteRatio: isSet(object.gameVoteRatio) ? globalThis.Number(object.gameVoteRatio) : 0,
373
- cardAuctionPriceReductionPeriod: isSet(object.cardAuctionPriceReductionPeriod)
374
- ? globalThis.Number(object.cardAuctionPriceReductionPeriod)
375
- : 0,
376
- airDropValue: isSet(object.airDropValue) ? Coin.fromJSON(object.airDropValue) : undefined,
377
- airDropMaxBlockHeight: isSet(object.airDropMaxBlockHeight) ? globalThis.Number(object.airDropMaxBlockHeight) : 0,
378
- trialVoteReward: isSet(object.trialVoteReward) ? Coin.fromJSON(object.trialVoteReward) : undefined,
379
- votePoolFraction: isSet(object.votePoolFraction) ? globalThis.Number(object.votePoolFraction) : 0,
380
- votingRewardCap: isSet(object.votingRewardCap) ? globalThis.Number(object.votingRewardCap) : 0,
381
- matchWorkerDelay: isSet(object.matchWorkerDelay) ? globalThis.Number(object.matchWorkerDelay) : 0,
382
- rareDropRatio: isSet(object.rareDropRatio) ? globalThis.Number(object.rareDropRatio) : 0,
383
- exceptionalDropRatio: isSet(object.exceptionalDropRatio) ? globalThis.Number(object.exceptionalDropRatio) : 0,
384
- uniqueDropRatio: isSet(object.uniqueDropRatio) ? globalThis.Number(object.uniqueDropRatio) : 0,
385
- };
386
- },
387
-
388
- toJSON(message: Params): unknown {
389
- const obj: any = {};
390
- if (message.votingRightsExpirationTime !== 0) {
391
- obj.votingRightsExpirationTime = Math.round(message.votingRightsExpirationTime);
392
- }
393
- if (message.setSize !== 0) {
394
- obj.setSize = Math.round(message.setSize);
395
- }
396
- if (message.setPrice !== undefined) {
397
- obj.setPrice = Coin.toJSON(message.setPrice);
398
- }
399
- if (message.activeSetsAmount !== 0) {
400
- obj.activeSetsAmount = Math.round(message.activeSetsAmount);
401
- }
402
- if (message.setCreationFee !== undefined) {
403
- obj.setCreationFee = Coin.toJSON(message.setCreationFee);
404
- }
405
- if (message.collateralDeposit !== undefined) {
406
- obj.collateralDeposit = Coin.toJSON(message.collateralDeposit);
407
- }
408
- if (message.winnerReward !== 0) {
409
- obj.winnerReward = Math.round(message.winnerReward);
410
- }
411
- if (message.hourlyFaucet !== undefined) {
412
- obj.hourlyFaucet = Coin.toJSON(message.hourlyFaucet);
413
- }
414
- if (message.inflationRate !== "") {
415
- obj.inflationRate = message.inflationRate;
416
- }
417
- if (message.raresPerPack !== 0) {
418
- obj.raresPerPack = Math.round(message.raresPerPack);
419
- }
420
- if (message.commonsPerPack !== 0) {
421
- obj.commonsPerPack = Math.round(message.commonsPerPack);
422
- }
423
- if (message.unCommonsPerPack !== 0) {
424
- obj.unCommonsPerPack = Math.round(message.unCommonsPerPack);
425
- }
426
- if (message.trialPeriod !== 0) {
427
- obj.trialPeriod = Math.round(message.trialPeriod);
428
- }
429
- if (message.gameVoteRatio !== 0) {
430
- obj.gameVoteRatio = Math.round(message.gameVoteRatio);
431
- }
432
- if (message.cardAuctionPriceReductionPeriod !== 0) {
433
- obj.cardAuctionPriceReductionPeriod = Math.round(message.cardAuctionPriceReductionPeriod);
434
- }
435
- if (message.airDropValue !== undefined) {
436
- obj.airDropValue = Coin.toJSON(message.airDropValue);
437
- }
438
- if (message.airDropMaxBlockHeight !== 0) {
439
- obj.airDropMaxBlockHeight = Math.round(message.airDropMaxBlockHeight);
440
- }
441
- if (message.trialVoteReward !== undefined) {
442
- obj.trialVoteReward = Coin.toJSON(message.trialVoteReward);
443
- }
444
- if (message.votePoolFraction !== 0) {
445
- obj.votePoolFraction = Math.round(message.votePoolFraction);
446
- }
447
- if (message.votingRewardCap !== 0) {
448
- obj.votingRewardCap = Math.round(message.votingRewardCap);
449
- }
450
- if (message.matchWorkerDelay !== 0) {
451
- obj.matchWorkerDelay = Math.round(message.matchWorkerDelay);
452
- }
453
- if (message.rareDropRatio !== 0) {
454
- obj.rareDropRatio = Math.round(message.rareDropRatio);
455
- }
456
- if (message.exceptionalDropRatio !== 0) {
457
- obj.exceptionalDropRatio = Math.round(message.exceptionalDropRatio);
458
- }
459
- if (message.uniqueDropRatio !== 0) {
460
- obj.uniqueDropRatio = Math.round(message.uniqueDropRatio);
461
- }
462
- return obj;
463
- },
464
-
465
- create<I extends Exact<DeepPartial<Params>, I>>(base?: I): Params {
466
- return Params.fromPartial(base ?? ({} as any));
467
- },
468
- fromPartial<I extends Exact<DeepPartial<Params>, I>>(object: I): Params {
469
- const message = createBaseParams();
470
- message.votingRightsExpirationTime = object.votingRightsExpirationTime ?? 0;
471
- message.setSize = object.setSize ?? 0;
472
- message.setPrice = (object.setPrice !== undefined && object.setPrice !== null)
473
- ? Coin.fromPartial(object.setPrice)
474
- : undefined;
475
- message.activeSetsAmount = object.activeSetsAmount ?? 0;
476
- message.setCreationFee = (object.setCreationFee !== undefined && object.setCreationFee !== null)
477
- ? Coin.fromPartial(object.setCreationFee)
478
- : undefined;
479
- message.collateralDeposit = (object.collateralDeposit !== undefined && object.collateralDeposit !== null)
480
- ? Coin.fromPartial(object.collateralDeposit)
481
- : undefined;
482
- message.winnerReward = object.winnerReward ?? 0;
483
- message.hourlyFaucet = (object.hourlyFaucet !== undefined && object.hourlyFaucet !== null)
484
- ? Coin.fromPartial(object.hourlyFaucet)
485
- : undefined;
486
- message.inflationRate = object.inflationRate ?? "";
487
- message.raresPerPack = object.raresPerPack ?? 0;
488
- message.commonsPerPack = object.commonsPerPack ?? 0;
489
- message.unCommonsPerPack = object.unCommonsPerPack ?? 0;
490
- message.trialPeriod = object.trialPeriod ?? 0;
491
- message.gameVoteRatio = object.gameVoteRatio ?? 0;
492
- message.cardAuctionPriceReductionPeriod = object.cardAuctionPriceReductionPeriod ?? 0;
493
- message.airDropValue = (object.airDropValue !== undefined && object.airDropValue !== null)
494
- ? Coin.fromPartial(object.airDropValue)
495
- : undefined;
496
- message.airDropMaxBlockHeight = object.airDropMaxBlockHeight ?? 0;
497
- message.trialVoteReward = (object.trialVoteReward !== undefined && object.trialVoteReward !== null)
498
- ? Coin.fromPartial(object.trialVoteReward)
499
- : undefined;
500
- message.votePoolFraction = object.votePoolFraction ?? 0;
501
- message.votingRewardCap = object.votingRewardCap ?? 0;
502
- message.matchWorkerDelay = object.matchWorkerDelay ?? 0;
503
- message.rareDropRatio = object.rareDropRatio ?? 0;
504
- message.exceptionalDropRatio = object.exceptionalDropRatio ?? 0;
505
- message.uniqueDropRatio = object.uniqueDropRatio ?? 0;
506
- return message;
507
- },
508
- };
509
-
510
- type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
511
-
512
- export type DeepPartial<T> = T extends Builtin ? T
513
- : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>>
514
- : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>>
515
- : T extends {} ? { [K in keyof T]?: DeepPartial<T[K]> }
516
- : Partial<T>;
517
-
518
- type KeysOfUnion<T> = T extends T ? keyof T : never;
519
- export type Exact<P, I extends P> = P extends Builtin ? P
520
- : P & { [K in keyof P]: Exact<P[K], I[K]> } & { [K in Exclude<keyof I, KeysOfUnion<P>>]: never };
521
-
522
- function longToNumber(int64: { toString(): string }): number {
523
- const num = globalThis.Number(int64.toString());
524
- if (num > globalThis.Number.MAX_SAFE_INTEGER) {
525
- throw new globalThis.Error("Value is larger than Number.MAX_SAFE_INTEGER");
526
- }
527
- if (num < globalThis.Number.MIN_SAFE_INTEGER) {
528
- throw new globalThis.Error("Value is smaller than Number.MIN_SAFE_INTEGER");
529
- }
530
- return num;
531
- }
532
-
533
- function isSet(value: any): boolean {
534
- return value !== null && value !== undefined;
535
- }
536
-
537
- export interface MessageFns<T> {
538
- encode(message: T, writer?: BinaryWriter): BinaryWriter;
539
- decode(input: BinaryReader | Uint8Array, length?: number): T;
540
- fromJSON(object: any): T;
541
- toJSON(message: T): unknown;
542
- create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
543
- fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
544
- }