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
|
@@ -8,7 +8,7 @@ export interface Minter {
|
|
|
8
8
|
/** current annual expected provisions */
|
|
9
9
|
annualProvisions: string;
|
|
10
10
|
}
|
|
11
|
-
/** Params
|
|
11
|
+
/** Params defines the parameters for the x/mint module. */
|
|
12
12
|
export interface Params {
|
|
13
13
|
/** type of coin to mint */
|
|
14
14
|
mintDenom: string;
|
|
@@ -3,21 +3,31 @@ import _m0 from "protobufjs/minimal";
|
|
|
3
3
|
export declare const protobufPackage = "cosmos.nft.v1beta1";
|
|
4
4
|
/** EventSend is emitted on Msg/Send */
|
|
5
5
|
export interface EventSend {
|
|
6
|
+
/** class_id associated with the nft */
|
|
6
7
|
classId: string;
|
|
8
|
+
/** id is a unique identifier of the nft */
|
|
7
9
|
id: string;
|
|
10
|
+
/** sender is the address of the owner of nft */
|
|
8
11
|
sender: string;
|
|
12
|
+
/** receiver is the receiver address of nft */
|
|
9
13
|
receiver: string;
|
|
10
14
|
}
|
|
11
15
|
/** EventMint is emitted on Mint */
|
|
12
16
|
export interface EventMint {
|
|
17
|
+
/** class_id associated with the nft */
|
|
13
18
|
classId: string;
|
|
19
|
+
/** id is a unique identifier of the nft */
|
|
14
20
|
id: string;
|
|
21
|
+
/** owner is the owner address of the nft */
|
|
15
22
|
owner: string;
|
|
16
23
|
}
|
|
17
24
|
/** EventBurn is emitted on Burn */
|
|
18
25
|
export interface EventBurn {
|
|
26
|
+
/** class_id associated with the nft */
|
|
19
27
|
classId: string;
|
|
28
|
+
/** id is a unique identifier of the nft */
|
|
20
29
|
id: string;
|
|
30
|
+
/** owner is the owner address of the nft */
|
|
21
31
|
owner: string;
|
|
22
32
|
}
|
|
23
33
|
export declare const EventSend: {
|
|
@@ -6,6 +6,7 @@ export declare const protobufPackage = "cosmos.nft.v1beta1";
|
|
|
6
6
|
export interface GenesisState {
|
|
7
7
|
/** class defines the class of the nft type. */
|
|
8
8
|
classes: Class[];
|
|
9
|
+
/** entry defines all nft owned by a person. */
|
|
9
10
|
entries: Entry[];
|
|
10
11
|
}
|
|
11
12
|
/** Entry Defines all nft owned by a person */
|
|
@@ -5,56 +5,74 @@ import { NFT, Class } from "./nft";
|
|
|
5
5
|
export declare const protobufPackage = "cosmos.nft.v1beta1";
|
|
6
6
|
/** QueryBalanceRequest is the request type for the Query/Balance RPC method */
|
|
7
7
|
export interface QueryBalanceRequest {
|
|
8
|
+
/** class_id associated with the nft */
|
|
8
9
|
classId: string;
|
|
10
|
+
/** owner is the owner address of the nft */
|
|
9
11
|
owner: string;
|
|
10
12
|
}
|
|
11
13
|
/** QueryBalanceResponse is the response type for the Query/Balance RPC method */
|
|
12
14
|
export interface QueryBalanceResponse {
|
|
15
|
+
/** amount is the number of all NFTs of a given class owned by the owner */
|
|
13
16
|
amount: Long;
|
|
14
17
|
}
|
|
15
18
|
/** QueryOwnerRequest is the request type for the Query/Owner RPC method */
|
|
16
19
|
export interface QueryOwnerRequest {
|
|
20
|
+
/** class_id associated with the nft */
|
|
17
21
|
classId: string;
|
|
22
|
+
/** id is a unique identifier of the NFT */
|
|
18
23
|
id: string;
|
|
19
24
|
}
|
|
20
25
|
/** QueryOwnerResponse is the response type for the Query/Owner RPC method */
|
|
21
26
|
export interface QueryOwnerResponse {
|
|
27
|
+
/** owner is the owner address of the nft */
|
|
22
28
|
owner: string;
|
|
23
29
|
}
|
|
24
30
|
/** QuerySupplyRequest is the request type for the Query/Supply RPC method */
|
|
25
31
|
export interface QuerySupplyRequest {
|
|
32
|
+
/** class_id associated with the nft */
|
|
26
33
|
classId: string;
|
|
27
34
|
}
|
|
28
35
|
/** QuerySupplyResponse is the response type for the Query/Supply RPC method */
|
|
29
36
|
export interface QuerySupplyResponse {
|
|
37
|
+
/** amount is the number of all NFTs from the given class */
|
|
30
38
|
amount: Long;
|
|
31
39
|
}
|
|
32
40
|
/** QueryNFTstRequest is the request type for the Query/NFTs RPC method */
|
|
33
41
|
export interface QueryNFTsRequest {
|
|
42
|
+
/** class_id associated with the nft */
|
|
34
43
|
classId: string;
|
|
44
|
+
/** owner is the owner address of the nft */
|
|
35
45
|
owner: string;
|
|
46
|
+
/** pagination defines an optional pagination for the request. */
|
|
36
47
|
pagination?: PageRequest;
|
|
37
48
|
}
|
|
38
49
|
/** QueryNFTsResponse is the response type for the Query/NFTs RPC methods */
|
|
39
50
|
export interface QueryNFTsResponse {
|
|
51
|
+
/** NFT defines the NFT */
|
|
40
52
|
nfts: NFT[];
|
|
53
|
+
/** pagination defines the pagination in the response. */
|
|
41
54
|
pagination?: PageResponse;
|
|
42
55
|
}
|
|
43
56
|
/** QueryNFTRequest is the request type for the Query/NFT RPC method */
|
|
44
57
|
export interface QueryNFTRequest {
|
|
58
|
+
/** class_id associated with the nft */
|
|
45
59
|
classId: string;
|
|
60
|
+
/** id is a unique identifier of the NFT */
|
|
46
61
|
id: string;
|
|
47
62
|
}
|
|
48
63
|
/** QueryNFTResponse is the response type for the Query/NFT RPC method */
|
|
49
64
|
export interface QueryNFTResponse {
|
|
65
|
+
/** owner is the owner address of the nft */
|
|
50
66
|
nft?: NFT;
|
|
51
67
|
}
|
|
52
68
|
/** QueryClassRequest is the request type for the Query/Class RPC method */
|
|
53
69
|
export interface QueryClassRequest {
|
|
70
|
+
/** class_id associated with the nft */
|
|
54
71
|
classId: string;
|
|
55
72
|
}
|
|
56
73
|
/** QueryClassResponse is the response type for the Query/Class RPC method */
|
|
57
74
|
export interface QueryClassResponse {
|
|
75
|
+
/** class defines the class of the nft type. */
|
|
58
76
|
class?: Class;
|
|
59
77
|
}
|
|
60
78
|
/** QueryClassesRequest is the request type for the Query/Classes RPC method */
|
|
@@ -64,7 +82,9 @@ export interface QueryClassesRequest {
|
|
|
64
82
|
}
|
|
65
83
|
/** QueryClassesResponse is the response type for the Query/Classes RPC method */
|
|
66
84
|
export interface QueryClassesResponse {
|
|
85
|
+
/** class defines the class of the nft type. */
|
|
67
86
|
classes: Class[];
|
|
87
|
+
/** pagination defines the pagination in the response. */
|
|
68
88
|
pagination?: PageResponse;
|
|
69
89
|
}
|
|
70
90
|
export declare const QueryBalanceRequest: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export { SigningInfo, ValidatorMissedBlocks, MissedBlock } from "./genesis";
|
|
2
2
|
export { QueryParamsRequest, QueryParamsResponse, QuerySigningInfoRequest, QuerySigningInfoResponse, QuerySigningInfosRequest, QuerySigningInfosResponse } from "./query";
|
|
3
3
|
export { ValidatorSigningInfo, Params } from "./slashing";
|
|
4
|
-
export { MsgUnjail, MsgUnjailResponse } from "./tx";
|
|
4
|
+
export { MsgUnjail, MsgUnjailResponse, MsgUpdateParams, MsgUpdateParamsResponse } from "./tx";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.MsgUnjailResponse = exports.MsgUnjail = exports.Params = exports.ValidatorSigningInfo = exports.QuerySigningInfosResponse = exports.QuerySigningInfosRequest = exports.QuerySigningInfoResponse = exports.QuerySigningInfoRequest = exports.QueryParamsResponse = exports.QueryParamsRequest = exports.MissedBlock = exports.ValidatorMissedBlocks = exports.SigningInfo = void 0;
|
|
3
|
+
exports.MsgUpdateParamsResponse = exports.MsgUpdateParams = exports.MsgUnjailResponse = exports.MsgUnjail = exports.Params = exports.ValidatorSigningInfo = exports.QuerySigningInfosResponse = exports.QuerySigningInfosRequest = exports.QuerySigningInfoResponse = exports.QuerySigningInfoRequest = exports.QueryParamsResponse = exports.QueryParamsRequest = exports.MissedBlock = exports.ValidatorMissedBlocks = exports.SigningInfo = void 0;
|
|
4
4
|
var genesis_1 = require("./genesis");
|
|
5
5
|
Object.defineProperty(exports, "SigningInfo", { enumerable: true, get: function () { return genesis_1.SigningInfo; } });
|
|
6
6
|
Object.defineProperty(exports, "ValidatorMissedBlocks", { enumerable: true, get: function () { return genesis_1.ValidatorMissedBlocks; } });
|
|
@@ -18,3 +18,5 @@ Object.defineProperty(exports, "Params", { enumerable: true, get: function () {
|
|
|
18
18
|
var tx_1 = require("./tx");
|
|
19
19
|
Object.defineProperty(exports, "MsgUnjail", { enumerable: true, get: function () { return tx_1.MsgUnjail; } });
|
|
20
20
|
Object.defineProperty(exports, "MsgUnjailResponse", { enumerable: true, get: function () { return tx_1.MsgUnjailResponse; } });
|
|
21
|
+
Object.defineProperty(exports, "MsgUpdateParams", { enumerable: true, get: function () { return tx_1.MsgUpdateParams; } });
|
|
22
|
+
Object.defineProperty(exports, "MsgUpdateParamsResponse", { enumerable: true, get: function () { return tx_1.MsgUpdateParamsResponse; } });
|
|
@@ -4,7 +4,7 @@ import { Params, ValidatorSigningInfo } from "./slashing";
|
|
|
4
4
|
export declare const protobufPackage = "cosmos.slashing.v1beta1";
|
|
5
5
|
/** GenesisState defines the slashing module's genesis state. */
|
|
6
6
|
export interface GenesisState {
|
|
7
|
-
/** params defines all the
|
|
7
|
+
/** params defines all the parameters of the module. */
|
|
8
8
|
params?: Params;
|
|
9
9
|
/**
|
|
10
10
|
* signing_infos represents a map between validator addresses and their
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import Long from "long";
|
|
2
2
|
import _m0 from "protobufjs/minimal";
|
|
3
|
+
import { Params } from "./slashing";
|
|
3
4
|
export declare const protobufPackage = "cosmos.slashing.v1beta1";
|
|
4
5
|
/** MsgUnjail defines the Msg/Unjail request type */
|
|
5
6
|
export interface MsgUnjail {
|
|
@@ -8,6 +9,29 @@ export interface MsgUnjail {
|
|
|
8
9
|
/** MsgUnjailResponse defines the Msg/Unjail response type */
|
|
9
10
|
export interface MsgUnjailResponse {
|
|
10
11
|
}
|
|
12
|
+
/**
|
|
13
|
+
* MsgUpdateParams is the Msg/UpdateParams request type.
|
|
14
|
+
*
|
|
15
|
+
* Since: cosmos-sdk 0.47
|
|
16
|
+
*/
|
|
17
|
+
export interface MsgUpdateParams {
|
|
18
|
+
/** authority is the address that controls the module (defaults to x/gov unless overwritten). */
|
|
19
|
+
authority: string;
|
|
20
|
+
/**
|
|
21
|
+
* params defines the x/slashing parameters to update.
|
|
22
|
+
*
|
|
23
|
+
* NOTE: All parameters must be supplied.
|
|
24
|
+
*/
|
|
25
|
+
params?: Params;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* MsgUpdateParamsResponse defines the response structure for executing a
|
|
29
|
+
* MsgUpdateParams message.
|
|
30
|
+
*
|
|
31
|
+
* Since: cosmos-sdk 0.47
|
|
32
|
+
*/
|
|
33
|
+
export interface MsgUpdateParamsResponse {
|
|
34
|
+
}
|
|
11
35
|
export declare const MsgUnjail: {
|
|
12
36
|
encode(message: MsgUnjail, writer?: _m0.Writer): _m0.Writer;
|
|
13
37
|
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): MsgUnjail;
|
|
@@ -22,6 +46,20 @@ export declare const MsgUnjailResponse: {
|
|
|
22
46
|
toJSON(_: MsgUnjailResponse): unknown;
|
|
23
47
|
fromPartial(_: DeepPartial<MsgUnjailResponse>): MsgUnjailResponse;
|
|
24
48
|
};
|
|
49
|
+
export declare const MsgUpdateParams: {
|
|
50
|
+
encode(message: MsgUpdateParams, writer?: _m0.Writer): _m0.Writer;
|
|
51
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): MsgUpdateParams;
|
|
52
|
+
fromJSON(object: any): MsgUpdateParams;
|
|
53
|
+
toJSON(message: MsgUpdateParams): unknown;
|
|
54
|
+
fromPartial(object: DeepPartial<MsgUpdateParams>): MsgUpdateParams;
|
|
55
|
+
};
|
|
56
|
+
export declare const MsgUpdateParamsResponse: {
|
|
57
|
+
encode(_: MsgUpdateParamsResponse, writer?: _m0.Writer): _m0.Writer;
|
|
58
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): MsgUpdateParamsResponse;
|
|
59
|
+
fromJSON(_: any): MsgUpdateParamsResponse;
|
|
60
|
+
toJSON(_: MsgUpdateParamsResponse): unknown;
|
|
61
|
+
fromPartial(_: DeepPartial<MsgUpdateParamsResponse>): MsgUpdateParamsResponse;
|
|
62
|
+
};
|
|
25
63
|
/** Msg defines the slashing Msg service. */
|
|
26
64
|
export interface Msg {
|
|
27
65
|
/**
|
|
@@ -30,11 +68,19 @@ export interface Msg {
|
|
|
30
68
|
* and rewards again.
|
|
31
69
|
*/
|
|
32
70
|
Unjail(request: MsgUnjail): Promise<MsgUnjailResponse>;
|
|
71
|
+
/**
|
|
72
|
+
* UpdateParams defines a governance operation for updating the x/slashing module
|
|
73
|
+
* parameters. The authority defaults to the x/gov module account.
|
|
74
|
+
*
|
|
75
|
+
* Since: cosmos-sdk 0.47
|
|
76
|
+
*/
|
|
77
|
+
UpdateParams(request: MsgUpdateParams): Promise<MsgUpdateParamsResponse>;
|
|
33
78
|
}
|
|
34
79
|
export declare class MsgClientImpl implements Msg {
|
|
35
80
|
private readonly rpc;
|
|
36
81
|
constructor(rpc: Rpc);
|
|
37
82
|
Unjail(request: MsgUnjail): Promise<MsgUnjailResponse>;
|
|
83
|
+
UpdateParams(request: MsgUpdateParams): Promise<MsgUpdateParamsResponse>;
|
|
38
84
|
}
|
|
39
85
|
interface Rpc {
|
|
40
86
|
request(service: string, method: string, data: Uint8Array): Promise<Uint8Array>;
|
|
@@ -3,10 +3,11 @@ 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.MsgUnjailResponse = exports.MsgUnjail = exports.protobufPackage = void 0;
|
|
6
|
+
exports.MsgClientImpl = exports.MsgUpdateParamsResponse = exports.MsgUpdateParams = exports.MsgUnjailResponse = exports.MsgUnjail = 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
|
+
const slashing_1 = require("./slashing");
|
|
10
11
|
exports.protobufPackage = "cosmos.slashing.v1beta1";
|
|
11
12
|
const baseMsgUnjail = { validatorAddr: "" };
|
|
12
13
|
exports.MsgUnjail = {
|
|
@@ -86,16 +87,115 @@ exports.MsgUnjailResponse = {
|
|
|
86
87
|
return message;
|
|
87
88
|
},
|
|
88
89
|
};
|
|
90
|
+
const baseMsgUpdateParams = { authority: "" };
|
|
91
|
+
exports.MsgUpdateParams = {
|
|
92
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
93
|
+
if (message.authority !== "") {
|
|
94
|
+
writer.uint32(10).string(message.authority);
|
|
95
|
+
}
|
|
96
|
+
if (message.params !== undefined) {
|
|
97
|
+
slashing_1.Params.encode(message.params, writer.uint32(18).fork()).ldelim();
|
|
98
|
+
}
|
|
99
|
+
return writer;
|
|
100
|
+
},
|
|
101
|
+
decode(input, length) {
|
|
102
|
+
const reader = input instanceof minimal_1.default.Reader ? input : new minimal_1.default.Reader(input);
|
|
103
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
104
|
+
const message = Object.assign({}, baseMsgUpdateParams);
|
|
105
|
+
while (reader.pos < end) {
|
|
106
|
+
const tag = reader.uint32();
|
|
107
|
+
switch (tag >>> 3) {
|
|
108
|
+
case 1:
|
|
109
|
+
message.authority = reader.string();
|
|
110
|
+
break;
|
|
111
|
+
case 2:
|
|
112
|
+
message.params = slashing_1.Params.decode(reader, reader.uint32());
|
|
113
|
+
break;
|
|
114
|
+
default:
|
|
115
|
+
reader.skipType(tag & 7);
|
|
116
|
+
break;
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
return message;
|
|
120
|
+
},
|
|
121
|
+
fromJSON(object) {
|
|
122
|
+
const message = Object.assign({}, baseMsgUpdateParams);
|
|
123
|
+
message.authority =
|
|
124
|
+
object.authority !== undefined && object.authority !== null
|
|
125
|
+
? String(object.authority)
|
|
126
|
+
: "";
|
|
127
|
+
message.params =
|
|
128
|
+
object.params !== undefined && object.params !== null
|
|
129
|
+
? slashing_1.Params.fromJSON(object.params)
|
|
130
|
+
: undefined;
|
|
131
|
+
return message;
|
|
132
|
+
},
|
|
133
|
+
toJSON(message) {
|
|
134
|
+
const obj = {};
|
|
135
|
+
message.authority !== undefined && (obj.authority = message.authority);
|
|
136
|
+
message.params !== undefined &&
|
|
137
|
+
(obj.params = message.params ? slashing_1.Params.toJSON(message.params) : undefined);
|
|
138
|
+
return obj;
|
|
139
|
+
},
|
|
140
|
+
fromPartial(object) {
|
|
141
|
+
var _a;
|
|
142
|
+
const message = Object.assign({}, baseMsgUpdateParams);
|
|
143
|
+
message.authority = (_a = object.authority) !== null && _a !== void 0 ? _a : "";
|
|
144
|
+
message.params =
|
|
145
|
+
object.params !== undefined && object.params !== null
|
|
146
|
+
? slashing_1.Params.fromPartial(object.params)
|
|
147
|
+
: undefined;
|
|
148
|
+
return message;
|
|
149
|
+
},
|
|
150
|
+
};
|
|
151
|
+
const baseMsgUpdateParamsResponse = {};
|
|
152
|
+
exports.MsgUpdateParamsResponse = {
|
|
153
|
+
encode(_, writer = minimal_1.default.Writer.create()) {
|
|
154
|
+
return writer;
|
|
155
|
+
},
|
|
156
|
+
decode(input, length) {
|
|
157
|
+
const reader = input instanceof minimal_1.default.Reader ? input : new minimal_1.default.Reader(input);
|
|
158
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
159
|
+
const message = Object.assign({}, baseMsgUpdateParamsResponse);
|
|
160
|
+
while (reader.pos < end) {
|
|
161
|
+
const tag = reader.uint32();
|
|
162
|
+
switch (tag >>> 3) {
|
|
163
|
+
default:
|
|
164
|
+
reader.skipType(tag & 7);
|
|
165
|
+
break;
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
return message;
|
|
169
|
+
},
|
|
170
|
+
fromJSON(_) {
|
|
171
|
+
const message = Object.assign({}, baseMsgUpdateParamsResponse);
|
|
172
|
+
return message;
|
|
173
|
+
},
|
|
174
|
+
toJSON(_) {
|
|
175
|
+
const obj = {};
|
|
176
|
+
return obj;
|
|
177
|
+
},
|
|
178
|
+
fromPartial(_) {
|
|
179
|
+
const message = Object.assign({}, baseMsgUpdateParamsResponse);
|
|
180
|
+
return message;
|
|
181
|
+
},
|
|
182
|
+
};
|
|
89
183
|
class MsgClientImpl {
|
|
90
184
|
constructor(rpc) {
|
|
91
185
|
this.rpc = rpc;
|
|
92
186
|
this.Unjail = this.Unjail.bind(this);
|
|
187
|
+
this.UpdateParams = this.UpdateParams.bind(this);
|
|
93
188
|
}
|
|
94
189
|
Unjail(request) {
|
|
95
190
|
const data = exports.MsgUnjail.encode(request).finish();
|
|
96
191
|
const promise = this.rpc.request("cosmos.slashing.v1beta1.Msg", "Unjail", data);
|
|
97
192
|
return promise.then((data) => exports.MsgUnjailResponse.decode(new minimal_1.default.Reader(data)));
|
|
98
193
|
}
|
|
194
|
+
UpdateParams(request) {
|
|
195
|
+
const data = exports.MsgUpdateParams.encode(request).finish();
|
|
196
|
+
const promise = this.rpc.request("cosmos.slashing.v1beta1.Msg", "UpdateParams", data);
|
|
197
|
+
return promise.then((data) => exports.MsgUpdateParamsResponse.decode(new minimal_1.default.Reader(data)));
|
|
198
|
+
}
|
|
99
199
|
}
|
|
100
200
|
exports.MsgClientImpl = MsgClientImpl;
|
|
101
201
|
if (minimal_1.default.util.Long !== long_1.default) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { AuthorizationType, authorizationTypeFromJSON, authorizationTypeToJSON, StakeAuthorization, StakeAuthorization_Validators } from "./authz";
|
|
2
2
|
export { LastValidatorPower } from "./genesis";
|
|
3
3
|
export { QueryValidatorsRequest, QueryValidatorsResponse, QueryValidatorRequest, QueryValidatorResponse, QueryValidatorDelegationsRequest, QueryValidatorDelegationsResponse, QueryValidatorUnbondingDelegationsRequest, QueryValidatorUnbondingDelegationsResponse, QueryDelegationRequest, QueryDelegationResponse, QueryUnbondingDelegationRequest, QueryUnbondingDelegationResponse, QueryDelegatorDelegationsRequest, QueryDelegatorDelegationsResponse, QueryDelegatorUnbondingDelegationsRequest, QueryDelegatorUnbondingDelegationsResponse, QueryRedelegationsRequest, QueryRedelegationsResponse, QueryDelegatorValidatorsRequest, QueryDelegatorValidatorsResponse, QueryDelegatorValidatorRequest, QueryDelegatorValidatorResponse, QueryHistoricalInfoRequest, QueryHistoricalInfoResponse, QueryPoolRequest, QueryPoolResponse, QueryParamsRequest, QueryParamsResponse } from "./query";
|
|
4
|
-
export { BondStatus, bondStatusFromJSON, bondStatusToJSON, HistoricalInfo, CommissionRates, Commission, Description, Validator, ValAddresses, DVPair, DVPairs, DVVTriplet, DVVTriplets, Delegation, UnbondingDelegation, UnbondingDelegationEntry, RedelegationEntry, Redelegation, Params, DelegationResponse, RedelegationEntryResponse, RedelegationResponse, Pool } from "./staking";
|
|
5
|
-
export { MsgCreateValidator, MsgCreateValidatorResponse, MsgEditValidator, MsgEditValidatorResponse, MsgDelegate, MsgDelegateResponse, MsgBeginRedelegate, MsgBeginRedelegateResponse, MsgUndelegate, MsgUndelegateResponse, MsgCancelUnbondingDelegation, MsgCancelUnbondingDelegationResponse } from "./tx";
|
|
4
|
+
export { BondStatus, bondStatusFromJSON, bondStatusToJSON, Infraction, infractionFromJSON, infractionToJSON, HistoricalInfo, CommissionRates, Commission, Description, Validator, ValAddresses, DVPair, DVPairs, DVVTriplet, DVVTriplets, Delegation, UnbondingDelegation, UnbondingDelegationEntry, RedelegationEntry, Redelegation, Params, DelegationResponse, RedelegationEntryResponse, RedelegationResponse, Pool, ValidatorUpdates } from "./staking";
|
|
5
|
+
export { MsgCreateValidator, MsgCreateValidatorResponse, MsgEditValidator, MsgEditValidatorResponse, MsgDelegate, MsgDelegateResponse, MsgBeginRedelegate, MsgBeginRedelegateResponse, MsgUndelegate, MsgUndelegateResponse, MsgCancelUnbondingDelegation, MsgCancelUnbondingDelegationResponse, MsgUpdateParams, MsgUpdateParamsResponse } from "./tx";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.MsgCancelUnbondingDelegationResponse = exports.MsgCancelUnbondingDelegation = exports.MsgUndelegateResponse = exports.MsgUndelegate = exports.MsgBeginRedelegateResponse = exports.MsgBeginRedelegate = exports.MsgDelegateResponse = exports.MsgDelegate = exports.MsgEditValidatorResponse = exports.MsgEditValidator = exports.MsgCreateValidatorResponse = exports.MsgCreateValidator = exports.Pool = exports.RedelegationResponse = exports.RedelegationEntryResponse = exports.DelegationResponse = exports.Params = exports.Redelegation = exports.RedelegationEntry = void 0;
|
|
3
|
+
exports.DVVTriplets = exports.DVVTriplet = exports.DVPairs = exports.DVPair = exports.ValAddresses = exports.Validator = exports.Description = exports.Commission = exports.CommissionRates = exports.HistoricalInfo = exports.infractionToJSON = exports.infractionFromJSON = exports.Infraction = exports.bondStatusToJSON = exports.bondStatusFromJSON = exports.BondStatus = exports.QueryParamsResponse = exports.QueryParamsRequest = exports.QueryPoolResponse = exports.QueryPoolRequest = exports.QueryHistoricalInfoResponse = exports.QueryHistoricalInfoRequest = exports.QueryDelegatorValidatorResponse = exports.QueryDelegatorValidatorRequest = exports.QueryDelegatorValidatorsResponse = exports.QueryDelegatorValidatorsRequest = exports.QueryRedelegationsResponse = exports.QueryRedelegationsRequest = exports.QueryDelegatorUnbondingDelegationsResponse = exports.QueryDelegatorUnbondingDelegationsRequest = exports.QueryDelegatorDelegationsResponse = exports.QueryDelegatorDelegationsRequest = exports.QueryUnbondingDelegationResponse = exports.QueryUnbondingDelegationRequest = exports.QueryDelegationResponse = exports.QueryDelegationRequest = exports.QueryValidatorUnbondingDelegationsResponse = exports.QueryValidatorUnbondingDelegationsRequest = exports.QueryValidatorDelegationsResponse = exports.QueryValidatorDelegationsRequest = exports.QueryValidatorResponse = exports.QueryValidatorRequest = exports.QueryValidatorsResponse = exports.QueryValidatorsRequest = exports.LastValidatorPower = exports.StakeAuthorization_Validators = exports.StakeAuthorization = exports.authorizationTypeToJSON = exports.authorizationTypeFromJSON = exports.AuthorizationType = void 0;
|
|
4
|
+
exports.MsgUpdateParamsResponse = exports.MsgUpdateParams = exports.MsgCancelUnbondingDelegationResponse = exports.MsgCancelUnbondingDelegation = exports.MsgUndelegateResponse = exports.MsgUndelegate = exports.MsgBeginRedelegateResponse = exports.MsgBeginRedelegate = exports.MsgDelegateResponse = exports.MsgDelegate = exports.MsgEditValidatorResponse = exports.MsgEditValidator = exports.MsgCreateValidatorResponse = exports.MsgCreateValidator = exports.ValidatorUpdates = exports.Pool = exports.RedelegationResponse = exports.RedelegationEntryResponse = exports.DelegationResponse = exports.Params = exports.Redelegation = exports.RedelegationEntry = exports.UnbondingDelegationEntry = exports.UnbondingDelegation = exports.Delegation = void 0;
|
|
5
5
|
var authz_1 = require("./authz");
|
|
6
6
|
Object.defineProperty(exports, "AuthorizationType", { enumerable: true, get: function () { return authz_1.AuthorizationType; } });
|
|
7
7
|
Object.defineProperty(exports, "authorizationTypeFromJSON", { enumerable: true, get: function () { return authz_1.authorizationTypeFromJSON; } });
|
|
@@ -43,6 +43,9 @@ var staking_1 = require("./staking");
|
|
|
43
43
|
Object.defineProperty(exports, "BondStatus", { enumerable: true, get: function () { return staking_1.BondStatus; } });
|
|
44
44
|
Object.defineProperty(exports, "bondStatusFromJSON", { enumerable: true, get: function () { return staking_1.bondStatusFromJSON; } });
|
|
45
45
|
Object.defineProperty(exports, "bondStatusToJSON", { enumerable: true, get: function () { return staking_1.bondStatusToJSON; } });
|
|
46
|
+
Object.defineProperty(exports, "Infraction", { enumerable: true, get: function () { return staking_1.Infraction; } });
|
|
47
|
+
Object.defineProperty(exports, "infractionFromJSON", { enumerable: true, get: function () { return staking_1.infractionFromJSON; } });
|
|
48
|
+
Object.defineProperty(exports, "infractionToJSON", { enumerable: true, get: function () { return staking_1.infractionToJSON; } });
|
|
46
49
|
Object.defineProperty(exports, "HistoricalInfo", { enumerable: true, get: function () { return staking_1.HistoricalInfo; } });
|
|
47
50
|
Object.defineProperty(exports, "CommissionRates", { enumerable: true, get: function () { return staking_1.CommissionRates; } });
|
|
48
51
|
Object.defineProperty(exports, "Commission", { enumerable: true, get: function () { return staking_1.Commission; } });
|
|
@@ -63,6 +66,7 @@ Object.defineProperty(exports, "DelegationResponse", { enumerable: true, get: fu
|
|
|
63
66
|
Object.defineProperty(exports, "RedelegationEntryResponse", { enumerable: true, get: function () { return staking_1.RedelegationEntryResponse; } });
|
|
64
67
|
Object.defineProperty(exports, "RedelegationResponse", { enumerable: true, get: function () { return staking_1.RedelegationResponse; } });
|
|
65
68
|
Object.defineProperty(exports, "Pool", { enumerable: true, get: function () { return staking_1.Pool; } });
|
|
69
|
+
Object.defineProperty(exports, "ValidatorUpdates", { enumerable: true, get: function () { return staking_1.ValidatorUpdates; } });
|
|
66
70
|
var tx_1 = require("./tx");
|
|
67
71
|
Object.defineProperty(exports, "MsgCreateValidator", { enumerable: true, get: function () { return tx_1.MsgCreateValidator; } });
|
|
68
72
|
Object.defineProperty(exports, "MsgCreateValidatorResponse", { enumerable: true, get: function () { return tx_1.MsgCreateValidatorResponse; } });
|
|
@@ -76,3 +80,5 @@ Object.defineProperty(exports, "MsgUndelegate", { enumerable: true, get: functio
|
|
|
76
80
|
Object.defineProperty(exports, "MsgUndelegateResponse", { enumerable: true, get: function () { return tx_1.MsgUndelegateResponse; } });
|
|
77
81
|
Object.defineProperty(exports, "MsgCancelUnbondingDelegation", { enumerable: true, get: function () { return tx_1.MsgCancelUnbondingDelegation; } });
|
|
78
82
|
Object.defineProperty(exports, "MsgCancelUnbondingDelegationResponse", { enumerable: true, get: function () { return tx_1.MsgCancelUnbondingDelegationResponse; } });
|
|
83
|
+
Object.defineProperty(exports, "MsgUpdateParams", { enumerable: true, get: function () { return tx_1.MsgUpdateParams; } });
|
|
84
|
+
Object.defineProperty(exports, "MsgUpdateParamsResponse", { enumerable: true, get: function () { return tx_1.MsgUpdateParamsResponse; } });
|
|
@@ -4,7 +4,7 @@ import { Params, Validator, Delegation, UnbondingDelegation, Redelegation } from
|
|
|
4
4
|
export declare const protobufPackage = "cosmos.staking.v1beta1";
|
|
5
5
|
/** GenesisState defines the staking module's genesis state. */
|
|
6
6
|
export interface GenesisState {
|
|
7
|
-
/** params defines all the
|
|
7
|
+
/** params defines all the parameters of related to deposit. */
|
|
8
8
|
params?: Params;
|
|
9
9
|
/**
|
|
10
10
|
* last_total_power tracks the total amounts of bonded tokens recorded during
|
|
@@ -425,13 +425,28 @@ export declare const QueryParamsResponse: {
|
|
|
425
425
|
};
|
|
426
426
|
/** Query defines the gRPC querier service. */
|
|
427
427
|
export interface Query {
|
|
428
|
-
/**
|
|
428
|
+
/**
|
|
429
|
+
* Validators queries all validators that match the given status.
|
|
430
|
+
*
|
|
431
|
+
* When called from another module, this query might consume a high amount of
|
|
432
|
+
* gas if the pagination field is incorrectly set.
|
|
433
|
+
*/
|
|
429
434
|
Validators(request: QueryValidatorsRequest): Promise<QueryValidatorsResponse>;
|
|
430
435
|
/** Validator queries validator info for given validator address. */
|
|
431
436
|
Validator(request: QueryValidatorRequest): Promise<QueryValidatorResponse>;
|
|
432
|
-
/**
|
|
437
|
+
/**
|
|
438
|
+
* ValidatorDelegations queries delegate info for given validator.
|
|
439
|
+
*
|
|
440
|
+
* When called from another module, this query might consume a high amount of
|
|
441
|
+
* gas if the pagination field is incorrectly set.
|
|
442
|
+
*/
|
|
433
443
|
ValidatorDelegations(request: QueryValidatorDelegationsRequest): Promise<QueryValidatorDelegationsResponse>;
|
|
434
|
-
/**
|
|
444
|
+
/**
|
|
445
|
+
* ValidatorUnbondingDelegations queries unbonding delegations of a validator.
|
|
446
|
+
*
|
|
447
|
+
* When called from another module, this query might consume a high amount of
|
|
448
|
+
* gas if the pagination field is incorrectly set.
|
|
449
|
+
*/
|
|
435
450
|
ValidatorUnbondingDelegations(request: QueryValidatorUnbondingDelegationsRequest): Promise<QueryValidatorUnbondingDelegationsResponse>;
|
|
436
451
|
/** Delegation queries delegate info for given validator delegator pair. */
|
|
437
452
|
Delegation(request: QueryDelegationRequest): Promise<QueryDelegationResponse>;
|
|
@@ -440,18 +455,34 @@ export interface Query {
|
|
|
440
455
|
* pair.
|
|
441
456
|
*/
|
|
442
457
|
UnbondingDelegation(request: QueryUnbondingDelegationRequest): Promise<QueryUnbondingDelegationResponse>;
|
|
443
|
-
/**
|
|
458
|
+
/**
|
|
459
|
+
* DelegatorDelegations queries all delegations of a given delegator address.
|
|
460
|
+
*
|
|
461
|
+
* When called from another module, this query might consume a high amount of
|
|
462
|
+
* gas if the pagination field is incorrectly set.
|
|
463
|
+
*/
|
|
444
464
|
DelegatorDelegations(request: QueryDelegatorDelegationsRequest): Promise<QueryDelegatorDelegationsResponse>;
|
|
445
465
|
/**
|
|
446
466
|
* DelegatorUnbondingDelegations queries all unbonding delegations of a given
|
|
447
467
|
* delegator address.
|
|
468
|
+
*
|
|
469
|
+
* When called from another module, this query might consume a high amount of
|
|
470
|
+
* gas if the pagination field is incorrectly set.
|
|
448
471
|
*/
|
|
449
472
|
DelegatorUnbondingDelegations(request: QueryDelegatorUnbondingDelegationsRequest): Promise<QueryDelegatorUnbondingDelegationsResponse>;
|
|
450
|
-
/**
|
|
473
|
+
/**
|
|
474
|
+
* Redelegations queries redelegations of given address.
|
|
475
|
+
*
|
|
476
|
+
* When called from another module, this query might consume a high amount of
|
|
477
|
+
* gas if the pagination field is incorrectly set.
|
|
478
|
+
*/
|
|
451
479
|
Redelegations(request: QueryRedelegationsRequest): Promise<QueryRedelegationsResponse>;
|
|
452
480
|
/**
|
|
453
481
|
* DelegatorValidators queries all validators info for given delegator
|
|
454
482
|
* address.
|
|
483
|
+
*
|
|
484
|
+
* When called from another module, this query might consume a high amount of
|
|
485
|
+
* gas if the pagination field is incorrectly set.
|
|
455
486
|
*/
|
|
456
487
|
DelegatorValidators(request: QueryDelegatorValidatorsRequest): Promise<QueryDelegatorValidatorsResponse>;
|
|
457
488
|
/**
|
|
@@ -4,6 +4,7 @@ import { Header } from "../../../tendermint/types/types";
|
|
|
4
4
|
import { Any } from "../../../google/protobuf/any";
|
|
5
5
|
import { Duration } from "../../../google/protobuf/duration";
|
|
6
6
|
import { Coin } from "../../base/v1beta1/coin";
|
|
7
|
+
import { ValidatorUpdate } from "../../../tendermint/abci/types";
|
|
7
8
|
export declare const protobufPackage = "cosmos.staking.v1beta1";
|
|
8
9
|
/** BondStatus is the status of a validator. */
|
|
9
10
|
export declare enum BondStatus {
|
|
@@ -19,6 +20,18 @@ export declare enum BondStatus {
|
|
|
19
20
|
}
|
|
20
21
|
export declare function bondStatusFromJSON(object: any): BondStatus;
|
|
21
22
|
export declare function bondStatusToJSON(object: BondStatus): string;
|
|
23
|
+
/** Infraction indicates the infraction a validator commited. */
|
|
24
|
+
export declare enum Infraction {
|
|
25
|
+
/** INFRACTION_UNSPECIFIED - UNSPECIFIED defines an empty infraction. */
|
|
26
|
+
INFRACTION_UNSPECIFIED = 0,
|
|
27
|
+
/** INFRACTION_DOUBLE_SIGN - DOUBLE_SIGN defines a validator that double-signs a block. */
|
|
28
|
+
INFRACTION_DOUBLE_SIGN = 1,
|
|
29
|
+
/** INFRACTION_DOWNTIME - DOWNTIME defines a validator that missed signing too many blocks. */
|
|
30
|
+
INFRACTION_DOWNTIME = 2,
|
|
31
|
+
UNRECOGNIZED = -1
|
|
32
|
+
}
|
|
33
|
+
export declare function infractionFromJSON(object: any): Infraction;
|
|
34
|
+
export declare function infractionToJSON(object: Infraction): string;
|
|
22
35
|
/**
|
|
23
36
|
* HistoricalInfo contains header and validator information for a given block.
|
|
24
37
|
* It is stored as part of staking module's state, which persists the `n` most
|
|
@@ -98,6 +111,10 @@ export interface Validator {
|
|
|
98
111
|
* Since: cosmos-sdk 0.46
|
|
99
112
|
*/
|
|
100
113
|
minSelfDelegation: string;
|
|
114
|
+
/** strictly positive if this validator's unbonding has been stopped by external modules */
|
|
115
|
+
unbondingOnHoldRefCount: Long;
|
|
116
|
+
/** list of unbonding ids, each uniquely identifing an unbonding of this validator */
|
|
117
|
+
unbondingIds: Long[];
|
|
101
118
|
}
|
|
102
119
|
/** ValAddresses defines a repeated set of validator addresses. */
|
|
103
120
|
export interface ValAddresses {
|
|
@@ -166,6 +183,10 @@ export interface UnbondingDelegationEntry {
|
|
|
166
183
|
initialBalance: string;
|
|
167
184
|
/** balance defines the tokens to receive at completion. */
|
|
168
185
|
balance: string;
|
|
186
|
+
/** Incrementing id that uniquely identifies this entry */
|
|
187
|
+
unbondingId: Long;
|
|
188
|
+
/** Strictly positive if this entry's unbonding has been stopped by external modules */
|
|
189
|
+
unbondingOnHoldRefCount: Long;
|
|
169
190
|
}
|
|
170
191
|
/** RedelegationEntry defines a redelegation object with relevant metadata. */
|
|
171
192
|
export interface RedelegationEntry {
|
|
@@ -177,6 +198,10 @@ export interface RedelegationEntry {
|
|
|
177
198
|
initialBalance: string;
|
|
178
199
|
/** shares_dst is the amount of destination-validator shares created by redelegation. */
|
|
179
200
|
sharesDst: string;
|
|
201
|
+
/** Incrementing id that uniquely identifies this entry */
|
|
202
|
+
unbondingId: Long;
|
|
203
|
+
/** Strictly positive if this entry's unbonding has been stopped by external modules */
|
|
204
|
+
unbondingOnHoldRefCount: Long;
|
|
180
205
|
}
|
|
181
206
|
/**
|
|
182
207
|
* Redelegation contains the list of a particular delegator's redelegating bonds
|
|
@@ -192,7 +217,7 @@ export interface Redelegation {
|
|
|
192
217
|
/** entries are the redelegation entries. */
|
|
193
218
|
entries: RedelegationEntry[];
|
|
194
219
|
}
|
|
195
|
-
/** Params defines the parameters for the staking module. */
|
|
220
|
+
/** Params defines the parameters for the x/staking module. */
|
|
196
221
|
export interface Params {
|
|
197
222
|
/** unbonding_time is the time duration of unbonding. */
|
|
198
223
|
unbondingTime?: Duration;
|
|
@@ -241,6 +266,13 @@ export interface Pool {
|
|
|
241
266
|
notBondedTokens: string;
|
|
242
267
|
bondedTokens: string;
|
|
243
268
|
}
|
|
269
|
+
/**
|
|
270
|
+
* ValidatorUpdates defines an array of abci.ValidatorUpdate objects.
|
|
271
|
+
* TODO: explore moving this to proto/cosmos/base to separate modules from tendermint dependence
|
|
272
|
+
*/
|
|
273
|
+
export interface ValidatorUpdates {
|
|
274
|
+
updates: ValidatorUpdate[];
|
|
275
|
+
}
|
|
244
276
|
export declare const HistoricalInfo: {
|
|
245
277
|
encode(message: HistoricalInfo, writer?: _m0.Writer): _m0.Writer;
|
|
246
278
|
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): HistoricalInfo;
|
|
@@ -381,6 +413,13 @@ export declare const Pool: {
|
|
|
381
413
|
toJSON(message: Pool): unknown;
|
|
382
414
|
fromPartial(object: DeepPartial<Pool>): Pool;
|
|
383
415
|
};
|
|
416
|
+
export declare const ValidatorUpdates: {
|
|
417
|
+
encode(message: ValidatorUpdates, writer?: _m0.Writer): _m0.Writer;
|
|
418
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): ValidatorUpdates;
|
|
419
|
+
fromJSON(object: any): ValidatorUpdates;
|
|
420
|
+
toJSON(message: ValidatorUpdates): unknown;
|
|
421
|
+
fromPartial(object: DeepPartial<ValidatorUpdates>): ValidatorUpdates;
|
|
422
|
+
};
|
|
384
423
|
declare type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
385
424
|
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 {} ? {
|
|
386
425
|
[K in keyof T]?: DeepPartial<T[K]>;
|