@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,352 @@
|
|
|
1
|
+
import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../../../cosmos/base/query/v1beta1/pagination";
|
|
2
|
+
import { Any, AnySDKType } from "../../../../google/protobuf/any";
|
|
3
|
+
import { Height, HeightSDKType, IdentifiedClientState, IdentifiedClientStateSDKType, ConsensusStateWithHeight, ConsensusStateWithHeightSDKType, Params, ParamsSDKType } from "./client";
|
|
4
|
+
import * as _m0 from "protobufjs/minimal";
|
|
5
|
+
import { DeepPartial, Long } from "../../../../helpers";
|
|
6
|
+
/**
|
|
7
|
+
* QueryClientStateRequest is the request type for the Query/ClientState RPC
|
|
8
|
+
* method
|
|
9
|
+
*/
|
|
10
|
+
export interface QueryClientStateRequest {
|
|
11
|
+
/** client state unique identifier */
|
|
12
|
+
clientId: string;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* QueryClientStateRequest is the request type for the Query/ClientState RPC
|
|
16
|
+
* method
|
|
17
|
+
*/
|
|
18
|
+
export interface QueryClientStateRequestSDKType {
|
|
19
|
+
client_id: string;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* QueryClientStateResponse is the response type for the Query/ClientState RPC
|
|
23
|
+
* method. Besides the client state, it includes a proof and the height from
|
|
24
|
+
* which the proof was retrieved.
|
|
25
|
+
*/
|
|
26
|
+
export interface QueryClientStateResponse {
|
|
27
|
+
/** client state associated with the request identifier */
|
|
28
|
+
clientState?: Any;
|
|
29
|
+
/** merkle proof of existence */
|
|
30
|
+
proof: Uint8Array;
|
|
31
|
+
/** height at which the proof was retrieved */
|
|
32
|
+
proofHeight?: Height;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* QueryClientStateResponse is the response type for the Query/ClientState RPC
|
|
36
|
+
* method. Besides the client state, it includes a proof and the height from
|
|
37
|
+
* which the proof was retrieved.
|
|
38
|
+
*/
|
|
39
|
+
export interface QueryClientStateResponseSDKType {
|
|
40
|
+
client_state?: AnySDKType;
|
|
41
|
+
proof: Uint8Array;
|
|
42
|
+
proof_height?: HeightSDKType;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* QueryClientStatesRequest is the request type for the Query/ClientStates RPC
|
|
46
|
+
* method
|
|
47
|
+
*/
|
|
48
|
+
export interface QueryClientStatesRequest {
|
|
49
|
+
/** pagination request */
|
|
50
|
+
pagination?: PageRequest;
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* QueryClientStatesRequest is the request type for the Query/ClientStates RPC
|
|
54
|
+
* method
|
|
55
|
+
*/
|
|
56
|
+
export interface QueryClientStatesRequestSDKType {
|
|
57
|
+
pagination?: PageRequestSDKType;
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* QueryClientStatesResponse is the response type for the Query/ClientStates RPC
|
|
61
|
+
* method.
|
|
62
|
+
*/
|
|
63
|
+
export interface QueryClientStatesResponse {
|
|
64
|
+
/** list of stored ClientStates of the chain. */
|
|
65
|
+
clientStates: IdentifiedClientState[];
|
|
66
|
+
/** pagination response */
|
|
67
|
+
pagination?: PageResponse;
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* QueryClientStatesResponse is the response type for the Query/ClientStates RPC
|
|
71
|
+
* method.
|
|
72
|
+
*/
|
|
73
|
+
export interface QueryClientStatesResponseSDKType {
|
|
74
|
+
client_states: IdentifiedClientStateSDKType[];
|
|
75
|
+
pagination?: PageResponseSDKType;
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* QueryConsensusStateRequest is the request type for the Query/ConsensusState
|
|
79
|
+
* RPC method. Besides the consensus state, it includes a proof and the height
|
|
80
|
+
* from which the proof was retrieved.
|
|
81
|
+
*/
|
|
82
|
+
export interface QueryConsensusStateRequest {
|
|
83
|
+
/** client identifier */
|
|
84
|
+
clientId: string;
|
|
85
|
+
/** consensus state revision number */
|
|
86
|
+
revisionNumber: Long;
|
|
87
|
+
/** consensus state revision height */
|
|
88
|
+
revisionHeight: Long;
|
|
89
|
+
/**
|
|
90
|
+
* latest_height overrrides the height field and queries the latest stored
|
|
91
|
+
* ConsensusState
|
|
92
|
+
*/
|
|
93
|
+
latestHeight: boolean;
|
|
94
|
+
}
|
|
95
|
+
/**
|
|
96
|
+
* QueryConsensusStateRequest is the request type for the Query/ConsensusState
|
|
97
|
+
* RPC method. Besides the consensus state, it includes a proof and the height
|
|
98
|
+
* from which the proof was retrieved.
|
|
99
|
+
*/
|
|
100
|
+
export interface QueryConsensusStateRequestSDKType {
|
|
101
|
+
client_id: string;
|
|
102
|
+
revision_number: Long;
|
|
103
|
+
revision_height: Long;
|
|
104
|
+
latest_height: boolean;
|
|
105
|
+
}
|
|
106
|
+
/**
|
|
107
|
+
* QueryConsensusStateResponse is the response type for the Query/ConsensusState
|
|
108
|
+
* RPC method
|
|
109
|
+
*/
|
|
110
|
+
export interface QueryConsensusStateResponse {
|
|
111
|
+
/** consensus state associated with the client identifier at the given height */
|
|
112
|
+
consensusState?: Any;
|
|
113
|
+
/** merkle proof of existence */
|
|
114
|
+
proof: Uint8Array;
|
|
115
|
+
/** height at which the proof was retrieved */
|
|
116
|
+
proofHeight?: Height;
|
|
117
|
+
}
|
|
118
|
+
/**
|
|
119
|
+
* QueryConsensusStateResponse is the response type for the Query/ConsensusState
|
|
120
|
+
* RPC method
|
|
121
|
+
*/
|
|
122
|
+
export interface QueryConsensusStateResponseSDKType {
|
|
123
|
+
consensus_state?: AnySDKType;
|
|
124
|
+
proof: Uint8Array;
|
|
125
|
+
proof_height?: HeightSDKType;
|
|
126
|
+
}
|
|
127
|
+
/**
|
|
128
|
+
* QueryConsensusStatesRequest is the request type for the Query/ConsensusStates
|
|
129
|
+
* RPC method.
|
|
130
|
+
*/
|
|
131
|
+
export interface QueryConsensusStatesRequest {
|
|
132
|
+
/** client identifier */
|
|
133
|
+
clientId: string;
|
|
134
|
+
/** pagination request */
|
|
135
|
+
pagination?: PageRequest;
|
|
136
|
+
}
|
|
137
|
+
/**
|
|
138
|
+
* QueryConsensusStatesRequest is the request type for the Query/ConsensusStates
|
|
139
|
+
* RPC method.
|
|
140
|
+
*/
|
|
141
|
+
export interface QueryConsensusStatesRequestSDKType {
|
|
142
|
+
client_id: string;
|
|
143
|
+
pagination?: PageRequestSDKType;
|
|
144
|
+
}
|
|
145
|
+
/**
|
|
146
|
+
* QueryConsensusStatesResponse is the response type for the
|
|
147
|
+
* Query/ConsensusStates RPC method
|
|
148
|
+
*/
|
|
149
|
+
export interface QueryConsensusStatesResponse {
|
|
150
|
+
/** consensus states associated with the identifier */
|
|
151
|
+
consensusStates: ConsensusStateWithHeight[];
|
|
152
|
+
/** pagination response */
|
|
153
|
+
pagination?: PageResponse;
|
|
154
|
+
}
|
|
155
|
+
/**
|
|
156
|
+
* QueryConsensusStatesResponse is the response type for the
|
|
157
|
+
* Query/ConsensusStates RPC method
|
|
158
|
+
*/
|
|
159
|
+
export interface QueryConsensusStatesResponseSDKType {
|
|
160
|
+
consensus_states: ConsensusStateWithHeightSDKType[];
|
|
161
|
+
pagination?: PageResponseSDKType;
|
|
162
|
+
}
|
|
163
|
+
/**
|
|
164
|
+
* QueryClientStatusRequest is the request type for the Query/ClientStatus RPC
|
|
165
|
+
* method
|
|
166
|
+
*/
|
|
167
|
+
export interface QueryClientStatusRequest {
|
|
168
|
+
/** client unique identifier */
|
|
169
|
+
clientId: string;
|
|
170
|
+
}
|
|
171
|
+
/**
|
|
172
|
+
* QueryClientStatusRequest is the request type for the Query/ClientStatus RPC
|
|
173
|
+
* method
|
|
174
|
+
*/
|
|
175
|
+
export interface QueryClientStatusRequestSDKType {
|
|
176
|
+
client_id: string;
|
|
177
|
+
}
|
|
178
|
+
/**
|
|
179
|
+
* QueryClientStatusResponse is the response type for the Query/ClientStatus RPC
|
|
180
|
+
* method. It returns the current status of the IBC client.
|
|
181
|
+
*/
|
|
182
|
+
export interface QueryClientStatusResponse {
|
|
183
|
+
status: string;
|
|
184
|
+
}
|
|
185
|
+
/**
|
|
186
|
+
* QueryClientStatusResponse is the response type for the Query/ClientStatus RPC
|
|
187
|
+
* method. It returns the current status of the IBC client.
|
|
188
|
+
*/
|
|
189
|
+
export interface QueryClientStatusResponseSDKType {
|
|
190
|
+
status: string;
|
|
191
|
+
}
|
|
192
|
+
/**
|
|
193
|
+
* QueryClientParamsRequest is the request type for the Query/ClientParams RPC
|
|
194
|
+
* method.
|
|
195
|
+
*/
|
|
196
|
+
export interface QueryClientParamsRequest {
|
|
197
|
+
}
|
|
198
|
+
/**
|
|
199
|
+
* QueryClientParamsRequest is the request type for the Query/ClientParams RPC
|
|
200
|
+
* method.
|
|
201
|
+
*/
|
|
202
|
+
export interface QueryClientParamsRequestSDKType {
|
|
203
|
+
}
|
|
204
|
+
/**
|
|
205
|
+
* QueryClientParamsResponse is the response type for the Query/ClientParams RPC
|
|
206
|
+
* method.
|
|
207
|
+
*/
|
|
208
|
+
export interface QueryClientParamsResponse {
|
|
209
|
+
/** params defines the parameters of the module. */
|
|
210
|
+
params?: Params;
|
|
211
|
+
}
|
|
212
|
+
/**
|
|
213
|
+
* QueryClientParamsResponse is the response type for the Query/ClientParams RPC
|
|
214
|
+
* method.
|
|
215
|
+
*/
|
|
216
|
+
export interface QueryClientParamsResponseSDKType {
|
|
217
|
+
params?: ParamsSDKType;
|
|
218
|
+
}
|
|
219
|
+
/**
|
|
220
|
+
* QueryUpgradedClientStateRequest is the request type for the
|
|
221
|
+
* Query/UpgradedClientState RPC method
|
|
222
|
+
*/
|
|
223
|
+
export interface QueryUpgradedClientStateRequest {
|
|
224
|
+
}
|
|
225
|
+
/**
|
|
226
|
+
* QueryUpgradedClientStateRequest is the request type for the
|
|
227
|
+
* Query/UpgradedClientState RPC method
|
|
228
|
+
*/
|
|
229
|
+
export interface QueryUpgradedClientStateRequestSDKType {
|
|
230
|
+
}
|
|
231
|
+
/**
|
|
232
|
+
* QueryUpgradedClientStateResponse is the response type for the
|
|
233
|
+
* Query/UpgradedClientState RPC method.
|
|
234
|
+
*/
|
|
235
|
+
export interface QueryUpgradedClientStateResponse {
|
|
236
|
+
/** client state associated with the request identifier */
|
|
237
|
+
upgradedClientState?: Any;
|
|
238
|
+
}
|
|
239
|
+
/**
|
|
240
|
+
* QueryUpgradedClientStateResponse is the response type for the
|
|
241
|
+
* Query/UpgradedClientState RPC method.
|
|
242
|
+
*/
|
|
243
|
+
export interface QueryUpgradedClientStateResponseSDKType {
|
|
244
|
+
upgraded_client_state?: AnySDKType;
|
|
245
|
+
}
|
|
246
|
+
/**
|
|
247
|
+
* QueryUpgradedConsensusStateRequest is the request type for the
|
|
248
|
+
* Query/UpgradedConsensusState RPC method
|
|
249
|
+
*/
|
|
250
|
+
export interface QueryUpgradedConsensusStateRequest {
|
|
251
|
+
}
|
|
252
|
+
/**
|
|
253
|
+
* QueryUpgradedConsensusStateRequest is the request type for the
|
|
254
|
+
* Query/UpgradedConsensusState RPC method
|
|
255
|
+
*/
|
|
256
|
+
export interface QueryUpgradedConsensusStateRequestSDKType {
|
|
257
|
+
}
|
|
258
|
+
/**
|
|
259
|
+
* QueryUpgradedConsensusStateResponse is the response type for the
|
|
260
|
+
* Query/UpgradedConsensusState RPC method.
|
|
261
|
+
*/
|
|
262
|
+
export interface QueryUpgradedConsensusStateResponse {
|
|
263
|
+
/** Consensus state associated with the request identifier */
|
|
264
|
+
upgradedConsensusState?: Any;
|
|
265
|
+
}
|
|
266
|
+
/**
|
|
267
|
+
* QueryUpgradedConsensusStateResponse is the response type for the
|
|
268
|
+
* Query/UpgradedConsensusState RPC method.
|
|
269
|
+
*/
|
|
270
|
+
export interface QueryUpgradedConsensusStateResponseSDKType {
|
|
271
|
+
upgraded_consensus_state?: AnySDKType;
|
|
272
|
+
}
|
|
273
|
+
export declare const QueryClientStateRequest: {
|
|
274
|
+
encode(message: QueryClientStateRequest, writer?: _m0.Writer): _m0.Writer;
|
|
275
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientStateRequest;
|
|
276
|
+
fromPartial(object: DeepPartial<QueryClientStateRequest>): QueryClientStateRequest;
|
|
277
|
+
};
|
|
278
|
+
export declare const QueryClientStateResponse: {
|
|
279
|
+
encode(message: QueryClientStateResponse, writer?: _m0.Writer): _m0.Writer;
|
|
280
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientStateResponse;
|
|
281
|
+
fromPartial(object: DeepPartial<QueryClientStateResponse>): QueryClientStateResponse;
|
|
282
|
+
};
|
|
283
|
+
export declare const QueryClientStatesRequest: {
|
|
284
|
+
encode(message: QueryClientStatesRequest, writer?: _m0.Writer): _m0.Writer;
|
|
285
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientStatesRequest;
|
|
286
|
+
fromPartial(object: DeepPartial<QueryClientStatesRequest>): QueryClientStatesRequest;
|
|
287
|
+
};
|
|
288
|
+
export declare const QueryClientStatesResponse: {
|
|
289
|
+
encode(message: QueryClientStatesResponse, writer?: _m0.Writer): _m0.Writer;
|
|
290
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientStatesResponse;
|
|
291
|
+
fromPartial(object: DeepPartial<QueryClientStatesResponse>): QueryClientStatesResponse;
|
|
292
|
+
};
|
|
293
|
+
export declare const QueryConsensusStateRequest: {
|
|
294
|
+
encode(message: QueryConsensusStateRequest, writer?: _m0.Writer): _m0.Writer;
|
|
295
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryConsensusStateRequest;
|
|
296
|
+
fromPartial(object: DeepPartial<QueryConsensusStateRequest>): QueryConsensusStateRequest;
|
|
297
|
+
};
|
|
298
|
+
export declare const QueryConsensusStateResponse: {
|
|
299
|
+
encode(message: QueryConsensusStateResponse, writer?: _m0.Writer): _m0.Writer;
|
|
300
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryConsensusStateResponse;
|
|
301
|
+
fromPartial(object: DeepPartial<QueryConsensusStateResponse>): QueryConsensusStateResponse;
|
|
302
|
+
};
|
|
303
|
+
export declare const QueryConsensusStatesRequest: {
|
|
304
|
+
encode(message: QueryConsensusStatesRequest, writer?: _m0.Writer): _m0.Writer;
|
|
305
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryConsensusStatesRequest;
|
|
306
|
+
fromPartial(object: DeepPartial<QueryConsensusStatesRequest>): QueryConsensusStatesRequest;
|
|
307
|
+
};
|
|
308
|
+
export declare const QueryConsensusStatesResponse: {
|
|
309
|
+
encode(message: QueryConsensusStatesResponse, writer?: _m0.Writer): _m0.Writer;
|
|
310
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryConsensusStatesResponse;
|
|
311
|
+
fromPartial(object: DeepPartial<QueryConsensusStatesResponse>): QueryConsensusStatesResponse;
|
|
312
|
+
};
|
|
313
|
+
export declare const QueryClientStatusRequest: {
|
|
314
|
+
encode(message: QueryClientStatusRequest, writer?: _m0.Writer): _m0.Writer;
|
|
315
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientStatusRequest;
|
|
316
|
+
fromPartial(object: DeepPartial<QueryClientStatusRequest>): QueryClientStatusRequest;
|
|
317
|
+
};
|
|
318
|
+
export declare const QueryClientStatusResponse: {
|
|
319
|
+
encode(message: QueryClientStatusResponse, writer?: _m0.Writer): _m0.Writer;
|
|
320
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientStatusResponse;
|
|
321
|
+
fromPartial(object: DeepPartial<QueryClientStatusResponse>): QueryClientStatusResponse;
|
|
322
|
+
};
|
|
323
|
+
export declare const QueryClientParamsRequest: {
|
|
324
|
+
encode(_: QueryClientParamsRequest, writer?: _m0.Writer): _m0.Writer;
|
|
325
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientParamsRequest;
|
|
326
|
+
fromPartial(_: DeepPartial<QueryClientParamsRequest>): QueryClientParamsRequest;
|
|
327
|
+
};
|
|
328
|
+
export declare const QueryClientParamsResponse: {
|
|
329
|
+
encode(message: QueryClientParamsResponse, writer?: _m0.Writer): _m0.Writer;
|
|
330
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientParamsResponse;
|
|
331
|
+
fromPartial(object: DeepPartial<QueryClientParamsResponse>): QueryClientParamsResponse;
|
|
332
|
+
};
|
|
333
|
+
export declare const QueryUpgradedClientStateRequest: {
|
|
334
|
+
encode(_: QueryUpgradedClientStateRequest, writer?: _m0.Writer): _m0.Writer;
|
|
335
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryUpgradedClientStateRequest;
|
|
336
|
+
fromPartial(_: DeepPartial<QueryUpgradedClientStateRequest>): QueryUpgradedClientStateRequest;
|
|
337
|
+
};
|
|
338
|
+
export declare const QueryUpgradedClientStateResponse: {
|
|
339
|
+
encode(message: QueryUpgradedClientStateResponse, writer?: _m0.Writer): _m0.Writer;
|
|
340
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryUpgradedClientStateResponse;
|
|
341
|
+
fromPartial(object: DeepPartial<QueryUpgradedClientStateResponse>): QueryUpgradedClientStateResponse;
|
|
342
|
+
};
|
|
343
|
+
export declare const QueryUpgradedConsensusStateRequest: {
|
|
344
|
+
encode(_: QueryUpgradedConsensusStateRequest, writer?: _m0.Writer): _m0.Writer;
|
|
345
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryUpgradedConsensusStateRequest;
|
|
346
|
+
fromPartial(_: DeepPartial<QueryUpgradedConsensusStateRequest>): QueryUpgradedConsensusStateRequest;
|
|
347
|
+
};
|
|
348
|
+
export declare const QueryUpgradedConsensusStateResponse: {
|
|
349
|
+
encode(message: QueryUpgradedConsensusStateResponse, writer?: _m0.Writer): _m0.Writer;
|
|
350
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryUpgradedConsensusStateResponse;
|
|
351
|
+
fromPartial(object: DeepPartial<QueryUpgradedConsensusStateResponse>): QueryUpgradedConsensusStateResponse;
|
|
352
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { LCDClient } from "@osmonauts/lcd";
|
|
2
|
+
import { QueryClientStateRequest, QueryClientStateResponseSDKType, QueryClientStatesRequest, QueryClientStatesResponseSDKType, QueryConsensusStateRequest, QueryConsensusStateResponseSDKType, QueryConsensusStatesRequest, QueryConsensusStatesResponseSDKType, QueryClientStatusRequest, QueryClientStatusResponseSDKType, QueryClientParamsRequest, QueryClientParamsResponseSDKType, QueryUpgradedClientStateRequest, QueryUpgradedClientStateResponseSDKType, QueryUpgradedConsensusStateRequest, QueryUpgradedConsensusStateResponseSDKType } from "./query";
|
|
3
|
+
export declare class LCDQueryClient {
|
|
4
|
+
req: LCDClient;
|
|
5
|
+
constructor({ requestClient }: {
|
|
6
|
+
requestClient: LCDClient;
|
|
7
|
+
});
|
|
8
|
+
clientState(params: QueryClientStateRequest): Promise<QueryClientStateResponseSDKType>;
|
|
9
|
+
clientStates(params?: QueryClientStatesRequest): Promise<QueryClientStatesResponseSDKType>;
|
|
10
|
+
consensusState(params: QueryConsensusStateRequest): Promise<QueryConsensusStateResponseSDKType>;
|
|
11
|
+
consensusStates(params: QueryConsensusStatesRequest): Promise<QueryConsensusStatesResponseSDKType>;
|
|
12
|
+
clientStatus(params: QueryClientStatusRequest): Promise<QueryClientStatusResponseSDKType>;
|
|
13
|
+
clientParams(_params?: QueryClientParamsRequest): Promise<QueryClientParamsResponseSDKType>;
|
|
14
|
+
upgradedClientState(_params?: QueryUpgradedClientStateRequest): Promise<QueryUpgradedClientStateResponseSDKType>;
|
|
15
|
+
upgradedConsensusState(_params?: QueryUpgradedConsensusStateRequest): Promise<QueryUpgradedConsensusStateResponseSDKType>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { Rpc } from "../../../../helpers";
|
|
2
|
+
import { QueryClient } from "@cosmjs/stargate";
|
|
3
|
+
import { QueryClientStateRequest, QueryClientStateResponse, QueryClientStatesRequest, QueryClientStatesResponse, QueryConsensusStateRequest, QueryConsensusStateResponse, QueryConsensusStatesRequest, QueryConsensusStatesResponse, QueryClientStatusRequest, QueryClientStatusResponse, QueryClientParamsRequest, QueryClientParamsResponse, QueryUpgradedClientStateRequest, QueryUpgradedClientStateResponse, QueryUpgradedConsensusStateRequest, QueryUpgradedConsensusStateResponse } from "./query";
|
|
4
|
+
/** Query provides defines the gRPC querier service */
|
|
5
|
+
export interface Query {
|
|
6
|
+
/** ClientState queries an IBC light client. */
|
|
7
|
+
clientState(request: QueryClientStateRequest): Promise<QueryClientStateResponse>;
|
|
8
|
+
/** ClientStates queries all the IBC light clients of a chain. */
|
|
9
|
+
clientStates(request?: QueryClientStatesRequest): Promise<QueryClientStatesResponse>;
|
|
10
|
+
/**
|
|
11
|
+
* ConsensusState queries a consensus state associated with a client state at
|
|
12
|
+
* a given height.
|
|
13
|
+
*/
|
|
14
|
+
consensusState(request: QueryConsensusStateRequest): Promise<QueryConsensusStateResponse>;
|
|
15
|
+
/**
|
|
16
|
+
* ConsensusStates queries all the consensus state associated with a given
|
|
17
|
+
* client.
|
|
18
|
+
*/
|
|
19
|
+
consensusStates(request: QueryConsensusStatesRequest): Promise<QueryConsensusStatesResponse>;
|
|
20
|
+
/** Status queries the status of an IBC client. */
|
|
21
|
+
clientStatus(request: QueryClientStatusRequest): Promise<QueryClientStatusResponse>;
|
|
22
|
+
/** ClientParams queries all parameters of the ibc client. */
|
|
23
|
+
clientParams(request?: QueryClientParamsRequest): Promise<QueryClientParamsResponse>;
|
|
24
|
+
/** UpgradedClientState queries an Upgraded IBC light client. */
|
|
25
|
+
upgradedClientState(request?: QueryUpgradedClientStateRequest): Promise<QueryUpgradedClientStateResponse>;
|
|
26
|
+
/** UpgradedConsensusState queries an Upgraded IBC consensus state. */
|
|
27
|
+
upgradedConsensusState(request?: QueryUpgradedConsensusStateRequest): Promise<QueryUpgradedConsensusStateResponse>;
|
|
28
|
+
}
|
|
29
|
+
export declare class QueryClientImpl implements Query {
|
|
30
|
+
private readonly rpc;
|
|
31
|
+
constructor(rpc: Rpc);
|
|
32
|
+
clientState(request: QueryClientStateRequest): Promise<QueryClientStateResponse>;
|
|
33
|
+
clientStates(request?: QueryClientStatesRequest): Promise<QueryClientStatesResponse>;
|
|
34
|
+
consensusState(request: QueryConsensusStateRequest): Promise<QueryConsensusStateResponse>;
|
|
35
|
+
consensusStates(request: QueryConsensusStatesRequest): Promise<QueryConsensusStatesResponse>;
|
|
36
|
+
clientStatus(request: QueryClientStatusRequest): Promise<QueryClientStatusResponse>;
|
|
37
|
+
clientParams(request?: QueryClientParamsRequest): Promise<QueryClientParamsResponse>;
|
|
38
|
+
upgradedClientState(request?: QueryUpgradedClientStateRequest): Promise<QueryUpgradedClientStateResponse>;
|
|
39
|
+
upgradedConsensusState(request?: QueryUpgradedConsensusStateRequest): Promise<QueryUpgradedConsensusStateResponse>;
|
|
40
|
+
}
|
|
41
|
+
export declare const createRpcQueryExtension: (base: QueryClient) => {
|
|
42
|
+
clientState(request: QueryClientStateRequest): Promise<QueryClientStateResponse>;
|
|
43
|
+
clientStates(request?: QueryClientStatesRequest): Promise<QueryClientStatesResponse>;
|
|
44
|
+
consensusState(request: QueryConsensusStateRequest): Promise<QueryConsensusStateResponse>;
|
|
45
|
+
consensusStates(request: QueryConsensusStatesRequest): Promise<QueryConsensusStatesResponse>;
|
|
46
|
+
clientStatus(request: QueryClientStatusRequest): Promise<QueryClientStatusResponse>;
|
|
47
|
+
clientParams(request?: QueryClientParamsRequest): Promise<QueryClientParamsResponse>;
|
|
48
|
+
upgradedClientState(request?: QueryUpgradedClientStateRequest): Promise<QueryUpgradedClientStateResponse>;
|
|
49
|
+
upgradedConsensusState(request?: QueryUpgradedConsensusStateRequest): Promise<QueryUpgradedConsensusStateResponse>;
|
|
50
|
+
};
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { AminoMsg } from "@cosmjs/amino";
|
|
2
|
+
import { MsgCreateClient, MsgUpdateClient, MsgUpgradeClient, MsgSubmitMisbehaviour } from "./tx";
|
|
3
|
+
export interface MsgCreateClientAminoType extends AminoMsg {
|
|
4
|
+
type: "cosmos-sdk/MsgCreateClient";
|
|
5
|
+
value: {
|
|
6
|
+
client_state: {
|
|
7
|
+
type_url: string;
|
|
8
|
+
value: Uint8Array;
|
|
9
|
+
};
|
|
10
|
+
consensus_state: {
|
|
11
|
+
type_url: string;
|
|
12
|
+
value: Uint8Array;
|
|
13
|
+
};
|
|
14
|
+
signer: string;
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
export interface MsgUpdateClientAminoType extends AminoMsg {
|
|
18
|
+
type: "cosmos-sdk/MsgUpdateClient";
|
|
19
|
+
value: {
|
|
20
|
+
client_id: string;
|
|
21
|
+
header: {
|
|
22
|
+
type_url: string;
|
|
23
|
+
value: Uint8Array;
|
|
24
|
+
};
|
|
25
|
+
signer: string;
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
export interface MsgUpgradeClientAminoType extends AminoMsg {
|
|
29
|
+
type: "cosmos-sdk/MsgUpgradeClient";
|
|
30
|
+
value: {
|
|
31
|
+
client_id: string;
|
|
32
|
+
client_state: {
|
|
33
|
+
type_url: string;
|
|
34
|
+
value: Uint8Array;
|
|
35
|
+
};
|
|
36
|
+
consensus_state: {
|
|
37
|
+
type_url: string;
|
|
38
|
+
value: Uint8Array;
|
|
39
|
+
};
|
|
40
|
+
proof_upgrade_client: Uint8Array;
|
|
41
|
+
proof_upgrade_consensus_state: Uint8Array;
|
|
42
|
+
signer: string;
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
export interface MsgSubmitMisbehaviourAminoType extends AminoMsg {
|
|
46
|
+
type: "cosmos-sdk/MsgSubmitMisbehaviour";
|
|
47
|
+
value: {
|
|
48
|
+
client_id: string;
|
|
49
|
+
misbehaviour: {
|
|
50
|
+
type_url: string;
|
|
51
|
+
value: Uint8Array;
|
|
52
|
+
};
|
|
53
|
+
signer: string;
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
export declare const AminoConverter: {
|
|
57
|
+
"/ibc.core.client.v1.MsgCreateClient": {
|
|
58
|
+
aminoType: string;
|
|
59
|
+
toAmino: ({ clientState, consensusState, signer }: MsgCreateClient) => MsgCreateClientAminoType["value"];
|
|
60
|
+
fromAmino: ({ client_state, consensus_state, signer }: MsgCreateClientAminoType["value"]) => MsgCreateClient;
|
|
61
|
+
};
|
|
62
|
+
"/ibc.core.client.v1.MsgUpdateClient": {
|
|
63
|
+
aminoType: string;
|
|
64
|
+
toAmino: ({ clientId, header, signer }: MsgUpdateClient) => MsgUpdateClientAminoType["value"];
|
|
65
|
+
fromAmino: ({ client_id, header, signer }: MsgUpdateClientAminoType["value"]) => MsgUpdateClient;
|
|
66
|
+
};
|
|
67
|
+
"/ibc.core.client.v1.MsgUpgradeClient": {
|
|
68
|
+
aminoType: string;
|
|
69
|
+
toAmino: ({ clientId, clientState, consensusState, proofUpgradeClient, proofUpgradeConsensusState, signer }: MsgUpgradeClient) => MsgUpgradeClientAminoType["value"];
|
|
70
|
+
fromAmino: ({ client_id, client_state, consensus_state, proof_upgrade_client, proof_upgrade_consensus_state, signer }: MsgUpgradeClientAminoType["value"]) => MsgUpgradeClient;
|
|
71
|
+
};
|
|
72
|
+
"/ibc.core.client.v1.MsgSubmitMisbehaviour": {
|
|
73
|
+
aminoType: string;
|
|
74
|
+
toAmino: ({ clientId, misbehaviour, signer }: MsgSubmitMisbehaviour) => MsgSubmitMisbehaviourAminoType["value"];
|
|
75
|
+
fromAmino: ({ client_id, misbehaviour, signer }: MsgSubmitMisbehaviourAminoType["value"]) => MsgSubmitMisbehaviour;
|
|
76
|
+
};
|
|
77
|
+
};
|
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
import { Any, AnySDKType } from "../../../../google/protobuf/any";
|
|
2
|
+
import * as _m0 from "protobufjs/minimal";
|
|
3
|
+
import { DeepPartial } from "../../../../helpers";
|
|
4
|
+
/** MsgCreateClient defines a message to create an IBC client */
|
|
5
|
+
export interface MsgCreateClient {
|
|
6
|
+
/** light client state */
|
|
7
|
+
clientState?: Any;
|
|
8
|
+
/**
|
|
9
|
+
* consensus state associated with the client that corresponds to a given
|
|
10
|
+
* height.
|
|
11
|
+
*/
|
|
12
|
+
consensusState?: Any;
|
|
13
|
+
/** signer address */
|
|
14
|
+
signer: string;
|
|
15
|
+
}
|
|
16
|
+
/** MsgCreateClient defines a message to create an IBC client */
|
|
17
|
+
export interface MsgCreateClientSDKType {
|
|
18
|
+
client_state?: AnySDKType;
|
|
19
|
+
consensus_state?: AnySDKType;
|
|
20
|
+
signer: string;
|
|
21
|
+
}
|
|
22
|
+
/** MsgCreateClientResponse defines the Msg/CreateClient response type. */
|
|
23
|
+
export interface MsgCreateClientResponse {
|
|
24
|
+
}
|
|
25
|
+
/** MsgCreateClientResponse defines the Msg/CreateClient response type. */
|
|
26
|
+
export interface MsgCreateClientResponseSDKType {
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* MsgUpdateClient defines an sdk.Msg to update a IBC client state using
|
|
30
|
+
* the given header.
|
|
31
|
+
*/
|
|
32
|
+
export interface MsgUpdateClient {
|
|
33
|
+
/** client unique identifier */
|
|
34
|
+
clientId: string;
|
|
35
|
+
/** header to update the light client */
|
|
36
|
+
header?: Any;
|
|
37
|
+
/** signer address */
|
|
38
|
+
signer: string;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* MsgUpdateClient defines an sdk.Msg to update a IBC client state using
|
|
42
|
+
* the given header.
|
|
43
|
+
*/
|
|
44
|
+
export interface MsgUpdateClientSDKType {
|
|
45
|
+
client_id: string;
|
|
46
|
+
header?: AnySDKType;
|
|
47
|
+
signer: string;
|
|
48
|
+
}
|
|
49
|
+
/** MsgUpdateClientResponse defines the Msg/UpdateClient response type. */
|
|
50
|
+
export interface MsgUpdateClientResponse {
|
|
51
|
+
}
|
|
52
|
+
/** MsgUpdateClientResponse defines the Msg/UpdateClient response type. */
|
|
53
|
+
export interface MsgUpdateClientResponseSDKType {
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* MsgUpgradeClient defines an sdk.Msg to upgrade an IBC client to a new client
|
|
57
|
+
* state
|
|
58
|
+
*/
|
|
59
|
+
export interface MsgUpgradeClient {
|
|
60
|
+
/** client unique identifier */
|
|
61
|
+
clientId: string;
|
|
62
|
+
/** upgraded client state */
|
|
63
|
+
clientState?: Any;
|
|
64
|
+
/**
|
|
65
|
+
* upgraded consensus state, only contains enough information to serve as a
|
|
66
|
+
* basis of trust in update logic
|
|
67
|
+
*/
|
|
68
|
+
consensusState?: Any;
|
|
69
|
+
/** proof that old chain committed to new client */
|
|
70
|
+
proofUpgradeClient: Uint8Array;
|
|
71
|
+
/** proof that old chain committed to new consensus state */
|
|
72
|
+
proofUpgradeConsensusState: Uint8Array;
|
|
73
|
+
/** signer address */
|
|
74
|
+
signer: string;
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* MsgUpgradeClient defines an sdk.Msg to upgrade an IBC client to a new client
|
|
78
|
+
* state
|
|
79
|
+
*/
|
|
80
|
+
export interface MsgUpgradeClientSDKType {
|
|
81
|
+
client_id: string;
|
|
82
|
+
client_state?: AnySDKType;
|
|
83
|
+
consensus_state?: AnySDKType;
|
|
84
|
+
proof_upgrade_client: Uint8Array;
|
|
85
|
+
proof_upgrade_consensus_state: Uint8Array;
|
|
86
|
+
signer: string;
|
|
87
|
+
}
|
|
88
|
+
/** MsgUpgradeClientResponse defines the Msg/UpgradeClient response type. */
|
|
89
|
+
export interface MsgUpgradeClientResponse {
|
|
90
|
+
}
|
|
91
|
+
/** MsgUpgradeClientResponse defines the Msg/UpgradeClient response type. */
|
|
92
|
+
export interface MsgUpgradeClientResponseSDKType {
|
|
93
|
+
}
|
|
94
|
+
/**
|
|
95
|
+
* MsgSubmitMisbehaviour defines an sdk.Msg type that submits Evidence for
|
|
96
|
+
* light client misbehaviour.
|
|
97
|
+
*/
|
|
98
|
+
export interface MsgSubmitMisbehaviour {
|
|
99
|
+
/** client unique identifier */
|
|
100
|
+
clientId: string;
|
|
101
|
+
/** misbehaviour used for freezing the light client */
|
|
102
|
+
misbehaviour?: Any;
|
|
103
|
+
/** signer address */
|
|
104
|
+
signer: string;
|
|
105
|
+
}
|
|
106
|
+
/**
|
|
107
|
+
* MsgSubmitMisbehaviour defines an sdk.Msg type that submits Evidence for
|
|
108
|
+
* light client misbehaviour.
|
|
109
|
+
*/
|
|
110
|
+
export interface MsgSubmitMisbehaviourSDKType {
|
|
111
|
+
client_id: string;
|
|
112
|
+
misbehaviour?: AnySDKType;
|
|
113
|
+
signer: string;
|
|
114
|
+
}
|
|
115
|
+
/**
|
|
116
|
+
* MsgSubmitMisbehaviourResponse defines the Msg/SubmitMisbehaviour response
|
|
117
|
+
* type.
|
|
118
|
+
*/
|
|
119
|
+
export interface MsgSubmitMisbehaviourResponse {
|
|
120
|
+
}
|
|
121
|
+
/**
|
|
122
|
+
* MsgSubmitMisbehaviourResponse defines the Msg/SubmitMisbehaviour response
|
|
123
|
+
* type.
|
|
124
|
+
*/
|
|
125
|
+
export interface MsgSubmitMisbehaviourResponseSDKType {
|
|
126
|
+
}
|
|
127
|
+
export declare const MsgCreateClient: {
|
|
128
|
+
encode(message: MsgCreateClient, writer?: _m0.Writer): _m0.Writer;
|
|
129
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateClient;
|
|
130
|
+
fromPartial(object: DeepPartial<MsgCreateClient>): MsgCreateClient;
|
|
131
|
+
};
|
|
132
|
+
export declare const MsgCreateClientResponse: {
|
|
133
|
+
encode(_: MsgCreateClientResponse, writer?: _m0.Writer): _m0.Writer;
|
|
134
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateClientResponse;
|
|
135
|
+
fromPartial(_: DeepPartial<MsgCreateClientResponse>): MsgCreateClientResponse;
|
|
136
|
+
};
|
|
137
|
+
export declare const MsgUpdateClient: {
|
|
138
|
+
encode(message: MsgUpdateClient, writer?: _m0.Writer): _m0.Writer;
|
|
139
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateClient;
|
|
140
|
+
fromPartial(object: DeepPartial<MsgUpdateClient>): MsgUpdateClient;
|
|
141
|
+
};
|
|
142
|
+
export declare const MsgUpdateClientResponse: {
|
|
143
|
+
encode(_: MsgUpdateClientResponse, writer?: _m0.Writer): _m0.Writer;
|
|
144
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateClientResponse;
|
|
145
|
+
fromPartial(_: DeepPartial<MsgUpdateClientResponse>): MsgUpdateClientResponse;
|
|
146
|
+
};
|
|
147
|
+
export declare const MsgUpgradeClient: {
|
|
148
|
+
encode(message: MsgUpgradeClient, writer?: _m0.Writer): _m0.Writer;
|
|
149
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpgradeClient;
|
|
150
|
+
fromPartial(object: DeepPartial<MsgUpgradeClient>): MsgUpgradeClient;
|
|
151
|
+
};
|
|
152
|
+
export declare const MsgUpgradeClientResponse: {
|
|
153
|
+
encode(_: MsgUpgradeClientResponse, writer?: _m0.Writer): _m0.Writer;
|
|
154
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpgradeClientResponse;
|
|
155
|
+
fromPartial(_: DeepPartial<MsgUpgradeClientResponse>): MsgUpgradeClientResponse;
|
|
156
|
+
};
|
|
157
|
+
export declare const MsgSubmitMisbehaviour: {
|
|
158
|
+
encode(message: MsgSubmitMisbehaviour, writer?: _m0.Writer): _m0.Writer;
|
|
159
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgSubmitMisbehaviour;
|
|
160
|
+
fromPartial(object: DeepPartial<MsgSubmitMisbehaviour>): MsgSubmitMisbehaviour;
|
|
161
|
+
};
|
|
162
|
+
export declare const MsgSubmitMisbehaviourResponse: {
|
|
163
|
+
encode(_: MsgSubmitMisbehaviourResponse, writer?: _m0.Writer): _m0.Writer;
|
|
164
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgSubmitMisbehaviourResponse;
|
|
165
|
+
fromPartial(_: DeepPartial<MsgSubmitMisbehaviourResponse>): MsgSubmitMisbehaviourResponse;
|
|
166
|
+
};
|