@agoric/cosmic-proto 0.5.0-u20.0 → 0.5.0-u21.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/dist/codegen/agoric/swingset/msgs.js +1 -1
- package/dist/codegen/agoric/swingset/msgs.js.map +1 -1
- package/dist/codegen/agoric/swingset/query.js +1 -1
- package/dist/codegen/agoric/swingset/query.js.map +1 -1
- package/dist/codegen/agoric/swingset/swingset.js +1 -1
- package/dist/codegen/agoric/swingset/swingset.js.map +1 -1
- package/dist/codegen/agoric/vbank/vbank.js +1 -1
- package/dist/codegen/agoric/vbank/vbank.js.map +1 -1
- package/dist/codegen/agoric/vibc/msgs.js +1 -1
- package/dist/codegen/agoric/vibc/msgs.js.map +1 -1
- package/dist/codegen/agoric/vstorage/query.d.ts +4 -2
- package/dist/codegen/agoric/vstorage/query.js.map +1 -1
- package/dist/codegen/agoric/vtransfer/genesis.js +1 -1
- package/dist/codegen/agoric/vtransfer/genesis.js.map +1 -1
- package/dist/codegen/binary.d.ts +1 -1
- package/dist/codegen/circle/cctp/v1/burn_message.js +1 -1
- package/dist/codegen/circle/cctp/v1/burn_message.js.map +1 -1
- package/dist/codegen/circle/cctp/v1/events.js +1 -1
- package/dist/codegen/circle/cctp/v1/events.js.map +1 -1
- package/dist/codegen/circle/cctp/v1/message.js +1 -1
- package/dist/codegen/circle/cctp/v1/message.js.map +1 -1
- package/dist/codegen/circle/cctp/v1/remote_token_messenger.js +1 -1
- package/dist/codegen/circle/cctp/v1/remote_token_messenger.js.map +1 -1
- package/dist/codegen/circle/cctp/v1/token_pair.js +1 -1
- package/dist/codegen/circle/cctp/v1/token_pair.js.map +1 -1
- package/dist/codegen/circle/cctp/v1/tx.js +1 -1
- package/dist/codegen/circle/cctp/v1/tx.js.map +1 -1
- package/dist/codegen/cosmos/app/runtime/v1alpha1/module.d.ts +100 -0
- package/dist/codegen/cosmos/app/runtime/v1alpha1/module.js +1 -0
- package/dist/codegen/cosmos/app/runtime/v1alpha1/module.js.map +1 -0
- package/dist/codegen/cosmos/app/v1alpha1/module.d.ts +145 -0
- package/dist/codegen/cosmos/app/v1alpha1/module.js +1 -0
- package/dist/codegen/cosmos/app/v1alpha1/module.js.map +1 -0
- package/dist/codegen/cosmos/auth/module/v1/module.d.ts +62 -0
- package/dist/codegen/cosmos/auth/module/v1/module.js +1 -0
- package/dist/codegen/cosmos/auth/module/v1/module.js.map +1 -0
- package/dist/codegen/cosmos/auth/v1beta1/auth.d.ts +38 -0
- package/dist/codegen/cosmos/auth/v1beta1/auth.js +1 -1
- package/dist/codegen/cosmos/auth/v1beta1/auth.js.map +1 -1
- package/dist/codegen/cosmos/auth/v1beta1/genesis.d.ts +1 -1
- package/dist/codegen/cosmos/auth/v1beta1/query.d.ts +77 -2
- package/dist/codegen/cosmos/auth/v1beta1/query.js +1 -1
- package/dist/codegen/cosmos/auth/v1beta1/query.js.map +1 -1
- package/dist/codegen/cosmos/auth/v1beta1/tx.d.ts +73 -0
- package/dist/codegen/cosmos/auth/v1beta1/tx.js +1 -0
- package/dist/codegen/cosmos/auth/v1beta1/tx.js.map +1 -0
- package/dist/codegen/cosmos/authz/module/v1/module.d.ts +23 -0
- package/dist/codegen/cosmos/authz/module/v1/module.js +1 -0
- package/dist/codegen/cosmos/authz/module/v1/module.js.map +1 -0
- package/dist/codegen/cosmos/authz/v1beta1/authz.d.ts +1 -1
- package/dist/codegen/cosmos/authz/v1beta1/authz.js +1 -1
- package/dist/codegen/cosmos/authz/v1beta1/authz.js.map +1 -1
- package/dist/codegen/cosmos/authz/v1beta1/tx.d.ts +2 -3
- package/dist/codegen/cosmos/authz/v1beta1/tx.js +1 -1
- package/dist/codegen/cosmos/authz/v1beta1/tx.js.map +1 -1
- package/dist/codegen/cosmos/bank/module/v1/module.d.ts +33 -0
- package/dist/codegen/cosmos/bank/module/v1/module.js +1 -0
- package/dist/codegen/cosmos/bank/module/v1/module.js.map +1 -0
- package/dist/codegen/cosmos/bank/v1beta1/authz.d.ts +8 -0
- package/dist/codegen/cosmos/bank/v1beta1/authz.js +1 -1
- package/dist/codegen/cosmos/bank/v1beta1/authz.js.map +1 -1
- package/dist/codegen/cosmos/bank/v1beta1/bank.d.ts +9 -0
- package/dist/codegen/cosmos/bank/v1beta1/bank.js.map +1 -1
- package/dist/codegen/cosmos/bank/v1beta1/genesis.d.ts +10 -3
- package/dist/codegen/cosmos/bank/v1beta1/genesis.js +1 -1
- package/dist/codegen/cosmos/bank/v1beta1/genesis.js.map +1 -1
- package/dist/codegen/cosmos/bank/v1beta1/query.d.ts +147 -1
- package/dist/codegen/cosmos/bank/v1beta1/query.js +1 -1
- package/dist/codegen/cosmos/bank/v1beta1/query.js.map +1 -1
- package/dist/codegen/cosmos/bank/v1beta1/tx.d.ts +154 -1
- package/dist/codegen/cosmos/bank/v1beta1/tx.js +1 -1
- package/dist/codegen/cosmos/bank/v1beta1/tx.js.map +1 -1
- package/dist/codegen/cosmos/base/abci/v1beta1/abci.js +1 -1
- package/dist/codegen/cosmos/base/abci/v1beta1/abci.js.map +1 -1
- package/dist/codegen/cosmos/base/query/v1beta1/pagination.js +1 -1
- package/dist/codegen/cosmos/base/query/v1beta1/pagination.js.map +1 -1
- package/dist/codegen/cosmos/base/v1beta1/coin.js +1 -1
- package/dist/codegen/cosmos/base/v1beta1/coin.js.map +1 -1
- package/dist/codegen/cosmos/bundle.d.ts +5016 -4007
- package/dist/codegen/cosmos/bundle.js +1 -1
- package/dist/codegen/cosmos/bundle.js.map +1 -1
- package/dist/codegen/cosmos/capability/module/v1/module.d.ts +29 -0
- package/dist/codegen/cosmos/capability/module/v1/module.js +1 -0
- package/dist/codegen/cosmos/capability/module/v1/module.js.map +1 -0
- package/dist/codegen/cosmos/consensus/module/v1/module.d.ts +26 -0
- package/dist/codegen/cosmos/consensus/module/v1/module.js +1 -0
- package/dist/codegen/cosmos/consensus/module/v1/module.js.map +1 -0
- package/dist/codegen/cosmos/consensus/v1/query.d.ts +52 -0
- package/dist/codegen/cosmos/consensus/v1/query.js +1 -0
- package/dist/codegen/cosmos/consensus/v1/query.js.map +1 -0
- package/dist/codegen/cosmos/consensus/v1/tx.d.ts +67 -0
- package/dist/codegen/cosmos/consensus/v1/tx.js +1 -0
- package/dist/codegen/cosmos/consensus/v1/tx.js.map +1 -0
- package/dist/codegen/cosmos/crisis/module/v1/module.d.ts +29 -0
- package/dist/codegen/cosmos/crisis/module/v1/module.js +1 -0
- package/dist/codegen/cosmos/crisis/module/v1/module.js.map +1 -0
- package/dist/codegen/cosmos/crypto/ed25519/keys.js +1 -1
- package/dist/codegen/cosmos/crypto/ed25519/keys.js.map +1 -1
- package/dist/codegen/cosmos/crypto/multisig/v1beta1/multisig.js +1 -1
- package/dist/codegen/cosmos/crypto/multisig/v1beta1/multisig.js.map +1 -1
- package/dist/codegen/cosmos/crypto/secp256k1/keys.js +1 -1
- package/dist/codegen/cosmos/crypto/secp256k1/keys.js.map +1 -1
- package/dist/codegen/cosmos/crypto/secp256r1/keys.js +1 -1
- package/dist/codegen/cosmos/crypto/secp256r1/keys.js.map +1 -1
- package/dist/codegen/cosmos/distribution/module/v1/module.d.ts +28 -0
- package/dist/codegen/cosmos/distribution/module/v1/module.js +1 -0
- package/dist/codegen/cosmos/distribution/module/v1/module.js.map +1 -0
- package/dist/codegen/cosmos/distribution/v1beta1/distribution.d.ts +24 -0
- package/dist/codegen/cosmos/distribution/v1beta1/distribution.js +1 -1
- package/dist/codegen/cosmos/distribution/v1beta1/distribution.js.map +1 -1
- package/dist/codegen/cosmos/distribution/v1beta1/genesis.d.ts +4 -4
- package/dist/codegen/cosmos/distribution/v1beta1/query.d.ts +55 -1
- package/dist/codegen/cosmos/distribution/v1beta1/query.js +1 -1
- package/dist/codegen/cosmos/distribution/v1beta1/query.js.map +1 -1
- package/dist/codegen/cosmos/distribution/v1beta1/tx.d.ts +166 -6
- package/dist/codegen/cosmos/distribution/v1beta1/tx.js +1 -1
- package/dist/codegen/cosmos/distribution/v1beta1/tx.js.map +1 -1
- package/dist/codegen/cosmos/evidence/module/v1/module.d.ts +23 -0
- package/dist/codegen/cosmos/evidence/module/v1/module.js +1 -0
- package/dist/codegen/cosmos/evidence/module/v1/module.js.map +1 -0
- package/dist/codegen/cosmos/feegrant/module/v1/module.d.ts +23 -0
- package/dist/codegen/cosmos/feegrant/module/v1/module.js +1 -0
- package/dist/codegen/cosmos/feegrant/module/v1/module.js.map +1 -0
- package/dist/codegen/cosmos/feegrant/v1beta1/feegrant.d.ts +1 -1
- package/dist/codegen/cosmos/feegrant/v1beta1/feegrant.js +1 -1
- package/dist/codegen/cosmos/feegrant/v1beta1/feegrant.js.map +1 -1
- package/dist/codegen/cosmos/feegrant/v1beta1/tx.d.ts +1 -1
- package/dist/codegen/cosmos/feegrant/v1beta1/tx.js +1 -1
- package/dist/codegen/cosmos/feegrant/v1beta1/tx.js.map +1 -1
- package/dist/codegen/cosmos/genutil/module/v1/module.d.ts +23 -0
- package/dist/codegen/cosmos/genutil/module/v1/module.js +1 -0
- package/dist/codegen/cosmos/genutil/module/v1/module.js.map +1 -0
- package/dist/codegen/cosmos/gov/module/v1/module.d.ts +32 -0
- package/dist/codegen/cosmos/gov/module/v1/module.js +1 -0
- package/dist/codegen/cosmos/gov/module/v1/module.js.map +1 -0
- package/dist/codegen/cosmos/gov/v1/genesis.d.ts +26 -4
- package/dist/codegen/cosmos/gov/v1/genesis.js +1 -1
- package/dist/codegen/cosmos/gov/v1/genesis.js.map +1 -1
- package/dist/codegen/cosmos/gov/v1/gov.d.ts +113 -4
- package/dist/codegen/cosmos/gov/v1/gov.js +1 -1
- package/dist/codegen/cosmos/gov/v1/gov.js.map +1 -1
- package/dist/codegen/cosmos/gov/v1/query.d.ts +31 -6
- package/dist/codegen/cosmos/gov/v1/query.js +1 -1
- package/dist/codegen/cosmos/gov/v1/query.js.map +1 -1
- package/dist/codegen/cosmos/gov/v1/tx.d.ts +107 -4
- package/dist/codegen/cosmos/gov/v1/tx.js +1 -1
- package/dist/codegen/cosmos/gov/v1/tx.js.map +1 -1
- package/dist/codegen/cosmos/gov/v1beta1/genesis.d.ts +3 -3
- package/dist/codegen/cosmos/gov/v1beta1/gov.d.ts +37 -8
- package/dist/codegen/cosmos/gov/v1beta1/gov.js +1 -1
- package/dist/codegen/cosmos/gov/v1beta1/gov.js.map +1 -1
- package/dist/codegen/cosmos/gov/v1beta1/query.d.ts +4 -2
- package/dist/codegen/cosmos/gov/v1beta1/query.js.map +1 -1
- package/dist/codegen/cosmos/gov/v1beta1/tx.d.ts +20 -3
- package/dist/codegen/cosmos/gov/v1beta1/tx.js +1 -1
- package/dist/codegen/cosmos/gov/v1beta1/tx.js.map +1 -1
- package/dist/codegen/cosmos/group/module/v1/module.d.ts +36 -0
- package/dist/codegen/cosmos/group/module/v1/module.js +1 -0
- package/dist/codegen/cosmos/group/module/v1/module.js.map +1 -0
- package/dist/codegen/cosmos/group/v1/events.d.ts +27 -0
- package/dist/codegen/cosmos/group/v1/events.js +1 -1
- package/dist/codegen/cosmos/group/v1/events.js.map +1 -1
- package/dist/codegen/cosmos/group/v1/query.d.ts +2 -2
- package/dist/codegen/cosmos/group/v1/tx.d.ts +46 -32
- package/dist/codegen/cosmos/group/v1/tx.js +1 -1
- package/dist/codegen/cosmos/group/v1/tx.js.map +1 -1
- package/dist/codegen/cosmos/group/v1/types.d.ts +32 -10
- package/dist/codegen/cosmos/group/v1/types.js +1 -1
- package/dist/codegen/cosmos/group/v1/types.js.map +1 -1
- package/dist/codegen/{proofs.d.ts → cosmos/ics23/v1/proofs.d.ts} +31 -17
- package/dist/codegen/cosmos/ics23/v1/proofs.js +1 -0
- package/dist/codegen/cosmos/ics23/v1/proofs.js.map +1 -0
- package/dist/codegen/cosmos/mint/module/v1/module.d.ts +28 -0
- package/dist/codegen/cosmos/mint/module/v1/module.js +1 -0
- package/dist/codegen/cosmos/mint/module/v1/module.js.map +1 -0
- package/dist/codegen/cosmos/mint/v1beta1/genesis.d.ts +1 -1
- package/dist/codegen/cosmos/mint/v1beta1/mint.d.ts +2 -2
- package/dist/codegen/cosmos/mint/v1beta1/mint.js +1 -1
- package/dist/codegen/cosmos/mint/v1beta1/mint.js.map +1 -1
- package/dist/codegen/cosmos/mint/v1beta1/query.js +1 -1
- package/dist/codegen/cosmos/mint/v1beta1/query.js.map +1 -1
- package/dist/codegen/cosmos/mint/v1beta1/tx.d.ts +73 -0
- package/dist/codegen/cosmos/mint/v1beta1/tx.js +1 -0
- package/dist/codegen/cosmos/mint/v1beta1/tx.js.map +1 -0
- package/dist/codegen/cosmos/nft/module/v1/module.d.ts +23 -0
- package/dist/codegen/cosmos/nft/module/v1/module.js +1 -0
- package/dist/codegen/cosmos/nft/module/v1/module.js.map +1 -0
- package/dist/codegen/cosmos/params/module/v1/module.d.ts +23 -0
- package/dist/codegen/cosmos/params/module/v1/module.js +1 -0
- package/dist/codegen/cosmos/params/module/v1/module.js.map +1 -0
- package/dist/codegen/cosmos/query/v1/query.d.ts +1 -0
- package/dist/codegen/cosmos/query/v1/query.js +1 -0
- package/dist/codegen/cosmos/query/v1/query.js.map +1 -0
- package/dist/codegen/cosmos/reflection/v1/reflection.d.ts +48 -0
- package/dist/codegen/cosmos/reflection/v1/reflection.js +1 -0
- package/dist/codegen/cosmos/reflection/v1/reflection.js.map +1 -0
- package/dist/codegen/cosmos/slashing/module/v1/module.d.ts +26 -0
- package/dist/codegen/cosmos/slashing/module/v1/module.js +1 -0
- package/dist/codegen/cosmos/slashing/module/v1/module.js.map +1 -0
- package/dist/codegen/cosmos/staking/module/v1/module.d.ts +33 -0
- package/dist/codegen/cosmos/staking/module/v1/module.js +1 -0
- package/dist/codegen/cosmos/staking/module/v1/module.js.map +1 -0
- package/dist/codegen/cosmos/staking/v1beta1/genesis.d.ts +1 -1
- package/dist/codegen/cosmos/staking/v1beta1/genesis.js +1 -1
- package/dist/codegen/cosmos/staking/v1beta1/genesis.js.map +1 -1
- package/dist/codegen/cosmos/staking/v1beta1/staking.d.ts +63 -2
- package/dist/codegen/cosmos/staking/v1beta1/staking.js +1 -1
- package/dist/codegen/cosmos/staking/v1beta1/staking.js.map +1 -1
- package/dist/codegen/cosmos/staking/v1beta1/tx.d.ts +71 -1
- package/dist/codegen/cosmos/staking/v1beta1/tx.js +1 -1
- package/dist/codegen/cosmos/staking/v1beta1/tx.js.map +1 -1
- package/dist/codegen/cosmos/tx/config/v1/config.d.ts +35 -0
- package/dist/codegen/cosmos/tx/config/v1/config.js +1 -0
- package/dist/codegen/cosmos/tx/config/v1/config.js.map +1 -0
- package/dist/codegen/cosmos/tx/signing/v1beta1/signing.js +1 -1
- package/dist/codegen/cosmos/tx/signing/v1beta1/signing.js.map +1 -1
- package/dist/codegen/cosmos/tx/v1beta1/service.d.ts +270 -2
- package/dist/codegen/cosmos/tx/v1beta1/service.js +1 -1
- package/dist/codegen/cosmos/tx/v1beta1/service.js.map +1 -1
- package/dist/codegen/cosmos/tx/v1beta1/tx.js +1 -1
- package/dist/codegen/cosmos/tx/v1beta1/tx.js.map +1 -1
- package/dist/codegen/cosmos/upgrade/module/v1/module.d.ts +26 -0
- package/dist/codegen/cosmos/upgrade/module/v1/module.js +1 -0
- package/dist/codegen/cosmos/upgrade/module/v1/module.js.map +1 -0
- package/dist/codegen/cosmos/upgrade/v1beta1/query.js +1 -1
- package/dist/codegen/cosmos/upgrade/v1beta1/query.js.map +1 -1
- package/dist/codegen/cosmos/upgrade/v1beta1/tx.d.ts +2 -2
- package/dist/codegen/cosmos/upgrade/v1beta1/upgrade.d.ts +6 -4
- package/dist/codegen/cosmos/upgrade/v1beta1/upgrade.js.map +1 -1
- package/dist/codegen/cosmos/vesting/module/v1/module.d.ts +23 -0
- package/dist/codegen/cosmos/vesting/module/v1/module.js +1 -0
- package/dist/codegen/cosmos/vesting/module/v1/module.js.map +1 -0
- package/dist/codegen/decimals.d.ts +20 -0
- package/dist/codegen/decimals.js +1 -0
- package/dist/codegen/decimals.js.map +1 -0
- package/dist/codegen/gogoproto/bundle.js.map +1 -1
- package/dist/codegen/google/bundle.d.ts +277 -277
- package/dist/codegen/google/bundle.js.map +1 -1
- package/dist/codegen/google/protobuf/any.d.ts +10 -4
- package/dist/codegen/google/protobuf/any.js +1 -1
- package/dist/codegen/google/protobuf/any.js.map +1 -1
- package/dist/codegen/google/protobuf/descriptor.js +1 -1
- package/dist/codegen/google/protobuf/descriptor.js.map +1 -1
- package/dist/codegen/helpers.d.ts +2 -18
- package/dist/codegen/helpers.js +1 -1
- package/dist/codegen/helpers.js.map +1 -1
- package/dist/codegen/ibc/applications/interchain_accounts/controller/v1/tx.d.ts +9 -4
- package/dist/codegen/ibc/applications/interchain_accounts/controller/v1/tx.js +1 -1
- package/dist/codegen/ibc/applications/interchain_accounts/controller/v1/tx.js.map +1 -1
- package/dist/codegen/ibc/applications/interchain_accounts/host/v1/host.d.ts +39 -0
- package/dist/codegen/ibc/applications/interchain_accounts/host/v1/host.js +1 -1
- package/dist/codegen/ibc/applications/interchain_accounts/host/v1/host.js.map +1 -1
- package/dist/codegen/ibc/applications/interchain_accounts/host/v1/tx.d.ts +57 -0
- package/dist/codegen/ibc/applications/interchain_accounts/host/v1/tx.js +1 -0
- package/dist/codegen/ibc/applications/interchain_accounts/host/v1/tx.js.map +1 -0
- package/dist/codegen/ibc/applications/interchain_accounts/v1/packet.js +1 -1
- package/dist/codegen/ibc/applications/interchain_accounts/v1/packet.js.map +1 -1
- package/dist/codegen/ibc/applications/transfer/v1/authz.d.ts +6 -0
- package/dist/codegen/ibc/applications/transfer/v1/authz.js +1 -1
- package/dist/codegen/ibc/applications/transfer/v1/authz.js.map +1 -1
- package/dist/codegen/ibc/applications/transfer/v1/genesis.d.ts +7 -0
- package/dist/codegen/ibc/applications/transfer/v1/genesis.js +1 -1
- package/dist/codegen/ibc/applications/transfer/v1/genesis.js.map +1 -1
- package/dist/codegen/ibc/applications/transfer/v1/query.d.ts +47 -0
- package/dist/codegen/ibc/applications/transfer/v1/query.js +1 -1
- package/dist/codegen/ibc/applications/transfer/v1/query.js.map +1 -1
- package/dist/codegen/ibc/bundle.d.ts +1823 -1662
- package/dist/codegen/ibc/bundle.js +1 -1
- package/dist/codegen/ibc/bundle.js.map +1 -1
- package/dist/codegen/ibc/core/channel/v1/channel.js +1 -1
- package/dist/codegen/ibc/core/channel/v1/channel.js.map +1 -1
- package/dist/codegen/ibc/core/channel/v1/query.js +1 -1
- package/dist/codegen/ibc/core/channel/v1/query.js.map +1 -1
- package/dist/codegen/ibc/core/channel/v1/tx.d.ts +2 -0
- package/dist/codegen/ibc/core/channel/v1/tx.js +1 -1
- package/dist/codegen/ibc/core/channel/v1/tx.js.map +1 -1
- package/dist/codegen/ibc/core/client/v1/client.d.ts +5 -1
- package/dist/codegen/ibc/core/client/v1/client.js.map +1 -1
- package/dist/codegen/ibc/core/client/v1/genesis.js +1 -1
- package/dist/codegen/ibc/core/client/v1/genesis.js.map +1 -1
- package/dist/codegen/ibc/core/client/v1/query.js +1 -1
- package/dist/codegen/ibc/core/client/v1/query.js.map +1 -1
- package/dist/codegen/ibc/core/client/v1/tx.d.ts +13 -5
- package/dist/codegen/ibc/core/client/v1/tx.js +1 -1
- package/dist/codegen/ibc/core/client/v1/tx.js.map +1 -1
- package/dist/codegen/ibc/core/commitment/v1/commitment.d.ts +1 -1
- package/dist/codegen/ibc/core/commitment/v1/commitment.js +1 -1
- package/dist/codegen/ibc/core/commitment/v1/commitment.js.map +1 -1
- package/dist/codegen/ibc/core/connection/v1/query.js +1 -1
- package/dist/codegen/ibc/core/connection/v1/query.js.map +1 -1
- package/dist/codegen/ibc/core/connection/v1/tx.d.ts +16 -0
- package/dist/codegen/ibc/core/connection/v1/tx.js +1 -1
- package/dist/codegen/ibc/core/connection/v1/tx.js.map +1 -1
- package/dist/codegen/ibc/lightclients/localhost/v2/localhost.d.ts +27 -0
- package/dist/codegen/ibc/lightclients/localhost/v2/localhost.js +1 -0
- package/dist/codegen/ibc/lightclients/localhost/v2/localhost.js.map +1 -0
- package/dist/codegen/ibc/lightclients/solomachine/v1/solomachine.js +1 -1
- package/dist/codegen/ibc/lightclients/solomachine/v1/solomachine.js.map +1 -1
- package/dist/codegen/ibc/lightclients/solomachine/v2/solomachine.js +1 -1
- package/dist/codegen/ibc/lightclients/solomachine/v2/solomachine.js.map +1 -1
- package/dist/codegen/ibc/lightclients/solomachine/v3/solomachine.d.ts +270 -0
- package/dist/codegen/ibc/lightclients/solomachine/v3/solomachine.js +1 -0
- package/dist/codegen/ibc/lightclients/solomachine/v3/solomachine.js.map +1 -0
- package/dist/codegen/ibc/lightclients/tendermint/v1/tendermint.d.ts +4 -1
- package/dist/codegen/ibc/lightclients/tendermint/v1/tendermint.js +1 -1
- package/dist/codegen/ibc/lightclients/tendermint/v1/tendermint.js.map +1 -1
- package/dist/codegen/icq/bundle.d.ts +85 -85
- package/dist/codegen/icq/v1/packet.js +1 -1
- package/dist/codegen/icq/v1/packet.js.map +1 -1
- package/dist/codegen/index.d.ts +3 -2
- package/dist/codegen/index.js +1 -1
- package/dist/codegen/index.js.map +1 -1
- package/dist/codegen/json-safe.d.ts +1 -1
- package/dist/codegen/noble/bundle.d.ts +326 -0
- package/dist/codegen/noble/bundle.js +1 -0
- package/dist/codegen/noble/bundle.js.map +1 -0
- package/dist/codegen/noble/dollar/vaults/v1/tx.d.ts +145 -0
- package/dist/codegen/noble/dollar/vaults/v1/tx.js +1 -0
- package/dist/codegen/noble/dollar/vaults/v1/tx.js.map +1 -0
- package/dist/codegen/noble/dollar/vaults/v1/vaults.d.ts +161 -0
- package/dist/codegen/noble/dollar/vaults/v1/vaults.js +1 -0
- package/dist/codegen/noble/dollar/vaults/v1/vaults.js.map +1 -0
- package/dist/codegen/noble/swap/v1/algorithm.d.ts +11 -0
- package/dist/codegen/noble/swap/v1/algorithm.js +1 -0
- package/dist/codegen/noble/swap/v1/algorithm.js.map +1 -0
- package/dist/codegen/noble/swap/v1/swap.d.ts +59 -0
- package/dist/codegen/noble/swap/v1/swap.js +1 -0
- package/dist/codegen/noble/swap/v1/swap.js.map +1 -0
- package/dist/codegen/noble/swap/v1/tx.d.ts +337 -0
- package/dist/codegen/noble/swap/v1/tx.js +1 -0
- package/dist/codegen/noble/swap/v1/tx.js.map +1 -0
- package/dist/codegen/stride/bundle.d.ts +1912 -1912
- package/dist/codegen/stride/stakedym/stakedym.js +1 -1
- package/dist/codegen/stride/stakedym/stakedym.js.map +1 -1
- package/dist/codegen/stride/stakedym/tx.js +1 -1
- package/dist/codegen/stride/stakedym/tx.js.map +1 -1
- package/dist/codegen/stride/stakeibc/host_zone.js +1 -1
- package/dist/codegen/stride/stakeibc/host_zone.js.map +1 -1
- package/dist/codegen/stride/stakeibc/trade_route.js +1 -1
- package/dist/codegen/stride/stakeibc/trade_route.js.map +1 -1
- package/dist/codegen/stride/stakeibc/tx.js +1 -1
- package/dist/codegen/stride/stakeibc/tx.js.map +1 -1
- package/dist/codegen/stride/stakeibc/validator.js +1 -1
- package/dist/codegen/stride/stakeibc/validator.js.map +1 -1
- package/dist/codegen/stride/staketia/tx.js +1 -1
- package/dist/codegen/stride/staketia/tx.js.map +1 -1
- package/dist/codegen/tendermint/abci/types.js +1 -1
- package/dist/codegen/tendermint/abci/types.js.map +1 -1
- package/dist/codegen/tendermint/bundle.d.ts +517 -528
- package/dist/codegen/tendermint/crypto/keys.js +1 -1
- package/dist/codegen/tendermint/crypto/keys.js.map +1 -1
- package/dist/codegen/tendermint/crypto/proof.js +1 -1
- package/dist/codegen/tendermint/crypto/proof.js.map +1 -1
- package/dist/codegen/tendermint/p2p/types.d.ts +55 -83
- package/dist/codegen/tendermint/p2p/types.js +1 -1
- package/dist/codegen/tendermint/p2p/types.js.map +1 -1
- package/dist/codegen/tendermint/types/types.js +1 -1
- package/dist/codegen/tendermint/types/types.js.map +1 -1
- package/dist/codegen/tendermint/types/validator.js +1 -1
- package/dist/codegen/tendermint/types/validator.js.map +1 -1
- package/dist/codegen/utf8.d.ts +1 -1
- package/dist/codegen/varint.d.ts +1 -1
- package/dist/helpers.d.ts +5 -0
- package/dist/helpers.js.map +1 -1
- package/package.json +17 -14
- package/dist/codegen/ics23/bundle.d.ts +0 -154
- package/dist/codegen/ics23/bundle.js +0 -1
- package/dist/codegen/ics23/bundle.js.map +0 -1
- package/dist/codegen/proofs.js +0 -1
- package/dist/codegen/proofs.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import*as o from"./applications/interchain_accounts/controller/v1/controller.js";import*as
|
|
1
|
+
import*as o from"./applications/interchain_accounts/controller/v1/controller.js";import*as t from"./applications/interchain_accounts/controller/v1/query.js";import*as n from"./applications/interchain_accounts/controller/v1/tx.js";import*as i from"./applications/interchain_accounts/genesis/v1/genesis.js";import*as s from"./applications/interchain_accounts/host/v1/host.js";import*as c from"./applications/interchain_accounts/host/v1/query.js";import*as r from"./applications/interchain_accounts/host/v1/tx.js";import*as a from"./applications/interchain_accounts/v1/account.js";import*as e from"./applications/interchain_accounts/v1/metadata.js";import*as m from"./applications/interchain_accounts/v1/packet.js";import*as l from"./applications/transfer/v1/authz.js";import*as p from"./applications/transfer/v1/genesis.js";import*as f from"./applications/transfer/v1/query.js";import*as v from"./applications/transfer/v1/transfer.js";import*as h from"./applications/transfer/v1/tx.js";import*as u from"./applications/transfer/v2/packet.js";import*as j from"./core/channel/v1/channel.js";import*as g from"./core/channel/v1/genesis.js";import*as _ from"./core/channel/v1/query.js";import*as x from"./core/channel/v1/tx.js";import*as q from"./core/client/v1/client.js";import*as y from"./core/client/v1/genesis.js";import*as d from"./core/client/v1/query.js";import*as b from"./core/client/v1/tx.js";import*as k from"./core/commitment/v1/commitment.js";import*as z from"./core/connection/v1/connection.js";import*as w from"./core/connection/v1/genesis.js";import*as A from"./core/connection/v1/query.js";import*as B from"./core/connection/v1/tx.js";import*as C from"./lightclients/localhost/v1/localhost.js";import*as D from"./lightclients/localhost/v2/localhost.js";import*as E from"./lightclients/solomachine/v1/solomachine.js";import*as F from"./lightclients/solomachine/v2/solomachine.js";import*as G from"./lightclients/solomachine/v3/solomachine.js";import*as H from"./lightclients/tendermint/v1/tendermint.js";export var ibc;!function(I){let J,K,L;!function(j){let g,_;!function(l){let p,f,v;!function(i){i.v1={...o,...t,...n}}(p=l.controller||(l.controller={})),function(o){o.v1={...i}}(f=l.genesis||(l.genesis={})),function(o){o.v1={...s,...c,...r}}(v=l.host||(l.host={})),l.v1={...a,...e,...m}}(g=j.interchain_accounts||(j.interchain_accounts={})),function(o){o.v1={...l,...p,...f,...v,...h},o.v2={...u}}(_=j.transfer||(j.transfer={}))}(J=I.applications||(I.applications={})),function(o){let t,n,i,s;!function(o){o.v1={...j,...g,..._,...x}}(t=o.channel||(o.channel={})),function(o){o.v1={...q,...y,...d,...b}}(n=o.client||(o.client={})),function(o){o.v1={...k}}(i=o.commitment||(o.commitment={})),function(o){o.v1={...z,...w,...A,...B}}(s=o.connection||(o.connection={}))}(K=I.core||(I.core={})),function(o){let t,n,i;!function(o){o.v1={...C},o.v2={...D}}(t=o.localhost||(o.localhost={})),function(o){o.v1={...E},o.v2={...F},o.v3={...G}}(n=o.solomachine||(o.solomachine={})),function(o){o.v1={...H}}(i=o.tendermint||(o.tendermint={}))}(L=I.lightclients||(I.lightclients={}))}(ibc||(ibc={}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bundle.js","sourceRoot":"","sources":["../../../src/codegen/ibc/bundle.ts"],"names":[],"mappings":"AAAA,aAAa;AACb,OAAO,KAAK,IAAI,MAAM,gEAAgE,CAAC;AACvF,OAAO,KAAK,IAAI,MAAM,2DAA2D,CAAC;AAClF,OAAO,KAAK,IAAI,MAAM,wDAAwD,CAAC;AAC/E,OAAO,KAAK,IAAI,MAAM,0DAA0D,CAAC;AACjF,OAAO,KAAK,IAAI,MAAM,oDAAoD,CAAC;AAC3E,OAAO,KAAK,IAAI,MAAM,qDAAqD,CAAC;AAC5E,OAAO,KAAK,IAAI,MAAM,kDAAkD,CAAC;AACzE,OAAO,KAAK,IAAI,MAAM,mDAAmD,CAAC;AAC1E,O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G,IAAI;aACR,CAAC;YACW,YAAE,GAAG;gBAChB,GAAG,IAAI;aACR,CAAC;QACJ,CAAC,EAPgB,SAAS,GAAT,sBAAS,KAAT,sBAAS,QAOzB;QACD,IAAiB,WAAW,CAU3B;QAVD,WAAiB,WAAW;YACb,cAAE,GAAG;gBAChB,GAAG,IAAI;aACR,CAAC;YACW,cAAE,GAAG;gBAChB,GAAG,IAAI;aACR,CAAC;YACW,cAAE,GAAG;gBAChB,GAAG,IAAI;aACR,CAAC;QACJ,CAAC,EAVgB,WAAW,GAAX,wBAAW,KAAX,wBAAW,QAU3B;QACD,IAAiB,UAAU,CAI1B;QAJD,WAAiB,UAAU;YACZ,aAAE,GAAG;gBAChB,GAAG,IAAI;aACR,CAAC;QACJ,CAAC,EAJgB,UAAU,GAAV,uBAAU,KAAV,uBAAU,QAI1B;IACH,CAAC,EAzBgB,YAAY,GAAZ,gBAAY,KAAZ,gBAAY,QAyB5B;AACH,CAAC,EAlGgB,GAAG,KAAH,GAAG,QAkGnB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{Height as e}from"../../client/v1/client.js";import{BinaryReader as t,BinaryWriter as n}from"../../../../binary.js";import{isSet as r,bytesFromBase64 as o,base64FromBytes as i}from"../../../../helpers.js";import{}from"../../../../json-safe.js";export var State;!function(e){e[e.STATE_UNINITIALIZED_UNSPECIFIED=0]="STATE_UNINITIALIZED_UNSPECIFIED",e[e.STATE_INIT=1]="STATE_INIT",e[e.STATE_TRYOPEN=2]="STATE_TRYOPEN",e[e.STATE_OPEN=3]="STATE_OPEN",e[e.STATE_CLOSED=4]="STATE_CLOSED",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(State||(State={}));export const StateSDKType=State;export function stateFromJSON(e){switch(e){case 0:case"STATE_UNINITIALIZED_UNSPECIFIED":return State.STATE_UNINITIALIZED_UNSPECIFIED;case 1:case"STATE_INIT":return State.STATE_INIT;case 2:case"STATE_TRYOPEN":return State.STATE_TRYOPEN;case 3:case"STATE_OPEN":return State.STATE_OPEN;case 4:case"STATE_CLOSED":return State.STATE_CLOSED;default:return State.UNRECOGNIZED}}export function stateToJSON(e){switch(e){case State.STATE_UNINITIALIZED_UNSPECIFIED:return"STATE_UNINITIALIZED_UNSPECIFIED";case State.STATE_INIT:return"STATE_INIT";case State.STATE_TRYOPEN:return"STATE_TRYOPEN";case State.STATE_OPEN:return"STATE_OPEN";case State.STATE_CLOSED:return"STATE_CLOSED";case State.UNRECOGNIZED:default:return"UNRECOGNIZED"}}export var Order;!function(e){e[e.ORDER_NONE_UNSPECIFIED=0]="ORDER_NONE_UNSPECIFIED",e[e.ORDER_UNORDERED=1]="ORDER_UNORDERED",e[e.ORDER_ORDERED=2]="ORDER_ORDERED",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(Order||(Order={}));export const OrderSDKType=Order;export function orderFromJSON(e){switch(e){case 0:case"ORDER_NONE_UNSPECIFIED":return Order.ORDER_NONE_UNSPECIFIED;case 1:case"ORDER_UNORDERED":return Order.ORDER_UNORDERED;case 2:case"ORDER_ORDERED":return Order.ORDER_ORDERED;default:return Order.UNRECOGNIZED}}export function orderToJSON(e){switch(e){case Order.ORDER_NONE_UNSPECIFIED:return"ORDER_NONE_UNSPECIFIED";case Order.ORDER_UNORDERED:return"ORDER_UNORDERED";case Order.ORDER_ORDERED:return"ORDER_ORDERED";case Order.UNRECOGNIZED:default:return"UNRECOGNIZED"}}function a(){return{state:0,ordering:0,counterparty:Counterparty.fromPartial({}),connectionHops:[],version:""}}export const Channel={typeUrl:"/ibc.core.channel.v1.Channel",encode(e,t=n.create()){0!==e.state&&t.uint32(8).int32(e.state),0!==e.ordering&&t.uint32(16).int32(e.ordering),void 0!==e.counterparty&&Counterparty.encode(e.counterparty,t.uint32(26).fork()).ldelim();for(const n of e.connectionHops)t.uint32(34).string(n);return""!==e.version&&t.uint32(42).string(e.version),t},decode(e,n){const r=e instanceof t?e:new t(e);let o=void 0===n?r.len:r.pos+n;const i=a();for(;r.pos<o;){const e=r.uint32();switch(e>>>3){case 1:i.state=r.int32();break;case 2:i.ordering=r.int32();break;case 3:i.counterparty=Counterparty.decode(r,r.uint32());break;case 4:i.connectionHops.push(r.string());break;case 5:i.version=r.string();break;default:r.skipType(7&e)}}return i},fromJSON:e=>({state:r(e.state)?stateFromJSON(e.state):-1,ordering:r(e.ordering)?orderFromJSON(e.ordering):-1,counterparty:r(e.counterparty)?Counterparty.fromJSON(e.counterparty):void 0,connectionHops:Array.isArray(e?.connectionHops)?e.connectionHops.map((e=>String(e))):[],version:r(e.version)?String(e.version):""}),toJSON(e){const t={};return void 0!==e.state&&(t.state=stateToJSON(e.state)),void 0!==e.ordering&&(t.ordering=orderToJSON(e.ordering)),void 0!==e.counterparty&&(t.counterparty=e.counterparty?Counterparty.toJSON(e.counterparty):void 0),e.connectionHops?t.connectionHops=e.connectionHops.map((e=>e)):t.connectionHops=[],void 0!==e.version&&(t.version=e.version),t},fromPartial(e){const t=a();return t.state=e.state??0,t.ordering=e.ordering??0,t.counterparty=void 0!==e.counterparty&&null!==e.counterparty?Counterparty.fromPartial(e.counterparty):void 0,t.connectionHops=e.connectionHops?.map((e=>e))||[],t.version=e.version??"",t},fromProtoMsg:e=>Channel.decode(e.value),toProto:e=>Channel.encode(e).finish(),toProtoMsg:e=>({typeUrl:"/ibc.core.channel.v1.Channel",value:Channel.encode(e).finish()})};function c(){return{state:0,ordering:0,counterparty:Counterparty.fromPartial({}),connectionHops:[],version:"",portId:"",channelId:""}}export const IdentifiedChannel={typeUrl:"/ibc.core.channel.v1.IdentifiedChannel",encode(e,t=n.create()){0!==e.state&&t.uint32(8).int32(e.state),0!==e.ordering&&t.uint32(16).int32(e.ordering),void 0!==e.counterparty&&Counterparty.encode(e.counterparty,t.uint32(26).fork()).ldelim();for(const n of e.connectionHops)t.uint32(34).string(n);return""!==e.version&&t.uint32(42).string(e.version),""!==e.portId&&t.uint32(50).string(e.portId),""!==e.channelId&&t.uint32(58).string(e.channelId),t},decode(e,n){const r=e instanceof t?e:new t(e);let o=void 0===n?r.len:r.pos+n;const i=c();for(;r.pos<o;){const e=r.uint32();switch(e>>>3){case 1:i.state=r.int32();break;case 2:i.ordering=r.int32();break;case 3:i.counterparty=Counterparty.decode(r,r.uint32());break;case 4:i.connectionHops.push(r.string());break;case 5:i.version=r.string();break;case 6:i.portId=r.string();break;case 7:i.channelId=r.string();break;default:r.skipType(7&e)}}return i},fromJSON:e=>({state:r(e.state)?stateFromJSON(e.state):-1,ordering:r(e.ordering)?orderFromJSON(e.ordering):-1,counterparty:r(e.counterparty)?Counterparty.fromJSON(e.counterparty):void 0,connectionHops:Array.isArray(e?.connectionHops)?e.connectionHops.map((e=>String(e))):[],version:r(e.version)?String(e.version):"",portId:r(e.portId)?String(e.portId):"",channelId:r(e.channelId)?String(e.channelId):""}),toJSON(e){const t={};return void 0!==e.state&&(t.state=stateToJSON(e.state)),void 0!==e.ordering&&(t.ordering=orderToJSON(e.ordering)),void 0!==e.counterparty&&(t.counterparty=e.counterparty?Counterparty.toJSON(e.counterparty):void 0),e.connectionHops?t.connectionHops=e.connectionHops.map((e=>e)):t.connectionHops=[],void 0!==e.version&&(t.version=e.version),void 0!==e.portId&&(t.portId=e.portId),void 0!==e.channelId&&(t.channelId=e.channelId),t},fromPartial(e){const t=c();return t.state=e.state??0,t.ordering=e.ordering??0,t.counterparty=void 0!==e.counterparty&&null!==e.counterparty?Counterparty.fromPartial(e.counterparty):void 0,t.connectionHops=e.connectionHops?.map((e=>e))||[],t.version=e.version??"",t.portId=e.portId??"",t.channelId=e.channelId??"",t},fromProtoMsg:e=>IdentifiedChannel.decode(e.value),toProto:e=>IdentifiedChannel.encode(e).finish(),toProtoMsg:e=>({typeUrl:"/ibc.core.channel.v1.IdentifiedChannel",value:IdentifiedChannel.encode(e).finish()})};export const Counterparty={typeUrl:"/ibc.core.channel.v1.Counterparty",encode:(e,t=n.create())=>(""!==e.portId&&t.uint32(10).string(e.portId),""!==e.channelId&&t.uint32(18).string(e.channelId),t),decode(e,n){const r=e instanceof t?e:new t(e);let o=void 0===n?r.len:r.pos+n;const i={portId:"",channelId:""};for(;r.pos<o;){const e=r.uint32();switch(e>>>3){case 1:i.portId=r.string();break;case 2:i.channelId=r.string();break;default:r.skipType(7&e)}}return i},fromJSON:e=>({portId:r(e.portId)?String(e.portId):"",channelId:r(e.channelId)?String(e.channelId):""}),toJSON(e){const t={};return void 0!==e.portId&&(t.portId=e.portId),void 0!==e.channelId&&(t.channelId=e.channelId),t},fromPartial(e){const t={portId:"",channelId:""};return t.portId=e.portId??"",t.channelId=e.channelId??"",t},fromProtoMsg:e=>Counterparty.decode(e.value),toProto:e=>Counterparty.encode(e).finish(),toProtoMsg:e=>({typeUrl:"/ibc.core.channel.v1.Counterparty",value:Counterparty.encode(e).finish()})};function s(){return{sequence:BigInt(0),sourcePort:"",sourceChannel:"",destinationPort:"",destinationChannel:"",data:new Uint8Array,timeoutHeight:e.fromPartial({}),timeoutTimestamp:BigInt(0)}}export const Packet={typeUrl:"/ibc.core.channel.v1.Packet",encode:(t,r=n.create())=>(t.sequence!==BigInt(0)&&r.uint32(8).uint64(t.sequence),""!==t.sourcePort&&r.uint32(18).string(t.sourcePort),""!==t.sourceChannel&&r.uint32(26).string(t.sourceChannel),""!==t.destinationPort&&r.uint32(34).string(t.destinationPort),""!==t.destinationChannel&&r.uint32(42).string(t.destinationChannel),0!==t.data.length&&r.uint32(50).bytes(t.data),void 0!==t.timeoutHeight&&e.encode(t.timeoutHeight,r.uint32(58).fork()).ldelim(),t.timeoutTimestamp!==BigInt(0)&&r.uint32(64).uint64(t.timeoutTimestamp),r),decode(n,r){const o=n instanceof t?n:new t(n);let i=void 0===r?o.len:o.pos+r;const a=s();for(;o.pos<i;){const t=o.uint32();switch(t>>>3){case 1:a.sequence=o.uint64();break;case 2:a.sourcePort=o.string();break;case 3:a.sourceChannel=o.string();break;case 4:a.destinationPort=o.string();break;case 5:a.destinationChannel=o.string();break;case 6:a.data=o.bytes();break;case 7:a.timeoutHeight=e.decode(o,o.uint32());break;case 8:a.timeoutTimestamp=o.uint64();break;default:o.skipType(7&t)}}return a},fromJSON:t=>({sequence:r(t.sequence)?BigInt(t.sequence.toString()):BigInt(0),sourcePort:r(t.sourcePort)?String(t.sourcePort):"",sourceChannel:r(t.sourceChannel)?String(t.sourceChannel):"",destinationPort:r(t.destinationPort)?String(t.destinationPort):"",destinationChannel:r(t.destinationChannel)?String(t.destinationChannel):"",data:r(t.data)?o(t.data):new Uint8Array,timeoutHeight:r(t.timeoutHeight)?e.fromJSON(t.timeoutHeight):void 0,timeoutTimestamp:r(t.timeoutTimestamp)?BigInt(t.timeoutTimestamp.toString()):BigInt(0)}),toJSON(t){const n={};return void 0!==t.sequence&&(n.sequence=(t.sequence||BigInt(0)).toString()),void 0!==t.sourcePort&&(n.sourcePort=t.sourcePort),void 0!==t.sourceChannel&&(n.sourceChannel=t.sourceChannel),void 0!==t.destinationPort&&(n.destinationPort=t.destinationPort),void 0!==t.destinationChannel&&(n.destinationChannel=t.destinationChannel),void 0!==t.data&&(n.data=i(void 0!==t.data?t.data:new Uint8Array)),void 0!==t.timeoutHeight&&(n.timeoutHeight=t.timeoutHeight?e.toJSON(t.timeoutHeight):void 0),void 0!==t.timeoutTimestamp&&(n.timeoutTimestamp=(t.timeoutTimestamp||BigInt(0)).toString()),n},fromPartial(t){const n=s();return n.sequence=void 0!==t.sequence&&null!==t.sequence?BigInt(t.sequence.toString()):BigInt(0),n.sourcePort=t.sourcePort??"",n.sourceChannel=t.sourceChannel??"",n.destinationPort=t.destinationPort??"",n.destinationChannel=t.destinationChannel??"",n.data=t.data??new Uint8Array,n.timeoutHeight=void 0!==t.timeoutHeight&&null!==t.timeoutHeight?e.fromPartial(t.timeoutHeight):void 0,n.timeoutTimestamp=void 0!==t.timeoutTimestamp&&null!==t.timeoutTimestamp?BigInt(t.timeoutTimestamp.toString()):BigInt(0),n},fromProtoMsg:e=>Packet.decode(e.value),toProto:e=>Packet.encode(e).finish(),toProtoMsg:e=>({typeUrl:"/ibc.core.channel.v1.Packet",value:Packet.encode(e).finish()})};function d(){return{portId:"",channelId:"",sequence:BigInt(0),data:new Uint8Array}}export const PacketState={typeUrl:"/ibc.core.channel.v1.PacketState",encode:(e,t=n.create())=>(""!==e.portId&&t.uint32(10).string(e.portId),""!==e.channelId&&t.uint32(18).string(e.channelId),e.sequence!==BigInt(0)&&t.uint32(24).uint64(e.sequence),0!==e.data.length&&t.uint32(34).bytes(e.data),t),decode(e,n){const r=e instanceof t?e:new t(e);let o=void 0===n?r.len:r.pos+n;const i=d();for(;r.pos<o;){const e=r.uint32();switch(e>>>3){case 1:i.portId=r.string();break;case 2:i.channelId=r.string();break;case 3:i.sequence=r.uint64();break;case 4:i.data=r.bytes();break;default:r.skipType(7&e)}}return i},fromJSON:e=>({portId:r(e.portId)?String(e.portId):"",channelId:r(e.channelId)?String(e.channelId):"",sequence:r(e.sequence)?BigInt(e.sequence.toString()):BigInt(0),data:r(e.data)?o(e.data):new Uint8Array}),toJSON(e){const t={};return void 0!==e.portId&&(t.portId=e.portId),void 0!==e.channelId&&(t.channelId=e.channelId),void 0!==e.sequence&&(t.sequence=(e.sequence||BigInt(0)).toString()),void 0!==e.data&&(t.data=i(void 0!==e.data?e.data:new Uint8Array)),t},fromPartial(e){const t=d();return t.portId=e.portId??"",t.channelId=e.channelId??"",t.sequence=void 0!==e.sequence&&null!==e.sequence?BigInt(e.sequence.toString()):BigInt(0),t.data=e.data??new Uint8Array,t},fromProtoMsg:e=>PacketState.decode(e.value),toProto:e=>PacketState.encode(e).finish(),toProtoMsg:e=>({typeUrl:"/ibc.core.channel.v1.PacketState",value:PacketState.encode(e).finish()})};function u(){return{portId:"",channelId:"",sequence:BigInt(0)}}export const PacketId={typeUrl:"/ibc.core.channel.v1.PacketId",encode:(e,t=n.create())=>(""!==e.portId&&t.uint32(10).string(e.portId),""!==e.channelId&&t.uint32(18).string(e.channelId),e.sequence!==BigInt(0)&&t.uint32(24).uint64(e.sequence),t),decode(e,n){const r=e instanceof t?e:new t(e);let o=void 0===n?r.len:r.pos+n;const i=u();for(;r.pos<o;){const e=r.uint32();switch(e>>>3){case 1:i.portId=r.string();break;case 2:i.channelId=r.string();break;case 3:i.sequence=r.uint64();break;default:r.skipType(7&e)}}return i},fromJSON:e=>({portId:r(e.portId)?String(e.portId):"",channelId:r(e.channelId)?String(e.channelId):"",sequence:r(e.sequence)?BigInt(e.sequence.toString()):BigInt(0)}),toJSON(e){const t={};return void 0!==e.portId&&(t.portId=e.portId),void 0!==e.channelId&&(t.channelId=e.channelId),void 0!==e.sequence&&(t.sequence=(e.sequence||BigInt(0)).toString()),t},fromPartial(e){const t=u();return t.portId=e.portId??"",t.channelId=e.channelId??"",t.sequence=void 0!==e.sequence&&null!==e.sequence?BigInt(e.sequence.toString()):BigInt(0),t},fromProtoMsg:e=>PacketId.decode(e.value),toProto:e=>PacketId.encode(e).finish(),toProtoMsg:e=>({typeUrl:"/ibc.core.channel.v1.PacketId",value:PacketId.encode(e).finish()})};export const Acknowledgement={typeUrl:"/ibc.core.channel.v1.Acknowledgement",encode:(e,t=n.create())=>(void 0!==e.result&&t.uint32(170).bytes(e.result),void 0!==e.error&&t.uint32(178).string(e.error),t),decode(e,n){const r=e instanceof t?e:new t(e);let o=void 0===n?r.len:r.pos+n;const i={result:void 0,error:void 0};for(;r.pos<o;){const e=r.uint32();switch(e>>>3){case 21:i.result=r.bytes();break;case 22:i.error=r.string();break;default:r.skipType(7&e)}}return i},fromJSON:e=>({result:r(e.result)?o(e.result):void 0,error:r(e.error)?String(e.error):void 0}),toJSON(e){const t={};return void 0!==e.result&&(t.result=void 0!==e.result?i(e.result):void 0),void 0!==e.error&&(t.error=e.error),t},fromPartial(e){const t={result:void 0,error:void 0};return t.result=e.result??void 0,t.error=e.error??void 0,t},fromProtoMsg:e=>Acknowledgement.decode(e.value),toProto:e=>Acknowledgement.encode(e).finish(),toProtoMsg:e=>({typeUrl:"/ibc.core.channel.v1.Acknowledgement",value:Acknowledgement.encode(e).finish()})};
|
|
1
|
+
import{Height as e}from"../../client/v1/client.js";import{BinaryReader as t,BinaryWriter as n}from"../../../../binary.js";import{isSet as r}from"../../../../helpers.js";import{}from"../../../../json-safe.js";import{decodeBase64 as o}from"@endo/base64";import{encodeBase64 as i}from"@endo/base64";export var State;!function(e){e[e.STATE_UNINITIALIZED_UNSPECIFIED=0]="STATE_UNINITIALIZED_UNSPECIFIED",e[e.STATE_INIT=1]="STATE_INIT",e[e.STATE_TRYOPEN=2]="STATE_TRYOPEN",e[e.STATE_OPEN=3]="STATE_OPEN",e[e.STATE_CLOSED=4]="STATE_CLOSED",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(State||(State={}));export const StateSDKType=State;export function stateFromJSON(e){switch(e){case 0:case"STATE_UNINITIALIZED_UNSPECIFIED":return State.STATE_UNINITIALIZED_UNSPECIFIED;case 1:case"STATE_INIT":return State.STATE_INIT;case 2:case"STATE_TRYOPEN":return State.STATE_TRYOPEN;case 3:case"STATE_OPEN":return State.STATE_OPEN;case 4:case"STATE_CLOSED":return State.STATE_CLOSED;default:return State.UNRECOGNIZED}}export function stateToJSON(e){switch(e){case State.STATE_UNINITIALIZED_UNSPECIFIED:return"STATE_UNINITIALIZED_UNSPECIFIED";case State.STATE_INIT:return"STATE_INIT";case State.STATE_TRYOPEN:return"STATE_TRYOPEN";case State.STATE_OPEN:return"STATE_OPEN";case State.STATE_CLOSED:return"STATE_CLOSED";case State.UNRECOGNIZED:default:return"UNRECOGNIZED"}}export var Order;!function(e){e[e.ORDER_NONE_UNSPECIFIED=0]="ORDER_NONE_UNSPECIFIED",e[e.ORDER_UNORDERED=1]="ORDER_UNORDERED",e[e.ORDER_ORDERED=2]="ORDER_ORDERED",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(Order||(Order={}));export const OrderSDKType=Order;export function orderFromJSON(e){switch(e){case 0:case"ORDER_NONE_UNSPECIFIED":return Order.ORDER_NONE_UNSPECIFIED;case 1:case"ORDER_UNORDERED":return Order.ORDER_UNORDERED;case 2:case"ORDER_ORDERED":return Order.ORDER_ORDERED;default:return Order.UNRECOGNIZED}}export function orderToJSON(e){switch(e){case Order.ORDER_NONE_UNSPECIFIED:return"ORDER_NONE_UNSPECIFIED";case Order.ORDER_UNORDERED:return"ORDER_UNORDERED";case Order.ORDER_ORDERED:return"ORDER_ORDERED";case Order.UNRECOGNIZED:default:return"UNRECOGNIZED"}}function a(){return{state:0,ordering:0,counterparty:Counterparty.fromPartial({}),connectionHops:[],version:""}}export const Channel={typeUrl:"/ibc.core.channel.v1.Channel",encode(e,t=n.create()){0!==e.state&&t.uint32(8).int32(e.state),0!==e.ordering&&t.uint32(16).int32(e.ordering),void 0!==e.counterparty&&Counterparty.encode(e.counterparty,t.uint32(26).fork()).ldelim();for(const n of e.connectionHops)t.uint32(34).string(n);return""!==e.version&&t.uint32(42).string(e.version),t},decode(e,n){const r=e instanceof t?e:new t(e);let o=void 0===n?r.len:r.pos+n;const i=a();for(;r.pos<o;){const e=r.uint32();switch(e>>>3){case 1:i.state=r.int32();break;case 2:i.ordering=r.int32();break;case 3:i.counterparty=Counterparty.decode(r,r.uint32());break;case 4:i.connectionHops.push(r.string());break;case 5:i.version=r.string();break;default:r.skipType(7&e)}}return i},fromJSON:e=>({state:r(e.state)?stateFromJSON(e.state):-1,ordering:r(e.ordering)?orderFromJSON(e.ordering):-1,counterparty:r(e.counterparty)?Counterparty.fromJSON(e.counterparty):void 0,connectionHops:Array.isArray(e?.connectionHops)?e.connectionHops.map((e=>String(e))):[],version:r(e.version)?String(e.version):""}),toJSON(e){const t={};return void 0!==e.state&&(t.state=stateToJSON(e.state)),void 0!==e.ordering&&(t.ordering=orderToJSON(e.ordering)),void 0!==e.counterparty&&(t.counterparty=e.counterparty?Counterparty.toJSON(e.counterparty):void 0),e.connectionHops?t.connectionHops=e.connectionHops.map((e=>e)):t.connectionHops=[],void 0!==e.version&&(t.version=e.version),t},fromPartial(e){const t=a();return t.state=e.state??0,t.ordering=e.ordering??0,t.counterparty=void 0!==e.counterparty&&null!==e.counterparty?Counterparty.fromPartial(e.counterparty):void 0,t.connectionHops=e.connectionHops?.map((e=>e))||[],t.version=e.version??"",t},fromProtoMsg:e=>Channel.decode(e.value),toProto:e=>Channel.encode(e).finish(),toProtoMsg:e=>({typeUrl:"/ibc.core.channel.v1.Channel",value:Channel.encode(e).finish()})};function c(){return{state:0,ordering:0,counterparty:Counterparty.fromPartial({}),connectionHops:[],version:"",portId:"",channelId:""}}export const IdentifiedChannel={typeUrl:"/ibc.core.channel.v1.IdentifiedChannel",encode(e,t=n.create()){0!==e.state&&t.uint32(8).int32(e.state),0!==e.ordering&&t.uint32(16).int32(e.ordering),void 0!==e.counterparty&&Counterparty.encode(e.counterparty,t.uint32(26).fork()).ldelim();for(const n of e.connectionHops)t.uint32(34).string(n);return""!==e.version&&t.uint32(42).string(e.version),""!==e.portId&&t.uint32(50).string(e.portId),""!==e.channelId&&t.uint32(58).string(e.channelId),t},decode(e,n){const r=e instanceof t?e:new t(e);let o=void 0===n?r.len:r.pos+n;const i=c();for(;r.pos<o;){const e=r.uint32();switch(e>>>3){case 1:i.state=r.int32();break;case 2:i.ordering=r.int32();break;case 3:i.counterparty=Counterparty.decode(r,r.uint32());break;case 4:i.connectionHops.push(r.string());break;case 5:i.version=r.string();break;case 6:i.portId=r.string();break;case 7:i.channelId=r.string();break;default:r.skipType(7&e)}}return i},fromJSON:e=>({state:r(e.state)?stateFromJSON(e.state):-1,ordering:r(e.ordering)?orderFromJSON(e.ordering):-1,counterparty:r(e.counterparty)?Counterparty.fromJSON(e.counterparty):void 0,connectionHops:Array.isArray(e?.connectionHops)?e.connectionHops.map((e=>String(e))):[],version:r(e.version)?String(e.version):"",portId:r(e.portId)?String(e.portId):"",channelId:r(e.channelId)?String(e.channelId):""}),toJSON(e){const t={};return void 0!==e.state&&(t.state=stateToJSON(e.state)),void 0!==e.ordering&&(t.ordering=orderToJSON(e.ordering)),void 0!==e.counterparty&&(t.counterparty=e.counterparty?Counterparty.toJSON(e.counterparty):void 0),e.connectionHops?t.connectionHops=e.connectionHops.map((e=>e)):t.connectionHops=[],void 0!==e.version&&(t.version=e.version),void 0!==e.portId&&(t.portId=e.portId),void 0!==e.channelId&&(t.channelId=e.channelId),t},fromPartial(e){const t=c();return t.state=e.state??0,t.ordering=e.ordering??0,t.counterparty=void 0!==e.counterparty&&null!==e.counterparty?Counterparty.fromPartial(e.counterparty):void 0,t.connectionHops=e.connectionHops?.map((e=>e))||[],t.version=e.version??"",t.portId=e.portId??"",t.channelId=e.channelId??"",t},fromProtoMsg:e=>IdentifiedChannel.decode(e.value),toProto:e=>IdentifiedChannel.encode(e).finish(),toProtoMsg:e=>({typeUrl:"/ibc.core.channel.v1.IdentifiedChannel",value:IdentifiedChannel.encode(e).finish()})};export const Counterparty={typeUrl:"/ibc.core.channel.v1.Counterparty",encode:(e,t=n.create())=>(""!==e.portId&&t.uint32(10).string(e.portId),""!==e.channelId&&t.uint32(18).string(e.channelId),t),decode(e,n){const r=e instanceof t?e:new t(e);let o=void 0===n?r.len:r.pos+n;const i={portId:"",channelId:""};for(;r.pos<o;){const e=r.uint32();switch(e>>>3){case 1:i.portId=r.string();break;case 2:i.channelId=r.string();break;default:r.skipType(7&e)}}return i},fromJSON:e=>({portId:r(e.portId)?String(e.portId):"",channelId:r(e.channelId)?String(e.channelId):""}),toJSON(e){const t={};return void 0!==e.portId&&(t.portId=e.portId),void 0!==e.channelId&&(t.channelId=e.channelId),t},fromPartial(e){const t={portId:"",channelId:""};return t.portId=e.portId??"",t.channelId=e.channelId??"",t},fromProtoMsg:e=>Counterparty.decode(e.value),toProto:e=>Counterparty.encode(e).finish(),toProtoMsg:e=>({typeUrl:"/ibc.core.channel.v1.Counterparty",value:Counterparty.encode(e).finish()})};function s(){return{sequence:BigInt(0),sourcePort:"",sourceChannel:"",destinationPort:"",destinationChannel:"",data:new Uint8Array,timeoutHeight:e.fromPartial({}),timeoutTimestamp:BigInt(0)}}export const Packet={typeUrl:"/ibc.core.channel.v1.Packet",encode:(t,r=n.create())=>(t.sequence!==BigInt(0)&&r.uint32(8).uint64(t.sequence),""!==t.sourcePort&&r.uint32(18).string(t.sourcePort),""!==t.sourceChannel&&r.uint32(26).string(t.sourceChannel),""!==t.destinationPort&&r.uint32(34).string(t.destinationPort),""!==t.destinationChannel&&r.uint32(42).string(t.destinationChannel),0!==t.data.length&&r.uint32(50).bytes(t.data),void 0!==t.timeoutHeight&&e.encode(t.timeoutHeight,r.uint32(58).fork()).ldelim(),t.timeoutTimestamp!==BigInt(0)&&r.uint32(64).uint64(t.timeoutTimestamp),r),decode(n,r){const o=n instanceof t?n:new t(n);let i=void 0===r?o.len:o.pos+r;const a=s();for(;o.pos<i;){const t=o.uint32();switch(t>>>3){case 1:a.sequence=o.uint64();break;case 2:a.sourcePort=o.string();break;case 3:a.sourceChannel=o.string();break;case 4:a.destinationPort=o.string();break;case 5:a.destinationChannel=o.string();break;case 6:a.data=o.bytes();break;case 7:a.timeoutHeight=e.decode(o,o.uint32());break;case 8:a.timeoutTimestamp=o.uint64();break;default:o.skipType(7&t)}}return a},fromJSON:t=>({sequence:r(t.sequence)?BigInt(t.sequence.toString()):BigInt(0),sourcePort:r(t.sourcePort)?String(t.sourcePort):"",sourceChannel:r(t.sourceChannel)?String(t.sourceChannel):"",destinationPort:r(t.destinationPort)?String(t.destinationPort):"",destinationChannel:r(t.destinationChannel)?String(t.destinationChannel):"",data:r(t.data)?o(t.data):new Uint8Array,timeoutHeight:r(t.timeoutHeight)?e.fromJSON(t.timeoutHeight):void 0,timeoutTimestamp:r(t.timeoutTimestamp)?BigInt(t.timeoutTimestamp.toString()):BigInt(0)}),toJSON(t){const n={};return void 0!==t.sequence&&(n.sequence=(t.sequence||BigInt(0)).toString()),void 0!==t.sourcePort&&(n.sourcePort=t.sourcePort),void 0!==t.sourceChannel&&(n.sourceChannel=t.sourceChannel),void 0!==t.destinationPort&&(n.destinationPort=t.destinationPort),void 0!==t.destinationChannel&&(n.destinationChannel=t.destinationChannel),void 0!==t.data&&(n.data=i(void 0!==t.data?t.data:new Uint8Array)),void 0!==t.timeoutHeight&&(n.timeoutHeight=t.timeoutHeight?e.toJSON(t.timeoutHeight):void 0),void 0!==t.timeoutTimestamp&&(n.timeoutTimestamp=(t.timeoutTimestamp||BigInt(0)).toString()),n},fromPartial(t){const n=s();return n.sequence=void 0!==t.sequence&&null!==t.sequence?BigInt(t.sequence.toString()):BigInt(0),n.sourcePort=t.sourcePort??"",n.sourceChannel=t.sourceChannel??"",n.destinationPort=t.destinationPort??"",n.destinationChannel=t.destinationChannel??"",n.data=t.data??new Uint8Array,n.timeoutHeight=void 0!==t.timeoutHeight&&null!==t.timeoutHeight?e.fromPartial(t.timeoutHeight):void 0,n.timeoutTimestamp=void 0!==t.timeoutTimestamp&&null!==t.timeoutTimestamp?BigInt(t.timeoutTimestamp.toString()):BigInt(0),n},fromProtoMsg:e=>Packet.decode(e.value),toProto:e=>Packet.encode(e).finish(),toProtoMsg:e=>({typeUrl:"/ibc.core.channel.v1.Packet",value:Packet.encode(e).finish()})};function d(){return{portId:"",channelId:"",sequence:BigInt(0),data:new Uint8Array}}export const PacketState={typeUrl:"/ibc.core.channel.v1.PacketState",encode:(e,t=n.create())=>(""!==e.portId&&t.uint32(10).string(e.portId),""!==e.channelId&&t.uint32(18).string(e.channelId),e.sequence!==BigInt(0)&&t.uint32(24).uint64(e.sequence),0!==e.data.length&&t.uint32(34).bytes(e.data),t),decode(e,n){const r=e instanceof t?e:new t(e);let o=void 0===n?r.len:r.pos+n;const i=d();for(;r.pos<o;){const e=r.uint32();switch(e>>>3){case 1:i.portId=r.string();break;case 2:i.channelId=r.string();break;case 3:i.sequence=r.uint64();break;case 4:i.data=r.bytes();break;default:r.skipType(7&e)}}return i},fromJSON:e=>({portId:r(e.portId)?String(e.portId):"",channelId:r(e.channelId)?String(e.channelId):"",sequence:r(e.sequence)?BigInt(e.sequence.toString()):BigInt(0),data:r(e.data)?o(e.data):new Uint8Array}),toJSON(e){const t={};return void 0!==e.portId&&(t.portId=e.portId),void 0!==e.channelId&&(t.channelId=e.channelId),void 0!==e.sequence&&(t.sequence=(e.sequence||BigInt(0)).toString()),void 0!==e.data&&(t.data=i(void 0!==e.data?e.data:new Uint8Array)),t},fromPartial(e){const t=d();return t.portId=e.portId??"",t.channelId=e.channelId??"",t.sequence=void 0!==e.sequence&&null!==e.sequence?BigInt(e.sequence.toString()):BigInt(0),t.data=e.data??new Uint8Array,t},fromProtoMsg:e=>PacketState.decode(e.value),toProto:e=>PacketState.encode(e).finish(),toProtoMsg:e=>({typeUrl:"/ibc.core.channel.v1.PacketState",value:PacketState.encode(e).finish()})};function u(){return{portId:"",channelId:"",sequence:BigInt(0)}}export const PacketId={typeUrl:"/ibc.core.channel.v1.PacketId",encode:(e,t=n.create())=>(""!==e.portId&&t.uint32(10).string(e.portId),""!==e.channelId&&t.uint32(18).string(e.channelId),e.sequence!==BigInt(0)&&t.uint32(24).uint64(e.sequence),t),decode(e,n){const r=e instanceof t?e:new t(e);let o=void 0===n?r.len:r.pos+n;const i=u();for(;r.pos<o;){const e=r.uint32();switch(e>>>3){case 1:i.portId=r.string();break;case 2:i.channelId=r.string();break;case 3:i.sequence=r.uint64();break;default:r.skipType(7&e)}}return i},fromJSON:e=>({portId:r(e.portId)?String(e.portId):"",channelId:r(e.channelId)?String(e.channelId):"",sequence:r(e.sequence)?BigInt(e.sequence.toString()):BigInt(0)}),toJSON(e){const t={};return void 0!==e.portId&&(t.portId=e.portId),void 0!==e.channelId&&(t.channelId=e.channelId),void 0!==e.sequence&&(t.sequence=(e.sequence||BigInt(0)).toString()),t},fromPartial(e){const t=u();return t.portId=e.portId??"",t.channelId=e.channelId??"",t.sequence=void 0!==e.sequence&&null!==e.sequence?BigInt(e.sequence.toString()):BigInt(0),t},fromProtoMsg:e=>PacketId.decode(e.value),toProto:e=>PacketId.encode(e).finish(),toProtoMsg:e=>({typeUrl:"/ibc.core.channel.v1.PacketId",value:PacketId.encode(e).finish()})};export const Acknowledgement={typeUrl:"/ibc.core.channel.v1.Acknowledgement",encode:(e,t=n.create())=>(void 0!==e.result&&t.uint32(170).bytes(e.result),void 0!==e.error&&t.uint32(178).string(e.error),t),decode(e,n){const r=e instanceof t?e:new t(e);let o=void 0===n?r.len:r.pos+n;const i={result:void 0,error:void 0};for(;r.pos<o;){const e=r.uint32();switch(e>>>3){case 21:i.result=r.bytes();break;case 22:i.error=r.string();break;default:r.skipType(7&e)}}return i},fromJSON:e=>({result:r(e.result)?o(e.result):void 0,error:r(e.error)?String(e.error):void 0}),toJSON(e){const t={};return void 0!==e.result&&(t.result=void 0!==e.result?i(e.result):void 0),void 0!==e.error&&(t.error=e.error),t},fromPartial(e){const t={result:void 0,error:void 0};return t.result=e.result??void 0,t.error=e.error??void 0,t},fromProtoMsg:e=>Acknowledgement.decode(e.value),toProto:e=>Acknowledgement.encode(e).finish(),toProtoMsg:e=>({typeUrl:"/ibc.core.channel.v1.Acknowledgement",value:Acknowledgement.encode(e).finish()})};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"channel.js","sourceRoot":"","sources":["../../../../../../src/codegen/ibc/core/channel/v1/channel.ts"],"names":[],"mappings":"AAAA,aAAa;AACb,OAAO,EAAE,MAAM,EAAsB,MAAM,2BAA2B,CAAC;AACvE,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AACnE,OAAO,EACL,KAAK,EACL,eAAe,EACf,eAAe,GAChB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAiB,MAAM,0BAA0B,CAAC;AACzD;;;GAGG;AACH,MAAM,CAAN,IAAY,KAkBX;AAlBD,WAAY,KAAK;IACf,sDAAsD;IACtD,uFAAmC,CAAA;IACnC,qEAAqE;IACrE,6CAAc,CAAA;IACd,+FAA+F;IAC/F,mDAAiB,CAAA;IACjB;;;OAGG;IACH,6CAAc,CAAA;IACd;;;OAGG;IACH,iDAAgB,CAAA;I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AI,SAAS,CAAC;QAC5C,OAAO,CAAC,KAAK,GAAG,MAAM,CAAC,KAAK,IAAI,SAAS,CAAC;QAC1C,OAAO,OAAO,CAAC;IACjB,CAAC;IACD,YAAY,CAAC,OAAgC;QAC3C,OAAO,eAAe,CAAC,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;IAC/C,CAAC;IACD,OAAO,CAAC,OAAwB;QAC9B,OAAO,eAAe,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,MAAM,EAAE,CAAC;IAClD,CAAC;IACD,UAAU,CAAC,OAAwB;QACjC,OAAO;YACL,OAAO,EAAE,sCAAsC;YAC/C,KAAK,EAAE,eAAe,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,MAAM,EAAE;SAChD,CAAC;IACJ,CAAC;CACF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{PageRequest as e,PageResponse as n}from"../../../../cosmos/base/query/v1beta1/pagination.js";import{Channel as o,IdentifiedChannel as t,PacketState as i}from"./channel.js";import{Height as r,IdentifiedClientState as c}from"../../client/v1/client.js";import{Any as a}from"../../../../google/protobuf/any.js";import{BinaryReader as s,BinaryWriter as d}from"../../../../binary.js";import{isSet as p,bytesFromBase64 as u,base64FromBytes as l}from"../../../../helpers.js";import{}from"../../../../json-safe.js";export const QueryChannelRequest={typeUrl:"/ibc.core.channel.v1.QueryChannelRequest",encode:(e,n=d.create())=>(""!==e.portId&&n.uint32(10).string(e.portId),""!==e.channelId&&n.uint32(18).string(e.channelId),n),decode(e,n){const o=e instanceof s?e:new s(e);let t=void 0===n?o.len:o.pos+n;const i={portId:"",channelId:""};for(;o.pos<t;){const e=o.uint32();switch(e>>>3){case 1:i.portId=o.string();break;case 2:i.channelId=o.string();break;default:o.skipType(7&e)}}return i},fromJSON:e=>({portId:p(e.portId)?String(e.portId):"",channelId:p(e.channelId)?String(e.channelId):""}),toJSON(e){const n={};return void 0!==e.portId&&(n.portId=e.portId),void 0!==e.channelId&&(n.channelId=e.channelId),n},fromPartial(e){const n={portId:"",channelId:""};return n.portId=e.portId??"",n.channelId=e.channelId??"",n},fromProtoMsg:e=>QueryChannelRequest.decode(e.value),toProto:e=>QueryChannelRequest.encode(e).finish(),toProtoMsg:e=>({typeUrl:"/ibc.core.channel.v1.QueryChannelRequest",value:QueryChannelRequest.encode(e).finish()})};function h(){return{channel:void 0,proof:new Uint8Array,proofHeight:r.fromPartial({})}}export const QueryChannelResponse={typeUrl:"/ibc.core.channel.v1.QueryChannelResponse",encode:(e,n=d.create())=>(void 0!==e.channel&&o.encode(e.channel,n.uint32(10).fork()).ldelim(),0!==e.proof.length&&n.uint32(18).bytes(e.proof),void 0!==e.proofHeight&&r.encode(e.proofHeight,n.uint32(26).fork()).ldelim(),n),decode(e,n){const t=e instanceof s?e:new s(e);let i=void 0===n?t.len:t.pos+n;const c=h();for(;t.pos<i;){const e=t.uint32();switch(e>>>3){case 1:c.channel=o.decode(t,t.uint32());break;case 2:c.proof=t.bytes();break;case 3:c.proofHeight=r.decode(t,t.uint32());break;default:t.skipType(7&e)}}return c},fromJSON:e=>({channel:p(e.channel)?o.fromJSON(e.channel):void 0,proof:p(e.proof)?u(e.proof):new Uint8Array,proofHeight:p(e.proofHeight)?r.fromJSON(e.proofHeight):void 0}),toJSON(e){const n={};return void 0!==e.channel&&(n.channel=e.channel?o.toJSON(e.channel):void 0),void 0!==e.proof&&(n.proof=l(void 0!==e.proof?e.proof:new Uint8Array)),void 0!==e.proofHeight&&(n.proofHeight=e.proofHeight?r.toJSON(e.proofHeight):void 0),n},fromPartial(e){const n=h();return n.channel=void 0!==e.channel&&null!==e.channel?o.fromPartial(e.channel):void 0,n.proof=e.proof??new Uint8Array,n.proofHeight=void 0!==e.proofHeight&&null!==e.proofHeight?r.fromPartial(e.proofHeight):void 0,n},fromProtoMsg:e=>QueryChannelResponse.decode(e.value),toProto:e=>QueryChannelResponse.encode(e).finish(),toProtoMsg:e=>({typeUrl:"/ibc.core.channel.v1.QueryChannelResponse",value:QueryChannelResponse.encode(e).finish()})};export const QueryChannelsRequest={typeUrl:"/ibc.core.channel.v1.QueryChannelsRequest",encode:(n,o=d.create())=>(void 0!==n.pagination&&e.encode(n.pagination,o.uint32(10).fork()).ldelim(),o),decode(n,o){const t=n instanceof s?n:new s(n);let i=void 0===o?t.len:t.pos+o;const r={pagination:void 0};for(;t.pos<i;){const n=t.uint32();if(n>>>3==1)r.pagination=e.decode(t,t.uint32());else t.skipType(7&n)}return r},fromJSON:n=>({pagination:p(n.pagination)?e.fromJSON(n.pagination):void 0}),toJSON(n){const o={};return void 0!==n.pagination&&(o.pagination=n.pagination?e.toJSON(n.pagination):void 0),o},fromPartial(n){const o={pagination:void 0};return o.pagination=void 0!==n.pagination&&null!==n.pagination?e.fromPartial(n.pagination):void 0,o},fromProtoMsg:e=>QueryChannelsRequest.decode(e.value),toProto:e=>QueryChannelsRequest.encode(e).finish(),toProtoMsg:e=>({typeUrl:"/ibc.core.channel.v1.QueryChannelsRequest",value:QueryChannelsRequest.encode(e).finish()})};function g(){return{channels:[],pagination:void 0,height:r.fromPartial({})}}export const QueryChannelsResponse={typeUrl:"/ibc.core.channel.v1.QueryChannelsResponse",encode(e,o=d.create()){for(const n of e.channels)t.encode(n,o.uint32(10).fork()).ldelim();return void 0!==e.pagination&&n.encode(e.pagination,o.uint32(18).fork()).ldelim(),void 0!==e.height&&r.encode(e.height,o.uint32(26).fork()).ldelim(),o},decode(e,o){const i=e instanceof s?e:new s(e);let c=void 0===o?i.len:i.pos+o;const a=g();for(;i.pos<c;){const e=i.uint32();switch(e>>>3){case 1:a.channels.push(t.decode(i,i.uint32()));break;case 2:a.pagination=n.decode(i,i.uint32());break;case 3:a.height=r.decode(i,i.uint32());break;default:i.skipType(7&e)}}return a},fromJSON:e=>({channels:Array.isArray(e?.channels)?e.channels.map((e=>t.fromJSON(e))):[],pagination:p(e.pagination)?n.fromJSON(e.pagination):void 0,height:p(e.height)?r.fromJSON(e.height):void 0}),toJSON(e){const o={};return e.channels?o.channels=e.channels.map((e=>e?t.toJSON(e):void 0)):o.channels=[],void 0!==e.pagination&&(o.pagination=e.pagination?n.toJSON(e.pagination):void 0),void 0!==e.height&&(o.height=e.height?r.toJSON(e.height):void 0),o},fromPartial(e){const o=g();return o.channels=e.channels?.map((e=>t.fromPartial(e)))||[],o.pagination=void 0!==e.pagination&&null!==e.pagination?n.fromPartial(e.pagination):void 0,o.height=void 0!==e.height&&null!==e.height?r.fromPartial(e.height):void 0,o},fromProtoMsg:e=>QueryChannelsResponse.decode(e.value),toProto:e=>QueryChannelsResponse.encode(e).finish(),toProtoMsg:e=>({typeUrl:"/ibc.core.channel.v1.QueryChannelsResponse",value:QueryChannelsResponse.encode(e).finish()})};export const QueryConnectionChannelsRequest={typeUrl:"/ibc.core.channel.v1.QueryConnectionChannelsRequest",encode:(n,o=d.create())=>(""!==n.connection&&o.uint32(10).string(n.connection),void 0!==n.pagination&&e.encode(n.pagination,o.uint32(18).fork()).ldelim(),o),decode(n,o){const t=n instanceof s?n:new s(n);let i=void 0===o?t.len:t.pos+o;const r={connection:"",pagination:void 0};for(;t.pos<i;){const n=t.uint32();switch(n>>>3){case 1:r.connection=t.string();break;case 2:r.pagination=e.decode(t,t.uint32());break;default:t.skipType(7&n)}}return r},fromJSON:n=>({connection:p(n.connection)?String(n.connection):"",pagination:p(n.pagination)?e.fromJSON(n.pagination):void 0}),toJSON(n){const o={};return void 0!==n.connection&&(o.connection=n.connection),void 0!==n.pagination&&(o.pagination=n.pagination?e.toJSON(n.pagination):void 0),o},fromPartial(n){const o={connection:"",pagination:void 0};return o.connection=n.connection??"",o.pagination=void 0!==n.pagination&&null!==n.pagination?e.fromPartial(n.pagination):void 0,o},fromProtoMsg:e=>QueryConnectionChannelsRequest.decode(e.value),toProto:e=>QueryConnectionChannelsRequest.encode(e).finish(),toProtoMsg:e=>({typeUrl:"/ibc.core.channel.v1.QueryConnectionChannelsRequest",value:QueryConnectionChannelsRequest.encode(e).finish()})};function f(){return{channels:[],pagination:void 0,height:r.fromPartial({})}}export const QueryConnectionChannelsResponse={typeUrl:"/ibc.core.channel.v1.QueryConnectionChannelsResponse",encode(e,o=d.create()){for(const n of e.channels)t.encode(n,o.uint32(10).fork()).ldelim();return void 0!==e.pagination&&n.encode(e.pagination,o.uint32(18).fork()).ldelim(),void 0!==e.height&&r.encode(e.height,o.uint32(26).fork()).ldelim(),o},decode(e,o){const i=e instanceof s?e:new s(e);let c=void 0===o?i.len:i.pos+o;const a=f();for(;i.pos<c;){const e=i.uint32();switch(e>>>3){case 1:a.channels.push(t.decode(i,i.uint32()));break;case 2:a.pagination=n.decode(i,i.uint32());break;case 3:a.height=r.decode(i,i.uint32());break;default:i.skipType(7&e)}}return a},fromJSON:e=>({channels:Array.isArray(e?.channels)?e.channels.map((e=>t.fromJSON(e))):[],pagination:p(e.pagination)?n.fromJSON(e.pagination):void 0,height:p(e.height)?r.fromJSON(e.height):void 0}),toJSON(e){const o={};return e.channels?o.channels=e.channels.map((e=>e?t.toJSON(e):void 0)):o.channels=[],void 0!==e.pagination&&(o.pagination=e.pagination?n.toJSON(e.pagination):void 0),void 0!==e.height&&(o.height=e.height?r.toJSON(e.height):void 0),o},fromPartial(e){const o=f();return o.channels=e.channels?.map((e=>t.fromPartial(e)))||[],o.pagination=void 0!==e.pagination&&null!==e.pagination?n.fromPartial(e.pagination):void 0,o.height=void 0!==e.height&&null!==e.height?r.fromPartial(e.height):void 0,o},fromProtoMsg:e=>QueryConnectionChannelsResponse.decode(e.value),toProto:e=>QueryConnectionChannelsResponse.encode(e).finish(),toProtoMsg:e=>({typeUrl:"/ibc.core.channel.v1.QueryConnectionChannelsResponse",value:QueryConnectionChannelsResponse.encode(e).finish()})};export const QueryChannelClientStateRequest={typeUrl:"/ibc.core.channel.v1.QueryChannelClientStateRequest",encode:(e,n=d.create())=>(""!==e.portId&&n.uint32(10).string(e.portId),""!==e.channelId&&n.uint32(18).string(e.channelId),n),decode(e,n){const o=e instanceof s?e:new s(e);let t=void 0===n?o.len:o.pos+n;const i={portId:"",channelId:""};for(;o.pos<t;){const e=o.uint32();switch(e>>>3){case 1:i.portId=o.string();break;case 2:i.channelId=o.string();break;default:o.skipType(7&e)}}return i},fromJSON:e=>({portId:p(e.portId)?String(e.portId):"",channelId:p(e.channelId)?String(e.channelId):""}),toJSON(e){const n={};return void 0!==e.portId&&(n.portId=e.portId),void 0!==e.channelId&&(n.channelId=e.channelId),n},fromPartial(e){const n={portId:"",channelId:""};return n.portId=e.portId??"",n.channelId=e.channelId??"",n},fromProtoMsg:e=>QueryChannelClientStateRequest.decode(e.value),toProto:e=>QueryChannelClientStateRequest.encode(e).finish(),toProtoMsg:e=>({typeUrl:"/ibc.core.channel.v1.QueryChannelClientStateRequest",value:QueryChannelClientStateRequest.encode(e).finish()})};function m(){return{identifiedClientState:void 0,proof:new Uint8Array,proofHeight:r.fromPartial({})}}export const QueryChannelClientStateResponse={typeUrl:"/ibc.core.channel.v1.QueryChannelClientStateResponse",encode:(e,n=d.create())=>(void 0!==e.identifiedClientState&&c.encode(e.identifiedClientState,n.uint32(10).fork()).ldelim(),0!==e.proof.length&&n.uint32(18).bytes(e.proof),void 0!==e.proofHeight&&r.encode(e.proofHeight,n.uint32(26).fork()).ldelim(),n),decode(e,n){const o=e instanceof s?e:new s(e);let t=void 0===n?o.len:o.pos+n;const i=m();for(;o.pos<t;){const e=o.uint32();switch(e>>>3){case 1:i.identifiedClientState=c.decode(o,o.uint32());break;case 2:i.proof=o.bytes();break;case 3:i.proofHeight=r.decode(o,o.uint32());break;default:o.skipType(7&e)}}return i},fromJSON:e=>({identifiedClientState:p(e.identifiedClientState)?c.fromJSON(e.identifiedClientState):void 0,proof:p(e.proof)?u(e.proof):new Uint8Array,proofHeight:p(e.proofHeight)?r.fromJSON(e.proofHeight):void 0}),toJSON(e){const n={};return void 0!==e.identifiedClientState&&(n.identifiedClientState=e.identifiedClientState?c.toJSON(e.identifiedClientState):void 0),void 0!==e.proof&&(n.proof=l(void 0!==e.proof?e.proof:new Uint8Array)),void 0!==e.proofHeight&&(n.proofHeight=e.proofHeight?r.toJSON(e.proofHeight):void 0),n},fromPartial(e){const n=m();return n.identifiedClientState=void 0!==e.identifiedClientState&&null!==e.identifiedClientState?c.fromPartial(e.identifiedClientState):void 0,n.proof=e.proof??new Uint8Array,n.proofHeight=void 0!==e.proofHeight&&null!==e.proofHeight?r.fromPartial(e.proofHeight):void 0,n},fromProtoMsg:e=>QueryChannelClientStateResponse.decode(e.value),toProto:e=>QueryChannelClientStateResponse.encode(e).finish(),toProtoMsg:e=>({typeUrl:"/ibc.core.channel.v1.QueryChannelClientStateResponse",value:QueryChannelClientStateResponse.encode(e).finish()})};function v(){return{portId:"",channelId:"",revisionNumber:BigInt(0),revisionHeight:BigInt(0)}}export const QueryChannelConsensusStateRequest={typeUrl:"/ibc.core.channel.v1.QueryChannelConsensusStateRequest",encode:(e,n=d.create())=>(""!==e.portId&&n.uint32(10).string(e.portId),""!==e.channelId&&n.uint32(18).string(e.channelId),e.revisionNumber!==BigInt(0)&&n.uint32(24).uint64(e.revisionNumber),e.revisionHeight!==BigInt(0)&&n.uint32(32).uint64(e.revisionHeight),n),decode(e,n){const o=e instanceof s?e:new s(e);let t=void 0===n?o.len:o.pos+n;const i=v();for(;o.pos<t;){const e=o.uint32();switch(e>>>3){case 1:i.portId=o.string();break;case 2:i.channelId=o.string();break;case 3:i.revisionNumber=o.uint64();break;case 4:i.revisionHeight=o.uint64();break;default:o.skipType(7&e)}}return i},fromJSON:e=>({portId:p(e.portId)?String(e.portId):"",channelId:p(e.channelId)?String(e.channelId):"",revisionNumber:p(e.revisionNumber)?BigInt(e.revisionNumber.toString()):BigInt(0),revisionHeight:p(e.revisionHeight)?BigInt(e.revisionHeight.toString()):BigInt(0)}),toJSON(e){const n={};return void 0!==e.portId&&(n.portId=e.portId),void 0!==e.channelId&&(n.channelId=e.channelId),void 0!==e.revisionNumber&&(n.revisionNumber=(e.revisionNumber||BigInt(0)).toString()),void 0!==e.revisionHeight&&(n.revisionHeight=(e.revisionHeight||BigInt(0)).toString()),n},fromPartial(e){const n=v();return n.portId=e.portId??"",n.channelId=e.channelId??"",n.revisionNumber=void 0!==e.revisionNumber&&null!==e.revisionNumber?BigInt(e.revisionNumber.toString()):BigInt(0),n.revisionHeight=void 0!==e.revisionHeight&&null!==e.revisionHeight?BigInt(e.revisionHeight.toString()):BigInt(0),n},fromProtoMsg:e=>QueryChannelConsensusStateRequest.decode(e.value),toProto:e=>QueryChannelConsensusStateRequest.encode(e).finish(),toProtoMsg:e=>({typeUrl:"/ibc.core.channel.v1.QueryChannelConsensusStateRequest",value:QueryChannelConsensusStateRequest.encode(e).finish()})};function I(){return{consensusState:void 0,clientId:"",proof:new Uint8Array,proofHeight:r.fromPartial({})}}export const QueryChannelConsensusStateResponse={typeUrl:"/ibc.core.channel.v1.QueryChannelConsensusStateResponse",encode:(e,n=d.create())=>(void 0!==e.consensusState&&a.encode(e.consensusState,n.uint32(10).fork()).ldelim(),""!==e.clientId&&n.uint32(18).string(e.clientId),0!==e.proof.length&&n.uint32(26).bytes(e.proof),void 0!==e.proofHeight&&r.encode(e.proofHeight,n.uint32(34).fork()).ldelim(),n),decode(e,n){const o=e instanceof s?e:new s(e);let t=void 0===n?o.len:o.pos+n;const i=I();for(;o.pos<t;){const e=o.uint32();switch(e>>>3){case 1:i.consensusState=a.decode(o,o.uint32());break;case 2:i.clientId=o.string();break;case 3:i.proof=o.bytes();break;case 4:i.proofHeight=r.decode(o,o.uint32());break;default:o.skipType(7&e)}}return i},fromJSON:e=>({consensusState:p(e.consensusState)?a.fromJSON(e.consensusState):void 0,clientId:p(e.clientId)?String(e.clientId):"",proof:p(e.proof)?u(e.proof):new Uint8Array,proofHeight:p(e.proofHeight)?r.fromJSON(e.proofHeight):void 0}),toJSON(e){const n={};return void 0!==e.consensusState&&(n.consensusState=e.consensusState?a.toJSON(e.consensusState):void 0),void 0!==e.clientId&&(n.clientId=e.clientId),void 0!==e.proof&&(n.proof=l(void 0!==e.proof?e.proof:new Uint8Array)),void 0!==e.proofHeight&&(n.proofHeight=e.proofHeight?r.toJSON(e.proofHeight):void 0),n},fromPartial(e){const n=I();return n.consensusState=void 0!==e.consensusState&&null!==e.consensusState?a.fromPartial(e.consensusState):void 0,n.clientId=e.clientId??"",n.proof=e.proof??new Uint8Array,n.proofHeight=void 0!==e.proofHeight&&null!==e.proofHeight?r.fromPartial(e.proofHeight):void 0,n},fromProtoMsg:e=>QueryChannelConsensusStateResponse.decode(e.value),toProto:e=>QueryChannelConsensusStateResponse.encode(e).finish(),toProtoMsg:e=>({typeUrl:"/ibc.core.channel.v1.QueryChannelConsensusStateResponse",value:QueryChannelConsensusStateResponse.encode(e).finish()})};function k(){return{portId:"",channelId:"",sequence:BigInt(0)}}export const QueryPacketCommitmentRequest={typeUrl:"/ibc.core.channel.v1.QueryPacketCommitmentRequest",encode:(e,n=d.create())=>(""!==e.portId&&n.uint32(10).string(e.portId),""!==e.channelId&&n.uint32(18).string(e.channelId),e.sequence!==BigInt(0)&&n.uint32(24).uint64(e.sequence),n),decode(e,n){const o=e instanceof s?e:new s(e);let t=void 0===n?o.len:o.pos+n;const i=k();for(;o.pos<t;){const e=o.uint32();switch(e>>>3){case 1:i.portId=o.string();break;case 2:i.channelId=o.string();break;case 3:i.sequence=o.uint64();break;default:o.skipType(7&e)}}return i},fromJSON:e=>({portId:p(e.portId)?String(e.portId):"",channelId:p(e.channelId)?String(e.channelId):"",sequence:p(e.sequence)?BigInt(e.sequence.toString()):BigInt(0)}),toJSON(e){const n={};return void 0!==e.portId&&(n.portId=e.portId),void 0!==e.channelId&&(n.channelId=e.channelId),void 0!==e.sequence&&(n.sequence=(e.sequence||BigInt(0)).toString()),n},fromPartial(e){const n=k();return n.portId=e.portId??"",n.channelId=e.channelId??"",n.sequence=void 0!==e.sequence&&null!==e.sequence?BigInt(e.sequence.toString()):BigInt(0),n},fromProtoMsg:e=>QueryPacketCommitmentRequest.decode(e.value),toProto:e=>QueryPacketCommitmentRequest.encode(e).finish(),toProtoMsg:e=>({typeUrl:"/ibc.core.channel.v1.QueryPacketCommitmentRequest",value:QueryPacketCommitmentRequest.encode(e).finish()})};function y(){return{commitment:new Uint8Array,proof:new Uint8Array,proofHeight:r.fromPartial({})}}export const QueryPacketCommitmentResponse={typeUrl:"/ibc.core.channel.v1.QueryPacketCommitmentResponse",encode:(e,n=d.create())=>(0!==e.commitment.length&&n.uint32(10).bytes(e.commitment),0!==e.proof.length&&n.uint32(18).bytes(e.proof),void 0!==e.proofHeight&&r.encode(e.proofHeight,n.uint32(26).fork()).ldelim(),n),decode(e,n){const o=e instanceof s?e:new s(e);let t=void 0===n?o.len:o.pos+n;const i=y();for(;o.pos<t;){const e=o.uint32();switch(e>>>3){case 1:i.commitment=o.bytes();break;case 2:i.proof=o.bytes();break;case 3:i.proofHeight=r.decode(o,o.uint32());break;default:o.skipType(7&e)}}return i},fromJSON:e=>({commitment:p(e.commitment)?u(e.commitment):new Uint8Array,proof:p(e.proof)?u(e.proof):new Uint8Array,proofHeight:p(e.proofHeight)?r.fromJSON(e.proofHeight):void 0}),toJSON(e){const n={};return void 0!==e.commitment&&(n.commitment=l(void 0!==e.commitment?e.commitment:new Uint8Array)),void 0!==e.proof&&(n.proof=l(void 0!==e.proof?e.proof:new Uint8Array)),void 0!==e.proofHeight&&(n.proofHeight=e.proofHeight?r.toJSON(e.proofHeight):void 0),n},fromPartial(e){const n=y();return n.commitment=e.commitment??new Uint8Array,n.proof=e.proof??new Uint8Array,n.proofHeight=void 0!==e.proofHeight&&null!==e.proofHeight?r.fromPartial(e.proofHeight):void 0,n},fromProtoMsg:e=>QueryPacketCommitmentResponse.decode(e.value),toProto:e=>QueryPacketCommitmentResponse.encode(e).finish(),toProtoMsg:e=>({typeUrl:"/ibc.core.channel.v1.QueryPacketCommitmentResponse",value:QueryPacketCommitmentResponse.encode(e).finish()})};export const QueryPacketCommitmentsRequest={typeUrl:"/ibc.core.channel.v1.QueryPacketCommitmentsRequest",encode:(n,o=d.create())=>(""!==n.portId&&o.uint32(10).string(n.portId),""!==n.channelId&&o.uint32(18).string(n.channelId),void 0!==n.pagination&&e.encode(n.pagination,o.uint32(26).fork()).ldelim(),o),decode(n,o){const t=n instanceof s?n:new s(n);let i=void 0===o?t.len:t.pos+o;const r={portId:"",channelId:"",pagination:void 0};for(;t.pos<i;){const n=t.uint32();switch(n>>>3){case 1:r.portId=t.string();break;case 2:r.channelId=t.string();break;case 3:r.pagination=e.decode(t,t.uint32());break;default:t.skipType(7&n)}}return r},fromJSON:n=>({portId:p(n.portId)?String(n.portId):"",channelId:p(n.channelId)?String(n.channelId):"",pagination:p(n.pagination)?e.fromJSON(n.pagination):void 0}),toJSON(n){const o={};return void 0!==n.portId&&(o.portId=n.portId),void 0!==n.channelId&&(o.channelId=n.channelId),void 0!==n.pagination&&(o.pagination=n.pagination?e.toJSON(n.pagination):void 0),o},fromPartial(n){const o={portId:"",channelId:"",pagination:void 0};return o.portId=n.portId??"",o.channelId=n.channelId??"",o.pagination=void 0!==n.pagination&&null!==n.pagination?e.fromPartial(n.pagination):void 0,o},fromProtoMsg:e=>QueryPacketCommitmentsRequest.decode(e.value),toProto:e=>QueryPacketCommitmentsRequest.encode(e).finish(),toProtoMsg:e=>({typeUrl:"/ibc.core.channel.v1.QueryPacketCommitmentsRequest",value:QueryPacketCommitmentsRequest.encode(e).finish()})};function S(){return{commitments:[],pagination:void 0,height:r.fromPartial({})}}export const QueryPacketCommitmentsResponse={typeUrl:"/ibc.core.channel.v1.QueryPacketCommitmentsResponse",encode(e,o=d.create()){for(const n of e.commitments)i.encode(n,o.uint32(10).fork()).ldelim();return void 0!==e.pagination&&n.encode(e.pagination,o.uint32(18).fork()).ldelim(),void 0!==e.height&&r.encode(e.height,o.uint32(26).fork()).ldelim(),o},decode(e,o){const t=e instanceof s?e:new s(e);let c=void 0===o?t.len:t.pos+o;const a=S();for(;t.pos<c;){const e=t.uint32();switch(e>>>3){case 1:a.commitments.push(i.decode(t,t.uint32()));break;case 2:a.pagination=n.decode(t,t.uint32());break;case 3:a.height=r.decode(t,t.uint32());break;default:t.skipType(7&e)}}return a},fromJSON:e=>({commitments:Array.isArray(e?.commitments)?e.commitments.map((e=>i.fromJSON(e))):[],pagination:p(e.pagination)?n.fromJSON(e.pagination):void 0,height:p(e.height)?r.fromJSON(e.height):void 0}),toJSON(e){const o={};return e.commitments?o.commitments=e.commitments.map((e=>e?i.toJSON(e):void 0)):o.commitments=[],void 0!==e.pagination&&(o.pagination=e.pagination?n.toJSON(e.pagination):void 0),void 0!==e.height&&(o.height=e.height?r.toJSON(e.height):void 0),o},fromPartial(e){const o=S();return o.commitments=e.commitments?.map((e=>i.fromPartial(e)))||[],o.pagination=void 0!==e.pagination&&null!==e.pagination?n.fromPartial(e.pagination):void 0,o.height=void 0!==e.height&&null!==e.height?r.fromPartial(e.height):void 0,o},fromProtoMsg:e=>QueryPacketCommitmentsResponse.decode(e.value),toProto:e=>QueryPacketCommitmentsResponse.encode(e).finish(),toProtoMsg:e=>({typeUrl:"/ibc.core.channel.v1.QueryPacketCommitmentsResponse",value:QueryPacketCommitmentsResponse.encode(e).finish()})};function P(){return{portId:"",channelId:"",sequence:BigInt(0)}}export const QueryPacketReceiptRequest={typeUrl:"/ibc.core.channel.v1.QueryPacketReceiptRequest",encode:(e,n=d.create())=>(""!==e.portId&&n.uint32(10).string(e.portId),""!==e.channelId&&n.uint32(18).string(e.channelId),e.sequence!==BigInt(0)&&n.uint32(24).uint64(e.sequence),n),decode(e,n){const o=e instanceof s?e:new s(e);let t=void 0===n?o.len:o.pos+n;const i=P();for(;o.pos<t;){const e=o.uint32();switch(e>>>3){case 1:i.portId=o.string();break;case 2:i.channelId=o.string();break;case 3:i.sequence=o.uint64();break;default:o.skipType(7&e)}}return i},fromJSON:e=>({portId:p(e.portId)?String(e.portId):"",channelId:p(e.channelId)?String(e.channelId):"",sequence:p(e.sequence)?BigInt(e.sequence.toString()):BigInt(0)}),toJSON(e){const n={};return void 0!==e.portId&&(n.portId=e.portId),void 0!==e.channelId&&(n.channelId=e.channelId),void 0!==e.sequence&&(n.sequence=(e.sequence||BigInt(0)).toString()),n},fromPartial(e){const n=P();return n.portId=e.portId??"",n.channelId=e.channelId??"",n.sequence=void 0!==e.sequence&&null!==e.sequence?BigInt(e.sequence.toString()):BigInt(0),n},fromProtoMsg:e=>QueryPacketReceiptRequest.decode(e.value),toProto:e=>QueryPacketReceiptRequest.encode(e).finish(),toProtoMsg:e=>({typeUrl:"/ibc.core.channel.v1.QueryPacketReceiptRequest",value:QueryPacketReceiptRequest.encode(e).finish()})};function q(){return{received:!1,proof:new Uint8Array,proofHeight:r.fromPartial({})}}export const QueryPacketReceiptResponse={typeUrl:"/ibc.core.channel.v1.QueryPacketReceiptResponse",encode:(e,n=d.create())=>(!0===e.received&&n.uint32(16).bool(e.received),0!==e.proof.length&&n.uint32(26).bytes(e.proof),void 0!==e.proofHeight&&r.encode(e.proofHeight,n.uint32(34).fork()).ldelim(),n),decode(e,n){const o=e instanceof s?e:new s(e);let t=void 0===n?o.len:o.pos+n;const i=q();for(;o.pos<t;){const e=o.uint32();switch(e>>>3){case 2:i.received=o.bool();break;case 3:i.proof=o.bytes();break;case 4:i.proofHeight=r.decode(o,o.uint32());break;default:o.skipType(7&e)}}return i},fromJSON:e=>({received:!!p(e.received)&&Boolean(e.received),proof:p(e.proof)?u(e.proof):new Uint8Array,proofHeight:p(e.proofHeight)?r.fromJSON(e.proofHeight):void 0}),toJSON(e){const n={};return void 0!==e.received&&(n.received=e.received),void 0!==e.proof&&(n.proof=l(void 0!==e.proof?e.proof:new Uint8Array)),void 0!==e.proofHeight&&(n.proofHeight=e.proofHeight?r.toJSON(e.proofHeight):void 0),n},fromPartial(e){const n=q();return n.received=e.received??!1,n.proof=e.proof??new Uint8Array,n.proofHeight=void 0!==e.proofHeight&&null!==e.proofHeight?r.fromPartial(e.proofHeight):void 0,n},fromProtoMsg:e=>QueryPacketReceiptResponse.decode(e.value),toProto:e=>QueryPacketReceiptResponse.encode(e).finish(),toProtoMsg:e=>({typeUrl:"/ibc.core.channel.v1.QueryPacketReceiptResponse",value:QueryPacketReceiptResponse.encode(e).finish()})};function R(){return{portId:"",channelId:"",sequence:BigInt(0)}}export const QueryPacketAcknowledgementRequest={typeUrl:"/ibc.core.channel.v1.QueryPacketAcknowledgementRequest",encode:(e,n=d.create())=>(""!==e.portId&&n.uint32(10).string(e.portId),""!==e.channelId&&n.uint32(18).string(e.channelId),e.sequence!==BigInt(0)&&n.uint32(24).uint64(e.sequence),n),decode(e,n){const o=e instanceof s?e:new s(e);let t=void 0===n?o.len:o.pos+n;const i=R();for(;o.pos<t;){const e=o.uint32();switch(e>>>3){case 1:i.portId=o.string();break;case 2:i.channelId=o.string();break;case 3:i.sequence=o.uint64();break;default:o.skipType(7&e)}}return i},fromJSON:e=>({portId:p(e.portId)?String(e.portId):"",channelId:p(e.channelId)?String(e.channelId):"",sequence:p(e.sequence)?BigInt(e.sequence.toString()):BigInt(0)}),toJSON(e){const n={};return void 0!==e.portId&&(n.portId=e.portId),void 0!==e.channelId&&(n.channelId=e.channelId),void 0!==e.sequence&&(n.sequence=(e.sequence||BigInt(0)).toString()),n},fromPartial(e){const n=R();return n.portId=e.portId??"",n.channelId=e.channelId??"",n.sequence=void 0!==e.sequence&&null!==e.sequence?BigInt(e.sequence.toString()):BigInt(0),n},fromProtoMsg:e=>QueryPacketAcknowledgementRequest.decode(e.value),toProto:e=>QueryPacketAcknowledgementRequest.encode(e).finish(),toProtoMsg:e=>({typeUrl:"/ibc.core.channel.v1.QueryPacketAcknowledgementRequest",value:QueryPacketAcknowledgementRequest.encode(e).finish()})};function C(){return{acknowledgement:new Uint8Array,proof:new Uint8Array,proofHeight:r.fromPartial({})}}export const QueryPacketAcknowledgementResponse={typeUrl:"/ibc.core.channel.v1.QueryPacketAcknowledgementResponse",encode:(e,n=d.create())=>(0!==e.acknowledgement.length&&n.uint32(10).bytes(e.acknowledgement),0!==e.proof.length&&n.uint32(18).bytes(e.proof),void 0!==e.proofHeight&&r.encode(e.proofHeight,n.uint32(26).fork()).ldelim(),n),decode(e,n){const o=e instanceof s?e:new s(e);let t=void 0===n?o.len:o.pos+n;const i=C();for(;o.pos<t;){const e=o.uint32();switch(e>>>3){case 1:i.acknowledgement=o.bytes();break;case 2:i.proof=o.bytes();break;case 3:i.proofHeight=r.decode(o,o.uint32());break;default:o.skipType(7&e)}}return i},fromJSON:e=>({acknowledgement:p(e.acknowledgement)?u(e.acknowledgement):new Uint8Array,proof:p(e.proof)?u(e.proof):new Uint8Array,proofHeight:p(e.proofHeight)?r.fromJSON(e.proofHeight):void 0}),toJSON(e){const n={};return void 0!==e.acknowledgement&&(n.acknowledgement=l(void 0!==e.acknowledgement?e.acknowledgement:new Uint8Array)),void 0!==e.proof&&(n.proof=l(void 0!==e.proof?e.proof:new Uint8Array)),void 0!==e.proofHeight&&(n.proofHeight=e.proofHeight?r.toJSON(e.proofHeight):void 0),n},fromPartial(e){const n=C();return n.acknowledgement=e.acknowledgement??new Uint8Array,n.proof=e.proof??new Uint8Array,n.proofHeight=void 0!==e.proofHeight&&null!==e.proofHeight?r.fromPartial(e.proofHeight):void 0,n},fromProtoMsg:e=>QueryPacketAcknowledgementResponse.decode(e.value),toProto:e=>QueryPacketAcknowledgementResponse.encode(e).finish(),toProtoMsg:e=>({typeUrl:"/ibc.core.channel.v1.QueryPacketAcknowledgementResponse",value:QueryPacketAcknowledgementResponse.encode(e).finish()})};export const QueryPacketAcknowledgementsRequest={typeUrl:"/ibc.core.channel.v1.QueryPacketAcknowledgementsRequest",encode(n,o=d.create()){""!==n.portId&&o.uint32(10).string(n.portId),""!==n.channelId&&o.uint32(18).string(n.channelId),void 0!==n.pagination&&e.encode(n.pagination,o.uint32(26).fork()).ldelim(),o.uint32(34).fork();for(const e of n.packetCommitmentSequences)o.uint64(e);return o.ldelim(),o},decode(n,o){const t=n instanceof s?n:new s(n);let i=void 0===o?t.len:t.pos+o;const r={portId:"",channelId:"",pagination:void 0,packetCommitmentSequences:[]};for(;t.pos<i;){const n=t.uint32();switch(n>>>3){case 1:r.portId=t.string();break;case 2:r.channelId=t.string();break;case 3:r.pagination=e.decode(t,t.uint32());break;case 4:if(2==(7&n)){const e=t.uint32()+t.pos;for(;t.pos<e;)r.packetCommitmentSequences.push(t.uint64())}else r.packetCommitmentSequences.push(t.uint64());break;default:t.skipType(7&n)}}return r},fromJSON:n=>({portId:p(n.portId)?String(n.portId):"",channelId:p(n.channelId)?String(n.channelId):"",pagination:p(n.pagination)?e.fromJSON(n.pagination):void 0,packetCommitmentSequences:Array.isArray(n?.packetCommitmentSequences)?n.packetCommitmentSequences.map((e=>BigInt(e.toString()))):[]}),toJSON(n){const o={};return void 0!==n.portId&&(o.portId=n.portId),void 0!==n.channelId&&(o.channelId=n.channelId),void 0!==n.pagination&&(o.pagination=n.pagination?e.toJSON(n.pagination):void 0),n.packetCommitmentSequences?o.packetCommitmentSequences=n.packetCommitmentSequences.map((e=>(e||BigInt(0)).toString())):o.packetCommitmentSequences=[],o},fromPartial(n){const o={portId:"",channelId:"",pagination:void 0,packetCommitmentSequences:[]};return o.portId=n.portId??"",o.channelId=n.channelId??"",o.pagination=void 0!==n.pagination&&null!==n.pagination?e.fromPartial(n.pagination):void 0,o.packetCommitmentSequences=n.packetCommitmentSequences?.map((e=>BigInt(e.toString())))||[],o},fromProtoMsg:e=>QueryPacketAcknowledgementsRequest.decode(e.value),toProto:e=>QueryPacketAcknowledgementsRequest.encode(e).finish(),toProtoMsg:e=>({typeUrl:"/ibc.core.channel.v1.QueryPacketAcknowledgementsRequest",value:QueryPacketAcknowledgementsRequest.encode(e).finish()})};function b(){return{acknowledgements:[],pagination:void 0,height:r.fromPartial({})}}export const QueryPacketAcknowledgementsResponse={typeUrl:"/ibc.core.channel.v1.QueryPacketAcknowledgementsResponse",encode(e,o=d.create()){for(const n of e.acknowledgements)i.encode(n,o.uint32(10).fork()).ldelim();return void 0!==e.pagination&&n.encode(e.pagination,o.uint32(18).fork()).ldelim(),void 0!==e.height&&r.encode(e.height,o.uint32(26).fork()).ldelim(),o},decode(e,o){const t=e instanceof s?e:new s(e);let c=void 0===o?t.len:t.pos+o;const a=b();for(;t.pos<c;){const e=t.uint32();switch(e>>>3){case 1:a.acknowledgements.push(i.decode(t,t.uint32()));break;case 2:a.pagination=n.decode(t,t.uint32());break;case 3:a.height=r.decode(t,t.uint32());break;default:t.skipType(7&e)}}return a},fromJSON:e=>({acknowledgements:Array.isArray(e?.acknowledgements)?e.acknowledgements.map((e=>i.fromJSON(e))):[],pagination:p(e.pagination)?n.fromJSON(e.pagination):void 0,height:p(e.height)?r.fromJSON(e.height):void 0}),toJSON(e){const o={};return e.acknowledgements?o.acknowledgements=e.acknowledgements.map((e=>e?i.toJSON(e):void 0)):o.acknowledgements=[],void 0!==e.pagination&&(o.pagination=e.pagination?n.toJSON(e.pagination):void 0),void 0!==e.height&&(o.height=e.height?r.toJSON(e.height):void 0),o},fromPartial(e){const o=b();return o.acknowledgements=e.acknowledgements?.map((e=>i.fromPartial(e)))||[],o.pagination=void 0!==e.pagination&&null!==e.pagination?n.fromPartial(e.pagination):void 0,o.height=void 0!==e.height&&null!==e.height?r.fromPartial(e.height):void 0,o},fromProtoMsg:e=>QueryPacketAcknowledgementsResponse.decode(e.value),toProto:e=>QueryPacketAcknowledgementsResponse.encode(e).finish(),toProtoMsg:e=>({typeUrl:"/ibc.core.channel.v1.QueryPacketAcknowledgementsResponse",value:QueryPacketAcknowledgementsResponse.encode(e).finish()})};export const QueryUnreceivedPacketsRequest={typeUrl:"/ibc.core.channel.v1.QueryUnreceivedPacketsRequest",encode(e,n=d.create()){""!==e.portId&&n.uint32(10).string(e.portId),""!==e.channelId&&n.uint32(18).string(e.channelId),n.uint32(26).fork();for(const o of e.packetCommitmentSequences)n.uint64(o);return n.ldelim(),n},decode(e,n){const o=e instanceof s?e:new s(e);let t=void 0===n?o.len:o.pos+n;const i={portId:"",channelId:"",packetCommitmentSequences:[]};for(;o.pos<t;){const e=o.uint32();switch(e>>>3){case 1:i.portId=o.string();break;case 2:i.channelId=o.string();break;case 3:if(2==(7&e)){const e=o.uint32()+o.pos;for(;o.pos<e;)i.packetCommitmentSequences.push(o.uint64())}else i.packetCommitmentSequences.push(o.uint64());break;default:o.skipType(7&e)}}return i},fromJSON:e=>({portId:p(e.portId)?String(e.portId):"",channelId:p(e.channelId)?String(e.channelId):"",packetCommitmentSequences:Array.isArray(e?.packetCommitmentSequences)?e.packetCommitmentSequences.map((e=>BigInt(e.toString()))):[]}),toJSON(e){const n={};return void 0!==e.portId&&(n.portId=e.portId),void 0!==e.channelId&&(n.channelId=e.channelId),e.packetCommitmentSequences?n.packetCommitmentSequences=e.packetCommitmentSequences.map((e=>(e||BigInt(0)).toString())):n.packetCommitmentSequences=[],n},fromPartial(e){const n={portId:"",channelId:"",packetCommitmentSequences:[]};return n.portId=e.portId??"",n.channelId=e.channelId??"",n.packetCommitmentSequences=e.packetCommitmentSequences?.map((e=>BigInt(e.toString())))||[],n},fromProtoMsg:e=>QueryUnreceivedPacketsRequest.decode(e.value),toProto:e=>QueryUnreceivedPacketsRequest.encode(e).finish(),toProtoMsg:e=>({typeUrl:"/ibc.core.channel.v1.QueryUnreceivedPacketsRequest",value:QueryUnreceivedPacketsRequest.encode(e).finish()})};function Q(){return{sequences:[],height:r.fromPartial({})}}export const QueryUnreceivedPacketsResponse={typeUrl:"/ibc.core.channel.v1.QueryUnreceivedPacketsResponse",encode(e,n=d.create()){n.uint32(10).fork();for(const o of e.sequences)n.uint64(o);return n.ldelim(),void 0!==e.height&&r.encode(e.height,n.uint32(18).fork()).ldelim(),n},decode(e,n){const o=e instanceof s?e:new s(e);let t=void 0===n?o.len:o.pos+n;const i=Q();for(;o.pos<t;){const e=o.uint32();switch(e>>>3){case 1:if(2==(7&e)){const e=o.uint32()+o.pos;for(;o.pos<e;)i.sequences.push(o.uint64())}else i.sequences.push(o.uint64());break;case 2:i.height=r.decode(o,o.uint32());break;default:o.skipType(7&e)}}return i},fromJSON:e=>({sequences:Array.isArray(e?.sequences)?e.sequences.map((e=>BigInt(e.toString()))):[],height:p(e.height)?r.fromJSON(e.height):void 0}),toJSON(e){const n={};return e.sequences?n.sequences=e.sequences.map((e=>(e||BigInt(0)).toString())):n.sequences=[],void 0!==e.height&&(n.height=e.height?r.toJSON(e.height):void 0),n},fromPartial(e){const n=Q();return n.sequences=e.sequences?.map((e=>BigInt(e.toString())))||[],n.height=void 0!==e.height&&null!==e.height?r.fromPartial(e.height):void 0,n},fromProtoMsg:e=>QueryUnreceivedPacketsResponse.decode(e.value),toProto:e=>QueryUnreceivedPacketsResponse.encode(e).finish(),toProtoMsg:e=>({typeUrl:"/ibc.core.channel.v1.QueryUnreceivedPacketsResponse",value:QueryUnreceivedPacketsResponse.encode(e).finish()})};export const QueryUnreceivedAcksRequest={typeUrl:"/ibc.core.channel.v1.QueryUnreceivedAcksRequest",encode(e,n=d.create()){""!==e.portId&&n.uint32(10).string(e.portId),""!==e.channelId&&n.uint32(18).string(e.channelId),n.uint32(26).fork();for(const o of e.packetAckSequences)n.uint64(o);return n.ldelim(),n},decode(e,n){const o=e instanceof s?e:new s(e);let t=void 0===n?o.len:o.pos+n;const i={portId:"",channelId:"",packetAckSequences:[]};for(;o.pos<t;){const e=o.uint32();switch(e>>>3){case 1:i.portId=o.string();break;case 2:i.channelId=o.string();break;case 3:if(2==(7&e)){const e=o.uint32()+o.pos;for(;o.pos<e;)i.packetAckSequences.push(o.uint64())}else i.packetAckSequences.push(o.uint64());break;default:o.skipType(7&e)}}return i},fromJSON:e=>({portId:p(e.portId)?String(e.portId):"",channelId:p(e.channelId)?String(e.channelId):"",packetAckSequences:Array.isArray(e?.packetAckSequences)?e.packetAckSequences.map((e=>BigInt(e.toString()))):[]}),toJSON(e){const n={};return void 0!==e.portId&&(n.portId=e.portId),void 0!==e.channelId&&(n.channelId=e.channelId),e.packetAckSequences?n.packetAckSequences=e.packetAckSequences.map((e=>(e||BigInt(0)).toString())):n.packetAckSequences=[],n},fromPartial(e){const n={portId:"",channelId:"",packetAckSequences:[]};return n.portId=e.portId??"",n.channelId=e.channelId??"",n.packetAckSequences=e.packetAckSequences?.map((e=>BigInt(e.toString())))||[],n},fromProtoMsg:e=>QueryUnreceivedAcksRequest.decode(e.value),toProto:e=>QueryUnreceivedAcksRequest.encode(e).finish(),toProtoMsg:e=>({typeUrl:"/ibc.core.channel.v1.QueryUnreceivedAcksRequest",value:QueryUnreceivedAcksRequest.encode(e).finish()})};function w(){return{sequences:[],height:r.fromPartial({})}}export const QueryUnreceivedAcksResponse={typeUrl:"/ibc.core.channel.v1.QueryUnreceivedAcksResponse",encode(e,n=d.create()){n.uint32(10).fork();for(const o of e.sequences)n.uint64(o);return n.ldelim(),void 0!==e.height&&r.encode(e.height,n.uint32(18).fork()).ldelim(),n},decode(e,n){const o=e instanceof s?e:new s(e);let t=void 0===n?o.len:o.pos+n;const i=w();for(;o.pos<t;){const e=o.uint32();switch(e>>>3){case 1:if(2==(7&e)){const e=o.uint32()+o.pos;for(;o.pos<e;)i.sequences.push(o.uint64())}else i.sequences.push(o.uint64());break;case 2:i.height=r.decode(o,o.uint32());break;default:o.skipType(7&e)}}return i},fromJSON:e=>({sequences:Array.isArray(e?.sequences)?e.sequences.map((e=>BigInt(e.toString()))):[],height:p(e.height)?r.fromJSON(e.height):void 0}),toJSON(e){const n={};return e.sequences?n.sequences=e.sequences.map((e=>(e||BigInt(0)).toString())):n.sequences=[],void 0!==e.height&&(n.height=e.height?r.toJSON(e.height):void 0),n},fromPartial(e){const n=w();return n.sequences=e.sequences?.map((e=>BigInt(e.toString())))||[],n.height=void 0!==e.height&&null!==e.height?r.fromPartial(e.height):void 0,n},fromProtoMsg:e=>QueryUnreceivedAcksResponse.decode(e.value),toProto:e=>QueryUnreceivedAcksResponse.encode(e).finish(),toProtoMsg:e=>({typeUrl:"/ibc.core.channel.v1.QueryUnreceivedAcksResponse",value:QueryUnreceivedAcksResponse.encode(e).finish()})};export const QueryNextSequenceReceiveRequest={typeUrl:"/ibc.core.channel.v1.QueryNextSequenceReceiveRequest",encode:(e,n=d.create())=>(""!==e.portId&&n.uint32(10).string(e.portId),""!==e.channelId&&n.uint32(18).string(e.channelId),n),decode(e,n){const o=e instanceof s?e:new s(e);let t=void 0===n?o.len:o.pos+n;const i={portId:"",channelId:""};for(;o.pos<t;){const e=o.uint32();switch(e>>>3){case 1:i.portId=o.string();break;case 2:i.channelId=o.string();break;default:o.skipType(7&e)}}return i},fromJSON:e=>({portId:p(e.portId)?String(e.portId):"",channelId:p(e.channelId)?String(e.channelId):""}),toJSON(e){const n={};return void 0!==e.portId&&(n.portId=e.portId),void 0!==e.channelId&&(n.channelId=e.channelId),n},fromPartial(e){const n={portId:"",channelId:""};return n.portId=e.portId??"",n.channelId=e.channelId??"",n},fromProtoMsg:e=>QueryNextSequenceReceiveRequest.decode(e.value),toProto:e=>QueryNextSequenceReceiveRequest.encode(e).finish(),toProtoMsg:e=>({typeUrl:"/ibc.core.channel.v1.QueryNextSequenceReceiveRequest",value:QueryNextSequenceReceiveRequest.encode(e).finish()})};function N(){return{nextSequenceReceive:BigInt(0),proof:new Uint8Array,proofHeight:r.fromPartial({})}}export const QueryNextSequenceReceiveResponse={typeUrl:"/ibc.core.channel.v1.QueryNextSequenceReceiveResponse",encode:(e,n=d.create())=>(e.nextSequenceReceive!==BigInt(0)&&n.uint32(8).uint64(e.nextSequenceReceive),0!==e.proof.length&&n.uint32(18).bytes(e.proof),void 0!==e.proofHeight&&r.encode(e.proofHeight,n.uint32(26).fork()).ldelim(),n),decode(e,n){const o=e instanceof s?e:new s(e);let t=void 0===n?o.len:o.pos+n;const i=N();for(;o.pos<t;){const e=o.uint32();switch(e>>>3){case 1:i.nextSequenceReceive=o.uint64();break;case 2:i.proof=o.bytes();break;case 3:i.proofHeight=r.decode(o,o.uint32());break;default:o.skipType(7&e)}}return i},fromJSON:e=>({nextSequenceReceive:p(e.nextSequenceReceive)?BigInt(e.nextSequenceReceive.toString()):BigInt(0),proof:p(e.proof)?u(e.proof):new Uint8Array,proofHeight:p(e.proofHeight)?r.fromJSON(e.proofHeight):void 0}),toJSON(e){const n={};return void 0!==e.nextSequenceReceive&&(n.nextSequenceReceive=(e.nextSequenceReceive||BigInt(0)).toString()),void 0!==e.proof&&(n.proof=l(void 0!==e.proof?e.proof:new Uint8Array)),void 0!==e.proofHeight&&(n.proofHeight=e.proofHeight?r.toJSON(e.proofHeight):void 0),n},fromPartial(e){const n=N();return n.nextSequenceReceive=void 0!==e.nextSequenceReceive&&null!==e.nextSequenceReceive?BigInt(e.nextSequenceReceive.toString()):BigInt(0),n.proof=e.proof??new Uint8Array,n.proofHeight=void 0!==e.proofHeight&&null!==e.proofHeight?r.fromPartial(e.proofHeight):void 0,n},fromProtoMsg:e=>QueryNextSequenceReceiveResponse.decode(e.value),toProto:e=>QueryNextSequenceReceiveResponse.encode(e).finish(),toProtoMsg:e=>({typeUrl:"/ibc.core.channel.v1.QueryNextSequenceReceiveResponse",value:QueryNextSequenceReceiveResponse.encode(e).finish()})};
|
|
1
|
+
import{PageRequest as e,PageResponse as n}from"../../../../cosmos/base/query/v1beta1/pagination.js";import{Channel as o,IdentifiedChannel as t,PacketState as i}from"./channel.js";import{Height as r,IdentifiedClientState as c}from"../../client/v1/client.js";import{Any as a}from"../../../../google/protobuf/any.js";import{BinaryReader as s,BinaryWriter as d}from"../../../../binary.js";import{isSet as p}from"../../../../helpers.js";import{}from"../../../../json-safe.js";import{decodeBase64 as u}from"@endo/base64";import{encodeBase64 as l}from"@endo/base64";export const QueryChannelRequest={typeUrl:"/ibc.core.channel.v1.QueryChannelRequest",encode:(e,n=d.create())=>(""!==e.portId&&n.uint32(10).string(e.portId),""!==e.channelId&&n.uint32(18).string(e.channelId),n),decode(e,n){const o=e instanceof s?e:new s(e);let t=void 0===n?o.len:o.pos+n;const i={portId:"",channelId:""};for(;o.pos<t;){const e=o.uint32();switch(e>>>3){case 1:i.portId=o.string();break;case 2:i.channelId=o.string();break;default:o.skipType(7&e)}}return i},fromJSON:e=>({portId:p(e.portId)?String(e.portId):"",channelId:p(e.channelId)?String(e.channelId):""}),toJSON(e){const n={};return void 0!==e.portId&&(n.portId=e.portId),void 0!==e.channelId&&(n.channelId=e.channelId),n},fromPartial(e){const n={portId:"",channelId:""};return n.portId=e.portId??"",n.channelId=e.channelId??"",n},fromProtoMsg:e=>QueryChannelRequest.decode(e.value),toProto:e=>QueryChannelRequest.encode(e).finish(),toProtoMsg:e=>({typeUrl:"/ibc.core.channel.v1.QueryChannelRequest",value:QueryChannelRequest.encode(e).finish()})};function h(){return{channel:void 0,proof:new Uint8Array,proofHeight:r.fromPartial({})}}export const QueryChannelResponse={typeUrl:"/ibc.core.channel.v1.QueryChannelResponse",encode:(e,n=d.create())=>(void 0!==e.channel&&o.encode(e.channel,n.uint32(10).fork()).ldelim(),0!==e.proof.length&&n.uint32(18).bytes(e.proof),void 0!==e.proofHeight&&r.encode(e.proofHeight,n.uint32(26).fork()).ldelim(),n),decode(e,n){const t=e instanceof s?e:new s(e);let i=void 0===n?t.len:t.pos+n;const c=h();for(;t.pos<i;){const e=t.uint32();switch(e>>>3){case 1:c.channel=o.decode(t,t.uint32());break;case 2:c.proof=t.bytes();break;case 3:c.proofHeight=r.decode(t,t.uint32());break;default:t.skipType(7&e)}}return c},fromJSON:e=>({channel:p(e.channel)?o.fromJSON(e.channel):void 0,proof:p(e.proof)?u(e.proof):new Uint8Array,proofHeight:p(e.proofHeight)?r.fromJSON(e.proofHeight):void 0}),toJSON(e){const n={};return void 0!==e.channel&&(n.channel=e.channel?o.toJSON(e.channel):void 0),void 0!==e.proof&&(n.proof=l(void 0!==e.proof?e.proof:new Uint8Array)),void 0!==e.proofHeight&&(n.proofHeight=e.proofHeight?r.toJSON(e.proofHeight):void 0),n},fromPartial(e){const n=h();return n.channel=void 0!==e.channel&&null!==e.channel?o.fromPartial(e.channel):void 0,n.proof=e.proof??new Uint8Array,n.proofHeight=void 0!==e.proofHeight&&null!==e.proofHeight?r.fromPartial(e.proofHeight):void 0,n},fromProtoMsg:e=>QueryChannelResponse.decode(e.value),toProto:e=>QueryChannelResponse.encode(e).finish(),toProtoMsg:e=>({typeUrl:"/ibc.core.channel.v1.QueryChannelResponse",value:QueryChannelResponse.encode(e).finish()})};export const QueryChannelsRequest={typeUrl:"/ibc.core.channel.v1.QueryChannelsRequest",encode:(n,o=d.create())=>(void 0!==n.pagination&&e.encode(n.pagination,o.uint32(10).fork()).ldelim(),o),decode(n,o){const t=n instanceof s?n:new s(n);let i=void 0===o?t.len:t.pos+o;const r={pagination:void 0};for(;t.pos<i;){const n=t.uint32();if(n>>>3==1)r.pagination=e.decode(t,t.uint32());else t.skipType(7&n)}return r},fromJSON:n=>({pagination:p(n.pagination)?e.fromJSON(n.pagination):void 0}),toJSON(n){const o={};return void 0!==n.pagination&&(o.pagination=n.pagination?e.toJSON(n.pagination):void 0),o},fromPartial(n){const o={pagination:void 0};return o.pagination=void 0!==n.pagination&&null!==n.pagination?e.fromPartial(n.pagination):void 0,o},fromProtoMsg:e=>QueryChannelsRequest.decode(e.value),toProto:e=>QueryChannelsRequest.encode(e).finish(),toProtoMsg:e=>({typeUrl:"/ibc.core.channel.v1.QueryChannelsRequest",value:QueryChannelsRequest.encode(e).finish()})};function g(){return{channels:[],pagination:void 0,height:r.fromPartial({})}}export const QueryChannelsResponse={typeUrl:"/ibc.core.channel.v1.QueryChannelsResponse",encode(e,o=d.create()){for(const n of e.channels)t.encode(n,o.uint32(10).fork()).ldelim();return void 0!==e.pagination&&n.encode(e.pagination,o.uint32(18).fork()).ldelim(),void 0!==e.height&&r.encode(e.height,o.uint32(26).fork()).ldelim(),o},decode(e,o){const i=e instanceof s?e:new s(e);let c=void 0===o?i.len:i.pos+o;const a=g();for(;i.pos<c;){const e=i.uint32();switch(e>>>3){case 1:a.channels.push(t.decode(i,i.uint32()));break;case 2:a.pagination=n.decode(i,i.uint32());break;case 3:a.height=r.decode(i,i.uint32());break;default:i.skipType(7&e)}}return a},fromJSON:e=>({channels:Array.isArray(e?.channels)?e.channels.map((e=>t.fromJSON(e))):[],pagination:p(e.pagination)?n.fromJSON(e.pagination):void 0,height:p(e.height)?r.fromJSON(e.height):void 0}),toJSON(e){const o={};return e.channels?o.channels=e.channels.map((e=>e?t.toJSON(e):void 0)):o.channels=[],void 0!==e.pagination&&(o.pagination=e.pagination?n.toJSON(e.pagination):void 0),void 0!==e.height&&(o.height=e.height?r.toJSON(e.height):void 0),o},fromPartial(e){const o=g();return o.channels=e.channels?.map((e=>t.fromPartial(e)))||[],o.pagination=void 0!==e.pagination&&null!==e.pagination?n.fromPartial(e.pagination):void 0,o.height=void 0!==e.height&&null!==e.height?r.fromPartial(e.height):void 0,o},fromProtoMsg:e=>QueryChannelsResponse.decode(e.value),toProto:e=>QueryChannelsResponse.encode(e).finish(),toProtoMsg:e=>({typeUrl:"/ibc.core.channel.v1.QueryChannelsResponse",value:QueryChannelsResponse.encode(e).finish()})};export const QueryConnectionChannelsRequest={typeUrl:"/ibc.core.channel.v1.QueryConnectionChannelsRequest",encode:(n,o=d.create())=>(""!==n.connection&&o.uint32(10).string(n.connection),void 0!==n.pagination&&e.encode(n.pagination,o.uint32(18).fork()).ldelim(),o),decode(n,o){const t=n instanceof s?n:new s(n);let i=void 0===o?t.len:t.pos+o;const r={connection:"",pagination:void 0};for(;t.pos<i;){const n=t.uint32();switch(n>>>3){case 1:r.connection=t.string();break;case 2:r.pagination=e.decode(t,t.uint32());break;default:t.skipType(7&n)}}return r},fromJSON:n=>({connection:p(n.connection)?String(n.connection):"",pagination:p(n.pagination)?e.fromJSON(n.pagination):void 0}),toJSON(n){const o={};return void 0!==n.connection&&(o.connection=n.connection),void 0!==n.pagination&&(o.pagination=n.pagination?e.toJSON(n.pagination):void 0),o},fromPartial(n){const o={connection:"",pagination:void 0};return o.connection=n.connection??"",o.pagination=void 0!==n.pagination&&null!==n.pagination?e.fromPartial(n.pagination):void 0,o},fromProtoMsg:e=>QueryConnectionChannelsRequest.decode(e.value),toProto:e=>QueryConnectionChannelsRequest.encode(e).finish(),toProtoMsg:e=>({typeUrl:"/ibc.core.channel.v1.QueryConnectionChannelsRequest",value:QueryConnectionChannelsRequest.encode(e).finish()})};function f(){return{channels:[],pagination:void 0,height:r.fromPartial({})}}export const QueryConnectionChannelsResponse={typeUrl:"/ibc.core.channel.v1.QueryConnectionChannelsResponse",encode(e,o=d.create()){for(const n of e.channels)t.encode(n,o.uint32(10).fork()).ldelim();return void 0!==e.pagination&&n.encode(e.pagination,o.uint32(18).fork()).ldelim(),void 0!==e.height&&r.encode(e.height,o.uint32(26).fork()).ldelim(),o},decode(e,o){const i=e instanceof s?e:new s(e);let c=void 0===o?i.len:i.pos+o;const a=f();for(;i.pos<c;){const e=i.uint32();switch(e>>>3){case 1:a.channels.push(t.decode(i,i.uint32()));break;case 2:a.pagination=n.decode(i,i.uint32());break;case 3:a.height=r.decode(i,i.uint32());break;default:i.skipType(7&e)}}return a},fromJSON:e=>({channels:Array.isArray(e?.channels)?e.channels.map((e=>t.fromJSON(e))):[],pagination:p(e.pagination)?n.fromJSON(e.pagination):void 0,height:p(e.height)?r.fromJSON(e.height):void 0}),toJSON(e){const o={};return e.channels?o.channels=e.channels.map((e=>e?t.toJSON(e):void 0)):o.channels=[],void 0!==e.pagination&&(o.pagination=e.pagination?n.toJSON(e.pagination):void 0),void 0!==e.height&&(o.height=e.height?r.toJSON(e.height):void 0),o},fromPartial(e){const o=f();return o.channels=e.channels?.map((e=>t.fromPartial(e)))||[],o.pagination=void 0!==e.pagination&&null!==e.pagination?n.fromPartial(e.pagination):void 0,o.height=void 0!==e.height&&null!==e.height?r.fromPartial(e.height):void 0,o},fromProtoMsg:e=>QueryConnectionChannelsResponse.decode(e.value),toProto:e=>QueryConnectionChannelsResponse.encode(e).finish(),toProtoMsg:e=>({typeUrl:"/ibc.core.channel.v1.QueryConnectionChannelsResponse",value:QueryConnectionChannelsResponse.encode(e).finish()})};export const QueryChannelClientStateRequest={typeUrl:"/ibc.core.channel.v1.QueryChannelClientStateRequest",encode:(e,n=d.create())=>(""!==e.portId&&n.uint32(10).string(e.portId),""!==e.channelId&&n.uint32(18).string(e.channelId),n),decode(e,n){const o=e instanceof s?e:new s(e);let t=void 0===n?o.len:o.pos+n;const i={portId:"",channelId:""};for(;o.pos<t;){const e=o.uint32();switch(e>>>3){case 1:i.portId=o.string();break;case 2:i.channelId=o.string();break;default:o.skipType(7&e)}}return i},fromJSON:e=>({portId:p(e.portId)?String(e.portId):"",channelId:p(e.channelId)?String(e.channelId):""}),toJSON(e){const n={};return void 0!==e.portId&&(n.portId=e.portId),void 0!==e.channelId&&(n.channelId=e.channelId),n},fromPartial(e){const n={portId:"",channelId:""};return n.portId=e.portId??"",n.channelId=e.channelId??"",n},fromProtoMsg:e=>QueryChannelClientStateRequest.decode(e.value),toProto:e=>QueryChannelClientStateRequest.encode(e).finish(),toProtoMsg:e=>({typeUrl:"/ibc.core.channel.v1.QueryChannelClientStateRequest",value:QueryChannelClientStateRequest.encode(e).finish()})};function m(){return{identifiedClientState:void 0,proof:new Uint8Array,proofHeight:r.fromPartial({})}}export const QueryChannelClientStateResponse={typeUrl:"/ibc.core.channel.v1.QueryChannelClientStateResponse",encode:(e,n=d.create())=>(void 0!==e.identifiedClientState&&c.encode(e.identifiedClientState,n.uint32(10).fork()).ldelim(),0!==e.proof.length&&n.uint32(18).bytes(e.proof),void 0!==e.proofHeight&&r.encode(e.proofHeight,n.uint32(26).fork()).ldelim(),n),decode(e,n){const o=e instanceof s?e:new s(e);let t=void 0===n?o.len:o.pos+n;const i=m();for(;o.pos<t;){const e=o.uint32();switch(e>>>3){case 1:i.identifiedClientState=c.decode(o,o.uint32());break;case 2:i.proof=o.bytes();break;case 3:i.proofHeight=r.decode(o,o.uint32());break;default:o.skipType(7&e)}}return i},fromJSON:e=>({identifiedClientState:p(e.identifiedClientState)?c.fromJSON(e.identifiedClientState):void 0,proof:p(e.proof)?u(e.proof):new Uint8Array,proofHeight:p(e.proofHeight)?r.fromJSON(e.proofHeight):void 0}),toJSON(e){const n={};return void 0!==e.identifiedClientState&&(n.identifiedClientState=e.identifiedClientState?c.toJSON(e.identifiedClientState):void 0),void 0!==e.proof&&(n.proof=l(void 0!==e.proof?e.proof:new Uint8Array)),void 0!==e.proofHeight&&(n.proofHeight=e.proofHeight?r.toJSON(e.proofHeight):void 0),n},fromPartial(e){const n=m();return n.identifiedClientState=void 0!==e.identifiedClientState&&null!==e.identifiedClientState?c.fromPartial(e.identifiedClientState):void 0,n.proof=e.proof??new Uint8Array,n.proofHeight=void 0!==e.proofHeight&&null!==e.proofHeight?r.fromPartial(e.proofHeight):void 0,n},fromProtoMsg:e=>QueryChannelClientStateResponse.decode(e.value),toProto:e=>QueryChannelClientStateResponse.encode(e).finish(),toProtoMsg:e=>({typeUrl:"/ibc.core.channel.v1.QueryChannelClientStateResponse",value:QueryChannelClientStateResponse.encode(e).finish()})};function v(){return{portId:"",channelId:"",revisionNumber:BigInt(0),revisionHeight:BigInt(0)}}export const QueryChannelConsensusStateRequest={typeUrl:"/ibc.core.channel.v1.QueryChannelConsensusStateRequest",encode:(e,n=d.create())=>(""!==e.portId&&n.uint32(10).string(e.portId),""!==e.channelId&&n.uint32(18).string(e.channelId),e.revisionNumber!==BigInt(0)&&n.uint32(24).uint64(e.revisionNumber),e.revisionHeight!==BigInt(0)&&n.uint32(32).uint64(e.revisionHeight),n),decode(e,n){const o=e instanceof s?e:new s(e);let t=void 0===n?o.len:o.pos+n;const i=v();for(;o.pos<t;){const e=o.uint32();switch(e>>>3){case 1:i.portId=o.string();break;case 2:i.channelId=o.string();break;case 3:i.revisionNumber=o.uint64();break;case 4:i.revisionHeight=o.uint64();break;default:o.skipType(7&e)}}return i},fromJSON:e=>({portId:p(e.portId)?String(e.portId):"",channelId:p(e.channelId)?String(e.channelId):"",revisionNumber:p(e.revisionNumber)?BigInt(e.revisionNumber.toString()):BigInt(0),revisionHeight:p(e.revisionHeight)?BigInt(e.revisionHeight.toString()):BigInt(0)}),toJSON(e){const n={};return void 0!==e.portId&&(n.portId=e.portId),void 0!==e.channelId&&(n.channelId=e.channelId),void 0!==e.revisionNumber&&(n.revisionNumber=(e.revisionNumber||BigInt(0)).toString()),void 0!==e.revisionHeight&&(n.revisionHeight=(e.revisionHeight||BigInt(0)).toString()),n},fromPartial(e){const n=v();return n.portId=e.portId??"",n.channelId=e.channelId??"",n.revisionNumber=void 0!==e.revisionNumber&&null!==e.revisionNumber?BigInt(e.revisionNumber.toString()):BigInt(0),n.revisionHeight=void 0!==e.revisionHeight&&null!==e.revisionHeight?BigInt(e.revisionHeight.toString()):BigInt(0),n},fromProtoMsg:e=>QueryChannelConsensusStateRequest.decode(e.value),toProto:e=>QueryChannelConsensusStateRequest.encode(e).finish(),toProtoMsg:e=>({typeUrl:"/ibc.core.channel.v1.QueryChannelConsensusStateRequest",value:QueryChannelConsensusStateRequest.encode(e).finish()})};function I(){return{consensusState:void 0,clientId:"",proof:new Uint8Array,proofHeight:r.fromPartial({})}}export const QueryChannelConsensusStateResponse={typeUrl:"/ibc.core.channel.v1.QueryChannelConsensusStateResponse",encode:(e,n=d.create())=>(void 0!==e.consensusState&&a.encode(e.consensusState,n.uint32(10).fork()).ldelim(),""!==e.clientId&&n.uint32(18).string(e.clientId),0!==e.proof.length&&n.uint32(26).bytes(e.proof),void 0!==e.proofHeight&&r.encode(e.proofHeight,n.uint32(34).fork()).ldelim(),n),decode(e,n){const o=e instanceof s?e:new s(e);let t=void 0===n?o.len:o.pos+n;const i=I();for(;o.pos<t;){const e=o.uint32();switch(e>>>3){case 1:i.consensusState=a.decode(o,o.uint32());break;case 2:i.clientId=o.string();break;case 3:i.proof=o.bytes();break;case 4:i.proofHeight=r.decode(o,o.uint32());break;default:o.skipType(7&e)}}return i},fromJSON:e=>({consensusState:p(e.consensusState)?a.fromJSON(e.consensusState):void 0,clientId:p(e.clientId)?String(e.clientId):"",proof:p(e.proof)?u(e.proof):new Uint8Array,proofHeight:p(e.proofHeight)?r.fromJSON(e.proofHeight):void 0}),toJSON(e){const n={};return void 0!==e.consensusState&&(n.consensusState=e.consensusState?a.toJSON(e.consensusState):void 0),void 0!==e.clientId&&(n.clientId=e.clientId),void 0!==e.proof&&(n.proof=l(void 0!==e.proof?e.proof:new Uint8Array)),void 0!==e.proofHeight&&(n.proofHeight=e.proofHeight?r.toJSON(e.proofHeight):void 0),n},fromPartial(e){const n=I();return n.consensusState=void 0!==e.consensusState&&null!==e.consensusState?a.fromPartial(e.consensusState):void 0,n.clientId=e.clientId??"",n.proof=e.proof??new Uint8Array,n.proofHeight=void 0!==e.proofHeight&&null!==e.proofHeight?r.fromPartial(e.proofHeight):void 0,n},fromProtoMsg:e=>QueryChannelConsensusStateResponse.decode(e.value),toProto:e=>QueryChannelConsensusStateResponse.encode(e).finish(),toProtoMsg:e=>({typeUrl:"/ibc.core.channel.v1.QueryChannelConsensusStateResponse",value:QueryChannelConsensusStateResponse.encode(e).finish()})};function k(){return{portId:"",channelId:"",sequence:BigInt(0)}}export const QueryPacketCommitmentRequest={typeUrl:"/ibc.core.channel.v1.QueryPacketCommitmentRequest",encode:(e,n=d.create())=>(""!==e.portId&&n.uint32(10).string(e.portId),""!==e.channelId&&n.uint32(18).string(e.channelId),e.sequence!==BigInt(0)&&n.uint32(24).uint64(e.sequence),n),decode(e,n){const o=e instanceof s?e:new s(e);let t=void 0===n?o.len:o.pos+n;const i=k();for(;o.pos<t;){const e=o.uint32();switch(e>>>3){case 1:i.portId=o.string();break;case 2:i.channelId=o.string();break;case 3:i.sequence=o.uint64();break;default:o.skipType(7&e)}}return i},fromJSON:e=>({portId:p(e.portId)?String(e.portId):"",channelId:p(e.channelId)?String(e.channelId):"",sequence:p(e.sequence)?BigInt(e.sequence.toString()):BigInt(0)}),toJSON(e){const n={};return void 0!==e.portId&&(n.portId=e.portId),void 0!==e.channelId&&(n.channelId=e.channelId),void 0!==e.sequence&&(n.sequence=(e.sequence||BigInt(0)).toString()),n},fromPartial(e){const n=k();return n.portId=e.portId??"",n.channelId=e.channelId??"",n.sequence=void 0!==e.sequence&&null!==e.sequence?BigInt(e.sequence.toString()):BigInt(0),n},fromProtoMsg:e=>QueryPacketCommitmentRequest.decode(e.value),toProto:e=>QueryPacketCommitmentRequest.encode(e).finish(),toProtoMsg:e=>({typeUrl:"/ibc.core.channel.v1.QueryPacketCommitmentRequest",value:QueryPacketCommitmentRequest.encode(e).finish()})};function y(){return{commitment:new Uint8Array,proof:new Uint8Array,proofHeight:r.fromPartial({})}}export const QueryPacketCommitmentResponse={typeUrl:"/ibc.core.channel.v1.QueryPacketCommitmentResponse",encode:(e,n=d.create())=>(0!==e.commitment.length&&n.uint32(10).bytes(e.commitment),0!==e.proof.length&&n.uint32(18).bytes(e.proof),void 0!==e.proofHeight&&r.encode(e.proofHeight,n.uint32(26).fork()).ldelim(),n),decode(e,n){const o=e instanceof s?e:new s(e);let t=void 0===n?o.len:o.pos+n;const i=y();for(;o.pos<t;){const e=o.uint32();switch(e>>>3){case 1:i.commitment=o.bytes();break;case 2:i.proof=o.bytes();break;case 3:i.proofHeight=r.decode(o,o.uint32());break;default:o.skipType(7&e)}}return i},fromJSON:e=>({commitment:p(e.commitment)?u(e.commitment):new Uint8Array,proof:p(e.proof)?u(e.proof):new Uint8Array,proofHeight:p(e.proofHeight)?r.fromJSON(e.proofHeight):void 0}),toJSON(e){const n={};return void 0!==e.commitment&&(n.commitment=l(void 0!==e.commitment?e.commitment:new Uint8Array)),void 0!==e.proof&&(n.proof=l(void 0!==e.proof?e.proof:new Uint8Array)),void 0!==e.proofHeight&&(n.proofHeight=e.proofHeight?r.toJSON(e.proofHeight):void 0),n},fromPartial(e){const n=y();return n.commitment=e.commitment??new Uint8Array,n.proof=e.proof??new Uint8Array,n.proofHeight=void 0!==e.proofHeight&&null!==e.proofHeight?r.fromPartial(e.proofHeight):void 0,n},fromProtoMsg:e=>QueryPacketCommitmentResponse.decode(e.value),toProto:e=>QueryPacketCommitmentResponse.encode(e).finish(),toProtoMsg:e=>({typeUrl:"/ibc.core.channel.v1.QueryPacketCommitmentResponse",value:QueryPacketCommitmentResponse.encode(e).finish()})};export const QueryPacketCommitmentsRequest={typeUrl:"/ibc.core.channel.v1.QueryPacketCommitmentsRequest",encode:(n,o=d.create())=>(""!==n.portId&&o.uint32(10).string(n.portId),""!==n.channelId&&o.uint32(18).string(n.channelId),void 0!==n.pagination&&e.encode(n.pagination,o.uint32(26).fork()).ldelim(),o),decode(n,o){const t=n instanceof s?n:new s(n);let i=void 0===o?t.len:t.pos+o;const r={portId:"",channelId:"",pagination:void 0};for(;t.pos<i;){const n=t.uint32();switch(n>>>3){case 1:r.portId=t.string();break;case 2:r.channelId=t.string();break;case 3:r.pagination=e.decode(t,t.uint32());break;default:t.skipType(7&n)}}return r},fromJSON:n=>({portId:p(n.portId)?String(n.portId):"",channelId:p(n.channelId)?String(n.channelId):"",pagination:p(n.pagination)?e.fromJSON(n.pagination):void 0}),toJSON(n){const o={};return void 0!==n.portId&&(o.portId=n.portId),void 0!==n.channelId&&(o.channelId=n.channelId),void 0!==n.pagination&&(o.pagination=n.pagination?e.toJSON(n.pagination):void 0),o},fromPartial(n){const o={portId:"",channelId:"",pagination:void 0};return o.portId=n.portId??"",o.channelId=n.channelId??"",o.pagination=void 0!==n.pagination&&null!==n.pagination?e.fromPartial(n.pagination):void 0,o},fromProtoMsg:e=>QueryPacketCommitmentsRequest.decode(e.value),toProto:e=>QueryPacketCommitmentsRequest.encode(e).finish(),toProtoMsg:e=>({typeUrl:"/ibc.core.channel.v1.QueryPacketCommitmentsRequest",value:QueryPacketCommitmentsRequest.encode(e).finish()})};function S(){return{commitments:[],pagination:void 0,height:r.fromPartial({})}}export const QueryPacketCommitmentsResponse={typeUrl:"/ibc.core.channel.v1.QueryPacketCommitmentsResponse",encode(e,o=d.create()){for(const n of e.commitments)i.encode(n,o.uint32(10).fork()).ldelim();return void 0!==e.pagination&&n.encode(e.pagination,o.uint32(18).fork()).ldelim(),void 0!==e.height&&r.encode(e.height,o.uint32(26).fork()).ldelim(),o},decode(e,o){const t=e instanceof s?e:new s(e);let c=void 0===o?t.len:t.pos+o;const a=S();for(;t.pos<c;){const e=t.uint32();switch(e>>>3){case 1:a.commitments.push(i.decode(t,t.uint32()));break;case 2:a.pagination=n.decode(t,t.uint32());break;case 3:a.height=r.decode(t,t.uint32());break;default:t.skipType(7&e)}}return a},fromJSON:e=>({commitments:Array.isArray(e?.commitments)?e.commitments.map((e=>i.fromJSON(e))):[],pagination:p(e.pagination)?n.fromJSON(e.pagination):void 0,height:p(e.height)?r.fromJSON(e.height):void 0}),toJSON(e){const o={};return e.commitments?o.commitments=e.commitments.map((e=>e?i.toJSON(e):void 0)):o.commitments=[],void 0!==e.pagination&&(o.pagination=e.pagination?n.toJSON(e.pagination):void 0),void 0!==e.height&&(o.height=e.height?r.toJSON(e.height):void 0),o},fromPartial(e){const o=S();return o.commitments=e.commitments?.map((e=>i.fromPartial(e)))||[],o.pagination=void 0!==e.pagination&&null!==e.pagination?n.fromPartial(e.pagination):void 0,o.height=void 0!==e.height&&null!==e.height?r.fromPartial(e.height):void 0,o},fromProtoMsg:e=>QueryPacketCommitmentsResponse.decode(e.value),toProto:e=>QueryPacketCommitmentsResponse.encode(e).finish(),toProtoMsg:e=>({typeUrl:"/ibc.core.channel.v1.QueryPacketCommitmentsResponse",value:QueryPacketCommitmentsResponse.encode(e).finish()})};function P(){return{portId:"",channelId:"",sequence:BigInt(0)}}export const QueryPacketReceiptRequest={typeUrl:"/ibc.core.channel.v1.QueryPacketReceiptRequest",encode:(e,n=d.create())=>(""!==e.portId&&n.uint32(10).string(e.portId),""!==e.channelId&&n.uint32(18).string(e.channelId),e.sequence!==BigInt(0)&&n.uint32(24).uint64(e.sequence),n),decode(e,n){const o=e instanceof s?e:new s(e);let t=void 0===n?o.len:o.pos+n;const i=P();for(;o.pos<t;){const e=o.uint32();switch(e>>>3){case 1:i.portId=o.string();break;case 2:i.channelId=o.string();break;case 3:i.sequence=o.uint64();break;default:o.skipType(7&e)}}return i},fromJSON:e=>({portId:p(e.portId)?String(e.portId):"",channelId:p(e.channelId)?String(e.channelId):"",sequence:p(e.sequence)?BigInt(e.sequence.toString()):BigInt(0)}),toJSON(e){const n={};return void 0!==e.portId&&(n.portId=e.portId),void 0!==e.channelId&&(n.channelId=e.channelId),void 0!==e.sequence&&(n.sequence=(e.sequence||BigInt(0)).toString()),n},fromPartial(e){const n=P();return n.portId=e.portId??"",n.channelId=e.channelId??"",n.sequence=void 0!==e.sequence&&null!==e.sequence?BigInt(e.sequence.toString()):BigInt(0),n},fromProtoMsg:e=>QueryPacketReceiptRequest.decode(e.value),toProto:e=>QueryPacketReceiptRequest.encode(e).finish(),toProtoMsg:e=>({typeUrl:"/ibc.core.channel.v1.QueryPacketReceiptRequest",value:QueryPacketReceiptRequest.encode(e).finish()})};function q(){return{received:!1,proof:new Uint8Array,proofHeight:r.fromPartial({})}}export const QueryPacketReceiptResponse={typeUrl:"/ibc.core.channel.v1.QueryPacketReceiptResponse",encode:(e,n=d.create())=>(!0===e.received&&n.uint32(16).bool(e.received),0!==e.proof.length&&n.uint32(26).bytes(e.proof),void 0!==e.proofHeight&&r.encode(e.proofHeight,n.uint32(34).fork()).ldelim(),n),decode(e,n){const o=e instanceof s?e:new s(e);let t=void 0===n?o.len:o.pos+n;const i=q();for(;o.pos<t;){const e=o.uint32();switch(e>>>3){case 2:i.received=o.bool();break;case 3:i.proof=o.bytes();break;case 4:i.proofHeight=r.decode(o,o.uint32());break;default:o.skipType(7&e)}}return i},fromJSON:e=>({received:!!p(e.received)&&Boolean(e.received),proof:p(e.proof)?u(e.proof):new Uint8Array,proofHeight:p(e.proofHeight)?r.fromJSON(e.proofHeight):void 0}),toJSON(e){const n={};return void 0!==e.received&&(n.received=e.received),void 0!==e.proof&&(n.proof=l(void 0!==e.proof?e.proof:new Uint8Array)),void 0!==e.proofHeight&&(n.proofHeight=e.proofHeight?r.toJSON(e.proofHeight):void 0),n},fromPartial(e){const n=q();return n.received=e.received??!1,n.proof=e.proof??new Uint8Array,n.proofHeight=void 0!==e.proofHeight&&null!==e.proofHeight?r.fromPartial(e.proofHeight):void 0,n},fromProtoMsg:e=>QueryPacketReceiptResponse.decode(e.value),toProto:e=>QueryPacketReceiptResponse.encode(e).finish(),toProtoMsg:e=>({typeUrl:"/ibc.core.channel.v1.QueryPacketReceiptResponse",value:QueryPacketReceiptResponse.encode(e).finish()})};function R(){return{portId:"",channelId:"",sequence:BigInt(0)}}export const QueryPacketAcknowledgementRequest={typeUrl:"/ibc.core.channel.v1.QueryPacketAcknowledgementRequest",encode:(e,n=d.create())=>(""!==e.portId&&n.uint32(10).string(e.portId),""!==e.channelId&&n.uint32(18).string(e.channelId),e.sequence!==BigInt(0)&&n.uint32(24).uint64(e.sequence),n),decode(e,n){const o=e instanceof s?e:new s(e);let t=void 0===n?o.len:o.pos+n;const i=R();for(;o.pos<t;){const e=o.uint32();switch(e>>>3){case 1:i.portId=o.string();break;case 2:i.channelId=o.string();break;case 3:i.sequence=o.uint64();break;default:o.skipType(7&e)}}return i},fromJSON:e=>({portId:p(e.portId)?String(e.portId):"",channelId:p(e.channelId)?String(e.channelId):"",sequence:p(e.sequence)?BigInt(e.sequence.toString()):BigInt(0)}),toJSON(e){const n={};return void 0!==e.portId&&(n.portId=e.portId),void 0!==e.channelId&&(n.channelId=e.channelId),void 0!==e.sequence&&(n.sequence=(e.sequence||BigInt(0)).toString()),n},fromPartial(e){const n=R();return n.portId=e.portId??"",n.channelId=e.channelId??"",n.sequence=void 0!==e.sequence&&null!==e.sequence?BigInt(e.sequence.toString()):BigInt(0),n},fromProtoMsg:e=>QueryPacketAcknowledgementRequest.decode(e.value),toProto:e=>QueryPacketAcknowledgementRequest.encode(e).finish(),toProtoMsg:e=>({typeUrl:"/ibc.core.channel.v1.QueryPacketAcknowledgementRequest",value:QueryPacketAcknowledgementRequest.encode(e).finish()})};function b(){return{acknowledgement:new Uint8Array,proof:new Uint8Array,proofHeight:r.fromPartial({})}}export const QueryPacketAcknowledgementResponse={typeUrl:"/ibc.core.channel.v1.QueryPacketAcknowledgementResponse",encode:(e,n=d.create())=>(0!==e.acknowledgement.length&&n.uint32(10).bytes(e.acknowledgement),0!==e.proof.length&&n.uint32(18).bytes(e.proof),void 0!==e.proofHeight&&r.encode(e.proofHeight,n.uint32(26).fork()).ldelim(),n),decode(e,n){const o=e instanceof s?e:new s(e);let t=void 0===n?o.len:o.pos+n;const i=b();for(;o.pos<t;){const e=o.uint32();switch(e>>>3){case 1:i.acknowledgement=o.bytes();break;case 2:i.proof=o.bytes();break;case 3:i.proofHeight=r.decode(o,o.uint32());break;default:o.skipType(7&e)}}return i},fromJSON:e=>({acknowledgement:p(e.acknowledgement)?u(e.acknowledgement):new Uint8Array,proof:p(e.proof)?u(e.proof):new Uint8Array,proofHeight:p(e.proofHeight)?r.fromJSON(e.proofHeight):void 0}),toJSON(e){const n={};return void 0!==e.acknowledgement&&(n.acknowledgement=l(void 0!==e.acknowledgement?e.acknowledgement:new Uint8Array)),void 0!==e.proof&&(n.proof=l(void 0!==e.proof?e.proof:new Uint8Array)),void 0!==e.proofHeight&&(n.proofHeight=e.proofHeight?r.toJSON(e.proofHeight):void 0),n},fromPartial(e){const n=b();return n.acknowledgement=e.acknowledgement??new Uint8Array,n.proof=e.proof??new Uint8Array,n.proofHeight=void 0!==e.proofHeight&&null!==e.proofHeight?r.fromPartial(e.proofHeight):void 0,n},fromProtoMsg:e=>QueryPacketAcknowledgementResponse.decode(e.value),toProto:e=>QueryPacketAcknowledgementResponse.encode(e).finish(),toProtoMsg:e=>({typeUrl:"/ibc.core.channel.v1.QueryPacketAcknowledgementResponse",value:QueryPacketAcknowledgementResponse.encode(e).finish()})};export const QueryPacketAcknowledgementsRequest={typeUrl:"/ibc.core.channel.v1.QueryPacketAcknowledgementsRequest",encode(n,o=d.create()){""!==n.portId&&o.uint32(10).string(n.portId),""!==n.channelId&&o.uint32(18).string(n.channelId),void 0!==n.pagination&&e.encode(n.pagination,o.uint32(26).fork()).ldelim(),o.uint32(34).fork();for(const e of n.packetCommitmentSequences)o.uint64(e);return o.ldelim(),o},decode(n,o){const t=n instanceof s?n:new s(n);let i=void 0===o?t.len:t.pos+o;const r={portId:"",channelId:"",pagination:void 0,packetCommitmentSequences:[]};for(;t.pos<i;){const n=t.uint32();switch(n>>>3){case 1:r.portId=t.string();break;case 2:r.channelId=t.string();break;case 3:r.pagination=e.decode(t,t.uint32());break;case 4:if(2==(7&n)){const e=t.uint32()+t.pos;for(;t.pos<e;)r.packetCommitmentSequences.push(t.uint64())}else r.packetCommitmentSequences.push(t.uint64());break;default:t.skipType(7&n)}}return r},fromJSON:n=>({portId:p(n.portId)?String(n.portId):"",channelId:p(n.channelId)?String(n.channelId):"",pagination:p(n.pagination)?e.fromJSON(n.pagination):void 0,packetCommitmentSequences:Array.isArray(n?.packetCommitmentSequences)?n.packetCommitmentSequences.map((e=>BigInt(e.toString()))):[]}),toJSON(n){const o={};return void 0!==n.portId&&(o.portId=n.portId),void 0!==n.channelId&&(o.channelId=n.channelId),void 0!==n.pagination&&(o.pagination=n.pagination?e.toJSON(n.pagination):void 0),n.packetCommitmentSequences?o.packetCommitmentSequences=n.packetCommitmentSequences.map((e=>(e||BigInt(0)).toString())):o.packetCommitmentSequences=[],o},fromPartial(n){const o={portId:"",channelId:"",pagination:void 0,packetCommitmentSequences:[]};return o.portId=n.portId??"",o.channelId=n.channelId??"",o.pagination=void 0!==n.pagination&&null!==n.pagination?e.fromPartial(n.pagination):void 0,o.packetCommitmentSequences=n.packetCommitmentSequences?.map((e=>BigInt(e.toString())))||[],o},fromProtoMsg:e=>QueryPacketAcknowledgementsRequest.decode(e.value),toProto:e=>QueryPacketAcknowledgementsRequest.encode(e).finish(),toProtoMsg:e=>({typeUrl:"/ibc.core.channel.v1.QueryPacketAcknowledgementsRequest",value:QueryPacketAcknowledgementsRequest.encode(e).finish()})};function C(){return{acknowledgements:[],pagination:void 0,height:r.fromPartial({})}}export const QueryPacketAcknowledgementsResponse={typeUrl:"/ibc.core.channel.v1.QueryPacketAcknowledgementsResponse",encode(e,o=d.create()){for(const n of e.acknowledgements)i.encode(n,o.uint32(10).fork()).ldelim();return void 0!==e.pagination&&n.encode(e.pagination,o.uint32(18).fork()).ldelim(),void 0!==e.height&&r.encode(e.height,o.uint32(26).fork()).ldelim(),o},decode(e,o){const t=e instanceof s?e:new s(e);let c=void 0===o?t.len:t.pos+o;const a=C();for(;t.pos<c;){const e=t.uint32();switch(e>>>3){case 1:a.acknowledgements.push(i.decode(t,t.uint32()));break;case 2:a.pagination=n.decode(t,t.uint32());break;case 3:a.height=r.decode(t,t.uint32());break;default:t.skipType(7&e)}}return a},fromJSON:e=>({acknowledgements:Array.isArray(e?.acknowledgements)?e.acknowledgements.map((e=>i.fromJSON(e))):[],pagination:p(e.pagination)?n.fromJSON(e.pagination):void 0,height:p(e.height)?r.fromJSON(e.height):void 0}),toJSON(e){const o={};return e.acknowledgements?o.acknowledgements=e.acknowledgements.map((e=>e?i.toJSON(e):void 0)):o.acknowledgements=[],void 0!==e.pagination&&(o.pagination=e.pagination?n.toJSON(e.pagination):void 0),void 0!==e.height&&(o.height=e.height?r.toJSON(e.height):void 0),o},fromPartial(e){const o=C();return o.acknowledgements=e.acknowledgements?.map((e=>i.fromPartial(e)))||[],o.pagination=void 0!==e.pagination&&null!==e.pagination?n.fromPartial(e.pagination):void 0,o.height=void 0!==e.height&&null!==e.height?r.fromPartial(e.height):void 0,o},fromProtoMsg:e=>QueryPacketAcknowledgementsResponse.decode(e.value),toProto:e=>QueryPacketAcknowledgementsResponse.encode(e).finish(),toProtoMsg:e=>({typeUrl:"/ibc.core.channel.v1.QueryPacketAcknowledgementsResponse",value:QueryPacketAcknowledgementsResponse.encode(e).finish()})};export const QueryUnreceivedPacketsRequest={typeUrl:"/ibc.core.channel.v1.QueryUnreceivedPacketsRequest",encode(e,n=d.create()){""!==e.portId&&n.uint32(10).string(e.portId),""!==e.channelId&&n.uint32(18).string(e.channelId),n.uint32(26).fork();for(const o of e.packetCommitmentSequences)n.uint64(o);return n.ldelim(),n},decode(e,n){const o=e instanceof s?e:new s(e);let t=void 0===n?o.len:o.pos+n;const i={portId:"",channelId:"",packetCommitmentSequences:[]};for(;o.pos<t;){const e=o.uint32();switch(e>>>3){case 1:i.portId=o.string();break;case 2:i.channelId=o.string();break;case 3:if(2==(7&e)){const e=o.uint32()+o.pos;for(;o.pos<e;)i.packetCommitmentSequences.push(o.uint64())}else i.packetCommitmentSequences.push(o.uint64());break;default:o.skipType(7&e)}}return i},fromJSON:e=>({portId:p(e.portId)?String(e.portId):"",channelId:p(e.channelId)?String(e.channelId):"",packetCommitmentSequences:Array.isArray(e?.packetCommitmentSequences)?e.packetCommitmentSequences.map((e=>BigInt(e.toString()))):[]}),toJSON(e){const n={};return void 0!==e.portId&&(n.portId=e.portId),void 0!==e.channelId&&(n.channelId=e.channelId),e.packetCommitmentSequences?n.packetCommitmentSequences=e.packetCommitmentSequences.map((e=>(e||BigInt(0)).toString())):n.packetCommitmentSequences=[],n},fromPartial(e){const n={portId:"",channelId:"",packetCommitmentSequences:[]};return n.portId=e.portId??"",n.channelId=e.channelId??"",n.packetCommitmentSequences=e.packetCommitmentSequences?.map((e=>BigInt(e.toString())))||[],n},fromProtoMsg:e=>QueryUnreceivedPacketsRequest.decode(e.value),toProto:e=>QueryUnreceivedPacketsRequest.encode(e).finish(),toProtoMsg:e=>({typeUrl:"/ibc.core.channel.v1.QueryUnreceivedPacketsRequest",value:QueryUnreceivedPacketsRequest.encode(e).finish()})};function Q(){return{sequences:[],height:r.fromPartial({})}}export const QueryUnreceivedPacketsResponse={typeUrl:"/ibc.core.channel.v1.QueryUnreceivedPacketsResponse",encode(e,n=d.create()){n.uint32(10).fork();for(const o of e.sequences)n.uint64(o);return n.ldelim(),void 0!==e.height&&r.encode(e.height,n.uint32(18).fork()).ldelim(),n},decode(e,n){const o=e instanceof s?e:new s(e);let t=void 0===n?o.len:o.pos+n;const i=Q();for(;o.pos<t;){const e=o.uint32();switch(e>>>3){case 1:if(2==(7&e)){const e=o.uint32()+o.pos;for(;o.pos<e;)i.sequences.push(o.uint64())}else i.sequences.push(o.uint64());break;case 2:i.height=r.decode(o,o.uint32());break;default:o.skipType(7&e)}}return i},fromJSON:e=>({sequences:Array.isArray(e?.sequences)?e.sequences.map((e=>BigInt(e.toString()))):[],height:p(e.height)?r.fromJSON(e.height):void 0}),toJSON(e){const n={};return e.sequences?n.sequences=e.sequences.map((e=>(e||BigInt(0)).toString())):n.sequences=[],void 0!==e.height&&(n.height=e.height?r.toJSON(e.height):void 0),n},fromPartial(e){const n=Q();return n.sequences=e.sequences?.map((e=>BigInt(e.toString())))||[],n.height=void 0!==e.height&&null!==e.height?r.fromPartial(e.height):void 0,n},fromProtoMsg:e=>QueryUnreceivedPacketsResponse.decode(e.value),toProto:e=>QueryUnreceivedPacketsResponse.encode(e).finish(),toProtoMsg:e=>({typeUrl:"/ibc.core.channel.v1.QueryUnreceivedPacketsResponse",value:QueryUnreceivedPacketsResponse.encode(e).finish()})};export const QueryUnreceivedAcksRequest={typeUrl:"/ibc.core.channel.v1.QueryUnreceivedAcksRequest",encode(e,n=d.create()){""!==e.portId&&n.uint32(10).string(e.portId),""!==e.channelId&&n.uint32(18).string(e.channelId),n.uint32(26).fork();for(const o of e.packetAckSequences)n.uint64(o);return n.ldelim(),n},decode(e,n){const o=e instanceof s?e:new s(e);let t=void 0===n?o.len:o.pos+n;const i={portId:"",channelId:"",packetAckSequences:[]};for(;o.pos<t;){const e=o.uint32();switch(e>>>3){case 1:i.portId=o.string();break;case 2:i.channelId=o.string();break;case 3:if(2==(7&e)){const e=o.uint32()+o.pos;for(;o.pos<e;)i.packetAckSequences.push(o.uint64())}else i.packetAckSequences.push(o.uint64());break;default:o.skipType(7&e)}}return i},fromJSON:e=>({portId:p(e.portId)?String(e.portId):"",channelId:p(e.channelId)?String(e.channelId):"",packetAckSequences:Array.isArray(e?.packetAckSequences)?e.packetAckSequences.map((e=>BigInt(e.toString()))):[]}),toJSON(e){const n={};return void 0!==e.portId&&(n.portId=e.portId),void 0!==e.channelId&&(n.channelId=e.channelId),e.packetAckSequences?n.packetAckSequences=e.packetAckSequences.map((e=>(e||BigInt(0)).toString())):n.packetAckSequences=[],n},fromPartial(e){const n={portId:"",channelId:"",packetAckSequences:[]};return n.portId=e.portId??"",n.channelId=e.channelId??"",n.packetAckSequences=e.packetAckSequences?.map((e=>BigInt(e.toString())))||[],n},fromProtoMsg:e=>QueryUnreceivedAcksRequest.decode(e.value),toProto:e=>QueryUnreceivedAcksRequest.encode(e).finish(),toProtoMsg:e=>({typeUrl:"/ibc.core.channel.v1.QueryUnreceivedAcksRequest",value:QueryUnreceivedAcksRequest.encode(e).finish()})};function w(){return{sequences:[],height:r.fromPartial({})}}export const QueryUnreceivedAcksResponse={typeUrl:"/ibc.core.channel.v1.QueryUnreceivedAcksResponse",encode(e,n=d.create()){n.uint32(10).fork();for(const o of e.sequences)n.uint64(o);return n.ldelim(),void 0!==e.height&&r.encode(e.height,n.uint32(18).fork()).ldelim(),n},decode(e,n){const o=e instanceof s?e:new s(e);let t=void 0===n?o.len:o.pos+n;const i=w();for(;o.pos<t;){const e=o.uint32();switch(e>>>3){case 1:if(2==(7&e)){const e=o.uint32()+o.pos;for(;o.pos<e;)i.sequences.push(o.uint64())}else i.sequences.push(o.uint64());break;case 2:i.height=r.decode(o,o.uint32());break;default:o.skipType(7&e)}}return i},fromJSON:e=>({sequences:Array.isArray(e?.sequences)?e.sequences.map((e=>BigInt(e.toString()))):[],height:p(e.height)?r.fromJSON(e.height):void 0}),toJSON(e){const n={};return e.sequences?n.sequences=e.sequences.map((e=>(e||BigInt(0)).toString())):n.sequences=[],void 0!==e.height&&(n.height=e.height?r.toJSON(e.height):void 0),n},fromPartial(e){const n=w();return n.sequences=e.sequences?.map((e=>BigInt(e.toString())))||[],n.height=void 0!==e.height&&null!==e.height?r.fromPartial(e.height):void 0,n},fromProtoMsg:e=>QueryUnreceivedAcksResponse.decode(e.value),toProto:e=>QueryUnreceivedAcksResponse.encode(e).finish(),toProtoMsg:e=>({typeUrl:"/ibc.core.channel.v1.QueryUnreceivedAcksResponse",value:QueryUnreceivedAcksResponse.encode(e).finish()})};export const QueryNextSequenceReceiveRequest={typeUrl:"/ibc.core.channel.v1.QueryNextSequenceReceiveRequest",encode:(e,n=d.create())=>(""!==e.portId&&n.uint32(10).string(e.portId),""!==e.channelId&&n.uint32(18).string(e.channelId),n),decode(e,n){const o=e instanceof s?e:new s(e);let t=void 0===n?o.len:o.pos+n;const i={portId:"",channelId:""};for(;o.pos<t;){const e=o.uint32();switch(e>>>3){case 1:i.portId=o.string();break;case 2:i.channelId=o.string();break;default:o.skipType(7&e)}}return i},fromJSON:e=>({portId:p(e.portId)?String(e.portId):"",channelId:p(e.channelId)?String(e.channelId):""}),toJSON(e){const n={};return void 0!==e.portId&&(n.portId=e.portId),void 0!==e.channelId&&(n.channelId=e.channelId),n},fromPartial(e){const n={portId:"",channelId:""};return n.portId=e.portId??"",n.channelId=e.channelId??"",n},fromProtoMsg:e=>QueryNextSequenceReceiveRequest.decode(e.value),toProto:e=>QueryNextSequenceReceiveRequest.encode(e).finish(),toProtoMsg:e=>({typeUrl:"/ibc.core.channel.v1.QueryNextSequenceReceiveRequest",value:QueryNextSequenceReceiveRequest.encode(e).finish()})};function N(){return{nextSequenceReceive:BigInt(0),proof:new Uint8Array,proofHeight:r.fromPartial({})}}export const QueryNextSequenceReceiveResponse={typeUrl:"/ibc.core.channel.v1.QueryNextSequenceReceiveResponse",encode:(e,n=d.create())=>(e.nextSequenceReceive!==BigInt(0)&&n.uint32(8).uint64(e.nextSequenceReceive),0!==e.proof.length&&n.uint32(18).bytes(e.proof),void 0!==e.proofHeight&&r.encode(e.proofHeight,n.uint32(26).fork()).ldelim(),n),decode(e,n){const o=e instanceof s?e:new s(e);let t=void 0===n?o.len:o.pos+n;const i=N();for(;o.pos<t;){const e=o.uint32();switch(e>>>3){case 1:i.nextSequenceReceive=o.uint64();break;case 2:i.proof=o.bytes();break;case 3:i.proofHeight=r.decode(o,o.uint32());break;default:o.skipType(7&e)}}return i},fromJSON:e=>({nextSequenceReceive:p(e.nextSequenceReceive)?BigInt(e.nextSequenceReceive.toString()):BigInt(0),proof:p(e.proof)?u(e.proof):new Uint8Array,proofHeight:p(e.proofHeight)?r.fromJSON(e.proofHeight):void 0}),toJSON(e){const n={};return void 0!==e.nextSequenceReceive&&(n.nextSequenceReceive=(e.nextSequenceReceive||BigInt(0)).toString()),void 0!==e.proof&&(n.proof=l(void 0!==e.proof?e.proof:new Uint8Array)),void 0!==e.proofHeight&&(n.proofHeight=e.proofHeight?r.toJSON(e.proofHeight):void 0),n},fromPartial(e){const n=N();return n.nextSequenceReceive=void 0!==e.nextSequenceReceive&&null!==e.nextSequenceReceive?BigInt(e.nextSequenceReceive.toString()):BigInt(0),n.proof=e.proof??new Uint8Array,n.proofHeight=void 0!==e.proofHeight&&null!==e.proofHeight?r.fromPartial(e.proofHeight):void 0,n},fromProtoMsg:e=>QueryNextSequenceReceiveResponse.decode(e.value),toProto:e=>QueryNextSequenceReceiveResponse.encode(e).finish(),toProtoMsg:e=>({typeUrl:"/ibc.core.channel.v1.QueryNextSequenceReceiveResponse",value:QueryNextSequenceReceiveResponse.encode(e).finish()})};
|