@xpla/xpla-react 1.7.0-beta.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/CHANGELOG.md +8 -0
- package/package.json +47 -0
- package/src/amino/amino.ts +1 -0
- package/src/binary.ts +534 -0
- package/src/cosmos/app/runtime/v1alpha1/module.ts +423 -0
- package/src/cosmos/app/runtime/v2/module.ts +589 -0
- package/src/cosmos/app/v1alpha1/config.ts +422 -0
- package/src/cosmos/app/v1alpha1/module.ts +461 -0
- package/src/cosmos/app/v1alpha1/query.rpc.func.ts +14 -0
- package/src/cosmos/app/v1alpha1/query.ts +177 -0
- package/src/cosmos/auth/module/v1/module.ts +253 -0
- package/src/cosmos/auth/v1beta1/accounts.ts +226 -0
- package/src/cosmos/auth/v1beta1/auth.ts +550 -0
- package/src/cosmos/auth/v1beta1/genesis.ts +119 -0
- package/src/cosmos/auth/v1beta1/query.rpc.func.ts +113 -0
- package/src/cosmos/auth/v1beta1/query.ts +2034 -0
- package/src/cosmos/auth/v1beta1/tx.registry.ts +29 -0
- package/src/cosmos/auth/v1beta1/tx.rpc.func.ts +13 -0
- package/src/cosmos/auth/v1beta1/tx.ts +219 -0
- package/src/cosmos/authz/module/v1/module.ts +80 -0
- package/src/cosmos/authz/v1beta1/authz.ts +481 -0
- package/src/cosmos/authz/v1beta1/event.ts +259 -0
- package/src/cosmos/authz/v1beta1/genesis.ts +100 -0
- package/src/cosmos/authz/v1beta1/query.rpc.func.ts +36 -0
- package/src/cosmos/authz/v1beta1/query.ts +707 -0
- package/src/cosmos/authz/v1beta1/tx.registry.ts +65 -0
- package/src/cosmos/authz/v1beta1/tx.rpc.func.ts +31 -0
- package/src/cosmos/authz/v1beta1/tx.ts +647 -0
- package/src/cosmos/autocli/v1/options.ts +1145 -0
- package/src/cosmos/autocli/v1/query.rpc.func.ts +14 -0
- package/src/cosmos/autocli/v1/query.ts +288 -0
- package/src/cosmos/bank/module/v1/module.ts +153 -0
- package/src/cosmos/bank/v1beta1/authz.ts +138 -0
- package/src/cosmos/bank/v1beta1/bank.ts +974 -0
- package/src/cosmos/bank/v1beta1/genesis.ts +307 -0
- package/src/cosmos/bank/v1beta1/query.rpc.func.ts +146 -0
- package/src/cosmos/bank/v1beta1/query.ts +3027 -0
- package/src/cosmos/bank/v1beta1/tx.registry.ts +83 -0
- package/src/cosmos/bank/v1beta1/tx.rpc.func.ts +40 -0
- package/src/cosmos/bank/v1beta1/tx.ts +861 -0
- package/src/cosmos/base/abci/v1beta1/abci.ts +1698 -0
- package/src/cosmos/base/grpc/v2/service.rpc.func.ts +25 -0
- package/src/cosmos/base/grpc/v2/service.ts +473 -0
- package/src/cosmos/base/node/v1beta1/query.rpc.func.ts +25 -0
- package/src/cosmos/base/node/v1beta1/query.ts +454 -0
- package/src/cosmos/base/query/v1beta1/pagination.ts +361 -0
- package/src/cosmos/base/reflection/v1beta1/reflection.rpc.func.ts +25 -0
- package/src/cosmos/base/reflection/v1beta1/reflection.ts +382 -0
- package/src/cosmos/base/reflection/v2alpha1/reflection.rpc.func.ts +69 -0
- package/src/cosmos/base/reflection/v2alpha1/reflection.ts +2727 -0
- package/src/cosmos/base/tendermint/v1beta1/query.rpc.func.ts +80 -0
- package/src/cosmos/base/tendermint/v1beta1/query.ts +2302 -0
- package/src/cosmos/base/tendermint/v1beta1/types.ts +455 -0
- package/src/cosmos/base/v1beta1/coin.ts +439 -0
- package/src/cosmos/circuit/module/v1/module.ts +99 -0
- package/src/cosmos/circuit/v1/query.rpc.func.ts +36 -0
- package/src/cosmos/circuit/v1/query.ts +574 -0
- package/src/cosmos/circuit/v1/tx.registry.ts +65 -0
- package/src/cosmos/circuit/v1/tx.rpc.func.ts +31 -0
- package/src/cosmos/circuit/v1/tx.ts +676 -0
- package/src/cosmos/circuit/v1/types.ts +413 -0
- package/src/cosmos/consensus/module/v1/module.ts +99 -0
- package/src/cosmos/consensus/v1/query.rpc.func.ts +14 -0
- package/src/cosmos/consensus/v1/query.ts +185 -0
- package/src/cosmos/consensus/v1/tx.registry.ts +29 -0
- package/src/cosmos/consensus/v1/tx.rpc.func.ts +13 -0
- package/src/cosmos/consensus/v1/tx.ts +255 -0
- package/src/cosmos/crisis/module/v1/module.ts +115 -0
- package/src/cosmos/crisis/v1beta1/genesis.ts +106 -0
- package/src/cosmos/crisis/v1beta1/tx.registry.ts +47 -0
- package/src/cosmos/crisis/v1beta1/tx.rpc.func.ts +22 -0
- package/src/cosmos/crisis/v1beta1/tx.ts +416 -0
- package/src/cosmos/crypto/ed25519/keys.ts +209 -0
- package/src/cosmos/crypto/hd/v1/hd.ts +169 -0
- package/src/cosmos/crypto/keyring/v1/record.ts +529 -0
- package/src/cosmos/crypto/multisig/keys.ts +122 -0
- package/src/cosmos/crypto/multisig/v1beta1/multisig.ts +225 -0
- package/src/cosmos/crypto/secp256k1/keys.ts +203 -0
- package/src/cosmos/crypto/secp256r1/keys.ts +201 -0
- package/src/cosmos/distribution/module/v1/module.ts +113 -0
- package/src/cosmos/distribution/v1beta1/distribution.ts +1494 -0
- package/src/cosmos/distribution/v1beta1/genesis.ts +1129 -0
- package/src/cosmos/distribution/v1beta1/query.rpc.func.ts +113 -0
- package/src/cosmos/distribution/v1beta1/query.ts +2126 -0
- package/src/cosmos/distribution/v1beta1/tx.registry.ts +137 -0
- package/src/cosmos/distribution/v1beta1/tx.rpc.func.ts +67 -0
- package/src/cosmos/distribution/v1beta1/tx.ts +1478 -0
- package/src/cosmos/evidence/module/v1/module.ts +80 -0
- package/src/cosmos/evidence/v1beta1/evidence.ts +154 -0
- package/src/cosmos/evidence/v1beta1/genesis.ts +102 -0
- package/src/cosmos/evidence/v1beta1/query.rpc.func.ts +25 -0
- package/src/cosmos/evidence/v1beta1/query.ts +451 -0
- package/src/cosmos/evidence/v1beta1/tx.registry.ts +29 -0
- package/src/cosmos/evidence/v1beta1/tx.rpc.func.ts +13 -0
- package/src/cosmos/evidence/v1beta1/tx.ts +221 -0
- package/src/cosmos/feegrant/module/v1/module.ts +80 -0
- package/src/cosmos/feegrant/v1beta1/feegrant.ts +573 -0
- package/src/cosmos/feegrant/v1beta1/genesis.ts +100 -0
- package/src/cosmos/feegrant/v1beta1/query.rpc.func.ts +36 -0
- package/src/cosmos/feegrant/v1beta1/query.ts +677 -0
- package/src/cosmos/feegrant/v1beta1/tx.registry.ts +65 -0
- package/src/cosmos/feegrant/v1beta1/tx.rpc.func.ts +31 -0
- package/src/cosmos/feegrant/v1beta1/tx.ts +597 -0
- package/src/cosmos/genutil/module/v1/module.ts +80 -0
- package/src/cosmos/genutil/v1beta1/genesis.ts +101 -0
- package/src/cosmos/gov/module/v1/module.ts +121 -0
- package/src/cosmos/gov/v1/genesis.ts +280 -0
- package/src/cosmos/gov/v1/gov.ts +1843 -0
- package/src/cosmos/gov/v1/query.rpc.func.ts +102 -0
- package/src/cosmos/gov/v1/query.ts +1970 -0
- package/src/cosmos/gov/v1/tx.registry.ts +137 -0
- package/src/cosmos/gov/v1/tx.rpc.func.ts +67 -0
- package/src/cosmos/gov/v1/tx.ts +1657 -0
- package/src/cosmos/gov/v1beta1/genesis.ts +202 -0
- package/src/cosmos/gov/v1beta1/gov.ts +1425 -0
- package/src/cosmos/gov/v1beta1/query.rpc.func.ts +91 -0
- package/src/cosmos/gov/v1beta1/query.ts +1749 -0
- package/src/cosmos/gov/v1beta1/tx.registry.ts +83 -0
- package/src/cosmos/gov/v1beta1/tx.rpc.func.ts +40 -0
- package/src/cosmos/gov/v1beta1/tx.ts +881 -0
- package/src/cosmos/group/module/v1/module.ts +128 -0
- package/src/cosmos/group/v1/events.ts +1044 -0
- package/src/cosmos/group/v1/genesis.ts +240 -0
- package/src/cosmos/group/v1/query.rpc.func.ts +157 -0
- package/src/cosmos/group/v1/query.ts +3015 -0
- package/src/cosmos/group/v1/tx.registry.ts +263 -0
- package/src/cosmos/group/v1/tx.rpc.func.ts +130 -0
- package/src/cosmos/group/v1/tx.ts +3207 -0
- package/src/cosmos/group/v1/types.ts +2081 -0
- package/src/cosmos/ics23/v1/proofs.ts +2060 -0
- package/src/cosmos/mint/module/v1/module.ts +113 -0
- package/src/cosmos/mint/v1beta1/genesis.ts +116 -0
- package/src/cosmos/mint/v1beta1/mint.ts +291 -0
- package/src/cosmos/mint/v1beta1/query.rpc.func.ts +36 -0
- package/src/cosmos/mint/v1beta1/query.ts +541 -0
- package/src/cosmos/mint/v1beta1/tx.registry.ts +29 -0
- package/src/cosmos/mint/v1beta1/tx.rpc.func.ts +13 -0
- package/src/cosmos/mint/v1beta1/tx.ts +219 -0
- package/src/cosmos/msg/textual/v1/textual.ts +1 -0
- package/src/cosmos/msg/v1/msg.ts +1 -0
- package/src/cosmos/nft/module/v1/module.ts +80 -0
- package/src/cosmos/nft/v1beta1/event.ts +403 -0
- package/src/cosmos/nft/v1beta1/genesis.ts +234 -0
- package/src/cosmos/nft/v1beta1/nft.ts +356 -0
- package/src/cosmos/nft/v1beta1/query.rpc.func.ts +80 -0
- package/src/cosmos/nft/v1beta1/query.ts +1465 -0
- package/src/cosmos/nft/v1beta1/tx.registry.ts +29 -0
- package/src/cosmos/nft/v1beta1/tx.rpc.func.ts +13 -0
- package/src/cosmos/nft/v1beta1/tx.ts +224 -0
- package/src/cosmos/orm/module/v1alpha1/module.ts +88 -0
- package/src/cosmos/orm/query/v1alpha1/query.rpc.func.ts +25 -0
- package/src/cosmos/orm/query/v1alpha1/query.ts +993 -0
- package/src/cosmos/orm/v1/orm.ts +589 -0
- package/src/cosmos/orm/v1alpha1/schema.ts +325 -0
- package/src/cosmos/params/module/v1/module.ts +80 -0
- package/src/cosmos/params/v1beta1/params.ts +255 -0
- package/src/cosmos/params/v1beta1/query.rpc.func.ts +25 -0
- package/src/cosmos/params/v1beta1/query.ts +525 -0
- package/src/cosmos/query/v1/query.ts +1 -0
- package/src/cosmos/reflection/v1/reflection.rpc.func.ts +14 -0
- package/src/cosmos/reflection/v1/reflection.ts +179 -0
- package/src/cosmos/slashing/module/v1/module.ts +99 -0
- package/src/cosmos/slashing/v1beta1/genesis.ts +492 -0
- package/src/cosmos/slashing/v1beta1/query.rpc.func.ts +36 -0
- package/src/cosmos/slashing/v1beta1/query.ts +598 -0
- package/src/cosmos/slashing/v1beta1/slashing.ts +357 -0
- package/src/cosmos/slashing/v1beta1/tx.registry.ts +47 -0
- package/src/cosmos/slashing/v1beta1/tx.rpc.func.ts +22 -0
- package/src/cosmos/slashing/v1beta1/tx.ts +390 -0
- package/src/cosmos/staking/module/v1/module.ts +157 -0
- package/src/cosmos/staking/v1beta1/authz.ts +323 -0
- package/src/cosmos/staking/v1beta1/genesis.ts +346 -0
- package/src/cosmos/staking/v1beta1/query.rpc.func.ts +157 -0
- package/src/cosmos/staking/v1beta1/query.ts +3073 -0
- package/src/cosmos/staking/v1beta1/staking.ts +3005 -0
- package/src/cosmos/staking/v1beta1/tx.registry.ts +137 -0
- package/src/cosmos/staking/v1beta1/tx.rpc.func.ts +67 -0
- package/src/cosmos/staking/v1beta1/tx.ts +1638 -0
- package/src/cosmos/store/internal/kv/v1beta1/kv.ts +207 -0
- package/src/cosmos/store/snapshots/v1/snapshot.ts +863 -0
- package/src/cosmos/store/snapshots/v2/snapshot.ts +823 -0
- package/src/cosmos/store/streaming/abci/grpc.ts +393 -0
- package/src/cosmos/store/v1beta1/commit_info.ts +362 -0
- package/src/cosmos/store/v1beta1/listening.ts +286 -0
- package/src/cosmos/streaming/v1/grpc.ts +985 -0
- package/src/cosmos/tx/config/v1/config.ts +127 -0
- package/src/cosmos/tx/signing/v1beta1/signing.ts +688 -0
- package/src/cosmos/tx/v1beta1/service.rpc.func.ts +102 -0
- package/src/cosmos/tx/v1beta1/service.ts +2294 -0
- package/src/cosmos/tx/v1beta1/tx.ts +2029 -0
- package/src/cosmos/upgrade/module/v1/module.ts +99 -0
- package/src/cosmos/upgrade/v1beta1/query.rpc.func.ts +58 -0
- package/src/cosmos/upgrade/v1beta1/query.ts +1016 -0
- package/src/cosmos/upgrade/v1beta1/tx.registry.ts +47 -0
- package/src/cosmos/upgrade/v1beta1/tx.rpc.func.ts +22 -0
- package/src/cosmos/upgrade/v1beta1/tx.ts +398 -0
- package/src/cosmos/upgrade/v1beta1/upgrade.ts +591 -0
- package/src/cosmos/validate/module/v1/module.ts +80 -0
- package/src/cosmos/vesting/module/v1/module.ts +80 -0
- package/src/cosmos/vesting/v1beta1/tx.registry.ts +65 -0
- package/src/cosmos/vesting/v1beta1/tx.rpc.func.ts +31 -0
- package/src/cosmos/vesting/v1beta1/tx.ts +698 -0
- package/src/cosmos/vesting/v1beta1/vesting.ts +735 -0
- package/src/cosmos_proto/cosmos.ts +341 -0
- package/src/cosmwasm/wasm/v1/authz.ts +1231 -0
- package/src/cosmwasm/wasm/v1/genesis.ts +532 -0
- package/src/cosmwasm/wasm/v1/ibc.ts +355 -0
- package/src/cosmwasm/wasm/v1/proposal_legacy.ts +2432 -0
- package/src/cosmwasm/wasm/v1/query.rpc.func.ts +124 -0
- package/src/cosmwasm/wasm/v1/query.ts +2560 -0
- package/src/cosmwasm/wasm/v1/tx.registry.ts +317 -0
- package/src/cosmwasm/wasm/v1/tx.rpc.func.ts +157 -0
- package/src/cosmwasm/wasm/v1/tx.ts +4191 -0
- package/src/cosmwasm/wasm/v1/types.ts +1120 -0
- package/src/ethermint/crypto/v1/ethsecp256k1/keys.ts +193 -0
- package/src/ethermint/evm/v1/events.ts +485 -0
- package/src/ethermint/evm/v1/evm.ts +1590 -0
- package/src/ethermint/evm/v1/genesis.ts +240 -0
- package/src/ethermint/evm/v1/query.rpc.func.ts +136 -0
- package/src/ethermint/evm/v1/query.ts +2535 -0
- package/src/ethermint/evm/v1/tx.registry.ts +47 -0
- package/src/ethermint/evm/v1/tx.rpc.func.ts +22 -0
- package/src/ethermint/evm/v1/tx.ts +1333 -0
- package/src/ethermint/feemarket/v1/events.ts +195 -0
- package/src/ethermint/feemarket/v1/feemarket.ts +213 -0
- package/src/ethermint/feemarket/v1/genesis.ts +114 -0
- package/src/ethermint/feemarket/v1/query.rpc.func.ts +36 -0
- package/src/ethermint/feemarket/v1/query.ts +487 -0
- package/src/ethermint/feemarket/v1/tx.registry.ts +29 -0
- package/src/ethermint/feemarket/v1/tx.rpc.func.ts +13 -0
- package/src/ethermint/feemarket/v1/tx.ts +197 -0
- package/src/ethermint/types/v1/account.ts +114 -0
- package/src/ethermint/types/v1/dynamic_fee.ts +91 -0
- package/src/ethermint/types/v1/indexer.ts +205 -0
- package/src/ethermint/types/v1/web3.ts +147 -0
- package/src/extern.ts +38 -0
- package/src/gogoproto/gogo.ts +1 -0
- package/src/google/api/annotations.ts +1 -0
- package/src/google/api/http.ts +1069 -0
- package/src/google/protobuf/any.ts +331 -0
- package/src/google/protobuf/descriptor.ts +7177 -0
- package/src/google/protobuf/duration.ts +225 -0
- package/src/google/protobuf/timestamp.ts +281 -0
- package/src/helper-func-types.ts +191 -0
- package/src/helpers.ts +259 -0
- package/src/ibc/applications/fee/v1/ack.ts +131 -0
- package/src/ibc/applications/fee/v1/fee.ts +481 -0
- package/src/ibc/applications/fee/v1/genesis.ts +661 -0
- package/src/ibc/applications/fee/v1/metadata.ts +121 -0
- package/src/ibc/applications/fee/v1/query.rpc.func.ts +113 -0
- package/src/ibc/applications/fee/v1/query.ts +2134 -0
- package/src/ibc/applications/fee/v1/tx.registry.ts +83 -0
- package/src/ibc/applications/fee/v1/tx.rpc.func.ts +40 -0
- package/src/ibc/applications/fee/v1/tx.ts +889 -0
- package/src/ibc/applications/interchain_accounts/controller/v1/controller.ts +105 -0
- package/src/ibc/applications/interchain_accounts/controller/v1/query.rpc.func.ts +25 -0
- package/src/ibc/applications/interchain_accounts/controller/v1/query.ts +379 -0
- package/src/ibc/applications/interchain_accounts/controller/v1/tx.registry.ts +65 -0
- package/src/ibc/applications/interchain_accounts/controller/v1/tx.rpc.func.ts +31 -0
- package/src/ibc/applications/interchain_accounts/controller/v1/tx.ts +685 -0
- package/src/ibc/applications/interchain_accounts/genesis/v1/genesis.ts +661 -0
- package/src/ibc/applications/interchain_accounts/host/v1/host.ts +253 -0
- package/src/ibc/applications/interchain_accounts/host/v1/query.rpc.func.ts +14 -0
- package/src/ibc/applications/interchain_accounts/host/v1/query.ts +177 -0
- package/src/ibc/applications/interchain_accounts/host/v1/tx.registry.ts +47 -0
- package/src/ibc/applications/interchain_accounts/host/v1/tx.rpc.func.ts +22 -0
- package/src/ibc/applications/interchain_accounts/host/v1/tx.ts +429 -0
- package/src/ibc/applications/interchain_accounts/v1/account.ts +112 -0
- package/src/ibc/applications/interchain_accounts/v1/metadata.ts +191 -0
- package/src/ibc/applications/interchain_accounts/v1/packet.ts +259 -0
- package/src/ibc/applications/transfer/v1/authz.ts +280 -0
- package/src/ibc/applications/transfer/v1/genesis.ts +153 -0
- package/src/ibc/applications/transfer/v1/query.rpc.func.ts +69 -0
- package/src/ibc/applications/transfer/v1/query.ts +1205 -0
- package/src/ibc/applications/transfer/v1/transfer.ts +261 -0
- package/src/ibc/applications/transfer/v1/tx.registry.ts +47 -0
- package/src/ibc/applications/transfer/v1/tx.rpc.func.ts +22 -0
- package/src/ibc/applications/transfer/v1/tx.ts +532 -0
- package/src/ibc/applications/transfer/v2/packet.ts +171 -0
- package/src/ibc/core/channel/v1/channel.ts +1510 -0
- package/src/ibc/core/channel/v1/genesis.ts +354 -0
- package/src/ibc/core/channel/v1/query.rpc.func.ts +190 -0
- package/src/ibc/core/channel/v1/query.ts +4354 -0
- package/src/ibc/core/channel/v1/tx.registry.ts +353 -0
- package/src/ibc/core/channel/v1/tx.rpc.func.ts +175 -0
- package/src/ibc/core/channel/v1/tx.ts +4866 -0
- package/src/ibc/core/channel/v1/upgrade.ts +388 -0
- package/src/ibc/core/client/v1/client.ts +927 -0
- package/src/ibc/core/client/v1/genesis.ts +426 -0
- package/src/ibc/core/client/v1/query.rpc.func.ts +113 -0
- package/src/ibc/core/client/v1/query.ts +2280 -0
- package/src/ibc/core/client/v1/tx.registry.ts +137 -0
- package/src/ibc/core/client/v1/tx.rpc.func.ts +67 -0
- package/src/ibc/core/client/v1/tx.ts +1543 -0
- package/src/ibc/core/commitment/v1/commitment.ts +418 -0
- package/src/ibc/core/connection/v1/connection.ts +1010 -0
- package/src/ibc/core/connection/v1/genesis.ts +146 -0
- package/src/ibc/core/connection/v1/query.rpc.func.ts +69 -0
- package/src/ibc/core/connection/v1/query.ts +1408 -0
- package/src/ibc/core/connection/v1/tx.registry.ts +101 -0
- package/src/ibc/core/connection/v1/tx.rpc.func.ts +49 -0
- package/src/ibc/core/connection/v1/tx.ts +1365 -0
- package/src/ibc/core/types/v1/genesis.ts +137 -0
- package/src/ibc/lightclients/localhost/v2/localhost.ts +100 -0
- package/src/ibc/lightclients/solomachine/v2/solomachine.ts +2103 -0
- package/src/ibc/lightclients/solomachine/v3/solomachine.ts +1070 -0
- package/src/ibc/lightclients/tendermint/v1/tendermint.ts +838 -0
- package/src/ibc/lightclients/wasm/v1/genesis.ts +197 -0
- package/src/ibc/lightclients/wasm/v1/query.rpc.func.ts +25 -0
- package/src/ibc/lightclients/wasm/v1/query.ts +404 -0
- package/src/ibc/lightclients/wasm/v1/tx.registry.ts +65 -0
- package/src/ibc/lightclients/wasm/v1/tx.rpc.func.ts +31 -0
- package/src/ibc/lightclients/wasm/v1/tx.ts +621 -0
- package/src/ibc/lightclients/wasm/v1/wasm.ts +438 -0
- package/src/react-query.ts +185 -0
- package/src/registry.ts +218 -0
- package/src/tendermint/abci/types.ts +6283 -0
- package/src/tendermint/crypto/keys.ts +103 -0
- package/src/tendermint/crypto/proof.ts +555 -0
- package/src/tendermint/p2p/types.ts +507 -0
- package/src/tendermint/types/block.ts +131 -0
- package/src/tendermint/types/evidence.ts +476 -0
- package/src/tendermint/types/params.ts +814 -0
- package/src/tendermint/types/types.ts +2157 -0
- package/src/tendermint/types/validator.ts +389 -0
- package/src/tendermint/version/types.ts +219 -0
- package/src/types.ts +155 -0
- package/src/utf8.ts +148 -0
- package/src/varint.ts +488 -0
- package/src/xpla/reward/v1beta1/genesis.ts +92 -0
- package/src/xpla/reward/v1beta1/query.rpc.func.ts +25 -0
- package/src/xpla/reward/v1beta1/query.ts +333 -0
- package/src/xpla/reward/v1beta1/reward.ts +153 -0
- package/src/xpla/reward/v1beta1/tx.registry.ts +47 -0
- package/src/xpla/reward/v1beta1/tx.rpc.func.ts +22 -0
- package/src/xpla/reward/v1beta1/tx.ts +391 -0
- package/src/xpla/volunteer/v1beta1/genesis.ts +92 -0
- package/src/xpla/volunteer/v1beta1/proposal.ts +649 -0
- package/src/xpla/volunteer/v1beta1/query.rpc.func.ts +14 -0
- package/src/xpla/volunteer/v1beta1/query.ts +160 -0
- package/src/xpla/volunteer/v1beta1/tx.registry.ts +47 -0
- package/src/xpla/volunteer/v1beta1/tx.rpc.func.ts +22 -0
- package/src/xpla/volunteer/v1beta1/tx.ts +448 -0
- package/src/xpla/volunteer/v1beta1/volunteervalidator.ts +107 -0
- package/tsconfig.esm.json +10 -0
- package/tsconfig.json +10 -0
|
@@ -0,0 +1,393 @@
|
|
|
1
|
+
import { RequestFinalizeBlock, RequestFinalizeBlockAmino, ResponseFinalizeBlock, ResponseFinalizeBlockAmino, ResponseCommit, ResponseCommitAmino } from "../../../../tendermint/abci/types";
|
|
2
|
+
import { StoreKVPair, StoreKVPairAmino } from "../../v1beta1/listening";
|
|
3
|
+
import { BinaryReader, BinaryWriter } from "../../../../binary";
|
|
4
|
+
import { DeepPartial } from "../../../../helpers";
|
|
5
|
+
import { GlobalDecoderRegistry } from "../../../../registry";
|
|
6
|
+
/** ListenEndBlockRequest is the request type for the ListenEndBlock RPC method */
|
|
7
|
+
export interface ListenFinalizeBlockRequest {
|
|
8
|
+
req?: RequestFinalizeBlock;
|
|
9
|
+
res?: ResponseFinalizeBlock;
|
|
10
|
+
}
|
|
11
|
+
export interface ListenFinalizeBlockRequestProtoMsg {
|
|
12
|
+
typeUrl: "/cosmos.store.streaming.abci.ListenFinalizeBlockRequest";
|
|
13
|
+
value: Uint8Array;
|
|
14
|
+
}
|
|
15
|
+
/** ListenEndBlockRequest is the request type for the ListenEndBlock RPC method */
|
|
16
|
+
export interface ListenFinalizeBlockRequestAmino {
|
|
17
|
+
req?: RequestFinalizeBlockAmino;
|
|
18
|
+
res?: ResponseFinalizeBlockAmino;
|
|
19
|
+
}
|
|
20
|
+
export interface ListenFinalizeBlockRequestAminoMsg {
|
|
21
|
+
type: "cosmos-sdk/ListenFinalizeBlockRequest";
|
|
22
|
+
value: ListenFinalizeBlockRequestAmino;
|
|
23
|
+
}
|
|
24
|
+
/** ListenEndBlockResponse is the response type for the ListenEndBlock RPC method */
|
|
25
|
+
export interface ListenFinalizeBlockResponse {}
|
|
26
|
+
export interface ListenFinalizeBlockResponseProtoMsg {
|
|
27
|
+
typeUrl: "/cosmos.store.streaming.abci.ListenFinalizeBlockResponse";
|
|
28
|
+
value: Uint8Array;
|
|
29
|
+
}
|
|
30
|
+
/** ListenEndBlockResponse is the response type for the ListenEndBlock RPC method */
|
|
31
|
+
export interface ListenFinalizeBlockResponseAmino {}
|
|
32
|
+
export interface ListenFinalizeBlockResponseAminoMsg {
|
|
33
|
+
type: "cosmos-sdk/ListenFinalizeBlockResponse";
|
|
34
|
+
value: ListenFinalizeBlockResponseAmino;
|
|
35
|
+
}
|
|
36
|
+
/** ListenCommitRequest is the request type for the ListenCommit RPC method */
|
|
37
|
+
export interface ListenCommitRequest {
|
|
38
|
+
/** explicitly pass in block height as ResponseCommit does not contain this info */
|
|
39
|
+
blockHeight: bigint;
|
|
40
|
+
res?: ResponseCommit;
|
|
41
|
+
changeSet: StoreKVPair[];
|
|
42
|
+
}
|
|
43
|
+
export interface ListenCommitRequestProtoMsg {
|
|
44
|
+
typeUrl: "/cosmos.store.streaming.abci.ListenCommitRequest";
|
|
45
|
+
value: Uint8Array;
|
|
46
|
+
}
|
|
47
|
+
/** ListenCommitRequest is the request type for the ListenCommit RPC method */
|
|
48
|
+
export interface ListenCommitRequestAmino {
|
|
49
|
+
/** explicitly pass in block height as ResponseCommit does not contain this info */
|
|
50
|
+
block_height: string;
|
|
51
|
+
res?: ResponseCommitAmino;
|
|
52
|
+
change_set: StoreKVPairAmino[];
|
|
53
|
+
}
|
|
54
|
+
export interface ListenCommitRequestAminoMsg {
|
|
55
|
+
type: "cosmos-sdk/ListenCommitRequest";
|
|
56
|
+
value: ListenCommitRequestAmino;
|
|
57
|
+
}
|
|
58
|
+
/** ListenCommitResponse is the response type for the ListenCommit RPC method */
|
|
59
|
+
export interface ListenCommitResponse {}
|
|
60
|
+
export interface ListenCommitResponseProtoMsg {
|
|
61
|
+
typeUrl: "/cosmos.store.streaming.abci.ListenCommitResponse";
|
|
62
|
+
value: Uint8Array;
|
|
63
|
+
}
|
|
64
|
+
/** ListenCommitResponse is the response type for the ListenCommit RPC method */
|
|
65
|
+
export interface ListenCommitResponseAmino {}
|
|
66
|
+
export interface ListenCommitResponseAminoMsg {
|
|
67
|
+
type: "cosmos-sdk/ListenCommitResponse";
|
|
68
|
+
value: ListenCommitResponseAmino;
|
|
69
|
+
}
|
|
70
|
+
function createBaseListenFinalizeBlockRequest(): ListenFinalizeBlockRequest {
|
|
71
|
+
return {
|
|
72
|
+
req: undefined,
|
|
73
|
+
res: undefined
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
export const ListenFinalizeBlockRequest = {
|
|
77
|
+
typeUrl: "/cosmos.store.streaming.abci.ListenFinalizeBlockRequest",
|
|
78
|
+
aminoType: "cosmos-sdk/ListenFinalizeBlockRequest",
|
|
79
|
+
is(o: any): o is ListenFinalizeBlockRequest {
|
|
80
|
+
return o && o.$typeUrl === ListenFinalizeBlockRequest.typeUrl;
|
|
81
|
+
},
|
|
82
|
+
isAmino(o: any): o is ListenFinalizeBlockRequestAmino {
|
|
83
|
+
return o && o.$typeUrl === ListenFinalizeBlockRequest.typeUrl;
|
|
84
|
+
},
|
|
85
|
+
encode(message: ListenFinalizeBlockRequest, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
86
|
+
if (message.req !== undefined) {
|
|
87
|
+
RequestFinalizeBlock.encode(message.req, writer.uint32(10).fork()).ldelim();
|
|
88
|
+
}
|
|
89
|
+
if (message.res !== undefined) {
|
|
90
|
+
ResponseFinalizeBlock.encode(message.res, writer.uint32(18).fork()).ldelim();
|
|
91
|
+
}
|
|
92
|
+
return writer;
|
|
93
|
+
},
|
|
94
|
+
decode(input: BinaryReader | Uint8Array, length?: number): ListenFinalizeBlockRequest {
|
|
95
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
96
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
97
|
+
const message = createBaseListenFinalizeBlockRequest();
|
|
98
|
+
while (reader.pos < end) {
|
|
99
|
+
const tag = reader.uint32();
|
|
100
|
+
switch (tag >>> 3) {
|
|
101
|
+
case 1:
|
|
102
|
+
message.req = RequestFinalizeBlock.decode(reader, reader.uint32());
|
|
103
|
+
break;
|
|
104
|
+
case 2:
|
|
105
|
+
message.res = ResponseFinalizeBlock.decode(reader, reader.uint32());
|
|
106
|
+
break;
|
|
107
|
+
default:
|
|
108
|
+
reader.skipType(tag & 7);
|
|
109
|
+
break;
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
return message;
|
|
113
|
+
},
|
|
114
|
+
fromPartial(object: DeepPartial<ListenFinalizeBlockRequest>): ListenFinalizeBlockRequest {
|
|
115
|
+
const message = createBaseListenFinalizeBlockRequest();
|
|
116
|
+
message.req = object.req !== undefined && object.req !== null ? RequestFinalizeBlock.fromPartial(object.req) : undefined;
|
|
117
|
+
message.res = object.res !== undefined && object.res !== null ? ResponseFinalizeBlock.fromPartial(object.res) : undefined;
|
|
118
|
+
return message;
|
|
119
|
+
},
|
|
120
|
+
fromAmino(object: ListenFinalizeBlockRequestAmino): ListenFinalizeBlockRequest {
|
|
121
|
+
const message = createBaseListenFinalizeBlockRequest();
|
|
122
|
+
if (object.req !== undefined && object.req !== null) {
|
|
123
|
+
message.req = RequestFinalizeBlock.fromAmino(object.req);
|
|
124
|
+
}
|
|
125
|
+
if (object.res !== undefined && object.res !== null) {
|
|
126
|
+
message.res = ResponseFinalizeBlock.fromAmino(object.res);
|
|
127
|
+
}
|
|
128
|
+
return message;
|
|
129
|
+
},
|
|
130
|
+
toAmino(message: ListenFinalizeBlockRequest): ListenFinalizeBlockRequestAmino {
|
|
131
|
+
const obj: any = {};
|
|
132
|
+
obj.req = message.req ? RequestFinalizeBlock.toAmino(message.req) : undefined;
|
|
133
|
+
obj.res = message.res ? ResponseFinalizeBlock.toAmino(message.res) : undefined;
|
|
134
|
+
return obj;
|
|
135
|
+
},
|
|
136
|
+
fromAminoMsg(object: ListenFinalizeBlockRequestAminoMsg): ListenFinalizeBlockRequest {
|
|
137
|
+
return ListenFinalizeBlockRequest.fromAmino(object.value);
|
|
138
|
+
},
|
|
139
|
+
toAminoMsg(message: ListenFinalizeBlockRequest): ListenFinalizeBlockRequestAminoMsg {
|
|
140
|
+
return {
|
|
141
|
+
type: "cosmos-sdk/ListenFinalizeBlockRequest",
|
|
142
|
+
value: ListenFinalizeBlockRequest.toAmino(message)
|
|
143
|
+
};
|
|
144
|
+
},
|
|
145
|
+
fromProtoMsg(message: ListenFinalizeBlockRequestProtoMsg): ListenFinalizeBlockRequest {
|
|
146
|
+
return ListenFinalizeBlockRequest.decode(message.value);
|
|
147
|
+
},
|
|
148
|
+
toProto(message: ListenFinalizeBlockRequest): Uint8Array {
|
|
149
|
+
return ListenFinalizeBlockRequest.encode(message).finish();
|
|
150
|
+
},
|
|
151
|
+
toProtoMsg(message: ListenFinalizeBlockRequest): ListenFinalizeBlockRequestProtoMsg {
|
|
152
|
+
return {
|
|
153
|
+
typeUrl: "/cosmos.store.streaming.abci.ListenFinalizeBlockRequest",
|
|
154
|
+
value: ListenFinalizeBlockRequest.encode(message).finish()
|
|
155
|
+
};
|
|
156
|
+
}
|
|
157
|
+
};
|
|
158
|
+
GlobalDecoderRegistry.register(ListenFinalizeBlockRequest.typeUrl, ListenFinalizeBlockRequest);
|
|
159
|
+
GlobalDecoderRegistry.registerAminoProtoMapping(ListenFinalizeBlockRequest.aminoType, ListenFinalizeBlockRequest.typeUrl);
|
|
160
|
+
function createBaseListenFinalizeBlockResponse(): ListenFinalizeBlockResponse {
|
|
161
|
+
return {};
|
|
162
|
+
}
|
|
163
|
+
export const ListenFinalizeBlockResponse = {
|
|
164
|
+
typeUrl: "/cosmos.store.streaming.abci.ListenFinalizeBlockResponse",
|
|
165
|
+
aminoType: "cosmos-sdk/ListenFinalizeBlockResponse",
|
|
166
|
+
is(o: any): o is ListenFinalizeBlockResponse {
|
|
167
|
+
return o && o.$typeUrl === ListenFinalizeBlockResponse.typeUrl;
|
|
168
|
+
},
|
|
169
|
+
isAmino(o: any): o is ListenFinalizeBlockResponseAmino {
|
|
170
|
+
return o && o.$typeUrl === ListenFinalizeBlockResponse.typeUrl;
|
|
171
|
+
},
|
|
172
|
+
encode(_: ListenFinalizeBlockResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
173
|
+
return writer;
|
|
174
|
+
},
|
|
175
|
+
decode(input: BinaryReader | Uint8Array, length?: number): ListenFinalizeBlockResponse {
|
|
176
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
177
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
178
|
+
const message = createBaseListenFinalizeBlockResponse();
|
|
179
|
+
while (reader.pos < end) {
|
|
180
|
+
const tag = reader.uint32();
|
|
181
|
+
switch (tag >>> 3) {
|
|
182
|
+
default:
|
|
183
|
+
reader.skipType(tag & 7);
|
|
184
|
+
break;
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
return message;
|
|
188
|
+
},
|
|
189
|
+
fromPartial(_: DeepPartial<ListenFinalizeBlockResponse>): ListenFinalizeBlockResponse {
|
|
190
|
+
const message = createBaseListenFinalizeBlockResponse();
|
|
191
|
+
return message;
|
|
192
|
+
},
|
|
193
|
+
fromAmino(_: ListenFinalizeBlockResponseAmino): ListenFinalizeBlockResponse {
|
|
194
|
+
const message = createBaseListenFinalizeBlockResponse();
|
|
195
|
+
return message;
|
|
196
|
+
},
|
|
197
|
+
toAmino(_: ListenFinalizeBlockResponse): ListenFinalizeBlockResponseAmino {
|
|
198
|
+
const obj: any = {};
|
|
199
|
+
return obj;
|
|
200
|
+
},
|
|
201
|
+
fromAminoMsg(object: ListenFinalizeBlockResponseAminoMsg): ListenFinalizeBlockResponse {
|
|
202
|
+
return ListenFinalizeBlockResponse.fromAmino(object.value);
|
|
203
|
+
},
|
|
204
|
+
toAminoMsg(message: ListenFinalizeBlockResponse): ListenFinalizeBlockResponseAminoMsg {
|
|
205
|
+
return {
|
|
206
|
+
type: "cosmos-sdk/ListenFinalizeBlockResponse",
|
|
207
|
+
value: ListenFinalizeBlockResponse.toAmino(message)
|
|
208
|
+
};
|
|
209
|
+
},
|
|
210
|
+
fromProtoMsg(message: ListenFinalizeBlockResponseProtoMsg): ListenFinalizeBlockResponse {
|
|
211
|
+
return ListenFinalizeBlockResponse.decode(message.value);
|
|
212
|
+
},
|
|
213
|
+
toProto(message: ListenFinalizeBlockResponse): Uint8Array {
|
|
214
|
+
return ListenFinalizeBlockResponse.encode(message).finish();
|
|
215
|
+
},
|
|
216
|
+
toProtoMsg(message: ListenFinalizeBlockResponse): ListenFinalizeBlockResponseProtoMsg {
|
|
217
|
+
return {
|
|
218
|
+
typeUrl: "/cosmos.store.streaming.abci.ListenFinalizeBlockResponse",
|
|
219
|
+
value: ListenFinalizeBlockResponse.encode(message).finish()
|
|
220
|
+
};
|
|
221
|
+
}
|
|
222
|
+
};
|
|
223
|
+
GlobalDecoderRegistry.register(ListenFinalizeBlockResponse.typeUrl, ListenFinalizeBlockResponse);
|
|
224
|
+
GlobalDecoderRegistry.registerAminoProtoMapping(ListenFinalizeBlockResponse.aminoType, ListenFinalizeBlockResponse.typeUrl);
|
|
225
|
+
function createBaseListenCommitRequest(): ListenCommitRequest {
|
|
226
|
+
return {
|
|
227
|
+
blockHeight: BigInt(0),
|
|
228
|
+
res: undefined,
|
|
229
|
+
changeSet: []
|
|
230
|
+
};
|
|
231
|
+
}
|
|
232
|
+
export const ListenCommitRequest = {
|
|
233
|
+
typeUrl: "/cosmos.store.streaming.abci.ListenCommitRequest",
|
|
234
|
+
aminoType: "cosmos-sdk/ListenCommitRequest",
|
|
235
|
+
is(o: any): o is ListenCommitRequest {
|
|
236
|
+
return o && (o.$typeUrl === ListenCommitRequest.typeUrl || typeof o.blockHeight === "bigint" && Array.isArray(o.changeSet) && (!o.changeSet.length || StoreKVPair.is(o.changeSet[0])));
|
|
237
|
+
},
|
|
238
|
+
isAmino(o: any): o is ListenCommitRequestAmino {
|
|
239
|
+
return o && (o.$typeUrl === ListenCommitRequest.typeUrl || typeof o.block_height === "bigint" && Array.isArray(o.change_set) && (!o.change_set.length || StoreKVPair.isAmino(o.change_set[0])));
|
|
240
|
+
},
|
|
241
|
+
encode(message: ListenCommitRequest, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
242
|
+
if (message.blockHeight !== BigInt(0)) {
|
|
243
|
+
writer.uint32(8).int64(message.blockHeight);
|
|
244
|
+
}
|
|
245
|
+
if (message.res !== undefined) {
|
|
246
|
+
ResponseCommit.encode(message.res, writer.uint32(18).fork()).ldelim();
|
|
247
|
+
}
|
|
248
|
+
for (const v of message.changeSet) {
|
|
249
|
+
StoreKVPair.encode(v!, writer.uint32(26).fork()).ldelim();
|
|
250
|
+
}
|
|
251
|
+
return writer;
|
|
252
|
+
},
|
|
253
|
+
decode(input: BinaryReader | Uint8Array, length?: number): ListenCommitRequest {
|
|
254
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
255
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
256
|
+
const message = createBaseListenCommitRequest();
|
|
257
|
+
while (reader.pos < end) {
|
|
258
|
+
const tag = reader.uint32();
|
|
259
|
+
switch (tag >>> 3) {
|
|
260
|
+
case 1:
|
|
261
|
+
message.blockHeight = reader.int64();
|
|
262
|
+
break;
|
|
263
|
+
case 2:
|
|
264
|
+
message.res = ResponseCommit.decode(reader, reader.uint32());
|
|
265
|
+
break;
|
|
266
|
+
case 3:
|
|
267
|
+
message.changeSet.push(StoreKVPair.decode(reader, reader.uint32()));
|
|
268
|
+
break;
|
|
269
|
+
default:
|
|
270
|
+
reader.skipType(tag & 7);
|
|
271
|
+
break;
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
return message;
|
|
275
|
+
},
|
|
276
|
+
fromPartial(object: DeepPartial<ListenCommitRequest>): ListenCommitRequest {
|
|
277
|
+
const message = createBaseListenCommitRequest();
|
|
278
|
+
message.blockHeight = object.blockHeight !== undefined && object.blockHeight !== null ? BigInt(object.blockHeight.toString()) : BigInt(0);
|
|
279
|
+
message.res = object.res !== undefined && object.res !== null ? ResponseCommit.fromPartial(object.res) : undefined;
|
|
280
|
+
message.changeSet = object.changeSet?.map(e => StoreKVPair.fromPartial(e)) || [];
|
|
281
|
+
return message;
|
|
282
|
+
},
|
|
283
|
+
fromAmino(object: ListenCommitRequestAmino): ListenCommitRequest {
|
|
284
|
+
const message = createBaseListenCommitRequest();
|
|
285
|
+
if (object.block_height !== undefined && object.block_height !== null) {
|
|
286
|
+
message.blockHeight = BigInt(object.block_height);
|
|
287
|
+
}
|
|
288
|
+
if (object.res !== undefined && object.res !== null) {
|
|
289
|
+
message.res = ResponseCommit.fromAmino(object.res);
|
|
290
|
+
}
|
|
291
|
+
message.changeSet = object.change_set?.map(e => StoreKVPair.fromAmino(e)) || [];
|
|
292
|
+
return message;
|
|
293
|
+
},
|
|
294
|
+
toAmino(message: ListenCommitRequest): ListenCommitRequestAmino {
|
|
295
|
+
const obj: any = {};
|
|
296
|
+
obj.block_height = message.blockHeight !== BigInt(0) ? message.blockHeight?.toString() : undefined;
|
|
297
|
+
obj.res = message.res ? ResponseCommit.toAmino(message.res) : undefined;
|
|
298
|
+
if (message.changeSet) {
|
|
299
|
+
obj.change_set = message.changeSet.map(e => e ? StoreKVPair.toAmino(e) : undefined);
|
|
300
|
+
} else {
|
|
301
|
+
obj.change_set = message.changeSet;
|
|
302
|
+
}
|
|
303
|
+
return obj;
|
|
304
|
+
},
|
|
305
|
+
fromAminoMsg(object: ListenCommitRequestAminoMsg): ListenCommitRequest {
|
|
306
|
+
return ListenCommitRequest.fromAmino(object.value);
|
|
307
|
+
},
|
|
308
|
+
toAminoMsg(message: ListenCommitRequest): ListenCommitRequestAminoMsg {
|
|
309
|
+
return {
|
|
310
|
+
type: "cosmos-sdk/ListenCommitRequest",
|
|
311
|
+
value: ListenCommitRequest.toAmino(message)
|
|
312
|
+
};
|
|
313
|
+
},
|
|
314
|
+
fromProtoMsg(message: ListenCommitRequestProtoMsg): ListenCommitRequest {
|
|
315
|
+
return ListenCommitRequest.decode(message.value);
|
|
316
|
+
},
|
|
317
|
+
toProto(message: ListenCommitRequest): Uint8Array {
|
|
318
|
+
return ListenCommitRequest.encode(message).finish();
|
|
319
|
+
},
|
|
320
|
+
toProtoMsg(message: ListenCommitRequest): ListenCommitRequestProtoMsg {
|
|
321
|
+
return {
|
|
322
|
+
typeUrl: "/cosmos.store.streaming.abci.ListenCommitRequest",
|
|
323
|
+
value: ListenCommitRequest.encode(message).finish()
|
|
324
|
+
};
|
|
325
|
+
}
|
|
326
|
+
};
|
|
327
|
+
GlobalDecoderRegistry.register(ListenCommitRequest.typeUrl, ListenCommitRequest);
|
|
328
|
+
GlobalDecoderRegistry.registerAminoProtoMapping(ListenCommitRequest.aminoType, ListenCommitRequest.typeUrl);
|
|
329
|
+
function createBaseListenCommitResponse(): ListenCommitResponse {
|
|
330
|
+
return {};
|
|
331
|
+
}
|
|
332
|
+
export const ListenCommitResponse = {
|
|
333
|
+
typeUrl: "/cosmos.store.streaming.abci.ListenCommitResponse",
|
|
334
|
+
aminoType: "cosmos-sdk/ListenCommitResponse",
|
|
335
|
+
is(o: any): o is ListenCommitResponse {
|
|
336
|
+
return o && o.$typeUrl === ListenCommitResponse.typeUrl;
|
|
337
|
+
},
|
|
338
|
+
isAmino(o: any): o is ListenCommitResponseAmino {
|
|
339
|
+
return o && o.$typeUrl === ListenCommitResponse.typeUrl;
|
|
340
|
+
},
|
|
341
|
+
encode(_: ListenCommitResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
342
|
+
return writer;
|
|
343
|
+
},
|
|
344
|
+
decode(input: BinaryReader | Uint8Array, length?: number): ListenCommitResponse {
|
|
345
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
346
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
347
|
+
const message = createBaseListenCommitResponse();
|
|
348
|
+
while (reader.pos < end) {
|
|
349
|
+
const tag = reader.uint32();
|
|
350
|
+
switch (tag >>> 3) {
|
|
351
|
+
default:
|
|
352
|
+
reader.skipType(tag & 7);
|
|
353
|
+
break;
|
|
354
|
+
}
|
|
355
|
+
}
|
|
356
|
+
return message;
|
|
357
|
+
},
|
|
358
|
+
fromPartial(_: DeepPartial<ListenCommitResponse>): ListenCommitResponse {
|
|
359
|
+
const message = createBaseListenCommitResponse();
|
|
360
|
+
return message;
|
|
361
|
+
},
|
|
362
|
+
fromAmino(_: ListenCommitResponseAmino): ListenCommitResponse {
|
|
363
|
+
const message = createBaseListenCommitResponse();
|
|
364
|
+
return message;
|
|
365
|
+
},
|
|
366
|
+
toAmino(_: ListenCommitResponse): ListenCommitResponseAmino {
|
|
367
|
+
const obj: any = {};
|
|
368
|
+
return obj;
|
|
369
|
+
},
|
|
370
|
+
fromAminoMsg(object: ListenCommitResponseAminoMsg): ListenCommitResponse {
|
|
371
|
+
return ListenCommitResponse.fromAmino(object.value);
|
|
372
|
+
},
|
|
373
|
+
toAminoMsg(message: ListenCommitResponse): ListenCommitResponseAminoMsg {
|
|
374
|
+
return {
|
|
375
|
+
type: "cosmos-sdk/ListenCommitResponse",
|
|
376
|
+
value: ListenCommitResponse.toAmino(message)
|
|
377
|
+
};
|
|
378
|
+
},
|
|
379
|
+
fromProtoMsg(message: ListenCommitResponseProtoMsg): ListenCommitResponse {
|
|
380
|
+
return ListenCommitResponse.decode(message.value);
|
|
381
|
+
},
|
|
382
|
+
toProto(message: ListenCommitResponse): Uint8Array {
|
|
383
|
+
return ListenCommitResponse.encode(message).finish();
|
|
384
|
+
},
|
|
385
|
+
toProtoMsg(message: ListenCommitResponse): ListenCommitResponseProtoMsg {
|
|
386
|
+
return {
|
|
387
|
+
typeUrl: "/cosmos.store.streaming.abci.ListenCommitResponse",
|
|
388
|
+
value: ListenCommitResponse.encode(message).finish()
|
|
389
|
+
};
|
|
390
|
+
}
|
|
391
|
+
};
|
|
392
|
+
GlobalDecoderRegistry.register(ListenCommitResponse.typeUrl, ListenCommitResponse);
|
|
393
|
+
GlobalDecoderRegistry.registerAminoProtoMapping(ListenCommitResponse.aminoType, ListenCommitResponse.typeUrl);
|