@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,361 @@
|
|
|
1
|
+
import { BinaryReader, BinaryWriter } from "../../../../binary";
|
|
2
|
+
import { DeepPartial, bytesFromBase64, base64FromBytes } from "../../../../helpers";
|
|
3
|
+
import { GlobalDecoderRegistry } from "../../../../registry";
|
|
4
|
+
/**
|
|
5
|
+
* PageRequest is to be embedded in gRPC request messages for efficient
|
|
6
|
+
* pagination. Ex:
|
|
7
|
+
*
|
|
8
|
+
* message SomeRequest {
|
|
9
|
+
* Foo some_parameter = 1;
|
|
10
|
+
* PageRequest pagination = 2;
|
|
11
|
+
* }
|
|
12
|
+
*/
|
|
13
|
+
export interface PageRequest {
|
|
14
|
+
/**
|
|
15
|
+
* key is a value returned in PageResponse.next_key to begin
|
|
16
|
+
* querying the next page most efficiently. Only one of offset or key
|
|
17
|
+
* should be set.
|
|
18
|
+
*/
|
|
19
|
+
key: Uint8Array;
|
|
20
|
+
/**
|
|
21
|
+
* offset is a numeric offset that can be used when key is unavailable.
|
|
22
|
+
* It is less efficient than using key. Only one of offset or key should
|
|
23
|
+
* be set.
|
|
24
|
+
*/
|
|
25
|
+
offset: bigint;
|
|
26
|
+
/**
|
|
27
|
+
* limit is the total number of results to be returned in the result page.
|
|
28
|
+
* If left empty it will default to a value to be set by each app.
|
|
29
|
+
*/
|
|
30
|
+
limit: bigint;
|
|
31
|
+
/**
|
|
32
|
+
* count_total is set to true to indicate that the result set should include
|
|
33
|
+
* a count of the total number of items available for pagination in UIs.
|
|
34
|
+
* count_total is only respected when offset is used. It is ignored when key
|
|
35
|
+
* is set.
|
|
36
|
+
*/
|
|
37
|
+
countTotal: boolean;
|
|
38
|
+
/**
|
|
39
|
+
* reverse is set to true if results are to be returned in the descending order.
|
|
40
|
+
*
|
|
41
|
+
* Since: cosmos-sdk 0.43
|
|
42
|
+
*/
|
|
43
|
+
reverse: boolean;
|
|
44
|
+
}
|
|
45
|
+
export interface PageRequestProtoMsg {
|
|
46
|
+
typeUrl: "/cosmos.base.query.v1beta1.PageRequest";
|
|
47
|
+
value: Uint8Array;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* PageRequest is to be embedded in gRPC request messages for efficient
|
|
51
|
+
* pagination. Ex:
|
|
52
|
+
*
|
|
53
|
+
* message SomeRequest {
|
|
54
|
+
* Foo some_parameter = 1;
|
|
55
|
+
* PageRequest pagination = 2;
|
|
56
|
+
* }
|
|
57
|
+
*/
|
|
58
|
+
export interface PageRequestAmino {
|
|
59
|
+
/**
|
|
60
|
+
* key is a value returned in PageResponse.next_key to begin
|
|
61
|
+
* querying the next page most efficiently. Only one of offset or key
|
|
62
|
+
* should be set.
|
|
63
|
+
*/
|
|
64
|
+
key: string;
|
|
65
|
+
/**
|
|
66
|
+
* offset is a numeric offset that can be used when key is unavailable.
|
|
67
|
+
* It is less efficient than using key. Only one of offset or key should
|
|
68
|
+
* be set.
|
|
69
|
+
*/
|
|
70
|
+
offset: string;
|
|
71
|
+
/**
|
|
72
|
+
* limit is the total number of results to be returned in the result page.
|
|
73
|
+
* If left empty it will default to a value to be set by each app.
|
|
74
|
+
*/
|
|
75
|
+
limit: string;
|
|
76
|
+
/**
|
|
77
|
+
* count_total is set to true to indicate that the result set should include
|
|
78
|
+
* a count of the total number of items available for pagination in UIs.
|
|
79
|
+
* count_total is only respected when offset is used. It is ignored when key
|
|
80
|
+
* is set.
|
|
81
|
+
*/
|
|
82
|
+
count_total: boolean;
|
|
83
|
+
/**
|
|
84
|
+
* reverse is set to true if results are to be returned in the descending order.
|
|
85
|
+
*
|
|
86
|
+
* Since: cosmos-sdk 0.43
|
|
87
|
+
*/
|
|
88
|
+
reverse: boolean;
|
|
89
|
+
}
|
|
90
|
+
export interface PageRequestAminoMsg {
|
|
91
|
+
type: "cosmos-sdk/PageRequest";
|
|
92
|
+
value: PageRequestAmino;
|
|
93
|
+
}
|
|
94
|
+
/**
|
|
95
|
+
* PageResponse is to be embedded in gRPC response messages where the
|
|
96
|
+
* corresponding request message has used PageRequest.
|
|
97
|
+
*
|
|
98
|
+
* message SomeResponse {
|
|
99
|
+
* repeated Bar results = 1;
|
|
100
|
+
* PageResponse page = 2;
|
|
101
|
+
* }
|
|
102
|
+
*/
|
|
103
|
+
export interface PageResponse {
|
|
104
|
+
/**
|
|
105
|
+
* next_key is the key to be passed to PageRequest.key to
|
|
106
|
+
* query the next page most efficiently. It will be empty if
|
|
107
|
+
* there are no more results.
|
|
108
|
+
*/
|
|
109
|
+
nextKey: Uint8Array;
|
|
110
|
+
/**
|
|
111
|
+
* total is total number of results available if PageRequest.count_total
|
|
112
|
+
* was set, its value is undefined otherwise
|
|
113
|
+
*/
|
|
114
|
+
total: bigint;
|
|
115
|
+
}
|
|
116
|
+
export interface PageResponseProtoMsg {
|
|
117
|
+
typeUrl: "/cosmos.base.query.v1beta1.PageResponse";
|
|
118
|
+
value: Uint8Array;
|
|
119
|
+
}
|
|
120
|
+
/**
|
|
121
|
+
* PageResponse is to be embedded in gRPC response messages where the
|
|
122
|
+
* corresponding request message has used PageRequest.
|
|
123
|
+
*
|
|
124
|
+
* message SomeResponse {
|
|
125
|
+
* repeated Bar results = 1;
|
|
126
|
+
* PageResponse page = 2;
|
|
127
|
+
* }
|
|
128
|
+
*/
|
|
129
|
+
export interface PageResponseAmino {
|
|
130
|
+
/**
|
|
131
|
+
* next_key is the key to be passed to PageRequest.key to
|
|
132
|
+
* query the next page most efficiently. It will be empty if
|
|
133
|
+
* there are no more results.
|
|
134
|
+
*/
|
|
135
|
+
next_key: string;
|
|
136
|
+
/**
|
|
137
|
+
* total is total number of results available if PageRequest.count_total
|
|
138
|
+
* was set, its value is undefined otherwise
|
|
139
|
+
*/
|
|
140
|
+
total: string;
|
|
141
|
+
}
|
|
142
|
+
export interface PageResponseAminoMsg {
|
|
143
|
+
type: "cosmos-sdk/PageResponse";
|
|
144
|
+
value: PageResponseAmino;
|
|
145
|
+
}
|
|
146
|
+
function createBasePageRequest(): PageRequest {
|
|
147
|
+
return {
|
|
148
|
+
key: new Uint8Array(),
|
|
149
|
+
offset: BigInt(0),
|
|
150
|
+
limit: BigInt(0),
|
|
151
|
+
countTotal: false,
|
|
152
|
+
reverse: false
|
|
153
|
+
};
|
|
154
|
+
}
|
|
155
|
+
export const PageRequest = {
|
|
156
|
+
typeUrl: "/cosmos.base.query.v1beta1.PageRequest",
|
|
157
|
+
aminoType: "cosmos-sdk/PageRequest",
|
|
158
|
+
is(o: any): o is PageRequest {
|
|
159
|
+
return o && (o.$typeUrl === PageRequest.typeUrl || (o.key instanceof Uint8Array || typeof o.key === "string") && typeof o.offset === "bigint" && typeof o.limit === "bigint" && typeof o.countTotal === "boolean" && typeof o.reverse === "boolean");
|
|
160
|
+
},
|
|
161
|
+
isAmino(o: any): o is PageRequestAmino {
|
|
162
|
+
return o && (o.$typeUrl === PageRequest.typeUrl || (o.key instanceof Uint8Array || typeof o.key === "string") && typeof o.offset === "bigint" && typeof o.limit === "bigint" && typeof o.count_total === "boolean" && typeof o.reverse === "boolean");
|
|
163
|
+
},
|
|
164
|
+
encode(message: PageRequest, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
165
|
+
if (message.key.length !== 0) {
|
|
166
|
+
writer.uint32(10).bytes(message.key);
|
|
167
|
+
}
|
|
168
|
+
if (message.offset !== BigInt(0)) {
|
|
169
|
+
writer.uint32(16).uint64(message.offset);
|
|
170
|
+
}
|
|
171
|
+
if (message.limit !== BigInt(0)) {
|
|
172
|
+
writer.uint32(24).uint64(message.limit);
|
|
173
|
+
}
|
|
174
|
+
if (message.countTotal === true) {
|
|
175
|
+
writer.uint32(32).bool(message.countTotal);
|
|
176
|
+
}
|
|
177
|
+
if (message.reverse === true) {
|
|
178
|
+
writer.uint32(40).bool(message.reverse);
|
|
179
|
+
}
|
|
180
|
+
return writer;
|
|
181
|
+
},
|
|
182
|
+
decode(input: BinaryReader | Uint8Array, length?: number): PageRequest {
|
|
183
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
184
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
185
|
+
const message = createBasePageRequest();
|
|
186
|
+
while (reader.pos < end) {
|
|
187
|
+
const tag = reader.uint32();
|
|
188
|
+
switch (tag >>> 3) {
|
|
189
|
+
case 1:
|
|
190
|
+
message.key = reader.bytes();
|
|
191
|
+
break;
|
|
192
|
+
case 2:
|
|
193
|
+
message.offset = reader.uint64();
|
|
194
|
+
break;
|
|
195
|
+
case 3:
|
|
196
|
+
message.limit = reader.uint64();
|
|
197
|
+
break;
|
|
198
|
+
case 4:
|
|
199
|
+
message.countTotal = reader.bool();
|
|
200
|
+
break;
|
|
201
|
+
case 5:
|
|
202
|
+
message.reverse = reader.bool();
|
|
203
|
+
break;
|
|
204
|
+
default:
|
|
205
|
+
reader.skipType(tag & 7);
|
|
206
|
+
break;
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
return message;
|
|
210
|
+
},
|
|
211
|
+
fromPartial(object: DeepPartial<PageRequest>): PageRequest {
|
|
212
|
+
const message = createBasePageRequest();
|
|
213
|
+
message.key = object.key ?? new Uint8Array();
|
|
214
|
+
message.offset = object.offset !== undefined && object.offset !== null ? BigInt(object.offset.toString()) : BigInt(0);
|
|
215
|
+
message.limit = object.limit !== undefined && object.limit !== null ? BigInt(object.limit.toString()) : BigInt(0);
|
|
216
|
+
message.countTotal = object.countTotal ?? false;
|
|
217
|
+
message.reverse = object.reverse ?? false;
|
|
218
|
+
return message;
|
|
219
|
+
},
|
|
220
|
+
fromAmino(object: PageRequestAmino): PageRequest {
|
|
221
|
+
const message = createBasePageRequest();
|
|
222
|
+
if (object.key !== undefined && object.key !== null) {
|
|
223
|
+
message.key = bytesFromBase64(object.key);
|
|
224
|
+
}
|
|
225
|
+
if (object.offset !== undefined && object.offset !== null) {
|
|
226
|
+
message.offset = BigInt(object.offset);
|
|
227
|
+
}
|
|
228
|
+
if (object.limit !== undefined && object.limit !== null) {
|
|
229
|
+
message.limit = BigInt(object.limit);
|
|
230
|
+
}
|
|
231
|
+
if (object.count_total !== undefined && object.count_total !== null) {
|
|
232
|
+
message.countTotal = object.count_total;
|
|
233
|
+
}
|
|
234
|
+
if (object.reverse !== undefined && object.reverse !== null) {
|
|
235
|
+
message.reverse = object.reverse;
|
|
236
|
+
}
|
|
237
|
+
return message;
|
|
238
|
+
},
|
|
239
|
+
toAmino(message: PageRequest): PageRequestAmino {
|
|
240
|
+
const obj: any = {};
|
|
241
|
+
obj.key = message.key ? base64FromBytes(message.key) : undefined;
|
|
242
|
+
obj.offset = message.offset !== BigInt(0) ? message.offset?.toString() : undefined;
|
|
243
|
+
obj.limit = message.limit !== BigInt(0) ? message.limit?.toString() : undefined;
|
|
244
|
+
obj.count_total = message.countTotal === false ? undefined : message.countTotal;
|
|
245
|
+
obj.reverse = message.reverse === false ? undefined : message.reverse;
|
|
246
|
+
return obj;
|
|
247
|
+
},
|
|
248
|
+
fromAminoMsg(object: PageRequestAminoMsg): PageRequest {
|
|
249
|
+
return PageRequest.fromAmino(object.value);
|
|
250
|
+
},
|
|
251
|
+
toAminoMsg(message: PageRequest): PageRequestAminoMsg {
|
|
252
|
+
return {
|
|
253
|
+
type: "cosmos-sdk/PageRequest",
|
|
254
|
+
value: PageRequest.toAmino(message)
|
|
255
|
+
};
|
|
256
|
+
},
|
|
257
|
+
fromProtoMsg(message: PageRequestProtoMsg): PageRequest {
|
|
258
|
+
return PageRequest.decode(message.value);
|
|
259
|
+
},
|
|
260
|
+
toProto(message: PageRequest): Uint8Array {
|
|
261
|
+
return PageRequest.encode(message).finish();
|
|
262
|
+
},
|
|
263
|
+
toProtoMsg(message: PageRequest): PageRequestProtoMsg {
|
|
264
|
+
return {
|
|
265
|
+
typeUrl: "/cosmos.base.query.v1beta1.PageRequest",
|
|
266
|
+
value: PageRequest.encode(message).finish()
|
|
267
|
+
};
|
|
268
|
+
}
|
|
269
|
+
};
|
|
270
|
+
GlobalDecoderRegistry.register(PageRequest.typeUrl, PageRequest);
|
|
271
|
+
GlobalDecoderRegistry.registerAminoProtoMapping(PageRequest.aminoType, PageRequest.typeUrl);
|
|
272
|
+
function createBasePageResponse(): PageResponse {
|
|
273
|
+
return {
|
|
274
|
+
nextKey: new Uint8Array(),
|
|
275
|
+
total: BigInt(0)
|
|
276
|
+
};
|
|
277
|
+
}
|
|
278
|
+
export const PageResponse = {
|
|
279
|
+
typeUrl: "/cosmos.base.query.v1beta1.PageResponse",
|
|
280
|
+
aminoType: "cosmos-sdk/PageResponse",
|
|
281
|
+
is(o: any): o is PageResponse {
|
|
282
|
+
return o && (o.$typeUrl === PageResponse.typeUrl || (o.nextKey instanceof Uint8Array || typeof o.nextKey === "string") && typeof o.total === "bigint");
|
|
283
|
+
},
|
|
284
|
+
isAmino(o: any): o is PageResponseAmino {
|
|
285
|
+
return o && (o.$typeUrl === PageResponse.typeUrl || (o.next_key instanceof Uint8Array || typeof o.next_key === "string") && typeof o.total === "bigint");
|
|
286
|
+
},
|
|
287
|
+
encode(message: PageResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
288
|
+
if (message.nextKey.length !== 0) {
|
|
289
|
+
writer.uint32(10).bytes(message.nextKey);
|
|
290
|
+
}
|
|
291
|
+
if (message.total !== BigInt(0)) {
|
|
292
|
+
writer.uint32(16).uint64(message.total);
|
|
293
|
+
}
|
|
294
|
+
return writer;
|
|
295
|
+
},
|
|
296
|
+
decode(input: BinaryReader | Uint8Array, length?: number): PageResponse {
|
|
297
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
298
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
299
|
+
const message = createBasePageResponse();
|
|
300
|
+
while (reader.pos < end) {
|
|
301
|
+
const tag = reader.uint32();
|
|
302
|
+
switch (tag >>> 3) {
|
|
303
|
+
case 1:
|
|
304
|
+
message.nextKey = reader.bytes();
|
|
305
|
+
break;
|
|
306
|
+
case 2:
|
|
307
|
+
message.total = reader.uint64();
|
|
308
|
+
break;
|
|
309
|
+
default:
|
|
310
|
+
reader.skipType(tag & 7);
|
|
311
|
+
break;
|
|
312
|
+
}
|
|
313
|
+
}
|
|
314
|
+
return message;
|
|
315
|
+
},
|
|
316
|
+
fromPartial(object: DeepPartial<PageResponse>): PageResponse {
|
|
317
|
+
const message = createBasePageResponse();
|
|
318
|
+
message.nextKey = object.nextKey ?? new Uint8Array();
|
|
319
|
+
message.total = object.total !== undefined && object.total !== null ? BigInt(object.total.toString()) : BigInt(0);
|
|
320
|
+
return message;
|
|
321
|
+
},
|
|
322
|
+
fromAmino(object: PageResponseAmino): PageResponse {
|
|
323
|
+
const message = createBasePageResponse();
|
|
324
|
+
if (object.next_key !== undefined && object.next_key !== null) {
|
|
325
|
+
message.nextKey = bytesFromBase64(object.next_key);
|
|
326
|
+
}
|
|
327
|
+
if (object.total !== undefined && object.total !== null) {
|
|
328
|
+
message.total = BigInt(object.total);
|
|
329
|
+
}
|
|
330
|
+
return message;
|
|
331
|
+
},
|
|
332
|
+
toAmino(message: PageResponse): PageResponseAmino {
|
|
333
|
+
const obj: any = {};
|
|
334
|
+
obj.next_key = message.nextKey ? base64FromBytes(message.nextKey) : undefined;
|
|
335
|
+
obj.total = message.total !== BigInt(0) ? message.total?.toString() : undefined;
|
|
336
|
+
return obj;
|
|
337
|
+
},
|
|
338
|
+
fromAminoMsg(object: PageResponseAminoMsg): PageResponse {
|
|
339
|
+
return PageResponse.fromAmino(object.value);
|
|
340
|
+
},
|
|
341
|
+
toAminoMsg(message: PageResponse): PageResponseAminoMsg {
|
|
342
|
+
return {
|
|
343
|
+
type: "cosmos-sdk/PageResponse",
|
|
344
|
+
value: PageResponse.toAmino(message)
|
|
345
|
+
};
|
|
346
|
+
},
|
|
347
|
+
fromProtoMsg(message: PageResponseProtoMsg): PageResponse {
|
|
348
|
+
return PageResponse.decode(message.value);
|
|
349
|
+
},
|
|
350
|
+
toProto(message: PageResponse): Uint8Array {
|
|
351
|
+
return PageResponse.encode(message).finish();
|
|
352
|
+
},
|
|
353
|
+
toProtoMsg(message: PageResponse): PageResponseProtoMsg {
|
|
354
|
+
return {
|
|
355
|
+
typeUrl: "/cosmos.base.query.v1beta1.PageResponse",
|
|
356
|
+
value: PageResponse.encode(message).finish()
|
|
357
|
+
};
|
|
358
|
+
}
|
|
359
|
+
};
|
|
360
|
+
GlobalDecoderRegistry.register(PageResponse.typeUrl, PageResponse);
|
|
361
|
+
GlobalDecoderRegistry.registerAminoProtoMapping(PageResponse.aminoType, PageResponse.typeUrl);
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { RpcResolver, buildQuery } from "../../../../helper-func-types";
|
|
2
|
+
import { buildUseQuery } from "../../../../react-query";
|
|
3
|
+
import { ListAllInterfacesRequest, ListAllInterfacesResponse, ListImplementationsRequest, ListImplementationsResponse } from "./reflection";
|
|
4
|
+
export const createGetListAllInterfaces = (clientResolver?: RpcResolver) => buildQuery<ListAllInterfacesRequest, ListAllInterfacesResponse>({
|
|
5
|
+
encode: ListAllInterfacesRequest.encode,
|
|
6
|
+
decode: ListAllInterfacesResponse.decode,
|
|
7
|
+
service: "cosmos.base.reflection.v1beta1.ReflectionService",
|
|
8
|
+
method: "ListAllInterfaces",
|
|
9
|
+
clientResolver
|
|
10
|
+
});
|
|
11
|
+
export const useGetListAllInterfaces = buildUseQuery<ListAllInterfacesRequest, ListAllInterfacesResponse>({
|
|
12
|
+
builderQueryFn: createGetListAllInterfaces,
|
|
13
|
+
queryKeyPrefix: "ListAllInterfacesQuery"
|
|
14
|
+
});
|
|
15
|
+
export const createGetListImplementations = (clientResolver?: RpcResolver) => buildQuery<ListImplementationsRequest, ListImplementationsResponse>({
|
|
16
|
+
encode: ListImplementationsRequest.encode,
|
|
17
|
+
decode: ListImplementationsResponse.decode,
|
|
18
|
+
service: "cosmos.base.reflection.v1beta1.ReflectionService",
|
|
19
|
+
method: "ListImplementations",
|
|
20
|
+
clientResolver
|
|
21
|
+
});
|
|
22
|
+
export const useGetListImplementations = buildUseQuery<ListImplementationsRequest, ListImplementationsResponse>({
|
|
23
|
+
builderQueryFn: createGetListImplementations,
|
|
24
|
+
queryKeyPrefix: "ListImplementationsQuery"
|
|
25
|
+
});
|