@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
|
@@ -14,10 +14,7 @@ export interface QueryAllowanceRequest {
|
|
|
14
14
|
/** QueryAllowanceRequest is the request type for the Query/Allowance RPC method. */
|
|
15
15
|
|
|
16
16
|
export interface QueryAllowanceRequestSDKType {
|
|
17
|
-
/** granter is the address of the user granting an allowance of their funds. */
|
|
18
17
|
granter: string;
|
|
19
|
-
/** grantee is the address of the user being granted an allowance of another user's funds. */
|
|
20
|
-
|
|
21
18
|
grantee: string;
|
|
22
19
|
}
|
|
23
20
|
/** QueryAllowanceResponse is the response type for the Query/Allowance RPC method. */
|
|
@@ -29,7 +26,6 @@ export interface QueryAllowanceResponse {
|
|
|
29
26
|
/** QueryAllowanceResponse is the response type for the Query/Allowance RPC method. */
|
|
30
27
|
|
|
31
28
|
export interface QueryAllowanceResponseSDKType {
|
|
32
|
-
/** allowance is a allowance granted for grantee by granter. */
|
|
33
29
|
allowance?: GrantSDKType;
|
|
34
30
|
}
|
|
35
31
|
/** QueryAllowancesRequest is the request type for the Query/Allowances RPC method. */
|
|
@@ -44,8 +40,6 @@ export interface QueryAllowancesRequest {
|
|
|
44
40
|
|
|
45
41
|
export interface QueryAllowancesRequestSDKType {
|
|
46
42
|
grantee: string;
|
|
47
|
-
/** pagination defines an pagination for the request. */
|
|
48
|
-
|
|
49
43
|
pagination?: PageRequestSDKType;
|
|
50
44
|
}
|
|
51
45
|
/** QueryAllowancesResponse is the response type for the Query/Allowances RPC method. */
|
|
@@ -60,10 +54,7 @@ export interface QueryAllowancesResponse {
|
|
|
60
54
|
/** QueryAllowancesResponse is the response type for the Query/Allowances RPC method. */
|
|
61
55
|
|
|
62
56
|
export interface QueryAllowancesResponseSDKType {
|
|
63
|
-
/** allowances are allowance's granted for grantee by granter. */
|
|
64
57
|
allowances: GrantSDKType[];
|
|
65
|
-
/** pagination defines an pagination for the response. */
|
|
66
|
-
|
|
67
58
|
pagination?: PageResponseSDKType;
|
|
68
59
|
}
|
|
69
60
|
/** QueryAllowancesByGranterRequest is the request type for the Query/AllowancesByGranter RPC method. */
|
|
@@ -78,8 +69,6 @@ export interface QueryAllowancesByGranterRequest {
|
|
|
78
69
|
|
|
79
70
|
export interface QueryAllowancesByGranterRequestSDKType {
|
|
80
71
|
granter: string;
|
|
81
|
-
/** pagination defines an pagination for the request. */
|
|
82
|
-
|
|
83
72
|
pagination?: PageRequestSDKType;
|
|
84
73
|
}
|
|
85
74
|
/** QueryAllowancesByGranterResponse is the response type for the Query/AllowancesByGranter RPC method. */
|
|
@@ -94,10 +83,7 @@ export interface QueryAllowancesByGranterResponse {
|
|
|
94
83
|
/** QueryAllowancesByGranterResponse is the response type for the Query/AllowancesByGranter RPC method. */
|
|
95
84
|
|
|
96
85
|
export interface QueryAllowancesByGranterResponseSDKType {
|
|
97
|
-
/** allowances that have been issued by the granter. */
|
|
98
86
|
allowances: GrantSDKType[];
|
|
99
|
-
/** pagination defines an pagination for the response. */
|
|
100
|
-
|
|
101
87
|
pagination?: PageResponseSDKType;
|
|
102
88
|
}
|
|
103
89
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AminoMsg } from "@cosmjs/amino";
|
|
2
2
|
import { MsgGrantAllowance, MsgRevokeAllowance } from "./tx";
|
|
3
|
-
export interface
|
|
3
|
+
export interface MsgGrantAllowanceAminoType extends AminoMsg {
|
|
4
4
|
type: "cosmos-sdk/MsgGrantAllowance";
|
|
5
5
|
value: {
|
|
6
6
|
granter: string;
|
|
@@ -11,7 +11,7 @@ export interface AminoMsgGrantAllowance extends AminoMsg {
|
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
13
|
}
|
|
14
|
-
export interface
|
|
14
|
+
export interface MsgRevokeAllowanceAminoType extends AminoMsg {
|
|
15
15
|
type: "cosmos-sdk/MsgRevokeAllowance";
|
|
16
16
|
value: {
|
|
17
17
|
granter: string;
|
|
@@ -25,7 +25,7 @@ export const AminoConverter = {
|
|
|
25
25
|
granter,
|
|
26
26
|
grantee,
|
|
27
27
|
allowance
|
|
28
|
-
}: MsgGrantAllowance):
|
|
28
|
+
}: MsgGrantAllowance): MsgGrantAllowanceAminoType["value"] => {
|
|
29
29
|
return {
|
|
30
30
|
granter,
|
|
31
31
|
grantee,
|
|
@@ -39,7 +39,7 @@ export const AminoConverter = {
|
|
|
39
39
|
granter,
|
|
40
40
|
grantee,
|
|
41
41
|
allowance
|
|
42
|
-
}:
|
|
42
|
+
}: MsgGrantAllowanceAminoType["value"]): MsgGrantAllowance => {
|
|
43
43
|
return {
|
|
44
44
|
granter,
|
|
45
45
|
grantee,
|
|
@@ -55,7 +55,7 @@ export const AminoConverter = {
|
|
|
55
55
|
toAmino: ({
|
|
56
56
|
granter,
|
|
57
57
|
grantee
|
|
58
|
-
}: MsgRevokeAllowance):
|
|
58
|
+
}: MsgRevokeAllowance): MsgRevokeAllowanceAminoType["value"] => {
|
|
59
59
|
return {
|
|
60
60
|
granter,
|
|
61
61
|
grantee
|
|
@@ -64,7 +64,7 @@ export const AminoConverter = {
|
|
|
64
64
|
fromAmino: ({
|
|
65
65
|
granter,
|
|
66
66
|
grantee
|
|
67
|
-
}:
|
|
67
|
+
}: MsgRevokeAllowanceAminoType["value"]): MsgRevokeAllowance => {
|
|
68
68
|
return {
|
|
69
69
|
granter,
|
|
70
70
|
grantee
|
|
@@ -22,13 +22,8 @@ export interface MsgGrantAllowance {
|
|
|
22
22
|
*/
|
|
23
23
|
|
|
24
24
|
export interface MsgGrantAllowanceSDKType {
|
|
25
|
-
/** granter is the address of the user granting an allowance of their funds. */
|
|
26
25
|
granter: string;
|
|
27
|
-
/** grantee is the address of the user being granted an allowance of another user's funds. */
|
|
28
|
-
|
|
29
26
|
grantee: string;
|
|
30
|
-
/** allowance can be any of basic, periodic, allowed fee allowance. */
|
|
31
|
-
|
|
32
27
|
allowance?: AnySDKType;
|
|
33
28
|
}
|
|
34
29
|
/** MsgGrantAllowanceResponse defines the Msg/GrantAllowanceResponse response type. */
|
|
@@ -49,10 +44,7 @@ export interface MsgRevokeAllowance {
|
|
|
49
44
|
/** MsgRevokeAllowance removes any existing Allowance from Granter to Grantee. */
|
|
50
45
|
|
|
51
46
|
export interface MsgRevokeAllowanceSDKType {
|
|
52
|
-
/** granter is the address of the user granting an allowance of their funds. */
|
|
53
47
|
granter: string;
|
|
54
|
-
/** grantee is the address of the user being granted an allowance of another user's funds. */
|
|
55
|
-
|
|
56
48
|
grantee: string;
|
|
57
49
|
}
|
|
58
50
|
/** MsgRevokeAllowanceResponse defines the Msg/RevokeAllowanceResponse response type. */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Deposit, DepositSDKType, Vote, VoteSDKType, Proposal, ProposalSDKType, DepositParams, DepositParamsSDKType, VotingParams, VotingParamsSDKType, TallyParams, TallyParamsSDKType } from "./gov";
|
|
2
|
-
import * as _m0 from "protobufjs/minimal";
|
|
3
2
|
import { Long, DeepPartial } from "../../../helpers";
|
|
3
|
+
import * as _m0 from "protobufjs/minimal";
|
|
4
4
|
/** GenesisState defines the gov module's genesis state. */
|
|
5
5
|
|
|
6
6
|
export interface GenesisState {
|
|
@@ -28,25 +28,12 @@ export interface GenesisState {
|
|
|
28
28
|
/** GenesisState defines the gov module's genesis state. */
|
|
29
29
|
|
|
30
30
|
export interface GenesisStateSDKType {
|
|
31
|
-
/** starting_proposal_id is the ID of the starting proposal. */
|
|
32
31
|
starting_proposal_id: Long;
|
|
33
|
-
/** deposits defines all the deposits present at genesis. */
|
|
34
|
-
|
|
35
32
|
deposits: DepositSDKType[];
|
|
36
|
-
/** votes defines all the votes present at genesis. */
|
|
37
|
-
|
|
38
33
|
votes: VoteSDKType[];
|
|
39
|
-
/** proposals defines all the proposals present at genesis. */
|
|
40
|
-
|
|
41
34
|
proposals: ProposalSDKType[];
|
|
42
|
-
/** params defines all the paramaters of related to deposit. */
|
|
43
|
-
|
|
44
35
|
deposit_params?: DepositParamsSDKType;
|
|
45
|
-
/** params defines all the paramaters of related to voting. */
|
|
46
|
-
|
|
47
36
|
voting_params?: VotingParamsSDKType;
|
|
48
|
-
/** params defines all the paramaters of related to tally. */
|
|
49
|
-
|
|
50
37
|
tally_params?: TallyParamsSDKType;
|
|
51
38
|
}
|
|
52
39
|
|
|
@@ -23,25 +23,7 @@ export enum VoteOption {
|
|
|
23
23
|
VOTE_OPTION_NO_WITH_VETO = 4,
|
|
24
24
|
UNRECOGNIZED = -1,
|
|
25
25
|
}
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
export enum VoteOptionSDKType {
|
|
29
|
-
/** VOTE_OPTION_UNSPECIFIED - VOTE_OPTION_UNSPECIFIED defines a no-op vote option. */
|
|
30
|
-
VOTE_OPTION_UNSPECIFIED = 0,
|
|
31
|
-
|
|
32
|
-
/** VOTE_OPTION_YES - VOTE_OPTION_YES defines a yes vote option. */
|
|
33
|
-
VOTE_OPTION_YES = 1,
|
|
34
|
-
|
|
35
|
-
/** VOTE_OPTION_ABSTAIN - VOTE_OPTION_ABSTAIN defines an abstain vote option. */
|
|
36
|
-
VOTE_OPTION_ABSTAIN = 2,
|
|
37
|
-
|
|
38
|
-
/** VOTE_OPTION_NO - VOTE_OPTION_NO defines a no vote option. */
|
|
39
|
-
VOTE_OPTION_NO = 3,
|
|
40
|
-
|
|
41
|
-
/** VOTE_OPTION_NO_WITH_VETO - VOTE_OPTION_NO_WITH_VETO defines a no with veto vote option. */
|
|
42
|
-
VOTE_OPTION_NO_WITH_VETO = 4,
|
|
43
|
-
UNRECOGNIZED = -1,
|
|
44
|
-
}
|
|
26
|
+
export const VoteOptionSDKType = VoteOption;
|
|
45
27
|
export function voteOptionFromJSON(object: any): VoteOption {
|
|
46
28
|
switch (object) {
|
|
47
29
|
case 0:
|
|
@@ -129,43 +111,7 @@ export enum ProposalStatus {
|
|
|
129
111
|
PROPOSAL_STATUS_FAILED = 5,
|
|
130
112
|
UNRECOGNIZED = -1,
|
|
131
113
|
}
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
export enum ProposalStatusSDKType {
|
|
135
|
-
/** PROPOSAL_STATUS_UNSPECIFIED - PROPOSAL_STATUS_UNSPECIFIED defines the default propopsal status. */
|
|
136
|
-
PROPOSAL_STATUS_UNSPECIFIED = 0,
|
|
137
|
-
|
|
138
|
-
/**
|
|
139
|
-
* PROPOSAL_STATUS_DEPOSIT_PERIOD - PROPOSAL_STATUS_DEPOSIT_PERIOD defines a proposal status during the deposit
|
|
140
|
-
* period.
|
|
141
|
-
*/
|
|
142
|
-
PROPOSAL_STATUS_DEPOSIT_PERIOD = 1,
|
|
143
|
-
|
|
144
|
-
/**
|
|
145
|
-
* PROPOSAL_STATUS_VOTING_PERIOD - PROPOSAL_STATUS_VOTING_PERIOD defines a proposal status during the voting
|
|
146
|
-
* period.
|
|
147
|
-
*/
|
|
148
|
-
PROPOSAL_STATUS_VOTING_PERIOD = 2,
|
|
149
|
-
|
|
150
|
-
/**
|
|
151
|
-
* PROPOSAL_STATUS_PASSED - PROPOSAL_STATUS_PASSED defines a proposal status of a proposal that has
|
|
152
|
-
* passed.
|
|
153
|
-
*/
|
|
154
|
-
PROPOSAL_STATUS_PASSED = 3,
|
|
155
|
-
|
|
156
|
-
/**
|
|
157
|
-
* PROPOSAL_STATUS_REJECTED - PROPOSAL_STATUS_REJECTED defines a proposal status of a proposal that has
|
|
158
|
-
* been rejected.
|
|
159
|
-
*/
|
|
160
|
-
PROPOSAL_STATUS_REJECTED = 4,
|
|
161
|
-
|
|
162
|
-
/**
|
|
163
|
-
* PROPOSAL_STATUS_FAILED - PROPOSAL_STATUS_FAILED defines a proposal status of a proposal that has
|
|
164
|
-
* failed.
|
|
165
|
-
*/
|
|
166
|
-
PROPOSAL_STATUS_FAILED = 5,
|
|
167
|
-
UNRECOGNIZED = -1,
|
|
168
|
-
}
|
|
114
|
+
export const ProposalStatusSDKType = ProposalStatus;
|
|
169
115
|
export function proposalStatusFromJSON(object: any): ProposalStatus {
|
|
170
116
|
switch (object) {
|
|
171
117
|
case 0:
|
|
@@ -232,7 +178,7 @@ export interface WeightedVoteOption {
|
|
|
232
178
|
/** WeightedVoteOption defines a unit of vote for vote split. */
|
|
233
179
|
|
|
234
180
|
export interface WeightedVoteOptionSDKType {
|
|
235
|
-
option:
|
|
181
|
+
option: VoteOption;
|
|
236
182
|
weight: string;
|
|
237
183
|
}
|
|
238
184
|
/**
|
|
@@ -282,21 +228,13 @@ export interface Proposal {
|
|
|
282
228
|
export interface ProposalSDKType {
|
|
283
229
|
id: Long;
|
|
284
230
|
messages: AnySDKType[];
|
|
285
|
-
status:
|
|
286
|
-
/**
|
|
287
|
-
* final_tally_result is the final tally result of the proposal. When
|
|
288
|
-
* querying a proposal via gRPC, this field is not populated until the
|
|
289
|
-
* proposal's voting period has ended.
|
|
290
|
-
*/
|
|
291
|
-
|
|
231
|
+
status: ProposalStatus;
|
|
292
232
|
final_tally_result?: TallyResultSDKType;
|
|
293
233
|
submit_time?: Date;
|
|
294
234
|
deposit_end_time?: Date;
|
|
295
235
|
total_deposit: CoinSDKType[];
|
|
296
236
|
voting_start_time?: Date;
|
|
297
237
|
voting_end_time?: Date;
|
|
298
|
-
/** metadata is any arbitrary metadata attached to the proposal. */
|
|
299
|
-
|
|
300
238
|
metadata: string;
|
|
301
239
|
}
|
|
302
240
|
/** TallyResult defines a standard tally for a governance proposal. */
|
|
@@ -337,8 +275,6 @@ export interface VoteSDKType {
|
|
|
337
275
|
proposal_id: Long;
|
|
338
276
|
voter: string;
|
|
339
277
|
options: WeightedVoteOptionSDKType[];
|
|
340
|
-
/** metadata is any arbitrary metadata to attached to the vote. */
|
|
341
|
-
|
|
342
278
|
metadata: string;
|
|
343
279
|
}
|
|
344
280
|
/** DepositParams defines the params for deposits on governance proposals. */
|
|
@@ -356,13 +292,7 @@ export interface DepositParams {
|
|
|
356
292
|
/** DepositParams defines the params for deposits on governance proposals. */
|
|
357
293
|
|
|
358
294
|
export interface DepositParamsSDKType {
|
|
359
|
-
/** Minimum deposit for a proposal to enter voting period. */
|
|
360
295
|
min_deposit: CoinSDKType[];
|
|
361
|
-
/**
|
|
362
|
-
* Maximum period for Atom holders to deposit on a proposal. Initial value: 2
|
|
363
|
-
* months.
|
|
364
|
-
*/
|
|
365
|
-
|
|
366
296
|
max_deposit_period?: DurationSDKType;
|
|
367
297
|
}
|
|
368
298
|
/** VotingParams defines the params for voting on governance proposals. */
|
|
@@ -374,7 +304,6 @@ export interface VotingParams {
|
|
|
374
304
|
/** VotingParams defines the params for voting on governance proposals. */
|
|
375
305
|
|
|
376
306
|
export interface VotingParamsSDKType {
|
|
377
|
-
/** Length of the voting period. */
|
|
378
307
|
voting_period?: DurationSDKType;
|
|
379
308
|
}
|
|
380
309
|
/** TallyParams defines the params for tallying votes on governance proposals. */
|
|
@@ -398,19 +327,8 @@ export interface TallyParams {
|
|
|
398
327
|
/** TallyParams defines the params for tallying votes on governance proposals. */
|
|
399
328
|
|
|
400
329
|
export interface TallyParamsSDKType {
|
|
401
|
-
/**
|
|
402
|
-
* Minimum percentage of total stake needed to vote for a result to be
|
|
403
|
-
* considered valid.
|
|
404
|
-
*/
|
|
405
330
|
quorum: string;
|
|
406
|
-
/** Minimum proportion of Yes votes for proposal to pass. Default value: 0.5. */
|
|
407
|
-
|
|
408
331
|
threshold: string;
|
|
409
|
-
/**
|
|
410
|
-
* Minimum value of Veto votes to Total votes ratio for proposal to be
|
|
411
|
-
* vetoed. Default value: 1/3.
|
|
412
|
-
*/
|
|
413
|
-
|
|
414
332
|
veto_threshold: string;
|
|
415
333
|
}
|
|
416
334
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ProposalStatus,
|
|
1
|
+
import { ProposalStatus, Proposal, ProposalSDKType, Vote, VoteSDKType, VotingParams, VotingParamsSDKType, DepositParams, DepositParamsSDKType, TallyParams, TallyParamsSDKType, Deposit, DepositSDKType, TallyResult, TallyResultSDKType } from "./gov";
|
|
2
2
|
import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../base/query/v1beta1/pagination";
|
|
3
|
-
import * as _m0 from "protobufjs/minimal";
|
|
4
3
|
import { Long, DeepPartial } from "../../../helpers";
|
|
4
|
+
import * as _m0 from "protobufjs/minimal";
|
|
5
5
|
/** QueryProposalRequest is the request type for the Query/Proposal RPC method. */
|
|
6
6
|
|
|
7
7
|
export interface QueryProposalRequest {
|
|
@@ -11,7 +11,6 @@ export interface QueryProposalRequest {
|
|
|
11
11
|
/** QueryProposalRequest is the request type for the Query/Proposal RPC method. */
|
|
12
12
|
|
|
13
13
|
export interface QueryProposalRequestSDKType {
|
|
14
|
-
/** proposal_id defines the unique id of the proposal. */
|
|
15
14
|
proposal_id: Long;
|
|
16
15
|
}
|
|
17
16
|
/** QueryProposalResponse is the response type for the Query/Proposal RPC method. */
|
|
@@ -42,16 +41,9 @@ export interface QueryProposalsRequest {
|
|
|
42
41
|
/** QueryProposalsRequest is the request type for the Query/Proposals RPC method. */
|
|
43
42
|
|
|
44
43
|
export interface QueryProposalsRequestSDKType {
|
|
45
|
-
|
|
46
|
-
proposal_status: ProposalStatusSDKType;
|
|
47
|
-
/** voter defines the voter address for the proposals. */
|
|
48
|
-
|
|
44
|
+
proposal_status: ProposalStatus;
|
|
49
45
|
voter: string;
|
|
50
|
-
/** depositor defines the deposit addresses from the proposals. */
|
|
51
|
-
|
|
52
46
|
depositor: string;
|
|
53
|
-
/** pagination defines an optional pagination for the request. */
|
|
54
|
-
|
|
55
47
|
pagination?: PageRequestSDKType;
|
|
56
48
|
}
|
|
57
49
|
/**
|
|
@@ -72,8 +64,6 @@ export interface QueryProposalsResponse {
|
|
|
72
64
|
|
|
73
65
|
export interface QueryProposalsResponseSDKType {
|
|
74
66
|
proposals: ProposalSDKType[];
|
|
75
|
-
/** pagination defines the pagination in the response. */
|
|
76
|
-
|
|
77
67
|
pagination?: PageResponseSDKType;
|
|
78
68
|
}
|
|
79
69
|
/** QueryVoteRequest is the request type for the Query/Vote RPC method. */
|
|
@@ -88,10 +78,7 @@ export interface QueryVoteRequest {
|
|
|
88
78
|
/** QueryVoteRequest is the request type for the Query/Vote RPC method. */
|
|
89
79
|
|
|
90
80
|
export interface QueryVoteRequestSDKType {
|
|
91
|
-
/** proposal_id defines the unique id of the proposal. */
|
|
92
81
|
proposal_id: Long;
|
|
93
|
-
/** voter defines the oter address for the proposals. */
|
|
94
|
-
|
|
95
82
|
voter: string;
|
|
96
83
|
}
|
|
97
84
|
/** QueryVoteResponse is the response type for the Query/Vote RPC method. */
|
|
@@ -103,7 +90,6 @@ export interface QueryVoteResponse {
|
|
|
103
90
|
/** QueryVoteResponse is the response type for the Query/Vote RPC method. */
|
|
104
91
|
|
|
105
92
|
export interface QueryVoteResponseSDKType {
|
|
106
|
-
/** vote defined the queried vote. */
|
|
107
93
|
vote?: VoteSDKType;
|
|
108
94
|
}
|
|
109
95
|
/** QueryVotesRequest is the request type for the Query/Votes RPC method. */
|
|
@@ -118,10 +104,7 @@ export interface QueryVotesRequest {
|
|
|
118
104
|
/** QueryVotesRequest is the request type for the Query/Votes RPC method. */
|
|
119
105
|
|
|
120
106
|
export interface QueryVotesRequestSDKType {
|
|
121
|
-
/** proposal_id defines the unique id of the proposal. */
|
|
122
107
|
proposal_id: Long;
|
|
123
|
-
/** pagination defines an optional pagination for the request. */
|
|
124
|
-
|
|
125
108
|
pagination?: PageRequestSDKType;
|
|
126
109
|
}
|
|
127
110
|
/** QueryVotesResponse is the response type for the Query/Votes RPC method. */
|
|
@@ -136,10 +119,7 @@ export interface QueryVotesResponse {
|
|
|
136
119
|
/** QueryVotesResponse is the response type for the Query/Votes RPC method. */
|
|
137
120
|
|
|
138
121
|
export interface QueryVotesResponseSDKType {
|
|
139
|
-
/** votes defined the queried votes. */
|
|
140
122
|
votes: VoteSDKType[];
|
|
141
|
-
/** pagination defines the pagination in the response. */
|
|
142
|
-
|
|
143
123
|
pagination?: PageResponseSDKType;
|
|
144
124
|
}
|
|
145
125
|
/** QueryParamsRequest is the request type for the Query/Params RPC method. */
|
|
@@ -154,10 +134,6 @@ export interface QueryParamsRequest {
|
|
|
154
134
|
/** QueryParamsRequest is the request type for the Query/Params RPC method. */
|
|
155
135
|
|
|
156
136
|
export interface QueryParamsRequestSDKType {
|
|
157
|
-
/**
|
|
158
|
-
* params_type defines which parameters to query for, can be one of "voting",
|
|
159
|
-
* "tallying" or "deposit".
|
|
160
|
-
*/
|
|
161
137
|
params_type: string;
|
|
162
138
|
}
|
|
163
139
|
/** QueryParamsResponse is the response type for the Query/Params RPC method. */
|
|
@@ -175,13 +151,8 @@ export interface QueryParamsResponse {
|
|
|
175
151
|
/** QueryParamsResponse is the response type for the Query/Params RPC method. */
|
|
176
152
|
|
|
177
153
|
export interface QueryParamsResponseSDKType {
|
|
178
|
-
/** voting_params defines the parameters related to voting. */
|
|
179
154
|
voting_params?: VotingParamsSDKType;
|
|
180
|
-
/** deposit_params defines the parameters related to deposit. */
|
|
181
|
-
|
|
182
155
|
deposit_params?: DepositParamsSDKType;
|
|
183
|
-
/** tally_params defines the parameters related to tally. */
|
|
184
|
-
|
|
185
156
|
tally_params?: TallyParamsSDKType;
|
|
186
157
|
}
|
|
187
158
|
/** QueryDepositRequest is the request type for the Query/Deposit RPC method. */
|
|
@@ -196,10 +167,7 @@ export interface QueryDepositRequest {
|
|
|
196
167
|
/** QueryDepositRequest is the request type for the Query/Deposit RPC method. */
|
|
197
168
|
|
|
198
169
|
export interface QueryDepositRequestSDKType {
|
|
199
|
-
/** proposal_id defines the unique id of the proposal. */
|
|
200
170
|
proposal_id: Long;
|
|
201
|
-
/** depositor defines the deposit addresses from the proposals. */
|
|
202
|
-
|
|
203
171
|
depositor: string;
|
|
204
172
|
}
|
|
205
173
|
/** QueryDepositResponse is the response type for the Query/Deposit RPC method. */
|
|
@@ -211,7 +179,6 @@ export interface QueryDepositResponse {
|
|
|
211
179
|
/** QueryDepositResponse is the response type for the Query/Deposit RPC method. */
|
|
212
180
|
|
|
213
181
|
export interface QueryDepositResponseSDKType {
|
|
214
|
-
/** deposit defines the requested deposit. */
|
|
215
182
|
deposit?: DepositSDKType;
|
|
216
183
|
}
|
|
217
184
|
/** QueryDepositsRequest is the request type for the Query/Deposits RPC method. */
|
|
@@ -226,10 +193,7 @@ export interface QueryDepositsRequest {
|
|
|
226
193
|
/** QueryDepositsRequest is the request type for the Query/Deposits RPC method. */
|
|
227
194
|
|
|
228
195
|
export interface QueryDepositsRequestSDKType {
|
|
229
|
-
/** proposal_id defines the unique id of the proposal. */
|
|
230
196
|
proposal_id: Long;
|
|
231
|
-
/** pagination defines an optional pagination for the request. */
|
|
232
|
-
|
|
233
197
|
pagination?: PageRequestSDKType;
|
|
234
198
|
}
|
|
235
199
|
/** QueryDepositsResponse is the response type for the Query/Deposits RPC method. */
|
|
@@ -244,8 +208,6 @@ export interface QueryDepositsResponse {
|
|
|
244
208
|
|
|
245
209
|
export interface QueryDepositsResponseSDKType {
|
|
246
210
|
deposits: DepositSDKType[];
|
|
247
|
-
/** pagination defines the pagination in the response. */
|
|
248
|
-
|
|
249
211
|
pagination?: PageResponseSDKType;
|
|
250
212
|
}
|
|
251
213
|
/** QueryTallyResultRequest is the request type for the Query/Tally RPC method. */
|
|
@@ -257,7 +219,6 @@ export interface QueryTallyResultRequest {
|
|
|
257
219
|
/** QueryTallyResultRequest is the request type for the Query/Tally RPC method. */
|
|
258
220
|
|
|
259
221
|
export interface QueryTallyResultRequestSDKType {
|
|
260
|
-
/** proposal_id defines the unique id of the proposal. */
|
|
261
222
|
proposal_id: Long;
|
|
262
223
|
}
|
|
263
224
|
/** QueryTallyResultResponse is the response type for the Query/Tally RPC method. */
|
|
@@ -269,7 +230,6 @@ export interface QueryTallyResultResponse {
|
|
|
269
230
|
/** QueryTallyResultResponse is the response type for the Query/Tally RPC method. */
|
|
270
231
|
|
|
271
232
|
export interface QueryTallyResultResponseSDKType {
|
|
272
|
-
/** tally defines the requested tally. */
|
|
273
233
|
tally?: TallyResultSDKType;
|
|
274
234
|
}
|
|
275
235
|
|
|
@@ -2,7 +2,7 @@ import { voteOptionFromJSON } from "./gov";
|
|
|
2
2
|
import { AminoMsg } from "@cosmjs/amino";
|
|
3
3
|
import { Long } from "../../../helpers";
|
|
4
4
|
import { MsgSubmitProposal, MsgExecLegacyContent, MsgVote, MsgVoteWeighted, MsgDeposit } from "./tx";
|
|
5
|
-
export interface
|
|
5
|
+
export interface MsgSubmitProposalAminoType extends AminoMsg {
|
|
6
6
|
type: "cosmos-sdk/v1/MsgSubmitProposal";
|
|
7
7
|
value: {
|
|
8
8
|
messages: {
|
|
@@ -17,7 +17,7 @@ export interface AminoMsgSubmitProposal extends AminoMsg {
|
|
|
17
17
|
metadata: string;
|
|
18
18
|
};
|
|
19
19
|
}
|
|
20
|
-
export interface
|
|
20
|
+
export interface MsgExecLegacyContentAminoType extends AminoMsg {
|
|
21
21
|
type: "cosmos-sdk/v1/MsgExecLegacyContent";
|
|
22
22
|
value: {
|
|
23
23
|
content: {
|
|
@@ -27,7 +27,7 @@ export interface AminoMsgExecLegacyContent extends AminoMsg {
|
|
|
27
27
|
authority: string;
|
|
28
28
|
};
|
|
29
29
|
}
|
|
30
|
-
export interface
|
|
30
|
+
export interface MsgVoteAminoType extends AminoMsg {
|
|
31
31
|
type: "cosmos-sdk/v1/MsgVote";
|
|
32
32
|
value: {
|
|
33
33
|
proposal_id: string;
|
|
@@ -36,7 +36,7 @@ export interface AminoMsgVote extends AminoMsg {
|
|
|
36
36
|
metadata: string;
|
|
37
37
|
};
|
|
38
38
|
}
|
|
39
|
-
export interface
|
|
39
|
+
export interface MsgVoteWeightedAminoType extends AminoMsg {
|
|
40
40
|
type: "cosmos-sdk/v1/MsgVoteWeighted";
|
|
41
41
|
value: {
|
|
42
42
|
proposal_id: string;
|
|
@@ -48,7 +48,7 @@ export interface AminoMsgVoteWeighted extends AminoMsg {
|
|
|
48
48
|
metadata: string;
|
|
49
49
|
};
|
|
50
50
|
}
|
|
51
|
-
export interface
|
|
51
|
+
export interface MsgDepositAminoType extends AminoMsg {
|
|
52
52
|
type: "cosmos-sdk/v1/MsgDeposit";
|
|
53
53
|
value: {
|
|
54
54
|
proposal_id: string;
|
|
@@ -67,7 +67,7 @@ export const AminoConverter = {
|
|
|
67
67
|
initialDeposit,
|
|
68
68
|
proposer,
|
|
69
69
|
metadata
|
|
70
|
-
}: MsgSubmitProposal):
|
|
70
|
+
}: MsgSubmitProposal): MsgSubmitProposalAminoType["value"] => {
|
|
71
71
|
return {
|
|
72
72
|
messages: messages.map(el0 => ({
|
|
73
73
|
type_url: el0.typeUrl,
|
|
@@ -86,7 +86,7 @@ export const AminoConverter = {
|
|
|
86
86
|
initial_deposit,
|
|
87
87
|
proposer,
|
|
88
88
|
metadata
|
|
89
|
-
}:
|
|
89
|
+
}: MsgSubmitProposalAminoType["value"]): MsgSubmitProposal => {
|
|
90
90
|
return {
|
|
91
91
|
messages: messages.map(el0 => ({
|
|
92
92
|
typeUrl: el0.type_url,
|
|
@@ -106,7 +106,7 @@ export const AminoConverter = {
|
|
|
106
106
|
toAmino: ({
|
|
107
107
|
content,
|
|
108
108
|
authority
|
|
109
|
-
}: MsgExecLegacyContent):
|
|
109
|
+
}: MsgExecLegacyContent): MsgExecLegacyContentAminoType["value"] => {
|
|
110
110
|
return {
|
|
111
111
|
content: {
|
|
112
112
|
type_url: content.typeUrl,
|
|
@@ -118,7 +118,7 @@ export const AminoConverter = {
|
|
|
118
118
|
fromAmino: ({
|
|
119
119
|
content,
|
|
120
120
|
authority
|
|
121
|
-
}:
|
|
121
|
+
}: MsgExecLegacyContentAminoType["value"]): MsgExecLegacyContent => {
|
|
122
122
|
return {
|
|
123
123
|
content: {
|
|
124
124
|
typeUrl: content.type_url,
|
|
@@ -135,7 +135,7 @@ export const AminoConverter = {
|
|
|
135
135
|
voter,
|
|
136
136
|
option,
|
|
137
137
|
metadata
|
|
138
|
-
}: MsgVote):
|
|
138
|
+
}: MsgVote): MsgVoteAminoType["value"] => {
|
|
139
139
|
return {
|
|
140
140
|
proposal_id: proposalId.toString(),
|
|
141
141
|
voter,
|
|
@@ -148,7 +148,7 @@ export const AminoConverter = {
|
|
|
148
148
|
voter,
|
|
149
149
|
option,
|
|
150
150
|
metadata
|
|
151
|
-
}:
|
|
151
|
+
}: MsgVoteAminoType["value"]): MsgVote => {
|
|
152
152
|
return {
|
|
153
153
|
proposalId: Long.fromString(proposal_id),
|
|
154
154
|
voter,
|
|
@@ -164,7 +164,7 @@ export const AminoConverter = {
|
|
|
164
164
|
voter,
|
|
165
165
|
options,
|
|
166
166
|
metadata
|
|
167
|
-
}: MsgVoteWeighted):
|
|
167
|
+
}: MsgVoteWeighted): MsgVoteWeightedAminoType["value"] => {
|
|
168
168
|
return {
|
|
169
169
|
proposal_id: proposalId.toString(),
|
|
170
170
|
voter,
|
|
@@ -180,7 +180,7 @@ export const AminoConverter = {
|
|
|
180
180
|
voter,
|
|
181
181
|
options,
|
|
182
182
|
metadata
|
|
183
|
-
}:
|
|
183
|
+
}: MsgVoteWeightedAminoType["value"]): MsgVoteWeighted => {
|
|
184
184
|
return {
|
|
185
185
|
proposalId: Long.fromString(proposal_id),
|
|
186
186
|
voter,
|
|
@@ -198,7 +198,7 @@ export const AminoConverter = {
|
|
|
198
198
|
proposalId,
|
|
199
199
|
depositor,
|
|
200
200
|
amount
|
|
201
|
-
}: MsgDeposit):
|
|
201
|
+
}: MsgDeposit): MsgDepositAminoType["value"] => {
|
|
202
202
|
return {
|
|
203
203
|
proposal_id: proposalId.toString(),
|
|
204
204
|
depositor,
|
|
@@ -212,7 +212,7 @@ export const AminoConverter = {
|
|
|
212
212
|
proposal_id,
|
|
213
213
|
depositor,
|
|
214
214
|
amount
|
|
215
|
-
}:
|
|
215
|
+
}: MsgDepositAminoType["value"]): MsgDeposit => {
|
|
216
216
|
return {
|
|
217
217
|
proposalId: Long.fromString(proposal_id),
|
|
218
218
|
depositor,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Any, AnySDKType } from "../../../google/protobuf/any";
|
|
2
2
|
import { Coin, CoinSDKType } from "../../base/v1beta1/coin";
|
|
3
|
-
import { VoteOption,
|
|
3
|
+
import { VoteOption, WeightedVoteOption, WeightedVoteOptionSDKType } from "./gov";
|
|
4
4
|
import * as _m0 from "protobufjs/minimal";
|
|
5
5
|
import { DeepPartial, Long } from "../../../helpers";
|
|
6
6
|
/**
|
|
@@ -25,8 +25,6 @@ export interface MsgSubmitProposalSDKType {
|
|
|
25
25
|
messages: AnySDKType[];
|
|
26
26
|
initial_deposit: CoinSDKType[];
|
|
27
27
|
proposer: string;
|
|
28
|
-
/** metadata is any arbitrary metadata attached to the proposal. */
|
|
29
|
-
|
|
30
28
|
metadata: string;
|
|
31
29
|
}
|
|
32
30
|
/** MsgSubmitProposalResponse defines the Msg/SubmitProposal response type. */
|
|
@@ -57,10 +55,7 @@ export interface MsgExecLegacyContent {
|
|
|
57
55
|
*/
|
|
58
56
|
|
|
59
57
|
export interface MsgExecLegacyContentSDKType {
|
|
60
|
-
/** content is the proposal's content. */
|
|
61
58
|
content?: AnySDKType;
|
|
62
|
-
/** authority must be the gov module address. */
|
|
63
|
-
|
|
64
59
|
authority: string;
|
|
65
60
|
}
|
|
66
61
|
/** MsgExecLegacyContentResponse defines the Msg/ExecLegacyContent response type. */
|
|
@@ -82,7 +77,7 @@ export interface MsgVote {
|
|
|
82
77
|
export interface MsgVoteSDKType {
|
|
83
78
|
proposal_id: Long;
|
|
84
79
|
voter: string;
|
|
85
|
-
option:
|
|
80
|
+
option: VoteOption;
|
|
86
81
|
metadata: string;
|
|
87
82
|
}
|
|
88
83
|
/** MsgVoteResponse defines the Msg/Vote response type. */
|