@bze/bzejs 0.0.9 → 0.0.10
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
|
@@ -50,54 +50,7 @@ export enum SignMode {
|
|
|
50
50
|
SIGN_MODE_LEGACY_AMINO_JSON = 127,
|
|
51
51
|
UNRECOGNIZED = -1,
|
|
52
52
|
}
|
|
53
|
-
|
|
54
|
-
* SignMode represents a signing mode with its own security guarantees.
|
|
55
|
-
*
|
|
56
|
-
* This enum should be considered a registry of all known sign modes
|
|
57
|
-
* in the Cosmos ecosystem. Apps are not expected to support all known
|
|
58
|
-
* sign modes. Apps that would like to support custom sign modes are
|
|
59
|
-
* encouraged to open a small PR against this file to add a new case
|
|
60
|
-
* to this SignMode enum describing their sign mode so that different
|
|
61
|
-
* apps have a consistent version of this enum.
|
|
62
|
-
*/
|
|
63
|
-
|
|
64
|
-
export enum SignModeSDKType {
|
|
65
|
-
/**
|
|
66
|
-
* SIGN_MODE_UNSPECIFIED - SIGN_MODE_UNSPECIFIED specifies an unknown signing mode and will be
|
|
67
|
-
* rejected.
|
|
68
|
-
*/
|
|
69
|
-
SIGN_MODE_UNSPECIFIED = 0,
|
|
70
|
-
|
|
71
|
-
/**
|
|
72
|
-
* SIGN_MODE_DIRECT - SIGN_MODE_DIRECT specifies a signing mode which uses SignDoc and is
|
|
73
|
-
* verified with raw bytes from Tx.
|
|
74
|
-
*/
|
|
75
|
-
SIGN_MODE_DIRECT = 1,
|
|
76
|
-
|
|
77
|
-
/**
|
|
78
|
-
* SIGN_MODE_TEXTUAL - SIGN_MODE_TEXTUAL is a future signing mode that will verify some
|
|
79
|
-
* human-readable textual representation on top of the binary representation
|
|
80
|
-
* from SIGN_MODE_DIRECT. It is currently not supported.
|
|
81
|
-
*/
|
|
82
|
-
SIGN_MODE_TEXTUAL = 2,
|
|
83
|
-
|
|
84
|
-
/**
|
|
85
|
-
* SIGN_MODE_DIRECT_AUX - SIGN_MODE_DIRECT_AUX specifies a signing mode which uses
|
|
86
|
-
* SignDocDirectAux. As opposed to SIGN_MODE_DIRECT, this sign mode does not
|
|
87
|
-
* require signers signing over other signers' `signer_info`. It also allows
|
|
88
|
-
* for adding Tips in transactions.
|
|
89
|
-
*
|
|
90
|
-
* Since: cosmos-sdk 0.46
|
|
91
|
-
*/
|
|
92
|
-
SIGN_MODE_DIRECT_AUX = 3,
|
|
93
|
-
|
|
94
|
-
/**
|
|
95
|
-
* SIGN_MODE_LEGACY_AMINO_JSON - SIGN_MODE_LEGACY_AMINO_JSON is a backwards compatibility mode which uses
|
|
96
|
-
* Amino JSON and will be removed in the future.
|
|
97
|
-
*/
|
|
98
|
-
SIGN_MODE_LEGACY_AMINO_JSON = 127,
|
|
99
|
-
UNRECOGNIZED = -1,
|
|
100
|
-
}
|
|
53
|
+
export const SignModeSDKType = SignMode;
|
|
101
54
|
export function signModeFromJSON(object: any): SignMode {
|
|
102
55
|
switch (object) {
|
|
103
56
|
case 0:
|
|
@@ -157,7 +110,6 @@ export interface SignatureDescriptors {
|
|
|
157
110
|
/** SignatureDescriptors wraps multiple SignatureDescriptor's. */
|
|
158
111
|
|
|
159
112
|
export interface SignatureDescriptorsSDKType {
|
|
160
|
-
/** signatures are the signature descriptors */
|
|
161
113
|
signatures: SignatureDescriptorSDKType[];
|
|
162
114
|
}
|
|
163
115
|
/**
|
|
@@ -187,15 +139,8 @@ export interface SignatureDescriptor {
|
|
|
187
139
|
*/
|
|
188
140
|
|
|
189
141
|
export interface SignatureDescriptorSDKType {
|
|
190
|
-
/** public_key is the public key of the signer */
|
|
191
142
|
public_key?: AnySDKType;
|
|
192
143
|
data?: SignatureDescriptor_DataSDKType;
|
|
193
|
-
/**
|
|
194
|
-
* sequence is the sequence of the account, which describes the
|
|
195
|
-
* number of committed transactions signed by a given address. It is used to prevent
|
|
196
|
-
* replay attacks.
|
|
197
|
-
*/
|
|
198
|
-
|
|
199
144
|
sequence: Long;
|
|
200
145
|
}
|
|
201
146
|
/** Data represents signature data */
|
|
@@ -210,10 +155,7 @@ export interface SignatureDescriptor_Data {
|
|
|
210
155
|
/** Data represents signature data */
|
|
211
156
|
|
|
212
157
|
export interface SignatureDescriptor_DataSDKType {
|
|
213
|
-
/** single represents a single signer */
|
|
214
158
|
single?: SignatureDescriptor_Data_SingleSDKType;
|
|
215
|
-
/** multi represents a multisig signer */
|
|
216
|
-
|
|
217
159
|
multi?: SignatureDescriptor_Data_MultiSDKType;
|
|
218
160
|
}
|
|
219
161
|
/** Single is the signature data for a single signer */
|
|
@@ -228,10 +170,7 @@ export interface SignatureDescriptor_Data_Single {
|
|
|
228
170
|
/** Single is the signature data for a single signer */
|
|
229
171
|
|
|
230
172
|
export interface SignatureDescriptor_Data_SingleSDKType {
|
|
231
|
-
|
|
232
|
-
mode: SignModeSDKType;
|
|
233
|
-
/** signature is the raw signature bytes */
|
|
234
|
-
|
|
173
|
+
mode: SignMode;
|
|
235
174
|
signature: Uint8Array;
|
|
236
175
|
}
|
|
237
176
|
/** Multi is the signature data for a multisig public key */
|
|
@@ -246,10 +185,7 @@ export interface SignatureDescriptor_Data_Multi {
|
|
|
246
185
|
/** Multi is the signature data for a multisig public key */
|
|
247
186
|
|
|
248
187
|
export interface SignatureDescriptor_Data_MultiSDKType {
|
|
249
|
-
/** bitarray specifies which keys within the multisig are signing */
|
|
250
188
|
bitarray?: CompactBitArraySDKType;
|
|
251
|
-
/** signatures is the signatures of the multi-signature */
|
|
252
|
-
|
|
253
189
|
signatures: SignatureDescriptor_DataSDKType[];
|
|
254
190
|
}
|
|
255
191
|
|
|
@@ -18,19 +18,7 @@ export enum OrderBy {
|
|
|
18
18
|
ORDER_BY_DESC = 2,
|
|
19
19
|
UNRECOGNIZED = -1,
|
|
20
20
|
}
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
export enum OrderBySDKType {
|
|
24
|
-
/** ORDER_BY_UNSPECIFIED - ORDER_BY_UNSPECIFIED specifies an unknown sorting order. OrderBy defaults to ASC in this case. */
|
|
25
|
-
ORDER_BY_UNSPECIFIED = 0,
|
|
26
|
-
|
|
27
|
-
/** ORDER_BY_ASC - ORDER_BY_ASC defines ascending order */
|
|
28
|
-
ORDER_BY_ASC = 1,
|
|
29
|
-
|
|
30
|
-
/** ORDER_BY_DESC - ORDER_BY_DESC defines descending order */
|
|
31
|
-
ORDER_BY_DESC = 2,
|
|
32
|
-
UNRECOGNIZED = -1,
|
|
33
|
-
}
|
|
21
|
+
export const OrderBySDKType = OrderBy;
|
|
34
22
|
export function orderByFromJSON(object: any): OrderBy {
|
|
35
23
|
switch (object) {
|
|
36
24
|
case 0:
|
|
@@ -92,31 +80,7 @@ export enum BroadcastMode {
|
|
|
92
80
|
BROADCAST_MODE_ASYNC = 3,
|
|
93
81
|
UNRECOGNIZED = -1,
|
|
94
82
|
}
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
export enum BroadcastModeSDKType {
|
|
98
|
-
/** BROADCAST_MODE_UNSPECIFIED - zero-value for mode ordering */
|
|
99
|
-
BROADCAST_MODE_UNSPECIFIED = 0,
|
|
100
|
-
|
|
101
|
-
/**
|
|
102
|
-
* BROADCAST_MODE_BLOCK - BROADCAST_MODE_BLOCK defines a tx broadcasting mode where the client waits for
|
|
103
|
-
* the tx to be committed in a block.
|
|
104
|
-
*/
|
|
105
|
-
BROADCAST_MODE_BLOCK = 1,
|
|
106
|
-
|
|
107
|
-
/**
|
|
108
|
-
* BROADCAST_MODE_SYNC - BROADCAST_MODE_SYNC defines a tx broadcasting mode where the client waits for
|
|
109
|
-
* a CheckTx execution response only.
|
|
110
|
-
*/
|
|
111
|
-
BROADCAST_MODE_SYNC = 2,
|
|
112
|
-
|
|
113
|
-
/**
|
|
114
|
-
* BROADCAST_MODE_ASYNC - BROADCAST_MODE_ASYNC defines a tx broadcasting mode where the client returns
|
|
115
|
-
* immediately.
|
|
116
|
-
*/
|
|
117
|
-
BROADCAST_MODE_ASYNC = 3,
|
|
118
|
-
UNRECOGNIZED = -1,
|
|
119
|
-
}
|
|
83
|
+
export const BroadcastModeSDKType = BroadcastMode;
|
|
120
84
|
export function broadcastModeFromJSON(object: any): BroadcastMode {
|
|
121
85
|
switch (object) {
|
|
122
86
|
case 0:
|
|
@@ -179,12 +143,9 @@ export interface GetTxsEventRequest {
|
|
|
179
143
|
*/
|
|
180
144
|
|
|
181
145
|
export interface GetTxsEventRequestSDKType {
|
|
182
|
-
/** events is the list of transaction event type. */
|
|
183
146
|
events: string[];
|
|
184
|
-
/** pagination defines a pagination for the request. */
|
|
185
|
-
|
|
186
147
|
pagination?: PageRequestSDKType;
|
|
187
|
-
order_by:
|
|
148
|
+
order_by: OrderBy;
|
|
188
149
|
}
|
|
189
150
|
/**
|
|
190
151
|
* GetTxsEventResponse is the response type for the Service.TxsByEvents
|
|
@@ -207,13 +168,8 @@ export interface GetTxsEventResponse {
|
|
|
207
168
|
*/
|
|
208
169
|
|
|
209
170
|
export interface GetTxsEventResponseSDKType {
|
|
210
|
-
/** txs is the list of queried transactions. */
|
|
211
171
|
txs: TxSDKType[];
|
|
212
|
-
/** tx_responses is the list of queried TxResponses. */
|
|
213
|
-
|
|
214
172
|
tx_responses: TxResponseSDKType[];
|
|
215
|
-
/** pagination defines a pagination for the response. */
|
|
216
|
-
|
|
217
173
|
pagination?: PageResponseSDKType;
|
|
218
174
|
}
|
|
219
175
|
/**
|
|
@@ -232,9 +188,8 @@ export interface BroadcastTxRequest {
|
|
|
232
188
|
*/
|
|
233
189
|
|
|
234
190
|
export interface BroadcastTxRequestSDKType {
|
|
235
|
-
/** tx_bytes is the raw transaction. */
|
|
236
191
|
tx_bytes: Uint8Array;
|
|
237
|
-
mode:
|
|
192
|
+
mode: BroadcastMode;
|
|
238
193
|
}
|
|
239
194
|
/**
|
|
240
195
|
* BroadcastTxResponse is the response type for the
|
|
@@ -251,7 +206,6 @@ export interface BroadcastTxResponse {
|
|
|
251
206
|
*/
|
|
252
207
|
|
|
253
208
|
export interface BroadcastTxResponseSDKType {
|
|
254
|
-
/** tx_response is the queried TxResponses. */
|
|
255
209
|
tx_response?: TxResponseSDKType;
|
|
256
210
|
}
|
|
257
211
|
/**
|
|
@@ -281,19 +235,8 @@ export interface SimulateRequest {
|
|
|
281
235
|
*/
|
|
282
236
|
|
|
283
237
|
export interface SimulateRequestSDKType {
|
|
284
|
-
/**
|
|
285
|
-
* tx is the transaction to simulate.
|
|
286
|
-
* Deprecated. Send raw tx bytes instead.
|
|
287
|
-
*/
|
|
288
|
-
|
|
289
238
|
/** @deprecated */
|
|
290
239
|
tx?: TxSDKType;
|
|
291
|
-
/**
|
|
292
|
-
* tx_bytes is the raw transaction.
|
|
293
|
-
*
|
|
294
|
-
* Since: cosmos-sdk 0.43
|
|
295
|
-
*/
|
|
296
|
-
|
|
297
240
|
tx_bytes: Uint8Array;
|
|
298
241
|
}
|
|
299
242
|
/**
|
|
@@ -314,10 +257,7 @@ export interface SimulateResponse {
|
|
|
314
257
|
*/
|
|
315
258
|
|
|
316
259
|
export interface SimulateResponseSDKType {
|
|
317
|
-
/** gas_info is the information about gas used in the simulation. */
|
|
318
260
|
gas_info?: GasInfoSDKType;
|
|
319
|
-
/** result is the result of the simulation. */
|
|
320
|
-
|
|
321
261
|
result?: ResultSDKType;
|
|
322
262
|
}
|
|
323
263
|
/**
|
|
@@ -335,7 +275,6 @@ export interface GetTxRequest {
|
|
|
335
275
|
*/
|
|
336
276
|
|
|
337
277
|
export interface GetTxRequestSDKType {
|
|
338
|
-
/** hash is the tx hash to query, encoded as a hex string. */
|
|
339
278
|
hash: string;
|
|
340
279
|
}
|
|
341
280
|
/** GetTxResponse is the response type for the Service.GetTx method. */
|
|
@@ -350,10 +289,7 @@ export interface GetTxResponse {
|
|
|
350
289
|
/** GetTxResponse is the response type for the Service.GetTx method. */
|
|
351
290
|
|
|
352
291
|
export interface GetTxResponseSDKType {
|
|
353
|
-
/** tx is the queried transaction. */
|
|
354
292
|
tx?: TxSDKType;
|
|
355
|
-
/** tx_response is the queried TxResponses. */
|
|
356
|
-
|
|
357
293
|
tx_response?: TxResponseSDKType;
|
|
358
294
|
}
|
|
359
295
|
/**
|
|
@@ -378,10 +314,7 @@ export interface GetBlockWithTxsRequest {
|
|
|
378
314
|
*/
|
|
379
315
|
|
|
380
316
|
export interface GetBlockWithTxsRequestSDKType {
|
|
381
|
-
/** height is the height of the block to query. */
|
|
382
317
|
height: Long;
|
|
383
|
-
/** pagination defines a pagination for the request. */
|
|
384
|
-
|
|
385
318
|
pagination?: PageRequestSDKType;
|
|
386
319
|
}
|
|
387
320
|
/**
|
|
@@ -406,12 +339,9 @@ export interface GetBlockWithTxsResponse {
|
|
|
406
339
|
*/
|
|
407
340
|
|
|
408
341
|
export interface GetBlockWithTxsResponseSDKType {
|
|
409
|
-
/** txs are the transactions in the block. */
|
|
410
342
|
txs: TxSDKType[];
|
|
411
343
|
block_id?: BlockIDSDKType;
|
|
412
344
|
block?: BlockSDKType;
|
|
413
|
-
/** pagination defines a pagination for the response. */
|
|
414
|
-
|
|
415
345
|
pagination?: PageResponseSDKType;
|
|
416
346
|
}
|
|
417
347
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Any, AnySDKType } from "../../../google/protobuf/any";
|
|
2
|
-
import { SignMode
|
|
2
|
+
import { SignMode } from "../signing/v1beta1/signing";
|
|
3
3
|
import { CompactBitArray, CompactBitArraySDKType } from "../../crypto/multisig/v1beta1/multisig";
|
|
4
4
|
import { Coin, CoinSDKType } from "../../base/v1beta1/coin";
|
|
5
5
|
import * as _m0 from "protobufjs/minimal";
|
|
@@ -26,20 +26,8 @@ export interface Tx {
|
|
|
26
26
|
/** Tx is the standard type used for broadcasting transactions. */
|
|
27
27
|
|
|
28
28
|
export interface TxSDKType {
|
|
29
|
-
/** body is the processable content of the transaction */
|
|
30
29
|
body?: TxBodySDKType;
|
|
31
|
-
/**
|
|
32
|
-
* auth_info is the authorization related content of the transaction,
|
|
33
|
-
* specifically signers, signer modes and fee
|
|
34
|
-
*/
|
|
35
|
-
|
|
36
30
|
auth_info?: AuthInfoSDKType;
|
|
37
|
-
/**
|
|
38
|
-
* signatures is a list of signatures that matches the length and order of
|
|
39
|
-
* AuthInfo's signer_infos to allow connecting signature meta information like
|
|
40
|
-
* public key and signing mode by position.
|
|
41
|
-
*/
|
|
42
|
-
|
|
43
31
|
signatures: Uint8Array[];
|
|
44
32
|
}
|
|
45
33
|
/**
|
|
@@ -79,23 +67,8 @@ export interface TxRaw {
|
|
|
79
67
|
*/
|
|
80
68
|
|
|
81
69
|
export interface TxRawSDKType {
|
|
82
|
-
/**
|
|
83
|
-
* body_bytes is a protobuf serialization of a TxBody that matches the
|
|
84
|
-
* representation in SignDoc.
|
|
85
|
-
*/
|
|
86
70
|
body_bytes: Uint8Array;
|
|
87
|
-
/**
|
|
88
|
-
* auth_info_bytes is a protobuf serialization of an AuthInfo that matches the
|
|
89
|
-
* representation in SignDoc.
|
|
90
|
-
*/
|
|
91
|
-
|
|
92
71
|
auth_info_bytes: Uint8Array;
|
|
93
|
-
/**
|
|
94
|
-
* signatures is a list of signatures that matches the length and order of
|
|
95
|
-
* AuthInfo's signer_infos to allow connecting signature meta information like
|
|
96
|
-
* public key and signing mode by position.
|
|
97
|
-
*/
|
|
98
|
-
|
|
99
72
|
signatures: Uint8Array[];
|
|
100
73
|
}
|
|
101
74
|
/** SignDoc is the type used for generating sign bytes for SIGN_MODE_DIRECT. */
|
|
@@ -126,26 +99,9 @@ export interface SignDoc {
|
|
|
126
99
|
/** SignDoc is the type used for generating sign bytes for SIGN_MODE_DIRECT. */
|
|
127
100
|
|
|
128
101
|
export interface SignDocSDKType {
|
|
129
|
-
/**
|
|
130
|
-
* body_bytes is protobuf serialization of a TxBody that matches the
|
|
131
|
-
* representation in TxRaw.
|
|
132
|
-
*/
|
|
133
102
|
body_bytes: Uint8Array;
|
|
134
|
-
/**
|
|
135
|
-
* auth_info_bytes is a protobuf serialization of an AuthInfo that matches the
|
|
136
|
-
* representation in TxRaw.
|
|
137
|
-
*/
|
|
138
|
-
|
|
139
103
|
auth_info_bytes: Uint8Array;
|
|
140
|
-
/**
|
|
141
|
-
* chain_id is the unique identifier of the chain this transaction targets.
|
|
142
|
-
* It prevents signed transactions from being used on another chain by an
|
|
143
|
-
* attacker
|
|
144
|
-
*/
|
|
145
|
-
|
|
146
104
|
chain_id: string;
|
|
147
|
-
/** account_number is the account number of the account in state */
|
|
148
|
-
|
|
149
105
|
account_number: Long;
|
|
150
106
|
}
|
|
151
107
|
/**
|
|
@@ -192,32 +148,11 @@ export interface SignDocDirectAux {
|
|
|
192
148
|
*/
|
|
193
149
|
|
|
194
150
|
export interface SignDocDirectAuxSDKType {
|
|
195
|
-
/**
|
|
196
|
-
* body_bytes is protobuf serialization of a TxBody that matches the
|
|
197
|
-
* representation in TxRaw.
|
|
198
|
-
*/
|
|
199
151
|
body_bytes: Uint8Array;
|
|
200
|
-
/** public_key is the public key of the signing account. */
|
|
201
|
-
|
|
202
152
|
public_key?: AnySDKType;
|
|
203
|
-
/**
|
|
204
|
-
* chain_id is the identifier of the chain this transaction targets.
|
|
205
|
-
* It prevents signed transactions from being used on another chain by an
|
|
206
|
-
* attacker.
|
|
207
|
-
*/
|
|
208
|
-
|
|
209
153
|
chain_id: string;
|
|
210
|
-
/** account_number is the account number of the account in state. */
|
|
211
|
-
|
|
212
154
|
account_number: Long;
|
|
213
|
-
/** sequence is the sequence number of the signing account. */
|
|
214
|
-
|
|
215
155
|
sequence: Long;
|
|
216
|
-
/**
|
|
217
|
-
* Tip is the optional tip used for meta-transactions. It should be left
|
|
218
|
-
* empty if the signer is not the tipper for this transaction.
|
|
219
|
-
*/
|
|
220
|
-
|
|
221
156
|
tip?: TipSDKType;
|
|
222
157
|
}
|
|
223
158
|
/** TxBody is the body of a transaction that all signers sign over. */
|
|
@@ -264,42 +199,10 @@ export interface TxBody {
|
|
|
264
199
|
/** TxBody is the body of a transaction that all signers sign over. */
|
|
265
200
|
|
|
266
201
|
export interface TxBodySDKType {
|
|
267
|
-
/**
|
|
268
|
-
* messages is a list of messages to be executed. The required signers of
|
|
269
|
-
* those messages define the number and order of elements in AuthInfo's
|
|
270
|
-
* signer_infos and Tx's signatures. Each required signer address is added to
|
|
271
|
-
* the list only the first time it occurs.
|
|
272
|
-
* By convention, the first required signer (usually from the first message)
|
|
273
|
-
* is referred to as the primary signer and pays the fee for the whole
|
|
274
|
-
* transaction.
|
|
275
|
-
*/
|
|
276
202
|
messages: AnySDKType[];
|
|
277
|
-
/**
|
|
278
|
-
* memo is any arbitrary note/comment to be added to the transaction.
|
|
279
|
-
* WARNING: in clients, any publicly exposed text should not be called memo,
|
|
280
|
-
* but should be called `note` instead (see https://github.com/cosmos/cosmos-sdk/issues/9122).
|
|
281
|
-
*/
|
|
282
|
-
|
|
283
203
|
memo: string;
|
|
284
|
-
/**
|
|
285
|
-
* timeout is the block height after which this transaction will not
|
|
286
|
-
* be processed by the chain
|
|
287
|
-
*/
|
|
288
|
-
|
|
289
204
|
timeout_height: Long;
|
|
290
|
-
/**
|
|
291
|
-
* extension_options are arbitrary options that can be added by chains
|
|
292
|
-
* when the default options are not sufficient. If any of these are present
|
|
293
|
-
* and can't be handled, the transaction will be rejected
|
|
294
|
-
*/
|
|
295
|
-
|
|
296
205
|
extension_options: AnySDKType[];
|
|
297
|
-
/**
|
|
298
|
-
* extension_options are arbitrary options that can be added by chains
|
|
299
|
-
* when the default options are not sufficient. If any of these are present
|
|
300
|
-
* and can't be handled, they will be ignored
|
|
301
|
-
*/
|
|
302
|
-
|
|
303
206
|
non_critical_extension_options: AnySDKType[];
|
|
304
207
|
}
|
|
305
208
|
/**
|
|
@@ -337,27 +240,8 @@ export interface AuthInfo {
|
|
|
337
240
|
*/
|
|
338
241
|
|
|
339
242
|
export interface AuthInfoSDKType {
|
|
340
|
-
/**
|
|
341
|
-
* signer_infos defines the signing modes for the required signers. The number
|
|
342
|
-
* and order of elements must match the required signers from TxBody's
|
|
343
|
-
* messages. The first element is the primary signer and the one which pays
|
|
344
|
-
* the fee.
|
|
345
|
-
*/
|
|
346
243
|
signer_infos: SignerInfoSDKType[];
|
|
347
|
-
/**
|
|
348
|
-
* Fee is the fee and gas limit for the transaction. The first signer is the
|
|
349
|
-
* primary signer and the one which pays the fee. The fee can be calculated
|
|
350
|
-
* based on the cost of evaluating the body and doing signature verification
|
|
351
|
-
* of the signers. This can be estimated via simulation.
|
|
352
|
-
*/
|
|
353
|
-
|
|
354
244
|
fee?: FeeSDKType;
|
|
355
|
-
/**
|
|
356
|
-
* Tip is the optional tip used for meta-transactions.
|
|
357
|
-
*
|
|
358
|
-
* Since: cosmos-sdk 0.46
|
|
359
|
-
*/
|
|
360
|
-
|
|
361
245
|
tip?: TipSDKType;
|
|
362
246
|
}
|
|
363
247
|
/**
|
|
@@ -392,24 +276,8 @@ export interface SignerInfo {
|
|
|
392
276
|
*/
|
|
393
277
|
|
|
394
278
|
export interface SignerInfoSDKType {
|
|
395
|
-
/**
|
|
396
|
-
* public_key is the public key of the signer. It is optional for accounts
|
|
397
|
-
* that already exist in state. If unset, the verifier can use the required \
|
|
398
|
-
* signer address for this position and lookup the public key.
|
|
399
|
-
*/
|
|
400
279
|
public_key?: AnySDKType;
|
|
401
|
-
/**
|
|
402
|
-
* mode_info describes the signing mode of the signer and is a nested
|
|
403
|
-
* structure to support nested multisig pubkey's
|
|
404
|
-
*/
|
|
405
|
-
|
|
406
280
|
mode_info?: ModeInfoSDKType;
|
|
407
|
-
/**
|
|
408
|
-
* sequence is the sequence of the account, which describes the
|
|
409
|
-
* number of committed transactions signed by a given address. It is used to
|
|
410
|
-
* prevent replay attacks.
|
|
411
|
-
*/
|
|
412
|
-
|
|
413
281
|
sequence: Long;
|
|
414
282
|
}
|
|
415
283
|
/** ModeInfo describes the signing mode of a single or nested multisig signer. */
|
|
@@ -424,10 +292,7 @@ export interface ModeInfo {
|
|
|
424
292
|
/** ModeInfo describes the signing mode of a single or nested multisig signer. */
|
|
425
293
|
|
|
426
294
|
export interface ModeInfoSDKType {
|
|
427
|
-
/** single represents a single signer */
|
|
428
295
|
single?: ModeInfo_SingleSDKType;
|
|
429
|
-
/** multi represents a nested multisig signer */
|
|
430
|
-
|
|
431
296
|
multi?: ModeInfo_MultiSDKType;
|
|
432
297
|
}
|
|
433
298
|
/**
|
|
@@ -447,8 +312,7 @@ export interface ModeInfo_Single {
|
|
|
447
312
|
*/
|
|
448
313
|
|
|
449
314
|
export interface ModeInfo_SingleSDKType {
|
|
450
|
-
|
|
451
|
-
mode: SignModeSDKType;
|
|
315
|
+
mode: SignMode;
|
|
452
316
|
}
|
|
453
317
|
/** Multi is the mode info for a multisig public key */
|
|
454
318
|
|
|
@@ -465,13 +329,7 @@ export interface ModeInfo_Multi {
|
|
|
465
329
|
/** Multi is the mode info for a multisig public key */
|
|
466
330
|
|
|
467
331
|
export interface ModeInfo_MultiSDKType {
|
|
468
|
-
/** bitarray specifies which keys within the multisig are signing */
|
|
469
332
|
bitarray?: CompactBitArraySDKType;
|
|
470
|
-
/**
|
|
471
|
-
* mode_infos is the corresponding modes of the signers of the multisig
|
|
472
|
-
* which could include nested multisig public keys
|
|
473
|
-
*/
|
|
474
|
-
|
|
475
333
|
mode_infos: ModeInfoSDKType[];
|
|
476
334
|
}
|
|
477
335
|
/**
|
|
@@ -511,27 +369,9 @@ export interface Fee {
|
|
|
511
369
|
*/
|
|
512
370
|
|
|
513
371
|
export interface FeeSDKType {
|
|
514
|
-
/** amount is the amount of coins to be paid as a fee */
|
|
515
372
|
amount: CoinSDKType[];
|
|
516
|
-
/**
|
|
517
|
-
* gas_limit is the maximum gas that can be used in transaction processing
|
|
518
|
-
* before an out of gas error occurs
|
|
519
|
-
*/
|
|
520
|
-
|
|
521
373
|
gas_limit: Long;
|
|
522
|
-
/**
|
|
523
|
-
* if unset, the first signer is responsible for paying the fees. If set, the specified account must pay the fees.
|
|
524
|
-
* the payer must be a tx signer (and thus have signed this field in AuthInfo).
|
|
525
|
-
* setting this field does *not* change the ordering of required signers for the transaction.
|
|
526
|
-
*/
|
|
527
|
-
|
|
528
374
|
payer: string;
|
|
529
|
-
/**
|
|
530
|
-
* if set, the fee payer (either the first signer or the value of the payer field) requests that a fee grant be used
|
|
531
|
-
* to pay fees instead of the fee payer's own balance. If an appropriate fee grant does not exist or the chain does
|
|
532
|
-
* not support fee grants, this will fail
|
|
533
|
-
*/
|
|
534
|
-
|
|
535
375
|
granter: string;
|
|
536
376
|
}
|
|
537
377
|
/**
|
|
@@ -554,10 +394,7 @@ export interface Tip {
|
|
|
554
394
|
*/
|
|
555
395
|
|
|
556
396
|
export interface TipSDKType {
|
|
557
|
-
/** amount is the amount of the tip */
|
|
558
397
|
amount: CoinSDKType[];
|
|
559
|
-
/** tipper is the address of the account paying for the tip */
|
|
560
|
-
|
|
561
398
|
tipper: string;
|
|
562
399
|
}
|
|
563
400
|
/**
|
|
@@ -600,24 +437,9 @@ export interface AuxSignerData {
|
|
|
600
437
|
*/
|
|
601
438
|
|
|
602
439
|
export interface AuxSignerDataSDKType {
|
|
603
|
-
/**
|
|
604
|
-
* address is the bech32-encoded address of the auxiliary signer. If using
|
|
605
|
-
* AuxSignerData across different chains, the bech32 prefix of the target
|
|
606
|
-
* chain (where the final transaction is broadcasted) should be used.
|
|
607
|
-
*/
|
|
608
440
|
address: string;
|
|
609
|
-
/**
|
|
610
|
-
* sign_doc is the SIGN_MOD_DIRECT_AUX sign doc that the auxiliary signer
|
|
611
|
-
* signs. Note: we use the same sign doc even if we're signing with
|
|
612
|
-
* LEGACY_AMINO_JSON.
|
|
613
|
-
*/
|
|
614
|
-
|
|
615
441
|
sign_doc?: SignDocDirectAuxSDKType;
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
mode: SignModeSDKType;
|
|
619
|
-
/** sig is the signature of the sign doc. */
|
|
620
|
-
|
|
442
|
+
mode: SignMode;
|
|
621
443
|
sig: Uint8Array;
|
|
622
444
|
}
|
|
623
445
|
|
|
@@ -28,7 +28,6 @@ export interface QueryCurrentPlanResponse {
|
|
|
28
28
|
*/
|
|
29
29
|
|
|
30
30
|
export interface QueryCurrentPlanResponseSDKType {
|
|
31
|
-
/** plan is the current upgrade plan. */
|
|
32
31
|
plan?: PlanSDKType;
|
|
33
32
|
}
|
|
34
33
|
/**
|
|
@@ -46,7 +45,6 @@ export interface QueryAppliedPlanRequest {
|
|
|
46
45
|
*/
|
|
47
46
|
|
|
48
47
|
export interface QueryAppliedPlanRequestSDKType {
|
|
49
|
-
/** name is the name of the applied plan to query for. */
|
|
50
48
|
name: string;
|
|
51
49
|
}
|
|
52
50
|
/**
|
|
@@ -64,7 +62,6 @@ export interface QueryAppliedPlanResponse {
|
|
|
64
62
|
*/
|
|
65
63
|
|
|
66
64
|
export interface QueryAppliedPlanResponseSDKType {
|
|
67
|
-
/** height is the block height at which the plan was applied. */
|
|
68
65
|
height: Long;
|
|
69
66
|
}
|
|
70
67
|
/**
|
|
@@ -89,10 +86,6 @@ export interface QueryUpgradedConsensusStateRequest {
|
|
|
89
86
|
/** @deprecated */
|
|
90
87
|
|
|
91
88
|
export interface QueryUpgradedConsensusStateRequestSDKType {
|
|
92
|
-
/**
|
|
93
|
-
* last height of the current chain must be sent in request
|
|
94
|
-
* as this is the height under which next consensus state is stored
|
|
95
|
-
*/
|
|
96
89
|
last_height: Long;
|
|
97
90
|
}
|
|
98
91
|
/**
|
|
@@ -114,7 +107,6 @@ export interface QueryUpgradedConsensusStateResponse {
|
|
|
114
107
|
/** @deprecated */
|
|
115
108
|
|
|
116
109
|
export interface QueryUpgradedConsensusStateResponseSDKType {
|
|
117
|
-
/** Since: cosmos-sdk 0.43 */
|
|
118
110
|
upgraded_consensus_state: Uint8Array;
|
|
119
111
|
}
|
|
120
112
|
/**
|
|
@@ -140,11 +132,6 @@ export interface QueryModuleVersionsRequest {
|
|
|
140
132
|
*/
|
|
141
133
|
|
|
142
134
|
export interface QueryModuleVersionsRequestSDKType {
|
|
143
|
-
/**
|
|
144
|
-
* module_name is a field to query a specific module
|
|
145
|
-
* consensus version from state. Leaving this empty will
|
|
146
|
-
* fetch the full list of module versions from state
|
|
147
|
-
*/
|
|
148
135
|
module_name: string;
|
|
149
136
|
}
|
|
150
137
|
/**
|
|
@@ -166,7 +153,6 @@ export interface QueryModuleVersionsResponse {
|
|
|
166
153
|
*/
|
|
167
154
|
|
|
168
155
|
export interface QueryModuleVersionsResponseSDKType {
|
|
169
|
-
/** module_versions is a list of module names with their consensus versions. */
|
|
170
156
|
module_versions: ModuleVersionSDKType[];
|
|
171
157
|
}
|
|
172
158
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AminoMsg } from "@cosmjs/amino";
|
|
2
2
|
import { Long } from "../../../helpers";
|
|
3
3
|
import { MsgSoftwareUpgrade, MsgCancelUpgrade } from "./tx";
|
|
4
|
-
export interface
|
|
4
|
+
export interface MsgSoftwareUpgradeAminoType extends AminoMsg {
|
|
5
5
|
type: "cosmos-sdk/MsgSoftwareUpgrade";
|
|
6
6
|
value: {
|
|
7
7
|
authority: string;
|
|
@@ -20,7 +20,7 @@ export interface AminoMsgSoftwareUpgrade extends AminoMsg {
|
|
|
20
20
|
};
|
|
21
21
|
};
|
|
22
22
|
}
|
|
23
|
-
export interface
|
|
23
|
+
export interface MsgCancelUpgradeAminoType extends AminoMsg {
|
|
24
24
|
type: "cosmos-sdk/MsgCancelUpgrade";
|
|
25
25
|
value: {
|
|
26
26
|
authority: string;
|
|
@@ -32,7 +32,7 @@ export const AminoConverter = {
|
|
|
32
32
|
toAmino: ({
|
|
33
33
|
authority,
|
|
34
34
|
plan
|
|
35
|
-
}: MsgSoftwareUpgrade):
|
|
35
|
+
}: MsgSoftwareUpgrade): MsgSoftwareUpgradeAminoType["value"] => {
|
|
36
36
|
return {
|
|
37
37
|
authority,
|
|
38
38
|
plan: {
|
|
@@ -50,7 +50,7 @@ export const AminoConverter = {
|
|
|
50
50
|
fromAmino: ({
|
|
51
51
|
authority,
|
|
52
52
|
plan
|
|
53
|
-
}:
|
|
53
|
+
}: MsgSoftwareUpgradeAminoType["value"]): MsgSoftwareUpgrade => {
|
|
54
54
|
return {
|
|
55
55
|
authority,
|
|
56
56
|
plan: {
|
|
@@ -70,14 +70,14 @@ export const AminoConverter = {
|
|
|
70
70
|
aminoType: "cosmos-sdk/MsgCancelUpgrade",
|
|
71
71
|
toAmino: ({
|
|
72
72
|
authority
|
|
73
|
-
}: MsgCancelUpgrade):
|
|
73
|
+
}: MsgCancelUpgrade): MsgCancelUpgradeAminoType["value"] => {
|
|
74
74
|
return {
|
|
75
75
|
authority
|
|
76
76
|
};
|
|
77
77
|
},
|
|
78
78
|
fromAmino: ({
|
|
79
79
|
authority
|
|
80
|
-
}:
|
|
80
|
+
}: MsgCancelUpgradeAminoType["value"]): MsgCancelUpgrade => {
|
|
81
81
|
return {
|
|
82
82
|
authority
|
|
83
83
|
};
|