@iconlake/client 0.0.3 → 0.1.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/client.ts +13 -12
- package/cosmos.auth.v1beta1/index.ts +0 -0
- package/cosmos.auth.v1beta1/module.ts +2 -0
- package/cosmos.auth.v1beta1/registry.ts +0 -0
- package/cosmos.auth.v1beta1/rest.ts +113 -3
- package/cosmos.auth.v1beta1/types/amino/amino.ts +2 -0
- package/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/auth.ts +104 -0
- package/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/genesis.ts +1 -1
- package/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/query.ts +157 -4
- package/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/tx.ts +172 -0
- package/cosmos.auth.v1beta1/types/cosmos/msg/v1/msg.ts +2 -0
- package/cosmos.auth.v1beta1/types/cosmos/query/v1/query.ts +2 -0
- package/cosmos.auth.v1beta1/types.ts +2 -0
- package/cosmos.authz.v1beta1/index.ts +0 -0
- package/cosmos.authz.v1beta1/module.ts +24 -24
- package/cosmos.authz.v1beta1/registry.ts +2 -2
- package/cosmos.authz.v1beta1/types/amino/amino.ts +2 -0
- package/cosmos.authz.v1beta1/types/cosmos/authz/v1beta1/tx.ts +1 -1
- package/cosmos.authz.v1beta1/types.ts +0 -0
- package/cosmos.bank.v1beta1/index.ts +0 -0
- package/cosmos.bank.v1beta1/module.ts +0 -0
- package/cosmos.bank.v1beta1/registry.ts +0 -0
- package/cosmos.bank.v1beta1/rest.ts +99 -6
- package/cosmos.bank.v1beta1/types/amino/amino.ts +2 -0
- package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/authz.ts +24 -2
- package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/bank.ts +9 -0
- package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/genesis.ts +25 -4
- package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/query.ts +356 -5
- package/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/tx.ts +305 -1
- package/cosmos.bank.v1beta1/types/cosmos/query/v1/query.ts +2 -0
- package/cosmos.bank.v1beta1/types.ts +0 -0
- package/cosmos.base.node.v1beta1/index.ts +0 -0
- package/cosmos.base.node.v1beta1/module.ts +0 -0
- package/cosmos.base.node.v1beta1/registry.ts +0 -0
- package/cosmos.base.node.v1beta1/types.ts +0 -0
- package/cosmos.base.tendermint.v1beta1/index.ts +0 -0
- package/cosmos.base.tendermint.v1beta1/module.ts +0 -0
- package/cosmos.base.tendermint.v1beta1/registry.ts +0 -0
- package/cosmos.base.tendermint.v1beta1/rest.ts +21 -30
- package/cosmos.base.tendermint.v1beta1/types/amino/amino.ts +2 -0
- package/cosmos.base.tendermint.v1beta1/types/cosmos/base/tendermint/v1beta1/query.ts +16 -46
- package/cosmos.base.tendermint.v1beta1/types/tendermint/crypto/keys.ts +1 -1
- package/cosmos.base.tendermint.v1beta1/types/tendermint/types/types.ts +1 -1
- package/cosmos.base.tendermint.v1beta1/types.ts +0 -0
- package/cosmos.consensus.v1/index.ts +6 -0
- package/cosmos.consensus.v1/module.ts +129 -0
- package/cosmos.consensus.v1/registry.ts +9 -0
- package/cosmos.consensus.v1/rest.ts +268 -0
- package/cosmos.consensus.v1/types/cosmos/consensus/v1/query.ts +147 -0
- package/cosmos.consensus.v1/types/cosmos/consensus/v1/tx.ts +196 -0
- package/cosmos.consensus.v1/types/cosmos/msg/v1/msg.ts +2 -0
- package/cosmos.consensus.v1/types/cosmos_proto/cosmos.ts +247 -0
- package/cosmos.consensus.v1/types/gogoproto/gogo.ts +2 -0
- package/cosmos.consensus.v1/types/google/api/annotations.ts +2 -0
- package/cosmos.consensus.v1/types/google/api/http.ts +589 -0
- package/cosmos.consensus.v1/types/google/protobuf/descriptor.ts +3753 -0
- package/cosmos.consensus.v1/types/google/protobuf/duration.ts +187 -0
- package/cosmos.consensus.v1/types/tendermint/types/params.ts +498 -0
- package/cosmos.consensus.v1/types.ts +5 -0
- package/cosmos.crisis.v1beta1/index.ts +0 -0
- package/cosmos.crisis.v1beta1/module.ts +34 -1
- package/cosmos.crisis.v1beta1/registry.ts +2 -0
- package/cosmos.crisis.v1beta1/rest.ts +19 -0
- package/cosmos.crisis.v1beta1/types/amino/amino.ts +2 -0
- package/cosmos.crisis.v1beta1/types/cosmos/crisis/v1beta1/tx.ts +140 -1
- package/cosmos.crisis.v1beta1/types.ts +0 -0
- package/cosmos.distribution.v1beta1/index.ts +0 -0
- package/cosmos.distribution.v1beta1/module.ts +79 -13
- package/cosmos.distribution.v1beta1/registry.ts +6 -2
- package/cosmos.distribution.v1beta1/rest.ts +66 -7
- package/cosmos.distribution.v1beta1/types/amino/amino.ts +2 -0
- package/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/distribution.ts +19 -0
- package/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/genesis.ts +4 -4
- package/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/query.ts +158 -1
- package/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/tx.ts +300 -3
- package/cosmos.distribution.v1beta1/types.ts +0 -0
- package/cosmos.evidence.v1beta1/index.ts +0 -0
- package/cosmos.evidence.v1beta1/module.ts +0 -0
- package/cosmos.evidence.v1beta1/registry.ts +0 -0
- package/cosmos.evidence.v1beta1/rest.ts +4 -3
- package/cosmos.evidence.v1beta1/types/amino/amino.ts +2 -0
- package/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/evidence.ts +7 -1
- package/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/query.ts +25 -3
- package/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/tx.ts +2 -0
- package/cosmos.evidence.v1beta1/types.ts +0 -0
- package/cosmos.feegrant.v1beta1/index.ts +0 -0
- package/cosmos.feegrant.v1beta1/module.ts +24 -24
- package/cosmos.feegrant.v1beta1/registry.ts +2 -2
- package/cosmos.feegrant.v1beta1/types/amino/amino.ts +2 -0
- package/cosmos.feegrant.v1beta1/types.ts +0 -0
- package/cosmos.gov.v1/index.ts +0 -0
- package/cosmos.gov.v1/module.ts +67 -32
- package/cosmos.gov.v1/registry.ts +4 -2
- package/cosmos.gov.v1/rest.ts +155 -41
- package/cosmos.gov.v1/types/amino/amino.ts +2 -0
- package/cosmos.gov.v1/types/cosmos/gov/v1/genesis.ts +40 -5
- package/cosmos.gov.v1/types/cosmos/gov/v1/gov.ts +277 -6
- package/cosmos.gov.v1/types/cosmos/gov/v1/query.ts +45 -7
- package/cosmos.gov.v1/types/cosmos/gov/v1/tx.ts +186 -3
- package/cosmos.gov.v1/types.ts +2 -0
- package/cosmos.gov.v1beta1/index.ts +0 -0
- package/cosmos.gov.v1beta1/module.ts +29 -29
- package/cosmos.gov.v1beta1/registry.ts +2 -2
- package/cosmos.gov.v1beta1/rest.ts +65 -96
- package/cosmos.gov.v1beta1/types/amino/amino.ts +2 -0
- package/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/genesis.ts +3 -3
- package/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/gov.ts +45 -10
- package/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/query.ts +4 -2
- package/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/tx.ts +16 -1
- package/cosmos.gov.v1beta1/types.ts +0 -0
- package/cosmos.group.v1/index.ts +0 -0
- package/cosmos.group.v1/module.ts +160 -158
- package/cosmos.group.v1/registry.ts +14 -14
- package/cosmos.group.v1/rest.ts +68 -9
- package/cosmos.group.v1/types/amino/amino.ts +2 -0
- package/cosmos.group.v1/types/cosmos/group/v1/events.ts +89 -1
- package/cosmos.group.v1/types/cosmos/group/v1/query.ts +155 -5
- package/cosmos.group.v1/types/cosmos/group/v1/tx.ts +79 -49
- package/cosmos.group.v1/types/cosmos/group/v1/types.ts +46 -6
- package/cosmos.group.v1/types.ts +2 -0
- package/cosmos.mint.v1beta1/index.ts +0 -0
- package/cosmos.mint.v1beta1/module.ts +0 -0
- package/cosmos.mint.v1beta1/registry.ts +0 -0
- package/cosmos.mint.v1beta1/rest.ts +9 -1
- package/cosmos.mint.v1beta1/types/amino/amino.ts +2 -0
- package/cosmos.mint.v1beta1/types/cosmos/mint/v1beta1/genesis.ts +1 -1
- package/cosmos.mint.v1beta1/types/cosmos/mint/v1beta1/mint.ts +1 -1
- package/cosmos.mint.v1beta1/types/cosmos/mint/v1beta1/tx.ts +172 -0
- package/cosmos.mint.v1beta1/types/cosmos/msg/v1/msg.ts +2 -0
- package/cosmos.mint.v1beta1/types.ts +0 -0
- package/cosmos.nft.v1beta1/index.ts +0 -0
- package/cosmos.nft.v1beta1/module.ts +0 -0
- package/cosmos.nft.v1beta1/registry.ts +0 -0
- package/cosmos.nft.v1beta1/rest.ts +18 -22
- package/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/event.ts +10 -0
- package/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/genesis.ts +1 -0
- package/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/query.ts +20 -0
- package/cosmos.nft.v1beta1/types/cosmos_proto/cosmos.ts +247 -0
- package/cosmos.nft.v1beta1/types.ts +0 -0
- package/cosmos.params.v1beta1/index.ts +0 -0
- package/cosmos.params.v1beta1/module.ts +0 -0
- package/cosmos.params.v1beta1/registry.ts +0 -0
- package/cosmos.params.v1beta1/types/amino/amino.ts +2 -0
- package/cosmos.params.v1beta1/types.ts +0 -0
- package/cosmos.slashing.v1beta1/index.ts +0 -0
- package/cosmos.slashing.v1beta1/module.ts +0 -0
- package/cosmos.slashing.v1beta1/registry.ts +0 -0
- package/cosmos.slashing.v1beta1/rest.ts +8 -0
- package/cosmos.slashing.v1beta1/types/amino/amino.ts +2 -0
- package/cosmos.slashing.v1beta1/types/cosmos/slashing/v1beta1/genesis.ts +1 -1
- package/cosmos.slashing.v1beta1/types/cosmos/slashing/v1beta1/tx.ts +139 -0
- package/cosmos.slashing.v1beta1/types.ts +0 -0
- package/cosmos.staking.v1beta1/index.ts +0 -0
- package/cosmos.staking.v1beta1/module.ts +66 -64
- package/cosmos.staking.v1beta1/registry.ts +6 -6
- package/cosmos.staking.v1beta1/rest.ts +51 -10
- package/cosmos.staking.v1beta1/types/amino/amino.ts +2 -0
- package/cosmos.staking.v1beta1/types/cosmos/query/v1/query.ts +2 -0
- package/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/genesis.ts +1 -1
- package/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/query.ts +36 -5
- package/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/staking.ts +206 -3
- package/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/tx.ts +138 -1
- package/cosmos.staking.v1beta1/types/tendermint/abci/types.ts +4525 -0
- package/cosmos.staking.v1beta1/types/tendermint/crypto/keys.ts +1 -1
- package/cosmos.staking.v1beta1/types/tendermint/types/params.ts +498 -0
- package/cosmos.staking.v1beta1/types/tendermint/types/types.ts +1 -1
- package/cosmos.staking.v1beta1/types.ts +2 -0
- package/cosmos.tx.v1beta1/index.ts +0 -0
- package/cosmos.tx.v1beta1/module.ts +0 -0
- package/cosmos.tx.v1beta1/registry.ts +0 -0
- package/cosmos.tx.v1beta1/rest.ts +180 -19
- package/cosmos.tx.v1beta1/types/amino/amino.ts +2 -0
- package/cosmos.tx.v1beta1/types/cosmos/tx/v1beta1/service.ts +524 -2
- package/cosmos.tx.v1beta1/types/tendermint/abci/types.ts +704 -333
- package/cosmos.tx.v1beta1/types/tendermint/crypto/keys.ts +1 -1
- package/cosmos.tx.v1beta1/types/tendermint/types/params.ts +9 -25
- package/cosmos.tx.v1beta1/types/tendermint/types/types.ts +1 -1
- package/cosmos.tx.v1beta1/types.ts +0 -0
- package/cosmos.upgrade.v1beta1/index.ts +0 -0
- package/cosmos.upgrade.v1beta1/module.ts +0 -0
- package/cosmos.upgrade.v1beta1/registry.ts +0 -0
- package/cosmos.upgrade.v1beta1/rest.ts +0 -1
- package/cosmos.upgrade.v1beta1/types/amino/amino.ts +2 -0
- package/cosmos.upgrade.v1beta1/types/cosmos/upgrade/v1beta1/tx.ts +3 -3
- package/cosmos.upgrade.v1beta1/types/cosmos/upgrade/v1beta1/upgrade.ts +6 -4
- package/cosmos.upgrade.v1beta1/types.ts +0 -0
- package/cosmos.vesting.v1beta1/index.ts +0 -0
- package/cosmos.vesting.v1beta1/module.ts +24 -24
- package/cosmos.vesting.v1beta1/registry.ts +2 -2
- package/cosmos.vesting.v1beta1/rest.ts +4 -1
- package/cosmos.vesting.v1beta1/types/amino/amino.ts +2 -0
- package/cosmos.vesting.v1beta1/types/cosmos/auth/v1beta1/auth.ts +104 -0
- package/cosmos.vesting.v1beta1/types/cosmos/vesting/v1beta1/tx.ts +2 -0
- package/cosmos.vesting.v1beta1/types/cosmos/vesting/v1beta1/vesting.ts +6 -1
- package/cosmos.vesting.v1beta1/types.ts +0 -0
- package/dist/client.js +135 -0
- package/dist/cosmos.auth.v1beta1/index.js +5 -0
- package/dist/cosmos.auth.v1beta1/module.js +64 -0
- package/dist/cosmos.auth.v1beta1/registry.js +2 -0
- package/dist/cosmos.auth.v1beta1/rest.js +228 -0
- package/dist/cosmos.auth.v1beta1/types/amino/amino.js +2 -0
- package/dist/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/auth.js +344 -0
- package/dist/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/genesis.js +67 -0
- package/dist/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/query.js +969 -0
- package/dist/cosmos.auth.v1beta1/types/cosmos/auth/v1beta1/tx.js +105 -0
- package/dist/cosmos.auth.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
- package/dist/cosmos.auth.v1beta1/types/cosmos/msg/v1/msg.js +2 -0
- package/dist/cosmos.auth.v1beta1/types/cosmos/query/v1/query.js +2 -0
- package/dist/cosmos.auth.v1beta1/types/cosmos_proto/cosmos.js +171 -0
- package/dist/cosmos.auth.v1beta1/types/gogoproto/gogo.js +2 -0
- package/dist/cosmos.auth.v1beta1/types/google/api/annotations.js +2 -0
- package/dist/cosmos.auth.v1beta1/types/google/api/http.js +260 -0
- package/dist/cosmos.auth.v1beta1/types/google/protobuf/any.js +99 -0
- package/dist/cosmos.auth.v1beta1/types/google/protobuf/descriptor.js +2830 -0
- package/dist/cosmos.auth.v1beta1/types.js +5 -0
- package/dist/cosmos.authz.v1beta1/index.js +5 -0
- package/dist/cosmos.authz.v1beta1/module.js +140 -0
- package/dist/cosmos.authz.v1beta1/registry.js +9 -0
- package/dist/cosmos.authz.v1beta1/rest.js +131 -0
- package/dist/cosmos.authz.v1beta1/types/amino/amino.js +2 -0
- package/dist/cosmos.authz.v1beta1/types/cosmos/authz/v1beta1/authz.js +244 -0
- package/dist/cosmos.authz.v1beta1/types/cosmos/authz/v1beta1/event.js +128 -0
- package/dist/cosmos.authz.v1beta1/types/cosmos/authz/v1beta1/genesis.js +54 -0
- package/dist/cosmos.authz.v1beta1/types/cosmos/authz/v1beta1/query.js +394 -0
- package/dist/cosmos.authz.v1beta1/types/cosmos/authz/v1beta1/tx.js +362 -0
- package/dist/cosmos.authz.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
- package/dist/cosmos.authz.v1beta1/types/cosmos/msg/v1/msg.js +2 -0
- package/dist/cosmos.authz.v1beta1/types/cosmos_proto/cosmos.js +171 -0
- package/dist/cosmos.authz.v1beta1/types/gogoproto/gogo.js +2 -0
- package/dist/cosmos.authz.v1beta1/types/google/api/annotations.js +2 -0
- package/dist/cosmos.authz.v1beta1/types/google/api/http.js +260 -0
- package/dist/cosmos.authz.v1beta1/types/google/protobuf/any.js +99 -0
- package/dist/cosmos.authz.v1beta1/types/google/protobuf/descriptor.js +2830 -0
- package/dist/cosmos.authz.v1beta1/types/google/protobuf/timestamp.js +84 -0
- package/dist/cosmos.authz.v1beta1/types.js +7 -0
- package/dist/cosmos.bank.v1beta1/index.js +5 -0
- package/dist/cosmos.bank.v1beta1/module.js +125 -0
- package/dist/cosmos.bank.v1beta1/registry.js +7 -0
- package/dist/cosmos.bank.v1beta1/rest.js +253 -0
- package/dist/cosmos.bank.v1beta1/types/amino/amino.js +2 -0
- package/dist/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/authz.js +66 -0
- package/dist/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/bank.js +455 -0
- package/dist/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/genesis.js +170 -0
- package/dist/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/query.js +1243 -0
- package/dist/cosmos.bank.v1beta1/types/cosmos/bank/v1beta1/tx.js +424 -0
- package/dist/cosmos.bank.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
- package/dist/cosmos.bank.v1beta1/types/cosmos/base/v1beta1/coin.js +192 -0
- package/dist/cosmos.bank.v1beta1/types/cosmos/msg/v1/msg.js +2 -0
- package/dist/cosmos.bank.v1beta1/types/cosmos/query/v1/query.js +2 -0
- package/dist/cosmos.bank.v1beta1/types/cosmos_proto/cosmos.js +171 -0
- package/dist/cosmos.bank.v1beta1/types/gogoproto/gogo.js +2 -0
- package/dist/cosmos.bank.v1beta1/types/google/api/annotations.js +2 -0
- package/dist/cosmos.bank.v1beta1/types/google/api/http.js +260 -0
- package/dist/cosmos.bank.v1beta1/types/google/protobuf/descriptor.js +2830 -0
- package/dist/cosmos.bank.v1beta1/types.js +11 -0
- package/dist/cosmos.base.node.v1beta1/index.js +5 -0
- package/dist/cosmos.base.node.v1beta1/module.js +55 -0
- package/dist/cosmos.base.node.v1beta1/registry.js +2 -0
- package/dist/cosmos.base.node.v1beta1/rest.js +100 -0
- package/dist/cosmos.base.node.v1beta1/types/cosmos/base/node/v1beta1/query.js +91 -0
- package/dist/cosmos.base.node.v1beta1/types/google/api/annotations.js +2 -0
- package/dist/cosmos.base.node.v1beta1/types/google/api/http.js +260 -0
- package/dist/cosmos.base.node.v1beta1/types/google/protobuf/descriptor.js +2830 -0
- package/dist/cosmos.base.node.v1beta1/types.js +1 -0
- package/dist/cosmos.base.tendermint.v1beta1/index.js +5 -0
- package/dist/cosmos.base.tendermint.v1beta1/module.js +70 -0
- package/dist/cosmos.base.tendermint.v1beta1/registry.js +2 -0
- package/dist/cosmos.base.tendermint.v1beta1/rest.js +209 -0
- package/dist/cosmos.base.tendermint.v1beta1/types/amino/amino.js +2 -0
- package/dist/cosmos.base.tendermint.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
- package/dist/cosmos.base.tendermint.v1beta1/types/cosmos/base/tendermint/v1beta1/query.js +1281 -0
- package/dist/cosmos.base.tendermint.v1beta1/types/cosmos/base/tendermint/v1beta1/types.js +350 -0
- package/dist/cosmos.base.tendermint.v1beta1/types/cosmos_proto/cosmos.js +171 -0
- package/dist/cosmos.base.tendermint.v1beta1/types/gogoproto/gogo.js +2 -0
- package/dist/cosmos.base.tendermint.v1beta1/types/google/api/annotations.js +2 -0
- package/dist/cosmos.base.tendermint.v1beta1/types/google/api/http.js +260 -0
- package/dist/cosmos.base.tendermint.v1beta1/types/google/protobuf/any.js +99 -0
- package/dist/cosmos.base.tendermint.v1beta1/types/google/protobuf/descriptor.js +2830 -0
- package/dist/cosmos.base.tendermint.v1beta1/types/google/protobuf/timestamp.js +84 -0
- package/dist/cosmos.base.tendermint.v1beta1/types/tendermint/crypto/keys.js +100 -0
- package/dist/cosmos.base.tendermint.v1beta1/types/tendermint/crypto/proof.js +356 -0
- package/dist/cosmos.base.tendermint.v1beta1/types/tendermint/p2p/types.js +352 -0
- package/dist/cosmos.base.tendermint.v1beta1/types/tendermint/types/block.js +86 -0
- package/dist/cosmos.base.tendermint.v1beta1/types/tendermint/types/evidence.js +343 -0
- package/dist/cosmos.base.tendermint.v1beta1/types/tendermint/types/types.js +1207 -0
- package/dist/cosmos.base.tendermint.v1beta1/types/tendermint/types/validator.js +254 -0
- package/dist/cosmos.base.tendermint.v1beta1/types/tendermint/version/types.js +133 -0
- package/dist/cosmos.base.tendermint.v1beta1/types.js +8 -0
- package/dist/cosmos.consensus.v1/index.js +5 -0
- package/dist/cosmos.consensus.v1/module.js +81 -0
- package/dist/cosmos.consensus.v1/registry.js +5 -0
- package/dist/cosmos.consensus.v1/rest.js +100 -0
- package/dist/cosmos.consensus.v1/types/cosmos/consensus/v1/query.js +94 -0
- package/dist/cosmos.consensus.v1/types/cosmos/consensus/v1/tx.js +129 -0
- package/dist/cosmos.consensus.v1/types/cosmos/msg/v1/msg.js +2 -0
- package/dist/cosmos.consensus.v1/types/cosmos_proto/cosmos.js +171 -0
- package/dist/cosmos.consensus.v1/types/gogoproto/gogo.js +2 -0
- package/dist/cosmos.consensus.v1/types/google/api/annotations.js +2 -0
- package/dist/cosmos.consensus.v1/types/google/api/http.js +260 -0
- package/dist/cosmos.consensus.v1/types/google/protobuf/descriptor.js +2830 -0
- package/dist/cosmos.consensus.v1/types/google/protobuf/duration.js +84 -0
- package/dist/cosmos.consensus.v1/types/tendermint/types/params.js +369 -0
- package/dist/cosmos.consensus.v1/types.js +1 -0
- package/dist/cosmos.crisis.v1beta1/index.js +5 -0
- package/dist/cosmos.crisis.v1beta1/module.js +104 -0
- package/dist/cosmos.crisis.v1beta1/registry.js +7 -0
- package/dist/cosmos.crisis.v1beta1/rest.js +83 -0
- package/dist/cosmos.crisis.v1beta1/types/amino/amino.js +2 -0
- package/dist/cosmos.crisis.v1beta1/types/cosmos/base/v1beta1/coin.js +192 -0
- package/dist/cosmos.crisis.v1beta1/types/cosmos/crisis/v1beta1/genesis.js +51 -0
- package/dist/cosmos.crisis.v1beta1/types/cosmos/crisis/v1beta1/tx.js +206 -0
- package/dist/cosmos.crisis.v1beta1/types/cosmos/msg/v1/msg.js +2 -0
- package/dist/cosmos.crisis.v1beta1/types/cosmos_proto/cosmos.js +171 -0
- package/dist/cosmos.crisis.v1beta1/types/gogoproto/gogo.js +2 -0
- package/dist/cosmos.crisis.v1beta1/types/google/protobuf/descriptor.js +2830 -0
- package/dist/cosmos.crisis.v1beta1/types.js +1 -0
- package/dist/cosmos.distribution.v1beta1/index.js +5 -0
- package/dist/cosmos.distribution.v1beta1/module.js +235 -0
- package/dist/cosmos.distribution.v1beta1/registry.js +15 -0
- package/dist/cosmos.distribution.v1beta1/rest.js +228 -0
- package/dist/cosmos.distribution.v1beta1/types/amino/amino.js +2 -0
- package/dist/cosmos.distribution.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
- package/dist/cosmos.distribution.v1beta1/types/cosmos/base/v1beta1/coin.js +192 -0
- package/dist/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/distribution.js +737 -0
- package/dist/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/genesis.js +656 -0
- package/dist/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/query.js +1046 -0
- package/dist/cosmos.distribution.v1beta1/types/cosmos/distribution/v1beta1/tx.js +595 -0
- package/dist/cosmos.distribution.v1beta1/types/cosmos/msg/v1/msg.js +2 -0
- package/dist/cosmos.distribution.v1beta1/types/cosmos_proto/cosmos.js +171 -0
- package/dist/cosmos.distribution.v1beta1/types/gogoproto/gogo.js +2 -0
- package/dist/cosmos.distribution.v1beta1/types/google/api/annotations.js +2 -0
- package/dist/cosmos.distribution.v1beta1/types/google/api/http.js +260 -0
- package/dist/cosmos.distribution.v1beta1/types/google/protobuf/descriptor.js +2830 -0
- package/dist/cosmos.distribution.v1beta1/types.js +20 -0
- package/dist/cosmos.evidence.v1beta1/index.js +5 -0
- package/dist/cosmos.evidence.v1beta1/module.js +84 -0
- package/dist/cosmos.evidence.v1beta1/registry.js +5 -0
- package/dist/cosmos.evidence.v1beta1/rest.js +116 -0
- package/dist/cosmos.evidence.v1beta1/types/amino/amino.js +2 -0
- package/dist/cosmos.evidence.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
- package/dist/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/evidence.js +124 -0
- package/dist/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/genesis.js +50 -0
- package/dist/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/query.js +265 -0
- package/dist/cosmos.evidence.v1beta1/types/cosmos/evidence/v1beta1/tx.js +154 -0
- package/dist/cosmos.evidence.v1beta1/types/cosmos/msg/v1/msg.js +2 -0
- package/dist/cosmos.evidence.v1beta1/types/cosmos_proto/cosmos.js +171 -0
- package/dist/cosmos.evidence.v1beta1/types/gogoproto/gogo.js +2 -0
- package/dist/cosmos.evidence.v1beta1/types/google/api/annotations.js +2 -0
- package/dist/cosmos.evidence.v1beta1/types/google/api/http.js +260 -0
- package/dist/cosmos.evidence.v1beta1/types/google/protobuf/any.js +99 -0
- package/dist/cosmos.evidence.v1beta1/types/google/protobuf/descriptor.js +2830 -0
- package/dist/cosmos.evidence.v1beta1/types/google/protobuf/timestamp.js +84 -0
- package/dist/cosmos.evidence.v1beta1/types.js +2 -0
- package/dist/cosmos.feegrant.v1beta1/index.js +5 -0
- package/dist/cosmos.feegrant.v1beta1/module.js +113 -0
- package/dist/cosmos.feegrant.v1beta1/registry.js +7 -0
- package/dist/cosmos.feegrant.v1beta1/rest.js +130 -0
- package/dist/cosmos.feegrant.v1beta1/types/amino/amino.js +2 -0
- package/dist/cosmos.feegrant.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
- package/dist/cosmos.feegrant.v1beta1/types/cosmos/base/v1beta1/coin.js +192 -0
- package/dist/cosmos.feegrant.v1beta1/types/cosmos/feegrant/v1beta1/feegrant.js +307 -0
- package/dist/cosmos.feegrant.v1beta1/types/cosmos/feegrant/v1beta1/genesis.js +52 -0
- package/dist/cosmos.feegrant.v1beta1/types/cosmos/feegrant/v1beta1/query.js +357 -0
- package/dist/cosmos.feegrant.v1beta1/types/cosmos/feegrant/v1beta1/tx.js +205 -0
- package/dist/cosmos.feegrant.v1beta1/types/cosmos/msg/v1/msg.js +2 -0
- package/dist/cosmos.feegrant.v1beta1/types/cosmos_proto/cosmos.js +171 -0
- package/dist/cosmos.feegrant.v1beta1/types/gogoproto/gogo.js +2 -0
- package/dist/cosmos.feegrant.v1beta1/types/google/api/annotations.js +2 -0
- package/dist/cosmos.feegrant.v1beta1/types/google/api/http.js +260 -0
- package/dist/cosmos.feegrant.v1beta1/types/google/protobuf/any.js +99 -0
- package/dist/cosmos.feegrant.v1beta1/types/google/protobuf/descriptor.js +2830 -0
- package/dist/cosmos.feegrant.v1beta1/types/google/protobuf/duration.js +84 -0
- package/dist/cosmos.feegrant.v1beta1/types/google/protobuf/timestamp.js +84 -0
- package/dist/cosmos.feegrant.v1beta1/types.js +5 -0
- package/dist/cosmos.gov.v1/index.js +5 -0
- package/dist/cosmos.gov.v1/module.js +192 -0
- package/dist/cosmos.gov.v1/registry.js +13 -0
- package/dist/cosmos.gov.v1/rest.js +242 -0
- package/dist/cosmos.gov.v1/types/amino/amino.js +2 -0
- package/dist/cosmos.gov.v1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
- package/dist/cosmos.gov.v1/types/cosmos/base/v1beta1/coin.js +192 -0
- package/dist/cosmos.gov.v1/types/cosmos/gov/v1/genesis.js +174 -0
- package/dist/cosmos.gov.v1/types/cosmos/gov/v1/gov.js +945 -0
- package/dist/cosmos.gov.v1/types/cosmos/gov/v1/query.js +928 -0
- package/dist/cosmos.gov.v1/types/cosmos/gov/v1/tx.js +701 -0
- package/dist/cosmos.gov.v1/types/cosmos/msg/v1/msg.js +2 -0
- package/dist/cosmos.gov.v1/types/cosmos_proto/cosmos.js +171 -0
- package/dist/cosmos.gov.v1/types/gogoproto/gogo.js +2 -0
- package/dist/cosmos.gov.v1/types/google/api/annotations.js +2 -0
- package/dist/cosmos.gov.v1/types/google/api/http.js +260 -0
- package/dist/cosmos.gov.v1/types/google/protobuf/any.js +99 -0
- package/dist/cosmos.gov.v1/types/google/protobuf/descriptor.js +2830 -0
- package/dist/cosmos.gov.v1/types/google/protobuf/duration.js +84 -0
- package/dist/cosmos.gov.v1/types/google/protobuf/timestamp.js +84 -0
- package/dist/cosmos.gov.v1/types.js +10 -0
- package/dist/cosmos.gov.v1beta1/index.js +5 -0
- package/dist/cosmos.gov.v1beta1/module.js +169 -0
- package/dist/cosmos.gov.v1beta1/registry.js +11 -0
- package/dist/cosmos.gov.v1beta1/rest.js +242 -0
- package/dist/cosmos.gov.v1beta1/types/amino/amino.js +2 -0
- package/dist/cosmos.gov.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
- package/dist/cosmos.gov.v1beta1/types/cosmos/base/v1beta1/coin.js +192 -0
- package/dist/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/genesis.js +162 -0
- package/dist/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/gov.js +832 -0
- package/dist/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/query.js +917 -0
- package/dist/cosmos.gov.v1beta1/types/cosmos/gov/v1beta1/tx.js +467 -0
- package/dist/cosmos.gov.v1beta1/types/cosmos/msg/v1/msg.js +2 -0
- package/dist/cosmos.gov.v1beta1/types/cosmos_proto/cosmos.js +171 -0
- package/dist/cosmos.gov.v1beta1/types/gogoproto/gogo.js +2 -0
- package/dist/cosmos.gov.v1beta1/types/google/api/annotations.js +2 -0
- package/dist/cosmos.gov.v1beta1/types/google/api/http.js +260 -0
- package/dist/cosmos.gov.v1beta1/types/google/protobuf/any.js +99 -0
- package/dist/cosmos.gov.v1beta1/types/google/protobuf/descriptor.js +2830 -0
- package/dist/cosmos.gov.v1beta1/types/google/protobuf/duration.js +84 -0
- package/dist/cosmos.gov.v1beta1/types/google/protobuf/timestamp.js +84 -0
- package/dist/cosmos.gov.v1beta1/types.js +10 -0
- package/dist/cosmos.group.v1/index.js +5 -0
- package/dist/cosmos.group.v1/module.js +423 -0
- package/dist/cosmos.group.v1/registry.js +31 -0
- package/dist/cosmos.group.v1/rest.js +366 -0
- package/dist/cosmos.group.v1/types/amino/amino.js +2 -0
- package/dist/cosmos.group.v1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
- package/dist/cosmos.group.v1/types/cosmos/group/v1/events.js +497 -0
- package/dist/cosmos.group.v1/types/cosmos/group/v1/genesis.js +177 -0
- package/dist/cosmos.group.v1/types/cosmos/group/v1/query.js +1578 -0
- package/dist/cosmos.group.v1/types/cosmos/group/v1/tx.js +1639 -0
- package/dist/cosmos.group.v1/types/cosmos/group/v1/types.js +1125 -0
- package/dist/cosmos.group.v1/types/cosmos/msg/v1/msg.js +2 -0
- package/dist/cosmos.group.v1/types/cosmos_proto/cosmos.js +171 -0
- package/dist/cosmos.group.v1/types/gogoproto/gogo.js +2 -0
- package/dist/cosmos.group.v1/types/google/api/annotations.js +2 -0
- package/dist/cosmos.group.v1/types/google/api/http.js +260 -0
- package/dist/cosmos.group.v1/types/google/protobuf/any.js +99 -0
- package/dist/cosmos.group.v1/types/google/protobuf/descriptor.js +2830 -0
- package/dist/cosmos.group.v1/types/google/protobuf/duration.js +84 -0
- package/dist/cosmos.group.v1/types/google/protobuf/timestamp.js +84 -0
- package/dist/cosmos.group.v1/types.js +22 -0
- package/dist/cosmos.mint.v1beta1/index.js +5 -0
- package/dist/cosmos.mint.v1beta1/module.js +60 -0
- package/dist/cosmos.mint.v1beta1/registry.js +2 -0
- package/dist/cosmos.mint.v1beta1/rest.js +128 -0
- package/dist/cosmos.mint.v1beta1/types/amino/amino.js +2 -0
- package/dist/cosmos.mint.v1beta1/types/cosmos/mint/v1beta1/genesis.js +63 -0
- package/dist/cosmos.mint.v1beta1/types/cosmos/mint/v1beta1/mint.js +179 -0
- package/dist/cosmos.mint.v1beta1/types/cosmos/mint/v1beta1/query.js +298 -0
- package/dist/cosmos.mint.v1beta1/types/cosmos/mint/v1beta1/tx.js +105 -0
- package/dist/cosmos.mint.v1beta1/types/cosmos/msg/v1/msg.js +2 -0
- package/dist/cosmos.mint.v1beta1/types/cosmos_proto/cosmos.js +171 -0
- package/dist/cosmos.mint.v1beta1/types/gogoproto/gogo.js +2 -0
- package/dist/cosmos.mint.v1beta1/types/google/api/annotations.js +2 -0
- package/dist/cosmos.mint.v1beta1/types/google/api/http.js +260 -0
- package/dist/cosmos.mint.v1beta1/types/google/protobuf/descriptor.js +2830 -0
- package/dist/cosmos.mint.v1beta1/types.js +3 -0
- package/dist/cosmos.nft.v1beta1/index.js +5 -0
- package/dist/cosmos.nft.v1beta1/module.js +68 -0
- package/dist/cosmos.nft.v1beta1/registry.js +2 -0
- package/dist/cosmos.nft.v1beta1/rest.js +187 -0
- package/dist/cosmos.nft.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
- package/dist/cosmos.nft.v1beta1/types/cosmos/msg/v1/msg.js +2 -0
- package/dist/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/event.js +198 -0
- package/dist/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/genesis.js +126 -0
- package/dist/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/nft.js +183 -0
- package/dist/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/query.js +752 -0
- package/dist/cosmos.nft.v1beta1/types/cosmos/nft/v1beta1/tx.js +120 -0
- package/dist/cosmos.nft.v1beta1/types/cosmos_proto/cosmos.js +171 -0
- package/dist/cosmos.nft.v1beta1/types/google/api/annotations.js +2 -0
- package/dist/cosmos.nft.v1beta1/types/google/api/http.js +260 -0
- package/dist/cosmos.nft.v1beta1/types/google/protobuf/any.js +99 -0
- package/dist/cosmos.nft.v1beta1/types/google/protobuf/descriptor.js +2830 -0
- package/dist/cosmos.nft.v1beta1/types.js +7 -0
- package/dist/cosmos.params.v1beta1/index.js +5 -0
- package/dist/cosmos.params.v1beta1/module.js +62 -0
- package/dist/cosmos.params.v1beta1/registry.js +2 -0
- package/dist/cosmos.params.v1beta1/rest.js +116 -0
- package/dist/cosmos.params.v1beta1/types/amino/amino.js +2 -0
- package/dist/cosmos.params.v1beta1/types/cosmos/params/v1beta1/params.js +133 -0
- package/dist/cosmos.params.v1beta1/types/cosmos/params/v1beta1/query.js +257 -0
- package/dist/cosmos.params.v1beta1/types/cosmos_proto/cosmos.js +171 -0
- package/dist/cosmos.params.v1beta1/types/gogoproto/gogo.js +2 -0
- package/dist/cosmos.params.v1beta1/types/google/api/annotations.js +2 -0
- package/dist/cosmos.params.v1beta1/types/google/api/http.js +260 -0
- package/dist/cosmos.params.v1beta1/types/google/protobuf/descriptor.js +2830 -0
- package/dist/cosmos.params.v1beta1/types.js +4 -0
- package/dist/cosmos.slashing.v1beta1/index.js +5 -0
- package/dist/cosmos.slashing.v1beta1/module.js +92 -0
- package/dist/cosmos.slashing.v1beta1/registry.js +5 -0
- package/dist/cosmos.slashing.v1beta1/rest.js +129 -0
- package/dist/cosmos.slashing.v1beta1/types/amino/amino.js +2 -0
- package/dist/cosmos.slashing.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
- package/dist/cosmos.slashing.v1beta1/types/cosmos/msg/v1/msg.js +2 -0
- package/dist/cosmos.slashing.v1beta1/types/cosmos/slashing/v1beta1/genesis.js +279 -0
- package/dist/cosmos.slashing.v1beta1/types/cosmos/slashing/v1beta1/query.js +300 -0
- package/dist/cosmos.slashing.v1beta1/types/cosmos/slashing/v1beta1/slashing.js +275 -0
- package/dist/cosmos.slashing.v1beta1/types/cosmos/slashing/v1beta1/tx.js +185 -0
- package/dist/cosmos.slashing.v1beta1/types/cosmos_proto/cosmos.js +171 -0
- package/dist/cosmos.slashing.v1beta1/types/gogoproto/gogo.js +2 -0
- package/dist/cosmos.slashing.v1beta1/types/google/api/annotations.js +2 -0
- package/dist/cosmos.slashing.v1beta1/types/google/api/http.js +260 -0
- package/dist/cosmos.slashing.v1beta1/types/google/protobuf/descriptor.js +2830 -0
- package/dist/cosmos.slashing.v1beta1/types/google/protobuf/duration.js +84 -0
- package/dist/cosmos.slashing.v1beta1/types/google/protobuf/timestamp.js +84 -0
- package/dist/cosmos.slashing.v1beta1/types.js +6 -0
- package/dist/cosmos.staking.v1beta1/index.js +5 -0
- package/dist/cosmos.staking.v1beta1/module.js +245 -0
- package/dist/cosmos.staking.v1beta1/registry.js +15 -0
- package/dist/cosmos.staking.v1beta1/rest.js +308 -0
- package/dist/cosmos.staking.v1beta1/types/amino/amino.js +2 -0
- package/dist/cosmos.staking.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
- package/dist/cosmos.staking.v1beta1/types/cosmos/base/v1beta1/coin.js +192 -0
- package/dist/cosmos.staking.v1beta1/types/cosmos/msg/v1/msg.js +2 -0
- package/dist/cosmos.staking.v1beta1/types/cosmos/query/v1/query.js +2 -0
- package/dist/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/authz.js +184 -0
- package/dist/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/genesis.js +259 -0
- package/dist/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/query.js +1568 -0
- package/dist/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/staking.js +1614 -0
- package/dist/cosmos.staking.v1beta1/types/cosmos/staking/v1beta1/tx.js +861 -0
- package/dist/cosmos.staking.v1beta1/types/cosmos_proto/cosmos.js +171 -0
- package/dist/cosmos.staking.v1beta1/types/gogoproto/gogo.js +2 -0
- package/dist/cosmos.staking.v1beta1/types/google/api/annotations.js +2 -0
- package/dist/cosmos.staking.v1beta1/types/google/api/http.js +260 -0
- package/dist/cosmos.staking.v1beta1/types/google/protobuf/any.js +99 -0
- package/dist/cosmos.staking.v1beta1/types/google/protobuf/descriptor.js +2830 -0
- package/dist/cosmos.staking.v1beta1/types/google/protobuf/duration.js +84 -0
- package/dist/cosmos.staking.v1beta1/types/google/protobuf/timestamp.js +84 -0
- package/dist/cosmos.staking.v1beta1/types/tendermint/abci/types.js +3812 -0
- package/dist/cosmos.staking.v1beta1/types/tendermint/crypto/keys.js +100 -0
- package/dist/cosmos.staking.v1beta1/types/tendermint/crypto/proof.js +356 -0
- package/dist/cosmos.staking.v1beta1/types/tendermint/types/params.js +369 -0
- package/dist/cosmos.staking.v1beta1/types/tendermint/types/types.js +1207 -0
- package/dist/cosmos.staking.v1beta1/types/tendermint/types/validator.js +254 -0
- package/dist/cosmos.staking.v1beta1/types/tendermint/version/types.js +133 -0
- package/dist/cosmos.staking.v1beta1/types.js +25 -0
- package/dist/cosmos.tx.v1beta1/index.js +5 -0
- package/dist/cosmos.tx.v1beta1/module.js +82 -0
- package/dist/cosmos.tx.v1beta1/registry.js +2 -0
- package/dist/cosmos.tx.v1beta1/rest.js +320 -0
- package/dist/cosmos.tx.v1beta1/types/amino/amino.js +2 -0
- package/dist/cosmos.tx.v1beta1/types/cosmos/base/abci/v1beta1/abci.js +803 -0
- package/dist/cosmos.tx.v1beta1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
- package/dist/cosmos.tx.v1beta1/types/cosmos/base/v1beta1/coin.js +192 -0
- package/dist/cosmos.tx.v1beta1/types/cosmos/crypto/multisig/v1beta1/multisig.js +147 -0
- package/dist/cosmos.tx.v1beta1/types/cosmos/tx/signing/v1beta1/signing.js +449 -0
- package/dist/cosmos.tx.v1beta1/types/cosmos/tx/v1beta1/service.js +1160 -0
- package/dist/cosmos.tx.v1beta1/types/cosmos/tx/v1beta1/tx.js +959 -0
- package/dist/cosmos.tx.v1beta1/types/cosmos_proto/cosmos.js +171 -0
- package/dist/cosmos.tx.v1beta1/types/gogoproto/gogo.js +2 -0
- package/dist/cosmos.tx.v1beta1/types/google/api/annotations.js +2 -0
- package/dist/cosmos.tx.v1beta1/types/google/api/http.js +260 -0
- package/dist/cosmos.tx.v1beta1/types/google/protobuf/any.js +99 -0
- package/dist/cosmos.tx.v1beta1/types/google/protobuf/descriptor.js +2830 -0
- package/dist/cosmos.tx.v1beta1/types/google/protobuf/duration.js +84 -0
- package/dist/cosmos.tx.v1beta1/types/google/protobuf/timestamp.js +84 -0
- package/dist/cosmos.tx.v1beta1/types/tendermint/abci/types.js +3812 -0
- package/dist/cosmos.tx.v1beta1/types/tendermint/crypto/keys.js +100 -0
- package/dist/cosmos.tx.v1beta1/types/tendermint/crypto/proof.js +356 -0
- package/dist/cosmos.tx.v1beta1/types/tendermint/types/block.js +86 -0
- package/dist/cosmos.tx.v1beta1/types/tendermint/types/evidence.js +343 -0
- package/dist/cosmos.tx.v1beta1/types/tendermint/types/params.js +369 -0
- package/dist/cosmos.tx.v1beta1/types/tendermint/types/types.js +1207 -0
- package/dist/cosmos.tx.v1beta1/types/tendermint/types/validator.js +254 -0
- package/dist/cosmos.tx.v1beta1/types/tendermint/version/types.js +133 -0
- package/dist/cosmos.tx.v1beta1/types.js +14 -0
- package/dist/cosmos.upgrade.v1beta1/index.js +5 -0
- package/dist/cosmos.upgrade.v1beta1/module.js +113 -0
- package/dist/cosmos.upgrade.v1beta1/registry.js +7 -0
- package/dist/cosmos.upgrade.v1beta1/rest.js +162 -0
- package/dist/cosmos.upgrade.v1beta1/types/amino/amino.js +2 -0
- package/dist/cosmos.upgrade.v1beta1/types/cosmos/msg/v1/msg.js +2 -0
- package/dist/cosmos.upgrade.v1beta1/types/cosmos/upgrade/v1beta1/query.js +501 -0
- package/dist/cosmos.upgrade.v1beta1/types/cosmos/upgrade/v1beta1/tx.js +183 -0
- package/dist/cosmos.upgrade.v1beta1/types/cosmos/upgrade/v1beta1/upgrade.js +302 -0
- package/dist/cosmos.upgrade.v1beta1/types/cosmos_proto/cosmos.js +171 -0
- package/dist/cosmos.upgrade.v1beta1/types/gogoproto/gogo.js +2 -0
- package/dist/cosmos.upgrade.v1beta1/types/google/api/annotations.js +2 -0
- package/dist/cosmos.upgrade.v1beta1/types/google/api/http.js +260 -0
- package/dist/cosmos.upgrade.v1beta1/types/google/protobuf/any.js +99 -0
- package/dist/cosmos.upgrade.v1beta1/types/google/protobuf/descriptor.js +2830 -0
- package/dist/cosmos.upgrade.v1beta1/types/google/protobuf/timestamp.js +84 -0
- package/dist/cosmos.upgrade.v1beta1/types.js +5 -0
- package/dist/cosmos.vesting.v1beta1/index.js +5 -0
- package/dist/cosmos.vesting.v1beta1/module.js +140 -0
- package/dist/cosmos.vesting.v1beta1/registry.js +9 -0
- package/dist/cosmos.vesting.v1beta1/rest.js +83 -0
- package/dist/cosmos.vesting.v1beta1/types/amino/amino.js +2 -0
- package/dist/cosmos.vesting.v1beta1/types/cosmos/auth/v1beta1/auth.js +344 -0
- package/dist/cosmos.vesting.v1beta1/types/cosmos/base/v1beta1/coin.js +192 -0
- package/dist/cosmos.vesting.v1beta1/types/cosmos/msg/v1/msg.js +2 -0
- package/dist/cosmos.vesting.v1beta1/types/cosmos/vesting/v1beta1/tx.js +383 -0
- package/dist/cosmos.vesting.v1beta1/types/cosmos/vesting/v1beta1/vesting.js +422 -0
- package/dist/cosmos.vesting.v1beta1/types/cosmos_proto/cosmos.js +171 -0
- package/dist/cosmos.vesting.v1beta1/types/gogoproto/gogo.js +2 -0
- package/dist/cosmos.vesting.v1beta1/types/google/protobuf/any.js +99 -0
- package/dist/cosmos.vesting.v1beta1/types/google/protobuf/descriptor.js +2830 -0
- package/dist/cosmos.vesting.v1beta1/types.js +7 -0
- package/dist/env.js +1 -0
- package/dist/helpers.js +11 -0
- package/dist/ibc.applications.interchain_accounts.controller.v1/index.js +5 -0
- package/dist/ibc.applications.interchain_accounts.controller.v1/module.js +58 -0
- package/dist/ibc.applications.interchain_accounts.controller.v1/registry.js +2 -0
- package/dist/ibc.applications.interchain_accounts.controller.v1/rest.js +123 -0
- package/dist/ibc.applications.interchain_accounts.controller.v1/types/gogoproto/gogo.js +2 -0
- package/dist/ibc.applications.interchain_accounts.controller.v1/types/google/api/annotations.js +2 -0
- package/dist/ibc.applications.interchain_accounts.controller.v1/types/google/api/http.js +260 -0
- package/dist/ibc.applications.interchain_accounts.controller.v1/types/google/protobuf/any.js +99 -0
- package/dist/ibc.applications.interchain_accounts.controller.v1/types/google/protobuf/descriptor.js +2830 -0
- package/dist/ibc.applications.interchain_accounts.controller.v1/types/ibc/applications/interchain_accounts/controller/v1/controller.js +47 -0
- package/dist/ibc.applications.interchain_accounts.controller.v1/types/ibc/applications/interchain_accounts/controller/v1/query.js +193 -0
- package/dist/ibc.applications.interchain_accounts.controller.v1/types/ibc/applications/interchain_accounts/controller/v1/tx.js +277 -0
- package/dist/ibc.applications.interchain_accounts.controller.v1/types/ibc/applications/interchain_accounts/v1/packet.js +192 -0
- package/dist/ibc.applications.interchain_accounts.controller.v1/types.js +2 -0
- package/dist/ibc.applications.interchain_accounts.host.v1/index.js +5 -0
- package/dist/ibc.applications.interchain_accounts.host.v1/module.js +58 -0
- package/dist/ibc.applications.interchain_accounts.host.v1/registry.js +2 -0
- package/dist/ibc.applications.interchain_accounts.host.v1/rest.js +100 -0
- package/dist/ibc.applications.interchain_accounts.host.v1/types/gogoproto/gogo.js +2 -0
- package/dist/ibc.applications.interchain_accounts.host.v1/types/google/api/annotations.js +2 -0
- package/dist/ibc.applications.interchain_accounts.host.v1/types/google/api/http.js +260 -0
- package/dist/ibc.applications.interchain_accounts.host.v1/types/google/protobuf/descriptor.js +2830 -0
- package/dist/ibc.applications.interchain_accounts.host.v1/types/ibc/applications/interchain_accounts/host/v1/host.js +63 -0
- package/dist/ibc.applications.interchain_accounts.host.v1/types/ibc/applications/interchain_accounts/host/v1/query.js +94 -0
- package/dist/ibc.applications.interchain_accounts.host.v1/types.js +2 -0
- package/dist/ibc.applications.transfer.v1/index.js +5 -0
- package/dist/ibc.applications.transfer.v1/module.js +64 -0
- package/dist/ibc.applications.transfer.v1/registry.js +2 -0
- package/dist/ibc.applications.transfer.v1/rest.js +171 -0
- package/dist/ibc.applications.transfer.v1/types/amino/amino.js +2 -0
- package/dist/ibc.applications.transfer.v1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
- package/dist/ibc.applications.transfer.v1/types/cosmos/base/v1beta1/coin.js +192 -0
- package/dist/ibc.applications.transfer.v1/types/cosmos/upgrade/v1beta1/upgrade.js +302 -0
- package/dist/ibc.applications.transfer.v1/types/cosmos_proto/cosmos.js +171 -0
- package/dist/ibc.applications.transfer.v1/types/gogoproto/gogo.js +2 -0
- package/dist/ibc.applications.transfer.v1/types/google/api/annotations.js +2 -0
- package/dist/ibc.applications.transfer.v1/types/google/api/http.js +260 -0
- package/dist/ibc.applications.transfer.v1/types/google/protobuf/any.js +99 -0
- package/dist/ibc.applications.transfer.v1/types/google/protobuf/descriptor.js +2830 -0
- package/dist/ibc.applications.transfer.v1/types/google/protobuf/timestamp.js +84 -0
- package/dist/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/authz.js +135 -0
- package/dist/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/genesis.js +90 -0
- package/dist/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/query.js +574 -0
- package/dist/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/transfer.js +110 -0
- package/dist/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/tx.js +204 -0
- package/dist/ibc.applications.transfer.v1/types/ibc/core/client/v1/client.js +448 -0
- package/dist/ibc.applications.transfer.v1/types.js +5 -0
- package/dist/ibc.core.channel.v1/index.js +5 -0
- package/dist/ibc.core.channel.v1/module.js +72 -0
- package/dist/ibc.core.channel.v1/registry.js +2 -0
- package/dist/ibc.core.channel.v1/rest.js +323 -0
- package/dist/ibc.core.channel.v1/types/amino/amino.js +2 -0
- package/dist/ibc.core.channel.v1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
- package/dist/ibc.core.channel.v1/types/cosmos/upgrade/v1beta1/upgrade.js +302 -0
- package/dist/ibc.core.channel.v1/types/cosmos_proto/cosmos.js +171 -0
- package/dist/ibc.core.channel.v1/types/gogoproto/gogo.js +2 -0
- package/dist/ibc.core.channel.v1/types/google/api/annotations.js +2 -0
- package/dist/ibc.core.channel.v1/types/google/api/http.js +260 -0
- package/dist/ibc.core.channel.v1/types/google/protobuf/any.js +99 -0
- package/dist/ibc.core.channel.v1/types/google/protobuf/descriptor.js +2830 -0
- package/dist/ibc.core.channel.v1/types/google/protobuf/timestamp.js +84 -0
- package/dist/ibc.core.channel.v1/types/ibc/core/channel/v1/channel.js +714 -0
- package/dist/ibc.core.channel.v1/types/ibc/core/channel/v1/genesis.js +254 -0
- package/dist/ibc.core.channel.v1/types/ibc/core/channel/v1/query.js +1866 -0
- package/dist/ibc.core.channel.v1/types/ibc/core/channel/v1/tx.js +1436 -0
- package/dist/ibc.core.channel.v1/types/ibc/core/client/v1/client.js +448 -0
- package/dist/ibc.core.channel.v1/types.js +9 -0
- package/dist/ibc.core.client.v1/index.js +5 -0
- package/dist/ibc.core.client.v1/module.js +74 -0
- package/dist/ibc.core.client.v1/registry.js +2 -0
- package/dist/ibc.core.client.v1/rest.js +218 -0
- package/dist/ibc.core.client.v1/types/amino/amino.js +2 -0
- package/dist/ibc.core.client.v1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
- package/dist/ibc.core.client.v1/types/cosmos/upgrade/v1beta1/upgrade.js +302 -0
- package/dist/ibc.core.client.v1/types/cosmos_proto/cosmos.js +171 -0
- package/dist/ibc.core.client.v1/types/gogoproto/gogo.js +2 -0
- package/dist/ibc.core.client.v1/types/google/api/annotations.js +2 -0
- package/dist/ibc.core.client.v1/types/google/api/http.js +260 -0
- package/dist/ibc.core.client.v1/types/google/protobuf/any.js +99 -0
- package/dist/ibc.core.client.v1/types/google/protobuf/descriptor.js +2830 -0
- package/dist/ibc.core.client.v1/types/google/protobuf/timestamp.js +84 -0
- package/dist/ibc.core.client.v1/types/ibc/core/client/v1/client.js +448 -0
- package/dist/ibc.core.client.v1/types/ibc/core/client/v1/genesis.js +287 -0
- package/dist/ibc.core.client.v1/types/ibc/core/client/v1/query.js +1026 -0
- package/dist/ibc.core.client.v1/types/ibc/core/client/v1/tx.js +510 -0
- package/dist/ibc.core.client.v1/types.js +10 -0
- package/dist/ibc.core.connection.v1/index.js +5 -0
- package/dist/ibc.core.connection.v1/module.js +70 -0
- package/dist/ibc.core.connection.v1/registry.js +2 -0
- package/dist/ibc.core.connection.v1/rest.js +191 -0
- package/dist/ibc.core.connection.v1/types/amino/amino.js +2 -0
- package/dist/ibc.core.connection.v1/types/cosmos/base/query/v1beta1/pagination.js +190 -0
- package/dist/ibc.core.connection.v1/types/cosmos/ics23/v1/proofs.js +1126 -0
- package/dist/ibc.core.connection.v1/types/cosmos/upgrade/v1beta1/upgrade.js +302 -0
- package/dist/ibc.core.connection.v1/types/cosmos_proto/cosmos.js +171 -0
- package/dist/ibc.core.connection.v1/types/gogoproto/gogo.js +2 -0
- package/dist/ibc.core.connection.v1/types/google/api/annotations.js +2 -0
- package/dist/ibc.core.connection.v1/types/google/api/http.js +260 -0
- package/dist/ibc.core.connection.v1/types/google/protobuf/any.js +99 -0
- package/dist/ibc.core.connection.v1/types/google/protobuf/descriptor.js +2830 -0
- package/dist/ibc.core.connection.v1/types/google/protobuf/timestamp.js +84 -0
- package/dist/ibc.core.connection.v1/types/ibc/core/client/v1/client.js +448 -0
- package/dist/ibc.core.connection.v1/types/ibc/core/commitment/v1/commitment.js +223 -0
- package/dist/ibc.core.connection.v1/types/ibc/core/connection/v1/connection.js +537 -0
- package/dist/ibc.core.connection.v1/types/ibc/core/connection/v1/genesis.js +120 -0
- package/dist/ibc.core.connection.v1/types/ibc/core/connection/v1/query.js +766 -0
- package/dist/ibc.core.connection.v1/types/ibc/core/connection/v1/tx.js +731 -0
- package/dist/ibc.core.connection.v1/types.js +8 -0
- package/dist/iconlake.drop/index.js +5 -0
- package/dist/iconlake.drop/module.js +86 -0
- package/dist/iconlake.drop/registry.js +5 -0
- package/dist/iconlake.drop/rest.js +128 -0
- package/dist/iconlake.drop/types/amino/amino.js +2 -0
- package/dist/iconlake.drop/types/cosmos/base/query/v1beta1/pagination.js +190 -0
- package/dist/iconlake.drop/types/cosmos/base/v1beta1/coin.js +192 -0
- package/dist/iconlake.drop/types/cosmos_proto/cosmos.js +171 -0
- package/dist/iconlake.drop/types/gogoproto/gogo.js +2 -0
- package/dist/iconlake.drop/types/google/api/annotations.js +2 -0
- package/dist/iconlake.drop/types/google/api/http.js +260 -0
- package/dist/iconlake.drop/types/google/protobuf/descriptor.js +2830 -0
- package/dist/iconlake.drop/types/iconlake/drop/genesis.js +67 -0
- package/dist/iconlake.drop/types/iconlake/drop/info.js +84 -0
- package/dist/iconlake.drop/types/iconlake/drop/params.js +36 -0
- package/dist/iconlake.drop/types/iconlake/drop/query.js +294 -0
- package/dist/iconlake.drop/types/iconlake/drop/tx.js +152 -0
- package/dist/iconlake.drop/types.js +3 -0
- package/dist/iconlake.icon/index.js +5 -0
- package/dist/iconlake.icon/module.js +88 -0
- package/dist/iconlake.icon/registry.js +5 -0
- package/dist/iconlake.icon/rest.js +115 -0
- package/dist/iconlake.icon/types/cosmos/base/query/v1beta1/pagination.js +190 -0
- package/dist/iconlake.icon/types/gogoproto/gogo.js +2 -0
- package/dist/iconlake.icon/types/google/api/annotations.js +2 -0
- package/dist/iconlake.icon/types/google/api/http.js +260 -0
- package/dist/iconlake.icon/types/google/protobuf/descriptor.js +2830 -0
- package/dist/iconlake.icon/types/iconlake/icon/class_data.js +58 -0
- package/dist/iconlake.icon/types/iconlake/icon/genesis.js +50 -0
- package/dist/iconlake.icon/types/iconlake/icon/icon_data.js +76 -0
- package/dist/iconlake.icon/types/iconlake/icon/params.js +36 -0
- package/dist/iconlake.icon/types/iconlake/icon/query.js +204 -0
- package/dist/iconlake.icon/types/iconlake/icon/tx.js +174 -0
- package/dist/iconlake.icon/types.js +4 -0
- package/dist/iconlake.iconlake/index.js +5 -0
- package/dist/iconlake.iconlake/module.js +86 -0
- package/dist/iconlake.iconlake/registry.js +5 -0
- package/dist/iconlake.iconlake/rest.js +128 -0
- package/dist/iconlake.iconlake/types/amino/amino.js +2 -0
- package/dist/iconlake.iconlake/types/cosmos/base/query/v1beta1/pagination.js +190 -0
- package/dist/iconlake.iconlake/types/cosmos/base/v1beta1/coin.js +192 -0
- package/dist/iconlake.iconlake/types/cosmos_proto/cosmos.js +171 -0
- package/dist/iconlake.iconlake/types/gogoproto/gogo.js +2 -0
- package/dist/iconlake.iconlake/types/google/api/annotations.js +2 -0
- package/dist/iconlake.iconlake/types/google/api/http.js +260 -0
- package/dist/iconlake.iconlake/types/google/protobuf/descriptor.js +2830 -0
- package/dist/iconlake.iconlake/types/iconlake/iconlake/account.js +84 -0
- package/dist/iconlake.iconlake/types/iconlake/iconlake/genesis.js +67 -0
- package/dist/iconlake.iconlake/types/iconlake/iconlake/params.js +36 -0
- package/dist/iconlake.iconlake/types/iconlake/iconlake/query.js +296 -0
- package/dist/iconlake.iconlake/types/iconlake/iconlake/tx.js +113 -0
- package/dist/iconlake.iconlake/types.js +3 -0
- package/dist/index.js +68 -0
- package/dist/modules.js +1 -0
- package/env.ts +0 -0
- package/helpers.ts +0 -0
- package/ibc.applications.interchain_accounts.controller.v1/index.ts +0 -0
- package/ibc.applications.interchain_accounts.controller.v1/module.ts +0 -0
- package/ibc.applications.interchain_accounts.controller.v1/registry.ts +0 -0
- package/ibc.applications.interchain_accounts.controller.v1/rest.ts +1 -0
- package/ibc.applications.interchain_accounts.controller.v1/types/ibc/applications/interchain_accounts/controller/v1/tx.ts +16 -4
- package/ibc.applications.interchain_accounts.controller.v1/types.ts +0 -0
- package/ibc.applications.interchain_accounts.host.v1/index.ts +0 -0
- package/ibc.applications.interchain_accounts.host.v1/module.ts +0 -0
- package/ibc.applications.interchain_accounts.host.v1/registry.ts +0 -0
- package/ibc.applications.interchain_accounts.host.v1/types.ts +0 -0
- package/ibc.applications.transfer.v1/index.ts +0 -0
- package/ibc.applications.transfer.v1/module.ts +5 -34
- package/ibc.applications.transfer.v1/registry.ts +0 -2
- package/ibc.applications.transfer.v1/rest.ts +30 -1
- package/ibc.applications.transfer.v1/types/amino/amino.ts +2 -0
- package/ibc.applications.transfer.v1/types/cosmos/upgrade/v1beta1/upgrade.ts +6 -4
- package/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/authz.ts +178 -0
- package/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/genesis.ts +23 -2
- package/ibc.applications.transfer.v1/types/ibc/applications/transfer/v1/query.ts +120 -0
- package/ibc.applications.transfer.v1/types/ibc/core/client/v1/client.ts +5 -1
- package/ibc.applications.transfer.v1/types.ts +4 -0
- package/ibc.core.channel.v1/index.ts +0 -0
- package/ibc.core.channel.v1/module.ts +0 -0
- package/ibc.core.channel.v1/registry.ts +0 -0
- package/ibc.core.channel.v1/rest.ts +1 -0
- package/ibc.core.channel.v1/types/amino/amino.ts +2 -0
- package/ibc.core.channel.v1/types/cosmos/upgrade/v1beta1/upgrade.ts +6 -4
- package/ibc.core.channel.v1/types/ibc/core/channel/v1/tx.ts +14 -2
- package/ibc.core.channel.v1/types/ibc/core/client/v1/client.ts +5 -1
- package/ibc.core.channel.v1/types.ts +0 -0
- package/ibc.core.client.v1/index.ts +0 -0
- package/ibc.core.client.v1/module.ts +0 -0
- package/ibc.core.client.v1/registry.ts +0 -0
- package/ibc.core.client.v1/rest.ts +5 -1
- package/ibc.core.client.v1/types/amino/amino.ts +2 -0
- package/ibc.core.client.v1/types/cosmos/upgrade/v1beta1/upgrade.ts +6 -4
- package/ibc.core.client.v1/types/ibc/core/client/v1/client.ts +5 -1
- package/ibc.core.client.v1/types/ibc/core/client/v1/tx.ts +28 -14
- package/ibc.core.client.v1/types.ts +0 -0
- package/ibc.core.connection.v1/index.ts +0 -0
- package/ibc.core.connection.v1/module.ts +0 -0
- package/ibc.core.connection.v1/registry.ts +0 -0
- package/ibc.core.connection.v1/types/amino/amino.ts +2 -0
- package/ibc.core.connection.v1/types/{proofs.ts → cosmos/ics23/v1/proofs.ts} +1 -1
- package/ibc.core.connection.v1/types/cosmos/upgrade/v1beta1/upgrade.ts +6 -4
- package/ibc.core.connection.v1/types/ibc/core/client/v1/client.ts +5 -1
- package/ibc.core.connection.v1/types/ibc/core/commitment/v1/commitment.ts +1 -1
- package/ibc.core.connection.v1/types/ibc/core/connection/v1/tx.ts +34 -0
- package/ibc.core.connection.v1/types.ts +0 -0
- package/iconlake.drop/index.ts +6 -0
- package/iconlake.drop/module.ts +133 -0
- package/iconlake.drop/registry.ts +9 -0
- package/iconlake.drop/rest.ts +339 -0
- package/iconlake.drop/types/amino/amino.ts +2 -0
- package/iconlake.drop/types/cosmos/base/query/v1beta1/pagination.ts +286 -0
- package/iconlake.drop/types/cosmos/base/v1beta1/coin.ts +261 -0
- package/iconlake.drop/types/cosmos_proto/cosmos.ts +247 -0
- package/iconlake.drop/types/gogoproto/gogo.ts +2 -0
- package/iconlake.drop/types/google/api/annotations.ts +2 -0
- package/iconlake.drop/types/google/api/http.ts +589 -0
- package/iconlake.drop/types/google/protobuf/descriptor.ts +3753 -0
- package/iconlake.drop/types/iconlake/drop/genesis.ts +91 -0
- package/iconlake.drop/types/iconlake/drop/info.ts +114 -0
- package/iconlake.drop/types/iconlake/drop/params.ts +58 -0
- package/iconlake.drop/types/iconlake/drop/query.ts +386 -0
- package/iconlake.drop/types/iconlake/drop/tx.ts +204 -0
- package/iconlake.drop/types.ts +9 -0
- package/iconlake.icon/index.ts +0 -0
- package/iconlake.icon/module.ts +2 -2
- package/iconlake.icon/registry.ts +0 -0
- package/iconlake.icon/rest.ts +1 -1
- package/iconlake.icon/types/iconlake/icon/class_data.ts +82 -0
- package/iconlake.icon/types/iconlake/icon/icon_data.ts +102 -0
- package/iconlake.icon/types/iconlake/icon/tx.ts +1 -146
- package/iconlake.icon/types.ts +3 -3
- package/iconlake.iconlake/index.ts +0 -0
- package/iconlake.iconlake/module.ts +0 -0
- package/iconlake.iconlake/registry.ts +0 -0
- package/iconlake.iconlake/rest.ts +2 -14
- package/iconlake.iconlake/types/amino/amino.ts +2 -0
- package/iconlake.iconlake/types/iconlake/iconlake/account.ts +10 -36
- package/iconlake.iconlake/types/iconlake/iconlake/tx.ts +8 -64
- package/iconlake.iconlake/types.ts +0 -0
- package/index.ts +5 -3
- package/modules.ts +0 -0
- package/package.json +15 -8
- package/tsconfig.json +11 -11
- package/types.d.ts +0 -0
|
@@ -0,0 +1,1436 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
import Long from "long";
|
|
3
|
+
import _m0 from "protobufjs/minimal";
|
|
4
|
+
import { Height } from "../../client/v1/client";
|
|
5
|
+
import { Channel, Packet } from "./channel";
|
|
6
|
+
export const protobufPackage = "ibc.core.channel.v1";
|
|
7
|
+
/** ResponseResultType defines the possible outcomes of the execution of a message */
|
|
8
|
+
export var ResponseResultType;
|
|
9
|
+
(function (ResponseResultType) {
|
|
10
|
+
/** RESPONSE_RESULT_TYPE_UNSPECIFIED - Default zero value enumeration */
|
|
11
|
+
ResponseResultType[ResponseResultType["RESPONSE_RESULT_TYPE_UNSPECIFIED"] = 0] = "RESPONSE_RESULT_TYPE_UNSPECIFIED";
|
|
12
|
+
/** RESPONSE_RESULT_TYPE_NOOP - The message did not call the IBC application callbacks (because, for example, the packet had already been relayed) */
|
|
13
|
+
ResponseResultType[ResponseResultType["RESPONSE_RESULT_TYPE_NOOP"] = 1] = "RESPONSE_RESULT_TYPE_NOOP";
|
|
14
|
+
/** RESPONSE_RESULT_TYPE_SUCCESS - The message was executed successfully */
|
|
15
|
+
ResponseResultType[ResponseResultType["RESPONSE_RESULT_TYPE_SUCCESS"] = 2] = "RESPONSE_RESULT_TYPE_SUCCESS";
|
|
16
|
+
ResponseResultType[ResponseResultType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
17
|
+
})(ResponseResultType || (ResponseResultType = {}));
|
|
18
|
+
export function responseResultTypeFromJSON(object) {
|
|
19
|
+
switch (object) {
|
|
20
|
+
case 0:
|
|
21
|
+
case "RESPONSE_RESULT_TYPE_UNSPECIFIED":
|
|
22
|
+
return ResponseResultType.RESPONSE_RESULT_TYPE_UNSPECIFIED;
|
|
23
|
+
case 1:
|
|
24
|
+
case "RESPONSE_RESULT_TYPE_NOOP":
|
|
25
|
+
return ResponseResultType.RESPONSE_RESULT_TYPE_NOOP;
|
|
26
|
+
case 2:
|
|
27
|
+
case "RESPONSE_RESULT_TYPE_SUCCESS":
|
|
28
|
+
return ResponseResultType.RESPONSE_RESULT_TYPE_SUCCESS;
|
|
29
|
+
case -1:
|
|
30
|
+
case "UNRECOGNIZED":
|
|
31
|
+
default:
|
|
32
|
+
return ResponseResultType.UNRECOGNIZED;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
export function responseResultTypeToJSON(object) {
|
|
36
|
+
switch (object) {
|
|
37
|
+
case ResponseResultType.RESPONSE_RESULT_TYPE_UNSPECIFIED:
|
|
38
|
+
return "RESPONSE_RESULT_TYPE_UNSPECIFIED";
|
|
39
|
+
case ResponseResultType.RESPONSE_RESULT_TYPE_NOOP:
|
|
40
|
+
return "RESPONSE_RESULT_TYPE_NOOP";
|
|
41
|
+
case ResponseResultType.RESPONSE_RESULT_TYPE_SUCCESS:
|
|
42
|
+
return "RESPONSE_RESULT_TYPE_SUCCESS";
|
|
43
|
+
case ResponseResultType.UNRECOGNIZED:
|
|
44
|
+
default:
|
|
45
|
+
return "UNRECOGNIZED";
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
function createBaseMsgChannelOpenInit() {
|
|
49
|
+
return { portId: "", channel: undefined, signer: "" };
|
|
50
|
+
}
|
|
51
|
+
export const MsgChannelOpenInit = {
|
|
52
|
+
encode(message, writer = _m0.Writer.create()) {
|
|
53
|
+
if (message.portId !== "") {
|
|
54
|
+
writer.uint32(10).string(message.portId);
|
|
55
|
+
}
|
|
56
|
+
if (message.channel !== undefined) {
|
|
57
|
+
Channel.encode(message.channel, writer.uint32(18).fork()).ldelim();
|
|
58
|
+
}
|
|
59
|
+
if (message.signer !== "") {
|
|
60
|
+
writer.uint32(26).string(message.signer);
|
|
61
|
+
}
|
|
62
|
+
return writer;
|
|
63
|
+
},
|
|
64
|
+
decode(input, length) {
|
|
65
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
66
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
67
|
+
const message = createBaseMsgChannelOpenInit();
|
|
68
|
+
while (reader.pos < end) {
|
|
69
|
+
const tag = reader.uint32();
|
|
70
|
+
switch (tag >>> 3) {
|
|
71
|
+
case 1:
|
|
72
|
+
message.portId = reader.string();
|
|
73
|
+
break;
|
|
74
|
+
case 2:
|
|
75
|
+
message.channel = Channel.decode(reader, reader.uint32());
|
|
76
|
+
break;
|
|
77
|
+
case 3:
|
|
78
|
+
message.signer = reader.string();
|
|
79
|
+
break;
|
|
80
|
+
default:
|
|
81
|
+
reader.skipType(tag & 7);
|
|
82
|
+
break;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
return message;
|
|
86
|
+
},
|
|
87
|
+
fromJSON(object) {
|
|
88
|
+
return {
|
|
89
|
+
portId: isSet(object.portId) ? String(object.portId) : "",
|
|
90
|
+
channel: isSet(object.channel) ? Channel.fromJSON(object.channel) : undefined,
|
|
91
|
+
signer: isSet(object.signer) ? String(object.signer) : "",
|
|
92
|
+
};
|
|
93
|
+
},
|
|
94
|
+
toJSON(message) {
|
|
95
|
+
const obj = {};
|
|
96
|
+
message.portId !== undefined && (obj.portId = message.portId);
|
|
97
|
+
message.channel !== undefined && (obj.channel = message.channel ? Channel.toJSON(message.channel) : undefined);
|
|
98
|
+
message.signer !== undefined && (obj.signer = message.signer);
|
|
99
|
+
return obj;
|
|
100
|
+
},
|
|
101
|
+
fromPartial(object) {
|
|
102
|
+
const message = createBaseMsgChannelOpenInit();
|
|
103
|
+
message.portId = object.portId ?? "";
|
|
104
|
+
message.channel = (object.channel !== undefined && object.channel !== null)
|
|
105
|
+
? Channel.fromPartial(object.channel)
|
|
106
|
+
: undefined;
|
|
107
|
+
message.signer = object.signer ?? "";
|
|
108
|
+
return message;
|
|
109
|
+
},
|
|
110
|
+
};
|
|
111
|
+
function createBaseMsgChannelOpenInitResponse() {
|
|
112
|
+
return { channelId: "", version: "" };
|
|
113
|
+
}
|
|
114
|
+
export const MsgChannelOpenInitResponse = {
|
|
115
|
+
encode(message, writer = _m0.Writer.create()) {
|
|
116
|
+
if (message.channelId !== "") {
|
|
117
|
+
writer.uint32(10).string(message.channelId);
|
|
118
|
+
}
|
|
119
|
+
if (message.version !== "") {
|
|
120
|
+
writer.uint32(18).string(message.version);
|
|
121
|
+
}
|
|
122
|
+
return writer;
|
|
123
|
+
},
|
|
124
|
+
decode(input, length) {
|
|
125
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
126
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
127
|
+
const message = createBaseMsgChannelOpenInitResponse();
|
|
128
|
+
while (reader.pos < end) {
|
|
129
|
+
const tag = reader.uint32();
|
|
130
|
+
switch (tag >>> 3) {
|
|
131
|
+
case 1:
|
|
132
|
+
message.channelId = reader.string();
|
|
133
|
+
break;
|
|
134
|
+
case 2:
|
|
135
|
+
message.version = reader.string();
|
|
136
|
+
break;
|
|
137
|
+
default:
|
|
138
|
+
reader.skipType(tag & 7);
|
|
139
|
+
break;
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
return message;
|
|
143
|
+
},
|
|
144
|
+
fromJSON(object) {
|
|
145
|
+
return {
|
|
146
|
+
channelId: isSet(object.channelId) ? String(object.channelId) : "",
|
|
147
|
+
version: isSet(object.version) ? String(object.version) : "",
|
|
148
|
+
};
|
|
149
|
+
},
|
|
150
|
+
toJSON(message) {
|
|
151
|
+
const obj = {};
|
|
152
|
+
message.channelId !== undefined && (obj.channelId = message.channelId);
|
|
153
|
+
message.version !== undefined && (obj.version = message.version);
|
|
154
|
+
return obj;
|
|
155
|
+
},
|
|
156
|
+
fromPartial(object) {
|
|
157
|
+
const message = createBaseMsgChannelOpenInitResponse();
|
|
158
|
+
message.channelId = object.channelId ?? "";
|
|
159
|
+
message.version = object.version ?? "";
|
|
160
|
+
return message;
|
|
161
|
+
},
|
|
162
|
+
};
|
|
163
|
+
function createBaseMsgChannelOpenTry() {
|
|
164
|
+
return {
|
|
165
|
+
portId: "",
|
|
166
|
+
previousChannelId: "",
|
|
167
|
+
channel: undefined,
|
|
168
|
+
counterpartyVersion: "",
|
|
169
|
+
proofInit: new Uint8Array(),
|
|
170
|
+
proofHeight: undefined,
|
|
171
|
+
signer: "",
|
|
172
|
+
};
|
|
173
|
+
}
|
|
174
|
+
export const MsgChannelOpenTry = {
|
|
175
|
+
encode(message, writer = _m0.Writer.create()) {
|
|
176
|
+
if (message.portId !== "") {
|
|
177
|
+
writer.uint32(10).string(message.portId);
|
|
178
|
+
}
|
|
179
|
+
if (message.previousChannelId !== "") {
|
|
180
|
+
writer.uint32(18).string(message.previousChannelId);
|
|
181
|
+
}
|
|
182
|
+
if (message.channel !== undefined) {
|
|
183
|
+
Channel.encode(message.channel, writer.uint32(26).fork()).ldelim();
|
|
184
|
+
}
|
|
185
|
+
if (message.counterpartyVersion !== "") {
|
|
186
|
+
writer.uint32(34).string(message.counterpartyVersion);
|
|
187
|
+
}
|
|
188
|
+
if (message.proofInit.length !== 0) {
|
|
189
|
+
writer.uint32(42).bytes(message.proofInit);
|
|
190
|
+
}
|
|
191
|
+
if (message.proofHeight !== undefined) {
|
|
192
|
+
Height.encode(message.proofHeight, writer.uint32(50).fork()).ldelim();
|
|
193
|
+
}
|
|
194
|
+
if (message.signer !== "") {
|
|
195
|
+
writer.uint32(58).string(message.signer);
|
|
196
|
+
}
|
|
197
|
+
return writer;
|
|
198
|
+
},
|
|
199
|
+
decode(input, length) {
|
|
200
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
201
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
202
|
+
const message = createBaseMsgChannelOpenTry();
|
|
203
|
+
while (reader.pos < end) {
|
|
204
|
+
const tag = reader.uint32();
|
|
205
|
+
switch (tag >>> 3) {
|
|
206
|
+
case 1:
|
|
207
|
+
message.portId = reader.string();
|
|
208
|
+
break;
|
|
209
|
+
case 2:
|
|
210
|
+
message.previousChannelId = reader.string();
|
|
211
|
+
break;
|
|
212
|
+
case 3:
|
|
213
|
+
message.channel = Channel.decode(reader, reader.uint32());
|
|
214
|
+
break;
|
|
215
|
+
case 4:
|
|
216
|
+
message.counterpartyVersion = reader.string();
|
|
217
|
+
break;
|
|
218
|
+
case 5:
|
|
219
|
+
message.proofInit = reader.bytes();
|
|
220
|
+
break;
|
|
221
|
+
case 6:
|
|
222
|
+
message.proofHeight = Height.decode(reader, reader.uint32());
|
|
223
|
+
break;
|
|
224
|
+
case 7:
|
|
225
|
+
message.signer = reader.string();
|
|
226
|
+
break;
|
|
227
|
+
default:
|
|
228
|
+
reader.skipType(tag & 7);
|
|
229
|
+
break;
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
return message;
|
|
233
|
+
},
|
|
234
|
+
fromJSON(object) {
|
|
235
|
+
return {
|
|
236
|
+
portId: isSet(object.portId) ? String(object.portId) : "",
|
|
237
|
+
previousChannelId: isSet(object.previousChannelId) ? String(object.previousChannelId) : "",
|
|
238
|
+
channel: isSet(object.channel) ? Channel.fromJSON(object.channel) : undefined,
|
|
239
|
+
counterpartyVersion: isSet(object.counterpartyVersion) ? String(object.counterpartyVersion) : "",
|
|
240
|
+
proofInit: isSet(object.proofInit) ? bytesFromBase64(object.proofInit) : new Uint8Array(),
|
|
241
|
+
proofHeight: isSet(object.proofHeight) ? Height.fromJSON(object.proofHeight) : undefined,
|
|
242
|
+
signer: isSet(object.signer) ? String(object.signer) : "",
|
|
243
|
+
};
|
|
244
|
+
},
|
|
245
|
+
toJSON(message) {
|
|
246
|
+
const obj = {};
|
|
247
|
+
message.portId !== undefined && (obj.portId = message.portId);
|
|
248
|
+
message.previousChannelId !== undefined && (obj.previousChannelId = message.previousChannelId);
|
|
249
|
+
message.channel !== undefined && (obj.channel = message.channel ? Channel.toJSON(message.channel) : undefined);
|
|
250
|
+
message.counterpartyVersion !== undefined && (obj.counterpartyVersion = message.counterpartyVersion);
|
|
251
|
+
message.proofInit !== undefined
|
|
252
|
+
&& (obj.proofInit = base64FromBytes(message.proofInit !== undefined ? message.proofInit : new Uint8Array()));
|
|
253
|
+
message.proofHeight !== undefined
|
|
254
|
+
&& (obj.proofHeight = message.proofHeight ? Height.toJSON(message.proofHeight) : undefined);
|
|
255
|
+
message.signer !== undefined && (obj.signer = message.signer);
|
|
256
|
+
return obj;
|
|
257
|
+
},
|
|
258
|
+
fromPartial(object) {
|
|
259
|
+
const message = createBaseMsgChannelOpenTry();
|
|
260
|
+
message.portId = object.portId ?? "";
|
|
261
|
+
message.previousChannelId = object.previousChannelId ?? "";
|
|
262
|
+
message.channel = (object.channel !== undefined && object.channel !== null)
|
|
263
|
+
? Channel.fromPartial(object.channel)
|
|
264
|
+
: undefined;
|
|
265
|
+
message.counterpartyVersion = object.counterpartyVersion ?? "";
|
|
266
|
+
message.proofInit = object.proofInit ?? new Uint8Array();
|
|
267
|
+
message.proofHeight = (object.proofHeight !== undefined && object.proofHeight !== null)
|
|
268
|
+
? Height.fromPartial(object.proofHeight)
|
|
269
|
+
: undefined;
|
|
270
|
+
message.signer = object.signer ?? "";
|
|
271
|
+
return message;
|
|
272
|
+
},
|
|
273
|
+
};
|
|
274
|
+
function createBaseMsgChannelOpenTryResponse() {
|
|
275
|
+
return { version: "", channelId: "" };
|
|
276
|
+
}
|
|
277
|
+
export const MsgChannelOpenTryResponse = {
|
|
278
|
+
encode(message, writer = _m0.Writer.create()) {
|
|
279
|
+
if (message.version !== "") {
|
|
280
|
+
writer.uint32(10).string(message.version);
|
|
281
|
+
}
|
|
282
|
+
if (message.channelId !== "") {
|
|
283
|
+
writer.uint32(18).string(message.channelId);
|
|
284
|
+
}
|
|
285
|
+
return writer;
|
|
286
|
+
},
|
|
287
|
+
decode(input, length) {
|
|
288
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
289
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
290
|
+
const message = createBaseMsgChannelOpenTryResponse();
|
|
291
|
+
while (reader.pos < end) {
|
|
292
|
+
const tag = reader.uint32();
|
|
293
|
+
switch (tag >>> 3) {
|
|
294
|
+
case 1:
|
|
295
|
+
message.version = reader.string();
|
|
296
|
+
break;
|
|
297
|
+
case 2:
|
|
298
|
+
message.channelId = reader.string();
|
|
299
|
+
break;
|
|
300
|
+
default:
|
|
301
|
+
reader.skipType(tag & 7);
|
|
302
|
+
break;
|
|
303
|
+
}
|
|
304
|
+
}
|
|
305
|
+
return message;
|
|
306
|
+
},
|
|
307
|
+
fromJSON(object) {
|
|
308
|
+
return {
|
|
309
|
+
version: isSet(object.version) ? String(object.version) : "",
|
|
310
|
+
channelId: isSet(object.channelId) ? String(object.channelId) : "",
|
|
311
|
+
};
|
|
312
|
+
},
|
|
313
|
+
toJSON(message) {
|
|
314
|
+
const obj = {};
|
|
315
|
+
message.version !== undefined && (obj.version = message.version);
|
|
316
|
+
message.channelId !== undefined && (obj.channelId = message.channelId);
|
|
317
|
+
return obj;
|
|
318
|
+
},
|
|
319
|
+
fromPartial(object) {
|
|
320
|
+
const message = createBaseMsgChannelOpenTryResponse();
|
|
321
|
+
message.version = object.version ?? "";
|
|
322
|
+
message.channelId = object.channelId ?? "";
|
|
323
|
+
return message;
|
|
324
|
+
},
|
|
325
|
+
};
|
|
326
|
+
function createBaseMsgChannelOpenAck() {
|
|
327
|
+
return {
|
|
328
|
+
portId: "",
|
|
329
|
+
channelId: "",
|
|
330
|
+
counterpartyChannelId: "",
|
|
331
|
+
counterpartyVersion: "",
|
|
332
|
+
proofTry: new Uint8Array(),
|
|
333
|
+
proofHeight: undefined,
|
|
334
|
+
signer: "",
|
|
335
|
+
};
|
|
336
|
+
}
|
|
337
|
+
export const MsgChannelOpenAck = {
|
|
338
|
+
encode(message, writer = _m0.Writer.create()) {
|
|
339
|
+
if (message.portId !== "") {
|
|
340
|
+
writer.uint32(10).string(message.portId);
|
|
341
|
+
}
|
|
342
|
+
if (message.channelId !== "") {
|
|
343
|
+
writer.uint32(18).string(message.channelId);
|
|
344
|
+
}
|
|
345
|
+
if (message.counterpartyChannelId !== "") {
|
|
346
|
+
writer.uint32(26).string(message.counterpartyChannelId);
|
|
347
|
+
}
|
|
348
|
+
if (message.counterpartyVersion !== "") {
|
|
349
|
+
writer.uint32(34).string(message.counterpartyVersion);
|
|
350
|
+
}
|
|
351
|
+
if (message.proofTry.length !== 0) {
|
|
352
|
+
writer.uint32(42).bytes(message.proofTry);
|
|
353
|
+
}
|
|
354
|
+
if (message.proofHeight !== undefined) {
|
|
355
|
+
Height.encode(message.proofHeight, writer.uint32(50).fork()).ldelim();
|
|
356
|
+
}
|
|
357
|
+
if (message.signer !== "") {
|
|
358
|
+
writer.uint32(58).string(message.signer);
|
|
359
|
+
}
|
|
360
|
+
return writer;
|
|
361
|
+
},
|
|
362
|
+
decode(input, length) {
|
|
363
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
364
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
365
|
+
const message = createBaseMsgChannelOpenAck();
|
|
366
|
+
while (reader.pos < end) {
|
|
367
|
+
const tag = reader.uint32();
|
|
368
|
+
switch (tag >>> 3) {
|
|
369
|
+
case 1:
|
|
370
|
+
message.portId = reader.string();
|
|
371
|
+
break;
|
|
372
|
+
case 2:
|
|
373
|
+
message.channelId = reader.string();
|
|
374
|
+
break;
|
|
375
|
+
case 3:
|
|
376
|
+
message.counterpartyChannelId = reader.string();
|
|
377
|
+
break;
|
|
378
|
+
case 4:
|
|
379
|
+
message.counterpartyVersion = reader.string();
|
|
380
|
+
break;
|
|
381
|
+
case 5:
|
|
382
|
+
message.proofTry = reader.bytes();
|
|
383
|
+
break;
|
|
384
|
+
case 6:
|
|
385
|
+
message.proofHeight = Height.decode(reader, reader.uint32());
|
|
386
|
+
break;
|
|
387
|
+
case 7:
|
|
388
|
+
message.signer = reader.string();
|
|
389
|
+
break;
|
|
390
|
+
default:
|
|
391
|
+
reader.skipType(tag & 7);
|
|
392
|
+
break;
|
|
393
|
+
}
|
|
394
|
+
}
|
|
395
|
+
return message;
|
|
396
|
+
},
|
|
397
|
+
fromJSON(object) {
|
|
398
|
+
return {
|
|
399
|
+
portId: isSet(object.portId) ? String(object.portId) : "",
|
|
400
|
+
channelId: isSet(object.channelId) ? String(object.channelId) : "",
|
|
401
|
+
counterpartyChannelId: isSet(object.counterpartyChannelId) ? String(object.counterpartyChannelId) : "",
|
|
402
|
+
counterpartyVersion: isSet(object.counterpartyVersion) ? String(object.counterpartyVersion) : "",
|
|
403
|
+
proofTry: isSet(object.proofTry) ? bytesFromBase64(object.proofTry) : new Uint8Array(),
|
|
404
|
+
proofHeight: isSet(object.proofHeight) ? Height.fromJSON(object.proofHeight) : undefined,
|
|
405
|
+
signer: isSet(object.signer) ? String(object.signer) : "",
|
|
406
|
+
};
|
|
407
|
+
},
|
|
408
|
+
toJSON(message) {
|
|
409
|
+
const obj = {};
|
|
410
|
+
message.portId !== undefined && (obj.portId = message.portId);
|
|
411
|
+
message.channelId !== undefined && (obj.channelId = message.channelId);
|
|
412
|
+
message.counterpartyChannelId !== undefined && (obj.counterpartyChannelId = message.counterpartyChannelId);
|
|
413
|
+
message.counterpartyVersion !== undefined && (obj.counterpartyVersion = message.counterpartyVersion);
|
|
414
|
+
message.proofTry !== undefined
|
|
415
|
+
&& (obj.proofTry = base64FromBytes(message.proofTry !== undefined ? message.proofTry : new Uint8Array()));
|
|
416
|
+
message.proofHeight !== undefined
|
|
417
|
+
&& (obj.proofHeight = message.proofHeight ? Height.toJSON(message.proofHeight) : undefined);
|
|
418
|
+
message.signer !== undefined && (obj.signer = message.signer);
|
|
419
|
+
return obj;
|
|
420
|
+
},
|
|
421
|
+
fromPartial(object) {
|
|
422
|
+
const message = createBaseMsgChannelOpenAck();
|
|
423
|
+
message.portId = object.portId ?? "";
|
|
424
|
+
message.channelId = object.channelId ?? "";
|
|
425
|
+
message.counterpartyChannelId = object.counterpartyChannelId ?? "";
|
|
426
|
+
message.counterpartyVersion = object.counterpartyVersion ?? "";
|
|
427
|
+
message.proofTry = object.proofTry ?? new Uint8Array();
|
|
428
|
+
message.proofHeight = (object.proofHeight !== undefined && object.proofHeight !== null)
|
|
429
|
+
? Height.fromPartial(object.proofHeight)
|
|
430
|
+
: undefined;
|
|
431
|
+
message.signer = object.signer ?? "";
|
|
432
|
+
return message;
|
|
433
|
+
},
|
|
434
|
+
};
|
|
435
|
+
function createBaseMsgChannelOpenAckResponse() {
|
|
436
|
+
return {};
|
|
437
|
+
}
|
|
438
|
+
export const MsgChannelOpenAckResponse = {
|
|
439
|
+
encode(_, writer = _m0.Writer.create()) {
|
|
440
|
+
return writer;
|
|
441
|
+
},
|
|
442
|
+
decode(input, length) {
|
|
443
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
444
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
445
|
+
const message = createBaseMsgChannelOpenAckResponse();
|
|
446
|
+
while (reader.pos < end) {
|
|
447
|
+
const tag = reader.uint32();
|
|
448
|
+
switch (tag >>> 3) {
|
|
449
|
+
default:
|
|
450
|
+
reader.skipType(tag & 7);
|
|
451
|
+
break;
|
|
452
|
+
}
|
|
453
|
+
}
|
|
454
|
+
return message;
|
|
455
|
+
},
|
|
456
|
+
fromJSON(_) {
|
|
457
|
+
return {};
|
|
458
|
+
},
|
|
459
|
+
toJSON(_) {
|
|
460
|
+
const obj = {};
|
|
461
|
+
return obj;
|
|
462
|
+
},
|
|
463
|
+
fromPartial(_) {
|
|
464
|
+
const message = createBaseMsgChannelOpenAckResponse();
|
|
465
|
+
return message;
|
|
466
|
+
},
|
|
467
|
+
};
|
|
468
|
+
function createBaseMsgChannelOpenConfirm() {
|
|
469
|
+
return { portId: "", channelId: "", proofAck: new Uint8Array(), proofHeight: undefined, signer: "" };
|
|
470
|
+
}
|
|
471
|
+
export const MsgChannelOpenConfirm = {
|
|
472
|
+
encode(message, writer = _m0.Writer.create()) {
|
|
473
|
+
if (message.portId !== "") {
|
|
474
|
+
writer.uint32(10).string(message.portId);
|
|
475
|
+
}
|
|
476
|
+
if (message.channelId !== "") {
|
|
477
|
+
writer.uint32(18).string(message.channelId);
|
|
478
|
+
}
|
|
479
|
+
if (message.proofAck.length !== 0) {
|
|
480
|
+
writer.uint32(26).bytes(message.proofAck);
|
|
481
|
+
}
|
|
482
|
+
if (message.proofHeight !== undefined) {
|
|
483
|
+
Height.encode(message.proofHeight, writer.uint32(34).fork()).ldelim();
|
|
484
|
+
}
|
|
485
|
+
if (message.signer !== "") {
|
|
486
|
+
writer.uint32(42).string(message.signer);
|
|
487
|
+
}
|
|
488
|
+
return writer;
|
|
489
|
+
},
|
|
490
|
+
decode(input, length) {
|
|
491
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
492
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
493
|
+
const message = createBaseMsgChannelOpenConfirm();
|
|
494
|
+
while (reader.pos < end) {
|
|
495
|
+
const tag = reader.uint32();
|
|
496
|
+
switch (tag >>> 3) {
|
|
497
|
+
case 1:
|
|
498
|
+
message.portId = reader.string();
|
|
499
|
+
break;
|
|
500
|
+
case 2:
|
|
501
|
+
message.channelId = reader.string();
|
|
502
|
+
break;
|
|
503
|
+
case 3:
|
|
504
|
+
message.proofAck = reader.bytes();
|
|
505
|
+
break;
|
|
506
|
+
case 4:
|
|
507
|
+
message.proofHeight = Height.decode(reader, reader.uint32());
|
|
508
|
+
break;
|
|
509
|
+
case 5:
|
|
510
|
+
message.signer = reader.string();
|
|
511
|
+
break;
|
|
512
|
+
default:
|
|
513
|
+
reader.skipType(tag & 7);
|
|
514
|
+
break;
|
|
515
|
+
}
|
|
516
|
+
}
|
|
517
|
+
return message;
|
|
518
|
+
},
|
|
519
|
+
fromJSON(object) {
|
|
520
|
+
return {
|
|
521
|
+
portId: isSet(object.portId) ? String(object.portId) : "",
|
|
522
|
+
channelId: isSet(object.channelId) ? String(object.channelId) : "",
|
|
523
|
+
proofAck: isSet(object.proofAck) ? bytesFromBase64(object.proofAck) : new Uint8Array(),
|
|
524
|
+
proofHeight: isSet(object.proofHeight) ? Height.fromJSON(object.proofHeight) : undefined,
|
|
525
|
+
signer: isSet(object.signer) ? String(object.signer) : "",
|
|
526
|
+
};
|
|
527
|
+
},
|
|
528
|
+
toJSON(message) {
|
|
529
|
+
const obj = {};
|
|
530
|
+
message.portId !== undefined && (obj.portId = message.portId);
|
|
531
|
+
message.channelId !== undefined && (obj.channelId = message.channelId);
|
|
532
|
+
message.proofAck !== undefined
|
|
533
|
+
&& (obj.proofAck = base64FromBytes(message.proofAck !== undefined ? message.proofAck : new Uint8Array()));
|
|
534
|
+
message.proofHeight !== undefined
|
|
535
|
+
&& (obj.proofHeight = message.proofHeight ? Height.toJSON(message.proofHeight) : undefined);
|
|
536
|
+
message.signer !== undefined && (obj.signer = message.signer);
|
|
537
|
+
return obj;
|
|
538
|
+
},
|
|
539
|
+
fromPartial(object) {
|
|
540
|
+
const message = createBaseMsgChannelOpenConfirm();
|
|
541
|
+
message.portId = object.portId ?? "";
|
|
542
|
+
message.channelId = object.channelId ?? "";
|
|
543
|
+
message.proofAck = object.proofAck ?? new Uint8Array();
|
|
544
|
+
message.proofHeight = (object.proofHeight !== undefined && object.proofHeight !== null)
|
|
545
|
+
? Height.fromPartial(object.proofHeight)
|
|
546
|
+
: undefined;
|
|
547
|
+
message.signer = object.signer ?? "";
|
|
548
|
+
return message;
|
|
549
|
+
},
|
|
550
|
+
};
|
|
551
|
+
function createBaseMsgChannelOpenConfirmResponse() {
|
|
552
|
+
return {};
|
|
553
|
+
}
|
|
554
|
+
export const MsgChannelOpenConfirmResponse = {
|
|
555
|
+
encode(_, writer = _m0.Writer.create()) {
|
|
556
|
+
return writer;
|
|
557
|
+
},
|
|
558
|
+
decode(input, length) {
|
|
559
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
560
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
561
|
+
const message = createBaseMsgChannelOpenConfirmResponse();
|
|
562
|
+
while (reader.pos < end) {
|
|
563
|
+
const tag = reader.uint32();
|
|
564
|
+
switch (tag >>> 3) {
|
|
565
|
+
default:
|
|
566
|
+
reader.skipType(tag & 7);
|
|
567
|
+
break;
|
|
568
|
+
}
|
|
569
|
+
}
|
|
570
|
+
return message;
|
|
571
|
+
},
|
|
572
|
+
fromJSON(_) {
|
|
573
|
+
return {};
|
|
574
|
+
},
|
|
575
|
+
toJSON(_) {
|
|
576
|
+
const obj = {};
|
|
577
|
+
return obj;
|
|
578
|
+
},
|
|
579
|
+
fromPartial(_) {
|
|
580
|
+
const message = createBaseMsgChannelOpenConfirmResponse();
|
|
581
|
+
return message;
|
|
582
|
+
},
|
|
583
|
+
};
|
|
584
|
+
function createBaseMsgChannelCloseInit() {
|
|
585
|
+
return { portId: "", channelId: "", signer: "" };
|
|
586
|
+
}
|
|
587
|
+
export const MsgChannelCloseInit = {
|
|
588
|
+
encode(message, writer = _m0.Writer.create()) {
|
|
589
|
+
if (message.portId !== "") {
|
|
590
|
+
writer.uint32(10).string(message.portId);
|
|
591
|
+
}
|
|
592
|
+
if (message.channelId !== "") {
|
|
593
|
+
writer.uint32(18).string(message.channelId);
|
|
594
|
+
}
|
|
595
|
+
if (message.signer !== "") {
|
|
596
|
+
writer.uint32(26).string(message.signer);
|
|
597
|
+
}
|
|
598
|
+
return writer;
|
|
599
|
+
},
|
|
600
|
+
decode(input, length) {
|
|
601
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
602
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
603
|
+
const message = createBaseMsgChannelCloseInit();
|
|
604
|
+
while (reader.pos < end) {
|
|
605
|
+
const tag = reader.uint32();
|
|
606
|
+
switch (tag >>> 3) {
|
|
607
|
+
case 1:
|
|
608
|
+
message.portId = reader.string();
|
|
609
|
+
break;
|
|
610
|
+
case 2:
|
|
611
|
+
message.channelId = reader.string();
|
|
612
|
+
break;
|
|
613
|
+
case 3:
|
|
614
|
+
message.signer = reader.string();
|
|
615
|
+
break;
|
|
616
|
+
default:
|
|
617
|
+
reader.skipType(tag & 7);
|
|
618
|
+
break;
|
|
619
|
+
}
|
|
620
|
+
}
|
|
621
|
+
return message;
|
|
622
|
+
},
|
|
623
|
+
fromJSON(object) {
|
|
624
|
+
return {
|
|
625
|
+
portId: isSet(object.portId) ? String(object.portId) : "",
|
|
626
|
+
channelId: isSet(object.channelId) ? String(object.channelId) : "",
|
|
627
|
+
signer: isSet(object.signer) ? String(object.signer) : "",
|
|
628
|
+
};
|
|
629
|
+
},
|
|
630
|
+
toJSON(message) {
|
|
631
|
+
const obj = {};
|
|
632
|
+
message.portId !== undefined && (obj.portId = message.portId);
|
|
633
|
+
message.channelId !== undefined && (obj.channelId = message.channelId);
|
|
634
|
+
message.signer !== undefined && (obj.signer = message.signer);
|
|
635
|
+
return obj;
|
|
636
|
+
},
|
|
637
|
+
fromPartial(object) {
|
|
638
|
+
const message = createBaseMsgChannelCloseInit();
|
|
639
|
+
message.portId = object.portId ?? "";
|
|
640
|
+
message.channelId = object.channelId ?? "";
|
|
641
|
+
message.signer = object.signer ?? "";
|
|
642
|
+
return message;
|
|
643
|
+
},
|
|
644
|
+
};
|
|
645
|
+
function createBaseMsgChannelCloseInitResponse() {
|
|
646
|
+
return {};
|
|
647
|
+
}
|
|
648
|
+
export const MsgChannelCloseInitResponse = {
|
|
649
|
+
encode(_, writer = _m0.Writer.create()) {
|
|
650
|
+
return writer;
|
|
651
|
+
},
|
|
652
|
+
decode(input, length) {
|
|
653
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
654
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
655
|
+
const message = createBaseMsgChannelCloseInitResponse();
|
|
656
|
+
while (reader.pos < end) {
|
|
657
|
+
const tag = reader.uint32();
|
|
658
|
+
switch (tag >>> 3) {
|
|
659
|
+
default:
|
|
660
|
+
reader.skipType(tag & 7);
|
|
661
|
+
break;
|
|
662
|
+
}
|
|
663
|
+
}
|
|
664
|
+
return message;
|
|
665
|
+
},
|
|
666
|
+
fromJSON(_) {
|
|
667
|
+
return {};
|
|
668
|
+
},
|
|
669
|
+
toJSON(_) {
|
|
670
|
+
const obj = {};
|
|
671
|
+
return obj;
|
|
672
|
+
},
|
|
673
|
+
fromPartial(_) {
|
|
674
|
+
const message = createBaseMsgChannelCloseInitResponse();
|
|
675
|
+
return message;
|
|
676
|
+
},
|
|
677
|
+
};
|
|
678
|
+
function createBaseMsgChannelCloseConfirm() {
|
|
679
|
+
return { portId: "", channelId: "", proofInit: new Uint8Array(), proofHeight: undefined, signer: "" };
|
|
680
|
+
}
|
|
681
|
+
export const MsgChannelCloseConfirm = {
|
|
682
|
+
encode(message, writer = _m0.Writer.create()) {
|
|
683
|
+
if (message.portId !== "") {
|
|
684
|
+
writer.uint32(10).string(message.portId);
|
|
685
|
+
}
|
|
686
|
+
if (message.channelId !== "") {
|
|
687
|
+
writer.uint32(18).string(message.channelId);
|
|
688
|
+
}
|
|
689
|
+
if (message.proofInit.length !== 0) {
|
|
690
|
+
writer.uint32(26).bytes(message.proofInit);
|
|
691
|
+
}
|
|
692
|
+
if (message.proofHeight !== undefined) {
|
|
693
|
+
Height.encode(message.proofHeight, writer.uint32(34).fork()).ldelim();
|
|
694
|
+
}
|
|
695
|
+
if (message.signer !== "") {
|
|
696
|
+
writer.uint32(42).string(message.signer);
|
|
697
|
+
}
|
|
698
|
+
return writer;
|
|
699
|
+
},
|
|
700
|
+
decode(input, length) {
|
|
701
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
702
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
703
|
+
const message = createBaseMsgChannelCloseConfirm();
|
|
704
|
+
while (reader.pos < end) {
|
|
705
|
+
const tag = reader.uint32();
|
|
706
|
+
switch (tag >>> 3) {
|
|
707
|
+
case 1:
|
|
708
|
+
message.portId = reader.string();
|
|
709
|
+
break;
|
|
710
|
+
case 2:
|
|
711
|
+
message.channelId = reader.string();
|
|
712
|
+
break;
|
|
713
|
+
case 3:
|
|
714
|
+
message.proofInit = reader.bytes();
|
|
715
|
+
break;
|
|
716
|
+
case 4:
|
|
717
|
+
message.proofHeight = Height.decode(reader, reader.uint32());
|
|
718
|
+
break;
|
|
719
|
+
case 5:
|
|
720
|
+
message.signer = reader.string();
|
|
721
|
+
break;
|
|
722
|
+
default:
|
|
723
|
+
reader.skipType(tag & 7);
|
|
724
|
+
break;
|
|
725
|
+
}
|
|
726
|
+
}
|
|
727
|
+
return message;
|
|
728
|
+
},
|
|
729
|
+
fromJSON(object) {
|
|
730
|
+
return {
|
|
731
|
+
portId: isSet(object.portId) ? String(object.portId) : "",
|
|
732
|
+
channelId: isSet(object.channelId) ? String(object.channelId) : "",
|
|
733
|
+
proofInit: isSet(object.proofInit) ? bytesFromBase64(object.proofInit) : new Uint8Array(),
|
|
734
|
+
proofHeight: isSet(object.proofHeight) ? Height.fromJSON(object.proofHeight) : undefined,
|
|
735
|
+
signer: isSet(object.signer) ? String(object.signer) : "",
|
|
736
|
+
};
|
|
737
|
+
},
|
|
738
|
+
toJSON(message) {
|
|
739
|
+
const obj = {};
|
|
740
|
+
message.portId !== undefined && (obj.portId = message.portId);
|
|
741
|
+
message.channelId !== undefined && (obj.channelId = message.channelId);
|
|
742
|
+
message.proofInit !== undefined
|
|
743
|
+
&& (obj.proofInit = base64FromBytes(message.proofInit !== undefined ? message.proofInit : new Uint8Array()));
|
|
744
|
+
message.proofHeight !== undefined
|
|
745
|
+
&& (obj.proofHeight = message.proofHeight ? Height.toJSON(message.proofHeight) : undefined);
|
|
746
|
+
message.signer !== undefined && (obj.signer = message.signer);
|
|
747
|
+
return obj;
|
|
748
|
+
},
|
|
749
|
+
fromPartial(object) {
|
|
750
|
+
const message = createBaseMsgChannelCloseConfirm();
|
|
751
|
+
message.portId = object.portId ?? "";
|
|
752
|
+
message.channelId = object.channelId ?? "";
|
|
753
|
+
message.proofInit = object.proofInit ?? new Uint8Array();
|
|
754
|
+
message.proofHeight = (object.proofHeight !== undefined && object.proofHeight !== null)
|
|
755
|
+
? Height.fromPartial(object.proofHeight)
|
|
756
|
+
: undefined;
|
|
757
|
+
message.signer = object.signer ?? "";
|
|
758
|
+
return message;
|
|
759
|
+
},
|
|
760
|
+
};
|
|
761
|
+
function createBaseMsgChannelCloseConfirmResponse() {
|
|
762
|
+
return {};
|
|
763
|
+
}
|
|
764
|
+
export const MsgChannelCloseConfirmResponse = {
|
|
765
|
+
encode(_, writer = _m0.Writer.create()) {
|
|
766
|
+
return writer;
|
|
767
|
+
},
|
|
768
|
+
decode(input, length) {
|
|
769
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
770
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
771
|
+
const message = createBaseMsgChannelCloseConfirmResponse();
|
|
772
|
+
while (reader.pos < end) {
|
|
773
|
+
const tag = reader.uint32();
|
|
774
|
+
switch (tag >>> 3) {
|
|
775
|
+
default:
|
|
776
|
+
reader.skipType(tag & 7);
|
|
777
|
+
break;
|
|
778
|
+
}
|
|
779
|
+
}
|
|
780
|
+
return message;
|
|
781
|
+
},
|
|
782
|
+
fromJSON(_) {
|
|
783
|
+
return {};
|
|
784
|
+
},
|
|
785
|
+
toJSON(_) {
|
|
786
|
+
const obj = {};
|
|
787
|
+
return obj;
|
|
788
|
+
},
|
|
789
|
+
fromPartial(_) {
|
|
790
|
+
const message = createBaseMsgChannelCloseConfirmResponse();
|
|
791
|
+
return message;
|
|
792
|
+
},
|
|
793
|
+
};
|
|
794
|
+
function createBaseMsgRecvPacket() {
|
|
795
|
+
return { packet: undefined, proofCommitment: new Uint8Array(), proofHeight: undefined, signer: "" };
|
|
796
|
+
}
|
|
797
|
+
export const MsgRecvPacket = {
|
|
798
|
+
encode(message, writer = _m0.Writer.create()) {
|
|
799
|
+
if (message.packet !== undefined) {
|
|
800
|
+
Packet.encode(message.packet, writer.uint32(10).fork()).ldelim();
|
|
801
|
+
}
|
|
802
|
+
if (message.proofCommitment.length !== 0) {
|
|
803
|
+
writer.uint32(18).bytes(message.proofCommitment);
|
|
804
|
+
}
|
|
805
|
+
if (message.proofHeight !== undefined) {
|
|
806
|
+
Height.encode(message.proofHeight, writer.uint32(26).fork()).ldelim();
|
|
807
|
+
}
|
|
808
|
+
if (message.signer !== "") {
|
|
809
|
+
writer.uint32(34).string(message.signer);
|
|
810
|
+
}
|
|
811
|
+
return writer;
|
|
812
|
+
},
|
|
813
|
+
decode(input, length) {
|
|
814
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
815
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
816
|
+
const message = createBaseMsgRecvPacket();
|
|
817
|
+
while (reader.pos < end) {
|
|
818
|
+
const tag = reader.uint32();
|
|
819
|
+
switch (tag >>> 3) {
|
|
820
|
+
case 1:
|
|
821
|
+
message.packet = Packet.decode(reader, reader.uint32());
|
|
822
|
+
break;
|
|
823
|
+
case 2:
|
|
824
|
+
message.proofCommitment = reader.bytes();
|
|
825
|
+
break;
|
|
826
|
+
case 3:
|
|
827
|
+
message.proofHeight = Height.decode(reader, reader.uint32());
|
|
828
|
+
break;
|
|
829
|
+
case 4:
|
|
830
|
+
message.signer = reader.string();
|
|
831
|
+
break;
|
|
832
|
+
default:
|
|
833
|
+
reader.skipType(tag & 7);
|
|
834
|
+
break;
|
|
835
|
+
}
|
|
836
|
+
}
|
|
837
|
+
return message;
|
|
838
|
+
},
|
|
839
|
+
fromJSON(object) {
|
|
840
|
+
return {
|
|
841
|
+
packet: isSet(object.packet) ? Packet.fromJSON(object.packet) : undefined,
|
|
842
|
+
proofCommitment: isSet(object.proofCommitment) ? bytesFromBase64(object.proofCommitment) : new Uint8Array(),
|
|
843
|
+
proofHeight: isSet(object.proofHeight) ? Height.fromJSON(object.proofHeight) : undefined,
|
|
844
|
+
signer: isSet(object.signer) ? String(object.signer) : "",
|
|
845
|
+
};
|
|
846
|
+
},
|
|
847
|
+
toJSON(message) {
|
|
848
|
+
const obj = {};
|
|
849
|
+
message.packet !== undefined && (obj.packet = message.packet ? Packet.toJSON(message.packet) : undefined);
|
|
850
|
+
message.proofCommitment !== undefined
|
|
851
|
+
&& (obj.proofCommitment = base64FromBytes(message.proofCommitment !== undefined ? message.proofCommitment : new Uint8Array()));
|
|
852
|
+
message.proofHeight !== undefined
|
|
853
|
+
&& (obj.proofHeight = message.proofHeight ? Height.toJSON(message.proofHeight) : undefined);
|
|
854
|
+
message.signer !== undefined && (obj.signer = message.signer);
|
|
855
|
+
return obj;
|
|
856
|
+
},
|
|
857
|
+
fromPartial(object) {
|
|
858
|
+
const message = createBaseMsgRecvPacket();
|
|
859
|
+
message.packet = (object.packet !== undefined && object.packet !== null)
|
|
860
|
+
? Packet.fromPartial(object.packet)
|
|
861
|
+
: undefined;
|
|
862
|
+
message.proofCommitment = object.proofCommitment ?? new Uint8Array();
|
|
863
|
+
message.proofHeight = (object.proofHeight !== undefined && object.proofHeight !== null)
|
|
864
|
+
? Height.fromPartial(object.proofHeight)
|
|
865
|
+
: undefined;
|
|
866
|
+
message.signer = object.signer ?? "";
|
|
867
|
+
return message;
|
|
868
|
+
},
|
|
869
|
+
};
|
|
870
|
+
function createBaseMsgRecvPacketResponse() {
|
|
871
|
+
return { result: 0 };
|
|
872
|
+
}
|
|
873
|
+
export const MsgRecvPacketResponse = {
|
|
874
|
+
encode(message, writer = _m0.Writer.create()) {
|
|
875
|
+
if (message.result !== 0) {
|
|
876
|
+
writer.uint32(8).int32(message.result);
|
|
877
|
+
}
|
|
878
|
+
return writer;
|
|
879
|
+
},
|
|
880
|
+
decode(input, length) {
|
|
881
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
882
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
883
|
+
const message = createBaseMsgRecvPacketResponse();
|
|
884
|
+
while (reader.pos < end) {
|
|
885
|
+
const tag = reader.uint32();
|
|
886
|
+
switch (tag >>> 3) {
|
|
887
|
+
case 1:
|
|
888
|
+
message.result = reader.int32();
|
|
889
|
+
break;
|
|
890
|
+
default:
|
|
891
|
+
reader.skipType(tag & 7);
|
|
892
|
+
break;
|
|
893
|
+
}
|
|
894
|
+
}
|
|
895
|
+
return message;
|
|
896
|
+
},
|
|
897
|
+
fromJSON(object) {
|
|
898
|
+
return { result: isSet(object.result) ? responseResultTypeFromJSON(object.result) : 0 };
|
|
899
|
+
},
|
|
900
|
+
toJSON(message) {
|
|
901
|
+
const obj = {};
|
|
902
|
+
message.result !== undefined && (obj.result = responseResultTypeToJSON(message.result));
|
|
903
|
+
return obj;
|
|
904
|
+
},
|
|
905
|
+
fromPartial(object) {
|
|
906
|
+
const message = createBaseMsgRecvPacketResponse();
|
|
907
|
+
message.result = object.result ?? 0;
|
|
908
|
+
return message;
|
|
909
|
+
},
|
|
910
|
+
};
|
|
911
|
+
function createBaseMsgTimeout() {
|
|
912
|
+
return {
|
|
913
|
+
packet: undefined,
|
|
914
|
+
proofUnreceived: new Uint8Array(),
|
|
915
|
+
proofHeight: undefined,
|
|
916
|
+
nextSequenceRecv: 0,
|
|
917
|
+
signer: "",
|
|
918
|
+
};
|
|
919
|
+
}
|
|
920
|
+
export const MsgTimeout = {
|
|
921
|
+
encode(message, writer = _m0.Writer.create()) {
|
|
922
|
+
if (message.packet !== undefined) {
|
|
923
|
+
Packet.encode(message.packet, writer.uint32(10).fork()).ldelim();
|
|
924
|
+
}
|
|
925
|
+
if (message.proofUnreceived.length !== 0) {
|
|
926
|
+
writer.uint32(18).bytes(message.proofUnreceived);
|
|
927
|
+
}
|
|
928
|
+
if (message.proofHeight !== undefined) {
|
|
929
|
+
Height.encode(message.proofHeight, writer.uint32(26).fork()).ldelim();
|
|
930
|
+
}
|
|
931
|
+
if (message.nextSequenceRecv !== 0) {
|
|
932
|
+
writer.uint32(32).uint64(message.nextSequenceRecv);
|
|
933
|
+
}
|
|
934
|
+
if (message.signer !== "") {
|
|
935
|
+
writer.uint32(42).string(message.signer);
|
|
936
|
+
}
|
|
937
|
+
return writer;
|
|
938
|
+
},
|
|
939
|
+
decode(input, length) {
|
|
940
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
941
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
942
|
+
const message = createBaseMsgTimeout();
|
|
943
|
+
while (reader.pos < end) {
|
|
944
|
+
const tag = reader.uint32();
|
|
945
|
+
switch (tag >>> 3) {
|
|
946
|
+
case 1:
|
|
947
|
+
message.packet = Packet.decode(reader, reader.uint32());
|
|
948
|
+
break;
|
|
949
|
+
case 2:
|
|
950
|
+
message.proofUnreceived = reader.bytes();
|
|
951
|
+
break;
|
|
952
|
+
case 3:
|
|
953
|
+
message.proofHeight = Height.decode(reader, reader.uint32());
|
|
954
|
+
break;
|
|
955
|
+
case 4:
|
|
956
|
+
message.nextSequenceRecv = longToNumber(reader.uint64());
|
|
957
|
+
break;
|
|
958
|
+
case 5:
|
|
959
|
+
message.signer = reader.string();
|
|
960
|
+
break;
|
|
961
|
+
default:
|
|
962
|
+
reader.skipType(tag & 7);
|
|
963
|
+
break;
|
|
964
|
+
}
|
|
965
|
+
}
|
|
966
|
+
return message;
|
|
967
|
+
},
|
|
968
|
+
fromJSON(object) {
|
|
969
|
+
return {
|
|
970
|
+
packet: isSet(object.packet) ? Packet.fromJSON(object.packet) : undefined,
|
|
971
|
+
proofUnreceived: isSet(object.proofUnreceived) ? bytesFromBase64(object.proofUnreceived) : new Uint8Array(),
|
|
972
|
+
proofHeight: isSet(object.proofHeight) ? Height.fromJSON(object.proofHeight) : undefined,
|
|
973
|
+
nextSequenceRecv: isSet(object.nextSequenceRecv) ? Number(object.nextSequenceRecv) : 0,
|
|
974
|
+
signer: isSet(object.signer) ? String(object.signer) : "",
|
|
975
|
+
};
|
|
976
|
+
},
|
|
977
|
+
toJSON(message) {
|
|
978
|
+
const obj = {};
|
|
979
|
+
message.packet !== undefined && (obj.packet = message.packet ? Packet.toJSON(message.packet) : undefined);
|
|
980
|
+
message.proofUnreceived !== undefined
|
|
981
|
+
&& (obj.proofUnreceived = base64FromBytes(message.proofUnreceived !== undefined ? message.proofUnreceived : new Uint8Array()));
|
|
982
|
+
message.proofHeight !== undefined
|
|
983
|
+
&& (obj.proofHeight = message.proofHeight ? Height.toJSON(message.proofHeight) : undefined);
|
|
984
|
+
message.nextSequenceRecv !== undefined && (obj.nextSequenceRecv = Math.round(message.nextSequenceRecv));
|
|
985
|
+
message.signer !== undefined && (obj.signer = message.signer);
|
|
986
|
+
return obj;
|
|
987
|
+
},
|
|
988
|
+
fromPartial(object) {
|
|
989
|
+
const message = createBaseMsgTimeout();
|
|
990
|
+
message.packet = (object.packet !== undefined && object.packet !== null)
|
|
991
|
+
? Packet.fromPartial(object.packet)
|
|
992
|
+
: undefined;
|
|
993
|
+
message.proofUnreceived = object.proofUnreceived ?? new Uint8Array();
|
|
994
|
+
message.proofHeight = (object.proofHeight !== undefined && object.proofHeight !== null)
|
|
995
|
+
? Height.fromPartial(object.proofHeight)
|
|
996
|
+
: undefined;
|
|
997
|
+
message.nextSequenceRecv = object.nextSequenceRecv ?? 0;
|
|
998
|
+
message.signer = object.signer ?? "";
|
|
999
|
+
return message;
|
|
1000
|
+
},
|
|
1001
|
+
};
|
|
1002
|
+
function createBaseMsgTimeoutResponse() {
|
|
1003
|
+
return { result: 0 };
|
|
1004
|
+
}
|
|
1005
|
+
export const MsgTimeoutResponse = {
|
|
1006
|
+
encode(message, writer = _m0.Writer.create()) {
|
|
1007
|
+
if (message.result !== 0) {
|
|
1008
|
+
writer.uint32(8).int32(message.result);
|
|
1009
|
+
}
|
|
1010
|
+
return writer;
|
|
1011
|
+
},
|
|
1012
|
+
decode(input, length) {
|
|
1013
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
1014
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1015
|
+
const message = createBaseMsgTimeoutResponse();
|
|
1016
|
+
while (reader.pos < end) {
|
|
1017
|
+
const tag = reader.uint32();
|
|
1018
|
+
switch (tag >>> 3) {
|
|
1019
|
+
case 1:
|
|
1020
|
+
message.result = reader.int32();
|
|
1021
|
+
break;
|
|
1022
|
+
default:
|
|
1023
|
+
reader.skipType(tag & 7);
|
|
1024
|
+
break;
|
|
1025
|
+
}
|
|
1026
|
+
}
|
|
1027
|
+
return message;
|
|
1028
|
+
},
|
|
1029
|
+
fromJSON(object) {
|
|
1030
|
+
return { result: isSet(object.result) ? responseResultTypeFromJSON(object.result) : 0 };
|
|
1031
|
+
},
|
|
1032
|
+
toJSON(message) {
|
|
1033
|
+
const obj = {};
|
|
1034
|
+
message.result !== undefined && (obj.result = responseResultTypeToJSON(message.result));
|
|
1035
|
+
return obj;
|
|
1036
|
+
},
|
|
1037
|
+
fromPartial(object) {
|
|
1038
|
+
const message = createBaseMsgTimeoutResponse();
|
|
1039
|
+
message.result = object.result ?? 0;
|
|
1040
|
+
return message;
|
|
1041
|
+
},
|
|
1042
|
+
};
|
|
1043
|
+
function createBaseMsgTimeoutOnClose() {
|
|
1044
|
+
return {
|
|
1045
|
+
packet: undefined,
|
|
1046
|
+
proofUnreceived: new Uint8Array(),
|
|
1047
|
+
proofClose: new Uint8Array(),
|
|
1048
|
+
proofHeight: undefined,
|
|
1049
|
+
nextSequenceRecv: 0,
|
|
1050
|
+
signer: "",
|
|
1051
|
+
};
|
|
1052
|
+
}
|
|
1053
|
+
export const MsgTimeoutOnClose = {
|
|
1054
|
+
encode(message, writer = _m0.Writer.create()) {
|
|
1055
|
+
if (message.packet !== undefined) {
|
|
1056
|
+
Packet.encode(message.packet, writer.uint32(10).fork()).ldelim();
|
|
1057
|
+
}
|
|
1058
|
+
if (message.proofUnreceived.length !== 0) {
|
|
1059
|
+
writer.uint32(18).bytes(message.proofUnreceived);
|
|
1060
|
+
}
|
|
1061
|
+
if (message.proofClose.length !== 0) {
|
|
1062
|
+
writer.uint32(26).bytes(message.proofClose);
|
|
1063
|
+
}
|
|
1064
|
+
if (message.proofHeight !== undefined) {
|
|
1065
|
+
Height.encode(message.proofHeight, writer.uint32(34).fork()).ldelim();
|
|
1066
|
+
}
|
|
1067
|
+
if (message.nextSequenceRecv !== 0) {
|
|
1068
|
+
writer.uint32(40).uint64(message.nextSequenceRecv);
|
|
1069
|
+
}
|
|
1070
|
+
if (message.signer !== "") {
|
|
1071
|
+
writer.uint32(50).string(message.signer);
|
|
1072
|
+
}
|
|
1073
|
+
return writer;
|
|
1074
|
+
},
|
|
1075
|
+
decode(input, length) {
|
|
1076
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
1077
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1078
|
+
const message = createBaseMsgTimeoutOnClose();
|
|
1079
|
+
while (reader.pos < end) {
|
|
1080
|
+
const tag = reader.uint32();
|
|
1081
|
+
switch (tag >>> 3) {
|
|
1082
|
+
case 1:
|
|
1083
|
+
message.packet = Packet.decode(reader, reader.uint32());
|
|
1084
|
+
break;
|
|
1085
|
+
case 2:
|
|
1086
|
+
message.proofUnreceived = reader.bytes();
|
|
1087
|
+
break;
|
|
1088
|
+
case 3:
|
|
1089
|
+
message.proofClose = reader.bytes();
|
|
1090
|
+
break;
|
|
1091
|
+
case 4:
|
|
1092
|
+
message.proofHeight = Height.decode(reader, reader.uint32());
|
|
1093
|
+
break;
|
|
1094
|
+
case 5:
|
|
1095
|
+
message.nextSequenceRecv = longToNumber(reader.uint64());
|
|
1096
|
+
break;
|
|
1097
|
+
case 6:
|
|
1098
|
+
message.signer = reader.string();
|
|
1099
|
+
break;
|
|
1100
|
+
default:
|
|
1101
|
+
reader.skipType(tag & 7);
|
|
1102
|
+
break;
|
|
1103
|
+
}
|
|
1104
|
+
}
|
|
1105
|
+
return message;
|
|
1106
|
+
},
|
|
1107
|
+
fromJSON(object) {
|
|
1108
|
+
return {
|
|
1109
|
+
packet: isSet(object.packet) ? Packet.fromJSON(object.packet) : undefined,
|
|
1110
|
+
proofUnreceived: isSet(object.proofUnreceived) ? bytesFromBase64(object.proofUnreceived) : new Uint8Array(),
|
|
1111
|
+
proofClose: isSet(object.proofClose) ? bytesFromBase64(object.proofClose) : new Uint8Array(),
|
|
1112
|
+
proofHeight: isSet(object.proofHeight) ? Height.fromJSON(object.proofHeight) : undefined,
|
|
1113
|
+
nextSequenceRecv: isSet(object.nextSequenceRecv) ? Number(object.nextSequenceRecv) : 0,
|
|
1114
|
+
signer: isSet(object.signer) ? String(object.signer) : "",
|
|
1115
|
+
};
|
|
1116
|
+
},
|
|
1117
|
+
toJSON(message) {
|
|
1118
|
+
const obj = {};
|
|
1119
|
+
message.packet !== undefined && (obj.packet = message.packet ? Packet.toJSON(message.packet) : undefined);
|
|
1120
|
+
message.proofUnreceived !== undefined
|
|
1121
|
+
&& (obj.proofUnreceived = base64FromBytes(message.proofUnreceived !== undefined ? message.proofUnreceived : new Uint8Array()));
|
|
1122
|
+
message.proofClose !== undefined
|
|
1123
|
+
&& (obj.proofClose = base64FromBytes(message.proofClose !== undefined ? message.proofClose : new Uint8Array()));
|
|
1124
|
+
message.proofHeight !== undefined
|
|
1125
|
+
&& (obj.proofHeight = message.proofHeight ? Height.toJSON(message.proofHeight) : undefined);
|
|
1126
|
+
message.nextSequenceRecv !== undefined && (obj.nextSequenceRecv = Math.round(message.nextSequenceRecv));
|
|
1127
|
+
message.signer !== undefined && (obj.signer = message.signer);
|
|
1128
|
+
return obj;
|
|
1129
|
+
},
|
|
1130
|
+
fromPartial(object) {
|
|
1131
|
+
const message = createBaseMsgTimeoutOnClose();
|
|
1132
|
+
message.packet = (object.packet !== undefined && object.packet !== null)
|
|
1133
|
+
? Packet.fromPartial(object.packet)
|
|
1134
|
+
: undefined;
|
|
1135
|
+
message.proofUnreceived = object.proofUnreceived ?? new Uint8Array();
|
|
1136
|
+
message.proofClose = object.proofClose ?? new Uint8Array();
|
|
1137
|
+
message.proofHeight = (object.proofHeight !== undefined && object.proofHeight !== null)
|
|
1138
|
+
? Height.fromPartial(object.proofHeight)
|
|
1139
|
+
: undefined;
|
|
1140
|
+
message.nextSequenceRecv = object.nextSequenceRecv ?? 0;
|
|
1141
|
+
message.signer = object.signer ?? "";
|
|
1142
|
+
return message;
|
|
1143
|
+
},
|
|
1144
|
+
};
|
|
1145
|
+
function createBaseMsgTimeoutOnCloseResponse() {
|
|
1146
|
+
return { result: 0 };
|
|
1147
|
+
}
|
|
1148
|
+
export const MsgTimeoutOnCloseResponse = {
|
|
1149
|
+
encode(message, writer = _m0.Writer.create()) {
|
|
1150
|
+
if (message.result !== 0) {
|
|
1151
|
+
writer.uint32(8).int32(message.result);
|
|
1152
|
+
}
|
|
1153
|
+
return writer;
|
|
1154
|
+
},
|
|
1155
|
+
decode(input, length) {
|
|
1156
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
1157
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1158
|
+
const message = createBaseMsgTimeoutOnCloseResponse();
|
|
1159
|
+
while (reader.pos < end) {
|
|
1160
|
+
const tag = reader.uint32();
|
|
1161
|
+
switch (tag >>> 3) {
|
|
1162
|
+
case 1:
|
|
1163
|
+
message.result = reader.int32();
|
|
1164
|
+
break;
|
|
1165
|
+
default:
|
|
1166
|
+
reader.skipType(tag & 7);
|
|
1167
|
+
break;
|
|
1168
|
+
}
|
|
1169
|
+
}
|
|
1170
|
+
return message;
|
|
1171
|
+
},
|
|
1172
|
+
fromJSON(object) {
|
|
1173
|
+
return { result: isSet(object.result) ? responseResultTypeFromJSON(object.result) : 0 };
|
|
1174
|
+
},
|
|
1175
|
+
toJSON(message) {
|
|
1176
|
+
const obj = {};
|
|
1177
|
+
message.result !== undefined && (obj.result = responseResultTypeToJSON(message.result));
|
|
1178
|
+
return obj;
|
|
1179
|
+
},
|
|
1180
|
+
fromPartial(object) {
|
|
1181
|
+
const message = createBaseMsgTimeoutOnCloseResponse();
|
|
1182
|
+
message.result = object.result ?? 0;
|
|
1183
|
+
return message;
|
|
1184
|
+
},
|
|
1185
|
+
};
|
|
1186
|
+
function createBaseMsgAcknowledgement() {
|
|
1187
|
+
return {
|
|
1188
|
+
packet: undefined,
|
|
1189
|
+
acknowledgement: new Uint8Array(),
|
|
1190
|
+
proofAcked: new Uint8Array(),
|
|
1191
|
+
proofHeight: undefined,
|
|
1192
|
+
signer: "",
|
|
1193
|
+
};
|
|
1194
|
+
}
|
|
1195
|
+
export const MsgAcknowledgement = {
|
|
1196
|
+
encode(message, writer = _m0.Writer.create()) {
|
|
1197
|
+
if (message.packet !== undefined) {
|
|
1198
|
+
Packet.encode(message.packet, writer.uint32(10).fork()).ldelim();
|
|
1199
|
+
}
|
|
1200
|
+
if (message.acknowledgement.length !== 0) {
|
|
1201
|
+
writer.uint32(18).bytes(message.acknowledgement);
|
|
1202
|
+
}
|
|
1203
|
+
if (message.proofAcked.length !== 0) {
|
|
1204
|
+
writer.uint32(26).bytes(message.proofAcked);
|
|
1205
|
+
}
|
|
1206
|
+
if (message.proofHeight !== undefined) {
|
|
1207
|
+
Height.encode(message.proofHeight, writer.uint32(34).fork()).ldelim();
|
|
1208
|
+
}
|
|
1209
|
+
if (message.signer !== "") {
|
|
1210
|
+
writer.uint32(42).string(message.signer);
|
|
1211
|
+
}
|
|
1212
|
+
return writer;
|
|
1213
|
+
},
|
|
1214
|
+
decode(input, length) {
|
|
1215
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
1216
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1217
|
+
const message = createBaseMsgAcknowledgement();
|
|
1218
|
+
while (reader.pos < end) {
|
|
1219
|
+
const tag = reader.uint32();
|
|
1220
|
+
switch (tag >>> 3) {
|
|
1221
|
+
case 1:
|
|
1222
|
+
message.packet = Packet.decode(reader, reader.uint32());
|
|
1223
|
+
break;
|
|
1224
|
+
case 2:
|
|
1225
|
+
message.acknowledgement = reader.bytes();
|
|
1226
|
+
break;
|
|
1227
|
+
case 3:
|
|
1228
|
+
message.proofAcked = reader.bytes();
|
|
1229
|
+
break;
|
|
1230
|
+
case 4:
|
|
1231
|
+
message.proofHeight = Height.decode(reader, reader.uint32());
|
|
1232
|
+
break;
|
|
1233
|
+
case 5:
|
|
1234
|
+
message.signer = reader.string();
|
|
1235
|
+
break;
|
|
1236
|
+
default:
|
|
1237
|
+
reader.skipType(tag & 7);
|
|
1238
|
+
break;
|
|
1239
|
+
}
|
|
1240
|
+
}
|
|
1241
|
+
return message;
|
|
1242
|
+
},
|
|
1243
|
+
fromJSON(object) {
|
|
1244
|
+
return {
|
|
1245
|
+
packet: isSet(object.packet) ? Packet.fromJSON(object.packet) : undefined,
|
|
1246
|
+
acknowledgement: isSet(object.acknowledgement) ? bytesFromBase64(object.acknowledgement) : new Uint8Array(),
|
|
1247
|
+
proofAcked: isSet(object.proofAcked) ? bytesFromBase64(object.proofAcked) : new Uint8Array(),
|
|
1248
|
+
proofHeight: isSet(object.proofHeight) ? Height.fromJSON(object.proofHeight) : undefined,
|
|
1249
|
+
signer: isSet(object.signer) ? String(object.signer) : "",
|
|
1250
|
+
};
|
|
1251
|
+
},
|
|
1252
|
+
toJSON(message) {
|
|
1253
|
+
const obj = {};
|
|
1254
|
+
message.packet !== undefined && (obj.packet = message.packet ? Packet.toJSON(message.packet) : undefined);
|
|
1255
|
+
message.acknowledgement !== undefined
|
|
1256
|
+
&& (obj.acknowledgement = base64FromBytes(message.acknowledgement !== undefined ? message.acknowledgement : new Uint8Array()));
|
|
1257
|
+
message.proofAcked !== undefined
|
|
1258
|
+
&& (obj.proofAcked = base64FromBytes(message.proofAcked !== undefined ? message.proofAcked : new Uint8Array()));
|
|
1259
|
+
message.proofHeight !== undefined
|
|
1260
|
+
&& (obj.proofHeight = message.proofHeight ? Height.toJSON(message.proofHeight) : undefined);
|
|
1261
|
+
message.signer !== undefined && (obj.signer = message.signer);
|
|
1262
|
+
return obj;
|
|
1263
|
+
},
|
|
1264
|
+
fromPartial(object) {
|
|
1265
|
+
const message = createBaseMsgAcknowledgement();
|
|
1266
|
+
message.packet = (object.packet !== undefined && object.packet !== null)
|
|
1267
|
+
? Packet.fromPartial(object.packet)
|
|
1268
|
+
: undefined;
|
|
1269
|
+
message.acknowledgement = object.acknowledgement ?? new Uint8Array();
|
|
1270
|
+
message.proofAcked = object.proofAcked ?? new Uint8Array();
|
|
1271
|
+
message.proofHeight = (object.proofHeight !== undefined && object.proofHeight !== null)
|
|
1272
|
+
? Height.fromPartial(object.proofHeight)
|
|
1273
|
+
: undefined;
|
|
1274
|
+
message.signer = object.signer ?? "";
|
|
1275
|
+
return message;
|
|
1276
|
+
},
|
|
1277
|
+
};
|
|
1278
|
+
function createBaseMsgAcknowledgementResponse() {
|
|
1279
|
+
return { result: 0 };
|
|
1280
|
+
}
|
|
1281
|
+
export const MsgAcknowledgementResponse = {
|
|
1282
|
+
encode(message, writer = _m0.Writer.create()) {
|
|
1283
|
+
if (message.result !== 0) {
|
|
1284
|
+
writer.uint32(8).int32(message.result);
|
|
1285
|
+
}
|
|
1286
|
+
return writer;
|
|
1287
|
+
},
|
|
1288
|
+
decode(input, length) {
|
|
1289
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
1290
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1291
|
+
const message = createBaseMsgAcknowledgementResponse();
|
|
1292
|
+
while (reader.pos < end) {
|
|
1293
|
+
const tag = reader.uint32();
|
|
1294
|
+
switch (tag >>> 3) {
|
|
1295
|
+
case 1:
|
|
1296
|
+
message.result = reader.int32();
|
|
1297
|
+
break;
|
|
1298
|
+
default:
|
|
1299
|
+
reader.skipType(tag & 7);
|
|
1300
|
+
break;
|
|
1301
|
+
}
|
|
1302
|
+
}
|
|
1303
|
+
return message;
|
|
1304
|
+
},
|
|
1305
|
+
fromJSON(object) {
|
|
1306
|
+
return { result: isSet(object.result) ? responseResultTypeFromJSON(object.result) : 0 };
|
|
1307
|
+
},
|
|
1308
|
+
toJSON(message) {
|
|
1309
|
+
const obj = {};
|
|
1310
|
+
message.result !== undefined && (obj.result = responseResultTypeToJSON(message.result));
|
|
1311
|
+
return obj;
|
|
1312
|
+
},
|
|
1313
|
+
fromPartial(object) {
|
|
1314
|
+
const message = createBaseMsgAcknowledgementResponse();
|
|
1315
|
+
message.result = object.result ?? 0;
|
|
1316
|
+
return message;
|
|
1317
|
+
},
|
|
1318
|
+
};
|
|
1319
|
+
export class MsgClientImpl {
|
|
1320
|
+
constructor(rpc) {
|
|
1321
|
+
this.rpc = rpc;
|
|
1322
|
+
this.ChannelOpenInit = this.ChannelOpenInit.bind(this);
|
|
1323
|
+
this.ChannelOpenTry = this.ChannelOpenTry.bind(this);
|
|
1324
|
+
this.ChannelOpenAck = this.ChannelOpenAck.bind(this);
|
|
1325
|
+
this.ChannelOpenConfirm = this.ChannelOpenConfirm.bind(this);
|
|
1326
|
+
this.ChannelCloseInit = this.ChannelCloseInit.bind(this);
|
|
1327
|
+
this.ChannelCloseConfirm = this.ChannelCloseConfirm.bind(this);
|
|
1328
|
+
this.RecvPacket = this.RecvPacket.bind(this);
|
|
1329
|
+
this.Timeout = this.Timeout.bind(this);
|
|
1330
|
+
this.TimeoutOnClose = this.TimeoutOnClose.bind(this);
|
|
1331
|
+
this.Acknowledgement = this.Acknowledgement.bind(this);
|
|
1332
|
+
}
|
|
1333
|
+
ChannelOpenInit(request) {
|
|
1334
|
+
const data = MsgChannelOpenInit.encode(request).finish();
|
|
1335
|
+
const promise = this.rpc.request("ibc.core.channel.v1.Msg", "ChannelOpenInit", data);
|
|
1336
|
+
return promise.then((data) => MsgChannelOpenInitResponse.decode(new _m0.Reader(data)));
|
|
1337
|
+
}
|
|
1338
|
+
ChannelOpenTry(request) {
|
|
1339
|
+
const data = MsgChannelOpenTry.encode(request).finish();
|
|
1340
|
+
const promise = this.rpc.request("ibc.core.channel.v1.Msg", "ChannelOpenTry", data);
|
|
1341
|
+
return promise.then((data) => MsgChannelOpenTryResponse.decode(new _m0.Reader(data)));
|
|
1342
|
+
}
|
|
1343
|
+
ChannelOpenAck(request) {
|
|
1344
|
+
const data = MsgChannelOpenAck.encode(request).finish();
|
|
1345
|
+
const promise = this.rpc.request("ibc.core.channel.v1.Msg", "ChannelOpenAck", data);
|
|
1346
|
+
return promise.then((data) => MsgChannelOpenAckResponse.decode(new _m0.Reader(data)));
|
|
1347
|
+
}
|
|
1348
|
+
ChannelOpenConfirm(request) {
|
|
1349
|
+
const data = MsgChannelOpenConfirm.encode(request).finish();
|
|
1350
|
+
const promise = this.rpc.request("ibc.core.channel.v1.Msg", "ChannelOpenConfirm", data);
|
|
1351
|
+
return promise.then((data) => MsgChannelOpenConfirmResponse.decode(new _m0.Reader(data)));
|
|
1352
|
+
}
|
|
1353
|
+
ChannelCloseInit(request) {
|
|
1354
|
+
const data = MsgChannelCloseInit.encode(request).finish();
|
|
1355
|
+
const promise = this.rpc.request("ibc.core.channel.v1.Msg", "ChannelCloseInit", data);
|
|
1356
|
+
return promise.then((data) => MsgChannelCloseInitResponse.decode(new _m0.Reader(data)));
|
|
1357
|
+
}
|
|
1358
|
+
ChannelCloseConfirm(request) {
|
|
1359
|
+
const data = MsgChannelCloseConfirm.encode(request).finish();
|
|
1360
|
+
const promise = this.rpc.request("ibc.core.channel.v1.Msg", "ChannelCloseConfirm", data);
|
|
1361
|
+
return promise.then((data) => MsgChannelCloseConfirmResponse.decode(new _m0.Reader(data)));
|
|
1362
|
+
}
|
|
1363
|
+
RecvPacket(request) {
|
|
1364
|
+
const data = MsgRecvPacket.encode(request).finish();
|
|
1365
|
+
const promise = this.rpc.request("ibc.core.channel.v1.Msg", "RecvPacket", data);
|
|
1366
|
+
return promise.then((data) => MsgRecvPacketResponse.decode(new _m0.Reader(data)));
|
|
1367
|
+
}
|
|
1368
|
+
Timeout(request) {
|
|
1369
|
+
const data = MsgTimeout.encode(request).finish();
|
|
1370
|
+
const promise = this.rpc.request("ibc.core.channel.v1.Msg", "Timeout", data);
|
|
1371
|
+
return promise.then((data) => MsgTimeoutResponse.decode(new _m0.Reader(data)));
|
|
1372
|
+
}
|
|
1373
|
+
TimeoutOnClose(request) {
|
|
1374
|
+
const data = MsgTimeoutOnClose.encode(request).finish();
|
|
1375
|
+
const promise = this.rpc.request("ibc.core.channel.v1.Msg", "TimeoutOnClose", data);
|
|
1376
|
+
return promise.then((data) => MsgTimeoutOnCloseResponse.decode(new _m0.Reader(data)));
|
|
1377
|
+
}
|
|
1378
|
+
Acknowledgement(request) {
|
|
1379
|
+
const data = MsgAcknowledgement.encode(request).finish();
|
|
1380
|
+
const promise = this.rpc.request("ibc.core.channel.v1.Msg", "Acknowledgement", data);
|
|
1381
|
+
return promise.then((data) => MsgAcknowledgementResponse.decode(new _m0.Reader(data)));
|
|
1382
|
+
}
|
|
1383
|
+
}
|
|
1384
|
+
var globalThis = (() => {
|
|
1385
|
+
if (typeof globalThis !== "undefined") {
|
|
1386
|
+
return globalThis;
|
|
1387
|
+
}
|
|
1388
|
+
if (typeof self !== "undefined") {
|
|
1389
|
+
return self;
|
|
1390
|
+
}
|
|
1391
|
+
if (typeof window !== "undefined") {
|
|
1392
|
+
return window;
|
|
1393
|
+
}
|
|
1394
|
+
if (typeof global !== "undefined") {
|
|
1395
|
+
return global;
|
|
1396
|
+
}
|
|
1397
|
+
throw "Unable to locate global object";
|
|
1398
|
+
})();
|
|
1399
|
+
function bytesFromBase64(b64) {
|
|
1400
|
+
if (globalThis.Buffer) {
|
|
1401
|
+
return Uint8Array.from(globalThis.Buffer.from(b64, "base64"));
|
|
1402
|
+
}
|
|
1403
|
+
else {
|
|
1404
|
+
const bin = globalThis.atob(b64);
|
|
1405
|
+
const arr = new Uint8Array(bin.length);
|
|
1406
|
+
for (let i = 0; i < bin.length; ++i) {
|
|
1407
|
+
arr[i] = bin.charCodeAt(i);
|
|
1408
|
+
}
|
|
1409
|
+
return arr;
|
|
1410
|
+
}
|
|
1411
|
+
}
|
|
1412
|
+
function base64FromBytes(arr) {
|
|
1413
|
+
if (globalThis.Buffer) {
|
|
1414
|
+
return globalThis.Buffer.from(arr).toString("base64");
|
|
1415
|
+
}
|
|
1416
|
+
else {
|
|
1417
|
+
const bin = [];
|
|
1418
|
+
arr.forEach((byte) => {
|
|
1419
|
+
bin.push(String.fromCharCode(byte));
|
|
1420
|
+
});
|
|
1421
|
+
return globalThis.btoa(bin.join(""));
|
|
1422
|
+
}
|
|
1423
|
+
}
|
|
1424
|
+
function longToNumber(long) {
|
|
1425
|
+
if (long.gt(Number.MAX_SAFE_INTEGER)) {
|
|
1426
|
+
throw new globalThis.Error("Value is larger than Number.MAX_SAFE_INTEGER");
|
|
1427
|
+
}
|
|
1428
|
+
return long.toNumber();
|
|
1429
|
+
}
|
|
1430
|
+
if (_m0.util.Long !== Long) {
|
|
1431
|
+
_m0.util.Long = Long;
|
|
1432
|
+
_m0.configure();
|
|
1433
|
+
}
|
|
1434
|
+
function isSet(value) {
|
|
1435
|
+
return value !== null && value !== undefined;
|
|
1436
|
+
}
|