@bze/bzejs 0.0.9 → 0.0.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/main/codegen/amino/amino.js +5 -0
- package/main/codegen/amino/bundle.js +15 -0
- package/main/codegen/beezee/cointrunk/anon_articles_counter.js +1 -1
- package/main/codegen/beezee/cointrunk/article.js +1 -1
- package/main/codegen/beezee/cointrunk/events.js +1 -1
- package/main/codegen/beezee/cointrunk/genesis.js +1 -1
- package/main/codegen/beezee/cointrunk/publisher.js +1 -1
- package/main/codegen/bze/bundle.js +34 -34
- package/main/codegen/confio/proofs.js +1145 -0
- package/main/codegen/cosmos/auth/v1beta1/auth.js +1 -1
- package/main/codegen/cosmos/authz/v1beta1/tx.amino.js +0 -2
- package/main/codegen/cosmos/base/abci/v1beta1/abci.js +1 -1
- package/main/codegen/cosmos/base/query/v1beta1/pagination.js +1 -1
- package/main/codegen/cosmos/base/snapshots/v1beta1/snapshot.js +1 -1
- package/main/codegen/cosmos/base/store/v1beta1/commit_info.js +1 -1
- package/main/codegen/cosmos/base/tendermint/v1beta1/query.js +1 -1
- package/main/codegen/cosmos/bundle.js +213 -213
- package/main/codegen/cosmos/capability/v1beta1/capability.js +1 -1
- package/main/codegen/cosmos/capability/v1beta1/genesis.js +1 -1
- package/main/codegen/cosmos/evidence/v1beta1/evidence.js +1 -1
- package/main/codegen/cosmos/gov/v1/genesis.js +1 -1
- package/main/codegen/cosmos/gov/v1/gov.js +2 -21
- package/main/codegen/cosmos/gov/v1/query.js +1 -1
- package/main/codegen/cosmos/gov/v1beta1/genesis.js +1 -1
- package/main/codegen/cosmos/gov/v1beta1/gov.js +2 -21
- package/main/codegen/cosmos/gov/v1beta1/query.js +1 -1
- package/main/codegen/cosmos/group/v1/events.js +1 -1
- package/main/codegen/cosmos/group/v1/genesis.js +1 -1
- package/main/codegen/cosmos/group/v1/query.js +1 -1
- package/main/codegen/cosmos/group/v1/tx.js +1 -7
- package/main/codegen/cosmos/group/v1/types.js +4 -38
- package/main/codegen/cosmos/orm/v1alpha1/schema.js +1 -10
- package/main/codegen/cosmos/slashing/v1beta1/slashing.js +1 -1
- package/main/codegen/cosmos/staking/v1beta1/authz.js +1 -13
- package/main/codegen/cosmos/staking/v1beta1/staking.js +1 -9
- package/main/codegen/cosmos/staking/v1beta1/tx.amino.js +0 -2
- package/main/codegen/cosmos/tx/signing/v1beta1/signing.js +1 -19
- package/main/codegen/cosmos/tx/v1beta1/service.js +2 -17
- package/main/codegen/cosmos/upgrade/v1beta1/upgrade.js +1 -1
- package/main/codegen/cosmos/vesting/v1beta1/tx.js +1 -1
- package/main/codegen/cosmos/vesting/v1beta1/vesting.js +1 -1
- package/main/codegen/cosmos_proto/bundle.js +2 -2
- package/main/codegen/cosmos_proto/cosmos.js +1 -7
- package/main/codegen/gogoproto/bundle.js +2 -2
- package/main/codegen/google/bundle.js +9 -9
- package/main/codegen/google/protobuf/descriptor.js +6 -63
- package/main/codegen/google/protobuf/duration.js +1 -1
- package/main/codegen/google/protobuf/timestamp.js +1 -1
- package/main/codegen/helpers.js +1 -1
- package/main/codegen/ibc/applications/transfer/v1/genesis.js +82 -0
- package/main/codegen/ibc/applications/transfer/v1/query.js +291 -0
- package/main/codegen/ibc/applications/transfer/v1/query.lcd.js +114 -0
- package/main/codegen/ibc/applications/transfer/v1/query.rpc.Query.js +75 -0
- package/main/codegen/ibc/applications/transfer/v1/transfer.js +124 -0
- package/main/codegen/ibc/applications/transfer/v1/tx.amino.js +61 -0
- package/main/codegen/ibc/applications/transfer/v1/tx.js +141 -0
- package/main/codegen/ibc/applications/transfer/v1/tx.registry.js +44 -0
- package/main/codegen/ibc/applications/transfer/v1/tx.rpc.msg.js +35 -0
- package/main/codegen/ibc/applications/transfer/v2/packet.js +83 -0
- package/main/codegen/ibc/bundle.js +116 -0
- package/main/codegen/ibc/client.js +67 -0
- package/main/codegen/ibc/core/channel/v1/channel.js +596 -0
- package/main/codegen/ibc/core/channel/v1/genesis.js +252 -0
- package/main/codegen/ibc/core/channel/v1/query.js +1749 -0
- package/main/codegen/ibc/core/channel/v1/query.lcd.js +406 -0
- package/main/codegen/ibc/core/channel/v1/query.rpc.Query.js +204 -0
- package/main/codegen/ibc/core/channel/v1/tx.amino.js +508 -0
- package/main/codegen/ibc/core/channel/v1/tx.js +1101 -0
- package/main/codegen/ibc/core/channel/v1/tx.registry.js +206 -0
- package/main/codegen/ibc/core/channel/v1/tx.rpc.msg.js +125 -0
- package/main/codegen/ibc/core/client/v1/client.js +459 -0
- package/main/codegen/ibc/core/client/v1/genesis.js +250 -0
- package/main/codegen/ibc/core/client/v1/query.js +841 -0
- package/main/codegen/ibc/core/client/v1/query.lcd.js +263 -0
- package/main/codegen/ibc/core/client/v1/query.rpc.Query.js +142 -0
- package/main/codegen/ibc/core/client/v1/tx.amino.js +148 -0
- package/main/codegen/ibc/core/client/v1/tx.js +411 -0
- package/main/codegen/ibc/core/client/v1/tx.registry.js +98 -0
- package/main/codegen/ibc/core/client/v1/tx.rpc.msg.js +65 -0
- package/main/codegen/ibc/core/commitment/v1/commitment.js +234 -0
- package/main/codegen/ibc/core/connection/v1/connection.js +532 -0
- package/main/codegen/ibc/core/connection/v1/genesis.js +102 -0
- package/main/codegen/ibc/core/connection/v1/query.js +615 -0
- package/main/codegen/ibc/core/connection/v1/query.lcd.js +170 -0
- package/main/codegen/ibc/core/connection/v1/query.rpc.Query.js +100 -0
- package/main/codegen/ibc/core/connection/v1/tx.amino.js +268 -0
- package/main/codegen/ibc/core/connection/v1/tx.js +568 -0
- package/main/codegen/ibc/core/connection/v1/tx.registry.js +98 -0
- package/main/codegen/ibc/core/connection/v1/tx.rpc.msg.js +65 -0
- package/main/codegen/ibc/core/port/v1/query.js +133 -0
- package/main/codegen/ibc/core/port/v1/query.rpc.Query.js +45 -0
- package/main/codegen/ibc/core/types/v1/genesis.js +69 -0
- package/main/codegen/ibc/lcd.js +341 -0
- package/main/codegen/ibc/lightclients/localhost/v1/localhost.js +66 -0
- package/main/codegen/ibc/lightclients/solomachine/v1/solomachine.js +1054 -0
- package/main/codegen/ibc/lightclients/solomachine/v2/solomachine.js +1054 -0
- package/main/codegen/ibc/lightclients/tendermint/v1/tendermint.js +434 -0
- package/main/codegen/ibc/rpc.query.js +280 -0
- package/main/codegen/ibc/rpc.tx.js +256 -0
- package/main/codegen/ics23/bundle.js +15 -0
- package/main/codegen/index.js +58 -25
- package/main/codegen/tendermint/abci/types.js +4 -33
- package/main/codegen/tendermint/bundle.js +17 -17
- package/main/codegen/tendermint/crypto/proof.js +1 -1
- package/main/codegen/tendermint/libs/bits/types.js +1 -1
- package/main/codegen/tendermint/p2p/types.js +1 -1
- package/main/codegen/tendermint/types/types.js +2 -18
- package/main/codegen/tendermint/types/validator.js +1 -1
- package/main/codegen/tendermint/version/types.js +1 -1
- package/module/codegen/amino/amino.js +1 -0
- package/module/codegen/amino/bundle.js +5 -0
- package/module/codegen/beezee/cointrunk/anon_articles_counter.js +1 -1
- package/module/codegen/beezee/cointrunk/article.js +1 -1
- package/module/codegen/beezee/cointrunk/events.js +1 -1
- package/module/codegen/beezee/cointrunk/genesis.js +1 -1
- package/module/codegen/beezee/cointrunk/publisher.js +1 -1
- package/module/codegen/bze/bundle.js +34 -34
- package/module/codegen/confio/proofs.js +1051 -0
- package/module/codegen/cosmos/auth/v1beta1/auth.js +1 -1
- package/module/codegen/cosmos/authz/v1beta1/tx.amino.js +0 -2
- package/module/codegen/cosmos/base/abci/v1beta1/abci.js +1 -1
- package/module/codegen/cosmos/base/query/v1beta1/pagination.js +1 -1
- package/module/codegen/cosmos/base/snapshots/v1beta1/snapshot.js +1 -1
- package/module/codegen/cosmos/base/store/v1beta1/commit_info.js +1 -1
- package/module/codegen/cosmos/base/tendermint/v1beta1/query.js +1 -1
- package/module/codegen/cosmos/bundle.js +213 -213
- package/module/codegen/cosmos/capability/v1beta1/capability.js +1 -1
- package/module/codegen/cosmos/capability/v1beta1/genesis.js +1 -1
- package/module/codegen/cosmos/evidence/v1beta1/evidence.js +1 -1
- package/module/codegen/cosmos/gov/v1/genesis.js +1 -1
- package/module/codegen/cosmos/gov/v1/gov.js +2 -23
- package/module/codegen/cosmos/gov/v1/query.js +1 -1
- package/module/codegen/cosmos/gov/v1beta1/genesis.js +1 -1
- package/module/codegen/cosmos/gov/v1beta1/gov.js +2 -23
- package/module/codegen/cosmos/gov/v1beta1/query.js +1 -1
- package/module/codegen/cosmos/group/v1/events.js +1 -1
- package/module/codegen/cosmos/group/v1/genesis.js +1 -1
- package/module/codegen/cosmos/group/v1/query.js +1 -1
- package/module/codegen/cosmos/group/v1/tx.js +1 -8
- package/module/codegen/cosmos/group/v1/types.js +4 -42
- package/module/codegen/cosmos/orm/v1alpha1/schema.js +1 -11
- package/module/codegen/cosmos/slashing/v1beta1/slashing.js +1 -1
- package/module/codegen/cosmos/staking/v1beta1/authz.js +1 -14
- package/module/codegen/cosmos/staking/v1beta1/staking.js +1 -10
- package/module/codegen/cosmos/staking/v1beta1/tx.amino.js +0 -1
- package/module/codegen/cosmos/tx/signing/v1beta1/signing.js +1 -20
- package/module/codegen/cosmos/tx/v1beta1/service.js +2 -19
- package/module/codegen/cosmos/upgrade/v1beta1/upgrade.js +1 -1
- package/module/codegen/cosmos/vesting/v1beta1/tx.js +1 -1
- package/module/codegen/cosmos/vesting/v1beta1/vesting.js +1 -1
- package/module/codegen/cosmos_proto/bundle.js +2 -2
- package/module/codegen/cosmos_proto/cosmos.js +1 -7
- package/module/codegen/gogoproto/bundle.js +2 -2
- package/module/codegen/google/bundle.js +9 -9
- package/module/codegen/google/protobuf/descriptor.js +6 -65
- package/module/codegen/google/protobuf/duration.js +1 -1
- package/module/codegen/google/protobuf/timestamp.js +1 -1
- package/module/codegen/helpers.js +1 -1
- package/module/codegen/ibc/applications/transfer/v1/genesis.js +59 -0
- package/module/codegen/ibc/applications/transfer/v1/query.js +263 -0
- package/module/codegen/ibc/applications/transfer/v1/query.lcd.js +39 -0
- package/module/codegen/ibc/applications/transfer/v1/query.rpc.Query.js +47 -0
- package/module/codegen/ibc/applications/transfer/v1/transfer.js +114 -0
- package/module/codegen/ibc/applications/transfer/v1/tx.amino.js +57 -0
- package/module/codegen/ibc/applications/transfer/v1/tx.js +130 -0
- package/module/codegen/ibc/applications/transfer/v1/tx.registry.js +33 -0
- package/module/codegen/ibc/applications/transfer/v1/tx.rpc.msg.js +17 -0
- package/module/codegen/ibc/applications/transfer/v2/packet.js +74 -0
- package/module/codegen/ibc/bundle.js +106 -0
- package/module/codegen/ibc/client.js +42 -0
- package/module/codegen/ibc/core/channel/v1/channel.js +554 -0
- package/module/codegen/ibc/core/channel/v1/genesis.js +161 -0
- package/module/codegen/ibc/core/channel/v1/query.js +1612 -0
- package/module/codegen/ibc/core/channel/v1/query.lcd.js +138 -0
- package/module/codegen/ibc/core/channel/v1/query.rpc.Query.js +137 -0
- package/module/codegen/ibc/core/channel/v1/tx.amino.js +522 -0
- package/module/codegen/ibc/core/channel/v1/tx.js +1072 -0
- package/module/codegen/ibc/core/channel/v1/tx.registry.js +195 -0
- package/module/codegen/ibc/core/channel/v1/tx.rpc.msg.js +71 -0
- package/module/codegen/ibc/core/client/v1/client.js +418 -0
- package/module/codegen/ibc/core/client/v1/genesis.js +191 -0
- package/module/codegen/ibc/core/client/v1/query.js +791 -0
- package/module/codegen/ibc/core/client/v1/query.lcd.js +88 -0
- package/module/codegen/ibc/core/client/v1/query.rpc.Query.js +92 -0
- package/module/codegen/ibc/core/client/v1/tx.amino.js +150 -0
- package/module/codegen/ibc/core/client/v1/tx.js +395 -0
- package/module/codegen/ibc/core/client/v1/tx.registry.js +87 -0
- package/module/codegen/ibc/core/client/v1/tx.rpc.msg.js +35 -0
- package/module/codegen/ibc/core/commitment/v1/commitment.js +197 -0
- package/module/codegen/ibc/core/connection/v1/connection.js +457 -0
- package/module/codegen/ibc/core/connection/v1/genesis.js +67 -0
- package/module/codegen/ibc/core/connection/v1/query.js +571 -0
- package/module/codegen/ibc/core/connection/v1/query.lcd.js +56 -0
- package/module/codegen/ibc/core/connection/v1/query.rpc.Query.js +65 -0
- package/module/codegen/ibc/core/connection/v1/tx.amino.js +266 -0
- package/module/codegen/ibc/core/connection/v1/tx.js +537 -0
- package/module/codegen/ibc/core/connection/v1/tx.registry.js +87 -0
- package/module/codegen/ibc/core/connection/v1/tx.rpc.msg.js +35 -0
- package/module/codegen/ibc/core/port/v1/query.js +123 -0
- package/module/codegen/ibc/core/port/v1/query.rpc.Query.js +27 -0
- package/module/codegen/ibc/core/types/v1/genesis.js +60 -0
- package/module/codegen/ibc/lcd.js +123 -0
- package/module/codegen/ibc/lightclients/localhost/v1/localhost.js +57 -0
- package/module/codegen/ibc/lightclients/solomachine/v1/solomachine.js +1028 -0
- package/module/codegen/ibc/lightclients/solomachine/v2/solomachine.js +1028 -0
- package/module/codegen/ibc/lightclients/tendermint/v1/tendermint.js +395 -0
- package/module/codegen/ibc/rpc.query.js +87 -0
- package/module/codegen/ibc/rpc.tx.js +64 -0
- package/module/codegen/ics23/bundle.js +5 -0
- package/module/codegen/index.js +6 -3
- package/module/codegen/tendermint/abci/types.js +4 -33
- package/module/codegen/tendermint/bundle.js +17 -17
- package/module/codegen/tendermint/crypto/proof.js +1 -1
- package/module/codegen/tendermint/libs/bits/types.js +1 -1
- package/module/codegen/tendermint/p2p/types.js +1 -1
- package/module/codegen/tendermint/types/evidence.js +1 -1
- package/module/codegen/tendermint/types/types.js +3 -21
- package/module/codegen/tendermint/types/validator.js +1 -1
- package/module/codegen/tendermint/version/types.js +1 -1
- package/package.json +1 -1
- package/src/codegen/amino/amino.ts +1 -0
- package/src/codegen/amino/bundle.ts +3 -0
- package/src/codegen/beezee/burner/query.ts +0 -1
- package/src/codegen/beezee/burner/tx.amino.ts +3 -3
- package/src/codegen/beezee/cointrunk/anon_articles_counter.ts +1 -1
- package/src/codegen/beezee/cointrunk/article.ts +1 -1
- package/src/codegen/beezee/cointrunk/events.ts +1 -1
- package/src/codegen/beezee/cointrunk/genesis.ts +1 -1
- package/src/codegen/beezee/cointrunk/publisher.ts +1 -1
- package/src/codegen/beezee/cointrunk/query.ts +0 -1
- package/src/codegen/beezee/cointrunk/tx.amino.ts +6 -6
- package/src/codegen/bze/bundle.ts +48 -48
- package/src/codegen/confio/proofs.ts +1451 -0
- package/src/codegen/cosmos/app/v1alpha1/config.ts +0 -18
- package/src/codegen/cosmos/app/v1alpha1/module.ts +0 -67
- package/src/codegen/cosmos/app/v1alpha1/query.ts +0 -1
- package/src/codegen/cosmos/auth/v1beta1/auth.ts +1 -1
- package/src/codegen/cosmos/auth/v1beta1/genesis.ts +0 -3
- package/src/codegen/cosmos/auth/v1beta1/query.ts +0 -7
- package/src/codegen/cosmos/authz/v1beta1/authz.ts +0 -8
- package/src/codegen/cosmos/authz/v1beta1/event.ts +0 -10
- package/src/codegen/cosmos/authz/v1beta1/query.ts +0 -17
- package/src/codegen/cosmos/authz/v1beta1/tx.amino.ts +9 -10
- package/src/codegen/cosmos/authz/v1beta1/tx.ts +0 -6
- package/src/codegen/cosmos/bank/v1beta1/bank.ts +0 -46
- package/src/codegen/cosmos/bank/v1beta1/genesis.ts +0 -13
- package/src/codegen/cosmos/bank/v1beta1/query.ts +0 -44
- package/src/codegen/cosmos/bank/v1beta1/tx.amino.ts +6 -6
- package/src/codegen/cosmos/base/abci/v1beta1/abci.ts +1 -87
- package/src/codegen/cosmos/base/query/v1beta1/pagination.ts +1 -40
- package/src/codegen/cosmos/base/reflection/v1beta1/reflection.ts +0 -2
- package/src/codegen/cosmos/base/reflection/v2alpha1/reflection.ts +0 -78
- package/src/codegen/cosmos/base/snapshots/v1beta1/snapshot.ts +1 -6
- package/src/codegen/cosmos/base/store/v1beta1/commit_info.ts +1 -1
- package/src/codegen/cosmos/base/store/v1beta1/listening.ts +0 -3
- package/src/codegen/cosmos/base/tendermint/v1beta1/query.ts +1 -15
- package/src/codegen/cosmos/bundle.ts +328 -328
- package/src/codegen/cosmos/capability/v1beta1/capability.ts +1 -1
- package/src/codegen/cosmos/capability/v1beta1/genesis.ts +1 -10
- package/src/codegen/cosmos/crisis/v1beta1/genesis.ts +0 -4
- package/src/codegen/cosmos/crisis/v1beta1/tx.amino.ts +3 -3
- package/src/codegen/cosmos/crypto/hd/v1/hd.ts +0 -12
- package/src/codegen/cosmos/crypto/keyring/v1/record.ts +0 -11
- package/src/codegen/cosmos/crypto/secp256r1/keys.ts +0 -5
- package/src/codegen/cosmos/distribution/v1beta1/genesis.ts +0 -48
- package/src/codegen/cosmos/distribution/v1beta1/query.ts +0 -27
- package/src/codegen/cosmos/distribution/v1beta1/tx.amino.ts +12 -12
- package/src/codegen/cosmos/evidence/v1beta1/evidence.ts +1 -1
- package/src/codegen/cosmos/evidence/v1beta1/genesis.ts +0 -1
- package/src/codegen/cosmos/evidence/v1beta1/query.ts +0 -6
- package/src/codegen/cosmos/evidence/v1beta1/tx.amino.ts +3 -3
- package/src/codegen/cosmos/evidence/v1beta1/tx.ts +0 -1
- package/src/codegen/cosmos/feegrant/v1beta1/feegrant.ts +0 -34
- package/src/codegen/cosmos/feegrant/v1beta1/query.ts +0 -14
- package/src/codegen/cosmos/feegrant/v1beta1/tx.amino.ts +6 -6
- package/src/codegen/cosmos/feegrant/v1beta1/tx.ts +0 -8
- package/src/codegen/cosmos/genutil/v1beta1/genesis.ts +0 -1
- package/src/codegen/cosmos/gov/v1/genesis.ts +1 -14
- package/src/codegen/cosmos/gov/v1/gov.ts +4 -86
- package/src/codegen/cosmos/gov/v1/query.ts +3 -43
- package/src/codegen/cosmos/gov/v1/tx.amino.ts +15 -15
- package/src/codegen/cosmos/gov/v1/tx.ts +2 -7
- package/src/codegen/cosmos/gov/v1beta1/genesis.ts +1 -14
- package/src/codegen/cosmos/gov/v1beta1/gov.ts +5 -91
- package/src/codegen/cosmos/gov/v1beta1/query.ts +3 -43
- package/src/codegen/cosmos/gov/v1beta1/tx.amino.ts +12 -12
- package/src/codegen/cosmos/gov/v1beta1/tx.ts +2 -2
- package/src/codegen/cosmos/group/v1/events.ts +3 -16
- package/src/codegen/cosmos/group/v1/genesis.ts +1 -25
- package/src/codegen/cosmos/group/v1/query.ts +1 -61
- package/src/codegen/cosmos/group/v1/tx.amino.ts +42 -42
- package/src/codegen/cosmos/group/v1/tx.ts +5 -121
- package/src/codegen/cosmos/group/v1/types.ts +8 -205
- package/src/codegen/cosmos/mint/v1beta1/genesis.ts +0 -3
- package/src/codegen/cosmos/mint/v1beta1/mint.ts +0 -14
- package/src/codegen/cosmos/mint/v1beta1/query.ts +0 -3
- package/src/codegen/cosmos/nft/v1beta1/genesis.ts +0 -4
- package/src/codegen/cosmos/nft/v1beta1/nft.ts +0 -22
- package/src/codegen/cosmos/nft/v1beta1/query.ts +0 -1
- package/src/codegen/cosmos/nft/v1beta1/tx.amino.ts +3 -3
- package/src/codegen/cosmos/nft/v1beta1/tx.ts +0 -7
- package/src/codegen/cosmos/orm/v1/orm.ts +0 -71
- package/src/codegen/cosmos/orm/v1alpha1/schema.ts +2 -70
- package/src/codegen/cosmos/params/v1beta1/query.ts +0 -4
- package/src/codegen/cosmos/slashing/v1beta1/genesis.ts +0 -20
- package/src/codegen/cosmos/slashing/v1beta1/query.ts +0 -3
- package/src/codegen/cosmos/slashing/v1beta1/slashing.ts +1 -21
- package/src/codegen/cosmos/slashing/v1beta1/tx.amino.ts +3 -3
- package/src/codegen/cosmos/staking/v1beta1/authz.ts +2 -34
- package/src/codegen/cosmos/staking/v1beta1/genesis.ts +0 -22
- package/src/codegen/cosmos/staking/v1beta1/query.ts +0 -60
- package/src/codegen/cosmos/staking/v1beta1/staking.ts +2 -97
- package/src/codegen/cosmos/staking/v1beta1/tx.amino.ts +15 -16
- package/src/codegen/cosmos/staking/v1beta1/tx.ts +0 -7
- package/src/codegen/cosmos/tx/signing/v1beta1/signing.ts +2 -66
- package/src/codegen/cosmos/tx/v1beta1/service.ts +4 -74
- package/src/codegen/cosmos/tx/v1beta1/tx.ts +3 -181
- package/src/codegen/cosmos/upgrade/v1beta1/query.ts +0 -14
- package/src/codegen/cosmos/upgrade/v1beta1/tx.amino.ts +6 -6
- package/src/codegen/cosmos/upgrade/v1beta1/tx.ts +0 -4
- package/src/codegen/cosmos/upgrade/v1beta1/upgrade.ts +1 -35
- package/src/codegen/cosmos/vesting/v1beta1/tx.amino.ts +9 -9
- package/src/codegen/cosmos/vesting/v1beta1/tx.ts +1 -1
- package/src/codegen/cosmos/vesting/v1beta1/vesting.ts +1 -1
- package/src/codegen/cosmos_proto/bundle.ts +2 -2
- package/src/codegen/cosmos_proto/cosmos.ts +2 -37
- package/src/codegen/gogoproto/bundle.ts +2 -2
- package/src/codegen/google/api/http.ts +0 -66
- package/src/codegen/google/bundle.ts +13 -13
- package/src/codegen/google/protobuf/any.ts +0 -31
- package/src/codegen/google/protobuf/descriptor.ts +12 -638
- package/src/codegen/google/protobuf/duration.ts +1 -15
- package/src/codegen/google/protobuf/timestamp.ts +1 -13
- package/src/codegen/helpers.ts +3 -1
- package/src/codegen/ibc/applications/transfer/v1/genesis.ts +82 -0
- package/src/codegen/ibc/applications/transfer/v1/query.lcd.ts +49 -0
- package/src/codegen/ibc/applications/transfer/v1/query.rpc.Query.ts +65 -0
- package/src/codegen/ibc/applications/transfer/v1/query.ts +362 -0
- package/src/codegen/ibc/applications/transfer/v1/transfer.ts +167 -0
- package/src/codegen/ibc/applications/transfer/v1/tx.amino.ts +73 -0
- package/src/codegen/ibc/applications/transfer/v1/tx.registry.ts +37 -0
- package/src/codegen/ibc/applications/transfer/v1/tx.rpc.msg.ts +24 -0
- package/src/codegen/ibc/applications/transfer/v1/tx.ts +198 -0
- package/src/codegen/ibc/applications/transfer/v2/packet.ts +108 -0
- package/src/codegen/ibc/bundle.ts +137 -0
- package/src/codegen/ibc/client.ts +54 -0
- package/src/codegen/ibc/core/channel/v1/channel.ts +826 -0
- package/src/codegen/ibc/core/channel/v1/genesis.ts +229 -0
- package/src/codegen/ibc/core/channel/v1/query.lcd.ts +165 -0
- package/src/codegen/ibc/core/channel/v1/query.rpc.Query.ts +229 -0
- package/src/codegen/ibc/core/channel/v1/query.ts +2326 -0
- package/src/codegen/ibc/core/channel/v1/tx.amino.ts +670 -0
- package/src/codegen/ibc/core/channel/v1/tx.registry.ts +226 -0
- package/src/codegen/ibc/core/channel/v1/tx.rpc.msg.ts +117 -0
- package/src/codegen/ibc/core/channel/v1/tx.ts +1487 -0
- package/src/codegen/ibc/core/client/v1/client.ts +597 -0
- package/src/codegen/ibc/core/client/v1/genesis.ts +276 -0
- package/src/codegen/ibc/core/client/v1/query.lcd.ts +107 -0
- package/src/codegen/ibc/core/client/v1/query.rpc.Query.ts +141 -0
- package/src/codegen/ibc/core/client/v1/query.ts +1095 -0
- package/src/codegen/ibc/core/client/v1/tx.amino.ts +205 -0
- package/src/codegen/ibc/core/client/v1/tx.registry.ts +100 -0
- package/src/codegen/ibc/core/client/v1/tx.rpc.msg.ts +54 -0
- package/src/codegen/ibc/core/client/v1/tx.ts +571 -0
- package/src/codegen/ibc/core/commitment/v1/commitment.ts +257 -0
- package/src/codegen/ibc/core/connection/v1/connection.ts +685 -0
- package/src/codegen/ibc/core/connection/v1/genesis.ts +96 -0
- package/src/codegen/ibc/core/connection/v1/query.lcd.ts +68 -0
- package/src/codegen/ibc/core/connection/v1/query.rpc.Query.ts +102 -0
- package/src/codegen/ibc/core/connection/v1/query.ts +805 -0
- package/src/codegen/ibc/core/connection/v1/tx.amino.ts +343 -0
- package/src/codegen/ibc/core/connection/v1/tx.registry.ts +100 -0
- package/src/codegen/ibc/core/connection/v1/tx.rpc.msg.ts +57 -0
- package/src/codegen/ibc/core/connection/v1/tx.ts +770 -0
- package/src/codegen/ibc/core/port/v1/query.rpc.Query.ts +35 -0
- package/src/codegen/ibc/core/port/v1/query.ts +185 -0
- package/src/codegen/ibc/core/types/v1/genesis.ts +92 -0
- package/src/codegen/ibc/lcd.ts +125 -0
- package/src/codegen/ibc/lightclients/localhost/v1/localhost.ts +79 -0
- package/src/codegen/ibc/lightclients/solomachine/v1/solomachine.ts +1441 -0
- package/src/codegen/ibc/lightclients/solomachine/v2/solomachine.ts +1441 -0
- package/src/codegen/ibc/lightclients/tendermint/v1/tendermint.ts +585 -0
- package/src/codegen/ibc/rpc.query.ts +89 -0
- package/src/codegen/ibc/rpc.tx.ts +67 -0
- package/src/codegen/ics23/bundle.ts +3 -0
- package/src/codegen/index.ts +6 -3
- package/src/codegen/tendermint/abci/types.ts +8 -109
- package/src/codegen/tendermint/bundle.ts +22 -22
- package/src/codegen/tendermint/crypto/proof.ts +1 -4
- package/src/codegen/tendermint/libs/bits/types.ts +1 -1
- package/src/codegen/tendermint/p2p/types.ts +1 -1
- package/src/codegen/tendermint/types/evidence.ts +1 -1
- package/src/codegen/tendermint/types/params.ts +0 -36
- package/src/codegen/tendermint/types/types.ts +6 -50
- package/src/codegen/tendermint/types/validator.ts +1 -1
- package/src/codegen/tendermint/version/types.ts +1 -1
- package/types/codegen/amino/amino.d.ts +1 -0
- package/types/codegen/amino/bundle.d.ts +1 -0
- package/types/codegen/beezee/burner/query.d.ts +0 -1
- package/types/codegen/beezee/burner/tx.amino.d.ts +3 -3
- package/types/codegen/beezee/cointrunk/anon_articles_counter.d.ts +1 -1
- package/types/codegen/beezee/cointrunk/article.d.ts +1 -1
- package/types/codegen/beezee/cointrunk/events.d.ts +1 -1
- package/types/codegen/beezee/cointrunk/genesis.d.ts +1 -1
- package/types/codegen/beezee/cointrunk/publisher.d.ts +1 -1
- package/types/codegen/beezee/cointrunk/query.d.ts +0 -1
- package/types/codegen/beezee/cointrunk/tx.amino.d.ts +6 -6
- package/types/codegen/bze/bundle.d.ts +247 -3513
- package/types/codegen/confio/proofs.d.ts +439 -0
- package/types/codegen/cosmos/app/v1alpha1/config.d.ts +0 -17
- package/types/codegen/cosmos/app/v1alpha1/module.d.ts +0 -64
- package/types/codegen/cosmos/app/v1alpha1/query.d.ts +0 -1
- package/types/codegen/cosmos/auth/v1beta1/auth.d.ts +1 -1
- package/types/codegen/cosmos/auth/v1beta1/genesis.d.ts +0 -2
- package/types/codegen/cosmos/auth/v1beta1/query.d.ts +0 -6
- package/types/codegen/cosmos/authz/v1beta1/authz.d.ts +0 -7
- package/types/codegen/cosmos/authz/v1beta1/event.d.ts +0 -6
- package/types/codegen/cosmos/authz/v1beta1/query.d.ts +0 -10
- package/types/codegen/cosmos/authz/v1beta1/tx.amino.d.ts +9 -9
- package/types/codegen/cosmos/authz/v1beta1/tx.d.ts +0 -5
- package/types/codegen/cosmos/bank/v1beta1/bank.d.ts +0 -37
- package/types/codegen/cosmos/bank/v1beta1/genesis.d.ts +0 -9
- package/types/codegen/cosmos/bank/v1beta1/query.d.ts +0 -34
- package/types/codegen/cosmos/bank/v1beta1/tx.amino.d.ts +6 -6
- package/types/codegen/cosmos/base/abci/v1beta1/abci.d.ts +1 -62
- package/types/codegen/cosmos/base/query/v1beta1/pagination.d.ts +1 -35
- package/types/codegen/cosmos/base/reflection/v1beta1/reflection.d.ts +0 -2
- package/types/codegen/cosmos/base/reflection/v2alpha1/reflection.d.ts +0 -63
- package/types/codegen/cosmos/base/snapshots/v1beta1/snapshot.d.ts +1 -4
- package/types/codegen/cosmos/base/store/v1beta1/commit_info.d.ts +1 -1
- package/types/codegen/cosmos/base/store/v1beta1/listening.d.ts +0 -2
- package/types/codegen/cosmos/base/tendermint/v1beta1/query.d.ts +1 -9
- package/types/codegen/cosmos/bundle.d.ts +3223 -41279
- package/types/codegen/cosmos/capability/v1beta1/capability.d.ts +1 -1
- package/types/codegen/cosmos/capability/v1beta1/genesis.d.ts +1 -8
- package/types/codegen/cosmos/crisis/v1beta1/genesis.d.ts +0 -4
- package/types/codegen/cosmos/crisis/v1beta1/tx.amino.d.ts +3 -3
- package/types/codegen/cosmos/crypto/hd/v1/hd.d.ts +0 -8
- package/types/codegen/cosmos/crypto/keyring/v1/record.d.ts +0 -6
- package/types/codegen/cosmos/crypto/secp256r1/keys.d.ts +0 -5
- package/types/codegen/cosmos/distribution/v1beta1/genesis.d.ts +0 -28
- package/types/codegen/cosmos/distribution/v1beta1/query.d.ts +0 -21
- package/types/codegen/cosmos/distribution/v1beta1/tx.amino.d.ts +12 -12
- package/types/codegen/cosmos/evidence/v1beta1/evidence.d.ts +1 -1
- package/types/codegen/cosmos/evidence/v1beta1/genesis.d.ts +0 -1
- package/types/codegen/cosmos/evidence/v1beta1/query.d.ts +0 -5
- package/types/codegen/cosmos/evidence/v1beta1/tx.amino.d.ts +3 -3
- package/types/codegen/cosmos/evidence/v1beta1/tx.d.ts +0 -1
- package/types/codegen/cosmos/feegrant/v1beta1/feegrant.d.ts +0 -26
- package/types/codegen/cosmos/feegrant/v1beta1/query.d.ts +0 -9
- package/types/codegen/cosmos/feegrant/v1beta1/tx.amino.d.ts +6 -6
- package/types/codegen/cosmos/feegrant/v1beta1/tx.d.ts +0 -5
- package/types/codegen/cosmos/genutil/v1beta1/genesis.d.ts +0 -1
- package/types/codegen/cosmos/gov/v1/genesis.d.ts +1 -8
- package/types/codegen/cosmos/gov/v1/gov.d.ts +4 -69
- package/types/codegen/cosmos/gov/v1/query.d.ts +3 -31
- package/types/codegen/cosmos/gov/v1/tx.amino.d.ts +15 -15
- package/types/codegen/cosmos/gov/v1/tx.d.ts +2 -5
- package/types/codegen/cosmos/gov/v1beta1/genesis.d.ts +1 -8
- package/types/codegen/cosmos/gov/v1beta1/gov.d.ts +5 -74
- package/types/codegen/cosmos/gov/v1beta1/query.d.ts +3 -31
- package/types/codegen/cosmos/gov/v1beta1/tx.amino.d.ts +12 -12
- package/types/codegen/cosmos/gov/v1beta1/tx.d.ts +2 -2
- package/types/codegen/cosmos/group/v1/events.d.ts +3 -14
- package/types/codegen/cosmos/group/v1/genesis.d.ts +1 -18
- package/types/codegen/cosmos/group/v1/query.d.ts +1 -44
- package/types/codegen/cosmos/group/v1/tx.amino.d.ts +42 -42
- package/types/codegen/cosmos/group/v1/tx.d.ts +5 -85
- package/types/codegen/cosmos/group/v1/types.d.ts +8 -150
- package/types/codegen/cosmos/mint/v1beta1/genesis.d.ts +0 -2
- package/types/codegen/cosmos/mint/v1beta1/mint.d.ts +0 -8
- package/types/codegen/cosmos/mint/v1beta1/query.d.ts +0 -3
- package/types/codegen/cosmos/nft/v1beta1/genesis.d.ts +0 -3
- package/types/codegen/cosmos/nft/v1beta1/nft.d.ts +0 -12
- package/types/codegen/cosmos/nft/v1beta1/query.d.ts +0 -1
- package/types/codegen/cosmos/nft/v1beta1/tx.amino.d.ts +3 -3
- package/types/codegen/cosmos/nft/v1beta1/tx.d.ts +0 -4
- package/types/codegen/cosmos/orm/v1/orm.d.ts +0 -66
- package/types/codegen/cosmos/orm/v1alpha1/schema.d.ts +2 -62
- package/types/codegen/cosmos/params/v1beta1/query.d.ts +0 -3
- package/types/codegen/cosmos/slashing/v1beta1/genesis.d.ts +0 -15
- package/types/codegen/cosmos/slashing/v1beta1/query.d.ts +0 -3
- package/types/codegen/cosmos/slashing/v1beta1/slashing.d.ts +1 -16
- package/types/codegen/cosmos/slashing/v1beta1/tx.amino.d.ts +3 -3
- package/types/codegen/cosmos/staking/v1beta1/authz.d.ts +2 -27
- package/types/codegen/cosmos/staking/v1beta1/genesis.d.ts +0 -15
- package/types/codegen/cosmos/staking/v1beta1/query.d.ts +0 -41
- package/types/codegen/cosmos/staking/v1beta1/staking.d.ts +2 -58
- package/types/codegen/cosmos/staking/v1beta1/tx.amino.d.ts +15 -15
- package/types/codegen/cosmos/staking/v1beta1/tx.d.ts +0 -6
- package/types/codegen/cosmos/tx/signing/v1beta1/signing.d.ts +2 -57
- package/types/codegen/cosmos/tx/v1beta1/service.d.ts +4 -58
- package/types/codegen/cosmos/tx/v1beta1/tx.d.ts +3 -152
- package/types/codegen/cosmos/upgrade/v1beta1/query.d.ts +0 -14
- package/types/codegen/cosmos/upgrade/v1beta1/tx.amino.d.ts +6 -6
- package/types/codegen/cosmos/upgrade/v1beta1/tx.d.ts +0 -3
- package/types/codegen/cosmos/upgrade/v1beta1/upgrade.d.ts +1 -30
- package/types/codegen/cosmos/vesting/v1beta1/tx.amino.d.ts +9 -9
- package/types/codegen/cosmos/vesting/v1beta1/tx.d.ts +1 -1
- package/types/codegen/cosmos/vesting/v1beta1/vesting.d.ts +1 -1
- package/types/codegen/cosmos_proto/bundle.d.ts +12 -12
- package/types/codegen/cosmos_proto/cosmos.d.ts +2 -34
- package/types/codegen/google/api/http.d.ts +0 -55
- package/types/codegen/google/bundle.d.ts +284 -7810
- package/types/codegen/google/protobuf/any.d.ts +0 -30
- package/types/codegen/google/protobuf/descriptor.d.ts +12 -566
- package/types/codegen/google/protobuf/duration.d.ts +1 -14
- package/types/codegen/google/protobuf/timestamp.d.ts +1 -12
- package/types/codegen/helpers.d.ts +2 -2
- package/types/codegen/ibc/applications/transfer/v1/genesis.d.ts +20 -0
- package/types/codegen/ibc/applications/transfer/v1/query.d.ts +112 -0
- package/types/codegen/ibc/applications/transfer/v1/query.lcd.d.ts +11 -0
- package/types/codegen/ibc/applications/transfer/v1/query.rpc.Query.d.ts +24 -0
- package/types/codegen/ibc/applications/transfer/v1/transfer.d.ts +61 -0
- package/types/codegen/ibc/applications/transfer/v1/tx.amino.d.ts +25 -0
- package/types/codegen/ibc/applications/transfer/v1/tx.d.ts +61 -0
- package/types/codegen/ibc/applications/transfer/v1/tx.registry.d.ts +24 -0
- package/types/codegen/ibc/applications/transfer/v1/tx.rpc.msg.d.ts +12 -0
- package/types/codegen/ibc/applications/transfer/v2/packet.d.ts +33 -0
- package/types/codegen/ibc/bundle.d.ts +4077 -0
- package/types/codegen/ibc/client.d.ts +560 -0
- package/types/codegen/ibc/core/channel/v1/channel.d.ts +243 -0
- package/types/codegen/ibc/core/channel/v1/genesis.d.ts +54 -0
- package/types/codegen/ibc/core/channel/v1/query.d.ts +655 -0
- package/types/codegen/ibc/core/channel/v1/query.lcd.d.ts +21 -0
- package/types/codegen/ibc/core/channel/v1/query.rpc.Query.d.ts +88 -0
- package/types/codegen/ibc/core/channel/v1/tx.amino.d.ts +209 -0
- package/types/codegen/ibc/core/channel/v1/tx.d.ts +376 -0
- package/types/codegen/ibc/core/channel/v1/tx.registry.d.ts +132 -0
- package/types/codegen/ibc/core/channel/v1/tx.rpc.msg.d.ts +42 -0
- package/types/codegen/ibc/core/client/v1/client.d.ts +195 -0
- package/types/codegen/ibc/core/client/v1/genesis.d.ts +75 -0
- package/types/codegen/ibc/core/client/v1/query.d.ts +352 -0
- package/types/codegen/ibc/core/client/v1/query.lcd.d.ts +16 -0
- package/types/codegen/ibc/core/client/v1/query.rpc.Query.d.ts +50 -0
- package/types/codegen/ibc/core/client/v1/tx.amino.d.ts +77 -0
- package/types/codegen/ibc/core/client/v1/tx.d.ts +166 -0
- package/types/codegen/ibc/core/client/v1/tx.registry.d.ts +60 -0
- package/types/codegen/ibc/core/client/v1/tx.rpc.msg.d.ts +21 -0
- package/types/codegen/ibc/core/commitment/v1/commitment.d.ts +89 -0
- package/types/codegen/ibc/core/connection/v1/connection.d.ts +203 -0
- package/types/codegen/ibc/core/connection/v1/genesis.d.ts +23 -0
- package/types/codegen/ibc/core/connection/v1/query.d.ts +244 -0
- package/types/codegen/ibc/core/connection/v1/query.lcd.d.ts +13 -0
- package/types/codegen/ibc/core/connection/v1/query.rpc.Query.d.ts +41 -0
- package/types/codegen/ibc/core/connection/v1/tx.amino.d.ts +103 -0
- package/types/codegen/ibc/core/connection/v1/tx.d.ts +208 -0
- package/types/codegen/ibc/core/connection/v1/tx.registry.d.ts +60 -0
- package/types/codegen/ibc/core/connection/v1/tx.rpc.msg.d.ts +24 -0
- package/types/codegen/ibc/core/port/v1/query.d.ts +46 -0
- package/types/codegen/ibc/core/port/v1/query.rpc.Query.d.ts +16 -0
- package/types/codegen/ibc/core/types/v1/genesis.d.ts +28 -0
- package/types/codegen/ibc/lcd.d.ts +75 -0
- package/types/codegen/ibc/lightclients/localhost/v1/localhost.d.ts +26 -0
- package/types/codegen/ibc/lightclients/solomachine/v1/solomachine.d.ts +390 -0
- package/types/codegen/ibc/lightclients/solomachine/v2/solomachine.d.ts +390 -0
- package/types/codegen/ibc/lightclients/tendermint/v1/tendermint.d.ts +184 -0
- package/types/codegen/ibc/rpc.query.d.ts +243 -0
- package/types/codegen/ibc/rpc.tx.d.ts +65 -0
- package/types/codegen/ics23/bundle.d.ts +545 -0
- package/types/codegen/index.d.ts +5 -2
- package/types/codegen/tendermint/abci/types.d.ts +8 -78
- package/types/codegen/tendermint/bundle.d.ts +567 -18175
- package/types/codegen/tendermint/crypto/proof.d.ts +1 -3
- package/types/codegen/tendermint/libs/bits/types.d.ts +1 -1
- package/types/codegen/tendermint/p2p/types.d.ts +1 -1
- package/types/codegen/tendermint/types/params.d.ts +0 -32
- package/types/codegen/tendermint/types/types.d.ts +5 -36
- package/types/codegen/tendermint/types/validator.d.ts +1 -1
- package/types/codegen/tendermint/version/types.d.ts +1 -1
|
@@ -16,20 +16,7 @@ export declare enum VoteOption {
|
|
|
16
16
|
VOTE_OPTION_NO_WITH_VETO = 4,
|
|
17
17
|
UNRECOGNIZED = -1
|
|
18
18
|
}
|
|
19
|
-
|
|
20
|
-
export declare enum VoteOptionSDKType {
|
|
21
|
-
/** VOTE_OPTION_UNSPECIFIED - VOTE_OPTION_UNSPECIFIED defines a no-op vote option. */
|
|
22
|
-
VOTE_OPTION_UNSPECIFIED = 0,
|
|
23
|
-
/** VOTE_OPTION_YES - VOTE_OPTION_YES defines a yes vote option. */
|
|
24
|
-
VOTE_OPTION_YES = 1,
|
|
25
|
-
/** VOTE_OPTION_ABSTAIN - VOTE_OPTION_ABSTAIN defines an abstain vote option. */
|
|
26
|
-
VOTE_OPTION_ABSTAIN = 2,
|
|
27
|
-
/** VOTE_OPTION_NO - VOTE_OPTION_NO defines a no vote option. */
|
|
28
|
-
VOTE_OPTION_NO = 3,
|
|
29
|
-
/** VOTE_OPTION_NO_WITH_VETO - VOTE_OPTION_NO_WITH_VETO defines a no with veto vote option. */
|
|
30
|
-
VOTE_OPTION_NO_WITH_VETO = 4,
|
|
31
|
-
UNRECOGNIZED = -1
|
|
32
|
-
}
|
|
19
|
+
export declare const VoteOptionSDKType: typeof VoteOption;
|
|
33
20
|
export declare function voteOptionFromJSON(object: any): VoteOption;
|
|
34
21
|
export declare function voteOptionToJSON(object: VoteOption): string;
|
|
35
22
|
/** ProposalStatus defines proposal statuses. */
|
|
@@ -49,23 +36,7 @@ export declare enum ProposalStatus {
|
|
|
49
36
|
PROPOSAL_STATUS_WITHDRAWN = 4,
|
|
50
37
|
UNRECOGNIZED = -1
|
|
51
38
|
}
|
|
52
|
-
|
|
53
|
-
export declare enum ProposalStatusSDKType {
|
|
54
|
-
/** PROPOSAL_STATUS_UNSPECIFIED - An empty value is invalid and not allowed. */
|
|
55
|
-
PROPOSAL_STATUS_UNSPECIFIED = 0,
|
|
56
|
-
/** PROPOSAL_STATUS_SUBMITTED - Initial status of a proposal when persisted. */
|
|
57
|
-
PROPOSAL_STATUS_SUBMITTED = 1,
|
|
58
|
-
/** PROPOSAL_STATUS_CLOSED - Final status of a proposal when the final tally was executed. */
|
|
59
|
-
PROPOSAL_STATUS_CLOSED = 2,
|
|
60
|
-
/** PROPOSAL_STATUS_ABORTED - Final status of a proposal when the group was modified before the final tally. */
|
|
61
|
-
PROPOSAL_STATUS_ABORTED = 3,
|
|
62
|
-
/**
|
|
63
|
-
* PROPOSAL_STATUS_WITHDRAWN - A proposal can be deleted before the voting start time by the owner. When this happens the final status
|
|
64
|
-
* is Withdrawn.
|
|
65
|
-
*/
|
|
66
|
-
PROPOSAL_STATUS_WITHDRAWN = 4,
|
|
67
|
-
UNRECOGNIZED = -1
|
|
68
|
-
}
|
|
39
|
+
export declare const ProposalStatusSDKType: typeof ProposalStatus;
|
|
69
40
|
export declare function proposalStatusFromJSON(object: any): ProposalStatus;
|
|
70
41
|
export declare function proposalStatusToJSON(object: ProposalStatus): string;
|
|
71
42
|
/** ProposalResult defines types of proposal results. */
|
|
@@ -80,18 +51,7 @@ export declare enum ProposalResult {
|
|
|
80
51
|
PROPOSAL_RESULT_REJECTED = 3,
|
|
81
52
|
UNRECOGNIZED = -1
|
|
82
53
|
}
|
|
83
|
-
|
|
84
|
-
export declare enum ProposalResultSDKType {
|
|
85
|
-
/** PROPOSAL_RESULT_UNSPECIFIED - An empty value is invalid and not allowed */
|
|
86
|
-
PROPOSAL_RESULT_UNSPECIFIED = 0,
|
|
87
|
-
/** PROPOSAL_RESULT_UNFINALIZED - Until a final tally has happened the status is unfinalized */
|
|
88
|
-
PROPOSAL_RESULT_UNFINALIZED = 1,
|
|
89
|
-
/** PROPOSAL_RESULT_ACCEPTED - Final result of the tally */
|
|
90
|
-
PROPOSAL_RESULT_ACCEPTED = 2,
|
|
91
|
-
/** PROPOSAL_RESULT_REJECTED - Final result of the tally */
|
|
92
|
-
PROPOSAL_RESULT_REJECTED = 3,
|
|
93
|
-
UNRECOGNIZED = -1
|
|
94
|
-
}
|
|
54
|
+
export declare const ProposalResultSDKType: typeof ProposalResult;
|
|
95
55
|
export declare function proposalResultFromJSON(object: any): ProposalResult;
|
|
96
56
|
export declare function proposalResultToJSON(object: ProposalResult): string;
|
|
97
57
|
/** ProposalExecutorResult defines types of proposal executor results. */
|
|
@@ -106,18 +66,7 @@ export declare enum ProposalExecutorResult {
|
|
|
106
66
|
PROPOSAL_EXECUTOR_RESULT_FAILURE = 3,
|
|
107
67
|
UNRECOGNIZED = -1
|
|
108
68
|
}
|
|
109
|
-
|
|
110
|
-
export declare enum ProposalExecutorResultSDKType {
|
|
111
|
-
/** PROPOSAL_EXECUTOR_RESULT_UNSPECIFIED - An empty value is not allowed. */
|
|
112
|
-
PROPOSAL_EXECUTOR_RESULT_UNSPECIFIED = 0,
|
|
113
|
-
/** PROPOSAL_EXECUTOR_RESULT_NOT_RUN - We have not yet run the executor. */
|
|
114
|
-
PROPOSAL_EXECUTOR_RESULT_NOT_RUN = 1,
|
|
115
|
-
/** PROPOSAL_EXECUTOR_RESULT_SUCCESS - The executor was successful and proposed action updated state. */
|
|
116
|
-
PROPOSAL_EXECUTOR_RESULT_SUCCESS = 2,
|
|
117
|
-
/** PROPOSAL_EXECUTOR_RESULT_FAILURE - The executor returned an error and proposed action didn't update state. */
|
|
118
|
-
PROPOSAL_EXECUTOR_RESULT_FAILURE = 3,
|
|
119
|
-
UNRECOGNIZED = -1
|
|
120
|
-
}
|
|
69
|
+
export declare const ProposalExecutorResultSDKType: typeof ProposalExecutorResult;
|
|
121
70
|
export declare function proposalExecutorResultFromJSON(object: any): ProposalExecutorResult;
|
|
122
71
|
export declare function proposalExecutorResultToJSON(object: ProposalExecutorResult): string;
|
|
123
72
|
/**
|
|
@@ -139,13 +88,9 @@ export interface Member {
|
|
|
139
88
|
* non-zero weight and metadata.
|
|
140
89
|
*/
|
|
141
90
|
export interface MemberSDKType {
|
|
142
|
-
/** address is the member's account address. */
|
|
143
91
|
address: string;
|
|
144
|
-
/** weight is the member's voting weight that should be greater than 0. */
|
|
145
92
|
weight: string;
|
|
146
|
-
/** metadata is any arbitrary metadata to attached to the member. */
|
|
147
93
|
metadata: string;
|
|
148
|
-
/** added_at is a timestamp specifying when a member was added. */
|
|
149
94
|
added_at?: Date;
|
|
150
95
|
}
|
|
151
96
|
/** Members defines a repeated slice of Member objects. */
|
|
@@ -155,7 +100,6 @@ export interface Members {
|
|
|
155
100
|
}
|
|
156
101
|
/** Members defines a repeated slice of Member objects. */
|
|
157
102
|
export interface MembersSDKType {
|
|
158
|
-
/** members is the list of members. */
|
|
159
103
|
members: MemberSDKType[];
|
|
160
104
|
}
|
|
161
105
|
/** ThresholdDecisionPolicy implements the DecisionPolicy interface */
|
|
@@ -167,9 +111,7 @@ export interface ThresholdDecisionPolicy {
|
|
|
167
111
|
}
|
|
168
112
|
/** ThresholdDecisionPolicy implements the DecisionPolicy interface */
|
|
169
113
|
export interface ThresholdDecisionPolicySDKType {
|
|
170
|
-
/** threshold is the minimum weighted sum of yes votes that must be met or exceeded for a proposal to succeed. */
|
|
171
114
|
threshold: string;
|
|
172
|
-
/** windows defines the different windows for voting and execution. */
|
|
173
115
|
windows?: DecisionPolicyWindowsSDKType;
|
|
174
116
|
}
|
|
175
117
|
/** PercentageDecisionPolicy implements the DecisionPolicy interface */
|
|
@@ -181,9 +123,7 @@ export interface PercentageDecisionPolicy {
|
|
|
181
123
|
}
|
|
182
124
|
/** PercentageDecisionPolicy implements the DecisionPolicy interface */
|
|
183
125
|
export interface PercentageDecisionPolicySDKType {
|
|
184
|
-
/** percentage is the minimum percentage the weighted sum of yes votes must meet for a proposal to succeed. */
|
|
185
126
|
percentage: string;
|
|
186
|
-
/** windows defines the different windows for voting and execution. */
|
|
187
127
|
windows?: DecisionPolicyWindowsSDKType;
|
|
188
128
|
}
|
|
189
129
|
/** DecisionPolicyWindows defines the different windows for voting and execution. */
|
|
@@ -210,24 +150,7 @@ export interface DecisionPolicyWindows {
|
|
|
210
150
|
}
|
|
211
151
|
/** DecisionPolicyWindows defines the different windows for voting and execution. */
|
|
212
152
|
export interface DecisionPolicyWindowsSDKType {
|
|
213
|
-
/**
|
|
214
|
-
* voting_period is the duration from submission of a proposal to the end of voting period
|
|
215
|
-
* Within this times votes can be submitted with MsgVote.
|
|
216
|
-
*/
|
|
217
153
|
voting_period?: DurationSDKType;
|
|
218
|
-
/**
|
|
219
|
-
* min_execution_period is the minimum duration after the proposal submission
|
|
220
|
-
* where members can start sending MsgExec. This means that the window for
|
|
221
|
-
* sending a MsgExec transaction is:
|
|
222
|
-
* `[ submission + min_execution_period ; submission + voting_period + max_execution_period]`
|
|
223
|
-
* where max_execution_period is a app-specific config, defined in the keeper.
|
|
224
|
-
* If not set, min_execution_period will default to 0.
|
|
225
|
-
*
|
|
226
|
-
* Please make sure to set a `min_execution_period` that is smaller than
|
|
227
|
-
* `voting_period + max_execution_period`, or else the above execution window
|
|
228
|
-
* is empty, meaning that all proposals created with this decision policy
|
|
229
|
-
* won't be able to be executed.
|
|
230
|
-
*/
|
|
231
154
|
min_execution_period?: DurationSDKType;
|
|
232
155
|
}
|
|
233
156
|
/** GroupInfo represents the high-level on-chain information for a group. */
|
|
@@ -252,22 +175,11 @@ export interface GroupInfo {
|
|
|
252
175
|
}
|
|
253
176
|
/** GroupInfo represents the high-level on-chain information for a group. */
|
|
254
177
|
export interface GroupInfoSDKType {
|
|
255
|
-
/** id is the unique ID of the group. */
|
|
256
178
|
id: Long;
|
|
257
|
-
/** admin is the account address of the group's admin. */
|
|
258
179
|
admin: string;
|
|
259
|
-
/** metadata is any arbitrary metadata to attached to the group. */
|
|
260
180
|
metadata: string;
|
|
261
|
-
/**
|
|
262
|
-
* version is used to track changes to a group's membership structure that
|
|
263
|
-
* would break existing proposals. Whenever any members weight is changed,
|
|
264
|
-
* or any member is added or removed this version is incremented and will
|
|
265
|
-
* cause proposals based on older versions of this group to fail
|
|
266
|
-
*/
|
|
267
181
|
version: Long;
|
|
268
|
-
/** total_weight is the sum of the group members' weights. */
|
|
269
182
|
total_weight: string;
|
|
270
|
-
/** created_at is a timestamp specifying when a group was created. */
|
|
271
183
|
created_at?: Date;
|
|
272
184
|
}
|
|
273
185
|
/** GroupMember represents the relationship between a group and a member. */
|
|
@@ -279,9 +191,7 @@ export interface GroupMember {
|
|
|
279
191
|
}
|
|
280
192
|
/** GroupMember represents the relationship between a group and a member. */
|
|
281
193
|
export interface GroupMemberSDKType {
|
|
282
|
-
/** group_id is the unique ID of the group. */
|
|
283
194
|
group_id: Long;
|
|
284
|
-
/** member is the member data. */
|
|
285
195
|
member?: MemberSDKType;
|
|
286
196
|
}
|
|
287
197
|
/** GroupPolicyInfo represents the high-level on-chain information for a group policy. */
|
|
@@ -306,22 +216,12 @@ export interface GroupPolicyInfo {
|
|
|
306
216
|
}
|
|
307
217
|
/** GroupPolicyInfo represents the high-level on-chain information for a group policy. */
|
|
308
218
|
export interface GroupPolicyInfoSDKType {
|
|
309
|
-
/** address is the account address of group policy. */
|
|
310
219
|
address: string;
|
|
311
|
-
/** group_id is the unique ID of the group. */
|
|
312
220
|
group_id: Long;
|
|
313
|
-
/** admin is the account address of the group admin. */
|
|
314
221
|
admin: string;
|
|
315
|
-
/** metadata is any arbitrary metadata to attached to the group policy. */
|
|
316
222
|
metadata: string;
|
|
317
|
-
/**
|
|
318
|
-
* version is used to track changes to a group's GroupPolicyInfo structure that
|
|
319
|
-
* would create a different result on a running proposal.
|
|
320
|
-
*/
|
|
321
223
|
version: Long;
|
|
322
|
-
/** decision_policy specifies the group policy's decision policy. */
|
|
323
224
|
decision_policy?: AnySDKType;
|
|
324
|
-
/** created_at is a timestamp specifying when a group policy was created. */
|
|
325
225
|
created_at?: Date;
|
|
326
226
|
}
|
|
327
227
|
/**
|
|
@@ -385,51 +285,18 @@ export interface Proposal {
|
|
|
385
285
|
* passes as well as some optional metadata associated with the proposal.
|
|
386
286
|
*/
|
|
387
287
|
export interface ProposalSDKType {
|
|
388
|
-
/** id is the unique id of the proposal. */
|
|
389
288
|
id: Long;
|
|
390
|
-
/** address is the account address of group policy. */
|
|
391
289
|
address: string;
|
|
392
|
-
/** metadata is any arbitrary metadata to attached to the proposal. */
|
|
393
290
|
metadata: string;
|
|
394
|
-
/** proposers are the account addresses of the proposers. */
|
|
395
291
|
proposers: string[];
|
|
396
|
-
/** submit_time is a timestamp specifying when a proposal was submitted. */
|
|
397
292
|
submit_time?: Date;
|
|
398
|
-
/**
|
|
399
|
-
* group_version tracks the version of the group that this proposal corresponds to.
|
|
400
|
-
* When group membership is changed, existing proposals from previous group versions will become invalid.
|
|
401
|
-
*/
|
|
402
293
|
group_version: Long;
|
|
403
|
-
/**
|
|
404
|
-
* group_policy_version tracks the version of the group policy that this proposal corresponds to.
|
|
405
|
-
* When a decision policy is changed, existing proposals from previous policy versions will become invalid.
|
|
406
|
-
*/
|
|
407
294
|
group_policy_version: Long;
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
/**
|
|
411
|
-
* result is the final result based on the votes and election rule. Initial value is unfinalized.
|
|
412
|
-
* The result is persisted so that clients can always rely on this state and not have to replicate the logic.
|
|
413
|
-
*/
|
|
414
|
-
result: ProposalResultSDKType;
|
|
415
|
-
/**
|
|
416
|
-
* final_tally_result contains the sums of all weighted votes for this
|
|
417
|
-
* proposal for each vote option, after tallying. When querying a proposal
|
|
418
|
-
* via gRPC, this field is not populated until the proposal's voting period
|
|
419
|
-
* has ended.
|
|
420
|
-
*/
|
|
295
|
+
status: ProposalStatus;
|
|
296
|
+
result: ProposalResult;
|
|
421
297
|
final_tally_result?: TallyResultSDKType;
|
|
422
|
-
/**
|
|
423
|
-
* voting_period_end is the timestamp before which voting must be done.
|
|
424
|
-
* Unless a successfull MsgExec is called before (to execute a proposal whose
|
|
425
|
-
* tally is successful before the voting period ends), tallying will be done
|
|
426
|
-
* at this point, and the `final_tally_result`, as well
|
|
427
|
-
* as `status` and `result` fields will be accordingly updated.
|
|
428
|
-
*/
|
|
429
298
|
voting_period_end?: Date;
|
|
430
|
-
|
|
431
|
-
executor_result: ProposalExecutorResultSDKType;
|
|
432
|
-
/** messages is a list of Msgs that will be executed if the proposal passes. */
|
|
299
|
+
executor_result: ProposalExecutorResult;
|
|
433
300
|
messages: AnySDKType[];
|
|
434
301
|
}
|
|
435
302
|
/** TallyResult represents the sum of weighted votes for each vote option. */
|
|
@@ -445,13 +312,9 @@ export interface TallyResult {
|
|
|
445
312
|
}
|
|
446
313
|
/** TallyResult represents the sum of weighted votes for each vote option. */
|
|
447
314
|
export interface TallyResultSDKType {
|
|
448
|
-
/** yes_count is the weighted sum of yes votes. */
|
|
449
315
|
yes_count: string;
|
|
450
|
-
/** abstain_count is the weighted sum of abstainers. */
|
|
451
316
|
abstain_count: string;
|
|
452
|
-
/** no is the weighted sum of no votes. */
|
|
453
317
|
no_count: string;
|
|
454
|
-
/** no_with_veto_count is the weighted sum of veto. */
|
|
455
318
|
no_with_veto_count: string;
|
|
456
319
|
}
|
|
457
320
|
/** Vote represents a vote for a proposal. */
|
|
@@ -469,15 +332,10 @@ export interface Vote {
|
|
|
469
332
|
}
|
|
470
333
|
/** Vote represents a vote for a proposal. */
|
|
471
334
|
export interface VoteSDKType {
|
|
472
|
-
/** proposal is the unique ID of the proposal. */
|
|
473
335
|
proposal_id: Long;
|
|
474
|
-
/** voter is the account address of the voter. */
|
|
475
336
|
voter: string;
|
|
476
|
-
|
|
477
|
-
option: VoteOptionSDKType;
|
|
478
|
-
/** metadata is any arbitrary metadata to attached to the vote. */
|
|
337
|
+
option: VoteOption;
|
|
479
338
|
metadata: string;
|
|
480
|
-
/** submit_time is the timestamp when the vote was submitted. */
|
|
481
339
|
submit_time?: Date;
|
|
482
340
|
}
|
|
483
341
|
export declare const Member: {
|
|
@@ -10,9 +10,7 @@ export interface GenesisState {
|
|
|
10
10
|
}
|
|
11
11
|
/** GenesisState defines the mint module's genesis state. */
|
|
12
12
|
export interface GenesisStateSDKType {
|
|
13
|
-
/** minter is a space for holding current inflation information. */
|
|
14
13
|
minter?: MinterSDKType;
|
|
15
|
-
/** params defines all the paramaters of the module. */
|
|
16
14
|
params?: ParamsSDKType;
|
|
17
15
|
}
|
|
18
16
|
export declare const GenesisState: {
|
|
@@ -9,9 +9,7 @@ export interface Minter {
|
|
|
9
9
|
}
|
|
10
10
|
/** Minter represents the minting state. */
|
|
11
11
|
export interface MinterSDKType {
|
|
12
|
-
/** current annual inflation rate */
|
|
13
12
|
inflation: string;
|
|
14
|
-
/** current annual expected provisions */
|
|
15
13
|
annual_provisions: string;
|
|
16
14
|
}
|
|
17
15
|
/** Params holds parameters for the mint module. */
|
|
@@ -31,17 +29,11 @@ export interface Params {
|
|
|
31
29
|
}
|
|
32
30
|
/** Params holds parameters for the mint module. */
|
|
33
31
|
export interface ParamsSDKType {
|
|
34
|
-
/** type of coin to mint */
|
|
35
32
|
mint_denom: string;
|
|
36
|
-
/** maximum annual change in inflation rate */
|
|
37
33
|
inflation_rate_change: string;
|
|
38
|
-
/** maximum inflation rate */
|
|
39
34
|
inflation_max: string;
|
|
40
|
-
/** minimum inflation rate */
|
|
41
35
|
inflation_min: string;
|
|
42
|
-
/** goal of percent bonded atoms */
|
|
43
36
|
goal_bonded: string;
|
|
44
|
-
/** expected blocks per year */
|
|
45
37
|
blocks_per_year: Long;
|
|
46
38
|
}
|
|
47
39
|
export declare const Minter: {
|
|
@@ -14,7 +14,6 @@ export interface QueryParamsResponse {
|
|
|
14
14
|
}
|
|
15
15
|
/** QueryParamsResponse is the response type for the Query/Params RPC method. */
|
|
16
16
|
export interface QueryParamsResponseSDKType {
|
|
17
|
-
/** params defines the parameters of the module. */
|
|
18
17
|
params?: ParamsSDKType;
|
|
19
18
|
}
|
|
20
19
|
/** QueryInflationRequest is the request type for the Query/Inflation RPC method. */
|
|
@@ -36,7 +35,6 @@ export interface QueryInflationResponse {
|
|
|
36
35
|
* method.
|
|
37
36
|
*/
|
|
38
37
|
export interface QueryInflationResponseSDKType {
|
|
39
|
-
/** inflation is the current minting inflation value. */
|
|
40
38
|
inflation: Uint8Array;
|
|
41
39
|
}
|
|
42
40
|
/**
|
|
@@ -64,7 +62,6 @@ export interface QueryAnnualProvisionsResponse {
|
|
|
64
62
|
* Query/AnnualProvisions RPC method.
|
|
65
63
|
*/
|
|
66
64
|
export interface QueryAnnualProvisionsResponseSDKType {
|
|
67
|
-
/** annual_provisions is the current minting annual provisions value. */
|
|
68
65
|
annual_provisions: Uint8Array;
|
|
69
66
|
}
|
|
70
67
|
export declare const QueryParamsRequest: {
|
|
@@ -9,7 +9,6 @@ export interface GenesisState {
|
|
|
9
9
|
}
|
|
10
10
|
/** GenesisState defines the nft module's genesis state. */
|
|
11
11
|
export interface GenesisStateSDKType {
|
|
12
|
-
/** class defines the class of the nft type. */
|
|
13
12
|
classes: ClassSDKType[];
|
|
14
13
|
entries: EntrySDKType[];
|
|
15
14
|
}
|
|
@@ -22,9 +21,7 @@ export interface Entry {
|
|
|
22
21
|
}
|
|
23
22
|
/** Entry Defines all nft owned by a person */
|
|
24
23
|
export interface EntrySDKType {
|
|
25
|
-
/** owner is the owner address of the following nft */
|
|
26
24
|
owner: string;
|
|
27
|
-
/** nfts is a group of nfts of the same owner */
|
|
28
25
|
nfts: NFTSDKType[];
|
|
29
26
|
}
|
|
30
27
|
export declare const GenesisState: {
|
|
@@ -20,19 +20,12 @@ export interface Class {
|
|
|
20
20
|
}
|
|
21
21
|
/** Class defines the class of the nft type. */
|
|
22
22
|
export interface ClassSDKType {
|
|
23
|
-
/** id defines the unique identifier of the NFT classification, similar to the contract address of ERC721 */
|
|
24
23
|
id: string;
|
|
25
|
-
/** name defines the human-readable name of the NFT classification. Optional */
|
|
26
24
|
name: string;
|
|
27
|
-
/** symbol is an abbreviated name for nft classification. Optional */
|
|
28
25
|
symbol: string;
|
|
29
|
-
/** description is a brief description of nft classification. Optional */
|
|
30
26
|
description: string;
|
|
31
|
-
/** uri for the class metadata stored off chain. It can define schema for Class and NFT `Data` attributes. Optional */
|
|
32
27
|
uri: string;
|
|
33
|
-
/** uri_hash is a hash of the document pointed by uri. Optional */
|
|
34
28
|
uri_hash: string;
|
|
35
|
-
/** data is the app specific metadata of the NFT class. Optional */
|
|
36
29
|
data?: AnySDKType;
|
|
37
30
|
}
|
|
38
31
|
/** NFT defines the NFT. */
|
|
@@ -50,15 +43,10 @@ export interface NFT {
|
|
|
50
43
|
}
|
|
51
44
|
/** NFT defines the NFT. */
|
|
52
45
|
export interface NFTSDKType {
|
|
53
|
-
/** class_id associated with the NFT, similar to the contract address of ERC721 */
|
|
54
46
|
class_id: string;
|
|
55
|
-
/** id is a unique identifier of the NFT */
|
|
56
47
|
id: string;
|
|
57
|
-
/** uri for the NFT metadata stored off chain */
|
|
58
48
|
uri: string;
|
|
59
|
-
/** uri_hash is a hash of the document pointed by uri */
|
|
60
49
|
uri_hash: string;
|
|
61
|
-
/** data is an app specific data of the NFT. Optional */
|
|
62
50
|
data?: AnySDKType;
|
|
63
51
|
}
|
|
64
52
|
export declare const Class: {
|
|
@@ -117,7 +117,6 @@ export interface QueryClassesRequest {
|
|
|
117
117
|
}
|
|
118
118
|
/** QueryClassesRequest is the request type for the Query/Classes RPC method */
|
|
119
119
|
export interface QueryClassesRequestSDKType {
|
|
120
|
-
/** pagination defines an optional pagination for the request. */
|
|
121
120
|
pagination?: PageRequestSDKType;
|
|
122
121
|
}
|
|
123
122
|
/** QueryClassesResponse is the response type for the Query/Classes RPC method */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AminoMsg } from "@cosmjs/amino";
|
|
2
2
|
import { MsgSend } from "./tx";
|
|
3
|
-
export interface
|
|
3
|
+
export interface MsgSendAminoType extends AminoMsg {
|
|
4
4
|
type: "cosmos-sdk/MsgNFTSend";
|
|
5
5
|
value: {
|
|
6
6
|
class_id: string;
|
|
@@ -12,7 +12,7 @@ export interface AminoMsgSend extends AminoMsg {
|
|
|
12
12
|
export declare const AminoConverter: {
|
|
13
13
|
"/cosmos.nft.v1beta1.MsgSend": {
|
|
14
14
|
aminoType: string;
|
|
15
|
-
toAmino: ({ classId, id, sender, receiver }: MsgSend) =>
|
|
16
|
-
fromAmino: ({ class_id, id, sender, receiver }:
|
|
15
|
+
toAmino: ({ classId, id, sender, receiver }: MsgSend) => MsgSendAminoType["value"];
|
|
16
|
+
fromAmino: ({ class_id, id, sender, receiver }: MsgSendAminoType["value"]) => MsgSend;
|
|
17
17
|
};
|
|
18
18
|
};
|
|
@@ -13,13 +13,9 @@ export interface MsgSend {
|
|
|
13
13
|
}
|
|
14
14
|
/** MsgSend represents a message to send a nft from one account to another account. */
|
|
15
15
|
export interface MsgSendSDKType {
|
|
16
|
-
/** class_id defines the unique identifier of the nft classification, similar to the contract address of ERC721 */
|
|
17
16
|
class_id: string;
|
|
18
|
-
/** id defines the unique identification of nft */
|
|
19
17
|
id: string;
|
|
20
|
-
/** sender is the address of the owner of nft */
|
|
21
18
|
sender: string;
|
|
22
|
-
/** receiver is the receiver address of nft */
|
|
23
19
|
receiver: string;
|
|
24
20
|
}
|
|
25
21
|
/** MsgSendResponse defines the Msg/Send response type. */
|
|
@@ -15,15 +15,8 @@ export interface TableDescriptor {
|
|
|
15
15
|
}
|
|
16
16
|
/** TableDescriptor describes an ORM table. */
|
|
17
17
|
export interface TableDescriptorSDKType {
|
|
18
|
-
/** primary_key defines the primary key for the table. */
|
|
19
18
|
primary_key?: PrimaryKeyDescriptorSDKType;
|
|
20
|
-
/** index defines one or more secondary indexes. */
|
|
21
19
|
index: SecondaryIndexDescriptorSDKType[];
|
|
22
|
-
/**
|
|
23
|
-
* id is a non-zero integer ID that must be unique within the
|
|
24
|
-
* tables and singletons in this file. It may be deprecated in the future when this
|
|
25
|
-
* can be auto-generated.
|
|
26
|
-
*/
|
|
27
20
|
id: number;
|
|
28
21
|
}
|
|
29
22
|
/** PrimaryKeyDescriptor describes a table primary key. */
|
|
@@ -70,44 +63,7 @@ export interface PrimaryKeyDescriptor {
|
|
|
70
63
|
}
|
|
71
64
|
/** PrimaryKeyDescriptor describes a table primary key. */
|
|
72
65
|
export interface PrimaryKeyDescriptorSDKType {
|
|
73
|
-
/**
|
|
74
|
-
* fields is a comma-separated list of fields in the primary key. Spaces are
|
|
75
|
-
* not allowed. Supported field types, their encodings, and any applicable constraints
|
|
76
|
-
* are described below.
|
|
77
|
-
* - uint32 are encoded as 2,3,4 or 5 bytes using a compact encoding that
|
|
78
|
-
* is suitable for sorted iteration (not varint encoding). This type is
|
|
79
|
-
* well-suited for small integers.
|
|
80
|
-
* - uint64 are encoded as 2,4,6 or 9 bytes using a compact encoding that
|
|
81
|
-
* is suitable for sorted iteration (not varint encoding). This type is
|
|
82
|
-
* well-suited for small integers such as auto-incrementing sequences.
|
|
83
|
-
* - fixed32, fixed64 are encoded as big-endian fixed width bytes and support
|
|
84
|
-
* sorted iteration. These types are well-suited for encoding fixed with
|
|
85
|
-
* decimals as integers.
|
|
86
|
-
* - string's are encoded as raw bytes in terminal key segments and null-terminated
|
|
87
|
-
* in non-terminal segments. Null characters are thus forbidden in strings.
|
|
88
|
-
* string fields support sorted iteration.
|
|
89
|
-
* - bytes are encoded as raw bytes in terminal segments and length-prefixed
|
|
90
|
-
* with a 32-bit unsigned varint in non-terminal segments.
|
|
91
|
-
* - int32, sint32, int64, sint64, sfixed32, sfixed64 are encoded as fixed width bytes with
|
|
92
|
-
* an encoding that enables sorted iteration.
|
|
93
|
-
* - google.protobuf.Timestamp and google.protobuf.Duration are encoded
|
|
94
|
-
* as 12 bytes using an encoding that enables sorted iteration.
|
|
95
|
-
* - enum fields are encoded using varint encoding and do not support sorted
|
|
96
|
-
* iteration.
|
|
97
|
-
* - bool fields are encoded as a single byte 0 or 1.
|
|
98
|
-
*
|
|
99
|
-
* All other fields types are unsupported in keys including repeated and
|
|
100
|
-
* oneof fields.
|
|
101
|
-
*
|
|
102
|
-
* Primary keys are prefixed by the varint encoded table id and the byte 0x0
|
|
103
|
-
* plus any additional prefix specified by the schema.
|
|
104
|
-
*/
|
|
105
66
|
fields: string;
|
|
106
|
-
/**
|
|
107
|
-
* auto_increment specifies that the primary key is generated by an
|
|
108
|
-
* auto-incrementing integer. If this is set to true fields must only
|
|
109
|
-
* contain one field of that is of type uint64.
|
|
110
|
-
*/
|
|
111
67
|
auto_increment: boolean;
|
|
112
68
|
}
|
|
113
69
|
/** PrimaryKeyDescriptor describes a table secondary index. */
|
|
@@ -135,25 +91,8 @@ export interface SecondaryIndexDescriptor {
|
|
|
135
91
|
}
|
|
136
92
|
/** PrimaryKeyDescriptor describes a table secondary index. */
|
|
137
93
|
export interface SecondaryIndexDescriptorSDKType {
|
|
138
|
-
/**
|
|
139
|
-
* fields is a comma-separated list of fields in the index. The supported
|
|
140
|
-
* field types are the same as those for PrimaryKeyDescriptor.fields.
|
|
141
|
-
* Index keys are prefixed by the varint encoded table id and the varint
|
|
142
|
-
* encoded index id plus any additional prefix specified by the schema.
|
|
143
|
-
*
|
|
144
|
-
* In addition the the field segments, non-unique index keys are suffixed with
|
|
145
|
-
* any additional primary key fields not present in the index fields so that the
|
|
146
|
-
* primary key can be reconstructed. Unique indexes instead of being suffixed
|
|
147
|
-
* store the remaining primary key fields in the value..
|
|
148
|
-
*/
|
|
149
94
|
fields: string;
|
|
150
|
-
/**
|
|
151
|
-
* id is a non-zero integer ID that must be unique within the indexes for this
|
|
152
|
-
* table and less than 32768. It may be deprecated in the future when this can
|
|
153
|
-
* be auto-generated.
|
|
154
|
-
*/
|
|
155
95
|
id: number;
|
|
156
|
-
/** unique specifies that this an unique index. */
|
|
157
96
|
unique: boolean;
|
|
158
97
|
}
|
|
159
98
|
/** TableDescriptor describes an ORM singleton table which has at most one instance. */
|
|
@@ -167,11 +106,6 @@ export interface SingletonDescriptor {
|
|
|
167
106
|
}
|
|
168
107
|
/** TableDescriptor describes an ORM singleton table which has at most one instance. */
|
|
169
108
|
export interface SingletonDescriptorSDKType {
|
|
170
|
-
/**
|
|
171
|
-
* id is a non-zero integer ID that must be unique within the
|
|
172
|
-
* tables and singletons in this file. It may be deprecated in the future when this
|
|
173
|
-
* can be auto-generated.
|
|
174
|
-
*/
|
|
175
109
|
id: number;
|
|
176
110
|
}
|
|
177
111
|
export declare const TableDescriptor: {
|
|
@@ -43,49 +43,7 @@ export declare enum StorageType {
|
|
|
43
43
|
STORAGE_TYPE_COMMITMENT = 4,
|
|
44
44
|
UNRECOGNIZED = -1
|
|
45
45
|
}
|
|
46
|
-
|
|
47
|
-
export declare enum StorageTypeSDKType {
|
|
48
|
-
/**
|
|
49
|
-
* STORAGE_TYPE_DEFAULT_UNSPECIFIED - STORAGE_TYPE_DEFAULT_UNSPECIFIED indicates the persistent
|
|
50
|
-
* KV-storage where primary key entries are stored in merkle-tree
|
|
51
|
-
* backed commitment storage and indexes and seqs are stored in
|
|
52
|
-
* fast index storage. Note that the Cosmos SDK before store/v2alpha1
|
|
53
|
-
* does not support this.
|
|
54
|
-
*/
|
|
55
|
-
STORAGE_TYPE_DEFAULT_UNSPECIFIED = 0,
|
|
56
|
-
/**
|
|
57
|
-
* STORAGE_TYPE_MEMORY - STORAGE_TYPE_MEMORY indicates in-memory storage that will be
|
|
58
|
-
* reloaded every time an app restarts. Tables with this type of storage
|
|
59
|
-
* will by default be ignored when importing and exporting a module's
|
|
60
|
-
* state from JSON.
|
|
61
|
-
*/
|
|
62
|
-
STORAGE_TYPE_MEMORY = 1,
|
|
63
|
-
/**
|
|
64
|
-
* STORAGE_TYPE_TRANSIENT - STORAGE_TYPE_TRANSIENT indicates transient storage that is reset
|
|
65
|
-
* at the end of every block. Tables with this type of storage
|
|
66
|
-
* will by default be ignored when importing and exporting a module's
|
|
67
|
-
* state from JSON.
|
|
68
|
-
*/
|
|
69
|
-
STORAGE_TYPE_TRANSIENT = 2,
|
|
70
|
-
/**
|
|
71
|
-
* STORAGE_TYPE_INDEX - STORAGE_TYPE_INDEX indicates persistent storage which is not backed
|
|
72
|
-
* by a merkle-tree and won't affect the app hash. Note that the Cosmos SDK
|
|
73
|
-
* before store/v2alpha1 does not support this.
|
|
74
|
-
*/
|
|
75
|
-
STORAGE_TYPE_INDEX = 3,
|
|
76
|
-
/**
|
|
77
|
-
* STORAGE_TYPE_COMMITMENT - STORAGE_TYPE_INDEX indicates persistent storage which is backed by
|
|
78
|
-
* a merkle-tree. With this type of storage, both primary and index keys
|
|
79
|
-
* will affect the app hash and this is generally less efficient
|
|
80
|
-
* than using STORAGE_TYPE_DEFAULT_UNSPECIFIED which separates index
|
|
81
|
-
* keys into index storage. Note that modules built with the
|
|
82
|
-
* Cosmos SDK before store/v2alpha1 must specify STORAGE_TYPE_COMMITMENT
|
|
83
|
-
* instead of STORAGE_TYPE_DEFAULT_UNSPECIFIED or STORAGE_TYPE_INDEX
|
|
84
|
-
* because this is the only type of persistent storage available.
|
|
85
|
-
*/
|
|
86
|
-
STORAGE_TYPE_COMMITMENT = 4,
|
|
87
|
-
UNRECOGNIZED = -1
|
|
88
|
-
}
|
|
46
|
+
export declare const StorageTypeSDKType: typeof StorageType;
|
|
89
47
|
export declare function storageTypeFromJSON(object: any): StorageType;
|
|
90
48
|
export declare function storageTypeToJSON(object: StorageType): string;
|
|
91
49
|
/** ModuleSchemaDescriptor describe's a module's ORM schema. */
|
|
@@ -100,10 +58,6 @@ export interface ModuleSchemaDescriptor {
|
|
|
100
58
|
/** ModuleSchemaDescriptor describe's a module's ORM schema. */
|
|
101
59
|
export interface ModuleSchemaDescriptorSDKType {
|
|
102
60
|
schema_file: ModuleSchemaDescriptor_FileEntrySDKType[];
|
|
103
|
-
/**
|
|
104
|
-
* prefix is an optional prefix that precedes all keys in this module's
|
|
105
|
-
* store.
|
|
106
|
-
*/
|
|
107
61
|
prefix: Uint8Array;
|
|
108
62
|
}
|
|
109
63
|
/** FileEntry describes an ORM file used in a module. */
|
|
@@ -128,23 +82,9 @@ export interface ModuleSchemaDescriptor_FileEntry {
|
|
|
128
82
|
}
|
|
129
83
|
/** FileEntry describes an ORM file used in a module. */
|
|
130
84
|
export interface ModuleSchemaDescriptor_FileEntrySDKType {
|
|
131
|
-
/**
|
|
132
|
-
* id is a prefix that will be varint encoded and prepended to all the
|
|
133
|
-
* table keys specified in the file's tables.
|
|
134
|
-
*/
|
|
135
85
|
id: number;
|
|
136
|
-
/**
|
|
137
|
-
* proto_file_name is the name of a file .proto in that contains
|
|
138
|
-
* table definitions. The .proto file must be in a package that the
|
|
139
|
-
* module has referenced using cosmos.app.v1.ModuleDescriptor.use_package.
|
|
140
|
-
*/
|
|
141
86
|
proto_file_name: string;
|
|
142
|
-
|
|
143
|
-
* storage_type optionally indicates the type of storage this file's
|
|
144
|
-
* tables should used. If it is left unspecified, the default KV-storage
|
|
145
|
-
* of the app will be used.
|
|
146
|
-
*/
|
|
147
|
-
storage_type: StorageTypeSDKType;
|
|
87
|
+
storage_type: StorageType;
|
|
148
88
|
}
|
|
149
89
|
export declare const ModuleSchemaDescriptor: {
|
|
150
90
|
encode(message: ModuleSchemaDescriptor, writer?: _m0.Writer): _m0.Writer;
|
|
@@ -10,9 +10,7 @@ export interface QueryParamsRequest {
|
|
|
10
10
|
}
|
|
11
11
|
/** QueryParamsRequest is request type for the Query/Params RPC method. */
|
|
12
12
|
export interface QueryParamsRequestSDKType {
|
|
13
|
-
/** subspace defines the module to query the parameter for. */
|
|
14
13
|
subspace: string;
|
|
15
|
-
/** key defines the key of the parameter in the subspace. */
|
|
16
14
|
key: string;
|
|
17
15
|
}
|
|
18
16
|
/** QueryParamsResponse is response type for the Query/Params RPC method. */
|
|
@@ -22,7 +20,6 @@ export interface QueryParamsResponse {
|
|
|
22
20
|
}
|
|
23
21
|
/** QueryParamsResponse is response type for the Query/Params RPC method. */
|
|
24
22
|
export interface QueryParamsResponseSDKType {
|
|
25
|
-
/** param defines the queried parameter. */
|
|
26
23
|
param?: ParamChangeSDKType;
|
|
27
24
|
}
|
|
28
25
|
/**
|