@xpla/xplajs 1.8.0 → 1.8.2
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/binary.d.ts +1 -1
- package/binary.js +1 -1
- package/cosmos/bundle.d.ts +38 -38
- package/cosmos/bundle.js +147 -147
- package/cosmos_proto/bundle.d.ts +1 -1
- package/cosmos_proto/bundle.js +2 -2
- package/cosmwasm/bundle.d.ts +3 -3
- package/cosmwasm/bundle.js +9 -9
- package/esm/binary.js +3 -3
- package/esm/cosmos/app/runtime/v1alpha1/module.js +2 -2
- package/esm/cosmos/app/v1alpha1/config.js +3 -3
- package/esm/cosmos/app/v1alpha1/module.js +2 -2
- package/esm/cosmos/app/v1alpha1/query.js +3 -3
- package/esm/cosmos/app/v1alpha1/query.rpc.Query.js +2 -2
- package/esm/cosmos/app/v1alpha1/query.rpc.func.js +2 -2
- package/esm/cosmos/auth/module/v1/module.js +2 -2
- package/esm/cosmos/auth/v1beta1/auth.js +4 -4
- package/esm/cosmos/auth/v1beta1/genesis.js +3 -3
- package/esm/cosmos/auth/v1beta1/query.js +7 -7
- package/esm/cosmos/auth/v1beta1/query.lcd.js +1 -1
- package/esm/cosmos/auth/v1beta1/query.rpc.Query.js +2 -2
- package/esm/cosmos/auth/v1beta1/query.rpc.func.js +2 -2
- package/esm/cosmos/auth/v1beta1/tx.amino.js +1 -1
- package/esm/cosmos/auth/v1beta1/tx.js +3 -3
- package/esm/cosmos/auth/v1beta1/tx.registry.js +1 -1
- package/esm/cosmos/auth/v1beta1/tx.rpc.func.js +2 -2
- package/esm/cosmos/auth/v1beta1/tx.rpc.msg.js +2 -2
- package/esm/cosmos/authz/module/v1/module.js +1 -1
- package/esm/cosmos/authz/v1beta1/authz.js +9 -9
- package/esm/cosmos/authz/v1beta1/event.js +1 -1
- package/esm/cosmos/authz/v1beta1/genesis.js +3 -3
- package/esm/cosmos/authz/v1beta1/query.js +4 -4
- package/esm/cosmos/authz/v1beta1/query.lcd.js +1 -1
- package/esm/cosmos/authz/v1beta1/query.rpc.Query.js +2 -2
- package/esm/cosmos/authz/v1beta1/query.rpc.func.js +2 -2
- package/esm/cosmos/authz/v1beta1/tx.amino.js +1 -1
- package/esm/cosmos/authz/v1beta1/tx.js +5 -5
- package/esm/cosmos/authz/v1beta1/tx.registry.js +1 -1
- package/esm/cosmos/authz/v1beta1/tx.rpc.func.js +2 -2
- package/esm/cosmos/authz/v1beta1/tx.rpc.msg.js +2 -2
- package/esm/cosmos/autocli/v1/options.js +3 -3
- package/esm/cosmos/autocli/v1/query.js +4 -4
- package/esm/cosmos/autocli/v1/query.rpc.Query.js +2 -2
- package/esm/cosmos/autocli/v1/query.rpc.func.js +2 -2
- package/esm/cosmos/bank/module/v1/module.js +1 -1
- package/esm/cosmos/bank/v1beta1/authz.js +3 -3
- package/esm/cosmos/bank/v1beta1/bank.js +3 -3
- package/esm/cosmos/bank/v1beta1/genesis.js +4 -4
- package/esm/cosmos/bank/v1beta1/query.js +5 -5
- package/esm/cosmos/bank/v1beta1/query.lcd.js +1 -1
- package/esm/cosmos/bank/v1beta1/query.rpc.Query.js +2 -2
- package/esm/cosmos/bank/v1beta1/query.rpc.func.js +2 -2
- package/esm/cosmos/bank/v1beta1/tx.amino.js +1 -1
- package/esm/cosmos/bank/v1beta1/tx.js +4 -4
- package/esm/cosmos/bank/v1beta1/tx.registry.js +1 -1
- package/esm/cosmos/bank/v1beta1/tx.rpc.func.js +2 -2
- package/esm/cosmos/bank/v1beta1/tx.rpc.msg.js +2 -2
- package/esm/cosmos/base/abci/v1beta1/abci.js +6 -6
- package/esm/cosmos/base/node/v1beta1/query.js +3 -3
- package/esm/cosmos/base/node/v1beta1/query.rpc.Service.js +2 -2
- package/esm/cosmos/base/node/v1beta1/query.rpc.func.js +2 -2
- package/esm/cosmos/base/query/v1beta1/pagination.js +2 -2
- package/esm/cosmos/base/reflection/v1beta1/reflection.js +1 -1
- package/esm/cosmos/base/reflection/v1beta1/reflection.rpc.func.js +2 -2
- package/esm/cosmos/base/reflection/v2alpha1/reflection.js +2 -2
- package/esm/cosmos/base/reflection/v2alpha1/reflection.rpc.func.js +2 -2
- package/esm/cosmos/base/tendermint/v1beta1/query.js +9 -9
- package/esm/cosmos/base/tendermint/v1beta1/query.lcd.js +1 -1
- package/esm/cosmos/base/tendermint/v1beta1/query.rpc.Service.js +2 -2
- package/esm/cosmos/base/tendermint/v1beta1/query.rpc.func.js +2 -2
- package/esm/cosmos/base/tendermint/v1beta1/types.js +7 -7
- package/esm/cosmos/base/v1beta1/coin.js +1 -1
- package/esm/cosmos/bundle.js +150 -150
- package/esm/cosmos/consensus/module/v1/module.js +1 -1
- package/esm/cosmos/consensus/v1/query.js +3 -3
- package/esm/cosmos/consensus/v1/query.rpc.Query.js +2 -2
- package/esm/cosmos/consensus/v1/query.rpc.func.js +2 -2
- package/esm/cosmos/consensus/v1/tx.amino.js +1 -1
- package/esm/cosmos/consensus/v1/tx.js +3 -3
- package/esm/cosmos/consensus/v1/tx.registry.js +1 -1
- package/esm/cosmos/consensus/v1/tx.rpc.func.js +2 -2
- package/esm/cosmos/consensus/v1/tx.rpc.msg.js +2 -2
- package/esm/cosmos/crypto/multisig/v1beta1/multisig.js +2 -2
- package/esm/cosmos/distribution/module/v1/module.js +1 -1
- package/esm/cosmos/distribution/v1beta1/distribution.js +3 -3
- package/esm/cosmos/distribution/v1beta1/genesis.js +4 -4
- package/esm/cosmos/distribution/v1beta1/query.js +5 -5
- package/esm/cosmos/distribution/v1beta1/query.lcd.js +1 -1
- package/esm/cosmos/distribution/v1beta1/query.rpc.Query.js +2 -2
- package/esm/cosmos/distribution/v1beta1/query.rpc.func.js +2 -2
- package/esm/cosmos/distribution/v1beta1/tx.amino.js +1 -1
- package/esm/cosmos/distribution/v1beta1/tx.js +4 -4
- package/esm/cosmos/distribution/v1beta1/tx.registry.js +1 -1
- package/esm/cosmos/distribution/v1beta1/tx.rpc.func.js +2 -2
- package/esm/cosmos/distribution/v1beta1/tx.rpc.msg.js +2 -2
- package/esm/cosmos/evidence/module/v1/module.js +1 -1
- package/esm/cosmos/evidence/v1beta1/evidence.js +3 -3
- package/esm/cosmos/evidence/v1beta1/genesis.js +2 -2
- package/esm/cosmos/evidence/v1beta1/query.js +5 -5
- package/esm/cosmos/evidence/v1beta1/query.lcd.js +1 -1
- package/esm/cosmos/evidence/v1beta1/query.rpc.Query.js +2 -2
- package/esm/cosmos/evidence/v1beta1/query.rpc.func.js +2 -2
- package/esm/cosmos/evidence/v1beta1/tx.amino.js +1 -1
- package/esm/cosmos/evidence/v1beta1/tx.js +4 -4
- package/esm/cosmos/evidence/v1beta1/tx.registry.js +1 -1
- package/esm/cosmos/evidence/v1beta1/tx.rpc.func.js +2 -2
- package/esm/cosmos/evidence/v1beta1/tx.rpc.msg.js +2 -2
- package/esm/cosmos/evm/feemarket/v1/events.js +1 -1
- package/esm/cosmos/evm/feemarket/v1/feemarket.js +1 -1
- package/esm/cosmos/evm/feemarket/v1/genesis.js +3 -3
- package/esm/cosmos/evm/feemarket/v1/query.js +3 -3
- package/esm/cosmos/evm/feemarket/v1/query.rpc.Query.js +2 -2
- package/esm/cosmos/evm/feemarket/v1/query.rpc.func.js +2 -2
- package/esm/cosmos/evm/feemarket/v1/tx.amino.js +1 -1
- package/esm/cosmos/evm/feemarket/v1/tx.js +3 -3
- package/esm/cosmos/evm/feemarket/v1/tx.registry.js +1 -1
- package/esm/cosmos/evm/feemarket/v1/tx.rpc.func.js +2 -2
- package/esm/cosmos/evm/feemarket/v1/tx.rpc.msg.js +2 -2
- package/esm/cosmos/evm/vm/v1/events.js +1 -1
- package/esm/cosmos/evm/vm/v1/evm.js +3 -3
- package/esm/cosmos/evm/vm/v1/genesis.js +3 -3
- package/esm/cosmos/evm/vm/v1/query.js +7 -7
- package/esm/cosmos/evm/vm/v1/query.rpc.Query.js +3 -3
- package/esm/cosmos/evm/vm/v1/query.rpc.func.js +3 -3
- package/esm/cosmos/evm/vm/v1/tx.amino.js +1 -1
- package/esm/cosmos/evm/vm/v1/tx.js +5 -5
- package/esm/cosmos/evm/vm/v1/tx.registry.js +1 -1
- package/esm/cosmos/evm/vm/v1/tx.rpc.func.js +2 -2
- package/esm/cosmos/evm/vm/v1/tx.rpc.msg.js +2 -2
- package/esm/cosmos/feegrant/module/v1/module.js +1 -1
- package/esm/cosmos/feegrant/v1beta1/feegrant.js +7 -7
- package/esm/cosmos/feegrant/v1beta1/genesis.js +3 -3
- package/esm/cosmos/feegrant/v1beta1/query.js +4 -4
- package/esm/cosmos/feegrant/v1beta1/query.lcd.js +1 -1
- package/esm/cosmos/feegrant/v1beta1/query.rpc.Query.js +2 -2
- package/esm/cosmos/feegrant/v1beta1/query.rpc.func.js +2 -2
- package/esm/cosmos/feegrant/v1beta1/tx.amino.js +1 -1
- package/esm/cosmos/feegrant/v1beta1/tx.js +4 -4
- package/esm/cosmos/feegrant/v1beta1/tx.registry.js +1 -1
- package/esm/cosmos/feegrant/v1beta1/tx.rpc.func.js +2 -2
- package/esm/cosmos/feegrant/v1beta1/tx.rpc.msg.js +2 -2
- package/esm/cosmos/gov/module/v1/module.js +1 -1
- package/esm/cosmos/gov/v1/genesis.js +3 -3
- package/esm/cosmos/gov/v1/gov.js +7 -7
- package/esm/cosmos/gov/v1/query.js +5 -5
- package/esm/cosmos/gov/v1/query.lcd.js +1 -1
- package/esm/cosmos/gov/v1/query.rpc.Query.js +2 -2
- package/esm/cosmos/gov/v1/query.rpc.func.js +2 -2
- package/esm/cosmos/gov/v1/tx.amino.js +1 -1
- package/esm/cosmos/gov/v1/tx.js +12 -12
- package/esm/cosmos/gov/v1/tx.registry.js +1 -1
- package/esm/cosmos/gov/v1/tx.rpc.func.js +2 -2
- package/esm/cosmos/gov/v1/tx.rpc.msg.js +2 -2
- package/esm/cosmos/gov/v1beta1/genesis.js +3 -3
- package/esm/cosmos/gov/v1beta1/gov.js +11 -11
- package/esm/cosmos/gov/v1beta1/query.js +5 -5
- package/esm/cosmos/gov/v1beta1/query.lcd.js +1 -1
- package/esm/cosmos/gov/v1beta1/query.rpc.Query.js +2 -2
- package/esm/cosmos/gov/v1beta1/query.rpc.func.js +2 -2
- package/esm/cosmos/gov/v1beta1/tx.amino.js +1 -1
- package/esm/cosmos/gov/v1beta1/tx.js +10 -10
- package/esm/cosmos/gov/v1beta1/tx.registry.js +1 -1
- package/esm/cosmos/gov/v1beta1/tx.rpc.func.js +2 -2
- package/esm/cosmos/gov/v1beta1/tx.rpc.msg.js +2 -2
- package/esm/cosmos/ics23/v1/proofs.js +3 -3
- package/esm/cosmos/mint/module/v1/module.js +1 -1
- package/esm/cosmos/mint/v1beta1/genesis.js +3 -3
- package/esm/cosmos/mint/v1beta1/mint.js +1 -1
- package/esm/cosmos/mint/v1beta1/query.js +4 -4
- package/esm/cosmos/mint/v1beta1/query.rpc.Query.js +2 -2
- package/esm/cosmos/mint/v1beta1/query.rpc.func.js +2 -2
- package/esm/cosmos/mint/v1beta1/tx.amino.js +1 -1
- package/esm/cosmos/mint/v1beta1/tx.js +3 -3
- package/esm/cosmos/mint/v1beta1/tx.registry.js +1 -1
- package/esm/cosmos/mint/v1beta1/tx.rpc.func.js +2 -2
- package/esm/cosmos/mint/v1beta1/tx.rpc.msg.js +2 -2
- package/esm/cosmos/params/module/v1/module.js +1 -1
- package/esm/cosmos/params/v1beta1/params.js +2 -2
- package/esm/cosmos/params/v1beta1/query.js +3 -3
- package/esm/cosmos/params/v1beta1/query.rpc.Query.js +2 -2
- package/esm/cosmos/params/v1beta1/query.rpc.func.js +2 -2
- package/esm/cosmos/slashing/module/v1/module.js +1 -1
- package/esm/cosmos/slashing/v1beta1/genesis.js +3 -3
- package/esm/cosmos/slashing/v1beta1/query.js +4 -4
- package/esm/cosmos/slashing/v1beta1/query.lcd.js +1 -1
- package/esm/cosmos/slashing/v1beta1/query.rpc.Query.js +2 -2
- package/esm/cosmos/slashing/v1beta1/query.rpc.func.js +2 -2
- package/esm/cosmos/slashing/v1beta1/slashing.js +4 -4
- package/esm/cosmos/slashing/v1beta1/tx.amino.js +1 -1
- package/esm/cosmos/slashing/v1beta1/tx.js +3 -3
- package/esm/cosmos/slashing/v1beta1/tx.registry.js +1 -1
- package/esm/cosmos/slashing/v1beta1/tx.rpc.func.js +2 -2
- package/esm/cosmos/slashing/v1beta1/tx.rpc.msg.js +2 -2
- package/esm/cosmos/staking/module/v1/module.js +1 -1
- package/esm/cosmos/staking/v1beta1/authz.js +4 -4
- package/esm/cosmos/staking/v1beta1/genesis.js +4 -4
- package/esm/cosmos/staking/v1beta1/query.js +4 -4
- package/esm/cosmos/staking/v1beta1/query.lcd.js +1 -1
- package/esm/cosmos/staking/v1beta1/query.rpc.Query.js +2 -2
- package/esm/cosmos/staking/v1beta1/query.rpc.func.js +2 -2
- package/esm/cosmos/staking/v1beta1/staking.js +9 -9
- package/esm/cosmos/staking/v1beta1/tx.amino.js +1 -1
- package/esm/cosmos/staking/v1beta1/tx.js +7 -7
- package/esm/cosmos/staking/v1beta1/tx.registry.js +1 -1
- package/esm/cosmos/staking/v1beta1/tx.rpc.func.js +2 -2
- package/esm/cosmos/staking/v1beta1/tx.rpc.msg.js +2 -2
- package/esm/cosmos/tx/config/v1/config.js +1 -1
- package/esm/cosmos/tx/signing/v1beta1/signing.js +5 -5
- package/esm/cosmos/tx/v1beta1/service.js +8 -8
- package/esm/cosmos/tx/v1beta1/service.lcd.js +1 -1
- package/esm/cosmos/tx/v1beta1/service.rpc.Service.js +2 -2
- package/esm/cosmos/tx/v1beta1/service.rpc.func.js +2 -2
- package/esm/cosmos/tx/v1beta1/tx.js +6 -6
- package/esm/cosmos/upgrade/module/v1/module.js +1 -1
- package/esm/cosmos/upgrade/v1beta1/query.js +4 -4
- package/esm/cosmos/upgrade/v1beta1/query.rpc.Query.js +2 -2
- package/esm/cosmos/upgrade/v1beta1/query.rpc.func.js +2 -2
- package/esm/cosmos/upgrade/v1beta1/tx.amino.js +1 -1
- package/esm/cosmos/upgrade/v1beta1/tx.js +3 -3
- package/esm/cosmos/upgrade/v1beta1/tx.registry.js +1 -1
- package/esm/cosmos/upgrade/v1beta1/tx.rpc.func.js +2 -2
- package/esm/cosmos/upgrade/v1beta1/tx.rpc.msg.js +2 -2
- package/esm/cosmos/upgrade/v1beta1/upgrade.js +5 -5
- package/esm/cosmos_proto/bundle.js +1 -1
- package/esm/cosmos_proto/cosmos.js +1 -1
- package/esm/cosmwasm/bundle.js +10 -10
- package/esm/cosmwasm/wasm/v1/authz.js +6 -6
- package/esm/cosmwasm/wasm/v1/genesis.js +4 -4
- package/esm/cosmwasm/wasm/v1/ibc.js +2 -2
- package/esm/cosmwasm/wasm/v1/proposal_legacy.js +5 -5
- package/esm/cosmwasm/wasm/v1/query.js +5 -5
- package/esm/cosmwasm/wasm/v1/query.lcd.js +1 -1
- package/esm/cosmwasm/wasm/v1/query.rpc.Query.js +2 -2
- package/esm/cosmwasm/wasm/v1/query.rpc.func.js +2 -2
- package/esm/cosmwasm/wasm/v1/tx.amino.js +1 -1
- package/esm/cosmwasm/wasm/v1/tx.js +5 -5
- package/esm/cosmwasm/wasm/v1/tx.registry.js +1 -1
- package/esm/cosmwasm/wasm/v1/tx.rpc.func.js +2 -2
- package/esm/cosmwasm/wasm/v1/tx.rpc.msg.js +2 -2
- package/esm/cosmwasm/wasm/v1/types.js +4 -4
- package/esm/ethermint/bundle.js +21 -21
- package/esm/ethermint/crypto/v1/ethsecp256k1/keys.js +2 -2
- package/esm/ethermint/evm/v1/events.js +1 -1
- package/esm/ethermint/evm/v1/evm.js +3 -3
- package/esm/ethermint/evm/v1/genesis.js +3 -3
- package/esm/ethermint/evm/v1/query.js +7 -7
- package/esm/ethermint/evm/v1/query.rpc.Query.js +3 -3
- package/esm/ethermint/evm/v1/query.rpc.func.js +3 -3
- package/esm/ethermint/evm/v1/tx.amino.js +1 -1
- package/esm/ethermint/evm/v1/tx.js +5 -5
- package/esm/ethermint/evm/v1/tx.registry.js +1 -1
- package/esm/ethermint/evm/v1/tx.rpc.func.js +2 -2
- package/esm/ethermint/evm/v1/tx.rpc.msg.js +2 -2
- package/esm/ethermint/feemarket/v1/events.js +1 -1
- package/esm/ethermint/feemarket/v1/feemarket.js +1 -1
- package/esm/ethermint/feemarket/v1/genesis.js +3 -3
- package/esm/ethermint/feemarket/v1/query.js +3 -3
- package/esm/ethermint/feemarket/v1/query.rpc.Query.js +2 -2
- package/esm/ethermint/feemarket/v1/query.rpc.func.js +2 -2
- package/esm/ethermint/feemarket/v1/tx.amino.js +1 -1
- package/esm/ethermint/feemarket/v1/tx.js +3 -3
- package/esm/ethermint/feemarket/v1/tx.registry.js +1 -1
- package/esm/ethermint/feemarket/v1/tx.rpc.func.js +2 -2
- package/esm/ethermint/feemarket/v1/tx.rpc.msg.js +2 -2
- package/esm/ethermint/types/v1/account.js +3 -3
- package/esm/ethermint/types/v1/dynamic_fee.js +1 -1
- package/esm/ethermint/types/v1/indexer.js +1 -1
- package/esm/ethermint/types/v1/web3.js +2 -2
- package/esm/extern.js +1 -1
- package/esm/google/api/http.js +2 -2
- package/esm/google/bundle.js +5 -5
- package/esm/google/protobuf/any.js +1 -1
- package/esm/google/protobuf/descriptor.js +3 -3
- package/esm/google/protobuf/duration.js +1 -1
- package/esm/google/protobuf/timestamp.js +2 -2
- package/esm/helper-func-types.js +4 -4
- package/esm/helpers.js +2 -31
- package/esm/ibc/applications/interchain_accounts/controller/v1/controller.js +1 -1
- package/esm/ibc/applications/interchain_accounts/controller/v1/query.js +3 -3
- package/esm/ibc/applications/interchain_accounts/controller/v1/query.rpc.Query.js +2 -2
- package/esm/ibc/applications/interchain_accounts/controller/v1/query.rpc.func.js +2 -2
- package/esm/ibc/applications/interchain_accounts/controller/v1/tx.amino.js +1 -1
- package/esm/ibc/applications/interchain_accounts/controller/v1/tx.js +5 -5
- package/esm/ibc/applications/interchain_accounts/controller/v1/tx.registry.js +1 -1
- package/esm/ibc/applications/interchain_accounts/controller/v1/tx.rpc.func.js +2 -2
- package/esm/ibc/applications/interchain_accounts/controller/v1/tx.rpc.msg.js +2 -2
- package/esm/ibc/applications/interchain_accounts/genesis/v1/genesis.js +4 -4
- package/esm/ibc/applications/interchain_accounts/host/v1/host.js +2 -2
- package/esm/ibc/applications/interchain_accounts/host/v1/query.js +3 -3
- package/esm/ibc/applications/interchain_accounts/host/v1/query.rpc.Query.js +2 -2
- package/esm/ibc/applications/interchain_accounts/host/v1/query.rpc.func.js +2 -2
- package/esm/ibc/applications/interchain_accounts/host/v1/tx.amino.js +1 -1
- package/esm/ibc/applications/interchain_accounts/host/v1/tx.js +4 -4
- package/esm/ibc/applications/interchain_accounts/host/v1/tx.registry.js +1 -1
- package/esm/ibc/applications/interchain_accounts/host/v1/tx.rpc.func.js +2 -2
- package/esm/ibc/applications/interchain_accounts/host/v1/tx.rpc.msg.js +2 -2
- package/esm/ibc/applications/interchain_accounts/v1/account.js +3 -3
- package/esm/ibc/applications/interchain_accounts/v1/metadata.js +1 -1
- package/esm/ibc/applications/interchain_accounts/v1/packet.js +3 -3
- package/esm/ibc/applications/transfer/v1/authz.js +3 -3
- package/esm/ibc/applications/transfer/v1/denomtrace.js +1 -1
- package/esm/ibc/applications/transfer/v1/genesis.js +5 -5
- package/esm/ibc/applications/transfer/v1/packet.js +1 -1
- package/esm/ibc/applications/transfer/v1/query.js +6 -6
- package/esm/ibc/applications/transfer/v1/query.lcd.js +1 -1
- package/esm/ibc/applications/transfer/v1/query.rpc.Query.js +2 -2
- package/esm/ibc/applications/transfer/v1/query.rpc.func.js +2 -2
- package/esm/ibc/applications/transfer/v1/token.js +2 -2
- package/esm/ibc/applications/transfer/v1/transfer.js +1 -1
- package/esm/ibc/applications/transfer/v1/tx.amino.js +1 -1
- package/esm/ibc/applications/transfer/v1/tx.js +4 -4
- package/esm/ibc/applications/transfer/v1/tx.registry.js +1 -1
- package/esm/ibc/applications/transfer/v1/tx.rpc.func.js +2 -2
- package/esm/ibc/applications/transfer/v1/tx.rpc.msg.js +2 -2
- package/esm/ibc/bundle.js +76 -76
- package/esm/ibc/core/channel/v1/channel.js +4 -4
- package/esm/ibc/core/channel/v1/genesis.js +3 -3
- package/esm/ibc/core/channel/v1/query.js +7 -7
- package/esm/ibc/core/channel/v1/query.lcd.js +1 -1
- package/esm/ibc/core/channel/v1/query.rpc.Query.js +2 -2
- package/esm/ibc/core/channel/v1/query.rpc.func.js +2 -2
- package/esm/ibc/core/channel/v1/tx.amino.js +1 -1
- package/esm/ibc/core/channel/v1/tx.js +5 -5
- package/esm/ibc/core/channel/v1/tx.registry.js +1 -1
- package/esm/ibc/core/channel/v1/tx.rpc.func.js +2 -2
- package/esm/ibc/core/channel/v1/tx.rpc.msg.js +2 -2
- package/esm/ibc/core/channel/v2/genesis.js +3 -3
- package/esm/ibc/core/channel/v2/packet.js +3 -3
- package/esm/ibc/core/channel/v2/query.js +6 -6
- package/esm/ibc/core/channel/v2/query.lcd.js +1 -1
- package/esm/ibc/core/channel/v2/query.rpc.Query.js +2 -2
- package/esm/ibc/core/channel/v2/query.rpc.func.js +2 -2
- package/esm/ibc/core/channel/v2/tx.amino.js +1 -1
- package/esm/ibc/core/channel/v2/tx.js +5 -5
- package/esm/ibc/core/channel/v2/tx.registry.js +1 -1
- package/esm/ibc/core/channel/v2/tx.rpc.func.js +2 -2
- package/esm/ibc/core/channel/v2/tx.rpc.msg.js +2 -2
- package/esm/ibc/core/client/v1/client.js +3 -3
- package/esm/ibc/core/client/v1/genesis.js +4 -4
- package/esm/ibc/core/client/v1/query.js +7 -7
- package/esm/ibc/core/client/v1/query.lcd.js +1 -1
- package/esm/ibc/core/client/v1/query.rpc.Query.js +2 -2
- package/esm/ibc/core/client/v1/query.rpc.func.js +2 -2
- package/esm/ibc/core/client/v1/tx.amino.js +1 -1
- package/esm/ibc/core/client/v1/tx.js +6 -6
- package/esm/ibc/core/client/v1/tx.registry.js +1 -1
- package/esm/ibc/core/client/v1/tx.rpc.func.js +2 -2
- package/esm/ibc/core/client/v1/tx.rpc.msg.js +2 -2
- package/esm/ibc/core/client/v2/config.js +1 -1
- package/esm/ibc/core/client/v2/counterparty.js +2 -2
- package/esm/ibc/core/client/v2/genesis.js +3 -3
- package/esm/ibc/core/client/v2/query.js +4 -4
- package/esm/ibc/core/client/v2/query.rpc.Query.js +2 -2
- package/esm/ibc/core/client/v2/query.rpc.func.js +2 -2
- package/esm/ibc/core/client/v2/tx.amino.js +1 -1
- package/esm/ibc/core/client/v2/tx.js +4 -4
- package/esm/ibc/core/client/v2/tx.registry.js +1 -1
- package/esm/ibc/core/client/v2/tx.rpc.func.js +2 -2
- package/esm/ibc/core/client/v2/tx.rpc.msg.js +2 -2
- package/esm/ibc/core/commitment/v1/commitment.js +4 -4
- package/esm/ibc/core/commitment/v2/commitment.js +2 -2
- package/esm/ibc/core/connection/v1/connection.js +4 -4
- package/esm/ibc/core/connection/v1/genesis.js +3 -3
- package/esm/ibc/core/connection/v1/query.js +7 -7
- package/esm/ibc/core/connection/v1/query.lcd.js +1 -1
- package/esm/ibc/core/connection/v1/query.rpc.Query.js +2 -2
- package/esm/ibc/core/connection/v1/query.rpc.func.js +2 -2
- package/esm/ibc/core/connection/v1/tx.amino.js +1 -1
- package/esm/ibc/core/connection/v1/tx.js +6 -6
- package/esm/ibc/core/connection/v1/tx.registry.js +1 -1
- package/esm/ibc/core/connection/v1/tx.rpc.func.js +2 -2
- package/esm/ibc/core/connection/v1/tx.rpc.msg.js +2 -2
- package/esm/ibc/core/types/v1/genesis.js +7 -7
- package/esm/ibc/lightclients/solomachine/v2/solomachine.js +6 -6
- package/esm/ibc/lightclients/solomachine/v3/solomachine.js +4 -4
- package/esm/ibc/lightclients/tendermint/v1/tendermint.js +10 -10
- package/esm/ibc/lightclients/wasm/v1/genesis.js +3 -3
- package/esm/ibc/lightclients/wasm/v1/query.js +4 -4
- package/esm/ibc/lightclients/wasm/v1/query.lcd.js +1 -1
- package/esm/ibc/lightclients/wasm/v1/query.rpc.Query.js +2 -2
- package/esm/ibc/lightclients/wasm/v1/query.rpc.func.js +2 -2
- package/esm/ibc/lightclients/wasm/v1/tx.amino.js +1 -1
- package/esm/ibc/lightclients/wasm/v1/tx.js +2 -2
- package/esm/ibc/lightclients/wasm/v1/tx.registry.js +1 -1
- package/esm/ibc/lightclients/wasm/v1/tx.rpc.func.js +2 -2
- package/esm/ibc/lightclients/wasm/v1/tx.rpc.msg.js +2 -2
- package/esm/ibc/lightclients/wasm/v1/wasm.js +4 -4
- package/esm/index.js +16 -16
- package/esm/registry.js +3 -3
- package/esm/tendermint/abci/types.js +7 -7
- package/esm/tendermint/bundle.js +10 -10
- package/esm/tendermint/crypto/keys.js +2 -2
- package/esm/tendermint/crypto/proof.js +3 -3
- package/esm/tendermint/p2p/types.js +3 -3
- package/esm/tendermint/types/block.js +4 -4
- package/esm/tendermint/types/evidence.js +6 -6
- package/esm/tendermint/types/params.js +3 -3
- package/esm/tendermint/types/types.js +7 -7
- package/esm/tendermint/types/validator.js +4 -4
- package/esm/tendermint/version/types.js +1 -1
- package/esm/types.js +1 -1
- package/esm/utf8.js +1 -1
- package/esm/varint.js +1 -1
- package/esm/xpla/bundle.js +22 -22
- package/esm/xpla/burn/v1beta1/burn.js +3 -3
- package/esm/xpla/burn/v1beta1/genesis.js +3 -3
- package/esm/xpla/burn/v1beta1/query.js +4 -4
- package/esm/xpla/burn/v1beta1/query.rpc.Query.js +2 -2
- package/esm/xpla/burn/v1beta1/query.rpc.func.js +2 -2
- package/esm/xpla/burn/v1beta1/tx.amino.js +1 -1
- package/esm/xpla/burn/v1beta1/tx.js +3 -3
- package/esm/xpla/burn/v1beta1/tx.registry.js +1 -1
- package/esm/xpla/burn/v1beta1/tx.rpc.func.js +2 -2
- package/esm/xpla/burn/v1beta1/tx.rpc.msg.js +2 -2
- package/esm/xpla/lcd.js +29 -29
- package/esm/xpla/reward/v1beta1/genesis.js +3 -3
- package/esm/xpla/reward/v1beta1/query.js +4 -4
- package/esm/xpla/reward/v1beta1/query.rpc.Query.js +2 -2
- package/esm/xpla/reward/v1beta1/query.rpc.func.js +2 -2
- package/esm/xpla/reward/v1beta1/reward.js +1 -1
- package/esm/xpla/reward/v1beta1/tx.amino.js +1 -1
- package/esm/xpla/reward/v1beta1/tx.js +4 -4
- package/esm/xpla/reward/v1beta1/tx.registry.js +1 -1
- package/esm/xpla/reward/v1beta1/tx.rpc.func.js +2 -2
- package/esm/xpla/reward/v1beta1/tx.rpc.msg.js +2 -2
- package/esm/xpla/rpc.query.js +29 -29
- package/esm/xpla/rpc.tx.js +26 -26
- package/esm/xpla/volunteer/v1beta1/genesis.js +3 -3
- package/esm/xpla/volunteer/v1beta1/proposal.js +5 -5
- package/esm/xpla/volunteer/v1beta1/query.js +1 -1
- package/esm/xpla/volunteer/v1beta1/query.rpc.Query.js +2 -2
- package/esm/xpla/volunteer/v1beta1/query.rpc.func.js +2 -2
- package/esm/xpla/volunteer/v1beta1/tx.amino.js +1 -1
- package/esm/xpla/volunteer/v1beta1/tx.js +5 -5
- package/esm/xpla/volunteer/v1beta1/tx.registry.js +1 -1
- package/esm/xpla/volunteer/v1beta1/tx.rpc.func.js +2 -2
- package/esm/xpla/volunteer/v1beta1/tx.rpc.msg.js +2 -2
- package/esm/xpla/volunteer/v1beta1/volunteervalidator.js +1 -1
- package/extern.d.ts +1 -1
- package/extern.js +1 -1
- package/helper-func-types.d.ts +2 -2
- package/helper-func-types.js +4 -4
- package/helpers.d.ts +2 -4
- package/helpers.js +5 -34
- package/ibc/bundle.d.ts +7 -7
- package/ibc/bundle.js +53 -53
- package/index.d.ts +1 -1
- package/index.js +1 -1
- package/package.json +30 -8
- package/registry.d.ts +1 -1
- package/registry.js +1 -1
- package/types.d.ts +1 -1
- package/types.js +1 -1
- package/utf8.d.ts +1 -1
- package/utf8.js +1 -1
- package/varint.d.ts +1 -1
- package/varint.js +1 -1
- package/xpla/rpc.query.d.ts +31 -31
package/esm/cosmos/gov/v1/tx.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { Any } from "../../../google/protobuf/any";
|
|
2
|
-
import { Coin } from "../../base/v1beta1/coin";
|
|
3
|
-
import { WeightedVoteOption, Params } from "./gov";
|
|
4
|
-
import { Timestamp } from "../../../google/protobuf/timestamp";
|
|
5
|
-
import { CommunityPoolSpendProposal, CommunityPoolSpendProposalWithDeposit } from "../../distribution/v1beta1/distribution";
|
|
6
|
-
import { TextProposal } from "../v1beta1/gov";
|
|
7
|
-
import { ParameterChangeProposal } from "../../params/v1beta1/params";
|
|
8
|
-
import { SoftwareUpgradeProposal, CancelSoftwareUpgradeProposal } from "../../upgrade/v1beta1/upgrade";
|
|
9
|
-
import { StoreCodeProposal, InstantiateContractProposal, InstantiateContract2Proposal, MigrateContractProposal, SudoContractProposal, ExecuteContractProposal, UpdateAdminProposal, ClearAdminProposal, PinCodesProposal, UnpinCodesProposal, UpdateInstantiateConfigProposal, StoreAndInstantiateContractProposal } from "../../../cosmwasm/wasm/v1/proposal_legacy";
|
|
10
|
-
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
11
|
-
import { isSet, toTimestamp, fromTimestamp } from "../../../helpers";
|
|
12
|
-
import { GlobalDecoderRegistry } from "../../../registry";
|
|
1
|
+
import { Any } from "../../../google/protobuf/any.js";
|
|
2
|
+
import { Coin } from "../../base/v1beta1/coin.js";
|
|
3
|
+
import { WeightedVoteOption, Params } from "./gov.js";
|
|
4
|
+
import { Timestamp } from "../../../google/protobuf/timestamp.js";
|
|
5
|
+
import { CommunityPoolSpendProposal, CommunityPoolSpendProposalWithDeposit } from "../../distribution/v1beta1/distribution.js";
|
|
6
|
+
import { TextProposal } from "../v1beta1/gov.js";
|
|
7
|
+
import { ParameterChangeProposal } from "../../params/v1beta1/params.js";
|
|
8
|
+
import { SoftwareUpgradeProposal, CancelSoftwareUpgradeProposal } from "../../upgrade/v1beta1/upgrade.js";
|
|
9
|
+
import { StoreCodeProposal, InstantiateContractProposal, InstantiateContract2Proposal, MigrateContractProposal, SudoContractProposal, ExecuteContractProposal, UpdateAdminProposal, ClearAdminProposal, PinCodesProposal, UnpinCodesProposal, UpdateInstantiateConfigProposal, StoreAndInstantiateContractProposal } from "../../../cosmwasm/wasm/v1/proposal_legacy.js";
|
|
10
|
+
import { BinaryReader, BinaryWriter } from "../../../binary.js";
|
|
11
|
+
import { isSet, toTimestamp, fromTimestamp } from "../../../helpers.js";
|
|
12
|
+
import { GlobalDecoderRegistry } from "../../../registry.js";
|
|
13
13
|
function createBaseMsgSubmitProposal() {
|
|
14
14
|
return {
|
|
15
15
|
messages: [],
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MsgSubmitProposal, MsgExecLegacyContent, MsgVote, MsgVoteWeighted, MsgDeposit, MsgUpdateParams, MsgCancelProposal } from "./tx";
|
|
1
|
+
import { MsgSubmitProposal, MsgExecLegacyContent, MsgVote, MsgVoteWeighted, MsgDeposit, MsgUpdateParams, MsgCancelProposal } from "./tx.js";
|
|
2
2
|
export const registry = [["/cosmos.gov.v1.MsgSubmitProposal", MsgSubmitProposal], ["/cosmos.gov.v1.MsgExecLegacyContent", MsgExecLegacyContent], ["/cosmos.gov.v1.MsgVote", MsgVote], ["/cosmos.gov.v1.MsgVoteWeighted", MsgVoteWeighted], ["/cosmos.gov.v1.MsgDeposit", MsgDeposit], ["/cosmos.gov.v1.MsgUpdateParams", MsgUpdateParams], ["/cosmos.gov.v1.MsgCancelProposal", MsgCancelProposal]];
|
|
3
3
|
export const MessageComposer = {
|
|
4
4
|
encoded: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { buildTx } from "../../../helper-func-types";
|
|
2
|
-
import { MsgSubmitProposal, MsgExecLegacyContent, MsgVote, MsgVoteWeighted, MsgDeposit, MsgUpdateParams, MsgCancelProposal } from "./tx";
|
|
1
|
+
import { buildTx } from "../../../helper-func-types.js";
|
|
2
|
+
import { MsgSubmitProposal, MsgExecLegacyContent, MsgVote, MsgVoteWeighted, MsgDeposit, MsgUpdateParams, MsgCancelProposal } from "./tx.js";
|
|
3
3
|
/**
|
|
4
4
|
* SubmitProposal defines a method to create new proposal given the messages.
|
|
5
5
|
* @name submitProposal
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { BinaryReader } from "../../../binary";
|
|
2
|
-
import { MsgSubmitProposal, MsgSubmitProposalResponse, MsgExecLegacyContent, MsgExecLegacyContentResponse, MsgVote, MsgVoteResponse, MsgVoteWeighted, MsgVoteWeightedResponse, MsgDeposit, MsgDepositResponse, MsgUpdateParams, MsgUpdateParamsResponse, MsgCancelProposal, MsgCancelProposalResponse } from "./tx";
|
|
1
|
+
import { BinaryReader } from "../../../binary.js";
|
|
2
|
+
import { MsgSubmitProposal, MsgSubmitProposalResponse, MsgExecLegacyContent, MsgExecLegacyContentResponse, MsgVote, MsgVoteResponse, MsgVoteWeighted, MsgVoteWeightedResponse, MsgDeposit, MsgDepositResponse, MsgUpdateParams, MsgUpdateParamsResponse, MsgCancelProposal, MsgCancelProposalResponse } from "./tx.js";
|
|
3
3
|
export class MsgClientImpl {
|
|
4
4
|
rpc;
|
|
5
5
|
constructor(rpc) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Deposit, Vote, Proposal, DepositParams, VotingParams, TallyParams } from "./gov";
|
|
2
|
-
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
3
|
-
import { GlobalDecoderRegistry } from "../../../registry";
|
|
1
|
+
import { Deposit, Vote, Proposal, DepositParams, VotingParams, TallyParams } from "./gov.js";
|
|
2
|
+
import { BinaryReader, BinaryWriter } from "../../../binary.js";
|
|
3
|
+
import { GlobalDecoderRegistry } from "../../../registry.js";
|
|
4
4
|
function createBaseGenesisState() {
|
|
5
5
|
return {
|
|
6
6
|
startingProposalId: BigInt(0),
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { Coin } from "../../base/v1beta1/coin";
|
|
2
|
-
import { Any } from "../../../google/protobuf/any";
|
|
3
|
-
import { Timestamp } from "../../../google/protobuf/timestamp";
|
|
4
|
-
import { Duration } from "../../../google/protobuf/duration";
|
|
5
|
-
import { CommunityPoolSpendProposal, CommunityPoolSpendProposalWithDeposit } from "../../distribution/v1beta1/distribution";
|
|
6
|
-
import { ParameterChangeProposal } from "../../params/v1beta1/params";
|
|
7
|
-
import { SoftwareUpgradeProposal, CancelSoftwareUpgradeProposal } from "../../upgrade/v1beta1/upgrade";
|
|
8
|
-
import { StoreCodeProposal, InstantiateContractProposal, InstantiateContract2Proposal, MigrateContractProposal, SudoContractProposal, ExecuteContractProposal, UpdateAdminProposal, ClearAdminProposal, PinCodesProposal, UnpinCodesProposal, UpdateInstantiateConfigProposal, StoreAndInstantiateContractProposal } from "../../../cosmwasm/wasm/v1/proposal_legacy";
|
|
9
|
-
import { isSet, toTimestamp, fromTimestamp, bytesFromBase64, base64FromBytes } from "../../../helpers";
|
|
10
|
-
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
1
|
+
import { Coin } from "../../base/v1beta1/coin.js";
|
|
2
|
+
import { Any } from "../../../google/protobuf/any.js";
|
|
3
|
+
import { Timestamp } from "../../../google/protobuf/timestamp.js";
|
|
4
|
+
import { Duration } from "../../../google/protobuf/duration.js";
|
|
5
|
+
import { CommunityPoolSpendProposal, CommunityPoolSpendProposalWithDeposit } from "../../distribution/v1beta1/distribution.js";
|
|
6
|
+
import { ParameterChangeProposal } from "../../params/v1beta1/params.js";
|
|
7
|
+
import { SoftwareUpgradeProposal, CancelSoftwareUpgradeProposal } from "../../upgrade/v1beta1/upgrade.js";
|
|
8
|
+
import { StoreCodeProposal, InstantiateContractProposal, InstantiateContract2Proposal, MigrateContractProposal, SudoContractProposal, ExecuteContractProposal, UpdateAdminProposal, ClearAdminProposal, PinCodesProposal, UnpinCodesProposal, UpdateInstantiateConfigProposal, StoreAndInstantiateContractProposal } from "../../../cosmwasm/wasm/v1/proposal_legacy.js";
|
|
9
|
+
import { isSet, toTimestamp, fromTimestamp, bytesFromBase64, base64FromBytes } from "../../../helpers.js";
|
|
10
|
+
import { BinaryReader, BinaryWriter } from "../../../binary.js";
|
|
11
11
|
import { Decimal } from "@interchainjs/math";
|
|
12
|
-
import { GlobalDecoderRegistry } from "../../../registry";
|
|
12
|
+
import { GlobalDecoderRegistry } from "../../../registry.js";
|
|
13
13
|
/** VoteOption enumerates the valid vote options for a given governance proposal. */
|
|
14
14
|
export var VoteOption;
|
|
15
15
|
(function (VoteOption) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Proposal, Vote, VotingParams, DepositParams, TallyParams, Deposit, TallyResult } from "./gov";
|
|
2
|
-
import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination";
|
|
3
|
-
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
4
|
-
import { isSet } from "../../../helpers";
|
|
5
|
-
import { GlobalDecoderRegistry } from "../../../registry";
|
|
1
|
+
import { Proposal, Vote, VotingParams, DepositParams, TallyParams, Deposit, TallyResult } from "./gov.js";
|
|
2
|
+
import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination.js";
|
|
3
|
+
import { BinaryReader, BinaryWriter } from "../../../binary.js";
|
|
4
|
+
import { isSet } from "../../../helpers.js";
|
|
5
|
+
import { GlobalDecoderRegistry } from "../../../registry.js";
|
|
6
6
|
function createBaseQueryProposalRequest() {
|
|
7
7
|
return {
|
|
8
8
|
proposalId: BigInt(0)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { BinaryReader } from "../../../binary";
|
|
1
|
+
import { BinaryReader } from "../../../binary.js";
|
|
2
2
|
import { createProtobufRpcClient } from "@cosmjs/stargate";
|
|
3
|
-
import { QueryProposalRequest, QueryProposalResponse, QueryProposalsRequest, QueryProposalsResponse, QueryVoteRequest, QueryVoteResponse, QueryVotesRequest, QueryVotesResponse, QueryParamsRequest, QueryParamsResponse, QueryDepositRequest, QueryDepositResponse, QueryDepositsRequest, QueryDepositsResponse, QueryTallyResultRequest, QueryTallyResultResponse } from "./query";
|
|
3
|
+
import { QueryProposalRequest, QueryProposalResponse, QueryProposalsRequest, QueryProposalsResponse, QueryVoteRequest, QueryVoteResponse, QueryVotesRequest, QueryVotesResponse, QueryParamsRequest, QueryParamsResponse, QueryDepositRequest, QueryDepositResponse, QueryDepositsRequest, QueryDepositsResponse, QueryTallyResultRequest, QueryTallyResultResponse } from "./query.js";
|
|
4
4
|
export class QueryClientImpl {
|
|
5
5
|
rpc;
|
|
6
6
|
constructor(rpc) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { buildQuery } from "../../../helper-func-types";
|
|
2
|
-
import { QueryProposalRequest, QueryProposalResponse, QueryProposalsRequest, QueryProposalsResponse, QueryVoteRequest, QueryVoteResponse, QueryVotesRequest, QueryVotesResponse, QueryParamsRequest, QueryParamsResponse, QueryDepositRequest, QueryDepositResponse, QueryDepositsRequest, QueryDepositsResponse, QueryTallyResultRequest, QueryTallyResultResponse } from "./query";
|
|
1
|
+
import { buildQuery } from "../../../helper-func-types.js";
|
|
2
|
+
import { QueryProposalRequest, QueryProposalResponse, QueryProposalsRequest, QueryProposalsResponse, QueryVoteRequest, QueryVoteResponse, QueryVotesRequest, QueryVotesResponse, QueryParamsRequest, QueryParamsResponse, QueryDepositRequest, QueryDepositResponse, QueryDepositsRequest, QueryDepositsResponse, QueryTallyResultRequest, QueryTallyResultResponse } from "./query.js";
|
|
3
3
|
/**
|
|
4
4
|
* Proposal queries proposal details based on ProposalID.
|
|
5
5
|
* @name getProposal
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MsgSubmitProposal, MsgVote, MsgVoteWeighted, MsgDeposit } from "./tx";
|
|
1
|
+
import { MsgSubmitProposal, MsgVote, MsgVoteWeighted, MsgDeposit } from "./tx.js";
|
|
2
2
|
export const AminoConverter = {
|
|
3
3
|
"/cosmos.gov.v1beta1.MsgSubmitProposal": {
|
|
4
4
|
aminoType: "cosmos-sdk/MsgSubmitProposal",
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { Any } from "../../../google/protobuf/any";
|
|
2
|
-
import { Coin } from "../../base/v1beta1/coin";
|
|
3
|
-
import { WeightedVoteOption, TextProposal } from "./gov";
|
|
4
|
-
import { CommunityPoolSpendProposal, CommunityPoolSpendProposalWithDeposit } from "../../distribution/v1beta1/distribution";
|
|
5
|
-
import { ParameterChangeProposal } from "../../params/v1beta1/params";
|
|
6
|
-
import { SoftwareUpgradeProposal, CancelSoftwareUpgradeProposal } from "../../upgrade/v1beta1/upgrade";
|
|
7
|
-
import { StoreCodeProposal, InstantiateContractProposal, InstantiateContract2Proposal, MigrateContractProposal, SudoContractProposal, ExecuteContractProposal, UpdateAdminProposal, ClearAdminProposal, PinCodesProposal, UnpinCodesProposal, UpdateInstantiateConfigProposal, StoreAndInstantiateContractProposal } from "../../../cosmwasm/wasm/v1/proposal_legacy";
|
|
8
|
-
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
9
|
-
import { GlobalDecoderRegistry } from "../../../registry";
|
|
10
|
-
import { isSet } from "../../../helpers";
|
|
1
|
+
import { Any } from "../../../google/protobuf/any.js";
|
|
2
|
+
import { Coin } from "../../base/v1beta1/coin.js";
|
|
3
|
+
import { WeightedVoteOption, TextProposal } from "./gov.js";
|
|
4
|
+
import { CommunityPoolSpendProposal, CommunityPoolSpendProposalWithDeposit } from "../../distribution/v1beta1/distribution.js";
|
|
5
|
+
import { ParameterChangeProposal } from "../../params/v1beta1/params.js";
|
|
6
|
+
import { SoftwareUpgradeProposal, CancelSoftwareUpgradeProposal } from "../../upgrade/v1beta1/upgrade.js";
|
|
7
|
+
import { StoreCodeProposal, InstantiateContractProposal, InstantiateContract2Proposal, MigrateContractProposal, SudoContractProposal, ExecuteContractProposal, UpdateAdminProposal, ClearAdminProposal, PinCodesProposal, UnpinCodesProposal, UpdateInstantiateConfigProposal, StoreAndInstantiateContractProposal } from "../../../cosmwasm/wasm/v1/proposal_legacy.js";
|
|
8
|
+
import { BinaryReader, BinaryWriter } from "../../../binary.js";
|
|
9
|
+
import { GlobalDecoderRegistry } from "../../../registry.js";
|
|
10
|
+
import { isSet } from "../../../helpers.js";
|
|
11
11
|
function createBaseMsgSubmitProposal() {
|
|
12
12
|
return {
|
|
13
13
|
content: undefined,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MsgSubmitProposal, MsgVote, MsgVoteWeighted, MsgDeposit } from "./tx";
|
|
1
|
+
import { MsgSubmitProposal, MsgVote, MsgVoteWeighted, MsgDeposit } from "./tx.js";
|
|
2
2
|
export const registry = [["/cosmos.gov.v1beta1.MsgSubmitProposal", MsgSubmitProposal], ["/cosmos.gov.v1beta1.MsgVote", MsgVote], ["/cosmos.gov.v1beta1.MsgVoteWeighted", MsgVoteWeighted], ["/cosmos.gov.v1beta1.MsgDeposit", MsgDeposit]];
|
|
3
3
|
export const MessageComposer = {
|
|
4
4
|
encoded: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { buildTx } from "../../../helper-func-types";
|
|
2
|
-
import { MsgSubmitProposal, MsgVote, MsgVoteWeighted, MsgDeposit } from "./tx";
|
|
1
|
+
import { buildTx } from "../../../helper-func-types.js";
|
|
2
|
+
import { MsgSubmitProposal, MsgVote, MsgVoteWeighted, MsgDeposit } from "./tx.js";
|
|
3
3
|
/**
|
|
4
4
|
* SubmitProposal defines a method to create new proposal given a content.
|
|
5
5
|
* @name submitProposal
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { BinaryReader } from "../../../binary";
|
|
2
|
-
import { MsgSubmitProposal, MsgSubmitProposalResponse, MsgVote, MsgVoteResponse, MsgVoteWeighted, MsgVoteWeightedResponse, MsgDeposit, MsgDepositResponse } from "./tx";
|
|
1
|
+
import { BinaryReader } from "../../../binary.js";
|
|
2
|
+
import { MsgSubmitProposal, MsgSubmitProposalResponse, MsgVote, MsgVoteResponse, MsgVoteWeighted, MsgVoteWeightedResponse, MsgDeposit, MsgDepositResponse } from "./tx.js";
|
|
3
3
|
export class MsgClientImpl {
|
|
4
4
|
rpc;
|
|
5
5
|
constructor(rpc) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
2
|
-
import { GlobalDecoderRegistry } from "../../../registry";
|
|
3
|
-
import { bytesFromBase64, base64FromBytes, isSet } from "../../../helpers";
|
|
1
|
+
import { BinaryReader, BinaryWriter } from "../../../binary.js";
|
|
2
|
+
import { GlobalDecoderRegistry } from "../../../registry.js";
|
|
3
|
+
import { bytesFromBase64, base64FromBytes, isSet } from "../../../helpers.js";
|
|
4
4
|
export var HashOp;
|
|
5
5
|
(function (HashOp) {
|
|
6
6
|
/** NO_HASH - NO_HASH is the default if no data passed. Note this is an illegal argument some places. */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Minter, Params } from "./mint";
|
|
2
|
-
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
3
|
-
import { GlobalDecoderRegistry } from "../../../registry";
|
|
1
|
+
import { Minter, Params } from "./mint.js";
|
|
2
|
+
import { BinaryReader, BinaryWriter } from "../../../binary.js";
|
|
3
|
+
import { GlobalDecoderRegistry } from "../../../registry.js";
|
|
4
4
|
function createBaseGenesisState() {
|
|
5
5
|
return {
|
|
6
6
|
minter: Minter.fromPartial({}),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Params } from "./mint";
|
|
2
|
-
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
3
|
-
import { bytesFromBase64, base64FromBytes } from "../../../helpers";
|
|
4
|
-
import { GlobalDecoderRegistry } from "../../../registry";
|
|
1
|
+
import { Params } from "./mint.js";
|
|
2
|
+
import { BinaryReader, BinaryWriter } from "../../../binary.js";
|
|
3
|
+
import { bytesFromBase64, base64FromBytes } from "../../../helpers.js";
|
|
4
|
+
import { GlobalDecoderRegistry } from "../../../registry.js";
|
|
5
5
|
function createBaseQueryParamsRequest() {
|
|
6
6
|
return {};
|
|
7
7
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { BinaryReader } from "../../../binary";
|
|
1
|
+
import { BinaryReader } from "../../../binary.js";
|
|
2
2
|
import { createProtobufRpcClient } from "@cosmjs/stargate";
|
|
3
|
-
import { QueryParamsRequest, QueryParamsResponse, QueryInflationRequest, QueryInflationResponse, QueryAnnualProvisionsRequest, QueryAnnualProvisionsResponse } from "./query";
|
|
3
|
+
import { QueryParamsRequest, QueryParamsResponse, QueryInflationRequest, QueryInflationResponse, QueryAnnualProvisionsRequest, QueryAnnualProvisionsResponse } from "./query.js";
|
|
4
4
|
export class QueryClientImpl {
|
|
5
5
|
rpc;
|
|
6
6
|
constructor(rpc) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { buildQuery } from "../../../helper-func-types";
|
|
2
|
-
import { QueryParamsRequest, QueryParamsResponse, QueryInflationRequest, QueryInflationResponse, QueryAnnualProvisionsRequest, QueryAnnualProvisionsResponse } from "./query";
|
|
1
|
+
import { buildQuery } from "../../../helper-func-types.js";
|
|
2
|
+
import { QueryParamsRequest, QueryParamsResponse, QueryInflationRequest, QueryInflationResponse, QueryAnnualProvisionsRequest, QueryAnnualProvisionsResponse } from "./query.js";
|
|
3
3
|
/**
|
|
4
4
|
* Params returns the total set of minting parameters.
|
|
5
5
|
* @name getParams
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Params } from "./mint";
|
|
2
|
-
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
3
|
-
import { GlobalDecoderRegistry } from "../../../registry";
|
|
1
|
+
import { Params } from "./mint.js";
|
|
2
|
+
import { BinaryReader, BinaryWriter } from "../../../binary.js";
|
|
3
|
+
import { GlobalDecoderRegistry } from "../../../registry.js";
|
|
4
4
|
function createBaseMsgUpdateParams() {
|
|
5
5
|
return {
|
|
6
6
|
authority: "",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { buildTx } from "../../../helper-func-types";
|
|
2
|
-
import { MsgUpdateParams } from "./tx";
|
|
1
|
+
import { buildTx } from "../../../helper-func-types.js";
|
|
2
|
+
import { MsgUpdateParams } from "./tx.js";
|
|
3
3
|
/**
|
|
4
4
|
* UpdateParams defines a governance operation for updating the x/mint module
|
|
5
5
|
* parameters. The authority is defaults to the x/gov module account.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { BinaryReader } from "../../../binary";
|
|
2
|
-
import { MsgUpdateParams, MsgUpdateParamsResponse } from "./tx";
|
|
1
|
+
import { BinaryReader } from "../../../binary.js";
|
|
2
|
+
import { MsgUpdateParams, MsgUpdateParamsResponse } from "./tx.js";
|
|
3
3
|
export class MsgClientImpl {
|
|
4
4
|
rpc;
|
|
5
5
|
constructor(rpc) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
2
|
-
import { GlobalDecoderRegistry } from "../../../registry";
|
|
1
|
+
import { BinaryReader, BinaryWriter } from "../../../binary.js";
|
|
2
|
+
import { GlobalDecoderRegistry } from "../../../registry.js";
|
|
3
3
|
function createBaseParameterChangeProposal() {
|
|
4
4
|
return {
|
|
5
5
|
title: "",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ParamChange } from "./params";
|
|
2
|
-
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
3
|
-
import { GlobalDecoderRegistry } from "../../../registry";
|
|
1
|
+
import { ParamChange } from "./params.js";
|
|
2
|
+
import { BinaryReader, BinaryWriter } from "../../../binary.js";
|
|
3
|
+
import { GlobalDecoderRegistry } from "../../../registry.js";
|
|
4
4
|
function createBaseQueryParamsRequest() {
|
|
5
5
|
return {
|
|
6
6
|
subspace: "",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { BinaryReader } from "../../../binary";
|
|
1
|
+
import { BinaryReader } from "../../../binary.js";
|
|
2
2
|
import { createProtobufRpcClient } from "@cosmjs/stargate";
|
|
3
|
-
import { QueryParamsRequest, QueryParamsResponse, QuerySubspacesRequest, QuerySubspacesResponse } from "./query";
|
|
3
|
+
import { QueryParamsRequest, QueryParamsResponse, QuerySubspacesRequest, QuerySubspacesResponse } from "./query.js";
|
|
4
4
|
export class QueryClientImpl {
|
|
5
5
|
rpc;
|
|
6
6
|
constructor(rpc) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { buildQuery } from "../../../helper-func-types";
|
|
2
|
-
import { QueryParamsRequest, QueryParamsResponse, QuerySubspacesRequest, QuerySubspacesResponse } from "./query";
|
|
1
|
+
import { buildQuery } from "../../../helper-func-types.js";
|
|
2
|
+
import { QueryParamsRequest, QueryParamsResponse, QuerySubspacesRequest, QuerySubspacesResponse } from "./query.js";
|
|
3
3
|
/**
|
|
4
4
|
* Params queries a specific parameter of a module, given its subspace and
|
|
5
5
|
* key.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Params, ValidatorSigningInfo } from "./slashing";
|
|
2
|
-
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
3
|
-
import { GlobalDecoderRegistry } from "../../../registry";
|
|
1
|
+
import { Params, ValidatorSigningInfo } from "./slashing.js";
|
|
2
|
+
import { BinaryReader, BinaryWriter } from "../../../binary.js";
|
|
3
|
+
import { GlobalDecoderRegistry } from "../../../registry.js";
|
|
4
4
|
function createBaseGenesisState() {
|
|
5
5
|
return {
|
|
6
6
|
params: Params.fromPartial({}),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination";
|
|
2
|
-
import { Params, ValidatorSigningInfo } from "./slashing";
|
|
3
|
-
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
4
|
-
import { GlobalDecoderRegistry } from "../../../registry";
|
|
1
|
+
import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination.js";
|
|
2
|
+
import { Params, ValidatorSigningInfo } from "./slashing.js";
|
|
3
|
+
import { BinaryReader, BinaryWriter } from "../../../binary.js";
|
|
4
|
+
import { GlobalDecoderRegistry } from "../../../registry.js";
|
|
5
5
|
function createBaseQueryParamsRequest() {
|
|
6
6
|
return {};
|
|
7
7
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { BinaryReader } from "../../../binary";
|
|
1
|
+
import { BinaryReader } from "../../../binary.js";
|
|
2
2
|
import { createProtobufRpcClient } from "@cosmjs/stargate";
|
|
3
|
-
import { QueryParamsRequest, QueryParamsResponse, QuerySigningInfoRequest, QuerySigningInfoResponse, QuerySigningInfosRequest, QuerySigningInfosResponse } from "./query";
|
|
3
|
+
import { QueryParamsRequest, QueryParamsResponse, QuerySigningInfoRequest, QuerySigningInfoResponse, QuerySigningInfosRequest, QuerySigningInfosResponse } from "./query.js";
|
|
4
4
|
export class QueryClientImpl {
|
|
5
5
|
rpc;
|
|
6
6
|
constructor(rpc) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { buildQuery } from "../../../helper-func-types";
|
|
2
|
-
import { QueryParamsRequest, QueryParamsResponse, QuerySigningInfoRequest, QuerySigningInfoResponse, QuerySigningInfosRequest, QuerySigningInfosResponse } from "./query";
|
|
1
|
+
import { buildQuery } from "../../../helper-func-types.js";
|
|
2
|
+
import { QueryParamsRequest, QueryParamsResponse, QuerySigningInfoRequest, QuerySigningInfoResponse, QuerySigningInfosRequest, QuerySigningInfosResponse } from "./query.js";
|
|
3
3
|
/**
|
|
4
4
|
* Params queries the parameters of slashing module
|
|
5
5
|
* @name getParams
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Timestamp } from "../../../google/protobuf/timestamp";
|
|
2
|
-
import { Duration } from "../../../google/protobuf/duration";
|
|
3
|
-
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
4
|
-
import { toTimestamp, fromTimestamp, bytesFromBase64, base64FromBytes } from "../../../helpers";
|
|
1
|
+
import { Timestamp } from "../../../google/protobuf/timestamp.js";
|
|
2
|
+
import { Duration } from "../../../google/protobuf/duration.js";
|
|
3
|
+
import { BinaryReader, BinaryWriter } from "../../../binary.js";
|
|
4
|
+
import { toTimestamp, fromTimestamp, bytesFromBase64, base64FromBytes } from "../../../helpers.js";
|
|
5
5
|
function createBaseValidatorSigningInfo() {
|
|
6
6
|
return {
|
|
7
7
|
address: "",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Params } from "./slashing";
|
|
2
|
-
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
3
|
-
import { GlobalDecoderRegistry } from "../../../registry";
|
|
1
|
+
import { Params } from "./slashing.js";
|
|
2
|
+
import { BinaryReader, BinaryWriter } from "../../../binary.js";
|
|
3
|
+
import { GlobalDecoderRegistry } from "../../../registry.js";
|
|
4
4
|
function createBaseMsgUnjail() {
|
|
5
5
|
return {
|
|
6
6
|
validatorAddr: ""
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MsgUnjail, MsgUpdateParams } from "./tx";
|
|
1
|
+
import { MsgUnjail, MsgUpdateParams } from "./tx.js";
|
|
2
2
|
export const registry = [["/cosmos.slashing.v1beta1.MsgUnjail", MsgUnjail], ["/cosmos.slashing.v1beta1.MsgUpdateParams", MsgUpdateParams]];
|
|
3
3
|
export const MessageComposer = {
|
|
4
4
|
encoded: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { buildTx } from "../../../helper-func-types";
|
|
2
|
-
import { MsgUnjail, MsgUpdateParams } from "./tx";
|
|
1
|
+
import { buildTx } from "../../../helper-func-types.js";
|
|
2
|
+
import { MsgUnjail, MsgUpdateParams } from "./tx.js";
|
|
3
3
|
/**
|
|
4
4
|
* Unjail defines a method for unjailing a jailed validator, thus returning
|
|
5
5
|
* them into the bonded validator set, so they can begin receiving provisions
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { BinaryReader } from "../../../binary";
|
|
2
|
-
import { MsgUnjail, MsgUnjailResponse, MsgUpdateParams, MsgUpdateParamsResponse } from "./tx";
|
|
1
|
+
import { BinaryReader } from "../../../binary.js";
|
|
2
|
+
import { MsgUnjail, MsgUnjailResponse, MsgUpdateParams, MsgUpdateParamsResponse } from "./tx.js";
|
|
3
3
|
export class MsgClientImpl {
|
|
4
4
|
rpc;
|
|
5
5
|
constructor(rpc) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Coin } from "../../base/v1beta1/coin";
|
|
2
|
-
import { isSet } from "../../../helpers";
|
|
3
|
-
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
4
|
-
import { GlobalDecoderRegistry } from "../../../registry";
|
|
1
|
+
import { Coin } from "../../base/v1beta1/coin.js";
|
|
2
|
+
import { isSet } from "../../../helpers.js";
|
|
3
|
+
import { BinaryReader, BinaryWriter } from "../../../binary.js";
|
|
4
|
+
import { GlobalDecoderRegistry } from "../../../registry.js";
|
|
5
5
|
/**
|
|
6
6
|
* AuthorizationType defines the type of staking module authorization type
|
|
7
7
|
*
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Params, Validator, Delegation, UnbondingDelegation, Redelegation } from "./staking";
|
|
2
|
-
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
3
|
-
import { GlobalDecoderRegistry } from "../../../registry";
|
|
4
|
-
import { bytesFromBase64, base64FromBytes } from "../../../helpers";
|
|
1
|
+
import { Params, Validator, Delegation, UnbondingDelegation, Redelegation } from "./staking.js";
|
|
2
|
+
import { BinaryReader, BinaryWriter } from "../../../binary.js";
|
|
3
|
+
import { GlobalDecoderRegistry } from "../../../registry.js";
|
|
4
|
+
import { bytesFromBase64, base64FromBytes } from "../../../helpers.js";
|
|
5
5
|
function createBaseGenesisState() {
|
|
6
6
|
return {
|
|
7
7
|
params: Params.fromPartial({}),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination";
|
|
2
|
-
import { Validator, DelegationResponse, UnbondingDelegation, RedelegationResponse, HistoricalInfo, Pool, Params } from "./staking";
|
|
3
|
-
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
4
|
-
import { GlobalDecoderRegistry } from "../../../registry";
|
|
1
|
+
import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination.js";
|
|
2
|
+
import { Validator, DelegationResponse, UnbondingDelegation, RedelegationResponse, HistoricalInfo, Pool, Params } from "./staking.js";
|
|
3
|
+
import { BinaryReader, BinaryWriter } from "../../../binary.js";
|
|
4
|
+
import { GlobalDecoderRegistry } from "../../../registry.js";
|
|
5
5
|
function createBaseQueryValidatorsRequest() {
|
|
6
6
|
return {
|
|
7
7
|
status: "",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { BinaryReader } from "../../../binary";
|
|
1
|
+
import { BinaryReader } from "../../../binary.js";
|
|
2
2
|
import { createProtobufRpcClient } from "@cosmjs/stargate";
|
|
3
|
-
import { 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";
|
|
3
|
+
import { 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.js";
|
|
4
4
|
export class QueryClientImpl {
|
|
5
5
|
rpc;
|
|
6
6
|
constructor(rpc) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { buildQuery } from "../../../helper-func-types";
|
|
2
|
-
import { 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";
|
|
1
|
+
import { buildQuery } from "../../../helper-func-types.js";
|
|
2
|
+
import { 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.js";
|
|
3
3
|
/**
|
|
4
4
|
* Validators queries all validators that match the given status.
|
|
5
5
|
*
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { Header } from "../../../tendermint/types/types";
|
|
2
|
-
import { Timestamp } from "../../../google/protobuf/timestamp";
|
|
3
|
-
import { Any } from "../../../google/protobuf/any";
|
|
4
|
-
import { Duration } from "../../../google/protobuf/duration";
|
|
5
|
-
import { Coin } from "../../base/v1beta1/coin";
|
|
6
|
-
import { ValidatorUpdate } from "../../../tendermint/abci/types";
|
|
7
|
-
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
8
|
-
import { GlobalDecoderRegistry } from "../../../registry";
|
|
9
|
-
import { toTimestamp, fromTimestamp, isSet } from "../../../helpers";
|
|
1
|
+
import { Header } from "../../../tendermint/types/types.js";
|
|
2
|
+
import { Timestamp } from "../../../google/protobuf/timestamp.js";
|
|
3
|
+
import { Any } from "../../../google/protobuf/any.js";
|
|
4
|
+
import { Duration } from "../../../google/protobuf/duration.js";
|
|
5
|
+
import { Coin } from "../../base/v1beta1/coin.js";
|
|
6
|
+
import { ValidatorUpdate } from "../../../tendermint/abci/types.js";
|
|
7
|
+
import { BinaryReader, BinaryWriter } from "../../../binary.js";
|
|
8
|
+
import { GlobalDecoderRegistry } from "../../../registry.js";
|
|
9
|
+
import { toTimestamp, fromTimestamp, isSet } from "../../../helpers.js";
|
|
10
10
|
import { Decimal } from "@interchainjs/math";
|
|
11
11
|
import { encodePubkey, decodePubkey } from "@interchainjs/pubkey";
|
|
12
12
|
/** BondStatus is the status of a validator. */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MsgCreateValidator, MsgEditValidator, MsgDelegate, MsgBeginRedelegate, MsgUndelegate, MsgCancelUnbondingDelegation, MsgUpdateParams } from "./tx";
|
|
1
|
+
import { MsgCreateValidator, MsgEditValidator, MsgDelegate, MsgBeginRedelegate, MsgUndelegate, MsgCancelUnbondingDelegation, MsgUpdateParams } from "./tx.js";
|
|
2
2
|
export const AminoConverter = {
|
|
3
3
|
"/cosmos.staking.v1beta1.MsgCreateValidator": {
|
|
4
4
|
aminoType: "cosmos-sdk/MsgCreateValidator",
|