@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,10 +1,10 @@
|
|
|
1
1
|
import { Header, HeaderSDKType } from "../../../tendermint/types/types";
|
|
2
|
-
import { Timestamp
|
|
2
|
+
import { Timestamp } from "../../../google/protobuf/timestamp";
|
|
3
3
|
import { Any, AnySDKType } from "../../../google/protobuf/any";
|
|
4
4
|
import { Duration, DurationSDKType } from "../../../google/protobuf/duration";
|
|
5
5
|
import { Coin, CoinSDKType } from "../../base/v1beta1/coin";
|
|
6
6
|
import * as _m0 from "protobufjs/minimal";
|
|
7
|
-
import {
|
|
7
|
+
import { DeepPartial, toTimestamp, fromTimestamp, Long } from "../../../helpers";
|
|
8
8
|
/** BondStatus is the status of a validator. */
|
|
9
9
|
|
|
10
10
|
export enum BondStatus {
|
|
@@ -21,22 +21,7 @@ export enum BondStatus {
|
|
|
21
21
|
BOND_STATUS_BONDED = 3,
|
|
22
22
|
UNRECOGNIZED = -1,
|
|
23
23
|
}
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
export enum BondStatusSDKType {
|
|
27
|
-
/** BOND_STATUS_UNSPECIFIED - UNSPECIFIED defines an invalid validator status. */
|
|
28
|
-
BOND_STATUS_UNSPECIFIED = 0,
|
|
29
|
-
|
|
30
|
-
/** BOND_STATUS_UNBONDED - UNBONDED defines a validator that is not bonded. */
|
|
31
|
-
BOND_STATUS_UNBONDED = 1,
|
|
32
|
-
|
|
33
|
-
/** BOND_STATUS_UNBONDING - UNBONDING defines a validator that is unbonding. */
|
|
34
|
-
BOND_STATUS_UNBONDING = 2,
|
|
35
|
-
|
|
36
|
-
/** BOND_STATUS_BONDED - BONDED defines a validator that is bonded. */
|
|
37
|
-
BOND_STATUS_BONDED = 3,
|
|
38
|
-
UNRECOGNIZED = -1,
|
|
39
|
-
}
|
|
24
|
+
export const BondStatusSDKType = BondStatus;
|
|
40
25
|
export function bondStatusFromJSON(object: any): BondStatus {
|
|
41
26
|
switch (object) {
|
|
42
27
|
case 0:
|
|
@@ -123,13 +108,8 @@ export interface CommissionRates {
|
|
|
123
108
|
*/
|
|
124
109
|
|
|
125
110
|
export interface CommissionRatesSDKType {
|
|
126
|
-
/** rate is the commission rate charged to delegators, as a fraction. */
|
|
127
111
|
rate: string;
|
|
128
|
-
/** max_rate defines the maximum commission rate which validator can ever charge, as a fraction. */
|
|
129
|
-
|
|
130
112
|
max_rate: string;
|
|
131
|
-
/** max_change_rate defines the maximum daily increase of the validator commission, as a fraction. */
|
|
132
|
-
|
|
133
113
|
max_change_rate: string;
|
|
134
114
|
}
|
|
135
115
|
/** Commission defines commission parameters for a given validator. */
|
|
@@ -139,16 +119,13 @@ export interface Commission {
|
|
|
139
119
|
commissionRates?: CommissionRates;
|
|
140
120
|
/** update_time is the last time the commission rate was changed. */
|
|
141
121
|
|
|
142
|
-
updateTime?:
|
|
122
|
+
updateTime?: Date;
|
|
143
123
|
}
|
|
144
124
|
/** Commission defines commission parameters for a given validator. */
|
|
145
125
|
|
|
146
126
|
export interface CommissionSDKType {
|
|
147
|
-
/** commission_rates defines the initial commission rates to be used for creating a validator. */
|
|
148
127
|
commission_rates?: CommissionRatesSDKType;
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
update_time?: TimestampSDKType;
|
|
128
|
+
update_time?: Date;
|
|
152
129
|
}
|
|
153
130
|
/** Description defines a validator description. */
|
|
154
131
|
|
|
@@ -171,19 +148,10 @@ export interface Description {
|
|
|
171
148
|
/** Description defines a validator description. */
|
|
172
149
|
|
|
173
150
|
export interface DescriptionSDKType {
|
|
174
|
-
/** moniker defines a human-readable name for the validator. */
|
|
175
151
|
moniker: string;
|
|
176
|
-
/** identity defines an optional identity signature (ex. UPort or Keybase). */
|
|
177
|
-
|
|
178
152
|
identity: string;
|
|
179
|
-
/** website defines an optional website link. */
|
|
180
|
-
|
|
181
153
|
website: string;
|
|
182
|
-
/** security_contact defines an optional email for security contact. */
|
|
183
|
-
|
|
184
154
|
security_contact: string;
|
|
185
|
-
/** details define other optional details. */
|
|
186
|
-
|
|
187
155
|
details: string;
|
|
188
156
|
}
|
|
189
157
|
/**
|
|
@@ -223,7 +191,7 @@ export interface Validator {
|
|
|
223
191
|
unbondingHeight: Long;
|
|
224
192
|
/** unbonding_time defines, if unbonding, the min time for the validator to complete unbonding. */
|
|
225
193
|
|
|
226
|
-
unbondingTime?:
|
|
194
|
+
unbondingTime?: Date;
|
|
227
195
|
/** commission defines the commission parameters. */
|
|
228
196
|
|
|
229
197
|
commission?: Commission;
|
|
@@ -243,37 +211,16 @@ export interface Validator {
|
|
|
243
211
|
*/
|
|
244
212
|
|
|
245
213
|
export interface ValidatorSDKType {
|
|
246
|
-
/** operator_address defines the address of the validator's operator; bech encoded in JSON. */
|
|
247
214
|
operator_address: string;
|
|
248
|
-
/** consensus_pubkey is the consensus public key of the validator, as a Protobuf Any. */
|
|
249
|
-
|
|
250
215
|
consensus_pubkey?: AnySDKType;
|
|
251
|
-
/** jailed defined whether the validator has been jailed from bonded status or not. */
|
|
252
|
-
|
|
253
216
|
jailed: boolean;
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
status: BondStatusSDKType;
|
|
257
|
-
/** tokens define the delegated tokens (incl. self-delegation). */
|
|
258
|
-
|
|
217
|
+
status: BondStatus;
|
|
259
218
|
tokens: string;
|
|
260
|
-
/** delegator_shares defines total shares issued to a validator's delegators. */
|
|
261
|
-
|
|
262
219
|
delegator_shares: string;
|
|
263
|
-
/** description defines the description terms for the validator. */
|
|
264
|
-
|
|
265
220
|
description?: DescriptionSDKType;
|
|
266
|
-
/** unbonding_height defines, if unbonding, the height at which this validator has begun unbonding. */
|
|
267
|
-
|
|
268
221
|
unbonding_height: Long;
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
unbonding_time?: TimestampSDKType;
|
|
272
|
-
/** commission defines the commission parameters. */
|
|
273
|
-
|
|
222
|
+
unbonding_time?: Date;
|
|
274
223
|
commission?: CommissionSDKType;
|
|
275
|
-
/** min_self_delegation is the validator's self declared minimum self delegation. */
|
|
276
|
-
|
|
277
224
|
min_self_delegation: string;
|
|
278
225
|
}
|
|
279
226
|
/** ValAddresses defines a repeated set of validator addresses. */
|
|
@@ -373,13 +320,8 @@ export interface Delegation {
|
|
|
373
320
|
*/
|
|
374
321
|
|
|
375
322
|
export interface DelegationSDKType {
|
|
376
|
-
/** delegator_address is the bech32-encoded address of the delegator. */
|
|
377
323
|
delegator_address: string;
|
|
378
|
-
/** validator_address is the bech32-encoded address of the validator. */
|
|
379
|
-
|
|
380
324
|
validator_address: string;
|
|
381
|
-
/** shares define the delegation shares received. */
|
|
382
|
-
|
|
383
325
|
shares: string;
|
|
384
326
|
}
|
|
385
327
|
/**
|
|
@@ -403,13 +345,8 @@ export interface UnbondingDelegation {
|
|
|
403
345
|
*/
|
|
404
346
|
|
|
405
347
|
export interface UnbondingDelegationSDKType {
|
|
406
|
-
/** delegator_address is the bech32-encoded address of the delegator. */
|
|
407
348
|
delegator_address: string;
|
|
408
|
-
/** validator_address is the bech32-encoded address of the validator. */
|
|
409
|
-
|
|
410
349
|
validator_address: string;
|
|
411
|
-
/** entries are the unbonding delegation entries. */
|
|
412
|
-
|
|
413
350
|
entries: UnbondingDelegationEntrySDKType[];
|
|
414
351
|
}
|
|
415
352
|
/** UnbondingDelegationEntry defines an unbonding object with relevant metadata. */
|
|
@@ -419,7 +356,7 @@ export interface UnbondingDelegationEntry {
|
|
|
419
356
|
creationHeight: Long;
|
|
420
357
|
/** completion_time is the unix time for unbonding completion. */
|
|
421
358
|
|
|
422
|
-
completionTime?:
|
|
359
|
+
completionTime?: Date;
|
|
423
360
|
/** initial_balance defines the tokens initially scheduled to receive at completion. */
|
|
424
361
|
|
|
425
362
|
initialBalance: string;
|
|
@@ -430,16 +367,9 @@ export interface UnbondingDelegationEntry {
|
|
|
430
367
|
/** UnbondingDelegationEntry defines an unbonding object with relevant metadata. */
|
|
431
368
|
|
|
432
369
|
export interface UnbondingDelegationEntrySDKType {
|
|
433
|
-
/** creation_height is the height which the unbonding took place. */
|
|
434
370
|
creation_height: Long;
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
completion_time?: TimestampSDKType;
|
|
438
|
-
/** initial_balance defines the tokens initially scheduled to receive at completion. */
|
|
439
|
-
|
|
371
|
+
completion_time?: Date;
|
|
440
372
|
initial_balance: string;
|
|
441
|
-
/** balance defines the tokens to receive at completion. */
|
|
442
|
-
|
|
443
373
|
balance: string;
|
|
444
374
|
}
|
|
445
375
|
/** RedelegationEntry defines a redelegation object with relevant metadata. */
|
|
@@ -449,7 +379,7 @@ export interface RedelegationEntry {
|
|
|
449
379
|
creationHeight: Long;
|
|
450
380
|
/** completion_time defines the unix time for redelegation completion. */
|
|
451
381
|
|
|
452
|
-
completionTime?:
|
|
382
|
+
completionTime?: Date;
|
|
453
383
|
/** initial_balance defines the initial balance when redelegation started. */
|
|
454
384
|
|
|
455
385
|
initialBalance: string;
|
|
@@ -460,16 +390,9 @@ export interface RedelegationEntry {
|
|
|
460
390
|
/** RedelegationEntry defines a redelegation object with relevant metadata. */
|
|
461
391
|
|
|
462
392
|
export interface RedelegationEntrySDKType {
|
|
463
|
-
/** creation_height defines the height which the redelegation took place. */
|
|
464
393
|
creation_height: Long;
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
completion_time?: TimestampSDKType;
|
|
468
|
-
/** initial_balance defines the initial balance when redelegation started. */
|
|
469
|
-
|
|
394
|
+
completion_time?: Date;
|
|
470
395
|
initial_balance: string;
|
|
471
|
-
/** shares_dst is the amount of destination-validator shares created by redelegation. */
|
|
472
|
-
|
|
473
396
|
shares_dst: string;
|
|
474
397
|
}
|
|
475
398
|
/**
|
|
@@ -496,16 +419,9 @@ export interface Redelegation {
|
|
|
496
419
|
*/
|
|
497
420
|
|
|
498
421
|
export interface RedelegationSDKType {
|
|
499
|
-
/** delegator_address is the bech32-encoded address of the delegator. */
|
|
500
422
|
delegator_address: string;
|
|
501
|
-
/** validator_src_address is the validator redelegation source operator address. */
|
|
502
|
-
|
|
503
423
|
validator_src_address: string;
|
|
504
|
-
/** validator_dst_address is the validator redelegation destination operator address. */
|
|
505
|
-
|
|
506
424
|
validator_dst_address: string;
|
|
507
|
-
/** entries are the redelegation entries. */
|
|
508
|
-
|
|
509
425
|
entries: RedelegationEntrySDKType[];
|
|
510
426
|
}
|
|
511
427
|
/** Params defines the parameters for the staking module. */
|
|
@@ -532,22 +448,11 @@ export interface Params {
|
|
|
532
448
|
/** Params defines the parameters for the staking module. */
|
|
533
449
|
|
|
534
450
|
export interface ParamsSDKType {
|
|
535
|
-
/** unbonding_time is the time duration of unbonding. */
|
|
536
451
|
unbonding_time?: DurationSDKType;
|
|
537
|
-
/** max_validators is the maximum number of validators. */
|
|
538
|
-
|
|
539
452
|
max_validators: number;
|
|
540
|
-
/** max_entries is the max entries for either unbonding delegation or redelegation (per pair/trio). */
|
|
541
|
-
|
|
542
453
|
max_entries: number;
|
|
543
|
-
/** historical_entries is the number of historical entries to persist. */
|
|
544
|
-
|
|
545
454
|
historical_entries: number;
|
|
546
|
-
/** bond_denom defines the bondable coin denomination. */
|
|
547
|
-
|
|
548
455
|
bond_denom: string;
|
|
549
|
-
/** min_commission_rate is the chain-wide minimum commission rate that a validator can charge their delegators */
|
|
550
|
-
|
|
551
456
|
min_commission_rate: string;
|
|
552
457
|
}
|
|
553
458
|
/**
|
|
@@ -673,27 +578,7 @@ export const HistoricalInfo = {
|
|
|
673
578
|
return message;
|
|
674
579
|
},
|
|
675
580
|
|
|
676
|
-
|
|
677
|
-
return {
|
|
678
|
-
header: isSet(object.header) ? Header.fromJSON(object.header) : undefined,
|
|
679
|
-
valset: Array.isArray(object?.valset) ? object.valset.map((e: any) => Validator.fromJSON(e)) : []
|
|
680
|
-
};
|
|
681
|
-
},
|
|
682
|
-
|
|
683
|
-
toJSON(message: HistoricalInfo): unknown {
|
|
684
|
-
const obj: any = {};
|
|
685
|
-
message.header !== undefined && (obj.header = message.header ? Header.toJSON(message.header) : undefined);
|
|
686
|
-
|
|
687
|
-
if (message.valset) {
|
|
688
|
-
obj.valset = message.valset.map(e => e ? Validator.toJSON(e) : undefined);
|
|
689
|
-
} else {
|
|
690
|
-
obj.valset = [];
|
|
691
|
-
}
|
|
692
|
-
|
|
693
|
-
return obj;
|
|
694
|
-
},
|
|
695
|
-
|
|
696
|
-
fromPartial(object: Partial<HistoricalInfo>): HistoricalInfo {
|
|
581
|
+
fromPartial(object: DeepPartial<HistoricalInfo>): HistoricalInfo {
|
|
697
582
|
const message = createBaseHistoricalInfo();
|
|
698
583
|
message.header = object.header !== undefined && object.header !== null ? Header.fromPartial(object.header) : undefined;
|
|
699
584
|
message.valset = object.valset?.map(e => Validator.fromPartial(e)) || [];
|
|
@@ -757,23 +642,7 @@ export const CommissionRates = {
|
|
|
757
642
|
return message;
|
|
758
643
|
},
|
|
759
644
|
|
|
760
|
-
|
|
761
|
-
return {
|
|
762
|
-
rate: isSet(object.rate) ? String(object.rate) : "",
|
|
763
|
-
maxRate: isSet(object.maxRate) ? String(object.maxRate) : "",
|
|
764
|
-
maxChangeRate: isSet(object.maxChangeRate) ? String(object.maxChangeRate) : ""
|
|
765
|
-
};
|
|
766
|
-
},
|
|
767
|
-
|
|
768
|
-
toJSON(message: CommissionRates): unknown {
|
|
769
|
-
const obj: any = {};
|
|
770
|
-
message.rate !== undefined && (obj.rate = message.rate);
|
|
771
|
-
message.maxRate !== undefined && (obj.maxRate = message.maxRate);
|
|
772
|
-
message.maxChangeRate !== undefined && (obj.maxChangeRate = message.maxChangeRate);
|
|
773
|
-
return obj;
|
|
774
|
-
},
|
|
775
|
-
|
|
776
|
-
fromPartial(object: Partial<CommissionRates>): CommissionRates {
|
|
645
|
+
fromPartial(object: DeepPartial<CommissionRates>): CommissionRates {
|
|
777
646
|
const message = createBaseCommissionRates();
|
|
778
647
|
message.rate = object.rate ?? "";
|
|
779
648
|
message.maxRate = object.maxRate ?? "";
|
|
@@ -797,7 +666,7 @@ export const Commission = {
|
|
|
797
666
|
}
|
|
798
667
|
|
|
799
668
|
if (message.updateTime !== undefined) {
|
|
800
|
-
Timestamp.encode(message.updateTime, writer.uint32(18).fork()).ldelim();
|
|
669
|
+
Timestamp.encode(toTimestamp(message.updateTime), writer.uint32(18).fork()).ldelim();
|
|
801
670
|
}
|
|
802
671
|
|
|
803
672
|
return writer;
|
|
@@ -817,7 +686,7 @@ export const Commission = {
|
|
|
817
686
|
break;
|
|
818
687
|
|
|
819
688
|
case 2:
|
|
820
|
-
message.updateTime = Timestamp.decode(reader, reader.uint32());
|
|
689
|
+
message.updateTime = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
|
|
821
690
|
break;
|
|
822
691
|
|
|
823
692
|
default:
|
|
@@ -829,24 +698,10 @@ export const Commission = {
|
|
|
829
698
|
return message;
|
|
830
699
|
},
|
|
831
700
|
|
|
832
|
-
|
|
833
|
-
return {
|
|
834
|
-
commissionRates: isSet(object.commissionRates) ? CommissionRates.fromJSON(object.commissionRates) : undefined,
|
|
835
|
-
updateTime: isSet(object.updateTime) ? fromJsonTimestamp(object.updateTime) : undefined
|
|
836
|
-
};
|
|
837
|
-
},
|
|
838
|
-
|
|
839
|
-
toJSON(message: Commission): unknown {
|
|
840
|
-
const obj: any = {};
|
|
841
|
-
message.commissionRates !== undefined && (obj.commissionRates = message.commissionRates ? CommissionRates.toJSON(message.commissionRates) : undefined);
|
|
842
|
-
message.updateTime !== undefined && (obj.updateTime = fromTimestamp(message.updateTime).toISOString());
|
|
843
|
-
return obj;
|
|
844
|
-
},
|
|
845
|
-
|
|
846
|
-
fromPartial(object: Partial<Commission>): Commission {
|
|
701
|
+
fromPartial(object: DeepPartial<Commission>): Commission {
|
|
847
702
|
const message = createBaseCommission();
|
|
848
703
|
message.commissionRates = object.commissionRates !== undefined && object.commissionRates !== null ? CommissionRates.fromPartial(object.commissionRates) : undefined;
|
|
849
|
-
message.updateTime = object.updateTime
|
|
704
|
+
message.updateTime = object.updateTime ?? undefined;
|
|
850
705
|
return message;
|
|
851
706
|
}
|
|
852
707
|
|
|
@@ -925,27 +780,7 @@ export const Description = {
|
|
|
925
780
|
return message;
|
|
926
781
|
},
|
|
927
782
|
|
|
928
|
-
|
|
929
|
-
return {
|
|
930
|
-
moniker: isSet(object.moniker) ? String(object.moniker) : "",
|
|
931
|
-
identity: isSet(object.identity) ? String(object.identity) : "",
|
|
932
|
-
website: isSet(object.website) ? String(object.website) : "",
|
|
933
|
-
securityContact: isSet(object.securityContact) ? String(object.securityContact) : "",
|
|
934
|
-
details: isSet(object.details) ? String(object.details) : ""
|
|
935
|
-
};
|
|
936
|
-
},
|
|
937
|
-
|
|
938
|
-
toJSON(message: Description): unknown {
|
|
939
|
-
const obj: any = {};
|
|
940
|
-
message.moniker !== undefined && (obj.moniker = message.moniker);
|
|
941
|
-
message.identity !== undefined && (obj.identity = message.identity);
|
|
942
|
-
message.website !== undefined && (obj.website = message.website);
|
|
943
|
-
message.securityContact !== undefined && (obj.securityContact = message.securityContact);
|
|
944
|
-
message.details !== undefined && (obj.details = message.details);
|
|
945
|
-
return obj;
|
|
946
|
-
},
|
|
947
|
-
|
|
948
|
-
fromPartial(object: Partial<Description>): Description {
|
|
783
|
+
fromPartial(object: DeepPartial<Description>): Description {
|
|
949
784
|
const message = createBaseDescription();
|
|
950
785
|
message.moniker = object.moniker ?? "";
|
|
951
786
|
message.identity = object.identity ?? "";
|
|
@@ -1008,7 +843,7 @@ export const Validator = {
|
|
|
1008
843
|
}
|
|
1009
844
|
|
|
1010
845
|
if (message.unbondingTime !== undefined) {
|
|
1011
|
-
Timestamp.encode(message.unbondingTime, writer.uint32(74).fork()).ldelim();
|
|
846
|
+
Timestamp.encode(toTimestamp(message.unbondingTime), writer.uint32(74).fork()).ldelim();
|
|
1012
847
|
}
|
|
1013
848
|
|
|
1014
849
|
if (message.commission !== undefined) {
|
|
@@ -1064,7 +899,7 @@ export const Validator = {
|
|
|
1064
899
|
break;
|
|
1065
900
|
|
|
1066
901
|
case 9:
|
|
1067
|
-
message.unbondingTime = Timestamp.decode(reader, reader.uint32());
|
|
902
|
+
message.unbondingTime = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
|
|
1068
903
|
break;
|
|
1069
904
|
|
|
1070
905
|
case 10:
|
|
@@ -1084,39 +919,7 @@ export const Validator = {
|
|
|
1084
919
|
return message;
|
|
1085
920
|
},
|
|
1086
921
|
|
|
1087
|
-
|
|
1088
|
-
return {
|
|
1089
|
-
operatorAddress: isSet(object.operatorAddress) ? String(object.operatorAddress) : "",
|
|
1090
|
-
consensusPubkey: isSet(object.consensusPubkey) ? Any.fromJSON(object.consensusPubkey) : undefined,
|
|
1091
|
-
jailed: isSet(object.jailed) ? Boolean(object.jailed) : false,
|
|
1092
|
-
status: isSet(object.status) ? bondStatusFromJSON(object.status) : 0,
|
|
1093
|
-
tokens: isSet(object.tokens) ? String(object.tokens) : "",
|
|
1094
|
-
delegatorShares: isSet(object.delegatorShares) ? String(object.delegatorShares) : "",
|
|
1095
|
-
description: isSet(object.description) ? Description.fromJSON(object.description) : undefined,
|
|
1096
|
-
unbondingHeight: isSet(object.unbondingHeight) ? Long.fromValue(object.unbondingHeight) : Long.ZERO,
|
|
1097
|
-
unbondingTime: isSet(object.unbondingTime) ? fromJsonTimestamp(object.unbondingTime) : undefined,
|
|
1098
|
-
commission: isSet(object.commission) ? Commission.fromJSON(object.commission) : undefined,
|
|
1099
|
-
minSelfDelegation: isSet(object.minSelfDelegation) ? String(object.minSelfDelegation) : ""
|
|
1100
|
-
};
|
|
1101
|
-
},
|
|
1102
|
-
|
|
1103
|
-
toJSON(message: Validator): unknown {
|
|
1104
|
-
const obj: any = {};
|
|
1105
|
-
message.operatorAddress !== undefined && (obj.operatorAddress = message.operatorAddress);
|
|
1106
|
-
message.consensusPubkey !== undefined && (obj.consensusPubkey = message.consensusPubkey ? Any.toJSON(message.consensusPubkey) : undefined);
|
|
1107
|
-
message.jailed !== undefined && (obj.jailed = message.jailed);
|
|
1108
|
-
message.status !== undefined && (obj.status = bondStatusToJSON(message.status));
|
|
1109
|
-
message.tokens !== undefined && (obj.tokens = message.tokens);
|
|
1110
|
-
message.delegatorShares !== undefined && (obj.delegatorShares = message.delegatorShares);
|
|
1111
|
-
message.description !== undefined && (obj.description = message.description ? Description.toJSON(message.description) : undefined);
|
|
1112
|
-
message.unbondingHeight !== undefined && (obj.unbondingHeight = (message.unbondingHeight || Long.ZERO).toString());
|
|
1113
|
-
message.unbondingTime !== undefined && (obj.unbondingTime = fromTimestamp(message.unbondingTime).toISOString());
|
|
1114
|
-
message.commission !== undefined && (obj.commission = message.commission ? Commission.toJSON(message.commission) : undefined);
|
|
1115
|
-
message.minSelfDelegation !== undefined && (obj.minSelfDelegation = message.minSelfDelegation);
|
|
1116
|
-
return obj;
|
|
1117
|
-
},
|
|
1118
|
-
|
|
1119
|
-
fromPartial(object: Partial<Validator>): Validator {
|
|
922
|
+
fromPartial(object: DeepPartial<Validator>): Validator {
|
|
1120
923
|
const message = createBaseValidator();
|
|
1121
924
|
message.operatorAddress = object.operatorAddress ?? "";
|
|
1122
925
|
message.consensusPubkey = object.consensusPubkey !== undefined && object.consensusPubkey !== null ? Any.fromPartial(object.consensusPubkey) : undefined;
|
|
@@ -1126,7 +929,7 @@ export const Validator = {
|
|
|
1126
929
|
message.delegatorShares = object.delegatorShares ?? "";
|
|
1127
930
|
message.description = object.description !== undefined && object.description !== null ? Description.fromPartial(object.description) : undefined;
|
|
1128
931
|
message.unbondingHeight = object.unbondingHeight !== undefined && object.unbondingHeight !== null ? Long.fromValue(object.unbondingHeight) : Long.ZERO;
|
|
1129
|
-
message.unbondingTime = object.unbondingTime
|
|
932
|
+
message.unbondingTime = object.unbondingTime ?? undefined;
|
|
1130
933
|
message.commission = object.commission !== undefined && object.commission !== null ? Commission.fromPartial(object.commission) : undefined;
|
|
1131
934
|
message.minSelfDelegation = object.minSelfDelegation ?? "";
|
|
1132
935
|
return message;
|
|
@@ -1171,25 +974,7 @@ export const ValAddresses = {
|
|
|
1171
974
|
return message;
|
|
1172
975
|
},
|
|
1173
976
|
|
|
1174
|
-
|
|
1175
|
-
return {
|
|
1176
|
-
addresses: Array.isArray(object?.addresses) ? object.addresses.map((e: any) => String(e)) : []
|
|
1177
|
-
};
|
|
1178
|
-
},
|
|
1179
|
-
|
|
1180
|
-
toJSON(message: ValAddresses): unknown {
|
|
1181
|
-
const obj: any = {};
|
|
1182
|
-
|
|
1183
|
-
if (message.addresses) {
|
|
1184
|
-
obj.addresses = message.addresses.map(e => e);
|
|
1185
|
-
} else {
|
|
1186
|
-
obj.addresses = [];
|
|
1187
|
-
}
|
|
1188
|
-
|
|
1189
|
-
return obj;
|
|
1190
|
-
},
|
|
1191
|
-
|
|
1192
|
-
fromPartial(object: Partial<ValAddresses>): ValAddresses {
|
|
977
|
+
fromPartial(object: DeepPartial<ValAddresses>): ValAddresses {
|
|
1193
978
|
const message = createBaseValAddresses();
|
|
1194
979
|
message.addresses = object.addresses?.map(e => e) || [];
|
|
1195
980
|
return message;
|
|
@@ -1243,21 +1028,7 @@ export const DVPair = {
|
|
|
1243
1028
|
return message;
|
|
1244
1029
|
},
|
|
1245
1030
|
|
|
1246
|
-
|
|
1247
|
-
return {
|
|
1248
|
-
delegatorAddress: isSet(object.delegatorAddress) ? String(object.delegatorAddress) : "",
|
|
1249
|
-
validatorAddress: isSet(object.validatorAddress) ? String(object.validatorAddress) : ""
|
|
1250
|
-
};
|
|
1251
|
-
},
|
|
1252
|
-
|
|
1253
|
-
toJSON(message: DVPair): unknown {
|
|
1254
|
-
const obj: any = {};
|
|
1255
|
-
message.delegatorAddress !== undefined && (obj.delegatorAddress = message.delegatorAddress);
|
|
1256
|
-
message.validatorAddress !== undefined && (obj.validatorAddress = message.validatorAddress);
|
|
1257
|
-
return obj;
|
|
1258
|
-
},
|
|
1259
|
-
|
|
1260
|
-
fromPartial(object: Partial<DVPair>): DVPair {
|
|
1031
|
+
fromPartial(object: DeepPartial<DVPair>): DVPair {
|
|
1261
1032
|
const message = createBaseDVPair();
|
|
1262
1033
|
message.delegatorAddress = object.delegatorAddress ?? "";
|
|
1263
1034
|
message.validatorAddress = object.validatorAddress ?? "";
|
|
@@ -1303,25 +1074,7 @@ export const DVPairs = {
|
|
|
1303
1074
|
return message;
|
|
1304
1075
|
},
|
|
1305
1076
|
|
|
1306
|
-
|
|
1307
|
-
return {
|
|
1308
|
-
pairs: Array.isArray(object?.pairs) ? object.pairs.map((e: any) => DVPair.fromJSON(e)) : []
|
|
1309
|
-
};
|
|
1310
|
-
},
|
|
1311
|
-
|
|
1312
|
-
toJSON(message: DVPairs): unknown {
|
|
1313
|
-
const obj: any = {};
|
|
1314
|
-
|
|
1315
|
-
if (message.pairs) {
|
|
1316
|
-
obj.pairs = message.pairs.map(e => e ? DVPair.toJSON(e) : undefined);
|
|
1317
|
-
} else {
|
|
1318
|
-
obj.pairs = [];
|
|
1319
|
-
}
|
|
1320
|
-
|
|
1321
|
-
return obj;
|
|
1322
|
-
},
|
|
1323
|
-
|
|
1324
|
-
fromPartial(object: Partial<DVPairs>): DVPairs {
|
|
1077
|
+
fromPartial(object: DeepPartial<DVPairs>): DVPairs {
|
|
1325
1078
|
const message = createBaseDVPairs();
|
|
1326
1079
|
message.pairs = object.pairs?.map(e => DVPair.fromPartial(e)) || [];
|
|
1327
1080
|
return message;
|
|
@@ -1384,23 +1137,7 @@ export const DVVTriplet = {
|
|
|
1384
1137
|
return message;
|
|
1385
1138
|
},
|
|
1386
1139
|
|
|
1387
|
-
|
|
1388
|
-
return {
|
|
1389
|
-
delegatorAddress: isSet(object.delegatorAddress) ? String(object.delegatorAddress) : "",
|
|
1390
|
-
validatorSrcAddress: isSet(object.validatorSrcAddress) ? String(object.validatorSrcAddress) : "",
|
|
1391
|
-
validatorDstAddress: isSet(object.validatorDstAddress) ? String(object.validatorDstAddress) : ""
|
|
1392
|
-
};
|
|
1393
|
-
},
|
|
1394
|
-
|
|
1395
|
-
toJSON(message: DVVTriplet): unknown {
|
|
1396
|
-
const obj: any = {};
|
|
1397
|
-
message.delegatorAddress !== undefined && (obj.delegatorAddress = message.delegatorAddress);
|
|
1398
|
-
message.validatorSrcAddress !== undefined && (obj.validatorSrcAddress = message.validatorSrcAddress);
|
|
1399
|
-
message.validatorDstAddress !== undefined && (obj.validatorDstAddress = message.validatorDstAddress);
|
|
1400
|
-
return obj;
|
|
1401
|
-
},
|
|
1402
|
-
|
|
1403
|
-
fromPartial(object: Partial<DVVTriplet>): DVVTriplet {
|
|
1140
|
+
fromPartial(object: DeepPartial<DVVTriplet>): DVVTriplet {
|
|
1404
1141
|
const message = createBaseDVVTriplet();
|
|
1405
1142
|
message.delegatorAddress = object.delegatorAddress ?? "";
|
|
1406
1143
|
message.validatorSrcAddress = object.validatorSrcAddress ?? "";
|
|
@@ -1447,25 +1184,7 @@ export const DVVTriplets = {
|
|
|
1447
1184
|
return message;
|
|
1448
1185
|
},
|
|
1449
1186
|
|
|
1450
|
-
|
|
1451
|
-
return {
|
|
1452
|
-
triplets: Array.isArray(object?.triplets) ? object.triplets.map((e: any) => DVVTriplet.fromJSON(e)) : []
|
|
1453
|
-
};
|
|
1454
|
-
},
|
|
1455
|
-
|
|
1456
|
-
toJSON(message: DVVTriplets): unknown {
|
|
1457
|
-
const obj: any = {};
|
|
1458
|
-
|
|
1459
|
-
if (message.triplets) {
|
|
1460
|
-
obj.triplets = message.triplets.map(e => e ? DVVTriplet.toJSON(e) : undefined);
|
|
1461
|
-
} else {
|
|
1462
|
-
obj.triplets = [];
|
|
1463
|
-
}
|
|
1464
|
-
|
|
1465
|
-
return obj;
|
|
1466
|
-
},
|
|
1467
|
-
|
|
1468
|
-
fromPartial(object: Partial<DVVTriplets>): DVVTriplets {
|
|
1187
|
+
fromPartial(object: DeepPartial<DVVTriplets>): DVVTriplets {
|
|
1469
1188
|
const message = createBaseDVVTriplets();
|
|
1470
1189
|
message.triplets = object.triplets?.map(e => DVVTriplet.fromPartial(e)) || [];
|
|
1471
1190
|
return message;
|
|
@@ -1528,23 +1247,7 @@ export const Delegation = {
|
|
|
1528
1247
|
return message;
|
|
1529
1248
|
},
|
|
1530
1249
|
|
|
1531
|
-
|
|
1532
|
-
return {
|
|
1533
|
-
delegatorAddress: isSet(object.delegatorAddress) ? String(object.delegatorAddress) : "",
|
|
1534
|
-
validatorAddress: isSet(object.validatorAddress) ? String(object.validatorAddress) : "",
|
|
1535
|
-
shares: isSet(object.shares) ? String(object.shares) : ""
|
|
1536
|
-
};
|
|
1537
|
-
},
|
|
1538
|
-
|
|
1539
|
-
toJSON(message: Delegation): unknown {
|
|
1540
|
-
const obj: any = {};
|
|
1541
|
-
message.delegatorAddress !== undefined && (obj.delegatorAddress = message.delegatorAddress);
|
|
1542
|
-
message.validatorAddress !== undefined && (obj.validatorAddress = message.validatorAddress);
|
|
1543
|
-
message.shares !== undefined && (obj.shares = message.shares);
|
|
1544
|
-
return obj;
|
|
1545
|
-
},
|
|
1546
|
-
|
|
1547
|
-
fromPartial(object: Partial<Delegation>): Delegation {
|
|
1250
|
+
fromPartial(object: DeepPartial<Delegation>): Delegation {
|
|
1548
1251
|
const message = createBaseDelegation();
|
|
1549
1252
|
message.delegatorAddress = object.delegatorAddress ?? "";
|
|
1550
1253
|
message.validatorAddress = object.validatorAddress ?? "";
|
|
@@ -1609,29 +1312,7 @@ export const UnbondingDelegation = {
|
|
|
1609
1312
|
return message;
|
|
1610
1313
|
},
|
|
1611
1314
|
|
|
1612
|
-
|
|
1613
|
-
return {
|
|
1614
|
-
delegatorAddress: isSet(object.delegatorAddress) ? String(object.delegatorAddress) : "",
|
|
1615
|
-
validatorAddress: isSet(object.validatorAddress) ? String(object.validatorAddress) : "",
|
|
1616
|
-
entries: Array.isArray(object?.entries) ? object.entries.map((e: any) => UnbondingDelegationEntry.fromJSON(e)) : []
|
|
1617
|
-
};
|
|
1618
|
-
},
|
|
1619
|
-
|
|
1620
|
-
toJSON(message: UnbondingDelegation): unknown {
|
|
1621
|
-
const obj: any = {};
|
|
1622
|
-
message.delegatorAddress !== undefined && (obj.delegatorAddress = message.delegatorAddress);
|
|
1623
|
-
message.validatorAddress !== undefined && (obj.validatorAddress = message.validatorAddress);
|
|
1624
|
-
|
|
1625
|
-
if (message.entries) {
|
|
1626
|
-
obj.entries = message.entries.map(e => e ? UnbondingDelegationEntry.toJSON(e) : undefined);
|
|
1627
|
-
} else {
|
|
1628
|
-
obj.entries = [];
|
|
1629
|
-
}
|
|
1630
|
-
|
|
1631
|
-
return obj;
|
|
1632
|
-
},
|
|
1633
|
-
|
|
1634
|
-
fromPartial(object: Partial<UnbondingDelegation>): UnbondingDelegation {
|
|
1315
|
+
fromPartial(object: DeepPartial<UnbondingDelegation>): UnbondingDelegation {
|
|
1635
1316
|
const message = createBaseUnbondingDelegation();
|
|
1636
1317
|
message.delegatorAddress = object.delegatorAddress ?? "";
|
|
1637
1318
|
message.validatorAddress = object.validatorAddress ?? "";
|
|
@@ -1657,7 +1338,7 @@ export const UnbondingDelegationEntry = {
|
|
|
1657
1338
|
}
|
|
1658
1339
|
|
|
1659
1340
|
if (message.completionTime !== undefined) {
|
|
1660
|
-
Timestamp.encode(message.completionTime, writer.uint32(18).fork()).ldelim();
|
|
1341
|
+
Timestamp.encode(toTimestamp(message.completionTime), writer.uint32(18).fork()).ldelim();
|
|
1661
1342
|
}
|
|
1662
1343
|
|
|
1663
1344
|
if (message.initialBalance !== "") {
|
|
@@ -1685,7 +1366,7 @@ export const UnbondingDelegationEntry = {
|
|
|
1685
1366
|
break;
|
|
1686
1367
|
|
|
1687
1368
|
case 2:
|
|
1688
|
-
message.completionTime = Timestamp.decode(reader, reader.uint32());
|
|
1369
|
+
message.completionTime = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
|
|
1689
1370
|
break;
|
|
1690
1371
|
|
|
1691
1372
|
case 3:
|
|
@@ -1705,28 +1386,10 @@ export const UnbondingDelegationEntry = {
|
|
|
1705
1386
|
return message;
|
|
1706
1387
|
},
|
|
1707
1388
|
|
|
1708
|
-
|
|
1709
|
-
return {
|
|
1710
|
-
creationHeight: isSet(object.creationHeight) ? Long.fromValue(object.creationHeight) : Long.ZERO,
|
|
1711
|
-
completionTime: isSet(object.completionTime) ? fromJsonTimestamp(object.completionTime) : undefined,
|
|
1712
|
-
initialBalance: isSet(object.initialBalance) ? String(object.initialBalance) : "",
|
|
1713
|
-
balance: isSet(object.balance) ? String(object.balance) : ""
|
|
1714
|
-
};
|
|
1715
|
-
},
|
|
1716
|
-
|
|
1717
|
-
toJSON(message: UnbondingDelegationEntry): unknown {
|
|
1718
|
-
const obj: any = {};
|
|
1719
|
-
message.creationHeight !== undefined && (obj.creationHeight = (message.creationHeight || Long.ZERO).toString());
|
|
1720
|
-
message.completionTime !== undefined && (obj.completionTime = fromTimestamp(message.completionTime).toISOString());
|
|
1721
|
-
message.initialBalance !== undefined && (obj.initialBalance = message.initialBalance);
|
|
1722
|
-
message.balance !== undefined && (obj.balance = message.balance);
|
|
1723
|
-
return obj;
|
|
1724
|
-
},
|
|
1725
|
-
|
|
1726
|
-
fromPartial(object: Partial<UnbondingDelegationEntry>): UnbondingDelegationEntry {
|
|
1389
|
+
fromPartial(object: DeepPartial<UnbondingDelegationEntry>): UnbondingDelegationEntry {
|
|
1727
1390
|
const message = createBaseUnbondingDelegationEntry();
|
|
1728
1391
|
message.creationHeight = object.creationHeight !== undefined && object.creationHeight !== null ? Long.fromValue(object.creationHeight) : Long.ZERO;
|
|
1729
|
-
message.completionTime = object.completionTime
|
|
1392
|
+
message.completionTime = object.completionTime ?? undefined;
|
|
1730
1393
|
message.initialBalance = object.initialBalance ?? "";
|
|
1731
1394
|
message.balance = object.balance ?? "";
|
|
1732
1395
|
return message;
|
|
@@ -1750,7 +1413,7 @@ export const RedelegationEntry = {
|
|
|
1750
1413
|
}
|
|
1751
1414
|
|
|
1752
1415
|
if (message.completionTime !== undefined) {
|
|
1753
|
-
Timestamp.encode(message.completionTime, writer.uint32(18).fork()).ldelim();
|
|
1416
|
+
Timestamp.encode(toTimestamp(message.completionTime), writer.uint32(18).fork()).ldelim();
|
|
1754
1417
|
}
|
|
1755
1418
|
|
|
1756
1419
|
if (message.initialBalance !== "") {
|
|
@@ -1778,7 +1441,7 @@ export const RedelegationEntry = {
|
|
|
1778
1441
|
break;
|
|
1779
1442
|
|
|
1780
1443
|
case 2:
|
|
1781
|
-
message.completionTime = Timestamp.decode(reader, reader.uint32());
|
|
1444
|
+
message.completionTime = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
|
|
1782
1445
|
break;
|
|
1783
1446
|
|
|
1784
1447
|
case 3:
|
|
@@ -1798,28 +1461,10 @@ export const RedelegationEntry = {
|
|
|
1798
1461
|
return message;
|
|
1799
1462
|
},
|
|
1800
1463
|
|
|
1801
|
-
|
|
1802
|
-
return {
|
|
1803
|
-
creationHeight: isSet(object.creationHeight) ? Long.fromValue(object.creationHeight) : Long.ZERO,
|
|
1804
|
-
completionTime: isSet(object.completionTime) ? fromJsonTimestamp(object.completionTime) : undefined,
|
|
1805
|
-
initialBalance: isSet(object.initialBalance) ? String(object.initialBalance) : "",
|
|
1806
|
-
sharesDst: isSet(object.sharesDst) ? String(object.sharesDst) : ""
|
|
1807
|
-
};
|
|
1808
|
-
},
|
|
1809
|
-
|
|
1810
|
-
toJSON(message: RedelegationEntry): unknown {
|
|
1811
|
-
const obj: any = {};
|
|
1812
|
-
message.creationHeight !== undefined && (obj.creationHeight = (message.creationHeight || Long.ZERO).toString());
|
|
1813
|
-
message.completionTime !== undefined && (obj.completionTime = fromTimestamp(message.completionTime).toISOString());
|
|
1814
|
-
message.initialBalance !== undefined && (obj.initialBalance = message.initialBalance);
|
|
1815
|
-
message.sharesDst !== undefined && (obj.sharesDst = message.sharesDst);
|
|
1816
|
-
return obj;
|
|
1817
|
-
},
|
|
1818
|
-
|
|
1819
|
-
fromPartial(object: Partial<RedelegationEntry>): RedelegationEntry {
|
|
1464
|
+
fromPartial(object: DeepPartial<RedelegationEntry>): RedelegationEntry {
|
|
1820
1465
|
const message = createBaseRedelegationEntry();
|
|
1821
1466
|
message.creationHeight = object.creationHeight !== undefined && object.creationHeight !== null ? Long.fromValue(object.creationHeight) : Long.ZERO;
|
|
1822
|
-
message.completionTime = object.completionTime
|
|
1467
|
+
message.completionTime = object.completionTime ?? undefined;
|
|
1823
1468
|
message.initialBalance = object.initialBalance ?? "";
|
|
1824
1469
|
message.sharesDst = object.sharesDst ?? "";
|
|
1825
1470
|
return message;
|
|
@@ -1891,31 +1536,7 @@ export const Redelegation = {
|
|
|
1891
1536
|
return message;
|
|
1892
1537
|
},
|
|
1893
1538
|
|
|
1894
|
-
|
|
1895
|
-
return {
|
|
1896
|
-
delegatorAddress: isSet(object.delegatorAddress) ? String(object.delegatorAddress) : "",
|
|
1897
|
-
validatorSrcAddress: isSet(object.validatorSrcAddress) ? String(object.validatorSrcAddress) : "",
|
|
1898
|
-
validatorDstAddress: isSet(object.validatorDstAddress) ? String(object.validatorDstAddress) : "",
|
|
1899
|
-
entries: Array.isArray(object?.entries) ? object.entries.map((e: any) => RedelegationEntry.fromJSON(e)) : []
|
|
1900
|
-
};
|
|
1901
|
-
},
|
|
1902
|
-
|
|
1903
|
-
toJSON(message: Redelegation): unknown {
|
|
1904
|
-
const obj: any = {};
|
|
1905
|
-
message.delegatorAddress !== undefined && (obj.delegatorAddress = message.delegatorAddress);
|
|
1906
|
-
message.validatorSrcAddress !== undefined && (obj.validatorSrcAddress = message.validatorSrcAddress);
|
|
1907
|
-
message.validatorDstAddress !== undefined && (obj.validatorDstAddress = message.validatorDstAddress);
|
|
1908
|
-
|
|
1909
|
-
if (message.entries) {
|
|
1910
|
-
obj.entries = message.entries.map(e => e ? RedelegationEntry.toJSON(e) : undefined);
|
|
1911
|
-
} else {
|
|
1912
|
-
obj.entries = [];
|
|
1913
|
-
}
|
|
1914
|
-
|
|
1915
|
-
return obj;
|
|
1916
|
-
},
|
|
1917
|
-
|
|
1918
|
-
fromPartial(object: Partial<Redelegation>): Redelegation {
|
|
1539
|
+
fromPartial(object: DeepPartial<Redelegation>): Redelegation {
|
|
1919
1540
|
const message = createBaseRedelegation();
|
|
1920
1541
|
message.delegatorAddress = object.delegatorAddress ?? "";
|
|
1921
1542
|
message.validatorSrcAddress = object.validatorSrcAddress ?? "";
|
|
@@ -2008,29 +1629,7 @@ export const Params = {
|
|
|
2008
1629
|
return message;
|
|
2009
1630
|
},
|
|
2010
1631
|
|
|
2011
|
-
|
|
2012
|
-
return {
|
|
2013
|
-
unbondingTime: isSet(object.unbondingTime) ? Duration.fromJSON(object.unbondingTime) : undefined,
|
|
2014
|
-
maxValidators: isSet(object.maxValidators) ? Number(object.maxValidators) : 0,
|
|
2015
|
-
maxEntries: isSet(object.maxEntries) ? Number(object.maxEntries) : 0,
|
|
2016
|
-
historicalEntries: isSet(object.historicalEntries) ? Number(object.historicalEntries) : 0,
|
|
2017
|
-
bondDenom: isSet(object.bondDenom) ? String(object.bondDenom) : "",
|
|
2018
|
-
minCommissionRate: isSet(object.minCommissionRate) ? String(object.minCommissionRate) : ""
|
|
2019
|
-
};
|
|
2020
|
-
},
|
|
2021
|
-
|
|
2022
|
-
toJSON(message: Params): unknown {
|
|
2023
|
-
const obj: any = {};
|
|
2024
|
-
message.unbondingTime !== undefined && (obj.unbondingTime = message.unbondingTime ? Duration.toJSON(message.unbondingTime) : undefined);
|
|
2025
|
-
message.maxValidators !== undefined && (obj.maxValidators = Math.round(message.maxValidators));
|
|
2026
|
-
message.maxEntries !== undefined && (obj.maxEntries = Math.round(message.maxEntries));
|
|
2027
|
-
message.historicalEntries !== undefined && (obj.historicalEntries = Math.round(message.historicalEntries));
|
|
2028
|
-
message.bondDenom !== undefined && (obj.bondDenom = message.bondDenom);
|
|
2029
|
-
message.minCommissionRate !== undefined && (obj.minCommissionRate = message.minCommissionRate);
|
|
2030
|
-
return obj;
|
|
2031
|
-
},
|
|
2032
|
-
|
|
2033
|
-
fromPartial(object: Partial<Params>): Params {
|
|
1632
|
+
fromPartial(object: DeepPartial<Params>): Params {
|
|
2034
1633
|
const message = createBaseParams();
|
|
2035
1634
|
message.unbondingTime = object.unbondingTime !== undefined && object.unbondingTime !== null ? Duration.fromPartial(object.unbondingTime) : undefined;
|
|
2036
1635
|
message.maxValidators = object.maxValidators ?? 0;
|
|
@@ -2089,21 +1688,7 @@ export const DelegationResponse = {
|
|
|
2089
1688
|
return message;
|
|
2090
1689
|
},
|
|
2091
1690
|
|
|
2092
|
-
|
|
2093
|
-
return {
|
|
2094
|
-
delegation: isSet(object.delegation) ? Delegation.fromJSON(object.delegation) : undefined,
|
|
2095
|
-
balance: isSet(object.balance) ? Coin.fromJSON(object.balance) : undefined
|
|
2096
|
-
};
|
|
2097
|
-
},
|
|
2098
|
-
|
|
2099
|
-
toJSON(message: DelegationResponse): unknown {
|
|
2100
|
-
const obj: any = {};
|
|
2101
|
-
message.delegation !== undefined && (obj.delegation = message.delegation ? Delegation.toJSON(message.delegation) : undefined);
|
|
2102
|
-
message.balance !== undefined && (obj.balance = message.balance ? Coin.toJSON(message.balance) : undefined);
|
|
2103
|
-
return obj;
|
|
2104
|
-
},
|
|
2105
|
-
|
|
2106
|
-
fromPartial(object: Partial<DelegationResponse>): DelegationResponse {
|
|
1691
|
+
fromPartial(object: DeepPartial<DelegationResponse>): DelegationResponse {
|
|
2107
1692
|
const message = createBaseDelegationResponse();
|
|
2108
1693
|
message.delegation = object.delegation !== undefined && object.delegation !== null ? Delegation.fromPartial(object.delegation) : undefined;
|
|
2109
1694
|
message.balance = object.balance !== undefined && object.balance !== null ? Coin.fromPartial(object.balance) : undefined;
|
|
@@ -2158,21 +1743,7 @@ export const RedelegationEntryResponse = {
|
|
|
2158
1743
|
return message;
|
|
2159
1744
|
},
|
|
2160
1745
|
|
|
2161
|
-
|
|
2162
|
-
return {
|
|
2163
|
-
redelegationEntry: isSet(object.redelegationEntry) ? RedelegationEntry.fromJSON(object.redelegationEntry) : undefined,
|
|
2164
|
-
balance: isSet(object.balance) ? String(object.balance) : ""
|
|
2165
|
-
};
|
|
2166
|
-
},
|
|
2167
|
-
|
|
2168
|
-
toJSON(message: RedelegationEntryResponse): unknown {
|
|
2169
|
-
const obj: any = {};
|
|
2170
|
-
message.redelegationEntry !== undefined && (obj.redelegationEntry = message.redelegationEntry ? RedelegationEntry.toJSON(message.redelegationEntry) : undefined);
|
|
2171
|
-
message.balance !== undefined && (obj.balance = message.balance);
|
|
2172
|
-
return obj;
|
|
2173
|
-
},
|
|
2174
|
-
|
|
2175
|
-
fromPartial(object: Partial<RedelegationEntryResponse>): RedelegationEntryResponse {
|
|
1746
|
+
fromPartial(object: DeepPartial<RedelegationEntryResponse>): RedelegationEntryResponse {
|
|
2176
1747
|
const message = createBaseRedelegationEntryResponse();
|
|
2177
1748
|
message.redelegationEntry = object.redelegationEntry !== undefined && object.redelegationEntry !== null ? RedelegationEntry.fromPartial(object.redelegationEntry) : undefined;
|
|
2178
1749
|
message.balance = object.balance ?? "";
|
|
@@ -2227,27 +1798,7 @@ export const RedelegationResponse = {
|
|
|
2227
1798
|
return message;
|
|
2228
1799
|
},
|
|
2229
1800
|
|
|
2230
|
-
|
|
2231
|
-
return {
|
|
2232
|
-
redelegation: isSet(object.redelegation) ? Redelegation.fromJSON(object.redelegation) : undefined,
|
|
2233
|
-
entries: Array.isArray(object?.entries) ? object.entries.map((e: any) => RedelegationEntryResponse.fromJSON(e)) : []
|
|
2234
|
-
};
|
|
2235
|
-
},
|
|
2236
|
-
|
|
2237
|
-
toJSON(message: RedelegationResponse): unknown {
|
|
2238
|
-
const obj: any = {};
|
|
2239
|
-
message.redelegation !== undefined && (obj.redelegation = message.redelegation ? Redelegation.toJSON(message.redelegation) : undefined);
|
|
2240
|
-
|
|
2241
|
-
if (message.entries) {
|
|
2242
|
-
obj.entries = message.entries.map(e => e ? RedelegationEntryResponse.toJSON(e) : undefined);
|
|
2243
|
-
} else {
|
|
2244
|
-
obj.entries = [];
|
|
2245
|
-
}
|
|
2246
|
-
|
|
2247
|
-
return obj;
|
|
2248
|
-
},
|
|
2249
|
-
|
|
2250
|
-
fromPartial(object: Partial<RedelegationResponse>): RedelegationResponse {
|
|
1801
|
+
fromPartial(object: DeepPartial<RedelegationResponse>): RedelegationResponse {
|
|
2251
1802
|
const message = createBaseRedelegationResponse();
|
|
2252
1803
|
message.redelegation = object.redelegation !== undefined && object.redelegation !== null ? Redelegation.fromPartial(object.redelegation) : undefined;
|
|
2253
1804
|
message.entries = object.entries?.map(e => RedelegationEntryResponse.fromPartial(e)) || [];
|
|
@@ -2302,21 +1853,7 @@ export const Pool = {
|
|
|
2302
1853
|
return message;
|
|
2303
1854
|
},
|
|
2304
1855
|
|
|
2305
|
-
|
|
2306
|
-
return {
|
|
2307
|
-
notBondedTokens: isSet(object.notBondedTokens) ? String(object.notBondedTokens) : "",
|
|
2308
|
-
bondedTokens: isSet(object.bondedTokens) ? String(object.bondedTokens) : ""
|
|
2309
|
-
};
|
|
2310
|
-
},
|
|
2311
|
-
|
|
2312
|
-
toJSON(message: Pool): unknown {
|
|
2313
|
-
const obj: any = {};
|
|
2314
|
-
message.notBondedTokens !== undefined && (obj.notBondedTokens = message.notBondedTokens);
|
|
2315
|
-
message.bondedTokens !== undefined && (obj.bondedTokens = message.bondedTokens);
|
|
2316
|
-
return obj;
|
|
2317
|
-
},
|
|
2318
|
-
|
|
2319
|
-
fromPartial(object: Partial<Pool>): Pool {
|
|
1856
|
+
fromPartial(object: DeepPartial<Pool>): Pool {
|
|
2320
1857
|
const message = createBasePool();
|
|
2321
1858
|
message.notBondedTokens = object.notBondedTokens ?? "";
|
|
2322
1859
|
message.bondedTokens = object.bondedTokens ?? "";
|