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
|
@@ -22,10 +22,7 @@ export interface Plan {
|
|
|
22
22
|
* @deprecated
|
|
23
23
|
*/
|
|
24
24
|
time?: Date;
|
|
25
|
-
/**
|
|
26
|
-
* The height at which the upgrade must be performed.
|
|
27
|
-
* Only used if Time is not set.
|
|
28
|
-
*/
|
|
25
|
+
/** The height at which the upgrade must be performed. */
|
|
29
26
|
height: Long;
|
|
30
27
|
/**
|
|
31
28
|
* Any application specific upgrade info to be included on-chain
|
|
@@ -50,8 +47,11 @@ export interface Plan {
|
|
|
50
47
|
* @deprecated
|
|
51
48
|
*/
|
|
52
49
|
export interface SoftwareUpgradeProposal {
|
|
50
|
+
/** title of the proposal */
|
|
53
51
|
title: string;
|
|
52
|
+
/** description of the proposal */
|
|
54
53
|
description: string;
|
|
54
|
+
/** plan of the proposal */
|
|
55
55
|
plan?: Plan;
|
|
56
56
|
}
|
|
57
57
|
/**
|
|
@@ -63,7 +63,9 @@ export interface SoftwareUpgradeProposal {
|
|
|
63
63
|
* @deprecated
|
|
64
64
|
*/
|
|
65
65
|
export interface CancelSoftwareUpgradeProposal {
|
|
66
|
+
/** title of the proposal */
|
|
66
67
|
title: string;
|
|
68
|
+
/** description of the proposal */
|
|
67
69
|
description: string;
|
|
68
70
|
}
|
|
69
71
|
/**
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
+
export { EventEthereumTx, EventTxLog, EventMessage, EventBlockBloom } from "./events";
|
|
1
2
|
export { Params, ChainConfig, State, TransactionLogs, Log, TxResult, AccessTuple, TraceConfig } from "./evm";
|
|
2
3
|
export { GenesisAccount } from "./genesis";
|
|
3
4
|
export { QueryAccountRequest, QueryAccountResponse, QueryCosmosAccountRequest, QueryCosmosAccountResponse, QueryValidatorAccountRequest, QueryValidatorAccountResponse, QueryBalanceRequest, QueryBalanceResponse, QueryStorageRequest, QueryStorageResponse, QueryCodeRequest, QueryCodeResponse, QueryTxLogsRequest, QueryTxLogsResponse, QueryParamsRequest, QueryParamsResponse, EthCallRequest, EstimateGasResponse, QueryTraceTxRequest, QueryTraceTxResponse, QueryTraceBlockRequest, QueryTraceBlockResponse, QueryBaseFeeRequest, QueryBaseFeeResponse } from "./query";
|
|
4
|
-
export { MsgEthereumTx, LegacyTx, AccessListTx, DynamicFeeTx, ExtensionOptionsEthereumTx, MsgEthereumTxResponse } from "./tx";
|
|
5
|
+
export { MsgEthereumTx, LegacyTx, AccessListTx, DynamicFeeTx, ExtensionOptionsEthereumTx, MsgEthereumTxResponse, MsgUpdateParams, MsgUpdateParamsResponse } from "./tx";
|
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.MsgEthereumTxResponse = exports.ExtensionOptionsEthereumTx = exports.DynamicFeeTx = exports.AccessListTx = exports.LegacyTx = exports.MsgEthereumTx = exports.QueryBaseFeeResponse = exports.QueryBaseFeeRequest = exports.QueryTraceBlockResponse = exports.QueryTraceBlockRequest = exports.QueryTraceTxResponse = exports.QueryTraceTxRequest = exports.EstimateGasResponse = exports.EthCallRequest = exports.QueryParamsResponse = exports.QueryParamsRequest = exports.QueryTxLogsResponse = exports.QueryTxLogsRequest = exports.QueryCodeResponse = exports.QueryCodeRequest = exports.QueryStorageResponse = exports.QueryStorageRequest = exports.QueryBalanceResponse = exports.QueryBalanceRequest = exports.QueryValidatorAccountResponse = exports.QueryValidatorAccountRequest = exports.QueryCosmosAccountResponse = exports.QueryCosmosAccountRequest = exports.QueryAccountResponse = exports.QueryAccountRequest = exports.GenesisAccount = exports.TraceConfig = exports.AccessTuple = exports.TxResult = exports.Log = exports.TransactionLogs = exports.State = exports.ChainConfig = exports.Params = void 0;
|
|
3
|
+
exports.MsgUpdateParamsResponse = exports.MsgUpdateParams = exports.MsgEthereumTxResponse = exports.ExtensionOptionsEthereumTx = exports.DynamicFeeTx = exports.AccessListTx = exports.LegacyTx = exports.MsgEthereumTx = exports.QueryBaseFeeResponse = exports.QueryBaseFeeRequest = exports.QueryTraceBlockResponse = exports.QueryTraceBlockRequest = exports.QueryTraceTxResponse = exports.QueryTraceTxRequest = exports.EstimateGasResponse = exports.EthCallRequest = exports.QueryParamsResponse = exports.QueryParamsRequest = exports.QueryTxLogsResponse = exports.QueryTxLogsRequest = exports.QueryCodeResponse = exports.QueryCodeRequest = exports.QueryStorageResponse = exports.QueryStorageRequest = exports.QueryBalanceResponse = exports.QueryBalanceRequest = exports.QueryValidatorAccountResponse = exports.QueryValidatorAccountRequest = exports.QueryCosmosAccountResponse = exports.QueryCosmosAccountRequest = exports.QueryAccountResponse = exports.QueryAccountRequest = exports.GenesisAccount = exports.TraceConfig = exports.AccessTuple = exports.TxResult = exports.Log = exports.TransactionLogs = exports.State = exports.ChainConfig = exports.Params = exports.EventBlockBloom = exports.EventMessage = exports.EventTxLog = exports.EventEthereumTx = void 0;
|
|
4
|
+
var events_1 = require("./events");
|
|
5
|
+
Object.defineProperty(exports, "EventEthereumTx", { enumerable: true, get: function () { return events_1.EventEthereumTx; } });
|
|
6
|
+
Object.defineProperty(exports, "EventTxLog", { enumerable: true, get: function () { return events_1.EventTxLog; } });
|
|
7
|
+
Object.defineProperty(exports, "EventMessage", { enumerable: true, get: function () { return events_1.EventMessage; } });
|
|
8
|
+
Object.defineProperty(exports, "EventBlockBloom", { enumerable: true, get: function () { return events_1.EventBlockBloom; } });
|
|
4
9
|
var evm_1 = require("./evm");
|
|
5
10
|
Object.defineProperty(exports, "Params", { enumerable: true, get: function () { return evm_1.Params; } });
|
|
6
11
|
Object.defineProperty(exports, "ChainConfig", { enumerable: true, get: function () { return evm_1.ChainConfig; } });
|
|
@@ -44,3 +49,5 @@ Object.defineProperty(exports, "AccessListTx", { enumerable: true, get: function
|
|
|
44
49
|
Object.defineProperty(exports, "DynamicFeeTx", { enumerable: true, get: function () { return tx_1.DynamicFeeTx; } });
|
|
45
50
|
Object.defineProperty(exports, "ExtensionOptionsEthereumTx", { enumerable: true, get: function () { return tx_1.ExtensionOptionsEthereumTx; } });
|
|
46
51
|
Object.defineProperty(exports, "MsgEthereumTxResponse", { enumerable: true, get: function () { return tx_1.MsgEthereumTxResponse; } });
|
|
52
|
+
Object.defineProperty(exports, "MsgUpdateParams", { enumerable: true, get: function () { return tx_1.MsgUpdateParams; } });
|
|
53
|
+
Object.defineProperty(exports, "MsgUpdateParamsResponse", { enumerable: true, get: function () { return tx_1.MsgUpdateParamsResponse; } });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import Long from "long";
|
|
2
2
|
import _m0 from "protobufjs/minimal";
|
|
3
3
|
import { Any } from "../../../google/protobuf/any";
|
|
4
|
-
import { AccessTuple, Log } from "./evm";
|
|
4
|
+
import { Params, AccessTuple, Log } from "./evm";
|
|
5
5
|
export declare const protobufPackage = "ethermint.evm.v1";
|
|
6
6
|
/** MsgEthereumTx encapsulates an Ethereum transaction as an SDK message. */
|
|
7
7
|
export interface MsgEthereumTx {
|
|
@@ -121,6 +121,22 @@ export interface MsgEthereumTxResponse {
|
|
|
121
121
|
/** gas_used specifies how much gas was consumed by the transaction */
|
|
122
122
|
gasUsed: Long;
|
|
123
123
|
}
|
|
124
|
+
/** MsgUpdateParams defines a Msg for updating the x/evm module parameters. */
|
|
125
|
+
export interface MsgUpdateParams {
|
|
126
|
+
/** authority is the address of the governance account. */
|
|
127
|
+
authority: string;
|
|
128
|
+
/**
|
|
129
|
+
* params defines the x/evm parameters to update.
|
|
130
|
+
* NOTE: All parameters must be supplied.
|
|
131
|
+
*/
|
|
132
|
+
params?: Params;
|
|
133
|
+
}
|
|
134
|
+
/**
|
|
135
|
+
* MsgUpdateParamsResponse defines the response structure for executing a
|
|
136
|
+
* MsgUpdateParams message.
|
|
137
|
+
*/
|
|
138
|
+
export interface MsgUpdateParamsResponse {
|
|
139
|
+
}
|
|
124
140
|
export declare const MsgEthereumTx: {
|
|
125
141
|
encode(message: MsgEthereumTx, writer?: _m0.Writer): _m0.Writer;
|
|
126
142
|
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): MsgEthereumTx;
|
|
@@ -163,15 +179,35 @@ export declare const MsgEthereumTxResponse: {
|
|
|
163
179
|
toJSON(message: MsgEthereumTxResponse): unknown;
|
|
164
180
|
fromPartial(object: DeepPartial<MsgEthereumTxResponse>): MsgEthereumTxResponse;
|
|
165
181
|
};
|
|
182
|
+
export declare const MsgUpdateParams: {
|
|
183
|
+
encode(message: MsgUpdateParams, writer?: _m0.Writer): _m0.Writer;
|
|
184
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): MsgUpdateParams;
|
|
185
|
+
fromJSON(object: any): MsgUpdateParams;
|
|
186
|
+
toJSON(message: MsgUpdateParams): unknown;
|
|
187
|
+
fromPartial(object: DeepPartial<MsgUpdateParams>): MsgUpdateParams;
|
|
188
|
+
};
|
|
189
|
+
export declare const MsgUpdateParamsResponse: {
|
|
190
|
+
encode(_: MsgUpdateParamsResponse, writer?: _m0.Writer): _m0.Writer;
|
|
191
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): MsgUpdateParamsResponse;
|
|
192
|
+
fromJSON(_: any): MsgUpdateParamsResponse;
|
|
193
|
+
toJSON(_: MsgUpdateParamsResponse): unknown;
|
|
194
|
+
fromPartial(_: DeepPartial<MsgUpdateParamsResponse>): MsgUpdateParamsResponse;
|
|
195
|
+
};
|
|
166
196
|
/** Msg defines the evm Msg service. */
|
|
167
197
|
export interface Msg {
|
|
168
198
|
/** EthereumTx defines a method submitting Ethereum transactions. */
|
|
169
199
|
EthereumTx(request: MsgEthereumTx): Promise<MsgEthereumTxResponse>;
|
|
200
|
+
/**
|
|
201
|
+
* UpdateParams defined a governance operation for updating the x/evm module parameters.
|
|
202
|
+
* The authority is hard-coded to the Cosmos SDK x/gov module account
|
|
203
|
+
*/
|
|
204
|
+
UpdateParams(request: MsgUpdateParams): Promise<MsgUpdateParamsResponse>;
|
|
170
205
|
}
|
|
171
206
|
export declare class MsgClientImpl implements Msg {
|
|
172
207
|
private readonly rpc;
|
|
173
208
|
constructor(rpc: Rpc);
|
|
174
209
|
EthereumTx(request: MsgEthereumTx): Promise<MsgEthereumTxResponse>;
|
|
210
|
+
UpdateParams(request: MsgUpdateParams): Promise<MsgUpdateParamsResponse>;
|
|
175
211
|
}
|
|
176
212
|
interface Rpc {
|
|
177
213
|
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.MsgClientImpl = exports.MsgEthereumTxResponse = exports.ExtensionOptionsEthereumTx = exports.DynamicFeeTx = exports.AccessListTx = exports.LegacyTx = exports.MsgEthereumTx = exports.protobufPackage = void 0;
|
|
6
|
+
exports.MsgClientImpl = exports.MsgUpdateParamsResponse = exports.MsgUpdateParams = exports.MsgEthereumTxResponse = exports.ExtensionOptionsEthereumTx = exports.DynamicFeeTx = exports.AccessListTx = exports.LegacyTx = exports.MsgEthereumTx = 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"));
|
|
@@ -788,16 +788,115 @@ exports.MsgEthereumTxResponse = {
|
|
|
788
788
|
return message;
|
|
789
789
|
},
|
|
790
790
|
};
|
|
791
|
+
const baseMsgUpdateParams = { authority: "" };
|
|
792
|
+
exports.MsgUpdateParams = {
|
|
793
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
794
|
+
if (message.authority !== "") {
|
|
795
|
+
writer.uint32(10).string(message.authority);
|
|
796
|
+
}
|
|
797
|
+
if (message.params !== undefined) {
|
|
798
|
+
evm_1.Params.encode(message.params, writer.uint32(18).fork()).ldelim();
|
|
799
|
+
}
|
|
800
|
+
return writer;
|
|
801
|
+
},
|
|
802
|
+
decode(input, length) {
|
|
803
|
+
const reader = input instanceof minimal_1.default.Reader ? input : new minimal_1.default.Reader(input);
|
|
804
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
805
|
+
const message = Object.assign({}, baseMsgUpdateParams);
|
|
806
|
+
while (reader.pos < end) {
|
|
807
|
+
const tag = reader.uint32();
|
|
808
|
+
switch (tag >>> 3) {
|
|
809
|
+
case 1:
|
|
810
|
+
message.authority = reader.string();
|
|
811
|
+
break;
|
|
812
|
+
case 2:
|
|
813
|
+
message.params = evm_1.Params.decode(reader, reader.uint32());
|
|
814
|
+
break;
|
|
815
|
+
default:
|
|
816
|
+
reader.skipType(tag & 7);
|
|
817
|
+
break;
|
|
818
|
+
}
|
|
819
|
+
}
|
|
820
|
+
return message;
|
|
821
|
+
},
|
|
822
|
+
fromJSON(object) {
|
|
823
|
+
const message = Object.assign({}, baseMsgUpdateParams);
|
|
824
|
+
message.authority =
|
|
825
|
+
object.authority !== undefined && object.authority !== null
|
|
826
|
+
? String(object.authority)
|
|
827
|
+
: "";
|
|
828
|
+
message.params =
|
|
829
|
+
object.params !== undefined && object.params !== null
|
|
830
|
+
? evm_1.Params.fromJSON(object.params)
|
|
831
|
+
: undefined;
|
|
832
|
+
return message;
|
|
833
|
+
},
|
|
834
|
+
toJSON(message) {
|
|
835
|
+
const obj = {};
|
|
836
|
+
message.authority !== undefined && (obj.authority = message.authority);
|
|
837
|
+
message.params !== undefined &&
|
|
838
|
+
(obj.params = message.params ? evm_1.Params.toJSON(message.params) : undefined);
|
|
839
|
+
return obj;
|
|
840
|
+
},
|
|
841
|
+
fromPartial(object) {
|
|
842
|
+
var _a;
|
|
843
|
+
const message = Object.assign({}, baseMsgUpdateParams);
|
|
844
|
+
message.authority = (_a = object.authority) !== null && _a !== void 0 ? _a : "";
|
|
845
|
+
message.params =
|
|
846
|
+
object.params !== undefined && object.params !== null
|
|
847
|
+
? evm_1.Params.fromPartial(object.params)
|
|
848
|
+
: undefined;
|
|
849
|
+
return message;
|
|
850
|
+
},
|
|
851
|
+
};
|
|
852
|
+
const baseMsgUpdateParamsResponse = {};
|
|
853
|
+
exports.MsgUpdateParamsResponse = {
|
|
854
|
+
encode(_, writer = minimal_1.default.Writer.create()) {
|
|
855
|
+
return writer;
|
|
856
|
+
},
|
|
857
|
+
decode(input, length) {
|
|
858
|
+
const reader = input instanceof minimal_1.default.Reader ? input : new minimal_1.default.Reader(input);
|
|
859
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
860
|
+
const message = Object.assign({}, baseMsgUpdateParamsResponse);
|
|
861
|
+
while (reader.pos < end) {
|
|
862
|
+
const tag = reader.uint32();
|
|
863
|
+
switch (tag >>> 3) {
|
|
864
|
+
default:
|
|
865
|
+
reader.skipType(tag & 7);
|
|
866
|
+
break;
|
|
867
|
+
}
|
|
868
|
+
}
|
|
869
|
+
return message;
|
|
870
|
+
},
|
|
871
|
+
fromJSON(_) {
|
|
872
|
+
const message = Object.assign({}, baseMsgUpdateParamsResponse);
|
|
873
|
+
return message;
|
|
874
|
+
},
|
|
875
|
+
toJSON(_) {
|
|
876
|
+
const obj = {};
|
|
877
|
+
return obj;
|
|
878
|
+
},
|
|
879
|
+
fromPartial(_) {
|
|
880
|
+
const message = Object.assign({}, baseMsgUpdateParamsResponse);
|
|
881
|
+
return message;
|
|
882
|
+
},
|
|
883
|
+
};
|
|
791
884
|
class MsgClientImpl {
|
|
792
885
|
constructor(rpc) {
|
|
793
886
|
this.rpc = rpc;
|
|
794
887
|
this.EthereumTx = this.EthereumTx.bind(this);
|
|
888
|
+
this.UpdateParams = this.UpdateParams.bind(this);
|
|
795
889
|
}
|
|
796
890
|
EthereumTx(request) {
|
|
797
891
|
const data = exports.MsgEthereumTx.encode(request).finish();
|
|
798
892
|
const promise = this.rpc.request("ethermint.evm.v1.Msg", "EthereumTx", data);
|
|
799
893
|
return promise.then((data) => exports.MsgEthereumTxResponse.decode(new minimal_1.default.Reader(data)));
|
|
800
894
|
}
|
|
895
|
+
UpdateParams(request) {
|
|
896
|
+
const data = exports.MsgUpdateParams.encode(request).finish();
|
|
897
|
+
const promise = this.rpc.request("ethermint.evm.v1.Msg", "UpdateParams", data);
|
|
898
|
+
return promise.then((data) => exports.MsgUpdateParamsResponse.decode(new minimal_1.default.Reader(data)));
|
|
899
|
+
}
|
|
801
900
|
}
|
|
802
901
|
exports.MsgClientImpl = MsgClientImpl;
|
|
803
902
|
var globalThis = (() => {
|
|
@@ -1,2 +1,4 @@
|
|
|
1
|
+
export { EventFeeMarket, EventBlockGas } from "./events";
|
|
1
2
|
export { Params } from "./feemarket";
|
|
2
3
|
export { QueryParamsRequest, QueryParamsResponse, QueryBaseFeeRequest, QueryBaseFeeResponse, QueryBlockGasRequest, QueryBlockGasResponse } from "./query";
|
|
4
|
+
export { MsgUpdateParams, MsgUpdateParamsResponse } from "./tx";
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.QueryBlockGasResponse = exports.QueryBlockGasRequest = exports.QueryBaseFeeResponse = exports.QueryBaseFeeRequest = exports.QueryParamsResponse = exports.QueryParamsRequest = exports.Params = void 0;
|
|
3
|
+
exports.MsgUpdateParamsResponse = exports.MsgUpdateParams = exports.QueryBlockGasResponse = exports.QueryBlockGasRequest = exports.QueryBaseFeeResponse = exports.QueryBaseFeeRequest = exports.QueryParamsResponse = exports.QueryParamsRequest = exports.Params = exports.EventBlockGas = exports.EventFeeMarket = void 0;
|
|
4
|
+
var events_1 = require("./events");
|
|
5
|
+
Object.defineProperty(exports, "EventFeeMarket", { enumerable: true, get: function () { return events_1.EventFeeMarket; } });
|
|
6
|
+
Object.defineProperty(exports, "EventBlockGas", { enumerable: true, get: function () { return events_1.EventBlockGas; } });
|
|
4
7
|
var feemarket_1 = require("./feemarket");
|
|
5
8
|
Object.defineProperty(exports, "Params", { enumerable: true, get: function () { return feemarket_1.Params; } });
|
|
6
9
|
var query_1 = require("./query");
|
|
@@ -10,3 +13,6 @@ Object.defineProperty(exports, "QueryBaseFeeRequest", { enumerable: true, get: f
|
|
|
10
13
|
Object.defineProperty(exports, "QueryBaseFeeResponse", { enumerable: true, get: function () { return query_1.QueryBaseFeeResponse; } });
|
|
11
14
|
Object.defineProperty(exports, "QueryBlockGasRequest", { enumerable: true, get: function () { return query_1.QueryBlockGasRequest; } });
|
|
12
15
|
Object.defineProperty(exports, "QueryBlockGasResponse", { enumerable: true, get: function () { return query_1.QueryBlockGasResponse; } });
|
|
16
|
+
var tx_1 = require("./tx");
|
|
17
|
+
Object.defineProperty(exports, "MsgUpdateParams", { enumerable: true, get: function () { return tx_1.MsgUpdateParams; } });
|
|
18
|
+
Object.defineProperty(exports, "MsgUpdateParamsResponse", { enumerable: true, get: function () { return tx_1.MsgUpdateParamsResponse; } });
|
|
@@ -26,6 +26,16 @@ export interface Params {
|
|
|
26
26
|
* to senders based on gas limit
|
|
27
27
|
*/
|
|
28
28
|
minGasMultiplier: string;
|
|
29
|
+
/**
|
|
30
|
+
* Sets the max amount of gas per block for EVM tx.
|
|
31
|
+
* This param is created to separate from cosmos consensus block max gas.
|
|
32
|
+
*/
|
|
33
|
+
gasLimitPerBlock: string;
|
|
34
|
+
/**
|
|
35
|
+
* Sets the maximum base fee for evm.
|
|
36
|
+
* Base Fee will not increase pass this value regardless how congested the network is.
|
|
37
|
+
*/
|
|
38
|
+
maxBaseFee: string;
|
|
29
39
|
}
|
|
30
40
|
export declare const Params: {
|
|
31
41
|
encode(message: Params, writer?: _m0.Writer): _m0.Writer;
|
|
@@ -16,6 +16,8 @@ const baseParams = {
|
|
|
16
16
|
baseFee: "",
|
|
17
17
|
minGasPrice: "",
|
|
18
18
|
minGasMultiplier: "",
|
|
19
|
+
gasLimitPerBlock: "",
|
|
20
|
+
maxBaseFee: "",
|
|
19
21
|
};
|
|
20
22
|
exports.Params = {
|
|
21
23
|
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
@@ -40,6 +42,12 @@ exports.Params = {
|
|
|
40
42
|
if (message.minGasMultiplier !== "") {
|
|
41
43
|
writer.uint32(66).string(message.minGasMultiplier);
|
|
42
44
|
}
|
|
45
|
+
if (message.gasLimitPerBlock !== "") {
|
|
46
|
+
writer.uint32(74).string(message.gasLimitPerBlock);
|
|
47
|
+
}
|
|
48
|
+
if (message.maxBaseFee !== "") {
|
|
49
|
+
writer.uint32(82).string(message.maxBaseFee);
|
|
50
|
+
}
|
|
43
51
|
return writer;
|
|
44
52
|
},
|
|
45
53
|
decode(input, length) {
|
|
@@ -70,6 +78,12 @@ exports.Params = {
|
|
|
70
78
|
case 8:
|
|
71
79
|
message.minGasMultiplier = reader.string();
|
|
72
80
|
break;
|
|
81
|
+
case 9:
|
|
82
|
+
message.gasLimitPerBlock = reader.string();
|
|
83
|
+
break;
|
|
84
|
+
case 10:
|
|
85
|
+
message.maxBaseFee = reader.string();
|
|
86
|
+
break;
|
|
73
87
|
default:
|
|
74
88
|
reader.skipType(tag & 7);
|
|
75
89
|
break;
|
|
@@ -109,6 +123,14 @@ exports.Params = {
|
|
|
109
123
|
object.minGasMultiplier !== undefined && object.minGasMultiplier !== null
|
|
110
124
|
? String(object.minGasMultiplier)
|
|
111
125
|
: "";
|
|
126
|
+
message.gasLimitPerBlock =
|
|
127
|
+
object.gasLimitPerBlock !== undefined && object.gasLimitPerBlock !== null
|
|
128
|
+
? String(object.gasLimitPerBlock)
|
|
129
|
+
: "";
|
|
130
|
+
message.maxBaseFee =
|
|
131
|
+
object.maxBaseFee !== undefined && object.maxBaseFee !== null
|
|
132
|
+
? String(object.maxBaseFee)
|
|
133
|
+
: "";
|
|
112
134
|
return message;
|
|
113
135
|
},
|
|
114
136
|
toJSON(message) {
|
|
@@ -125,10 +147,13 @@ exports.Params = {
|
|
|
125
147
|
(obj.minGasPrice = message.minGasPrice);
|
|
126
148
|
message.minGasMultiplier !== undefined &&
|
|
127
149
|
(obj.minGasMultiplier = message.minGasMultiplier);
|
|
150
|
+
message.gasLimitPerBlock !== undefined &&
|
|
151
|
+
(obj.gasLimitPerBlock = message.gasLimitPerBlock);
|
|
152
|
+
message.maxBaseFee !== undefined && (obj.maxBaseFee = message.maxBaseFee);
|
|
128
153
|
return obj;
|
|
129
154
|
},
|
|
130
155
|
fromPartial(object) {
|
|
131
|
-
var _a, _b, _c, _d, _e, _f;
|
|
156
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
132
157
|
const message = Object.assign({}, baseParams);
|
|
133
158
|
message.noBaseFee = (_a = object.noBaseFee) !== null && _a !== void 0 ? _a : false;
|
|
134
159
|
message.baseFeeChangeDenominator = (_b = object.baseFeeChangeDenominator) !== null && _b !== void 0 ? _b : 0;
|
|
@@ -140,6 +165,8 @@ exports.Params = {
|
|
|
140
165
|
message.baseFee = (_d = object.baseFee) !== null && _d !== void 0 ? _d : "";
|
|
141
166
|
message.minGasPrice = (_e = object.minGasPrice) !== null && _e !== void 0 ? _e : "";
|
|
142
167
|
message.minGasMultiplier = (_f = object.minGasMultiplier) !== null && _f !== void 0 ? _f : "";
|
|
168
|
+
message.gasLimitPerBlock = (_g = object.gasLimitPerBlock) !== null && _g !== void 0 ? _g : "";
|
|
169
|
+
message.maxBaseFee = (_h = object.maxBaseFee) !== null && _h !== void 0 ? _h : "";
|
|
143
170
|
return message;
|
|
144
171
|
},
|
|
145
172
|
};
|
|
@@ -1,2 +1,3 @@
|
|
|
1
1
|
export { Params } from "./v1/controller";
|
|
2
|
-
export { QueryParamsRequest, QueryParamsResponse } from "./v1/query";
|
|
2
|
+
export { QueryInterchainAccountRequest, QueryInterchainAccountResponse, QueryParamsRequest, QueryParamsResponse } from "./v1/query";
|
|
3
|
+
export { MsgRegisterInterchainAccount, MsgRegisterInterchainAccountResponse, MsgSendTx, MsgSendTxResponse } from "./v1/tx";
|
|
@@ -1,8 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.QueryParamsResponse = exports.QueryParamsRequest = exports.Params = void 0;
|
|
3
|
+
exports.MsgSendTxResponse = exports.MsgSendTx = exports.MsgRegisterInterchainAccountResponse = exports.MsgRegisterInterchainAccount = exports.QueryParamsResponse = exports.QueryParamsRequest = exports.QueryInterchainAccountResponse = exports.QueryInterchainAccountRequest = exports.Params = void 0;
|
|
4
4
|
var controller_1 = require("./v1/controller");
|
|
5
5
|
Object.defineProperty(exports, "Params", { enumerable: true, get: function () { return controller_1.Params; } });
|
|
6
6
|
var query_1 = require("./v1/query");
|
|
7
|
+
Object.defineProperty(exports, "QueryInterchainAccountRequest", { enumerable: true, get: function () { return query_1.QueryInterchainAccountRequest; } });
|
|
8
|
+
Object.defineProperty(exports, "QueryInterchainAccountResponse", { enumerable: true, get: function () { return query_1.QueryInterchainAccountResponse; } });
|
|
7
9
|
Object.defineProperty(exports, "QueryParamsRequest", { enumerable: true, get: function () { return query_1.QueryParamsRequest; } });
|
|
8
10
|
Object.defineProperty(exports, "QueryParamsResponse", { enumerable: true, get: function () { return query_1.QueryParamsResponse; } });
|
|
11
|
+
var tx_1 = require("./v1/tx");
|
|
12
|
+
Object.defineProperty(exports, "MsgRegisterInterchainAccount", { enumerable: true, get: function () { return tx_1.MsgRegisterInterchainAccount; } });
|
|
13
|
+
Object.defineProperty(exports, "MsgRegisterInterchainAccountResponse", { enumerable: true, get: function () { return tx_1.MsgRegisterInterchainAccountResponse; } });
|
|
14
|
+
Object.defineProperty(exports, "MsgSendTx", { enumerable: true, get: function () { return tx_1.MsgSendTx; } });
|
|
15
|
+
Object.defineProperty(exports, "MsgSendTxResponse", { enumerable: true, get: function () { return tx_1.MsgSendTxResponse; } });
|
|
@@ -2,6 +2,15 @@ import Long from "long";
|
|
|
2
2
|
import _m0 from "protobufjs/minimal";
|
|
3
3
|
import { Params } from "./controller";
|
|
4
4
|
export declare const protobufPackage = "ibc.applications.interchain_accounts.controller.v1";
|
|
5
|
+
/** QueryInterchainAccountRequest is the request type for the Query/InterchainAccount RPC method. */
|
|
6
|
+
export interface QueryInterchainAccountRequest {
|
|
7
|
+
owner: string;
|
|
8
|
+
connectionId: string;
|
|
9
|
+
}
|
|
10
|
+
/** QueryInterchainAccountResponse the response type for the Query/InterchainAccount RPC method. */
|
|
11
|
+
export interface QueryInterchainAccountResponse {
|
|
12
|
+
address: string;
|
|
13
|
+
}
|
|
5
14
|
/** QueryParamsRequest is the request type for the Query/Params RPC method. */
|
|
6
15
|
export interface QueryParamsRequest {
|
|
7
16
|
}
|
|
@@ -10,6 +19,20 @@ export interface QueryParamsResponse {
|
|
|
10
19
|
/** params defines the parameters of the module. */
|
|
11
20
|
params?: Params;
|
|
12
21
|
}
|
|
22
|
+
export declare const QueryInterchainAccountRequest: {
|
|
23
|
+
encode(message: QueryInterchainAccountRequest, writer?: _m0.Writer): _m0.Writer;
|
|
24
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): QueryInterchainAccountRequest;
|
|
25
|
+
fromJSON(object: any): QueryInterchainAccountRequest;
|
|
26
|
+
toJSON(message: QueryInterchainAccountRequest): unknown;
|
|
27
|
+
fromPartial(object: DeepPartial<QueryInterchainAccountRequest>): QueryInterchainAccountRequest;
|
|
28
|
+
};
|
|
29
|
+
export declare const QueryInterchainAccountResponse: {
|
|
30
|
+
encode(message: QueryInterchainAccountResponse, writer?: _m0.Writer): _m0.Writer;
|
|
31
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): QueryInterchainAccountResponse;
|
|
32
|
+
fromJSON(object: any): QueryInterchainAccountResponse;
|
|
33
|
+
toJSON(message: QueryInterchainAccountResponse): unknown;
|
|
34
|
+
fromPartial(object: DeepPartial<QueryInterchainAccountResponse>): QueryInterchainAccountResponse;
|
|
35
|
+
};
|
|
13
36
|
export declare const QueryParamsRequest: {
|
|
14
37
|
encode(_: QueryParamsRequest, writer?: _m0.Writer): _m0.Writer;
|
|
15
38
|
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): QueryParamsRequest;
|
|
@@ -26,12 +49,15 @@ export declare const QueryParamsResponse: {
|
|
|
26
49
|
};
|
|
27
50
|
/** Query provides defines the gRPC querier service. */
|
|
28
51
|
export interface Query {
|
|
52
|
+
/** InterchainAccount returns the interchain account address for a given owner address on a given connection */
|
|
53
|
+
InterchainAccount(request: QueryInterchainAccountRequest): Promise<QueryInterchainAccountResponse>;
|
|
29
54
|
/** Params queries all parameters of the ICA controller submodule. */
|
|
30
55
|
Params(request: QueryParamsRequest): Promise<QueryParamsResponse>;
|
|
31
56
|
}
|
|
32
57
|
export declare class QueryClientImpl implements Query {
|
|
33
58
|
private readonly rpc;
|
|
34
59
|
constructor(rpc: Rpc);
|
|
60
|
+
InterchainAccount(request: QueryInterchainAccountRequest): Promise<QueryInterchainAccountResponse>;
|
|
35
61
|
Params(request: QueryParamsRequest): Promise<QueryParamsResponse>;
|
|
36
62
|
}
|
|
37
63
|
interface Rpc {
|
|
@@ -3,12 +3,118 @@ 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.QueryParamsResponse = exports.QueryParamsRequest = exports.protobufPackage = void 0;
|
|
6
|
+
exports.QueryClientImpl = exports.QueryParamsResponse = exports.QueryParamsRequest = exports.QueryInterchainAccountResponse = exports.QueryInterchainAccountRequest = 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"));
|
|
10
10
|
const controller_1 = require("./controller");
|
|
11
11
|
exports.protobufPackage = "ibc.applications.interchain_accounts.controller.v1";
|
|
12
|
+
const baseQueryInterchainAccountRequest = {
|
|
13
|
+
owner: "",
|
|
14
|
+
connectionId: "",
|
|
15
|
+
};
|
|
16
|
+
exports.QueryInterchainAccountRequest = {
|
|
17
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
18
|
+
if (message.owner !== "") {
|
|
19
|
+
writer.uint32(10).string(message.owner);
|
|
20
|
+
}
|
|
21
|
+
if (message.connectionId !== "") {
|
|
22
|
+
writer.uint32(18).string(message.connectionId);
|
|
23
|
+
}
|
|
24
|
+
return writer;
|
|
25
|
+
},
|
|
26
|
+
decode(input, length) {
|
|
27
|
+
const reader = input instanceof minimal_1.default.Reader ? input : new minimal_1.default.Reader(input);
|
|
28
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
29
|
+
const message = Object.assign({}, baseQueryInterchainAccountRequest);
|
|
30
|
+
while (reader.pos < end) {
|
|
31
|
+
const tag = reader.uint32();
|
|
32
|
+
switch (tag >>> 3) {
|
|
33
|
+
case 1:
|
|
34
|
+
message.owner = reader.string();
|
|
35
|
+
break;
|
|
36
|
+
case 2:
|
|
37
|
+
message.connectionId = reader.string();
|
|
38
|
+
break;
|
|
39
|
+
default:
|
|
40
|
+
reader.skipType(tag & 7);
|
|
41
|
+
break;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
return message;
|
|
45
|
+
},
|
|
46
|
+
fromJSON(object) {
|
|
47
|
+
const message = Object.assign({}, baseQueryInterchainAccountRequest);
|
|
48
|
+
message.owner =
|
|
49
|
+
object.owner !== undefined && object.owner !== null
|
|
50
|
+
? String(object.owner)
|
|
51
|
+
: "";
|
|
52
|
+
message.connectionId =
|
|
53
|
+
object.connectionId !== undefined && object.connectionId !== null
|
|
54
|
+
? String(object.connectionId)
|
|
55
|
+
: "";
|
|
56
|
+
return message;
|
|
57
|
+
},
|
|
58
|
+
toJSON(message) {
|
|
59
|
+
const obj = {};
|
|
60
|
+
message.owner !== undefined && (obj.owner = message.owner);
|
|
61
|
+
message.connectionId !== undefined &&
|
|
62
|
+
(obj.connectionId = message.connectionId);
|
|
63
|
+
return obj;
|
|
64
|
+
},
|
|
65
|
+
fromPartial(object) {
|
|
66
|
+
var _a, _b;
|
|
67
|
+
const message = Object.assign({}, baseQueryInterchainAccountRequest);
|
|
68
|
+
message.owner = (_a = object.owner) !== null && _a !== void 0 ? _a : "";
|
|
69
|
+
message.connectionId = (_b = object.connectionId) !== null && _b !== void 0 ? _b : "";
|
|
70
|
+
return message;
|
|
71
|
+
},
|
|
72
|
+
};
|
|
73
|
+
const baseQueryInterchainAccountResponse = { address: "" };
|
|
74
|
+
exports.QueryInterchainAccountResponse = {
|
|
75
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
76
|
+
if (message.address !== "") {
|
|
77
|
+
writer.uint32(10).string(message.address);
|
|
78
|
+
}
|
|
79
|
+
return writer;
|
|
80
|
+
},
|
|
81
|
+
decode(input, length) {
|
|
82
|
+
const reader = input instanceof minimal_1.default.Reader ? input : new minimal_1.default.Reader(input);
|
|
83
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
84
|
+
const message = Object.assign({}, baseQueryInterchainAccountResponse);
|
|
85
|
+
while (reader.pos < end) {
|
|
86
|
+
const tag = reader.uint32();
|
|
87
|
+
switch (tag >>> 3) {
|
|
88
|
+
case 1:
|
|
89
|
+
message.address = reader.string();
|
|
90
|
+
break;
|
|
91
|
+
default:
|
|
92
|
+
reader.skipType(tag & 7);
|
|
93
|
+
break;
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
return message;
|
|
97
|
+
},
|
|
98
|
+
fromJSON(object) {
|
|
99
|
+
const message = Object.assign({}, baseQueryInterchainAccountResponse);
|
|
100
|
+
message.address =
|
|
101
|
+
object.address !== undefined && object.address !== null
|
|
102
|
+
? String(object.address)
|
|
103
|
+
: "";
|
|
104
|
+
return message;
|
|
105
|
+
},
|
|
106
|
+
toJSON(message) {
|
|
107
|
+
const obj = {};
|
|
108
|
+
message.address !== undefined && (obj.address = message.address);
|
|
109
|
+
return obj;
|
|
110
|
+
},
|
|
111
|
+
fromPartial(object) {
|
|
112
|
+
var _a;
|
|
113
|
+
const message = Object.assign({}, baseQueryInterchainAccountResponse);
|
|
114
|
+
message.address = (_a = object.address) !== null && _a !== void 0 ? _a : "";
|
|
115
|
+
return message;
|
|
116
|
+
},
|
|
117
|
+
};
|
|
12
118
|
const baseQueryParamsRequest = {};
|
|
13
119
|
exports.QueryParamsRequest = {
|
|
14
120
|
encode(_, writer = minimal_1.default.Writer.create()) {
|
|
@@ -92,8 +198,14 @@ exports.QueryParamsResponse = {
|
|
|
92
198
|
class QueryClientImpl {
|
|
93
199
|
constructor(rpc) {
|
|
94
200
|
this.rpc = rpc;
|
|
201
|
+
this.InterchainAccount = this.InterchainAccount.bind(this);
|
|
95
202
|
this.Params = this.Params.bind(this);
|
|
96
203
|
}
|
|
204
|
+
InterchainAccount(request) {
|
|
205
|
+
const data = exports.QueryInterchainAccountRequest.encode(request).finish();
|
|
206
|
+
const promise = this.rpc.request("ibc.applications.interchain_accounts.controller.v1.Query", "InterchainAccount", data);
|
|
207
|
+
return promise.then((data) => exports.QueryInterchainAccountResponse.decode(new minimal_1.default.Reader(data)));
|
|
208
|
+
}
|
|
97
209
|
Params(request) {
|
|
98
210
|
const data = exports.QueryParamsRequest.encode(request).finish();
|
|
99
211
|
const promise = this.rpc.request("ibc.applications.interchain_accounts.controller.v1.Query", "Params", data);
|
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
export { InterchainAccount } from "./account";
|
|
2
|
-
export { ControllerGenesisState, HostGenesisState, ActiveChannel, RegisteredInterchainAccount } from "./genesis";
|
|
3
2
|
export { Metadata } from "./metadata";
|
|
4
3
|
export { Type, typeFromJSON, typeToJSON, InterchainAccountPacketData, CosmosTx } from "./packet";
|
|
@@ -1,13 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CosmosTx = exports.InterchainAccountPacketData = exports.typeToJSON = exports.typeFromJSON = exports.Type = exports.Metadata = exports.
|
|
3
|
+
exports.CosmosTx = exports.InterchainAccountPacketData = exports.typeToJSON = exports.typeFromJSON = exports.Type = exports.Metadata = exports.InterchainAccount = void 0;
|
|
4
4
|
var account_1 = require("./account");
|
|
5
5
|
Object.defineProperty(exports, "InterchainAccount", { enumerable: true, get: function () { return account_1.InterchainAccount; } });
|
|
6
|
-
var genesis_1 = require("./genesis");
|
|
7
|
-
Object.defineProperty(exports, "ControllerGenesisState", { enumerable: true, get: function () { return genesis_1.ControllerGenesisState; } });
|
|
8
|
-
Object.defineProperty(exports, "HostGenesisState", { enumerable: true, get: function () { return genesis_1.HostGenesisState; } });
|
|
9
|
-
Object.defineProperty(exports, "ActiveChannel", { enumerable: true, get: function () { return genesis_1.ActiveChannel; } });
|
|
10
|
-
Object.defineProperty(exports, "RegisteredInterchainAccount", { enumerable: true, get: function () { return genesis_1.RegisteredInterchainAccount; } });
|
|
11
6
|
var metadata_1 = require("./metadata");
|
|
12
7
|
Object.defineProperty(exports, "Metadata", { enumerable: true, get: function () { return metadata_1.Metadata; } });
|
|
13
8
|
var packet_1 = require("./packet");
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { Allocation, TransferAuthorization } from "./authz";
|
|
2
|
+
export { QueryDenomTraceRequest, QueryDenomTraceResponse, QueryDenomTracesRequest, QueryDenomTracesResponse, QueryParamsRequest, QueryParamsResponse, QueryDenomHashRequest, QueryDenomHashResponse, QueryEscrowAddressRequest, QueryEscrowAddressResponse, QueryTotalEscrowForDenomRequest, QueryTotalEscrowForDenomResponse } from "./query";
|
|
2
3
|
export { DenomTrace, Params } from "./transfer";
|
|
3
4
|
export { MsgTransfer, MsgTransferResponse } from "./tx";
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.MsgTransferResponse = exports.MsgTransfer = exports.Params = exports.DenomTrace = exports.QueryDenomHashResponse = exports.QueryDenomHashRequest = exports.QueryParamsResponse = exports.QueryParamsRequest = exports.QueryDenomTracesResponse = exports.QueryDenomTracesRequest = exports.QueryDenomTraceResponse = exports.QueryDenomTraceRequest = void 0;
|
|
3
|
+
exports.MsgTransferResponse = exports.MsgTransfer = exports.Params = exports.DenomTrace = exports.QueryTotalEscrowForDenomResponse = exports.QueryTotalEscrowForDenomRequest = exports.QueryEscrowAddressResponse = exports.QueryEscrowAddressRequest = exports.QueryDenomHashResponse = exports.QueryDenomHashRequest = exports.QueryParamsResponse = exports.QueryParamsRequest = exports.QueryDenomTracesResponse = exports.QueryDenomTracesRequest = exports.QueryDenomTraceResponse = exports.QueryDenomTraceRequest = exports.TransferAuthorization = exports.Allocation = void 0;
|
|
4
|
+
var authz_1 = require("./authz");
|
|
5
|
+
Object.defineProperty(exports, "Allocation", { enumerable: true, get: function () { return authz_1.Allocation; } });
|
|
6
|
+
Object.defineProperty(exports, "TransferAuthorization", { enumerable: true, get: function () { return authz_1.TransferAuthorization; } });
|
|
4
7
|
var query_1 = require("./query");
|
|
5
8
|
Object.defineProperty(exports, "QueryDenomTraceRequest", { enumerable: true, get: function () { return query_1.QueryDenomTraceRequest; } });
|
|
6
9
|
Object.defineProperty(exports, "QueryDenomTraceResponse", { enumerable: true, get: function () { return query_1.QueryDenomTraceResponse; } });
|
|
@@ -10,6 +13,10 @@ Object.defineProperty(exports, "QueryParamsRequest", { enumerable: true, get: fu
|
|
|
10
13
|
Object.defineProperty(exports, "QueryParamsResponse", { enumerable: true, get: function () { return query_1.QueryParamsResponse; } });
|
|
11
14
|
Object.defineProperty(exports, "QueryDenomHashRequest", { enumerable: true, get: function () { return query_1.QueryDenomHashRequest; } });
|
|
12
15
|
Object.defineProperty(exports, "QueryDenomHashResponse", { enumerable: true, get: function () { return query_1.QueryDenomHashResponse; } });
|
|
16
|
+
Object.defineProperty(exports, "QueryEscrowAddressRequest", { enumerable: true, get: function () { return query_1.QueryEscrowAddressRequest; } });
|
|
17
|
+
Object.defineProperty(exports, "QueryEscrowAddressResponse", { enumerable: true, get: function () { return query_1.QueryEscrowAddressResponse; } });
|
|
18
|
+
Object.defineProperty(exports, "QueryTotalEscrowForDenomRequest", { enumerable: true, get: function () { return query_1.QueryTotalEscrowForDenomRequest; } });
|
|
19
|
+
Object.defineProperty(exports, "QueryTotalEscrowForDenomResponse", { enumerable: true, get: function () { return query_1.QueryTotalEscrowForDenomResponse; } });
|
|
13
20
|
var transfer_1 = require("./transfer");
|
|
14
21
|
Object.defineProperty(exports, "DenomTrace", { enumerable: true, get: function () { return transfer_1.DenomTrace; } });
|
|
15
22
|
Object.defineProperty(exports, "Params", { enumerable: true, get: function () { return transfer_1.Params; } });
|