@xpla/xpla-react 1.7.0 → 1.8.0-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/binary.d.ts +1 -1
- package/binary.js +1 -1
- package/cosmos/app/runtime/v1alpha1/module.d.ts +49 -8
- package/cosmos/app/runtime/v1alpha1/module.js +17 -0
- package/cosmos/app/v1alpha1/config.d.ts +72 -10
- package/cosmos/app/v1alpha1/config.js +31 -0
- package/cosmos/app/v1alpha1/module.d.ts +55 -6
- package/cosmos/app/v1alpha1/module.js +23 -0
- package/cosmos/app/v1alpha1/query.d.ts +42 -6
- package/cosmos/app/v1alpha1/query.js +16 -0
- package/cosmos/app/v1alpha1/query.rpc.func.d.ts +7 -2
- package/cosmos/app/v1alpha1/query.rpc.func.js +8 -4
- package/cosmos/app/v1alpha1/query.rpc.react.d.ts +6 -0
- package/cosmos/app/v1alpha1/query.rpc.react.js +7 -1
- package/cosmos/auth/module/v1/module.d.ts +60 -12
- package/cosmos/auth/module/v1/module.js +16 -0
- package/cosmos/auth/v1beta1/auth.d.ts +70 -6
- package/cosmos/auth/v1beta1/auth.js +34 -0
- package/cosmos/auth/v1beta1/genesis.d.ts +30 -6
- package/cosmos/auth/v1beta1/genesis.js +6 -0
- package/cosmos/auth/v1beta1/query.d.ts +362 -32
- package/cosmos/auth/v1beta1/query.js +169 -0
- package/cosmos/auth/v1beta1/query.rpc.func.d.ts +87 -11
- package/cosmos/auth/v1beta1/query.rpc.func.js +88 -31
- package/cosmos/auth/v1beta1/query.rpc.react.d.ts +77 -0
- package/cosmos/auth/v1beta1/query.rpc.react.js +87 -10
- package/cosmos/auth/v1beta1/tx.d.ts +35 -2
- package/cosmos/auth/v1beta1/tx.js +21 -0
- package/cosmos/auth/v1beta1/tx.registry.d.ts +21 -0
- package/cosmos/auth/v1beta1/tx.registry.js +27 -1
- package/cosmos/auth/v1beta1/tx.rpc.func.d.ts +10 -2
- package/cosmos/auth/v1beta1/tx.rpc.func.js +12 -9
- package/cosmos/auth/v1beta1/tx.rpc.react.d.ts +10 -1
- package/cosmos/auth/v1beta1/tx.rpc.react.js +10 -1
- package/cosmos/authz/module/v1/module.d.ts +18 -2
- package/cosmos/authz/module/v1/module.js +6 -0
- package/cosmos/authz/v1beta1/authz.d.ts +69 -6
- package/cosmos/authz/v1beta1/authz.js +36 -0
- package/cosmos/authz/v1beta1/event.d.ts +72 -16
- package/cosmos/authz/v1beta1/event.js +12 -0
- package/cosmos/authz/v1beta1/genesis.d.ts +18 -2
- package/cosmos/authz/v1beta1/genesis.js +10 -0
- package/cosmos/authz/v1beta1/query.d.ts +168 -32
- package/cosmos/authz/v1beta1/query.js +55 -0
- package/cosmos/authz/v1beta1/query.rpc.func.d.ts +25 -4
- package/cosmos/authz/v1beta1/query.rpc.func.js +26 -10
- package/cosmos/authz/v1beta1/query.rpc.react.d.ts +22 -0
- package/cosmos/authz/v1beta1/query.rpc.react.js +25 -3
- package/cosmos/authz/v1beta1/tx.d.ts +94 -6
- package/cosmos/authz/v1beta1/tx.js +43 -0
- package/cosmos/authz/v1beta1/tx.registry.d.ts +45 -0
- package/cosmos/authz/v1beta1/tx.registry.js +63 -1
- package/cosmos/authz/v1beta1/tx.rpc.func.d.ts +27 -4
- package/cosmos/authz/v1beta1/tx.rpc.func.js +31 -23
- package/cosmos/authz/v1beta1/tx.rpc.react.d.ts +27 -3
- package/cosmos/authz/v1beta1/tx.rpc.react.js +27 -3
- package/cosmos/autocli/v1/options.d.ts +208 -38
- package/cosmos/autocli/v1/options.js +54 -0
- package/cosmos/autocli/v1/query.d.ts +57 -6
- package/cosmos/autocli/v1/query.js +21 -0
- package/cosmos/autocli/v1/query.rpc.func.d.ts +7 -2
- package/cosmos/autocli/v1/query.rpc.func.js +8 -4
- package/cosmos/autocli/v1/query.rpc.react.d.ts +6 -0
- package/cosmos/autocli/v1/query.rpc.react.js +7 -1
- package/cosmos/bank/module/v1/module.d.ts +24 -4
- package/cosmos/bank/module/v1/module.js +6 -0
- package/cosmos/bank/v1beta1/authz.d.ts +15 -0
- package/cosmos/bank/v1beta1/authz.js +12 -0
- package/cosmos/bank/v1beta1/bank.d.ts +136 -18
- package/cosmos/bank/v1beta1/bank.js +63 -0
- package/cosmos/bank/v1beta1/genesis.d.ts +61 -12
- package/cosmos/bank/v1beta1/genesis.js +20 -0
- package/cosmos/bank/v1beta1/query.d.ts +619 -86
- package/cosmos/bank/v1beta1/query.js +263 -0
- package/cosmos/bank/v1beta1/query.rpc.func.d.ts +128 -14
- package/cosmos/bank/v1beta1/query.rpc.func.js +129 -40
- package/cosmos/bank/v1beta1/query.rpc.react.d.ts +115 -0
- package/cosmos/bank/v1beta1/query.rpc.react.js +128 -13
- package/cosmos/bank/v1beta1/tx.d.ts +151 -14
- package/cosmos/bank/v1beta1/tx.js +74 -0
- package/cosmos/bank/v1beta1/tx.registry.d.ts +57 -0
- package/cosmos/bank/v1beta1/tx.registry.js +81 -1
- package/cosmos/bank/v1beta1/tx.rpc.func.d.ts +36 -5
- package/cosmos/bank/v1beta1/tx.rpc.func.js +41 -30
- package/cosmos/bank/v1beta1/tx.rpc.react.d.ts +36 -4
- package/cosmos/bank/v1beta1/tx.rpc.react.js +36 -4
- package/cosmos/base/abci/v1beta1/abci.d.ts +331 -68
- package/cosmos/base/abci/v1beta1/abci.js +92 -0
- package/cosmos/base/node/v1beta1/query.d.ts +102 -18
- package/cosmos/base/node/v1beta1/query.js +24 -0
- package/cosmos/base/node/v1beta1/query.rpc.func.d.ts +14 -3
- package/cosmos/base/node/v1beta1/query.rpc.func.js +15 -7
- package/cosmos/base/node/v1beta1/query.rpc.react.d.ts +12 -0
- package/cosmos/base/node/v1beta1/query.rpc.react.js +14 -2
- package/cosmos/base/query/v1beta1/pagination.d.ts +36 -0
- package/cosmos/base/query/v1beta1/pagination.js +24 -0
- package/cosmos/base/reflection/v1beta1/reflection.d.ts +74 -8
- package/cosmos/base/reflection/v1beta1/reflection.js +26 -0
- package/cosmos/base/reflection/v1beta1/reflection.rpc.func.d.ts +16 -3
- package/cosmos/base/reflection/v1beta1/reflection.rpc.func.js +17 -7
- package/cosmos/base/reflection/v1beta1/reflection.rpc.react.d.ts +14 -0
- package/cosmos/base/reflection/v1beta1/reflection.rpc.react.js +16 -2
- package/cosmos/base/reflection/v2alpha1/reflection.d.ts +613 -98
- package/cosmos/base/reflection/v2alpha1/reflection.js +203 -0
- package/cosmos/base/reflection/v2alpha1/reflection.rpc.func.d.ts +44 -7
- package/cosmos/base/reflection/v2alpha1/reflection.rpc.func.js +45 -19
- package/cosmos/base/reflection/v2alpha1/reflection.rpc.react.d.ts +38 -0
- package/cosmos/base/reflection/v2alpha1/reflection.rpc.react.js +44 -6
- package/cosmos/base/tendermint/v1beta1/query.d.ts +417 -60
- package/cosmos/base/tendermint/v1beta1/query.js +154 -0
- package/cosmos/base/tendermint/v1beta1/query.rpc.func.d.ts +53 -8
- package/cosmos/base/tendermint/v1beta1/query.rpc.func.js +54 -22
- package/cosmos/base/tendermint/v1beta1/query.rpc.react.d.ts +46 -0
- package/cosmos/base/tendermint/v1beta1/query.rpc.react.js +53 -7
- package/cosmos/base/tendermint/v1beta1/types.d.ts +91 -22
- package/cosmos/base/tendermint/v1beta1/types.js +20 -0
- package/cosmos/base/v1beta1/coin.d.ts +56 -0
- package/cosmos/base/v1beta1/coin.js +32 -0
- package/cosmos/bundle.d.ts +188 -0
- package/cosmos/bundle.js +990 -0
- package/cosmos/consensus/module/v1/module.d.ts +24 -4
- package/cosmos/consensus/module/v1/module.js +6 -0
- package/cosmos/consensus/v1/query.d.ts +36 -4
- package/cosmos/consensus/v1/query.js +16 -0
- package/cosmos/consensus/v1/query.rpc.func.d.ts +7 -2
- package/cosmos/consensus/v1/query.rpc.func.js +8 -4
- package/cosmos/consensus/v1/query.rpc.react.d.ts +6 -0
- package/cosmos/consensus/v1/query.rpc.react.js +7 -1
- package/cosmos/consensus/v1/tx.d.ts +43 -6
- package/cosmos/consensus/v1/tx.js +17 -0
- package/cosmos/consensus/v1/tx.registry.d.ts +21 -0
- package/cosmos/consensus/v1/tx.registry.js +27 -1
- package/cosmos/consensus/v1/tx.rpc.func.d.ts +10 -2
- package/cosmos/consensus/v1/tx.rpc.func.js +12 -9
- package/cosmos/consensus/v1/tx.rpc.react.d.ts +10 -1
- package/cosmos/consensus/v1/tx.rpc.react.js +10 -1
- package/cosmos/crypto/multisig/v1beta1/multisig.d.ts +29 -0
- package/cosmos/crypto/multisig/v1beta1/multisig.js +17 -0
- package/cosmos/distribution/module/v1/module.d.ts +24 -4
- package/cosmos/distribution/module/v1/module.js +6 -0
- package/cosmos/distribution/v1beta1/distribution.d.ts +201 -12
- package/cosmos/distribution/v1beta1/distribution.js +132 -0
- package/cosmos/distribution/v1beta1/genesis.d.ts +298 -66
- package/cosmos/distribution/v1beta1/genesis.js +74 -0
- package/cosmos/distribution/v1beta1/query.d.ts +430 -58
- package/cosmos/distribution/v1beta1/query.js +164 -0
- package/cosmos/distribution/v1beta1/query.rpc.func.d.ts +71 -11
- package/cosmos/distribution/v1beta1/query.rpc.func.js +72 -31
- package/cosmos/distribution/v1beta1/query.rpc.react.d.ts +61 -0
- package/cosmos/distribution/v1beta1/query.rpc.react.js +71 -10
- package/cosmos/distribution/v1beta1/tx.d.ts +223 -10
- package/cosmos/distribution/v1beta1/tx.js +128 -0
- package/cosmos/distribution/v1beta1/tx.registry.d.ts +93 -0
- package/cosmos/distribution/v1beta1/tx.registry.js +135 -1
- package/cosmos/distribution/v1beta1/tx.rpc.func.d.ts +64 -8
- package/cosmos/distribution/v1beta1/tx.rpc.func.js +72 -51
- package/cosmos/distribution/v1beta1/tx.rpc.react.d.ts +64 -7
- package/cosmos/distribution/v1beta1/tx.rpc.react.js +64 -7
- package/cosmos/evidence/module/v1/module.d.ts +18 -2
- package/cosmos/evidence/module/v1/module.js +6 -0
- package/cosmos/evidence/v1beta1/evidence.d.ts +37 -8
- package/cosmos/evidence/v1beta1/evidence.js +7 -0
- package/cosmos/evidence/v1beta1/genesis.d.ts +24 -4
- package/cosmos/evidence/v1beta1/genesis.js +6 -0
- package/cosmos/evidence/v1beta1/query.d.ts +88 -14
- package/cosmos/evidence/v1beta1/query.js +33 -0
- package/cosmos/evidence/v1beta1/query.rpc.func.d.ts +14 -3
- package/cosmos/evidence/v1beta1/query.rpc.func.js +15 -7
- package/cosmos/evidence/v1beta1/query.rpc.react.d.ts +12 -0
- package/cosmos/evidence/v1beta1/query.rpc.react.js +14 -2
- package/cosmos/evidence/v1beta1/tx.d.ts +53 -9
- package/cosmos/evidence/v1beta1/tx.js +13 -0
- package/cosmos/evidence/v1beta1/tx.registry.d.ts +21 -0
- package/cosmos/evidence/v1beta1/tx.registry.js +27 -1
- package/cosmos/evidence/v1beta1/tx.rpc.func.d.ts +8 -2
- package/cosmos/evidence/v1beta1/tx.rpc.func.js +10 -9
- package/cosmos/evidence/v1beta1/tx.rpc.react.d.ts +8 -1
- package/cosmos/evidence/v1beta1/tx.rpc.react.js +8 -1
- package/cosmos/evm/feemarket/v1/events.d.ts +120 -0
- package/cosmos/evm/feemarket/v1/events.js +182 -0
- package/cosmos/evm/feemarket/v1/feemarket.d.ts +115 -0
- package/cosmos/evm/feemarket/v1/feemarket.js +160 -0
- package/cosmos/evm/feemarket/v1/genesis.d.ts +68 -0
- package/cosmos/evm/feemarket/v1/genesis.js +106 -0
- package/cosmos/evm/feemarket/v1/query.d.ts +315 -0
- package/cosmos/evm/feemarket/v1/query.js +473 -0
- package/cosmos/evm/feemarket/v1/query.rpc.func.d.ts +22 -0
- package/cosmos/evm/feemarket/v1/query.rpc.func.js +44 -0
- package/cosmos/evm/feemarket/v1/query.rpc.react.d.ts +22 -0
- package/cosmos/evm/feemarket/v1/query.rpc.react.js +35 -0
- package/cosmos/evm/feemarket/v1/tx.d.ts +118 -0
- package/cosmos/evm/feemarket/v1/tx.js +177 -0
- package/cosmos/evm/feemarket/v1/tx.registry.d.ts +23 -0
- package/cosmos/evm/feemarket/v1/tx.registry.js +31 -0
- package/cosmos/evm/feemarket/v1/tx.rpc.func.d.ts +10 -0
- package/cosmos/evm/feemarket/v1/tx.rpc.func.js +16 -0
- package/cosmos/evm/feemarket/v1/tx.rpc.react.d.ts +10 -0
- package/cosmos/evm/feemarket/v1/tx.rpc.react.js +16 -0
- package/cosmos/evm/vm/v1/events.d.ts +286 -0
- package/cosmos/evm/vm/v1/events.js +435 -0
- package/cosmos/evm/vm/v1/evm.d.ts +1090 -0
- package/cosmos/evm/vm/v1/evm.js +1617 -0
- package/cosmos/evm/vm/v1/genesis.d.ts +143 -0
- package/cosmos/evm/vm/v1/genesis.js +227 -0
- package/cosmos/evm/vm/v1/query.d.ts +1773 -0
- package/cosmos/evm/vm/v1/query.js +2680 -0
- package/cosmos/evm/vm/v1/query.rpc.func.d.ts +108 -0
- package/cosmos/evm/vm/v1/query.rpc.func.js +196 -0
- package/cosmos/evm/vm/v1/query.rpc.react.d.ts +108 -0
- package/cosmos/evm/vm/v1/query.rpc.react.js +153 -0
- package/cosmos/evm/vm/v1/tx.d.ts +747 -0
- package/cosmos/evm/vm/v1/tx.js +1132 -0
- package/cosmos/{crisis/v1beta1 → evm/vm/v1}/tx.registry.d.ts +7 -7
- package/cosmos/{crisis/v1beta1 → evm/vm/v1}/tx.registry.js +12 -12
- package/cosmos/evm/vm/v1/tx.rpc.func.d.ts +17 -0
- package/cosmos/evm/vm/v1/tx.rpc.func.js +25 -0
- package/cosmos/evm/vm/v1/tx.rpc.react.d.ts +17 -0
- package/cosmos/evm/vm/v1/tx.rpc.react.js +25 -0
- package/cosmos/feegrant/module/v1/module.d.ts +18 -2
- package/cosmos/feegrant/module/v1/module.js +6 -0
- package/cosmos/feegrant/v1beta1/feegrant.d.ts +118 -22
- package/cosmos/feegrant/v1beta1/feegrant.js +38 -0
- package/cosmos/feegrant/v1beta1/genesis.d.ts +18 -2
- package/cosmos/feegrant/v1beta1/genesis.js +10 -0
- package/cosmos/feegrant/v1beta1/query.d.ts +154 -26
- package/cosmos/feegrant/v1beta1/query.js +56 -0
- package/cosmos/feegrant/v1beta1/query.rpc.func.d.ts +23 -4
- package/cosmos/feegrant/v1beta1/query.rpc.func.js +24 -10
- package/cosmos/feegrant/v1beta1/query.rpc.react.d.ts +20 -0
- package/cosmos/feegrant/v1beta1/query.rpc.react.js +23 -3
- package/cosmos/feegrant/v1beta1/tx.d.ts +135 -19
- package/cosmos/feegrant/v1beta1/tx.js +44 -0
- package/cosmos/feegrant/v1beta1/tx.registry.d.ts +45 -0
- package/cosmos/feegrant/v1beta1/tx.registry.js +63 -1
- package/cosmos/feegrant/v1beta1/tx.rpc.func.d.ts +25 -4
- package/cosmos/feegrant/v1beta1/tx.rpc.func.js +29 -23
- package/cosmos/feegrant/v1beta1/tx.rpc.react.d.ts +25 -3
- package/cosmos/feegrant/v1beta1/tx.rpc.react.js +25 -3
- package/cosmos/gov/module/v1/module.d.ts +24 -4
- package/cosmos/gov/module/v1/module.js +6 -0
- package/cosmos/gov/v1/genesis.d.ts +48 -16
- package/cosmos/gov/v1/genesis.js +10 -0
- package/cosmos/gov/v1/gov.d.ts +343 -80
- package/cosmos/gov/v1/gov.js +77 -0
- package/cosmos/gov/v1/query.d.ts +469 -88
- package/cosmos/gov/v1/query.js +143 -0
- package/cosmos/gov/v1/query.rpc.func.d.ts +63 -10
- package/cosmos/gov/v1/query.rpc.func.js +64 -28
- package/cosmos/gov/v1/query.rpc.react.d.ts +54 -0
- package/cosmos/gov/v1/query.rpc.react.js +63 -9
- package/cosmos/gov/v1/tx.d.ts +377 -67
- package/cosmos/gov/v1/tx.js +111 -3
- package/cosmos/gov/v1/tx.registry.d.ts +93 -0
- package/cosmos/gov/v1/tx.registry.js +135 -1
- package/cosmos/gov/v1/tx.rpc.func.d.ts +55 -8
- package/cosmos/gov/v1/tx.rpc.func.js +63 -51
- package/cosmos/gov/v1/tx.rpc.react.d.ts +55 -7
- package/cosmos/gov/v1/tx.rpc.react.js +55 -7
- package/cosmos/gov/v1beta1/genesis.d.ts +60 -16
- package/cosmos/gov/v1beta1/genesis.js +10 -0
- package/cosmos/gov/v1beta1/gov.d.ts +294 -63
- package/cosmos/gov/v1beta1/gov.js +74 -3
- package/cosmos/gov/v1beta1/query.d.ts +439 -82
- package/cosmos/gov/v1beta1/query.js +131 -0
- package/cosmos/gov/v1beta1/query.rpc.func.d.ts +56 -9
- package/cosmos/gov/v1beta1/query.rpc.func.js +57 -25
- package/cosmos/gov/v1beta1/query.rpc.react.d.ts +48 -0
- package/cosmos/gov/v1beta1/query.rpc.react.js +56 -8
- package/cosmos/gov/v1beta1/tx.d.ts +214 -39
- package/cosmos/gov/v1beta1/tx.js +62 -3
- package/cosmos/gov/v1beta1/tx.registry.d.ts +57 -0
- package/cosmos/gov/v1beta1/tx.registry.js +81 -1
- package/cosmos/gov/v1beta1/tx.rpc.func.d.ts +30 -5
- package/cosmos/gov/v1beta1/tx.rpc.func.js +35 -30
- package/cosmos/gov/v1beta1/tx.rpc.react.d.ts +30 -4
- package/cosmos/gov/v1beta1/tx.rpc.react.js +30 -4
- package/cosmos/ics23/v1/proofs.d.ts +294 -22
- package/cosmos/ics23/v1/proofs.js +169 -0
- package/cosmos/mint/module/v1/module.d.ts +24 -4
- package/cosmos/mint/module/v1/module.js +6 -0
- package/cosmos/mint/v1beta1/genesis.d.ts +30 -6
- package/cosmos/mint/v1beta1/genesis.js +10 -0
- package/cosmos/mint/v1beta1/mint.d.ts +84 -20
- package/cosmos/mint/v1beta1/mint.js +12 -0
- package/cosmos/mint/v1beta1/query.d.ts +111 -12
- package/cosmos/mint/v1beta1/query.js +43 -0
- package/cosmos/mint/v1beta1/query.rpc.func.d.ts +21 -4
- package/cosmos/mint/v1beta1/query.rpc.func.js +22 -10
- package/cosmos/mint/v1beta1/query.rpc.react.d.ts +18 -0
- package/cosmos/mint/v1beta1/query.rpc.react.js +21 -3
- package/cosmos/mint/v1beta1/tx.d.ts +35 -2
- package/cosmos/mint/v1beta1/tx.js +21 -0
- package/cosmos/mint/v1beta1/tx.registry.d.ts +21 -0
- package/cosmos/mint/v1beta1/tx.registry.js +27 -1
- package/cosmos/mint/v1beta1/tx.rpc.func.d.ts +10 -2
- package/cosmos/mint/v1beta1/tx.rpc.func.js +12 -9
- package/cosmos/mint/v1beta1/tx.rpc.react.d.ts +10 -1
- package/cosmos/mint/v1beta1/tx.rpc.react.js +10 -1
- package/cosmos/params/module/v1/module.d.ts +18 -2
- package/cosmos/params/module/v1/module.js +6 -0
- package/cosmos/params/v1beta1/params.d.ts +31 -2
- package/cosmos/params/v1beta1/params.js +16 -0
- package/cosmos/params/v1beta1/query.d.ts +99 -10
- package/cosmos/params/v1beta1/query.js +46 -0
- package/cosmos/params/v1beta1/query.rpc.func.d.ts +17 -3
- package/cosmos/params/v1beta1/query.rpc.func.js +18 -7
- package/cosmos/params/v1beta1/query.rpc.react.d.ts +15 -0
- package/cosmos/params/v1beta1/query.rpc.react.js +17 -2
- package/cosmos/slashing/module/v1/module.d.ts +24 -4
- package/cosmos/slashing/module/v1/module.js +6 -0
- package/cosmos/slashing/v1beta1/genesis.d.ts +109 -20
- package/cosmos/slashing/v1beta1/genesis.js +35 -0
- package/cosmos/slashing/v1beta1/query.d.ts +106 -10
- package/cosmos/slashing/v1beta1/query.js +53 -0
- package/cosmos/slashing/v1beta1/query.rpc.func.d.ts +21 -4
- package/cosmos/slashing/v1beta1/query.rpc.func.js +22 -10
- package/cosmos/slashing/v1beta1/query.rpc.react.d.ts +18 -0
- package/cosmos/slashing/v1beta1/query.rpc.react.js +21 -3
- package/cosmos/slashing/v1beta1/slashing.d.ts +43 -6
- package/cosmos/slashing/v1beta1/slashing.js +13 -0
- package/cosmos/slashing/v1beta1/tx.d.ts +71 -6
- package/cosmos/slashing/v1beta1/tx.js +33 -0
- package/cosmos/slashing/v1beta1/tx.registry.d.ts +33 -0
- package/cosmos/slashing/v1beta1/tx.registry.js +45 -1
- package/cosmos/slashing/v1beta1/tx.rpc.func.d.ts +19 -3
- package/cosmos/slashing/v1beta1/tx.rpc.func.js +22 -16
- package/cosmos/slashing/v1beta1/tx.rpc.react.d.ts +19 -2
- package/cosmos/slashing/v1beta1/tx.rpc.react.js +19 -2
- package/cosmos/staking/module/v1/module.d.ts +36 -8
- package/cosmos/staking/module/v1/module.js +6 -0
- package/cosmos/staking/v1beta1/authz.d.ts +44 -6
- package/cosmos/staking/v1beta1/authz.js +17 -0
- package/cosmos/staking/v1beta1/genesis.d.ts +84 -20
- package/cosmos/staking/v1beta1/genesis.js +16 -0
- package/cosmos/staking/v1beta1/query.d.ts +660 -102
- package/cosmos/staking/v1beta1/query.js +250 -0
- package/cosmos/staking/v1beta1/query.rpc.func.d.ts +123 -15
- package/cosmos/staking/v1beta1/query.rpc.func.js +124 -43
- package/cosmos/staking/v1beta1/query.rpc.react.d.ts +109 -0
- package/cosmos/staking/v1beta1/query.rpc.react.js +123 -14
- package/cosmos/staking/v1beta1/staking.d.ts +631 -117
- package/cosmos/staking/v1beta1/staking.js +186 -0
- package/cosmos/staking/v1beta1/tx.d.ts +242 -22
- package/cosmos/staking/v1beta1/tx.js +120 -0
- package/cosmos/staking/v1beta1/tx.registry.d.ts +93 -0
- package/cosmos/staking/v1beta1/tx.registry.js +135 -1
- package/cosmos/staking/v1beta1/tx.rpc.func.d.ts +57 -8
- package/cosmos/staking/v1beta1/tx.rpc.func.js +65 -51
- package/cosmos/staking/v1beta1/tx.rpc.react.d.ts +57 -7
- package/cosmos/staking/v1beta1/tx.rpc.react.js +57 -7
- package/cosmos/tx/config/v1/config.d.ts +18 -2
- package/cosmos/tx/config/v1/config.js +6 -0
- package/cosmos/tx/signing/v1beta1/signing.d.ts +135 -24
- package/cosmos/tx/signing/v1beta1/signing.js +46 -0
- package/cosmos/tx/v1beta1/service.d.ts +375 -46
- package/cosmos/tx/v1beta1/service.js +176 -0
- package/cosmos/tx/v1beta1/service.rpc.func.d.ts +73 -10
- package/cosmos/tx/v1beta1/service.rpc.func.js +74 -28
- package/cosmos/tx/v1beta1/service.rpc.react.d.ts +67 -3
- package/cosmos/tx/v1beta1/service.rpc.react.js +77 -13
- package/cosmos/tx/v1beta1/tx.d.ts +303 -46
- package/cosmos/tx/v1beta1/tx.js +127 -0
- package/cosmos/upgrade/module/v1/module.d.ts +24 -4
- package/cosmos/upgrade/module/v1/module.js +6 -0
- package/cosmos/upgrade/v1beta1/query.d.ts +172 -14
- package/cosmos/upgrade/v1beta1/query.js +85 -0
- package/cosmos/upgrade/v1beta1/query.rpc.func.d.ts +45 -6
- package/cosmos/upgrade/v1beta1/query.rpc.func.js +46 -16
- package/cosmos/upgrade/v1beta1/query.rpc.react.d.ts +40 -0
- package/cosmos/upgrade/v1beta1/query.rpc.react.js +45 -5
- package/cosmos/upgrade/v1beta1/tx.d.ts +74 -6
- package/cosmos/upgrade/v1beta1/tx.js +36 -0
- package/cosmos/upgrade/v1beta1/tx.registry.d.ts +33 -0
- package/cosmos/upgrade/v1beta1/tx.registry.js +45 -1
- package/cosmos/upgrade/v1beta1/tx.rpc.func.d.ts +19 -3
- package/cosmos/upgrade/v1beta1/tx.rpc.func.js +22 -16
- package/cosmos/upgrade/v1beta1/tx.rpc.react.d.ts +19 -2
- package/cosmos/upgrade/v1beta1/tx.rpc.react.js +19 -2
- package/cosmos/upgrade/v1beta1/upgrade.d.ts +120 -26
- package/cosmos/upgrade/v1beta1/upgrade.js +40 -0
- package/cosmos_proto/bundle.d.ts +1 -0
- package/cosmos_proto/bundle.js +8 -0
- package/cosmos_proto/cosmos.d.ts +31 -0
- package/cosmos_proto/cosmos.js +19 -0
- package/cosmwasm/bundle.d.ts +12 -0
- package/cosmwasm/bundle.js +174 -0
- package/cosmwasm/wasm/v1/authz.d.ts +212 -22
- package/cosmwasm/wasm/v1/authz.js +113 -0
- package/cosmwasm/wasm/v1/genesis.d.ts +78 -10
- package/cosmwasm/wasm/v1/genesis.js +34 -0
- package/cosmwasm/wasm/v1/ibc.d.ts +84 -12
- package/cosmwasm/wasm/v1/ibc.js +24 -0
- package/cosmwasm/wasm/v1/proposal_legacy.d.ts +631 -158
- package/cosmwasm/wasm/v1/proposal_legacy.js +166 -0
- package/cosmwasm/wasm/v1/query.d.ts +761 -76
- package/cosmwasm/wasm/v1/query.js +581 -1
- package/cosmwasm/wasm/v1/query.rpc.func.d.ts +100 -14
- package/cosmwasm/wasm/v1/query.rpc.func.js +112 -37
- package/cosmwasm/wasm/v1/query.rpc.react.d.ts +88 -1
- package/cosmwasm/wasm/v1/query.rpc.react.js +106 -13
- package/cosmwasm/wasm/v1/tx.d.ts +956 -170
- package/cosmwasm/wasm/v1/tx.js +267 -0
- package/cosmwasm/wasm/v1/tx.registry.d.ts +213 -0
- package/cosmwasm/wasm/v1/tx.registry.js +315 -1
- package/cosmwasm/wasm/v1/tx.rpc.func.d.ts +145 -18
- package/cosmwasm/wasm/v1/tx.rpc.func.js +180 -138
- package/cosmwasm/wasm/v1/tx.rpc.react.d.ts +145 -17
- package/cosmwasm/wasm/v1/tx.rpc.react.js +161 -33
- package/cosmwasm/wasm/v1/types.d.ts +217 -40
- package/cosmwasm/wasm/v1/types.js +58 -0
- package/esm/binary.js +1 -1
- package/esm/cosmos/app/runtime/v1alpha1/module.js +17 -0
- package/esm/cosmos/app/v1alpha1/config.js +31 -0
- package/esm/cosmos/app/v1alpha1/module.js +23 -0
- package/esm/cosmos/app/v1alpha1/query.js +16 -0
- package/esm/cosmos/app/v1alpha1/query.rpc.func.js +7 -2
- package/esm/cosmos/app/v1alpha1/query.rpc.react.js +8 -2
- package/esm/cosmos/auth/module/v1/module.js +16 -0
- package/esm/cosmos/auth/v1beta1/auth.js +34 -0
- package/esm/cosmos/auth/v1beta1/genesis.js +6 -0
- package/esm/cosmos/auth/v1beta1/query.js +169 -0
- package/esm/cosmos/auth/v1beta1/query.rpc.func.js +87 -20
- package/esm/cosmos/auth/v1beta1/query.rpc.react.js +88 -11
- package/esm/cosmos/auth/v1beta1/tx.js +21 -0
- package/esm/cosmos/auth/v1beta1/tx.registry.js +26 -0
- package/esm/cosmos/auth/v1beta1/tx.rpc.func.js +11 -7
- package/esm/cosmos/auth/v1beta1/tx.rpc.react.js +11 -2
- package/esm/cosmos/authz/module/v1/module.js +6 -0
- package/esm/cosmos/authz/v1beta1/authz.js +36 -0
- package/esm/cosmos/authz/v1beta1/event.js +12 -0
- package/esm/cosmos/authz/v1beta1/genesis.js +10 -0
- package/esm/cosmos/authz/v1beta1/query.js +55 -0
- package/esm/cosmos/authz/v1beta1/query.rpc.func.js +25 -6
- package/esm/cosmos/authz/v1beta1/query.rpc.react.js +26 -4
- package/esm/cosmos/authz/v1beta1/tx.js +43 -0
- package/esm/cosmos/authz/v1beta1/tx.registry.js +62 -0
- package/esm/cosmos/authz/v1beta1/tx.rpc.func.js +30 -19
- package/esm/cosmos/authz/v1beta1/tx.rpc.react.js +28 -4
- package/esm/cosmos/autocli/v1/options.js +54 -0
- package/esm/cosmos/autocli/v1/query.js +21 -0
- package/esm/cosmos/autocli/v1/query.rpc.func.js +7 -2
- package/esm/cosmos/autocli/v1/query.rpc.react.js +8 -2
- package/esm/cosmos/bank/module/v1/module.js +6 -0
- package/esm/cosmos/bank/v1beta1/authz.js +12 -0
- package/esm/cosmos/bank/v1beta1/bank.js +63 -0
- package/esm/cosmos/bank/v1beta1/genesis.js +20 -0
- package/esm/cosmos/bank/v1beta1/query.js +263 -0
- package/esm/cosmos/bank/v1beta1/query.rpc.func.js +128 -26
- package/esm/cosmos/bank/v1beta1/query.rpc.react.js +129 -14
- package/esm/cosmos/bank/v1beta1/tx.js +74 -0
- package/esm/cosmos/bank/v1beta1/tx.registry.js +80 -0
- package/esm/cosmos/bank/v1beta1/tx.rpc.func.js +40 -25
- package/esm/cosmos/bank/v1beta1/tx.rpc.react.js +37 -5
- package/esm/cosmos/base/abci/v1beta1/abci.js +92 -0
- package/esm/cosmos/base/node/v1beta1/query.js +24 -0
- package/esm/cosmos/base/node/v1beta1/query.rpc.func.js +14 -4
- package/esm/cosmos/base/node/v1beta1/query.rpc.react.js +15 -3
- package/esm/cosmos/base/query/v1beta1/pagination.js +24 -0
- package/esm/cosmos/base/reflection/v1beta1/reflection.js +26 -0
- package/esm/cosmos/base/reflection/v1beta1/reflection.rpc.func.js +16 -4
- package/esm/cosmos/base/reflection/v1beta1/reflection.rpc.react.js +17 -3
- package/esm/cosmos/base/reflection/v2alpha1/reflection.js +203 -0
- package/esm/cosmos/base/reflection/v2alpha1/reflection.rpc.func.js +44 -12
- package/esm/cosmos/base/reflection/v2alpha1/reflection.rpc.react.js +45 -7
- package/esm/cosmos/base/tendermint/v1beta1/query.js +154 -0
- package/esm/cosmos/base/tendermint/v1beta1/query.rpc.func.js +53 -14
- package/esm/cosmos/base/tendermint/v1beta1/query.rpc.react.js +54 -8
- package/esm/cosmos/base/tendermint/v1beta1/types.js +20 -0
- package/esm/cosmos/base/v1beta1/coin.js +32 -0
- package/esm/cosmos/bundle.js +188 -0
- package/esm/cosmos/consensus/module/v1/module.js +6 -0
- package/esm/cosmos/consensus/v1/query.js +16 -0
- package/esm/cosmos/consensus/v1/query.rpc.func.js +7 -2
- package/esm/cosmos/consensus/v1/query.rpc.react.js +8 -2
- package/esm/cosmos/consensus/v1/tx.js +17 -0
- package/esm/cosmos/consensus/v1/tx.registry.js +26 -0
- package/esm/cosmos/consensus/v1/tx.rpc.func.js +11 -7
- package/esm/cosmos/consensus/v1/tx.rpc.react.js +11 -2
- package/esm/cosmos/crypto/multisig/v1beta1/multisig.js +17 -0
- package/esm/cosmos/distribution/module/v1/module.js +6 -0
- package/esm/cosmos/distribution/v1beta1/distribution.js +132 -0
- package/esm/cosmos/distribution/v1beta1/genesis.js +74 -0
- package/esm/cosmos/distribution/v1beta1/query.js +164 -0
- package/esm/cosmos/distribution/v1beta1/query.rpc.func.js +71 -20
- package/esm/cosmos/distribution/v1beta1/query.rpc.react.js +72 -11
- package/esm/cosmos/distribution/v1beta1/tx.js +128 -0
- package/esm/cosmos/distribution/v1beta1/tx.registry.js +134 -0
- package/esm/cosmos/distribution/v1beta1/tx.rpc.func.js +71 -43
- package/esm/cosmos/distribution/v1beta1/tx.rpc.react.js +65 -8
- package/esm/cosmos/evidence/module/v1/module.js +6 -0
- package/esm/cosmos/evidence/v1beta1/evidence.js +7 -0
- package/esm/cosmos/evidence/v1beta1/genesis.js +6 -0
- package/esm/cosmos/evidence/v1beta1/query.js +33 -0
- package/esm/cosmos/evidence/v1beta1/query.rpc.func.js +14 -4
- package/esm/cosmos/evidence/v1beta1/query.rpc.react.js +15 -3
- package/esm/cosmos/evidence/v1beta1/tx.js +13 -0
- package/esm/cosmos/evidence/v1beta1/tx.registry.js +26 -0
- package/esm/cosmos/evidence/v1beta1/tx.rpc.func.js +9 -7
- package/esm/cosmos/evidence/v1beta1/tx.rpc.react.js +9 -2
- package/esm/cosmos/evm/feemarket/v1/events.js +179 -0
- package/esm/cosmos/evm/feemarket/v1/feemarket.js +157 -0
- package/esm/cosmos/evm/feemarket/v1/genesis.js +103 -0
- package/esm/cosmos/evm/feemarket/v1/query.js +470 -0
- package/esm/cosmos/evm/feemarket/v1/query.rpc.func.js +41 -0
- package/esm/cosmos/evm/feemarket/v1/query.rpc.react.js +32 -0
- package/esm/cosmos/evm/feemarket/v1/tx.js +174 -0
- package/esm/cosmos/evm/feemarket/v1/tx.registry.js +28 -0
- package/esm/cosmos/evm/feemarket/v1/tx.rpc.func.js +13 -0
- package/esm/cosmos/evm/feemarket/v1/tx.rpc.react.js +13 -0
- package/esm/cosmos/evm/vm/v1/events.js +432 -0
- package/esm/cosmos/evm/vm/v1/evm.js +1612 -0
- package/esm/cosmos/evm/vm/v1/genesis.js +224 -0
- package/esm/cosmos/evm/vm/v1/query.js +2677 -0
- package/esm/cosmos/evm/vm/v1/query.rpc.func.js +193 -0
- package/esm/cosmos/evm/vm/v1/query.rpc.react.js +150 -0
- package/esm/cosmos/evm/vm/v1/tx.js +1129 -0
- package/esm/cosmos/evm/vm/v1/tx.registry.js +46 -0
- package/esm/cosmos/evm/vm/v1/tx.rpc.func.js +22 -0
- package/esm/cosmos/evm/vm/v1/tx.rpc.react.js +22 -0
- package/esm/cosmos/feegrant/module/v1/module.js +6 -0
- package/esm/cosmos/feegrant/v1beta1/feegrant.js +38 -0
- package/esm/cosmos/feegrant/v1beta1/genesis.js +10 -0
- package/esm/cosmos/feegrant/v1beta1/query.js +56 -0
- package/esm/cosmos/feegrant/v1beta1/query.rpc.func.js +23 -6
- package/esm/cosmos/feegrant/v1beta1/query.rpc.react.js +24 -4
- package/esm/cosmos/feegrant/v1beta1/tx.js +44 -0
- package/esm/cosmos/feegrant/v1beta1/tx.registry.js +62 -0
- package/esm/cosmos/feegrant/v1beta1/tx.rpc.func.js +28 -19
- package/esm/cosmos/feegrant/v1beta1/tx.rpc.react.js +26 -4
- package/esm/cosmos/gov/module/v1/module.js +6 -0
- package/esm/cosmos/gov/v1/genesis.js +10 -0
- package/esm/cosmos/gov/v1/gov.js +77 -0
- package/esm/cosmos/gov/v1/query.js +143 -0
- package/esm/cosmos/gov/v1/query.rpc.func.js +63 -18
- package/esm/cosmos/gov/v1/query.rpc.react.js +64 -10
- package/esm/cosmos/gov/v1/tx.js +111 -3
- package/esm/cosmos/gov/v1/tx.registry.js +134 -0
- package/esm/cosmos/gov/v1/tx.rpc.func.js +62 -43
- package/esm/cosmos/gov/v1/tx.rpc.react.js +56 -8
- package/esm/cosmos/gov/v1beta1/genesis.js +10 -0
- package/esm/cosmos/gov/v1beta1/gov.js +74 -3
- package/esm/cosmos/gov/v1beta1/query.js +131 -0
- package/esm/cosmos/gov/v1beta1/query.rpc.func.js +56 -16
- package/esm/cosmos/gov/v1beta1/query.rpc.react.js +57 -9
- package/esm/cosmos/gov/v1beta1/tx.js +62 -3
- package/esm/cosmos/gov/v1beta1/tx.registry.js +80 -0
- package/esm/cosmos/gov/v1beta1/tx.rpc.func.js +34 -25
- package/esm/cosmos/gov/v1beta1/tx.rpc.react.js +31 -5
- package/esm/cosmos/ics23/v1/proofs.js +169 -0
- package/esm/cosmos/mint/module/v1/module.js +6 -0
- package/esm/cosmos/mint/v1beta1/genesis.js +10 -0
- package/esm/cosmos/mint/v1beta1/mint.js +12 -0
- package/esm/cosmos/mint/v1beta1/query.js +43 -0
- package/esm/cosmos/mint/v1beta1/query.rpc.func.js +21 -6
- package/esm/cosmos/mint/v1beta1/query.rpc.react.js +22 -4
- package/esm/cosmos/mint/v1beta1/tx.js +21 -0
- package/esm/cosmos/mint/v1beta1/tx.registry.js +26 -0
- package/esm/cosmos/mint/v1beta1/tx.rpc.func.js +11 -7
- package/esm/cosmos/mint/v1beta1/tx.rpc.react.js +11 -2
- package/esm/cosmos/params/module/v1/module.js +6 -0
- package/esm/cosmos/params/v1beta1/params.js +16 -0
- package/esm/cosmos/params/v1beta1/query.js +46 -0
- package/esm/cosmos/params/v1beta1/query.rpc.func.js +17 -4
- package/esm/cosmos/params/v1beta1/query.rpc.react.js +18 -3
- package/esm/cosmos/slashing/module/v1/module.js +6 -0
- package/esm/cosmos/slashing/v1beta1/genesis.js +35 -0
- package/esm/cosmos/slashing/v1beta1/query.js +53 -0
- package/esm/cosmos/slashing/v1beta1/query.rpc.func.js +21 -6
- package/esm/cosmos/slashing/v1beta1/query.rpc.react.js +22 -4
- package/esm/cosmos/slashing/v1beta1/slashing.js +13 -0
- package/esm/cosmos/slashing/v1beta1/tx.js +33 -0
- package/esm/cosmos/slashing/v1beta1/tx.registry.js +44 -0
- package/esm/cosmos/slashing/v1beta1/tx.rpc.func.js +21 -13
- package/esm/cosmos/slashing/v1beta1/tx.rpc.react.js +20 -3
- package/esm/cosmos/staking/module/v1/module.js +6 -0
- package/esm/cosmos/staking/v1beta1/authz.js +17 -0
- package/esm/cosmos/staking/v1beta1/genesis.js +16 -0
- package/esm/cosmos/staking/v1beta1/query.js +250 -0
- package/esm/cosmos/staking/v1beta1/query.rpc.func.js +123 -28
- package/esm/cosmos/staking/v1beta1/query.rpc.react.js +124 -15
- package/esm/cosmos/staking/v1beta1/staking.js +186 -0
- package/esm/cosmos/staking/v1beta1/tx.js +120 -0
- package/esm/cosmos/staking/v1beta1/tx.registry.js +134 -0
- package/esm/cosmos/staking/v1beta1/tx.rpc.func.js +64 -43
- package/esm/cosmos/staking/v1beta1/tx.rpc.react.js +58 -8
- package/esm/cosmos/tx/config/v1/config.js +6 -0
- package/esm/cosmos/tx/signing/v1beta1/signing.js +46 -0
- package/esm/cosmos/tx/v1beta1/service.js +176 -0
- package/esm/cosmos/tx/v1beta1/service.rpc.func.js +73 -18
- package/esm/cosmos/tx/v1beta1/service.rpc.react.js +77 -13
- package/esm/cosmos/tx/v1beta1/tx.js +127 -0
- package/esm/cosmos/upgrade/module/v1/module.js +6 -0
- package/esm/cosmos/upgrade/v1beta1/query.js +85 -0
- package/esm/cosmos/upgrade/v1beta1/query.rpc.func.js +45 -10
- package/esm/cosmos/upgrade/v1beta1/query.rpc.react.js +46 -6
- package/esm/cosmos/upgrade/v1beta1/tx.js +36 -0
- package/esm/cosmos/upgrade/v1beta1/tx.registry.js +44 -0
- package/esm/cosmos/upgrade/v1beta1/tx.rpc.func.js +21 -13
- package/esm/cosmos/upgrade/v1beta1/tx.rpc.react.js +20 -3
- package/esm/cosmos/upgrade/v1beta1/upgrade.js +40 -0
- package/esm/cosmos_proto/bundle.js +1 -0
- package/esm/cosmos_proto/cosmos.js +19 -0
- package/esm/cosmwasm/bundle.js +12 -0
- package/esm/cosmwasm/wasm/v1/authz.js +113 -0
- package/esm/cosmwasm/wasm/v1/genesis.js +34 -0
- package/esm/cosmwasm/wasm/v1/ibc.js +24 -0
- package/esm/cosmwasm/wasm/v1/proposal_legacy.js +166 -0
- package/esm/cosmwasm/wasm/v1/query.js +580 -0
- package/esm/cosmwasm/wasm/v1/query.rpc.func.js +112 -25
- package/esm/cosmwasm/wasm/v1/query.rpc.react.js +106 -13
- package/esm/cosmwasm/wasm/v1/tx.js +267 -0
- package/esm/cosmwasm/wasm/v1/tx.registry.js +314 -0
- package/esm/cosmwasm/wasm/v1/tx.rpc.func.js +178 -119
- package/esm/cosmwasm/wasm/v1/tx.rpc.react.js +162 -34
- package/esm/cosmwasm/wasm/v1/types.js +58 -0
- package/esm/ethermint/bundle.js +25 -0
- package/esm/ethermint/crypto/v1/ethsecp256k1/keys.js +15 -0
- package/esm/ethermint/evm/v1/events.js +24 -0
- package/esm/ethermint/evm/v1/evm.js +69 -0
- package/esm/ethermint/evm/v1/genesis.js +21 -0
- package/esm/ethermint/evm/v1/query.js +167 -0
- package/esm/ethermint/evm/v1/query.rpc.func.js +87 -24
- package/esm/ethermint/evm/v1/query.rpc.react.js +88 -13
- package/esm/ethermint/evm/v1/tx.js +66 -0
- package/esm/ethermint/evm/v1/tx.registry.js +44 -0
- package/esm/ethermint/evm/v1/tx.rpc.func.js +17 -13
- package/esm/ethermint/evm/v1/tx.rpc.react.js +16 -3
- package/esm/ethermint/feemarket/v1/events.js +12 -0
- package/esm/ethermint/feemarket/v1/feemarket.js +6 -0
- package/esm/ethermint/feemarket/v1/genesis.js +10 -0
- package/esm/ethermint/feemarket/v1/query.js +42 -0
- package/esm/ethermint/feemarket/v1/query.rpc.func.js +21 -6
- package/esm/ethermint/feemarket/v1/query.rpc.react.js +22 -4
- package/esm/ethermint/feemarket/v1/tx.js +17 -0
- package/esm/ethermint/feemarket/v1/tx.registry.js +26 -0
- package/esm/ethermint/feemarket/v1/tx.rpc.func.js +9 -7
- package/esm/ethermint/feemarket/v1/tx.rpc.react.js +9 -2
- package/esm/ethermint/types/v1/account.js +10 -0
- package/esm/ethermint/types/v1/dynamic_fee.js +6 -0
- package/esm/ethermint/types/v1/indexer.js +6 -0
- package/esm/ethermint/types/v1/web3.js +7 -0
- package/esm/extern.js +14 -4
- package/esm/google/api/http.js +290 -0
- package/esm/google/bundle.js +5 -0
- package/esm/google/protobuf/any.js +90 -0
- package/esm/google/protobuf/descriptor.js +553 -11
- package/esm/google/protobuf/duration.js +63 -0
- package/esm/google/protobuf/timestamp.js +94 -0
- package/esm/helper-func-types.js +14 -22
- package/esm/helpers.js +1 -1
- package/esm/ibc/applications/interchain_accounts/controller/v1/controller.js +7 -0
- package/esm/ibc/applications/interchain_accounts/controller/v1/query.js +28 -0
- package/esm/ibc/applications/interchain_accounts/controller/v1/query.rpc.func.js +14 -4
- package/esm/ibc/applications/interchain_accounts/controller/v1/query.rpc.react.js +15 -3
- package/esm/ibc/applications/interchain_accounts/controller/v1/tx.js +43 -0
- package/esm/ibc/applications/interchain_accounts/controller/v1/tx.registry.js +62 -0
- package/esm/ibc/applications/interchain_accounts/controller/v1/tx.rpc.func.js +24 -19
- package/esm/ibc/applications/interchain_accounts/controller/v1/tx.rpc.react.js +22 -4
- package/esm/ibc/applications/interchain_accounts/genesis/v1/genesis.js +41 -0
- package/esm/ibc/applications/interchain_accounts/host/v1/host.js +14 -0
- package/esm/ibc/applications/interchain_accounts/host/v1/query.js +16 -0
- package/esm/ibc/applications/interchain_accounts/host/v1/query.rpc.func.js +7 -2
- package/esm/ibc/applications/interchain_accounts/host/v1/query.rpc.react.js +8 -2
- package/esm/ibc/applications/interchain_accounts/host/v1/tx.js +31 -0
- package/esm/ibc/applications/interchain_accounts/host/v1/tx.registry.js +44 -0
- package/esm/ibc/applications/interchain_accounts/host/v1/tx.rpc.func.js +16 -13
- package/esm/ibc/applications/interchain_accounts/host/v1/tx.rpc.react.js +15 -3
- package/esm/ibc/applications/interchain_accounts/v1/account.js +9 -0
- package/esm/ibc/applications/interchain_accounts/v1/metadata.js +7 -0
- package/esm/ibc/applications/interchain_accounts/v1/packet.js +12 -0
- package/esm/ibc/applications/transfer/v1/authz.js +19 -0
- package/esm/ibc/applications/transfer/v1/denomtrace.js +98 -0
- package/esm/ibc/applications/transfer/v1/genesis.js +24 -13
- package/esm/ibc/applications/transfer/{v2 → v1}/packet.js +10 -2
- package/esm/ibc/applications/transfer/v1/query.js +270 -175
- package/esm/ibc/applications/transfer/v1/query.rpc.func.js +55 -25
- package/esm/ibc/applications/transfer/v1/query.rpc.react.js +49 -13
- package/esm/ibc/applications/transfer/v1/token.js +300 -0
- package/esm/ibc/applications/transfer/v1/transfer.js +9 -89
- package/esm/ibc/applications/transfer/v1/tx.js +49 -3
- package/esm/ibc/applications/transfer/v1/tx.registry.js +44 -0
- package/esm/ibc/applications/transfer/v1/tx.rpc.func.js +16 -13
- package/esm/ibc/applications/transfer/v1/tx.rpc.react.js +15 -3
- package/esm/ibc/bundle.js +94 -0
- package/esm/ibc/core/channel/v1/channel.js +84 -124
- package/esm/ibc/core/channel/v1/genesis.js +21 -17
- package/esm/ibc/core/channel/v1/query.js +252 -530
- package/esm/ibc/core/channel/v1/query.rpc.func.js +107 -53
- package/esm/ibc/core/channel/v1/query.rpc.react.js +107 -27
- package/esm/ibc/core/channel/v1/tx.js +164 -1970
- package/esm/ibc/core/channel/v1/tx.registry.js +190 -2
- package/esm/ibc/core/channel/v1/tx.rpc.func.js +91 -134
- package/esm/ibc/core/channel/v1/tx.rpc.react.js +81 -47
- package/esm/ibc/core/channel/v2/genesis.js +360 -0
- package/esm/ibc/core/channel/v2/packet.js +508 -0
- package/esm/ibc/core/channel/v2/query.js +1727 -0
- package/esm/ibc/core/channel/v2/query.rpc.func.js +106 -0
- package/esm/ibc/core/channel/v2/query.rpc.react.js +82 -0
- package/esm/ibc/core/channel/v2/tx.js +901 -0
- package/esm/ibc/core/channel/v2/tx.registry.js +82 -0
- package/esm/ibc/core/channel/v2/tx.rpc.func.js +38 -0
- package/esm/ibc/core/channel/v2/tx.rpc.react.js +38 -0
- package/esm/ibc/core/client/v1/client.js +50 -235
- package/esm/ibc/core/client/v1/genesis.js +27 -0
- package/esm/ibc/core/client/v1/query.js +355 -16
- package/esm/ibc/core/client/v1/query.rpc.func.js +86 -21
- package/esm/ibc/core/client/v1/query.rpc.react.js +83 -11
- package/esm/ibc/core/client/v1/tx.js +279 -7
- package/esm/ibc/core/client/v1/tx.registry.js +154 -2
- package/esm/ibc/core/client/v1/tx.rpc.func.js +72 -50
- package/esm/ibc/core/client/v1/tx.rpc.react.js +59 -8
- package/esm/ibc/core/client/v2/config.js +90 -0
- package/esm/ibc/core/client/v2/counterparty.js +100 -0
- package/esm/ibc/core/client/v2/genesis.js +194 -0
- package/esm/ibc/core/client/v2/query.js +348 -0
- package/esm/ibc/core/client/v2/query.rpc.func.js +28 -0
- package/esm/ibc/core/client/v2/query.rpc.react.js +22 -0
- package/esm/ibc/core/client/v2/tx.js +378 -0
- package/esm/ibc/core/client/v2/tx.registry.js +46 -0
- package/esm/ibc/core/client/v2/tx.rpc.func.js +20 -0
- package/esm/ibc/core/client/v2/tx.rpc.react.js +20 -0
- package/esm/ibc/core/commitment/v1/commitment.js +29 -80
- package/esm/ibc/core/commitment/v2/commitment.js +118 -0
- package/esm/ibc/core/connection/v1/connection.js +57 -0
- package/esm/ibc/core/connection/v1/genesis.js +10 -0
- package/esm/ibc/core/connection/v1/query.js +105 -0
- package/esm/ibc/core/connection/v1/query.rpc.func.js +45 -12
- package/esm/ibc/core/connection/v1/query.rpc.react.js +46 -7
- package/esm/ibc/core/connection/v1/tx.js +82 -0
- package/esm/ibc/core/connection/v1/tx.registry.js +98 -0
- package/esm/ibc/core/connection/v1/tx.rpc.func.js +42 -31
- package/esm/ibc/core/connection/v1/tx.rpc.react.js +38 -6
- package/esm/ibc/core/types/v1/genesis.js +41 -3
- package/esm/ibc/lightclients/solomachine/v2/solomachine.js +122 -0
- package/esm/ibc/lightclients/solomachine/v3/solomachine.js +61 -0
- package/esm/ibc/lightclients/tendermint/v1/tendermint.js +57 -0
- package/esm/ibc/lightclients/wasm/v1/genesis.js +16 -0
- package/esm/ibc/lightclients/wasm/v1/query.js +31 -0
- package/esm/ibc/lightclients/wasm/v1/query.rpc.func.js +14 -4
- package/esm/ibc/lightclients/wasm/v1/query.rpc.react.js +15 -3
- package/esm/ibc/lightclients/wasm/v1/tx.js +36 -0
- package/esm/ibc/lightclients/wasm/v1/tx.registry.js +62 -0
- package/esm/ibc/lightclients/wasm/v1/tx.rpc.func.js +24 -19
- package/esm/ibc/lightclients/wasm/v1/tx.rpc.react.js +22 -4
- package/esm/ibc/lightclients/wasm/v1/wasm.js +32 -0
- package/esm/index.js +21 -0
- package/esm/react-query.js +4 -6
- package/esm/registry.js +9 -1
- package/esm/tendermint/abci/types.js +322 -0
- package/esm/tendermint/bundle.js +10 -0
- package/esm/tendermint/crypto/keys.js +6 -0
- package/esm/tendermint/crypto/proof.js +36 -0
- package/esm/tendermint/p2p/types.js +24 -0
- package/esm/tendermint/types/block.js +9 -0
- package/esm/tendermint/types/evidence.js +35 -0
- package/esm/tendermint/types/params.js +50 -0
- package/esm/tendermint/types/types.js +121 -0
- package/esm/tendermint/types/validator.js +25 -0
- package/esm/tendermint/version/types.js +16 -0
- package/esm/types.js +1 -1
- package/esm/utf8.js +1 -1
- package/esm/varint.js +1 -1
- package/esm/xpla/bundle.js +28 -0
- package/esm/xpla/burn/v1beta1/burn.js +111 -0
- package/esm/{cosmos/genutil → xpla/burn}/v1beta1/genesis.js +26 -23
- package/esm/xpla/burn/v1beta1/query.js +327 -0
- package/esm/xpla/burn/v1beta1/query.rpc.func.js +28 -0
- package/esm/xpla/burn/v1beta1/query.rpc.react.js +22 -0
- package/esm/xpla/burn/v1beta1/tx.js +169 -0
- package/esm/xpla/burn/v1beta1/tx.registry.js +28 -0
- package/esm/xpla/burn/v1beta1/tx.rpc.func.js +11 -0
- package/esm/xpla/burn/v1beta1/tx.rpc.react.js +11 -0
- package/esm/xpla/reward/v1beta1/genesis.js +10 -0
- package/esm/xpla/reward/v1beta1/query.js +33 -0
- package/esm/xpla/reward/v1beta1/query.rpc.func.js +14 -4
- package/esm/xpla/reward/v1beta1/query.rpc.react.js +15 -3
- package/esm/xpla/reward/v1beta1/reward.js +6 -0
- package/esm/xpla/reward/v1beta1/tx.js +35 -0
- package/esm/xpla/reward/v1beta1/tx.registry.js +44 -0
- package/esm/xpla/reward/v1beta1/tx.rpc.func.js +19 -13
- package/esm/xpla/reward/v1beta1/tx.rpc.react.js +18 -3
- package/esm/xpla/volunteer/v1beta1/genesis.js +10 -0
- package/esm/xpla/volunteer/v1beta1/proposal.js +34 -0
- package/esm/xpla/volunteer/v1beta1/query.js +12 -0
- package/esm/xpla/volunteer/v1beta1/query.rpc.func.js +7 -2
- package/esm/xpla/volunteer/v1beta1/query.rpc.react.js +8 -2
- package/esm/xpla/volunteer/v1beta1/tx.js +31 -0
- package/esm/xpla/volunteer/v1beta1/tx.registry.js +44 -0
- package/esm/xpla/volunteer/v1beta1/tx.rpc.func.js +17 -13
- package/esm/xpla/volunteer/v1beta1/tx.rpc.react.js +16 -3
- package/esm/xpla/volunteer/v1beta1/volunteervalidator.js +6 -0
- package/ethermint/bundle.d.ts +25 -0
- package/ethermint/bundle.js +142 -0
- package/ethermint/crypto/v1/ethsecp256k1/keys.d.ts +39 -4
- package/ethermint/crypto/v1/ethsecp256k1/keys.js +15 -0
- package/ethermint/evm/v1/events.d.ts +144 -32
- package/ethermint/evm/v1/events.js +24 -0
- package/ethermint/evm/v1/evm.d.ts +434 -110
- package/ethermint/evm/v1/evm.js +69 -0
- package/ethermint/evm/v1/genesis.d.ts +62 -12
- package/ethermint/evm/v1/genesis.js +21 -0
- package/ethermint/evm/v1/query.d.ts +673 -126
- package/ethermint/evm/v1/query.js +167 -0
- package/ethermint/evm/v1/query.rpc.func.d.ts +87 -13
- package/ethermint/evm/v1/query.rpc.func.js +88 -37
- package/ethermint/evm/v1/query.rpc.react.d.ts +75 -0
- package/ethermint/evm/v1/query.rpc.react.js +87 -12
- package/ethermint/evm/v1/tx.d.ts +363 -88
- package/ethermint/evm/v1/tx.js +66 -0
- package/ethermint/evm/v1/tx.registry.d.ts +33 -0
- package/ethermint/evm/v1/tx.registry.js +45 -1
- package/ethermint/evm/v1/tx.rpc.func.d.ts +15 -3
- package/ethermint/evm/v1/tx.rpc.func.js +18 -16
- package/ethermint/evm/v1/tx.rpc.react.d.ts +15 -2
- package/ethermint/evm/v1/tx.rpc.react.js +15 -2
- package/ethermint/feemarket/v1/events.d.ts +54 -10
- package/ethermint/feemarket/v1/events.js +12 -0
- package/ethermint/feemarket/v1/feemarket.d.ts +42 -10
- package/ethermint/feemarket/v1/feemarket.js +6 -0
- package/ethermint/feemarket/v1/genesis.d.ts +24 -4
- package/ethermint/feemarket/v1/genesis.js +10 -0
- package/ethermint/feemarket/v1/query.d.ts +116 -14
- package/ethermint/feemarket/v1/query.js +42 -0
- package/ethermint/feemarket/v1/query.rpc.func.d.ts +21 -4
- package/ethermint/feemarket/v1/query.rpc.func.js +22 -10
- package/ethermint/feemarket/v1/query.rpc.react.d.ts +18 -0
- package/ethermint/feemarket/v1/query.rpc.react.js +21 -3
- package/ethermint/feemarket/v1/tx.d.ts +37 -4
- package/ethermint/feemarket/v1/tx.js +17 -0
- package/ethermint/feemarket/v1/tx.registry.d.ts +21 -0
- package/ethermint/feemarket/v1/tx.registry.js +27 -1
- package/ethermint/feemarket/v1/tx.rpc.func.d.ts +8 -2
- package/ethermint/feemarket/v1/tx.rpc.func.js +10 -9
- package/ethermint/feemarket/v1/tx.rpc.react.d.ts +8 -1
- package/ethermint/feemarket/v1/tx.rpc.react.js +8 -1
- package/ethermint/types/v1/account.d.ts +25 -4
- package/ethermint/types/v1/account.js +10 -0
- package/ethermint/types/v1/dynamic_fee.d.ts +24 -4
- package/ethermint/types/v1/dynamic_fee.js +6 -0
- package/ethermint/types/v1/indexer.d.ts +42 -10
- package/ethermint/types/v1/indexer.js +6 -0
- package/ethermint/types/v1/web3.d.ts +13 -0
- package/ethermint/types/v1/web3.js +7 -0
- package/extern.d.ts +3 -2
- package/extern.js +14 -4
- package/google/api/http.d.ts +343 -14
- package/google/api/http.js +290 -0
- package/google/bundle.d.ts +5 -0
- package/google/bundle.js +21 -0
- package/google/protobuf/any.d.ts +102 -2
- package/google/protobuf/any.js +90 -0
- package/google/protobuf/descriptor.d.ts +833 -86
- package/google/protobuf/descriptor.js +561 -13
- package/google/protobuf/duration.d.ts +69 -0
- package/google/protobuf/duration.js +63 -0
- package/google/protobuf/timestamp.d.ts +100 -0
- package/google/protobuf/timestamp.js +94 -0
- package/helper-func-types.d.ts +7 -87
- package/helper-func-types.js +15 -24
- package/helpers.d.ts +1 -1
- package/helpers.js +1 -1
- package/ibc/applications/interchain_accounts/controller/v1/controller.d.ts +19 -2
- package/ibc/applications/interchain_accounts/controller/v1/controller.js +7 -0
- package/ibc/applications/interchain_accounts/controller/v1/query.d.ts +78 -10
- package/ibc/applications/interchain_accounts/controller/v1/query.js +28 -0
- package/ibc/applications/interchain_accounts/controller/v1/query.rpc.func.d.ts +14 -3
- package/ibc/applications/interchain_accounts/controller/v1/query.rpc.func.js +15 -7
- package/ibc/applications/interchain_accounts/controller/v1/query.rpc.react.d.ts +12 -0
- package/ibc/applications/interchain_accounts/controller/v1/query.rpc.react.js +14 -2
- package/ibc/applications/interchain_accounts/controller/v1/tx.d.ts +114 -14
- package/ibc/applications/interchain_accounts/controller/v1/tx.js +43 -0
- package/ibc/applications/interchain_accounts/controller/v1/tx.registry.d.ts +45 -0
- package/ibc/applications/interchain_accounts/controller/v1/tx.registry.js +63 -1
- package/ibc/applications/interchain_accounts/controller/v1/tx.rpc.func.d.ts +21 -4
- package/ibc/applications/interchain_accounts/controller/v1/tx.rpc.func.js +25 -23
- package/ibc/applications/interchain_accounts/controller/v1/tx.rpc.react.d.ts +21 -3
- package/ibc/applications/interchain_accounts/controller/v1/tx.rpc.react.js +21 -3
- package/ibc/applications/interchain_accounts/genesis/v1/genesis.d.ts +85 -8
- package/ibc/applications/interchain_accounts/genesis/v1/genesis.js +41 -0
- package/ibc/applications/interchain_accounts/host/v1/host.d.ts +38 -4
- package/ibc/applications/interchain_accounts/host/v1/host.js +14 -0
- package/ibc/applications/interchain_accounts/host/v1/query.d.ts +42 -6
- package/ibc/applications/interchain_accounts/host/v1/query.js +16 -0
- package/ibc/applications/interchain_accounts/host/v1/query.rpc.func.d.ts +7 -2
- package/ibc/applications/interchain_accounts/host/v1/query.rpc.func.js +8 -4
- package/ibc/applications/interchain_accounts/host/v1/query.rpc.react.d.ts +6 -0
- package/ibc/applications/interchain_accounts/host/v1/query.rpc.react.js +7 -1
- package/ibc/applications/interchain_accounts/host/v1/tx.d.ts +102 -18
- package/ibc/applications/interchain_accounts/host/v1/tx.js +31 -0
- package/ibc/applications/interchain_accounts/host/v1/tx.registry.d.ts +33 -0
- package/ibc/applications/interchain_accounts/host/v1/tx.registry.js +45 -1
- package/ibc/applications/interchain_accounts/host/v1/tx.rpc.func.d.ts +14 -3
- package/ibc/applications/interchain_accounts/host/v1/tx.rpc.func.js +17 -16
- package/ibc/applications/interchain_accounts/host/v1/tx.rpc.react.d.ts +14 -2
- package/ibc/applications/interchain_accounts/host/v1/tx.rpc.react.js +14 -2
- package/ibc/applications/interchain_accounts/v1/account.d.ts +18 -2
- package/ibc/applications/interchain_accounts/v1/account.js +9 -0
- package/ibc/applications/interchain_accounts/v1/metadata.d.ts +43 -10
- package/ibc/applications/interchain_accounts/v1/metadata.js +7 -0
- package/ibc/applications/interchain_accounts/v1/packet.d.ts +36 -4
- package/ibc/applications/interchain_accounts/v1/packet.js +12 -0
- package/ibc/applications/transfer/v1/authz.d.ts +61 -12
- package/ibc/applications/transfer/v1/authz.js +19 -0
- package/ibc/applications/transfer/v1/denomtrace.d.ts +73 -0
- package/ibc/applications/transfer/v1/denomtrace.js +101 -0
- package/ibc/applications/transfer/v1/genesis.d.ts +22 -5
- package/ibc/applications/transfer/v1/genesis.js +23 -12
- package/ibc/applications/transfer/{v2 → v1}/packet.d.ts +45 -11
- package/ibc/applications/transfer/{v2 → v1}/packet.js +10 -2
- package/ibc/applications/transfer/v1/query.d.ts +389 -170
- package/ibc/applications/transfer/v1/query.js +270 -175
- package/ibc/applications/transfer/v1/query.rpc.func.d.ts +43 -8
- package/ibc/applications/transfer/v1/query.rpc.func.js +55 -31
- package/ibc/applications/transfer/v1/query.rpc.react.d.ts +39 -3
- package/ibc/applications/transfer/v1/query.rpc.react.js +49 -13
- package/ibc/applications/transfer/v1/token.d.ts +179 -0
- package/ibc/applications/transfer/v1/token.js +303 -0
- package/ibc/applications/transfer/v1/transfer.d.ts +15 -51
- package/ibc/applications/transfer/v1/transfer.js +10 -90
- package/ibc/applications/transfer/v1/tx.d.ts +127 -24
- package/ibc/applications/transfer/v1/tx.js +49 -3
- package/ibc/applications/transfer/v1/tx.registry.d.ts +33 -0
- package/ibc/applications/transfer/v1/tx.registry.js +45 -1
- package/ibc/applications/transfer/v1/tx.rpc.func.d.ts +14 -3
- package/ibc/applications/transfer/v1/tx.rpc.func.js +17 -16
- package/ibc/applications/transfer/v1/tx.rpc.react.d.ts +14 -2
- package/ibc/applications/transfer/v1/tx.rpc.react.js +14 -2
- package/ibc/bundle.d.ts +94 -0
- package/ibc/bundle.js +540 -0
- package/ibc/core/channel/v1/channel.d.ts +293 -120
- package/ibc/core/channel/v1/channel.js +85 -125
- package/ibc/core/channel/v1/genesis.d.ts +38 -7
- package/ibc/core/channel/v1/genesis.js +20 -16
- package/ibc/core/channel/v1/query.d.ts +840 -378
- package/ibc/core/channel/v1/query.js +252 -530
- package/ibc/core/channel/v1/query.rpc.func.d.ts +107 -19
- package/ibc/core/channel/v1/query.rpc.func.js +107 -70
- package/ibc/core/channel/v1/query.rpc.react.d.ts +93 -4
- package/ibc/core/channel/v1/query.rpc.react.js +107 -27
- package/ibc/core/channel/v1/tx.d.ts +335 -747
- package/ibc/core/channel/v1/tx.js +164 -1970
- package/ibc/core/channel/v1/tx.registry.d.ts +129 -0
- package/ibc/core/channel/v1/tx.registry.js +190 -2
- package/ibc/core/channel/v1/tx.rpc.func.d.ts +72 -21
- package/ibc/core/channel/v1/tx.rpc.func.js +91 -153
- package/ibc/core/channel/v1/tx.rpc.react.d.ts +72 -20
- package/ibc/core/channel/v1/tx.rpc.react.js +81 -47
- package/ibc/core/channel/v2/genesis.d.ts +202 -0
- package/ibc/core/channel/v2/genesis.js +363 -0
- package/ibc/core/channel/v2/packet.d.ts +322 -0
- package/ibc/core/channel/v2/packet.js +513 -0
- package/ibc/core/channel/v2/query.d.ts +1067 -0
- package/ibc/core/channel/v2/query.js +1730 -0
- package/ibc/core/channel/v2/query.rpc.func.d.ts +57 -0
- package/ibc/core/channel/v2/query.rpc.func.js +109 -0
- package/ibc/core/channel/v2/query.rpc.react.d.ts +57 -0
- package/ibc/core/channel/v2/query.rpc.react.js +85 -0
- package/ibc/core/channel/v2/tx.d.ts +437 -0
- package/ibc/core/channel/v2/tx.js +906 -0
- package/ibc/core/channel/v2/tx.registry.d.ts +59 -0
- package/ibc/core/channel/v2/tx.registry.js +85 -0
- package/ibc/core/channel/v2/tx.rpc.func.d.ts +29 -0
- package/ibc/core/channel/v2/tx.rpc.func.js +41 -0
- package/ibc/core/channel/v2/tx.rpc.react.d.ts +29 -0
- package/ibc/core/channel/v2/tx.rpc.react.js +41 -0
- package/ibc/core/client/v1/client.d.ts +133 -153
- package/ibc/core/client/v1/client.js +51 -236
- package/ibc/core/client/v1/genesis.d.ts +86 -20
- package/ibc/core/client/v1/genesis.js +27 -0
- package/ibc/core/client/v1/query.d.ts +591 -75
- package/ibc/core/client/v1/query.js +356 -17
- package/ibc/core/client/v1/query.rpc.func.d.ts +80 -12
- package/ibc/core/client/v1/query.rpc.func.js +86 -31
- package/ibc/core/client/v1/query.rpc.react.d.ts +70 -1
- package/ibc/core/client/v1/query.rpc.react.js +83 -11
- package/ibc/core/client/v1/tx.d.ts +454 -60
- package/ibc/core/client/v1/tx.js +280 -8
- package/ibc/core/client/v1/tx.registry.d.ts +105 -0
- package/ibc/core/client/v1/tx.registry.js +154 -2
- package/ibc/core/client/v1/tx.rpc.func.d.ts +57 -9
- package/ibc/core/client/v1/tx.rpc.func.js +73 -58
- package/ibc/core/client/v1/tx.rpc.react.d.ts +57 -8
- package/ibc/core/client/v1/tx.rpc.react.js +59 -8
- package/ibc/core/client/v2/config.d.ts +66 -0
- package/ibc/core/client/v2/config.js +93 -0
- package/ibc/core/client/v2/counterparty.d.ts +65 -0
- package/ibc/core/client/v2/counterparty.js +103 -0
- package/ibc/core/client/v2/genesis.d.ts +121 -0
- package/ibc/core/client/v2/genesis.js +197 -0
- package/ibc/core/client/v2/query.d.ts +218 -0
- package/ibc/core/client/v2/query.js +351 -0
- package/ibc/core/client/v2/query.rpc.func.d.ts +15 -0
- package/ibc/core/client/v2/query.rpc.func.js +31 -0
- package/ibc/core/client/v2/query.rpc.react.d.ts +15 -0
- package/ibc/core/client/v2/query.rpc.react.js +25 -0
- package/ibc/core/client/v2/tx.d.ts +251 -0
- package/ibc/core/client/v2/tx.js +381 -0
- package/ibc/core/client/v2/tx.registry.d.ts +35 -0
- package/ibc/core/client/v2/tx.registry.js +49 -0
- package/ibc/core/client/v2/tx.rpc.func.d.ts +15 -0
- package/ibc/core/client/v2/tx.rpc.func.js +23 -0
- package/ibc/core/client/v2/tx.rpc.react.d.ts +15 -0
- package/ibc/core/client/v2/tx.rpc.react.js +23 -0
- package/ibc/core/commitment/v1/commitment.d.ts +43 -41
- package/ibc/core/commitment/v1/commitment.js +30 -81
- package/ibc/core/commitment/v2/commitment.d.ts +141 -0
- package/ibc/core/commitment/v2/commitment.js +121 -0
- package/ibc/core/connection/v1/connection.d.ts +199 -38
- package/ibc/core/connection/v1/connection.js +57 -0
- package/ibc/core/connection/v1/genesis.d.ts +24 -4
- package/ibc/core/connection/v1/genesis.js +10 -0
- package/ibc/core/connection/v1/query.d.ts +293 -46
- package/ibc/core/connection/v1/query.js +105 -0
- package/ibc/core/connection/v1/query.rpc.func.d.ts +45 -7
- package/ibc/core/connection/v1/query.rpc.func.js +46 -19
- package/ibc/core/connection/v1/query.rpc.react.d.ts +39 -0
- package/ibc/core/connection/v1/query.rpc.react.js +45 -6
- package/ibc/core/connection/v1/tx.d.ts +254 -32
- package/ibc/core/connection/v1/tx.js +82 -0
- package/ibc/core/connection/v1/tx.registry.d.ts +69 -0
- package/ibc/core/connection/v1/tx.registry.js +99 -1
- package/ibc/core/connection/v1/tx.rpc.func.d.ts +37 -6
- package/ibc/core/connection/v1/tx.rpc.func.js +43 -37
- package/ibc/core/connection/v1/tx.rpc.react.d.ts +37 -5
- package/ibc/core/connection/v1/tx.rpc.react.js +37 -5
- package/ibc/core/types/v1/genesis.d.ts +56 -8
- package/ibc/core/types/v1/genesis.js +41 -3
- package/ibc/lightclients/solomachine/v2/solomachine.d.ts +279 -26
- package/ibc/lightclients/solomachine/v2/solomachine.js +122 -0
- package/ibc/lightclients/solomachine/v3/solomachine.d.ts +182 -28
- package/ibc/lightclients/solomachine/v3/solomachine.js +61 -0
- package/ibc/lightclients/tendermint/v1/tendermint.d.ts +142 -28
- package/ibc/lightclients/tendermint/v1/tendermint.js +57 -0
- package/ibc/lightclients/wasm/v1/genesis.d.ts +48 -8
- package/ibc/lightclients/wasm/v1/genesis.js +16 -0
- package/ibc/lightclients/wasm/v1/query.d.ts +96 -16
- package/ibc/lightclients/wasm/v1/query.js +31 -0
- package/ibc/lightclients/wasm/v1/query.rpc.func.d.ts +14 -3
- package/ibc/lightclients/wasm/v1/query.rpc.func.js +15 -7
- package/ibc/lightclients/wasm/v1/query.rpc.react.d.ts +12 -0
- package/ibc/lightclients/wasm/v1/query.rpc.react.js +14 -2
- package/ibc/lightclients/wasm/v1/tx.d.ts +162 -30
- package/ibc/lightclients/wasm/v1/tx.js +36 -0
- package/ibc/lightclients/wasm/v1/tx.registry.d.ts +45 -0
- package/ibc/lightclients/wasm/v1/tx.registry.js +63 -1
- package/ibc/lightclients/wasm/v1/tx.rpc.func.d.ts +21 -4
- package/ibc/lightclients/wasm/v1/tx.rpc.func.js +25 -23
- package/ibc/lightclients/wasm/v1/tx.rpc.react.d.ts +21 -3
- package/ibc/lightclients/wasm/v1/tx.rpc.react.js +21 -3
- package/ibc/lightclients/wasm/v1/wasm.d.ts +72 -8
- package/ibc/lightclients/wasm/v1/wasm.js +32 -0
- package/index.d.ts +21 -0
- package/index.js +37 -0
- package/package.json +8 -9
- package/react-query.d.ts +8 -6
- package/react-query.js +5 -7
- package/registry.d.ts +3 -1
- package/registry.js +9 -1
- package/tendermint/abci/types.d.ts +971 -98
- package/tendermint/abci/types.js +322 -0
- package/tendermint/bundle.d.ts +10 -0
- package/tendermint/bundle.js +115 -0
- package/tendermint/crypto/keys.d.ts +18 -2
- package/tendermint/crypto/keys.js +6 -0
- package/tendermint/crypto/proof.d.ts +89 -6
- package/tendermint/crypto/proof.js +36 -0
- package/tendermint/p2p/types.d.ts +60 -0
- package/tendermint/p2p/types.js +24 -0
- package/tendermint/types/block.d.ts +15 -0
- package/tendermint/types/block.js +9 -0
- package/tendermint/types/evidence.d.ts +66 -4
- package/tendermint/types/evidence.js +35 -0
- package/tendermint/types/params.d.ts +112 -8
- package/tendermint/types/params.js +50 -0
- package/tendermint/types/types.d.ts +327 -42
- package/tendermint/types/types.js +121 -0
- package/tendermint/types/validator.d.ts +45 -0
- package/tendermint/types/validator.js +25 -0
- package/tendermint/version/types.d.ts +28 -0
- package/tendermint/version/types.js +16 -0
- package/types.d.ts +4 -49
- package/types.js +1 -1
- package/utf8.d.ts +1 -1
- package/utf8.js +1 -1
- package/varint.d.ts +1 -1
- package/varint.js +1 -1
- package/xpla/bundle.d.ts +28 -0
- package/xpla/bundle.js +71 -0
- package/xpla/burn/v1beta1/burn.d.ts +54 -0
- package/xpla/burn/v1beta1/burn.js +114 -0
- package/{cosmos/crisis → xpla/burn}/v1beta1/genesis.d.ts +26 -13
- package/{cosmos/genutil → xpla/burn}/v1beta1/genesis.js +26 -23
- package/xpla/burn/v1beta1/query.d.ts +204 -0
- package/xpla/burn/v1beta1/query.js +330 -0
- package/xpla/burn/v1beta1/query.rpc.func.d.ts +15 -0
- package/xpla/burn/v1beta1/query.rpc.func.js +31 -0
- package/xpla/burn/v1beta1/query.rpc.react.d.ts +15 -0
- package/xpla/burn/v1beta1/query.rpc.react.js +25 -0
- package/xpla/burn/v1beta1/tx.d.ts +105 -0
- package/xpla/burn/v1beta1/tx.js +172 -0
- package/{cosmos/nft → xpla/burn}/v1beta1/tx.registry.d.ts +6 -6
- package/{cosmos/nft → xpla/burn}/v1beta1/tx.registry.js +9 -9
- package/xpla/burn/v1beta1/tx.rpc.func.d.ts +8 -0
- package/xpla/burn/v1beta1/tx.rpc.func.js +14 -0
- package/xpla/burn/v1beta1/tx.rpc.react.d.ts +8 -0
- package/xpla/burn/v1beta1/tx.rpc.react.js +14 -0
- package/xpla/reward/v1beta1/genesis.d.ts +24 -4
- package/xpla/reward/v1beta1/genesis.js +10 -0
- package/xpla/reward/v1beta1/query.d.ts +74 -8
- package/xpla/reward/v1beta1/query.js +33 -0
- package/xpla/reward/v1beta1/query.rpc.func.d.ts +14 -3
- package/xpla/reward/v1beta1/query.rpc.func.js +15 -7
- package/xpla/reward/v1beta1/query.rpc.react.d.ts +12 -0
- package/xpla/reward/v1beta1/query.rpc.react.js +14 -2
- package/xpla/reward/v1beta1/reward.d.ts +18 -2
- package/xpla/reward/v1beta1/reward.js +6 -0
- package/xpla/reward/v1beta1/tx.d.ts +64 -4
- package/xpla/reward/v1beta1/tx.js +35 -0
- package/xpla/reward/v1beta1/tx.registry.d.ts +33 -0
- package/xpla/reward/v1beta1/tx.registry.js +45 -1
- package/xpla/reward/v1beta1/tx.rpc.func.d.ts +17 -3
- package/xpla/reward/v1beta1/tx.rpc.func.js +20 -16
- package/xpla/reward/v1beta1/tx.rpc.react.d.ts +17 -2
- package/xpla/reward/v1beta1/tx.rpc.react.js +17 -2
- package/xpla/volunteer/v1beta1/genesis.d.ts +18 -2
- package/xpla/volunteer/v1beta1/genesis.js +10 -0
- package/xpla/volunteer/v1beta1/proposal.d.ts +84 -16
- package/xpla/volunteer/v1beta1/proposal.js +34 -0
- package/xpla/volunteer/v1beta1/query.d.ts +36 -4
- package/xpla/volunteer/v1beta1/query.js +12 -0
- package/xpla/volunteer/v1beta1/query.rpc.func.d.ts +7 -2
- package/xpla/volunteer/v1beta1/query.rpc.func.js +8 -4
- package/xpla/volunteer/v1beta1/query.rpc.react.d.ts +6 -0
- package/xpla/volunteer/v1beta1/query.rpc.react.js +7 -1
- package/xpla/volunteer/v1beta1/tx.d.ts +64 -4
- package/xpla/volunteer/v1beta1/tx.js +31 -0
- package/xpla/volunteer/v1beta1/tx.registry.d.ts +33 -0
- package/xpla/volunteer/v1beta1/tx.registry.js +45 -1
- package/xpla/volunteer/v1beta1/tx.rpc.func.d.ts +15 -3
- package/xpla/volunteer/v1beta1/tx.rpc.func.js +18 -16
- package/xpla/volunteer/v1beta1/tx.rpc.react.d.ts +15 -2
- package/xpla/volunteer/v1beta1/tx.rpc.react.js +15 -2
- package/xpla/volunteer/v1beta1/volunteervalidator.d.ts +30 -6
- package/xpla/volunteer/v1beta1/volunteervalidator.js +6 -0
- package/cosmos/app/runtime/v2/module.d.ts +0 -231
- package/cosmos/app/runtime/v2/module.js +0 -421
- package/cosmos/auth/v1beta1/accounts.d.ts +0 -106
- package/cosmos/auth/v1beta1/accounts.js +0 -161
- package/cosmos/base/grpc/v2/service.d.ts +0 -168
- package/cosmos/base/grpc/v2/service.js +0 -394
- package/cosmos/base/grpc/v2/service.rpc.func.d.ts +0 -4
- package/cosmos/base/grpc/v2/service.rpc.func.js +0 -23
- package/cosmos/base/grpc/v2/service.rpc.react.d.ts +0 -3
- package/cosmos/base/grpc/v2/service.rpc.react.js +0 -13
- package/cosmos/circuit/module/v1/module.d.ts +0 -36
- package/cosmos/circuit/module/v1/module.js +0 -83
- package/cosmos/circuit/v1/query.d.ts +0 -200
- package/cosmos/circuit/v1/query.js +0 -480
- package/cosmos/circuit/v1/query.rpc.func.d.ts +0 -8
- package/cosmos/circuit/v1/query.rpc.func.js +0 -42
- package/cosmos/circuit/v1/tx.d.ts +0 -251
- package/cosmos/circuit/v1/tx.js +0 -528
- package/cosmos/circuit/v1/tx.registry.d.ts +0 -47
- package/cosmos/circuit/v1/tx.registry.js +0 -67
- package/cosmos/circuit/v1/tx.rpc.func.d.ts +0 -8
- package/cosmos/circuit/v1/tx.rpc.func.js +0 -37
- package/cosmos/circuit/v1/types.d.ts +0 -151
- package/cosmos/circuit/v1/types.js +0 -350
- package/cosmos/crisis/module/v1/module.d.ts +0 -40
- package/cosmos/crisis/module/v1/module.js +0 -95
- package/cosmos/crisis/v1beta1/genesis.js +0 -84
- package/cosmos/crisis/v1beta1/tx.d.ts +0 -161
- package/cosmos/crisis/v1beta1/tx.js +0 -328
- package/cosmos/crisis/v1beta1/tx.rpc.func.d.ts +0 -6
- package/cosmos/crisis/v1beta1/tx.rpc.func.js +0 -27
- package/cosmos/crypto/ed25519/keys.d.ts +0 -84
- package/cosmos/crypto/ed25519/keys.js +0 -162
- package/cosmos/crypto/hd/v1/hd.d.ts +0 -58
- package/cosmos/crypto/hd/v1/hd.js +0 -131
- package/cosmos/crypto/keyring/v1/record.d.ts +0 -188
- package/cosmos/crypto/keyring/v1/record.js +0 -431
- package/cosmos/crypto/multisig/keys.d.ts +0 -45
- package/cosmos/crypto/multisig/keys.js +0 -99
- package/cosmos/crypto/secp256k1/keys.d.ts +0 -78
- package/cosmos/crypto/secp256k1/keys.js +0 -162
- package/cosmos/crypto/secp256r1/keys.d.ts +0 -76
- package/cosmos/crypto/secp256r1/keys.js +0 -162
- package/cosmos/genutil/module/v1/module.d.ts +0 -32
- package/cosmos/genutil/module/v1/module.js +0 -70
- package/cosmos/genutil/v1beta1/genesis.d.ts +0 -36
- package/cosmos/group/module/v1/module.d.ts +0 -53
- package/cosmos/group/module/v1/module.js +0 -96
- package/cosmos/group/v1/events.d.ts +0 -363
- package/cosmos/group/v1/events.js +0 -847
- package/cosmos/group/v1/genesis.d.ts +0 -83
- package/cosmos/group/v1/genesis.js +0 -183
- package/cosmos/group/v1/query.d.ts +0 -1044
- package/cosmos/group/v1/query.js +0 -2434
- package/cosmos/group/v1/query.rpc.func.d.ts +0 -30
- package/cosmos/group/v1/query.rpc.func.js +0 -174
- package/cosmos/group/v1/tx.d.ts +0 -1140
- package/cosmos/group/v1/tx.js +0 -2567
- package/cosmos/group/v1/tx.registry.d.ts +0 -179
- package/cosmos/group/v1/tx.registry.js +0 -265
- package/cosmos/group/v1/tx.rpc.func.d.ts +0 -30
- package/cosmos/group/v1/tx.rpc.func.js +0 -147
- package/cosmos/group/v1/types.d.ts +0 -799
- package/cosmos/group/v1/types.js +0 -1542
- package/cosmos/msg/textual/v1/textual.d.ts +0 -1
- package/cosmos/msg/textual/v1/textual.js +0 -2
- package/cosmos/nft/module/v1/module.d.ts +0 -32
- package/cosmos/nft/module/v1/module.js +0 -70
- package/cosmos/nft/v1beta1/event.d.ts +0 -132
- package/cosmos/nft/v1beta1/event.js +0 -323
- package/cosmos/nft/v1beta1/genesis.d.ts +0 -79
- package/cosmos/nft/v1beta1/genesis.js +0 -195
- package/cosmos/nft/v1beta1/nft.d.ts +0 -111
- package/cosmos/nft/v1beta1/nft.js +0 -282
- package/cosmos/nft/v1beta1/query.d.ts +0 -508
- package/cosmos/nft/v1beta1/query.js +0 -1189
- package/cosmos/nft/v1beta1/query.rpc.func.d.ts +0 -16
- package/cosmos/nft/v1beta1/query.rpc.func.js +0 -90
- package/cosmos/nft/v1beta1/tx.d.ts +0 -78
- package/cosmos/nft/v1beta1/tx.js +0 -184
- package/cosmos/nft/v1beta1/tx.rpc.func.d.ts +0 -4
- package/cosmos/nft/v1beta1/tx.rpc.func.js +0 -17
- package/cosmos/orm/module/v1alpha1/module.d.ts +0 -40
- package/cosmos/orm/module/v1alpha1/module.js +0 -70
- package/cosmos/orm/query/v1alpha1/query.d.ts +0 -367
- package/cosmos/orm/query/v1alpha1/query.js +0 -751
- package/cosmos/orm/query/v1alpha1/query.rpc.func.d.ts +0 -6
- package/cosmos/orm/query/v1alpha1/query.rpc.func.js +0 -30
- package/cosmos/orm/v1/orm.d.ts +0 -278
- package/cosmos/orm/v1/orm.js +0 -380
- package/cosmos/orm/v1alpha1/schema.d.ts +0 -134
- package/cosmos/orm/v1alpha1/schema.js +0 -258
- package/cosmos/reflection/v1/reflection.d.ts +0 -67
- package/cosmos/reflection/v1/reflection.js +0 -152
- package/cosmos/reflection/v1/reflection.rpc.func.d.ts +0 -4
- package/cosmos/reflection/v1/reflection.rpc.func.js +0 -18
- package/cosmos/store/internal/kv/v1beta1/kv.d.ts +0 -68
- package/cosmos/store/internal/kv/v1beta1/kv.js +0 -177
- package/cosmos/store/snapshots/v1/snapshot.d.ts +0 -294
- package/cosmos/store/snapshots/v1/snapshot.js +0 -687
- package/cosmos/store/snapshots/v2/snapshot.d.ts +0 -254
- package/cosmos/store/snapshots/v2/snapshot.js +0 -687
- package/cosmos/store/streaming/abci/grpc.d.ts +0 -136
- package/cosmos/store/streaming/abci/grpc.js +0 -332
- package/cosmos/store/v1beta1/commit_info.d.ts +0 -124
- package/cosmos/store/v1beta1/commit_info.js +0 -292
- package/cosmos/store/v1beta1/listening.d.ts +0 -101
- package/cosmos/store/v1beta1/listening.js +0 -223
- package/cosmos/streaming/v1/grpc.d.ts +0 -302
- package/cosmos/streaming/v1/grpc.js +0 -826
- package/cosmos/validate/module/v1/module.d.ts +0 -32
- package/cosmos/validate/module/v1/module.js +0 -70
- package/cosmos/vesting/module/v1/module.d.ts +0 -32
- package/cosmos/vesting/module/v1/module.js +0 -70
- package/cosmos/vesting/v1beta1/tx.d.ts +0 -256
- package/cosmos/vesting/v1beta1/tx.js +0 -553
- package/cosmos/vesting/v1beta1/tx.registry.d.ts +0 -47
- package/cosmos/vesting/v1beta1/tx.registry.js +0 -67
- package/cosmos/vesting/v1beta1/tx.rpc.func.d.ts +0 -8
- package/cosmos/vesting/v1beta1/tx.rpc.func.js +0 -37
- package/cosmos/vesting/v1beta1/vesting.d.ts +0 -256
- package/cosmos/vesting/v1beta1/vesting.js +0 -586
- package/dist/package.json +0 -50
- package/esm/cosmos/app/runtime/v2/module.js +0 -418
- package/esm/cosmos/auth/v1beta1/accounts.js +0 -158
- package/esm/cosmos/base/grpc/v2/service.js +0 -391
- package/esm/cosmos/base/grpc/v2/service.rpc.func.js +0 -18
- package/esm/cosmos/base/grpc/v2/service.rpc.react.js +0 -10
- package/esm/cosmos/circuit/module/v1/module.js +0 -80
- package/esm/cosmos/circuit/v1/query.js +0 -477
- package/esm/cosmos/circuit/v1/query.rpc.func.js +0 -36
- package/esm/cosmos/circuit/v1/tx.js +0 -525
- package/esm/cosmos/circuit/v1/tx.registry.js +0 -64
- package/esm/cosmos/circuit/v1/tx.rpc.func.js +0 -31
- package/esm/cosmos/circuit/v1/types.js +0 -345
- package/esm/cosmos/crisis/module/v1/module.js +0 -92
- package/esm/cosmos/crisis/v1beta1/genesis.js +0 -81
- package/esm/cosmos/crisis/v1beta1/tx.js +0 -325
- package/esm/cosmos/crisis/v1beta1/tx.registry.js +0 -46
- package/esm/cosmos/crisis/v1beta1/tx.rpc.func.js +0 -22
- package/esm/cosmos/crypto/ed25519/keys.js +0 -159
- package/esm/cosmos/crypto/hd/v1/hd.js +0 -128
- package/esm/cosmos/crypto/keyring/v1/record.js +0 -428
- package/esm/cosmos/crypto/multisig/keys.js +0 -96
- package/esm/cosmos/crypto/secp256k1/keys.js +0 -159
- package/esm/cosmos/crypto/secp256r1/keys.js +0 -159
- package/esm/cosmos/genutil/module/v1/module.js +0 -67
- package/esm/cosmos/group/module/v1/module.js +0 -93
- package/esm/cosmos/group/v1/events.js +0 -844
- package/esm/cosmos/group/v1/genesis.js +0 -180
- package/esm/cosmos/group/v1/query.js +0 -2431
- package/esm/cosmos/group/v1/query.rpc.func.js +0 -157
- package/esm/cosmos/group/v1/tx.js +0 -2562
- package/esm/cosmos/group/v1/tx.registry.js +0 -262
- package/esm/cosmos/group/v1/tx.rpc.func.js +0 -130
- package/esm/cosmos/group/v1/types.js +0 -1533
- package/esm/cosmos/msg/textual/v1/textual.js +0 -1
- package/esm/cosmos/nft/module/v1/module.js +0 -67
- package/esm/cosmos/nft/v1beta1/event.js +0 -320
- package/esm/cosmos/nft/v1beta1/genesis.js +0 -192
- package/esm/cosmos/nft/v1beta1/nft.js +0 -279
- package/esm/cosmos/nft/v1beta1/query.js +0 -1186
- package/esm/cosmos/nft/v1beta1/query.rpc.func.js +0 -80
- package/esm/cosmos/nft/v1beta1/tx.js +0 -181
- package/esm/cosmos/nft/v1beta1/tx.registry.js +0 -28
- package/esm/cosmos/nft/v1beta1/tx.rpc.func.js +0 -13
- package/esm/cosmos/orm/module/v1alpha1/module.js +0 -67
- package/esm/cosmos/orm/query/v1alpha1/query.js +0 -748
- package/esm/cosmos/orm/query/v1alpha1/query.rpc.func.js +0 -25
- package/esm/cosmos/orm/v1/orm.js +0 -377
- package/esm/cosmos/orm/v1alpha1/schema.js +0 -253
- package/esm/cosmos/reflection/v1/reflection.js +0 -149
- package/esm/cosmos/reflection/v1/reflection.rpc.func.js +0 -14
- package/esm/cosmos/store/internal/kv/v1beta1/kv.js +0 -174
- package/esm/cosmos/store/snapshots/v1/snapshot.js +0 -684
- package/esm/cosmos/store/snapshots/v2/snapshot.js +0 -684
- package/esm/cosmos/store/streaming/abci/grpc.js +0 -329
- package/esm/cosmos/store/v1beta1/commit_info.js +0 -289
- package/esm/cosmos/store/v1beta1/listening.js +0 -220
- package/esm/cosmos/streaming/v1/grpc.js +0 -823
- package/esm/cosmos/validate/module/v1/module.js +0 -67
- package/esm/cosmos/vesting/module/v1/module.js +0 -67
- package/esm/cosmos/vesting/v1beta1/tx.js +0 -550
- package/esm/cosmos/vesting/v1beta1/tx.registry.js +0 -64
- package/esm/cosmos/vesting/v1beta1/tx.rpc.func.js +0 -31
- package/esm/cosmos/vesting/v1beta1/vesting.js +0 -583
- package/esm/ibc/applications/fee/v1/ack.js +0 -103
- package/esm/ibc/applications/fee/v1/fee.js +0 -398
- package/esm/ibc/applications/fee/v1/genesis.js +0 -531
- package/esm/ibc/applications/fee/v1/metadata.js +0 -90
- package/esm/ibc/applications/fee/v1/query.js +0 -1739
- package/esm/ibc/applications/fee/v1/query.rpc.func.js +0 -82
- package/esm/ibc/applications/fee/v1/query.rpc.react.js +0 -42
- package/esm/ibc/applications/fee/v1/tx.js +0 -707
- package/esm/ibc/applications/fee/v1/tx.registry.js +0 -2
- package/esm/ibc/applications/fee/v1/tx.rpc.func.js +0 -31
- package/esm/ibc/applications/fee/v1/tx.rpc.react.js +0 -14
- package/esm/ibc/core/channel/v1/upgrade.js +0 -300
- package/esm/ibc/lightclients/localhost/v2/localhost.js +0 -81
- package/ibc/applications/fee/v1/ack.d.ts +0 -45
- package/ibc/applications/fee/v1/ack.js +0 -106
- package/ibc/applications/fee/v1/fee.d.ts +0 -164
- package/ibc/applications/fee/v1/fee.js +0 -401
- package/ibc/applications/fee/v1/genesis.d.ts +0 -225
- package/ibc/applications/fee/v1/genesis.js +0 -534
- package/ibc/applications/fee/v1/metadata.d.ts +0 -47
- package/ibc/applications/fee/v1/metadata.js +0 -93
- package/ibc/applications/fee/v1/query.d.ts +0 -757
- package/ibc/applications/fee/v1/query.js +0 -1742
- package/ibc/applications/fee/v1/query.rpc.func.d.ts +0 -12
- package/ibc/applications/fee/v1/query.rpc.func.js +0 -95
- package/ibc/applications/fee/v1/query.rpc.react.d.ts +0 -11
- package/ibc/applications/fee/v1/query.rpc.react.js +0 -45
- package/ibc/applications/fee/v1/tx.d.ts +0 -326
- package/ibc/applications/fee/v1/tx.js +0 -710
- package/ibc/applications/fee/v1/tx.registry.d.ts +0 -2
- package/ibc/applications/fee/v1/tx.registry.js +0 -5
- package/ibc/applications/fee/v1/tx.rpc.func.d.ts +0 -6
- package/ibc/applications/fee/v1/tx.rpc.func.js +0 -38
- package/ibc/applications/fee/v1/tx.rpc.react.d.ts +0 -5
- package/ibc/applications/fee/v1/tx.rpc.react.js +0 -17
- package/ibc/core/channel/v1/upgrade.d.ts +0 -142
- package/ibc/core/channel/v1/upgrade.js +0 -303
- package/ibc/lightclients/localhost/v2/localhost.d.ts +0 -38
- package/ibc/lightclients/localhost/v2/localhost.js +0 -84
package/cosmos/group/v1/tx.js
DELETED
|
@@ -1,2567 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.MsgLeaveGroupResponse = exports.MsgLeaveGroup = exports.MsgExecResponse = exports.MsgExec = exports.MsgVoteResponse = exports.MsgVote = exports.MsgWithdrawProposalResponse = exports.MsgWithdrawProposal = exports.MsgSubmitProposalResponse = exports.MsgSubmitProposal = exports.MsgUpdateGroupPolicyMetadataResponse = exports.MsgUpdateGroupPolicyMetadata = exports.MsgUpdateGroupPolicyDecisionPolicyResponse = exports.MsgUpdateGroupPolicyDecisionPolicy = exports.MsgCreateGroupWithPolicyResponse = exports.MsgCreateGroupWithPolicy = exports.MsgUpdateGroupPolicyAdminResponse = exports.MsgUpdateGroupPolicyAdmin = exports.MsgCreateGroupPolicyResponse = exports.MsgCreateGroupPolicy = exports.MsgUpdateGroupMetadataResponse = exports.MsgUpdateGroupMetadata = exports.MsgUpdateGroupAdminResponse = exports.MsgUpdateGroupAdmin = exports.MsgUpdateGroupMembersResponse = exports.MsgUpdateGroupMembers = exports.MsgCreateGroupResponse = exports.MsgCreateGroup = exports.execToJSON = exports.execFromJSON = exports.ExecAmino = exports.Exec = void 0;
|
|
4
|
-
const types_1 = require("./types");
|
|
5
|
-
const any_1 = require("../../../google/protobuf/any");
|
|
6
|
-
const binary_1 = require("../../../binary");
|
|
7
|
-
const helpers_1 = require("../../../helpers");
|
|
8
|
-
const registry_1 = require("../../../registry");
|
|
9
|
-
/** Exec defines modes of execution of a proposal on creation or on new vote. */
|
|
10
|
-
var Exec;
|
|
11
|
-
(function (Exec) {
|
|
12
|
-
/**
|
|
13
|
-
* EXEC_UNSPECIFIED - An empty value means that there should be a separate
|
|
14
|
-
* MsgExec request for the proposal to execute.
|
|
15
|
-
*/
|
|
16
|
-
Exec[Exec["EXEC_UNSPECIFIED"] = 0] = "EXEC_UNSPECIFIED";
|
|
17
|
-
/**
|
|
18
|
-
* EXEC_TRY - Try to execute the proposal immediately.
|
|
19
|
-
* If the proposal is not allowed per the DecisionPolicy,
|
|
20
|
-
* the proposal will still be open and could
|
|
21
|
-
* be executed at a later point.
|
|
22
|
-
*/
|
|
23
|
-
Exec[Exec["EXEC_TRY"] = 1] = "EXEC_TRY";
|
|
24
|
-
Exec[Exec["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
25
|
-
})(Exec = exports.Exec || (exports.Exec = {}));
|
|
26
|
-
exports.ExecAmino = Exec;
|
|
27
|
-
function execFromJSON(object) {
|
|
28
|
-
switch (object) {
|
|
29
|
-
case 0:
|
|
30
|
-
case "EXEC_UNSPECIFIED":
|
|
31
|
-
return Exec.EXEC_UNSPECIFIED;
|
|
32
|
-
case 1:
|
|
33
|
-
case "EXEC_TRY":
|
|
34
|
-
return Exec.EXEC_TRY;
|
|
35
|
-
case -1:
|
|
36
|
-
case "UNRECOGNIZED":
|
|
37
|
-
default:
|
|
38
|
-
return Exec.UNRECOGNIZED;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
exports.execFromJSON = execFromJSON;
|
|
42
|
-
function execToJSON(object) {
|
|
43
|
-
switch (object) {
|
|
44
|
-
case Exec.EXEC_UNSPECIFIED:
|
|
45
|
-
return "EXEC_UNSPECIFIED";
|
|
46
|
-
case Exec.EXEC_TRY:
|
|
47
|
-
return "EXEC_TRY";
|
|
48
|
-
case Exec.UNRECOGNIZED:
|
|
49
|
-
default:
|
|
50
|
-
return "UNRECOGNIZED";
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
exports.execToJSON = execToJSON;
|
|
54
|
-
function createBaseMsgCreateGroup() {
|
|
55
|
-
return {
|
|
56
|
-
admin: "",
|
|
57
|
-
members: [],
|
|
58
|
-
metadata: ""
|
|
59
|
-
};
|
|
60
|
-
}
|
|
61
|
-
exports.MsgCreateGroup = {
|
|
62
|
-
typeUrl: "/cosmos.group.v1.MsgCreateGroup",
|
|
63
|
-
aminoType: "cosmos-sdk/MsgCreateGroup",
|
|
64
|
-
is(o) {
|
|
65
|
-
return o && (o.$typeUrl === exports.MsgCreateGroup.typeUrl || typeof o.admin === "string" && Array.isArray(o.members) && (!o.members.length || types_1.MemberRequest.is(o.members[0])) && typeof o.metadata === "string");
|
|
66
|
-
},
|
|
67
|
-
isAmino(o) {
|
|
68
|
-
return o && (o.$typeUrl === exports.MsgCreateGroup.typeUrl || typeof o.admin === "string" && Array.isArray(o.members) && (!o.members.length || types_1.MemberRequest.isAmino(o.members[0])) && typeof o.metadata === "string");
|
|
69
|
-
},
|
|
70
|
-
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
71
|
-
if (message.admin !== "") {
|
|
72
|
-
writer.uint32(10).string(message.admin);
|
|
73
|
-
}
|
|
74
|
-
for (const v of message.members) {
|
|
75
|
-
types_1.MemberRequest.encode(v, writer.uint32(18).fork()).ldelim();
|
|
76
|
-
}
|
|
77
|
-
if (message.metadata !== "") {
|
|
78
|
-
writer.uint32(26).string(message.metadata);
|
|
79
|
-
}
|
|
80
|
-
return writer;
|
|
81
|
-
},
|
|
82
|
-
decode(input, length) {
|
|
83
|
-
const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
|
|
84
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
85
|
-
const message = createBaseMsgCreateGroup();
|
|
86
|
-
while (reader.pos < end) {
|
|
87
|
-
const tag = reader.uint32();
|
|
88
|
-
switch (tag >>> 3) {
|
|
89
|
-
case 1:
|
|
90
|
-
message.admin = reader.string();
|
|
91
|
-
break;
|
|
92
|
-
case 2:
|
|
93
|
-
message.members.push(types_1.MemberRequest.decode(reader, reader.uint32()));
|
|
94
|
-
break;
|
|
95
|
-
case 3:
|
|
96
|
-
message.metadata = reader.string();
|
|
97
|
-
break;
|
|
98
|
-
default:
|
|
99
|
-
reader.skipType(tag & 7);
|
|
100
|
-
break;
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
return message;
|
|
104
|
-
},
|
|
105
|
-
fromPartial(object) {
|
|
106
|
-
const message = createBaseMsgCreateGroup();
|
|
107
|
-
message.admin = object.admin ?? "";
|
|
108
|
-
message.members = object.members?.map(e => types_1.MemberRequest.fromPartial(e)) || [];
|
|
109
|
-
message.metadata = object.metadata ?? "";
|
|
110
|
-
return message;
|
|
111
|
-
},
|
|
112
|
-
fromAmino(object) {
|
|
113
|
-
const message = createBaseMsgCreateGroup();
|
|
114
|
-
if (object.admin !== undefined && object.admin !== null) {
|
|
115
|
-
message.admin = object.admin;
|
|
116
|
-
}
|
|
117
|
-
message.members = object.members?.map(e => types_1.MemberRequest.fromAmino(e)) || [];
|
|
118
|
-
if (object.metadata !== undefined && object.metadata !== null) {
|
|
119
|
-
message.metadata = object.metadata;
|
|
120
|
-
}
|
|
121
|
-
return message;
|
|
122
|
-
},
|
|
123
|
-
toAmino(message) {
|
|
124
|
-
const obj = {};
|
|
125
|
-
obj.admin = message.admin === "" ? undefined : message.admin;
|
|
126
|
-
if (message.members) {
|
|
127
|
-
obj.members = message.members.map(e => e ? types_1.MemberRequest.toAmino(e) : undefined);
|
|
128
|
-
}
|
|
129
|
-
else {
|
|
130
|
-
obj.members = message.members;
|
|
131
|
-
}
|
|
132
|
-
obj.metadata = message.metadata === "" ? undefined : message.metadata;
|
|
133
|
-
return obj;
|
|
134
|
-
},
|
|
135
|
-
fromAminoMsg(object) {
|
|
136
|
-
return exports.MsgCreateGroup.fromAmino(object.value);
|
|
137
|
-
},
|
|
138
|
-
toAminoMsg(message) {
|
|
139
|
-
return {
|
|
140
|
-
type: "cosmos-sdk/MsgCreateGroup",
|
|
141
|
-
value: exports.MsgCreateGroup.toAmino(message)
|
|
142
|
-
};
|
|
143
|
-
},
|
|
144
|
-
fromProtoMsg(message) {
|
|
145
|
-
return exports.MsgCreateGroup.decode(message.value);
|
|
146
|
-
},
|
|
147
|
-
toProto(message) {
|
|
148
|
-
return exports.MsgCreateGroup.encode(message).finish();
|
|
149
|
-
},
|
|
150
|
-
toProtoMsg(message) {
|
|
151
|
-
return {
|
|
152
|
-
typeUrl: "/cosmos.group.v1.MsgCreateGroup",
|
|
153
|
-
value: exports.MsgCreateGroup.encode(message).finish()
|
|
154
|
-
};
|
|
155
|
-
}
|
|
156
|
-
};
|
|
157
|
-
registry_1.GlobalDecoderRegistry.register(exports.MsgCreateGroup.typeUrl, exports.MsgCreateGroup);
|
|
158
|
-
registry_1.GlobalDecoderRegistry.registerAminoProtoMapping(exports.MsgCreateGroup.aminoType, exports.MsgCreateGroup.typeUrl);
|
|
159
|
-
function createBaseMsgCreateGroupResponse() {
|
|
160
|
-
return {
|
|
161
|
-
groupId: BigInt(0)
|
|
162
|
-
};
|
|
163
|
-
}
|
|
164
|
-
exports.MsgCreateGroupResponse = {
|
|
165
|
-
typeUrl: "/cosmos.group.v1.MsgCreateGroupResponse",
|
|
166
|
-
aminoType: "cosmos-sdk/MsgCreateGroupResponse",
|
|
167
|
-
is(o) {
|
|
168
|
-
return o && (o.$typeUrl === exports.MsgCreateGroupResponse.typeUrl || typeof o.groupId === "bigint");
|
|
169
|
-
},
|
|
170
|
-
isAmino(o) {
|
|
171
|
-
return o && (o.$typeUrl === exports.MsgCreateGroupResponse.typeUrl || typeof o.group_id === "bigint");
|
|
172
|
-
},
|
|
173
|
-
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
174
|
-
if (message.groupId !== BigInt(0)) {
|
|
175
|
-
writer.uint32(8).uint64(message.groupId);
|
|
176
|
-
}
|
|
177
|
-
return writer;
|
|
178
|
-
},
|
|
179
|
-
decode(input, length) {
|
|
180
|
-
const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
|
|
181
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
182
|
-
const message = createBaseMsgCreateGroupResponse();
|
|
183
|
-
while (reader.pos < end) {
|
|
184
|
-
const tag = reader.uint32();
|
|
185
|
-
switch (tag >>> 3) {
|
|
186
|
-
case 1:
|
|
187
|
-
message.groupId = reader.uint64();
|
|
188
|
-
break;
|
|
189
|
-
default:
|
|
190
|
-
reader.skipType(tag & 7);
|
|
191
|
-
break;
|
|
192
|
-
}
|
|
193
|
-
}
|
|
194
|
-
return message;
|
|
195
|
-
},
|
|
196
|
-
fromPartial(object) {
|
|
197
|
-
const message = createBaseMsgCreateGroupResponse();
|
|
198
|
-
message.groupId = object.groupId !== undefined && object.groupId !== null ? BigInt(object.groupId.toString()) : BigInt(0);
|
|
199
|
-
return message;
|
|
200
|
-
},
|
|
201
|
-
fromAmino(object) {
|
|
202
|
-
const message = createBaseMsgCreateGroupResponse();
|
|
203
|
-
if (object.group_id !== undefined && object.group_id !== null) {
|
|
204
|
-
message.groupId = BigInt(object.group_id);
|
|
205
|
-
}
|
|
206
|
-
return message;
|
|
207
|
-
},
|
|
208
|
-
toAmino(message) {
|
|
209
|
-
const obj = {};
|
|
210
|
-
obj.group_id = message.groupId !== BigInt(0) ? message.groupId?.toString() : undefined;
|
|
211
|
-
return obj;
|
|
212
|
-
},
|
|
213
|
-
fromAminoMsg(object) {
|
|
214
|
-
return exports.MsgCreateGroupResponse.fromAmino(object.value);
|
|
215
|
-
},
|
|
216
|
-
toAminoMsg(message) {
|
|
217
|
-
return {
|
|
218
|
-
type: "cosmos-sdk/MsgCreateGroupResponse",
|
|
219
|
-
value: exports.MsgCreateGroupResponse.toAmino(message)
|
|
220
|
-
};
|
|
221
|
-
},
|
|
222
|
-
fromProtoMsg(message) {
|
|
223
|
-
return exports.MsgCreateGroupResponse.decode(message.value);
|
|
224
|
-
},
|
|
225
|
-
toProto(message) {
|
|
226
|
-
return exports.MsgCreateGroupResponse.encode(message).finish();
|
|
227
|
-
},
|
|
228
|
-
toProtoMsg(message) {
|
|
229
|
-
return {
|
|
230
|
-
typeUrl: "/cosmos.group.v1.MsgCreateGroupResponse",
|
|
231
|
-
value: exports.MsgCreateGroupResponse.encode(message).finish()
|
|
232
|
-
};
|
|
233
|
-
}
|
|
234
|
-
};
|
|
235
|
-
registry_1.GlobalDecoderRegistry.register(exports.MsgCreateGroupResponse.typeUrl, exports.MsgCreateGroupResponse);
|
|
236
|
-
registry_1.GlobalDecoderRegistry.registerAminoProtoMapping(exports.MsgCreateGroupResponse.aminoType, exports.MsgCreateGroupResponse.typeUrl);
|
|
237
|
-
function createBaseMsgUpdateGroupMembers() {
|
|
238
|
-
return {
|
|
239
|
-
admin: "",
|
|
240
|
-
groupId: BigInt(0),
|
|
241
|
-
memberUpdates: []
|
|
242
|
-
};
|
|
243
|
-
}
|
|
244
|
-
exports.MsgUpdateGroupMembers = {
|
|
245
|
-
typeUrl: "/cosmos.group.v1.MsgUpdateGroupMembers",
|
|
246
|
-
aminoType: "cosmos-sdk/MsgUpdateGroupMembers",
|
|
247
|
-
is(o) {
|
|
248
|
-
return o && (o.$typeUrl === exports.MsgUpdateGroupMembers.typeUrl || typeof o.admin === "string" && typeof o.groupId === "bigint" && Array.isArray(o.memberUpdates) && (!o.memberUpdates.length || types_1.MemberRequest.is(o.memberUpdates[0])));
|
|
249
|
-
},
|
|
250
|
-
isAmino(o) {
|
|
251
|
-
return o && (o.$typeUrl === exports.MsgUpdateGroupMembers.typeUrl || typeof o.admin === "string" && typeof o.group_id === "bigint" && Array.isArray(o.member_updates) && (!o.member_updates.length || types_1.MemberRequest.isAmino(o.member_updates[0])));
|
|
252
|
-
},
|
|
253
|
-
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
254
|
-
if (message.admin !== "") {
|
|
255
|
-
writer.uint32(10).string(message.admin);
|
|
256
|
-
}
|
|
257
|
-
if (message.groupId !== BigInt(0)) {
|
|
258
|
-
writer.uint32(16).uint64(message.groupId);
|
|
259
|
-
}
|
|
260
|
-
for (const v of message.memberUpdates) {
|
|
261
|
-
types_1.MemberRequest.encode(v, writer.uint32(26).fork()).ldelim();
|
|
262
|
-
}
|
|
263
|
-
return writer;
|
|
264
|
-
},
|
|
265
|
-
decode(input, length) {
|
|
266
|
-
const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
|
|
267
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
268
|
-
const message = createBaseMsgUpdateGroupMembers();
|
|
269
|
-
while (reader.pos < end) {
|
|
270
|
-
const tag = reader.uint32();
|
|
271
|
-
switch (tag >>> 3) {
|
|
272
|
-
case 1:
|
|
273
|
-
message.admin = reader.string();
|
|
274
|
-
break;
|
|
275
|
-
case 2:
|
|
276
|
-
message.groupId = reader.uint64();
|
|
277
|
-
break;
|
|
278
|
-
case 3:
|
|
279
|
-
message.memberUpdates.push(types_1.MemberRequest.decode(reader, reader.uint32()));
|
|
280
|
-
break;
|
|
281
|
-
default:
|
|
282
|
-
reader.skipType(tag & 7);
|
|
283
|
-
break;
|
|
284
|
-
}
|
|
285
|
-
}
|
|
286
|
-
return message;
|
|
287
|
-
},
|
|
288
|
-
fromPartial(object) {
|
|
289
|
-
const message = createBaseMsgUpdateGroupMembers();
|
|
290
|
-
message.admin = object.admin ?? "";
|
|
291
|
-
message.groupId = object.groupId !== undefined && object.groupId !== null ? BigInt(object.groupId.toString()) : BigInt(0);
|
|
292
|
-
message.memberUpdates = object.memberUpdates?.map(e => types_1.MemberRequest.fromPartial(e)) || [];
|
|
293
|
-
return message;
|
|
294
|
-
},
|
|
295
|
-
fromAmino(object) {
|
|
296
|
-
const message = createBaseMsgUpdateGroupMembers();
|
|
297
|
-
if (object.admin !== undefined && object.admin !== null) {
|
|
298
|
-
message.admin = object.admin;
|
|
299
|
-
}
|
|
300
|
-
if (object.group_id !== undefined && object.group_id !== null) {
|
|
301
|
-
message.groupId = BigInt(object.group_id);
|
|
302
|
-
}
|
|
303
|
-
message.memberUpdates = object.member_updates?.map(e => types_1.MemberRequest.fromAmino(e)) || [];
|
|
304
|
-
return message;
|
|
305
|
-
},
|
|
306
|
-
toAmino(message) {
|
|
307
|
-
const obj = {};
|
|
308
|
-
obj.admin = message.admin === "" ? undefined : message.admin;
|
|
309
|
-
obj.group_id = message.groupId !== BigInt(0) ? message.groupId?.toString() : undefined;
|
|
310
|
-
if (message.memberUpdates) {
|
|
311
|
-
obj.member_updates = message.memberUpdates.map(e => e ? types_1.MemberRequest.toAmino(e) : undefined);
|
|
312
|
-
}
|
|
313
|
-
else {
|
|
314
|
-
obj.member_updates = message.memberUpdates;
|
|
315
|
-
}
|
|
316
|
-
return obj;
|
|
317
|
-
},
|
|
318
|
-
fromAminoMsg(object) {
|
|
319
|
-
return exports.MsgUpdateGroupMembers.fromAmino(object.value);
|
|
320
|
-
},
|
|
321
|
-
toAminoMsg(message) {
|
|
322
|
-
return {
|
|
323
|
-
type: "cosmos-sdk/MsgUpdateGroupMembers",
|
|
324
|
-
value: exports.MsgUpdateGroupMembers.toAmino(message)
|
|
325
|
-
};
|
|
326
|
-
},
|
|
327
|
-
fromProtoMsg(message) {
|
|
328
|
-
return exports.MsgUpdateGroupMembers.decode(message.value);
|
|
329
|
-
},
|
|
330
|
-
toProto(message) {
|
|
331
|
-
return exports.MsgUpdateGroupMembers.encode(message).finish();
|
|
332
|
-
},
|
|
333
|
-
toProtoMsg(message) {
|
|
334
|
-
return {
|
|
335
|
-
typeUrl: "/cosmos.group.v1.MsgUpdateGroupMembers",
|
|
336
|
-
value: exports.MsgUpdateGroupMembers.encode(message).finish()
|
|
337
|
-
};
|
|
338
|
-
}
|
|
339
|
-
};
|
|
340
|
-
registry_1.GlobalDecoderRegistry.register(exports.MsgUpdateGroupMembers.typeUrl, exports.MsgUpdateGroupMembers);
|
|
341
|
-
registry_1.GlobalDecoderRegistry.registerAminoProtoMapping(exports.MsgUpdateGroupMembers.aminoType, exports.MsgUpdateGroupMembers.typeUrl);
|
|
342
|
-
function createBaseMsgUpdateGroupMembersResponse() {
|
|
343
|
-
return {};
|
|
344
|
-
}
|
|
345
|
-
exports.MsgUpdateGroupMembersResponse = {
|
|
346
|
-
typeUrl: "/cosmos.group.v1.MsgUpdateGroupMembersResponse",
|
|
347
|
-
aminoType: "cosmos-sdk/MsgUpdateGroupMembersResponse",
|
|
348
|
-
is(o) {
|
|
349
|
-
return o && o.$typeUrl === exports.MsgUpdateGroupMembersResponse.typeUrl;
|
|
350
|
-
},
|
|
351
|
-
isAmino(o) {
|
|
352
|
-
return o && o.$typeUrl === exports.MsgUpdateGroupMembersResponse.typeUrl;
|
|
353
|
-
},
|
|
354
|
-
encode(_, writer = binary_1.BinaryWriter.create()) {
|
|
355
|
-
return writer;
|
|
356
|
-
},
|
|
357
|
-
decode(input, length) {
|
|
358
|
-
const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
|
|
359
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
360
|
-
const message = createBaseMsgUpdateGroupMembersResponse();
|
|
361
|
-
while (reader.pos < end) {
|
|
362
|
-
const tag = reader.uint32();
|
|
363
|
-
switch (tag >>> 3) {
|
|
364
|
-
default:
|
|
365
|
-
reader.skipType(tag & 7);
|
|
366
|
-
break;
|
|
367
|
-
}
|
|
368
|
-
}
|
|
369
|
-
return message;
|
|
370
|
-
},
|
|
371
|
-
fromPartial(_) {
|
|
372
|
-
const message = createBaseMsgUpdateGroupMembersResponse();
|
|
373
|
-
return message;
|
|
374
|
-
},
|
|
375
|
-
fromAmino(_) {
|
|
376
|
-
const message = createBaseMsgUpdateGroupMembersResponse();
|
|
377
|
-
return message;
|
|
378
|
-
},
|
|
379
|
-
toAmino(_) {
|
|
380
|
-
const obj = {};
|
|
381
|
-
return obj;
|
|
382
|
-
},
|
|
383
|
-
fromAminoMsg(object) {
|
|
384
|
-
return exports.MsgUpdateGroupMembersResponse.fromAmino(object.value);
|
|
385
|
-
},
|
|
386
|
-
toAminoMsg(message) {
|
|
387
|
-
return {
|
|
388
|
-
type: "cosmos-sdk/MsgUpdateGroupMembersResponse",
|
|
389
|
-
value: exports.MsgUpdateGroupMembersResponse.toAmino(message)
|
|
390
|
-
};
|
|
391
|
-
},
|
|
392
|
-
fromProtoMsg(message) {
|
|
393
|
-
return exports.MsgUpdateGroupMembersResponse.decode(message.value);
|
|
394
|
-
},
|
|
395
|
-
toProto(message) {
|
|
396
|
-
return exports.MsgUpdateGroupMembersResponse.encode(message).finish();
|
|
397
|
-
},
|
|
398
|
-
toProtoMsg(message) {
|
|
399
|
-
return {
|
|
400
|
-
typeUrl: "/cosmos.group.v1.MsgUpdateGroupMembersResponse",
|
|
401
|
-
value: exports.MsgUpdateGroupMembersResponse.encode(message).finish()
|
|
402
|
-
};
|
|
403
|
-
}
|
|
404
|
-
};
|
|
405
|
-
registry_1.GlobalDecoderRegistry.register(exports.MsgUpdateGroupMembersResponse.typeUrl, exports.MsgUpdateGroupMembersResponse);
|
|
406
|
-
registry_1.GlobalDecoderRegistry.registerAminoProtoMapping(exports.MsgUpdateGroupMembersResponse.aminoType, exports.MsgUpdateGroupMembersResponse.typeUrl);
|
|
407
|
-
function createBaseMsgUpdateGroupAdmin() {
|
|
408
|
-
return {
|
|
409
|
-
admin: "",
|
|
410
|
-
groupId: BigInt(0),
|
|
411
|
-
newAdmin: ""
|
|
412
|
-
};
|
|
413
|
-
}
|
|
414
|
-
exports.MsgUpdateGroupAdmin = {
|
|
415
|
-
typeUrl: "/cosmos.group.v1.MsgUpdateGroupAdmin",
|
|
416
|
-
aminoType: "cosmos-sdk/MsgUpdateGroupAdmin",
|
|
417
|
-
is(o) {
|
|
418
|
-
return o && (o.$typeUrl === exports.MsgUpdateGroupAdmin.typeUrl || typeof o.admin === "string" && typeof o.groupId === "bigint" && typeof o.newAdmin === "string");
|
|
419
|
-
},
|
|
420
|
-
isAmino(o) {
|
|
421
|
-
return o && (o.$typeUrl === exports.MsgUpdateGroupAdmin.typeUrl || typeof o.admin === "string" && typeof o.group_id === "bigint" && typeof o.new_admin === "string");
|
|
422
|
-
},
|
|
423
|
-
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
424
|
-
if (message.admin !== "") {
|
|
425
|
-
writer.uint32(10).string(message.admin);
|
|
426
|
-
}
|
|
427
|
-
if (message.groupId !== BigInt(0)) {
|
|
428
|
-
writer.uint32(16).uint64(message.groupId);
|
|
429
|
-
}
|
|
430
|
-
if (message.newAdmin !== "") {
|
|
431
|
-
writer.uint32(26).string(message.newAdmin);
|
|
432
|
-
}
|
|
433
|
-
return writer;
|
|
434
|
-
},
|
|
435
|
-
decode(input, length) {
|
|
436
|
-
const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
|
|
437
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
438
|
-
const message = createBaseMsgUpdateGroupAdmin();
|
|
439
|
-
while (reader.pos < end) {
|
|
440
|
-
const tag = reader.uint32();
|
|
441
|
-
switch (tag >>> 3) {
|
|
442
|
-
case 1:
|
|
443
|
-
message.admin = reader.string();
|
|
444
|
-
break;
|
|
445
|
-
case 2:
|
|
446
|
-
message.groupId = reader.uint64();
|
|
447
|
-
break;
|
|
448
|
-
case 3:
|
|
449
|
-
message.newAdmin = reader.string();
|
|
450
|
-
break;
|
|
451
|
-
default:
|
|
452
|
-
reader.skipType(tag & 7);
|
|
453
|
-
break;
|
|
454
|
-
}
|
|
455
|
-
}
|
|
456
|
-
return message;
|
|
457
|
-
},
|
|
458
|
-
fromPartial(object) {
|
|
459
|
-
const message = createBaseMsgUpdateGroupAdmin();
|
|
460
|
-
message.admin = object.admin ?? "";
|
|
461
|
-
message.groupId = object.groupId !== undefined && object.groupId !== null ? BigInt(object.groupId.toString()) : BigInt(0);
|
|
462
|
-
message.newAdmin = object.newAdmin ?? "";
|
|
463
|
-
return message;
|
|
464
|
-
},
|
|
465
|
-
fromAmino(object) {
|
|
466
|
-
const message = createBaseMsgUpdateGroupAdmin();
|
|
467
|
-
if (object.admin !== undefined && object.admin !== null) {
|
|
468
|
-
message.admin = object.admin;
|
|
469
|
-
}
|
|
470
|
-
if (object.group_id !== undefined && object.group_id !== null) {
|
|
471
|
-
message.groupId = BigInt(object.group_id);
|
|
472
|
-
}
|
|
473
|
-
if (object.new_admin !== undefined && object.new_admin !== null) {
|
|
474
|
-
message.newAdmin = object.new_admin;
|
|
475
|
-
}
|
|
476
|
-
return message;
|
|
477
|
-
},
|
|
478
|
-
toAmino(message) {
|
|
479
|
-
const obj = {};
|
|
480
|
-
obj.admin = message.admin === "" ? undefined : message.admin;
|
|
481
|
-
obj.group_id = message.groupId !== BigInt(0) ? message.groupId?.toString() : undefined;
|
|
482
|
-
obj.new_admin = message.newAdmin === "" ? undefined : message.newAdmin;
|
|
483
|
-
return obj;
|
|
484
|
-
},
|
|
485
|
-
fromAminoMsg(object) {
|
|
486
|
-
return exports.MsgUpdateGroupAdmin.fromAmino(object.value);
|
|
487
|
-
},
|
|
488
|
-
toAminoMsg(message) {
|
|
489
|
-
return {
|
|
490
|
-
type: "cosmos-sdk/MsgUpdateGroupAdmin",
|
|
491
|
-
value: exports.MsgUpdateGroupAdmin.toAmino(message)
|
|
492
|
-
};
|
|
493
|
-
},
|
|
494
|
-
fromProtoMsg(message) {
|
|
495
|
-
return exports.MsgUpdateGroupAdmin.decode(message.value);
|
|
496
|
-
},
|
|
497
|
-
toProto(message) {
|
|
498
|
-
return exports.MsgUpdateGroupAdmin.encode(message).finish();
|
|
499
|
-
},
|
|
500
|
-
toProtoMsg(message) {
|
|
501
|
-
return {
|
|
502
|
-
typeUrl: "/cosmos.group.v1.MsgUpdateGroupAdmin",
|
|
503
|
-
value: exports.MsgUpdateGroupAdmin.encode(message).finish()
|
|
504
|
-
};
|
|
505
|
-
}
|
|
506
|
-
};
|
|
507
|
-
registry_1.GlobalDecoderRegistry.register(exports.MsgUpdateGroupAdmin.typeUrl, exports.MsgUpdateGroupAdmin);
|
|
508
|
-
registry_1.GlobalDecoderRegistry.registerAminoProtoMapping(exports.MsgUpdateGroupAdmin.aminoType, exports.MsgUpdateGroupAdmin.typeUrl);
|
|
509
|
-
function createBaseMsgUpdateGroupAdminResponse() {
|
|
510
|
-
return {};
|
|
511
|
-
}
|
|
512
|
-
exports.MsgUpdateGroupAdminResponse = {
|
|
513
|
-
typeUrl: "/cosmos.group.v1.MsgUpdateGroupAdminResponse",
|
|
514
|
-
aminoType: "cosmos-sdk/MsgUpdateGroupAdminResponse",
|
|
515
|
-
is(o) {
|
|
516
|
-
return o && o.$typeUrl === exports.MsgUpdateGroupAdminResponse.typeUrl;
|
|
517
|
-
},
|
|
518
|
-
isAmino(o) {
|
|
519
|
-
return o && o.$typeUrl === exports.MsgUpdateGroupAdminResponse.typeUrl;
|
|
520
|
-
},
|
|
521
|
-
encode(_, writer = binary_1.BinaryWriter.create()) {
|
|
522
|
-
return writer;
|
|
523
|
-
},
|
|
524
|
-
decode(input, length) {
|
|
525
|
-
const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
|
|
526
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
527
|
-
const message = createBaseMsgUpdateGroupAdminResponse();
|
|
528
|
-
while (reader.pos < end) {
|
|
529
|
-
const tag = reader.uint32();
|
|
530
|
-
switch (tag >>> 3) {
|
|
531
|
-
default:
|
|
532
|
-
reader.skipType(tag & 7);
|
|
533
|
-
break;
|
|
534
|
-
}
|
|
535
|
-
}
|
|
536
|
-
return message;
|
|
537
|
-
},
|
|
538
|
-
fromPartial(_) {
|
|
539
|
-
const message = createBaseMsgUpdateGroupAdminResponse();
|
|
540
|
-
return message;
|
|
541
|
-
},
|
|
542
|
-
fromAmino(_) {
|
|
543
|
-
const message = createBaseMsgUpdateGroupAdminResponse();
|
|
544
|
-
return message;
|
|
545
|
-
},
|
|
546
|
-
toAmino(_) {
|
|
547
|
-
const obj = {};
|
|
548
|
-
return obj;
|
|
549
|
-
},
|
|
550
|
-
fromAminoMsg(object) {
|
|
551
|
-
return exports.MsgUpdateGroupAdminResponse.fromAmino(object.value);
|
|
552
|
-
},
|
|
553
|
-
toAminoMsg(message) {
|
|
554
|
-
return {
|
|
555
|
-
type: "cosmos-sdk/MsgUpdateGroupAdminResponse",
|
|
556
|
-
value: exports.MsgUpdateGroupAdminResponse.toAmino(message)
|
|
557
|
-
};
|
|
558
|
-
},
|
|
559
|
-
fromProtoMsg(message) {
|
|
560
|
-
return exports.MsgUpdateGroupAdminResponse.decode(message.value);
|
|
561
|
-
},
|
|
562
|
-
toProto(message) {
|
|
563
|
-
return exports.MsgUpdateGroupAdminResponse.encode(message).finish();
|
|
564
|
-
},
|
|
565
|
-
toProtoMsg(message) {
|
|
566
|
-
return {
|
|
567
|
-
typeUrl: "/cosmos.group.v1.MsgUpdateGroupAdminResponse",
|
|
568
|
-
value: exports.MsgUpdateGroupAdminResponse.encode(message).finish()
|
|
569
|
-
};
|
|
570
|
-
}
|
|
571
|
-
};
|
|
572
|
-
registry_1.GlobalDecoderRegistry.register(exports.MsgUpdateGroupAdminResponse.typeUrl, exports.MsgUpdateGroupAdminResponse);
|
|
573
|
-
registry_1.GlobalDecoderRegistry.registerAminoProtoMapping(exports.MsgUpdateGroupAdminResponse.aminoType, exports.MsgUpdateGroupAdminResponse.typeUrl);
|
|
574
|
-
function createBaseMsgUpdateGroupMetadata() {
|
|
575
|
-
return {
|
|
576
|
-
admin: "",
|
|
577
|
-
groupId: BigInt(0),
|
|
578
|
-
metadata: ""
|
|
579
|
-
};
|
|
580
|
-
}
|
|
581
|
-
exports.MsgUpdateGroupMetadata = {
|
|
582
|
-
typeUrl: "/cosmos.group.v1.MsgUpdateGroupMetadata",
|
|
583
|
-
aminoType: "cosmos-sdk/MsgUpdateGroupMetadata",
|
|
584
|
-
is(o) {
|
|
585
|
-
return o && (o.$typeUrl === exports.MsgUpdateGroupMetadata.typeUrl || typeof o.admin === "string" && typeof o.groupId === "bigint" && typeof o.metadata === "string");
|
|
586
|
-
},
|
|
587
|
-
isAmino(o) {
|
|
588
|
-
return o && (o.$typeUrl === exports.MsgUpdateGroupMetadata.typeUrl || typeof o.admin === "string" && typeof o.group_id === "bigint" && typeof o.metadata === "string");
|
|
589
|
-
},
|
|
590
|
-
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
591
|
-
if (message.admin !== "") {
|
|
592
|
-
writer.uint32(10).string(message.admin);
|
|
593
|
-
}
|
|
594
|
-
if (message.groupId !== BigInt(0)) {
|
|
595
|
-
writer.uint32(16).uint64(message.groupId);
|
|
596
|
-
}
|
|
597
|
-
if (message.metadata !== "") {
|
|
598
|
-
writer.uint32(26).string(message.metadata);
|
|
599
|
-
}
|
|
600
|
-
return writer;
|
|
601
|
-
},
|
|
602
|
-
decode(input, length) {
|
|
603
|
-
const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
|
|
604
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
605
|
-
const message = createBaseMsgUpdateGroupMetadata();
|
|
606
|
-
while (reader.pos < end) {
|
|
607
|
-
const tag = reader.uint32();
|
|
608
|
-
switch (tag >>> 3) {
|
|
609
|
-
case 1:
|
|
610
|
-
message.admin = reader.string();
|
|
611
|
-
break;
|
|
612
|
-
case 2:
|
|
613
|
-
message.groupId = reader.uint64();
|
|
614
|
-
break;
|
|
615
|
-
case 3:
|
|
616
|
-
message.metadata = reader.string();
|
|
617
|
-
break;
|
|
618
|
-
default:
|
|
619
|
-
reader.skipType(tag & 7);
|
|
620
|
-
break;
|
|
621
|
-
}
|
|
622
|
-
}
|
|
623
|
-
return message;
|
|
624
|
-
},
|
|
625
|
-
fromPartial(object) {
|
|
626
|
-
const message = createBaseMsgUpdateGroupMetadata();
|
|
627
|
-
message.admin = object.admin ?? "";
|
|
628
|
-
message.groupId = object.groupId !== undefined && object.groupId !== null ? BigInt(object.groupId.toString()) : BigInt(0);
|
|
629
|
-
message.metadata = object.metadata ?? "";
|
|
630
|
-
return message;
|
|
631
|
-
},
|
|
632
|
-
fromAmino(object) {
|
|
633
|
-
const message = createBaseMsgUpdateGroupMetadata();
|
|
634
|
-
if (object.admin !== undefined && object.admin !== null) {
|
|
635
|
-
message.admin = object.admin;
|
|
636
|
-
}
|
|
637
|
-
if (object.group_id !== undefined && object.group_id !== null) {
|
|
638
|
-
message.groupId = BigInt(object.group_id);
|
|
639
|
-
}
|
|
640
|
-
if (object.metadata !== undefined && object.metadata !== null) {
|
|
641
|
-
message.metadata = object.metadata;
|
|
642
|
-
}
|
|
643
|
-
return message;
|
|
644
|
-
},
|
|
645
|
-
toAmino(message) {
|
|
646
|
-
const obj = {};
|
|
647
|
-
obj.admin = message.admin === "" ? undefined : message.admin;
|
|
648
|
-
obj.group_id = message.groupId !== BigInt(0) ? message.groupId?.toString() : undefined;
|
|
649
|
-
obj.metadata = message.metadata === "" ? undefined : message.metadata;
|
|
650
|
-
return obj;
|
|
651
|
-
},
|
|
652
|
-
fromAminoMsg(object) {
|
|
653
|
-
return exports.MsgUpdateGroupMetadata.fromAmino(object.value);
|
|
654
|
-
},
|
|
655
|
-
toAminoMsg(message) {
|
|
656
|
-
return {
|
|
657
|
-
type: "cosmos-sdk/MsgUpdateGroupMetadata",
|
|
658
|
-
value: exports.MsgUpdateGroupMetadata.toAmino(message)
|
|
659
|
-
};
|
|
660
|
-
},
|
|
661
|
-
fromProtoMsg(message) {
|
|
662
|
-
return exports.MsgUpdateGroupMetadata.decode(message.value);
|
|
663
|
-
},
|
|
664
|
-
toProto(message) {
|
|
665
|
-
return exports.MsgUpdateGroupMetadata.encode(message).finish();
|
|
666
|
-
},
|
|
667
|
-
toProtoMsg(message) {
|
|
668
|
-
return {
|
|
669
|
-
typeUrl: "/cosmos.group.v1.MsgUpdateGroupMetadata",
|
|
670
|
-
value: exports.MsgUpdateGroupMetadata.encode(message).finish()
|
|
671
|
-
};
|
|
672
|
-
}
|
|
673
|
-
};
|
|
674
|
-
registry_1.GlobalDecoderRegistry.register(exports.MsgUpdateGroupMetadata.typeUrl, exports.MsgUpdateGroupMetadata);
|
|
675
|
-
registry_1.GlobalDecoderRegistry.registerAminoProtoMapping(exports.MsgUpdateGroupMetadata.aminoType, exports.MsgUpdateGroupMetadata.typeUrl);
|
|
676
|
-
function createBaseMsgUpdateGroupMetadataResponse() {
|
|
677
|
-
return {};
|
|
678
|
-
}
|
|
679
|
-
exports.MsgUpdateGroupMetadataResponse = {
|
|
680
|
-
typeUrl: "/cosmos.group.v1.MsgUpdateGroupMetadataResponse",
|
|
681
|
-
aminoType: "cosmos-sdk/MsgUpdateGroupMetadataResponse",
|
|
682
|
-
is(o) {
|
|
683
|
-
return o && o.$typeUrl === exports.MsgUpdateGroupMetadataResponse.typeUrl;
|
|
684
|
-
},
|
|
685
|
-
isAmino(o) {
|
|
686
|
-
return o && o.$typeUrl === exports.MsgUpdateGroupMetadataResponse.typeUrl;
|
|
687
|
-
},
|
|
688
|
-
encode(_, writer = binary_1.BinaryWriter.create()) {
|
|
689
|
-
return writer;
|
|
690
|
-
},
|
|
691
|
-
decode(input, length) {
|
|
692
|
-
const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
|
|
693
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
694
|
-
const message = createBaseMsgUpdateGroupMetadataResponse();
|
|
695
|
-
while (reader.pos < end) {
|
|
696
|
-
const tag = reader.uint32();
|
|
697
|
-
switch (tag >>> 3) {
|
|
698
|
-
default:
|
|
699
|
-
reader.skipType(tag & 7);
|
|
700
|
-
break;
|
|
701
|
-
}
|
|
702
|
-
}
|
|
703
|
-
return message;
|
|
704
|
-
},
|
|
705
|
-
fromPartial(_) {
|
|
706
|
-
const message = createBaseMsgUpdateGroupMetadataResponse();
|
|
707
|
-
return message;
|
|
708
|
-
},
|
|
709
|
-
fromAmino(_) {
|
|
710
|
-
const message = createBaseMsgUpdateGroupMetadataResponse();
|
|
711
|
-
return message;
|
|
712
|
-
},
|
|
713
|
-
toAmino(_) {
|
|
714
|
-
const obj = {};
|
|
715
|
-
return obj;
|
|
716
|
-
},
|
|
717
|
-
fromAminoMsg(object) {
|
|
718
|
-
return exports.MsgUpdateGroupMetadataResponse.fromAmino(object.value);
|
|
719
|
-
},
|
|
720
|
-
toAminoMsg(message) {
|
|
721
|
-
return {
|
|
722
|
-
type: "cosmos-sdk/MsgUpdateGroupMetadataResponse",
|
|
723
|
-
value: exports.MsgUpdateGroupMetadataResponse.toAmino(message)
|
|
724
|
-
};
|
|
725
|
-
},
|
|
726
|
-
fromProtoMsg(message) {
|
|
727
|
-
return exports.MsgUpdateGroupMetadataResponse.decode(message.value);
|
|
728
|
-
},
|
|
729
|
-
toProto(message) {
|
|
730
|
-
return exports.MsgUpdateGroupMetadataResponse.encode(message).finish();
|
|
731
|
-
},
|
|
732
|
-
toProtoMsg(message) {
|
|
733
|
-
return {
|
|
734
|
-
typeUrl: "/cosmos.group.v1.MsgUpdateGroupMetadataResponse",
|
|
735
|
-
value: exports.MsgUpdateGroupMetadataResponse.encode(message).finish()
|
|
736
|
-
};
|
|
737
|
-
}
|
|
738
|
-
};
|
|
739
|
-
registry_1.GlobalDecoderRegistry.register(exports.MsgUpdateGroupMetadataResponse.typeUrl, exports.MsgUpdateGroupMetadataResponse);
|
|
740
|
-
registry_1.GlobalDecoderRegistry.registerAminoProtoMapping(exports.MsgUpdateGroupMetadataResponse.aminoType, exports.MsgUpdateGroupMetadataResponse.typeUrl);
|
|
741
|
-
function createBaseMsgCreateGroupPolicy() {
|
|
742
|
-
return {
|
|
743
|
-
admin: "",
|
|
744
|
-
groupId: BigInt(0),
|
|
745
|
-
metadata: "",
|
|
746
|
-
decisionPolicy: undefined
|
|
747
|
-
};
|
|
748
|
-
}
|
|
749
|
-
exports.MsgCreateGroupPolicy = {
|
|
750
|
-
typeUrl: "/cosmos.group.v1.MsgCreateGroupPolicy",
|
|
751
|
-
aminoType: "cosmos-sdk/MsgCreateGroupPolicy",
|
|
752
|
-
is(o) {
|
|
753
|
-
return o && (o.$typeUrl === exports.MsgCreateGroupPolicy.typeUrl || typeof o.admin === "string" && typeof o.groupId === "bigint" && typeof o.metadata === "string");
|
|
754
|
-
},
|
|
755
|
-
isAmino(o) {
|
|
756
|
-
return o && (o.$typeUrl === exports.MsgCreateGroupPolicy.typeUrl || typeof o.admin === "string" && typeof o.group_id === "bigint" && typeof o.metadata === "string");
|
|
757
|
-
},
|
|
758
|
-
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
759
|
-
if (message.admin !== "") {
|
|
760
|
-
writer.uint32(10).string(message.admin);
|
|
761
|
-
}
|
|
762
|
-
if (message.groupId !== BigInt(0)) {
|
|
763
|
-
writer.uint32(16).uint64(message.groupId);
|
|
764
|
-
}
|
|
765
|
-
if (message.metadata !== "") {
|
|
766
|
-
writer.uint32(26).string(message.metadata);
|
|
767
|
-
}
|
|
768
|
-
if (message.decisionPolicy !== undefined) {
|
|
769
|
-
any_1.Any.encode(registry_1.GlobalDecoderRegistry.wrapAny(message.decisionPolicy), writer.uint32(34).fork()).ldelim();
|
|
770
|
-
}
|
|
771
|
-
return writer;
|
|
772
|
-
},
|
|
773
|
-
decode(input, length) {
|
|
774
|
-
const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
|
|
775
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
776
|
-
const message = createBaseMsgCreateGroupPolicy();
|
|
777
|
-
while (reader.pos < end) {
|
|
778
|
-
const tag = reader.uint32();
|
|
779
|
-
switch (tag >>> 3) {
|
|
780
|
-
case 1:
|
|
781
|
-
message.admin = reader.string();
|
|
782
|
-
break;
|
|
783
|
-
case 2:
|
|
784
|
-
message.groupId = reader.uint64();
|
|
785
|
-
break;
|
|
786
|
-
case 3:
|
|
787
|
-
message.metadata = reader.string();
|
|
788
|
-
break;
|
|
789
|
-
case 4:
|
|
790
|
-
message.decisionPolicy = registry_1.GlobalDecoderRegistry.unwrapAny(reader);
|
|
791
|
-
break;
|
|
792
|
-
default:
|
|
793
|
-
reader.skipType(tag & 7);
|
|
794
|
-
break;
|
|
795
|
-
}
|
|
796
|
-
}
|
|
797
|
-
return message;
|
|
798
|
-
},
|
|
799
|
-
fromPartial(object) {
|
|
800
|
-
const message = createBaseMsgCreateGroupPolicy();
|
|
801
|
-
message.admin = object.admin ?? "";
|
|
802
|
-
message.groupId = object.groupId !== undefined && object.groupId !== null ? BigInt(object.groupId.toString()) : BigInt(0);
|
|
803
|
-
message.metadata = object.metadata ?? "";
|
|
804
|
-
message.decisionPolicy = object.decisionPolicy !== undefined && object.decisionPolicy !== null ? registry_1.GlobalDecoderRegistry.fromPartial(object.decisionPolicy) : undefined;
|
|
805
|
-
return message;
|
|
806
|
-
},
|
|
807
|
-
fromAmino(object) {
|
|
808
|
-
const message = createBaseMsgCreateGroupPolicy();
|
|
809
|
-
if (object.admin !== undefined && object.admin !== null) {
|
|
810
|
-
message.admin = object.admin;
|
|
811
|
-
}
|
|
812
|
-
if (object.group_id !== undefined && object.group_id !== null) {
|
|
813
|
-
message.groupId = BigInt(object.group_id);
|
|
814
|
-
}
|
|
815
|
-
if (object.metadata !== undefined && object.metadata !== null) {
|
|
816
|
-
message.metadata = object.metadata;
|
|
817
|
-
}
|
|
818
|
-
if (object.decision_policy !== undefined && object.decision_policy !== null) {
|
|
819
|
-
message.decisionPolicy = registry_1.GlobalDecoderRegistry.fromAminoMsg(object.decision_policy);
|
|
820
|
-
}
|
|
821
|
-
return message;
|
|
822
|
-
},
|
|
823
|
-
toAmino(message) {
|
|
824
|
-
const obj = {};
|
|
825
|
-
obj.admin = message.admin === "" ? undefined : message.admin;
|
|
826
|
-
obj.group_id = message.groupId !== BigInt(0) ? message.groupId?.toString() : undefined;
|
|
827
|
-
obj.metadata = message.metadata === "" ? undefined : message.metadata;
|
|
828
|
-
obj.decision_policy = message.decisionPolicy ? registry_1.GlobalDecoderRegistry.toAminoMsg(message.decisionPolicy) : undefined;
|
|
829
|
-
return obj;
|
|
830
|
-
},
|
|
831
|
-
fromAminoMsg(object) {
|
|
832
|
-
return exports.MsgCreateGroupPolicy.fromAmino(object.value);
|
|
833
|
-
},
|
|
834
|
-
toAminoMsg(message) {
|
|
835
|
-
return {
|
|
836
|
-
type: "cosmos-sdk/MsgCreateGroupPolicy",
|
|
837
|
-
value: exports.MsgCreateGroupPolicy.toAmino(message)
|
|
838
|
-
};
|
|
839
|
-
},
|
|
840
|
-
fromProtoMsg(message) {
|
|
841
|
-
return exports.MsgCreateGroupPolicy.decode(message.value);
|
|
842
|
-
},
|
|
843
|
-
toProto(message) {
|
|
844
|
-
return exports.MsgCreateGroupPolicy.encode(message).finish();
|
|
845
|
-
},
|
|
846
|
-
toProtoMsg(message) {
|
|
847
|
-
return {
|
|
848
|
-
typeUrl: "/cosmos.group.v1.MsgCreateGroupPolicy",
|
|
849
|
-
value: exports.MsgCreateGroupPolicy.encode(message).finish()
|
|
850
|
-
};
|
|
851
|
-
}
|
|
852
|
-
};
|
|
853
|
-
registry_1.GlobalDecoderRegistry.register(exports.MsgCreateGroupPolicy.typeUrl, exports.MsgCreateGroupPolicy);
|
|
854
|
-
registry_1.GlobalDecoderRegistry.registerAminoProtoMapping(exports.MsgCreateGroupPolicy.aminoType, exports.MsgCreateGroupPolicy.typeUrl);
|
|
855
|
-
function createBaseMsgCreateGroupPolicyResponse() {
|
|
856
|
-
return {
|
|
857
|
-
address: ""
|
|
858
|
-
};
|
|
859
|
-
}
|
|
860
|
-
exports.MsgCreateGroupPolicyResponse = {
|
|
861
|
-
typeUrl: "/cosmos.group.v1.MsgCreateGroupPolicyResponse",
|
|
862
|
-
aminoType: "cosmos-sdk/MsgCreateGroupPolicyResponse",
|
|
863
|
-
is(o) {
|
|
864
|
-
return o && (o.$typeUrl === exports.MsgCreateGroupPolicyResponse.typeUrl || typeof o.address === "string");
|
|
865
|
-
},
|
|
866
|
-
isAmino(o) {
|
|
867
|
-
return o && (o.$typeUrl === exports.MsgCreateGroupPolicyResponse.typeUrl || typeof o.address === "string");
|
|
868
|
-
},
|
|
869
|
-
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
870
|
-
if (message.address !== "") {
|
|
871
|
-
writer.uint32(10).string(message.address);
|
|
872
|
-
}
|
|
873
|
-
return writer;
|
|
874
|
-
},
|
|
875
|
-
decode(input, length) {
|
|
876
|
-
const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
|
|
877
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
878
|
-
const message = createBaseMsgCreateGroupPolicyResponse();
|
|
879
|
-
while (reader.pos < end) {
|
|
880
|
-
const tag = reader.uint32();
|
|
881
|
-
switch (tag >>> 3) {
|
|
882
|
-
case 1:
|
|
883
|
-
message.address = reader.string();
|
|
884
|
-
break;
|
|
885
|
-
default:
|
|
886
|
-
reader.skipType(tag & 7);
|
|
887
|
-
break;
|
|
888
|
-
}
|
|
889
|
-
}
|
|
890
|
-
return message;
|
|
891
|
-
},
|
|
892
|
-
fromPartial(object) {
|
|
893
|
-
const message = createBaseMsgCreateGroupPolicyResponse();
|
|
894
|
-
message.address = object.address ?? "";
|
|
895
|
-
return message;
|
|
896
|
-
},
|
|
897
|
-
fromAmino(object) {
|
|
898
|
-
const message = createBaseMsgCreateGroupPolicyResponse();
|
|
899
|
-
if (object.address !== undefined && object.address !== null) {
|
|
900
|
-
message.address = object.address;
|
|
901
|
-
}
|
|
902
|
-
return message;
|
|
903
|
-
},
|
|
904
|
-
toAmino(message) {
|
|
905
|
-
const obj = {};
|
|
906
|
-
obj.address = message.address === "" ? undefined : message.address;
|
|
907
|
-
return obj;
|
|
908
|
-
},
|
|
909
|
-
fromAminoMsg(object) {
|
|
910
|
-
return exports.MsgCreateGroupPolicyResponse.fromAmino(object.value);
|
|
911
|
-
},
|
|
912
|
-
toAminoMsg(message) {
|
|
913
|
-
return {
|
|
914
|
-
type: "cosmos-sdk/MsgCreateGroupPolicyResponse",
|
|
915
|
-
value: exports.MsgCreateGroupPolicyResponse.toAmino(message)
|
|
916
|
-
};
|
|
917
|
-
},
|
|
918
|
-
fromProtoMsg(message) {
|
|
919
|
-
return exports.MsgCreateGroupPolicyResponse.decode(message.value);
|
|
920
|
-
},
|
|
921
|
-
toProto(message) {
|
|
922
|
-
return exports.MsgCreateGroupPolicyResponse.encode(message).finish();
|
|
923
|
-
},
|
|
924
|
-
toProtoMsg(message) {
|
|
925
|
-
return {
|
|
926
|
-
typeUrl: "/cosmos.group.v1.MsgCreateGroupPolicyResponse",
|
|
927
|
-
value: exports.MsgCreateGroupPolicyResponse.encode(message).finish()
|
|
928
|
-
};
|
|
929
|
-
}
|
|
930
|
-
};
|
|
931
|
-
registry_1.GlobalDecoderRegistry.register(exports.MsgCreateGroupPolicyResponse.typeUrl, exports.MsgCreateGroupPolicyResponse);
|
|
932
|
-
registry_1.GlobalDecoderRegistry.registerAminoProtoMapping(exports.MsgCreateGroupPolicyResponse.aminoType, exports.MsgCreateGroupPolicyResponse.typeUrl);
|
|
933
|
-
function createBaseMsgUpdateGroupPolicyAdmin() {
|
|
934
|
-
return {
|
|
935
|
-
admin: "",
|
|
936
|
-
groupPolicyAddress: "",
|
|
937
|
-
newAdmin: ""
|
|
938
|
-
};
|
|
939
|
-
}
|
|
940
|
-
exports.MsgUpdateGroupPolicyAdmin = {
|
|
941
|
-
typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyAdmin",
|
|
942
|
-
aminoType: "cosmos-sdk/MsgUpdateGroupPolicyAdmin",
|
|
943
|
-
is(o) {
|
|
944
|
-
return o && (o.$typeUrl === exports.MsgUpdateGroupPolicyAdmin.typeUrl || typeof o.admin === "string" && typeof o.groupPolicyAddress === "string" && typeof o.newAdmin === "string");
|
|
945
|
-
},
|
|
946
|
-
isAmino(o) {
|
|
947
|
-
return o && (o.$typeUrl === exports.MsgUpdateGroupPolicyAdmin.typeUrl || typeof o.admin === "string" && typeof o.group_policy_address === "string" && typeof o.new_admin === "string");
|
|
948
|
-
},
|
|
949
|
-
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
950
|
-
if (message.admin !== "") {
|
|
951
|
-
writer.uint32(10).string(message.admin);
|
|
952
|
-
}
|
|
953
|
-
if (message.groupPolicyAddress !== "") {
|
|
954
|
-
writer.uint32(18).string(message.groupPolicyAddress);
|
|
955
|
-
}
|
|
956
|
-
if (message.newAdmin !== "") {
|
|
957
|
-
writer.uint32(26).string(message.newAdmin);
|
|
958
|
-
}
|
|
959
|
-
return writer;
|
|
960
|
-
},
|
|
961
|
-
decode(input, length) {
|
|
962
|
-
const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
|
|
963
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
964
|
-
const message = createBaseMsgUpdateGroupPolicyAdmin();
|
|
965
|
-
while (reader.pos < end) {
|
|
966
|
-
const tag = reader.uint32();
|
|
967
|
-
switch (tag >>> 3) {
|
|
968
|
-
case 1:
|
|
969
|
-
message.admin = reader.string();
|
|
970
|
-
break;
|
|
971
|
-
case 2:
|
|
972
|
-
message.groupPolicyAddress = reader.string();
|
|
973
|
-
break;
|
|
974
|
-
case 3:
|
|
975
|
-
message.newAdmin = reader.string();
|
|
976
|
-
break;
|
|
977
|
-
default:
|
|
978
|
-
reader.skipType(tag & 7);
|
|
979
|
-
break;
|
|
980
|
-
}
|
|
981
|
-
}
|
|
982
|
-
return message;
|
|
983
|
-
},
|
|
984
|
-
fromPartial(object) {
|
|
985
|
-
const message = createBaseMsgUpdateGroupPolicyAdmin();
|
|
986
|
-
message.admin = object.admin ?? "";
|
|
987
|
-
message.groupPolicyAddress = object.groupPolicyAddress ?? "";
|
|
988
|
-
message.newAdmin = object.newAdmin ?? "";
|
|
989
|
-
return message;
|
|
990
|
-
},
|
|
991
|
-
fromAmino(object) {
|
|
992
|
-
const message = createBaseMsgUpdateGroupPolicyAdmin();
|
|
993
|
-
if (object.admin !== undefined && object.admin !== null) {
|
|
994
|
-
message.admin = object.admin;
|
|
995
|
-
}
|
|
996
|
-
if (object.group_policy_address !== undefined && object.group_policy_address !== null) {
|
|
997
|
-
message.groupPolicyAddress = object.group_policy_address;
|
|
998
|
-
}
|
|
999
|
-
if (object.new_admin !== undefined && object.new_admin !== null) {
|
|
1000
|
-
message.newAdmin = object.new_admin;
|
|
1001
|
-
}
|
|
1002
|
-
return message;
|
|
1003
|
-
},
|
|
1004
|
-
toAmino(message) {
|
|
1005
|
-
const obj = {};
|
|
1006
|
-
obj.admin = message.admin === "" ? undefined : message.admin;
|
|
1007
|
-
obj.group_policy_address = message.groupPolicyAddress === "" ? undefined : message.groupPolicyAddress;
|
|
1008
|
-
obj.new_admin = message.newAdmin === "" ? undefined : message.newAdmin;
|
|
1009
|
-
return obj;
|
|
1010
|
-
},
|
|
1011
|
-
fromAminoMsg(object) {
|
|
1012
|
-
return exports.MsgUpdateGroupPolicyAdmin.fromAmino(object.value);
|
|
1013
|
-
},
|
|
1014
|
-
toAminoMsg(message) {
|
|
1015
|
-
return {
|
|
1016
|
-
type: "cosmos-sdk/MsgUpdateGroupPolicyAdmin",
|
|
1017
|
-
value: exports.MsgUpdateGroupPolicyAdmin.toAmino(message)
|
|
1018
|
-
};
|
|
1019
|
-
},
|
|
1020
|
-
fromProtoMsg(message) {
|
|
1021
|
-
return exports.MsgUpdateGroupPolicyAdmin.decode(message.value);
|
|
1022
|
-
},
|
|
1023
|
-
toProto(message) {
|
|
1024
|
-
return exports.MsgUpdateGroupPolicyAdmin.encode(message).finish();
|
|
1025
|
-
},
|
|
1026
|
-
toProtoMsg(message) {
|
|
1027
|
-
return {
|
|
1028
|
-
typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyAdmin",
|
|
1029
|
-
value: exports.MsgUpdateGroupPolicyAdmin.encode(message).finish()
|
|
1030
|
-
};
|
|
1031
|
-
}
|
|
1032
|
-
};
|
|
1033
|
-
registry_1.GlobalDecoderRegistry.register(exports.MsgUpdateGroupPolicyAdmin.typeUrl, exports.MsgUpdateGroupPolicyAdmin);
|
|
1034
|
-
registry_1.GlobalDecoderRegistry.registerAminoProtoMapping(exports.MsgUpdateGroupPolicyAdmin.aminoType, exports.MsgUpdateGroupPolicyAdmin.typeUrl);
|
|
1035
|
-
function createBaseMsgUpdateGroupPolicyAdminResponse() {
|
|
1036
|
-
return {};
|
|
1037
|
-
}
|
|
1038
|
-
exports.MsgUpdateGroupPolicyAdminResponse = {
|
|
1039
|
-
typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyAdminResponse",
|
|
1040
|
-
aminoType: "cosmos-sdk/MsgUpdateGroupPolicyAdminResponse",
|
|
1041
|
-
is(o) {
|
|
1042
|
-
return o && o.$typeUrl === exports.MsgUpdateGroupPolicyAdminResponse.typeUrl;
|
|
1043
|
-
},
|
|
1044
|
-
isAmino(o) {
|
|
1045
|
-
return o && o.$typeUrl === exports.MsgUpdateGroupPolicyAdminResponse.typeUrl;
|
|
1046
|
-
},
|
|
1047
|
-
encode(_, writer = binary_1.BinaryWriter.create()) {
|
|
1048
|
-
return writer;
|
|
1049
|
-
},
|
|
1050
|
-
decode(input, length) {
|
|
1051
|
-
const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
|
|
1052
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1053
|
-
const message = createBaseMsgUpdateGroupPolicyAdminResponse();
|
|
1054
|
-
while (reader.pos < end) {
|
|
1055
|
-
const tag = reader.uint32();
|
|
1056
|
-
switch (tag >>> 3) {
|
|
1057
|
-
default:
|
|
1058
|
-
reader.skipType(tag & 7);
|
|
1059
|
-
break;
|
|
1060
|
-
}
|
|
1061
|
-
}
|
|
1062
|
-
return message;
|
|
1063
|
-
},
|
|
1064
|
-
fromPartial(_) {
|
|
1065
|
-
const message = createBaseMsgUpdateGroupPolicyAdminResponse();
|
|
1066
|
-
return message;
|
|
1067
|
-
},
|
|
1068
|
-
fromAmino(_) {
|
|
1069
|
-
const message = createBaseMsgUpdateGroupPolicyAdminResponse();
|
|
1070
|
-
return message;
|
|
1071
|
-
},
|
|
1072
|
-
toAmino(_) {
|
|
1073
|
-
const obj = {};
|
|
1074
|
-
return obj;
|
|
1075
|
-
},
|
|
1076
|
-
fromAminoMsg(object) {
|
|
1077
|
-
return exports.MsgUpdateGroupPolicyAdminResponse.fromAmino(object.value);
|
|
1078
|
-
},
|
|
1079
|
-
toAminoMsg(message) {
|
|
1080
|
-
return {
|
|
1081
|
-
type: "cosmos-sdk/MsgUpdateGroupPolicyAdminResponse",
|
|
1082
|
-
value: exports.MsgUpdateGroupPolicyAdminResponse.toAmino(message)
|
|
1083
|
-
};
|
|
1084
|
-
},
|
|
1085
|
-
fromProtoMsg(message) {
|
|
1086
|
-
return exports.MsgUpdateGroupPolicyAdminResponse.decode(message.value);
|
|
1087
|
-
},
|
|
1088
|
-
toProto(message) {
|
|
1089
|
-
return exports.MsgUpdateGroupPolicyAdminResponse.encode(message).finish();
|
|
1090
|
-
},
|
|
1091
|
-
toProtoMsg(message) {
|
|
1092
|
-
return {
|
|
1093
|
-
typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyAdminResponse",
|
|
1094
|
-
value: exports.MsgUpdateGroupPolicyAdminResponse.encode(message).finish()
|
|
1095
|
-
};
|
|
1096
|
-
}
|
|
1097
|
-
};
|
|
1098
|
-
registry_1.GlobalDecoderRegistry.register(exports.MsgUpdateGroupPolicyAdminResponse.typeUrl, exports.MsgUpdateGroupPolicyAdminResponse);
|
|
1099
|
-
registry_1.GlobalDecoderRegistry.registerAminoProtoMapping(exports.MsgUpdateGroupPolicyAdminResponse.aminoType, exports.MsgUpdateGroupPolicyAdminResponse.typeUrl);
|
|
1100
|
-
function createBaseMsgCreateGroupWithPolicy() {
|
|
1101
|
-
return {
|
|
1102
|
-
admin: "",
|
|
1103
|
-
members: [],
|
|
1104
|
-
groupMetadata: "",
|
|
1105
|
-
groupPolicyMetadata: "",
|
|
1106
|
-
groupPolicyAsAdmin: false,
|
|
1107
|
-
decisionPolicy: undefined
|
|
1108
|
-
};
|
|
1109
|
-
}
|
|
1110
|
-
exports.MsgCreateGroupWithPolicy = {
|
|
1111
|
-
typeUrl: "/cosmos.group.v1.MsgCreateGroupWithPolicy",
|
|
1112
|
-
aminoType: "cosmos-sdk/MsgCreateGroupWithPolicy",
|
|
1113
|
-
is(o) {
|
|
1114
|
-
return o && (o.$typeUrl === exports.MsgCreateGroupWithPolicy.typeUrl || typeof o.admin === "string" && Array.isArray(o.members) && (!o.members.length || types_1.MemberRequest.is(o.members[0])) && typeof o.groupMetadata === "string" && typeof o.groupPolicyMetadata === "string" && typeof o.groupPolicyAsAdmin === "boolean");
|
|
1115
|
-
},
|
|
1116
|
-
isAmino(o) {
|
|
1117
|
-
return o && (o.$typeUrl === exports.MsgCreateGroupWithPolicy.typeUrl || typeof o.admin === "string" && Array.isArray(o.members) && (!o.members.length || types_1.MemberRequest.isAmino(o.members[0])) && typeof o.group_metadata === "string" && typeof o.group_policy_metadata === "string" && typeof o.group_policy_as_admin === "boolean");
|
|
1118
|
-
},
|
|
1119
|
-
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
1120
|
-
if (message.admin !== "") {
|
|
1121
|
-
writer.uint32(10).string(message.admin);
|
|
1122
|
-
}
|
|
1123
|
-
for (const v of message.members) {
|
|
1124
|
-
types_1.MemberRequest.encode(v, writer.uint32(18).fork()).ldelim();
|
|
1125
|
-
}
|
|
1126
|
-
if (message.groupMetadata !== "") {
|
|
1127
|
-
writer.uint32(26).string(message.groupMetadata);
|
|
1128
|
-
}
|
|
1129
|
-
if (message.groupPolicyMetadata !== "") {
|
|
1130
|
-
writer.uint32(34).string(message.groupPolicyMetadata);
|
|
1131
|
-
}
|
|
1132
|
-
if (message.groupPolicyAsAdmin === true) {
|
|
1133
|
-
writer.uint32(40).bool(message.groupPolicyAsAdmin);
|
|
1134
|
-
}
|
|
1135
|
-
if (message.decisionPolicy !== undefined) {
|
|
1136
|
-
any_1.Any.encode(registry_1.GlobalDecoderRegistry.wrapAny(message.decisionPolicy), writer.uint32(50).fork()).ldelim();
|
|
1137
|
-
}
|
|
1138
|
-
return writer;
|
|
1139
|
-
},
|
|
1140
|
-
decode(input, length) {
|
|
1141
|
-
const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
|
|
1142
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1143
|
-
const message = createBaseMsgCreateGroupWithPolicy();
|
|
1144
|
-
while (reader.pos < end) {
|
|
1145
|
-
const tag = reader.uint32();
|
|
1146
|
-
switch (tag >>> 3) {
|
|
1147
|
-
case 1:
|
|
1148
|
-
message.admin = reader.string();
|
|
1149
|
-
break;
|
|
1150
|
-
case 2:
|
|
1151
|
-
message.members.push(types_1.MemberRequest.decode(reader, reader.uint32()));
|
|
1152
|
-
break;
|
|
1153
|
-
case 3:
|
|
1154
|
-
message.groupMetadata = reader.string();
|
|
1155
|
-
break;
|
|
1156
|
-
case 4:
|
|
1157
|
-
message.groupPolicyMetadata = reader.string();
|
|
1158
|
-
break;
|
|
1159
|
-
case 5:
|
|
1160
|
-
message.groupPolicyAsAdmin = reader.bool();
|
|
1161
|
-
break;
|
|
1162
|
-
case 6:
|
|
1163
|
-
message.decisionPolicy = registry_1.GlobalDecoderRegistry.unwrapAny(reader);
|
|
1164
|
-
break;
|
|
1165
|
-
default:
|
|
1166
|
-
reader.skipType(tag & 7);
|
|
1167
|
-
break;
|
|
1168
|
-
}
|
|
1169
|
-
}
|
|
1170
|
-
return message;
|
|
1171
|
-
},
|
|
1172
|
-
fromPartial(object) {
|
|
1173
|
-
const message = createBaseMsgCreateGroupWithPolicy();
|
|
1174
|
-
message.admin = object.admin ?? "";
|
|
1175
|
-
message.members = object.members?.map(e => types_1.MemberRequest.fromPartial(e)) || [];
|
|
1176
|
-
message.groupMetadata = object.groupMetadata ?? "";
|
|
1177
|
-
message.groupPolicyMetadata = object.groupPolicyMetadata ?? "";
|
|
1178
|
-
message.groupPolicyAsAdmin = object.groupPolicyAsAdmin ?? false;
|
|
1179
|
-
message.decisionPolicy = object.decisionPolicy !== undefined && object.decisionPolicy !== null ? registry_1.GlobalDecoderRegistry.fromPartial(object.decisionPolicy) : undefined;
|
|
1180
|
-
return message;
|
|
1181
|
-
},
|
|
1182
|
-
fromAmino(object) {
|
|
1183
|
-
const message = createBaseMsgCreateGroupWithPolicy();
|
|
1184
|
-
if (object.admin !== undefined && object.admin !== null) {
|
|
1185
|
-
message.admin = object.admin;
|
|
1186
|
-
}
|
|
1187
|
-
message.members = object.members?.map(e => types_1.MemberRequest.fromAmino(e)) || [];
|
|
1188
|
-
if (object.group_metadata !== undefined && object.group_metadata !== null) {
|
|
1189
|
-
message.groupMetadata = object.group_metadata;
|
|
1190
|
-
}
|
|
1191
|
-
if (object.group_policy_metadata !== undefined && object.group_policy_metadata !== null) {
|
|
1192
|
-
message.groupPolicyMetadata = object.group_policy_metadata;
|
|
1193
|
-
}
|
|
1194
|
-
if (object.group_policy_as_admin !== undefined && object.group_policy_as_admin !== null) {
|
|
1195
|
-
message.groupPolicyAsAdmin = object.group_policy_as_admin;
|
|
1196
|
-
}
|
|
1197
|
-
if (object.decision_policy !== undefined && object.decision_policy !== null) {
|
|
1198
|
-
message.decisionPolicy = registry_1.GlobalDecoderRegistry.fromAminoMsg(object.decision_policy);
|
|
1199
|
-
}
|
|
1200
|
-
return message;
|
|
1201
|
-
},
|
|
1202
|
-
toAmino(message) {
|
|
1203
|
-
const obj = {};
|
|
1204
|
-
obj.admin = message.admin === "" ? undefined : message.admin;
|
|
1205
|
-
if (message.members) {
|
|
1206
|
-
obj.members = message.members.map(e => e ? types_1.MemberRequest.toAmino(e) : undefined);
|
|
1207
|
-
}
|
|
1208
|
-
else {
|
|
1209
|
-
obj.members = message.members;
|
|
1210
|
-
}
|
|
1211
|
-
obj.group_metadata = message.groupMetadata === "" ? undefined : message.groupMetadata;
|
|
1212
|
-
obj.group_policy_metadata = message.groupPolicyMetadata === "" ? undefined : message.groupPolicyMetadata;
|
|
1213
|
-
obj.group_policy_as_admin = message.groupPolicyAsAdmin === false ? undefined : message.groupPolicyAsAdmin;
|
|
1214
|
-
obj.decision_policy = message.decisionPolicy ? registry_1.GlobalDecoderRegistry.toAminoMsg(message.decisionPolicy) : undefined;
|
|
1215
|
-
return obj;
|
|
1216
|
-
},
|
|
1217
|
-
fromAminoMsg(object) {
|
|
1218
|
-
return exports.MsgCreateGroupWithPolicy.fromAmino(object.value);
|
|
1219
|
-
},
|
|
1220
|
-
toAminoMsg(message) {
|
|
1221
|
-
return {
|
|
1222
|
-
type: "cosmos-sdk/MsgCreateGroupWithPolicy",
|
|
1223
|
-
value: exports.MsgCreateGroupWithPolicy.toAmino(message)
|
|
1224
|
-
};
|
|
1225
|
-
},
|
|
1226
|
-
fromProtoMsg(message) {
|
|
1227
|
-
return exports.MsgCreateGroupWithPolicy.decode(message.value);
|
|
1228
|
-
},
|
|
1229
|
-
toProto(message) {
|
|
1230
|
-
return exports.MsgCreateGroupWithPolicy.encode(message).finish();
|
|
1231
|
-
},
|
|
1232
|
-
toProtoMsg(message) {
|
|
1233
|
-
return {
|
|
1234
|
-
typeUrl: "/cosmos.group.v1.MsgCreateGroupWithPolicy",
|
|
1235
|
-
value: exports.MsgCreateGroupWithPolicy.encode(message).finish()
|
|
1236
|
-
};
|
|
1237
|
-
}
|
|
1238
|
-
};
|
|
1239
|
-
registry_1.GlobalDecoderRegistry.register(exports.MsgCreateGroupWithPolicy.typeUrl, exports.MsgCreateGroupWithPolicy);
|
|
1240
|
-
registry_1.GlobalDecoderRegistry.registerAminoProtoMapping(exports.MsgCreateGroupWithPolicy.aminoType, exports.MsgCreateGroupWithPolicy.typeUrl);
|
|
1241
|
-
function createBaseMsgCreateGroupWithPolicyResponse() {
|
|
1242
|
-
return {
|
|
1243
|
-
groupId: BigInt(0),
|
|
1244
|
-
groupPolicyAddress: ""
|
|
1245
|
-
};
|
|
1246
|
-
}
|
|
1247
|
-
exports.MsgCreateGroupWithPolicyResponse = {
|
|
1248
|
-
typeUrl: "/cosmos.group.v1.MsgCreateGroupWithPolicyResponse",
|
|
1249
|
-
aminoType: "cosmos-sdk/MsgCreateGroupWithPolicyResponse",
|
|
1250
|
-
is(o) {
|
|
1251
|
-
return o && (o.$typeUrl === exports.MsgCreateGroupWithPolicyResponse.typeUrl || typeof o.groupId === "bigint" && typeof o.groupPolicyAddress === "string");
|
|
1252
|
-
},
|
|
1253
|
-
isAmino(o) {
|
|
1254
|
-
return o && (o.$typeUrl === exports.MsgCreateGroupWithPolicyResponse.typeUrl || typeof o.group_id === "bigint" && typeof o.group_policy_address === "string");
|
|
1255
|
-
},
|
|
1256
|
-
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
1257
|
-
if (message.groupId !== BigInt(0)) {
|
|
1258
|
-
writer.uint32(8).uint64(message.groupId);
|
|
1259
|
-
}
|
|
1260
|
-
if (message.groupPolicyAddress !== "") {
|
|
1261
|
-
writer.uint32(18).string(message.groupPolicyAddress);
|
|
1262
|
-
}
|
|
1263
|
-
return writer;
|
|
1264
|
-
},
|
|
1265
|
-
decode(input, length) {
|
|
1266
|
-
const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
|
|
1267
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1268
|
-
const message = createBaseMsgCreateGroupWithPolicyResponse();
|
|
1269
|
-
while (reader.pos < end) {
|
|
1270
|
-
const tag = reader.uint32();
|
|
1271
|
-
switch (tag >>> 3) {
|
|
1272
|
-
case 1:
|
|
1273
|
-
message.groupId = reader.uint64();
|
|
1274
|
-
break;
|
|
1275
|
-
case 2:
|
|
1276
|
-
message.groupPolicyAddress = reader.string();
|
|
1277
|
-
break;
|
|
1278
|
-
default:
|
|
1279
|
-
reader.skipType(tag & 7);
|
|
1280
|
-
break;
|
|
1281
|
-
}
|
|
1282
|
-
}
|
|
1283
|
-
return message;
|
|
1284
|
-
},
|
|
1285
|
-
fromPartial(object) {
|
|
1286
|
-
const message = createBaseMsgCreateGroupWithPolicyResponse();
|
|
1287
|
-
message.groupId = object.groupId !== undefined && object.groupId !== null ? BigInt(object.groupId.toString()) : BigInt(0);
|
|
1288
|
-
message.groupPolicyAddress = object.groupPolicyAddress ?? "";
|
|
1289
|
-
return message;
|
|
1290
|
-
},
|
|
1291
|
-
fromAmino(object) {
|
|
1292
|
-
const message = createBaseMsgCreateGroupWithPolicyResponse();
|
|
1293
|
-
if (object.group_id !== undefined && object.group_id !== null) {
|
|
1294
|
-
message.groupId = BigInt(object.group_id);
|
|
1295
|
-
}
|
|
1296
|
-
if (object.group_policy_address !== undefined && object.group_policy_address !== null) {
|
|
1297
|
-
message.groupPolicyAddress = object.group_policy_address;
|
|
1298
|
-
}
|
|
1299
|
-
return message;
|
|
1300
|
-
},
|
|
1301
|
-
toAmino(message) {
|
|
1302
|
-
const obj = {};
|
|
1303
|
-
obj.group_id = message.groupId !== BigInt(0) ? message.groupId?.toString() : undefined;
|
|
1304
|
-
obj.group_policy_address = message.groupPolicyAddress === "" ? undefined : message.groupPolicyAddress;
|
|
1305
|
-
return obj;
|
|
1306
|
-
},
|
|
1307
|
-
fromAminoMsg(object) {
|
|
1308
|
-
return exports.MsgCreateGroupWithPolicyResponse.fromAmino(object.value);
|
|
1309
|
-
},
|
|
1310
|
-
toAminoMsg(message) {
|
|
1311
|
-
return {
|
|
1312
|
-
type: "cosmos-sdk/MsgCreateGroupWithPolicyResponse",
|
|
1313
|
-
value: exports.MsgCreateGroupWithPolicyResponse.toAmino(message)
|
|
1314
|
-
};
|
|
1315
|
-
},
|
|
1316
|
-
fromProtoMsg(message) {
|
|
1317
|
-
return exports.MsgCreateGroupWithPolicyResponse.decode(message.value);
|
|
1318
|
-
},
|
|
1319
|
-
toProto(message) {
|
|
1320
|
-
return exports.MsgCreateGroupWithPolicyResponse.encode(message).finish();
|
|
1321
|
-
},
|
|
1322
|
-
toProtoMsg(message) {
|
|
1323
|
-
return {
|
|
1324
|
-
typeUrl: "/cosmos.group.v1.MsgCreateGroupWithPolicyResponse",
|
|
1325
|
-
value: exports.MsgCreateGroupWithPolicyResponse.encode(message).finish()
|
|
1326
|
-
};
|
|
1327
|
-
}
|
|
1328
|
-
};
|
|
1329
|
-
registry_1.GlobalDecoderRegistry.register(exports.MsgCreateGroupWithPolicyResponse.typeUrl, exports.MsgCreateGroupWithPolicyResponse);
|
|
1330
|
-
registry_1.GlobalDecoderRegistry.registerAminoProtoMapping(exports.MsgCreateGroupWithPolicyResponse.aminoType, exports.MsgCreateGroupWithPolicyResponse.typeUrl);
|
|
1331
|
-
function createBaseMsgUpdateGroupPolicyDecisionPolicy() {
|
|
1332
|
-
return {
|
|
1333
|
-
admin: "",
|
|
1334
|
-
groupPolicyAddress: "",
|
|
1335
|
-
decisionPolicy: undefined
|
|
1336
|
-
};
|
|
1337
|
-
}
|
|
1338
|
-
exports.MsgUpdateGroupPolicyDecisionPolicy = {
|
|
1339
|
-
typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyDecisionPolicy",
|
|
1340
|
-
aminoType: "cosmos-sdk/MsgUpdateGroupDecisionPolicy",
|
|
1341
|
-
is(o) {
|
|
1342
|
-
return o && (o.$typeUrl === exports.MsgUpdateGroupPolicyDecisionPolicy.typeUrl || typeof o.admin === "string" && typeof o.groupPolicyAddress === "string");
|
|
1343
|
-
},
|
|
1344
|
-
isAmino(o) {
|
|
1345
|
-
return o && (o.$typeUrl === exports.MsgUpdateGroupPolicyDecisionPolicy.typeUrl || typeof o.admin === "string" && typeof o.group_policy_address === "string");
|
|
1346
|
-
},
|
|
1347
|
-
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
1348
|
-
if (message.admin !== "") {
|
|
1349
|
-
writer.uint32(10).string(message.admin);
|
|
1350
|
-
}
|
|
1351
|
-
if (message.groupPolicyAddress !== "") {
|
|
1352
|
-
writer.uint32(18).string(message.groupPolicyAddress);
|
|
1353
|
-
}
|
|
1354
|
-
if (message.decisionPolicy !== undefined) {
|
|
1355
|
-
any_1.Any.encode(registry_1.GlobalDecoderRegistry.wrapAny(message.decisionPolicy), writer.uint32(26).fork()).ldelim();
|
|
1356
|
-
}
|
|
1357
|
-
return writer;
|
|
1358
|
-
},
|
|
1359
|
-
decode(input, length) {
|
|
1360
|
-
const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
|
|
1361
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1362
|
-
const message = createBaseMsgUpdateGroupPolicyDecisionPolicy();
|
|
1363
|
-
while (reader.pos < end) {
|
|
1364
|
-
const tag = reader.uint32();
|
|
1365
|
-
switch (tag >>> 3) {
|
|
1366
|
-
case 1:
|
|
1367
|
-
message.admin = reader.string();
|
|
1368
|
-
break;
|
|
1369
|
-
case 2:
|
|
1370
|
-
message.groupPolicyAddress = reader.string();
|
|
1371
|
-
break;
|
|
1372
|
-
case 3:
|
|
1373
|
-
message.decisionPolicy = registry_1.GlobalDecoderRegistry.unwrapAny(reader);
|
|
1374
|
-
break;
|
|
1375
|
-
default:
|
|
1376
|
-
reader.skipType(tag & 7);
|
|
1377
|
-
break;
|
|
1378
|
-
}
|
|
1379
|
-
}
|
|
1380
|
-
return message;
|
|
1381
|
-
},
|
|
1382
|
-
fromPartial(object) {
|
|
1383
|
-
const message = createBaseMsgUpdateGroupPolicyDecisionPolicy();
|
|
1384
|
-
message.admin = object.admin ?? "";
|
|
1385
|
-
message.groupPolicyAddress = object.groupPolicyAddress ?? "";
|
|
1386
|
-
message.decisionPolicy = object.decisionPolicy !== undefined && object.decisionPolicy !== null ? registry_1.GlobalDecoderRegistry.fromPartial(object.decisionPolicy) : undefined;
|
|
1387
|
-
return message;
|
|
1388
|
-
},
|
|
1389
|
-
fromAmino(object) {
|
|
1390
|
-
const message = createBaseMsgUpdateGroupPolicyDecisionPolicy();
|
|
1391
|
-
if (object.admin !== undefined && object.admin !== null) {
|
|
1392
|
-
message.admin = object.admin;
|
|
1393
|
-
}
|
|
1394
|
-
if (object.group_policy_address !== undefined && object.group_policy_address !== null) {
|
|
1395
|
-
message.groupPolicyAddress = object.group_policy_address;
|
|
1396
|
-
}
|
|
1397
|
-
if (object.decision_policy !== undefined && object.decision_policy !== null) {
|
|
1398
|
-
message.decisionPolicy = registry_1.GlobalDecoderRegistry.fromAminoMsg(object.decision_policy);
|
|
1399
|
-
}
|
|
1400
|
-
return message;
|
|
1401
|
-
},
|
|
1402
|
-
toAmino(message) {
|
|
1403
|
-
const obj = {};
|
|
1404
|
-
obj.admin = message.admin === "" ? undefined : message.admin;
|
|
1405
|
-
obj.group_policy_address = message.groupPolicyAddress === "" ? undefined : message.groupPolicyAddress;
|
|
1406
|
-
obj.decision_policy = message.decisionPolicy ? registry_1.GlobalDecoderRegistry.toAminoMsg(message.decisionPolicy) : undefined;
|
|
1407
|
-
return obj;
|
|
1408
|
-
},
|
|
1409
|
-
fromAminoMsg(object) {
|
|
1410
|
-
return exports.MsgUpdateGroupPolicyDecisionPolicy.fromAmino(object.value);
|
|
1411
|
-
},
|
|
1412
|
-
toAminoMsg(message) {
|
|
1413
|
-
return {
|
|
1414
|
-
type: "cosmos-sdk/MsgUpdateGroupDecisionPolicy",
|
|
1415
|
-
value: exports.MsgUpdateGroupPolicyDecisionPolicy.toAmino(message)
|
|
1416
|
-
};
|
|
1417
|
-
},
|
|
1418
|
-
fromProtoMsg(message) {
|
|
1419
|
-
return exports.MsgUpdateGroupPolicyDecisionPolicy.decode(message.value);
|
|
1420
|
-
},
|
|
1421
|
-
toProto(message) {
|
|
1422
|
-
return exports.MsgUpdateGroupPolicyDecisionPolicy.encode(message).finish();
|
|
1423
|
-
},
|
|
1424
|
-
toProtoMsg(message) {
|
|
1425
|
-
return {
|
|
1426
|
-
typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyDecisionPolicy",
|
|
1427
|
-
value: exports.MsgUpdateGroupPolicyDecisionPolicy.encode(message).finish()
|
|
1428
|
-
};
|
|
1429
|
-
}
|
|
1430
|
-
};
|
|
1431
|
-
registry_1.GlobalDecoderRegistry.register(exports.MsgUpdateGroupPolicyDecisionPolicy.typeUrl, exports.MsgUpdateGroupPolicyDecisionPolicy);
|
|
1432
|
-
registry_1.GlobalDecoderRegistry.registerAminoProtoMapping(exports.MsgUpdateGroupPolicyDecisionPolicy.aminoType, exports.MsgUpdateGroupPolicyDecisionPolicy.typeUrl);
|
|
1433
|
-
function createBaseMsgUpdateGroupPolicyDecisionPolicyResponse() {
|
|
1434
|
-
return {};
|
|
1435
|
-
}
|
|
1436
|
-
exports.MsgUpdateGroupPolicyDecisionPolicyResponse = {
|
|
1437
|
-
typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyDecisionPolicyResponse",
|
|
1438
|
-
aminoType: "cosmos-sdk/MsgUpdateGroupPolicyDecisionPolicyResponse",
|
|
1439
|
-
is(o) {
|
|
1440
|
-
return o && o.$typeUrl === exports.MsgUpdateGroupPolicyDecisionPolicyResponse.typeUrl;
|
|
1441
|
-
},
|
|
1442
|
-
isAmino(o) {
|
|
1443
|
-
return o && o.$typeUrl === exports.MsgUpdateGroupPolicyDecisionPolicyResponse.typeUrl;
|
|
1444
|
-
},
|
|
1445
|
-
encode(_, writer = binary_1.BinaryWriter.create()) {
|
|
1446
|
-
return writer;
|
|
1447
|
-
},
|
|
1448
|
-
decode(input, length) {
|
|
1449
|
-
const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
|
|
1450
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1451
|
-
const message = createBaseMsgUpdateGroupPolicyDecisionPolicyResponse();
|
|
1452
|
-
while (reader.pos < end) {
|
|
1453
|
-
const tag = reader.uint32();
|
|
1454
|
-
switch (tag >>> 3) {
|
|
1455
|
-
default:
|
|
1456
|
-
reader.skipType(tag & 7);
|
|
1457
|
-
break;
|
|
1458
|
-
}
|
|
1459
|
-
}
|
|
1460
|
-
return message;
|
|
1461
|
-
},
|
|
1462
|
-
fromPartial(_) {
|
|
1463
|
-
const message = createBaseMsgUpdateGroupPolicyDecisionPolicyResponse();
|
|
1464
|
-
return message;
|
|
1465
|
-
},
|
|
1466
|
-
fromAmino(_) {
|
|
1467
|
-
const message = createBaseMsgUpdateGroupPolicyDecisionPolicyResponse();
|
|
1468
|
-
return message;
|
|
1469
|
-
},
|
|
1470
|
-
toAmino(_) {
|
|
1471
|
-
const obj = {};
|
|
1472
|
-
return obj;
|
|
1473
|
-
},
|
|
1474
|
-
fromAminoMsg(object) {
|
|
1475
|
-
return exports.MsgUpdateGroupPolicyDecisionPolicyResponse.fromAmino(object.value);
|
|
1476
|
-
},
|
|
1477
|
-
toAminoMsg(message) {
|
|
1478
|
-
return {
|
|
1479
|
-
type: "cosmos-sdk/MsgUpdateGroupPolicyDecisionPolicyResponse",
|
|
1480
|
-
value: exports.MsgUpdateGroupPolicyDecisionPolicyResponse.toAmino(message)
|
|
1481
|
-
};
|
|
1482
|
-
},
|
|
1483
|
-
fromProtoMsg(message) {
|
|
1484
|
-
return exports.MsgUpdateGroupPolicyDecisionPolicyResponse.decode(message.value);
|
|
1485
|
-
},
|
|
1486
|
-
toProto(message) {
|
|
1487
|
-
return exports.MsgUpdateGroupPolicyDecisionPolicyResponse.encode(message).finish();
|
|
1488
|
-
},
|
|
1489
|
-
toProtoMsg(message) {
|
|
1490
|
-
return {
|
|
1491
|
-
typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyDecisionPolicyResponse",
|
|
1492
|
-
value: exports.MsgUpdateGroupPolicyDecisionPolicyResponse.encode(message).finish()
|
|
1493
|
-
};
|
|
1494
|
-
}
|
|
1495
|
-
};
|
|
1496
|
-
registry_1.GlobalDecoderRegistry.register(exports.MsgUpdateGroupPolicyDecisionPolicyResponse.typeUrl, exports.MsgUpdateGroupPolicyDecisionPolicyResponse);
|
|
1497
|
-
registry_1.GlobalDecoderRegistry.registerAminoProtoMapping(exports.MsgUpdateGroupPolicyDecisionPolicyResponse.aminoType, exports.MsgUpdateGroupPolicyDecisionPolicyResponse.typeUrl);
|
|
1498
|
-
function createBaseMsgUpdateGroupPolicyMetadata() {
|
|
1499
|
-
return {
|
|
1500
|
-
admin: "",
|
|
1501
|
-
groupPolicyAddress: "",
|
|
1502
|
-
metadata: ""
|
|
1503
|
-
};
|
|
1504
|
-
}
|
|
1505
|
-
exports.MsgUpdateGroupPolicyMetadata = {
|
|
1506
|
-
typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyMetadata",
|
|
1507
|
-
aminoType: "cosmos-sdk/MsgUpdateGroupPolicyMetadata",
|
|
1508
|
-
is(o) {
|
|
1509
|
-
return o && (o.$typeUrl === exports.MsgUpdateGroupPolicyMetadata.typeUrl || typeof o.admin === "string" && typeof o.groupPolicyAddress === "string" && typeof o.metadata === "string");
|
|
1510
|
-
},
|
|
1511
|
-
isAmino(o) {
|
|
1512
|
-
return o && (o.$typeUrl === exports.MsgUpdateGroupPolicyMetadata.typeUrl || typeof o.admin === "string" && typeof o.group_policy_address === "string" && typeof o.metadata === "string");
|
|
1513
|
-
},
|
|
1514
|
-
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
1515
|
-
if (message.admin !== "") {
|
|
1516
|
-
writer.uint32(10).string(message.admin);
|
|
1517
|
-
}
|
|
1518
|
-
if (message.groupPolicyAddress !== "") {
|
|
1519
|
-
writer.uint32(18).string(message.groupPolicyAddress);
|
|
1520
|
-
}
|
|
1521
|
-
if (message.metadata !== "") {
|
|
1522
|
-
writer.uint32(26).string(message.metadata);
|
|
1523
|
-
}
|
|
1524
|
-
return writer;
|
|
1525
|
-
},
|
|
1526
|
-
decode(input, length) {
|
|
1527
|
-
const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
|
|
1528
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1529
|
-
const message = createBaseMsgUpdateGroupPolicyMetadata();
|
|
1530
|
-
while (reader.pos < end) {
|
|
1531
|
-
const tag = reader.uint32();
|
|
1532
|
-
switch (tag >>> 3) {
|
|
1533
|
-
case 1:
|
|
1534
|
-
message.admin = reader.string();
|
|
1535
|
-
break;
|
|
1536
|
-
case 2:
|
|
1537
|
-
message.groupPolicyAddress = reader.string();
|
|
1538
|
-
break;
|
|
1539
|
-
case 3:
|
|
1540
|
-
message.metadata = reader.string();
|
|
1541
|
-
break;
|
|
1542
|
-
default:
|
|
1543
|
-
reader.skipType(tag & 7);
|
|
1544
|
-
break;
|
|
1545
|
-
}
|
|
1546
|
-
}
|
|
1547
|
-
return message;
|
|
1548
|
-
},
|
|
1549
|
-
fromPartial(object) {
|
|
1550
|
-
const message = createBaseMsgUpdateGroupPolicyMetadata();
|
|
1551
|
-
message.admin = object.admin ?? "";
|
|
1552
|
-
message.groupPolicyAddress = object.groupPolicyAddress ?? "";
|
|
1553
|
-
message.metadata = object.metadata ?? "";
|
|
1554
|
-
return message;
|
|
1555
|
-
},
|
|
1556
|
-
fromAmino(object) {
|
|
1557
|
-
const message = createBaseMsgUpdateGroupPolicyMetadata();
|
|
1558
|
-
if (object.admin !== undefined && object.admin !== null) {
|
|
1559
|
-
message.admin = object.admin;
|
|
1560
|
-
}
|
|
1561
|
-
if (object.group_policy_address !== undefined && object.group_policy_address !== null) {
|
|
1562
|
-
message.groupPolicyAddress = object.group_policy_address;
|
|
1563
|
-
}
|
|
1564
|
-
if (object.metadata !== undefined && object.metadata !== null) {
|
|
1565
|
-
message.metadata = object.metadata;
|
|
1566
|
-
}
|
|
1567
|
-
return message;
|
|
1568
|
-
},
|
|
1569
|
-
toAmino(message) {
|
|
1570
|
-
const obj = {};
|
|
1571
|
-
obj.admin = message.admin === "" ? undefined : message.admin;
|
|
1572
|
-
obj.group_policy_address = message.groupPolicyAddress === "" ? undefined : message.groupPolicyAddress;
|
|
1573
|
-
obj.metadata = message.metadata === "" ? undefined : message.metadata;
|
|
1574
|
-
return obj;
|
|
1575
|
-
},
|
|
1576
|
-
fromAminoMsg(object) {
|
|
1577
|
-
return exports.MsgUpdateGroupPolicyMetadata.fromAmino(object.value);
|
|
1578
|
-
},
|
|
1579
|
-
toAminoMsg(message) {
|
|
1580
|
-
return {
|
|
1581
|
-
type: "cosmos-sdk/MsgUpdateGroupPolicyMetadata",
|
|
1582
|
-
value: exports.MsgUpdateGroupPolicyMetadata.toAmino(message)
|
|
1583
|
-
};
|
|
1584
|
-
},
|
|
1585
|
-
fromProtoMsg(message) {
|
|
1586
|
-
return exports.MsgUpdateGroupPolicyMetadata.decode(message.value);
|
|
1587
|
-
},
|
|
1588
|
-
toProto(message) {
|
|
1589
|
-
return exports.MsgUpdateGroupPolicyMetadata.encode(message).finish();
|
|
1590
|
-
},
|
|
1591
|
-
toProtoMsg(message) {
|
|
1592
|
-
return {
|
|
1593
|
-
typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyMetadata",
|
|
1594
|
-
value: exports.MsgUpdateGroupPolicyMetadata.encode(message).finish()
|
|
1595
|
-
};
|
|
1596
|
-
}
|
|
1597
|
-
};
|
|
1598
|
-
registry_1.GlobalDecoderRegistry.register(exports.MsgUpdateGroupPolicyMetadata.typeUrl, exports.MsgUpdateGroupPolicyMetadata);
|
|
1599
|
-
registry_1.GlobalDecoderRegistry.registerAminoProtoMapping(exports.MsgUpdateGroupPolicyMetadata.aminoType, exports.MsgUpdateGroupPolicyMetadata.typeUrl);
|
|
1600
|
-
function createBaseMsgUpdateGroupPolicyMetadataResponse() {
|
|
1601
|
-
return {};
|
|
1602
|
-
}
|
|
1603
|
-
exports.MsgUpdateGroupPolicyMetadataResponse = {
|
|
1604
|
-
typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyMetadataResponse",
|
|
1605
|
-
aminoType: "cosmos-sdk/MsgUpdateGroupPolicyMetadataResponse",
|
|
1606
|
-
is(o) {
|
|
1607
|
-
return o && o.$typeUrl === exports.MsgUpdateGroupPolicyMetadataResponse.typeUrl;
|
|
1608
|
-
},
|
|
1609
|
-
isAmino(o) {
|
|
1610
|
-
return o && o.$typeUrl === exports.MsgUpdateGroupPolicyMetadataResponse.typeUrl;
|
|
1611
|
-
},
|
|
1612
|
-
encode(_, writer = binary_1.BinaryWriter.create()) {
|
|
1613
|
-
return writer;
|
|
1614
|
-
},
|
|
1615
|
-
decode(input, length) {
|
|
1616
|
-
const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
|
|
1617
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1618
|
-
const message = createBaseMsgUpdateGroupPolicyMetadataResponse();
|
|
1619
|
-
while (reader.pos < end) {
|
|
1620
|
-
const tag = reader.uint32();
|
|
1621
|
-
switch (tag >>> 3) {
|
|
1622
|
-
default:
|
|
1623
|
-
reader.skipType(tag & 7);
|
|
1624
|
-
break;
|
|
1625
|
-
}
|
|
1626
|
-
}
|
|
1627
|
-
return message;
|
|
1628
|
-
},
|
|
1629
|
-
fromPartial(_) {
|
|
1630
|
-
const message = createBaseMsgUpdateGroupPolicyMetadataResponse();
|
|
1631
|
-
return message;
|
|
1632
|
-
},
|
|
1633
|
-
fromAmino(_) {
|
|
1634
|
-
const message = createBaseMsgUpdateGroupPolicyMetadataResponse();
|
|
1635
|
-
return message;
|
|
1636
|
-
},
|
|
1637
|
-
toAmino(_) {
|
|
1638
|
-
const obj = {};
|
|
1639
|
-
return obj;
|
|
1640
|
-
},
|
|
1641
|
-
fromAminoMsg(object) {
|
|
1642
|
-
return exports.MsgUpdateGroupPolicyMetadataResponse.fromAmino(object.value);
|
|
1643
|
-
},
|
|
1644
|
-
toAminoMsg(message) {
|
|
1645
|
-
return {
|
|
1646
|
-
type: "cosmos-sdk/MsgUpdateGroupPolicyMetadataResponse",
|
|
1647
|
-
value: exports.MsgUpdateGroupPolicyMetadataResponse.toAmino(message)
|
|
1648
|
-
};
|
|
1649
|
-
},
|
|
1650
|
-
fromProtoMsg(message) {
|
|
1651
|
-
return exports.MsgUpdateGroupPolicyMetadataResponse.decode(message.value);
|
|
1652
|
-
},
|
|
1653
|
-
toProto(message) {
|
|
1654
|
-
return exports.MsgUpdateGroupPolicyMetadataResponse.encode(message).finish();
|
|
1655
|
-
},
|
|
1656
|
-
toProtoMsg(message) {
|
|
1657
|
-
return {
|
|
1658
|
-
typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyMetadataResponse",
|
|
1659
|
-
value: exports.MsgUpdateGroupPolicyMetadataResponse.encode(message).finish()
|
|
1660
|
-
};
|
|
1661
|
-
}
|
|
1662
|
-
};
|
|
1663
|
-
registry_1.GlobalDecoderRegistry.register(exports.MsgUpdateGroupPolicyMetadataResponse.typeUrl, exports.MsgUpdateGroupPolicyMetadataResponse);
|
|
1664
|
-
registry_1.GlobalDecoderRegistry.registerAminoProtoMapping(exports.MsgUpdateGroupPolicyMetadataResponse.aminoType, exports.MsgUpdateGroupPolicyMetadataResponse.typeUrl);
|
|
1665
|
-
function createBaseMsgSubmitProposal() {
|
|
1666
|
-
return {
|
|
1667
|
-
groupPolicyAddress: "",
|
|
1668
|
-
proposers: [],
|
|
1669
|
-
metadata: "",
|
|
1670
|
-
messages: [],
|
|
1671
|
-
exec: 0,
|
|
1672
|
-
title: "",
|
|
1673
|
-
summary: ""
|
|
1674
|
-
};
|
|
1675
|
-
}
|
|
1676
|
-
exports.MsgSubmitProposal = {
|
|
1677
|
-
typeUrl: "/cosmos.group.v1.MsgSubmitProposal",
|
|
1678
|
-
aminoType: "cosmos-sdk/group/MsgSubmitProposal",
|
|
1679
|
-
is(o) {
|
|
1680
|
-
return o && (o.$typeUrl === exports.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_1.Any.is(o.messages[0])) && (0, helpers_1.isSet)(o.exec) && typeof o.title === "string" && typeof o.summary === "string");
|
|
1681
|
-
},
|
|
1682
|
-
isAmino(o) {
|
|
1683
|
-
return o && (o.$typeUrl === exports.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_1.Any.isAmino(o.messages[0])) && (0, helpers_1.isSet)(o.exec) && typeof o.title === "string" && typeof o.summary === "string");
|
|
1684
|
-
},
|
|
1685
|
-
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
1686
|
-
if (message.groupPolicyAddress !== "") {
|
|
1687
|
-
writer.uint32(10).string(message.groupPolicyAddress);
|
|
1688
|
-
}
|
|
1689
|
-
for (const v of message.proposers) {
|
|
1690
|
-
writer.uint32(18).string(v);
|
|
1691
|
-
}
|
|
1692
|
-
if (message.metadata !== "") {
|
|
1693
|
-
writer.uint32(26).string(message.metadata);
|
|
1694
|
-
}
|
|
1695
|
-
for (const v of message.messages) {
|
|
1696
|
-
any_1.Any.encode(v, writer.uint32(34).fork()).ldelim();
|
|
1697
|
-
}
|
|
1698
|
-
if (message.exec !== 0) {
|
|
1699
|
-
writer.uint32(40).int32(message.exec);
|
|
1700
|
-
}
|
|
1701
|
-
if (message.title !== "") {
|
|
1702
|
-
writer.uint32(50).string(message.title);
|
|
1703
|
-
}
|
|
1704
|
-
if (message.summary !== "") {
|
|
1705
|
-
writer.uint32(58).string(message.summary);
|
|
1706
|
-
}
|
|
1707
|
-
return writer;
|
|
1708
|
-
},
|
|
1709
|
-
decode(input, length) {
|
|
1710
|
-
const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
|
|
1711
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1712
|
-
const message = createBaseMsgSubmitProposal();
|
|
1713
|
-
while (reader.pos < end) {
|
|
1714
|
-
const tag = reader.uint32();
|
|
1715
|
-
switch (tag >>> 3) {
|
|
1716
|
-
case 1:
|
|
1717
|
-
message.groupPolicyAddress = reader.string();
|
|
1718
|
-
break;
|
|
1719
|
-
case 2:
|
|
1720
|
-
message.proposers.push(reader.string());
|
|
1721
|
-
break;
|
|
1722
|
-
case 3:
|
|
1723
|
-
message.metadata = reader.string();
|
|
1724
|
-
break;
|
|
1725
|
-
case 4:
|
|
1726
|
-
message.messages.push(any_1.Any.decode(reader, reader.uint32()));
|
|
1727
|
-
break;
|
|
1728
|
-
case 5:
|
|
1729
|
-
message.exec = reader.int32();
|
|
1730
|
-
break;
|
|
1731
|
-
case 6:
|
|
1732
|
-
message.title = reader.string();
|
|
1733
|
-
break;
|
|
1734
|
-
case 7:
|
|
1735
|
-
message.summary = reader.string();
|
|
1736
|
-
break;
|
|
1737
|
-
default:
|
|
1738
|
-
reader.skipType(tag & 7);
|
|
1739
|
-
break;
|
|
1740
|
-
}
|
|
1741
|
-
}
|
|
1742
|
-
return message;
|
|
1743
|
-
},
|
|
1744
|
-
fromPartial(object) {
|
|
1745
|
-
const message = createBaseMsgSubmitProposal();
|
|
1746
|
-
message.groupPolicyAddress = object.groupPolicyAddress ?? "";
|
|
1747
|
-
message.proposers = object.proposers?.map(e => e) || [];
|
|
1748
|
-
message.metadata = object.metadata ?? "";
|
|
1749
|
-
message.messages = object.messages?.map(e => any_1.Any.fromPartial(e)) || [];
|
|
1750
|
-
message.exec = object.exec ?? 0;
|
|
1751
|
-
message.title = object.title ?? "";
|
|
1752
|
-
message.summary = object.summary ?? "";
|
|
1753
|
-
return message;
|
|
1754
|
-
},
|
|
1755
|
-
fromAmino(object) {
|
|
1756
|
-
const message = createBaseMsgSubmitProposal();
|
|
1757
|
-
if (object.group_policy_address !== undefined && object.group_policy_address !== null) {
|
|
1758
|
-
message.groupPolicyAddress = object.group_policy_address;
|
|
1759
|
-
}
|
|
1760
|
-
message.proposers = object.proposers?.map(e => e) || [];
|
|
1761
|
-
if (object.metadata !== undefined && object.metadata !== null) {
|
|
1762
|
-
message.metadata = object.metadata;
|
|
1763
|
-
}
|
|
1764
|
-
message.messages = object.messages?.map(e => any_1.Any.fromAmino(e)) || [];
|
|
1765
|
-
if (object.exec !== undefined && object.exec !== null) {
|
|
1766
|
-
message.exec = object.exec;
|
|
1767
|
-
}
|
|
1768
|
-
if (object.title !== undefined && object.title !== null) {
|
|
1769
|
-
message.title = object.title;
|
|
1770
|
-
}
|
|
1771
|
-
if (object.summary !== undefined && object.summary !== null) {
|
|
1772
|
-
message.summary = object.summary;
|
|
1773
|
-
}
|
|
1774
|
-
return message;
|
|
1775
|
-
},
|
|
1776
|
-
toAmino(message) {
|
|
1777
|
-
const obj = {};
|
|
1778
|
-
obj.group_policy_address = message.groupPolicyAddress === "" ? undefined : message.groupPolicyAddress;
|
|
1779
|
-
if (message.proposers) {
|
|
1780
|
-
obj.proposers = message.proposers.map(e => e);
|
|
1781
|
-
}
|
|
1782
|
-
else {
|
|
1783
|
-
obj.proposers = message.proposers;
|
|
1784
|
-
}
|
|
1785
|
-
obj.metadata = message.metadata === "" ? undefined : message.metadata;
|
|
1786
|
-
if (message.messages) {
|
|
1787
|
-
obj.messages = message.messages.map(e => e ? any_1.Any.toAmino(e) : undefined);
|
|
1788
|
-
}
|
|
1789
|
-
else {
|
|
1790
|
-
obj.messages = message.messages;
|
|
1791
|
-
}
|
|
1792
|
-
obj.exec = message.exec === 0 ? undefined : message.exec;
|
|
1793
|
-
obj.title = message.title === "" ? undefined : message.title;
|
|
1794
|
-
obj.summary = message.summary === "" ? undefined : message.summary;
|
|
1795
|
-
return obj;
|
|
1796
|
-
},
|
|
1797
|
-
fromAminoMsg(object) {
|
|
1798
|
-
return exports.MsgSubmitProposal.fromAmino(object.value);
|
|
1799
|
-
},
|
|
1800
|
-
toAminoMsg(message) {
|
|
1801
|
-
return {
|
|
1802
|
-
type: "cosmos-sdk/group/MsgSubmitProposal",
|
|
1803
|
-
value: exports.MsgSubmitProposal.toAmino(message)
|
|
1804
|
-
};
|
|
1805
|
-
},
|
|
1806
|
-
fromProtoMsg(message) {
|
|
1807
|
-
return exports.MsgSubmitProposal.decode(message.value);
|
|
1808
|
-
},
|
|
1809
|
-
toProto(message) {
|
|
1810
|
-
return exports.MsgSubmitProposal.encode(message).finish();
|
|
1811
|
-
},
|
|
1812
|
-
toProtoMsg(message) {
|
|
1813
|
-
return {
|
|
1814
|
-
typeUrl: "/cosmos.group.v1.MsgSubmitProposal",
|
|
1815
|
-
value: exports.MsgSubmitProposal.encode(message).finish()
|
|
1816
|
-
};
|
|
1817
|
-
}
|
|
1818
|
-
};
|
|
1819
|
-
registry_1.GlobalDecoderRegistry.register(exports.MsgSubmitProposal.typeUrl, exports.MsgSubmitProposal);
|
|
1820
|
-
registry_1.GlobalDecoderRegistry.registerAminoProtoMapping(exports.MsgSubmitProposal.aminoType, exports.MsgSubmitProposal.typeUrl);
|
|
1821
|
-
function createBaseMsgSubmitProposalResponse() {
|
|
1822
|
-
return {
|
|
1823
|
-
proposalId: BigInt(0)
|
|
1824
|
-
};
|
|
1825
|
-
}
|
|
1826
|
-
exports.MsgSubmitProposalResponse = {
|
|
1827
|
-
typeUrl: "/cosmos.group.v1.MsgSubmitProposalResponse",
|
|
1828
|
-
aminoType: "cosmos-sdk/MsgSubmitProposalResponse",
|
|
1829
|
-
is(o) {
|
|
1830
|
-
return o && (o.$typeUrl === exports.MsgSubmitProposalResponse.typeUrl || typeof o.proposalId === "bigint");
|
|
1831
|
-
},
|
|
1832
|
-
isAmino(o) {
|
|
1833
|
-
return o && (o.$typeUrl === exports.MsgSubmitProposalResponse.typeUrl || typeof o.proposal_id === "bigint");
|
|
1834
|
-
},
|
|
1835
|
-
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
1836
|
-
if (message.proposalId !== BigInt(0)) {
|
|
1837
|
-
writer.uint32(8).uint64(message.proposalId);
|
|
1838
|
-
}
|
|
1839
|
-
return writer;
|
|
1840
|
-
},
|
|
1841
|
-
decode(input, length) {
|
|
1842
|
-
const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
|
|
1843
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1844
|
-
const message = createBaseMsgSubmitProposalResponse();
|
|
1845
|
-
while (reader.pos < end) {
|
|
1846
|
-
const tag = reader.uint32();
|
|
1847
|
-
switch (tag >>> 3) {
|
|
1848
|
-
case 1:
|
|
1849
|
-
message.proposalId = reader.uint64();
|
|
1850
|
-
break;
|
|
1851
|
-
default:
|
|
1852
|
-
reader.skipType(tag & 7);
|
|
1853
|
-
break;
|
|
1854
|
-
}
|
|
1855
|
-
}
|
|
1856
|
-
return message;
|
|
1857
|
-
},
|
|
1858
|
-
fromPartial(object) {
|
|
1859
|
-
const message = createBaseMsgSubmitProposalResponse();
|
|
1860
|
-
message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? BigInt(object.proposalId.toString()) : BigInt(0);
|
|
1861
|
-
return message;
|
|
1862
|
-
},
|
|
1863
|
-
fromAmino(object) {
|
|
1864
|
-
const message = createBaseMsgSubmitProposalResponse();
|
|
1865
|
-
if (object.proposal_id !== undefined && object.proposal_id !== null) {
|
|
1866
|
-
message.proposalId = BigInt(object.proposal_id);
|
|
1867
|
-
}
|
|
1868
|
-
return message;
|
|
1869
|
-
},
|
|
1870
|
-
toAmino(message) {
|
|
1871
|
-
const obj = {};
|
|
1872
|
-
obj.proposal_id = message.proposalId !== BigInt(0) ? message.proposalId?.toString() : undefined;
|
|
1873
|
-
return obj;
|
|
1874
|
-
},
|
|
1875
|
-
fromAminoMsg(object) {
|
|
1876
|
-
return exports.MsgSubmitProposalResponse.fromAmino(object.value);
|
|
1877
|
-
},
|
|
1878
|
-
toAminoMsg(message) {
|
|
1879
|
-
return {
|
|
1880
|
-
type: "cosmos-sdk/MsgSubmitProposalResponse",
|
|
1881
|
-
value: exports.MsgSubmitProposalResponse.toAmino(message)
|
|
1882
|
-
};
|
|
1883
|
-
},
|
|
1884
|
-
fromProtoMsg(message) {
|
|
1885
|
-
return exports.MsgSubmitProposalResponse.decode(message.value);
|
|
1886
|
-
},
|
|
1887
|
-
toProto(message) {
|
|
1888
|
-
return exports.MsgSubmitProposalResponse.encode(message).finish();
|
|
1889
|
-
},
|
|
1890
|
-
toProtoMsg(message) {
|
|
1891
|
-
return {
|
|
1892
|
-
typeUrl: "/cosmos.group.v1.MsgSubmitProposalResponse",
|
|
1893
|
-
value: exports.MsgSubmitProposalResponse.encode(message).finish()
|
|
1894
|
-
};
|
|
1895
|
-
}
|
|
1896
|
-
};
|
|
1897
|
-
registry_1.GlobalDecoderRegistry.register(exports.MsgSubmitProposalResponse.typeUrl, exports.MsgSubmitProposalResponse);
|
|
1898
|
-
registry_1.GlobalDecoderRegistry.registerAminoProtoMapping(exports.MsgSubmitProposalResponse.aminoType, exports.MsgSubmitProposalResponse.typeUrl);
|
|
1899
|
-
function createBaseMsgWithdrawProposal() {
|
|
1900
|
-
return {
|
|
1901
|
-
proposalId: BigInt(0),
|
|
1902
|
-
address: ""
|
|
1903
|
-
};
|
|
1904
|
-
}
|
|
1905
|
-
exports.MsgWithdrawProposal = {
|
|
1906
|
-
typeUrl: "/cosmos.group.v1.MsgWithdrawProposal",
|
|
1907
|
-
aminoType: "cosmos-sdk/group/MsgWithdrawProposal",
|
|
1908
|
-
is(o) {
|
|
1909
|
-
return o && (o.$typeUrl === exports.MsgWithdrawProposal.typeUrl || typeof o.proposalId === "bigint" && typeof o.address === "string");
|
|
1910
|
-
},
|
|
1911
|
-
isAmino(o) {
|
|
1912
|
-
return o && (o.$typeUrl === exports.MsgWithdrawProposal.typeUrl || typeof o.proposal_id === "bigint" && typeof o.address === "string");
|
|
1913
|
-
},
|
|
1914
|
-
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
1915
|
-
if (message.proposalId !== BigInt(0)) {
|
|
1916
|
-
writer.uint32(8).uint64(message.proposalId);
|
|
1917
|
-
}
|
|
1918
|
-
if (message.address !== "") {
|
|
1919
|
-
writer.uint32(18).string(message.address);
|
|
1920
|
-
}
|
|
1921
|
-
return writer;
|
|
1922
|
-
},
|
|
1923
|
-
decode(input, length) {
|
|
1924
|
-
const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
|
|
1925
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1926
|
-
const message = createBaseMsgWithdrawProposal();
|
|
1927
|
-
while (reader.pos < end) {
|
|
1928
|
-
const tag = reader.uint32();
|
|
1929
|
-
switch (tag >>> 3) {
|
|
1930
|
-
case 1:
|
|
1931
|
-
message.proposalId = reader.uint64();
|
|
1932
|
-
break;
|
|
1933
|
-
case 2:
|
|
1934
|
-
message.address = reader.string();
|
|
1935
|
-
break;
|
|
1936
|
-
default:
|
|
1937
|
-
reader.skipType(tag & 7);
|
|
1938
|
-
break;
|
|
1939
|
-
}
|
|
1940
|
-
}
|
|
1941
|
-
return message;
|
|
1942
|
-
},
|
|
1943
|
-
fromPartial(object) {
|
|
1944
|
-
const message = createBaseMsgWithdrawProposal();
|
|
1945
|
-
message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? BigInt(object.proposalId.toString()) : BigInt(0);
|
|
1946
|
-
message.address = object.address ?? "";
|
|
1947
|
-
return message;
|
|
1948
|
-
},
|
|
1949
|
-
fromAmino(object) {
|
|
1950
|
-
const message = createBaseMsgWithdrawProposal();
|
|
1951
|
-
if (object.proposal_id !== undefined && object.proposal_id !== null) {
|
|
1952
|
-
message.proposalId = BigInt(object.proposal_id);
|
|
1953
|
-
}
|
|
1954
|
-
if (object.address !== undefined && object.address !== null) {
|
|
1955
|
-
message.address = object.address;
|
|
1956
|
-
}
|
|
1957
|
-
return message;
|
|
1958
|
-
},
|
|
1959
|
-
toAmino(message) {
|
|
1960
|
-
const obj = {};
|
|
1961
|
-
obj.proposal_id = message.proposalId !== BigInt(0) ? message.proposalId?.toString() : undefined;
|
|
1962
|
-
obj.address = message.address === "" ? undefined : message.address;
|
|
1963
|
-
return obj;
|
|
1964
|
-
},
|
|
1965
|
-
fromAminoMsg(object) {
|
|
1966
|
-
return exports.MsgWithdrawProposal.fromAmino(object.value);
|
|
1967
|
-
},
|
|
1968
|
-
toAminoMsg(message) {
|
|
1969
|
-
return {
|
|
1970
|
-
type: "cosmos-sdk/group/MsgWithdrawProposal",
|
|
1971
|
-
value: exports.MsgWithdrawProposal.toAmino(message)
|
|
1972
|
-
};
|
|
1973
|
-
},
|
|
1974
|
-
fromProtoMsg(message) {
|
|
1975
|
-
return exports.MsgWithdrawProposal.decode(message.value);
|
|
1976
|
-
},
|
|
1977
|
-
toProto(message) {
|
|
1978
|
-
return exports.MsgWithdrawProposal.encode(message).finish();
|
|
1979
|
-
},
|
|
1980
|
-
toProtoMsg(message) {
|
|
1981
|
-
return {
|
|
1982
|
-
typeUrl: "/cosmos.group.v1.MsgWithdrawProposal",
|
|
1983
|
-
value: exports.MsgWithdrawProposal.encode(message).finish()
|
|
1984
|
-
};
|
|
1985
|
-
}
|
|
1986
|
-
};
|
|
1987
|
-
registry_1.GlobalDecoderRegistry.register(exports.MsgWithdrawProposal.typeUrl, exports.MsgWithdrawProposal);
|
|
1988
|
-
registry_1.GlobalDecoderRegistry.registerAminoProtoMapping(exports.MsgWithdrawProposal.aminoType, exports.MsgWithdrawProposal.typeUrl);
|
|
1989
|
-
function createBaseMsgWithdrawProposalResponse() {
|
|
1990
|
-
return {};
|
|
1991
|
-
}
|
|
1992
|
-
exports.MsgWithdrawProposalResponse = {
|
|
1993
|
-
typeUrl: "/cosmos.group.v1.MsgWithdrawProposalResponse",
|
|
1994
|
-
aminoType: "cosmos-sdk/MsgWithdrawProposalResponse",
|
|
1995
|
-
is(o) {
|
|
1996
|
-
return o && o.$typeUrl === exports.MsgWithdrawProposalResponse.typeUrl;
|
|
1997
|
-
},
|
|
1998
|
-
isAmino(o) {
|
|
1999
|
-
return o && o.$typeUrl === exports.MsgWithdrawProposalResponse.typeUrl;
|
|
2000
|
-
},
|
|
2001
|
-
encode(_, writer = binary_1.BinaryWriter.create()) {
|
|
2002
|
-
return writer;
|
|
2003
|
-
},
|
|
2004
|
-
decode(input, length) {
|
|
2005
|
-
const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
|
|
2006
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2007
|
-
const message = createBaseMsgWithdrawProposalResponse();
|
|
2008
|
-
while (reader.pos < end) {
|
|
2009
|
-
const tag = reader.uint32();
|
|
2010
|
-
switch (tag >>> 3) {
|
|
2011
|
-
default:
|
|
2012
|
-
reader.skipType(tag & 7);
|
|
2013
|
-
break;
|
|
2014
|
-
}
|
|
2015
|
-
}
|
|
2016
|
-
return message;
|
|
2017
|
-
},
|
|
2018
|
-
fromPartial(_) {
|
|
2019
|
-
const message = createBaseMsgWithdrawProposalResponse();
|
|
2020
|
-
return message;
|
|
2021
|
-
},
|
|
2022
|
-
fromAmino(_) {
|
|
2023
|
-
const message = createBaseMsgWithdrawProposalResponse();
|
|
2024
|
-
return message;
|
|
2025
|
-
},
|
|
2026
|
-
toAmino(_) {
|
|
2027
|
-
const obj = {};
|
|
2028
|
-
return obj;
|
|
2029
|
-
},
|
|
2030
|
-
fromAminoMsg(object) {
|
|
2031
|
-
return exports.MsgWithdrawProposalResponse.fromAmino(object.value);
|
|
2032
|
-
},
|
|
2033
|
-
toAminoMsg(message) {
|
|
2034
|
-
return {
|
|
2035
|
-
type: "cosmos-sdk/MsgWithdrawProposalResponse",
|
|
2036
|
-
value: exports.MsgWithdrawProposalResponse.toAmino(message)
|
|
2037
|
-
};
|
|
2038
|
-
},
|
|
2039
|
-
fromProtoMsg(message) {
|
|
2040
|
-
return exports.MsgWithdrawProposalResponse.decode(message.value);
|
|
2041
|
-
},
|
|
2042
|
-
toProto(message) {
|
|
2043
|
-
return exports.MsgWithdrawProposalResponse.encode(message).finish();
|
|
2044
|
-
},
|
|
2045
|
-
toProtoMsg(message) {
|
|
2046
|
-
return {
|
|
2047
|
-
typeUrl: "/cosmos.group.v1.MsgWithdrawProposalResponse",
|
|
2048
|
-
value: exports.MsgWithdrawProposalResponse.encode(message).finish()
|
|
2049
|
-
};
|
|
2050
|
-
}
|
|
2051
|
-
};
|
|
2052
|
-
registry_1.GlobalDecoderRegistry.register(exports.MsgWithdrawProposalResponse.typeUrl, exports.MsgWithdrawProposalResponse);
|
|
2053
|
-
registry_1.GlobalDecoderRegistry.registerAminoProtoMapping(exports.MsgWithdrawProposalResponse.aminoType, exports.MsgWithdrawProposalResponse.typeUrl);
|
|
2054
|
-
function createBaseMsgVote() {
|
|
2055
|
-
return {
|
|
2056
|
-
proposalId: BigInt(0),
|
|
2057
|
-
voter: "",
|
|
2058
|
-
option: 0,
|
|
2059
|
-
metadata: "",
|
|
2060
|
-
exec: 0
|
|
2061
|
-
};
|
|
2062
|
-
}
|
|
2063
|
-
exports.MsgVote = {
|
|
2064
|
-
typeUrl: "/cosmos.group.v1.MsgVote",
|
|
2065
|
-
aminoType: "cosmos-sdk/group/MsgVote",
|
|
2066
|
-
is(o) {
|
|
2067
|
-
return o && (o.$typeUrl === exports.MsgVote.typeUrl || typeof o.proposalId === "bigint" && typeof o.voter === "string" && (0, helpers_1.isSet)(o.option) && typeof o.metadata === "string" && (0, helpers_1.isSet)(o.exec));
|
|
2068
|
-
},
|
|
2069
|
-
isAmino(o) {
|
|
2070
|
-
return o && (o.$typeUrl === exports.MsgVote.typeUrl || typeof o.proposal_id === "bigint" && typeof o.voter === "string" && (0, helpers_1.isSet)(o.option) && typeof o.metadata === "string" && (0, helpers_1.isSet)(o.exec));
|
|
2071
|
-
},
|
|
2072
|
-
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
2073
|
-
if (message.proposalId !== BigInt(0)) {
|
|
2074
|
-
writer.uint32(8).uint64(message.proposalId);
|
|
2075
|
-
}
|
|
2076
|
-
if (message.voter !== "") {
|
|
2077
|
-
writer.uint32(18).string(message.voter);
|
|
2078
|
-
}
|
|
2079
|
-
if (message.option !== 0) {
|
|
2080
|
-
writer.uint32(24).int32(message.option);
|
|
2081
|
-
}
|
|
2082
|
-
if (message.metadata !== "") {
|
|
2083
|
-
writer.uint32(34).string(message.metadata);
|
|
2084
|
-
}
|
|
2085
|
-
if (message.exec !== 0) {
|
|
2086
|
-
writer.uint32(40).int32(message.exec);
|
|
2087
|
-
}
|
|
2088
|
-
return writer;
|
|
2089
|
-
},
|
|
2090
|
-
decode(input, length) {
|
|
2091
|
-
const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
|
|
2092
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2093
|
-
const message = createBaseMsgVote();
|
|
2094
|
-
while (reader.pos < end) {
|
|
2095
|
-
const tag = reader.uint32();
|
|
2096
|
-
switch (tag >>> 3) {
|
|
2097
|
-
case 1:
|
|
2098
|
-
message.proposalId = reader.uint64();
|
|
2099
|
-
break;
|
|
2100
|
-
case 2:
|
|
2101
|
-
message.voter = reader.string();
|
|
2102
|
-
break;
|
|
2103
|
-
case 3:
|
|
2104
|
-
message.option = reader.int32();
|
|
2105
|
-
break;
|
|
2106
|
-
case 4:
|
|
2107
|
-
message.metadata = reader.string();
|
|
2108
|
-
break;
|
|
2109
|
-
case 5:
|
|
2110
|
-
message.exec = reader.int32();
|
|
2111
|
-
break;
|
|
2112
|
-
default:
|
|
2113
|
-
reader.skipType(tag & 7);
|
|
2114
|
-
break;
|
|
2115
|
-
}
|
|
2116
|
-
}
|
|
2117
|
-
return message;
|
|
2118
|
-
},
|
|
2119
|
-
fromPartial(object) {
|
|
2120
|
-
const message = createBaseMsgVote();
|
|
2121
|
-
message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? BigInt(object.proposalId.toString()) : BigInt(0);
|
|
2122
|
-
message.voter = object.voter ?? "";
|
|
2123
|
-
message.option = object.option ?? 0;
|
|
2124
|
-
message.metadata = object.metadata ?? "";
|
|
2125
|
-
message.exec = object.exec ?? 0;
|
|
2126
|
-
return message;
|
|
2127
|
-
},
|
|
2128
|
-
fromAmino(object) {
|
|
2129
|
-
const message = createBaseMsgVote();
|
|
2130
|
-
if (object.proposal_id !== undefined && object.proposal_id !== null) {
|
|
2131
|
-
message.proposalId = BigInt(object.proposal_id);
|
|
2132
|
-
}
|
|
2133
|
-
if (object.voter !== undefined && object.voter !== null) {
|
|
2134
|
-
message.voter = object.voter;
|
|
2135
|
-
}
|
|
2136
|
-
if (object.option !== undefined && object.option !== null) {
|
|
2137
|
-
message.option = object.option;
|
|
2138
|
-
}
|
|
2139
|
-
if (object.metadata !== undefined && object.metadata !== null) {
|
|
2140
|
-
message.metadata = object.metadata;
|
|
2141
|
-
}
|
|
2142
|
-
if (object.exec !== undefined && object.exec !== null) {
|
|
2143
|
-
message.exec = object.exec;
|
|
2144
|
-
}
|
|
2145
|
-
return message;
|
|
2146
|
-
},
|
|
2147
|
-
toAmino(message) {
|
|
2148
|
-
const obj = {};
|
|
2149
|
-
obj.proposal_id = message.proposalId !== BigInt(0) ? message.proposalId?.toString() : undefined;
|
|
2150
|
-
obj.voter = message.voter === "" ? undefined : message.voter;
|
|
2151
|
-
obj.option = message.option === 0 ? undefined : message.option;
|
|
2152
|
-
obj.metadata = message.metadata === "" ? undefined : message.metadata;
|
|
2153
|
-
obj.exec = message.exec === 0 ? undefined : message.exec;
|
|
2154
|
-
return obj;
|
|
2155
|
-
},
|
|
2156
|
-
fromAminoMsg(object) {
|
|
2157
|
-
return exports.MsgVote.fromAmino(object.value);
|
|
2158
|
-
},
|
|
2159
|
-
toAminoMsg(message) {
|
|
2160
|
-
return {
|
|
2161
|
-
type: "cosmos-sdk/group/MsgVote",
|
|
2162
|
-
value: exports.MsgVote.toAmino(message)
|
|
2163
|
-
};
|
|
2164
|
-
},
|
|
2165
|
-
fromProtoMsg(message) {
|
|
2166
|
-
return exports.MsgVote.decode(message.value);
|
|
2167
|
-
},
|
|
2168
|
-
toProto(message) {
|
|
2169
|
-
return exports.MsgVote.encode(message).finish();
|
|
2170
|
-
},
|
|
2171
|
-
toProtoMsg(message) {
|
|
2172
|
-
return {
|
|
2173
|
-
typeUrl: "/cosmos.group.v1.MsgVote",
|
|
2174
|
-
value: exports.MsgVote.encode(message).finish()
|
|
2175
|
-
};
|
|
2176
|
-
}
|
|
2177
|
-
};
|
|
2178
|
-
registry_1.GlobalDecoderRegistry.register(exports.MsgVote.typeUrl, exports.MsgVote);
|
|
2179
|
-
registry_1.GlobalDecoderRegistry.registerAminoProtoMapping(exports.MsgVote.aminoType, exports.MsgVote.typeUrl);
|
|
2180
|
-
function createBaseMsgVoteResponse() {
|
|
2181
|
-
return {};
|
|
2182
|
-
}
|
|
2183
|
-
exports.MsgVoteResponse = {
|
|
2184
|
-
typeUrl: "/cosmos.group.v1.MsgVoteResponse",
|
|
2185
|
-
aminoType: "cosmos-sdk/MsgVoteResponse",
|
|
2186
|
-
is(o) {
|
|
2187
|
-
return o && o.$typeUrl === exports.MsgVoteResponse.typeUrl;
|
|
2188
|
-
},
|
|
2189
|
-
isAmino(o) {
|
|
2190
|
-
return o && o.$typeUrl === exports.MsgVoteResponse.typeUrl;
|
|
2191
|
-
},
|
|
2192
|
-
encode(_, writer = binary_1.BinaryWriter.create()) {
|
|
2193
|
-
return writer;
|
|
2194
|
-
},
|
|
2195
|
-
decode(input, length) {
|
|
2196
|
-
const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
|
|
2197
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2198
|
-
const message = createBaseMsgVoteResponse();
|
|
2199
|
-
while (reader.pos < end) {
|
|
2200
|
-
const tag = reader.uint32();
|
|
2201
|
-
switch (tag >>> 3) {
|
|
2202
|
-
default:
|
|
2203
|
-
reader.skipType(tag & 7);
|
|
2204
|
-
break;
|
|
2205
|
-
}
|
|
2206
|
-
}
|
|
2207
|
-
return message;
|
|
2208
|
-
},
|
|
2209
|
-
fromPartial(_) {
|
|
2210
|
-
const message = createBaseMsgVoteResponse();
|
|
2211
|
-
return message;
|
|
2212
|
-
},
|
|
2213
|
-
fromAmino(_) {
|
|
2214
|
-
const message = createBaseMsgVoteResponse();
|
|
2215
|
-
return message;
|
|
2216
|
-
},
|
|
2217
|
-
toAmino(_) {
|
|
2218
|
-
const obj = {};
|
|
2219
|
-
return obj;
|
|
2220
|
-
},
|
|
2221
|
-
fromAminoMsg(object) {
|
|
2222
|
-
return exports.MsgVoteResponse.fromAmino(object.value);
|
|
2223
|
-
},
|
|
2224
|
-
toAminoMsg(message) {
|
|
2225
|
-
return {
|
|
2226
|
-
type: "cosmos-sdk/MsgVoteResponse",
|
|
2227
|
-
value: exports.MsgVoteResponse.toAmino(message)
|
|
2228
|
-
};
|
|
2229
|
-
},
|
|
2230
|
-
fromProtoMsg(message) {
|
|
2231
|
-
return exports.MsgVoteResponse.decode(message.value);
|
|
2232
|
-
},
|
|
2233
|
-
toProto(message) {
|
|
2234
|
-
return exports.MsgVoteResponse.encode(message).finish();
|
|
2235
|
-
},
|
|
2236
|
-
toProtoMsg(message) {
|
|
2237
|
-
return {
|
|
2238
|
-
typeUrl: "/cosmos.group.v1.MsgVoteResponse",
|
|
2239
|
-
value: exports.MsgVoteResponse.encode(message).finish()
|
|
2240
|
-
};
|
|
2241
|
-
}
|
|
2242
|
-
};
|
|
2243
|
-
registry_1.GlobalDecoderRegistry.register(exports.MsgVoteResponse.typeUrl, exports.MsgVoteResponse);
|
|
2244
|
-
registry_1.GlobalDecoderRegistry.registerAminoProtoMapping(exports.MsgVoteResponse.aminoType, exports.MsgVoteResponse.typeUrl);
|
|
2245
|
-
function createBaseMsgExec() {
|
|
2246
|
-
return {
|
|
2247
|
-
proposalId: BigInt(0),
|
|
2248
|
-
executor: ""
|
|
2249
|
-
};
|
|
2250
|
-
}
|
|
2251
|
-
exports.MsgExec = {
|
|
2252
|
-
typeUrl: "/cosmos.group.v1.MsgExec",
|
|
2253
|
-
aminoType: "cosmos-sdk/group/MsgExec",
|
|
2254
|
-
is(o) {
|
|
2255
|
-
return o && (o.$typeUrl === exports.MsgExec.typeUrl || typeof o.proposalId === "bigint" && typeof o.executor === "string");
|
|
2256
|
-
},
|
|
2257
|
-
isAmino(o) {
|
|
2258
|
-
return o && (o.$typeUrl === exports.MsgExec.typeUrl || typeof o.proposal_id === "bigint" && typeof o.executor === "string");
|
|
2259
|
-
},
|
|
2260
|
-
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
2261
|
-
if (message.proposalId !== BigInt(0)) {
|
|
2262
|
-
writer.uint32(8).uint64(message.proposalId);
|
|
2263
|
-
}
|
|
2264
|
-
if (message.executor !== "") {
|
|
2265
|
-
writer.uint32(18).string(message.executor);
|
|
2266
|
-
}
|
|
2267
|
-
return writer;
|
|
2268
|
-
},
|
|
2269
|
-
decode(input, length) {
|
|
2270
|
-
const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
|
|
2271
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2272
|
-
const message = createBaseMsgExec();
|
|
2273
|
-
while (reader.pos < end) {
|
|
2274
|
-
const tag = reader.uint32();
|
|
2275
|
-
switch (tag >>> 3) {
|
|
2276
|
-
case 1:
|
|
2277
|
-
message.proposalId = reader.uint64();
|
|
2278
|
-
break;
|
|
2279
|
-
case 2:
|
|
2280
|
-
message.executor = reader.string();
|
|
2281
|
-
break;
|
|
2282
|
-
default:
|
|
2283
|
-
reader.skipType(tag & 7);
|
|
2284
|
-
break;
|
|
2285
|
-
}
|
|
2286
|
-
}
|
|
2287
|
-
return message;
|
|
2288
|
-
},
|
|
2289
|
-
fromPartial(object) {
|
|
2290
|
-
const message = createBaseMsgExec();
|
|
2291
|
-
message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? BigInt(object.proposalId.toString()) : BigInt(0);
|
|
2292
|
-
message.executor = object.executor ?? "";
|
|
2293
|
-
return message;
|
|
2294
|
-
},
|
|
2295
|
-
fromAmino(object) {
|
|
2296
|
-
const message = createBaseMsgExec();
|
|
2297
|
-
if (object.proposal_id !== undefined && object.proposal_id !== null) {
|
|
2298
|
-
message.proposalId = BigInt(object.proposal_id);
|
|
2299
|
-
}
|
|
2300
|
-
if (object.executor !== undefined && object.executor !== null) {
|
|
2301
|
-
message.executor = object.executor;
|
|
2302
|
-
}
|
|
2303
|
-
return message;
|
|
2304
|
-
},
|
|
2305
|
-
toAmino(message) {
|
|
2306
|
-
const obj = {};
|
|
2307
|
-
obj.proposal_id = message.proposalId !== BigInt(0) ? message.proposalId?.toString() : undefined;
|
|
2308
|
-
obj.executor = message.executor === "" ? undefined : message.executor;
|
|
2309
|
-
return obj;
|
|
2310
|
-
},
|
|
2311
|
-
fromAminoMsg(object) {
|
|
2312
|
-
return exports.MsgExec.fromAmino(object.value);
|
|
2313
|
-
},
|
|
2314
|
-
toAminoMsg(message) {
|
|
2315
|
-
return {
|
|
2316
|
-
type: "cosmos-sdk/group/MsgExec",
|
|
2317
|
-
value: exports.MsgExec.toAmino(message)
|
|
2318
|
-
};
|
|
2319
|
-
},
|
|
2320
|
-
fromProtoMsg(message) {
|
|
2321
|
-
return exports.MsgExec.decode(message.value);
|
|
2322
|
-
},
|
|
2323
|
-
toProto(message) {
|
|
2324
|
-
return exports.MsgExec.encode(message).finish();
|
|
2325
|
-
},
|
|
2326
|
-
toProtoMsg(message) {
|
|
2327
|
-
return {
|
|
2328
|
-
typeUrl: "/cosmos.group.v1.MsgExec",
|
|
2329
|
-
value: exports.MsgExec.encode(message).finish()
|
|
2330
|
-
};
|
|
2331
|
-
}
|
|
2332
|
-
};
|
|
2333
|
-
registry_1.GlobalDecoderRegistry.register(exports.MsgExec.typeUrl, exports.MsgExec);
|
|
2334
|
-
registry_1.GlobalDecoderRegistry.registerAminoProtoMapping(exports.MsgExec.aminoType, exports.MsgExec.typeUrl);
|
|
2335
|
-
function createBaseMsgExecResponse() {
|
|
2336
|
-
return {
|
|
2337
|
-
result: 0
|
|
2338
|
-
};
|
|
2339
|
-
}
|
|
2340
|
-
exports.MsgExecResponse = {
|
|
2341
|
-
typeUrl: "/cosmos.group.v1.MsgExecResponse",
|
|
2342
|
-
aminoType: "cosmos-sdk/MsgExecResponse",
|
|
2343
|
-
is(o) {
|
|
2344
|
-
return o && (o.$typeUrl === exports.MsgExecResponse.typeUrl || (0, helpers_1.isSet)(o.result));
|
|
2345
|
-
},
|
|
2346
|
-
isAmino(o) {
|
|
2347
|
-
return o && (o.$typeUrl === exports.MsgExecResponse.typeUrl || (0, helpers_1.isSet)(o.result));
|
|
2348
|
-
},
|
|
2349
|
-
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
2350
|
-
if (message.result !== 0) {
|
|
2351
|
-
writer.uint32(16).int32(message.result);
|
|
2352
|
-
}
|
|
2353
|
-
return writer;
|
|
2354
|
-
},
|
|
2355
|
-
decode(input, length) {
|
|
2356
|
-
const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
|
|
2357
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2358
|
-
const message = createBaseMsgExecResponse();
|
|
2359
|
-
while (reader.pos < end) {
|
|
2360
|
-
const tag = reader.uint32();
|
|
2361
|
-
switch (tag >>> 3) {
|
|
2362
|
-
case 2:
|
|
2363
|
-
message.result = reader.int32();
|
|
2364
|
-
break;
|
|
2365
|
-
default:
|
|
2366
|
-
reader.skipType(tag & 7);
|
|
2367
|
-
break;
|
|
2368
|
-
}
|
|
2369
|
-
}
|
|
2370
|
-
return message;
|
|
2371
|
-
},
|
|
2372
|
-
fromPartial(object) {
|
|
2373
|
-
const message = createBaseMsgExecResponse();
|
|
2374
|
-
message.result = object.result ?? 0;
|
|
2375
|
-
return message;
|
|
2376
|
-
},
|
|
2377
|
-
fromAmino(object) {
|
|
2378
|
-
const message = createBaseMsgExecResponse();
|
|
2379
|
-
if (object.result !== undefined && object.result !== null) {
|
|
2380
|
-
message.result = object.result;
|
|
2381
|
-
}
|
|
2382
|
-
return message;
|
|
2383
|
-
},
|
|
2384
|
-
toAmino(message) {
|
|
2385
|
-
const obj = {};
|
|
2386
|
-
obj.result = message.result === 0 ? undefined : message.result;
|
|
2387
|
-
return obj;
|
|
2388
|
-
},
|
|
2389
|
-
fromAminoMsg(object) {
|
|
2390
|
-
return exports.MsgExecResponse.fromAmino(object.value);
|
|
2391
|
-
},
|
|
2392
|
-
toAminoMsg(message) {
|
|
2393
|
-
return {
|
|
2394
|
-
type: "cosmos-sdk/MsgExecResponse",
|
|
2395
|
-
value: exports.MsgExecResponse.toAmino(message)
|
|
2396
|
-
};
|
|
2397
|
-
},
|
|
2398
|
-
fromProtoMsg(message) {
|
|
2399
|
-
return exports.MsgExecResponse.decode(message.value);
|
|
2400
|
-
},
|
|
2401
|
-
toProto(message) {
|
|
2402
|
-
return exports.MsgExecResponse.encode(message).finish();
|
|
2403
|
-
},
|
|
2404
|
-
toProtoMsg(message) {
|
|
2405
|
-
return {
|
|
2406
|
-
typeUrl: "/cosmos.group.v1.MsgExecResponse",
|
|
2407
|
-
value: exports.MsgExecResponse.encode(message).finish()
|
|
2408
|
-
};
|
|
2409
|
-
}
|
|
2410
|
-
};
|
|
2411
|
-
registry_1.GlobalDecoderRegistry.register(exports.MsgExecResponse.typeUrl, exports.MsgExecResponse);
|
|
2412
|
-
registry_1.GlobalDecoderRegistry.registerAminoProtoMapping(exports.MsgExecResponse.aminoType, exports.MsgExecResponse.typeUrl);
|
|
2413
|
-
function createBaseMsgLeaveGroup() {
|
|
2414
|
-
return {
|
|
2415
|
-
address: "",
|
|
2416
|
-
groupId: BigInt(0)
|
|
2417
|
-
};
|
|
2418
|
-
}
|
|
2419
|
-
exports.MsgLeaveGroup = {
|
|
2420
|
-
typeUrl: "/cosmos.group.v1.MsgLeaveGroup",
|
|
2421
|
-
aminoType: "cosmos-sdk/group/MsgLeaveGroup",
|
|
2422
|
-
is(o) {
|
|
2423
|
-
return o && (o.$typeUrl === exports.MsgLeaveGroup.typeUrl || typeof o.address === "string" && typeof o.groupId === "bigint");
|
|
2424
|
-
},
|
|
2425
|
-
isAmino(o) {
|
|
2426
|
-
return o && (o.$typeUrl === exports.MsgLeaveGroup.typeUrl || typeof o.address === "string" && typeof o.group_id === "bigint");
|
|
2427
|
-
},
|
|
2428
|
-
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
2429
|
-
if (message.address !== "") {
|
|
2430
|
-
writer.uint32(10).string(message.address);
|
|
2431
|
-
}
|
|
2432
|
-
if (message.groupId !== BigInt(0)) {
|
|
2433
|
-
writer.uint32(16).uint64(message.groupId);
|
|
2434
|
-
}
|
|
2435
|
-
return writer;
|
|
2436
|
-
},
|
|
2437
|
-
decode(input, length) {
|
|
2438
|
-
const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
|
|
2439
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2440
|
-
const message = createBaseMsgLeaveGroup();
|
|
2441
|
-
while (reader.pos < end) {
|
|
2442
|
-
const tag = reader.uint32();
|
|
2443
|
-
switch (tag >>> 3) {
|
|
2444
|
-
case 1:
|
|
2445
|
-
message.address = reader.string();
|
|
2446
|
-
break;
|
|
2447
|
-
case 2:
|
|
2448
|
-
message.groupId = reader.uint64();
|
|
2449
|
-
break;
|
|
2450
|
-
default:
|
|
2451
|
-
reader.skipType(tag & 7);
|
|
2452
|
-
break;
|
|
2453
|
-
}
|
|
2454
|
-
}
|
|
2455
|
-
return message;
|
|
2456
|
-
},
|
|
2457
|
-
fromPartial(object) {
|
|
2458
|
-
const message = createBaseMsgLeaveGroup();
|
|
2459
|
-
message.address = object.address ?? "";
|
|
2460
|
-
message.groupId = object.groupId !== undefined && object.groupId !== null ? BigInt(object.groupId.toString()) : BigInt(0);
|
|
2461
|
-
return message;
|
|
2462
|
-
},
|
|
2463
|
-
fromAmino(object) {
|
|
2464
|
-
const message = createBaseMsgLeaveGroup();
|
|
2465
|
-
if (object.address !== undefined && object.address !== null) {
|
|
2466
|
-
message.address = object.address;
|
|
2467
|
-
}
|
|
2468
|
-
if (object.group_id !== undefined && object.group_id !== null) {
|
|
2469
|
-
message.groupId = BigInt(object.group_id);
|
|
2470
|
-
}
|
|
2471
|
-
return message;
|
|
2472
|
-
},
|
|
2473
|
-
toAmino(message) {
|
|
2474
|
-
const obj = {};
|
|
2475
|
-
obj.address = message.address === "" ? undefined : message.address;
|
|
2476
|
-
obj.group_id = message.groupId !== BigInt(0) ? message.groupId?.toString() : undefined;
|
|
2477
|
-
return obj;
|
|
2478
|
-
},
|
|
2479
|
-
fromAminoMsg(object) {
|
|
2480
|
-
return exports.MsgLeaveGroup.fromAmino(object.value);
|
|
2481
|
-
},
|
|
2482
|
-
toAminoMsg(message) {
|
|
2483
|
-
return {
|
|
2484
|
-
type: "cosmos-sdk/group/MsgLeaveGroup",
|
|
2485
|
-
value: exports.MsgLeaveGroup.toAmino(message)
|
|
2486
|
-
};
|
|
2487
|
-
},
|
|
2488
|
-
fromProtoMsg(message) {
|
|
2489
|
-
return exports.MsgLeaveGroup.decode(message.value);
|
|
2490
|
-
},
|
|
2491
|
-
toProto(message) {
|
|
2492
|
-
return exports.MsgLeaveGroup.encode(message).finish();
|
|
2493
|
-
},
|
|
2494
|
-
toProtoMsg(message) {
|
|
2495
|
-
return {
|
|
2496
|
-
typeUrl: "/cosmos.group.v1.MsgLeaveGroup",
|
|
2497
|
-
value: exports.MsgLeaveGroup.encode(message).finish()
|
|
2498
|
-
};
|
|
2499
|
-
}
|
|
2500
|
-
};
|
|
2501
|
-
registry_1.GlobalDecoderRegistry.register(exports.MsgLeaveGroup.typeUrl, exports.MsgLeaveGroup);
|
|
2502
|
-
registry_1.GlobalDecoderRegistry.registerAminoProtoMapping(exports.MsgLeaveGroup.aminoType, exports.MsgLeaveGroup.typeUrl);
|
|
2503
|
-
function createBaseMsgLeaveGroupResponse() {
|
|
2504
|
-
return {};
|
|
2505
|
-
}
|
|
2506
|
-
exports.MsgLeaveGroupResponse = {
|
|
2507
|
-
typeUrl: "/cosmos.group.v1.MsgLeaveGroupResponse",
|
|
2508
|
-
aminoType: "cosmos-sdk/MsgLeaveGroupResponse",
|
|
2509
|
-
is(o) {
|
|
2510
|
-
return o && o.$typeUrl === exports.MsgLeaveGroupResponse.typeUrl;
|
|
2511
|
-
},
|
|
2512
|
-
isAmino(o) {
|
|
2513
|
-
return o && o.$typeUrl === exports.MsgLeaveGroupResponse.typeUrl;
|
|
2514
|
-
},
|
|
2515
|
-
encode(_, writer = binary_1.BinaryWriter.create()) {
|
|
2516
|
-
return writer;
|
|
2517
|
-
},
|
|
2518
|
-
decode(input, length) {
|
|
2519
|
-
const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
|
|
2520
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2521
|
-
const message = createBaseMsgLeaveGroupResponse();
|
|
2522
|
-
while (reader.pos < end) {
|
|
2523
|
-
const tag = reader.uint32();
|
|
2524
|
-
switch (tag >>> 3) {
|
|
2525
|
-
default:
|
|
2526
|
-
reader.skipType(tag & 7);
|
|
2527
|
-
break;
|
|
2528
|
-
}
|
|
2529
|
-
}
|
|
2530
|
-
return message;
|
|
2531
|
-
},
|
|
2532
|
-
fromPartial(_) {
|
|
2533
|
-
const message = createBaseMsgLeaveGroupResponse();
|
|
2534
|
-
return message;
|
|
2535
|
-
},
|
|
2536
|
-
fromAmino(_) {
|
|
2537
|
-
const message = createBaseMsgLeaveGroupResponse();
|
|
2538
|
-
return message;
|
|
2539
|
-
},
|
|
2540
|
-
toAmino(_) {
|
|
2541
|
-
const obj = {};
|
|
2542
|
-
return obj;
|
|
2543
|
-
},
|
|
2544
|
-
fromAminoMsg(object) {
|
|
2545
|
-
return exports.MsgLeaveGroupResponse.fromAmino(object.value);
|
|
2546
|
-
},
|
|
2547
|
-
toAminoMsg(message) {
|
|
2548
|
-
return {
|
|
2549
|
-
type: "cosmos-sdk/MsgLeaveGroupResponse",
|
|
2550
|
-
value: exports.MsgLeaveGroupResponse.toAmino(message)
|
|
2551
|
-
};
|
|
2552
|
-
},
|
|
2553
|
-
fromProtoMsg(message) {
|
|
2554
|
-
return exports.MsgLeaveGroupResponse.decode(message.value);
|
|
2555
|
-
},
|
|
2556
|
-
toProto(message) {
|
|
2557
|
-
return exports.MsgLeaveGroupResponse.encode(message).finish();
|
|
2558
|
-
},
|
|
2559
|
-
toProtoMsg(message) {
|
|
2560
|
-
return {
|
|
2561
|
-
typeUrl: "/cosmos.group.v1.MsgLeaveGroupResponse",
|
|
2562
|
-
value: exports.MsgLeaveGroupResponse.encode(message).finish()
|
|
2563
|
-
};
|
|
2564
|
-
}
|
|
2565
|
-
};
|
|
2566
|
-
registry_1.GlobalDecoderRegistry.register(exports.MsgLeaveGroupResponse.typeUrl, exports.MsgLeaveGroupResponse);
|
|
2567
|
-
registry_1.GlobalDecoderRegistry.registerAminoProtoMapping(exports.MsgLeaveGroupResponse.aminoType, exports.MsgLeaveGroupResponse.typeUrl);
|