@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
|
@@ -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:
|
|
@@ -240,7 +186,7 @@ export interface WeightedVoteOption {
|
|
|
240
186
|
*/
|
|
241
187
|
|
|
242
188
|
export interface WeightedVoteOptionSDKType {
|
|
243
|
-
option:
|
|
189
|
+
option: VoteOption;
|
|
244
190
|
weight: string;
|
|
245
191
|
}
|
|
246
192
|
/**
|
|
@@ -305,13 +251,7 @@ export interface Proposal {
|
|
|
305
251
|
export interface ProposalSDKType {
|
|
306
252
|
proposal_id: Long;
|
|
307
253
|
content?: AnySDKType;
|
|
308
|
-
status:
|
|
309
|
-
/**
|
|
310
|
-
* final_tally_result is the final tally result of the proposal. When
|
|
311
|
-
* querying a proposal via gRPC, this field is not populated until the
|
|
312
|
-
* proposal's voting period has ended.
|
|
313
|
-
*/
|
|
314
|
-
|
|
254
|
+
status: ProposalStatus;
|
|
315
255
|
final_tally_result?: TallyResultSDKType;
|
|
316
256
|
submit_time?: Date;
|
|
317
257
|
deposit_end_time?: Date;
|
|
@@ -364,17 +304,9 @@ export interface Vote {
|
|
|
364
304
|
export interface VoteSDKType {
|
|
365
305
|
proposal_id: Long;
|
|
366
306
|
voter: string;
|
|
367
|
-
/**
|
|
368
|
-
* Deprecated: Prefer to use `options` instead. This field is set in queries
|
|
369
|
-
* if and only if `len(options) == 1` and that option has weight 1. In all
|
|
370
|
-
* other cases, this field will default to VOTE_OPTION_UNSPECIFIED.
|
|
371
|
-
*/
|
|
372
|
-
|
|
373
307
|
/** @deprecated */
|
|
374
308
|
|
|
375
|
-
option:
|
|
376
|
-
/** Since: cosmos-sdk 0.43 */
|
|
377
|
-
|
|
309
|
+
option: VoteOption;
|
|
378
310
|
options: WeightedVoteOptionSDKType[];
|
|
379
311
|
}
|
|
380
312
|
/** DepositParams defines the params for deposits on governance proposals. */
|
|
@@ -392,13 +324,7 @@ export interface DepositParams {
|
|
|
392
324
|
/** DepositParams defines the params for deposits on governance proposals. */
|
|
393
325
|
|
|
394
326
|
export interface DepositParamsSDKType {
|
|
395
|
-
/** Minimum deposit for a proposal to enter voting period. */
|
|
396
327
|
min_deposit: CoinSDKType[];
|
|
397
|
-
/**
|
|
398
|
-
* Maximum period for Atom holders to deposit on a proposal. Initial value: 2
|
|
399
|
-
* months.
|
|
400
|
-
*/
|
|
401
|
-
|
|
402
328
|
max_deposit_period?: DurationSDKType;
|
|
403
329
|
}
|
|
404
330
|
/** VotingParams defines the params for voting on governance proposals. */
|
|
@@ -410,7 +336,6 @@ export interface VotingParams {
|
|
|
410
336
|
/** VotingParams defines the params for voting on governance proposals. */
|
|
411
337
|
|
|
412
338
|
export interface VotingParamsSDKType {
|
|
413
|
-
/** Length of the voting period. */
|
|
414
339
|
voting_period?: DurationSDKType;
|
|
415
340
|
}
|
|
416
341
|
/** TallyParams defines the params for tallying votes on governance proposals. */
|
|
@@ -434,19 +359,8 @@ export interface TallyParams {
|
|
|
434
359
|
/** TallyParams defines the params for tallying votes on governance proposals. */
|
|
435
360
|
|
|
436
361
|
export interface TallyParamsSDKType {
|
|
437
|
-
/**
|
|
438
|
-
* Minimum percentage of total stake needed to vote for a result to be
|
|
439
|
-
* considered valid.
|
|
440
|
-
*/
|
|
441
362
|
quorum: Uint8Array;
|
|
442
|
-
/** Minimum proportion of Yes votes for proposal to pass. Default value: 0.5. */
|
|
443
|
-
|
|
444
363
|
threshold: Uint8Array;
|
|
445
|
-
/**
|
|
446
|
-
* Minimum value of Veto votes to Total votes ratio for proposal to be
|
|
447
|
-
* vetoed. Default value: 1/3.
|
|
448
|
-
*/
|
|
449
|
-
|
|
450
364
|
veto_threshold: Uint8Array;
|
|
451
365
|
}
|
|
452
366
|
|
|
@@ -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, MsgVote, MsgVoteWeighted, MsgDeposit } from "./tx";
|
|
5
|
-
export interface
|
|
5
|
+
export interface MsgSubmitProposalAminoType extends AminoMsg {
|
|
6
6
|
type: "cosmos-sdk/MsgSubmitProposal";
|
|
7
7
|
value: {
|
|
8
8
|
content: {
|
|
@@ -16,7 +16,7 @@ export interface AminoMsgSubmitProposal extends AminoMsg {
|
|
|
16
16
|
proposer: string;
|
|
17
17
|
};
|
|
18
18
|
}
|
|
19
|
-
export interface
|
|
19
|
+
export interface MsgVoteAminoType extends AminoMsg {
|
|
20
20
|
type: "cosmos-sdk/MsgVote";
|
|
21
21
|
value: {
|
|
22
22
|
proposal_id: string;
|
|
@@ -24,7 +24,7 @@ export interface AminoMsgVote extends AminoMsg {
|
|
|
24
24
|
option: number;
|
|
25
25
|
};
|
|
26
26
|
}
|
|
27
|
-
export interface
|
|
27
|
+
export interface MsgVoteWeightedAminoType extends AminoMsg {
|
|
28
28
|
type: "cosmos-sdk/MsgVoteWeighted";
|
|
29
29
|
value: {
|
|
30
30
|
proposal_id: string;
|
|
@@ -35,7 +35,7 @@ export interface AminoMsgVoteWeighted extends AminoMsg {
|
|
|
35
35
|
}[];
|
|
36
36
|
};
|
|
37
37
|
}
|
|
38
|
-
export interface
|
|
38
|
+
export interface MsgDepositAminoType extends AminoMsg {
|
|
39
39
|
type: "cosmos-sdk/MsgDeposit";
|
|
40
40
|
value: {
|
|
41
41
|
proposal_id: string;
|
|
@@ -53,7 +53,7 @@ export const AminoConverter = {
|
|
|
53
53
|
content,
|
|
54
54
|
initialDeposit,
|
|
55
55
|
proposer
|
|
56
|
-
}: MsgSubmitProposal):
|
|
56
|
+
}: MsgSubmitProposal): MsgSubmitProposalAminoType["value"] => {
|
|
57
57
|
return {
|
|
58
58
|
content: {
|
|
59
59
|
type_url: content.typeUrl,
|
|
@@ -70,7 +70,7 @@ export const AminoConverter = {
|
|
|
70
70
|
content,
|
|
71
71
|
initial_deposit,
|
|
72
72
|
proposer
|
|
73
|
-
}:
|
|
73
|
+
}: MsgSubmitProposalAminoType["value"]): MsgSubmitProposal => {
|
|
74
74
|
return {
|
|
75
75
|
content: {
|
|
76
76
|
typeUrl: content.type_url,
|
|
@@ -90,7 +90,7 @@ export const AminoConverter = {
|
|
|
90
90
|
proposalId,
|
|
91
91
|
voter,
|
|
92
92
|
option
|
|
93
|
-
}: MsgVote):
|
|
93
|
+
}: MsgVote): MsgVoteAminoType["value"] => {
|
|
94
94
|
return {
|
|
95
95
|
proposal_id: proposalId.toString(),
|
|
96
96
|
voter,
|
|
@@ -101,7 +101,7 @@ export const AminoConverter = {
|
|
|
101
101
|
proposal_id,
|
|
102
102
|
voter,
|
|
103
103
|
option
|
|
104
|
-
}:
|
|
104
|
+
}: MsgVoteAminoType["value"]): MsgVote => {
|
|
105
105
|
return {
|
|
106
106
|
proposalId: Long.fromString(proposal_id),
|
|
107
107
|
voter,
|
|
@@ -115,7 +115,7 @@ export const AminoConverter = {
|
|
|
115
115
|
proposalId,
|
|
116
116
|
voter,
|
|
117
117
|
options
|
|
118
|
-
}: MsgVoteWeighted):
|
|
118
|
+
}: MsgVoteWeighted): MsgVoteWeightedAminoType["value"] => {
|
|
119
119
|
return {
|
|
120
120
|
proposal_id: proposalId.toString(),
|
|
121
121
|
voter,
|
|
@@ -129,7 +129,7 @@ export const AminoConverter = {
|
|
|
129
129
|
proposal_id,
|
|
130
130
|
voter,
|
|
131
131
|
options
|
|
132
|
-
}:
|
|
132
|
+
}: MsgVoteWeightedAminoType["value"]): MsgVoteWeighted => {
|
|
133
133
|
return {
|
|
134
134
|
proposalId: Long.fromString(proposal_id),
|
|
135
135
|
voter,
|
|
@@ -146,7 +146,7 @@ export const AminoConverter = {
|
|
|
146
146
|
proposalId,
|
|
147
147
|
depositor,
|
|
148
148
|
amount
|
|
149
|
-
}: MsgDeposit):
|
|
149
|
+
}: MsgDeposit): MsgDepositAminoType["value"] => {
|
|
150
150
|
return {
|
|
151
151
|
proposal_id: proposalId.toString(),
|
|
152
152
|
depositor,
|
|
@@ -160,7 +160,7 @@ export const AminoConverter = {
|
|
|
160
160
|
proposal_id,
|
|
161
161
|
depositor,
|
|
162
162
|
amount
|
|
163
|
-
}:
|
|
163
|
+
}: MsgDepositAminoType["value"]): MsgDeposit => {
|
|
164
164
|
return {
|
|
165
165
|
proposalId: Long.fromString(proposal_id),
|
|
166
166
|
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
|
/**
|
|
@@ -45,7 +45,7 @@ export interface MsgVote {
|
|
|
45
45
|
export interface MsgVoteSDKType {
|
|
46
46
|
proposal_id: Long;
|
|
47
47
|
voter: string;
|
|
48
|
-
option:
|
|
48
|
+
option: VoteOption;
|
|
49
49
|
}
|
|
50
50
|
/** MsgVoteResponse defines the Msg/Vote response type. */
|
|
51
51
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ProposalExecutorResult
|
|
2
|
-
import * as _m0 from "protobufjs/minimal";
|
|
1
|
+
import { ProposalExecutorResult } from "./types";
|
|
3
2
|
import { Long, DeepPartial } from "../../../helpers";
|
|
3
|
+
import * as _m0 from "protobufjs/minimal";
|
|
4
4
|
/** EventCreateGroup is an event emitted when a group is created. */
|
|
5
5
|
|
|
6
6
|
export interface EventCreateGroup {
|
|
@@ -10,7 +10,6 @@ export interface EventCreateGroup {
|
|
|
10
10
|
/** EventCreateGroup is an event emitted when a group is created. */
|
|
11
11
|
|
|
12
12
|
export interface EventCreateGroupSDKType {
|
|
13
|
-
/** group_id is the unique ID of the group. */
|
|
14
13
|
group_id: Long;
|
|
15
14
|
}
|
|
16
15
|
/** EventUpdateGroup is an event emitted when a group is updated. */
|
|
@@ -22,7 +21,6 @@ export interface EventUpdateGroup {
|
|
|
22
21
|
/** EventUpdateGroup is an event emitted when a group is updated. */
|
|
23
22
|
|
|
24
23
|
export interface EventUpdateGroupSDKType {
|
|
25
|
-
/** group_id is the unique ID of the group. */
|
|
26
24
|
group_id: Long;
|
|
27
25
|
}
|
|
28
26
|
/** EventCreateGroupPolicy is an event emitted when a group policy is created. */
|
|
@@ -34,7 +32,6 @@ export interface EventCreateGroupPolicy {
|
|
|
34
32
|
/** EventCreateGroupPolicy is an event emitted when a group policy is created. */
|
|
35
33
|
|
|
36
34
|
export interface EventCreateGroupPolicySDKType {
|
|
37
|
-
/** address is the account address of the group policy. */
|
|
38
35
|
address: string;
|
|
39
36
|
}
|
|
40
37
|
/** EventUpdateGroupPolicy is an event emitted when a group policy is updated. */
|
|
@@ -46,7 +43,6 @@ export interface EventUpdateGroupPolicy {
|
|
|
46
43
|
/** EventUpdateGroupPolicy is an event emitted when a group policy is updated. */
|
|
47
44
|
|
|
48
45
|
export interface EventUpdateGroupPolicySDKType {
|
|
49
|
-
/** address is the account address of the group policy. */
|
|
50
46
|
address: string;
|
|
51
47
|
}
|
|
52
48
|
/** EventSubmitProposal is an event emitted when a proposal is created. */
|
|
@@ -58,7 +54,6 @@ export interface EventSubmitProposal {
|
|
|
58
54
|
/** EventSubmitProposal is an event emitted when a proposal is created. */
|
|
59
55
|
|
|
60
56
|
export interface EventSubmitProposalSDKType {
|
|
61
|
-
/** proposal_id is the unique ID of the proposal. */
|
|
62
57
|
proposal_id: Long;
|
|
63
58
|
}
|
|
64
59
|
/** EventWithdrawProposal is an event emitted when a proposal is withdrawn. */
|
|
@@ -70,7 +65,6 @@ export interface EventWithdrawProposal {
|
|
|
70
65
|
/** EventWithdrawProposal is an event emitted when a proposal is withdrawn. */
|
|
71
66
|
|
|
72
67
|
export interface EventWithdrawProposalSDKType {
|
|
73
|
-
/** proposal_id is the unique ID of the proposal. */
|
|
74
68
|
proposal_id: Long;
|
|
75
69
|
}
|
|
76
70
|
/** EventVote is an event emitted when a voter votes on a proposal. */
|
|
@@ -82,7 +76,6 @@ export interface EventVote {
|
|
|
82
76
|
/** EventVote is an event emitted when a voter votes on a proposal. */
|
|
83
77
|
|
|
84
78
|
export interface EventVoteSDKType {
|
|
85
|
-
/** proposal_id is the unique ID of the proposal. */
|
|
86
79
|
proposal_id: Long;
|
|
87
80
|
}
|
|
88
81
|
/** EventExec is an event emitted when a proposal is executed. */
|
|
@@ -97,11 +90,8 @@ export interface EventExec {
|
|
|
97
90
|
/** EventExec is an event emitted when a proposal is executed. */
|
|
98
91
|
|
|
99
92
|
export interface EventExecSDKType {
|
|
100
|
-
/** proposal_id is the unique ID of the proposal. */
|
|
101
93
|
proposal_id: Long;
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
result: ProposalExecutorResultSDKType;
|
|
94
|
+
result: ProposalExecutorResult;
|
|
105
95
|
}
|
|
106
96
|
/** EventLeaveGroup is an event emitted when group member leaves the group. */
|
|
107
97
|
|
|
@@ -115,10 +105,7 @@ export interface EventLeaveGroup {
|
|
|
115
105
|
/** EventLeaveGroup is an event emitted when group member leaves the group. */
|
|
116
106
|
|
|
117
107
|
export interface EventLeaveGroupSDKType {
|
|
118
|
-
/** group_id is the unique ID of the group. */
|
|
119
108
|
group_id: Long;
|
|
120
|
-
/** address is the account address of the group member. */
|
|
121
|
-
|
|
122
109
|
address: string;
|
|
123
110
|
}
|
|
124
111
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { GroupInfo, GroupInfoSDKType, GroupMember, GroupMemberSDKType, GroupPolicyInfo, GroupPolicyInfoSDKType, Proposal, ProposalSDKType, Vote, VoteSDKType } from "./types";
|
|
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 group module's genesis state. */
|
|
5
5
|
|
|
6
6
|
export interface GenesisState {
|
|
@@ -40,37 +40,13 @@ export interface GenesisState {
|
|
|
40
40
|
/** GenesisState defines the group module's genesis state. */
|
|
41
41
|
|
|
42
42
|
export interface GenesisStateSDKType {
|
|
43
|
-
/**
|
|
44
|
-
* group_seq is the group table orm.Sequence,
|
|
45
|
-
* it is used to get the next group ID.
|
|
46
|
-
*/
|
|
47
43
|
group_seq: Long;
|
|
48
|
-
/** groups is the list of groups info. */
|
|
49
|
-
|
|
50
44
|
groups: GroupInfoSDKType[];
|
|
51
|
-
/** group_members is the list of groups members. */
|
|
52
|
-
|
|
53
45
|
group_members: GroupMemberSDKType[];
|
|
54
|
-
/**
|
|
55
|
-
* group_policy_seq is the group policy table orm.Sequence,
|
|
56
|
-
* it is used to generate the next group policy account address.
|
|
57
|
-
*/
|
|
58
|
-
|
|
59
46
|
group_policy_seq: Long;
|
|
60
|
-
/** group_policies is the list of group policies info. */
|
|
61
|
-
|
|
62
47
|
group_policies: GroupPolicyInfoSDKType[];
|
|
63
|
-
/**
|
|
64
|
-
* proposal_seq is the proposal table orm.Sequence,
|
|
65
|
-
* it is used to get the next proposal ID.
|
|
66
|
-
*/
|
|
67
|
-
|
|
68
48
|
proposal_seq: Long;
|
|
69
|
-
/** proposals is the list of proposals. */
|
|
70
|
-
|
|
71
49
|
proposals: ProposalSDKType[];
|
|
72
|
-
/** votes is the list of votes. */
|
|
73
|
-
|
|
74
50
|
votes: VoteSDKType[];
|
|
75
51
|
}
|
|
76
52
|
|