@bze/bzejs 0.0.6 → 0.0.7
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/beezee/burner/burn_coins_proposal.js +0 -13
- package/main/codegen/beezee/burner/burned_coins.js +0 -13
- package/main/codegen/beezee/burner/events.js +0 -23
- package/main/codegen/beezee/burner/genesis.js +0 -21
- package/main/codegen/beezee/burner/params.js +0 -7
- package/main/codegen/beezee/burner/query.js +0 -48
- package/main/codegen/beezee/burner/tx.amino.js +28 -0
- package/main/codegen/beezee/burner/tx.js +0 -20
- package/main/codegen/beezee/burner/tx.registry.js +47 -0
- package/main/codegen/beezee/cointrunk/accepted_domain.js +0 -13
- package/main/codegen/beezee/cointrunk/accepted_domain_proposal.js +0 -17
- package/main/codegen/beezee/cointrunk/anon_articles_counter.js +1 -13
- package/main/codegen/beezee/cointrunk/article.js +1 -23
- package/main/codegen/beezee/cointrunk/events.js +1 -71
- package/main/codegen/beezee/cointrunk/genesis.js +1 -43
- package/main/codegen/beezee/cointrunk/params.js +0 -26
- package/main/codegen/beezee/cointrunk/publisher.js +1 -21
- package/main/codegen/beezee/cointrunk/publisher_proposal.js +0 -19
- package/main/codegen/beezee/cointrunk/query.js +0 -158
- package/main/codegen/beezee/cointrunk/tx.amino.js +59 -0
- package/main/codegen/beezee/cointrunk/tx.js +0 -51
- package/main/codegen/beezee/cointrunk/tx.registry.js +65 -0
- package/main/codegen/bze/bundle.js +16 -12
- package/main/codegen/bze/client.js +67 -0
- package/main/codegen/cosmos/app/v1alpha1/config.js +0 -31
- package/main/codegen/cosmos/app/v1alpha1/module.js +0 -53
- package/main/codegen/cosmos/app/v1alpha1/query.js +0 -18
- package/main/codegen/cosmos/auth/v1beta1/auth.js +1 -57
- package/main/codegen/cosmos/auth/v1beta1/genesis.js +0 -21
- package/main/codegen/cosmos/auth/v1beta1/query.js +0 -150
- package/main/codegen/cosmos/authz/v1beta1/authz.js +8 -63
- package/main/codegen/cosmos/authz/v1beta1/event.js +0 -29
- package/main/codegen/cosmos/authz/v1beta1/genesis.js +0 -18
- package/main/codegen/cosmos/authz/v1beta1/query.js +0 -101
- package/main/codegen/cosmos/authz/v1beta1/tx.amino.js +96 -0
- package/main/codegen/cosmos/authz/v1beta1/tx.js +0 -81
- package/main/codegen/cosmos/authz/v1beta1/tx.registry.js +83 -0
- package/main/codegen/cosmos/bank/v1beta1/authz.js +0 -18
- package/main/codegen/cosmos/bank/v1beta1/bank.js +0 -145
- package/main/codegen/cosmos/bank/v1beta1/genesis.js +0 -61
- package/main/codegen/cosmos/bank/v1beta1/query.js +0 -248
- package/main/codegen/cosmos/bank/v1beta1/tx.amino.js +101 -0
- package/main/codegen/cosmos/bank/v1beta1/tx.js +0 -65
- package/main/codegen/cosmos/bank/v1beta1/tx.registry.js +65 -0
- package/main/codegen/cosmos/base/abci/v1beta1/abci.js +1 -229
- package/main/codegen/cosmos/base/kv/v1beta1/kv.js +0 -31
- package/main/codegen/cosmos/base/query/v1beta1/pagination.js +1 -31
- package/main/codegen/cosmos/base/reflection/v1beta1/reflection.js +0 -54
- package/main/codegen/cosmos/base/reflection/v2alpha1/reflection.js +0 -337
- package/main/codegen/cosmos/base/snapshots/v1beta1/snapshot.js +1 -135
- package/main/codegen/cosmos/base/store/v1beta1/commit_info.js +1 -45
- package/main/codegen/cosmos/base/store/v1beta1/listening.js +0 -17
- package/main/codegen/cosmos/base/tendermint/v1beta1/query.js +1 -206
- package/main/codegen/cosmos/base/v1beta1/coin.js +0 -45
- package/main/codegen/cosmos/bundle.js +101 -73
- package/main/codegen/cosmos/capability/v1beta1/capability.js +1 -41
- package/main/codegen/cosmos/capability/v1beta1/genesis.js +1 -33
- package/main/codegen/cosmos/client.js +86 -0
- package/main/codegen/cosmos/crisis/v1beta1/genesis.js +0 -11
- package/main/codegen/cosmos/crisis/v1beta1/tx.amino.js +32 -0
- package/main/codegen/cosmos/crisis/v1beta1/tx.js +0 -22
- package/main/codegen/cosmos/crisis/v1beta1/tx.registry.js +47 -0
- package/main/codegen/cosmos/crypto/ed25519/keys.js +0 -21
- package/main/codegen/cosmos/crypto/hd/v1/hd.js +0 -19
- package/main/codegen/cosmos/crypto/keyring/v1/record.js +0 -57
- package/main/codegen/cosmos/crypto/multisig/keys.js +0 -21
- package/main/codegen/cosmos/crypto/multisig/v1beta1/multisig.js +0 -31
- package/main/codegen/cosmos/crypto/secp256k1/keys.js +0 -21
- package/main/codegen/cosmos/crypto/secp256r1/keys.js +0 -21
- package/main/codegen/cosmos/distribution/v1beta1/distribution.js +0 -216
- package/main/codegen/cosmos/distribution/v1beta1/genesis.js +0 -184
- package/main/codegen/cosmos/distribution/v1beta1/query.js +0 -234
- package/main/codegen/cosmos/distribution/v1beta1/tx.amino.js +91 -0
- package/main/codegen/cosmos/distribution/v1beta1/tx.js +0 -105
- package/main/codegen/cosmos/distribution/v1beta1/tx.registry.js +101 -0
- package/main/codegen/cosmos/evidence/v1beta1/evidence.js +5 -21
- package/main/codegen/cosmos/evidence/v1beta1/genesis.js +0 -18
- package/main/codegen/cosmos/evidence/v1beta1/query.js +0 -51
- package/main/codegen/cosmos/evidence/v1beta1/tx.amino.js +34 -0
- package/main/codegen/cosmos/evidence/v1beta1/tx.js +0 -23
- package/main/codegen/cosmos/evidence/v1beta1/tx.registry.js +47 -0
- package/main/codegen/cosmos/feegrant/v1beta1/feegrant.js +8 -96
- package/main/codegen/cosmos/feegrant/v1beta1/genesis.js +0 -18
- package/main/codegen/cosmos/feegrant/v1beta1/query.js +0 -87
- package/main/codegen/cosmos/feegrant/v1beta1/tx.amino.js +57 -0
- package/main/codegen/cosmos/feegrant/v1beta1/tx.js +0 -41
- package/main/codegen/cosmos/feegrant/v1beta1/tx.registry.js +65 -0
- package/main/codegen/cosmos/genutil/v1beta1/genesis.js +0 -19
- package/main/codegen/cosmos/gov/v1/genesis.js +1 -47
- package/main/codegen/cosmos/gov/v1/gov.js +15 -196
- package/main/codegen/cosmos/gov/v1/query.js +1 -209
- package/main/codegen/cosmos/gov/v1/tx.amino.js +180 -0
- package/main/codegen/cosmos/gov/v1/tx.js +0 -144
- package/main/codegen/cosmos/gov/v1/tx.registry.js +119 -0
- package/main/codegen/cosmos/gov/v1beta1/genesis.js +1 -47
- package/main/codegen/cosmos/gov/v1beta1/gov.js +15 -198
- package/main/codegen/cosmos/gov/v1beta1/query.js +1 -209
- package/main/codegen/cosmos/gov/v1beta1/tx.amino.js +139 -0
- package/main/codegen/cosmos/gov/v1beta1/tx.js +0 -111
- package/main/codegen/cosmos/gov/v1beta1/tx.registry.js +101 -0
- package/main/codegen/cosmos/group/v1/events.js +1 -96
- package/main/codegen/cosmos/group/v1/genesis.js +1 -65
- package/main/codegen/cosmos/group/v1/query.js +1 -359
- package/main/codegen/cosmos/group/v1/tx.amino.js +424 -0
- package/main/codegen/cosmos/group/v1/tx.js +1 -365
- package/main/codegen/cosmos/group/v1/tx.registry.js +281 -0
- package/main/codegen/cosmos/group/v1/types.js +27 -269
- package/main/codegen/cosmos/mint/v1beta1/genesis.js +0 -13
- package/main/codegen/cosmos/mint/v1beta1/mint.js +0 -32
- package/main/codegen/cosmos/mint/v1beta1/query.js +0 -52
- package/main/codegen/cosmos/nft/v1beta1/event.js +0 -45
- package/main/codegen/cosmos/nft/v1beta1/genesis.js +0 -49
- package/main/codegen/cosmos/nft/v1beta1/nft.js +0 -41
- package/main/codegen/cosmos/nft/v1beta1/query.js +0 -170
- package/main/codegen/cosmos/nft/v1beta1/tx.amino.js +36 -0
- package/main/codegen/cosmos/nft/v1beta1/tx.js +0 -24
- package/main/codegen/cosmos/nft/v1beta1/tx.registry.js +47 -0
- package/main/codegen/cosmos/orm/v1/orm.js +0 -59
- package/main/codegen/cosmos/orm/v1alpha1/schema.js +1 -45
- package/main/codegen/cosmos/params/v1beta1/params.js +0 -37
- package/main/codegen/cosmos/params/v1beta1/query.js +0 -68
- package/main/codegen/cosmos/slashing/v1beta1/genesis.js +0 -74
- package/main/codegen/cosmos/slashing/v1beta1/query.js +0 -68
- package/main/codegen/cosmos/slashing/v1beta1/slashing.js +5 -43
- package/main/codegen/cosmos/slashing/v1beta1/tx.amino.js +24 -0
- package/main/codegen/cosmos/slashing/v1beta1/tx.js +0 -18
- package/main/codegen/cosmos/slashing/v1beta1/tx.registry.js +47 -0
- package/main/codegen/cosmos/staking/v1beta1/authz.js +1 -48
- package/main/codegen/cosmos/staking/v1beta1/genesis.js +0 -76
- package/main/codegen/cosmos/staking/v1beta1/query.js +0 -368
- package/main/codegen/cosmos/staking/v1beta1/staking.js +17 -366
- package/main/codegen/cosmos/staking/v1beta1/tx.amino.js +213 -0
- package/main/codegen/cosmos/staking/v1beta1/tx.js +8 -129
- package/main/codegen/cosmos/staking/v1beta1/tx.registry.js +119 -0
- package/main/codegen/cosmos/tx/signing/v1beta1/signing.js +1 -95
- package/main/codegen/cosmos/tx/v1beta1/service.js +2 -173
- package/main/codegen/cosmos/tx/v1beta1/tx.js +0 -261
- package/main/codegen/cosmos/upgrade/v1beta1/query.js +0 -102
- package/main/codegen/cosmos/upgrade/v1beta1/tx.amino.js +62 -0
- package/main/codegen/cosmos/upgrade/v1beta1/tx.js +0 -37
- package/main/codegen/cosmos/upgrade/v1beta1/tx.registry.js +65 -0
- package/main/codegen/cosmos/upgrade/v1beta1/upgrade.js +5 -61
- package/main/codegen/cosmos/vesting/v1beta1/tx.amino.js +131 -0
- package/main/codegen/cosmos/vesting/v1beta1/tx.js +1 -94
- package/main/codegen/cosmos/vesting/v1beta1/tx.registry.js +83 -0
- package/main/codegen/cosmos/vesting/v1beta1/vesting.js +1 -117
- package/main/codegen/cosmos_proto/cosmos.js +1 -42
- package/main/codegen/google/api/http.js +0 -69
- package/main/codegen/google/protobuf/any.js +0 -13
- package/main/codegen/google/protobuf/descriptor.js +6 -815
- package/main/codegen/google/protobuf/duration.js +1 -13
- package/main/codegen/google/protobuf/empty.js +0 -7
- package/main/codegen/google/protobuf/timestamp.js +1 -13
- package/main/codegen/helpers.js +1 -1
- package/main/codegen/index.js +22 -11
- package/main/codegen/tendermint/abci/types.js +12 -785
- package/main/codegen/tendermint/crypto/keys.js +0 -13
- package/main/codegen/tendermint/crypto/proof.js +1 -83
- package/main/codegen/tendermint/libs/bits/types.js +1 -21
- package/main/codegen/tendermint/p2p/types.js +12 -100
- package/main/codegen/tendermint/types/block.js +0 -17
- package/main/codegen/tendermint/types/evidence.js +8 -81
- package/main/codegen/tendermint/types/params.js +0 -84
- package/main/codegen/tendermint/types/types.js +18 -266
- package/main/codegen/tendermint/types/validator.js +1 -51
- package/main/codegen/tendermint/version/types.js +1 -25
- package/module/codegen/beezee/burner/burn_coins_proposal.js +0 -13
- package/module/codegen/beezee/burner/burned_coins.js +0 -13
- package/module/codegen/beezee/burner/events.js +0 -23
- package/module/codegen/beezee/burner/genesis.js +0 -19
- package/module/codegen/beezee/burner/params.js +0 -9
- package/module/codegen/beezee/burner/query.js +0 -46
- package/module/codegen/beezee/burner/tx.amino.js +23 -0
- package/module/codegen/beezee/burner/tx.js +0 -20
- package/module/codegen/beezee/burner/tx.registry.js +33 -0
- package/module/codegen/beezee/cointrunk/accepted_domain.js +0 -13
- package/module/codegen/beezee/cointrunk/accepted_domain_proposal.js +0 -17
- package/module/codegen/beezee/cointrunk/anon_articles_counter.js +1 -13
- package/module/codegen/beezee/cointrunk/article.js +1 -23
- package/module/codegen/beezee/cointrunk/events.js +1 -71
- package/module/codegen/beezee/cointrunk/genesis.js +1 -31
- package/module/codegen/beezee/cointrunk/params.js +1 -27
- package/module/codegen/beezee/cointrunk/publisher.js +1 -21
- package/module/codegen/beezee/cointrunk/publisher_proposal.js +0 -19
- package/module/codegen/beezee/cointrunk/query.js +0 -144
- package/module/codegen/beezee/cointrunk/tx.amino.js +56 -0
- package/module/codegen/beezee/cointrunk/tx.js +1 -52
- package/module/codegen/beezee/cointrunk/tx.registry.js +51 -0
- package/module/codegen/bze/bundle.js +16 -12
- package/module/codegen/bze/client.js +38 -0
- package/module/codegen/cosmos/app/v1alpha1/config.js +0 -37
- package/module/codegen/cosmos/app/v1alpha1/module.js +0 -47
- package/module/codegen/cosmos/app/v1alpha1/query.js +0 -20
- package/module/codegen/cosmos/auth/v1beta1/auth.js +1 -53
- package/module/codegen/cosmos/auth/v1beta1/genesis.js +0 -19
- package/module/codegen/cosmos/auth/v1beta1/query.js +0 -148
- package/module/codegen/cosmos/authz/v1beta1/authz.js +9 -60
- package/module/codegen/cosmos/authz/v1beta1/event.js +0 -31
- package/module/codegen/cosmos/authz/v1beta1/genesis.js +0 -16
- package/module/codegen/cosmos/authz/v1beta1/query.js +0 -91
- package/module/codegen/cosmos/authz/v1beta1/tx.amino.js +91 -0
- package/module/codegen/cosmos/authz/v1beta1/tx.js +0 -78
- package/module/codegen/cosmos/authz/v1beta1/tx.registry.js +69 -0
- package/module/codegen/cosmos/bank/v1beta1/authz.js +0 -21
- package/module/codegen/cosmos/bank/v1beta1/bank.js +0 -123
- package/module/codegen/cosmos/bank/v1beta1/genesis.js +0 -47
- package/module/codegen/cosmos/bank/v1beta1/query.js +0 -230
- package/module/codegen/cosmos/bank/v1beta1/tx.amino.js +78 -0
- package/module/codegen/cosmos/bank/v1beta1/tx.js +0 -55
- package/module/codegen/cosmos/bank/v1beta1/tx.registry.js +51 -0
- package/module/codegen/cosmos/base/abci/v1beta1/abci.js +1 -193
- package/module/codegen/cosmos/base/kv/v1beta1/kv.js +0 -29
- package/module/codegen/cosmos/base/query/v1beta1/pagination.js +1 -31
- package/module/codegen/cosmos/base/reflection/v1beta1/reflection.js +0 -48
- package/module/codegen/cosmos/base/reflection/v2alpha1/reflection.js +0 -307
- package/module/codegen/cosmos/base/snapshots/v1beta1/snapshot.js +1 -127
- package/module/codegen/cosmos/base/store/v1beta1/commit_info.js +1 -41
- package/module/codegen/cosmos/base/store/v1beta1/listening.js +0 -25
- package/module/codegen/cosmos/base/tendermint/v1beta1/query.js +1 -194
- package/module/codegen/cosmos/base/v1beta1/coin.js +0 -52
- package/module/codegen/cosmos/bundle.js +101 -73
- package/module/codegen/cosmos/capability/v1beta1/capability.js +1 -37
- package/module/codegen/cosmos/capability/v1beta1/genesis.js +1 -29
- package/module/codegen/cosmos/client.js +57 -0
- package/module/codegen/cosmos/crisis/v1beta1/genesis.js +0 -13
- package/module/codegen/cosmos/crisis/v1beta1/tx.amino.js +27 -0
- package/module/codegen/cosmos/crisis/v1beta1/tx.js +0 -24
- package/module/codegen/cosmos/crisis/v1beta1/tx.registry.js +33 -0
- package/module/codegen/cosmos/crypto/ed25519/keys.js +0 -29
- package/module/codegen/cosmos/crypto/hd/v1/hd.js +0 -21
- package/module/codegen/cosmos/crypto/keyring/v1/record.js +0 -59
- package/module/codegen/cosmos/crypto/multisig/keys.js +0 -23
- package/module/codegen/cosmos/crypto/multisig/v1beta1/multisig.js +0 -33
- package/module/codegen/cosmos/crypto/secp256k1/keys.js +0 -29
- package/module/codegen/cosmos/crypto/secp256r1/keys.js +0 -23
- package/module/codegen/cosmos/distribution/v1beta1/distribution.js +1 -185
- package/module/codegen/cosmos/distribution/v1beta1/genesis.js +1 -153
- package/module/codegen/cosmos/distribution/v1beta1/query.js +1 -211
- package/module/codegen/cosmos/distribution/v1beta1/tx.amino.js +88 -0
- package/module/codegen/cosmos/distribution/v1beta1/tx.js +0 -98
- package/module/codegen/cosmos/distribution/v1beta1/tx.registry.js +87 -0
- package/module/codegen/cosmos/evidence/v1beta1/evidence.js +5 -21
- package/module/codegen/cosmos/evidence/v1beta1/genesis.js +0 -16
- package/module/codegen/cosmos/evidence/v1beta1/query.js +0 -49
- package/module/codegen/cosmos/evidence/v1beta1/tx.amino.js +29 -0
- package/module/codegen/cosmos/evidence/v1beta1/tx.js +0 -28
- package/module/codegen/cosmos/evidence/v1beta1/tx.registry.js +33 -0
- package/module/codegen/cosmos/feegrant/v1beta1/feegrant.js +9 -81
- package/module/codegen/cosmos/feegrant/v1beta1/genesis.js +0 -16
- package/module/codegen/cosmos/feegrant/v1beta1/query.js +0 -81
- package/module/codegen/cosmos/feegrant/v1beta1/tx.amino.js +54 -0
- package/module/codegen/cosmos/feegrant/v1beta1/tx.js +0 -46
- package/module/codegen/cosmos/feegrant/v1beta1/tx.registry.js +51 -0
- package/module/codegen/cosmos/genutil/v1beta1/genesis.js +0 -17
- package/module/codegen/cosmos/gov/v1/genesis.js +1 -35
- package/module/codegen/cosmos/gov/v1/gov.js +16 -177
- package/module/codegen/cosmos/gov/v1/query.js +2 -198
- package/module/codegen/cosmos/gov/v1/tx.amino.js +167 -0
- package/module/codegen/cosmos/gov/v1/tx.js +2 -130
- package/module/codegen/cosmos/gov/v1/tx.registry.js +105 -0
- package/module/codegen/cosmos/gov/v1beta1/genesis.js +1 -35
- package/module/codegen/cosmos/gov/v1beta1/gov.js +16 -183
- package/module/codegen/cosmos/gov/v1beta1/query.js +2 -198
- package/module/codegen/cosmos/gov/v1beta1/tx.amino.js +128 -0
- package/module/codegen/cosmos/gov/v1beta1/tx.js +2 -101
- package/module/codegen/cosmos/gov/v1beta1/tx.registry.js +87 -0
- package/module/codegen/cosmos/group/v1/events.js +1 -96
- package/module/codegen/cosmos/group/v1/genesis.js +1 -45
- package/module/codegen/cosmos/group/v1/query.js +1 -327
- package/module/codegen/cosmos/group/v1/tx.amino.js +429 -0
- package/module/codegen/cosmos/group/v1/tx.js +3 -347
- package/module/codegen/cosmos/group/v1/tx.registry.js +267 -0
- package/module/codegen/cosmos/group/v1/types.js +28 -258
- package/module/codegen/cosmos/mint/v1beta1/genesis.js +0 -15
- package/module/codegen/cosmos/mint/v1beta1/mint.js +1 -33
- package/module/codegen/cosmos/mint/v1beta1/query.js +0 -54
- package/module/codegen/cosmos/nft/v1beta1/event.js +0 -47
- package/module/codegen/cosmos/nft/v1beta1/genesis.js +0 -39
- package/module/codegen/cosmos/nft/v1beta1/nft.js +0 -43
- package/module/codegen/cosmos/nft/v1beta1/query.js +1 -163
- package/module/codegen/cosmos/nft/v1beta1/tx.amino.js +31 -0
- package/module/codegen/cosmos/nft/v1beta1/tx.js +0 -26
- package/module/codegen/cosmos/nft/v1beta1/tx.registry.js +33 -0
- package/module/codegen/cosmos/orm/v1/orm.js +0 -57
- package/module/codegen/cosmos/orm/v1alpha1/schema.js +1 -41
- package/module/codegen/cosmos/params/v1beta1/params.js +0 -35
- package/module/codegen/cosmos/params/v1beta1/query.js +0 -62
- package/module/codegen/cosmos/slashing/v1beta1/genesis.js +1 -63
- package/module/codegen/cosmos/slashing/v1beta1/query.js +0 -66
- package/module/codegen/cosmos/slashing/v1beta1/slashing.js +5 -43
- package/module/codegen/cosmos/slashing/v1beta1/tx.amino.js +19 -0
- package/module/codegen/cosmos/slashing/v1beta1/tx.js +0 -20
- package/module/codegen/cosmos/slashing/v1beta1/tx.registry.js +33 -0
- package/module/codegen/cosmos/staking/v1beta1/authz.js +1 -44
- package/module/codegen/cosmos/staking/v1beta1/genesis.js +1 -57
- package/module/codegen/cosmos/staking/v1beta1/query.js +1 -341
- package/module/codegen/cosmos/staking/v1beta1/staking.js +18 -339
- package/module/codegen/cosmos/staking/v1beta1/tx.amino.js +216 -0
- package/module/codegen/cosmos/staking/v1beta1/tx.js +9 -130
- package/module/codegen/cosmos/staking/v1beta1/tx.registry.js +105 -0
- package/module/codegen/cosmos/tx/signing/v1beta1/signing.js +2 -88
- package/module/codegen/cosmos/tx/v1beta1/service.js +3 -158
- package/module/codegen/cosmos/tx/v1beta1/tx.js +1 -226
- package/module/codegen/cosmos/upgrade/v1beta1/query.js +1 -99
- package/module/codegen/cosmos/upgrade/v1beta1/tx.amino.js +59 -0
- package/module/codegen/cosmos/upgrade/v1beta1/tx.js +0 -43
- package/module/codegen/cosmos/upgrade/v1beta1/tx.registry.js +51 -0
- package/module/codegen/cosmos/upgrade/v1beta1/upgrade.js +5 -61
- package/module/codegen/cosmos/vesting/v1beta1/tx.amino.js +114 -0
- package/module/codegen/cosmos/vesting/v1beta1/tx.js +1 -82
- package/module/codegen/cosmos/vesting/v1beta1/tx.registry.js +69 -0
- package/module/codegen/cosmos/vesting/v1beta1/vesting.js +1 -97
- package/module/codegen/cosmos_proto/cosmos.js +1 -38
- package/module/codegen/google/api/http.js +0 -67
- package/module/codegen/google/protobuf/any.js +0 -95
- package/module/codegen/google/protobuf/descriptor.js +7 -672
- package/module/codegen/google/protobuf/duration.js +1 -13
- package/module/codegen/google/protobuf/empty.js +0 -19
- package/module/codegen/google/protobuf/timestamp.js +1 -13
- package/module/codegen/helpers.js +1 -1
- package/module/codegen/index.js +4 -3
- package/module/codegen/tendermint/abci/types.js +13 -734
- package/module/codegen/tendermint/crypto/keys.js +0 -15
- package/module/codegen/tendermint/crypto/proof.js +1 -75
- package/module/codegen/tendermint/libs/bits/types.js +1 -17
- package/module/codegen/tendermint/p2p/types.js +12 -96
- package/module/codegen/tendermint/types/block.js +0 -17
- package/module/codegen/tendermint/types/evidence.js +9 -74
- package/module/codegen/tendermint/types/params.js +1 -81
- package/module/codegen/tendermint/types/types.js +19 -259
- package/module/codegen/tendermint/types/validator.js +1 -47
- package/module/codegen/tendermint/version/types.js +1 -25
- package/package.json +1 -1
- package/src/codegen/beezee/burner/burn_coins_proposal.ts +2 -16
- package/src/codegen/beezee/burner/burned_coins.ts +2 -16
- package/src/codegen/beezee/burner/events.ts +3 -29
- package/src/codegen/beezee/burner/genesis.ts +2 -22
- package/src/codegen/beezee/burner/params.ts +2 -10
- package/src/codegen/beezee/burner/query.ts +5 -59
- package/src/codegen/beezee/burner/tx.amino.ts +32 -0
- package/src/codegen/beezee/burner/tx.registry.ts +37 -0
- package/src/codegen/beezee/burner/tx.ts +3 -26
- package/src/codegen/beezee/cointrunk/accepted_domain.ts +2 -16
- package/src/codegen/beezee/cointrunk/accepted_domain_proposal.ts +2 -20
- package/src/codegen/beezee/cointrunk/anon_articles_counter.ts +2 -16
- package/src/codegen/beezee/cointrunk/article.ts +2 -26
- package/src/codegen/beezee/cointrunk/events.ts +7 -89
- package/src/codegen/beezee/cointrunk/genesis.ts +2 -38
- package/src/codegen/beezee/cointrunk/params.ts +3 -33
- package/src/codegen/beezee/cointrunk/publisher.ts +2 -24
- package/src/codegen/beezee/cointrunk/publisher_proposal.ts +2 -22
- package/src/codegen/beezee/cointrunk/query.ts +13 -187
- package/src/codegen/beezee/cointrunk/tx.amino.ts +75 -0
- package/src/codegen/beezee/cointrunk/tx.registry.ts +58 -0
- package/src/codegen/beezee/cointrunk/tx.ts +5 -64
- package/src/codegen/bze/bundle.ts +22 -14
- package/src/codegen/bze/client.ts +48 -0
- package/src/codegen/cosmos/app/v1alpha1/config.ts +3 -53
- package/src/codegen/cosmos/app/v1alpha1/module.ts +4 -124
- package/src/codegen/cosmos/app/v1alpha1/query.ts +3 -25
- package/src/codegen/cosmos/auth/v1beta1/auth.ts +4 -64
- package/src/codegen/cosmos/auth/v1beta1/genesis.ts +2 -25
- package/src/codegen/cosmos/auth/v1beta1/query.ts +15 -195
- package/src/codegen/cosmos/authz/v1beta1/authz.ts +16 -86
- package/src/codegen/cosmos/authz/v1beta1/event.ts +3 -45
- package/src/codegen/cosmos/authz/v1beta1/genesis.ts +2 -19
- package/src/codegen/cosmos/authz/v1beta1/query.ts +7 -130
- package/src/codegen/cosmos/authz/v1beta1/tx.amino.ts +128 -0
- package/src/codegen/cosmos/authz/v1beta1/tx.registry.ts +79 -0
- package/src/codegen/cosmos/authz/v1beta1/tx.ts +7 -101
- package/src/codegen/cosmos/bank/v1beta1/authz.ts +2 -19
- package/src/codegen/cosmos/bank/v1beta1/bank.ts +8 -200
- package/src/codegen/cosmos/bank/v1beta1/genesis.ts +3 -70
- package/src/codegen/cosmos/bank/v1beta1/query.ts +20 -339
- package/src/codegen/cosmos/bank/v1beta1/tx.amino.ts +110 -0
- package/src/codegen/cosmos/bank/v1beta1/tx.registry.ts +58 -0
- package/src/codegen/cosmos/bank/v1beta1/tx.ts +5 -70
- package/src/codegen/cosmos/base/abci/v1beta1/abci.ts +11 -325
- package/src/codegen/cosmos/base/kv/v1beta1/kv.ts +3 -35
- package/src/codegen/cosmos/base/query/v1beta1/pagination.ts +3 -76
- package/src/codegen/cosmos/base/reflection/v1beta1/reflection.ts +5 -64
- package/src/codegen/cosmos/base/reflection/v2alpha1/reflection.ts +27 -476
- package/src/codegen/cosmos/base/snapshots/v1beta1/snapshot.ts +10 -163
- package/src/codegen/cosmos/base/store/v1beta1/commit_info.ts +4 -52
- package/src/codegen/cosmos/base/store/v1beta1/listening.ts +2 -23
- package/src/codegen/cosmos/base/tendermint/v1beta1/query.ts +16 -259
- package/src/codegen/cosmos/base/v1beta1/coin.ts +5 -57
- package/src/codegen/cosmos/bundle.ts +159 -103
- package/src/codegen/cosmos/capability/v1beta1/capability.ts +4 -48
- package/src/codegen/cosmos/capability/v1beta1/genesis.ts +3 -46
- package/src/codegen/cosmos/client.ts +76 -0
- package/src/codegen/cosmos/crisis/v1beta1/genesis.ts +2 -18
- package/src/codegen/cosmos/crisis/v1beta1/tx.amino.ts +37 -0
- package/src/codegen/cosmos/crisis/v1beta1/tx.registry.ts +37 -0
- package/src/codegen/cosmos/crisis/v1beta1/tx.ts +3 -28
- package/src/codegen/cosmos/crypto/ed25519/keys.ts +3 -27
- package/src/codegen/cosmos/crypto/hd/v1/hd.ts +2 -34
- package/src/codegen/cosmos/crypto/keyring/v1/record.ts +6 -83
- package/src/codegen/cosmos/crypto/multisig/keys.ts +2 -22
- package/src/codegen/cosmos/crypto/multisig/v1beta1/multisig.ts +3 -35
- package/src/codegen/cosmos/crypto/secp256k1/keys.ts +3 -27
- package/src/codegen/cosmos/crypto/secp256r1/keys.ts +3 -32
- package/src/codegen/cosmos/distribution/v1beta1/distribution.ts +13 -237
- package/src/codegen/cosmos/distribution/v1beta1/genesis.ts +9 -236
- package/src/codegen/cosmos/distribution/v1beta1/query.ts +19 -303
- package/src/codegen/cosmos/distribution/v1beta1/tx.amino.ts +120 -0
- package/src/codegen/cosmos/distribution/v1beta1/tx.registry.ts +100 -0
- package/src/codegen/cosmos/distribution/v1beta1/tx.ts +9 -123
- package/src/codegen/cosmos/evidence/v1beta1/evidence.ts +8 -26
- package/src/codegen/cosmos/evidence/v1beta1/genesis.ts +2 -20
- package/src/codegen/cosmos/evidence/v1beta1/query.ts +5 -67
- package/src/codegen/cosmos/evidence/v1beta1/tx.amino.ts +41 -0
- package/src/codegen/cosmos/evidence/v1beta1/tx.registry.ts +37 -0
- package/src/codegen/cosmos/evidence/v1beta1/tx.ts +3 -30
- package/src/codegen/cosmos/feegrant/v1beta1/feegrant.ts +16 -137
- package/src/codegen/cosmos/feegrant/v1beta1/genesis.ts +2 -19
- package/src/codegen/cosmos/feegrant/v1beta1/query.ts +7 -115
- package/src/codegen/cosmos/feegrant/v1beta1/tx.amino.ts +74 -0
- package/src/codegen/cosmos/feegrant/v1beta1/tx.registry.ts +58 -0
- package/src/codegen/cosmos/feegrant/v1beta1/tx.ts +5 -61
- package/src/codegen/cosmos/genutil/v1beta1/genesis.ts +2 -21
- package/src/codegen/cosmos/gov/v1/genesis.ts +2 -55
- package/src/codegen/cosmos/gov/v1/gov.ts +34 -284
- package/src/codegen/cosmos/gov/v1/query.ts +19 -293
- package/src/codegen/cosmos/gov/v1/tx.amino.ts +226 -0
- package/src/codegen/cosmos/gov/v1/tx.registry.ts +121 -0
- package/src/codegen/cosmos/gov/v1/tx.ts +13 -173
- package/src/codegen/cosmos/gov/v1beta1/genesis.ts +2 -55
- package/src/codegen/cosmos/gov/v1beta1/gov.ts +36 -296
- package/src/codegen/cosmos/gov/v1beta1/query.ts +19 -293
- package/src/codegen/cosmos/gov/v1beta1/tx.amino.ts +174 -0
- package/src/codegen/cosmos/gov/v1beta1/tx.registry.ts +100 -0
- package/src/codegen/cosmos/gov/v1beta1/tx.ts +11 -132
- package/src/codegen/cosmos/group/v1/events.ts +12 -137
- package/src/codegen/cosmos/group/v1/genesis.ts +2 -80
- package/src/codegen/cosmos/group/v1/query.ts +27 -481
- package/src/codegen/cosmos/group/v1/tx.amino.ts +583 -0
- package/src/codegen/cosmos/group/v1/tx.registry.ts +310 -0
- package/src/codegen/cosmos/group/v1/tx.ts +34 -554
- package/src/codegen/cosmos/group/v1/types.ts +51 -472
- package/src/codegen/cosmos/mint/v1beta1/genesis.ts +2 -19
- package/src/codegen/cosmos/mint/v1beta1/mint.ts +3 -53
- package/src/codegen/cosmos/mint/v1beta1/query.ts +7 -73
- package/src/codegen/cosmos/nft/v1beta1/event.ts +4 -54
- package/src/codegen/cosmos/nft/v1beta1/genesis.ts +3 -52
- package/src/codegen/cosmos/nft/v1beta1/nft.ts +3 -69
- package/src/codegen/cosmos/nft/v1beta1/query.ts +15 -210
- package/src/codegen/cosmos/nft/v1beta1/tx.amino.ts +42 -0
- package/src/codegen/cosmos/nft/v1beta1/tx.registry.ts +37 -0
- package/src/codegen/cosmos/nft/v1beta1/tx.ts +3 -37
- package/src/codegen/cosmos/orm/v1/orm.ts +5 -140
- package/src/codegen/cosmos/orm/v1alpha1/schema.ts +5 -109
- package/src/codegen/cosmos/params/v1beta1/params.ts +3 -41
- package/src/codegen/cosmos/params/v1beta1/query.ts +6 -83
- package/src/codegen/cosmos/slashing/v1beta1/genesis.ts +5 -100
- package/src/codegen/cosmos/slashing/v1beta1/query.ts +7 -87
- package/src/codegen/cosmos/slashing/v1beta1/slashing.ts +9 -71
- package/src/codegen/cosmos/slashing/v1beta1/tx.amino.ts +27 -0
- package/src/codegen/cosmos/slashing/v1beta1/tx.registry.ts +37 -0
- package/src/codegen/cosmos/slashing/v1beta1/tx.ts +3 -24
- package/src/codegen/cosmos/staking/v1beta1/authz.ts +5 -73
- package/src/codegen/cosmos/staking/v1beta1/genesis.ts +3 -91
- package/src/codegen/cosmos/staking/v1beta1/query.ts +29 -499
- package/src/codegen/cosmos/staking/v1beta1/staking.ts +44 -507
- package/src/codegen/cosmos/staking/v1beta1/tx.amino.ts +294 -0
- package/src/codegen/cosmos/staking/v1beta1/tx.registry.ts +121 -0
- package/src/codegen/cosmos/staking/v1beta1/tx.ts +22 -172
- package/src/codegen/cosmos/tx/signing/v1beta1/signing.ts +8 -154
- package/src/codegen/cosmos/tx/v1beta1/service.ts +15 -252
- package/src/codegen/cosmos/tx/v1beta1/tx.ts +17 -462
- package/src/codegen/cosmos/upgrade/v1beta1/query.ts +11 -145
- package/src/codegen/cosmos/upgrade/v1beta1/tx.amino.ts +86 -0
- package/src/codegen/cosmos/upgrade/v1beta1/tx.registry.ts +58 -0
- package/src/codegen/cosmos/upgrade/v1beta1/tx.ts +5 -53
- package/src/codegen/cosmos/upgrade/v1beta1/upgrade.ts +11 -109
- package/src/codegen/cosmos/vesting/v1beta1/tx.amino.ts +155 -0
- package/src/codegen/cosmos/vesting/v1beta1/tx.registry.ts +79 -0
- package/src/codegen/cosmos/vesting/v1beta1/tx.ts +7 -106
- package/src/codegen/cosmos/vesting/v1beta1/vesting.ts +7 -123
- package/src/codegen/cosmos_proto/cosmos.ts +5 -76
- package/src/codegen/google/api/http.ts +4 -140
- package/src/codegen/google/protobuf/any.ts +2 -47
- package/src/codegen/google/protobuf/descriptor.ts +72 -1418
- package/src/codegen/google/protobuf/duration.ts +2 -30
- package/src/codegen/google/protobuf/empty.ts +2 -10
- package/src/codegen/google/protobuf/timestamp.ts +2 -28
- package/src/codegen/helpers.ts +3 -1
- package/src/codegen/index.ts +4 -3
- package/src/codegen/tendermint/abci/types.ts +64 -970
- package/src/codegen/tendermint/crypto/keys.ts +2 -16
- package/src/codegen/tendermint/crypto/proof.ts +6 -97
- package/src/codegen/tendermint/libs/bits/types.ts +2 -22
- package/src/codegen/tendermint/p2p/types.ts +22 -118
- package/src/codegen/tendermint/types/block.ts +2 -20
- package/src/codegen/tendermint/types/evidence.ts +16 -94
- package/src/codegen/tendermint/types/params.ts +7 -137
- package/src/codegen/tendermint/types/types.ts +40 -338
- package/src/codegen/tendermint/types/validator.ts +4 -58
- package/src/codegen/tendermint/version/types.ts +3 -31
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Timestamp
|
|
1
|
+
import { Timestamp } from "../../../google/protobuf/timestamp";
|
|
2
2
|
import { Duration, DurationSDKType } from "../../../google/protobuf/duration";
|
|
3
|
+
import { Long, toTimestamp, fromTimestamp, DeepPartial } from "../../../helpers";
|
|
3
4
|
import * as _m0 from "protobufjs/minimal";
|
|
4
|
-
import { Long, isSet, fromJsonTimestamp, fromTimestamp, bytesFromBase64, base64FromBytes } from "../../../helpers";
|
|
5
5
|
/**
|
|
6
6
|
* ValidatorSigningInfo defines a validator's signing info for monitoring their
|
|
7
7
|
* liveness activity.
|
|
@@ -21,7 +21,7 @@ export interface ValidatorSigningInfo {
|
|
|
21
21
|
indexOffset: Long;
|
|
22
22
|
/** Timestamp until which the validator is jailed due to liveness downtime. */
|
|
23
23
|
|
|
24
|
-
jailedUntil?:
|
|
24
|
+
jailedUntil?: Date;
|
|
25
25
|
/**
|
|
26
26
|
* Whether or not a validator has been tombstoned (killed out of validator set). It is set
|
|
27
27
|
* once the validator commits an equivocation or for any other configured misbehiavor.
|
|
@@ -42,30 +42,10 @@ export interface ValidatorSigningInfo {
|
|
|
42
42
|
|
|
43
43
|
export interface ValidatorSigningInfoSDKType {
|
|
44
44
|
address: string;
|
|
45
|
-
/** Height at which validator was first a candidate OR was unjailed */
|
|
46
|
-
|
|
47
45
|
start_height: Long;
|
|
48
|
-
/**
|
|
49
|
-
* Index which is incremented each time the validator was a bonded
|
|
50
|
-
* in a block and may have signed a precommit or not. This in conjunction with the
|
|
51
|
-
* `SignedBlocksWindow` param determines the index in the `MissedBlocksBitArray`.
|
|
52
|
-
*/
|
|
53
|
-
|
|
54
46
|
index_offset: Long;
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
jailed_until?: TimestampSDKType;
|
|
58
|
-
/**
|
|
59
|
-
* Whether or not a validator has been tombstoned (killed out of validator set). It is set
|
|
60
|
-
* once the validator commits an equivocation or for any other configured misbehiavor.
|
|
61
|
-
*/
|
|
62
|
-
|
|
47
|
+
jailed_until?: Date;
|
|
63
48
|
tombstoned: boolean;
|
|
64
|
-
/**
|
|
65
|
-
* A counter kept to avoid unnecessary array reads.
|
|
66
|
-
* Note that `Sum(MissedBlocksBitArray)` always equals `MissedBlocksCounter`.
|
|
67
|
-
*/
|
|
68
|
-
|
|
69
49
|
missed_blocks_counter: Long;
|
|
70
50
|
}
|
|
71
51
|
/** Params represents the parameters used for by the slashing module. */
|
|
@@ -113,7 +93,7 @@ export const ValidatorSigningInfo = {
|
|
|
113
93
|
}
|
|
114
94
|
|
|
115
95
|
if (message.jailedUntil !== undefined) {
|
|
116
|
-
Timestamp.encode(message.jailedUntil, writer.uint32(34).fork()).ldelim();
|
|
96
|
+
Timestamp.encode(toTimestamp(message.jailedUntil), writer.uint32(34).fork()).ldelim();
|
|
117
97
|
}
|
|
118
98
|
|
|
119
99
|
if (message.tombstoned === true) {
|
|
@@ -149,7 +129,7 @@ export const ValidatorSigningInfo = {
|
|
|
149
129
|
break;
|
|
150
130
|
|
|
151
131
|
case 4:
|
|
152
|
-
message.jailedUntil = Timestamp.decode(reader, reader.uint32());
|
|
132
|
+
message.jailedUntil = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
|
|
153
133
|
break;
|
|
154
134
|
|
|
155
135
|
case 5:
|
|
@@ -169,34 +149,12 @@ export const ValidatorSigningInfo = {
|
|
|
169
149
|
return message;
|
|
170
150
|
},
|
|
171
151
|
|
|
172
|
-
|
|
173
|
-
return {
|
|
174
|
-
address: isSet(object.address) ? String(object.address) : "",
|
|
175
|
-
startHeight: isSet(object.startHeight) ? Long.fromValue(object.startHeight) : Long.ZERO,
|
|
176
|
-
indexOffset: isSet(object.indexOffset) ? Long.fromValue(object.indexOffset) : Long.ZERO,
|
|
177
|
-
jailedUntil: isSet(object.jailedUntil) ? fromJsonTimestamp(object.jailedUntil) : undefined,
|
|
178
|
-
tombstoned: isSet(object.tombstoned) ? Boolean(object.tombstoned) : false,
|
|
179
|
-
missedBlocksCounter: isSet(object.missedBlocksCounter) ? Long.fromValue(object.missedBlocksCounter) : Long.ZERO
|
|
180
|
-
};
|
|
181
|
-
},
|
|
182
|
-
|
|
183
|
-
toJSON(message: ValidatorSigningInfo): unknown {
|
|
184
|
-
const obj: any = {};
|
|
185
|
-
message.address !== undefined && (obj.address = message.address);
|
|
186
|
-
message.startHeight !== undefined && (obj.startHeight = (message.startHeight || Long.ZERO).toString());
|
|
187
|
-
message.indexOffset !== undefined && (obj.indexOffset = (message.indexOffset || Long.ZERO).toString());
|
|
188
|
-
message.jailedUntil !== undefined && (obj.jailedUntil = fromTimestamp(message.jailedUntil).toISOString());
|
|
189
|
-
message.tombstoned !== undefined && (obj.tombstoned = message.tombstoned);
|
|
190
|
-
message.missedBlocksCounter !== undefined && (obj.missedBlocksCounter = (message.missedBlocksCounter || Long.ZERO).toString());
|
|
191
|
-
return obj;
|
|
192
|
-
},
|
|
193
|
-
|
|
194
|
-
fromPartial(object: Partial<ValidatorSigningInfo>): ValidatorSigningInfo {
|
|
152
|
+
fromPartial(object: DeepPartial<ValidatorSigningInfo>): ValidatorSigningInfo {
|
|
195
153
|
const message = createBaseValidatorSigningInfo();
|
|
196
154
|
message.address = object.address ?? "";
|
|
197
155
|
message.startHeight = object.startHeight !== undefined && object.startHeight !== null ? Long.fromValue(object.startHeight) : Long.ZERO;
|
|
198
156
|
message.indexOffset = object.indexOffset !== undefined && object.indexOffset !== null ? Long.fromValue(object.indexOffset) : Long.ZERO;
|
|
199
|
-
message.jailedUntil = object.jailedUntil
|
|
157
|
+
message.jailedUntil = object.jailedUntil ?? undefined;
|
|
200
158
|
message.tombstoned = object.tombstoned ?? false;
|
|
201
159
|
message.missedBlocksCounter = object.missedBlocksCounter !== undefined && object.missedBlocksCounter !== null ? Long.fromValue(object.missedBlocksCounter) : Long.ZERO;
|
|
202
160
|
return message;
|
|
@@ -277,27 +235,7 @@ export const Params = {
|
|
|
277
235
|
return message;
|
|
278
236
|
},
|
|
279
237
|
|
|
280
|
-
|
|
281
|
-
return {
|
|
282
|
-
signedBlocksWindow: isSet(object.signedBlocksWindow) ? Long.fromValue(object.signedBlocksWindow) : Long.ZERO,
|
|
283
|
-
minSignedPerWindow: isSet(object.minSignedPerWindow) ? bytesFromBase64(object.minSignedPerWindow) : new Uint8Array(),
|
|
284
|
-
downtimeJailDuration: isSet(object.downtimeJailDuration) ? Duration.fromJSON(object.downtimeJailDuration) : undefined,
|
|
285
|
-
slashFractionDoubleSign: isSet(object.slashFractionDoubleSign) ? bytesFromBase64(object.slashFractionDoubleSign) : new Uint8Array(),
|
|
286
|
-
slashFractionDowntime: isSet(object.slashFractionDowntime) ? bytesFromBase64(object.slashFractionDowntime) : new Uint8Array()
|
|
287
|
-
};
|
|
288
|
-
},
|
|
289
|
-
|
|
290
|
-
toJSON(message: Params): unknown {
|
|
291
|
-
const obj: any = {};
|
|
292
|
-
message.signedBlocksWindow !== undefined && (obj.signedBlocksWindow = (message.signedBlocksWindow || Long.ZERO).toString());
|
|
293
|
-
message.minSignedPerWindow !== undefined && (obj.minSignedPerWindow = base64FromBytes(message.minSignedPerWindow !== undefined ? message.minSignedPerWindow : new Uint8Array()));
|
|
294
|
-
message.downtimeJailDuration !== undefined && (obj.downtimeJailDuration = message.downtimeJailDuration ? Duration.toJSON(message.downtimeJailDuration) : undefined);
|
|
295
|
-
message.slashFractionDoubleSign !== undefined && (obj.slashFractionDoubleSign = base64FromBytes(message.slashFractionDoubleSign !== undefined ? message.slashFractionDoubleSign : new Uint8Array()));
|
|
296
|
-
message.slashFractionDowntime !== undefined && (obj.slashFractionDowntime = base64FromBytes(message.slashFractionDowntime !== undefined ? message.slashFractionDowntime : new Uint8Array()));
|
|
297
|
-
return obj;
|
|
298
|
-
},
|
|
299
|
-
|
|
300
|
-
fromPartial(object: Partial<Params>): Params {
|
|
238
|
+
fromPartial(object: DeepPartial<Params>): Params {
|
|
301
239
|
const message = createBaseParams();
|
|
302
240
|
message.signedBlocksWindow = object.signedBlocksWindow !== undefined && object.signedBlocksWindow !== null ? Long.fromValue(object.signedBlocksWindow) : Long.ZERO;
|
|
303
241
|
message.minSignedPerWindow = object.minSignedPerWindow ?? new Uint8Array();
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { AminoMsg } from "@cosmjs/amino";
|
|
2
|
+
import { MsgUnjail } from "./tx";
|
|
3
|
+
export interface MsgUnjailAminoType extends AminoMsg {
|
|
4
|
+
type: "cosmos-sdk/MsgUnjail";
|
|
5
|
+
value: {
|
|
6
|
+
validator_addr: string;
|
|
7
|
+
};
|
|
8
|
+
}
|
|
9
|
+
export const AminoConverter = {
|
|
10
|
+
"/cosmos.slashing.v1beta1.MsgUnjail": {
|
|
11
|
+
aminoType: "cosmos-sdk/MsgUnjail",
|
|
12
|
+
toAmino: ({
|
|
13
|
+
validatorAddr
|
|
14
|
+
}: MsgUnjail): MsgUnjailAminoType["value"] => {
|
|
15
|
+
return {
|
|
16
|
+
validator_addr: validatorAddr
|
|
17
|
+
};
|
|
18
|
+
},
|
|
19
|
+
fromAmino: ({
|
|
20
|
+
validator_addr
|
|
21
|
+
}: MsgUnjailAminoType["value"]): MsgUnjail => {
|
|
22
|
+
return {
|
|
23
|
+
validatorAddr: validator_addr
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { GeneratedType, Registry } from "@cosmjs/proto-signing";
|
|
2
|
+
import { MsgUnjail } from "./tx";
|
|
3
|
+
export const registry: ReadonlyArray<[string, GeneratedType]> = [["/cosmos.slashing.v1beta1.MsgUnjail", MsgUnjail]];
|
|
4
|
+
export const load = (protoRegistry: Registry) => {
|
|
5
|
+
registry.forEach(([typeUrl, mod]) => {
|
|
6
|
+
protoRegistry.register(typeUrl, mod);
|
|
7
|
+
});
|
|
8
|
+
};
|
|
9
|
+
export const MessageComposer = {
|
|
10
|
+
encoded: {
|
|
11
|
+
unjail(value: MsgUnjail) {
|
|
12
|
+
return {
|
|
13
|
+
typeUrl: "/cosmos.slashing.v1beta1.MsgUnjail",
|
|
14
|
+
value: MsgUnjail.encode(value).finish()
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
},
|
|
19
|
+
withTypeUrl: {
|
|
20
|
+
unjail(value: MsgUnjail) {
|
|
21
|
+
return {
|
|
22
|
+
typeUrl: "/cosmos.slashing.v1beta1.MsgUnjail",
|
|
23
|
+
value
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
},
|
|
28
|
+
fromPartial: {
|
|
29
|
+
unjail(value: MsgUnjail) {
|
|
30
|
+
return {
|
|
31
|
+
typeUrl: "/cosmos.slashing.v1beta1.MsgUnjail",
|
|
32
|
+
value: MsgUnjail.fromPartial(value)
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
}
|
|
37
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _m0 from "protobufjs/minimal";
|
|
2
|
-
import {
|
|
2
|
+
import { DeepPartial } from "../../../helpers";
|
|
3
3
|
/** MsgUnjail defines the Msg/Unjail request type */
|
|
4
4
|
|
|
5
5
|
export interface MsgUnjail {
|
|
@@ -54,19 +54,7 @@ export const MsgUnjail = {
|
|
|
54
54
|
return message;
|
|
55
55
|
},
|
|
56
56
|
|
|
57
|
-
|
|
58
|
-
return {
|
|
59
|
-
validatorAddr: isSet(object.validatorAddr) ? String(object.validatorAddr) : ""
|
|
60
|
-
};
|
|
61
|
-
},
|
|
62
|
-
|
|
63
|
-
toJSON(message: MsgUnjail): unknown {
|
|
64
|
-
const obj: any = {};
|
|
65
|
-
message.validatorAddr !== undefined && (obj.validatorAddr = message.validatorAddr);
|
|
66
|
-
return obj;
|
|
67
|
-
},
|
|
68
|
-
|
|
69
|
-
fromPartial(object: Partial<MsgUnjail>): MsgUnjail {
|
|
57
|
+
fromPartial(object: DeepPartial<MsgUnjail>): MsgUnjail {
|
|
70
58
|
const message = createBaseMsgUnjail();
|
|
71
59
|
message.validatorAddr = object.validatorAddr ?? "";
|
|
72
60
|
return message;
|
|
@@ -101,16 +89,7 @@ export const MsgUnjailResponse = {
|
|
|
101
89
|
return message;
|
|
102
90
|
},
|
|
103
91
|
|
|
104
|
-
|
|
105
|
-
return {};
|
|
106
|
-
},
|
|
107
|
-
|
|
108
|
-
toJSON(_: MsgUnjailResponse): unknown {
|
|
109
|
-
const obj: any = {};
|
|
110
|
-
return obj;
|
|
111
|
-
},
|
|
112
|
-
|
|
113
|
-
fromPartial(_: Partial<MsgUnjailResponse>): MsgUnjailResponse {
|
|
92
|
+
fromPartial(_: DeepPartial<MsgUnjailResponse>): MsgUnjailResponse {
|
|
114
93
|
const message = createBaseMsgUnjailResponse();
|
|
115
94
|
return message;
|
|
116
95
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Coin, CoinSDKType } from "../../base/v1beta1/coin";
|
|
2
2
|
import * as _m0 from "protobufjs/minimal";
|
|
3
|
-
import {
|
|
3
|
+
import { DeepPartial } from "../../../helpers";
|
|
4
4
|
/**
|
|
5
5
|
* AuthorizationType defines the type of staking module authorization type
|
|
6
6
|
*
|
|
@@ -21,26 +21,7 @@ export enum AuthorizationType {
|
|
|
21
21
|
AUTHORIZATION_TYPE_REDELEGATE = 3,
|
|
22
22
|
UNRECOGNIZED = -1,
|
|
23
23
|
}
|
|
24
|
-
|
|
25
|
-
* AuthorizationType defines the type of staking module authorization type
|
|
26
|
-
*
|
|
27
|
-
* Since: cosmos-sdk 0.43
|
|
28
|
-
*/
|
|
29
|
-
|
|
30
|
-
export enum AuthorizationTypeSDKType {
|
|
31
|
-
/** AUTHORIZATION_TYPE_UNSPECIFIED - AUTHORIZATION_TYPE_UNSPECIFIED specifies an unknown authorization type */
|
|
32
|
-
AUTHORIZATION_TYPE_UNSPECIFIED = 0,
|
|
33
|
-
|
|
34
|
-
/** AUTHORIZATION_TYPE_DELEGATE - AUTHORIZATION_TYPE_DELEGATE defines an authorization type for Msg/Delegate */
|
|
35
|
-
AUTHORIZATION_TYPE_DELEGATE = 1,
|
|
36
|
-
|
|
37
|
-
/** AUTHORIZATION_TYPE_UNDELEGATE - AUTHORIZATION_TYPE_UNDELEGATE defines an authorization type for Msg/Undelegate */
|
|
38
|
-
AUTHORIZATION_TYPE_UNDELEGATE = 2,
|
|
39
|
-
|
|
40
|
-
/** AUTHORIZATION_TYPE_REDELEGATE - AUTHORIZATION_TYPE_REDELEGATE defines an authorization type for Msg/BeginRedelegate */
|
|
41
|
-
AUTHORIZATION_TYPE_REDELEGATE = 3,
|
|
42
|
-
UNRECOGNIZED = -1,
|
|
43
|
-
}
|
|
24
|
+
export const AuthorizationTypeSDKType = AuthorizationType;
|
|
44
25
|
export function authorizationTypeFromJSON(object: any): AuthorizationType {
|
|
45
26
|
switch (object) {
|
|
46
27
|
case 0:
|
|
@@ -116,23 +97,10 @@ export interface StakeAuthorization {
|
|
|
116
97
|
*/
|
|
117
98
|
|
|
118
99
|
export interface StakeAuthorizationSDKType {
|
|
119
|
-
/**
|
|
120
|
-
* max_tokens specifies the maximum amount of tokens can be delegate to a validator. If it is
|
|
121
|
-
* empty, there is no spend limit and any amount of coins can be delegated.
|
|
122
|
-
*/
|
|
123
100
|
max_tokens?: CoinSDKType;
|
|
124
|
-
/**
|
|
125
|
-
* allow_list specifies list of validator addresses to whom grantee can delegate tokens on behalf of granter's
|
|
126
|
-
* account.
|
|
127
|
-
*/
|
|
128
|
-
|
|
129
101
|
allow_list?: StakeAuthorization_ValidatorsSDKType;
|
|
130
|
-
/** deny_list specifies list of validator addresses to whom grantee can not delegate tokens. */
|
|
131
|
-
|
|
132
102
|
deny_list?: StakeAuthorization_ValidatorsSDKType;
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
authorization_type: AuthorizationTypeSDKType;
|
|
103
|
+
authorization_type: AuthorizationType;
|
|
136
104
|
}
|
|
137
105
|
/** Validators defines list of validator addresses. */
|
|
138
106
|
|
|
@@ -209,25 +177,7 @@ export const StakeAuthorization = {
|
|
|
209
177
|
return message;
|
|
210
178
|
},
|
|
211
179
|
|
|
212
|
-
|
|
213
|
-
return {
|
|
214
|
-
maxTokens: isSet(object.maxTokens) ? Coin.fromJSON(object.maxTokens) : undefined,
|
|
215
|
-
allowList: isSet(object.allowList) ? StakeAuthorization_Validators.fromJSON(object.allowList) : undefined,
|
|
216
|
-
denyList: isSet(object.denyList) ? StakeAuthorization_Validators.fromJSON(object.denyList) : undefined,
|
|
217
|
-
authorizationType: isSet(object.authorizationType) ? authorizationTypeFromJSON(object.authorizationType) : 0
|
|
218
|
-
};
|
|
219
|
-
},
|
|
220
|
-
|
|
221
|
-
toJSON(message: StakeAuthorization): unknown {
|
|
222
|
-
const obj: any = {};
|
|
223
|
-
message.maxTokens !== undefined && (obj.maxTokens = message.maxTokens ? Coin.toJSON(message.maxTokens) : undefined);
|
|
224
|
-
message.allowList !== undefined && (obj.allowList = message.allowList ? StakeAuthorization_Validators.toJSON(message.allowList) : undefined);
|
|
225
|
-
message.denyList !== undefined && (obj.denyList = message.denyList ? StakeAuthorization_Validators.toJSON(message.denyList) : undefined);
|
|
226
|
-
message.authorizationType !== undefined && (obj.authorizationType = authorizationTypeToJSON(message.authorizationType));
|
|
227
|
-
return obj;
|
|
228
|
-
},
|
|
229
|
-
|
|
230
|
-
fromPartial(object: Partial<StakeAuthorization>): StakeAuthorization {
|
|
180
|
+
fromPartial(object: DeepPartial<StakeAuthorization>): StakeAuthorization {
|
|
231
181
|
const message = createBaseStakeAuthorization();
|
|
232
182
|
message.maxTokens = object.maxTokens !== undefined && object.maxTokens !== null ? Coin.fromPartial(object.maxTokens) : undefined;
|
|
233
183
|
message.allowList = object.allowList !== undefined && object.allowList !== null ? StakeAuthorization_Validators.fromPartial(object.allowList) : undefined;
|
|
@@ -275,25 +225,7 @@ export const StakeAuthorization_Validators = {
|
|
|
275
225
|
return message;
|
|
276
226
|
},
|
|
277
227
|
|
|
278
|
-
|
|
279
|
-
return {
|
|
280
|
-
address: Array.isArray(object?.address) ? object.address.map((e: any) => String(e)) : []
|
|
281
|
-
};
|
|
282
|
-
},
|
|
283
|
-
|
|
284
|
-
toJSON(message: StakeAuthorization_Validators): unknown {
|
|
285
|
-
const obj: any = {};
|
|
286
|
-
|
|
287
|
-
if (message.address) {
|
|
288
|
-
obj.address = message.address.map(e => e);
|
|
289
|
-
} else {
|
|
290
|
-
obj.address = [];
|
|
291
|
-
}
|
|
292
|
-
|
|
293
|
-
return obj;
|
|
294
|
-
},
|
|
295
|
-
|
|
296
|
-
fromPartial(object: Partial<StakeAuthorization_Validators>): StakeAuthorization_Validators {
|
|
228
|
+
fromPartial(object: DeepPartial<StakeAuthorization_Validators>): StakeAuthorization_Validators {
|
|
297
229
|
const message = createBaseStakeAuthorization_Validators();
|
|
298
230
|
message.address = object.address?.map(e => e) || [];
|
|
299
231
|
return message;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Params, ParamsSDKType, Validator, ValidatorSDKType, Delegation, DelegationSDKType, UnbondingDelegation, UnbondingDelegationSDKType, Redelegation, RedelegationSDKType } from "./staking";
|
|
2
2
|
import * as _m0 from "protobufjs/minimal";
|
|
3
|
-
import {
|
|
3
|
+
import { DeepPartial, Long } from "../../../helpers";
|
|
4
4
|
/** GenesisState defines the staking module's genesis state. */
|
|
5
5
|
|
|
6
6
|
export interface GenesisState {
|
|
@@ -35,31 +35,12 @@ export interface GenesisState {
|
|
|
35
35
|
/** GenesisState defines the staking module's genesis state. */
|
|
36
36
|
|
|
37
37
|
export interface GenesisStateSDKType {
|
|
38
|
-
/** params defines all the paramaters of related to deposit. */
|
|
39
38
|
params?: ParamsSDKType;
|
|
40
|
-
/**
|
|
41
|
-
* last_total_power tracks the total amounts of bonded tokens recorded during
|
|
42
|
-
* the previous end block.
|
|
43
|
-
*/
|
|
44
|
-
|
|
45
39
|
last_total_power: Uint8Array;
|
|
46
|
-
/**
|
|
47
|
-
* last_validator_powers is a special index that provides a historical list
|
|
48
|
-
* of the last-block's bonded validators.
|
|
49
|
-
*/
|
|
50
|
-
|
|
51
40
|
last_validator_powers: LastValidatorPowerSDKType[];
|
|
52
|
-
/** delegations defines the validator set at genesis. */
|
|
53
|
-
|
|
54
41
|
validators: ValidatorSDKType[];
|
|
55
|
-
/** delegations defines the delegations active at genesis. */
|
|
56
|
-
|
|
57
42
|
delegations: DelegationSDKType[];
|
|
58
|
-
/** unbonding_delegations defines the unbonding delegations active at genesis. */
|
|
59
|
-
|
|
60
43
|
unbonding_delegations: UnbondingDelegationSDKType[];
|
|
61
|
-
/** redelegations defines the redelegations active at genesis. */
|
|
62
|
-
|
|
63
44
|
redelegations: RedelegationSDKType[];
|
|
64
45
|
exported: boolean;
|
|
65
46
|
}
|
|
@@ -75,10 +56,7 @@ export interface LastValidatorPower {
|
|
|
75
56
|
/** LastValidatorPower required for validator set update logic. */
|
|
76
57
|
|
|
77
58
|
export interface LastValidatorPowerSDKType {
|
|
78
|
-
/** address is the address of the validator. */
|
|
79
59
|
address: string;
|
|
80
|
-
/** power defines the power of the validator. */
|
|
81
|
-
|
|
82
60
|
power: Long;
|
|
83
61
|
}
|
|
84
62
|
|
|
@@ -182,59 +160,7 @@ export const GenesisState = {
|
|
|
182
160
|
return message;
|
|
183
161
|
},
|
|
184
162
|
|
|
185
|
-
|
|
186
|
-
return {
|
|
187
|
-
params: isSet(object.params) ? Params.fromJSON(object.params) : undefined,
|
|
188
|
-
lastTotalPower: isSet(object.lastTotalPower) ? bytesFromBase64(object.lastTotalPower) : new Uint8Array(),
|
|
189
|
-
lastValidatorPowers: Array.isArray(object?.lastValidatorPowers) ? object.lastValidatorPowers.map((e: any) => LastValidatorPower.fromJSON(e)) : [],
|
|
190
|
-
validators: Array.isArray(object?.validators) ? object.validators.map((e: any) => Validator.fromJSON(e)) : [],
|
|
191
|
-
delegations: Array.isArray(object?.delegations) ? object.delegations.map((e: any) => Delegation.fromJSON(e)) : [],
|
|
192
|
-
unbondingDelegations: Array.isArray(object?.unbondingDelegations) ? object.unbondingDelegations.map((e: any) => UnbondingDelegation.fromJSON(e)) : [],
|
|
193
|
-
redelegations: Array.isArray(object?.redelegations) ? object.redelegations.map((e: any) => Redelegation.fromJSON(e)) : [],
|
|
194
|
-
exported: isSet(object.exported) ? Boolean(object.exported) : false
|
|
195
|
-
};
|
|
196
|
-
},
|
|
197
|
-
|
|
198
|
-
toJSON(message: GenesisState): unknown {
|
|
199
|
-
const obj: any = {};
|
|
200
|
-
message.params !== undefined && (obj.params = message.params ? Params.toJSON(message.params) : undefined);
|
|
201
|
-
message.lastTotalPower !== undefined && (obj.lastTotalPower = base64FromBytes(message.lastTotalPower !== undefined ? message.lastTotalPower : new Uint8Array()));
|
|
202
|
-
|
|
203
|
-
if (message.lastValidatorPowers) {
|
|
204
|
-
obj.lastValidatorPowers = message.lastValidatorPowers.map(e => e ? LastValidatorPower.toJSON(e) : undefined);
|
|
205
|
-
} else {
|
|
206
|
-
obj.lastValidatorPowers = [];
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
if (message.validators) {
|
|
210
|
-
obj.validators = message.validators.map(e => e ? Validator.toJSON(e) : undefined);
|
|
211
|
-
} else {
|
|
212
|
-
obj.validators = [];
|
|
213
|
-
}
|
|
214
|
-
|
|
215
|
-
if (message.delegations) {
|
|
216
|
-
obj.delegations = message.delegations.map(e => e ? Delegation.toJSON(e) : undefined);
|
|
217
|
-
} else {
|
|
218
|
-
obj.delegations = [];
|
|
219
|
-
}
|
|
220
|
-
|
|
221
|
-
if (message.unbondingDelegations) {
|
|
222
|
-
obj.unbondingDelegations = message.unbondingDelegations.map(e => e ? UnbondingDelegation.toJSON(e) : undefined);
|
|
223
|
-
} else {
|
|
224
|
-
obj.unbondingDelegations = [];
|
|
225
|
-
}
|
|
226
|
-
|
|
227
|
-
if (message.redelegations) {
|
|
228
|
-
obj.redelegations = message.redelegations.map(e => e ? Redelegation.toJSON(e) : undefined);
|
|
229
|
-
} else {
|
|
230
|
-
obj.redelegations = [];
|
|
231
|
-
}
|
|
232
|
-
|
|
233
|
-
message.exported !== undefined && (obj.exported = message.exported);
|
|
234
|
-
return obj;
|
|
235
|
-
},
|
|
236
|
-
|
|
237
|
-
fromPartial(object: Partial<GenesisState>): GenesisState {
|
|
163
|
+
fromPartial(object: DeepPartial<GenesisState>): GenesisState {
|
|
238
164
|
const message = createBaseGenesisState();
|
|
239
165
|
message.params = object.params !== undefined && object.params !== null ? Params.fromPartial(object.params) : undefined;
|
|
240
166
|
message.lastTotalPower = object.lastTotalPower ?? new Uint8Array();
|
|
@@ -295,21 +221,7 @@ export const LastValidatorPower = {
|
|
|
295
221
|
return message;
|
|
296
222
|
},
|
|
297
223
|
|
|
298
|
-
|
|
299
|
-
return {
|
|
300
|
-
address: isSet(object.address) ? String(object.address) : "",
|
|
301
|
-
power: isSet(object.power) ? Long.fromValue(object.power) : Long.ZERO
|
|
302
|
-
};
|
|
303
|
-
},
|
|
304
|
-
|
|
305
|
-
toJSON(message: LastValidatorPower): unknown {
|
|
306
|
-
const obj: any = {};
|
|
307
|
-
message.address !== undefined && (obj.address = message.address);
|
|
308
|
-
message.power !== undefined && (obj.power = (message.power || Long.ZERO).toString());
|
|
309
|
-
return obj;
|
|
310
|
-
},
|
|
311
|
-
|
|
312
|
-
fromPartial(object: Partial<LastValidatorPower>): LastValidatorPower {
|
|
224
|
+
fromPartial(object: DeepPartial<LastValidatorPower>): LastValidatorPower {
|
|
313
225
|
const message = createBaseLastValidatorPower();
|
|
314
226
|
message.address = object.address ?? "";
|
|
315
227
|
message.power = object.power !== undefined && object.power !== null ? Long.fromValue(object.power) : Long.ZERO;
|