@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,2103 +0,0 @@
|
|
|
1
|
-
import { Any, AnyAmino } from "../../../../google/protobuf/any";
|
|
2
|
-
import { ConnectionEnd, ConnectionEndAmino } from "../../../core/connection/v1/connection";
|
|
3
|
-
import { Channel, ChannelAmino } from "../../../core/channel/v1/channel";
|
|
4
|
-
import { BinaryReader, BinaryWriter } from "../../../../binary";
|
|
5
|
-
import { DeepPartial, bytesFromBase64, base64FromBytes, isSet } from "../../../../helpers";
|
|
6
|
-
import { GlobalDecoderRegistry } from "../../../../registry";
|
|
7
|
-
/**
|
|
8
|
-
* DataType defines the type of solo machine proof being created. This is done
|
|
9
|
-
* to preserve uniqueness of different data sign byte encodings.
|
|
10
|
-
*/
|
|
11
|
-
export enum DataType {
|
|
12
|
-
/** DATA_TYPE_UNINITIALIZED_UNSPECIFIED - Default State */
|
|
13
|
-
DATA_TYPE_UNINITIALIZED_UNSPECIFIED = 0,
|
|
14
|
-
/** DATA_TYPE_CLIENT_STATE - Data type for client state verification */
|
|
15
|
-
DATA_TYPE_CLIENT_STATE = 1,
|
|
16
|
-
/** DATA_TYPE_CONSENSUS_STATE - Data type for consensus state verification */
|
|
17
|
-
DATA_TYPE_CONSENSUS_STATE = 2,
|
|
18
|
-
/** DATA_TYPE_CONNECTION_STATE - Data type for connection state verification */
|
|
19
|
-
DATA_TYPE_CONNECTION_STATE = 3,
|
|
20
|
-
/** DATA_TYPE_CHANNEL_STATE - Data type for channel state verification */
|
|
21
|
-
DATA_TYPE_CHANNEL_STATE = 4,
|
|
22
|
-
/** DATA_TYPE_PACKET_COMMITMENT - Data type for packet commitment verification */
|
|
23
|
-
DATA_TYPE_PACKET_COMMITMENT = 5,
|
|
24
|
-
/** DATA_TYPE_PACKET_ACKNOWLEDGEMENT - Data type for packet acknowledgement verification */
|
|
25
|
-
DATA_TYPE_PACKET_ACKNOWLEDGEMENT = 6,
|
|
26
|
-
/** DATA_TYPE_PACKET_RECEIPT_ABSENCE - Data type for packet receipt absence verification */
|
|
27
|
-
DATA_TYPE_PACKET_RECEIPT_ABSENCE = 7,
|
|
28
|
-
/** DATA_TYPE_NEXT_SEQUENCE_RECV - Data type for next sequence recv verification */
|
|
29
|
-
DATA_TYPE_NEXT_SEQUENCE_RECV = 8,
|
|
30
|
-
/** DATA_TYPE_HEADER - Data type for header verification */
|
|
31
|
-
DATA_TYPE_HEADER = 9,
|
|
32
|
-
UNRECOGNIZED = -1,
|
|
33
|
-
}
|
|
34
|
-
export const DataTypeAmino = DataType;
|
|
35
|
-
export function dataTypeFromJSON(object: any): DataType {
|
|
36
|
-
switch (object) {
|
|
37
|
-
case 0:
|
|
38
|
-
case "DATA_TYPE_UNINITIALIZED_UNSPECIFIED":
|
|
39
|
-
return DataType.DATA_TYPE_UNINITIALIZED_UNSPECIFIED;
|
|
40
|
-
case 1:
|
|
41
|
-
case "DATA_TYPE_CLIENT_STATE":
|
|
42
|
-
return DataType.DATA_TYPE_CLIENT_STATE;
|
|
43
|
-
case 2:
|
|
44
|
-
case "DATA_TYPE_CONSENSUS_STATE":
|
|
45
|
-
return DataType.DATA_TYPE_CONSENSUS_STATE;
|
|
46
|
-
case 3:
|
|
47
|
-
case "DATA_TYPE_CONNECTION_STATE":
|
|
48
|
-
return DataType.DATA_TYPE_CONNECTION_STATE;
|
|
49
|
-
case 4:
|
|
50
|
-
case "DATA_TYPE_CHANNEL_STATE":
|
|
51
|
-
return DataType.DATA_TYPE_CHANNEL_STATE;
|
|
52
|
-
case 5:
|
|
53
|
-
case "DATA_TYPE_PACKET_COMMITMENT":
|
|
54
|
-
return DataType.DATA_TYPE_PACKET_COMMITMENT;
|
|
55
|
-
case 6:
|
|
56
|
-
case "DATA_TYPE_PACKET_ACKNOWLEDGEMENT":
|
|
57
|
-
return DataType.DATA_TYPE_PACKET_ACKNOWLEDGEMENT;
|
|
58
|
-
case 7:
|
|
59
|
-
case "DATA_TYPE_PACKET_RECEIPT_ABSENCE":
|
|
60
|
-
return DataType.DATA_TYPE_PACKET_RECEIPT_ABSENCE;
|
|
61
|
-
case 8:
|
|
62
|
-
case "DATA_TYPE_NEXT_SEQUENCE_RECV":
|
|
63
|
-
return DataType.DATA_TYPE_NEXT_SEQUENCE_RECV;
|
|
64
|
-
case 9:
|
|
65
|
-
case "DATA_TYPE_HEADER":
|
|
66
|
-
return DataType.DATA_TYPE_HEADER;
|
|
67
|
-
case -1:
|
|
68
|
-
case "UNRECOGNIZED":
|
|
69
|
-
default:
|
|
70
|
-
return DataType.UNRECOGNIZED;
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
export function dataTypeToJSON(object: DataType): string {
|
|
74
|
-
switch (object) {
|
|
75
|
-
case DataType.DATA_TYPE_UNINITIALIZED_UNSPECIFIED:
|
|
76
|
-
return "DATA_TYPE_UNINITIALIZED_UNSPECIFIED";
|
|
77
|
-
case DataType.DATA_TYPE_CLIENT_STATE:
|
|
78
|
-
return "DATA_TYPE_CLIENT_STATE";
|
|
79
|
-
case DataType.DATA_TYPE_CONSENSUS_STATE:
|
|
80
|
-
return "DATA_TYPE_CONSENSUS_STATE";
|
|
81
|
-
case DataType.DATA_TYPE_CONNECTION_STATE:
|
|
82
|
-
return "DATA_TYPE_CONNECTION_STATE";
|
|
83
|
-
case DataType.DATA_TYPE_CHANNEL_STATE:
|
|
84
|
-
return "DATA_TYPE_CHANNEL_STATE";
|
|
85
|
-
case DataType.DATA_TYPE_PACKET_COMMITMENT:
|
|
86
|
-
return "DATA_TYPE_PACKET_COMMITMENT";
|
|
87
|
-
case DataType.DATA_TYPE_PACKET_ACKNOWLEDGEMENT:
|
|
88
|
-
return "DATA_TYPE_PACKET_ACKNOWLEDGEMENT";
|
|
89
|
-
case DataType.DATA_TYPE_PACKET_RECEIPT_ABSENCE:
|
|
90
|
-
return "DATA_TYPE_PACKET_RECEIPT_ABSENCE";
|
|
91
|
-
case DataType.DATA_TYPE_NEXT_SEQUENCE_RECV:
|
|
92
|
-
return "DATA_TYPE_NEXT_SEQUENCE_RECV";
|
|
93
|
-
case DataType.DATA_TYPE_HEADER:
|
|
94
|
-
return "DATA_TYPE_HEADER";
|
|
95
|
-
case DataType.UNRECOGNIZED:
|
|
96
|
-
default:
|
|
97
|
-
return "UNRECOGNIZED";
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
/**
|
|
101
|
-
* ClientState defines a solo machine client that tracks the current consensus
|
|
102
|
-
* state and if the client is frozen.
|
|
103
|
-
*/
|
|
104
|
-
export interface ClientState {
|
|
105
|
-
/** latest sequence of the client state */
|
|
106
|
-
sequence: bigint;
|
|
107
|
-
/** frozen sequence of the solo machine */
|
|
108
|
-
isFrozen: boolean;
|
|
109
|
-
consensusState?: ConsensusState;
|
|
110
|
-
/**
|
|
111
|
-
* when set to true, will allow governance to update a solo machine client.
|
|
112
|
-
* The client will be unfrozen if it is frozen.
|
|
113
|
-
*/
|
|
114
|
-
allowUpdateAfterProposal: boolean;
|
|
115
|
-
}
|
|
116
|
-
export interface ClientStateProtoMsg {
|
|
117
|
-
typeUrl: "/ibc.lightclients.solomachine.v2.ClientState";
|
|
118
|
-
value: Uint8Array;
|
|
119
|
-
}
|
|
120
|
-
/**
|
|
121
|
-
* ClientState defines a solo machine client that tracks the current consensus
|
|
122
|
-
* state and if the client is frozen.
|
|
123
|
-
*/
|
|
124
|
-
export interface ClientStateAmino {
|
|
125
|
-
/** latest sequence of the client state */
|
|
126
|
-
sequence: string;
|
|
127
|
-
/** frozen sequence of the solo machine */
|
|
128
|
-
is_frozen: boolean;
|
|
129
|
-
consensus_state?: ConsensusStateAmino;
|
|
130
|
-
/**
|
|
131
|
-
* when set to true, will allow governance to update a solo machine client.
|
|
132
|
-
* The client will be unfrozen if it is frozen.
|
|
133
|
-
*/
|
|
134
|
-
allow_update_after_proposal: boolean;
|
|
135
|
-
}
|
|
136
|
-
export interface ClientStateAminoMsg {
|
|
137
|
-
type: "cosmos-sdk/ClientState";
|
|
138
|
-
value: ClientStateAmino;
|
|
139
|
-
}
|
|
140
|
-
/**
|
|
141
|
-
* ConsensusState defines a solo machine consensus state. The sequence of a
|
|
142
|
-
* consensus state is contained in the "height" key used in storing the
|
|
143
|
-
* consensus state.
|
|
144
|
-
*/
|
|
145
|
-
export interface ConsensusState {
|
|
146
|
-
/** public key of the solo machine */
|
|
147
|
-
publicKey?: Any;
|
|
148
|
-
/**
|
|
149
|
-
* diversifier allows the same public key to be re-used across different solo
|
|
150
|
-
* machine clients (potentially on different chains) without being considered
|
|
151
|
-
* misbehaviour.
|
|
152
|
-
*/
|
|
153
|
-
diversifier: string;
|
|
154
|
-
timestamp: bigint;
|
|
155
|
-
}
|
|
156
|
-
export interface ConsensusStateProtoMsg {
|
|
157
|
-
typeUrl: "/ibc.lightclients.solomachine.v2.ConsensusState";
|
|
158
|
-
value: Uint8Array;
|
|
159
|
-
}
|
|
160
|
-
/**
|
|
161
|
-
* ConsensusState defines a solo machine consensus state. The sequence of a
|
|
162
|
-
* consensus state is contained in the "height" key used in storing the
|
|
163
|
-
* consensus state.
|
|
164
|
-
*/
|
|
165
|
-
export interface ConsensusStateAmino {
|
|
166
|
-
/** public key of the solo machine */
|
|
167
|
-
public_key?: AnyAmino;
|
|
168
|
-
/**
|
|
169
|
-
* diversifier allows the same public key to be re-used across different solo
|
|
170
|
-
* machine clients (potentially on different chains) without being considered
|
|
171
|
-
* misbehaviour.
|
|
172
|
-
*/
|
|
173
|
-
diversifier: string;
|
|
174
|
-
timestamp: string;
|
|
175
|
-
}
|
|
176
|
-
export interface ConsensusStateAminoMsg {
|
|
177
|
-
type: "cosmos-sdk/ConsensusState";
|
|
178
|
-
value: ConsensusStateAmino;
|
|
179
|
-
}
|
|
180
|
-
/** Header defines a solo machine consensus header */
|
|
181
|
-
export interface Header {
|
|
182
|
-
/** sequence to update solo machine public key at */
|
|
183
|
-
sequence: bigint;
|
|
184
|
-
timestamp: bigint;
|
|
185
|
-
signature: Uint8Array;
|
|
186
|
-
newPublicKey?: Any;
|
|
187
|
-
newDiversifier: string;
|
|
188
|
-
}
|
|
189
|
-
export interface HeaderProtoMsg {
|
|
190
|
-
typeUrl: "/ibc.lightclients.solomachine.v2.Header";
|
|
191
|
-
value: Uint8Array;
|
|
192
|
-
}
|
|
193
|
-
/** Header defines a solo machine consensus header */
|
|
194
|
-
export interface HeaderAmino {
|
|
195
|
-
/** sequence to update solo machine public key at */
|
|
196
|
-
sequence: string;
|
|
197
|
-
timestamp: string;
|
|
198
|
-
signature: string;
|
|
199
|
-
new_public_key?: AnyAmino;
|
|
200
|
-
new_diversifier: string;
|
|
201
|
-
}
|
|
202
|
-
export interface HeaderAminoMsg {
|
|
203
|
-
type: "cosmos-sdk/Header";
|
|
204
|
-
value: HeaderAmino;
|
|
205
|
-
}
|
|
206
|
-
/**
|
|
207
|
-
* Misbehaviour defines misbehaviour for a solo machine which consists
|
|
208
|
-
* of a sequence and two signatures over different messages at that sequence.
|
|
209
|
-
*/
|
|
210
|
-
export interface Misbehaviour {
|
|
211
|
-
clientId: string;
|
|
212
|
-
sequence: bigint;
|
|
213
|
-
signatureOne?: SignatureAndData;
|
|
214
|
-
signatureTwo?: SignatureAndData;
|
|
215
|
-
}
|
|
216
|
-
export interface MisbehaviourProtoMsg {
|
|
217
|
-
typeUrl: "/ibc.lightclients.solomachine.v2.Misbehaviour";
|
|
218
|
-
value: Uint8Array;
|
|
219
|
-
}
|
|
220
|
-
/**
|
|
221
|
-
* Misbehaviour defines misbehaviour for a solo machine which consists
|
|
222
|
-
* of a sequence and two signatures over different messages at that sequence.
|
|
223
|
-
*/
|
|
224
|
-
export interface MisbehaviourAmino {
|
|
225
|
-
client_id: string;
|
|
226
|
-
sequence: string;
|
|
227
|
-
signature_one?: SignatureAndDataAmino;
|
|
228
|
-
signature_two?: SignatureAndDataAmino;
|
|
229
|
-
}
|
|
230
|
-
export interface MisbehaviourAminoMsg {
|
|
231
|
-
type: "cosmos-sdk/Misbehaviour";
|
|
232
|
-
value: MisbehaviourAmino;
|
|
233
|
-
}
|
|
234
|
-
/**
|
|
235
|
-
* SignatureAndData contains a signature and the data signed over to create that
|
|
236
|
-
* signature.
|
|
237
|
-
*/
|
|
238
|
-
export interface SignatureAndData {
|
|
239
|
-
signature: Uint8Array;
|
|
240
|
-
dataType: DataType;
|
|
241
|
-
data: Uint8Array;
|
|
242
|
-
timestamp: bigint;
|
|
243
|
-
}
|
|
244
|
-
export interface SignatureAndDataProtoMsg {
|
|
245
|
-
typeUrl: "/ibc.lightclients.solomachine.v2.SignatureAndData";
|
|
246
|
-
value: Uint8Array;
|
|
247
|
-
}
|
|
248
|
-
/**
|
|
249
|
-
* SignatureAndData contains a signature and the data signed over to create that
|
|
250
|
-
* signature.
|
|
251
|
-
*/
|
|
252
|
-
export interface SignatureAndDataAmino {
|
|
253
|
-
signature: string;
|
|
254
|
-
data_type: DataType;
|
|
255
|
-
data: string;
|
|
256
|
-
timestamp: string;
|
|
257
|
-
}
|
|
258
|
-
export interface SignatureAndDataAminoMsg {
|
|
259
|
-
type: "cosmos-sdk/SignatureAndData";
|
|
260
|
-
value: SignatureAndDataAmino;
|
|
261
|
-
}
|
|
262
|
-
/**
|
|
263
|
-
* TimestampedSignatureData contains the signature data and the timestamp of the
|
|
264
|
-
* signature.
|
|
265
|
-
*/
|
|
266
|
-
export interface TimestampedSignatureData {
|
|
267
|
-
signatureData: Uint8Array;
|
|
268
|
-
timestamp: bigint;
|
|
269
|
-
}
|
|
270
|
-
export interface TimestampedSignatureDataProtoMsg {
|
|
271
|
-
typeUrl: "/ibc.lightclients.solomachine.v2.TimestampedSignatureData";
|
|
272
|
-
value: Uint8Array;
|
|
273
|
-
}
|
|
274
|
-
/**
|
|
275
|
-
* TimestampedSignatureData contains the signature data and the timestamp of the
|
|
276
|
-
* signature.
|
|
277
|
-
*/
|
|
278
|
-
export interface TimestampedSignatureDataAmino {
|
|
279
|
-
signature_data: string;
|
|
280
|
-
timestamp: string;
|
|
281
|
-
}
|
|
282
|
-
export interface TimestampedSignatureDataAminoMsg {
|
|
283
|
-
type: "cosmos-sdk/TimestampedSignatureData";
|
|
284
|
-
value: TimestampedSignatureDataAmino;
|
|
285
|
-
}
|
|
286
|
-
/** SignBytes defines the signed bytes used for signature verification. */
|
|
287
|
-
export interface SignBytes {
|
|
288
|
-
sequence: bigint;
|
|
289
|
-
timestamp: bigint;
|
|
290
|
-
diversifier: string;
|
|
291
|
-
/** type of the data used */
|
|
292
|
-
dataType: DataType;
|
|
293
|
-
/** marshaled data */
|
|
294
|
-
data: Uint8Array;
|
|
295
|
-
}
|
|
296
|
-
export interface SignBytesProtoMsg {
|
|
297
|
-
typeUrl: "/ibc.lightclients.solomachine.v2.SignBytes";
|
|
298
|
-
value: Uint8Array;
|
|
299
|
-
}
|
|
300
|
-
/** SignBytes defines the signed bytes used for signature verification. */
|
|
301
|
-
export interface SignBytesAmino {
|
|
302
|
-
sequence: string;
|
|
303
|
-
timestamp: string;
|
|
304
|
-
diversifier: string;
|
|
305
|
-
/** type of the data used */
|
|
306
|
-
data_type: DataType;
|
|
307
|
-
/** marshaled data */
|
|
308
|
-
data: string;
|
|
309
|
-
}
|
|
310
|
-
export interface SignBytesAminoMsg {
|
|
311
|
-
type: "cosmos-sdk/SignBytes";
|
|
312
|
-
value: SignBytesAmino;
|
|
313
|
-
}
|
|
314
|
-
/** HeaderData returns the SignBytes data for update verification. */
|
|
315
|
-
export interface HeaderData {
|
|
316
|
-
/** header public key */
|
|
317
|
-
newPubKey?: Any;
|
|
318
|
-
/** header diversifier */
|
|
319
|
-
newDiversifier: string;
|
|
320
|
-
}
|
|
321
|
-
export interface HeaderDataProtoMsg {
|
|
322
|
-
typeUrl: "/ibc.lightclients.solomachine.v2.HeaderData";
|
|
323
|
-
value: Uint8Array;
|
|
324
|
-
}
|
|
325
|
-
/** HeaderData returns the SignBytes data for update verification. */
|
|
326
|
-
export interface HeaderDataAmino {
|
|
327
|
-
/** header public key */
|
|
328
|
-
new_pub_key?: AnyAmino;
|
|
329
|
-
/** header diversifier */
|
|
330
|
-
new_diversifier: string;
|
|
331
|
-
}
|
|
332
|
-
export interface HeaderDataAminoMsg {
|
|
333
|
-
type: "cosmos-sdk/HeaderData";
|
|
334
|
-
value: HeaderDataAmino;
|
|
335
|
-
}
|
|
336
|
-
/** ClientStateData returns the SignBytes data for client state verification. */
|
|
337
|
-
export interface ClientStateData {
|
|
338
|
-
path: Uint8Array;
|
|
339
|
-
clientState?: Any;
|
|
340
|
-
}
|
|
341
|
-
export interface ClientStateDataProtoMsg {
|
|
342
|
-
typeUrl: "/ibc.lightclients.solomachine.v2.ClientStateData";
|
|
343
|
-
value: Uint8Array;
|
|
344
|
-
}
|
|
345
|
-
/** ClientStateData returns the SignBytes data for client state verification. */
|
|
346
|
-
export interface ClientStateDataAmino {
|
|
347
|
-
path: string;
|
|
348
|
-
client_state?: AnyAmino;
|
|
349
|
-
}
|
|
350
|
-
export interface ClientStateDataAminoMsg {
|
|
351
|
-
type: "cosmos-sdk/ClientStateData";
|
|
352
|
-
value: ClientStateDataAmino;
|
|
353
|
-
}
|
|
354
|
-
/**
|
|
355
|
-
* ConsensusStateData returns the SignBytes data for consensus state
|
|
356
|
-
* verification.
|
|
357
|
-
*/
|
|
358
|
-
export interface ConsensusStateData {
|
|
359
|
-
path: Uint8Array;
|
|
360
|
-
consensusState?: Any;
|
|
361
|
-
}
|
|
362
|
-
export interface ConsensusStateDataProtoMsg {
|
|
363
|
-
typeUrl: "/ibc.lightclients.solomachine.v2.ConsensusStateData";
|
|
364
|
-
value: Uint8Array;
|
|
365
|
-
}
|
|
366
|
-
/**
|
|
367
|
-
* ConsensusStateData returns the SignBytes data for consensus state
|
|
368
|
-
* verification.
|
|
369
|
-
*/
|
|
370
|
-
export interface ConsensusStateDataAmino {
|
|
371
|
-
path: string;
|
|
372
|
-
consensus_state?: AnyAmino;
|
|
373
|
-
}
|
|
374
|
-
export interface ConsensusStateDataAminoMsg {
|
|
375
|
-
type: "cosmos-sdk/ConsensusStateData";
|
|
376
|
-
value: ConsensusStateDataAmino;
|
|
377
|
-
}
|
|
378
|
-
/**
|
|
379
|
-
* ConnectionStateData returns the SignBytes data for connection state
|
|
380
|
-
* verification.
|
|
381
|
-
*/
|
|
382
|
-
export interface ConnectionStateData {
|
|
383
|
-
path: Uint8Array;
|
|
384
|
-
connection?: ConnectionEnd;
|
|
385
|
-
}
|
|
386
|
-
export interface ConnectionStateDataProtoMsg {
|
|
387
|
-
typeUrl: "/ibc.lightclients.solomachine.v2.ConnectionStateData";
|
|
388
|
-
value: Uint8Array;
|
|
389
|
-
}
|
|
390
|
-
/**
|
|
391
|
-
* ConnectionStateData returns the SignBytes data for connection state
|
|
392
|
-
* verification.
|
|
393
|
-
*/
|
|
394
|
-
export interface ConnectionStateDataAmino {
|
|
395
|
-
path: string;
|
|
396
|
-
connection?: ConnectionEndAmino;
|
|
397
|
-
}
|
|
398
|
-
export interface ConnectionStateDataAminoMsg {
|
|
399
|
-
type: "cosmos-sdk/ConnectionStateData";
|
|
400
|
-
value: ConnectionStateDataAmino;
|
|
401
|
-
}
|
|
402
|
-
/**
|
|
403
|
-
* ChannelStateData returns the SignBytes data for channel state
|
|
404
|
-
* verification.
|
|
405
|
-
*/
|
|
406
|
-
export interface ChannelStateData {
|
|
407
|
-
path: Uint8Array;
|
|
408
|
-
channel?: Channel;
|
|
409
|
-
}
|
|
410
|
-
export interface ChannelStateDataProtoMsg {
|
|
411
|
-
typeUrl: "/ibc.lightclients.solomachine.v2.ChannelStateData";
|
|
412
|
-
value: Uint8Array;
|
|
413
|
-
}
|
|
414
|
-
/**
|
|
415
|
-
* ChannelStateData returns the SignBytes data for channel state
|
|
416
|
-
* verification.
|
|
417
|
-
*/
|
|
418
|
-
export interface ChannelStateDataAmino {
|
|
419
|
-
path: string;
|
|
420
|
-
channel?: ChannelAmino;
|
|
421
|
-
}
|
|
422
|
-
export interface ChannelStateDataAminoMsg {
|
|
423
|
-
type: "cosmos-sdk/ChannelStateData";
|
|
424
|
-
value: ChannelStateDataAmino;
|
|
425
|
-
}
|
|
426
|
-
/**
|
|
427
|
-
* PacketCommitmentData returns the SignBytes data for packet commitment
|
|
428
|
-
* verification.
|
|
429
|
-
*/
|
|
430
|
-
export interface PacketCommitmentData {
|
|
431
|
-
path: Uint8Array;
|
|
432
|
-
commitment: Uint8Array;
|
|
433
|
-
}
|
|
434
|
-
export interface PacketCommitmentDataProtoMsg {
|
|
435
|
-
typeUrl: "/ibc.lightclients.solomachine.v2.PacketCommitmentData";
|
|
436
|
-
value: Uint8Array;
|
|
437
|
-
}
|
|
438
|
-
/**
|
|
439
|
-
* PacketCommitmentData returns the SignBytes data for packet commitment
|
|
440
|
-
* verification.
|
|
441
|
-
*/
|
|
442
|
-
export interface PacketCommitmentDataAmino {
|
|
443
|
-
path: string;
|
|
444
|
-
commitment: string;
|
|
445
|
-
}
|
|
446
|
-
export interface PacketCommitmentDataAminoMsg {
|
|
447
|
-
type: "cosmos-sdk/PacketCommitmentData";
|
|
448
|
-
value: PacketCommitmentDataAmino;
|
|
449
|
-
}
|
|
450
|
-
/**
|
|
451
|
-
* PacketAcknowledgementData returns the SignBytes data for acknowledgement
|
|
452
|
-
* verification.
|
|
453
|
-
*/
|
|
454
|
-
export interface PacketAcknowledgementData {
|
|
455
|
-
path: Uint8Array;
|
|
456
|
-
acknowledgement: Uint8Array;
|
|
457
|
-
}
|
|
458
|
-
export interface PacketAcknowledgementDataProtoMsg {
|
|
459
|
-
typeUrl: "/ibc.lightclients.solomachine.v2.PacketAcknowledgementData";
|
|
460
|
-
value: Uint8Array;
|
|
461
|
-
}
|
|
462
|
-
/**
|
|
463
|
-
* PacketAcknowledgementData returns the SignBytes data for acknowledgement
|
|
464
|
-
* verification.
|
|
465
|
-
*/
|
|
466
|
-
export interface PacketAcknowledgementDataAmino {
|
|
467
|
-
path: string;
|
|
468
|
-
acknowledgement: string;
|
|
469
|
-
}
|
|
470
|
-
export interface PacketAcknowledgementDataAminoMsg {
|
|
471
|
-
type: "cosmos-sdk/PacketAcknowledgementData";
|
|
472
|
-
value: PacketAcknowledgementDataAmino;
|
|
473
|
-
}
|
|
474
|
-
/**
|
|
475
|
-
* PacketReceiptAbsenceData returns the SignBytes data for
|
|
476
|
-
* packet receipt absence verification.
|
|
477
|
-
*/
|
|
478
|
-
export interface PacketReceiptAbsenceData {
|
|
479
|
-
path: Uint8Array;
|
|
480
|
-
}
|
|
481
|
-
export interface PacketReceiptAbsenceDataProtoMsg {
|
|
482
|
-
typeUrl: "/ibc.lightclients.solomachine.v2.PacketReceiptAbsenceData";
|
|
483
|
-
value: Uint8Array;
|
|
484
|
-
}
|
|
485
|
-
/**
|
|
486
|
-
* PacketReceiptAbsenceData returns the SignBytes data for
|
|
487
|
-
* packet receipt absence verification.
|
|
488
|
-
*/
|
|
489
|
-
export interface PacketReceiptAbsenceDataAmino {
|
|
490
|
-
path: string;
|
|
491
|
-
}
|
|
492
|
-
export interface PacketReceiptAbsenceDataAminoMsg {
|
|
493
|
-
type: "cosmos-sdk/PacketReceiptAbsenceData";
|
|
494
|
-
value: PacketReceiptAbsenceDataAmino;
|
|
495
|
-
}
|
|
496
|
-
/**
|
|
497
|
-
* NextSequenceRecvData returns the SignBytes data for verification of the next
|
|
498
|
-
* sequence to be received.
|
|
499
|
-
*/
|
|
500
|
-
export interface NextSequenceRecvData {
|
|
501
|
-
path: Uint8Array;
|
|
502
|
-
nextSeqRecv: bigint;
|
|
503
|
-
}
|
|
504
|
-
export interface NextSequenceRecvDataProtoMsg {
|
|
505
|
-
typeUrl: "/ibc.lightclients.solomachine.v2.NextSequenceRecvData";
|
|
506
|
-
value: Uint8Array;
|
|
507
|
-
}
|
|
508
|
-
/**
|
|
509
|
-
* NextSequenceRecvData returns the SignBytes data for verification of the next
|
|
510
|
-
* sequence to be received.
|
|
511
|
-
*/
|
|
512
|
-
export interface NextSequenceRecvDataAmino {
|
|
513
|
-
path: string;
|
|
514
|
-
next_seq_recv: string;
|
|
515
|
-
}
|
|
516
|
-
export interface NextSequenceRecvDataAminoMsg {
|
|
517
|
-
type: "cosmos-sdk/NextSequenceRecvData";
|
|
518
|
-
value: NextSequenceRecvDataAmino;
|
|
519
|
-
}
|
|
520
|
-
function createBaseClientState(): ClientState {
|
|
521
|
-
return {
|
|
522
|
-
sequence: BigInt(0),
|
|
523
|
-
isFrozen: false,
|
|
524
|
-
consensusState: undefined,
|
|
525
|
-
allowUpdateAfterProposal: false
|
|
526
|
-
};
|
|
527
|
-
}
|
|
528
|
-
export const ClientState = {
|
|
529
|
-
typeUrl: "/ibc.lightclients.solomachine.v2.ClientState",
|
|
530
|
-
aminoType: "cosmos-sdk/ClientState",
|
|
531
|
-
is(o: any): o is ClientState {
|
|
532
|
-
return o && (o.$typeUrl === ClientState.typeUrl || typeof o.sequence === "bigint" && typeof o.isFrozen === "boolean" && typeof o.allowUpdateAfterProposal === "boolean");
|
|
533
|
-
},
|
|
534
|
-
isAmino(o: any): o is ClientStateAmino {
|
|
535
|
-
return o && (o.$typeUrl === ClientState.typeUrl || typeof o.sequence === "bigint" && typeof o.is_frozen === "boolean" && typeof o.allow_update_after_proposal === "boolean");
|
|
536
|
-
},
|
|
537
|
-
encode(message: ClientState, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
538
|
-
if (message.sequence !== BigInt(0)) {
|
|
539
|
-
writer.uint32(8).uint64(message.sequence);
|
|
540
|
-
}
|
|
541
|
-
if (message.isFrozen === true) {
|
|
542
|
-
writer.uint32(16).bool(message.isFrozen);
|
|
543
|
-
}
|
|
544
|
-
if (message.consensusState !== undefined) {
|
|
545
|
-
ConsensusState.encode(message.consensusState, writer.uint32(26).fork()).ldelim();
|
|
546
|
-
}
|
|
547
|
-
if (message.allowUpdateAfterProposal === true) {
|
|
548
|
-
writer.uint32(32).bool(message.allowUpdateAfterProposal);
|
|
549
|
-
}
|
|
550
|
-
return writer;
|
|
551
|
-
},
|
|
552
|
-
decode(input: BinaryReader | Uint8Array, length?: number): ClientState {
|
|
553
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
554
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
555
|
-
const message = createBaseClientState();
|
|
556
|
-
while (reader.pos < end) {
|
|
557
|
-
const tag = reader.uint32();
|
|
558
|
-
switch (tag >>> 3) {
|
|
559
|
-
case 1:
|
|
560
|
-
message.sequence = reader.uint64();
|
|
561
|
-
break;
|
|
562
|
-
case 2:
|
|
563
|
-
message.isFrozen = reader.bool();
|
|
564
|
-
break;
|
|
565
|
-
case 3:
|
|
566
|
-
message.consensusState = ConsensusState.decode(reader, reader.uint32());
|
|
567
|
-
break;
|
|
568
|
-
case 4:
|
|
569
|
-
message.allowUpdateAfterProposal = reader.bool();
|
|
570
|
-
break;
|
|
571
|
-
default:
|
|
572
|
-
reader.skipType(tag & 7);
|
|
573
|
-
break;
|
|
574
|
-
}
|
|
575
|
-
}
|
|
576
|
-
return message;
|
|
577
|
-
},
|
|
578
|
-
fromPartial(object: DeepPartial<ClientState>): ClientState {
|
|
579
|
-
const message = createBaseClientState();
|
|
580
|
-
message.sequence = object.sequence !== undefined && object.sequence !== null ? BigInt(object.sequence.toString()) : BigInt(0);
|
|
581
|
-
message.isFrozen = object.isFrozen ?? false;
|
|
582
|
-
message.consensusState = object.consensusState !== undefined && object.consensusState !== null ? ConsensusState.fromPartial(object.consensusState) : undefined;
|
|
583
|
-
message.allowUpdateAfterProposal = object.allowUpdateAfterProposal ?? false;
|
|
584
|
-
return message;
|
|
585
|
-
},
|
|
586
|
-
fromAmino(object: ClientStateAmino): ClientState {
|
|
587
|
-
const message = createBaseClientState();
|
|
588
|
-
if (object.sequence !== undefined && object.sequence !== null) {
|
|
589
|
-
message.sequence = BigInt(object.sequence);
|
|
590
|
-
}
|
|
591
|
-
if (object.is_frozen !== undefined && object.is_frozen !== null) {
|
|
592
|
-
message.isFrozen = object.is_frozen;
|
|
593
|
-
}
|
|
594
|
-
if (object.consensus_state !== undefined && object.consensus_state !== null) {
|
|
595
|
-
message.consensusState = ConsensusState.fromAmino(object.consensus_state);
|
|
596
|
-
}
|
|
597
|
-
if (object.allow_update_after_proposal !== undefined && object.allow_update_after_proposal !== null) {
|
|
598
|
-
message.allowUpdateAfterProposal = object.allow_update_after_proposal;
|
|
599
|
-
}
|
|
600
|
-
return message;
|
|
601
|
-
},
|
|
602
|
-
toAmino(message: ClientState): ClientStateAmino {
|
|
603
|
-
const obj: any = {};
|
|
604
|
-
obj.sequence = message.sequence !== BigInt(0) ? message.sequence?.toString() : undefined;
|
|
605
|
-
obj.is_frozen = message.isFrozen === false ? undefined : message.isFrozen;
|
|
606
|
-
obj.consensus_state = message.consensusState ? ConsensusState.toAmino(message.consensusState) : undefined;
|
|
607
|
-
obj.allow_update_after_proposal = message.allowUpdateAfterProposal === false ? undefined : message.allowUpdateAfterProposal;
|
|
608
|
-
return obj;
|
|
609
|
-
},
|
|
610
|
-
fromAminoMsg(object: ClientStateAminoMsg): ClientState {
|
|
611
|
-
return ClientState.fromAmino(object.value);
|
|
612
|
-
},
|
|
613
|
-
toAminoMsg(message: ClientState): ClientStateAminoMsg {
|
|
614
|
-
return {
|
|
615
|
-
type: "cosmos-sdk/ClientState",
|
|
616
|
-
value: ClientState.toAmino(message)
|
|
617
|
-
};
|
|
618
|
-
},
|
|
619
|
-
fromProtoMsg(message: ClientStateProtoMsg): ClientState {
|
|
620
|
-
return ClientState.decode(message.value);
|
|
621
|
-
},
|
|
622
|
-
toProto(message: ClientState): Uint8Array {
|
|
623
|
-
return ClientState.encode(message).finish();
|
|
624
|
-
},
|
|
625
|
-
toProtoMsg(message: ClientState): ClientStateProtoMsg {
|
|
626
|
-
return {
|
|
627
|
-
typeUrl: "/ibc.lightclients.solomachine.v2.ClientState",
|
|
628
|
-
value: ClientState.encode(message).finish()
|
|
629
|
-
};
|
|
630
|
-
}
|
|
631
|
-
};
|
|
632
|
-
GlobalDecoderRegistry.register(ClientState.typeUrl, ClientState);
|
|
633
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(ClientState.aminoType, ClientState.typeUrl);
|
|
634
|
-
function createBaseConsensusState(): ConsensusState {
|
|
635
|
-
return {
|
|
636
|
-
publicKey: undefined,
|
|
637
|
-
diversifier: "",
|
|
638
|
-
timestamp: BigInt(0)
|
|
639
|
-
};
|
|
640
|
-
}
|
|
641
|
-
export const ConsensusState = {
|
|
642
|
-
typeUrl: "/ibc.lightclients.solomachine.v2.ConsensusState",
|
|
643
|
-
aminoType: "cosmos-sdk/ConsensusState",
|
|
644
|
-
is(o: any): o is ConsensusState {
|
|
645
|
-
return o && (o.$typeUrl === ConsensusState.typeUrl || typeof o.diversifier === "string" && typeof o.timestamp === "bigint");
|
|
646
|
-
},
|
|
647
|
-
isAmino(o: any): o is ConsensusStateAmino {
|
|
648
|
-
return o && (o.$typeUrl === ConsensusState.typeUrl || typeof o.diversifier === "string" && typeof o.timestamp === "bigint");
|
|
649
|
-
},
|
|
650
|
-
encode(message: ConsensusState, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
651
|
-
if (message.publicKey !== undefined) {
|
|
652
|
-
Any.encode(message.publicKey, writer.uint32(10).fork()).ldelim();
|
|
653
|
-
}
|
|
654
|
-
if (message.diversifier !== "") {
|
|
655
|
-
writer.uint32(18).string(message.diversifier);
|
|
656
|
-
}
|
|
657
|
-
if (message.timestamp !== BigInt(0)) {
|
|
658
|
-
writer.uint32(24).uint64(message.timestamp);
|
|
659
|
-
}
|
|
660
|
-
return writer;
|
|
661
|
-
},
|
|
662
|
-
decode(input: BinaryReader | Uint8Array, length?: number): ConsensusState {
|
|
663
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
664
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
665
|
-
const message = createBaseConsensusState();
|
|
666
|
-
while (reader.pos < end) {
|
|
667
|
-
const tag = reader.uint32();
|
|
668
|
-
switch (tag >>> 3) {
|
|
669
|
-
case 1:
|
|
670
|
-
message.publicKey = Any.decode(reader, reader.uint32());
|
|
671
|
-
break;
|
|
672
|
-
case 2:
|
|
673
|
-
message.diversifier = reader.string();
|
|
674
|
-
break;
|
|
675
|
-
case 3:
|
|
676
|
-
message.timestamp = reader.uint64();
|
|
677
|
-
break;
|
|
678
|
-
default:
|
|
679
|
-
reader.skipType(tag & 7);
|
|
680
|
-
break;
|
|
681
|
-
}
|
|
682
|
-
}
|
|
683
|
-
return message;
|
|
684
|
-
},
|
|
685
|
-
fromPartial(object: DeepPartial<ConsensusState>): ConsensusState {
|
|
686
|
-
const message = createBaseConsensusState();
|
|
687
|
-
message.publicKey = object.publicKey !== undefined && object.publicKey !== null ? Any.fromPartial(object.publicKey) : undefined;
|
|
688
|
-
message.diversifier = object.diversifier ?? "";
|
|
689
|
-
message.timestamp = object.timestamp !== undefined && object.timestamp !== null ? BigInt(object.timestamp.toString()) : BigInt(0);
|
|
690
|
-
return message;
|
|
691
|
-
},
|
|
692
|
-
fromAmino(object: ConsensusStateAmino): ConsensusState {
|
|
693
|
-
const message = createBaseConsensusState();
|
|
694
|
-
if (object.public_key !== undefined && object.public_key !== null) {
|
|
695
|
-
message.publicKey = Any.fromAmino(object.public_key);
|
|
696
|
-
}
|
|
697
|
-
if (object.diversifier !== undefined && object.diversifier !== null) {
|
|
698
|
-
message.diversifier = object.diversifier;
|
|
699
|
-
}
|
|
700
|
-
if (object.timestamp !== undefined && object.timestamp !== null) {
|
|
701
|
-
message.timestamp = BigInt(object.timestamp);
|
|
702
|
-
}
|
|
703
|
-
return message;
|
|
704
|
-
},
|
|
705
|
-
toAmino(message: ConsensusState): ConsensusStateAmino {
|
|
706
|
-
const obj: any = {};
|
|
707
|
-
obj.public_key = message.publicKey ? Any.toAmino(message.publicKey) : undefined;
|
|
708
|
-
obj.diversifier = message.diversifier === "" ? undefined : message.diversifier;
|
|
709
|
-
obj.timestamp = message.timestamp !== BigInt(0) ? message.timestamp?.toString() : undefined;
|
|
710
|
-
return obj;
|
|
711
|
-
},
|
|
712
|
-
fromAminoMsg(object: ConsensusStateAminoMsg): ConsensusState {
|
|
713
|
-
return ConsensusState.fromAmino(object.value);
|
|
714
|
-
},
|
|
715
|
-
toAminoMsg(message: ConsensusState): ConsensusStateAminoMsg {
|
|
716
|
-
return {
|
|
717
|
-
type: "cosmos-sdk/ConsensusState",
|
|
718
|
-
value: ConsensusState.toAmino(message)
|
|
719
|
-
};
|
|
720
|
-
},
|
|
721
|
-
fromProtoMsg(message: ConsensusStateProtoMsg): ConsensusState {
|
|
722
|
-
return ConsensusState.decode(message.value);
|
|
723
|
-
},
|
|
724
|
-
toProto(message: ConsensusState): Uint8Array {
|
|
725
|
-
return ConsensusState.encode(message).finish();
|
|
726
|
-
},
|
|
727
|
-
toProtoMsg(message: ConsensusState): ConsensusStateProtoMsg {
|
|
728
|
-
return {
|
|
729
|
-
typeUrl: "/ibc.lightclients.solomachine.v2.ConsensusState",
|
|
730
|
-
value: ConsensusState.encode(message).finish()
|
|
731
|
-
};
|
|
732
|
-
}
|
|
733
|
-
};
|
|
734
|
-
GlobalDecoderRegistry.register(ConsensusState.typeUrl, ConsensusState);
|
|
735
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(ConsensusState.aminoType, ConsensusState.typeUrl);
|
|
736
|
-
function createBaseHeader(): Header {
|
|
737
|
-
return {
|
|
738
|
-
sequence: BigInt(0),
|
|
739
|
-
timestamp: BigInt(0),
|
|
740
|
-
signature: new Uint8Array(),
|
|
741
|
-
newPublicKey: undefined,
|
|
742
|
-
newDiversifier: ""
|
|
743
|
-
};
|
|
744
|
-
}
|
|
745
|
-
export const Header = {
|
|
746
|
-
typeUrl: "/ibc.lightclients.solomachine.v2.Header",
|
|
747
|
-
aminoType: "cosmos-sdk/Header",
|
|
748
|
-
is(o: any): o is Header {
|
|
749
|
-
return o && (o.$typeUrl === Header.typeUrl || typeof o.sequence === "bigint" && typeof o.timestamp === "bigint" && (o.signature instanceof Uint8Array || typeof o.signature === "string") && typeof o.newDiversifier === "string");
|
|
750
|
-
},
|
|
751
|
-
isAmino(o: any): o is HeaderAmino {
|
|
752
|
-
return o && (o.$typeUrl === Header.typeUrl || typeof o.sequence === "bigint" && typeof o.timestamp === "bigint" && (o.signature instanceof Uint8Array || typeof o.signature === "string") && typeof o.new_diversifier === "string");
|
|
753
|
-
},
|
|
754
|
-
encode(message: Header, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
755
|
-
if (message.sequence !== BigInt(0)) {
|
|
756
|
-
writer.uint32(8).uint64(message.sequence);
|
|
757
|
-
}
|
|
758
|
-
if (message.timestamp !== BigInt(0)) {
|
|
759
|
-
writer.uint32(16).uint64(message.timestamp);
|
|
760
|
-
}
|
|
761
|
-
if (message.signature.length !== 0) {
|
|
762
|
-
writer.uint32(26).bytes(message.signature);
|
|
763
|
-
}
|
|
764
|
-
if (message.newPublicKey !== undefined) {
|
|
765
|
-
Any.encode(message.newPublicKey, writer.uint32(34).fork()).ldelim();
|
|
766
|
-
}
|
|
767
|
-
if (message.newDiversifier !== "") {
|
|
768
|
-
writer.uint32(42).string(message.newDiversifier);
|
|
769
|
-
}
|
|
770
|
-
return writer;
|
|
771
|
-
},
|
|
772
|
-
decode(input: BinaryReader | Uint8Array, length?: number): Header {
|
|
773
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
774
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
775
|
-
const message = createBaseHeader();
|
|
776
|
-
while (reader.pos < end) {
|
|
777
|
-
const tag = reader.uint32();
|
|
778
|
-
switch (tag >>> 3) {
|
|
779
|
-
case 1:
|
|
780
|
-
message.sequence = reader.uint64();
|
|
781
|
-
break;
|
|
782
|
-
case 2:
|
|
783
|
-
message.timestamp = reader.uint64();
|
|
784
|
-
break;
|
|
785
|
-
case 3:
|
|
786
|
-
message.signature = reader.bytes();
|
|
787
|
-
break;
|
|
788
|
-
case 4:
|
|
789
|
-
message.newPublicKey = Any.decode(reader, reader.uint32());
|
|
790
|
-
break;
|
|
791
|
-
case 5:
|
|
792
|
-
message.newDiversifier = reader.string();
|
|
793
|
-
break;
|
|
794
|
-
default:
|
|
795
|
-
reader.skipType(tag & 7);
|
|
796
|
-
break;
|
|
797
|
-
}
|
|
798
|
-
}
|
|
799
|
-
return message;
|
|
800
|
-
},
|
|
801
|
-
fromPartial(object: DeepPartial<Header>): Header {
|
|
802
|
-
const message = createBaseHeader();
|
|
803
|
-
message.sequence = object.sequence !== undefined && object.sequence !== null ? BigInt(object.sequence.toString()) : BigInt(0);
|
|
804
|
-
message.timestamp = object.timestamp !== undefined && object.timestamp !== null ? BigInt(object.timestamp.toString()) : BigInt(0);
|
|
805
|
-
message.signature = object.signature ?? new Uint8Array();
|
|
806
|
-
message.newPublicKey = object.newPublicKey !== undefined && object.newPublicKey !== null ? Any.fromPartial(object.newPublicKey) : undefined;
|
|
807
|
-
message.newDiversifier = object.newDiversifier ?? "";
|
|
808
|
-
return message;
|
|
809
|
-
},
|
|
810
|
-
fromAmino(object: HeaderAmino): Header {
|
|
811
|
-
const message = createBaseHeader();
|
|
812
|
-
if (object.sequence !== undefined && object.sequence !== null) {
|
|
813
|
-
message.sequence = BigInt(object.sequence);
|
|
814
|
-
}
|
|
815
|
-
if (object.timestamp !== undefined && object.timestamp !== null) {
|
|
816
|
-
message.timestamp = BigInt(object.timestamp);
|
|
817
|
-
}
|
|
818
|
-
if (object.signature !== undefined && object.signature !== null) {
|
|
819
|
-
message.signature = bytesFromBase64(object.signature);
|
|
820
|
-
}
|
|
821
|
-
if (object.new_public_key !== undefined && object.new_public_key !== null) {
|
|
822
|
-
message.newPublicKey = Any.fromAmino(object.new_public_key);
|
|
823
|
-
}
|
|
824
|
-
if (object.new_diversifier !== undefined && object.new_diversifier !== null) {
|
|
825
|
-
message.newDiversifier = object.new_diversifier;
|
|
826
|
-
}
|
|
827
|
-
return message;
|
|
828
|
-
},
|
|
829
|
-
toAmino(message: Header): HeaderAmino {
|
|
830
|
-
const obj: any = {};
|
|
831
|
-
obj.sequence = message.sequence !== BigInt(0) ? message.sequence?.toString() : undefined;
|
|
832
|
-
obj.timestamp = message.timestamp !== BigInt(0) ? message.timestamp?.toString() : undefined;
|
|
833
|
-
obj.signature = message.signature ? base64FromBytes(message.signature) : undefined;
|
|
834
|
-
obj.new_public_key = message.newPublicKey ? Any.toAmino(message.newPublicKey) : undefined;
|
|
835
|
-
obj.new_diversifier = message.newDiversifier === "" ? undefined : message.newDiversifier;
|
|
836
|
-
return obj;
|
|
837
|
-
},
|
|
838
|
-
fromAminoMsg(object: HeaderAminoMsg): Header {
|
|
839
|
-
return Header.fromAmino(object.value);
|
|
840
|
-
},
|
|
841
|
-
toAminoMsg(message: Header): HeaderAminoMsg {
|
|
842
|
-
return {
|
|
843
|
-
type: "cosmos-sdk/Header",
|
|
844
|
-
value: Header.toAmino(message)
|
|
845
|
-
};
|
|
846
|
-
},
|
|
847
|
-
fromProtoMsg(message: HeaderProtoMsg): Header {
|
|
848
|
-
return Header.decode(message.value);
|
|
849
|
-
},
|
|
850
|
-
toProto(message: Header): Uint8Array {
|
|
851
|
-
return Header.encode(message).finish();
|
|
852
|
-
},
|
|
853
|
-
toProtoMsg(message: Header): HeaderProtoMsg {
|
|
854
|
-
return {
|
|
855
|
-
typeUrl: "/ibc.lightclients.solomachine.v2.Header",
|
|
856
|
-
value: Header.encode(message).finish()
|
|
857
|
-
};
|
|
858
|
-
}
|
|
859
|
-
};
|
|
860
|
-
GlobalDecoderRegistry.register(Header.typeUrl, Header);
|
|
861
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(Header.aminoType, Header.typeUrl);
|
|
862
|
-
function createBaseMisbehaviour(): Misbehaviour {
|
|
863
|
-
return {
|
|
864
|
-
clientId: "",
|
|
865
|
-
sequence: BigInt(0),
|
|
866
|
-
signatureOne: undefined,
|
|
867
|
-
signatureTwo: undefined
|
|
868
|
-
};
|
|
869
|
-
}
|
|
870
|
-
export const Misbehaviour = {
|
|
871
|
-
typeUrl: "/ibc.lightclients.solomachine.v2.Misbehaviour",
|
|
872
|
-
aminoType: "cosmos-sdk/Misbehaviour",
|
|
873
|
-
is(o: any): o is Misbehaviour {
|
|
874
|
-
return o && (o.$typeUrl === Misbehaviour.typeUrl || typeof o.clientId === "string" && typeof o.sequence === "bigint");
|
|
875
|
-
},
|
|
876
|
-
isAmino(o: any): o is MisbehaviourAmino {
|
|
877
|
-
return o && (o.$typeUrl === Misbehaviour.typeUrl || typeof o.client_id === "string" && typeof o.sequence === "bigint");
|
|
878
|
-
},
|
|
879
|
-
encode(message: Misbehaviour, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
880
|
-
if (message.clientId !== "") {
|
|
881
|
-
writer.uint32(10).string(message.clientId);
|
|
882
|
-
}
|
|
883
|
-
if (message.sequence !== BigInt(0)) {
|
|
884
|
-
writer.uint32(16).uint64(message.sequence);
|
|
885
|
-
}
|
|
886
|
-
if (message.signatureOne !== undefined) {
|
|
887
|
-
SignatureAndData.encode(message.signatureOne, writer.uint32(26).fork()).ldelim();
|
|
888
|
-
}
|
|
889
|
-
if (message.signatureTwo !== undefined) {
|
|
890
|
-
SignatureAndData.encode(message.signatureTwo, writer.uint32(34).fork()).ldelim();
|
|
891
|
-
}
|
|
892
|
-
return writer;
|
|
893
|
-
},
|
|
894
|
-
decode(input: BinaryReader | Uint8Array, length?: number): Misbehaviour {
|
|
895
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
896
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
897
|
-
const message = createBaseMisbehaviour();
|
|
898
|
-
while (reader.pos < end) {
|
|
899
|
-
const tag = reader.uint32();
|
|
900
|
-
switch (tag >>> 3) {
|
|
901
|
-
case 1:
|
|
902
|
-
message.clientId = reader.string();
|
|
903
|
-
break;
|
|
904
|
-
case 2:
|
|
905
|
-
message.sequence = reader.uint64();
|
|
906
|
-
break;
|
|
907
|
-
case 3:
|
|
908
|
-
message.signatureOne = SignatureAndData.decode(reader, reader.uint32());
|
|
909
|
-
break;
|
|
910
|
-
case 4:
|
|
911
|
-
message.signatureTwo = SignatureAndData.decode(reader, reader.uint32());
|
|
912
|
-
break;
|
|
913
|
-
default:
|
|
914
|
-
reader.skipType(tag & 7);
|
|
915
|
-
break;
|
|
916
|
-
}
|
|
917
|
-
}
|
|
918
|
-
return message;
|
|
919
|
-
},
|
|
920
|
-
fromPartial(object: DeepPartial<Misbehaviour>): Misbehaviour {
|
|
921
|
-
const message = createBaseMisbehaviour();
|
|
922
|
-
message.clientId = object.clientId ?? "";
|
|
923
|
-
message.sequence = object.sequence !== undefined && object.sequence !== null ? BigInt(object.sequence.toString()) : BigInt(0);
|
|
924
|
-
message.signatureOne = object.signatureOne !== undefined && object.signatureOne !== null ? SignatureAndData.fromPartial(object.signatureOne) : undefined;
|
|
925
|
-
message.signatureTwo = object.signatureTwo !== undefined && object.signatureTwo !== null ? SignatureAndData.fromPartial(object.signatureTwo) : undefined;
|
|
926
|
-
return message;
|
|
927
|
-
},
|
|
928
|
-
fromAmino(object: MisbehaviourAmino): Misbehaviour {
|
|
929
|
-
const message = createBaseMisbehaviour();
|
|
930
|
-
if (object.client_id !== undefined && object.client_id !== null) {
|
|
931
|
-
message.clientId = object.client_id;
|
|
932
|
-
}
|
|
933
|
-
if (object.sequence !== undefined && object.sequence !== null) {
|
|
934
|
-
message.sequence = BigInt(object.sequence);
|
|
935
|
-
}
|
|
936
|
-
if (object.signature_one !== undefined && object.signature_one !== null) {
|
|
937
|
-
message.signatureOne = SignatureAndData.fromAmino(object.signature_one);
|
|
938
|
-
}
|
|
939
|
-
if (object.signature_two !== undefined && object.signature_two !== null) {
|
|
940
|
-
message.signatureTwo = SignatureAndData.fromAmino(object.signature_two);
|
|
941
|
-
}
|
|
942
|
-
return message;
|
|
943
|
-
},
|
|
944
|
-
toAmino(message: Misbehaviour): MisbehaviourAmino {
|
|
945
|
-
const obj: any = {};
|
|
946
|
-
obj.client_id = message.clientId === "" ? undefined : message.clientId;
|
|
947
|
-
obj.sequence = message.sequence !== BigInt(0) ? message.sequence?.toString() : undefined;
|
|
948
|
-
obj.signature_one = message.signatureOne ? SignatureAndData.toAmino(message.signatureOne) : undefined;
|
|
949
|
-
obj.signature_two = message.signatureTwo ? SignatureAndData.toAmino(message.signatureTwo) : undefined;
|
|
950
|
-
return obj;
|
|
951
|
-
},
|
|
952
|
-
fromAminoMsg(object: MisbehaviourAminoMsg): Misbehaviour {
|
|
953
|
-
return Misbehaviour.fromAmino(object.value);
|
|
954
|
-
},
|
|
955
|
-
toAminoMsg(message: Misbehaviour): MisbehaviourAminoMsg {
|
|
956
|
-
return {
|
|
957
|
-
type: "cosmos-sdk/Misbehaviour",
|
|
958
|
-
value: Misbehaviour.toAmino(message)
|
|
959
|
-
};
|
|
960
|
-
},
|
|
961
|
-
fromProtoMsg(message: MisbehaviourProtoMsg): Misbehaviour {
|
|
962
|
-
return Misbehaviour.decode(message.value);
|
|
963
|
-
},
|
|
964
|
-
toProto(message: Misbehaviour): Uint8Array {
|
|
965
|
-
return Misbehaviour.encode(message).finish();
|
|
966
|
-
},
|
|
967
|
-
toProtoMsg(message: Misbehaviour): MisbehaviourProtoMsg {
|
|
968
|
-
return {
|
|
969
|
-
typeUrl: "/ibc.lightclients.solomachine.v2.Misbehaviour",
|
|
970
|
-
value: Misbehaviour.encode(message).finish()
|
|
971
|
-
};
|
|
972
|
-
}
|
|
973
|
-
};
|
|
974
|
-
GlobalDecoderRegistry.register(Misbehaviour.typeUrl, Misbehaviour);
|
|
975
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(Misbehaviour.aminoType, Misbehaviour.typeUrl);
|
|
976
|
-
function createBaseSignatureAndData(): SignatureAndData {
|
|
977
|
-
return {
|
|
978
|
-
signature: new Uint8Array(),
|
|
979
|
-
dataType: 0,
|
|
980
|
-
data: new Uint8Array(),
|
|
981
|
-
timestamp: BigInt(0)
|
|
982
|
-
};
|
|
983
|
-
}
|
|
984
|
-
export const SignatureAndData = {
|
|
985
|
-
typeUrl: "/ibc.lightclients.solomachine.v2.SignatureAndData",
|
|
986
|
-
aminoType: "cosmos-sdk/SignatureAndData",
|
|
987
|
-
is(o: any): o is SignatureAndData {
|
|
988
|
-
return o && (o.$typeUrl === SignatureAndData.typeUrl || (o.signature instanceof Uint8Array || typeof o.signature === "string") && isSet(o.dataType) && (o.data instanceof Uint8Array || typeof o.data === "string") && typeof o.timestamp === "bigint");
|
|
989
|
-
},
|
|
990
|
-
isAmino(o: any): o is SignatureAndDataAmino {
|
|
991
|
-
return o && (o.$typeUrl === SignatureAndData.typeUrl || (o.signature instanceof Uint8Array || typeof o.signature === "string") && isSet(o.data_type) && (o.data instanceof Uint8Array || typeof o.data === "string") && typeof o.timestamp === "bigint");
|
|
992
|
-
},
|
|
993
|
-
encode(message: SignatureAndData, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
994
|
-
if (message.signature.length !== 0) {
|
|
995
|
-
writer.uint32(10).bytes(message.signature);
|
|
996
|
-
}
|
|
997
|
-
if (message.dataType !== 0) {
|
|
998
|
-
writer.uint32(16).int32(message.dataType);
|
|
999
|
-
}
|
|
1000
|
-
if (message.data.length !== 0) {
|
|
1001
|
-
writer.uint32(26).bytes(message.data);
|
|
1002
|
-
}
|
|
1003
|
-
if (message.timestamp !== BigInt(0)) {
|
|
1004
|
-
writer.uint32(32).uint64(message.timestamp);
|
|
1005
|
-
}
|
|
1006
|
-
return writer;
|
|
1007
|
-
},
|
|
1008
|
-
decode(input: BinaryReader | Uint8Array, length?: number): SignatureAndData {
|
|
1009
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1010
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1011
|
-
const message = createBaseSignatureAndData();
|
|
1012
|
-
while (reader.pos < end) {
|
|
1013
|
-
const tag = reader.uint32();
|
|
1014
|
-
switch (tag >>> 3) {
|
|
1015
|
-
case 1:
|
|
1016
|
-
message.signature = reader.bytes();
|
|
1017
|
-
break;
|
|
1018
|
-
case 2:
|
|
1019
|
-
message.dataType = reader.int32() as any;
|
|
1020
|
-
break;
|
|
1021
|
-
case 3:
|
|
1022
|
-
message.data = reader.bytes();
|
|
1023
|
-
break;
|
|
1024
|
-
case 4:
|
|
1025
|
-
message.timestamp = reader.uint64();
|
|
1026
|
-
break;
|
|
1027
|
-
default:
|
|
1028
|
-
reader.skipType(tag & 7);
|
|
1029
|
-
break;
|
|
1030
|
-
}
|
|
1031
|
-
}
|
|
1032
|
-
return message;
|
|
1033
|
-
},
|
|
1034
|
-
fromPartial(object: DeepPartial<SignatureAndData>): SignatureAndData {
|
|
1035
|
-
const message = createBaseSignatureAndData();
|
|
1036
|
-
message.signature = object.signature ?? new Uint8Array();
|
|
1037
|
-
message.dataType = object.dataType ?? 0;
|
|
1038
|
-
message.data = object.data ?? new Uint8Array();
|
|
1039
|
-
message.timestamp = object.timestamp !== undefined && object.timestamp !== null ? BigInt(object.timestamp.toString()) : BigInt(0);
|
|
1040
|
-
return message;
|
|
1041
|
-
},
|
|
1042
|
-
fromAmino(object: SignatureAndDataAmino): SignatureAndData {
|
|
1043
|
-
const message = createBaseSignatureAndData();
|
|
1044
|
-
if (object.signature !== undefined && object.signature !== null) {
|
|
1045
|
-
message.signature = bytesFromBase64(object.signature);
|
|
1046
|
-
}
|
|
1047
|
-
if (object.data_type !== undefined && object.data_type !== null) {
|
|
1048
|
-
message.dataType = object.data_type;
|
|
1049
|
-
}
|
|
1050
|
-
if (object.data !== undefined && object.data !== null) {
|
|
1051
|
-
message.data = bytesFromBase64(object.data);
|
|
1052
|
-
}
|
|
1053
|
-
if (object.timestamp !== undefined && object.timestamp !== null) {
|
|
1054
|
-
message.timestamp = BigInt(object.timestamp);
|
|
1055
|
-
}
|
|
1056
|
-
return message;
|
|
1057
|
-
},
|
|
1058
|
-
toAmino(message: SignatureAndData): SignatureAndDataAmino {
|
|
1059
|
-
const obj: any = {};
|
|
1060
|
-
obj.signature = message.signature ? base64FromBytes(message.signature) : undefined;
|
|
1061
|
-
obj.data_type = message.dataType === 0 ? undefined : message.dataType;
|
|
1062
|
-
obj.data = message.data ? base64FromBytes(message.data) : undefined;
|
|
1063
|
-
obj.timestamp = message.timestamp !== BigInt(0) ? message.timestamp?.toString() : undefined;
|
|
1064
|
-
return obj;
|
|
1065
|
-
},
|
|
1066
|
-
fromAminoMsg(object: SignatureAndDataAminoMsg): SignatureAndData {
|
|
1067
|
-
return SignatureAndData.fromAmino(object.value);
|
|
1068
|
-
},
|
|
1069
|
-
toAminoMsg(message: SignatureAndData): SignatureAndDataAminoMsg {
|
|
1070
|
-
return {
|
|
1071
|
-
type: "cosmos-sdk/SignatureAndData",
|
|
1072
|
-
value: SignatureAndData.toAmino(message)
|
|
1073
|
-
};
|
|
1074
|
-
},
|
|
1075
|
-
fromProtoMsg(message: SignatureAndDataProtoMsg): SignatureAndData {
|
|
1076
|
-
return SignatureAndData.decode(message.value);
|
|
1077
|
-
},
|
|
1078
|
-
toProto(message: SignatureAndData): Uint8Array {
|
|
1079
|
-
return SignatureAndData.encode(message).finish();
|
|
1080
|
-
},
|
|
1081
|
-
toProtoMsg(message: SignatureAndData): SignatureAndDataProtoMsg {
|
|
1082
|
-
return {
|
|
1083
|
-
typeUrl: "/ibc.lightclients.solomachine.v2.SignatureAndData",
|
|
1084
|
-
value: SignatureAndData.encode(message).finish()
|
|
1085
|
-
};
|
|
1086
|
-
}
|
|
1087
|
-
};
|
|
1088
|
-
GlobalDecoderRegistry.register(SignatureAndData.typeUrl, SignatureAndData);
|
|
1089
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(SignatureAndData.aminoType, SignatureAndData.typeUrl);
|
|
1090
|
-
function createBaseTimestampedSignatureData(): TimestampedSignatureData {
|
|
1091
|
-
return {
|
|
1092
|
-
signatureData: new Uint8Array(),
|
|
1093
|
-
timestamp: BigInt(0)
|
|
1094
|
-
};
|
|
1095
|
-
}
|
|
1096
|
-
export const TimestampedSignatureData = {
|
|
1097
|
-
typeUrl: "/ibc.lightclients.solomachine.v2.TimestampedSignatureData",
|
|
1098
|
-
aminoType: "cosmos-sdk/TimestampedSignatureData",
|
|
1099
|
-
is(o: any): o is TimestampedSignatureData {
|
|
1100
|
-
return o && (o.$typeUrl === TimestampedSignatureData.typeUrl || (o.signatureData instanceof Uint8Array || typeof o.signatureData === "string") && typeof o.timestamp === "bigint");
|
|
1101
|
-
},
|
|
1102
|
-
isAmino(o: any): o is TimestampedSignatureDataAmino {
|
|
1103
|
-
return o && (o.$typeUrl === TimestampedSignatureData.typeUrl || (o.signature_data instanceof Uint8Array || typeof o.signature_data === "string") && typeof o.timestamp === "bigint");
|
|
1104
|
-
},
|
|
1105
|
-
encode(message: TimestampedSignatureData, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
1106
|
-
if (message.signatureData.length !== 0) {
|
|
1107
|
-
writer.uint32(10).bytes(message.signatureData);
|
|
1108
|
-
}
|
|
1109
|
-
if (message.timestamp !== BigInt(0)) {
|
|
1110
|
-
writer.uint32(16).uint64(message.timestamp);
|
|
1111
|
-
}
|
|
1112
|
-
return writer;
|
|
1113
|
-
},
|
|
1114
|
-
decode(input: BinaryReader | Uint8Array, length?: number): TimestampedSignatureData {
|
|
1115
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1116
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1117
|
-
const message = createBaseTimestampedSignatureData();
|
|
1118
|
-
while (reader.pos < end) {
|
|
1119
|
-
const tag = reader.uint32();
|
|
1120
|
-
switch (tag >>> 3) {
|
|
1121
|
-
case 1:
|
|
1122
|
-
message.signatureData = reader.bytes();
|
|
1123
|
-
break;
|
|
1124
|
-
case 2:
|
|
1125
|
-
message.timestamp = reader.uint64();
|
|
1126
|
-
break;
|
|
1127
|
-
default:
|
|
1128
|
-
reader.skipType(tag & 7);
|
|
1129
|
-
break;
|
|
1130
|
-
}
|
|
1131
|
-
}
|
|
1132
|
-
return message;
|
|
1133
|
-
},
|
|
1134
|
-
fromPartial(object: DeepPartial<TimestampedSignatureData>): TimestampedSignatureData {
|
|
1135
|
-
const message = createBaseTimestampedSignatureData();
|
|
1136
|
-
message.signatureData = object.signatureData ?? new Uint8Array();
|
|
1137
|
-
message.timestamp = object.timestamp !== undefined && object.timestamp !== null ? BigInt(object.timestamp.toString()) : BigInt(0);
|
|
1138
|
-
return message;
|
|
1139
|
-
},
|
|
1140
|
-
fromAmino(object: TimestampedSignatureDataAmino): TimestampedSignatureData {
|
|
1141
|
-
const message = createBaseTimestampedSignatureData();
|
|
1142
|
-
if (object.signature_data !== undefined && object.signature_data !== null) {
|
|
1143
|
-
message.signatureData = bytesFromBase64(object.signature_data);
|
|
1144
|
-
}
|
|
1145
|
-
if (object.timestamp !== undefined && object.timestamp !== null) {
|
|
1146
|
-
message.timestamp = BigInt(object.timestamp);
|
|
1147
|
-
}
|
|
1148
|
-
return message;
|
|
1149
|
-
},
|
|
1150
|
-
toAmino(message: TimestampedSignatureData): TimestampedSignatureDataAmino {
|
|
1151
|
-
const obj: any = {};
|
|
1152
|
-
obj.signature_data = message.signatureData ? base64FromBytes(message.signatureData) : undefined;
|
|
1153
|
-
obj.timestamp = message.timestamp !== BigInt(0) ? message.timestamp?.toString() : undefined;
|
|
1154
|
-
return obj;
|
|
1155
|
-
},
|
|
1156
|
-
fromAminoMsg(object: TimestampedSignatureDataAminoMsg): TimestampedSignatureData {
|
|
1157
|
-
return TimestampedSignatureData.fromAmino(object.value);
|
|
1158
|
-
},
|
|
1159
|
-
toAminoMsg(message: TimestampedSignatureData): TimestampedSignatureDataAminoMsg {
|
|
1160
|
-
return {
|
|
1161
|
-
type: "cosmos-sdk/TimestampedSignatureData",
|
|
1162
|
-
value: TimestampedSignatureData.toAmino(message)
|
|
1163
|
-
};
|
|
1164
|
-
},
|
|
1165
|
-
fromProtoMsg(message: TimestampedSignatureDataProtoMsg): TimestampedSignatureData {
|
|
1166
|
-
return TimestampedSignatureData.decode(message.value);
|
|
1167
|
-
},
|
|
1168
|
-
toProto(message: TimestampedSignatureData): Uint8Array {
|
|
1169
|
-
return TimestampedSignatureData.encode(message).finish();
|
|
1170
|
-
},
|
|
1171
|
-
toProtoMsg(message: TimestampedSignatureData): TimestampedSignatureDataProtoMsg {
|
|
1172
|
-
return {
|
|
1173
|
-
typeUrl: "/ibc.lightclients.solomachine.v2.TimestampedSignatureData",
|
|
1174
|
-
value: TimestampedSignatureData.encode(message).finish()
|
|
1175
|
-
};
|
|
1176
|
-
}
|
|
1177
|
-
};
|
|
1178
|
-
GlobalDecoderRegistry.register(TimestampedSignatureData.typeUrl, TimestampedSignatureData);
|
|
1179
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(TimestampedSignatureData.aminoType, TimestampedSignatureData.typeUrl);
|
|
1180
|
-
function createBaseSignBytes(): SignBytes {
|
|
1181
|
-
return {
|
|
1182
|
-
sequence: BigInt(0),
|
|
1183
|
-
timestamp: BigInt(0),
|
|
1184
|
-
diversifier: "",
|
|
1185
|
-
dataType: 0,
|
|
1186
|
-
data: new Uint8Array()
|
|
1187
|
-
};
|
|
1188
|
-
}
|
|
1189
|
-
export const SignBytes = {
|
|
1190
|
-
typeUrl: "/ibc.lightclients.solomachine.v2.SignBytes",
|
|
1191
|
-
aminoType: "cosmos-sdk/SignBytes",
|
|
1192
|
-
is(o: any): o is SignBytes {
|
|
1193
|
-
return o && (o.$typeUrl === SignBytes.typeUrl || typeof o.sequence === "bigint" && typeof o.timestamp === "bigint" && typeof o.diversifier === "string" && isSet(o.dataType) && (o.data instanceof Uint8Array || typeof o.data === "string"));
|
|
1194
|
-
},
|
|
1195
|
-
isAmino(o: any): o is SignBytesAmino {
|
|
1196
|
-
return o && (o.$typeUrl === SignBytes.typeUrl || typeof o.sequence === "bigint" && typeof o.timestamp === "bigint" && typeof o.diversifier === "string" && isSet(o.data_type) && (o.data instanceof Uint8Array || typeof o.data === "string"));
|
|
1197
|
-
},
|
|
1198
|
-
encode(message: SignBytes, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
1199
|
-
if (message.sequence !== BigInt(0)) {
|
|
1200
|
-
writer.uint32(8).uint64(message.sequence);
|
|
1201
|
-
}
|
|
1202
|
-
if (message.timestamp !== BigInt(0)) {
|
|
1203
|
-
writer.uint32(16).uint64(message.timestamp);
|
|
1204
|
-
}
|
|
1205
|
-
if (message.diversifier !== "") {
|
|
1206
|
-
writer.uint32(26).string(message.diversifier);
|
|
1207
|
-
}
|
|
1208
|
-
if (message.dataType !== 0) {
|
|
1209
|
-
writer.uint32(32).int32(message.dataType);
|
|
1210
|
-
}
|
|
1211
|
-
if (message.data.length !== 0) {
|
|
1212
|
-
writer.uint32(42).bytes(message.data);
|
|
1213
|
-
}
|
|
1214
|
-
return writer;
|
|
1215
|
-
},
|
|
1216
|
-
decode(input: BinaryReader | Uint8Array, length?: number): SignBytes {
|
|
1217
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1218
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1219
|
-
const message = createBaseSignBytes();
|
|
1220
|
-
while (reader.pos < end) {
|
|
1221
|
-
const tag = reader.uint32();
|
|
1222
|
-
switch (tag >>> 3) {
|
|
1223
|
-
case 1:
|
|
1224
|
-
message.sequence = reader.uint64();
|
|
1225
|
-
break;
|
|
1226
|
-
case 2:
|
|
1227
|
-
message.timestamp = reader.uint64();
|
|
1228
|
-
break;
|
|
1229
|
-
case 3:
|
|
1230
|
-
message.diversifier = reader.string();
|
|
1231
|
-
break;
|
|
1232
|
-
case 4:
|
|
1233
|
-
message.dataType = reader.int32() as any;
|
|
1234
|
-
break;
|
|
1235
|
-
case 5:
|
|
1236
|
-
message.data = reader.bytes();
|
|
1237
|
-
break;
|
|
1238
|
-
default:
|
|
1239
|
-
reader.skipType(tag & 7);
|
|
1240
|
-
break;
|
|
1241
|
-
}
|
|
1242
|
-
}
|
|
1243
|
-
return message;
|
|
1244
|
-
},
|
|
1245
|
-
fromPartial(object: DeepPartial<SignBytes>): SignBytes {
|
|
1246
|
-
const message = createBaseSignBytes();
|
|
1247
|
-
message.sequence = object.sequence !== undefined && object.sequence !== null ? BigInt(object.sequence.toString()) : BigInt(0);
|
|
1248
|
-
message.timestamp = object.timestamp !== undefined && object.timestamp !== null ? BigInt(object.timestamp.toString()) : BigInt(0);
|
|
1249
|
-
message.diversifier = object.diversifier ?? "";
|
|
1250
|
-
message.dataType = object.dataType ?? 0;
|
|
1251
|
-
message.data = object.data ?? new Uint8Array();
|
|
1252
|
-
return message;
|
|
1253
|
-
},
|
|
1254
|
-
fromAmino(object: SignBytesAmino): SignBytes {
|
|
1255
|
-
const message = createBaseSignBytes();
|
|
1256
|
-
if (object.sequence !== undefined && object.sequence !== null) {
|
|
1257
|
-
message.sequence = BigInt(object.sequence);
|
|
1258
|
-
}
|
|
1259
|
-
if (object.timestamp !== undefined && object.timestamp !== null) {
|
|
1260
|
-
message.timestamp = BigInt(object.timestamp);
|
|
1261
|
-
}
|
|
1262
|
-
if (object.diversifier !== undefined && object.diversifier !== null) {
|
|
1263
|
-
message.diversifier = object.diversifier;
|
|
1264
|
-
}
|
|
1265
|
-
if (object.data_type !== undefined && object.data_type !== null) {
|
|
1266
|
-
message.dataType = object.data_type;
|
|
1267
|
-
}
|
|
1268
|
-
if (object.data !== undefined && object.data !== null) {
|
|
1269
|
-
message.data = bytesFromBase64(object.data);
|
|
1270
|
-
}
|
|
1271
|
-
return message;
|
|
1272
|
-
},
|
|
1273
|
-
toAmino(message: SignBytes): SignBytesAmino {
|
|
1274
|
-
const obj: any = {};
|
|
1275
|
-
obj.sequence = message.sequence !== BigInt(0) ? message.sequence?.toString() : undefined;
|
|
1276
|
-
obj.timestamp = message.timestamp !== BigInt(0) ? message.timestamp?.toString() : undefined;
|
|
1277
|
-
obj.diversifier = message.diversifier === "" ? undefined : message.diversifier;
|
|
1278
|
-
obj.data_type = message.dataType === 0 ? undefined : message.dataType;
|
|
1279
|
-
obj.data = message.data ? base64FromBytes(message.data) : undefined;
|
|
1280
|
-
return obj;
|
|
1281
|
-
},
|
|
1282
|
-
fromAminoMsg(object: SignBytesAminoMsg): SignBytes {
|
|
1283
|
-
return SignBytes.fromAmino(object.value);
|
|
1284
|
-
},
|
|
1285
|
-
toAminoMsg(message: SignBytes): SignBytesAminoMsg {
|
|
1286
|
-
return {
|
|
1287
|
-
type: "cosmos-sdk/SignBytes",
|
|
1288
|
-
value: SignBytes.toAmino(message)
|
|
1289
|
-
};
|
|
1290
|
-
},
|
|
1291
|
-
fromProtoMsg(message: SignBytesProtoMsg): SignBytes {
|
|
1292
|
-
return SignBytes.decode(message.value);
|
|
1293
|
-
},
|
|
1294
|
-
toProto(message: SignBytes): Uint8Array {
|
|
1295
|
-
return SignBytes.encode(message).finish();
|
|
1296
|
-
},
|
|
1297
|
-
toProtoMsg(message: SignBytes): SignBytesProtoMsg {
|
|
1298
|
-
return {
|
|
1299
|
-
typeUrl: "/ibc.lightclients.solomachine.v2.SignBytes",
|
|
1300
|
-
value: SignBytes.encode(message).finish()
|
|
1301
|
-
};
|
|
1302
|
-
}
|
|
1303
|
-
};
|
|
1304
|
-
GlobalDecoderRegistry.register(SignBytes.typeUrl, SignBytes);
|
|
1305
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(SignBytes.aminoType, SignBytes.typeUrl);
|
|
1306
|
-
function createBaseHeaderData(): HeaderData {
|
|
1307
|
-
return {
|
|
1308
|
-
newPubKey: undefined,
|
|
1309
|
-
newDiversifier: ""
|
|
1310
|
-
};
|
|
1311
|
-
}
|
|
1312
|
-
export const HeaderData = {
|
|
1313
|
-
typeUrl: "/ibc.lightclients.solomachine.v2.HeaderData",
|
|
1314
|
-
aminoType: "cosmos-sdk/HeaderData",
|
|
1315
|
-
is(o: any): o is HeaderData {
|
|
1316
|
-
return o && (o.$typeUrl === HeaderData.typeUrl || typeof o.newDiversifier === "string");
|
|
1317
|
-
},
|
|
1318
|
-
isAmino(o: any): o is HeaderDataAmino {
|
|
1319
|
-
return o && (o.$typeUrl === HeaderData.typeUrl || typeof o.new_diversifier === "string");
|
|
1320
|
-
},
|
|
1321
|
-
encode(message: HeaderData, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
1322
|
-
if (message.newPubKey !== undefined) {
|
|
1323
|
-
Any.encode(message.newPubKey, writer.uint32(10).fork()).ldelim();
|
|
1324
|
-
}
|
|
1325
|
-
if (message.newDiversifier !== "") {
|
|
1326
|
-
writer.uint32(18).string(message.newDiversifier);
|
|
1327
|
-
}
|
|
1328
|
-
return writer;
|
|
1329
|
-
},
|
|
1330
|
-
decode(input: BinaryReader | Uint8Array, length?: number): HeaderData {
|
|
1331
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1332
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1333
|
-
const message = createBaseHeaderData();
|
|
1334
|
-
while (reader.pos < end) {
|
|
1335
|
-
const tag = reader.uint32();
|
|
1336
|
-
switch (tag >>> 3) {
|
|
1337
|
-
case 1:
|
|
1338
|
-
message.newPubKey = Any.decode(reader, reader.uint32());
|
|
1339
|
-
break;
|
|
1340
|
-
case 2:
|
|
1341
|
-
message.newDiversifier = reader.string();
|
|
1342
|
-
break;
|
|
1343
|
-
default:
|
|
1344
|
-
reader.skipType(tag & 7);
|
|
1345
|
-
break;
|
|
1346
|
-
}
|
|
1347
|
-
}
|
|
1348
|
-
return message;
|
|
1349
|
-
},
|
|
1350
|
-
fromPartial(object: DeepPartial<HeaderData>): HeaderData {
|
|
1351
|
-
const message = createBaseHeaderData();
|
|
1352
|
-
message.newPubKey = object.newPubKey !== undefined && object.newPubKey !== null ? Any.fromPartial(object.newPubKey) : undefined;
|
|
1353
|
-
message.newDiversifier = object.newDiversifier ?? "";
|
|
1354
|
-
return message;
|
|
1355
|
-
},
|
|
1356
|
-
fromAmino(object: HeaderDataAmino): HeaderData {
|
|
1357
|
-
const message = createBaseHeaderData();
|
|
1358
|
-
if (object.new_pub_key !== undefined && object.new_pub_key !== null) {
|
|
1359
|
-
message.newPubKey = Any.fromAmino(object.new_pub_key);
|
|
1360
|
-
}
|
|
1361
|
-
if (object.new_diversifier !== undefined && object.new_diversifier !== null) {
|
|
1362
|
-
message.newDiversifier = object.new_diversifier;
|
|
1363
|
-
}
|
|
1364
|
-
return message;
|
|
1365
|
-
},
|
|
1366
|
-
toAmino(message: HeaderData): HeaderDataAmino {
|
|
1367
|
-
const obj: any = {};
|
|
1368
|
-
obj.new_pub_key = message.newPubKey ? Any.toAmino(message.newPubKey) : undefined;
|
|
1369
|
-
obj.new_diversifier = message.newDiversifier === "" ? undefined : message.newDiversifier;
|
|
1370
|
-
return obj;
|
|
1371
|
-
},
|
|
1372
|
-
fromAminoMsg(object: HeaderDataAminoMsg): HeaderData {
|
|
1373
|
-
return HeaderData.fromAmino(object.value);
|
|
1374
|
-
},
|
|
1375
|
-
toAminoMsg(message: HeaderData): HeaderDataAminoMsg {
|
|
1376
|
-
return {
|
|
1377
|
-
type: "cosmos-sdk/HeaderData",
|
|
1378
|
-
value: HeaderData.toAmino(message)
|
|
1379
|
-
};
|
|
1380
|
-
},
|
|
1381
|
-
fromProtoMsg(message: HeaderDataProtoMsg): HeaderData {
|
|
1382
|
-
return HeaderData.decode(message.value);
|
|
1383
|
-
},
|
|
1384
|
-
toProto(message: HeaderData): Uint8Array {
|
|
1385
|
-
return HeaderData.encode(message).finish();
|
|
1386
|
-
},
|
|
1387
|
-
toProtoMsg(message: HeaderData): HeaderDataProtoMsg {
|
|
1388
|
-
return {
|
|
1389
|
-
typeUrl: "/ibc.lightclients.solomachine.v2.HeaderData",
|
|
1390
|
-
value: HeaderData.encode(message).finish()
|
|
1391
|
-
};
|
|
1392
|
-
}
|
|
1393
|
-
};
|
|
1394
|
-
GlobalDecoderRegistry.register(HeaderData.typeUrl, HeaderData);
|
|
1395
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(HeaderData.aminoType, HeaderData.typeUrl);
|
|
1396
|
-
function createBaseClientStateData(): ClientStateData {
|
|
1397
|
-
return {
|
|
1398
|
-
path: new Uint8Array(),
|
|
1399
|
-
clientState: undefined
|
|
1400
|
-
};
|
|
1401
|
-
}
|
|
1402
|
-
export const ClientStateData = {
|
|
1403
|
-
typeUrl: "/ibc.lightclients.solomachine.v2.ClientStateData",
|
|
1404
|
-
aminoType: "cosmos-sdk/ClientStateData",
|
|
1405
|
-
is(o: any): o is ClientStateData {
|
|
1406
|
-
return o && (o.$typeUrl === ClientStateData.typeUrl || o.path instanceof Uint8Array || typeof o.path === "string");
|
|
1407
|
-
},
|
|
1408
|
-
isAmino(o: any): o is ClientStateDataAmino {
|
|
1409
|
-
return o && (o.$typeUrl === ClientStateData.typeUrl || o.path instanceof Uint8Array || typeof o.path === "string");
|
|
1410
|
-
},
|
|
1411
|
-
encode(message: ClientStateData, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
1412
|
-
if (message.path.length !== 0) {
|
|
1413
|
-
writer.uint32(10).bytes(message.path);
|
|
1414
|
-
}
|
|
1415
|
-
if (message.clientState !== undefined) {
|
|
1416
|
-
Any.encode(message.clientState, writer.uint32(18).fork()).ldelim();
|
|
1417
|
-
}
|
|
1418
|
-
return writer;
|
|
1419
|
-
},
|
|
1420
|
-
decode(input: BinaryReader | Uint8Array, length?: number): ClientStateData {
|
|
1421
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1422
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1423
|
-
const message = createBaseClientStateData();
|
|
1424
|
-
while (reader.pos < end) {
|
|
1425
|
-
const tag = reader.uint32();
|
|
1426
|
-
switch (tag >>> 3) {
|
|
1427
|
-
case 1:
|
|
1428
|
-
message.path = reader.bytes();
|
|
1429
|
-
break;
|
|
1430
|
-
case 2:
|
|
1431
|
-
message.clientState = Any.decode(reader, reader.uint32());
|
|
1432
|
-
break;
|
|
1433
|
-
default:
|
|
1434
|
-
reader.skipType(tag & 7);
|
|
1435
|
-
break;
|
|
1436
|
-
}
|
|
1437
|
-
}
|
|
1438
|
-
return message;
|
|
1439
|
-
},
|
|
1440
|
-
fromPartial(object: DeepPartial<ClientStateData>): ClientStateData {
|
|
1441
|
-
const message = createBaseClientStateData();
|
|
1442
|
-
message.path = object.path ?? new Uint8Array();
|
|
1443
|
-
message.clientState = object.clientState !== undefined && object.clientState !== null ? Any.fromPartial(object.clientState) : undefined;
|
|
1444
|
-
return message;
|
|
1445
|
-
},
|
|
1446
|
-
fromAmino(object: ClientStateDataAmino): ClientStateData {
|
|
1447
|
-
const message = createBaseClientStateData();
|
|
1448
|
-
if (object.path !== undefined && object.path !== null) {
|
|
1449
|
-
message.path = bytesFromBase64(object.path);
|
|
1450
|
-
}
|
|
1451
|
-
if (object.client_state !== undefined && object.client_state !== null) {
|
|
1452
|
-
message.clientState = Any.fromAmino(object.client_state);
|
|
1453
|
-
}
|
|
1454
|
-
return message;
|
|
1455
|
-
},
|
|
1456
|
-
toAmino(message: ClientStateData): ClientStateDataAmino {
|
|
1457
|
-
const obj: any = {};
|
|
1458
|
-
obj.path = message.path ? base64FromBytes(message.path) : undefined;
|
|
1459
|
-
obj.client_state = message.clientState ? Any.toAmino(message.clientState) : undefined;
|
|
1460
|
-
return obj;
|
|
1461
|
-
},
|
|
1462
|
-
fromAminoMsg(object: ClientStateDataAminoMsg): ClientStateData {
|
|
1463
|
-
return ClientStateData.fromAmino(object.value);
|
|
1464
|
-
},
|
|
1465
|
-
toAminoMsg(message: ClientStateData): ClientStateDataAminoMsg {
|
|
1466
|
-
return {
|
|
1467
|
-
type: "cosmos-sdk/ClientStateData",
|
|
1468
|
-
value: ClientStateData.toAmino(message)
|
|
1469
|
-
};
|
|
1470
|
-
},
|
|
1471
|
-
fromProtoMsg(message: ClientStateDataProtoMsg): ClientStateData {
|
|
1472
|
-
return ClientStateData.decode(message.value);
|
|
1473
|
-
},
|
|
1474
|
-
toProto(message: ClientStateData): Uint8Array {
|
|
1475
|
-
return ClientStateData.encode(message).finish();
|
|
1476
|
-
},
|
|
1477
|
-
toProtoMsg(message: ClientStateData): ClientStateDataProtoMsg {
|
|
1478
|
-
return {
|
|
1479
|
-
typeUrl: "/ibc.lightclients.solomachine.v2.ClientStateData",
|
|
1480
|
-
value: ClientStateData.encode(message).finish()
|
|
1481
|
-
};
|
|
1482
|
-
}
|
|
1483
|
-
};
|
|
1484
|
-
GlobalDecoderRegistry.register(ClientStateData.typeUrl, ClientStateData);
|
|
1485
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(ClientStateData.aminoType, ClientStateData.typeUrl);
|
|
1486
|
-
function createBaseConsensusStateData(): ConsensusStateData {
|
|
1487
|
-
return {
|
|
1488
|
-
path: new Uint8Array(),
|
|
1489
|
-
consensusState: undefined
|
|
1490
|
-
};
|
|
1491
|
-
}
|
|
1492
|
-
export const ConsensusStateData = {
|
|
1493
|
-
typeUrl: "/ibc.lightclients.solomachine.v2.ConsensusStateData",
|
|
1494
|
-
aminoType: "cosmos-sdk/ConsensusStateData",
|
|
1495
|
-
is(o: any): o is ConsensusStateData {
|
|
1496
|
-
return o && (o.$typeUrl === ConsensusStateData.typeUrl || o.path instanceof Uint8Array || typeof o.path === "string");
|
|
1497
|
-
},
|
|
1498
|
-
isAmino(o: any): o is ConsensusStateDataAmino {
|
|
1499
|
-
return o && (o.$typeUrl === ConsensusStateData.typeUrl || o.path instanceof Uint8Array || typeof o.path === "string");
|
|
1500
|
-
},
|
|
1501
|
-
encode(message: ConsensusStateData, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
1502
|
-
if (message.path.length !== 0) {
|
|
1503
|
-
writer.uint32(10).bytes(message.path);
|
|
1504
|
-
}
|
|
1505
|
-
if (message.consensusState !== undefined) {
|
|
1506
|
-
Any.encode(message.consensusState, writer.uint32(18).fork()).ldelim();
|
|
1507
|
-
}
|
|
1508
|
-
return writer;
|
|
1509
|
-
},
|
|
1510
|
-
decode(input: BinaryReader | Uint8Array, length?: number): ConsensusStateData {
|
|
1511
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1512
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1513
|
-
const message = createBaseConsensusStateData();
|
|
1514
|
-
while (reader.pos < end) {
|
|
1515
|
-
const tag = reader.uint32();
|
|
1516
|
-
switch (tag >>> 3) {
|
|
1517
|
-
case 1:
|
|
1518
|
-
message.path = reader.bytes();
|
|
1519
|
-
break;
|
|
1520
|
-
case 2:
|
|
1521
|
-
message.consensusState = Any.decode(reader, reader.uint32());
|
|
1522
|
-
break;
|
|
1523
|
-
default:
|
|
1524
|
-
reader.skipType(tag & 7);
|
|
1525
|
-
break;
|
|
1526
|
-
}
|
|
1527
|
-
}
|
|
1528
|
-
return message;
|
|
1529
|
-
},
|
|
1530
|
-
fromPartial(object: DeepPartial<ConsensusStateData>): ConsensusStateData {
|
|
1531
|
-
const message = createBaseConsensusStateData();
|
|
1532
|
-
message.path = object.path ?? new Uint8Array();
|
|
1533
|
-
message.consensusState = object.consensusState !== undefined && object.consensusState !== null ? Any.fromPartial(object.consensusState) : undefined;
|
|
1534
|
-
return message;
|
|
1535
|
-
},
|
|
1536
|
-
fromAmino(object: ConsensusStateDataAmino): ConsensusStateData {
|
|
1537
|
-
const message = createBaseConsensusStateData();
|
|
1538
|
-
if (object.path !== undefined && object.path !== null) {
|
|
1539
|
-
message.path = bytesFromBase64(object.path);
|
|
1540
|
-
}
|
|
1541
|
-
if (object.consensus_state !== undefined && object.consensus_state !== null) {
|
|
1542
|
-
message.consensusState = Any.fromAmino(object.consensus_state);
|
|
1543
|
-
}
|
|
1544
|
-
return message;
|
|
1545
|
-
},
|
|
1546
|
-
toAmino(message: ConsensusStateData): ConsensusStateDataAmino {
|
|
1547
|
-
const obj: any = {};
|
|
1548
|
-
obj.path = message.path ? base64FromBytes(message.path) : undefined;
|
|
1549
|
-
obj.consensus_state = message.consensusState ? Any.toAmino(message.consensusState) : undefined;
|
|
1550
|
-
return obj;
|
|
1551
|
-
},
|
|
1552
|
-
fromAminoMsg(object: ConsensusStateDataAminoMsg): ConsensusStateData {
|
|
1553
|
-
return ConsensusStateData.fromAmino(object.value);
|
|
1554
|
-
},
|
|
1555
|
-
toAminoMsg(message: ConsensusStateData): ConsensusStateDataAminoMsg {
|
|
1556
|
-
return {
|
|
1557
|
-
type: "cosmos-sdk/ConsensusStateData",
|
|
1558
|
-
value: ConsensusStateData.toAmino(message)
|
|
1559
|
-
};
|
|
1560
|
-
},
|
|
1561
|
-
fromProtoMsg(message: ConsensusStateDataProtoMsg): ConsensusStateData {
|
|
1562
|
-
return ConsensusStateData.decode(message.value);
|
|
1563
|
-
},
|
|
1564
|
-
toProto(message: ConsensusStateData): Uint8Array {
|
|
1565
|
-
return ConsensusStateData.encode(message).finish();
|
|
1566
|
-
},
|
|
1567
|
-
toProtoMsg(message: ConsensusStateData): ConsensusStateDataProtoMsg {
|
|
1568
|
-
return {
|
|
1569
|
-
typeUrl: "/ibc.lightclients.solomachine.v2.ConsensusStateData",
|
|
1570
|
-
value: ConsensusStateData.encode(message).finish()
|
|
1571
|
-
};
|
|
1572
|
-
}
|
|
1573
|
-
};
|
|
1574
|
-
GlobalDecoderRegistry.register(ConsensusStateData.typeUrl, ConsensusStateData);
|
|
1575
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(ConsensusStateData.aminoType, ConsensusStateData.typeUrl);
|
|
1576
|
-
function createBaseConnectionStateData(): ConnectionStateData {
|
|
1577
|
-
return {
|
|
1578
|
-
path: new Uint8Array(),
|
|
1579
|
-
connection: undefined
|
|
1580
|
-
};
|
|
1581
|
-
}
|
|
1582
|
-
export const ConnectionStateData = {
|
|
1583
|
-
typeUrl: "/ibc.lightclients.solomachine.v2.ConnectionStateData",
|
|
1584
|
-
aminoType: "cosmos-sdk/ConnectionStateData",
|
|
1585
|
-
is(o: any): o is ConnectionStateData {
|
|
1586
|
-
return o && (o.$typeUrl === ConnectionStateData.typeUrl || o.path instanceof Uint8Array || typeof o.path === "string");
|
|
1587
|
-
},
|
|
1588
|
-
isAmino(o: any): o is ConnectionStateDataAmino {
|
|
1589
|
-
return o && (o.$typeUrl === ConnectionStateData.typeUrl || o.path instanceof Uint8Array || typeof o.path === "string");
|
|
1590
|
-
},
|
|
1591
|
-
encode(message: ConnectionStateData, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
1592
|
-
if (message.path.length !== 0) {
|
|
1593
|
-
writer.uint32(10).bytes(message.path);
|
|
1594
|
-
}
|
|
1595
|
-
if (message.connection !== undefined) {
|
|
1596
|
-
ConnectionEnd.encode(message.connection, writer.uint32(18).fork()).ldelim();
|
|
1597
|
-
}
|
|
1598
|
-
return writer;
|
|
1599
|
-
},
|
|
1600
|
-
decode(input: BinaryReader | Uint8Array, length?: number): ConnectionStateData {
|
|
1601
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1602
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1603
|
-
const message = createBaseConnectionStateData();
|
|
1604
|
-
while (reader.pos < end) {
|
|
1605
|
-
const tag = reader.uint32();
|
|
1606
|
-
switch (tag >>> 3) {
|
|
1607
|
-
case 1:
|
|
1608
|
-
message.path = reader.bytes();
|
|
1609
|
-
break;
|
|
1610
|
-
case 2:
|
|
1611
|
-
message.connection = ConnectionEnd.decode(reader, reader.uint32());
|
|
1612
|
-
break;
|
|
1613
|
-
default:
|
|
1614
|
-
reader.skipType(tag & 7);
|
|
1615
|
-
break;
|
|
1616
|
-
}
|
|
1617
|
-
}
|
|
1618
|
-
return message;
|
|
1619
|
-
},
|
|
1620
|
-
fromPartial(object: DeepPartial<ConnectionStateData>): ConnectionStateData {
|
|
1621
|
-
const message = createBaseConnectionStateData();
|
|
1622
|
-
message.path = object.path ?? new Uint8Array();
|
|
1623
|
-
message.connection = object.connection !== undefined && object.connection !== null ? ConnectionEnd.fromPartial(object.connection) : undefined;
|
|
1624
|
-
return message;
|
|
1625
|
-
},
|
|
1626
|
-
fromAmino(object: ConnectionStateDataAmino): ConnectionStateData {
|
|
1627
|
-
const message = createBaseConnectionStateData();
|
|
1628
|
-
if (object.path !== undefined && object.path !== null) {
|
|
1629
|
-
message.path = bytesFromBase64(object.path);
|
|
1630
|
-
}
|
|
1631
|
-
if (object.connection !== undefined && object.connection !== null) {
|
|
1632
|
-
message.connection = ConnectionEnd.fromAmino(object.connection);
|
|
1633
|
-
}
|
|
1634
|
-
return message;
|
|
1635
|
-
},
|
|
1636
|
-
toAmino(message: ConnectionStateData): ConnectionStateDataAmino {
|
|
1637
|
-
const obj: any = {};
|
|
1638
|
-
obj.path = message.path ? base64FromBytes(message.path) : undefined;
|
|
1639
|
-
obj.connection = message.connection ? ConnectionEnd.toAmino(message.connection) : undefined;
|
|
1640
|
-
return obj;
|
|
1641
|
-
},
|
|
1642
|
-
fromAminoMsg(object: ConnectionStateDataAminoMsg): ConnectionStateData {
|
|
1643
|
-
return ConnectionStateData.fromAmino(object.value);
|
|
1644
|
-
},
|
|
1645
|
-
toAminoMsg(message: ConnectionStateData): ConnectionStateDataAminoMsg {
|
|
1646
|
-
return {
|
|
1647
|
-
type: "cosmos-sdk/ConnectionStateData",
|
|
1648
|
-
value: ConnectionStateData.toAmino(message)
|
|
1649
|
-
};
|
|
1650
|
-
},
|
|
1651
|
-
fromProtoMsg(message: ConnectionStateDataProtoMsg): ConnectionStateData {
|
|
1652
|
-
return ConnectionStateData.decode(message.value);
|
|
1653
|
-
},
|
|
1654
|
-
toProto(message: ConnectionStateData): Uint8Array {
|
|
1655
|
-
return ConnectionStateData.encode(message).finish();
|
|
1656
|
-
},
|
|
1657
|
-
toProtoMsg(message: ConnectionStateData): ConnectionStateDataProtoMsg {
|
|
1658
|
-
return {
|
|
1659
|
-
typeUrl: "/ibc.lightclients.solomachine.v2.ConnectionStateData",
|
|
1660
|
-
value: ConnectionStateData.encode(message).finish()
|
|
1661
|
-
};
|
|
1662
|
-
}
|
|
1663
|
-
};
|
|
1664
|
-
GlobalDecoderRegistry.register(ConnectionStateData.typeUrl, ConnectionStateData);
|
|
1665
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(ConnectionStateData.aminoType, ConnectionStateData.typeUrl);
|
|
1666
|
-
function createBaseChannelStateData(): ChannelStateData {
|
|
1667
|
-
return {
|
|
1668
|
-
path: new Uint8Array(),
|
|
1669
|
-
channel: undefined
|
|
1670
|
-
};
|
|
1671
|
-
}
|
|
1672
|
-
export const ChannelStateData = {
|
|
1673
|
-
typeUrl: "/ibc.lightclients.solomachine.v2.ChannelStateData",
|
|
1674
|
-
aminoType: "cosmos-sdk/ChannelStateData",
|
|
1675
|
-
is(o: any): o is ChannelStateData {
|
|
1676
|
-
return o && (o.$typeUrl === ChannelStateData.typeUrl || o.path instanceof Uint8Array || typeof o.path === "string");
|
|
1677
|
-
},
|
|
1678
|
-
isAmino(o: any): o is ChannelStateDataAmino {
|
|
1679
|
-
return o && (o.$typeUrl === ChannelStateData.typeUrl || o.path instanceof Uint8Array || typeof o.path === "string");
|
|
1680
|
-
},
|
|
1681
|
-
encode(message: ChannelStateData, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
1682
|
-
if (message.path.length !== 0) {
|
|
1683
|
-
writer.uint32(10).bytes(message.path);
|
|
1684
|
-
}
|
|
1685
|
-
if (message.channel !== undefined) {
|
|
1686
|
-
Channel.encode(message.channel, writer.uint32(18).fork()).ldelim();
|
|
1687
|
-
}
|
|
1688
|
-
return writer;
|
|
1689
|
-
},
|
|
1690
|
-
decode(input: BinaryReader | Uint8Array, length?: number): ChannelStateData {
|
|
1691
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1692
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1693
|
-
const message = createBaseChannelStateData();
|
|
1694
|
-
while (reader.pos < end) {
|
|
1695
|
-
const tag = reader.uint32();
|
|
1696
|
-
switch (tag >>> 3) {
|
|
1697
|
-
case 1:
|
|
1698
|
-
message.path = reader.bytes();
|
|
1699
|
-
break;
|
|
1700
|
-
case 2:
|
|
1701
|
-
message.channel = Channel.decode(reader, reader.uint32());
|
|
1702
|
-
break;
|
|
1703
|
-
default:
|
|
1704
|
-
reader.skipType(tag & 7);
|
|
1705
|
-
break;
|
|
1706
|
-
}
|
|
1707
|
-
}
|
|
1708
|
-
return message;
|
|
1709
|
-
},
|
|
1710
|
-
fromPartial(object: DeepPartial<ChannelStateData>): ChannelStateData {
|
|
1711
|
-
const message = createBaseChannelStateData();
|
|
1712
|
-
message.path = object.path ?? new Uint8Array();
|
|
1713
|
-
message.channel = object.channel !== undefined && object.channel !== null ? Channel.fromPartial(object.channel) : undefined;
|
|
1714
|
-
return message;
|
|
1715
|
-
},
|
|
1716
|
-
fromAmino(object: ChannelStateDataAmino): ChannelStateData {
|
|
1717
|
-
const message = createBaseChannelStateData();
|
|
1718
|
-
if (object.path !== undefined && object.path !== null) {
|
|
1719
|
-
message.path = bytesFromBase64(object.path);
|
|
1720
|
-
}
|
|
1721
|
-
if (object.channel !== undefined && object.channel !== null) {
|
|
1722
|
-
message.channel = Channel.fromAmino(object.channel);
|
|
1723
|
-
}
|
|
1724
|
-
return message;
|
|
1725
|
-
},
|
|
1726
|
-
toAmino(message: ChannelStateData): ChannelStateDataAmino {
|
|
1727
|
-
const obj: any = {};
|
|
1728
|
-
obj.path = message.path ? base64FromBytes(message.path) : undefined;
|
|
1729
|
-
obj.channel = message.channel ? Channel.toAmino(message.channel) : undefined;
|
|
1730
|
-
return obj;
|
|
1731
|
-
},
|
|
1732
|
-
fromAminoMsg(object: ChannelStateDataAminoMsg): ChannelStateData {
|
|
1733
|
-
return ChannelStateData.fromAmino(object.value);
|
|
1734
|
-
},
|
|
1735
|
-
toAminoMsg(message: ChannelStateData): ChannelStateDataAminoMsg {
|
|
1736
|
-
return {
|
|
1737
|
-
type: "cosmos-sdk/ChannelStateData",
|
|
1738
|
-
value: ChannelStateData.toAmino(message)
|
|
1739
|
-
};
|
|
1740
|
-
},
|
|
1741
|
-
fromProtoMsg(message: ChannelStateDataProtoMsg): ChannelStateData {
|
|
1742
|
-
return ChannelStateData.decode(message.value);
|
|
1743
|
-
},
|
|
1744
|
-
toProto(message: ChannelStateData): Uint8Array {
|
|
1745
|
-
return ChannelStateData.encode(message).finish();
|
|
1746
|
-
},
|
|
1747
|
-
toProtoMsg(message: ChannelStateData): ChannelStateDataProtoMsg {
|
|
1748
|
-
return {
|
|
1749
|
-
typeUrl: "/ibc.lightclients.solomachine.v2.ChannelStateData",
|
|
1750
|
-
value: ChannelStateData.encode(message).finish()
|
|
1751
|
-
};
|
|
1752
|
-
}
|
|
1753
|
-
};
|
|
1754
|
-
GlobalDecoderRegistry.register(ChannelStateData.typeUrl, ChannelStateData);
|
|
1755
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(ChannelStateData.aminoType, ChannelStateData.typeUrl);
|
|
1756
|
-
function createBasePacketCommitmentData(): PacketCommitmentData {
|
|
1757
|
-
return {
|
|
1758
|
-
path: new Uint8Array(),
|
|
1759
|
-
commitment: new Uint8Array()
|
|
1760
|
-
};
|
|
1761
|
-
}
|
|
1762
|
-
export const PacketCommitmentData = {
|
|
1763
|
-
typeUrl: "/ibc.lightclients.solomachine.v2.PacketCommitmentData",
|
|
1764
|
-
aminoType: "cosmos-sdk/PacketCommitmentData",
|
|
1765
|
-
is(o: any): o is PacketCommitmentData {
|
|
1766
|
-
return o && (o.$typeUrl === PacketCommitmentData.typeUrl || (o.path instanceof Uint8Array || typeof o.path === "string") && (o.commitment instanceof Uint8Array || typeof o.commitment === "string"));
|
|
1767
|
-
},
|
|
1768
|
-
isAmino(o: any): o is PacketCommitmentDataAmino {
|
|
1769
|
-
return o && (o.$typeUrl === PacketCommitmentData.typeUrl || (o.path instanceof Uint8Array || typeof o.path === "string") && (o.commitment instanceof Uint8Array || typeof o.commitment === "string"));
|
|
1770
|
-
},
|
|
1771
|
-
encode(message: PacketCommitmentData, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
1772
|
-
if (message.path.length !== 0) {
|
|
1773
|
-
writer.uint32(10).bytes(message.path);
|
|
1774
|
-
}
|
|
1775
|
-
if (message.commitment.length !== 0) {
|
|
1776
|
-
writer.uint32(18).bytes(message.commitment);
|
|
1777
|
-
}
|
|
1778
|
-
return writer;
|
|
1779
|
-
},
|
|
1780
|
-
decode(input: BinaryReader | Uint8Array, length?: number): PacketCommitmentData {
|
|
1781
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1782
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1783
|
-
const message = createBasePacketCommitmentData();
|
|
1784
|
-
while (reader.pos < end) {
|
|
1785
|
-
const tag = reader.uint32();
|
|
1786
|
-
switch (tag >>> 3) {
|
|
1787
|
-
case 1:
|
|
1788
|
-
message.path = reader.bytes();
|
|
1789
|
-
break;
|
|
1790
|
-
case 2:
|
|
1791
|
-
message.commitment = reader.bytes();
|
|
1792
|
-
break;
|
|
1793
|
-
default:
|
|
1794
|
-
reader.skipType(tag & 7);
|
|
1795
|
-
break;
|
|
1796
|
-
}
|
|
1797
|
-
}
|
|
1798
|
-
return message;
|
|
1799
|
-
},
|
|
1800
|
-
fromPartial(object: DeepPartial<PacketCommitmentData>): PacketCommitmentData {
|
|
1801
|
-
const message = createBasePacketCommitmentData();
|
|
1802
|
-
message.path = object.path ?? new Uint8Array();
|
|
1803
|
-
message.commitment = object.commitment ?? new Uint8Array();
|
|
1804
|
-
return message;
|
|
1805
|
-
},
|
|
1806
|
-
fromAmino(object: PacketCommitmentDataAmino): PacketCommitmentData {
|
|
1807
|
-
const message = createBasePacketCommitmentData();
|
|
1808
|
-
if (object.path !== undefined && object.path !== null) {
|
|
1809
|
-
message.path = bytesFromBase64(object.path);
|
|
1810
|
-
}
|
|
1811
|
-
if (object.commitment !== undefined && object.commitment !== null) {
|
|
1812
|
-
message.commitment = bytesFromBase64(object.commitment);
|
|
1813
|
-
}
|
|
1814
|
-
return message;
|
|
1815
|
-
},
|
|
1816
|
-
toAmino(message: PacketCommitmentData): PacketCommitmentDataAmino {
|
|
1817
|
-
const obj: any = {};
|
|
1818
|
-
obj.path = message.path ? base64FromBytes(message.path) : undefined;
|
|
1819
|
-
obj.commitment = message.commitment ? base64FromBytes(message.commitment) : undefined;
|
|
1820
|
-
return obj;
|
|
1821
|
-
},
|
|
1822
|
-
fromAminoMsg(object: PacketCommitmentDataAminoMsg): PacketCommitmentData {
|
|
1823
|
-
return PacketCommitmentData.fromAmino(object.value);
|
|
1824
|
-
},
|
|
1825
|
-
toAminoMsg(message: PacketCommitmentData): PacketCommitmentDataAminoMsg {
|
|
1826
|
-
return {
|
|
1827
|
-
type: "cosmos-sdk/PacketCommitmentData",
|
|
1828
|
-
value: PacketCommitmentData.toAmino(message)
|
|
1829
|
-
};
|
|
1830
|
-
},
|
|
1831
|
-
fromProtoMsg(message: PacketCommitmentDataProtoMsg): PacketCommitmentData {
|
|
1832
|
-
return PacketCommitmentData.decode(message.value);
|
|
1833
|
-
},
|
|
1834
|
-
toProto(message: PacketCommitmentData): Uint8Array {
|
|
1835
|
-
return PacketCommitmentData.encode(message).finish();
|
|
1836
|
-
},
|
|
1837
|
-
toProtoMsg(message: PacketCommitmentData): PacketCommitmentDataProtoMsg {
|
|
1838
|
-
return {
|
|
1839
|
-
typeUrl: "/ibc.lightclients.solomachine.v2.PacketCommitmentData",
|
|
1840
|
-
value: PacketCommitmentData.encode(message).finish()
|
|
1841
|
-
};
|
|
1842
|
-
}
|
|
1843
|
-
};
|
|
1844
|
-
GlobalDecoderRegistry.register(PacketCommitmentData.typeUrl, PacketCommitmentData);
|
|
1845
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(PacketCommitmentData.aminoType, PacketCommitmentData.typeUrl);
|
|
1846
|
-
function createBasePacketAcknowledgementData(): PacketAcknowledgementData {
|
|
1847
|
-
return {
|
|
1848
|
-
path: new Uint8Array(),
|
|
1849
|
-
acknowledgement: new Uint8Array()
|
|
1850
|
-
};
|
|
1851
|
-
}
|
|
1852
|
-
export const PacketAcknowledgementData = {
|
|
1853
|
-
typeUrl: "/ibc.lightclients.solomachine.v2.PacketAcknowledgementData",
|
|
1854
|
-
aminoType: "cosmos-sdk/PacketAcknowledgementData",
|
|
1855
|
-
is(o: any): o is PacketAcknowledgementData {
|
|
1856
|
-
return o && (o.$typeUrl === PacketAcknowledgementData.typeUrl || (o.path instanceof Uint8Array || typeof o.path === "string") && (o.acknowledgement instanceof Uint8Array || typeof o.acknowledgement === "string"));
|
|
1857
|
-
},
|
|
1858
|
-
isAmino(o: any): o is PacketAcknowledgementDataAmino {
|
|
1859
|
-
return o && (o.$typeUrl === PacketAcknowledgementData.typeUrl || (o.path instanceof Uint8Array || typeof o.path === "string") && (o.acknowledgement instanceof Uint8Array || typeof o.acknowledgement === "string"));
|
|
1860
|
-
},
|
|
1861
|
-
encode(message: PacketAcknowledgementData, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
1862
|
-
if (message.path.length !== 0) {
|
|
1863
|
-
writer.uint32(10).bytes(message.path);
|
|
1864
|
-
}
|
|
1865
|
-
if (message.acknowledgement.length !== 0) {
|
|
1866
|
-
writer.uint32(18).bytes(message.acknowledgement);
|
|
1867
|
-
}
|
|
1868
|
-
return writer;
|
|
1869
|
-
},
|
|
1870
|
-
decode(input: BinaryReader | Uint8Array, length?: number): PacketAcknowledgementData {
|
|
1871
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1872
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1873
|
-
const message = createBasePacketAcknowledgementData();
|
|
1874
|
-
while (reader.pos < end) {
|
|
1875
|
-
const tag = reader.uint32();
|
|
1876
|
-
switch (tag >>> 3) {
|
|
1877
|
-
case 1:
|
|
1878
|
-
message.path = reader.bytes();
|
|
1879
|
-
break;
|
|
1880
|
-
case 2:
|
|
1881
|
-
message.acknowledgement = reader.bytes();
|
|
1882
|
-
break;
|
|
1883
|
-
default:
|
|
1884
|
-
reader.skipType(tag & 7);
|
|
1885
|
-
break;
|
|
1886
|
-
}
|
|
1887
|
-
}
|
|
1888
|
-
return message;
|
|
1889
|
-
},
|
|
1890
|
-
fromPartial(object: DeepPartial<PacketAcknowledgementData>): PacketAcknowledgementData {
|
|
1891
|
-
const message = createBasePacketAcknowledgementData();
|
|
1892
|
-
message.path = object.path ?? new Uint8Array();
|
|
1893
|
-
message.acknowledgement = object.acknowledgement ?? new Uint8Array();
|
|
1894
|
-
return message;
|
|
1895
|
-
},
|
|
1896
|
-
fromAmino(object: PacketAcknowledgementDataAmino): PacketAcknowledgementData {
|
|
1897
|
-
const message = createBasePacketAcknowledgementData();
|
|
1898
|
-
if (object.path !== undefined && object.path !== null) {
|
|
1899
|
-
message.path = bytesFromBase64(object.path);
|
|
1900
|
-
}
|
|
1901
|
-
if (object.acknowledgement !== undefined && object.acknowledgement !== null) {
|
|
1902
|
-
message.acknowledgement = bytesFromBase64(object.acknowledgement);
|
|
1903
|
-
}
|
|
1904
|
-
return message;
|
|
1905
|
-
},
|
|
1906
|
-
toAmino(message: PacketAcknowledgementData): PacketAcknowledgementDataAmino {
|
|
1907
|
-
const obj: any = {};
|
|
1908
|
-
obj.path = message.path ? base64FromBytes(message.path) : undefined;
|
|
1909
|
-
obj.acknowledgement = message.acknowledgement ? base64FromBytes(message.acknowledgement) : undefined;
|
|
1910
|
-
return obj;
|
|
1911
|
-
},
|
|
1912
|
-
fromAminoMsg(object: PacketAcknowledgementDataAminoMsg): PacketAcknowledgementData {
|
|
1913
|
-
return PacketAcknowledgementData.fromAmino(object.value);
|
|
1914
|
-
},
|
|
1915
|
-
toAminoMsg(message: PacketAcknowledgementData): PacketAcknowledgementDataAminoMsg {
|
|
1916
|
-
return {
|
|
1917
|
-
type: "cosmos-sdk/PacketAcknowledgementData",
|
|
1918
|
-
value: PacketAcknowledgementData.toAmino(message)
|
|
1919
|
-
};
|
|
1920
|
-
},
|
|
1921
|
-
fromProtoMsg(message: PacketAcknowledgementDataProtoMsg): PacketAcknowledgementData {
|
|
1922
|
-
return PacketAcknowledgementData.decode(message.value);
|
|
1923
|
-
},
|
|
1924
|
-
toProto(message: PacketAcknowledgementData): Uint8Array {
|
|
1925
|
-
return PacketAcknowledgementData.encode(message).finish();
|
|
1926
|
-
},
|
|
1927
|
-
toProtoMsg(message: PacketAcknowledgementData): PacketAcknowledgementDataProtoMsg {
|
|
1928
|
-
return {
|
|
1929
|
-
typeUrl: "/ibc.lightclients.solomachine.v2.PacketAcknowledgementData",
|
|
1930
|
-
value: PacketAcknowledgementData.encode(message).finish()
|
|
1931
|
-
};
|
|
1932
|
-
}
|
|
1933
|
-
};
|
|
1934
|
-
GlobalDecoderRegistry.register(PacketAcknowledgementData.typeUrl, PacketAcknowledgementData);
|
|
1935
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(PacketAcknowledgementData.aminoType, PacketAcknowledgementData.typeUrl);
|
|
1936
|
-
function createBasePacketReceiptAbsenceData(): PacketReceiptAbsenceData {
|
|
1937
|
-
return {
|
|
1938
|
-
path: new Uint8Array()
|
|
1939
|
-
};
|
|
1940
|
-
}
|
|
1941
|
-
export const PacketReceiptAbsenceData = {
|
|
1942
|
-
typeUrl: "/ibc.lightclients.solomachine.v2.PacketReceiptAbsenceData",
|
|
1943
|
-
aminoType: "cosmos-sdk/PacketReceiptAbsenceData",
|
|
1944
|
-
is(o: any): o is PacketReceiptAbsenceData {
|
|
1945
|
-
return o && (o.$typeUrl === PacketReceiptAbsenceData.typeUrl || o.path instanceof Uint8Array || typeof o.path === "string");
|
|
1946
|
-
},
|
|
1947
|
-
isAmino(o: any): o is PacketReceiptAbsenceDataAmino {
|
|
1948
|
-
return o && (o.$typeUrl === PacketReceiptAbsenceData.typeUrl || o.path instanceof Uint8Array || typeof o.path === "string");
|
|
1949
|
-
},
|
|
1950
|
-
encode(message: PacketReceiptAbsenceData, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
1951
|
-
if (message.path.length !== 0) {
|
|
1952
|
-
writer.uint32(10).bytes(message.path);
|
|
1953
|
-
}
|
|
1954
|
-
return writer;
|
|
1955
|
-
},
|
|
1956
|
-
decode(input: BinaryReader | Uint8Array, length?: number): PacketReceiptAbsenceData {
|
|
1957
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1958
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1959
|
-
const message = createBasePacketReceiptAbsenceData();
|
|
1960
|
-
while (reader.pos < end) {
|
|
1961
|
-
const tag = reader.uint32();
|
|
1962
|
-
switch (tag >>> 3) {
|
|
1963
|
-
case 1:
|
|
1964
|
-
message.path = reader.bytes();
|
|
1965
|
-
break;
|
|
1966
|
-
default:
|
|
1967
|
-
reader.skipType(tag & 7);
|
|
1968
|
-
break;
|
|
1969
|
-
}
|
|
1970
|
-
}
|
|
1971
|
-
return message;
|
|
1972
|
-
},
|
|
1973
|
-
fromPartial(object: DeepPartial<PacketReceiptAbsenceData>): PacketReceiptAbsenceData {
|
|
1974
|
-
const message = createBasePacketReceiptAbsenceData();
|
|
1975
|
-
message.path = object.path ?? new Uint8Array();
|
|
1976
|
-
return message;
|
|
1977
|
-
},
|
|
1978
|
-
fromAmino(object: PacketReceiptAbsenceDataAmino): PacketReceiptAbsenceData {
|
|
1979
|
-
const message = createBasePacketReceiptAbsenceData();
|
|
1980
|
-
if (object.path !== undefined && object.path !== null) {
|
|
1981
|
-
message.path = bytesFromBase64(object.path);
|
|
1982
|
-
}
|
|
1983
|
-
return message;
|
|
1984
|
-
},
|
|
1985
|
-
toAmino(message: PacketReceiptAbsenceData): PacketReceiptAbsenceDataAmino {
|
|
1986
|
-
const obj: any = {};
|
|
1987
|
-
obj.path = message.path ? base64FromBytes(message.path) : undefined;
|
|
1988
|
-
return obj;
|
|
1989
|
-
},
|
|
1990
|
-
fromAminoMsg(object: PacketReceiptAbsenceDataAminoMsg): PacketReceiptAbsenceData {
|
|
1991
|
-
return PacketReceiptAbsenceData.fromAmino(object.value);
|
|
1992
|
-
},
|
|
1993
|
-
toAminoMsg(message: PacketReceiptAbsenceData): PacketReceiptAbsenceDataAminoMsg {
|
|
1994
|
-
return {
|
|
1995
|
-
type: "cosmos-sdk/PacketReceiptAbsenceData",
|
|
1996
|
-
value: PacketReceiptAbsenceData.toAmino(message)
|
|
1997
|
-
};
|
|
1998
|
-
},
|
|
1999
|
-
fromProtoMsg(message: PacketReceiptAbsenceDataProtoMsg): PacketReceiptAbsenceData {
|
|
2000
|
-
return PacketReceiptAbsenceData.decode(message.value);
|
|
2001
|
-
},
|
|
2002
|
-
toProto(message: PacketReceiptAbsenceData): Uint8Array {
|
|
2003
|
-
return PacketReceiptAbsenceData.encode(message).finish();
|
|
2004
|
-
},
|
|
2005
|
-
toProtoMsg(message: PacketReceiptAbsenceData): PacketReceiptAbsenceDataProtoMsg {
|
|
2006
|
-
return {
|
|
2007
|
-
typeUrl: "/ibc.lightclients.solomachine.v2.PacketReceiptAbsenceData",
|
|
2008
|
-
value: PacketReceiptAbsenceData.encode(message).finish()
|
|
2009
|
-
};
|
|
2010
|
-
}
|
|
2011
|
-
};
|
|
2012
|
-
GlobalDecoderRegistry.register(PacketReceiptAbsenceData.typeUrl, PacketReceiptAbsenceData);
|
|
2013
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(PacketReceiptAbsenceData.aminoType, PacketReceiptAbsenceData.typeUrl);
|
|
2014
|
-
function createBaseNextSequenceRecvData(): NextSequenceRecvData {
|
|
2015
|
-
return {
|
|
2016
|
-
path: new Uint8Array(),
|
|
2017
|
-
nextSeqRecv: BigInt(0)
|
|
2018
|
-
};
|
|
2019
|
-
}
|
|
2020
|
-
export const NextSequenceRecvData = {
|
|
2021
|
-
typeUrl: "/ibc.lightclients.solomachine.v2.NextSequenceRecvData",
|
|
2022
|
-
aminoType: "cosmos-sdk/NextSequenceRecvData",
|
|
2023
|
-
is(o: any): o is NextSequenceRecvData {
|
|
2024
|
-
return o && (o.$typeUrl === NextSequenceRecvData.typeUrl || (o.path instanceof Uint8Array || typeof o.path === "string") && typeof o.nextSeqRecv === "bigint");
|
|
2025
|
-
},
|
|
2026
|
-
isAmino(o: any): o is NextSequenceRecvDataAmino {
|
|
2027
|
-
return o && (o.$typeUrl === NextSequenceRecvData.typeUrl || (o.path instanceof Uint8Array || typeof o.path === "string") && typeof o.next_seq_recv === "bigint");
|
|
2028
|
-
},
|
|
2029
|
-
encode(message: NextSequenceRecvData, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
2030
|
-
if (message.path.length !== 0) {
|
|
2031
|
-
writer.uint32(10).bytes(message.path);
|
|
2032
|
-
}
|
|
2033
|
-
if (message.nextSeqRecv !== BigInt(0)) {
|
|
2034
|
-
writer.uint32(16).uint64(message.nextSeqRecv);
|
|
2035
|
-
}
|
|
2036
|
-
return writer;
|
|
2037
|
-
},
|
|
2038
|
-
decode(input: BinaryReader | Uint8Array, length?: number): NextSequenceRecvData {
|
|
2039
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
2040
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2041
|
-
const message = createBaseNextSequenceRecvData();
|
|
2042
|
-
while (reader.pos < end) {
|
|
2043
|
-
const tag = reader.uint32();
|
|
2044
|
-
switch (tag >>> 3) {
|
|
2045
|
-
case 1:
|
|
2046
|
-
message.path = reader.bytes();
|
|
2047
|
-
break;
|
|
2048
|
-
case 2:
|
|
2049
|
-
message.nextSeqRecv = reader.uint64();
|
|
2050
|
-
break;
|
|
2051
|
-
default:
|
|
2052
|
-
reader.skipType(tag & 7);
|
|
2053
|
-
break;
|
|
2054
|
-
}
|
|
2055
|
-
}
|
|
2056
|
-
return message;
|
|
2057
|
-
},
|
|
2058
|
-
fromPartial(object: DeepPartial<NextSequenceRecvData>): NextSequenceRecvData {
|
|
2059
|
-
const message = createBaseNextSequenceRecvData();
|
|
2060
|
-
message.path = object.path ?? new Uint8Array();
|
|
2061
|
-
message.nextSeqRecv = object.nextSeqRecv !== undefined && object.nextSeqRecv !== null ? BigInt(object.nextSeqRecv.toString()) : BigInt(0);
|
|
2062
|
-
return message;
|
|
2063
|
-
},
|
|
2064
|
-
fromAmino(object: NextSequenceRecvDataAmino): NextSequenceRecvData {
|
|
2065
|
-
const message = createBaseNextSequenceRecvData();
|
|
2066
|
-
if (object.path !== undefined && object.path !== null) {
|
|
2067
|
-
message.path = bytesFromBase64(object.path);
|
|
2068
|
-
}
|
|
2069
|
-
if (object.next_seq_recv !== undefined && object.next_seq_recv !== null) {
|
|
2070
|
-
message.nextSeqRecv = BigInt(object.next_seq_recv);
|
|
2071
|
-
}
|
|
2072
|
-
return message;
|
|
2073
|
-
},
|
|
2074
|
-
toAmino(message: NextSequenceRecvData): NextSequenceRecvDataAmino {
|
|
2075
|
-
const obj: any = {};
|
|
2076
|
-
obj.path = message.path ? base64FromBytes(message.path) : undefined;
|
|
2077
|
-
obj.next_seq_recv = message.nextSeqRecv !== BigInt(0) ? message.nextSeqRecv?.toString() : undefined;
|
|
2078
|
-
return obj;
|
|
2079
|
-
},
|
|
2080
|
-
fromAminoMsg(object: NextSequenceRecvDataAminoMsg): NextSequenceRecvData {
|
|
2081
|
-
return NextSequenceRecvData.fromAmino(object.value);
|
|
2082
|
-
},
|
|
2083
|
-
toAminoMsg(message: NextSequenceRecvData): NextSequenceRecvDataAminoMsg {
|
|
2084
|
-
return {
|
|
2085
|
-
type: "cosmos-sdk/NextSequenceRecvData",
|
|
2086
|
-
value: NextSequenceRecvData.toAmino(message)
|
|
2087
|
-
};
|
|
2088
|
-
},
|
|
2089
|
-
fromProtoMsg(message: NextSequenceRecvDataProtoMsg): NextSequenceRecvData {
|
|
2090
|
-
return NextSequenceRecvData.decode(message.value);
|
|
2091
|
-
},
|
|
2092
|
-
toProto(message: NextSequenceRecvData): Uint8Array {
|
|
2093
|
-
return NextSequenceRecvData.encode(message).finish();
|
|
2094
|
-
},
|
|
2095
|
-
toProtoMsg(message: NextSequenceRecvData): NextSequenceRecvDataProtoMsg {
|
|
2096
|
-
return {
|
|
2097
|
-
typeUrl: "/ibc.lightclients.solomachine.v2.NextSequenceRecvData",
|
|
2098
|
-
value: NextSequenceRecvData.encode(message).finish()
|
|
2099
|
-
};
|
|
2100
|
-
}
|
|
2101
|
-
};
|
|
2102
|
-
GlobalDecoderRegistry.register(NextSequenceRecvData.typeUrl, NextSequenceRecvData);
|
|
2103
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(NextSequenceRecvData.aminoType, NextSequenceRecvData.typeUrl);
|