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
package/lib/util/tx.d.ts
CHANGED
|
@@ -72,6 +72,8 @@ export declare const Types: {
|
|
|
72
72
|
MsgCancelOrderResponse: string;
|
|
73
73
|
MsgCancelAll: string;
|
|
74
74
|
MsgCancelAllResponse: string;
|
|
75
|
+
MsgUpdateParams: string;
|
|
76
|
+
MsgUpdateParamsResponse: string;
|
|
75
77
|
MsgAddRateStrategy: string;
|
|
76
78
|
MsgAddRateStrategyResponse: string;
|
|
77
79
|
MsgUpdateRateStrategy: string;
|
|
@@ -156,6 +158,8 @@ export declare const Types: {
|
|
|
156
158
|
MsgSetAccountEModeResponse: string;
|
|
157
159
|
MsgRemoveAccountEMode: string;
|
|
158
160
|
MsgRemoveAccountEModeResponse: string;
|
|
161
|
+
MsgCdpUpdateParams: string;
|
|
162
|
+
MsgCdpUpdateParamsResponse: string;
|
|
159
163
|
MsgSyncGenesis: string;
|
|
160
164
|
MsgSyncGenesisResponse: string;
|
|
161
165
|
MsgSyncHeaders: string;
|
|
@@ -178,8 +182,8 @@ export declare const Types: {
|
|
|
178
182
|
MsgConvertCoinResponse: string;
|
|
179
183
|
MsgConvertERC20: string;
|
|
180
184
|
MsgConvertERC20Response: string;
|
|
181
|
-
|
|
182
|
-
|
|
185
|
+
MsgErc20UpdateParams: string;
|
|
186
|
+
MsgErc20UpdateParamsResponse: string;
|
|
183
187
|
MsgRegisterToken: string;
|
|
184
188
|
MsgRegisterTokenResponse: string;
|
|
185
189
|
MsgRegisterERC20: string;
|
|
@@ -208,7 +212,17 @@ export declare const Types: {
|
|
|
208
212
|
MsgRemoveOracleResponse: string;
|
|
209
213
|
MsgSetOracleSlashEnabled: string;
|
|
210
214
|
MsgSetOracleSlashEnabledResponse: string;
|
|
215
|
+
MsgOracleUpdateParams: string;
|
|
216
|
+
MsgOracleUpdateParamsResponse: string;
|
|
211
217
|
CreateOracleProposal: string;
|
|
218
|
+
MsgDeactivateContract: string;
|
|
219
|
+
MsgDeactivateContractResponse: string;
|
|
220
|
+
MsgActivateContract: string;
|
|
221
|
+
MsgActivateContractResponse: string;
|
|
222
|
+
MsgSetParams: string;
|
|
223
|
+
MsgSetParamsResponse: string;
|
|
224
|
+
MsgEvmcontractUpdateParams: string;
|
|
225
|
+
MsgEvmcontractUpdateParamsResponse: string;
|
|
212
226
|
MsgInitiateAdminTransfer: string;
|
|
213
227
|
MsgInitiateAdminTransferResponse: string;
|
|
214
228
|
MsgAcceptAdminTransfer: string;
|
|
@@ -219,6 +233,8 @@ export declare const Types: {
|
|
|
219
233
|
MsgProcessZionCrossChainTxResponse: string;
|
|
220
234
|
MsgCreateEmitEvent: string;
|
|
221
235
|
MsgToggleEmitZionEvents: string;
|
|
236
|
+
MsgCcmUpdateParams: string;
|
|
237
|
+
MsgCcmUpdateParamsResponse: string;
|
|
222
238
|
MsgCreateToken: string;
|
|
223
239
|
MsgCreateTokenResponse: string;
|
|
224
240
|
MsgSyncToken: string;
|
|
@@ -272,6 +288,8 @@ export declare const Types: {
|
|
|
272
288
|
MsgActivateSubAccountResponse: string;
|
|
273
289
|
MsgRemoveSubAccount: string;
|
|
274
290
|
MsgRemoveSubAccountResponse: string;
|
|
291
|
+
MsgSubaccountUpdateParams: string;
|
|
292
|
+
MsgSubaccountUpdateParamsResponse: string;
|
|
275
293
|
MsgDisableSpotMarket: string;
|
|
276
294
|
MsgDisableSpotMarketResponse: string;
|
|
277
295
|
MsgCreateMarket: string;
|
|
@@ -290,6 +308,8 @@ export declare const Types: {
|
|
|
290
308
|
MsgSetStakeEquivalenceResponse: string;
|
|
291
309
|
MsgUpdateAllPoolTradingFees: string;
|
|
292
310
|
MsgUpdateAllPoolTradingFeesResponse: string;
|
|
311
|
+
MsgMarketUpdateParams: string;
|
|
312
|
+
MsgMarketUpdateParamsResponse: string;
|
|
293
313
|
CreateMarketProposal: string;
|
|
294
314
|
UpdateMarketProposal: string;
|
|
295
315
|
UpdatePerpetualsFundingIntervalProposal: string;
|
|
@@ -307,10 +327,14 @@ export declare const Types: {
|
|
|
307
327
|
MsgWithdrawFromPoolResponse: string;
|
|
308
328
|
MsgUpdateMarketConfig: string;
|
|
309
329
|
MsgUpdateMarketConfigResponse: string;
|
|
310
|
-
|
|
311
|
-
|
|
330
|
+
MsgPerpspoolSetParams: string;
|
|
331
|
+
MsgPerpspoolSetParamsResponse: string;
|
|
332
|
+
MsgPerpspoolUpdateParams: string;
|
|
333
|
+
MsgPerpspoolUpdateParamsResponse: string;
|
|
312
334
|
MsgSetSequence: string;
|
|
313
335
|
MsgSetSequenceResponse: string;
|
|
336
|
+
MsgLiquiditypoolCreatePool: string;
|
|
337
|
+
MsgLiquiditypoolCreatePoolResponse: string;
|
|
314
338
|
MsgCreatePoolWithLiquidity: string;
|
|
315
339
|
MsgCreatePoolWithLiquidityResponse: string;
|
|
316
340
|
MsgAddLiquidity: string;
|
|
@@ -329,12 +353,16 @@ export declare const Types: {
|
|
|
329
353
|
MsgSetRewardCurveResponse: string;
|
|
330
354
|
MsgSetCommitmentCurve: string;
|
|
331
355
|
MsgSetCommitmentCurveResponse: string;
|
|
356
|
+
MsgLiquiditypoolUpdatePool: string;
|
|
357
|
+
MsgLiquiditypoolUpdatePoolResponse: string;
|
|
332
358
|
MsgCreatePoolRoute: string;
|
|
333
359
|
MsgCreatePoolRouteResponse: string;
|
|
334
360
|
MsgRemovePoolRoute: string;
|
|
335
361
|
MsgRemovePoolRouteResponse: string;
|
|
336
362
|
MsgUpdatePoolRoute: string;
|
|
337
363
|
MsgUpdatePoolRouteResponse: string;
|
|
364
|
+
MsgLiquiditypoolUpdateParams: string;
|
|
365
|
+
MsgLiquiditypoolUpdateParamsResponse: string;
|
|
338
366
|
LinkPoolProposal: string;
|
|
339
367
|
UnlinkPoolProposal: string;
|
|
340
368
|
SetRewardCurveProposal: string;
|
|
@@ -356,7 +384,15 @@ export declare const Types: {
|
|
|
356
384
|
MsgSetStaleIndexAllowanceResponse: string;
|
|
357
385
|
MsgUpdateTokenPriceOracle: string;
|
|
358
386
|
MsgUpdateTokenPriceOracleResponse: string;
|
|
387
|
+
MsgPricingUpdateParams: string;
|
|
388
|
+
MsgPricingUpdateParamsResponse: string;
|
|
359
389
|
SettlementPriceProposal: string;
|
|
390
|
+
MsgLockproxyCreate: string;
|
|
391
|
+
MsgLockproxyCreateResponse: string;
|
|
392
|
+
MsgLockproxyBind: string;
|
|
393
|
+
MsgLockproxyBindResponse: string;
|
|
394
|
+
MsgLockproxyLock: string;
|
|
395
|
+
MsgLockproxyLockResponse: string;
|
|
360
396
|
MsgSetWrapperMapping: string;
|
|
361
397
|
MsgSetWrapperMappingResponse: string;
|
|
362
398
|
MsgDeleteWrapperMapping: string;
|
|
@@ -369,6 +405,16 @@ export declare const Types: {
|
|
|
369
405
|
MsgAllianceRedelegateResponse: string;
|
|
370
406
|
MsgAllianceClaimDelegationRewards: string;
|
|
371
407
|
MsgAllianceClaimDelegationRewardsResponse: string;
|
|
408
|
+
MsgAllianceUpdateParams: string;
|
|
409
|
+
MsgAllianceUpdateParamsResponse: string;
|
|
410
|
+
MsgAllianceCreateAlliance: string;
|
|
411
|
+
MsgAllianceCreateAllianceResponse: string;
|
|
412
|
+
MsgAllianceUpdateAlliance: string;
|
|
413
|
+
MsgAllianceUpdateAllianceResponse: string;
|
|
414
|
+
MsgAllianceDeleteAlliance: string;
|
|
415
|
+
MsgAllianceDeleteAllianceResponse: string;
|
|
416
|
+
MsgConsensusUpdateParams: string;
|
|
417
|
+
MsgConsensusUpdateParamsResponse: string;
|
|
372
418
|
MsgSoftwareUpgrade: string;
|
|
373
419
|
MsgSoftwareUpgradeResponse: string;
|
|
374
420
|
MsgCancelUpgrade: string;
|
|
@@ -379,10 +425,14 @@ export declare const Types: {
|
|
|
379
425
|
MsgGrantAllowanceResponse: string;
|
|
380
426
|
MsgRevokeAllowance: string;
|
|
381
427
|
MsgRevokeAllowanceResponse: string;
|
|
428
|
+
MsgMintUpdateParams: string;
|
|
429
|
+
MsgMintUpdateParamsResponse: string;
|
|
382
430
|
MsgSubmitEvidence: string;
|
|
383
431
|
MsgSubmitEvidenceResponse: string;
|
|
384
432
|
MsgNftSend: string;
|
|
385
433
|
MsgNftSendResponse: string;
|
|
434
|
+
MsgAuthUpdateParams: string;
|
|
435
|
+
MsgAuthUpdateParamsResponse: string;
|
|
386
436
|
MsgGroupCreateGroup: string;
|
|
387
437
|
MsgGroupCreateGroupResponse: string;
|
|
388
438
|
MsgGroupUpdateGroupMembers: string;
|
|
@@ -394,9 +444,9 @@ export declare const Types: {
|
|
|
394
444
|
MsgGroupCreateGroupPolicy: string;
|
|
395
445
|
MsgGroupCreateGroupPolicyResponse: string;
|
|
396
446
|
MsgGroupUpdateGroupPolicyAdmin: string;
|
|
447
|
+
MsgGroupUpdateGroupPolicyAdminResponse: string;
|
|
397
448
|
MsgGroupCreateGroupWithPolicy: string;
|
|
398
449
|
MsgGroupCreateGroupWithPolicyResponse: string;
|
|
399
|
-
MsgGroupUpdateGroupPolicyAdminResponse: string;
|
|
400
450
|
MsgGroupUpdateGroupPolicyDecisionPolicy: string;
|
|
401
451
|
MsgGroupUpdateGroupPolicyDecisionPolicyResponse: string;
|
|
402
452
|
MsgGroupUpdateGroupPolicyMetadata: string;
|
|
@@ -415,6 +465,10 @@ export declare const Types: {
|
|
|
415
465
|
MsgSendResponse: string;
|
|
416
466
|
MsgMultiSend: string;
|
|
417
467
|
MsgMultiSendResponse: string;
|
|
468
|
+
MsgBankUpdateParams: string;
|
|
469
|
+
MsgBankUpdateParamsResponse: string;
|
|
470
|
+
MsgSetSendEnabled: string;
|
|
471
|
+
MsgSetSendEnabledResponse: string;
|
|
418
472
|
MsgSetWithdrawAddress: string;
|
|
419
473
|
MsgSetWithdrawAddressResponse: string;
|
|
420
474
|
MsgWithdrawDelegatorReward: string;
|
|
@@ -423,9 +477,15 @@ export declare const Types: {
|
|
|
423
477
|
MsgWithdrawValidatorCommissionResponse: string;
|
|
424
478
|
MsgFundCommunityPool: string;
|
|
425
479
|
MsgFundCommunityPoolResponse: string;
|
|
480
|
+
MsgDistributionUpdateParams: string;
|
|
481
|
+
MsgDistributionUpdateParamsResponse: string;
|
|
482
|
+
MsgCommunityPoolSpend: string;
|
|
483
|
+
MsgCommunityPoolSpendResponse: string;
|
|
426
484
|
CommunityPoolSpendProposal: string;
|
|
427
485
|
MsgVerifyInvariant: string;
|
|
428
486
|
MsgVerifyInvariantResponse: string;
|
|
487
|
+
MsgCrisisUpdateParams: string;
|
|
488
|
+
MsgCrisisUpdateParamsResponse: string;
|
|
429
489
|
MsgCreateVestingAccount: string;
|
|
430
490
|
MsgCreateVestingAccountResponse: string;
|
|
431
491
|
MsgCreatePermanentLockedAccount: string;
|
|
@@ -444,6 +504,8 @@ export declare const Types: {
|
|
|
444
504
|
MsgUndelegateResponse: string;
|
|
445
505
|
MsgCancelUnbondingDelegation: string;
|
|
446
506
|
MsgCancelUnbondingDelegationResponse: string;
|
|
507
|
+
MsgStakingUpdateParams: string;
|
|
508
|
+
MsgStakingUpdateParamsResponse: string;
|
|
447
509
|
ParameterChangeProposal: string;
|
|
448
510
|
MsgGrant: string;
|
|
449
511
|
MsgExecResponse: string;
|
|
@@ -453,6 +515,8 @@ export declare const Types: {
|
|
|
453
515
|
MsgRevokeResponse: string;
|
|
454
516
|
MsgUnjail: string;
|
|
455
517
|
MsgUnjailResponse: string;
|
|
518
|
+
MsgSlashingUpdateParams: string;
|
|
519
|
+
MsgSlashingUpdateParamsResponse: string;
|
|
456
520
|
MsgGovSubmitProposal: string;
|
|
457
521
|
MsgGovSubmitProposalResponse: string;
|
|
458
522
|
MsgGovExecLegacyContent: string;
|
|
@@ -463,6 +527,8 @@ export declare const Types: {
|
|
|
463
527
|
MsgGovVoteWeightedResponse: string;
|
|
464
528
|
MsgGovDeposit: string;
|
|
465
529
|
MsgGovDepositResponse: string;
|
|
530
|
+
MsgGovUpdateParams: string;
|
|
531
|
+
MsgGovUpdateParamsResponse: string;
|
|
466
532
|
MsgSubmitProposal: string;
|
|
467
533
|
MsgSubmitProposalResponse: string;
|
|
468
534
|
MsgVote: string;
|
|
@@ -512,10 +578,26 @@ export declare const Types: {
|
|
|
512
578
|
ClientUpdateProposal: string;
|
|
513
579
|
UpgradeProposal: string;
|
|
514
580
|
Header: string;
|
|
581
|
+
MsgRegisterPayee: string;
|
|
582
|
+
MsgRegisterPayeeResponse: string;
|
|
583
|
+
MsgRegisterCounterpartyPayee: string;
|
|
584
|
+
MsgRegisterCounterpartyPayeeResponse: string;
|
|
585
|
+
MsgPayPacketFee: string;
|
|
586
|
+
MsgPayPacketFeeResponse: string;
|
|
587
|
+
MsgPayPacketFeeAsync: string;
|
|
588
|
+
MsgPayPacketFeeAsyncResponse: string;
|
|
515
589
|
MsgTransfer: string;
|
|
516
590
|
MsgTransferResponse: string;
|
|
517
|
-
|
|
518
|
-
|
|
591
|
+
MsgRegisterInterchainAccount: string;
|
|
592
|
+
MsgRegisterInterchainAccountResponse: string;
|
|
593
|
+
MsgSendTx: string;
|
|
594
|
+
MsgSendTxResponse: string;
|
|
595
|
+
MsgFeemarketUpdateParams: string;
|
|
596
|
+
MsgFeemarketUpdateParamsResponse: string;
|
|
597
|
+
MsgEthereumTx: string;
|
|
598
|
+
MsgEthereumTxResponse: string;
|
|
599
|
+
MsgEvmUpdateParams: string;
|
|
600
|
+
MsgEvmUpdateParamsResponse: string;
|
|
519
601
|
MsgExecuteContract: string;
|
|
520
602
|
};
|
|
521
603
|
export declare const DEFAULT_SIGN_OPTS: SignTxOpts;
|
|
@@ -538,10 +538,14 @@ class CarbonWallet {
|
|
|
538
538
|
});
|
|
539
539
|
}
|
|
540
540
|
reloadAccountInfo() {
|
|
541
|
-
var _a;
|
|
542
541
|
return __awaiter(this, void 0, void 0, function* () {
|
|
543
542
|
// carbon account always takes priority
|
|
544
|
-
|
|
543
|
+
let evmBech32Acc = null;
|
|
544
|
+
const bech32Acc = this.bech32Address && (yield this.getAccount(this.bech32Address));
|
|
545
|
+
if (!bech32Acc && this.evmBech32Address) {
|
|
546
|
+
evmBech32Acc = yield this.getAccount(this.evmBech32Address);
|
|
547
|
+
}
|
|
548
|
+
const accountAny = bech32Acc !== null && bech32Acc !== void 0 ? bech32Acc : evmBech32Acc;
|
|
545
549
|
if (!accountAny)
|
|
546
550
|
return undefined;
|
|
547
551
|
const { accountNumber, sequence, address } = auth_1.BaseAccount.decode(accountAny.value);
|
package/package.json
CHANGED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import Long from "long";
|
|
2
|
-
import _m0 from "protobufjs/minimal";
|
|
3
|
-
export declare const protobufPackage = "Switcheo.carbon.adl";
|
|
4
|
-
/** GenesisState defines the adl module's genesis state. */
|
|
5
|
-
export interface GenesisState {
|
|
6
|
-
}
|
|
7
|
-
export declare const GenesisState: {
|
|
8
|
-
encode(_: GenesisState, writer?: _m0.Writer): _m0.Writer;
|
|
9
|
-
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): GenesisState;
|
|
10
|
-
fromJSON(_: any): GenesisState;
|
|
11
|
-
toJSON(_: GenesisState): unknown;
|
|
12
|
-
fromPartial(_: DeepPartial<GenesisState>): GenesisState;
|
|
13
|
-
};
|
|
14
|
-
declare type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
15
|
-
export declare type DeepPartial<T> = T extends Builtin ? T : T extends Long ? string | number | Long : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|
|
16
|
-
[K in keyof T]?: DeepPartial<T[K]>;
|
|
17
|
-
} : Partial<T>;
|
|
18
|
-
export {};
|
package/lib/codec/adl/genesis.js
DELETED
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.GenesisState = exports.protobufPackage = void 0;
|
|
7
|
-
/* eslint-disable */
|
|
8
|
-
const long_1 = __importDefault(require("long"));
|
|
9
|
-
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
10
|
-
exports.protobufPackage = "Switcheo.carbon.adl";
|
|
11
|
-
const baseGenesisState = {};
|
|
12
|
-
exports.GenesisState = {
|
|
13
|
-
encode(_, writer = minimal_1.default.Writer.create()) {
|
|
14
|
-
return writer;
|
|
15
|
-
},
|
|
16
|
-
decode(input, length) {
|
|
17
|
-
const reader = input instanceof minimal_1.default.Reader ? input : new minimal_1.default.Reader(input);
|
|
18
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
19
|
-
const message = Object.assign({}, baseGenesisState);
|
|
20
|
-
while (reader.pos < end) {
|
|
21
|
-
const tag = reader.uint32();
|
|
22
|
-
switch (tag >>> 3) {
|
|
23
|
-
default:
|
|
24
|
-
reader.skipType(tag & 7);
|
|
25
|
-
break;
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
return message;
|
|
29
|
-
},
|
|
30
|
-
fromJSON(_) {
|
|
31
|
-
const message = Object.assign({}, baseGenesisState);
|
|
32
|
-
return message;
|
|
33
|
-
},
|
|
34
|
-
toJSON(_) {
|
|
35
|
-
const obj = {};
|
|
36
|
-
return obj;
|
|
37
|
-
},
|
|
38
|
-
fromPartial(_) {
|
|
39
|
-
const message = Object.assign({}, baseGenesisState);
|
|
40
|
-
return message;
|
|
41
|
-
},
|
|
42
|
-
};
|
|
43
|
-
if (minimal_1.default.util.Long !== long_1.default) {
|
|
44
|
-
minimal_1.default.util.Long = long_1.default;
|
|
45
|
-
minimal_1.default.configure();
|
|
46
|
-
}
|
package/lib/codec/adl/query.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export declare const protobufPackage = "Switcheo.carbon.adl";
|
|
2
|
-
/** Query defines the gRPC querier service. */
|
|
3
|
-
export interface Query {
|
|
4
|
-
}
|
|
5
|
-
export declare class QueryClientImpl implements Query {
|
|
6
|
-
private readonly rpc;
|
|
7
|
-
constructor(rpc: Rpc);
|
|
8
|
-
}
|
|
9
|
-
interface Rpc {
|
|
10
|
-
request(service: string, method: string, data: Uint8Array): Promise<Uint8Array>;
|
|
11
|
-
}
|
|
12
|
-
export {};
|
package/lib/codec/adl/query.js
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.QueryClientImpl = exports.protobufPackage = void 0;
|
|
7
|
-
/* eslint-disable */
|
|
8
|
-
const long_1 = __importDefault(require("long"));
|
|
9
|
-
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
10
|
-
exports.protobufPackage = "Switcheo.carbon.adl";
|
|
11
|
-
class QueryClientImpl {
|
|
12
|
-
constructor(rpc) {
|
|
13
|
-
this.rpc = rpc;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
exports.QueryClientImpl = QueryClientImpl;
|
|
17
|
-
if (minimal_1.default.util.Long !== long_1.default) {
|
|
18
|
-
minimal_1.default.util.Long = long_1.default;
|
|
19
|
-
minimal_1.default.configure();
|
|
20
|
-
}
|
package/lib/codec/adl/tx.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export declare const protobufPackage = "Switcheo.carbon.adl";
|
|
2
|
-
/** Msg defines the Msg service. */
|
|
3
|
-
export interface Msg {
|
|
4
|
-
}
|
|
5
|
-
export declare class MsgClientImpl implements Msg {
|
|
6
|
-
private readonly rpc;
|
|
7
|
-
constructor(rpc: Rpc);
|
|
8
|
-
}
|
|
9
|
-
interface Rpc {
|
|
10
|
-
request(service: string, method: string, data: Uint8Array): Promise<Uint8Array>;
|
|
11
|
-
}
|
|
12
|
-
export {};
|
package/lib/codec/adl/tx.js
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.MsgClientImpl = exports.protobufPackage = void 0;
|
|
7
|
-
/* eslint-disable */
|
|
8
|
-
const long_1 = __importDefault(require("long"));
|
|
9
|
-
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
10
|
-
exports.protobufPackage = "Switcheo.carbon.adl";
|
|
11
|
-
class MsgClientImpl {
|
|
12
|
-
constructor(rpc) {
|
|
13
|
-
this.rpc = rpc;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
exports.MsgClientImpl = MsgClientImpl;
|
|
17
|
-
if (minimal_1.default.util.Long !== long_1.default) {
|
|
18
|
-
minimal_1.default.util.Long = long_1.default;
|
|
19
|
-
minimal_1.default.configure();
|
|
20
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.MsgAcceptAdminTransferResponse = exports.MsgAcceptAdminTransfer = exports.MsgInitiateAdminTransferResponse = exports.MsgInitiateAdminTransfer = exports.QueryAdminRecipientResponse = exports.QueryAdminRecipientRequest = exports.QueryAdminResponse = exports.QueryAdminRequest = void 0;
|
|
4
|
-
var query_1 = require("./query");
|
|
5
|
-
Object.defineProperty(exports, "QueryAdminRequest", { enumerable: true, get: function () { return query_1.QueryAdminRequest; } });
|
|
6
|
-
Object.defineProperty(exports, "QueryAdminResponse", { enumerable: true, get: function () { return query_1.QueryAdminResponse; } });
|
|
7
|
-
Object.defineProperty(exports, "QueryAdminRecipientRequest", { enumerable: true, get: function () { return query_1.QueryAdminRecipientRequest; } });
|
|
8
|
-
Object.defineProperty(exports, "QueryAdminRecipientResponse", { enumerable: true, get: function () { return query_1.QueryAdminRecipientResponse; } });
|
|
9
|
-
var tx_1 = require("./tx");
|
|
10
|
-
Object.defineProperty(exports, "MsgInitiateAdminTransfer", { enumerable: true, get: function () { return tx_1.MsgInitiateAdminTransfer; } });
|
|
11
|
-
Object.defineProperty(exports, "MsgInitiateAdminTransferResponse", { enumerable: true, get: function () { return tx_1.MsgInitiateAdminTransferResponse; } });
|
|
12
|
-
Object.defineProperty(exports, "MsgAcceptAdminTransfer", { enumerable: true, get: function () { return tx_1.MsgAcceptAdminTransfer; } });
|
|
13
|
-
Object.defineProperty(exports, "MsgAcceptAdminTransferResponse", { enumerable: true, get: function () { return tx_1.MsgAcceptAdminTransferResponse; } });
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import Long from "long";
|
|
2
|
-
import _m0 from "protobufjs/minimal";
|
|
3
|
-
export declare const protobufPackage = "switcheo.carbon.admin";
|
|
4
|
-
/** GenesisState defines the admin module's genesis state. */
|
|
5
|
-
export interface GenesisState {
|
|
6
|
-
}
|
|
7
|
-
export declare const GenesisState: {
|
|
8
|
-
encode(_: GenesisState, writer?: _m0.Writer): _m0.Writer;
|
|
9
|
-
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): GenesisState;
|
|
10
|
-
fromJSON(_: any): GenesisState;
|
|
11
|
-
toJSON(_: GenesisState): unknown;
|
|
12
|
-
fromPartial(_: DeepPartial<GenesisState>): GenesisState;
|
|
13
|
-
};
|
|
14
|
-
declare type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
15
|
-
export declare type DeepPartial<T> = T extends Builtin ? T : T extends Long ? string | number | Long : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|
|
16
|
-
[K in keyof T]?: DeepPartial<T[K]>;
|
|
17
|
-
} : Partial<T>;
|
|
18
|
-
export {};
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.GenesisState = exports.protobufPackage = void 0;
|
|
7
|
-
/* eslint-disable */
|
|
8
|
-
const long_1 = __importDefault(require("long"));
|
|
9
|
-
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
10
|
-
exports.protobufPackage = "switcheo.carbon.admin";
|
|
11
|
-
const baseGenesisState = {};
|
|
12
|
-
exports.GenesisState = {
|
|
13
|
-
encode(_, writer = minimal_1.default.Writer.create()) {
|
|
14
|
-
return writer;
|
|
15
|
-
},
|
|
16
|
-
decode(input, length) {
|
|
17
|
-
const reader = input instanceof minimal_1.default.Reader ? input : new minimal_1.default.Reader(input);
|
|
18
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
19
|
-
const message = Object.assign({}, baseGenesisState);
|
|
20
|
-
while (reader.pos < end) {
|
|
21
|
-
const tag = reader.uint32();
|
|
22
|
-
switch (tag >>> 3) {
|
|
23
|
-
default:
|
|
24
|
-
reader.skipType(tag & 7);
|
|
25
|
-
break;
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
return message;
|
|
29
|
-
},
|
|
30
|
-
fromJSON(_) {
|
|
31
|
-
const message = Object.assign({}, baseGenesisState);
|
|
32
|
-
return message;
|
|
33
|
-
},
|
|
34
|
-
toJSON(_) {
|
|
35
|
-
const obj = {};
|
|
36
|
-
return obj;
|
|
37
|
-
},
|
|
38
|
-
fromPartial(_) {
|
|
39
|
-
const message = Object.assign({}, baseGenesisState);
|
|
40
|
-
return message;
|
|
41
|
-
},
|
|
42
|
-
};
|
|
43
|
-
if (minimal_1.default.util.Long !== long_1.default) {
|
|
44
|
-
minimal_1.default.util.Long = long_1.default;
|
|
45
|
-
minimal_1.default.configure();
|
|
46
|
-
}
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
import Long from "long";
|
|
2
|
-
import _m0 from "protobufjs/minimal";
|
|
3
|
-
export declare const protobufPackage = "switcheo.carbon.admin";
|
|
4
|
-
export interface QueryAdminRequest {
|
|
5
|
-
}
|
|
6
|
-
export interface QueryAdminResponse {
|
|
7
|
-
address: string;
|
|
8
|
-
}
|
|
9
|
-
export interface QueryAdminRecipientRequest {
|
|
10
|
-
}
|
|
11
|
-
export interface QueryAdminRecipientResponse {
|
|
12
|
-
address: string;
|
|
13
|
-
}
|
|
14
|
-
export declare const QueryAdminRequest: {
|
|
15
|
-
encode(_: QueryAdminRequest, writer?: _m0.Writer): _m0.Writer;
|
|
16
|
-
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): QueryAdminRequest;
|
|
17
|
-
fromJSON(_: any): QueryAdminRequest;
|
|
18
|
-
toJSON(_: QueryAdminRequest): unknown;
|
|
19
|
-
fromPartial(_: DeepPartial<QueryAdminRequest>): QueryAdminRequest;
|
|
20
|
-
};
|
|
21
|
-
export declare const QueryAdminResponse: {
|
|
22
|
-
encode(message: QueryAdminResponse, writer?: _m0.Writer): _m0.Writer;
|
|
23
|
-
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): QueryAdminResponse;
|
|
24
|
-
fromJSON(object: any): QueryAdminResponse;
|
|
25
|
-
toJSON(message: QueryAdminResponse): unknown;
|
|
26
|
-
fromPartial(object: DeepPartial<QueryAdminResponse>): QueryAdminResponse;
|
|
27
|
-
};
|
|
28
|
-
export declare const QueryAdminRecipientRequest: {
|
|
29
|
-
encode(_: QueryAdminRecipientRequest, writer?: _m0.Writer): _m0.Writer;
|
|
30
|
-
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): QueryAdminRecipientRequest;
|
|
31
|
-
fromJSON(_: any): QueryAdminRecipientRequest;
|
|
32
|
-
toJSON(_: QueryAdminRecipientRequest): unknown;
|
|
33
|
-
fromPartial(_: DeepPartial<QueryAdminRecipientRequest>): QueryAdminRecipientRequest;
|
|
34
|
-
};
|
|
35
|
-
export declare const QueryAdminRecipientResponse: {
|
|
36
|
-
encode(message: QueryAdminRecipientResponse, writer?: _m0.Writer): _m0.Writer;
|
|
37
|
-
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): QueryAdminRecipientResponse;
|
|
38
|
-
fromJSON(object: any): QueryAdminRecipientResponse;
|
|
39
|
-
toJSON(message: QueryAdminRecipientResponse): unknown;
|
|
40
|
-
fromPartial(object: DeepPartial<QueryAdminRecipientResponse>): QueryAdminRecipientResponse;
|
|
41
|
-
};
|
|
42
|
-
/** Query defines the gRPC querier service. */
|
|
43
|
-
export interface Query {
|
|
44
|
-
/** Queries a list of Admin items. */
|
|
45
|
-
Admin(request: QueryAdminRequest): Promise<QueryAdminResponse>;
|
|
46
|
-
/** Queries a list of AdminRecipient items. */
|
|
47
|
-
AdminRecipient(request: QueryAdminRecipientRequest): Promise<QueryAdminRecipientResponse>;
|
|
48
|
-
}
|
|
49
|
-
export declare class QueryClientImpl implements Query {
|
|
50
|
-
private readonly rpc;
|
|
51
|
-
constructor(rpc: Rpc);
|
|
52
|
-
Admin(request: QueryAdminRequest): Promise<QueryAdminResponse>;
|
|
53
|
-
AdminRecipient(request: QueryAdminRecipientRequest): Promise<QueryAdminRecipientResponse>;
|
|
54
|
-
}
|
|
55
|
-
interface Rpc {
|
|
56
|
-
request(service: string, method: string, data: Uint8Array): Promise<Uint8Array>;
|
|
57
|
-
}
|
|
58
|
-
declare type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
59
|
-
export declare type DeepPartial<T> = T extends Builtin ? T : T extends Long ? string | number | Long : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|
|
60
|
-
[K in keyof T]?: DeepPartial<T[K]>;
|
|
61
|
-
} : Partial<T>;
|
|
62
|
-
export {};
|