@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
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Channel, Packet } from "./channel";
|
|
2
|
-
import { Height
|
|
3
|
-
import { UpgradeFields, Upgrade, ErrorReceipt } from "./upgrade";
|
|
2
|
+
import { Height } from "../../client/v1/client";
|
|
4
3
|
import { BinaryReader, BinaryWriter } from "../../../../binary";
|
|
4
|
+
import { GlobalDecoderRegistry } from "../../../../registry";
|
|
5
5
|
import { bytesFromBase64, base64FromBytes, isSet } from "../../../../helpers";
|
|
6
6
|
/** ResponseResultType defines the possible outcomes of the execution of a message */
|
|
7
7
|
export var ResponseResultType;
|
|
@@ -59,6 +59,13 @@ function createBaseMsgChannelOpenInit() {
|
|
|
59
59
|
signer: ""
|
|
60
60
|
};
|
|
61
61
|
}
|
|
62
|
+
/**
|
|
63
|
+
* MsgChannelOpenInit defines an sdk.Msg to initialize a channel handshake. It
|
|
64
|
+
* is called by a relayer on Chain A.
|
|
65
|
+
* @name MsgChannelOpenInit
|
|
66
|
+
* @package ibc.core.channel.v1
|
|
67
|
+
* @see proto type: ibc.core.channel.v1.MsgChannelOpenInit
|
|
68
|
+
*/
|
|
62
69
|
export const MsgChannelOpenInit = {
|
|
63
70
|
typeUrl: "/ibc.core.channel.v1.MsgChannelOpenInit",
|
|
64
71
|
aminoType: "cosmos-sdk/MsgChannelOpenInit",
|
|
@@ -152,6 +159,9 @@ export const MsgChannelOpenInit = {
|
|
|
152
159
|
};
|
|
153
160
|
},
|
|
154
161
|
registerTypeUrl() {
|
|
162
|
+
if (!GlobalDecoderRegistry.registerExistingTypeUrl(MsgChannelOpenInit.typeUrl)) {
|
|
163
|
+
return;
|
|
164
|
+
}
|
|
155
165
|
Channel.registerTypeUrl();
|
|
156
166
|
}
|
|
157
167
|
};
|
|
@@ -161,6 +171,12 @@ function createBaseMsgChannelOpenInitResponse() {
|
|
|
161
171
|
version: ""
|
|
162
172
|
};
|
|
163
173
|
}
|
|
174
|
+
/**
|
|
175
|
+
* MsgChannelOpenInitResponse defines the Msg/ChannelOpenInit response type.
|
|
176
|
+
* @name MsgChannelOpenInitResponse
|
|
177
|
+
* @package ibc.core.channel.v1
|
|
178
|
+
* @see proto type: ibc.core.channel.v1.MsgChannelOpenInitResponse
|
|
179
|
+
*/
|
|
164
180
|
export const MsgChannelOpenInitResponse = {
|
|
165
181
|
typeUrl: "/ibc.core.channel.v1.MsgChannelOpenInitResponse",
|
|
166
182
|
aminoType: "cosmos-sdk/MsgChannelOpenInitResponse",
|
|
@@ -255,6 +271,14 @@ function createBaseMsgChannelOpenTry() {
|
|
|
255
271
|
signer: ""
|
|
256
272
|
};
|
|
257
273
|
}
|
|
274
|
+
/**
|
|
275
|
+
* MsgChannelOpenInit defines a msg sent by a Relayer to try to open a channel
|
|
276
|
+
* on Chain B. The version field within the Channel field has been deprecated. Its
|
|
277
|
+
* value will be ignored by core IBC.
|
|
278
|
+
* @name MsgChannelOpenTry
|
|
279
|
+
* @package ibc.core.channel.v1
|
|
280
|
+
* @see proto type: ibc.core.channel.v1.MsgChannelOpenTry
|
|
281
|
+
*/
|
|
258
282
|
export const MsgChannelOpenTry = {
|
|
259
283
|
typeUrl: "/ibc.core.channel.v1.MsgChannelOpenTry",
|
|
260
284
|
aminoType: "cosmos-sdk/MsgChannelOpenTry",
|
|
@@ -392,6 +416,9 @@ export const MsgChannelOpenTry = {
|
|
|
392
416
|
};
|
|
393
417
|
},
|
|
394
418
|
registerTypeUrl() {
|
|
419
|
+
if (!GlobalDecoderRegistry.registerExistingTypeUrl(MsgChannelOpenTry.typeUrl)) {
|
|
420
|
+
return;
|
|
421
|
+
}
|
|
395
422
|
Channel.registerTypeUrl();
|
|
396
423
|
Height.registerTypeUrl();
|
|
397
424
|
}
|
|
@@ -402,6 +429,12 @@ function createBaseMsgChannelOpenTryResponse() {
|
|
|
402
429
|
channelId: ""
|
|
403
430
|
};
|
|
404
431
|
}
|
|
432
|
+
/**
|
|
433
|
+
* MsgChannelOpenTryResponse defines the Msg/ChannelOpenTry response type.
|
|
434
|
+
* @name MsgChannelOpenTryResponse
|
|
435
|
+
* @package ibc.core.channel.v1
|
|
436
|
+
* @see proto type: ibc.core.channel.v1.MsgChannelOpenTryResponse
|
|
437
|
+
*/
|
|
405
438
|
export const MsgChannelOpenTryResponse = {
|
|
406
439
|
typeUrl: "/ibc.core.channel.v1.MsgChannelOpenTryResponse",
|
|
407
440
|
aminoType: "cosmos-sdk/MsgChannelOpenTryResponse",
|
|
@@ -496,6 +529,13 @@ function createBaseMsgChannelOpenAck() {
|
|
|
496
529
|
signer: ""
|
|
497
530
|
};
|
|
498
531
|
}
|
|
532
|
+
/**
|
|
533
|
+
* MsgChannelOpenAck defines a msg sent by a Relayer to Chain A to acknowledge
|
|
534
|
+
* the change of channel state to TRYOPEN on Chain B.
|
|
535
|
+
* @name MsgChannelOpenAck
|
|
536
|
+
* @package ibc.core.channel.v1
|
|
537
|
+
* @see proto type: ibc.core.channel.v1.MsgChannelOpenAck
|
|
538
|
+
*/
|
|
499
539
|
export const MsgChannelOpenAck = {
|
|
500
540
|
typeUrl: "/ibc.core.channel.v1.MsgChannelOpenAck",
|
|
501
541
|
aminoType: "cosmos-sdk/MsgChannelOpenAck",
|
|
@@ -633,12 +673,21 @@ export const MsgChannelOpenAck = {
|
|
|
633
673
|
};
|
|
634
674
|
},
|
|
635
675
|
registerTypeUrl() {
|
|
676
|
+
if (!GlobalDecoderRegistry.registerExistingTypeUrl(MsgChannelOpenAck.typeUrl)) {
|
|
677
|
+
return;
|
|
678
|
+
}
|
|
636
679
|
Height.registerTypeUrl();
|
|
637
680
|
}
|
|
638
681
|
};
|
|
639
682
|
function createBaseMsgChannelOpenAckResponse() {
|
|
640
683
|
return {};
|
|
641
684
|
}
|
|
685
|
+
/**
|
|
686
|
+
* MsgChannelOpenAckResponse defines the Msg/ChannelOpenAck response type.
|
|
687
|
+
* @name MsgChannelOpenAckResponse
|
|
688
|
+
* @package ibc.core.channel.v1
|
|
689
|
+
* @see proto type: ibc.core.channel.v1.MsgChannelOpenAckResponse
|
|
690
|
+
*/
|
|
642
691
|
export const MsgChannelOpenAckResponse = {
|
|
643
692
|
typeUrl: "/ibc.core.channel.v1.MsgChannelOpenAckResponse",
|
|
644
693
|
aminoType: "cosmos-sdk/MsgChannelOpenAckResponse",
|
|
@@ -709,6 +758,13 @@ function createBaseMsgChannelOpenConfirm() {
|
|
|
709
758
|
signer: ""
|
|
710
759
|
};
|
|
711
760
|
}
|
|
761
|
+
/**
|
|
762
|
+
* MsgChannelOpenConfirm defines a msg sent by a Relayer to Chain B to
|
|
763
|
+
* acknowledge the change of channel state to OPEN on Chain A.
|
|
764
|
+
* @name MsgChannelOpenConfirm
|
|
765
|
+
* @package ibc.core.channel.v1
|
|
766
|
+
* @see proto type: ibc.core.channel.v1.MsgChannelOpenConfirm
|
|
767
|
+
*/
|
|
712
768
|
export const MsgChannelOpenConfirm = {
|
|
713
769
|
typeUrl: "/ibc.core.channel.v1.MsgChannelOpenConfirm",
|
|
714
770
|
aminoType: "cosmos-sdk/MsgChannelOpenConfirm",
|
|
@@ -824,12 +880,22 @@ export const MsgChannelOpenConfirm = {
|
|
|
824
880
|
};
|
|
825
881
|
},
|
|
826
882
|
registerTypeUrl() {
|
|
883
|
+
if (!GlobalDecoderRegistry.registerExistingTypeUrl(MsgChannelOpenConfirm.typeUrl)) {
|
|
884
|
+
return;
|
|
885
|
+
}
|
|
827
886
|
Height.registerTypeUrl();
|
|
828
887
|
}
|
|
829
888
|
};
|
|
830
889
|
function createBaseMsgChannelOpenConfirmResponse() {
|
|
831
890
|
return {};
|
|
832
891
|
}
|
|
892
|
+
/**
|
|
893
|
+
* MsgChannelOpenConfirmResponse defines the Msg/ChannelOpenConfirm response
|
|
894
|
+
* type.
|
|
895
|
+
* @name MsgChannelOpenConfirmResponse
|
|
896
|
+
* @package ibc.core.channel.v1
|
|
897
|
+
* @see proto type: ibc.core.channel.v1.MsgChannelOpenConfirmResponse
|
|
898
|
+
*/
|
|
833
899
|
export const MsgChannelOpenConfirmResponse = {
|
|
834
900
|
typeUrl: "/ibc.core.channel.v1.MsgChannelOpenConfirmResponse",
|
|
835
901
|
aminoType: "cosmos-sdk/MsgChannelOpenConfirmResponse",
|
|
@@ -898,6 +964,13 @@ function createBaseMsgChannelCloseInit() {
|
|
|
898
964
|
signer: ""
|
|
899
965
|
};
|
|
900
966
|
}
|
|
967
|
+
/**
|
|
968
|
+
* MsgChannelCloseInit defines a msg sent by a Relayer to Chain A
|
|
969
|
+
* to close a channel with Chain B.
|
|
970
|
+
* @name MsgChannelCloseInit
|
|
971
|
+
* @package ibc.core.channel.v1
|
|
972
|
+
* @see proto type: ibc.core.channel.v1.MsgChannelCloseInit
|
|
973
|
+
*/
|
|
901
974
|
export const MsgChannelCloseInit = {
|
|
902
975
|
typeUrl: "/ibc.core.channel.v1.MsgChannelCloseInit",
|
|
903
976
|
aminoType: "cosmos-sdk/MsgChannelCloseInit",
|
|
@@ -995,6 +1068,12 @@ export const MsgChannelCloseInit = {
|
|
|
995
1068
|
function createBaseMsgChannelCloseInitResponse() {
|
|
996
1069
|
return {};
|
|
997
1070
|
}
|
|
1071
|
+
/**
|
|
1072
|
+
* MsgChannelCloseInitResponse defines the Msg/ChannelCloseInit response type.
|
|
1073
|
+
* @name MsgChannelCloseInitResponse
|
|
1074
|
+
* @package ibc.core.channel.v1
|
|
1075
|
+
* @see proto type: ibc.core.channel.v1.MsgChannelCloseInitResponse
|
|
1076
|
+
*/
|
|
998
1077
|
export const MsgChannelCloseInitResponse = {
|
|
999
1078
|
typeUrl: "/ibc.core.channel.v1.MsgChannelCloseInitResponse",
|
|
1000
1079
|
aminoType: "cosmos-sdk/MsgChannelCloseInitResponse",
|
|
@@ -1062,18 +1141,24 @@ function createBaseMsgChannelCloseConfirm() {
|
|
|
1062
1141
|
channelId: "",
|
|
1063
1142
|
proofInit: new Uint8Array(),
|
|
1064
1143
|
proofHeight: Height.fromPartial({}),
|
|
1065
|
-
signer: ""
|
|
1066
|
-
counterpartyUpgradeSequence: BigInt(0)
|
|
1144
|
+
signer: ""
|
|
1067
1145
|
};
|
|
1068
1146
|
}
|
|
1147
|
+
/**
|
|
1148
|
+
* MsgChannelCloseConfirm defines a msg sent by a Relayer to Chain B
|
|
1149
|
+
* to acknowledge the change of channel state to CLOSED on Chain A.
|
|
1150
|
+
* @name MsgChannelCloseConfirm
|
|
1151
|
+
* @package ibc.core.channel.v1
|
|
1152
|
+
* @see proto type: ibc.core.channel.v1.MsgChannelCloseConfirm
|
|
1153
|
+
*/
|
|
1069
1154
|
export const MsgChannelCloseConfirm = {
|
|
1070
1155
|
typeUrl: "/ibc.core.channel.v1.MsgChannelCloseConfirm",
|
|
1071
1156
|
aminoType: "cosmos-sdk/MsgChannelCloseConfirm",
|
|
1072
1157
|
is(o) {
|
|
1073
|
-
return o && (o.$typeUrl === MsgChannelCloseConfirm.typeUrl || typeof o.portId === "string" && typeof o.channelId === "string" && (o.proofInit instanceof Uint8Array || typeof o.proofInit === "string") && Height.is(o.proofHeight) && typeof o.signer === "string"
|
|
1158
|
+
return o && (o.$typeUrl === MsgChannelCloseConfirm.typeUrl || typeof o.portId === "string" && typeof o.channelId === "string" && (o.proofInit instanceof Uint8Array || typeof o.proofInit === "string") && Height.is(o.proofHeight) && typeof o.signer === "string");
|
|
1074
1159
|
},
|
|
1075
1160
|
isAmino(o) {
|
|
1076
|
-
return o && (o.$typeUrl === MsgChannelCloseConfirm.typeUrl || typeof o.port_id === "string" && typeof o.channel_id === "string" && (o.proof_init instanceof Uint8Array || typeof o.proof_init === "string") && Height.isAmino(o.proof_height) && typeof o.signer === "string"
|
|
1161
|
+
return o && (o.$typeUrl === MsgChannelCloseConfirm.typeUrl || typeof o.port_id === "string" && typeof o.channel_id === "string" && (o.proof_init instanceof Uint8Array || typeof o.proof_init === "string") && Height.isAmino(o.proof_height) && typeof o.signer === "string");
|
|
1077
1162
|
},
|
|
1078
1163
|
encode(message, writer = BinaryWriter.create()) {
|
|
1079
1164
|
if (message.portId !== "") {
|
|
@@ -1091,9 +1176,6 @@ export const MsgChannelCloseConfirm = {
|
|
|
1091
1176
|
if (message.signer !== "") {
|
|
1092
1177
|
writer.uint32(42).string(message.signer);
|
|
1093
1178
|
}
|
|
1094
|
-
if (message.counterpartyUpgradeSequence !== BigInt(0)) {
|
|
1095
|
-
writer.uint32(48).uint64(message.counterpartyUpgradeSequence);
|
|
1096
|
-
}
|
|
1097
1179
|
return writer;
|
|
1098
1180
|
},
|
|
1099
1181
|
decode(input, length) {
|
|
@@ -1118,9 +1200,6 @@ export const MsgChannelCloseConfirm = {
|
|
|
1118
1200
|
case 5:
|
|
1119
1201
|
message.signer = reader.string();
|
|
1120
1202
|
break;
|
|
1121
|
-
case 6:
|
|
1122
|
-
message.counterpartyUpgradeSequence = reader.uint64();
|
|
1123
|
-
break;
|
|
1124
1203
|
default:
|
|
1125
1204
|
reader.skipType(tag & 7);
|
|
1126
1205
|
break;
|
|
@@ -1135,7 +1214,6 @@ export const MsgChannelCloseConfirm = {
|
|
|
1135
1214
|
message.proofInit = object.proofInit ?? new Uint8Array();
|
|
1136
1215
|
message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? Height.fromPartial(object.proofHeight) : undefined;
|
|
1137
1216
|
message.signer = object.signer ?? "";
|
|
1138
|
-
message.counterpartyUpgradeSequence = object.counterpartyUpgradeSequence !== undefined && object.counterpartyUpgradeSequence !== null ? BigInt(object.counterpartyUpgradeSequence.toString()) : BigInt(0);
|
|
1139
1217
|
return message;
|
|
1140
1218
|
},
|
|
1141
1219
|
fromAmino(object) {
|
|
@@ -1155,9 +1233,6 @@ export const MsgChannelCloseConfirm = {
|
|
|
1155
1233
|
if (object.signer !== undefined && object.signer !== null) {
|
|
1156
1234
|
message.signer = object.signer;
|
|
1157
1235
|
}
|
|
1158
|
-
if (object.counterparty_upgrade_sequence !== undefined && object.counterparty_upgrade_sequence !== null) {
|
|
1159
|
-
message.counterpartyUpgradeSequence = BigInt(object.counterparty_upgrade_sequence);
|
|
1160
|
-
}
|
|
1161
1236
|
return message;
|
|
1162
1237
|
},
|
|
1163
1238
|
toAmino(message) {
|
|
@@ -1167,7 +1242,6 @@ export const MsgChannelCloseConfirm = {
|
|
|
1167
1242
|
obj.proof_init = message.proofInit ? base64FromBytes(message.proofInit) : undefined;
|
|
1168
1243
|
obj.proof_height = message.proofHeight ? Height.toAmino(message.proofHeight) : {};
|
|
1169
1244
|
obj.signer = message.signer === "" ? undefined : message.signer;
|
|
1170
|
-
obj.counterparty_upgrade_sequence = message.counterpartyUpgradeSequence !== BigInt(0) ? message.counterpartyUpgradeSequence?.toString() : undefined;
|
|
1171
1245
|
return obj;
|
|
1172
1246
|
},
|
|
1173
1247
|
fromAminoMsg(object) {
|
|
@@ -1192,12 +1266,22 @@ export const MsgChannelCloseConfirm = {
|
|
|
1192
1266
|
};
|
|
1193
1267
|
},
|
|
1194
1268
|
registerTypeUrl() {
|
|
1269
|
+
if (!GlobalDecoderRegistry.registerExistingTypeUrl(MsgChannelCloseConfirm.typeUrl)) {
|
|
1270
|
+
return;
|
|
1271
|
+
}
|
|
1195
1272
|
Height.registerTypeUrl();
|
|
1196
1273
|
}
|
|
1197
1274
|
};
|
|
1198
1275
|
function createBaseMsgChannelCloseConfirmResponse() {
|
|
1199
1276
|
return {};
|
|
1200
1277
|
}
|
|
1278
|
+
/**
|
|
1279
|
+
* MsgChannelCloseConfirmResponse defines the Msg/ChannelCloseConfirm response
|
|
1280
|
+
* type.
|
|
1281
|
+
* @name MsgChannelCloseConfirmResponse
|
|
1282
|
+
* @package ibc.core.channel.v1
|
|
1283
|
+
* @see proto type: ibc.core.channel.v1.MsgChannelCloseConfirmResponse
|
|
1284
|
+
*/
|
|
1201
1285
|
export const MsgChannelCloseConfirmResponse = {
|
|
1202
1286
|
typeUrl: "/ibc.core.channel.v1.MsgChannelCloseConfirmResponse",
|
|
1203
1287
|
aminoType: "cosmos-sdk/MsgChannelCloseConfirmResponse",
|
|
@@ -1267,6 +1351,12 @@ function createBaseMsgRecvPacket() {
|
|
|
1267
1351
|
signer: ""
|
|
1268
1352
|
};
|
|
1269
1353
|
}
|
|
1354
|
+
/**
|
|
1355
|
+
* MsgRecvPacket receives incoming IBC packet
|
|
1356
|
+
* @name MsgRecvPacket
|
|
1357
|
+
* @package ibc.core.channel.v1
|
|
1358
|
+
* @see proto type: ibc.core.channel.v1.MsgRecvPacket
|
|
1359
|
+
*/
|
|
1270
1360
|
export const MsgRecvPacket = {
|
|
1271
1361
|
typeUrl: "/ibc.core.channel.v1.MsgRecvPacket",
|
|
1272
1362
|
aminoType: "cosmos-sdk/MsgRecvPacket",
|
|
@@ -1371,6 +1461,9 @@ export const MsgRecvPacket = {
|
|
|
1371
1461
|
};
|
|
1372
1462
|
},
|
|
1373
1463
|
registerTypeUrl() {
|
|
1464
|
+
if (!GlobalDecoderRegistry.registerExistingTypeUrl(MsgRecvPacket.typeUrl)) {
|
|
1465
|
+
return;
|
|
1466
|
+
}
|
|
1374
1467
|
Packet.registerTypeUrl();
|
|
1375
1468
|
Height.registerTypeUrl();
|
|
1376
1469
|
}
|
|
@@ -1380,6 +1473,12 @@ function createBaseMsgRecvPacketResponse() {
|
|
|
1380
1473
|
result: 0
|
|
1381
1474
|
};
|
|
1382
1475
|
}
|
|
1476
|
+
/**
|
|
1477
|
+
* MsgRecvPacketResponse defines the Msg/RecvPacket response type.
|
|
1478
|
+
* @name MsgRecvPacketResponse
|
|
1479
|
+
* @package ibc.core.channel.v1
|
|
1480
|
+
* @see proto type: ibc.core.channel.v1.MsgRecvPacketResponse
|
|
1481
|
+
*/
|
|
1383
1482
|
export const MsgRecvPacketResponse = {
|
|
1384
1483
|
typeUrl: "/ibc.core.channel.v1.MsgRecvPacketResponse",
|
|
1385
1484
|
aminoType: "cosmos-sdk/MsgRecvPacketResponse",
|
|
@@ -1461,6 +1560,12 @@ function createBaseMsgTimeout() {
|
|
|
1461
1560
|
signer: ""
|
|
1462
1561
|
};
|
|
1463
1562
|
}
|
|
1563
|
+
/**
|
|
1564
|
+
* MsgTimeout receives timed-out packet
|
|
1565
|
+
* @name MsgTimeout
|
|
1566
|
+
* @package ibc.core.channel.v1
|
|
1567
|
+
* @see proto type: ibc.core.channel.v1.MsgTimeout
|
|
1568
|
+
*/
|
|
1464
1569
|
export const MsgTimeout = {
|
|
1465
1570
|
typeUrl: "/ibc.core.channel.v1.MsgTimeout",
|
|
1466
1571
|
aminoType: "cosmos-sdk/MsgTimeout",
|
|
@@ -1576,6 +1681,9 @@ export const MsgTimeout = {
|
|
|
1576
1681
|
};
|
|
1577
1682
|
},
|
|
1578
1683
|
registerTypeUrl() {
|
|
1684
|
+
if (!GlobalDecoderRegistry.registerExistingTypeUrl(MsgTimeout.typeUrl)) {
|
|
1685
|
+
return;
|
|
1686
|
+
}
|
|
1579
1687
|
Packet.registerTypeUrl();
|
|
1580
1688
|
Height.registerTypeUrl();
|
|
1581
1689
|
}
|
|
@@ -1585,6 +1693,12 @@ function createBaseMsgTimeoutResponse() {
|
|
|
1585
1693
|
result: 0
|
|
1586
1694
|
};
|
|
1587
1695
|
}
|
|
1696
|
+
/**
|
|
1697
|
+
* MsgTimeoutResponse defines the Msg/Timeout response type.
|
|
1698
|
+
* @name MsgTimeoutResponse
|
|
1699
|
+
* @package ibc.core.channel.v1
|
|
1700
|
+
* @see proto type: ibc.core.channel.v1.MsgTimeoutResponse
|
|
1701
|
+
*/
|
|
1588
1702
|
export const MsgTimeoutResponse = {
|
|
1589
1703
|
typeUrl: "/ibc.core.channel.v1.MsgTimeoutResponse",
|
|
1590
1704
|
aminoType: "cosmos-sdk/MsgTimeoutResponse",
|
|
@@ -1664,18 +1778,23 @@ function createBaseMsgTimeoutOnClose() {
|
|
|
1664
1778
|
proofClose: new Uint8Array(),
|
|
1665
1779
|
proofHeight: Height.fromPartial({}),
|
|
1666
1780
|
nextSequenceRecv: BigInt(0),
|
|
1667
|
-
signer: ""
|
|
1668
|
-
counterpartyUpgradeSequence: BigInt(0)
|
|
1781
|
+
signer: ""
|
|
1669
1782
|
};
|
|
1670
1783
|
}
|
|
1784
|
+
/**
|
|
1785
|
+
* MsgTimeoutOnClose timed-out packet upon counterparty channel closure.
|
|
1786
|
+
* @name MsgTimeoutOnClose
|
|
1787
|
+
* @package ibc.core.channel.v1
|
|
1788
|
+
* @see proto type: ibc.core.channel.v1.MsgTimeoutOnClose
|
|
1789
|
+
*/
|
|
1671
1790
|
export const MsgTimeoutOnClose = {
|
|
1672
1791
|
typeUrl: "/ibc.core.channel.v1.MsgTimeoutOnClose",
|
|
1673
1792
|
aminoType: "cosmos-sdk/MsgTimeoutOnClose",
|
|
1674
1793
|
is(o) {
|
|
1675
|
-
return o && (o.$typeUrl === MsgTimeoutOnClose.typeUrl || Packet.is(o.packet) && (o.proofUnreceived instanceof Uint8Array || typeof o.proofUnreceived === "string") && (o.proofClose instanceof Uint8Array || typeof o.proofClose === "string") && Height.is(o.proofHeight) && typeof o.nextSequenceRecv === "bigint" && typeof o.signer === "string"
|
|
1794
|
+
return o && (o.$typeUrl === MsgTimeoutOnClose.typeUrl || Packet.is(o.packet) && (o.proofUnreceived instanceof Uint8Array || typeof o.proofUnreceived === "string") && (o.proofClose instanceof Uint8Array || typeof o.proofClose === "string") && Height.is(o.proofHeight) && typeof o.nextSequenceRecv === "bigint" && typeof o.signer === "string");
|
|
1676
1795
|
},
|
|
1677
1796
|
isAmino(o) {
|
|
1678
|
-
return o && (o.$typeUrl === MsgTimeoutOnClose.typeUrl || Packet.isAmino(o.packet) && (o.proof_unreceived instanceof Uint8Array || typeof o.proof_unreceived === "string") && (o.proof_close instanceof Uint8Array || typeof o.proof_close === "string") && Height.isAmino(o.proof_height) && typeof o.next_sequence_recv === "bigint" && typeof o.signer === "string"
|
|
1797
|
+
return o && (o.$typeUrl === MsgTimeoutOnClose.typeUrl || Packet.isAmino(o.packet) && (o.proof_unreceived instanceof Uint8Array || typeof o.proof_unreceived === "string") && (o.proof_close instanceof Uint8Array || typeof o.proof_close === "string") && Height.isAmino(o.proof_height) && typeof o.next_sequence_recv === "bigint" && typeof o.signer === "string");
|
|
1679
1798
|
},
|
|
1680
1799
|
encode(message, writer = BinaryWriter.create()) {
|
|
1681
1800
|
if (message.packet !== undefined) {
|
|
@@ -1696,9 +1815,6 @@ export const MsgTimeoutOnClose = {
|
|
|
1696
1815
|
if (message.signer !== "") {
|
|
1697
1816
|
writer.uint32(50).string(message.signer);
|
|
1698
1817
|
}
|
|
1699
|
-
if (message.counterpartyUpgradeSequence !== BigInt(0)) {
|
|
1700
|
-
writer.uint32(56).uint64(message.counterpartyUpgradeSequence);
|
|
1701
|
-
}
|
|
1702
1818
|
return writer;
|
|
1703
1819
|
},
|
|
1704
1820
|
decode(input, length) {
|
|
@@ -1726,9 +1842,6 @@ export const MsgTimeoutOnClose = {
|
|
|
1726
1842
|
case 6:
|
|
1727
1843
|
message.signer = reader.string();
|
|
1728
1844
|
break;
|
|
1729
|
-
case 7:
|
|
1730
|
-
message.counterpartyUpgradeSequence = reader.uint64();
|
|
1731
|
-
break;
|
|
1732
1845
|
default:
|
|
1733
1846
|
reader.skipType(tag & 7);
|
|
1734
1847
|
break;
|
|
@@ -1744,7 +1857,6 @@ export const MsgTimeoutOnClose = {
|
|
|
1744
1857
|
message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? Height.fromPartial(object.proofHeight) : undefined;
|
|
1745
1858
|
message.nextSequenceRecv = object.nextSequenceRecv !== undefined && object.nextSequenceRecv !== null ? BigInt(object.nextSequenceRecv.toString()) : BigInt(0);
|
|
1746
1859
|
message.signer = object.signer ?? "";
|
|
1747
|
-
message.counterpartyUpgradeSequence = object.counterpartyUpgradeSequence !== undefined && object.counterpartyUpgradeSequence !== null ? BigInt(object.counterpartyUpgradeSequence.toString()) : BigInt(0);
|
|
1748
1860
|
return message;
|
|
1749
1861
|
},
|
|
1750
1862
|
fromAmino(object) {
|
|
@@ -1767,9 +1879,6 @@ export const MsgTimeoutOnClose = {
|
|
|
1767
1879
|
if (object.signer !== undefined && object.signer !== null) {
|
|
1768
1880
|
message.signer = object.signer;
|
|
1769
1881
|
}
|
|
1770
|
-
if (object.counterparty_upgrade_sequence !== undefined && object.counterparty_upgrade_sequence !== null) {
|
|
1771
|
-
message.counterpartyUpgradeSequence = BigInt(object.counterparty_upgrade_sequence);
|
|
1772
|
-
}
|
|
1773
1882
|
return message;
|
|
1774
1883
|
},
|
|
1775
1884
|
toAmino(message) {
|
|
@@ -1780,7 +1889,6 @@ export const MsgTimeoutOnClose = {
|
|
|
1780
1889
|
obj.proof_height = message.proofHeight ? Height.toAmino(message.proofHeight) : {};
|
|
1781
1890
|
obj.next_sequence_recv = message.nextSequenceRecv !== BigInt(0) ? message.nextSequenceRecv?.toString() : undefined;
|
|
1782
1891
|
obj.signer = message.signer === "" ? undefined : message.signer;
|
|
1783
|
-
obj.counterparty_upgrade_sequence = message.counterpartyUpgradeSequence !== BigInt(0) ? message.counterpartyUpgradeSequence?.toString() : undefined;
|
|
1784
1892
|
return obj;
|
|
1785
1893
|
},
|
|
1786
1894
|
fromAminoMsg(object) {
|
|
@@ -1805,6 +1913,9 @@ export const MsgTimeoutOnClose = {
|
|
|
1805
1913
|
};
|
|
1806
1914
|
},
|
|
1807
1915
|
registerTypeUrl() {
|
|
1916
|
+
if (!GlobalDecoderRegistry.registerExistingTypeUrl(MsgTimeoutOnClose.typeUrl)) {
|
|
1917
|
+
return;
|
|
1918
|
+
}
|
|
1808
1919
|
Packet.registerTypeUrl();
|
|
1809
1920
|
Height.registerTypeUrl();
|
|
1810
1921
|
}
|
|
@@ -1814,6 +1925,12 @@ function createBaseMsgTimeoutOnCloseResponse() {
|
|
|
1814
1925
|
result: 0
|
|
1815
1926
|
};
|
|
1816
1927
|
}
|
|
1928
|
+
/**
|
|
1929
|
+
* MsgTimeoutOnCloseResponse defines the Msg/TimeoutOnClose response type.
|
|
1930
|
+
* @name MsgTimeoutOnCloseResponse
|
|
1931
|
+
* @package ibc.core.channel.v1
|
|
1932
|
+
* @see proto type: ibc.core.channel.v1.MsgTimeoutOnCloseResponse
|
|
1933
|
+
*/
|
|
1817
1934
|
export const MsgTimeoutOnCloseResponse = {
|
|
1818
1935
|
typeUrl: "/ibc.core.channel.v1.MsgTimeoutOnCloseResponse",
|
|
1819
1936
|
aminoType: "cosmos-sdk/MsgTimeoutOnCloseResponse",
|
|
@@ -1895,6 +2012,12 @@ function createBaseMsgAcknowledgement() {
|
|
|
1895
2012
|
signer: ""
|
|
1896
2013
|
};
|
|
1897
2014
|
}
|
|
2015
|
+
/**
|
|
2016
|
+
* MsgAcknowledgement receives incoming IBC acknowledgement
|
|
2017
|
+
* @name MsgAcknowledgement
|
|
2018
|
+
* @package ibc.core.channel.v1
|
|
2019
|
+
* @see proto type: ibc.core.channel.v1.MsgAcknowledgement
|
|
2020
|
+
*/
|
|
1898
2021
|
export const MsgAcknowledgement = {
|
|
1899
2022
|
typeUrl: "/ibc.core.channel.v1.MsgAcknowledgement",
|
|
1900
2023
|
aminoType: "cosmos-sdk/MsgAcknowledgement",
|
|
@@ -2010,6 +2133,9 @@ export const MsgAcknowledgement = {
|
|
|
2010
2133
|
};
|
|
2011
2134
|
},
|
|
2012
2135
|
registerTypeUrl() {
|
|
2136
|
+
if (!GlobalDecoderRegistry.registerExistingTypeUrl(MsgAcknowledgement.typeUrl)) {
|
|
2137
|
+
return;
|
|
2138
|
+
}
|
|
2013
2139
|
Packet.registerTypeUrl();
|
|
2014
2140
|
Height.registerTypeUrl();
|
|
2015
2141
|
}
|
|
@@ -2019,6 +2145,12 @@ function createBaseMsgAcknowledgementResponse() {
|
|
|
2019
2145
|
result: 0
|
|
2020
2146
|
};
|
|
2021
2147
|
}
|
|
2148
|
+
/**
|
|
2149
|
+
* MsgAcknowledgementResponse defines the Msg/Acknowledgement response type.
|
|
2150
|
+
* @name MsgAcknowledgementResponse
|
|
2151
|
+
* @package ibc.core.channel.v1
|
|
2152
|
+
* @see proto type: ibc.core.channel.v1.MsgAcknowledgementResponse
|
|
2153
|
+
*/
|
|
2022
2154
|
export const MsgAcknowledgementResponse = {
|
|
2023
2155
|
typeUrl: "/ibc.core.channel.v1.MsgAcknowledgementResponse",
|
|
2024
2156
|
aminoType: "cosmos-sdk/MsgAcknowledgementResponse",
|
|
@@ -2091,1941 +2223,3 @@ export const MsgAcknowledgementResponse = {
|
|
|
2091
2223
|
},
|
|
2092
2224
|
registerTypeUrl() { }
|
|
2093
2225
|
};
|
|
2094
|
-
function createBaseMsgChannelUpgradeInit() {
|
|
2095
|
-
return {
|
|
2096
|
-
portId: "",
|
|
2097
|
-
channelId: "",
|
|
2098
|
-
fields: UpgradeFields.fromPartial({}),
|
|
2099
|
-
signer: ""
|
|
2100
|
-
};
|
|
2101
|
-
}
|
|
2102
|
-
export const MsgChannelUpgradeInit = {
|
|
2103
|
-
typeUrl: "/ibc.core.channel.v1.MsgChannelUpgradeInit",
|
|
2104
|
-
aminoType: "cosmos-sdk/MsgChannelUpgradeInit",
|
|
2105
|
-
is(o) {
|
|
2106
|
-
return o && (o.$typeUrl === MsgChannelUpgradeInit.typeUrl || typeof o.portId === "string" && typeof o.channelId === "string" && UpgradeFields.is(o.fields) && typeof o.signer === "string");
|
|
2107
|
-
},
|
|
2108
|
-
isAmino(o) {
|
|
2109
|
-
return o && (o.$typeUrl === MsgChannelUpgradeInit.typeUrl || typeof o.port_id === "string" && typeof o.channel_id === "string" && UpgradeFields.isAmino(o.fields) && typeof o.signer === "string");
|
|
2110
|
-
},
|
|
2111
|
-
encode(message, writer = BinaryWriter.create()) {
|
|
2112
|
-
if (message.portId !== "") {
|
|
2113
|
-
writer.uint32(10).string(message.portId);
|
|
2114
|
-
}
|
|
2115
|
-
if (message.channelId !== "") {
|
|
2116
|
-
writer.uint32(18).string(message.channelId);
|
|
2117
|
-
}
|
|
2118
|
-
if (message.fields !== undefined) {
|
|
2119
|
-
UpgradeFields.encode(message.fields, writer.uint32(26).fork()).ldelim();
|
|
2120
|
-
}
|
|
2121
|
-
if (message.signer !== "") {
|
|
2122
|
-
writer.uint32(34).string(message.signer);
|
|
2123
|
-
}
|
|
2124
|
-
return writer;
|
|
2125
|
-
},
|
|
2126
|
-
decode(input, length) {
|
|
2127
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
2128
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2129
|
-
const message = createBaseMsgChannelUpgradeInit();
|
|
2130
|
-
while (reader.pos < end) {
|
|
2131
|
-
const tag = reader.uint32();
|
|
2132
|
-
switch (tag >>> 3) {
|
|
2133
|
-
case 1:
|
|
2134
|
-
message.portId = reader.string();
|
|
2135
|
-
break;
|
|
2136
|
-
case 2:
|
|
2137
|
-
message.channelId = reader.string();
|
|
2138
|
-
break;
|
|
2139
|
-
case 3:
|
|
2140
|
-
message.fields = UpgradeFields.decode(reader, reader.uint32());
|
|
2141
|
-
break;
|
|
2142
|
-
case 4:
|
|
2143
|
-
message.signer = reader.string();
|
|
2144
|
-
break;
|
|
2145
|
-
default:
|
|
2146
|
-
reader.skipType(tag & 7);
|
|
2147
|
-
break;
|
|
2148
|
-
}
|
|
2149
|
-
}
|
|
2150
|
-
return message;
|
|
2151
|
-
},
|
|
2152
|
-
fromPartial(object) {
|
|
2153
|
-
const message = createBaseMsgChannelUpgradeInit();
|
|
2154
|
-
message.portId = object.portId ?? "";
|
|
2155
|
-
message.channelId = object.channelId ?? "";
|
|
2156
|
-
message.fields = object.fields !== undefined && object.fields !== null ? UpgradeFields.fromPartial(object.fields) : undefined;
|
|
2157
|
-
message.signer = object.signer ?? "";
|
|
2158
|
-
return message;
|
|
2159
|
-
},
|
|
2160
|
-
fromAmino(object) {
|
|
2161
|
-
const message = createBaseMsgChannelUpgradeInit();
|
|
2162
|
-
if (object.port_id !== undefined && object.port_id !== null) {
|
|
2163
|
-
message.portId = object.port_id;
|
|
2164
|
-
}
|
|
2165
|
-
if (object.channel_id !== undefined && object.channel_id !== null) {
|
|
2166
|
-
message.channelId = object.channel_id;
|
|
2167
|
-
}
|
|
2168
|
-
if (object.fields !== undefined && object.fields !== null) {
|
|
2169
|
-
message.fields = UpgradeFields.fromAmino(object.fields);
|
|
2170
|
-
}
|
|
2171
|
-
if (object.signer !== undefined && object.signer !== null) {
|
|
2172
|
-
message.signer = object.signer;
|
|
2173
|
-
}
|
|
2174
|
-
return message;
|
|
2175
|
-
},
|
|
2176
|
-
toAmino(message) {
|
|
2177
|
-
const obj = {};
|
|
2178
|
-
obj.port_id = message.portId === "" ? undefined : message.portId;
|
|
2179
|
-
obj.channel_id = message.channelId === "" ? undefined : message.channelId;
|
|
2180
|
-
obj.fields = message.fields ? UpgradeFields.toAmino(message.fields) : undefined;
|
|
2181
|
-
obj.signer = message.signer === "" ? undefined : message.signer;
|
|
2182
|
-
return obj;
|
|
2183
|
-
},
|
|
2184
|
-
fromAminoMsg(object) {
|
|
2185
|
-
return MsgChannelUpgradeInit.fromAmino(object.value);
|
|
2186
|
-
},
|
|
2187
|
-
toAminoMsg(message) {
|
|
2188
|
-
return {
|
|
2189
|
-
type: "cosmos-sdk/MsgChannelUpgradeInit",
|
|
2190
|
-
value: MsgChannelUpgradeInit.toAmino(message)
|
|
2191
|
-
};
|
|
2192
|
-
},
|
|
2193
|
-
fromProtoMsg(message) {
|
|
2194
|
-
return MsgChannelUpgradeInit.decode(message.value);
|
|
2195
|
-
},
|
|
2196
|
-
toProto(message) {
|
|
2197
|
-
return MsgChannelUpgradeInit.encode(message).finish();
|
|
2198
|
-
},
|
|
2199
|
-
toProtoMsg(message) {
|
|
2200
|
-
return {
|
|
2201
|
-
typeUrl: "/ibc.core.channel.v1.MsgChannelUpgradeInit",
|
|
2202
|
-
value: MsgChannelUpgradeInit.encode(message).finish()
|
|
2203
|
-
};
|
|
2204
|
-
},
|
|
2205
|
-
registerTypeUrl() {
|
|
2206
|
-
UpgradeFields.registerTypeUrl();
|
|
2207
|
-
}
|
|
2208
|
-
};
|
|
2209
|
-
function createBaseMsgChannelUpgradeInitResponse() {
|
|
2210
|
-
return {
|
|
2211
|
-
upgrade: Upgrade.fromPartial({}),
|
|
2212
|
-
upgradeSequence: BigInt(0)
|
|
2213
|
-
};
|
|
2214
|
-
}
|
|
2215
|
-
export const MsgChannelUpgradeInitResponse = {
|
|
2216
|
-
typeUrl: "/ibc.core.channel.v1.MsgChannelUpgradeInitResponse",
|
|
2217
|
-
aminoType: "cosmos-sdk/MsgChannelUpgradeInitResponse",
|
|
2218
|
-
is(o) {
|
|
2219
|
-
return o && (o.$typeUrl === MsgChannelUpgradeInitResponse.typeUrl || Upgrade.is(o.upgrade) && typeof o.upgradeSequence === "bigint");
|
|
2220
|
-
},
|
|
2221
|
-
isAmino(o) {
|
|
2222
|
-
return o && (o.$typeUrl === MsgChannelUpgradeInitResponse.typeUrl || Upgrade.isAmino(o.upgrade) && typeof o.upgrade_sequence === "bigint");
|
|
2223
|
-
},
|
|
2224
|
-
encode(message, writer = BinaryWriter.create()) {
|
|
2225
|
-
if (message.upgrade !== undefined) {
|
|
2226
|
-
Upgrade.encode(message.upgrade, writer.uint32(10).fork()).ldelim();
|
|
2227
|
-
}
|
|
2228
|
-
if (message.upgradeSequence !== BigInt(0)) {
|
|
2229
|
-
writer.uint32(16).uint64(message.upgradeSequence);
|
|
2230
|
-
}
|
|
2231
|
-
return writer;
|
|
2232
|
-
},
|
|
2233
|
-
decode(input, length) {
|
|
2234
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
2235
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2236
|
-
const message = createBaseMsgChannelUpgradeInitResponse();
|
|
2237
|
-
while (reader.pos < end) {
|
|
2238
|
-
const tag = reader.uint32();
|
|
2239
|
-
switch (tag >>> 3) {
|
|
2240
|
-
case 1:
|
|
2241
|
-
message.upgrade = Upgrade.decode(reader, reader.uint32());
|
|
2242
|
-
break;
|
|
2243
|
-
case 2:
|
|
2244
|
-
message.upgradeSequence = reader.uint64();
|
|
2245
|
-
break;
|
|
2246
|
-
default:
|
|
2247
|
-
reader.skipType(tag & 7);
|
|
2248
|
-
break;
|
|
2249
|
-
}
|
|
2250
|
-
}
|
|
2251
|
-
return message;
|
|
2252
|
-
},
|
|
2253
|
-
fromPartial(object) {
|
|
2254
|
-
const message = createBaseMsgChannelUpgradeInitResponse();
|
|
2255
|
-
message.upgrade = object.upgrade !== undefined && object.upgrade !== null ? Upgrade.fromPartial(object.upgrade) : undefined;
|
|
2256
|
-
message.upgradeSequence = object.upgradeSequence !== undefined && object.upgradeSequence !== null ? BigInt(object.upgradeSequence.toString()) : BigInt(0);
|
|
2257
|
-
return message;
|
|
2258
|
-
},
|
|
2259
|
-
fromAmino(object) {
|
|
2260
|
-
const message = createBaseMsgChannelUpgradeInitResponse();
|
|
2261
|
-
if (object.upgrade !== undefined && object.upgrade !== null) {
|
|
2262
|
-
message.upgrade = Upgrade.fromAmino(object.upgrade);
|
|
2263
|
-
}
|
|
2264
|
-
if (object.upgrade_sequence !== undefined && object.upgrade_sequence !== null) {
|
|
2265
|
-
message.upgradeSequence = BigInt(object.upgrade_sequence);
|
|
2266
|
-
}
|
|
2267
|
-
return message;
|
|
2268
|
-
},
|
|
2269
|
-
toAmino(message) {
|
|
2270
|
-
const obj = {};
|
|
2271
|
-
obj.upgrade = message.upgrade ? Upgrade.toAmino(message.upgrade) : undefined;
|
|
2272
|
-
obj.upgrade_sequence = message.upgradeSequence !== BigInt(0) ? message.upgradeSequence?.toString() : undefined;
|
|
2273
|
-
return obj;
|
|
2274
|
-
},
|
|
2275
|
-
fromAminoMsg(object) {
|
|
2276
|
-
return MsgChannelUpgradeInitResponse.fromAmino(object.value);
|
|
2277
|
-
},
|
|
2278
|
-
toAminoMsg(message) {
|
|
2279
|
-
return {
|
|
2280
|
-
type: "cosmos-sdk/MsgChannelUpgradeInitResponse",
|
|
2281
|
-
value: MsgChannelUpgradeInitResponse.toAmino(message)
|
|
2282
|
-
};
|
|
2283
|
-
},
|
|
2284
|
-
fromProtoMsg(message) {
|
|
2285
|
-
return MsgChannelUpgradeInitResponse.decode(message.value);
|
|
2286
|
-
},
|
|
2287
|
-
toProto(message) {
|
|
2288
|
-
return MsgChannelUpgradeInitResponse.encode(message).finish();
|
|
2289
|
-
},
|
|
2290
|
-
toProtoMsg(message) {
|
|
2291
|
-
return {
|
|
2292
|
-
typeUrl: "/ibc.core.channel.v1.MsgChannelUpgradeInitResponse",
|
|
2293
|
-
value: MsgChannelUpgradeInitResponse.encode(message).finish()
|
|
2294
|
-
};
|
|
2295
|
-
},
|
|
2296
|
-
registerTypeUrl() {
|
|
2297
|
-
Upgrade.registerTypeUrl();
|
|
2298
|
-
}
|
|
2299
|
-
};
|
|
2300
|
-
function createBaseMsgChannelUpgradeTry() {
|
|
2301
|
-
return {
|
|
2302
|
-
portId: "",
|
|
2303
|
-
channelId: "",
|
|
2304
|
-
proposedUpgradeConnectionHops: [],
|
|
2305
|
-
counterpartyUpgradeFields: UpgradeFields.fromPartial({}),
|
|
2306
|
-
counterpartyUpgradeSequence: BigInt(0),
|
|
2307
|
-
proofChannel: new Uint8Array(),
|
|
2308
|
-
proofUpgrade: new Uint8Array(),
|
|
2309
|
-
proofHeight: Height.fromPartial({}),
|
|
2310
|
-
signer: ""
|
|
2311
|
-
};
|
|
2312
|
-
}
|
|
2313
|
-
export const MsgChannelUpgradeTry = {
|
|
2314
|
-
typeUrl: "/ibc.core.channel.v1.MsgChannelUpgradeTry",
|
|
2315
|
-
aminoType: "cosmos-sdk/MsgChannelUpgradeTry",
|
|
2316
|
-
is(o) {
|
|
2317
|
-
return o && (o.$typeUrl === MsgChannelUpgradeTry.typeUrl || typeof o.portId === "string" && typeof o.channelId === "string" && Array.isArray(o.proposedUpgradeConnectionHops) && (!o.proposedUpgradeConnectionHops.length || typeof o.proposedUpgradeConnectionHops[0] === "string") && UpgradeFields.is(o.counterpartyUpgradeFields) && typeof o.counterpartyUpgradeSequence === "bigint" && (o.proofChannel instanceof Uint8Array || typeof o.proofChannel === "string") && (o.proofUpgrade instanceof Uint8Array || typeof o.proofUpgrade === "string") && Height.is(o.proofHeight) && typeof o.signer === "string");
|
|
2318
|
-
},
|
|
2319
|
-
isAmino(o) {
|
|
2320
|
-
return o && (o.$typeUrl === MsgChannelUpgradeTry.typeUrl || typeof o.port_id === "string" && typeof o.channel_id === "string" && Array.isArray(o.proposed_upgrade_connection_hops) && (!o.proposed_upgrade_connection_hops.length || typeof o.proposed_upgrade_connection_hops[0] === "string") && UpgradeFields.isAmino(o.counterparty_upgrade_fields) && typeof o.counterparty_upgrade_sequence === "bigint" && (o.proof_channel instanceof Uint8Array || typeof o.proof_channel === "string") && (o.proof_upgrade instanceof Uint8Array || typeof o.proof_upgrade === "string") && Height.isAmino(o.proof_height) && typeof o.signer === "string");
|
|
2321
|
-
},
|
|
2322
|
-
encode(message, writer = BinaryWriter.create()) {
|
|
2323
|
-
if (message.portId !== "") {
|
|
2324
|
-
writer.uint32(10).string(message.portId);
|
|
2325
|
-
}
|
|
2326
|
-
if (message.channelId !== "") {
|
|
2327
|
-
writer.uint32(18).string(message.channelId);
|
|
2328
|
-
}
|
|
2329
|
-
for (const v of message.proposedUpgradeConnectionHops) {
|
|
2330
|
-
writer.uint32(26).string(v);
|
|
2331
|
-
}
|
|
2332
|
-
if (message.counterpartyUpgradeFields !== undefined) {
|
|
2333
|
-
UpgradeFields.encode(message.counterpartyUpgradeFields, writer.uint32(34).fork()).ldelim();
|
|
2334
|
-
}
|
|
2335
|
-
if (message.counterpartyUpgradeSequence !== BigInt(0)) {
|
|
2336
|
-
writer.uint32(40).uint64(message.counterpartyUpgradeSequence);
|
|
2337
|
-
}
|
|
2338
|
-
if (message.proofChannel.length !== 0) {
|
|
2339
|
-
writer.uint32(50).bytes(message.proofChannel);
|
|
2340
|
-
}
|
|
2341
|
-
if (message.proofUpgrade.length !== 0) {
|
|
2342
|
-
writer.uint32(58).bytes(message.proofUpgrade);
|
|
2343
|
-
}
|
|
2344
|
-
if (message.proofHeight !== undefined) {
|
|
2345
|
-
Height.encode(message.proofHeight, writer.uint32(66).fork()).ldelim();
|
|
2346
|
-
}
|
|
2347
|
-
if (message.signer !== "") {
|
|
2348
|
-
writer.uint32(74).string(message.signer);
|
|
2349
|
-
}
|
|
2350
|
-
return writer;
|
|
2351
|
-
},
|
|
2352
|
-
decode(input, length) {
|
|
2353
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
2354
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2355
|
-
const message = createBaseMsgChannelUpgradeTry();
|
|
2356
|
-
while (reader.pos < end) {
|
|
2357
|
-
const tag = reader.uint32();
|
|
2358
|
-
switch (tag >>> 3) {
|
|
2359
|
-
case 1:
|
|
2360
|
-
message.portId = reader.string();
|
|
2361
|
-
break;
|
|
2362
|
-
case 2:
|
|
2363
|
-
message.channelId = reader.string();
|
|
2364
|
-
break;
|
|
2365
|
-
case 3:
|
|
2366
|
-
message.proposedUpgradeConnectionHops.push(reader.string());
|
|
2367
|
-
break;
|
|
2368
|
-
case 4:
|
|
2369
|
-
message.counterpartyUpgradeFields = UpgradeFields.decode(reader, reader.uint32());
|
|
2370
|
-
break;
|
|
2371
|
-
case 5:
|
|
2372
|
-
message.counterpartyUpgradeSequence = reader.uint64();
|
|
2373
|
-
break;
|
|
2374
|
-
case 6:
|
|
2375
|
-
message.proofChannel = reader.bytes();
|
|
2376
|
-
break;
|
|
2377
|
-
case 7:
|
|
2378
|
-
message.proofUpgrade = reader.bytes();
|
|
2379
|
-
break;
|
|
2380
|
-
case 8:
|
|
2381
|
-
message.proofHeight = Height.decode(reader, reader.uint32());
|
|
2382
|
-
break;
|
|
2383
|
-
case 9:
|
|
2384
|
-
message.signer = reader.string();
|
|
2385
|
-
break;
|
|
2386
|
-
default:
|
|
2387
|
-
reader.skipType(tag & 7);
|
|
2388
|
-
break;
|
|
2389
|
-
}
|
|
2390
|
-
}
|
|
2391
|
-
return message;
|
|
2392
|
-
},
|
|
2393
|
-
fromPartial(object) {
|
|
2394
|
-
const message = createBaseMsgChannelUpgradeTry();
|
|
2395
|
-
message.portId = object.portId ?? "";
|
|
2396
|
-
message.channelId = object.channelId ?? "";
|
|
2397
|
-
message.proposedUpgradeConnectionHops = object.proposedUpgradeConnectionHops?.map(e => e) || [];
|
|
2398
|
-
message.counterpartyUpgradeFields = object.counterpartyUpgradeFields !== undefined && object.counterpartyUpgradeFields !== null ? UpgradeFields.fromPartial(object.counterpartyUpgradeFields) : undefined;
|
|
2399
|
-
message.counterpartyUpgradeSequence = object.counterpartyUpgradeSequence !== undefined && object.counterpartyUpgradeSequence !== null ? BigInt(object.counterpartyUpgradeSequence.toString()) : BigInt(0);
|
|
2400
|
-
message.proofChannel = object.proofChannel ?? new Uint8Array();
|
|
2401
|
-
message.proofUpgrade = object.proofUpgrade ?? new Uint8Array();
|
|
2402
|
-
message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? Height.fromPartial(object.proofHeight) : undefined;
|
|
2403
|
-
message.signer = object.signer ?? "";
|
|
2404
|
-
return message;
|
|
2405
|
-
},
|
|
2406
|
-
fromAmino(object) {
|
|
2407
|
-
const message = createBaseMsgChannelUpgradeTry();
|
|
2408
|
-
if (object.port_id !== undefined && object.port_id !== null) {
|
|
2409
|
-
message.portId = object.port_id;
|
|
2410
|
-
}
|
|
2411
|
-
if (object.channel_id !== undefined && object.channel_id !== null) {
|
|
2412
|
-
message.channelId = object.channel_id;
|
|
2413
|
-
}
|
|
2414
|
-
message.proposedUpgradeConnectionHops = object.proposed_upgrade_connection_hops?.map(e => e) || [];
|
|
2415
|
-
if (object.counterparty_upgrade_fields !== undefined && object.counterparty_upgrade_fields !== null) {
|
|
2416
|
-
message.counterpartyUpgradeFields = UpgradeFields.fromAmino(object.counterparty_upgrade_fields);
|
|
2417
|
-
}
|
|
2418
|
-
if (object.counterparty_upgrade_sequence !== undefined && object.counterparty_upgrade_sequence !== null) {
|
|
2419
|
-
message.counterpartyUpgradeSequence = BigInt(object.counterparty_upgrade_sequence);
|
|
2420
|
-
}
|
|
2421
|
-
if (object.proof_channel !== undefined && object.proof_channel !== null) {
|
|
2422
|
-
message.proofChannel = bytesFromBase64(object.proof_channel);
|
|
2423
|
-
}
|
|
2424
|
-
if (object.proof_upgrade !== undefined && object.proof_upgrade !== null) {
|
|
2425
|
-
message.proofUpgrade = bytesFromBase64(object.proof_upgrade);
|
|
2426
|
-
}
|
|
2427
|
-
if (object.proof_height !== undefined && object.proof_height !== null) {
|
|
2428
|
-
message.proofHeight = Height.fromAmino(object.proof_height);
|
|
2429
|
-
}
|
|
2430
|
-
if (object.signer !== undefined && object.signer !== null) {
|
|
2431
|
-
message.signer = object.signer;
|
|
2432
|
-
}
|
|
2433
|
-
return message;
|
|
2434
|
-
},
|
|
2435
|
-
toAmino(message) {
|
|
2436
|
-
const obj = {};
|
|
2437
|
-
obj.port_id = message.portId === "" ? undefined : message.portId;
|
|
2438
|
-
obj.channel_id = message.channelId === "" ? undefined : message.channelId;
|
|
2439
|
-
if (message.proposedUpgradeConnectionHops) {
|
|
2440
|
-
obj.proposed_upgrade_connection_hops = message.proposedUpgradeConnectionHops.map(e => e);
|
|
2441
|
-
}
|
|
2442
|
-
else {
|
|
2443
|
-
obj.proposed_upgrade_connection_hops = message.proposedUpgradeConnectionHops;
|
|
2444
|
-
}
|
|
2445
|
-
obj.counterparty_upgrade_fields = message.counterpartyUpgradeFields ? UpgradeFields.toAmino(message.counterpartyUpgradeFields) : undefined;
|
|
2446
|
-
obj.counterparty_upgrade_sequence = message.counterpartyUpgradeSequence !== BigInt(0) ? message.counterpartyUpgradeSequence?.toString() : undefined;
|
|
2447
|
-
obj.proof_channel = message.proofChannel ? base64FromBytes(message.proofChannel) : undefined;
|
|
2448
|
-
obj.proof_upgrade = message.proofUpgrade ? base64FromBytes(message.proofUpgrade) : undefined;
|
|
2449
|
-
obj.proof_height = message.proofHeight ? Height.toAmino(message.proofHeight) : {};
|
|
2450
|
-
obj.signer = message.signer === "" ? undefined : message.signer;
|
|
2451
|
-
return obj;
|
|
2452
|
-
},
|
|
2453
|
-
fromAminoMsg(object) {
|
|
2454
|
-
return MsgChannelUpgradeTry.fromAmino(object.value);
|
|
2455
|
-
},
|
|
2456
|
-
toAminoMsg(message) {
|
|
2457
|
-
return {
|
|
2458
|
-
type: "cosmos-sdk/MsgChannelUpgradeTry",
|
|
2459
|
-
value: MsgChannelUpgradeTry.toAmino(message)
|
|
2460
|
-
};
|
|
2461
|
-
},
|
|
2462
|
-
fromProtoMsg(message) {
|
|
2463
|
-
return MsgChannelUpgradeTry.decode(message.value);
|
|
2464
|
-
},
|
|
2465
|
-
toProto(message) {
|
|
2466
|
-
return MsgChannelUpgradeTry.encode(message).finish();
|
|
2467
|
-
},
|
|
2468
|
-
toProtoMsg(message) {
|
|
2469
|
-
return {
|
|
2470
|
-
typeUrl: "/ibc.core.channel.v1.MsgChannelUpgradeTry",
|
|
2471
|
-
value: MsgChannelUpgradeTry.encode(message).finish()
|
|
2472
|
-
};
|
|
2473
|
-
},
|
|
2474
|
-
registerTypeUrl() {
|
|
2475
|
-
UpgradeFields.registerTypeUrl();
|
|
2476
|
-
Height.registerTypeUrl();
|
|
2477
|
-
}
|
|
2478
|
-
};
|
|
2479
|
-
function createBaseMsgChannelUpgradeTryResponse() {
|
|
2480
|
-
return {
|
|
2481
|
-
upgrade: Upgrade.fromPartial({}),
|
|
2482
|
-
upgradeSequence: BigInt(0),
|
|
2483
|
-
result: 0
|
|
2484
|
-
};
|
|
2485
|
-
}
|
|
2486
|
-
export const MsgChannelUpgradeTryResponse = {
|
|
2487
|
-
typeUrl: "/ibc.core.channel.v1.MsgChannelUpgradeTryResponse",
|
|
2488
|
-
aminoType: "cosmos-sdk/MsgChannelUpgradeTryResponse",
|
|
2489
|
-
is(o) {
|
|
2490
|
-
return o && (o.$typeUrl === MsgChannelUpgradeTryResponse.typeUrl || Upgrade.is(o.upgrade) && typeof o.upgradeSequence === "bigint" && isSet(o.result));
|
|
2491
|
-
},
|
|
2492
|
-
isAmino(o) {
|
|
2493
|
-
return o && (o.$typeUrl === MsgChannelUpgradeTryResponse.typeUrl || Upgrade.isAmino(o.upgrade) && typeof o.upgrade_sequence === "bigint" && isSet(o.result));
|
|
2494
|
-
},
|
|
2495
|
-
encode(message, writer = BinaryWriter.create()) {
|
|
2496
|
-
if (message.upgrade !== undefined) {
|
|
2497
|
-
Upgrade.encode(message.upgrade, writer.uint32(10).fork()).ldelim();
|
|
2498
|
-
}
|
|
2499
|
-
if (message.upgradeSequence !== BigInt(0)) {
|
|
2500
|
-
writer.uint32(16).uint64(message.upgradeSequence);
|
|
2501
|
-
}
|
|
2502
|
-
if (message.result !== 0) {
|
|
2503
|
-
writer.uint32(24).int32(message.result);
|
|
2504
|
-
}
|
|
2505
|
-
return writer;
|
|
2506
|
-
},
|
|
2507
|
-
decode(input, length) {
|
|
2508
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
2509
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2510
|
-
const message = createBaseMsgChannelUpgradeTryResponse();
|
|
2511
|
-
while (reader.pos < end) {
|
|
2512
|
-
const tag = reader.uint32();
|
|
2513
|
-
switch (tag >>> 3) {
|
|
2514
|
-
case 1:
|
|
2515
|
-
message.upgrade = Upgrade.decode(reader, reader.uint32());
|
|
2516
|
-
break;
|
|
2517
|
-
case 2:
|
|
2518
|
-
message.upgradeSequence = reader.uint64();
|
|
2519
|
-
break;
|
|
2520
|
-
case 3:
|
|
2521
|
-
message.result = reader.int32();
|
|
2522
|
-
break;
|
|
2523
|
-
default:
|
|
2524
|
-
reader.skipType(tag & 7);
|
|
2525
|
-
break;
|
|
2526
|
-
}
|
|
2527
|
-
}
|
|
2528
|
-
return message;
|
|
2529
|
-
},
|
|
2530
|
-
fromPartial(object) {
|
|
2531
|
-
const message = createBaseMsgChannelUpgradeTryResponse();
|
|
2532
|
-
message.upgrade = object.upgrade !== undefined && object.upgrade !== null ? Upgrade.fromPartial(object.upgrade) : undefined;
|
|
2533
|
-
message.upgradeSequence = object.upgradeSequence !== undefined && object.upgradeSequence !== null ? BigInt(object.upgradeSequence.toString()) : BigInt(0);
|
|
2534
|
-
message.result = object.result ?? 0;
|
|
2535
|
-
return message;
|
|
2536
|
-
},
|
|
2537
|
-
fromAmino(object) {
|
|
2538
|
-
const message = createBaseMsgChannelUpgradeTryResponse();
|
|
2539
|
-
if (object.upgrade !== undefined && object.upgrade !== null) {
|
|
2540
|
-
message.upgrade = Upgrade.fromAmino(object.upgrade);
|
|
2541
|
-
}
|
|
2542
|
-
if (object.upgrade_sequence !== undefined && object.upgrade_sequence !== null) {
|
|
2543
|
-
message.upgradeSequence = BigInt(object.upgrade_sequence);
|
|
2544
|
-
}
|
|
2545
|
-
if (object.result !== undefined && object.result !== null) {
|
|
2546
|
-
message.result = object.result;
|
|
2547
|
-
}
|
|
2548
|
-
return message;
|
|
2549
|
-
},
|
|
2550
|
-
toAmino(message) {
|
|
2551
|
-
const obj = {};
|
|
2552
|
-
obj.upgrade = message.upgrade ? Upgrade.toAmino(message.upgrade) : undefined;
|
|
2553
|
-
obj.upgrade_sequence = message.upgradeSequence !== BigInt(0) ? message.upgradeSequence?.toString() : undefined;
|
|
2554
|
-
obj.result = message.result === 0 ? undefined : message.result;
|
|
2555
|
-
return obj;
|
|
2556
|
-
},
|
|
2557
|
-
fromAminoMsg(object) {
|
|
2558
|
-
return MsgChannelUpgradeTryResponse.fromAmino(object.value);
|
|
2559
|
-
},
|
|
2560
|
-
toAminoMsg(message) {
|
|
2561
|
-
return {
|
|
2562
|
-
type: "cosmos-sdk/MsgChannelUpgradeTryResponse",
|
|
2563
|
-
value: MsgChannelUpgradeTryResponse.toAmino(message)
|
|
2564
|
-
};
|
|
2565
|
-
},
|
|
2566
|
-
fromProtoMsg(message) {
|
|
2567
|
-
return MsgChannelUpgradeTryResponse.decode(message.value);
|
|
2568
|
-
},
|
|
2569
|
-
toProto(message) {
|
|
2570
|
-
return MsgChannelUpgradeTryResponse.encode(message).finish();
|
|
2571
|
-
},
|
|
2572
|
-
toProtoMsg(message) {
|
|
2573
|
-
return {
|
|
2574
|
-
typeUrl: "/ibc.core.channel.v1.MsgChannelUpgradeTryResponse",
|
|
2575
|
-
value: MsgChannelUpgradeTryResponse.encode(message).finish()
|
|
2576
|
-
};
|
|
2577
|
-
},
|
|
2578
|
-
registerTypeUrl() {
|
|
2579
|
-
Upgrade.registerTypeUrl();
|
|
2580
|
-
}
|
|
2581
|
-
};
|
|
2582
|
-
function createBaseMsgChannelUpgradeAck() {
|
|
2583
|
-
return {
|
|
2584
|
-
portId: "",
|
|
2585
|
-
channelId: "",
|
|
2586
|
-
counterpartyUpgrade: Upgrade.fromPartial({}),
|
|
2587
|
-
proofChannel: new Uint8Array(),
|
|
2588
|
-
proofUpgrade: new Uint8Array(),
|
|
2589
|
-
proofHeight: Height.fromPartial({}),
|
|
2590
|
-
signer: ""
|
|
2591
|
-
};
|
|
2592
|
-
}
|
|
2593
|
-
export const MsgChannelUpgradeAck = {
|
|
2594
|
-
typeUrl: "/ibc.core.channel.v1.MsgChannelUpgradeAck",
|
|
2595
|
-
aminoType: "cosmos-sdk/MsgChannelUpgradeAck",
|
|
2596
|
-
is(o) {
|
|
2597
|
-
return o && (o.$typeUrl === MsgChannelUpgradeAck.typeUrl || typeof o.portId === "string" && typeof o.channelId === "string" && Upgrade.is(o.counterpartyUpgrade) && (o.proofChannel instanceof Uint8Array || typeof o.proofChannel === "string") && (o.proofUpgrade instanceof Uint8Array || typeof o.proofUpgrade === "string") && Height.is(o.proofHeight) && typeof o.signer === "string");
|
|
2598
|
-
},
|
|
2599
|
-
isAmino(o) {
|
|
2600
|
-
return o && (o.$typeUrl === MsgChannelUpgradeAck.typeUrl || typeof o.port_id === "string" && typeof o.channel_id === "string" && Upgrade.isAmino(o.counterparty_upgrade) && (o.proof_channel instanceof Uint8Array || typeof o.proof_channel === "string") && (o.proof_upgrade instanceof Uint8Array || typeof o.proof_upgrade === "string") && Height.isAmino(o.proof_height) && typeof o.signer === "string");
|
|
2601
|
-
},
|
|
2602
|
-
encode(message, writer = BinaryWriter.create()) {
|
|
2603
|
-
if (message.portId !== "") {
|
|
2604
|
-
writer.uint32(10).string(message.portId);
|
|
2605
|
-
}
|
|
2606
|
-
if (message.channelId !== "") {
|
|
2607
|
-
writer.uint32(18).string(message.channelId);
|
|
2608
|
-
}
|
|
2609
|
-
if (message.counterpartyUpgrade !== undefined) {
|
|
2610
|
-
Upgrade.encode(message.counterpartyUpgrade, writer.uint32(26).fork()).ldelim();
|
|
2611
|
-
}
|
|
2612
|
-
if (message.proofChannel.length !== 0) {
|
|
2613
|
-
writer.uint32(34).bytes(message.proofChannel);
|
|
2614
|
-
}
|
|
2615
|
-
if (message.proofUpgrade.length !== 0) {
|
|
2616
|
-
writer.uint32(42).bytes(message.proofUpgrade);
|
|
2617
|
-
}
|
|
2618
|
-
if (message.proofHeight !== undefined) {
|
|
2619
|
-
Height.encode(message.proofHeight, writer.uint32(50).fork()).ldelim();
|
|
2620
|
-
}
|
|
2621
|
-
if (message.signer !== "") {
|
|
2622
|
-
writer.uint32(58).string(message.signer);
|
|
2623
|
-
}
|
|
2624
|
-
return writer;
|
|
2625
|
-
},
|
|
2626
|
-
decode(input, length) {
|
|
2627
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
2628
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2629
|
-
const message = createBaseMsgChannelUpgradeAck();
|
|
2630
|
-
while (reader.pos < end) {
|
|
2631
|
-
const tag = reader.uint32();
|
|
2632
|
-
switch (tag >>> 3) {
|
|
2633
|
-
case 1:
|
|
2634
|
-
message.portId = reader.string();
|
|
2635
|
-
break;
|
|
2636
|
-
case 2:
|
|
2637
|
-
message.channelId = reader.string();
|
|
2638
|
-
break;
|
|
2639
|
-
case 3:
|
|
2640
|
-
message.counterpartyUpgrade = Upgrade.decode(reader, reader.uint32());
|
|
2641
|
-
break;
|
|
2642
|
-
case 4:
|
|
2643
|
-
message.proofChannel = reader.bytes();
|
|
2644
|
-
break;
|
|
2645
|
-
case 5:
|
|
2646
|
-
message.proofUpgrade = reader.bytes();
|
|
2647
|
-
break;
|
|
2648
|
-
case 6:
|
|
2649
|
-
message.proofHeight = Height.decode(reader, reader.uint32());
|
|
2650
|
-
break;
|
|
2651
|
-
case 7:
|
|
2652
|
-
message.signer = reader.string();
|
|
2653
|
-
break;
|
|
2654
|
-
default:
|
|
2655
|
-
reader.skipType(tag & 7);
|
|
2656
|
-
break;
|
|
2657
|
-
}
|
|
2658
|
-
}
|
|
2659
|
-
return message;
|
|
2660
|
-
},
|
|
2661
|
-
fromPartial(object) {
|
|
2662
|
-
const message = createBaseMsgChannelUpgradeAck();
|
|
2663
|
-
message.portId = object.portId ?? "";
|
|
2664
|
-
message.channelId = object.channelId ?? "";
|
|
2665
|
-
message.counterpartyUpgrade = object.counterpartyUpgrade !== undefined && object.counterpartyUpgrade !== null ? Upgrade.fromPartial(object.counterpartyUpgrade) : undefined;
|
|
2666
|
-
message.proofChannel = object.proofChannel ?? new Uint8Array();
|
|
2667
|
-
message.proofUpgrade = object.proofUpgrade ?? new Uint8Array();
|
|
2668
|
-
message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? Height.fromPartial(object.proofHeight) : undefined;
|
|
2669
|
-
message.signer = object.signer ?? "";
|
|
2670
|
-
return message;
|
|
2671
|
-
},
|
|
2672
|
-
fromAmino(object) {
|
|
2673
|
-
const message = createBaseMsgChannelUpgradeAck();
|
|
2674
|
-
if (object.port_id !== undefined && object.port_id !== null) {
|
|
2675
|
-
message.portId = object.port_id;
|
|
2676
|
-
}
|
|
2677
|
-
if (object.channel_id !== undefined && object.channel_id !== null) {
|
|
2678
|
-
message.channelId = object.channel_id;
|
|
2679
|
-
}
|
|
2680
|
-
if (object.counterparty_upgrade !== undefined && object.counterparty_upgrade !== null) {
|
|
2681
|
-
message.counterpartyUpgrade = Upgrade.fromAmino(object.counterparty_upgrade);
|
|
2682
|
-
}
|
|
2683
|
-
if (object.proof_channel !== undefined && object.proof_channel !== null) {
|
|
2684
|
-
message.proofChannel = bytesFromBase64(object.proof_channel);
|
|
2685
|
-
}
|
|
2686
|
-
if (object.proof_upgrade !== undefined && object.proof_upgrade !== null) {
|
|
2687
|
-
message.proofUpgrade = bytesFromBase64(object.proof_upgrade);
|
|
2688
|
-
}
|
|
2689
|
-
if (object.proof_height !== undefined && object.proof_height !== null) {
|
|
2690
|
-
message.proofHeight = Height.fromAmino(object.proof_height);
|
|
2691
|
-
}
|
|
2692
|
-
if (object.signer !== undefined && object.signer !== null) {
|
|
2693
|
-
message.signer = object.signer;
|
|
2694
|
-
}
|
|
2695
|
-
return message;
|
|
2696
|
-
},
|
|
2697
|
-
toAmino(message) {
|
|
2698
|
-
const obj = {};
|
|
2699
|
-
obj.port_id = message.portId === "" ? undefined : message.portId;
|
|
2700
|
-
obj.channel_id = message.channelId === "" ? undefined : message.channelId;
|
|
2701
|
-
obj.counterparty_upgrade = message.counterpartyUpgrade ? Upgrade.toAmino(message.counterpartyUpgrade) : undefined;
|
|
2702
|
-
obj.proof_channel = message.proofChannel ? base64FromBytes(message.proofChannel) : undefined;
|
|
2703
|
-
obj.proof_upgrade = message.proofUpgrade ? base64FromBytes(message.proofUpgrade) : undefined;
|
|
2704
|
-
obj.proof_height = message.proofHeight ? Height.toAmino(message.proofHeight) : {};
|
|
2705
|
-
obj.signer = message.signer === "" ? undefined : message.signer;
|
|
2706
|
-
return obj;
|
|
2707
|
-
},
|
|
2708
|
-
fromAminoMsg(object) {
|
|
2709
|
-
return MsgChannelUpgradeAck.fromAmino(object.value);
|
|
2710
|
-
},
|
|
2711
|
-
toAminoMsg(message) {
|
|
2712
|
-
return {
|
|
2713
|
-
type: "cosmos-sdk/MsgChannelUpgradeAck",
|
|
2714
|
-
value: MsgChannelUpgradeAck.toAmino(message)
|
|
2715
|
-
};
|
|
2716
|
-
},
|
|
2717
|
-
fromProtoMsg(message) {
|
|
2718
|
-
return MsgChannelUpgradeAck.decode(message.value);
|
|
2719
|
-
},
|
|
2720
|
-
toProto(message) {
|
|
2721
|
-
return MsgChannelUpgradeAck.encode(message).finish();
|
|
2722
|
-
},
|
|
2723
|
-
toProtoMsg(message) {
|
|
2724
|
-
return {
|
|
2725
|
-
typeUrl: "/ibc.core.channel.v1.MsgChannelUpgradeAck",
|
|
2726
|
-
value: MsgChannelUpgradeAck.encode(message).finish()
|
|
2727
|
-
};
|
|
2728
|
-
},
|
|
2729
|
-
registerTypeUrl() {
|
|
2730
|
-
Upgrade.registerTypeUrl();
|
|
2731
|
-
Height.registerTypeUrl();
|
|
2732
|
-
}
|
|
2733
|
-
};
|
|
2734
|
-
function createBaseMsgChannelUpgradeAckResponse() {
|
|
2735
|
-
return {
|
|
2736
|
-
result: 0
|
|
2737
|
-
};
|
|
2738
|
-
}
|
|
2739
|
-
export const MsgChannelUpgradeAckResponse = {
|
|
2740
|
-
typeUrl: "/ibc.core.channel.v1.MsgChannelUpgradeAckResponse",
|
|
2741
|
-
aminoType: "cosmos-sdk/MsgChannelUpgradeAckResponse",
|
|
2742
|
-
is(o) {
|
|
2743
|
-
return o && (o.$typeUrl === MsgChannelUpgradeAckResponse.typeUrl || isSet(o.result));
|
|
2744
|
-
},
|
|
2745
|
-
isAmino(o) {
|
|
2746
|
-
return o && (o.$typeUrl === MsgChannelUpgradeAckResponse.typeUrl || isSet(o.result));
|
|
2747
|
-
},
|
|
2748
|
-
encode(message, writer = BinaryWriter.create()) {
|
|
2749
|
-
if (message.result !== 0) {
|
|
2750
|
-
writer.uint32(8).int32(message.result);
|
|
2751
|
-
}
|
|
2752
|
-
return writer;
|
|
2753
|
-
},
|
|
2754
|
-
decode(input, length) {
|
|
2755
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
2756
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2757
|
-
const message = createBaseMsgChannelUpgradeAckResponse();
|
|
2758
|
-
while (reader.pos < end) {
|
|
2759
|
-
const tag = reader.uint32();
|
|
2760
|
-
switch (tag >>> 3) {
|
|
2761
|
-
case 1:
|
|
2762
|
-
message.result = reader.int32();
|
|
2763
|
-
break;
|
|
2764
|
-
default:
|
|
2765
|
-
reader.skipType(tag & 7);
|
|
2766
|
-
break;
|
|
2767
|
-
}
|
|
2768
|
-
}
|
|
2769
|
-
return message;
|
|
2770
|
-
},
|
|
2771
|
-
fromPartial(object) {
|
|
2772
|
-
const message = createBaseMsgChannelUpgradeAckResponse();
|
|
2773
|
-
message.result = object.result ?? 0;
|
|
2774
|
-
return message;
|
|
2775
|
-
},
|
|
2776
|
-
fromAmino(object) {
|
|
2777
|
-
const message = createBaseMsgChannelUpgradeAckResponse();
|
|
2778
|
-
if (object.result !== undefined && object.result !== null) {
|
|
2779
|
-
message.result = object.result;
|
|
2780
|
-
}
|
|
2781
|
-
return message;
|
|
2782
|
-
},
|
|
2783
|
-
toAmino(message) {
|
|
2784
|
-
const obj = {};
|
|
2785
|
-
obj.result = message.result === 0 ? undefined : message.result;
|
|
2786
|
-
return obj;
|
|
2787
|
-
},
|
|
2788
|
-
fromAminoMsg(object) {
|
|
2789
|
-
return MsgChannelUpgradeAckResponse.fromAmino(object.value);
|
|
2790
|
-
},
|
|
2791
|
-
toAminoMsg(message) {
|
|
2792
|
-
return {
|
|
2793
|
-
type: "cosmos-sdk/MsgChannelUpgradeAckResponse",
|
|
2794
|
-
value: MsgChannelUpgradeAckResponse.toAmino(message)
|
|
2795
|
-
};
|
|
2796
|
-
},
|
|
2797
|
-
fromProtoMsg(message) {
|
|
2798
|
-
return MsgChannelUpgradeAckResponse.decode(message.value);
|
|
2799
|
-
},
|
|
2800
|
-
toProto(message) {
|
|
2801
|
-
return MsgChannelUpgradeAckResponse.encode(message).finish();
|
|
2802
|
-
},
|
|
2803
|
-
toProtoMsg(message) {
|
|
2804
|
-
return {
|
|
2805
|
-
typeUrl: "/ibc.core.channel.v1.MsgChannelUpgradeAckResponse",
|
|
2806
|
-
value: MsgChannelUpgradeAckResponse.encode(message).finish()
|
|
2807
|
-
};
|
|
2808
|
-
},
|
|
2809
|
-
registerTypeUrl() { }
|
|
2810
|
-
};
|
|
2811
|
-
function createBaseMsgChannelUpgradeConfirm() {
|
|
2812
|
-
return {
|
|
2813
|
-
portId: "",
|
|
2814
|
-
channelId: "",
|
|
2815
|
-
counterpartyChannelState: 0,
|
|
2816
|
-
counterpartyUpgrade: Upgrade.fromPartial({}),
|
|
2817
|
-
proofChannel: new Uint8Array(),
|
|
2818
|
-
proofUpgrade: new Uint8Array(),
|
|
2819
|
-
proofHeight: Height.fromPartial({}),
|
|
2820
|
-
signer: ""
|
|
2821
|
-
};
|
|
2822
|
-
}
|
|
2823
|
-
export const MsgChannelUpgradeConfirm = {
|
|
2824
|
-
typeUrl: "/ibc.core.channel.v1.MsgChannelUpgradeConfirm",
|
|
2825
|
-
aminoType: "cosmos-sdk/MsgChannelUpgradeConfirm",
|
|
2826
|
-
is(o) {
|
|
2827
|
-
return o && (o.$typeUrl === MsgChannelUpgradeConfirm.typeUrl || typeof o.portId === "string" && typeof o.channelId === "string" && isSet(o.counterpartyChannelState) && Upgrade.is(o.counterpartyUpgrade) && (o.proofChannel instanceof Uint8Array || typeof o.proofChannel === "string") && (o.proofUpgrade instanceof Uint8Array || typeof o.proofUpgrade === "string") && Height.is(o.proofHeight) && typeof o.signer === "string");
|
|
2828
|
-
},
|
|
2829
|
-
isAmino(o) {
|
|
2830
|
-
return o && (o.$typeUrl === MsgChannelUpgradeConfirm.typeUrl || typeof o.port_id === "string" && typeof o.channel_id === "string" && isSet(o.counterparty_channel_state) && Upgrade.isAmino(o.counterparty_upgrade) && (o.proof_channel instanceof Uint8Array || typeof o.proof_channel === "string") && (o.proof_upgrade instanceof Uint8Array || typeof o.proof_upgrade === "string") && Height.isAmino(o.proof_height) && typeof o.signer === "string");
|
|
2831
|
-
},
|
|
2832
|
-
encode(message, writer = BinaryWriter.create()) {
|
|
2833
|
-
if (message.portId !== "") {
|
|
2834
|
-
writer.uint32(10).string(message.portId);
|
|
2835
|
-
}
|
|
2836
|
-
if (message.channelId !== "") {
|
|
2837
|
-
writer.uint32(18).string(message.channelId);
|
|
2838
|
-
}
|
|
2839
|
-
if (message.counterpartyChannelState !== 0) {
|
|
2840
|
-
writer.uint32(24).int32(message.counterpartyChannelState);
|
|
2841
|
-
}
|
|
2842
|
-
if (message.counterpartyUpgrade !== undefined) {
|
|
2843
|
-
Upgrade.encode(message.counterpartyUpgrade, writer.uint32(34).fork()).ldelim();
|
|
2844
|
-
}
|
|
2845
|
-
if (message.proofChannel.length !== 0) {
|
|
2846
|
-
writer.uint32(42).bytes(message.proofChannel);
|
|
2847
|
-
}
|
|
2848
|
-
if (message.proofUpgrade.length !== 0) {
|
|
2849
|
-
writer.uint32(50).bytes(message.proofUpgrade);
|
|
2850
|
-
}
|
|
2851
|
-
if (message.proofHeight !== undefined) {
|
|
2852
|
-
Height.encode(message.proofHeight, writer.uint32(58).fork()).ldelim();
|
|
2853
|
-
}
|
|
2854
|
-
if (message.signer !== "") {
|
|
2855
|
-
writer.uint32(66).string(message.signer);
|
|
2856
|
-
}
|
|
2857
|
-
return writer;
|
|
2858
|
-
},
|
|
2859
|
-
decode(input, length) {
|
|
2860
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
2861
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2862
|
-
const message = createBaseMsgChannelUpgradeConfirm();
|
|
2863
|
-
while (reader.pos < end) {
|
|
2864
|
-
const tag = reader.uint32();
|
|
2865
|
-
switch (tag >>> 3) {
|
|
2866
|
-
case 1:
|
|
2867
|
-
message.portId = reader.string();
|
|
2868
|
-
break;
|
|
2869
|
-
case 2:
|
|
2870
|
-
message.channelId = reader.string();
|
|
2871
|
-
break;
|
|
2872
|
-
case 3:
|
|
2873
|
-
message.counterpartyChannelState = reader.int32();
|
|
2874
|
-
break;
|
|
2875
|
-
case 4:
|
|
2876
|
-
message.counterpartyUpgrade = Upgrade.decode(reader, reader.uint32());
|
|
2877
|
-
break;
|
|
2878
|
-
case 5:
|
|
2879
|
-
message.proofChannel = reader.bytes();
|
|
2880
|
-
break;
|
|
2881
|
-
case 6:
|
|
2882
|
-
message.proofUpgrade = reader.bytes();
|
|
2883
|
-
break;
|
|
2884
|
-
case 7:
|
|
2885
|
-
message.proofHeight = Height.decode(reader, reader.uint32());
|
|
2886
|
-
break;
|
|
2887
|
-
case 8:
|
|
2888
|
-
message.signer = reader.string();
|
|
2889
|
-
break;
|
|
2890
|
-
default:
|
|
2891
|
-
reader.skipType(tag & 7);
|
|
2892
|
-
break;
|
|
2893
|
-
}
|
|
2894
|
-
}
|
|
2895
|
-
return message;
|
|
2896
|
-
},
|
|
2897
|
-
fromPartial(object) {
|
|
2898
|
-
const message = createBaseMsgChannelUpgradeConfirm();
|
|
2899
|
-
message.portId = object.portId ?? "";
|
|
2900
|
-
message.channelId = object.channelId ?? "";
|
|
2901
|
-
message.counterpartyChannelState = object.counterpartyChannelState ?? 0;
|
|
2902
|
-
message.counterpartyUpgrade = object.counterpartyUpgrade !== undefined && object.counterpartyUpgrade !== null ? Upgrade.fromPartial(object.counterpartyUpgrade) : undefined;
|
|
2903
|
-
message.proofChannel = object.proofChannel ?? new Uint8Array();
|
|
2904
|
-
message.proofUpgrade = object.proofUpgrade ?? new Uint8Array();
|
|
2905
|
-
message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? Height.fromPartial(object.proofHeight) : undefined;
|
|
2906
|
-
message.signer = object.signer ?? "";
|
|
2907
|
-
return message;
|
|
2908
|
-
},
|
|
2909
|
-
fromAmino(object) {
|
|
2910
|
-
const message = createBaseMsgChannelUpgradeConfirm();
|
|
2911
|
-
if (object.port_id !== undefined && object.port_id !== null) {
|
|
2912
|
-
message.portId = object.port_id;
|
|
2913
|
-
}
|
|
2914
|
-
if (object.channel_id !== undefined && object.channel_id !== null) {
|
|
2915
|
-
message.channelId = object.channel_id;
|
|
2916
|
-
}
|
|
2917
|
-
if (object.counterparty_channel_state !== undefined && object.counterparty_channel_state !== null) {
|
|
2918
|
-
message.counterpartyChannelState = object.counterparty_channel_state;
|
|
2919
|
-
}
|
|
2920
|
-
if (object.counterparty_upgrade !== undefined && object.counterparty_upgrade !== null) {
|
|
2921
|
-
message.counterpartyUpgrade = Upgrade.fromAmino(object.counterparty_upgrade);
|
|
2922
|
-
}
|
|
2923
|
-
if (object.proof_channel !== undefined && object.proof_channel !== null) {
|
|
2924
|
-
message.proofChannel = bytesFromBase64(object.proof_channel);
|
|
2925
|
-
}
|
|
2926
|
-
if (object.proof_upgrade !== undefined && object.proof_upgrade !== null) {
|
|
2927
|
-
message.proofUpgrade = bytesFromBase64(object.proof_upgrade);
|
|
2928
|
-
}
|
|
2929
|
-
if (object.proof_height !== undefined && object.proof_height !== null) {
|
|
2930
|
-
message.proofHeight = Height.fromAmino(object.proof_height);
|
|
2931
|
-
}
|
|
2932
|
-
if (object.signer !== undefined && object.signer !== null) {
|
|
2933
|
-
message.signer = object.signer;
|
|
2934
|
-
}
|
|
2935
|
-
return message;
|
|
2936
|
-
},
|
|
2937
|
-
toAmino(message) {
|
|
2938
|
-
const obj = {};
|
|
2939
|
-
obj.port_id = message.portId === "" ? undefined : message.portId;
|
|
2940
|
-
obj.channel_id = message.channelId === "" ? undefined : message.channelId;
|
|
2941
|
-
obj.counterparty_channel_state = message.counterpartyChannelState === 0 ? undefined : message.counterpartyChannelState;
|
|
2942
|
-
obj.counterparty_upgrade = message.counterpartyUpgrade ? Upgrade.toAmino(message.counterpartyUpgrade) : undefined;
|
|
2943
|
-
obj.proof_channel = message.proofChannel ? base64FromBytes(message.proofChannel) : undefined;
|
|
2944
|
-
obj.proof_upgrade = message.proofUpgrade ? base64FromBytes(message.proofUpgrade) : undefined;
|
|
2945
|
-
obj.proof_height = message.proofHeight ? Height.toAmino(message.proofHeight) : {};
|
|
2946
|
-
obj.signer = message.signer === "" ? undefined : message.signer;
|
|
2947
|
-
return obj;
|
|
2948
|
-
},
|
|
2949
|
-
fromAminoMsg(object) {
|
|
2950
|
-
return MsgChannelUpgradeConfirm.fromAmino(object.value);
|
|
2951
|
-
},
|
|
2952
|
-
toAminoMsg(message) {
|
|
2953
|
-
return {
|
|
2954
|
-
type: "cosmos-sdk/MsgChannelUpgradeConfirm",
|
|
2955
|
-
value: MsgChannelUpgradeConfirm.toAmino(message)
|
|
2956
|
-
};
|
|
2957
|
-
},
|
|
2958
|
-
fromProtoMsg(message) {
|
|
2959
|
-
return MsgChannelUpgradeConfirm.decode(message.value);
|
|
2960
|
-
},
|
|
2961
|
-
toProto(message) {
|
|
2962
|
-
return MsgChannelUpgradeConfirm.encode(message).finish();
|
|
2963
|
-
},
|
|
2964
|
-
toProtoMsg(message) {
|
|
2965
|
-
return {
|
|
2966
|
-
typeUrl: "/ibc.core.channel.v1.MsgChannelUpgradeConfirm",
|
|
2967
|
-
value: MsgChannelUpgradeConfirm.encode(message).finish()
|
|
2968
|
-
};
|
|
2969
|
-
},
|
|
2970
|
-
registerTypeUrl() {
|
|
2971
|
-
Upgrade.registerTypeUrl();
|
|
2972
|
-
Height.registerTypeUrl();
|
|
2973
|
-
}
|
|
2974
|
-
};
|
|
2975
|
-
function createBaseMsgChannelUpgradeConfirmResponse() {
|
|
2976
|
-
return {
|
|
2977
|
-
result: 0
|
|
2978
|
-
};
|
|
2979
|
-
}
|
|
2980
|
-
export const MsgChannelUpgradeConfirmResponse = {
|
|
2981
|
-
typeUrl: "/ibc.core.channel.v1.MsgChannelUpgradeConfirmResponse",
|
|
2982
|
-
aminoType: "cosmos-sdk/MsgChannelUpgradeConfirmResponse",
|
|
2983
|
-
is(o) {
|
|
2984
|
-
return o && (o.$typeUrl === MsgChannelUpgradeConfirmResponse.typeUrl || isSet(o.result));
|
|
2985
|
-
},
|
|
2986
|
-
isAmino(o) {
|
|
2987
|
-
return o && (o.$typeUrl === MsgChannelUpgradeConfirmResponse.typeUrl || isSet(o.result));
|
|
2988
|
-
},
|
|
2989
|
-
encode(message, writer = BinaryWriter.create()) {
|
|
2990
|
-
if (message.result !== 0) {
|
|
2991
|
-
writer.uint32(8).int32(message.result);
|
|
2992
|
-
}
|
|
2993
|
-
return writer;
|
|
2994
|
-
},
|
|
2995
|
-
decode(input, length) {
|
|
2996
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
2997
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2998
|
-
const message = createBaseMsgChannelUpgradeConfirmResponse();
|
|
2999
|
-
while (reader.pos < end) {
|
|
3000
|
-
const tag = reader.uint32();
|
|
3001
|
-
switch (tag >>> 3) {
|
|
3002
|
-
case 1:
|
|
3003
|
-
message.result = reader.int32();
|
|
3004
|
-
break;
|
|
3005
|
-
default:
|
|
3006
|
-
reader.skipType(tag & 7);
|
|
3007
|
-
break;
|
|
3008
|
-
}
|
|
3009
|
-
}
|
|
3010
|
-
return message;
|
|
3011
|
-
},
|
|
3012
|
-
fromPartial(object) {
|
|
3013
|
-
const message = createBaseMsgChannelUpgradeConfirmResponse();
|
|
3014
|
-
message.result = object.result ?? 0;
|
|
3015
|
-
return message;
|
|
3016
|
-
},
|
|
3017
|
-
fromAmino(object) {
|
|
3018
|
-
const message = createBaseMsgChannelUpgradeConfirmResponse();
|
|
3019
|
-
if (object.result !== undefined && object.result !== null) {
|
|
3020
|
-
message.result = object.result;
|
|
3021
|
-
}
|
|
3022
|
-
return message;
|
|
3023
|
-
},
|
|
3024
|
-
toAmino(message) {
|
|
3025
|
-
const obj = {};
|
|
3026
|
-
obj.result = message.result === 0 ? undefined : message.result;
|
|
3027
|
-
return obj;
|
|
3028
|
-
},
|
|
3029
|
-
fromAminoMsg(object) {
|
|
3030
|
-
return MsgChannelUpgradeConfirmResponse.fromAmino(object.value);
|
|
3031
|
-
},
|
|
3032
|
-
toAminoMsg(message) {
|
|
3033
|
-
return {
|
|
3034
|
-
type: "cosmos-sdk/MsgChannelUpgradeConfirmResponse",
|
|
3035
|
-
value: MsgChannelUpgradeConfirmResponse.toAmino(message)
|
|
3036
|
-
};
|
|
3037
|
-
},
|
|
3038
|
-
fromProtoMsg(message) {
|
|
3039
|
-
return MsgChannelUpgradeConfirmResponse.decode(message.value);
|
|
3040
|
-
},
|
|
3041
|
-
toProto(message) {
|
|
3042
|
-
return MsgChannelUpgradeConfirmResponse.encode(message).finish();
|
|
3043
|
-
},
|
|
3044
|
-
toProtoMsg(message) {
|
|
3045
|
-
return {
|
|
3046
|
-
typeUrl: "/ibc.core.channel.v1.MsgChannelUpgradeConfirmResponse",
|
|
3047
|
-
value: MsgChannelUpgradeConfirmResponse.encode(message).finish()
|
|
3048
|
-
};
|
|
3049
|
-
},
|
|
3050
|
-
registerTypeUrl() { }
|
|
3051
|
-
};
|
|
3052
|
-
function createBaseMsgChannelUpgradeOpen() {
|
|
3053
|
-
return {
|
|
3054
|
-
portId: "",
|
|
3055
|
-
channelId: "",
|
|
3056
|
-
counterpartyChannelState: 0,
|
|
3057
|
-
counterpartyUpgradeSequence: BigInt(0),
|
|
3058
|
-
proofChannel: new Uint8Array(),
|
|
3059
|
-
proofHeight: Height.fromPartial({}),
|
|
3060
|
-
signer: ""
|
|
3061
|
-
};
|
|
3062
|
-
}
|
|
3063
|
-
export const MsgChannelUpgradeOpen = {
|
|
3064
|
-
typeUrl: "/ibc.core.channel.v1.MsgChannelUpgradeOpen",
|
|
3065
|
-
aminoType: "cosmos-sdk/MsgChannelUpgradeOpen",
|
|
3066
|
-
is(o) {
|
|
3067
|
-
return o && (o.$typeUrl === MsgChannelUpgradeOpen.typeUrl || typeof o.portId === "string" && typeof o.channelId === "string" && isSet(o.counterpartyChannelState) && typeof o.counterpartyUpgradeSequence === "bigint" && (o.proofChannel instanceof Uint8Array || typeof o.proofChannel === "string") && Height.is(o.proofHeight) && typeof o.signer === "string");
|
|
3068
|
-
},
|
|
3069
|
-
isAmino(o) {
|
|
3070
|
-
return o && (o.$typeUrl === MsgChannelUpgradeOpen.typeUrl || typeof o.port_id === "string" && typeof o.channel_id === "string" && isSet(o.counterparty_channel_state) && typeof o.counterparty_upgrade_sequence === "bigint" && (o.proof_channel instanceof Uint8Array || typeof o.proof_channel === "string") && Height.isAmino(o.proof_height) && typeof o.signer === "string");
|
|
3071
|
-
},
|
|
3072
|
-
encode(message, writer = BinaryWriter.create()) {
|
|
3073
|
-
if (message.portId !== "") {
|
|
3074
|
-
writer.uint32(10).string(message.portId);
|
|
3075
|
-
}
|
|
3076
|
-
if (message.channelId !== "") {
|
|
3077
|
-
writer.uint32(18).string(message.channelId);
|
|
3078
|
-
}
|
|
3079
|
-
if (message.counterpartyChannelState !== 0) {
|
|
3080
|
-
writer.uint32(24).int32(message.counterpartyChannelState);
|
|
3081
|
-
}
|
|
3082
|
-
if (message.counterpartyUpgradeSequence !== BigInt(0)) {
|
|
3083
|
-
writer.uint32(32).uint64(message.counterpartyUpgradeSequence);
|
|
3084
|
-
}
|
|
3085
|
-
if (message.proofChannel.length !== 0) {
|
|
3086
|
-
writer.uint32(42).bytes(message.proofChannel);
|
|
3087
|
-
}
|
|
3088
|
-
if (message.proofHeight !== undefined) {
|
|
3089
|
-
Height.encode(message.proofHeight, writer.uint32(50).fork()).ldelim();
|
|
3090
|
-
}
|
|
3091
|
-
if (message.signer !== "") {
|
|
3092
|
-
writer.uint32(58).string(message.signer);
|
|
3093
|
-
}
|
|
3094
|
-
return writer;
|
|
3095
|
-
},
|
|
3096
|
-
decode(input, length) {
|
|
3097
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
3098
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
3099
|
-
const message = createBaseMsgChannelUpgradeOpen();
|
|
3100
|
-
while (reader.pos < end) {
|
|
3101
|
-
const tag = reader.uint32();
|
|
3102
|
-
switch (tag >>> 3) {
|
|
3103
|
-
case 1:
|
|
3104
|
-
message.portId = reader.string();
|
|
3105
|
-
break;
|
|
3106
|
-
case 2:
|
|
3107
|
-
message.channelId = reader.string();
|
|
3108
|
-
break;
|
|
3109
|
-
case 3:
|
|
3110
|
-
message.counterpartyChannelState = reader.int32();
|
|
3111
|
-
break;
|
|
3112
|
-
case 4:
|
|
3113
|
-
message.counterpartyUpgradeSequence = reader.uint64();
|
|
3114
|
-
break;
|
|
3115
|
-
case 5:
|
|
3116
|
-
message.proofChannel = reader.bytes();
|
|
3117
|
-
break;
|
|
3118
|
-
case 6:
|
|
3119
|
-
message.proofHeight = Height.decode(reader, reader.uint32());
|
|
3120
|
-
break;
|
|
3121
|
-
case 7:
|
|
3122
|
-
message.signer = reader.string();
|
|
3123
|
-
break;
|
|
3124
|
-
default:
|
|
3125
|
-
reader.skipType(tag & 7);
|
|
3126
|
-
break;
|
|
3127
|
-
}
|
|
3128
|
-
}
|
|
3129
|
-
return message;
|
|
3130
|
-
},
|
|
3131
|
-
fromPartial(object) {
|
|
3132
|
-
const message = createBaseMsgChannelUpgradeOpen();
|
|
3133
|
-
message.portId = object.portId ?? "";
|
|
3134
|
-
message.channelId = object.channelId ?? "";
|
|
3135
|
-
message.counterpartyChannelState = object.counterpartyChannelState ?? 0;
|
|
3136
|
-
message.counterpartyUpgradeSequence = object.counterpartyUpgradeSequence !== undefined && object.counterpartyUpgradeSequence !== null ? BigInt(object.counterpartyUpgradeSequence.toString()) : BigInt(0);
|
|
3137
|
-
message.proofChannel = object.proofChannel ?? new Uint8Array();
|
|
3138
|
-
message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? Height.fromPartial(object.proofHeight) : undefined;
|
|
3139
|
-
message.signer = object.signer ?? "";
|
|
3140
|
-
return message;
|
|
3141
|
-
},
|
|
3142
|
-
fromAmino(object) {
|
|
3143
|
-
const message = createBaseMsgChannelUpgradeOpen();
|
|
3144
|
-
if (object.port_id !== undefined && object.port_id !== null) {
|
|
3145
|
-
message.portId = object.port_id;
|
|
3146
|
-
}
|
|
3147
|
-
if (object.channel_id !== undefined && object.channel_id !== null) {
|
|
3148
|
-
message.channelId = object.channel_id;
|
|
3149
|
-
}
|
|
3150
|
-
if (object.counterparty_channel_state !== undefined && object.counterparty_channel_state !== null) {
|
|
3151
|
-
message.counterpartyChannelState = object.counterparty_channel_state;
|
|
3152
|
-
}
|
|
3153
|
-
if (object.counterparty_upgrade_sequence !== undefined && object.counterparty_upgrade_sequence !== null) {
|
|
3154
|
-
message.counterpartyUpgradeSequence = BigInt(object.counterparty_upgrade_sequence);
|
|
3155
|
-
}
|
|
3156
|
-
if (object.proof_channel !== undefined && object.proof_channel !== null) {
|
|
3157
|
-
message.proofChannel = bytesFromBase64(object.proof_channel);
|
|
3158
|
-
}
|
|
3159
|
-
if (object.proof_height !== undefined && object.proof_height !== null) {
|
|
3160
|
-
message.proofHeight = Height.fromAmino(object.proof_height);
|
|
3161
|
-
}
|
|
3162
|
-
if (object.signer !== undefined && object.signer !== null) {
|
|
3163
|
-
message.signer = object.signer;
|
|
3164
|
-
}
|
|
3165
|
-
return message;
|
|
3166
|
-
},
|
|
3167
|
-
toAmino(message) {
|
|
3168
|
-
const obj = {};
|
|
3169
|
-
obj.port_id = message.portId === "" ? undefined : message.portId;
|
|
3170
|
-
obj.channel_id = message.channelId === "" ? undefined : message.channelId;
|
|
3171
|
-
obj.counterparty_channel_state = message.counterpartyChannelState === 0 ? undefined : message.counterpartyChannelState;
|
|
3172
|
-
obj.counterparty_upgrade_sequence = message.counterpartyUpgradeSequence !== BigInt(0) ? message.counterpartyUpgradeSequence?.toString() : undefined;
|
|
3173
|
-
obj.proof_channel = message.proofChannel ? base64FromBytes(message.proofChannel) : undefined;
|
|
3174
|
-
obj.proof_height = message.proofHeight ? Height.toAmino(message.proofHeight) : {};
|
|
3175
|
-
obj.signer = message.signer === "" ? undefined : message.signer;
|
|
3176
|
-
return obj;
|
|
3177
|
-
},
|
|
3178
|
-
fromAminoMsg(object) {
|
|
3179
|
-
return MsgChannelUpgradeOpen.fromAmino(object.value);
|
|
3180
|
-
},
|
|
3181
|
-
toAminoMsg(message) {
|
|
3182
|
-
return {
|
|
3183
|
-
type: "cosmos-sdk/MsgChannelUpgradeOpen",
|
|
3184
|
-
value: MsgChannelUpgradeOpen.toAmino(message)
|
|
3185
|
-
};
|
|
3186
|
-
},
|
|
3187
|
-
fromProtoMsg(message) {
|
|
3188
|
-
return MsgChannelUpgradeOpen.decode(message.value);
|
|
3189
|
-
},
|
|
3190
|
-
toProto(message) {
|
|
3191
|
-
return MsgChannelUpgradeOpen.encode(message).finish();
|
|
3192
|
-
},
|
|
3193
|
-
toProtoMsg(message) {
|
|
3194
|
-
return {
|
|
3195
|
-
typeUrl: "/ibc.core.channel.v1.MsgChannelUpgradeOpen",
|
|
3196
|
-
value: MsgChannelUpgradeOpen.encode(message).finish()
|
|
3197
|
-
};
|
|
3198
|
-
},
|
|
3199
|
-
registerTypeUrl() {
|
|
3200
|
-
Height.registerTypeUrl();
|
|
3201
|
-
}
|
|
3202
|
-
};
|
|
3203
|
-
function createBaseMsgChannelUpgradeOpenResponse() {
|
|
3204
|
-
return {};
|
|
3205
|
-
}
|
|
3206
|
-
export const MsgChannelUpgradeOpenResponse = {
|
|
3207
|
-
typeUrl: "/ibc.core.channel.v1.MsgChannelUpgradeOpenResponse",
|
|
3208
|
-
aminoType: "cosmos-sdk/MsgChannelUpgradeOpenResponse",
|
|
3209
|
-
is(o) {
|
|
3210
|
-
return o && o.$typeUrl === MsgChannelUpgradeOpenResponse.typeUrl;
|
|
3211
|
-
},
|
|
3212
|
-
isAmino(o) {
|
|
3213
|
-
return o && o.$typeUrl === MsgChannelUpgradeOpenResponse.typeUrl;
|
|
3214
|
-
},
|
|
3215
|
-
encode(_, writer = BinaryWriter.create()) {
|
|
3216
|
-
return writer;
|
|
3217
|
-
},
|
|
3218
|
-
decode(input, length) {
|
|
3219
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
3220
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
3221
|
-
const message = createBaseMsgChannelUpgradeOpenResponse();
|
|
3222
|
-
while (reader.pos < end) {
|
|
3223
|
-
const tag = reader.uint32();
|
|
3224
|
-
switch (tag >>> 3) {
|
|
3225
|
-
default:
|
|
3226
|
-
reader.skipType(tag & 7);
|
|
3227
|
-
break;
|
|
3228
|
-
}
|
|
3229
|
-
}
|
|
3230
|
-
return message;
|
|
3231
|
-
},
|
|
3232
|
-
fromPartial(_) {
|
|
3233
|
-
const message = createBaseMsgChannelUpgradeOpenResponse();
|
|
3234
|
-
return message;
|
|
3235
|
-
},
|
|
3236
|
-
fromAmino(_) {
|
|
3237
|
-
const message = createBaseMsgChannelUpgradeOpenResponse();
|
|
3238
|
-
return message;
|
|
3239
|
-
},
|
|
3240
|
-
toAmino(_) {
|
|
3241
|
-
const obj = {};
|
|
3242
|
-
return obj;
|
|
3243
|
-
},
|
|
3244
|
-
fromAminoMsg(object) {
|
|
3245
|
-
return MsgChannelUpgradeOpenResponse.fromAmino(object.value);
|
|
3246
|
-
},
|
|
3247
|
-
toAminoMsg(message) {
|
|
3248
|
-
return {
|
|
3249
|
-
type: "cosmos-sdk/MsgChannelUpgradeOpenResponse",
|
|
3250
|
-
value: MsgChannelUpgradeOpenResponse.toAmino(message)
|
|
3251
|
-
};
|
|
3252
|
-
},
|
|
3253
|
-
fromProtoMsg(message) {
|
|
3254
|
-
return MsgChannelUpgradeOpenResponse.decode(message.value);
|
|
3255
|
-
},
|
|
3256
|
-
toProto(message) {
|
|
3257
|
-
return MsgChannelUpgradeOpenResponse.encode(message).finish();
|
|
3258
|
-
},
|
|
3259
|
-
toProtoMsg(message) {
|
|
3260
|
-
return {
|
|
3261
|
-
typeUrl: "/ibc.core.channel.v1.MsgChannelUpgradeOpenResponse",
|
|
3262
|
-
value: MsgChannelUpgradeOpenResponse.encode(message).finish()
|
|
3263
|
-
};
|
|
3264
|
-
},
|
|
3265
|
-
registerTypeUrl() { }
|
|
3266
|
-
};
|
|
3267
|
-
function createBaseMsgChannelUpgradeTimeout() {
|
|
3268
|
-
return {
|
|
3269
|
-
portId: "",
|
|
3270
|
-
channelId: "",
|
|
3271
|
-
counterpartyChannel: Channel.fromPartial({}),
|
|
3272
|
-
proofChannel: new Uint8Array(),
|
|
3273
|
-
proofHeight: Height.fromPartial({}),
|
|
3274
|
-
signer: ""
|
|
3275
|
-
};
|
|
3276
|
-
}
|
|
3277
|
-
export const MsgChannelUpgradeTimeout = {
|
|
3278
|
-
typeUrl: "/ibc.core.channel.v1.MsgChannelUpgradeTimeout",
|
|
3279
|
-
aminoType: "cosmos-sdk/MsgChannelUpgradeTimeout",
|
|
3280
|
-
is(o) {
|
|
3281
|
-
return o && (o.$typeUrl === MsgChannelUpgradeTimeout.typeUrl || typeof o.portId === "string" && typeof o.channelId === "string" && Channel.is(o.counterpartyChannel) && (o.proofChannel instanceof Uint8Array || typeof o.proofChannel === "string") && Height.is(o.proofHeight) && typeof o.signer === "string");
|
|
3282
|
-
},
|
|
3283
|
-
isAmino(o) {
|
|
3284
|
-
return o && (o.$typeUrl === MsgChannelUpgradeTimeout.typeUrl || typeof o.port_id === "string" && typeof o.channel_id === "string" && Channel.isAmino(o.counterparty_channel) && (o.proof_channel instanceof Uint8Array || typeof o.proof_channel === "string") && Height.isAmino(o.proof_height) && typeof o.signer === "string");
|
|
3285
|
-
},
|
|
3286
|
-
encode(message, writer = BinaryWriter.create()) {
|
|
3287
|
-
if (message.portId !== "") {
|
|
3288
|
-
writer.uint32(10).string(message.portId);
|
|
3289
|
-
}
|
|
3290
|
-
if (message.channelId !== "") {
|
|
3291
|
-
writer.uint32(18).string(message.channelId);
|
|
3292
|
-
}
|
|
3293
|
-
if (message.counterpartyChannel !== undefined) {
|
|
3294
|
-
Channel.encode(message.counterpartyChannel, writer.uint32(26).fork()).ldelim();
|
|
3295
|
-
}
|
|
3296
|
-
if (message.proofChannel.length !== 0) {
|
|
3297
|
-
writer.uint32(34).bytes(message.proofChannel);
|
|
3298
|
-
}
|
|
3299
|
-
if (message.proofHeight !== undefined) {
|
|
3300
|
-
Height.encode(message.proofHeight, writer.uint32(42).fork()).ldelim();
|
|
3301
|
-
}
|
|
3302
|
-
if (message.signer !== "") {
|
|
3303
|
-
writer.uint32(50).string(message.signer);
|
|
3304
|
-
}
|
|
3305
|
-
return writer;
|
|
3306
|
-
},
|
|
3307
|
-
decode(input, length) {
|
|
3308
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
3309
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
3310
|
-
const message = createBaseMsgChannelUpgradeTimeout();
|
|
3311
|
-
while (reader.pos < end) {
|
|
3312
|
-
const tag = reader.uint32();
|
|
3313
|
-
switch (tag >>> 3) {
|
|
3314
|
-
case 1:
|
|
3315
|
-
message.portId = reader.string();
|
|
3316
|
-
break;
|
|
3317
|
-
case 2:
|
|
3318
|
-
message.channelId = reader.string();
|
|
3319
|
-
break;
|
|
3320
|
-
case 3:
|
|
3321
|
-
message.counterpartyChannel = Channel.decode(reader, reader.uint32());
|
|
3322
|
-
break;
|
|
3323
|
-
case 4:
|
|
3324
|
-
message.proofChannel = reader.bytes();
|
|
3325
|
-
break;
|
|
3326
|
-
case 5:
|
|
3327
|
-
message.proofHeight = Height.decode(reader, reader.uint32());
|
|
3328
|
-
break;
|
|
3329
|
-
case 6:
|
|
3330
|
-
message.signer = reader.string();
|
|
3331
|
-
break;
|
|
3332
|
-
default:
|
|
3333
|
-
reader.skipType(tag & 7);
|
|
3334
|
-
break;
|
|
3335
|
-
}
|
|
3336
|
-
}
|
|
3337
|
-
return message;
|
|
3338
|
-
},
|
|
3339
|
-
fromPartial(object) {
|
|
3340
|
-
const message = createBaseMsgChannelUpgradeTimeout();
|
|
3341
|
-
message.portId = object.portId ?? "";
|
|
3342
|
-
message.channelId = object.channelId ?? "";
|
|
3343
|
-
message.counterpartyChannel = object.counterpartyChannel !== undefined && object.counterpartyChannel !== null ? Channel.fromPartial(object.counterpartyChannel) : undefined;
|
|
3344
|
-
message.proofChannel = object.proofChannel ?? new Uint8Array();
|
|
3345
|
-
message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? Height.fromPartial(object.proofHeight) : undefined;
|
|
3346
|
-
message.signer = object.signer ?? "";
|
|
3347
|
-
return message;
|
|
3348
|
-
},
|
|
3349
|
-
fromAmino(object) {
|
|
3350
|
-
const message = createBaseMsgChannelUpgradeTimeout();
|
|
3351
|
-
if (object.port_id !== undefined && object.port_id !== null) {
|
|
3352
|
-
message.portId = object.port_id;
|
|
3353
|
-
}
|
|
3354
|
-
if (object.channel_id !== undefined && object.channel_id !== null) {
|
|
3355
|
-
message.channelId = object.channel_id;
|
|
3356
|
-
}
|
|
3357
|
-
if (object.counterparty_channel !== undefined && object.counterparty_channel !== null) {
|
|
3358
|
-
message.counterpartyChannel = Channel.fromAmino(object.counterparty_channel);
|
|
3359
|
-
}
|
|
3360
|
-
if (object.proof_channel !== undefined && object.proof_channel !== null) {
|
|
3361
|
-
message.proofChannel = bytesFromBase64(object.proof_channel);
|
|
3362
|
-
}
|
|
3363
|
-
if (object.proof_height !== undefined && object.proof_height !== null) {
|
|
3364
|
-
message.proofHeight = Height.fromAmino(object.proof_height);
|
|
3365
|
-
}
|
|
3366
|
-
if (object.signer !== undefined && object.signer !== null) {
|
|
3367
|
-
message.signer = object.signer;
|
|
3368
|
-
}
|
|
3369
|
-
return message;
|
|
3370
|
-
},
|
|
3371
|
-
toAmino(message) {
|
|
3372
|
-
const obj = {};
|
|
3373
|
-
obj.port_id = message.portId === "" ? undefined : message.portId;
|
|
3374
|
-
obj.channel_id = message.channelId === "" ? undefined : message.channelId;
|
|
3375
|
-
obj.counterparty_channel = message.counterpartyChannel ? Channel.toAmino(message.counterpartyChannel) : undefined;
|
|
3376
|
-
obj.proof_channel = message.proofChannel ? base64FromBytes(message.proofChannel) : undefined;
|
|
3377
|
-
obj.proof_height = message.proofHeight ? Height.toAmino(message.proofHeight) : {};
|
|
3378
|
-
obj.signer = message.signer === "" ? undefined : message.signer;
|
|
3379
|
-
return obj;
|
|
3380
|
-
},
|
|
3381
|
-
fromAminoMsg(object) {
|
|
3382
|
-
return MsgChannelUpgradeTimeout.fromAmino(object.value);
|
|
3383
|
-
},
|
|
3384
|
-
toAminoMsg(message) {
|
|
3385
|
-
return {
|
|
3386
|
-
type: "cosmos-sdk/MsgChannelUpgradeTimeout",
|
|
3387
|
-
value: MsgChannelUpgradeTimeout.toAmino(message)
|
|
3388
|
-
};
|
|
3389
|
-
},
|
|
3390
|
-
fromProtoMsg(message) {
|
|
3391
|
-
return MsgChannelUpgradeTimeout.decode(message.value);
|
|
3392
|
-
},
|
|
3393
|
-
toProto(message) {
|
|
3394
|
-
return MsgChannelUpgradeTimeout.encode(message).finish();
|
|
3395
|
-
},
|
|
3396
|
-
toProtoMsg(message) {
|
|
3397
|
-
return {
|
|
3398
|
-
typeUrl: "/ibc.core.channel.v1.MsgChannelUpgradeTimeout",
|
|
3399
|
-
value: MsgChannelUpgradeTimeout.encode(message).finish()
|
|
3400
|
-
};
|
|
3401
|
-
},
|
|
3402
|
-
registerTypeUrl() {
|
|
3403
|
-
Channel.registerTypeUrl();
|
|
3404
|
-
Height.registerTypeUrl();
|
|
3405
|
-
}
|
|
3406
|
-
};
|
|
3407
|
-
function createBaseMsgChannelUpgradeTimeoutResponse() {
|
|
3408
|
-
return {};
|
|
3409
|
-
}
|
|
3410
|
-
export const MsgChannelUpgradeTimeoutResponse = {
|
|
3411
|
-
typeUrl: "/ibc.core.channel.v1.MsgChannelUpgradeTimeoutResponse",
|
|
3412
|
-
aminoType: "cosmos-sdk/MsgChannelUpgradeTimeoutResponse",
|
|
3413
|
-
is(o) {
|
|
3414
|
-
return o && o.$typeUrl === MsgChannelUpgradeTimeoutResponse.typeUrl;
|
|
3415
|
-
},
|
|
3416
|
-
isAmino(o) {
|
|
3417
|
-
return o && o.$typeUrl === MsgChannelUpgradeTimeoutResponse.typeUrl;
|
|
3418
|
-
},
|
|
3419
|
-
encode(_, writer = BinaryWriter.create()) {
|
|
3420
|
-
return writer;
|
|
3421
|
-
},
|
|
3422
|
-
decode(input, length) {
|
|
3423
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
3424
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
3425
|
-
const message = createBaseMsgChannelUpgradeTimeoutResponse();
|
|
3426
|
-
while (reader.pos < end) {
|
|
3427
|
-
const tag = reader.uint32();
|
|
3428
|
-
switch (tag >>> 3) {
|
|
3429
|
-
default:
|
|
3430
|
-
reader.skipType(tag & 7);
|
|
3431
|
-
break;
|
|
3432
|
-
}
|
|
3433
|
-
}
|
|
3434
|
-
return message;
|
|
3435
|
-
},
|
|
3436
|
-
fromPartial(_) {
|
|
3437
|
-
const message = createBaseMsgChannelUpgradeTimeoutResponse();
|
|
3438
|
-
return message;
|
|
3439
|
-
},
|
|
3440
|
-
fromAmino(_) {
|
|
3441
|
-
const message = createBaseMsgChannelUpgradeTimeoutResponse();
|
|
3442
|
-
return message;
|
|
3443
|
-
},
|
|
3444
|
-
toAmino(_) {
|
|
3445
|
-
const obj = {};
|
|
3446
|
-
return obj;
|
|
3447
|
-
},
|
|
3448
|
-
fromAminoMsg(object) {
|
|
3449
|
-
return MsgChannelUpgradeTimeoutResponse.fromAmino(object.value);
|
|
3450
|
-
},
|
|
3451
|
-
toAminoMsg(message) {
|
|
3452
|
-
return {
|
|
3453
|
-
type: "cosmos-sdk/MsgChannelUpgradeTimeoutResponse",
|
|
3454
|
-
value: MsgChannelUpgradeTimeoutResponse.toAmino(message)
|
|
3455
|
-
};
|
|
3456
|
-
},
|
|
3457
|
-
fromProtoMsg(message) {
|
|
3458
|
-
return MsgChannelUpgradeTimeoutResponse.decode(message.value);
|
|
3459
|
-
},
|
|
3460
|
-
toProto(message) {
|
|
3461
|
-
return MsgChannelUpgradeTimeoutResponse.encode(message).finish();
|
|
3462
|
-
},
|
|
3463
|
-
toProtoMsg(message) {
|
|
3464
|
-
return {
|
|
3465
|
-
typeUrl: "/ibc.core.channel.v1.MsgChannelUpgradeTimeoutResponse",
|
|
3466
|
-
value: MsgChannelUpgradeTimeoutResponse.encode(message).finish()
|
|
3467
|
-
};
|
|
3468
|
-
},
|
|
3469
|
-
registerTypeUrl() { }
|
|
3470
|
-
};
|
|
3471
|
-
function createBaseMsgChannelUpgradeCancel() {
|
|
3472
|
-
return {
|
|
3473
|
-
portId: "",
|
|
3474
|
-
channelId: "",
|
|
3475
|
-
errorReceipt: ErrorReceipt.fromPartial({}),
|
|
3476
|
-
proofErrorReceipt: new Uint8Array(),
|
|
3477
|
-
proofHeight: Height.fromPartial({}),
|
|
3478
|
-
signer: ""
|
|
3479
|
-
};
|
|
3480
|
-
}
|
|
3481
|
-
export const MsgChannelUpgradeCancel = {
|
|
3482
|
-
typeUrl: "/ibc.core.channel.v1.MsgChannelUpgradeCancel",
|
|
3483
|
-
aminoType: "cosmos-sdk/MsgChannelUpgradeCancel",
|
|
3484
|
-
is(o) {
|
|
3485
|
-
return o && (o.$typeUrl === MsgChannelUpgradeCancel.typeUrl || typeof o.portId === "string" && typeof o.channelId === "string" && ErrorReceipt.is(o.errorReceipt) && (o.proofErrorReceipt instanceof Uint8Array || typeof o.proofErrorReceipt === "string") && Height.is(o.proofHeight) && typeof o.signer === "string");
|
|
3486
|
-
},
|
|
3487
|
-
isAmino(o) {
|
|
3488
|
-
return o && (o.$typeUrl === MsgChannelUpgradeCancel.typeUrl || typeof o.port_id === "string" && typeof o.channel_id === "string" && ErrorReceipt.isAmino(o.error_receipt) && (o.proof_error_receipt instanceof Uint8Array || typeof o.proof_error_receipt === "string") && Height.isAmino(o.proof_height) && typeof o.signer === "string");
|
|
3489
|
-
},
|
|
3490
|
-
encode(message, writer = BinaryWriter.create()) {
|
|
3491
|
-
if (message.portId !== "") {
|
|
3492
|
-
writer.uint32(10).string(message.portId);
|
|
3493
|
-
}
|
|
3494
|
-
if (message.channelId !== "") {
|
|
3495
|
-
writer.uint32(18).string(message.channelId);
|
|
3496
|
-
}
|
|
3497
|
-
if (message.errorReceipt !== undefined) {
|
|
3498
|
-
ErrorReceipt.encode(message.errorReceipt, writer.uint32(26).fork()).ldelim();
|
|
3499
|
-
}
|
|
3500
|
-
if (message.proofErrorReceipt.length !== 0) {
|
|
3501
|
-
writer.uint32(34).bytes(message.proofErrorReceipt);
|
|
3502
|
-
}
|
|
3503
|
-
if (message.proofHeight !== undefined) {
|
|
3504
|
-
Height.encode(message.proofHeight, writer.uint32(42).fork()).ldelim();
|
|
3505
|
-
}
|
|
3506
|
-
if (message.signer !== "") {
|
|
3507
|
-
writer.uint32(50).string(message.signer);
|
|
3508
|
-
}
|
|
3509
|
-
return writer;
|
|
3510
|
-
},
|
|
3511
|
-
decode(input, length) {
|
|
3512
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
3513
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
3514
|
-
const message = createBaseMsgChannelUpgradeCancel();
|
|
3515
|
-
while (reader.pos < end) {
|
|
3516
|
-
const tag = reader.uint32();
|
|
3517
|
-
switch (tag >>> 3) {
|
|
3518
|
-
case 1:
|
|
3519
|
-
message.portId = reader.string();
|
|
3520
|
-
break;
|
|
3521
|
-
case 2:
|
|
3522
|
-
message.channelId = reader.string();
|
|
3523
|
-
break;
|
|
3524
|
-
case 3:
|
|
3525
|
-
message.errorReceipt = ErrorReceipt.decode(reader, reader.uint32());
|
|
3526
|
-
break;
|
|
3527
|
-
case 4:
|
|
3528
|
-
message.proofErrorReceipt = reader.bytes();
|
|
3529
|
-
break;
|
|
3530
|
-
case 5:
|
|
3531
|
-
message.proofHeight = Height.decode(reader, reader.uint32());
|
|
3532
|
-
break;
|
|
3533
|
-
case 6:
|
|
3534
|
-
message.signer = reader.string();
|
|
3535
|
-
break;
|
|
3536
|
-
default:
|
|
3537
|
-
reader.skipType(tag & 7);
|
|
3538
|
-
break;
|
|
3539
|
-
}
|
|
3540
|
-
}
|
|
3541
|
-
return message;
|
|
3542
|
-
},
|
|
3543
|
-
fromPartial(object) {
|
|
3544
|
-
const message = createBaseMsgChannelUpgradeCancel();
|
|
3545
|
-
message.portId = object.portId ?? "";
|
|
3546
|
-
message.channelId = object.channelId ?? "";
|
|
3547
|
-
message.errorReceipt = object.errorReceipt !== undefined && object.errorReceipt !== null ? ErrorReceipt.fromPartial(object.errorReceipt) : undefined;
|
|
3548
|
-
message.proofErrorReceipt = object.proofErrorReceipt ?? new Uint8Array();
|
|
3549
|
-
message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? Height.fromPartial(object.proofHeight) : undefined;
|
|
3550
|
-
message.signer = object.signer ?? "";
|
|
3551
|
-
return message;
|
|
3552
|
-
},
|
|
3553
|
-
fromAmino(object) {
|
|
3554
|
-
const message = createBaseMsgChannelUpgradeCancel();
|
|
3555
|
-
if (object.port_id !== undefined && object.port_id !== null) {
|
|
3556
|
-
message.portId = object.port_id;
|
|
3557
|
-
}
|
|
3558
|
-
if (object.channel_id !== undefined && object.channel_id !== null) {
|
|
3559
|
-
message.channelId = object.channel_id;
|
|
3560
|
-
}
|
|
3561
|
-
if (object.error_receipt !== undefined && object.error_receipt !== null) {
|
|
3562
|
-
message.errorReceipt = ErrorReceipt.fromAmino(object.error_receipt);
|
|
3563
|
-
}
|
|
3564
|
-
if (object.proof_error_receipt !== undefined && object.proof_error_receipt !== null) {
|
|
3565
|
-
message.proofErrorReceipt = bytesFromBase64(object.proof_error_receipt);
|
|
3566
|
-
}
|
|
3567
|
-
if (object.proof_height !== undefined && object.proof_height !== null) {
|
|
3568
|
-
message.proofHeight = Height.fromAmino(object.proof_height);
|
|
3569
|
-
}
|
|
3570
|
-
if (object.signer !== undefined && object.signer !== null) {
|
|
3571
|
-
message.signer = object.signer;
|
|
3572
|
-
}
|
|
3573
|
-
return message;
|
|
3574
|
-
},
|
|
3575
|
-
toAmino(message) {
|
|
3576
|
-
const obj = {};
|
|
3577
|
-
obj.port_id = message.portId === "" ? undefined : message.portId;
|
|
3578
|
-
obj.channel_id = message.channelId === "" ? undefined : message.channelId;
|
|
3579
|
-
obj.error_receipt = message.errorReceipt ? ErrorReceipt.toAmino(message.errorReceipt) : undefined;
|
|
3580
|
-
obj.proof_error_receipt = message.proofErrorReceipt ? base64FromBytes(message.proofErrorReceipt) : undefined;
|
|
3581
|
-
obj.proof_height = message.proofHeight ? Height.toAmino(message.proofHeight) : {};
|
|
3582
|
-
obj.signer = message.signer === "" ? undefined : message.signer;
|
|
3583
|
-
return obj;
|
|
3584
|
-
},
|
|
3585
|
-
fromAminoMsg(object) {
|
|
3586
|
-
return MsgChannelUpgradeCancel.fromAmino(object.value);
|
|
3587
|
-
},
|
|
3588
|
-
toAminoMsg(message) {
|
|
3589
|
-
return {
|
|
3590
|
-
type: "cosmos-sdk/MsgChannelUpgradeCancel",
|
|
3591
|
-
value: MsgChannelUpgradeCancel.toAmino(message)
|
|
3592
|
-
};
|
|
3593
|
-
},
|
|
3594
|
-
fromProtoMsg(message) {
|
|
3595
|
-
return MsgChannelUpgradeCancel.decode(message.value);
|
|
3596
|
-
},
|
|
3597
|
-
toProto(message) {
|
|
3598
|
-
return MsgChannelUpgradeCancel.encode(message).finish();
|
|
3599
|
-
},
|
|
3600
|
-
toProtoMsg(message) {
|
|
3601
|
-
return {
|
|
3602
|
-
typeUrl: "/ibc.core.channel.v1.MsgChannelUpgradeCancel",
|
|
3603
|
-
value: MsgChannelUpgradeCancel.encode(message).finish()
|
|
3604
|
-
};
|
|
3605
|
-
},
|
|
3606
|
-
registerTypeUrl() {
|
|
3607
|
-
ErrorReceipt.registerTypeUrl();
|
|
3608
|
-
Height.registerTypeUrl();
|
|
3609
|
-
}
|
|
3610
|
-
};
|
|
3611
|
-
function createBaseMsgChannelUpgradeCancelResponse() {
|
|
3612
|
-
return {};
|
|
3613
|
-
}
|
|
3614
|
-
export const MsgChannelUpgradeCancelResponse = {
|
|
3615
|
-
typeUrl: "/ibc.core.channel.v1.MsgChannelUpgradeCancelResponse",
|
|
3616
|
-
aminoType: "cosmos-sdk/MsgChannelUpgradeCancelResponse",
|
|
3617
|
-
is(o) {
|
|
3618
|
-
return o && o.$typeUrl === MsgChannelUpgradeCancelResponse.typeUrl;
|
|
3619
|
-
},
|
|
3620
|
-
isAmino(o) {
|
|
3621
|
-
return o && o.$typeUrl === MsgChannelUpgradeCancelResponse.typeUrl;
|
|
3622
|
-
},
|
|
3623
|
-
encode(_, writer = BinaryWriter.create()) {
|
|
3624
|
-
return writer;
|
|
3625
|
-
},
|
|
3626
|
-
decode(input, length) {
|
|
3627
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
3628
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
3629
|
-
const message = createBaseMsgChannelUpgradeCancelResponse();
|
|
3630
|
-
while (reader.pos < end) {
|
|
3631
|
-
const tag = reader.uint32();
|
|
3632
|
-
switch (tag >>> 3) {
|
|
3633
|
-
default:
|
|
3634
|
-
reader.skipType(tag & 7);
|
|
3635
|
-
break;
|
|
3636
|
-
}
|
|
3637
|
-
}
|
|
3638
|
-
return message;
|
|
3639
|
-
},
|
|
3640
|
-
fromPartial(_) {
|
|
3641
|
-
const message = createBaseMsgChannelUpgradeCancelResponse();
|
|
3642
|
-
return message;
|
|
3643
|
-
},
|
|
3644
|
-
fromAmino(_) {
|
|
3645
|
-
const message = createBaseMsgChannelUpgradeCancelResponse();
|
|
3646
|
-
return message;
|
|
3647
|
-
},
|
|
3648
|
-
toAmino(_) {
|
|
3649
|
-
const obj = {};
|
|
3650
|
-
return obj;
|
|
3651
|
-
},
|
|
3652
|
-
fromAminoMsg(object) {
|
|
3653
|
-
return MsgChannelUpgradeCancelResponse.fromAmino(object.value);
|
|
3654
|
-
},
|
|
3655
|
-
toAminoMsg(message) {
|
|
3656
|
-
return {
|
|
3657
|
-
type: "cosmos-sdk/MsgChannelUpgradeCancelResponse",
|
|
3658
|
-
value: MsgChannelUpgradeCancelResponse.toAmino(message)
|
|
3659
|
-
};
|
|
3660
|
-
},
|
|
3661
|
-
fromProtoMsg(message) {
|
|
3662
|
-
return MsgChannelUpgradeCancelResponse.decode(message.value);
|
|
3663
|
-
},
|
|
3664
|
-
toProto(message) {
|
|
3665
|
-
return MsgChannelUpgradeCancelResponse.encode(message).finish();
|
|
3666
|
-
},
|
|
3667
|
-
toProtoMsg(message) {
|
|
3668
|
-
return {
|
|
3669
|
-
typeUrl: "/ibc.core.channel.v1.MsgChannelUpgradeCancelResponse",
|
|
3670
|
-
value: MsgChannelUpgradeCancelResponse.encode(message).finish()
|
|
3671
|
-
};
|
|
3672
|
-
},
|
|
3673
|
-
registerTypeUrl() { }
|
|
3674
|
-
};
|
|
3675
|
-
function createBaseMsgUpdateParams() {
|
|
3676
|
-
return {
|
|
3677
|
-
authority: "",
|
|
3678
|
-
params: Params.fromPartial({})
|
|
3679
|
-
};
|
|
3680
|
-
}
|
|
3681
|
-
export const MsgUpdateParams = {
|
|
3682
|
-
typeUrl: "/ibc.core.channel.v1.MsgUpdateParams",
|
|
3683
|
-
aminoType: "cosmos-sdk/MsgUpdateParams",
|
|
3684
|
-
is(o) {
|
|
3685
|
-
return o && (o.$typeUrl === MsgUpdateParams.typeUrl || typeof o.authority === "string" && Params.is(o.params));
|
|
3686
|
-
},
|
|
3687
|
-
isAmino(o) {
|
|
3688
|
-
return o && (o.$typeUrl === MsgUpdateParams.typeUrl || typeof o.authority === "string" && Params.isAmino(o.params));
|
|
3689
|
-
},
|
|
3690
|
-
encode(message, writer = BinaryWriter.create()) {
|
|
3691
|
-
if (message.authority !== "") {
|
|
3692
|
-
writer.uint32(10).string(message.authority);
|
|
3693
|
-
}
|
|
3694
|
-
if (message.params !== undefined) {
|
|
3695
|
-
Params.encode(message.params, writer.uint32(18).fork()).ldelim();
|
|
3696
|
-
}
|
|
3697
|
-
return writer;
|
|
3698
|
-
},
|
|
3699
|
-
decode(input, length) {
|
|
3700
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
3701
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
3702
|
-
const message = createBaseMsgUpdateParams();
|
|
3703
|
-
while (reader.pos < end) {
|
|
3704
|
-
const tag = reader.uint32();
|
|
3705
|
-
switch (tag >>> 3) {
|
|
3706
|
-
case 1:
|
|
3707
|
-
message.authority = reader.string();
|
|
3708
|
-
break;
|
|
3709
|
-
case 2:
|
|
3710
|
-
message.params = Params.decode(reader, reader.uint32());
|
|
3711
|
-
break;
|
|
3712
|
-
default:
|
|
3713
|
-
reader.skipType(tag & 7);
|
|
3714
|
-
break;
|
|
3715
|
-
}
|
|
3716
|
-
}
|
|
3717
|
-
return message;
|
|
3718
|
-
},
|
|
3719
|
-
fromPartial(object) {
|
|
3720
|
-
const message = createBaseMsgUpdateParams();
|
|
3721
|
-
message.authority = object.authority ?? "";
|
|
3722
|
-
message.params = object.params !== undefined && object.params !== null ? Params.fromPartial(object.params) : undefined;
|
|
3723
|
-
return message;
|
|
3724
|
-
},
|
|
3725
|
-
fromAmino(object) {
|
|
3726
|
-
const message = createBaseMsgUpdateParams();
|
|
3727
|
-
if (object.authority !== undefined && object.authority !== null) {
|
|
3728
|
-
message.authority = object.authority;
|
|
3729
|
-
}
|
|
3730
|
-
if (object.params !== undefined && object.params !== null) {
|
|
3731
|
-
message.params = Params.fromAmino(object.params);
|
|
3732
|
-
}
|
|
3733
|
-
return message;
|
|
3734
|
-
},
|
|
3735
|
-
toAmino(message) {
|
|
3736
|
-
const obj = {};
|
|
3737
|
-
obj.authority = message.authority === "" ? undefined : message.authority;
|
|
3738
|
-
obj.params = message.params ? Params.toAmino(message.params) : undefined;
|
|
3739
|
-
return obj;
|
|
3740
|
-
},
|
|
3741
|
-
fromAminoMsg(object) {
|
|
3742
|
-
return MsgUpdateParams.fromAmino(object.value);
|
|
3743
|
-
},
|
|
3744
|
-
toAminoMsg(message) {
|
|
3745
|
-
return {
|
|
3746
|
-
type: "cosmos-sdk/MsgUpdateParams",
|
|
3747
|
-
value: MsgUpdateParams.toAmino(message)
|
|
3748
|
-
};
|
|
3749
|
-
},
|
|
3750
|
-
fromProtoMsg(message) {
|
|
3751
|
-
return MsgUpdateParams.decode(message.value);
|
|
3752
|
-
},
|
|
3753
|
-
toProto(message) {
|
|
3754
|
-
return MsgUpdateParams.encode(message).finish();
|
|
3755
|
-
},
|
|
3756
|
-
toProtoMsg(message) {
|
|
3757
|
-
return {
|
|
3758
|
-
typeUrl: "/ibc.core.channel.v1.MsgUpdateParams",
|
|
3759
|
-
value: MsgUpdateParams.encode(message).finish()
|
|
3760
|
-
};
|
|
3761
|
-
},
|
|
3762
|
-
registerTypeUrl() {
|
|
3763
|
-
Params.registerTypeUrl();
|
|
3764
|
-
}
|
|
3765
|
-
};
|
|
3766
|
-
function createBaseMsgUpdateParamsResponse() {
|
|
3767
|
-
return {};
|
|
3768
|
-
}
|
|
3769
|
-
export const MsgUpdateParamsResponse = {
|
|
3770
|
-
typeUrl: "/ibc.core.channel.v1.MsgUpdateParamsResponse",
|
|
3771
|
-
aminoType: "cosmos-sdk/MsgUpdateParamsResponse",
|
|
3772
|
-
is(o) {
|
|
3773
|
-
return o && o.$typeUrl === MsgUpdateParamsResponse.typeUrl;
|
|
3774
|
-
},
|
|
3775
|
-
isAmino(o) {
|
|
3776
|
-
return o && o.$typeUrl === MsgUpdateParamsResponse.typeUrl;
|
|
3777
|
-
},
|
|
3778
|
-
encode(_, writer = BinaryWriter.create()) {
|
|
3779
|
-
return writer;
|
|
3780
|
-
},
|
|
3781
|
-
decode(input, length) {
|
|
3782
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
3783
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
3784
|
-
const message = createBaseMsgUpdateParamsResponse();
|
|
3785
|
-
while (reader.pos < end) {
|
|
3786
|
-
const tag = reader.uint32();
|
|
3787
|
-
switch (tag >>> 3) {
|
|
3788
|
-
default:
|
|
3789
|
-
reader.skipType(tag & 7);
|
|
3790
|
-
break;
|
|
3791
|
-
}
|
|
3792
|
-
}
|
|
3793
|
-
return message;
|
|
3794
|
-
},
|
|
3795
|
-
fromPartial(_) {
|
|
3796
|
-
const message = createBaseMsgUpdateParamsResponse();
|
|
3797
|
-
return message;
|
|
3798
|
-
},
|
|
3799
|
-
fromAmino(_) {
|
|
3800
|
-
const message = createBaseMsgUpdateParamsResponse();
|
|
3801
|
-
return message;
|
|
3802
|
-
},
|
|
3803
|
-
toAmino(_) {
|
|
3804
|
-
const obj = {};
|
|
3805
|
-
return obj;
|
|
3806
|
-
},
|
|
3807
|
-
fromAminoMsg(object) {
|
|
3808
|
-
return MsgUpdateParamsResponse.fromAmino(object.value);
|
|
3809
|
-
},
|
|
3810
|
-
toAminoMsg(message) {
|
|
3811
|
-
return {
|
|
3812
|
-
type: "cosmos-sdk/MsgUpdateParamsResponse",
|
|
3813
|
-
value: MsgUpdateParamsResponse.toAmino(message)
|
|
3814
|
-
};
|
|
3815
|
-
},
|
|
3816
|
-
fromProtoMsg(message) {
|
|
3817
|
-
return MsgUpdateParamsResponse.decode(message.value);
|
|
3818
|
-
},
|
|
3819
|
-
toProto(message) {
|
|
3820
|
-
return MsgUpdateParamsResponse.encode(message).finish();
|
|
3821
|
-
},
|
|
3822
|
-
toProtoMsg(message) {
|
|
3823
|
-
return {
|
|
3824
|
-
typeUrl: "/ibc.core.channel.v1.MsgUpdateParamsResponse",
|
|
3825
|
-
value: MsgUpdateParamsResponse.encode(message).finish()
|
|
3826
|
-
};
|
|
3827
|
-
},
|
|
3828
|
-
registerTypeUrl() { }
|
|
3829
|
-
};
|
|
3830
|
-
function createBaseMsgPruneAcknowledgements() {
|
|
3831
|
-
return {
|
|
3832
|
-
portId: "",
|
|
3833
|
-
channelId: "",
|
|
3834
|
-
limit: BigInt(0),
|
|
3835
|
-
signer: ""
|
|
3836
|
-
};
|
|
3837
|
-
}
|
|
3838
|
-
export const MsgPruneAcknowledgements = {
|
|
3839
|
-
typeUrl: "/ibc.core.channel.v1.MsgPruneAcknowledgements",
|
|
3840
|
-
aminoType: "cosmos-sdk/MsgPruneAcknowledgements",
|
|
3841
|
-
is(o) {
|
|
3842
|
-
return o && (o.$typeUrl === MsgPruneAcknowledgements.typeUrl || typeof o.portId === "string" && typeof o.channelId === "string" && typeof o.limit === "bigint" && typeof o.signer === "string");
|
|
3843
|
-
},
|
|
3844
|
-
isAmino(o) {
|
|
3845
|
-
return o && (o.$typeUrl === MsgPruneAcknowledgements.typeUrl || typeof o.port_id === "string" && typeof o.channel_id === "string" && typeof o.limit === "bigint" && typeof o.signer === "string");
|
|
3846
|
-
},
|
|
3847
|
-
encode(message, writer = BinaryWriter.create()) {
|
|
3848
|
-
if (message.portId !== "") {
|
|
3849
|
-
writer.uint32(10).string(message.portId);
|
|
3850
|
-
}
|
|
3851
|
-
if (message.channelId !== "") {
|
|
3852
|
-
writer.uint32(18).string(message.channelId);
|
|
3853
|
-
}
|
|
3854
|
-
if (message.limit !== BigInt(0)) {
|
|
3855
|
-
writer.uint32(24).uint64(message.limit);
|
|
3856
|
-
}
|
|
3857
|
-
if (message.signer !== "") {
|
|
3858
|
-
writer.uint32(34).string(message.signer);
|
|
3859
|
-
}
|
|
3860
|
-
return writer;
|
|
3861
|
-
},
|
|
3862
|
-
decode(input, length) {
|
|
3863
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
3864
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
3865
|
-
const message = createBaseMsgPruneAcknowledgements();
|
|
3866
|
-
while (reader.pos < end) {
|
|
3867
|
-
const tag = reader.uint32();
|
|
3868
|
-
switch (tag >>> 3) {
|
|
3869
|
-
case 1:
|
|
3870
|
-
message.portId = reader.string();
|
|
3871
|
-
break;
|
|
3872
|
-
case 2:
|
|
3873
|
-
message.channelId = reader.string();
|
|
3874
|
-
break;
|
|
3875
|
-
case 3:
|
|
3876
|
-
message.limit = reader.uint64();
|
|
3877
|
-
break;
|
|
3878
|
-
case 4:
|
|
3879
|
-
message.signer = reader.string();
|
|
3880
|
-
break;
|
|
3881
|
-
default:
|
|
3882
|
-
reader.skipType(tag & 7);
|
|
3883
|
-
break;
|
|
3884
|
-
}
|
|
3885
|
-
}
|
|
3886
|
-
return message;
|
|
3887
|
-
},
|
|
3888
|
-
fromPartial(object) {
|
|
3889
|
-
const message = createBaseMsgPruneAcknowledgements();
|
|
3890
|
-
message.portId = object.portId ?? "";
|
|
3891
|
-
message.channelId = object.channelId ?? "";
|
|
3892
|
-
message.limit = object.limit !== undefined && object.limit !== null ? BigInt(object.limit.toString()) : BigInt(0);
|
|
3893
|
-
message.signer = object.signer ?? "";
|
|
3894
|
-
return message;
|
|
3895
|
-
},
|
|
3896
|
-
fromAmino(object) {
|
|
3897
|
-
const message = createBaseMsgPruneAcknowledgements();
|
|
3898
|
-
if (object.port_id !== undefined && object.port_id !== null) {
|
|
3899
|
-
message.portId = object.port_id;
|
|
3900
|
-
}
|
|
3901
|
-
if (object.channel_id !== undefined && object.channel_id !== null) {
|
|
3902
|
-
message.channelId = object.channel_id;
|
|
3903
|
-
}
|
|
3904
|
-
if (object.limit !== undefined && object.limit !== null) {
|
|
3905
|
-
message.limit = BigInt(object.limit);
|
|
3906
|
-
}
|
|
3907
|
-
if (object.signer !== undefined && object.signer !== null) {
|
|
3908
|
-
message.signer = object.signer;
|
|
3909
|
-
}
|
|
3910
|
-
return message;
|
|
3911
|
-
},
|
|
3912
|
-
toAmino(message) {
|
|
3913
|
-
const obj = {};
|
|
3914
|
-
obj.port_id = message.portId === "" ? undefined : message.portId;
|
|
3915
|
-
obj.channel_id = message.channelId === "" ? undefined : message.channelId;
|
|
3916
|
-
obj.limit = message.limit !== BigInt(0) ? message.limit?.toString() : undefined;
|
|
3917
|
-
obj.signer = message.signer === "" ? undefined : message.signer;
|
|
3918
|
-
return obj;
|
|
3919
|
-
},
|
|
3920
|
-
fromAminoMsg(object) {
|
|
3921
|
-
return MsgPruneAcknowledgements.fromAmino(object.value);
|
|
3922
|
-
},
|
|
3923
|
-
toAminoMsg(message) {
|
|
3924
|
-
return {
|
|
3925
|
-
type: "cosmos-sdk/MsgPruneAcknowledgements",
|
|
3926
|
-
value: MsgPruneAcknowledgements.toAmino(message)
|
|
3927
|
-
};
|
|
3928
|
-
},
|
|
3929
|
-
fromProtoMsg(message) {
|
|
3930
|
-
return MsgPruneAcknowledgements.decode(message.value);
|
|
3931
|
-
},
|
|
3932
|
-
toProto(message) {
|
|
3933
|
-
return MsgPruneAcknowledgements.encode(message).finish();
|
|
3934
|
-
},
|
|
3935
|
-
toProtoMsg(message) {
|
|
3936
|
-
return {
|
|
3937
|
-
typeUrl: "/ibc.core.channel.v1.MsgPruneAcknowledgements",
|
|
3938
|
-
value: MsgPruneAcknowledgements.encode(message).finish()
|
|
3939
|
-
};
|
|
3940
|
-
},
|
|
3941
|
-
registerTypeUrl() { }
|
|
3942
|
-
};
|
|
3943
|
-
function createBaseMsgPruneAcknowledgementsResponse() {
|
|
3944
|
-
return {
|
|
3945
|
-
totalPrunedSequences: BigInt(0),
|
|
3946
|
-
totalRemainingSequences: BigInt(0)
|
|
3947
|
-
};
|
|
3948
|
-
}
|
|
3949
|
-
export const MsgPruneAcknowledgementsResponse = {
|
|
3950
|
-
typeUrl: "/ibc.core.channel.v1.MsgPruneAcknowledgementsResponse",
|
|
3951
|
-
aminoType: "cosmos-sdk/MsgPruneAcknowledgementsResponse",
|
|
3952
|
-
is(o) {
|
|
3953
|
-
return o && (o.$typeUrl === MsgPruneAcknowledgementsResponse.typeUrl || typeof o.totalPrunedSequences === "bigint" && typeof o.totalRemainingSequences === "bigint");
|
|
3954
|
-
},
|
|
3955
|
-
isAmino(o) {
|
|
3956
|
-
return o && (o.$typeUrl === MsgPruneAcknowledgementsResponse.typeUrl || typeof o.total_pruned_sequences === "bigint" && typeof o.total_remaining_sequences === "bigint");
|
|
3957
|
-
},
|
|
3958
|
-
encode(message, writer = BinaryWriter.create()) {
|
|
3959
|
-
if (message.totalPrunedSequences !== BigInt(0)) {
|
|
3960
|
-
writer.uint32(8).uint64(message.totalPrunedSequences);
|
|
3961
|
-
}
|
|
3962
|
-
if (message.totalRemainingSequences !== BigInt(0)) {
|
|
3963
|
-
writer.uint32(16).uint64(message.totalRemainingSequences);
|
|
3964
|
-
}
|
|
3965
|
-
return writer;
|
|
3966
|
-
},
|
|
3967
|
-
decode(input, length) {
|
|
3968
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
3969
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
3970
|
-
const message = createBaseMsgPruneAcknowledgementsResponse();
|
|
3971
|
-
while (reader.pos < end) {
|
|
3972
|
-
const tag = reader.uint32();
|
|
3973
|
-
switch (tag >>> 3) {
|
|
3974
|
-
case 1:
|
|
3975
|
-
message.totalPrunedSequences = reader.uint64();
|
|
3976
|
-
break;
|
|
3977
|
-
case 2:
|
|
3978
|
-
message.totalRemainingSequences = reader.uint64();
|
|
3979
|
-
break;
|
|
3980
|
-
default:
|
|
3981
|
-
reader.skipType(tag & 7);
|
|
3982
|
-
break;
|
|
3983
|
-
}
|
|
3984
|
-
}
|
|
3985
|
-
return message;
|
|
3986
|
-
},
|
|
3987
|
-
fromPartial(object) {
|
|
3988
|
-
const message = createBaseMsgPruneAcknowledgementsResponse();
|
|
3989
|
-
message.totalPrunedSequences = object.totalPrunedSequences !== undefined && object.totalPrunedSequences !== null ? BigInt(object.totalPrunedSequences.toString()) : BigInt(0);
|
|
3990
|
-
message.totalRemainingSequences = object.totalRemainingSequences !== undefined && object.totalRemainingSequences !== null ? BigInt(object.totalRemainingSequences.toString()) : BigInt(0);
|
|
3991
|
-
return message;
|
|
3992
|
-
},
|
|
3993
|
-
fromAmino(object) {
|
|
3994
|
-
const message = createBaseMsgPruneAcknowledgementsResponse();
|
|
3995
|
-
if (object.total_pruned_sequences !== undefined && object.total_pruned_sequences !== null) {
|
|
3996
|
-
message.totalPrunedSequences = BigInt(object.total_pruned_sequences);
|
|
3997
|
-
}
|
|
3998
|
-
if (object.total_remaining_sequences !== undefined && object.total_remaining_sequences !== null) {
|
|
3999
|
-
message.totalRemainingSequences = BigInt(object.total_remaining_sequences);
|
|
4000
|
-
}
|
|
4001
|
-
return message;
|
|
4002
|
-
},
|
|
4003
|
-
toAmino(message) {
|
|
4004
|
-
const obj = {};
|
|
4005
|
-
obj.total_pruned_sequences = message.totalPrunedSequences !== BigInt(0) ? message.totalPrunedSequences?.toString() : undefined;
|
|
4006
|
-
obj.total_remaining_sequences = message.totalRemainingSequences !== BigInt(0) ? message.totalRemainingSequences?.toString() : undefined;
|
|
4007
|
-
return obj;
|
|
4008
|
-
},
|
|
4009
|
-
fromAminoMsg(object) {
|
|
4010
|
-
return MsgPruneAcknowledgementsResponse.fromAmino(object.value);
|
|
4011
|
-
},
|
|
4012
|
-
toAminoMsg(message) {
|
|
4013
|
-
return {
|
|
4014
|
-
type: "cosmos-sdk/MsgPruneAcknowledgementsResponse",
|
|
4015
|
-
value: MsgPruneAcknowledgementsResponse.toAmino(message)
|
|
4016
|
-
};
|
|
4017
|
-
},
|
|
4018
|
-
fromProtoMsg(message) {
|
|
4019
|
-
return MsgPruneAcknowledgementsResponse.decode(message.value);
|
|
4020
|
-
},
|
|
4021
|
-
toProto(message) {
|
|
4022
|
-
return MsgPruneAcknowledgementsResponse.encode(message).finish();
|
|
4023
|
-
},
|
|
4024
|
-
toProtoMsg(message) {
|
|
4025
|
-
return {
|
|
4026
|
-
typeUrl: "/ibc.core.channel.v1.MsgPruneAcknowledgementsResponse",
|
|
4027
|
-
value: MsgPruneAcknowledgementsResponse.encode(message).finish()
|
|
4028
|
-
};
|
|
4029
|
-
},
|
|
4030
|
-
registerTypeUrl() { }
|
|
4031
|
-
};
|