carbon-js-sdk 0.7.13 → 0.8.0
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/lib/clients/CarbonQueryClient.d.ts +1 -1
- package/lib/clients/CarbonQueryClient.js +1 -1
- package/lib/clients/InsightsQueryClient.d.ts +1 -1
- package/lib/clients/InsightsQueryClient.js +2 -4
- package/lib/codec/Switcheo/carbon/book/event.d.ts +20 -1
- package/lib/codec/Switcheo/carbon/book/event.js +101 -19
- package/lib/codec/Switcheo/carbon/book/export.d.ts +1 -1
- package/lib/codec/Switcheo/carbon/book/export.js +3 -1
- package/lib/codec/Switcheo/carbon/book/query.d.ts +12 -6
- package/lib/codec/Switcheo/carbon/book/query.js +18 -6
- package/lib/codec/Switcheo/carbon/broker/amm.d.ts +8 -0
- package/lib/codec/Switcheo/carbon/ccm/export.d.ts +1 -1
- package/lib/codec/Switcheo/carbon/ccm/export.js +3 -1
- package/lib/codec/Switcheo/carbon/ccm/tx.d.ts +46 -0
- package/lib/codec/Switcheo/carbon/ccm/tx.js +101 -1
- package/lib/codec/Switcheo/carbon/cdp/export.d.ts +1 -1
- package/lib/codec/Switcheo/carbon/cdp/export.js +3 -1
- package/lib/codec/Switcheo/carbon/cdp/tx.d.ts +46 -1
- package/lib/codec/Switcheo/carbon/cdp/tx.js +101 -1
- package/lib/codec/Switcheo/carbon/evmcontract/genesis.d.ts +10 -4
- package/lib/codec/Switcheo/carbon/evmcontract/genesis.js +54 -4
- package/lib/codec/Switcheo/carbon/evmcontract/query.d.ts +98 -0
- package/lib/codec/Switcheo/carbon/evmcontract/query.js +374 -1
- package/lib/codec/Switcheo/carbon/evmcontract/tx.d.ts +103 -0
- package/lib/codec/Switcheo/carbon/evmcontract/tx.js +425 -1
- package/lib/codec/Switcheo/carbon/liquidation/export.d.ts +1 -2
- package/lib/codec/Switcheo/carbon/liquidation/export.js +1 -5
- package/lib/codec/Switcheo/carbon/liquidation/query.d.ts +0 -25
- package/lib/codec/Switcheo/carbon/liquidation/query.js +1 -88
- package/lib/codec/Switcheo/carbon/liquiditypool/export.d.ts +2 -2
- package/lib/codec/Switcheo/carbon/liquiditypool/export.js +6 -3
- package/lib/codec/Switcheo/carbon/liquiditypool/liquiditypool.d.ts +20 -0
- package/lib/codec/Switcheo/carbon/liquiditypool/liquiditypool.js +191 -1
- package/lib/codec/Switcheo/carbon/liquiditypool/tx.d.ts +46 -0
- package/lib/codec/Switcheo/carbon/liquiditypool/tx.js +101 -1
- package/lib/codec/Switcheo/carbon/market/export.d.ts +2 -2
- package/lib/codec/Switcheo/carbon/market/export.js +6 -2
- package/lib/codec/Switcheo/carbon/market/query.d.ts +31 -0
- package/lib/codec/Switcheo/carbon/market/query.js +226 -1
- package/lib/codec/Switcheo/carbon/market/tx.d.ts +46 -2
- package/lib/codec/Switcheo/carbon/market/tx.js +100 -1
- package/lib/codec/Switcheo/carbon/marketstats/export.d.ts +1 -2
- package/lib/codec/Switcheo/carbon/marketstats/export.js +1 -5
- package/lib/codec/Switcheo/carbon/marketstats/genesis.d.ts +4 -7
- package/lib/codec/Switcheo/carbon/marketstats/genesis.js +4 -21
- package/lib/codec/Switcheo/carbon/marketstats/query.d.ts +0 -26
- package/lib/codec/Switcheo/carbon/marketstats/query.js +1 -88
- package/lib/codec/Switcheo/carbon/oracle/export.d.ts +1 -1
- package/lib/codec/Switcheo/carbon/oracle/export.js +4 -1
- package/lib/codec/Switcheo/carbon/oracle/tx.d.ts +46 -0
- package/lib/codec/Switcheo/carbon/oracle/tx.js +101 -1
- package/lib/codec/Switcheo/carbon/order/export.d.ts +4 -3
- package/lib/codec/Switcheo/carbon/order/export.js +11 -4
- package/lib/codec/Switcheo/carbon/order/genesis.d.ts +10 -10
- package/lib/codec/Switcheo/carbon/order/genesis.js +16 -16
- package/lib/codec/Switcheo/carbon/order/order.d.ts +14 -14
- package/lib/codec/Switcheo/carbon/order/order.js +11 -11
- package/lib/codec/Switcheo/carbon/order/tx.d.ts +46 -0
- package/lib/codec/Switcheo/carbon/order/tx.js +101 -1
- package/lib/codec/Switcheo/carbon/perpspool/export.d.ts +1 -1
- package/lib/codec/Switcheo/carbon/perpspool/export.js +3 -1
- package/lib/codec/Switcheo/carbon/perpspool/tx.d.ts +46 -1
- package/lib/codec/Switcheo/carbon/perpspool/tx.js +101 -1
- package/lib/codec/Switcheo/carbon/position/export.d.ts +1 -0
- package/lib/codec/Switcheo/carbon/position/export.js +4 -1
- package/lib/codec/Switcheo/carbon/pricing/export.d.ts +1 -1
- package/lib/codec/Switcheo/carbon/pricing/export.js +3 -1
- package/lib/codec/Switcheo/carbon/pricing/tx.d.ts +46 -0
- package/lib/codec/Switcheo/carbon/pricing/tx.js +101 -1
- package/lib/codec/Switcheo/carbon/subaccount/export.d.ts +1 -1
- package/lib/codec/Switcheo/carbon/subaccount/export.js +3 -1
- package/lib/codec/Switcheo/carbon/subaccount/tx.d.ts +46 -0
- package/lib/codec/Switcheo/carbon/subaccount/tx.js +101 -1
- package/lib/codec/carbon-models.d.ts +2 -1
- package/lib/codec/carbon-models.js +3 -2
- package/lib/codec/cosmos/app/v1alpha1/config.d.ts +26 -0
- package/lib/codec/cosmos/app/v1alpha1/config.js +94 -4
- package/lib/codec/cosmos/auth/v1beta1/auth.d.ts +21 -0
- package/lib/codec/cosmos/auth/v1beta1/auth.js +92 -1
- package/lib/codec/cosmos/auth/v1beta1/export.d.ts +3 -2
- package/lib/codec/cosmos/auth/v1beta1/export.js +7 -1
- package/lib/codec/cosmos/auth/v1beta1/genesis.d.ts +1 -1
- package/lib/codec/cosmos/auth/v1beta1/query.d.ts +54 -2
- package/lib/codec/cosmos/auth/v1beta1/query.js +120 -2
- package/lib/codec/cosmos/authz/v1beta1/tx.d.ts +1 -1
- package/lib/codec/cosmos/bank/v1beta1/authz.d.ts +7 -0
- package/lib/codec/cosmos/bank/v1beta1/authz.js +18 -3
- package/lib/codec/cosmos/bank/v1beta1/bank.d.ts +9 -0
- package/lib/codec/cosmos/bank/v1beta1/export.d.ts +2 -2
- package/lib/codec/cosmos/bank/v1beta1/export.js +9 -1
- package/lib/codec/cosmos/bank/v1beta1/genesis.d.ts +9 -3
- package/lib/codec/cosmos/bank/v1beta1/genesis.js +17 -2
- package/lib/codec/cosmos/bank/v1beta1/query.d.ts +125 -5
- package/lib/codec/cosmos/bank/v1beta1/query.js +257 -1
- package/lib/codec/cosmos/bank/v1beta1/tx.d.ts +102 -1
- package/lib/codec/cosmos/bank/v1beta1/tx.js +215 -2
- package/lib/codec/cosmos/base/snapshots/v1beta1/snapshot.d.ts +8 -0
- package/lib/codec/cosmos/base/store/v1beta1/commit_info.d.ts +2 -1
- package/lib/codec/cosmos/base/store/v1beta1/commit_info.js +39 -1
- package/lib/codec/cosmos/base/tendermint/v1beta1/query.d.ts +16 -46
- package/lib/codec/cosmos/consensus/v1/export.d.ts +2 -0
- package/lib/codec/cosmos/consensus/v1/export.js +9 -0
- package/lib/codec/cosmos/crisis/v1beta1/tx.d.ts +46 -1
- package/lib/codec/cosmos/crisis/v1beta1/tx.js +103 -1
- package/lib/codec/cosmos/distribution/v1beta1/distribution.d.ts +20 -1
- package/lib/codec/cosmos/distribution/v1beta1/distribution.js +16 -16
- package/lib/codec/cosmos/distribution/v1beta1/export.d.ts +2 -2
- package/lib/codec/cosmos/distribution/v1beta1/export.js +8 -1
- package/lib/codec/cosmos/distribution/v1beta1/genesis.d.ts +4 -4
- package/lib/codec/cosmos/distribution/v1beta1/query.d.ts +32 -1
- package/lib/codec/cosmos/distribution/v1beta1/query.js +134 -1
- package/lib/codec/cosmos/distribution/v1beta1/tx.d.ts +103 -3
- package/lib/codec/cosmos/distribution/v1beta1/tx.js +212 -1
- package/lib/codec/cosmos/evidence/v1beta1/evidence.d.ts +4 -0
- package/lib/codec/cosmos/evidence/v1beta1/query.d.ts +12 -1
- package/lib/codec/cosmos/evidence/v1beta1/query.js +14 -2
- package/lib/codec/cosmos/evidence/v1beta1/tx.d.ts +2 -0
- package/lib/codec/cosmos/gov/v1/genesis.d.ts +25 -4
- package/lib/codec/cosmos/gov/v1/genesis.js +16 -0
- package/lib/codec/cosmos/gov/v1/gov.d.ts +83 -2
- package/lib/codec/cosmos/gov/v1/gov.js +231 -3
- package/lib/codec/cosmos/gov/v1/query.d.ts +30 -6
- package/lib/codec/cosmos/gov/v1/query.js +16 -0
- package/lib/codec/cosmos/gov/v1/tx.d.ts +74 -2
- package/lib/codec/cosmos/gov/v1/tx.js +131 -3
- package/lib/codec/cosmos/gov/v1beta1/genesis.d.ts +3 -3
- package/lib/codec/cosmos/gov/v1beta1/gov.d.ts +30 -5
- package/lib/codec/cosmos/gov/v1beta1/query.d.ts +4 -2
- package/lib/codec/cosmos/gov/v1beta1/tx.d.ts +13 -0
- package/lib/codec/cosmos/group/v1/events.d.ts +17 -1
- package/lib/codec/cosmos/group/v1/events.js +81 -1
- package/lib/codec/cosmos/group/v1/query.d.ts +5 -5
- package/lib/codec/cosmos/group/v1/tx.d.ts +25 -13
- package/lib/codec/cosmos/group/v1/tx.js +60 -34
- package/lib/codec/cosmos/group/v1/types.d.ts +26 -6
- package/lib/codec/cosmos/group/v1/types.js +27 -1
- package/lib/codec/cosmos/mint/v1beta1/export.d.ts +1 -0
- package/lib/codec/cosmos/mint/v1beta1/export.js +4 -1
- package/lib/codec/cosmos/mint/v1beta1/genesis.d.ts +1 -1
- package/lib/codec/cosmos/mint/v1beta1/mint.d.ts +1 -1
- package/lib/codec/cosmos/nft/v1beta1/event.d.ts +10 -0
- package/lib/codec/cosmos/nft/v1beta1/genesis.d.ts +1 -0
- package/lib/codec/cosmos/nft/v1beta1/query.d.ts +20 -0
- package/lib/codec/cosmos/slashing/v1beta1/export.d.ts +1 -1
- package/lib/codec/cosmos/slashing/v1beta1/export.js +3 -1
- package/lib/codec/cosmos/slashing/v1beta1/genesis.d.ts +1 -1
- package/lib/codec/cosmos/slashing/v1beta1/tx.d.ts +46 -0
- package/lib/codec/cosmos/slashing/v1beta1/tx.js +101 -1
- package/lib/codec/cosmos/staking/v1beta1/export.d.ts +2 -2
- package/lib/codec/cosmos/staking/v1beta1/export.js +8 -2
- package/lib/codec/cosmos/staking/v1beta1/genesis.d.ts +1 -1
- package/lib/codec/cosmos/staking/v1beta1/query.d.ts +36 -5
- package/lib/codec/cosmos/staking/v1beta1/staking.d.ts +40 -1
- package/lib/codec/cosmos/staking/v1beta1/staking.js +212 -2
- package/lib/codec/cosmos/staking/v1beta1/tx.d.ts +45 -1
- package/lib/codec/cosmos/staking/v1beta1/tx.js +100 -1
- package/lib/codec/cosmos/tx/v1beta1/export.d.ts +1 -1
- package/lib/codec/cosmos/tx/v1beta1/export.js +9 -1
- package/lib/codec/cosmos/tx/v1beta1/service.d.ts +164 -2
- package/lib/codec/cosmos/tx/v1beta1/service.js +407 -3
- package/lib/codec/cosmos/upgrade/v1beta1/tx.d.ts +3 -3
- package/lib/codec/cosmos/upgrade/v1beta1/upgrade.d.ts +6 -4
- package/lib/codec/ethermint/evm/v1/export.d.ts +2 -1
- package/lib/codec/ethermint/evm/v1/export.js +8 -1
- package/lib/codec/ethermint/evm/v1/tx.d.ts +37 -1
- package/lib/codec/ethermint/evm/v1/tx.js +100 -1
- package/lib/codec/ethermint/feemarket/v1/export.d.ts +2 -0
- package/lib/codec/ethermint/feemarket/v1/export.js +7 -1
- package/lib/codec/ethermint/feemarket/v1/feemarket.d.ts +10 -0
- package/lib/codec/ethermint/feemarket/v1/feemarket.js +28 -1
- package/lib/codec/ibc/applications/interchain_accounts/controller/export.d.ts +2 -1
- package/lib/codec/ibc/applications/interchain_accounts/controller/export.js +8 -1
- package/lib/codec/ibc/applications/interchain_accounts/controller/v1/query.d.ts +26 -0
- package/lib/codec/ibc/applications/interchain_accounts/controller/v1/query.js +113 -1
- package/lib/codec/ibc/applications/interchain_accounts/v1/export.d.ts +0 -1
- package/lib/codec/ibc/applications/interchain_accounts/v1/export.js +1 -6
- package/lib/codec/ibc/applications/transfer/v1/export.d.ts +2 -1
- package/lib/codec/ibc/applications/transfer/v1/export.js +8 -1
- package/lib/codec/ibc/applications/transfer/v1/genesis.d.ts +6 -0
- package/lib/codec/ibc/applications/transfer/v1/genesis.js +18 -2
- package/lib/codec/ibc/applications/transfer/v1/query.d.ts +56 -1
- package/lib/codec/ibc/applications/transfer/v1/query.js +210 -1
- package/lib/codec/ibc/applications/transfer/v1/tx.d.ts +8 -4
- package/lib/codec/ibc/applications/transfer/v1/tx.js +35 -6
- package/lib/codec/ibc/applications/transfer/v2/packet.d.ts +2 -0
- package/lib/codec/ibc/applications/transfer/v2/packet.js +14 -1
- package/lib/codec/ibc/core/channel/v1/channel.d.ts +20 -0
- package/lib/codec/ibc/core/channel/v1/channel.js +78 -1
- package/lib/codec/ibc/core/channel/v1/export.d.ts +1 -1
- package/lib/codec/ibc/core/channel/v1/export.js +3 -2
- package/lib/codec/ibc/core/channel/v1/tx.d.ts +16 -12
- package/lib/codec/ibc/core/channel/v1/tx.js +62 -25
- package/lib/codec/ibc/core/client/v1/client.d.ts +5 -1
- package/lib/codec/ibc/core/client/v1/export.d.ts +1 -1
- package/lib/codec/ibc/core/client/v1/export.js +3 -1
- package/lib/codec/ibc/core/client/v1/query.d.ts +38 -1
- package/lib/codec/ibc/core/client/v1/query.js +137 -1
- package/lib/codec/ibc/core/client/v1/tx.d.ts +19 -6
- package/lib/codec/ibc/core/client/v1/tx.js +13 -11
- package/lib/codec/ibc/core/commitment/v1/commitment.d.ts +1 -1
- package/lib/codec/ibc/core/commitment/v1/commitment.js +1 -1
- package/lib/codec/ibc/core/connection/v1/export.d.ts +1 -1
- package/lib/codec/ibc/core/connection/v1/export.js +3 -1
- package/lib/codec/ibc/core/connection/v1/query.d.ts +26 -1
- package/lib/codec/ibc/core/connection/v1/query.js +87 -1
- package/lib/codec/ibc/core/connection/v1/tx.d.ts +7 -2
- package/lib/codec/ibc/core/connection/v1/tx.js +38 -2
- package/lib/codec/ibc/lightclients/tendermint/v1/tendermint.d.ts +12 -5
- package/lib/codec/ibc/lightclients/tendermint/v1/tendermint.js +1 -1
- package/lib/codec/ibc-models.d.ts +3 -2
- package/lib/codec/ibc-models.js +4 -3
- package/lib/codec/index.d.ts +99 -20
- package/lib/codec/index.js +3371 -890
- package/lib/codec/tendermint/abci/types.d.ts +131 -84
- package/lib/codec/tendermint/abci/types.js +706 -350
- package/lib/codec/tendermint/types/params.d.ts +1 -8
- package/lib/codec/tendermint/types/params.js +13 -33
- package/lib/constant/signless.d.ts +2 -0
- package/lib/constant/signless.js +5 -0
- package/lib/insights/common.d.ts +1 -1
- package/lib/insights/common.js +1 -1
- package/lib/insights/funding.d.ts +13 -2
- package/lib/modules/evm.js +1 -1
- package/lib/modules/signless.d.ts +24 -0
- package/lib/modules/signless.js +108 -0
- package/lib/provider/amino/types/evm.js +1 -1
- package/lib/provider/amino/types/signless.d.ts +12 -0
- package/lib/provider/amino/types/signless.js +189 -0
- package/lib/util/signless.d.ts +11 -0
- package/lib/util/signless.js +92 -0
- package/lib/util/tx.d.ts +89 -7
- package/lib/wallet/CarbonWallet.js +6 -2
- package/package.json +1 -1
- 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/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 -45
- package/lib/codec/book/book.js +0 -252
- 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 -94
- package/lib/codec/book/query.js +0 -383
- 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 -22
- package/lib/codec/broker/amm.js +0 -151
- 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 -40
- package/lib/codec/broker/event.js +0 -397
- 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 -24
- package/lib/codec/broker/genesis.js +0 -64
- package/lib/codec/broker/incoming_liquidations.d.ts +0 -18
- package/lib/codec/broker/incoming_liquidations.js +0 -93
- 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 -439
- package/lib/codec/cdp/event.js +0 -2831
- 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 -70
- package/lib/codec/cdp/params.js +0 -220
- package/lib/codec/cdp/query.d.ts +0 -623
- package/lib/codec/cdp/query.js +0 -3012
- 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 -1004
- package/lib/codec/cdp/tx.js +0 -5107
- 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 -103
- package/lib/codec/coin/token.js +0 -681
- package/lib/codec/coin/tx.d.ts +0 -586
- package/lib/codec/coin/tx.js +0 -3131
- 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/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 -22
- package/lib/codec/inflation/inflation.js +0 -110
- 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 -143
- package/lib/codec/liquiditypool/event.js +0 -975
- 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 -33
- package/lib/codec/liquiditypool/genesis.js +0 -243
- 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 -419
- package/lib/codec/liquiditypool/query.js +0 -1985
- package/lib/codec/liquiditypool/reward.d.ts +0 -196
- package/lib/codec/liquiditypool/reward.js +0 -1218
- 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/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/genesis.d.ts +0 -21
- package/lib/codec/marketstats/genesis.js +0 -63
- 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 -333
- package/lib/codec/oracle/query.js +0 -1545
- 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 -72
- package/lib/codec/position/position.js +0 -567
- 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/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 -24
- package/lib/codec/subaccount/genesis.js +0 -64
- 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 -115
- package/lib/codec/subaccount/query.js +0 -456
- package/lib/codec/subaccount/subaccount.d.ts +0 -31
- package/lib/codec/subaccount/subaccount.js +0 -146
- package/lib/codec/subaccount/tx.d.ts +0 -86
- package/lib/codec/subaccount/tx.js +0 -310
- 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/provider/amino/types/perpsliquidity.d.ts +0 -4
- package/lib/provider/amino/types/perpsliquidity.js +0 -73
|
@@ -19,13 +19,13 @@ export interface MsgCreateClientResponse {
|
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
21
|
* MsgUpdateClient defines an sdk.Msg to update a IBC client state using
|
|
22
|
-
* the given
|
|
22
|
+
* the given client message.
|
|
23
23
|
*/
|
|
24
24
|
export interface MsgUpdateClient {
|
|
25
25
|
/** client unique identifier */
|
|
26
26
|
clientId: string;
|
|
27
|
-
/**
|
|
28
|
-
|
|
27
|
+
/** client message to update the light client */
|
|
28
|
+
clientMessage?: Any;
|
|
29
29
|
/** signer address */
|
|
30
30
|
signer: string;
|
|
31
31
|
}
|
|
@@ -59,13 +59,26 @@ export interface MsgUpgradeClientResponse {
|
|
|
59
59
|
/**
|
|
60
60
|
* MsgSubmitMisbehaviour defines an sdk.Msg type that submits Evidence for
|
|
61
61
|
* light client misbehaviour.
|
|
62
|
+
* Warning: DEPRECATED
|
|
62
63
|
*/
|
|
63
64
|
export interface MsgSubmitMisbehaviour {
|
|
64
|
-
/**
|
|
65
|
+
/**
|
|
66
|
+
* client unique identifier
|
|
67
|
+
*
|
|
68
|
+
* @deprecated
|
|
69
|
+
*/
|
|
65
70
|
clientId: string;
|
|
66
|
-
/**
|
|
71
|
+
/**
|
|
72
|
+
* misbehaviour used for freezing the light client
|
|
73
|
+
*
|
|
74
|
+
* @deprecated
|
|
75
|
+
*/
|
|
67
76
|
misbehaviour?: Any;
|
|
68
|
-
/**
|
|
77
|
+
/**
|
|
78
|
+
* signer address
|
|
79
|
+
*
|
|
80
|
+
* @deprecated
|
|
81
|
+
*/
|
|
69
82
|
signer: string;
|
|
70
83
|
}
|
|
71
84
|
/**
|
|
@@ -128,8 +128,8 @@ exports.MsgUpdateClient = {
|
|
|
128
128
|
if (message.clientId !== "") {
|
|
129
129
|
writer.uint32(10).string(message.clientId);
|
|
130
130
|
}
|
|
131
|
-
if (message.
|
|
132
|
-
any_1.Any.encode(message.
|
|
131
|
+
if (message.clientMessage !== undefined) {
|
|
132
|
+
any_1.Any.encode(message.clientMessage, writer.uint32(18).fork()).ldelim();
|
|
133
133
|
}
|
|
134
134
|
if (message.signer !== "") {
|
|
135
135
|
writer.uint32(26).string(message.signer);
|
|
@@ -147,7 +147,7 @@ exports.MsgUpdateClient = {
|
|
|
147
147
|
message.clientId = reader.string();
|
|
148
148
|
break;
|
|
149
149
|
case 2:
|
|
150
|
-
message.
|
|
150
|
+
message.clientMessage = any_1.Any.decode(reader, reader.uint32());
|
|
151
151
|
break;
|
|
152
152
|
case 3:
|
|
153
153
|
message.signer = reader.string();
|
|
@@ -165,9 +165,9 @@ exports.MsgUpdateClient = {
|
|
|
165
165
|
object.clientId !== undefined && object.clientId !== null
|
|
166
166
|
? String(object.clientId)
|
|
167
167
|
: "";
|
|
168
|
-
message.
|
|
169
|
-
object.
|
|
170
|
-
? any_1.Any.fromJSON(object.
|
|
168
|
+
message.clientMessage =
|
|
169
|
+
object.clientMessage !== undefined && object.clientMessage !== null
|
|
170
|
+
? any_1.Any.fromJSON(object.clientMessage)
|
|
171
171
|
: undefined;
|
|
172
172
|
message.signer =
|
|
173
173
|
object.signer !== undefined && object.signer !== null
|
|
@@ -178,8 +178,10 @@ exports.MsgUpdateClient = {
|
|
|
178
178
|
toJSON(message) {
|
|
179
179
|
const obj = {};
|
|
180
180
|
message.clientId !== undefined && (obj.clientId = message.clientId);
|
|
181
|
-
message.
|
|
182
|
-
(obj.
|
|
181
|
+
message.clientMessage !== undefined &&
|
|
182
|
+
(obj.clientMessage = message.clientMessage
|
|
183
|
+
? any_1.Any.toJSON(message.clientMessage)
|
|
184
|
+
: undefined);
|
|
183
185
|
message.signer !== undefined && (obj.signer = message.signer);
|
|
184
186
|
return obj;
|
|
185
187
|
},
|
|
@@ -187,9 +189,9 @@ exports.MsgUpdateClient = {
|
|
|
187
189
|
var _a, _b;
|
|
188
190
|
const message = Object.assign({}, baseMsgUpdateClient);
|
|
189
191
|
message.clientId = (_a = object.clientId) !== null && _a !== void 0 ? _a : "";
|
|
190
|
-
message.
|
|
191
|
-
object.
|
|
192
|
-
? any_1.Any.fromPartial(object.
|
|
192
|
+
message.clientMessage =
|
|
193
|
+
object.clientMessage !== undefined && object.clientMessage !== null
|
|
194
|
+
? any_1.Any.fromPartial(object.clientMessage)
|
|
193
195
|
: undefined;
|
|
194
196
|
message.signer = (_b = object.signer) !== null && _b !== void 0 ? _b : "";
|
|
195
197
|
return message;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import Long from "long";
|
|
2
2
|
import _m0 from "protobufjs/minimal";
|
|
3
|
-
import { CommitmentProof } from "../../../../proofs";
|
|
3
|
+
import { CommitmentProof } from "../../../../cosmos/ics23/v1/proofs";
|
|
4
4
|
export declare const protobufPackage = "ibc.core.commitment.v1";
|
|
5
5
|
/**
|
|
6
6
|
* MerkleRoot defines a merkle root hash.
|
|
@@ -7,7 +7,7 @@ exports.MerkleProof = exports.MerklePath = exports.MerklePrefix = exports.Merkle
|
|
|
7
7
|
/* eslint-disable */
|
|
8
8
|
const long_1 = __importDefault(require("long"));
|
|
9
9
|
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
10
|
-
const proofs_1 = require("../../../../proofs");
|
|
10
|
+
const proofs_1 = require("../../../../cosmos/ics23/v1/proofs");
|
|
11
11
|
exports.protobufPackage = "ibc.core.commitment.v1";
|
|
12
12
|
const baseMerkleRoot = {};
|
|
13
13
|
exports.MerkleRoot = {
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export { State, stateFromJSON, stateToJSON, ConnectionEnd, IdentifiedConnection, Counterparty, ClientPaths, ConnectionPaths, Version, Params } from "./connection";
|
|
2
|
-
export { QueryConnectionRequest, QueryConnectionResponse, QueryConnectionsRequest, QueryConnectionsResponse, QueryClientConnectionsRequest, QueryClientConnectionsResponse, QueryConnectionClientStateRequest, QueryConnectionClientStateResponse, QueryConnectionConsensusStateRequest, QueryConnectionConsensusStateResponse } from "./query";
|
|
2
|
+
export { QueryConnectionRequest, QueryConnectionResponse, QueryConnectionsRequest, QueryConnectionsResponse, QueryClientConnectionsRequest, QueryClientConnectionsResponse, QueryConnectionClientStateRequest, QueryConnectionClientStateResponse, QueryConnectionConsensusStateRequest, QueryConnectionConsensusStateResponse, QueryConnectionParamsRequest, QueryConnectionParamsResponse } from "./query";
|
|
3
3
|
export { MsgConnectionOpenInit, MsgConnectionOpenInitResponse, MsgConnectionOpenTry, MsgConnectionOpenTryResponse, MsgConnectionOpenAck, MsgConnectionOpenAckResponse, MsgConnectionOpenConfirm, MsgConnectionOpenConfirmResponse } from "./tx";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.MsgConnectionOpenConfirmResponse = exports.MsgConnectionOpenConfirm = exports.MsgConnectionOpenAckResponse = exports.MsgConnectionOpenAck = exports.MsgConnectionOpenTryResponse = exports.MsgConnectionOpenTry = exports.MsgConnectionOpenInitResponse = exports.MsgConnectionOpenInit = exports.QueryConnectionConsensusStateResponse = exports.QueryConnectionConsensusStateRequest = exports.QueryConnectionClientStateResponse = exports.QueryConnectionClientStateRequest = exports.QueryClientConnectionsResponse = exports.QueryClientConnectionsRequest = exports.QueryConnectionsResponse = exports.QueryConnectionsRequest = exports.QueryConnectionResponse = exports.QueryConnectionRequest = exports.Params = exports.Version = exports.ConnectionPaths = exports.ClientPaths = exports.Counterparty = exports.IdentifiedConnection = exports.ConnectionEnd = exports.stateToJSON = exports.stateFromJSON = exports.State = void 0;
|
|
3
|
+
exports.MsgConnectionOpenConfirmResponse = exports.MsgConnectionOpenConfirm = exports.MsgConnectionOpenAckResponse = exports.MsgConnectionOpenAck = exports.MsgConnectionOpenTryResponse = exports.MsgConnectionOpenTry = exports.MsgConnectionOpenInitResponse = exports.MsgConnectionOpenInit = exports.QueryConnectionParamsResponse = exports.QueryConnectionParamsRequest = exports.QueryConnectionConsensusStateResponse = exports.QueryConnectionConsensusStateRequest = exports.QueryConnectionClientStateResponse = exports.QueryConnectionClientStateRequest = exports.QueryClientConnectionsResponse = exports.QueryClientConnectionsRequest = exports.QueryConnectionsResponse = exports.QueryConnectionsRequest = exports.QueryConnectionResponse = exports.QueryConnectionRequest = exports.Params = exports.Version = exports.ConnectionPaths = exports.ClientPaths = exports.Counterparty = exports.IdentifiedConnection = exports.ConnectionEnd = exports.stateToJSON = exports.stateFromJSON = exports.State = void 0;
|
|
4
4
|
var connection_1 = require("./connection");
|
|
5
5
|
Object.defineProperty(exports, "State", { enumerable: true, get: function () { return connection_1.State; } });
|
|
6
6
|
Object.defineProperty(exports, "stateFromJSON", { enumerable: true, get: function () { return connection_1.stateFromJSON; } });
|
|
@@ -23,6 +23,8 @@ Object.defineProperty(exports, "QueryConnectionClientStateRequest", { enumerable
|
|
|
23
23
|
Object.defineProperty(exports, "QueryConnectionClientStateResponse", { enumerable: true, get: function () { return query_1.QueryConnectionClientStateResponse; } });
|
|
24
24
|
Object.defineProperty(exports, "QueryConnectionConsensusStateRequest", { enumerable: true, get: function () { return query_1.QueryConnectionConsensusStateRequest; } });
|
|
25
25
|
Object.defineProperty(exports, "QueryConnectionConsensusStateResponse", { enumerable: true, get: function () { return query_1.QueryConnectionConsensusStateResponse; } });
|
|
26
|
+
Object.defineProperty(exports, "QueryConnectionParamsRequest", { enumerable: true, get: function () { return query_1.QueryConnectionParamsRequest; } });
|
|
27
|
+
Object.defineProperty(exports, "QueryConnectionParamsResponse", { enumerable: true, get: function () { return query_1.QueryConnectionParamsResponse; } });
|
|
26
28
|
var tx_1 = require("./tx");
|
|
27
29
|
Object.defineProperty(exports, "MsgConnectionOpenInit", { enumerable: true, get: function () { return tx_1.MsgConnectionOpenInit; } });
|
|
28
30
|
Object.defineProperty(exports, "MsgConnectionOpenInitResponse", { enumerable: true, get: function () { return tx_1.MsgConnectionOpenInitResponse; } });
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import Long from "long";
|
|
2
2
|
import _m0 from "protobufjs/minimal";
|
|
3
|
-
import { ConnectionEnd, IdentifiedConnection } from "./connection";
|
|
3
|
+
import { ConnectionEnd, Params, IdentifiedConnection } from "./connection";
|
|
4
4
|
import { Height, IdentifiedClientState } from "../../client/v1/client";
|
|
5
5
|
import { PageRequest, PageResponse } from "../../../../cosmos/base/query/v1beta1/pagination";
|
|
6
6
|
import { Any } from "../../../../google/protobuf/any";
|
|
@@ -109,6 +109,14 @@ export interface QueryConnectionConsensusStateResponse {
|
|
|
109
109
|
/** height at which the proof was retrieved */
|
|
110
110
|
proofHeight?: Height;
|
|
111
111
|
}
|
|
112
|
+
/** QueryConnectionParamsRequest is the request type for the Query/ConnectionParams RPC method. */
|
|
113
|
+
export interface QueryConnectionParamsRequest {
|
|
114
|
+
}
|
|
115
|
+
/** QueryConnectionParamsResponse is the response type for the Query/ConnectionParams RPC method. */
|
|
116
|
+
export interface QueryConnectionParamsResponse {
|
|
117
|
+
/** params defines the parameters of the module. */
|
|
118
|
+
params?: Params;
|
|
119
|
+
}
|
|
112
120
|
export declare const QueryConnectionRequest: {
|
|
113
121
|
encode(message: QueryConnectionRequest, writer?: _m0.Writer): _m0.Writer;
|
|
114
122
|
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): QueryConnectionRequest;
|
|
@@ -179,6 +187,20 @@ export declare const QueryConnectionConsensusStateResponse: {
|
|
|
179
187
|
toJSON(message: QueryConnectionConsensusStateResponse): unknown;
|
|
180
188
|
fromPartial(object: DeepPartial<QueryConnectionConsensusStateResponse>): QueryConnectionConsensusStateResponse;
|
|
181
189
|
};
|
|
190
|
+
export declare const QueryConnectionParamsRequest: {
|
|
191
|
+
encode(_: QueryConnectionParamsRequest, writer?: _m0.Writer): _m0.Writer;
|
|
192
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): QueryConnectionParamsRequest;
|
|
193
|
+
fromJSON(_: any): QueryConnectionParamsRequest;
|
|
194
|
+
toJSON(_: QueryConnectionParamsRequest): unknown;
|
|
195
|
+
fromPartial(_: DeepPartial<QueryConnectionParamsRequest>): QueryConnectionParamsRequest;
|
|
196
|
+
};
|
|
197
|
+
export declare const QueryConnectionParamsResponse: {
|
|
198
|
+
encode(message: QueryConnectionParamsResponse, writer?: _m0.Writer): _m0.Writer;
|
|
199
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): QueryConnectionParamsResponse;
|
|
200
|
+
fromJSON(object: any): QueryConnectionParamsResponse;
|
|
201
|
+
toJSON(message: QueryConnectionParamsResponse): unknown;
|
|
202
|
+
fromPartial(object: DeepPartial<QueryConnectionParamsResponse>): QueryConnectionParamsResponse;
|
|
203
|
+
};
|
|
182
204
|
/** Query provides defines the gRPC querier service */
|
|
183
205
|
export interface Query {
|
|
184
206
|
/** Connection queries an IBC connection end. */
|
|
@@ -200,6 +222,8 @@ export interface Query {
|
|
|
200
222
|
* connection.
|
|
201
223
|
*/
|
|
202
224
|
ConnectionConsensusState(request: QueryConnectionConsensusStateRequest): Promise<QueryConnectionConsensusStateResponse>;
|
|
225
|
+
/** ConnectionParams queries all parameters of the ibc connection submodule. */
|
|
226
|
+
ConnectionParams(request: QueryConnectionParamsRequest): Promise<QueryConnectionParamsResponse>;
|
|
203
227
|
}
|
|
204
228
|
export declare class QueryClientImpl implements Query {
|
|
205
229
|
private readonly rpc;
|
|
@@ -209,6 +233,7 @@ export declare class QueryClientImpl implements Query {
|
|
|
209
233
|
ClientConnections(request: QueryClientConnectionsRequest): Promise<QueryClientConnectionsResponse>;
|
|
210
234
|
ConnectionClientState(request: QueryConnectionClientStateRequest): Promise<QueryConnectionClientStateResponse>;
|
|
211
235
|
ConnectionConsensusState(request: QueryConnectionConsensusStateRequest): Promise<QueryConnectionConsensusStateResponse>;
|
|
236
|
+
ConnectionParams(request: QueryConnectionParamsRequest): Promise<QueryConnectionParamsResponse>;
|
|
212
237
|
}
|
|
213
238
|
interface Rpc {
|
|
214
239
|
request(service: string, method: string, data: Uint8Array): Promise<Uint8Array>;
|
|
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.QueryClientImpl = exports.QueryConnectionConsensusStateResponse = exports.QueryConnectionConsensusStateRequest = exports.QueryConnectionClientStateResponse = exports.QueryConnectionClientStateRequest = exports.QueryClientConnectionsResponse = exports.QueryClientConnectionsRequest = exports.QueryConnectionsResponse = exports.QueryConnectionsRequest = exports.QueryConnectionResponse = exports.QueryConnectionRequest = exports.protobufPackage = void 0;
|
|
6
|
+
exports.QueryClientImpl = exports.QueryConnectionParamsResponse = exports.QueryConnectionParamsRequest = exports.QueryConnectionConsensusStateResponse = exports.QueryConnectionConsensusStateRequest = exports.QueryConnectionClientStateResponse = exports.QueryConnectionClientStateRequest = exports.QueryClientConnectionsResponse = exports.QueryClientConnectionsRequest = exports.QueryConnectionsResponse = exports.QueryConnectionsRequest = exports.QueryConnectionResponse = exports.QueryConnectionRequest = exports.protobufPackage = void 0;
|
|
7
7
|
/* eslint-disable */
|
|
8
8
|
const long_1 = __importDefault(require("long"));
|
|
9
9
|
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
@@ -708,6 +708,86 @@ exports.QueryConnectionConsensusStateResponse = {
|
|
|
708
708
|
return message;
|
|
709
709
|
},
|
|
710
710
|
};
|
|
711
|
+
const baseQueryConnectionParamsRequest = {};
|
|
712
|
+
exports.QueryConnectionParamsRequest = {
|
|
713
|
+
encode(_, writer = minimal_1.default.Writer.create()) {
|
|
714
|
+
return writer;
|
|
715
|
+
},
|
|
716
|
+
decode(input, length) {
|
|
717
|
+
const reader = input instanceof minimal_1.default.Reader ? input : new minimal_1.default.Reader(input);
|
|
718
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
719
|
+
const message = Object.assign({}, baseQueryConnectionParamsRequest);
|
|
720
|
+
while (reader.pos < end) {
|
|
721
|
+
const tag = reader.uint32();
|
|
722
|
+
switch (tag >>> 3) {
|
|
723
|
+
default:
|
|
724
|
+
reader.skipType(tag & 7);
|
|
725
|
+
break;
|
|
726
|
+
}
|
|
727
|
+
}
|
|
728
|
+
return message;
|
|
729
|
+
},
|
|
730
|
+
fromJSON(_) {
|
|
731
|
+
const message = Object.assign({}, baseQueryConnectionParamsRequest);
|
|
732
|
+
return message;
|
|
733
|
+
},
|
|
734
|
+
toJSON(_) {
|
|
735
|
+
const obj = {};
|
|
736
|
+
return obj;
|
|
737
|
+
},
|
|
738
|
+
fromPartial(_) {
|
|
739
|
+
const message = Object.assign({}, baseQueryConnectionParamsRequest);
|
|
740
|
+
return message;
|
|
741
|
+
},
|
|
742
|
+
};
|
|
743
|
+
const baseQueryConnectionParamsResponse = {};
|
|
744
|
+
exports.QueryConnectionParamsResponse = {
|
|
745
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
746
|
+
if (message.params !== undefined) {
|
|
747
|
+
connection_1.Params.encode(message.params, writer.uint32(10).fork()).ldelim();
|
|
748
|
+
}
|
|
749
|
+
return writer;
|
|
750
|
+
},
|
|
751
|
+
decode(input, length) {
|
|
752
|
+
const reader = input instanceof minimal_1.default.Reader ? input : new minimal_1.default.Reader(input);
|
|
753
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
754
|
+
const message = Object.assign({}, baseQueryConnectionParamsResponse);
|
|
755
|
+
while (reader.pos < end) {
|
|
756
|
+
const tag = reader.uint32();
|
|
757
|
+
switch (tag >>> 3) {
|
|
758
|
+
case 1:
|
|
759
|
+
message.params = connection_1.Params.decode(reader, reader.uint32());
|
|
760
|
+
break;
|
|
761
|
+
default:
|
|
762
|
+
reader.skipType(tag & 7);
|
|
763
|
+
break;
|
|
764
|
+
}
|
|
765
|
+
}
|
|
766
|
+
return message;
|
|
767
|
+
},
|
|
768
|
+
fromJSON(object) {
|
|
769
|
+
const message = Object.assign({}, baseQueryConnectionParamsResponse);
|
|
770
|
+
message.params =
|
|
771
|
+
object.params !== undefined && object.params !== null
|
|
772
|
+
? connection_1.Params.fromJSON(object.params)
|
|
773
|
+
: undefined;
|
|
774
|
+
return message;
|
|
775
|
+
},
|
|
776
|
+
toJSON(message) {
|
|
777
|
+
const obj = {};
|
|
778
|
+
message.params !== undefined &&
|
|
779
|
+
(obj.params = message.params ? connection_1.Params.toJSON(message.params) : undefined);
|
|
780
|
+
return obj;
|
|
781
|
+
},
|
|
782
|
+
fromPartial(object) {
|
|
783
|
+
const message = Object.assign({}, baseQueryConnectionParamsResponse);
|
|
784
|
+
message.params =
|
|
785
|
+
object.params !== undefined && object.params !== null
|
|
786
|
+
? connection_1.Params.fromPartial(object.params)
|
|
787
|
+
: undefined;
|
|
788
|
+
return message;
|
|
789
|
+
},
|
|
790
|
+
};
|
|
711
791
|
class QueryClientImpl {
|
|
712
792
|
constructor(rpc) {
|
|
713
793
|
this.rpc = rpc;
|
|
@@ -716,6 +796,7 @@ class QueryClientImpl {
|
|
|
716
796
|
this.ClientConnections = this.ClientConnections.bind(this);
|
|
717
797
|
this.ConnectionClientState = this.ConnectionClientState.bind(this);
|
|
718
798
|
this.ConnectionConsensusState = this.ConnectionConsensusState.bind(this);
|
|
799
|
+
this.ConnectionParams = this.ConnectionParams.bind(this);
|
|
719
800
|
}
|
|
720
801
|
Connection(request) {
|
|
721
802
|
const data = exports.QueryConnectionRequest.encode(request).finish();
|
|
@@ -742,6 +823,11 @@ class QueryClientImpl {
|
|
|
742
823
|
const promise = this.rpc.request("ibc.core.connection.v1.Query", "ConnectionConsensusState", data);
|
|
743
824
|
return promise.then((data) => exports.QueryConnectionConsensusStateResponse.decode(new minimal_1.default.Reader(data)));
|
|
744
825
|
}
|
|
826
|
+
ConnectionParams(request) {
|
|
827
|
+
const data = exports.QueryConnectionParamsRequest.encode(request).finish();
|
|
828
|
+
const promise = this.rpc.request("ibc.core.connection.v1.Query", "ConnectionParams", data);
|
|
829
|
+
return promise.then((data) => exports.QueryConnectionParamsResponse.decode(new minimal_1.default.Reader(data)));
|
|
830
|
+
}
|
|
745
831
|
}
|
|
746
832
|
exports.QueryClientImpl = QueryClientImpl;
|
|
747
833
|
var globalThis = (() => {
|
|
@@ -28,8 +28,9 @@ export interface MsgConnectionOpenInitResponse {
|
|
|
28
28
|
export interface MsgConnectionOpenTry {
|
|
29
29
|
clientId: string;
|
|
30
30
|
/**
|
|
31
|
-
*
|
|
32
|
-
*
|
|
31
|
+
* Deprecated: this field is unused. Crossing hellos are no longer supported in core IBC.
|
|
32
|
+
*
|
|
33
|
+
* @deprecated
|
|
33
34
|
*/
|
|
34
35
|
previousConnectionId: string;
|
|
35
36
|
clientState?: Any;
|
|
@@ -48,6 +49,8 @@ export interface MsgConnectionOpenTry {
|
|
|
48
49
|
proofConsensus: Uint8Array;
|
|
49
50
|
consensusHeight?: Height;
|
|
50
51
|
signer: string;
|
|
52
|
+
/** optional proof data for host state machines that are unable to introspect their own consensus state */
|
|
53
|
+
hostConsensusStateProof: Uint8Array;
|
|
51
54
|
}
|
|
52
55
|
/** MsgConnectionOpenTryResponse defines the Msg/ConnectionOpenTry response type. */
|
|
53
56
|
export interface MsgConnectionOpenTryResponse {
|
|
@@ -73,6 +76,8 @@ export interface MsgConnectionOpenAck {
|
|
|
73
76
|
proofConsensus: Uint8Array;
|
|
74
77
|
consensusHeight?: Height;
|
|
75
78
|
signer: string;
|
|
79
|
+
/** optional proof data for host state machines that are unable to introspect their own consensus state */
|
|
80
|
+
hostConsensusStateProof: Uint8Array;
|
|
76
81
|
}
|
|
77
82
|
/** MsgConnectionOpenAckResponse defines the Msg/ConnectionOpenAck response type. */
|
|
78
83
|
export interface MsgConnectionOpenAckResponse {
|
|
@@ -200,6 +200,9 @@ exports.MsgConnectionOpenTry = {
|
|
|
200
200
|
if (message.signer !== "") {
|
|
201
201
|
writer.uint32(98).string(message.signer);
|
|
202
202
|
}
|
|
203
|
+
if (message.hostConsensusStateProof.length !== 0) {
|
|
204
|
+
writer.uint32(106).bytes(message.hostConsensusStateProof);
|
|
205
|
+
}
|
|
203
206
|
return writer;
|
|
204
207
|
},
|
|
205
208
|
decode(input, length) {
|
|
@@ -210,6 +213,7 @@ exports.MsgConnectionOpenTry = {
|
|
|
210
213
|
message.proofInit = new Uint8Array();
|
|
211
214
|
message.proofClient = new Uint8Array();
|
|
212
215
|
message.proofConsensus = new Uint8Array();
|
|
216
|
+
message.hostConsensusStateProof = new Uint8Array();
|
|
213
217
|
while (reader.pos < end) {
|
|
214
218
|
const tag = reader.uint32();
|
|
215
219
|
switch (tag >>> 3) {
|
|
@@ -249,6 +253,9 @@ exports.MsgConnectionOpenTry = {
|
|
|
249
253
|
case 12:
|
|
250
254
|
message.signer = reader.string();
|
|
251
255
|
break;
|
|
256
|
+
case 13:
|
|
257
|
+
message.hostConsensusStateProof = reader.bytes();
|
|
258
|
+
break;
|
|
252
259
|
default:
|
|
253
260
|
reader.skipType(tag & 7);
|
|
254
261
|
break;
|
|
@@ -305,6 +312,11 @@ exports.MsgConnectionOpenTry = {
|
|
|
305
312
|
object.signer !== undefined && object.signer !== null
|
|
306
313
|
? String(object.signer)
|
|
307
314
|
: "";
|
|
315
|
+
message.hostConsensusStateProof =
|
|
316
|
+
object.hostConsensusStateProof !== undefined &&
|
|
317
|
+
object.hostConsensusStateProof !== null
|
|
318
|
+
? bytesFromBase64(object.hostConsensusStateProof)
|
|
319
|
+
: new Uint8Array();
|
|
308
320
|
return message;
|
|
309
321
|
},
|
|
310
322
|
toJSON(message) {
|
|
@@ -347,10 +359,14 @@ exports.MsgConnectionOpenTry = {
|
|
|
347
359
|
? client_1.Height.toJSON(message.consensusHeight)
|
|
348
360
|
: undefined);
|
|
349
361
|
message.signer !== undefined && (obj.signer = message.signer);
|
|
362
|
+
message.hostConsensusStateProof !== undefined &&
|
|
363
|
+
(obj.hostConsensusStateProof = base64FromBytes(message.hostConsensusStateProof !== undefined
|
|
364
|
+
? message.hostConsensusStateProof
|
|
365
|
+
: new Uint8Array()));
|
|
350
366
|
return obj;
|
|
351
367
|
},
|
|
352
368
|
fromPartial(object) {
|
|
353
|
-
var _a, _b, _c, _d, _e, _f, _g;
|
|
369
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
354
370
|
const message = Object.assign({}, baseMsgConnectionOpenTry);
|
|
355
371
|
message.clientId = (_a = object.clientId) !== null && _a !== void 0 ? _a : "";
|
|
356
372
|
message.previousConnectionId = (_b = object.previousConnectionId) !== null && _b !== void 0 ? _b : "";
|
|
@@ -379,6 +395,8 @@ exports.MsgConnectionOpenTry = {
|
|
|
379
395
|
? client_1.Height.fromPartial(object.consensusHeight)
|
|
380
396
|
: undefined;
|
|
381
397
|
message.signer = (_g = object.signer) !== null && _g !== void 0 ? _g : "";
|
|
398
|
+
message.hostConsensusStateProof =
|
|
399
|
+
(_h = object.hostConsensusStateProof) !== null && _h !== void 0 ? _h : new Uint8Array();
|
|
382
400
|
return message;
|
|
383
401
|
},
|
|
384
402
|
};
|
|
@@ -451,6 +469,9 @@ exports.MsgConnectionOpenAck = {
|
|
|
451
469
|
if (message.signer !== "") {
|
|
452
470
|
writer.uint32(82).string(message.signer);
|
|
453
471
|
}
|
|
472
|
+
if (message.hostConsensusStateProof.length !== 0) {
|
|
473
|
+
writer.uint32(90).bytes(message.hostConsensusStateProof);
|
|
474
|
+
}
|
|
454
475
|
return writer;
|
|
455
476
|
},
|
|
456
477
|
decode(input, length) {
|
|
@@ -460,6 +481,7 @@ exports.MsgConnectionOpenAck = {
|
|
|
460
481
|
message.proofTry = new Uint8Array();
|
|
461
482
|
message.proofClient = new Uint8Array();
|
|
462
483
|
message.proofConsensus = new Uint8Array();
|
|
484
|
+
message.hostConsensusStateProof = new Uint8Array();
|
|
463
485
|
while (reader.pos < end) {
|
|
464
486
|
const tag = reader.uint32();
|
|
465
487
|
switch (tag >>> 3) {
|
|
@@ -493,6 +515,9 @@ exports.MsgConnectionOpenAck = {
|
|
|
493
515
|
case 10:
|
|
494
516
|
message.signer = reader.string();
|
|
495
517
|
break;
|
|
518
|
+
case 11:
|
|
519
|
+
message.hostConsensusStateProof = reader.bytes();
|
|
520
|
+
break;
|
|
496
521
|
default:
|
|
497
522
|
reader.skipType(tag & 7);
|
|
498
523
|
break;
|
|
@@ -543,6 +568,11 @@ exports.MsgConnectionOpenAck = {
|
|
|
543
568
|
object.signer !== undefined && object.signer !== null
|
|
544
569
|
? String(object.signer)
|
|
545
570
|
: "";
|
|
571
|
+
message.hostConsensusStateProof =
|
|
572
|
+
object.hostConsensusStateProof !== undefined &&
|
|
573
|
+
object.hostConsensusStateProof !== null
|
|
574
|
+
? bytesFromBase64(object.hostConsensusStateProof)
|
|
575
|
+
: new Uint8Array();
|
|
546
576
|
return message;
|
|
547
577
|
},
|
|
548
578
|
toJSON(message) {
|
|
@@ -578,10 +608,14 @@ exports.MsgConnectionOpenAck = {
|
|
|
578
608
|
? client_1.Height.toJSON(message.consensusHeight)
|
|
579
609
|
: undefined);
|
|
580
610
|
message.signer !== undefined && (obj.signer = message.signer);
|
|
611
|
+
message.hostConsensusStateProof !== undefined &&
|
|
612
|
+
(obj.hostConsensusStateProof = base64FromBytes(message.hostConsensusStateProof !== undefined
|
|
613
|
+
? message.hostConsensusStateProof
|
|
614
|
+
: new Uint8Array()));
|
|
581
615
|
return obj;
|
|
582
616
|
},
|
|
583
617
|
fromPartial(object) {
|
|
584
|
-
var _a, _b, _c, _d, _e, _f;
|
|
618
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
585
619
|
const message = Object.assign({}, baseMsgConnectionOpenAck);
|
|
586
620
|
message.connectionId = (_a = object.connectionId) !== null && _a !== void 0 ? _a : "";
|
|
587
621
|
message.counterpartyConnectionId = (_b = object.counterpartyConnectionId) !== null && _b !== void 0 ? _b : "";
|
|
@@ -605,6 +639,8 @@ exports.MsgConnectionOpenAck = {
|
|
|
605
639
|
? client_1.Height.fromPartial(object.consensusHeight)
|
|
606
640
|
: undefined;
|
|
607
641
|
message.signer = (_f = object.signer) !== null && _f !== void 0 ? _f : "";
|
|
642
|
+
message.hostConsensusStateProof =
|
|
643
|
+
(_g = object.hostConsensusStateProof) !== null && _g !== void 0 ? _g : new Uint8Array();
|
|
608
644
|
return message;
|
|
609
645
|
},
|
|
610
646
|
};
|
|
@@ -5,7 +5,7 @@ import { Height } from "../../../core/client/v1/client";
|
|
|
5
5
|
import { MerkleRoot } from "../../../core/commitment/v1/commitment";
|
|
6
6
|
import { SignedHeader } from "../../../../tendermint/types/types";
|
|
7
7
|
import { ValidatorSet } from "../../../../tendermint/types/validator";
|
|
8
|
-
import { ProofSpec } from "../../../../proofs";
|
|
8
|
+
import { ProofSpec } from "../../../../cosmos/ics23/v1/proofs";
|
|
9
9
|
export declare const protobufPackage = "ibc.lightclients.tendermint.v1";
|
|
10
10
|
/**
|
|
11
11
|
* ClientState from Tendermint tracks the current validator set, latest height,
|
|
@@ -40,13 +40,15 @@ export interface ClientState {
|
|
|
40
40
|
*/
|
|
41
41
|
upgradePath: string[];
|
|
42
42
|
/**
|
|
43
|
-
*
|
|
44
|
-
*
|
|
43
|
+
* allow_update_after_expiry is deprecated
|
|
44
|
+
*
|
|
45
|
+
* @deprecated
|
|
45
46
|
*/
|
|
46
47
|
allowUpdateAfterExpiry: boolean;
|
|
47
48
|
/**
|
|
48
|
-
*
|
|
49
|
-
*
|
|
49
|
+
* allow_update_after_misbehaviour is deprecated
|
|
50
|
+
*
|
|
51
|
+
* @deprecated
|
|
50
52
|
*/
|
|
51
53
|
allowUpdateAfterMisbehaviour: boolean;
|
|
52
54
|
}
|
|
@@ -66,6 +68,11 @@ export interface ConsensusState {
|
|
|
66
68
|
* that implements Misbehaviour interface expected by ICS-02
|
|
67
69
|
*/
|
|
68
70
|
export interface Misbehaviour {
|
|
71
|
+
/**
|
|
72
|
+
* ClientID is deprecated
|
|
73
|
+
*
|
|
74
|
+
* @deprecated
|
|
75
|
+
*/
|
|
69
76
|
clientId: string;
|
|
70
77
|
header1?: Header;
|
|
71
78
|
header2?: Header;
|
|
@@ -13,7 +13,7 @@ const commitment_1 = require("../../../core/commitment/v1/commitment");
|
|
|
13
13
|
const types_1 = require("../../../../tendermint/types/types");
|
|
14
14
|
const validator_1 = require("../../../../tendermint/types/validator");
|
|
15
15
|
const timestamp_1 = require("../../../../google/protobuf/timestamp");
|
|
16
|
-
const proofs_1 = require("../../../../proofs");
|
|
16
|
+
const proofs_1 = require("../../../../cosmos/ics23/v1/proofs");
|
|
17
17
|
exports.protobufPackage = "ibc.lightclients.tendermint.v1";
|
|
18
18
|
const baseClientState = {
|
|
19
19
|
chainId: "",
|
|
@@ -7,6 +7,7 @@ export * as Channel from "./ibc/core/channel/v1/export";
|
|
|
7
7
|
export * as Client from "./ibc/core/client/v1/export";
|
|
8
8
|
export * as Commitment from "./ibc/core/commitment/v1/export";
|
|
9
9
|
export * as Connection from "./ibc/core/connection/v1/export";
|
|
10
|
-
export * as LocalHost from "./ibc/lightclients/localhost/
|
|
11
|
-
export * as
|
|
10
|
+
export * as LocalHost from "./ibc/lightclients/localhost/v2/export";
|
|
11
|
+
export * as SolomachineV2 from "./ibc/lightclients/solomachine/v2/export";
|
|
12
|
+
export * as SolomachineV3 from "./ibc/lightclients/solomachine/v3/export";
|
|
12
13
|
export * as Tendermint from "./ibc/lightclients/tendermint/v1/export";
|
package/lib/codec/ibc-models.js
CHANGED
|
@@ -19,7 +19,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
19
19
|
return result;
|
|
20
20
|
};
|
|
21
21
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
22
|
-
exports.Tendermint = exports.
|
|
22
|
+
exports.Tendermint = exports.SolomachineV3 = exports.SolomachineV2 = exports.LocalHost = exports.Connection = exports.Commitment = exports.Client = exports.Channel = exports.TransferV2 = exports.TranferV1 = exports.InterchainTypes = exports.Host = exports.Controller = void 0;
|
|
23
23
|
exports.Controller = __importStar(require("./ibc/applications/interchain_accounts/controller/export"));
|
|
24
24
|
exports.Host = __importStar(require("./ibc/applications/interchain_accounts/host/export"));
|
|
25
25
|
exports.InterchainTypes = __importStar(require("./ibc/applications/interchain_accounts/v1/export"));
|
|
@@ -29,6 +29,7 @@ exports.Channel = __importStar(require("./ibc/core/channel/v1/export"));
|
|
|
29
29
|
exports.Client = __importStar(require("./ibc/core/client/v1/export"));
|
|
30
30
|
exports.Commitment = __importStar(require("./ibc/core/commitment/v1/export"));
|
|
31
31
|
exports.Connection = __importStar(require("./ibc/core/connection/v1/export"));
|
|
32
|
-
exports.LocalHost = __importStar(require("./ibc/lightclients/localhost/
|
|
33
|
-
exports.
|
|
32
|
+
exports.LocalHost = __importStar(require("./ibc/lightclients/localhost/v2/export"));
|
|
33
|
+
exports.SolomachineV2 = __importStar(require("./ibc/lightclients/solomachine/v2/export"));
|
|
34
|
+
exports.SolomachineV3 = __importStar(require("./ibc/lightclients/solomachine/v3/export"));
|
|
34
35
|
exports.Tendermint = __importStar(require("./ibc/lightclients/tendermint/v1/export"));
|