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.
- package/README.md +85 -85
- package/lib/CarbonSDK.d.ts +159 -159
- package/lib/CarbonSDK.js +466 -470
- package/lib/clients/AxelarBridgeClient.d.ts +28 -28
- package/lib/clients/AxelarBridgeClient.js +37 -37
- package/lib/clients/BatchQueryClient.d.ts +26 -26
- package/lib/clients/BatchQueryClient.js +100 -100
- package/lib/clients/BlockchainClient.d.ts +16 -16
- package/lib/clients/BlockchainClient.js +19 -19
- package/lib/clients/CarbonQueryClient.d.ts +118 -118
- package/lib/clients/CarbonQueryClient.js +120 -120
- package/lib/clients/ETHClient.d.ts +115 -115
- package/lib/clients/ETHClient.js +377 -377
- package/lib/clients/GasFee.d.ts +12 -12
- package/lib/clients/GasFee.js +31 -31
- package/lib/clients/GrpcQueryClient.d.ts +22 -22
- package/lib/clients/GrpcQueryClient.js +56 -56
- package/lib/clients/HydrogenClient.d.ts +31 -31
- package/lib/clients/HydrogenClient.js +184 -184
- package/lib/clients/InsightsQueryClient.d.ts +70 -70
- package/lib/clients/InsightsQueryClient.js +552 -552
- package/lib/clients/N3Client.d.ts +73 -73
- package/lib/clients/N3Client.js +287 -287
- package/lib/clients/NEOClient.d.ts +57 -57
- package/lib/clients/NEOClient.js +335 -339
- package/lib/clients/TokenClient.d.ts +90 -90
- package/lib/clients/TokenClient.js +757 -757
- package/lib/clients/ZILClient.d.ts +106 -106
- package/lib/clients/ZILClient.js +443 -443
- package/lib/clients/index.d.ts +10 -10
- package/lib/clients/index.js +26 -26
- package/lib/codec/Switcheo/carbon/adl/genesis.d.ts +18 -18
- package/lib/codec/Switcheo/carbon/adl/genesis.js +46 -46
- package/lib/codec/Switcheo/carbon/adl/query.d.ts +12 -12
- package/lib/codec/Switcheo/carbon/adl/query.js +20 -20
- package/lib/codec/Switcheo/carbon/adl/tx.d.ts +12 -12
- package/lib/codec/Switcheo/carbon/adl/tx.js +20 -20
- package/lib/codec/Switcheo/carbon/admin/export.d.ts +2 -2
- package/lib/codec/Switcheo/carbon/admin/export.js +13 -13
- package/lib/codec/Switcheo/carbon/admin/genesis.d.ts +18 -18
- package/lib/codec/Switcheo/carbon/admin/genesis.js +46 -46
- package/lib/codec/Switcheo/carbon/admin/query.d.ts +62 -62
- package/lib/codec/Switcheo/carbon/admin/query.js +186 -186
- package/lib/codec/Switcheo/carbon/admin/tx.d.ts +62 -62
- package/lib/codec/Switcheo/carbon/admin/tx.js +198 -198
- package/lib/codec/Switcheo/carbon/bank/event.d.ts +65 -65
- package/lib/codec/Switcheo/carbon/bank/event.js +332 -332
- package/lib/codec/Switcheo/carbon/bank/export.d.ts +3 -3
- package/lib/codec/Switcheo/carbon/bank/export.js +23 -23
- package/lib/codec/Switcheo/carbon/bank/genesis.d.ts +19 -19
- package/lib/codec/Switcheo/carbon/bank/genesis.js +63 -63
- package/lib/codec/Switcheo/carbon/bank/query.d.ts +122 -122
- package/lib/codec/Switcheo/carbon/bank/query.js +643 -643
- package/lib/codec/Switcheo/carbon/bank/tx.d.ts +63 -63
- package/lib/codec/Switcheo/carbon/bank/tx.js +210 -210
- package/lib/codec/Switcheo/carbon/book/book.d.ts +57 -57
- package/lib/codec/Switcheo/carbon/book/book.js +319 -319
- package/lib/codec/Switcheo/carbon/book/event.d.ts +41 -41
- package/lib/codec/Switcheo/carbon/book/event.js +195 -195
- package/lib/codec/Switcheo/carbon/book/export.d.ts +4 -4
- package/lib/codec/Switcheo/carbon/book/export.js +25 -25
- package/lib/codec/Switcheo/carbon/book/genesis.d.ts +25 -25
- package/lib/codec/Switcheo/carbon/book/genesis.js +79 -79
- package/lib/codec/Switcheo/carbon/book/legacy.d.ts +22 -22
- package/lib/codec/Switcheo/carbon/book/legacy.js +120 -120
- package/lib/codec/Switcheo/carbon/book/query.d.ts +147 -147
- package/lib/codec/Switcheo/carbon/book/query.js +618 -618
- package/lib/codec/Switcheo/carbon/book/tx.d.ts +12 -12
- package/lib/codec/Switcheo/carbon/book/tx.js +20 -20
- package/lib/codec/Switcheo/carbon/bridge/bridge.d.ts +97 -97
- package/lib/codec/Switcheo/carbon/bridge/bridge.js +596 -596
- package/lib/codec/Switcheo/carbon/bridge/event.d.ts +293 -293
- package/lib/codec/Switcheo/carbon/bridge/event.js +1851 -1851
- package/lib/codec/Switcheo/carbon/bridge/export.d.ts +6 -6
- package/lib/codec/Switcheo/carbon/bridge/export.js +131 -131
- package/lib/codec/Switcheo/carbon/bridge/genesis.d.ts +28 -28
- package/lib/codec/Switcheo/carbon/bridge/genesis.js +201 -201
- package/lib/codec/Switcheo/carbon/bridge/params.d.ts +47 -47
- package/lib/codec/Switcheo/carbon/bridge/params.js +136 -136
- package/lib/codec/Switcheo/carbon/bridge/pending_action.d.ts +94 -94
- package/lib/codec/Switcheo/carbon/bridge/pending_action.js +698 -698
- package/lib/codec/Switcheo/carbon/bridge/query.d.ts +291 -291
- package/lib/codec/Switcheo/carbon/bridge/query.js +1301 -1301
- package/lib/codec/Switcheo/carbon/bridge/tx.d.ts +810 -810
- package/lib/codec/Switcheo/carbon/bridge/tx.js +3970 -3970
- package/lib/codec/Switcheo/carbon/broker/amm.d.ts +48 -48
- package/lib/codec/Switcheo/carbon/broker/amm.js +312 -312
- package/lib/codec/Switcheo/carbon/broker/candlestick.d.ts +27 -27
- package/lib/codec/Switcheo/carbon/broker/candlestick.js +211 -211
- package/lib/codec/Switcheo/carbon/broker/event.d.ts +53 -53
- package/lib/codec/Switcheo/carbon/broker/event.js +485 -485
- package/lib/codec/Switcheo/carbon/broker/export.d.ts +7 -7
- package/lib/codec/Switcheo/carbon/broker/export.js +27 -27
- package/lib/codec/Switcheo/carbon/broker/genesis.d.ts +25 -25
- package/lib/codec/Switcheo/carbon/broker/genesis.js +79 -79
- package/lib/codec/Switcheo/carbon/broker/incoming_liquidations.d.ts +18 -18
- package/lib/codec/Switcheo/carbon/broker/incoming_liquidations.js +93 -93
- package/lib/codec/Switcheo/carbon/broker/pagination.d.ts +19 -19
- package/lib/codec/Switcheo/carbon/broker/pagination.js +78 -78
- package/lib/codec/Switcheo/carbon/broker/query.d.ts +107 -107
- package/lib/codec/Switcheo/carbon/broker/query.js +597 -597
- package/lib/codec/Switcheo/carbon/broker/tx.d.ts +53 -53
- package/lib/codec/Switcheo/carbon/broker/tx.js +176 -176
- package/lib/codec/Switcheo/carbon/btcx/denom_cross_chain_info.d.ts +21 -21
- package/lib/codec/Switcheo/carbon/btcx/denom_cross_chain_info.js +98 -98
- package/lib/codec/Switcheo/carbon/btcx/denom_info.d.ts +24 -24
- package/lib/codec/Switcheo/carbon/btcx/denom_info.js +140 -140
- package/lib/codec/Switcheo/carbon/btcx/export.d.ts +4 -4
- package/lib/codec/Switcheo/carbon/btcx/export.js +19 -19
- package/lib/codec/Switcheo/carbon/btcx/genesis.d.ts +18 -18
- package/lib/codec/Switcheo/carbon/btcx/genesis.js +46 -46
- package/lib/codec/Switcheo/carbon/btcx/query.d.ts +68 -68
- package/lib/codec/Switcheo/carbon/btcx/query.js +275 -275
- package/lib/codec/Switcheo/carbon/btcx/tx.d.ts +92 -92
- package/lib/codec/Switcheo/carbon/btcx/tx.js +436 -436
- package/lib/codec/Switcheo/carbon/ccm/export.d.ts +4 -4
- package/lib/codec/Switcheo/carbon/ccm/export.js +24 -24
- package/lib/codec/Switcheo/carbon/ccm/genesis.d.ts +119 -119
- package/lib/codec/Switcheo/carbon/ccm/genesis.js +604 -604
- package/lib/codec/Switcheo/carbon/ccm/params.d.ts +28 -28
- package/lib/codec/Switcheo/carbon/ccm/params.js +78 -78
- package/lib/codec/Switcheo/carbon/ccm/query.d.ts +75 -75
- package/lib/codec/Switcheo/carbon/ccm/query.js +284 -284
- package/lib/codec/Switcheo/carbon/ccm/tx.d.ts +101 -101
- package/lib/codec/Switcheo/carbon/ccm/tx.js +359 -359
- package/lib/codec/Switcheo/carbon/cdp/asset_params.d.ts +55 -55
- package/lib/codec/Switcheo/carbon/cdp/asset_params.js +396 -396
- package/lib/codec/Switcheo/carbon/cdp/cdp_liquidations.d.ts +32 -32
- package/lib/codec/Switcheo/carbon/cdp/cdp_liquidations.js +288 -288
- package/lib/codec/Switcheo/carbon/cdp/debt_info.d.ts +23 -23
- package/lib/codec/Switcheo/carbon/cdp/debt_info.js +158 -158
- package/lib/codec/Switcheo/carbon/cdp/e_mode_category.d.ts +23 -23
- package/lib/codec/Switcheo/carbon/cdp/e_mode_category.js +135 -135
- package/lib/codec/Switcheo/carbon/cdp/event.d.ts +424 -424
- package/lib/codec/Switcheo/carbon/cdp/event.js +2695 -2695
- package/lib/codec/Switcheo/carbon/cdp/export.d.ts +13 -13
- package/lib/codec/Switcheo/carbon/cdp/export.js +196 -196
- package/lib/codec/Switcheo/carbon/cdp/genesis.d.ts +134 -134
- package/lib/codec/Switcheo/carbon/cdp/genesis.js +823 -823
- package/lib/codec/Switcheo/carbon/cdp/params.d.ts +98 -98
- package/lib/codec/Switcheo/carbon/cdp/params.js +405 -405
- package/lib/codec/Switcheo/carbon/cdp/query.d.ts +669 -669
- package/lib/codec/Switcheo/carbon/cdp/query.js +3250 -3250
- package/lib/codec/Switcheo/carbon/cdp/rate_strategy_params.d.ts +26 -26
- package/lib/codec/Switcheo/carbon/cdp/rate_strategy_params.js +180 -180
- package/lib/codec/Switcheo/carbon/cdp/reward_scheme.d.ts +71 -71
- package/lib/codec/Switcheo/carbon/cdp/reward_scheme.js +550 -550
- package/lib/codec/Switcheo/carbon/cdp/stablecoin_debt_info.d.ts +22 -22
- package/lib/codec/Switcheo/carbon/cdp/stablecoin_debt_info.js +144 -144
- package/lib/codec/Switcheo/carbon/cdp/stablecoin_interest_info.d.ts +19 -19
- package/lib/codec/Switcheo/carbon/cdp/stablecoin_interest_info.js +99 -99
- package/lib/codec/Switcheo/carbon/cdp/tx.d.ts +831 -831
- package/lib/codec/Switcheo/carbon/cdp/tx.js +3889 -3889
- package/lib/codec/Switcheo/carbon/coin/bridge.d.ts +24 -24
- package/lib/codec/Switcheo/carbon/coin/bridge.js +151 -151
- package/lib/codec/Switcheo/carbon/coin/event.d.ts +143 -143
- package/lib/codec/Switcheo/carbon/coin/event.js +775 -775
- package/lib/codec/Switcheo/carbon/coin/export.d.ts +8 -8
- package/lib/codec/Switcheo/carbon/coin/export.js +111 -111
- package/lib/codec/Switcheo/carbon/coin/genesis.d.ts +42 -42
- package/lib/codec/Switcheo/carbon/coin/genesis.js +207 -207
- package/lib/codec/Switcheo/carbon/coin/group.d.ts +53 -53
- package/lib/codec/Switcheo/carbon/coin/group.js +230 -230
- package/lib/codec/Switcheo/carbon/coin/proposal.d.ts +21 -21
- package/lib/codec/Switcheo/carbon/coin/proposal.js +91 -91
- package/lib/codec/Switcheo/carbon/coin/query.d.ts +331 -331
- package/lib/codec/Switcheo/carbon/coin/query.js +1526 -1526
- package/lib/codec/Switcheo/carbon/coin/token.d.ts +104 -104
- package/lib/codec/Switcheo/carbon/coin/token.js +700 -700
- package/lib/codec/Switcheo/carbon/coin/tx.d.ts +611 -611
- package/lib/codec/Switcheo/carbon/coin/tx.js +3255 -3255
- package/lib/codec/Switcheo/carbon/erc20/erc20.d.ts +44 -44
- package/lib/codec/Switcheo/carbon/erc20/erc20.js +144 -144
- package/lib/codec/Switcheo/carbon/erc20/events.d.ts +82 -82
- package/lib/codec/Switcheo/carbon/erc20/events.js +330 -330
- package/lib/codec/Switcheo/carbon/erc20/export.d.ts +5 -5
- package/lib/codec/Switcheo/carbon/erc20/export.js +38 -38
- package/lib/codec/Switcheo/carbon/erc20/genesis.d.ts +24 -24
- package/lib/codec/Switcheo/carbon/erc20/genesis.js +81 -81
- package/lib/codec/Switcheo/carbon/erc20/params.d.ts +41 -41
- package/lib/codec/Switcheo/carbon/erc20/params.js +133 -133
- package/lib/codec/Switcheo/carbon/erc20/query.d.ts +120 -120
- package/lib/codec/Switcheo/carbon/erc20/query.js +333 -333
- package/lib/codec/Switcheo/carbon/erc20/tx.d.ts +251 -251
- package/lib/codec/Switcheo/carbon/erc20/tx.js +767 -767
- package/lib/codec/Switcheo/carbon/evmbank/export.d.ts +2 -2
- package/lib/codec/Switcheo/carbon/evmbank/export.js +8 -8
- package/lib/codec/Switcheo/carbon/evmbank/genesis.d.ts +32 -32
- package/lib/codec/Switcheo/carbon/evmbank/genesis.js +152 -152
- package/lib/codec/Switcheo/carbon/evmbank/query.d.ts +40 -40
- package/lib/codec/Switcheo/carbon/evmbank/query.js +116 -116
- package/lib/codec/Switcheo/carbon/evmcontract/evm_hooks.d.ts +67 -67
- package/lib/codec/Switcheo/carbon/evmcontract/evm_hooks.js +407 -407
- package/lib/codec/Switcheo/carbon/evmcontract/export.d.ts +4 -4
- package/lib/codec/Switcheo/carbon/evmcontract/export.js +30 -30
- package/lib/codec/Switcheo/carbon/evmcontract/genesis.d.ts +24 -24
- package/lib/codec/Switcheo/carbon/evmcontract/genesis.js +96 -96
- package/lib/codec/Switcheo/carbon/evmcontract/params.d.ts +28 -28
- package/lib/codec/Switcheo/carbon/evmcontract/params.js +111 -111
- package/lib/codec/Switcheo/carbon/evmcontract/query.d.ts +139 -139
- package/lib/codec/Switcheo/carbon/evmcontract/query.js +581 -581
- package/lib/codec/Switcheo/carbon/evmcontract/tx.d.ts +89 -89
- package/lib/codec/Switcheo/carbon/evmcontract/tx.js +346 -346
- package/lib/codec/Switcheo/carbon/evmmerge/address.d.ts +19 -19
- package/lib/codec/Switcheo/carbon/evmmerge/address.js +75 -75
- package/lib/codec/Switcheo/carbon/evmmerge/event.d.ts +20 -20
- package/lib/codec/Switcheo/carbon/evmmerge/event.js +90 -90
- package/lib/codec/Switcheo/carbon/evmmerge/export.d.ts +6 -6
- package/lib/codec/Switcheo/carbon/evmmerge/export.js +20 -20
- package/lib/codec/Switcheo/carbon/evmmerge/genesis.d.ts +48 -48
- package/lib/codec/Switcheo/carbon/evmmerge/genesis.js +216 -216
- package/lib/codec/Switcheo/carbon/evmmerge/offchain.d.ts +25 -25
- package/lib/codec/Switcheo/carbon/evmmerge/offchain.js +105 -105
- package/lib/codec/Switcheo/carbon/evmmerge/query.d.ts +87 -87
- package/lib/codec/Switcheo/carbon/evmmerge/query.js +254 -254
- package/lib/codec/Switcheo/carbon/evmmerge/tx.d.ts +51 -51
- package/lib/codec/Switcheo/carbon/evmmerge/tx.js +128 -128
- package/lib/codec/Switcheo/carbon/fee/event.d.ts +20 -20
- package/lib/codec/Switcheo/carbon/fee/event.js +83 -83
- package/lib/codec/Switcheo/carbon/fee/export.d.ts +4 -4
- package/lib/codec/Switcheo/carbon/fee/export.js +27 -27
- package/lib/codec/Switcheo/carbon/fee/fee.d.ts +42 -42
- package/lib/codec/Switcheo/carbon/fee/fee.js +183 -183
- package/lib/codec/Switcheo/carbon/fee/genesis.d.ts +23 -23
- package/lib/codec/Switcheo/carbon/fee/genesis.js +79 -79
- package/lib/codec/Switcheo/carbon/fee/query.d.ts +114 -114
- package/lib/codec/Switcheo/carbon/fee/query.js +470 -470
- package/lib/codec/Switcheo/carbon/fee/tx.d.ts +108 -108
- package/lib/codec/Switcheo/carbon/fee/tx.js +415 -415
- package/lib/codec/Switcheo/carbon/headersync/consensus_peers.d.ts +71 -71
- package/lib/codec/Switcheo/carbon/headersync/consensus_peers.js +383 -383
- package/lib/codec/Switcheo/carbon/headersync/export.d.ts +4 -4
- package/lib/codec/Switcheo/carbon/headersync/export.js +22 -22
- package/lib/codec/Switcheo/carbon/headersync/genesis.d.ts +82 -82
- package/lib/codec/Switcheo/carbon/headersync/genesis.js +419 -419
- package/lib/codec/Switcheo/carbon/headersync/query.d.ts +42 -42
- package/lib/codec/Switcheo/carbon/headersync/query.js +125 -125
- package/lib/codec/Switcheo/carbon/headersync/tx.d.ts +64 -64
- package/lib/codec/Switcheo/carbon/headersync/tx.js +215 -215
- package/lib/codec/Switcheo/carbon/inflation/export.d.ts +2 -2
- package/lib/codec/Switcheo/carbon/inflation/export.js +8 -8
- package/lib/codec/Switcheo/carbon/inflation/genesis.d.ts +25 -25
- package/lib/codec/Switcheo/carbon/inflation/genesis.js +79 -79
- package/lib/codec/Switcheo/carbon/inflation/inflation.d.ts +29 -29
- package/lib/codec/Switcheo/carbon/inflation/inflation.js +165 -165
- package/lib/codec/Switcheo/carbon/inflation/query.d.ts +41 -41
- package/lib/codec/Switcheo/carbon/inflation/query.js +109 -109
- package/lib/codec/Switcheo/carbon/inflation/tx.d.ts +12 -12
- package/lib/codec/Switcheo/carbon/inflation/tx.js +20 -20
- package/lib/codec/Switcheo/carbon/insurance/event.d.ts +24 -24
- package/lib/codec/Switcheo/carbon/insurance/event.js +46 -46
- package/lib/codec/Switcheo/carbon/insurance/export.d.ts +5 -5
- package/lib/codec/Switcheo/carbon/insurance/export.js +21 -21
- package/lib/codec/Switcheo/carbon/insurance/fund.d.ts +29 -29
- package/lib/codec/Switcheo/carbon/insurance/fund.js +148 -148
- package/lib/codec/Switcheo/carbon/insurance/genesis.d.ts +24 -24
- package/lib/codec/Switcheo/carbon/insurance/genesis.js +63 -63
- package/lib/codec/Switcheo/carbon/insurance/params.d.ts +29 -29
- package/lib/codec/Switcheo/carbon/insurance/params.js +113 -113
- package/lib/codec/Switcheo/carbon/insurance/query.d.ts +63 -63
- package/lib/codec/Switcheo/carbon/insurance/query.js +195 -195
- package/lib/codec/Switcheo/carbon/insurance/tx.d.ts +69 -69
- package/lib/codec/Switcheo/carbon/insurance/tx.js +246 -246
- package/lib/codec/Switcheo/carbon/leverage/event.d.ts +21 -21
- package/lib/codec/Switcheo/carbon/leverage/event.js +100 -100
- package/lib/codec/Switcheo/carbon/leverage/export.d.ts +4 -4
- package/lib/codec/Switcheo/carbon/leverage/export.js +16 -16
- package/lib/codec/Switcheo/carbon/leverage/genesis.d.ts +24 -24
- package/lib/codec/Switcheo/carbon/leverage/genesis.js +64 -64
- package/lib/codec/Switcheo/carbon/leverage/leverage.d.ts +30 -30
- package/lib/codec/Switcheo/carbon/leverage/leverage.js +134 -134
- package/lib/codec/Switcheo/carbon/leverage/query.d.ts +70 -70
- package/lib/codec/Switcheo/carbon/leverage/query.js +234 -234
- package/lib/codec/Switcheo/carbon/leverage/tx.d.ts +43 -43
- package/lib/codec/Switcheo/carbon/leverage/tx.js +127 -127
- package/lib/codec/Switcheo/carbon/liquidation/event.d.ts +23 -23
- package/lib/codec/Switcheo/carbon/liquidation/event.js +154 -154
- package/lib/codec/Switcheo/carbon/liquidation/export.d.ts +5 -5
- package/lib/codec/Switcheo/carbon/liquidation/export.js +15 -15
- package/lib/codec/Switcheo/carbon/liquidation/genesis.d.ts +37 -37
- package/lib/codec/Switcheo/carbon/liquidation/genesis.js +136 -136
- package/lib/codec/Switcheo/carbon/liquidation/outstanding_position.d.ts +33 -33
- package/lib/codec/Switcheo/carbon/liquidation/outstanding_position.js +203 -203
- package/lib/codec/Switcheo/carbon/liquidation/query.d.ts +52 -52
- package/lib/codec/Switcheo/carbon/liquidation/query.js +254 -254
- package/lib/codec/Switcheo/carbon/liquidation/quote_changes.d.ts +22 -22
- package/lib/codec/Switcheo/carbon/liquidation/quote_changes.js +95 -95
- package/lib/codec/Switcheo/carbon/liquidation/tx.d.ts +12 -12
- package/lib/codec/Switcheo/carbon/liquidation/tx.js +20 -20
- package/lib/codec/Switcheo/carbon/liquiditypool/event.d.ts +182 -182
- package/lib/codec/Switcheo/carbon/liquiditypool/event.js +1268 -1268
- package/lib/codec/Switcheo/carbon/liquiditypool/export.d.ts +7 -7
- package/lib/codec/Switcheo/carbon/liquiditypool/export.js +132 -132
- package/lib/codec/Switcheo/carbon/liquiditypool/genesis.d.ts +33 -33
- package/lib/codec/Switcheo/carbon/liquiditypool/genesis.js +229 -229
- package/lib/codec/Switcheo/carbon/liquiditypool/liquiditypool.d.ts +147 -147
- package/lib/codec/Switcheo/carbon/liquiditypool/liquiditypool.js +1081 -1081
- package/lib/codec/Switcheo/carbon/liquiditypool/params.d.ts +30 -30
- package/lib/codec/Switcheo/carbon/liquiditypool/params.js +149 -149
- package/lib/codec/Switcheo/carbon/liquiditypool/proposal.d.ts +117 -117
- package/lib/codec/Switcheo/carbon/liquiditypool/proposal.js +697 -697
- package/lib/codec/Switcheo/carbon/liquiditypool/query.d.ts +393 -393
- package/lib/codec/Switcheo/carbon/liquiditypool/query.js +1826 -1826
- package/lib/codec/Switcheo/carbon/liquiditypool/reward.d.ts +196 -196
- package/lib/codec/Switcheo/carbon/liquiditypool/reward.js +1204 -1204
- package/lib/codec/Switcheo/carbon/liquiditypool/tx.d.ts +495 -495
- package/lib/codec/Switcheo/carbon/liquiditypool/tx.js +2522 -2522
- package/lib/codec/Switcheo/carbon/lockproxy/event.d.ts +46 -46
- package/lib/codec/Switcheo/carbon/lockproxy/event.js +348 -348
- package/lib/codec/Switcheo/carbon/lockproxy/export.d.ts +5 -5
- package/lib/codec/Switcheo/carbon/lockproxy/export.js +28 -28
- package/lib/codec/Switcheo/carbon/lockproxy/genesis.d.ts +68 -68
- package/lib/codec/Switcheo/carbon/lockproxy/genesis.js +355 -355
- package/lib/codec/Switcheo/carbon/lockproxy/lockproxy.d.ts +22 -22
- package/lib/codec/Switcheo/carbon/lockproxy/lockproxy.js +147 -147
- package/lib/codec/Switcheo/carbon/lockproxy/query.d.ts +67 -67
- package/lib/codec/Switcheo/carbon/lockproxy/query.js +274 -274
- package/lib/codec/Switcheo/carbon/lockproxy/tx.d.ts +147 -147
- package/lib/codec/Switcheo/carbon/lockproxy/tx.js +808 -808
- package/lib/codec/Switcheo/carbon/market/event.d.ts +20 -20
- package/lib/codec/Switcheo/carbon/market/event.js +76 -76
- package/lib/codec/Switcheo/carbon/market/export.d.ts +7 -7
- package/lib/codec/Switcheo/carbon/market/export.js +71 -71
- package/lib/codec/Switcheo/carbon/market/fee.d.ts +129 -129
- package/lib/codec/Switcheo/carbon/market/fee.js +334 -334
- package/lib/codec/Switcheo/carbon/market/genesis.d.ts +32 -32
- package/lib/codec/Switcheo/carbon/market/genesis.js +146 -146
- package/lib/codec/Switcheo/carbon/market/market.d.ts +96 -96
- package/lib/codec/Switcheo/carbon/market/market.js +880 -880
- package/lib/codec/Switcheo/carbon/market/params.d.ts +85 -85
- package/lib/codec/Switcheo/carbon/market/params.js +821 -821
- package/lib/codec/Switcheo/carbon/market/proposal.d.ts +46 -46
- package/lib/codec/Switcheo/carbon/market/proposal.js +245 -245
- package/lib/codec/Switcheo/carbon/market/query.d.ts +276 -276
- package/lib/codec/Switcheo/carbon/market/query.js +1250 -1250
- package/lib/codec/Switcheo/carbon/market/tx.d.ts +337 -337
- package/lib/codec/Switcheo/carbon/market/tx.js +1601 -1601
- package/lib/codec/Switcheo/carbon/marketstats/export.d.ts +2 -2
- package/lib/codec/Switcheo/carbon/marketstats/export.js +8 -8
- package/lib/codec/Switcheo/carbon/marketstats/genesis.d.ts +18 -18
- package/lib/codec/Switcheo/carbon/marketstats/genesis.js +46 -46
- package/lib/codec/Switcheo/carbon/marketstats/marketstats.d.ts +31 -31
- package/lib/codec/Switcheo/carbon/marketstats/marketstats.js +258 -258
- package/lib/codec/Switcheo/carbon/marketstats/query.d.ts +40 -40
- package/lib/codec/Switcheo/carbon/marketstats/query.js +108 -108
- package/lib/codec/Switcheo/carbon/marketstats/tx.d.ts +12 -12
- package/lib/codec/Switcheo/carbon/marketstats/tx.js +20 -20
- package/lib/codec/Switcheo/carbon/misc/block.d.ts +21 -21
- package/lib/codec/Switcheo/carbon/misc/block.js +105 -105
- package/lib/codec/Switcheo/carbon/misc/export.d.ts +6 -6
- package/lib/codec/Switcheo/carbon/misc/export.js +29 -29
- package/lib/codec/Switcheo/carbon/misc/message.d.ts +24 -24
- package/lib/codec/Switcheo/carbon/misc/message.js +157 -157
- package/lib/codec/Switcheo/carbon/misc/message_type.d.ts +18 -18
- package/lib/codec/Switcheo/carbon/misc/message_type.js +60 -60
- package/lib/codec/Switcheo/carbon/misc/query.d.ts +192 -192
- package/lib/codec/Switcheo/carbon/misc/query.js +884 -884
- package/lib/codec/Switcheo/carbon/misc/trade.d.ts +28 -28
- package/lib/codec/Switcheo/carbon/misc/trade.js +224 -224
- package/lib/codec/Switcheo/carbon/misc/transaction.d.ts +45 -45
- package/lib/codec/Switcheo/carbon/misc/transaction.js +369 -369
- package/lib/codec/Switcheo/carbon/oracle/event.d.ts +37 -37
- package/lib/codec/Switcheo/carbon/oracle/event.js +228 -228
- package/lib/codec/Switcheo/carbon/oracle/export.d.ts +6 -6
- package/lib/codec/Switcheo/carbon/oracle/export.js +67 -67
- package/lib/codec/Switcheo/carbon/oracle/genesis.d.ts +28 -28
- package/lib/codec/Switcheo/carbon/oracle/genesis.js +127 -127
- package/lib/codec/Switcheo/carbon/oracle/oracle.d.ts +50 -50
- package/lib/codec/Switcheo/carbon/oracle/oracle.js +324 -324
- package/lib/codec/Switcheo/carbon/oracle/params.d.ts +47 -47
- package/lib/codec/Switcheo/carbon/oracle/params.js +389 -389
- package/lib/codec/Switcheo/carbon/oracle/query.d.ts +331 -331
- package/lib/codec/Switcheo/carbon/oracle/query.js +1501 -1501
- package/lib/codec/Switcheo/carbon/oracle/slashing.d.ts +33 -33
- package/lib/codec/Switcheo/carbon/oracle/slashing.js +191 -191
- package/lib/codec/Switcheo/carbon/oracle/tx.d.ts +306 -306
- package/lib/codec/Switcheo/carbon/oracle/tx.js +1496 -1496
- package/lib/codec/Switcheo/carbon/order/event.d.ts +23 -23
- package/lib/codec/Switcheo/carbon/order/event.js +146 -146
- package/lib/codec/Switcheo/carbon/order/evm_hooks.d.ts +57 -57
- package/lib/codec/Switcheo/carbon/order/evm_hooks.js +356 -356
- package/lib/codec/Switcheo/carbon/order/export.d.ts +7 -7
- package/lib/codec/Switcheo/carbon/order/export.js +48 -48
- package/lib/codec/Switcheo/carbon/order/genesis.d.ts +63 -63
- package/lib/codec/Switcheo/carbon/order/genesis.js +323 -323
- package/lib/codec/Switcheo/carbon/order/order.d.ts +103 -103
- package/lib/codec/Switcheo/carbon/order/order.js +847 -847
- package/lib/codec/Switcheo/carbon/order/params.d.ts +28 -28
- package/lib/codec/Switcheo/carbon/order/params.js +109 -109
- package/lib/codec/Switcheo/carbon/order/query.d.ts +144 -144
- package/lib/codec/Switcheo/carbon/order/query.js +597 -597
- package/lib/codec/Switcheo/carbon/order/tx.d.ts +188 -188
- package/lib/codec/Switcheo/carbon/order/tx.js +817 -817
- package/lib/codec/Switcheo/carbon/otc/event.d.ts +34 -0
- package/lib/codec/Switcheo/carbon/otc/event.js +174 -0
- package/lib/codec/Switcheo/carbon/otc/export.d.ts +6 -0
- package/lib/codec/Switcheo/carbon/otc/export.js +36 -0
- package/lib/codec/{marketstats → Switcheo/carbon/otc}/genesis.d.ts +25 -21
- package/lib/codec/{marketstats → Switcheo/carbon/otc}/genesis.js +97 -63
- package/lib/codec/Switcheo/carbon/otc/params.d.ts +45 -0
- package/lib/codec/Switcheo/carbon/otc/params.js +332 -0
- package/lib/codec/Switcheo/carbon/otc/query.d.ts +170 -0
- package/lib/codec/Switcheo/carbon/otc/query.js +675 -0
- package/lib/codec/Switcheo/carbon/otc/quote.d.ts +34 -0
- package/lib/codec/Switcheo/carbon/otc/quote.js +197 -0
- package/lib/codec/Switcheo/carbon/otc/rfq.d.ts +34 -0
- package/lib/codec/Switcheo/carbon/otc/rfq.js +197 -0
- package/lib/codec/Switcheo/carbon/otc/tx.d.ts +137 -0
- package/lib/codec/Switcheo/carbon/otc/tx.js +578 -0
- package/lib/codec/Switcheo/carbon/perpspool/event.d.ts +95 -95
- package/lib/codec/Switcheo/carbon/perpspool/event.js +561 -561
- package/lib/codec/Switcheo/carbon/perpspool/export.d.ts +7 -7
- package/lib/codec/Switcheo/carbon/perpspool/export.js +69 -69
- package/lib/codec/Switcheo/carbon/perpspool/genesis.d.ts +61 -61
- package/lib/codec/Switcheo/carbon/perpspool/genesis.js +343 -343
- package/lib/codec/Switcheo/carbon/perpspool/market.d.ts +109 -109
- package/lib/codec/Switcheo/carbon/perpspool/market.js +493 -493
- package/lib/codec/Switcheo/carbon/perpspool/params.d.ts +49 -49
- package/lib/codec/Switcheo/carbon/perpspool/params.js +363 -363
- package/lib/codec/Switcheo/carbon/perpspool/pool.d.ts +109 -109
- package/lib/codec/Switcheo/carbon/perpspool/pool.js +638 -638
- package/lib/codec/Switcheo/carbon/perpspool/query.d.ts +247 -247
- package/lib/codec/Switcheo/carbon/perpspool/query.js +1141 -1141
- package/lib/codec/Switcheo/carbon/perpspool/tx.d.ts +242 -242
- package/lib/codec/Switcheo/carbon/perpspool/tx.js +1065 -1065
- package/lib/codec/Switcheo/carbon/position/event.d.ts +36 -36
- package/lib/codec/Switcheo/carbon/position/event.js +230 -230
- package/lib/codec/Switcheo/carbon/position/evm_hooks.d.ts +32 -32
- package/lib/codec/Switcheo/carbon/position/evm_hooks.js +195 -195
- package/lib/codec/Switcheo/carbon/position/export.d.ts +5 -5
- package/lib/codec/Switcheo/carbon/position/export.js +29 -29
- package/lib/codec/Switcheo/carbon/position/genesis.d.ts +24 -24
- package/lib/codec/Switcheo/carbon/position/genesis.js +64 -64
- package/lib/codec/Switcheo/carbon/position/position.d.ts +85 -85
- package/lib/codec/Switcheo/carbon/position/position.js +659 -659
- package/lib/codec/Switcheo/carbon/position/query.d.ts +135 -135
- package/lib/codec/Switcheo/carbon/position/query.js +588 -588
- package/lib/codec/Switcheo/carbon/position/tx.d.ts +42 -42
- package/lib/codec/Switcheo/carbon/position/tx.js +127 -127
- package/lib/codec/Switcheo/carbon/pricing/event.d.ts +84 -84
- package/lib/codec/Switcheo/carbon/pricing/event.js +411 -411
- package/lib/codec/Switcheo/carbon/pricing/export.d.ts +6 -6
- package/lib/codec/Switcheo/carbon/pricing/export.js +51 -51
- package/lib/codec/Switcheo/carbon/pricing/genesis.d.ts +27 -27
- package/lib/codec/Switcheo/carbon/pricing/genesis.js +96 -96
- package/lib/codec/Switcheo/carbon/pricing/legacy.d.ts +22 -22
- package/lib/codec/Switcheo/carbon/pricing/legacy.js +93 -93
- package/lib/codec/Switcheo/carbon/pricing/params.d.ts +37 -37
- package/lib/codec/Switcheo/carbon/pricing/params.js +252 -252
- package/lib/codec/Switcheo/carbon/pricing/pricing.d.ts +45 -45
- package/lib/codec/Switcheo/carbon/pricing/pricing.js +357 -357
- package/lib/codec/Switcheo/carbon/pricing/query.d.ts +184 -184
- package/lib/codec/Switcheo/carbon/pricing/query.js +760 -760
- package/lib/codec/Switcheo/carbon/pricing/tx.d.ts +220 -220
- package/lib/codec/Switcheo/carbon/pricing/tx.js +851 -851
- package/lib/codec/Switcheo/carbon/profile/event.d.ts +20 -20
- package/lib/codec/Switcheo/carbon/profile/event.js +78 -78
- package/lib/codec/Switcheo/carbon/profile/export.d.ts +4 -4
- package/lib/codec/Switcheo/carbon/profile/export.js +17 -17
- package/lib/codec/Switcheo/carbon/profile/genesis.d.ts +24 -24
- package/lib/codec/Switcheo/carbon/profile/genesis.js +64 -64
- package/lib/codec/Switcheo/carbon/profile/profile.d.ts +20 -20
- package/lib/codec/Switcheo/carbon/profile/profile.js +83 -83
- package/lib/codec/Switcheo/carbon/profile/query.d.ts +91 -91
- package/lib/codec/Switcheo/carbon/profile/query.js +347 -347
- package/lib/codec/Switcheo/carbon/profile/tx.d.ts +43 -43
- package/lib/codec/Switcheo/carbon/profile/tx.js +127 -127
- package/lib/codec/Switcheo/carbon/sequence/export.d.ts +3 -3
- package/lib/codec/Switcheo/carbon/sequence/export.js +13 -13
- package/lib/codec/Switcheo/carbon/sequence/genesis.d.ts +30 -30
- package/lib/codec/Switcheo/carbon/sequence/genesis.js +122 -122
- package/lib/codec/Switcheo/carbon/sequence/query.d.ts +66 -66
- package/lib/codec/Switcheo/carbon/sequence/query.js +245 -245
- package/lib/codec/Switcheo/carbon/sequence/tx.d.ts +41 -41
- package/lib/codec/Switcheo/carbon/sequence/tx.js +148 -148
- package/lib/codec/Switcheo/carbon/subaccount/export.d.ts +5 -5
- package/lib/codec/Switcheo/carbon/subaccount/export.js +39 -39
- package/lib/codec/Switcheo/carbon/subaccount/genesis.d.ts +29 -29
- package/lib/codec/Switcheo/carbon/subaccount/genesis.js +111 -111
- package/lib/codec/Switcheo/carbon/subaccount/legacy.d.ts +19 -19
- package/lib/codec/Switcheo/carbon/subaccount/legacy.js +72 -72
- package/lib/codec/Switcheo/carbon/subaccount/params.d.ts +29 -29
- package/lib/codec/Switcheo/carbon/subaccount/params.js +119 -119
- package/lib/codec/Switcheo/carbon/subaccount/query.d.ts +230 -230
- package/lib/codec/Switcheo/carbon/subaccount/query.js +1027 -1027
- package/lib/codec/Switcheo/carbon/subaccount/subaccount.d.ts +46 -46
- package/lib/codec/Switcheo/carbon/subaccount/subaccount.js +296 -296
- package/lib/codec/Switcheo/carbon/subaccount/tx.d.ts +134 -134
- package/lib/codec/Switcheo/carbon/subaccount/tx.js +497 -497
- package/lib/codec/alliance/alliance/alliance.d.ts +65 -65
- package/lib/codec/alliance/alliance/alliance.js +354 -354
- package/lib/codec/alliance/alliance/delegations.d.ts +63 -63
- package/lib/codec/alliance/alliance/delegations.js +344 -344
- package/lib/codec/alliance/alliance/events.d.ts +71 -71
- package/lib/codec/alliance/alliance/events.js +452 -452
- package/lib/codec/alliance/alliance/export.d.ts +10 -10
- package/lib/codec/alliance/alliance/export.js +84 -84
- package/lib/codec/alliance/alliance/genesis.d.ts +75 -75
- package/lib/codec/alliance/alliance/genesis.js +470 -470
- package/lib/codec/alliance/alliance/gov.d.ts +80 -80
- package/lib/codec/alliance/alliance/gov.js +400 -400
- package/lib/codec/alliance/alliance/params.d.ts +35 -35
- package/lib/codec/alliance/alliance/params.js +194 -194
- package/lib/codec/alliance/alliance/query.d.ts +404 -404
- package/lib/codec/alliance/alliance/query.js +1982 -1982
- package/lib/codec/alliance/alliance/redelegations.d.ts +57 -57
- package/lib/codec/alliance/alliance/redelegations.js +294 -294
- package/lib/codec/alliance/alliance/tx.d.ts +230 -230
- package/lib/codec/alliance/alliance/tx.js +1050 -1050
- package/lib/codec/alliance/alliance/unbonding.d.ts +26 -26
- package/lib/codec/alliance/alliance/unbonding.js +126 -126
- package/lib/codec/amino/amino.d.ts +1 -1
- package/lib/codec/amino/amino.js +14 -14
- package/lib/codec/carbon-models.d.ts +29 -29
- package/lib/codec/carbon-models.js +51 -55
- package/lib/codec/cosmos/app/runtime/v1alpha1/module.d.ts +84 -84
- package/lib/codec/cosmos/app/runtime/v1alpha1/module.js +246 -246
- package/lib/codec/cosmos/app/v1alpha1/config.d.ts +83 -83
- package/lib/codec/cosmos/app/v1alpha1/config.js +215 -215
- package/lib/codec/cosmos/app/v1alpha1/module.d.ts +109 -109
- package/lib/codec/cosmos/app/v1alpha1/module.js +192 -192
- package/lib/codec/cosmos/app/v1alpha1/query.d.ts +44 -44
- package/lib/codec/cosmos/app/v1alpha1/query.js +107 -107
- package/lib/codec/cosmos/auth/module/v1/module.d.ts +41 -41
- package/lib/codec/cosmos/auth/module/v1/module.js +149 -149
- package/lib/codec/cosmos/auth/v1beta1/auth.d.ts +76 -76
- package/lib/codec/cosmos/auth/v1beta1/auth.js +408 -408
- package/lib/codec/cosmos/auth/v1beta1/export.d.ts +3 -3
- package/lib/codec/cosmos/auth/v1beta1/export.js +32 -32
- package/lib/codec/cosmos/auth/v1beta1/genesis.d.ts +24 -24
- package/lib/codec/cosmos/auth/v1beta1/genesis.js +81 -81
- package/lib/codec/cosmos/auth/v1beta1/query.d.ts +379 -379
- package/lib/codec/cosmos/auth/v1beta1/query.js +1050 -1050
- package/lib/codec/cosmos/auth/v1beta1/tx.d.ts +64 -64
- package/lib/codec/cosmos/auth/v1beta1/tx.js +120 -120
- package/lib/codec/cosmos/authz/module/v1/module.d.ts +18 -18
- package/lib/codec/cosmos/authz/module/v1/module.js +46 -46
- package/lib/codec/cosmos/authz/v1beta1/authz.d.ts +74 -74
- package/lib/codec/cosmos/authz/v1beta1/authz.js +284 -284
- package/lib/codec/cosmos/authz/v1beta1/event.d.ts +41 -41
- package/lib/codec/cosmos/authz/v1beta1/event.js +152 -152
- package/lib/codec/cosmos/authz/v1beta1/genesis.d.ts +21 -21
- package/lib/codec/cosmos/authz/v1beta1/genesis.js +64 -64
- package/lib/codec/cosmos/authz/v1beta1/query.d.ts +122 -122
- package/lib/codec/cosmos/authz/v1beta1/query.js +458 -458
- package/lib/codec/cosmos/authz/v1beta1/tx.d.ts +126 -126
- package/lib/codec/cosmos/authz/v1beta1/tx.js +386 -386
- package/lib/codec/cosmos/autocli/v1/options.d.ts +184 -184
- package/lib/codec/cosmos/autocli/v1/options.js +686 -686
- package/lib/codec/cosmos/autocli/v1/query.d.ts +60 -60
- package/lib/codec/cosmos/autocli/v1/query.js +180 -180
- package/lib/codec/cosmos/bank/module/v1/module.d.ts +26 -26
- package/lib/codec/cosmos/bank/module/v1/module.js +76 -76
- package/lib/codec/cosmos/bank/v1beta1/authz.d.ts +32 -32
- package/lib/codec/cosmos/bank/v1beta1/authz.js +79 -79
- package/lib/codec/cosmos/bank/v1beta1/bank.d.ts +160 -160
- package/lib/codec/cosmos/bank/v1beta1/bank.js +519 -519
- package/lib/codec/cosmos/bank/v1beta1/export.d.ts +5 -5
- package/lib/codec/cosmos/bank/v1beta1/export.js +52 -52
- package/lib/codec/cosmos/bank/v1beta1/genesis.d.ts +54 -54
- package/lib/codec/cosmos/bank/v1beta1/genesis.js +187 -187
- package/lib/codec/cosmos/bank/v1beta1/query.d.ts +557 -557
- package/lib/codec/cosmos/bank/v1beta1/query.js +1649 -1649
- package/lib/codec/cosmos/bank/v1beta1/tx.d.ts +173 -173
- package/lib/codec/cosmos/bank/v1beta1/tx.js +449 -449
- package/lib/codec/cosmos/base/abci/v1beta1/abci.d.ts +258 -258
- package/lib/codec/cosmos/base/abci/v1beta1/abci.js +1068 -1068
- package/lib/codec/cosmos/base/node/v1beta1/query.d.ts +78 -78
- package/lib/codec/cosmos/base/node/v1beta1/query.js +358 -358
- package/lib/codec/cosmos/base/query/v1beta1/pagination.d.ts +85 -85
- package/lib/codec/cosmos/base/query/v1beta1/pagination.js +215 -215
- package/lib/codec/cosmos/base/reflection/v1beta1/reflection.d.ts +81 -81
- package/lib/codec/cosmos/base/reflection/v1beta1/reflection.js +210 -210
- package/lib/codec/cosmos/base/reflection/v2alpha1/reflection.d.ts +414 -414
- package/lib/codec/cosmos/base/reflection/v2alpha1/reflection.js +1438 -1438
- package/lib/codec/cosmos/base/tendermint/v1beta1/query.d.ts +321 -321
- package/lib/codec/cosmos/base/tendermint/v1beta1/query.js +1490 -1490
- package/lib/codec/cosmos/base/tendermint/v1beta1/types.d.ts +67 -67
- package/lib/codec/cosmos/base/tendermint/v1beta1/types.js +423 -423
- package/lib/codec/cosmos/base/v1beta1/coin.d.ts +70 -70
- package/lib/codec/cosmos/base/v1beta1/coin.js +214 -214
- package/lib/codec/cosmos/circuit/module/v1/module.d.ts +20 -20
- package/lib/codec/cosmos/circuit/module/v1/module.js +59 -59
- package/lib/codec/cosmos/circuit/v1/query.d.ts +97 -97
- package/lib/codec/cosmos/circuit/v1/query.js +333 -333
- package/lib/codec/cosmos/circuit/v1/tx.d.ts +128 -128
- package/lib/codec/cosmos/circuit/v1/tx.js +371 -371
- package/lib/codec/cosmos/circuit/v1/types.d.ts +81 -81
- package/lib/codec/cosmos/circuit/v1/types.js +266 -266
- package/lib/codec/cosmos/consensus/module/v1/module.d.ts +20 -20
- package/lib/codec/cosmos/consensus/module/v1/module.js +59 -59
- package/lib/codec/cosmos/consensus/v1/query.d.ts +49 -49
- package/lib/codec/cosmos/consensus/v1/query.js +109 -109
- package/lib/codec/cosmos/consensus/v1/tx.d.ts +65 -65
- package/lib/codec/cosmos/consensus/v1/tx.js +174 -174
- package/lib/codec/cosmos/crisis/module/v1/module.d.ts +22 -22
- package/lib/codec/cosmos/crisis/module/v1/module.js +72 -72
- package/lib/codec/cosmos/crisis/v1beta1/genesis.d.ts +24 -24
- package/lib/codec/cosmos/crisis/v1beta1/genesis.js +65 -65
- package/lib/codec/cosmos/crisis/v1beta1/tx.d.ts +89 -89
- package/lib/codec/cosmos/crisis/v1beta1/tx.js +236 -236
- package/lib/codec/cosmos/crypto/ed25519/keys.d.ts +39 -39
- package/lib/codec/cosmos/crypto/ed25519/keys.js +138 -138
- package/lib/codec/cosmos/crypto/hd/v1/hd.d.ts +32 -32
- package/lib/codec/cosmos/crypto/hd/v1/hd.js +114 -114
- package/lib/codec/cosmos/crypto/keyring/v1/record.d.ts +78 -78
- package/lib/codec/cosmos/crypto/keyring/v1/record.js +309 -309
- package/lib/codec/cosmos/crypto/multisig/keys.d.ts +25 -25
- package/lib/codec/cosmos/crypto/multisig/keys.js +76 -76
- package/lib/codec/cosmos/crypto/multisig/v1beta1/multisig.d.ts +40 -40
- package/lib/codec/cosmos/crypto/multisig/v1beta1/multisig.js +153 -153
- package/lib/codec/cosmos/crypto/secp256k1/keys.d.ts +36 -36
- package/lib/codec/cosmos/crypto/secp256k1/keys.js +138 -138
- package/lib/codec/cosmos/crypto/secp256r1/keys.d.ts +36 -36
- package/lib/codec/cosmos/crypto/secp256r1/keys.js +138 -138
- package/lib/codec/cosmos/distribution/module/v1/module.d.ts +21 -21
- package/lib/codec/cosmos/distribution/module/v1/module.js +72 -72
- package/lib/codec/cosmos/distribution/v1beta1/distribution.d.ts +225 -225
- package/lib/codec/cosmos/distribution/v1beta1/distribution.js +858 -858
- package/lib/codec/cosmos/distribution/v1beta1/export.d.ts +4 -4
- package/lib/codec/cosmos/distribution/v1beta1/export.js +63 -63
- package/lib/codec/cosmos/distribution/v1beta1/genesis.d.ts +156 -156
- package/lib/codec/cosmos/distribution/v1beta1/genesis.js +722 -722
- package/lib/codec/cosmos/distribution/v1beta1/query.d.ts +384 -384
- package/lib/codec/cosmos/distribution/v1beta1/query.js +1232 -1232
- package/lib/codec/cosmos/distribution/v1beta1/tx.d.ts +287 -287
- package/lib/codec/cosmos/distribution/v1beta1/tx.js +766 -766
- package/lib/codec/cosmos/evidence/module/v1/module.d.ts +18 -18
- package/lib/codec/cosmos/evidence/module/v1/module.js +46 -46
- package/lib/codec/cosmos/evidence/v1beta1/evidence.d.ts +29 -29
- package/lib/codec/cosmos/evidence/v1beta1/evidence.js +133 -133
- package/lib/codec/cosmos/evidence/v1beta1/genesis.d.ts +21 -21
- package/lib/codec/cosmos/evidence/v1beta1/genesis.js +64 -64
- package/lib/codec/cosmos/evidence/v1beta1/query.d.ts +93 -93
- package/lib/codec/cosmos/evidence/v1beta1/query.js +292 -292
- package/lib/codec/cosmos/evidence/v1beta1/tx.d.ts +54 -54
- package/lib/codec/cosmos/evidence/v1beta1/tx.js +167 -167
- package/lib/codec/cosmos/feegrant/module/v1/module.d.ts +18 -18
- package/lib/codec/cosmos/feegrant/module/v1/module.js +46 -46
- package/lib/codec/cosmos/feegrant/v1beta1/feegrant.d.ts +96 -96
- package/lib/codec/cosmos/feegrant/v1beta1/feegrant.js +359 -359
- package/lib/codec/cosmos/feegrant/v1beta1/genesis.d.ts +21 -21
- package/lib/codec/cosmos/feegrant/v1beta1/genesis.js +64 -64
- package/lib/codec/cosmos/feegrant/v1beta1/query.d.ts +122 -122
- package/lib/codec/cosmos/feegrant/v1beta1/query.js +407 -407
- package/lib/codec/cosmos/feegrant/v1beta1/tx.d.ts +122 -122
- package/lib/codec/cosmos/feegrant/v1beta1/tx.js +312 -312
- package/lib/codec/cosmos/genutil/module/v1/module.d.ts +18 -18
- package/lib/codec/cosmos/genutil/module/v1/module.js +46 -46
- package/lib/codec/cosmos/genutil/v1beta1/genesis.d.ts +20 -20
- package/lib/codec/cosmos/genutil/v1beta1/genesis.js +93 -93
- package/lib/codec/cosmos/gov/module/v1/module.d.ts +25 -25
- package/lib/codec/cosmos/gov/module/v1/module.js +75 -75
- package/lib/codec/cosmos/gov/v1/export.d.ts +3 -3
- package/lib/codec/cosmos/gov/v1/export.js +53 -53
- package/lib/codec/cosmos/gov/v1/genesis.d.ts +64 -64
- package/lib/codec/cosmos/gov/v1/genesis.js +198 -198
- package/lib/codec/cosmos/gov/v1/gov.d.ts +345 -345
- package/lib/codec/cosmos/gov/v1/gov.js +1204 -1204
- package/lib/codec/cosmos/gov/v1/query.d.ts +312 -312
- package/lib/codec/cosmos/gov/v1/query.js +1145 -1145
- package/lib/codec/cosmos/gov/v1/tx.d.ts +291 -291
- package/lib/codec/cosmos/gov/v1/tx.js +953 -953
- package/lib/codec/cosmos/gov/v1beta1/genesis.d.ts +33 -33
- package/lib/codec/cosmos/gov/v1beta1/genesis.js +166 -166
- package/lib/codec/cosmos/gov/v1beta1/gov.d.ts +246 -246
- package/lib/codec/cosmos/gov/v1beta1/gov.js +929 -929
- package/lib/codec/cosmos/gov/v1beta1/query.d.ts +265 -265
- package/lib/codec/cosmos/gov/v1beta1/query.js +1045 -1045
- package/lib/codec/cosmos/gov/v1beta1/tx.d.ts +154 -154
- package/lib/codec/cosmos/gov/v1beta1/tx.js +496 -496
- package/lib/codec/cosmos/group/module/v1/module.d.ts +29 -29
- package/lib/codec/cosmos/group/module/v1/module.js +83 -83
- package/lib/codec/cosmos/group/v1/events.d.ts +140 -140
- package/lib/codec/cosmos/group/v1/events.js +560 -560
- package/lib/codec/cosmos/group/v1/genesis.d.ts +45 -45
- package/lib/codec/cosmos/group/v1/genesis.js +176 -176
- package/lib/codec/cosmos/group/v1/query.d.ts +453 -453
- package/lib/codec/cosmos/group/v1/query.js +1771 -1771
- package/lib/codec/cosmos/group/v1/tx.d.ts +495 -495
- package/lib/codec/cosmos/group/v1/tx.js +1866 -1866
- package/lib/codec/cosmos/group/v1/types.d.ts +382 -382
- package/lib/codec/cosmos/group/v1/types.js +1332 -1332
- package/lib/codec/cosmos/ics23/v1/proofs.d.ts +328 -328
- package/lib/codec/cosmos/ics23/v1/proofs.js +1347 -1347
- package/lib/codec/cosmos/mint/module/v1/module.d.ts +21 -21
- package/lib/codec/cosmos/mint/module/v1/module.js +72 -72
- package/lib/codec/cosmos/mint/v1beta1/export.d.ts +3 -3
- package/lib/codec/cosmos/mint/v1beta1/export.js +16 -16
- package/lib/codec/cosmos/mint/v1beta1/genesis.d.ts +23 -23
- package/lib/codec/cosmos/mint/v1beta1/genesis.js +79 -79
- package/lib/codec/cosmos/mint/v1beta1/mint.d.ts +44 -44
- package/lib/codec/cosmos/mint/v1beta1/mint.js +192 -192
- package/lib/codec/cosmos/mint/v1beta1/query.d.ts +103 -103
- package/lib/codec/cosmos/mint/v1beta1/query.js +309 -309
- package/lib/codec/cosmos/mint/v1beta1/tx.d.ts +64 -64
- package/lib/codec/cosmos/mint/v1beta1/tx.js +120 -120
- package/lib/codec/cosmos/msg/textual/v1/textual.d.ts +1 -1
- package/lib/codec/cosmos/msg/textual/v1/textual.js +14 -14
- package/lib/codec/cosmos/msg/v1/msg.d.ts +1 -1
- package/lib/codec/cosmos/msg/v1/msg.js +14 -14
- package/lib/codec/cosmos/nft/module/v1/module.d.ts +18 -18
- package/lib/codec/cosmos/nft/module/v1/module.js +46 -46
- package/lib/codec/cosmos/nft/v1beta1/event.d.ts +58 -58
- package/lib/codec/cosmos/nft/v1beta1/event.js +227 -227
- package/lib/codec/cosmos/nft/v1beta1/genesis.d.ts +37 -37
- package/lib/codec/cosmos/nft/v1beta1/genesis.js +140 -140
- package/lib/codec/cosmos/nft/v1beta1/nft.d.ts +53 -53
- package/lib/codec/cosmos/nft/v1beta1/nft.js +233 -233
- package/lib/codec/cosmos/nft/v1beta1/query.d.ts +226 -226
- package/lib/codec/cosmos/nft/v1beta1/query.js +817 -817
- package/lib/codec/cosmos/nft/v1beta1/tx.d.ts +49 -49
- package/lib/codec/cosmos/nft/v1beta1/tx.js +137 -137
- package/lib/codec/cosmos/orm/module/v1alpha1/module.d.ts +22 -22
- package/lib/codec/cosmos/orm/module/v1alpha1/module.js +46 -46
- package/lib/codec/cosmos/orm/query/v1alpha1/query.d.ts +173 -173
- package/lib/codec/cosmos/orm/query/v1alpha1/query.js +652 -652
- package/lib/codec/cosmos/orm/v1/orm.d.ts +126 -126
- package/lib/codec/cosmos/orm/v1/orm.js +263 -263
- package/lib/codec/cosmos/orm/v1alpha1/schema.d.ts +76 -76
- package/lib/codec/cosmos/orm/v1alpha1/schema.js +235 -235
- package/lib/codec/cosmos/params/module/v1/module.d.ts +18 -18
- package/lib/codec/cosmos/params/module/v1/module.js +46 -46
- package/lib/codec/cosmos/params/v1beta1/export.d.ts +2 -2
- package/lib/codec/cosmos/params/v1beta1/export.js +12 -12
- package/lib/codec/cosmos/params/v1beta1/params.d.ts +37 -37
- package/lib/codec/cosmos/params/v1beta1/params.js +155 -155
- package/lib/codec/cosmos/params/v1beta1/query.d.ts +106 -106
- package/lib/codec/cosmos/params/v1beta1/query.js +280 -280
- package/lib/codec/cosmos/query/v1/query.d.ts +1 -1
- package/lib/codec/cosmos/query/v1/query.js +14 -14
- package/lib/codec/cosmos/reflection/v1/reflection.d.ts +50 -50
- package/lib/codec/cosmos/reflection/v1/reflection.js +108 -108
- package/lib/codec/cosmos/slashing/module/v1/module.d.ts +20 -20
- package/lib/codec/cosmos/slashing/module/v1/module.js +59 -59
- package/lib/codec/cosmos/slashing/v1beta1/export.d.ts +4 -4
- package/lib/codec/cosmos/slashing/v1beta1/export.js +22 -22
- package/lib/codec/cosmos/slashing/v1beta1/genesis.d.ts +76 -76
- package/lib/codec/cosmos/slashing/v1beta1/genesis.js +282 -282
- package/lib/codec/cosmos/slashing/v1beta1/query.d.ts +110 -110
- package/lib/codec/cosmos/slashing/v1beta1/query.js +333 -333
- package/lib/codec/cosmos/slashing/v1beta1/slashing.d.ts +59 -59
- package/lib/codec/cosmos/slashing/v1beta1/slashing.js +320 -320
- package/lib/codec/cosmos/slashing/v1beta1/tx.d.ts +92 -92
- package/lib/codec/cosmos/slashing/v1beta1/tx.js +204 -204
- package/lib/codec/cosmos/staking/module/v1/module.d.ts +30 -30
- package/lib/codec/cosmos/staking/module/v1/module.js +108 -108
- package/lib/codec/cosmos/staking/v1beta1/authz.d.ts +68 -68
- package/lib/codec/cosmos/staking/v1beta1/authz.js +225 -225
- package/lib/codec/cosmos/staking/v1beta1/export.d.ts +5 -5
- package/lib/codec/cosmos/staking/v1beta1/export.js +84 -84
- package/lib/codec/cosmos/staking/v1beta1/genesis.d.ts +55 -55
- package/lib/codec/cosmos/staking/v1beta1/genesis.js +259 -259
- package/lib/codec/cosmos/staking/v1beta1/query.d.ts +525 -525
- package/lib/codec/cosmos/staking/v1beta1/query.js +1750 -1750
- package/lib/codec/cosmos/staking/v1beta1/staking.d.ts +427 -427
- package/lib/codec/cosmos/staking/v1beta1/staking.js +1900 -1900
- package/lib/codec/cosmos/staking/v1beta1/tx.d.ts +282 -282
- package/lib/codec/cosmos/staking/v1beta1/tx.js +1001 -1001
- package/lib/codec/cosmos/store/internal/kv/v1beta1/kv.d.ts +31 -31
- package/lib/codec/cosmos/store/internal/kv/v1beta1/kv.js +154 -154
- package/lib/codec/cosmos/store/snapshots/v1/snapshot.d.ts +119 -119
- package/lib/codec/cosmos/store/snapshots/v1/snapshot.js +540 -540
- package/lib/codec/cosmos/store/streaming/abci/grpc.d.ts +72 -72
- package/lib/codec/cosmos/store/streaming/abci/grpc.js +247 -247
- package/lib/codec/cosmos/store/v1beta1/commit_info.d.ts +54 -54
- package/lib/codec/cosmos/store/v1beta1/commit_info.js +273 -273
- package/lib/codec/cosmos/store/v1beta1/listening.d.ts +48 -48
- package/lib/codec/cosmos/store/v1beta1/listening.js +220 -220
- package/lib/codec/cosmos/tx/config/v1/config.d.ts +28 -28
- package/lib/codec/cosmos/tx/config/v1/config.js +73 -73
- package/lib/codec/cosmos/tx/signing/v1beta1/signing.d.ts +147 -147
- package/lib/codec/cosmos/tx/signing/v1beta1/signing.js +477 -477
- package/lib/codec/cosmos/tx/v1beta1/export.d.ts +2 -2
- package/lib/codec/cosmos/tx/v1beta1/export.js +43 -43
- package/lib/codec/cosmos/tx/v1beta1/service.d.ts +460 -460
- package/lib/codec/cosmos/tx/v1beta1/service.js +1340 -1340
- package/lib/codec/cosmos/tx/v1beta1/tx.d.ts +377 -377
- package/lib/codec/cosmos/tx/v1beta1/tx.js +1121 -1121
- package/lib/codec/cosmos/upgrade/module/v1/module.d.ts +20 -20
- package/lib/codec/cosmos/upgrade/module/v1/module.js +59 -59
- package/lib/codec/cosmos/upgrade/v1beta1/query.d.ts +213 -213
- package/lib/codec/cosmos/upgrade/v1beta1/query.js +526 -526
- package/lib/codec/cosmos/upgrade/v1beta1/tx.d.ts +97 -97
- package/lib/codec/cosmos/upgrade/v1beta1/tx.js +203 -203
- package/lib/codec/cosmos/upgrade/v1beta1/upgrade.d.ts +114 -114
- package/lib/codec/cosmos/upgrade/v1beta1/upgrade.js +341 -341
- package/lib/codec/cosmos/vesting/module/v1/module.d.ts +18 -18
- package/lib/codec/cosmos/vesting/module/v1/module.js +46 -46
- package/lib/codec/cosmos/vesting/v1beta1/export.d.ts +2 -2
- package/lib/codec/cosmos/vesting/v1beta1/export.js +17 -17
- package/lib/codec/cosmos/vesting/v1beta1/tx.d.ts +138 -138
- package/lib/codec/cosmos/vesting/v1beta1/tx.js +416 -416
- package/lib/codec/cosmos/vesting/v1beta1/vesting.d.ts +106 -106
- package/lib/codec/cosmos/vesting/v1beta1/vesting.js +451 -451
- package/lib/codec/cosmos-models.d.ts +10 -10
- package/lib/codec/cosmos-models.js +32 -36
- package/lib/codec/ethermint/crypto/v1/ethsecp256k1/export.d.ts +1 -1
- package/lib/codec/ethermint/crypto/v1/ethsecp256k1/export.js +6 -6
- package/lib/codec/ethermint/crypto/v1/ethsecp256k1/keys.d.ts +39 -39
- package/lib/codec/ethermint/crypto/v1/ethsecp256k1/keys.js +138 -138
- package/lib/codec/ethermint/evm/v1/events.d.ts +72 -72
- package/lib/codec/ethermint/evm/v1/events.js +303 -303
- package/lib/codec/ethermint/evm/v1/evm.d.ts +239 -239
- package/lib/codec/ethermint/evm/v1/evm.js +1140 -1140
- package/lib/codec/ethermint/evm/v1/export.d.ts +5 -5
- package/lib/codec/ethermint/evm/v1/export.js +53 -53
- package/lib/codec/ethermint/evm/v1/genesis.d.ts +43 -43
- package/lib/codec/ethermint/evm/v1/genesis.js +153 -153
- package/lib/codec/ethermint/evm/v1/query.d.ts +424 -424
- package/lib/codec/ethermint/evm/v1/query.js +1637 -1637
- package/lib/codec/ethermint/evm/v1/tx.d.ts +219 -219
- package/lib/codec/ethermint/evm/v1/tx.js +935 -935
- package/lib/codec/ethermint/feemarket/v1/events.d.ts +34 -34
- package/lib/codec/ethermint/feemarket/v1/events.js +116 -116
- package/lib/codec/ethermint/feemarket/v1/export.d.ts +4 -4
- package/lib/codec/ethermint/feemarket/v1/export.js +18 -18
- package/lib/codec/ethermint/feemarket/v1/feemarket.d.ts +51 -51
- package/lib/codec/ethermint/feemarket/v1/feemarket.js +176 -176
- package/lib/codec/ethermint/feemarket/v1/genesis.d.ts +26 -26
- package/lib/codec/ethermint/feemarket/v1/genesis.js +79 -79
- package/lib/codec/ethermint/feemarket/v1/query.d.ts +100 -100
- package/lib/codec/ethermint/feemarket/v1/query.js +276 -276
- package/lib/codec/ethermint/feemarket/v1/tx.d.ts +55 -55
- package/lib/codec/ethermint/feemarket/v1/tx.js +120 -120
- package/lib/codec/ethermint/types/v1/account.d.ts +26 -26
- package/lib/codec/ethermint/types/v1/account.js +78 -78
- package/lib/codec/ethermint/types/v1/dynamic_fee.d.ts +20 -20
- package/lib/codec/ethermint/types/v1/dynamic_fee.js +60 -60
- package/lib/codec/ethermint/types/v1/export.d.ts +4 -4
- package/lib/codec/ethermint/types/v1/export.js +11 -11
- package/lib/codec/ethermint/types/v1/indexer.d.ts +41 -41
- package/lib/codec/ethermint/types/v1/indexer.js +153 -153
- package/lib/codec/ethermint/types/v1/web3.d.ts +36 -36
- package/lib/codec/ethermint/types/v1/web3.js +124 -124
- package/lib/codec/ethermint-models.d.ts +4 -4
- package/lib/codec/ethermint-models.js +26 -30
- package/lib/codec/google/protobuf/any.d.ts +137 -137
- package/lib/codec/google/protobuf/any.js +103 -103
- package/lib/codec/google/protobuf/descriptor.d.ts +1372 -1372
- package/lib/codec/google/protobuf/descriptor.js +4471 -4471
- package/lib/codec/google/protobuf/duration.d.ts +92 -92
- package/lib/codec/google/protobuf/duration.js +75 -75
- package/lib/codec/google/protobuf/empty.d.ts +26 -26
- package/lib/codec/google/protobuf/empty.js +46 -46
- package/lib/codec/google/protobuf/timestamp.d.ts +121 -121
- package/lib/codec/google/protobuf/timestamp.js +75 -75
- package/lib/codec/google/protobuf/wrappers.d.ts +152 -152
- package/lib/codec/google/protobuf/wrappers.js +457 -457
- package/lib/codec/ibc/applications/fee/v1/ack.d.ts +24 -24
- package/lib/codec/ibc/applications/fee/v1/ack.js +125 -125
- package/lib/codec/ibc/applications/fee/v1/fee.d.ts +68 -68
- package/lib/codec/ibc/applications/fee/v1/fee.js +289 -289
- package/lib/codec/ibc/applications/fee/v1/genesis.d.ts +93 -93
- package/lib/codec/ibc/applications/fee/v1/genesis.js +390 -390
- package/lib/codec/ibc/applications/fee/v1/metadata.d.ts +25 -25
- package/lib/codec/ibc/applications/fee/v1/metadata.js +71 -71
- package/lib/codec/ibc/applications/fee/v1/query.d.ts +318 -318
- package/lib/codec/ibc/applications/fee/v1/query.js +1241 -1241
- package/lib/codec/ibc/applications/fee/v1/tx.d.ts +171 -171
- package/lib/codec/ibc/applications/fee/v1/tx.js +524 -524
- package/lib/codec/ibc/applications/interchain_accounts/controller/export.d.ts +3 -3
- package/lib/codec/ibc/applications/interchain_accounts/controller/export.js +17 -17
- package/lib/codec/ibc/applications/interchain_accounts/controller/v1/controller.d.ts +23 -23
- package/lib/codec/ibc/applications/interchain_accounts/controller/v1/controller.js +61 -61
- package/lib/codec/ibc/applications/interchain_accounts/controller/v1/query.d.ts +70 -70
- package/lib/codec/ibc/applications/interchain_accounts/controller/v1/query.js +219 -219
- package/lib/codec/ibc/applications/interchain_accounts/controller/v1/tx.d.ts +113 -113
- package/lib/codec/ibc/applications/interchain_accounts/controller/v1/tx.js +426 -426
- package/lib/codec/ibc/applications/interchain_accounts/genesis/v1/genesis.d.ts +80 -80
- package/lib/codec/ibc/applications/interchain_accounts/genesis/v1/genesis.js +439 -439
- package/lib/codec/ibc/applications/interchain_accounts/host/export.d.ts +3 -3
- package/lib/codec/ibc/applications/interchain_accounts/host/export.js +11 -11
- package/lib/codec/ibc/applications/interchain_accounts/host/v1/host.d.ts +25 -25
- package/lib/codec/ibc/applications/interchain_accounts/host/v1/host.js +76 -76
- package/lib/codec/ibc/applications/interchain_accounts/host/v1/query.d.ts +44 -44
- package/lib/codec/ibc/applications/interchain_accounts/host/v1/query.js +107 -107
- package/lib/codec/ibc/applications/interchain_accounts/host/v1/tx.d.ts +50 -50
- package/lib/codec/ibc/applications/interchain_accounts/host/v1/tx.js +120 -120
- package/lib/codec/ibc/applications/interchain_accounts/v1/account.d.ts +21 -21
- package/lib/codec/ibc/applications/interchain_accounts/v1/account.js +79 -79
- package/lib/codec/ibc/applications/interchain_accounts/v1/export.d.ts +3 -3
- package/lib/codec/ibc/applications/interchain_accounts/v1/export.js +13 -13
- package/lib/codec/ibc/applications/interchain_accounts/v1/metadata.d.ts +36 -36
- package/lib/codec/ibc/applications/interchain_accounts/v1/metadata.js +129 -129
- package/lib/codec/ibc/applications/interchain_accounts/v1/packet.d.ts +46 -46
- package/lib/codec/ibc/applications/interchain_accounts/v1/packet.js +203 -203
- package/lib/codec/ibc/applications/transfer/v1/authz.d.ts +47 -47
- package/lib/codec/ibc/applications/transfer/v1/authz.js +173 -173
- package/lib/codec/ibc/applications/transfer/v1/export.d.ts +4 -4
- package/lib/codec/ibc/applications/transfer/v1/export.js +27 -27
- package/lib/codec/ibc/applications/transfer/v1/genesis.d.ts +28 -28
- package/lib/codec/ibc/applications/transfer/v1/genesis.js +108 -108
- package/lib/codec/ibc/applications/transfer/v1/query.d.ts +201 -201
- package/lib/codec/ibc/applications/transfer/v1/query.js +637 -637
- package/lib/codec/ibc/applications/transfer/v1/transfer.d.ts +53 -53
- package/lib/codec/ibc/applications/transfer/v1/transfer.js +130 -130
- package/lib/codec/ibc/applications/transfer/v1/tx.d.ts +106 -106
- package/lib/codec/ibc/applications/transfer/v1/tx.js +327 -327
- package/lib/codec/ibc/applications/transfer/v2/export.d.ts +1 -1
- package/lib/codec/ibc/applications/transfer/v2/export.js +5 -5
- package/lib/codec/ibc/applications/transfer/v2/packet.d.ts +32 -32
- package/lib/codec/ibc/applications/transfer/v2/packet.js +113 -113
- package/lib/codec/ibc/core/channel/v1/channel.d.ts +257 -257
- package/lib/codec/ibc/core/channel/v1/channel.js +1003 -1003
- package/lib/codec/ibc/core/channel/v1/export.d.ts +5 -5
- package/lib/codec/ibc/core/channel/v1/export.js +103 -103
- package/lib/codec/ibc/core/channel/v1/genesis.d.ts +45 -45
- package/lib/codec/ibc/core/channel/v1/genesis.js +265 -265
- package/lib/codec/ibc/core/channel/v1/query.d.ts +687 -687
- package/lib/codec/ibc/core/channel/v1/query.js +2693 -2693
- package/lib/codec/ibc/core/channel/v1/tx.d.ts +643 -643
- package/lib/codec/ibc/core/channel/v1/tx.js +3315 -3315
- package/lib/codec/ibc/core/channel/v1/upgrade.d.ts +62 -62
- package/lib/codec/ibc/core/channel/v1/upgrade.js +238 -238
- package/lib/codec/ibc/core/client/v1/client.d.ts +161 -161
- package/lib/codec/ibc/core/client/v1/client.js +506 -506
- package/lib/codec/ibc/core/client/v1/export.d.ts +4 -4
- package/lib/codec/ibc/core/client/v1/export.js +48 -48
- package/lib/codec/ibc/core/client/v1/genesis.d.ts +67 -67
- package/lib/codec/ibc/core/client/v1/genesis.js +296 -296
- package/lib/codec/ibc/core/client/v1/query.d.ts +346 -346
- package/lib/codec/ibc/core/client/v1/query.js +1128 -1128
- package/lib/codec/ibc/core/client/v1/tx.d.ts +264 -264
- package/lib/codec/ibc/core/client/v1/tx.js +896 -896
- package/lib/codec/ibc/core/commitment/v1/commitment.d.ts +70 -70
- package/lib/codec/ibc/core/commitment/v1/commitment.js +237 -237
- package/lib/codec/ibc/core/commitment/v1/export.d.ts +1 -1
- package/lib/codec/ibc/core/commitment/v1/export.js +8 -8
- package/lib/codec/ibc/core/connection/v1/connection.d.ts +170 -170
- package/lib/codec/ibc/core/connection/v1/connection.js +600 -600
- package/lib/codec/ibc/core/connection/v1/export.d.ts +3 -3
- package/lib/codec/ibc/core/connection/v1/export.js +38 -38
- package/lib/codec/ibc/core/connection/v1/genesis.d.ts +24 -24
- package/lib/codec/ibc/core/connection/v1/genesis.js +113 -113
- package/lib/codec/ibc/core/connection/v1/query.d.ts +245 -245
- package/lib/codec/ibc/core/connection/v1/query.js +866 -866
- package/lib/codec/ibc/core/connection/v1/tx.d.ts +221 -221
- package/lib/codec/ibc/core/connection/v1/tx.js +963 -963
- package/lib/codec/ibc/core/types/v1/genesis.d.ts +27 -27
- package/lib/codec/ibc/core/types/v1/genesis.js +105 -105
- package/lib/codec/ibc/lightclients/localhost/v2/export.d.ts +1 -1
- package/lib/codec/ibc/lightclients/localhost/v2/export.js +5 -5
- package/lib/codec/ibc/lightclients/localhost/v2/localhost.d.ts +21 -21
- package/lib/codec/ibc/lightclients/localhost/v2/localhost.js +65 -65
- package/lib/codec/ibc/lightclients/solomachine/v2/export.d.ts +1 -1
- package/lib/codec/ibc/lightclients/solomachine/v2/export.js +23 -23
- package/lib/codec/ibc/lightclients/solomachine/v2/solomachine.d.ts +298 -298
- package/lib/codec/ibc/lightclients/solomachine/v2/solomachine.js +1352 -1352
- package/lib/codec/ibc/lightclients/solomachine/v3/export.d.ts +1 -1
- package/lib/codec/ibc/lightclients/solomachine/v3/export.js +12 -12
- package/lib/codec/ibc/lightclients/solomachine/v3/solomachine.d.ts +146 -146
- package/lib/codec/ibc/lightclients/solomachine/v3/solomachine.js +712 -712
- package/lib/codec/ibc/lightclients/tendermint/v1/export.d.ts +1 -1
- package/lib/codec/ibc/lightclients/tendermint/v1/export.js +9 -9
- package/lib/codec/ibc/lightclients/tendermint/v1/tendermint.d.ts +147 -147
- package/lib/codec/ibc/lightclients/tendermint/v1/tendermint.js +623 -623
- package/lib/codec/ibc/lightclients/wasm/v1/genesis.d.ts +32 -32
- package/lib/codec/ibc/lightclients/wasm/v1/genesis.js +140 -140
- package/lib/codec/ibc/lightclients/wasm/v1/query.d.ts +74 -74
- package/lib/codec/ibc/lightclients/wasm/v1/query.js +272 -272
- package/lib/codec/ibc/lightclients/wasm/v1/tx.d.ts +105 -105
- package/lib/codec/ibc/lightclients/wasm/v1/tx.js +384 -384
- package/lib/codec/ibc/lightclients/wasm/v1/wasm.d.ts +70 -70
- package/lib/codec/ibc/lightclients/wasm/v1/wasm.js +267 -267
- package/lib/codec/ibc-models.d.ts +13 -13
- package/lib/codec/ibc-models.js +35 -39
- package/lib/codec/index.d.ts +662 -662
- package/lib/codec/index.js +30969 -30973
- package/lib/codec/oraclesvc/query.d.ts +20 -20
- package/lib/codec/oraclesvc/query.js +29 -29
- package/lib/codec/polynetwork-models.d.ts +4 -4
- package/lib/codec/polynetwork-models.js +26 -30
- package/lib/codec/tendermint/abci/types.d.ts +817 -817
- package/lib/codec/tendermint/abci/types.js +4769 -4769
- package/lib/codec/tendermint/crypto/keys.d.ts +20 -20
- package/lib/codec/tendermint/crypto/keys.js +109 -109
- package/lib/codec/tendermint/crypto/proof.d.ts +74 -74
- package/lib/codec/tendermint/crypto/proof.js +391 -391
- package/lib/codec/tendermint/libs/bits/types.d.ts +19 -19
- package/lib/codec/tendermint/libs/bits/types.js +89 -89
- package/lib/codec/tendermint/oracle/types.d.ts +90 -90
- package/lib/codec/tendermint/oracle/types.js +629 -629
- package/lib/codec/tendermint/p2p/types.d.ts +60 -60
- package/lib/codec/tendermint/p2p/types.js +400 -400
- package/lib/codec/tendermint/types/block.d.ts +23 -23
- package/lib/codec/tendermint/types/block.js +116 -116
- package/lib/codec/tendermint/types/evidence.d.ts +61 -61
- package/lib/codec/tendermint/types/evidence.js +390 -390
- package/lib/codec/tendermint/types/params.d.ts +141 -141
- package/lib/codec/tendermint/types/params.js +498 -498
- package/lib/codec/tendermint/types/types.d.ts +274 -274
- package/lib/codec/tendermint/types/types.js +1643 -1643
- package/lib/codec/tendermint/types/validator.d.ts +59 -59
- package/lib/codec/tendermint/types/validator.js +343 -343
- package/lib/codec/tendermint/version/types.d.ts +40 -40
- package/lib/codec/tendermint/version/types.js +139 -139
- package/lib/constant/address.d.ts +3 -3
- package/lib/constant/address.js +5 -5
- package/lib/constant/eip6963Provider.d.ts +66 -66
- package/lib/constant/eip6963Provider.js +31 -31
- package/lib/constant/eip712.d.ts +46 -46
- package/lib/constant/eip712.js +106 -106
- package/lib/constant/generic.d.ts +24 -24
- package/lib/constant/generic.js +24 -24
- package/lib/constant/grant.d.ts +1 -1
- package/lib/constant/grant.js +4 -4
- package/lib/constant/ibc.d.ts +190 -190
- package/lib/constant/ibc.js +2131 -2135
- package/lib/constant/index.d.ts +9 -9
- package/lib/constant/index.js +21 -25
- package/lib/constant/network.d.ts +76 -76
- package/lib/constant/network.js +349 -349
- package/lib/constant/node.d.ts +5 -5
- package/lib/constant/node.js +80 -80
- package/lib/constant/token.d.ts +11 -11
- package/lib/constant/token.js +373 -373
- package/lib/constant/walletProvider.d.ts +10 -10
- package/lib/constant/walletProvider.js +15 -15
- package/lib/constant/web3Config.d.ts +33 -33
- package/lib/constant/web3Config.js +175 -175
- package/lib/eth/abis/axelarBridge.json +1150 -1150
- package/lib/eth/abis/balanceReader.json +26 -26
- package/lib/eth/abis/bridgeEntrance.json +105 -105
- package/lib/eth/abis/erc20.json +222 -222
- package/lib/eth/abis/index.d.ts +8 -8
- package/lib/eth/abis/index.js +20 -20
- package/lib/eth/abis/keyStorage.json +44 -44
- package/lib/eth/abis/lockProxy.json +574 -574
- package/lib/eth/abis/vault.json +119 -119
- package/lib/eth/index.d.ts +1 -1
- package/lib/eth/index.js +23 -27
- package/lib/hydrogen/feeQuote.d.ts +23 -23
- package/lib/hydrogen/feeQuote.js +2 -2
- package/lib/hydrogen/index.d.ts +3 -3
- package/lib/hydrogen/index.js +15 -19
- package/lib/hydrogen/relays.d.ts +34 -34
- package/lib/hydrogen/relays.js +2 -2
- package/lib/hydrogen/stats.d.ts +26 -26
- package/lib/hydrogen/stats.js +2 -2
- package/lib/hydrogen/transfer.d.ts +159 -159
- package/lib/hydrogen/transfer.js +10 -10
- package/lib/index.d.ts +12 -12
- package/lib/index.js +59 -63
- package/lib/insights/alliances.d.ts +39 -39
- package/lib/insights/alliances.js +2 -2
- package/lib/insights/balance.d.ts +74 -74
- package/lib/insights/balance.js +2 -2
- package/lib/insights/block.d.ts +25 -25
- package/lib/insights/block.js +2 -2
- package/lib/insights/chain.d.ts +40 -40
- package/lib/insights/chain.js +2 -2
- package/lib/insights/common.d.ts +93 -93
- package/lib/insights/common.js +73 -73
- package/lib/insights/competition.d.ts +196 -196
- package/lib/insights/competition.js +2 -2
- package/lib/insights/delegation.d.ts +26 -26
- package/lib/insights/delegation.js +2 -2
- package/lib/insights/funding.d.ts +41 -41
- package/lib/insights/funding.js +2 -2
- package/lib/insights/index.d.ts +15 -15
- package/lib/insights/index.js +27 -31
- package/lib/insights/inflation.d.ts +6 -6
- package/lib/insights/inflation.js +2 -2
- package/lib/insights/market.d.ts +20 -20
- package/lib/insights/market.js +2 -2
- package/lib/insights/node.d.ts +32 -32
- package/lib/insights/node.js +2 -2
- package/lib/insights/oracles.d.ts +17 -17
- package/lib/insights/oracles.js +2 -2
- package/lib/insights/pool.d.ts +143 -143
- package/lib/insights/pool.js +2 -2
- package/lib/insights/position.d.ts +104 -104
- package/lib/insights/position.js +10 -10
- package/lib/insights/proposal.d.ts +21 -21
- package/lib/insights/proposal.js +2 -2
- package/lib/insights/transaction.d.ts +30 -30
- package/lib/insights/transaction.js +2 -2
- package/lib/insights/user.d.ts +148 -148
- package/lib/insights/user.js +2 -2
- package/lib/modules/admin.d.ts +377 -377
- package/lib/modules/admin.js +715 -715
- package/lib/modules/alliance.d.ts +43 -43
- package/lib/modules/alliance.js +102 -102
- package/lib/modules/bank.d.ts +14 -14
- package/lib/modules/bank.js +35 -35
- package/lib/modules/base.d.ts +12 -12
- package/lib/modules/base.js +29 -29
- package/lib/modules/bridge.d.ts +27 -27
- package/lib/modules/bridge.js +68 -68
- package/lib/modules/broker.d.ts +16 -16
- package/lib/modules/broker.js +50 -50
- package/lib/modules/cdp.d.ts +189 -189
- package/lib/modules/cdp.js +973 -973
- package/lib/modules/coin.d.ts +54 -54
- package/lib/modules/coin.js +138 -138
- package/lib/modules/cosmwasm.d.ts +20 -20
- package/lib/modules/cosmwasm.js +88 -88
- package/lib/modules/erc20.d.ts +30 -30
- package/lib/modules/erc20.js +81 -81
- package/lib/modules/evm.d.ts +45 -45
- package/lib/modules/evm.js +85 -85
- package/lib/modules/evmmerge.d.ts +12 -12
- package/lib/modules/evmmerge.js +35 -35
- package/lib/modules/fee.d.ts +5 -5
- package/lib/modules/fee.js +27 -27
- package/lib/modules/gov.d.ts +21 -21
- package/lib/modules/gov.js +70 -70
- package/lib/modules/grant.d.ts +33 -33
- package/lib/modules/grant.js +196 -196
- package/lib/modules/ibc.d.ts +46 -46
- package/lib/modules/ibc.js +236 -236
- package/lib/modules/index.d.ts +24 -24
- package/lib/modules/index.js +36 -40
- package/lib/modules/leverage.d.ts +13 -13
- package/lib/modules/leverage.js +52 -52
- package/lib/modules/liquiditypool.d.ts +84 -84
- package/lib/modules/liquiditypool.js +198 -198
- package/lib/modules/market.d.ts +104 -104
- package/lib/modules/market.js +183 -183
- package/lib/modules/oracle.d.ts +5 -5
- package/lib/modules/oracle.js +10 -10
- package/lib/modules/order.d.ts +70 -70
- package/lib/modules/order.js +194 -194
- package/lib/modules/perpspool.d.ts +49 -49
- package/lib/modules/perpspool.js +117 -117
- package/lib/modules/position.d.ts +13 -13
- package/lib/modules/position.js +52 -52
- package/lib/modules/profile.d.ts +11 -11
- package/lib/modules/profile.js +35 -35
- package/lib/modules/staking.d.ts +36 -36
- package/lib/modules/staking.js +107 -107
- package/lib/modules/subaccount.d.ts +24 -24
- package/lib/modules/subaccount.js +66 -66
- package/lib/modules/xchain.d.ts +22 -22
- package/lib/modules/xchain.js +53 -53
- package/lib/provider/account/NeoLedgerAccount/N3Ledger/BIP44.d.ts +5 -5
- package/lib/provider/account/NeoLedgerAccount/N3Ledger/BIP44.js +26 -26
- package/lib/provider/account/NeoLedgerAccount/N3Ledger/ErrorCode.d.ts +40 -40
- package/lib/provider/account/NeoLedgerAccount/N3Ledger/ErrorCode.js +62 -62
- package/lib/provider/account/NeoLedgerAccount/N3Ledger/index.d.ts +3 -3
- package/lib/provider/account/NeoLedgerAccount/N3Ledger/index.js +17 -21
- package/lib/provider/account/NeoLedgerAccount/N3Ledger/main.d.ts +42 -42
- package/lib/provider/account/NeoLedgerAccount/N3Ledger/main.js +181 -181
- package/lib/provider/account/NeoLedgerAccount/NeoLedgerAccount.d.ts +24 -24
- package/lib/provider/account/NeoLedgerAccount/NeoLedgerAccount.js +146 -150
- package/lib/provider/account/NeoLedgerAccount/NeonLedger.d.ts +59 -59
- package/lib/provider/account/NeoLedgerAccount/NeonLedger.js +180 -180
- package/lib/provider/account/NeoLedgerAccount/index.d.ts +1 -1
- package/lib/provider/account/NeoLedgerAccount/index.js +13 -17
- package/lib/provider/account/index.d.ts +1 -1
- package/lib/provider/account/index.js +13 -17
- package/lib/provider/amino/AminoTypesMap.d.ts +3 -3
- package/lib/provider/amino/AminoTypesMap.js +6 -6
- package/lib/provider/amino/index.d.ts +1 -1
- package/lib/provider/amino/index.js +8 -8
- package/lib/provider/amino/types/admin.d.ts +4 -4
- package/lib/provider/amino/types/admin.js +242 -246
- package/lib/provider/amino/types/bank.d.ts +4 -4
- package/lib/provider/amino/types/bank.js +34 -38
- package/lib/provider/amino/types/bridge.d.ts +4 -4
- package/lib/provider/amino/types/bridge.js +36 -40
- package/lib/provider/amino/types/broker.d.ts +4 -4
- package/lib/provider/amino/types/broker.js +34 -38
- package/lib/provider/amino/types/cdp.d.ts +4 -4
- package/lib/provider/amino/types/cdp.js +173 -177
- package/lib/provider/amino/types/coin.d.ts +4 -4
- package/lib/provider/amino/types/coin.js +52 -56
- package/lib/provider/amino/types/erc20.d.ts +4 -4
- package/lib/provider/amino/types/erc20.js +40 -44
- package/lib/provider/amino/types/evm.d.ts +4 -4
- package/lib/provider/amino/types/evm.js +34 -38
- package/lib/provider/amino/types/evmmerge.d.ts +4 -4
- package/lib/provider/amino/types/evmmerge.js +34 -38
- package/lib/provider/amino/types/feemarket.d.ts +4 -4
- package/lib/provider/amino/types/feemarket.js +34 -38
- package/lib/provider/amino/types/gov.d.ts +4 -4
- package/lib/provider/amino/types/gov.js +413 -417
- package/lib/provider/amino/types/grant.d.ts +13 -13
- package/lib/provider/amino/types/grant.js +198 -202
- package/lib/provider/amino/types/ibc.d.ts +4 -4
- package/lib/provider/amino/types/ibc.js +57 -61
- package/lib/provider/amino/types/index.d.ts +23 -23
- package/lib/provider/amino/types/index.js +52 -52
- package/lib/provider/amino/types/leverage.d.ts +4 -4
- package/lib/provider/amino/types/leverage.js +36 -40
- package/lib/provider/amino/types/liquidityPool.d.ts +4 -4
- package/lib/provider/amino/types/liquidityPool.js +97 -101
- package/lib/provider/amino/types/market.d.ts +4 -4
- package/lib/provider/amino/types/market.js +90 -94
- package/lib/provider/amino/types/oracle.d.ts +4 -4
- package/lib/provider/amino/types/oracle.js +4 -4
- package/lib/provider/amino/types/order.d.ts +4 -4
- package/lib/provider/amino/types/order.js +84 -88
- package/lib/provider/amino/types/perpspool.d.ts +4 -4
- package/lib/provider/amino/types/perpspool.js +73 -77
- package/lib/provider/amino/types/position.d.ts +4 -4
- package/lib/provider/amino/types/position.js +34 -38
- package/lib/provider/amino/types/profile.d.ts +4 -4
- package/lib/provider/amino/types/profile.js +50 -54
- package/lib/provider/amino/types/staking.d.ts +4 -4
- package/lib/provider/amino/types/staking.js +52 -56
- package/lib/provider/amino/types/subaccount.d.ts +4 -4
- package/lib/provider/amino/types/subaccount.js +46 -50
- package/lib/provider/amino/utils.d.ts +44 -44
- package/lib/provider/amino/utils.js +247 -246
- package/lib/provider/chainProvider/GetSigningCosmosClientOptions.d.ts +2 -2
- package/lib/provider/chainProvider/GetSigningCosmosClientOptions.js +18 -18
- package/lib/provider/chainProvider/index.d.ts +2 -2
- package/lib/provider/chainProvider/index.js +5 -5
- package/lib/provider/eip6963Provider/Eip6963Provider.d.ts +8 -8
- package/lib/provider/eip6963Provider/Eip6963Provider.js +24 -24
- package/lib/provider/eip6963Provider/index.d.ts +1 -1
- package/lib/provider/eip6963Provider/index.js +8 -8
- package/lib/provider/index.d.ts +13 -13
- package/lib/provider/index.js +29 -29
- package/lib/provider/keplr/KeplrAccount.d.ts +27 -27
- package/lib/provider/keplr/KeplrAccount.js +230 -230
- package/lib/provider/keplr/KeplrStore.js +1 -1
- package/lib/provider/keplr/index.d.ts +3 -3
- package/lib/provider/keplr/index.js +8 -8
- package/lib/provider/leap/LeapAccount.d.ts +28 -28
- package/lib/provider/leap/LeapAccount.js +208 -208
- package/lib/provider/leap/index.d.ts +3 -3
- package/lib/provider/leap/index.js +8 -8
- package/lib/provider/ledger/index.d.ts +1 -1
- package/lib/provider/ledger/index.js +8 -8
- package/lib/provider/ledger/ledger.d.ts +28 -28
- package/lib/provider/ledger/ledger.js +336 -339
- package/lib/provider/metamask/MetaMask.d.ts +76 -76
- package/lib/provider/metamask/MetaMask.js +730 -734
- package/lib/provider/metamask/error.d.ts +2 -2
- package/lib/provider/metamask/error.js +18 -18
- package/lib/provider/metamask/index.d.ts +1 -1
- package/lib/provider/metamask/index.js +5 -5
- package/lib/provider/metamask/legacy-accounts.d.ts +11 -11
- package/lib/provider/metamask/legacy-accounts.js +2254 -2254
- package/lib/provider/o3/O3Types.d.ts +84 -84
- package/lib/provider/o3/O3Types.js +41 -41
- package/lib/provider/o3/O3Wallet.d.ts +29 -29
- package/lib/provider/o3/O3Wallet.js +238 -242
- package/lib/provider/o3/index.d.ts +2 -2
- package/lib/provider/o3/index.js +28 -32
- package/lib/provider/rainbowKit/RainbowKitAccount.d.ts +37 -37
- package/lib/provider/rainbowKit/RainbowKitAccount.js +341 -341
- package/lib/provider/rainbowKit/index.d.ts +1 -1
- package/lib/provider/rainbowKit/index.js +8 -8
- package/lib/provider/sdk/SDKProvider.d.ts +13 -13
- package/lib/provider/sdk/SDKProvider.js +2 -2
- package/lib/provider/sdk/index.d.ts +1 -1
- package/lib/provider/sdk/index.js +2 -2
- package/lib/provider/zilpay/Zilpay.d.ts +33 -33
- package/lib/provider/zilpay/Zilpay.js +82 -82
- package/lib/provider/zilpay/index.d.ts +1 -1
- package/lib/provider/zilpay/index.js +13 -17
- package/lib/util/address.d.ts +80 -80
- package/lib/util/address.js +324 -328
- package/lib/util/alliance.d.ts +2 -2
- package/lib/util/alliance.js +27 -27
- package/lib/util/api.d.ts +117 -117
- package/lib/util/api.js +177 -177
- package/lib/util/blockchain.d.ts +107 -107
- package/lib/util/blockchain.js +479 -479
- package/lib/util/eip712.d.ts +10 -10
- package/lib/util/eip712.js +198 -198
- package/lib/util/ethermint.d.ts +9 -9
- package/lib/util/ethermint.js +118 -118
- package/lib/util/external.d.ts +11 -11
- package/lib/util/external.js +8 -8
- package/lib/util/fetch.d.ts +1 -1
- package/lib/util/fetch.js +16 -16
- package/lib/util/generic.d.ts +41 -42
- package/lib/util/generic.js +171 -171
- package/lib/util/gov.d.ts +55 -55
- package/lib/util/gov.js +301 -301
- package/lib/util/grant.d.ts +10 -10
- package/lib/util/grant.js +30 -30
- package/lib/util/ibc.d.ts +19 -19
- package/lib/util/ibc.js +150 -150
- package/lib/util/index.d.ts +17 -17
- package/lib/util/index.js +39 -43
- package/lib/util/ledger.d.ts +3 -3
- package/lib/util/ledger.js +59 -59
- package/lib/util/legacyEIP712.d.ts +20 -20
- package/lib/util/legacyEIP712.js +98 -98
- package/lib/util/message.d.ts +2 -2
- package/lib/util/message.js +24 -24
- package/lib/util/network.d.ts +9 -9
- package/lib/util/network.js +40 -40
- package/lib/util/number.d.ts +9 -9
- package/lib/util/number.js +47 -47
- package/lib/util/order.d.ts +3 -3
- package/lib/util/order.js +13 -13
- package/lib/util/provider.d.ts +1 -1
- package/lib/util/provider.js +24 -24
- package/lib/util/token.d.ts +16 -16
- package/lib/util/token.js +23 -23
- package/lib/util/transferfees.d.ts +18 -18
- package/lib/util/transferfees.js +9 -9
- package/lib/util/tx.d.ts +709 -709
- package/lib/util/tx.js +156 -160
- package/lib/util/type.d.ts +22 -22
- package/lib/util/type.js +45 -45
- package/lib/wallet/CarbonSigner.d.ts +68 -68
- package/lib/wallet/CarbonSigner.js +170 -170
- package/lib/wallet/CarbonSigningClient.d.ts +41 -41
- package/lib/wallet/CarbonSigningClient.js +210 -210
- package/lib/wallet/CarbonWallet.d.ts +220 -220
- package/lib/wallet/CarbonWallet.js +756 -756
- package/lib/wallet/index.d.ts +2 -2
- package/lib/wallet/index.js +14 -18
- package/lib/websocket/channel.d.ts +3 -3
- package/lib/websocket/channel.js +286 -286
- package/lib/websocket/connector.d.ts +234 -234
- package/lib/websocket/connector.js +514 -518
- package/lib/websocket/index.d.ts +1 -1
- package/lib/websocket/index.js +13 -17
- package/lib/websocket/models.d.ts +331 -331
- package/lib/websocket/models.js +2 -2
- package/lib/websocket/types.d.ts +233 -233
- package/lib/websocket/types.js +73 -73
- package/package.json +92 -92
- package/lib/codec/Switcheo/carbon/ccm/ccm.d.ts +0 -19
- package/lib/codec/Switcheo/carbon/ccm/ccm.js +0 -60
- package/lib/codec/Switcheo/carbon/fee/proposal.d.ts +0 -57
- package/lib/codec/Switcheo/carbon/fee/proposal.js +0 -311
- package/lib/codec/Switcheo/carbon/liquidation/liquidation.d.ts +0 -17
- package/lib/codec/Switcheo/carbon/liquidation/liquidation.js +0 -46
- package/lib/codec/Switcheo/carbon/marketstats/params.d.ts +0 -18
- package/lib/codec/Switcheo/carbon/marketstats/params.js +0 -46
- package/lib/codec/Switcheo/carbon/oracle/proposal.d.ts +0 -21
- package/lib/codec/Switcheo/carbon/oracle/proposal.js +0 -91
- package/lib/codec/Switcheo/carbon/pricing/proposal.d.ts +0 -31
- package/lib/codec/Switcheo/carbon/pricing/proposal.js +0 -148
- package/lib/codec/adl/genesis.d.ts +0 -18
- package/lib/codec/adl/genesis.js +0 -46
- package/lib/codec/adl/query.d.ts +0 -12
- package/lib/codec/adl/query.js +0 -20
- package/lib/codec/adl/tx.d.ts +0 -12
- package/lib/codec/adl/tx.js +0 -20
- package/lib/codec/admin/export.d.ts +0 -2
- package/lib/codec/admin/export.js +0 -13
- package/lib/codec/admin/genesis.d.ts +0 -18
- package/lib/codec/admin/genesis.js +0 -46
- package/lib/codec/admin/query.d.ts +0 -62
- package/lib/codec/admin/query.js +0 -186
- package/lib/codec/admin/tx.d.ts +0 -62
- package/lib/codec/admin/tx.js +0 -198
- package/lib/codec/alliance/alliance.d.ts +0 -65
- package/lib/codec/alliance/alliance.js +0 -354
- package/lib/codec/alliance/delegations.d.ts +0 -86
- package/lib/codec/alliance/delegations.js +0 -489
- package/lib/codec/alliance/events.d.ts +0 -61
- package/lib/codec/alliance/events.js +0 -403
- package/lib/codec/alliance/export.d.ts +0 -8
- package/lib/codec/alliance/export.js +0 -64
- package/lib/codec/alliance/genesis.d.ts +0 -74
- package/lib/codec/alliance/genesis.js +0 -469
- package/lib/codec/alliance/gov.d.ts +0 -78
- package/lib/codec/alliance/gov.js +0 -380
- package/lib/codec/alliance/params.d.ts +0 -34
- package/lib/codec/alliance/params.js +0 -182
- package/lib/codec/alliance/query.d.ts +0 -333
- package/lib/codec/alliance/query.js +0 -1497
- package/lib/codec/alliance/tx.d.ts +0 -111
- package/lib/codec/alliance/tx.js +0 -495
- package/lib/codec/bank/event.d.ts +0 -65
- package/lib/codec/bank/event.js +0 -332
- package/lib/codec/bank/export.d.ts +0 -2
- package/lib/codec/bank/export.js +0 -14
- package/lib/codec/bank/genesis.d.ts +0 -18
- package/lib/codec/bank/genesis.js +0 -46
- package/lib/codec/bank/query.d.ts +0 -77
- package/lib/codec/bank/query.js +0 -459
- package/lib/codec/book/book.d.ts +0 -57
- package/lib/codec/book/book.js +0 -319
- package/lib/codec/book/event.d.ts +0 -22
- package/lib/codec/book/event.js +0 -113
- package/lib/codec/book/export.d.ts +0 -4
- package/lib/codec/book/export.js +0 -23
- package/lib/codec/book/genesis.d.ts +0 -25
- package/lib/codec/book/genesis.js +0 -79
- package/lib/codec/book/legacy.d.ts +0 -22
- package/lib/codec/book/legacy.js +0 -120
- package/lib/codec/book/query.d.ts +0 -141
- package/lib/codec/book/query.js +0 -606
- package/lib/codec/book/tx.d.ts +0 -12
- package/lib/codec/book/tx.js +0 -20
- package/lib/codec/broker/amm.d.ts +0 -50
- package/lib/codec/broker/amm.js +0 -326
- package/lib/codec/broker/candlestick.d.ts +0 -27
- package/lib/codec/broker/candlestick.js +0 -211
- package/lib/codec/broker/event.d.ts +0 -53
- package/lib/codec/broker/event.js +0 -485
- package/lib/codec/broker/export.d.ts +0 -7
- package/lib/codec/broker/export.js +0 -27
- package/lib/codec/broker/genesis.d.ts +0 -25
- package/lib/codec/broker/genesis.js +0 -79
- package/lib/codec/broker/incoming_liquidations.d.ts +0 -18
- package/lib/codec/broker/incoming_liquidations.js +0 -93
- package/lib/codec/broker/incoming_pool_swap.d.ts +0 -23
- package/lib/codec/broker/incoming_pool_swap.js +0 -136
- package/lib/codec/broker/pagination.d.ts +0 -19
- package/lib/codec/broker/pagination.js +0 -78
- package/lib/codec/broker/query.d.ts +0 -107
- package/lib/codec/broker/query.js +0 -597
- package/lib/codec/broker/tx.d.ts +0 -53
- package/lib/codec/broker/tx.js +0 -176
- package/lib/codec/btcx/denom_cross_chain_info.d.ts +0 -21
- package/lib/codec/btcx/denom_cross_chain_info.js +0 -98
- package/lib/codec/btcx/denom_info.d.ts +0 -24
- package/lib/codec/btcx/denom_info.js +0 -140
- package/lib/codec/btcx/export.d.ts +0 -4
- package/lib/codec/btcx/export.js +0 -19
- package/lib/codec/btcx/genesis.d.ts +0 -18
- package/lib/codec/btcx/genesis.js +0 -46
- package/lib/codec/btcx/query.d.ts +0 -68
- package/lib/codec/btcx/query.js +0 -275
- package/lib/codec/btcx/tx.d.ts +0 -92
- package/lib/codec/btcx/tx.js +0 -436
- package/lib/codec/ccm/ccm.d.ts +0 -19
- package/lib/codec/ccm/ccm.js +0 -60
- package/lib/codec/ccm/export.d.ts +0 -4
- package/lib/codec/ccm/export.js +0 -20
- package/lib/codec/ccm/genesis.d.ts +0 -83
- package/lib/codec/ccm/genesis.js +0 -438
- package/lib/codec/ccm/query.d.ts +0 -45
- package/lib/codec/ccm/query.js +0 -197
- package/lib/codec/ccm/tx.d.ts +0 -97
- package/lib/codec/ccm/tx.js +0 -462
- package/lib/codec/cdp/asset_params.d.ts +0 -57
- package/lib/codec/cdp/asset_params.js +0 -411
- package/lib/codec/cdp/cdp_liquidations.d.ts +0 -32
- package/lib/codec/cdp/cdp_liquidations.js +0 -288
- package/lib/codec/cdp/debt_info.d.ts +0 -23
- package/lib/codec/cdp/debt_info.js +0 -158
- package/lib/codec/cdp/e_mode_category.d.ts +0 -23
- package/lib/codec/cdp/e_mode_category.js +0 -135
- package/lib/codec/cdp/event.d.ts +0 -446
- package/lib/codec/cdp/event.js +0 -2913
- package/lib/codec/cdp/export.d.ts +0 -13
- package/lib/codec/cdp/export.js +0 -210
- package/lib/codec/cdp/genesis.d.ts +0 -134
- package/lib/codec/cdp/genesis.js +0 -825
- package/lib/codec/cdp/params.d.ts +0 -68
- package/lib/codec/cdp/params.js +0 -210
- package/lib/codec/cdp/query.d.ts +0 -644
- package/lib/codec/cdp/query.js +0 -3099
- package/lib/codec/cdp/rate_strategy_params.d.ts +0 -26
- package/lib/codec/cdp/rate_strategy_params.js +0 -180
- package/lib/codec/cdp/reward_scheme.d.ts +0 -71
- package/lib/codec/cdp/reward_scheme.js +0 -550
- package/lib/codec/cdp/stablecoin_debt_info.d.ts +0 -22
- package/lib/codec/cdp/stablecoin_debt_info.js +0 -144
- package/lib/codec/cdp/stablecoin_interest_info.d.ts +0 -19
- package/lib/codec/cdp/stablecoin_interest_info.js +0 -99
- package/lib/codec/cdp/tx.d.ts +0 -1026
- package/lib/codec/cdp/tx.js +0 -5191
- package/lib/codec/coin/bridge.d.ts +0 -24
- package/lib/codec/coin/bridge.js +0 -151
- package/lib/codec/coin/event.d.ts +0 -143
- package/lib/codec/coin/event.js +0 -775
- package/lib/codec/coin/export.d.ts +0 -8
- package/lib/codec/coin/export.js +0 -107
- package/lib/codec/coin/genesis.d.ts +0 -42
- package/lib/codec/coin/genesis.js +0 -207
- package/lib/codec/coin/group.d.ts +0 -50
- package/lib/codec/coin/group.js +0 -230
- package/lib/codec/coin/proposal.d.ts +0 -21
- package/lib/codec/coin/proposal.js +0 -91
- package/lib/codec/coin/query.d.ts +0 -310
- package/lib/codec/coin/query.js +0 -1439
- package/lib/codec/coin/token.d.ts +0 -104
- package/lib/codec/coin/token.js +0 -700
- package/lib/codec/coin/tx.d.ts +0 -586
- package/lib/codec/coin/tx.js +0 -3131
- package/lib/codec/cosmos/app/module/v1alpha1/module.d.ts +0 -18
- package/lib/codec/cosmos/app/module/v1alpha1/module.js +0 -46
- package/lib/codec/cosmos/base/kv/v1beta1/kv.d.ts +0 -31
- package/lib/codec/cosmos/base/kv/v1beta1/kv.js +0 -154
- package/lib/codec/cosmos/base/snapshots/v1beta1/snapshot.d.ts +0 -160
- package/lib/codec/cosmos/base/snapshots/v1beta1/snapshot.js +0 -684
- package/lib/codec/cosmos/base/store/v1beta1/commit_info.d.ts +0 -54
- package/lib/codec/cosmos/base/store/v1beta1/commit_info.js +0 -273
- package/lib/codec/cosmos/base/store/v1beta1/listening.d.ts +0 -62
- package/lib/codec/cosmos/base/store/v1beta1/listening.js +0 -341
- package/lib/codec/cosmos/capability/module/v1/module.d.ts +0 -23
- package/lib/codec/cosmos/capability/module/v1/module.js +0 -59
- package/lib/codec/cosmos/capability/v1beta1/capability.d.ts +0 -51
- package/lib/codec/cosmos/capability/v1beta1/capability.js +0 -168
- package/lib/codec/cosmos/capability/v1beta1/genesis.d.ts +0 -40
- package/lib/codec/cosmos/capability/v1beta1/genesis.js +0 -146
- package/lib/codec/cosmos/gov/v1beta1/export.d.ts +0 -3
- package/lib/codec/cosmos/gov/v1beta1/export.js +0 -45
- package/lib/codec/crisis/genesis.d.ts +0 -18
- package/lib/codec/crisis/genesis.js +0 -46
- package/lib/codec/crisis/query.d.ts +0 -43
- package/lib/codec/crisis/query.js +0 -103
- package/lib/codec/crisis/tx.d.ts +0 -12
- package/lib/codec/crisis/tx.js +0 -20
- package/lib/codec/erc20/erc20.d.ts +0 -41
- package/lib/codec/erc20/erc20.js +0 -144
- package/lib/codec/erc20/events.d.ts +0 -76
- package/lib/codec/erc20/events.js +0 -330
- package/lib/codec/erc20/export.d.ts +0 -5
- package/lib/codec/erc20/export.js +0 -37
- package/lib/codec/erc20/genesis.d.ts +0 -40
- package/lib/codec/erc20/genesis.js +0 -139
- package/lib/codec/erc20/query.d.ts +0 -117
- package/lib/codec/erc20/query.js +0 -333
- package/lib/codec/erc20/tx.d.ts +0 -232
- package/lib/codec/erc20/tx.js +0 -765
- package/lib/codec/evmbank/export.d.ts +0 -2
- package/lib/codec/evmbank/export.js +0 -8
- package/lib/codec/evmbank/genesis.d.ts +0 -32
- package/lib/codec/evmbank/genesis.js +0 -152
- package/lib/codec/evmbank/query.d.ts +0 -40
- package/lib/codec/evmbank/query.js +0 -116
- package/lib/codec/evmcontract/genesis.d.ts +0 -18
- package/lib/codec/evmcontract/genesis.js +0 -46
- package/lib/codec/evmcontract/query.d.ts +0 -12
- package/lib/codec/evmcontract/query.js +0 -20
- package/lib/codec/evmcontract/tx.d.ts +0 -12
- package/lib/codec/evmcontract/tx.js +0 -20
- package/lib/codec/evmmerge/address.d.ts +0 -19
- package/lib/codec/evmmerge/address.js +0 -75
- package/lib/codec/evmmerge/event.d.ts +0 -20
- package/lib/codec/evmmerge/event.js +0 -90
- package/lib/codec/evmmerge/export.d.ts +0 -6
- package/lib/codec/evmmerge/export.js +0 -20
- package/lib/codec/evmmerge/genesis.d.ts +0 -48
- package/lib/codec/evmmerge/genesis.js +0 -216
- package/lib/codec/evmmerge/offchain.d.ts +0 -22
- package/lib/codec/evmmerge/offchain.js +0 -105
- package/lib/codec/evmmerge/query.d.ts +0 -75
- package/lib/codec/evmmerge/query.js +0 -254
- package/lib/codec/evmmerge/tx.d.ts +0 -45
- package/lib/codec/evmmerge/tx.js +0 -128
- package/lib/codec/fee/event.d.ts +0 -20
- package/lib/codec/fee/event.js +0 -83
- package/lib/codec/fee/export.d.ts +0 -5
- package/lib/codec/fee/export.js +0 -32
- package/lib/codec/fee/fee.d.ts +0 -42
- package/lib/codec/fee/fee.js +0 -183
- package/lib/codec/fee/genesis.d.ts +0 -23
- package/lib/codec/fee/genesis.js +0 -79
- package/lib/codec/fee/proposal.d.ts +0 -57
- package/lib/codec/fee/proposal.js +0 -311
- package/lib/codec/fee/query.d.ts +0 -114
- package/lib/codec/fee/query.js +0 -470
- package/lib/codec/fee/tx.d.ts +0 -108
- package/lib/codec/fee/tx.js +0 -415
- package/lib/codec/headersync/consensus_peers.d.ts +0 -70
- package/lib/codec/headersync/consensus_peers.js +0 -383
- package/lib/codec/headersync/export.d.ts +0 -4
- package/lib/codec/headersync/export.js +0 -24
- package/lib/codec/headersync/genesis.d.ts +0 -79
- package/lib/codec/headersync/genesis.js +0 -419
- package/lib/codec/headersync/query.d.ts +0 -64
- package/lib/codec/headersync/query.js +0 -231
- package/lib/codec/headersync/tx.d.ts +0 -64
- package/lib/codec/headersync/tx.js +0 -215
- package/lib/codec/ibc/applications/interchain_accounts/v1/genesis.d.ts +0 -76
- package/lib/codec/ibc/applications/interchain_accounts/v1/genesis.js +0 -424
- package/lib/codec/ibc/lightclients/localhost/v1/export.d.ts +0 -1
- package/lib/codec/ibc/lightclients/localhost/v1/export.js +0 -5
- package/lib/codec/ibc/lightclients/localhost/v1/localhost.d.ts +0 -26
- package/lib/codec/ibc/lightclients/localhost/v1/localhost.js +0 -76
- package/lib/codec/ibc/lightclients/solomachine/v1/export.d.ts +0 -1
- package/lib/codec/ibc/lightclients/solomachine/v1/export.js +0 -23
- package/lib/codec/ibc/lightclients/solomachine/v1/solomachine.d.ts +0 -298
- package/lib/codec/ibc/lightclients/solomachine/v1/solomachine.js +0 -1356
- package/lib/codec/inflation/export.d.ts +0 -2
- package/lib/codec/inflation/export.js +0 -8
- package/lib/codec/inflation/genesis.d.ts +0 -25
- package/lib/codec/inflation/genesis.js +0 -79
- package/lib/codec/inflation/inflation.d.ts +0 -26
- package/lib/codec/inflation/inflation.js +0 -165
- package/lib/codec/inflation/query.d.ts +0 -41
- package/lib/codec/inflation/query.js +0 -109
- package/lib/codec/inflation/tx.d.ts +0 -12
- package/lib/codec/inflation/tx.js +0 -20
- package/lib/codec/insurance/event.d.ts +0 -24
- package/lib/codec/insurance/event.js +0 -46
- package/lib/codec/insurance/export.d.ts +0 -4
- package/lib/codec/insurance/export.js +0 -14
- package/lib/codec/insurance/fund.d.ts +0 -29
- package/lib/codec/insurance/fund.js +0 -148
- package/lib/codec/insurance/genesis.d.ts +0 -18
- package/lib/codec/insurance/genesis.js +0 -46
- package/lib/codec/insurance/query.d.ts +0 -41
- package/lib/codec/insurance/query.js +0 -108
- package/lib/codec/insurance/tx.d.ts +0 -44
- package/lib/codec/insurance/tx.js +0 -144
- package/lib/codec/leverage/event.d.ts +0 -21
- package/lib/codec/leverage/event.js +0 -100
- package/lib/codec/leverage/export.d.ts +0 -4
- package/lib/codec/leverage/export.js +0 -16
- package/lib/codec/leverage/genesis.d.ts +0 -24
- package/lib/codec/leverage/genesis.js +0 -64
- package/lib/codec/leverage/leverage.d.ts +0 -30
- package/lib/codec/leverage/leverage.js +0 -134
- package/lib/codec/leverage/query.d.ts +0 -70
- package/lib/codec/leverage/query.js +0 -234
- package/lib/codec/leverage/tx.d.ts +0 -43
- package/lib/codec/leverage/tx.js +0 -127
- package/lib/codec/liquidation/export.d.ts +0 -5
- package/lib/codec/liquidation/export.js +0 -17
- package/lib/codec/liquidation/genesis.d.ts +0 -37
- package/lib/codec/liquidation/genesis.js +0 -136
- package/lib/codec/liquidation/liquidation.d.ts +0 -17
- package/lib/codec/liquidation/liquidation.js +0 -46
- package/lib/codec/liquidation/outstanding_position.d.ts +0 -33
- package/lib/codec/liquidation/outstanding_position.js +0 -203
- package/lib/codec/liquidation/query.d.ts +0 -77
- package/lib/codec/liquidation/query.js +0 -341
- package/lib/codec/liquidation/quote_changes.d.ts +0 -22
- package/lib/codec/liquidation/quote_changes.js +0 -95
- package/lib/codec/liquidation/tx.d.ts +0 -12
- package/lib/codec/liquidation/tx.js +0 -20
- package/lib/codec/liquiditypool/event.d.ts +0 -182
- package/lib/codec/liquiditypool/event.js +0 -1268
- package/lib/codec/liquiditypool/export.d.ts +0 -6
- package/lib/codec/liquiditypool/export.js +0 -125
- package/lib/codec/liquiditypool/genesis.d.ts +0 -32
- package/lib/codec/liquiditypool/genesis.js +0 -228
- package/lib/codec/liquiditypool/liquiditypool.d.ts +0 -138
- package/lib/codec/liquiditypool/liquiditypool.js +0 -943
- package/lib/codec/liquiditypool/proposal.d.ts +0 -117
- package/lib/codec/liquiditypool/proposal.js +0 -697
- package/lib/codec/liquiditypool/query.d.ts +0 -370
- package/lib/codec/liquiditypool/query.js +0 -1738
- package/lib/codec/liquiditypool/reward.d.ts +0 -196
- package/lib/codec/liquiditypool/reward.js +0 -1204
- package/lib/codec/liquiditypool/tx.d.ts +0 -453
- package/lib/codec/liquiditypool/tx.js +0 -2423
- package/lib/codec/lockproxy/event.d.ts +0 -46
- package/lib/codec/lockproxy/event.js +0 -348
- package/lib/codec/lockproxy/export.d.ts +0 -5
- package/lib/codec/lockproxy/export.js +0 -28
- package/lib/codec/lockproxy/genesis.d.ts +0 -68
- package/lib/codec/lockproxy/genesis.js +0 -355
- package/lib/codec/lockproxy/lockproxy.d.ts +0 -22
- package/lib/codec/lockproxy/lockproxy.js +0 -147
- package/lib/codec/lockproxy/query.d.ts +0 -67
- package/lib/codec/lockproxy/query.js +0 -274
- package/lib/codec/lockproxy/tx.d.ts +0 -147
- package/lib/codec/lockproxy/tx.js +0 -808
- package/lib/codec/market/event.d.ts +0 -20
- package/lib/codec/market/event.js +0 -76
- package/lib/codec/market/export.d.ts +0 -6
- package/lib/codec/market/export.js +0 -61
- package/lib/codec/market/fee.d.ts +0 -123
- package/lib/codec/market/fee.js +0 -334
- package/lib/codec/market/genesis.d.ts +0 -31
- package/lib/codec/market/genesis.js +0 -147
- package/lib/codec/market/legacy.d.ts +0 -62
- package/lib/codec/market/legacy.js +0 -630
- package/lib/codec/market/market.d.ts +0 -131
- package/lib/codec/market/market.js +0 -1245
- package/lib/codec/market/proposal.d.ts +0 -46
- package/lib/codec/market/proposal.js +0 -245
- package/lib/codec/market/query.d.ts +0 -233
- package/lib/codec/market/query.js +0 -938
- package/lib/codec/market/tx.d.ts +0 -250
- package/lib/codec/market/tx.js +0 -1265
- package/lib/codec/marketstats/export.d.ts +0 -3
- package/lib/codec/marketstats/export.js +0 -12
- package/lib/codec/marketstats/marketstats.d.ts +0 -31
- package/lib/codec/marketstats/marketstats.js +0 -258
- package/lib/codec/marketstats/params.d.ts +0 -18
- package/lib/codec/marketstats/params.js +0 -46
- package/lib/codec/marketstats/query.d.ts +0 -66
- package/lib/codec/marketstats/query.js +0 -195
- package/lib/codec/marketstats/tx.d.ts +0 -12
- package/lib/codec/marketstats/tx.js +0 -20
- package/lib/codec/misc/block.d.ts +0 -21
- package/lib/codec/misc/block.js +0 -105
- package/lib/codec/misc/export.d.ts +0 -6
- package/lib/codec/misc/export.js +0 -29
- package/lib/codec/misc/message.d.ts +0 -22
- package/lib/codec/misc/message.js +0 -128
- package/lib/codec/misc/message_type.d.ts +0 -18
- package/lib/codec/misc/message_type.js +0 -60
- package/lib/codec/misc/query.d.ts +0 -192
- package/lib/codec/misc/query.js +0 -884
- package/lib/codec/misc/trade.d.ts +0 -28
- package/lib/codec/misc/trade.js +0 -224
- package/lib/codec/misc/transaction.d.ts +0 -45
- package/lib/codec/misc/transaction.js +0 -369
- package/lib/codec/oracle/event.d.ts +0 -37
- package/lib/codec/oracle/event.js +0 -228
- package/lib/codec/oracle/export.d.ts +0 -6
- package/lib/codec/oracle/export.js +0 -58
- package/lib/codec/oracle/genesis.d.ts +0 -28
- package/lib/codec/oracle/genesis.js +0 -141
- package/lib/codec/oracle/oracle.d.ts +0 -94
- package/lib/codec/oracle/oracle.js +0 -650
- package/lib/codec/oracle/proposal.d.ts +0 -21
- package/lib/codec/oracle/proposal.js +0 -91
- package/lib/codec/oracle/query.d.ts +0 -336
- package/lib/codec/oracle/query.js +0 -1551
- package/lib/codec/oracle/slashing.d.ts +0 -33
- package/lib/codec/oracle/slashing.js +0 -191
- package/lib/codec/oracle/tx.d.ts +0 -169
- package/lib/codec/oracle/tx.js +0 -877
- package/lib/codec/order/event.d.ts +0 -23
- package/lib/codec/order/event.js +0 -146
- package/lib/codec/order/export.d.ts +0 -5
- package/lib/codec/order/export.js +0 -39
- package/lib/codec/order/genesis.d.ts +0 -62
- package/lib/codec/order/genesis.js +0 -322
- package/lib/codec/order/order.d.ts +0 -113
- package/lib/codec/order/order.js +0 -875
- package/lib/codec/order/query.d.ts +0 -143
- package/lib/codec/order/query.js +0 -596
- package/lib/codec/order/tx.d.ts +0 -146
- package/lib/codec/order/tx.js +0 -715
- package/lib/codec/perpsliquidity/event.d.ts +0 -115
- package/lib/codec/perpsliquidity/event.js +0 -657
- package/lib/codec/perpsliquidity/genesis.d.ts +0 -36
- package/lib/codec/perpsliquidity/genesis.js +0 -163
- package/lib/codec/perpsliquidity/market.d.ts +0 -84
- package/lib/codec/perpsliquidity/market.js +0 -431
- package/lib/codec/perpsliquidity/params.d.ts +0 -27
- package/lib/codec/perpsliquidity/params.js +0 -129
- package/lib/codec/perpsliquidity/pool.d.ts +0 -119
- package/lib/codec/perpsliquidity/pool.js +0 -774
- package/lib/codec/perpsliquidity/query.d.ts +0 -246
- package/lib/codec/perpsliquidity/query.js +0 -1125
- package/lib/codec/perpsliquidity/tx.d.ts +0 -203
- package/lib/codec/perpsliquidity/tx.js +0 -973
- package/lib/codec/perpspool/event.d.ts +0 -95
- package/lib/codec/perpspool/event.js +0 -561
- package/lib/codec/perpspool/export.d.ts +0 -7
- package/lib/codec/perpspool/export.js +0 -68
- package/lib/codec/perpspool/genesis.d.ts +0 -61
- package/lib/codec/perpspool/genesis.js +0 -343
- package/lib/codec/perpspool/market.d.ts +0 -96
- package/lib/codec/perpspool/market.js +0 -493
- package/lib/codec/perpspool/params.d.ts +0 -30
- package/lib/codec/perpspool/params.js +0 -189
- package/lib/codec/perpspool/pool.d.ts +0 -103
- package/lib/codec/perpspool/pool.js +0 -638
- package/lib/codec/perpspool/query.d.ts +0 -247
- package/lib/codec/perpspool/query.js +0 -1141
- package/lib/codec/perpspool/tx.d.ts +0 -229
- package/lib/codec/perpspool/tx.js +0 -1144
- package/lib/codec/position/event.d.ts +0 -26
- package/lib/codec/position/event.js +0 -180
- package/lib/codec/position/export.d.ts +0 -4
- package/lib/codec/position/export.js +0 -20
- package/lib/codec/position/genesis.d.ts +0 -24
- package/lib/codec/position/genesis.js +0 -64
- package/lib/codec/position/position.d.ts +0 -74
- package/lib/codec/position/position.js +0 -601
- package/lib/codec/position/query.d.ts +0 -92
- package/lib/codec/position/query.js +0 -400
- package/lib/codec/position/tx.d.ts +0 -42
- package/lib/codec/position/tx.js +0 -127
- package/lib/codec/pricing/event.d.ts +0 -74
- package/lib/codec/pricing/event.js +0 -361
- package/lib/codec/pricing/export.d.ts +0 -6
- package/lib/codec/pricing/export.js +0 -45
- package/lib/codec/pricing/genesis.d.ts +0 -26
- package/lib/codec/pricing/genesis.js +0 -95
- package/lib/codec/pricing/legacy.d.ts +0 -22
- package/lib/codec/pricing/legacy.js +0 -93
- package/lib/codec/pricing/pricing.d.ts +0 -60
- package/lib/codec/pricing/pricing.js +0 -456
- package/lib/codec/pricing/proposal.d.ts +0 -31
- package/lib/codec/pricing/proposal.js +0 -148
- package/lib/codec/pricing/query.d.ts +0 -183
- package/lib/codec/pricing/query.js +0 -759
- package/lib/codec/pricing/tx.d.ts +0 -131
- package/lib/codec/pricing/tx.js +0 -529
- package/lib/codec/profile/event.d.ts +0 -20
- package/lib/codec/profile/event.js +0 -78
- package/lib/codec/profile/export.d.ts +0 -4
- package/lib/codec/profile/export.js +0 -17
- package/lib/codec/profile/genesis.d.ts +0 -24
- package/lib/codec/profile/genesis.js +0 -64
- package/lib/codec/profile/profile.d.ts +0 -20
- package/lib/codec/profile/profile.js +0 -83
- package/lib/codec/profile/query.d.ts +0 -92
- package/lib/codec/profile/query.js +0 -360
- package/lib/codec/profile/tx.d.ts +0 -43
- package/lib/codec/profile/tx.js +0 -127
- package/lib/codec/proofs.d.ts +0 -315
- package/lib/codec/proofs.js +0 -1304
- package/lib/codec/query/pagination.d.ts +0 -29
- package/lib/codec/query/pagination.js +0 -126
- package/lib/codec/sequence/export.d.ts +0 -3
- package/lib/codec/sequence/export.js +0 -13
- package/lib/codec/sequence/genesis.d.ts +0 -30
- package/lib/codec/sequence/genesis.js +0 -122
- package/lib/codec/sequence/query.d.ts +0 -63
- package/lib/codec/sequence/query.js +0 -208
- package/lib/codec/sequence/tx.d.ts +0 -41
- package/lib/codec/sequence/tx.js +0 -148
- package/lib/codec/subaccount/export.d.ts +0 -4
- package/lib/codec/subaccount/export.js +0 -35
- package/lib/codec/subaccount/genesis.d.ts +0 -28
- package/lib/codec/subaccount/genesis.js +0 -110
- package/lib/codec/subaccount/legacy.d.ts +0 -19
- package/lib/codec/subaccount/legacy.js +0 -72
- package/lib/codec/subaccount/query.d.ts +0 -229
- package/lib/codec/subaccount/query.js +0 -1026
- package/lib/codec/subaccount/subaccount.d.ts +0 -57
- package/lib/codec/subaccount/subaccount.js +0 -349
- package/lib/codec/subaccount/tx.d.ts +0 -92
- package/lib/codec/subaccount/tx.js +0 -395
- package/lib/constant/amino.d.ts +0 -0
- package/lib/constant/amino.js +0 -1
- package/lib/constant/chainConfig.d.ts +0 -26
- package/lib/constant/chainConfig.js +0 -154
- package/lib/constant/signless.d.ts +0 -2
- package/lib/constant/signless.js +0 -5
- package/lib/modules/feemarket.d.ts +0 -20
- package/lib/modules/feemarket.js +0 -45
- package/lib/modules/perpsliquidity.d.ts +0 -49
- package/lib/modules/perpsliquidity.js +0 -118
- package/lib/modules/signless.d.ts +0 -24
- package/lib/modules/signless.js +0 -108
- package/lib/modules/vault.d.ts +0 -56
- package/lib/modules/vault.js +0 -128
- package/lib/provider/account/EthLedgerAccount/EthLedgerAccount.d.ts +0 -29
- package/lib/provider/account/EthLedgerAccount/EthLedgerAccount.js +0 -178
- package/lib/provider/account/EthLedgerAccount/EthLedgerSigner.d.ts +0 -13
- package/lib/provider/account/EthLedgerAccount/EthLedgerSigner.js +0 -81
- package/lib/provider/account/EthLedgerAccount/index.d.ts +0 -2
- package/lib/provider/account/EthLedgerAccount/index.js +0 -14
- package/lib/provider/amino/types/perpsliquidity.d.ts +0 -4
- package/lib/provider/amino/types/perpsliquidity.js +0 -73
- package/lib/provider/amino/types/signless.d.ts +0 -12
- package/lib/provider/amino/types/signless.js +0 -193
- package/lib/provider/station/StationAccount.d.ts +0 -28
- package/lib/provider/station/StationAccount.js +0 -168
- package/lib/provider/station/index.d.ts +0 -2
- package/lib/provider/station/index.js +0 -10
- package/lib/util/signless.d.ts +0 -11
- package/lib/util/signless.js +0 -92
package/lib/codec/proofs.js
DELETED
|
@@ -1,1304 +0,0 @@
|
|
|
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.CompressedNonExistenceProof = exports.CompressedExistenceProof = exports.CompressedBatchEntry = exports.CompressedBatchProof = exports.BatchEntry = exports.BatchProof = exports.InnerSpec = exports.ProofSpec = exports.InnerOp = exports.LeafOp = exports.CommitmentProof = exports.NonExistenceProof = exports.ExistenceProof = exports.lengthOpToJSON = exports.lengthOpFromJSON = exports.LengthOp = exports.hashOpToJSON = exports.hashOpFromJSON = exports.HashOp = 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 = "ics23";
|
|
11
|
-
var HashOp;
|
|
12
|
-
(function (HashOp) {
|
|
13
|
-
/** NO_HASH - NO_HASH is the default if no data passed. Note this is an illegal argument some places. */
|
|
14
|
-
HashOp[HashOp["NO_HASH"] = 0] = "NO_HASH";
|
|
15
|
-
HashOp[HashOp["SHA256"] = 1] = "SHA256";
|
|
16
|
-
HashOp[HashOp["SHA512"] = 2] = "SHA512";
|
|
17
|
-
HashOp[HashOp["KECCAK"] = 3] = "KECCAK";
|
|
18
|
-
HashOp[HashOp["RIPEMD160"] = 4] = "RIPEMD160";
|
|
19
|
-
/** BITCOIN - ripemd160(sha256(x)) */
|
|
20
|
-
HashOp[HashOp["BITCOIN"] = 5] = "BITCOIN";
|
|
21
|
-
HashOp[HashOp["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
22
|
-
})(HashOp = exports.HashOp || (exports.HashOp = {}));
|
|
23
|
-
function hashOpFromJSON(object) {
|
|
24
|
-
switch (object) {
|
|
25
|
-
case 0:
|
|
26
|
-
case "NO_HASH":
|
|
27
|
-
return HashOp.NO_HASH;
|
|
28
|
-
case 1:
|
|
29
|
-
case "SHA256":
|
|
30
|
-
return HashOp.SHA256;
|
|
31
|
-
case 2:
|
|
32
|
-
case "SHA512":
|
|
33
|
-
return HashOp.SHA512;
|
|
34
|
-
case 3:
|
|
35
|
-
case "KECCAK":
|
|
36
|
-
return HashOp.KECCAK;
|
|
37
|
-
case 4:
|
|
38
|
-
case "RIPEMD160":
|
|
39
|
-
return HashOp.RIPEMD160;
|
|
40
|
-
case 5:
|
|
41
|
-
case "BITCOIN":
|
|
42
|
-
return HashOp.BITCOIN;
|
|
43
|
-
case -1:
|
|
44
|
-
case "UNRECOGNIZED":
|
|
45
|
-
default:
|
|
46
|
-
return HashOp.UNRECOGNIZED;
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
exports.hashOpFromJSON = hashOpFromJSON;
|
|
50
|
-
function hashOpToJSON(object) {
|
|
51
|
-
switch (object) {
|
|
52
|
-
case HashOp.NO_HASH:
|
|
53
|
-
return "NO_HASH";
|
|
54
|
-
case HashOp.SHA256:
|
|
55
|
-
return "SHA256";
|
|
56
|
-
case HashOp.SHA512:
|
|
57
|
-
return "SHA512";
|
|
58
|
-
case HashOp.KECCAK:
|
|
59
|
-
return "KECCAK";
|
|
60
|
-
case HashOp.RIPEMD160:
|
|
61
|
-
return "RIPEMD160";
|
|
62
|
-
case HashOp.BITCOIN:
|
|
63
|
-
return "BITCOIN";
|
|
64
|
-
default:
|
|
65
|
-
return "UNKNOWN";
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
exports.hashOpToJSON = hashOpToJSON;
|
|
69
|
-
/**
|
|
70
|
-
* LengthOp defines how to process the key and value of the LeafOp
|
|
71
|
-
* to include length information. After encoding the length with the given
|
|
72
|
-
* algorithm, the length will be prepended to the key and value bytes.
|
|
73
|
-
* (Each one with it's own encoded length)
|
|
74
|
-
*/
|
|
75
|
-
var LengthOp;
|
|
76
|
-
(function (LengthOp) {
|
|
77
|
-
/** NO_PREFIX - NO_PREFIX don't include any length info */
|
|
78
|
-
LengthOp[LengthOp["NO_PREFIX"] = 0] = "NO_PREFIX";
|
|
79
|
-
/** VAR_PROTO - VAR_PROTO uses protobuf (and go-amino) varint encoding of the length */
|
|
80
|
-
LengthOp[LengthOp["VAR_PROTO"] = 1] = "VAR_PROTO";
|
|
81
|
-
/** VAR_RLP - VAR_RLP uses rlp int encoding of the length */
|
|
82
|
-
LengthOp[LengthOp["VAR_RLP"] = 2] = "VAR_RLP";
|
|
83
|
-
/** FIXED32_BIG - FIXED32_BIG uses big-endian encoding of the length as a 32 bit integer */
|
|
84
|
-
LengthOp[LengthOp["FIXED32_BIG"] = 3] = "FIXED32_BIG";
|
|
85
|
-
/** FIXED32_LITTLE - FIXED32_LITTLE uses little-endian encoding of the length as a 32 bit integer */
|
|
86
|
-
LengthOp[LengthOp["FIXED32_LITTLE"] = 4] = "FIXED32_LITTLE";
|
|
87
|
-
/** FIXED64_BIG - FIXED64_BIG uses big-endian encoding of the length as a 64 bit integer */
|
|
88
|
-
LengthOp[LengthOp["FIXED64_BIG"] = 5] = "FIXED64_BIG";
|
|
89
|
-
/** FIXED64_LITTLE - FIXED64_LITTLE uses little-endian encoding of the length as a 64 bit integer */
|
|
90
|
-
LengthOp[LengthOp["FIXED64_LITTLE"] = 6] = "FIXED64_LITTLE";
|
|
91
|
-
/** REQUIRE_32_BYTES - REQUIRE_32_BYTES is like NONE, but will fail if the input is not exactly 32 bytes (sha256 output) */
|
|
92
|
-
LengthOp[LengthOp["REQUIRE_32_BYTES"] = 7] = "REQUIRE_32_BYTES";
|
|
93
|
-
/** REQUIRE_64_BYTES - REQUIRE_64_BYTES is like NONE, but will fail if the input is not exactly 64 bytes (sha512 output) */
|
|
94
|
-
LengthOp[LengthOp["REQUIRE_64_BYTES"] = 8] = "REQUIRE_64_BYTES";
|
|
95
|
-
LengthOp[LengthOp["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
96
|
-
})(LengthOp = exports.LengthOp || (exports.LengthOp = {}));
|
|
97
|
-
function lengthOpFromJSON(object) {
|
|
98
|
-
switch (object) {
|
|
99
|
-
case 0:
|
|
100
|
-
case "NO_PREFIX":
|
|
101
|
-
return LengthOp.NO_PREFIX;
|
|
102
|
-
case 1:
|
|
103
|
-
case "VAR_PROTO":
|
|
104
|
-
return LengthOp.VAR_PROTO;
|
|
105
|
-
case 2:
|
|
106
|
-
case "VAR_RLP":
|
|
107
|
-
return LengthOp.VAR_RLP;
|
|
108
|
-
case 3:
|
|
109
|
-
case "FIXED32_BIG":
|
|
110
|
-
return LengthOp.FIXED32_BIG;
|
|
111
|
-
case 4:
|
|
112
|
-
case "FIXED32_LITTLE":
|
|
113
|
-
return LengthOp.FIXED32_LITTLE;
|
|
114
|
-
case 5:
|
|
115
|
-
case "FIXED64_BIG":
|
|
116
|
-
return LengthOp.FIXED64_BIG;
|
|
117
|
-
case 6:
|
|
118
|
-
case "FIXED64_LITTLE":
|
|
119
|
-
return LengthOp.FIXED64_LITTLE;
|
|
120
|
-
case 7:
|
|
121
|
-
case "REQUIRE_32_BYTES":
|
|
122
|
-
return LengthOp.REQUIRE_32_BYTES;
|
|
123
|
-
case 8:
|
|
124
|
-
case "REQUIRE_64_BYTES":
|
|
125
|
-
return LengthOp.REQUIRE_64_BYTES;
|
|
126
|
-
case -1:
|
|
127
|
-
case "UNRECOGNIZED":
|
|
128
|
-
default:
|
|
129
|
-
return LengthOp.UNRECOGNIZED;
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
exports.lengthOpFromJSON = lengthOpFromJSON;
|
|
133
|
-
function lengthOpToJSON(object) {
|
|
134
|
-
switch (object) {
|
|
135
|
-
case LengthOp.NO_PREFIX:
|
|
136
|
-
return "NO_PREFIX";
|
|
137
|
-
case LengthOp.VAR_PROTO:
|
|
138
|
-
return "VAR_PROTO";
|
|
139
|
-
case LengthOp.VAR_RLP:
|
|
140
|
-
return "VAR_RLP";
|
|
141
|
-
case LengthOp.FIXED32_BIG:
|
|
142
|
-
return "FIXED32_BIG";
|
|
143
|
-
case LengthOp.FIXED32_LITTLE:
|
|
144
|
-
return "FIXED32_LITTLE";
|
|
145
|
-
case LengthOp.FIXED64_BIG:
|
|
146
|
-
return "FIXED64_BIG";
|
|
147
|
-
case LengthOp.FIXED64_LITTLE:
|
|
148
|
-
return "FIXED64_LITTLE";
|
|
149
|
-
case LengthOp.REQUIRE_32_BYTES:
|
|
150
|
-
return "REQUIRE_32_BYTES";
|
|
151
|
-
case LengthOp.REQUIRE_64_BYTES:
|
|
152
|
-
return "REQUIRE_64_BYTES";
|
|
153
|
-
default:
|
|
154
|
-
return "UNKNOWN";
|
|
155
|
-
}
|
|
156
|
-
}
|
|
157
|
-
exports.lengthOpToJSON = lengthOpToJSON;
|
|
158
|
-
const baseExistenceProof = {};
|
|
159
|
-
exports.ExistenceProof = {
|
|
160
|
-
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
161
|
-
if (message.key.length !== 0) {
|
|
162
|
-
writer.uint32(10).bytes(message.key);
|
|
163
|
-
}
|
|
164
|
-
if (message.value.length !== 0) {
|
|
165
|
-
writer.uint32(18).bytes(message.value);
|
|
166
|
-
}
|
|
167
|
-
if (message.leaf !== undefined) {
|
|
168
|
-
exports.LeafOp.encode(message.leaf, writer.uint32(26).fork()).ldelim();
|
|
169
|
-
}
|
|
170
|
-
for (const v of message.path) {
|
|
171
|
-
exports.InnerOp.encode(v, writer.uint32(34).fork()).ldelim();
|
|
172
|
-
}
|
|
173
|
-
return writer;
|
|
174
|
-
},
|
|
175
|
-
decode(input, length) {
|
|
176
|
-
const reader = input instanceof minimal_1.default.Reader ? input : new minimal_1.default.Reader(input);
|
|
177
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
178
|
-
const message = Object.assign({}, baseExistenceProof);
|
|
179
|
-
message.path = [];
|
|
180
|
-
message.key = new Uint8Array();
|
|
181
|
-
message.value = new Uint8Array();
|
|
182
|
-
while (reader.pos < end) {
|
|
183
|
-
const tag = reader.uint32();
|
|
184
|
-
switch (tag >>> 3) {
|
|
185
|
-
case 1:
|
|
186
|
-
message.key = reader.bytes();
|
|
187
|
-
break;
|
|
188
|
-
case 2:
|
|
189
|
-
message.value = reader.bytes();
|
|
190
|
-
break;
|
|
191
|
-
case 3:
|
|
192
|
-
message.leaf = exports.LeafOp.decode(reader, reader.uint32());
|
|
193
|
-
break;
|
|
194
|
-
case 4:
|
|
195
|
-
message.path.push(exports.InnerOp.decode(reader, reader.uint32()));
|
|
196
|
-
break;
|
|
197
|
-
default:
|
|
198
|
-
reader.skipType(tag & 7);
|
|
199
|
-
break;
|
|
200
|
-
}
|
|
201
|
-
}
|
|
202
|
-
return message;
|
|
203
|
-
},
|
|
204
|
-
fromJSON(object) {
|
|
205
|
-
var _a;
|
|
206
|
-
const message = Object.assign({}, baseExistenceProof);
|
|
207
|
-
message.key =
|
|
208
|
-
object.key !== undefined && object.key !== null
|
|
209
|
-
? bytesFromBase64(object.key)
|
|
210
|
-
: new Uint8Array();
|
|
211
|
-
message.value =
|
|
212
|
-
object.value !== undefined && object.value !== null
|
|
213
|
-
? bytesFromBase64(object.value)
|
|
214
|
-
: new Uint8Array();
|
|
215
|
-
message.leaf =
|
|
216
|
-
object.leaf !== undefined && object.leaf !== null
|
|
217
|
-
? exports.LeafOp.fromJSON(object.leaf)
|
|
218
|
-
: undefined;
|
|
219
|
-
message.path = ((_a = object.path) !== null && _a !== void 0 ? _a : []).map((e) => exports.InnerOp.fromJSON(e));
|
|
220
|
-
return message;
|
|
221
|
-
},
|
|
222
|
-
toJSON(message) {
|
|
223
|
-
const obj = {};
|
|
224
|
-
message.key !== undefined &&
|
|
225
|
-
(obj.key = base64FromBytes(message.key !== undefined ? message.key : new Uint8Array()));
|
|
226
|
-
message.value !== undefined &&
|
|
227
|
-
(obj.value = base64FromBytes(message.value !== undefined ? message.value : new Uint8Array()));
|
|
228
|
-
message.leaf !== undefined &&
|
|
229
|
-
(obj.leaf = message.leaf ? exports.LeafOp.toJSON(message.leaf) : undefined);
|
|
230
|
-
if (message.path) {
|
|
231
|
-
obj.path = message.path.map((e) => (e ? exports.InnerOp.toJSON(e) : undefined));
|
|
232
|
-
}
|
|
233
|
-
else {
|
|
234
|
-
obj.path = [];
|
|
235
|
-
}
|
|
236
|
-
return obj;
|
|
237
|
-
},
|
|
238
|
-
fromPartial(object) {
|
|
239
|
-
var _a, _b, _c;
|
|
240
|
-
const message = Object.assign({}, baseExistenceProof);
|
|
241
|
-
message.key = (_a = object.key) !== null && _a !== void 0 ? _a : new Uint8Array();
|
|
242
|
-
message.value = (_b = object.value) !== null && _b !== void 0 ? _b : new Uint8Array();
|
|
243
|
-
message.leaf =
|
|
244
|
-
object.leaf !== undefined && object.leaf !== null
|
|
245
|
-
? exports.LeafOp.fromPartial(object.leaf)
|
|
246
|
-
: undefined;
|
|
247
|
-
message.path = ((_c = object.path) !== null && _c !== void 0 ? _c : []).map((e) => exports.InnerOp.fromPartial(e));
|
|
248
|
-
return message;
|
|
249
|
-
},
|
|
250
|
-
};
|
|
251
|
-
const baseNonExistenceProof = {};
|
|
252
|
-
exports.NonExistenceProof = {
|
|
253
|
-
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
254
|
-
if (message.key.length !== 0) {
|
|
255
|
-
writer.uint32(10).bytes(message.key);
|
|
256
|
-
}
|
|
257
|
-
if (message.left !== undefined) {
|
|
258
|
-
exports.ExistenceProof.encode(message.left, writer.uint32(18).fork()).ldelim();
|
|
259
|
-
}
|
|
260
|
-
if (message.right !== undefined) {
|
|
261
|
-
exports.ExistenceProof.encode(message.right, writer.uint32(26).fork()).ldelim();
|
|
262
|
-
}
|
|
263
|
-
return writer;
|
|
264
|
-
},
|
|
265
|
-
decode(input, length) {
|
|
266
|
-
const reader = input instanceof minimal_1.default.Reader ? input : new minimal_1.default.Reader(input);
|
|
267
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
268
|
-
const message = Object.assign({}, baseNonExistenceProof);
|
|
269
|
-
message.key = new Uint8Array();
|
|
270
|
-
while (reader.pos < end) {
|
|
271
|
-
const tag = reader.uint32();
|
|
272
|
-
switch (tag >>> 3) {
|
|
273
|
-
case 1:
|
|
274
|
-
message.key = reader.bytes();
|
|
275
|
-
break;
|
|
276
|
-
case 2:
|
|
277
|
-
message.left = exports.ExistenceProof.decode(reader, reader.uint32());
|
|
278
|
-
break;
|
|
279
|
-
case 3:
|
|
280
|
-
message.right = exports.ExistenceProof.decode(reader, reader.uint32());
|
|
281
|
-
break;
|
|
282
|
-
default:
|
|
283
|
-
reader.skipType(tag & 7);
|
|
284
|
-
break;
|
|
285
|
-
}
|
|
286
|
-
}
|
|
287
|
-
return message;
|
|
288
|
-
},
|
|
289
|
-
fromJSON(object) {
|
|
290
|
-
const message = Object.assign({}, baseNonExistenceProof);
|
|
291
|
-
message.key =
|
|
292
|
-
object.key !== undefined && object.key !== null
|
|
293
|
-
? bytesFromBase64(object.key)
|
|
294
|
-
: new Uint8Array();
|
|
295
|
-
message.left =
|
|
296
|
-
object.left !== undefined && object.left !== null
|
|
297
|
-
? exports.ExistenceProof.fromJSON(object.left)
|
|
298
|
-
: undefined;
|
|
299
|
-
message.right =
|
|
300
|
-
object.right !== undefined && object.right !== null
|
|
301
|
-
? exports.ExistenceProof.fromJSON(object.right)
|
|
302
|
-
: undefined;
|
|
303
|
-
return message;
|
|
304
|
-
},
|
|
305
|
-
toJSON(message) {
|
|
306
|
-
const obj = {};
|
|
307
|
-
message.key !== undefined &&
|
|
308
|
-
(obj.key = base64FromBytes(message.key !== undefined ? message.key : new Uint8Array()));
|
|
309
|
-
message.left !== undefined &&
|
|
310
|
-
(obj.left = message.left
|
|
311
|
-
? exports.ExistenceProof.toJSON(message.left)
|
|
312
|
-
: undefined);
|
|
313
|
-
message.right !== undefined &&
|
|
314
|
-
(obj.right = message.right
|
|
315
|
-
? exports.ExistenceProof.toJSON(message.right)
|
|
316
|
-
: undefined);
|
|
317
|
-
return obj;
|
|
318
|
-
},
|
|
319
|
-
fromPartial(object) {
|
|
320
|
-
var _a;
|
|
321
|
-
const message = Object.assign({}, baseNonExistenceProof);
|
|
322
|
-
message.key = (_a = object.key) !== null && _a !== void 0 ? _a : new Uint8Array();
|
|
323
|
-
message.left =
|
|
324
|
-
object.left !== undefined && object.left !== null
|
|
325
|
-
? exports.ExistenceProof.fromPartial(object.left)
|
|
326
|
-
: undefined;
|
|
327
|
-
message.right =
|
|
328
|
-
object.right !== undefined && object.right !== null
|
|
329
|
-
? exports.ExistenceProof.fromPartial(object.right)
|
|
330
|
-
: undefined;
|
|
331
|
-
return message;
|
|
332
|
-
},
|
|
333
|
-
};
|
|
334
|
-
const baseCommitmentProof = {};
|
|
335
|
-
exports.CommitmentProof = {
|
|
336
|
-
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
337
|
-
if (message.exist !== undefined) {
|
|
338
|
-
exports.ExistenceProof.encode(message.exist, writer.uint32(10).fork()).ldelim();
|
|
339
|
-
}
|
|
340
|
-
if (message.nonexist !== undefined) {
|
|
341
|
-
exports.NonExistenceProof.encode(message.nonexist, writer.uint32(18).fork()).ldelim();
|
|
342
|
-
}
|
|
343
|
-
if (message.batch !== undefined) {
|
|
344
|
-
exports.BatchProof.encode(message.batch, writer.uint32(26).fork()).ldelim();
|
|
345
|
-
}
|
|
346
|
-
if (message.compressed !== undefined) {
|
|
347
|
-
exports.CompressedBatchProof.encode(message.compressed, writer.uint32(34).fork()).ldelim();
|
|
348
|
-
}
|
|
349
|
-
return writer;
|
|
350
|
-
},
|
|
351
|
-
decode(input, length) {
|
|
352
|
-
const reader = input instanceof minimal_1.default.Reader ? input : new minimal_1.default.Reader(input);
|
|
353
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
354
|
-
const message = Object.assign({}, baseCommitmentProof);
|
|
355
|
-
while (reader.pos < end) {
|
|
356
|
-
const tag = reader.uint32();
|
|
357
|
-
switch (tag >>> 3) {
|
|
358
|
-
case 1:
|
|
359
|
-
message.exist = exports.ExistenceProof.decode(reader, reader.uint32());
|
|
360
|
-
break;
|
|
361
|
-
case 2:
|
|
362
|
-
message.nonexist = exports.NonExistenceProof.decode(reader, reader.uint32());
|
|
363
|
-
break;
|
|
364
|
-
case 3:
|
|
365
|
-
message.batch = exports.BatchProof.decode(reader, reader.uint32());
|
|
366
|
-
break;
|
|
367
|
-
case 4:
|
|
368
|
-
message.compressed = exports.CompressedBatchProof.decode(reader, reader.uint32());
|
|
369
|
-
break;
|
|
370
|
-
default:
|
|
371
|
-
reader.skipType(tag & 7);
|
|
372
|
-
break;
|
|
373
|
-
}
|
|
374
|
-
}
|
|
375
|
-
return message;
|
|
376
|
-
},
|
|
377
|
-
fromJSON(object) {
|
|
378
|
-
const message = Object.assign({}, baseCommitmentProof);
|
|
379
|
-
message.exist =
|
|
380
|
-
object.exist !== undefined && object.exist !== null
|
|
381
|
-
? exports.ExistenceProof.fromJSON(object.exist)
|
|
382
|
-
: undefined;
|
|
383
|
-
message.nonexist =
|
|
384
|
-
object.nonexist !== undefined && object.nonexist !== null
|
|
385
|
-
? exports.NonExistenceProof.fromJSON(object.nonexist)
|
|
386
|
-
: undefined;
|
|
387
|
-
message.batch =
|
|
388
|
-
object.batch !== undefined && object.batch !== null
|
|
389
|
-
? exports.BatchProof.fromJSON(object.batch)
|
|
390
|
-
: undefined;
|
|
391
|
-
message.compressed =
|
|
392
|
-
object.compressed !== undefined && object.compressed !== null
|
|
393
|
-
? exports.CompressedBatchProof.fromJSON(object.compressed)
|
|
394
|
-
: undefined;
|
|
395
|
-
return message;
|
|
396
|
-
},
|
|
397
|
-
toJSON(message) {
|
|
398
|
-
const obj = {};
|
|
399
|
-
message.exist !== undefined &&
|
|
400
|
-
(obj.exist = message.exist
|
|
401
|
-
? exports.ExistenceProof.toJSON(message.exist)
|
|
402
|
-
: undefined);
|
|
403
|
-
message.nonexist !== undefined &&
|
|
404
|
-
(obj.nonexist = message.nonexist
|
|
405
|
-
? exports.NonExistenceProof.toJSON(message.nonexist)
|
|
406
|
-
: undefined);
|
|
407
|
-
message.batch !== undefined &&
|
|
408
|
-
(obj.batch = message.batch
|
|
409
|
-
? exports.BatchProof.toJSON(message.batch)
|
|
410
|
-
: undefined);
|
|
411
|
-
message.compressed !== undefined &&
|
|
412
|
-
(obj.compressed = message.compressed
|
|
413
|
-
? exports.CompressedBatchProof.toJSON(message.compressed)
|
|
414
|
-
: undefined);
|
|
415
|
-
return obj;
|
|
416
|
-
},
|
|
417
|
-
fromPartial(object) {
|
|
418
|
-
const message = Object.assign({}, baseCommitmentProof);
|
|
419
|
-
message.exist =
|
|
420
|
-
object.exist !== undefined && object.exist !== null
|
|
421
|
-
? exports.ExistenceProof.fromPartial(object.exist)
|
|
422
|
-
: undefined;
|
|
423
|
-
message.nonexist =
|
|
424
|
-
object.nonexist !== undefined && object.nonexist !== null
|
|
425
|
-
? exports.NonExistenceProof.fromPartial(object.nonexist)
|
|
426
|
-
: undefined;
|
|
427
|
-
message.batch =
|
|
428
|
-
object.batch !== undefined && object.batch !== null
|
|
429
|
-
? exports.BatchProof.fromPartial(object.batch)
|
|
430
|
-
: undefined;
|
|
431
|
-
message.compressed =
|
|
432
|
-
object.compressed !== undefined && object.compressed !== null
|
|
433
|
-
? exports.CompressedBatchProof.fromPartial(object.compressed)
|
|
434
|
-
: undefined;
|
|
435
|
-
return message;
|
|
436
|
-
},
|
|
437
|
-
};
|
|
438
|
-
const baseLeafOp = {
|
|
439
|
-
hash: 0,
|
|
440
|
-
prehashKey: 0,
|
|
441
|
-
prehashValue: 0,
|
|
442
|
-
length: 0,
|
|
443
|
-
};
|
|
444
|
-
exports.LeafOp = {
|
|
445
|
-
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
446
|
-
if (message.hash !== 0) {
|
|
447
|
-
writer.uint32(8).int32(message.hash);
|
|
448
|
-
}
|
|
449
|
-
if (message.prehashKey !== 0) {
|
|
450
|
-
writer.uint32(16).int32(message.prehashKey);
|
|
451
|
-
}
|
|
452
|
-
if (message.prehashValue !== 0) {
|
|
453
|
-
writer.uint32(24).int32(message.prehashValue);
|
|
454
|
-
}
|
|
455
|
-
if (message.length !== 0) {
|
|
456
|
-
writer.uint32(32).int32(message.length);
|
|
457
|
-
}
|
|
458
|
-
if (message.prefix.length !== 0) {
|
|
459
|
-
writer.uint32(42).bytes(message.prefix);
|
|
460
|
-
}
|
|
461
|
-
return writer;
|
|
462
|
-
},
|
|
463
|
-
decode(input, length) {
|
|
464
|
-
const reader = input instanceof minimal_1.default.Reader ? input : new minimal_1.default.Reader(input);
|
|
465
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
466
|
-
const message = Object.assign({}, baseLeafOp);
|
|
467
|
-
message.prefix = new Uint8Array();
|
|
468
|
-
while (reader.pos < end) {
|
|
469
|
-
const tag = reader.uint32();
|
|
470
|
-
switch (tag >>> 3) {
|
|
471
|
-
case 1:
|
|
472
|
-
message.hash = reader.int32();
|
|
473
|
-
break;
|
|
474
|
-
case 2:
|
|
475
|
-
message.prehashKey = reader.int32();
|
|
476
|
-
break;
|
|
477
|
-
case 3:
|
|
478
|
-
message.prehashValue = reader.int32();
|
|
479
|
-
break;
|
|
480
|
-
case 4:
|
|
481
|
-
message.length = reader.int32();
|
|
482
|
-
break;
|
|
483
|
-
case 5:
|
|
484
|
-
message.prefix = reader.bytes();
|
|
485
|
-
break;
|
|
486
|
-
default:
|
|
487
|
-
reader.skipType(tag & 7);
|
|
488
|
-
break;
|
|
489
|
-
}
|
|
490
|
-
}
|
|
491
|
-
return message;
|
|
492
|
-
},
|
|
493
|
-
fromJSON(object) {
|
|
494
|
-
const message = Object.assign({}, baseLeafOp);
|
|
495
|
-
message.hash =
|
|
496
|
-
object.hash !== undefined && object.hash !== null
|
|
497
|
-
? hashOpFromJSON(object.hash)
|
|
498
|
-
: 0;
|
|
499
|
-
message.prehashKey =
|
|
500
|
-
object.prehashKey !== undefined && object.prehashKey !== null
|
|
501
|
-
? hashOpFromJSON(object.prehashKey)
|
|
502
|
-
: 0;
|
|
503
|
-
message.prehashValue =
|
|
504
|
-
object.prehashValue !== undefined && object.prehashValue !== null
|
|
505
|
-
? hashOpFromJSON(object.prehashValue)
|
|
506
|
-
: 0;
|
|
507
|
-
message.length =
|
|
508
|
-
object.length !== undefined && object.length !== null
|
|
509
|
-
? lengthOpFromJSON(object.length)
|
|
510
|
-
: 0;
|
|
511
|
-
message.prefix =
|
|
512
|
-
object.prefix !== undefined && object.prefix !== null
|
|
513
|
-
? bytesFromBase64(object.prefix)
|
|
514
|
-
: new Uint8Array();
|
|
515
|
-
return message;
|
|
516
|
-
},
|
|
517
|
-
toJSON(message) {
|
|
518
|
-
const obj = {};
|
|
519
|
-
message.hash !== undefined && (obj.hash = hashOpToJSON(message.hash));
|
|
520
|
-
message.prehashKey !== undefined &&
|
|
521
|
-
(obj.prehashKey = hashOpToJSON(message.prehashKey));
|
|
522
|
-
message.prehashValue !== undefined &&
|
|
523
|
-
(obj.prehashValue = hashOpToJSON(message.prehashValue));
|
|
524
|
-
message.length !== undefined &&
|
|
525
|
-
(obj.length = lengthOpToJSON(message.length));
|
|
526
|
-
message.prefix !== undefined &&
|
|
527
|
-
(obj.prefix = base64FromBytes(message.prefix !== undefined ? message.prefix : new Uint8Array()));
|
|
528
|
-
return obj;
|
|
529
|
-
},
|
|
530
|
-
fromPartial(object) {
|
|
531
|
-
var _a, _b, _c, _d, _e;
|
|
532
|
-
const message = Object.assign({}, baseLeafOp);
|
|
533
|
-
message.hash = (_a = object.hash) !== null && _a !== void 0 ? _a : 0;
|
|
534
|
-
message.prehashKey = (_b = object.prehashKey) !== null && _b !== void 0 ? _b : 0;
|
|
535
|
-
message.prehashValue = (_c = object.prehashValue) !== null && _c !== void 0 ? _c : 0;
|
|
536
|
-
message.length = (_d = object.length) !== null && _d !== void 0 ? _d : 0;
|
|
537
|
-
message.prefix = (_e = object.prefix) !== null && _e !== void 0 ? _e : new Uint8Array();
|
|
538
|
-
return message;
|
|
539
|
-
},
|
|
540
|
-
};
|
|
541
|
-
const baseInnerOp = { hash: 0 };
|
|
542
|
-
exports.InnerOp = {
|
|
543
|
-
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
544
|
-
if (message.hash !== 0) {
|
|
545
|
-
writer.uint32(8).int32(message.hash);
|
|
546
|
-
}
|
|
547
|
-
if (message.prefix.length !== 0) {
|
|
548
|
-
writer.uint32(18).bytes(message.prefix);
|
|
549
|
-
}
|
|
550
|
-
if (message.suffix.length !== 0) {
|
|
551
|
-
writer.uint32(26).bytes(message.suffix);
|
|
552
|
-
}
|
|
553
|
-
return writer;
|
|
554
|
-
},
|
|
555
|
-
decode(input, length) {
|
|
556
|
-
const reader = input instanceof minimal_1.default.Reader ? input : new minimal_1.default.Reader(input);
|
|
557
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
558
|
-
const message = Object.assign({}, baseInnerOp);
|
|
559
|
-
message.prefix = new Uint8Array();
|
|
560
|
-
message.suffix = new Uint8Array();
|
|
561
|
-
while (reader.pos < end) {
|
|
562
|
-
const tag = reader.uint32();
|
|
563
|
-
switch (tag >>> 3) {
|
|
564
|
-
case 1:
|
|
565
|
-
message.hash = reader.int32();
|
|
566
|
-
break;
|
|
567
|
-
case 2:
|
|
568
|
-
message.prefix = reader.bytes();
|
|
569
|
-
break;
|
|
570
|
-
case 3:
|
|
571
|
-
message.suffix = reader.bytes();
|
|
572
|
-
break;
|
|
573
|
-
default:
|
|
574
|
-
reader.skipType(tag & 7);
|
|
575
|
-
break;
|
|
576
|
-
}
|
|
577
|
-
}
|
|
578
|
-
return message;
|
|
579
|
-
},
|
|
580
|
-
fromJSON(object) {
|
|
581
|
-
const message = Object.assign({}, baseInnerOp);
|
|
582
|
-
message.hash =
|
|
583
|
-
object.hash !== undefined && object.hash !== null
|
|
584
|
-
? hashOpFromJSON(object.hash)
|
|
585
|
-
: 0;
|
|
586
|
-
message.prefix =
|
|
587
|
-
object.prefix !== undefined && object.prefix !== null
|
|
588
|
-
? bytesFromBase64(object.prefix)
|
|
589
|
-
: new Uint8Array();
|
|
590
|
-
message.suffix =
|
|
591
|
-
object.suffix !== undefined && object.suffix !== null
|
|
592
|
-
? bytesFromBase64(object.suffix)
|
|
593
|
-
: new Uint8Array();
|
|
594
|
-
return message;
|
|
595
|
-
},
|
|
596
|
-
toJSON(message) {
|
|
597
|
-
const obj = {};
|
|
598
|
-
message.hash !== undefined && (obj.hash = hashOpToJSON(message.hash));
|
|
599
|
-
message.prefix !== undefined &&
|
|
600
|
-
(obj.prefix = base64FromBytes(message.prefix !== undefined ? message.prefix : new Uint8Array()));
|
|
601
|
-
message.suffix !== undefined &&
|
|
602
|
-
(obj.suffix = base64FromBytes(message.suffix !== undefined ? message.suffix : new Uint8Array()));
|
|
603
|
-
return obj;
|
|
604
|
-
},
|
|
605
|
-
fromPartial(object) {
|
|
606
|
-
var _a, _b, _c;
|
|
607
|
-
const message = Object.assign({}, baseInnerOp);
|
|
608
|
-
message.hash = (_a = object.hash) !== null && _a !== void 0 ? _a : 0;
|
|
609
|
-
message.prefix = (_b = object.prefix) !== null && _b !== void 0 ? _b : new Uint8Array();
|
|
610
|
-
message.suffix = (_c = object.suffix) !== null && _c !== void 0 ? _c : new Uint8Array();
|
|
611
|
-
return message;
|
|
612
|
-
},
|
|
613
|
-
};
|
|
614
|
-
const baseProofSpec = { maxDepth: 0, minDepth: 0 };
|
|
615
|
-
exports.ProofSpec = {
|
|
616
|
-
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
617
|
-
if (message.leafSpec !== undefined) {
|
|
618
|
-
exports.LeafOp.encode(message.leafSpec, writer.uint32(10).fork()).ldelim();
|
|
619
|
-
}
|
|
620
|
-
if (message.innerSpec !== undefined) {
|
|
621
|
-
exports.InnerSpec.encode(message.innerSpec, writer.uint32(18).fork()).ldelim();
|
|
622
|
-
}
|
|
623
|
-
if (message.maxDepth !== 0) {
|
|
624
|
-
writer.uint32(24).int32(message.maxDepth);
|
|
625
|
-
}
|
|
626
|
-
if (message.minDepth !== 0) {
|
|
627
|
-
writer.uint32(32).int32(message.minDepth);
|
|
628
|
-
}
|
|
629
|
-
return writer;
|
|
630
|
-
},
|
|
631
|
-
decode(input, length) {
|
|
632
|
-
const reader = input instanceof minimal_1.default.Reader ? input : new minimal_1.default.Reader(input);
|
|
633
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
634
|
-
const message = Object.assign({}, baseProofSpec);
|
|
635
|
-
while (reader.pos < end) {
|
|
636
|
-
const tag = reader.uint32();
|
|
637
|
-
switch (tag >>> 3) {
|
|
638
|
-
case 1:
|
|
639
|
-
message.leafSpec = exports.LeafOp.decode(reader, reader.uint32());
|
|
640
|
-
break;
|
|
641
|
-
case 2:
|
|
642
|
-
message.innerSpec = exports.InnerSpec.decode(reader, reader.uint32());
|
|
643
|
-
break;
|
|
644
|
-
case 3:
|
|
645
|
-
message.maxDepth = reader.int32();
|
|
646
|
-
break;
|
|
647
|
-
case 4:
|
|
648
|
-
message.minDepth = reader.int32();
|
|
649
|
-
break;
|
|
650
|
-
default:
|
|
651
|
-
reader.skipType(tag & 7);
|
|
652
|
-
break;
|
|
653
|
-
}
|
|
654
|
-
}
|
|
655
|
-
return message;
|
|
656
|
-
},
|
|
657
|
-
fromJSON(object) {
|
|
658
|
-
const message = Object.assign({}, baseProofSpec);
|
|
659
|
-
message.leafSpec =
|
|
660
|
-
object.leafSpec !== undefined && object.leafSpec !== null
|
|
661
|
-
? exports.LeafOp.fromJSON(object.leafSpec)
|
|
662
|
-
: undefined;
|
|
663
|
-
message.innerSpec =
|
|
664
|
-
object.innerSpec !== undefined && object.innerSpec !== null
|
|
665
|
-
? exports.InnerSpec.fromJSON(object.innerSpec)
|
|
666
|
-
: undefined;
|
|
667
|
-
message.maxDepth =
|
|
668
|
-
object.maxDepth !== undefined && object.maxDepth !== null
|
|
669
|
-
? Number(object.maxDepth)
|
|
670
|
-
: 0;
|
|
671
|
-
message.minDepth =
|
|
672
|
-
object.minDepth !== undefined && object.minDepth !== null
|
|
673
|
-
? Number(object.minDepth)
|
|
674
|
-
: 0;
|
|
675
|
-
return message;
|
|
676
|
-
},
|
|
677
|
-
toJSON(message) {
|
|
678
|
-
const obj = {};
|
|
679
|
-
message.leafSpec !== undefined &&
|
|
680
|
-
(obj.leafSpec = message.leafSpec
|
|
681
|
-
? exports.LeafOp.toJSON(message.leafSpec)
|
|
682
|
-
: undefined);
|
|
683
|
-
message.innerSpec !== undefined &&
|
|
684
|
-
(obj.innerSpec = message.innerSpec
|
|
685
|
-
? exports.InnerSpec.toJSON(message.innerSpec)
|
|
686
|
-
: undefined);
|
|
687
|
-
message.maxDepth !== undefined && (obj.maxDepth = message.maxDepth);
|
|
688
|
-
message.minDepth !== undefined && (obj.minDepth = message.minDepth);
|
|
689
|
-
return obj;
|
|
690
|
-
},
|
|
691
|
-
fromPartial(object) {
|
|
692
|
-
var _a, _b;
|
|
693
|
-
const message = Object.assign({}, baseProofSpec);
|
|
694
|
-
message.leafSpec =
|
|
695
|
-
object.leafSpec !== undefined && object.leafSpec !== null
|
|
696
|
-
? exports.LeafOp.fromPartial(object.leafSpec)
|
|
697
|
-
: undefined;
|
|
698
|
-
message.innerSpec =
|
|
699
|
-
object.innerSpec !== undefined && object.innerSpec !== null
|
|
700
|
-
? exports.InnerSpec.fromPartial(object.innerSpec)
|
|
701
|
-
: undefined;
|
|
702
|
-
message.maxDepth = (_a = object.maxDepth) !== null && _a !== void 0 ? _a : 0;
|
|
703
|
-
message.minDepth = (_b = object.minDepth) !== null && _b !== void 0 ? _b : 0;
|
|
704
|
-
return message;
|
|
705
|
-
},
|
|
706
|
-
};
|
|
707
|
-
const baseInnerSpec = {
|
|
708
|
-
childOrder: 0,
|
|
709
|
-
childSize: 0,
|
|
710
|
-
minPrefixLength: 0,
|
|
711
|
-
maxPrefixLength: 0,
|
|
712
|
-
hash: 0,
|
|
713
|
-
};
|
|
714
|
-
exports.InnerSpec = {
|
|
715
|
-
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
716
|
-
writer.uint32(10).fork();
|
|
717
|
-
for (const v of message.childOrder) {
|
|
718
|
-
writer.int32(v);
|
|
719
|
-
}
|
|
720
|
-
writer.ldelim();
|
|
721
|
-
if (message.childSize !== 0) {
|
|
722
|
-
writer.uint32(16).int32(message.childSize);
|
|
723
|
-
}
|
|
724
|
-
if (message.minPrefixLength !== 0) {
|
|
725
|
-
writer.uint32(24).int32(message.minPrefixLength);
|
|
726
|
-
}
|
|
727
|
-
if (message.maxPrefixLength !== 0) {
|
|
728
|
-
writer.uint32(32).int32(message.maxPrefixLength);
|
|
729
|
-
}
|
|
730
|
-
if (message.emptyChild.length !== 0) {
|
|
731
|
-
writer.uint32(42).bytes(message.emptyChild);
|
|
732
|
-
}
|
|
733
|
-
if (message.hash !== 0) {
|
|
734
|
-
writer.uint32(48).int32(message.hash);
|
|
735
|
-
}
|
|
736
|
-
return writer;
|
|
737
|
-
},
|
|
738
|
-
decode(input, length) {
|
|
739
|
-
const reader = input instanceof minimal_1.default.Reader ? input : new minimal_1.default.Reader(input);
|
|
740
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
741
|
-
const message = Object.assign({}, baseInnerSpec);
|
|
742
|
-
message.childOrder = [];
|
|
743
|
-
message.emptyChild = new Uint8Array();
|
|
744
|
-
while (reader.pos < end) {
|
|
745
|
-
const tag = reader.uint32();
|
|
746
|
-
switch (tag >>> 3) {
|
|
747
|
-
case 1:
|
|
748
|
-
if ((tag & 7) === 2) {
|
|
749
|
-
const end2 = reader.uint32() + reader.pos;
|
|
750
|
-
while (reader.pos < end2) {
|
|
751
|
-
message.childOrder.push(reader.int32());
|
|
752
|
-
}
|
|
753
|
-
}
|
|
754
|
-
else {
|
|
755
|
-
message.childOrder.push(reader.int32());
|
|
756
|
-
}
|
|
757
|
-
break;
|
|
758
|
-
case 2:
|
|
759
|
-
message.childSize = reader.int32();
|
|
760
|
-
break;
|
|
761
|
-
case 3:
|
|
762
|
-
message.minPrefixLength = reader.int32();
|
|
763
|
-
break;
|
|
764
|
-
case 4:
|
|
765
|
-
message.maxPrefixLength = reader.int32();
|
|
766
|
-
break;
|
|
767
|
-
case 5:
|
|
768
|
-
message.emptyChild = reader.bytes();
|
|
769
|
-
break;
|
|
770
|
-
case 6:
|
|
771
|
-
message.hash = reader.int32();
|
|
772
|
-
break;
|
|
773
|
-
default:
|
|
774
|
-
reader.skipType(tag & 7);
|
|
775
|
-
break;
|
|
776
|
-
}
|
|
777
|
-
}
|
|
778
|
-
return message;
|
|
779
|
-
},
|
|
780
|
-
fromJSON(object) {
|
|
781
|
-
var _a;
|
|
782
|
-
const message = Object.assign({}, baseInnerSpec);
|
|
783
|
-
message.childOrder = ((_a = object.childOrder) !== null && _a !== void 0 ? _a : []).map((e) => Number(e));
|
|
784
|
-
message.childSize =
|
|
785
|
-
object.childSize !== undefined && object.childSize !== null
|
|
786
|
-
? Number(object.childSize)
|
|
787
|
-
: 0;
|
|
788
|
-
message.minPrefixLength =
|
|
789
|
-
object.minPrefixLength !== undefined && object.minPrefixLength !== null
|
|
790
|
-
? Number(object.minPrefixLength)
|
|
791
|
-
: 0;
|
|
792
|
-
message.maxPrefixLength =
|
|
793
|
-
object.maxPrefixLength !== undefined && object.maxPrefixLength !== null
|
|
794
|
-
? Number(object.maxPrefixLength)
|
|
795
|
-
: 0;
|
|
796
|
-
message.emptyChild =
|
|
797
|
-
object.emptyChild !== undefined && object.emptyChild !== null
|
|
798
|
-
? bytesFromBase64(object.emptyChild)
|
|
799
|
-
: new Uint8Array();
|
|
800
|
-
message.hash =
|
|
801
|
-
object.hash !== undefined && object.hash !== null
|
|
802
|
-
? hashOpFromJSON(object.hash)
|
|
803
|
-
: 0;
|
|
804
|
-
return message;
|
|
805
|
-
},
|
|
806
|
-
toJSON(message) {
|
|
807
|
-
const obj = {};
|
|
808
|
-
if (message.childOrder) {
|
|
809
|
-
obj.childOrder = message.childOrder.map((e) => e);
|
|
810
|
-
}
|
|
811
|
-
else {
|
|
812
|
-
obj.childOrder = [];
|
|
813
|
-
}
|
|
814
|
-
message.childSize !== undefined && (obj.childSize = message.childSize);
|
|
815
|
-
message.minPrefixLength !== undefined &&
|
|
816
|
-
(obj.minPrefixLength = message.minPrefixLength);
|
|
817
|
-
message.maxPrefixLength !== undefined &&
|
|
818
|
-
(obj.maxPrefixLength = message.maxPrefixLength);
|
|
819
|
-
message.emptyChild !== undefined &&
|
|
820
|
-
(obj.emptyChild = base64FromBytes(message.emptyChild !== undefined ? message.emptyChild : new Uint8Array()));
|
|
821
|
-
message.hash !== undefined && (obj.hash = hashOpToJSON(message.hash));
|
|
822
|
-
return obj;
|
|
823
|
-
},
|
|
824
|
-
fromPartial(object) {
|
|
825
|
-
var _a, _b, _c, _d, _e, _f;
|
|
826
|
-
const message = Object.assign({}, baseInnerSpec);
|
|
827
|
-
message.childOrder = ((_a = object.childOrder) !== null && _a !== void 0 ? _a : []).map((e) => e);
|
|
828
|
-
message.childSize = (_b = object.childSize) !== null && _b !== void 0 ? _b : 0;
|
|
829
|
-
message.minPrefixLength = (_c = object.minPrefixLength) !== null && _c !== void 0 ? _c : 0;
|
|
830
|
-
message.maxPrefixLength = (_d = object.maxPrefixLength) !== null && _d !== void 0 ? _d : 0;
|
|
831
|
-
message.emptyChild = (_e = object.emptyChild) !== null && _e !== void 0 ? _e : new Uint8Array();
|
|
832
|
-
message.hash = (_f = object.hash) !== null && _f !== void 0 ? _f : 0;
|
|
833
|
-
return message;
|
|
834
|
-
},
|
|
835
|
-
};
|
|
836
|
-
const baseBatchProof = {};
|
|
837
|
-
exports.BatchProof = {
|
|
838
|
-
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
839
|
-
for (const v of message.entries) {
|
|
840
|
-
exports.BatchEntry.encode(v, writer.uint32(10).fork()).ldelim();
|
|
841
|
-
}
|
|
842
|
-
return writer;
|
|
843
|
-
},
|
|
844
|
-
decode(input, length) {
|
|
845
|
-
const reader = input instanceof minimal_1.default.Reader ? input : new minimal_1.default.Reader(input);
|
|
846
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
847
|
-
const message = Object.assign({}, baseBatchProof);
|
|
848
|
-
message.entries = [];
|
|
849
|
-
while (reader.pos < end) {
|
|
850
|
-
const tag = reader.uint32();
|
|
851
|
-
switch (tag >>> 3) {
|
|
852
|
-
case 1:
|
|
853
|
-
message.entries.push(exports.BatchEntry.decode(reader, reader.uint32()));
|
|
854
|
-
break;
|
|
855
|
-
default:
|
|
856
|
-
reader.skipType(tag & 7);
|
|
857
|
-
break;
|
|
858
|
-
}
|
|
859
|
-
}
|
|
860
|
-
return message;
|
|
861
|
-
},
|
|
862
|
-
fromJSON(object) {
|
|
863
|
-
var _a;
|
|
864
|
-
const message = Object.assign({}, baseBatchProof);
|
|
865
|
-
message.entries = ((_a = object.entries) !== null && _a !== void 0 ? _a : []).map((e) => exports.BatchEntry.fromJSON(e));
|
|
866
|
-
return message;
|
|
867
|
-
},
|
|
868
|
-
toJSON(message) {
|
|
869
|
-
const obj = {};
|
|
870
|
-
if (message.entries) {
|
|
871
|
-
obj.entries = message.entries.map((e) => e ? exports.BatchEntry.toJSON(e) : undefined);
|
|
872
|
-
}
|
|
873
|
-
else {
|
|
874
|
-
obj.entries = [];
|
|
875
|
-
}
|
|
876
|
-
return obj;
|
|
877
|
-
},
|
|
878
|
-
fromPartial(object) {
|
|
879
|
-
var _a;
|
|
880
|
-
const message = Object.assign({}, baseBatchProof);
|
|
881
|
-
message.entries = ((_a = object.entries) !== null && _a !== void 0 ? _a : []).map((e) => exports.BatchEntry.fromPartial(e));
|
|
882
|
-
return message;
|
|
883
|
-
},
|
|
884
|
-
};
|
|
885
|
-
const baseBatchEntry = {};
|
|
886
|
-
exports.BatchEntry = {
|
|
887
|
-
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
888
|
-
if (message.exist !== undefined) {
|
|
889
|
-
exports.ExistenceProof.encode(message.exist, writer.uint32(10).fork()).ldelim();
|
|
890
|
-
}
|
|
891
|
-
if (message.nonexist !== undefined) {
|
|
892
|
-
exports.NonExistenceProof.encode(message.nonexist, writer.uint32(18).fork()).ldelim();
|
|
893
|
-
}
|
|
894
|
-
return writer;
|
|
895
|
-
},
|
|
896
|
-
decode(input, length) {
|
|
897
|
-
const reader = input instanceof minimal_1.default.Reader ? input : new minimal_1.default.Reader(input);
|
|
898
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
899
|
-
const message = Object.assign({}, baseBatchEntry);
|
|
900
|
-
while (reader.pos < end) {
|
|
901
|
-
const tag = reader.uint32();
|
|
902
|
-
switch (tag >>> 3) {
|
|
903
|
-
case 1:
|
|
904
|
-
message.exist = exports.ExistenceProof.decode(reader, reader.uint32());
|
|
905
|
-
break;
|
|
906
|
-
case 2:
|
|
907
|
-
message.nonexist = exports.NonExistenceProof.decode(reader, reader.uint32());
|
|
908
|
-
break;
|
|
909
|
-
default:
|
|
910
|
-
reader.skipType(tag & 7);
|
|
911
|
-
break;
|
|
912
|
-
}
|
|
913
|
-
}
|
|
914
|
-
return message;
|
|
915
|
-
},
|
|
916
|
-
fromJSON(object) {
|
|
917
|
-
const message = Object.assign({}, baseBatchEntry);
|
|
918
|
-
message.exist =
|
|
919
|
-
object.exist !== undefined && object.exist !== null
|
|
920
|
-
? exports.ExistenceProof.fromJSON(object.exist)
|
|
921
|
-
: undefined;
|
|
922
|
-
message.nonexist =
|
|
923
|
-
object.nonexist !== undefined && object.nonexist !== null
|
|
924
|
-
? exports.NonExistenceProof.fromJSON(object.nonexist)
|
|
925
|
-
: undefined;
|
|
926
|
-
return message;
|
|
927
|
-
},
|
|
928
|
-
toJSON(message) {
|
|
929
|
-
const obj = {};
|
|
930
|
-
message.exist !== undefined &&
|
|
931
|
-
(obj.exist = message.exist
|
|
932
|
-
? exports.ExistenceProof.toJSON(message.exist)
|
|
933
|
-
: undefined);
|
|
934
|
-
message.nonexist !== undefined &&
|
|
935
|
-
(obj.nonexist = message.nonexist
|
|
936
|
-
? exports.NonExistenceProof.toJSON(message.nonexist)
|
|
937
|
-
: undefined);
|
|
938
|
-
return obj;
|
|
939
|
-
},
|
|
940
|
-
fromPartial(object) {
|
|
941
|
-
const message = Object.assign({}, baseBatchEntry);
|
|
942
|
-
message.exist =
|
|
943
|
-
object.exist !== undefined && object.exist !== null
|
|
944
|
-
? exports.ExistenceProof.fromPartial(object.exist)
|
|
945
|
-
: undefined;
|
|
946
|
-
message.nonexist =
|
|
947
|
-
object.nonexist !== undefined && object.nonexist !== null
|
|
948
|
-
? exports.NonExistenceProof.fromPartial(object.nonexist)
|
|
949
|
-
: undefined;
|
|
950
|
-
return message;
|
|
951
|
-
},
|
|
952
|
-
};
|
|
953
|
-
const baseCompressedBatchProof = {};
|
|
954
|
-
exports.CompressedBatchProof = {
|
|
955
|
-
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
956
|
-
for (const v of message.entries) {
|
|
957
|
-
exports.CompressedBatchEntry.encode(v, writer.uint32(10).fork()).ldelim();
|
|
958
|
-
}
|
|
959
|
-
for (const v of message.lookupInners) {
|
|
960
|
-
exports.InnerOp.encode(v, writer.uint32(18).fork()).ldelim();
|
|
961
|
-
}
|
|
962
|
-
return writer;
|
|
963
|
-
},
|
|
964
|
-
decode(input, length) {
|
|
965
|
-
const reader = input instanceof minimal_1.default.Reader ? input : new minimal_1.default.Reader(input);
|
|
966
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
967
|
-
const message = Object.assign({}, baseCompressedBatchProof);
|
|
968
|
-
message.entries = [];
|
|
969
|
-
message.lookupInners = [];
|
|
970
|
-
while (reader.pos < end) {
|
|
971
|
-
const tag = reader.uint32();
|
|
972
|
-
switch (tag >>> 3) {
|
|
973
|
-
case 1:
|
|
974
|
-
message.entries.push(exports.CompressedBatchEntry.decode(reader, reader.uint32()));
|
|
975
|
-
break;
|
|
976
|
-
case 2:
|
|
977
|
-
message.lookupInners.push(exports.InnerOp.decode(reader, reader.uint32()));
|
|
978
|
-
break;
|
|
979
|
-
default:
|
|
980
|
-
reader.skipType(tag & 7);
|
|
981
|
-
break;
|
|
982
|
-
}
|
|
983
|
-
}
|
|
984
|
-
return message;
|
|
985
|
-
},
|
|
986
|
-
fromJSON(object) {
|
|
987
|
-
var _a, _b;
|
|
988
|
-
const message = Object.assign({}, baseCompressedBatchProof);
|
|
989
|
-
message.entries = ((_a = object.entries) !== null && _a !== void 0 ? _a : []).map((e) => exports.CompressedBatchEntry.fromJSON(e));
|
|
990
|
-
message.lookupInners = ((_b = object.lookupInners) !== null && _b !== void 0 ? _b : []).map((e) => exports.InnerOp.fromJSON(e));
|
|
991
|
-
return message;
|
|
992
|
-
},
|
|
993
|
-
toJSON(message) {
|
|
994
|
-
const obj = {};
|
|
995
|
-
if (message.entries) {
|
|
996
|
-
obj.entries = message.entries.map((e) => e ? exports.CompressedBatchEntry.toJSON(e) : undefined);
|
|
997
|
-
}
|
|
998
|
-
else {
|
|
999
|
-
obj.entries = [];
|
|
1000
|
-
}
|
|
1001
|
-
if (message.lookupInners) {
|
|
1002
|
-
obj.lookupInners = message.lookupInners.map((e) => e ? exports.InnerOp.toJSON(e) : undefined);
|
|
1003
|
-
}
|
|
1004
|
-
else {
|
|
1005
|
-
obj.lookupInners = [];
|
|
1006
|
-
}
|
|
1007
|
-
return obj;
|
|
1008
|
-
},
|
|
1009
|
-
fromPartial(object) {
|
|
1010
|
-
var _a, _b;
|
|
1011
|
-
const message = Object.assign({}, baseCompressedBatchProof);
|
|
1012
|
-
message.entries = ((_a = object.entries) !== null && _a !== void 0 ? _a : []).map((e) => exports.CompressedBatchEntry.fromPartial(e));
|
|
1013
|
-
message.lookupInners = ((_b = object.lookupInners) !== null && _b !== void 0 ? _b : []).map((e) => exports.InnerOp.fromPartial(e));
|
|
1014
|
-
return message;
|
|
1015
|
-
},
|
|
1016
|
-
};
|
|
1017
|
-
const baseCompressedBatchEntry = {};
|
|
1018
|
-
exports.CompressedBatchEntry = {
|
|
1019
|
-
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
1020
|
-
if (message.exist !== undefined) {
|
|
1021
|
-
exports.CompressedExistenceProof.encode(message.exist, writer.uint32(10).fork()).ldelim();
|
|
1022
|
-
}
|
|
1023
|
-
if (message.nonexist !== undefined) {
|
|
1024
|
-
exports.CompressedNonExistenceProof.encode(message.nonexist, writer.uint32(18).fork()).ldelim();
|
|
1025
|
-
}
|
|
1026
|
-
return writer;
|
|
1027
|
-
},
|
|
1028
|
-
decode(input, length) {
|
|
1029
|
-
const reader = input instanceof minimal_1.default.Reader ? input : new minimal_1.default.Reader(input);
|
|
1030
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1031
|
-
const message = Object.assign({}, baseCompressedBatchEntry);
|
|
1032
|
-
while (reader.pos < end) {
|
|
1033
|
-
const tag = reader.uint32();
|
|
1034
|
-
switch (tag >>> 3) {
|
|
1035
|
-
case 1:
|
|
1036
|
-
message.exist = exports.CompressedExistenceProof.decode(reader, reader.uint32());
|
|
1037
|
-
break;
|
|
1038
|
-
case 2:
|
|
1039
|
-
message.nonexist = exports.CompressedNonExistenceProof.decode(reader, reader.uint32());
|
|
1040
|
-
break;
|
|
1041
|
-
default:
|
|
1042
|
-
reader.skipType(tag & 7);
|
|
1043
|
-
break;
|
|
1044
|
-
}
|
|
1045
|
-
}
|
|
1046
|
-
return message;
|
|
1047
|
-
},
|
|
1048
|
-
fromJSON(object) {
|
|
1049
|
-
const message = Object.assign({}, baseCompressedBatchEntry);
|
|
1050
|
-
message.exist =
|
|
1051
|
-
object.exist !== undefined && object.exist !== null
|
|
1052
|
-
? exports.CompressedExistenceProof.fromJSON(object.exist)
|
|
1053
|
-
: undefined;
|
|
1054
|
-
message.nonexist =
|
|
1055
|
-
object.nonexist !== undefined && object.nonexist !== null
|
|
1056
|
-
? exports.CompressedNonExistenceProof.fromJSON(object.nonexist)
|
|
1057
|
-
: undefined;
|
|
1058
|
-
return message;
|
|
1059
|
-
},
|
|
1060
|
-
toJSON(message) {
|
|
1061
|
-
const obj = {};
|
|
1062
|
-
message.exist !== undefined &&
|
|
1063
|
-
(obj.exist = message.exist
|
|
1064
|
-
? exports.CompressedExistenceProof.toJSON(message.exist)
|
|
1065
|
-
: undefined);
|
|
1066
|
-
message.nonexist !== undefined &&
|
|
1067
|
-
(obj.nonexist = message.nonexist
|
|
1068
|
-
? exports.CompressedNonExistenceProof.toJSON(message.nonexist)
|
|
1069
|
-
: undefined);
|
|
1070
|
-
return obj;
|
|
1071
|
-
},
|
|
1072
|
-
fromPartial(object) {
|
|
1073
|
-
const message = Object.assign({}, baseCompressedBatchEntry);
|
|
1074
|
-
message.exist =
|
|
1075
|
-
object.exist !== undefined && object.exist !== null
|
|
1076
|
-
? exports.CompressedExistenceProof.fromPartial(object.exist)
|
|
1077
|
-
: undefined;
|
|
1078
|
-
message.nonexist =
|
|
1079
|
-
object.nonexist !== undefined && object.nonexist !== null
|
|
1080
|
-
? exports.CompressedNonExistenceProof.fromPartial(object.nonexist)
|
|
1081
|
-
: undefined;
|
|
1082
|
-
return message;
|
|
1083
|
-
},
|
|
1084
|
-
};
|
|
1085
|
-
const baseCompressedExistenceProof = { path: 0 };
|
|
1086
|
-
exports.CompressedExistenceProof = {
|
|
1087
|
-
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
1088
|
-
if (message.key.length !== 0) {
|
|
1089
|
-
writer.uint32(10).bytes(message.key);
|
|
1090
|
-
}
|
|
1091
|
-
if (message.value.length !== 0) {
|
|
1092
|
-
writer.uint32(18).bytes(message.value);
|
|
1093
|
-
}
|
|
1094
|
-
if (message.leaf !== undefined) {
|
|
1095
|
-
exports.LeafOp.encode(message.leaf, writer.uint32(26).fork()).ldelim();
|
|
1096
|
-
}
|
|
1097
|
-
writer.uint32(34).fork();
|
|
1098
|
-
for (const v of message.path) {
|
|
1099
|
-
writer.int32(v);
|
|
1100
|
-
}
|
|
1101
|
-
writer.ldelim();
|
|
1102
|
-
return writer;
|
|
1103
|
-
},
|
|
1104
|
-
decode(input, length) {
|
|
1105
|
-
const reader = input instanceof minimal_1.default.Reader ? input : new minimal_1.default.Reader(input);
|
|
1106
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1107
|
-
const message = Object.assign({}, baseCompressedExistenceProof);
|
|
1108
|
-
message.path = [];
|
|
1109
|
-
message.key = new Uint8Array();
|
|
1110
|
-
message.value = new Uint8Array();
|
|
1111
|
-
while (reader.pos < end) {
|
|
1112
|
-
const tag = reader.uint32();
|
|
1113
|
-
switch (tag >>> 3) {
|
|
1114
|
-
case 1:
|
|
1115
|
-
message.key = reader.bytes();
|
|
1116
|
-
break;
|
|
1117
|
-
case 2:
|
|
1118
|
-
message.value = reader.bytes();
|
|
1119
|
-
break;
|
|
1120
|
-
case 3:
|
|
1121
|
-
message.leaf = exports.LeafOp.decode(reader, reader.uint32());
|
|
1122
|
-
break;
|
|
1123
|
-
case 4:
|
|
1124
|
-
if ((tag & 7) === 2) {
|
|
1125
|
-
const end2 = reader.uint32() + reader.pos;
|
|
1126
|
-
while (reader.pos < end2) {
|
|
1127
|
-
message.path.push(reader.int32());
|
|
1128
|
-
}
|
|
1129
|
-
}
|
|
1130
|
-
else {
|
|
1131
|
-
message.path.push(reader.int32());
|
|
1132
|
-
}
|
|
1133
|
-
break;
|
|
1134
|
-
default:
|
|
1135
|
-
reader.skipType(tag & 7);
|
|
1136
|
-
break;
|
|
1137
|
-
}
|
|
1138
|
-
}
|
|
1139
|
-
return message;
|
|
1140
|
-
},
|
|
1141
|
-
fromJSON(object) {
|
|
1142
|
-
var _a;
|
|
1143
|
-
const message = Object.assign({}, baseCompressedExistenceProof);
|
|
1144
|
-
message.key =
|
|
1145
|
-
object.key !== undefined && object.key !== null
|
|
1146
|
-
? bytesFromBase64(object.key)
|
|
1147
|
-
: new Uint8Array();
|
|
1148
|
-
message.value =
|
|
1149
|
-
object.value !== undefined && object.value !== null
|
|
1150
|
-
? bytesFromBase64(object.value)
|
|
1151
|
-
: new Uint8Array();
|
|
1152
|
-
message.leaf =
|
|
1153
|
-
object.leaf !== undefined && object.leaf !== null
|
|
1154
|
-
? exports.LeafOp.fromJSON(object.leaf)
|
|
1155
|
-
: undefined;
|
|
1156
|
-
message.path = ((_a = object.path) !== null && _a !== void 0 ? _a : []).map((e) => Number(e));
|
|
1157
|
-
return message;
|
|
1158
|
-
},
|
|
1159
|
-
toJSON(message) {
|
|
1160
|
-
const obj = {};
|
|
1161
|
-
message.key !== undefined &&
|
|
1162
|
-
(obj.key = base64FromBytes(message.key !== undefined ? message.key : new Uint8Array()));
|
|
1163
|
-
message.value !== undefined &&
|
|
1164
|
-
(obj.value = base64FromBytes(message.value !== undefined ? message.value : new Uint8Array()));
|
|
1165
|
-
message.leaf !== undefined &&
|
|
1166
|
-
(obj.leaf = message.leaf ? exports.LeafOp.toJSON(message.leaf) : undefined);
|
|
1167
|
-
if (message.path) {
|
|
1168
|
-
obj.path = message.path.map((e) => e);
|
|
1169
|
-
}
|
|
1170
|
-
else {
|
|
1171
|
-
obj.path = [];
|
|
1172
|
-
}
|
|
1173
|
-
return obj;
|
|
1174
|
-
},
|
|
1175
|
-
fromPartial(object) {
|
|
1176
|
-
var _a, _b, _c;
|
|
1177
|
-
const message = Object.assign({}, baseCompressedExistenceProof);
|
|
1178
|
-
message.key = (_a = object.key) !== null && _a !== void 0 ? _a : new Uint8Array();
|
|
1179
|
-
message.value = (_b = object.value) !== null && _b !== void 0 ? _b : new Uint8Array();
|
|
1180
|
-
message.leaf =
|
|
1181
|
-
object.leaf !== undefined && object.leaf !== null
|
|
1182
|
-
? exports.LeafOp.fromPartial(object.leaf)
|
|
1183
|
-
: undefined;
|
|
1184
|
-
message.path = ((_c = object.path) !== null && _c !== void 0 ? _c : []).map((e) => e);
|
|
1185
|
-
return message;
|
|
1186
|
-
},
|
|
1187
|
-
};
|
|
1188
|
-
const baseCompressedNonExistenceProof = {};
|
|
1189
|
-
exports.CompressedNonExistenceProof = {
|
|
1190
|
-
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
1191
|
-
if (message.key.length !== 0) {
|
|
1192
|
-
writer.uint32(10).bytes(message.key);
|
|
1193
|
-
}
|
|
1194
|
-
if (message.left !== undefined) {
|
|
1195
|
-
exports.CompressedExistenceProof.encode(message.left, writer.uint32(18).fork()).ldelim();
|
|
1196
|
-
}
|
|
1197
|
-
if (message.right !== undefined) {
|
|
1198
|
-
exports.CompressedExistenceProof.encode(message.right, writer.uint32(26).fork()).ldelim();
|
|
1199
|
-
}
|
|
1200
|
-
return writer;
|
|
1201
|
-
},
|
|
1202
|
-
decode(input, length) {
|
|
1203
|
-
const reader = input instanceof minimal_1.default.Reader ? input : new minimal_1.default.Reader(input);
|
|
1204
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1205
|
-
const message = Object.assign({}, baseCompressedNonExistenceProof);
|
|
1206
|
-
message.key = new Uint8Array();
|
|
1207
|
-
while (reader.pos < end) {
|
|
1208
|
-
const tag = reader.uint32();
|
|
1209
|
-
switch (tag >>> 3) {
|
|
1210
|
-
case 1:
|
|
1211
|
-
message.key = reader.bytes();
|
|
1212
|
-
break;
|
|
1213
|
-
case 2:
|
|
1214
|
-
message.left = exports.CompressedExistenceProof.decode(reader, reader.uint32());
|
|
1215
|
-
break;
|
|
1216
|
-
case 3:
|
|
1217
|
-
message.right = exports.CompressedExistenceProof.decode(reader, reader.uint32());
|
|
1218
|
-
break;
|
|
1219
|
-
default:
|
|
1220
|
-
reader.skipType(tag & 7);
|
|
1221
|
-
break;
|
|
1222
|
-
}
|
|
1223
|
-
}
|
|
1224
|
-
return message;
|
|
1225
|
-
},
|
|
1226
|
-
fromJSON(object) {
|
|
1227
|
-
const message = Object.assign({}, baseCompressedNonExistenceProof);
|
|
1228
|
-
message.key =
|
|
1229
|
-
object.key !== undefined && object.key !== null
|
|
1230
|
-
? bytesFromBase64(object.key)
|
|
1231
|
-
: new Uint8Array();
|
|
1232
|
-
message.left =
|
|
1233
|
-
object.left !== undefined && object.left !== null
|
|
1234
|
-
? exports.CompressedExistenceProof.fromJSON(object.left)
|
|
1235
|
-
: undefined;
|
|
1236
|
-
message.right =
|
|
1237
|
-
object.right !== undefined && object.right !== null
|
|
1238
|
-
? exports.CompressedExistenceProof.fromJSON(object.right)
|
|
1239
|
-
: undefined;
|
|
1240
|
-
return message;
|
|
1241
|
-
},
|
|
1242
|
-
toJSON(message) {
|
|
1243
|
-
const obj = {};
|
|
1244
|
-
message.key !== undefined &&
|
|
1245
|
-
(obj.key = base64FromBytes(message.key !== undefined ? message.key : new Uint8Array()));
|
|
1246
|
-
message.left !== undefined &&
|
|
1247
|
-
(obj.left = message.left
|
|
1248
|
-
? exports.CompressedExistenceProof.toJSON(message.left)
|
|
1249
|
-
: undefined);
|
|
1250
|
-
message.right !== undefined &&
|
|
1251
|
-
(obj.right = message.right
|
|
1252
|
-
? exports.CompressedExistenceProof.toJSON(message.right)
|
|
1253
|
-
: undefined);
|
|
1254
|
-
return obj;
|
|
1255
|
-
},
|
|
1256
|
-
fromPartial(object) {
|
|
1257
|
-
var _a;
|
|
1258
|
-
const message = Object.assign({}, baseCompressedNonExistenceProof);
|
|
1259
|
-
message.key = (_a = object.key) !== null && _a !== void 0 ? _a : new Uint8Array();
|
|
1260
|
-
message.left =
|
|
1261
|
-
object.left !== undefined && object.left !== null
|
|
1262
|
-
? exports.CompressedExistenceProof.fromPartial(object.left)
|
|
1263
|
-
: undefined;
|
|
1264
|
-
message.right =
|
|
1265
|
-
object.right !== undefined && object.right !== null
|
|
1266
|
-
? exports.CompressedExistenceProof.fromPartial(object.right)
|
|
1267
|
-
: undefined;
|
|
1268
|
-
return message;
|
|
1269
|
-
},
|
|
1270
|
-
};
|
|
1271
|
-
var globalThis = (() => {
|
|
1272
|
-
if (typeof globalThis !== "undefined")
|
|
1273
|
-
return globalThis;
|
|
1274
|
-
if (typeof self !== "undefined")
|
|
1275
|
-
return self;
|
|
1276
|
-
if (typeof window !== "undefined")
|
|
1277
|
-
return window;
|
|
1278
|
-
if (typeof global !== "undefined")
|
|
1279
|
-
return global;
|
|
1280
|
-
throw "Unable to locate global object";
|
|
1281
|
-
})();
|
|
1282
|
-
const atob = globalThis.atob ||
|
|
1283
|
-
((b64) => globalThis.Buffer.from(b64, "base64").toString("binary"));
|
|
1284
|
-
function bytesFromBase64(b64) {
|
|
1285
|
-
const bin = atob(b64);
|
|
1286
|
-
const arr = new Uint8Array(bin.length);
|
|
1287
|
-
for (let i = 0; i < bin.length; ++i) {
|
|
1288
|
-
arr[i] = bin.charCodeAt(i);
|
|
1289
|
-
}
|
|
1290
|
-
return arr;
|
|
1291
|
-
}
|
|
1292
|
-
const btoa = globalThis.btoa ||
|
|
1293
|
-
((bin) => globalThis.Buffer.from(bin, "binary").toString("base64"));
|
|
1294
|
-
function base64FromBytes(arr) {
|
|
1295
|
-
const bin = [];
|
|
1296
|
-
for (const byte of arr) {
|
|
1297
|
-
bin.push(String.fromCharCode(byte));
|
|
1298
|
-
}
|
|
1299
|
-
return btoa(bin.join(""));
|
|
1300
|
-
}
|
|
1301
|
-
if (minimal_1.default.util.Long !== long_1.default) {
|
|
1302
|
-
minimal_1.default.util.Long = long_1.default;
|
|
1303
|
-
minimal_1.default.configure();
|
|
1304
|
-
}
|