@xpla/xpla-react 1.7.0-beta.0 → 1.7.0-beta.10
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 +174 -0
- package/cosmos/app/runtime/v1alpha1/module.js +293 -0
- package/cosmos/app/runtime/v2/module.d.ts +228 -0
- package/cosmos/app/runtime/v2/module.js +422 -0
- package/cosmos/app/v1alpha1/config.d.ts +181 -0
- package/cosmos/app/v1alpha1/config.js +297 -0
- package/cosmos/app/v1alpha1/module.d.ts +234 -0
- package/cosmos/app/v1alpha1/module.js +281 -0
- package/cosmos/app/v1alpha1/query.d.ts +67 -0
- package/cosmos/app/v1alpha1/query.js +149 -0
- package/cosmos/app/v1alpha1/query.rpc.func.d.ts +4 -0
- package/cosmos/app/v1alpha1/query.rpc.func.js +18 -0
- package/cosmos/auth/module/v1/module.d.ts +88 -0
- package/cosmos/auth/module/v1/module.js +203 -0
- package/cosmos/auth/v1beta1/accounts.d.ts +104 -0
- package/cosmos/auth/v1beta1/accounts.js +162 -0
- package/cosmos/auth/v1beta1/auth.d.ts +177 -0
- package/cosmos/auth/v1beta1/auth.js +445 -0
- package/cosmos/auth/v1beta1/genesis.d.ts +42 -0
- package/cosmos/auth/v1beta1/genesis.js +100 -0
- package/cosmos/auth/v1beta1/query.d.ts +810 -0
- package/cosmos/auth/v1beta1/query.js +1561 -0
- package/cosmos/auth/v1beta1/query.rpc.func.d.ts +22 -0
- package/cosmos/auth/v1beta1/query.rpc.func.js +126 -0
- package/cosmos/auth/v1beta1/tx.d.ts +97 -0
- package/cosmos/auth/v1beta1/tx.js +161 -0
- package/cosmos/auth/v1beta1/tx.registry.d.ts +23 -0
- package/cosmos/auth/v1beta1/tx.registry.js +31 -0
- package/cosmos/auth/v1beta1/tx.rpc.func.d.ts +4 -0
- package/cosmos/auth/v1beta1/tx.rpc.func.js +17 -0
- package/cosmos/authz/module/v1/module.d.ts +32 -0
- package/cosmos/authz/module/v1/module.js +70 -0
- package/cosmos/authz/v1beta1/authz.d.ts +181 -0
- package/cosmos/authz/v1beta1/authz.js +371 -0
- package/cosmos/authz/v1beta1/event.d.ts +86 -0
- package/cosmos/authz/v1beta1/event.js +209 -0
- package/cosmos/authz/v1beta1/genesis.d.ts +35 -0
- package/cosmos/authz/v1beta1/genesis.js +87 -0
- package/cosmos/authz/v1beta1/query.d.ts +232 -0
- package/cosmos/authz/v1beta1/query.js +580 -0
- package/cosmos/authz/v1beta1/query.rpc.func.d.ts +8 -0
- package/cosmos/authz/v1beta1/query.rpc.func.js +42 -0
- package/cosmos/authz/v1beta1/tx.d.ts +240 -0
- package/cosmos/authz/v1beta1/tx.js +516 -0
- package/cosmos/authz/v1beta1/tx.registry.d.ts +47 -0
- package/cosmos/authz/v1beta1/tx.registry.js +67 -0
- package/cosmos/authz/v1beta1/tx.rpc.func.d.ts +8 -0
- package/cosmos/authz/v1beta1/tx.rpc.func.js +37 -0
- package/cosmos/autocli/v1/options.d.ts +412 -0
- package/cosmos/autocli/v1/options.js +834 -0
- package/cosmos/autocli/v1/query.d.ts +97 -0
- package/cosmos/autocli/v1/query.js +237 -0
- package/cosmos/autocli/v1/query.rpc.func.d.ts +4 -0
- package/cosmos/autocli/v1/query.rpc.func.js +18 -0
- package/cosmos/bank/module/v1/module.d.ts +62 -0
- package/cosmos/bank/module/v1/module.js +113 -0
- package/cosmos/bank/v1beta1/authz.d.ts +59 -0
- package/cosmos/bank/v1beta1/authz.js +102 -0
- package/cosmos/bank/v1beta1/bank.d.ts +371 -0
- package/cosmos/bank/v1beta1/bank.js +726 -0
- package/cosmos/bank/v1beta1/genesis.d.ts +112 -0
- package/cosmos/bank/v1beta1/genesis.js +238 -0
- package/cosmos/bank/v1beta1/query.d.ts +1159 -0
- package/cosmos/bank/v1beta1/query.js +2317 -0
- package/cosmos/bank/v1beta1/query.rpc.func.d.ts +28 -0
- package/cosmos/bank/v1beta1/query.rpc.func.js +162 -0
- package/cosmos/bank/v1beta1/tx.d.ts +342 -0
- package/cosmos/bank/v1beta1/tx.js +666 -0
- package/cosmos/bank/v1beta1/tx.registry.d.ts +59 -0
- package/cosmos/bank/v1beta1/tx.registry.js +85 -0
- package/cosmos/bank/v1beta1/tx.rpc.func.d.ts +10 -0
- package/cosmos/bank/v1beta1/tx.rpc.func.js +47 -0
- package/cosmos/base/abci/v1beta1/abci.d.ts +599 -0
- package/cosmos/base/abci/v1beta1/abci.js +1293 -0
- package/cosmos/base/grpc/v2/service.d.ts +163 -0
- package/cosmos/base/grpc/v2/service.js +398 -0
- package/cosmos/base/grpc/v2/service.rpc.func.d.ts +6 -0
- package/cosmos/base/grpc/v2/service.rpc.func.js +30 -0
- package/cosmos/base/node/v1beta1/query.d.ts +150 -0
- package/cosmos/base/node/v1beta1/query.js +377 -0
- package/cosmos/base/node/v1beta1/query.rpc.func.d.ts +6 -0
- package/cosmos/base/node/v1beta1/query.rpc.func.js +30 -0
- package/cosmos/base/query/v1beta1/pagination.d.ts +176 -0
- package/cosmos/base/query/v1beta1/pagination.js +222 -0
- package/cosmos/base/reflection/v1beta1/reflection.d.ts +144 -0
- package/cosmos/base/reflection/v1beta1/reflection.js +310 -0
- package/cosmos/base/reflection/v1beta1/reflection.rpc.func.d.ts +6 -0
- package/cosmos/base/reflection/v1beta1/reflection.rpc.func.js +30 -0
- package/cosmos/base/reflection/v2alpha1/reflection.d.ts +1008 -0
- package/cosmos/base/reflection/v2alpha1/reflection.js +2159 -0
- package/cosmos/base/reflection/v2alpha1/reflection.rpc.func.d.ts +14 -0
- package/cosmos/base/reflection/v2alpha1/reflection.rpc.func.js +78 -0
- package/cosmos/base/tendermint/v1beta1/query.d.ts +740 -0
- package/cosmos/base/tendermint/v1beta1/query.js +1887 -0
- package/cosmos/base/tendermint/v1beta1/query.rpc.func.d.ts +16 -0
- package/cosmos/base/tendermint/v1beta1/query.rpc.func.js +90 -0
- package/cosmos/base/tendermint/v1beta1/types.d.ts +137 -0
- package/cosmos/base/tendermint/v1beta1/types.js +358 -0
- package/cosmos/base/v1beta1/coin.d.ts +166 -0
- package/cosmos/base/v1beta1/coin.js +341 -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 +36 -0
- package/cosmos/consensus/module/v1/module.js +83 -0
- package/cosmos/consensus/v1/query.d.ts +75 -0
- package/cosmos/consensus/v1/query.js +149 -0
- package/cosmos/consensus/v1/query.rpc.func.d.ts +4 -0
- package/cosmos/consensus/v1/query.rpc.func.js +18 -0
- package/cosmos/consensus/v1/tx.d.ts +97 -0
- package/cosmos/consensus/v1/tx.js +197 -0
- package/cosmos/consensus/v1/tx.registry.d.ts +23 -0
- package/cosmos/consensus/v1/tx.registry.js +31 -0
- package/cosmos/consensus/v1/tx.rpc.func.d.ts +4 -0
- package/cosmos/consensus/v1/tx.rpc.func.js +17 -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 +86 -0
- package/cosmos/crypto/multisig/v1beta1/multisig.js +177 -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 +38 -0
- package/cosmos/distribution/module/v1/module.js +95 -0
- package/cosmos/distribution/v1beta1/distribution.d.ts +541 -0
- package/cosmos/distribution/v1beta1/distribution.js +1158 -0
- package/cosmos/distribution/v1beta1/genesis.d.ts +376 -0
- package/cosmos/distribution/v1beta1/genesis.js +895 -0
- package/cosmos/distribution/v1beta1/query.d.ts +803 -0
- package/cosmos/distribution/v1beta1/query.js +1662 -0
- package/cosmos/distribution/v1beta1/query.rpc.func.d.ts +22 -0
- package/cosmos/distribution/v1beta1/query.rpc.func.js +126 -0
- package/cosmos/distribution/v1beta1/tx.d.ts +578 -0
- package/cosmos/distribution/v1beta1/tx.js +1145 -0
- package/cosmos/distribution/v1beta1/tx.registry.d.ts +95 -0
- package/cosmos/distribution/v1beta1/tx.registry.js +139 -0
- package/cosmos/distribution/v1beta1/tx.rpc.func.d.ts +16 -0
- package/cosmos/distribution/v1beta1/tx.rpc.func.js +77 -0
- package/cosmos/evidence/module/v1/module.d.ts +32 -0
- package/cosmos/evidence/module/v1/module.js +70 -0
- package/cosmos/evidence/v1beta1/evidence.d.ts +54 -0
- package/cosmos/evidence/v1beta1/evidence.js +121 -0
- package/cosmos/evidence/v1beta1/genesis.d.ts +37 -0
- package/cosmos/evidence/v1beta1/genesis.js +87 -0
- package/cosmos/evidence/v1beta1/query.d.ts +176 -0
- package/cosmos/evidence/v1beta1/query.js +347 -0
- package/cosmos/evidence/v1beta1/query.rpc.func.d.ts +6 -0
- package/cosmos/evidence/v1beta1/query.rpc.func.js +30 -0
- package/cosmos/evidence/v1beta1/tx.d.ts +84 -0
- package/cosmos/evidence/v1beta1/tx.js +175 -0
- package/cosmos/evidence/v1beta1/tx.registry.d.ts +23 -0
- package/cosmos/evidence/v1beta1/tx.registry.js +31 -0
- package/cosmos/evidence/v1beta1/tx.rpc.func.d.ts +4 -0
- package/cosmos/evidence/v1beta1/tx.rpc.func.js +17 -0
- package/cosmos/feegrant/module/v1/module.d.ts +32 -0
- package/cosmos/feegrant/module/v1/module.js +70 -0
- package/cosmos/feegrant/v1beta1/feegrant.d.ts +219 -0
- package/cosmos/feegrant/v1beta1/feegrant.js +430 -0
- package/cosmos/feegrant/v1beta1/genesis.d.ts +35 -0
- package/cosmos/feegrant/v1beta1/genesis.js +87 -0
- package/cosmos/feegrant/v1beta1/query.d.ts +240 -0
- package/cosmos/feegrant/v1beta1/query.js +541 -0
- package/cosmos/feegrant/v1beta1/query.rpc.func.d.ts +8 -0
- package/cosmos/feegrant/v1beta1/query.rpc.func.js +42 -0
- package/cosmos/feegrant/v1beta1/tx.d.ts +233 -0
- package/cosmos/feegrant/v1beta1/tx.js +471 -0
- package/cosmos/feegrant/v1beta1/tx.registry.d.ts +47 -0
- package/cosmos/feegrant/v1beta1/tx.registry.js +67 -0
- package/cosmos/feegrant/v1beta1/tx.rpc.func.d.ts +8 -0
- package/cosmos/feegrant/v1beta1/tx.rpc.func.js +37 -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 +46 -0
- package/cosmos/gov/module/v1/module.js +95 -0
- package/cosmos/gov/v1/genesis.d.ts +115 -0
- package/cosmos/gov/v1/genesis.js +189 -0
- package/cosmos/gov/v1/gov.d.ts +696 -0
- package/cosmos/gov/v1/gov.js +1363 -0
- package/cosmos/gov/v1/query.d.ts +706 -0
- package/cosmos/gov/v1/query.js +1564 -0
- package/cosmos/gov/v1/query.rpc.func.d.ts +20 -0
- package/cosmos/gov/v1/query.rpc.func.js +114 -0
- package/cosmos/gov/v1/tx.d.ts +626 -0
- package/cosmos/gov/v1/tx.js +1277 -0
- package/cosmos/gov/v1/tx.registry.d.ts +95 -0
- package/cosmos/gov/v1/tx.registry.js +139 -0
- package/cosmos/gov/v1/tx.rpc.func.d.ts +16 -0
- package/cosmos/gov/v1/tx.rpc.func.js +77 -0
- package/cosmos/gov/v1beta1/genesis.d.ts +61 -0
- package/cosmos/gov/v1beta1/genesis.js +165 -0
- package/cosmos/gov/v1beta1/gov.d.ts +524 -0
- package/cosmos/gov/v1beta1/gov.js +1114 -0
- package/cosmos/gov/v1beta1/query.d.ts +606 -0
- package/cosmos/gov/v1beta1/query.js +1409 -0
- package/cosmos/gov/v1beta1/query.rpc.func.d.ts +18 -0
- package/cosmos/gov/v1beta1/query.rpc.func.js +102 -0
- package/cosmos/gov/v1beta1/tx.d.ts +327 -0
- package/cosmos/gov/v1beta1/tx.js +699 -0
- package/cosmos/gov/v1beta1/tx.registry.d.ts +59 -0
- package/cosmos/gov/v1beta1/tx.registry.js +85 -0
- package/cosmos/gov/v1beta1/tx.rpc.func.d.ts +10 -0
- package/cosmos/gov/v1beta1/tx.rpc.func.js +47 -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 +730 -0
- package/cosmos/ics23/v1/proofs.js +1605 -0
- package/cosmos/mint/module/v1/module.d.ts +38 -0
- package/cosmos/mint/module/v1/module.js +95 -0
- package/cosmos/mint/v1beta1/genesis.d.ts +41 -0
- package/cosmos/mint/v1beta1/genesis.js +96 -0
- package/cosmos/mint/v1beta1/mint.d.ts +94 -0
- package/cosmos/mint/v1beta1/mint.js +233 -0
- package/cosmos/mint/v1beta1/query.d.ts +213 -0
- package/cosmos/mint/v1beta1/query.js +436 -0
- package/cosmos/mint/v1beta1/query.rpc.func.d.ts +8 -0
- package/cosmos/mint/v1beta1/query.rpc.func.js +42 -0
- package/cosmos/mint/v1beta1/tx.d.ts +97 -0
- package/cosmos/mint/v1beta1/tx.js +161 -0
- package/cosmos/mint/v1beta1/tx.registry.d.ts +23 -0
- package/cosmos/mint/v1beta1/tx.registry.js +31 -0
- package/cosmos/mint/v1beta1/tx.rpc.func.d.ts +4 -0
- package/cosmos/mint/v1beta1/tx.rpc.func.js +17 -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 +32 -0
- package/cosmos/params/module/v1/module.js +70 -0
- package/cosmos/params/v1beta1/params.d.ts +80 -0
- package/cosmos/params/v1beta1/params.js +212 -0
- package/cosmos/params/v1beta1/query.d.ts +201 -0
- package/cosmos/params/v1beta1/query.js +413 -0
- package/cosmos/params/v1beta1/query.rpc.func.d.ts +6 -0
- package/cosmos/params/v1beta1/query.rpc.func.js +30 -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 +36 -0
- package/cosmos/slashing/module/v1/module.js +83 -0
- package/cosmos/slashing/v1beta1/genesis.d.ts +177 -0
- package/cosmos/slashing/v1beta1/genesis.js +387 -0
- package/cosmos/slashing/v1beta1/query.d.ts +226 -0
- package/cosmos/slashing/v1beta1/query.js +477 -0
- package/cosmos/slashing/v1beta1/query.rpc.func.d.ts +8 -0
- package/cosmos/slashing/v1beta1/query.rpc.func.js +42 -0
- package/cosmos/slashing/v1beta1/slashing.d.ts +123 -0
- package/cosmos/slashing/v1beta1/slashing.js +272 -0
- package/cosmos/slashing/v1beta1/tx.d.ts +159 -0
- package/cosmos/slashing/v1beta1/tx.js +304 -0
- package/cosmos/slashing/v1beta1/tx.registry.d.ts +35 -0
- package/cosmos/slashing/v1beta1/tx.registry.js +49 -0
- package/cosmos/slashing/v1beta1/tx.rpc.func.d.ts +6 -0
- package/cosmos/slashing/v1beta1/tx.rpc.func.js +27 -0
- package/cosmos/staking/module/v1/module.d.ts +56 -0
- package/cosmos/staking/module/v1/module.js +122 -0
- package/cosmos/staking/v1beta1/authz.d.ts +122 -0
- package/cosmos/staking/v1beta1/authz.js +264 -0
- package/cosmos/staking/v1beta1/genesis.d.ts +115 -0
- package/cosmos/staking/v1beta1/genesis.js +274 -0
- package/cosmos/staking/v1beta1/query.d.ts +1124 -0
- package/cosmos/staking/v1beta1/query.js +2414 -0
- package/cosmos/staking/v1beta1/query.rpc.func.d.ts +30 -0
- package/cosmos/staking/v1beta1/query.rpc.func.js +174 -0
- package/cosmos/staking/v1beta1/staking.d.ts +1024 -0
- package/cosmos/staking/v1beta1/staking.js +2371 -0
- package/cosmos/staking/v1beta1/tx.d.ts +590 -0
- package/cosmos/staking/v1beta1/tx.js +1290 -0
- package/cosmos/staking/v1beta1/tx.registry.d.ts +95 -0
- package/cosmos/staking/v1beta1/tx.registry.js +139 -0
- package/cosmos/staking/v1beta1/tx.rpc.func.d.ts +16 -0
- package/cosmos/staking/v1beta1/tx.rpc.func.js +77 -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 +52 -0
- package/cosmos/tx/config/v1/config.js +95 -0
- package/cosmos/tx/signing/v1beta1/signing.d.ts +270 -0
- package/cosmos/tx/signing/v1beta1/signing.js +570 -0
- package/cosmos/tx/v1beta1/service.d.ts +916 -0
- package/cosmos/tx/v1beta1/service.js +1729 -0
- package/cosmos/tx/v1beta1/service.rpc.func.d.ts +20 -0
- package/cosmos/tx/v1beta1/service.rpc.func.js +114 -0
- package/cosmos/tx/v1beta1/tx.d.ts +856 -0
- package/cosmos/tx/v1beta1/tx.js +1398 -0
- package/cosmos/upgrade/module/v1/module.d.ts +36 -0
- package/cosmos/upgrade/module/v1/module.js +83 -0
- package/cosmos/upgrade/v1beta1/query.d.ts +423 -0
- package/cosmos/upgrade/v1beta1/query.js +764 -0
- package/cosmos/upgrade/v1beta1/query.rpc.func.d.ts +12 -0
- package/cosmos/upgrade/v1beta1/query.rpc.func.js +66 -0
- package/cosmos/upgrade/v1beta1/tx.d.ts +167 -0
- package/cosmos/upgrade/v1beta1/tx.js +304 -0
- package/cosmos/upgrade/v1beta1/tx.registry.d.ts +35 -0
- package/cosmos/upgrade/v1beta1/tx.registry.js +49 -0
- package/cosmos/upgrade/v1beta1/tx.rpc.func.d.ts +6 -0
- package/cosmos/upgrade/v1beta1/tx.rpc.func.js +27 -0
- package/cosmos/upgrade/v1beta1/upgrade.d.ts +245 -0
- package/cosmos/upgrade/v1beta1/upgrade.js +416 -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 +153 -0
- package/cosmos_proto/cosmos.js +234 -0
- package/cosmwasm/wasm/v1/authz.d.ts +500 -0
- package/cosmwasm/wasm/v1/authz.js +924 -0
- package/cosmwasm/wasm/v1/genesis.d.ts +153 -0
- package/cosmwasm/wasm/v1/genesis.js +454 -0
- package/cosmwasm/wasm/v1/ibc.d.ts +132 -0
- package/cosmwasm/wasm/v1/ibc.js +276 -0
- package/cosmwasm/wasm/v1/proposal_legacy.d.ts +872 -0
- package/cosmwasm/wasm/v1/proposal_legacy.js +1784 -0
- package/cosmwasm/wasm/v1/query.d.ts +922 -0
- package/cosmwasm/wasm/v1/query.js +2022 -0
- package/cosmwasm/wasm/v1/query.rpc.func.d.ts +24 -0
- package/cosmwasm/wasm/v1/query.rpc.func.js +138 -0
- package/cosmwasm/wasm/v1/tx.d.ts +1534 -0
- package/cosmwasm/wasm/v1/tx.js +3236 -0
- package/cosmwasm/wasm/v1/tx.registry.d.ts +215 -0
- package/cosmwasm/wasm/v1/tx.registry.js +319 -0
- package/cosmwasm/wasm/v1/tx.rpc.func.d.ts +36 -0
- package/cosmwasm/wasm/v1/tx.rpc.func.js +177 -0
- package/cosmwasm/wasm/v1/types.d.ts +374 -0
- package/cosmwasm/wasm/v1/types.js +917 -0
- package/dist/package.json +48 -0
- package/esm/amino/amino.js +1 -0
- package/esm/binary.js +365 -0
- package/esm/cosmos/app/runtime/v1alpha1/module.js +290 -0
- package/esm/cosmos/app/runtime/v2/module.js +419 -0
- package/esm/cosmos/app/v1alpha1/config.js +294 -0
- package/esm/cosmos/app/v1alpha1/module.js +278 -0
- package/esm/cosmos/app/v1alpha1/query.js +146 -0
- package/esm/cosmos/app/v1alpha1/query.rpc.func.js +14 -0
- package/esm/cosmos/auth/module/v1/module.js +200 -0
- package/esm/cosmos/auth/v1beta1/accounts.js +159 -0
- package/esm/cosmos/auth/v1beta1/auth.js +442 -0
- package/esm/cosmos/auth/v1beta1/genesis.js +97 -0
- package/esm/cosmos/auth/v1beta1/query.js +1558 -0
- package/esm/cosmos/auth/v1beta1/query.rpc.func.js +113 -0
- package/esm/cosmos/auth/v1beta1/tx.js +158 -0
- package/esm/cosmos/auth/v1beta1/tx.registry.js +28 -0
- package/esm/cosmos/auth/v1beta1/tx.rpc.func.js +13 -0
- package/esm/cosmos/authz/module/v1/module.js +67 -0
- package/esm/cosmos/authz/v1beta1/authz.js +368 -0
- package/esm/cosmos/authz/v1beta1/event.js +206 -0
- package/esm/cosmos/authz/v1beta1/genesis.js +84 -0
- package/esm/cosmos/authz/v1beta1/query.js +577 -0
- package/esm/cosmos/authz/v1beta1/query.rpc.func.js +36 -0
- package/esm/cosmos/authz/v1beta1/tx.js +513 -0
- package/esm/cosmos/authz/v1beta1/tx.registry.js +64 -0
- package/esm/cosmos/authz/v1beta1/tx.rpc.func.js +31 -0
- package/esm/cosmos/autocli/v1/options.js +831 -0
- package/esm/cosmos/autocli/v1/query.js +234 -0
- package/esm/cosmos/autocli/v1/query.rpc.func.js +14 -0
- package/esm/cosmos/bank/module/v1/module.js +110 -0
- package/esm/cosmos/bank/v1beta1/authz.js +99 -0
- package/esm/cosmos/bank/v1beta1/bank.js +723 -0
- package/esm/cosmos/bank/v1beta1/genesis.js +235 -0
- package/esm/cosmos/bank/v1beta1/query.js +2314 -0
- package/esm/cosmos/bank/v1beta1/query.rpc.func.js +146 -0
- package/esm/cosmos/bank/v1beta1/tx.js +663 -0
- package/esm/cosmos/bank/v1beta1/tx.registry.js +82 -0
- package/esm/cosmos/bank/v1beta1/tx.rpc.func.js +40 -0
- package/esm/cosmos/base/abci/v1beta1/abci.js +1290 -0
- package/esm/cosmos/base/grpc/v2/service.js +395 -0
- package/esm/cosmos/base/grpc/v2/service.rpc.func.js +25 -0
- package/esm/cosmos/base/node/v1beta1/query.js +374 -0
- package/esm/cosmos/base/node/v1beta1/query.rpc.func.js +25 -0
- package/esm/cosmos/base/query/v1beta1/pagination.js +219 -0
- package/esm/cosmos/base/reflection/v1beta1/reflection.js +307 -0
- package/esm/cosmos/base/reflection/v1beta1/reflection.rpc.func.js +25 -0
- package/esm/cosmos/base/reflection/v2alpha1/reflection.js +2156 -0
- package/esm/cosmos/base/reflection/v2alpha1/reflection.rpc.func.js +69 -0
- package/esm/cosmos/base/tendermint/v1beta1/query.js +1884 -0
- package/esm/cosmos/base/tendermint/v1beta1/query.rpc.func.js +80 -0
- package/esm/cosmos/base/tendermint/v1beta1/types.js +355 -0
- package/esm/cosmos/base/v1beta1/coin.js +338 -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 +80 -0
- package/esm/cosmos/consensus/v1/query.js +146 -0
- package/esm/cosmos/consensus/v1/query.rpc.func.js +14 -0
- package/esm/cosmos/consensus/v1/tx.js +194 -0
- package/esm/cosmos/consensus/v1/tx.registry.js +28 -0
- package/esm/cosmos/consensus/v1/tx.rpc.func.js +13 -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 +174 -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 +92 -0
- package/esm/cosmos/distribution/v1beta1/distribution.js +1155 -0
- package/esm/cosmos/distribution/v1beta1/genesis.js +892 -0
- package/esm/cosmos/distribution/v1beta1/query.js +1659 -0
- package/esm/cosmos/distribution/v1beta1/query.rpc.func.js +113 -0
- package/esm/cosmos/distribution/v1beta1/tx.js +1142 -0
- package/esm/cosmos/distribution/v1beta1/tx.registry.js +136 -0
- package/esm/cosmos/distribution/v1beta1/tx.rpc.func.js +67 -0
- package/esm/cosmos/evidence/module/v1/module.js +67 -0
- package/esm/cosmos/evidence/v1beta1/evidence.js +118 -0
- package/esm/cosmos/evidence/v1beta1/genesis.js +84 -0
- package/esm/cosmos/evidence/v1beta1/query.js +344 -0
- package/esm/cosmos/evidence/v1beta1/query.rpc.func.js +25 -0
- package/esm/cosmos/evidence/v1beta1/tx.js +172 -0
- package/esm/cosmos/evidence/v1beta1/tx.registry.js +28 -0
- package/esm/cosmos/evidence/v1beta1/tx.rpc.func.js +13 -0
- package/esm/cosmos/feegrant/module/v1/module.js +67 -0
- package/esm/cosmos/feegrant/v1beta1/feegrant.js +427 -0
- package/esm/cosmos/feegrant/v1beta1/genesis.js +84 -0
- package/esm/cosmos/feegrant/v1beta1/query.js +538 -0
- package/esm/cosmos/feegrant/v1beta1/query.rpc.func.js +36 -0
- package/esm/cosmos/feegrant/v1beta1/tx.js +468 -0
- package/esm/cosmos/feegrant/v1beta1/tx.registry.js +64 -0
- package/esm/cosmos/feegrant/v1beta1/tx.rpc.func.js +31 -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 +92 -0
- package/esm/cosmos/gov/v1/genesis.js +186 -0
- package/esm/cosmos/gov/v1/gov.js +1356 -0
- package/esm/cosmos/gov/v1/query.js +1561 -0
- package/esm/cosmos/gov/v1/query.rpc.func.js +102 -0
- package/esm/cosmos/gov/v1/tx.js +1274 -0
- package/esm/cosmos/gov/v1/tx.registry.js +136 -0
- package/esm/cosmos/gov/v1/tx.rpc.func.js +67 -0
- package/esm/cosmos/gov/v1beta1/genesis.js +162 -0
- package/esm/cosmos/gov/v1beta1/gov.js +1107 -0
- package/esm/cosmos/gov/v1beta1/query.js +1406 -0
- package/esm/cosmos/gov/v1beta1/query.rpc.func.js +91 -0
- package/esm/cosmos/gov/v1beta1/tx.js +696 -0
- package/esm/cosmos/gov/v1beta1/tx.registry.js +82 -0
- package/esm/cosmos/gov/v1beta1/tx.rpc.func.js +40 -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 +1598 -0
- package/esm/cosmos/mint/module/v1/module.js +92 -0
- package/esm/cosmos/mint/v1beta1/genesis.js +93 -0
- package/esm/cosmos/mint/v1beta1/mint.js +230 -0
- package/esm/cosmos/mint/v1beta1/query.js +433 -0
- package/esm/cosmos/mint/v1beta1/query.rpc.func.js +36 -0
- package/esm/cosmos/mint/v1beta1/tx.js +158 -0
- package/esm/cosmos/mint/v1beta1/tx.registry.js +28 -0
- package/esm/cosmos/mint/v1beta1/tx.rpc.func.js +13 -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 +67 -0
- package/esm/cosmos/params/v1beta1/params.js +209 -0
- package/esm/cosmos/params/v1beta1/query.js +410 -0
- package/esm/cosmos/params/v1beta1/query.rpc.func.js +25 -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 +80 -0
- package/esm/cosmos/slashing/v1beta1/genesis.js +384 -0
- package/esm/cosmos/slashing/v1beta1/query.js +474 -0
- package/esm/cosmos/slashing/v1beta1/query.rpc.func.js +36 -0
- package/esm/cosmos/slashing/v1beta1/slashing.js +269 -0
- package/esm/cosmos/slashing/v1beta1/tx.js +301 -0
- package/esm/cosmos/slashing/v1beta1/tx.registry.js +46 -0
- package/esm/cosmos/slashing/v1beta1/tx.rpc.func.js +22 -0
- package/esm/cosmos/staking/module/v1/module.js +119 -0
- package/esm/cosmos/staking/v1beta1/authz.js +259 -0
- package/esm/cosmos/staking/v1beta1/genesis.js +271 -0
- package/esm/cosmos/staking/v1beta1/query.js +2411 -0
- package/esm/cosmos/staking/v1beta1/query.rpc.func.js +157 -0
- package/esm/cosmos/staking/v1beta1/staking.js +2364 -0
- package/esm/cosmos/staking/v1beta1/tx.js +1287 -0
- package/esm/cosmos/staking/v1beta1/tx.registry.js +136 -0
- package/esm/cosmos/staking/v1beta1/tx.rpc.func.js +67 -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 +92 -0
- package/esm/cosmos/tx/signing/v1beta1/signing.js +565 -0
- package/esm/cosmos/tx/v1beta1/service.js +1722 -0
- package/esm/cosmos/tx/v1beta1/service.rpc.func.js +102 -0
- package/esm/cosmos/tx/v1beta1/tx.js +1395 -0
- package/esm/cosmos/upgrade/module/v1/module.js +80 -0
- package/esm/cosmos/upgrade/v1beta1/query.js +761 -0
- package/esm/cosmos/upgrade/v1beta1/query.rpc.func.js +58 -0
- package/esm/cosmos/upgrade/v1beta1/tx.js +301 -0
- package/esm/cosmos/upgrade/v1beta1/tx.registry.js +46 -0
- package/esm/cosmos/upgrade/v1beta1/tx.rpc.func.js +22 -0
- package/esm/cosmos/upgrade/v1beta1/upgrade.js +413 -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 +229 -0
- package/esm/cosmwasm/wasm/v1/authz.js +921 -0
- package/esm/cosmwasm/wasm/v1/genesis.js +451 -0
- package/esm/cosmwasm/wasm/v1/ibc.js +273 -0
- package/esm/cosmwasm/wasm/v1/proposal_legacy.js +1781 -0
- package/esm/cosmwasm/wasm/v1/query.js +2019 -0
- package/esm/cosmwasm/wasm/v1/query.rpc.func.js +124 -0
- package/esm/cosmwasm/wasm/v1/tx.js +3233 -0
- package/esm/cosmwasm/wasm/v1/tx.registry.js +316 -0
- package/esm/cosmwasm/wasm/v1/tx.rpc.func.js +157 -0
- package/esm/cosmwasm/wasm/v1/types.js +910 -0
- package/esm/ethermint/crypto/v1/ethsecp256k1/keys.js +143 -0
- package/esm/ethermint/evm/v1/events.js +381 -0
- package/esm/ethermint/evm/v1/evm.js +1181 -0
- package/esm/ethermint/evm/v1/genesis.js +185 -0
- package/esm/ethermint/evm/v1/query.js +1970 -0
- package/esm/ethermint/evm/v1/query.rpc.func.js +136 -0
- package/esm/ethermint/evm/v1/tx.js +1008 -0
- package/esm/ethermint/evm/v1/tx.registry.js +46 -0
- package/esm/ethermint/evm/v1/tx.rpc.func.js +22 -0
- package/esm/ethermint/feemarket/v1/events.js +154 -0
- package/esm/ethermint/feemarket/v1/feemarket.js +152 -0
- package/esm/ethermint/feemarket/v1/genesis.js +85 -0
- package/esm/ethermint/feemarket/v1/query.js +384 -0
- package/esm/ethermint/feemarket/v1/query.rpc.func.js +36 -0
- package/esm/ethermint/feemarket/v1/tx.js +150 -0
- package/esm/ethermint/feemarket/v1/tx.registry.js +28 -0
- package/esm/ethermint/feemarket/v1/tx.rpc.func.js +13 -0
- package/esm/ethermint/types/v1/account.js +85 -0
- package/esm/ethermint/types/v1/dynamic_fee.js +72 -0
- package/esm/ethermint/types/v1/indexer.js +144 -0
- package/esm/ethermint/types/v1/web3.js +97 -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 +350 -0
- package/esm/google/protobuf/any.js +78 -0
- package/esm/google/protobuf/descriptor.js +5062 -0
- package/esm/google/protobuf/duration.js +78 -0
- package/esm/google/protobuf/timestamp.js +75 -0
- package/esm/helper-func-types.js +50 -0
- package/esm/helpers.js +128 -0
- package/esm/ibc/applications/fee/v1/ack.js +105 -0
- package/esm/ibc/applications/fee/v1/fee.js +394 -0
- package/esm/ibc/applications/fee/v1/genesis.js +529 -0
- package/esm/ibc/applications/fee/v1/metadata.js +92 -0
- package/esm/ibc/applications/fee/v1/query.js +1729 -0
- package/esm/ibc/applications/fee/v1/query.rpc.func.js +113 -0
- package/esm/ibc/applications/fee/v1/tx.js +711 -0
- package/esm/ibc/applications/fee/v1/tx.registry.js +82 -0
- package/esm/ibc/applications/fee/v1/tx.rpc.func.js +40 -0
- package/esm/ibc/applications/interchain_accounts/controller/v1/controller.js +80 -0
- package/esm/ibc/applications/interchain_accounts/controller/v1/query.js +314 -0
- package/esm/ibc/applications/interchain_accounts/controller/v1/query.rpc.func.js +25 -0
- package/esm/ibc/applications/interchain_accounts/controller/v1/tx.js +556 -0
- package/esm/ibc/applications/interchain_accounts/controller/v1/tx.registry.js +64 -0
- package/esm/ibc/applications/interchain_accounts/controller/v1/tx.rpc.func.js +31 -0
- package/esm/ibc/applications/interchain_accounts/genesis/v1/genesis.js +553 -0
- package/esm/ibc/applications/interchain_accounts/host/v1/host.js +186 -0
- package/esm/ibc/applications/interchain_accounts/host/v1/query.js +146 -0
- package/esm/ibc/applications/interchain_accounts/host/v1/query.rpc.func.js +14 -0
- package/esm/ibc/applications/interchain_accounts/host/v1/tx.js +345 -0
- package/esm/ibc/applications/interchain_accounts/host/v1/tx.registry.js +46 -0
- package/esm/ibc/applications/interchain_accounts/host/v1/tx.rpc.func.js +22 -0
- package/esm/ibc/applications/interchain_accounts/v1/account.js +93 -0
- package/esm/ibc/applications/interchain_accounts/v1/metadata.js +140 -0
- package/esm/ibc/applications/interchain_accounts/v1/packet.js +225 -0
- package/esm/ibc/applications/transfer/v1/authz.js +219 -0
- package/esm/ibc/applications/transfer/v1/genesis.js +124 -0
- package/esm/ibc/applications/transfer/v1/query.js +955 -0
- package/esm/ibc/applications/transfer/v1/query.rpc.func.js +69 -0
- package/esm/ibc/applications/transfer/v1/transfer.js +182 -0
- package/esm/ibc/applications/transfer/v1/tx.js +399 -0
- package/esm/ibc/applications/transfer/v1/tx.registry.js +46 -0
- package/esm/ibc/applications/transfer/v1/tx.rpc.func.js +22 -0
- package/esm/ibc/applications/transfer/v2/packet.js +128 -0
- package/esm/ibc/core/channel/v1/channel.js +1160 -0
- package/esm/ibc/core/channel/v1/genesis.js +300 -0
- package/esm/ibc/core/channel/v1/query.js +3396 -0
- package/esm/ibc/core/channel/v1/query.rpc.func.js +190 -0
- package/esm/ibc/core/channel/v1/tx.js +4022 -0
- package/esm/ibc/core/channel/v1/tx.registry.js +352 -0
- package/esm/ibc/core/channel/v1/tx.rpc.func.js +175 -0
- package/esm/ibc/core/channel/v1/upgrade.js +301 -0
- package/esm/ibc/core/client/v1/client.js +672 -0
- package/esm/ibc/core/client/v1/genesis.js +334 -0
- package/esm/ibc/core/client/v1/query.js +1753 -0
- package/esm/ibc/core/client/v1/query.rpc.func.js +113 -0
- package/esm/ibc/core/client/v1/tx.js +1199 -0
- package/esm/ibc/core/client/v1/tx.registry.js +136 -0
- package/esm/ibc/core/client/v1/tx.rpc.func.js +67 -0
- package/esm/ibc/core/commitment/v1/commitment.js +322 -0
- package/esm/ibc/core/connection/v1/connection.js +776 -0
- package/esm/ibc/core/connection/v1/genesis.js +123 -0
- package/esm/ibc/core/connection/v1/query.js +1092 -0
- package/esm/ibc/core/connection/v1/query.rpc.func.js +69 -0
- package/esm/ibc/core/connection/v1/tx.js +1084 -0
- package/esm/ibc/core/connection/v1/tx.registry.js +100 -0
- package/esm/ibc/core/connection/v1/tx.rpc.func.js +49 -0
- package/esm/ibc/core/types/v1/genesis.js +107 -0
- package/esm/ibc/lightclients/localhost/v2/localhost.js +81 -0
- package/esm/ibc/lightclients/solomachine/v2/solomachine.js +1684 -0
- package/esm/ibc/lightclients/solomachine/v3/solomachine.js +844 -0
- package/esm/ibc/lightclients/tendermint/v1/tendermint.js +622 -0
- package/esm/ibc/lightclients/wasm/v1/genesis.js +162 -0
- package/esm/ibc/lightclients/wasm/v1/query.js +331 -0
- package/esm/ibc/lightclients/wasm/v1/query.rpc.func.js +25 -0
- package/esm/ibc/lightclients/wasm/v1/tx.js +505 -0
- package/esm/ibc/lightclients/wasm/v1/tx.registry.js +64 -0
- package/esm/ibc/lightclients/wasm/v1/tx.rpc.func.js +31 -0
- package/esm/ibc/lightclients/wasm/v1/wasm.js +343 -0
- package/esm/react-query.js +83 -0
- package/esm/registry.js +154 -0
- package/esm/tendermint/abci/types.js +5217 -0
- package/esm/tendermint/crypto/keys.js +85 -0
- package/esm/tendermint/crypto/proof.js +455 -0
- package/esm/tendermint/p2p/types.js +427 -0
- package/esm/tendermint/types/block.js +110 -0
- package/esm/tendermint/types/evidence.js +400 -0
- package/esm/tendermint/types/params.js +592 -0
- package/esm/tendermint/types/types.js +1749 -0
- package/esm/tendermint/types/validator.js +337 -0
- package/esm/tendermint/version/types.js +166 -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 +73 -0
- package/esm/xpla/reward/v1beta1/query.js +261 -0
- package/esm/xpla/reward/v1beta1/query.rpc.func.js +25 -0
- package/esm/xpla/reward/v1beta1/reward.js +128 -0
- package/esm/xpla/reward/v1beta1/tx.js +301 -0
- package/esm/xpla/reward/v1beta1/tx.registry.js +46 -0
- package/esm/xpla/reward/v1beta1/tx.rpc.func.js +22 -0
- package/esm/xpla/volunteer/v1beta1/genesis.js +76 -0
- package/esm/xpla/volunteer/v1beta1/proposal.js +534 -0
- package/esm/xpla/volunteer/v1beta1/query.js +132 -0
- package/esm/xpla/volunteer/v1beta1/query.rpc.func.js +14 -0
- package/esm/xpla/volunteer/v1beta1/tx.js +348 -0
- package/esm/xpla/volunteer/v1beta1/tx.registry.js +46 -0
- package/esm/xpla/volunteer/v1beta1/tx.rpc.func.js +22 -0
- package/esm/xpla/volunteer/v1beta1/volunteervalidator.js +84 -0
- package/ethermint/crypto/v1/ethsecp256k1/keys.d.ts +80 -0
- package/ethermint/crypto/v1/ethsecp256k1/keys.js +146 -0
- package/ethermint/evm/v1/events.d.ts +162 -0
- package/ethermint/evm/v1/events.js +384 -0
- package/ethermint/evm/v1/evm.d.ts +530 -0
- package/ethermint/evm/v1/evm.js +1184 -0
- package/ethermint/evm/v1/genesis.d.ts +87 -0
- package/ethermint/evm/v1/genesis.js +188 -0
- package/ethermint/evm/v1/query.d.ts +913 -0
- package/ethermint/evm/v1/query.js +1973 -0
- package/ethermint/evm/v1/query.rpc.func.d.ts +27 -0
- package/ethermint/evm/v1/query.rpc.func.js +151 -0
- package/ethermint/evm/v1/tx.d.ts +452 -0
- package/ethermint/evm/v1/tx.js +1011 -0
- package/ethermint/evm/v1/tx.registry.d.ts +35 -0
- package/ethermint/evm/v1/tx.registry.js +49 -0
- package/ethermint/evm/v1/tx.rpc.func.d.ts +6 -0
- package/ethermint/evm/v1/tx.rpc.func.js +27 -0
- package/ethermint/feemarket/v1/events.d.ts +70 -0
- package/ethermint/feemarket/v1/events.js +157 -0
- package/ethermint/feemarket/v1/feemarket.d.ts +78 -0
- package/ethermint/feemarket/v1/feemarket.js +155 -0
- package/ethermint/feemarket/v1/genesis.d.ts +45 -0
- package/ethermint/feemarket/v1/genesis.js +88 -0
- package/ethermint/feemarket/v1/query.d.ts +195 -0
- package/ethermint/feemarket/v1/query.js +387 -0
- package/ethermint/feemarket/v1/query.rpc.func.d.ts +8 -0
- package/ethermint/feemarket/v1/query.rpc.func.js +42 -0
- package/ethermint/feemarket/v1/tx.d.ts +81 -0
- package/ethermint/feemarket/v1/tx.js +153 -0
- package/ethermint/feemarket/v1/tx.registry.d.ts +23 -0
- package/ethermint/feemarket/v1/tx.registry.js +31 -0
- package/ethermint/feemarket/v1/tx.rpc.func.d.ts +4 -0
- package/ethermint/feemarket/v1/tx.rpc.func.js +17 -0
- package/ethermint/types/v1/account.d.ts +45 -0
- package/ethermint/types/v1/account.js +88 -0
- package/ethermint/types/v1/dynamic_fee.d.ts +34 -0
- package/ethermint/types/v1/dynamic_fee.js +75 -0
- package/ethermint/types/v1/indexer.d.ts +76 -0
- package/ethermint/types/v1/indexer.js +147 -0
- package/ethermint/types/v1/web3.d.ts +66 -0
- package/ethermint/types/v1/web3.js +100 -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 +764 -0
- package/google/api/http.js +353 -0
- package/google/protobuf/any.d.ts +268 -0
- package/google/protobuf/any.js +81 -0
- package/google/protobuf/descriptor.d.ts +2919 -0
- package/google/protobuf/descriptor.js +5100 -0
- package/google/protobuf/duration.d.ts +162 -0
- package/google/protobuf/duration.js +81 -0
- package/google/protobuf/timestamp.d.ts +222 -0
- package/google/protobuf/timestamp.js +78 -0
- package/helper-func-types.d.ts +117 -0
- package/helper-func-types.js +55 -0
- package/helpers.d.ts +82 -0
- package/helpers.js +143 -0
- package/ibc/applications/fee/v1/ack.d.ts +44 -0
- package/ibc/applications/fee/v1/ack.js +108 -0
- package/ibc/applications/fee/v1/fee.d.ts +160 -0
- package/ibc/applications/fee/v1/fee.js +397 -0
- package/ibc/applications/fee/v1/genesis.d.ts +220 -0
- package/ibc/applications/fee/v1/genesis.js +532 -0
- package/ibc/applications/fee/v1/metadata.d.ts +46 -0
- package/ibc/applications/fee/v1/metadata.js +95 -0
- package/ibc/applications/fee/v1/query.d.ts +737 -0
- package/ibc/applications/fee/v1/query.js +1732 -0
- package/ibc/applications/fee/v1/query.rpc.func.d.ts +22 -0
- package/ibc/applications/fee/v1/query.rpc.func.js +126 -0
- package/ibc/applications/fee/v1/tx.d.ts +318 -0
- package/ibc/applications/fee/v1/tx.js +714 -0
- package/ibc/applications/fee/v1/tx.registry.d.ts +59 -0
- package/ibc/applications/fee/v1/tx.registry.js +85 -0
- package/ibc/applications/fee/v1/tx.rpc.func.d.ts +10 -0
- package/ibc/applications/fee/v1/tx.rpc.func.js +47 -0
- package/ibc/applications/interchain_accounts/controller/v1/controller.d.ts +42 -0
- package/ibc/applications/interchain_accounts/controller/v1/controller.js +83 -0
- package/ibc/applications/interchain_accounts/controller/v1/query.d.ts +133 -0
- package/ibc/applications/interchain_accounts/controller/v1/query.js +317 -0
- package/ibc/applications/interchain_accounts/controller/v1/query.rpc.func.d.ts +6 -0
- package/ibc/applications/interchain_accounts/controller/v1/query.rpc.func.js +30 -0
- package/ibc/applications/interchain_accounts/controller/v1/tx.d.ts +231 -0
- package/ibc/applications/interchain_accounts/controller/v1/tx.js +559 -0
- package/ibc/applications/interchain_accounts/controller/v1/tx.registry.d.ts +47 -0
- package/ibc/applications/interchain_accounts/controller/v1/tx.registry.js +67 -0
- package/ibc/applications/interchain_accounts/controller/v1/tx.rpc.func.d.ts +8 -0
- package/ibc/applications/interchain_accounts/controller/v1/tx.rpc.func.js +37 -0
- package/ibc/applications/interchain_accounts/genesis/v1/genesis.d.ts +196 -0
- package/ibc/applications/interchain_accounts/genesis/v1/genesis.js +556 -0
- package/ibc/applications/interchain_accounts/host/v1/host.d.ts +102 -0
- package/ibc/applications/interchain_accounts/host/v1/host.js +189 -0
- package/ibc/applications/interchain_accounts/host/v1/query.d.ts +67 -0
- package/ibc/applications/interchain_accounts/host/v1/query.js +149 -0
- package/ibc/applications/interchain_accounts/host/v1/query.rpc.func.d.ts +4 -0
- package/ibc/applications/interchain_accounts/host/v1/query.rpc.func.js +18 -0
- package/ibc/applications/interchain_accounts/host/v1/tx.d.ts +155 -0
- package/ibc/applications/interchain_accounts/host/v1/tx.js +348 -0
- package/ibc/applications/interchain_accounts/host/v1/tx.registry.d.ts +35 -0
- package/ibc/applications/interchain_accounts/host/v1/tx.registry.js +49 -0
- package/ibc/applications/interchain_accounts/host/v1/tx.rpc.func.d.ts +6 -0
- package/ibc/applications/interchain_accounts/host/v1/tx.rpc.func.js +27 -0
- package/ibc/applications/interchain_accounts/v1/account.d.ts +37 -0
- package/ibc/applications/interchain_accounts/v1/account.js +96 -0
- package/ibc/applications/interchain_accounts/v1/metadata.d.ts +68 -0
- package/ibc/applications/interchain_accounts/v1/metadata.js +143 -0
- package/ibc/applications/interchain_accounts/v1/packet.d.ts +85 -0
- package/ibc/applications/interchain_accounts/v1/packet.js +230 -0
- package/ibc/applications/transfer/v1/authz.d.ts +99 -0
- package/ibc/applications/transfer/v1/authz.js +222 -0
- package/ibc/applications/transfer/v1/genesis.d.ts +50 -0
- package/ibc/applications/transfer/v1/genesis.js +127 -0
- package/ibc/applications/transfer/v1/query.d.ts +449 -0
- package/ibc/applications/transfer/v1/query.js +958 -0
- package/ibc/applications/transfer/v1/query.rpc.func.d.ts +14 -0
- package/ibc/applications/transfer/v1/query.rpc.func.js +78 -0
- package/ibc/applications/transfer/v1/transfer.d.ts +112 -0
- package/ibc/applications/transfer/v1/transfer.js +185 -0
- package/ibc/applications/transfer/v1/tx.d.ts +202 -0
- package/ibc/applications/transfer/v1/tx.js +402 -0
- package/ibc/applications/transfer/v1/tx.registry.d.ts +35 -0
- package/ibc/applications/transfer/v1/tx.registry.js +49 -0
- package/ibc/applications/transfer/v1/tx.rpc.func.d.ts +6 -0
- package/ibc/applications/transfer/v1/tx.rpc.func.js +27 -0
- package/ibc/applications/transfer/v2/packet.d.ts +60 -0
- package/ibc/applications/transfer/v2/packet.js +131 -0
- package/ibc/core/channel/v1/channel.d.ts +547 -0
- package/ibc/core/channel/v1/channel.js +1167 -0
- package/ibc/core/channel/v1/genesis.d.ts +95 -0
- package/ibc/core/channel/v1/genesis.js +303 -0
- package/ibc/core/channel/v1/query.d.ts +1525 -0
- package/ibc/core/channel/v1/query.js +3399 -0
- package/ibc/core/channel/v1/query.rpc.func.d.ts +36 -0
- package/ibc/core/channel/v1/query.rpc.func.js +210 -0
- package/ibc/core/channel/v1/tx.d.ts +1490 -0
- package/ibc/core/channel/v1/tx.js +4027 -0
- package/ibc/core/channel/v1/tx.registry.d.ts +239 -0
- package/ibc/core/channel/v1/tx.registry.js +355 -0
- package/ibc/core/channel/v1/tx.rpc.func.d.ts +40 -0
- package/ibc/core/channel/v1/tx.rpc.func.js +197 -0
- package/ibc/core/channel/v1/upgrade.d.ts +139 -0
- package/ibc/core/channel/v1/upgrade.js +304 -0
- package/ibc/core/client/v1/client.d.ts +372 -0
- package/ibc/core/client/v1/client.js +675 -0
- package/ibc/core/client/v1/genesis.d.ts +147 -0
- package/ibc/core/client/v1/genesis.js +337 -0
- package/ibc/core/client/v1/query.d.ts +862 -0
- package/ibc/core/client/v1/query.js +1756 -0
- package/ibc/core/client/v1/query.rpc.func.d.ts +22 -0
- package/ibc/core/client/v1/query.rpc.func.js +126 -0
- package/ibc/core/client/v1/tx.d.ts +587 -0
- package/ibc/core/client/v1/tx.js +1202 -0
- package/ibc/core/client/v1/tx.registry.d.ts +95 -0
- package/ibc/core/client/v1/tx.registry.js +139 -0
- package/ibc/core/client/v1/tx.rpc.func.d.ts +16 -0
- package/ibc/core/client/v1/tx.rpc.func.js +77 -0
- package/ibc/core/commitment/v1/commitment.d.ts +165 -0
- package/ibc/core/commitment/v1/commitment.js +325 -0
- package/ibc/core/connection/v1/connection.d.ts +376 -0
- package/ibc/core/connection/v1/connection.js +781 -0
- package/ibc/core/connection/v1/genesis.d.ts +43 -0
- package/ibc/core/connection/v1/genesis.js +126 -0
- package/ibc/core/connection/v1/query.d.ts +518 -0
- package/ibc/core/connection/v1/query.js +1095 -0
- package/ibc/core/connection/v1/query.rpc.func.d.ts +14 -0
- package/ibc/core/connection/v1/query.rpc.func.js +78 -0
- package/ibc/core/connection/v1/tx.d.ts +457 -0
- package/ibc/core/connection/v1/tx.js +1087 -0
- package/ibc/core/connection/v1/tx.registry.d.ts +71 -0
- package/ibc/core/connection/v1/tx.registry.js +103 -0
- package/ibc/core/connection/v1/tx.rpc.func.d.ts +12 -0
- package/ibc/core/connection/v1/tx.rpc.func.js +57 -0
- package/ibc/core/types/v1/genesis.d.ts +50 -0
- package/ibc/core/types/v1/genesis.js +110 -0
- package/ibc/lightclients/localhost/v2/localhost.d.ts +37 -0
- package/ibc/lightclients/localhost/v2/localhost.js +84 -0
- package/ibc/lightclients/solomachine/v2/solomachine.d.ts +711 -0
- package/ibc/lightclients/solomachine/v2/solomachine.js +1689 -0
- package/ibc/lightclients/solomachine/v3/solomachine.d.ts +357 -0
- package/ibc/lightclients/solomachine/v3/solomachine.js +847 -0
- package/ibc/lightclients/tendermint/v1/tendermint.d.ts +306 -0
- package/ibc/lightclients/tendermint/v1/tendermint.js +625 -0
- package/ibc/lightclients/wasm/v1/genesis.d.ts +70 -0
- package/ibc/lightclients/wasm/v1/genesis.js +165 -0
- package/ibc/lightclients/wasm/v1/query.d.ts +141 -0
- package/ibc/lightclients/wasm/v1/query.js +334 -0
- package/ibc/lightclients/wasm/v1/query.rpc.func.d.ts +6 -0
- package/ibc/lightclients/wasm/v1/query.rpc.func.js +30 -0
- package/ibc/lightclients/wasm/v1/tx.d.ts +218 -0
- package/ibc/lightclients/wasm/v1/tx.js +508 -0
- package/ibc/lightclients/wasm/v1/tx.registry.d.ts +47 -0
- package/ibc/lightclients/wasm/v1/tx.registry.js +67 -0
- package/ibc/lightclients/wasm/v1/tx.rpc.func.d.ts +8 -0
- package/ibc/lightclients/wasm/v1/tx.rpc.func.js +37 -0
- package/ibc/lightclients/wasm/v1/wasm.d.ts +163 -0
- package/ibc/lightclients/wasm/v1/wasm.js +346 -0
- package/package.json +3 -2
- package/react-query.d.ts +48 -0
- package/react-query.js +91 -0
- package/registry.d.ts +33 -0
- package/registry.js +158 -0
- package/tendermint/abci/types.d.ts +1843 -0
- package/tendermint/abci/types.js +5233 -0
- package/tendermint/crypto/keys.d.ts +34 -0
- package/tendermint/crypto/keys.js +88 -0
- package/tendermint/crypto/proof.d.ts +174 -0
- package/tendermint/crypto/proof.js +458 -0
- package/tendermint/p2p/types.d.ts +138 -0
- package/tendermint/p2p/types.js +430 -0
- package/tendermint/types/block.d.ts +38 -0
- package/tendermint/types/block.js +113 -0
- package/tendermint/types/evidence.d.ts +138 -0
- package/tendermint/types/evidence.js +403 -0
- package/tendermint/types/params.d.ts +323 -0
- package/tendermint/types/params.js +595 -0
- package/tendermint/types/types.d.ts +640 -0
- package/tendermint/types/types.js +1754 -0
- package/tendermint/types/validator.d.ts +113 -0
- package/tendermint/types/validator.js +342 -0
- package/tendermint/version/types.d.ts +82 -0
- package/tendermint/version/types.js +169 -0
- package/types.d.ts +124 -0
- package/types.js +7 -0
- package/utf8.d.ts +27 -0
- package/utf8.js +140 -0
- package/varint.d.ts +105 -0
- package/varint.js +425 -0
- package/xpla/reward/v1beta1/genesis.d.ts +35 -0
- package/xpla/reward/v1beta1/genesis.js +76 -0
- package/xpla/reward/v1beta1/query.d.ts +136 -0
- package/xpla/reward/v1beta1/query.js +264 -0
- package/xpla/reward/v1beta1/query.rpc.func.d.ts +6 -0
- package/xpla/reward/v1beta1/query.rpc.func.js +30 -0
- package/xpla/reward/v1beta1/reward.d.ts +42 -0
- package/xpla/reward/v1beta1/reward.js +131 -0
- package/xpla/reward/v1beta1/tx.d.ts +158 -0
- package/xpla/reward/v1beta1/tx.js +304 -0
- package/xpla/reward/v1beta1/tx.registry.d.ts +35 -0
- package/xpla/reward/v1beta1/tx.registry.js +49 -0
- package/xpla/reward/v1beta1/tx.rpc.func.d.ts +6 -0
- package/xpla/reward/v1beta1/tx.rpc.func.js +27 -0
- package/xpla/volunteer/v1beta1/genesis.d.ts +33 -0
- package/xpla/volunteer/v1beta1/genesis.js +79 -0
- package/xpla/volunteer/v1beta1/proposal.d.ts +183 -0
- package/xpla/volunteer/v1beta1/proposal.js +537 -0
- package/xpla/volunteer/v1beta1/query.d.ts +60 -0
- package/xpla/volunteer/v1beta1/query.js +135 -0
- package/xpla/volunteer/v1beta1/query.rpc.func.d.ts +4 -0
- package/xpla/volunteer/v1beta1/query.rpc.func.js +18 -0
- package/xpla/volunteer/v1beta1/tx.d.ts +168 -0
- package/xpla/volunteer/v1beta1/tx.js +351 -0
- package/xpla/volunteer/v1beta1/tx.registry.d.ts +35 -0
- package/xpla/volunteer/v1beta1/tx.registry.js +49 -0
- package/xpla/volunteer/v1beta1/tx.rpc.func.d.ts +6 -0
- package/xpla/volunteer/v1beta1/tx.rpc.func.js +27 -0
- package/xpla/volunteer/v1beta1/volunteervalidator.d.ts +38 -0
- package/xpla/volunteer/v1beta1/volunteervalidator.js +87 -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,2029 +0,0 @@
|
|
|
1
|
-
import { Any, AnyAmino } from "../../../google/protobuf/any";
|
|
2
|
-
import { SignMode } from "../signing/v1beta1/signing";
|
|
3
|
-
import { CompactBitArray, CompactBitArrayAmino } from "../../crypto/multisig/v1beta1/multisig";
|
|
4
|
-
import { Coin, CoinAmino } from "../../base/v1beta1/coin";
|
|
5
|
-
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
6
|
-
import { DeepPartial, bytesFromBase64, base64FromBytes, isSet } from "../../../helpers";
|
|
7
|
-
import { GlobalDecoderRegistry } from "../../../registry";
|
|
8
|
-
/** Tx is the standard type used for broadcasting transactions. */
|
|
9
|
-
export interface Tx {
|
|
10
|
-
/** body is the processable content of the transaction */
|
|
11
|
-
body?: TxBody;
|
|
12
|
-
/**
|
|
13
|
-
* auth_info is the authorization related content of the transaction,
|
|
14
|
-
* specifically signers, signer modes and fee
|
|
15
|
-
*/
|
|
16
|
-
authInfo?: AuthInfo;
|
|
17
|
-
/**
|
|
18
|
-
* signatures is a list of signatures that matches the length and order of
|
|
19
|
-
* AuthInfo's signer_infos to allow connecting signature meta information like
|
|
20
|
-
* public key and signing mode by position.
|
|
21
|
-
*/
|
|
22
|
-
signatures: Uint8Array[];
|
|
23
|
-
}
|
|
24
|
-
export interface TxProtoMsg {
|
|
25
|
-
typeUrl: "/cosmos.tx.v1beta1.Tx";
|
|
26
|
-
value: Uint8Array;
|
|
27
|
-
}
|
|
28
|
-
/** Tx is the standard type used for broadcasting transactions. */
|
|
29
|
-
export interface TxAmino {
|
|
30
|
-
/** body is the processable content of the transaction */
|
|
31
|
-
body?: TxBodyAmino;
|
|
32
|
-
/**
|
|
33
|
-
* auth_info is the authorization related content of the transaction,
|
|
34
|
-
* specifically signers, signer modes and fee
|
|
35
|
-
*/
|
|
36
|
-
auth_info?: AuthInfoAmino;
|
|
37
|
-
/**
|
|
38
|
-
* signatures is a list of signatures that matches the length and order of
|
|
39
|
-
* AuthInfo's signer_infos to allow connecting signature meta information like
|
|
40
|
-
* public key and signing mode by position.
|
|
41
|
-
*/
|
|
42
|
-
signatures: string[];
|
|
43
|
-
}
|
|
44
|
-
export interface TxAminoMsg {
|
|
45
|
-
type: "cosmos-sdk/Tx";
|
|
46
|
-
value: TxAmino;
|
|
47
|
-
}
|
|
48
|
-
/**
|
|
49
|
-
* TxRaw is a variant of Tx that pins the signer's exact binary representation
|
|
50
|
-
* of body and auth_info. This is used for signing, broadcasting and
|
|
51
|
-
* verification. The binary `serialize(tx: TxRaw)` is stored in Tendermint and
|
|
52
|
-
* the hash `sha256(serialize(tx: TxRaw))` becomes the "txhash", commonly used
|
|
53
|
-
* as the transaction ID.
|
|
54
|
-
*/
|
|
55
|
-
export interface TxRaw {
|
|
56
|
-
/**
|
|
57
|
-
* body_bytes is a protobuf serialization of a TxBody that matches the
|
|
58
|
-
* representation in SignDoc.
|
|
59
|
-
*/
|
|
60
|
-
bodyBytes: Uint8Array;
|
|
61
|
-
/**
|
|
62
|
-
* auth_info_bytes is a protobuf serialization of an AuthInfo that matches the
|
|
63
|
-
* representation in SignDoc.
|
|
64
|
-
*/
|
|
65
|
-
authInfoBytes: Uint8Array;
|
|
66
|
-
/**
|
|
67
|
-
* signatures is a list of signatures that matches the length and order of
|
|
68
|
-
* AuthInfo's signer_infos to allow connecting signature meta information like
|
|
69
|
-
* public key and signing mode by position.
|
|
70
|
-
*/
|
|
71
|
-
signatures: Uint8Array[];
|
|
72
|
-
}
|
|
73
|
-
export interface TxRawProtoMsg {
|
|
74
|
-
typeUrl: "/cosmos.tx.v1beta1.TxRaw";
|
|
75
|
-
value: Uint8Array;
|
|
76
|
-
}
|
|
77
|
-
/**
|
|
78
|
-
* TxRaw is a variant of Tx that pins the signer's exact binary representation
|
|
79
|
-
* of body and auth_info. This is used for signing, broadcasting and
|
|
80
|
-
* verification. The binary `serialize(tx: TxRaw)` is stored in Tendermint and
|
|
81
|
-
* the hash `sha256(serialize(tx: TxRaw))` becomes the "txhash", commonly used
|
|
82
|
-
* as the transaction ID.
|
|
83
|
-
*/
|
|
84
|
-
export interface TxRawAmino {
|
|
85
|
-
/**
|
|
86
|
-
* body_bytes is a protobuf serialization of a TxBody that matches the
|
|
87
|
-
* representation in SignDoc.
|
|
88
|
-
*/
|
|
89
|
-
body_bytes: string;
|
|
90
|
-
/**
|
|
91
|
-
* auth_info_bytes is a protobuf serialization of an AuthInfo that matches the
|
|
92
|
-
* representation in SignDoc.
|
|
93
|
-
*/
|
|
94
|
-
auth_info_bytes: string;
|
|
95
|
-
/**
|
|
96
|
-
* signatures is a list of signatures that matches the length and order of
|
|
97
|
-
* AuthInfo's signer_infos to allow connecting signature meta information like
|
|
98
|
-
* public key and signing mode by position.
|
|
99
|
-
*/
|
|
100
|
-
signatures: string[];
|
|
101
|
-
}
|
|
102
|
-
export interface TxRawAminoMsg {
|
|
103
|
-
type: "cosmos-sdk/TxRaw";
|
|
104
|
-
value: TxRawAmino;
|
|
105
|
-
}
|
|
106
|
-
/** SignDoc is the type used for generating sign bytes for SIGN_MODE_DIRECT. */
|
|
107
|
-
export interface SignDoc {
|
|
108
|
-
/**
|
|
109
|
-
* body_bytes is protobuf serialization of a TxBody that matches the
|
|
110
|
-
* representation in TxRaw.
|
|
111
|
-
*/
|
|
112
|
-
bodyBytes: Uint8Array;
|
|
113
|
-
/**
|
|
114
|
-
* auth_info_bytes is a protobuf serialization of an AuthInfo that matches the
|
|
115
|
-
* representation in TxRaw.
|
|
116
|
-
*/
|
|
117
|
-
authInfoBytes: Uint8Array;
|
|
118
|
-
/**
|
|
119
|
-
* chain_id is the unique identifier of the chain this transaction targets.
|
|
120
|
-
* It prevents signed transactions from being used on another chain by an
|
|
121
|
-
* attacker
|
|
122
|
-
*/
|
|
123
|
-
chainId: string;
|
|
124
|
-
/** account_number is the account number of the account in state */
|
|
125
|
-
accountNumber: bigint;
|
|
126
|
-
}
|
|
127
|
-
export interface SignDocProtoMsg {
|
|
128
|
-
typeUrl: "/cosmos.tx.v1beta1.SignDoc";
|
|
129
|
-
value: Uint8Array;
|
|
130
|
-
}
|
|
131
|
-
/** SignDoc is the type used for generating sign bytes for SIGN_MODE_DIRECT. */
|
|
132
|
-
export interface SignDocAmino {
|
|
133
|
-
/**
|
|
134
|
-
* body_bytes is protobuf serialization of a TxBody that matches the
|
|
135
|
-
* representation in TxRaw.
|
|
136
|
-
*/
|
|
137
|
-
body_bytes: string;
|
|
138
|
-
/**
|
|
139
|
-
* auth_info_bytes is a protobuf serialization of an AuthInfo that matches the
|
|
140
|
-
* representation in TxRaw.
|
|
141
|
-
*/
|
|
142
|
-
auth_info_bytes: string;
|
|
143
|
-
/**
|
|
144
|
-
* chain_id is the unique identifier of the chain this transaction targets.
|
|
145
|
-
* It prevents signed transactions from being used on another chain by an
|
|
146
|
-
* attacker
|
|
147
|
-
*/
|
|
148
|
-
chain_id: string;
|
|
149
|
-
/** account_number is the account number of the account in state */
|
|
150
|
-
account_number: string;
|
|
151
|
-
}
|
|
152
|
-
export interface SignDocAminoMsg {
|
|
153
|
-
type: "cosmos-sdk/SignDoc";
|
|
154
|
-
value: SignDocAmino;
|
|
155
|
-
}
|
|
156
|
-
/**
|
|
157
|
-
* SignDocDirectAux is the type used for generating sign bytes for
|
|
158
|
-
* SIGN_MODE_DIRECT_AUX.
|
|
159
|
-
*
|
|
160
|
-
* Since: cosmos-sdk 0.46
|
|
161
|
-
*/
|
|
162
|
-
export interface SignDocDirectAux {
|
|
163
|
-
/**
|
|
164
|
-
* body_bytes is protobuf serialization of a TxBody that matches the
|
|
165
|
-
* representation in TxRaw.
|
|
166
|
-
*/
|
|
167
|
-
bodyBytes: Uint8Array;
|
|
168
|
-
/** public_key is the public key of the signing account. */
|
|
169
|
-
publicKey?: Any;
|
|
170
|
-
/**
|
|
171
|
-
* chain_id is the identifier of the chain this transaction targets.
|
|
172
|
-
* It prevents signed transactions from being used on another chain by an
|
|
173
|
-
* attacker.
|
|
174
|
-
*/
|
|
175
|
-
chainId: string;
|
|
176
|
-
/** account_number is the account number of the account in state. */
|
|
177
|
-
accountNumber: bigint;
|
|
178
|
-
/** sequence is the sequence number of the signing account. */
|
|
179
|
-
sequence: bigint;
|
|
180
|
-
/** tips have been depreacted and should not be used */
|
|
181
|
-
/** @deprecated */
|
|
182
|
-
tip?: Tip;
|
|
183
|
-
}
|
|
184
|
-
export interface SignDocDirectAuxProtoMsg {
|
|
185
|
-
typeUrl: "/cosmos.tx.v1beta1.SignDocDirectAux";
|
|
186
|
-
value: Uint8Array;
|
|
187
|
-
}
|
|
188
|
-
/**
|
|
189
|
-
* SignDocDirectAux is the type used for generating sign bytes for
|
|
190
|
-
* SIGN_MODE_DIRECT_AUX.
|
|
191
|
-
*
|
|
192
|
-
* Since: cosmos-sdk 0.46
|
|
193
|
-
*/
|
|
194
|
-
export interface SignDocDirectAuxAmino {
|
|
195
|
-
/**
|
|
196
|
-
* body_bytes is protobuf serialization of a TxBody that matches the
|
|
197
|
-
* representation in TxRaw.
|
|
198
|
-
*/
|
|
199
|
-
body_bytes: string;
|
|
200
|
-
/** public_key is the public key of the signing account. */
|
|
201
|
-
public_key?: AnyAmino;
|
|
202
|
-
/**
|
|
203
|
-
* chain_id is the identifier of the chain this transaction targets.
|
|
204
|
-
* It prevents signed transactions from being used on another chain by an
|
|
205
|
-
* attacker.
|
|
206
|
-
*/
|
|
207
|
-
chain_id: string;
|
|
208
|
-
/** account_number is the account number of the account in state. */
|
|
209
|
-
account_number: string;
|
|
210
|
-
/** sequence is the sequence number of the signing account. */
|
|
211
|
-
sequence: string;
|
|
212
|
-
/** tips have been depreacted and should not be used */
|
|
213
|
-
/** @deprecated */
|
|
214
|
-
tip?: TipAmino;
|
|
215
|
-
}
|
|
216
|
-
export interface SignDocDirectAuxAminoMsg {
|
|
217
|
-
type: "cosmos-sdk/SignDocDirectAux";
|
|
218
|
-
value: SignDocDirectAuxAmino;
|
|
219
|
-
}
|
|
220
|
-
/** TxBody is the body of a transaction that all signers sign over. */
|
|
221
|
-
export interface TxBody {
|
|
222
|
-
/**
|
|
223
|
-
* messages is a list of messages to be executed. The required signers of
|
|
224
|
-
* those messages define the number and order of elements in AuthInfo's
|
|
225
|
-
* signer_infos and Tx's signatures. Each required signer address is added to
|
|
226
|
-
* the list only the first time it occurs.
|
|
227
|
-
* By convention, the first required signer (usually from the first message)
|
|
228
|
-
* is referred to as the primary signer and pays the fee for the whole
|
|
229
|
-
* transaction.
|
|
230
|
-
*/
|
|
231
|
-
messages: Any[];
|
|
232
|
-
/**
|
|
233
|
-
* memo is any arbitrary note/comment to be added to the transaction.
|
|
234
|
-
* WARNING: in clients, any publicly exposed text should not be called memo,
|
|
235
|
-
* but should be called `note` instead (see https://github.com/cosmos/cosmos-sdk/issues/9122).
|
|
236
|
-
*/
|
|
237
|
-
memo: string;
|
|
238
|
-
/**
|
|
239
|
-
* timeout is the block height after which this transaction will not
|
|
240
|
-
* be processed by the chain
|
|
241
|
-
*/
|
|
242
|
-
timeoutHeight: bigint;
|
|
243
|
-
/**
|
|
244
|
-
* extension_options are arbitrary options that can be added by chains
|
|
245
|
-
* when the default options are not sufficient. If any of these are present
|
|
246
|
-
* and can't be handled, the transaction will be rejected
|
|
247
|
-
*/
|
|
248
|
-
extensionOptions: Any[];
|
|
249
|
-
/**
|
|
250
|
-
* extension_options are arbitrary options that can be added by chains
|
|
251
|
-
* when the default options are not sufficient. If any of these are present
|
|
252
|
-
* and can't be handled, they will be ignored
|
|
253
|
-
*/
|
|
254
|
-
nonCriticalExtensionOptions: Any[];
|
|
255
|
-
}
|
|
256
|
-
export interface TxBodyProtoMsg {
|
|
257
|
-
typeUrl: "/cosmos.tx.v1beta1.TxBody";
|
|
258
|
-
value: Uint8Array;
|
|
259
|
-
}
|
|
260
|
-
/** TxBody is the body of a transaction that all signers sign over. */
|
|
261
|
-
export interface TxBodyAmino {
|
|
262
|
-
/**
|
|
263
|
-
* messages is a list of messages to be executed. The required signers of
|
|
264
|
-
* those messages define the number and order of elements in AuthInfo's
|
|
265
|
-
* signer_infos and Tx's signatures. Each required signer address is added to
|
|
266
|
-
* the list only the first time it occurs.
|
|
267
|
-
* By convention, the first required signer (usually from the first message)
|
|
268
|
-
* is referred to as the primary signer and pays the fee for the whole
|
|
269
|
-
* transaction.
|
|
270
|
-
*/
|
|
271
|
-
messages: AnyAmino[];
|
|
272
|
-
/**
|
|
273
|
-
* memo is any arbitrary note/comment to be added to the transaction.
|
|
274
|
-
* WARNING: in clients, any publicly exposed text should not be called memo,
|
|
275
|
-
* but should be called `note` instead (see https://github.com/cosmos/cosmos-sdk/issues/9122).
|
|
276
|
-
*/
|
|
277
|
-
memo: string;
|
|
278
|
-
/**
|
|
279
|
-
* timeout is the block height after which this transaction will not
|
|
280
|
-
* be processed by the chain
|
|
281
|
-
*/
|
|
282
|
-
timeout_height: string;
|
|
283
|
-
/**
|
|
284
|
-
* extension_options are arbitrary options that can be added by chains
|
|
285
|
-
* when the default options are not sufficient. If any of these are present
|
|
286
|
-
* and can't be handled, the transaction will be rejected
|
|
287
|
-
*/
|
|
288
|
-
extension_options: AnyAmino[];
|
|
289
|
-
/**
|
|
290
|
-
* extension_options are arbitrary options that can be added by chains
|
|
291
|
-
* when the default options are not sufficient. If any of these are present
|
|
292
|
-
* and can't be handled, they will be ignored
|
|
293
|
-
*/
|
|
294
|
-
non_critical_extension_options: AnyAmino[];
|
|
295
|
-
}
|
|
296
|
-
export interface TxBodyAminoMsg {
|
|
297
|
-
type: "cosmos-sdk/TxBody";
|
|
298
|
-
value: TxBodyAmino;
|
|
299
|
-
}
|
|
300
|
-
/**
|
|
301
|
-
* AuthInfo describes the fee and signer modes that are used to sign a
|
|
302
|
-
* transaction.
|
|
303
|
-
*/
|
|
304
|
-
export interface AuthInfo {
|
|
305
|
-
/**
|
|
306
|
-
* signer_infos defines the signing modes for the required signers. The number
|
|
307
|
-
* and order of elements must match the required signers from TxBody's
|
|
308
|
-
* messages. The first element is the primary signer and the one which pays
|
|
309
|
-
* the fee.
|
|
310
|
-
*/
|
|
311
|
-
signerInfos: SignerInfo[];
|
|
312
|
-
/**
|
|
313
|
-
* Fee is the fee and gas limit for the transaction. The first signer is the
|
|
314
|
-
* primary signer and the one which pays the fee. The fee can be calculated
|
|
315
|
-
* based on the cost of evaluating the body and doing signature verification
|
|
316
|
-
* of the signers. This can be estimated via simulation.
|
|
317
|
-
*/
|
|
318
|
-
fee?: Fee;
|
|
319
|
-
/**
|
|
320
|
-
* Tip is the optional tip used for transactions fees paid in another denom.
|
|
321
|
-
*
|
|
322
|
-
* This field is ignored if the chain didn't enable tips, i.e. didn't add the
|
|
323
|
-
* `TipDecorator` in its posthandler.
|
|
324
|
-
*
|
|
325
|
-
* Since: cosmos-sdk 0.46
|
|
326
|
-
*/
|
|
327
|
-
/** @deprecated */
|
|
328
|
-
tip?: Tip;
|
|
329
|
-
}
|
|
330
|
-
export interface AuthInfoProtoMsg {
|
|
331
|
-
typeUrl: "/cosmos.tx.v1beta1.AuthInfo";
|
|
332
|
-
value: Uint8Array;
|
|
333
|
-
}
|
|
334
|
-
/**
|
|
335
|
-
* AuthInfo describes the fee and signer modes that are used to sign a
|
|
336
|
-
* transaction.
|
|
337
|
-
*/
|
|
338
|
-
export interface AuthInfoAmino {
|
|
339
|
-
/**
|
|
340
|
-
* signer_infos defines the signing modes for the required signers. The number
|
|
341
|
-
* and order of elements must match the required signers from TxBody's
|
|
342
|
-
* messages. The first element is the primary signer and the one which pays
|
|
343
|
-
* the fee.
|
|
344
|
-
*/
|
|
345
|
-
signer_infos: SignerInfoAmino[];
|
|
346
|
-
/**
|
|
347
|
-
* Fee is the fee and gas limit for the transaction. The first signer is the
|
|
348
|
-
* primary signer and the one which pays the fee. The fee can be calculated
|
|
349
|
-
* based on the cost of evaluating the body and doing signature verification
|
|
350
|
-
* of the signers. This can be estimated via simulation.
|
|
351
|
-
*/
|
|
352
|
-
fee?: FeeAmino;
|
|
353
|
-
/**
|
|
354
|
-
* Tip is the optional tip used for transactions fees paid in another denom.
|
|
355
|
-
*
|
|
356
|
-
* This field is ignored if the chain didn't enable tips, i.e. didn't add the
|
|
357
|
-
* `TipDecorator` in its posthandler.
|
|
358
|
-
*
|
|
359
|
-
* Since: cosmos-sdk 0.46
|
|
360
|
-
*/
|
|
361
|
-
/** @deprecated */
|
|
362
|
-
tip?: TipAmino;
|
|
363
|
-
}
|
|
364
|
-
export interface AuthInfoAminoMsg {
|
|
365
|
-
type: "cosmos-sdk/AuthInfo";
|
|
366
|
-
value: AuthInfoAmino;
|
|
367
|
-
}
|
|
368
|
-
/**
|
|
369
|
-
* SignerInfo describes the public key and signing mode of a single top-level
|
|
370
|
-
* signer.
|
|
371
|
-
*/
|
|
372
|
-
export interface SignerInfo {
|
|
373
|
-
/**
|
|
374
|
-
* public_key is the public key of the signer. It is optional for accounts
|
|
375
|
-
* that already exist in state. If unset, the verifier can use the required \
|
|
376
|
-
* signer address for this position and lookup the public key.
|
|
377
|
-
*/
|
|
378
|
-
publicKey?: Any;
|
|
379
|
-
/**
|
|
380
|
-
* mode_info describes the signing mode of the signer and is a nested
|
|
381
|
-
* structure to support nested multisig pubkey's
|
|
382
|
-
*/
|
|
383
|
-
modeInfo?: ModeInfo;
|
|
384
|
-
/**
|
|
385
|
-
* sequence is the sequence of the account, which describes the
|
|
386
|
-
* number of committed transactions signed by a given address. It is used to
|
|
387
|
-
* prevent replay attacks.
|
|
388
|
-
*/
|
|
389
|
-
sequence: bigint;
|
|
390
|
-
}
|
|
391
|
-
export interface SignerInfoProtoMsg {
|
|
392
|
-
typeUrl: "/cosmos.tx.v1beta1.SignerInfo";
|
|
393
|
-
value: Uint8Array;
|
|
394
|
-
}
|
|
395
|
-
/**
|
|
396
|
-
* SignerInfo describes the public key and signing mode of a single top-level
|
|
397
|
-
* signer.
|
|
398
|
-
*/
|
|
399
|
-
export interface SignerInfoAmino {
|
|
400
|
-
/**
|
|
401
|
-
* public_key is the public key of the signer. It is optional for accounts
|
|
402
|
-
* that already exist in state. If unset, the verifier can use the required \
|
|
403
|
-
* signer address for this position and lookup the public key.
|
|
404
|
-
*/
|
|
405
|
-
public_key?: AnyAmino;
|
|
406
|
-
/**
|
|
407
|
-
* mode_info describes the signing mode of the signer and is a nested
|
|
408
|
-
* structure to support nested multisig pubkey's
|
|
409
|
-
*/
|
|
410
|
-
mode_info?: ModeInfoAmino;
|
|
411
|
-
/**
|
|
412
|
-
* sequence is the sequence of the account, which describes the
|
|
413
|
-
* number of committed transactions signed by a given address. It is used to
|
|
414
|
-
* prevent replay attacks.
|
|
415
|
-
*/
|
|
416
|
-
sequence: string;
|
|
417
|
-
}
|
|
418
|
-
export interface SignerInfoAminoMsg {
|
|
419
|
-
type: "cosmos-sdk/SignerInfo";
|
|
420
|
-
value: SignerInfoAmino;
|
|
421
|
-
}
|
|
422
|
-
/** ModeInfo describes the signing mode of a single or nested multisig signer. */
|
|
423
|
-
export interface ModeInfo {
|
|
424
|
-
/** single represents a single signer */
|
|
425
|
-
single?: ModeInfo_Single;
|
|
426
|
-
/** multi represents a nested multisig signer */
|
|
427
|
-
multi?: ModeInfo_Multi;
|
|
428
|
-
}
|
|
429
|
-
export interface ModeInfoProtoMsg {
|
|
430
|
-
typeUrl: "/cosmos.tx.v1beta1.ModeInfo";
|
|
431
|
-
value: Uint8Array;
|
|
432
|
-
}
|
|
433
|
-
/** ModeInfo describes the signing mode of a single or nested multisig signer. */
|
|
434
|
-
export interface ModeInfoAmino {
|
|
435
|
-
/** single represents a single signer */
|
|
436
|
-
single?: ModeInfo_SingleAmino;
|
|
437
|
-
/** multi represents a nested multisig signer */
|
|
438
|
-
multi?: ModeInfo_MultiAmino;
|
|
439
|
-
}
|
|
440
|
-
export interface ModeInfoAminoMsg {
|
|
441
|
-
type: "cosmos-sdk/ModeInfo";
|
|
442
|
-
value: ModeInfoAmino;
|
|
443
|
-
}
|
|
444
|
-
/**
|
|
445
|
-
* Single is the mode info for a single signer. It is structured as a message
|
|
446
|
-
* to allow for additional fields such as locale for SIGN_MODE_TEXTUAL in the
|
|
447
|
-
* future
|
|
448
|
-
*/
|
|
449
|
-
export interface ModeInfo_Single {
|
|
450
|
-
/** mode is the signing mode of the single signer */
|
|
451
|
-
mode: SignMode;
|
|
452
|
-
}
|
|
453
|
-
export interface ModeInfo_SingleProtoMsg {
|
|
454
|
-
typeUrl: "/cosmos.tx.v1beta1.Single";
|
|
455
|
-
value: Uint8Array;
|
|
456
|
-
}
|
|
457
|
-
/**
|
|
458
|
-
* Single is the mode info for a single signer. It is structured as a message
|
|
459
|
-
* to allow for additional fields such as locale for SIGN_MODE_TEXTUAL in the
|
|
460
|
-
* future
|
|
461
|
-
*/
|
|
462
|
-
export interface ModeInfo_SingleAmino {
|
|
463
|
-
/** mode is the signing mode of the single signer */
|
|
464
|
-
mode: SignMode;
|
|
465
|
-
}
|
|
466
|
-
export interface ModeInfo_SingleAminoMsg {
|
|
467
|
-
type: "cosmos-sdk/Single";
|
|
468
|
-
value: ModeInfo_SingleAmino;
|
|
469
|
-
}
|
|
470
|
-
/** Multi is the mode info for a multisig public key */
|
|
471
|
-
export interface ModeInfo_Multi {
|
|
472
|
-
/** bitarray specifies which keys within the multisig are signing */
|
|
473
|
-
bitarray?: CompactBitArray;
|
|
474
|
-
/**
|
|
475
|
-
* mode_infos is the corresponding modes of the signers of the multisig
|
|
476
|
-
* which could include nested multisig public keys
|
|
477
|
-
*/
|
|
478
|
-
modeInfos: ModeInfo[];
|
|
479
|
-
}
|
|
480
|
-
export interface ModeInfo_MultiProtoMsg {
|
|
481
|
-
typeUrl: "/cosmos.tx.v1beta1.Multi";
|
|
482
|
-
value: Uint8Array;
|
|
483
|
-
}
|
|
484
|
-
/** Multi is the mode info for a multisig public key */
|
|
485
|
-
export interface ModeInfo_MultiAmino {
|
|
486
|
-
/** bitarray specifies which keys within the multisig are signing */
|
|
487
|
-
bitarray?: CompactBitArrayAmino;
|
|
488
|
-
/**
|
|
489
|
-
* mode_infos is the corresponding modes of the signers of the multisig
|
|
490
|
-
* which could include nested multisig public keys
|
|
491
|
-
*/
|
|
492
|
-
mode_infos: ModeInfoAmino[];
|
|
493
|
-
}
|
|
494
|
-
export interface ModeInfo_MultiAminoMsg {
|
|
495
|
-
type: "cosmos-sdk/Multi";
|
|
496
|
-
value: ModeInfo_MultiAmino;
|
|
497
|
-
}
|
|
498
|
-
/**
|
|
499
|
-
* Fee includes the amount of coins paid in fees and the maximum
|
|
500
|
-
* gas to be used by the transaction. The ratio yields an effective "gasprice",
|
|
501
|
-
* which must be above some miminum to be accepted into the mempool.
|
|
502
|
-
*/
|
|
503
|
-
export interface Fee {
|
|
504
|
-
/** amount is the amount of coins to be paid as a fee */
|
|
505
|
-
amount: Coin[];
|
|
506
|
-
/**
|
|
507
|
-
* gas_limit is the maximum gas that can be used in transaction processing
|
|
508
|
-
* before an out of gas error occurs
|
|
509
|
-
*/
|
|
510
|
-
gasLimit: bigint;
|
|
511
|
-
/**
|
|
512
|
-
* if unset, the first signer is responsible for paying the fees. If set, the specified account must pay the fees.
|
|
513
|
-
* the payer must be a tx signer (and thus have signed this field in AuthInfo).
|
|
514
|
-
* setting this field does *not* change the ordering of required signers for the transaction.
|
|
515
|
-
*/
|
|
516
|
-
payer: string;
|
|
517
|
-
/**
|
|
518
|
-
* if set, the fee payer (either the first signer or the value of the payer field) requests that a fee grant be used
|
|
519
|
-
* to pay fees instead of the fee payer's own balance. If an appropriate fee grant does not exist or the chain does
|
|
520
|
-
* not support fee grants, this will fail
|
|
521
|
-
*/
|
|
522
|
-
granter: string;
|
|
523
|
-
}
|
|
524
|
-
export interface FeeProtoMsg {
|
|
525
|
-
typeUrl: "/cosmos.tx.v1beta1.Fee";
|
|
526
|
-
value: Uint8Array;
|
|
527
|
-
}
|
|
528
|
-
/**
|
|
529
|
-
* Fee includes the amount of coins paid in fees and the maximum
|
|
530
|
-
* gas to be used by the transaction. The ratio yields an effective "gasprice",
|
|
531
|
-
* which must be above some miminum to be accepted into the mempool.
|
|
532
|
-
*/
|
|
533
|
-
export interface FeeAmino {
|
|
534
|
-
/** amount is the amount of coins to be paid as a fee */
|
|
535
|
-
amount: CoinAmino[];
|
|
536
|
-
/**
|
|
537
|
-
* gas_limit is the maximum gas that can be used in transaction processing
|
|
538
|
-
* before an out of gas error occurs
|
|
539
|
-
*/
|
|
540
|
-
gas_limit: string;
|
|
541
|
-
/**
|
|
542
|
-
* if unset, the first signer is responsible for paying the fees. If set, the specified account must pay the fees.
|
|
543
|
-
* the payer must be a tx signer (and thus have signed this field in AuthInfo).
|
|
544
|
-
* setting this field does *not* change the ordering of required signers for the transaction.
|
|
545
|
-
*/
|
|
546
|
-
payer: string;
|
|
547
|
-
/**
|
|
548
|
-
* if set, the fee payer (either the first signer or the value of the payer field) requests that a fee grant be used
|
|
549
|
-
* to pay fees instead of the fee payer's own balance. If an appropriate fee grant does not exist or the chain does
|
|
550
|
-
* not support fee grants, this will fail
|
|
551
|
-
*/
|
|
552
|
-
granter: string;
|
|
553
|
-
}
|
|
554
|
-
export interface FeeAminoMsg {
|
|
555
|
-
type: "cosmos-sdk/Fee";
|
|
556
|
-
value: FeeAmino;
|
|
557
|
-
}
|
|
558
|
-
/**
|
|
559
|
-
* Tip is the tip used for meta-transactions.
|
|
560
|
-
*
|
|
561
|
-
* Since: cosmos-sdk 0.46
|
|
562
|
-
*/
|
|
563
|
-
/** @deprecated */
|
|
564
|
-
export interface Tip {
|
|
565
|
-
/** amount is the amount of the tip */
|
|
566
|
-
amount: Coin[];
|
|
567
|
-
/** tipper is the address of the account paying for the tip */
|
|
568
|
-
tipper: string;
|
|
569
|
-
}
|
|
570
|
-
export interface TipProtoMsg {
|
|
571
|
-
typeUrl: "/cosmos.tx.v1beta1.Tip";
|
|
572
|
-
value: Uint8Array;
|
|
573
|
-
}
|
|
574
|
-
/**
|
|
575
|
-
* Tip is the tip used for meta-transactions.
|
|
576
|
-
*
|
|
577
|
-
* Since: cosmos-sdk 0.46
|
|
578
|
-
*/
|
|
579
|
-
/** @deprecated */
|
|
580
|
-
export interface TipAmino {
|
|
581
|
-
/** amount is the amount of the tip */
|
|
582
|
-
amount: CoinAmino[];
|
|
583
|
-
/** tipper is the address of the account paying for the tip */
|
|
584
|
-
tipper: string;
|
|
585
|
-
}
|
|
586
|
-
export interface TipAminoMsg {
|
|
587
|
-
type: "cosmos-sdk/Tip";
|
|
588
|
-
value: TipAmino;
|
|
589
|
-
}
|
|
590
|
-
/**
|
|
591
|
-
* AuxSignerData is the intermediary format that an auxiliary signer (e.g. a
|
|
592
|
-
* tipper) builds and sends to the fee payer (who will build and broadcast the
|
|
593
|
-
* actual tx). AuxSignerData is not a valid tx in itself, and will be rejected
|
|
594
|
-
* by the node if sent directly as-is.
|
|
595
|
-
*
|
|
596
|
-
* Since: cosmos-sdk 0.46
|
|
597
|
-
*/
|
|
598
|
-
export interface AuxSignerData {
|
|
599
|
-
/**
|
|
600
|
-
* address is the bech32-encoded address of the auxiliary signer. If using
|
|
601
|
-
* AuxSignerData across different chains, the bech32 prefix of the target
|
|
602
|
-
* chain (where the final transaction is broadcasted) should be used.
|
|
603
|
-
*/
|
|
604
|
-
address: string;
|
|
605
|
-
/**
|
|
606
|
-
* sign_doc is the SIGN_MODE_DIRECT_AUX sign doc that the auxiliary signer
|
|
607
|
-
* signs. Note: we use the same sign doc even if we're signing with
|
|
608
|
-
* LEGACY_AMINO_JSON.
|
|
609
|
-
*/
|
|
610
|
-
signDoc?: SignDocDirectAux;
|
|
611
|
-
/** mode is the signing mode of the single signer. */
|
|
612
|
-
mode: SignMode;
|
|
613
|
-
/** sig is the signature of the sign doc. */
|
|
614
|
-
sig: Uint8Array;
|
|
615
|
-
}
|
|
616
|
-
export interface AuxSignerDataProtoMsg {
|
|
617
|
-
typeUrl: "/cosmos.tx.v1beta1.AuxSignerData";
|
|
618
|
-
value: Uint8Array;
|
|
619
|
-
}
|
|
620
|
-
/**
|
|
621
|
-
* AuxSignerData is the intermediary format that an auxiliary signer (e.g. a
|
|
622
|
-
* tipper) builds and sends to the fee payer (who will build and broadcast the
|
|
623
|
-
* actual tx). AuxSignerData is not a valid tx in itself, and will be rejected
|
|
624
|
-
* by the node if sent directly as-is.
|
|
625
|
-
*
|
|
626
|
-
* Since: cosmos-sdk 0.46
|
|
627
|
-
*/
|
|
628
|
-
export interface AuxSignerDataAmino {
|
|
629
|
-
/**
|
|
630
|
-
* address is the bech32-encoded address of the auxiliary signer. If using
|
|
631
|
-
* AuxSignerData across different chains, the bech32 prefix of the target
|
|
632
|
-
* chain (where the final transaction is broadcasted) should be used.
|
|
633
|
-
*/
|
|
634
|
-
address: string;
|
|
635
|
-
/**
|
|
636
|
-
* sign_doc is the SIGN_MODE_DIRECT_AUX sign doc that the auxiliary signer
|
|
637
|
-
* signs. Note: we use the same sign doc even if we're signing with
|
|
638
|
-
* LEGACY_AMINO_JSON.
|
|
639
|
-
*/
|
|
640
|
-
sign_doc?: SignDocDirectAuxAmino;
|
|
641
|
-
/** mode is the signing mode of the single signer. */
|
|
642
|
-
mode: SignMode;
|
|
643
|
-
/** sig is the signature of the sign doc. */
|
|
644
|
-
sig: string;
|
|
645
|
-
}
|
|
646
|
-
export interface AuxSignerDataAminoMsg {
|
|
647
|
-
type: "cosmos-sdk/AuxSignerData";
|
|
648
|
-
value: AuxSignerDataAmino;
|
|
649
|
-
}
|
|
650
|
-
function createBaseTx(): Tx {
|
|
651
|
-
return {
|
|
652
|
-
body: undefined,
|
|
653
|
-
authInfo: undefined,
|
|
654
|
-
signatures: []
|
|
655
|
-
};
|
|
656
|
-
}
|
|
657
|
-
export const Tx = {
|
|
658
|
-
typeUrl: "/cosmos.tx.v1beta1.Tx",
|
|
659
|
-
aminoType: "cosmos-sdk/Tx",
|
|
660
|
-
is(o: any): o is Tx {
|
|
661
|
-
return o && (o.$typeUrl === Tx.typeUrl || Array.isArray(o.signatures) && (!o.signatures.length || o.signatures[0] instanceof Uint8Array || typeof o.signatures[0] === "string"));
|
|
662
|
-
},
|
|
663
|
-
isAmino(o: any): o is TxAmino {
|
|
664
|
-
return o && (o.$typeUrl === Tx.typeUrl || Array.isArray(o.signatures) && (!o.signatures.length || o.signatures[0] instanceof Uint8Array || typeof o.signatures[0] === "string"));
|
|
665
|
-
},
|
|
666
|
-
encode(message: Tx, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
667
|
-
if (message.body !== undefined) {
|
|
668
|
-
TxBody.encode(message.body, writer.uint32(10).fork()).ldelim();
|
|
669
|
-
}
|
|
670
|
-
if (message.authInfo !== undefined) {
|
|
671
|
-
AuthInfo.encode(message.authInfo, writer.uint32(18).fork()).ldelim();
|
|
672
|
-
}
|
|
673
|
-
for (const v of message.signatures) {
|
|
674
|
-
writer.uint32(26).bytes(v!);
|
|
675
|
-
}
|
|
676
|
-
return writer;
|
|
677
|
-
},
|
|
678
|
-
decode(input: BinaryReader | Uint8Array, length?: number): Tx {
|
|
679
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
680
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
681
|
-
const message = createBaseTx();
|
|
682
|
-
while (reader.pos < end) {
|
|
683
|
-
const tag = reader.uint32();
|
|
684
|
-
switch (tag >>> 3) {
|
|
685
|
-
case 1:
|
|
686
|
-
message.body = TxBody.decode(reader, reader.uint32());
|
|
687
|
-
break;
|
|
688
|
-
case 2:
|
|
689
|
-
message.authInfo = AuthInfo.decode(reader, reader.uint32());
|
|
690
|
-
break;
|
|
691
|
-
case 3:
|
|
692
|
-
message.signatures.push(reader.bytes());
|
|
693
|
-
break;
|
|
694
|
-
default:
|
|
695
|
-
reader.skipType(tag & 7);
|
|
696
|
-
break;
|
|
697
|
-
}
|
|
698
|
-
}
|
|
699
|
-
return message;
|
|
700
|
-
},
|
|
701
|
-
fromPartial(object: DeepPartial<Tx>): Tx {
|
|
702
|
-
const message = createBaseTx();
|
|
703
|
-
message.body = object.body !== undefined && object.body !== null ? TxBody.fromPartial(object.body) : undefined;
|
|
704
|
-
message.authInfo = object.authInfo !== undefined && object.authInfo !== null ? AuthInfo.fromPartial(object.authInfo) : undefined;
|
|
705
|
-
message.signatures = object.signatures?.map(e => e) || [];
|
|
706
|
-
return message;
|
|
707
|
-
},
|
|
708
|
-
fromAmino(object: TxAmino): Tx {
|
|
709
|
-
const message = createBaseTx();
|
|
710
|
-
if (object.body !== undefined && object.body !== null) {
|
|
711
|
-
message.body = TxBody.fromAmino(object.body);
|
|
712
|
-
}
|
|
713
|
-
if (object.auth_info !== undefined && object.auth_info !== null) {
|
|
714
|
-
message.authInfo = AuthInfo.fromAmino(object.auth_info);
|
|
715
|
-
}
|
|
716
|
-
message.signatures = object.signatures?.map(e => bytesFromBase64(e)) || [];
|
|
717
|
-
return message;
|
|
718
|
-
},
|
|
719
|
-
toAmino(message: Tx): TxAmino {
|
|
720
|
-
const obj: any = {};
|
|
721
|
-
obj.body = message.body ? TxBody.toAmino(message.body) : undefined;
|
|
722
|
-
obj.auth_info = message.authInfo ? AuthInfo.toAmino(message.authInfo) : undefined;
|
|
723
|
-
if (message.signatures) {
|
|
724
|
-
obj.signatures = message.signatures.map(e => base64FromBytes(e));
|
|
725
|
-
} else {
|
|
726
|
-
obj.signatures = message.signatures;
|
|
727
|
-
}
|
|
728
|
-
return obj;
|
|
729
|
-
},
|
|
730
|
-
fromAminoMsg(object: TxAminoMsg): Tx {
|
|
731
|
-
return Tx.fromAmino(object.value);
|
|
732
|
-
},
|
|
733
|
-
toAminoMsg(message: Tx): TxAminoMsg {
|
|
734
|
-
return {
|
|
735
|
-
type: "cosmos-sdk/Tx",
|
|
736
|
-
value: Tx.toAmino(message)
|
|
737
|
-
};
|
|
738
|
-
},
|
|
739
|
-
fromProtoMsg(message: TxProtoMsg): Tx {
|
|
740
|
-
return Tx.decode(message.value);
|
|
741
|
-
},
|
|
742
|
-
toProto(message: Tx): Uint8Array {
|
|
743
|
-
return Tx.encode(message).finish();
|
|
744
|
-
},
|
|
745
|
-
toProtoMsg(message: Tx): TxProtoMsg {
|
|
746
|
-
return {
|
|
747
|
-
typeUrl: "/cosmos.tx.v1beta1.Tx",
|
|
748
|
-
value: Tx.encode(message).finish()
|
|
749
|
-
};
|
|
750
|
-
}
|
|
751
|
-
};
|
|
752
|
-
GlobalDecoderRegistry.register(Tx.typeUrl, Tx);
|
|
753
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(Tx.aminoType, Tx.typeUrl);
|
|
754
|
-
function createBaseTxRaw(): TxRaw {
|
|
755
|
-
return {
|
|
756
|
-
bodyBytes: new Uint8Array(),
|
|
757
|
-
authInfoBytes: new Uint8Array(),
|
|
758
|
-
signatures: []
|
|
759
|
-
};
|
|
760
|
-
}
|
|
761
|
-
export const TxRaw = {
|
|
762
|
-
typeUrl: "/cosmos.tx.v1beta1.TxRaw",
|
|
763
|
-
aminoType: "cosmos-sdk/TxRaw",
|
|
764
|
-
is(o: any): o is TxRaw {
|
|
765
|
-
return o && (o.$typeUrl === TxRaw.typeUrl || (o.bodyBytes instanceof Uint8Array || typeof o.bodyBytes === "string") && (o.authInfoBytes instanceof Uint8Array || typeof o.authInfoBytes === "string") && Array.isArray(o.signatures) && (!o.signatures.length || o.signatures[0] instanceof Uint8Array || typeof o.signatures[0] === "string"));
|
|
766
|
-
},
|
|
767
|
-
isAmino(o: any): o is TxRawAmino {
|
|
768
|
-
return o && (o.$typeUrl === TxRaw.typeUrl || (o.body_bytes instanceof Uint8Array || typeof o.body_bytes === "string") && (o.auth_info_bytes instanceof Uint8Array || typeof o.auth_info_bytes === "string") && Array.isArray(o.signatures) && (!o.signatures.length || o.signatures[0] instanceof Uint8Array || typeof o.signatures[0] === "string"));
|
|
769
|
-
},
|
|
770
|
-
encode(message: TxRaw, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
771
|
-
if (message.bodyBytes.length !== 0) {
|
|
772
|
-
writer.uint32(10).bytes(message.bodyBytes);
|
|
773
|
-
}
|
|
774
|
-
if (message.authInfoBytes.length !== 0) {
|
|
775
|
-
writer.uint32(18).bytes(message.authInfoBytes);
|
|
776
|
-
}
|
|
777
|
-
for (const v of message.signatures) {
|
|
778
|
-
writer.uint32(26).bytes(v!);
|
|
779
|
-
}
|
|
780
|
-
return writer;
|
|
781
|
-
},
|
|
782
|
-
decode(input: BinaryReader | Uint8Array, length?: number): TxRaw {
|
|
783
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
784
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
785
|
-
const message = createBaseTxRaw();
|
|
786
|
-
while (reader.pos < end) {
|
|
787
|
-
const tag = reader.uint32();
|
|
788
|
-
switch (tag >>> 3) {
|
|
789
|
-
case 1:
|
|
790
|
-
message.bodyBytes = reader.bytes();
|
|
791
|
-
break;
|
|
792
|
-
case 2:
|
|
793
|
-
message.authInfoBytes = reader.bytes();
|
|
794
|
-
break;
|
|
795
|
-
case 3:
|
|
796
|
-
message.signatures.push(reader.bytes());
|
|
797
|
-
break;
|
|
798
|
-
default:
|
|
799
|
-
reader.skipType(tag & 7);
|
|
800
|
-
break;
|
|
801
|
-
}
|
|
802
|
-
}
|
|
803
|
-
return message;
|
|
804
|
-
},
|
|
805
|
-
fromPartial(object: DeepPartial<TxRaw>): TxRaw {
|
|
806
|
-
const message = createBaseTxRaw();
|
|
807
|
-
message.bodyBytes = object.bodyBytes ?? new Uint8Array();
|
|
808
|
-
message.authInfoBytes = object.authInfoBytes ?? new Uint8Array();
|
|
809
|
-
message.signatures = object.signatures?.map(e => e) || [];
|
|
810
|
-
return message;
|
|
811
|
-
},
|
|
812
|
-
fromAmino(object: TxRawAmino): TxRaw {
|
|
813
|
-
const message = createBaseTxRaw();
|
|
814
|
-
if (object.body_bytes !== undefined && object.body_bytes !== null) {
|
|
815
|
-
message.bodyBytes = bytesFromBase64(object.body_bytes);
|
|
816
|
-
}
|
|
817
|
-
if (object.auth_info_bytes !== undefined && object.auth_info_bytes !== null) {
|
|
818
|
-
message.authInfoBytes = bytesFromBase64(object.auth_info_bytes);
|
|
819
|
-
}
|
|
820
|
-
message.signatures = object.signatures?.map(e => bytesFromBase64(e)) || [];
|
|
821
|
-
return message;
|
|
822
|
-
},
|
|
823
|
-
toAmino(message: TxRaw): TxRawAmino {
|
|
824
|
-
const obj: any = {};
|
|
825
|
-
obj.body_bytes = message.bodyBytes ? base64FromBytes(message.bodyBytes) : undefined;
|
|
826
|
-
obj.auth_info_bytes = message.authInfoBytes ? base64FromBytes(message.authInfoBytes) : undefined;
|
|
827
|
-
if (message.signatures) {
|
|
828
|
-
obj.signatures = message.signatures.map(e => base64FromBytes(e));
|
|
829
|
-
} else {
|
|
830
|
-
obj.signatures = message.signatures;
|
|
831
|
-
}
|
|
832
|
-
return obj;
|
|
833
|
-
},
|
|
834
|
-
fromAminoMsg(object: TxRawAminoMsg): TxRaw {
|
|
835
|
-
return TxRaw.fromAmino(object.value);
|
|
836
|
-
},
|
|
837
|
-
toAminoMsg(message: TxRaw): TxRawAminoMsg {
|
|
838
|
-
return {
|
|
839
|
-
type: "cosmos-sdk/TxRaw",
|
|
840
|
-
value: TxRaw.toAmino(message)
|
|
841
|
-
};
|
|
842
|
-
},
|
|
843
|
-
fromProtoMsg(message: TxRawProtoMsg): TxRaw {
|
|
844
|
-
return TxRaw.decode(message.value);
|
|
845
|
-
},
|
|
846
|
-
toProto(message: TxRaw): Uint8Array {
|
|
847
|
-
return TxRaw.encode(message).finish();
|
|
848
|
-
},
|
|
849
|
-
toProtoMsg(message: TxRaw): TxRawProtoMsg {
|
|
850
|
-
return {
|
|
851
|
-
typeUrl: "/cosmos.tx.v1beta1.TxRaw",
|
|
852
|
-
value: TxRaw.encode(message).finish()
|
|
853
|
-
};
|
|
854
|
-
}
|
|
855
|
-
};
|
|
856
|
-
GlobalDecoderRegistry.register(TxRaw.typeUrl, TxRaw);
|
|
857
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(TxRaw.aminoType, TxRaw.typeUrl);
|
|
858
|
-
function createBaseSignDoc(): SignDoc {
|
|
859
|
-
return {
|
|
860
|
-
bodyBytes: new Uint8Array(),
|
|
861
|
-
authInfoBytes: new Uint8Array(),
|
|
862
|
-
chainId: "",
|
|
863
|
-
accountNumber: BigInt(0)
|
|
864
|
-
};
|
|
865
|
-
}
|
|
866
|
-
export const SignDoc = {
|
|
867
|
-
typeUrl: "/cosmos.tx.v1beta1.SignDoc",
|
|
868
|
-
aminoType: "cosmos-sdk/SignDoc",
|
|
869
|
-
is(o: any): o is SignDoc {
|
|
870
|
-
return o && (o.$typeUrl === SignDoc.typeUrl || (o.bodyBytes instanceof Uint8Array || typeof o.bodyBytes === "string") && (o.authInfoBytes instanceof Uint8Array || typeof o.authInfoBytes === "string") && typeof o.chainId === "string" && typeof o.accountNumber === "bigint");
|
|
871
|
-
},
|
|
872
|
-
isAmino(o: any): o is SignDocAmino {
|
|
873
|
-
return o && (o.$typeUrl === SignDoc.typeUrl || (o.body_bytes instanceof Uint8Array || typeof o.body_bytes === "string") && (o.auth_info_bytes instanceof Uint8Array || typeof o.auth_info_bytes === "string") && typeof o.chain_id === "string" && typeof o.account_number === "bigint");
|
|
874
|
-
},
|
|
875
|
-
encode(message: SignDoc, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
876
|
-
if (message.bodyBytes.length !== 0) {
|
|
877
|
-
writer.uint32(10).bytes(message.bodyBytes);
|
|
878
|
-
}
|
|
879
|
-
if (message.authInfoBytes.length !== 0) {
|
|
880
|
-
writer.uint32(18).bytes(message.authInfoBytes);
|
|
881
|
-
}
|
|
882
|
-
if (message.chainId !== "") {
|
|
883
|
-
writer.uint32(26).string(message.chainId);
|
|
884
|
-
}
|
|
885
|
-
if (message.accountNumber !== BigInt(0)) {
|
|
886
|
-
writer.uint32(32).uint64(message.accountNumber);
|
|
887
|
-
}
|
|
888
|
-
return writer;
|
|
889
|
-
},
|
|
890
|
-
decode(input: BinaryReader | Uint8Array, length?: number): SignDoc {
|
|
891
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
892
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
893
|
-
const message = createBaseSignDoc();
|
|
894
|
-
while (reader.pos < end) {
|
|
895
|
-
const tag = reader.uint32();
|
|
896
|
-
switch (tag >>> 3) {
|
|
897
|
-
case 1:
|
|
898
|
-
message.bodyBytes = reader.bytes();
|
|
899
|
-
break;
|
|
900
|
-
case 2:
|
|
901
|
-
message.authInfoBytes = reader.bytes();
|
|
902
|
-
break;
|
|
903
|
-
case 3:
|
|
904
|
-
message.chainId = reader.string();
|
|
905
|
-
break;
|
|
906
|
-
case 4:
|
|
907
|
-
message.accountNumber = reader.uint64();
|
|
908
|
-
break;
|
|
909
|
-
default:
|
|
910
|
-
reader.skipType(tag & 7);
|
|
911
|
-
break;
|
|
912
|
-
}
|
|
913
|
-
}
|
|
914
|
-
return message;
|
|
915
|
-
},
|
|
916
|
-
fromPartial(object: DeepPartial<SignDoc>): SignDoc {
|
|
917
|
-
const message = createBaseSignDoc();
|
|
918
|
-
message.bodyBytes = object.bodyBytes ?? new Uint8Array();
|
|
919
|
-
message.authInfoBytes = object.authInfoBytes ?? new Uint8Array();
|
|
920
|
-
message.chainId = object.chainId ?? "";
|
|
921
|
-
message.accountNumber = object.accountNumber !== undefined && object.accountNumber !== null ? BigInt(object.accountNumber.toString()) : BigInt(0);
|
|
922
|
-
return message;
|
|
923
|
-
},
|
|
924
|
-
fromAmino(object: SignDocAmino): SignDoc {
|
|
925
|
-
const message = createBaseSignDoc();
|
|
926
|
-
if (object.body_bytes !== undefined && object.body_bytes !== null) {
|
|
927
|
-
message.bodyBytes = bytesFromBase64(object.body_bytes);
|
|
928
|
-
}
|
|
929
|
-
if (object.auth_info_bytes !== undefined && object.auth_info_bytes !== null) {
|
|
930
|
-
message.authInfoBytes = bytesFromBase64(object.auth_info_bytes);
|
|
931
|
-
}
|
|
932
|
-
if (object.chain_id !== undefined && object.chain_id !== null) {
|
|
933
|
-
message.chainId = object.chain_id;
|
|
934
|
-
}
|
|
935
|
-
if (object.account_number !== undefined && object.account_number !== null) {
|
|
936
|
-
message.accountNumber = BigInt(object.account_number);
|
|
937
|
-
}
|
|
938
|
-
return message;
|
|
939
|
-
},
|
|
940
|
-
toAmino(message: SignDoc): SignDocAmino {
|
|
941
|
-
const obj: any = {};
|
|
942
|
-
obj.body_bytes = message.bodyBytes ? base64FromBytes(message.bodyBytes) : undefined;
|
|
943
|
-
obj.auth_info_bytes = message.authInfoBytes ? base64FromBytes(message.authInfoBytes) : undefined;
|
|
944
|
-
obj.chain_id = message.chainId === "" ? undefined : message.chainId;
|
|
945
|
-
obj.account_number = message.accountNumber !== BigInt(0) ? message.accountNumber?.toString() : undefined;
|
|
946
|
-
return obj;
|
|
947
|
-
},
|
|
948
|
-
fromAminoMsg(object: SignDocAminoMsg): SignDoc {
|
|
949
|
-
return SignDoc.fromAmino(object.value);
|
|
950
|
-
},
|
|
951
|
-
toAminoMsg(message: SignDoc): SignDocAminoMsg {
|
|
952
|
-
return {
|
|
953
|
-
type: "cosmos-sdk/SignDoc",
|
|
954
|
-
value: SignDoc.toAmino(message)
|
|
955
|
-
};
|
|
956
|
-
},
|
|
957
|
-
fromProtoMsg(message: SignDocProtoMsg): SignDoc {
|
|
958
|
-
return SignDoc.decode(message.value);
|
|
959
|
-
},
|
|
960
|
-
toProto(message: SignDoc): Uint8Array {
|
|
961
|
-
return SignDoc.encode(message).finish();
|
|
962
|
-
},
|
|
963
|
-
toProtoMsg(message: SignDoc): SignDocProtoMsg {
|
|
964
|
-
return {
|
|
965
|
-
typeUrl: "/cosmos.tx.v1beta1.SignDoc",
|
|
966
|
-
value: SignDoc.encode(message).finish()
|
|
967
|
-
};
|
|
968
|
-
}
|
|
969
|
-
};
|
|
970
|
-
GlobalDecoderRegistry.register(SignDoc.typeUrl, SignDoc);
|
|
971
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(SignDoc.aminoType, SignDoc.typeUrl);
|
|
972
|
-
function createBaseSignDocDirectAux(): SignDocDirectAux {
|
|
973
|
-
return {
|
|
974
|
-
bodyBytes: new Uint8Array(),
|
|
975
|
-
publicKey: undefined,
|
|
976
|
-
chainId: "",
|
|
977
|
-
accountNumber: BigInt(0),
|
|
978
|
-
sequence: BigInt(0),
|
|
979
|
-
tip: undefined
|
|
980
|
-
};
|
|
981
|
-
}
|
|
982
|
-
export const SignDocDirectAux = {
|
|
983
|
-
typeUrl: "/cosmos.tx.v1beta1.SignDocDirectAux",
|
|
984
|
-
aminoType: "cosmos-sdk/SignDocDirectAux",
|
|
985
|
-
is(o: any): o is SignDocDirectAux {
|
|
986
|
-
return o && (o.$typeUrl === SignDocDirectAux.typeUrl || (o.bodyBytes instanceof Uint8Array || typeof o.bodyBytes === "string") && typeof o.chainId === "string" && typeof o.accountNumber === "bigint" && typeof o.sequence === "bigint");
|
|
987
|
-
},
|
|
988
|
-
isAmino(o: any): o is SignDocDirectAuxAmino {
|
|
989
|
-
return o && (o.$typeUrl === SignDocDirectAux.typeUrl || (o.body_bytes instanceof Uint8Array || typeof o.body_bytes === "string") && typeof o.chain_id === "string" && typeof o.account_number === "bigint" && typeof o.sequence === "bigint");
|
|
990
|
-
},
|
|
991
|
-
encode(message: SignDocDirectAux, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
992
|
-
if (message.bodyBytes.length !== 0) {
|
|
993
|
-
writer.uint32(10).bytes(message.bodyBytes);
|
|
994
|
-
}
|
|
995
|
-
if (message.publicKey !== undefined) {
|
|
996
|
-
Any.encode(message.publicKey, writer.uint32(18).fork()).ldelim();
|
|
997
|
-
}
|
|
998
|
-
if (message.chainId !== "") {
|
|
999
|
-
writer.uint32(26).string(message.chainId);
|
|
1000
|
-
}
|
|
1001
|
-
if (message.accountNumber !== BigInt(0)) {
|
|
1002
|
-
writer.uint32(32).uint64(message.accountNumber);
|
|
1003
|
-
}
|
|
1004
|
-
if (message.sequence !== BigInt(0)) {
|
|
1005
|
-
writer.uint32(40).uint64(message.sequence);
|
|
1006
|
-
}
|
|
1007
|
-
if (message.tip !== undefined) {
|
|
1008
|
-
Tip.encode(message.tip, writer.uint32(50).fork()).ldelim();
|
|
1009
|
-
}
|
|
1010
|
-
return writer;
|
|
1011
|
-
},
|
|
1012
|
-
decode(input: BinaryReader | Uint8Array, length?: number): SignDocDirectAux {
|
|
1013
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1014
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1015
|
-
const message = createBaseSignDocDirectAux();
|
|
1016
|
-
while (reader.pos < end) {
|
|
1017
|
-
const tag = reader.uint32();
|
|
1018
|
-
switch (tag >>> 3) {
|
|
1019
|
-
case 1:
|
|
1020
|
-
message.bodyBytes = reader.bytes();
|
|
1021
|
-
break;
|
|
1022
|
-
case 2:
|
|
1023
|
-
message.publicKey = Any.decode(reader, reader.uint32());
|
|
1024
|
-
break;
|
|
1025
|
-
case 3:
|
|
1026
|
-
message.chainId = reader.string();
|
|
1027
|
-
break;
|
|
1028
|
-
case 4:
|
|
1029
|
-
message.accountNumber = reader.uint64();
|
|
1030
|
-
break;
|
|
1031
|
-
case 5:
|
|
1032
|
-
message.sequence = reader.uint64();
|
|
1033
|
-
break;
|
|
1034
|
-
case 6:
|
|
1035
|
-
message.tip = Tip.decode(reader, reader.uint32());
|
|
1036
|
-
break;
|
|
1037
|
-
default:
|
|
1038
|
-
reader.skipType(tag & 7);
|
|
1039
|
-
break;
|
|
1040
|
-
}
|
|
1041
|
-
}
|
|
1042
|
-
return message;
|
|
1043
|
-
},
|
|
1044
|
-
fromPartial(object: DeepPartial<SignDocDirectAux>): SignDocDirectAux {
|
|
1045
|
-
const message = createBaseSignDocDirectAux();
|
|
1046
|
-
message.bodyBytes = object.bodyBytes ?? new Uint8Array();
|
|
1047
|
-
message.publicKey = object.publicKey !== undefined && object.publicKey !== null ? Any.fromPartial(object.publicKey) : undefined;
|
|
1048
|
-
message.chainId = object.chainId ?? "";
|
|
1049
|
-
message.accountNumber = object.accountNumber !== undefined && object.accountNumber !== null ? BigInt(object.accountNumber.toString()) : BigInt(0);
|
|
1050
|
-
message.sequence = object.sequence !== undefined && object.sequence !== null ? BigInt(object.sequence.toString()) : BigInt(0);
|
|
1051
|
-
message.tip = object.tip !== undefined && object.tip !== null ? Tip.fromPartial(object.tip) : undefined;
|
|
1052
|
-
return message;
|
|
1053
|
-
},
|
|
1054
|
-
fromAmino(object: SignDocDirectAuxAmino): SignDocDirectAux {
|
|
1055
|
-
const message = createBaseSignDocDirectAux();
|
|
1056
|
-
if (object.body_bytes !== undefined && object.body_bytes !== null) {
|
|
1057
|
-
message.bodyBytes = bytesFromBase64(object.body_bytes);
|
|
1058
|
-
}
|
|
1059
|
-
if (object.public_key !== undefined && object.public_key !== null) {
|
|
1060
|
-
message.publicKey = Any.fromAmino(object.public_key);
|
|
1061
|
-
}
|
|
1062
|
-
if (object.chain_id !== undefined && object.chain_id !== null) {
|
|
1063
|
-
message.chainId = object.chain_id;
|
|
1064
|
-
}
|
|
1065
|
-
if (object.account_number !== undefined && object.account_number !== null) {
|
|
1066
|
-
message.accountNumber = BigInt(object.account_number);
|
|
1067
|
-
}
|
|
1068
|
-
if (object.sequence !== undefined && object.sequence !== null) {
|
|
1069
|
-
message.sequence = BigInt(object.sequence);
|
|
1070
|
-
}
|
|
1071
|
-
if (object.tip !== undefined && object.tip !== null) {
|
|
1072
|
-
message.tip = Tip.fromAmino(object.tip);
|
|
1073
|
-
}
|
|
1074
|
-
return message;
|
|
1075
|
-
},
|
|
1076
|
-
toAmino(message: SignDocDirectAux): SignDocDirectAuxAmino {
|
|
1077
|
-
const obj: any = {};
|
|
1078
|
-
obj.body_bytes = message.bodyBytes ? base64FromBytes(message.bodyBytes) : undefined;
|
|
1079
|
-
obj.public_key = message.publicKey ? Any.toAmino(message.publicKey) : undefined;
|
|
1080
|
-
obj.chain_id = message.chainId === "" ? undefined : message.chainId;
|
|
1081
|
-
obj.account_number = message.accountNumber !== BigInt(0) ? message.accountNumber?.toString() : undefined;
|
|
1082
|
-
obj.sequence = message.sequence !== BigInt(0) ? message.sequence?.toString() : undefined;
|
|
1083
|
-
obj.tip = message.tip ? Tip.toAmino(message.tip) : undefined;
|
|
1084
|
-
return obj;
|
|
1085
|
-
},
|
|
1086
|
-
fromAminoMsg(object: SignDocDirectAuxAminoMsg): SignDocDirectAux {
|
|
1087
|
-
return SignDocDirectAux.fromAmino(object.value);
|
|
1088
|
-
},
|
|
1089
|
-
toAminoMsg(message: SignDocDirectAux): SignDocDirectAuxAminoMsg {
|
|
1090
|
-
return {
|
|
1091
|
-
type: "cosmos-sdk/SignDocDirectAux",
|
|
1092
|
-
value: SignDocDirectAux.toAmino(message)
|
|
1093
|
-
};
|
|
1094
|
-
},
|
|
1095
|
-
fromProtoMsg(message: SignDocDirectAuxProtoMsg): SignDocDirectAux {
|
|
1096
|
-
return SignDocDirectAux.decode(message.value);
|
|
1097
|
-
},
|
|
1098
|
-
toProto(message: SignDocDirectAux): Uint8Array {
|
|
1099
|
-
return SignDocDirectAux.encode(message).finish();
|
|
1100
|
-
},
|
|
1101
|
-
toProtoMsg(message: SignDocDirectAux): SignDocDirectAuxProtoMsg {
|
|
1102
|
-
return {
|
|
1103
|
-
typeUrl: "/cosmos.tx.v1beta1.SignDocDirectAux",
|
|
1104
|
-
value: SignDocDirectAux.encode(message).finish()
|
|
1105
|
-
};
|
|
1106
|
-
}
|
|
1107
|
-
};
|
|
1108
|
-
GlobalDecoderRegistry.register(SignDocDirectAux.typeUrl, SignDocDirectAux);
|
|
1109
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(SignDocDirectAux.aminoType, SignDocDirectAux.typeUrl);
|
|
1110
|
-
function createBaseTxBody(): TxBody {
|
|
1111
|
-
return {
|
|
1112
|
-
messages: [],
|
|
1113
|
-
memo: "",
|
|
1114
|
-
timeoutHeight: BigInt(0),
|
|
1115
|
-
extensionOptions: [],
|
|
1116
|
-
nonCriticalExtensionOptions: []
|
|
1117
|
-
};
|
|
1118
|
-
}
|
|
1119
|
-
export const TxBody = {
|
|
1120
|
-
typeUrl: "/cosmos.tx.v1beta1.TxBody",
|
|
1121
|
-
aminoType: "cosmos-sdk/TxBody",
|
|
1122
|
-
is(o: any): o is TxBody {
|
|
1123
|
-
return o && (o.$typeUrl === TxBody.typeUrl || Array.isArray(o.messages) && (!o.messages.length || Any.is(o.messages[0])) && typeof o.memo === "string" && typeof o.timeoutHeight === "bigint" && Array.isArray(o.extensionOptions) && (!o.extensionOptions.length || Any.is(o.extensionOptions[0])) && Array.isArray(o.nonCriticalExtensionOptions) && (!o.nonCriticalExtensionOptions.length || Any.is(o.nonCriticalExtensionOptions[0])));
|
|
1124
|
-
},
|
|
1125
|
-
isAmino(o: any): o is TxBodyAmino {
|
|
1126
|
-
return o && (o.$typeUrl === TxBody.typeUrl || Array.isArray(o.messages) && (!o.messages.length || Any.isAmino(o.messages[0])) && typeof o.memo === "string" && typeof o.timeout_height === "bigint" && Array.isArray(o.extension_options) && (!o.extension_options.length || Any.isAmino(o.extension_options[0])) && Array.isArray(o.non_critical_extension_options) && (!o.non_critical_extension_options.length || Any.isAmino(o.non_critical_extension_options[0])));
|
|
1127
|
-
},
|
|
1128
|
-
encode(message: TxBody, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
1129
|
-
for (const v of message.messages) {
|
|
1130
|
-
Any.encode(v!, writer.uint32(10).fork()).ldelim();
|
|
1131
|
-
}
|
|
1132
|
-
if (message.memo !== "") {
|
|
1133
|
-
writer.uint32(18).string(message.memo);
|
|
1134
|
-
}
|
|
1135
|
-
if (message.timeoutHeight !== BigInt(0)) {
|
|
1136
|
-
writer.uint32(24).uint64(message.timeoutHeight);
|
|
1137
|
-
}
|
|
1138
|
-
for (const v of message.extensionOptions) {
|
|
1139
|
-
Any.encode(v!, writer.uint32(8186).fork()).ldelim();
|
|
1140
|
-
}
|
|
1141
|
-
for (const v of message.nonCriticalExtensionOptions) {
|
|
1142
|
-
Any.encode(v!, writer.uint32(16378).fork()).ldelim();
|
|
1143
|
-
}
|
|
1144
|
-
return writer;
|
|
1145
|
-
},
|
|
1146
|
-
decode(input: BinaryReader | Uint8Array, length?: number): TxBody {
|
|
1147
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1148
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1149
|
-
const message = createBaseTxBody();
|
|
1150
|
-
while (reader.pos < end) {
|
|
1151
|
-
const tag = reader.uint32();
|
|
1152
|
-
switch (tag >>> 3) {
|
|
1153
|
-
case 1:
|
|
1154
|
-
message.messages.push(Any.decode(reader, reader.uint32()));
|
|
1155
|
-
break;
|
|
1156
|
-
case 2:
|
|
1157
|
-
message.memo = reader.string();
|
|
1158
|
-
break;
|
|
1159
|
-
case 3:
|
|
1160
|
-
message.timeoutHeight = reader.uint64();
|
|
1161
|
-
break;
|
|
1162
|
-
case 1023:
|
|
1163
|
-
message.extensionOptions.push(Any.decode(reader, reader.uint32()));
|
|
1164
|
-
break;
|
|
1165
|
-
case 2047:
|
|
1166
|
-
message.nonCriticalExtensionOptions.push(Any.decode(reader, reader.uint32()));
|
|
1167
|
-
break;
|
|
1168
|
-
default:
|
|
1169
|
-
reader.skipType(tag & 7);
|
|
1170
|
-
break;
|
|
1171
|
-
}
|
|
1172
|
-
}
|
|
1173
|
-
return message;
|
|
1174
|
-
},
|
|
1175
|
-
fromPartial(object: DeepPartial<TxBody>): TxBody {
|
|
1176
|
-
const message = createBaseTxBody();
|
|
1177
|
-
message.messages = object.messages?.map(e => Any.fromPartial(e)) || [];
|
|
1178
|
-
message.memo = object.memo ?? "";
|
|
1179
|
-
message.timeoutHeight = object.timeoutHeight !== undefined && object.timeoutHeight !== null ? BigInt(object.timeoutHeight.toString()) : BigInt(0);
|
|
1180
|
-
message.extensionOptions = object.extensionOptions?.map(e => Any.fromPartial(e)) || [];
|
|
1181
|
-
message.nonCriticalExtensionOptions = object.nonCriticalExtensionOptions?.map(e => Any.fromPartial(e)) || [];
|
|
1182
|
-
return message;
|
|
1183
|
-
},
|
|
1184
|
-
fromAmino(object: TxBodyAmino): TxBody {
|
|
1185
|
-
const message = createBaseTxBody();
|
|
1186
|
-
message.messages = object.messages?.map(e => Any.fromAmino(e)) || [];
|
|
1187
|
-
if (object.memo !== undefined && object.memo !== null) {
|
|
1188
|
-
message.memo = object.memo;
|
|
1189
|
-
}
|
|
1190
|
-
if (object.timeout_height !== undefined && object.timeout_height !== null) {
|
|
1191
|
-
message.timeoutHeight = BigInt(object.timeout_height);
|
|
1192
|
-
}
|
|
1193
|
-
message.extensionOptions = object.extension_options?.map(e => Any.fromAmino(e)) || [];
|
|
1194
|
-
message.nonCriticalExtensionOptions = object.non_critical_extension_options?.map(e => Any.fromAmino(e)) || [];
|
|
1195
|
-
return message;
|
|
1196
|
-
},
|
|
1197
|
-
toAmino(message: TxBody): TxBodyAmino {
|
|
1198
|
-
const obj: any = {};
|
|
1199
|
-
if (message.messages) {
|
|
1200
|
-
obj.messages = message.messages.map(e => e ? Any.toAmino(e) : undefined);
|
|
1201
|
-
} else {
|
|
1202
|
-
obj.messages = message.messages;
|
|
1203
|
-
}
|
|
1204
|
-
obj.memo = message.memo === "" ? undefined : message.memo;
|
|
1205
|
-
obj.timeout_height = message.timeoutHeight !== BigInt(0) ? message.timeoutHeight?.toString() : undefined;
|
|
1206
|
-
if (message.extensionOptions) {
|
|
1207
|
-
obj.extension_options = message.extensionOptions.map(e => e ? Any.toAmino(e) : undefined);
|
|
1208
|
-
} else {
|
|
1209
|
-
obj.extension_options = message.extensionOptions;
|
|
1210
|
-
}
|
|
1211
|
-
if (message.nonCriticalExtensionOptions) {
|
|
1212
|
-
obj.non_critical_extension_options = message.nonCriticalExtensionOptions.map(e => e ? Any.toAmino(e) : undefined);
|
|
1213
|
-
} else {
|
|
1214
|
-
obj.non_critical_extension_options = message.nonCriticalExtensionOptions;
|
|
1215
|
-
}
|
|
1216
|
-
return obj;
|
|
1217
|
-
},
|
|
1218
|
-
fromAminoMsg(object: TxBodyAminoMsg): TxBody {
|
|
1219
|
-
return TxBody.fromAmino(object.value);
|
|
1220
|
-
},
|
|
1221
|
-
toAminoMsg(message: TxBody): TxBodyAminoMsg {
|
|
1222
|
-
return {
|
|
1223
|
-
type: "cosmos-sdk/TxBody",
|
|
1224
|
-
value: TxBody.toAmino(message)
|
|
1225
|
-
};
|
|
1226
|
-
},
|
|
1227
|
-
fromProtoMsg(message: TxBodyProtoMsg): TxBody {
|
|
1228
|
-
return TxBody.decode(message.value);
|
|
1229
|
-
},
|
|
1230
|
-
toProto(message: TxBody): Uint8Array {
|
|
1231
|
-
return TxBody.encode(message).finish();
|
|
1232
|
-
},
|
|
1233
|
-
toProtoMsg(message: TxBody): TxBodyProtoMsg {
|
|
1234
|
-
return {
|
|
1235
|
-
typeUrl: "/cosmos.tx.v1beta1.TxBody",
|
|
1236
|
-
value: TxBody.encode(message).finish()
|
|
1237
|
-
};
|
|
1238
|
-
}
|
|
1239
|
-
};
|
|
1240
|
-
GlobalDecoderRegistry.register(TxBody.typeUrl, TxBody);
|
|
1241
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(TxBody.aminoType, TxBody.typeUrl);
|
|
1242
|
-
function createBaseAuthInfo(): AuthInfo {
|
|
1243
|
-
return {
|
|
1244
|
-
signerInfos: [],
|
|
1245
|
-
fee: undefined,
|
|
1246
|
-
tip: undefined
|
|
1247
|
-
};
|
|
1248
|
-
}
|
|
1249
|
-
export const AuthInfo = {
|
|
1250
|
-
typeUrl: "/cosmos.tx.v1beta1.AuthInfo",
|
|
1251
|
-
aminoType: "cosmos-sdk/AuthInfo",
|
|
1252
|
-
is(o: any): o is AuthInfo {
|
|
1253
|
-
return o && (o.$typeUrl === AuthInfo.typeUrl || Array.isArray(o.signerInfos) && (!o.signerInfos.length || SignerInfo.is(o.signerInfos[0])));
|
|
1254
|
-
},
|
|
1255
|
-
isAmino(o: any): o is AuthInfoAmino {
|
|
1256
|
-
return o && (o.$typeUrl === AuthInfo.typeUrl || Array.isArray(o.signer_infos) && (!o.signer_infos.length || SignerInfo.isAmino(o.signer_infos[0])));
|
|
1257
|
-
},
|
|
1258
|
-
encode(message: AuthInfo, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
1259
|
-
for (const v of message.signerInfos) {
|
|
1260
|
-
SignerInfo.encode(v!, writer.uint32(10).fork()).ldelim();
|
|
1261
|
-
}
|
|
1262
|
-
if (message.fee !== undefined) {
|
|
1263
|
-
Fee.encode(message.fee, writer.uint32(18).fork()).ldelim();
|
|
1264
|
-
}
|
|
1265
|
-
if (message.tip !== undefined) {
|
|
1266
|
-
Tip.encode(message.tip, writer.uint32(26).fork()).ldelim();
|
|
1267
|
-
}
|
|
1268
|
-
return writer;
|
|
1269
|
-
},
|
|
1270
|
-
decode(input: BinaryReader | Uint8Array, length?: number): AuthInfo {
|
|
1271
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1272
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1273
|
-
const message = createBaseAuthInfo();
|
|
1274
|
-
while (reader.pos < end) {
|
|
1275
|
-
const tag = reader.uint32();
|
|
1276
|
-
switch (tag >>> 3) {
|
|
1277
|
-
case 1:
|
|
1278
|
-
message.signerInfos.push(SignerInfo.decode(reader, reader.uint32()));
|
|
1279
|
-
break;
|
|
1280
|
-
case 2:
|
|
1281
|
-
message.fee = Fee.decode(reader, reader.uint32());
|
|
1282
|
-
break;
|
|
1283
|
-
case 3:
|
|
1284
|
-
message.tip = Tip.decode(reader, reader.uint32());
|
|
1285
|
-
break;
|
|
1286
|
-
default:
|
|
1287
|
-
reader.skipType(tag & 7);
|
|
1288
|
-
break;
|
|
1289
|
-
}
|
|
1290
|
-
}
|
|
1291
|
-
return message;
|
|
1292
|
-
},
|
|
1293
|
-
fromPartial(object: DeepPartial<AuthInfo>): AuthInfo {
|
|
1294
|
-
const message = createBaseAuthInfo();
|
|
1295
|
-
message.signerInfos = object.signerInfos?.map(e => SignerInfo.fromPartial(e)) || [];
|
|
1296
|
-
message.fee = object.fee !== undefined && object.fee !== null ? Fee.fromPartial(object.fee) : undefined;
|
|
1297
|
-
message.tip = object.tip !== undefined && object.tip !== null ? Tip.fromPartial(object.tip) : undefined;
|
|
1298
|
-
return message;
|
|
1299
|
-
},
|
|
1300
|
-
fromAmino(object: AuthInfoAmino): AuthInfo {
|
|
1301
|
-
const message = createBaseAuthInfo();
|
|
1302
|
-
message.signerInfos = object.signer_infos?.map(e => SignerInfo.fromAmino(e)) || [];
|
|
1303
|
-
if (object.fee !== undefined && object.fee !== null) {
|
|
1304
|
-
message.fee = Fee.fromAmino(object.fee);
|
|
1305
|
-
}
|
|
1306
|
-
if (object.tip !== undefined && object.tip !== null) {
|
|
1307
|
-
message.tip = Tip.fromAmino(object.tip);
|
|
1308
|
-
}
|
|
1309
|
-
return message;
|
|
1310
|
-
},
|
|
1311
|
-
toAmino(message: AuthInfo): AuthInfoAmino {
|
|
1312
|
-
const obj: any = {};
|
|
1313
|
-
if (message.signerInfos) {
|
|
1314
|
-
obj.signer_infos = message.signerInfos.map(e => e ? SignerInfo.toAmino(e) : undefined);
|
|
1315
|
-
} else {
|
|
1316
|
-
obj.signer_infos = message.signerInfos;
|
|
1317
|
-
}
|
|
1318
|
-
obj.fee = message.fee ? Fee.toAmino(message.fee) : undefined;
|
|
1319
|
-
obj.tip = message.tip ? Tip.toAmino(message.tip) : undefined;
|
|
1320
|
-
return obj;
|
|
1321
|
-
},
|
|
1322
|
-
fromAminoMsg(object: AuthInfoAminoMsg): AuthInfo {
|
|
1323
|
-
return AuthInfo.fromAmino(object.value);
|
|
1324
|
-
},
|
|
1325
|
-
toAminoMsg(message: AuthInfo): AuthInfoAminoMsg {
|
|
1326
|
-
return {
|
|
1327
|
-
type: "cosmos-sdk/AuthInfo",
|
|
1328
|
-
value: AuthInfo.toAmino(message)
|
|
1329
|
-
};
|
|
1330
|
-
},
|
|
1331
|
-
fromProtoMsg(message: AuthInfoProtoMsg): AuthInfo {
|
|
1332
|
-
return AuthInfo.decode(message.value);
|
|
1333
|
-
},
|
|
1334
|
-
toProto(message: AuthInfo): Uint8Array {
|
|
1335
|
-
return AuthInfo.encode(message).finish();
|
|
1336
|
-
},
|
|
1337
|
-
toProtoMsg(message: AuthInfo): AuthInfoProtoMsg {
|
|
1338
|
-
return {
|
|
1339
|
-
typeUrl: "/cosmos.tx.v1beta1.AuthInfo",
|
|
1340
|
-
value: AuthInfo.encode(message).finish()
|
|
1341
|
-
};
|
|
1342
|
-
}
|
|
1343
|
-
};
|
|
1344
|
-
GlobalDecoderRegistry.register(AuthInfo.typeUrl, AuthInfo);
|
|
1345
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(AuthInfo.aminoType, AuthInfo.typeUrl);
|
|
1346
|
-
function createBaseSignerInfo(): SignerInfo {
|
|
1347
|
-
return {
|
|
1348
|
-
publicKey: undefined,
|
|
1349
|
-
modeInfo: undefined,
|
|
1350
|
-
sequence: BigInt(0)
|
|
1351
|
-
};
|
|
1352
|
-
}
|
|
1353
|
-
export const SignerInfo = {
|
|
1354
|
-
typeUrl: "/cosmos.tx.v1beta1.SignerInfo",
|
|
1355
|
-
aminoType: "cosmos-sdk/SignerInfo",
|
|
1356
|
-
is(o: any): o is SignerInfo {
|
|
1357
|
-
return o && (o.$typeUrl === SignerInfo.typeUrl || typeof o.sequence === "bigint");
|
|
1358
|
-
},
|
|
1359
|
-
isAmino(o: any): o is SignerInfoAmino {
|
|
1360
|
-
return o && (o.$typeUrl === SignerInfo.typeUrl || typeof o.sequence === "bigint");
|
|
1361
|
-
},
|
|
1362
|
-
encode(message: SignerInfo, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
1363
|
-
if (message.publicKey !== undefined) {
|
|
1364
|
-
Any.encode(message.publicKey, writer.uint32(10).fork()).ldelim();
|
|
1365
|
-
}
|
|
1366
|
-
if (message.modeInfo !== undefined) {
|
|
1367
|
-
ModeInfo.encode(message.modeInfo, writer.uint32(18).fork()).ldelim();
|
|
1368
|
-
}
|
|
1369
|
-
if (message.sequence !== BigInt(0)) {
|
|
1370
|
-
writer.uint32(24).uint64(message.sequence);
|
|
1371
|
-
}
|
|
1372
|
-
return writer;
|
|
1373
|
-
},
|
|
1374
|
-
decode(input: BinaryReader | Uint8Array, length?: number): SignerInfo {
|
|
1375
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1376
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1377
|
-
const message = createBaseSignerInfo();
|
|
1378
|
-
while (reader.pos < end) {
|
|
1379
|
-
const tag = reader.uint32();
|
|
1380
|
-
switch (tag >>> 3) {
|
|
1381
|
-
case 1:
|
|
1382
|
-
message.publicKey = Any.decode(reader, reader.uint32());
|
|
1383
|
-
break;
|
|
1384
|
-
case 2:
|
|
1385
|
-
message.modeInfo = ModeInfo.decode(reader, reader.uint32());
|
|
1386
|
-
break;
|
|
1387
|
-
case 3:
|
|
1388
|
-
message.sequence = reader.uint64();
|
|
1389
|
-
break;
|
|
1390
|
-
default:
|
|
1391
|
-
reader.skipType(tag & 7);
|
|
1392
|
-
break;
|
|
1393
|
-
}
|
|
1394
|
-
}
|
|
1395
|
-
return message;
|
|
1396
|
-
},
|
|
1397
|
-
fromPartial(object: DeepPartial<SignerInfo>): SignerInfo {
|
|
1398
|
-
const message = createBaseSignerInfo();
|
|
1399
|
-
message.publicKey = object.publicKey !== undefined && object.publicKey !== null ? Any.fromPartial(object.publicKey) : undefined;
|
|
1400
|
-
message.modeInfo = object.modeInfo !== undefined && object.modeInfo !== null ? ModeInfo.fromPartial(object.modeInfo) : undefined;
|
|
1401
|
-
message.sequence = object.sequence !== undefined && object.sequence !== null ? BigInt(object.sequence.toString()) : BigInt(0);
|
|
1402
|
-
return message;
|
|
1403
|
-
},
|
|
1404
|
-
fromAmino(object: SignerInfoAmino): SignerInfo {
|
|
1405
|
-
const message = createBaseSignerInfo();
|
|
1406
|
-
if (object.public_key !== undefined && object.public_key !== null) {
|
|
1407
|
-
message.publicKey = Any.fromAmino(object.public_key);
|
|
1408
|
-
}
|
|
1409
|
-
if (object.mode_info !== undefined && object.mode_info !== null) {
|
|
1410
|
-
message.modeInfo = ModeInfo.fromAmino(object.mode_info);
|
|
1411
|
-
}
|
|
1412
|
-
if (object.sequence !== undefined && object.sequence !== null) {
|
|
1413
|
-
message.sequence = BigInt(object.sequence);
|
|
1414
|
-
}
|
|
1415
|
-
return message;
|
|
1416
|
-
},
|
|
1417
|
-
toAmino(message: SignerInfo): SignerInfoAmino {
|
|
1418
|
-
const obj: any = {};
|
|
1419
|
-
obj.public_key = message.publicKey ? Any.toAmino(message.publicKey) : undefined;
|
|
1420
|
-
obj.mode_info = message.modeInfo ? ModeInfo.toAmino(message.modeInfo) : undefined;
|
|
1421
|
-
obj.sequence = message.sequence !== BigInt(0) ? message.sequence?.toString() : undefined;
|
|
1422
|
-
return obj;
|
|
1423
|
-
},
|
|
1424
|
-
fromAminoMsg(object: SignerInfoAminoMsg): SignerInfo {
|
|
1425
|
-
return SignerInfo.fromAmino(object.value);
|
|
1426
|
-
},
|
|
1427
|
-
toAminoMsg(message: SignerInfo): SignerInfoAminoMsg {
|
|
1428
|
-
return {
|
|
1429
|
-
type: "cosmos-sdk/SignerInfo",
|
|
1430
|
-
value: SignerInfo.toAmino(message)
|
|
1431
|
-
};
|
|
1432
|
-
},
|
|
1433
|
-
fromProtoMsg(message: SignerInfoProtoMsg): SignerInfo {
|
|
1434
|
-
return SignerInfo.decode(message.value);
|
|
1435
|
-
},
|
|
1436
|
-
toProto(message: SignerInfo): Uint8Array {
|
|
1437
|
-
return SignerInfo.encode(message).finish();
|
|
1438
|
-
},
|
|
1439
|
-
toProtoMsg(message: SignerInfo): SignerInfoProtoMsg {
|
|
1440
|
-
return {
|
|
1441
|
-
typeUrl: "/cosmos.tx.v1beta1.SignerInfo",
|
|
1442
|
-
value: SignerInfo.encode(message).finish()
|
|
1443
|
-
};
|
|
1444
|
-
}
|
|
1445
|
-
};
|
|
1446
|
-
GlobalDecoderRegistry.register(SignerInfo.typeUrl, SignerInfo);
|
|
1447
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(SignerInfo.aminoType, SignerInfo.typeUrl);
|
|
1448
|
-
function createBaseModeInfo(): ModeInfo {
|
|
1449
|
-
return {
|
|
1450
|
-
single: undefined,
|
|
1451
|
-
multi: undefined
|
|
1452
|
-
};
|
|
1453
|
-
}
|
|
1454
|
-
export const ModeInfo = {
|
|
1455
|
-
typeUrl: "/cosmos.tx.v1beta1.ModeInfo",
|
|
1456
|
-
aminoType: "cosmos-sdk/ModeInfo",
|
|
1457
|
-
is(o: any): o is ModeInfo {
|
|
1458
|
-
return o && o.$typeUrl === ModeInfo.typeUrl;
|
|
1459
|
-
},
|
|
1460
|
-
isAmino(o: any): o is ModeInfoAmino {
|
|
1461
|
-
return o && o.$typeUrl === ModeInfo.typeUrl;
|
|
1462
|
-
},
|
|
1463
|
-
encode(message: ModeInfo, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
1464
|
-
if (message.single !== undefined) {
|
|
1465
|
-
ModeInfo_Single.encode(message.single, writer.uint32(10).fork()).ldelim();
|
|
1466
|
-
}
|
|
1467
|
-
if (message.multi !== undefined) {
|
|
1468
|
-
ModeInfo_Multi.encode(message.multi, writer.uint32(18).fork()).ldelim();
|
|
1469
|
-
}
|
|
1470
|
-
return writer;
|
|
1471
|
-
},
|
|
1472
|
-
decode(input: BinaryReader | Uint8Array, length?: number): ModeInfo {
|
|
1473
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1474
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1475
|
-
const message = createBaseModeInfo();
|
|
1476
|
-
while (reader.pos < end) {
|
|
1477
|
-
const tag = reader.uint32();
|
|
1478
|
-
switch (tag >>> 3) {
|
|
1479
|
-
case 1:
|
|
1480
|
-
message.single = ModeInfo_Single.decode(reader, reader.uint32());
|
|
1481
|
-
break;
|
|
1482
|
-
case 2:
|
|
1483
|
-
message.multi = ModeInfo_Multi.decode(reader, reader.uint32());
|
|
1484
|
-
break;
|
|
1485
|
-
default:
|
|
1486
|
-
reader.skipType(tag & 7);
|
|
1487
|
-
break;
|
|
1488
|
-
}
|
|
1489
|
-
}
|
|
1490
|
-
return message;
|
|
1491
|
-
},
|
|
1492
|
-
fromPartial(object: DeepPartial<ModeInfo>): ModeInfo {
|
|
1493
|
-
const message = createBaseModeInfo();
|
|
1494
|
-
message.single = object.single !== undefined && object.single !== null ? ModeInfo_Single.fromPartial(object.single) : undefined;
|
|
1495
|
-
message.multi = object.multi !== undefined && object.multi !== null ? ModeInfo_Multi.fromPartial(object.multi) : undefined;
|
|
1496
|
-
return message;
|
|
1497
|
-
},
|
|
1498
|
-
fromAmino(object: ModeInfoAmino): ModeInfo {
|
|
1499
|
-
const message = createBaseModeInfo();
|
|
1500
|
-
if (object.single !== undefined && object.single !== null) {
|
|
1501
|
-
message.single = ModeInfo_Single.fromAmino(object.single);
|
|
1502
|
-
}
|
|
1503
|
-
if (object.multi !== undefined && object.multi !== null) {
|
|
1504
|
-
message.multi = ModeInfo_Multi.fromAmino(object.multi);
|
|
1505
|
-
}
|
|
1506
|
-
return message;
|
|
1507
|
-
},
|
|
1508
|
-
toAmino(message: ModeInfo): ModeInfoAmino {
|
|
1509
|
-
const obj: any = {};
|
|
1510
|
-
obj.single = message.single ? ModeInfo_Single.toAmino(message.single) : undefined;
|
|
1511
|
-
obj.multi = message.multi ? ModeInfo_Multi.toAmino(message.multi) : undefined;
|
|
1512
|
-
return obj;
|
|
1513
|
-
},
|
|
1514
|
-
fromAminoMsg(object: ModeInfoAminoMsg): ModeInfo {
|
|
1515
|
-
return ModeInfo.fromAmino(object.value);
|
|
1516
|
-
},
|
|
1517
|
-
toAminoMsg(message: ModeInfo): ModeInfoAminoMsg {
|
|
1518
|
-
return {
|
|
1519
|
-
type: "cosmos-sdk/ModeInfo",
|
|
1520
|
-
value: ModeInfo.toAmino(message)
|
|
1521
|
-
};
|
|
1522
|
-
},
|
|
1523
|
-
fromProtoMsg(message: ModeInfoProtoMsg): ModeInfo {
|
|
1524
|
-
return ModeInfo.decode(message.value);
|
|
1525
|
-
},
|
|
1526
|
-
toProto(message: ModeInfo): Uint8Array {
|
|
1527
|
-
return ModeInfo.encode(message).finish();
|
|
1528
|
-
},
|
|
1529
|
-
toProtoMsg(message: ModeInfo): ModeInfoProtoMsg {
|
|
1530
|
-
return {
|
|
1531
|
-
typeUrl: "/cosmos.tx.v1beta1.ModeInfo",
|
|
1532
|
-
value: ModeInfo.encode(message).finish()
|
|
1533
|
-
};
|
|
1534
|
-
}
|
|
1535
|
-
};
|
|
1536
|
-
GlobalDecoderRegistry.register(ModeInfo.typeUrl, ModeInfo);
|
|
1537
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(ModeInfo.aminoType, ModeInfo.typeUrl);
|
|
1538
|
-
function createBaseModeInfo_Single(): ModeInfo_Single {
|
|
1539
|
-
return {
|
|
1540
|
-
mode: 0
|
|
1541
|
-
};
|
|
1542
|
-
}
|
|
1543
|
-
export const ModeInfo_Single = {
|
|
1544
|
-
typeUrl: "/cosmos.tx.v1beta1.Single",
|
|
1545
|
-
aminoType: "cosmos-sdk/Single",
|
|
1546
|
-
is(o: any): o is ModeInfo_Single {
|
|
1547
|
-
return o && (o.$typeUrl === ModeInfo_Single.typeUrl || isSet(o.mode));
|
|
1548
|
-
},
|
|
1549
|
-
isAmino(o: any): o is ModeInfo_SingleAmino {
|
|
1550
|
-
return o && (o.$typeUrl === ModeInfo_Single.typeUrl || isSet(o.mode));
|
|
1551
|
-
},
|
|
1552
|
-
encode(message: ModeInfo_Single, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
1553
|
-
if (message.mode !== 0) {
|
|
1554
|
-
writer.uint32(8).int32(message.mode);
|
|
1555
|
-
}
|
|
1556
|
-
return writer;
|
|
1557
|
-
},
|
|
1558
|
-
decode(input: BinaryReader | Uint8Array, length?: number): ModeInfo_Single {
|
|
1559
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1560
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1561
|
-
const message = createBaseModeInfo_Single();
|
|
1562
|
-
while (reader.pos < end) {
|
|
1563
|
-
const tag = reader.uint32();
|
|
1564
|
-
switch (tag >>> 3) {
|
|
1565
|
-
case 1:
|
|
1566
|
-
message.mode = reader.int32() as any;
|
|
1567
|
-
break;
|
|
1568
|
-
default:
|
|
1569
|
-
reader.skipType(tag & 7);
|
|
1570
|
-
break;
|
|
1571
|
-
}
|
|
1572
|
-
}
|
|
1573
|
-
return message;
|
|
1574
|
-
},
|
|
1575
|
-
fromPartial(object: DeepPartial<ModeInfo_Single>): ModeInfo_Single {
|
|
1576
|
-
const message = createBaseModeInfo_Single();
|
|
1577
|
-
message.mode = object.mode ?? 0;
|
|
1578
|
-
return message;
|
|
1579
|
-
},
|
|
1580
|
-
fromAmino(object: ModeInfo_SingleAmino): ModeInfo_Single {
|
|
1581
|
-
const message = createBaseModeInfo_Single();
|
|
1582
|
-
if (object.mode !== undefined && object.mode !== null) {
|
|
1583
|
-
message.mode = object.mode;
|
|
1584
|
-
}
|
|
1585
|
-
return message;
|
|
1586
|
-
},
|
|
1587
|
-
toAmino(message: ModeInfo_Single): ModeInfo_SingleAmino {
|
|
1588
|
-
const obj: any = {};
|
|
1589
|
-
obj.mode = message.mode === 0 ? undefined : message.mode;
|
|
1590
|
-
return obj;
|
|
1591
|
-
},
|
|
1592
|
-
fromAminoMsg(object: ModeInfo_SingleAminoMsg): ModeInfo_Single {
|
|
1593
|
-
return ModeInfo_Single.fromAmino(object.value);
|
|
1594
|
-
},
|
|
1595
|
-
toAminoMsg(message: ModeInfo_Single): ModeInfo_SingleAminoMsg {
|
|
1596
|
-
return {
|
|
1597
|
-
type: "cosmos-sdk/Single",
|
|
1598
|
-
value: ModeInfo_Single.toAmino(message)
|
|
1599
|
-
};
|
|
1600
|
-
},
|
|
1601
|
-
fromProtoMsg(message: ModeInfo_SingleProtoMsg): ModeInfo_Single {
|
|
1602
|
-
return ModeInfo_Single.decode(message.value);
|
|
1603
|
-
},
|
|
1604
|
-
toProto(message: ModeInfo_Single): Uint8Array {
|
|
1605
|
-
return ModeInfo_Single.encode(message).finish();
|
|
1606
|
-
},
|
|
1607
|
-
toProtoMsg(message: ModeInfo_Single): ModeInfo_SingleProtoMsg {
|
|
1608
|
-
return {
|
|
1609
|
-
typeUrl: "/cosmos.tx.v1beta1.Single",
|
|
1610
|
-
value: ModeInfo_Single.encode(message).finish()
|
|
1611
|
-
};
|
|
1612
|
-
}
|
|
1613
|
-
};
|
|
1614
|
-
GlobalDecoderRegistry.register(ModeInfo_Single.typeUrl, ModeInfo_Single);
|
|
1615
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(ModeInfo_Single.aminoType, ModeInfo_Single.typeUrl);
|
|
1616
|
-
function createBaseModeInfo_Multi(): ModeInfo_Multi {
|
|
1617
|
-
return {
|
|
1618
|
-
bitarray: undefined,
|
|
1619
|
-
modeInfos: []
|
|
1620
|
-
};
|
|
1621
|
-
}
|
|
1622
|
-
export const ModeInfo_Multi = {
|
|
1623
|
-
typeUrl: "/cosmos.tx.v1beta1.Multi",
|
|
1624
|
-
aminoType: "cosmos-sdk/Multi",
|
|
1625
|
-
is(o: any): o is ModeInfo_Multi {
|
|
1626
|
-
return o && (o.$typeUrl === ModeInfo_Multi.typeUrl || Array.isArray(o.modeInfos) && (!o.modeInfos.length || ModeInfo.is(o.modeInfos[0])));
|
|
1627
|
-
},
|
|
1628
|
-
isAmino(o: any): o is ModeInfo_MultiAmino {
|
|
1629
|
-
return o && (o.$typeUrl === ModeInfo_Multi.typeUrl || Array.isArray(o.mode_infos) && (!o.mode_infos.length || ModeInfo.isAmino(o.mode_infos[0])));
|
|
1630
|
-
},
|
|
1631
|
-
encode(message: ModeInfo_Multi, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
1632
|
-
if (message.bitarray !== undefined) {
|
|
1633
|
-
CompactBitArray.encode(message.bitarray, writer.uint32(10).fork()).ldelim();
|
|
1634
|
-
}
|
|
1635
|
-
for (const v of message.modeInfos) {
|
|
1636
|
-
ModeInfo.encode(v!, writer.uint32(18).fork()).ldelim();
|
|
1637
|
-
}
|
|
1638
|
-
return writer;
|
|
1639
|
-
},
|
|
1640
|
-
decode(input: BinaryReader | Uint8Array, length?: number): ModeInfo_Multi {
|
|
1641
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1642
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1643
|
-
const message = createBaseModeInfo_Multi();
|
|
1644
|
-
while (reader.pos < end) {
|
|
1645
|
-
const tag = reader.uint32();
|
|
1646
|
-
switch (tag >>> 3) {
|
|
1647
|
-
case 1:
|
|
1648
|
-
message.bitarray = CompactBitArray.decode(reader, reader.uint32());
|
|
1649
|
-
break;
|
|
1650
|
-
case 2:
|
|
1651
|
-
message.modeInfos.push(ModeInfo.decode(reader, reader.uint32()));
|
|
1652
|
-
break;
|
|
1653
|
-
default:
|
|
1654
|
-
reader.skipType(tag & 7);
|
|
1655
|
-
break;
|
|
1656
|
-
}
|
|
1657
|
-
}
|
|
1658
|
-
return message;
|
|
1659
|
-
},
|
|
1660
|
-
fromPartial(object: DeepPartial<ModeInfo_Multi>): ModeInfo_Multi {
|
|
1661
|
-
const message = createBaseModeInfo_Multi();
|
|
1662
|
-
message.bitarray = object.bitarray !== undefined && object.bitarray !== null ? CompactBitArray.fromPartial(object.bitarray) : undefined;
|
|
1663
|
-
message.modeInfos = object.modeInfos?.map(e => ModeInfo.fromPartial(e)) || [];
|
|
1664
|
-
return message;
|
|
1665
|
-
},
|
|
1666
|
-
fromAmino(object: ModeInfo_MultiAmino): ModeInfo_Multi {
|
|
1667
|
-
const message = createBaseModeInfo_Multi();
|
|
1668
|
-
if (object.bitarray !== undefined && object.bitarray !== null) {
|
|
1669
|
-
message.bitarray = CompactBitArray.fromAmino(object.bitarray);
|
|
1670
|
-
}
|
|
1671
|
-
message.modeInfos = object.mode_infos?.map(e => ModeInfo.fromAmino(e)) || [];
|
|
1672
|
-
return message;
|
|
1673
|
-
},
|
|
1674
|
-
toAmino(message: ModeInfo_Multi): ModeInfo_MultiAmino {
|
|
1675
|
-
const obj: any = {};
|
|
1676
|
-
obj.bitarray = message.bitarray ? CompactBitArray.toAmino(message.bitarray) : undefined;
|
|
1677
|
-
if (message.modeInfos) {
|
|
1678
|
-
obj.mode_infos = message.modeInfos.map(e => e ? ModeInfo.toAmino(e) : undefined);
|
|
1679
|
-
} else {
|
|
1680
|
-
obj.mode_infos = message.modeInfos;
|
|
1681
|
-
}
|
|
1682
|
-
return obj;
|
|
1683
|
-
},
|
|
1684
|
-
fromAminoMsg(object: ModeInfo_MultiAminoMsg): ModeInfo_Multi {
|
|
1685
|
-
return ModeInfo_Multi.fromAmino(object.value);
|
|
1686
|
-
},
|
|
1687
|
-
toAminoMsg(message: ModeInfo_Multi): ModeInfo_MultiAminoMsg {
|
|
1688
|
-
return {
|
|
1689
|
-
type: "cosmos-sdk/Multi",
|
|
1690
|
-
value: ModeInfo_Multi.toAmino(message)
|
|
1691
|
-
};
|
|
1692
|
-
},
|
|
1693
|
-
fromProtoMsg(message: ModeInfo_MultiProtoMsg): ModeInfo_Multi {
|
|
1694
|
-
return ModeInfo_Multi.decode(message.value);
|
|
1695
|
-
},
|
|
1696
|
-
toProto(message: ModeInfo_Multi): Uint8Array {
|
|
1697
|
-
return ModeInfo_Multi.encode(message).finish();
|
|
1698
|
-
},
|
|
1699
|
-
toProtoMsg(message: ModeInfo_Multi): ModeInfo_MultiProtoMsg {
|
|
1700
|
-
return {
|
|
1701
|
-
typeUrl: "/cosmos.tx.v1beta1.Multi",
|
|
1702
|
-
value: ModeInfo_Multi.encode(message).finish()
|
|
1703
|
-
};
|
|
1704
|
-
}
|
|
1705
|
-
};
|
|
1706
|
-
GlobalDecoderRegistry.register(ModeInfo_Multi.typeUrl, ModeInfo_Multi);
|
|
1707
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(ModeInfo_Multi.aminoType, ModeInfo_Multi.typeUrl);
|
|
1708
|
-
function createBaseFee(): Fee {
|
|
1709
|
-
return {
|
|
1710
|
-
amount: [],
|
|
1711
|
-
gasLimit: BigInt(0),
|
|
1712
|
-
payer: "",
|
|
1713
|
-
granter: ""
|
|
1714
|
-
};
|
|
1715
|
-
}
|
|
1716
|
-
export const Fee = {
|
|
1717
|
-
typeUrl: "/cosmos.tx.v1beta1.Fee",
|
|
1718
|
-
aminoType: "cosmos-sdk/Fee",
|
|
1719
|
-
is(o: any): o is Fee {
|
|
1720
|
-
return o && (o.$typeUrl === Fee.typeUrl || Array.isArray(o.amount) && (!o.amount.length || Coin.is(o.amount[0])) && typeof o.gasLimit === "bigint" && typeof o.payer === "string" && typeof o.granter === "string");
|
|
1721
|
-
},
|
|
1722
|
-
isAmino(o: any): o is FeeAmino {
|
|
1723
|
-
return o && (o.$typeUrl === Fee.typeUrl || Array.isArray(o.amount) && (!o.amount.length || Coin.isAmino(o.amount[0])) && typeof o.gas_limit === "bigint" && typeof o.payer === "string" && typeof o.granter === "string");
|
|
1724
|
-
},
|
|
1725
|
-
encode(message: Fee, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
1726
|
-
for (const v of message.amount) {
|
|
1727
|
-
Coin.encode(v!, writer.uint32(10).fork()).ldelim();
|
|
1728
|
-
}
|
|
1729
|
-
if (message.gasLimit !== BigInt(0)) {
|
|
1730
|
-
writer.uint32(16).uint64(message.gasLimit);
|
|
1731
|
-
}
|
|
1732
|
-
if (message.payer !== "") {
|
|
1733
|
-
writer.uint32(26).string(message.payer);
|
|
1734
|
-
}
|
|
1735
|
-
if (message.granter !== "") {
|
|
1736
|
-
writer.uint32(34).string(message.granter);
|
|
1737
|
-
}
|
|
1738
|
-
return writer;
|
|
1739
|
-
},
|
|
1740
|
-
decode(input: BinaryReader | Uint8Array, length?: number): Fee {
|
|
1741
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1742
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1743
|
-
const message = createBaseFee();
|
|
1744
|
-
while (reader.pos < end) {
|
|
1745
|
-
const tag = reader.uint32();
|
|
1746
|
-
switch (tag >>> 3) {
|
|
1747
|
-
case 1:
|
|
1748
|
-
message.amount.push(Coin.decode(reader, reader.uint32()));
|
|
1749
|
-
break;
|
|
1750
|
-
case 2:
|
|
1751
|
-
message.gasLimit = reader.uint64();
|
|
1752
|
-
break;
|
|
1753
|
-
case 3:
|
|
1754
|
-
message.payer = reader.string();
|
|
1755
|
-
break;
|
|
1756
|
-
case 4:
|
|
1757
|
-
message.granter = reader.string();
|
|
1758
|
-
break;
|
|
1759
|
-
default:
|
|
1760
|
-
reader.skipType(tag & 7);
|
|
1761
|
-
break;
|
|
1762
|
-
}
|
|
1763
|
-
}
|
|
1764
|
-
return message;
|
|
1765
|
-
},
|
|
1766
|
-
fromPartial(object: DeepPartial<Fee>): Fee {
|
|
1767
|
-
const message = createBaseFee();
|
|
1768
|
-
message.amount = object.amount?.map(e => Coin.fromPartial(e)) || [];
|
|
1769
|
-
message.gasLimit = object.gasLimit !== undefined && object.gasLimit !== null ? BigInt(object.gasLimit.toString()) : BigInt(0);
|
|
1770
|
-
message.payer = object.payer ?? "";
|
|
1771
|
-
message.granter = object.granter ?? "";
|
|
1772
|
-
return message;
|
|
1773
|
-
},
|
|
1774
|
-
fromAmino(object: FeeAmino): Fee {
|
|
1775
|
-
const message = createBaseFee();
|
|
1776
|
-
message.amount = object.amount?.map(e => Coin.fromAmino(e)) || [];
|
|
1777
|
-
if (object.gas_limit !== undefined && object.gas_limit !== null) {
|
|
1778
|
-
message.gasLimit = BigInt(object.gas_limit);
|
|
1779
|
-
}
|
|
1780
|
-
if (object.payer !== undefined && object.payer !== null) {
|
|
1781
|
-
message.payer = object.payer;
|
|
1782
|
-
}
|
|
1783
|
-
if (object.granter !== undefined && object.granter !== null) {
|
|
1784
|
-
message.granter = object.granter;
|
|
1785
|
-
}
|
|
1786
|
-
return message;
|
|
1787
|
-
},
|
|
1788
|
-
toAmino(message: Fee): FeeAmino {
|
|
1789
|
-
const obj: any = {};
|
|
1790
|
-
if (message.amount) {
|
|
1791
|
-
obj.amount = message.amount.map(e => e ? Coin.toAmino(e) : undefined);
|
|
1792
|
-
} else {
|
|
1793
|
-
obj.amount = message.amount;
|
|
1794
|
-
}
|
|
1795
|
-
obj.gas_limit = message.gasLimit !== BigInt(0) ? message.gasLimit?.toString() : undefined;
|
|
1796
|
-
obj.payer = message.payer === "" ? undefined : message.payer;
|
|
1797
|
-
obj.granter = message.granter === "" ? undefined : message.granter;
|
|
1798
|
-
return obj;
|
|
1799
|
-
},
|
|
1800
|
-
fromAminoMsg(object: FeeAminoMsg): Fee {
|
|
1801
|
-
return Fee.fromAmino(object.value);
|
|
1802
|
-
},
|
|
1803
|
-
toAminoMsg(message: Fee): FeeAminoMsg {
|
|
1804
|
-
return {
|
|
1805
|
-
type: "cosmos-sdk/Fee",
|
|
1806
|
-
value: Fee.toAmino(message)
|
|
1807
|
-
};
|
|
1808
|
-
},
|
|
1809
|
-
fromProtoMsg(message: FeeProtoMsg): Fee {
|
|
1810
|
-
return Fee.decode(message.value);
|
|
1811
|
-
},
|
|
1812
|
-
toProto(message: Fee): Uint8Array {
|
|
1813
|
-
return Fee.encode(message).finish();
|
|
1814
|
-
},
|
|
1815
|
-
toProtoMsg(message: Fee): FeeProtoMsg {
|
|
1816
|
-
return {
|
|
1817
|
-
typeUrl: "/cosmos.tx.v1beta1.Fee",
|
|
1818
|
-
value: Fee.encode(message).finish()
|
|
1819
|
-
};
|
|
1820
|
-
}
|
|
1821
|
-
};
|
|
1822
|
-
GlobalDecoderRegistry.register(Fee.typeUrl, Fee);
|
|
1823
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(Fee.aminoType, Fee.typeUrl);
|
|
1824
|
-
function createBaseTip(): Tip {
|
|
1825
|
-
return {
|
|
1826
|
-
amount: [],
|
|
1827
|
-
tipper: ""
|
|
1828
|
-
};
|
|
1829
|
-
}
|
|
1830
|
-
export const Tip = {
|
|
1831
|
-
typeUrl: "/cosmos.tx.v1beta1.Tip",
|
|
1832
|
-
aminoType: "cosmos-sdk/Tip",
|
|
1833
|
-
is(o: any): o is Tip {
|
|
1834
|
-
return o && (o.$typeUrl === Tip.typeUrl || Array.isArray(o.amount) && (!o.amount.length || Coin.is(o.amount[0])) && typeof o.tipper === "string");
|
|
1835
|
-
},
|
|
1836
|
-
isAmino(o: any): o is TipAmino {
|
|
1837
|
-
return o && (o.$typeUrl === Tip.typeUrl || Array.isArray(o.amount) && (!o.amount.length || Coin.isAmino(o.amount[0])) && typeof o.tipper === "string");
|
|
1838
|
-
},
|
|
1839
|
-
encode(message: Tip, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
1840
|
-
for (const v of message.amount) {
|
|
1841
|
-
Coin.encode(v!, writer.uint32(10).fork()).ldelim();
|
|
1842
|
-
}
|
|
1843
|
-
if (message.tipper !== "") {
|
|
1844
|
-
writer.uint32(18).string(message.tipper);
|
|
1845
|
-
}
|
|
1846
|
-
return writer;
|
|
1847
|
-
},
|
|
1848
|
-
decode(input: BinaryReader | Uint8Array, length?: number): Tip {
|
|
1849
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1850
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1851
|
-
const message = createBaseTip();
|
|
1852
|
-
while (reader.pos < end) {
|
|
1853
|
-
const tag = reader.uint32();
|
|
1854
|
-
switch (tag >>> 3) {
|
|
1855
|
-
case 1:
|
|
1856
|
-
message.amount.push(Coin.decode(reader, reader.uint32()));
|
|
1857
|
-
break;
|
|
1858
|
-
case 2:
|
|
1859
|
-
message.tipper = reader.string();
|
|
1860
|
-
break;
|
|
1861
|
-
default:
|
|
1862
|
-
reader.skipType(tag & 7);
|
|
1863
|
-
break;
|
|
1864
|
-
}
|
|
1865
|
-
}
|
|
1866
|
-
return message;
|
|
1867
|
-
},
|
|
1868
|
-
fromPartial(object: DeepPartial<Tip>): Tip {
|
|
1869
|
-
const message = createBaseTip();
|
|
1870
|
-
message.amount = object.amount?.map(e => Coin.fromPartial(e)) || [];
|
|
1871
|
-
message.tipper = object.tipper ?? "";
|
|
1872
|
-
return message;
|
|
1873
|
-
},
|
|
1874
|
-
fromAmino(object: TipAmino): Tip {
|
|
1875
|
-
const message = createBaseTip();
|
|
1876
|
-
message.amount = object.amount?.map(e => Coin.fromAmino(e)) || [];
|
|
1877
|
-
if (object.tipper !== undefined && object.tipper !== null) {
|
|
1878
|
-
message.tipper = object.tipper;
|
|
1879
|
-
}
|
|
1880
|
-
return message;
|
|
1881
|
-
},
|
|
1882
|
-
toAmino(message: Tip): TipAmino {
|
|
1883
|
-
const obj: any = {};
|
|
1884
|
-
if (message.amount) {
|
|
1885
|
-
obj.amount = message.amount.map(e => e ? Coin.toAmino(e) : undefined);
|
|
1886
|
-
} else {
|
|
1887
|
-
obj.amount = message.amount;
|
|
1888
|
-
}
|
|
1889
|
-
obj.tipper = message.tipper === "" ? undefined : message.tipper;
|
|
1890
|
-
return obj;
|
|
1891
|
-
},
|
|
1892
|
-
fromAminoMsg(object: TipAminoMsg): Tip {
|
|
1893
|
-
return Tip.fromAmino(object.value);
|
|
1894
|
-
},
|
|
1895
|
-
toAminoMsg(message: Tip): TipAminoMsg {
|
|
1896
|
-
return {
|
|
1897
|
-
type: "cosmos-sdk/Tip",
|
|
1898
|
-
value: Tip.toAmino(message)
|
|
1899
|
-
};
|
|
1900
|
-
},
|
|
1901
|
-
fromProtoMsg(message: TipProtoMsg): Tip {
|
|
1902
|
-
return Tip.decode(message.value);
|
|
1903
|
-
},
|
|
1904
|
-
toProto(message: Tip): Uint8Array {
|
|
1905
|
-
return Tip.encode(message).finish();
|
|
1906
|
-
},
|
|
1907
|
-
toProtoMsg(message: Tip): TipProtoMsg {
|
|
1908
|
-
return {
|
|
1909
|
-
typeUrl: "/cosmos.tx.v1beta1.Tip",
|
|
1910
|
-
value: Tip.encode(message).finish()
|
|
1911
|
-
};
|
|
1912
|
-
}
|
|
1913
|
-
};
|
|
1914
|
-
GlobalDecoderRegistry.register(Tip.typeUrl, Tip);
|
|
1915
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(Tip.aminoType, Tip.typeUrl);
|
|
1916
|
-
function createBaseAuxSignerData(): AuxSignerData {
|
|
1917
|
-
return {
|
|
1918
|
-
address: "",
|
|
1919
|
-
signDoc: undefined,
|
|
1920
|
-
mode: 0,
|
|
1921
|
-
sig: new Uint8Array()
|
|
1922
|
-
};
|
|
1923
|
-
}
|
|
1924
|
-
export const AuxSignerData = {
|
|
1925
|
-
typeUrl: "/cosmos.tx.v1beta1.AuxSignerData",
|
|
1926
|
-
aminoType: "cosmos-sdk/AuxSignerData",
|
|
1927
|
-
is(o: any): o is AuxSignerData {
|
|
1928
|
-
return o && (o.$typeUrl === AuxSignerData.typeUrl || typeof o.address === "string" && isSet(o.mode) && (o.sig instanceof Uint8Array || typeof o.sig === "string"));
|
|
1929
|
-
},
|
|
1930
|
-
isAmino(o: any): o is AuxSignerDataAmino {
|
|
1931
|
-
return o && (o.$typeUrl === AuxSignerData.typeUrl || typeof o.address === "string" && isSet(o.mode) && (o.sig instanceof Uint8Array || typeof o.sig === "string"));
|
|
1932
|
-
},
|
|
1933
|
-
encode(message: AuxSignerData, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
1934
|
-
if (message.address !== "") {
|
|
1935
|
-
writer.uint32(10).string(message.address);
|
|
1936
|
-
}
|
|
1937
|
-
if (message.signDoc !== undefined) {
|
|
1938
|
-
SignDocDirectAux.encode(message.signDoc, writer.uint32(18).fork()).ldelim();
|
|
1939
|
-
}
|
|
1940
|
-
if (message.mode !== 0) {
|
|
1941
|
-
writer.uint32(24).int32(message.mode);
|
|
1942
|
-
}
|
|
1943
|
-
if (message.sig.length !== 0) {
|
|
1944
|
-
writer.uint32(34).bytes(message.sig);
|
|
1945
|
-
}
|
|
1946
|
-
return writer;
|
|
1947
|
-
},
|
|
1948
|
-
decode(input: BinaryReader | Uint8Array, length?: number): AuxSignerData {
|
|
1949
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1950
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1951
|
-
const message = createBaseAuxSignerData();
|
|
1952
|
-
while (reader.pos < end) {
|
|
1953
|
-
const tag = reader.uint32();
|
|
1954
|
-
switch (tag >>> 3) {
|
|
1955
|
-
case 1:
|
|
1956
|
-
message.address = reader.string();
|
|
1957
|
-
break;
|
|
1958
|
-
case 2:
|
|
1959
|
-
message.signDoc = SignDocDirectAux.decode(reader, reader.uint32());
|
|
1960
|
-
break;
|
|
1961
|
-
case 3:
|
|
1962
|
-
message.mode = reader.int32() as any;
|
|
1963
|
-
break;
|
|
1964
|
-
case 4:
|
|
1965
|
-
message.sig = reader.bytes();
|
|
1966
|
-
break;
|
|
1967
|
-
default:
|
|
1968
|
-
reader.skipType(tag & 7);
|
|
1969
|
-
break;
|
|
1970
|
-
}
|
|
1971
|
-
}
|
|
1972
|
-
return message;
|
|
1973
|
-
},
|
|
1974
|
-
fromPartial(object: DeepPartial<AuxSignerData>): AuxSignerData {
|
|
1975
|
-
const message = createBaseAuxSignerData();
|
|
1976
|
-
message.address = object.address ?? "";
|
|
1977
|
-
message.signDoc = object.signDoc !== undefined && object.signDoc !== null ? SignDocDirectAux.fromPartial(object.signDoc) : undefined;
|
|
1978
|
-
message.mode = object.mode ?? 0;
|
|
1979
|
-
message.sig = object.sig ?? new Uint8Array();
|
|
1980
|
-
return message;
|
|
1981
|
-
},
|
|
1982
|
-
fromAmino(object: AuxSignerDataAmino): AuxSignerData {
|
|
1983
|
-
const message = createBaseAuxSignerData();
|
|
1984
|
-
if (object.address !== undefined && object.address !== null) {
|
|
1985
|
-
message.address = object.address;
|
|
1986
|
-
}
|
|
1987
|
-
if (object.sign_doc !== undefined && object.sign_doc !== null) {
|
|
1988
|
-
message.signDoc = SignDocDirectAux.fromAmino(object.sign_doc);
|
|
1989
|
-
}
|
|
1990
|
-
if (object.mode !== undefined && object.mode !== null) {
|
|
1991
|
-
message.mode = object.mode;
|
|
1992
|
-
}
|
|
1993
|
-
if (object.sig !== undefined && object.sig !== null) {
|
|
1994
|
-
message.sig = bytesFromBase64(object.sig);
|
|
1995
|
-
}
|
|
1996
|
-
return message;
|
|
1997
|
-
},
|
|
1998
|
-
toAmino(message: AuxSignerData): AuxSignerDataAmino {
|
|
1999
|
-
const obj: any = {};
|
|
2000
|
-
obj.address = message.address === "" ? undefined : message.address;
|
|
2001
|
-
obj.sign_doc = message.signDoc ? SignDocDirectAux.toAmino(message.signDoc) : undefined;
|
|
2002
|
-
obj.mode = message.mode === 0 ? undefined : message.mode;
|
|
2003
|
-
obj.sig = message.sig ? base64FromBytes(message.sig) : undefined;
|
|
2004
|
-
return obj;
|
|
2005
|
-
},
|
|
2006
|
-
fromAminoMsg(object: AuxSignerDataAminoMsg): AuxSignerData {
|
|
2007
|
-
return AuxSignerData.fromAmino(object.value);
|
|
2008
|
-
},
|
|
2009
|
-
toAminoMsg(message: AuxSignerData): AuxSignerDataAminoMsg {
|
|
2010
|
-
return {
|
|
2011
|
-
type: "cosmos-sdk/AuxSignerData",
|
|
2012
|
-
value: AuxSignerData.toAmino(message)
|
|
2013
|
-
};
|
|
2014
|
-
},
|
|
2015
|
-
fromProtoMsg(message: AuxSignerDataProtoMsg): AuxSignerData {
|
|
2016
|
-
return AuxSignerData.decode(message.value);
|
|
2017
|
-
},
|
|
2018
|
-
toProto(message: AuxSignerData): Uint8Array {
|
|
2019
|
-
return AuxSignerData.encode(message).finish();
|
|
2020
|
-
},
|
|
2021
|
-
toProtoMsg(message: AuxSignerData): AuxSignerDataProtoMsg {
|
|
2022
|
-
return {
|
|
2023
|
-
typeUrl: "/cosmos.tx.v1beta1.AuxSignerData",
|
|
2024
|
-
value: AuxSignerData.encode(message).finish()
|
|
2025
|
-
};
|
|
2026
|
-
}
|
|
2027
|
-
};
|
|
2028
|
-
GlobalDecoderRegistry.register(AuxSignerData.typeUrl, AuxSignerData);
|
|
2029
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(AuxSignerData.aminoType, AuxSignerData.typeUrl);
|