@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,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
|
/** GenesisState defines the crisis module's genesis state. */
|
|
5
5
|
|
|
6
6
|
export interface GenesisState {
|
|
@@ -13,10 +13,6 @@ export interface GenesisState {
|
|
|
13
13
|
/** GenesisState defines the crisis module's genesis state. */
|
|
14
14
|
|
|
15
15
|
export interface GenesisStateSDKType {
|
|
16
|
-
/**
|
|
17
|
-
* constant_fee is the fee used to verify the invariant in the crisis
|
|
18
|
-
* module.
|
|
19
|
-
*/
|
|
20
16
|
constant_fee?: CoinSDKType;
|
|
21
17
|
}
|
|
22
18
|
|
|
@@ -57,19 +53,7 @@ export const GenesisState = {
|
|
|
57
53
|
return message;
|
|
58
54
|
},
|
|
59
55
|
|
|
60
|
-
|
|
61
|
-
return {
|
|
62
|
-
constantFee: isSet(object.constantFee) ? Coin.fromJSON(object.constantFee) : undefined
|
|
63
|
-
};
|
|
64
|
-
},
|
|
65
|
-
|
|
66
|
-
toJSON(message: GenesisState): unknown {
|
|
67
|
-
const obj: any = {};
|
|
68
|
-
message.constantFee !== undefined && (obj.constantFee = message.constantFee ? Coin.toJSON(message.constantFee) : undefined);
|
|
69
|
-
return obj;
|
|
70
|
-
},
|
|
71
|
-
|
|
72
|
-
fromPartial(object: Partial<GenesisState>): GenesisState {
|
|
56
|
+
fromPartial(object: DeepPartial<GenesisState>): GenesisState {
|
|
73
57
|
const message = createBaseGenesisState();
|
|
74
58
|
message.constantFee = object.constantFee !== undefined && object.constantFee !== null ? Coin.fromPartial(object.constantFee) : undefined;
|
|
75
59
|
return message;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { AminoMsg } from "@cosmjs/amino";
|
|
2
|
+
import { MsgVerifyInvariant } from "./tx";
|
|
3
|
+
export interface MsgVerifyInvariantAminoType extends AminoMsg {
|
|
4
|
+
type: "cosmos-sdk/MsgVerifyInvariant";
|
|
5
|
+
value: {
|
|
6
|
+
sender: string;
|
|
7
|
+
invariant_module_name: string;
|
|
8
|
+
invariant_route: string;
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
export const AminoConverter = {
|
|
12
|
+
"/cosmos.crisis.v1beta1.MsgVerifyInvariant": {
|
|
13
|
+
aminoType: "cosmos-sdk/MsgVerifyInvariant",
|
|
14
|
+
toAmino: ({
|
|
15
|
+
sender,
|
|
16
|
+
invariantModuleName,
|
|
17
|
+
invariantRoute
|
|
18
|
+
}: MsgVerifyInvariant): MsgVerifyInvariantAminoType["value"] => {
|
|
19
|
+
return {
|
|
20
|
+
sender,
|
|
21
|
+
invariant_module_name: invariantModuleName,
|
|
22
|
+
invariant_route: invariantRoute
|
|
23
|
+
};
|
|
24
|
+
},
|
|
25
|
+
fromAmino: ({
|
|
26
|
+
sender,
|
|
27
|
+
invariant_module_name,
|
|
28
|
+
invariant_route
|
|
29
|
+
}: MsgVerifyInvariantAminoType["value"]): MsgVerifyInvariant => {
|
|
30
|
+
return {
|
|
31
|
+
sender,
|
|
32
|
+
invariantModuleName: invariant_module_name,
|
|
33
|
+
invariantRoute: invariant_route
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { GeneratedType, Registry } from "@cosmjs/proto-signing";
|
|
2
|
+
import { MsgVerifyInvariant } from "./tx";
|
|
3
|
+
export const registry: ReadonlyArray<[string, GeneratedType]> = [["/cosmos.crisis.v1beta1.MsgVerifyInvariant", MsgVerifyInvariant]];
|
|
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
|
+
verifyInvariant(value: MsgVerifyInvariant) {
|
|
12
|
+
return {
|
|
13
|
+
typeUrl: "/cosmos.crisis.v1beta1.MsgVerifyInvariant",
|
|
14
|
+
value: MsgVerifyInvariant.encode(value).finish()
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
},
|
|
19
|
+
withTypeUrl: {
|
|
20
|
+
verifyInvariant(value: MsgVerifyInvariant) {
|
|
21
|
+
return {
|
|
22
|
+
typeUrl: "/cosmos.crisis.v1beta1.MsgVerifyInvariant",
|
|
23
|
+
value
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
},
|
|
28
|
+
fromPartial: {
|
|
29
|
+
verifyInvariant(value: MsgVerifyInvariant) {
|
|
30
|
+
return {
|
|
31
|
+
typeUrl: "/cosmos.crisis.v1beta1.MsgVerifyInvariant",
|
|
32
|
+
value: MsgVerifyInvariant.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
|
/** MsgVerifyInvariant represents a message to verify a particular invariance. */
|
|
4
4
|
|
|
5
5
|
export interface MsgVerifyInvariant {
|
|
@@ -76,23 +76,7 @@ export const MsgVerifyInvariant = {
|
|
|
76
76
|
return message;
|
|
77
77
|
},
|
|
78
78
|
|
|
79
|
-
|
|
80
|
-
return {
|
|
81
|
-
sender: isSet(object.sender) ? String(object.sender) : "",
|
|
82
|
-
invariantModuleName: isSet(object.invariantModuleName) ? String(object.invariantModuleName) : "",
|
|
83
|
-
invariantRoute: isSet(object.invariantRoute) ? String(object.invariantRoute) : ""
|
|
84
|
-
};
|
|
85
|
-
},
|
|
86
|
-
|
|
87
|
-
toJSON(message: MsgVerifyInvariant): unknown {
|
|
88
|
-
const obj: any = {};
|
|
89
|
-
message.sender !== undefined && (obj.sender = message.sender);
|
|
90
|
-
message.invariantModuleName !== undefined && (obj.invariantModuleName = message.invariantModuleName);
|
|
91
|
-
message.invariantRoute !== undefined && (obj.invariantRoute = message.invariantRoute);
|
|
92
|
-
return obj;
|
|
93
|
-
},
|
|
94
|
-
|
|
95
|
-
fromPartial(object: Partial<MsgVerifyInvariant>): MsgVerifyInvariant {
|
|
79
|
+
fromPartial(object: DeepPartial<MsgVerifyInvariant>): MsgVerifyInvariant {
|
|
96
80
|
const message = createBaseMsgVerifyInvariant();
|
|
97
81
|
message.sender = object.sender ?? "";
|
|
98
82
|
message.invariantModuleName = object.invariantModuleName ?? "";
|
|
@@ -129,16 +113,7 @@ export const MsgVerifyInvariantResponse = {
|
|
|
129
113
|
return message;
|
|
130
114
|
},
|
|
131
115
|
|
|
132
|
-
|
|
133
|
-
return {};
|
|
134
|
-
},
|
|
135
|
-
|
|
136
|
-
toJSON(_: MsgVerifyInvariantResponse): unknown {
|
|
137
|
-
const obj: any = {};
|
|
138
|
-
return obj;
|
|
139
|
-
},
|
|
140
|
-
|
|
141
|
-
fromPartial(_: Partial<MsgVerifyInvariantResponse>): MsgVerifyInvariantResponse {
|
|
116
|
+
fromPartial(_: DeepPartial<MsgVerifyInvariantResponse>): MsgVerifyInvariantResponse {
|
|
142
117
|
const message = createBaseMsgVerifyInvariantResponse();
|
|
143
118
|
return message;
|
|
144
119
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _m0 from "protobufjs/minimal";
|
|
2
|
-
import {
|
|
2
|
+
import { DeepPartial } from "../../../helpers";
|
|
3
3
|
/**
|
|
4
4
|
* PubKey is an ed25519 public key for handling Tendermint keys in SDK.
|
|
5
5
|
* It's needed for Any serialization and SDK compatibility.
|
|
@@ -76,19 +76,7 @@ export const PubKey = {
|
|
|
76
76
|
return message;
|
|
77
77
|
},
|
|
78
78
|
|
|
79
|
-
|
|
80
|
-
return {
|
|
81
|
-
key: isSet(object.key) ? bytesFromBase64(object.key) : new Uint8Array()
|
|
82
|
-
};
|
|
83
|
-
},
|
|
84
|
-
|
|
85
|
-
toJSON(message: PubKey): unknown {
|
|
86
|
-
const obj: any = {};
|
|
87
|
-
message.key !== undefined && (obj.key = base64FromBytes(message.key !== undefined ? message.key : new Uint8Array()));
|
|
88
|
-
return obj;
|
|
89
|
-
},
|
|
90
|
-
|
|
91
|
-
fromPartial(object: Partial<PubKey>): PubKey {
|
|
79
|
+
fromPartial(object: DeepPartial<PubKey>): PubKey {
|
|
92
80
|
const message = createBasePubKey();
|
|
93
81
|
message.key = object.key ?? new Uint8Array();
|
|
94
82
|
return message;
|
|
@@ -133,19 +121,7 @@ export const PrivKey = {
|
|
|
133
121
|
return message;
|
|
134
122
|
},
|
|
135
123
|
|
|
136
|
-
|
|
137
|
-
return {
|
|
138
|
-
key: isSet(object.key) ? bytesFromBase64(object.key) : new Uint8Array()
|
|
139
|
-
};
|
|
140
|
-
},
|
|
141
|
-
|
|
142
|
-
toJSON(message: PrivKey): unknown {
|
|
143
|
-
const obj: any = {};
|
|
144
|
-
message.key !== undefined && (obj.key = base64FromBytes(message.key !== undefined ? message.key : new Uint8Array()));
|
|
145
|
-
return obj;
|
|
146
|
-
},
|
|
147
|
-
|
|
148
|
-
fromPartial(object: Partial<PrivKey>): PrivKey {
|
|
124
|
+
fromPartial(object: DeepPartial<PrivKey>): PrivKey {
|
|
149
125
|
const message = createBasePrivKey();
|
|
150
126
|
message.key = object.key ?? new Uint8Array();
|
|
151
127
|
return message;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _m0 from "protobufjs/minimal";
|
|
2
|
-
import {
|
|
2
|
+
import { DeepPartial } from "../../../../helpers";
|
|
3
3
|
/** BIP44Params is used as path field in ledger item in Record. */
|
|
4
4
|
|
|
5
5
|
export interface BIP44Params {
|
|
@@ -24,22 +24,10 @@ export interface BIP44Params {
|
|
|
24
24
|
/** BIP44Params is used as path field in ledger item in Record. */
|
|
25
25
|
|
|
26
26
|
export interface BIP44ParamsSDKType {
|
|
27
|
-
/** purpose is a constant set to 44' (or 0x8000002C) following the BIP43 recommendation */
|
|
28
27
|
purpose: number;
|
|
29
|
-
/** coin_type is a constant that improves privacy */
|
|
30
|
-
|
|
31
28
|
coin_type: number;
|
|
32
|
-
/** account splits the key space into independent user identities */
|
|
33
|
-
|
|
34
29
|
account: number;
|
|
35
|
-
/**
|
|
36
|
-
* change is a constant used for public derivation. Constant 0 is used for external chain and constant 1 for internal
|
|
37
|
-
* chain.
|
|
38
|
-
*/
|
|
39
|
-
|
|
40
30
|
change: boolean;
|
|
41
|
-
/** address_index is used as child index in BIP32 derivation */
|
|
42
|
-
|
|
43
31
|
address_index: number;
|
|
44
32
|
}
|
|
45
33
|
|
|
@@ -116,27 +104,7 @@ export const BIP44Params = {
|
|
|
116
104
|
return message;
|
|
117
105
|
},
|
|
118
106
|
|
|
119
|
-
|
|
120
|
-
return {
|
|
121
|
-
purpose: isSet(object.purpose) ? Number(object.purpose) : 0,
|
|
122
|
-
coinType: isSet(object.coinType) ? Number(object.coinType) : 0,
|
|
123
|
-
account: isSet(object.account) ? Number(object.account) : 0,
|
|
124
|
-
change: isSet(object.change) ? Boolean(object.change) : false,
|
|
125
|
-
addressIndex: isSet(object.addressIndex) ? Number(object.addressIndex) : 0
|
|
126
|
-
};
|
|
127
|
-
},
|
|
128
|
-
|
|
129
|
-
toJSON(message: BIP44Params): unknown {
|
|
130
|
-
const obj: any = {};
|
|
131
|
-
message.purpose !== undefined && (obj.purpose = Math.round(message.purpose));
|
|
132
|
-
message.coinType !== undefined && (obj.coinType = Math.round(message.coinType));
|
|
133
|
-
message.account !== undefined && (obj.account = Math.round(message.account));
|
|
134
|
-
message.change !== undefined && (obj.change = message.change);
|
|
135
|
-
message.addressIndex !== undefined && (obj.addressIndex = Math.round(message.addressIndex));
|
|
136
|
-
return obj;
|
|
137
|
-
},
|
|
138
|
-
|
|
139
|
-
fromPartial(object: Partial<BIP44Params>): BIP44Params {
|
|
107
|
+
fromPartial(object: DeepPartial<BIP44Params>): BIP44Params {
|
|
140
108
|
const message = createBaseBIP44Params();
|
|
141
109
|
message.purpose = object.purpose ?? 0;
|
|
142
110
|
message.coinType = object.coinType ?? 0;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Any, AnySDKType } from "../../../../google/protobuf/any";
|
|
2
2
|
import { BIP44Params, BIP44ParamsSDKType } from "../../hd/v1/hd";
|
|
3
3
|
import * as _m0 from "protobufjs/minimal";
|
|
4
|
-
import {
|
|
4
|
+
import { DeepPartial } from "../../../../helpers";
|
|
5
5
|
/** Record is used for representing a key in the keyring. */
|
|
6
6
|
|
|
7
7
|
export interface Record {
|
|
@@ -26,22 +26,11 @@ export interface Record {
|
|
|
26
26
|
/** Record is used for representing a key in the keyring. */
|
|
27
27
|
|
|
28
28
|
export interface RecordSDKType {
|
|
29
|
-
/** name represents a name of Record */
|
|
30
29
|
name: string;
|
|
31
|
-
/** pub_key represents a public key in any format */
|
|
32
|
-
|
|
33
30
|
pub_key?: AnySDKType;
|
|
34
|
-
/** local stores the public information about a locally stored key */
|
|
35
|
-
|
|
36
31
|
local?: Record_LocalSDKType;
|
|
37
|
-
/** ledger stores the public information about a Ledger key */
|
|
38
|
-
|
|
39
32
|
ledger?: Record_LedgerSDKType;
|
|
40
|
-
/** Multi does not store any information. */
|
|
41
|
-
|
|
42
33
|
multi?: Record_MultiSDKType;
|
|
43
|
-
/** Offline does not store any information. */
|
|
44
|
-
|
|
45
34
|
offline?: Record_OfflineSDKType;
|
|
46
35
|
}
|
|
47
36
|
/**
|
|
@@ -167,29 +156,7 @@ export const Record = {
|
|
|
167
156
|
return message;
|
|
168
157
|
},
|
|
169
158
|
|
|
170
|
-
|
|
171
|
-
return {
|
|
172
|
-
name: isSet(object.name) ? String(object.name) : "",
|
|
173
|
-
pubKey: isSet(object.pubKey) ? Any.fromJSON(object.pubKey) : undefined,
|
|
174
|
-
local: isSet(object.local) ? Record_Local.fromJSON(object.local) : undefined,
|
|
175
|
-
ledger: isSet(object.ledger) ? Record_Ledger.fromJSON(object.ledger) : undefined,
|
|
176
|
-
multi: isSet(object.multi) ? Record_Multi.fromJSON(object.multi) : undefined,
|
|
177
|
-
offline: isSet(object.offline) ? Record_Offline.fromJSON(object.offline) : undefined
|
|
178
|
-
};
|
|
179
|
-
},
|
|
180
|
-
|
|
181
|
-
toJSON(message: Record): unknown {
|
|
182
|
-
const obj: any = {};
|
|
183
|
-
message.name !== undefined && (obj.name = message.name);
|
|
184
|
-
message.pubKey !== undefined && (obj.pubKey = message.pubKey ? Any.toJSON(message.pubKey) : undefined);
|
|
185
|
-
message.local !== undefined && (obj.local = message.local ? Record_Local.toJSON(message.local) : undefined);
|
|
186
|
-
message.ledger !== undefined && (obj.ledger = message.ledger ? Record_Ledger.toJSON(message.ledger) : undefined);
|
|
187
|
-
message.multi !== undefined && (obj.multi = message.multi ? Record_Multi.toJSON(message.multi) : undefined);
|
|
188
|
-
message.offline !== undefined && (obj.offline = message.offline ? Record_Offline.toJSON(message.offline) : undefined);
|
|
189
|
-
return obj;
|
|
190
|
-
},
|
|
191
|
-
|
|
192
|
-
fromPartial(object: Partial<Record>): Record {
|
|
159
|
+
fromPartial(object: DeepPartial<Record>): Record {
|
|
193
160
|
const message = createBaseRecord();
|
|
194
161
|
message.name = object.name ?? "";
|
|
195
162
|
message.pubKey = object.pubKey !== undefined && object.pubKey !== null ? Any.fromPartial(object.pubKey) : undefined;
|
|
@@ -248,21 +215,7 @@ export const Record_Local = {
|
|
|
248
215
|
return message;
|
|
249
216
|
},
|
|
250
217
|
|
|
251
|
-
|
|
252
|
-
return {
|
|
253
|
-
privKey: isSet(object.privKey) ? Any.fromJSON(object.privKey) : undefined,
|
|
254
|
-
privKeyType: isSet(object.privKeyType) ? String(object.privKeyType) : ""
|
|
255
|
-
};
|
|
256
|
-
},
|
|
257
|
-
|
|
258
|
-
toJSON(message: Record_Local): unknown {
|
|
259
|
-
const obj: any = {};
|
|
260
|
-
message.privKey !== undefined && (obj.privKey = message.privKey ? Any.toJSON(message.privKey) : undefined);
|
|
261
|
-
message.privKeyType !== undefined && (obj.privKeyType = message.privKeyType);
|
|
262
|
-
return obj;
|
|
263
|
-
},
|
|
264
|
-
|
|
265
|
-
fromPartial(object: Partial<Record_Local>): Record_Local {
|
|
218
|
+
fromPartial(object: DeepPartial<Record_Local>): Record_Local {
|
|
266
219
|
const message = createBaseRecord_Local();
|
|
267
220
|
message.privKey = object.privKey !== undefined && object.privKey !== null ? Any.fromPartial(object.privKey) : undefined;
|
|
268
221
|
message.privKeyType = object.privKeyType ?? "";
|
|
@@ -308,19 +261,7 @@ export const Record_Ledger = {
|
|
|
308
261
|
return message;
|
|
309
262
|
},
|
|
310
263
|
|
|
311
|
-
|
|
312
|
-
return {
|
|
313
|
-
path: isSet(object.path) ? BIP44Params.fromJSON(object.path) : undefined
|
|
314
|
-
};
|
|
315
|
-
},
|
|
316
|
-
|
|
317
|
-
toJSON(message: Record_Ledger): unknown {
|
|
318
|
-
const obj: any = {};
|
|
319
|
-
message.path !== undefined && (obj.path = message.path ? BIP44Params.toJSON(message.path) : undefined);
|
|
320
|
-
return obj;
|
|
321
|
-
},
|
|
322
|
-
|
|
323
|
-
fromPartial(object: Partial<Record_Ledger>): Record_Ledger {
|
|
264
|
+
fromPartial(object: DeepPartial<Record_Ledger>): Record_Ledger {
|
|
324
265
|
const message = createBaseRecord_Ledger();
|
|
325
266
|
message.path = object.path !== undefined && object.path !== null ? BIP44Params.fromPartial(object.path) : undefined;
|
|
326
267
|
return message;
|
|
@@ -355,16 +296,7 @@ export const Record_Multi = {
|
|
|
355
296
|
return message;
|
|
356
297
|
},
|
|
357
298
|
|
|
358
|
-
|
|
359
|
-
return {};
|
|
360
|
-
},
|
|
361
|
-
|
|
362
|
-
toJSON(_: Record_Multi): unknown {
|
|
363
|
-
const obj: any = {};
|
|
364
|
-
return obj;
|
|
365
|
-
},
|
|
366
|
-
|
|
367
|
-
fromPartial(_: Partial<Record_Multi>): Record_Multi {
|
|
299
|
+
fromPartial(_: DeepPartial<Record_Multi>): Record_Multi {
|
|
368
300
|
const message = createBaseRecord_Multi();
|
|
369
301
|
return message;
|
|
370
302
|
}
|
|
@@ -398,16 +330,7 @@ export const Record_Offline = {
|
|
|
398
330
|
return message;
|
|
399
331
|
},
|
|
400
332
|
|
|
401
|
-
|
|
402
|
-
return {};
|
|
403
|
-
},
|
|
404
|
-
|
|
405
|
-
toJSON(_: Record_Offline): unknown {
|
|
406
|
-
const obj: any = {};
|
|
407
|
-
return obj;
|
|
408
|
-
},
|
|
409
|
-
|
|
410
|
-
fromPartial(_: Partial<Record_Offline>): Record_Offline {
|
|
333
|
+
fromPartial(_: DeepPartial<Record_Offline>): Record_Offline {
|
|
411
334
|
const message = createBaseRecord_Offline();
|
|
412
335
|
return message;
|
|
413
336
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Any, AnySDKType } from "../../../google/protobuf/any";
|
|
2
2
|
import * as _m0 from "protobufjs/minimal";
|
|
3
|
-
import {
|
|
3
|
+
import { DeepPartial } from "../../../helpers";
|
|
4
4
|
/**
|
|
5
5
|
* LegacyAminoPubKey specifies a public key type
|
|
6
6
|
* which nests multiple public keys and a threshold,
|
|
@@ -68,27 +68,7 @@ export const LegacyAminoPubKey = {
|
|
|
68
68
|
return message;
|
|
69
69
|
},
|
|
70
70
|
|
|
71
|
-
|
|
72
|
-
return {
|
|
73
|
-
threshold: isSet(object.threshold) ? Number(object.threshold) : 0,
|
|
74
|
-
publicKeys: Array.isArray(object?.publicKeys) ? object.publicKeys.map((e: any) => Any.fromJSON(e)) : []
|
|
75
|
-
};
|
|
76
|
-
},
|
|
77
|
-
|
|
78
|
-
toJSON(message: LegacyAminoPubKey): unknown {
|
|
79
|
-
const obj: any = {};
|
|
80
|
-
message.threshold !== undefined && (obj.threshold = Math.round(message.threshold));
|
|
81
|
-
|
|
82
|
-
if (message.publicKeys) {
|
|
83
|
-
obj.publicKeys = message.publicKeys.map(e => e ? Any.toJSON(e) : undefined);
|
|
84
|
-
} else {
|
|
85
|
-
obj.publicKeys = [];
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
return obj;
|
|
89
|
-
},
|
|
90
|
-
|
|
91
|
-
fromPartial(object: Partial<LegacyAminoPubKey>): LegacyAminoPubKey {
|
|
71
|
+
fromPartial(object: DeepPartial<LegacyAminoPubKey>): LegacyAminoPubKey {
|
|
92
72
|
const message = createBaseLegacyAminoPubKey();
|
|
93
73
|
message.threshold = object.threshold ?? 0;
|
|
94
74
|
message.publicKeys = object.publicKeys?.map(e => Any.fromPartial(e)) || [];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _m0 from "protobufjs/minimal";
|
|
2
|
-
import {
|
|
2
|
+
import { DeepPartial } from "../../../../helpers";
|
|
3
3
|
/**
|
|
4
4
|
* MultiSignature wraps the signatures from a multisig.LegacyAminoPubKey.
|
|
5
5
|
* See cosmos.tx.v1betata1.ModeInfo.Multi for how to specify which signers
|
|
@@ -78,25 +78,7 @@ export const MultiSignature = {
|
|
|
78
78
|
return message;
|
|
79
79
|
},
|
|
80
80
|
|
|
81
|
-
|
|
82
|
-
return {
|
|
83
|
-
signatures: Array.isArray(object?.signatures) ? object.signatures.map((e: any) => bytesFromBase64(e)) : []
|
|
84
|
-
};
|
|
85
|
-
},
|
|
86
|
-
|
|
87
|
-
toJSON(message: MultiSignature): unknown {
|
|
88
|
-
const obj: any = {};
|
|
89
|
-
|
|
90
|
-
if (message.signatures) {
|
|
91
|
-
obj.signatures = message.signatures.map(e => base64FromBytes(e !== undefined ? e : new Uint8Array()));
|
|
92
|
-
} else {
|
|
93
|
-
obj.signatures = [];
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
return obj;
|
|
97
|
-
},
|
|
98
|
-
|
|
99
|
-
fromPartial(object: Partial<MultiSignature>): MultiSignature {
|
|
81
|
+
fromPartial(object: DeepPartial<MultiSignature>): MultiSignature {
|
|
100
82
|
const message = createBaseMultiSignature();
|
|
101
83
|
message.signatures = object.signatures?.map(e => e) || [];
|
|
102
84
|
return message;
|
|
@@ -150,21 +132,7 @@ export const CompactBitArray = {
|
|
|
150
132
|
return message;
|
|
151
133
|
},
|
|
152
134
|
|
|
153
|
-
|
|
154
|
-
return {
|
|
155
|
-
extraBitsStored: isSet(object.extraBitsStored) ? Number(object.extraBitsStored) : 0,
|
|
156
|
-
elems: isSet(object.elems) ? bytesFromBase64(object.elems) : new Uint8Array()
|
|
157
|
-
};
|
|
158
|
-
},
|
|
159
|
-
|
|
160
|
-
toJSON(message: CompactBitArray): unknown {
|
|
161
|
-
const obj: any = {};
|
|
162
|
-
message.extraBitsStored !== undefined && (obj.extraBitsStored = Math.round(message.extraBitsStored));
|
|
163
|
-
message.elems !== undefined && (obj.elems = base64FromBytes(message.elems !== undefined ? message.elems : new Uint8Array()));
|
|
164
|
-
return obj;
|
|
165
|
-
},
|
|
166
|
-
|
|
167
|
-
fromPartial(object: Partial<CompactBitArray>): CompactBitArray {
|
|
135
|
+
fromPartial(object: DeepPartial<CompactBitArray>): CompactBitArray {
|
|
168
136
|
const message = createBaseCompactBitArray();
|
|
169
137
|
message.extraBitsStored = object.extraBitsStored ?? 0;
|
|
170
138
|
message.elems = object.elems ?? new Uint8Array();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _m0 from "protobufjs/minimal";
|
|
2
|
-
import {
|
|
2
|
+
import { DeepPartial } from "../../../helpers";
|
|
3
3
|
/**
|
|
4
4
|
* PubKey defines a secp256k1 public key
|
|
5
5
|
* Key is the compressed form of the pubkey. The first byte depends is a 0x02 byte
|
|
@@ -70,19 +70,7 @@ export const PubKey = {
|
|
|
70
70
|
return message;
|
|
71
71
|
},
|
|
72
72
|
|
|
73
|
-
|
|
74
|
-
return {
|
|
75
|
-
key: isSet(object.key) ? bytesFromBase64(object.key) : new Uint8Array()
|
|
76
|
-
};
|
|
77
|
-
},
|
|
78
|
-
|
|
79
|
-
toJSON(message: PubKey): unknown {
|
|
80
|
-
const obj: any = {};
|
|
81
|
-
message.key !== undefined && (obj.key = base64FromBytes(message.key !== undefined ? message.key : new Uint8Array()));
|
|
82
|
-
return obj;
|
|
83
|
-
},
|
|
84
|
-
|
|
85
|
-
fromPartial(object: Partial<PubKey>): PubKey {
|
|
73
|
+
fromPartial(object: DeepPartial<PubKey>): PubKey {
|
|
86
74
|
const message = createBasePubKey();
|
|
87
75
|
message.key = object.key ?? new Uint8Array();
|
|
88
76
|
return message;
|
|
@@ -127,19 +115,7 @@ export const PrivKey = {
|
|
|
127
115
|
return message;
|
|
128
116
|
},
|
|
129
117
|
|
|
130
|
-
|
|
131
|
-
return {
|
|
132
|
-
key: isSet(object.key) ? bytesFromBase64(object.key) : new Uint8Array()
|
|
133
|
-
};
|
|
134
|
-
},
|
|
135
|
-
|
|
136
|
-
toJSON(message: PrivKey): unknown {
|
|
137
|
-
const obj: any = {};
|
|
138
|
-
message.key !== undefined && (obj.key = base64FromBytes(message.key !== undefined ? message.key : new Uint8Array()));
|
|
139
|
-
return obj;
|
|
140
|
-
},
|
|
141
|
-
|
|
142
|
-
fromPartial(object: Partial<PrivKey>): PrivKey {
|
|
118
|
+
fromPartial(object: DeepPartial<PrivKey>): PrivKey {
|
|
143
119
|
const message = createBasePrivKey();
|
|
144
120
|
message.key = object.key ?? new Uint8Array();
|
|
145
121
|
return message;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _m0 from "protobufjs/minimal";
|
|
2
|
-
import {
|
|
2
|
+
import { DeepPartial } from "../../../helpers";
|
|
3
3
|
/** PubKey defines a secp256r1 ECDSA public key. */
|
|
4
4
|
|
|
5
5
|
export interface PubKey {
|
|
@@ -12,10 +12,6 @@ export interface PubKey {
|
|
|
12
12
|
/** PubKey defines a secp256r1 ECDSA public key. */
|
|
13
13
|
|
|
14
14
|
export interface PubKeySDKType {
|
|
15
|
-
/**
|
|
16
|
-
* Point on secp256r1 curve in a compressed representation as specified in section
|
|
17
|
-
* 4.3.6 of ANSI X9.62: https://webstore.ansi.org/standards/ascx9/ansix9621998
|
|
18
|
-
*/
|
|
19
15
|
key: Uint8Array;
|
|
20
16
|
}
|
|
21
17
|
/** PrivKey defines a secp256r1 ECDSA private key. */
|
|
@@ -27,7 +23,6 @@ export interface PrivKey {
|
|
|
27
23
|
/** PrivKey defines a secp256r1 ECDSA private key. */
|
|
28
24
|
|
|
29
25
|
export interface PrivKeySDKType {
|
|
30
|
-
/** secret number serialized using big-endian encoding */
|
|
31
26
|
secret: Uint8Array;
|
|
32
27
|
}
|
|
33
28
|
|
|
@@ -68,19 +63,7 @@ export const PubKey = {
|
|
|
68
63
|
return message;
|
|
69
64
|
},
|
|
70
65
|
|
|
71
|
-
|
|
72
|
-
return {
|
|
73
|
-
key: isSet(object.key) ? bytesFromBase64(object.key) : new Uint8Array()
|
|
74
|
-
};
|
|
75
|
-
},
|
|
76
|
-
|
|
77
|
-
toJSON(message: PubKey): unknown {
|
|
78
|
-
const obj: any = {};
|
|
79
|
-
message.key !== undefined && (obj.key = base64FromBytes(message.key !== undefined ? message.key : new Uint8Array()));
|
|
80
|
-
return obj;
|
|
81
|
-
},
|
|
82
|
-
|
|
83
|
-
fromPartial(object: Partial<PubKey>): PubKey {
|
|
66
|
+
fromPartial(object: DeepPartial<PubKey>): PubKey {
|
|
84
67
|
const message = createBasePubKey();
|
|
85
68
|
message.key = object.key ?? new Uint8Array();
|
|
86
69
|
return message;
|
|
@@ -125,19 +108,7 @@ export const PrivKey = {
|
|
|
125
108
|
return message;
|
|
126
109
|
},
|
|
127
110
|
|
|
128
|
-
|
|
129
|
-
return {
|
|
130
|
-
secret: isSet(object.secret) ? bytesFromBase64(object.secret) : new Uint8Array()
|
|
131
|
-
};
|
|
132
|
-
},
|
|
133
|
-
|
|
134
|
-
toJSON(message: PrivKey): unknown {
|
|
135
|
-
const obj: any = {};
|
|
136
|
-
message.secret !== undefined && (obj.secret = base64FromBytes(message.secret !== undefined ? message.secret : new Uint8Array()));
|
|
137
|
-
return obj;
|
|
138
|
-
},
|
|
139
|
-
|
|
140
|
-
fromPartial(object: Partial<PrivKey>): PrivKey {
|
|
111
|
+
fromPartial(object: DeepPartial<PrivKey>): PrivKey {
|
|
141
112
|
const message = createBasePrivKey();
|
|
142
113
|
message.secret = object.secret ?? new Uint8Array();
|
|
143
114
|
return message;
|