@xpla/xplajs 1.7.0-beta.3 → 1.7.0-beta.4
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/dist/binary.d.ts +130 -0
- package/dist/binary.js +370 -0
- package/dist/cosmos/app/runtime/v1alpha1/module.d.ts +174 -0
- package/dist/cosmos/app/runtime/v1alpha1/module.js +293 -0
- package/dist/cosmos/app/runtime/v2/module.d.ts +228 -0
- package/dist/cosmos/app/runtime/v2/module.js +422 -0
- package/dist/cosmos/app/v1alpha1/config.d.ts +181 -0
- package/dist/cosmos/app/v1alpha1/config.js +297 -0
- package/dist/cosmos/app/v1alpha1/module.d.ts +234 -0
- package/dist/cosmos/app/v1alpha1/module.js +281 -0
- package/dist/cosmos/app/v1alpha1/query.d.ts +67 -0
- package/dist/cosmos/app/v1alpha1/query.js +149 -0
- package/dist/cosmos/app/v1alpha1/query.rpc.Query.d.ts +16 -0
- package/dist/cosmos/app/v1alpha1/query.rpc.Query.js +29 -0
- package/dist/cosmos/app/v1alpha1/query.rpc.func.d.ts +3 -0
- package/dist/cosmos/app/v1alpha1/query.rpc.func.js +13 -0
- package/dist/cosmos/auth/module/v1/module.d.ts +88 -0
- package/dist/cosmos/auth/module/v1/module.js +203 -0
- package/dist/cosmos/auth/v1beta1/accounts.d.ts +104 -0
- package/dist/cosmos/auth/v1beta1/accounts.js +162 -0
- package/dist/cosmos/auth/v1beta1/genesis.d.ts +42 -0
- package/dist/cosmos/auth/v1beta1/genesis.js +100 -0
- package/dist/cosmos/auth/v1beta1/query.lcd.d.ts +18 -0
- package/dist/cosmos/auth/v1beta1/query.lcd.js +92 -0
- package/dist/cosmos/auth/v1beta1/query.rpc.Query.d.ts +83 -0
- package/dist/cosmos/auth/v1beta1/query.rpc.Query.js +129 -0
- package/dist/cosmos/auth/v1beta1/tx.amino.d.ts +8 -0
- package/dist/cosmos/auth/v1beta1/tx.amino.js +11 -0
- package/dist/cosmos/auth/v1beta1/tx.d.ts +97 -0
- package/dist/cosmos/auth/v1beta1/tx.js +161 -0
- package/dist/cosmos/auth/v1beta1/tx.registry.d.ts +2 -0
- package/dist/cosmos/auth/v1beta1/tx.registry.js +5 -0
- package/dist/cosmos/auth/v1beta1/tx.rpc.msg.d.ts +18 -0
- package/dist/cosmos/auth/v1beta1/tx.rpc.msg.js +25 -0
- package/dist/cosmos/authz/module/v1/module.d.ts +32 -0
- package/dist/cosmos/authz/module/v1/module.js +70 -0
- package/dist/cosmos/authz/v1beta1/authz.d.ts +181 -0
- package/dist/cosmos/authz/v1beta1/event.d.ts +86 -0
- package/dist/cosmos/authz/v1beta1/event.js +209 -0
- package/dist/cosmos/authz/v1beta1/genesis.d.ts +35 -0
- package/dist/cosmos/authz/v1beta1/genesis.js +87 -0
- package/dist/cosmos/authz/v1beta1/query.d.ts +232 -0
- package/dist/cosmos/authz/v1beta1/query.js +580 -0
- package/dist/cosmos/authz/v1beta1/query.lcd.d.ts +11 -0
- package/dist/cosmos/authz/v1beta1/query.lcd.js +57 -0
- package/dist/cosmos/authz/v1beta1/query.rpc.Query.d.ts +32 -0
- package/dist/cosmos/authz/v1beta1/query.rpc.Query.js +51 -0
- package/dist/cosmos/authz/v1beta1/query.rpc.func.d.ts +5 -0
- package/dist/cosmos/authz/v1beta1/query.rpc.func.js +29 -0
- package/dist/cosmos/authz/v1beta1/tx.amino.d.ts +18 -0
- package/dist/cosmos/authz/v1beta1/tx.amino.js +21 -0
- package/dist/cosmos/authz/v1beta1/tx.registry.d.ts +2 -0
- package/dist/cosmos/authz/v1beta1/tx.registry.js +5 -0
- package/dist/cosmos/authz/v1beta1/tx.rpc.msg.d.ts +31 -0
- package/dist/cosmos/authz/v1beta1/tx.rpc.msg.js +40 -0
- package/dist/cosmos/autocli/v1/options.d.ts +412 -0
- package/dist/cosmos/autocli/v1/options.js +834 -0
- package/dist/cosmos/autocli/v1/query.d.ts +97 -0
- package/dist/cosmos/autocli/v1/query.js +237 -0
- package/dist/cosmos/autocli/v1/query.rpc.Query.d.ts +17 -0
- package/dist/cosmos/autocli/v1/query.rpc.Query.js +29 -0
- package/dist/cosmos/autocli/v1/query.rpc.func.d.ts +3 -0
- package/dist/cosmos/autocli/v1/query.rpc.func.js +13 -0
- package/dist/cosmos/bank/module/v1/module.d.ts +62 -0
- package/dist/cosmos/bank/module/v1/module.js +113 -0
- package/dist/cosmos/bank/v1beta1/authz.d.ts +59 -0
- package/dist/cosmos/bank/v1beta1/authz.js +102 -0
- package/dist/cosmos/bank/v1beta1/genesis.d.ts +112 -0
- package/dist/cosmos/bank/v1beta1/genesis.js +238 -0
- package/dist/cosmos/bank/v1beta1/query.lcd.d.ts +21 -0
- package/dist/cosmos/bank/v1beta1/query.lcd.js +192 -0
- package/dist/cosmos/bank/v1beta1/query.rpc.Query.d.ts +119 -0
- package/dist/cosmos/bank/v1beta1/query.rpc.Query.js +178 -0
- package/dist/cosmos/bank/v1beta1/tx.amino.d.ts +23 -0
- package/dist/cosmos/bank/v1beta1/tx.amino.js +26 -0
- package/dist/cosmos/bank/v1beta1/tx.registry.d.ts +2 -0
- package/dist/cosmos/bank/v1beta1/tx.registry.js +5 -0
- package/dist/cosmos/bank/v1beta1/tx.rpc.msg.d.ts +34 -0
- package/dist/cosmos/bank/v1beta1/tx.rpc.msg.js +48 -0
- package/dist/cosmos/base/grpc/v2/service.d.ts +163 -0
- package/dist/cosmos/base/grpc/v2/service.js +398 -0
- package/dist/cosmos/base/grpc/v2/service.rpc.Service.d.ts +20 -0
- package/dist/cosmos/base/grpc/v2/service.rpc.Service.js +38 -0
- package/dist/cosmos/base/grpc/v2/service.rpc.func.d.ts +4 -0
- package/dist/cosmos/base/grpc/v2/service.rpc.func.js +21 -0
- package/dist/cosmos/base/node/v1beta1/query.d.ts +150 -0
- package/dist/cosmos/base/node/v1beta1/query.js +377 -0
- package/dist/cosmos/base/node/v1beta1/query.lcd.d.ts +10 -0
- package/dist/cosmos/base/node/v1beta1/query.lcd.js +20 -0
- package/dist/cosmos/base/node/v1beta1/query.rpc.Service.d.ts +20 -0
- package/dist/cosmos/base/node/v1beta1/query.rpc.Service.js +38 -0
- package/dist/cosmos/base/node/v1beta1/query.rpc.func.d.ts +4 -0
- package/dist/cosmos/base/node/v1beta1/query.rpc.func.js +21 -0
- package/dist/cosmos/base/reflection/v1beta1/reflection.d.ts +144 -0
- package/dist/cosmos/base/reflection/v1beta1/reflection.js +310 -0
- package/dist/cosmos/base/reflection/v1beta1/reflection.rpc.func.d.ts +4 -0
- package/dist/cosmos/base/reflection/v1beta1/reflection.rpc.func.js +21 -0
- package/dist/cosmos/base/reflection/v2alpha1/reflection.d.ts +1008 -0
- package/dist/cosmos/base/reflection/v2alpha1/reflection.js +2159 -0
- package/dist/cosmos/base/reflection/v2alpha1/reflection.rpc.func.d.ts +8 -0
- package/dist/cosmos/base/reflection/v2alpha1/reflection.rpc.func.js +53 -0
- package/dist/cosmos/base/tendermint/v1beta1/query.d.ts +740 -0
- package/dist/cosmos/base/tendermint/v1beta1/query.js +1887 -0
- package/dist/cosmos/base/tendermint/v1beta1/query.lcd.d.ts +15 -0
- package/dist/cosmos/base/tendermint/v1beta1/query.lcd.js +79 -0
- package/dist/cosmos/base/tendermint/v1beta1/query.rpc.Service.d.ts +46 -0
- package/dist/cosmos/base/tendermint/v1beta1/query.rpc.Service.js +89 -0
- package/dist/cosmos/base/tendermint/v1beta1/query.rpc.func.d.ts +9 -0
- package/dist/cosmos/base/tendermint/v1beta1/query.rpc.func.js +61 -0
- package/dist/cosmos/base/tendermint/v1beta1/types.d.ts +137 -0
- package/dist/cosmos/base/tendermint/v1beta1/types.js +358 -0
- package/dist/cosmos/circuit/module/v1/module.d.ts +36 -0
- package/dist/cosmos/circuit/module/v1/module.js +83 -0
- package/dist/cosmos/circuit/v1/query.d.ts +200 -0
- package/dist/cosmos/circuit/v1/query.js +480 -0
- package/dist/cosmos/circuit/v1/query.lcd.d.ts +11 -0
- package/dist/cosmos/circuit/v1/query.lcd.js +34 -0
- package/dist/cosmos/circuit/v1/query.rpc.Query.d.ts +24 -0
- package/dist/cosmos/circuit/v1/query.rpc.Query.js +49 -0
- package/dist/cosmos/circuit/v1/query.rpc.func.d.ts +5 -0
- package/dist/cosmos/circuit/v1/query.rpc.func.js +29 -0
- package/dist/cosmos/circuit/v1/tx.amino.d.ts +18 -0
- package/dist/cosmos/circuit/v1/tx.amino.js +21 -0
- package/dist/cosmos/circuit/v1/tx.d.ts +251 -0
- package/dist/cosmos/circuit/v1/tx.js +528 -0
- package/dist/cosmos/circuit/v1/tx.registry.d.ts +2 -0
- package/dist/cosmos/circuit/v1/tx.registry.js +5 -0
- package/dist/cosmos/circuit/v1/tx.rpc.func.d.ts +5 -0
- package/dist/cosmos/circuit/v1/tx.rpc.func.js +27 -0
- package/dist/cosmos/circuit/v1/tx.rpc.msg.d.ts +25 -0
- package/dist/cosmos/circuit/v1/tx.rpc.msg.js +36 -0
- package/dist/cosmos/circuit/v1/types.d.ts +151 -0
- package/dist/cosmos/circuit/v1/types.js +350 -0
- package/dist/cosmos/consensus/module/v1/module.d.ts +36 -0
- package/dist/cosmos/consensus/module/v1/module.js +83 -0
- package/dist/cosmos/consensus/v1/query.d.ts +75 -0
- package/dist/cosmos/consensus/v1/query.js +149 -0
- package/dist/cosmos/consensus/v1/query.lcd.d.ts +9 -0
- package/dist/cosmos/consensus/v1/query.lcd.js +15 -0
- package/dist/cosmos/consensus/v1/query.rpc.Query.d.ts +16 -0
- package/dist/cosmos/consensus/v1/query.rpc.Query.js +29 -0
- package/dist/cosmos/consensus/v1/query.rpc.func.d.ts +3 -0
- package/dist/cosmos/consensus/v1/query.rpc.func.js +13 -0
- package/dist/cosmos/consensus/v1/tx.amino.d.ts +8 -0
- package/dist/cosmos/consensus/v1/tx.amino.js +11 -0
- package/dist/cosmos/consensus/v1/tx.d.ts +97 -0
- package/dist/cosmos/consensus/v1/tx.js +197 -0
- package/dist/cosmos/consensus/v1/tx.registry.d.ts +2 -0
- package/dist/cosmos/consensus/v1/tx.registry.js +5 -0
- package/dist/cosmos/consensus/v1/tx.rpc.func.d.ts +3 -0
- package/dist/cosmos/consensus/v1/tx.rpc.func.js +13 -0
- package/dist/cosmos/consensus/v1/tx.rpc.msg.d.ts +18 -0
- package/dist/cosmos/consensus/v1/tx.rpc.msg.js +25 -0
- package/dist/cosmos/crisis/module/v1/module.d.ts +40 -0
- package/dist/cosmos/crisis/module/v1/module.js +95 -0
- package/dist/cosmos/crisis/v1beta1/genesis.d.ts +43 -0
- package/dist/cosmos/crisis/v1beta1/genesis.js +84 -0
- package/dist/cosmos/crisis/v1beta1/tx.amino.d.ts +13 -0
- package/dist/cosmos/crisis/v1beta1/tx.amino.js +16 -0
- package/dist/cosmos/crisis/v1beta1/tx.d.ts +161 -0
- package/dist/cosmos/crisis/v1beta1/tx.js +328 -0
- package/dist/cosmos/crisis/v1beta1/tx.registry.d.ts +2 -0
- package/dist/cosmos/crisis/v1beta1/tx.registry.js +5 -0
- package/dist/cosmos/crisis/v1beta1/tx.rpc.func.d.ts +4 -0
- package/dist/cosmos/crisis/v1beta1/tx.rpc.func.js +20 -0
- package/dist/cosmos/crisis/v1beta1/tx.rpc.msg.d.ts +21 -0
- package/dist/cosmos/crisis/v1beta1/tx.rpc.msg.js +31 -0
- package/dist/cosmos/crypto/hd/v1/hd.d.ts +58 -0
- package/dist/cosmos/crypto/hd/v1/hd.js +131 -0
- package/dist/cosmos/crypto/keyring/v1/record.d.ts +188 -0
- package/dist/cosmos/crypto/keyring/v1/record.js +431 -0
- package/dist/cosmos/crypto/multisig/keys.d.ts +45 -0
- package/dist/cosmos/crypto/multisig/keys.js +99 -0
- package/dist/cosmos/distribution/module/v1/module.d.ts +38 -0
- package/dist/cosmos/distribution/module/v1/module.js +95 -0
- package/dist/cosmos/distribution/v1beta1/genesis.d.ts +376 -0
- package/dist/cosmos/distribution/v1beta1/genesis.js +895 -0
- package/dist/cosmos/distribution/v1beta1/query.d.ts +803 -0
- package/dist/cosmos/distribution/v1beta1/query.js +1662 -0
- package/dist/cosmos/distribution/v1beta1/query.lcd.d.ts +18 -0
- package/dist/cosmos/distribution/v1beta1/query.lcd.js +74 -0
- package/dist/cosmos/distribution/v1beta1/query.rpc.Query.d.ts +55 -0
- package/dist/cosmos/distribution/v1beta1/query.rpc.Query.js +111 -0
- package/dist/cosmos/distribution/v1beta1/query.rpc.func.d.ts +12 -0
- package/dist/cosmos/distribution/v1beta1/query.rpc.func.js +85 -0
- package/dist/cosmos/distribution/v1beta1/tx.amino.d.ts +38 -0
- package/dist/cosmos/distribution/v1beta1/tx.amino.js +41 -0
- package/dist/cosmos/distribution/v1beta1/tx.registry.d.ts +2 -0
- package/dist/cosmos/distribution/v1beta1/tx.registry.js +5 -0
- package/dist/cosmos/distribution/v1beta1/tx.rpc.msg.d.ts +60 -0
- package/dist/cosmos/distribution/v1beta1/tx.rpc.msg.js +73 -0
- package/dist/cosmos/evidence/module/v1/module.d.ts +32 -0
- package/dist/cosmos/evidence/module/v1/module.js +70 -0
- package/dist/cosmos/evidence/v1beta1/evidence.d.ts +54 -0
- package/dist/cosmos/evidence/v1beta1/evidence.js +121 -0
- package/dist/cosmos/evidence/v1beta1/genesis.d.ts +37 -0
- package/dist/cosmos/evidence/v1beta1/genesis.js +87 -0
- package/dist/cosmos/evidence/v1beta1/query.d.ts +176 -0
- package/dist/cosmos/evidence/v1beta1/query.js +347 -0
- package/dist/cosmos/evidence/v1beta1/query.lcd.d.ts +10 -0
- package/dist/cosmos/evidence/v1beta1/query.lcd.js +35 -0
- package/dist/cosmos/evidence/v1beta1/query.rpc.Query.d.ts +20 -0
- package/dist/cosmos/evidence/v1beta1/query.rpc.Query.js +40 -0
- package/dist/cosmos/evidence/v1beta1/query.rpc.func.d.ts +4 -0
- package/dist/cosmos/evidence/v1beta1/query.rpc.func.js +21 -0
- package/dist/cosmos/evidence/v1beta1/tx.amino.d.ts +8 -0
- package/dist/cosmos/evidence/v1beta1/tx.amino.js +11 -0
- package/dist/cosmos/evidence/v1beta1/tx.d.ts +84 -0
- package/dist/cosmos/evidence/v1beta1/tx.js +175 -0
- package/dist/cosmos/evidence/v1beta1/tx.registry.d.ts +2 -0
- package/dist/cosmos/evidence/v1beta1/tx.registry.js +5 -0
- package/dist/cosmos/evidence/v1beta1/tx.rpc.func.d.ts +3 -0
- package/dist/cosmos/evidence/v1beta1/tx.rpc.func.js +13 -0
- package/dist/cosmos/evidence/v1beta1/tx.rpc.msg.d.ts +16 -0
- package/dist/cosmos/evidence/v1beta1/tx.rpc.msg.js +23 -0
- package/dist/cosmos/feegrant/module/v1/module.d.ts +32 -0
- package/dist/cosmos/feegrant/module/v1/module.js +70 -0
- package/dist/cosmos/feegrant/v1beta1/feegrant.d.ts +219 -0
- package/dist/cosmos/feegrant/v1beta1/feegrant.js +430 -0
- package/dist/cosmos/feegrant/v1beta1/genesis.d.ts +35 -0
- package/dist/cosmos/feegrant/v1beta1/genesis.js +87 -0
- package/dist/cosmos/feegrant/v1beta1/query.d.ts +240 -0
- package/dist/cosmos/feegrant/v1beta1/query.js +541 -0
- package/dist/cosmos/feegrant/v1beta1/query.lcd.d.ts +11 -0
- package/dist/cosmos/feegrant/v1beta1/query.lcd.js +40 -0
- package/dist/cosmos/feegrant/v1beta1/query.rpc.Query.d.ts +28 -0
- package/dist/cosmos/feegrant/v1beta1/query.rpc.Query.js +49 -0
- package/dist/cosmos/feegrant/v1beta1/query.rpc.func.d.ts +5 -0
- package/dist/cosmos/feegrant/v1beta1/query.rpc.func.js +29 -0
- package/dist/cosmos/feegrant/v1beta1/tx.amino.d.ts +18 -0
- package/dist/cosmos/feegrant/v1beta1/tx.amino.js +21 -0
- package/dist/cosmos/feegrant/v1beta1/tx.d.ts +233 -0
- package/dist/cosmos/feegrant/v1beta1/tx.registry.d.ts +2 -0
- package/dist/cosmos/feegrant/v1beta1/tx.registry.js +5 -0
- package/dist/cosmos/feegrant/v1beta1/tx.rpc.msg.d.ts +29 -0
- package/dist/cosmos/feegrant/v1beta1/tx.rpc.msg.js +38 -0
- package/dist/cosmos/genutil/module/v1/module.d.ts +32 -0
- package/dist/cosmos/genutil/module/v1/module.js +70 -0
- package/dist/cosmos/genutil/v1beta1/genesis.d.ts +36 -0
- package/dist/cosmos/genutil/v1beta1/genesis.js +87 -0
- package/dist/cosmos/gov/module/v1/module.d.ts +46 -0
- package/dist/cosmos/gov/module/v1/module.js +95 -0
- package/dist/cosmos/gov/v1/genesis.d.ts +115 -0
- package/dist/cosmos/gov/v1/genesis.js +189 -0
- package/dist/cosmos/gov/v1/query.d.ts +706 -0
- package/dist/cosmos/gov/v1/query.js +1564 -0
- package/dist/cosmos/gov/v1/query.lcd.d.ts +17 -0
- package/dist/cosmos/gov/v1/query.lcd.js +83 -0
- package/dist/cosmos/gov/v1/query.rpc.Query.d.ts +48 -0
- package/dist/cosmos/gov/v1/query.rpc.Query.js +101 -0
- package/dist/cosmos/gov/v1/query.rpc.func.d.ts +11 -0
- package/dist/cosmos/gov/v1/query.rpc.func.js +77 -0
- package/dist/cosmos/gov/v1/tx.amino.d.ts +38 -0
- package/dist/cosmos/gov/v1/tx.amino.js +41 -0
- package/dist/cosmos/gov/v1/tx.d.ts +626 -0
- package/dist/cosmos/gov/v1/tx.registry.d.ts +2 -0
- package/dist/cosmos/gov/v1/tx.registry.js +5 -0
- package/dist/cosmos/gov/v1/tx.rpc.msg.d.ts +43 -0
- package/dist/cosmos/gov/v1/tx.rpc.msg.js +64 -0
- package/dist/cosmos/gov/v1beta1/genesis.d.ts +61 -0
- package/dist/cosmos/gov/v1beta1/genesis.js +165 -0
- package/dist/cosmos/gov/v1beta1/gov.d.ts +524 -0
- package/dist/cosmos/gov/v1beta1/query.lcd.d.ts +16 -0
- package/dist/cosmos/gov/v1beta1/query.lcd.js +78 -0
- package/dist/cosmos/gov/v1beta1/query.rpc.Query.d.ts +44 -0
- package/dist/cosmos/gov/v1beta1/query.rpc.Query.js +92 -0
- package/dist/cosmos/gov/v1beta1/tx.amino.d.ts +23 -0
- package/dist/cosmos/gov/v1beta1/tx.amino.js +26 -0
- package/dist/cosmos/gov/v1beta1/tx.d.ts +327 -0
- package/dist/cosmos/gov/v1beta1/tx.registry.d.ts +2 -0
- package/dist/cosmos/gov/v1beta1/tx.registry.js +5 -0
- package/dist/cosmos/gov/v1beta1/tx.rpc.msg.d.ts +26 -0
- package/dist/cosmos/gov/v1beta1/tx.rpc.msg.js +42 -0
- package/dist/cosmos/group/module/v1/module.d.ts +53 -0
- package/dist/cosmos/group/module/v1/module.js +96 -0
- package/dist/cosmos/group/v1/events.d.ts +363 -0
- package/dist/cosmos/group/v1/events.js +847 -0
- package/dist/cosmos/group/v1/genesis.d.ts +83 -0
- package/dist/cosmos/group/v1/genesis.js +183 -0
- package/dist/cosmos/group/v1/query.d.ts +1044 -0
- package/dist/cosmos/group/v1/query.js +2434 -0
- package/dist/cosmos/group/v1/query.lcd.d.ts +22 -0
- package/dist/cosmos/group/v1/query.lcd.js +143 -0
- package/dist/cosmos/group/v1/query.rpc.Query.d.ts +78 -0
- package/dist/cosmos/group/v1/query.rpc.Query.js +154 -0
- package/dist/cosmos/group/v1/query.rpc.func.d.ts +16 -0
- package/dist/cosmos/group/v1/query.rpc.func.js +117 -0
- package/dist/cosmos/group/v1/tx.amino.d.ts +73 -0
- package/dist/cosmos/group/v1/tx.amino.js +76 -0
- package/dist/cosmos/group/v1/tx.registry.d.ts +2 -0
- package/dist/cosmos/group/v1/tx.registry.js +5 -0
- package/dist/cosmos/group/v1/tx.rpc.msg.d.ts +52 -0
- package/dist/cosmos/group/v1/tx.rpc.msg.js +100 -0
- package/dist/cosmos/mint/module/v1/module.d.ts +38 -0
- package/dist/cosmos/mint/module/v1/module.js +95 -0
- package/dist/cosmos/mint/v1beta1/genesis.d.ts +41 -0
- package/dist/cosmos/mint/v1beta1/genesis.js +96 -0
- package/dist/cosmos/mint/v1beta1/mint.d.ts +94 -0
- package/dist/cosmos/mint/v1beta1/mint.js +233 -0
- package/dist/cosmos/mint/v1beta1/query.d.ts +213 -0
- package/dist/cosmos/mint/v1beta1/query.js +436 -0
- package/dist/cosmos/mint/v1beta1/query.lcd.d.ts +11 -0
- package/dist/cosmos/mint/v1beta1/query.lcd.js +25 -0
- package/dist/cosmos/mint/v1beta1/query.rpc.Query.d.ts +24 -0
- package/dist/cosmos/mint/v1beta1/query.rpc.Query.js +47 -0
- package/dist/cosmos/mint/v1beta1/query.rpc.func.d.ts +5 -0
- package/dist/cosmos/mint/v1beta1/query.rpc.func.js +29 -0
- package/dist/cosmos/mint/v1beta1/tx.amino.d.ts +8 -0
- package/dist/cosmos/mint/v1beta1/tx.amino.js +11 -0
- package/dist/cosmos/mint/v1beta1/tx.d.ts +97 -0
- package/dist/cosmos/mint/v1beta1/tx.js +161 -0
- package/dist/cosmos/mint/v1beta1/tx.registry.d.ts +2 -0
- package/dist/cosmos/mint/v1beta1/tx.registry.js +5 -0
- package/dist/cosmos/mint/v1beta1/tx.rpc.func.d.ts +3 -0
- package/dist/cosmos/mint/v1beta1/tx.rpc.func.js +13 -0
- package/dist/cosmos/mint/v1beta1/tx.rpc.msg.d.ts +18 -0
- package/dist/cosmos/mint/v1beta1/tx.rpc.msg.js +25 -0
- package/dist/cosmos/nft/module/v1/module.d.ts +32 -0
- package/dist/cosmos/nft/module/v1/module.js +70 -0
- package/dist/cosmos/nft/v1beta1/event.d.ts +132 -0
- package/dist/cosmos/nft/v1beta1/event.js +323 -0
- package/dist/cosmos/nft/v1beta1/genesis.d.ts +79 -0
- package/dist/cosmos/nft/v1beta1/genesis.js +195 -0
- package/dist/cosmos/nft/v1beta1/nft.d.ts +111 -0
- package/dist/cosmos/nft/v1beta1/nft.js +282 -0
- package/dist/cosmos/nft/v1beta1/query.d.ts +508 -0
- package/dist/cosmos/nft/v1beta1/query.js +1189 -0
- package/dist/cosmos/nft/v1beta1/query.lcd.d.ts +15 -0
- package/dist/cosmos/nft/v1beta1/query.lcd.js +67 -0
- package/dist/cosmos/nft/v1beta1/query.rpc.Query.d.ts +43 -0
- package/dist/cosmos/nft/v1beta1/query.rpc.Query.js +86 -0
- package/dist/cosmos/nft/v1beta1/query.rpc.func.d.ts +9 -0
- package/dist/cosmos/nft/v1beta1/query.rpc.func.js +61 -0
- package/dist/cosmos/nft/v1beta1/tx.amino.d.ts +8 -0
- package/dist/cosmos/nft/v1beta1/tx.amino.js +11 -0
- package/dist/cosmos/nft/v1beta1/tx.d.ts +78 -0
- package/dist/cosmos/nft/v1beta1/tx.js +184 -0
- package/dist/cosmos/nft/v1beta1/tx.registry.d.ts +2 -0
- package/dist/cosmos/nft/v1beta1/tx.registry.js +5 -0
- package/dist/cosmos/nft/v1beta1/tx.rpc.func.d.ts +3 -0
- package/dist/cosmos/nft/v1beta1/tx.rpc.func.js +13 -0
- package/dist/cosmos/nft/v1beta1/tx.rpc.msg.d.ts +13 -0
- package/dist/cosmos/nft/v1beta1/tx.rpc.msg.js +22 -0
- package/dist/cosmos/orm/module/v1alpha1/module.d.ts +40 -0
- package/dist/cosmos/orm/module/v1alpha1/module.js +70 -0
- package/dist/cosmos/orm/query/v1alpha1/query.d.ts +367 -0
- package/dist/cosmos/orm/query/v1alpha1/query.js +751 -0
- package/dist/cosmos/orm/query/v1alpha1/query.rpc.Query.d.ts +20 -0
- package/dist/cosmos/orm/query/v1alpha1/query.rpc.Query.js +38 -0
- package/dist/cosmos/orm/query/v1alpha1/query.rpc.func.d.ts +4 -0
- package/dist/cosmos/orm/query/v1alpha1/query.rpc.func.js +21 -0
- package/dist/cosmos/orm/v1/orm.d.ts +278 -0
- package/dist/cosmos/orm/v1/orm.js +380 -0
- package/dist/cosmos/orm/v1alpha1/schema.d.ts +134 -0
- package/dist/cosmos/orm/v1alpha1/schema.js +258 -0
- package/dist/cosmos/params/module/v1/module.d.ts +32 -0
- package/dist/cosmos/params/module/v1/module.js +70 -0
- package/dist/cosmos/params/v1beta1/params.d.ts +80 -0
- package/dist/cosmos/params/v1beta1/params.js +212 -0
- package/dist/cosmos/params/v1beta1/query.d.ts +201 -0
- package/dist/cosmos/params/v1beta1/query.js +413 -0
- package/dist/cosmos/params/v1beta1/query.lcd.d.ts +10 -0
- package/dist/cosmos/params/v1beta1/query.lcd.js +32 -0
- package/dist/cosmos/params/v1beta1/query.rpc.Query.d.ts +27 -0
- package/dist/cosmos/params/v1beta1/query.rpc.Query.js +41 -0
- package/dist/cosmos/params/v1beta1/query.rpc.func.d.ts +4 -0
- package/dist/cosmos/params/v1beta1/query.rpc.func.js +21 -0
- package/dist/cosmos/reflection/v1/reflection.d.ts +67 -0
- package/dist/cosmos/reflection/v1/reflection.js +152 -0
- package/dist/cosmos/reflection/v1/reflection.rpc.func.d.ts +3 -0
- package/dist/cosmos/reflection/v1/reflection.rpc.func.js +13 -0
- package/dist/cosmos/rpc.query.d.ts +81 -0
- package/dist/cosmos/rpc.query.js +62 -0
- package/dist/cosmos/rpc.tx.d.ts +32 -0
- package/dist/cosmos/rpc.tx.js +66 -0
- package/dist/cosmos/slashing/module/v1/module.d.ts +36 -0
- package/dist/cosmos/slashing/module/v1/module.js +83 -0
- package/dist/cosmos/slashing/v1beta1/genesis.d.ts +177 -0
- package/dist/cosmos/slashing/v1beta1/genesis.js +387 -0
- package/dist/cosmos/slashing/v1beta1/query.d.ts +226 -0
- package/dist/cosmos/slashing/v1beta1/query.js +477 -0
- package/dist/cosmos/slashing/v1beta1/query.lcd.d.ts +11 -0
- package/dist/cosmos/slashing/v1beta1/query.lcd.js +34 -0
- package/dist/cosmos/slashing/v1beta1/query.rpc.Query.d.ts +24 -0
- package/dist/cosmos/slashing/v1beta1/query.rpc.Query.js +49 -0
- package/dist/cosmos/slashing/v1beta1/query.rpc.func.d.ts +5 -0
- package/dist/cosmos/slashing/v1beta1/query.rpc.func.js +29 -0
- package/dist/cosmos/slashing/v1beta1/slashing.d.ts +123 -0
- package/dist/cosmos/slashing/v1beta1/slashing.js +272 -0
- package/dist/cosmos/slashing/v1beta1/tx.amino.d.ts +13 -0
- package/dist/cosmos/slashing/v1beta1/tx.amino.js +16 -0
- package/dist/cosmos/slashing/v1beta1/tx.d.ts +159 -0
- package/dist/cosmos/slashing/v1beta1/tx.js +304 -0
- package/dist/cosmos/slashing/v1beta1/tx.registry.d.ts +2 -0
- package/dist/cosmos/slashing/v1beta1/tx.registry.js +5 -0
- package/dist/cosmos/slashing/v1beta1/tx.rpc.func.d.ts +4 -0
- package/dist/cosmos/slashing/v1beta1/tx.rpc.func.js +20 -0
- package/dist/cosmos/slashing/v1beta1/tx.rpc.msg.d.ts +25 -0
- package/dist/cosmos/slashing/v1beta1/tx.rpc.msg.js +33 -0
- package/dist/cosmos/staking/module/v1/module.d.ts +56 -0
- package/dist/cosmos/staking/module/v1/module.js +122 -0
- package/dist/cosmos/staking/v1beta1/authz.d.ts +122 -0
- package/dist/cosmos/staking/v1beta1/authz.js +264 -0
- package/dist/cosmos/staking/v1beta1/genesis.d.ts +115 -0
- package/dist/cosmos/staking/v1beta1/genesis.js +274 -0
- package/dist/cosmos/staking/v1beta1/query.lcd.d.ts +22 -0
- package/dist/cosmos/staking/v1beta1/query.lcd.js +157 -0
- package/dist/cosmos/staking/v1beta1/query.rpc.Query.d.ts +111 -0
- package/dist/cosmos/staking/v1beta1/query.rpc.Query.js +171 -0
- package/dist/cosmos/staking/v1beta1/tx.amino.d.ts +38 -0
- package/dist/cosmos/staking/v1beta1/tx.amino.js +41 -0
- package/dist/cosmos/staking/v1beta1/tx.registry.d.ts +2 -0
- package/dist/cosmos/staking/v1beta1/tx.registry.js +5 -0
- package/dist/cosmos/staking/v1beta1/tx.rpc.msg.d.ts +49 -0
- package/dist/cosmos/staking/v1beta1/tx.rpc.msg.js +66 -0
- package/dist/cosmos/store/internal/kv/v1beta1/kv.d.ts +68 -0
- package/dist/cosmos/store/internal/kv/v1beta1/kv.js +177 -0
- package/dist/cosmos/store/snapshots/v1/snapshot.d.ts +294 -0
- package/dist/cosmos/store/snapshots/v1/snapshot.js +687 -0
- package/dist/cosmos/store/snapshots/v2/snapshot.d.ts +254 -0
- package/dist/cosmos/store/snapshots/v2/snapshot.js +687 -0
- package/dist/cosmos/store/streaming/abci/grpc.d.ts +136 -0
- package/dist/cosmos/store/streaming/abci/grpc.js +332 -0
- package/dist/cosmos/store/v1beta1/commit_info.d.ts +124 -0
- package/dist/cosmos/store/v1beta1/commit_info.js +292 -0
- package/dist/cosmos/store/v1beta1/listening.d.ts +101 -0
- package/dist/cosmos/store/v1beta1/listening.js +223 -0
- package/dist/cosmos/streaming/v1/grpc.d.ts +302 -0
- package/dist/cosmos/streaming/v1/grpc.js +826 -0
- package/dist/cosmos/tx/config/v1/config.d.ts +52 -0
- package/dist/cosmos/tx/config/v1/config.js +95 -0
- package/dist/cosmos/tx/v1beta1/service.lcd.d.ts +11 -0
- package/dist/cosmos/tx/v1beta1/service.lcd.js +55 -0
- package/dist/cosmos/tx/v1beta1/service.rpc.Service.d.ts +68 -0
- package/dist/cosmos/tx/v1beta1/service.rpc.Service.js +111 -0
- package/dist/cosmos/upgrade/module/v1/module.d.ts +36 -0
- package/dist/cosmos/upgrade/module/v1/module.js +83 -0
- package/dist/cosmos/upgrade/v1beta1/query.d.ts +423 -0
- package/dist/cosmos/upgrade/v1beta1/query.js +764 -0
- package/dist/cosmos/upgrade/v1beta1/query.lcd.d.ts +13 -0
- package/dist/cosmos/upgrade/v1beta1/query.lcd.js +50 -0
- package/dist/cosmos/upgrade/v1beta1/query.rpc.Query.d.ts +47 -0
- package/dist/cosmos/upgrade/v1beta1/query.rpc.Query.js +74 -0
- package/dist/cosmos/upgrade/v1beta1/query.rpc.func.d.ts +7 -0
- package/dist/cosmos/upgrade/v1beta1/query.rpc.func.js +45 -0
- package/dist/cosmos/upgrade/v1beta1/tx.amino.d.ts +13 -0
- package/dist/cosmos/upgrade/v1beta1/tx.amino.js +16 -0
- package/dist/cosmos/upgrade/v1beta1/tx.d.ts +167 -0
- package/dist/cosmos/upgrade/v1beta1/tx.js +304 -0
- package/dist/cosmos/upgrade/v1beta1/tx.registry.d.ts +2 -0
- package/dist/cosmos/upgrade/v1beta1/tx.registry.js +5 -0
- package/dist/cosmos/upgrade/v1beta1/tx.rpc.func.d.ts +4 -0
- package/dist/cosmos/upgrade/v1beta1/tx.rpc.func.js +20 -0
- package/dist/cosmos/upgrade/v1beta1/tx.rpc.msg.d.ts +25 -0
- package/dist/cosmos/upgrade/v1beta1/tx.rpc.msg.js +33 -0
- package/dist/cosmos/validate/module/v1/module.d.ts +32 -0
- package/dist/cosmos/validate/module/v1/module.js +70 -0
- package/dist/cosmos/vesting/module/v1/module.d.ts +32 -0
- package/dist/cosmos/vesting/module/v1/module.js +70 -0
- package/dist/cosmos/vesting/v1beta1/tx.amino.d.ts +18 -0
- package/dist/cosmos/vesting/v1beta1/tx.amino.js +21 -0
- package/dist/cosmos/vesting/v1beta1/tx.registry.d.ts +2 -0
- package/dist/cosmos/vesting/v1beta1/tx.registry.js +5 -0
- package/dist/cosmos/vesting/v1beta1/tx.rpc.msg.d.ts +32 -0
- package/dist/cosmos/vesting/v1beta1/tx.rpc.msg.js +41 -0
- package/dist/cosmwasm/wasm/v1/authz.d.ts +500 -0
- package/dist/cosmwasm/wasm/v1/authz.js +924 -0
- package/dist/cosmwasm/wasm/v1/genesis.d.ts +153 -0
- package/dist/cosmwasm/wasm/v1/genesis.js +454 -0
- package/dist/cosmwasm/wasm/v1/ibc.d.ts +132 -0
- package/dist/cosmwasm/wasm/v1/ibc.js +276 -0
- package/dist/cosmwasm/wasm/v1/proposal_legacy.d.ts +872 -0
- package/dist/cosmwasm/wasm/v1/proposal_legacy.js +1784 -0
- package/dist/cosmwasm/wasm/v1/query.d.ts +922 -0
- package/dist/cosmwasm/wasm/v1/query.js +2022 -0
- package/dist/cosmwasm/wasm/v1/query.lcd.d.ts +19 -0
- package/dist/cosmwasm/wasm/v1/query.lcd.js +106 -0
- package/dist/cosmwasm/wasm/v1/query.rpc.Query.d.ts +56 -0
- package/dist/cosmwasm/wasm/v1/query.rpc.Query.js +123 -0
- package/dist/cosmwasm/wasm/v1/query.rpc.func.d.ts +13 -0
- package/dist/cosmwasm/wasm/v1/query.rpc.func.js +93 -0
- package/dist/cosmwasm/wasm/v1/tx.amino.d.ts +88 -0
- package/dist/cosmwasm/wasm/v1/tx.amino.js +91 -0
- package/dist/cosmwasm/wasm/v1/tx.d.ts +1534 -0
- package/dist/cosmwasm/wasm/v1/tx.js +3236 -0
- package/dist/cosmwasm/wasm/v1/tx.registry.d.ts +2 -0
- package/dist/cosmwasm/wasm/v1/tx.registry.js +5 -0
- package/dist/cosmwasm/wasm/v1/tx.rpc.func.d.ts +19 -0
- package/dist/cosmwasm/wasm/v1/tx.rpc.func.js +125 -0
- package/dist/cosmwasm/wasm/v1/tx.rpc.msg.d.ts +109 -0
- package/dist/cosmwasm/wasm/v1/tx.rpc.msg.js +144 -0
- package/dist/cosmwasm/wasm/v1/types.d.ts +374 -0
- package/dist/cosmwasm/wasm/v1/types.js +917 -0
- package/dist/esm/binary.js +365 -0
- package/dist/esm/cosmos/app/runtime/v1alpha1/module.js +290 -0
- package/dist/esm/cosmos/app/runtime/v2/module.js +419 -0
- package/dist/esm/cosmos/app/v1alpha1/config.js +294 -0
- package/dist/esm/cosmos/app/v1alpha1/module.js +278 -0
- package/dist/esm/cosmos/app/v1alpha1/query.js +146 -0
- package/dist/esm/cosmos/app/v1alpha1/query.rpc.Query.js +24 -0
- package/dist/esm/cosmos/app/v1alpha1/query.rpc.func.js +9 -0
- package/dist/esm/cosmos/auth/module/v1/module.js +200 -0
- package/dist/esm/cosmos/auth/v1beta1/accounts.js +159 -0
- package/dist/esm/cosmos/auth/v1beta1/auth.js +442 -0
- package/dist/esm/cosmos/auth/v1beta1/genesis.js +97 -0
- package/dist/esm/cosmos/auth/v1beta1/query.js +1558 -0
- package/dist/esm/cosmos/auth/v1beta1/query.lcd.js +88 -0
- package/dist/esm/cosmos/auth/v1beta1/query.rpc.Query.js +124 -0
- package/dist/esm/cosmos/auth/v1beta1/query.rpc.func.js +72 -0
- package/dist/esm/cosmos/auth/v1beta1/tx.amino.js +8 -0
- package/dist/esm/cosmos/auth/v1beta1/tx.js +158 -0
- package/dist/esm/cosmos/auth/v1beta1/tx.registry.js +2 -0
- package/dist/esm/cosmos/auth/v1beta1/tx.rpc.func.js +9 -0
- package/dist/esm/cosmos/auth/v1beta1/tx.rpc.msg.js +20 -0
- package/dist/esm/cosmos/authz/module/v1/module.js +67 -0
- package/dist/esm/cosmos/authz/v1beta1/authz.js +368 -0
- package/dist/esm/cosmos/authz/v1beta1/event.js +206 -0
- package/dist/esm/cosmos/authz/v1beta1/genesis.js +84 -0
- package/dist/esm/cosmos/authz/v1beta1/query.js +577 -0
- package/dist/esm/cosmos/authz/v1beta1/query.lcd.js +53 -0
- package/dist/esm/cosmos/authz/v1beta1/query.rpc.Query.js +46 -0
- package/dist/esm/cosmos/authz/v1beta1/query.rpc.func.js +23 -0
- package/dist/esm/cosmos/authz/v1beta1/tx.amino.js +18 -0
- package/dist/esm/cosmos/authz/v1beta1/tx.js +513 -0
- package/dist/esm/cosmos/authz/v1beta1/tx.registry.js +2 -0
- package/dist/esm/cosmos/authz/v1beta1/tx.rpc.func.js +21 -0
- package/dist/esm/cosmos/authz/v1beta1/tx.rpc.msg.js +35 -0
- package/dist/esm/cosmos/autocli/v1/options.js +831 -0
- package/dist/esm/cosmos/autocli/v1/query.js +234 -0
- package/dist/esm/cosmos/autocli/v1/query.rpc.Query.js +24 -0
- package/dist/esm/cosmos/autocli/v1/query.rpc.func.js +9 -0
- package/dist/esm/cosmos/bank/module/v1/module.js +110 -0
- package/dist/esm/cosmos/bank/v1beta1/authz.js +99 -0
- package/dist/esm/cosmos/bank/v1beta1/bank.js +723 -0
- package/dist/esm/cosmos/bank/v1beta1/genesis.js +235 -0
- package/dist/esm/cosmos/bank/v1beta1/query.js +2314 -0
- package/dist/esm/cosmos/bank/v1beta1/query.lcd.js +188 -0
- package/dist/esm/cosmos/bank/v1beta1/query.rpc.Query.js +173 -0
- package/dist/esm/cosmos/bank/v1beta1/query.rpc.func.js +93 -0
- package/dist/esm/cosmos/bank/v1beta1/tx.amino.js +23 -0
- package/dist/esm/cosmos/bank/v1beta1/tx.js +663 -0
- package/dist/esm/cosmos/bank/v1beta1/tx.registry.js +2 -0
- package/dist/esm/cosmos/bank/v1beta1/tx.rpc.func.js +27 -0
- package/dist/esm/cosmos/bank/v1beta1/tx.rpc.msg.js +43 -0
- package/dist/esm/cosmos/base/abci/v1beta1/abci.js +1290 -0
- package/dist/esm/cosmos/base/grpc/v2/service.js +395 -0
- package/dist/esm/cosmos/base/grpc/v2/service.rpc.Service.js +33 -0
- package/dist/esm/cosmos/base/grpc/v2/service.rpc.func.js +16 -0
- package/dist/esm/cosmos/base/node/v1beta1/query.js +374 -0
- package/dist/esm/cosmos/base/node/v1beta1/query.lcd.js +16 -0
- package/dist/esm/cosmos/base/node/v1beta1/query.rpc.Service.js +33 -0
- package/dist/esm/cosmos/base/node/v1beta1/query.rpc.func.js +16 -0
- package/dist/esm/cosmos/base/query/v1beta1/pagination.js +219 -0
- package/dist/esm/cosmos/base/reflection/v1beta1/reflection.js +307 -0
- package/dist/esm/cosmos/base/reflection/v1beta1/reflection.rpc.func.js +16 -0
- package/dist/esm/cosmos/base/reflection/v2alpha1/reflection.js +2156 -0
- package/dist/esm/cosmos/base/reflection/v2alpha1/reflection.rpc.func.js +44 -0
- package/dist/esm/cosmos/base/tendermint/v1beta1/query.js +1884 -0
- package/dist/esm/cosmos/base/tendermint/v1beta1/query.lcd.js +75 -0
- package/dist/esm/cosmos/base/tendermint/v1beta1/query.rpc.Service.js +84 -0
- package/dist/esm/cosmos/base/tendermint/v1beta1/query.rpc.func.js +51 -0
- package/dist/esm/cosmos/base/tendermint/v1beta1/types.js +355 -0
- package/dist/esm/cosmos/base/v1beta1/coin.js +338 -0
- package/dist/esm/cosmos/circuit/module/v1/module.js +80 -0
- package/dist/esm/cosmos/circuit/v1/query.js +477 -0
- package/dist/esm/cosmos/circuit/v1/query.lcd.js +30 -0
- package/dist/esm/cosmos/circuit/v1/query.rpc.Query.js +44 -0
- package/dist/esm/cosmos/circuit/v1/query.rpc.func.js +23 -0
- package/dist/esm/cosmos/circuit/v1/tx.amino.js +18 -0
- package/dist/esm/cosmos/circuit/v1/tx.js +525 -0
- package/dist/esm/cosmos/circuit/v1/tx.registry.js +2 -0
- package/dist/esm/cosmos/circuit/v1/tx.rpc.func.js +21 -0
- package/dist/esm/cosmos/circuit/v1/tx.rpc.msg.js +31 -0
- package/dist/esm/cosmos/circuit/v1/types.js +345 -0
- package/dist/esm/cosmos/consensus/module/v1/module.js +80 -0
- package/dist/esm/cosmos/consensus/v1/query.js +146 -0
- package/dist/esm/cosmos/consensus/v1/query.lcd.js +11 -0
- package/dist/esm/cosmos/consensus/v1/query.rpc.Query.js +24 -0
- package/dist/esm/cosmos/consensus/v1/query.rpc.func.js +9 -0
- package/dist/esm/cosmos/consensus/v1/tx.amino.js +8 -0
- package/dist/esm/cosmos/consensus/v1/tx.js +194 -0
- package/dist/esm/cosmos/consensus/v1/tx.registry.js +2 -0
- package/dist/esm/cosmos/consensus/v1/tx.rpc.func.js +9 -0
- package/dist/esm/cosmos/consensus/v1/tx.rpc.msg.js +20 -0
- package/dist/esm/cosmos/crisis/module/v1/module.js +92 -0
- package/dist/esm/cosmos/crisis/v1beta1/genesis.js +81 -0
- package/dist/esm/cosmos/crisis/v1beta1/tx.amino.js +13 -0
- package/dist/esm/cosmos/crisis/v1beta1/tx.js +325 -0
- package/dist/esm/cosmos/crisis/v1beta1/tx.registry.js +2 -0
- package/dist/esm/cosmos/crisis/v1beta1/tx.rpc.func.js +15 -0
- package/dist/esm/cosmos/crisis/v1beta1/tx.rpc.msg.js +26 -0
- package/dist/esm/cosmos/crypto/ed25519/keys.js +159 -0
- package/dist/esm/cosmos/crypto/hd/v1/hd.js +128 -0
- package/dist/esm/cosmos/crypto/keyring/v1/record.js +428 -0
- package/dist/esm/cosmos/crypto/multisig/keys.js +96 -0
- package/dist/esm/cosmos/crypto/multisig/v1beta1/multisig.js +174 -0
- package/dist/esm/cosmos/crypto/secp256k1/keys.js +159 -0
- package/dist/esm/cosmos/crypto/secp256r1/keys.js +159 -0
- package/dist/esm/cosmos/distribution/module/v1/module.js +92 -0
- package/dist/esm/cosmos/distribution/v1beta1/distribution.js +1155 -0
- package/dist/esm/cosmos/distribution/v1beta1/genesis.js +892 -0
- package/dist/esm/cosmos/distribution/v1beta1/query.js +1659 -0
- package/dist/esm/cosmos/distribution/v1beta1/query.lcd.js +70 -0
- package/dist/esm/cosmos/distribution/v1beta1/query.rpc.Query.js +106 -0
- package/dist/esm/cosmos/distribution/v1beta1/query.rpc.func.js +72 -0
- package/dist/esm/cosmos/distribution/v1beta1/tx.amino.js +38 -0
- package/dist/esm/cosmos/distribution/v1beta1/tx.js +1142 -0
- package/dist/esm/cosmos/distribution/v1beta1/tx.registry.js +2 -0
- package/dist/esm/cosmos/distribution/v1beta1/tx.rpc.func.js +45 -0
- package/dist/esm/cosmos/distribution/v1beta1/tx.rpc.msg.js +68 -0
- package/dist/esm/cosmos/evidence/module/v1/module.js +67 -0
- package/dist/esm/cosmos/evidence/v1beta1/evidence.js +118 -0
- package/dist/esm/cosmos/evidence/v1beta1/genesis.js +84 -0
- package/dist/esm/cosmos/evidence/v1beta1/query.js +344 -0
- package/dist/esm/cosmos/evidence/v1beta1/query.lcd.js +31 -0
- package/dist/esm/cosmos/evidence/v1beta1/query.rpc.Query.js +35 -0
- package/dist/esm/cosmos/evidence/v1beta1/query.rpc.func.js +16 -0
- package/dist/esm/cosmos/evidence/v1beta1/tx.amino.js +8 -0
- package/dist/esm/cosmos/evidence/v1beta1/tx.js +172 -0
- package/dist/esm/cosmos/evidence/v1beta1/tx.registry.js +2 -0
- package/dist/esm/cosmos/evidence/v1beta1/tx.rpc.func.js +9 -0
- package/dist/esm/cosmos/evidence/v1beta1/tx.rpc.msg.js +18 -0
- package/dist/esm/cosmos/feegrant/module/v1/module.js +67 -0
- package/dist/esm/cosmos/feegrant/v1beta1/feegrant.js +427 -0
- package/dist/esm/cosmos/feegrant/v1beta1/genesis.js +84 -0
- package/dist/esm/cosmos/feegrant/v1beta1/query.js +538 -0
- package/dist/esm/cosmos/feegrant/v1beta1/query.lcd.js +36 -0
- package/dist/esm/cosmos/feegrant/v1beta1/query.rpc.Query.js +44 -0
- package/dist/esm/cosmos/feegrant/v1beta1/query.rpc.func.js +23 -0
- package/dist/esm/cosmos/feegrant/v1beta1/tx.amino.js +18 -0
- package/dist/esm/cosmos/feegrant/v1beta1/tx.js +468 -0
- package/dist/esm/cosmos/feegrant/v1beta1/tx.registry.js +2 -0
- package/dist/esm/cosmos/feegrant/v1beta1/tx.rpc.func.js +21 -0
- package/dist/esm/cosmos/feegrant/v1beta1/tx.rpc.msg.js +33 -0
- package/dist/esm/cosmos/genutil/module/v1/module.js +67 -0
- package/dist/esm/cosmos/genutil/v1beta1/genesis.js +84 -0
- package/dist/esm/cosmos/gov/module/v1/module.js +92 -0
- package/dist/esm/cosmos/gov/v1/genesis.js +186 -0
- package/dist/esm/cosmos/gov/v1/gov.js +1356 -0
- package/dist/esm/cosmos/gov/v1/query.js +1561 -0
- package/dist/esm/cosmos/gov/v1/query.lcd.js +79 -0
- package/dist/esm/cosmos/gov/v1/query.rpc.Query.js +96 -0
- package/dist/esm/cosmos/gov/v1/query.rpc.func.js +65 -0
- package/dist/esm/cosmos/gov/v1/tx.amino.js +38 -0
- package/dist/esm/cosmos/gov/v1/tx.js +1274 -0
- package/dist/esm/cosmos/gov/v1/tx.registry.js +2 -0
- package/dist/esm/cosmos/gov/v1/tx.rpc.func.js +45 -0
- package/dist/esm/cosmos/gov/v1/tx.rpc.msg.js +59 -0
- package/dist/esm/cosmos/gov/v1beta1/genesis.js +162 -0
- package/dist/esm/cosmos/gov/v1beta1/gov.js +1107 -0
- package/dist/esm/cosmos/gov/v1beta1/query.js +1406 -0
- package/dist/esm/cosmos/gov/v1beta1/query.lcd.js +74 -0
- package/dist/esm/cosmos/gov/v1beta1/query.rpc.Query.js +87 -0
- package/dist/esm/cosmos/gov/v1beta1/query.rpc.func.js +58 -0
- package/dist/esm/cosmos/gov/v1beta1/tx.amino.js +23 -0
- package/dist/esm/cosmos/gov/v1beta1/tx.js +696 -0
- package/dist/esm/cosmos/gov/v1beta1/tx.registry.js +2 -0
- package/dist/esm/cosmos/gov/v1beta1/tx.rpc.func.js +27 -0
- package/dist/esm/cosmos/gov/v1beta1/tx.rpc.msg.js +37 -0
- package/dist/esm/cosmos/group/module/v1/module.js +93 -0
- package/dist/esm/cosmos/group/v1/events.js +844 -0
- package/dist/esm/cosmos/group/v1/genesis.js +180 -0
- package/dist/esm/cosmos/group/v1/query.js +2431 -0
- package/dist/esm/cosmos/group/v1/query.lcd.js +139 -0
- package/dist/esm/cosmos/group/v1/query.rpc.Query.js +149 -0
- package/dist/esm/cosmos/group/v1/query.rpc.func.js +100 -0
- package/dist/esm/cosmos/group/v1/tx.amino.js +73 -0
- package/dist/esm/cosmos/group/v1/tx.js +2562 -0
- package/dist/esm/cosmos/group/v1/tx.registry.js +2 -0
- package/dist/esm/cosmos/group/v1/tx.rpc.func.js +87 -0
- package/dist/esm/cosmos/group/v1/tx.rpc.msg.js +95 -0
- package/dist/esm/cosmos/group/v1/types.js +1533 -0
- package/dist/esm/cosmos/ics23/v1/proofs.js +1598 -0
- package/dist/esm/cosmos/mint/module/v1/module.js +92 -0
- package/dist/esm/cosmos/mint/v1beta1/genesis.js +93 -0
- package/dist/esm/cosmos/mint/v1beta1/mint.js +230 -0
- package/dist/esm/cosmos/mint/v1beta1/query.js +433 -0
- package/dist/esm/cosmos/mint/v1beta1/query.lcd.js +21 -0
- package/dist/esm/cosmos/mint/v1beta1/query.rpc.Query.js +42 -0
- package/dist/esm/cosmos/mint/v1beta1/query.rpc.func.js +23 -0
- package/dist/esm/cosmos/mint/v1beta1/tx.amino.js +8 -0
- package/dist/esm/cosmos/mint/v1beta1/tx.js +158 -0
- package/dist/esm/cosmos/mint/v1beta1/tx.registry.js +2 -0
- package/dist/esm/cosmos/mint/v1beta1/tx.rpc.func.js +9 -0
- package/dist/esm/cosmos/mint/v1beta1/tx.rpc.msg.js +20 -0
- package/dist/esm/cosmos/msg/textual/v1/textual.js +1 -0
- package/dist/esm/cosmos/msg/v1/msg.js +1 -0
- package/dist/esm/cosmos/nft/module/v1/module.js +67 -0
- package/dist/esm/cosmos/nft/v1beta1/event.js +320 -0
- package/dist/esm/cosmos/nft/v1beta1/genesis.js +192 -0
- package/dist/esm/cosmos/nft/v1beta1/nft.js +279 -0
- package/dist/esm/cosmos/nft/v1beta1/query.js +1186 -0
- package/dist/esm/cosmos/nft/v1beta1/query.lcd.js +63 -0
- package/dist/esm/cosmos/nft/v1beta1/query.rpc.Query.js +81 -0
- package/dist/esm/cosmos/nft/v1beta1/query.rpc.func.js +51 -0
- package/dist/esm/cosmos/nft/v1beta1/tx.amino.js +8 -0
- package/dist/esm/cosmos/nft/v1beta1/tx.js +181 -0
- package/dist/esm/cosmos/nft/v1beta1/tx.registry.js +2 -0
- package/dist/esm/cosmos/nft/v1beta1/tx.rpc.func.js +9 -0
- package/dist/esm/cosmos/nft/v1beta1/tx.rpc.msg.js +17 -0
- package/dist/esm/cosmos/orm/module/v1alpha1/module.js +67 -0
- package/dist/esm/cosmos/orm/query/v1alpha1/query.js +748 -0
- package/dist/esm/cosmos/orm/query/v1alpha1/query.rpc.Query.js +33 -0
- package/dist/esm/cosmos/orm/query/v1alpha1/query.rpc.func.js +16 -0
- package/dist/esm/cosmos/orm/v1/orm.js +377 -0
- package/dist/esm/cosmos/orm/v1alpha1/schema.js +253 -0
- package/dist/esm/cosmos/params/module/v1/module.js +67 -0
- package/dist/esm/cosmos/params/v1beta1/params.js +209 -0
- package/dist/esm/cosmos/params/v1beta1/query.js +410 -0
- package/dist/esm/cosmos/params/v1beta1/query.lcd.js +28 -0
- package/dist/esm/cosmos/params/v1beta1/query.rpc.Query.js +36 -0
- package/dist/esm/cosmos/params/v1beta1/query.rpc.func.js +16 -0
- package/dist/esm/cosmos/query/v1/query.js +1 -0
- package/dist/esm/cosmos/reflection/v1/reflection.js +149 -0
- package/dist/esm/cosmos/reflection/v1/reflection.rpc.func.js +9 -0
- package/dist/esm/cosmos/rpc.query.js +25 -0
- package/dist/esm/cosmos/rpc.tx.js +29 -0
- package/dist/esm/cosmos/slashing/module/v1/module.js +80 -0
- package/dist/esm/cosmos/slashing/v1beta1/genesis.js +384 -0
- package/dist/esm/cosmos/slashing/v1beta1/query.js +474 -0
- package/dist/esm/cosmos/slashing/v1beta1/query.lcd.js +30 -0
- package/dist/esm/cosmos/slashing/v1beta1/query.rpc.Query.js +44 -0
- package/dist/esm/cosmos/slashing/v1beta1/query.rpc.func.js +23 -0
- package/dist/esm/cosmos/slashing/v1beta1/slashing.js +269 -0
- package/dist/esm/cosmos/slashing/v1beta1/tx.amino.js +13 -0
- package/dist/esm/cosmos/slashing/v1beta1/tx.js +301 -0
- package/dist/esm/cosmos/slashing/v1beta1/tx.registry.js +2 -0
- package/dist/esm/cosmos/slashing/v1beta1/tx.rpc.func.js +15 -0
- package/dist/esm/cosmos/slashing/v1beta1/tx.rpc.msg.js +28 -0
- package/dist/esm/cosmos/staking/module/v1/module.js +119 -0
- package/dist/esm/cosmos/staking/v1beta1/authz.js +259 -0
- package/dist/esm/cosmos/staking/v1beta1/genesis.js +271 -0
- package/dist/esm/cosmos/staking/v1beta1/query.js +2411 -0
- package/dist/esm/cosmos/staking/v1beta1/query.lcd.js +153 -0
- package/dist/esm/cosmos/staking/v1beta1/query.rpc.Query.js +166 -0
- package/dist/esm/cosmos/staking/v1beta1/query.rpc.func.js +100 -0
- package/dist/esm/cosmos/staking/v1beta1/staking.js +2364 -0
- package/dist/esm/cosmos/staking/v1beta1/tx.amino.js +38 -0
- package/dist/esm/cosmos/staking/v1beta1/tx.js +1287 -0
- package/dist/esm/cosmos/staking/v1beta1/tx.registry.js +2 -0
- package/dist/esm/cosmos/staking/v1beta1/tx.rpc.func.js +45 -0
- package/dist/esm/cosmos/staking/v1beta1/tx.rpc.msg.js +61 -0
- package/dist/esm/cosmos/store/internal/kv/v1beta1/kv.js +174 -0
- package/dist/esm/cosmos/store/snapshots/v1/snapshot.js +684 -0
- package/dist/esm/cosmos/store/snapshots/v2/snapshot.js +684 -0
- package/dist/esm/cosmos/store/streaming/abci/grpc.js +329 -0
- package/dist/esm/cosmos/store/v1beta1/commit_info.js +289 -0
- package/dist/esm/cosmos/store/v1beta1/listening.js +220 -0
- package/dist/esm/cosmos/streaming/v1/grpc.js +823 -0
- package/dist/esm/cosmos/tx/config/v1/config.js +92 -0
- package/dist/esm/cosmos/tx/signing/v1beta1/signing.js +565 -0
- package/dist/esm/cosmos/tx/v1beta1/service.js +1722 -0
- package/dist/esm/cosmos/tx/v1beta1/service.lcd.js +51 -0
- package/dist/esm/cosmos/tx/v1beta1/service.rpc.Service.js +106 -0
- package/dist/esm/cosmos/tx/v1beta1/service.rpc.func.js +65 -0
- package/dist/esm/cosmos/tx/v1beta1/tx.js +1395 -0
- package/dist/esm/cosmos/upgrade/module/v1/module.js +80 -0
- package/dist/esm/cosmos/upgrade/v1beta1/query.js +761 -0
- package/dist/esm/cosmos/upgrade/v1beta1/query.lcd.js +46 -0
- package/dist/esm/cosmos/upgrade/v1beta1/query.rpc.Query.js +69 -0
- package/dist/esm/cosmos/upgrade/v1beta1/query.rpc.func.js +37 -0
- package/dist/esm/cosmos/upgrade/v1beta1/tx.amino.js +13 -0
- package/dist/esm/cosmos/upgrade/v1beta1/tx.js +301 -0
- package/dist/esm/cosmos/upgrade/v1beta1/tx.registry.js +2 -0
- package/dist/esm/cosmos/upgrade/v1beta1/tx.rpc.func.js +15 -0
- package/dist/esm/cosmos/upgrade/v1beta1/tx.rpc.msg.js +28 -0
- package/dist/esm/cosmos/upgrade/v1beta1/upgrade.js +413 -0
- package/dist/esm/cosmos/validate/module/v1/module.js +67 -0
- package/dist/esm/cosmos/vesting/module/v1/module.js +67 -0
- package/dist/esm/cosmos/vesting/v1beta1/tx.amino.js +18 -0
- package/dist/esm/cosmos/vesting/v1beta1/tx.js +550 -0
- package/dist/esm/cosmos/vesting/v1beta1/tx.registry.js +2 -0
- package/dist/esm/cosmos/vesting/v1beta1/tx.rpc.func.js +21 -0
- package/dist/esm/cosmos/vesting/v1beta1/tx.rpc.msg.js +36 -0
- package/dist/esm/cosmos/vesting/v1beta1/vesting.js +583 -0
- package/dist/esm/cosmos_proto/cosmos.js +229 -0
- package/dist/esm/cosmwasm/wasm/v1/authz.js +921 -0
- package/dist/esm/cosmwasm/wasm/v1/genesis.js +451 -0
- package/dist/esm/cosmwasm/wasm/v1/ibc.js +273 -0
- package/dist/esm/cosmwasm/wasm/v1/proposal_legacy.js +1781 -0
- package/dist/esm/cosmwasm/wasm/v1/query.js +2019 -0
- package/dist/esm/cosmwasm/wasm/v1/query.lcd.js +102 -0
- package/dist/esm/cosmwasm/wasm/v1/query.rpc.Query.js +118 -0
- package/dist/esm/cosmwasm/wasm/v1/query.rpc.func.js +79 -0
- package/dist/esm/cosmwasm/wasm/v1/tx.amino.js +88 -0
- package/dist/esm/cosmwasm/wasm/v1/tx.js +3233 -0
- package/dist/esm/cosmwasm/wasm/v1/tx.registry.js +2 -0
- package/dist/esm/cosmwasm/wasm/v1/tx.rpc.func.js +105 -0
- package/dist/esm/cosmwasm/wasm/v1/tx.rpc.msg.js +139 -0
- package/dist/esm/cosmwasm/wasm/v1/types.js +910 -0
- package/dist/esm/ethermint/crypto/v1/ethsecp256k1/keys.js +143 -0
- package/dist/esm/ethermint/evm/v1/events.js +381 -0
- package/dist/esm/ethermint/evm/v1/evm.js +1181 -0
- package/dist/esm/ethermint/evm/v1/genesis.js +185 -0
- package/dist/esm/ethermint/evm/v1/query.js +1970 -0
- package/dist/esm/ethermint/evm/v1/query.lcd.js +150 -0
- package/dist/esm/ethermint/evm/v1/query.rpc.Query.js +127 -0
- package/dist/esm/ethermint/evm/v1/query.rpc.func.js +87 -0
- package/dist/esm/ethermint/evm/v1/tx.amino.js +13 -0
- package/dist/esm/ethermint/evm/v1/tx.js +1008 -0
- package/dist/esm/ethermint/evm/v1/tx.registry.js +2 -0
- package/dist/esm/ethermint/evm/v1/tx.rpc.func.js +15 -0
- package/dist/esm/ethermint/evm/v1/tx.rpc.msg.js +24 -0
- package/dist/esm/ethermint/feemarket/v1/events.js +154 -0
- package/dist/esm/ethermint/feemarket/v1/feemarket.js +152 -0
- package/dist/esm/ethermint/feemarket/v1/genesis.js +85 -0
- package/dist/esm/ethermint/feemarket/v1/query.js +384 -0
- package/dist/esm/ethermint/feemarket/v1/query.lcd.js +21 -0
- package/dist/esm/ethermint/feemarket/v1/query.rpc.Query.js +42 -0
- package/dist/esm/ethermint/feemarket/v1/query.rpc.func.js +23 -0
- package/dist/esm/ethermint/feemarket/v1/tx.amino.js +8 -0
- package/dist/esm/ethermint/feemarket/v1/tx.js +150 -0
- package/dist/esm/ethermint/feemarket/v1/tx.registry.js +2 -0
- package/dist/esm/ethermint/feemarket/v1/tx.rpc.func.js +9 -0
- package/dist/esm/ethermint/feemarket/v1/tx.rpc.msg.js +18 -0
- package/dist/esm/ethermint/types/v1/account.js +85 -0
- package/dist/esm/ethermint/types/v1/dynamic_fee.js +72 -0
- package/dist/esm/ethermint/types/v1/indexer.js +144 -0
- package/dist/esm/ethermint/types/v1/web3.js +97 -0
- package/dist/esm/extern.js +30 -0
- package/dist/esm/gogoproto/gogo.js +1 -0
- package/dist/esm/google/api/annotations.js +1 -0
- package/dist/esm/google/api/http.js +350 -0
- package/dist/esm/google/protobuf/any.js +78 -0
- package/dist/esm/google/protobuf/descriptor.js +5062 -0
- package/dist/esm/google/protobuf/duration.js +78 -0
- package/dist/esm/google/protobuf/timestamp.js +75 -0
- package/dist/esm/helper-func-types.js +50 -0
- package/dist/esm/helpers.js +128 -0
- package/dist/esm/ibc/applications/fee/v1/ack.js +105 -0
- package/dist/esm/ibc/applications/fee/v1/fee.js +394 -0
- package/dist/esm/ibc/applications/fee/v1/genesis.js +529 -0
- package/dist/esm/ibc/applications/fee/v1/metadata.js +92 -0
- package/dist/esm/ibc/applications/fee/v1/query.js +1729 -0
- package/dist/esm/ibc/applications/fee/v1/query.lcd.js +111 -0
- package/dist/esm/ibc/applications/fee/v1/query.rpc.Query.js +105 -0
- package/dist/esm/ibc/applications/fee/v1/query.rpc.func.js +72 -0
- package/dist/esm/ibc/applications/fee/v1/tx.amino.js +23 -0
- package/dist/esm/ibc/applications/fee/v1/tx.js +711 -0
- package/dist/esm/ibc/applications/fee/v1/tx.registry.js +2 -0
- package/dist/esm/ibc/applications/fee/v1/tx.rpc.func.js +27 -0
- package/dist/esm/ibc/applications/fee/v1/tx.rpc.msg.js +49 -0
- package/dist/esm/ibc/applications/interchain_accounts/controller/v1/controller.js +80 -0
- package/dist/esm/ibc/applications/interchain_accounts/controller/v1/query.js +314 -0
- package/dist/esm/ibc/applications/interchain_accounts/controller/v1/query.lcd.js +16 -0
- package/dist/esm/ibc/applications/interchain_accounts/controller/v1/query.rpc.Query.js +33 -0
- package/dist/esm/ibc/applications/interchain_accounts/controller/v1/query.rpc.func.js +16 -0
- package/dist/esm/ibc/applications/interchain_accounts/controller/v1/tx.amino.js +18 -0
- package/dist/esm/ibc/applications/interchain_accounts/controller/v1/tx.js +556 -0
- package/dist/esm/ibc/applications/interchain_accounts/controller/v1/tx.registry.js +2 -0
- package/dist/esm/ibc/applications/interchain_accounts/controller/v1/tx.rpc.func.js +21 -0
- package/dist/esm/ibc/applications/interchain_accounts/controller/v1/tx.rpc.msg.js +29 -0
- package/dist/esm/ibc/applications/interchain_accounts/genesis/v1/genesis.js +553 -0
- package/dist/esm/ibc/applications/interchain_accounts/host/v1/host.js +186 -0
- package/dist/esm/ibc/applications/interchain_accounts/host/v1/query.js +146 -0
- package/dist/esm/ibc/applications/interchain_accounts/host/v1/query.lcd.js +11 -0
- package/dist/esm/ibc/applications/interchain_accounts/host/v1/query.rpc.Query.js +24 -0
- package/dist/esm/ibc/applications/interchain_accounts/host/v1/query.rpc.func.js +9 -0
- package/dist/esm/ibc/applications/interchain_accounts/host/v1/tx.amino.js +13 -0
- package/dist/esm/ibc/applications/interchain_accounts/host/v1/tx.js +345 -0
- package/dist/esm/ibc/applications/interchain_accounts/host/v1/tx.registry.js +2 -0
- package/dist/esm/ibc/applications/interchain_accounts/host/v1/tx.rpc.func.js +15 -0
- package/dist/esm/ibc/applications/interchain_accounts/host/v1/tx.rpc.msg.js +23 -0
- package/dist/esm/ibc/applications/interchain_accounts/v1/account.js +93 -0
- package/dist/esm/ibc/applications/interchain_accounts/v1/metadata.js +140 -0
- package/dist/esm/ibc/applications/interchain_accounts/v1/packet.js +225 -0
- package/dist/esm/ibc/applications/transfer/v1/authz.js +219 -0
- package/dist/esm/ibc/applications/transfer/v1/genesis.js +124 -0
- package/dist/esm/ibc/applications/transfer/v1/query.js +955 -0
- package/dist/esm/ibc/applications/transfer/v1/query.lcd.js +63 -0
- package/dist/esm/ibc/applications/transfer/v1/query.rpc.Query.js +71 -0
- package/dist/esm/ibc/applications/transfer/v1/query.rpc.func.js +44 -0
- package/dist/esm/ibc/applications/transfer/v1/transfer.js +182 -0
- package/dist/esm/ibc/applications/transfer/v1/tx.amino.js +13 -0
- package/dist/esm/ibc/applications/transfer/v1/tx.js +399 -0
- package/dist/esm/ibc/applications/transfer/v1/tx.registry.js +2 -0
- package/dist/esm/ibc/applications/transfer/v1/tx.rpc.func.js +15 -0
- package/dist/esm/ibc/applications/transfer/v1/tx.rpc.msg.js +23 -0
- package/dist/esm/ibc/applications/transfer/v2/packet.js +128 -0
- package/dist/esm/ibc/core/channel/v1/channel.js +1160 -0
- package/dist/esm/ibc/core/channel/v1/genesis.js +300 -0
- package/dist/esm/ibc/core/channel/v1/query.js +3396 -0
- package/dist/esm/ibc/core/channel/v1/query.lcd.js +129 -0
- package/dist/esm/ibc/core/channel/v1/query.rpc.Query.js +178 -0
- package/dist/esm/ibc/core/channel/v1/query.rpc.func.js +121 -0
- package/dist/esm/ibc/core/channel/v1/tx.amino.js +98 -0
- package/dist/esm/ibc/core/channel/v1/tx.js +4022 -0
- package/dist/esm/ibc/core/channel/v1/tx.registry.js +2 -0
- package/dist/esm/ibc/core/channel/v1/tx.rpc.func.js +117 -0
- package/dist/esm/ibc/core/channel/v1/tx.rpc.msg.js +126 -0
- package/dist/esm/ibc/core/channel/v1/upgrade.js +301 -0
- package/dist/esm/ibc/core/client/v1/client.js +672 -0
- package/dist/esm/ibc/core/client/v1/genesis.js +334 -0
- package/dist/esm/ibc/core/client/v1/query.js +1753 -0
- package/dist/esm/ibc/core/client/v1/query.lcd.js +80 -0
- package/dist/esm/ibc/core/client/v1/query.rpc.Query.js +109 -0
- package/dist/esm/ibc/core/client/v1/query.rpc.func.js +72 -0
- package/dist/esm/ibc/core/client/v1/tx.amino.js +38 -0
- package/dist/esm/ibc/core/client/v1/tx.js +1199 -0
- package/dist/esm/ibc/core/client/v1/tx.registry.js +2 -0
- package/dist/esm/ibc/core/client/v1/tx.rpc.func.js +45 -0
- package/dist/esm/ibc/core/client/v1/tx.rpc.msg.js +53 -0
- package/dist/esm/ibc/core/commitment/v1/commitment.js +322 -0
- package/dist/esm/ibc/core/connection/v1/connection.js +776 -0
- package/dist/esm/ibc/core/connection/v1/genesis.js +123 -0
- package/dist/esm/ibc/core/connection/v1/query.js +1092 -0
- package/dist/esm/ibc/core/connection/v1/query.lcd.js +48 -0
- package/dist/esm/ibc/core/connection/v1/query.rpc.Query.js +74 -0
- package/dist/esm/ibc/core/connection/v1/query.rpc.func.js +44 -0
- package/dist/esm/ibc/core/connection/v1/tx.amino.js +28 -0
- package/dist/esm/ibc/core/connection/v1/tx.js +1084 -0
- package/dist/esm/ibc/core/connection/v1/tx.registry.js +2 -0
- package/dist/esm/ibc/core/connection/v1/tx.rpc.func.js +33 -0
- package/dist/esm/ibc/core/connection/v1/tx.rpc.msg.js +43 -0
- package/dist/esm/ibc/core/types/v1/genesis.js +107 -0
- package/dist/esm/ibc/lightclients/localhost/v2/localhost.js +81 -0
- package/dist/esm/ibc/lightclients/solomachine/v2/solomachine.js +1684 -0
- package/dist/esm/ibc/lightclients/solomachine/v3/solomachine.js +844 -0
- package/dist/esm/ibc/lightclients/tendermint/v1/tendermint.js +622 -0
- package/dist/esm/ibc/lightclients/wasm/v1/genesis.js +162 -0
- package/dist/esm/ibc/lightclients/wasm/v1/query.js +331 -0
- package/dist/esm/ibc/lightclients/wasm/v1/query.lcd.js +25 -0
- package/dist/esm/ibc/lightclients/wasm/v1/query.rpc.Query.js +35 -0
- package/dist/esm/ibc/lightclients/wasm/v1/query.rpc.func.js +16 -0
- package/dist/esm/ibc/lightclients/wasm/v1/tx.amino.js +18 -0
- package/dist/esm/ibc/lightclients/wasm/v1/tx.js +505 -0
- package/dist/esm/ibc/lightclients/wasm/v1/tx.registry.js +2 -0
- package/dist/esm/ibc/lightclients/wasm/v1/tx.rpc.func.js +21 -0
- package/dist/esm/ibc/lightclients/wasm/v1/tx.rpc.msg.js +29 -0
- package/dist/esm/ibc/lightclients/wasm/v1/wasm.js +343 -0
- package/dist/esm/registry.js +154 -0
- package/dist/esm/tendermint/abci/types.js +5217 -0
- package/dist/esm/tendermint/crypto/keys.js +85 -0
- package/dist/esm/tendermint/crypto/proof.js +455 -0
- package/dist/esm/tendermint/p2p/types.js +427 -0
- package/dist/esm/tendermint/types/block.js +110 -0
- package/dist/esm/tendermint/types/evidence.js +400 -0
- package/dist/esm/tendermint/types/params.js +592 -0
- package/dist/esm/tendermint/types/types.js +1749 -0
- package/dist/esm/tendermint/types/validator.js +337 -0
- package/dist/esm/tendermint/version/types.js +166 -0
- package/dist/esm/types.js +6 -0
- package/dist/esm/utf8.js +136 -0
- package/dist/esm/varint.js +407 -0
- package/dist/esm/xpla/lcd.js +176 -0
- package/dist/esm/xpla/reward/v1beta1/genesis.js +73 -0
- package/dist/esm/xpla/reward/v1beta1/query.js +261 -0
- package/dist/esm/xpla/reward/v1beta1/query.lcd.js +16 -0
- package/dist/esm/xpla/reward/v1beta1/query.rpc.Query.js +33 -0
- package/dist/esm/xpla/reward/v1beta1/query.rpc.func.js +16 -0
- package/dist/esm/xpla/reward/v1beta1/reward.js +128 -0
- package/dist/esm/xpla/reward/v1beta1/tx.amino.js +13 -0
- package/dist/esm/xpla/reward/v1beta1/tx.js +301 -0
- package/dist/esm/xpla/reward/v1beta1/tx.registry.js +2 -0
- package/dist/esm/xpla/reward/v1beta1/tx.rpc.func.js +15 -0
- package/dist/esm/xpla/reward/v1beta1/tx.rpc.msg.js +26 -0
- package/dist/esm/xpla/rpc.query.js +125 -0
- package/dist/esm/xpla/rpc.tx.js +1 -0
- package/dist/esm/xpla/volunteer/v1beta1/genesis.js +76 -0
- package/dist/esm/xpla/volunteer/v1beta1/proposal.js +534 -0
- package/dist/esm/xpla/volunteer/v1beta1/query.js +132 -0
- package/dist/esm/xpla/volunteer/v1beta1/query.lcd.js +11 -0
- package/dist/esm/xpla/volunteer/v1beta1/query.rpc.Query.js +24 -0
- package/dist/esm/xpla/volunteer/v1beta1/query.rpc.func.js +9 -0
- package/dist/esm/xpla/volunteer/v1beta1/tx.amino.js +13 -0
- package/dist/esm/xpla/volunteer/v1beta1/tx.js +348 -0
- package/dist/esm/xpla/volunteer/v1beta1/tx.registry.js +2 -0
- package/dist/esm/xpla/volunteer/v1beta1/tx.rpc.func.js +15 -0
- package/dist/esm/xpla/volunteer/v1beta1/tx.rpc.msg.js +24 -0
- package/dist/esm/xpla/volunteer/v1beta1/volunteervalidator.js +84 -0
- package/dist/ethermint/evm/v1/query.lcd.d.ts +21 -0
- package/dist/ethermint/evm/v1/query.lcd.js +154 -0
- package/dist/ethermint/evm/v1/query.rpc.Query.d.ts +70 -0
- package/dist/ethermint/evm/v1/query.rpc.Query.js +132 -0
- package/dist/ethermint/evm/v1/tx.amino.d.ts +13 -0
- package/dist/ethermint/evm/v1/tx.amino.js +16 -0
- package/dist/ethermint/evm/v1/tx.registry.d.ts +2 -0
- package/dist/ethermint/evm/v1/tx.registry.js +5 -0
- package/dist/ethermint/evm/v1/tx.rpc.msg.d.ts +19 -0
- package/dist/ethermint/evm/v1/tx.rpc.msg.js +29 -0
- package/dist/ethermint/feemarket/v1/query.lcd.d.ts +11 -0
- package/dist/ethermint/feemarket/v1/query.lcd.js +25 -0
- package/dist/ethermint/feemarket/v1/query.rpc.Query.d.ts +24 -0
- package/dist/ethermint/feemarket/v1/query.rpc.Query.js +47 -0
- package/dist/ethermint/feemarket/v1/tx.amino.d.ts +8 -0
- package/dist/ethermint/feemarket/v1/tx.amino.js +11 -0
- package/dist/ethermint/feemarket/v1/tx.registry.d.ts +2 -0
- package/dist/ethermint/feemarket/v1/tx.registry.js +5 -0
- package/dist/ethermint/feemarket/v1/tx.rpc.func.d.ts +3 -0
- package/dist/ethermint/feemarket/v1/tx.rpc.func.js +13 -0
- package/dist/ethermint/feemarket/v1/tx.rpc.msg.d.ts +16 -0
- package/dist/ethermint/feemarket/v1/tx.rpc.msg.js +23 -0
- package/dist/extern.d.ts +10 -0
- package/dist/extern.js +36 -0
- package/dist/gogoproto/gogo.d.ts +1 -0
- package/dist/google/api/annotations.d.ts +1 -0
- package/dist/google/api/annotations.js +2 -0
- package/dist/helper-func-types.d.ts +117 -0
- package/dist/helper-func-types.js +55 -0
- package/dist/helpers.d.ts +82 -0
- package/dist/helpers.js +143 -0
- package/dist/ibc/applications/fee/v1/ack.d.ts +44 -0
- package/dist/ibc/applications/fee/v1/ack.js +108 -0
- package/dist/ibc/applications/fee/v1/fee.d.ts +160 -0
- package/dist/ibc/applications/fee/v1/fee.js +397 -0
- package/dist/ibc/applications/fee/v1/genesis.d.ts +220 -0
- package/dist/ibc/applications/fee/v1/genesis.js +532 -0
- package/dist/ibc/applications/fee/v1/metadata.d.ts +46 -0
- package/dist/ibc/applications/fee/v1/metadata.js +95 -0
- package/dist/ibc/applications/fee/v1/query.d.ts +737 -0
- package/dist/ibc/applications/fee/v1/query.js +1732 -0
- package/dist/ibc/applications/fee/v1/query.lcd.d.ts +18 -0
- package/dist/ibc/applications/fee/v1/query.lcd.js +115 -0
- package/dist/ibc/applications/fee/v1/query.rpc.Query.d.ts +52 -0
- package/dist/ibc/applications/fee/v1/query.rpc.Query.js +110 -0
- package/dist/ibc/applications/fee/v1/query.rpc.func.d.ts +12 -0
- package/dist/ibc/applications/fee/v1/query.rpc.func.js +85 -0
- package/dist/ibc/applications/fee/v1/tx.amino.d.ts +23 -0
- package/dist/ibc/applications/fee/v1/tx.amino.js +26 -0
- package/dist/ibc/applications/fee/v1/tx.d.ts +318 -0
- package/dist/ibc/applications/fee/v1/tx.js +714 -0
- package/dist/ibc/applications/fee/v1/tx.registry.d.ts +2 -0
- package/dist/ibc/applications/fee/v1/tx.registry.js +5 -0
- package/dist/ibc/applications/fee/v1/tx.rpc.func.d.ts +6 -0
- package/dist/ibc/applications/fee/v1/tx.rpc.func.js +34 -0
- package/dist/ibc/applications/fee/v1/tx.rpc.msg.d.ts +44 -0
- package/dist/ibc/applications/fee/v1/tx.rpc.msg.js +54 -0
- package/dist/ibc/applications/interchain_accounts/controller/v1/controller.d.ts +42 -0
- package/dist/ibc/applications/interchain_accounts/controller/v1/controller.js +83 -0
- package/dist/ibc/applications/interchain_accounts/controller/v1/query.d.ts +133 -0
- package/dist/ibc/applications/interchain_accounts/controller/v1/query.js +317 -0
- package/dist/ibc/applications/interchain_accounts/controller/v1/query.lcd.d.ts +10 -0
- package/dist/ibc/applications/interchain_accounts/controller/v1/query.lcd.js +20 -0
- package/dist/ibc/applications/interchain_accounts/controller/v1/query.rpc.Query.d.ts +20 -0
- package/dist/ibc/applications/interchain_accounts/controller/v1/query.rpc.Query.js +38 -0
- package/dist/ibc/applications/interchain_accounts/controller/v1/query.rpc.func.d.ts +4 -0
- package/dist/ibc/applications/interchain_accounts/controller/v1/query.rpc.func.js +21 -0
- package/dist/ibc/applications/interchain_accounts/controller/v1/tx.amino.d.ts +18 -0
- package/dist/ibc/applications/interchain_accounts/controller/v1/tx.amino.js +21 -0
- package/dist/ibc/applications/interchain_accounts/controller/v1/tx.d.ts +231 -0
- package/dist/ibc/applications/interchain_accounts/controller/v1/tx.js +559 -0
- package/dist/ibc/applications/interchain_accounts/controller/v1/tx.registry.d.ts +2 -0
- package/dist/ibc/applications/interchain_accounts/controller/v1/tx.registry.js +5 -0
- package/dist/ibc/applications/interchain_accounts/controller/v1/tx.rpc.func.d.ts +5 -0
- package/dist/ibc/applications/interchain_accounts/controller/v1/tx.rpc.func.js +27 -0
- package/dist/ibc/applications/interchain_accounts/controller/v1/tx.rpc.msg.d.ts +19 -0
- package/dist/ibc/applications/interchain_accounts/controller/v1/tx.rpc.msg.js +34 -0
- package/dist/ibc/applications/interchain_accounts/genesis/v1/genesis.d.ts +196 -0
- package/dist/ibc/applications/interchain_accounts/genesis/v1/genesis.js +556 -0
- package/dist/ibc/applications/interchain_accounts/host/v1/host.d.ts +102 -0
- package/dist/ibc/applications/interchain_accounts/host/v1/host.js +189 -0
- package/dist/ibc/applications/interchain_accounts/host/v1/query.d.ts +67 -0
- package/dist/ibc/applications/interchain_accounts/host/v1/query.js +149 -0
- package/dist/ibc/applications/interchain_accounts/host/v1/query.lcd.d.ts +9 -0
- package/dist/ibc/applications/interchain_accounts/host/v1/query.lcd.js +15 -0
- package/dist/ibc/applications/interchain_accounts/host/v1/query.rpc.Query.d.ts +16 -0
- package/dist/ibc/applications/interchain_accounts/host/v1/query.rpc.Query.js +29 -0
- package/dist/ibc/applications/interchain_accounts/host/v1/query.rpc.func.d.ts +3 -0
- package/dist/ibc/applications/interchain_accounts/host/v1/query.rpc.func.js +13 -0
- package/dist/ibc/applications/interchain_accounts/host/v1/tx.amino.d.ts +13 -0
- package/dist/ibc/applications/interchain_accounts/host/v1/tx.amino.js +16 -0
- package/dist/ibc/applications/interchain_accounts/host/v1/tx.d.ts +155 -0
- package/dist/ibc/applications/interchain_accounts/host/v1/tx.js +348 -0
- package/dist/ibc/applications/interchain_accounts/host/v1/tx.registry.d.ts +2 -0
- package/dist/ibc/applications/interchain_accounts/host/v1/tx.registry.js +5 -0
- package/dist/ibc/applications/interchain_accounts/host/v1/tx.rpc.func.d.ts +4 -0
- package/dist/ibc/applications/interchain_accounts/host/v1/tx.rpc.func.js +20 -0
- package/dist/ibc/applications/interchain_accounts/host/v1/tx.rpc.msg.d.ts +16 -0
- package/dist/ibc/applications/interchain_accounts/host/v1/tx.rpc.msg.js +28 -0
- package/dist/ibc/applications/interchain_accounts/v1/account.d.ts +37 -0
- package/dist/ibc/applications/interchain_accounts/v1/account.js +96 -0
- package/dist/ibc/applications/interchain_accounts/v1/metadata.d.ts +68 -0
- package/dist/ibc/applications/interchain_accounts/v1/metadata.js +143 -0
- package/dist/ibc/applications/interchain_accounts/v1/packet.d.ts +85 -0
- package/dist/ibc/applications/interchain_accounts/v1/packet.js +230 -0
- package/dist/ibc/applications/transfer/v1/authz.d.ts +99 -0
- package/dist/ibc/applications/transfer/v1/authz.js +222 -0
- package/dist/ibc/applications/transfer/v1/genesis.d.ts +50 -0
- package/dist/ibc/applications/transfer/v1/genesis.js +127 -0
- package/dist/ibc/applications/transfer/v1/query.d.ts +449 -0
- package/dist/ibc/applications/transfer/v1/query.js +958 -0
- package/dist/ibc/applications/transfer/v1/query.lcd.d.ts +14 -0
- package/dist/ibc/applications/transfer/v1/query.lcd.js +67 -0
- package/dist/ibc/applications/transfer/v1/query.rpc.Query.d.ts +36 -0
- package/dist/ibc/applications/transfer/v1/query.rpc.Query.js +76 -0
- package/dist/ibc/applications/transfer/v1/query.rpc.func.d.ts +8 -0
- package/dist/ibc/applications/transfer/v1/query.rpc.func.js +53 -0
- package/dist/ibc/applications/transfer/v1/tx.amino.d.ts +13 -0
- package/dist/ibc/applications/transfer/v1/tx.amino.js +16 -0
- package/dist/ibc/applications/transfer/v1/tx.registry.d.ts +2 -0
- package/dist/ibc/applications/transfer/v1/tx.registry.js +5 -0
- package/dist/ibc/applications/transfer/v1/tx.rpc.msg.d.ts +16 -0
- package/dist/ibc/applications/transfer/v1/tx.rpc.msg.js +28 -0
- package/dist/ibc/applications/transfer/v2/packet.d.ts +60 -0
- package/dist/ibc/applications/transfer/v2/packet.js +131 -0
- package/dist/ibc/core/channel/v1/genesis.d.ts +95 -0
- package/dist/ibc/core/channel/v1/genesis.js +303 -0
- package/dist/ibc/core/channel/v1/query.d.ts +1525 -0
- package/dist/ibc/core/channel/v1/query.js +3399 -0
- package/dist/ibc/core/channel/v1/query.lcd.d.ts +25 -0
- package/dist/ibc/core/channel/v1/query.lcd.js +133 -0
- package/dist/ibc/core/channel/v1/query.rpc.Query.d.ts +104 -0
- package/dist/ibc/core/channel/v1/query.rpc.Query.js +183 -0
- package/dist/ibc/core/channel/v1/query.rpc.func.d.ts +19 -0
- package/dist/ibc/core/channel/v1/query.rpc.func.js +141 -0
- package/dist/ibc/core/channel/v1/tx.amino.d.ts +98 -0
- package/dist/ibc/core/channel/v1/tx.amino.js +101 -0
- package/dist/ibc/core/channel/v1/tx.registry.d.ts +2 -0
- package/dist/ibc/core/channel/v1/tx.registry.js +5 -0
- package/dist/ibc/core/channel/v1/tx.rpc.msg.d.ts +70 -0
- package/dist/ibc/core/channel/v1/tx.rpc.msg.js +131 -0
- package/dist/ibc/core/client/v1/genesis.d.ts +147 -0
- package/dist/ibc/core/client/v1/genesis.js +337 -0
- package/dist/ibc/core/client/v1/query.d.ts +862 -0
- package/dist/ibc/core/client/v1/query.js +1756 -0
- package/dist/ibc/core/client/v1/query.lcd.d.ts +17 -0
- package/dist/ibc/core/client/v1/query.lcd.js +84 -0
- package/dist/ibc/core/client/v1/query.rpc.Query.d.ts +58 -0
- package/dist/ibc/core/client/v1/query.rpc.Query.js +114 -0
- package/dist/ibc/core/client/v1/query.rpc.func.d.ts +12 -0
- package/dist/ibc/core/client/v1/query.rpc.func.js +85 -0
- package/dist/ibc/core/client/v1/tx.amino.d.ts +38 -0
- package/dist/ibc/core/client/v1/tx.amino.js +41 -0
- package/dist/ibc/core/client/v1/tx.registry.d.ts +2 -0
- package/dist/ibc/core/client/v1/tx.registry.js +5 -0
- package/dist/ibc/core/client/v1/tx.rpc.msg.d.ts +31 -0
- package/dist/ibc/core/client/v1/tx.rpc.msg.js +58 -0
- package/dist/ibc/core/connection/v1/genesis.d.ts +43 -0
- package/dist/ibc/core/connection/v1/genesis.js +126 -0
- package/dist/ibc/core/connection/v1/query.d.ts +518 -0
- package/dist/ibc/core/connection/v1/query.js +1095 -0
- package/dist/ibc/core/connection/v1/query.lcd.d.ts +14 -0
- package/dist/ibc/core/connection/v1/query.lcd.js +52 -0
- package/dist/ibc/core/connection/v1/query.rpc.Query.d.ts +45 -0
- package/dist/ibc/core/connection/v1/query.rpc.Query.js +79 -0
- package/dist/ibc/core/connection/v1/query.rpc.func.d.ts +8 -0
- package/dist/ibc/core/connection/v1/query.rpc.func.js +53 -0
- package/dist/ibc/core/connection/v1/tx.amino.d.ts +28 -0
- package/dist/ibc/core/connection/v1/tx.amino.js +31 -0
- package/dist/ibc/core/connection/v1/tx.registry.d.ts +2 -0
- package/dist/ibc/core/connection/v1/tx.registry.js +5 -0
- package/dist/ibc/core/connection/v1/tx.rpc.msg.d.ts +31 -0
- package/dist/ibc/core/connection/v1/tx.rpc.msg.js +48 -0
- package/dist/ibc/core/types/v1/genesis.d.ts +50 -0
- package/dist/ibc/core/types/v1/genesis.js +110 -0
- package/dist/ibc/lightclients/localhost/v2/localhost.d.ts +37 -0
- package/dist/ibc/lightclients/localhost/v2/localhost.js +84 -0
- package/dist/ibc/lightclients/solomachine/v2/solomachine.d.ts +711 -0
- package/dist/ibc/lightclients/solomachine/v2/solomachine.js +1689 -0
- package/dist/ibc/lightclients/solomachine/v3/solomachine.d.ts +357 -0
- package/dist/ibc/lightclients/solomachine/v3/solomachine.js +847 -0
- package/dist/ibc/lightclients/tendermint/v1/tendermint.d.ts +306 -0
- package/dist/ibc/lightclients/tendermint/v1/tendermint.js +625 -0
- package/dist/ibc/lightclients/wasm/v1/genesis.d.ts +70 -0
- package/dist/ibc/lightclients/wasm/v1/genesis.js +165 -0
- package/dist/ibc/lightclients/wasm/v1/query.d.ts +141 -0
- package/dist/ibc/lightclients/wasm/v1/query.js +334 -0
- package/dist/ibc/lightclients/wasm/v1/query.lcd.d.ts +10 -0
- package/dist/ibc/lightclients/wasm/v1/query.lcd.js +29 -0
- package/dist/ibc/lightclients/wasm/v1/query.rpc.Query.d.ts +20 -0
- package/dist/ibc/lightclients/wasm/v1/query.rpc.Query.js +40 -0
- package/dist/ibc/lightclients/wasm/v1/query.rpc.func.d.ts +4 -0
- package/dist/ibc/lightclients/wasm/v1/query.rpc.func.js +21 -0
- package/dist/ibc/lightclients/wasm/v1/tx.amino.d.ts +18 -0
- package/dist/ibc/lightclients/wasm/v1/tx.amino.js +21 -0
- package/dist/ibc/lightclients/wasm/v1/tx.d.ts +218 -0
- package/dist/ibc/lightclients/wasm/v1/tx.js +508 -0
- package/dist/ibc/lightclients/wasm/v1/tx.registry.d.ts +2 -0
- package/dist/ibc/lightclients/wasm/v1/tx.registry.js +5 -0
- package/dist/ibc/lightclients/wasm/v1/tx.rpc.func.d.ts +5 -0
- package/dist/ibc/lightclients/wasm/v1/tx.rpc.func.js +27 -0
- package/dist/ibc/lightclients/wasm/v1/tx.rpc.msg.d.ts +19 -0
- package/dist/ibc/lightclients/wasm/v1/tx.rpc.msg.js +34 -0
- package/dist/ibc/lightclients/wasm/v1/wasm.d.ts +163 -0
- package/dist/ibc/lightclients/wasm/v1/wasm.js +346 -0
- package/dist/registry.d.ts +33 -0
- package/dist/registry.js +158 -0
- package/dist/tendermint/p2p/types.d.ts +138 -0
- package/dist/tendermint/p2p/types.js +430 -0
- package/dist/types.d.ts +124 -0
- package/dist/types.js +7 -0
- package/dist/utf8.d.ts +27 -0
- package/dist/utf8.js +140 -0
- package/dist/varint.d.ts +105 -0
- package/dist/varint.js +425 -0
- package/dist/xpla/lcd.d.ts +112 -0
- package/dist/xpla/lcd.js +213 -0
- package/dist/xpla/reward/v1beta1/query.lcd.d.ts +10 -0
- package/dist/xpla/reward/v1beta1/query.lcd.js +20 -0
- package/dist/xpla/reward/v1beta1/query.rpc.Query.d.ts +20 -0
- package/dist/xpla/reward/v1beta1/query.rpc.Query.js +38 -0
- package/dist/xpla/reward/v1beta1/tx.amino.d.ts +13 -0
- package/dist/xpla/reward/v1beta1/tx.amino.js +16 -0
- package/dist/xpla/reward/v1beta1/tx.registry.d.ts +2 -0
- package/dist/xpla/reward/v1beta1/tx.registry.js +5 -0
- package/dist/xpla/reward/v1beta1/tx.rpc.msg.d.ts +23 -0
- package/dist/xpla/reward/v1beta1/tx.rpc.msg.js +31 -0
- package/dist/xpla/rpc.query.d.ts +346 -0
- package/dist/xpla/rpc.query.js +162 -0
- package/dist/xpla/rpc.tx.d.ts +4 -0
- package/dist/xpla/rpc.tx.js +5 -0
- package/dist/xpla/volunteer/v1beta1/query.lcd.d.ts +9 -0
- package/dist/xpla/volunteer/v1beta1/query.lcd.js +15 -0
- package/dist/xpla/volunteer/v1beta1/query.rpc.Query.d.ts +16 -0
- package/dist/xpla/volunteer/v1beta1/query.rpc.Query.js +29 -0
- package/dist/xpla/volunteer/v1beta1/tx.amino.d.ts +13 -0
- package/dist/xpla/volunteer/v1beta1/tx.amino.js +16 -0
- package/dist/xpla/volunteer/v1beta1/tx.registry.d.ts +2 -0
- package/dist/xpla/volunteer/v1beta1/tx.registry.js +5 -0
- package/dist/xpla/volunteer/v1beta1/tx.rpc.msg.d.ts +19 -0
- package/dist/xpla/volunteer/v1beta1/tx.rpc.msg.js +29 -0
- package/package.json +5 -2
- package/CHANGELOG.md +0 -35
- package/src/amino/amino.ts +0 -1
- package/src/binary.d.ts +0 -130
- package/src/binary.js +0 -370
- 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.Query.ts +0 -30
- package/src/cosmos/app/v1alpha1/query.rpc.func.ts +0 -9
- 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.lcd.ts +0 -94
- package/src/cosmos/auth/v1beta1/query.rpc.Query.ts +0 -179
- package/src/cosmos/auth/v1beta1/query.rpc.func.ts +0 -72
- package/src/cosmos/auth/v1beta1/query.ts +0 -2034
- package/src/cosmos/auth/v1beta1/tx.amino.ts +0 -8
- package/src/cosmos/auth/v1beta1/tx.registry.ts +0 -3
- package/src/cosmos/auth/v1beta1/tx.rpc.func.ts +0 -9
- package/src/cosmos/auth/v1beta1/tx.rpc.msg.ts +0 -31
- 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.d.ts +0 -177
- 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.lcd.ts +0 -59
- package/src/cosmos/authz/v1beta1/query.rpc.Query.ts +0 -64
- package/src/cosmos/authz/v1beta1/query.rpc.func.ts +0 -23
- package/src/cosmos/authz/v1beta1/query.ts +0 -707
- package/src/cosmos/authz/v1beta1/tx.amino.ts +0 -18
- package/src/cosmos/authz/v1beta1/tx.registry.ts +0 -3
- package/src/cosmos/authz/v1beta1/tx.rpc.func.ts +0 -21
- package/src/cosmos/authz/v1beta1/tx.rpc.msg.ts +0 -57
- 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.Query.ts +0 -31
- package/src/cosmos/autocli/v1/query.rpc.func.ts +0 -9
- 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.lcd.ts +0 -194
- package/src/cosmos/bank/v1beta1/query.rpc.Query.ts +0 -258
- package/src/cosmos/bank/v1beta1/query.rpc.func.ts +0 -93
- package/src/cosmos/bank/v1beta1/query.ts +0 -3027
- package/src/cosmos/bank/v1beta1/tx.amino.ts +0 -23
- package/src/cosmos/bank/v1beta1/tx.registry.ts +0 -3
- package/src/cosmos/bank/v1beta1/tx.rpc.func.ts +0 -27
- package/src/cosmos/bank/v1beta1/tx.rpc.msg.ts +0 -67
- 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.Service.ts +0 -41
- package/src/cosmos/base/grpc/v2/service.rpc.func.ts +0 -16
- package/src/cosmos/base/grpc/v2/service.ts +0 -473
- package/src/cosmos/base/node/v1beta1/query.lcd.ts +0 -22
- package/src/cosmos/base/node/v1beta1/query.rpc.Service.ts +0 -41
- package/src/cosmos/base/node/v1beta1/query.rpc.func.ts +0 -16
- 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 -16
- package/src/cosmos/base/reflection/v1beta1/reflection.ts +0 -382
- package/src/cosmos/base/reflection/v2alpha1/reflection.rpc.func.ts +0 -44
- package/src/cosmos/base/reflection/v2alpha1/reflection.ts +0 -2727
- package/src/cosmos/base/tendermint/v1beta1/query.lcd.ts +0 -81
- package/src/cosmos/base/tendermint/v1beta1/query.rpc.Service.ts +0 -108
- package/src/cosmos/base/tendermint/v1beta1/query.rpc.func.ts +0 -51
- 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.lcd.ts +0 -36
- package/src/cosmos/circuit/v1/query.rpc.Query.ts +0 -54
- package/src/cosmos/circuit/v1/query.rpc.func.ts +0 -23
- package/src/cosmos/circuit/v1/query.ts +0 -574
- package/src/cosmos/circuit/v1/tx.amino.ts +0 -18
- package/src/cosmos/circuit/v1/tx.registry.ts +0 -3
- package/src/cosmos/circuit/v1/tx.rpc.func.ts +0 -21
- package/src/cosmos/circuit/v1/tx.rpc.msg.ts +0 -47
- 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.lcd.ts +0 -17
- package/src/cosmos/consensus/v1/query.rpc.Query.ts +0 -30
- package/src/cosmos/consensus/v1/query.rpc.func.ts +0 -9
- package/src/cosmos/consensus/v1/query.ts +0 -185
- package/src/cosmos/consensus/v1/tx.amino.ts +0 -8
- package/src/cosmos/consensus/v1/tx.registry.ts +0 -3
- package/src/cosmos/consensus/v1/tx.rpc.func.ts +0 -9
- package/src/cosmos/consensus/v1/tx.rpc.msg.ts +0 -31
- 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.amino.ts +0 -13
- package/src/cosmos/crisis/v1beta1/tx.registry.ts +0 -3
- package/src/cosmos/crisis/v1beta1/tx.rpc.func.ts +0 -15
- package/src/cosmos/crisis/v1beta1/tx.rpc.msg.ts +0 -39
- 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.lcd.ts +0 -76
- package/src/cosmos/distribution/v1beta1/query.rpc.Query.ts +0 -133
- package/src/cosmos/distribution/v1beta1/query.rpc.func.ts +0 -72
- package/src/cosmos/distribution/v1beta1/query.ts +0 -2126
- package/src/cosmos/distribution/v1beta1/tx.amino.ts +0 -38
- package/src/cosmos/distribution/v1beta1/tx.registry.ts +0 -3
- package/src/cosmos/distribution/v1beta1/tx.rpc.func.ts +0 -45
- package/src/cosmos/distribution/v1beta1/tx.rpc.msg.ts +0 -115
- 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.lcd.ts +0 -37
- package/src/cosmos/evidence/v1beta1/query.rpc.Query.ts +0 -43
- package/src/cosmos/evidence/v1beta1/query.rpc.func.ts +0 -16
- package/src/cosmos/evidence/v1beta1/query.ts +0 -451
- package/src/cosmos/evidence/v1beta1/tx.amino.ts +0 -8
- package/src/cosmos/evidence/v1beta1/tx.registry.ts +0 -3
- package/src/cosmos/evidence/v1beta1/tx.rpc.func.ts +0 -9
- package/src/cosmos/evidence/v1beta1/tx.rpc.msg.ts +0 -27
- 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.lcd.ts +0 -42
- package/src/cosmos/feegrant/v1beta1/query.rpc.Query.ts +0 -58
- package/src/cosmos/feegrant/v1beta1/query.rpc.func.ts +0 -23
- package/src/cosmos/feegrant/v1beta1/query.ts +0 -677
- package/src/cosmos/feegrant/v1beta1/tx.amino.ts +0 -18
- package/src/cosmos/feegrant/v1beta1/tx.d.ts +0 -232
- package/src/cosmos/feegrant/v1beta1/tx.registry.ts +0 -3
- package/src/cosmos/feegrant/v1beta1/tx.rpc.func.ts +0 -21
- package/src/cosmos/feegrant/v1beta1/tx.rpc.msg.ts +0 -53
- 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.lcd.ts +0 -85
- package/src/cosmos/gov/v1/query.rpc.Query.ts +0 -118
- package/src/cosmos/gov/v1/query.rpc.func.ts +0 -65
- package/src/cosmos/gov/v1/query.ts +0 -1970
- package/src/cosmos/gov/v1/tx.amino.ts +0 -38
- package/src/cosmos/gov/v1/tx.d.ts +0 -624
- package/src/cosmos/gov/v1/tx.registry.ts +0 -3
- package/src/cosmos/gov/v1/tx.rpc.func.ts +0 -45
- package/src/cosmos/gov/v1/tx.rpc.msg.ts +0 -89
- package/src/cosmos/gov/v1/tx.ts +0 -1657
- package/src/cosmos/gov/v1beta1/genesis.ts +0 -202
- package/src/cosmos/gov/v1beta1/gov.d.ts +0 -522
- package/src/cosmos/gov/v1beta1/gov.ts +0 -1425
- package/src/cosmos/gov/v1beta1/query.lcd.ts +0 -80
- package/src/cosmos/gov/v1beta1/query.rpc.Query.ts +0 -107
- package/src/cosmos/gov/v1beta1/query.rpc.func.ts +0 -58
- package/src/cosmos/gov/v1beta1/query.ts +0 -1749
- package/src/cosmos/gov/v1beta1/tx.amino.ts +0 -23
- package/src/cosmos/gov/v1beta1/tx.d.ts +0 -325
- package/src/cosmos/gov/v1beta1/tx.registry.ts +0 -3
- package/src/cosmos/gov/v1beta1/tx.rpc.func.ts +0 -27
- package/src/cosmos/gov/v1beta1/tx.rpc.msg.ts +0 -53
- 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.lcd.ts +0 -145
- package/src/cosmos/group/v1/query.rpc.Query.ts +0 -191
- package/src/cosmos/group/v1/query.rpc.func.ts +0 -100
- package/src/cosmos/group/v1/query.ts +0 -3015
- package/src/cosmos/group/v1/tx.amino.ts +0 -73
- package/src/cosmos/group/v1/tx.registry.ts +0 -3
- package/src/cosmos/group/v1/tx.rpc.func.ts +0 -87
- package/src/cosmos/group/v1/tx.rpc.msg.ts +0 -127
- 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.lcd.ts +0 -27
- package/src/cosmos/mint/v1beta1/query.rpc.Query.ts +0 -52
- package/src/cosmos/mint/v1beta1/query.rpc.func.ts +0 -23
- package/src/cosmos/mint/v1beta1/query.ts +0 -541
- package/src/cosmos/mint/v1beta1/tx.amino.ts +0 -8
- package/src/cosmos/mint/v1beta1/tx.registry.ts +0 -3
- package/src/cosmos/mint/v1beta1/tx.rpc.func.ts +0 -9
- package/src/cosmos/mint/v1beta1/tx.rpc.msg.ts +0 -31
- 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.lcd.ts +0 -69
- package/src/cosmos/nft/v1beta1/query.rpc.Query.ts +0 -102
- package/src/cosmos/nft/v1beta1/query.rpc.func.ts +0 -51
- package/src/cosmos/nft/v1beta1/query.ts +0 -1465
- package/src/cosmos/nft/v1beta1/tx.amino.ts +0 -8
- package/src/cosmos/nft/v1beta1/tx.registry.ts +0 -3
- package/src/cosmos/nft/v1beta1/tx.rpc.func.ts +0 -9
- package/src/cosmos/nft/v1beta1/tx.rpc.msg.ts +0 -23
- 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.Query.ts +0 -41
- package/src/cosmos/orm/query/v1alpha1/query.rpc.func.ts +0 -16
- 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.lcd.ts +0 -34
- package/src/cosmos/params/v1beta1/query.rpc.Query.ts +0 -51
- package/src/cosmos/params/v1beta1/query.rpc.func.ts +0 -16
- 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 -9
- package/src/cosmos/reflection/v1/reflection.ts +0 -179
- package/src/cosmos/rpc.query.ts +0 -29
- package/src/cosmos/rpc.tx.ts +0 -34
- 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.lcd.ts +0 -36
- package/src/cosmos/slashing/v1beta1/query.rpc.Query.ts +0 -54
- package/src/cosmos/slashing/v1beta1/query.rpc.func.ts +0 -23
- package/src/cosmos/slashing/v1beta1/query.ts +0 -598
- package/src/cosmos/slashing/v1beta1/slashing.ts +0 -357
- package/src/cosmos/slashing/v1beta1/tx.amino.ts +0 -13
- package/src/cosmos/slashing/v1beta1/tx.registry.ts +0 -3
- package/src/cosmos/slashing/v1beta1/tx.rpc.func.ts +0 -15
- package/src/cosmos/slashing/v1beta1/tx.rpc.msg.ts +0 -45
- 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.lcd.ts +0 -159
- package/src/cosmos/staking/v1beta1/query.rpc.Query.ts +0 -241
- package/src/cosmos/staking/v1beta1/query.rpc.func.ts +0 -100
- package/src/cosmos/staking/v1beta1/query.ts +0 -3073
- package/src/cosmos/staking/v1beta1/staking.ts +0 -3005
- package/src/cosmos/staking/v1beta1/tx.amino.ts +0 -38
- package/src/cosmos/staking/v1beta1/tx.registry.ts +0 -3
- package/src/cosmos/staking/v1beta1/tx.rpc.func.ts +0 -45
- package/src/cosmos/staking/v1beta1/tx.rpc.msg.ts +0 -97
- 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.lcd.ts +0 -57
- package/src/cosmos/tx/v1beta1/service.rpc.Service.ts +0 -148
- package/src/cosmos/tx/v1beta1/service.rpc.func.ts +0 -65
- 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.lcd.ts +0 -52
- package/src/cosmos/upgrade/v1beta1/query.rpc.Query.ts +0 -98
- package/src/cosmos/upgrade/v1beta1/query.rpc.func.ts +0 -37
- package/src/cosmos/upgrade/v1beta1/query.ts +0 -1016
- package/src/cosmos/upgrade/v1beta1/tx.amino.ts +0 -13
- package/src/cosmos/upgrade/v1beta1/tx.registry.ts +0 -3
- package/src/cosmos/upgrade/v1beta1/tx.rpc.func.ts +0 -15
- package/src/cosmos/upgrade/v1beta1/tx.rpc.msg.ts +0 -45
- 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.amino.ts +0 -18
- package/src/cosmos/vesting/v1beta1/tx.registry.ts +0 -3
- package/src/cosmos/vesting/v1beta1/tx.rpc.func.ts +0 -21
- package/src/cosmos/vesting/v1beta1/tx.rpc.msg.ts +0 -59
- 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.lcd.ts +0 -108
- package/src/cosmwasm/wasm/v1/query.rpc.Query.ts +0 -144
- package/src/cosmwasm/wasm/v1/query.rpc.func.ts +0 -79
- package/src/cosmwasm/wasm/v1/query.ts +0 -2560
- package/src/cosmwasm/wasm/v1/tx.amino.ts +0 -88
- package/src/cosmwasm/wasm/v1/tx.registry.ts +0 -3
- package/src/cosmwasm/wasm/v1/tx.rpc.func.ts +0 -105
- package/src/cosmwasm/wasm/v1/tx.rpc.msg.ts +0 -225
- 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.lcd.ts +0 -157
- package/src/ethermint/evm/v1/query.rpc.Query.ts +0 -164
- package/src/ethermint/evm/v1/query.rpc.func.ts +0 -87
- package/src/ethermint/evm/v1/query.ts +0 -2535
- package/src/ethermint/evm/v1/tx.amino.ts +0 -13
- package/src/ethermint/evm/v1/tx.registry.ts +0 -3
- package/src/ethermint/evm/v1/tx.rpc.func.ts +0 -15
- package/src/ethermint/evm/v1/tx.rpc.msg.ts +0 -35
- 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.lcd.ts +0 -27
- package/src/ethermint/feemarket/v1/query.rpc.Query.ts +0 -52
- package/src/ethermint/feemarket/v1/query.rpc.func.ts +0 -23
- package/src/ethermint/feemarket/v1/query.ts +0 -487
- package/src/ethermint/feemarket/v1/tx.amino.ts +0 -8
- package/src/ethermint/feemarket/v1/tx.registry.ts +0 -3
- package/src/ethermint/feemarket/v1/tx.rpc.func.ts +0 -9
- package/src/ethermint/feemarket/v1/tx.rpc.msg.ts +0 -27
- 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.d.ts +0 -10
- package/src/extern.js +0 -36
- 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.d.ts +0 -117
- package/src/helper-func-types.js +0 -55
- package/src/helper-func-types.ts +0 -191
- package/src/helpers.d.ts +0 -82
- package/src/helpers.js +0 -143
- 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.lcd.ts +0 -117
- package/src/ibc/applications/fee/v1/query.rpc.Query.ts +0 -129
- package/src/ibc/applications/fee/v1/query.rpc.func.ts +0 -72
- package/src/ibc/applications/fee/v1/query.ts +0 -2134
- package/src/ibc/applications/fee/v1/tx.amino.ts +0 -23
- package/src/ibc/applications/fee/v1/tx.registry.ts +0 -3
- package/src/ibc/applications/fee/v1/tx.rpc.func.ts +0 -27
- package/src/ibc/applications/fee/v1/tx.rpc.msg.ts +0 -83
- 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.lcd.ts +0 -22
- package/src/ibc/applications/interchain_accounts/controller/v1/query.rpc.Query.ts +0 -41
- package/src/ibc/applications/interchain_accounts/controller/v1/query.rpc.func.ts +0 -16
- package/src/ibc/applications/interchain_accounts/controller/v1/query.ts +0 -379
- package/src/ibc/applications/interchain_accounts/controller/v1/tx.amino.ts +0 -18
- package/src/ibc/applications/interchain_accounts/controller/v1/tx.registry.ts +0 -3
- package/src/ibc/applications/interchain_accounts/controller/v1/tx.rpc.func.ts +0 -21
- package/src/ibc/applications/interchain_accounts/controller/v1/tx.rpc.msg.ts +0 -39
- 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.lcd.ts +0 -17
- package/src/ibc/applications/interchain_accounts/host/v1/query.rpc.Query.ts +0 -30
- package/src/ibc/applications/interchain_accounts/host/v1/query.rpc.func.ts +0 -9
- package/src/ibc/applications/interchain_accounts/host/v1/query.ts +0 -177
- package/src/ibc/applications/interchain_accounts/host/v1/tx.amino.ts +0 -13
- package/src/ibc/applications/interchain_accounts/host/v1/tx.registry.ts +0 -3
- package/src/ibc/applications/interchain_accounts/host/v1/tx.rpc.func.ts +0 -15
- package/src/ibc/applications/interchain_accounts/host/v1/tx.rpc.msg.ts +0 -31
- 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.lcd.ts +0 -69
- package/src/ibc/applications/transfer/v1/query.rpc.Query.ts +0 -87
- package/src/ibc/applications/transfer/v1/query.rpc.func.ts +0 -44
- 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.amino.ts +0 -13
- package/src/ibc/applications/transfer/v1/tx.registry.ts +0 -3
- package/src/ibc/applications/transfer/v1/tx.rpc.func.ts +0 -15
- package/src/ibc/applications/transfer/v1/tx.rpc.msg.ts +0 -31
- 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.lcd.ts +0 -135
- package/src/ibc/core/channel/v1/query.rpc.Query.ts +0 -240
- package/src/ibc/core/channel/v1/query.rpc.func.ts +0 -121
- package/src/ibc/core/channel/v1/query.ts +0 -4354
- package/src/ibc/core/channel/v1/tx.amino.ts +0 -98
- package/src/ibc/core/channel/v1/tx.registry.ts +0 -3
- package/src/ibc/core/channel/v1/tx.rpc.func.ts +0 -117
- package/src/ibc/core/channel/v1/tx.rpc.msg.ts +0 -171
- 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.lcd.ts +0 -86
- package/src/ibc/core/client/v1/query.rpc.Query.ts +0 -139
- package/src/ibc/core/client/v1/query.rpc.func.ts +0 -72
- package/src/ibc/core/client/v1/query.ts +0 -2280
- package/src/ibc/core/client/v1/tx.amino.ts +0 -38
- package/src/ibc/core/client/v1/tx.registry.ts +0 -3
- package/src/ibc/core/client/v1/tx.rpc.func.ts +0 -45
- package/src/ibc/core/client/v1/tx.rpc.msg.ts +0 -71
- 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.lcd.ts +0 -54
- package/src/ibc/core/connection/v1/query.rpc.Query.ts +0 -99
- package/src/ibc/core/connection/v1/query.rpc.func.ts +0 -44
- package/src/ibc/core/connection/v1/query.ts +0 -1408
- package/src/ibc/core/connection/v1/tx.amino.ts +0 -28
- package/src/ibc/core/connection/v1/tx.registry.ts +0 -3
- package/src/ibc/core/connection/v1/tx.rpc.func.ts +0 -33
- package/src/ibc/core/connection/v1/tx.rpc.msg.ts +0 -63
- 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.lcd.ts +0 -31
- package/src/ibc/lightclients/wasm/v1/query.rpc.Query.ts +0 -43
- package/src/ibc/lightclients/wasm/v1/query.rpc.func.ts +0 -16
- package/src/ibc/lightclients/wasm/v1/query.ts +0 -404
- package/src/ibc/lightclients/wasm/v1/tx.amino.ts +0 -18
- package/src/ibc/lightclients/wasm/v1/tx.registry.ts +0 -3
- package/src/ibc/lightclients/wasm/v1/tx.rpc.func.ts +0 -21
- package/src/ibc/lightclients/wasm/v1/tx.rpc.msg.ts +0 -39
- package/src/ibc/lightclients/wasm/v1/tx.ts +0 -621
- package/src/ibc/lightclients/wasm/v1/wasm.ts +0 -438
- package/src/registry.d.ts +0 -33
- package/src/registry.js +0 -158
- 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.d.ts +0 -124
- package/src/types.js +0 -7
- package/src/types.ts +0 -155
- package/src/utf8.d.ts +0 -27
- package/src/utf8.js +0 -140
- package/src/utf8.ts +0 -148
- package/src/varint.d.ts +0 -105
- package/src/varint.js +0 -425
- package/src/varint.ts +0 -488
- package/src/xpla/lcd.ts +0 -180
- package/src/xpla/reward/v1beta1/genesis.ts +0 -92
- package/src/xpla/reward/v1beta1/query.lcd.ts +0 -22
- package/src/xpla/reward/v1beta1/query.rpc.Query.ts +0 -41
- package/src/xpla/reward/v1beta1/query.rpc.func.ts +0 -16
- package/src/xpla/reward/v1beta1/query.ts +0 -333
- package/src/xpla/reward/v1beta1/reward.ts +0 -153
- package/src/xpla/reward/v1beta1/tx.amino.ts +0 -13
- package/src/xpla/reward/v1beta1/tx.registry.ts +0 -3
- package/src/xpla/reward/v1beta1/tx.rpc.func.ts +0 -15
- package/src/xpla/reward/v1beta1/tx.rpc.msg.ts +0 -41
- package/src/xpla/reward/v1beta1/tx.ts +0 -391
- package/src/xpla/rpc.query.ts +0 -129
- package/src/xpla/rpc.tx.ts +0 -6
- package/src/xpla/volunteer/v1beta1/genesis.ts +0 -92
- package/src/xpla/volunteer/v1beta1/proposal.ts +0 -649
- package/src/xpla/volunteer/v1beta1/query.lcd.ts +0 -17
- package/src/xpla/volunteer/v1beta1/query.rpc.Query.ts +0 -30
- package/src/xpla/volunteer/v1beta1/query.rpc.func.ts +0 -9
- package/src/xpla/volunteer/v1beta1/query.ts +0 -160
- package/src/xpla/volunteer/v1beta1/tx.amino.ts +0 -13
- package/src/xpla/volunteer/v1beta1/tx.registry.ts +0 -3
- package/src/xpla/volunteer/v1beta1/tx.rpc.func.ts +0 -15
- package/src/xpla/volunteer/v1beta1/tx.rpc.msg.ts +0 -35
- 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
- /package/{src → dist}/amino/amino.d.ts +0 -0
- /package/{src → dist}/amino/amino.js +0 -0
- /package/{src → dist}/cosmos/auth/v1beta1/auth.d.ts +0 -0
- /package/{src → dist}/cosmos/auth/v1beta1/auth.js +0 -0
- /package/{src → dist}/cosmos/auth/v1beta1/query.d.ts +0 -0
- /package/{src → dist}/cosmos/auth/v1beta1/query.js +0 -0
- /package/{src → dist}/cosmos/auth/v1beta1/query.rpc.func.d.ts +0 -0
- /package/{src → dist}/cosmos/auth/v1beta1/query.rpc.func.js +0 -0
- /package/{src/ethermint/feemarket/v1 → dist/cosmos/auth/v1beta1}/tx.rpc.func.d.ts +0 -0
- /package/{src/ethermint/feemarket/v1 → dist/cosmos/auth/v1beta1}/tx.rpc.func.js +0 -0
- /package/{src → dist}/cosmos/authz/v1beta1/authz.js +0 -0
- /package/{src → dist}/cosmos/authz/v1beta1/tx.d.ts +0 -0
- /package/{src → dist}/cosmos/authz/v1beta1/tx.js +0 -0
- /package/{src → dist}/cosmos/authz/v1beta1/tx.rpc.func.d.ts +0 -0
- /package/{src → dist}/cosmos/authz/v1beta1/tx.rpc.func.js +0 -0
- /package/{src → dist}/cosmos/bank/v1beta1/bank.d.ts +0 -0
- /package/{src → dist}/cosmos/bank/v1beta1/bank.js +0 -0
- /package/{src → dist}/cosmos/bank/v1beta1/query.d.ts +0 -0
- /package/{src → dist}/cosmos/bank/v1beta1/query.js +0 -0
- /package/{src → dist}/cosmos/bank/v1beta1/query.rpc.func.d.ts +0 -0
- /package/{src → dist}/cosmos/bank/v1beta1/query.rpc.func.js +0 -0
- /package/{src → dist}/cosmos/bank/v1beta1/tx.d.ts +0 -0
- /package/{src → dist}/cosmos/bank/v1beta1/tx.js +0 -0
- /package/{src → dist}/cosmos/bank/v1beta1/tx.rpc.func.d.ts +0 -0
- /package/{src → dist}/cosmos/bank/v1beta1/tx.rpc.func.js +0 -0
- /package/{src → dist}/cosmos/base/abci/v1beta1/abci.d.ts +0 -0
- /package/{src → dist}/cosmos/base/abci/v1beta1/abci.js +0 -0
- /package/{src → dist}/cosmos/base/query/v1beta1/pagination.d.ts +0 -0
- /package/{src → dist}/cosmos/base/query/v1beta1/pagination.js +0 -0
- /package/{src → dist}/cosmos/base/v1beta1/coin.d.ts +0 -0
- /package/{src → dist}/cosmos/base/v1beta1/coin.js +0 -0
- /package/{src → dist}/cosmos/crypto/ed25519/keys.d.ts +0 -0
- /package/{src → dist}/cosmos/crypto/ed25519/keys.js +0 -0
- /package/{src → dist}/cosmos/crypto/multisig/v1beta1/multisig.d.ts +0 -0
- /package/{src → dist}/cosmos/crypto/multisig/v1beta1/multisig.js +0 -0
- /package/{src → dist}/cosmos/crypto/secp256k1/keys.d.ts +0 -0
- /package/{src → dist}/cosmos/crypto/secp256k1/keys.js +0 -0
- /package/{src → dist}/cosmos/crypto/secp256r1/keys.d.ts +0 -0
- /package/{src → dist}/cosmos/crypto/secp256r1/keys.js +0 -0
- /package/{src → dist}/cosmos/distribution/v1beta1/distribution.d.ts +0 -0
- /package/{src → dist}/cosmos/distribution/v1beta1/distribution.js +0 -0
- /package/{src → dist}/cosmos/distribution/v1beta1/tx.d.ts +0 -0
- /package/{src → dist}/cosmos/distribution/v1beta1/tx.js +0 -0
- /package/{src → dist}/cosmos/distribution/v1beta1/tx.rpc.func.d.ts +0 -0
- /package/{src → dist}/cosmos/distribution/v1beta1/tx.rpc.func.js +0 -0
- /package/{src → dist}/cosmos/feegrant/v1beta1/tx.js +0 -0
- /package/{src → dist}/cosmos/feegrant/v1beta1/tx.rpc.func.d.ts +0 -0
- /package/{src → dist}/cosmos/feegrant/v1beta1/tx.rpc.func.js +0 -0
- /package/{src → dist}/cosmos/gov/v1/gov.d.ts +0 -0
- /package/{src → dist}/cosmos/gov/v1/gov.js +0 -0
- /package/{src → dist}/cosmos/gov/v1/tx.js +0 -0
- /package/{src → dist}/cosmos/gov/v1/tx.rpc.func.d.ts +0 -0
- /package/{src → dist}/cosmos/gov/v1/tx.rpc.func.js +0 -0
- /package/{src → dist}/cosmos/gov/v1beta1/gov.js +0 -0
- /package/{src → dist}/cosmos/gov/v1beta1/query.d.ts +0 -0
- /package/{src → dist}/cosmos/gov/v1beta1/query.js +0 -0
- /package/{src → dist}/cosmos/gov/v1beta1/query.rpc.func.d.ts +0 -0
- /package/{src → dist}/cosmos/gov/v1beta1/query.rpc.func.js +0 -0
- /package/{src → dist}/cosmos/gov/v1beta1/tx.js +0 -0
- /package/{src → dist}/cosmos/gov/v1beta1/tx.rpc.func.d.ts +0 -0
- /package/{src → dist}/cosmos/gov/v1beta1/tx.rpc.func.js +0 -0
- /package/{src → dist}/cosmos/group/v1/tx.d.ts +0 -0
- /package/{src → dist}/cosmos/group/v1/tx.js +0 -0
- /package/{src → dist}/cosmos/group/v1/tx.rpc.func.d.ts +0 -0
- /package/{src → dist}/cosmos/group/v1/tx.rpc.func.js +0 -0
- /package/{src → dist}/cosmos/group/v1/types.d.ts +0 -0
- /package/{src → dist}/cosmos/group/v1/types.js +0 -0
- /package/{src → dist}/cosmos/ics23/v1/proofs.d.ts +0 -0
- /package/{src → dist}/cosmos/ics23/v1/proofs.js +0 -0
- /package/{src/cosmos/msg/v1/msg.d.ts → dist/cosmos/msg/textual/v1/textual.d.ts} +0 -0
- /package/{src/cosmos/msg/v1/msg.js → dist/cosmos/msg/textual/v1/textual.js} +0 -0
- /package/{src/cosmos/query/v1/query.d.ts → dist/cosmos/msg/v1/msg.d.ts} +0 -0
- /package/{src/cosmos/query/v1/query.js → dist/cosmos/msg/v1/msg.js} +0 -0
- /package/{src/gogoproto/gogo.d.ts → dist/cosmos/query/v1/query.d.ts} +0 -0
- /package/{src/gogoproto/gogo.js → dist/cosmos/query/v1/query.js} +0 -0
- /package/{src → dist}/cosmos/staking/v1beta1/query.d.ts +0 -0
- /package/{src → dist}/cosmos/staking/v1beta1/query.js +0 -0
- /package/{src → dist}/cosmos/staking/v1beta1/query.rpc.func.d.ts +0 -0
- /package/{src → dist}/cosmos/staking/v1beta1/query.rpc.func.js +0 -0
- /package/{src → dist}/cosmos/staking/v1beta1/staking.d.ts +0 -0
- /package/{src → dist}/cosmos/staking/v1beta1/staking.js +0 -0
- /package/{src → dist}/cosmos/staking/v1beta1/tx.d.ts +0 -0
- /package/{src → dist}/cosmos/staking/v1beta1/tx.js +0 -0
- /package/{src → dist}/cosmos/staking/v1beta1/tx.rpc.func.d.ts +0 -0
- /package/{src → dist}/cosmos/staking/v1beta1/tx.rpc.func.js +0 -0
- /package/{src → dist}/cosmos/tx/signing/v1beta1/signing.d.ts +0 -0
- /package/{src → dist}/cosmos/tx/signing/v1beta1/signing.js +0 -0
- /package/{src → dist}/cosmos/tx/v1beta1/service.d.ts +0 -0
- /package/{src → dist}/cosmos/tx/v1beta1/service.js +0 -0
- /package/{src → dist}/cosmos/tx/v1beta1/service.rpc.func.d.ts +0 -0
- /package/{src → dist}/cosmos/tx/v1beta1/service.rpc.func.js +0 -0
- /package/{src → dist}/cosmos/tx/v1beta1/tx.d.ts +0 -0
- /package/{src → dist}/cosmos/tx/v1beta1/tx.js +0 -0
- /package/{src → dist}/cosmos/upgrade/v1beta1/upgrade.d.ts +0 -0
- /package/{src → dist}/cosmos/upgrade/v1beta1/upgrade.js +0 -0
- /package/{src → dist}/cosmos/vesting/v1beta1/tx.d.ts +0 -0
- /package/{src → dist}/cosmos/vesting/v1beta1/tx.js +0 -0
- /package/{src → dist}/cosmos/vesting/v1beta1/tx.rpc.func.d.ts +0 -0
- /package/{src → dist}/cosmos/vesting/v1beta1/tx.rpc.func.js +0 -0
- /package/{src → dist}/cosmos/vesting/v1beta1/vesting.d.ts +0 -0
- /package/{src → dist}/cosmos/vesting/v1beta1/vesting.js +0 -0
- /package/{src → dist}/cosmos_proto/cosmos.d.ts +0 -0
- /package/{src → dist}/cosmos_proto/cosmos.js +0 -0
- /package/{src/google/api/annotations.d.ts → dist/esm/amino/amino.js} +0 -0
- /package/{src → dist}/ethermint/crypto/v1/ethsecp256k1/keys.d.ts +0 -0
- /package/{src → dist}/ethermint/crypto/v1/ethsecp256k1/keys.js +0 -0
- /package/{src → dist}/ethermint/evm/v1/events.d.ts +0 -0
- /package/{src → dist}/ethermint/evm/v1/events.js +0 -0
- /package/{src → dist}/ethermint/evm/v1/evm.d.ts +0 -0
- /package/{src → dist}/ethermint/evm/v1/evm.js +0 -0
- /package/{src → dist}/ethermint/evm/v1/genesis.d.ts +0 -0
- /package/{src → dist}/ethermint/evm/v1/genesis.js +0 -0
- /package/{src → dist}/ethermint/evm/v1/query.d.ts +0 -0
- /package/{src → dist}/ethermint/evm/v1/query.js +0 -0
- /package/{src → dist}/ethermint/evm/v1/query.rpc.func.d.ts +0 -0
- /package/{src → dist}/ethermint/evm/v1/query.rpc.func.js +0 -0
- /package/{src → dist}/ethermint/evm/v1/tx.d.ts +0 -0
- /package/{src → dist}/ethermint/evm/v1/tx.js +0 -0
- /package/{src → dist}/ethermint/evm/v1/tx.rpc.func.d.ts +0 -0
- /package/{src → dist}/ethermint/evm/v1/tx.rpc.func.js +0 -0
- /package/{src → dist}/ethermint/feemarket/v1/events.d.ts +0 -0
- /package/{src → dist}/ethermint/feemarket/v1/events.js +0 -0
- /package/{src → dist}/ethermint/feemarket/v1/feemarket.d.ts +0 -0
- /package/{src → dist}/ethermint/feemarket/v1/feemarket.js +0 -0
- /package/{src → dist}/ethermint/feemarket/v1/genesis.d.ts +0 -0
- /package/{src → dist}/ethermint/feemarket/v1/genesis.js +0 -0
- /package/{src → dist}/ethermint/feemarket/v1/query.d.ts +0 -0
- /package/{src → dist}/ethermint/feemarket/v1/query.js +0 -0
- /package/{src → dist}/ethermint/feemarket/v1/query.rpc.func.d.ts +0 -0
- /package/{src → dist}/ethermint/feemarket/v1/query.rpc.func.js +0 -0
- /package/{src → dist}/ethermint/feemarket/v1/tx.d.ts +0 -0
- /package/{src → dist}/ethermint/feemarket/v1/tx.js +0 -0
- /package/{src → dist}/ethermint/types/v1/account.d.ts +0 -0
- /package/{src → dist}/ethermint/types/v1/account.js +0 -0
- /package/{src → dist}/ethermint/types/v1/dynamic_fee.d.ts +0 -0
- /package/{src → dist}/ethermint/types/v1/dynamic_fee.js +0 -0
- /package/{src → dist}/ethermint/types/v1/indexer.d.ts +0 -0
- /package/{src → dist}/ethermint/types/v1/indexer.js +0 -0
- /package/{src → dist}/ethermint/types/v1/web3.d.ts +0 -0
- /package/{src → dist}/ethermint/types/v1/web3.js +0 -0
- /package/{src/google/api/annotations.js → dist/gogoproto/gogo.js} +0 -0
- /package/{src → dist}/google/api/http.d.ts +0 -0
- /package/{src → dist}/google/api/http.js +0 -0
- /package/{src → dist}/google/protobuf/any.d.ts +0 -0
- /package/{src → dist}/google/protobuf/any.js +0 -0
- /package/{src → dist}/google/protobuf/descriptor.d.ts +0 -0
- /package/{src → dist}/google/protobuf/descriptor.js +0 -0
- /package/{src → dist}/google/protobuf/duration.d.ts +0 -0
- /package/{src → dist}/google/protobuf/duration.js +0 -0
- /package/{src → dist}/google/protobuf/timestamp.d.ts +0 -0
- /package/{src → dist}/google/protobuf/timestamp.js +0 -0
- /package/{src → dist}/ibc/applications/transfer/v1/transfer.d.ts +0 -0
- /package/{src → dist}/ibc/applications/transfer/v1/transfer.js +0 -0
- /package/{src → dist}/ibc/applications/transfer/v1/tx.d.ts +0 -0
- /package/{src → dist}/ibc/applications/transfer/v1/tx.js +0 -0
- /package/{src → dist}/ibc/applications/transfer/v1/tx.rpc.func.d.ts +0 -0
- /package/{src → dist}/ibc/applications/transfer/v1/tx.rpc.func.js +0 -0
- /package/{src → dist}/ibc/core/channel/v1/channel.d.ts +0 -0
- /package/{src → dist}/ibc/core/channel/v1/channel.js +0 -0
- /package/{src → dist}/ibc/core/channel/v1/tx.d.ts +0 -0
- /package/{src → dist}/ibc/core/channel/v1/tx.js +0 -0
- /package/{src → dist}/ibc/core/channel/v1/tx.rpc.func.d.ts +0 -0
- /package/{src → dist}/ibc/core/channel/v1/tx.rpc.func.js +0 -0
- /package/{src → dist}/ibc/core/channel/v1/upgrade.d.ts +0 -0
- /package/{src → dist}/ibc/core/channel/v1/upgrade.js +0 -0
- /package/{src → dist}/ibc/core/client/v1/client.d.ts +0 -0
- /package/{src → dist}/ibc/core/client/v1/client.js +0 -0
- /package/{src → dist}/ibc/core/client/v1/tx.d.ts +0 -0
- /package/{src → dist}/ibc/core/client/v1/tx.js +0 -0
- /package/{src → dist}/ibc/core/client/v1/tx.rpc.func.d.ts +0 -0
- /package/{src → dist}/ibc/core/client/v1/tx.rpc.func.js +0 -0
- /package/{src → dist}/ibc/core/commitment/v1/commitment.d.ts +0 -0
- /package/{src → dist}/ibc/core/commitment/v1/commitment.js +0 -0
- /package/{src → dist}/ibc/core/connection/v1/connection.d.ts +0 -0
- /package/{src → dist}/ibc/core/connection/v1/connection.js +0 -0
- /package/{src → dist}/ibc/core/connection/v1/tx.d.ts +0 -0
- /package/{src → dist}/ibc/core/connection/v1/tx.js +0 -0
- /package/{src → dist}/ibc/core/connection/v1/tx.rpc.func.d.ts +0 -0
- /package/{src → dist}/ibc/core/connection/v1/tx.rpc.func.js +0 -0
- /package/{src → dist}/tendermint/abci/types.d.ts +0 -0
- /package/{src → dist}/tendermint/abci/types.js +0 -0
- /package/{src → dist}/tendermint/crypto/keys.d.ts +0 -0
- /package/{src → dist}/tendermint/crypto/keys.js +0 -0
- /package/{src → dist}/tendermint/crypto/proof.d.ts +0 -0
- /package/{src → dist}/tendermint/crypto/proof.js +0 -0
- /package/{src → dist}/tendermint/types/block.d.ts +0 -0
- /package/{src → dist}/tendermint/types/block.js +0 -0
- /package/{src → dist}/tendermint/types/evidence.d.ts +0 -0
- /package/{src → dist}/tendermint/types/evidence.js +0 -0
- /package/{src → dist}/tendermint/types/params.d.ts +0 -0
- /package/{src → dist}/tendermint/types/params.js +0 -0
- /package/{src → dist}/tendermint/types/types.d.ts +0 -0
- /package/{src → dist}/tendermint/types/types.js +0 -0
- /package/{src → dist}/tendermint/types/validator.d.ts +0 -0
- /package/{src → dist}/tendermint/types/validator.js +0 -0
- /package/{src → dist}/tendermint/version/types.d.ts +0 -0
- /package/{src → dist}/tendermint/version/types.js +0 -0
- /package/{src → dist}/xpla/reward/v1beta1/genesis.d.ts +0 -0
- /package/{src → dist}/xpla/reward/v1beta1/genesis.js +0 -0
- /package/{src → dist}/xpla/reward/v1beta1/query.d.ts +0 -0
- /package/{src → dist}/xpla/reward/v1beta1/query.js +0 -0
- /package/{src → dist}/xpla/reward/v1beta1/query.rpc.func.d.ts +0 -0
- /package/{src → dist}/xpla/reward/v1beta1/query.rpc.func.js +0 -0
- /package/{src → dist}/xpla/reward/v1beta1/reward.d.ts +0 -0
- /package/{src → dist}/xpla/reward/v1beta1/reward.js +0 -0
- /package/{src → dist}/xpla/reward/v1beta1/tx.d.ts +0 -0
- /package/{src → dist}/xpla/reward/v1beta1/tx.js +0 -0
- /package/{src → dist}/xpla/reward/v1beta1/tx.rpc.func.d.ts +0 -0
- /package/{src → dist}/xpla/reward/v1beta1/tx.rpc.func.js +0 -0
- /package/{src → dist}/xpla/volunteer/v1beta1/genesis.d.ts +0 -0
- /package/{src → dist}/xpla/volunteer/v1beta1/genesis.js +0 -0
- /package/{src → dist}/xpla/volunteer/v1beta1/proposal.d.ts +0 -0
- /package/{src → dist}/xpla/volunteer/v1beta1/proposal.js +0 -0
- /package/{src → dist}/xpla/volunteer/v1beta1/query.d.ts +0 -0
- /package/{src → dist}/xpla/volunteer/v1beta1/query.js +0 -0
- /package/{src → dist}/xpla/volunteer/v1beta1/query.rpc.func.d.ts +0 -0
- /package/{src → dist}/xpla/volunteer/v1beta1/query.rpc.func.js +0 -0
- /package/{src → dist}/xpla/volunteer/v1beta1/tx.d.ts +0 -0
- /package/{src → dist}/xpla/volunteer/v1beta1/tx.js +0 -0
- /package/{src → dist}/xpla/volunteer/v1beta1/tx.rpc.func.d.ts +0 -0
- /package/{src → dist}/xpla/volunteer/v1beta1/tx.rpc.func.js +0 -0
- /package/{src → dist}/xpla/volunteer/v1beta1/volunteervalidator.d.ts +0 -0
- /package/{src → dist}/xpla/volunteer/v1beta1/volunteervalidator.js +0 -0
|
@@ -1,3207 +0,0 @@
|
|
|
1
|
-
import { MemberRequest, MemberRequestAmino, VoteOption, ProposalExecutorResult, ThresholdDecisionPolicy, ThresholdDecisionPolicyProtoMsg, PercentageDecisionPolicy, PercentageDecisionPolicyProtoMsg } from "./types";
|
|
2
|
-
import { Any, AnyProtoMsg, AnyAmino } from "../../../google/protobuf/any";
|
|
3
|
-
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
4
|
-
import { DeepPartial, isSet } from "../../../helpers";
|
|
5
|
-
import { GlobalDecoderRegistry } from "../../../registry";
|
|
6
|
-
/** Exec defines modes of execution of a proposal on creation or on new vote. */
|
|
7
|
-
export enum Exec {
|
|
8
|
-
/**
|
|
9
|
-
* EXEC_UNSPECIFIED - An empty value means that there should be a separate
|
|
10
|
-
* MsgExec request for the proposal to execute.
|
|
11
|
-
*/
|
|
12
|
-
EXEC_UNSPECIFIED = 0,
|
|
13
|
-
/**
|
|
14
|
-
* EXEC_TRY - Try to execute the proposal immediately.
|
|
15
|
-
* If the proposal is not allowed per the DecisionPolicy,
|
|
16
|
-
* the proposal will still be open and could
|
|
17
|
-
* be executed at a later point.
|
|
18
|
-
*/
|
|
19
|
-
EXEC_TRY = 1,
|
|
20
|
-
UNRECOGNIZED = -1,
|
|
21
|
-
}
|
|
22
|
-
export const ExecAmino = Exec;
|
|
23
|
-
export function execFromJSON(object: any): Exec {
|
|
24
|
-
switch (object) {
|
|
25
|
-
case 0:
|
|
26
|
-
case "EXEC_UNSPECIFIED":
|
|
27
|
-
return Exec.EXEC_UNSPECIFIED;
|
|
28
|
-
case 1:
|
|
29
|
-
case "EXEC_TRY":
|
|
30
|
-
return Exec.EXEC_TRY;
|
|
31
|
-
case -1:
|
|
32
|
-
case "UNRECOGNIZED":
|
|
33
|
-
default:
|
|
34
|
-
return Exec.UNRECOGNIZED;
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
export function execToJSON(object: Exec): string {
|
|
38
|
-
switch (object) {
|
|
39
|
-
case Exec.EXEC_UNSPECIFIED:
|
|
40
|
-
return "EXEC_UNSPECIFIED";
|
|
41
|
-
case Exec.EXEC_TRY:
|
|
42
|
-
return "EXEC_TRY";
|
|
43
|
-
case Exec.UNRECOGNIZED:
|
|
44
|
-
default:
|
|
45
|
-
return "UNRECOGNIZED";
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
/** MsgCreateGroup is the Msg/CreateGroup request type. */
|
|
49
|
-
export interface MsgCreateGroup {
|
|
50
|
-
/** admin is the account address of the group admin. */
|
|
51
|
-
admin: string;
|
|
52
|
-
/** members defines the group members. */
|
|
53
|
-
members: MemberRequest[];
|
|
54
|
-
/** metadata is any arbitrary metadata to attached to the group. */
|
|
55
|
-
metadata: string;
|
|
56
|
-
}
|
|
57
|
-
export interface MsgCreateGroupProtoMsg {
|
|
58
|
-
typeUrl: "/cosmos.group.v1.MsgCreateGroup";
|
|
59
|
-
value: Uint8Array;
|
|
60
|
-
}
|
|
61
|
-
/** MsgCreateGroup is the Msg/CreateGroup request type. */
|
|
62
|
-
export interface MsgCreateGroupAmino {
|
|
63
|
-
/** admin is the account address of the group admin. */
|
|
64
|
-
admin: string;
|
|
65
|
-
/** members defines the group members. */
|
|
66
|
-
members: MemberRequestAmino[];
|
|
67
|
-
/** metadata is any arbitrary metadata to attached to the group. */
|
|
68
|
-
metadata: string;
|
|
69
|
-
}
|
|
70
|
-
export interface MsgCreateGroupAminoMsg {
|
|
71
|
-
type: "cosmos-sdk/MsgCreateGroup";
|
|
72
|
-
value: MsgCreateGroupAmino;
|
|
73
|
-
}
|
|
74
|
-
/** MsgCreateGroupResponse is the Msg/CreateGroup response type. */
|
|
75
|
-
export interface MsgCreateGroupResponse {
|
|
76
|
-
/** group_id is the unique ID of the newly created group. */
|
|
77
|
-
groupId: bigint;
|
|
78
|
-
}
|
|
79
|
-
export interface MsgCreateGroupResponseProtoMsg {
|
|
80
|
-
typeUrl: "/cosmos.group.v1.MsgCreateGroupResponse";
|
|
81
|
-
value: Uint8Array;
|
|
82
|
-
}
|
|
83
|
-
/** MsgCreateGroupResponse is the Msg/CreateGroup response type. */
|
|
84
|
-
export interface MsgCreateGroupResponseAmino {
|
|
85
|
-
/** group_id is the unique ID of the newly created group. */
|
|
86
|
-
group_id: string;
|
|
87
|
-
}
|
|
88
|
-
export interface MsgCreateGroupResponseAminoMsg {
|
|
89
|
-
type: "cosmos-sdk/MsgCreateGroupResponse";
|
|
90
|
-
value: MsgCreateGroupResponseAmino;
|
|
91
|
-
}
|
|
92
|
-
/** MsgUpdateGroupMembers is the Msg/UpdateGroupMembers request type. */
|
|
93
|
-
export interface MsgUpdateGroupMembers {
|
|
94
|
-
/** admin is the account address of the group admin. */
|
|
95
|
-
admin: string;
|
|
96
|
-
/** group_id is the unique ID of the group. */
|
|
97
|
-
groupId: bigint;
|
|
98
|
-
/**
|
|
99
|
-
* member_updates is the list of members to update,
|
|
100
|
-
* set weight to 0 to remove a member.
|
|
101
|
-
*/
|
|
102
|
-
memberUpdates: MemberRequest[];
|
|
103
|
-
}
|
|
104
|
-
export interface MsgUpdateGroupMembersProtoMsg {
|
|
105
|
-
typeUrl: "/cosmos.group.v1.MsgUpdateGroupMembers";
|
|
106
|
-
value: Uint8Array;
|
|
107
|
-
}
|
|
108
|
-
/** MsgUpdateGroupMembers is the Msg/UpdateGroupMembers request type. */
|
|
109
|
-
export interface MsgUpdateGroupMembersAmino {
|
|
110
|
-
/** admin is the account address of the group admin. */
|
|
111
|
-
admin: string;
|
|
112
|
-
/** group_id is the unique ID of the group. */
|
|
113
|
-
group_id: string;
|
|
114
|
-
/**
|
|
115
|
-
* member_updates is the list of members to update,
|
|
116
|
-
* set weight to 0 to remove a member.
|
|
117
|
-
*/
|
|
118
|
-
member_updates: MemberRequestAmino[];
|
|
119
|
-
}
|
|
120
|
-
export interface MsgUpdateGroupMembersAminoMsg {
|
|
121
|
-
type: "cosmos-sdk/MsgUpdateGroupMembers";
|
|
122
|
-
value: MsgUpdateGroupMembersAmino;
|
|
123
|
-
}
|
|
124
|
-
/** MsgUpdateGroupMembersResponse is the Msg/UpdateGroupMembers response type. */
|
|
125
|
-
export interface MsgUpdateGroupMembersResponse {}
|
|
126
|
-
export interface MsgUpdateGroupMembersResponseProtoMsg {
|
|
127
|
-
typeUrl: "/cosmos.group.v1.MsgUpdateGroupMembersResponse";
|
|
128
|
-
value: Uint8Array;
|
|
129
|
-
}
|
|
130
|
-
/** MsgUpdateGroupMembersResponse is the Msg/UpdateGroupMembers response type. */
|
|
131
|
-
export interface MsgUpdateGroupMembersResponseAmino {}
|
|
132
|
-
export interface MsgUpdateGroupMembersResponseAminoMsg {
|
|
133
|
-
type: "cosmos-sdk/MsgUpdateGroupMembersResponse";
|
|
134
|
-
value: MsgUpdateGroupMembersResponseAmino;
|
|
135
|
-
}
|
|
136
|
-
/** MsgUpdateGroupAdmin is the Msg/UpdateGroupAdmin request type. */
|
|
137
|
-
export interface MsgUpdateGroupAdmin {
|
|
138
|
-
/** admin is the current account address of the group admin. */
|
|
139
|
-
admin: string;
|
|
140
|
-
/** group_id is the unique ID of the group. */
|
|
141
|
-
groupId: bigint;
|
|
142
|
-
/** new_admin is the group new admin account address. */
|
|
143
|
-
newAdmin: string;
|
|
144
|
-
}
|
|
145
|
-
export interface MsgUpdateGroupAdminProtoMsg {
|
|
146
|
-
typeUrl: "/cosmos.group.v1.MsgUpdateGroupAdmin";
|
|
147
|
-
value: Uint8Array;
|
|
148
|
-
}
|
|
149
|
-
/** MsgUpdateGroupAdmin is the Msg/UpdateGroupAdmin request type. */
|
|
150
|
-
export interface MsgUpdateGroupAdminAmino {
|
|
151
|
-
/** admin is the current account address of the group admin. */
|
|
152
|
-
admin: string;
|
|
153
|
-
/** group_id is the unique ID of the group. */
|
|
154
|
-
group_id: string;
|
|
155
|
-
/** new_admin is the group new admin account address. */
|
|
156
|
-
new_admin: string;
|
|
157
|
-
}
|
|
158
|
-
export interface MsgUpdateGroupAdminAminoMsg {
|
|
159
|
-
type: "cosmos-sdk/MsgUpdateGroupAdmin";
|
|
160
|
-
value: MsgUpdateGroupAdminAmino;
|
|
161
|
-
}
|
|
162
|
-
/** MsgUpdateGroupAdminResponse is the Msg/UpdateGroupAdmin response type. */
|
|
163
|
-
export interface MsgUpdateGroupAdminResponse {}
|
|
164
|
-
export interface MsgUpdateGroupAdminResponseProtoMsg {
|
|
165
|
-
typeUrl: "/cosmos.group.v1.MsgUpdateGroupAdminResponse";
|
|
166
|
-
value: Uint8Array;
|
|
167
|
-
}
|
|
168
|
-
/** MsgUpdateGroupAdminResponse is the Msg/UpdateGroupAdmin response type. */
|
|
169
|
-
export interface MsgUpdateGroupAdminResponseAmino {}
|
|
170
|
-
export interface MsgUpdateGroupAdminResponseAminoMsg {
|
|
171
|
-
type: "cosmos-sdk/MsgUpdateGroupAdminResponse";
|
|
172
|
-
value: MsgUpdateGroupAdminResponseAmino;
|
|
173
|
-
}
|
|
174
|
-
/** MsgUpdateGroupMetadata is the Msg/UpdateGroupMetadata request type. */
|
|
175
|
-
export interface MsgUpdateGroupMetadata {
|
|
176
|
-
/** admin is the account address of the group admin. */
|
|
177
|
-
admin: string;
|
|
178
|
-
/** group_id is the unique ID of the group. */
|
|
179
|
-
groupId: bigint;
|
|
180
|
-
/** metadata is the updated group's metadata. */
|
|
181
|
-
metadata: string;
|
|
182
|
-
}
|
|
183
|
-
export interface MsgUpdateGroupMetadataProtoMsg {
|
|
184
|
-
typeUrl: "/cosmos.group.v1.MsgUpdateGroupMetadata";
|
|
185
|
-
value: Uint8Array;
|
|
186
|
-
}
|
|
187
|
-
/** MsgUpdateGroupMetadata is the Msg/UpdateGroupMetadata request type. */
|
|
188
|
-
export interface MsgUpdateGroupMetadataAmino {
|
|
189
|
-
/** admin is the account address of the group admin. */
|
|
190
|
-
admin: string;
|
|
191
|
-
/** group_id is the unique ID of the group. */
|
|
192
|
-
group_id: string;
|
|
193
|
-
/** metadata is the updated group's metadata. */
|
|
194
|
-
metadata: string;
|
|
195
|
-
}
|
|
196
|
-
export interface MsgUpdateGroupMetadataAminoMsg {
|
|
197
|
-
type: "cosmos-sdk/MsgUpdateGroupMetadata";
|
|
198
|
-
value: MsgUpdateGroupMetadataAmino;
|
|
199
|
-
}
|
|
200
|
-
/** MsgUpdateGroupMetadataResponse is the Msg/UpdateGroupMetadata response type. */
|
|
201
|
-
export interface MsgUpdateGroupMetadataResponse {}
|
|
202
|
-
export interface MsgUpdateGroupMetadataResponseProtoMsg {
|
|
203
|
-
typeUrl: "/cosmos.group.v1.MsgUpdateGroupMetadataResponse";
|
|
204
|
-
value: Uint8Array;
|
|
205
|
-
}
|
|
206
|
-
/** MsgUpdateGroupMetadataResponse is the Msg/UpdateGroupMetadata response type. */
|
|
207
|
-
export interface MsgUpdateGroupMetadataResponseAmino {}
|
|
208
|
-
export interface MsgUpdateGroupMetadataResponseAminoMsg {
|
|
209
|
-
type: "cosmos-sdk/MsgUpdateGroupMetadataResponse";
|
|
210
|
-
value: MsgUpdateGroupMetadataResponseAmino;
|
|
211
|
-
}
|
|
212
|
-
/** MsgCreateGroupPolicy is the Msg/CreateGroupPolicy request type. */
|
|
213
|
-
export interface MsgCreateGroupPolicy {
|
|
214
|
-
/** admin is the account address of the group admin. */
|
|
215
|
-
admin: string;
|
|
216
|
-
/** group_id is the unique ID of the group. */
|
|
217
|
-
groupId: bigint;
|
|
218
|
-
/** metadata is any arbitrary metadata attached to the group policy. */
|
|
219
|
-
metadata: string;
|
|
220
|
-
/** decision_policy specifies the group policy's decision policy. */
|
|
221
|
-
decisionPolicy?: ThresholdDecisionPolicy | PercentageDecisionPolicy | Any | undefined;
|
|
222
|
-
}
|
|
223
|
-
export interface MsgCreateGroupPolicyProtoMsg {
|
|
224
|
-
typeUrl: "/cosmos.group.v1.MsgCreateGroupPolicy";
|
|
225
|
-
value: Uint8Array;
|
|
226
|
-
}
|
|
227
|
-
export type MsgCreateGroupPolicyEncoded = Omit<MsgCreateGroupPolicy, "decisionPolicy"> & {
|
|
228
|
-
/** decision_policy specifies the group policy's decision policy. */decisionPolicy?: ThresholdDecisionPolicyProtoMsg | PercentageDecisionPolicyProtoMsg | AnyProtoMsg | undefined;
|
|
229
|
-
};
|
|
230
|
-
/** MsgCreateGroupPolicy is the Msg/CreateGroupPolicy request type. */
|
|
231
|
-
export interface MsgCreateGroupPolicyAmino {
|
|
232
|
-
/** admin is the account address of the group admin. */
|
|
233
|
-
admin: string;
|
|
234
|
-
/** group_id is the unique ID of the group. */
|
|
235
|
-
group_id: string;
|
|
236
|
-
/** metadata is any arbitrary metadata attached to the group policy. */
|
|
237
|
-
metadata: string;
|
|
238
|
-
/** decision_policy specifies the group policy's decision policy. */
|
|
239
|
-
decision_policy?: AnyAmino;
|
|
240
|
-
}
|
|
241
|
-
export interface MsgCreateGroupPolicyAminoMsg {
|
|
242
|
-
type: "cosmos-sdk/MsgCreateGroupPolicy";
|
|
243
|
-
value: MsgCreateGroupPolicyAmino;
|
|
244
|
-
}
|
|
245
|
-
/** MsgCreateGroupPolicyResponse is the Msg/CreateGroupPolicy response type. */
|
|
246
|
-
export interface MsgCreateGroupPolicyResponse {
|
|
247
|
-
/** address is the account address of the newly created group policy. */
|
|
248
|
-
address: string;
|
|
249
|
-
}
|
|
250
|
-
export interface MsgCreateGroupPolicyResponseProtoMsg {
|
|
251
|
-
typeUrl: "/cosmos.group.v1.MsgCreateGroupPolicyResponse";
|
|
252
|
-
value: Uint8Array;
|
|
253
|
-
}
|
|
254
|
-
/** MsgCreateGroupPolicyResponse is the Msg/CreateGroupPolicy response type. */
|
|
255
|
-
export interface MsgCreateGroupPolicyResponseAmino {
|
|
256
|
-
/** address is the account address of the newly created group policy. */
|
|
257
|
-
address: string;
|
|
258
|
-
}
|
|
259
|
-
export interface MsgCreateGroupPolicyResponseAminoMsg {
|
|
260
|
-
type: "cosmos-sdk/MsgCreateGroupPolicyResponse";
|
|
261
|
-
value: MsgCreateGroupPolicyResponseAmino;
|
|
262
|
-
}
|
|
263
|
-
/** MsgUpdateGroupPolicyAdmin is the Msg/UpdateGroupPolicyAdmin request type. */
|
|
264
|
-
export interface MsgUpdateGroupPolicyAdmin {
|
|
265
|
-
/** admin is the account address of the group admin. */
|
|
266
|
-
admin: string;
|
|
267
|
-
/** group_policy_address is the account address of the group policy. */
|
|
268
|
-
groupPolicyAddress: string;
|
|
269
|
-
/** new_admin is the new group policy admin. */
|
|
270
|
-
newAdmin: string;
|
|
271
|
-
}
|
|
272
|
-
export interface MsgUpdateGroupPolicyAdminProtoMsg {
|
|
273
|
-
typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyAdmin";
|
|
274
|
-
value: Uint8Array;
|
|
275
|
-
}
|
|
276
|
-
/** MsgUpdateGroupPolicyAdmin is the Msg/UpdateGroupPolicyAdmin request type. */
|
|
277
|
-
export interface MsgUpdateGroupPolicyAdminAmino {
|
|
278
|
-
/** admin is the account address of the group admin. */
|
|
279
|
-
admin: string;
|
|
280
|
-
/** group_policy_address is the account address of the group policy. */
|
|
281
|
-
group_policy_address: string;
|
|
282
|
-
/** new_admin is the new group policy admin. */
|
|
283
|
-
new_admin: string;
|
|
284
|
-
}
|
|
285
|
-
export interface MsgUpdateGroupPolicyAdminAminoMsg {
|
|
286
|
-
type: "cosmos-sdk/MsgUpdateGroupPolicyAdmin";
|
|
287
|
-
value: MsgUpdateGroupPolicyAdminAmino;
|
|
288
|
-
}
|
|
289
|
-
/** MsgUpdateGroupPolicyAdminResponse is the Msg/UpdateGroupPolicyAdmin response type. */
|
|
290
|
-
export interface MsgUpdateGroupPolicyAdminResponse {}
|
|
291
|
-
export interface MsgUpdateGroupPolicyAdminResponseProtoMsg {
|
|
292
|
-
typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyAdminResponse";
|
|
293
|
-
value: Uint8Array;
|
|
294
|
-
}
|
|
295
|
-
/** MsgUpdateGroupPolicyAdminResponse is the Msg/UpdateGroupPolicyAdmin response type. */
|
|
296
|
-
export interface MsgUpdateGroupPolicyAdminResponseAmino {}
|
|
297
|
-
export interface MsgUpdateGroupPolicyAdminResponseAminoMsg {
|
|
298
|
-
type: "cosmos-sdk/MsgUpdateGroupPolicyAdminResponse";
|
|
299
|
-
value: MsgUpdateGroupPolicyAdminResponseAmino;
|
|
300
|
-
}
|
|
301
|
-
/** MsgCreateGroupWithPolicy is the Msg/CreateGroupWithPolicy request type. */
|
|
302
|
-
export interface MsgCreateGroupWithPolicy {
|
|
303
|
-
/** admin is the account address of the group and group policy admin. */
|
|
304
|
-
admin: string;
|
|
305
|
-
/** members defines the group members. */
|
|
306
|
-
members: MemberRequest[];
|
|
307
|
-
/** group_metadata is any arbitrary metadata attached to the group. */
|
|
308
|
-
groupMetadata: string;
|
|
309
|
-
/** group_policy_metadata is any arbitrary metadata attached to the group policy. */
|
|
310
|
-
groupPolicyMetadata: string;
|
|
311
|
-
/**
|
|
312
|
-
* group_policy_as_admin is a boolean field, if set to true, the group policy account address will be used as group
|
|
313
|
-
* and group policy admin.
|
|
314
|
-
*/
|
|
315
|
-
groupPolicyAsAdmin: boolean;
|
|
316
|
-
/** decision_policy specifies the group policy's decision policy. */
|
|
317
|
-
decisionPolicy?: ThresholdDecisionPolicy | PercentageDecisionPolicy | Any | undefined;
|
|
318
|
-
}
|
|
319
|
-
export interface MsgCreateGroupWithPolicyProtoMsg {
|
|
320
|
-
typeUrl: "/cosmos.group.v1.MsgCreateGroupWithPolicy";
|
|
321
|
-
value: Uint8Array;
|
|
322
|
-
}
|
|
323
|
-
export type MsgCreateGroupWithPolicyEncoded = Omit<MsgCreateGroupWithPolicy, "decisionPolicy"> & {
|
|
324
|
-
/** decision_policy specifies the group policy's decision policy. */decisionPolicy?: ThresholdDecisionPolicyProtoMsg | PercentageDecisionPolicyProtoMsg | AnyProtoMsg | undefined;
|
|
325
|
-
};
|
|
326
|
-
/** MsgCreateGroupWithPolicy is the Msg/CreateGroupWithPolicy request type. */
|
|
327
|
-
export interface MsgCreateGroupWithPolicyAmino {
|
|
328
|
-
/** admin is the account address of the group and group policy admin. */
|
|
329
|
-
admin: string;
|
|
330
|
-
/** members defines the group members. */
|
|
331
|
-
members: MemberRequestAmino[];
|
|
332
|
-
/** group_metadata is any arbitrary metadata attached to the group. */
|
|
333
|
-
group_metadata: string;
|
|
334
|
-
/** group_policy_metadata is any arbitrary metadata attached to the group policy. */
|
|
335
|
-
group_policy_metadata: string;
|
|
336
|
-
/**
|
|
337
|
-
* group_policy_as_admin is a boolean field, if set to true, the group policy account address will be used as group
|
|
338
|
-
* and group policy admin.
|
|
339
|
-
*/
|
|
340
|
-
group_policy_as_admin: boolean;
|
|
341
|
-
/** decision_policy specifies the group policy's decision policy. */
|
|
342
|
-
decision_policy?: AnyAmino;
|
|
343
|
-
}
|
|
344
|
-
export interface MsgCreateGroupWithPolicyAminoMsg {
|
|
345
|
-
type: "cosmos-sdk/MsgCreateGroupWithPolicy";
|
|
346
|
-
value: MsgCreateGroupWithPolicyAmino;
|
|
347
|
-
}
|
|
348
|
-
/** MsgCreateGroupWithPolicyResponse is the Msg/CreateGroupWithPolicy response type. */
|
|
349
|
-
export interface MsgCreateGroupWithPolicyResponse {
|
|
350
|
-
/** group_id is the unique ID of the newly created group with policy. */
|
|
351
|
-
groupId: bigint;
|
|
352
|
-
/** group_policy_address is the account address of the newly created group policy. */
|
|
353
|
-
groupPolicyAddress: string;
|
|
354
|
-
}
|
|
355
|
-
export interface MsgCreateGroupWithPolicyResponseProtoMsg {
|
|
356
|
-
typeUrl: "/cosmos.group.v1.MsgCreateGroupWithPolicyResponse";
|
|
357
|
-
value: Uint8Array;
|
|
358
|
-
}
|
|
359
|
-
/** MsgCreateGroupWithPolicyResponse is the Msg/CreateGroupWithPolicy response type. */
|
|
360
|
-
export interface MsgCreateGroupWithPolicyResponseAmino {
|
|
361
|
-
/** group_id is the unique ID of the newly created group with policy. */
|
|
362
|
-
group_id: string;
|
|
363
|
-
/** group_policy_address is the account address of the newly created group policy. */
|
|
364
|
-
group_policy_address: string;
|
|
365
|
-
}
|
|
366
|
-
export interface MsgCreateGroupWithPolicyResponseAminoMsg {
|
|
367
|
-
type: "cosmos-sdk/MsgCreateGroupWithPolicyResponse";
|
|
368
|
-
value: MsgCreateGroupWithPolicyResponseAmino;
|
|
369
|
-
}
|
|
370
|
-
/** MsgUpdateGroupPolicyDecisionPolicy is the Msg/UpdateGroupPolicyDecisionPolicy request type. */
|
|
371
|
-
export interface MsgUpdateGroupPolicyDecisionPolicy {
|
|
372
|
-
/** admin is the account address of the group admin. */
|
|
373
|
-
admin: string;
|
|
374
|
-
/** group_policy_address is the account address of group policy. */
|
|
375
|
-
groupPolicyAddress: string;
|
|
376
|
-
/** decision_policy is the updated group policy's decision policy. */
|
|
377
|
-
decisionPolicy?: ThresholdDecisionPolicy | PercentageDecisionPolicy | Any | undefined;
|
|
378
|
-
}
|
|
379
|
-
export interface MsgUpdateGroupPolicyDecisionPolicyProtoMsg {
|
|
380
|
-
typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyDecisionPolicy";
|
|
381
|
-
value: Uint8Array;
|
|
382
|
-
}
|
|
383
|
-
export type MsgUpdateGroupPolicyDecisionPolicyEncoded = Omit<MsgUpdateGroupPolicyDecisionPolicy, "decisionPolicy"> & {
|
|
384
|
-
/** decision_policy is the updated group policy's decision policy. */decisionPolicy?: ThresholdDecisionPolicyProtoMsg | PercentageDecisionPolicyProtoMsg | AnyProtoMsg | undefined;
|
|
385
|
-
};
|
|
386
|
-
/** MsgUpdateGroupPolicyDecisionPolicy is the Msg/UpdateGroupPolicyDecisionPolicy request type. */
|
|
387
|
-
export interface MsgUpdateGroupPolicyDecisionPolicyAmino {
|
|
388
|
-
/** admin is the account address of the group admin. */
|
|
389
|
-
admin: string;
|
|
390
|
-
/** group_policy_address is the account address of group policy. */
|
|
391
|
-
group_policy_address: string;
|
|
392
|
-
/** decision_policy is the updated group policy's decision policy. */
|
|
393
|
-
decision_policy?: AnyAmino;
|
|
394
|
-
}
|
|
395
|
-
export interface MsgUpdateGroupPolicyDecisionPolicyAminoMsg {
|
|
396
|
-
type: "cosmos-sdk/MsgUpdateGroupDecisionPolicy";
|
|
397
|
-
value: MsgUpdateGroupPolicyDecisionPolicyAmino;
|
|
398
|
-
}
|
|
399
|
-
/** MsgUpdateGroupPolicyDecisionPolicyResponse is the Msg/UpdateGroupPolicyDecisionPolicy response type. */
|
|
400
|
-
export interface MsgUpdateGroupPolicyDecisionPolicyResponse {}
|
|
401
|
-
export interface MsgUpdateGroupPolicyDecisionPolicyResponseProtoMsg {
|
|
402
|
-
typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyDecisionPolicyResponse";
|
|
403
|
-
value: Uint8Array;
|
|
404
|
-
}
|
|
405
|
-
/** MsgUpdateGroupPolicyDecisionPolicyResponse is the Msg/UpdateGroupPolicyDecisionPolicy response type. */
|
|
406
|
-
export interface MsgUpdateGroupPolicyDecisionPolicyResponseAmino {}
|
|
407
|
-
export interface MsgUpdateGroupPolicyDecisionPolicyResponseAminoMsg {
|
|
408
|
-
type: "cosmos-sdk/MsgUpdateGroupPolicyDecisionPolicyResponse";
|
|
409
|
-
value: MsgUpdateGroupPolicyDecisionPolicyResponseAmino;
|
|
410
|
-
}
|
|
411
|
-
/** MsgUpdateGroupPolicyMetadata is the Msg/UpdateGroupPolicyMetadata request type. */
|
|
412
|
-
export interface MsgUpdateGroupPolicyMetadata {
|
|
413
|
-
/** admin is the account address of the group admin. */
|
|
414
|
-
admin: string;
|
|
415
|
-
/** group_policy_address is the account address of group policy. */
|
|
416
|
-
groupPolicyAddress: string;
|
|
417
|
-
/** metadata is the group policy metadata to be updated. */
|
|
418
|
-
metadata: string;
|
|
419
|
-
}
|
|
420
|
-
export interface MsgUpdateGroupPolicyMetadataProtoMsg {
|
|
421
|
-
typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyMetadata";
|
|
422
|
-
value: Uint8Array;
|
|
423
|
-
}
|
|
424
|
-
/** MsgUpdateGroupPolicyMetadata is the Msg/UpdateGroupPolicyMetadata request type. */
|
|
425
|
-
export interface MsgUpdateGroupPolicyMetadataAmino {
|
|
426
|
-
/** admin is the account address of the group admin. */
|
|
427
|
-
admin: string;
|
|
428
|
-
/** group_policy_address is the account address of group policy. */
|
|
429
|
-
group_policy_address: string;
|
|
430
|
-
/** metadata is the group policy metadata to be updated. */
|
|
431
|
-
metadata: string;
|
|
432
|
-
}
|
|
433
|
-
export interface MsgUpdateGroupPolicyMetadataAminoMsg {
|
|
434
|
-
type: "cosmos-sdk/MsgUpdateGroupPolicyMetadata";
|
|
435
|
-
value: MsgUpdateGroupPolicyMetadataAmino;
|
|
436
|
-
}
|
|
437
|
-
/** MsgUpdateGroupPolicyMetadataResponse is the Msg/UpdateGroupPolicyMetadata response type. */
|
|
438
|
-
export interface MsgUpdateGroupPolicyMetadataResponse {}
|
|
439
|
-
export interface MsgUpdateGroupPolicyMetadataResponseProtoMsg {
|
|
440
|
-
typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyMetadataResponse";
|
|
441
|
-
value: Uint8Array;
|
|
442
|
-
}
|
|
443
|
-
/** MsgUpdateGroupPolicyMetadataResponse is the Msg/UpdateGroupPolicyMetadata response type. */
|
|
444
|
-
export interface MsgUpdateGroupPolicyMetadataResponseAmino {}
|
|
445
|
-
export interface MsgUpdateGroupPolicyMetadataResponseAminoMsg {
|
|
446
|
-
type: "cosmos-sdk/MsgUpdateGroupPolicyMetadataResponse";
|
|
447
|
-
value: MsgUpdateGroupPolicyMetadataResponseAmino;
|
|
448
|
-
}
|
|
449
|
-
/** MsgSubmitProposal is the Msg/SubmitProposal request type. */
|
|
450
|
-
export interface MsgSubmitProposal {
|
|
451
|
-
/** group_policy_address is the account address of group policy. */
|
|
452
|
-
groupPolicyAddress: string;
|
|
453
|
-
/**
|
|
454
|
-
* proposers are the account addresses of the proposers.
|
|
455
|
-
* Proposers signatures will be counted as yes votes.
|
|
456
|
-
*/
|
|
457
|
-
proposers: string[];
|
|
458
|
-
/** metadata is any arbitrary metadata attached to the proposal. */
|
|
459
|
-
metadata: string;
|
|
460
|
-
/** messages is a list of `sdk.Msg`s that will be executed if the proposal passes. */
|
|
461
|
-
messages: Any[];
|
|
462
|
-
/**
|
|
463
|
-
* exec defines the mode of execution of the proposal,
|
|
464
|
-
* whether it should be executed immediately on creation or not.
|
|
465
|
-
* If so, proposers signatures are considered as Yes votes.
|
|
466
|
-
*/
|
|
467
|
-
exec: Exec;
|
|
468
|
-
/**
|
|
469
|
-
* title is the title of the proposal.
|
|
470
|
-
*
|
|
471
|
-
* Since: cosmos-sdk 0.47
|
|
472
|
-
*/
|
|
473
|
-
title: string;
|
|
474
|
-
/**
|
|
475
|
-
* summary is the summary of the proposal.
|
|
476
|
-
*
|
|
477
|
-
* Since: cosmos-sdk 0.47
|
|
478
|
-
*/
|
|
479
|
-
summary: string;
|
|
480
|
-
}
|
|
481
|
-
export interface MsgSubmitProposalProtoMsg {
|
|
482
|
-
typeUrl: "/cosmos.group.v1.MsgSubmitProposal";
|
|
483
|
-
value: Uint8Array;
|
|
484
|
-
}
|
|
485
|
-
/** MsgSubmitProposal is the Msg/SubmitProposal request type. */
|
|
486
|
-
export interface MsgSubmitProposalAmino {
|
|
487
|
-
/** group_policy_address is the account address of group policy. */
|
|
488
|
-
group_policy_address: string;
|
|
489
|
-
/**
|
|
490
|
-
* proposers are the account addresses of the proposers.
|
|
491
|
-
* Proposers signatures will be counted as yes votes.
|
|
492
|
-
*/
|
|
493
|
-
proposers: string[];
|
|
494
|
-
/** metadata is any arbitrary metadata attached to the proposal. */
|
|
495
|
-
metadata: string;
|
|
496
|
-
/** messages is a list of `sdk.Msg`s that will be executed if the proposal passes. */
|
|
497
|
-
messages: AnyAmino[];
|
|
498
|
-
/**
|
|
499
|
-
* exec defines the mode of execution of the proposal,
|
|
500
|
-
* whether it should be executed immediately on creation or not.
|
|
501
|
-
* If so, proposers signatures are considered as Yes votes.
|
|
502
|
-
*/
|
|
503
|
-
exec: Exec;
|
|
504
|
-
/**
|
|
505
|
-
* title is the title of the proposal.
|
|
506
|
-
*
|
|
507
|
-
* Since: cosmos-sdk 0.47
|
|
508
|
-
*/
|
|
509
|
-
title: string;
|
|
510
|
-
/**
|
|
511
|
-
* summary is the summary of the proposal.
|
|
512
|
-
*
|
|
513
|
-
* Since: cosmos-sdk 0.47
|
|
514
|
-
*/
|
|
515
|
-
summary: string;
|
|
516
|
-
}
|
|
517
|
-
export interface MsgSubmitProposalAminoMsg {
|
|
518
|
-
type: "cosmos-sdk/group/MsgSubmitProposal";
|
|
519
|
-
value: MsgSubmitProposalAmino;
|
|
520
|
-
}
|
|
521
|
-
/** MsgSubmitProposalResponse is the Msg/SubmitProposal response type. */
|
|
522
|
-
export interface MsgSubmitProposalResponse {
|
|
523
|
-
/** proposal is the unique ID of the proposal. */
|
|
524
|
-
proposalId: bigint;
|
|
525
|
-
}
|
|
526
|
-
export interface MsgSubmitProposalResponseProtoMsg {
|
|
527
|
-
typeUrl: "/cosmos.group.v1.MsgSubmitProposalResponse";
|
|
528
|
-
value: Uint8Array;
|
|
529
|
-
}
|
|
530
|
-
/** MsgSubmitProposalResponse is the Msg/SubmitProposal response type. */
|
|
531
|
-
export interface MsgSubmitProposalResponseAmino {
|
|
532
|
-
/** proposal is the unique ID of the proposal. */
|
|
533
|
-
proposal_id: string;
|
|
534
|
-
}
|
|
535
|
-
export interface MsgSubmitProposalResponseAminoMsg {
|
|
536
|
-
type: "cosmos-sdk/MsgSubmitProposalResponse";
|
|
537
|
-
value: MsgSubmitProposalResponseAmino;
|
|
538
|
-
}
|
|
539
|
-
/** MsgWithdrawProposal is the Msg/WithdrawProposal request type. */
|
|
540
|
-
export interface MsgWithdrawProposal {
|
|
541
|
-
/** proposal is the unique ID of the proposal. */
|
|
542
|
-
proposalId: bigint;
|
|
543
|
-
/** address is the admin of the group policy or one of the proposer of the proposal. */
|
|
544
|
-
address: string;
|
|
545
|
-
}
|
|
546
|
-
export interface MsgWithdrawProposalProtoMsg {
|
|
547
|
-
typeUrl: "/cosmos.group.v1.MsgWithdrawProposal";
|
|
548
|
-
value: Uint8Array;
|
|
549
|
-
}
|
|
550
|
-
/** MsgWithdrawProposal is the Msg/WithdrawProposal request type. */
|
|
551
|
-
export interface MsgWithdrawProposalAmino {
|
|
552
|
-
/** proposal is the unique ID of the proposal. */
|
|
553
|
-
proposal_id: string;
|
|
554
|
-
/** address is the admin of the group policy or one of the proposer of the proposal. */
|
|
555
|
-
address: string;
|
|
556
|
-
}
|
|
557
|
-
export interface MsgWithdrawProposalAminoMsg {
|
|
558
|
-
type: "cosmos-sdk/group/MsgWithdrawProposal";
|
|
559
|
-
value: MsgWithdrawProposalAmino;
|
|
560
|
-
}
|
|
561
|
-
/** MsgWithdrawProposalResponse is the Msg/WithdrawProposal response type. */
|
|
562
|
-
export interface MsgWithdrawProposalResponse {}
|
|
563
|
-
export interface MsgWithdrawProposalResponseProtoMsg {
|
|
564
|
-
typeUrl: "/cosmos.group.v1.MsgWithdrawProposalResponse";
|
|
565
|
-
value: Uint8Array;
|
|
566
|
-
}
|
|
567
|
-
/** MsgWithdrawProposalResponse is the Msg/WithdrawProposal response type. */
|
|
568
|
-
export interface MsgWithdrawProposalResponseAmino {}
|
|
569
|
-
export interface MsgWithdrawProposalResponseAminoMsg {
|
|
570
|
-
type: "cosmos-sdk/MsgWithdrawProposalResponse";
|
|
571
|
-
value: MsgWithdrawProposalResponseAmino;
|
|
572
|
-
}
|
|
573
|
-
/** MsgVote is the Msg/Vote request type. */
|
|
574
|
-
export interface MsgVote {
|
|
575
|
-
/** proposal is the unique ID of the proposal. */
|
|
576
|
-
proposalId: bigint;
|
|
577
|
-
/** voter is the voter account address. */
|
|
578
|
-
voter: string;
|
|
579
|
-
/** option is the voter's choice on the proposal. */
|
|
580
|
-
option: VoteOption;
|
|
581
|
-
/** metadata is any arbitrary metadata attached to the vote. */
|
|
582
|
-
metadata: string;
|
|
583
|
-
/**
|
|
584
|
-
* exec defines whether the proposal should be executed
|
|
585
|
-
* immediately after voting or not.
|
|
586
|
-
*/
|
|
587
|
-
exec: Exec;
|
|
588
|
-
}
|
|
589
|
-
export interface MsgVoteProtoMsg {
|
|
590
|
-
typeUrl: "/cosmos.group.v1.MsgVote";
|
|
591
|
-
value: Uint8Array;
|
|
592
|
-
}
|
|
593
|
-
/** MsgVote is the Msg/Vote request type. */
|
|
594
|
-
export interface MsgVoteAmino {
|
|
595
|
-
/** proposal is the unique ID of the proposal. */
|
|
596
|
-
proposal_id: string;
|
|
597
|
-
/** voter is the voter account address. */
|
|
598
|
-
voter: string;
|
|
599
|
-
/** option is the voter's choice on the proposal. */
|
|
600
|
-
option: VoteOption;
|
|
601
|
-
/** metadata is any arbitrary metadata attached to the vote. */
|
|
602
|
-
metadata: string;
|
|
603
|
-
/**
|
|
604
|
-
* exec defines whether the proposal should be executed
|
|
605
|
-
* immediately after voting or not.
|
|
606
|
-
*/
|
|
607
|
-
exec: Exec;
|
|
608
|
-
}
|
|
609
|
-
export interface MsgVoteAminoMsg {
|
|
610
|
-
type: "cosmos-sdk/group/MsgVote";
|
|
611
|
-
value: MsgVoteAmino;
|
|
612
|
-
}
|
|
613
|
-
/** MsgVoteResponse is the Msg/Vote response type. */
|
|
614
|
-
export interface MsgVoteResponse {}
|
|
615
|
-
export interface MsgVoteResponseProtoMsg {
|
|
616
|
-
typeUrl: "/cosmos.group.v1.MsgVoteResponse";
|
|
617
|
-
value: Uint8Array;
|
|
618
|
-
}
|
|
619
|
-
/** MsgVoteResponse is the Msg/Vote response type. */
|
|
620
|
-
export interface MsgVoteResponseAmino {}
|
|
621
|
-
export interface MsgVoteResponseAminoMsg {
|
|
622
|
-
type: "cosmos-sdk/MsgVoteResponse";
|
|
623
|
-
value: MsgVoteResponseAmino;
|
|
624
|
-
}
|
|
625
|
-
/** MsgExec is the Msg/Exec request type. */
|
|
626
|
-
export interface MsgExec {
|
|
627
|
-
/** proposal is the unique ID of the proposal. */
|
|
628
|
-
proposalId: bigint;
|
|
629
|
-
/** executor is the account address used to execute the proposal. */
|
|
630
|
-
executor: string;
|
|
631
|
-
}
|
|
632
|
-
export interface MsgExecProtoMsg {
|
|
633
|
-
typeUrl: "/cosmos.group.v1.MsgExec";
|
|
634
|
-
value: Uint8Array;
|
|
635
|
-
}
|
|
636
|
-
/** MsgExec is the Msg/Exec request type. */
|
|
637
|
-
export interface MsgExecAmino {
|
|
638
|
-
/** proposal is the unique ID of the proposal. */
|
|
639
|
-
proposal_id: string;
|
|
640
|
-
/** executor is the account address used to execute the proposal. */
|
|
641
|
-
executor: string;
|
|
642
|
-
}
|
|
643
|
-
export interface MsgExecAminoMsg {
|
|
644
|
-
type: "cosmos-sdk/group/MsgExec";
|
|
645
|
-
value: MsgExecAmino;
|
|
646
|
-
}
|
|
647
|
-
/** MsgExecResponse is the Msg/Exec request type. */
|
|
648
|
-
export interface MsgExecResponse {
|
|
649
|
-
/** result is the final result of the proposal execution. */
|
|
650
|
-
result: ProposalExecutorResult;
|
|
651
|
-
}
|
|
652
|
-
export interface MsgExecResponseProtoMsg {
|
|
653
|
-
typeUrl: "/cosmos.group.v1.MsgExecResponse";
|
|
654
|
-
value: Uint8Array;
|
|
655
|
-
}
|
|
656
|
-
/** MsgExecResponse is the Msg/Exec request type. */
|
|
657
|
-
export interface MsgExecResponseAmino {
|
|
658
|
-
/** result is the final result of the proposal execution. */
|
|
659
|
-
result: ProposalExecutorResult;
|
|
660
|
-
}
|
|
661
|
-
export interface MsgExecResponseAminoMsg {
|
|
662
|
-
type: "cosmos-sdk/MsgExecResponse";
|
|
663
|
-
value: MsgExecResponseAmino;
|
|
664
|
-
}
|
|
665
|
-
/** MsgLeaveGroup is the Msg/LeaveGroup request type. */
|
|
666
|
-
export interface MsgLeaveGroup {
|
|
667
|
-
/** address is the account address of the group member. */
|
|
668
|
-
address: string;
|
|
669
|
-
/** group_id is the unique ID of the group. */
|
|
670
|
-
groupId: bigint;
|
|
671
|
-
}
|
|
672
|
-
export interface MsgLeaveGroupProtoMsg {
|
|
673
|
-
typeUrl: "/cosmos.group.v1.MsgLeaveGroup";
|
|
674
|
-
value: Uint8Array;
|
|
675
|
-
}
|
|
676
|
-
/** MsgLeaveGroup is the Msg/LeaveGroup request type. */
|
|
677
|
-
export interface MsgLeaveGroupAmino {
|
|
678
|
-
/** address is the account address of the group member. */
|
|
679
|
-
address: string;
|
|
680
|
-
/** group_id is the unique ID of the group. */
|
|
681
|
-
group_id: string;
|
|
682
|
-
}
|
|
683
|
-
export interface MsgLeaveGroupAminoMsg {
|
|
684
|
-
type: "cosmos-sdk/group/MsgLeaveGroup";
|
|
685
|
-
value: MsgLeaveGroupAmino;
|
|
686
|
-
}
|
|
687
|
-
/** MsgLeaveGroupResponse is the Msg/LeaveGroup response type. */
|
|
688
|
-
export interface MsgLeaveGroupResponse {}
|
|
689
|
-
export interface MsgLeaveGroupResponseProtoMsg {
|
|
690
|
-
typeUrl: "/cosmos.group.v1.MsgLeaveGroupResponse";
|
|
691
|
-
value: Uint8Array;
|
|
692
|
-
}
|
|
693
|
-
/** MsgLeaveGroupResponse is the Msg/LeaveGroup response type. */
|
|
694
|
-
export interface MsgLeaveGroupResponseAmino {}
|
|
695
|
-
export interface MsgLeaveGroupResponseAminoMsg {
|
|
696
|
-
type: "cosmos-sdk/MsgLeaveGroupResponse";
|
|
697
|
-
value: MsgLeaveGroupResponseAmino;
|
|
698
|
-
}
|
|
699
|
-
function createBaseMsgCreateGroup(): MsgCreateGroup {
|
|
700
|
-
return {
|
|
701
|
-
admin: "",
|
|
702
|
-
members: [],
|
|
703
|
-
metadata: ""
|
|
704
|
-
};
|
|
705
|
-
}
|
|
706
|
-
export const MsgCreateGroup = {
|
|
707
|
-
typeUrl: "/cosmos.group.v1.MsgCreateGroup",
|
|
708
|
-
aminoType: "cosmos-sdk/MsgCreateGroup",
|
|
709
|
-
is(o: any): o is MsgCreateGroup {
|
|
710
|
-
return o && (o.$typeUrl === MsgCreateGroup.typeUrl || typeof o.admin === "string" && Array.isArray(o.members) && (!o.members.length || MemberRequest.is(o.members[0])) && typeof o.metadata === "string");
|
|
711
|
-
},
|
|
712
|
-
isAmino(o: any): o is MsgCreateGroupAmino {
|
|
713
|
-
return o && (o.$typeUrl === MsgCreateGroup.typeUrl || typeof o.admin === "string" && Array.isArray(o.members) && (!o.members.length || MemberRequest.isAmino(o.members[0])) && typeof o.metadata === "string");
|
|
714
|
-
},
|
|
715
|
-
encode(message: MsgCreateGroup, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
716
|
-
if (message.admin !== "") {
|
|
717
|
-
writer.uint32(10).string(message.admin);
|
|
718
|
-
}
|
|
719
|
-
for (const v of message.members) {
|
|
720
|
-
MemberRequest.encode(v!, writer.uint32(18).fork()).ldelim();
|
|
721
|
-
}
|
|
722
|
-
if (message.metadata !== "") {
|
|
723
|
-
writer.uint32(26).string(message.metadata);
|
|
724
|
-
}
|
|
725
|
-
return writer;
|
|
726
|
-
},
|
|
727
|
-
decode(input: BinaryReader | Uint8Array, length?: number): MsgCreateGroup {
|
|
728
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
729
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
730
|
-
const message = createBaseMsgCreateGroup();
|
|
731
|
-
while (reader.pos < end) {
|
|
732
|
-
const tag = reader.uint32();
|
|
733
|
-
switch (tag >>> 3) {
|
|
734
|
-
case 1:
|
|
735
|
-
message.admin = reader.string();
|
|
736
|
-
break;
|
|
737
|
-
case 2:
|
|
738
|
-
message.members.push(MemberRequest.decode(reader, reader.uint32()));
|
|
739
|
-
break;
|
|
740
|
-
case 3:
|
|
741
|
-
message.metadata = reader.string();
|
|
742
|
-
break;
|
|
743
|
-
default:
|
|
744
|
-
reader.skipType(tag & 7);
|
|
745
|
-
break;
|
|
746
|
-
}
|
|
747
|
-
}
|
|
748
|
-
return message;
|
|
749
|
-
},
|
|
750
|
-
fromPartial(object: DeepPartial<MsgCreateGroup>): MsgCreateGroup {
|
|
751
|
-
const message = createBaseMsgCreateGroup();
|
|
752
|
-
message.admin = object.admin ?? "";
|
|
753
|
-
message.members = object.members?.map(e => MemberRequest.fromPartial(e)) || [];
|
|
754
|
-
message.metadata = object.metadata ?? "";
|
|
755
|
-
return message;
|
|
756
|
-
},
|
|
757
|
-
fromAmino(object: MsgCreateGroupAmino): MsgCreateGroup {
|
|
758
|
-
const message = createBaseMsgCreateGroup();
|
|
759
|
-
if (object.admin !== undefined && object.admin !== null) {
|
|
760
|
-
message.admin = object.admin;
|
|
761
|
-
}
|
|
762
|
-
message.members = object.members?.map(e => MemberRequest.fromAmino(e)) || [];
|
|
763
|
-
if (object.metadata !== undefined && object.metadata !== null) {
|
|
764
|
-
message.metadata = object.metadata;
|
|
765
|
-
}
|
|
766
|
-
return message;
|
|
767
|
-
},
|
|
768
|
-
toAmino(message: MsgCreateGroup): MsgCreateGroupAmino {
|
|
769
|
-
const obj: any = {};
|
|
770
|
-
obj.admin = message.admin === "" ? undefined : message.admin;
|
|
771
|
-
if (message.members) {
|
|
772
|
-
obj.members = message.members.map(e => e ? MemberRequest.toAmino(e) : undefined);
|
|
773
|
-
} else {
|
|
774
|
-
obj.members = message.members;
|
|
775
|
-
}
|
|
776
|
-
obj.metadata = message.metadata === "" ? undefined : message.metadata;
|
|
777
|
-
return obj;
|
|
778
|
-
},
|
|
779
|
-
fromAminoMsg(object: MsgCreateGroupAminoMsg): MsgCreateGroup {
|
|
780
|
-
return MsgCreateGroup.fromAmino(object.value);
|
|
781
|
-
},
|
|
782
|
-
toAminoMsg(message: MsgCreateGroup): MsgCreateGroupAminoMsg {
|
|
783
|
-
return {
|
|
784
|
-
type: "cosmos-sdk/MsgCreateGroup",
|
|
785
|
-
value: MsgCreateGroup.toAmino(message)
|
|
786
|
-
};
|
|
787
|
-
},
|
|
788
|
-
fromProtoMsg(message: MsgCreateGroupProtoMsg): MsgCreateGroup {
|
|
789
|
-
return MsgCreateGroup.decode(message.value);
|
|
790
|
-
},
|
|
791
|
-
toProto(message: MsgCreateGroup): Uint8Array {
|
|
792
|
-
return MsgCreateGroup.encode(message).finish();
|
|
793
|
-
},
|
|
794
|
-
toProtoMsg(message: MsgCreateGroup): MsgCreateGroupProtoMsg {
|
|
795
|
-
return {
|
|
796
|
-
typeUrl: "/cosmos.group.v1.MsgCreateGroup",
|
|
797
|
-
value: MsgCreateGroup.encode(message).finish()
|
|
798
|
-
};
|
|
799
|
-
}
|
|
800
|
-
};
|
|
801
|
-
GlobalDecoderRegistry.register(MsgCreateGroup.typeUrl, MsgCreateGroup);
|
|
802
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(MsgCreateGroup.aminoType, MsgCreateGroup.typeUrl);
|
|
803
|
-
function createBaseMsgCreateGroupResponse(): MsgCreateGroupResponse {
|
|
804
|
-
return {
|
|
805
|
-
groupId: BigInt(0)
|
|
806
|
-
};
|
|
807
|
-
}
|
|
808
|
-
export const MsgCreateGroupResponse = {
|
|
809
|
-
typeUrl: "/cosmos.group.v1.MsgCreateGroupResponse",
|
|
810
|
-
aminoType: "cosmos-sdk/MsgCreateGroupResponse",
|
|
811
|
-
is(o: any): o is MsgCreateGroupResponse {
|
|
812
|
-
return o && (o.$typeUrl === MsgCreateGroupResponse.typeUrl || typeof o.groupId === "bigint");
|
|
813
|
-
},
|
|
814
|
-
isAmino(o: any): o is MsgCreateGroupResponseAmino {
|
|
815
|
-
return o && (o.$typeUrl === MsgCreateGroupResponse.typeUrl || typeof o.group_id === "bigint");
|
|
816
|
-
},
|
|
817
|
-
encode(message: MsgCreateGroupResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
818
|
-
if (message.groupId !== BigInt(0)) {
|
|
819
|
-
writer.uint32(8).uint64(message.groupId);
|
|
820
|
-
}
|
|
821
|
-
return writer;
|
|
822
|
-
},
|
|
823
|
-
decode(input: BinaryReader | Uint8Array, length?: number): MsgCreateGroupResponse {
|
|
824
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
825
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
826
|
-
const message = createBaseMsgCreateGroupResponse();
|
|
827
|
-
while (reader.pos < end) {
|
|
828
|
-
const tag = reader.uint32();
|
|
829
|
-
switch (tag >>> 3) {
|
|
830
|
-
case 1:
|
|
831
|
-
message.groupId = reader.uint64();
|
|
832
|
-
break;
|
|
833
|
-
default:
|
|
834
|
-
reader.skipType(tag & 7);
|
|
835
|
-
break;
|
|
836
|
-
}
|
|
837
|
-
}
|
|
838
|
-
return message;
|
|
839
|
-
},
|
|
840
|
-
fromPartial(object: DeepPartial<MsgCreateGroupResponse>): MsgCreateGroupResponse {
|
|
841
|
-
const message = createBaseMsgCreateGroupResponse();
|
|
842
|
-
message.groupId = object.groupId !== undefined && object.groupId !== null ? BigInt(object.groupId.toString()) : BigInt(0);
|
|
843
|
-
return message;
|
|
844
|
-
},
|
|
845
|
-
fromAmino(object: MsgCreateGroupResponseAmino): MsgCreateGroupResponse {
|
|
846
|
-
const message = createBaseMsgCreateGroupResponse();
|
|
847
|
-
if (object.group_id !== undefined && object.group_id !== null) {
|
|
848
|
-
message.groupId = BigInt(object.group_id);
|
|
849
|
-
}
|
|
850
|
-
return message;
|
|
851
|
-
},
|
|
852
|
-
toAmino(message: MsgCreateGroupResponse): MsgCreateGroupResponseAmino {
|
|
853
|
-
const obj: any = {};
|
|
854
|
-
obj.group_id = message.groupId !== BigInt(0) ? message.groupId?.toString() : undefined;
|
|
855
|
-
return obj;
|
|
856
|
-
},
|
|
857
|
-
fromAminoMsg(object: MsgCreateGroupResponseAminoMsg): MsgCreateGroupResponse {
|
|
858
|
-
return MsgCreateGroupResponse.fromAmino(object.value);
|
|
859
|
-
},
|
|
860
|
-
toAminoMsg(message: MsgCreateGroupResponse): MsgCreateGroupResponseAminoMsg {
|
|
861
|
-
return {
|
|
862
|
-
type: "cosmos-sdk/MsgCreateGroupResponse",
|
|
863
|
-
value: MsgCreateGroupResponse.toAmino(message)
|
|
864
|
-
};
|
|
865
|
-
},
|
|
866
|
-
fromProtoMsg(message: MsgCreateGroupResponseProtoMsg): MsgCreateGroupResponse {
|
|
867
|
-
return MsgCreateGroupResponse.decode(message.value);
|
|
868
|
-
},
|
|
869
|
-
toProto(message: MsgCreateGroupResponse): Uint8Array {
|
|
870
|
-
return MsgCreateGroupResponse.encode(message).finish();
|
|
871
|
-
},
|
|
872
|
-
toProtoMsg(message: MsgCreateGroupResponse): MsgCreateGroupResponseProtoMsg {
|
|
873
|
-
return {
|
|
874
|
-
typeUrl: "/cosmos.group.v1.MsgCreateGroupResponse",
|
|
875
|
-
value: MsgCreateGroupResponse.encode(message).finish()
|
|
876
|
-
};
|
|
877
|
-
}
|
|
878
|
-
};
|
|
879
|
-
GlobalDecoderRegistry.register(MsgCreateGroupResponse.typeUrl, MsgCreateGroupResponse);
|
|
880
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(MsgCreateGroupResponse.aminoType, MsgCreateGroupResponse.typeUrl);
|
|
881
|
-
function createBaseMsgUpdateGroupMembers(): MsgUpdateGroupMembers {
|
|
882
|
-
return {
|
|
883
|
-
admin: "",
|
|
884
|
-
groupId: BigInt(0),
|
|
885
|
-
memberUpdates: []
|
|
886
|
-
};
|
|
887
|
-
}
|
|
888
|
-
export const MsgUpdateGroupMembers = {
|
|
889
|
-
typeUrl: "/cosmos.group.v1.MsgUpdateGroupMembers",
|
|
890
|
-
aminoType: "cosmos-sdk/MsgUpdateGroupMembers",
|
|
891
|
-
is(o: any): o is MsgUpdateGroupMembers {
|
|
892
|
-
return o && (o.$typeUrl === MsgUpdateGroupMembers.typeUrl || typeof o.admin === "string" && typeof o.groupId === "bigint" && Array.isArray(o.memberUpdates) && (!o.memberUpdates.length || MemberRequest.is(o.memberUpdates[0])));
|
|
893
|
-
},
|
|
894
|
-
isAmino(o: any): o is MsgUpdateGroupMembersAmino {
|
|
895
|
-
return o && (o.$typeUrl === MsgUpdateGroupMembers.typeUrl || typeof o.admin === "string" && typeof o.group_id === "bigint" && Array.isArray(o.member_updates) && (!o.member_updates.length || MemberRequest.isAmino(o.member_updates[0])));
|
|
896
|
-
},
|
|
897
|
-
encode(message: MsgUpdateGroupMembers, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
898
|
-
if (message.admin !== "") {
|
|
899
|
-
writer.uint32(10).string(message.admin);
|
|
900
|
-
}
|
|
901
|
-
if (message.groupId !== BigInt(0)) {
|
|
902
|
-
writer.uint32(16).uint64(message.groupId);
|
|
903
|
-
}
|
|
904
|
-
for (const v of message.memberUpdates) {
|
|
905
|
-
MemberRequest.encode(v!, writer.uint32(26).fork()).ldelim();
|
|
906
|
-
}
|
|
907
|
-
return writer;
|
|
908
|
-
},
|
|
909
|
-
decode(input: BinaryReader | Uint8Array, length?: number): MsgUpdateGroupMembers {
|
|
910
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
911
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
912
|
-
const message = createBaseMsgUpdateGroupMembers();
|
|
913
|
-
while (reader.pos < end) {
|
|
914
|
-
const tag = reader.uint32();
|
|
915
|
-
switch (tag >>> 3) {
|
|
916
|
-
case 1:
|
|
917
|
-
message.admin = reader.string();
|
|
918
|
-
break;
|
|
919
|
-
case 2:
|
|
920
|
-
message.groupId = reader.uint64();
|
|
921
|
-
break;
|
|
922
|
-
case 3:
|
|
923
|
-
message.memberUpdates.push(MemberRequest.decode(reader, reader.uint32()));
|
|
924
|
-
break;
|
|
925
|
-
default:
|
|
926
|
-
reader.skipType(tag & 7);
|
|
927
|
-
break;
|
|
928
|
-
}
|
|
929
|
-
}
|
|
930
|
-
return message;
|
|
931
|
-
},
|
|
932
|
-
fromPartial(object: DeepPartial<MsgUpdateGroupMembers>): MsgUpdateGroupMembers {
|
|
933
|
-
const message = createBaseMsgUpdateGroupMembers();
|
|
934
|
-
message.admin = object.admin ?? "";
|
|
935
|
-
message.groupId = object.groupId !== undefined && object.groupId !== null ? BigInt(object.groupId.toString()) : BigInt(0);
|
|
936
|
-
message.memberUpdates = object.memberUpdates?.map(e => MemberRequest.fromPartial(e)) || [];
|
|
937
|
-
return message;
|
|
938
|
-
},
|
|
939
|
-
fromAmino(object: MsgUpdateGroupMembersAmino): MsgUpdateGroupMembers {
|
|
940
|
-
const message = createBaseMsgUpdateGroupMembers();
|
|
941
|
-
if (object.admin !== undefined && object.admin !== null) {
|
|
942
|
-
message.admin = object.admin;
|
|
943
|
-
}
|
|
944
|
-
if (object.group_id !== undefined && object.group_id !== null) {
|
|
945
|
-
message.groupId = BigInt(object.group_id);
|
|
946
|
-
}
|
|
947
|
-
message.memberUpdates = object.member_updates?.map(e => MemberRequest.fromAmino(e)) || [];
|
|
948
|
-
return message;
|
|
949
|
-
},
|
|
950
|
-
toAmino(message: MsgUpdateGroupMembers): MsgUpdateGroupMembersAmino {
|
|
951
|
-
const obj: any = {};
|
|
952
|
-
obj.admin = message.admin === "" ? undefined : message.admin;
|
|
953
|
-
obj.group_id = message.groupId !== BigInt(0) ? message.groupId?.toString() : undefined;
|
|
954
|
-
if (message.memberUpdates) {
|
|
955
|
-
obj.member_updates = message.memberUpdates.map(e => e ? MemberRequest.toAmino(e) : undefined);
|
|
956
|
-
} else {
|
|
957
|
-
obj.member_updates = message.memberUpdates;
|
|
958
|
-
}
|
|
959
|
-
return obj;
|
|
960
|
-
},
|
|
961
|
-
fromAminoMsg(object: MsgUpdateGroupMembersAminoMsg): MsgUpdateGroupMembers {
|
|
962
|
-
return MsgUpdateGroupMembers.fromAmino(object.value);
|
|
963
|
-
},
|
|
964
|
-
toAminoMsg(message: MsgUpdateGroupMembers): MsgUpdateGroupMembersAminoMsg {
|
|
965
|
-
return {
|
|
966
|
-
type: "cosmos-sdk/MsgUpdateGroupMembers",
|
|
967
|
-
value: MsgUpdateGroupMembers.toAmino(message)
|
|
968
|
-
};
|
|
969
|
-
},
|
|
970
|
-
fromProtoMsg(message: MsgUpdateGroupMembersProtoMsg): MsgUpdateGroupMembers {
|
|
971
|
-
return MsgUpdateGroupMembers.decode(message.value);
|
|
972
|
-
},
|
|
973
|
-
toProto(message: MsgUpdateGroupMembers): Uint8Array {
|
|
974
|
-
return MsgUpdateGroupMembers.encode(message).finish();
|
|
975
|
-
},
|
|
976
|
-
toProtoMsg(message: MsgUpdateGroupMembers): MsgUpdateGroupMembersProtoMsg {
|
|
977
|
-
return {
|
|
978
|
-
typeUrl: "/cosmos.group.v1.MsgUpdateGroupMembers",
|
|
979
|
-
value: MsgUpdateGroupMembers.encode(message).finish()
|
|
980
|
-
};
|
|
981
|
-
}
|
|
982
|
-
};
|
|
983
|
-
GlobalDecoderRegistry.register(MsgUpdateGroupMembers.typeUrl, MsgUpdateGroupMembers);
|
|
984
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(MsgUpdateGroupMembers.aminoType, MsgUpdateGroupMembers.typeUrl);
|
|
985
|
-
function createBaseMsgUpdateGroupMembersResponse(): MsgUpdateGroupMembersResponse {
|
|
986
|
-
return {};
|
|
987
|
-
}
|
|
988
|
-
export const MsgUpdateGroupMembersResponse = {
|
|
989
|
-
typeUrl: "/cosmos.group.v1.MsgUpdateGroupMembersResponse",
|
|
990
|
-
aminoType: "cosmos-sdk/MsgUpdateGroupMembersResponse",
|
|
991
|
-
is(o: any): o is MsgUpdateGroupMembersResponse {
|
|
992
|
-
return o && o.$typeUrl === MsgUpdateGroupMembersResponse.typeUrl;
|
|
993
|
-
},
|
|
994
|
-
isAmino(o: any): o is MsgUpdateGroupMembersResponseAmino {
|
|
995
|
-
return o && o.$typeUrl === MsgUpdateGroupMembersResponse.typeUrl;
|
|
996
|
-
},
|
|
997
|
-
encode(_: MsgUpdateGroupMembersResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
998
|
-
return writer;
|
|
999
|
-
},
|
|
1000
|
-
decode(input: BinaryReader | Uint8Array, length?: number): MsgUpdateGroupMembersResponse {
|
|
1001
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1002
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1003
|
-
const message = createBaseMsgUpdateGroupMembersResponse();
|
|
1004
|
-
while (reader.pos < end) {
|
|
1005
|
-
const tag = reader.uint32();
|
|
1006
|
-
switch (tag >>> 3) {
|
|
1007
|
-
default:
|
|
1008
|
-
reader.skipType(tag & 7);
|
|
1009
|
-
break;
|
|
1010
|
-
}
|
|
1011
|
-
}
|
|
1012
|
-
return message;
|
|
1013
|
-
},
|
|
1014
|
-
fromPartial(_: DeepPartial<MsgUpdateGroupMembersResponse>): MsgUpdateGroupMembersResponse {
|
|
1015
|
-
const message = createBaseMsgUpdateGroupMembersResponse();
|
|
1016
|
-
return message;
|
|
1017
|
-
},
|
|
1018
|
-
fromAmino(_: MsgUpdateGroupMembersResponseAmino): MsgUpdateGroupMembersResponse {
|
|
1019
|
-
const message = createBaseMsgUpdateGroupMembersResponse();
|
|
1020
|
-
return message;
|
|
1021
|
-
},
|
|
1022
|
-
toAmino(_: MsgUpdateGroupMembersResponse): MsgUpdateGroupMembersResponseAmino {
|
|
1023
|
-
const obj: any = {};
|
|
1024
|
-
return obj;
|
|
1025
|
-
},
|
|
1026
|
-
fromAminoMsg(object: MsgUpdateGroupMembersResponseAminoMsg): MsgUpdateGroupMembersResponse {
|
|
1027
|
-
return MsgUpdateGroupMembersResponse.fromAmino(object.value);
|
|
1028
|
-
},
|
|
1029
|
-
toAminoMsg(message: MsgUpdateGroupMembersResponse): MsgUpdateGroupMembersResponseAminoMsg {
|
|
1030
|
-
return {
|
|
1031
|
-
type: "cosmos-sdk/MsgUpdateGroupMembersResponse",
|
|
1032
|
-
value: MsgUpdateGroupMembersResponse.toAmino(message)
|
|
1033
|
-
};
|
|
1034
|
-
},
|
|
1035
|
-
fromProtoMsg(message: MsgUpdateGroupMembersResponseProtoMsg): MsgUpdateGroupMembersResponse {
|
|
1036
|
-
return MsgUpdateGroupMembersResponse.decode(message.value);
|
|
1037
|
-
},
|
|
1038
|
-
toProto(message: MsgUpdateGroupMembersResponse): Uint8Array {
|
|
1039
|
-
return MsgUpdateGroupMembersResponse.encode(message).finish();
|
|
1040
|
-
},
|
|
1041
|
-
toProtoMsg(message: MsgUpdateGroupMembersResponse): MsgUpdateGroupMembersResponseProtoMsg {
|
|
1042
|
-
return {
|
|
1043
|
-
typeUrl: "/cosmos.group.v1.MsgUpdateGroupMembersResponse",
|
|
1044
|
-
value: MsgUpdateGroupMembersResponse.encode(message).finish()
|
|
1045
|
-
};
|
|
1046
|
-
}
|
|
1047
|
-
};
|
|
1048
|
-
GlobalDecoderRegistry.register(MsgUpdateGroupMembersResponse.typeUrl, MsgUpdateGroupMembersResponse);
|
|
1049
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(MsgUpdateGroupMembersResponse.aminoType, MsgUpdateGroupMembersResponse.typeUrl);
|
|
1050
|
-
function createBaseMsgUpdateGroupAdmin(): MsgUpdateGroupAdmin {
|
|
1051
|
-
return {
|
|
1052
|
-
admin: "",
|
|
1053
|
-
groupId: BigInt(0),
|
|
1054
|
-
newAdmin: ""
|
|
1055
|
-
};
|
|
1056
|
-
}
|
|
1057
|
-
export const MsgUpdateGroupAdmin = {
|
|
1058
|
-
typeUrl: "/cosmos.group.v1.MsgUpdateGroupAdmin",
|
|
1059
|
-
aminoType: "cosmos-sdk/MsgUpdateGroupAdmin",
|
|
1060
|
-
is(o: any): o is MsgUpdateGroupAdmin {
|
|
1061
|
-
return o && (o.$typeUrl === MsgUpdateGroupAdmin.typeUrl || typeof o.admin === "string" && typeof o.groupId === "bigint" && typeof o.newAdmin === "string");
|
|
1062
|
-
},
|
|
1063
|
-
isAmino(o: any): o is MsgUpdateGroupAdminAmino {
|
|
1064
|
-
return o && (o.$typeUrl === MsgUpdateGroupAdmin.typeUrl || typeof o.admin === "string" && typeof o.group_id === "bigint" && typeof o.new_admin === "string");
|
|
1065
|
-
},
|
|
1066
|
-
encode(message: MsgUpdateGroupAdmin, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
1067
|
-
if (message.admin !== "") {
|
|
1068
|
-
writer.uint32(10).string(message.admin);
|
|
1069
|
-
}
|
|
1070
|
-
if (message.groupId !== BigInt(0)) {
|
|
1071
|
-
writer.uint32(16).uint64(message.groupId);
|
|
1072
|
-
}
|
|
1073
|
-
if (message.newAdmin !== "") {
|
|
1074
|
-
writer.uint32(26).string(message.newAdmin);
|
|
1075
|
-
}
|
|
1076
|
-
return writer;
|
|
1077
|
-
},
|
|
1078
|
-
decode(input: BinaryReader | Uint8Array, length?: number): MsgUpdateGroupAdmin {
|
|
1079
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1080
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1081
|
-
const message = createBaseMsgUpdateGroupAdmin();
|
|
1082
|
-
while (reader.pos < end) {
|
|
1083
|
-
const tag = reader.uint32();
|
|
1084
|
-
switch (tag >>> 3) {
|
|
1085
|
-
case 1:
|
|
1086
|
-
message.admin = reader.string();
|
|
1087
|
-
break;
|
|
1088
|
-
case 2:
|
|
1089
|
-
message.groupId = reader.uint64();
|
|
1090
|
-
break;
|
|
1091
|
-
case 3:
|
|
1092
|
-
message.newAdmin = reader.string();
|
|
1093
|
-
break;
|
|
1094
|
-
default:
|
|
1095
|
-
reader.skipType(tag & 7);
|
|
1096
|
-
break;
|
|
1097
|
-
}
|
|
1098
|
-
}
|
|
1099
|
-
return message;
|
|
1100
|
-
},
|
|
1101
|
-
fromPartial(object: DeepPartial<MsgUpdateGroupAdmin>): MsgUpdateGroupAdmin {
|
|
1102
|
-
const message = createBaseMsgUpdateGroupAdmin();
|
|
1103
|
-
message.admin = object.admin ?? "";
|
|
1104
|
-
message.groupId = object.groupId !== undefined && object.groupId !== null ? BigInt(object.groupId.toString()) : BigInt(0);
|
|
1105
|
-
message.newAdmin = object.newAdmin ?? "";
|
|
1106
|
-
return message;
|
|
1107
|
-
},
|
|
1108
|
-
fromAmino(object: MsgUpdateGroupAdminAmino): MsgUpdateGroupAdmin {
|
|
1109
|
-
const message = createBaseMsgUpdateGroupAdmin();
|
|
1110
|
-
if (object.admin !== undefined && object.admin !== null) {
|
|
1111
|
-
message.admin = object.admin;
|
|
1112
|
-
}
|
|
1113
|
-
if (object.group_id !== undefined && object.group_id !== null) {
|
|
1114
|
-
message.groupId = BigInt(object.group_id);
|
|
1115
|
-
}
|
|
1116
|
-
if (object.new_admin !== undefined && object.new_admin !== null) {
|
|
1117
|
-
message.newAdmin = object.new_admin;
|
|
1118
|
-
}
|
|
1119
|
-
return message;
|
|
1120
|
-
},
|
|
1121
|
-
toAmino(message: MsgUpdateGroupAdmin): MsgUpdateGroupAdminAmino {
|
|
1122
|
-
const obj: any = {};
|
|
1123
|
-
obj.admin = message.admin === "" ? undefined : message.admin;
|
|
1124
|
-
obj.group_id = message.groupId !== BigInt(0) ? message.groupId?.toString() : undefined;
|
|
1125
|
-
obj.new_admin = message.newAdmin === "" ? undefined : message.newAdmin;
|
|
1126
|
-
return obj;
|
|
1127
|
-
},
|
|
1128
|
-
fromAminoMsg(object: MsgUpdateGroupAdminAminoMsg): MsgUpdateGroupAdmin {
|
|
1129
|
-
return MsgUpdateGroupAdmin.fromAmino(object.value);
|
|
1130
|
-
},
|
|
1131
|
-
toAminoMsg(message: MsgUpdateGroupAdmin): MsgUpdateGroupAdminAminoMsg {
|
|
1132
|
-
return {
|
|
1133
|
-
type: "cosmos-sdk/MsgUpdateGroupAdmin",
|
|
1134
|
-
value: MsgUpdateGroupAdmin.toAmino(message)
|
|
1135
|
-
};
|
|
1136
|
-
},
|
|
1137
|
-
fromProtoMsg(message: MsgUpdateGroupAdminProtoMsg): MsgUpdateGroupAdmin {
|
|
1138
|
-
return MsgUpdateGroupAdmin.decode(message.value);
|
|
1139
|
-
},
|
|
1140
|
-
toProto(message: MsgUpdateGroupAdmin): Uint8Array {
|
|
1141
|
-
return MsgUpdateGroupAdmin.encode(message).finish();
|
|
1142
|
-
},
|
|
1143
|
-
toProtoMsg(message: MsgUpdateGroupAdmin): MsgUpdateGroupAdminProtoMsg {
|
|
1144
|
-
return {
|
|
1145
|
-
typeUrl: "/cosmos.group.v1.MsgUpdateGroupAdmin",
|
|
1146
|
-
value: MsgUpdateGroupAdmin.encode(message).finish()
|
|
1147
|
-
};
|
|
1148
|
-
}
|
|
1149
|
-
};
|
|
1150
|
-
GlobalDecoderRegistry.register(MsgUpdateGroupAdmin.typeUrl, MsgUpdateGroupAdmin);
|
|
1151
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(MsgUpdateGroupAdmin.aminoType, MsgUpdateGroupAdmin.typeUrl);
|
|
1152
|
-
function createBaseMsgUpdateGroupAdminResponse(): MsgUpdateGroupAdminResponse {
|
|
1153
|
-
return {};
|
|
1154
|
-
}
|
|
1155
|
-
export const MsgUpdateGroupAdminResponse = {
|
|
1156
|
-
typeUrl: "/cosmos.group.v1.MsgUpdateGroupAdminResponse",
|
|
1157
|
-
aminoType: "cosmos-sdk/MsgUpdateGroupAdminResponse",
|
|
1158
|
-
is(o: any): o is MsgUpdateGroupAdminResponse {
|
|
1159
|
-
return o && o.$typeUrl === MsgUpdateGroupAdminResponse.typeUrl;
|
|
1160
|
-
},
|
|
1161
|
-
isAmino(o: any): o is MsgUpdateGroupAdminResponseAmino {
|
|
1162
|
-
return o && o.$typeUrl === MsgUpdateGroupAdminResponse.typeUrl;
|
|
1163
|
-
},
|
|
1164
|
-
encode(_: MsgUpdateGroupAdminResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
1165
|
-
return writer;
|
|
1166
|
-
},
|
|
1167
|
-
decode(input: BinaryReader | Uint8Array, length?: number): MsgUpdateGroupAdminResponse {
|
|
1168
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1169
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1170
|
-
const message = createBaseMsgUpdateGroupAdminResponse();
|
|
1171
|
-
while (reader.pos < end) {
|
|
1172
|
-
const tag = reader.uint32();
|
|
1173
|
-
switch (tag >>> 3) {
|
|
1174
|
-
default:
|
|
1175
|
-
reader.skipType(tag & 7);
|
|
1176
|
-
break;
|
|
1177
|
-
}
|
|
1178
|
-
}
|
|
1179
|
-
return message;
|
|
1180
|
-
},
|
|
1181
|
-
fromPartial(_: DeepPartial<MsgUpdateGroupAdminResponse>): MsgUpdateGroupAdminResponse {
|
|
1182
|
-
const message = createBaseMsgUpdateGroupAdminResponse();
|
|
1183
|
-
return message;
|
|
1184
|
-
},
|
|
1185
|
-
fromAmino(_: MsgUpdateGroupAdminResponseAmino): MsgUpdateGroupAdminResponse {
|
|
1186
|
-
const message = createBaseMsgUpdateGroupAdminResponse();
|
|
1187
|
-
return message;
|
|
1188
|
-
},
|
|
1189
|
-
toAmino(_: MsgUpdateGroupAdminResponse): MsgUpdateGroupAdminResponseAmino {
|
|
1190
|
-
const obj: any = {};
|
|
1191
|
-
return obj;
|
|
1192
|
-
},
|
|
1193
|
-
fromAminoMsg(object: MsgUpdateGroupAdminResponseAminoMsg): MsgUpdateGroupAdminResponse {
|
|
1194
|
-
return MsgUpdateGroupAdminResponse.fromAmino(object.value);
|
|
1195
|
-
},
|
|
1196
|
-
toAminoMsg(message: MsgUpdateGroupAdminResponse): MsgUpdateGroupAdminResponseAminoMsg {
|
|
1197
|
-
return {
|
|
1198
|
-
type: "cosmos-sdk/MsgUpdateGroupAdminResponse",
|
|
1199
|
-
value: MsgUpdateGroupAdminResponse.toAmino(message)
|
|
1200
|
-
};
|
|
1201
|
-
},
|
|
1202
|
-
fromProtoMsg(message: MsgUpdateGroupAdminResponseProtoMsg): MsgUpdateGroupAdminResponse {
|
|
1203
|
-
return MsgUpdateGroupAdminResponse.decode(message.value);
|
|
1204
|
-
},
|
|
1205
|
-
toProto(message: MsgUpdateGroupAdminResponse): Uint8Array {
|
|
1206
|
-
return MsgUpdateGroupAdminResponse.encode(message).finish();
|
|
1207
|
-
},
|
|
1208
|
-
toProtoMsg(message: MsgUpdateGroupAdminResponse): MsgUpdateGroupAdminResponseProtoMsg {
|
|
1209
|
-
return {
|
|
1210
|
-
typeUrl: "/cosmos.group.v1.MsgUpdateGroupAdminResponse",
|
|
1211
|
-
value: MsgUpdateGroupAdminResponse.encode(message).finish()
|
|
1212
|
-
};
|
|
1213
|
-
}
|
|
1214
|
-
};
|
|
1215
|
-
GlobalDecoderRegistry.register(MsgUpdateGroupAdminResponse.typeUrl, MsgUpdateGroupAdminResponse);
|
|
1216
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(MsgUpdateGroupAdminResponse.aminoType, MsgUpdateGroupAdminResponse.typeUrl);
|
|
1217
|
-
function createBaseMsgUpdateGroupMetadata(): MsgUpdateGroupMetadata {
|
|
1218
|
-
return {
|
|
1219
|
-
admin: "",
|
|
1220
|
-
groupId: BigInt(0),
|
|
1221
|
-
metadata: ""
|
|
1222
|
-
};
|
|
1223
|
-
}
|
|
1224
|
-
export const MsgUpdateGroupMetadata = {
|
|
1225
|
-
typeUrl: "/cosmos.group.v1.MsgUpdateGroupMetadata",
|
|
1226
|
-
aminoType: "cosmos-sdk/MsgUpdateGroupMetadata",
|
|
1227
|
-
is(o: any): o is MsgUpdateGroupMetadata {
|
|
1228
|
-
return o && (o.$typeUrl === MsgUpdateGroupMetadata.typeUrl || typeof o.admin === "string" && typeof o.groupId === "bigint" && typeof o.metadata === "string");
|
|
1229
|
-
},
|
|
1230
|
-
isAmino(o: any): o is MsgUpdateGroupMetadataAmino {
|
|
1231
|
-
return o && (o.$typeUrl === MsgUpdateGroupMetadata.typeUrl || typeof o.admin === "string" && typeof o.group_id === "bigint" && typeof o.metadata === "string");
|
|
1232
|
-
},
|
|
1233
|
-
encode(message: MsgUpdateGroupMetadata, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
1234
|
-
if (message.admin !== "") {
|
|
1235
|
-
writer.uint32(10).string(message.admin);
|
|
1236
|
-
}
|
|
1237
|
-
if (message.groupId !== BigInt(0)) {
|
|
1238
|
-
writer.uint32(16).uint64(message.groupId);
|
|
1239
|
-
}
|
|
1240
|
-
if (message.metadata !== "") {
|
|
1241
|
-
writer.uint32(26).string(message.metadata);
|
|
1242
|
-
}
|
|
1243
|
-
return writer;
|
|
1244
|
-
},
|
|
1245
|
-
decode(input: BinaryReader | Uint8Array, length?: number): MsgUpdateGroupMetadata {
|
|
1246
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1247
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1248
|
-
const message = createBaseMsgUpdateGroupMetadata();
|
|
1249
|
-
while (reader.pos < end) {
|
|
1250
|
-
const tag = reader.uint32();
|
|
1251
|
-
switch (tag >>> 3) {
|
|
1252
|
-
case 1:
|
|
1253
|
-
message.admin = reader.string();
|
|
1254
|
-
break;
|
|
1255
|
-
case 2:
|
|
1256
|
-
message.groupId = reader.uint64();
|
|
1257
|
-
break;
|
|
1258
|
-
case 3:
|
|
1259
|
-
message.metadata = reader.string();
|
|
1260
|
-
break;
|
|
1261
|
-
default:
|
|
1262
|
-
reader.skipType(tag & 7);
|
|
1263
|
-
break;
|
|
1264
|
-
}
|
|
1265
|
-
}
|
|
1266
|
-
return message;
|
|
1267
|
-
},
|
|
1268
|
-
fromPartial(object: DeepPartial<MsgUpdateGroupMetadata>): MsgUpdateGroupMetadata {
|
|
1269
|
-
const message = createBaseMsgUpdateGroupMetadata();
|
|
1270
|
-
message.admin = object.admin ?? "";
|
|
1271
|
-
message.groupId = object.groupId !== undefined && object.groupId !== null ? BigInt(object.groupId.toString()) : BigInt(0);
|
|
1272
|
-
message.metadata = object.metadata ?? "";
|
|
1273
|
-
return message;
|
|
1274
|
-
},
|
|
1275
|
-
fromAmino(object: MsgUpdateGroupMetadataAmino): MsgUpdateGroupMetadata {
|
|
1276
|
-
const message = createBaseMsgUpdateGroupMetadata();
|
|
1277
|
-
if (object.admin !== undefined && object.admin !== null) {
|
|
1278
|
-
message.admin = object.admin;
|
|
1279
|
-
}
|
|
1280
|
-
if (object.group_id !== undefined && object.group_id !== null) {
|
|
1281
|
-
message.groupId = BigInt(object.group_id);
|
|
1282
|
-
}
|
|
1283
|
-
if (object.metadata !== undefined && object.metadata !== null) {
|
|
1284
|
-
message.metadata = object.metadata;
|
|
1285
|
-
}
|
|
1286
|
-
return message;
|
|
1287
|
-
},
|
|
1288
|
-
toAmino(message: MsgUpdateGroupMetadata): MsgUpdateGroupMetadataAmino {
|
|
1289
|
-
const obj: any = {};
|
|
1290
|
-
obj.admin = message.admin === "" ? undefined : message.admin;
|
|
1291
|
-
obj.group_id = message.groupId !== BigInt(0) ? message.groupId?.toString() : undefined;
|
|
1292
|
-
obj.metadata = message.metadata === "" ? undefined : message.metadata;
|
|
1293
|
-
return obj;
|
|
1294
|
-
},
|
|
1295
|
-
fromAminoMsg(object: MsgUpdateGroupMetadataAminoMsg): MsgUpdateGroupMetadata {
|
|
1296
|
-
return MsgUpdateGroupMetadata.fromAmino(object.value);
|
|
1297
|
-
},
|
|
1298
|
-
toAminoMsg(message: MsgUpdateGroupMetadata): MsgUpdateGroupMetadataAminoMsg {
|
|
1299
|
-
return {
|
|
1300
|
-
type: "cosmos-sdk/MsgUpdateGroupMetadata",
|
|
1301
|
-
value: MsgUpdateGroupMetadata.toAmino(message)
|
|
1302
|
-
};
|
|
1303
|
-
},
|
|
1304
|
-
fromProtoMsg(message: MsgUpdateGroupMetadataProtoMsg): MsgUpdateGroupMetadata {
|
|
1305
|
-
return MsgUpdateGroupMetadata.decode(message.value);
|
|
1306
|
-
},
|
|
1307
|
-
toProto(message: MsgUpdateGroupMetadata): Uint8Array {
|
|
1308
|
-
return MsgUpdateGroupMetadata.encode(message).finish();
|
|
1309
|
-
},
|
|
1310
|
-
toProtoMsg(message: MsgUpdateGroupMetadata): MsgUpdateGroupMetadataProtoMsg {
|
|
1311
|
-
return {
|
|
1312
|
-
typeUrl: "/cosmos.group.v1.MsgUpdateGroupMetadata",
|
|
1313
|
-
value: MsgUpdateGroupMetadata.encode(message).finish()
|
|
1314
|
-
};
|
|
1315
|
-
}
|
|
1316
|
-
};
|
|
1317
|
-
GlobalDecoderRegistry.register(MsgUpdateGroupMetadata.typeUrl, MsgUpdateGroupMetadata);
|
|
1318
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(MsgUpdateGroupMetadata.aminoType, MsgUpdateGroupMetadata.typeUrl);
|
|
1319
|
-
function createBaseMsgUpdateGroupMetadataResponse(): MsgUpdateGroupMetadataResponse {
|
|
1320
|
-
return {};
|
|
1321
|
-
}
|
|
1322
|
-
export const MsgUpdateGroupMetadataResponse = {
|
|
1323
|
-
typeUrl: "/cosmos.group.v1.MsgUpdateGroupMetadataResponse",
|
|
1324
|
-
aminoType: "cosmos-sdk/MsgUpdateGroupMetadataResponse",
|
|
1325
|
-
is(o: any): o is MsgUpdateGroupMetadataResponse {
|
|
1326
|
-
return o && o.$typeUrl === MsgUpdateGroupMetadataResponse.typeUrl;
|
|
1327
|
-
},
|
|
1328
|
-
isAmino(o: any): o is MsgUpdateGroupMetadataResponseAmino {
|
|
1329
|
-
return o && o.$typeUrl === MsgUpdateGroupMetadataResponse.typeUrl;
|
|
1330
|
-
},
|
|
1331
|
-
encode(_: MsgUpdateGroupMetadataResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
1332
|
-
return writer;
|
|
1333
|
-
},
|
|
1334
|
-
decode(input: BinaryReader | Uint8Array, length?: number): MsgUpdateGroupMetadataResponse {
|
|
1335
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1336
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1337
|
-
const message = createBaseMsgUpdateGroupMetadataResponse();
|
|
1338
|
-
while (reader.pos < end) {
|
|
1339
|
-
const tag = reader.uint32();
|
|
1340
|
-
switch (tag >>> 3) {
|
|
1341
|
-
default:
|
|
1342
|
-
reader.skipType(tag & 7);
|
|
1343
|
-
break;
|
|
1344
|
-
}
|
|
1345
|
-
}
|
|
1346
|
-
return message;
|
|
1347
|
-
},
|
|
1348
|
-
fromPartial(_: DeepPartial<MsgUpdateGroupMetadataResponse>): MsgUpdateGroupMetadataResponse {
|
|
1349
|
-
const message = createBaseMsgUpdateGroupMetadataResponse();
|
|
1350
|
-
return message;
|
|
1351
|
-
},
|
|
1352
|
-
fromAmino(_: MsgUpdateGroupMetadataResponseAmino): MsgUpdateGroupMetadataResponse {
|
|
1353
|
-
const message = createBaseMsgUpdateGroupMetadataResponse();
|
|
1354
|
-
return message;
|
|
1355
|
-
},
|
|
1356
|
-
toAmino(_: MsgUpdateGroupMetadataResponse): MsgUpdateGroupMetadataResponseAmino {
|
|
1357
|
-
const obj: any = {};
|
|
1358
|
-
return obj;
|
|
1359
|
-
},
|
|
1360
|
-
fromAminoMsg(object: MsgUpdateGroupMetadataResponseAminoMsg): MsgUpdateGroupMetadataResponse {
|
|
1361
|
-
return MsgUpdateGroupMetadataResponse.fromAmino(object.value);
|
|
1362
|
-
},
|
|
1363
|
-
toAminoMsg(message: MsgUpdateGroupMetadataResponse): MsgUpdateGroupMetadataResponseAminoMsg {
|
|
1364
|
-
return {
|
|
1365
|
-
type: "cosmos-sdk/MsgUpdateGroupMetadataResponse",
|
|
1366
|
-
value: MsgUpdateGroupMetadataResponse.toAmino(message)
|
|
1367
|
-
};
|
|
1368
|
-
},
|
|
1369
|
-
fromProtoMsg(message: MsgUpdateGroupMetadataResponseProtoMsg): MsgUpdateGroupMetadataResponse {
|
|
1370
|
-
return MsgUpdateGroupMetadataResponse.decode(message.value);
|
|
1371
|
-
},
|
|
1372
|
-
toProto(message: MsgUpdateGroupMetadataResponse): Uint8Array {
|
|
1373
|
-
return MsgUpdateGroupMetadataResponse.encode(message).finish();
|
|
1374
|
-
},
|
|
1375
|
-
toProtoMsg(message: MsgUpdateGroupMetadataResponse): MsgUpdateGroupMetadataResponseProtoMsg {
|
|
1376
|
-
return {
|
|
1377
|
-
typeUrl: "/cosmos.group.v1.MsgUpdateGroupMetadataResponse",
|
|
1378
|
-
value: MsgUpdateGroupMetadataResponse.encode(message).finish()
|
|
1379
|
-
};
|
|
1380
|
-
}
|
|
1381
|
-
};
|
|
1382
|
-
GlobalDecoderRegistry.register(MsgUpdateGroupMetadataResponse.typeUrl, MsgUpdateGroupMetadataResponse);
|
|
1383
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(MsgUpdateGroupMetadataResponse.aminoType, MsgUpdateGroupMetadataResponse.typeUrl);
|
|
1384
|
-
function createBaseMsgCreateGroupPolicy(): MsgCreateGroupPolicy {
|
|
1385
|
-
return {
|
|
1386
|
-
admin: "",
|
|
1387
|
-
groupId: BigInt(0),
|
|
1388
|
-
metadata: "",
|
|
1389
|
-
decisionPolicy: undefined
|
|
1390
|
-
};
|
|
1391
|
-
}
|
|
1392
|
-
export const MsgCreateGroupPolicy = {
|
|
1393
|
-
typeUrl: "/cosmos.group.v1.MsgCreateGroupPolicy",
|
|
1394
|
-
aminoType: "cosmos-sdk/MsgCreateGroupPolicy",
|
|
1395
|
-
is(o: any): o is MsgCreateGroupPolicy {
|
|
1396
|
-
return o && (o.$typeUrl === MsgCreateGroupPolicy.typeUrl || typeof o.admin === "string" && typeof o.groupId === "bigint" && typeof o.metadata === "string");
|
|
1397
|
-
},
|
|
1398
|
-
isAmino(o: any): o is MsgCreateGroupPolicyAmino {
|
|
1399
|
-
return o && (o.$typeUrl === MsgCreateGroupPolicy.typeUrl || typeof o.admin === "string" && typeof o.group_id === "bigint" && typeof o.metadata === "string");
|
|
1400
|
-
},
|
|
1401
|
-
encode(message: MsgCreateGroupPolicy, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
1402
|
-
if (message.admin !== "") {
|
|
1403
|
-
writer.uint32(10).string(message.admin);
|
|
1404
|
-
}
|
|
1405
|
-
if (message.groupId !== BigInt(0)) {
|
|
1406
|
-
writer.uint32(16).uint64(message.groupId);
|
|
1407
|
-
}
|
|
1408
|
-
if (message.metadata !== "") {
|
|
1409
|
-
writer.uint32(26).string(message.metadata);
|
|
1410
|
-
}
|
|
1411
|
-
if (message.decisionPolicy !== undefined) {
|
|
1412
|
-
Any.encode(GlobalDecoderRegistry.wrapAny(message.decisionPolicy), writer.uint32(34).fork()).ldelim();
|
|
1413
|
-
}
|
|
1414
|
-
return writer;
|
|
1415
|
-
},
|
|
1416
|
-
decode(input: BinaryReader | Uint8Array, length?: number): MsgCreateGroupPolicy {
|
|
1417
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1418
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1419
|
-
const message = createBaseMsgCreateGroupPolicy();
|
|
1420
|
-
while (reader.pos < end) {
|
|
1421
|
-
const tag = reader.uint32();
|
|
1422
|
-
switch (tag >>> 3) {
|
|
1423
|
-
case 1:
|
|
1424
|
-
message.admin = reader.string();
|
|
1425
|
-
break;
|
|
1426
|
-
case 2:
|
|
1427
|
-
message.groupId = reader.uint64();
|
|
1428
|
-
break;
|
|
1429
|
-
case 3:
|
|
1430
|
-
message.metadata = reader.string();
|
|
1431
|
-
break;
|
|
1432
|
-
case 4:
|
|
1433
|
-
message.decisionPolicy = GlobalDecoderRegistry.unwrapAny(reader);
|
|
1434
|
-
break;
|
|
1435
|
-
default:
|
|
1436
|
-
reader.skipType(tag & 7);
|
|
1437
|
-
break;
|
|
1438
|
-
}
|
|
1439
|
-
}
|
|
1440
|
-
return message;
|
|
1441
|
-
},
|
|
1442
|
-
fromPartial(object: DeepPartial<MsgCreateGroupPolicy>): MsgCreateGroupPolicy {
|
|
1443
|
-
const message = createBaseMsgCreateGroupPolicy();
|
|
1444
|
-
message.admin = object.admin ?? "";
|
|
1445
|
-
message.groupId = object.groupId !== undefined && object.groupId !== null ? BigInt(object.groupId.toString()) : BigInt(0);
|
|
1446
|
-
message.metadata = object.metadata ?? "";
|
|
1447
|
-
message.decisionPolicy = object.decisionPolicy !== undefined && object.decisionPolicy !== null ? GlobalDecoderRegistry.fromPartial(object.decisionPolicy) : undefined;
|
|
1448
|
-
return message;
|
|
1449
|
-
},
|
|
1450
|
-
fromAmino(object: MsgCreateGroupPolicyAmino): MsgCreateGroupPolicy {
|
|
1451
|
-
const message = createBaseMsgCreateGroupPolicy();
|
|
1452
|
-
if (object.admin !== undefined && object.admin !== null) {
|
|
1453
|
-
message.admin = object.admin;
|
|
1454
|
-
}
|
|
1455
|
-
if (object.group_id !== undefined && object.group_id !== null) {
|
|
1456
|
-
message.groupId = BigInt(object.group_id);
|
|
1457
|
-
}
|
|
1458
|
-
if (object.metadata !== undefined && object.metadata !== null) {
|
|
1459
|
-
message.metadata = object.metadata;
|
|
1460
|
-
}
|
|
1461
|
-
if (object.decision_policy !== undefined && object.decision_policy !== null) {
|
|
1462
|
-
message.decisionPolicy = GlobalDecoderRegistry.fromAminoMsg(object.decision_policy);
|
|
1463
|
-
}
|
|
1464
|
-
return message;
|
|
1465
|
-
},
|
|
1466
|
-
toAmino(message: MsgCreateGroupPolicy): MsgCreateGroupPolicyAmino {
|
|
1467
|
-
const obj: any = {};
|
|
1468
|
-
obj.admin = message.admin === "" ? undefined : message.admin;
|
|
1469
|
-
obj.group_id = message.groupId !== BigInt(0) ? message.groupId?.toString() : undefined;
|
|
1470
|
-
obj.metadata = message.metadata === "" ? undefined : message.metadata;
|
|
1471
|
-
obj.decision_policy = message.decisionPolicy ? GlobalDecoderRegistry.toAminoMsg(message.decisionPolicy) : undefined;
|
|
1472
|
-
return obj;
|
|
1473
|
-
},
|
|
1474
|
-
fromAminoMsg(object: MsgCreateGroupPolicyAminoMsg): MsgCreateGroupPolicy {
|
|
1475
|
-
return MsgCreateGroupPolicy.fromAmino(object.value);
|
|
1476
|
-
},
|
|
1477
|
-
toAminoMsg(message: MsgCreateGroupPolicy): MsgCreateGroupPolicyAminoMsg {
|
|
1478
|
-
return {
|
|
1479
|
-
type: "cosmos-sdk/MsgCreateGroupPolicy",
|
|
1480
|
-
value: MsgCreateGroupPolicy.toAmino(message)
|
|
1481
|
-
};
|
|
1482
|
-
},
|
|
1483
|
-
fromProtoMsg(message: MsgCreateGroupPolicyProtoMsg): MsgCreateGroupPolicy {
|
|
1484
|
-
return MsgCreateGroupPolicy.decode(message.value);
|
|
1485
|
-
},
|
|
1486
|
-
toProto(message: MsgCreateGroupPolicy): Uint8Array {
|
|
1487
|
-
return MsgCreateGroupPolicy.encode(message).finish();
|
|
1488
|
-
},
|
|
1489
|
-
toProtoMsg(message: MsgCreateGroupPolicy): MsgCreateGroupPolicyProtoMsg {
|
|
1490
|
-
return {
|
|
1491
|
-
typeUrl: "/cosmos.group.v1.MsgCreateGroupPolicy",
|
|
1492
|
-
value: MsgCreateGroupPolicy.encode(message).finish()
|
|
1493
|
-
};
|
|
1494
|
-
}
|
|
1495
|
-
};
|
|
1496
|
-
GlobalDecoderRegistry.register(MsgCreateGroupPolicy.typeUrl, MsgCreateGroupPolicy);
|
|
1497
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(MsgCreateGroupPolicy.aminoType, MsgCreateGroupPolicy.typeUrl);
|
|
1498
|
-
function createBaseMsgCreateGroupPolicyResponse(): MsgCreateGroupPolicyResponse {
|
|
1499
|
-
return {
|
|
1500
|
-
address: ""
|
|
1501
|
-
};
|
|
1502
|
-
}
|
|
1503
|
-
export const MsgCreateGroupPolicyResponse = {
|
|
1504
|
-
typeUrl: "/cosmos.group.v1.MsgCreateGroupPolicyResponse",
|
|
1505
|
-
aminoType: "cosmos-sdk/MsgCreateGroupPolicyResponse",
|
|
1506
|
-
is(o: any): o is MsgCreateGroupPolicyResponse {
|
|
1507
|
-
return o && (o.$typeUrl === MsgCreateGroupPolicyResponse.typeUrl || typeof o.address === "string");
|
|
1508
|
-
},
|
|
1509
|
-
isAmino(o: any): o is MsgCreateGroupPolicyResponseAmino {
|
|
1510
|
-
return o && (o.$typeUrl === MsgCreateGroupPolicyResponse.typeUrl || typeof o.address === "string");
|
|
1511
|
-
},
|
|
1512
|
-
encode(message: MsgCreateGroupPolicyResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
1513
|
-
if (message.address !== "") {
|
|
1514
|
-
writer.uint32(10).string(message.address);
|
|
1515
|
-
}
|
|
1516
|
-
return writer;
|
|
1517
|
-
},
|
|
1518
|
-
decode(input: BinaryReader | Uint8Array, length?: number): MsgCreateGroupPolicyResponse {
|
|
1519
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1520
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1521
|
-
const message = createBaseMsgCreateGroupPolicyResponse();
|
|
1522
|
-
while (reader.pos < end) {
|
|
1523
|
-
const tag = reader.uint32();
|
|
1524
|
-
switch (tag >>> 3) {
|
|
1525
|
-
case 1:
|
|
1526
|
-
message.address = reader.string();
|
|
1527
|
-
break;
|
|
1528
|
-
default:
|
|
1529
|
-
reader.skipType(tag & 7);
|
|
1530
|
-
break;
|
|
1531
|
-
}
|
|
1532
|
-
}
|
|
1533
|
-
return message;
|
|
1534
|
-
},
|
|
1535
|
-
fromPartial(object: DeepPartial<MsgCreateGroupPolicyResponse>): MsgCreateGroupPolicyResponse {
|
|
1536
|
-
const message = createBaseMsgCreateGroupPolicyResponse();
|
|
1537
|
-
message.address = object.address ?? "";
|
|
1538
|
-
return message;
|
|
1539
|
-
},
|
|
1540
|
-
fromAmino(object: MsgCreateGroupPolicyResponseAmino): MsgCreateGroupPolicyResponse {
|
|
1541
|
-
const message = createBaseMsgCreateGroupPolicyResponse();
|
|
1542
|
-
if (object.address !== undefined && object.address !== null) {
|
|
1543
|
-
message.address = object.address;
|
|
1544
|
-
}
|
|
1545
|
-
return message;
|
|
1546
|
-
},
|
|
1547
|
-
toAmino(message: MsgCreateGroupPolicyResponse): MsgCreateGroupPolicyResponseAmino {
|
|
1548
|
-
const obj: any = {};
|
|
1549
|
-
obj.address = message.address === "" ? undefined : message.address;
|
|
1550
|
-
return obj;
|
|
1551
|
-
},
|
|
1552
|
-
fromAminoMsg(object: MsgCreateGroupPolicyResponseAminoMsg): MsgCreateGroupPolicyResponse {
|
|
1553
|
-
return MsgCreateGroupPolicyResponse.fromAmino(object.value);
|
|
1554
|
-
},
|
|
1555
|
-
toAminoMsg(message: MsgCreateGroupPolicyResponse): MsgCreateGroupPolicyResponseAminoMsg {
|
|
1556
|
-
return {
|
|
1557
|
-
type: "cosmos-sdk/MsgCreateGroupPolicyResponse",
|
|
1558
|
-
value: MsgCreateGroupPolicyResponse.toAmino(message)
|
|
1559
|
-
};
|
|
1560
|
-
},
|
|
1561
|
-
fromProtoMsg(message: MsgCreateGroupPolicyResponseProtoMsg): MsgCreateGroupPolicyResponse {
|
|
1562
|
-
return MsgCreateGroupPolicyResponse.decode(message.value);
|
|
1563
|
-
},
|
|
1564
|
-
toProto(message: MsgCreateGroupPolicyResponse): Uint8Array {
|
|
1565
|
-
return MsgCreateGroupPolicyResponse.encode(message).finish();
|
|
1566
|
-
},
|
|
1567
|
-
toProtoMsg(message: MsgCreateGroupPolicyResponse): MsgCreateGroupPolicyResponseProtoMsg {
|
|
1568
|
-
return {
|
|
1569
|
-
typeUrl: "/cosmos.group.v1.MsgCreateGroupPolicyResponse",
|
|
1570
|
-
value: MsgCreateGroupPolicyResponse.encode(message).finish()
|
|
1571
|
-
};
|
|
1572
|
-
}
|
|
1573
|
-
};
|
|
1574
|
-
GlobalDecoderRegistry.register(MsgCreateGroupPolicyResponse.typeUrl, MsgCreateGroupPolicyResponse);
|
|
1575
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(MsgCreateGroupPolicyResponse.aminoType, MsgCreateGroupPolicyResponse.typeUrl);
|
|
1576
|
-
function createBaseMsgUpdateGroupPolicyAdmin(): MsgUpdateGroupPolicyAdmin {
|
|
1577
|
-
return {
|
|
1578
|
-
admin: "",
|
|
1579
|
-
groupPolicyAddress: "",
|
|
1580
|
-
newAdmin: ""
|
|
1581
|
-
};
|
|
1582
|
-
}
|
|
1583
|
-
export const MsgUpdateGroupPolicyAdmin = {
|
|
1584
|
-
typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyAdmin",
|
|
1585
|
-
aminoType: "cosmos-sdk/MsgUpdateGroupPolicyAdmin",
|
|
1586
|
-
is(o: any): o is MsgUpdateGroupPolicyAdmin {
|
|
1587
|
-
return o && (o.$typeUrl === MsgUpdateGroupPolicyAdmin.typeUrl || typeof o.admin === "string" && typeof o.groupPolicyAddress === "string" && typeof o.newAdmin === "string");
|
|
1588
|
-
},
|
|
1589
|
-
isAmino(o: any): o is MsgUpdateGroupPolicyAdminAmino {
|
|
1590
|
-
return o && (o.$typeUrl === MsgUpdateGroupPolicyAdmin.typeUrl || typeof o.admin === "string" && typeof o.group_policy_address === "string" && typeof o.new_admin === "string");
|
|
1591
|
-
},
|
|
1592
|
-
encode(message: MsgUpdateGroupPolicyAdmin, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
1593
|
-
if (message.admin !== "") {
|
|
1594
|
-
writer.uint32(10).string(message.admin);
|
|
1595
|
-
}
|
|
1596
|
-
if (message.groupPolicyAddress !== "") {
|
|
1597
|
-
writer.uint32(18).string(message.groupPolicyAddress);
|
|
1598
|
-
}
|
|
1599
|
-
if (message.newAdmin !== "") {
|
|
1600
|
-
writer.uint32(26).string(message.newAdmin);
|
|
1601
|
-
}
|
|
1602
|
-
return writer;
|
|
1603
|
-
},
|
|
1604
|
-
decode(input: BinaryReader | Uint8Array, length?: number): MsgUpdateGroupPolicyAdmin {
|
|
1605
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1606
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1607
|
-
const message = createBaseMsgUpdateGroupPolicyAdmin();
|
|
1608
|
-
while (reader.pos < end) {
|
|
1609
|
-
const tag = reader.uint32();
|
|
1610
|
-
switch (tag >>> 3) {
|
|
1611
|
-
case 1:
|
|
1612
|
-
message.admin = reader.string();
|
|
1613
|
-
break;
|
|
1614
|
-
case 2:
|
|
1615
|
-
message.groupPolicyAddress = reader.string();
|
|
1616
|
-
break;
|
|
1617
|
-
case 3:
|
|
1618
|
-
message.newAdmin = reader.string();
|
|
1619
|
-
break;
|
|
1620
|
-
default:
|
|
1621
|
-
reader.skipType(tag & 7);
|
|
1622
|
-
break;
|
|
1623
|
-
}
|
|
1624
|
-
}
|
|
1625
|
-
return message;
|
|
1626
|
-
},
|
|
1627
|
-
fromPartial(object: DeepPartial<MsgUpdateGroupPolicyAdmin>): MsgUpdateGroupPolicyAdmin {
|
|
1628
|
-
const message = createBaseMsgUpdateGroupPolicyAdmin();
|
|
1629
|
-
message.admin = object.admin ?? "";
|
|
1630
|
-
message.groupPolicyAddress = object.groupPolicyAddress ?? "";
|
|
1631
|
-
message.newAdmin = object.newAdmin ?? "";
|
|
1632
|
-
return message;
|
|
1633
|
-
},
|
|
1634
|
-
fromAmino(object: MsgUpdateGroupPolicyAdminAmino): MsgUpdateGroupPolicyAdmin {
|
|
1635
|
-
const message = createBaseMsgUpdateGroupPolicyAdmin();
|
|
1636
|
-
if (object.admin !== undefined && object.admin !== null) {
|
|
1637
|
-
message.admin = object.admin;
|
|
1638
|
-
}
|
|
1639
|
-
if (object.group_policy_address !== undefined && object.group_policy_address !== null) {
|
|
1640
|
-
message.groupPolicyAddress = object.group_policy_address;
|
|
1641
|
-
}
|
|
1642
|
-
if (object.new_admin !== undefined && object.new_admin !== null) {
|
|
1643
|
-
message.newAdmin = object.new_admin;
|
|
1644
|
-
}
|
|
1645
|
-
return message;
|
|
1646
|
-
},
|
|
1647
|
-
toAmino(message: MsgUpdateGroupPolicyAdmin): MsgUpdateGroupPolicyAdminAmino {
|
|
1648
|
-
const obj: any = {};
|
|
1649
|
-
obj.admin = message.admin === "" ? undefined : message.admin;
|
|
1650
|
-
obj.group_policy_address = message.groupPolicyAddress === "" ? undefined : message.groupPolicyAddress;
|
|
1651
|
-
obj.new_admin = message.newAdmin === "" ? undefined : message.newAdmin;
|
|
1652
|
-
return obj;
|
|
1653
|
-
},
|
|
1654
|
-
fromAminoMsg(object: MsgUpdateGroupPolicyAdminAminoMsg): MsgUpdateGroupPolicyAdmin {
|
|
1655
|
-
return MsgUpdateGroupPolicyAdmin.fromAmino(object.value);
|
|
1656
|
-
},
|
|
1657
|
-
toAminoMsg(message: MsgUpdateGroupPolicyAdmin): MsgUpdateGroupPolicyAdminAminoMsg {
|
|
1658
|
-
return {
|
|
1659
|
-
type: "cosmos-sdk/MsgUpdateGroupPolicyAdmin",
|
|
1660
|
-
value: MsgUpdateGroupPolicyAdmin.toAmino(message)
|
|
1661
|
-
};
|
|
1662
|
-
},
|
|
1663
|
-
fromProtoMsg(message: MsgUpdateGroupPolicyAdminProtoMsg): MsgUpdateGroupPolicyAdmin {
|
|
1664
|
-
return MsgUpdateGroupPolicyAdmin.decode(message.value);
|
|
1665
|
-
},
|
|
1666
|
-
toProto(message: MsgUpdateGroupPolicyAdmin): Uint8Array {
|
|
1667
|
-
return MsgUpdateGroupPolicyAdmin.encode(message).finish();
|
|
1668
|
-
},
|
|
1669
|
-
toProtoMsg(message: MsgUpdateGroupPolicyAdmin): MsgUpdateGroupPolicyAdminProtoMsg {
|
|
1670
|
-
return {
|
|
1671
|
-
typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyAdmin",
|
|
1672
|
-
value: MsgUpdateGroupPolicyAdmin.encode(message).finish()
|
|
1673
|
-
};
|
|
1674
|
-
}
|
|
1675
|
-
};
|
|
1676
|
-
GlobalDecoderRegistry.register(MsgUpdateGroupPolicyAdmin.typeUrl, MsgUpdateGroupPolicyAdmin);
|
|
1677
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(MsgUpdateGroupPolicyAdmin.aminoType, MsgUpdateGroupPolicyAdmin.typeUrl);
|
|
1678
|
-
function createBaseMsgUpdateGroupPolicyAdminResponse(): MsgUpdateGroupPolicyAdminResponse {
|
|
1679
|
-
return {};
|
|
1680
|
-
}
|
|
1681
|
-
export const MsgUpdateGroupPolicyAdminResponse = {
|
|
1682
|
-
typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyAdminResponse",
|
|
1683
|
-
aminoType: "cosmos-sdk/MsgUpdateGroupPolicyAdminResponse",
|
|
1684
|
-
is(o: any): o is MsgUpdateGroupPolicyAdminResponse {
|
|
1685
|
-
return o && o.$typeUrl === MsgUpdateGroupPolicyAdminResponse.typeUrl;
|
|
1686
|
-
},
|
|
1687
|
-
isAmino(o: any): o is MsgUpdateGroupPolicyAdminResponseAmino {
|
|
1688
|
-
return o && o.$typeUrl === MsgUpdateGroupPolicyAdminResponse.typeUrl;
|
|
1689
|
-
},
|
|
1690
|
-
encode(_: MsgUpdateGroupPolicyAdminResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
1691
|
-
return writer;
|
|
1692
|
-
},
|
|
1693
|
-
decode(input: BinaryReader | Uint8Array, length?: number): MsgUpdateGroupPolicyAdminResponse {
|
|
1694
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1695
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1696
|
-
const message = createBaseMsgUpdateGroupPolicyAdminResponse();
|
|
1697
|
-
while (reader.pos < end) {
|
|
1698
|
-
const tag = reader.uint32();
|
|
1699
|
-
switch (tag >>> 3) {
|
|
1700
|
-
default:
|
|
1701
|
-
reader.skipType(tag & 7);
|
|
1702
|
-
break;
|
|
1703
|
-
}
|
|
1704
|
-
}
|
|
1705
|
-
return message;
|
|
1706
|
-
},
|
|
1707
|
-
fromPartial(_: DeepPartial<MsgUpdateGroupPolicyAdminResponse>): MsgUpdateGroupPolicyAdminResponse {
|
|
1708
|
-
const message = createBaseMsgUpdateGroupPolicyAdminResponse();
|
|
1709
|
-
return message;
|
|
1710
|
-
},
|
|
1711
|
-
fromAmino(_: MsgUpdateGroupPolicyAdminResponseAmino): MsgUpdateGroupPolicyAdminResponse {
|
|
1712
|
-
const message = createBaseMsgUpdateGroupPolicyAdminResponse();
|
|
1713
|
-
return message;
|
|
1714
|
-
},
|
|
1715
|
-
toAmino(_: MsgUpdateGroupPolicyAdminResponse): MsgUpdateGroupPolicyAdminResponseAmino {
|
|
1716
|
-
const obj: any = {};
|
|
1717
|
-
return obj;
|
|
1718
|
-
},
|
|
1719
|
-
fromAminoMsg(object: MsgUpdateGroupPolicyAdminResponseAminoMsg): MsgUpdateGroupPolicyAdminResponse {
|
|
1720
|
-
return MsgUpdateGroupPolicyAdminResponse.fromAmino(object.value);
|
|
1721
|
-
},
|
|
1722
|
-
toAminoMsg(message: MsgUpdateGroupPolicyAdminResponse): MsgUpdateGroupPolicyAdminResponseAminoMsg {
|
|
1723
|
-
return {
|
|
1724
|
-
type: "cosmos-sdk/MsgUpdateGroupPolicyAdminResponse",
|
|
1725
|
-
value: MsgUpdateGroupPolicyAdminResponse.toAmino(message)
|
|
1726
|
-
};
|
|
1727
|
-
},
|
|
1728
|
-
fromProtoMsg(message: MsgUpdateGroupPolicyAdminResponseProtoMsg): MsgUpdateGroupPolicyAdminResponse {
|
|
1729
|
-
return MsgUpdateGroupPolicyAdminResponse.decode(message.value);
|
|
1730
|
-
},
|
|
1731
|
-
toProto(message: MsgUpdateGroupPolicyAdminResponse): Uint8Array {
|
|
1732
|
-
return MsgUpdateGroupPolicyAdminResponse.encode(message).finish();
|
|
1733
|
-
},
|
|
1734
|
-
toProtoMsg(message: MsgUpdateGroupPolicyAdminResponse): MsgUpdateGroupPolicyAdminResponseProtoMsg {
|
|
1735
|
-
return {
|
|
1736
|
-
typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyAdminResponse",
|
|
1737
|
-
value: MsgUpdateGroupPolicyAdminResponse.encode(message).finish()
|
|
1738
|
-
};
|
|
1739
|
-
}
|
|
1740
|
-
};
|
|
1741
|
-
GlobalDecoderRegistry.register(MsgUpdateGroupPolicyAdminResponse.typeUrl, MsgUpdateGroupPolicyAdminResponse);
|
|
1742
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(MsgUpdateGroupPolicyAdminResponse.aminoType, MsgUpdateGroupPolicyAdminResponse.typeUrl);
|
|
1743
|
-
function createBaseMsgCreateGroupWithPolicy(): MsgCreateGroupWithPolicy {
|
|
1744
|
-
return {
|
|
1745
|
-
admin: "",
|
|
1746
|
-
members: [],
|
|
1747
|
-
groupMetadata: "",
|
|
1748
|
-
groupPolicyMetadata: "",
|
|
1749
|
-
groupPolicyAsAdmin: false,
|
|
1750
|
-
decisionPolicy: undefined
|
|
1751
|
-
};
|
|
1752
|
-
}
|
|
1753
|
-
export const MsgCreateGroupWithPolicy = {
|
|
1754
|
-
typeUrl: "/cosmos.group.v1.MsgCreateGroupWithPolicy",
|
|
1755
|
-
aminoType: "cosmos-sdk/MsgCreateGroupWithPolicy",
|
|
1756
|
-
is(o: any): o is MsgCreateGroupWithPolicy {
|
|
1757
|
-
return o && (o.$typeUrl === MsgCreateGroupWithPolicy.typeUrl || typeof o.admin === "string" && Array.isArray(o.members) && (!o.members.length || MemberRequest.is(o.members[0])) && typeof o.groupMetadata === "string" && typeof o.groupPolicyMetadata === "string" && typeof o.groupPolicyAsAdmin === "boolean");
|
|
1758
|
-
},
|
|
1759
|
-
isAmino(o: any): o is MsgCreateGroupWithPolicyAmino {
|
|
1760
|
-
return o && (o.$typeUrl === MsgCreateGroupWithPolicy.typeUrl || typeof o.admin === "string" && Array.isArray(o.members) && (!o.members.length || MemberRequest.isAmino(o.members[0])) && typeof o.group_metadata === "string" && typeof o.group_policy_metadata === "string" && typeof o.group_policy_as_admin === "boolean");
|
|
1761
|
-
},
|
|
1762
|
-
encode(message: MsgCreateGroupWithPolicy, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
1763
|
-
if (message.admin !== "") {
|
|
1764
|
-
writer.uint32(10).string(message.admin);
|
|
1765
|
-
}
|
|
1766
|
-
for (const v of message.members) {
|
|
1767
|
-
MemberRequest.encode(v!, writer.uint32(18).fork()).ldelim();
|
|
1768
|
-
}
|
|
1769
|
-
if (message.groupMetadata !== "") {
|
|
1770
|
-
writer.uint32(26).string(message.groupMetadata);
|
|
1771
|
-
}
|
|
1772
|
-
if (message.groupPolicyMetadata !== "") {
|
|
1773
|
-
writer.uint32(34).string(message.groupPolicyMetadata);
|
|
1774
|
-
}
|
|
1775
|
-
if (message.groupPolicyAsAdmin === true) {
|
|
1776
|
-
writer.uint32(40).bool(message.groupPolicyAsAdmin);
|
|
1777
|
-
}
|
|
1778
|
-
if (message.decisionPolicy !== undefined) {
|
|
1779
|
-
Any.encode(GlobalDecoderRegistry.wrapAny(message.decisionPolicy), writer.uint32(50).fork()).ldelim();
|
|
1780
|
-
}
|
|
1781
|
-
return writer;
|
|
1782
|
-
},
|
|
1783
|
-
decode(input: BinaryReader | Uint8Array, length?: number): MsgCreateGroupWithPolicy {
|
|
1784
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1785
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1786
|
-
const message = createBaseMsgCreateGroupWithPolicy();
|
|
1787
|
-
while (reader.pos < end) {
|
|
1788
|
-
const tag = reader.uint32();
|
|
1789
|
-
switch (tag >>> 3) {
|
|
1790
|
-
case 1:
|
|
1791
|
-
message.admin = reader.string();
|
|
1792
|
-
break;
|
|
1793
|
-
case 2:
|
|
1794
|
-
message.members.push(MemberRequest.decode(reader, reader.uint32()));
|
|
1795
|
-
break;
|
|
1796
|
-
case 3:
|
|
1797
|
-
message.groupMetadata = reader.string();
|
|
1798
|
-
break;
|
|
1799
|
-
case 4:
|
|
1800
|
-
message.groupPolicyMetadata = reader.string();
|
|
1801
|
-
break;
|
|
1802
|
-
case 5:
|
|
1803
|
-
message.groupPolicyAsAdmin = reader.bool();
|
|
1804
|
-
break;
|
|
1805
|
-
case 6:
|
|
1806
|
-
message.decisionPolicy = GlobalDecoderRegistry.unwrapAny(reader);
|
|
1807
|
-
break;
|
|
1808
|
-
default:
|
|
1809
|
-
reader.skipType(tag & 7);
|
|
1810
|
-
break;
|
|
1811
|
-
}
|
|
1812
|
-
}
|
|
1813
|
-
return message;
|
|
1814
|
-
},
|
|
1815
|
-
fromPartial(object: DeepPartial<MsgCreateGroupWithPolicy>): MsgCreateGroupWithPolicy {
|
|
1816
|
-
const message = createBaseMsgCreateGroupWithPolicy();
|
|
1817
|
-
message.admin = object.admin ?? "";
|
|
1818
|
-
message.members = object.members?.map(e => MemberRequest.fromPartial(e)) || [];
|
|
1819
|
-
message.groupMetadata = object.groupMetadata ?? "";
|
|
1820
|
-
message.groupPolicyMetadata = object.groupPolicyMetadata ?? "";
|
|
1821
|
-
message.groupPolicyAsAdmin = object.groupPolicyAsAdmin ?? false;
|
|
1822
|
-
message.decisionPolicy = object.decisionPolicy !== undefined && object.decisionPolicy !== null ? GlobalDecoderRegistry.fromPartial(object.decisionPolicy) : undefined;
|
|
1823
|
-
return message;
|
|
1824
|
-
},
|
|
1825
|
-
fromAmino(object: MsgCreateGroupWithPolicyAmino): MsgCreateGroupWithPolicy {
|
|
1826
|
-
const message = createBaseMsgCreateGroupWithPolicy();
|
|
1827
|
-
if (object.admin !== undefined && object.admin !== null) {
|
|
1828
|
-
message.admin = object.admin;
|
|
1829
|
-
}
|
|
1830
|
-
message.members = object.members?.map(e => MemberRequest.fromAmino(e)) || [];
|
|
1831
|
-
if (object.group_metadata !== undefined && object.group_metadata !== null) {
|
|
1832
|
-
message.groupMetadata = object.group_metadata;
|
|
1833
|
-
}
|
|
1834
|
-
if (object.group_policy_metadata !== undefined && object.group_policy_metadata !== null) {
|
|
1835
|
-
message.groupPolicyMetadata = object.group_policy_metadata;
|
|
1836
|
-
}
|
|
1837
|
-
if (object.group_policy_as_admin !== undefined && object.group_policy_as_admin !== null) {
|
|
1838
|
-
message.groupPolicyAsAdmin = object.group_policy_as_admin;
|
|
1839
|
-
}
|
|
1840
|
-
if (object.decision_policy !== undefined && object.decision_policy !== null) {
|
|
1841
|
-
message.decisionPolicy = GlobalDecoderRegistry.fromAminoMsg(object.decision_policy);
|
|
1842
|
-
}
|
|
1843
|
-
return message;
|
|
1844
|
-
},
|
|
1845
|
-
toAmino(message: MsgCreateGroupWithPolicy): MsgCreateGroupWithPolicyAmino {
|
|
1846
|
-
const obj: any = {};
|
|
1847
|
-
obj.admin = message.admin === "" ? undefined : message.admin;
|
|
1848
|
-
if (message.members) {
|
|
1849
|
-
obj.members = message.members.map(e => e ? MemberRequest.toAmino(e) : undefined);
|
|
1850
|
-
} else {
|
|
1851
|
-
obj.members = message.members;
|
|
1852
|
-
}
|
|
1853
|
-
obj.group_metadata = message.groupMetadata === "" ? undefined : message.groupMetadata;
|
|
1854
|
-
obj.group_policy_metadata = message.groupPolicyMetadata === "" ? undefined : message.groupPolicyMetadata;
|
|
1855
|
-
obj.group_policy_as_admin = message.groupPolicyAsAdmin === false ? undefined : message.groupPolicyAsAdmin;
|
|
1856
|
-
obj.decision_policy = message.decisionPolicy ? GlobalDecoderRegistry.toAminoMsg(message.decisionPolicy) : undefined;
|
|
1857
|
-
return obj;
|
|
1858
|
-
},
|
|
1859
|
-
fromAminoMsg(object: MsgCreateGroupWithPolicyAminoMsg): MsgCreateGroupWithPolicy {
|
|
1860
|
-
return MsgCreateGroupWithPolicy.fromAmino(object.value);
|
|
1861
|
-
},
|
|
1862
|
-
toAminoMsg(message: MsgCreateGroupWithPolicy): MsgCreateGroupWithPolicyAminoMsg {
|
|
1863
|
-
return {
|
|
1864
|
-
type: "cosmos-sdk/MsgCreateGroupWithPolicy",
|
|
1865
|
-
value: MsgCreateGroupWithPolicy.toAmino(message)
|
|
1866
|
-
};
|
|
1867
|
-
},
|
|
1868
|
-
fromProtoMsg(message: MsgCreateGroupWithPolicyProtoMsg): MsgCreateGroupWithPolicy {
|
|
1869
|
-
return MsgCreateGroupWithPolicy.decode(message.value);
|
|
1870
|
-
},
|
|
1871
|
-
toProto(message: MsgCreateGroupWithPolicy): Uint8Array {
|
|
1872
|
-
return MsgCreateGroupWithPolicy.encode(message).finish();
|
|
1873
|
-
},
|
|
1874
|
-
toProtoMsg(message: MsgCreateGroupWithPolicy): MsgCreateGroupWithPolicyProtoMsg {
|
|
1875
|
-
return {
|
|
1876
|
-
typeUrl: "/cosmos.group.v1.MsgCreateGroupWithPolicy",
|
|
1877
|
-
value: MsgCreateGroupWithPolicy.encode(message).finish()
|
|
1878
|
-
};
|
|
1879
|
-
}
|
|
1880
|
-
};
|
|
1881
|
-
GlobalDecoderRegistry.register(MsgCreateGroupWithPolicy.typeUrl, MsgCreateGroupWithPolicy);
|
|
1882
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(MsgCreateGroupWithPolicy.aminoType, MsgCreateGroupWithPolicy.typeUrl);
|
|
1883
|
-
function createBaseMsgCreateGroupWithPolicyResponse(): MsgCreateGroupWithPolicyResponse {
|
|
1884
|
-
return {
|
|
1885
|
-
groupId: BigInt(0),
|
|
1886
|
-
groupPolicyAddress: ""
|
|
1887
|
-
};
|
|
1888
|
-
}
|
|
1889
|
-
export const MsgCreateGroupWithPolicyResponse = {
|
|
1890
|
-
typeUrl: "/cosmos.group.v1.MsgCreateGroupWithPolicyResponse",
|
|
1891
|
-
aminoType: "cosmos-sdk/MsgCreateGroupWithPolicyResponse",
|
|
1892
|
-
is(o: any): o is MsgCreateGroupWithPolicyResponse {
|
|
1893
|
-
return o && (o.$typeUrl === MsgCreateGroupWithPolicyResponse.typeUrl || typeof o.groupId === "bigint" && typeof o.groupPolicyAddress === "string");
|
|
1894
|
-
},
|
|
1895
|
-
isAmino(o: any): o is MsgCreateGroupWithPolicyResponseAmino {
|
|
1896
|
-
return o && (o.$typeUrl === MsgCreateGroupWithPolicyResponse.typeUrl || typeof o.group_id === "bigint" && typeof o.group_policy_address === "string");
|
|
1897
|
-
},
|
|
1898
|
-
encode(message: MsgCreateGroupWithPolicyResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
1899
|
-
if (message.groupId !== BigInt(0)) {
|
|
1900
|
-
writer.uint32(8).uint64(message.groupId);
|
|
1901
|
-
}
|
|
1902
|
-
if (message.groupPolicyAddress !== "") {
|
|
1903
|
-
writer.uint32(18).string(message.groupPolicyAddress);
|
|
1904
|
-
}
|
|
1905
|
-
return writer;
|
|
1906
|
-
},
|
|
1907
|
-
decode(input: BinaryReader | Uint8Array, length?: number): MsgCreateGroupWithPolicyResponse {
|
|
1908
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1909
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1910
|
-
const message = createBaseMsgCreateGroupWithPolicyResponse();
|
|
1911
|
-
while (reader.pos < end) {
|
|
1912
|
-
const tag = reader.uint32();
|
|
1913
|
-
switch (tag >>> 3) {
|
|
1914
|
-
case 1:
|
|
1915
|
-
message.groupId = reader.uint64();
|
|
1916
|
-
break;
|
|
1917
|
-
case 2:
|
|
1918
|
-
message.groupPolicyAddress = reader.string();
|
|
1919
|
-
break;
|
|
1920
|
-
default:
|
|
1921
|
-
reader.skipType(tag & 7);
|
|
1922
|
-
break;
|
|
1923
|
-
}
|
|
1924
|
-
}
|
|
1925
|
-
return message;
|
|
1926
|
-
},
|
|
1927
|
-
fromPartial(object: DeepPartial<MsgCreateGroupWithPolicyResponse>): MsgCreateGroupWithPolicyResponse {
|
|
1928
|
-
const message = createBaseMsgCreateGroupWithPolicyResponse();
|
|
1929
|
-
message.groupId = object.groupId !== undefined && object.groupId !== null ? BigInt(object.groupId.toString()) : BigInt(0);
|
|
1930
|
-
message.groupPolicyAddress = object.groupPolicyAddress ?? "";
|
|
1931
|
-
return message;
|
|
1932
|
-
},
|
|
1933
|
-
fromAmino(object: MsgCreateGroupWithPolicyResponseAmino): MsgCreateGroupWithPolicyResponse {
|
|
1934
|
-
const message = createBaseMsgCreateGroupWithPolicyResponse();
|
|
1935
|
-
if (object.group_id !== undefined && object.group_id !== null) {
|
|
1936
|
-
message.groupId = BigInt(object.group_id);
|
|
1937
|
-
}
|
|
1938
|
-
if (object.group_policy_address !== undefined && object.group_policy_address !== null) {
|
|
1939
|
-
message.groupPolicyAddress = object.group_policy_address;
|
|
1940
|
-
}
|
|
1941
|
-
return message;
|
|
1942
|
-
},
|
|
1943
|
-
toAmino(message: MsgCreateGroupWithPolicyResponse): MsgCreateGroupWithPolicyResponseAmino {
|
|
1944
|
-
const obj: any = {};
|
|
1945
|
-
obj.group_id = message.groupId !== BigInt(0) ? message.groupId?.toString() : undefined;
|
|
1946
|
-
obj.group_policy_address = message.groupPolicyAddress === "" ? undefined : message.groupPolicyAddress;
|
|
1947
|
-
return obj;
|
|
1948
|
-
},
|
|
1949
|
-
fromAminoMsg(object: MsgCreateGroupWithPolicyResponseAminoMsg): MsgCreateGroupWithPolicyResponse {
|
|
1950
|
-
return MsgCreateGroupWithPolicyResponse.fromAmino(object.value);
|
|
1951
|
-
},
|
|
1952
|
-
toAminoMsg(message: MsgCreateGroupWithPolicyResponse): MsgCreateGroupWithPolicyResponseAminoMsg {
|
|
1953
|
-
return {
|
|
1954
|
-
type: "cosmos-sdk/MsgCreateGroupWithPolicyResponse",
|
|
1955
|
-
value: MsgCreateGroupWithPolicyResponse.toAmino(message)
|
|
1956
|
-
};
|
|
1957
|
-
},
|
|
1958
|
-
fromProtoMsg(message: MsgCreateGroupWithPolicyResponseProtoMsg): MsgCreateGroupWithPolicyResponse {
|
|
1959
|
-
return MsgCreateGroupWithPolicyResponse.decode(message.value);
|
|
1960
|
-
},
|
|
1961
|
-
toProto(message: MsgCreateGroupWithPolicyResponse): Uint8Array {
|
|
1962
|
-
return MsgCreateGroupWithPolicyResponse.encode(message).finish();
|
|
1963
|
-
},
|
|
1964
|
-
toProtoMsg(message: MsgCreateGroupWithPolicyResponse): MsgCreateGroupWithPolicyResponseProtoMsg {
|
|
1965
|
-
return {
|
|
1966
|
-
typeUrl: "/cosmos.group.v1.MsgCreateGroupWithPolicyResponse",
|
|
1967
|
-
value: MsgCreateGroupWithPolicyResponse.encode(message).finish()
|
|
1968
|
-
};
|
|
1969
|
-
}
|
|
1970
|
-
};
|
|
1971
|
-
GlobalDecoderRegistry.register(MsgCreateGroupWithPolicyResponse.typeUrl, MsgCreateGroupWithPolicyResponse);
|
|
1972
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(MsgCreateGroupWithPolicyResponse.aminoType, MsgCreateGroupWithPolicyResponse.typeUrl);
|
|
1973
|
-
function createBaseMsgUpdateGroupPolicyDecisionPolicy(): MsgUpdateGroupPolicyDecisionPolicy {
|
|
1974
|
-
return {
|
|
1975
|
-
admin: "",
|
|
1976
|
-
groupPolicyAddress: "",
|
|
1977
|
-
decisionPolicy: undefined
|
|
1978
|
-
};
|
|
1979
|
-
}
|
|
1980
|
-
export const MsgUpdateGroupPolicyDecisionPolicy = {
|
|
1981
|
-
typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyDecisionPolicy",
|
|
1982
|
-
aminoType: "cosmos-sdk/MsgUpdateGroupDecisionPolicy",
|
|
1983
|
-
is(o: any): o is MsgUpdateGroupPolicyDecisionPolicy {
|
|
1984
|
-
return o && (o.$typeUrl === MsgUpdateGroupPolicyDecisionPolicy.typeUrl || typeof o.admin === "string" && typeof o.groupPolicyAddress === "string");
|
|
1985
|
-
},
|
|
1986
|
-
isAmino(o: any): o is MsgUpdateGroupPolicyDecisionPolicyAmino {
|
|
1987
|
-
return o && (o.$typeUrl === MsgUpdateGroupPolicyDecisionPolicy.typeUrl || typeof o.admin === "string" && typeof o.group_policy_address === "string");
|
|
1988
|
-
},
|
|
1989
|
-
encode(message: MsgUpdateGroupPolicyDecisionPolicy, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
1990
|
-
if (message.admin !== "") {
|
|
1991
|
-
writer.uint32(10).string(message.admin);
|
|
1992
|
-
}
|
|
1993
|
-
if (message.groupPolicyAddress !== "") {
|
|
1994
|
-
writer.uint32(18).string(message.groupPolicyAddress);
|
|
1995
|
-
}
|
|
1996
|
-
if (message.decisionPolicy !== undefined) {
|
|
1997
|
-
Any.encode(GlobalDecoderRegistry.wrapAny(message.decisionPolicy), writer.uint32(26).fork()).ldelim();
|
|
1998
|
-
}
|
|
1999
|
-
return writer;
|
|
2000
|
-
},
|
|
2001
|
-
decode(input: BinaryReader | Uint8Array, length?: number): MsgUpdateGroupPolicyDecisionPolicy {
|
|
2002
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
2003
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2004
|
-
const message = createBaseMsgUpdateGroupPolicyDecisionPolicy();
|
|
2005
|
-
while (reader.pos < end) {
|
|
2006
|
-
const tag = reader.uint32();
|
|
2007
|
-
switch (tag >>> 3) {
|
|
2008
|
-
case 1:
|
|
2009
|
-
message.admin = reader.string();
|
|
2010
|
-
break;
|
|
2011
|
-
case 2:
|
|
2012
|
-
message.groupPolicyAddress = reader.string();
|
|
2013
|
-
break;
|
|
2014
|
-
case 3:
|
|
2015
|
-
message.decisionPolicy = GlobalDecoderRegistry.unwrapAny(reader);
|
|
2016
|
-
break;
|
|
2017
|
-
default:
|
|
2018
|
-
reader.skipType(tag & 7);
|
|
2019
|
-
break;
|
|
2020
|
-
}
|
|
2021
|
-
}
|
|
2022
|
-
return message;
|
|
2023
|
-
},
|
|
2024
|
-
fromPartial(object: DeepPartial<MsgUpdateGroupPolicyDecisionPolicy>): MsgUpdateGroupPolicyDecisionPolicy {
|
|
2025
|
-
const message = createBaseMsgUpdateGroupPolicyDecisionPolicy();
|
|
2026
|
-
message.admin = object.admin ?? "";
|
|
2027
|
-
message.groupPolicyAddress = object.groupPolicyAddress ?? "";
|
|
2028
|
-
message.decisionPolicy = object.decisionPolicy !== undefined && object.decisionPolicy !== null ? GlobalDecoderRegistry.fromPartial(object.decisionPolicy) : undefined;
|
|
2029
|
-
return message;
|
|
2030
|
-
},
|
|
2031
|
-
fromAmino(object: MsgUpdateGroupPolicyDecisionPolicyAmino): MsgUpdateGroupPolicyDecisionPolicy {
|
|
2032
|
-
const message = createBaseMsgUpdateGroupPolicyDecisionPolicy();
|
|
2033
|
-
if (object.admin !== undefined && object.admin !== null) {
|
|
2034
|
-
message.admin = object.admin;
|
|
2035
|
-
}
|
|
2036
|
-
if (object.group_policy_address !== undefined && object.group_policy_address !== null) {
|
|
2037
|
-
message.groupPolicyAddress = object.group_policy_address;
|
|
2038
|
-
}
|
|
2039
|
-
if (object.decision_policy !== undefined && object.decision_policy !== null) {
|
|
2040
|
-
message.decisionPolicy = GlobalDecoderRegistry.fromAminoMsg(object.decision_policy);
|
|
2041
|
-
}
|
|
2042
|
-
return message;
|
|
2043
|
-
},
|
|
2044
|
-
toAmino(message: MsgUpdateGroupPolicyDecisionPolicy): MsgUpdateGroupPolicyDecisionPolicyAmino {
|
|
2045
|
-
const obj: any = {};
|
|
2046
|
-
obj.admin = message.admin === "" ? undefined : message.admin;
|
|
2047
|
-
obj.group_policy_address = message.groupPolicyAddress === "" ? undefined : message.groupPolicyAddress;
|
|
2048
|
-
obj.decision_policy = message.decisionPolicy ? GlobalDecoderRegistry.toAminoMsg(message.decisionPolicy) : undefined;
|
|
2049
|
-
return obj;
|
|
2050
|
-
},
|
|
2051
|
-
fromAminoMsg(object: MsgUpdateGroupPolicyDecisionPolicyAminoMsg): MsgUpdateGroupPolicyDecisionPolicy {
|
|
2052
|
-
return MsgUpdateGroupPolicyDecisionPolicy.fromAmino(object.value);
|
|
2053
|
-
},
|
|
2054
|
-
toAminoMsg(message: MsgUpdateGroupPolicyDecisionPolicy): MsgUpdateGroupPolicyDecisionPolicyAminoMsg {
|
|
2055
|
-
return {
|
|
2056
|
-
type: "cosmos-sdk/MsgUpdateGroupDecisionPolicy",
|
|
2057
|
-
value: MsgUpdateGroupPolicyDecisionPolicy.toAmino(message)
|
|
2058
|
-
};
|
|
2059
|
-
},
|
|
2060
|
-
fromProtoMsg(message: MsgUpdateGroupPolicyDecisionPolicyProtoMsg): MsgUpdateGroupPolicyDecisionPolicy {
|
|
2061
|
-
return MsgUpdateGroupPolicyDecisionPolicy.decode(message.value);
|
|
2062
|
-
},
|
|
2063
|
-
toProto(message: MsgUpdateGroupPolicyDecisionPolicy): Uint8Array {
|
|
2064
|
-
return MsgUpdateGroupPolicyDecisionPolicy.encode(message).finish();
|
|
2065
|
-
},
|
|
2066
|
-
toProtoMsg(message: MsgUpdateGroupPolicyDecisionPolicy): MsgUpdateGroupPolicyDecisionPolicyProtoMsg {
|
|
2067
|
-
return {
|
|
2068
|
-
typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyDecisionPolicy",
|
|
2069
|
-
value: MsgUpdateGroupPolicyDecisionPolicy.encode(message).finish()
|
|
2070
|
-
};
|
|
2071
|
-
}
|
|
2072
|
-
};
|
|
2073
|
-
GlobalDecoderRegistry.register(MsgUpdateGroupPolicyDecisionPolicy.typeUrl, MsgUpdateGroupPolicyDecisionPolicy);
|
|
2074
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(MsgUpdateGroupPolicyDecisionPolicy.aminoType, MsgUpdateGroupPolicyDecisionPolicy.typeUrl);
|
|
2075
|
-
function createBaseMsgUpdateGroupPolicyDecisionPolicyResponse(): MsgUpdateGroupPolicyDecisionPolicyResponse {
|
|
2076
|
-
return {};
|
|
2077
|
-
}
|
|
2078
|
-
export const MsgUpdateGroupPolicyDecisionPolicyResponse = {
|
|
2079
|
-
typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyDecisionPolicyResponse",
|
|
2080
|
-
aminoType: "cosmos-sdk/MsgUpdateGroupPolicyDecisionPolicyResponse",
|
|
2081
|
-
is(o: any): o is MsgUpdateGroupPolicyDecisionPolicyResponse {
|
|
2082
|
-
return o && o.$typeUrl === MsgUpdateGroupPolicyDecisionPolicyResponse.typeUrl;
|
|
2083
|
-
},
|
|
2084
|
-
isAmino(o: any): o is MsgUpdateGroupPolicyDecisionPolicyResponseAmino {
|
|
2085
|
-
return o && o.$typeUrl === MsgUpdateGroupPolicyDecisionPolicyResponse.typeUrl;
|
|
2086
|
-
},
|
|
2087
|
-
encode(_: MsgUpdateGroupPolicyDecisionPolicyResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
2088
|
-
return writer;
|
|
2089
|
-
},
|
|
2090
|
-
decode(input: BinaryReader | Uint8Array, length?: number): MsgUpdateGroupPolicyDecisionPolicyResponse {
|
|
2091
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
2092
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2093
|
-
const message = createBaseMsgUpdateGroupPolicyDecisionPolicyResponse();
|
|
2094
|
-
while (reader.pos < end) {
|
|
2095
|
-
const tag = reader.uint32();
|
|
2096
|
-
switch (tag >>> 3) {
|
|
2097
|
-
default:
|
|
2098
|
-
reader.skipType(tag & 7);
|
|
2099
|
-
break;
|
|
2100
|
-
}
|
|
2101
|
-
}
|
|
2102
|
-
return message;
|
|
2103
|
-
},
|
|
2104
|
-
fromPartial(_: DeepPartial<MsgUpdateGroupPolicyDecisionPolicyResponse>): MsgUpdateGroupPolicyDecisionPolicyResponse {
|
|
2105
|
-
const message = createBaseMsgUpdateGroupPolicyDecisionPolicyResponse();
|
|
2106
|
-
return message;
|
|
2107
|
-
},
|
|
2108
|
-
fromAmino(_: MsgUpdateGroupPolicyDecisionPolicyResponseAmino): MsgUpdateGroupPolicyDecisionPolicyResponse {
|
|
2109
|
-
const message = createBaseMsgUpdateGroupPolicyDecisionPolicyResponse();
|
|
2110
|
-
return message;
|
|
2111
|
-
},
|
|
2112
|
-
toAmino(_: MsgUpdateGroupPolicyDecisionPolicyResponse): MsgUpdateGroupPolicyDecisionPolicyResponseAmino {
|
|
2113
|
-
const obj: any = {};
|
|
2114
|
-
return obj;
|
|
2115
|
-
},
|
|
2116
|
-
fromAminoMsg(object: MsgUpdateGroupPolicyDecisionPolicyResponseAminoMsg): MsgUpdateGroupPolicyDecisionPolicyResponse {
|
|
2117
|
-
return MsgUpdateGroupPolicyDecisionPolicyResponse.fromAmino(object.value);
|
|
2118
|
-
},
|
|
2119
|
-
toAminoMsg(message: MsgUpdateGroupPolicyDecisionPolicyResponse): MsgUpdateGroupPolicyDecisionPolicyResponseAminoMsg {
|
|
2120
|
-
return {
|
|
2121
|
-
type: "cosmos-sdk/MsgUpdateGroupPolicyDecisionPolicyResponse",
|
|
2122
|
-
value: MsgUpdateGroupPolicyDecisionPolicyResponse.toAmino(message)
|
|
2123
|
-
};
|
|
2124
|
-
},
|
|
2125
|
-
fromProtoMsg(message: MsgUpdateGroupPolicyDecisionPolicyResponseProtoMsg): MsgUpdateGroupPolicyDecisionPolicyResponse {
|
|
2126
|
-
return MsgUpdateGroupPolicyDecisionPolicyResponse.decode(message.value);
|
|
2127
|
-
},
|
|
2128
|
-
toProto(message: MsgUpdateGroupPolicyDecisionPolicyResponse): Uint8Array {
|
|
2129
|
-
return MsgUpdateGroupPolicyDecisionPolicyResponse.encode(message).finish();
|
|
2130
|
-
},
|
|
2131
|
-
toProtoMsg(message: MsgUpdateGroupPolicyDecisionPolicyResponse): MsgUpdateGroupPolicyDecisionPolicyResponseProtoMsg {
|
|
2132
|
-
return {
|
|
2133
|
-
typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyDecisionPolicyResponse",
|
|
2134
|
-
value: MsgUpdateGroupPolicyDecisionPolicyResponse.encode(message).finish()
|
|
2135
|
-
};
|
|
2136
|
-
}
|
|
2137
|
-
};
|
|
2138
|
-
GlobalDecoderRegistry.register(MsgUpdateGroupPolicyDecisionPolicyResponse.typeUrl, MsgUpdateGroupPolicyDecisionPolicyResponse);
|
|
2139
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(MsgUpdateGroupPolicyDecisionPolicyResponse.aminoType, MsgUpdateGroupPolicyDecisionPolicyResponse.typeUrl);
|
|
2140
|
-
function createBaseMsgUpdateGroupPolicyMetadata(): MsgUpdateGroupPolicyMetadata {
|
|
2141
|
-
return {
|
|
2142
|
-
admin: "",
|
|
2143
|
-
groupPolicyAddress: "",
|
|
2144
|
-
metadata: ""
|
|
2145
|
-
};
|
|
2146
|
-
}
|
|
2147
|
-
export const MsgUpdateGroupPolicyMetadata = {
|
|
2148
|
-
typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyMetadata",
|
|
2149
|
-
aminoType: "cosmos-sdk/MsgUpdateGroupPolicyMetadata",
|
|
2150
|
-
is(o: any): o is MsgUpdateGroupPolicyMetadata {
|
|
2151
|
-
return o && (o.$typeUrl === MsgUpdateGroupPolicyMetadata.typeUrl || typeof o.admin === "string" && typeof o.groupPolicyAddress === "string" && typeof o.metadata === "string");
|
|
2152
|
-
},
|
|
2153
|
-
isAmino(o: any): o is MsgUpdateGroupPolicyMetadataAmino {
|
|
2154
|
-
return o && (o.$typeUrl === MsgUpdateGroupPolicyMetadata.typeUrl || typeof o.admin === "string" && typeof o.group_policy_address === "string" && typeof o.metadata === "string");
|
|
2155
|
-
},
|
|
2156
|
-
encode(message: MsgUpdateGroupPolicyMetadata, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
2157
|
-
if (message.admin !== "") {
|
|
2158
|
-
writer.uint32(10).string(message.admin);
|
|
2159
|
-
}
|
|
2160
|
-
if (message.groupPolicyAddress !== "") {
|
|
2161
|
-
writer.uint32(18).string(message.groupPolicyAddress);
|
|
2162
|
-
}
|
|
2163
|
-
if (message.metadata !== "") {
|
|
2164
|
-
writer.uint32(26).string(message.metadata);
|
|
2165
|
-
}
|
|
2166
|
-
return writer;
|
|
2167
|
-
},
|
|
2168
|
-
decode(input: BinaryReader | Uint8Array, length?: number): MsgUpdateGroupPolicyMetadata {
|
|
2169
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
2170
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2171
|
-
const message = createBaseMsgUpdateGroupPolicyMetadata();
|
|
2172
|
-
while (reader.pos < end) {
|
|
2173
|
-
const tag = reader.uint32();
|
|
2174
|
-
switch (tag >>> 3) {
|
|
2175
|
-
case 1:
|
|
2176
|
-
message.admin = reader.string();
|
|
2177
|
-
break;
|
|
2178
|
-
case 2:
|
|
2179
|
-
message.groupPolicyAddress = reader.string();
|
|
2180
|
-
break;
|
|
2181
|
-
case 3:
|
|
2182
|
-
message.metadata = reader.string();
|
|
2183
|
-
break;
|
|
2184
|
-
default:
|
|
2185
|
-
reader.skipType(tag & 7);
|
|
2186
|
-
break;
|
|
2187
|
-
}
|
|
2188
|
-
}
|
|
2189
|
-
return message;
|
|
2190
|
-
},
|
|
2191
|
-
fromPartial(object: DeepPartial<MsgUpdateGroupPolicyMetadata>): MsgUpdateGroupPolicyMetadata {
|
|
2192
|
-
const message = createBaseMsgUpdateGroupPolicyMetadata();
|
|
2193
|
-
message.admin = object.admin ?? "";
|
|
2194
|
-
message.groupPolicyAddress = object.groupPolicyAddress ?? "";
|
|
2195
|
-
message.metadata = object.metadata ?? "";
|
|
2196
|
-
return message;
|
|
2197
|
-
},
|
|
2198
|
-
fromAmino(object: MsgUpdateGroupPolicyMetadataAmino): MsgUpdateGroupPolicyMetadata {
|
|
2199
|
-
const message = createBaseMsgUpdateGroupPolicyMetadata();
|
|
2200
|
-
if (object.admin !== undefined && object.admin !== null) {
|
|
2201
|
-
message.admin = object.admin;
|
|
2202
|
-
}
|
|
2203
|
-
if (object.group_policy_address !== undefined && object.group_policy_address !== null) {
|
|
2204
|
-
message.groupPolicyAddress = object.group_policy_address;
|
|
2205
|
-
}
|
|
2206
|
-
if (object.metadata !== undefined && object.metadata !== null) {
|
|
2207
|
-
message.metadata = object.metadata;
|
|
2208
|
-
}
|
|
2209
|
-
return message;
|
|
2210
|
-
},
|
|
2211
|
-
toAmino(message: MsgUpdateGroupPolicyMetadata): MsgUpdateGroupPolicyMetadataAmino {
|
|
2212
|
-
const obj: any = {};
|
|
2213
|
-
obj.admin = message.admin === "" ? undefined : message.admin;
|
|
2214
|
-
obj.group_policy_address = message.groupPolicyAddress === "" ? undefined : message.groupPolicyAddress;
|
|
2215
|
-
obj.metadata = message.metadata === "" ? undefined : message.metadata;
|
|
2216
|
-
return obj;
|
|
2217
|
-
},
|
|
2218
|
-
fromAminoMsg(object: MsgUpdateGroupPolicyMetadataAminoMsg): MsgUpdateGroupPolicyMetadata {
|
|
2219
|
-
return MsgUpdateGroupPolicyMetadata.fromAmino(object.value);
|
|
2220
|
-
},
|
|
2221
|
-
toAminoMsg(message: MsgUpdateGroupPolicyMetadata): MsgUpdateGroupPolicyMetadataAminoMsg {
|
|
2222
|
-
return {
|
|
2223
|
-
type: "cosmos-sdk/MsgUpdateGroupPolicyMetadata",
|
|
2224
|
-
value: MsgUpdateGroupPolicyMetadata.toAmino(message)
|
|
2225
|
-
};
|
|
2226
|
-
},
|
|
2227
|
-
fromProtoMsg(message: MsgUpdateGroupPolicyMetadataProtoMsg): MsgUpdateGroupPolicyMetadata {
|
|
2228
|
-
return MsgUpdateGroupPolicyMetadata.decode(message.value);
|
|
2229
|
-
},
|
|
2230
|
-
toProto(message: MsgUpdateGroupPolicyMetadata): Uint8Array {
|
|
2231
|
-
return MsgUpdateGroupPolicyMetadata.encode(message).finish();
|
|
2232
|
-
},
|
|
2233
|
-
toProtoMsg(message: MsgUpdateGroupPolicyMetadata): MsgUpdateGroupPolicyMetadataProtoMsg {
|
|
2234
|
-
return {
|
|
2235
|
-
typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyMetadata",
|
|
2236
|
-
value: MsgUpdateGroupPolicyMetadata.encode(message).finish()
|
|
2237
|
-
};
|
|
2238
|
-
}
|
|
2239
|
-
};
|
|
2240
|
-
GlobalDecoderRegistry.register(MsgUpdateGroupPolicyMetadata.typeUrl, MsgUpdateGroupPolicyMetadata);
|
|
2241
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(MsgUpdateGroupPolicyMetadata.aminoType, MsgUpdateGroupPolicyMetadata.typeUrl);
|
|
2242
|
-
function createBaseMsgUpdateGroupPolicyMetadataResponse(): MsgUpdateGroupPolicyMetadataResponse {
|
|
2243
|
-
return {};
|
|
2244
|
-
}
|
|
2245
|
-
export const MsgUpdateGroupPolicyMetadataResponse = {
|
|
2246
|
-
typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyMetadataResponse",
|
|
2247
|
-
aminoType: "cosmos-sdk/MsgUpdateGroupPolicyMetadataResponse",
|
|
2248
|
-
is(o: any): o is MsgUpdateGroupPolicyMetadataResponse {
|
|
2249
|
-
return o && o.$typeUrl === MsgUpdateGroupPolicyMetadataResponse.typeUrl;
|
|
2250
|
-
},
|
|
2251
|
-
isAmino(o: any): o is MsgUpdateGroupPolicyMetadataResponseAmino {
|
|
2252
|
-
return o && o.$typeUrl === MsgUpdateGroupPolicyMetadataResponse.typeUrl;
|
|
2253
|
-
},
|
|
2254
|
-
encode(_: MsgUpdateGroupPolicyMetadataResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
2255
|
-
return writer;
|
|
2256
|
-
},
|
|
2257
|
-
decode(input: BinaryReader | Uint8Array, length?: number): MsgUpdateGroupPolicyMetadataResponse {
|
|
2258
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
2259
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2260
|
-
const message = createBaseMsgUpdateGroupPolicyMetadataResponse();
|
|
2261
|
-
while (reader.pos < end) {
|
|
2262
|
-
const tag = reader.uint32();
|
|
2263
|
-
switch (tag >>> 3) {
|
|
2264
|
-
default:
|
|
2265
|
-
reader.skipType(tag & 7);
|
|
2266
|
-
break;
|
|
2267
|
-
}
|
|
2268
|
-
}
|
|
2269
|
-
return message;
|
|
2270
|
-
},
|
|
2271
|
-
fromPartial(_: DeepPartial<MsgUpdateGroupPolicyMetadataResponse>): MsgUpdateGroupPolicyMetadataResponse {
|
|
2272
|
-
const message = createBaseMsgUpdateGroupPolicyMetadataResponse();
|
|
2273
|
-
return message;
|
|
2274
|
-
},
|
|
2275
|
-
fromAmino(_: MsgUpdateGroupPolicyMetadataResponseAmino): MsgUpdateGroupPolicyMetadataResponse {
|
|
2276
|
-
const message = createBaseMsgUpdateGroupPolicyMetadataResponse();
|
|
2277
|
-
return message;
|
|
2278
|
-
},
|
|
2279
|
-
toAmino(_: MsgUpdateGroupPolicyMetadataResponse): MsgUpdateGroupPolicyMetadataResponseAmino {
|
|
2280
|
-
const obj: any = {};
|
|
2281
|
-
return obj;
|
|
2282
|
-
},
|
|
2283
|
-
fromAminoMsg(object: MsgUpdateGroupPolicyMetadataResponseAminoMsg): MsgUpdateGroupPolicyMetadataResponse {
|
|
2284
|
-
return MsgUpdateGroupPolicyMetadataResponse.fromAmino(object.value);
|
|
2285
|
-
},
|
|
2286
|
-
toAminoMsg(message: MsgUpdateGroupPolicyMetadataResponse): MsgUpdateGroupPolicyMetadataResponseAminoMsg {
|
|
2287
|
-
return {
|
|
2288
|
-
type: "cosmos-sdk/MsgUpdateGroupPolicyMetadataResponse",
|
|
2289
|
-
value: MsgUpdateGroupPolicyMetadataResponse.toAmino(message)
|
|
2290
|
-
};
|
|
2291
|
-
},
|
|
2292
|
-
fromProtoMsg(message: MsgUpdateGroupPolicyMetadataResponseProtoMsg): MsgUpdateGroupPolicyMetadataResponse {
|
|
2293
|
-
return MsgUpdateGroupPolicyMetadataResponse.decode(message.value);
|
|
2294
|
-
},
|
|
2295
|
-
toProto(message: MsgUpdateGroupPolicyMetadataResponse): Uint8Array {
|
|
2296
|
-
return MsgUpdateGroupPolicyMetadataResponse.encode(message).finish();
|
|
2297
|
-
},
|
|
2298
|
-
toProtoMsg(message: MsgUpdateGroupPolicyMetadataResponse): MsgUpdateGroupPolicyMetadataResponseProtoMsg {
|
|
2299
|
-
return {
|
|
2300
|
-
typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyMetadataResponse",
|
|
2301
|
-
value: MsgUpdateGroupPolicyMetadataResponse.encode(message).finish()
|
|
2302
|
-
};
|
|
2303
|
-
}
|
|
2304
|
-
};
|
|
2305
|
-
GlobalDecoderRegistry.register(MsgUpdateGroupPolicyMetadataResponse.typeUrl, MsgUpdateGroupPolicyMetadataResponse);
|
|
2306
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(MsgUpdateGroupPolicyMetadataResponse.aminoType, MsgUpdateGroupPolicyMetadataResponse.typeUrl);
|
|
2307
|
-
function createBaseMsgSubmitProposal(): MsgSubmitProposal {
|
|
2308
|
-
return {
|
|
2309
|
-
groupPolicyAddress: "",
|
|
2310
|
-
proposers: [],
|
|
2311
|
-
metadata: "",
|
|
2312
|
-
messages: [],
|
|
2313
|
-
exec: 0,
|
|
2314
|
-
title: "",
|
|
2315
|
-
summary: ""
|
|
2316
|
-
};
|
|
2317
|
-
}
|
|
2318
|
-
export const MsgSubmitProposal = {
|
|
2319
|
-
typeUrl: "/cosmos.group.v1.MsgSubmitProposal",
|
|
2320
|
-
aminoType: "cosmos-sdk/group/MsgSubmitProposal",
|
|
2321
|
-
is(o: any): o is MsgSubmitProposal {
|
|
2322
|
-
return o && (o.$typeUrl === MsgSubmitProposal.typeUrl || typeof o.groupPolicyAddress === "string" && Array.isArray(o.proposers) && (!o.proposers.length || typeof o.proposers[0] === "string") && typeof o.metadata === "string" && Array.isArray(o.messages) && (!o.messages.length || Any.is(o.messages[0])) && isSet(o.exec) && typeof o.title === "string" && typeof o.summary === "string");
|
|
2323
|
-
},
|
|
2324
|
-
isAmino(o: any): o is MsgSubmitProposalAmino {
|
|
2325
|
-
return o && (o.$typeUrl === MsgSubmitProposal.typeUrl || typeof o.group_policy_address === "string" && Array.isArray(o.proposers) && (!o.proposers.length || typeof o.proposers[0] === "string") && typeof o.metadata === "string" && Array.isArray(o.messages) && (!o.messages.length || Any.isAmino(o.messages[0])) && isSet(o.exec) && typeof o.title === "string" && typeof o.summary === "string");
|
|
2326
|
-
},
|
|
2327
|
-
encode(message: MsgSubmitProposal, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
2328
|
-
if (message.groupPolicyAddress !== "") {
|
|
2329
|
-
writer.uint32(10).string(message.groupPolicyAddress);
|
|
2330
|
-
}
|
|
2331
|
-
for (const v of message.proposers) {
|
|
2332
|
-
writer.uint32(18).string(v!);
|
|
2333
|
-
}
|
|
2334
|
-
if (message.metadata !== "") {
|
|
2335
|
-
writer.uint32(26).string(message.metadata);
|
|
2336
|
-
}
|
|
2337
|
-
for (const v of message.messages) {
|
|
2338
|
-
Any.encode(v!, writer.uint32(34).fork()).ldelim();
|
|
2339
|
-
}
|
|
2340
|
-
if (message.exec !== 0) {
|
|
2341
|
-
writer.uint32(40).int32(message.exec);
|
|
2342
|
-
}
|
|
2343
|
-
if (message.title !== "") {
|
|
2344
|
-
writer.uint32(50).string(message.title);
|
|
2345
|
-
}
|
|
2346
|
-
if (message.summary !== "") {
|
|
2347
|
-
writer.uint32(58).string(message.summary);
|
|
2348
|
-
}
|
|
2349
|
-
return writer;
|
|
2350
|
-
},
|
|
2351
|
-
decode(input: BinaryReader | Uint8Array, length?: number): MsgSubmitProposal {
|
|
2352
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
2353
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2354
|
-
const message = createBaseMsgSubmitProposal();
|
|
2355
|
-
while (reader.pos < end) {
|
|
2356
|
-
const tag = reader.uint32();
|
|
2357
|
-
switch (tag >>> 3) {
|
|
2358
|
-
case 1:
|
|
2359
|
-
message.groupPolicyAddress = reader.string();
|
|
2360
|
-
break;
|
|
2361
|
-
case 2:
|
|
2362
|
-
message.proposers.push(reader.string());
|
|
2363
|
-
break;
|
|
2364
|
-
case 3:
|
|
2365
|
-
message.metadata = reader.string();
|
|
2366
|
-
break;
|
|
2367
|
-
case 4:
|
|
2368
|
-
message.messages.push(Any.decode(reader, reader.uint32()));
|
|
2369
|
-
break;
|
|
2370
|
-
case 5:
|
|
2371
|
-
message.exec = reader.int32() as any;
|
|
2372
|
-
break;
|
|
2373
|
-
case 6:
|
|
2374
|
-
message.title = reader.string();
|
|
2375
|
-
break;
|
|
2376
|
-
case 7:
|
|
2377
|
-
message.summary = reader.string();
|
|
2378
|
-
break;
|
|
2379
|
-
default:
|
|
2380
|
-
reader.skipType(tag & 7);
|
|
2381
|
-
break;
|
|
2382
|
-
}
|
|
2383
|
-
}
|
|
2384
|
-
return message;
|
|
2385
|
-
},
|
|
2386
|
-
fromPartial(object: DeepPartial<MsgSubmitProposal>): MsgSubmitProposal {
|
|
2387
|
-
const message = createBaseMsgSubmitProposal();
|
|
2388
|
-
message.groupPolicyAddress = object.groupPolicyAddress ?? "";
|
|
2389
|
-
message.proposers = object.proposers?.map(e => e) || [];
|
|
2390
|
-
message.metadata = object.metadata ?? "";
|
|
2391
|
-
message.messages = object.messages?.map(e => Any.fromPartial(e)) || [];
|
|
2392
|
-
message.exec = object.exec ?? 0;
|
|
2393
|
-
message.title = object.title ?? "";
|
|
2394
|
-
message.summary = object.summary ?? "";
|
|
2395
|
-
return message;
|
|
2396
|
-
},
|
|
2397
|
-
fromAmino(object: MsgSubmitProposalAmino): MsgSubmitProposal {
|
|
2398
|
-
const message = createBaseMsgSubmitProposal();
|
|
2399
|
-
if (object.group_policy_address !== undefined && object.group_policy_address !== null) {
|
|
2400
|
-
message.groupPolicyAddress = object.group_policy_address;
|
|
2401
|
-
}
|
|
2402
|
-
message.proposers = object.proposers?.map(e => e) || [];
|
|
2403
|
-
if (object.metadata !== undefined && object.metadata !== null) {
|
|
2404
|
-
message.metadata = object.metadata;
|
|
2405
|
-
}
|
|
2406
|
-
message.messages = object.messages?.map(e => Any.fromAmino(e)) || [];
|
|
2407
|
-
if (object.exec !== undefined && object.exec !== null) {
|
|
2408
|
-
message.exec = object.exec;
|
|
2409
|
-
}
|
|
2410
|
-
if (object.title !== undefined && object.title !== null) {
|
|
2411
|
-
message.title = object.title;
|
|
2412
|
-
}
|
|
2413
|
-
if (object.summary !== undefined && object.summary !== null) {
|
|
2414
|
-
message.summary = object.summary;
|
|
2415
|
-
}
|
|
2416
|
-
return message;
|
|
2417
|
-
},
|
|
2418
|
-
toAmino(message: MsgSubmitProposal): MsgSubmitProposalAmino {
|
|
2419
|
-
const obj: any = {};
|
|
2420
|
-
obj.group_policy_address = message.groupPolicyAddress === "" ? undefined : message.groupPolicyAddress;
|
|
2421
|
-
if (message.proposers) {
|
|
2422
|
-
obj.proposers = message.proposers.map(e => e);
|
|
2423
|
-
} else {
|
|
2424
|
-
obj.proposers = message.proposers;
|
|
2425
|
-
}
|
|
2426
|
-
obj.metadata = message.metadata === "" ? undefined : message.metadata;
|
|
2427
|
-
if (message.messages) {
|
|
2428
|
-
obj.messages = message.messages.map(e => e ? Any.toAmino(e) : undefined);
|
|
2429
|
-
} else {
|
|
2430
|
-
obj.messages = message.messages;
|
|
2431
|
-
}
|
|
2432
|
-
obj.exec = message.exec === 0 ? undefined : message.exec;
|
|
2433
|
-
obj.title = message.title === "" ? undefined : message.title;
|
|
2434
|
-
obj.summary = message.summary === "" ? undefined : message.summary;
|
|
2435
|
-
return obj;
|
|
2436
|
-
},
|
|
2437
|
-
fromAminoMsg(object: MsgSubmitProposalAminoMsg): MsgSubmitProposal {
|
|
2438
|
-
return MsgSubmitProposal.fromAmino(object.value);
|
|
2439
|
-
},
|
|
2440
|
-
toAminoMsg(message: MsgSubmitProposal): MsgSubmitProposalAminoMsg {
|
|
2441
|
-
return {
|
|
2442
|
-
type: "cosmos-sdk/group/MsgSubmitProposal",
|
|
2443
|
-
value: MsgSubmitProposal.toAmino(message)
|
|
2444
|
-
};
|
|
2445
|
-
},
|
|
2446
|
-
fromProtoMsg(message: MsgSubmitProposalProtoMsg): MsgSubmitProposal {
|
|
2447
|
-
return MsgSubmitProposal.decode(message.value);
|
|
2448
|
-
},
|
|
2449
|
-
toProto(message: MsgSubmitProposal): Uint8Array {
|
|
2450
|
-
return MsgSubmitProposal.encode(message).finish();
|
|
2451
|
-
},
|
|
2452
|
-
toProtoMsg(message: MsgSubmitProposal): MsgSubmitProposalProtoMsg {
|
|
2453
|
-
return {
|
|
2454
|
-
typeUrl: "/cosmos.group.v1.MsgSubmitProposal",
|
|
2455
|
-
value: MsgSubmitProposal.encode(message).finish()
|
|
2456
|
-
};
|
|
2457
|
-
}
|
|
2458
|
-
};
|
|
2459
|
-
GlobalDecoderRegistry.register(MsgSubmitProposal.typeUrl, MsgSubmitProposal);
|
|
2460
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(MsgSubmitProposal.aminoType, MsgSubmitProposal.typeUrl);
|
|
2461
|
-
function createBaseMsgSubmitProposalResponse(): MsgSubmitProposalResponse {
|
|
2462
|
-
return {
|
|
2463
|
-
proposalId: BigInt(0)
|
|
2464
|
-
};
|
|
2465
|
-
}
|
|
2466
|
-
export const MsgSubmitProposalResponse = {
|
|
2467
|
-
typeUrl: "/cosmos.group.v1.MsgSubmitProposalResponse",
|
|
2468
|
-
aminoType: "cosmos-sdk/MsgSubmitProposalResponse",
|
|
2469
|
-
is(o: any): o is MsgSubmitProposalResponse {
|
|
2470
|
-
return o && (o.$typeUrl === MsgSubmitProposalResponse.typeUrl || typeof o.proposalId === "bigint");
|
|
2471
|
-
},
|
|
2472
|
-
isAmino(o: any): o is MsgSubmitProposalResponseAmino {
|
|
2473
|
-
return o && (o.$typeUrl === MsgSubmitProposalResponse.typeUrl || typeof o.proposal_id === "bigint");
|
|
2474
|
-
},
|
|
2475
|
-
encode(message: MsgSubmitProposalResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
2476
|
-
if (message.proposalId !== BigInt(0)) {
|
|
2477
|
-
writer.uint32(8).uint64(message.proposalId);
|
|
2478
|
-
}
|
|
2479
|
-
return writer;
|
|
2480
|
-
},
|
|
2481
|
-
decode(input: BinaryReader | Uint8Array, length?: number): MsgSubmitProposalResponse {
|
|
2482
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
2483
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2484
|
-
const message = createBaseMsgSubmitProposalResponse();
|
|
2485
|
-
while (reader.pos < end) {
|
|
2486
|
-
const tag = reader.uint32();
|
|
2487
|
-
switch (tag >>> 3) {
|
|
2488
|
-
case 1:
|
|
2489
|
-
message.proposalId = reader.uint64();
|
|
2490
|
-
break;
|
|
2491
|
-
default:
|
|
2492
|
-
reader.skipType(tag & 7);
|
|
2493
|
-
break;
|
|
2494
|
-
}
|
|
2495
|
-
}
|
|
2496
|
-
return message;
|
|
2497
|
-
},
|
|
2498
|
-
fromPartial(object: DeepPartial<MsgSubmitProposalResponse>): MsgSubmitProposalResponse {
|
|
2499
|
-
const message = createBaseMsgSubmitProposalResponse();
|
|
2500
|
-
message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? BigInt(object.proposalId.toString()) : BigInt(0);
|
|
2501
|
-
return message;
|
|
2502
|
-
},
|
|
2503
|
-
fromAmino(object: MsgSubmitProposalResponseAmino): MsgSubmitProposalResponse {
|
|
2504
|
-
const message = createBaseMsgSubmitProposalResponse();
|
|
2505
|
-
if (object.proposal_id !== undefined && object.proposal_id !== null) {
|
|
2506
|
-
message.proposalId = BigInt(object.proposal_id);
|
|
2507
|
-
}
|
|
2508
|
-
return message;
|
|
2509
|
-
},
|
|
2510
|
-
toAmino(message: MsgSubmitProposalResponse): MsgSubmitProposalResponseAmino {
|
|
2511
|
-
const obj: any = {};
|
|
2512
|
-
obj.proposal_id = message.proposalId !== BigInt(0) ? message.proposalId?.toString() : undefined;
|
|
2513
|
-
return obj;
|
|
2514
|
-
},
|
|
2515
|
-
fromAminoMsg(object: MsgSubmitProposalResponseAminoMsg): MsgSubmitProposalResponse {
|
|
2516
|
-
return MsgSubmitProposalResponse.fromAmino(object.value);
|
|
2517
|
-
},
|
|
2518
|
-
toAminoMsg(message: MsgSubmitProposalResponse): MsgSubmitProposalResponseAminoMsg {
|
|
2519
|
-
return {
|
|
2520
|
-
type: "cosmos-sdk/MsgSubmitProposalResponse",
|
|
2521
|
-
value: MsgSubmitProposalResponse.toAmino(message)
|
|
2522
|
-
};
|
|
2523
|
-
},
|
|
2524
|
-
fromProtoMsg(message: MsgSubmitProposalResponseProtoMsg): MsgSubmitProposalResponse {
|
|
2525
|
-
return MsgSubmitProposalResponse.decode(message.value);
|
|
2526
|
-
},
|
|
2527
|
-
toProto(message: MsgSubmitProposalResponse): Uint8Array {
|
|
2528
|
-
return MsgSubmitProposalResponse.encode(message).finish();
|
|
2529
|
-
},
|
|
2530
|
-
toProtoMsg(message: MsgSubmitProposalResponse): MsgSubmitProposalResponseProtoMsg {
|
|
2531
|
-
return {
|
|
2532
|
-
typeUrl: "/cosmos.group.v1.MsgSubmitProposalResponse",
|
|
2533
|
-
value: MsgSubmitProposalResponse.encode(message).finish()
|
|
2534
|
-
};
|
|
2535
|
-
}
|
|
2536
|
-
};
|
|
2537
|
-
GlobalDecoderRegistry.register(MsgSubmitProposalResponse.typeUrl, MsgSubmitProposalResponse);
|
|
2538
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(MsgSubmitProposalResponse.aminoType, MsgSubmitProposalResponse.typeUrl);
|
|
2539
|
-
function createBaseMsgWithdrawProposal(): MsgWithdrawProposal {
|
|
2540
|
-
return {
|
|
2541
|
-
proposalId: BigInt(0),
|
|
2542
|
-
address: ""
|
|
2543
|
-
};
|
|
2544
|
-
}
|
|
2545
|
-
export const MsgWithdrawProposal = {
|
|
2546
|
-
typeUrl: "/cosmos.group.v1.MsgWithdrawProposal",
|
|
2547
|
-
aminoType: "cosmos-sdk/group/MsgWithdrawProposal",
|
|
2548
|
-
is(o: any): o is MsgWithdrawProposal {
|
|
2549
|
-
return o && (o.$typeUrl === MsgWithdrawProposal.typeUrl || typeof o.proposalId === "bigint" && typeof o.address === "string");
|
|
2550
|
-
},
|
|
2551
|
-
isAmino(o: any): o is MsgWithdrawProposalAmino {
|
|
2552
|
-
return o && (o.$typeUrl === MsgWithdrawProposal.typeUrl || typeof o.proposal_id === "bigint" && typeof o.address === "string");
|
|
2553
|
-
},
|
|
2554
|
-
encode(message: MsgWithdrawProposal, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
2555
|
-
if (message.proposalId !== BigInt(0)) {
|
|
2556
|
-
writer.uint32(8).uint64(message.proposalId);
|
|
2557
|
-
}
|
|
2558
|
-
if (message.address !== "") {
|
|
2559
|
-
writer.uint32(18).string(message.address);
|
|
2560
|
-
}
|
|
2561
|
-
return writer;
|
|
2562
|
-
},
|
|
2563
|
-
decode(input: BinaryReader | Uint8Array, length?: number): MsgWithdrawProposal {
|
|
2564
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
2565
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2566
|
-
const message = createBaseMsgWithdrawProposal();
|
|
2567
|
-
while (reader.pos < end) {
|
|
2568
|
-
const tag = reader.uint32();
|
|
2569
|
-
switch (tag >>> 3) {
|
|
2570
|
-
case 1:
|
|
2571
|
-
message.proposalId = reader.uint64();
|
|
2572
|
-
break;
|
|
2573
|
-
case 2:
|
|
2574
|
-
message.address = reader.string();
|
|
2575
|
-
break;
|
|
2576
|
-
default:
|
|
2577
|
-
reader.skipType(tag & 7);
|
|
2578
|
-
break;
|
|
2579
|
-
}
|
|
2580
|
-
}
|
|
2581
|
-
return message;
|
|
2582
|
-
},
|
|
2583
|
-
fromPartial(object: DeepPartial<MsgWithdrawProposal>): MsgWithdrawProposal {
|
|
2584
|
-
const message = createBaseMsgWithdrawProposal();
|
|
2585
|
-
message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? BigInt(object.proposalId.toString()) : BigInt(0);
|
|
2586
|
-
message.address = object.address ?? "";
|
|
2587
|
-
return message;
|
|
2588
|
-
},
|
|
2589
|
-
fromAmino(object: MsgWithdrawProposalAmino): MsgWithdrawProposal {
|
|
2590
|
-
const message = createBaseMsgWithdrawProposal();
|
|
2591
|
-
if (object.proposal_id !== undefined && object.proposal_id !== null) {
|
|
2592
|
-
message.proposalId = BigInt(object.proposal_id);
|
|
2593
|
-
}
|
|
2594
|
-
if (object.address !== undefined && object.address !== null) {
|
|
2595
|
-
message.address = object.address;
|
|
2596
|
-
}
|
|
2597
|
-
return message;
|
|
2598
|
-
},
|
|
2599
|
-
toAmino(message: MsgWithdrawProposal): MsgWithdrawProposalAmino {
|
|
2600
|
-
const obj: any = {};
|
|
2601
|
-
obj.proposal_id = message.proposalId !== BigInt(0) ? message.proposalId?.toString() : undefined;
|
|
2602
|
-
obj.address = message.address === "" ? undefined : message.address;
|
|
2603
|
-
return obj;
|
|
2604
|
-
},
|
|
2605
|
-
fromAminoMsg(object: MsgWithdrawProposalAminoMsg): MsgWithdrawProposal {
|
|
2606
|
-
return MsgWithdrawProposal.fromAmino(object.value);
|
|
2607
|
-
},
|
|
2608
|
-
toAminoMsg(message: MsgWithdrawProposal): MsgWithdrawProposalAminoMsg {
|
|
2609
|
-
return {
|
|
2610
|
-
type: "cosmos-sdk/group/MsgWithdrawProposal",
|
|
2611
|
-
value: MsgWithdrawProposal.toAmino(message)
|
|
2612
|
-
};
|
|
2613
|
-
},
|
|
2614
|
-
fromProtoMsg(message: MsgWithdrawProposalProtoMsg): MsgWithdrawProposal {
|
|
2615
|
-
return MsgWithdrawProposal.decode(message.value);
|
|
2616
|
-
},
|
|
2617
|
-
toProto(message: MsgWithdrawProposal): Uint8Array {
|
|
2618
|
-
return MsgWithdrawProposal.encode(message).finish();
|
|
2619
|
-
},
|
|
2620
|
-
toProtoMsg(message: MsgWithdrawProposal): MsgWithdrawProposalProtoMsg {
|
|
2621
|
-
return {
|
|
2622
|
-
typeUrl: "/cosmos.group.v1.MsgWithdrawProposal",
|
|
2623
|
-
value: MsgWithdrawProposal.encode(message).finish()
|
|
2624
|
-
};
|
|
2625
|
-
}
|
|
2626
|
-
};
|
|
2627
|
-
GlobalDecoderRegistry.register(MsgWithdrawProposal.typeUrl, MsgWithdrawProposal);
|
|
2628
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(MsgWithdrawProposal.aminoType, MsgWithdrawProposal.typeUrl);
|
|
2629
|
-
function createBaseMsgWithdrawProposalResponse(): MsgWithdrawProposalResponse {
|
|
2630
|
-
return {};
|
|
2631
|
-
}
|
|
2632
|
-
export const MsgWithdrawProposalResponse = {
|
|
2633
|
-
typeUrl: "/cosmos.group.v1.MsgWithdrawProposalResponse",
|
|
2634
|
-
aminoType: "cosmos-sdk/MsgWithdrawProposalResponse",
|
|
2635
|
-
is(o: any): o is MsgWithdrawProposalResponse {
|
|
2636
|
-
return o && o.$typeUrl === MsgWithdrawProposalResponse.typeUrl;
|
|
2637
|
-
},
|
|
2638
|
-
isAmino(o: any): o is MsgWithdrawProposalResponseAmino {
|
|
2639
|
-
return o && o.$typeUrl === MsgWithdrawProposalResponse.typeUrl;
|
|
2640
|
-
},
|
|
2641
|
-
encode(_: MsgWithdrawProposalResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
2642
|
-
return writer;
|
|
2643
|
-
},
|
|
2644
|
-
decode(input: BinaryReader | Uint8Array, length?: number): MsgWithdrawProposalResponse {
|
|
2645
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
2646
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2647
|
-
const message = createBaseMsgWithdrawProposalResponse();
|
|
2648
|
-
while (reader.pos < end) {
|
|
2649
|
-
const tag = reader.uint32();
|
|
2650
|
-
switch (tag >>> 3) {
|
|
2651
|
-
default:
|
|
2652
|
-
reader.skipType(tag & 7);
|
|
2653
|
-
break;
|
|
2654
|
-
}
|
|
2655
|
-
}
|
|
2656
|
-
return message;
|
|
2657
|
-
},
|
|
2658
|
-
fromPartial(_: DeepPartial<MsgWithdrawProposalResponse>): MsgWithdrawProposalResponse {
|
|
2659
|
-
const message = createBaseMsgWithdrawProposalResponse();
|
|
2660
|
-
return message;
|
|
2661
|
-
},
|
|
2662
|
-
fromAmino(_: MsgWithdrawProposalResponseAmino): MsgWithdrawProposalResponse {
|
|
2663
|
-
const message = createBaseMsgWithdrawProposalResponse();
|
|
2664
|
-
return message;
|
|
2665
|
-
},
|
|
2666
|
-
toAmino(_: MsgWithdrawProposalResponse): MsgWithdrawProposalResponseAmino {
|
|
2667
|
-
const obj: any = {};
|
|
2668
|
-
return obj;
|
|
2669
|
-
},
|
|
2670
|
-
fromAminoMsg(object: MsgWithdrawProposalResponseAminoMsg): MsgWithdrawProposalResponse {
|
|
2671
|
-
return MsgWithdrawProposalResponse.fromAmino(object.value);
|
|
2672
|
-
},
|
|
2673
|
-
toAminoMsg(message: MsgWithdrawProposalResponse): MsgWithdrawProposalResponseAminoMsg {
|
|
2674
|
-
return {
|
|
2675
|
-
type: "cosmos-sdk/MsgWithdrawProposalResponse",
|
|
2676
|
-
value: MsgWithdrawProposalResponse.toAmino(message)
|
|
2677
|
-
};
|
|
2678
|
-
},
|
|
2679
|
-
fromProtoMsg(message: MsgWithdrawProposalResponseProtoMsg): MsgWithdrawProposalResponse {
|
|
2680
|
-
return MsgWithdrawProposalResponse.decode(message.value);
|
|
2681
|
-
},
|
|
2682
|
-
toProto(message: MsgWithdrawProposalResponse): Uint8Array {
|
|
2683
|
-
return MsgWithdrawProposalResponse.encode(message).finish();
|
|
2684
|
-
},
|
|
2685
|
-
toProtoMsg(message: MsgWithdrawProposalResponse): MsgWithdrawProposalResponseProtoMsg {
|
|
2686
|
-
return {
|
|
2687
|
-
typeUrl: "/cosmos.group.v1.MsgWithdrawProposalResponse",
|
|
2688
|
-
value: MsgWithdrawProposalResponse.encode(message).finish()
|
|
2689
|
-
};
|
|
2690
|
-
}
|
|
2691
|
-
};
|
|
2692
|
-
GlobalDecoderRegistry.register(MsgWithdrawProposalResponse.typeUrl, MsgWithdrawProposalResponse);
|
|
2693
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(MsgWithdrawProposalResponse.aminoType, MsgWithdrawProposalResponse.typeUrl);
|
|
2694
|
-
function createBaseMsgVote(): MsgVote {
|
|
2695
|
-
return {
|
|
2696
|
-
proposalId: BigInt(0),
|
|
2697
|
-
voter: "",
|
|
2698
|
-
option: 0,
|
|
2699
|
-
metadata: "",
|
|
2700
|
-
exec: 0
|
|
2701
|
-
};
|
|
2702
|
-
}
|
|
2703
|
-
export const MsgVote = {
|
|
2704
|
-
typeUrl: "/cosmos.group.v1.MsgVote",
|
|
2705
|
-
aminoType: "cosmos-sdk/group/MsgVote",
|
|
2706
|
-
is(o: any): o is MsgVote {
|
|
2707
|
-
return o && (o.$typeUrl === MsgVote.typeUrl || typeof o.proposalId === "bigint" && typeof o.voter === "string" && isSet(o.option) && typeof o.metadata === "string" && isSet(o.exec));
|
|
2708
|
-
},
|
|
2709
|
-
isAmino(o: any): o is MsgVoteAmino {
|
|
2710
|
-
return o && (o.$typeUrl === MsgVote.typeUrl || typeof o.proposal_id === "bigint" && typeof o.voter === "string" && isSet(o.option) && typeof o.metadata === "string" && isSet(o.exec));
|
|
2711
|
-
},
|
|
2712
|
-
encode(message: MsgVote, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
2713
|
-
if (message.proposalId !== BigInt(0)) {
|
|
2714
|
-
writer.uint32(8).uint64(message.proposalId);
|
|
2715
|
-
}
|
|
2716
|
-
if (message.voter !== "") {
|
|
2717
|
-
writer.uint32(18).string(message.voter);
|
|
2718
|
-
}
|
|
2719
|
-
if (message.option !== 0) {
|
|
2720
|
-
writer.uint32(24).int32(message.option);
|
|
2721
|
-
}
|
|
2722
|
-
if (message.metadata !== "") {
|
|
2723
|
-
writer.uint32(34).string(message.metadata);
|
|
2724
|
-
}
|
|
2725
|
-
if (message.exec !== 0) {
|
|
2726
|
-
writer.uint32(40).int32(message.exec);
|
|
2727
|
-
}
|
|
2728
|
-
return writer;
|
|
2729
|
-
},
|
|
2730
|
-
decode(input: BinaryReader | Uint8Array, length?: number): MsgVote {
|
|
2731
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
2732
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2733
|
-
const message = createBaseMsgVote();
|
|
2734
|
-
while (reader.pos < end) {
|
|
2735
|
-
const tag = reader.uint32();
|
|
2736
|
-
switch (tag >>> 3) {
|
|
2737
|
-
case 1:
|
|
2738
|
-
message.proposalId = reader.uint64();
|
|
2739
|
-
break;
|
|
2740
|
-
case 2:
|
|
2741
|
-
message.voter = reader.string();
|
|
2742
|
-
break;
|
|
2743
|
-
case 3:
|
|
2744
|
-
message.option = reader.int32() as any;
|
|
2745
|
-
break;
|
|
2746
|
-
case 4:
|
|
2747
|
-
message.metadata = reader.string();
|
|
2748
|
-
break;
|
|
2749
|
-
case 5:
|
|
2750
|
-
message.exec = reader.int32() as any;
|
|
2751
|
-
break;
|
|
2752
|
-
default:
|
|
2753
|
-
reader.skipType(tag & 7);
|
|
2754
|
-
break;
|
|
2755
|
-
}
|
|
2756
|
-
}
|
|
2757
|
-
return message;
|
|
2758
|
-
},
|
|
2759
|
-
fromPartial(object: DeepPartial<MsgVote>): MsgVote {
|
|
2760
|
-
const message = createBaseMsgVote();
|
|
2761
|
-
message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? BigInt(object.proposalId.toString()) : BigInt(0);
|
|
2762
|
-
message.voter = object.voter ?? "";
|
|
2763
|
-
message.option = object.option ?? 0;
|
|
2764
|
-
message.metadata = object.metadata ?? "";
|
|
2765
|
-
message.exec = object.exec ?? 0;
|
|
2766
|
-
return message;
|
|
2767
|
-
},
|
|
2768
|
-
fromAmino(object: MsgVoteAmino): MsgVote {
|
|
2769
|
-
const message = createBaseMsgVote();
|
|
2770
|
-
if (object.proposal_id !== undefined && object.proposal_id !== null) {
|
|
2771
|
-
message.proposalId = BigInt(object.proposal_id);
|
|
2772
|
-
}
|
|
2773
|
-
if (object.voter !== undefined && object.voter !== null) {
|
|
2774
|
-
message.voter = object.voter;
|
|
2775
|
-
}
|
|
2776
|
-
if (object.option !== undefined && object.option !== null) {
|
|
2777
|
-
message.option = object.option;
|
|
2778
|
-
}
|
|
2779
|
-
if (object.metadata !== undefined && object.metadata !== null) {
|
|
2780
|
-
message.metadata = object.metadata;
|
|
2781
|
-
}
|
|
2782
|
-
if (object.exec !== undefined && object.exec !== null) {
|
|
2783
|
-
message.exec = object.exec;
|
|
2784
|
-
}
|
|
2785
|
-
return message;
|
|
2786
|
-
},
|
|
2787
|
-
toAmino(message: MsgVote): MsgVoteAmino {
|
|
2788
|
-
const obj: any = {};
|
|
2789
|
-
obj.proposal_id = message.proposalId !== BigInt(0) ? message.proposalId?.toString() : undefined;
|
|
2790
|
-
obj.voter = message.voter === "" ? undefined : message.voter;
|
|
2791
|
-
obj.option = message.option === 0 ? undefined : message.option;
|
|
2792
|
-
obj.metadata = message.metadata === "" ? undefined : message.metadata;
|
|
2793
|
-
obj.exec = message.exec === 0 ? undefined : message.exec;
|
|
2794
|
-
return obj;
|
|
2795
|
-
},
|
|
2796
|
-
fromAminoMsg(object: MsgVoteAminoMsg): MsgVote {
|
|
2797
|
-
return MsgVote.fromAmino(object.value);
|
|
2798
|
-
},
|
|
2799
|
-
toAminoMsg(message: MsgVote): MsgVoteAminoMsg {
|
|
2800
|
-
return {
|
|
2801
|
-
type: "cosmos-sdk/group/MsgVote",
|
|
2802
|
-
value: MsgVote.toAmino(message)
|
|
2803
|
-
};
|
|
2804
|
-
},
|
|
2805
|
-
fromProtoMsg(message: MsgVoteProtoMsg): MsgVote {
|
|
2806
|
-
return MsgVote.decode(message.value);
|
|
2807
|
-
},
|
|
2808
|
-
toProto(message: MsgVote): Uint8Array {
|
|
2809
|
-
return MsgVote.encode(message).finish();
|
|
2810
|
-
},
|
|
2811
|
-
toProtoMsg(message: MsgVote): MsgVoteProtoMsg {
|
|
2812
|
-
return {
|
|
2813
|
-
typeUrl: "/cosmos.group.v1.MsgVote",
|
|
2814
|
-
value: MsgVote.encode(message).finish()
|
|
2815
|
-
};
|
|
2816
|
-
}
|
|
2817
|
-
};
|
|
2818
|
-
GlobalDecoderRegistry.register(MsgVote.typeUrl, MsgVote);
|
|
2819
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(MsgVote.aminoType, MsgVote.typeUrl);
|
|
2820
|
-
function createBaseMsgVoteResponse(): MsgVoteResponse {
|
|
2821
|
-
return {};
|
|
2822
|
-
}
|
|
2823
|
-
export const MsgVoteResponse = {
|
|
2824
|
-
typeUrl: "/cosmos.group.v1.MsgVoteResponse",
|
|
2825
|
-
aminoType: "cosmos-sdk/MsgVoteResponse",
|
|
2826
|
-
is(o: any): o is MsgVoteResponse {
|
|
2827
|
-
return o && o.$typeUrl === MsgVoteResponse.typeUrl;
|
|
2828
|
-
},
|
|
2829
|
-
isAmino(o: any): o is MsgVoteResponseAmino {
|
|
2830
|
-
return o && o.$typeUrl === MsgVoteResponse.typeUrl;
|
|
2831
|
-
},
|
|
2832
|
-
encode(_: MsgVoteResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
2833
|
-
return writer;
|
|
2834
|
-
},
|
|
2835
|
-
decode(input: BinaryReader | Uint8Array, length?: number): MsgVoteResponse {
|
|
2836
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
2837
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2838
|
-
const message = createBaseMsgVoteResponse();
|
|
2839
|
-
while (reader.pos < end) {
|
|
2840
|
-
const tag = reader.uint32();
|
|
2841
|
-
switch (tag >>> 3) {
|
|
2842
|
-
default:
|
|
2843
|
-
reader.skipType(tag & 7);
|
|
2844
|
-
break;
|
|
2845
|
-
}
|
|
2846
|
-
}
|
|
2847
|
-
return message;
|
|
2848
|
-
},
|
|
2849
|
-
fromPartial(_: DeepPartial<MsgVoteResponse>): MsgVoteResponse {
|
|
2850
|
-
const message = createBaseMsgVoteResponse();
|
|
2851
|
-
return message;
|
|
2852
|
-
},
|
|
2853
|
-
fromAmino(_: MsgVoteResponseAmino): MsgVoteResponse {
|
|
2854
|
-
const message = createBaseMsgVoteResponse();
|
|
2855
|
-
return message;
|
|
2856
|
-
},
|
|
2857
|
-
toAmino(_: MsgVoteResponse): MsgVoteResponseAmino {
|
|
2858
|
-
const obj: any = {};
|
|
2859
|
-
return obj;
|
|
2860
|
-
},
|
|
2861
|
-
fromAminoMsg(object: MsgVoteResponseAminoMsg): MsgVoteResponse {
|
|
2862
|
-
return MsgVoteResponse.fromAmino(object.value);
|
|
2863
|
-
},
|
|
2864
|
-
toAminoMsg(message: MsgVoteResponse): MsgVoteResponseAminoMsg {
|
|
2865
|
-
return {
|
|
2866
|
-
type: "cosmos-sdk/MsgVoteResponse",
|
|
2867
|
-
value: MsgVoteResponse.toAmino(message)
|
|
2868
|
-
};
|
|
2869
|
-
},
|
|
2870
|
-
fromProtoMsg(message: MsgVoteResponseProtoMsg): MsgVoteResponse {
|
|
2871
|
-
return MsgVoteResponse.decode(message.value);
|
|
2872
|
-
},
|
|
2873
|
-
toProto(message: MsgVoteResponse): Uint8Array {
|
|
2874
|
-
return MsgVoteResponse.encode(message).finish();
|
|
2875
|
-
},
|
|
2876
|
-
toProtoMsg(message: MsgVoteResponse): MsgVoteResponseProtoMsg {
|
|
2877
|
-
return {
|
|
2878
|
-
typeUrl: "/cosmos.group.v1.MsgVoteResponse",
|
|
2879
|
-
value: MsgVoteResponse.encode(message).finish()
|
|
2880
|
-
};
|
|
2881
|
-
}
|
|
2882
|
-
};
|
|
2883
|
-
GlobalDecoderRegistry.register(MsgVoteResponse.typeUrl, MsgVoteResponse);
|
|
2884
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(MsgVoteResponse.aminoType, MsgVoteResponse.typeUrl);
|
|
2885
|
-
function createBaseMsgExec(): MsgExec {
|
|
2886
|
-
return {
|
|
2887
|
-
proposalId: BigInt(0),
|
|
2888
|
-
executor: ""
|
|
2889
|
-
};
|
|
2890
|
-
}
|
|
2891
|
-
export const MsgExec = {
|
|
2892
|
-
typeUrl: "/cosmos.group.v1.MsgExec",
|
|
2893
|
-
aminoType: "cosmos-sdk/group/MsgExec",
|
|
2894
|
-
is(o: any): o is MsgExec {
|
|
2895
|
-
return o && (o.$typeUrl === MsgExec.typeUrl || typeof o.proposalId === "bigint" && typeof o.executor === "string");
|
|
2896
|
-
},
|
|
2897
|
-
isAmino(o: any): o is MsgExecAmino {
|
|
2898
|
-
return o && (o.$typeUrl === MsgExec.typeUrl || typeof o.proposal_id === "bigint" && typeof o.executor === "string");
|
|
2899
|
-
},
|
|
2900
|
-
encode(message: MsgExec, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
2901
|
-
if (message.proposalId !== BigInt(0)) {
|
|
2902
|
-
writer.uint32(8).uint64(message.proposalId);
|
|
2903
|
-
}
|
|
2904
|
-
if (message.executor !== "") {
|
|
2905
|
-
writer.uint32(18).string(message.executor);
|
|
2906
|
-
}
|
|
2907
|
-
return writer;
|
|
2908
|
-
},
|
|
2909
|
-
decode(input: BinaryReader | Uint8Array, length?: number): MsgExec {
|
|
2910
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
2911
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2912
|
-
const message = createBaseMsgExec();
|
|
2913
|
-
while (reader.pos < end) {
|
|
2914
|
-
const tag = reader.uint32();
|
|
2915
|
-
switch (tag >>> 3) {
|
|
2916
|
-
case 1:
|
|
2917
|
-
message.proposalId = reader.uint64();
|
|
2918
|
-
break;
|
|
2919
|
-
case 2:
|
|
2920
|
-
message.executor = reader.string();
|
|
2921
|
-
break;
|
|
2922
|
-
default:
|
|
2923
|
-
reader.skipType(tag & 7);
|
|
2924
|
-
break;
|
|
2925
|
-
}
|
|
2926
|
-
}
|
|
2927
|
-
return message;
|
|
2928
|
-
},
|
|
2929
|
-
fromPartial(object: DeepPartial<MsgExec>): MsgExec {
|
|
2930
|
-
const message = createBaseMsgExec();
|
|
2931
|
-
message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? BigInt(object.proposalId.toString()) : BigInt(0);
|
|
2932
|
-
message.executor = object.executor ?? "";
|
|
2933
|
-
return message;
|
|
2934
|
-
},
|
|
2935
|
-
fromAmino(object: MsgExecAmino): MsgExec {
|
|
2936
|
-
const message = createBaseMsgExec();
|
|
2937
|
-
if (object.proposal_id !== undefined && object.proposal_id !== null) {
|
|
2938
|
-
message.proposalId = BigInt(object.proposal_id);
|
|
2939
|
-
}
|
|
2940
|
-
if (object.executor !== undefined && object.executor !== null) {
|
|
2941
|
-
message.executor = object.executor;
|
|
2942
|
-
}
|
|
2943
|
-
return message;
|
|
2944
|
-
},
|
|
2945
|
-
toAmino(message: MsgExec): MsgExecAmino {
|
|
2946
|
-
const obj: any = {};
|
|
2947
|
-
obj.proposal_id = message.proposalId !== BigInt(0) ? message.proposalId?.toString() : undefined;
|
|
2948
|
-
obj.executor = message.executor === "" ? undefined : message.executor;
|
|
2949
|
-
return obj;
|
|
2950
|
-
},
|
|
2951
|
-
fromAminoMsg(object: MsgExecAminoMsg): MsgExec {
|
|
2952
|
-
return MsgExec.fromAmino(object.value);
|
|
2953
|
-
},
|
|
2954
|
-
toAminoMsg(message: MsgExec): MsgExecAminoMsg {
|
|
2955
|
-
return {
|
|
2956
|
-
type: "cosmos-sdk/group/MsgExec",
|
|
2957
|
-
value: MsgExec.toAmino(message)
|
|
2958
|
-
};
|
|
2959
|
-
},
|
|
2960
|
-
fromProtoMsg(message: MsgExecProtoMsg): MsgExec {
|
|
2961
|
-
return MsgExec.decode(message.value);
|
|
2962
|
-
},
|
|
2963
|
-
toProto(message: MsgExec): Uint8Array {
|
|
2964
|
-
return MsgExec.encode(message).finish();
|
|
2965
|
-
},
|
|
2966
|
-
toProtoMsg(message: MsgExec): MsgExecProtoMsg {
|
|
2967
|
-
return {
|
|
2968
|
-
typeUrl: "/cosmos.group.v1.MsgExec",
|
|
2969
|
-
value: MsgExec.encode(message).finish()
|
|
2970
|
-
};
|
|
2971
|
-
}
|
|
2972
|
-
};
|
|
2973
|
-
GlobalDecoderRegistry.register(MsgExec.typeUrl, MsgExec);
|
|
2974
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(MsgExec.aminoType, MsgExec.typeUrl);
|
|
2975
|
-
function createBaseMsgExecResponse(): MsgExecResponse {
|
|
2976
|
-
return {
|
|
2977
|
-
result: 0
|
|
2978
|
-
};
|
|
2979
|
-
}
|
|
2980
|
-
export const MsgExecResponse = {
|
|
2981
|
-
typeUrl: "/cosmos.group.v1.MsgExecResponse",
|
|
2982
|
-
aminoType: "cosmos-sdk/MsgExecResponse",
|
|
2983
|
-
is(o: any): o is MsgExecResponse {
|
|
2984
|
-
return o && (o.$typeUrl === MsgExecResponse.typeUrl || isSet(o.result));
|
|
2985
|
-
},
|
|
2986
|
-
isAmino(o: any): o is MsgExecResponseAmino {
|
|
2987
|
-
return o && (o.$typeUrl === MsgExecResponse.typeUrl || isSet(o.result));
|
|
2988
|
-
},
|
|
2989
|
-
encode(message: MsgExecResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
2990
|
-
if (message.result !== 0) {
|
|
2991
|
-
writer.uint32(16).int32(message.result);
|
|
2992
|
-
}
|
|
2993
|
-
return writer;
|
|
2994
|
-
},
|
|
2995
|
-
decode(input: BinaryReader | Uint8Array, length?: number): MsgExecResponse {
|
|
2996
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
2997
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2998
|
-
const message = createBaseMsgExecResponse();
|
|
2999
|
-
while (reader.pos < end) {
|
|
3000
|
-
const tag = reader.uint32();
|
|
3001
|
-
switch (tag >>> 3) {
|
|
3002
|
-
case 2:
|
|
3003
|
-
message.result = reader.int32() as any;
|
|
3004
|
-
break;
|
|
3005
|
-
default:
|
|
3006
|
-
reader.skipType(tag & 7);
|
|
3007
|
-
break;
|
|
3008
|
-
}
|
|
3009
|
-
}
|
|
3010
|
-
return message;
|
|
3011
|
-
},
|
|
3012
|
-
fromPartial(object: DeepPartial<MsgExecResponse>): MsgExecResponse {
|
|
3013
|
-
const message = createBaseMsgExecResponse();
|
|
3014
|
-
message.result = object.result ?? 0;
|
|
3015
|
-
return message;
|
|
3016
|
-
},
|
|
3017
|
-
fromAmino(object: MsgExecResponseAmino): MsgExecResponse {
|
|
3018
|
-
const message = createBaseMsgExecResponse();
|
|
3019
|
-
if (object.result !== undefined && object.result !== null) {
|
|
3020
|
-
message.result = object.result;
|
|
3021
|
-
}
|
|
3022
|
-
return message;
|
|
3023
|
-
},
|
|
3024
|
-
toAmino(message: MsgExecResponse): MsgExecResponseAmino {
|
|
3025
|
-
const obj: any = {};
|
|
3026
|
-
obj.result = message.result === 0 ? undefined : message.result;
|
|
3027
|
-
return obj;
|
|
3028
|
-
},
|
|
3029
|
-
fromAminoMsg(object: MsgExecResponseAminoMsg): MsgExecResponse {
|
|
3030
|
-
return MsgExecResponse.fromAmino(object.value);
|
|
3031
|
-
},
|
|
3032
|
-
toAminoMsg(message: MsgExecResponse): MsgExecResponseAminoMsg {
|
|
3033
|
-
return {
|
|
3034
|
-
type: "cosmos-sdk/MsgExecResponse",
|
|
3035
|
-
value: MsgExecResponse.toAmino(message)
|
|
3036
|
-
};
|
|
3037
|
-
},
|
|
3038
|
-
fromProtoMsg(message: MsgExecResponseProtoMsg): MsgExecResponse {
|
|
3039
|
-
return MsgExecResponse.decode(message.value);
|
|
3040
|
-
},
|
|
3041
|
-
toProto(message: MsgExecResponse): Uint8Array {
|
|
3042
|
-
return MsgExecResponse.encode(message).finish();
|
|
3043
|
-
},
|
|
3044
|
-
toProtoMsg(message: MsgExecResponse): MsgExecResponseProtoMsg {
|
|
3045
|
-
return {
|
|
3046
|
-
typeUrl: "/cosmos.group.v1.MsgExecResponse",
|
|
3047
|
-
value: MsgExecResponse.encode(message).finish()
|
|
3048
|
-
};
|
|
3049
|
-
}
|
|
3050
|
-
};
|
|
3051
|
-
GlobalDecoderRegistry.register(MsgExecResponse.typeUrl, MsgExecResponse);
|
|
3052
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(MsgExecResponse.aminoType, MsgExecResponse.typeUrl);
|
|
3053
|
-
function createBaseMsgLeaveGroup(): MsgLeaveGroup {
|
|
3054
|
-
return {
|
|
3055
|
-
address: "",
|
|
3056
|
-
groupId: BigInt(0)
|
|
3057
|
-
};
|
|
3058
|
-
}
|
|
3059
|
-
export const MsgLeaveGroup = {
|
|
3060
|
-
typeUrl: "/cosmos.group.v1.MsgLeaveGroup",
|
|
3061
|
-
aminoType: "cosmos-sdk/group/MsgLeaveGroup",
|
|
3062
|
-
is(o: any): o is MsgLeaveGroup {
|
|
3063
|
-
return o && (o.$typeUrl === MsgLeaveGroup.typeUrl || typeof o.address === "string" && typeof o.groupId === "bigint");
|
|
3064
|
-
},
|
|
3065
|
-
isAmino(o: any): o is MsgLeaveGroupAmino {
|
|
3066
|
-
return o && (o.$typeUrl === MsgLeaveGroup.typeUrl || typeof o.address === "string" && typeof o.group_id === "bigint");
|
|
3067
|
-
},
|
|
3068
|
-
encode(message: MsgLeaveGroup, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
3069
|
-
if (message.address !== "") {
|
|
3070
|
-
writer.uint32(10).string(message.address);
|
|
3071
|
-
}
|
|
3072
|
-
if (message.groupId !== BigInt(0)) {
|
|
3073
|
-
writer.uint32(16).uint64(message.groupId);
|
|
3074
|
-
}
|
|
3075
|
-
return writer;
|
|
3076
|
-
},
|
|
3077
|
-
decode(input: BinaryReader | Uint8Array, length?: number): MsgLeaveGroup {
|
|
3078
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
3079
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
3080
|
-
const message = createBaseMsgLeaveGroup();
|
|
3081
|
-
while (reader.pos < end) {
|
|
3082
|
-
const tag = reader.uint32();
|
|
3083
|
-
switch (tag >>> 3) {
|
|
3084
|
-
case 1:
|
|
3085
|
-
message.address = reader.string();
|
|
3086
|
-
break;
|
|
3087
|
-
case 2:
|
|
3088
|
-
message.groupId = reader.uint64();
|
|
3089
|
-
break;
|
|
3090
|
-
default:
|
|
3091
|
-
reader.skipType(tag & 7);
|
|
3092
|
-
break;
|
|
3093
|
-
}
|
|
3094
|
-
}
|
|
3095
|
-
return message;
|
|
3096
|
-
},
|
|
3097
|
-
fromPartial(object: DeepPartial<MsgLeaveGroup>): MsgLeaveGroup {
|
|
3098
|
-
const message = createBaseMsgLeaveGroup();
|
|
3099
|
-
message.address = object.address ?? "";
|
|
3100
|
-
message.groupId = object.groupId !== undefined && object.groupId !== null ? BigInt(object.groupId.toString()) : BigInt(0);
|
|
3101
|
-
return message;
|
|
3102
|
-
},
|
|
3103
|
-
fromAmino(object: MsgLeaveGroupAmino): MsgLeaveGroup {
|
|
3104
|
-
const message = createBaseMsgLeaveGroup();
|
|
3105
|
-
if (object.address !== undefined && object.address !== null) {
|
|
3106
|
-
message.address = object.address;
|
|
3107
|
-
}
|
|
3108
|
-
if (object.group_id !== undefined && object.group_id !== null) {
|
|
3109
|
-
message.groupId = BigInt(object.group_id);
|
|
3110
|
-
}
|
|
3111
|
-
return message;
|
|
3112
|
-
},
|
|
3113
|
-
toAmino(message: MsgLeaveGroup): MsgLeaveGroupAmino {
|
|
3114
|
-
const obj: any = {};
|
|
3115
|
-
obj.address = message.address === "" ? undefined : message.address;
|
|
3116
|
-
obj.group_id = message.groupId !== BigInt(0) ? message.groupId?.toString() : undefined;
|
|
3117
|
-
return obj;
|
|
3118
|
-
},
|
|
3119
|
-
fromAminoMsg(object: MsgLeaveGroupAminoMsg): MsgLeaveGroup {
|
|
3120
|
-
return MsgLeaveGroup.fromAmino(object.value);
|
|
3121
|
-
},
|
|
3122
|
-
toAminoMsg(message: MsgLeaveGroup): MsgLeaveGroupAminoMsg {
|
|
3123
|
-
return {
|
|
3124
|
-
type: "cosmos-sdk/group/MsgLeaveGroup",
|
|
3125
|
-
value: MsgLeaveGroup.toAmino(message)
|
|
3126
|
-
};
|
|
3127
|
-
},
|
|
3128
|
-
fromProtoMsg(message: MsgLeaveGroupProtoMsg): MsgLeaveGroup {
|
|
3129
|
-
return MsgLeaveGroup.decode(message.value);
|
|
3130
|
-
},
|
|
3131
|
-
toProto(message: MsgLeaveGroup): Uint8Array {
|
|
3132
|
-
return MsgLeaveGroup.encode(message).finish();
|
|
3133
|
-
},
|
|
3134
|
-
toProtoMsg(message: MsgLeaveGroup): MsgLeaveGroupProtoMsg {
|
|
3135
|
-
return {
|
|
3136
|
-
typeUrl: "/cosmos.group.v1.MsgLeaveGroup",
|
|
3137
|
-
value: MsgLeaveGroup.encode(message).finish()
|
|
3138
|
-
};
|
|
3139
|
-
}
|
|
3140
|
-
};
|
|
3141
|
-
GlobalDecoderRegistry.register(MsgLeaveGroup.typeUrl, MsgLeaveGroup);
|
|
3142
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(MsgLeaveGroup.aminoType, MsgLeaveGroup.typeUrl);
|
|
3143
|
-
function createBaseMsgLeaveGroupResponse(): MsgLeaveGroupResponse {
|
|
3144
|
-
return {};
|
|
3145
|
-
}
|
|
3146
|
-
export const MsgLeaveGroupResponse = {
|
|
3147
|
-
typeUrl: "/cosmos.group.v1.MsgLeaveGroupResponse",
|
|
3148
|
-
aminoType: "cosmos-sdk/MsgLeaveGroupResponse",
|
|
3149
|
-
is(o: any): o is MsgLeaveGroupResponse {
|
|
3150
|
-
return o && o.$typeUrl === MsgLeaveGroupResponse.typeUrl;
|
|
3151
|
-
},
|
|
3152
|
-
isAmino(o: any): o is MsgLeaveGroupResponseAmino {
|
|
3153
|
-
return o && o.$typeUrl === MsgLeaveGroupResponse.typeUrl;
|
|
3154
|
-
},
|
|
3155
|
-
encode(_: MsgLeaveGroupResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
3156
|
-
return writer;
|
|
3157
|
-
},
|
|
3158
|
-
decode(input: BinaryReader | Uint8Array, length?: number): MsgLeaveGroupResponse {
|
|
3159
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
3160
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
3161
|
-
const message = createBaseMsgLeaveGroupResponse();
|
|
3162
|
-
while (reader.pos < end) {
|
|
3163
|
-
const tag = reader.uint32();
|
|
3164
|
-
switch (tag >>> 3) {
|
|
3165
|
-
default:
|
|
3166
|
-
reader.skipType(tag & 7);
|
|
3167
|
-
break;
|
|
3168
|
-
}
|
|
3169
|
-
}
|
|
3170
|
-
return message;
|
|
3171
|
-
},
|
|
3172
|
-
fromPartial(_: DeepPartial<MsgLeaveGroupResponse>): MsgLeaveGroupResponse {
|
|
3173
|
-
const message = createBaseMsgLeaveGroupResponse();
|
|
3174
|
-
return message;
|
|
3175
|
-
},
|
|
3176
|
-
fromAmino(_: MsgLeaveGroupResponseAmino): MsgLeaveGroupResponse {
|
|
3177
|
-
const message = createBaseMsgLeaveGroupResponse();
|
|
3178
|
-
return message;
|
|
3179
|
-
},
|
|
3180
|
-
toAmino(_: MsgLeaveGroupResponse): MsgLeaveGroupResponseAmino {
|
|
3181
|
-
const obj: any = {};
|
|
3182
|
-
return obj;
|
|
3183
|
-
},
|
|
3184
|
-
fromAminoMsg(object: MsgLeaveGroupResponseAminoMsg): MsgLeaveGroupResponse {
|
|
3185
|
-
return MsgLeaveGroupResponse.fromAmino(object.value);
|
|
3186
|
-
},
|
|
3187
|
-
toAminoMsg(message: MsgLeaveGroupResponse): MsgLeaveGroupResponseAminoMsg {
|
|
3188
|
-
return {
|
|
3189
|
-
type: "cosmos-sdk/MsgLeaveGroupResponse",
|
|
3190
|
-
value: MsgLeaveGroupResponse.toAmino(message)
|
|
3191
|
-
};
|
|
3192
|
-
},
|
|
3193
|
-
fromProtoMsg(message: MsgLeaveGroupResponseProtoMsg): MsgLeaveGroupResponse {
|
|
3194
|
-
return MsgLeaveGroupResponse.decode(message.value);
|
|
3195
|
-
},
|
|
3196
|
-
toProto(message: MsgLeaveGroupResponse): Uint8Array {
|
|
3197
|
-
return MsgLeaveGroupResponse.encode(message).finish();
|
|
3198
|
-
},
|
|
3199
|
-
toProtoMsg(message: MsgLeaveGroupResponse): MsgLeaveGroupResponseProtoMsg {
|
|
3200
|
-
return {
|
|
3201
|
-
typeUrl: "/cosmos.group.v1.MsgLeaveGroupResponse",
|
|
3202
|
-
value: MsgLeaveGroupResponse.encode(message).finish()
|
|
3203
|
-
};
|
|
3204
|
-
}
|
|
3205
|
-
};
|
|
3206
|
-
GlobalDecoderRegistry.register(MsgLeaveGroupResponse.typeUrl, MsgLeaveGroupResponse);
|
|
3207
|
-
GlobalDecoderRegistry.registerAminoProtoMapping(MsgLeaveGroupResponse.aminoType, MsgLeaveGroupResponse.typeUrl);
|