@xpla/xpla-react 1.7.0-beta.0 → 1.7.0-beta.11
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/amino/amino.d.ts +1 -0
- package/amino/amino.js +2 -0
- package/binary.d.ts +130 -0
- package/binary.js +370 -0
- package/cosmos/app/runtime/v1alpha1/module.d.ts +176 -0
- package/cosmos/app/runtime/v1alpha1/module.js +292 -0
- package/cosmos/app/runtime/v2/module.d.ts +231 -0
- package/cosmos/app/runtime/v2/module.js +421 -0
- package/cosmos/app/v1alpha1/config.d.ts +184 -0
- package/cosmos/app/v1alpha1/config.js +298 -0
- package/cosmos/app/v1alpha1/module.d.ts +237 -0
- package/cosmos/app/v1alpha1/module.js +280 -0
- package/cosmos/app/v1alpha1/query.d.ts +69 -0
- package/cosmos/app/v1alpha1/query.js +148 -0
- package/cosmos/app/v1alpha1/query.rpc.func.d.ts +3 -0
- package/cosmos/app/v1alpha1/query.rpc.func.js +14 -0
- package/cosmos/app/v1alpha1/query.rpc.react.d.ts +2 -0
- package/cosmos/app/v1alpha1/query.rpc.react.js +9 -0
- package/cosmos/auth/module/v1/module.d.ts +90 -0
- package/cosmos/auth/module/v1/module.js +202 -0
- package/cosmos/auth/v1beta1/accounts.d.ts +106 -0
- package/cosmos/auth/v1beta1/accounts.js +161 -0
- package/cosmos/auth/v1beta1/auth.d.ts +181 -0
- package/cosmos/auth/v1beta1/auth.js +448 -0
- package/cosmos/auth/v1beta1/genesis.d.ts +43 -0
- package/cosmos/auth/v1beta1/genesis.js +98 -0
- package/cosmos/auth/v1beta1/query.d.ts +830 -0
- package/cosmos/auth/v1beta1/query.js +1558 -0
- package/cosmos/auth/v1beta1/query.rpc.func.d.ts +12 -0
- package/cosmos/auth/v1beta1/query.rpc.func.js +95 -0
- package/cosmos/auth/v1beta1/query.rpc.react.d.ts +11 -0
- package/cosmos/auth/v1beta1/query.rpc.react.js +45 -0
- package/cosmos/auth/v1beta1/tx.d.ts +99 -0
- package/cosmos/auth/v1beta1/tx.js +160 -0
- package/cosmos/auth/v1beta1/tx.registry.d.ts +2 -0
- package/cosmos/auth/v1beta1/tx.registry.js +5 -0
- package/cosmos/auth/v1beta1/tx.rpc.func.d.ts +3 -0
- package/cosmos/auth/v1beta1/tx.rpc.func.js +14 -0
- package/cosmos/auth/v1beta1/tx.rpc.react.d.ts +2 -0
- package/cosmos/auth/v1beta1/tx.rpc.react.js +8 -0
- package/cosmos/authz/module/v1/module.d.ts +33 -0
- package/cosmos/authz/module/v1/module.js +68 -0
- package/cosmos/authz/v1beta1/authz.d.ts +185 -0
- package/cosmos/authz/v1beta1/authz.js +390 -0
- package/cosmos/authz/v1beta1/event.d.ts +88 -0
- package/cosmos/authz/v1beta1/event.js +206 -0
- package/cosmos/authz/v1beta1/genesis.d.ts +36 -0
- package/cosmos/authz/v1beta1/genesis.js +87 -0
- package/cosmos/authz/v1beta1/query.d.ts +238 -0
- package/cosmos/authz/v1beta1/query.js +588 -0
- package/cosmos/authz/v1beta1/query.rpc.func.d.ts +5 -0
- package/cosmos/authz/v1beta1/query.rpc.func.js +32 -0
- package/cosmos/authz/v1beta1/query.rpc.react.d.ts +4 -0
- package/cosmos/authz/v1beta1/query.rpc.react.js +17 -0
- package/cosmos/authz/v1beta1/tx.d.ts +246 -0
- package/cosmos/authz/v1beta1/tx.js +512 -0
- package/cosmos/authz/v1beta1/tx.registry.d.ts +2 -0
- package/cosmos/authz/v1beta1/tx.registry.js +5 -0
- package/cosmos/authz/v1beta1/tx.rpc.func.d.ts +5 -0
- package/cosmos/authz/v1beta1/tx.rpc.func.js +30 -0
- package/cosmos/authz/v1beta1/tx.rpc.react.d.ts +4 -0
- package/cosmos/authz/v1beta1/tx.rpc.react.js +14 -0
- package/cosmos/autocli/v1/options.d.ts +419 -0
- package/cosmos/autocli/v1/options.js +842 -0
- package/cosmos/autocli/v1/query.d.ts +100 -0
- package/cosmos/autocli/v1/query.js +239 -0
- package/cosmos/autocli/v1/query.rpc.func.d.ts +3 -0
- package/cosmos/autocli/v1/query.rpc.func.js +14 -0
- package/cosmos/autocli/v1/query.rpc.react.d.ts +2 -0
- package/cosmos/autocli/v1/query.rpc.react.js +9 -0
- package/cosmos/bank/module/v1/module.d.ts +63 -0
- package/cosmos/bank/module/v1/module.js +111 -0
- package/cosmos/bank/v1beta1/authz.d.ts +60 -0
- package/cosmos/bank/v1beta1/authz.js +105 -0
- package/cosmos/bank/v1beta1/bank.d.ts +378 -0
- package/cosmos/bank/v1beta1/bank.js +731 -0
- package/cosmos/bank/v1beta1/genesis.d.ts +114 -0
- package/cosmos/bank/v1beta1/genesis.js +243 -0
- package/cosmos/bank/v1beta1/query.d.ts +1186 -0
- package/cosmos/bank/v1beta1/query.js +2338 -0
- package/cosmos/bank/v1beta1/query.rpc.func.d.ts +15 -0
- package/cosmos/bank/v1beta1/query.rpc.func.js +122 -0
- package/cosmos/bank/v1beta1/query.rpc.react.d.ts +14 -0
- package/cosmos/bank/v1beta1/query.rpc.react.js +57 -0
- package/cosmos/bank/v1beta1/tx.d.ts +350 -0
- package/cosmos/bank/v1beta1/tx.js +666 -0
- package/cosmos/bank/v1beta1/tx.registry.d.ts +2 -0
- package/cosmos/bank/v1beta1/tx.registry.js +5 -0
- package/cosmos/bank/v1beta1/tx.rpc.func.d.ts +6 -0
- package/cosmos/bank/v1beta1/tx.rpc.func.js +38 -0
- package/cosmos/bank/v1beta1/tx.rpc.react.d.ts +5 -0
- package/cosmos/bank/v1beta1/tx.rpc.react.js +17 -0
- package/cosmos/base/abci/v1beta1/abci.d.ts +610 -0
- package/cosmos/base/abci/v1beta1/abci.js +1294 -0
- package/cosmos/base/grpc/v2/service.d.ts +168 -0
- package/cosmos/base/grpc/v2/service.js +394 -0
- package/cosmos/base/grpc/v2/service.rpc.func.d.ts +4 -0
- package/cosmos/base/grpc/v2/service.rpc.func.js +23 -0
- package/cosmos/base/grpc/v2/service.rpc.react.d.ts +3 -0
- package/cosmos/base/grpc/v2/service.rpc.react.js +13 -0
- package/cosmos/base/node/v1beta1/query.d.ts +154 -0
- package/cosmos/base/node/v1beta1/query.js +372 -0
- package/cosmos/base/node/v1beta1/query.rpc.func.d.ts +4 -0
- package/cosmos/base/node/v1beta1/query.rpc.func.js +23 -0
- package/cosmos/base/node/v1beta1/query.rpc.react.d.ts +3 -0
- package/cosmos/base/node/v1beta1/query.rpc.react.js +13 -0
- package/cosmos/base/query/v1beta1/pagination.d.ts +178 -0
- package/cosmos/base/query/v1beta1/pagination.js +219 -0
- package/cosmos/base/reflection/v1beta1/reflection.d.ts +148 -0
- package/cosmos/base/reflection/v1beta1/reflection.js +305 -0
- package/cosmos/base/reflection/v1beta1/reflection.rpc.func.d.ts +4 -0
- package/cosmos/base/reflection/v1beta1/reflection.rpc.func.js +23 -0
- package/cosmos/base/reflection/v1beta1/reflection.rpc.react.d.ts +3 -0
- package/cosmos/base/reflection/v1beta1/reflection.rpc.react.js +13 -0
- package/cosmos/base/reflection/v2alpha1/reflection.d.ts +1034 -0
- package/cosmos/base/reflection/v2alpha1/reflection.js +2164 -0
- package/cosmos/base/reflection/v2alpha1/reflection.rpc.func.d.ts +8 -0
- package/cosmos/base/reflection/v2alpha1/reflection.rpc.func.js +59 -0
- package/cosmos/base/reflection/v2alpha1/reflection.rpc.react.d.ts +7 -0
- package/cosmos/base/reflection/v2alpha1/reflection.rpc.react.js +29 -0
- package/cosmos/base/tendermint/v1beta1/query.d.ts +759 -0
- package/cosmos/base/tendermint/v1beta1/query.js +1894 -0
- package/cosmos/base/tendermint/v1beta1/query.rpc.func.d.ts +9 -0
- package/cosmos/base/tendermint/v1beta1/query.rpc.func.js +68 -0
- package/cosmos/base/tendermint/v1beta1/query.rpc.react.d.ts +8 -0
- package/cosmos/base/tendermint/v1beta1/query.rpc.react.js +33 -0
- package/cosmos/base/tendermint/v1beta1/types.d.ts +139 -0
- package/cosmos/base/tendermint/v1beta1/types.js +363 -0
- package/cosmos/base/v1beta1/coin.d.ts +170 -0
- package/cosmos/base/v1beta1/coin.js +337 -0
- package/cosmos/circuit/module/v1/module.d.ts +36 -0
- package/cosmos/circuit/module/v1/module.js +83 -0
- package/cosmos/circuit/v1/query.d.ts +200 -0
- package/cosmos/circuit/v1/query.js +480 -0
- package/cosmos/circuit/v1/query.rpc.func.d.ts +8 -0
- package/cosmos/circuit/v1/query.rpc.func.js +42 -0
- package/cosmos/circuit/v1/tx.d.ts +251 -0
- package/cosmos/circuit/v1/tx.js +528 -0
- package/cosmos/circuit/v1/tx.registry.d.ts +47 -0
- package/cosmos/circuit/v1/tx.registry.js +67 -0
- package/cosmos/circuit/v1/tx.rpc.func.d.ts +8 -0
- package/cosmos/circuit/v1/tx.rpc.func.js +37 -0
- package/cosmos/circuit/v1/types.d.ts +151 -0
- package/cosmos/circuit/v1/types.js +350 -0
- package/cosmos/consensus/module/v1/module.d.ts +37 -0
- package/cosmos/consensus/module/v1/module.js +81 -0
- package/cosmos/consensus/v1/query.d.ts +77 -0
- package/cosmos/consensus/v1/query.js +148 -0
- package/cosmos/consensus/v1/query.rpc.func.d.ts +3 -0
- package/cosmos/consensus/v1/query.rpc.func.js +14 -0
- package/cosmos/consensus/v1/query.rpc.react.d.ts +2 -0
- package/cosmos/consensus/v1/query.rpc.react.js +9 -0
- package/cosmos/consensus/v1/tx.d.ts +99 -0
- package/cosmos/consensus/v1/tx.js +199 -0
- package/cosmos/consensus/v1/tx.registry.d.ts +2 -0
- package/cosmos/consensus/v1/tx.registry.js +5 -0
- package/cosmos/consensus/v1/tx.rpc.func.d.ts +3 -0
- package/cosmos/consensus/v1/tx.rpc.func.js +14 -0
- package/cosmos/consensus/v1/tx.rpc.react.d.ts +2 -0
- package/cosmos/consensus/v1/tx.rpc.react.js +8 -0
- package/cosmos/crisis/module/v1/module.d.ts +40 -0
- package/cosmos/crisis/module/v1/module.js +95 -0
- package/cosmos/crisis/v1beta1/genesis.d.ts +43 -0
- package/cosmos/crisis/v1beta1/genesis.js +84 -0
- package/cosmos/crisis/v1beta1/tx.d.ts +161 -0
- package/cosmos/crisis/v1beta1/tx.js +328 -0
- package/cosmos/crisis/v1beta1/tx.registry.d.ts +35 -0
- package/cosmos/crisis/v1beta1/tx.registry.js +49 -0
- package/cosmos/crisis/v1beta1/tx.rpc.func.d.ts +6 -0
- package/cosmos/crisis/v1beta1/tx.rpc.func.js +27 -0
- package/cosmos/crypto/ed25519/keys.d.ts +84 -0
- package/cosmos/crypto/ed25519/keys.js +162 -0
- package/cosmos/crypto/hd/v1/hd.d.ts +58 -0
- package/cosmos/crypto/hd/v1/hd.js +131 -0
- package/cosmos/crypto/keyring/v1/record.d.ts +188 -0
- package/cosmos/crypto/keyring/v1/record.js +431 -0
- package/cosmos/crypto/multisig/keys.d.ts +45 -0
- package/cosmos/crypto/multisig/keys.js +99 -0
- package/cosmos/crypto/multisig/v1beta1/multisig.d.ts +88 -0
- package/cosmos/crypto/multisig/v1beta1/multisig.js +174 -0
- package/cosmos/crypto/secp256k1/keys.d.ts +78 -0
- package/cosmos/crypto/secp256k1/keys.js +162 -0
- package/cosmos/crypto/secp256r1/keys.d.ts +76 -0
- package/cosmos/crypto/secp256r1/keys.js +162 -0
- package/cosmos/distribution/module/v1/module.d.ts +39 -0
- package/cosmos/distribution/module/v1/module.js +93 -0
- package/cosmos/distribution/v1beta1/distribution.d.ts +553 -0
- package/cosmos/distribution/v1beta1/distribution.js +1168 -0
- package/cosmos/distribution/v1beta1/genesis.d.ts +384 -0
- package/cosmos/distribution/v1beta1/genesis.js +908 -0
- package/cosmos/distribution/v1beta1/query.d.ts +823 -0
- package/cosmos/distribution/v1beta1/query.js +1661 -0
- package/cosmos/distribution/v1beta1/query.rpc.func.d.ts +12 -0
- package/cosmos/distribution/v1beta1/query.rpc.func.js +95 -0
- package/cosmos/distribution/v1beta1/query.rpc.react.d.ts +11 -0
- package/cosmos/distribution/v1beta1/query.rpc.react.js +45 -0
- package/cosmos/distribution/v1beta1/tx.d.ts +592 -0
- package/cosmos/distribution/v1beta1/tx.js +1142 -0
- package/cosmos/distribution/v1beta1/tx.registry.d.ts +2 -0
- package/cosmos/distribution/v1beta1/tx.registry.js +5 -0
- package/cosmos/distribution/v1beta1/tx.rpc.func.d.ts +9 -0
- package/cosmos/distribution/v1beta1/tx.rpc.func.js +62 -0
- package/cosmos/distribution/v1beta1/tx.rpc.react.d.ts +8 -0
- package/cosmos/distribution/v1beta1/tx.rpc.react.js +26 -0
- package/cosmos/evidence/module/v1/module.d.ts +33 -0
- package/cosmos/evidence/module/v1/module.js +68 -0
- package/cosmos/evidence/v1beta1/evidence.d.ts +55 -0
- package/cosmos/evidence/v1beta1/evidence.js +119 -0
- package/cosmos/evidence/v1beta1/genesis.d.ts +38 -0
- package/cosmos/evidence/v1beta1/genesis.js +85 -0
- package/cosmos/evidence/v1beta1/query.d.ts +180 -0
- package/cosmos/evidence/v1beta1/query.js +346 -0
- package/cosmos/evidence/v1beta1/query.rpc.func.d.ts +4 -0
- package/cosmos/evidence/v1beta1/query.rpc.func.js +23 -0
- package/cosmos/evidence/v1beta1/query.rpc.react.d.ts +3 -0
- package/cosmos/evidence/v1beta1/query.rpc.react.js +13 -0
- package/cosmos/evidence/v1beta1/tx.d.ts +86 -0
- package/cosmos/evidence/v1beta1/tx.js +173 -0
- package/cosmos/evidence/v1beta1/tx.registry.d.ts +2 -0
- package/cosmos/evidence/v1beta1/tx.registry.js +5 -0
- package/cosmos/evidence/v1beta1/tx.rpc.func.d.ts +3 -0
- package/cosmos/evidence/v1beta1/tx.rpc.func.js +14 -0
- package/cosmos/evidence/v1beta1/tx.rpc.react.d.ts +2 -0
- package/cosmos/evidence/v1beta1/tx.rpc.react.js +8 -0
- package/cosmos/feegrant/module/v1/module.d.ts +33 -0
- package/cosmos/feegrant/module/v1/module.js +68 -0
- package/cosmos/feegrant/v1beta1/feegrant.d.ts +223 -0
- package/cosmos/feegrant/v1beta1/feegrant.js +445 -0
- package/cosmos/feegrant/v1beta1/genesis.d.ts +36 -0
- package/cosmos/feegrant/v1beta1/genesis.js +87 -0
- package/cosmos/feegrant/v1beta1/query.d.ts +246 -0
- package/cosmos/feegrant/v1beta1/query.js +546 -0
- package/cosmos/feegrant/v1beta1/query.rpc.func.d.ts +5 -0
- package/cosmos/feegrant/v1beta1/query.rpc.func.js +32 -0
- package/cosmos/feegrant/v1beta1/query.rpc.react.d.ts +4 -0
- package/cosmos/feegrant/v1beta1/query.rpc.react.js +17 -0
- package/cosmos/feegrant/v1beta1/tx.d.ts +239 -0
- package/cosmos/feegrant/v1beta1/tx.js +470 -0
- package/cosmos/feegrant/v1beta1/tx.registry.d.ts +2 -0
- package/cosmos/feegrant/v1beta1/tx.registry.js +5 -0
- package/cosmos/feegrant/v1beta1/tx.rpc.func.d.ts +5 -0
- package/cosmos/feegrant/v1beta1/tx.rpc.func.js +30 -0
- package/cosmos/feegrant/v1beta1/tx.rpc.react.d.ts +4 -0
- package/cosmos/feegrant/v1beta1/tx.rpc.react.js +14 -0
- package/cosmos/genutil/module/v1/module.d.ts +32 -0
- package/cosmos/genutil/module/v1/module.js +70 -0
- package/cosmos/genutil/v1beta1/genesis.d.ts +36 -0
- package/cosmos/genutil/v1beta1/genesis.js +87 -0
- package/cosmos/gov/module/v1/module.d.ts +47 -0
- package/cosmos/gov/module/v1/module.js +93 -0
- package/cosmos/gov/v1/genesis.d.ts +116 -0
- package/cosmos/gov/v1/genesis.js +195 -0
- package/cosmos/gov/v1/gov.d.ts +705 -0
- package/cosmos/gov/v1/gov.js +1364 -0
- package/cosmos/gov/v1/query.d.ts +724 -0
- package/cosmos/gov/v1/query.js +1573 -0
- package/cosmos/gov/v1/query.rpc.func.d.ts +11 -0
- package/cosmos/gov/v1/query.rpc.func.js +86 -0
- package/cosmos/gov/v1/query.rpc.react.d.ts +10 -0
- package/cosmos/gov/v1/query.rpc.react.js +41 -0
- package/cosmos/gov/v1/tx.d.ts +640 -0
- package/cosmos/gov/v1/tx.js +1298 -0
- package/cosmos/gov/v1/tx.registry.d.ts +2 -0
- package/cosmos/gov/v1/tx.registry.js +5 -0
- package/cosmos/gov/v1/tx.rpc.func.d.ts +9 -0
- package/cosmos/gov/v1/tx.rpc.func.js +62 -0
- package/cosmos/gov/v1/tx.rpc.react.d.ts +8 -0
- package/cosmos/gov/v1/tx.rpc.react.js +26 -0
- package/cosmos/gov/v1beta1/genesis.d.ts +62 -0
- package/cosmos/gov/v1beta1/genesis.js +170 -0
- package/cosmos/gov/v1beta1/gov.d.ts +533 -0
- package/cosmos/gov/v1beta1/gov.js +1143 -0
- package/cosmos/gov/v1beta1/query.d.ts +622 -0
- package/cosmos/gov/v1beta1/query.js +1419 -0
- package/cosmos/gov/v1beta1/query.rpc.func.d.ts +10 -0
- package/cosmos/gov/v1beta1/query.rpc.func.js +77 -0
- package/cosmos/gov/v1beta1/query.rpc.react.d.ts +9 -0
- package/cosmos/gov/v1beta1/query.rpc.react.js +37 -0
- package/cosmos/gov/v1beta1/tx.d.ts +335 -0
- package/cosmos/gov/v1beta1/tx.js +722 -0
- package/cosmos/gov/v1beta1/tx.registry.d.ts +2 -0
- package/cosmos/gov/v1beta1/tx.registry.js +5 -0
- package/cosmos/gov/v1beta1/tx.rpc.func.d.ts +6 -0
- package/cosmos/gov/v1beta1/tx.rpc.func.js +38 -0
- package/cosmos/gov/v1beta1/tx.rpc.react.d.ts +5 -0
- package/cosmos/gov/v1beta1/tx.rpc.react.js +17 -0
- package/cosmos/group/module/v1/module.d.ts +53 -0
- package/cosmos/group/module/v1/module.js +96 -0
- package/cosmos/group/v1/events.d.ts +363 -0
- package/cosmos/group/v1/events.js +847 -0
- package/cosmos/group/v1/genesis.d.ts +83 -0
- package/cosmos/group/v1/genesis.js +183 -0
- package/cosmos/group/v1/query.d.ts +1044 -0
- package/cosmos/group/v1/query.js +2434 -0
- package/cosmos/group/v1/query.rpc.func.d.ts +30 -0
- package/cosmos/group/v1/query.rpc.func.js +174 -0
- package/cosmos/group/v1/tx.d.ts +1140 -0
- package/cosmos/group/v1/tx.js +2567 -0
- package/cosmos/group/v1/tx.registry.d.ts +179 -0
- package/cosmos/group/v1/tx.registry.js +265 -0
- package/cosmos/group/v1/tx.rpc.func.d.ts +30 -0
- package/cosmos/group/v1/tx.rpc.func.js +147 -0
- package/cosmos/group/v1/types.d.ts +799 -0
- package/cosmos/group/v1/types.js +1542 -0
- package/cosmos/ics23/v1/proofs.d.ts +743 -0
- package/cosmos/ics23/v1/proofs.js +1619 -0
- package/cosmos/mint/module/v1/module.d.ts +39 -0
- package/cosmos/mint/module/v1/module.js +93 -0
- package/cosmos/mint/v1beta1/genesis.d.ts +42 -0
- package/cosmos/mint/v1beta1/genesis.js +97 -0
- package/cosmos/mint/v1beta1/mint.d.ts +96 -0
- package/cosmos/mint/v1beta1/mint.js +231 -0
- package/cosmos/mint/v1beta1/query.d.ts +219 -0
- package/cosmos/mint/v1beta1/query.js +431 -0
- package/cosmos/mint/v1beta1/query.rpc.func.d.ts +5 -0
- package/cosmos/mint/v1beta1/query.rpc.func.js +32 -0
- package/cosmos/mint/v1beta1/query.rpc.react.d.ts +4 -0
- package/cosmos/mint/v1beta1/query.rpc.react.js +17 -0
- package/cosmos/mint/v1beta1/tx.d.ts +99 -0
- package/cosmos/mint/v1beta1/tx.js +160 -0
- package/cosmos/mint/v1beta1/tx.registry.d.ts +2 -0
- package/cosmos/mint/v1beta1/tx.registry.js +5 -0
- package/cosmos/mint/v1beta1/tx.rpc.func.d.ts +3 -0
- package/cosmos/mint/v1beta1/tx.rpc.func.js +14 -0
- package/cosmos/mint/v1beta1/tx.rpc.react.d.ts +2 -0
- package/cosmos/mint/v1beta1/tx.rpc.react.js +8 -0
- package/cosmos/msg/textual/v1/textual.d.ts +1 -0
- package/cosmos/msg/textual/v1/textual.js +2 -0
- package/cosmos/msg/v1/msg.d.ts +1 -0
- package/cosmos/msg/v1/msg.js +2 -0
- package/cosmos/nft/module/v1/module.d.ts +32 -0
- package/cosmos/nft/module/v1/module.js +70 -0
- package/cosmos/nft/v1beta1/event.d.ts +132 -0
- package/cosmos/nft/v1beta1/event.js +323 -0
- package/cosmos/nft/v1beta1/genesis.d.ts +79 -0
- package/cosmos/nft/v1beta1/genesis.js +195 -0
- package/cosmos/nft/v1beta1/nft.d.ts +111 -0
- package/cosmos/nft/v1beta1/nft.js +282 -0
- package/cosmos/nft/v1beta1/query.d.ts +508 -0
- package/cosmos/nft/v1beta1/query.js +1189 -0
- package/cosmos/nft/v1beta1/query.rpc.func.d.ts +16 -0
- package/cosmos/nft/v1beta1/query.rpc.func.js +90 -0
- package/cosmos/nft/v1beta1/tx.d.ts +78 -0
- package/cosmos/nft/v1beta1/tx.js +184 -0
- package/cosmos/nft/v1beta1/tx.registry.d.ts +23 -0
- package/cosmos/nft/v1beta1/tx.registry.js +31 -0
- package/cosmos/nft/v1beta1/tx.rpc.func.d.ts +4 -0
- package/cosmos/nft/v1beta1/tx.rpc.func.js +17 -0
- package/cosmos/orm/module/v1alpha1/module.d.ts +40 -0
- package/cosmos/orm/module/v1alpha1/module.js +70 -0
- package/cosmos/orm/query/v1alpha1/query.d.ts +367 -0
- package/cosmos/orm/query/v1alpha1/query.js +751 -0
- package/cosmos/orm/query/v1alpha1/query.rpc.func.d.ts +6 -0
- package/cosmos/orm/query/v1alpha1/query.rpc.func.js +30 -0
- package/cosmos/orm/v1/orm.d.ts +278 -0
- package/cosmos/orm/v1/orm.js +380 -0
- package/cosmos/orm/v1alpha1/schema.d.ts +134 -0
- package/cosmos/orm/v1alpha1/schema.js +258 -0
- package/cosmos/params/module/v1/module.d.ts +33 -0
- package/cosmos/params/module/v1/module.js +68 -0
- package/cosmos/params/v1beta1/params.d.ts +82 -0
- package/cosmos/params/v1beta1/params.js +214 -0
- package/cosmos/params/v1beta1/query.d.ts +206 -0
- package/cosmos/params/v1beta1/query.js +411 -0
- package/cosmos/params/v1beta1/query.rpc.func.d.ts +4 -0
- package/cosmos/params/v1beta1/query.rpc.func.js +23 -0
- package/cosmos/params/v1beta1/query.rpc.react.d.ts +3 -0
- package/cosmos/params/v1beta1/query.rpc.react.js +13 -0
- package/cosmos/query/v1/query.d.ts +1 -0
- package/cosmos/query/v1/query.js +2 -0
- package/cosmos/reflection/v1/reflection.d.ts +67 -0
- package/cosmos/reflection/v1/reflection.js +152 -0
- package/cosmos/reflection/v1/reflection.rpc.func.d.ts +4 -0
- package/cosmos/reflection/v1/reflection.rpc.func.js +18 -0
- package/cosmos/slashing/module/v1/module.d.ts +37 -0
- package/cosmos/slashing/module/v1/module.js +81 -0
- package/cosmos/slashing/v1beta1/genesis.d.ts +181 -0
- package/cosmos/slashing/v1beta1/genesis.js +390 -0
- package/cosmos/slashing/v1beta1/query.d.ts +232 -0
- package/cosmos/slashing/v1beta1/query.js +479 -0
- package/cosmos/slashing/v1beta1/query.rpc.func.d.ts +5 -0
- package/cosmos/slashing/v1beta1/query.rpc.func.js +32 -0
- package/cosmos/slashing/v1beta1/query.rpc.react.d.ts +4 -0
- package/cosmos/slashing/v1beta1/query.rpc.react.js +17 -0
- package/cosmos/slashing/v1beta1/slashing.d.ts +125 -0
- package/cosmos/slashing/v1beta1/slashing.js +269 -0
- package/cosmos/slashing/v1beta1/tx.d.ts +163 -0
- package/cosmos/slashing/v1beta1/tx.js +301 -0
- package/cosmos/slashing/v1beta1/tx.registry.d.ts +2 -0
- package/cosmos/slashing/v1beta1/tx.registry.js +5 -0
- package/cosmos/slashing/v1beta1/tx.rpc.func.d.ts +4 -0
- package/cosmos/slashing/v1beta1/tx.rpc.func.js +22 -0
- package/cosmos/slashing/v1beta1/tx.rpc.react.d.ts +3 -0
- package/cosmos/slashing/v1beta1/tx.rpc.react.js +11 -0
- package/cosmos/staking/module/v1/module.d.ts +57 -0
- package/cosmos/staking/module/v1/module.js +120 -0
- package/cosmos/staking/v1beta1/authz.d.ts +124 -0
- package/cosmos/staking/v1beta1/authz.js +267 -0
- package/cosmos/staking/v1beta1/genesis.d.ts +117 -0
- package/cosmos/staking/v1beta1/genesis.js +278 -0
- package/cosmos/staking/v1beta1/query.d.ts +1152 -0
- package/cosmos/staking/v1beta1/query.js +2434 -0
- package/cosmos/staking/v1beta1/query.rpc.func.d.ts +16 -0
- package/cosmos/staking/v1beta1/query.rpc.func.js +131 -0
- package/cosmos/staking/v1beta1/query.rpc.react.d.ts +15 -0
- package/cosmos/staking/v1beta1/query.rpc.react.js +61 -0
- package/cosmos/staking/v1beta1/staking.d.ts +1045 -0
- package/cosmos/staking/v1beta1/staking.js +2377 -0
- package/cosmos/staking/v1beta1/tx.d.ts +604 -0
- package/cosmos/staking/v1beta1/tx.js +1293 -0
- package/cosmos/staking/v1beta1/tx.registry.d.ts +2 -0
- package/cosmos/staking/v1beta1/tx.registry.js +5 -0
- package/cosmos/staking/v1beta1/tx.rpc.func.d.ts +9 -0
- package/cosmos/staking/v1beta1/tx.rpc.func.js +62 -0
- package/cosmos/staking/v1beta1/tx.rpc.react.d.ts +8 -0
- package/cosmos/staking/v1beta1/tx.rpc.react.js +26 -0
- package/cosmos/store/internal/kv/v1beta1/kv.d.ts +68 -0
- package/cosmos/store/internal/kv/v1beta1/kv.js +177 -0
- package/cosmos/store/snapshots/v1/snapshot.d.ts +294 -0
- package/cosmos/store/snapshots/v1/snapshot.js +687 -0
- package/cosmos/store/snapshots/v2/snapshot.d.ts +254 -0
- package/cosmos/store/snapshots/v2/snapshot.js +687 -0
- package/cosmos/store/streaming/abci/grpc.d.ts +136 -0
- package/cosmos/store/streaming/abci/grpc.js +332 -0
- package/cosmos/store/v1beta1/commit_info.d.ts +124 -0
- package/cosmos/store/v1beta1/commit_info.js +292 -0
- package/cosmos/store/v1beta1/listening.d.ts +101 -0
- package/cosmos/store/v1beta1/listening.js +223 -0
- package/cosmos/streaming/v1/grpc.d.ts +302 -0
- package/cosmos/streaming/v1/grpc.js +826 -0
- package/cosmos/tx/config/v1/config.d.ts +53 -0
- package/cosmos/tx/config/v1/config.js +93 -0
- package/cosmos/tx/signing/v1beta1/signing.d.ts +275 -0
- package/cosmos/tx/signing/v1beta1/signing.js +574 -0
- package/cosmos/tx/v1beta1/service.d.ts +934 -0
- package/cosmos/tx/v1beta1/service.js +1737 -0
- package/cosmos/tx/v1beta1/service.rpc.func.d.ts +11 -0
- package/cosmos/tx/v1beta1/service.rpc.func.js +86 -0
- package/cosmos/tx/v1beta1/service.rpc.react.d.ts +10 -0
- package/cosmos/tx/v1beta1/service.rpc.react.js +41 -0
- package/cosmos/tx/v1beta1/tx.d.ts +869 -0
- package/cosmos/tx/v1beta1/tx.js +1407 -0
- package/cosmos/upgrade/module/v1/module.d.ts +37 -0
- package/cosmos/upgrade/module/v1/module.js +81 -0
- package/cosmos/upgrade/v1beta1/query.d.ts +433 -0
- package/cosmos/upgrade/v1beta1/query.js +757 -0
- package/cosmos/upgrade/v1beta1/query.rpc.func.d.ts +7 -0
- package/cosmos/upgrade/v1beta1/query.rpc.func.js +50 -0
- package/cosmos/upgrade/v1beta1/query.rpc.react.d.ts +6 -0
- package/cosmos/upgrade/v1beta1/query.rpc.react.js +25 -0
- package/cosmos/upgrade/v1beta1/tx.d.ts +171 -0
- package/cosmos/upgrade/v1beta1/tx.js +301 -0
- package/cosmos/upgrade/v1beta1/tx.registry.d.ts +2 -0
- package/cosmos/upgrade/v1beta1/tx.registry.js +5 -0
- package/cosmos/upgrade/v1beta1/tx.rpc.func.d.ts +4 -0
- package/cosmos/upgrade/v1beta1/tx.rpc.func.js +22 -0
- package/cosmos/upgrade/v1beta1/tx.rpc.react.d.ts +3 -0
- package/cosmos/upgrade/v1beta1/tx.rpc.react.js +11 -0
- package/cosmos/upgrade/v1beta1/upgrade.d.ts +249 -0
- package/cosmos/upgrade/v1beta1/upgrade.js +419 -0
- package/cosmos/validate/module/v1/module.d.ts +32 -0
- package/cosmos/validate/module/v1/module.js +70 -0
- package/cosmos/vesting/module/v1/module.d.ts +32 -0
- package/cosmos/vesting/module/v1/module.js +70 -0
- package/cosmos/vesting/v1beta1/tx.d.ts +256 -0
- package/cosmos/vesting/v1beta1/tx.js +553 -0
- package/cosmos/vesting/v1beta1/tx.registry.d.ts +47 -0
- package/cosmos/vesting/v1beta1/tx.registry.js +67 -0
- package/cosmos/vesting/v1beta1/tx.rpc.func.d.ts +8 -0
- package/cosmos/vesting/v1beta1/tx.rpc.func.js +37 -0
- package/cosmos/vesting/v1beta1/vesting.d.ts +256 -0
- package/cosmos/vesting/v1beta1/vesting.js +586 -0
- package/cosmos_proto/cosmos.d.ts +155 -0
- package/cosmos_proto/cosmos.js +233 -0
- package/cosmwasm/wasm/v1/authz.d.ts +511 -0
- package/cosmwasm/wasm/v1/authz.js +951 -0
- package/cosmwasm/wasm/v1/genesis.d.ts +157 -0
- package/cosmwasm/wasm/v1/genesis.js +460 -0
- package/cosmwasm/wasm/v1/ibc.d.ts +166 -0
- package/cosmwasm/wasm/v1/ibc.js +336 -0
- package/cosmwasm/wasm/v1/proposal_legacy.d.ts +885 -0
- package/cosmwasm/wasm/v1/proposal_legacy.js +1816 -0
- package/cosmwasm/wasm/v1/query.d.ts +1045 -0
- package/cosmwasm/wasm/v1/query.js +2223 -0
- package/cosmwasm/wasm/v1/query.rpc.func.d.ts +14 -0
- package/cosmwasm/wasm/v1/query.rpc.func.js +113 -0
- package/cosmwasm/wasm/v1/query.rpc.react.d.ts +13 -0
- package/cosmwasm/wasm/v1/query.rpc.react.js +53 -0
- package/cosmwasm/wasm/v1/tx.d.ts +1568 -0
- package/cosmwasm/wasm/v1/tx.js +3218 -0
- package/cosmwasm/wasm/v1/tx.registry.d.ts +2 -0
- package/cosmwasm/wasm/v1/tx.registry.js +5 -0
- package/cosmwasm/wasm/v1/tx.rpc.func.d.ts +19 -0
- package/cosmwasm/wasm/v1/tx.rpc.func.js +142 -0
- package/cosmwasm/wasm/v1/tx.rpc.react.d.ts +18 -0
- package/cosmwasm/wasm/v1/tx.rpc.react.js +56 -0
- package/cosmwasm/wasm/v1/types.d.ts +382 -0
- package/cosmwasm/wasm/v1/types.js +915 -0
- package/esm/amino/amino.js +1 -0
- package/esm/binary.js +365 -0
- package/esm/cosmos/app/runtime/v1alpha1/module.js +289 -0
- package/esm/cosmos/app/runtime/v2/module.js +418 -0
- package/esm/cosmos/app/v1alpha1/config.js +295 -0
- package/esm/cosmos/app/v1alpha1/module.js +277 -0
- package/esm/cosmos/app/v1alpha1/query.js +145 -0
- package/esm/cosmos/app/v1alpha1/query.rpc.func.js +10 -0
- package/esm/cosmos/app/v1alpha1/query.rpc.react.js +6 -0
- package/esm/cosmos/auth/module/v1/module.js +199 -0
- package/esm/cosmos/auth/v1beta1/accounts.js +158 -0
- package/esm/cosmos/auth/v1beta1/auth.js +445 -0
- package/esm/cosmos/auth/v1beta1/genesis.js +95 -0
- package/esm/cosmos/auth/v1beta1/query.js +1555 -0
- package/esm/cosmos/auth/v1beta1/query.rpc.func.js +82 -0
- package/esm/cosmos/auth/v1beta1/query.rpc.react.js +42 -0
- package/esm/cosmos/auth/v1beta1/tx.js +157 -0
- package/esm/cosmos/auth/v1beta1/tx.registry.js +2 -0
- package/esm/cosmos/auth/v1beta1/tx.rpc.func.js +10 -0
- package/esm/cosmos/auth/v1beta1/tx.rpc.react.js +5 -0
- package/esm/cosmos/authz/module/v1/module.js +65 -0
- package/esm/cosmos/authz/v1beta1/authz.js +387 -0
- package/esm/cosmos/authz/v1beta1/event.js +203 -0
- package/esm/cosmos/authz/v1beta1/genesis.js +84 -0
- package/esm/cosmos/authz/v1beta1/query.js +585 -0
- package/esm/cosmos/authz/v1beta1/query.rpc.func.js +26 -0
- package/esm/cosmos/authz/v1beta1/query.rpc.react.js +14 -0
- package/esm/cosmos/authz/v1beta1/tx.js +509 -0
- package/esm/cosmos/authz/v1beta1/tx.registry.js +2 -0
- package/esm/cosmos/authz/v1beta1/tx.rpc.func.js +24 -0
- package/esm/cosmos/authz/v1beta1/tx.rpc.react.js +11 -0
- package/esm/cosmos/autocli/v1/options.js +839 -0
- package/esm/cosmos/autocli/v1/query.js +236 -0
- package/esm/cosmos/autocli/v1/query.rpc.func.js +10 -0
- package/esm/cosmos/autocli/v1/query.rpc.react.js +6 -0
- package/esm/cosmos/bank/module/v1/module.js +108 -0
- package/esm/cosmos/bank/v1beta1/authz.js +102 -0
- package/esm/cosmos/bank/v1beta1/bank.js +728 -0
- package/esm/cosmos/bank/v1beta1/genesis.js +240 -0
- package/esm/cosmos/bank/v1beta1/query.js +2335 -0
- package/esm/cosmos/bank/v1beta1/query.rpc.func.js +106 -0
- package/esm/cosmos/bank/v1beta1/query.rpc.react.js +54 -0
- package/esm/cosmos/bank/v1beta1/tx.js +663 -0
- package/esm/cosmos/bank/v1beta1/tx.registry.js +2 -0
- package/esm/cosmos/bank/v1beta1/tx.rpc.func.js +31 -0
- package/esm/cosmos/bank/v1beta1/tx.rpc.react.js +14 -0
- package/esm/cosmos/base/abci/v1beta1/abci.js +1291 -0
- package/esm/cosmos/base/grpc/v2/service.js +391 -0
- package/esm/cosmos/base/grpc/v2/service.rpc.func.js +18 -0
- package/esm/cosmos/base/grpc/v2/service.rpc.react.js +10 -0
- package/esm/cosmos/base/node/v1beta1/query.js +369 -0
- package/esm/cosmos/base/node/v1beta1/query.rpc.func.js +18 -0
- package/esm/cosmos/base/node/v1beta1/query.rpc.react.js +10 -0
- package/esm/cosmos/base/query/v1beta1/pagination.js +216 -0
- package/esm/cosmos/base/reflection/v1beta1/reflection.js +302 -0
- package/esm/cosmos/base/reflection/v1beta1/reflection.rpc.func.js +18 -0
- package/esm/cosmos/base/reflection/v1beta1/reflection.rpc.react.js +10 -0
- package/esm/cosmos/base/reflection/v2alpha1/reflection.js +2161 -0
- package/esm/cosmos/base/reflection/v2alpha1/reflection.rpc.func.js +50 -0
- package/esm/cosmos/base/reflection/v2alpha1/reflection.rpc.react.js +26 -0
- package/esm/cosmos/base/tendermint/v1beta1/query.js +1891 -0
- package/esm/cosmos/base/tendermint/v1beta1/query.rpc.func.js +58 -0
- package/esm/cosmos/base/tendermint/v1beta1/query.rpc.react.js +30 -0
- package/esm/cosmos/base/tendermint/v1beta1/types.js +360 -0
- package/esm/cosmos/base/v1beta1/coin.js +334 -0
- package/esm/cosmos/circuit/module/v1/module.js +80 -0
- package/esm/cosmos/circuit/v1/query.js +477 -0
- package/esm/cosmos/circuit/v1/query.rpc.func.js +36 -0
- package/esm/cosmos/circuit/v1/tx.js +525 -0
- package/esm/cosmos/circuit/v1/tx.registry.js +64 -0
- package/esm/cosmos/circuit/v1/tx.rpc.func.js +31 -0
- package/esm/cosmos/circuit/v1/types.js +345 -0
- package/esm/cosmos/consensus/module/v1/module.js +78 -0
- package/esm/cosmos/consensus/v1/query.js +145 -0
- package/esm/cosmos/consensus/v1/query.rpc.func.js +10 -0
- package/esm/cosmos/consensus/v1/query.rpc.react.js +6 -0
- package/esm/cosmos/consensus/v1/tx.js +196 -0
- package/esm/cosmos/consensus/v1/tx.registry.js +2 -0
- package/esm/cosmos/consensus/v1/tx.rpc.func.js +10 -0
- package/esm/cosmos/consensus/v1/tx.rpc.react.js +5 -0
- package/esm/cosmos/crisis/module/v1/module.js +92 -0
- package/esm/cosmos/crisis/v1beta1/genesis.js +81 -0
- package/esm/cosmos/crisis/v1beta1/tx.js +325 -0
- package/esm/cosmos/crisis/v1beta1/tx.registry.js +46 -0
- package/esm/cosmos/crisis/v1beta1/tx.rpc.func.js +22 -0
- package/esm/cosmos/crypto/ed25519/keys.js +159 -0
- package/esm/cosmos/crypto/hd/v1/hd.js +128 -0
- package/esm/cosmos/crypto/keyring/v1/record.js +428 -0
- package/esm/cosmos/crypto/multisig/keys.js +96 -0
- package/esm/cosmos/crypto/multisig/v1beta1/multisig.js +171 -0
- package/esm/cosmos/crypto/secp256k1/keys.js +159 -0
- package/esm/cosmos/crypto/secp256r1/keys.js +159 -0
- package/esm/cosmos/distribution/module/v1/module.js +90 -0
- package/esm/cosmos/distribution/v1beta1/distribution.js +1165 -0
- package/esm/cosmos/distribution/v1beta1/genesis.js +905 -0
- package/esm/cosmos/distribution/v1beta1/query.js +1658 -0
- package/esm/cosmos/distribution/v1beta1/query.rpc.func.js +82 -0
- package/esm/cosmos/distribution/v1beta1/query.rpc.react.js +42 -0
- package/esm/cosmos/distribution/v1beta1/tx.js +1139 -0
- package/esm/cosmos/distribution/v1beta1/tx.registry.js +2 -0
- package/esm/cosmos/distribution/v1beta1/tx.rpc.func.js +52 -0
- package/esm/cosmos/distribution/v1beta1/tx.rpc.react.js +23 -0
- package/esm/cosmos/evidence/module/v1/module.js +65 -0
- package/esm/cosmos/evidence/v1beta1/evidence.js +116 -0
- package/esm/cosmos/evidence/v1beta1/genesis.js +82 -0
- package/esm/cosmos/evidence/v1beta1/query.js +343 -0
- package/esm/cosmos/evidence/v1beta1/query.rpc.func.js +18 -0
- package/esm/cosmos/evidence/v1beta1/query.rpc.react.js +10 -0
- package/esm/cosmos/evidence/v1beta1/tx.js +170 -0
- package/esm/cosmos/evidence/v1beta1/tx.registry.js +2 -0
- package/esm/cosmos/evidence/v1beta1/tx.rpc.func.js +10 -0
- package/esm/cosmos/evidence/v1beta1/tx.rpc.react.js +5 -0
- package/esm/cosmos/feegrant/module/v1/module.js +65 -0
- package/esm/cosmos/feegrant/v1beta1/feegrant.js +442 -0
- package/esm/cosmos/feegrant/v1beta1/genesis.js +84 -0
- package/esm/cosmos/feegrant/v1beta1/query.js +543 -0
- package/esm/cosmos/feegrant/v1beta1/query.rpc.func.js +26 -0
- package/esm/cosmos/feegrant/v1beta1/query.rpc.react.js +14 -0
- package/esm/cosmos/feegrant/v1beta1/tx.js +467 -0
- package/esm/cosmos/feegrant/v1beta1/tx.registry.js +2 -0
- package/esm/cosmos/feegrant/v1beta1/tx.rpc.func.js +24 -0
- package/esm/cosmos/feegrant/v1beta1/tx.rpc.react.js +11 -0
- package/esm/cosmos/genutil/module/v1/module.js +67 -0
- package/esm/cosmos/genutil/v1beta1/genesis.js +84 -0
- package/esm/cosmos/gov/module/v1/module.js +90 -0
- package/esm/cosmos/gov/v1/genesis.js +192 -0
- package/esm/cosmos/gov/v1/gov.js +1357 -0
- package/esm/cosmos/gov/v1/query.js +1570 -0
- package/esm/cosmos/gov/v1/query.rpc.func.js +74 -0
- package/esm/cosmos/gov/v1/query.rpc.react.js +38 -0
- package/esm/cosmos/gov/v1/tx.js +1295 -0
- package/esm/cosmos/gov/v1/tx.registry.js +2 -0
- package/esm/cosmos/gov/v1/tx.rpc.func.js +52 -0
- package/esm/cosmos/gov/v1/tx.rpc.react.js +23 -0
- package/esm/cosmos/gov/v1beta1/genesis.js +167 -0
- package/esm/cosmos/gov/v1beta1/gov.js +1136 -0
- package/esm/cosmos/gov/v1beta1/query.js +1416 -0
- package/esm/cosmos/gov/v1beta1/query.rpc.func.js +66 -0
- package/esm/cosmos/gov/v1beta1/query.rpc.react.js +34 -0
- package/esm/cosmos/gov/v1beta1/tx.js +719 -0
- package/esm/cosmos/gov/v1beta1/tx.registry.js +2 -0
- package/esm/cosmos/gov/v1beta1/tx.rpc.func.js +31 -0
- package/esm/cosmos/gov/v1beta1/tx.rpc.react.js +14 -0
- package/esm/cosmos/group/module/v1/module.js +93 -0
- package/esm/cosmos/group/v1/events.js +844 -0
- package/esm/cosmos/group/v1/genesis.js +180 -0
- package/esm/cosmos/group/v1/query.js +2431 -0
- package/esm/cosmos/group/v1/query.rpc.func.js +157 -0
- package/esm/cosmos/group/v1/tx.js +2562 -0
- package/esm/cosmos/group/v1/tx.registry.js +262 -0
- package/esm/cosmos/group/v1/tx.rpc.func.js +130 -0
- package/esm/cosmos/group/v1/types.js +1533 -0
- package/esm/cosmos/ics23/v1/proofs.js +1612 -0
- package/esm/cosmos/mint/module/v1/module.js +90 -0
- package/esm/cosmos/mint/v1beta1/genesis.js +94 -0
- package/esm/cosmos/mint/v1beta1/mint.js +228 -0
- package/esm/cosmos/mint/v1beta1/query.js +428 -0
- package/esm/cosmos/mint/v1beta1/query.rpc.func.js +26 -0
- package/esm/cosmos/mint/v1beta1/query.rpc.react.js +14 -0
- package/esm/cosmos/mint/v1beta1/tx.js +157 -0
- package/esm/cosmos/mint/v1beta1/tx.registry.js +2 -0
- package/esm/cosmos/mint/v1beta1/tx.rpc.func.js +10 -0
- package/esm/cosmos/mint/v1beta1/tx.rpc.react.js +5 -0
- package/esm/cosmos/msg/textual/v1/textual.js +1 -0
- package/esm/cosmos/msg/v1/msg.js +1 -0
- package/esm/cosmos/nft/module/v1/module.js +67 -0
- package/esm/cosmos/nft/v1beta1/event.js +320 -0
- package/esm/cosmos/nft/v1beta1/genesis.js +192 -0
- package/esm/cosmos/nft/v1beta1/nft.js +279 -0
- package/esm/cosmos/nft/v1beta1/query.js +1186 -0
- package/esm/cosmos/nft/v1beta1/query.rpc.func.js +80 -0
- package/esm/cosmos/nft/v1beta1/tx.js +181 -0
- package/esm/cosmos/nft/v1beta1/tx.registry.js +28 -0
- package/esm/cosmos/nft/v1beta1/tx.rpc.func.js +13 -0
- package/esm/cosmos/orm/module/v1alpha1/module.js +67 -0
- package/esm/cosmos/orm/query/v1alpha1/query.js +748 -0
- package/esm/cosmos/orm/query/v1alpha1/query.rpc.func.js +25 -0
- package/esm/cosmos/orm/v1/orm.js +377 -0
- package/esm/cosmos/orm/v1alpha1/schema.js +253 -0
- package/esm/cosmos/params/module/v1/module.js +65 -0
- package/esm/cosmos/params/v1beta1/params.js +211 -0
- package/esm/cosmos/params/v1beta1/query.js +408 -0
- package/esm/cosmos/params/v1beta1/query.rpc.func.js +18 -0
- package/esm/cosmos/params/v1beta1/query.rpc.react.js +10 -0
- package/esm/cosmos/query/v1/query.js +1 -0
- package/esm/cosmos/reflection/v1/reflection.js +149 -0
- package/esm/cosmos/reflection/v1/reflection.rpc.func.js +14 -0
- package/esm/cosmos/slashing/module/v1/module.js +78 -0
- package/esm/cosmos/slashing/v1beta1/genesis.js +387 -0
- package/esm/cosmos/slashing/v1beta1/query.js +476 -0
- package/esm/cosmos/slashing/v1beta1/query.rpc.func.js +26 -0
- package/esm/cosmos/slashing/v1beta1/query.rpc.react.js +14 -0
- package/esm/cosmos/slashing/v1beta1/slashing.js +266 -0
- package/esm/cosmos/slashing/v1beta1/tx.js +298 -0
- package/esm/cosmos/slashing/v1beta1/tx.registry.js +2 -0
- package/esm/cosmos/slashing/v1beta1/tx.rpc.func.js +17 -0
- package/esm/cosmos/slashing/v1beta1/tx.rpc.react.js +8 -0
- package/esm/cosmos/staking/module/v1/module.js +117 -0
- package/esm/cosmos/staking/v1beta1/authz.js +262 -0
- package/esm/cosmos/staking/v1beta1/genesis.js +275 -0
- package/esm/cosmos/staking/v1beta1/query.js +2431 -0
- package/esm/cosmos/staking/v1beta1/query.rpc.func.js +114 -0
- package/esm/cosmos/staking/v1beta1/query.rpc.react.js +58 -0
- package/esm/cosmos/staking/v1beta1/staking.js +2370 -0
- package/esm/cosmos/staking/v1beta1/tx.js +1290 -0
- package/esm/cosmos/staking/v1beta1/tx.registry.js +2 -0
- package/esm/cosmos/staking/v1beta1/tx.rpc.func.js +52 -0
- package/esm/cosmos/staking/v1beta1/tx.rpc.react.js +23 -0
- package/esm/cosmos/store/internal/kv/v1beta1/kv.js +174 -0
- package/esm/cosmos/store/snapshots/v1/snapshot.js +684 -0
- package/esm/cosmos/store/snapshots/v2/snapshot.js +684 -0
- package/esm/cosmos/store/streaming/abci/grpc.js +329 -0
- package/esm/cosmos/store/v1beta1/commit_info.js +289 -0
- package/esm/cosmos/store/v1beta1/listening.js +220 -0
- package/esm/cosmos/streaming/v1/grpc.js +823 -0
- package/esm/cosmos/tx/config/v1/config.js +90 -0
- package/esm/cosmos/tx/signing/v1beta1/signing.js +569 -0
- package/esm/cosmos/tx/v1beta1/service.js +1730 -0
- package/esm/cosmos/tx/v1beta1/service.rpc.func.js +74 -0
- package/esm/cosmos/tx/v1beta1/service.rpc.react.js +38 -0
- package/esm/cosmos/tx/v1beta1/tx.js +1404 -0
- package/esm/cosmos/upgrade/module/v1/module.js +78 -0
- package/esm/cosmos/upgrade/v1beta1/query.js +754 -0
- package/esm/cosmos/upgrade/v1beta1/query.rpc.func.js +42 -0
- package/esm/cosmos/upgrade/v1beta1/query.rpc.react.js +22 -0
- package/esm/cosmos/upgrade/v1beta1/tx.js +298 -0
- package/esm/cosmos/upgrade/v1beta1/tx.registry.js +2 -0
- package/esm/cosmos/upgrade/v1beta1/tx.rpc.func.js +17 -0
- package/esm/cosmos/upgrade/v1beta1/tx.rpc.react.js +8 -0
- package/esm/cosmos/upgrade/v1beta1/upgrade.js +416 -0
- package/esm/cosmos/validate/module/v1/module.js +67 -0
- package/esm/cosmos/vesting/module/v1/module.js +67 -0
- package/esm/cosmos/vesting/v1beta1/tx.js +550 -0
- package/esm/cosmos/vesting/v1beta1/tx.registry.js +64 -0
- package/esm/cosmos/vesting/v1beta1/tx.rpc.func.js +31 -0
- package/esm/cosmos/vesting/v1beta1/vesting.js +583 -0
- package/esm/cosmos_proto/cosmos.js +228 -0
- package/esm/cosmwasm/wasm/v1/authz.js +948 -0
- package/esm/cosmwasm/wasm/v1/genesis.js +457 -0
- package/esm/cosmwasm/wasm/v1/ibc.js +333 -0
- package/esm/cosmwasm/wasm/v1/proposal_legacy.js +1813 -0
- package/esm/cosmwasm/wasm/v1/query.js +2220 -0
- package/esm/cosmwasm/wasm/v1/query.rpc.func.js +98 -0
- package/esm/cosmwasm/wasm/v1/query.rpc.react.js +50 -0
- package/esm/cosmwasm/wasm/v1/tx.js +3215 -0
- package/esm/cosmwasm/wasm/v1/tx.registry.js +2 -0
- package/esm/cosmwasm/wasm/v1/tx.rpc.func.js +122 -0
- package/esm/cosmwasm/wasm/v1/tx.rpc.react.js +53 -0
- package/esm/cosmwasm/wasm/v1/types.js +908 -0
- package/esm/ethermint/crypto/v1/ethsecp256k1/keys.js +142 -0
- package/esm/ethermint/evm/v1/events.js +380 -0
- package/esm/ethermint/evm/v1/evm.js +1187 -0
- package/esm/ethermint/evm/v1/genesis.js +189 -0
- package/esm/ethermint/evm/v1/query.js +1982 -0
- package/esm/ethermint/evm/v1/query.rpc.func.js +99 -0
- package/esm/ethermint/evm/v1/query.rpc.react.js +50 -0
- package/esm/ethermint/evm/v1/tx.js +1018 -0
- package/esm/ethermint/evm/v1/tx.registry.js +2 -0
- package/esm/ethermint/evm/v1/tx.rpc.func.js +17 -0
- package/esm/ethermint/evm/v1/tx.rpc.react.js +8 -0
- package/esm/ethermint/feemarket/v1/events.js +153 -0
- package/esm/ethermint/feemarket/v1/feemarket.js +151 -0
- package/esm/ethermint/feemarket/v1/genesis.js +86 -0
- package/esm/ethermint/feemarket/v1/query.js +385 -0
- package/esm/ethermint/feemarket/v1/query.rpc.func.js +26 -0
- package/esm/ethermint/feemarket/v1/query.rpc.react.js +14 -0
- package/esm/ethermint/feemarket/v1/tx.js +150 -0
- package/esm/ethermint/feemarket/v1/tx.registry.js +2 -0
- package/esm/ethermint/feemarket/v1/tx.rpc.func.js +10 -0
- package/esm/ethermint/feemarket/v1/tx.rpc.react.js +5 -0
- package/esm/ethermint/types/v1/account.js +88 -0
- package/esm/ethermint/types/v1/dynamic_fee.js +71 -0
- package/esm/ethermint/types/v1/indexer.js +143 -0
- package/esm/ethermint/types/v1/web3.js +96 -0
- package/esm/extern.js +30 -0
- package/esm/gogoproto/gogo.js +1 -0
- package/esm/google/api/annotations.js +1 -0
- package/esm/google/api/http.js +354 -0
- package/esm/google/protobuf/any.js +79 -0
- package/esm/google/protobuf/descriptor.js +5136 -0
- package/esm/google/protobuf/duration.js +77 -0
- package/esm/google/protobuf/timestamp.js +74 -0
- package/esm/helper-func-types.js +60 -0
- package/esm/helpers.js +128 -0
- package/esm/ibc/applications/fee/v1/ack.js +103 -0
- package/esm/ibc/applications/fee/v1/fee.js +398 -0
- package/esm/ibc/applications/fee/v1/genesis.js +531 -0
- package/esm/ibc/applications/fee/v1/metadata.js +90 -0
- package/esm/ibc/applications/fee/v1/query.js +1739 -0
- package/esm/ibc/applications/fee/v1/query.rpc.func.js +82 -0
- package/esm/ibc/applications/fee/v1/query.rpc.react.js +42 -0
- package/esm/ibc/applications/fee/v1/tx.js +707 -0
- package/esm/ibc/applications/fee/v1/tx.registry.js +2 -0
- package/esm/ibc/applications/fee/v1/tx.rpc.func.js +31 -0
- package/esm/ibc/applications/fee/v1/tx.rpc.react.js +14 -0
- package/esm/ibc/applications/interchain_accounts/controller/v1/controller.js +78 -0
- package/esm/ibc/applications/interchain_accounts/controller/v1/query.js +311 -0
- package/esm/ibc/applications/interchain_accounts/controller/v1/query.rpc.func.js +18 -0
- package/esm/ibc/applications/interchain_accounts/controller/v1/query.rpc.react.js +10 -0
- package/esm/ibc/applications/interchain_accounts/controller/v1/tx.js +553 -0
- package/esm/ibc/applications/interchain_accounts/controller/v1/tx.registry.js +2 -0
- package/esm/ibc/applications/interchain_accounts/controller/v1/tx.rpc.func.js +24 -0
- package/esm/ibc/applications/interchain_accounts/controller/v1/tx.rpc.react.js +11 -0
- package/esm/ibc/applications/interchain_accounts/genesis/v1/genesis.js +558 -0
- package/esm/ibc/applications/interchain_accounts/host/v1/host.js +183 -0
- package/esm/ibc/applications/interchain_accounts/host/v1/query.js +145 -0
- package/esm/ibc/applications/interchain_accounts/host/v1/query.rpc.func.js +10 -0
- package/esm/ibc/applications/interchain_accounts/host/v1/query.rpc.react.js +6 -0
- package/esm/ibc/applications/interchain_accounts/host/v1/tx.js +344 -0
- package/esm/ibc/applications/interchain_accounts/host/v1/tx.registry.js +2 -0
- package/esm/ibc/applications/interchain_accounts/host/v1/tx.rpc.func.js +17 -0
- package/esm/ibc/applications/interchain_accounts/host/v1/tx.rpc.react.js +8 -0
- package/esm/ibc/applications/interchain_accounts/v1/account.js +96 -0
- package/esm/ibc/applications/interchain_accounts/v1/metadata.js +138 -0
- package/esm/ibc/applications/interchain_accounts/v1/packet.js +222 -0
- package/esm/ibc/applications/transfer/v1/authz.js +223 -0
- package/esm/ibc/applications/transfer/v1/genesis.js +126 -0
- package/esm/ibc/applications/transfer/v1/query.js +953 -0
- package/esm/ibc/applications/transfer/v1/query.rpc.func.js +50 -0
- package/esm/ibc/applications/transfer/v1/query.rpc.react.js +26 -0
- package/esm/ibc/applications/transfer/v1/transfer.js +179 -0
- package/esm/ibc/applications/transfer/v1/tx.js +399 -0
- package/esm/ibc/applications/transfer/v1/tx.registry.js +2 -0
- package/esm/ibc/applications/transfer/v1/tx.rpc.func.js +17 -0
- package/esm/ibc/applications/transfer/v1/tx.rpc.react.js +8 -0
- package/esm/ibc/applications/transfer/v2/packet.js +126 -0
- package/esm/ibc/core/channel/v1/channel.js +1160 -0
- package/esm/ibc/core/channel/v1/genesis.js +302 -0
- package/esm/ibc/core/channel/v1/query.js +3415 -0
- package/esm/ibc/core/channel/v1/query.rpc.func.js +138 -0
- package/esm/ibc/core/channel/v1/query.rpc.react.js +70 -0
- package/esm/ibc/core/channel/v1/tx.js +4031 -0
- package/esm/ibc/core/channel/v1/tx.registry.js +2 -0
- package/esm/ibc/core/channel/v1/tx.rpc.func.js +136 -0
- package/esm/ibc/core/channel/v1/tx.rpc.react.js +59 -0
- package/esm/ibc/core/channel/v1/upgrade.js +300 -0
- package/esm/ibc/core/client/v1/client.js +673 -0
- package/esm/ibc/core/client/v1/genesis.js +337 -0
- package/esm/ibc/core/client/v1/query.js +1756 -0
- package/esm/ibc/core/client/v1/query.rpc.func.js +82 -0
- package/esm/ibc/core/client/v1/query.rpc.react.js +42 -0
- package/esm/ibc/core/client/v1/tx.js +1186 -0
- package/esm/ibc/core/client/v1/tx.registry.js +2 -0
- package/esm/ibc/core/client/v1/tx.rpc.func.js +52 -0
- package/esm/ibc/core/client/v1/tx.rpc.react.js +23 -0
- package/esm/ibc/core/commitment/v1/commitment.js +319 -0
- package/esm/ibc/core/connection/v1/connection.js +776 -0
- package/esm/ibc/core/connection/v1/genesis.js +125 -0
- package/esm/ibc/core/connection/v1/query.js +1097 -0
- package/esm/ibc/core/connection/v1/query.rpc.func.js +50 -0
- package/esm/ibc/core/connection/v1/query.rpc.react.js +26 -0
- package/esm/ibc/core/connection/v1/tx.js +1086 -0
- package/esm/ibc/core/connection/v1/tx.registry.js +2 -0
- package/esm/ibc/core/connection/v1/tx.rpc.func.js +38 -0
- package/esm/ibc/core/connection/v1/tx.rpc.react.js +17 -0
- package/esm/ibc/core/types/v1/genesis.js +109 -0
- package/esm/ibc/lightclients/localhost/v2/localhost.js +81 -0
- package/esm/ibc/lightclients/solomachine/v2/solomachine.js +1675 -0
- package/esm/ibc/lightclients/solomachine/v3/solomachine.js +839 -0
- package/esm/ibc/lightclients/tendermint/v1/tendermint.js +628 -0
- package/esm/ibc/lightclients/wasm/v1/genesis.js +161 -0
- package/esm/ibc/lightclients/wasm/v1/query.js +330 -0
- package/esm/ibc/lightclients/wasm/v1/query.rpc.func.js +18 -0
- package/esm/ibc/lightclients/wasm/v1/query.rpc.react.js +10 -0
- package/esm/ibc/lightclients/wasm/v1/tx.js +498 -0
- package/esm/ibc/lightclients/wasm/v1/tx.registry.js +2 -0
- package/esm/ibc/lightclients/wasm/v1/tx.rpc.func.js +24 -0
- package/esm/ibc/lightclients/wasm/v1/tx.rpc.react.js +11 -0
- package/esm/ibc/lightclients/wasm/v1/wasm.js +340 -0
- package/esm/react-query.js +92 -0
- package/esm/registry.js +154 -0
- package/esm/tendermint/abci/types.js +5300 -0
- package/esm/tendermint/crypto/keys.js +84 -0
- package/esm/tendermint/crypto/proof.js +458 -0
- package/esm/tendermint/p2p/types.js +429 -0
- package/esm/tendermint/types/block.js +114 -0
- package/esm/tendermint/types/evidence.js +409 -0
- package/esm/tendermint/types/params.js +597 -0
- package/esm/tendermint/types/types.js +1776 -0
- package/esm/tendermint/types/validator.js +342 -0
- package/esm/tendermint/version/types.js +165 -0
- package/esm/types.js +6 -0
- package/esm/utf8.js +136 -0
- package/esm/varint.js +407 -0
- package/esm/xpla/reward/v1beta1/genesis.js +74 -0
- package/esm/xpla/reward/v1beta1/query.js +264 -0
- package/esm/xpla/reward/v1beta1/query.rpc.func.js +18 -0
- package/esm/xpla/reward/v1beta1/query.rpc.react.js +10 -0
- package/esm/xpla/reward/v1beta1/reward.js +127 -0
- package/esm/xpla/reward/v1beta1/tx.js +302 -0
- package/esm/xpla/reward/v1beta1/tx.registry.js +2 -0
- package/esm/xpla/reward/v1beta1/tx.rpc.func.js +17 -0
- package/esm/xpla/reward/v1beta1/tx.rpc.react.js +8 -0
- package/esm/xpla/volunteer/v1beta1/genesis.js +77 -0
- package/esm/xpla/volunteer/v1beta1/proposal.js +534 -0
- package/esm/xpla/volunteer/v1beta1/query.js +131 -0
- package/esm/xpla/volunteer/v1beta1/query.rpc.func.js +10 -0
- package/esm/xpla/volunteer/v1beta1/query.rpc.react.js +6 -0
- package/esm/xpla/volunteer/v1beta1/tx.js +348 -0
- package/esm/xpla/volunteer/v1beta1/tx.registry.js +2 -0
- package/esm/xpla/volunteer/v1beta1/tx.rpc.func.js +17 -0
- package/esm/xpla/volunteer/v1beta1/tx.rpc.react.js +8 -0
- package/esm/xpla/volunteer/v1beta1/volunteervalidator.js +83 -0
- package/ethermint/crypto/v1/ethsecp256k1/keys.d.ts +82 -0
- package/ethermint/crypto/v1/ethsecp256k1/keys.js +145 -0
- package/ethermint/evm/v1/events.d.ts +166 -0
- package/ethermint/evm/v1/events.js +383 -0
- package/ethermint/evm/v1/evm.d.ts +538 -0
- package/ethermint/evm/v1/evm.js +1190 -0
- package/ethermint/evm/v1/genesis.d.ts +89 -0
- package/ethermint/evm/v1/genesis.js +192 -0
- package/ethermint/evm/v1/query.d.ts +937 -0
- package/ethermint/evm/v1/query.js +1985 -0
- package/ethermint/evm/v1/query.rpc.func.d.ts +15 -0
- package/ethermint/evm/v1/query.rpc.func.js +114 -0
- package/ethermint/evm/v1/query.rpc.react.d.ts +14 -0
- package/ethermint/evm/v1/query.rpc.react.js +53 -0
- package/ethermint/evm/v1/tx.d.ts +460 -0
- package/ethermint/evm/v1/tx.js +1021 -0
- package/ethermint/evm/v1/tx.registry.d.ts +2 -0
- package/ethermint/evm/v1/tx.registry.js +5 -0
- package/ethermint/evm/v1/tx.rpc.func.d.ts +4 -0
- package/ethermint/evm/v1/tx.rpc.func.js +22 -0
- package/ethermint/evm/v1/tx.rpc.react.d.ts +3 -0
- package/ethermint/evm/v1/tx.rpc.react.js +11 -0
- package/ethermint/feemarket/v1/events.d.ts +72 -0
- package/ethermint/feemarket/v1/events.js +156 -0
- package/ethermint/feemarket/v1/feemarket.d.ts +79 -0
- package/ethermint/feemarket/v1/feemarket.js +154 -0
- package/ethermint/feemarket/v1/genesis.d.ts +46 -0
- package/ethermint/feemarket/v1/genesis.js +89 -0
- package/ethermint/feemarket/v1/query.d.ts +201 -0
- package/ethermint/feemarket/v1/query.js +388 -0
- package/ethermint/feemarket/v1/query.rpc.func.d.ts +5 -0
- package/ethermint/feemarket/v1/query.rpc.func.js +32 -0
- package/ethermint/feemarket/v1/query.rpc.react.d.ts +4 -0
- package/ethermint/feemarket/v1/query.rpc.react.js +17 -0
- package/ethermint/feemarket/v1/tx.d.ts +83 -0
- package/ethermint/feemarket/v1/tx.js +153 -0
- package/ethermint/feemarket/v1/tx.registry.d.ts +2 -0
- package/ethermint/feemarket/v1/tx.registry.js +5 -0
- package/ethermint/feemarket/v1/tx.rpc.func.d.ts +3 -0
- package/ethermint/feemarket/v1/tx.rpc.func.js +14 -0
- package/ethermint/feemarket/v1/tx.rpc.react.d.ts +2 -0
- package/ethermint/feemarket/v1/tx.rpc.react.js +8 -0
- package/ethermint/types/v1/account.d.ts +46 -0
- package/ethermint/types/v1/account.js +91 -0
- package/ethermint/types/v1/dynamic_fee.d.ts +35 -0
- package/ethermint/types/v1/dynamic_fee.js +74 -0
- package/ethermint/types/v1/indexer.d.ts +77 -0
- package/ethermint/types/v1/indexer.js +146 -0
- package/ethermint/types/v1/web3.d.ts +67 -0
- package/ethermint/types/v1/web3.js +99 -0
- package/extern.d.ts +10 -0
- package/extern.js +36 -0
- package/gogoproto/gogo.d.ts +1 -0
- package/gogoproto/gogo.js +2 -0
- package/google/api/annotations.d.ts +1 -0
- package/google/api/annotations.js +2 -0
- package/google/api/http.d.ts +767 -0
- package/google/api/http.js +357 -0
- package/google/protobuf/any.d.ts +269 -0
- package/google/protobuf/any.js +82 -0
- package/google/protobuf/descriptor.d.ts +2952 -0
- package/google/protobuf/descriptor.js +5175 -0
- package/google/protobuf/duration.d.ts +163 -0
- package/google/protobuf/duration.js +80 -0
- package/google/protobuf/timestamp.d.ts +223 -0
- package/google/protobuf/timestamp.js +77 -0
- package/helper-func-types.d.ts +120 -0
- package/helper-func-types.js +66 -0
- package/helpers.d.ts +82 -0
- package/helpers.js +143 -0
- package/ibc/applications/fee/v1/ack.d.ts +45 -0
- package/ibc/applications/fee/v1/ack.js +106 -0
- package/ibc/applications/fee/v1/fee.d.ts +164 -0
- package/ibc/applications/fee/v1/fee.js +401 -0
- package/ibc/applications/fee/v1/genesis.d.ts +225 -0
- package/ibc/applications/fee/v1/genesis.js +534 -0
- package/ibc/applications/fee/v1/metadata.d.ts +47 -0
- package/ibc/applications/fee/v1/metadata.js +93 -0
- package/ibc/applications/fee/v1/query.d.ts +757 -0
- package/ibc/applications/fee/v1/query.js +1742 -0
- package/ibc/applications/fee/v1/query.rpc.func.d.ts +12 -0
- package/ibc/applications/fee/v1/query.rpc.func.js +95 -0
- package/ibc/applications/fee/v1/query.rpc.react.d.ts +11 -0
- package/ibc/applications/fee/v1/query.rpc.react.js +45 -0
- package/ibc/applications/fee/v1/tx.d.ts +326 -0
- package/ibc/applications/fee/v1/tx.js +710 -0
- package/ibc/applications/fee/v1/tx.registry.d.ts +2 -0
- package/ibc/applications/fee/v1/tx.registry.js +5 -0
- package/ibc/applications/fee/v1/tx.rpc.func.d.ts +6 -0
- package/ibc/applications/fee/v1/tx.rpc.func.js +38 -0
- package/ibc/applications/fee/v1/tx.rpc.react.d.ts +5 -0
- package/ibc/applications/fee/v1/tx.rpc.react.js +17 -0
- package/ibc/applications/interchain_accounts/controller/v1/controller.d.ts +43 -0
- package/ibc/applications/interchain_accounts/controller/v1/controller.js +81 -0
- package/ibc/applications/interchain_accounts/controller/v1/query.d.ts +137 -0
- package/ibc/applications/interchain_accounts/controller/v1/query.js +314 -0
- package/ibc/applications/interchain_accounts/controller/v1/query.rpc.func.d.ts +4 -0
- package/ibc/applications/interchain_accounts/controller/v1/query.rpc.func.js +23 -0
- package/ibc/applications/interchain_accounts/controller/v1/query.rpc.react.d.ts +3 -0
- package/ibc/applications/interchain_accounts/controller/v1/query.rpc.react.js +13 -0
- package/ibc/applications/interchain_accounts/controller/v1/tx.d.ts +237 -0
- package/ibc/applications/interchain_accounts/controller/v1/tx.js +556 -0
- package/ibc/applications/interchain_accounts/controller/v1/tx.registry.d.ts +2 -0
- package/ibc/applications/interchain_accounts/controller/v1/tx.registry.js +5 -0
- package/ibc/applications/interchain_accounts/controller/v1/tx.rpc.func.d.ts +5 -0
- package/ibc/applications/interchain_accounts/controller/v1/tx.rpc.func.js +30 -0
- package/ibc/applications/interchain_accounts/controller/v1/tx.rpc.react.d.ts +4 -0
- package/ibc/applications/interchain_accounts/controller/v1/tx.rpc.react.js +14 -0
- package/ibc/applications/interchain_accounts/genesis/v1/genesis.d.ts +201 -0
- package/ibc/applications/interchain_accounts/genesis/v1/genesis.js +561 -0
- package/ibc/applications/interchain_accounts/host/v1/host.d.ts +104 -0
- package/ibc/applications/interchain_accounts/host/v1/host.js +186 -0
- package/ibc/applications/interchain_accounts/host/v1/query.d.ts +69 -0
- package/ibc/applications/interchain_accounts/host/v1/query.js +148 -0
- package/ibc/applications/interchain_accounts/host/v1/query.rpc.func.d.ts +3 -0
- package/ibc/applications/interchain_accounts/host/v1/query.rpc.func.js +14 -0
- package/ibc/applications/interchain_accounts/host/v1/query.rpc.react.d.ts +2 -0
- package/ibc/applications/interchain_accounts/host/v1/query.rpc.react.js +9 -0
- package/ibc/applications/interchain_accounts/host/v1/tx.d.ts +159 -0
- package/ibc/applications/interchain_accounts/host/v1/tx.js +347 -0
- package/ibc/applications/interchain_accounts/host/v1/tx.registry.d.ts +2 -0
- package/ibc/applications/interchain_accounts/host/v1/tx.registry.js +5 -0
- package/ibc/applications/interchain_accounts/host/v1/tx.rpc.func.d.ts +4 -0
- package/ibc/applications/interchain_accounts/host/v1/tx.rpc.func.js +22 -0
- package/ibc/applications/interchain_accounts/host/v1/tx.rpc.react.d.ts +3 -0
- package/ibc/applications/interchain_accounts/host/v1/tx.rpc.react.js +11 -0
- package/ibc/applications/interchain_accounts/v1/account.d.ts +38 -0
- package/ibc/applications/interchain_accounts/v1/account.js +99 -0
- package/ibc/applications/interchain_accounts/v1/metadata.d.ts +69 -0
- package/ibc/applications/interchain_accounts/v1/metadata.js +141 -0
- package/ibc/applications/interchain_accounts/v1/packet.d.ts +87 -0
- package/ibc/applications/interchain_accounts/v1/packet.js +227 -0
- package/ibc/applications/transfer/v1/authz.d.ts +101 -0
- package/ibc/applications/transfer/v1/authz.js +226 -0
- package/ibc/applications/transfer/v1/genesis.d.ts +51 -0
- package/ibc/applications/transfer/v1/genesis.js +129 -0
- package/ibc/applications/transfer/v1/query.d.ts +461 -0
- package/ibc/applications/transfer/v1/query.js +956 -0
- package/ibc/applications/transfer/v1/query.rpc.func.d.ts +8 -0
- package/ibc/applications/transfer/v1/query.rpc.func.js +59 -0
- package/ibc/applications/transfer/v1/query.rpc.react.d.ts +7 -0
- package/ibc/applications/transfer/v1/query.rpc.react.js +29 -0
- package/ibc/applications/transfer/v1/transfer.d.ts +114 -0
- package/ibc/applications/transfer/v1/transfer.js +182 -0
- package/ibc/applications/transfer/v1/tx.d.ts +206 -0
- package/ibc/applications/transfer/v1/tx.js +402 -0
- package/ibc/applications/transfer/v1/tx.registry.d.ts +2 -0
- package/ibc/applications/transfer/v1/tx.registry.js +5 -0
- package/ibc/applications/transfer/v1/tx.rpc.func.d.ts +4 -0
- package/ibc/applications/transfer/v1/tx.rpc.func.js +22 -0
- package/ibc/applications/transfer/v1/tx.rpc.react.d.ts +3 -0
- package/ibc/applications/transfer/v1/tx.rpc.react.js +11 -0
- package/ibc/applications/transfer/v2/packet.d.ts +61 -0
- package/ibc/applications/transfer/v2/packet.js +129 -0
- package/ibc/core/channel/v1/channel.d.ts +556 -0
- package/ibc/core/channel/v1/channel.js +1167 -0
- package/ibc/core/channel/v1/genesis.d.ts +97 -0
- package/ibc/core/channel/v1/genesis.js +305 -0
- package/ibc/core/channel/v1/query.d.ts +1559 -0
- package/ibc/core/channel/v1/query.js +3418 -0
- package/ibc/core/channel/v1/query.rpc.func.d.ts +19 -0
- package/ibc/core/channel/v1/query.rpc.func.js +158 -0
- package/ibc/core/channel/v1/query.rpc.react.d.ts +18 -0
- package/ibc/core/channel/v1/query.rpc.react.js +73 -0
- package/ibc/core/channel/v1/tx.d.ts +1528 -0
- package/ibc/core/channel/v1/tx.js +4036 -0
- package/ibc/core/channel/v1/tx.registry.d.ts +2 -0
- package/ibc/core/channel/v1/tx.registry.js +5 -0
- package/ibc/core/channel/v1/tx.rpc.func.d.ts +21 -0
- package/ibc/core/channel/v1/tx.rpc.func.js +158 -0
- package/ibc/core/channel/v1/tx.rpc.react.d.ts +20 -0
- package/ibc/core/channel/v1/tx.rpc.react.js +62 -0
- package/ibc/core/channel/v1/upgrade.d.ts +142 -0
- package/ibc/core/channel/v1/upgrade.js +303 -0
- package/ibc/core/client/v1/client.d.ts +379 -0
- package/ibc/core/client/v1/client.js +676 -0
- package/ibc/core/client/v1/genesis.d.ts +150 -0
- package/ibc/core/client/v1/genesis.js +340 -0
- package/ibc/core/client/v1/query.d.ts +882 -0
- package/ibc/core/client/v1/query.js +1759 -0
- package/ibc/core/client/v1/query.rpc.func.d.ts +12 -0
- package/ibc/core/client/v1/query.rpc.func.js +95 -0
- package/ibc/core/client/v1/query.rpc.react.d.ts +11 -0
- package/ibc/core/client/v1/query.rpc.react.js +45 -0
- package/ibc/core/client/v1/tx.d.ts +601 -0
- package/ibc/core/client/v1/tx.js +1189 -0
- package/ibc/core/client/v1/tx.registry.d.ts +2 -0
- package/ibc/core/client/v1/tx.registry.js +5 -0
- package/ibc/core/client/v1/tx.rpc.func.d.ts +9 -0
- package/ibc/core/client/v1/tx.rpc.func.js +62 -0
- package/ibc/core/client/v1/tx.rpc.react.d.ts +8 -0
- package/ibc/core/client/v1/tx.rpc.react.js +26 -0
- package/ibc/core/commitment/v1/commitment.d.ts +169 -0
- package/ibc/core/commitment/v1/commitment.js +322 -0
- package/ibc/core/connection/v1/connection.d.ts +383 -0
- package/ibc/core/connection/v1/connection.js +781 -0
- package/ibc/core/connection/v1/genesis.d.ts +44 -0
- package/ibc/core/connection/v1/genesis.js +128 -0
- package/ibc/core/connection/v1/query.d.ts +530 -0
- package/ibc/core/connection/v1/query.js +1100 -0
- package/ibc/core/connection/v1/query.rpc.func.d.ts +8 -0
- package/ibc/core/connection/v1/query.rpc.func.js +59 -0
- package/ibc/core/connection/v1/query.rpc.react.d.ts +7 -0
- package/ibc/core/connection/v1/query.rpc.react.js +29 -0
- package/ibc/core/connection/v1/tx.d.ts +467 -0
- package/ibc/core/connection/v1/tx.js +1089 -0
- package/ibc/core/connection/v1/tx.registry.d.ts +2 -0
- package/ibc/core/connection/v1/tx.registry.js +5 -0
- package/ibc/core/connection/v1/tx.rpc.func.d.ts +7 -0
- package/ibc/core/connection/v1/tx.rpc.func.js +46 -0
- package/ibc/core/connection/v1/tx.rpc.react.d.ts +6 -0
- package/ibc/core/connection/v1/tx.rpc.react.js +20 -0
- package/ibc/core/types/v1/genesis.d.ts +51 -0
- package/ibc/core/types/v1/genesis.js +112 -0
- package/ibc/lightclients/localhost/v2/localhost.d.ts +38 -0
- package/ibc/lightclients/localhost/v2/localhost.js +84 -0
- package/ibc/lightclients/solomachine/v2/solomachine.d.ts +727 -0
- package/ibc/lightclients/solomachine/v2/solomachine.js +1680 -0
- package/ibc/lightclients/solomachine/v3/solomachine.d.ts +365 -0
- package/ibc/lightclients/solomachine/v3/solomachine.js +842 -0
- package/ibc/lightclients/tendermint/v1/tendermint.d.ts +311 -0
- package/ibc/lightclients/tendermint/v1/tendermint.js +631 -0
- package/ibc/lightclients/wasm/v1/genesis.d.ts +72 -0
- package/ibc/lightclients/wasm/v1/genesis.js +164 -0
- package/ibc/lightclients/wasm/v1/query.d.ts +145 -0
- package/ibc/lightclients/wasm/v1/query.js +333 -0
- package/ibc/lightclients/wasm/v1/query.rpc.func.d.ts +4 -0
- package/ibc/lightclients/wasm/v1/query.rpc.func.js +23 -0
- package/ibc/lightclients/wasm/v1/query.rpc.react.d.ts +3 -0
- package/ibc/lightclients/wasm/v1/query.rpc.react.js +13 -0
- package/ibc/lightclients/wasm/v1/tx.d.ts +224 -0
- package/ibc/lightclients/wasm/v1/tx.js +501 -0
- package/ibc/lightclients/wasm/v1/tx.registry.d.ts +2 -0
- package/ibc/lightclients/wasm/v1/tx.registry.js +5 -0
- package/ibc/lightclients/wasm/v1/tx.rpc.func.d.ts +5 -0
- package/ibc/lightclients/wasm/v1/tx.rpc.func.js +30 -0
- package/ibc/lightclients/wasm/v1/tx.rpc.react.d.ts +4 -0
- package/ibc/lightclients/wasm/v1/tx.rpc.react.js +14 -0
- package/ibc/lightclients/wasm/v1/wasm.d.ts +167 -0
- package/ibc/lightclients/wasm/v1/wasm.js +343 -0
- package/package.json +11 -7
- package/react-query.d.ts +48 -0
- package/react-query.js +100 -0
- package/registry.d.ts +33 -0
- package/registry.js +158 -0
- package/tendermint/abci/types.d.ts +1890 -0
- package/tendermint/abci/types.js +5316 -0
- package/tendermint/crypto/keys.d.ts +35 -0
- package/tendermint/crypto/keys.js +87 -0
- package/tendermint/crypto/proof.d.ts +179 -0
- package/tendermint/crypto/proof.js +461 -0
- package/tendermint/p2p/types.d.ts +142 -0
- package/tendermint/p2p/types.js +432 -0
- package/tendermint/types/block.d.ts +39 -0
- package/tendermint/types/block.js +117 -0
- package/tendermint/types/evidence.d.ts +142 -0
- package/tendermint/types/evidence.js +412 -0
- package/tendermint/types/params.d.ts +330 -0
- package/tendermint/types/params.js +600 -0
- package/tendermint/types/types.d.ts +655 -0
- package/tendermint/types/types.js +1781 -0
- package/tendermint/types/validator.d.ts +116 -0
- package/tendermint/types/validator.js +347 -0
- package/tendermint/version/types.d.ts +84 -0
- package/tendermint/version/types.js +168 -0
- package/types.d.ts +119 -0
- package/types.js +7 -0
- package/utf8.d.ts +27 -0
- package/utf8.js +141 -0
- package/varint.d.ts +105 -0
- package/varint.js +426 -0
- package/xpla/reward/v1beta1/genesis.d.ts +36 -0
- package/xpla/reward/v1beta1/genesis.js +77 -0
- package/xpla/reward/v1beta1/query.d.ts +140 -0
- package/xpla/reward/v1beta1/query.js +267 -0
- package/xpla/reward/v1beta1/query.rpc.func.d.ts +4 -0
- package/xpla/reward/v1beta1/query.rpc.func.js +23 -0
- package/xpla/reward/v1beta1/query.rpc.react.d.ts +3 -0
- package/xpla/reward/v1beta1/query.rpc.react.js +13 -0
- package/xpla/reward/v1beta1/reward.d.ts +43 -0
- package/xpla/reward/v1beta1/reward.js +130 -0
- package/xpla/reward/v1beta1/tx.d.ts +162 -0
- package/xpla/reward/v1beta1/tx.js +305 -0
- package/xpla/reward/v1beta1/tx.registry.d.ts +2 -0
- package/xpla/reward/v1beta1/tx.registry.js +5 -0
- package/xpla/reward/v1beta1/tx.rpc.func.d.ts +4 -0
- package/xpla/reward/v1beta1/tx.rpc.func.js +22 -0
- package/xpla/reward/v1beta1/tx.rpc.react.d.ts +3 -0
- package/xpla/reward/v1beta1/tx.rpc.react.js +11 -0
- package/xpla/volunteer/v1beta1/genesis.d.ts +34 -0
- package/xpla/volunteer/v1beta1/genesis.js +80 -0
- package/xpla/volunteer/v1beta1/proposal.d.ts +187 -0
- package/xpla/volunteer/v1beta1/proposal.js +537 -0
- package/xpla/volunteer/v1beta1/query.d.ts +62 -0
- package/xpla/volunteer/v1beta1/query.js +134 -0
- package/xpla/volunteer/v1beta1/query.rpc.func.d.ts +3 -0
- package/xpla/volunteer/v1beta1/query.rpc.func.js +14 -0
- package/xpla/volunteer/v1beta1/query.rpc.react.d.ts +2 -0
- package/xpla/volunteer/v1beta1/query.rpc.react.js +9 -0
- package/xpla/volunteer/v1beta1/tx.d.ts +172 -0
- package/xpla/volunteer/v1beta1/tx.js +351 -0
- package/xpla/volunteer/v1beta1/tx.registry.d.ts +2 -0
- package/xpla/volunteer/v1beta1/tx.registry.js +5 -0
- package/xpla/volunteer/v1beta1/tx.rpc.func.d.ts +4 -0
- package/xpla/volunteer/v1beta1/tx.rpc.func.js +22 -0
- package/xpla/volunteer/v1beta1/tx.rpc.react.d.ts +3 -0
- package/xpla/volunteer/v1beta1/tx.rpc.react.js +11 -0
- package/xpla/volunteer/v1beta1/volunteervalidator.d.ts +39 -0
- package/xpla/volunteer/v1beta1/volunteervalidator.js +86 -0
- package/CHANGELOG.md +0 -8
- package/src/amino/amino.ts +0 -1
- package/src/binary.ts +0 -534
- package/src/cosmos/app/runtime/v1alpha1/module.ts +0 -423
- package/src/cosmos/app/runtime/v2/module.ts +0 -589
- package/src/cosmos/app/v1alpha1/config.ts +0 -422
- package/src/cosmos/app/v1alpha1/module.ts +0 -461
- package/src/cosmos/app/v1alpha1/query.rpc.func.ts +0 -14
- package/src/cosmos/app/v1alpha1/query.ts +0 -177
- package/src/cosmos/auth/module/v1/module.ts +0 -253
- package/src/cosmos/auth/v1beta1/accounts.ts +0 -226
- package/src/cosmos/auth/v1beta1/auth.ts +0 -550
- package/src/cosmos/auth/v1beta1/genesis.ts +0 -119
- package/src/cosmos/auth/v1beta1/query.rpc.func.ts +0 -113
- package/src/cosmos/auth/v1beta1/query.ts +0 -2034
- package/src/cosmos/auth/v1beta1/tx.registry.ts +0 -29
- package/src/cosmos/auth/v1beta1/tx.rpc.func.ts +0 -13
- package/src/cosmos/auth/v1beta1/tx.ts +0 -219
- package/src/cosmos/authz/module/v1/module.ts +0 -80
- package/src/cosmos/authz/v1beta1/authz.ts +0 -481
- package/src/cosmos/authz/v1beta1/event.ts +0 -259
- package/src/cosmos/authz/v1beta1/genesis.ts +0 -100
- package/src/cosmos/authz/v1beta1/query.rpc.func.ts +0 -36
- package/src/cosmos/authz/v1beta1/query.ts +0 -707
- package/src/cosmos/authz/v1beta1/tx.registry.ts +0 -65
- package/src/cosmos/authz/v1beta1/tx.rpc.func.ts +0 -31
- package/src/cosmos/authz/v1beta1/tx.ts +0 -647
- package/src/cosmos/autocli/v1/options.ts +0 -1145
- package/src/cosmos/autocli/v1/query.rpc.func.ts +0 -14
- package/src/cosmos/autocli/v1/query.ts +0 -288
- package/src/cosmos/bank/module/v1/module.ts +0 -153
- package/src/cosmos/bank/v1beta1/authz.ts +0 -138
- package/src/cosmos/bank/v1beta1/bank.ts +0 -974
- package/src/cosmos/bank/v1beta1/genesis.ts +0 -307
- package/src/cosmos/bank/v1beta1/query.rpc.func.ts +0 -146
- package/src/cosmos/bank/v1beta1/query.ts +0 -3027
- package/src/cosmos/bank/v1beta1/tx.registry.ts +0 -83
- package/src/cosmos/bank/v1beta1/tx.rpc.func.ts +0 -40
- package/src/cosmos/bank/v1beta1/tx.ts +0 -861
- package/src/cosmos/base/abci/v1beta1/abci.ts +0 -1698
- package/src/cosmos/base/grpc/v2/service.rpc.func.ts +0 -25
- package/src/cosmos/base/grpc/v2/service.ts +0 -473
- package/src/cosmos/base/node/v1beta1/query.rpc.func.ts +0 -25
- package/src/cosmos/base/node/v1beta1/query.ts +0 -454
- package/src/cosmos/base/query/v1beta1/pagination.ts +0 -361
- package/src/cosmos/base/reflection/v1beta1/reflection.rpc.func.ts +0 -25
- package/src/cosmos/base/reflection/v1beta1/reflection.ts +0 -382
- package/src/cosmos/base/reflection/v2alpha1/reflection.rpc.func.ts +0 -69
- package/src/cosmos/base/reflection/v2alpha1/reflection.ts +0 -2727
- package/src/cosmos/base/tendermint/v1beta1/query.rpc.func.ts +0 -80
- package/src/cosmos/base/tendermint/v1beta1/query.ts +0 -2302
- package/src/cosmos/base/tendermint/v1beta1/types.ts +0 -455
- package/src/cosmos/base/v1beta1/coin.ts +0 -439
- package/src/cosmos/circuit/module/v1/module.ts +0 -99
- package/src/cosmos/circuit/v1/query.rpc.func.ts +0 -36
- package/src/cosmos/circuit/v1/query.ts +0 -574
- package/src/cosmos/circuit/v1/tx.registry.ts +0 -65
- package/src/cosmos/circuit/v1/tx.rpc.func.ts +0 -31
- package/src/cosmos/circuit/v1/tx.ts +0 -676
- package/src/cosmos/circuit/v1/types.ts +0 -413
- package/src/cosmos/consensus/module/v1/module.ts +0 -99
- package/src/cosmos/consensus/v1/query.rpc.func.ts +0 -14
- package/src/cosmos/consensus/v1/query.ts +0 -185
- package/src/cosmos/consensus/v1/tx.registry.ts +0 -29
- package/src/cosmos/consensus/v1/tx.rpc.func.ts +0 -13
- package/src/cosmos/consensus/v1/tx.ts +0 -255
- package/src/cosmos/crisis/module/v1/module.ts +0 -115
- package/src/cosmos/crisis/v1beta1/genesis.ts +0 -106
- package/src/cosmos/crisis/v1beta1/tx.registry.ts +0 -47
- package/src/cosmos/crisis/v1beta1/tx.rpc.func.ts +0 -22
- package/src/cosmos/crisis/v1beta1/tx.ts +0 -416
- package/src/cosmos/crypto/ed25519/keys.ts +0 -209
- package/src/cosmos/crypto/hd/v1/hd.ts +0 -169
- package/src/cosmos/crypto/keyring/v1/record.ts +0 -529
- package/src/cosmos/crypto/multisig/keys.ts +0 -122
- package/src/cosmos/crypto/multisig/v1beta1/multisig.ts +0 -225
- package/src/cosmos/crypto/secp256k1/keys.ts +0 -203
- package/src/cosmos/crypto/secp256r1/keys.ts +0 -201
- package/src/cosmos/distribution/module/v1/module.ts +0 -113
- package/src/cosmos/distribution/v1beta1/distribution.ts +0 -1494
- package/src/cosmos/distribution/v1beta1/genesis.ts +0 -1129
- package/src/cosmos/distribution/v1beta1/query.rpc.func.ts +0 -113
- package/src/cosmos/distribution/v1beta1/query.ts +0 -2126
- package/src/cosmos/distribution/v1beta1/tx.registry.ts +0 -137
- package/src/cosmos/distribution/v1beta1/tx.rpc.func.ts +0 -67
- package/src/cosmos/distribution/v1beta1/tx.ts +0 -1478
- package/src/cosmos/evidence/module/v1/module.ts +0 -80
- package/src/cosmos/evidence/v1beta1/evidence.ts +0 -154
- package/src/cosmos/evidence/v1beta1/genesis.ts +0 -102
- package/src/cosmos/evidence/v1beta1/query.rpc.func.ts +0 -25
- package/src/cosmos/evidence/v1beta1/query.ts +0 -451
- package/src/cosmos/evidence/v1beta1/tx.registry.ts +0 -29
- package/src/cosmos/evidence/v1beta1/tx.rpc.func.ts +0 -13
- package/src/cosmos/evidence/v1beta1/tx.ts +0 -221
- package/src/cosmos/feegrant/module/v1/module.ts +0 -80
- package/src/cosmos/feegrant/v1beta1/feegrant.ts +0 -573
- package/src/cosmos/feegrant/v1beta1/genesis.ts +0 -100
- package/src/cosmos/feegrant/v1beta1/query.rpc.func.ts +0 -36
- package/src/cosmos/feegrant/v1beta1/query.ts +0 -677
- package/src/cosmos/feegrant/v1beta1/tx.registry.ts +0 -65
- package/src/cosmos/feegrant/v1beta1/tx.rpc.func.ts +0 -31
- package/src/cosmos/feegrant/v1beta1/tx.ts +0 -597
- package/src/cosmos/genutil/module/v1/module.ts +0 -80
- package/src/cosmos/genutil/v1beta1/genesis.ts +0 -101
- package/src/cosmos/gov/module/v1/module.ts +0 -121
- package/src/cosmos/gov/v1/genesis.ts +0 -280
- package/src/cosmos/gov/v1/gov.ts +0 -1843
- package/src/cosmos/gov/v1/query.rpc.func.ts +0 -102
- package/src/cosmos/gov/v1/query.ts +0 -1970
- package/src/cosmos/gov/v1/tx.registry.ts +0 -137
- package/src/cosmos/gov/v1/tx.rpc.func.ts +0 -67
- package/src/cosmos/gov/v1/tx.ts +0 -1657
- package/src/cosmos/gov/v1beta1/genesis.ts +0 -202
- package/src/cosmos/gov/v1beta1/gov.ts +0 -1425
- package/src/cosmos/gov/v1beta1/query.rpc.func.ts +0 -91
- package/src/cosmos/gov/v1beta1/query.ts +0 -1749
- package/src/cosmos/gov/v1beta1/tx.registry.ts +0 -83
- package/src/cosmos/gov/v1beta1/tx.rpc.func.ts +0 -40
- package/src/cosmos/gov/v1beta1/tx.ts +0 -881
- package/src/cosmos/group/module/v1/module.ts +0 -128
- package/src/cosmos/group/v1/events.ts +0 -1044
- package/src/cosmos/group/v1/genesis.ts +0 -240
- package/src/cosmos/group/v1/query.rpc.func.ts +0 -157
- package/src/cosmos/group/v1/query.ts +0 -3015
- package/src/cosmos/group/v1/tx.registry.ts +0 -263
- package/src/cosmos/group/v1/tx.rpc.func.ts +0 -130
- package/src/cosmos/group/v1/tx.ts +0 -3207
- package/src/cosmos/group/v1/types.ts +0 -2081
- package/src/cosmos/ics23/v1/proofs.ts +0 -2060
- package/src/cosmos/mint/module/v1/module.ts +0 -113
- package/src/cosmos/mint/v1beta1/genesis.ts +0 -116
- package/src/cosmos/mint/v1beta1/mint.ts +0 -291
- package/src/cosmos/mint/v1beta1/query.rpc.func.ts +0 -36
- package/src/cosmos/mint/v1beta1/query.ts +0 -541
- package/src/cosmos/mint/v1beta1/tx.registry.ts +0 -29
- package/src/cosmos/mint/v1beta1/tx.rpc.func.ts +0 -13
- package/src/cosmos/mint/v1beta1/tx.ts +0 -219
- package/src/cosmos/msg/textual/v1/textual.ts +0 -1
- package/src/cosmos/msg/v1/msg.ts +0 -1
- package/src/cosmos/nft/module/v1/module.ts +0 -80
- package/src/cosmos/nft/v1beta1/event.ts +0 -403
- package/src/cosmos/nft/v1beta1/genesis.ts +0 -234
- package/src/cosmos/nft/v1beta1/nft.ts +0 -356
- package/src/cosmos/nft/v1beta1/query.rpc.func.ts +0 -80
- package/src/cosmos/nft/v1beta1/query.ts +0 -1465
- package/src/cosmos/nft/v1beta1/tx.registry.ts +0 -29
- package/src/cosmos/nft/v1beta1/tx.rpc.func.ts +0 -13
- package/src/cosmos/nft/v1beta1/tx.ts +0 -224
- package/src/cosmos/orm/module/v1alpha1/module.ts +0 -88
- package/src/cosmos/orm/query/v1alpha1/query.rpc.func.ts +0 -25
- package/src/cosmos/orm/query/v1alpha1/query.ts +0 -993
- package/src/cosmos/orm/v1/orm.ts +0 -589
- package/src/cosmos/orm/v1alpha1/schema.ts +0 -325
- package/src/cosmos/params/module/v1/module.ts +0 -80
- package/src/cosmos/params/v1beta1/params.ts +0 -255
- package/src/cosmos/params/v1beta1/query.rpc.func.ts +0 -25
- package/src/cosmos/params/v1beta1/query.ts +0 -525
- package/src/cosmos/query/v1/query.ts +0 -1
- package/src/cosmos/reflection/v1/reflection.rpc.func.ts +0 -14
- package/src/cosmos/reflection/v1/reflection.ts +0 -179
- package/src/cosmos/slashing/module/v1/module.ts +0 -99
- package/src/cosmos/slashing/v1beta1/genesis.ts +0 -492
- package/src/cosmos/slashing/v1beta1/query.rpc.func.ts +0 -36
- package/src/cosmos/slashing/v1beta1/query.ts +0 -598
- package/src/cosmos/slashing/v1beta1/slashing.ts +0 -357
- package/src/cosmos/slashing/v1beta1/tx.registry.ts +0 -47
- package/src/cosmos/slashing/v1beta1/tx.rpc.func.ts +0 -22
- package/src/cosmos/slashing/v1beta1/tx.ts +0 -390
- package/src/cosmos/staking/module/v1/module.ts +0 -157
- package/src/cosmos/staking/v1beta1/authz.ts +0 -323
- package/src/cosmos/staking/v1beta1/genesis.ts +0 -346
- package/src/cosmos/staking/v1beta1/query.rpc.func.ts +0 -157
- package/src/cosmos/staking/v1beta1/query.ts +0 -3073
- package/src/cosmos/staking/v1beta1/staking.ts +0 -3005
- package/src/cosmos/staking/v1beta1/tx.registry.ts +0 -137
- package/src/cosmos/staking/v1beta1/tx.rpc.func.ts +0 -67
- package/src/cosmos/staking/v1beta1/tx.ts +0 -1638
- package/src/cosmos/store/internal/kv/v1beta1/kv.ts +0 -207
- package/src/cosmos/store/snapshots/v1/snapshot.ts +0 -863
- package/src/cosmos/store/snapshots/v2/snapshot.ts +0 -823
- package/src/cosmos/store/streaming/abci/grpc.ts +0 -393
- package/src/cosmos/store/v1beta1/commit_info.ts +0 -362
- package/src/cosmos/store/v1beta1/listening.ts +0 -286
- package/src/cosmos/streaming/v1/grpc.ts +0 -985
- package/src/cosmos/tx/config/v1/config.ts +0 -127
- package/src/cosmos/tx/signing/v1beta1/signing.ts +0 -688
- package/src/cosmos/tx/v1beta1/service.rpc.func.ts +0 -102
- package/src/cosmos/tx/v1beta1/service.ts +0 -2294
- package/src/cosmos/tx/v1beta1/tx.ts +0 -2029
- package/src/cosmos/upgrade/module/v1/module.ts +0 -99
- package/src/cosmos/upgrade/v1beta1/query.rpc.func.ts +0 -58
- package/src/cosmos/upgrade/v1beta1/query.ts +0 -1016
- package/src/cosmos/upgrade/v1beta1/tx.registry.ts +0 -47
- package/src/cosmos/upgrade/v1beta1/tx.rpc.func.ts +0 -22
- package/src/cosmos/upgrade/v1beta1/tx.ts +0 -398
- package/src/cosmos/upgrade/v1beta1/upgrade.ts +0 -591
- package/src/cosmos/validate/module/v1/module.ts +0 -80
- package/src/cosmos/vesting/module/v1/module.ts +0 -80
- package/src/cosmos/vesting/v1beta1/tx.registry.ts +0 -65
- package/src/cosmos/vesting/v1beta1/tx.rpc.func.ts +0 -31
- package/src/cosmos/vesting/v1beta1/tx.ts +0 -698
- package/src/cosmos/vesting/v1beta1/vesting.ts +0 -735
- package/src/cosmos_proto/cosmos.ts +0 -341
- package/src/cosmwasm/wasm/v1/authz.ts +0 -1231
- package/src/cosmwasm/wasm/v1/genesis.ts +0 -532
- package/src/cosmwasm/wasm/v1/ibc.ts +0 -355
- package/src/cosmwasm/wasm/v1/proposal_legacy.ts +0 -2432
- package/src/cosmwasm/wasm/v1/query.rpc.func.ts +0 -124
- package/src/cosmwasm/wasm/v1/query.ts +0 -2560
- package/src/cosmwasm/wasm/v1/tx.registry.ts +0 -317
- package/src/cosmwasm/wasm/v1/tx.rpc.func.ts +0 -157
- package/src/cosmwasm/wasm/v1/tx.ts +0 -4191
- package/src/cosmwasm/wasm/v1/types.ts +0 -1120
- package/src/ethermint/crypto/v1/ethsecp256k1/keys.ts +0 -193
- package/src/ethermint/evm/v1/events.ts +0 -485
- package/src/ethermint/evm/v1/evm.ts +0 -1590
- package/src/ethermint/evm/v1/genesis.ts +0 -240
- package/src/ethermint/evm/v1/query.rpc.func.ts +0 -136
- package/src/ethermint/evm/v1/query.ts +0 -2535
- package/src/ethermint/evm/v1/tx.registry.ts +0 -47
- package/src/ethermint/evm/v1/tx.rpc.func.ts +0 -22
- package/src/ethermint/evm/v1/tx.ts +0 -1333
- package/src/ethermint/feemarket/v1/events.ts +0 -195
- package/src/ethermint/feemarket/v1/feemarket.ts +0 -213
- package/src/ethermint/feemarket/v1/genesis.ts +0 -114
- package/src/ethermint/feemarket/v1/query.rpc.func.ts +0 -36
- package/src/ethermint/feemarket/v1/query.ts +0 -487
- package/src/ethermint/feemarket/v1/tx.registry.ts +0 -29
- package/src/ethermint/feemarket/v1/tx.rpc.func.ts +0 -13
- package/src/ethermint/feemarket/v1/tx.ts +0 -197
- package/src/ethermint/types/v1/account.ts +0 -114
- package/src/ethermint/types/v1/dynamic_fee.ts +0 -91
- package/src/ethermint/types/v1/indexer.ts +0 -205
- package/src/ethermint/types/v1/web3.ts +0 -147
- package/src/extern.ts +0 -38
- package/src/gogoproto/gogo.ts +0 -1
- package/src/google/api/annotations.ts +0 -1
- package/src/google/api/http.ts +0 -1069
- package/src/google/protobuf/any.ts +0 -331
- package/src/google/protobuf/descriptor.ts +0 -7177
- package/src/google/protobuf/duration.ts +0 -225
- package/src/google/protobuf/timestamp.ts +0 -281
- package/src/helper-func-types.ts +0 -191
- package/src/helpers.ts +0 -259
- package/src/ibc/applications/fee/v1/ack.ts +0 -131
- package/src/ibc/applications/fee/v1/fee.ts +0 -481
- package/src/ibc/applications/fee/v1/genesis.ts +0 -661
- package/src/ibc/applications/fee/v1/metadata.ts +0 -121
- package/src/ibc/applications/fee/v1/query.rpc.func.ts +0 -113
- package/src/ibc/applications/fee/v1/query.ts +0 -2134
- package/src/ibc/applications/fee/v1/tx.registry.ts +0 -83
- package/src/ibc/applications/fee/v1/tx.rpc.func.ts +0 -40
- package/src/ibc/applications/fee/v1/tx.ts +0 -889
- package/src/ibc/applications/interchain_accounts/controller/v1/controller.ts +0 -105
- package/src/ibc/applications/interchain_accounts/controller/v1/query.rpc.func.ts +0 -25
- package/src/ibc/applications/interchain_accounts/controller/v1/query.ts +0 -379
- package/src/ibc/applications/interchain_accounts/controller/v1/tx.registry.ts +0 -65
- package/src/ibc/applications/interchain_accounts/controller/v1/tx.rpc.func.ts +0 -31
- package/src/ibc/applications/interchain_accounts/controller/v1/tx.ts +0 -685
- package/src/ibc/applications/interchain_accounts/genesis/v1/genesis.ts +0 -661
- package/src/ibc/applications/interchain_accounts/host/v1/host.ts +0 -253
- package/src/ibc/applications/interchain_accounts/host/v1/query.rpc.func.ts +0 -14
- package/src/ibc/applications/interchain_accounts/host/v1/query.ts +0 -177
- package/src/ibc/applications/interchain_accounts/host/v1/tx.registry.ts +0 -47
- package/src/ibc/applications/interchain_accounts/host/v1/tx.rpc.func.ts +0 -22
- package/src/ibc/applications/interchain_accounts/host/v1/tx.ts +0 -429
- package/src/ibc/applications/interchain_accounts/v1/account.ts +0 -112
- package/src/ibc/applications/interchain_accounts/v1/metadata.ts +0 -191
- package/src/ibc/applications/interchain_accounts/v1/packet.ts +0 -259
- package/src/ibc/applications/transfer/v1/authz.ts +0 -280
- package/src/ibc/applications/transfer/v1/genesis.ts +0 -153
- package/src/ibc/applications/transfer/v1/query.rpc.func.ts +0 -69
- package/src/ibc/applications/transfer/v1/query.ts +0 -1205
- package/src/ibc/applications/transfer/v1/transfer.ts +0 -261
- package/src/ibc/applications/transfer/v1/tx.registry.ts +0 -47
- package/src/ibc/applications/transfer/v1/tx.rpc.func.ts +0 -22
- package/src/ibc/applications/transfer/v1/tx.ts +0 -532
- package/src/ibc/applications/transfer/v2/packet.ts +0 -171
- package/src/ibc/core/channel/v1/channel.ts +0 -1510
- package/src/ibc/core/channel/v1/genesis.ts +0 -354
- package/src/ibc/core/channel/v1/query.rpc.func.ts +0 -190
- package/src/ibc/core/channel/v1/query.ts +0 -4354
- package/src/ibc/core/channel/v1/tx.registry.ts +0 -353
- package/src/ibc/core/channel/v1/tx.rpc.func.ts +0 -175
- package/src/ibc/core/channel/v1/tx.ts +0 -4866
- package/src/ibc/core/channel/v1/upgrade.ts +0 -388
- package/src/ibc/core/client/v1/client.ts +0 -927
- package/src/ibc/core/client/v1/genesis.ts +0 -426
- package/src/ibc/core/client/v1/query.rpc.func.ts +0 -113
- package/src/ibc/core/client/v1/query.ts +0 -2280
- package/src/ibc/core/client/v1/tx.registry.ts +0 -137
- package/src/ibc/core/client/v1/tx.rpc.func.ts +0 -67
- package/src/ibc/core/client/v1/tx.ts +0 -1543
- package/src/ibc/core/commitment/v1/commitment.ts +0 -418
- package/src/ibc/core/connection/v1/connection.ts +0 -1010
- package/src/ibc/core/connection/v1/genesis.ts +0 -146
- package/src/ibc/core/connection/v1/query.rpc.func.ts +0 -69
- package/src/ibc/core/connection/v1/query.ts +0 -1408
- package/src/ibc/core/connection/v1/tx.registry.ts +0 -101
- package/src/ibc/core/connection/v1/tx.rpc.func.ts +0 -49
- package/src/ibc/core/connection/v1/tx.ts +0 -1365
- package/src/ibc/core/types/v1/genesis.ts +0 -137
- package/src/ibc/lightclients/localhost/v2/localhost.ts +0 -100
- package/src/ibc/lightclients/solomachine/v2/solomachine.ts +0 -2103
- package/src/ibc/lightclients/solomachine/v3/solomachine.ts +0 -1070
- package/src/ibc/lightclients/tendermint/v1/tendermint.ts +0 -838
- package/src/ibc/lightclients/wasm/v1/genesis.ts +0 -197
- package/src/ibc/lightclients/wasm/v1/query.rpc.func.ts +0 -25
- package/src/ibc/lightclients/wasm/v1/query.ts +0 -404
- package/src/ibc/lightclients/wasm/v1/tx.registry.ts +0 -65
- package/src/ibc/lightclients/wasm/v1/tx.rpc.func.ts +0 -31
- package/src/ibc/lightclients/wasm/v1/tx.ts +0 -621
- package/src/ibc/lightclients/wasm/v1/wasm.ts +0 -438
- package/src/react-query.ts +0 -185
- package/src/registry.ts +0 -218
- package/src/tendermint/abci/types.ts +0 -6283
- package/src/tendermint/crypto/keys.ts +0 -103
- package/src/tendermint/crypto/proof.ts +0 -555
- package/src/tendermint/p2p/types.ts +0 -507
- package/src/tendermint/types/block.ts +0 -131
- package/src/tendermint/types/evidence.ts +0 -476
- package/src/tendermint/types/params.ts +0 -814
- package/src/tendermint/types/types.ts +0 -2157
- package/src/tendermint/types/validator.ts +0 -389
- package/src/tendermint/version/types.ts +0 -219
- package/src/types.ts +0 -155
- package/src/utf8.ts +0 -148
- package/src/varint.ts +0 -488
- package/src/xpla/reward/v1beta1/genesis.ts +0 -92
- package/src/xpla/reward/v1beta1/query.rpc.func.ts +0 -25
- package/src/xpla/reward/v1beta1/query.ts +0 -333
- package/src/xpla/reward/v1beta1/reward.ts +0 -153
- package/src/xpla/reward/v1beta1/tx.registry.ts +0 -47
- package/src/xpla/reward/v1beta1/tx.rpc.func.ts +0 -22
- package/src/xpla/reward/v1beta1/tx.ts +0 -391
- package/src/xpla/volunteer/v1beta1/genesis.ts +0 -92
- package/src/xpla/volunteer/v1beta1/proposal.ts +0 -649
- package/src/xpla/volunteer/v1beta1/query.rpc.func.ts +0 -14
- package/src/xpla/volunteer/v1beta1/query.ts +0 -160
- package/src/xpla/volunteer/v1beta1/tx.registry.ts +0 -47
- package/src/xpla/volunteer/v1beta1/tx.rpc.func.ts +0 -22
- package/src/xpla/volunteer/v1beta1/tx.ts +0 -448
- package/src/xpla/volunteer/v1beta1/volunteervalidator.ts +0 -107
- package/tsconfig.esm.json +0 -10
- package/tsconfig.json +0 -10
|
@@ -1,2294 +0,0 @@
|
|
|
1
|
-
import { Tx, TxAmino } from "./tx";
|
|
2
|
-
import { PageRequest, PageRequestAmino, PageResponse, PageResponseAmino } from "../../base/query/v1beta1/pagination";
|
|
3
|
-
import { TxResponse, TxResponseAmino, GasInfo, GasInfoAmino, Result, ResultAmino } from "../../base/abci/v1beta1/abci";
|
|
4
|
-
import { BlockID, BlockIDAmino } from "../../../tendermint/types/types";
|
|
5
|
-
import { Block, BlockAmino } from "../../../tendermint/types/block";
|
|
6
|
-
import { isSet, DeepPartial, bytesFromBase64, base64FromBytes } from "../../../helpers";
|
|
7
|
-
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
8
|
-
import { GlobalDecoderRegistry } from "../../../registry";
|
|
9
|
-
/** OrderBy defines the sorting order */
|
|
10
|
-
export enum OrderBy {
|
|
11
|
-
/**
|
|
12
|
-
* ORDER_BY_UNSPECIFIED - ORDER_BY_UNSPECIFIED specifies an unknown sorting order. OrderBy defaults
|
|
13
|
-
* to ASC in this case.
|
|
14
|
-
*/
|
|
15
|
-
ORDER_BY_UNSPECIFIED = 0,
|
|
16
|
-
/** ORDER_BY_ASC - ORDER_BY_ASC defines ascending order */
|
|
17
|
-
ORDER_BY_ASC = 1,
|
|
18
|
-
/** ORDER_BY_DESC - ORDER_BY_DESC defines descending order */
|
|
19
|
-
ORDER_BY_DESC = 2,
|
|
20
|
-
UNRECOGNIZED = -1,
|
|
21
|
-
}
|
|
22
|
-
export const OrderByAmino = OrderBy;
|
|
23
|
-
export function orderByFromJSON(object: any): OrderBy {
|
|
24
|
-
switch (object) {
|
|
25
|
-
case 0:
|
|
26
|
-
case "ORDER_BY_UNSPECIFIED":
|
|
27
|
-
return OrderBy.ORDER_BY_UNSPECIFIED;
|
|
28
|
-
case 1:
|
|
29
|
-
case "ORDER_BY_ASC":
|
|
30
|
-
return OrderBy.ORDER_BY_ASC;
|
|
31
|
-
case 2:
|
|
32
|
-
case "ORDER_BY_DESC":
|
|
33
|
-
return OrderBy.ORDER_BY_DESC;
|
|
34
|
-
case -1:
|
|
35
|
-
case "UNRECOGNIZED":
|
|
36
|
-
default:
|
|
37
|
-
return OrderBy.UNRECOGNIZED;
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
export function orderByToJSON(object: OrderBy): string {
|
|
41
|
-
switch (object) {
|
|
42
|
-
case OrderBy.ORDER_BY_UNSPECIFIED:
|
|
43
|
-
return "ORDER_BY_UNSPECIFIED";
|
|
44
|
-
case OrderBy.ORDER_BY_ASC:
|
|
45
|
-
return "ORDER_BY_ASC";
|
|
46
|
-
case OrderBy.ORDER_BY_DESC:
|
|
47
|
-
return "ORDER_BY_DESC";
|
|
48
|
-
case OrderBy.UNRECOGNIZED:
|
|
49
|
-
default:
|
|
50
|
-
return "UNRECOGNIZED";
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
/**
|
|
54
|
-
* BroadcastMode specifies the broadcast mode for the TxService.Broadcast RPC
|
|
55
|
-
* method.
|
|
56
|
-
*/
|
|
57
|
-
export enum BroadcastMode {
|
|
58
|
-
/** BROADCAST_MODE_UNSPECIFIED - zero-value for mode ordering */
|
|
59
|
-
BROADCAST_MODE_UNSPECIFIED = 0,
|
|
60
|
-
/**
|
|
61
|
-
* BROADCAST_MODE_BLOCK - DEPRECATED: use BROADCAST_MODE_SYNC instead,
|
|
62
|
-
* BROADCAST_MODE_BLOCK is not supported by the SDK from v0.47.x onwards.
|
|
63
|
-
*/
|
|
64
|
-
BROADCAST_MODE_BLOCK = 1,
|
|
65
|
-
/**
|
|
66
|
-
* BROADCAST_MODE_SYNC - BROADCAST_MODE_SYNC defines a tx broadcasting mode where the client waits
|
|
67
|
-
* for a CheckTx execution response only.
|
|
68
|
-
*/
|
|
69
|
-
BROADCAST_MODE_SYNC = 2,
|
|
70
|
-
/**
|
|
71
|
-
* BROADCAST_MODE_ASYNC - BROADCAST_MODE_ASYNC defines a tx broadcasting mode where the client
|
|
72
|
-
* returns immediately.
|
|
73
|
-
*/
|
|
74
|
-
BROADCAST_MODE_ASYNC = 3,
|
|
75
|
-
UNRECOGNIZED = -1,
|
|
76
|
-
}
|
|
77
|
-
export const BroadcastModeAmino = BroadcastMode;
|
|
78
|
-
export function broadcastModeFromJSON(object: any): BroadcastMode {
|
|
79
|
-
switch (object) {
|
|
80
|
-
case 0:
|
|
81
|
-
case "BROADCAST_MODE_UNSPECIFIED":
|
|
82
|
-
return BroadcastMode.BROADCAST_MODE_UNSPECIFIED;
|
|
83
|
-
case 1:
|
|
84
|
-
case "BROADCAST_MODE_BLOCK":
|
|
85
|
-
return BroadcastMode.BROADCAST_MODE_BLOCK;
|
|
86
|
-
case 2:
|
|
87
|
-
case "BROADCAST_MODE_SYNC":
|
|
88
|
-
return BroadcastMode.BROADCAST_MODE_SYNC;
|
|
89
|
-
case 3:
|
|
90
|
-
case "BROADCAST_MODE_ASYNC":
|
|
91
|
-
return BroadcastMode.BROADCAST_MODE_ASYNC;
|
|
92
|
-
case -1:
|
|
93
|
-
case "UNRECOGNIZED":
|
|
94
|
-
default:
|
|
95
|
-
return BroadcastMode.UNRECOGNIZED;
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
export function broadcastModeToJSON(object: BroadcastMode): string {
|
|
99
|
-
switch (object) {
|
|
100
|
-
case BroadcastMode.BROADCAST_MODE_UNSPECIFIED:
|
|
101
|
-
return "BROADCAST_MODE_UNSPECIFIED";
|
|
102
|
-
case BroadcastMode.BROADCAST_MODE_BLOCK:
|
|
103
|
-
return "BROADCAST_MODE_BLOCK";
|
|
104
|
-
case BroadcastMode.BROADCAST_MODE_SYNC:
|
|
105
|
-
return "BROADCAST_MODE_SYNC";
|
|
106
|
-
case BroadcastMode.BROADCAST_MODE_ASYNC:
|
|
107
|
-
return "BROADCAST_MODE_ASYNC";
|
|
108
|
-
case BroadcastMode.UNRECOGNIZED:
|
|
109
|
-
default:
|
|
110
|
-
return "UNRECOGNIZED";
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
/**
|
|
114
|
-
* GetTxsEventRequest is the request type for the Service.TxsByEvents
|
|
115
|
-
* RPC method.
|
|
116
|
-
*/
|
|
117
|
-
export interface GetTxsEventRequest {
|
|
118
|
-
/**
|
|
119
|
-
* events is the list of transaction event type.
|
|
120
|
-
* Deprecated post v0.47.x: use query instead, which should contain a valid
|
|
121
|
-
* events query.
|
|
122
|
-
*/
|
|
123
|
-
/** @deprecated */
|
|
124
|
-
events: string[];
|
|
125
|
-
/**
|
|
126
|
-
* pagination defines a pagination for the request.
|
|
127
|
-
* Deprecated post v0.46.x: use page and limit instead.
|
|
128
|
-
*/
|
|
129
|
-
/** @deprecated */
|
|
130
|
-
pagination?: PageRequest;
|
|
131
|
-
orderBy: OrderBy;
|
|
132
|
-
/**
|
|
133
|
-
* page is the page number to query, starts at 1. If not provided, will
|
|
134
|
-
* default to first page.
|
|
135
|
-
*/
|
|
136
|
-
page: bigint;
|
|
137
|
-
/**
|
|
138
|
-
* limit is the total number of results to be returned in the result page.
|
|
139
|
-
* If left empty it will default to a value to be set by each app.
|
|
140
|
-
*/
|
|
141
|
-
limit: bigint;
|
|
142
|
-
/**
|
|
143
|
-
* query defines the transaction event query that is proxied to Tendermint's
|
|
144
|
-
* TxSearch RPC method. The query must be valid.
|
|
145
|
-
*
|
|
146
|
-
* Since cosmos-sdk 0.50
|
|
147
|
-
*/
|
|
148
|
-
query: string;
|
|
149
|
-
}
|
|
150
|
-
export interface GetTxsEventRequestProtoMsg {
|
|
151
|
-
typeUrl: "/cosmos.tx.v1beta1.GetTxsEventRequest";
|
|
152
|
-
value: Uint8Array;
|
|
153
|
-
}
|
|
154
|
-
/**
|
|
155
|
-
* GetTxsEventRequest is the request type for the Service.TxsByEvents
|
|
156
|
-
* RPC method.
|
|
157
|
-
*/
|
|
158
|
-
export interface GetTxsEventRequestAmino {
|
|
159
|
-
/**
|
|
160
|
-
* events is the list of transaction event type.
|
|
161
|
-
* Deprecated post v0.47.x: use query instead, which should contain a valid
|
|
162
|
-
* events query.
|
|
163
|
-
*/
|
|
164
|
-
/** @deprecated */
|
|
165
|
-
events: string[];
|
|
166
|
-
/**
|
|
167
|
-
* pagination defines a pagination for the request.
|
|
168
|
-
* Deprecated post v0.46.x: use page and limit instead.
|
|
169
|
-
*/
|
|
170
|
-
/** @deprecated */
|
|
171
|
-
pagination?: PageRequestAmino;
|
|
172
|
-
order_by: OrderBy;
|
|
173
|
-
/**
|
|
174
|
-
* page is the page number to query, starts at 1. If not provided, will
|
|
175
|
-
* default to first page.
|
|
176
|
-
*/
|
|
177
|
-
page: string;
|
|
178
|
-
/**
|
|
179
|
-
* limit is the total number of results to be returned in the result page.
|
|
180
|
-
* If left empty it will default to a value to be set by each app.
|
|
181
|
-
*/
|
|
182
|
-
limit: string;
|
|
183
|
-
/**
|
|
184
|
-
* query defines the transaction event query that is proxied to Tendermint's
|
|
185
|
-
* TxSearch RPC method. The query must be valid.
|
|
186
|
-
*
|
|
187
|
-
* Since cosmos-sdk 0.50
|
|
188
|
-
*/
|
|
189
|
-
query: string;
|
|
190
|
-
}
|
|
191
|
-
export interface GetTxsEventRequestAminoMsg {
|
|
192
|
-
type: "cosmos-sdk/GetTxsEventRequest";
|
|
193
|
-
value: GetTxsEventRequestAmino;
|
|
194
|
-
}
|
|
195
|
-
/**
|
|
196
|
-
* GetTxsEventResponse is the response type for the Service.TxsByEvents
|
|
197
|
-
* RPC method.
|
|
198
|
-
*/
|
|
199
|
-
export interface GetTxsEventResponse {
|
|
200
|
-
/** txs is the list of queried transactions. */
|
|
201
|
-
txs: Tx[];
|
|
202
|
-
/** tx_responses is the list of queried TxResponses. */
|
|
203
|
-
txResponses: TxResponse[];
|
|
204
|
-
/**
|
|
205
|
-
* pagination defines a pagination for the response.
|
|
206
|
-
* Deprecated post v0.46.x: use total instead.
|
|
207
|
-
*/
|
|
208
|
-
/** @deprecated */
|
|
209
|
-
pagination?: PageResponse;
|
|
210
|
-
/** total is total number of results available */
|
|
211
|
-
total: bigint;
|
|
212
|
-
}
|
|
213
|
-
export interface GetTxsEventResponseProtoMsg {
|
|
214
|
-
typeUrl: "/cosmos.tx.v1beta1.GetTxsEventResponse";
|
|
215
|
-
value: Uint8Array;
|
|
216
|
-
}
|
|
217
|
-
/**
|
|
218
|
-
* GetTxsEventResponse is the response type for the Service.TxsByEvents
|
|
219
|
-
* RPC method.
|
|
220
|
-
*/
|
|
221
|
-
export interface GetTxsEventResponseAmino {
|
|
222
|
-
/** txs is the list of queried transactions. */
|
|
223
|
-
txs: TxAmino[];
|
|
224
|
-
/** tx_responses is the list of queried TxResponses. */
|
|
225
|
-
tx_responses: TxResponseAmino[];
|
|
226
|
-
/**
|
|
227
|
-
* pagination defines a pagination for the response.
|
|
228
|
-
* Deprecated post v0.46.x: use total instead.
|
|
229
|
-
*/
|
|
230
|
-
/** @deprecated */
|
|
231
|
-
pagination?: PageResponseAmino;
|
|
232
|
-
/** total is total number of results available */
|
|
233
|
-
total: string;
|
|
234
|
-
}
|
|
235
|
-
export interface GetTxsEventResponseAminoMsg {
|
|
236
|
-
type: "cosmos-sdk/GetTxsEventResponse";
|
|
237
|
-
value: GetTxsEventResponseAmino;
|
|
238
|
-
}
|
|
239
|
-
/**
|
|
240
|
-
* BroadcastTxRequest is the request type for the Service.BroadcastTxRequest
|
|
241
|
-
* RPC method.
|
|
242
|
-
*/
|
|
243
|
-
export interface BroadcastTxRequest {
|
|
244
|
-
/** tx_bytes is the raw transaction. */
|
|
245
|
-
txBytes: Uint8Array;
|
|
246
|
-
mode: BroadcastMode;
|
|
247
|
-
}
|
|
248
|
-
export interface BroadcastTxRequestProtoMsg {
|
|
249
|
-
typeUrl: "/cosmos.tx.v1beta1.BroadcastTxRequest";
|
|
250
|
-
value: Uint8Array;
|
|
251
|
-
}
|
|
252
|
-
/**
|
|
253
|
-
* BroadcastTxRequest is the request type for the Service.BroadcastTxRequest
|
|
254
|
-
* RPC method.
|
|
255
|
-
*/
|
|
256
|
-
export interface BroadcastTxRequestAmino {
|
|
257
|
-
/** tx_bytes is the raw transaction. */
|
|
258
|
-
tx_bytes: string;
|
|
259
|
-
mode: BroadcastMode;
|
|
260
|
-
}
|
|
261
|
-
export interface BroadcastTxRequestAminoMsg {
|
|
262
|
-
type: "cosmos-sdk/BroadcastTxRequest";
|
|
263
|
-
value: BroadcastTxRequestAmino;
|
|
264
|
-
}
|
|
265
|
-
/**
|
|
266
|
-
* BroadcastTxResponse is the response type for the
|
|
267
|
-
* Service.BroadcastTx method.
|
|
268
|
-
*/
|
|
269
|
-
export interface BroadcastTxResponse {
|
|
270
|
-
/** tx_response is the queried TxResponses. */
|
|
271
|
-
txResponse?: TxResponse;
|
|
272
|
-
}
|
|
273
|
-
export interface BroadcastTxResponseProtoMsg {
|
|
274
|
-
typeUrl: "/cosmos.tx.v1beta1.BroadcastTxResponse";
|
|
275
|
-
value: Uint8Array;
|
|
276
|
-
}
|
|
277
|
-
/**
|
|
278
|
-
* BroadcastTxResponse is the response type for the
|
|
279
|
-
* Service.BroadcastTx method.
|
|
280
|
-
*/
|
|
281
|
-
export interface BroadcastTxResponseAmino {
|
|
282
|
-
/** tx_response is the queried TxResponses. */
|
|
283
|
-
tx_response?: TxResponseAmino;
|
|
284
|
-
}
|
|
285
|
-
export interface BroadcastTxResponseAminoMsg {
|
|
286
|
-
type: "cosmos-sdk/BroadcastTxResponse";
|
|
287
|
-
value: BroadcastTxResponseAmino;
|
|
288
|
-
}
|
|
289
|
-
/**
|
|
290
|
-
* SimulateRequest is the request type for the Service.Simulate
|
|
291
|
-
* RPC method.
|
|
292
|
-
*/
|
|
293
|
-
export interface SimulateRequest {
|
|
294
|
-
/**
|
|
295
|
-
* tx is the transaction to simulate.
|
|
296
|
-
* Deprecated. Send raw tx bytes instead.
|
|
297
|
-
*/
|
|
298
|
-
/** @deprecated */
|
|
299
|
-
tx?: Tx;
|
|
300
|
-
/**
|
|
301
|
-
* tx_bytes is the raw transaction.
|
|
302
|
-
*
|
|
303
|
-
* Since: cosmos-sdk 0.43
|
|
304
|
-
*/
|
|
305
|
-
txBytes: Uint8Array;
|
|
306
|
-
}
|
|
307
|
-
export interface SimulateRequestProtoMsg {
|
|
308
|
-
typeUrl: "/cosmos.tx.v1beta1.SimulateRequest";
|
|
309
|
-
value: Uint8Array;
|
|
310
|
-
}
|
|
311
|
-
/**
|
|
312
|
-
* SimulateRequest is the request type for the Service.Simulate
|
|
313
|
-
* RPC method.
|
|
314
|
-
*/
|
|
315
|
-
export interface SimulateRequestAmino {
|
|
316
|
-
/**
|
|
317
|
-
* tx is the transaction to simulate.
|
|
318
|
-
* Deprecated. Send raw tx bytes instead.
|
|
319
|
-
*/
|
|
320
|
-
/** @deprecated */
|
|
321
|
-
tx?: TxAmino;
|
|
322
|
-
/**
|
|
323
|
-
* tx_bytes is the raw transaction.
|
|
324
|
-
*
|
|
325
|
-
* Since: cosmos-sdk 0.43
|
|
326
|
-
*/
|
|
327
|
-
tx_bytes: string;
|
|
328
|
-
}
|
|
329
|
-
export interface SimulateRequestAminoMsg {
|
|
330
|
-
type: "cosmos-sdk/SimulateRequest";
|
|
331
|
-
value: SimulateRequestAmino;
|
|
332
|
-
}
|
|
333
|
-
/**
|
|
334
|
-
* SimulateResponse is the response type for the
|
|
335
|
-
* Service.SimulateRPC method.
|
|
336
|
-
*/
|
|
337
|
-
export interface SimulateResponse {
|
|
338
|
-
/** gas_info is the information about gas used in the simulation. */
|
|
339
|
-
gasInfo?: GasInfo;
|
|
340
|
-
/** result is the result of the simulation. */
|
|
341
|
-
result?: Result;
|
|
342
|
-
}
|
|
343
|
-
export interface SimulateResponseProtoMsg {
|
|
344
|
-
typeUrl: "/cosmos.tx.v1beta1.SimulateResponse";
|
|
345
|
-
value: Uint8Array;
|
|
346
|
-
}
|
|
347
|
-
/**
|
|
348
|
-
* SimulateResponse is the response type for the
|
|
349
|
-
* Service.SimulateRPC method.
|
|
350
|
-
*/
|
|
351
|
-
export interface SimulateResponseAmino {
|
|
352
|
-
/** gas_info is the information about gas used in the simulation. */
|
|
353
|
-
gas_info?: GasInfoAmino;
|
|
354
|
-
/** result is the result of the simulation. */
|
|
355
|
-
result?: ResultAmino;
|
|
356
|
-
}
|
|
357
|
-
export interface SimulateResponseAminoMsg {
|
|
358
|
-
type: "cosmos-sdk/SimulateResponse";
|
|
359
|
-
value: SimulateResponseAmino;
|
|
360
|
-
}
|
|
361
|
-
/**
|
|
362
|
-
* GetTxRequest is the request type for the Service.GetTx
|
|
363
|
-
* RPC method.
|
|
364
|
-
*/
|
|
365
|
-
export interface GetTxRequest {
|
|
366
|
-
/** hash is the tx hash to query, encoded as a hex string. */
|
|
367
|
-
hash: string;
|
|
368
|
-
}
|
|
369
|
-
export interface GetTxRequestProtoMsg {
|
|
370
|
-
typeUrl: "/cosmos.tx.v1beta1.GetTxRequest";
|
|
371
|
-
value: Uint8Array;
|
|
372
|
-
}
|
|
373
|
-
/**
|
|
374
|
-
* GetTxRequest is the request type for the Service.GetTx
|
|
375
|
-
* RPC method.
|
|
376
|
-
*/
|
|
377
|
-
export interface GetTxRequestAmino {
|
|
378
|
-
/** hash is the tx hash to query, encoded as a hex string. */
|
|
379
|
-
hash: string;
|
|
380
|
-
}
|
|
381
|
-
export interface GetTxRequestAminoMsg {
|
|
382
|
-
type: "cosmos-sdk/GetTxRequest";
|
|
383
|
-
value: GetTxRequestAmino;
|
|
384
|
-
}
|
|
385
|
-
/** GetTxResponse is the response type for the Service.GetTx method. */
|
|
386
|
-
export interface GetTxResponse {
|
|
387
|
-
/** tx is the queried transaction. */
|
|
388
|
-
tx?: Tx;
|
|
389
|
-
/** tx_response is the queried TxResponses. */
|
|
390
|
-
txResponse?: TxResponse;
|
|
391
|
-
}
|
|
392
|
-
export interface GetTxResponseProtoMsg {
|
|
393
|
-
typeUrl: "/cosmos.tx.v1beta1.GetTxResponse";
|
|
394
|
-
value: Uint8Array;
|
|
395
|
-
}
|
|
396
|
-
/** GetTxResponse is the response type for the Service.GetTx method. */
|
|
397
|
-
export interface GetTxResponseAmino {
|
|
398
|
-
/** tx is the queried transaction. */
|
|
399
|
-
tx?: TxAmino;
|
|
400
|
-
/** tx_response is the queried TxResponses. */
|
|
401
|
-
tx_response?: TxResponseAmino;
|
|
402
|
-
}
|
|
403
|
-
export interface GetTxResponseAminoMsg {
|
|
404
|
-
type: "cosmos-sdk/GetTxResponse";
|
|
405
|
-
value: GetTxResponseAmino;
|
|
406
|
-
}
|
|
407
|
-
/**
|
|
408
|
-
* GetBlockWithTxsRequest is the request type for the Service.GetBlockWithTxs
|
|
409
|
-
* RPC method.
|
|
410
|
-
*
|
|
411
|
-
* Since: cosmos-sdk 0.45.2
|
|
412
|
-
*/
|
|
413
|
-
export interface GetBlockWithTxsRequest {
|
|
414
|
-
/** height is the height of the block to query. */
|
|
415
|
-
height: bigint;
|
|
416
|
-
/** pagination defines a pagination for the request. */
|
|
417
|
-
pagination?: PageRequest;
|
|
418
|
-
}
|
|
419
|
-
export interface GetBlockWithTxsRequestProtoMsg {
|
|
420
|
-
typeUrl: "/cosmos.tx.v1beta1.GetBlockWithTxsRequest";
|
|
421
|
-
value: Uint8Array;
|
|
422
|
-
}
|
|
423
|
-
/**
|
|
424
|
-
* GetBlockWithTxsRequest is the request type for the Service.GetBlockWithTxs
|
|
425
|
-
* RPC method.
|
|
426
|
-
*
|
|
427
|
-
* Since: cosmos-sdk 0.45.2
|
|
428
|
-
*/
|
|
429
|
-
export interface GetBlockWithTxsRequestAmino {
|
|
430
|
-
/** height is the height of the block to query. */
|
|
431
|
-
height: string;
|
|
432
|
-
/** pagination defines a pagination for the request. */
|
|
433
|
-
pagination?: PageRequestAmino;
|
|
434
|
-
}
|
|
435
|
-
export interface GetBlockWithTxsRequestAminoMsg {
|
|
436
|
-
type: "cosmos-sdk/GetBlockWithTxsRequest";
|
|
437
|
-
value: GetBlockWithTxsRequestAmino;
|
|
438
|
-
}
|
|
439
|
-
/**
|
|
440
|
-
* GetBlockWithTxsResponse is the response type for the Service.GetBlockWithTxs
|
|
441
|
-
* method.
|
|
442
|
-
*
|
|
443
|
-
* Since: cosmos-sdk 0.45.2
|
|
444
|
-
*/
|
|
445
|
-
export interface GetBlockWithTxsResponse {
|
|
446
|
-
/** txs are the transactions in the block. */
|
|
447
|
-
txs: Tx[];
|
|
448
|
-
blockId?: BlockID;
|
|
449
|
-
block?: Block;
|
|
450
|
-
/** pagination defines a pagination for the response. */
|
|
451
|
-
pagination?: PageResponse;
|
|
452
|
-
}
|
|
453
|
-
export interface GetBlockWithTxsResponseProtoMsg {
|
|
454
|
-
typeUrl: "/cosmos.tx.v1beta1.GetBlockWithTxsResponse";
|
|
455
|
-
value: Uint8Array;
|
|
456
|
-
}
|
|
457
|
-
/**
|
|
458
|
-
* GetBlockWithTxsResponse is the response type for the Service.GetBlockWithTxs
|
|
459
|
-
* method.
|
|
460
|
-
*
|
|
461
|
-
* Since: cosmos-sdk 0.45.2
|
|
462
|
-
*/
|
|
463
|
-
export interface GetBlockWithTxsResponseAmino {
|
|
464
|
-
/** txs are the transactions in the block. */
|
|
465
|
-
txs: TxAmino[];
|
|
466
|
-
block_id?: BlockIDAmino;
|
|
467
|
-
block?: BlockAmino;
|
|
468
|
-
/** pagination defines a pagination for the response. */
|
|
469
|
-
pagination?: PageResponseAmino;
|
|
470
|
-
}
|
|
471
|
-
export interface GetBlockWithTxsResponseAminoMsg {
|
|
472
|
-
type: "cosmos-sdk/GetBlockWithTxsResponse";
|
|
473
|
-
value: GetBlockWithTxsResponseAmino;
|
|
474
|
-
}
|
|
475
|
-
/**
|
|
476
|
-
* TxDecodeRequest is the request type for the Service.TxDecode
|
|
477
|
-
* RPC method.
|
|
478
|
-
*
|
|
479
|
-
* Since: cosmos-sdk 0.47
|
|
480
|
-
*/
|
|
481
|
-
export interface TxDecodeRequest {
|
|
482
|
-
/** tx_bytes is the raw transaction. */
|
|
483
|
-
txBytes: Uint8Array;
|
|
484
|
-
}
|
|
485
|
-
export interface TxDecodeRequestProtoMsg {
|
|
486
|
-
typeUrl: "/cosmos.tx.v1beta1.TxDecodeRequest";
|
|
487
|
-
value: Uint8Array;
|
|
488
|
-
}
|
|
489
|
-
/**
|
|
490
|
-
* TxDecodeRequest is the request type for the Service.TxDecode
|
|
491
|
-
* RPC method.
|
|
492
|
-
*
|
|
493
|
-
* Since: cosmos-sdk 0.47
|
|
494
|
-
*/
|
|
495
|
-
export interface TxDecodeRequestAmino {
|
|
496
|
-
/** tx_bytes is the raw transaction. */
|
|
497
|
-
tx_bytes: string;
|
|
498
|
-
}
|
|
499
|
-
export interface TxDecodeRequestAminoMsg {
|
|
500
|
-
type: "cosmos-sdk/TxDecodeRequest";
|
|
501
|
-
value: TxDecodeRequestAmino;
|
|
502
|
-
}
|
|
503
|
-
/**
|
|
504
|
-
* TxDecodeResponse is the response type for the
|
|
505
|
-
* Service.TxDecode method.
|
|
506
|
-
*
|
|
507
|
-
* Since: cosmos-sdk 0.47
|
|
508
|
-
*/
|
|
509
|
-
export interface TxDecodeResponse {
|
|
510
|
-
/** tx is the decoded transaction. */
|
|
511
|
-
tx?: Tx;
|
|
512
|
-
}
|
|
513
|
-
export interface TxDecodeResponseProtoMsg {
|
|
514
|
-
typeUrl: "/cosmos.tx.v1beta1.TxDecodeResponse";
|
|
515
|
-
value: Uint8Array;
|
|
516
|
-
}
|
|
517
|
-
/**
|
|
518
|
-
* TxDecodeResponse is the response type for the
|
|
519
|
-
* Service.TxDecode method.
|
|
520
|
-
*
|
|
521
|
-
* Since: cosmos-sdk 0.47
|
|
522
|
-
*/
|
|
523
|
-
export interface TxDecodeResponseAmino {
|
|
524
|
-
/** tx is the decoded transaction. */
|
|
525
|
-
tx?: TxAmino;
|
|
526
|
-
}
|
|
527
|
-
export interface TxDecodeResponseAminoMsg {
|
|
528
|
-
type: "cosmos-sdk/TxDecodeResponse";
|
|
529
|
-
value: TxDecodeResponseAmino;
|
|
530
|
-
}
|
|
531
|
-
/**
|
|
532
|
-
* TxEncodeRequest is the request type for the Service.TxEncode
|
|
533
|
-
* RPC method.
|
|
534
|
-
*
|
|
535
|
-
* Since: cosmos-sdk 0.47
|
|
536
|
-
*/
|
|
537
|
-
export interface TxEncodeRequest {
|
|
538
|
-
/** tx is the transaction to encode. */
|
|
539
|
-
tx?: Tx;
|
|
540
|
-
}
|
|
541
|
-
export interface TxEncodeRequestProtoMsg {
|
|
542
|
-
typeUrl: "/cosmos.tx.v1beta1.TxEncodeRequest";
|
|
543
|
-
value: Uint8Array;
|
|
544
|
-
}
|
|
545
|
-
/**
|
|
546
|
-
* TxEncodeRequest is the request type for the Service.TxEncode
|
|
547
|
-
* RPC method.
|
|
548
|
-
*
|
|
549
|
-
* Since: cosmos-sdk 0.47
|
|
550
|
-
*/
|
|
551
|
-
export interface TxEncodeRequestAmino {
|
|
552
|
-
/** tx is the transaction to encode. */
|
|
553
|
-
tx?: TxAmino;
|
|
554
|
-
}
|
|
555
|
-
export interface TxEncodeRequestAminoMsg {
|
|
556
|
-
type: "cosmos-sdk/TxEncodeRequest";
|
|
557
|
-
value: TxEncodeRequestAmino;
|
|
558
|
-
}
|
|
559
|
-
/**
|
|
560
|
-
* TxEncodeResponse is the response type for the
|
|
561
|
-
* Service.TxEncode method.
|
|
562
|
-
*
|
|
563
|
-
* Since: cosmos-sdk 0.47
|
|
564
|
-
*/
|
|
565
|
-
export interface TxEncodeResponse {
|
|
566
|
-
/** tx_bytes is the encoded transaction bytes. */
|
|
567
|
-
txBytes: Uint8Array;
|
|
568
|
-
}
|
|
569
|
-
export interface TxEncodeResponseProtoMsg {
|
|
570
|
-
typeUrl: "/cosmos.tx.v1beta1.TxEncodeResponse";
|
|
571
|
-
value: Uint8Array;
|
|
572
|
-
}
|
|
573
|
-
/**
|
|
574
|
-
* TxEncodeResponse is the response type for the
|
|
575
|
-
* Service.TxEncode method.
|
|
576
|
-
*
|
|
577
|
-
* Since: cosmos-sdk 0.47
|
|
578
|
-
*/
|
|
579
|
-
export interface TxEncodeResponseAmino {
|
|
580
|
-
/** tx_bytes is the encoded transaction bytes. */
|
|
581
|
-
tx_bytes: string;
|
|
582
|
-
}
|
|
583
|
-
export interface TxEncodeResponseAminoMsg {
|
|
584
|
-
type: "cosmos-sdk/TxEncodeResponse";
|
|
585
|
-
value: TxEncodeResponseAmino;
|
|
586
|
-
}
|
|
587
|
-
/**
|
|
588
|
-
* TxEncodeAminoRequest is the request type for the Service.TxEncodeAmino
|
|
589
|
-
* RPC method.
|
|
590
|
-
*
|
|
591
|
-
* Since: cosmos-sdk 0.47
|
|
592
|
-
*/
|
|
593
|
-
export interface TxEncodeAminoRequest {
|
|
594
|
-
aminoJson: string;
|
|
595
|
-
}
|
|
596
|
-
export interface TxEncodeAminoRequestProtoMsg {
|
|
597
|
-
typeUrl: "/cosmos.tx.v1beta1.TxEncodeAminoRequest";
|
|
598
|
-
value: Uint8Array;
|
|
599
|
-
}
|
|
600
|
-
/**
|
|
601
|
-
* TxEncodeAminoRequest is the request type for the Service.TxEncodeAmino
|
|
602
|
-
* RPC method.
|
|
603
|
-
*
|
|
604
|
-
* Since: cosmos-sdk 0.47
|
|
605
|
-
*/
|
|
606
|
-
export interface TxEncodeAminoRequestAmino {
|
|
607
|
-
amino_json: string;
|
|
608
|
-
}
|
|
609
|
-
export interface TxEncodeAminoRequestAminoMsg {
|
|
610
|
-
type: "cosmos-sdk/TxEncodeAminoRequest";
|
|
611
|
-
value: TxEncodeAminoRequestAmino;
|
|
612
|
-
}
|
|
613
|
-
/**
|
|
614
|
-
* TxEncodeAminoResponse is the response type for the Service.TxEncodeAmino
|
|
615
|
-
* RPC method.
|
|
616
|
-
*
|
|
617
|
-
* Since: cosmos-sdk 0.47
|
|
618
|
-
*/
|
|
619
|
-
export interface TxEncodeAminoResponse {
|
|
620
|
-
aminoBinary: Uint8Array;
|
|
621
|
-
}
|
|
622
|
-
export interface TxEncodeAminoResponseProtoMsg {
|
|
623
|
-
typeUrl: "/cosmos.tx.v1beta1.TxEncodeAminoResponse";
|
|
624
|
-
value: Uint8Array;
|
|
625
|
-
}
|
|
626
|
-
/**
|
|
627
|
-
* TxEncodeAminoResponse is the response type for the Service.TxEncodeAmino
|
|
628
|
-
* RPC method.
|
|
629
|
-
*
|
|
630
|
-
* Since: cosmos-sdk 0.47
|
|
631
|
-
*/
|
|
632
|
-
export interface TxEncodeAminoResponseAmino {
|
|
633
|
-
amino_binary: string;
|
|
634
|
-
}
|
|
635
|
-
export interface TxEncodeAminoResponseAminoMsg {
|
|
636
|
-
type: "cosmos-sdk/TxEncodeAminoResponse";
|
|
637
|
-
value: TxEncodeAminoResponseAmino;
|
|
638
|
-
}
|
|
639
|
-
/**
|
|
640
|
-
* TxDecodeAminoRequest is the request type for the Service.TxDecodeAmino
|
|
641
|
-
* RPC method.
|
|
642
|
-
*
|
|
643
|
-
* Since: cosmos-sdk 0.47
|
|
644
|
-
*/
|
|
645
|
-
export interface TxDecodeAminoRequest {
|
|
646
|
-
aminoBinary: Uint8Array;
|
|
647
|
-
}
|
|
648
|
-
export interface TxDecodeAminoRequestProtoMsg {
|
|
649
|
-
typeUrl: "/cosmos.tx.v1beta1.TxDecodeAminoRequest";
|
|
650
|
-
value: Uint8Array;
|
|
651
|
-
}
|
|
652
|
-
/**
|
|
653
|
-
* TxDecodeAminoRequest is the request type for the Service.TxDecodeAmino
|
|
654
|
-
* RPC method.
|
|
655
|
-
*
|
|
656
|
-
* Since: cosmos-sdk 0.47
|
|
657
|
-
*/
|
|
658
|
-
export interface TxDecodeAminoRequestAmino {
|
|
659
|
-
amino_binary: string;
|
|
660
|
-
}
|
|
661
|
-
export interface TxDecodeAminoRequestAminoMsg {
|
|
662
|
-
type: "cosmos-sdk/TxDecodeAminoRequest";
|
|
663
|
-
value: TxDecodeAminoRequestAmino;
|
|
664
|
-
}
|
|
665
|
-
/**
|
|
666
|
-
* TxDecodeAminoResponse is the response type for the Service.TxDecodeAmino
|
|
667
|
-
* RPC method.
|
|
668
|
-
*
|
|
669
|
-
* Since: cosmos-sdk 0.47
|
|
670
|
-
*/
|
|
671
|
-
export interface TxDecodeAminoResponse {
|
|
672
|
-
aminoJson: string;
|
|
673
|
-
}
|
|
674
|
-
export interface TxDecodeAminoResponseProtoMsg {
|
|
675
|
-
typeUrl: "/cosmos.tx.v1beta1.TxDecodeAminoResponse";
|
|
676
|
-
value: Uint8Array;
|
|
677
|
-
}
|
|
678
|
-
/**
|
|
679
|
-
* TxDecodeAminoResponse is the response type for the Service.TxDecodeAmino
|
|
680
|
-
* RPC method.
|
|
681
|
-
*
|
|
682
|
-
* Since: cosmos-sdk 0.47
|
|
683
|
-
*/
|
|
684
|
-
export interface TxDecodeAminoResponseAmino {
|
|
685
|
-
amino_json: string;
|
|
686
|
-
}
|
|
687
|
-
export interface TxDecodeAminoResponseAminoMsg {
|
|
688
|
-
type: "cosmos-sdk/TxDecodeAminoResponse";
|
|
689
|
-
value: TxDecodeAminoResponseAmino;
|
|
690
|
-
}
|
|
691
|
-
function createBaseGetTxsEventRequest(): GetTxsEventRequest {
|
|
692
|
-
return {
|
|
693
|
-
events: [],
|
|
694
|
-
pagination: undefined,
|
|
695
|
-
orderBy: 0,
|
|
696
|
-
page: BigInt(0),
|
|
697
|
-
limit: BigInt(0),
|
|
698
|
-
query: ""
|
|
699
|
-
};
|
|
700
|
-
}
|
|
701
|
-
export const GetTxsEventRequest = {
|
|
702
|
-
typeUrl: "/cosmos.tx.v1beta1.GetTxsEventRequest",
|
|
703
|
-
aminoType: "cosmos-sdk/GetTxsEventRequest",
|
|
704
|
-
is(o: any): o is GetTxsEventRequest {
|
|
705
|
-
return o && (o.$typeUrl === GetTxsEventRequest.typeUrl || Array.isArray(o.events) && (!o.events.length || typeof o.events[0] === "string") && isSet(o.orderBy) && typeof o.page === "bigint" && typeof o.limit === "bigint" && typeof o.query === "string");
|
|
706
|
-
},
|
|
707
|
-
isAmino(o: any): o is GetTxsEventRequestAmino {
|
|
708
|
-
return o && (o.$typeUrl === GetTxsEventRequest.typeUrl || Array.isArray(o.events) && (!o.events.length || typeof o.events[0] === "string") && isSet(o.order_by) && typeof o.page === "bigint" && typeof o.limit === "bigint" && typeof o.query === "string");
|
|
709
|
-
},
|
|
710
|
-
encode(message: GetTxsEventRequest, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
711
|
-
for (const v of message.events) {
|
|
712
|
-
writer.uint32(10).string(v!);
|
|
713
|
-
}
|
|
714
|
-
if (message.pagination !== undefined) {
|
|
715
|
-
PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim();
|
|
716
|
-
}
|
|
717
|
-
if (message.orderBy !== 0) {
|
|
718
|
-
writer.uint32(24).int32(message.orderBy);
|
|
719
|
-
}
|
|
720
|
-
if (message.page !== BigInt(0)) {
|
|
721
|
-
writer.uint32(32).uint64(message.page);
|
|
722
|
-
}
|
|
723
|
-
if (message.limit !== BigInt(0)) {
|
|
724
|
-
writer.uint32(40).uint64(message.limit);
|
|
725
|
-
}
|
|
726
|
-
if (message.query !== "") {
|
|
727
|
-
writer.uint32(50).string(message.query);
|
|
728
|
-
}
|
|
729
|
-
return writer;
|
|
730
|
-
},
|
|
731
|
-
decode(input: BinaryReader | Uint8Array, length?: number): GetTxsEventRequest {
|
|
732
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
733
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
734
|
-
const message = createBaseGetTxsEventRequest();
|
|
735
|
-
while (reader.pos < end) {
|
|
736
|
-
const tag = reader.uint32();
|
|
737
|
-
switch (tag >>> 3) {
|
|
738
|
-
case 1:
|
|
739
|
-
message.events.push(reader.string());
|
|
740
|
-
break;
|
|
741
|
-
case 2:
|
|
742
|
-
message.pagination = PageRequest.decode(reader, reader.uint32());
|
|
743
|
-
break;
|
|
744
|
-
case 3:
|
|
745
|
-
message.orderBy = reader.int32() as any;
|
|
746
|
-
break;
|
|
747
|
-
case 4:
|
|
748
|
-
message.page = reader.uint64();
|
|
749
|
-
break;
|
|
750
|
-
case 5:
|
|
751
|
-
message.limit = reader.uint64();
|
|
752
|
-
break;
|
|
753
|
-
case 6:
|
|
754
|
-
message.query = reader.string();
|
|
755
|
-
break;
|
|
756
|
-
default:
|
|
757
|
-
reader.skipType(tag & 7);
|
|
758
|
-
break;
|
|
759
|
-
}
|
|
760
|
-
}
|
|
761
|
-
return message;
|
|
762
|
-
},
|
|
763
|
-
fromPartial(object: DeepPartial<GetTxsEventRequest>): GetTxsEventRequest {
|
|
764
|
-
const message = createBaseGetTxsEventRequest();
|
|
765
|
-
message.events = object.events?.map(e => e) || [];
|
|
766
|
-
message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined;
|
|
767
|
-
message.orderBy = object.orderBy ?? 0;
|
|
768
|
-
message.page = object.page !== undefined && object.page !== null ? BigInt(object.page.toString()) : BigInt(0);
|
|
769
|
-
message.limit = object.limit !== undefined && object.limit !== null ? BigInt(object.limit.toString()) : BigInt(0);
|
|
770
|
-
message.query = object.query ?? "";
|
|
771
|
-
return message;
|
|
772
|
-
},
|
|
773
|
-
fromAmino(object: GetTxsEventRequestAmino): GetTxsEventRequest {
|
|
774
|
-
const message = createBaseGetTxsEventRequest();
|
|
775
|
-
message.events = object.events?.map(e => e) || [];
|
|
776
|
-
if (object.pagination !== undefined && object.pagination !== null) {
|
|
777
|
-
message.pagination = PageRequest.fromAmino(object.pagination);
|
|
778
|
-
}
|
|
779
|
-
if (object.order_by !== undefined && object.order_by !== null) {
|
|
780
|
-
message.orderBy = object.order_by;
|
|
781
|
-
}
|
|
782
|
-
if (object.page !== undefined && object.page !== null) {
|
|
783
|
-
message.page = BigInt(object.page);
|
|
784
|
-
}
|
|
785
|
-
if (object.limit !== undefined && object.limit !== null) {
|
|
786
|
-
message.limit = BigInt(object.limit);
|
|
787
|
-
}
|
|
788
|
-
if (object.query !== undefined && object.query !== null) {
|
|
789
|
-
message.query = object.query;
|
|
790
|
-
}
|
|
791
|
-
return message;
|
|
792
|
-
},
|
|
793
|
-
toAmino(message: GetTxsEventRequest): GetTxsEventRequestAmino {
|
|
794
|
-
const obj: any = {};
|
|
795
|
-
if (message.events) {
|
|
796
|
-
obj.events = message.events.map(e => e);
|
|
797
|
-
} else {
|
|
798
|
-
obj.events = message.events;
|
|
799
|
-
}
|
|
800
|
-
obj.pagination = message.pagination ? PageRequest.toAmino(message.pagination) : undefined;
|
|
801
|
-
obj.order_by = message.orderBy === 0 ? undefined : message.orderBy;
|
|
802
|
-
obj.page = message.page !== BigInt(0) ? message.page?.toString() : undefined;
|
|
803
|
-
obj.limit = message.limit !== BigInt(0) ? message.limit?.toString() : undefined;
|
|
804
|
-
obj.query = message.query === "" ? undefined : message.query;
|
|
805
|
-
return obj;
|
|
806
|
-
},
|
|
807
|
-
fromAminoMsg(object: GetTxsEventRequestAminoMsg): GetTxsEventRequest {
|
|
808
|
-
return GetTxsEventRequest.fromAmino(object.value);
|
|
809
|
-
},
|
|
810
|
-
toAminoMsg(message: GetTxsEventRequest): GetTxsEventRequestAminoMsg {
|
|
811
|
-
return {
|
|
812
|
-
type: "cosmos-sdk/GetTxsEventRequest",
|
|
813
|
-
value: GetTxsEventRequest.toAmino(message)
|
|
814
|
-
};
|
|
815
|
-
},
|
|
816
|
-
fromProtoMsg(message: GetTxsEventRequestProtoMsg): GetTxsEventRequest {
|
|
817
|
-
return GetTxsEventRequest.decode(message.value);
|
|
818
|
-
},
|
|
819
|
-
toProto(message: GetTxsEventRequest): Uint8Array {
|
|
820
|
-
return GetTxsEventRequest.encode(message).finish();
|
|
821
|
-
},
|
|
822
|
-
toProtoMsg(message: GetTxsEventRequest): GetTxsEventRequestProtoMsg {
|
|
823
|
-
return {
|
|
824
|
-
typeUrl: "/cosmos.tx.v1beta1.GetTxsEventRequest",
|
|
825
|
-
value: GetTxsEventRequest.encode(message).finish()
|
|
826
|
-
};
|
|
827
|
-
}
|
|
828
|
-
};
|
|
829
|
-
GlobalDecoderRegistry.register(GetTxsEventRequest.typeUrl, GetTxsEventRequest);
|
|
830
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(GetTxsEventRequest.aminoType, GetTxsEventRequest.typeUrl);
|
|
831
|
-
function createBaseGetTxsEventResponse(): GetTxsEventResponse {
|
|
832
|
-
return {
|
|
833
|
-
txs: [],
|
|
834
|
-
txResponses: [],
|
|
835
|
-
pagination: undefined,
|
|
836
|
-
total: BigInt(0)
|
|
837
|
-
};
|
|
838
|
-
}
|
|
839
|
-
export const GetTxsEventResponse = {
|
|
840
|
-
typeUrl: "/cosmos.tx.v1beta1.GetTxsEventResponse",
|
|
841
|
-
aminoType: "cosmos-sdk/GetTxsEventResponse",
|
|
842
|
-
is(o: any): o is GetTxsEventResponse {
|
|
843
|
-
return o && (o.$typeUrl === GetTxsEventResponse.typeUrl || Array.isArray(o.txs) && (!o.txs.length || Tx.is(o.txs[0])) && Array.isArray(o.txResponses) && (!o.txResponses.length || TxResponse.is(o.txResponses[0])) && typeof o.total === "bigint");
|
|
844
|
-
},
|
|
845
|
-
isAmino(o: any): o is GetTxsEventResponseAmino {
|
|
846
|
-
return o && (o.$typeUrl === GetTxsEventResponse.typeUrl || Array.isArray(o.txs) && (!o.txs.length || Tx.isAmino(o.txs[0])) && Array.isArray(o.tx_responses) && (!o.tx_responses.length || TxResponse.isAmino(o.tx_responses[0])) && typeof o.total === "bigint");
|
|
847
|
-
},
|
|
848
|
-
encode(message: GetTxsEventResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
849
|
-
for (const v of message.txs) {
|
|
850
|
-
Tx.encode(v!, writer.uint32(10).fork()).ldelim();
|
|
851
|
-
}
|
|
852
|
-
for (const v of message.txResponses) {
|
|
853
|
-
TxResponse.encode(v!, writer.uint32(18).fork()).ldelim();
|
|
854
|
-
}
|
|
855
|
-
if (message.pagination !== undefined) {
|
|
856
|
-
PageResponse.encode(message.pagination, writer.uint32(26).fork()).ldelim();
|
|
857
|
-
}
|
|
858
|
-
if (message.total !== BigInt(0)) {
|
|
859
|
-
writer.uint32(32).uint64(message.total);
|
|
860
|
-
}
|
|
861
|
-
return writer;
|
|
862
|
-
},
|
|
863
|
-
decode(input: BinaryReader | Uint8Array, length?: number): GetTxsEventResponse {
|
|
864
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
865
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
866
|
-
const message = createBaseGetTxsEventResponse();
|
|
867
|
-
while (reader.pos < end) {
|
|
868
|
-
const tag = reader.uint32();
|
|
869
|
-
switch (tag >>> 3) {
|
|
870
|
-
case 1:
|
|
871
|
-
message.txs.push(Tx.decode(reader, reader.uint32()));
|
|
872
|
-
break;
|
|
873
|
-
case 2:
|
|
874
|
-
message.txResponses.push(TxResponse.decode(reader, reader.uint32()));
|
|
875
|
-
break;
|
|
876
|
-
case 3:
|
|
877
|
-
message.pagination = PageResponse.decode(reader, reader.uint32());
|
|
878
|
-
break;
|
|
879
|
-
case 4:
|
|
880
|
-
message.total = reader.uint64();
|
|
881
|
-
break;
|
|
882
|
-
default:
|
|
883
|
-
reader.skipType(tag & 7);
|
|
884
|
-
break;
|
|
885
|
-
}
|
|
886
|
-
}
|
|
887
|
-
return message;
|
|
888
|
-
},
|
|
889
|
-
fromPartial(object: DeepPartial<GetTxsEventResponse>): GetTxsEventResponse {
|
|
890
|
-
const message = createBaseGetTxsEventResponse();
|
|
891
|
-
message.txs = object.txs?.map(e => Tx.fromPartial(e)) || [];
|
|
892
|
-
message.txResponses = object.txResponses?.map(e => TxResponse.fromPartial(e)) || [];
|
|
893
|
-
message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined;
|
|
894
|
-
message.total = object.total !== undefined && object.total !== null ? BigInt(object.total.toString()) : BigInt(0);
|
|
895
|
-
return message;
|
|
896
|
-
},
|
|
897
|
-
fromAmino(object: GetTxsEventResponseAmino): GetTxsEventResponse {
|
|
898
|
-
const message = createBaseGetTxsEventResponse();
|
|
899
|
-
message.txs = object.txs?.map(e => Tx.fromAmino(e)) || [];
|
|
900
|
-
message.txResponses = object.tx_responses?.map(e => TxResponse.fromAmino(e)) || [];
|
|
901
|
-
if (object.pagination !== undefined && object.pagination !== null) {
|
|
902
|
-
message.pagination = PageResponse.fromAmino(object.pagination);
|
|
903
|
-
}
|
|
904
|
-
if (object.total !== undefined && object.total !== null) {
|
|
905
|
-
message.total = BigInt(object.total);
|
|
906
|
-
}
|
|
907
|
-
return message;
|
|
908
|
-
},
|
|
909
|
-
toAmino(message: GetTxsEventResponse): GetTxsEventResponseAmino {
|
|
910
|
-
const obj: any = {};
|
|
911
|
-
if (message.txs) {
|
|
912
|
-
obj.txs = message.txs.map(e => e ? Tx.toAmino(e) : undefined);
|
|
913
|
-
} else {
|
|
914
|
-
obj.txs = message.txs;
|
|
915
|
-
}
|
|
916
|
-
if (message.txResponses) {
|
|
917
|
-
obj.tx_responses = message.txResponses.map(e => e ? TxResponse.toAmino(e) : undefined);
|
|
918
|
-
} else {
|
|
919
|
-
obj.tx_responses = message.txResponses;
|
|
920
|
-
}
|
|
921
|
-
obj.pagination = message.pagination ? PageResponse.toAmino(message.pagination) : undefined;
|
|
922
|
-
obj.total = message.total !== BigInt(0) ? message.total?.toString() : undefined;
|
|
923
|
-
return obj;
|
|
924
|
-
},
|
|
925
|
-
fromAminoMsg(object: GetTxsEventResponseAminoMsg): GetTxsEventResponse {
|
|
926
|
-
return GetTxsEventResponse.fromAmino(object.value);
|
|
927
|
-
},
|
|
928
|
-
toAminoMsg(message: GetTxsEventResponse): GetTxsEventResponseAminoMsg {
|
|
929
|
-
return {
|
|
930
|
-
type: "cosmos-sdk/GetTxsEventResponse",
|
|
931
|
-
value: GetTxsEventResponse.toAmino(message)
|
|
932
|
-
};
|
|
933
|
-
},
|
|
934
|
-
fromProtoMsg(message: GetTxsEventResponseProtoMsg): GetTxsEventResponse {
|
|
935
|
-
return GetTxsEventResponse.decode(message.value);
|
|
936
|
-
},
|
|
937
|
-
toProto(message: GetTxsEventResponse): Uint8Array {
|
|
938
|
-
return GetTxsEventResponse.encode(message).finish();
|
|
939
|
-
},
|
|
940
|
-
toProtoMsg(message: GetTxsEventResponse): GetTxsEventResponseProtoMsg {
|
|
941
|
-
return {
|
|
942
|
-
typeUrl: "/cosmos.tx.v1beta1.GetTxsEventResponse",
|
|
943
|
-
value: GetTxsEventResponse.encode(message).finish()
|
|
944
|
-
};
|
|
945
|
-
}
|
|
946
|
-
};
|
|
947
|
-
GlobalDecoderRegistry.register(GetTxsEventResponse.typeUrl, GetTxsEventResponse);
|
|
948
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(GetTxsEventResponse.aminoType, GetTxsEventResponse.typeUrl);
|
|
949
|
-
function createBaseBroadcastTxRequest(): BroadcastTxRequest {
|
|
950
|
-
return {
|
|
951
|
-
txBytes: new Uint8Array(),
|
|
952
|
-
mode: 0
|
|
953
|
-
};
|
|
954
|
-
}
|
|
955
|
-
export const BroadcastTxRequest = {
|
|
956
|
-
typeUrl: "/cosmos.tx.v1beta1.BroadcastTxRequest",
|
|
957
|
-
aminoType: "cosmos-sdk/BroadcastTxRequest",
|
|
958
|
-
is(o: any): o is BroadcastTxRequest {
|
|
959
|
-
return o && (o.$typeUrl === BroadcastTxRequest.typeUrl || (o.txBytes instanceof Uint8Array || typeof o.txBytes === "string") && isSet(o.mode));
|
|
960
|
-
},
|
|
961
|
-
isAmino(o: any): o is BroadcastTxRequestAmino {
|
|
962
|
-
return o && (o.$typeUrl === BroadcastTxRequest.typeUrl || (o.tx_bytes instanceof Uint8Array || typeof o.tx_bytes === "string") && isSet(o.mode));
|
|
963
|
-
},
|
|
964
|
-
encode(message: BroadcastTxRequest, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
965
|
-
if (message.txBytes.length !== 0) {
|
|
966
|
-
writer.uint32(10).bytes(message.txBytes);
|
|
967
|
-
}
|
|
968
|
-
if (message.mode !== 0) {
|
|
969
|
-
writer.uint32(16).int32(message.mode);
|
|
970
|
-
}
|
|
971
|
-
return writer;
|
|
972
|
-
},
|
|
973
|
-
decode(input: BinaryReader | Uint8Array, length?: number): BroadcastTxRequest {
|
|
974
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
975
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
976
|
-
const message = createBaseBroadcastTxRequest();
|
|
977
|
-
while (reader.pos < end) {
|
|
978
|
-
const tag = reader.uint32();
|
|
979
|
-
switch (tag >>> 3) {
|
|
980
|
-
case 1:
|
|
981
|
-
message.txBytes = reader.bytes();
|
|
982
|
-
break;
|
|
983
|
-
case 2:
|
|
984
|
-
message.mode = reader.int32() as any;
|
|
985
|
-
break;
|
|
986
|
-
default:
|
|
987
|
-
reader.skipType(tag & 7);
|
|
988
|
-
break;
|
|
989
|
-
}
|
|
990
|
-
}
|
|
991
|
-
return message;
|
|
992
|
-
},
|
|
993
|
-
fromPartial(object: DeepPartial<BroadcastTxRequest>): BroadcastTxRequest {
|
|
994
|
-
const message = createBaseBroadcastTxRequest();
|
|
995
|
-
message.txBytes = object.txBytes ?? new Uint8Array();
|
|
996
|
-
message.mode = object.mode ?? 0;
|
|
997
|
-
return message;
|
|
998
|
-
},
|
|
999
|
-
fromAmino(object: BroadcastTxRequestAmino): BroadcastTxRequest {
|
|
1000
|
-
const message = createBaseBroadcastTxRequest();
|
|
1001
|
-
if (object.tx_bytes !== undefined && object.tx_bytes !== null) {
|
|
1002
|
-
message.txBytes = bytesFromBase64(object.tx_bytes);
|
|
1003
|
-
}
|
|
1004
|
-
if (object.mode !== undefined && object.mode !== null) {
|
|
1005
|
-
message.mode = object.mode;
|
|
1006
|
-
}
|
|
1007
|
-
return message;
|
|
1008
|
-
},
|
|
1009
|
-
toAmino(message: BroadcastTxRequest): BroadcastTxRequestAmino {
|
|
1010
|
-
const obj: any = {};
|
|
1011
|
-
obj.tx_bytes = message.txBytes ? base64FromBytes(message.txBytes) : undefined;
|
|
1012
|
-
obj.mode = message.mode === 0 ? undefined : message.mode;
|
|
1013
|
-
return obj;
|
|
1014
|
-
},
|
|
1015
|
-
fromAminoMsg(object: BroadcastTxRequestAminoMsg): BroadcastTxRequest {
|
|
1016
|
-
return BroadcastTxRequest.fromAmino(object.value);
|
|
1017
|
-
},
|
|
1018
|
-
toAminoMsg(message: BroadcastTxRequest): BroadcastTxRequestAminoMsg {
|
|
1019
|
-
return {
|
|
1020
|
-
type: "cosmos-sdk/BroadcastTxRequest",
|
|
1021
|
-
value: BroadcastTxRequest.toAmino(message)
|
|
1022
|
-
};
|
|
1023
|
-
},
|
|
1024
|
-
fromProtoMsg(message: BroadcastTxRequestProtoMsg): BroadcastTxRequest {
|
|
1025
|
-
return BroadcastTxRequest.decode(message.value);
|
|
1026
|
-
},
|
|
1027
|
-
toProto(message: BroadcastTxRequest): Uint8Array {
|
|
1028
|
-
return BroadcastTxRequest.encode(message).finish();
|
|
1029
|
-
},
|
|
1030
|
-
toProtoMsg(message: BroadcastTxRequest): BroadcastTxRequestProtoMsg {
|
|
1031
|
-
return {
|
|
1032
|
-
typeUrl: "/cosmos.tx.v1beta1.BroadcastTxRequest",
|
|
1033
|
-
value: BroadcastTxRequest.encode(message).finish()
|
|
1034
|
-
};
|
|
1035
|
-
}
|
|
1036
|
-
};
|
|
1037
|
-
GlobalDecoderRegistry.register(BroadcastTxRequest.typeUrl, BroadcastTxRequest);
|
|
1038
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(BroadcastTxRequest.aminoType, BroadcastTxRequest.typeUrl);
|
|
1039
|
-
function createBaseBroadcastTxResponse(): BroadcastTxResponse {
|
|
1040
|
-
return {
|
|
1041
|
-
txResponse: undefined
|
|
1042
|
-
};
|
|
1043
|
-
}
|
|
1044
|
-
export const BroadcastTxResponse = {
|
|
1045
|
-
typeUrl: "/cosmos.tx.v1beta1.BroadcastTxResponse",
|
|
1046
|
-
aminoType: "cosmos-sdk/BroadcastTxResponse",
|
|
1047
|
-
is(o: any): o is BroadcastTxResponse {
|
|
1048
|
-
return o && o.$typeUrl === BroadcastTxResponse.typeUrl;
|
|
1049
|
-
},
|
|
1050
|
-
isAmino(o: any): o is BroadcastTxResponseAmino {
|
|
1051
|
-
return o && o.$typeUrl === BroadcastTxResponse.typeUrl;
|
|
1052
|
-
},
|
|
1053
|
-
encode(message: BroadcastTxResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
1054
|
-
if (message.txResponse !== undefined) {
|
|
1055
|
-
TxResponse.encode(message.txResponse, writer.uint32(10).fork()).ldelim();
|
|
1056
|
-
}
|
|
1057
|
-
return writer;
|
|
1058
|
-
},
|
|
1059
|
-
decode(input: BinaryReader | Uint8Array, length?: number): BroadcastTxResponse {
|
|
1060
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1061
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1062
|
-
const message = createBaseBroadcastTxResponse();
|
|
1063
|
-
while (reader.pos < end) {
|
|
1064
|
-
const tag = reader.uint32();
|
|
1065
|
-
switch (tag >>> 3) {
|
|
1066
|
-
case 1:
|
|
1067
|
-
message.txResponse = TxResponse.decode(reader, reader.uint32());
|
|
1068
|
-
break;
|
|
1069
|
-
default:
|
|
1070
|
-
reader.skipType(tag & 7);
|
|
1071
|
-
break;
|
|
1072
|
-
}
|
|
1073
|
-
}
|
|
1074
|
-
return message;
|
|
1075
|
-
},
|
|
1076
|
-
fromPartial(object: DeepPartial<BroadcastTxResponse>): BroadcastTxResponse {
|
|
1077
|
-
const message = createBaseBroadcastTxResponse();
|
|
1078
|
-
message.txResponse = object.txResponse !== undefined && object.txResponse !== null ? TxResponse.fromPartial(object.txResponse) : undefined;
|
|
1079
|
-
return message;
|
|
1080
|
-
},
|
|
1081
|
-
fromAmino(object: BroadcastTxResponseAmino): BroadcastTxResponse {
|
|
1082
|
-
const message = createBaseBroadcastTxResponse();
|
|
1083
|
-
if (object.tx_response !== undefined && object.tx_response !== null) {
|
|
1084
|
-
message.txResponse = TxResponse.fromAmino(object.tx_response);
|
|
1085
|
-
}
|
|
1086
|
-
return message;
|
|
1087
|
-
},
|
|
1088
|
-
toAmino(message: BroadcastTxResponse): BroadcastTxResponseAmino {
|
|
1089
|
-
const obj: any = {};
|
|
1090
|
-
obj.tx_response = message.txResponse ? TxResponse.toAmino(message.txResponse) : undefined;
|
|
1091
|
-
return obj;
|
|
1092
|
-
},
|
|
1093
|
-
fromAminoMsg(object: BroadcastTxResponseAminoMsg): BroadcastTxResponse {
|
|
1094
|
-
return BroadcastTxResponse.fromAmino(object.value);
|
|
1095
|
-
},
|
|
1096
|
-
toAminoMsg(message: BroadcastTxResponse): BroadcastTxResponseAminoMsg {
|
|
1097
|
-
return {
|
|
1098
|
-
type: "cosmos-sdk/BroadcastTxResponse",
|
|
1099
|
-
value: BroadcastTxResponse.toAmino(message)
|
|
1100
|
-
};
|
|
1101
|
-
},
|
|
1102
|
-
fromProtoMsg(message: BroadcastTxResponseProtoMsg): BroadcastTxResponse {
|
|
1103
|
-
return BroadcastTxResponse.decode(message.value);
|
|
1104
|
-
},
|
|
1105
|
-
toProto(message: BroadcastTxResponse): Uint8Array {
|
|
1106
|
-
return BroadcastTxResponse.encode(message).finish();
|
|
1107
|
-
},
|
|
1108
|
-
toProtoMsg(message: BroadcastTxResponse): BroadcastTxResponseProtoMsg {
|
|
1109
|
-
return {
|
|
1110
|
-
typeUrl: "/cosmos.tx.v1beta1.BroadcastTxResponse",
|
|
1111
|
-
value: BroadcastTxResponse.encode(message).finish()
|
|
1112
|
-
};
|
|
1113
|
-
}
|
|
1114
|
-
};
|
|
1115
|
-
GlobalDecoderRegistry.register(BroadcastTxResponse.typeUrl, BroadcastTxResponse);
|
|
1116
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(BroadcastTxResponse.aminoType, BroadcastTxResponse.typeUrl);
|
|
1117
|
-
function createBaseSimulateRequest(): SimulateRequest {
|
|
1118
|
-
return {
|
|
1119
|
-
tx: undefined,
|
|
1120
|
-
txBytes: new Uint8Array()
|
|
1121
|
-
};
|
|
1122
|
-
}
|
|
1123
|
-
export const SimulateRequest = {
|
|
1124
|
-
typeUrl: "/cosmos.tx.v1beta1.SimulateRequest",
|
|
1125
|
-
aminoType: "cosmos-sdk/SimulateRequest",
|
|
1126
|
-
is(o: any): o is SimulateRequest {
|
|
1127
|
-
return o && (o.$typeUrl === SimulateRequest.typeUrl || o.txBytes instanceof Uint8Array || typeof o.txBytes === "string");
|
|
1128
|
-
},
|
|
1129
|
-
isAmino(o: any): o is SimulateRequestAmino {
|
|
1130
|
-
return o && (o.$typeUrl === SimulateRequest.typeUrl || o.tx_bytes instanceof Uint8Array || typeof o.tx_bytes === "string");
|
|
1131
|
-
},
|
|
1132
|
-
encode(message: SimulateRequest, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
1133
|
-
if (message.tx !== undefined) {
|
|
1134
|
-
Tx.encode(message.tx, writer.uint32(10).fork()).ldelim();
|
|
1135
|
-
}
|
|
1136
|
-
if (message.txBytes.length !== 0) {
|
|
1137
|
-
writer.uint32(18).bytes(message.txBytes);
|
|
1138
|
-
}
|
|
1139
|
-
return writer;
|
|
1140
|
-
},
|
|
1141
|
-
decode(input: BinaryReader | Uint8Array, length?: number): SimulateRequest {
|
|
1142
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1143
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1144
|
-
const message = createBaseSimulateRequest();
|
|
1145
|
-
while (reader.pos < end) {
|
|
1146
|
-
const tag = reader.uint32();
|
|
1147
|
-
switch (tag >>> 3) {
|
|
1148
|
-
case 1:
|
|
1149
|
-
message.tx = Tx.decode(reader, reader.uint32());
|
|
1150
|
-
break;
|
|
1151
|
-
case 2:
|
|
1152
|
-
message.txBytes = reader.bytes();
|
|
1153
|
-
break;
|
|
1154
|
-
default:
|
|
1155
|
-
reader.skipType(tag & 7);
|
|
1156
|
-
break;
|
|
1157
|
-
}
|
|
1158
|
-
}
|
|
1159
|
-
return message;
|
|
1160
|
-
},
|
|
1161
|
-
fromPartial(object: DeepPartial<SimulateRequest>): SimulateRequest {
|
|
1162
|
-
const message = createBaseSimulateRequest();
|
|
1163
|
-
message.tx = object.tx !== undefined && object.tx !== null ? Tx.fromPartial(object.tx) : undefined;
|
|
1164
|
-
message.txBytes = object.txBytes ?? new Uint8Array();
|
|
1165
|
-
return message;
|
|
1166
|
-
},
|
|
1167
|
-
fromAmino(object: SimulateRequestAmino): SimulateRequest {
|
|
1168
|
-
const message = createBaseSimulateRequest();
|
|
1169
|
-
if (object.tx !== undefined && object.tx !== null) {
|
|
1170
|
-
message.tx = Tx.fromAmino(object.tx);
|
|
1171
|
-
}
|
|
1172
|
-
if (object.tx_bytes !== undefined && object.tx_bytes !== null) {
|
|
1173
|
-
message.txBytes = bytesFromBase64(object.tx_bytes);
|
|
1174
|
-
}
|
|
1175
|
-
return message;
|
|
1176
|
-
},
|
|
1177
|
-
toAmino(message: SimulateRequest): SimulateRequestAmino {
|
|
1178
|
-
const obj: any = {};
|
|
1179
|
-
obj.tx = message.tx ? Tx.toAmino(message.tx) : undefined;
|
|
1180
|
-
obj.tx_bytes = message.txBytes ? base64FromBytes(message.txBytes) : undefined;
|
|
1181
|
-
return obj;
|
|
1182
|
-
},
|
|
1183
|
-
fromAminoMsg(object: SimulateRequestAminoMsg): SimulateRequest {
|
|
1184
|
-
return SimulateRequest.fromAmino(object.value);
|
|
1185
|
-
},
|
|
1186
|
-
toAminoMsg(message: SimulateRequest): SimulateRequestAminoMsg {
|
|
1187
|
-
return {
|
|
1188
|
-
type: "cosmos-sdk/SimulateRequest",
|
|
1189
|
-
value: SimulateRequest.toAmino(message)
|
|
1190
|
-
};
|
|
1191
|
-
},
|
|
1192
|
-
fromProtoMsg(message: SimulateRequestProtoMsg): SimulateRequest {
|
|
1193
|
-
return SimulateRequest.decode(message.value);
|
|
1194
|
-
},
|
|
1195
|
-
toProto(message: SimulateRequest): Uint8Array {
|
|
1196
|
-
return SimulateRequest.encode(message).finish();
|
|
1197
|
-
},
|
|
1198
|
-
toProtoMsg(message: SimulateRequest): SimulateRequestProtoMsg {
|
|
1199
|
-
return {
|
|
1200
|
-
typeUrl: "/cosmos.tx.v1beta1.SimulateRequest",
|
|
1201
|
-
value: SimulateRequest.encode(message).finish()
|
|
1202
|
-
};
|
|
1203
|
-
}
|
|
1204
|
-
};
|
|
1205
|
-
GlobalDecoderRegistry.register(SimulateRequest.typeUrl, SimulateRequest);
|
|
1206
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(SimulateRequest.aminoType, SimulateRequest.typeUrl);
|
|
1207
|
-
function createBaseSimulateResponse(): SimulateResponse {
|
|
1208
|
-
return {
|
|
1209
|
-
gasInfo: undefined,
|
|
1210
|
-
result: undefined
|
|
1211
|
-
};
|
|
1212
|
-
}
|
|
1213
|
-
export const SimulateResponse = {
|
|
1214
|
-
typeUrl: "/cosmos.tx.v1beta1.SimulateResponse",
|
|
1215
|
-
aminoType: "cosmos-sdk/SimulateResponse",
|
|
1216
|
-
is(o: any): o is SimulateResponse {
|
|
1217
|
-
return o && o.$typeUrl === SimulateResponse.typeUrl;
|
|
1218
|
-
},
|
|
1219
|
-
isAmino(o: any): o is SimulateResponseAmino {
|
|
1220
|
-
return o && o.$typeUrl === SimulateResponse.typeUrl;
|
|
1221
|
-
},
|
|
1222
|
-
encode(message: SimulateResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
1223
|
-
if (message.gasInfo !== undefined) {
|
|
1224
|
-
GasInfo.encode(message.gasInfo, writer.uint32(10).fork()).ldelim();
|
|
1225
|
-
}
|
|
1226
|
-
if (message.result !== undefined) {
|
|
1227
|
-
Result.encode(message.result, writer.uint32(18).fork()).ldelim();
|
|
1228
|
-
}
|
|
1229
|
-
return writer;
|
|
1230
|
-
},
|
|
1231
|
-
decode(input: BinaryReader | Uint8Array, length?: number): SimulateResponse {
|
|
1232
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1233
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1234
|
-
const message = createBaseSimulateResponse();
|
|
1235
|
-
while (reader.pos < end) {
|
|
1236
|
-
const tag = reader.uint32();
|
|
1237
|
-
switch (tag >>> 3) {
|
|
1238
|
-
case 1:
|
|
1239
|
-
message.gasInfo = GasInfo.decode(reader, reader.uint32());
|
|
1240
|
-
break;
|
|
1241
|
-
case 2:
|
|
1242
|
-
message.result = Result.decode(reader, reader.uint32());
|
|
1243
|
-
break;
|
|
1244
|
-
default:
|
|
1245
|
-
reader.skipType(tag & 7);
|
|
1246
|
-
break;
|
|
1247
|
-
}
|
|
1248
|
-
}
|
|
1249
|
-
return message;
|
|
1250
|
-
},
|
|
1251
|
-
fromPartial(object: DeepPartial<SimulateResponse>): SimulateResponse {
|
|
1252
|
-
const message = createBaseSimulateResponse();
|
|
1253
|
-
message.gasInfo = object.gasInfo !== undefined && object.gasInfo !== null ? GasInfo.fromPartial(object.gasInfo) : undefined;
|
|
1254
|
-
message.result = object.result !== undefined && object.result !== null ? Result.fromPartial(object.result) : undefined;
|
|
1255
|
-
return message;
|
|
1256
|
-
},
|
|
1257
|
-
fromAmino(object: SimulateResponseAmino): SimulateResponse {
|
|
1258
|
-
const message = createBaseSimulateResponse();
|
|
1259
|
-
if (object.gas_info !== undefined && object.gas_info !== null) {
|
|
1260
|
-
message.gasInfo = GasInfo.fromAmino(object.gas_info);
|
|
1261
|
-
}
|
|
1262
|
-
if (object.result !== undefined && object.result !== null) {
|
|
1263
|
-
message.result = Result.fromAmino(object.result);
|
|
1264
|
-
}
|
|
1265
|
-
return message;
|
|
1266
|
-
},
|
|
1267
|
-
toAmino(message: SimulateResponse): SimulateResponseAmino {
|
|
1268
|
-
const obj: any = {};
|
|
1269
|
-
obj.gas_info = message.gasInfo ? GasInfo.toAmino(message.gasInfo) : undefined;
|
|
1270
|
-
obj.result = message.result ? Result.toAmino(message.result) : undefined;
|
|
1271
|
-
return obj;
|
|
1272
|
-
},
|
|
1273
|
-
fromAminoMsg(object: SimulateResponseAminoMsg): SimulateResponse {
|
|
1274
|
-
return SimulateResponse.fromAmino(object.value);
|
|
1275
|
-
},
|
|
1276
|
-
toAminoMsg(message: SimulateResponse): SimulateResponseAminoMsg {
|
|
1277
|
-
return {
|
|
1278
|
-
type: "cosmos-sdk/SimulateResponse",
|
|
1279
|
-
value: SimulateResponse.toAmino(message)
|
|
1280
|
-
};
|
|
1281
|
-
},
|
|
1282
|
-
fromProtoMsg(message: SimulateResponseProtoMsg): SimulateResponse {
|
|
1283
|
-
return SimulateResponse.decode(message.value);
|
|
1284
|
-
},
|
|
1285
|
-
toProto(message: SimulateResponse): Uint8Array {
|
|
1286
|
-
return SimulateResponse.encode(message).finish();
|
|
1287
|
-
},
|
|
1288
|
-
toProtoMsg(message: SimulateResponse): SimulateResponseProtoMsg {
|
|
1289
|
-
return {
|
|
1290
|
-
typeUrl: "/cosmos.tx.v1beta1.SimulateResponse",
|
|
1291
|
-
value: SimulateResponse.encode(message).finish()
|
|
1292
|
-
};
|
|
1293
|
-
}
|
|
1294
|
-
};
|
|
1295
|
-
GlobalDecoderRegistry.register(SimulateResponse.typeUrl, SimulateResponse);
|
|
1296
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(SimulateResponse.aminoType, SimulateResponse.typeUrl);
|
|
1297
|
-
function createBaseGetTxRequest(): GetTxRequest {
|
|
1298
|
-
return {
|
|
1299
|
-
hash: ""
|
|
1300
|
-
};
|
|
1301
|
-
}
|
|
1302
|
-
export const GetTxRequest = {
|
|
1303
|
-
typeUrl: "/cosmos.tx.v1beta1.GetTxRequest",
|
|
1304
|
-
aminoType: "cosmos-sdk/GetTxRequest",
|
|
1305
|
-
is(o: any): o is GetTxRequest {
|
|
1306
|
-
return o && (o.$typeUrl === GetTxRequest.typeUrl || typeof o.hash === "string");
|
|
1307
|
-
},
|
|
1308
|
-
isAmino(o: any): o is GetTxRequestAmino {
|
|
1309
|
-
return o && (o.$typeUrl === GetTxRequest.typeUrl || typeof o.hash === "string");
|
|
1310
|
-
},
|
|
1311
|
-
encode(message: GetTxRequest, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
1312
|
-
if (message.hash !== "") {
|
|
1313
|
-
writer.uint32(10).string(message.hash);
|
|
1314
|
-
}
|
|
1315
|
-
return writer;
|
|
1316
|
-
},
|
|
1317
|
-
decode(input: BinaryReader | Uint8Array, length?: number): GetTxRequest {
|
|
1318
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1319
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1320
|
-
const message = createBaseGetTxRequest();
|
|
1321
|
-
while (reader.pos < end) {
|
|
1322
|
-
const tag = reader.uint32();
|
|
1323
|
-
switch (tag >>> 3) {
|
|
1324
|
-
case 1:
|
|
1325
|
-
message.hash = reader.string();
|
|
1326
|
-
break;
|
|
1327
|
-
default:
|
|
1328
|
-
reader.skipType(tag & 7);
|
|
1329
|
-
break;
|
|
1330
|
-
}
|
|
1331
|
-
}
|
|
1332
|
-
return message;
|
|
1333
|
-
},
|
|
1334
|
-
fromPartial(object: DeepPartial<GetTxRequest>): GetTxRequest {
|
|
1335
|
-
const message = createBaseGetTxRequest();
|
|
1336
|
-
message.hash = object.hash ?? "";
|
|
1337
|
-
return message;
|
|
1338
|
-
},
|
|
1339
|
-
fromAmino(object: GetTxRequestAmino): GetTxRequest {
|
|
1340
|
-
const message = createBaseGetTxRequest();
|
|
1341
|
-
if (object.hash !== undefined && object.hash !== null) {
|
|
1342
|
-
message.hash = object.hash;
|
|
1343
|
-
}
|
|
1344
|
-
return message;
|
|
1345
|
-
},
|
|
1346
|
-
toAmino(message: GetTxRequest): GetTxRequestAmino {
|
|
1347
|
-
const obj: any = {};
|
|
1348
|
-
obj.hash = message.hash === "" ? undefined : message.hash;
|
|
1349
|
-
return obj;
|
|
1350
|
-
},
|
|
1351
|
-
fromAminoMsg(object: GetTxRequestAminoMsg): GetTxRequest {
|
|
1352
|
-
return GetTxRequest.fromAmino(object.value);
|
|
1353
|
-
},
|
|
1354
|
-
toAminoMsg(message: GetTxRequest): GetTxRequestAminoMsg {
|
|
1355
|
-
return {
|
|
1356
|
-
type: "cosmos-sdk/GetTxRequest",
|
|
1357
|
-
value: GetTxRequest.toAmino(message)
|
|
1358
|
-
};
|
|
1359
|
-
},
|
|
1360
|
-
fromProtoMsg(message: GetTxRequestProtoMsg): GetTxRequest {
|
|
1361
|
-
return GetTxRequest.decode(message.value);
|
|
1362
|
-
},
|
|
1363
|
-
toProto(message: GetTxRequest): Uint8Array {
|
|
1364
|
-
return GetTxRequest.encode(message).finish();
|
|
1365
|
-
},
|
|
1366
|
-
toProtoMsg(message: GetTxRequest): GetTxRequestProtoMsg {
|
|
1367
|
-
return {
|
|
1368
|
-
typeUrl: "/cosmos.tx.v1beta1.GetTxRequest",
|
|
1369
|
-
value: GetTxRequest.encode(message).finish()
|
|
1370
|
-
};
|
|
1371
|
-
}
|
|
1372
|
-
};
|
|
1373
|
-
GlobalDecoderRegistry.register(GetTxRequest.typeUrl, GetTxRequest);
|
|
1374
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(GetTxRequest.aminoType, GetTxRequest.typeUrl);
|
|
1375
|
-
function createBaseGetTxResponse(): GetTxResponse {
|
|
1376
|
-
return {
|
|
1377
|
-
tx: undefined,
|
|
1378
|
-
txResponse: undefined
|
|
1379
|
-
};
|
|
1380
|
-
}
|
|
1381
|
-
export const GetTxResponse = {
|
|
1382
|
-
typeUrl: "/cosmos.tx.v1beta1.GetTxResponse",
|
|
1383
|
-
aminoType: "cosmos-sdk/GetTxResponse",
|
|
1384
|
-
is(o: any): o is GetTxResponse {
|
|
1385
|
-
return o && o.$typeUrl === GetTxResponse.typeUrl;
|
|
1386
|
-
},
|
|
1387
|
-
isAmino(o: any): o is GetTxResponseAmino {
|
|
1388
|
-
return o && o.$typeUrl === GetTxResponse.typeUrl;
|
|
1389
|
-
},
|
|
1390
|
-
encode(message: GetTxResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
1391
|
-
if (message.tx !== undefined) {
|
|
1392
|
-
Tx.encode(message.tx, writer.uint32(10).fork()).ldelim();
|
|
1393
|
-
}
|
|
1394
|
-
if (message.txResponse !== undefined) {
|
|
1395
|
-
TxResponse.encode(message.txResponse, writer.uint32(18).fork()).ldelim();
|
|
1396
|
-
}
|
|
1397
|
-
return writer;
|
|
1398
|
-
},
|
|
1399
|
-
decode(input: BinaryReader | Uint8Array, length?: number): GetTxResponse {
|
|
1400
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1401
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1402
|
-
const message = createBaseGetTxResponse();
|
|
1403
|
-
while (reader.pos < end) {
|
|
1404
|
-
const tag = reader.uint32();
|
|
1405
|
-
switch (tag >>> 3) {
|
|
1406
|
-
case 1:
|
|
1407
|
-
message.tx = Tx.decode(reader, reader.uint32());
|
|
1408
|
-
break;
|
|
1409
|
-
case 2:
|
|
1410
|
-
message.txResponse = TxResponse.decode(reader, reader.uint32());
|
|
1411
|
-
break;
|
|
1412
|
-
default:
|
|
1413
|
-
reader.skipType(tag & 7);
|
|
1414
|
-
break;
|
|
1415
|
-
}
|
|
1416
|
-
}
|
|
1417
|
-
return message;
|
|
1418
|
-
},
|
|
1419
|
-
fromPartial(object: DeepPartial<GetTxResponse>): GetTxResponse {
|
|
1420
|
-
const message = createBaseGetTxResponse();
|
|
1421
|
-
message.tx = object.tx !== undefined && object.tx !== null ? Tx.fromPartial(object.tx) : undefined;
|
|
1422
|
-
message.txResponse = object.txResponse !== undefined && object.txResponse !== null ? TxResponse.fromPartial(object.txResponse) : undefined;
|
|
1423
|
-
return message;
|
|
1424
|
-
},
|
|
1425
|
-
fromAmino(object: GetTxResponseAmino): GetTxResponse {
|
|
1426
|
-
const message = createBaseGetTxResponse();
|
|
1427
|
-
if (object.tx !== undefined && object.tx !== null) {
|
|
1428
|
-
message.tx = Tx.fromAmino(object.tx);
|
|
1429
|
-
}
|
|
1430
|
-
if (object.tx_response !== undefined && object.tx_response !== null) {
|
|
1431
|
-
message.txResponse = TxResponse.fromAmino(object.tx_response);
|
|
1432
|
-
}
|
|
1433
|
-
return message;
|
|
1434
|
-
},
|
|
1435
|
-
toAmino(message: GetTxResponse): GetTxResponseAmino {
|
|
1436
|
-
const obj: any = {};
|
|
1437
|
-
obj.tx = message.tx ? Tx.toAmino(message.tx) : undefined;
|
|
1438
|
-
obj.tx_response = message.txResponse ? TxResponse.toAmino(message.txResponse) : undefined;
|
|
1439
|
-
return obj;
|
|
1440
|
-
},
|
|
1441
|
-
fromAminoMsg(object: GetTxResponseAminoMsg): GetTxResponse {
|
|
1442
|
-
return GetTxResponse.fromAmino(object.value);
|
|
1443
|
-
},
|
|
1444
|
-
toAminoMsg(message: GetTxResponse): GetTxResponseAminoMsg {
|
|
1445
|
-
return {
|
|
1446
|
-
type: "cosmos-sdk/GetTxResponse",
|
|
1447
|
-
value: GetTxResponse.toAmino(message)
|
|
1448
|
-
};
|
|
1449
|
-
},
|
|
1450
|
-
fromProtoMsg(message: GetTxResponseProtoMsg): GetTxResponse {
|
|
1451
|
-
return GetTxResponse.decode(message.value);
|
|
1452
|
-
},
|
|
1453
|
-
toProto(message: GetTxResponse): Uint8Array {
|
|
1454
|
-
return GetTxResponse.encode(message).finish();
|
|
1455
|
-
},
|
|
1456
|
-
toProtoMsg(message: GetTxResponse): GetTxResponseProtoMsg {
|
|
1457
|
-
return {
|
|
1458
|
-
typeUrl: "/cosmos.tx.v1beta1.GetTxResponse",
|
|
1459
|
-
value: GetTxResponse.encode(message).finish()
|
|
1460
|
-
};
|
|
1461
|
-
}
|
|
1462
|
-
};
|
|
1463
|
-
GlobalDecoderRegistry.register(GetTxResponse.typeUrl, GetTxResponse);
|
|
1464
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(GetTxResponse.aminoType, GetTxResponse.typeUrl);
|
|
1465
|
-
function createBaseGetBlockWithTxsRequest(): GetBlockWithTxsRequest {
|
|
1466
|
-
return {
|
|
1467
|
-
height: BigInt(0),
|
|
1468
|
-
pagination: undefined
|
|
1469
|
-
};
|
|
1470
|
-
}
|
|
1471
|
-
export const GetBlockWithTxsRequest = {
|
|
1472
|
-
typeUrl: "/cosmos.tx.v1beta1.GetBlockWithTxsRequest",
|
|
1473
|
-
aminoType: "cosmos-sdk/GetBlockWithTxsRequest",
|
|
1474
|
-
is(o: any): o is GetBlockWithTxsRequest {
|
|
1475
|
-
return o && (o.$typeUrl === GetBlockWithTxsRequest.typeUrl || typeof o.height === "bigint");
|
|
1476
|
-
},
|
|
1477
|
-
isAmino(o: any): o is GetBlockWithTxsRequestAmino {
|
|
1478
|
-
return o && (o.$typeUrl === GetBlockWithTxsRequest.typeUrl || typeof o.height === "bigint");
|
|
1479
|
-
},
|
|
1480
|
-
encode(message: GetBlockWithTxsRequest, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
1481
|
-
if (message.height !== BigInt(0)) {
|
|
1482
|
-
writer.uint32(8).int64(message.height);
|
|
1483
|
-
}
|
|
1484
|
-
if (message.pagination !== undefined) {
|
|
1485
|
-
PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim();
|
|
1486
|
-
}
|
|
1487
|
-
return writer;
|
|
1488
|
-
},
|
|
1489
|
-
decode(input: BinaryReader | Uint8Array, length?: number): GetBlockWithTxsRequest {
|
|
1490
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1491
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1492
|
-
const message = createBaseGetBlockWithTxsRequest();
|
|
1493
|
-
while (reader.pos < end) {
|
|
1494
|
-
const tag = reader.uint32();
|
|
1495
|
-
switch (tag >>> 3) {
|
|
1496
|
-
case 1:
|
|
1497
|
-
message.height = reader.int64();
|
|
1498
|
-
break;
|
|
1499
|
-
case 2:
|
|
1500
|
-
message.pagination = PageRequest.decode(reader, reader.uint32());
|
|
1501
|
-
break;
|
|
1502
|
-
default:
|
|
1503
|
-
reader.skipType(tag & 7);
|
|
1504
|
-
break;
|
|
1505
|
-
}
|
|
1506
|
-
}
|
|
1507
|
-
return message;
|
|
1508
|
-
},
|
|
1509
|
-
fromPartial(object: DeepPartial<GetBlockWithTxsRequest>): GetBlockWithTxsRequest {
|
|
1510
|
-
const message = createBaseGetBlockWithTxsRequest();
|
|
1511
|
-
message.height = object.height !== undefined && object.height !== null ? BigInt(object.height.toString()) : BigInt(0);
|
|
1512
|
-
message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined;
|
|
1513
|
-
return message;
|
|
1514
|
-
},
|
|
1515
|
-
fromAmino(object: GetBlockWithTxsRequestAmino): GetBlockWithTxsRequest {
|
|
1516
|
-
const message = createBaseGetBlockWithTxsRequest();
|
|
1517
|
-
if (object.height !== undefined && object.height !== null) {
|
|
1518
|
-
message.height = BigInt(object.height);
|
|
1519
|
-
}
|
|
1520
|
-
if (object.pagination !== undefined && object.pagination !== null) {
|
|
1521
|
-
message.pagination = PageRequest.fromAmino(object.pagination);
|
|
1522
|
-
}
|
|
1523
|
-
return message;
|
|
1524
|
-
},
|
|
1525
|
-
toAmino(message: GetBlockWithTxsRequest): GetBlockWithTxsRequestAmino {
|
|
1526
|
-
const obj: any = {};
|
|
1527
|
-
obj.height = message.height !== BigInt(0) ? message.height?.toString() : undefined;
|
|
1528
|
-
obj.pagination = message.pagination ? PageRequest.toAmino(message.pagination) : undefined;
|
|
1529
|
-
return obj;
|
|
1530
|
-
},
|
|
1531
|
-
fromAminoMsg(object: GetBlockWithTxsRequestAminoMsg): GetBlockWithTxsRequest {
|
|
1532
|
-
return GetBlockWithTxsRequest.fromAmino(object.value);
|
|
1533
|
-
},
|
|
1534
|
-
toAminoMsg(message: GetBlockWithTxsRequest): GetBlockWithTxsRequestAminoMsg {
|
|
1535
|
-
return {
|
|
1536
|
-
type: "cosmos-sdk/GetBlockWithTxsRequest",
|
|
1537
|
-
value: GetBlockWithTxsRequest.toAmino(message)
|
|
1538
|
-
};
|
|
1539
|
-
},
|
|
1540
|
-
fromProtoMsg(message: GetBlockWithTxsRequestProtoMsg): GetBlockWithTxsRequest {
|
|
1541
|
-
return GetBlockWithTxsRequest.decode(message.value);
|
|
1542
|
-
},
|
|
1543
|
-
toProto(message: GetBlockWithTxsRequest): Uint8Array {
|
|
1544
|
-
return GetBlockWithTxsRequest.encode(message).finish();
|
|
1545
|
-
},
|
|
1546
|
-
toProtoMsg(message: GetBlockWithTxsRequest): GetBlockWithTxsRequestProtoMsg {
|
|
1547
|
-
return {
|
|
1548
|
-
typeUrl: "/cosmos.tx.v1beta1.GetBlockWithTxsRequest",
|
|
1549
|
-
value: GetBlockWithTxsRequest.encode(message).finish()
|
|
1550
|
-
};
|
|
1551
|
-
}
|
|
1552
|
-
};
|
|
1553
|
-
GlobalDecoderRegistry.register(GetBlockWithTxsRequest.typeUrl, GetBlockWithTxsRequest);
|
|
1554
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(GetBlockWithTxsRequest.aminoType, GetBlockWithTxsRequest.typeUrl);
|
|
1555
|
-
function createBaseGetBlockWithTxsResponse(): GetBlockWithTxsResponse {
|
|
1556
|
-
return {
|
|
1557
|
-
txs: [],
|
|
1558
|
-
blockId: undefined,
|
|
1559
|
-
block: undefined,
|
|
1560
|
-
pagination: undefined
|
|
1561
|
-
};
|
|
1562
|
-
}
|
|
1563
|
-
export const GetBlockWithTxsResponse = {
|
|
1564
|
-
typeUrl: "/cosmos.tx.v1beta1.GetBlockWithTxsResponse",
|
|
1565
|
-
aminoType: "cosmos-sdk/GetBlockWithTxsResponse",
|
|
1566
|
-
is(o: any): o is GetBlockWithTxsResponse {
|
|
1567
|
-
return o && (o.$typeUrl === GetBlockWithTxsResponse.typeUrl || Array.isArray(o.txs) && (!o.txs.length || Tx.is(o.txs[0])));
|
|
1568
|
-
},
|
|
1569
|
-
isAmino(o: any): o is GetBlockWithTxsResponseAmino {
|
|
1570
|
-
return o && (o.$typeUrl === GetBlockWithTxsResponse.typeUrl || Array.isArray(o.txs) && (!o.txs.length || Tx.isAmino(o.txs[0])));
|
|
1571
|
-
},
|
|
1572
|
-
encode(message: GetBlockWithTxsResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
1573
|
-
for (const v of message.txs) {
|
|
1574
|
-
Tx.encode(v!, writer.uint32(10).fork()).ldelim();
|
|
1575
|
-
}
|
|
1576
|
-
if (message.blockId !== undefined) {
|
|
1577
|
-
BlockID.encode(message.blockId, writer.uint32(18).fork()).ldelim();
|
|
1578
|
-
}
|
|
1579
|
-
if (message.block !== undefined) {
|
|
1580
|
-
Block.encode(message.block, writer.uint32(26).fork()).ldelim();
|
|
1581
|
-
}
|
|
1582
|
-
if (message.pagination !== undefined) {
|
|
1583
|
-
PageResponse.encode(message.pagination, writer.uint32(34).fork()).ldelim();
|
|
1584
|
-
}
|
|
1585
|
-
return writer;
|
|
1586
|
-
},
|
|
1587
|
-
decode(input: BinaryReader | Uint8Array, length?: number): GetBlockWithTxsResponse {
|
|
1588
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1589
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1590
|
-
const message = createBaseGetBlockWithTxsResponse();
|
|
1591
|
-
while (reader.pos < end) {
|
|
1592
|
-
const tag = reader.uint32();
|
|
1593
|
-
switch (tag >>> 3) {
|
|
1594
|
-
case 1:
|
|
1595
|
-
message.txs.push(Tx.decode(reader, reader.uint32()));
|
|
1596
|
-
break;
|
|
1597
|
-
case 2:
|
|
1598
|
-
message.blockId = BlockID.decode(reader, reader.uint32());
|
|
1599
|
-
break;
|
|
1600
|
-
case 3:
|
|
1601
|
-
message.block = Block.decode(reader, reader.uint32());
|
|
1602
|
-
break;
|
|
1603
|
-
case 4:
|
|
1604
|
-
message.pagination = PageResponse.decode(reader, reader.uint32());
|
|
1605
|
-
break;
|
|
1606
|
-
default:
|
|
1607
|
-
reader.skipType(tag & 7);
|
|
1608
|
-
break;
|
|
1609
|
-
}
|
|
1610
|
-
}
|
|
1611
|
-
return message;
|
|
1612
|
-
},
|
|
1613
|
-
fromPartial(object: DeepPartial<GetBlockWithTxsResponse>): GetBlockWithTxsResponse {
|
|
1614
|
-
const message = createBaseGetBlockWithTxsResponse();
|
|
1615
|
-
message.txs = object.txs?.map(e => Tx.fromPartial(e)) || [];
|
|
1616
|
-
message.blockId = object.blockId !== undefined && object.blockId !== null ? BlockID.fromPartial(object.blockId) : undefined;
|
|
1617
|
-
message.block = object.block !== undefined && object.block !== null ? Block.fromPartial(object.block) : undefined;
|
|
1618
|
-
message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined;
|
|
1619
|
-
return message;
|
|
1620
|
-
},
|
|
1621
|
-
fromAmino(object: GetBlockWithTxsResponseAmino): GetBlockWithTxsResponse {
|
|
1622
|
-
const message = createBaseGetBlockWithTxsResponse();
|
|
1623
|
-
message.txs = object.txs?.map(e => Tx.fromAmino(e)) || [];
|
|
1624
|
-
if (object.block_id !== undefined && object.block_id !== null) {
|
|
1625
|
-
message.blockId = BlockID.fromAmino(object.block_id);
|
|
1626
|
-
}
|
|
1627
|
-
if (object.block !== undefined && object.block !== null) {
|
|
1628
|
-
message.block = Block.fromAmino(object.block);
|
|
1629
|
-
}
|
|
1630
|
-
if (object.pagination !== undefined && object.pagination !== null) {
|
|
1631
|
-
message.pagination = PageResponse.fromAmino(object.pagination);
|
|
1632
|
-
}
|
|
1633
|
-
return message;
|
|
1634
|
-
},
|
|
1635
|
-
toAmino(message: GetBlockWithTxsResponse): GetBlockWithTxsResponseAmino {
|
|
1636
|
-
const obj: any = {};
|
|
1637
|
-
if (message.txs) {
|
|
1638
|
-
obj.txs = message.txs.map(e => e ? Tx.toAmino(e) : undefined);
|
|
1639
|
-
} else {
|
|
1640
|
-
obj.txs = message.txs;
|
|
1641
|
-
}
|
|
1642
|
-
obj.block_id = message.blockId ? BlockID.toAmino(message.blockId) : undefined;
|
|
1643
|
-
obj.block = message.block ? Block.toAmino(message.block) : undefined;
|
|
1644
|
-
obj.pagination = message.pagination ? PageResponse.toAmino(message.pagination) : undefined;
|
|
1645
|
-
return obj;
|
|
1646
|
-
},
|
|
1647
|
-
fromAminoMsg(object: GetBlockWithTxsResponseAminoMsg): GetBlockWithTxsResponse {
|
|
1648
|
-
return GetBlockWithTxsResponse.fromAmino(object.value);
|
|
1649
|
-
},
|
|
1650
|
-
toAminoMsg(message: GetBlockWithTxsResponse): GetBlockWithTxsResponseAminoMsg {
|
|
1651
|
-
return {
|
|
1652
|
-
type: "cosmos-sdk/GetBlockWithTxsResponse",
|
|
1653
|
-
value: GetBlockWithTxsResponse.toAmino(message)
|
|
1654
|
-
};
|
|
1655
|
-
},
|
|
1656
|
-
fromProtoMsg(message: GetBlockWithTxsResponseProtoMsg): GetBlockWithTxsResponse {
|
|
1657
|
-
return GetBlockWithTxsResponse.decode(message.value);
|
|
1658
|
-
},
|
|
1659
|
-
toProto(message: GetBlockWithTxsResponse): Uint8Array {
|
|
1660
|
-
return GetBlockWithTxsResponse.encode(message).finish();
|
|
1661
|
-
},
|
|
1662
|
-
toProtoMsg(message: GetBlockWithTxsResponse): GetBlockWithTxsResponseProtoMsg {
|
|
1663
|
-
return {
|
|
1664
|
-
typeUrl: "/cosmos.tx.v1beta1.GetBlockWithTxsResponse",
|
|
1665
|
-
value: GetBlockWithTxsResponse.encode(message).finish()
|
|
1666
|
-
};
|
|
1667
|
-
}
|
|
1668
|
-
};
|
|
1669
|
-
GlobalDecoderRegistry.register(GetBlockWithTxsResponse.typeUrl, GetBlockWithTxsResponse);
|
|
1670
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(GetBlockWithTxsResponse.aminoType, GetBlockWithTxsResponse.typeUrl);
|
|
1671
|
-
function createBaseTxDecodeRequest(): TxDecodeRequest {
|
|
1672
|
-
return {
|
|
1673
|
-
txBytes: new Uint8Array()
|
|
1674
|
-
};
|
|
1675
|
-
}
|
|
1676
|
-
export const TxDecodeRequest = {
|
|
1677
|
-
typeUrl: "/cosmos.tx.v1beta1.TxDecodeRequest",
|
|
1678
|
-
aminoType: "cosmos-sdk/TxDecodeRequest",
|
|
1679
|
-
is(o: any): o is TxDecodeRequest {
|
|
1680
|
-
return o && (o.$typeUrl === TxDecodeRequest.typeUrl || o.txBytes instanceof Uint8Array || typeof o.txBytes === "string");
|
|
1681
|
-
},
|
|
1682
|
-
isAmino(o: any): o is TxDecodeRequestAmino {
|
|
1683
|
-
return o && (o.$typeUrl === TxDecodeRequest.typeUrl || o.tx_bytes instanceof Uint8Array || typeof o.tx_bytes === "string");
|
|
1684
|
-
},
|
|
1685
|
-
encode(message: TxDecodeRequest, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
1686
|
-
if (message.txBytes.length !== 0) {
|
|
1687
|
-
writer.uint32(10).bytes(message.txBytes);
|
|
1688
|
-
}
|
|
1689
|
-
return writer;
|
|
1690
|
-
},
|
|
1691
|
-
decode(input: BinaryReader | Uint8Array, length?: number): TxDecodeRequest {
|
|
1692
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1693
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1694
|
-
const message = createBaseTxDecodeRequest();
|
|
1695
|
-
while (reader.pos < end) {
|
|
1696
|
-
const tag = reader.uint32();
|
|
1697
|
-
switch (tag >>> 3) {
|
|
1698
|
-
case 1:
|
|
1699
|
-
message.txBytes = reader.bytes();
|
|
1700
|
-
break;
|
|
1701
|
-
default:
|
|
1702
|
-
reader.skipType(tag & 7);
|
|
1703
|
-
break;
|
|
1704
|
-
}
|
|
1705
|
-
}
|
|
1706
|
-
return message;
|
|
1707
|
-
},
|
|
1708
|
-
fromPartial(object: DeepPartial<TxDecodeRequest>): TxDecodeRequest {
|
|
1709
|
-
const message = createBaseTxDecodeRequest();
|
|
1710
|
-
message.txBytes = object.txBytes ?? new Uint8Array();
|
|
1711
|
-
return message;
|
|
1712
|
-
},
|
|
1713
|
-
fromAmino(object: TxDecodeRequestAmino): TxDecodeRequest {
|
|
1714
|
-
const message = createBaseTxDecodeRequest();
|
|
1715
|
-
if (object.tx_bytes !== undefined && object.tx_bytes !== null) {
|
|
1716
|
-
message.txBytes = bytesFromBase64(object.tx_bytes);
|
|
1717
|
-
}
|
|
1718
|
-
return message;
|
|
1719
|
-
},
|
|
1720
|
-
toAmino(message: TxDecodeRequest): TxDecodeRequestAmino {
|
|
1721
|
-
const obj: any = {};
|
|
1722
|
-
obj.tx_bytes = message.txBytes ? base64FromBytes(message.txBytes) : undefined;
|
|
1723
|
-
return obj;
|
|
1724
|
-
},
|
|
1725
|
-
fromAminoMsg(object: TxDecodeRequestAminoMsg): TxDecodeRequest {
|
|
1726
|
-
return TxDecodeRequest.fromAmino(object.value);
|
|
1727
|
-
},
|
|
1728
|
-
toAminoMsg(message: TxDecodeRequest): TxDecodeRequestAminoMsg {
|
|
1729
|
-
return {
|
|
1730
|
-
type: "cosmos-sdk/TxDecodeRequest",
|
|
1731
|
-
value: TxDecodeRequest.toAmino(message)
|
|
1732
|
-
};
|
|
1733
|
-
},
|
|
1734
|
-
fromProtoMsg(message: TxDecodeRequestProtoMsg): TxDecodeRequest {
|
|
1735
|
-
return TxDecodeRequest.decode(message.value);
|
|
1736
|
-
},
|
|
1737
|
-
toProto(message: TxDecodeRequest): Uint8Array {
|
|
1738
|
-
return TxDecodeRequest.encode(message).finish();
|
|
1739
|
-
},
|
|
1740
|
-
toProtoMsg(message: TxDecodeRequest): TxDecodeRequestProtoMsg {
|
|
1741
|
-
return {
|
|
1742
|
-
typeUrl: "/cosmos.tx.v1beta1.TxDecodeRequest",
|
|
1743
|
-
value: TxDecodeRequest.encode(message).finish()
|
|
1744
|
-
};
|
|
1745
|
-
}
|
|
1746
|
-
};
|
|
1747
|
-
GlobalDecoderRegistry.register(TxDecodeRequest.typeUrl, TxDecodeRequest);
|
|
1748
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(TxDecodeRequest.aminoType, TxDecodeRequest.typeUrl);
|
|
1749
|
-
function createBaseTxDecodeResponse(): TxDecodeResponse {
|
|
1750
|
-
return {
|
|
1751
|
-
tx: undefined
|
|
1752
|
-
};
|
|
1753
|
-
}
|
|
1754
|
-
export const TxDecodeResponse = {
|
|
1755
|
-
typeUrl: "/cosmos.tx.v1beta1.TxDecodeResponse",
|
|
1756
|
-
aminoType: "cosmos-sdk/TxDecodeResponse",
|
|
1757
|
-
is(o: any): o is TxDecodeResponse {
|
|
1758
|
-
return o && o.$typeUrl === TxDecodeResponse.typeUrl;
|
|
1759
|
-
},
|
|
1760
|
-
isAmino(o: any): o is TxDecodeResponseAmino {
|
|
1761
|
-
return o && o.$typeUrl === TxDecodeResponse.typeUrl;
|
|
1762
|
-
},
|
|
1763
|
-
encode(message: TxDecodeResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
1764
|
-
if (message.tx !== undefined) {
|
|
1765
|
-
Tx.encode(message.tx, writer.uint32(10).fork()).ldelim();
|
|
1766
|
-
}
|
|
1767
|
-
return writer;
|
|
1768
|
-
},
|
|
1769
|
-
decode(input: BinaryReader | Uint8Array, length?: number): TxDecodeResponse {
|
|
1770
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1771
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1772
|
-
const message = createBaseTxDecodeResponse();
|
|
1773
|
-
while (reader.pos < end) {
|
|
1774
|
-
const tag = reader.uint32();
|
|
1775
|
-
switch (tag >>> 3) {
|
|
1776
|
-
case 1:
|
|
1777
|
-
message.tx = Tx.decode(reader, reader.uint32());
|
|
1778
|
-
break;
|
|
1779
|
-
default:
|
|
1780
|
-
reader.skipType(tag & 7);
|
|
1781
|
-
break;
|
|
1782
|
-
}
|
|
1783
|
-
}
|
|
1784
|
-
return message;
|
|
1785
|
-
},
|
|
1786
|
-
fromPartial(object: DeepPartial<TxDecodeResponse>): TxDecodeResponse {
|
|
1787
|
-
const message = createBaseTxDecodeResponse();
|
|
1788
|
-
message.tx = object.tx !== undefined && object.tx !== null ? Tx.fromPartial(object.tx) : undefined;
|
|
1789
|
-
return message;
|
|
1790
|
-
},
|
|
1791
|
-
fromAmino(object: TxDecodeResponseAmino): TxDecodeResponse {
|
|
1792
|
-
const message = createBaseTxDecodeResponse();
|
|
1793
|
-
if (object.tx !== undefined && object.tx !== null) {
|
|
1794
|
-
message.tx = Tx.fromAmino(object.tx);
|
|
1795
|
-
}
|
|
1796
|
-
return message;
|
|
1797
|
-
},
|
|
1798
|
-
toAmino(message: TxDecodeResponse): TxDecodeResponseAmino {
|
|
1799
|
-
const obj: any = {};
|
|
1800
|
-
obj.tx = message.tx ? Tx.toAmino(message.tx) : undefined;
|
|
1801
|
-
return obj;
|
|
1802
|
-
},
|
|
1803
|
-
fromAminoMsg(object: TxDecodeResponseAminoMsg): TxDecodeResponse {
|
|
1804
|
-
return TxDecodeResponse.fromAmino(object.value);
|
|
1805
|
-
},
|
|
1806
|
-
toAminoMsg(message: TxDecodeResponse): TxDecodeResponseAminoMsg {
|
|
1807
|
-
return {
|
|
1808
|
-
type: "cosmos-sdk/TxDecodeResponse",
|
|
1809
|
-
value: TxDecodeResponse.toAmino(message)
|
|
1810
|
-
};
|
|
1811
|
-
},
|
|
1812
|
-
fromProtoMsg(message: TxDecodeResponseProtoMsg): TxDecodeResponse {
|
|
1813
|
-
return TxDecodeResponse.decode(message.value);
|
|
1814
|
-
},
|
|
1815
|
-
toProto(message: TxDecodeResponse): Uint8Array {
|
|
1816
|
-
return TxDecodeResponse.encode(message).finish();
|
|
1817
|
-
},
|
|
1818
|
-
toProtoMsg(message: TxDecodeResponse): TxDecodeResponseProtoMsg {
|
|
1819
|
-
return {
|
|
1820
|
-
typeUrl: "/cosmos.tx.v1beta1.TxDecodeResponse",
|
|
1821
|
-
value: TxDecodeResponse.encode(message).finish()
|
|
1822
|
-
};
|
|
1823
|
-
}
|
|
1824
|
-
};
|
|
1825
|
-
GlobalDecoderRegistry.register(TxDecodeResponse.typeUrl, TxDecodeResponse);
|
|
1826
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(TxDecodeResponse.aminoType, TxDecodeResponse.typeUrl);
|
|
1827
|
-
function createBaseTxEncodeRequest(): TxEncodeRequest {
|
|
1828
|
-
return {
|
|
1829
|
-
tx: undefined
|
|
1830
|
-
};
|
|
1831
|
-
}
|
|
1832
|
-
export const TxEncodeRequest = {
|
|
1833
|
-
typeUrl: "/cosmos.tx.v1beta1.TxEncodeRequest",
|
|
1834
|
-
aminoType: "cosmos-sdk/TxEncodeRequest",
|
|
1835
|
-
is(o: any): o is TxEncodeRequest {
|
|
1836
|
-
return o && o.$typeUrl === TxEncodeRequest.typeUrl;
|
|
1837
|
-
},
|
|
1838
|
-
isAmino(o: any): o is TxEncodeRequestAmino {
|
|
1839
|
-
return o && o.$typeUrl === TxEncodeRequest.typeUrl;
|
|
1840
|
-
},
|
|
1841
|
-
encode(message: TxEncodeRequest, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
1842
|
-
if (message.tx !== undefined) {
|
|
1843
|
-
Tx.encode(message.tx, writer.uint32(10).fork()).ldelim();
|
|
1844
|
-
}
|
|
1845
|
-
return writer;
|
|
1846
|
-
},
|
|
1847
|
-
decode(input: BinaryReader | Uint8Array, length?: number): TxEncodeRequest {
|
|
1848
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1849
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1850
|
-
const message = createBaseTxEncodeRequest();
|
|
1851
|
-
while (reader.pos < end) {
|
|
1852
|
-
const tag = reader.uint32();
|
|
1853
|
-
switch (tag >>> 3) {
|
|
1854
|
-
case 1:
|
|
1855
|
-
message.tx = Tx.decode(reader, reader.uint32());
|
|
1856
|
-
break;
|
|
1857
|
-
default:
|
|
1858
|
-
reader.skipType(tag & 7);
|
|
1859
|
-
break;
|
|
1860
|
-
}
|
|
1861
|
-
}
|
|
1862
|
-
return message;
|
|
1863
|
-
},
|
|
1864
|
-
fromPartial(object: DeepPartial<TxEncodeRequest>): TxEncodeRequest {
|
|
1865
|
-
const message = createBaseTxEncodeRequest();
|
|
1866
|
-
message.tx = object.tx !== undefined && object.tx !== null ? Tx.fromPartial(object.tx) : undefined;
|
|
1867
|
-
return message;
|
|
1868
|
-
},
|
|
1869
|
-
fromAmino(object: TxEncodeRequestAmino): TxEncodeRequest {
|
|
1870
|
-
const message = createBaseTxEncodeRequest();
|
|
1871
|
-
if (object.tx !== undefined && object.tx !== null) {
|
|
1872
|
-
message.tx = Tx.fromAmino(object.tx);
|
|
1873
|
-
}
|
|
1874
|
-
return message;
|
|
1875
|
-
},
|
|
1876
|
-
toAmino(message: TxEncodeRequest): TxEncodeRequestAmino {
|
|
1877
|
-
const obj: any = {};
|
|
1878
|
-
obj.tx = message.tx ? Tx.toAmino(message.tx) : undefined;
|
|
1879
|
-
return obj;
|
|
1880
|
-
},
|
|
1881
|
-
fromAminoMsg(object: TxEncodeRequestAminoMsg): TxEncodeRequest {
|
|
1882
|
-
return TxEncodeRequest.fromAmino(object.value);
|
|
1883
|
-
},
|
|
1884
|
-
toAminoMsg(message: TxEncodeRequest): TxEncodeRequestAminoMsg {
|
|
1885
|
-
return {
|
|
1886
|
-
type: "cosmos-sdk/TxEncodeRequest",
|
|
1887
|
-
value: TxEncodeRequest.toAmino(message)
|
|
1888
|
-
};
|
|
1889
|
-
},
|
|
1890
|
-
fromProtoMsg(message: TxEncodeRequestProtoMsg): TxEncodeRequest {
|
|
1891
|
-
return TxEncodeRequest.decode(message.value);
|
|
1892
|
-
},
|
|
1893
|
-
toProto(message: TxEncodeRequest): Uint8Array {
|
|
1894
|
-
return TxEncodeRequest.encode(message).finish();
|
|
1895
|
-
},
|
|
1896
|
-
toProtoMsg(message: TxEncodeRequest): TxEncodeRequestProtoMsg {
|
|
1897
|
-
return {
|
|
1898
|
-
typeUrl: "/cosmos.tx.v1beta1.TxEncodeRequest",
|
|
1899
|
-
value: TxEncodeRequest.encode(message).finish()
|
|
1900
|
-
};
|
|
1901
|
-
}
|
|
1902
|
-
};
|
|
1903
|
-
GlobalDecoderRegistry.register(TxEncodeRequest.typeUrl, TxEncodeRequest);
|
|
1904
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(TxEncodeRequest.aminoType, TxEncodeRequest.typeUrl);
|
|
1905
|
-
function createBaseTxEncodeResponse(): TxEncodeResponse {
|
|
1906
|
-
return {
|
|
1907
|
-
txBytes: new Uint8Array()
|
|
1908
|
-
};
|
|
1909
|
-
}
|
|
1910
|
-
export const TxEncodeResponse = {
|
|
1911
|
-
typeUrl: "/cosmos.tx.v1beta1.TxEncodeResponse",
|
|
1912
|
-
aminoType: "cosmos-sdk/TxEncodeResponse",
|
|
1913
|
-
is(o: any): o is TxEncodeResponse {
|
|
1914
|
-
return o && (o.$typeUrl === TxEncodeResponse.typeUrl || o.txBytes instanceof Uint8Array || typeof o.txBytes === "string");
|
|
1915
|
-
},
|
|
1916
|
-
isAmino(o: any): o is TxEncodeResponseAmino {
|
|
1917
|
-
return o && (o.$typeUrl === TxEncodeResponse.typeUrl || o.tx_bytes instanceof Uint8Array || typeof o.tx_bytes === "string");
|
|
1918
|
-
},
|
|
1919
|
-
encode(message: TxEncodeResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
1920
|
-
if (message.txBytes.length !== 0) {
|
|
1921
|
-
writer.uint32(10).bytes(message.txBytes);
|
|
1922
|
-
}
|
|
1923
|
-
return writer;
|
|
1924
|
-
},
|
|
1925
|
-
decode(input: BinaryReader | Uint8Array, length?: number): TxEncodeResponse {
|
|
1926
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1927
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1928
|
-
const message = createBaseTxEncodeResponse();
|
|
1929
|
-
while (reader.pos < end) {
|
|
1930
|
-
const tag = reader.uint32();
|
|
1931
|
-
switch (tag >>> 3) {
|
|
1932
|
-
case 1:
|
|
1933
|
-
message.txBytes = reader.bytes();
|
|
1934
|
-
break;
|
|
1935
|
-
default:
|
|
1936
|
-
reader.skipType(tag & 7);
|
|
1937
|
-
break;
|
|
1938
|
-
}
|
|
1939
|
-
}
|
|
1940
|
-
return message;
|
|
1941
|
-
},
|
|
1942
|
-
fromPartial(object: DeepPartial<TxEncodeResponse>): TxEncodeResponse {
|
|
1943
|
-
const message = createBaseTxEncodeResponse();
|
|
1944
|
-
message.txBytes = object.txBytes ?? new Uint8Array();
|
|
1945
|
-
return message;
|
|
1946
|
-
},
|
|
1947
|
-
fromAmino(object: TxEncodeResponseAmino): TxEncodeResponse {
|
|
1948
|
-
const message = createBaseTxEncodeResponse();
|
|
1949
|
-
if (object.tx_bytes !== undefined && object.tx_bytes !== null) {
|
|
1950
|
-
message.txBytes = bytesFromBase64(object.tx_bytes);
|
|
1951
|
-
}
|
|
1952
|
-
return message;
|
|
1953
|
-
},
|
|
1954
|
-
toAmino(message: TxEncodeResponse): TxEncodeResponseAmino {
|
|
1955
|
-
const obj: any = {};
|
|
1956
|
-
obj.tx_bytes = message.txBytes ? base64FromBytes(message.txBytes) : undefined;
|
|
1957
|
-
return obj;
|
|
1958
|
-
},
|
|
1959
|
-
fromAminoMsg(object: TxEncodeResponseAminoMsg): TxEncodeResponse {
|
|
1960
|
-
return TxEncodeResponse.fromAmino(object.value);
|
|
1961
|
-
},
|
|
1962
|
-
toAminoMsg(message: TxEncodeResponse): TxEncodeResponseAminoMsg {
|
|
1963
|
-
return {
|
|
1964
|
-
type: "cosmos-sdk/TxEncodeResponse",
|
|
1965
|
-
value: TxEncodeResponse.toAmino(message)
|
|
1966
|
-
};
|
|
1967
|
-
},
|
|
1968
|
-
fromProtoMsg(message: TxEncodeResponseProtoMsg): TxEncodeResponse {
|
|
1969
|
-
return TxEncodeResponse.decode(message.value);
|
|
1970
|
-
},
|
|
1971
|
-
toProto(message: TxEncodeResponse): Uint8Array {
|
|
1972
|
-
return TxEncodeResponse.encode(message).finish();
|
|
1973
|
-
},
|
|
1974
|
-
toProtoMsg(message: TxEncodeResponse): TxEncodeResponseProtoMsg {
|
|
1975
|
-
return {
|
|
1976
|
-
typeUrl: "/cosmos.tx.v1beta1.TxEncodeResponse",
|
|
1977
|
-
value: TxEncodeResponse.encode(message).finish()
|
|
1978
|
-
};
|
|
1979
|
-
}
|
|
1980
|
-
};
|
|
1981
|
-
GlobalDecoderRegistry.register(TxEncodeResponse.typeUrl, TxEncodeResponse);
|
|
1982
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(TxEncodeResponse.aminoType, TxEncodeResponse.typeUrl);
|
|
1983
|
-
function createBaseTxEncodeAminoRequest(): TxEncodeAminoRequest {
|
|
1984
|
-
return {
|
|
1985
|
-
aminoJson: ""
|
|
1986
|
-
};
|
|
1987
|
-
}
|
|
1988
|
-
export const TxEncodeAminoRequest = {
|
|
1989
|
-
typeUrl: "/cosmos.tx.v1beta1.TxEncodeAminoRequest",
|
|
1990
|
-
aminoType: "cosmos-sdk/TxEncodeAminoRequest",
|
|
1991
|
-
is(o: any): o is TxEncodeAminoRequest {
|
|
1992
|
-
return o && (o.$typeUrl === TxEncodeAminoRequest.typeUrl || typeof o.aminoJson === "string");
|
|
1993
|
-
},
|
|
1994
|
-
isAmino(o: any): o is TxEncodeAminoRequestAmino {
|
|
1995
|
-
return o && (o.$typeUrl === TxEncodeAminoRequest.typeUrl || typeof o.amino_json === "string");
|
|
1996
|
-
},
|
|
1997
|
-
encode(message: TxEncodeAminoRequest, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
1998
|
-
if (message.aminoJson !== "") {
|
|
1999
|
-
writer.uint32(10).string(message.aminoJson);
|
|
2000
|
-
}
|
|
2001
|
-
return writer;
|
|
2002
|
-
},
|
|
2003
|
-
decode(input: BinaryReader | Uint8Array, length?: number): TxEncodeAminoRequest {
|
|
2004
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
2005
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2006
|
-
const message = createBaseTxEncodeAminoRequest();
|
|
2007
|
-
while (reader.pos < end) {
|
|
2008
|
-
const tag = reader.uint32();
|
|
2009
|
-
switch (tag >>> 3) {
|
|
2010
|
-
case 1:
|
|
2011
|
-
message.aminoJson = reader.string();
|
|
2012
|
-
break;
|
|
2013
|
-
default:
|
|
2014
|
-
reader.skipType(tag & 7);
|
|
2015
|
-
break;
|
|
2016
|
-
}
|
|
2017
|
-
}
|
|
2018
|
-
return message;
|
|
2019
|
-
},
|
|
2020
|
-
fromPartial(object: DeepPartial<TxEncodeAminoRequest>): TxEncodeAminoRequest {
|
|
2021
|
-
const message = createBaseTxEncodeAminoRequest();
|
|
2022
|
-
message.aminoJson = object.aminoJson ?? "";
|
|
2023
|
-
return message;
|
|
2024
|
-
},
|
|
2025
|
-
fromAmino(object: TxEncodeAminoRequestAmino): TxEncodeAminoRequest {
|
|
2026
|
-
const message = createBaseTxEncodeAminoRequest();
|
|
2027
|
-
if (object.amino_json !== undefined && object.amino_json !== null) {
|
|
2028
|
-
message.aminoJson = object.amino_json;
|
|
2029
|
-
}
|
|
2030
|
-
return message;
|
|
2031
|
-
},
|
|
2032
|
-
toAmino(message: TxEncodeAminoRequest): TxEncodeAminoRequestAmino {
|
|
2033
|
-
const obj: any = {};
|
|
2034
|
-
obj.amino_json = message.aminoJson === "" ? undefined : message.aminoJson;
|
|
2035
|
-
return obj;
|
|
2036
|
-
},
|
|
2037
|
-
fromAminoMsg(object: TxEncodeAminoRequestAminoMsg): TxEncodeAminoRequest {
|
|
2038
|
-
return TxEncodeAminoRequest.fromAmino(object.value);
|
|
2039
|
-
},
|
|
2040
|
-
toAminoMsg(message: TxEncodeAminoRequest): TxEncodeAminoRequestAminoMsg {
|
|
2041
|
-
return {
|
|
2042
|
-
type: "cosmos-sdk/TxEncodeAminoRequest",
|
|
2043
|
-
value: TxEncodeAminoRequest.toAmino(message)
|
|
2044
|
-
};
|
|
2045
|
-
},
|
|
2046
|
-
fromProtoMsg(message: TxEncodeAminoRequestProtoMsg): TxEncodeAminoRequest {
|
|
2047
|
-
return TxEncodeAminoRequest.decode(message.value);
|
|
2048
|
-
},
|
|
2049
|
-
toProto(message: TxEncodeAminoRequest): Uint8Array {
|
|
2050
|
-
return TxEncodeAminoRequest.encode(message).finish();
|
|
2051
|
-
},
|
|
2052
|
-
toProtoMsg(message: TxEncodeAminoRequest): TxEncodeAminoRequestProtoMsg {
|
|
2053
|
-
return {
|
|
2054
|
-
typeUrl: "/cosmos.tx.v1beta1.TxEncodeAminoRequest",
|
|
2055
|
-
value: TxEncodeAminoRequest.encode(message).finish()
|
|
2056
|
-
};
|
|
2057
|
-
}
|
|
2058
|
-
};
|
|
2059
|
-
GlobalDecoderRegistry.register(TxEncodeAminoRequest.typeUrl, TxEncodeAminoRequest);
|
|
2060
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(TxEncodeAminoRequest.aminoType, TxEncodeAminoRequest.typeUrl);
|
|
2061
|
-
function createBaseTxEncodeAminoResponse(): TxEncodeAminoResponse {
|
|
2062
|
-
return {
|
|
2063
|
-
aminoBinary: new Uint8Array()
|
|
2064
|
-
};
|
|
2065
|
-
}
|
|
2066
|
-
export const TxEncodeAminoResponse = {
|
|
2067
|
-
typeUrl: "/cosmos.tx.v1beta1.TxEncodeAminoResponse",
|
|
2068
|
-
aminoType: "cosmos-sdk/TxEncodeAminoResponse",
|
|
2069
|
-
is(o: any): o is TxEncodeAminoResponse {
|
|
2070
|
-
return o && (o.$typeUrl === TxEncodeAminoResponse.typeUrl || o.aminoBinary instanceof Uint8Array || typeof o.aminoBinary === "string");
|
|
2071
|
-
},
|
|
2072
|
-
isAmino(o: any): o is TxEncodeAminoResponseAmino {
|
|
2073
|
-
return o && (o.$typeUrl === TxEncodeAminoResponse.typeUrl || o.amino_binary instanceof Uint8Array || typeof o.amino_binary === "string");
|
|
2074
|
-
},
|
|
2075
|
-
encode(message: TxEncodeAminoResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
2076
|
-
if (message.aminoBinary.length !== 0) {
|
|
2077
|
-
writer.uint32(10).bytes(message.aminoBinary);
|
|
2078
|
-
}
|
|
2079
|
-
return writer;
|
|
2080
|
-
},
|
|
2081
|
-
decode(input: BinaryReader | Uint8Array, length?: number): TxEncodeAminoResponse {
|
|
2082
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
2083
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2084
|
-
const message = createBaseTxEncodeAminoResponse();
|
|
2085
|
-
while (reader.pos < end) {
|
|
2086
|
-
const tag = reader.uint32();
|
|
2087
|
-
switch (tag >>> 3) {
|
|
2088
|
-
case 1:
|
|
2089
|
-
message.aminoBinary = reader.bytes();
|
|
2090
|
-
break;
|
|
2091
|
-
default:
|
|
2092
|
-
reader.skipType(tag & 7);
|
|
2093
|
-
break;
|
|
2094
|
-
}
|
|
2095
|
-
}
|
|
2096
|
-
return message;
|
|
2097
|
-
},
|
|
2098
|
-
fromPartial(object: DeepPartial<TxEncodeAminoResponse>): TxEncodeAminoResponse {
|
|
2099
|
-
const message = createBaseTxEncodeAminoResponse();
|
|
2100
|
-
message.aminoBinary = object.aminoBinary ?? new Uint8Array();
|
|
2101
|
-
return message;
|
|
2102
|
-
},
|
|
2103
|
-
fromAmino(object: TxEncodeAminoResponseAmino): TxEncodeAminoResponse {
|
|
2104
|
-
const message = createBaseTxEncodeAminoResponse();
|
|
2105
|
-
if (object.amino_binary !== undefined && object.amino_binary !== null) {
|
|
2106
|
-
message.aminoBinary = bytesFromBase64(object.amino_binary);
|
|
2107
|
-
}
|
|
2108
|
-
return message;
|
|
2109
|
-
},
|
|
2110
|
-
toAmino(message: TxEncodeAminoResponse): TxEncodeAminoResponseAmino {
|
|
2111
|
-
const obj: any = {};
|
|
2112
|
-
obj.amino_binary = message.aminoBinary ? base64FromBytes(message.aminoBinary) : undefined;
|
|
2113
|
-
return obj;
|
|
2114
|
-
},
|
|
2115
|
-
fromAminoMsg(object: TxEncodeAminoResponseAminoMsg): TxEncodeAminoResponse {
|
|
2116
|
-
return TxEncodeAminoResponse.fromAmino(object.value);
|
|
2117
|
-
},
|
|
2118
|
-
toAminoMsg(message: TxEncodeAminoResponse): TxEncodeAminoResponseAminoMsg {
|
|
2119
|
-
return {
|
|
2120
|
-
type: "cosmos-sdk/TxEncodeAminoResponse",
|
|
2121
|
-
value: TxEncodeAminoResponse.toAmino(message)
|
|
2122
|
-
};
|
|
2123
|
-
},
|
|
2124
|
-
fromProtoMsg(message: TxEncodeAminoResponseProtoMsg): TxEncodeAminoResponse {
|
|
2125
|
-
return TxEncodeAminoResponse.decode(message.value);
|
|
2126
|
-
},
|
|
2127
|
-
toProto(message: TxEncodeAminoResponse): Uint8Array {
|
|
2128
|
-
return TxEncodeAminoResponse.encode(message).finish();
|
|
2129
|
-
},
|
|
2130
|
-
toProtoMsg(message: TxEncodeAminoResponse): TxEncodeAminoResponseProtoMsg {
|
|
2131
|
-
return {
|
|
2132
|
-
typeUrl: "/cosmos.tx.v1beta1.TxEncodeAminoResponse",
|
|
2133
|
-
value: TxEncodeAminoResponse.encode(message).finish()
|
|
2134
|
-
};
|
|
2135
|
-
}
|
|
2136
|
-
};
|
|
2137
|
-
GlobalDecoderRegistry.register(TxEncodeAminoResponse.typeUrl, TxEncodeAminoResponse);
|
|
2138
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(TxEncodeAminoResponse.aminoType, TxEncodeAminoResponse.typeUrl);
|
|
2139
|
-
function createBaseTxDecodeAminoRequest(): TxDecodeAminoRequest {
|
|
2140
|
-
return {
|
|
2141
|
-
aminoBinary: new Uint8Array()
|
|
2142
|
-
};
|
|
2143
|
-
}
|
|
2144
|
-
export const TxDecodeAminoRequest = {
|
|
2145
|
-
typeUrl: "/cosmos.tx.v1beta1.TxDecodeAminoRequest",
|
|
2146
|
-
aminoType: "cosmos-sdk/TxDecodeAminoRequest",
|
|
2147
|
-
is(o: any): o is TxDecodeAminoRequest {
|
|
2148
|
-
return o && (o.$typeUrl === TxDecodeAminoRequest.typeUrl || o.aminoBinary instanceof Uint8Array || typeof o.aminoBinary === "string");
|
|
2149
|
-
},
|
|
2150
|
-
isAmino(o: any): o is TxDecodeAminoRequestAmino {
|
|
2151
|
-
return o && (o.$typeUrl === TxDecodeAminoRequest.typeUrl || o.amino_binary instanceof Uint8Array || typeof o.amino_binary === "string");
|
|
2152
|
-
},
|
|
2153
|
-
encode(message: TxDecodeAminoRequest, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
2154
|
-
if (message.aminoBinary.length !== 0) {
|
|
2155
|
-
writer.uint32(10).bytes(message.aminoBinary);
|
|
2156
|
-
}
|
|
2157
|
-
return writer;
|
|
2158
|
-
},
|
|
2159
|
-
decode(input: BinaryReader | Uint8Array, length?: number): TxDecodeAminoRequest {
|
|
2160
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
2161
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2162
|
-
const message = createBaseTxDecodeAminoRequest();
|
|
2163
|
-
while (reader.pos < end) {
|
|
2164
|
-
const tag = reader.uint32();
|
|
2165
|
-
switch (tag >>> 3) {
|
|
2166
|
-
case 1:
|
|
2167
|
-
message.aminoBinary = reader.bytes();
|
|
2168
|
-
break;
|
|
2169
|
-
default:
|
|
2170
|
-
reader.skipType(tag & 7);
|
|
2171
|
-
break;
|
|
2172
|
-
}
|
|
2173
|
-
}
|
|
2174
|
-
return message;
|
|
2175
|
-
},
|
|
2176
|
-
fromPartial(object: DeepPartial<TxDecodeAminoRequest>): TxDecodeAminoRequest {
|
|
2177
|
-
const message = createBaseTxDecodeAminoRequest();
|
|
2178
|
-
message.aminoBinary = object.aminoBinary ?? new Uint8Array();
|
|
2179
|
-
return message;
|
|
2180
|
-
},
|
|
2181
|
-
fromAmino(object: TxDecodeAminoRequestAmino): TxDecodeAminoRequest {
|
|
2182
|
-
const message = createBaseTxDecodeAminoRequest();
|
|
2183
|
-
if (object.amino_binary !== undefined && object.amino_binary !== null) {
|
|
2184
|
-
message.aminoBinary = bytesFromBase64(object.amino_binary);
|
|
2185
|
-
}
|
|
2186
|
-
return message;
|
|
2187
|
-
},
|
|
2188
|
-
toAmino(message: TxDecodeAminoRequest): TxDecodeAminoRequestAmino {
|
|
2189
|
-
const obj: any = {};
|
|
2190
|
-
obj.amino_binary = message.aminoBinary ? base64FromBytes(message.aminoBinary) : undefined;
|
|
2191
|
-
return obj;
|
|
2192
|
-
},
|
|
2193
|
-
fromAminoMsg(object: TxDecodeAminoRequestAminoMsg): TxDecodeAminoRequest {
|
|
2194
|
-
return TxDecodeAminoRequest.fromAmino(object.value);
|
|
2195
|
-
},
|
|
2196
|
-
toAminoMsg(message: TxDecodeAminoRequest): TxDecodeAminoRequestAminoMsg {
|
|
2197
|
-
return {
|
|
2198
|
-
type: "cosmos-sdk/TxDecodeAminoRequest",
|
|
2199
|
-
value: TxDecodeAminoRequest.toAmino(message)
|
|
2200
|
-
};
|
|
2201
|
-
},
|
|
2202
|
-
fromProtoMsg(message: TxDecodeAminoRequestProtoMsg): TxDecodeAminoRequest {
|
|
2203
|
-
return TxDecodeAminoRequest.decode(message.value);
|
|
2204
|
-
},
|
|
2205
|
-
toProto(message: TxDecodeAminoRequest): Uint8Array {
|
|
2206
|
-
return TxDecodeAminoRequest.encode(message).finish();
|
|
2207
|
-
},
|
|
2208
|
-
toProtoMsg(message: TxDecodeAminoRequest): TxDecodeAminoRequestProtoMsg {
|
|
2209
|
-
return {
|
|
2210
|
-
typeUrl: "/cosmos.tx.v1beta1.TxDecodeAminoRequest",
|
|
2211
|
-
value: TxDecodeAminoRequest.encode(message).finish()
|
|
2212
|
-
};
|
|
2213
|
-
}
|
|
2214
|
-
};
|
|
2215
|
-
GlobalDecoderRegistry.register(TxDecodeAminoRequest.typeUrl, TxDecodeAminoRequest);
|
|
2216
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(TxDecodeAminoRequest.aminoType, TxDecodeAminoRequest.typeUrl);
|
|
2217
|
-
function createBaseTxDecodeAminoResponse(): TxDecodeAminoResponse {
|
|
2218
|
-
return {
|
|
2219
|
-
aminoJson: ""
|
|
2220
|
-
};
|
|
2221
|
-
}
|
|
2222
|
-
export const TxDecodeAminoResponse = {
|
|
2223
|
-
typeUrl: "/cosmos.tx.v1beta1.TxDecodeAminoResponse",
|
|
2224
|
-
aminoType: "cosmos-sdk/TxDecodeAminoResponse",
|
|
2225
|
-
is(o: any): o is TxDecodeAminoResponse {
|
|
2226
|
-
return o && (o.$typeUrl === TxDecodeAminoResponse.typeUrl || typeof o.aminoJson === "string");
|
|
2227
|
-
},
|
|
2228
|
-
isAmino(o: any): o is TxDecodeAminoResponseAmino {
|
|
2229
|
-
return o && (o.$typeUrl === TxDecodeAminoResponse.typeUrl || typeof o.amino_json === "string");
|
|
2230
|
-
},
|
|
2231
|
-
encode(message: TxDecodeAminoResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
2232
|
-
if (message.aminoJson !== "") {
|
|
2233
|
-
writer.uint32(10).string(message.aminoJson);
|
|
2234
|
-
}
|
|
2235
|
-
return writer;
|
|
2236
|
-
},
|
|
2237
|
-
decode(input: BinaryReader | Uint8Array, length?: number): TxDecodeAminoResponse {
|
|
2238
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
2239
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2240
|
-
const message = createBaseTxDecodeAminoResponse();
|
|
2241
|
-
while (reader.pos < end) {
|
|
2242
|
-
const tag = reader.uint32();
|
|
2243
|
-
switch (tag >>> 3) {
|
|
2244
|
-
case 1:
|
|
2245
|
-
message.aminoJson = reader.string();
|
|
2246
|
-
break;
|
|
2247
|
-
default:
|
|
2248
|
-
reader.skipType(tag & 7);
|
|
2249
|
-
break;
|
|
2250
|
-
}
|
|
2251
|
-
}
|
|
2252
|
-
return message;
|
|
2253
|
-
},
|
|
2254
|
-
fromPartial(object: DeepPartial<TxDecodeAminoResponse>): TxDecodeAminoResponse {
|
|
2255
|
-
const message = createBaseTxDecodeAminoResponse();
|
|
2256
|
-
message.aminoJson = object.aminoJson ?? "";
|
|
2257
|
-
return message;
|
|
2258
|
-
},
|
|
2259
|
-
fromAmino(object: TxDecodeAminoResponseAmino): TxDecodeAminoResponse {
|
|
2260
|
-
const message = createBaseTxDecodeAminoResponse();
|
|
2261
|
-
if (object.amino_json !== undefined && object.amino_json !== null) {
|
|
2262
|
-
message.aminoJson = object.amino_json;
|
|
2263
|
-
}
|
|
2264
|
-
return message;
|
|
2265
|
-
},
|
|
2266
|
-
toAmino(message: TxDecodeAminoResponse): TxDecodeAminoResponseAmino {
|
|
2267
|
-
const obj: any = {};
|
|
2268
|
-
obj.amino_json = message.aminoJson === "" ? undefined : message.aminoJson;
|
|
2269
|
-
return obj;
|
|
2270
|
-
},
|
|
2271
|
-
fromAminoMsg(object: TxDecodeAminoResponseAminoMsg): TxDecodeAminoResponse {
|
|
2272
|
-
return TxDecodeAminoResponse.fromAmino(object.value);
|
|
2273
|
-
},
|
|
2274
|
-
toAminoMsg(message: TxDecodeAminoResponse): TxDecodeAminoResponseAminoMsg {
|
|
2275
|
-
return {
|
|
2276
|
-
type: "cosmos-sdk/TxDecodeAminoResponse",
|
|
2277
|
-
value: TxDecodeAminoResponse.toAmino(message)
|
|
2278
|
-
};
|
|
2279
|
-
},
|
|
2280
|
-
fromProtoMsg(message: TxDecodeAminoResponseProtoMsg): TxDecodeAminoResponse {
|
|
2281
|
-
return TxDecodeAminoResponse.decode(message.value);
|
|
2282
|
-
},
|
|
2283
|
-
toProto(message: TxDecodeAminoResponse): Uint8Array {
|
|
2284
|
-
return TxDecodeAminoResponse.encode(message).finish();
|
|
2285
|
-
},
|
|
2286
|
-
toProtoMsg(message: TxDecodeAminoResponse): TxDecodeAminoResponseProtoMsg {
|
|
2287
|
-
return {
|
|
2288
|
-
typeUrl: "/cosmos.tx.v1beta1.TxDecodeAminoResponse",
|
|
2289
|
-
value: TxDecodeAminoResponse.encode(message).finish()
|
|
2290
|
-
};
|
|
2291
|
-
}
|
|
2292
|
-
};
|
|
2293
|
-
GlobalDecoderRegistry.register(TxDecodeAminoResponse.typeUrl, TxDecodeAminoResponse);
|
|
2294
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(TxDecodeAminoResponse.aminoType, TxDecodeAminoResponse.typeUrl);
|