@bze/bzejs 0.0.9 → 0.0.11
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/main/codegen/amino/amino.js +5 -0
- package/main/codegen/amino/bundle.js +15 -0
- package/main/codegen/beezee/cointrunk/anon_articles_counter.js +1 -1
- package/main/codegen/beezee/cointrunk/article.js +1 -1
- package/main/codegen/beezee/cointrunk/events.js +1 -1
- package/main/codegen/beezee/cointrunk/genesis.js +1 -1
- package/main/codegen/beezee/cointrunk/publisher.js +1 -1
- package/main/codegen/bze/bundle.js +34 -34
- package/main/codegen/confio/proofs.js +1145 -0
- package/main/codegen/cosmos/auth/v1beta1/auth.js +1 -1
- package/main/codegen/cosmos/authz/v1beta1/tx.amino.js +0 -2
- package/main/codegen/cosmos/base/abci/v1beta1/abci.js +1 -1
- package/main/codegen/cosmos/base/query/v1beta1/pagination.js +1 -1
- package/main/codegen/cosmos/base/snapshots/v1beta1/snapshot.js +1 -1
- package/main/codegen/cosmos/base/store/v1beta1/commit_info.js +1 -1
- package/main/codegen/cosmos/base/tendermint/v1beta1/query.js +1 -1
- package/main/codegen/cosmos/bundle.js +213 -213
- package/main/codegen/cosmos/capability/v1beta1/capability.js +1 -1
- package/main/codegen/cosmos/capability/v1beta1/genesis.js +1 -1
- package/main/codegen/cosmos/evidence/v1beta1/evidence.js +1 -1
- package/main/codegen/cosmos/gov/v1/genesis.js +1 -1
- package/main/codegen/cosmos/gov/v1/gov.js +2 -21
- package/main/codegen/cosmos/gov/v1/query.js +1 -1
- package/main/codegen/cosmos/gov/v1beta1/genesis.js +1 -1
- package/main/codegen/cosmos/gov/v1beta1/gov.js +2 -21
- package/main/codegen/cosmos/gov/v1beta1/query.js +1 -1
- package/main/codegen/cosmos/group/v1/events.js +1 -1
- package/main/codegen/cosmos/group/v1/genesis.js +1 -1
- package/main/codegen/cosmos/group/v1/query.js +1 -1
- package/main/codegen/cosmos/group/v1/tx.js +1 -7
- package/main/codegen/cosmos/group/v1/types.js +4 -38
- package/main/codegen/cosmos/orm/v1alpha1/schema.js +1 -10
- package/main/codegen/cosmos/slashing/v1beta1/slashing.js +1 -1
- package/main/codegen/cosmos/staking/v1beta1/authz.js +1 -13
- package/main/codegen/cosmos/staking/v1beta1/staking.js +1 -9
- package/main/codegen/cosmos/staking/v1beta1/tx.amino.js +0 -2
- package/main/codegen/cosmos/tx/signing/v1beta1/signing.js +1 -19
- package/main/codegen/cosmos/tx/v1beta1/service.js +2 -17
- package/main/codegen/cosmos/upgrade/v1beta1/upgrade.js +1 -1
- package/main/codegen/cosmos/vesting/v1beta1/tx.js +1 -1
- package/main/codegen/cosmos/vesting/v1beta1/vesting.js +1 -1
- package/main/codegen/cosmos_proto/bundle.js +2 -2
- package/main/codegen/cosmos_proto/cosmos.js +1 -7
- package/main/codegen/gogoproto/bundle.js +2 -2
- package/main/codegen/google/bundle.js +9 -9
- package/main/codegen/google/protobuf/descriptor.js +6 -63
- package/main/codegen/google/protobuf/duration.js +1 -1
- package/main/codegen/google/protobuf/timestamp.js +1 -1
- package/main/codegen/helpers.js +1 -1
- package/main/codegen/ibc/applications/transfer/v1/genesis.js +82 -0
- package/main/codegen/ibc/applications/transfer/v1/query.js +291 -0
- package/main/codegen/ibc/applications/transfer/v1/query.lcd.js +114 -0
- package/main/codegen/ibc/applications/transfer/v1/query.rpc.Query.js +75 -0
- package/main/codegen/ibc/applications/transfer/v1/transfer.js +124 -0
- package/main/codegen/ibc/applications/transfer/v1/tx.amino.js +61 -0
- package/main/codegen/ibc/applications/transfer/v1/tx.js +141 -0
- package/main/codegen/ibc/applications/transfer/v1/tx.registry.js +44 -0
- package/main/codegen/ibc/applications/transfer/v1/tx.rpc.msg.js +35 -0
- package/main/codegen/ibc/applications/transfer/v2/packet.js +83 -0
- package/main/codegen/ibc/bundle.js +116 -0
- package/main/codegen/ibc/client.js +67 -0
- package/main/codegen/ibc/core/channel/v1/channel.js +596 -0
- package/main/codegen/ibc/core/channel/v1/genesis.js +252 -0
- package/main/codegen/ibc/core/channel/v1/query.js +1749 -0
- package/main/codegen/ibc/core/channel/v1/query.lcd.js +406 -0
- package/main/codegen/ibc/core/channel/v1/query.rpc.Query.js +204 -0
- package/main/codegen/ibc/core/channel/v1/tx.amino.js +508 -0
- package/main/codegen/ibc/core/channel/v1/tx.js +1101 -0
- package/main/codegen/ibc/core/channel/v1/tx.registry.js +206 -0
- package/main/codegen/ibc/core/channel/v1/tx.rpc.msg.js +125 -0
- package/main/codegen/ibc/core/client/v1/client.js +459 -0
- package/main/codegen/ibc/core/client/v1/genesis.js +250 -0
- package/main/codegen/ibc/core/client/v1/query.js +841 -0
- package/main/codegen/ibc/core/client/v1/query.lcd.js +263 -0
- package/main/codegen/ibc/core/client/v1/query.rpc.Query.js +142 -0
- package/main/codegen/ibc/core/client/v1/tx.amino.js +148 -0
- package/main/codegen/ibc/core/client/v1/tx.js +411 -0
- package/main/codegen/ibc/core/client/v1/tx.registry.js +98 -0
- package/main/codegen/ibc/core/client/v1/tx.rpc.msg.js +65 -0
- package/main/codegen/ibc/core/commitment/v1/commitment.js +234 -0
- package/main/codegen/ibc/core/connection/v1/connection.js +532 -0
- package/main/codegen/ibc/core/connection/v1/genesis.js +102 -0
- package/main/codegen/ibc/core/connection/v1/query.js +615 -0
- package/main/codegen/ibc/core/connection/v1/query.lcd.js +170 -0
- package/main/codegen/ibc/core/connection/v1/query.rpc.Query.js +100 -0
- package/main/codegen/ibc/core/connection/v1/tx.amino.js +268 -0
- package/main/codegen/ibc/core/connection/v1/tx.js +568 -0
- package/main/codegen/ibc/core/connection/v1/tx.registry.js +98 -0
- package/main/codegen/ibc/core/connection/v1/tx.rpc.msg.js +65 -0
- package/main/codegen/ibc/core/port/v1/query.js +133 -0
- package/main/codegen/ibc/core/port/v1/query.rpc.Query.js +45 -0
- package/main/codegen/ibc/core/types/v1/genesis.js +69 -0
- package/main/codegen/ibc/lcd.js +341 -0
- package/main/codegen/ibc/lightclients/localhost/v1/localhost.js +66 -0
- package/main/codegen/ibc/lightclients/solomachine/v1/solomachine.js +1054 -0
- package/main/codegen/ibc/lightclients/solomachine/v2/solomachine.js +1054 -0
- package/main/codegen/ibc/lightclients/tendermint/v1/tendermint.js +434 -0
- package/main/codegen/ibc/rpc.query.js +280 -0
- package/main/codegen/ibc/rpc.tx.js +256 -0
- package/main/codegen/ics23/bundle.js +15 -0
- package/main/codegen/index.js +58 -25
- package/main/codegen/tendermint/abci/types.js +4 -33
- package/main/codegen/tendermint/bundle.js +17 -17
- package/main/codegen/tendermint/crypto/proof.js +1 -1
- package/main/codegen/tendermint/libs/bits/types.js +1 -1
- package/main/codegen/tendermint/p2p/types.js +1 -1
- package/main/codegen/tendermint/types/types.js +2 -18
- package/main/codegen/tendermint/types/validator.js +1 -1
- package/main/codegen/tendermint/version/types.js +1 -1
- package/module/codegen/amino/amino.js +1 -0
- package/module/codegen/amino/bundle.js +5 -0
- package/module/codegen/beezee/cointrunk/anon_articles_counter.js +1 -1
- package/module/codegen/beezee/cointrunk/article.js +1 -1
- package/module/codegen/beezee/cointrunk/events.js +1 -1
- package/module/codegen/beezee/cointrunk/genesis.js +1 -1
- package/module/codegen/beezee/cointrunk/publisher.js +1 -1
- package/module/codegen/bze/bundle.js +34 -34
- package/module/codegen/confio/proofs.js +1051 -0
- package/module/codegen/cosmos/auth/v1beta1/auth.js +1 -1
- package/module/codegen/cosmos/authz/v1beta1/tx.amino.js +0 -2
- package/module/codegen/cosmos/base/abci/v1beta1/abci.js +1 -1
- package/module/codegen/cosmos/base/query/v1beta1/pagination.js +1 -1
- package/module/codegen/cosmos/base/snapshots/v1beta1/snapshot.js +1 -1
- package/module/codegen/cosmos/base/store/v1beta1/commit_info.js +1 -1
- package/module/codegen/cosmos/base/tendermint/v1beta1/query.js +1 -1
- package/module/codegen/cosmos/bundle.js +213 -213
- package/module/codegen/cosmos/capability/v1beta1/capability.js +1 -1
- package/module/codegen/cosmos/capability/v1beta1/genesis.js +1 -1
- package/module/codegen/cosmos/evidence/v1beta1/evidence.js +1 -1
- package/module/codegen/cosmos/gov/v1/genesis.js +1 -1
- package/module/codegen/cosmos/gov/v1/gov.js +2 -23
- package/module/codegen/cosmos/gov/v1/query.js +1 -1
- package/module/codegen/cosmos/gov/v1beta1/genesis.js +1 -1
- package/module/codegen/cosmos/gov/v1beta1/gov.js +2 -23
- package/module/codegen/cosmos/gov/v1beta1/query.js +1 -1
- package/module/codegen/cosmos/group/v1/events.js +1 -1
- package/module/codegen/cosmos/group/v1/genesis.js +1 -1
- package/module/codegen/cosmos/group/v1/query.js +1 -1
- package/module/codegen/cosmos/group/v1/tx.js +1 -8
- package/module/codegen/cosmos/group/v1/types.js +4 -42
- package/module/codegen/cosmos/orm/v1alpha1/schema.js +1 -11
- package/module/codegen/cosmos/slashing/v1beta1/slashing.js +1 -1
- package/module/codegen/cosmos/staking/v1beta1/authz.js +1 -14
- package/module/codegen/cosmos/staking/v1beta1/staking.js +1 -10
- package/module/codegen/cosmos/staking/v1beta1/tx.amino.js +0 -1
- package/module/codegen/cosmos/tx/signing/v1beta1/signing.js +1 -20
- package/module/codegen/cosmos/tx/v1beta1/service.js +2 -19
- package/module/codegen/cosmos/upgrade/v1beta1/upgrade.js +1 -1
- package/module/codegen/cosmos/vesting/v1beta1/tx.js +1 -1
- package/module/codegen/cosmos/vesting/v1beta1/vesting.js +1 -1
- package/module/codegen/cosmos_proto/bundle.js +2 -2
- package/module/codegen/cosmos_proto/cosmos.js +1 -7
- package/module/codegen/gogoproto/bundle.js +2 -2
- package/module/codegen/google/bundle.js +9 -9
- package/module/codegen/google/protobuf/descriptor.js +6 -65
- package/module/codegen/google/protobuf/duration.js +1 -1
- package/module/codegen/google/protobuf/timestamp.js +1 -1
- package/module/codegen/helpers.js +1 -1
- package/module/codegen/ibc/applications/transfer/v1/genesis.js +59 -0
- package/module/codegen/ibc/applications/transfer/v1/query.js +263 -0
- package/module/codegen/ibc/applications/transfer/v1/query.lcd.js +39 -0
- package/module/codegen/ibc/applications/transfer/v1/query.rpc.Query.js +47 -0
- package/module/codegen/ibc/applications/transfer/v1/transfer.js +114 -0
- package/module/codegen/ibc/applications/transfer/v1/tx.amino.js +57 -0
- package/module/codegen/ibc/applications/transfer/v1/tx.js +130 -0
- package/module/codegen/ibc/applications/transfer/v1/tx.registry.js +33 -0
- package/module/codegen/ibc/applications/transfer/v1/tx.rpc.msg.js +17 -0
- package/module/codegen/ibc/applications/transfer/v2/packet.js +74 -0
- package/module/codegen/ibc/bundle.js +106 -0
- package/module/codegen/ibc/client.js +42 -0
- package/module/codegen/ibc/core/channel/v1/channel.js +554 -0
- package/module/codegen/ibc/core/channel/v1/genesis.js +161 -0
- package/module/codegen/ibc/core/channel/v1/query.js +1612 -0
- package/module/codegen/ibc/core/channel/v1/query.lcd.js +138 -0
- package/module/codegen/ibc/core/channel/v1/query.rpc.Query.js +137 -0
- package/module/codegen/ibc/core/channel/v1/tx.amino.js +522 -0
- package/module/codegen/ibc/core/channel/v1/tx.js +1072 -0
- package/module/codegen/ibc/core/channel/v1/tx.registry.js +195 -0
- package/module/codegen/ibc/core/channel/v1/tx.rpc.msg.js +71 -0
- package/module/codegen/ibc/core/client/v1/client.js +418 -0
- package/module/codegen/ibc/core/client/v1/genesis.js +191 -0
- package/module/codegen/ibc/core/client/v1/query.js +791 -0
- package/module/codegen/ibc/core/client/v1/query.lcd.js +88 -0
- package/module/codegen/ibc/core/client/v1/query.rpc.Query.js +92 -0
- package/module/codegen/ibc/core/client/v1/tx.amino.js +150 -0
- package/module/codegen/ibc/core/client/v1/tx.js +395 -0
- package/module/codegen/ibc/core/client/v1/tx.registry.js +87 -0
- package/module/codegen/ibc/core/client/v1/tx.rpc.msg.js +35 -0
- package/module/codegen/ibc/core/commitment/v1/commitment.js +197 -0
- package/module/codegen/ibc/core/connection/v1/connection.js +457 -0
- package/module/codegen/ibc/core/connection/v1/genesis.js +67 -0
- package/module/codegen/ibc/core/connection/v1/query.js +571 -0
- package/module/codegen/ibc/core/connection/v1/query.lcd.js +56 -0
- package/module/codegen/ibc/core/connection/v1/query.rpc.Query.js +65 -0
- package/module/codegen/ibc/core/connection/v1/tx.amino.js +266 -0
- package/module/codegen/ibc/core/connection/v1/tx.js +537 -0
- package/module/codegen/ibc/core/connection/v1/tx.registry.js +87 -0
- package/module/codegen/ibc/core/connection/v1/tx.rpc.msg.js +35 -0
- package/module/codegen/ibc/core/port/v1/query.js +123 -0
- package/module/codegen/ibc/core/port/v1/query.rpc.Query.js +27 -0
- package/module/codegen/ibc/core/types/v1/genesis.js +60 -0
- package/module/codegen/ibc/lcd.js +123 -0
- package/module/codegen/ibc/lightclients/localhost/v1/localhost.js +57 -0
- package/module/codegen/ibc/lightclients/solomachine/v1/solomachine.js +1028 -0
- package/module/codegen/ibc/lightclients/solomachine/v2/solomachine.js +1028 -0
- package/module/codegen/ibc/lightclients/tendermint/v1/tendermint.js +395 -0
- package/module/codegen/ibc/rpc.query.js +87 -0
- package/module/codegen/ibc/rpc.tx.js +64 -0
- package/module/codegen/ics23/bundle.js +5 -0
- package/module/codegen/index.js +6 -3
- package/module/codegen/tendermint/abci/types.js +4 -33
- package/module/codegen/tendermint/bundle.js +17 -17
- package/module/codegen/tendermint/crypto/proof.js +1 -1
- package/module/codegen/tendermint/libs/bits/types.js +1 -1
- package/module/codegen/tendermint/p2p/types.js +1 -1
- package/module/codegen/tendermint/types/evidence.js +1 -1
- package/module/codegen/tendermint/types/types.js +3 -21
- package/module/codegen/tendermint/types/validator.js +1 -1
- package/module/codegen/tendermint/version/types.js +1 -1
- package/package.json +1 -1
- package/src/codegen/amino/amino.ts +1 -0
- package/src/codegen/amino/bundle.ts +3 -0
- package/src/codegen/beezee/burner/query.ts +0 -1
- package/src/codegen/beezee/burner/tx.amino.ts +3 -3
- package/src/codegen/beezee/cointrunk/anon_articles_counter.ts +1 -1
- package/src/codegen/beezee/cointrunk/article.ts +1 -1
- package/src/codegen/beezee/cointrunk/events.ts +1 -1
- package/src/codegen/beezee/cointrunk/genesis.ts +1 -1
- package/src/codegen/beezee/cointrunk/publisher.ts +1 -1
- package/src/codegen/beezee/cointrunk/query.ts +0 -1
- package/src/codegen/beezee/cointrunk/tx.amino.ts +6 -6
- package/src/codegen/bze/bundle.ts +48 -48
- package/src/codegen/confio/proofs.ts +1451 -0
- package/src/codegen/cosmos/app/v1alpha1/config.ts +0 -18
- package/src/codegen/cosmos/app/v1alpha1/module.ts +0 -67
- package/src/codegen/cosmos/app/v1alpha1/query.ts +0 -1
- package/src/codegen/cosmos/auth/v1beta1/auth.ts +1 -1
- package/src/codegen/cosmos/auth/v1beta1/genesis.ts +0 -3
- package/src/codegen/cosmos/auth/v1beta1/query.ts +0 -7
- package/src/codegen/cosmos/authz/v1beta1/authz.ts +0 -8
- package/src/codegen/cosmos/authz/v1beta1/event.ts +0 -10
- package/src/codegen/cosmos/authz/v1beta1/query.ts +0 -17
- package/src/codegen/cosmos/authz/v1beta1/tx.amino.ts +9 -10
- package/src/codegen/cosmos/authz/v1beta1/tx.ts +0 -6
- package/src/codegen/cosmos/bank/v1beta1/bank.ts +0 -46
- package/src/codegen/cosmos/bank/v1beta1/genesis.ts +0 -13
- package/src/codegen/cosmos/bank/v1beta1/query.ts +0 -44
- package/src/codegen/cosmos/bank/v1beta1/tx.amino.ts +6 -6
- package/src/codegen/cosmos/base/abci/v1beta1/abci.ts +1 -87
- package/src/codegen/cosmos/base/query/v1beta1/pagination.ts +1 -40
- package/src/codegen/cosmos/base/reflection/v1beta1/reflection.ts +0 -2
- package/src/codegen/cosmos/base/reflection/v2alpha1/reflection.ts +0 -78
- package/src/codegen/cosmos/base/snapshots/v1beta1/snapshot.ts +1 -6
- package/src/codegen/cosmos/base/store/v1beta1/commit_info.ts +1 -1
- package/src/codegen/cosmos/base/store/v1beta1/listening.ts +0 -3
- package/src/codegen/cosmos/base/tendermint/v1beta1/query.ts +1 -15
- package/src/codegen/cosmos/bundle.ts +328 -328
- package/src/codegen/cosmos/capability/v1beta1/capability.ts +1 -1
- package/src/codegen/cosmos/capability/v1beta1/genesis.ts +1 -10
- package/src/codegen/cosmos/crisis/v1beta1/genesis.ts +0 -4
- package/src/codegen/cosmos/crisis/v1beta1/tx.amino.ts +3 -3
- package/src/codegen/cosmos/crypto/hd/v1/hd.ts +0 -12
- package/src/codegen/cosmos/crypto/keyring/v1/record.ts +0 -11
- package/src/codegen/cosmos/crypto/secp256r1/keys.ts +0 -5
- package/src/codegen/cosmos/distribution/v1beta1/genesis.ts +0 -48
- package/src/codegen/cosmos/distribution/v1beta1/query.ts +0 -27
- package/src/codegen/cosmos/distribution/v1beta1/tx.amino.ts +12 -12
- package/src/codegen/cosmos/evidence/v1beta1/evidence.ts +1 -1
- package/src/codegen/cosmos/evidence/v1beta1/genesis.ts +0 -1
- package/src/codegen/cosmos/evidence/v1beta1/query.ts +0 -6
- package/src/codegen/cosmos/evidence/v1beta1/tx.amino.ts +3 -3
- package/src/codegen/cosmos/evidence/v1beta1/tx.ts +0 -1
- package/src/codegen/cosmos/feegrant/v1beta1/feegrant.ts +0 -34
- package/src/codegen/cosmos/feegrant/v1beta1/query.ts +0 -14
- package/src/codegen/cosmos/feegrant/v1beta1/tx.amino.ts +6 -6
- package/src/codegen/cosmos/feegrant/v1beta1/tx.ts +0 -8
- package/src/codegen/cosmos/genutil/v1beta1/genesis.ts +0 -1
- package/src/codegen/cosmos/gov/v1/genesis.ts +1 -14
- package/src/codegen/cosmos/gov/v1/gov.ts +4 -86
- package/src/codegen/cosmos/gov/v1/query.ts +3 -43
- package/src/codegen/cosmos/gov/v1/tx.amino.ts +15 -15
- package/src/codegen/cosmos/gov/v1/tx.ts +2 -7
- package/src/codegen/cosmos/gov/v1beta1/genesis.ts +1 -14
- package/src/codegen/cosmos/gov/v1beta1/gov.ts +5 -91
- package/src/codegen/cosmos/gov/v1beta1/query.ts +3 -43
- package/src/codegen/cosmos/gov/v1beta1/tx.amino.ts +12 -12
- package/src/codegen/cosmos/gov/v1beta1/tx.ts +2 -2
- package/src/codegen/cosmos/group/v1/events.ts +3 -16
- package/src/codegen/cosmos/group/v1/genesis.ts +1 -25
- package/src/codegen/cosmos/group/v1/query.ts +1 -61
- package/src/codegen/cosmos/group/v1/tx.amino.ts +42 -42
- package/src/codegen/cosmos/group/v1/tx.ts +5 -121
- package/src/codegen/cosmos/group/v1/types.ts +8 -205
- package/src/codegen/cosmos/mint/v1beta1/genesis.ts +0 -3
- package/src/codegen/cosmos/mint/v1beta1/mint.ts +0 -14
- package/src/codegen/cosmos/mint/v1beta1/query.ts +0 -3
- package/src/codegen/cosmos/nft/v1beta1/genesis.ts +0 -4
- package/src/codegen/cosmos/nft/v1beta1/nft.ts +0 -22
- package/src/codegen/cosmos/nft/v1beta1/query.ts +0 -1
- package/src/codegen/cosmos/nft/v1beta1/tx.amino.ts +3 -3
- package/src/codegen/cosmos/nft/v1beta1/tx.ts +0 -7
- package/src/codegen/cosmos/orm/v1/orm.ts +0 -71
- package/src/codegen/cosmos/orm/v1alpha1/schema.ts +2 -70
- package/src/codegen/cosmos/params/v1beta1/query.ts +0 -4
- package/src/codegen/cosmos/slashing/v1beta1/genesis.ts +0 -20
- package/src/codegen/cosmos/slashing/v1beta1/query.ts +0 -3
- package/src/codegen/cosmos/slashing/v1beta1/slashing.ts +1 -21
- package/src/codegen/cosmos/slashing/v1beta1/tx.amino.ts +3 -3
- package/src/codegen/cosmos/staking/v1beta1/authz.ts +2 -34
- package/src/codegen/cosmos/staking/v1beta1/genesis.ts +0 -22
- package/src/codegen/cosmos/staking/v1beta1/query.ts +0 -60
- package/src/codegen/cosmos/staking/v1beta1/staking.ts +2 -97
- package/src/codegen/cosmos/staking/v1beta1/tx.amino.ts +15 -16
- package/src/codegen/cosmos/staking/v1beta1/tx.ts +0 -7
- package/src/codegen/cosmos/tx/signing/v1beta1/signing.ts +2 -66
- package/src/codegen/cosmos/tx/v1beta1/service.ts +4 -74
- package/src/codegen/cosmos/tx/v1beta1/tx.ts +3 -181
- package/src/codegen/cosmos/upgrade/v1beta1/query.ts +0 -14
- package/src/codegen/cosmos/upgrade/v1beta1/tx.amino.ts +6 -6
- package/src/codegen/cosmos/upgrade/v1beta1/tx.ts +0 -4
- package/src/codegen/cosmos/upgrade/v1beta1/upgrade.ts +1 -35
- package/src/codegen/cosmos/vesting/v1beta1/tx.amino.ts +9 -9
- package/src/codegen/cosmos/vesting/v1beta1/tx.ts +1 -1
- package/src/codegen/cosmos/vesting/v1beta1/vesting.ts +1 -1
- package/src/codegen/cosmos_proto/bundle.ts +2 -2
- package/src/codegen/cosmos_proto/cosmos.ts +2 -37
- package/src/codegen/gogoproto/bundle.ts +2 -2
- package/src/codegen/google/api/http.ts +0 -66
- package/src/codegen/google/bundle.ts +13 -13
- package/src/codegen/google/protobuf/any.ts +0 -31
- package/src/codegen/google/protobuf/descriptor.ts +12 -638
- package/src/codegen/google/protobuf/duration.ts +1 -15
- package/src/codegen/google/protobuf/timestamp.ts +1 -13
- package/src/codegen/helpers.ts +3 -1
- package/src/codegen/ibc/applications/transfer/v1/genesis.ts +82 -0
- package/src/codegen/ibc/applications/transfer/v1/query.lcd.ts +49 -0
- package/src/codegen/ibc/applications/transfer/v1/query.rpc.Query.ts +65 -0
- package/src/codegen/ibc/applications/transfer/v1/query.ts +362 -0
- package/src/codegen/ibc/applications/transfer/v1/transfer.ts +167 -0
- package/src/codegen/ibc/applications/transfer/v1/tx.amino.ts +73 -0
- package/src/codegen/ibc/applications/transfer/v1/tx.registry.ts +37 -0
- package/src/codegen/ibc/applications/transfer/v1/tx.rpc.msg.ts +24 -0
- package/src/codegen/ibc/applications/transfer/v1/tx.ts +198 -0
- package/src/codegen/ibc/applications/transfer/v2/packet.ts +108 -0
- package/src/codegen/ibc/bundle.ts +137 -0
- package/src/codegen/ibc/client.ts +54 -0
- package/src/codegen/ibc/core/channel/v1/channel.ts +826 -0
- package/src/codegen/ibc/core/channel/v1/genesis.ts +229 -0
- package/src/codegen/ibc/core/channel/v1/query.lcd.ts +165 -0
- package/src/codegen/ibc/core/channel/v1/query.rpc.Query.ts +229 -0
- package/src/codegen/ibc/core/channel/v1/query.ts +2326 -0
- package/src/codegen/ibc/core/channel/v1/tx.amino.ts +670 -0
- package/src/codegen/ibc/core/channel/v1/tx.registry.ts +226 -0
- package/src/codegen/ibc/core/channel/v1/tx.rpc.msg.ts +117 -0
- package/src/codegen/ibc/core/channel/v1/tx.ts +1487 -0
- package/src/codegen/ibc/core/client/v1/client.ts +597 -0
- package/src/codegen/ibc/core/client/v1/genesis.ts +276 -0
- package/src/codegen/ibc/core/client/v1/query.lcd.ts +107 -0
- package/src/codegen/ibc/core/client/v1/query.rpc.Query.ts +141 -0
- package/src/codegen/ibc/core/client/v1/query.ts +1095 -0
- package/src/codegen/ibc/core/client/v1/tx.amino.ts +205 -0
- package/src/codegen/ibc/core/client/v1/tx.registry.ts +100 -0
- package/src/codegen/ibc/core/client/v1/tx.rpc.msg.ts +54 -0
- package/src/codegen/ibc/core/client/v1/tx.ts +571 -0
- package/src/codegen/ibc/core/commitment/v1/commitment.ts +257 -0
- package/src/codegen/ibc/core/connection/v1/connection.ts +685 -0
- package/src/codegen/ibc/core/connection/v1/genesis.ts +96 -0
- package/src/codegen/ibc/core/connection/v1/query.lcd.ts +68 -0
- package/src/codegen/ibc/core/connection/v1/query.rpc.Query.ts +102 -0
- package/src/codegen/ibc/core/connection/v1/query.ts +805 -0
- package/src/codegen/ibc/core/connection/v1/tx.amino.ts +343 -0
- package/src/codegen/ibc/core/connection/v1/tx.registry.ts +100 -0
- package/src/codegen/ibc/core/connection/v1/tx.rpc.msg.ts +57 -0
- package/src/codegen/ibc/core/connection/v1/tx.ts +770 -0
- package/src/codegen/ibc/core/port/v1/query.rpc.Query.ts +35 -0
- package/src/codegen/ibc/core/port/v1/query.ts +185 -0
- package/src/codegen/ibc/core/types/v1/genesis.ts +92 -0
- package/src/codegen/ibc/lcd.ts +125 -0
- package/src/codegen/ibc/lightclients/localhost/v1/localhost.ts +79 -0
- package/src/codegen/ibc/lightclients/solomachine/v1/solomachine.ts +1441 -0
- package/src/codegen/ibc/lightclients/solomachine/v2/solomachine.ts +1441 -0
- package/src/codegen/ibc/lightclients/tendermint/v1/tendermint.ts +585 -0
- package/src/codegen/ibc/rpc.query.ts +89 -0
- package/src/codegen/ibc/rpc.tx.ts +67 -0
- package/src/codegen/ics23/bundle.ts +3 -0
- package/src/codegen/index.ts +6 -3
- package/src/codegen/tendermint/abci/types.ts +8 -109
- package/src/codegen/tendermint/bundle.ts +22 -22
- package/src/codegen/tendermint/crypto/proof.ts +1 -4
- package/src/codegen/tendermint/libs/bits/types.ts +1 -1
- package/src/codegen/tendermint/p2p/types.ts +1 -1
- package/src/codegen/tendermint/types/evidence.ts +1 -1
- package/src/codegen/tendermint/types/params.ts +0 -36
- package/src/codegen/tendermint/types/types.ts +6 -50
- package/src/codegen/tendermint/types/validator.ts +1 -1
- package/src/codegen/tendermint/version/types.ts +1 -1
- package/types/codegen/amino/amino.d.ts +1 -0
- package/types/codegen/amino/bundle.d.ts +1 -0
- package/types/codegen/beezee/burner/query.d.ts +0 -1
- package/types/codegen/beezee/burner/tx.amino.d.ts +3 -3
- package/types/codegen/beezee/cointrunk/anon_articles_counter.d.ts +1 -1
- package/types/codegen/beezee/cointrunk/article.d.ts +1 -1
- package/types/codegen/beezee/cointrunk/events.d.ts +1 -1
- package/types/codegen/beezee/cointrunk/genesis.d.ts +1 -1
- package/types/codegen/beezee/cointrunk/publisher.d.ts +1 -1
- package/types/codegen/beezee/cointrunk/query.d.ts +0 -1
- package/types/codegen/beezee/cointrunk/tx.amino.d.ts +6 -6
- package/types/codegen/bze/bundle.d.ts +247 -3513
- package/types/codegen/confio/proofs.d.ts +439 -0
- package/types/codegen/cosmos/app/v1alpha1/config.d.ts +0 -17
- package/types/codegen/cosmos/app/v1alpha1/module.d.ts +0 -64
- package/types/codegen/cosmos/app/v1alpha1/query.d.ts +0 -1
- package/types/codegen/cosmos/auth/v1beta1/auth.d.ts +1 -1
- package/types/codegen/cosmos/auth/v1beta1/genesis.d.ts +0 -2
- package/types/codegen/cosmos/auth/v1beta1/query.d.ts +0 -6
- package/types/codegen/cosmos/authz/v1beta1/authz.d.ts +0 -7
- package/types/codegen/cosmos/authz/v1beta1/event.d.ts +0 -6
- package/types/codegen/cosmos/authz/v1beta1/query.d.ts +0 -10
- package/types/codegen/cosmos/authz/v1beta1/tx.amino.d.ts +9 -9
- package/types/codegen/cosmos/authz/v1beta1/tx.d.ts +0 -5
- package/types/codegen/cosmos/bank/v1beta1/bank.d.ts +0 -37
- package/types/codegen/cosmos/bank/v1beta1/genesis.d.ts +0 -9
- package/types/codegen/cosmos/bank/v1beta1/query.d.ts +0 -34
- package/types/codegen/cosmos/bank/v1beta1/tx.amino.d.ts +6 -6
- package/types/codegen/cosmos/base/abci/v1beta1/abci.d.ts +1 -62
- package/types/codegen/cosmos/base/query/v1beta1/pagination.d.ts +1 -35
- package/types/codegen/cosmos/base/reflection/v1beta1/reflection.d.ts +0 -2
- package/types/codegen/cosmos/base/reflection/v2alpha1/reflection.d.ts +0 -63
- package/types/codegen/cosmos/base/snapshots/v1beta1/snapshot.d.ts +1 -4
- package/types/codegen/cosmos/base/store/v1beta1/commit_info.d.ts +1 -1
- package/types/codegen/cosmos/base/store/v1beta1/listening.d.ts +0 -2
- package/types/codegen/cosmos/base/tendermint/v1beta1/query.d.ts +1 -9
- package/types/codegen/cosmos/bundle.d.ts +3223 -41279
- package/types/codegen/cosmos/capability/v1beta1/capability.d.ts +1 -1
- package/types/codegen/cosmos/capability/v1beta1/genesis.d.ts +1 -8
- package/types/codegen/cosmos/crisis/v1beta1/genesis.d.ts +0 -4
- package/types/codegen/cosmos/crisis/v1beta1/tx.amino.d.ts +3 -3
- package/types/codegen/cosmos/crypto/hd/v1/hd.d.ts +0 -8
- package/types/codegen/cosmos/crypto/keyring/v1/record.d.ts +0 -6
- package/types/codegen/cosmos/crypto/secp256r1/keys.d.ts +0 -5
- package/types/codegen/cosmos/distribution/v1beta1/genesis.d.ts +0 -28
- package/types/codegen/cosmos/distribution/v1beta1/query.d.ts +0 -21
- package/types/codegen/cosmos/distribution/v1beta1/tx.amino.d.ts +12 -12
- package/types/codegen/cosmos/evidence/v1beta1/evidence.d.ts +1 -1
- package/types/codegen/cosmos/evidence/v1beta1/genesis.d.ts +0 -1
- package/types/codegen/cosmos/evidence/v1beta1/query.d.ts +0 -5
- package/types/codegen/cosmos/evidence/v1beta1/tx.amino.d.ts +3 -3
- package/types/codegen/cosmos/evidence/v1beta1/tx.d.ts +0 -1
- package/types/codegen/cosmos/feegrant/v1beta1/feegrant.d.ts +0 -26
- package/types/codegen/cosmos/feegrant/v1beta1/query.d.ts +0 -9
- package/types/codegen/cosmos/feegrant/v1beta1/tx.amino.d.ts +6 -6
- package/types/codegen/cosmos/feegrant/v1beta1/tx.d.ts +0 -5
- package/types/codegen/cosmos/genutil/v1beta1/genesis.d.ts +0 -1
- package/types/codegen/cosmos/gov/v1/genesis.d.ts +1 -8
- package/types/codegen/cosmos/gov/v1/gov.d.ts +4 -69
- package/types/codegen/cosmos/gov/v1/query.d.ts +3 -31
- package/types/codegen/cosmos/gov/v1/tx.amino.d.ts +15 -15
- package/types/codegen/cosmos/gov/v1/tx.d.ts +2 -5
- package/types/codegen/cosmos/gov/v1beta1/genesis.d.ts +1 -8
- package/types/codegen/cosmos/gov/v1beta1/gov.d.ts +5 -74
- package/types/codegen/cosmos/gov/v1beta1/query.d.ts +3 -31
- package/types/codegen/cosmos/gov/v1beta1/tx.amino.d.ts +12 -12
- package/types/codegen/cosmos/gov/v1beta1/tx.d.ts +2 -2
- package/types/codegen/cosmos/group/v1/events.d.ts +3 -14
- package/types/codegen/cosmos/group/v1/genesis.d.ts +1 -18
- package/types/codegen/cosmos/group/v1/query.d.ts +1 -44
- package/types/codegen/cosmos/group/v1/tx.amino.d.ts +42 -42
- package/types/codegen/cosmos/group/v1/tx.d.ts +5 -85
- package/types/codegen/cosmos/group/v1/types.d.ts +8 -150
- package/types/codegen/cosmos/mint/v1beta1/genesis.d.ts +0 -2
- package/types/codegen/cosmos/mint/v1beta1/mint.d.ts +0 -8
- package/types/codegen/cosmos/mint/v1beta1/query.d.ts +0 -3
- package/types/codegen/cosmos/nft/v1beta1/genesis.d.ts +0 -3
- package/types/codegen/cosmos/nft/v1beta1/nft.d.ts +0 -12
- package/types/codegen/cosmos/nft/v1beta1/query.d.ts +0 -1
- package/types/codegen/cosmos/nft/v1beta1/tx.amino.d.ts +3 -3
- package/types/codegen/cosmos/nft/v1beta1/tx.d.ts +0 -4
- package/types/codegen/cosmos/orm/v1/orm.d.ts +0 -66
- package/types/codegen/cosmos/orm/v1alpha1/schema.d.ts +2 -62
- package/types/codegen/cosmos/params/v1beta1/query.d.ts +0 -3
- package/types/codegen/cosmos/slashing/v1beta1/genesis.d.ts +0 -15
- package/types/codegen/cosmos/slashing/v1beta1/query.d.ts +0 -3
- package/types/codegen/cosmos/slashing/v1beta1/slashing.d.ts +1 -16
- package/types/codegen/cosmos/slashing/v1beta1/tx.amino.d.ts +3 -3
- package/types/codegen/cosmos/staking/v1beta1/authz.d.ts +2 -27
- package/types/codegen/cosmos/staking/v1beta1/genesis.d.ts +0 -15
- package/types/codegen/cosmos/staking/v1beta1/query.d.ts +0 -41
- package/types/codegen/cosmos/staking/v1beta1/staking.d.ts +2 -58
- package/types/codegen/cosmos/staking/v1beta1/tx.amino.d.ts +15 -15
- package/types/codegen/cosmos/staking/v1beta1/tx.d.ts +0 -6
- package/types/codegen/cosmos/tx/signing/v1beta1/signing.d.ts +2 -57
- package/types/codegen/cosmos/tx/v1beta1/service.d.ts +4 -58
- package/types/codegen/cosmos/tx/v1beta1/tx.d.ts +3 -152
- package/types/codegen/cosmos/upgrade/v1beta1/query.d.ts +0 -14
- package/types/codegen/cosmos/upgrade/v1beta1/tx.amino.d.ts +6 -6
- package/types/codegen/cosmos/upgrade/v1beta1/tx.d.ts +0 -3
- package/types/codegen/cosmos/upgrade/v1beta1/upgrade.d.ts +1 -30
- package/types/codegen/cosmos/vesting/v1beta1/tx.amino.d.ts +9 -9
- package/types/codegen/cosmos/vesting/v1beta1/tx.d.ts +1 -1
- package/types/codegen/cosmos/vesting/v1beta1/vesting.d.ts +1 -1
- package/types/codegen/cosmos_proto/bundle.d.ts +12 -12
- package/types/codegen/cosmos_proto/cosmos.d.ts +2 -34
- package/types/codegen/google/api/http.d.ts +0 -55
- package/types/codegen/google/bundle.d.ts +284 -7810
- package/types/codegen/google/protobuf/any.d.ts +0 -30
- package/types/codegen/google/protobuf/descriptor.d.ts +12 -566
- package/types/codegen/google/protobuf/duration.d.ts +1 -14
- package/types/codegen/google/protobuf/timestamp.d.ts +1 -12
- package/types/codegen/helpers.d.ts +2 -2
- package/types/codegen/ibc/applications/transfer/v1/genesis.d.ts +20 -0
- package/types/codegen/ibc/applications/transfer/v1/query.d.ts +112 -0
- package/types/codegen/ibc/applications/transfer/v1/query.lcd.d.ts +11 -0
- package/types/codegen/ibc/applications/transfer/v1/query.rpc.Query.d.ts +24 -0
- package/types/codegen/ibc/applications/transfer/v1/transfer.d.ts +61 -0
- package/types/codegen/ibc/applications/transfer/v1/tx.amino.d.ts +25 -0
- package/types/codegen/ibc/applications/transfer/v1/tx.d.ts +61 -0
- package/types/codegen/ibc/applications/transfer/v1/tx.registry.d.ts +24 -0
- package/types/codegen/ibc/applications/transfer/v1/tx.rpc.msg.d.ts +12 -0
- package/types/codegen/ibc/applications/transfer/v2/packet.d.ts +33 -0
- package/types/codegen/ibc/bundle.d.ts +4077 -0
- package/types/codegen/ibc/client.d.ts +560 -0
- package/types/codegen/ibc/core/channel/v1/channel.d.ts +243 -0
- package/types/codegen/ibc/core/channel/v1/genesis.d.ts +54 -0
- package/types/codegen/ibc/core/channel/v1/query.d.ts +655 -0
- package/types/codegen/ibc/core/channel/v1/query.lcd.d.ts +21 -0
- package/types/codegen/ibc/core/channel/v1/query.rpc.Query.d.ts +88 -0
- package/types/codegen/ibc/core/channel/v1/tx.amino.d.ts +209 -0
- package/types/codegen/ibc/core/channel/v1/tx.d.ts +376 -0
- package/types/codegen/ibc/core/channel/v1/tx.registry.d.ts +132 -0
- package/types/codegen/ibc/core/channel/v1/tx.rpc.msg.d.ts +42 -0
- package/types/codegen/ibc/core/client/v1/client.d.ts +195 -0
- package/types/codegen/ibc/core/client/v1/genesis.d.ts +75 -0
- package/types/codegen/ibc/core/client/v1/query.d.ts +352 -0
- package/types/codegen/ibc/core/client/v1/query.lcd.d.ts +16 -0
- package/types/codegen/ibc/core/client/v1/query.rpc.Query.d.ts +50 -0
- package/types/codegen/ibc/core/client/v1/tx.amino.d.ts +77 -0
- package/types/codegen/ibc/core/client/v1/tx.d.ts +166 -0
- package/types/codegen/ibc/core/client/v1/tx.registry.d.ts +60 -0
- package/types/codegen/ibc/core/client/v1/tx.rpc.msg.d.ts +21 -0
- package/types/codegen/ibc/core/commitment/v1/commitment.d.ts +89 -0
- package/types/codegen/ibc/core/connection/v1/connection.d.ts +203 -0
- package/types/codegen/ibc/core/connection/v1/genesis.d.ts +23 -0
- package/types/codegen/ibc/core/connection/v1/query.d.ts +244 -0
- package/types/codegen/ibc/core/connection/v1/query.lcd.d.ts +13 -0
- package/types/codegen/ibc/core/connection/v1/query.rpc.Query.d.ts +41 -0
- package/types/codegen/ibc/core/connection/v1/tx.amino.d.ts +103 -0
- package/types/codegen/ibc/core/connection/v1/tx.d.ts +208 -0
- package/types/codegen/ibc/core/connection/v1/tx.registry.d.ts +60 -0
- package/types/codegen/ibc/core/connection/v1/tx.rpc.msg.d.ts +24 -0
- package/types/codegen/ibc/core/port/v1/query.d.ts +46 -0
- package/types/codegen/ibc/core/port/v1/query.rpc.Query.d.ts +16 -0
- package/types/codegen/ibc/core/types/v1/genesis.d.ts +28 -0
- package/types/codegen/ibc/lcd.d.ts +75 -0
- package/types/codegen/ibc/lightclients/localhost/v1/localhost.d.ts +26 -0
- package/types/codegen/ibc/lightclients/solomachine/v1/solomachine.d.ts +390 -0
- package/types/codegen/ibc/lightclients/solomachine/v2/solomachine.d.ts +390 -0
- package/types/codegen/ibc/lightclients/tendermint/v1/tendermint.d.ts +184 -0
- package/types/codegen/ibc/rpc.query.d.ts +243 -0
- package/types/codegen/ibc/rpc.tx.d.ts +65 -0
- package/types/codegen/ics23/bundle.d.ts +545 -0
- package/types/codegen/index.d.ts +5 -2
- package/types/codegen/tendermint/abci/types.d.ts +8 -78
- package/types/codegen/tendermint/bundle.d.ts +567 -18175
- package/types/codegen/tendermint/crypto/proof.d.ts +1 -3
- package/types/codegen/tendermint/libs/bits/types.d.ts +1 -1
- package/types/codegen/tendermint/p2p/types.d.ts +1 -1
- package/types/codegen/tendermint/types/params.d.ts +0 -32
- package/types/codegen/tendermint/types/types.d.ts +5 -36
- package/types/codegen/tendermint/types/validator.d.ts +1 -1
- package/types/codegen/tendermint/version/types.d.ts +1 -1
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { Rpc } from "../../../../helpers";
|
|
2
|
+
import { QueryClient } from "@cosmjs/stargate";
|
|
3
|
+
import { QueryConnectionRequest, QueryConnectionResponse, QueryConnectionsRequest, QueryConnectionsResponse, QueryClientConnectionsRequest, QueryClientConnectionsResponse, QueryConnectionClientStateRequest, QueryConnectionClientStateResponse, QueryConnectionConsensusStateRequest, QueryConnectionConsensusStateResponse } from "./query";
|
|
4
|
+
/** Query provides defines the gRPC querier service */
|
|
5
|
+
export interface Query {
|
|
6
|
+
/** Connection queries an IBC connection end. */
|
|
7
|
+
connection(request: QueryConnectionRequest): Promise<QueryConnectionResponse>;
|
|
8
|
+
/** Connections queries all the IBC connections of a chain. */
|
|
9
|
+
connections(request?: QueryConnectionsRequest): Promise<QueryConnectionsResponse>;
|
|
10
|
+
/**
|
|
11
|
+
* ClientConnections queries the connection paths associated with a client
|
|
12
|
+
* state.
|
|
13
|
+
*/
|
|
14
|
+
clientConnections(request: QueryClientConnectionsRequest): Promise<QueryClientConnectionsResponse>;
|
|
15
|
+
/**
|
|
16
|
+
* ConnectionClientState queries the client state associated with the
|
|
17
|
+
* connection.
|
|
18
|
+
*/
|
|
19
|
+
connectionClientState(request: QueryConnectionClientStateRequest): Promise<QueryConnectionClientStateResponse>;
|
|
20
|
+
/**
|
|
21
|
+
* ConnectionConsensusState queries the consensus state associated with the
|
|
22
|
+
* connection.
|
|
23
|
+
*/
|
|
24
|
+
connectionConsensusState(request: QueryConnectionConsensusStateRequest): Promise<QueryConnectionConsensusStateResponse>;
|
|
25
|
+
}
|
|
26
|
+
export declare class QueryClientImpl implements Query {
|
|
27
|
+
private readonly rpc;
|
|
28
|
+
constructor(rpc: Rpc);
|
|
29
|
+
connection(request: QueryConnectionRequest): Promise<QueryConnectionResponse>;
|
|
30
|
+
connections(request?: QueryConnectionsRequest): Promise<QueryConnectionsResponse>;
|
|
31
|
+
clientConnections(request: QueryClientConnectionsRequest): Promise<QueryClientConnectionsResponse>;
|
|
32
|
+
connectionClientState(request: QueryConnectionClientStateRequest): Promise<QueryConnectionClientStateResponse>;
|
|
33
|
+
connectionConsensusState(request: QueryConnectionConsensusStateRequest): Promise<QueryConnectionConsensusStateResponse>;
|
|
34
|
+
}
|
|
35
|
+
export declare const createRpcQueryExtension: (base: QueryClient) => {
|
|
36
|
+
connection(request: QueryConnectionRequest): Promise<QueryConnectionResponse>;
|
|
37
|
+
connections(request?: QueryConnectionsRequest): Promise<QueryConnectionsResponse>;
|
|
38
|
+
clientConnections(request: QueryClientConnectionsRequest): Promise<QueryClientConnectionsResponse>;
|
|
39
|
+
connectionClientState(request: QueryConnectionClientStateRequest): Promise<QueryConnectionClientStateResponse>;
|
|
40
|
+
connectionConsensusState(request: QueryConnectionConsensusStateRequest): Promise<QueryConnectionConsensusStateResponse>;
|
|
41
|
+
};
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import { AminoMsg } from "@cosmjs/amino";
|
|
2
|
+
import { AminoHeight } from "../../../../helpers";
|
|
3
|
+
import { MsgConnectionOpenInit, MsgConnectionOpenTry, MsgConnectionOpenAck, MsgConnectionOpenConfirm } from "./tx";
|
|
4
|
+
export interface MsgConnectionOpenInitAminoType extends AminoMsg {
|
|
5
|
+
type: "cosmos-sdk/MsgConnectionOpenInit";
|
|
6
|
+
value: {
|
|
7
|
+
client_id: string;
|
|
8
|
+
counterparty: {
|
|
9
|
+
client_id: string;
|
|
10
|
+
connection_id: string;
|
|
11
|
+
prefix: {
|
|
12
|
+
key_prefix: Uint8Array;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
version: {
|
|
16
|
+
identifier: string;
|
|
17
|
+
features: string[];
|
|
18
|
+
};
|
|
19
|
+
delay_period: string;
|
|
20
|
+
signer: string;
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
export interface MsgConnectionOpenTryAminoType extends AminoMsg {
|
|
24
|
+
type: "cosmos-sdk/MsgConnectionOpenTry";
|
|
25
|
+
value: {
|
|
26
|
+
client_id: string;
|
|
27
|
+
previous_connection_id: string;
|
|
28
|
+
client_state: {
|
|
29
|
+
type_url: string;
|
|
30
|
+
value: Uint8Array;
|
|
31
|
+
};
|
|
32
|
+
counterparty: {
|
|
33
|
+
client_id: string;
|
|
34
|
+
connection_id: string;
|
|
35
|
+
prefix: {
|
|
36
|
+
key_prefix: Uint8Array;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
delay_period: string;
|
|
40
|
+
counterparty_versions: {
|
|
41
|
+
identifier: string;
|
|
42
|
+
features: string[];
|
|
43
|
+
}[];
|
|
44
|
+
proof_height: AminoHeight;
|
|
45
|
+
proof_init: Uint8Array;
|
|
46
|
+
proof_client: Uint8Array;
|
|
47
|
+
proof_consensus: Uint8Array;
|
|
48
|
+
consensus_height: AminoHeight;
|
|
49
|
+
signer: string;
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
export interface MsgConnectionOpenAckAminoType extends AminoMsg {
|
|
53
|
+
type: "cosmos-sdk/MsgConnectionOpenAck";
|
|
54
|
+
value: {
|
|
55
|
+
connection_id: string;
|
|
56
|
+
counterparty_connection_id: string;
|
|
57
|
+
version: {
|
|
58
|
+
identifier: string;
|
|
59
|
+
features: string[];
|
|
60
|
+
};
|
|
61
|
+
client_state: {
|
|
62
|
+
type_url: string;
|
|
63
|
+
value: Uint8Array;
|
|
64
|
+
};
|
|
65
|
+
proof_height: AminoHeight;
|
|
66
|
+
proof_try: Uint8Array;
|
|
67
|
+
proof_client: Uint8Array;
|
|
68
|
+
proof_consensus: Uint8Array;
|
|
69
|
+
consensus_height: AminoHeight;
|
|
70
|
+
signer: string;
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
export interface MsgConnectionOpenConfirmAminoType extends AminoMsg {
|
|
74
|
+
type: "cosmos-sdk/MsgConnectionOpenConfirm";
|
|
75
|
+
value: {
|
|
76
|
+
connection_id: string;
|
|
77
|
+
proof_ack: Uint8Array;
|
|
78
|
+
proof_height: AminoHeight;
|
|
79
|
+
signer: string;
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
export declare const AminoConverter: {
|
|
83
|
+
"/ibc.core.connection.v1.MsgConnectionOpenInit": {
|
|
84
|
+
aminoType: string;
|
|
85
|
+
toAmino: ({ clientId, counterparty, version, delayPeriod, signer }: MsgConnectionOpenInit) => MsgConnectionOpenInitAminoType["value"];
|
|
86
|
+
fromAmino: ({ client_id, counterparty, version, delay_period, signer }: MsgConnectionOpenInitAminoType["value"]) => MsgConnectionOpenInit;
|
|
87
|
+
};
|
|
88
|
+
"/ibc.core.connection.v1.MsgConnectionOpenTry": {
|
|
89
|
+
aminoType: string;
|
|
90
|
+
toAmino: ({ clientId, previousConnectionId, clientState, counterparty, delayPeriod, counterpartyVersions, proofHeight, proofInit, proofClient, proofConsensus, consensusHeight, signer }: MsgConnectionOpenTry) => MsgConnectionOpenTryAminoType["value"];
|
|
91
|
+
fromAmino: ({ client_id, previous_connection_id, client_state, counterparty, delay_period, counterparty_versions, proof_height, proof_init, proof_client, proof_consensus, consensus_height, signer }: MsgConnectionOpenTryAminoType["value"]) => MsgConnectionOpenTry;
|
|
92
|
+
};
|
|
93
|
+
"/ibc.core.connection.v1.MsgConnectionOpenAck": {
|
|
94
|
+
aminoType: string;
|
|
95
|
+
toAmino: ({ connectionId, counterpartyConnectionId, version, clientState, proofHeight, proofTry, proofClient, proofConsensus, consensusHeight, signer }: MsgConnectionOpenAck) => MsgConnectionOpenAckAminoType["value"];
|
|
96
|
+
fromAmino: ({ connection_id, counterparty_connection_id, version, client_state, proof_height, proof_try, proof_client, proof_consensus, consensus_height, signer }: MsgConnectionOpenAckAminoType["value"]) => MsgConnectionOpenAck;
|
|
97
|
+
};
|
|
98
|
+
"/ibc.core.connection.v1.MsgConnectionOpenConfirm": {
|
|
99
|
+
aminoType: string;
|
|
100
|
+
toAmino: ({ connectionId, proofAck, proofHeight, signer }: MsgConnectionOpenConfirm) => MsgConnectionOpenConfirmAminoType["value"];
|
|
101
|
+
fromAmino: ({ connection_id, proof_ack, proof_height, signer }: MsgConnectionOpenConfirmAminoType["value"]) => MsgConnectionOpenConfirm;
|
|
102
|
+
};
|
|
103
|
+
};
|
|
@@ -0,0 +1,208 @@
|
|
|
1
|
+
import { Counterparty, CounterpartySDKType, Version, VersionSDKType } from "./connection";
|
|
2
|
+
import { Any, AnySDKType } from "../../../../google/protobuf/any";
|
|
3
|
+
import { Height, HeightSDKType } from "../../client/v1/client";
|
|
4
|
+
import { Long, DeepPartial } from "../../../../helpers";
|
|
5
|
+
import * as _m0 from "protobufjs/minimal";
|
|
6
|
+
/**
|
|
7
|
+
* MsgConnectionOpenInit defines the msg sent by an account on Chain A to
|
|
8
|
+
* initialize a connection with Chain B.
|
|
9
|
+
*/
|
|
10
|
+
export interface MsgConnectionOpenInit {
|
|
11
|
+
clientId: string;
|
|
12
|
+
counterparty?: Counterparty;
|
|
13
|
+
version?: Version;
|
|
14
|
+
delayPeriod: Long;
|
|
15
|
+
signer: string;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* MsgConnectionOpenInit defines the msg sent by an account on Chain A to
|
|
19
|
+
* initialize a connection with Chain B.
|
|
20
|
+
*/
|
|
21
|
+
export interface MsgConnectionOpenInitSDKType {
|
|
22
|
+
client_id: string;
|
|
23
|
+
counterparty?: CounterpartySDKType;
|
|
24
|
+
version?: VersionSDKType;
|
|
25
|
+
delay_period: Long;
|
|
26
|
+
signer: string;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* MsgConnectionOpenInitResponse defines the Msg/ConnectionOpenInit response
|
|
30
|
+
* type.
|
|
31
|
+
*/
|
|
32
|
+
export interface MsgConnectionOpenInitResponse {
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* MsgConnectionOpenInitResponse defines the Msg/ConnectionOpenInit response
|
|
36
|
+
* type.
|
|
37
|
+
*/
|
|
38
|
+
export interface MsgConnectionOpenInitResponseSDKType {
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* MsgConnectionOpenTry defines a msg sent by a Relayer to try to open a
|
|
42
|
+
* connection on Chain B.
|
|
43
|
+
*/
|
|
44
|
+
export interface MsgConnectionOpenTry {
|
|
45
|
+
clientId: string;
|
|
46
|
+
/**
|
|
47
|
+
* in the case of crossing hello's, when both chains call OpenInit, we need
|
|
48
|
+
* the connection identifier of the previous connection in state INIT
|
|
49
|
+
*/
|
|
50
|
+
previousConnectionId: string;
|
|
51
|
+
clientState?: Any;
|
|
52
|
+
counterparty?: Counterparty;
|
|
53
|
+
delayPeriod: Long;
|
|
54
|
+
counterpartyVersions: Version[];
|
|
55
|
+
proofHeight?: Height;
|
|
56
|
+
/**
|
|
57
|
+
* proof of the initialization the connection on Chain A: `UNITIALIZED ->
|
|
58
|
+
* INIT`
|
|
59
|
+
*/
|
|
60
|
+
proofInit: Uint8Array;
|
|
61
|
+
/** proof of client state included in message */
|
|
62
|
+
proofClient: Uint8Array;
|
|
63
|
+
/** proof of client consensus state */
|
|
64
|
+
proofConsensus: Uint8Array;
|
|
65
|
+
consensusHeight?: Height;
|
|
66
|
+
signer: string;
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* MsgConnectionOpenTry defines a msg sent by a Relayer to try to open a
|
|
70
|
+
* connection on Chain B.
|
|
71
|
+
*/
|
|
72
|
+
export interface MsgConnectionOpenTrySDKType {
|
|
73
|
+
client_id: string;
|
|
74
|
+
previous_connection_id: string;
|
|
75
|
+
client_state?: AnySDKType;
|
|
76
|
+
counterparty?: CounterpartySDKType;
|
|
77
|
+
delay_period: Long;
|
|
78
|
+
counterparty_versions: VersionSDKType[];
|
|
79
|
+
proof_height?: HeightSDKType;
|
|
80
|
+
proof_init: Uint8Array;
|
|
81
|
+
proof_client: Uint8Array;
|
|
82
|
+
proof_consensus: Uint8Array;
|
|
83
|
+
consensus_height?: HeightSDKType;
|
|
84
|
+
signer: string;
|
|
85
|
+
}
|
|
86
|
+
/** MsgConnectionOpenTryResponse defines the Msg/ConnectionOpenTry response type. */
|
|
87
|
+
export interface MsgConnectionOpenTryResponse {
|
|
88
|
+
}
|
|
89
|
+
/** MsgConnectionOpenTryResponse defines the Msg/ConnectionOpenTry response type. */
|
|
90
|
+
export interface MsgConnectionOpenTryResponseSDKType {
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* MsgConnectionOpenAck defines a msg sent by a Relayer to Chain A to
|
|
94
|
+
* acknowledge the change of connection state to TRYOPEN on Chain B.
|
|
95
|
+
*/
|
|
96
|
+
export interface MsgConnectionOpenAck {
|
|
97
|
+
connectionId: string;
|
|
98
|
+
counterpartyConnectionId: string;
|
|
99
|
+
version?: Version;
|
|
100
|
+
clientState?: Any;
|
|
101
|
+
proofHeight?: Height;
|
|
102
|
+
/**
|
|
103
|
+
* proof of the initialization the connection on Chain B: `UNITIALIZED ->
|
|
104
|
+
* TRYOPEN`
|
|
105
|
+
*/
|
|
106
|
+
proofTry: Uint8Array;
|
|
107
|
+
/** proof of client state included in message */
|
|
108
|
+
proofClient: Uint8Array;
|
|
109
|
+
/** proof of client consensus state */
|
|
110
|
+
proofConsensus: Uint8Array;
|
|
111
|
+
consensusHeight?: Height;
|
|
112
|
+
signer: string;
|
|
113
|
+
}
|
|
114
|
+
/**
|
|
115
|
+
* MsgConnectionOpenAck defines a msg sent by a Relayer to Chain A to
|
|
116
|
+
* acknowledge the change of connection state to TRYOPEN on Chain B.
|
|
117
|
+
*/
|
|
118
|
+
export interface MsgConnectionOpenAckSDKType {
|
|
119
|
+
connection_id: string;
|
|
120
|
+
counterparty_connection_id: string;
|
|
121
|
+
version?: VersionSDKType;
|
|
122
|
+
client_state?: AnySDKType;
|
|
123
|
+
proof_height?: HeightSDKType;
|
|
124
|
+
proof_try: Uint8Array;
|
|
125
|
+
proof_client: Uint8Array;
|
|
126
|
+
proof_consensus: Uint8Array;
|
|
127
|
+
consensus_height?: HeightSDKType;
|
|
128
|
+
signer: string;
|
|
129
|
+
}
|
|
130
|
+
/** MsgConnectionOpenAckResponse defines the Msg/ConnectionOpenAck response type. */
|
|
131
|
+
export interface MsgConnectionOpenAckResponse {
|
|
132
|
+
}
|
|
133
|
+
/** MsgConnectionOpenAckResponse defines the Msg/ConnectionOpenAck response type. */
|
|
134
|
+
export interface MsgConnectionOpenAckResponseSDKType {
|
|
135
|
+
}
|
|
136
|
+
/**
|
|
137
|
+
* MsgConnectionOpenConfirm defines a msg sent by a Relayer to Chain B to
|
|
138
|
+
* acknowledge the change of connection state to OPEN on Chain A.
|
|
139
|
+
*/
|
|
140
|
+
export interface MsgConnectionOpenConfirm {
|
|
141
|
+
connectionId: string;
|
|
142
|
+
/** proof for the change of the connection state on Chain A: `INIT -> OPEN` */
|
|
143
|
+
proofAck: Uint8Array;
|
|
144
|
+
proofHeight?: Height;
|
|
145
|
+
signer: string;
|
|
146
|
+
}
|
|
147
|
+
/**
|
|
148
|
+
* MsgConnectionOpenConfirm defines a msg sent by a Relayer to Chain B to
|
|
149
|
+
* acknowledge the change of connection state to OPEN on Chain A.
|
|
150
|
+
*/
|
|
151
|
+
export interface MsgConnectionOpenConfirmSDKType {
|
|
152
|
+
connection_id: string;
|
|
153
|
+
proof_ack: Uint8Array;
|
|
154
|
+
proof_height?: HeightSDKType;
|
|
155
|
+
signer: string;
|
|
156
|
+
}
|
|
157
|
+
/**
|
|
158
|
+
* MsgConnectionOpenConfirmResponse defines the Msg/ConnectionOpenConfirm
|
|
159
|
+
* response type.
|
|
160
|
+
*/
|
|
161
|
+
export interface MsgConnectionOpenConfirmResponse {
|
|
162
|
+
}
|
|
163
|
+
/**
|
|
164
|
+
* MsgConnectionOpenConfirmResponse defines the Msg/ConnectionOpenConfirm
|
|
165
|
+
* response type.
|
|
166
|
+
*/
|
|
167
|
+
export interface MsgConnectionOpenConfirmResponseSDKType {
|
|
168
|
+
}
|
|
169
|
+
export declare const MsgConnectionOpenInit: {
|
|
170
|
+
encode(message: MsgConnectionOpenInit, writer?: _m0.Writer): _m0.Writer;
|
|
171
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgConnectionOpenInit;
|
|
172
|
+
fromPartial(object: DeepPartial<MsgConnectionOpenInit>): MsgConnectionOpenInit;
|
|
173
|
+
};
|
|
174
|
+
export declare const MsgConnectionOpenInitResponse: {
|
|
175
|
+
encode(_: MsgConnectionOpenInitResponse, writer?: _m0.Writer): _m0.Writer;
|
|
176
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgConnectionOpenInitResponse;
|
|
177
|
+
fromPartial(_: DeepPartial<MsgConnectionOpenInitResponse>): MsgConnectionOpenInitResponse;
|
|
178
|
+
};
|
|
179
|
+
export declare const MsgConnectionOpenTry: {
|
|
180
|
+
encode(message: MsgConnectionOpenTry, writer?: _m0.Writer): _m0.Writer;
|
|
181
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgConnectionOpenTry;
|
|
182
|
+
fromPartial(object: DeepPartial<MsgConnectionOpenTry>): MsgConnectionOpenTry;
|
|
183
|
+
};
|
|
184
|
+
export declare const MsgConnectionOpenTryResponse: {
|
|
185
|
+
encode(_: MsgConnectionOpenTryResponse, writer?: _m0.Writer): _m0.Writer;
|
|
186
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgConnectionOpenTryResponse;
|
|
187
|
+
fromPartial(_: DeepPartial<MsgConnectionOpenTryResponse>): MsgConnectionOpenTryResponse;
|
|
188
|
+
};
|
|
189
|
+
export declare const MsgConnectionOpenAck: {
|
|
190
|
+
encode(message: MsgConnectionOpenAck, writer?: _m0.Writer): _m0.Writer;
|
|
191
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgConnectionOpenAck;
|
|
192
|
+
fromPartial(object: DeepPartial<MsgConnectionOpenAck>): MsgConnectionOpenAck;
|
|
193
|
+
};
|
|
194
|
+
export declare const MsgConnectionOpenAckResponse: {
|
|
195
|
+
encode(_: MsgConnectionOpenAckResponse, writer?: _m0.Writer): _m0.Writer;
|
|
196
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgConnectionOpenAckResponse;
|
|
197
|
+
fromPartial(_: DeepPartial<MsgConnectionOpenAckResponse>): MsgConnectionOpenAckResponse;
|
|
198
|
+
};
|
|
199
|
+
export declare const MsgConnectionOpenConfirm: {
|
|
200
|
+
encode(message: MsgConnectionOpenConfirm, writer?: _m0.Writer): _m0.Writer;
|
|
201
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgConnectionOpenConfirm;
|
|
202
|
+
fromPartial(object: DeepPartial<MsgConnectionOpenConfirm>): MsgConnectionOpenConfirm;
|
|
203
|
+
};
|
|
204
|
+
export declare const MsgConnectionOpenConfirmResponse: {
|
|
205
|
+
encode(_: MsgConnectionOpenConfirmResponse, writer?: _m0.Writer): _m0.Writer;
|
|
206
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgConnectionOpenConfirmResponse;
|
|
207
|
+
fromPartial(_: DeepPartial<MsgConnectionOpenConfirmResponse>): MsgConnectionOpenConfirmResponse;
|
|
208
|
+
};
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { GeneratedType, Registry } from "@cosmjs/proto-signing";
|
|
2
|
+
import { MsgConnectionOpenInit, MsgConnectionOpenTry, MsgConnectionOpenAck, MsgConnectionOpenConfirm } from "./tx";
|
|
3
|
+
export declare const registry: ReadonlyArray<[string, GeneratedType]>;
|
|
4
|
+
export declare const load: (protoRegistry: Registry) => void;
|
|
5
|
+
export declare const MessageComposer: {
|
|
6
|
+
encoded: {
|
|
7
|
+
connectionOpenInit(value: MsgConnectionOpenInit): {
|
|
8
|
+
typeUrl: string;
|
|
9
|
+
value: Uint8Array;
|
|
10
|
+
};
|
|
11
|
+
connectionOpenTry(value: MsgConnectionOpenTry): {
|
|
12
|
+
typeUrl: string;
|
|
13
|
+
value: Uint8Array;
|
|
14
|
+
};
|
|
15
|
+
connectionOpenAck(value: MsgConnectionOpenAck): {
|
|
16
|
+
typeUrl: string;
|
|
17
|
+
value: Uint8Array;
|
|
18
|
+
};
|
|
19
|
+
connectionOpenConfirm(value: MsgConnectionOpenConfirm): {
|
|
20
|
+
typeUrl: string;
|
|
21
|
+
value: Uint8Array;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
withTypeUrl: {
|
|
25
|
+
connectionOpenInit(value: MsgConnectionOpenInit): {
|
|
26
|
+
typeUrl: string;
|
|
27
|
+
value: MsgConnectionOpenInit;
|
|
28
|
+
};
|
|
29
|
+
connectionOpenTry(value: MsgConnectionOpenTry): {
|
|
30
|
+
typeUrl: string;
|
|
31
|
+
value: MsgConnectionOpenTry;
|
|
32
|
+
};
|
|
33
|
+
connectionOpenAck(value: MsgConnectionOpenAck): {
|
|
34
|
+
typeUrl: string;
|
|
35
|
+
value: MsgConnectionOpenAck;
|
|
36
|
+
};
|
|
37
|
+
connectionOpenConfirm(value: MsgConnectionOpenConfirm): {
|
|
38
|
+
typeUrl: string;
|
|
39
|
+
value: MsgConnectionOpenConfirm;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
fromPartial: {
|
|
43
|
+
connectionOpenInit(value: MsgConnectionOpenInit): {
|
|
44
|
+
typeUrl: string;
|
|
45
|
+
value: MsgConnectionOpenInit;
|
|
46
|
+
};
|
|
47
|
+
connectionOpenTry(value: MsgConnectionOpenTry): {
|
|
48
|
+
typeUrl: string;
|
|
49
|
+
value: MsgConnectionOpenTry;
|
|
50
|
+
};
|
|
51
|
+
connectionOpenAck(value: MsgConnectionOpenAck): {
|
|
52
|
+
typeUrl: string;
|
|
53
|
+
value: MsgConnectionOpenAck;
|
|
54
|
+
};
|
|
55
|
+
connectionOpenConfirm(value: MsgConnectionOpenConfirm): {
|
|
56
|
+
typeUrl: string;
|
|
57
|
+
value: MsgConnectionOpenConfirm;
|
|
58
|
+
};
|
|
59
|
+
};
|
|
60
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { Rpc } from "../../../../helpers";
|
|
2
|
+
import { MsgConnectionOpenInit, MsgConnectionOpenInitResponse, MsgConnectionOpenTry, MsgConnectionOpenTryResponse, MsgConnectionOpenAck, MsgConnectionOpenAckResponse, MsgConnectionOpenConfirm, MsgConnectionOpenConfirmResponse } from "./tx";
|
|
3
|
+
/** Msg defines the ibc/connection Msg service. */
|
|
4
|
+
export interface Msg {
|
|
5
|
+
/** ConnectionOpenInit defines a rpc handler method for MsgConnectionOpenInit. */
|
|
6
|
+
connectionOpenInit(request: MsgConnectionOpenInit): Promise<MsgConnectionOpenInitResponse>;
|
|
7
|
+
/** ConnectionOpenTry defines a rpc handler method for MsgConnectionOpenTry. */
|
|
8
|
+
connectionOpenTry(request: MsgConnectionOpenTry): Promise<MsgConnectionOpenTryResponse>;
|
|
9
|
+
/** ConnectionOpenAck defines a rpc handler method for MsgConnectionOpenAck. */
|
|
10
|
+
connectionOpenAck(request: MsgConnectionOpenAck): Promise<MsgConnectionOpenAckResponse>;
|
|
11
|
+
/**
|
|
12
|
+
* ConnectionOpenConfirm defines a rpc handler method for
|
|
13
|
+
* MsgConnectionOpenConfirm.
|
|
14
|
+
*/
|
|
15
|
+
connectionOpenConfirm(request: MsgConnectionOpenConfirm): Promise<MsgConnectionOpenConfirmResponse>;
|
|
16
|
+
}
|
|
17
|
+
export declare class MsgClientImpl implements Msg {
|
|
18
|
+
private readonly rpc;
|
|
19
|
+
constructor(rpc: Rpc);
|
|
20
|
+
connectionOpenInit(request: MsgConnectionOpenInit): Promise<MsgConnectionOpenInitResponse>;
|
|
21
|
+
connectionOpenTry(request: MsgConnectionOpenTry): Promise<MsgConnectionOpenTryResponse>;
|
|
22
|
+
connectionOpenAck(request: MsgConnectionOpenAck): Promise<MsgConnectionOpenAckResponse>;
|
|
23
|
+
connectionOpenConfirm(request: MsgConnectionOpenConfirm): Promise<MsgConnectionOpenConfirmResponse>;
|
|
24
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { Order, Counterparty, CounterpartySDKType } from "../../channel/v1/channel";
|
|
2
|
+
import * as _m0 from "protobufjs/minimal";
|
|
3
|
+
import { DeepPartial } from "../../../../helpers";
|
|
4
|
+
/** QueryAppVersionRequest is the request type for the Query/AppVersion RPC method */
|
|
5
|
+
export interface QueryAppVersionRequest {
|
|
6
|
+
/** port unique identifier */
|
|
7
|
+
portId: string;
|
|
8
|
+
/** connection unique identifier */
|
|
9
|
+
connectionId: string;
|
|
10
|
+
/** whether the channel is ordered or unordered */
|
|
11
|
+
ordering: Order;
|
|
12
|
+
/** counterparty channel end */
|
|
13
|
+
counterparty?: Counterparty;
|
|
14
|
+
/** proposed version */
|
|
15
|
+
proposedVersion: string;
|
|
16
|
+
}
|
|
17
|
+
/** QueryAppVersionRequest is the request type for the Query/AppVersion RPC method */
|
|
18
|
+
export interface QueryAppVersionRequestSDKType {
|
|
19
|
+
port_id: string;
|
|
20
|
+
connection_id: string;
|
|
21
|
+
ordering: Order;
|
|
22
|
+
counterparty?: CounterpartySDKType;
|
|
23
|
+
proposed_version: string;
|
|
24
|
+
}
|
|
25
|
+
/** QueryAppVersionResponse is the response type for the Query/AppVersion RPC method. */
|
|
26
|
+
export interface QueryAppVersionResponse {
|
|
27
|
+
/** port id associated with the request identifiers */
|
|
28
|
+
portId: string;
|
|
29
|
+
/** supported app version */
|
|
30
|
+
version: string;
|
|
31
|
+
}
|
|
32
|
+
/** QueryAppVersionResponse is the response type for the Query/AppVersion RPC method. */
|
|
33
|
+
export interface QueryAppVersionResponseSDKType {
|
|
34
|
+
port_id: string;
|
|
35
|
+
version: string;
|
|
36
|
+
}
|
|
37
|
+
export declare const QueryAppVersionRequest: {
|
|
38
|
+
encode(message: QueryAppVersionRequest, writer?: _m0.Writer): _m0.Writer;
|
|
39
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryAppVersionRequest;
|
|
40
|
+
fromPartial(object: DeepPartial<QueryAppVersionRequest>): QueryAppVersionRequest;
|
|
41
|
+
};
|
|
42
|
+
export declare const QueryAppVersionResponse: {
|
|
43
|
+
encode(message: QueryAppVersionResponse, writer?: _m0.Writer): _m0.Writer;
|
|
44
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryAppVersionResponse;
|
|
45
|
+
fromPartial(object: DeepPartial<QueryAppVersionResponse>): QueryAppVersionResponse;
|
|
46
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Rpc } from "../../../../helpers";
|
|
2
|
+
import { QueryClient } from "@cosmjs/stargate";
|
|
3
|
+
import { QueryAppVersionRequest, QueryAppVersionResponse } from "./query";
|
|
4
|
+
/** Query defines the gRPC querier service */
|
|
5
|
+
export interface Query {
|
|
6
|
+
/** AppVersion queries an IBC Port and determines the appropriate application version to be used */
|
|
7
|
+
appVersion(request: QueryAppVersionRequest): Promise<QueryAppVersionResponse>;
|
|
8
|
+
}
|
|
9
|
+
export declare class QueryClientImpl implements Query {
|
|
10
|
+
private readonly rpc;
|
|
11
|
+
constructor(rpc: Rpc);
|
|
12
|
+
appVersion(request: QueryAppVersionRequest): Promise<QueryAppVersionResponse>;
|
|
13
|
+
}
|
|
14
|
+
export declare const createRpcQueryExtension: (base: QueryClient) => {
|
|
15
|
+
appVersion(request: QueryAppVersionRequest): Promise<QueryAppVersionResponse>;
|
|
16
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { GenesisState as GenesisState1 } from "../../client/v1/genesis";
|
|
2
|
+
import { GenesisStateSDKType as GenesisState1SDKType } from "../../client/v1/genesis";
|
|
3
|
+
import { GenesisState as GenesisState2 } from "../../connection/v1/genesis";
|
|
4
|
+
import { GenesisStateSDKType as GenesisState2SDKType } from "../../connection/v1/genesis";
|
|
5
|
+
import { GenesisState as GenesisState3 } from "../../channel/v1/genesis";
|
|
6
|
+
import { GenesisStateSDKType as GenesisState3SDKType } from "../../channel/v1/genesis";
|
|
7
|
+
import * as _m0 from "protobufjs/minimal";
|
|
8
|
+
import { DeepPartial } from "../../../../helpers";
|
|
9
|
+
/** GenesisState defines the ibc module's genesis state. */
|
|
10
|
+
export interface GenesisState {
|
|
11
|
+
/** ICS002 - Clients genesis state */
|
|
12
|
+
clientGenesis?: GenesisState1;
|
|
13
|
+
/** ICS003 - Connections genesis state */
|
|
14
|
+
connectionGenesis?: GenesisState2;
|
|
15
|
+
/** ICS004 - Channel genesis state */
|
|
16
|
+
channelGenesis?: GenesisState3;
|
|
17
|
+
}
|
|
18
|
+
/** GenesisState defines the ibc module's genesis state. */
|
|
19
|
+
export interface GenesisStateSDKType {
|
|
20
|
+
client_genesis?: GenesisState1SDKType;
|
|
21
|
+
connection_genesis?: GenesisState2SDKType;
|
|
22
|
+
channel_genesis?: GenesisState3SDKType;
|
|
23
|
+
}
|
|
24
|
+
export declare const GenesisState: {
|
|
25
|
+
encode(message: GenesisState, writer?: _m0.Writer): _m0.Writer;
|
|
26
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState;
|
|
27
|
+
fromPartial(object: DeepPartial<GenesisState>): GenesisState;
|
|
28
|
+
};
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
export declare const createLCDClient: ({ restEndpoint }: {
|
|
2
|
+
restEndpoint: string;
|
|
3
|
+
}) => Promise<{
|
|
4
|
+
cosmos: {
|
|
5
|
+
auth: {
|
|
6
|
+
v1beta1: import("../cosmos/auth/v1beta1/query.lcd").LCDQueryClient;
|
|
7
|
+
};
|
|
8
|
+
authz: {
|
|
9
|
+
v1beta1: import("../cosmos/authz/v1beta1/query.lcd").LCDQueryClient;
|
|
10
|
+
};
|
|
11
|
+
bank: {
|
|
12
|
+
v1beta1: import("../cosmos/bank/v1beta1/query.lcd").LCDQueryClient;
|
|
13
|
+
};
|
|
14
|
+
base: {
|
|
15
|
+
tendermint: {
|
|
16
|
+
v1beta1: import("../cosmos/base/tendermint/v1beta1/query.lcd").LCDQueryClient;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
distribution: {
|
|
20
|
+
v1beta1: import("../cosmos/distribution/v1beta1/query.lcd").LCDQueryClient;
|
|
21
|
+
};
|
|
22
|
+
evidence: {
|
|
23
|
+
v1beta1: import("../cosmos/evidence/v1beta1/query.lcd").LCDQueryClient;
|
|
24
|
+
};
|
|
25
|
+
feegrant: {
|
|
26
|
+
v1beta1: import("../cosmos/feegrant/v1beta1/query.lcd").LCDQueryClient;
|
|
27
|
+
};
|
|
28
|
+
gov: {
|
|
29
|
+
v1: import("../cosmos/gov/v1/query.lcd").LCDQueryClient;
|
|
30
|
+
v1beta1: import("../cosmos/gov/v1beta1/query.lcd").LCDQueryClient;
|
|
31
|
+
};
|
|
32
|
+
group: {
|
|
33
|
+
v1: import("../cosmos/group/v1/query.lcd").LCDQueryClient;
|
|
34
|
+
};
|
|
35
|
+
mint: {
|
|
36
|
+
v1beta1: import("../cosmos/mint/v1beta1/query.lcd").LCDQueryClient;
|
|
37
|
+
};
|
|
38
|
+
nft: {
|
|
39
|
+
v1beta1: import("../cosmos/nft/v1beta1/query.lcd").LCDQueryClient;
|
|
40
|
+
};
|
|
41
|
+
params: {
|
|
42
|
+
v1beta1: import("../cosmos/params/v1beta1/query.lcd").LCDQueryClient;
|
|
43
|
+
};
|
|
44
|
+
slashing: {
|
|
45
|
+
v1beta1: import("../cosmos/slashing/v1beta1/query.lcd").LCDQueryClient;
|
|
46
|
+
};
|
|
47
|
+
staking: {
|
|
48
|
+
v1beta1: import("../cosmos/staking/v1beta1/query.lcd").LCDQueryClient;
|
|
49
|
+
};
|
|
50
|
+
tx: {
|
|
51
|
+
v1beta1: import("../cosmos/tx/v1beta1/service.lcd").LCDQueryClient;
|
|
52
|
+
};
|
|
53
|
+
upgrade: {
|
|
54
|
+
v1beta1: import("../cosmos/upgrade/v1beta1/query.lcd").LCDQueryClient;
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
ibc: {
|
|
58
|
+
applications: {
|
|
59
|
+
transfer: {
|
|
60
|
+
v1: import("./applications/transfer/v1/query.lcd").LCDQueryClient;
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
core: {
|
|
64
|
+
channel: {
|
|
65
|
+
v1: import("./core/channel/v1/query.lcd").LCDQueryClient;
|
|
66
|
+
};
|
|
67
|
+
client: {
|
|
68
|
+
v1: import("./core/client/v1/query.lcd").LCDQueryClient;
|
|
69
|
+
};
|
|
70
|
+
connection: {
|
|
71
|
+
v1: import("./core/connection/v1/query.lcd").LCDQueryClient;
|
|
72
|
+
};
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
}>;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { Height, HeightSDKType } from "../../../core/client/v1/client";
|
|
2
|
+
import * as _m0 from "protobufjs/minimal";
|
|
3
|
+
import { DeepPartial } from "../../../../helpers";
|
|
4
|
+
/**
|
|
5
|
+
* ClientState defines a loopback (localhost) client. It requires (read-only)
|
|
6
|
+
* access to keys outside the client prefix.
|
|
7
|
+
*/
|
|
8
|
+
export interface ClientState {
|
|
9
|
+
/** self chain ID */
|
|
10
|
+
chainId: string;
|
|
11
|
+
/** self latest block height */
|
|
12
|
+
height?: Height;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* ClientState defines a loopback (localhost) client. It requires (read-only)
|
|
16
|
+
* access to keys outside the client prefix.
|
|
17
|
+
*/
|
|
18
|
+
export interface ClientStateSDKType {
|
|
19
|
+
chain_id: string;
|
|
20
|
+
height?: HeightSDKType;
|
|
21
|
+
}
|
|
22
|
+
export declare const ClientState: {
|
|
23
|
+
encode(message: ClientState, writer?: _m0.Writer): _m0.Writer;
|
|
24
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): ClientState;
|
|
25
|
+
fromPartial(object: DeepPartial<ClientState>): ClientState;
|
|
26
|
+
};
|