carbon-js-sdk 0.11.20 → 0.11.21

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 (1842) hide show
  1. package/README.md +85 -85
  2. package/lib/CarbonSDK.d.ts +159 -159
  3. package/lib/CarbonSDK.js +466 -470
  4. package/lib/clients/AxelarBridgeClient.d.ts +28 -28
  5. package/lib/clients/AxelarBridgeClient.js +37 -37
  6. package/lib/clients/BatchQueryClient.d.ts +26 -26
  7. package/lib/clients/BatchQueryClient.js +100 -100
  8. package/lib/clients/BlockchainClient.d.ts +16 -16
  9. package/lib/clients/BlockchainClient.js +19 -19
  10. package/lib/clients/CarbonQueryClient.d.ts +118 -118
  11. package/lib/clients/CarbonQueryClient.js +120 -120
  12. package/lib/clients/ETHClient.d.ts +115 -115
  13. package/lib/clients/ETHClient.js +377 -377
  14. package/lib/clients/GasFee.d.ts +12 -12
  15. package/lib/clients/GasFee.js +31 -31
  16. package/lib/clients/GrpcQueryClient.d.ts +22 -22
  17. package/lib/clients/GrpcQueryClient.js +56 -56
  18. package/lib/clients/HydrogenClient.d.ts +31 -31
  19. package/lib/clients/HydrogenClient.js +184 -184
  20. package/lib/clients/InsightsQueryClient.d.ts +70 -70
  21. package/lib/clients/InsightsQueryClient.js +552 -552
  22. package/lib/clients/N3Client.d.ts +73 -73
  23. package/lib/clients/N3Client.js +287 -287
  24. package/lib/clients/NEOClient.d.ts +57 -57
  25. package/lib/clients/NEOClient.js +335 -339
  26. package/lib/clients/TokenClient.d.ts +90 -90
  27. package/lib/clients/TokenClient.js +757 -757
  28. package/lib/clients/ZILClient.d.ts +106 -106
  29. package/lib/clients/ZILClient.js +443 -443
  30. package/lib/clients/index.d.ts +10 -10
  31. package/lib/clients/index.js +26 -26
  32. package/lib/codec/Switcheo/carbon/adl/genesis.d.ts +18 -18
  33. package/lib/codec/Switcheo/carbon/adl/genesis.js +46 -46
  34. package/lib/codec/Switcheo/carbon/adl/query.d.ts +12 -12
  35. package/lib/codec/Switcheo/carbon/adl/query.js +20 -20
  36. package/lib/codec/Switcheo/carbon/adl/tx.d.ts +12 -12
  37. package/lib/codec/Switcheo/carbon/adl/tx.js +20 -20
  38. package/lib/codec/Switcheo/carbon/admin/export.d.ts +2 -2
  39. package/lib/codec/Switcheo/carbon/admin/export.js +13 -13
  40. package/lib/codec/Switcheo/carbon/admin/genesis.d.ts +18 -18
  41. package/lib/codec/Switcheo/carbon/admin/genesis.js +46 -46
  42. package/lib/codec/Switcheo/carbon/admin/query.d.ts +62 -62
  43. package/lib/codec/Switcheo/carbon/admin/query.js +186 -186
  44. package/lib/codec/Switcheo/carbon/admin/tx.d.ts +62 -62
  45. package/lib/codec/Switcheo/carbon/admin/tx.js +198 -198
  46. package/lib/codec/Switcheo/carbon/bank/event.d.ts +65 -65
  47. package/lib/codec/Switcheo/carbon/bank/event.js +332 -332
  48. package/lib/codec/Switcheo/carbon/bank/export.d.ts +3 -3
  49. package/lib/codec/Switcheo/carbon/bank/export.js +23 -23
  50. package/lib/codec/Switcheo/carbon/bank/genesis.d.ts +19 -19
  51. package/lib/codec/Switcheo/carbon/bank/genesis.js +63 -63
  52. package/lib/codec/Switcheo/carbon/bank/query.d.ts +122 -122
  53. package/lib/codec/Switcheo/carbon/bank/query.js +643 -643
  54. package/lib/codec/Switcheo/carbon/bank/tx.d.ts +63 -63
  55. package/lib/codec/Switcheo/carbon/bank/tx.js +210 -210
  56. package/lib/codec/Switcheo/carbon/book/book.d.ts +57 -57
  57. package/lib/codec/Switcheo/carbon/book/book.js +319 -319
  58. package/lib/codec/Switcheo/carbon/book/event.d.ts +41 -41
  59. package/lib/codec/Switcheo/carbon/book/event.js +195 -195
  60. package/lib/codec/Switcheo/carbon/book/export.d.ts +4 -4
  61. package/lib/codec/Switcheo/carbon/book/export.js +25 -25
  62. package/lib/codec/Switcheo/carbon/book/genesis.d.ts +25 -25
  63. package/lib/codec/Switcheo/carbon/book/genesis.js +79 -79
  64. package/lib/codec/Switcheo/carbon/book/legacy.d.ts +22 -22
  65. package/lib/codec/Switcheo/carbon/book/legacy.js +120 -120
  66. package/lib/codec/Switcheo/carbon/book/query.d.ts +147 -147
  67. package/lib/codec/Switcheo/carbon/book/query.js +618 -618
  68. package/lib/codec/Switcheo/carbon/book/tx.d.ts +12 -12
  69. package/lib/codec/Switcheo/carbon/book/tx.js +20 -20
  70. package/lib/codec/Switcheo/carbon/bridge/bridge.d.ts +97 -97
  71. package/lib/codec/Switcheo/carbon/bridge/bridge.js +596 -596
  72. package/lib/codec/Switcheo/carbon/bridge/event.d.ts +293 -293
  73. package/lib/codec/Switcheo/carbon/bridge/event.js +1851 -1851
  74. package/lib/codec/Switcheo/carbon/bridge/export.d.ts +6 -6
  75. package/lib/codec/Switcheo/carbon/bridge/export.js +131 -131
  76. package/lib/codec/Switcheo/carbon/bridge/genesis.d.ts +28 -28
  77. package/lib/codec/Switcheo/carbon/bridge/genesis.js +201 -201
  78. package/lib/codec/Switcheo/carbon/bridge/params.d.ts +47 -47
  79. package/lib/codec/Switcheo/carbon/bridge/params.js +136 -136
  80. package/lib/codec/Switcheo/carbon/bridge/pending_action.d.ts +94 -94
  81. package/lib/codec/Switcheo/carbon/bridge/pending_action.js +698 -698
  82. package/lib/codec/Switcheo/carbon/bridge/query.d.ts +291 -291
  83. package/lib/codec/Switcheo/carbon/bridge/query.js +1301 -1301
  84. package/lib/codec/Switcheo/carbon/bridge/tx.d.ts +810 -810
  85. package/lib/codec/Switcheo/carbon/bridge/tx.js +3970 -3970
  86. package/lib/codec/Switcheo/carbon/broker/amm.d.ts +48 -48
  87. package/lib/codec/Switcheo/carbon/broker/amm.js +312 -312
  88. package/lib/codec/Switcheo/carbon/broker/candlestick.d.ts +27 -27
  89. package/lib/codec/Switcheo/carbon/broker/candlestick.js +211 -211
  90. package/lib/codec/Switcheo/carbon/broker/event.d.ts +53 -53
  91. package/lib/codec/Switcheo/carbon/broker/event.js +485 -485
  92. package/lib/codec/Switcheo/carbon/broker/export.d.ts +7 -7
  93. package/lib/codec/Switcheo/carbon/broker/export.js +27 -27
  94. package/lib/codec/Switcheo/carbon/broker/genesis.d.ts +25 -25
  95. package/lib/codec/Switcheo/carbon/broker/genesis.js +79 -79
  96. package/lib/codec/Switcheo/carbon/broker/incoming_liquidations.d.ts +18 -18
  97. package/lib/codec/Switcheo/carbon/broker/incoming_liquidations.js +93 -93
  98. package/lib/codec/Switcheo/carbon/broker/pagination.d.ts +19 -19
  99. package/lib/codec/Switcheo/carbon/broker/pagination.js +78 -78
  100. package/lib/codec/Switcheo/carbon/broker/query.d.ts +107 -107
  101. package/lib/codec/Switcheo/carbon/broker/query.js +597 -597
  102. package/lib/codec/Switcheo/carbon/broker/tx.d.ts +53 -53
  103. package/lib/codec/Switcheo/carbon/broker/tx.js +176 -176
  104. package/lib/codec/Switcheo/carbon/btcx/denom_cross_chain_info.d.ts +21 -21
  105. package/lib/codec/Switcheo/carbon/btcx/denom_cross_chain_info.js +98 -98
  106. package/lib/codec/Switcheo/carbon/btcx/denom_info.d.ts +24 -24
  107. package/lib/codec/Switcheo/carbon/btcx/denom_info.js +140 -140
  108. package/lib/codec/Switcheo/carbon/btcx/export.d.ts +4 -4
  109. package/lib/codec/Switcheo/carbon/btcx/export.js +19 -19
  110. package/lib/codec/Switcheo/carbon/btcx/genesis.d.ts +18 -18
  111. package/lib/codec/Switcheo/carbon/btcx/genesis.js +46 -46
  112. package/lib/codec/Switcheo/carbon/btcx/query.d.ts +68 -68
  113. package/lib/codec/Switcheo/carbon/btcx/query.js +275 -275
  114. package/lib/codec/Switcheo/carbon/btcx/tx.d.ts +92 -92
  115. package/lib/codec/Switcheo/carbon/btcx/tx.js +436 -436
  116. package/lib/codec/Switcheo/carbon/ccm/export.d.ts +4 -4
  117. package/lib/codec/Switcheo/carbon/ccm/export.js +24 -24
  118. package/lib/codec/Switcheo/carbon/ccm/genesis.d.ts +119 -119
  119. package/lib/codec/Switcheo/carbon/ccm/genesis.js +604 -604
  120. package/lib/codec/Switcheo/carbon/ccm/params.d.ts +28 -28
  121. package/lib/codec/Switcheo/carbon/ccm/params.js +78 -78
  122. package/lib/codec/Switcheo/carbon/ccm/query.d.ts +75 -75
  123. package/lib/codec/Switcheo/carbon/ccm/query.js +284 -284
  124. package/lib/codec/Switcheo/carbon/ccm/tx.d.ts +101 -101
  125. package/lib/codec/Switcheo/carbon/ccm/tx.js +359 -359
  126. package/lib/codec/Switcheo/carbon/cdp/asset_params.d.ts +55 -55
  127. package/lib/codec/Switcheo/carbon/cdp/asset_params.js +396 -396
  128. package/lib/codec/Switcheo/carbon/cdp/cdp_liquidations.d.ts +32 -32
  129. package/lib/codec/Switcheo/carbon/cdp/cdp_liquidations.js +288 -288
  130. package/lib/codec/Switcheo/carbon/cdp/debt_info.d.ts +23 -23
  131. package/lib/codec/Switcheo/carbon/cdp/debt_info.js +158 -158
  132. package/lib/codec/Switcheo/carbon/cdp/e_mode_category.d.ts +23 -23
  133. package/lib/codec/Switcheo/carbon/cdp/e_mode_category.js +135 -135
  134. package/lib/codec/Switcheo/carbon/cdp/event.d.ts +424 -424
  135. package/lib/codec/Switcheo/carbon/cdp/event.js +2695 -2695
  136. package/lib/codec/Switcheo/carbon/cdp/export.d.ts +13 -13
  137. package/lib/codec/Switcheo/carbon/cdp/export.js +196 -196
  138. package/lib/codec/Switcheo/carbon/cdp/genesis.d.ts +134 -134
  139. package/lib/codec/Switcheo/carbon/cdp/genesis.js +823 -823
  140. package/lib/codec/Switcheo/carbon/cdp/params.d.ts +98 -98
  141. package/lib/codec/Switcheo/carbon/cdp/params.js +405 -405
  142. package/lib/codec/Switcheo/carbon/cdp/query.d.ts +669 -669
  143. package/lib/codec/Switcheo/carbon/cdp/query.js +3250 -3250
  144. package/lib/codec/Switcheo/carbon/cdp/rate_strategy_params.d.ts +26 -26
  145. package/lib/codec/Switcheo/carbon/cdp/rate_strategy_params.js +180 -180
  146. package/lib/codec/Switcheo/carbon/cdp/reward_scheme.d.ts +71 -71
  147. package/lib/codec/Switcheo/carbon/cdp/reward_scheme.js +550 -550
  148. package/lib/codec/Switcheo/carbon/cdp/stablecoin_debt_info.d.ts +22 -22
  149. package/lib/codec/Switcheo/carbon/cdp/stablecoin_debt_info.js +144 -144
  150. package/lib/codec/Switcheo/carbon/cdp/stablecoin_interest_info.d.ts +19 -19
  151. package/lib/codec/Switcheo/carbon/cdp/stablecoin_interest_info.js +99 -99
  152. package/lib/codec/Switcheo/carbon/cdp/tx.d.ts +831 -831
  153. package/lib/codec/Switcheo/carbon/cdp/tx.js +3889 -3889
  154. package/lib/codec/Switcheo/carbon/coin/bridge.d.ts +24 -24
  155. package/lib/codec/Switcheo/carbon/coin/bridge.js +151 -151
  156. package/lib/codec/Switcheo/carbon/coin/event.d.ts +143 -143
  157. package/lib/codec/Switcheo/carbon/coin/event.js +775 -775
  158. package/lib/codec/Switcheo/carbon/coin/export.d.ts +8 -8
  159. package/lib/codec/Switcheo/carbon/coin/export.js +111 -111
  160. package/lib/codec/Switcheo/carbon/coin/genesis.d.ts +42 -42
  161. package/lib/codec/Switcheo/carbon/coin/genesis.js +207 -207
  162. package/lib/codec/Switcheo/carbon/coin/group.d.ts +53 -53
  163. package/lib/codec/Switcheo/carbon/coin/group.js +230 -230
  164. package/lib/codec/Switcheo/carbon/coin/proposal.d.ts +21 -21
  165. package/lib/codec/Switcheo/carbon/coin/proposal.js +91 -91
  166. package/lib/codec/Switcheo/carbon/coin/query.d.ts +331 -331
  167. package/lib/codec/Switcheo/carbon/coin/query.js +1526 -1526
  168. package/lib/codec/Switcheo/carbon/coin/token.d.ts +104 -104
  169. package/lib/codec/Switcheo/carbon/coin/token.js +700 -700
  170. package/lib/codec/Switcheo/carbon/coin/tx.d.ts +611 -611
  171. package/lib/codec/Switcheo/carbon/coin/tx.js +3255 -3255
  172. package/lib/codec/Switcheo/carbon/erc20/erc20.d.ts +44 -44
  173. package/lib/codec/Switcheo/carbon/erc20/erc20.js +144 -144
  174. package/lib/codec/Switcheo/carbon/erc20/events.d.ts +82 -82
  175. package/lib/codec/Switcheo/carbon/erc20/events.js +330 -330
  176. package/lib/codec/Switcheo/carbon/erc20/export.d.ts +5 -5
  177. package/lib/codec/Switcheo/carbon/erc20/export.js +38 -38
  178. package/lib/codec/Switcheo/carbon/erc20/genesis.d.ts +24 -24
  179. package/lib/codec/Switcheo/carbon/erc20/genesis.js +81 -81
  180. package/lib/codec/Switcheo/carbon/erc20/params.d.ts +41 -41
  181. package/lib/codec/Switcheo/carbon/erc20/params.js +133 -133
  182. package/lib/codec/Switcheo/carbon/erc20/query.d.ts +120 -120
  183. package/lib/codec/Switcheo/carbon/erc20/query.js +333 -333
  184. package/lib/codec/Switcheo/carbon/erc20/tx.d.ts +251 -251
  185. package/lib/codec/Switcheo/carbon/erc20/tx.js +767 -767
  186. package/lib/codec/Switcheo/carbon/evmbank/export.d.ts +2 -2
  187. package/lib/codec/Switcheo/carbon/evmbank/export.js +8 -8
  188. package/lib/codec/Switcheo/carbon/evmbank/genesis.d.ts +32 -32
  189. package/lib/codec/Switcheo/carbon/evmbank/genesis.js +152 -152
  190. package/lib/codec/Switcheo/carbon/evmbank/query.d.ts +40 -40
  191. package/lib/codec/Switcheo/carbon/evmbank/query.js +116 -116
  192. package/lib/codec/Switcheo/carbon/evmcontract/evm_hooks.d.ts +67 -67
  193. package/lib/codec/Switcheo/carbon/evmcontract/evm_hooks.js +407 -407
  194. package/lib/codec/Switcheo/carbon/evmcontract/export.d.ts +4 -4
  195. package/lib/codec/Switcheo/carbon/evmcontract/export.js +30 -30
  196. package/lib/codec/Switcheo/carbon/evmcontract/genesis.d.ts +24 -24
  197. package/lib/codec/Switcheo/carbon/evmcontract/genesis.js +96 -96
  198. package/lib/codec/Switcheo/carbon/evmcontract/params.d.ts +28 -28
  199. package/lib/codec/Switcheo/carbon/evmcontract/params.js +111 -111
  200. package/lib/codec/Switcheo/carbon/evmcontract/query.d.ts +139 -139
  201. package/lib/codec/Switcheo/carbon/evmcontract/query.js +581 -581
  202. package/lib/codec/Switcheo/carbon/evmcontract/tx.d.ts +89 -89
  203. package/lib/codec/Switcheo/carbon/evmcontract/tx.js +346 -346
  204. package/lib/codec/Switcheo/carbon/evmmerge/address.d.ts +19 -19
  205. package/lib/codec/Switcheo/carbon/evmmerge/address.js +75 -75
  206. package/lib/codec/Switcheo/carbon/evmmerge/event.d.ts +20 -20
  207. package/lib/codec/Switcheo/carbon/evmmerge/event.js +90 -90
  208. package/lib/codec/Switcheo/carbon/evmmerge/export.d.ts +6 -6
  209. package/lib/codec/Switcheo/carbon/evmmerge/export.js +20 -20
  210. package/lib/codec/Switcheo/carbon/evmmerge/genesis.d.ts +48 -48
  211. package/lib/codec/Switcheo/carbon/evmmerge/genesis.js +216 -216
  212. package/lib/codec/Switcheo/carbon/evmmerge/offchain.d.ts +25 -25
  213. package/lib/codec/Switcheo/carbon/evmmerge/offchain.js +105 -105
  214. package/lib/codec/Switcheo/carbon/evmmerge/query.d.ts +87 -87
  215. package/lib/codec/Switcheo/carbon/evmmerge/query.js +254 -254
  216. package/lib/codec/Switcheo/carbon/evmmerge/tx.d.ts +51 -51
  217. package/lib/codec/Switcheo/carbon/evmmerge/tx.js +128 -128
  218. package/lib/codec/Switcheo/carbon/fee/event.d.ts +20 -20
  219. package/lib/codec/Switcheo/carbon/fee/event.js +83 -83
  220. package/lib/codec/Switcheo/carbon/fee/export.d.ts +4 -4
  221. package/lib/codec/Switcheo/carbon/fee/export.js +27 -27
  222. package/lib/codec/Switcheo/carbon/fee/fee.d.ts +42 -42
  223. package/lib/codec/Switcheo/carbon/fee/fee.js +183 -183
  224. package/lib/codec/Switcheo/carbon/fee/genesis.d.ts +23 -23
  225. package/lib/codec/Switcheo/carbon/fee/genesis.js +79 -79
  226. package/lib/codec/Switcheo/carbon/fee/query.d.ts +114 -114
  227. package/lib/codec/Switcheo/carbon/fee/query.js +470 -470
  228. package/lib/codec/Switcheo/carbon/fee/tx.d.ts +108 -108
  229. package/lib/codec/Switcheo/carbon/fee/tx.js +415 -415
  230. package/lib/codec/Switcheo/carbon/headersync/consensus_peers.d.ts +71 -71
  231. package/lib/codec/Switcheo/carbon/headersync/consensus_peers.js +383 -383
  232. package/lib/codec/Switcheo/carbon/headersync/export.d.ts +4 -4
  233. package/lib/codec/Switcheo/carbon/headersync/export.js +22 -22
  234. package/lib/codec/Switcheo/carbon/headersync/genesis.d.ts +82 -82
  235. package/lib/codec/Switcheo/carbon/headersync/genesis.js +419 -419
  236. package/lib/codec/Switcheo/carbon/headersync/query.d.ts +42 -42
  237. package/lib/codec/Switcheo/carbon/headersync/query.js +125 -125
  238. package/lib/codec/Switcheo/carbon/headersync/tx.d.ts +64 -64
  239. package/lib/codec/Switcheo/carbon/headersync/tx.js +215 -215
  240. package/lib/codec/Switcheo/carbon/inflation/export.d.ts +2 -2
  241. package/lib/codec/Switcheo/carbon/inflation/export.js +8 -8
  242. package/lib/codec/Switcheo/carbon/inflation/genesis.d.ts +25 -25
  243. package/lib/codec/Switcheo/carbon/inflation/genesis.js +79 -79
  244. package/lib/codec/Switcheo/carbon/inflation/inflation.d.ts +29 -29
  245. package/lib/codec/Switcheo/carbon/inflation/inflation.js +165 -165
  246. package/lib/codec/Switcheo/carbon/inflation/query.d.ts +41 -41
  247. package/lib/codec/Switcheo/carbon/inflation/query.js +109 -109
  248. package/lib/codec/Switcheo/carbon/inflation/tx.d.ts +12 -12
  249. package/lib/codec/Switcheo/carbon/inflation/tx.js +20 -20
  250. package/lib/codec/Switcheo/carbon/insurance/event.d.ts +24 -24
  251. package/lib/codec/Switcheo/carbon/insurance/event.js +46 -46
  252. package/lib/codec/Switcheo/carbon/insurance/export.d.ts +5 -5
  253. package/lib/codec/Switcheo/carbon/insurance/export.js +21 -21
  254. package/lib/codec/Switcheo/carbon/insurance/fund.d.ts +29 -29
  255. package/lib/codec/Switcheo/carbon/insurance/fund.js +148 -148
  256. package/lib/codec/Switcheo/carbon/insurance/genesis.d.ts +24 -24
  257. package/lib/codec/Switcheo/carbon/insurance/genesis.js +63 -63
  258. package/lib/codec/Switcheo/carbon/insurance/params.d.ts +29 -29
  259. package/lib/codec/Switcheo/carbon/insurance/params.js +113 -113
  260. package/lib/codec/Switcheo/carbon/insurance/query.d.ts +63 -63
  261. package/lib/codec/Switcheo/carbon/insurance/query.js +195 -195
  262. package/lib/codec/Switcheo/carbon/insurance/tx.d.ts +69 -69
  263. package/lib/codec/Switcheo/carbon/insurance/tx.js +246 -246
  264. package/lib/codec/Switcheo/carbon/leverage/event.d.ts +21 -21
  265. package/lib/codec/Switcheo/carbon/leverage/event.js +100 -100
  266. package/lib/codec/Switcheo/carbon/leverage/export.d.ts +4 -4
  267. package/lib/codec/Switcheo/carbon/leverage/export.js +16 -16
  268. package/lib/codec/Switcheo/carbon/leverage/genesis.d.ts +24 -24
  269. package/lib/codec/Switcheo/carbon/leverage/genesis.js +64 -64
  270. package/lib/codec/Switcheo/carbon/leverage/leverage.d.ts +30 -30
  271. package/lib/codec/Switcheo/carbon/leverage/leverage.js +134 -134
  272. package/lib/codec/Switcheo/carbon/leverage/query.d.ts +70 -70
  273. package/lib/codec/Switcheo/carbon/leverage/query.js +234 -234
  274. package/lib/codec/Switcheo/carbon/leverage/tx.d.ts +43 -43
  275. package/lib/codec/Switcheo/carbon/leverage/tx.js +127 -127
  276. package/lib/codec/Switcheo/carbon/liquidation/event.d.ts +23 -23
  277. package/lib/codec/Switcheo/carbon/liquidation/event.js +154 -154
  278. package/lib/codec/Switcheo/carbon/liquidation/export.d.ts +5 -5
  279. package/lib/codec/Switcheo/carbon/liquidation/export.js +15 -15
  280. package/lib/codec/Switcheo/carbon/liquidation/genesis.d.ts +37 -37
  281. package/lib/codec/Switcheo/carbon/liquidation/genesis.js +136 -136
  282. package/lib/codec/Switcheo/carbon/liquidation/outstanding_position.d.ts +33 -33
  283. package/lib/codec/Switcheo/carbon/liquidation/outstanding_position.js +203 -203
  284. package/lib/codec/Switcheo/carbon/liquidation/query.d.ts +52 -52
  285. package/lib/codec/Switcheo/carbon/liquidation/query.js +254 -254
  286. package/lib/codec/Switcheo/carbon/liquidation/quote_changes.d.ts +22 -22
  287. package/lib/codec/Switcheo/carbon/liquidation/quote_changes.js +95 -95
  288. package/lib/codec/Switcheo/carbon/liquidation/tx.d.ts +12 -12
  289. package/lib/codec/Switcheo/carbon/liquidation/tx.js +20 -20
  290. package/lib/codec/Switcheo/carbon/liquiditypool/event.d.ts +182 -182
  291. package/lib/codec/Switcheo/carbon/liquiditypool/event.js +1268 -1268
  292. package/lib/codec/Switcheo/carbon/liquiditypool/export.d.ts +7 -7
  293. package/lib/codec/Switcheo/carbon/liquiditypool/export.js +132 -132
  294. package/lib/codec/Switcheo/carbon/liquiditypool/genesis.d.ts +33 -33
  295. package/lib/codec/Switcheo/carbon/liquiditypool/genesis.js +229 -229
  296. package/lib/codec/Switcheo/carbon/liquiditypool/liquiditypool.d.ts +147 -147
  297. package/lib/codec/Switcheo/carbon/liquiditypool/liquiditypool.js +1081 -1081
  298. package/lib/codec/Switcheo/carbon/liquiditypool/params.d.ts +30 -30
  299. package/lib/codec/Switcheo/carbon/liquiditypool/params.js +149 -149
  300. package/lib/codec/Switcheo/carbon/liquiditypool/proposal.d.ts +117 -117
  301. package/lib/codec/Switcheo/carbon/liquiditypool/proposal.js +697 -697
  302. package/lib/codec/Switcheo/carbon/liquiditypool/query.d.ts +393 -393
  303. package/lib/codec/Switcheo/carbon/liquiditypool/query.js +1826 -1826
  304. package/lib/codec/Switcheo/carbon/liquiditypool/reward.d.ts +196 -196
  305. package/lib/codec/Switcheo/carbon/liquiditypool/reward.js +1204 -1204
  306. package/lib/codec/Switcheo/carbon/liquiditypool/tx.d.ts +495 -495
  307. package/lib/codec/Switcheo/carbon/liquiditypool/tx.js +2522 -2522
  308. package/lib/codec/Switcheo/carbon/lockproxy/event.d.ts +46 -46
  309. package/lib/codec/Switcheo/carbon/lockproxy/event.js +348 -348
  310. package/lib/codec/Switcheo/carbon/lockproxy/export.d.ts +5 -5
  311. package/lib/codec/Switcheo/carbon/lockproxy/export.js +28 -28
  312. package/lib/codec/Switcheo/carbon/lockproxy/genesis.d.ts +68 -68
  313. package/lib/codec/Switcheo/carbon/lockproxy/genesis.js +355 -355
  314. package/lib/codec/Switcheo/carbon/lockproxy/lockproxy.d.ts +22 -22
  315. package/lib/codec/Switcheo/carbon/lockproxy/lockproxy.js +147 -147
  316. package/lib/codec/Switcheo/carbon/lockproxy/query.d.ts +67 -67
  317. package/lib/codec/Switcheo/carbon/lockproxy/query.js +274 -274
  318. package/lib/codec/Switcheo/carbon/lockproxy/tx.d.ts +147 -147
  319. package/lib/codec/Switcheo/carbon/lockproxy/tx.js +808 -808
  320. package/lib/codec/Switcheo/carbon/market/event.d.ts +20 -20
  321. package/lib/codec/Switcheo/carbon/market/event.js +76 -76
  322. package/lib/codec/Switcheo/carbon/market/export.d.ts +7 -7
  323. package/lib/codec/Switcheo/carbon/market/export.js +71 -71
  324. package/lib/codec/Switcheo/carbon/market/fee.d.ts +129 -129
  325. package/lib/codec/Switcheo/carbon/market/fee.js +334 -334
  326. package/lib/codec/Switcheo/carbon/market/genesis.d.ts +32 -32
  327. package/lib/codec/Switcheo/carbon/market/genesis.js +146 -146
  328. package/lib/codec/Switcheo/carbon/market/market.d.ts +96 -96
  329. package/lib/codec/Switcheo/carbon/market/market.js +880 -880
  330. package/lib/codec/Switcheo/carbon/market/params.d.ts +85 -85
  331. package/lib/codec/Switcheo/carbon/market/params.js +821 -821
  332. package/lib/codec/Switcheo/carbon/market/proposal.d.ts +46 -46
  333. package/lib/codec/Switcheo/carbon/market/proposal.js +245 -245
  334. package/lib/codec/Switcheo/carbon/market/query.d.ts +276 -276
  335. package/lib/codec/Switcheo/carbon/market/query.js +1250 -1250
  336. package/lib/codec/Switcheo/carbon/market/tx.d.ts +337 -337
  337. package/lib/codec/Switcheo/carbon/market/tx.js +1601 -1601
  338. package/lib/codec/Switcheo/carbon/marketstats/export.d.ts +2 -2
  339. package/lib/codec/Switcheo/carbon/marketstats/export.js +8 -8
  340. package/lib/codec/Switcheo/carbon/marketstats/genesis.d.ts +18 -18
  341. package/lib/codec/Switcheo/carbon/marketstats/genesis.js +46 -46
  342. package/lib/codec/Switcheo/carbon/marketstats/marketstats.d.ts +31 -31
  343. package/lib/codec/Switcheo/carbon/marketstats/marketstats.js +258 -258
  344. package/lib/codec/Switcheo/carbon/marketstats/query.d.ts +40 -40
  345. package/lib/codec/Switcheo/carbon/marketstats/query.js +108 -108
  346. package/lib/codec/Switcheo/carbon/marketstats/tx.d.ts +12 -12
  347. package/lib/codec/Switcheo/carbon/marketstats/tx.js +20 -20
  348. package/lib/codec/Switcheo/carbon/misc/block.d.ts +21 -21
  349. package/lib/codec/Switcheo/carbon/misc/block.js +105 -105
  350. package/lib/codec/Switcheo/carbon/misc/export.d.ts +6 -6
  351. package/lib/codec/Switcheo/carbon/misc/export.js +29 -29
  352. package/lib/codec/Switcheo/carbon/misc/message.d.ts +24 -24
  353. package/lib/codec/Switcheo/carbon/misc/message.js +157 -157
  354. package/lib/codec/Switcheo/carbon/misc/message_type.d.ts +18 -18
  355. package/lib/codec/Switcheo/carbon/misc/message_type.js +60 -60
  356. package/lib/codec/Switcheo/carbon/misc/query.d.ts +192 -192
  357. package/lib/codec/Switcheo/carbon/misc/query.js +884 -884
  358. package/lib/codec/Switcheo/carbon/misc/trade.d.ts +28 -28
  359. package/lib/codec/Switcheo/carbon/misc/trade.js +224 -224
  360. package/lib/codec/Switcheo/carbon/misc/transaction.d.ts +45 -45
  361. package/lib/codec/Switcheo/carbon/misc/transaction.js +369 -369
  362. package/lib/codec/Switcheo/carbon/oracle/event.d.ts +37 -37
  363. package/lib/codec/Switcheo/carbon/oracle/event.js +228 -228
  364. package/lib/codec/Switcheo/carbon/oracle/export.d.ts +6 -6
  365. package/lib/codec/Switcheo/carbon/oracle/export.js +67 -67
  366. package/lib/codec/Switcheo/carbon/oracle/genesis.d.ts +28 -28
  367. package/lib/codec/Switcheo/carbon/oracle/genesis.js +127 -127
  368. package/lib/codec/Switcheo/carbon/oracle/oracle.d.ts +50 -50
  369. package/lib/codec/Switcheo/carbon/oracle/oracle.js +324 -324
  370. package/lib/codec/Switcheo/carbon/oracle/params.d.ts +47 -47
  371. package/lib/codec/Switcheo/carbon/oracle/params.js +389 -389
  372. package/lib/codec/Switcheo/carbon/oracle/query.d.ts +331 -331
  373. package/lib/codec/Switcheo/carbon/oracle/query.js +1501 -1501
  374. package/lib/codec/Switcheo/carbon/oracle/slashing.d.ts +33 -33
  375. package/lib/codec/Switcheo/carbon/oracle/slashing.js +191 -191
  376. package/lib/codec/Switcheo/carbon/oracle/tx.d.ts +306 -306
  377. package/lib/codec/Switcheo/carbon/oracle/tx.js +1496 -1496
  378. package/lib/codec/Switcheo/carbon/order/event.d.ts +23 -23
  379. package/lib/codec/Switcheo/carbon/order/event.js +146 -146
  380. package/lib/codec/Switcheo/carbon/order/evm_hooks.d.ts +57 -57
  381. package/lib/codec/Switcheo/carbon/order/evm_hooks.js +356 -356
  382. package/lib/codec/Switcheo/carbon/order/export.d.ts +7 -7
  383. package/lib/codec/Switcheo/carbon/order/export.js +48 -48
  384. package/lib/codec/Switcheo/carbon/order/genesis.d.ts +63 -63
  385. package/lib/codec/Switcheo/carbon/order/genesis.js +323 -323
  386. package/lib/codec/Switcheo/carbon/order/order.d.ts +103 -103
  387. package/lib/codec/Switcheo/carbon/order/order.js +847 -847
  388. package/lib/codec/Switcheo/carbon/order/params.d.ts +28 -28
  389. package/lib/codec/Switcheo/carbon/order/params.js +109 -109
  390. package/lib/codec/Switcheo/carbon/order/query.d.ts +144 -144
  391. package/lib/codec/Switcheo/carbon/order/query.js +597 -597
  392. package/lib/codec/Switcheo/carbon/order/tx.d.ts +188 -188
  393. package/lib/codec/Switcheo/carbon/order/tx.js +817 -817
  394. package/lib/codec/Switcheo/carbon/otc/event.d.ts +34 -0
  395. package/lib/codec/Switcheo/carbon/otc/event.js +174 -0
  396. package/lib/codec/Switcheo/carbon/otc/export.d.ts +6 -0
  397. package/lib/codec/Switcheo/carbon/otc/export.js +36 -0
  398. package/lib/codec/{marketstats → Switcheo/carbon/otc}/genesis.d.ts +25 -21
  399. package/lib/codec/{marketstats → Switcheo/carbon/otc}/genesis.js +97 -63
  400. package/lib/codec/Switcheo/carbon/otc/params.d.ts +45 -0
  401. package/lib/codec/Switcheo/carbon/otc/params.js +332 -0
  402. package/lib/codec/Switcheo/carbon/otc/query.d.ts +170 -0
  403. package/lib/codec/Switcheo/carbon/otc/query.js +675 -0
  404. package/lib/codec/Switcheo/carbon/otc/quote.d.ts +34 -0
  405. package/lib/codec/Switcheo/carbon/otc/quote.js +197 -0
  406. package/lib/codec/Switcheo/carbon/otc/rfq.d.ts +34 -0
  407. package/lib/codec/Switcheo/carbon/otc/rfq.js +197 -0
  408. package/lib/codec/Switcheo/carbon/otc/tx.d.ts +137 -0
  409. package/lib/codec/Switcheo/carbon/otc/tx.js +578 -0
  410. package/lib/codec/Switcheo/carbon/perpspool/event.d.ts +95 -95
  411. package/lib/codec/Switcheo/carbon/perpspool/event.js +561 -561
  412. package/lib/codec/Switcheo/carbon/perpspool/export.d.ts +7 -7
  413. package/lib/codec/Switcheo/carbon/perpspool/export.js +69 -69
  414. package/lib/codec/Switcheo/carbon/perpspool/genesis.d.ts +61 -61
  415. package/lib/codec/Switcheo/carbon/perpspool/genesis.js +343 -343
  416. package/lib/codec/Switcheo/carbon/perpspool/market.d.ts +109 -109
  417. package/lib/codec/Switcheo/carbon/perpspool/market.js +493 -493
  418. package/lib/codec/Switcheo/carbon/perpspool/params.d.ts +49 -49
  419. package/lib/codec/Switcheo/carbon/perpspool/params.js +363 -363
  420. package/lib/codec/Switcheo/carbon/perpspool/pool.d.ts +109 -109
  421. package/lib/codec/Switcheo/carbon/perpspool/pool.js +638 -638
  422. package/lib/codec/Switcheo/carbon/perpspool/query.d.ts +247 -247
  423. package/lib/codec/Switcheo/carbon/perpspool/query.js +1141 -1141
  424. package/lib/codec/Switcheo/carbon/perpspool/tx.d.ts +242 -242
  425. package/lib/codec/Switcheo/carbon/perpspool/tx.js +1065 -1065
  426. package/lib/codec/Switcheo/carbon/position/event.d.ts +36 -36
  427. package/lib/codec/Switcheo/carbon/position/event.js +230 -230
  428. package/lib/codec/Switcheo/carbon/position/evm_hooks.d.ts +32 -32
  429. package/lib/codec/Switcheo/carbon/position/evm_hooks.js +195 -195
  430. package/lib/codec/Switcheo/carbon/position/export.d.ts +5 -5
  431. package/lib/codec/Switcheo/carbon/position/export.js +29 -29
  432. package/lib/codec/Switcheo/carbon/position/genesis.d.ts +24 -24
  433. package/lib/codec/Switcheo/carbon/position/genesis.js +64 -64
  434. package/lib/codec/Switcheo/carbon/position/position.d.ts +85 -85
  435. package/lib/codec/Switcheo/carbon/position/position.js +659 -659
  436. package/lib/codec/Switcheo/carbon/position/query.d.ts +135 -135
  437. package/lib/codec/Switcheo/carbon/position/query.js +588 -588
  438. package/lib/codec/Switcheo/carbon/position/tx.d.ts +42 -42
  439. package/lib/codec/Switcheo/carbon/position/tx.js +127 -127
  440. package/lib/codec/Switcheo/carbon/pricing/event.d.ts +84 -84
  441. package/lib/codec/Switcheo/carbon/pricing/event.js +411 -411
  442. package/lib/codec/Switcheo/carbon/pricing/export.d.ts +6 -6
  443. package/lib/codec/Switcheo/carbon/pricing/export.js +51 -51
  444. package/lib/codec/Switcheo/carbon/pricing/genesis.d.ts +27 -27
  445. package/lib/codec/Switcheo/carbon/pricing/genesis.js +96 -96
  446. package/lib/codec/Switcheo/carbon/pricing/legacy.d.ts +22 -22
  447. package/lib/codec/Switcheo/carbon/pricing/legacy.js +93 -93
  448. package/lib/codec/Switcheo/carbon/pricing/params.d.ts +37 -37
  449. package/lib/codec/Switcheo/carbon/pricing/params.js +252 -252
  450. package/lib/codec/Switcheo/carbon/pricing/pricing.d.ts +45 -45
  451. package/lib/codec/Switcheo/carbon/pricing/pricing.js +357 -357
  452. package/lib/codec/Switcheo/carbon/pricing/query.d.ts +184 -184
  453. package/lib/codec/Switcheo/carbon/pricing/query.js +760 -760
  454. package/lib/codec/Switcheo/carbon/pricing/tx.d.ts +220 -220
  455. package/lib/codec/Switcheo/carbon/pricing/tx.js +851 -851
  456. package/lib/codec/Switcheo/carbon/profile/event.d.ts +20 -20
  457. package/lib/codec/Switcheo/carbon/profile/event.js +78 -78
  458. package/lib/codec/Switcheo/carbon/profile/export.d.ts +4 -4
  459. package/lib/codec/Switcheo/carbon/profile/export.js +17 -17
  460. package/lib/codec/Switcheo/carbon/profile/genesis.d.ts +24 -24
  461. package/lib/codec/Switcheo/carbon/profile/genesis.js +64 -64
  462. package/lib/codec/Switcheo/carbon/profile/profile.d.ts +20 -20
  463. package/lib/codec/Switcheo/carbon/profile/profile.js +83 -83
  464. package/lib/codec/Switcheo/carbon/profile/query.d.ts +91 -91
  465. package/lib/codec/Switcheo/carbon/profile/query.js +347 -347
  466. package/lib/codec/Switcheo/carbon/profile/tx.d.ts +43 -43
  467. package/lib/codec/Switcheo/carbon/profile/tx.js +127 -127
  468. package/lib/codec/Switcheo/carbon/sequence/export.d.ts +3 -3
  469. package/lib/codec/Switcheo/carbon/sequence/export.js +13 -13
  470. package/lib/codec/Switcheo/carbon/sequence/genesis.d.ts +30 -30
  471. package/lib/codec/Switcheo/carbon/sequence/genesis.js +122 -122
  472. package/lib/codec/Switcheo/carbon/sequence/query.d.ts +66 -66
  473. package/lib/codec/Switcheo/carbon/sequence/query.js +245 -245
  474. package/lib/codec/Switcheo/carbon/sequence/tx.d.ts +41 -41
  475. package/lib/codec/Switcheo/carbon/sequence/tx.js +148 -148
  476. package/lib/codec/Switcheo/carbon/subaccount/export.d.ts +5 -5
  477. package/lib/codec/Switcheo/carbon/subaccount/export.js +39 -39
  478. package/lib/codec/Switcheo/carbon/subaccount/genesis.d.ts +29 -29
  479. package/lib/codec/Switcheo/carbon/subaccount/genesis.js +111 -111
  480. package/lib/codec/Switcheo/carbon/subaccount/legacy.d.ts +19 -19
  481. package/lib/codec/Switcheo/carbon/subaccount/legacy.js +72 -72
  482. package/lib/codec/Switcheo/carbon/subaccount/params.d.ts +29 -29
  483. package/lib/codec/Switcheo/carbon/subaccount/params.js +119 -119
  484. package/lib/codec/Switcheo/carbon/subaccount/query.d.ts +230 -230
  485. package/lib/codec/Switcheo/carbon/subaccount/query.js +1027 -1027
  486. package/lib/codec/Switcheo/carbon/subaccount/subaccount.d.ts +46 -46
  487. package/lib/codec/Switcheo/carbon/subaccount/subaccount.js +296 -296
  488. package/lib/codec/Switcheo/carbon/subaccount/tx.d.ts +134 -134
  489. package/lib/codec/Switcheo/carbon/subaccount/tx.js +497 -497
  490. package/lib/codec/alliance/alliance/alliance.d.ts +65 -65
  491. package/lib/codec/alliance/alliance/alliance.js +354 -354
  492. package/lib/codec/alliance/alliance/delegations.d.ts +63 -63
  493. package/lib/codec/alliance/alliance/delegations.js +344 -344
  494. package/lib/codec/alliance/alliance/events.d.ts +71 -71
  495. package/lib/codec/alliance/alliance/events.js +452 -452
  496. package/lib/codec/alliance/alliance/export.d.ts +10 -10
  497. package/lib/codec/alliance/alliance/export.js +84 -84
  498. package/lib/codec/alliance/alliance/genesis.d.ts +75 -75
  499. package/lib/codec/alliance/alliance/genesis.js +470 -470
  500. package/lib/codec/alliance/alliance/gov.d.ts +80 -80
  501. package/lib/codec/alliance/alliance/gov.js +400 -400
  502. package/lib/codec/alliance/alliance/params.d.ts +35 -35
  503. package/lib/codec/alliance/alliance/params.js +194 -194
  504. package/lib/codec/alliance/alliance/query.d.ts +404 -404
  505. package/lib/codec/alliance/alliance/query.js +1982 -1982
  506. package/lib/codec/alliance/alliance/redelegations.d.ts +57 -57
  507. package/lib/codec/alliance/alliance/redelegations.js +294 -294
  508. package/lib/codec/alliance/alliance/tx.d.ts +230 -230
  509. package/lib/codec/alliance/alliance/tx.js +1050 -1050
  510. package/lib/codec/alliance/alliance/unbonding.d.ts +26 -26
  511. package/lib/codec/alliance/alliance/unbonding.js +126 -126
  512. package/lib/codec/amino/amino.d.ts +1 -1
  513. package/lib/codec/amino/amino.js +14 -14
  514. package/lib/codec/carbon-models.d.ts +29 -29
  515. package/lib/codec/carbon-models.js +51 -55
  516. package/lib/codec/cosmos/app/runtime/v1alpha1/module.d.ts +84 -84
  517. package/lib/codec/cosmos/app/runtime/v1alpha1/module.js +246 -246
  518. package/lib/codec/cosmos/app/v1alpha1/config.d.ts +83 -83
  519. package/lib/codec/cosmos/app/v1alpha1/config.js +215 -215
  520. package/lib/codec/cosmos/app/v1alpha1/module.d.ts +109 -109
  521. package/lib/codec/cosmos/app/v1alpha1/module.js +192 -192
  522. package/lib/codec/cosmos/app/v1alpha1/query.d.ts +44 -44
  523. package/lib/codec/cosmos/app/v1alpha1/query.js +107 -107
  524. package/lib/codec/cosmos/auth/module/v1/module.d.ts +41 -41
  525. package/lib/codec/cosmos/auth/module/v1/module.js +149 -149
  526. package/lib/codec/cosmos/auth/v1beta1/auth.d.ts +76 -76
  527. package/lib/codec/cosmos/auth/v1beta1/auth.js +408 -408
  528. package/lib/codec/cosmos/auth/v1beta1/export.d.ts +3 -3
  529. package/lib/codec/cosmos/auth/v1beta1/export.js +32 -32
  530. package/lib/codec/cosmos/auth/v1beta1/genesis.d.ts +24 -24
  531. package/lib/codec/cosmos/auth/v1beta1/genesis.js +81 -81
  532. package/lib/codec/cosmos/auth/v1beta1/query.d.ts +379 -379
  533. package/lib/codec/cosmos/auth/v1beta1/query.js +1050 -1050
  534. package/lib/codec/cosmos/auth/v1beta1/tx.d.ts +64 -64
  535. package/lib/codec/cosmos/auth/v1beta1/tx.js +120 -120
  536. package/lib/codec/cosmos/authz/module/v1/module.d.ts +18 -18
  537. package/lib/codec/cosmos/authz/module/v1/module.js +46 -46
  538. package/lib/codec/cosmos/authz/v1beta1/authz.d.ts +74 -74
  539. package/lib/codec/cosmos/authz/v1beta1/authz.js +284 -284
  540. package/lib/codec/cosmos/authz/v1beta1/event.d.ts +41 -41
  541. package/lib/codec/cosmos/authz/v1beta1/event.js +152 -152
  542. package/lib/codec/cosmos/authz/v1beta1/genesis.d.ts +21 -21
  543. package/lib/codec/cosmos/authz/v1beta1/genesis.js +64 -64
  544. package/lib/codec/cosmos/authz/v1beta1/query.d.ts +122 -122
  545. package/lib/codec/cosmos/authz/v1beta1/query.js +458 -458
  546. package/lib/codec/cosmos/authz/v1beta1/tx.d.ts +126 -126
  547. package/lib/codec/cosmos/authz/v1beta1/tx.js +386 -386
  548. package/lib/codec/cosmos/autocli/v1/options.d.ts +184 -184
  549. package/lib/codec/cosmos/autocli/v1/options.js +686 -686
  550. package/lib/codec/cosmos/autocli/v1/query.d.ts +60 -60
  551. package/lib/codec/cosmos/autocli/v1/query.js +180 -180
  552. package/lib/codec/cosmos/bank/module/v1/module.d.ts +26 -26
  553. package/lib/codec/cosmos/bank/module/v1/module.js +76 -76
  554. package/lib/codec/cosmos/bank/v1beta1/authz.d.ts +32 -32
  555. package/lib/codec/cosmos/bank/v1beta1/authz.js +79 -79
  556. package/lib/codec/cosmos/bank/v1beta1/bank.d.ts +160 -160
  557. package/lib/codec/cosmos/bank/v1beta1/bank.js +519 -519
  558. package/lib/codec/cosmos/bank/v1beta1/export.d.ts +5 -5
  559. package/lib/codec/cosmos/bank/v1beta1/export.js +52 -52
  560. package/lib/codec/cosmos/bank/v1beta1/genesis.d.ts +54 -54
  561. package/lib/codec/cosmos/bank/v1beta1/genesis.js +187 -187
  562. package/lib/codec/cosmos/bank/v1beta1/query.d.ts +557 -557
  563. package/lib/codec/cosmos/bank/v1beta1/query.js +1649 -1649
  564. package/lib/codec/cosmos/bank/v1beta1/tx.d.ts +173 -173
  565. package/lib/codec/cosmos/bank/v1beta1/tx.js +449 -449
  566. package/lib/codec/cosmos/base/abci/v1beta1/abci.d.ts +258 -258
  567. package/lib/codec/cosmos/base/abci/v1beta1/abci.js +1068 -1068
  568. package/lib/codec/cosmos/base/node/v1beta1/query.d.ts +78 -78
  569. package/lib/codec/cosmos/base/node/v1beta1/query.js +358 -358
  570. package/lib/codec/cosmos/base/query/v1beta1/pagination.d.ts +85 -85
  571. package/lib/codec/cosmos/base/query/v1beta1/pagination.js +215 -215
  572. package/lib/codec/cosmos/base/reflection/v1beta1/reflection.d.ts +81 -81
  573. package/lib/codec/cosmos/base/reflection/v1beta1/reflection.js +210 -210
  574. package/lib/codec/cosmos/base/reflection/v2alpha1/reflection.d.ts +414 -414
  575. package/lib/codec/cosmos/base/reflection/v2alpha1/reflection.js +1438 -1438
  576. package/lib/codec/cosmos/base/tendermint/v1beta1/query.d.ts +321 -321
  577. package/lib/codec/cosmos/base/tendermint/v1beta1/query.js +1490 -1490
  578. package/lib/codec/cosmos/base/tendermint/v1beta1/types.d.ts +67 -67
  579. package/lib/codec/cosmos/base/tendermint/v1beta1/types.js +423 -423
  580. package/lib/codec/cosmos/base/v1beta1/coin.d.ts +70 -70
  581. package/lib/codec/cosmos/base/v1beta1/coin.js +214 -214
  582. package/lib/codec/cosmos/circuit/module/v1/module.d.ts +20 -20
  583. package/lib/codec/cosmos/circuit/module/v1/module.js +59 -59
  584. package/lib/codec/cosmos/circuit/v1/query.d.ts +97 -97
  585. package/lib/codec/cosmos/circuit/v1/query.js +333 -333
  586. package/lib/codec/cosmos/circuit/v1/tx.d.ts +128 -128
  587. package/lib/codec/cosmos/circuit/v1/tx.js +371 -371
  588. package/lib/codec/cosmos/circuit/v1/types.d.ts +81 -81
  589. package/lib/codec/cosmos/circuit/v1/types.js +266 -266
  590. package/lib/codec/cosmos/consensus/module/v1/module.d.ts +20 -20
  591. package/lib/codec/cosmos/consensus/module/v1/module.js +59 -59
  592. package/lib/codec/cosmos/consensus/v1/query.d.ts +49 -49
  593. package/lib/codec/cosmos/consensus/v1/query.js +109 -109
  594. package/lib/codec/cosmos/consensus/v1/tx.d.ts +65 -65
  595. package/lib/codec/cosmos/consensus/v1/tx.js +174 -174
  596. package/lib/codec/cosmos/crisis/module/v1/module.d.ts +22 -22
  597. package/lib/codec/cosmos/crisis/module/v1/module.js +72 -72
  598. package/lib/codec/cosmos/crisis/v1beta1/genesis.d.ts +24 -24
  599. package/lib/codec/cosmos/crisis/v1beta1/genesis.js +65 -65
  600. package/lib/codec/cosmos/crisis/v1beta1/tx.d.ts +89 -89
  601. package/lib/codec/cosmos/crisis/v1beta1/tx.js +236 -236
  602. package/lib/codec/cosmos/crypto/ed25519/keys.d.ts +39 -39
  603. package/lib/codec/cosmos/crypto/ed25519/keys.js +138 -138
  604. package/lib/codec/cosmos/crypto/hd/v1/hd.d.ts +32 -32
  605. package/lib/codec/cosmos/crypto/hd/v1/hd.js +114 -114
  606. package/lib/codec/cosmos/crypto/keyring/v1/record.d.ts +78 -78
  607. package/lib/codec/cosmos/crypto/keyring/v1/record.js +309 -309
  608. package/lib/codec/cosmos/crypto/multisig/keys.d.ts +25 -25
  609. package/lib/codec/cosmos/crypto/multisig/keys.js +76 -76
  610. package/lib/codec/cosmos/crypto/multisig/v1beta1/multisig.d.ts +40 -40
  611. package/lib/codec/cosmos/crypto/multisig/v1beta1/multisig.js +153 -153
  612. package/lib/codec/cosmos/crypto/secp256k1/keys.d.ts +36 -36
  613. package/lib/codec/cosmos/crypto/secp256k1/keys.js +138 -138
  614. package/lib/codec/cosmos/crypto/secp256r1/keys.d.ts +36 -36
  615. package/lib/codec/cosmos/crypto/secp256r1/keys.js +138 -138
  616. package/lib/codec/cosmos/distribution/module/v1/module.d.ts +21 -21
  617. package/lib/codec/cosmos/distribution/module/v1/module.js +72 -72
  618. package/lib/codec/cosmos/distribution/v1beta1/distribution.d.ts +225 -225
  619. package/lib/codec/cosmos/distribution/v1beta1/distribution.js +858 -858
  620. package/lib/codec/cosmos/distribution/v1beta1/export.d.ts +4 -4
  621. package/lib/codec/cosmos/distribution/v1beta1/export.js +63 -63
  622. package/lib/codec/cosmos/distribution/v1beta1/genesis.d.ts +156 -156
  623. package/lib/codec/cosmos/distribution/v1beta1/genesis.js +722 -722
  624. package/lib/codec/cosmos/distribution/v1beta1/query.d.ts +384 -384
  625. package/lib/codec/cosmos/distribution/v1beta1/query.js +1232 -1232
  626. package/lib/codec/cosmos/distribution/v1beta1/tx.d.ts +287 -287
  627. package/lib/codec/cosmos/distribution/v1beta1/tx.js +766 -766
  628. package/lib/codec/cosmos/evidence/module/v1/module.d.ts +18 -18
  629. package/lib/codec/cosmos/evidence/module/v1/module.js +46 -46
  630. package/lib/codec/cosmos/evidence/v1beta1/evidence.d.ts +29 -29
  631. package/lib/codec/cosmos/evidence/v1beta1/evidence.js +133 -133
  632. package/lib/codec/cosmos/evidence/v1beta1/genesis.d.ts +21 -21
  633. package/lib/codec/cosmos/evidence/v1beta1/genesis.js +64 -64
  634. package/lib/codec/cosmos/evidence/v1beta1/query.d.ts +93 -93
  635. package/lib/codec/cosmos/evidence/v1beta1/query.js +292 -292
  636. package/lib/codec/cosmos/evidence/v1beta1/tx.d.ts +54 -54
  637. package/lib/codec/cosmos/evidence/v1beta1/tx.js +167 -167
  638. package/lib/codec/cosmos/feegrant/module/v1/module.d.ts +18 -18
  639. package/lib/codec/cosmos/feegrant/module/v1/module.js +46 -46
  640. package/lib/codec/cosmos/feegrant/v1beta1/feegrant.d.ts +96 -96
  641. package/lib/codec/cosmos/feegrant/v1beta1/feegrant.js +359 -359
  642. package/lib/codec/cosmos/feegrant/v1beta1/genesis.d.ts +21 -21
  643. package/lib/codec/cosmos/feegrant/v1beta1/genesis.js +64 -64
  644. package/lib/codec/cosmos/feegrant/v1beta1/query.d.ts +122 -122
  645. package/lib/codec/cosmos/feegrant/v1beta1/query.js +407 -407
  646. package/lib/codec/cosmos/feegrant/v1beta1/tx.d.ts +122 -122
  647. package/lib/codec/cosmos/feegrant/v1beta1/tx.js +312 -312
  648. package/lib/codec/cosmos/genutil/module/v1/module.d.ts +18 -18
  649. package/lib/codec/cosmos/genutil/module/v1/module.js +46 -46
  650. package/lib/codec/cosmos/genutil/v1beta1/genesis.d.ts +20 -20
  651. package/lib/codec/cosmos/genutil/v1beta1/genesis.js +93 -93
  652. package/lib/codec/cosmos/gov/module/v1/module.d.ts +25 -25
  653. package/lib/codec/cosmos/gov/module/v1/module.js +75 -75
  654. package/lib/codec/cosmos/gov/v1/export.d.ts +3 -3
  655. package/lib/codec/cosmos/gov/v1/export.js +53 -53
  656. package/lib/codec/cosmos/gov/v1/genesis.d.ts +64 -64
  657. package/lib/codec/cosmos/gov/v1/genesis.js +198 -198
  658. package/lib/codec/cosmos/gov/v1/gov.d.ts +345 -345
  659. package/lib/codec/cosmos/gov/v1/gov.js +1204 -1204
  660. package/lib/codec/cosmos/gov/v1/query.d.ts +312 -312
  661. package/lib/codec/cosmos/gov/v1/query.js +1145 -1145
  662. package/lib/codec/cosmos/gov/v1/tx.d.ts +291 -291
  663. package/lib/codec/cosmos/gov/v1/tx.js +953 -953
  664. package/lib/codec/cosmos/gov/v1beta1/genesis.d.ts +33 -33
  665. package/lib/codec/cosmos/gov/v1beta1/genesis.js +166 -166
  666. package/lib/codec/cosmos/gov/v1beta1/gov.d.ts +246 -246
  667. package/lib/codec/cosmos/gov/v1beta1/gov.js +929 -929
  668. package/lib/codec/cosmos/gov/v1beta1/query.d.ts +265 -265
  669. package/lib/codec/cosmos/gov/v1beta1/query.js +1045 -1045
  670. package/lib/codec/cosmos/gov/v1beta1/tx.d.ts +154 -154
  671. package/lib/codec/cosmos/gov/v1beta1/tx.js +496 -496
  672. package/lib/codec/cosmos/group/module/v1/module.d.ts +29 -29
  673. package/lib/codec/cosmos/group/module/v1/module.js +83 -83
  674. package/lib/codec/cosmos/group/v1/events.d.ts +140 -140
  675. package/lib/codec/cosmos/group/v1/events.js +560 -560
  676. package/lib/codec/cosmos/group/v1/genesis.d.ts +45 -45
  677. package/lib/codec/cosmos/group/v1/genesis.js +176 -176
  678. package/lib/codec/cosmos/group/v1/query.d.ts +453 -453
  679. package/lib/codec/cosmos/group/v1/query.js +1771 -1771
  680. package/lib/codec/cosmos/group/v1/tx.d.ts +495 -495
  681. package/lib/codec/cosmos/group/v1/tx.js +1866 -1866
  682. package/lib/codec/cosmos/group/v1/types.d.ts +382 -382
  683. package/lib/codec/cosmos/group/v1/types.js +1332 -1332
  684. package/lib/codec/cosmos/ics23/v1/proofs.d.ts +328 -328
  685. package/lib/codec/cosmos/ics23/v1/proofs.js +1347 -1347
  686. package/lib/codec/cosmos/mint/module/v1/module.d.ts +21 -21
  687. package/lib/codec/cosmos/mint/module/v1/module.js +72 -72
  688. package/lib/codec/cosmos/mint/v1beta1/export.d.ts +3 -3
  689. package/lib/codec/cosmos/mint/v1beta1/export.js +16 -16
  690. package/lib/codec/cosmos/mint/v1beta1/genesis.d.ts +23 -23
  691. package/lib/codec/cosmos/mint/v1beta1/genesis.js +79 -79
  692. package/lib/codec/cosmos/mint/v1beta1/mint.d.ts +44 -44
  693. package/lib/codec/cosmos/mint/v1beta1/mint.js +192 -192
  694. package/lib/codec/cosmos/mint/v1beta1/query.d.ts +103 -103
  695. package/lib/codec/cosmos/mint/v1beta1/query.js +309 -309
  696. package/lib/codec/cosmos/mint/v1beta1/tx.d.ts +64 -64
  697. package/lib/codec/cosmos/mint/v1beta1/tx.js +120 -120
  698. package/lib/codec/cosmos/msg/textual/v1/textual.d.ts +1 -1
  699. package/lib/codec/cosmos/msg/textual/v1/textual.js +14 -14
  700. package/lib/codec/cosmos/msg/v1/msg.d.ts +1 -1
  701. package/lib/codec/cosmos/msg/v1/msg.js +14 -14
  702. package/lib/codec/cosmos/nft/module/v1/module.d.ts +18 -18
  703. package/lib/codec/cosmos/nft/module/v1/module.js +46 -46
  704. package/lib/codec/cosmos/nft/v1beta1/event.d.ts +58 -58
  705. package/lib/codec/cosmos/nft/v1beta1/event.js +227 -227
  706. package/lib/codec/cosmos/nft/v1beta1/genesis.d.ts +37 -37
  707. package/lib/codec/cosmos/nft/v1beta1/genesis.js +140 -140
  708. package/lib/codec/cosmos/nft/v1beta1/nft.d.ts +53 -53
  709. package/lib/codec/cosmos/nft/v1beta1/nft.js +233 -233
  710. package/lib/codec/cosmos/nft/v1beta1/query.d.ts +226 -226
  711. package/lib/codec/cosmos/nft/v1beta1/query.js +817 -817
  712. package/lib/codec/cosmos/nft/v1beta1/tx.d.ts +49 -49
  713. package/lib/codec/cosmos/nft/v1beta1/tx.js +137 -137
  714. package/lib/codec/cosmos/orm/module/v1alpha1/module.d.ts +22 -22
  715. package/lib/codec/cosmos/orm/module/v1alpha1/module.js +46 -46
  716. package/lib/codec/cosmos/orm/query/v1alpha1/query.d.ts +173 -173
  717. package/lib/codec/cosmos/orm/query/v1alpha1/query.js +652 -652
  718. package/lib/codec/cosmos/orm/v1/orm.d.ts +126 -126
  719. package/lib/codec/cosmos/orm/v1/orm.js +263 -263
  720. package/lib/codec/cosmos/orm/v1alpha1/schema.d.ts +76 -76
  721. package/lib/codec/cosmos/orm/v1alpha1/schema.js +235 -235
  722. package/lib/codec/cosmos/params/module/v1/module.d.ts +18 -18
  723. package/lib/codec/cosmos/params/module/v1/module.js +46 -46
  724. package/lib/codec/cosmos/params/v1beta1/export.d.ts +2 -2
  725. package/lib/codec/cosmos/params/v1beta1/export.js +12 -12
  726. package/lib/codec/cosmos/params/v1beta1/params.d.ts +37 -37
  727. package/lib/codec/cosmos/params/v1beta1/params.js +155 -155
  728. package/lib/codec/cosmos/params/v1beta1/query.d.ts +106 -106
  729. package/lib/codec/cosmos/params/v1beta1/query.js +280 -280
  730. package/lib/codec/cosmos/query/v1/query.d.ts +1 -1
  731. package/lib/codec/cosmos/query/v1/query.js +14 -14
  732. package/lib/codec/cosmos/reflection/v1/reflection.d.ts +50 -50
  733. package/lib/codec/cosmos/reflection/v1/reflection.js +108 -108
  734. package/lib/codec/cosmos/slashing/module/v1/module.d.ts +20 -20
  735. package/lib/codec/cosmos/slashing/module/v1/module.js +59 -59
  736. package/lib/codec/cosmos/slashing/v1beta1/export.d.ts +4 -4
  737. package/lib/codec/cosmos/slashing/v1beta1/export.js +22 -22
  738. package/lib/codec/cosmos/slashing/v1beta1/genesis.d.ts +76 -76
  739. package/lib/codec/cosmos/slashing/v1beta1/genesis.js +282 -282
  740. package/lib/codec/cosmos/slashing/v1beta1/query.d.ts +110 -110
  741. package/lib/codec/cosmos/slashing/v1beta1/query.js +333 -333
  742. package/lib/codec/cosmos/slashing/v1beta1/slashing.d.ts +59 -59
  743. package/lib/codec/cosmos/slashing/v1beta1/slashing.js +320 -320
  744. package/lib/codec/cosmos/slashing/v1beta1/tx.d.ts +92 -92
  745. package/lib/codec/cosmos/slashing/v1beta1/tx.js +204 -204
  746. package/lib/codec/cosmos/staking/module/v1/module.d.ts +30 -30
  747. package/lib/codec/cosmos/staking/module/v1/module.js +108 -108
  748. package/lib/codec/cosmos/staking/v1beta1/authz.d.ts +68 -68
  749. package/lib/codec/cosmos/staking/v1beta1/authz.js +225 -225
  750. package/lib/codec/cosmos/staking/v1beta1/export.d.ts +5 -5
  751. package/lib/codec/cosmos/staking/v1beta1/export.js +84 -84
  752. package/lib/codec/cosmos/staking/v1beta1/genesis.d.ts +55 -55
  753. package/lib/codec/cosmos/staking/v1beta1/genesis.js +259 -259
  754. package/lib/codec/cosmos/staking/v1beta1/query.d.ts +525 -525
  755. package/lib/codec/cosmos/staking/v1beta1/query.js +1750 -1750
  756. package/lib/codec/cosmos/staking/v1beta1/staking.d.ts +427 -427
  757. package/lib/codec/cosmos/staking/v1beta1/staking.js +1900 -1900
  758. package/lib/codec/cosmos/staking/v1beta1/tx.d.ts +282 -282
  759. package/lib/codec/cosmos/staking/v1beta1/tx.js +1001 -1001
  760. package/lib/codec/cosmos/store/internal/kv/v1beta1/kv.d.ts +31 -31
  761. package/lib/codec/cosmos/store/internal/kv/v1beta1/kv.js +154 -154
  762. package/lib/codec/cosmos/store/snapshots/v1/snapshot.d.ts +119 -119
  763. package/lib/codec/cosmos/store/snapshots/v1/snapshot.js +540 -540
  764. package/lib/codec/cosmos/store/streaming/abci/grpc.d.ts +72 -72
  765. package/lib/codec/cosmos/store/streaming/abci/grpc.js +247 -247
  766. package/lib/codec/cosmos/store/v1beta1/commit_info.d.ts +54 -54
  767. package/lib/codec/cosmos/store/v1beta1/commit_info.js +273 -273
  768. package/lib/codec/cosmos/store/v1beta1/listening.d.ts +48 -48
  769. package/lib/codec/cosmos/store/v1beta1/listening.js +220 -220
  770. package/lib/codec/cosmos/tx/config/v1/config.d.ts +28 -28
  771. package/lib/codec/cosmos/tx/config/v1/config.js +73 -73
  772. package/lib/codec/cosmos/tx/signing/v1beta1/signing.d.ts +147 -147
  773. package/lib/codec/cosmos/tx/signing/v1beta1/signing.js +477 -477
  774. package/lib/codec/cosmos/tx/v1beta1/export.d.ts +2 -2
  775. package/lib/codec/cosmos/tx/v1beta1/export.js +43 -43
  776. package/lib/codec/cosmos/tx/v1beta1/service.d.ts +460 -460
  777. package/lib/codec/cosmos/tx/v1beta1/service.js +1340 -1340
  778. package/lib/codec/cosmos/tx/v1beta1/tx.d.ts +377 -377
  779. package/lib/codec/cosmos/tx/v1beta1/tx.js +1121 -1121
  780. package/lib/codec/cosmos/upgrade/module/v1/module.d.ts +20 -20
  781. package/lib/codec/cosmos/upgrade/module/v1/module.js +59 -59
  782. package/lib/codec/cosmos/upgrade/v1beta1/query.d.ts +213 -213
  783. package/lib/codec/cosmos/upgrade/v1beta1/query.js +526 -526
  784. package/lib/codec/cosmos/upgrade/v1beta1/tx.d.ts +97 -97
  785. package/lib/codec/cosmos/upgrade/v1beta1/tx.js +203 -203
  786. package/lib/codec/cosmos/upgrade/v1beta1/upgrade.d.ts +114 -114
  787. package/lib/codec/cosmos/upgrade/v1beta1/upgrade.js +341 -341
  788. package/lib/codec/cosmos/vesting/module/v1/module.d.ts +18 -18
  789. package/lib/codec/cosmos/vesting/module/v1/module.js +46 -46
  790. package/lib/codec/cosmos/vesting/v1beta1/export.d.ts +2 -2
  791. package/lib/codec/cosmos/vesting/v1beta1/export.js +17 -17
  792. package/lib/codec/cosmos/vesting/v1beta1/tx.d.ts +138 -138
  793. package/lib/codec/cosmos/vesting/v1beta1/tx.js +416 -416
  794. package/lib/codec/cosmos/vesting/v1beta1/vesting.d.ts +106 -106
  795. package/lib/codec/cosmos/vesting/v1beta1/vesting.js +451 -451
  796. package/lib/codec/cosmos-models.d.ts +10 -10
  797. package/lib/codec/cosmos-models.js +32 -36
  798. package/lib/codec/ethermint/crypto/v1/ethsecp256k1/export.d.ts +1 -1
  799. package/lib/codec/ethermint/crypto/v1/ethsecp256k1/export.js +6 -6
  800. package/lib/codec/ethermint/crypto/v1/ethsecp256k1/keys.d.ts +39 -39
  801. package/lib/codec/ethermint/crypto/v1/ethsecp256k1/keys.js +138 -138
  802. package/lib/codec/ethermint/evm/v1/events.d.ts +72 -72
  803. package/lib/codec/ethermint/evm/v1/events.js +303 -303
  804. package/lib/codec/ethermint/evm/v1/evm.d.ts +239 -239
  805. package/lib/codec/ethermint/evm/v1/evm.js +1140 -1140
  806. package/lib/codec/ethermint/evm/v1/export.d.ts +5 -5
  807. package/lib/codec/ethermint/evm/v1/export.js +53 -53
  808. package/lib/codec/ethermint/evm/v1/genesis.d.ts +43 -43
  809. package/lib/codec/ethermint/evm/v1/genesis.js +153 -153
  810. package/lib/codec/ethermint/evm/v1/query.d.ts +424 -424
  811. package/lib/codec/ethermint/evm/v1/query.js +1637 -1637
  812. package/lib/codec/ethermint/evm/v1/tx.d.ts +219 -219
  813. package/lib/codec/ethermint/evm/v1/tx.js +935 -935
  814. package/lib/codec/ethermint/feemarket/v1/events.d.ts +34 -34
  815. package/lib/codec/ethermint/feemarket/v1/events.js +116 -116
  816. package/lib/codec/ethermint/feemarket/v1/export.d.ts +4 -4
  817. package/lib/codec/ethermint/feemarket/v1/export.js +18 -18
  818. package/lib/codec/ethermint/feemarket/v1/feemarket.d.ts +51 -51
  819. package/lib/codec/ethermint/feemarket/v1/feemarket.js +176 -176
  820. package/lib/codec/ethermint/feemarket/v1/genesis.d.ts +26 -26
  821. package/lib/codec/ethermint/feemarket/v1/genesis.js +79 -79
  822. package/lib/codec/ethermint/feemarket/v1/query.d.ts +100 -100
  823. package/lib/codec/ethermint/feemarket/v1/query.js +276 -276
  824. package/lib/codec/ethermint/feemarket/v1/tx.d.ts +55 -55
  825. package/lib/codec/ethermint/feemarket/v1/tx.js +120 -120
  826. package/lib/codec/ethermint/types/v1/account.d.ts +26 -26
  827. package/lib/codec/ethermint/types/v1/account.js +78 -78
  828. package/lib/codec/ethermint/types/v1/dynamic_fee.d.ts +20 -20
  829. package/lib/codec/ethermint/types/v1/dynamic_fee.js +60 -60
  830. package/lib/codec/ethermint/types/v1/export.d.ts +4 -4
  831. package/lib/codec/ethermint/types/v1/export.js +11 -11
  832. package/lib/codec/ethermint/types/v1/indexer.d.ts +41 -41
  833. package/lib/codec/ethermint/types/v1/indexer.js +153 -153
  834. package/lib/codec/ethermint/types/v1/web3.d.ts +36 -36
  835. package/lib/codec/ethermint/types/v1/web3.js +124 -124
  836. package/lib/codec/ethermint-models.d.ts +4 -4
  837. package/lib/codec/ethermint-models.js +26 -30
  838. package/lib/codec/google/protobuf/any.d.ts +137 -137
  839. package/lib/codec/google/protobuf/any.js +103 -103
  840. package/lib/codec/google/protobuf/descriptor.d.ts +1372 -1372
  841. package/lib/codec/google/protobuf/descriptor.js +4471 -4471
  842. package/lib/codec/google/protobuf/duration.d.ts +92 -92
  843. package/lib/codec/google/protobuf/duration.js +75 -75
  844. package/lib/codec/google/protobuf/empty.d.ts +26 -26
  845. package/lib/codec/google/protobuf/empty.js +46 -46
  846. package/lib/codec/google/protobuf/timestamp.d.ts +121 -121
  847. package/lib/codec/google/protobuf/timestamp.js +75 -75
  848. package/lib/codec/google/protobuf/wrappers.d.ts +152 -152
  849. package/lib/codec/google/protobuf/wrappers.js +457 -457
  850. package/lib/codec/ibc/applications/fee/v1/ack.d.ts +24 -24
  851. package/lib/codec/ibc/applications/fee/v1/ack.js +125 -125
  852. package/lib/codec/ibc/applications/fee/v1/fee.d.ts +68 -68
  853. package/lib/codec/ibc/applications/fee/v1/fee.js +289 -289
  854. package/lib/codec/ibc/applications/fee/v1/genesis.d.ts +93 -93
  855. package/lib/codec/ibc/applications/fee/v1/genesis.js +390 -390
  856. package/lib/codec/ibc/applications/fee/v1/metadata.d.ts +25 -25
  857. package/lib/codec/ibc/applications/fee/v1/metadata.js +71 -71
  858. package/lib/codec/ibc/applications/fee/v1/query.d.ts +318 -318
  859. package/lib/codec/ibc/applications/fee/v1/query.js +1241 -1241
  860. package/lib/codec/ibc/applications/fee/v1/tx.d.ts +171 -171
  861. package/lib/codec/ibc/applications/fee/v1/tx.js +524 -524
  862. package/lib/codec/ibc/applications/interchain_accounts/controller/export.d.ts +3 -3
  863. package/lib/codec/ibc/applications/interchain_accounts/controller/export.js +17 -17
  864. package/lib/codec/ibc/applications/interchain_accounts/controller/v1/controller.d.ts +23 -23
  865. package/lib/codec/ibc/applications/interchain_accounts/controller/v1/controller.js +61 -61
  866. package/lib/codec/ibc/applications/interchain_accounts/controller/v1/query.d.ts +70 -70
  867. package/lib/codec/ibc/applications/interchain_accounts/controller/v1/query.js +219 -219
  868. package/lib/codec/ibc/applications/interchain_accounts/controller/v1/tx.d.ts +113 -113
  869. package/lib/codec/ibc/applications/interchain_accounts/controller/v1/tx.js +426 -426
  870. package/lib/codec/ibc/applications/interchain_accounts/genesis/v1/genesis.d.ts +80 -80
  871. package/lib/codec/ibc/applications/interchain_accounts/genesis/v1/genesis.js +439 -439
  872. package/lib/codec/ibc/applications/interchain_accounts/host/export.d.ts +3 -3
  873. package/lib/codec/ibc/applications/interchain_accounts/host/export.js +11 -11
  874. package/lib/codec/ibc/applications/interchain_accounts/host/v1/host.d.ts +25 -25
  875. package/lib/codec/ibc/applications/interchain_accounts/host/v1/host.js +76 -76
  876. package/lib/codec/ibc/applications/interchain_accounts/host/v1/query.d.ts +44 -44
  877. package/lib/codec/ibc/applications/interchain_accounts/host/v1/query.js +107 -107
  878. package/lib/codec/ibc/applications/interchain_accounts/host/v1/tx.d.ts +50 -50
  879. package/lib/codec/ibc/applications/interchain_accounts/host/v1/tx.js +120 -120
  880. package/lib/codec/ibc/applications/interchain_accounts/v1/account.d.ts +21 -21
  881. package/lib/codec/ibc/applications/interchain_accounts/v1/account.js +79 -79
  882. package/lib/codec/ibc/applications/interchain_accounts/v1/export.d.ts +3 -3
  883. package/lib/codec/ibc/applications/interchain_accounts/v1/export.js +13 -13
  884. package/lib/codec/ibc/applications/interchain_accounts/v1/metadata.d.ts +36 -36
  885. package/lib/codec/ibc/applications/interchain_accounts/v1/metadata.js +129 -129
  886. package/lib/codec/ibc/applications/interchain_accounts/v1/packet.d.ts +46 -46
  887. package/lib/codec/ibc/applications/interchain_accounts/v1/packet.js +203 -203
  888. package/lib/codec/ibc/applications/transfer/v1/authz.d.ts +47 -47
  889. package/lib/codec/ibc/applications/transfer/v1/authz.js +173 -173
  890. package/lib/codec/ibc/applications/transfer/v1/export.d.ts +4 -4
  891. package/lib/codec/ibc/applications/transfer/v1/export.js +27 -27
  892. package/lib/codec/ibc/applications/transfer/v1/genesis.d.ts +28 -28
  893. package/lib/codec/ibc/applications/transfer/v1/genesis.js +108 -108
  894. package/lib/codec/ibc/applications/transfer/v1/query.d.ts +201 -201
  895. package/lib/codec/ibc/applications/transfer/v1/query.js +637 -637
  896. package/lib/codec/ibc/applications/transfer/v1/transfer.d.ts +53 -53
  897. package/lib/codec/ibc/applications/transfer/v1/transfer.js +130 -130
  898. package/lib/codec/ibc/applications/transfer/v1/tx.d.ts +106 -106
  899. package/lib/codec/ibc/applications/transfer/v1/tx.js +327 -327
  900. package/lib/codec/ibc/applications/transfer/v2/export.d.ts +1 -1
  901. package/lib/codec/ibc/applications/transfer/v2/export.js +5 -5
  902. package/lib/codec/ibc/applications/transfer/v2/packet.d.ts +32 -32
  903. package/lib/codec/ibc/applications/transfer/v2/packet.js +113 -113
  904. package/lib/codec/ibc/core/channel/v1/channel.d.ts +257 -257
  905. package/lib/codec/ibc/core/channel/v1/channel.js +1003 -1003
  906. package/lib/codec/ibc/core/channel/v1/export.d.ts +5 -5
  907. package/lib/codec/ibc/core/channel/v1/export.js +103 -103
  908. package/lib/codec/ibc/core/channel/v1/genesis.d.ts +45 -45
  909. package/lib/codec/ibc/core/channel/v1/genesis.js +265 -265
  910. package/lib/codec/ibc/core/channel/v1/query.d.ts +687 -687
  911. package/lib/codec/ibc/core/channel/v1/query.js +2693 -2693
  912. package/lib/codec/ibc/core/channel/v1/tx.d.ts +643 -643
  913. package/lib/codec/ibc/core/channel/v1/tx.js +3315 -3315
  914. package/lib/codec/ibc/core/channel/v1/upgrade.d.ts +62 -62
  915. package/lib/codec/ibc/core/channel/v1/upgrade.js +238 -238
  916. package/lib/codec/ibc/core/client/v1/client.d.ts +161 -161
  917. package/lib/codec/ibc/core/client/v1/client.js +506 -506
  918. package/lib/codec/ibc/core/client/v1/export.d.ts +4 -4
  919. package/lib/codec/ibc/core/client/v1/export.js +48 -48
  920. package/lib/codec/ibc/core/client/v1/genesis.d.ts +67 -67
  921. package/lib/codec/ibc/core/client/v1/genesis.js +296 -296
  922. package/lib/codec/ibc/core/client/v1/query.d.ts +346 -346
  923. package/lib/codec/ibc/core/client/v1/query.js +1128 -1128
  924. package/lib/codec/ibc/core/client/v1/tx.d.ts +264 -264
  925. package/lib/codec/ibc/core/client/v1/tx.js +896 -896
  926. package/lib/codec/ibc/core/commitment/v1/commitment.d.ts +70 -70
  927. package/lib/codec/ibc/core/commitment/v1/commitment.js +237 -237
  928. package/lib/codec/ibc/core/commitment/v1/export.d.ts +1 -1
  929. package/lib/codec/ibc/core/commitment/v1/export.js +8 -8
  930. package/lib/codec/ibc/core/connection/v1/connection.d.ts +170 -170
  931. package/lib/codec/ibc/core/connection/v1/connection.js +600 -600
  932. package/lib/codec/ibc/core/connection/v1/export.d.ts +3 -3
  933. package/lib/codec/ibc/core/connection/v1/export.js +38 -38
  934. package/lib/codec/ibc/core/connection/v1/genesis.d.ts +24 -24
  935. package/lib/codec/ibc/core/connection/v1/genesis.js +113 -113
  936. package/lib/codec/ibc/core/connection/v1/query.d.ts +245 -245
  937. package/lib/codec/ibc/core/connection/v1/query.js +866 -866
  938. package/lib/codec/ibc/core/connection/v1/tx.d.ts +221 -221
  939. package/lib/codec/ibc/core/connection/v1/tx.js +963 -963
  940. package/lib/codec/ibc/core/types/v1/genesis.d.ts +27 -27
  941. package/lib/codec/ibc/core/types/v1/genesis.js +105 -105
  942. package/lib/codec/ibc/lightclients/localhost/v2/export.d.ts +1 -1
  943. package/lib/codec/ibc/lightclients/localhost/v2/export.js +5 -5
  944. package/lib/codec/ibc/lightclients/localhost/v2/localhost.d.ts +21 -21
  945. package/lib/codec/ibc/lightclients/localhost/v2/localhost.js +65 -65
  946. package/lib/codec/ibc/lightclients/solomachine/v2/export.d.ts +1 -1
  947. package/lib/codec/ibc/lightclients/solomachine/v2/export.js +23 -23
  948. package/lib/codec/ibc/lightclients/solomachine/v2/solomachine.d.ts +298 -298
  949. package/lib/codec/ibc/lightclients/solomachine/v2/solomachine.js +1352 -1352
  950. package/lib/codec/ibc/lightclients/solomachine/v3/export.d.ts +1 -1
  951. package/lib/codec/ibc/lightclients/solomachine/v3/export.js +12 -12
  952. package/lib/codec/ibc/lightclients/solomachine/v3/solomachine.d.ts +146 -146
  953. package/lib/codec/ibc/lightclients/solomachine/v3/solomachine.js +712 -712
  954. package/lib/codec/ibc/lightclients/tendermint/v1/export.d.ts +1 -1
  955. package/lib/codec/ibc/lightclients/tendermint/v1/export.js +9 -9
  956. package/lib/codec/ibc/lightclients/tendermint/v1/tendermint.d.ts +147 -147
  957. package/lib/codec/ibc/lightclients/tendermint/v1/tendermint.js +623 -623
  958. package/lib/codec/ibc/lightclients/wasm/v1/genesis.d.ts +32 -32
  959. package/lib/codec/ibc/lightclients/wasm/v1/genesis.js +140 -140
  960. package/lib/codec/ibc/lightclients/wasm/v1/query.d.ts +74 -74
  961. package/lib/codec/ibc/lightclients/wasm/v1/query.js +272 -272
  962. package/lib/codec/ibc/lightclients/wasm/v1/tx.d.ts +105 -105
  963. package/lib/codec/ibc/lightclients/wasm/v1/tx.js +384 -384
  964. package/lib/codec/ibc/lightclients/wasm/v1/wasm.d.ts +70 -70
  965. package/lib/codec/ibc/lightclients/wasm/v1/wasm.js +267 -267
  966. package/lib/codec/ibc-models.d.ts +13 -13
  967. package/lib/codec/ibc-models.js +35 -39
  968. package/lib/codec/index.d.ts +662 -662
  969. package/lib/codec/index.js +30969 -30973
  970. package/lib/codec/oraclesvc/query.d.ts +20 -20
  971. package/lib/codec/oraclesvc/query.js +29 -29
  972. package/lib/codec/polynetwork-models.d.ts +4 -4
  973. package/lib/codec/polynetwork-models.js +26 -30
  974. package/lib/codec/tendermint/abci/types.d.ts +817 -817
  975. package/lib/codec/tendermint/abci/types.js +4769 -4769
  976. package/lib/codec/tendermint/crypto/keys.d.ts +20 -20
  977. package/lib/codec/tendermint/crypto/keys.js +109 -109
  978. package/lib/codec/tendermint/crypto/proof.d.ts +74 -74
  979. package/lib/codec/tendermint/crypto/proof.js +391 -391
  980. package/lib/codec/tendermint/libs/bits/types.d.ts +19 -19
  981. package/lib/codec/tendermint/libs/bits/types.js +89 -89
  982. package/lib/codec/tendermint/oracle/types.d.ts +90 -90
  983. package/lib/codec/tendermint/oracle/types.js +629 -629
  984. package/lib/codec/tendermint/p2p/types.d.ts +60 -60
  985. package/lib/codec/tendermint/p2p/types.js +400 -400
  986. package/lib/codec/tendermint/types/block.d.ts +23 -23
  987. package/lib/codec/tendermint/types/block.js +116 -116
  988. package/lib/codec/tendermint/types/evidence.d.ts +61 -61
  989. package/lib/codec/tendermint/types/evidence.js +390 -390
  990. package/lib/codec/tendermint/types/params.d.ts +141 -141
  991. package/lib/codec/tendermint/types/params.js +498 -498
  992. package/lib/codec/tendermint/types/types.d.ts +274 -274
  993. package/lib/codec/tendermint/types/types.js +1643 -1643
  994. package/lib/codec/tendermint/types/validator.d.ts +59 -59
  995. package/lib/codec/tendermint/types/validator.js +343 -343
  996. package/lib/codec/tendermint/version/types.d.ts +40 -40
  997. package/lib/codec/tendermint/version/types.js +139 -139
  998. package/lib/constant/address.d.ts +3 -3
  999. package/lib/constant/address.js +5 -5
  1000. package/lib/constant/eip6963Provider.d.ts +66 -66
  1001. package/lib/constant/eip6963Provider.js +31 -31
  1002. package/lib/constant/eip712.d.ts +46 -46
  1003. package/lib/constant/eip712.js +106 -106
  1004. package/lib/constant/generic.d.ts +24 -24
  1005. package/lib/constant/generic.js +24 -24
  1006. package/lib/constant/grant.d.ts +1 -1
  1007. package/lib/constant/grant.js +4 -4
  1008. package/lib/constant/ibc.d.ts +190 -190
  1009. package/lib/constant/ibc.js +2131 -2135
  1010. package/lib/constant/index.d.ts +9 -9
  1011. package/lib/constant/index.js +21 -25
  1012. package/lib/constant/network.d.ts +76 -76
  1013. package/lib/constant/network.js +349 -349
  1014. package/lib/constant/node.d.ts +5 -5
  1015. package/lib/constant/node.js +80 -80
  1016. package/lib/constant/token.d.ts +11 -11
  1017. package/lib/constant/token.js +373 -373
  1018. package/lib/constant/walletProvider.d.ts +10 -10
  1019. package/lib/constant/walletProvider.js +15 -15
  1020. package/lib/constant/web3Config.d.ts +33 -33
  1021. package/lib/constant/web3Config.js +175 -175
  1022. package/lib/eth/abis/axelarBridge.json +1150 -1150
  1023. package/lib/eth/abis/balanceReader.json +26 -26
  1024. package/lib/eth/abis/bridgeEntrance.json +105 -105
  1025. package/lib/eth/abis/erc20.json +222 -222
  1026. package/lib/eth/abis/index.d.ts +8 -8
  1027. package/lib/eth/abis/index.js +20 -20
  1028. package/lib/eth/abis/keyStorage.json +44 -44
  1029. package/lib/eth/abis/lockProxy.json +574 -574
  1030. package/lib/eth/abis/vault.json +119 -119
  1031. package/lib/eth/index.d.ts +1 -1
  1032. package/lib/eth/index.js +23 -27
  1033. package/lib/hydrogen/feeQuote.d.ts +23 -23
  1034. package/lib/hydrogen/feeQuote.js +2 -2
  1035. package/lib/hydrogen/index.d.ts +3 -3
  1036. package/lib/hydrogen/index.js +15 -19
  1037. package/lib/hydrogen/relays.d.ts +34 -34
  1038. package/lib/hydrogen/relays.js +2 -2
  1039. package/lib/hydrogen/stats.d.ts +26 -26
  1040. package/lib/hydrogen/stats.js +2 -2
  1041. package/lib/hydrogen/transfer.d.ts +159 -159
  1042. package/lib/hydrogen/transfer.js +10 -10
  1043. package/lib/index.d.ts +12 -12
  1044. package/lib/index.js +59 -63
  1045. package/lib/insights/alliances.d.ts +39 -39
  1046. package/lib/insights/alliances.js +2 -2
  1047. package/lib/insights/balance.d.ts +74 -74
  1048. package/lib/insights/balance.js +2 -2
  1049. package/lib/insights/block.d.ts +25 -25
  1050. package/lib/insights/block.js +2 -2
  1051. package/lib/insights/chain.d.ts +40 -40
  1052. package/lib/insights/chain.js +2 -2
  1053. package/lib/insights/common.d.ts +93 -93
  1054. package/lib/insights/common.js +73 -73
  1055. package/lib/insights/competition.d.ts +196 -196
  1056. package/lib/insights/competition.js +2 -2
  1057. package/lib/insights/delegation.d.ts +26 -26
  1058. package/lib/insights/delegation.js +2 -2
  1059. package/lib/insights/funding.d.ts +41 -41
  1060. package/lib/insights/funding.js +2 -2
  1061. package/lib/insights/index.d.ts +15 -15
  1062. package/lib/insights/index.js +27 -31
  1063. package/lib/insights/inflation.d.ts +6 -6
  1064. package/lib/insights/inflation.js +2 -2
  1065. package/lib/insights/market.d.ts +20 -20
  1066. package/lib/insights/market.js +2 -2
  1067. package/lib/insights/node.d.ts +32 -32
  1068. package/lib/insights/node.js +2 -2
  1069. package/lib/insights/oracles.d.ts +17 -17
  1070. package/lib/insights/oracles.js +2 -2
  1071. package/lib/insights/pool.d.ts +143 -143
  1072. package/lib/insights/pool.js +2 -2
  1073. package/lib/insights/position.d.ts +104 -104
  1074. package/lib/insights/position.js +10 -10
  1075. package/lib/insights/proposal.d.ts +21 -21
  1076. package/lib/insights/proposal.js +2 -2
  1077. package/lib/insights/transaction.d.ts +30 -30
  1078. package/lib/insights/transaction.js +2 -2
  1079. package/lib/insights/user.d.ts +148 -148
  1080. package/lib/insights/user.js +2 -2
  1081. package/lib/modules/admin.d.ts +377 -377
  1082. package/lib/modules/admin.js +715 -715
  1083. package/lib/modules/alliance.d.ts +43 -43
  1084. package/lib/modules/alliance.js +102 -102
  1085. package/lib/modules/bank.d.ts +14 -14
  1086. package/lib/modules/bank.js +35 -35
  1087. package/lib/modules/base.d.ts +12 -12
  1088. package/lib/modules/base.js +29 -29
  1089. package/lib/modules/bridge.d.ts +27 -27
  1090. package/lib/modules/bridge.js +68 -68
  1091. package/lib/modules/broker.d.ts +16 -16
  1092. package/lib/modules/broker.js +50 -50
  1093. package/lib/modules/cdp.d.ts +189 -189
  1094. package/lib/modules/cdp.js +973 -973
  1095. package/lib/modules/coin.d.ts +54 -54
  1096. package/lib/modules/coin.js +138 -138
  1097. package/lib/modules/cosmwasm.d.ts +20 -20
  1098. package/lib/modules/cosmwasm.js +88 -88
  1099. package/lib/modules/erc20.d.ts +30 -30
  1100. package/lib/modules/erc20.js +81 -81
  1101. package/lib/modules/evm.d.ts +45 -45
  1102. package/lib/modules/evm.js +85 -85
  1103. package/lib/modules/evmmerge.d.ts +12 -12
  1104. package/lib/modules/evmmerge.js +35 -35
  1105. package/lib/modules/fee.d.ts +5 -5
  1106. package/lib/modules/fee.js +27 -27
  1107. package/lib/modules/gov.d.ts +21 -21
  1108. package/lib/modules/gov.js +70 -70
  1109. package/lib/modules/grant.d.ts +33 -33
  1110. package/lib/modules/grant.js +196 -196
  1111. package/lib/modules/ibc.d.ts +46 -46
  1112. package/lib/modules/ibc.js +236 -236
  1113. package/lib/modules/index.d.ts +24 -24
  1114. package/lib/modules/index.js +36 -40
  1115. package/lib/modules/leverage.d.ts +13 -13
  1116. package/lib/modules/leverage.js +52 -52
  1117. package/lib/modules/liquiditypool.d.ts +84 -84
  1118. package/lib/modules/liquiditypool.js +198 -198
  1119. package/lib/modules/market.d.ts +104 -104
  1120. package/lib/modules/market.js +183 -183
  1121. package/lib/modules/oracle.d.ts +5 -5
  1122. package/lib/modules/oracle.js +10 -10
  1123. package/lib/modules/order.d.ts +70 -70
  1124. package/lib/modules/order.js +194 -194
  1125. package/lib/modules/perpspool.d.ts +49 -49
  1126. package/lib/modules/perpspool.js +117 -117
  1127. package/lib/modules/position.d.ts +13 -13
  1128. package/lib/modules/position.js +52 -52
  1129. package/lib/modules/profile.d.ts +11 -11
  1130. package/lib/modules/profile.js +35 -35
  1131. package/lib/modules/staking.d.ts +36 -36
  1132. package/lib/modules/staking.js +107 -107
  1133. package/lib/modules/subaccount.d.ts +24 -24
  1134. package/lib/modules/subaccount.js +66 -66
  1135. package/lib/modules/xchain.d.ts +22 -22
  1136. package/lib/modules/xchain.js +53 -53
  1137. package/lib/provider/account/NeoLedgerAccount/N3Ledger/BIP44.d.ts +5 -5
  1138. package/lib/provider/account/NeoLedgerAccount/N3Ledger/BIP44.js +26 -26
  1139. package/lib/provider/account/NeoLedgerAccount/N3Ledger/ErrorCode.d.ts +40 -40
  1140. package/lib/provider/account/NeoLedgerAccount/N3Ledger/ErrorCode.js +62 -62
  1141. package/lib/provider/account/NeoLedgerAccount/N3Ledger/index.d.ts +3 -3
  1142. package/lib/provider/account/NeoLedgerAccount/N3Ledger/index.js +17 -21
  1143. package/lib/provider/account/NeoLedgerAccount/N3Ledger/main.d.ts +42 -42
  1144. package/lib/provider/account/NeoLedgerAccount/N3Ledger/main.js +181 -181
  1145. package/lib/provider/account/NeoLedgerAccount/NeoLedgerAccount.d.ts +24 -24
  1146. package/lib/provider/account/NeoLedgerAccount/NeoLedgerAccount.js +146 -150
  1147. package/lib/provider/account/NeoLedgerAccount/NeonLedger.d.ts +59 -59
  1148. package/lib/provider/account/NeoLedgerAccount/NeonLedger.js +180 -180
  1149. package/lib/provider/account/NeoLedgerAccount/index.d.ts +1 -1
  1150. package/lib/provider/account/NeoLedgerAccount/index.js +13 -17
  1151. package/lib/provider/account/index.d.ts +1 -1
  1152. package/lib/provider/account/index.js +13 -17
  1153. package/lib/provider/amino/AminoTypesMap.d.ts +3 -3
  1154. package/lib/provider/amino/AminoTypesMap.js +6 -6
  1155. package/lib/provider/amino/index.d.ts +1 -1
  1156. package/lib/provider/amino/index.js +8 -8
  1157. package/lib/provider/amino/types/admin.d.ts +4 -4
  1158. package/lib/provider/amino/types/admin.js +242 -246
  1159. package/lib/provider/amino/types/bank.d.ts +4 -4
  1160. package/lib/provider/amino/types/bank.js +34 -38
  1161. package/lib/provider/amino/types/bridge.d.ts +4 -4
  1162. package/lib/provider/amino/types/bridge.js +36 -40
  1163. package/lib/provider/amino/types/broker.d.ts +4 -4
  1164. package/lib/provider/amino/types/broker.js +34 -38
  1165. package/lib/provider/amino/types/cdp.d.ts +4 -4
  1166. package/lib/provider/amino/types/cdp.js +173 -177
  1167. package/lib/provider/amino/types/coin.d.ts +4 -4
  1168. package/lib/provider/amino/types/coin.js +52 -56
  1169. package/lib/provider/amino/types/erc20.d.ts +4 -4
  1170. package/lib/provider/amino/types/erc20.js +40 -44
  1171. package/lib/provider/amino/types/evm.d.ts +4 -4
  1172. package/lib/provider/amino/types/evm.js +34 -38
  1173. package/lib/provider/amino/types/evmmerge.d.ts +4 -4
  1174. package/lib/provider/amino/types/evmmerge.js +34 -38
  1175. package/lib/provider/amino/types/feemarket.d.ts +4 -4
  1176. package/lib/provider/amino/types/feemarket.js +34 -38
  1177. package/lib/provider/amino/types/gov.d.ts +4 -4
  1178. package/lib/provider/amino/types/gov.js +413 -417
  1179. package/lib/provider/amino/types/grant.d.ts +13 -13
  1180. package/lib/provider/amino/types/grant.js +198 -202
  1181. package/lib/provider/amino/types/ibc.d.ts +4 -4
  1182. package/lib/provider/amino/types/ibc.js +57 -61
  1183. package/lib/provider/amino/types/index.d.ts +23 -23
  1184. package/lib/provider/amino/types/index.js +52 -52
  1185. package/lib/provider/amino/types/leverage.d.ts +4 -4
  1186. package/lib/provider/amino/types/leverage.js +36 -40
  1187. package/lib/provider/amino/types/liquidityPool.d.ts +4 -4
  1188. package/lib/provider/amino/types/liquidityPool.js +97 -101
  1189. package/lib/provider/amino/types/market.d.ts +4 -4
  1190. package/lib/provider/amino/types/market.js +90 -94
  1191. package/lib/provider/amino/types/oracle.d.ts +4 -4
  1192. package/lib/provider/amino/types/oracle.js +4 -4
  1193. package/lib/provider/amino/types/order.d.ts +4 -4
  1194. package/lib/provider/amino/types/order.js +84 -88
  1195. package/lib/provider/amino/types/perpspool.d.ts +4 -4
  1196. package/lib/provider/amino/types/perpspool.js +73 -77
  1197. package/lib/provider/amino/types/position.d.ts +4 -4
  1198. package/lib/provider/amino/types/position.js +34 -38
  1199. package/lib/provider/amino/types/profile.d.ts +4 -4
  1200. package/lib/provider/amino/types/profile.js +50 -54
  1201. package/lib/provider/amino/types/staking.d.ts +4 -4
  1202. package/lib/provider/amino/types/staking.js +52 -56
  1203. package/lib/provider/amino/types/subaccount.d.ts +4 -4
  1204. package/lib/provider/amino/types/subaccount.js +46 -50
  1205. package/lib/provider/amino/utils.d.ts +44 -44
  1206. package/lib/provider/amino/utils.js +247 -246
  1207. package/lib/provider/chainProvider/GetSigningCosmosClientOptions.d.ts +2 -2
  1208. package/lib/provider/chainProvider/GetSigningCosmosClientOptions.js +18 -18
  1209. package/lib/provider/chainProvider/index.d.ts +2 -2
  1210. package/lib/provider/chainProvider/index.js +5 -5
  1211. package/lib/provider/eip6963Provider/Eip6963Provider.d.ts +8 -8
  1212. package/lib/provider/eip6963Provider/Eip6963Provider.js +24 -24
  1213. package/lib/provider/eip6963Provider/index.d.ts +1 -1
  1214. package/lib/provider/eip6963Provider/index.js +8 -8
  1215. package/lib/provider/index.d.ts +13 -13
  1216. package/lib/provider/index.js +29 -29
  1217. package/lib/provider/keplr/KeplrAccount.d.ts +27 -27
  1218. package/lib/provider/keplr/KeplrAccount.js +230 -230
  1219. package/lib/provider/keplr/KeplrStore.js +1 -1
  1220. package/lib/provider/keplr/index.d.ts +3 -3
  1221. package/lib/provider/keplr/index.js +8 -8
  1222. package/lib/provider/leap/LeapAccount.d.ts +28 -28
  1223. package/lib/provider/leap/LeapAccount.js +208 -208
  1224. package/lib/provider/leap/index.d.ts +3 -3
  1225. package/lib/provider/leap/index.js +8 -8
  1226. package/lib/provider/ledger/index.d.ts +1 -1
  1227. package/lib/provider/ledger/index.js +8 -8
  1228. package/lib/provider/ledger/ledger.d.ts +28 -28
  1229. package/lib/provider/ledger/ledger.js +336 -339
  1230. package/lib/provider/metamask/MetaMask.d.ts +76 -76
  1231. package/lib/provider/metamask/MetaMask.js +730 -734
  1232. package/lib/provider/metamask/error.d.ts +2 -2
  1233. package/lib/provider/metamask/error.js +18 -18
  1234. package/lib/provider/metamask/index.d.ts +1 -1
  1235. package/lib/provider/metamask/index.js +5 -5
  1236. package/lib/provider/metamask/legacy-accounts.d.ts +11 -11
  1237. package/lib/provider/metamask/legacy-accounts.js +2254 -2254
  1238. package/lib/provider/o3/O3Types.d.ts +84 -84
  1239. package/lib/provider/o3/O3Types.js +41 -41
  1240. package/lib/provider/o3/O3Wallet.d.ts +29 -29
  1241. package/lib/provider/o3/O3Wallet.js +238 -242
  1242. package/lib/provider/o3/index.d.ts +2 -2
  1243. package/lib/provider/o3/index.js +28 -32
  1244. package/lib/provider/rainbowKit/RainbowKitAccount.d.ts +37 -37
  1245. package/lib/provider/rainbowKit/RainbowKitAccount.js +341 -341
  1246. package/lib/provider/rainbowKit/index.d.ts +1 -1
  1247. package/lib/provider/rainbowKit/index.js +8 -8
  1248. package/lib/provider/sdk/SDKProvider.d.ts +13 -13
  1249. package/lib/provider/sdk/SDKProvider.js +2 -2
  1250. package/lib/provider/sdk/index.d.ts +1 -1
  1251. package/lib/provider/sdk/index.js +2 -2
  1252. package/lib/provider/zilpay/Zilpay.d.ts +33 -33
  1253. package/lib/provider/zilpay/Zilpay.js +82 -82
  1254. package/lib/provider/zilpay/index.d.ts +1 -1
  1255. package/lib/provider/zilpay/index.js +13 -17
  1256. package/lib/util/address.d.ts +80 -80
  1257. package/lib/util/address.js +324 -328
  1258. package/lib/util/alliance.d.ts +2 -2
  1259. package/lib/util/alliance.js +27 -27
  1260. package/lib/util/api.d.ts +117 -117
  1261. package/lib/util/api.js +177 -177
  1262. package/lib/util/blockchain.d.ts +107 -107
  1263. package/lib/util/blockchain.js +479 -479
  1264. package/lib/util/eip712.d.ts +10 -10
  1265. package/lib/util/eip712.js +198 -198
  1266. package/lib/util/ethermint.d.ts +9 -9
  1267. package/lib/util/ethermint.js +118 -118
  1268. package/lib/util/external.d.ts +11 -11
  1269. package/lib/util/external.js +8 -8
  1270. package/lib/util/fetch.d.ts +1 -1
  1271. package/lib/util/fetch.js +16 -16
  1272. package/lib/util/generic.d.ts +41 -42
  1273. package/lib/util/generic.js +171 -171
  1274. package/lib/util/gov.d.ts +55 -55
  1275. package/lib/util/gov.js +301 -301
  1276. package/lib/util/grant.d.ts +10 -10
  1277. package/lib/util/grant.js +30 -30
  1278. package/lib/util/ibc.d.ts +19 -19
  1279. package/lib/util/ibc.js +150 -150
  1280. package/lib/util/index.d.ts +17 -17
  1281. package/lib/util/index.js +39 -43
  1282. package/lib/util/ledger.d.ts +3 -3
  1283. package/lib/util/ledger.js +59 -59
  1284. package/lib/util/legacyEIP712.d.ts +20 -20
  1285. package/lib/util/legacyEIP712.js +98 -98
  1286. package/lib/util/message.d.ts +2 -2
  1287. package/lib/util/message.js +24 -24
  1288. package/lib/util/network.d.ts +9 -9
  1289. package/lib/util/network.js +40 -40
  1290. package/lib/util/number.d.ts +9 -9
  1291. package/lib/util/number.js +47 -47
  1292. package/lib/util/order.d.ts +3 -3
  1293. package/lib/util/order.js +13 -13
  1294. package/lib/util/provider.d.ts +1 -1
  1295. package/lib/util/provider.js +24 -24
  1296. package/lib/util/token.d.ts +16 -16
  1297. package/lib/util/token.js +23 -23
  1298. package/lib/util/transferfees.d.ts +18 -18
  1299. package/lib/util/transferfees.js +9 -9
  1300. package/lib/util/tx.d.ts +709 -709
  1301. package/lib/util/tx.js +156 -160
  1302. package/lib/util/type.d.ts +22 -22
  1303. package/lib/util/type.js +45 -45
  1304. package/lib/wallet/CarbonSigner.d.ts +68 -68
  1305. package/lib/wallet/CarbonSigner.js +170 -170
  1306. package/lib/wallet/CarbonSigningClient.d.ts +41 -41
  1307. package/lib/wallet/CarbonSigningClient.js +210 -210
  1308. package/lib/wallet/CarbonWallet.d.ts +220 -220
  1309. package/lib/wallet/CarbonWallet.js +756 -756
  1310. package/lib/wallet/index.d.ts +2 -2
  1311. package/lib/wallet/index.js +14 -18
  1312. package/lib/websocket/channel.d.ts +3 -3
  1313. package/lib/websocket/channel.js +286 -286
  1314. package/lib/websocket/connector.d.ts +234 -234
  1315. package/lib/websocket/connector.js +514 -518
  1316. package/lib/websocket/index.d.ts +1 -1
  1317. package/lib/websocket/index.js +13 -17
  1318. package/lib/websocket/models.d.ts +331 -331
  1319. package/lib/websocket/models.js +2 -2
  1320. package/lib/websocket/types.d.ts +233 -233
  1321. package/lib/websocket/types.js +73 -73
  1322. package/package.json +92 -92
  1323. package/lib/codec/Switcheo/carbon/ccm/ccm.d.ts +0 -19
  1324. package/lib/codec/Switcheo/carbon/ccm/ccm.js +0 -60
  1325. package/lib/codec/Switcheo/carbon/fee/proposal.d.ts +0 -57
  1326. package/lib/codec/Switcheo/carbon/fee/proposal.js +0 -311
  1327. package/lib/codec/Switcheo/carbon/liquidation/liquidation.d.ts +0 -17
  1328. package/lib/codec/Switcheo/carbon/liquidation/liquidation.js +0 -46
  1329. package/lib/codec/Switcheo/carbon/marketstats/params.d.ts +0 -18
  1330. package/lib/codec/Switcheo/carbon/marketstats/params.js +0 -46
  1331. package/lib/codec/Switcheo/carbon/oracle/proposal.d.ts +0 -21
  1332. package/lib/codec/Switcheo/carbon/oracle/proposal.js +0 -91
  1333. package/lib/codec/Switcheo/carbon/pricing/proposal.d.ts +0 -31
  1334. package/lib/codec/Switcheo/carbon/pricing/proposal.js +0 -148
  1335. package/lib/codec/adl/genesis.d.ts +0 -18
  1336. package/lib/codec/adl/genesis.js +0 -46
  1337. package/lib/codec/adl/query.d.ts +0 -12
  1338. package/lib/codec/adl/query.js +0 -20
  1339. package/lib/codec/adl/tx.d.ts +0 -12
  1340. package/lib/codec/adl/tx.js +0 -20
  1341. package/lib/codec/admin/export.d.ts +0 -2
  1342. package/lib/codec/admin/export.js +0 -13
  1343. package/lib/codec/admin/genesis.d.ts +0 -18
  1344. package/lib/codec/admin/genesis.js +0 -46
  1345. package/lib/codec/admin/query.d.ts +0 -62
  1346. package/lib/codec/admin/query.js +0 -186
  1347. package/lib/codec/admin/tx.d.ts +0 -62
  1348. package/lib/codec/admin/tx.js +0 -198
  1349. package/lib/codec/alliance/alliance.d.ts +0 -65
  1350. package/lib/codec/alliance/alliance.js +0 -354
  1351. package/lib/codec/alliance/delegations.d.ts +0 -86
  1352. package/lib/codec/alliance/delegations.js +0 -489
  1353. package/lib/codec/alliance/events.d.ts +0 -61
  1354. package/lib/codec/alliance/events.js +0 -403
  1355. package/lib/codec/alliance/export.d.ts +0 -8
  1356. package/lib/codec/alliance/export.js +0 -64
  1357. package/lib/codec/alliance/genesis.d.ts +0 -74
  1358. package/lib/codec/alliance/genesis.js +0 -469
  1359. package/lib/codec/alliance/gov.d.ts +0 -78
  1360. package/lib/codec/alliance/gov.js +0 -380
  1361. package/lib/codec/alliance/params.d.ts +0 -34
  1362. package/lib/codec/alliance/params.js +0 -182
  1363. package/lib/codec/alliance/query.d.ts +0 -333
  1364. package/lib/codec/alliance/query.js +0 -1497
  1365. package/lib/codec/alliance/tx.d.ts +0 -111
  1366. package/lib/codec/alliance/tx.js +0 -495
  1367. package/lib/codec/bank/event.d.ts +0 -65
  1368. package/lib/codec/bank/event.js +0 -332
  1369. package/lib/codec/bank/export.d.ts +0 -2
  1370. package/lib/codec/bank/export.js +0 -14
  1371. package/lib/codec/bank/genesis.d.ts +0 -18
  1372. package/lib/codec/bank/genesis.js +0 -46
  1373. package/lib/codec/bank/query.d.ts +0 -77
  1374. package/lib/codec/bank/query.js +0 -459
  1375. package/lib/codec/book/book.d.ts +0 -57
  1376. package/lib/codec/book/book.js +0 -319
  1377. package/lib/codec/book/event.d.ts +0 -22
  1378. package/lib/codec/book/event.js +0 -113
  1379. package/lib/codec/book/export.d.ts +0 -4
  1380. package/lib/codec/book/export.js +0 -23
  1381. package/lib/codec/book/genesis.d.ts +0 -25
  1382. package/lib/codec/book/genesis.js +0 -79
  1383. package/lib/codec/book/legacy.d.ts +0 -22
  1384. package/lib/codec/book/legacy.js +0 -120
  1385. package/lib/codec/book/query.d.ts +0 -141
  1386. package/lib/codec/book/query.js +0 -606
  1387. package/lib/codec/book/tx.d.ts +0 -12
  1388. package/lib/codec/book/tx.js +0 -20
  1389. package/lib/codec/broker/amm.d.ts +0 -50
  1390. package/lib/codec/broker/amm.js +0 -326
  1391. package/lib/codec/broker/candlestick.d.ts +0 -27
  1392. package/lib/codec/broker/candlestick.js +0 -211
  1393. package/lib/codec/broker/event.d.ts +0 -53
  1394. package/lib/codec/broker/event.js +0 -485
  1395. package/lib/codec/broker/export.d.ts +0 -7
  1396. package/lib/codec/broker/export.js +0 -27
  1397. package/lib/codec/broker/genesis.d.ts +0 -25
  1398. package/lib/codec/broker/genesis.js +0 -79
  1399. package/lib/codec/broker/incoming_liquidations.d.ts +0 -18
  1400. package/lib/codec/broker/incoming_liquidations.js +0 -93
  1401. package/lib/codec/broker/incoming_pool_swap.d.ts +0 -23
  1402. package/lib/codec/broker/incoming_pool_swap.js +0 -136
  1403. package/lib/codec/broker/pagination.d.ts +0 -19
  1404. package/lib/codec/broker/pagination.js +0 -78
  1405. package/lib/codec/broker/query.d.ts +0 -107
  1406. package/lib/codec/broker/query.js +0 -597
  1407. package/lib/codec/broker/tx.d.ts +0 -53
  1408. package/lib/codec/broker/tx.js +0 -176
  1409. package/lib/codec/btcx/denom_cross_chain_info.d.ts +0 -21
  1410. package/lib/codec/btcx/denom_cross_chain_info.js +0 -98
  1411. package/lib/codec/btcx/denom_info.d.ts +0 -24
  1412. package/lib/codec/btcx/denom_info.js +0 -140
  1413. package/lib/codec/btcx/export.d.ts +0 -4
  1414. package/lib/codec/btcx/export.js +0 -19
  1415. package/lib/codec/btcx/genesis.d.ts +0 -18
  1416. package/lib/codec/btcx/genesis.js +0 -46
  1417. package/lib/codec/btcx/query.d.ts +0 -68
  1418. package/lib/codec/btcx/query.js +0 -275
  1419. package/lib/codec/btcx/tx.d.ts +0 -92
  1420. package/lib/codec/btcx/tx.js +0 -436
  1421. package/lib/codec/ccm/ccm.d.ts +0 -19
  1422. package/lib/codec/ccm/ccm.js +0 -60
  1423. package/lib/codec/ccm/export.d.ts +0 -4
  1424. package/lib/codec/ccm/export.js +0 -20
  1425. package/lib/codec/ccm/genesis.d.ts +0 -83
  1426. package/lib/codec/ccm/genesis.js +0 -438
  1427. package/lib/codec/ccm/query.d.ts +0 -45
  1428. package/lib/codec/ccm/query.js +0 -197
  1429. package/lib/codec/ccm/tx.d.ts +0 -97
  1430. package/lib/codec/ccm/tx.js +0 -462
  1431. package/lib/codec/cdp/asset_params.d.ts +0 -57
  1432. package/lib/codec/cdp/asset_params.js +0 -411
  1433. package/lib/codec/cdp/cdp_liquidations.d.ts +0 -32
  1434. package/lib/codec/cdp/cdp_liquidations.js +0 -288
  1435. package/lib/codec/cdp/debt_info.d.ts +0 -23
  1436. package/lib/codec/cdp/debt_info.js +0 -158
  1437. package/lib/codec/cdp/e_mode_category.d.ts +0 -23
  1438. package/lib/codec/cdp/e_mode_category.js +0 -135
  1439. package/lib/codec/cdp/event.d.ts +0 -446
  1440. package/lib/codec/cdp/event.js +0 -2913
  1441. package/lib/codec/cdp/export.d.ts +0 -13
  1442. package/lib/codec/cdp/export.js +0 -210
  1443. package/lib/codec/cdp/genesis.d.ts +0 -134
  1444. package/lib/codec/cdp/genesis.js +0 -825
  1445. package/lib/codec/cdp/params.d.ts +0 -68
  1446. package/lib/codec/cdp/params.js +0 -210
  1447. package/lib/codec/cdp/query.d.ts +0 -644
  1448. package/lib/codec/cdp/query.js +0 -3099
  1449. package/lib/codec/cdp/rate_strategy_params.d.ts +0 -26
  1450. package/lib/codec/cdp/rate_strategy_params.js +0 -180
  1451. package/lib/codec/cdp/reward_scheme.d.ts +0 -71
  1452. package/lib/codec/cdp/reward_scheme.js +0 -550
  1453. package/lib/codec/cdp/stablecoin_debt_info.d.ts +0 -22
  1454. package/lib/codec/cdp/stablecoin_debt_info.js +0 -144
  1455. package/lib/codec/cdp/stablecoin_interest_info.d.ts +0 -19
  1456. package/lib/codec/cdp/stablecoin_interest_info.js +0 -99
  1457. package/lib/codec/cdp/tx.d.ts +0 -1026
  1458. package/lib/codec/cdp/tx.js +0 -5191
  1459. package/lib/codec/coin/bridge.d.ts +0 -24
  1460. package/lib/codec/coin/bridge.js +0 -151
  1461. package/lib/codec/coin/event.d.ts +0 -143
  1462. package/lib/codec/coin/event.js +0 -775
  1463. package/lib/codec/coin/export.d.ts +0 -8
  1464. package/lib/codec/coin/export.js +0 -107
  1465. package/lib/codec/coin/genesis.d.ts +0 -42
  1466. package/lib/codec/coin/genesis.js +0 -207
  1467. package/lib/codec/coin/group.d.ts +0 -50
  1468. package/lib/codec/coin/group.js +0 -230
  1469. package/lib/codec/coin/proposal.d.ts +0 -21
  1470. package/lib/codec/coin/proposal.js +0 -91
  1471. package/lib/codec/coin/query.d.ts +0 -310
  1472. package/lib/codec/coin/query.js +0 -1439
  1473. package/lib/codec/coin/token.d.ts +0 -104
  1474. package/lib/codec/coin/token.js +0 -700
  1475. package/lib/codec/coin/tx.d.ts +0 -586
  1476. package/lib/codec/coin/tx.js +0 -3131
  1477. package/lib/codec/cosmos/app/module/v1alpha1/module.d.ts +0 -18
  1478. package/lib/codec/cosmos/app/module/v1alpha1/module.js +0 -46
  1479. package/lib/codec/cosmos/base/kv/v1beta1/kv.d.ts +0 -31
  1480. package/lib/codec/cosmos/base/kv/v1beta1/kv.js +0 -154
  1481. package/lib/codec/cosmos/base/snapshots/v1beta1/snapshot.d.ts +0 -160
  1482. package/lib/codec/cosmos/base/snapshots/v1beta1/snapshot.js +0 -684
  1483. package/lib/codec/cosmos/base/store/v1beta1/commit_info.d.ts +0 -54
  1484. package/lib/codec/cosmos/base/store/v1beta1/commit_info.js +0 -273
  1485. package/lib/codec/cosmos/base/store/v1beta1/listening.d.ts +0 -62
  1486. package/lib/codec/cosmos/base/store/v1beta1/listening.js +0 -341
  1487. package/lib/codec/cosmos/capability/module/v1/module.d.ts +0 -23
  1488. package/lib/codec/cosmos/capability/module/v1/module.js +0 -59
  1489. package/lib/codec/cosmos/capability/v1beta1/capability.d.ts +0 -51
  1490. package/lib/codec/cosmos/capability/v1beta1/capability.js +0 -168
  1491. package/lib/codec/cosmos/capability/v1beta1/genesis.d.ts +0 -40
  1492. package/lib/codec/cosmos/capability/v1beta1/genesis.js +0 -146
  1493. package/lib/codec/cosmos/gov/v1beta1/export.d.ts +0 -3
  1494. package/lib/codec/cosmos/gov/v1beta1/export.js +0 -45
  1495. package/lib/codec/crisis/genesis.d.ts +0 -18
  1496. package/lib/codec/crisis/genesis.js +0 -46
  1497. package/lib/codec/crisis/query.d.ts +0 -43
  1498. package/lib/codec/crisis/query.js +0 -103
  1499. package/lib/codec/crisis/tx.d.ts +0 -12
  1500. package/lib/codec/crisis/tx.js +0 -20
  1501. package/lib/codec/erc20/erc20.d.ts +0 -41
  1502. package/lib/codec/erc20/erc20.js +0 -144
  1503. package/lib/codec/erc20/events.d.ts +0 -76
  1504. package/lib/codec/erc20/events.js +0 -330
  1505. package/lib/codec/erc20/export.d.ts +0 -5
  1506. package/lib/codec/erc20/export.js +0 -37
  1507. package/lib/codec/erc20/genesis.d.ts +0 -40
  1508. package/lib/codec/erc20/genesis.js +0 -139
  1509. package/lib/codec/erc20/query.d.ts +0 -117
  1510. package/lib/codec/erc20/query.js +0 -333
  1511. package/lib/codec/erc20/tx.d.ts +0 -232
  1512. package/lib/codec/erc20/tx.js +0 -765
  1513. package/lib/codec/evmbank/export.d.ts +0 -2
  1514. package/lib/codec/evmbank/export.js +0 -8
  1515. package/lib/codec/evmbank/genesis.d.ts +0 -32
  1516. package/lib/codec/evmbank/genesis.js +0 -152
  1517. package/lib/codec/evmbank/query.d.ts +0 -40
  1518. package/lib/codec/evmbank/query.js +0 -116
  1519. package/lib/codec/evmcontract/genesis.d.ts +0 -18
  1520. package/lib/codec/evmcontract/genesis.js +0 -46
  1521. package/lib/codec/evmcontract/query.d.ts +0 -12
  1522. package/lib/codec/evmcontract/query.js +0 -20
  1523. package/lib/codec/evmcontract/tx.d.ts +0 -12
  1524. package/lib/codec/evmcontract/tx.js +0 -20
  1525. package/lib/codec/evmmerge/address.d.ts +0 -19
  1526. package/lib/codec/evmmerge/address.js +0 -75
  1527. package/lib/codec/evmmerge/event.d.ts +0 -20
  1528. package/lib/codec/evmmerge/event.js +0 -90
  1529. package/lib/codec/evmmerge/export.d.ts +0 -6
  1530. package/lib/codec/evmmerge/export.js +0 -20
  1531. package/lib/codec/evmmerge/genesis.d.ts +0 -48
  1532. package/lib/codec/evmmerge/genesis.js +0 -216
  1533. package/lib/codec/evmmerge/offchain.d.ts +0 -22
  1534. package/lib/codec/evmmerge/offchain.js +0 -105
  1535. package/lib/codec/evmmerge/query.d.ts +0 -75
  1536. package/lib/codec/evmmerge/query.js +0 -254
  1537. package/lib/codec/evmmerge/tx.d.ts +0 -45
  1538. package/lib/codec/evmmerge/tx.js +0 -128
  1539. package/lib/codec/fee/event.d.ts +0 -20
  1540. package/lib/codec/fee/event.js +0 -83
  1541. package/lib/codec/fee/export.d.ts +0 -5
  1542. package/lib/codec/fee/export.js +0 -32
  1543. package/lib/codec/fee/fee.d.ts +0 -42
  1544. package/lib/codec/fee/fee.js +0 -183
  1545. package/lib/codec/fee/genesis.d.ts +0 -23
  1546. package/lib/codec/fee/genesis.js +0 -79
  1547. package/lib/codec/fee/proposal.d.ts +0 -57
  1548. package/lib/codec/fee/proposal.js +0 -311
  1549. package/lib/codec/fee/query.d.ts +0 -114
  1550. package/lib/codec/fee/query.js +0 -470
  1551. package/lib/codec/fee/tx.d.ts +0 -108
  1552. package/lib/codec/fee/tx.js +0 -415
  1553. package/lib/codec/headersync/consensus_peers.d.ts +0 -70
  1554. package/lib/codec/headersync/consensus_peers.js +0 -383
  1555. package/lib/codec/headersync/export.d.ts +0 -4
  1556. package/lib/codec/headersync/export.js +0 -24
  1557. package/lib/codec/headersync/genesis.d.ts +0 -79
  1558. package/lib/codec/headersync/genesis.js +0 -419
  1559. package/lib/codec/headersync/query.d.ts +0 -64
  1560. package/lib/codec/headersync/query.js +0 -231
  1561. package/lib/codec/headersync/tx.d.ts +0 -64
  1562. package/lib/codec/headersync/tx.js +0 -215
  1563. package/lib/codec/ibc/applications/interchain_accounts/v1/genesis.d.ts +0 -76
  1564. package/lib/codec/ibc/applications/interchain_accounts/v1/genesis.js +0 -424
  1565. package/lib/codec/ibc/lightclients/localhost/v1/export.d.ts +0 -1
  1566. package/lib/codec/ibc/lightclients/localhost/v1/export.js +0 -5
  1567. package/lib/codec/ibc/lightclients/localhost/v1/localhost.d.ts +0 -26
  1568. package/lib/codec/ibc/lightclients/localhost/v1/localhost.js +0 -76
  1569. package/lib/codec/ibc/lightclients/solomachine/v1/export.d.ts +0 -1
  1570. package/lib/codec/ibc/lightclients/solomachine/v1/export.js +0 -23
  1571. package/lib/codec/ibc/lightclients/solomachine/v1/solomachine.d.ts +0 -298
  1572. package/lib/codec/ibc/lightclients/solomachine/v1/solomachine.js +0 -1356
  1573. package/lib/codec/inflation/export.d.ts +0 -2
  1574. package/lib/codec/inflation/export.js +0 -8
  1575. package/lib/codec/inflation/genesis.d.ts +0 -25
  1576. package/lib/codec/inflation/genesis.js +0 -79
  1577. package/lib/codec/inflation/inflation.d.ts +0 -26
  1578. package/lib/codec/inflation/inflation.js +0 -165
  1579. package/lib/codec/inflation/query.d.ts +0 -41
  1580. package/lib/codec/inflation/query.js +0 -109
  1581. package/lib/codec/inflation/tx.d.ts +0 -12
  1582. package/lib/codec/inflation/tx.js +0 -20
  1583. package/lib/codec/insurance/event.d.ts +0 -24
  1584. package/lib/codec/insurance/event.js +0 -46
  1585. package/lib/codec/insurance/export.d.ts +0 -4
  1586. package/lib/codec/insurance/export.js +0 -14
  1587. package/lib/codec/insurance/fund.d.ts +0 -29
  1588. package/lib/codec/insurance/fund.js +0 -148
  1589. package/lib/codec/insurance/genesis.d.ts +0 -18
  1590. package/lib/codec/insurance/genesis.js +0 -46
  1591. package/lib/codec/insurance/query.d.ts +0 -41
  1592. package/lib/codec/insurance/query.js +0 -108
  1593. package/lib/codec/insurance/tx.d.ts +0 -44
  1594. package/lib/codec/insurance/tx.js +0 -144
  1595. package/lib/codec/leverage/event.d.ts +0 -21
  1596. package/lib/codec/leverage/event.js +0 -100
  1597. package/lib/codec/leverage/export.d.ts +0 -4
  1598. package/lib/codec/leverage/export.js +0 -16
  1599. package/lib/codec/leverage/genesis.d.ts +0 -24
  1600. package/lib/codec/leverage/genesis.js +0 -64
  1601. package/lib/codec/leverage/leverage.d.ts +0 -30
  1602. package/lib/codec/leverage/leverage.js +0 -134
  1603. package/lib/codec/leverage/query.d.ts +0 -70
  1604. package/lib/codec/leverage/query.js +0 -234
  1605. package/lib/codec/leverage/tx.d.ts +0 -43
  1606. package/lib/codec/leverage/tx.js +0 -127
  1607. package/lib/codec/liquidation/export.d.ts +0 -5
  1608. package/lib/codec/liquidation/export.js +0 -17
  1609. package/lib/codec/liquidation/genesis.d.ts +0 -37
  1610. package/lib/codec/liquidation/genesis.js +0 -136
  1611. package/lib/codec/liquidation/liquidation.d.ts +0 -17
  1612. package/lib/codec/liquidation/liquidation.js +0 -46
  1613. package/lib/codec/liquidation/outstanding_position.d.ts +0 -33
  1614. package/lib/codec/liquidation/outstanding_position.js +0 -203
  1615. package/lib/codec/liquidation/query.d.ts +0 -77
  1616. package/lib/codec/liquidation/query.js +0 -341
  1617. package/lib/codec/liquidation/quote_changes.d.ts +0 -22
  1618. package/lib/codec/liquidation/quote_changes.js +0 -95
  1619. package/lib/codec/liquidation/tx.d.ts +0 -12
  1620. package/lib/codec/liquidation/tx.js +0 -20
  1621. package/lib/codec/liquiditypool/event.d.ts +0 -182
  1622. package/lib/codec/liquiditypool/event.js +0 -1268
  1623. package/lib/codec/liquiditypool/export.d.ts +0 -6
  1624. package/lib/codec/liquiditypool/export.js +0 -125
  1625. package/lib/codec/liquiditypool/genesis.d.ts +0 -32
  1626. package/lib/codec/liquiditypool/genesis.js +0 -228
  1627. package/lib/codec/liquiditypool/liquiditypool.d.ts +0 -138
  1628. package/lib/codec/liquiditypool/liquiditypool.js +0 -943
  1629. package/lib/codec/liquiditypool/proposal.d.ts +0 -117
  1630. package/lib/codec/liquiditypool/proposal.js +0 -697
  1631. package/lib/codec/liquiditypool/query.d.ts +0 -370
  1632. package/lib/codec/liquiditypool/query.js +0 -1738
  1633. package/lib/codec/liquiditypool/reward.d.ts +0 -196
  1634. package/lib/codec/liquiditypool/reward.js +0 -1204
  1635. package/lib/codec/liquiditypool/tx.d.ts +0 -453
  1636. package/lib/codec/liquiditypool/tx.js +0 -2423
  1637. package/lib/codec/lockproxy/event.d.ts +0 -46
  1638. package/lib/codec/lockproxy/event.js +0 -348
  1639. package/lib/codec/lockproxy/export.d.ts +0 -5
  1640. package/lib/codec/lockproxy/export.js +0 -28
  1641. package/lib/codec/lockproxy/genesis.d.ts +0 -68
  1642. package/lib/codec/lockproxy/genesis.js +0 -355
  1643. package/lib/codec/lockproxy/lockproxy.d.ts +0 -22
  1644. package/lib/codec/lockproxy/lockproxy.js +0 -147
  1645. package/lib/codec/lockproxy/query.d.ts +0 -67
  1646. package/lib/codec/lockproxy/query.js +0 -274
  1647. package/lib/codec/lockproxy/tx.d.ts +0 -147
  1648. package/lib/codec/lockproxy/tx.js +0 -808
  1649. package/lib/codec/market/event.d.ts +0 -20
  1650. package/lib/codec/market/event.js +0 -76
  1651. package/lib/codec/market/export.d.ts +0 -6
  1652. package/lib/codec/market/export.js +0 -61
  1653. package/lib/codec/market/fee.d.ts +0 -123
  1654. package/lib/codec/market/fee.js +0 -334
  1655. package/lib/codec/market/genesis.d.ts +0 -31
  1656. package/lib/codec/market/genesis.js +0 -147
  1657. package/lib/codec/market/legacy.d.ts +0 -62
  1658. package/lib/codec/market/legacy.js +0 -630
  1659. package/lib/codec/market/market.d.ts +0 -131
  1660. package/lib/codec/market/market.js +0 -1245
  1661. package/lib/codec/market/proposal.d.ts +0 -46
  1662. package/lib/codec/market/proposal.js +0 -245
  1663. package/lib/codec/market/query.d.ts +0 -233
  1664. package/lib/codec/market/query.js +0 -938
  1665. package/lib/codec/market/tx.d.ts +0 -250
  1666. package/lib/codec/market/tx.js +0 -1265
  1667. package/lib/codec/marketstats/export.d.ts +0 -3
  1668. package/lib/codec/marketstats/export.js +0 -12
  1669. package/lib/codec/marketstats/marketstats.d.ts +0 -31
  1670. package/lib/codec/marketstats/marketstats.js +0 -258
  1671. package/lib/codec/marketstats/params.d.ts +0 -18
  1672. package/lib/codec/marketstats/params.js +0 -46
  1673. package/lib/codec/marketstats/query.d.ts +0 -66
  1674. package/lib/codec/marketstats/query.js +0 -195
  1675. package/lib/codec/marketstats/tx.d.ts +0 -12
  1676. package/lib/codec/marketstats/tx.js +0 -20
  1677. package/lib/codec/misc/block.d.ts +0 -21
  1678. package/lib/codec/misc/block.js +0 -105
  1679. package/lib/codec/misc/export.d.ts +0 -6
  1680. package/lib/codec/misc/export.js +0 -29
  1681. package/lib/codec/misc/message.d.ts +0 -22
  1682. package/lib/codec/misc/message.js +0 -128
  1683. package/lib/codec/misc/message_type.d.ts +0 -18
  1684. package/lib/codec/misc/message_type.js +0 -60
  1685. package/lib/codec/misc/query.d.ts +0 -192
  1686. package/lib/codec/misc/query.js +0 -884
  1687. package/lib/codec/misc/trade.d.ts +0 -28
  1688. package/lib/codec/misc/trade.js +0 -224
  1689. package/lib/codec/misc/transaction.d.ts +0 -45
  1690. package/lib/codec/misc/transaction.js +0 -369
  1691. package/lib/codec/oracle/event.d.ts +0 -37
  1692. package/lib/codec/oracle/event.js +0 -228
  1693. package/lib/codec/oracle/export.d.ts +0 -6
  1694. package/lib/codec/oracle/export.js +0 -58
  1695. package/lib/codec/oracle/genesis.d.ts +0 -28
  1696. package/lib/codec/oracle/genesis.js +0 -141
  1697. package/lib/codec/oracle/oracle.d.ts +0 -94
  1698. package/lib/codec/oracle/oracle.js +0 -650
  1699. package/lib/codec/oracle/proposal.d.ts +0 -21
  1700. package/lib/codec/oracle/proposal.js +0 -91
  1701. package/lib/codec/oracle/query.d.ts +0 -336
  1702. package/lib/codec/oracle/query.js +0 -1551
  1703. package/lib/codec/oracle/slashing.d.ts +0 -33
  1704. package/lib/codec/oracle/slashing.js +0 -191
  1705. package/lib/codec/oracle/tx.d.ts +0 -169
  1706. package/lib/codec/oracle/tx.js +0 -877
  1707. package/lib/codec/order/event.d.ts +0 -23
  1708. package/lib/codec/order/event.js +0 -146
  1709. package/lib/codec/order/export.d.ts +0 -5
  1710. package/lib/codec/order/export.js +0 -39
  1711. package/lib/codec/order/genesis.d.ts +0 -62
  1712. package/lib/codec/order/genesis.js +0 -322
  1713. package/lib/codec/order/order.d.ts +0 -113
  1714. package/lib/codec/order/order.js +0 -875
  1715. package/lib/codec/order/query.d.ts +0 -143
  1716. package/lib/codec/order/query.js +0 -596
  1717. package/lib/codec/order/tx.d.ts +0 -146
  1718. package/lib/codec/order/tx.js +0 -715
  1719. package/lib/codec/perpsliquidity/event.d.ts +0 -115
  1720. package/lib/codec/perpsliquidity/event.js +0 -657
  1721. package/lib/codec/perpsliquidity/genesis.d.ts +0 -36
  1722. package/lib/codec/perpsliquidity/genesis.js +0 -163
  1723. package/lib/codec/perpsliquidity/market.d.ts +0 -84
  1724. package/lib/codec/perpsliquidity/market.js +0 -431
  1725. package/lib/codec/perpsliquidity/params.d.ts +0 -27
  1726. package/lib/codec/perpsliquidity/params.js +0 -129
  1727. package/lib/codec/perpsliquidity/pool.d.ts +0 -119
  1728. package/lib/codec/perpsliquidity/pool.js +0 -774
  1729. package/lib/codec/perpsliquidity/query.d.ts +0 -246
  1730. package/lib/codec/perpsliquidity/query.js +0 -1125
  1731. package/lib/codec/perpsliquidity/tx.d.ts +0 -203
  1732. package/lib/codec/perpsliquidity/tx.js +0 -973
  1733. package/lib/codec/perpspool/event.d.ts +0 -95
  1734. package/lib/codec/perpspool/event.js +0 -561
  1735. package/lib/codec/perpspool/export.d.ts +0 -7
  1736. package/lib/codec/perpspool/export.js +0 -68
  1737. package/lib/codec/perpspool/genesis.d.ts +0 -61
  1738. package/lib/codec/perpspool/genesis.js +0 -343
  1739. package/lib/codec/perpspool/market.d.ts +0 -96
  1740. package/lib/codec/perpspool/market.js +0 -493
  1741. package/lib/codec/perpspool/params.d.ts +0 -30
  1742. package/lib/codec/perpspool/params.js +0 -189
  1743. package/lib/codec/perpspool/pool.d.ts +0 -103
  1744. package/lib/codec/perpspool/pool.js +0 -638
  1745. package/lib/codec/perpspool/query.d.ts +0 -247
  1746. package/lib/codec/perpspool/query.js +0 -1141
  1747. package/lib/codec/perpspool/tx.d.ts +0 -229
  1748. package/lib/codec/perpspool/tx.js +0 -1144
  1749. package/lib/codec/position/event.d.ts +0 -26
  1750. package/lib/codec/position/event.js +0 -180
  1751. package/lib/codec/position/export.d.ts +0 -4
  1752. package/lib/codec/position/export.js +0 -20
  1753. package/lib/codec/position/genesis.d.ts +0 -24
  1754. package/lib/codec/position/genesis.js +0 -64
  1755. package/lib/codec/position/position.d.ts +0 -74
  1756. package/lib/codec/position/position.js +0 -601
  1757. package/lib/codec/position/query.d.ts +0 -92
  1758. package/lib/codec/position/query.js +0 -400
  1759. package/lib/codec/position/tx.d.ts +0 -42
  1760. package/lib/codec/position/tx.js +0 -127
  1761. package/lib/codec/pricing/event.d.ts +0 -74
  1762. package/lib/codec/pricing/event.js +0 -361
  1763. package/lib/codec/pricing/export.d.ts +0 -6
  1764. package/lib/codec/pricing/export.js +0 -45
  1765. package/lib/codec/pricing/genesis.d.ts +0 -26
  1766. package/lib/codec/pricing/genesis.js +0 -95
  1767. package/lib/codec/pricing/legacy.d.ts +0 -22
  1768. package/lib/codec/pricing/legacy.js +0 -93
  1769. package/lib/codec/pricing/pricing.d.ts +0 -60
  1770. package/lib/codec/pricing/pricing.js +0 -456
  1771. package/lib/codec/pricing/proposal.d.ts +0 -31
  1772. package/lib/codec/pricing/proposal.js +0 -148
  1773. package/lib/codec/pricing/query.d.ts +0 -183
  1774. package/lib/codec/pricing/query.js +0 -759
  1775. package/lib/codec/pricing/tx.d.ts +0 -131
  1776. package/lib/codec/pricing/tx.js +0 -529
  1777. package/lib/codec/profile/event.d.ts +0 -20
  1778. package/lib/codec/profile/event.js +0 -78
  1779. package/lib/codec/profile/export.d.ts +0 -4
  1780. package/lib/codec/profile/export.js +0 -17
  1781. package/lib/codec/profile/genesis.d.ts +0 -24
  1782. package/lib/codec/profile/genesis.js +0 -64
  1783. package/lib/codec/profile/profile.d.ts +0 -20
  1784. package/lib/codec/profile/profile.js +0 -83
  1785. package/lib/codec/profile/query.d.ts +0 -92
  1786. package/lib/codec/profile/query.js +0 -360
  1787. package/lib/codec/profile/tx.d.ts +0 -43
  1788. package/lib/codec/profile/tx.js +0 -127
  1789. package/lib/codec/proofs.d.ts +0 -315
  1790. package/lib/codec/proofs.js +0 -1304
  1791. package/lib/codec/query/pagination.d.ts +0 -29
  1792. package/lib/codec/query/pagination.js +0 -126
  1793. package/lib/codec/sequence/export.d.ts +0 -3
  1794. package/lib/codec/sequence/export.js +0 -13
  1795. package/lib/codec/sequence/genesis.d.ts +0 -30
  1796. package/lib/codec/sequence/genesis.js +0 -122
  1797. package/lib/codec/sequence/query.d.ts +0 -63
  1798. package/lib/codec/sequence/query.js +0 -208
  1799. package/lib/codec/sequence/tx.d.ts +0 -41
  1800. package/lib/codec/sequence/tx.js +0 -148
  1801. package/lib/codec/subaccount/export.d.ts +0 -4
  1802. package/lib/codec/subaccount/export.js +0 -35
  1803. package/lib/codec/subaccount/genesis.d.ts +0 -28
  1804. package/lib/codec/subaccount/genesis.js +0 -110
  1805. package/lib/codec/subaccount/legacy.d.ts +0 -19
  1806. package/lib/codec/subaccount/legacy.js +0 -72
  1807. package/lib/codec/subaccount/query.d.ts +0 -229
  1808. package/lib/codec/subaccount/query.js +0 -1026
  1809. package/lib/codec/subaccount/subaccount.d.ts +0 -57
  1810. package/lib/codec/subaccount/subaccount.js +0 -349
  1811. package/lib/codec/subaccount/tx.d.ts +0 -92
  1812. package/lib/codec/subaccount/tx.js +0 -395
  1813. package/lib/constant/amino.d.ts +0 -0
  1814. package/lib/constant/amino.js +0 -1
  1815. package/lib/constant/chainConfig.d.ts +0 -26
  1816. package/lib/constant/chainConfig.js +0 -154
  1817. package/lib/constant/signless.d.ts +0 -2
  1818. package/lib/constant/signless.js +0 -5
  1819. package/lib/modules/feemarket.d.ts +0 -20
  1820. package/lib/modules/feemarket.js +0 -45
  1821. package/lib/modules/perpsliquidity.d.ts +0 -49
  1822. package/lib/modules/perpsliquidity.js +0 -118
  1823. package/lib/modules/signless.d.ts +0 -24
  1824. package/lib/modules/signless.js +0 -108
  1825. package/lib/modules/vault.d.ts +0 -56
  1826. package/lib/modules/vault.js +0 -128
  1827. package/lib/provider/account/EthLedgerAccount/EthLedgerAccount.d.ts +0 -29
  1828. package/lib/provider/account/EthLedgerAccount/EthLedgerAccount.js +0 -178
  1829. package/lib/provider/account/EthLedgerAccount/EthLedgerSigner.d.ts +0 -13
  1830. package/lib/provider/account/EthLedgerAccount/EthLedgerSigner.js +0 -81
  1831. package/lib/provider/account/EthLedgerAccount/index.d.ts +0 -2
  1832. package/lib/provider/account/EthLedgerAccount/index.js +0 -14
  1833. package/lib/provider/amino/types/perpsliquidity.d.ts +0 -4
  1834. package/lib/provider/amino/types/perpsliquidity.js +0 -73
  1835. package/lib/provider/amino/types/signless.d.ts +0 -12
  1836. package/lib/provider/amino/types/signless.js +0 -193
  1837. package/lib/provider/station/StationAccount.d.ts +0 -28
  1838. package/lib/provider/station/StationAccount.js +0 -168
  1839. package/lib/provider/station/index.d.ts +0 -2
  1840. package/lib/provider/station/index.js +0 -10
  1841. package/lib/util/signless.d.ts +0 -11
  1842. package/lib/util/signless.js +0 -92
@@ -1,1140 +1,1140 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.TraceConfig = exports.AccessTuple = exports.TxResult = exports.Log = exports.TransactionLogs = exports.State = exports.ChainConfig = exports.Params = exports.protobufPackage = void 0;
7
- /* eslint-disable */
8
- const long_1 = __importDefault(require("long"));
9
- const minimal_1 = __importDefault(require("protobufjs/minimal"));
10
- exports.protobufPackage = "ethermint.evm.v1";
11
- const baseParams = {
12
- evmDenom: "",
13
- enableCreate: false,
14
- enableCall: false,
15
- extraEips: long_1.default.ZERO,
16
- allowUnprotectedTxs: false,
17
- };
18
- exports.Params = {
19
- encode(message, writer = minimal_1.default.Writer.create()) {
20
- if (message.evmDenom !== "") {
21
- writer.uint32(10).string(message.evmDenom);
22
- }
23
- if (message.enableCreate === true) {
24
- writer.uint32(16).bool(message.enableCreate);
25
- }
26
- if (message.enableCall === true) {
27
- writer.uint32(24).bool(message.enableCall);
28
- }
29
- writer.uint32(34).fork();
30
- for (const v of message.extraEips) {
31
- writer.int64(v);
32
- }
33
- writer.ldelim();
34
- if (message.chainConfig !== undefined) {
35
- exports.ChainConfig.encode(message.chainConfig, writer.uint32(42).fork()).ldelim();
36
- }
37
- if (message.allowUnprotectedTxs === true) {
38
- writer.uint32(48).bool(message.allowUnprotectedTxs);
39
- }
40
- return writer;
41
- },
42
- decode(input, length) {
43
- const reader = input instanceof minimal_1.default.Reader ? input : new minimal_1.default.Reader(input);
44
- let end = length === undefined ? reader.len : reader.pos + length;
45
- const message = Object.assign({}, baseParams);
46
- message.extraEips = [];
47
- while (reader.pos < end) {
48
- const tag = reader.uint32();
49
- switch (tag >>> 3) {
50
- case 1:
51
- message.evmDenom = reader.string();
52
- break;
53
- case 2:
54
- message.enableCreate = reader.bool();
55
- break;
56
- case 3:
57
- message.enableCall = reader.bool();
58
- break;
59
- case 4:
60
- if ((tag & 7) === 2) {
61
- const end2 = reader.uint32() + reader.pos;
62
- while (reader.pos < end2) {
63
- message.extraEips.push(reader.int64());
64
- }
65
- }
66
- else {
67
- message.extraEips.push(reader.int64());
68
- }
69
- break;
70
- case 5:
71
- message.chainConfig = exports.ChainConfig.decode(reader, reader.uint32());
72
- break;
73
- case 6:
74
- message.allowUnprotectedTxs = reader.bool();
75
- break;
76
- default:
77
- reader.skipType(tag & 7);
78
- break;
79
- }
80
- }
81
- return message;
82
- },
83
- fromJSON(object) {
84
- var _a;
85
- const message = Object.assign({}, baseParams);
86
- message.evmDenom =
87
- object.evmDenom !== undefined && object.evmDenom !== null
88
- ? String(object.evmDenom)
89
- : "";
90
- message.enableCreate =
91
- object.enableCreate !== undefined && object.enableCreate !== null
92
- ? Boolean(object.enableCreate)
93
- : false;
94
- message.enableCall =
95
- object.enableCall !== undefined && object.enableCall !== null
96
- ? Boolean(object.enableCall)
97
- : false;
98
- message.extraEips = ((_a = object.extraEips) !== null && _a !== void 0 ? _a : []).map((e) => long_1.default.fromString(e));
99
- message.chainConfig =
100
- object.chainConfig !== undefined && object.chainConfig !== null
101
- ? exports.ChainConfig.fromJSON(object.chainConfig)
102
- : undefined;
103
- message.allowUnprotectedTxs =
104
- object.allowUnprotectedTxs !== undefined &&
105
- object.allowUnprotectedTxs !== null
106
- ? Boolean(object.allowUnprotectedTxs)
107
- : false;
108
- return message;
109
- },
110
- toJSON(message) {
111
- const obj = {};
112
- message.evmDenom !== undefined && (obj.evmDenom = message.evmDenom);
113
- message.enableCreate !== undefined &&
114
- (obj.enableCreate = message.enableCreate);
115
- message.enableCall !== undefined && (obj.enableCall = message.enableCall);
116
- if (message.extraEips) {
117
- obj.extraEips = message.extraEips.map((e) => (e || long_1.default.ZERO).toString());
118
- }
119
- else {
120
- obj.extraEips = [];
121
- }
122
- message.chainConfig !== undefined &&
123
- (obj.chainConfig = message.chainConfig
124
- ? exports.ChainConfig.toJSON(message.chainConfig)
125
- : undefined);
126
- message.allowUnprotectedTxs !== undefined &&
127
- (obj.allowUnprotectedTxs = message.allowUnprotectedTxs);
128
- return obj;
129
- },
130
- fromPartial(object) {
131
- var _a, _b, _c, _d, _e;
132
- const message = Object.assign({}, baseParams);
133
- message.evmDenom = (_a = object.evmDenom) !== null && _a !== void 0 ? _a : "";
134
- message.enableCreate = (_b = object.enableCreate) !== null && _b !== void 0 ? _b : false;
135
- message.enableCall = (_c = object.enableCall) !== null && _c !== void 0 ? _c : false;
136
- message.extraEips = ((_d = object.extraEips) !== null && _d !== void 0 ? _d : []).map((e) => long_1.default.fromValue(e));
137
- message.chainConfig =
138
- object.chainConfig !== undefined && object.chainConfig !== null
139
- ? exports.ChainConfig.fromPartial(object.chainConfig)
140
- : undefined;
141
- message.allowUnprotectedTxs = (_e = object.allowUnprotectedTxs) !== null && _e !== void 0 ? _e : false;
142
- return message;
143
- },
144
- };
145
- const baseChainConfig = {
146
- homesteadBlock: "",
147
- daoForkBlock: "",
148
- daoForkSupport: false,
149
- eip150Block: "",
150
- eip150Hash: "",
151
- eip155Block: "",
152
- eip158Block: "",
153
- byzantiumBlock: "",
154
- constantinopleBlock: "",
155
- petersburgBlock: "",
156
- istanbulBlock: "",
157
- muirGlacierBlock: "",
158
- berlinBlock: "",
159
- londonBlock: "",
160
- arrowGlacierBlock: "",
161
- grayGlacierBlock: "",
162
- mergeNetsplitBlock: "",
163
- shanghaiBlock: "",
164
- cancunBlock: "",
165
- };
166
- exports.ChainConfig = {
167
- encode(message, writer = minimal_1.default.Writer.create()) {
168
- if (message.homesteadBlock !== "") {
169
- writer.uint32(10).string(message.homesteadBlock);
170
- }
171
- if (message.daoForkBlock !== "") {
172
- writer.uint32(18).string(message.daoForkBlock);
173
- }
174
- if (message.daoForkSupport === true) {
175
- writer.uint32(24).bool(message.daoForkSupport);
176
- }
177
- if (message.eip150Block !== "") {
178
- writer.uint32(34).string(message.eip150Block);
179
- }
180
- if (message.eip150Hash !== "") {
181
- writer.uint32(42).string(message.eip150Hash);
182
- }
183
- if (message.eip155Block !== "") {
184
- writer.uint32(50).string(message.eip155Block);
185
- }
186
- if (message.eip158Block !== "") {
187
- writer.uint32(58).string(message.eip158Block);
188
- }
189
- if (message.byzantiumBlock !== "") {
190
- writer.uint32(66).string(message.byzantiumBlock);
191
- }
192
- if (message.constantinopleBlock !== "") {
193
- writer.uint32(74).string(message.constantinopleBlock);
194
- }
195
- if (message.petersburgBlock !== "") {
196
- writer.uint32(82).string(message.petersburgBlock);
197
- }
198
- if (message.istanbulBlock !== "") {
199
- writer.uint32(90).string(message.istanbulBlock);
200
- }
201
- if (message.muirGlacierBlock !== "") {
202
- writer.uint32(98).string(message.muirGlacierBlock);
203
- }
204
- if (message.berlinBlock !== "") {
205
- writer.uint32(106).string(message.berlinBlock);
206
- }
207
- if (message.londonBlock !== "") {
208
- writer.uint32(138).string(message.londonBlock);
209
- }
210
- if (message.arrowGlacierBlock !== "") {
211
- writer.uint32(146).string(message.arrowGlacierBlock);
212
- }
213
- if (message.grayGlacierBlock !== "") {
214
- writer.uint32(162).string(message.grayGlacierBlock);
215
- }
216
- if (message.mergeNetsplitBlock !== "") {
217
- writer.uint32(170).string(message.mergeNetsplitBlock);
218
- }
219
- if (message.shanghaiBlock !== "") {
220
- writer.uint32(178).string(message.shanghaiBlock);
221
- }
222
- if (message.cancunBlock !== "") {
223
- writer.uint32(186).string(message.cancunBlock);
224
- }
225
- return writer;
226
- },
227
- decode(input, length) {
228
- const reader = input instanceof minimal_1.default.Reader ? input : new minimal_1.default.Reader(input);
229
- let end = length === undefined ? reader.len : reader.pos + length;
230
- const message = Object.assign({}, baseChainConfig);
231
- while (reader.pos < end) {
232
- const tag = reader.uint32();
233
- switch (tag >>> 3) {
234
- case 1:
235
- message.homesteadBlock = reader.string();
236
- break;
237
- case 2:
238
- message.daoForkBlock = reader.string();
239
- break;
240
- case 3:
241
- message.daoForkSupport = reader.bool();
242
- break;
243
- case 4:
244
- message.eip150Block = reader.string();
245
- break;
246
- case 5:
247
- message.eip150Hash = reader.string();
248
- break;
249
- case 6:
250
- message.eip155Block = reader.string();
251
- break;
252
- case 7:
253
- message.eip158Block = reader.string();
254
- break;
255
- case 8:
256
- message.byzantiumBlock = reader.string();
257
- break;
258
- case 9:
259
- message.constantinopleBlock = reader.string();
260
- break;
261
- case 10:
262
- message.petersburgBlock = reader.string();
263
- break;
264
- case 11:
265
- message.istanbulBlock = reader.string();
266
- break;
267
- case 12:
268
- message.muirGlacierBlock = reader.string();
269
- break;
270
- case 13:
271
- message.berlinBlock = reader.string();
272
- break;
273
- case 17:
274
- message.londonBlock = reader.string();
275
- break;
276
- case 18:
277
- message.arrowGlacierBlock = reader.string();
278
- break;
279
- case 20:
280
- message.grayGlacierBlock = reader.string();
281
- break;
282
- case 21:
283
- message.mergeNetsplitBlock = reader.string();
284
- break;
285
- case 22:
286
- message.shanghaiBlock = reader.string();
287
- break;
288
- case 23:
289
- message.cancunBlock = reader.string();
290
- break;
291
- default:
292
- reader.skipType(tag & 7);
293
- break;
294
- }
295
- }
296
- return message;
297
- },
298
- fromJSON(object) {
299
- const message = Object.assign({}, baseChainConfig);
300
- message.homesteadBlock =
301
- object.homesteadBlock !== undefined && object.homesteadBlock !== null
302
- ? String(object.homesteadBlock)
303
- : "";
304
- message.daoForkBlock =
305
- object.daoForkBlock !== undefined && object.daoForkBlock !== null
306
- ? String(object.daoForkBlock)
307
- : "";
308
- message.daoForkSupport =
309
- object.daoForkSupport !== undefined && object.daoForkSupport !== null
310
- ? Boolean(object.daoForkSupport)
311
- : false;
312
- message.eip150Block =
313
- object.eip150Block !== undefined && object.eip150Block !== null
314
- ? String(object.eip150Block)
315
- : "";
316
- message.eip150Hash =
317
- object.eip150Hash !== undefined && object.eip150Hash !== null
318
- ? String(object.eip150Hash)
319
- : "";
320
- message.eip155Block =
321
- object.eip155Block !== undefined && object.eip155Block !== null
322
- ? String(object.eip155Block)
323
- : "";
324
- message.eip158Block =
325
- object.eip158Block !== undefined && object.eip158Block !== null
326
- ? String(object.eip158Block)
327
- : "";
328
- message.byzantiumBlock =
329
- object.byzantiumBlock !== undefined && object.byzantiumBlock !== null
330
- ? String(object.byzantiumBlock)
331
- : "";
332
- message.constantinopleBlock =
333
- object.constantinopleBlock !== undefined &&
334
- object.constantinopleBlock !== null
335
- ? String(object.constantinopleBlock)
336
- : "";
337
- message.petersburgBlock =
338
- object.petersburgBlock !== undefined && object.petersburgBlock !== null
339
- ? String(object.petersburgBlock)
340
- : "";
341
- message.istanbulBlock =
342
- object.istanbulBlock !== undefined && object.istanbulBlock !== null
343
- ? String(object.istanbulBlock)
344
- : "";
345
- message.muirGlacierBlock =
346
- object.muirGlacierBlock !== undefined && object.muirGlacierBlock !== null
347
- ? String(object.muirGlacierBlock)
348
- : "";
349
- message.berlinBlock =
350
- object.berlinBlock !== undefined && object.berlinBlock !== null
351
- ? String(object.berlinBlock)
352
- : "";
353
- message.londonBlock =
354
- object.londonBlock !== undefined && object.londonBlock !== null
355
- ? String(object.londonBlock)
356
- : "";
357
- message.arrowGlacierBlock =
358
- object.arrowGlacierBlock !== undefined &&
359
- object.arrowGlacierBlock !== null
360
- ? String(object.arrowGlacierBlock)
361
- : "";
362
- message.grayGlacierBlock =
363
- object.grayGlacierBlock !== undefined && object.grayGlacierBlock !== null
364
- ? String(object.grayGlacierBlock)
365
- : "";
366
- message.mergeNetsplitBlock =
367
- object.mergeNetsplitBlock !== undefined &&
368
- object.mergeNetsplitBlock !== null
369
- ? String(object.mergeNetsplitBlock)
370
- : "";
371
- message.shanghaiBlock =
372
- object.shanghaiBlock !== undefined && object.shanghaiBlock !== null
373
- ? String(object.shanghaiBlock)
374
- : "";
375
- message.cancunBlock =
376
- object.cancunBlock !== undefined && object.cancunBlock !== null
377
- ? String(object.cancunBlock)
378
- : "";
379
- return message;
380
- },
381
- toJSON(message) {
382
- const obj = {};
383
- message.homesteadBlock !== undefined &&
384
- (obj.homesteadBlock = message.homesteadBlock);
385
- message.daoForkBlock !== undefined &&
386
- (obj.daoForkBlock = message.daoForkBlock);
387
- message.daoForkSupport !== undefined &&
388
- (obj.daoForkSupport = message.daoForkSupport);
389
- message.eip150Block !== undefined &&
390
- (obj.eip150Block = message.eip150Block);
391
- message.eip150Hash !== undefined && (obj.eip150Hash = message.eip150Hash);
392
- message.eip155Block !== undefined &&
393
- (obj.eip155Block = message.eip155Block);
394
- message.eip158Block !== undefined &&
395
- (obj.eip158Block = message.eip158Block);
396
- message.byzantiumBlock !== undefined &&
397
- (obj.byzantiumBlock = message.byzantiumBlock);
398
- message.constantinopleBlock !== undefined &&
399
- (obj.constantinopleBlock = message.constantinopleBlock);
400
- message.petersburgBlock !== undefined &&
401
- (obj.petersburgBlock = message.petersburgBlock);
402
- message.istanbulBlock !== undefined &&
403
- (obj.istanbulBlock = message.istanbulBlock);
404
- message.muirGlacierBlock !== undefined &&
405
- (obj.muirGlacierBlock = message.muirGlacierBlock);
406
- message.berlinBlock !== undefined &&
407
- (obj.berlinBlock = message.berlinBlock);
408
- message.londonBlock !== undefined &&
409
- (obj.londonBlock = message.londonBlock);
410
- message.arrowGlacierBlock !== undefined &&
411
- (obj.arrowGlacierBlock = message.arrowGlacierBlock);
412
- message.grayGlacierBlock !== undefined &&
413
- (obj.grayGlacierBlock = message.grayGlacierBlock);
414
- message.mergeNetsplitBlock !== undefined &&
415
- (obj.mergeNetsplitBlock = message.mergeNetsplitBlock);
416
- message.shanghaiBlock !== undefined &&
417
- (obj.shanghaiBlock = message.shanghaiBlock);
418
- message.cancunBlock !== undefined &&
419
- (obj.cancunBlock = message.cancunBlock);
420
- return obj;
421
- },
422
- fromPartial(object) {
423
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u;
424
- const message = Object.assign({}, baseChainConfig);
425
- message.homesteadBlock = (_a = object.homesteadBlock) !== null && _a !== void 0 ? _a : "";
426
- message.daoForkBlock = (_b = object.daoForkBlock) !== null && _b !== void 0 ? _b : "";
427
- message.daoForkSupport = (_c = object.daoForkSupport) !== null && _c !== void 0 ? _c : false;
428
- message.eip150Block = (_d = object.eip150Block) !== null && _d !== void 0 ? _d : "";
429
- message.eip150Hash = (_e = object.eip150Hash) !== null && _e !== void 0 ? _e : "";
430
- message.eip155Block = (_f = object.eip155Block) !== null && _f !== void 0 ? _f : "";
431
- message.eip158Block = (_g = object.eip158Block) !== null && _g !== void 0 ? _g : "";
432
- message.byzantiumBlock = (_h = object.byzantiumBlock) !== null && _h !== void 0 ? _h : "";
433
- message.constantinopleBlock = (_j = object.constantinopleBlock) !== null && _j !== void 0 ? _j : "";
434
- message.petersburgBlock = (_k = object.petersburgBlock) !== null && _k !== void 0 ? _k : "";
435
- message.istanbulBlock = (_l = object.istanbulBlock) !== null && _l !== void 0 ? _l : "";
436
- message.muirGlacierBlock = (_m = object.muirGlacierBlock) !== null && _m !== void 0 ? _m : "";
437
- message.berlinBlock = (_o = object.berlinBlock) !== null && _o !== void 0 ? _o : "";
438
- message.londonBlock = (_p = object.londonBlock) !== null && _p !== void 0 ? _p : "";
439
- message.arrowGlacierBlock = (_q = object.arrowGlacierBlock) !== null && _q !== void 0 ? _q : "";
440
- message.grayGlacierBlock = (_r = object.grayGlacierBlock) !== null && _r !== void 0 ? _r : "";
441
- message.mergeNetsplitBlock = (_s = object.mergeNetsplitBlock) !== null && _s !== void 0 ? _s : "";
442
- message.shanghaiBlock = (_t = object.shanghaiBlock) !== null && _t !== void 0 ? _t : "";
443
- message.cancunBlock = (_u = object.cancunBlock) !== null && _u !== void 0 ? _u : "";
444
- return message;
445
- },
446
- };
447
- const baseState = { key: "", value: "" };
448
- exports.State = {
449
- encode(message, writer = minimal_1.default.Writer.create()) {
450
- if (message.key !== "") {
451
- writer.uint32(10).string(message.key);
452
- }
453
- if (message.value !== "") {
454
- writer.uint32(18).string(message.value);
455
- }
456
- return writer;
457
- },
458
- decode(input, length) {
459
- const reader = input instanceof minimal_1.default.Reader ? input : new minimal_1.default.Reader(input);
460
- let end = length === undefined ? reader.len : reader.pos + length;
461
- const message = Object.assign({}, baseState);
462
- while (reader.pos < end) {
463
- const tag = reader.uint32();
464
- switch (tag >>> 3) {
465
- case 1:
466
- message.key = reader.string();
467
- break;
468
- case 2:
469
- message.value = reader.string();
470
- break;
471
- default:
472
- reader.skipType(tag & 7);
473
- break;
474
- }
475
- }
476
- return message;
477
- },
478
- fromJSON(object) {
479
- const message = Object.assign({}, baseState);
480
- message.key =
481
- object.key !== undefined && object.key !== null ? String(object.key) : "";
482
- message.value =
483
- object.value !== undefined && object.value !== null
484
- ? String(object.value)
485
- : "";
486
- return message;
487
- },
488
- toJSON(message) {
489
- const obj = {};
490
- message.key !== undefined && (obj.key = message.key);
491
- message.value !== undefined && (obj.value = message.value);
492
- return obj;
493
- },
494
- fromPartial(object) {
495
- var _a, _b;
496
- const message = Object.assign({}, baseState);
497
- message.key = (_a = object.key) !== null && _a !== void 0 ? _a : "";
498
- message.value = (_b = object.value) !== null && _b !== void 0 ? _b : "";
499
- return message;
500
- },
501
- };
502
- const baseTransactionLogs = { hash: "" };
503
- exports.TransactionLogs = {
504
- encode(message, writer = minimal_1.default.Writer.create()) {
505
- if (message.hash !== "") {
506
- writer.uint32(10).string(message.hash);
507
- }
508
- for (const v of message.logs) {
509
- exports.Log.encode(v, writer.uint32(18).fork()).ldelim();
510
- }
511
- return writer;
512
- },
513
- decode(input, length) {
514
- const reader = input instanceof minimal_1.default.Reader ? input : new minimal_1.default.Reader(input);
515
- let end = length === undefined ? reader.len : reader.pos + length;
516
- const message = Object.assign({}, baseTransactionLogs);
517
- message.logs = [];
518
- while (reader.pos < end) {
519
- const tag = reader.uint32();
520
- switch (tag >>> 3) {
521
- case 1:
522
- message.hash = reader.string();
523
- break;
524
- case 2:
525
- message.logs.push(exports.Log.decode(reader, reader.uint32()));
526
- break;
527
- default:
528
- reader.skipType(tag & 7);
529
- break;
530
- }
531
- }
532
- return message;
533
- },
534
- fromJSON(object) {
535
- var _a;
536
- const message = Object.assign({}, baseTransactionLogs);
537
- message.hash =
538
- object.hash !== undefined && object.hash !== null
539
- ? String(object.hash)
540
- : "";
541
- message.logs = ((_a = object.logs) !== null && _a !== void 0 ? _a : []).map((e) => exports.Log.fromJSON(e));
542
- return message;
543
- },
544
- toJSON(message) {
545
- const obj = {};
546
- message.hash !== undefined && (obj.hash = message.hash);
547
- if (message.logs) {
548
- obj.logs = message.logs.map((e) => (e ? exports.Log.toJSON(e) : undefined));
549
- }
550
- else {
551
- obj.logs = [];
552
- }
553
- return obj;
554
- },
555
- fromPartial(object) {
556
- var _a, _b;
557
- const message = Object.assign({}, baseTransactionLogs);
558
- message.hash = (_a = object.hash) !== null && _a !== void 0 ? _a : "";
559
- message.logs = ((_b = object.logs) !== null && _b !== void 0 ? _b : []).map((e) => exports.Log.fromPartial(e));
560
- return message;
561
- },
562
- };
563
- const baseLog = {
564
- address: "",
565
- topics: "",
566
- blockNumber: long_1.default.UZERO,
567
- txHash: "",
568
- txIndex: long_1.default.UZERO,
569
- blockHash: "",
570
- index: long_1.default.UZERO,
571
- removed: false,
572
- };
573
- exports.Log = {
574
- encode(message, writer = minimal_1.default.Writer.create()) {
575
- if (message.address !== "") {
576
- writer.uint32(10).string(message.address);
577
- }
578
- for (const v of message.topics) {
579
- writer.uint32(18).string(v);
580
- }
581
- if (message.data.length !== 0) {
582
- writer.uint32(26).bytes(message.data);
583
- }
584
- if (!message.blockNumber.isZero()) {
585
- writer.uint32(32).uint64(message.blockNumber);
586
- }
587
- if (message.txHash !== "") {
588
- writer.uint32(42).string(message.txHash);
589
- }
590
- if (!message.txIndex.isZero()) {
591
- writer.uint32(48).uint64(message.txIndex);
592
- }
593
- if (message.blockHash !== "") {
594
- writer.uint32(58).string(message.blockHash);
595
- }
596
- if (!message.index.isZero()) {
597
- writer.uint32(64).uint64(message.index);
598
- }
599
- if (message.removed === true) {
600
- writer.uint32(72).bool(message.removed);
601
- }
602
- return writer;
603
- },
604
- decode(input, length) {
605
- const reader = input instanceof minimal_1.default.Reader ? input : new minimal_1.default.Reader(input);
606
- let end = length === undefined ? reader.len : reader.pos + length;
607
- const message = Object.assign({}, baseLog);
608
- message.topics = [];
609
- message.data = new Uint8Array();
610
- while (reader.pos < end) {
611
- const tag = reader.uint32();
612
- switch (tag >>> 3) {
613
- case 1:
614
- message.address = reader.string();
615
- break;
616
- case 2:
617
- message.topics.push(reader.string());
618
- break;
619
- case 3:
620
- message.data = reader.bytes();
621
- break;
622
- case 4:
623
- message.blockNumber = reader.uint64();
624
- break;
625
- case 5:
626
- message.txHash = reader.string();
627
- break;
628
- case 6:
629
- message.txIndex = reader.uint64();
630
- break;
631
- case 7:
632
- message.blockHash = reader.string();
633
- break;
634
- case 8:
635
- message.index = reader.uint64();
636
- break;
637
- case 9:
638
- message.removed = reader.bool();
639
- break;
640
- default:
641
- reader.skipType(tag & 7);
642
- break;
643
- }
644
- }
645
- return message;
646
- },
647
- fromJSON(object) {
648
- var _a;
649
- const message = Object.assign({}, baseLog);
650
- message.address =
651
- object.address !== undefined && object.address !== null
652
- ? String(object.address)
653
- : "";
654
- message.topics = ((_a = object.topics) !== null && _a !== void 0 ? _a : []).map((e) => String(e));
655
- message.data =
656
- object.data !== undefined && object.data !== null
657
- ? bytesFromBase64(object.data)
658
- : new Uint8Array();
659
- message.blockNumber =
660
- object.blockNumber !== undefined && object.blockNumber !== null
661
- ? long_1.default.fromString(object.blockNumber)
662
- : long_1.default.UZERO;
663
- message.txHash =
664
- object.txHash !== undefined && object.txHash !== null
665
- ? String(object.txHash)
666
- : "";
667
- message.txIndex =
668
- object.txIndex !== undefined && object.txIndex !== null
669
- ? long_1.default.fromString(object.txIndex)
670
- : long_1.default.UZERO;
671
- message.blockHash =
672
- object.blockHash !== undefined && object.blockHash !== null
673
- ? String(object.blockHash)
674
- : "";
675
- message.index =
676
- object.index !== undefined && object.index !== null
677
- ? long_1.default.fromString(object.index)
678
- : long_1.default.UZERO;
679
- message.removed =
680
- object.removed !== undefined && object.removed !== null
681
- ? Boolean(object.removed)
682
- : false;
683
- return message;
684
- },
685
- toJSON(message) {
686
- const obj = {};
687
- message.address !== undefined && (obj.address = message.address);
688
- if (message.topics) {
689
- obj.topics = message.topics.map((e) => e);
690
- }
691
- else {
692
- obj.topics = [];
693
- }
694
- message.data !== undefined &&
695
- (obj.data = base64FromBytes(message.data !== undefined ? message.data : new Uint8Array()));
696
- message.blockNumber !== undefined &&
697
- (obj.blockNumber = (message.blockNumber || long_1.default.UZERO).toString());
698
- message.txHash !== undefined && (obj.txHash = message.txHash);
699
- message.txIndex !== undefined &&
700
- (obj.txIndex = (message.txIndex || long_1.default.UZERO).toString());
701
- message.blockHash !== undefined && (obj.blockHash = message.blockHash);
702
- message.index !== undefined &&
703
- (obj.index = (message.index || long_1.default.UZERO).toString());
704
- message.removed !== undefined && (obj.removed = message.removed);
705
- return obj;
706
- },
707
- fromPartial(object) {
708
- var _a, _b, _c, _d, _e, _f;
709
- const message = Object.assign({}, baseLog);
710
- message.address = (_a = object.address) !== null && _a !== void 0 ? _a : "";
711
- message.topics = ((_b = object.topics) !== null && _b !== void 0 ? _b : []).map((e) => e);
712
- message.data = (_c = object.data) !== null && _c !== void 0 ? _c : new Uint8Array();
713
- message.blockNumber =
714
- object.blockNumber !== undefined && object.blockNumber !== null
715
- ? long_1.default.fromValue(object.blockNumber)
716
- : long_1.default.UZERO;
717
- message.txHash = (_d = object.txHash) !== null && _d !== void 0 ? _d : "";
718
- message.txIndex =
719
- object.txIndex !== undefined && object.txIndex !== null
720
- ? long_1.default.fromValue(object.txIndex)
721
- : long_1.default.UZERO;
722
- message.blockHash = (_e = object.blockHash) !== null && _e !== void 0 ? _e : "";
723
- message.index =
724
- object.index !== undefined && object.index !== null
725
- ? long_1.default.fromValue(object.index)
726
- : long_1.default.UZERO;
727
- message.removed = (_f = object.removed) !== null && _f !== void 0 ? _f : false;
728
- return message;
729
- },
730
- };
731
- const baseTxResult = {
732
- contractAddress: "",
733
- reverted: false,
734
- gasUsed: long_1.default.UZERO,
735
- };
736
- exports.TxResult = {
737
- encode(message, writer = minimal_1.default.Writer.create()) {
738
- if (message.contractAddress !== "") {
739
- writer.uint32(10).string(message.contractAddress);
740
- }
741
- if (message.bloom.length !== 0) {
742
- writer.uint32(18).bytes(message.bloom);
743
- }
744
- if (message.txLogs !== undefined) {
745
- exports.TransactionLogs.encode(message.txLogs, writer.uint32(26).fork()).ldelim();
746
- }
747
- if (message.ret.length !== 0) {
748
- writer.uint32(34).bytes(message.ret);
749
- }
750
- if (message.reverted === true) {
751
- writer.uint32(40).bool(message.reverted);
752
- }
753
- if (!message.gasUsed.isZero()) {
754
- writer.uint32(48).uint64(message.gasUsed);
755
- }
756
- return writer;
757
- },
758
- decode(input, length) {
759
- const reader = input instanceof minimal_1.default.Reader ? input : new minimal_1.default.Reader(input);
760
- let end = length === undefined ? reader.len : reader.pos + length;
761
- const message = Object.assign({}, baseTxResult);
762
- message.bloom = new Uint8Array();
763
- message.ret = new Uint8Array();
764
- while (reader.pos < end) {
765
- const tag = reader.uint32();
766
- switch (tag >>> 3) {
767
- case 1:
768
- message.contractAddress = reader.string();
769
- break;
770
- case 2:
771
- message.bloom = reader.bytes();
772
- break;
773
- case 3:
774
- message.txLogs = exports.TransactionLogs.decode(reader, reader.uint32());
775
- break;
776
- case 4:
777
- message.ret = reader.bytes();
778
- break;
779
- case 5:
780
- message.reverted = reader.bool();
781
- break;
782
- case 6:
783
- message.gasUsed = reader.uint64();
784
- break;
785
- default:
786
- reader.skipType(tag & 7);
787
- break;
788
- }
789
- }
790
- return message;
791
- },
792
- fromJSON(object) {
793
- const message = Object.assign({}, baseTxResult);
794
- message.contractAddress =
795
- object.contractAddress !== undefined && object.contractAddress !== null
796
- ? String(object.contractAddress)
797
- : "";
798
- message.bloom =
799
- object.bloom !== undefined && object.bloom !== null
800
- ? bytesFromBase64(object.bloom)
801
- : new Uint8Array();
802
- message.txLogs =
803
- object.txLogs !== undefined && object.txLogs !== null
804
- ? exports.TransactionLogs.fromJSON(object.txLogs)
805
- : undefined;
806
- message.ret =
807
- object.ret !== undefined && object.ret !== null
808
- ? bytesFromBase64(object.ret)
809
- : new Uint8Array();
810
- message.reverted =
811
- object.reverted !== undefined && object.reverted !== null
812
- ? Boolean(object.reverted)
813
- : false;
814
- message.gasUsed =
815
- object.gasUsed !== undefined && object.gasUsed !== null
816
- ? long_1.default.fromString(object.gasUsed)
817
- : long_1.default.UZERO;
818
- return message;
819
- },
820
- toJSON(message) {
821
- const obj = {};
822
- message.contractAddress !== undefined &&
823
- (obj.contractAddress = message.contractAddress);
824
- message.bloom !== undefined &&
825
- (obj.bloom = base64FromBytes(message.bloom !== undefined ? message.bloom : new Uint8Array()));
826
- message.txLogs !== undefined &&
827
- (obj.txLogs = message.txLogs
828
- ? exports.TransactionLogs.toJSON(message.txLogs)
829
- : undefined);
830
- message.ret !== undefined &&
831
- (obj.ret = base64FromBytes(message.ret !== undefined ? message.ret : new Uint8Array()));
832
- message.reverted !== undefined && (obj.reverted = message.reverted);
833
- message.gasUsed !== undefined &&
834
- (obj.gasUsed = (message.gasUsed || long_1.default.UZERO).toString());
835
- return obj;
836
- },
837
- fromPartial(object) {
838
- var _a, _b, _c, _d;
839
- const message = Object.assign({}, baseTxResult);
840
- message.contractAddress = (_a = object.contractAddress) !== null && _a !== void 0 ? _a : "";
841
- message.bloom = (_b = object.bloom) !== null && _b !== void 0 ? _b : new Uint8Array();
842
- message.txLogs =
843
- object.txLogs !== undefined && object.txLogs !== null
844
- ? exports.TransactionLogs.fromPartial(object.txLogs)
845
- : undefined;
846
- message.ret = (_c = object.ret) !== null && _c !== void 0 ? _c : new Uint8Array();
847
- message.reverted = (_d = object.reverted) !== null && _d !== void 0 ? _d : false;
848
- message.gasUsed =
849
- object.gasUsed !== undefined && object.gasUsed !== null
850
- ? long_1.default.fromValue(object.gasUsed)
851
- : long_1.default.UZERO;
852
- return message;
853
- },
854
- };
855
- const baseAccessTuple = { address: "", storageKeys: "" };
856
- exports.AccessTuple = {
857
- encode(message, writer = minimal_1.default.Writer.create()) {
858
- if (message.address !== "") {
859
- writer.uint32(10).string(message.address);
860
- }
861
- for (const v of message.storageKeys) {
862
- writer.uint32(18).string(v);
863
- }
864
- return writer;
865
- },
866
- decode(input, length) {
867
- const reader = input instanceof minimal_1.default.Reader ? input : new minimal_1.default.Reader(input);
868
- let end = length === undefined ? reader.len : reader.pos + length;
869
- const message = Object.assign({}, baseAccessTuple);
870
- message.storageKeys = [];
871
- while (reader.pos < end) {
872
- const tag = reader.uint32();
873
- switch (tag >>> 3) {
874
- case 1:
875
- message.address = reader.string();
876
- break;
877
- case 2:
878
- message.storageKeys.push(reader.string());
879
- break;
880
- default:
881
- reader.skipType(tag & 7);
882
- break;
883
- }
884
- }
885
- return message;
886
- },
887
- fromJSON(object) {
888
- var _a;
889
- const message = Object.assign({}, baseAccessTuple);
890
- message.address =
891
- object.address !== undefined && object.address !== null
892
- ? String(object.address)
893
- : "";
894
- message.storageKeys = ((_a = object.storageKeys) !== null && _a !== void 0 ? _a : []).map((e) => String(e));
895
- return message;
896
- },
897
- toJSON(message) {
898
- const obj = {};
899
- message.address !== undefined && (obj.address = message.address);
900
- if (message.storageKeys) {
901
- obj.storageKeys = message.storageKeys.map((e) => e);
902
- }
903
- else {
904
- obj.storageKeys = [];
905
- }
906
- return obj;
907
- },
908
- fromPartial(object) {
909
- var _a, _b;
910
- const message = Object.assign({}, baseAccessTuple);
911
- message.address = (_a = object.address) !== null && _a !== void 0 ? _a : "";
912
- message.storageKeys = ((_b = object.storageKeys) !== null && _b !== void 0 ? _b : []).map((e) => e);
913
- return message;
914
- },
915
- };
916
- const baseTraceConfig = {
917
- tracer: "",
918
- timeout: "",
919
- reexec: long_1.default.UZERO,
920
- disableStack: false,
921
- disableStorage: false,
922
- debug: false,
923
- limit: 0,
924
- enableMemory: false,
925
- enableReturnData: false,
926
- tracerJsonConfig: "",
927
- };
928
- exports.TraceConfig = {
929
- encode(message, writer = minimal_1.default.Writer.create()) {
930
- if (message.tracer !== "") {
931
- writer.uint32(10).string(message.tracer);
932
- }
933
- if (message.timeout !== "") {
934
- writer.uint32(18).string(message.timeout);
935
- }
936
- if (!message.reexec.isZero()) {
937
- writer.uint32(24).uint64(message.reexec);
938
- }
939
- if (message.disableStack === true) {
940
- writer.uint32(40).bool(message.disableStack);
941
- }
942
- if (message.disableStorage === true) {
943
- writer.uint32(48).bool(message.disableStorage);
944
- }
945
- if (message.debug === true) {
946
- writer.uint32(64).bool(message.debug);
947
- }
948
- if (message.limit !== 0) {
949
- writer.uint32(72).int32(message.limit);
950
- }
951
- if (message.overrides !== undefined) {
952
- exports.ChainConfig.encode(message.overrides, writer.uint32(82).fork()).ldelim();
953
- }
954
- if (message.enableMemory === true) {
955
- writer.uint32(88).bool(message.enableMemory);
956
- }
957
- if (message.enableReturnData === true) {
958
- writer.uint32(96).bool(message.enableReturnData);
959
- }
960
- if (message.tracerJsonConfig !== "") {
961
- writer.uint32(106).string(message.tracerJsonConfig);
962
- }
963
- return writer;
964
- },
965
- decode(input, length) {
966
- const reader = input instanceof minimal_1.default.Reader ? input : new minimal_1.default.Reader(input);
967
- let end = length === undefined ? reader.len : reader.pos + length;
968
- const message = Object.assign({}, baseTraceConfig);
969
- while (reader.pos < end) {
970
- const tag = reader.uint32();
971
- switch (tag >>> 3) {
972
- case 1:
973
- message.tracer = reader.string();
974
- break;
975
- case 2:
976
- message.timeout = reader.string();
977
- break;
978
- case 3:
979
- message.reexec = reader.uint64();
980
- break;
981
- case 5:
982
- message.disableStack = reader.bool();
983
- break;
984
- case 6:
985
- message.disableStorage = reader.bool();
986
- break;
987
- case 8:
988
- message.debug = reader.bool();
989
- break;
990
- case 9:
991
- message.limit = reader.int32();
992
- break;
993
- case 10:
994
- message.overrides = exports.ChainConfig.decode(reader, reader.uint32());
995
- break;
996
- case 11:
997
- message.enableMemory = reader.bool();
998
- break;
999
- case 12:
1000
- message.enableReturnData = reader.bool();
1001
- break;
1002
- case 13:
1003
- message.tracerJsonConfig = reader.string();
1004
- break;
1005
- default:
1006
- reader.skipType(tag & 7);
1007
- break;
1008
- }
1009
- }
1010
- return message;
1011
- },
1012
- fromJSON(object) {
1013
- const message = Object.assign({}, baseTraceConfig);
1014
- message.tracer =
1015
- object.tracer !== undefined && object.tracer !== null
1016
- ? String(object.tracer)
1017
- : "";
1018
- message.timeout =
1019
- object.timeout !== undefined && object.timeout !== null
1020
- ? String(object.timeout)
1021
- : "";
1022
- message.reexec =
1023
- object.reexec !== undefined && object.reexec !== null
1024
- ? long_1.default.fromString(object.reexec)
1025
- : long_1.default.UZERO;
1026
- message.disableStack =
1027
- object.disableStack !== undefined && object.disableStack !== null
1028
- ? Boolean(object.disableStack)
1029
- : false;
1030
- message.disableStorage =
1031
- object.disableStorage !== undefined && object.disableStorage !== null
1032
- ? Boolean(object.disableStorage)
1033
- : false;
1034
- message.debug =
1035
- object.debug !== undefined && object.debug !== null
1036
- ? Boolean(object.debug)
1037
- : false;
1038
- message.limit =
1039
- object.limit !== undefined && object.limit !== null
1040
- ? Number(object.limit)
1041
- : 0;
1042
- message.overrides =
1043
- object.overrides !== undefined && object.overrides !== null
1044
- ? exports.ChainConfig.fromJSON(object.overrides)
1045
- : undefined;
1046
- message.enableMemory =
1047
- object.enableMemory !== undefined && object.enableMemory !== null
1048
- ? Boolean(object.enableMemory)
1049
- : false;
1050
- message.enableReturnData =
1051
- object.enableReturnData !== undefined && object.enableReturnData !== null
1052
- ? Boolean(object.enableReturnData)
1053
- : false;
1054
- message.tracerJsonConfig =
1055
- object.tracerJsonConfig !== undefined && object.tracerJsonConfig !== null
1056
- ? String(object.tracerJsonConfig)
1057
- : "";
1058
- return message;
1059
- },
1060
- toJSON(message) {
1061
- const obj = {};
1062
- message.tracer !== undefined && (obj.tracer = message.tracer);
1063
- message.timeout !== undefined && (obj.timeout = message.timeout);
1064
- message.reexec !== undefined &&
1065
- (obj.reexec = (message.reexec || long_1.default.UZERO).toString());
1066
- message.disableStack !== undefined &&
1067
- (obj.disableStack = message.disableStack);
1068
- message.disableStorage !== undefined &&
1069
- (obj.disableStorage = message.disableStorage);
1070
- message.debug !== undefined && (obj.debug = message.debug);
1071
- message.limit !== undefined && (obj.limit = message.limit);
1072
- message.overrides !== undefined &&
1073
- (obj.overrides = message.overrides
1074
- ? exports.ChainConfig.toJSON(message.overrides)
1075
- : undefined);
1076
- message.enableMemory !== undefined &&
1077
- (obj.enableMemory = message.enableMemory);
1078
- message.enableReturnData !== undefined &&
1079
- (obj.enableReturnData = message.enableReturnData);
1080
- message.tracerJsonConfig !== undefined &&
1081
- (obj.tracerJsonConfig = message.tracerJsonConfig);
1082
- return obj;
1083
- },
1084
- fromPartial(object) {
1085
- var _a, _b, _c, _d, _e, _f, _g, _h, _j;
1086
- const message = Object.assign({}, baseTraceConfig);
1087
- message.tracer = (_a = object.tracer) !== null && _a !== void 0 ? _a : "";
1088
- message.timeout = (_b = object.timeout) !== null && _b !== void 0 ? _b : "";
1089
- message.reexec =
1090
- object.reexec !== undefined && object.reexec !== null
1091
- ? long_1.default.fromValue(object.reexec)
1092
- : long_1.default.UZERO;
1093
- message.disableStack = (_c = object.disableStack) !== null && _c !== void 0 ? _c : false;
1094
- message.disableStorage = (_d = object.disableStorage) !== null && _d !== void 0 ? _d : false;
1095
- message.debug = (_e = object.debug) !== null && _e !== void 0 ? _e : false;
1096
- message.limit = (_f = object.limit) !== null && _f !== void 0 ? _f : 0;
1097
- message.overrides =
1098
- object.overrides !== undefined && object.overrides !== null
1099
- ? exports.ChainConfig.fromPartial(object.overrides)
1100
- : undefined;
1101
- message.enableMemory = (_g = object.enableMemory) !== null && _g !== void 0 ? _g : false;
1102
- message.enableReturnData = (_h = object.enableReturnData) !== null && _h !== void 0 ? _h : false;
1103
- message.tracerJsonConfig = (_j = object.tracerJsonConfig) !== null && _j !== void 0 ? _j : "";
1104
- return message;
1105
- },
1106
- };
1107
- var globalThis = (() => {
1108
- if (typeof globalThis !== "undefined")
1109
- return globalThis;
1110
- if (typeof self !== "undefined")
1111
- return self;
1112
- if (typeof window !== "undefined")
1113
- return window;
1114
- if (typeof global !== "undefined")
1115
- return global;
1116
- throw "Unable to locate global object";
1117
- })();
1118
- const atob = globalThis.atob ||
1119
- ((b64) => globalThis.Buffer.from(b64, "base64").toString("binary"));
1120
- function bytesFromBase64(b64) {
1121
- const bin = atob(b64);
1122
- const arr = new Uint8Array(bin.length);
1123
- for (let i = 0; i < bin.length; ++i) {
1124
- arr[i] = bin.charCodeAt(i);
1125
- }
1126
- return arr;
1127
- }
1128
- const btoa = globalThis.btoa ||
1129
- ((bin) => globalThis.Buffer.from(bin, "binary").toString("base64"));
1130
- function base64FromBytes(arr) {
1131
- const bin = [];
1132
- for (const byte of arr) {
1133
- bin.push(String.fromCharCode(byte));
1134
- }
1135
- return btoa(bin.join(""));
1136
- }
1137
- if (minimal_1.default.util.Long !== long_1.default) {
1138
- minimal_1.default.util.Long = long_1.default;
1139
- minimal_1.default.configure();
1140
- }
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.TraceConfig = exports.AccessTuple = exports.TxResult = exports.Log = exports.TransactionLogs = exports.State = exports.ChainConfig = exports.Params = exports.protobufPackage = void 0;
7
+ /* eslint-disable */
8
+ const long_1 = __importDefault(require("long"));
9
+ const minimal_1 = __importDefault(require("protobufjs/minimal"));
10
+ exports.protobufPackage = "ethermint.evm.v1";
11
+ const baseParams = {
12
+ evmDenom: "",
13
+ enableCreate: false,
14
+ enableCall: false,
15
+ extraEips: long_1.default.ZERO,
16
+ allowUnprotectedTxs: false,
17
+ };
18
+ exports.Params = {
19
+ encode(message, writer = minimal_1.default.Writer.create()) {
20
+ if (message.evmDenom !== "") {
21
+ writer.uint32(10).string(message.evmDenom);
22
+ }
23
+ if (message.enableCreate === true) {
24
+ writer.uint32(16).bool(message.enableCreate);
25
+ }
26
+ if (message.enableCall === true) {
27
+ writer.uint32(24).bool(message.enableCall);
28
+ }
29
+ writer.uint32(34).fork();
30
+ for (const v of message.extraEips) {
31
+ writer.int64(v);
32
+ }
33
+ writer.ldelim();
34
+ if (message.chainConfig !== undefined) {
35
+ exports.ChainConfig.encode(message.chainConfig, writer.uint32(42).fork()).ldelim();
36
+ }
37
+ if (message.allowUnprotectedTxs === true) {
38
+ writer.uint32(48).bool(message.allowUnprotectedTxs);
39
+ }
40
+ return writer;
41
+ },
42
+ decode(input, length) {
43
+ const reader = input instanceof minimal_1.default.Reader ? input : new minimal_1.default.Reader(input);
44
+ let end = length === undefined ? reader.len : reader.pos + length;
45
+ const message = Object.assign({}, baseParams);
46
+ message.extraEips = [];
47
+ while (reader.pos < end) {
48
+ const tag = reader.uint32();
49
+ switch (tag >>> 3) {
50
+ case 1:
51
+ message.evmDenom = reader.string();
52
+ break;
53
+ case 2:
54
+ message.enableCreate = reader.bool();
55
+ break;
56
+ case 3:
57
+ message.enableCall = reader.bool();
58
+ break;
59
+ case 4:
60
+ if ((tag & 7) === 2) {
61
+ const end2 = reader.uint32() + reader.pos;
62
+ while (reader.pos < end2) {
63
+ message.extraEips.push(reader.int64());
64
+ }
65
+ }
66
+ else {
67
+ message.extraEips.push(reader.int64());
68
+ }
69
+ break;
70
+ case 5:
71
+ message.chainConfig = exports.ChainConfig.decode(reader, reader.uint32());
72
+ break;
73
+ case 6:
74
+ message.allowUnprotectedTxs = reader.bool();
75
+ break;
76
+ default:
77
+ reader.skipType(tag & 7);
78
+ break;
79
+ }
80
+ }
81
+ return message;
82
+ },
83
+ fromJSON(object) {
84
+ var _a;
85
+ const message = Object.assign({}, baseParams);
86
+ message.evmDenom =
87
+ object.evmDenom !== undefined && object.evmDenom !== null
88
+ ? String(object.evmDenom)
89
+ : "";
90
+ message.enableCreate =
91
+ object.enableCreate !== undefined && object.enableCreate !== null
92
+ ? Boolean(object.enableCreate)
93
+ : false;
94
+ message.enableCall =
95
+ object.enableCall !== undefined && object.enableCall !== null
96
+ ? Boolean(object.enableCall)
97
+ : false;
98
+ message.extraEips = ((_a = object.extraEips) !== null && _a !== void 0 ? _a : []).map((e) => long_1.default.fromString(e));
99
+ message.chainConfig =
100
+ object.chainConfig !== undefined && object.chainConfig !== null
101
+ ? exports.ChainConfig.fromJSON(object.chainConfig)
102
+ : undefined;
103
+ message.allowUnprotectedTxs =
104
+ object.allowUnprotectedTxs !== undefined &&
105
+ object.allowUnprotectedTxs !== null
106
+ ? Boolean(object.allowUnprotectedTxs)
107
+ : false;
108
+ return message;
109
+ },
110
+ toJSON(message) {
111
+ const obj = {};
112
+ message.evmDenom !== undefined && (obj.evmDenom = message.evmDenom);
113
+ message.enableCreate !== undefined &&
114
+ (obj.enableCreate = message.enableCreate);
115
+ message.enableCall !== undefined && (obj.enableCall = message.enableCall);
116
+ if (message.extraEips) {
117
+ obj.extraEips = message.extraEips.map((e) => (e || long_1.default.ZERO).toString());
118
+ }
119
+ else {
120
+ obj.extraEips = [];
121
+ }
122
+ message.chainConfig !== undefined &&
123
+ (obj.chainConfig = message.chainConfig
124
+ ? exports.ChainConfig.toJSON(message.chainConfig)
125
+ : undefined);
126
+ message.allowUnprotectedTxs !== undefined &&
127
+ (obj.allowUnprotectedTxs = message.allowUnprotectedTxs);
128
+ return obj;
129
+ },
130
+ fromPartial(object) {
131
+ var _a, _b, _c, _d, _e;
132
+ const message = Object.assign({}, baseParams);
133
+ message.evmDenom = (_a = object.evmDenom) !== null && _a !== void 0 ? _a : "";
134
+ message.enableCreate = (_b = object.enableCreate) !== null && _b !== void 0 ? _b : false;
135
+ message.enableCall = (_c = object.enableCall) !== null && _c !== void 0 ? _c : false;
136
+ message.extraEips = ((_d = object.extraEips) !== null && _d !== void 0 ? _d : []).map((e) => long_1.default.fromValue(e));
137
+ message.chainConfig =
138
+ object.chainConfig !== undefined && object.chainConfig !== null
139
+ ? exports.ChainConfig.fromPartial(object.chainConfig)
140
+ : undefined;
141
+ message.allowUnprotectedTxs = (_e = object.allowUnprotectedTxs) !== null && _e !== void 0 ? _e : false;
142
+ return message;
143
+ },
144
+ };
145
+ const baseChainConfig = {
146
+ homesteadBlock: "",
147
+ daoForkBlock: "",
148
+ daoForkSupport: false,
149
+ eip150Block: "",
150
+ eip150Hash: "",
151
+ eip155Block: "",
152
+ eip158Block: "",
153
+ byzantiumBlock: "",
154
+ constantinopleBlock: "",
155
+ petersburgBlock: "",
156
+ istanbulBlock: "",
157
+ muirGlacierBlock: "",
158
+ berlinBlock: "",
159
+ londonBlock: "",
160
+ arrowGlacierBlock: "",
161
+ grayGlacierBlock: "",
162
+ mergeNetsplitBlock: "",
163
+ shanghaiBlock: "",
164
+ cancunBlock: "",
165
+ };
166
+ exports.ChainConfig = {
167
+ encode(message, writer = minimal_1.default.Writer.create()) {
168
+ if (message.homesteadBlock !== "") {
169
+ writer.uint32(10).string(message.homesteadBlock);
170
+ }
171
+ if (message.daoForkBlock !== "") {
172
+ writer.uint32(18).string(message.daoForkBlock);
173
+ }
174
+ if (message.daoForkSupport === true) {
175
+ writer.uint32(24).bool(message.daoForkSupport);
176
+ }
177
+ if (message.eip150Block !== "") {
178
+ writer.uint32(34).string(message.eip150Block);
179
+ }
180
+ if (message.eip150Hash !== "") {
181
+ writer.uint32(42).string(message.eip150Hash);
182
+ }
183
+ if (message.eip155Block !== "") {
184
+ writer.uint32(50).string(message.eip155Block);
185
+ }
186
+ if (message.eip158Block !== "") {
187
+ writer.uint32(58).string(message.eip158Block);
188
+ }
189
+ if (message.byzantiumBlock !== "") {
190
+ writer.uint32(66).string(message.byzantiumBlock);
191
+ }
192
+ if (message.constantinopleBlock !== "") {
193
+ writer.uint32(74).string(message.constantinopleBlock);
194
+ }
195
+ if (message.petersburgBlock !== "") {
196
+ writer.uint32(82).string(message.petersburgBlock);
197
+ }
198
+ if (message.istanbulBlock !== "") {
199
+ writer.uint32(90).string(message.istanbulBlock);
200
+ }
201
+ if (message.muirGlacierBlock !== "") {
202
+ writer.uint32(98).string(message.muirGlacierBlock);
203
+ }
204
+ if (message.berlinBlock !== "") {
205
+ writer.uint32(106).string(message.berlinBlock);
206
+ }
207
+ if (message.londonBlock !== "") {
208
+ writer.uint32(138).string(message.londonBlock);
209
+ }
210
+ if (message.arrowGlacierBlock !== "") {
211
+ writer.uint32(146).string(message.arrowGlacierBlock);
212
+ }
213
+ if (message.grayGlacierBlock !== "") {
214
+ writer.uint32(162).string(message.grayGlacierBlock);
215
+ }
216
+ if (message.mergeNetsplitBlock !== "") {
217
+ writer.uint32(170).string(message.mergeNetsplitBlock);
218
+ }
219
+ if (message.shanghaiBlock !== "") {
220
+ writer.uint32(178).string(message.shanghaiBlock);
221
+ }
222
+ if (message.cancunBlock !== "") {
223
+ writer.uint32(186).string(message.cancunBlock);
224
+ }
225
+ return writer;
226
+ },
227
+ decode(input, length) {
228
+ const reader = input instanceof minimal_1.default.Reader ? input : new minimal_1.default.Reader(input);
229
+ let end = length === undefined ? reader.len : reader.pos + length;
230
+ const message = Object.assign({}, baseChainConfig);
231
+ while (reader.pos < end) {
232
+ const tag = reader.uint32();
233
+ switch (tag >>> 3) {
234
+ case 1:
235
+ message.homesteadBlock = reader.string();
236
+ break;
237
+ case 2:
238
+ message.daoForkBlock = reader.string();
239
+ break;
240
+ case 3:
241
+ message.daoForkSupport = reader.bool();
242
+ break;
243
+ case 4:
244
+ message.eip150Block = reader.string();
245
+ break;
246
+ case 5:
247
+ message.eip150Hash = reader.string();
248
+ break;
249
+ case 6:
250
+ message.eip155Block = reader.string();
251
+ break;
252
+ case 7:
253
+ message.eip158Block = reader.string();
254
+ break;
255
+ case 8:
256
+ message.byzantiumBlock = reader.string();
257
+ break;
258
+ case 9:
259
+ message.constantinopleBlock = reader.string();
260
+ break;
261
+ case 10:
262
+ message.petersburgBlock = reader.string();
263
+ break;
264
+ case 11:
265
+ message.istanbulBlock = reader.string();
266
+ break;
267
+ case 12:
268
+ message.muirGlacierBlock = reader.string();
269
+ break;
270
+ case 13:
271
+ message.berlinBlock = reader.string();
272
+ break;
273
+ case 17:
274
+ message.londonBlock = reader.string();
275
+ break;
276
+ case 18:
277
+ message.arrowGlacierBlock = reader.string();
278
+ break;
279
+ case 20:
280
+ message.grayGlacierBlock = reader.string();
281
+ break;
282
+ case 21:
283
+ message.mergeNetsplitBlock = reader.string();
284
+ break;
285
+ case 22:
286
+ message.shanghaiBlock = reader.string();
287
+ break;
288
+ case 23:
289
+ message.cancunBlock = reader.string();
290
+ break;
291
+ default:
292
+ reader.skipType(tag & 7);
293
+ break;
294
+ }
295
+ }
296
+ return message;
297
+ },
298
+ fromJSON(object) {
299
+ const message = Object.assign({}, baseChainConfig);
300
+ message.homesteadBlock =
301
+ object.homesteadBlock !== undefined && object.homesteadBlock !== null
302
+ ? String(object.homesteadBlock)
303
+ : "";
304
+ message.daoForkBlock =
305
+ object.daoForkBlock !== undefined && object.daoForkBlock !== null
306
+ ? String(object.daoForkBlock)
307
+ : "";
308
+ message.daoForkSupport =
309
+ object.daoForkSupport !== undefined && object.daoForkSupport !== null
310
+ ? Boolean(object.daoForkSupport)
311
+ : false;
312
+ message.eip150Block =
313
+ object.eip150Block !== undefined && object.eip150Block !== null
314
+ ? String(object.eip150Block)
315
+ : "";
316
+ message.eip150Hash =
317
+ object.eip150Hash !== undefined && object.eip150Hash !== null
318
+ ? String(object.eip150Hash)
319
+ : "";
320
+ message.eip155Block =
321
+ object.eip155Block !== undefined && object.eip155Block !== null
322
+ ? String(object.eip155Block)
323
+ : "";
324
+ message.eip158Block =
325
+ object.eip158Block !== undefined && object.eip158Block !== null
326
+ ? String(object.eip158Block)
327
+ : "";
328
+ message.byzantiumBlock =
329
+ object.byzantiumBlock !== undefined && object.byzantiumBlock !== null
330
+ ? String(object.byzantiumBlock)
331
+ : "";
332
+ message.constantinopleBlock =
333
+ object.constantinopleBlock !== undefined &&
334
+ object.constantinopleBlock !== null
335
+ ? String(object.constantinopleBlock)
336
+ : "";
337
+ message.petersburgBlock =
338
+ object.petersburgBlock !== undefined && object.petersburgBlock !== null
339
+ ? String(object.petersburgBlock)
340
+ : "";
341
+ message.istanbulBlock =
342
+ object.istanbulBlock !== undefined && object.istanbulBlock !== null
343
+ ? String(object.istanbulBlock)
344
+ : "";
345
+ message.muirGlacierBlock =
346
+ object.muirGlacierBlock !== undefined && object.muirGlacierBlock !== null
347
+ ? String(object.muirGlacierBlock)
348
+ : "";
349
+ message.berlinBlock =
350
+ object.berlinBlock !== undefined && object.berlinBlock !== null
351
+ ? String(object.berlinBlock)
352
+ : "";
353
+ message.londonBlock =
354
+ object.londonBlock !== undefined && object.londonBlock !== null
355
+ ? String(object.londonBlock)
356
+ : "";
357
+ message.arrowGlacierBlock =
358
+ object.arrowGlacierBlock !== undefined &&
359
+ object.arrowGlacierBlock !== null
360
+ ? String(object.arrowGlacierBlock)
361
+ : "";
362
+ message.grayGlacierBlock =
363
+ object.grayGlacierBlock !== undefined && object.grayGlacierBlock !== null
364
+ ? String(object.grayGlacierBlock)
365
+ : "";
366
+ message.mergeNetsplitBlock =
367
+ object.mergeNetsplitBlock !== undefined &&
368
+ object.mergeNetsplitBlock !== null
369
+ ? String(object.mergeNetsplitBlock)
370
+ : "";
371
+ message.shanghaiBlock =
372
+ object.shanghaiBlock !== undefined && object.shanghaiBlock !== null
373
+ ? String(object.shanghaiBlock)
374
+ : "";
375
+ message.cancunBlock =
376
+ object.cancunBlock !== undefined && object.cancunBlock !== null
377
+ ? String(object.cancunBlock)
378
+ : "";
379
+ return message;
380
+ },
381
+ toJSON(message) {
382
+ const obj = {};
383
+ message.homesteadBlock !== undefined &&
384
+ (obj.homesteadBlock = message.homesteadBlock);
385
+ message.daoForkBlock !== undefined &&
386
+ (obj.daoForkBlock = message.daoForkBlock);
387
+ message.daoForkSupport !== undefined &&
388
+ (obj.daoForkSupport = message.daoForkSupport);
389
+ message.eip150Block !== undefined &&
390
+ (obj.eip150Block = message.eip150Block);
391
+ message.eip150Hash !== undefined && (obj.eip150Hash = message.eip150Hash);
392
+ message.eip155Block !== undefined &&
393
+ (obj.eip155Block = message.eip155Block);
394
+ message.eip158Block !== undefined &&
395
+ (obj.eip158Block = message.eip158Block);
396
+ message.byzantiumBlock !== undefined &&
397
+ (obj.byzantiumBlock = message.byzantiumBlock);
398
+ message.constantinopleBlock !== undefined &&
399
+ (obj.constantinopleBlock = message.constantinopleBlock);
400
+ message.petersburgBlock !== undefined &&
401
+ (obj.petersburgBlock = message.petersburgBlock);
402
+ message.istanbulBlock !== undefined &&
403
+ (obj.istanbulBlock = message.istanbulBlock);
404
+ message.muirGlacierBlock !== undefined &&
405
+ (obj.muirGlacierBlock = message.muirGlacierBlock);
406
+ message.berlinBlock !== undefined &&
407
+ (obj.berlinBlock = message.berlinBlock);
408
+ message.londonBlock !== undefined &&
409
+ (obj.londonBlock = message.londonBlock);
410
+ message.arrowGlacierBlock !== undefined &&
411
+ (obj.arrowGlacierBlock = message.arrowGlacierBlock);
412
+ message.grayGlacierBlock !== undefined &&
413
+ (obj.grayGlacierBlock = message.grayGlacierBlock);
414
+ message.mergeNetsplitBlock !== undefined &&
415
+ (obj.mergeNetsplitBlock = message.mergeNetsplitBlock);
416
+ message.shanghaiBlock !== undefined &&
417
+ (obj.shanghaiBlock = message.shanghaiBlock);
418
+ message.cancunBlock !== undefined &&
419
+ (obj.cancunBlock = message.cancunBlock);
420
+ return obj;
421
+ },
422
+ fromPartial(object) {
423
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u;
424
+ const message = Object.assign({}, baseChainConfig);
425
+ message.homesteadBlock = (_a = object.homesteadBlock) !== null && _a !== void 0 ? _a : "";
426
+ message.daoForkBlock = (_b = object.daoForkBlock) !== null && _b !== void 0 ? _b : "";
427
+ message.daoForkSupport = (_c = object.daoForkSupport) !== null && _c !== void 0 ? _c : false;
428
+ message.eip150Block = (_d = object.eip150Block) !== null && _d !== void 0 ? _d : "";
429
+ message.eip150Hash = (_e = object.eip150Hash) !== null && _e !== void 0 ? _e : "";
430
+ message.eip155Block = (_f = object.eip155Block) !== null && _f !== void 0 ? _f : "";
431
+ message.eip158Block = (_g = object.eip158Block) !== null && _g !== void 0 ? _g : "";
432
+ message.byzantiumBlock = (_h = object.byzantiumBlock) !== null && _h !== void 0 ? _h : "";
433
+ message.constantinopleBlock = (_j = object.constantinopleBlock) !== null && _j !== void 0 ? _j : "";
434
+ message.petersburgBlock = (_k = object.petersburgBlock) !== null && _k !== void 0 ? _k : "";
435
+ message.istanbulBlock = (_l = object.istanbulBlock) !== null && _l !== void 0 ? _l : "";
436
+ message.muirGlacierBlock = (_m = object.muirGlacierBlock) !== null && _m !== void 0 ? _m : "";
437
+ message.berlinBlock = (_o = object.berlinBlock) !== null && _o !== void 0 ? _o : "";
438
+ message.londonBlock = (_p = object.londonBlock) !== null && _p !== void 0 ? _p : "";
439
+ message.arrowGlacierBlock = (_q = object.arrowGlacierBlock) !== null && _q !== void 0 ? _q : "";
440
+ message.grayGlacierBlock = (_r = object.grayGlacierBlock) !== null && _r !== void 0 ? _r : "";
441
+ message.mergeNetsplitBlock = (_s = object.mergeNetsplitBlock) !== null && _s !== void 0 ? _s : "";
442
+ message.shanghaiBlock = (_t = object.shanghaiBlock) !== null && _t !== void 0 ? _t : "";
443
+ message.cancunBlock = (_u = object.cancunBlock) !== null && _u !== void 0 ? _u : "";
444
+ return message;
445
+ },
446
+ };
447
+ const baseState = { key: "", value: "" };
448
+ exports.State = {
449
+ encode(message, writer = minimal_1.default.Writer.create()) {
450
+ if (message.key !== "") {
451
+ writer.uint32(10).string(message.key);
452
+ }
453
+ if (message.value !== "") {
454
+ writer.uint32(18).string(message.value);
455
+ }
456
+ return writer;
457
+ },
458
+ decode(input, length) {
459
+ const reader = input instanceof minimal_1.default.Reader ? input : new minimal_1.default.Reader(input);
460
+ let end = length === undefined ? reader.len : reader.pos + length;
461
+ const message = Object.assign({}, baseState);
462
+ while (reader.pos < end) {
463
+ const tag = reader.uint32();
464
+ switch (tag >>> 3) {
465
+ case 1:
466
+ message.key = reader.string();
467
+ break;
468
+ case 2:
469
+ message.value = reader.string();
470
+ break;
471
+ default:
472
+ reader.skipType(tag & 7);
473
+ break;
474
+ }
475
+ }
476
+ return message;
477
+ },
478
+ fromJSON(object) {
479
+ const message = Object.assign({}, baseState);
480
+ message.key =
481
+ object.key !== undefined && object.key !== null ? String(object.key) : "";
482
+ message.value =
483
+ object.value !== undefined && object.value !== null
484
+ ? String(object.value)
485
+ : "";
486
+ return message;
487
+ },
488
+ toJSON(message) {
489
+ const obj = {};
490
+ message.key !== undefined && (obj.key = message.key);
491
+ message.value !== undefined && (obj.value = message.value);
492
+ return obj;
493
+ },
494
+ fromPartial(object) {
495
+ var _a, _b;
496
+ const message = Object.assign({}, baseState);
497
+ message.key = (_a = object.key) !== null && _a !== void 0 ? _a : "";
498
+ message.value = (_b = object.value) !== null && _b !== void 0 ? _b : "";
499
+ return message;
500
+ },
501
+ };
502
+ const baseTransactionLogs = { hash: "" };
503
+ exports.TransactionLogs = {
504
+ encode(message, writer = minimal_1.default.Writer.create()) {
505
+ if (message.hash !== "") {
506
+ writer.uint32(10).string(message.hash);
507
+ }
508
+ for (const v of message.logs) {
509
+ exports.Log.encode(v, writer.uint32(18).fork()).ldelim();
510
+ }
511
+ return writer;
512
+ },
513
+ decode(input, length) {
514
+ const reader = input instanceof minimal_1.default.Reader ? input : new minimal_1.default.Reader(input);
515
+ let end = length === undefined ? reader.len : reader.pos + length;
516
+ const message = Object.assign({}, baseTransactionLogs);
517
+ message.logs = [];
518
+ while (reader.pos < end) {
519
+ const tag = reader.uint32();
520
+ switch (tag >>> 3) {
521
+ case 1:
522
+ message.hash = reader.string();
523
+ break;
524
+ case 2:
525
+ message.logs.push(exports.Log.decode(reader, reader.uint32()));
526
+ break;
527
+ default:
528
+ reader.skipType(tag & 7);
529
+ break;
530
+ }
531
+ }
532
+ return message;
533
+ },
534
+ fromJSON(object) {
535
+ var _a;
536
+ const message = Object.assign({}, baseTransactionLogs);
537
+ message.hash =
538
+ object.hash !== undefined && object.hash !== null
539
+ ? String(object.hash)
540
+ : "";
541
+ message.logs = ((_a = object.logs) !== null && _a !== void 0 ? _a : []).map((e) => exports.Log.fromJSON(e));
542
+ return message;
543
+ },
544
+ toJSON(message) {
545
+ const obj = {};
546
+ message.hash !== undefined && (obj.hash = message.hash);
547
+ if (message.logs) {
548
+ obj.logs = message.logs.map((e) => (e ? exports.Log.toJSON(e) : undefined));
549
+ }
550
+ else {
551
+ obj.logs = [];
552
+ }
553
+ return obj;
554
+ },
555
+ fromPartial(object) {
556
+ var _a, _b;
557
+ const message = Object.assign({}, baseTransactionLogs);
558
+ message.hash = (_a = object.hash) !== null && _a !== void 0 ? _a : "";
559
+ message.logs = ((_b = object.logs) !== null && _b !== void 0 ? _b : []).map((e) => exports.Log.fromPartial(e));
560
+ return message;
561
+ },
562
+ };
563
+ const baseLog = {
564
+ address: "",
565
+ topics: "",
566
+ blockNumber: long_1.default.UZERO,
567
+ txHash: "",
568
+ txIndex: long_1.default.UZERO,
569
+ blockHash: "",
570
+ index: long_1.default.UZERO,
571
+ removed: false,
572
+ };
573
+ exports.Log = {
574
+ encode(message, writer = minimal_1.default.Writer.create()) {
575
+ if (message.address !== "") {
576
+ writer.uint32(10).string(message.address);
577
+ }
578
+ for (const v of message.topics) {
579
+ writer.uint32(18).string(v);
580
+ }
581
+ if (message.data.length !== 0) {
582
+ writer.uint32(26).bytes(message.data);
583
+ }
584
+ if (!message.blockNumber.isZero()) {
585
+ writer.uint32(32).uint64(message.blockNumber);
586
+ }
587
+ if (message.txHash !== "") {
588
+ writer.uint32(42).string(message.txHash);
589
+ }
590
+ if (!message.txIndex.isZero()) {
591
+ writer.uint32(48).uint64(message.txIndex);
592
+ }
593
+ if (message.blockHash !== "") {
594
+ writer.uint32(58).string(message.blockHash);
595
+ }
596
+ if (!message.index.isZero()) {
597
+ writer.uint32(64).uint64(message.index);
598
+ }
599
+ if (message.removed === true) {
600
+ writer.uint32(72).bool(message.removed);
601
+ }
602
+ return writer;
603
+ },
604
+ decode(input, length) {
605
+ const reader = input instanceof minimal_1.default.Reader ? input : new minimal_1.default.Reader(input);
606
+ let end = length === undefined ? reader.len : reader.pos + length;
607
+ const message = Object.assign({}, baseLog);
608
+ message.topics = [];
609
+ message.data = new Uint8Array();
610
+ while (reader.pos < end) {
611
+ const tag = reader.uint32();
612
+ switch (tag >>> 3) {
613
+ case 1:
614
+ message.address = reader.string();
615
+ break;
616
+ case 2:
617
+ message.topics.push(reader.string());
618
+ break;
619
+ case 3:
620
+ message.data = reader.bytes();
621
+ break;
622
+ case 4:
623
+ message.blockNumber = reader.uint64();
624
+ break;
625
+ case 5:
626
+ message.txHash = reader.string();
627
+ break;
628
+ case 6:
629
+ message.txIndex = reader.uint64();
630
+ break;
631
+ case 7:
632
+ message.blockHash = reader.string();
633
+ break;
634
+ case 8:
635
+ message.index = reader.uint64();
636
+ break;
637
+ case 9:
638
+ message.removed = reader.bool();
639
+ break;
640
+ default:
641
+ reader.skipType(tag & 7);
642
+ break;
643
+ }
644
+ }
645
+ return message;
646
+ },
647
+ fromJSON(object) {
648
+ var _a;
649
+ const message = Object.assign({}, baseLog);
650
+ message.address =
651
+ object.address !== undefined && object.address !== null
652
+ ? String(object.address)
653
+ : "";
654
+ message.topics = ((_a = object.topics) !== null && _a !== void 0 ? _a : []).map((e) => String(e));
655
+ message.data =
656
+ object.data !== undefined && object.data !== null
657
+ ? bytesFromBase64(object.data)
658
+ : new Uint8Array();
659
+ message.blockNumber =
660
+ object.blockNumber !== undefined && object.blockNumber !== null
661
+ ? long_1.default.fromString(object.blockNumber)
662
+ : long_1.default.UZERO;
663
+ message.txHash =
664
+ object.txHash !== undefined && object.txHash !== null
665
+ ? String(object.txHash)
666
+ : "";
667
+ message.txIndex =
668
+ object.txIndex !== undefined && object.txIndex !== null
669
+ ? long_1.default.fromString(object.txIndex)
670
+ : long_1.default.UZERO;
671
+ message.blockHash =
672
+ object.blockHash !== undefined && object.blockHash !== null
673
+ ? String(object.blockHash)
674
+ : "";
675
+ message.index =
676
+ object.index !== undefined && object.index !== null
677
+ ? long_1.default.fromString(object.index)
678
+ : long_1.default.UZERO;
679
+ message.removed =
680
+ object.removed !== undefined && object.removed !== null
681
+ ? Boolean(object.removed)
682
+ : false;
683
+ return message;
684
+ },
685
+ toJSON(message) {
686
+ const obj = {};
687
+ message.address !== undefined && (obj.address = message.address);
688
+ if (message.topics) {
689
+ obj.topics = message.topics.map((e) => e);
690
+ }
691
+ else {
692
+ obj.topics = [];
693
+ }
694
+ message.data !== undefined &&
695
+ (obj.data = base64FromBytes(message.data !== undefined ? message.data : new Uint8Array()));
696
+ message.blockNumber !== undefined &&
697
+ (obj.blockNumber = (message.blockNumber || long_1.default.UZERO).toString());
698
+ message.txHash !== undefined && (obj.txHash = message.txHash);
699
+ message.txIndex !== undefined &&
700
+ (obj.txIndex = (message.txIndex || long_1.default.UZERO).toString());
701
+ message.blockHash !== undefined && (obj.blockHash = message.blockHash);
702
+ message.index !== undefined &&
703
+ (obj.index = (message.index || long_1.default.UZERO).toString());
704
+ message.removed !== undefined && (obj.removed = message.removed);
705
+ return obj;
706
+ },
707
+ fromPartial(object) {
708
+ var _a, _b, _c, _d, _e, _f;
709
+ const message = Object.assign({}, baseLog);
710
+ message.address = (_a = object.address) !== null && _a !== void 0 ? _a : "";
711
+ message.topics = ((_b = object.topics) !== null && _b !== void 0 ? _b : []).map((e) => e);
712
+ message.data = (_c = object.data) !== null && _c !== void 0 ? _c : new Uint8Array();
713
+ message.blockNumber =
714
+ object.blockNumber !== undefined && object.blockNumber !== null
715
+ ? long_1.default.fromValue(object.blockNumber)
716
+ : long_1.default.UZERO;
717
+ message.txHash = (_d = object.txHash) !== null && _d !== void 0 ? _d : "";
718
+ message.txIndex =
719
+ object.txIndex !== undefined && object.txIndex !== null
720
+ ? long_1.default.fromValue(object.txIndex)
721
+ : long_1.default.UZERO;
722
+ message.blockHash = (_e = object.blockHash) !== null && _e !== void 0 ? _e : "";
723
+ message.index =
724
+ object.index !== undefined && object.index !== null
725
+ ? long_1.default.fromValue(object.index)
726
+ : long_1.default.UZERO;
727
+ message.removed = (_f = object.removed) !== null && _f !== void 0 ? _f : false;
728
+ return message;
729
+ },
730
+ };
731
+ const baseTxResult = {
732
+ contractAddress: "",
733
+ reverted: false,
734
+ gasUsed: long_1.default.UZERO,
735
+ };
736
+ exports.TxResult = {
737
+ encode(message, writer = minimal_1.default.Writer.create()) {
738
+ if (message.contractAddress !== "") {
739
+ writer.uint32(10).string(message.contractAddress);
740
+ }
741
+ if (message.bloom.length !== 0) {
742
+ writer.uint32(18).bytes(message.bloom);
743
+ }
744
+ if (message.txLogs !== undefined) {
745
+ exports.TransactionLogs.encode(message.txLogs, writer.uint32(26).fork()).ldelim();
746
+ }
747
+ if (message.ret.length !== 0) {
748
+ writer.uint32(34).bytes(message.ret);
749
+ }
750
+ if (message.reverted === true) {
751
+ writer.uint32(40).bool(message.reverted);
752
+ }
753
+ if (!message.gasUsed.isZero()) {
754
+ writer.uint32(48).uint64(message.gasUsed);
755
+ }
756
+ return writer;
757
+ },
758
+ decode(input, length) {
759
+ const reader = input instanceof minimal_1.default.Reader ? input : new minimal_1.default.Reader(input);
760
+ let end = length === undefined ? reader.len : reader.pos + length;
761
+ const message = Object.assign({}, baseTxResult);
762
+ message.bloom = new Uint8Array();
763
+ message.ret = new Uint8Array();
764
+ while (reader.pos < end) {
765
+ const tag = reader.uint32();
766
+ switch (tag >>> 3) {
767
+ case 1:
768
+ message.contractAddress = reader.string();
769
+ break;
770
+ case 2:
771
+ message.bloom = reader.bytes();
772
+ break;
773
+ case 3:
774
+ message.txLogs = exports.TransactionLogs.decode(reader, reader.uint32());
775
+ break;
776
+ case 4:
777
+ message.ret = reader.bytes();
778
+ break;
779
+ case 5:
780
+ message.reverted = reader.bool();
781
+ break;
782
+ case 6:
783
+ message.gasUsed = reader.uint64();
784
+ break;
785
+ default:
786
+ reader.skipType(tag & 7);
787
+ break;
788
+ }
789
+ }
790
+ return message;
791
+ },
792
+ fromJSON(object) {
793
+ const message = Object.assign({}, baseTxResult);
794
+ message.contractAddress =
795
+ object.contractAddress !== undefined && object.contractAddress !== null
796
+ ? String(object.contractAddress)
797
+ : "";
798
+ message.bloom =
799
+ object.bloom !== undefined && object.bloom !== null
800
+ ? bytesFromBase64(object.bloom)
801
+ : new Uint8Array();
802
+ message.txLogs =
803
+ object.txLogs !== undefined && object.txLogs !== null
804
+ ? exports.TransactionLogs.fromJSON(object.txLogs)
805
+ : undefined;
806
+ message.ret =
807
+ object.ret !== undefined && object.ret !== null
808
+ ? bytesFromBase64(object.ret)
809
+ : new Uint8Array();
810
+ message.reverted =
811
+ object.reverted !== undefined && object.reverted !== null
812
+ ? Boolean(object.reverted)
813
+ : false;
814
+ message.gasUsed =
815
+ object.gasUsed !== undefined && object.gasUsed !== null
816
+ ? long_1.default.fromString(object.gasUsed)
817
+ : long_1.default.UZERO;
818
+ return message;
819
+ },
820
+ toJSON(message) {
821
+ const obj = {};
822
+ message.contractAddress !== undefined &&
823
+ (obj.contractAddress = message.contractAddress);
824
+ message.bloom !== undefined &&
825
+ (obj.bloom = base64FromBytes(message.bloom !== undefined ? message.bloom : new Uint8Array()));
826
+ message.txLogs !== undefined &&
827
+ (obj.txLogs = message.txLogs
828
+ ? exports.TransactionLogs.toJSON(message.txLogs)
829
+ : undefined);
830
+ message.ret !== undefined &&
831
+ (obj.ret = base64FromBytes(message.ret !== undefined ? message.ret : new Uint8Array()));
832
+ message.reverted !== undefined && (obj.reverted = message.reverted);
833
+ message.gasUsed !== undefined &&
834
+ (obj.gasUsed = (message.gasUsed || long_1.default.UZERO).toString());
835
+ return obj;
836
+ },
837
+ fromPartial(object) {
838
+ var _a, _b, _c, _d;
839
+ const message = Object.assign({}, baseTxResult);
840
+ message.contractAddress = (_a = object.contractAddress) !== null && _a !== void 0 ? _a : "";
841
+ message.bloom = (_b = object.bloom) !== null && _b !== void 0 ? _b : new Uint8Array();
842
+ message.txLogs =
843
+ object.txLogs !== undefined && object.txLogs !== null
844
+ ? exports.TransactionLogs.fromPartial(object.txLogs)
845
+ : undefined;
846
+ message.ret = (_c = object.ret) !== null && _c !== void 0 ? _c : new Uint8Array();
847
+ message.reverted = (_d = object.reverted) !== null && _d !== void 0 ? _d : false;
848
+ message.gasUsed =
849
+ object.gasUsed !== undefined && object.gasUsed !== null
850
+ ? long_1.default.fromValue(object.gasUsed)
851
+ : long_1.default.UZERO;
852
+ return message;
853
+ },
854
+ };
855
+ const baseAccessTuple = { address: "", storageKeys: "" };
856
+ exports.AccessTuple = {
857
+ encode(message, writer = minimal_1.default.Writer.create()) {
858
+ if (message.address !== "") {
859
+ writer.uint32(10).string(message.address);
860
+ }
861
+ for (const v of message.storageKeys) {
862
+ writer.uint32(18).string(v);
863
+ }
864
+ return writer;
865
+ },
866
+ decode(input, length) {
867
+ const reader = input instanceof minimal_1.default.Reader ? input : new minimal_1.default.Reader(input);
868
+ let end = length === undefined ? reader.len : reader.pos + length;
869
+ const message = Object.assign({}, baseAccessTuple);
870
+ message.storageKeys = [];
871
+ while (reader.pos < end) {
872
+ const tag = reader.uint32();
873
+ switch (tag >>> 3) {
874
+ case 1:
875
+ message.address = reader.string();
876
+ break;
877
+ case 2:
878
+ message.storageKeys.push(reader.string());
879
+ break;
880
+ default:
881
+ reader.skipType(tag & 7);
882
+ break;
883
+ }
884
+ }
885
+ return message;
886
+ },
887
+ fromJSON(object) {
888
+ var _a;
889
+ const message = Object.assign({}, baseAccessTuple);
890
+ message.address =
891
+ object.address !== undefined && object.address !== null
892
+ ? String(object.address)
893
+ : "";
894
+ message.storageKeys = ((_a = object.storageKeys) !== null && _a !== void 0 ? _a : []).map((e) => String(e));
895
+ return message;
896
+ },
897
+ toJSON(message) {
898
+ const obj = {};
899
+ message.address !== undefined && (obj.address = message.address);
900
+ if (message.storageKeys) {
901
+ obj.storageKeys = message.storageKeys.map((e) => e);
902
+ }
903
+ else {
904
+ obj.storageKeys = [];
905
+ }
906
+ return obj;
907
+ },
908
+ fromPartial(object) {
909
+ var _a, _b;
910
+ const message = Object.assign({}, baseAccessTuple);
911
+ message.address = (_a = object.address) !== null && _a !== void 0 ? _a : "";
912
+ message.storageKeys = ((_b = object.storageKeys) !== null && _b !== void 0 ? _b : []).map((e) => e);
913
+ return message;
914
+ },
915
+ };
916
+ const baseTraceConfig = {
917
+ tracer: "",
918
+ timeout: "",
919
+ reexec: long_1.default.UZERO,
920
+ disableStack: false,
921
+ disableStorage: false,
922
+ debug: false,
923
+ limit: 0,
924
+ enableMemory: false,
925
+ enableReturnData: false,
926
+ tracerJsonConfig: "",
927
+ };
928
+ exports.TraceConfig = {
929
+ encode(message, writer = minimal_1.default.Writer.create()) {
930
+ if (message.tracer !== "") {
931
+ writer.uint32(10).string(message.tracer);
932
+ }
933
+ if (message.timeout !== "") {
934
+ writer.uint32(18).string(message.timeout);
935
+ }
936
+ if (!message.reexec.isZero()) {
937
+ writer.uint32(24).uint64(message.reexec);
938
+ }
939
+ if (message.disableStack === true) {
940
+ writer.uint32(40).bool(message.disableStack);
941
+ }
942
+ if (message.disableStorage === true) {
943
+ writer.uint32(48).bool(message.disableStorage);
944
+ }
945
+ if (message.debug === true) {
946
+ writer.uint32(64).bool(message.debug);
947
+ }
948
+ if (message.limit !== 0) {
949
+ writer.uint32(72).int32(message.limit);
950
+ }
951
+ if (message.overrides !== undefined) {
952
+ exports.ChainConfig.encode(message.overrides, writer.uint32(82).fork()).ldelim();
953
+ }
954
+ if (message.enableMemory === true) {
955
+ writer.uint32(88).bool(message.enableMemory);
956
+ }
957
+ if (message.enableReturnData === true) {
958
+ writer.uint32(96).bool(message.enableReturnData);
959
+ }
960
+ if (message.tracerJsonConfig !== "") {
961
+ writer.uint32(106).string(message.tracerJsonConfig);
962
+ }
963
+ return writer;
964
+ },
965
+ decode(input, length) {
966
+ const reader = input instanceof minimal_1.default.Reader ? input : new minimal_1.default.Reader(input);
967
+ let end = length === undefined ? reader.len : reader.pos + length;
968
+ const message = Object.assign({}, baseTraceConfig);
969
+ while (reader.pos < end) {
970
+ const tag = reader.uint32();
971
+ switch (tag >>> 3) {
972
+ case 1:
973
+ message.tracer = reader.string();
974
+ break;
975
+ case 2:
976
+ message.timeout = reader.string();
977
+ break;
978
+ case 3:
979
+ message.reexec = reader.uint64();
980
+ break;
981
+ case 5:
982
+ message.disableStack = reader.bool();
983
+ break;
984
+ case 6:
985
+ message.disableStorage = reader.bool();
986
+ break;
987
+ case 8:
988
+ message.debug = reader.bool();
989
+ break;
990
+ case 9:
991
+ message.limit = reader.int32();
992
+ break;
993
+ case 10:
994
+ message.overrides = exports.ChainConfig.decode(reader, reader.uint32());
995
+ break;
996
+ case 11:
997
+ message.enableMemory = reader.bool();
998
+ break;
999
+ case 12:
1000
+ message.enableReturnData = reader.bool();
1001
+ break;
1002
+ case 13:
1003
+ message.tracerJsonConfig = reader.string();
1004
+ break;
1005
+ default:
1006
+ reader.skipType(tag & 7);
1007
+ break;
1008
+ }
1009
+ }
1010
+ return message;
1011
+ },
1012
+ fromJSON(object) {
1013
+ const message = Object.assign({}, baseTraceConfig);
1014
+ message.tracer =
1015
+ object.tracer !== undefined && object.tracer !== null
1016
+ ? String(object.tracer)
1017
+ : "";
1018
+ message.timeout =
1019
+ object.timeout !== undefined && object.timeout !== null
1020
+ ? String(object.timeout)
1021
+ : "";
1022
+ message.reexec =
1023
+ object.reexec !== undefined && object.reexec !== null
1024
+ ? long_1.default.fromString(object.reexec)
1025
+ : long_1.default.UZERO;
1026
+ message.disableStack =
1027
+ object.disableStack !== undefined && object.disableStack !== null
1028
+ ? Boolean(object.disableStack)
1029
+ : false;
1030
+ message.disableStorage =
1031
+ object.disableStorage !== undefined && object.disableStorage !== null
1032
+ ? Boolean(object.disableStorage)
1033
+ : false;
1034
+ message.debug =
1035
+ object.debug !== undefined && object.debug !== null
1036
+ ? Boolean(object.debug)
1037
+ : false;
1038
+ message.limit =
1039
+ object.limit !== undefined && object.limit !== null
1040
+ ? Number(object.limit)
1041
+ : 0;
1042
+ message.overrides =
1043
+ object.overrides !== undefined && object.overrides !== null
1044
+ ? exports.ChainConfig.fromJSON(object.overrides)
1045
+ : undefined;
1046
+ message.enableMemory =
1047
+ object.enableMemory !== undefined && object.enableMemory !== null
1048
+ ? Boolean(object.enableMemory)
1049
+ : false;
1050
+ message.enableReturnData =
1051
+ object.enableReturnData !== undefined && object.enableReturnData !== null
1052
+ ? Boolean(object.enableReturnData)
1053
+ : false;
1054
+ message.tracerJsonConfig =
1055
+ object.tracerJsonConfig !== undefined && object.tracerJsonConfig !== null
1056
+ ? String(object.tracerJsonConfig)
1057
+ : "";
1058
+ return message;
1059
+ },
1060
+ toJSON(message) {
1061
+ const obj = {};
1062
+ message.tracer !== undefined && (obj.tracer = message.tracer);
1063
+ message.timeout !== undefined && (obj.timeout = message.timeout);
1064
+ message.reexec !== undefined &&
1065
+ (obj.reexec = (message.reexec || long_1.default.UZERO).toString());
1066
+ message.disableStack !== undefined &&
1067
+ (obj.disableStack = message.disableStack);
1068
+ message.disableStorage !== undefined &&
1069
+ (obj.disableStorage = message.disableStorage);
1070
+ message.debug !== undefined && (obj.debug = message.debug);
1071
+ message.limit !== undefined && (obj.limit = message.limit);
1072
+ message.overrides !== undefined &&
1073
+ (obj.overrides = message.overrides
1074
+ ? exports.ChainConfig.toJSON(message.overrides)
1075
+ : undefined);
1076
+ message.enableMemory !== undefined &&
1077
+ (obj.enableMemory = message.enableMemory);
1078
+ message.enableReturnData !== undefined &&
1079
+ (obj.enableReturnData = message.enableReturnData);
1080
+ message.tracerJsonConfig !== undefined &&
1081
+ (obj.tracerJsonConfig = message.tracerJsonConfig);
1082
+ return obj;
1083
+ },
1084
+ fromPartial(object) {
1085
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
1086
+ const message = Object.assign({}, baseTraceConfig);
1087
+ message.tracer = (_a = object.tracer) !== null && _a !== void 0 ? _a : "";
1088
+ message.timeout = (_b = object.timeout) !== null && _b !== void 0 ? _b : "";
1089
+ message.reexec =
1090
+ object.reexec !== undefined && object.reexec !== null
1091
+ ? long_1.default.fromValue(object.reexec)
1092
+ : long_1.default.UZERO;
1093
+ message.disableStack = (_c = object.disableStack) !== null && _c !== void 0 ? _c : false;
1094
+ message.disableStorage = (_d = object.disableStorage) !== null && _d !== void 0 ? _d : false;
1095
+ message.debug = (_e = object.debug) !== null && _e !== void 0 ? _e : false;
1096
+ message.limit = (_f = object.limit) !== null && _f !== void 0 ? _f : 0;
1097
+ message.overrides =
1098
+ object.overrides !== undefined && object.overrides !== null
1099
+ ? exports.ChainConfig.fromPartial(object.overrides)
1100
+ : undefined;
1101
+ message.enableMemory = (_g = object.enableMemory) !== null && _g !== void 0 ? _g : false;
1102
+ message.enableReturnData = (_h = object.enableReturnData) !== null && _h !== void 0 ? _h : false;
1103
+ message.tracerJsonConfig = (_j = object.tracerJsonConfig) !== null && _j !== void 0 ? _j : "";
1104
+ return message;
1105
+ },
1106
+ };
1107
+ var globalThis = (() => {
1108
+ if (typeof globalThis !== "undefined")
1109
+ return globalThis;
1110
+ if (typeof self !== "undefined")
1111
+ return self;
1112
+ if (typeof window !== "undefined")
1113
+ return window;
1114
+ if (typeof global !== "undefined")
1115
+ return global;
1116
+ throw "Unable to locate global object";
1117
+ })();
1118
+ const atob = globalThis.atob ||
1119
+ ((b64) => globalThis.Buffer.from(b64, "base64").toString("binary"));
1120
+ function bytesFromBase64(b64) {
1121
+ const bin = atob(b64);
1122
+ const arr = new Uint8Array(bin.length);
1123
+ for (let i = 0; i < bin.length; ++i) {
1124
+ arr[i] = bin.charCodeAt(i);
1125
+ }
1126
+ return arr;
1127
+ }
1128
+ const btoa = globalThis.btoa ||
1129
+ ((bin) => globalThis.Buffer.from(bin, "binary").toString("base64"));
1130
+ function base64FromBytes(arr) {
1131
+ const bin = [];
1132
+ for (const byte of arr) {
1133
+ bin.push(String.fromCharCode(byte));
1134
+ }
1135
+ return btoa(bin.join(""));
1136
+ }
1137
+ if (minimal_1.default.util.Long !== long_1.default) {
1138
+ minimal_1.default.util.Long = long_1.default;
1139
+ minimal_1.default.configure();
1140
+ }