@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,29 @@
|
|
|
1
|
+
import { TelescopeGeneratedType } from "../../../types";
|
|
2
|
+
import { MsgSend } from "./tx";
|
|
3
|
+
export const registry: ReadonlyArray<[string, TelescopeGeneratedType<any, any, any>]> = [["/cosmos.nft.v1beta1.MsgSend", MsgSend]];
|
|
4
|
+
export const MessageComposer = {
|
|
5
|
+
encoded: {
|
|
6
|
+
send(value: MsgSend) {
|
|
7
|
+
return {
|
|
8
|
+
typeUrl: "/cosmos.nft.v1beta1.MsgSend",
|
|
9
|
+
value: MsgSend.encode(value).finish()
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
withTypeUrl: {
|
|
14
|
+
send(value: MsgSend) {
|
|
15
|
+
return {
|
|
16
|
+
typeUrl: "/cosmos.nft.v1beta1.MsgSend",
|
|
17
|
+
value
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
fromPartial: {
|
|
22
|
+
send(value: MsgSend) {
|
|
23
|
+
return {
|
|
24
|
+
typeUrl: "/cosmos.nft.v1beta1.MsgSend",
|
|
25
|
+
value: MsgSend.fromPartial(value)
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { buildTx, SigningClientResolver } from "../../../helper-func-types";
|
|
2
|
+
import { buildUseMutation } from "../../../react-query";
|
|
3
|
+
import { toEncoders, toConverters } from "@interchainjs/cosmos/utils";
|
|
4
|
+
import { MsgSend } from "./tx";
|
|
5
|
+
export const createSend = (clientResolver?: SigningClientResolver) => buildTx<MsgSend>({
|
|
6
|
+
clientResolver,
|
|
7
|
+
typeUrl: MsgSend.typeUrl,
|
|
8
|
+
encoders: toEncoders(MsgSend),
|
|
9
|
+
converters: toConverters(MsgSend)
|
|
10
|
+
});
|
|
11
|
+
export const useSend = buildUseMutation<MsgSend, Error>({
|
|
12
|
+
builderMutationFn: createSend
|
|
13
|
+
});
|
|
@@ -0,0 +1,224 @@
|
|
|
1
|
+
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
2
|
+
import { DeepPartial } from "../../../helpers";
|
|
3
|
+
import { GlobalDecoderRegistry } from "../../../registry";
|
|
4
|
+
/** MsgSend represents a message to send a nft from one account to another account. */
|
|
5
|
+
export interface MsgSend {
|
|
6
|
+
/** class_id defines the unique identifier of the nft classification, similar to the contract address of ERC721 */
|
|
7
|
+
classId: string;
|
|
8
|
+
/** id defines the unique identification of nft */
|
|
9
|
+
id: string;
|
|
10
|
+
/** sender is the address of the owner of nft */
|
|
11
|
+
sender: string;
|
|
12
|
+
/** receiver is the receiver address of nft */
|
|
13
|
+
receiver: string;
|
|
14
|
+
}
|
|
15
|
+
export interface MsgSendProtoMsg {
|
|
16
|
+
typeUrl: "/cosmos.nft.v1beta1.MsgSend";
|
|
17
|
+
value: Uint8Array;
|
|
18
|
+
}
|
|
19
|
+
/** MsgSend represents a message to send a nft from one account to another account. */
|
|
20
|
+
export interface MsgSendAmino {
|
|
21
|
+
/** class_id defines the unique identifier of the nft classification, similar to the contract address of ERC721 */
|
|
22
|
+
class_id: string;
|
|
23
|
+
/** id defines the unique identification of nft */
|
|
24
|
+
id: string;
|
|
25
|
+
/** sender is the address of the owner of nft */
|
|
26
|
+
sender: string;
|
|
27
|
+
/** receiver is the receiver address of nft */
|
|
28
|
+
receiver: string;
|
|
29
|
+
}
|
|
30
|
+
export interface MsgSendAminoMsg {
|
|
31
|
+
type: "cosmos-sdk/MsgNFTSend";
|
|
32
|
+
value: MsgSendAmino;
|
|
33
|
+
}
|
|
34
|
+
/** MsgSendResponse defines the Msg/Send response type. */
|
|
35
|
+
export interface MsgSendResponse {}
|
|
36
|
+
export interface MsgSendResponseProtoMsg {
|
|
37
|
+
typeUrl: "/cosmos.nft.v1beta1.MsgSendResponse";
|
|
38
|
+
value: Uint8Array;
|
|
39
|
+
}
|
|
40
|
+
/** MsgSendResponse defines the Msg/Send response type. */
|
|
41
|
+
export interface MsgSendResponseAmino {}
|
|
42
|
+
export interface MsgSendResponseAminoMsg {
|
|
43
|
+
type: "cosmos-sdk/MsgSendResponse";
|
|
44
|
+
value: MsgSendResponseAmino;
|
|
45
|
+
}
|
|
46
|
+
function createBaseMsgSend(): MsgSend {
|
|
47
|
+
return {
|
|
48
|
+
classId: "",
|
|
49
|
+
id: "",
|
|
50
|
+
sender: "",
|
|
51
|
+
receiver: ""
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
export const MsgSend = {
|
|
55
|
+
typeUrl: "/cosmos.nft.v1beta1.MsgSend",
|
|
56
|
+
aminoType: "cosmos-sdk/MsgNFTSend",
|
|
57
|
+
is(o: any): o is MsgSend {
|
|
58
|
+
return o && (o.$typeUrl === MsgSend.typeUrl || typeof o.classId === "string" && typeof o.id === "string" && typeof o.sender === "string" && typeof o.receiver === "string");
|
|
59
|
+
},
|
|
60
|
+
isAmino(o: any): o is MsgSendAmino {
|
|
61
|
+
return o && (o.$typeUrl === MsgSend.typeUrl || typeof o.class_id === "string" && typeof o.id === "string" && typeof o.sender === "string" && typeof o.receiver === "string");
|
|
62
|
+
},
|
|
63
|
+
encode(message: MsgSend, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
64
|
+
if (message.classId !== "") {
|
|
65
|
+
writer.uint32(10).string(message.classId);
|
|
66
|
+
}
|
|
67
|
+
if (message.id !== "") {
|
|
68
|
+
writer.uint32(18).string(message.id);
|
|
69
|
+
}
|
|
70
|
+
if (message.sender !== "") {
|
|
71
|
+
writer.uint32(26).string(message.sender);
|
|
72
|
+
}
|
|
73
|
+
if (message.receiver !== "") {
|
|
74
|
+
writer.uint32(34).string(message.receiver);
|
|
75
|
+
}
|
|
76
|
+
return writer;
|
|
77
|
+
},
|
|
78
|
+
decode(input: BinaryReader | Uint8Array, length?: number): MsgSend {
|
|
79
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
80
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
81
|
+
const message = createBaseMsgSend();
|
|
82
|
+
while (reader.pos < end) {
|
|
83
|
+
const tag = reader.uint32();
|
|
84
|
+
switch (tag >>> 3) {
|
|
85
|
+
case 1:
|
|
86
|
+
message.classId = reader.string();
|
|
87
|
+
break;
|
|
88
|
+
case 2:
|
|
89
|
+
message.id = reader.string();
|
|
90
|
+
break;
|
|
91
|
+
case 3:
|
|
92
|
+
message.sender = reader.string();
|
|
93
|
+
break;
|
|
94
|
+
case 4:
|
|
95
|
+
message.receiver = reader.string();
|
|
96
|
+
break;
|
|
97
|
+
default:
|
|
98
|
+
reader.skipType(tag & 7);
|
|
99
|
+
break;
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
return message;
|
|
103
|
+
},
|
|
104
|
+
fromPartial(object: DeepPartial<MsgSend>): MsgSend {
|
|
105
|
+
const message = createBaseMsgSend();
|
|
106
|
+
message.classId = object.classId ?? "";
|
|
107
|
+
message.id = object.id ?? "";
|
|
108
|
+
message.sender = object.sender ?? "";
|
|
109
|
+
message.receiver = object.receiver ?? "";
|
|
110
|
+
return message;
|
|
111
|
+
},
|
|
112
|
+
fromAmino(object: MsgSendAmino): MsgSend {
|
|
113
|
+
const message = createBaseMsgSend();
|
|
114
|
+
if (object.class_id !== undefined && object.class_id !== null) {
|
|
115
|
+
message.classId = object.class_id;
|
|
116
|
+
}
|
|
117
|
+
if (object.id !== undefined && object.id !== null) {
|
|
118
|
+
message.id = object.id;
|
|
119
|
+
}
|
|
120
|
+
if (object.sender !== undefined && object.sender !== null) {
|
|
121
|
+
message.sender = object.sender;
|
|
122
|
+
}
|
|
123
|
+
if (object.receiver !== undefined && object.receiver !== null) {
|
|
124
|
+
message.receiver = object.receiver;
|
|
125
|
+
}
|
|
126
|
+
return message;
|
|
127
|
+
},
|
|
128
|
+
toAmino(message: MsgSend): MsgSendAmino {
|
|
129
|
+
const obj: any = {};
|
|
130
|
+
obj.class_id = message.classId === "" ? undefined : message.classId;
|
|
131
|
+
obj.id = message.id === "" ? undefined : message.id;
|
|
132
|
+
obj.sender = message.sender === "" ? undefined : message.sender;
|
|
133
|
+
obj.receiver = message.receiver === "" ? undefined : message.receiver;
|
|
134
|
+
return obj;
|
|
135
|
+
},
|
|
136
|
+
fromAminoMsg(object: MsgSendAminoMsg): MsgSend {
|
|
137
|
+
return MsgSend.fromAmino(object.value);
|
|
138
|
+
},
|
|
139
|
+
toAminoMsg(message: MsgSend): MsgSendAminoMsg {
|
|
140
|
+
return {
|
|
141
|
+
type: "cosmos-sdk/MsgNFTSend",
|
|
142
|
+
value: MsgSend.toAmino(message)
|
|
143
|
+
};
|
|
144
|
+
},
|
|
145
|
+
fromProtoMsg(message: MsgSendProtoMsg): MsgSend {
|
|
146
|
+
return MsgSend.decode(message.value);
|
|
147
|
+
},
|
|
148
|
+
toProto(message: MsgSend): Uint8Array {
|
|
149
|
+
return MsgSend.encode(message).finish();
|
|
150
|
+
},
|
|
151
|
+
toProtoMsg(message: MsgSend): MsgSendProtoMsg {
|
|
152
|
+
return {
|
|
153
|
+
typeUrl: "/cosmos.nft.v1beta1.MsgSend",
|
|
154
|
+
value: MsgSend.encode(message).finish()
|
|
155
|
+
};
|
|
156
|
+
}
|
|
157
|
+
};
|
|
158
|
+
GlobalDecoderRegistry.register(MsgSend.typeUrl, MsgSend);
|
|
159
|
+
GlobalDecoderRegistry.registerAminoProtoMapping(MsgSend.aminoType, MsgSend.typeUrl);
|
|
160
|
+
function createBaseMsgSendResponse(): MsgSendResponse {
|
|
161
|
+
return {};
|
|
162
|
+
}
|
|
163
|
+
export const MsgSendResponse = {
|
|
164
|
+
typeUrl: "/cosmos.nft.v1beta1.MsgSendResponse",
|
|
165
|
+
aminoType: "cosmos-sdk/MsgSendResponse",
|
|
166
|
+
is(o: any): o is MsgSendResponse {
|
|
167
|
+
return o && o.$typeUrl === MsgSendResponse.typeUrl;
|
|
168
|
+
},
|
|
169
|
+
isAmino(o: any): o is MsgSendResponseAmino {
|
|
170
|
+
return o && o.$typeUrl === MsgSendResponse.typeUrl;
|
|
171
|
+
},
|
|
172
|
+
encode(_: MsgSendResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
173
|
+
return writer;
|
|
174
|
+
},
|
|
175
|
+
decode(input: BinaryReader | Uint8Array, length?: number): MsgSendResponse {
|
|
176
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
177
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
178
|
+
const message = createBaseMsgSendResponse();
|
|
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<MsgSendResponse>): MsgSendResponse {
|
|
190
|
+
const message = createBaseMsgSendResponse();
|
|
191
|
+
return message;
|
|
192
|
+
},
|
|
193
|
+
fromAmino(_: MsgSendResponseAmino): MsgSendResponse {
|
|
194
|
+
const message = createBaseMsgSendResponse();
|
|
195
|
+
return message;
|
|
196
|
+
},
|
|
197
|
+
toAmino(_: MsgSendResponse): MsgSendResponseAmino {
|
|
198
|
+
const obj: any = {};
|
|
199
|
+
return obj;
|
|
200
|
+
},
|
|
201
|
+
fromAminoMsg(object: MsgSendResponseAminoMsg): MsgSendResponse {
|
|
202
|
+
return MsgSendResponse.fromAmino(object.value);
|
|
203
|
+
},
|
|
204
|
+
toAminoMsg(message: MsgSendResponse): MsgSendResponseAminoMsg {
|
|
205
|
+
return {
|
|
206
|
+
type: "cosmos-sdk/MsgSendResponse",
|
|
207
|
+
value: MsgSendResponse.toAmino(message)
|
|
208
|
+
};
|
|
209
|
+
},
|
|
210
|
+
fromProtoMsg(message: MsgSendResponseProtoMsg): MsgSendResponse {
|
|
211
|
+
return MsgSendResponse.decode(message.value);
|
|
212
|
+
},
|
|
213
|
+
toProto(message: MsgSendResponse): Uint8Array {
|
|
214
|
+
return MsgSendResponse.encode(message).finish();
|
|
215
|
+
},
|
|
216
|
+
toProtoMsg(message: MsgSendResponse): MsgSendResponseProtoMsg {
|
|
217
|
+
return {
|
|
218
|
+
typeUrl: "/cosmos.nft.v1beta1.MsgSendResponse",
|
|
219
|
+
value: MsgSendResponse.encode(message).finish()
|
|
220
|
+
};
|
|
221
|
+
}
|
|
222
|
+
};
|
|
223
|
+
GlobalDecoderRegistry.register(MsgSendResponse.typeUrl, MsgSendResponse);
|
|
224
|
+
GlobalDecoderRegistry.registerAminoProtoMapping(MsgSendResponse.aminoType, MsgSendResponse.typeUrl);
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import { BinaryReader, BinaryWriter } from "../../../../binary";
|
|
2
|
+
import { DeepPartial } from "../../../../helpers";
|
|
3
|
+
import { GlobalDecoderRegistry } from "../../../../registry";
|
|
4
|
+
/**
|
|
5
|
+
* Module defines the ORM module which adds providers to the app container for
|
|
6
|
+
* ORM ModuleDB's and in the future will automatically register query
|
|
7
|
+
* services for modules that use the ORM.
|
|
8
|
+
*/
|
|
9
|
+
export interface Module {}
|
|
10
|
+
export interface ModuleProtoMsg {
|
|
11
|
+
typeUrl: "/cosmos.orm.module.v1alpha1.Module";
|
|
12
|
+
value: Uint8Array;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Module defines the ORM module which adds providers to the app container for
|
|
16
|
+
* ORM ModuleDB's and in the future will automatically register query
|
|
17
|
+
* services for modules that use the ORM.
|
|
18
|
+
*/
|
|
19
|
+
export interface ModuleAmino {}
|
|
20
|
+
export interface ModuleAminoMsg {
|
|
21
|
+
type: "cosmos-sdk/Module";
|
|
22
|
+
value: ModuleAmino;
|
|
23
|
+
}
|
|
24
|
+
function createBaseModule(): Module {
|
|
25
|
+
return {};
|
|
26
|
+
}
|
|
27
|
+
export const Module = {
|
|
28
|
+
typeUrl: "/cosmos.orm.module.v1alpha1.Module",
|
|
29
|
+
aminoType: "cosmos-sdk/Module",
|
|
30
|
+
is(o: any): o is Module {
|
|
31
|
+
return o && o.$typeUrl === Module.typeUrl;
|
|
32
|
+
},
|
|
33
|
+
isAmino(o: any): o is ModuleAmino {
|
|
34
|
+
return o && o.$typeUrl === Module.typeUrl;
|
|
35
|
+
},
|
|
36
|
+
encode(_: Module, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
37
|
+
return writer;
|
|
38
|
+
},
|
|
39
|
+
decode(input: BinaryReader | Uint8Array, length?: number): Module {
|
|
40
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
41
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
42
|
+
const message = createBaseModule();
|
|
43
|
+
while (reader.pos < end) {
|
|
44
|
+
const tag = reader.uint32();
|
|
45
|
+
switch (tag >>> 3) {
|
|
46
|
+
default:
|
|
47
|
+
reader.skipType(tag & 7);
|
|
48
|
+
break;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
return message;
|
|
52
|
+
},
|
|
53
|
+
fromPartial(_: DeepPartial<Module>): Module {
|
|
54
|
+
const message = createBaseModule();
|
|
55
|
+
return message;
|
|
56
|
+
},
|
|
57
|
+
fromAmino(_: ModuleAmino): Module {
|
|
58
|
+
const message = createBaseModule();
|
|
59
|
+
return message;
|
|
60
|
+
},
|
|
61
|
+
toAmino(_: Module): ModuleAmino {
|
|
62
|
+
const obj: any = {};
|
|
63
|
+
return obj;
|
|
64
|
+
},
|
|
65
|
+
fromAminoMsg(object: ModuleAminoMsg): Module {
|
|
66
|
+
return Module.fromAmino(object.value);
|
|
67
|
+
},
|
|
68
|
+
toAminoMsg(message: Module): ModuleAminoMsg {
|
|
69
|
+
return {
|
|
70
|
+
type: "cosmos-sdk/Module",
|
|
71
|
+
value: Module.toAmino(message)
|
|
72
|
+
};
|
|
73
|
+
},
|
|
74
|
+
fromProtoMsg(message: ModuleProtoMsg): Module {
|
|
75
|
+
return Module.decode(message.value);
|
|
76
|
+
},
|
|
77
|
+
toProto(message: Module): Uint8Array {
|
|
78
|
+
return Module.encode(message).finish();
|
|
79
|
+
},
|
|
80
|
+
toProtoMsg(message: Module): ModuleProtoMsg {
|
|
81
|
+
return {
|
|
82
|
+
typeUrl: "/cosmos.orm.module.v1alpha1.Module",
|
|
83
|
+
value: Module.encode(message).finish()
|
|
84
|
+
};
|
|
85
|
+
}
|
|
86
|
+
};
|
|
87
|
+
GlobalDecoderRegistry.register(Module.typeUrl, Module);
|
|
88
|
+
GlobalDecoderRegistry.registerAminoProtoMapping(Module.aminoType, Module.typeUrl);
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { RpcResolver, buildQuery } from "../../../../helper-func-types";
|
|
2
|
+
import { buildUseQuery } from "../../../../react-query";
|
|
3
|
+
import { GetRequest, GetResponse, ListRequest, ListResponse } from "./query";
|
|
4
|
+
export const createGetGet = (clientResolver?: RpcResolver) => buildQuery<GetRequest, GetResponse>({
|
|
5
|
+
encode: GetRequest.encode,
|
|
6
|
+
decode: GetResponse.decode,
|
|
7
|
+
service: "cosmos.orm.query.v1alpha1.Query",
|
|
8
|
+
method: "Get",
|
|
9
|
+
clientResolver
|
|
10
|
+
});
|
|
11
|
+
export const useGetGet = buildUseQuery<GetRequest, GetResponse>({
|
|
12
|
+
builderQueryFn: createGetGet,
|
|
13
|
+
queryKeyPrefix: "GetQuery"
|
|
14
|
+
});
|
|
15
|
+
export const createGetList = (clientResolver?: RpcResolver) => buildQuery<ListRequest, ListResponse>({
|
|
16
|
+
encode: ListRequest.encode,
|
|
17
|
+
decode: ListResponse.decode,
|
|
18
|
+
service: "cosmos.orm.query.v1alpha1.Query",
|
|
19
|
+
method: "List",
|
|
20
|
+
clientResolver
|
|
21
|
+
});
|
|
22
|
+
export const useGetList = buildUseQuery<ListRequest, ListResponse>({
|
|
23
|
+
builderQueryFn: createGetList,
|
|
24
|
+
queryKeyPrefix: "ListQuery"
|
|
25
|
+
});
|