@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
|
@@ -2,7 +2,7 @@ import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } fr
|
|
|
2
2
|
import { Any, AnySDKType } from "../../../google/protobuf/any";
|
|
3
3
|
import { Params, ParamsSDKType } from "./auth";
|
|
4
4
|
import * as _m0 from "protobufjs/minimal";
|
|
5
|
-
import {
|
|
5
|
+
import { DeepPartial } from "../../../helpers";
|
|
6
6
|
/**
|
|
7
7
|
* QueryAccountsRequest is the request type for the Query/Accounts RPC method.
|
|
8
8
|
*
|
|
@@ -20,7 +20,6 @@ export interface QueryAccountsRequest {
|
|
|
20
20
|
*/
|
|
21
21
|
|
|
22
22
|
export interface QueryAccountsRequestSDKType {
|
|
23
|
-
/** pagination defines an optional pagination for the request. */
|
|
24
23
|
pagination?: PageRequestSDKType;
|
|
25
24
|
}
|
|
26
25
|
/**
|
|
@@ -43,10 +42,7 @@ export interface QueryAccountsResponse {
|
|
|
43
42
|
*/
|
|
44
43
|
|
|
45
44
|
export interface QueryAccountsResponseSDKType {
|
|
46
|
-
/** accounts are the existing accounts */
|
|
47
45
|
accounts: AnySDKType[];
|
|
48
|
-
/** pagination defines the pagination in the response. */
|
|
49
|
-
|
|
50
46
|
pagination?: PageResponseSDKType;
|
|
51
47
|
}
|
|
52
48
|
/** QueryAccountRequest is the request type for the Query/Account RPC method. */
|
|
@@ -58,7 +54,6 @@ export interface QueryAccountRequest {
|
|
|
58
54
|
/** QueryAccountRequest is the request type for the Query/Account RPC method. */
|
|
59
55
|
|
|
60
56
|
export interface QueryAccountRequestSDKType {
|
|
61
|
-
/** address defines the address to query for. */
|
|
62
57
|
address: string;
|
|
63
58
|
}
|
|
64
59
|
/** QueryModuleAccountsRequest is the request type for the Query/ModuleAccounts RPC method. */
|
|
@@ -76,7 +71,6 @@ export interface QueryParamsResponse {
|
|
|
76
71
|
/** QueryParamsResponse is the response type for the Query/Params RPC method. */
|
|
77
72
|
|
|
78
73
|
export interface QueryParamsResponseSDKType {
|
|
79
|
-
/** params defines the parameters of the module. */
|
|
80
74
|
params?: ParamsSDKType;
|
|
81
75
|
}
|
|
82
76
|
/** QueryAccountResponse is the response type for the Query/Account RPC method. */
|
|
@@ -88,7 +82,6 @@ export interface QueryAccountResponse {
|
|
|
88
82
|
/** QueryAccountResponse is the response type for the Query/Account RPC method. */
|
|
89
83
|
|
|
90
84
|
export interface QueryAccountResponseSDKType {
|
|
91
|
-
/** account defines the account of the corresponding address. */
|
|
92
85
|
account?: AnySDKType;
|
|
93
86
|
}
|
|
94
87
|
/** QueryParamsRequest is the request type for the Query/Params RPC method. */
|
|
@@ -201,19 +194,7 @@ export const QueryAccountsRequest = {
|
|
|
201
194
|
return message;
|
|
202
195
|
},
|
|
203
196
|
|
|
204
|
-
|
|
205
|
-
return {
|
|
206
|
-
pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined
|
|
207
|
-
};
|
|
208
|
-
},
|
|
209
|
-
|
|
210
|
-
toJSON(message: QueryAccountsRequest): unknown {
|
|
211
|
-
const obj: any = {};
|
|
212
|
-
message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined);
|
|
213
|
-
return obj;
|
|
214
|
-
},
|
|
215
|
-
|
|
216
|
-
fromPartial(object: Partial<QueryAccountsRequest>): QueryAccountsRequest {
|
|
197
|
+
fromPartial(object: DeepPartial<QueryAccountsRequest>): QueryAccountsRequest {
|
|
217
198
|
const message = createBaseQueryAccountsRequest();
|
|
218
199
|
message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined;
|
|
219
200
|
return message;
|
|
@@ -267,27 +248,7 @@ export const QueryAccountsResponse = {
|
|
|
267
248
|
return message;
|
|
268
249
|
},
|
|
269
250
|
|
|
270
|
-
|
|
271
|
-
return {
|
|
272
|
-
accounts: Array.isArray(object?.accounts) ? object.accounts.map((e: any) => Any.fromJSON(e)) : [],
|
|
273
|
-
pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined
|
|
274
|
-
};
|
|
275
|
-
},
|
|
276
|
-
|
|
277
|
-
toJSON(message: QueryAccountsResponse): unknown {
|
|
278
|
-
const obj: any = {};
|
|
279
|
-
|
|
280
|
-
if (message.accounts) {
|
|
281
|
-
obj.accounts = message.accounts.map(e => e ? Any.toJSON(e) : undefined);
|
|
282
|
-
} else {
|
|
283
|
-
obj.accounts = [];
|
|
284
|
-
}
|
|
285
|
-
|
|
286
|
-
message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined);
|
|
287
|
-
return obj;
|
|
288
|
-
},
|
|
289
|
-
|
|
290
|
-
fromPartial(object: Partial<QueryAccountsResponse>): QueryAccountsResponse {
|
|
251
|
+
fromPartial(object: DeepPartial<QueryAccountsResponse>): QueryAccountsResponse {
|
|
291
252
|
const message = createBaseQueryAccountsResponse();
|
|
292
253
|
message.accounts = object.accounts?.map(e => Any.fromPartial(e)) || [];
|
|
293
254
|
message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined;
|
|
@@ -333,19 +294,7 @@ export const QueryAccountRequest = {
|
|
|
333
294
|
return message;
|
|
334
295
|
},
|
|
335
296
|
|
|
336
|
-
|
|
337
|
-
return {
|
|
338
|
-
address: isSet(object.address) ? String(object.address) : ""
|
|
339
|
-
};
|
|
340
|
-
},
|
|
341
|
-
|
|
342
|
-
toJSON(message: QueryAccountRequest): unknown {
|
|
343
|
-
const obj: any = {};
|
|
344
|
-
message.address !== undefined && (obj.address = message.address);
|
|
345
|
-
return obj;
|
|
346
|
-
},
|
|
347
|
-
|
|
348
|
-
fromPartial(object: Partial<QueryAccountRequest>): QueryAccountRequest {
|
|
297
|
+
fromPartial(object: DeepPartial<QueryAccountRequest>): QueryAccountRequest {
|
|
349
298
|
const message = createBaseQueryAccountRequest();
|
|
350
299
|
message.address = object.address ?? "";
|
|
351
300
|
return message;
|
|
@@ -380,16 +329,7 @@ export const QueryModuleAccountsRequest = {
|
|
|
380
329
|
return message;
|
|
381
330
|
},
|
|
382
331
|
|
|
383
|
-
|
|
384
|
-
return {};
|
|
385
|
-
},
|
|
386
|
-
|
|
387
|
-
toJSON(_: QueryModuleAccountsRequest): unknown {
|
|
388
|
-
const obj: any = {};
|
|
389
|
-
return obj;
|
|
390
|
-
},
|
|
391
|
-
|
|
392
|
-
fromPartial(_: Partial<QueryModuleAccountsRequest>): QueryModuleAccountsRequest {
|
|
332
|
+
fromPartial(_: DeepPartial<QueryModuleAccountsRequest>): QueryModuleAccountsRequest {
|
|
393
333
|
const message = createBaseQueryModuleAccountsRequest();
|
|
394
334
|
return message;
|
|
395
335
|
}
|
|
@@ -433,19 +373,7 @@ export const QueryParamsResponse = {
|
|
|
433
373
|
return message;
|
|
434
374
|
},
|
|
435
375
|
|
|
436
|
-
|
|
437
|
-
return {
|
|
438
|
-
params: isSet(object.params) ? Params.fromJSON(object.params) : undefined
|
|
439
|
-
};
|
|
440
|
-
},
|
|
441
|
-
|
|
442
|
-
toJSON(message: QueryParamsResponse): unknown {
|
|
443
|
-
const obj: any = {};
|
|
444
|
-
message.params !== undefined && (obj.params = message.params ? Params.toJSON(message.params) : undefined);
|
|
445
|
-
return obj;
|
|
446
|
-
},
|
|
447
|
-
|
|
448
|
-
fromPartial(object: Partial<QueryParamsResponse>): QueryParamsResponse {
|
|
376
|
+
fromPartial(object: DeepPartial<QueryParamsResponse>): QueryParamsResponse {
|
|
449
377
|
const message = createBaseQueryParamsResponse();
|
|
450
378
|
message.params = object.params !== undefined && object.params !== null ? Params.fromPartial(object.params) : undefined;
|
|
451
379
|
return message;
|
|
@@ -490,19 +418,7 @@ export const QueryAccountResponse = {
|
|
|
490
418
|
return message;
|
|
491
419
|
},
|
|
492
420
|
|
|
493
|
-
|
|
494
|
-
return {
|
|
495
|
-
account: isSet(object.account) ? Any.fromJSON(object.account) : undefined
|
|
496
|
-
};
|
|
497
|
-
},
|
|
498
|
-
|
|
499
|
-
toJSON(message: QueryAccountResponse): unknown {
|
|
500
|
-
const obj: any = {};
|
|
501
|
-
message.account !== undefined && (obj.account = message.account ? Any.toJSON(message.account) : undefined);
|
|
502
|
-
return obj;
|
|
503
|
-
},
|
|
504
|
-
|
|
505
|
-
fromPartial(object: Partial<QueryAccountResponse>): QueryAccountResponse {
|
|
421
|
+
fromPartial(object: DeepPartial<QueryAccountResponse>): QueryAccountResponse {
|
|
506
422
|
const message = createBaseQueryAccountResponse();
|
|
507
423
|
message.account = object.account !== undefined && object.account !== null ? Any.fromPartial(object.account) : undefined;
|
|
508
424
|
return message;
|
|
@@ -537,16 +453,7 @@ export const QueryParamsRequest = {
|
|
|
537
453
|
return message;
|
|
538
454
|
},
|
|
539
455
|
|
|
540
|
-
|
|
541
|
-
return {};
|
|
542
|
-
},
|
|
543
|
-
|
|
544
|
-
toJSON(_: QueryParamsRequest): unknown {
|
|
545
|
-
const obj: any = {};
|
|
546
|
-
return obj;
|
|
547
|
-
},
|
|
548
|
-
|
|
549
|
-
fromPartial(_: Partial<QueryParamsRequest>): QueryParamsRequest {
|
|
456
|
+
fromPartial(_: DeepPartial<QueryParamsRequest>): QueryParamsRequest {
|
|
550
457
|
const message = createBaseQueryParamsRequest();
|
|
551
458
|
return message;
|
|
552
459
|
}
|
|
@@ -590,25 +497,7 @@ export const QueryModuleAccountsResponse = {
|
|
|
590
497
|
return message;
|
|
591
498
|
},
|
|
592
499
|
|
|
593
|
-
|
|
594
|
-
return {
|
|
595
|
-
accounts: Array.isArray(object?.accounts) ? object.accounts.map((e: any) => Any.fromJSON(e)) : []
|
|
596
|
-
};
|
|
597
|
-
},
|
|
598
|
-
|
|
599
|
-
toJSON(message: QueryModuleAccountsResponse): unknown {
|
|
600
|
-
const obj: any = {};
|
|
601
|
-
|
|
602
|
-
if (message.accounts) {
|
|
603
|
-
obj.accounts = message.accounts.map(e => e ? Any.toJSON(e) : undefined);
|
|
604
|
-
} else {
|
|
605
|
-
obj.accounts = [];
|
|
606
|
-
}
|
|
607
|
-
|
|
608
|
-
return obj;
|
|
609
|
-
},
|
|
610
|
-
|
|
611
|
-
fromPartial(object: Partial<QueryModuleAccountsResponse>): QueryModuleAccountsResponse {
|
|
500
|
+
fromPartial(object: DeepPartial<QueryModuleAccountsResponse>): QueryModuleAccountsResponse {
|
|
612
501
|
const message = createBaseQueryModuleAccountsResponse();
|
|
613
502
|
message.accounts = object.accounts?.map(e => Any.fromPartial(e)) || [];
|
|
614
503
|
return message;
|
|
@@ -643,16 +532,7 @@ export const Bech32PrefixRequest = {
|
|
|
643
532
|
return message;
|
|
644
533
|
},
|
|
645
534
|
|
|
646
|
-
|
|
647
|
-
return {};
|
|
648
|
-
},
|
|
649
|
-
|
|
650
|
-
toJSON(_: Bech32PrefixRequest): unknown {
|
|
651
|
-
const obj: any = {};
|
|
652
|
-
return obj;
|
|
653
|
-
},
|
|
654
|
-
|
|
655
|
-
fromPartial(_: Partial<Bech32PrefixRequest>): Bech32PrefixRequest {
|
|
535
|
+
fromPartial(_: DeepPartial<Bech32PrefixRequest>): Bech32PrefixRequest {
|
|
656
536
|
const message = createBaseBech32PrefixRequest();
|
|
657
537
|
return message;
|
|
658
538
|
}
|
|
@@ -696,19 +576,7 @@ export const Bech32PrefixResponse = {
|
|
|
696
576
|
return message;
|
|
697
577
|
},
|
|
698
578
|
|
|
699
|
-
|
|
700
|
-
return {
|
|
701
|
-
bech32Prefix: isSet(object.bech32Prefix) ? String(object.bech32Prefix) : ""
|
|
702
|
-
};
|
|
703
|
-
},
|
|
704
|
-
|
|
705
|
-
toJSON(message: Bech32PrefixResponse): unknown {
|
|
706
|
-
const obj: any = {};
|
|
707
|
-
message.bech32Prefix !== undefined && (obj.bech32Prefix = message.bech32Prefix);
|
|
708
|
-
return obj;
|
|
709
|
-
},
|
|
710
|
-
|
|
711
|
-
fromPartial(object: Partial<Bech32PrefixResponse>): Bech32PrefixResponse {
|
|
579
|
+
fromPartial(object: DeepPartial<Bech32PrefixResponse>): Bech32PrefixResponse {
|
|
712
580
|
const message = createBaseBech32PrefixResponse();
|
|
713
581
|
message.bech32Prefix = object.bech32Prefix ?? "";
|
|
714
582
|
return message;
|
|
@@ -753,19 +621,7 @@ export const AddressBytesToStringRequest = {
|
|
|
753
621
|
return message;
|
|
754
622
|
},
|
|
755
623
|
|
|
756
|
-
|
|
757
|
-
return {
|
|
758
|
-
addressBytes: isSet(object.addressBytes) ? bytesFromBase64(object.addressBytes) : new Uint8Array()
|
|
759
|
-
};
|
|
760
|
-
},
|
|
761
|
-
|
|
762
|
-
toJSON(message: AddressBytesToStringRequest): unknown {
|
|
763
|
-
const obj: any = {};
|
|
764
|
-
message.addressBytes !== undefined && (obj.addressBytes = base64FromBytes(message.addressBytes !== undefined ? message.addressBytes : new Uint8Array()));
|
|
765
|
-
return obj;
|
|
766
|
-
},
|
|
767
|
-
|
|
768
|
-
fromPartial(object: Partial<AddressBytesToStringRequest>): AddressBytesToStringRequest {
|
|
624
|
+
fromPartial(object: DeepPartial<AddressBytesToStringRequest>): AddressBytesToStringRequest {
|
|
769
625
|
const message = createBaseAddressBytesToStringRequest();
|
|
770
626
|
message.addressBytes = object.addressBytes ?? new Uint8Array();
|
|
771
627
|
return message;
|
|
@@ -810,19 +666,7 @@ export const AddressBytesToStringResponse = {
|
|
|
810
666
|
return message;
|
|
811
667
|
},
|
|
812
668
|
|
|
813
|
-
|
|
814
|
-
return {
|
|
815
|
-
addressString: isSet(object.addressString) ? String(object.addressString) : ""
|
|
816
|
-
};
|
|
817
|
-
},
|
|
818
|
-
|
|
819
|
-
toJSON(message: AddressBytesToStringResponse): unknown {
|
|
820
|
-
const obj: any = {};
|
|
821
|
-
message.addressString !== undefined && (obj.addressString = message.addressString);
|
|
822
|
-
return obj;
|
|
823
|
-
},
|
|
824
|
-
|
|
825
|
-
fromPartial(object: Partial<AddressBytesToStringResponse>): AddressBytesToStringResponse {
|
|
669
|
+
fromPartial(object: DeepPartial<AddressBytesToStringResponse>): AddressBytesToStringResponse {
|
|
826
670
|
const message = createBaseAddressBytesToStringResponse();
|
|
827
671
|
message.addressString = object.addressString ?? "";
|
|
828
672
|
return message;
|
|
@@ -867,19 +711,7 @@ export const AddressStringToBytesRequest = {
|
|
|
867
711
|
return message;
|
|
868
712
|
},
|
|
869
713
|
|
|
870
|
-
|
|
871
|
-
return {
|
|
872
|
-
addressString: isSet(object.addressString) ? String(object.addressString) : ""
|
|
873
|
-
};
|
|
874
|
-
},
|
|
875
|
-
|
|
876
|
-
toJSON(message: AddressStringToBytesRequest): unknown {
|
|
877
|
-
const obj: any = {};
|
|
878
|
-
message.addressString !== undefined && (obj.addressString = message.addressString);
|
|
879
|
-
return obj;
|
|
880
|
-
},
|
|
881
|
-
|
|
882
|
-
fromPartial(object: Partial<AddressStringToBytesRequest>): AddressStringToBytesRequest {
|
|
714
|
+
fromPartial(object: DeepPartial<AddressStringToBytesRequest>): AddressStringToBytesRequest {
|
|
883
715
|
const message = createBaseAddressStringToBytesRequest();
|
|
884
716
|
message.addressString = object.addressString ?? "";
|
|
885
717
|
return message;
|
|
@@ -924,19 +756,7 @@ export const AddressStringToBytesResponse = {
|
|
|
924
756
|
return message;
|
|
925
757
|
},
|
|
926
758
|
|
|
927
|
-
|
|
928
|
-
return {
|
|
929
|
-
addressBytes: isSet(object.addressBytes) ? bytesFromBase64(object.addressBytes) : new Uint8Array()
|
|
930
|
-
};
|
|
931
|
-
},
|
|
932
|
-
|
|
933
|
-
toJSON(message: AddressStringToBytesResponse): unknown {
|
|
934
|
-
const obj: any = {};
|
|
935
|
-
message.addressBytes !== undefined && (obj.addressBytes = base64FromBytes(message.addressBytes !== undefined ? message.addressBytes : new Uint8Array()));
|
|
936
|
-
return obj;
|
|
937
|
-
},
|
|
938
|
-
|
|
939
|
-
fromPartial(object: Partial<AddressStringToBytesResponse>): AddressStringToBytesResponse {
|
|
759
|
+
fromPartial(object: DeepPartial<AddressStringToBytesResponse>): AddressStringToBytesResponse {
|
|
940
760
|
const message = createBaseAddressStringToBytesResponse();
|
|
941
761
|
message.addressBytes = object.addressBytes ?? new Uint8Array();
|
|
942
762
|
return message;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Any, AnySDKType } from "../../../google/protobuf/any";
|
|
2
|
-
import { Timestamp
|
|
2
|
+
import { Timestamp } from "../../../google/protobuf/timestamp";
|
|
3
3
|
import * as _m0 from "protobufjs/minimal";
|
|
4
|
-
import {
|
|
4
|
+
import { DeepPartial, toTimestamp, fromTimestamp } from "../../../helpers";
|
|
5
5
|
/**
|
|
6
6
|
* GenericAuthorization gives the grantee unrestricted permissions to execute
|
|
7
7
|
* the provided method on behalf of the granter's account.
|
|
@@ -17,7 +17,6 @@ export interface GenericAuthorization {
|
|
|
17
17
|
*/
|
|
18
18
|
|
|
19
19
|
export interface GenericAuthorizationSDKType {
|
|
20
|
-
/** Msg, identified by it's type URL, to grant unrestricted permissions to execute */
|
|
21
20
|
msg: string;
|
|
22
21
|
}
|
|
23
22
|
/**
|
|
@@ -33,7 +32,7 @@ export interface Grant {
|
|
|
33
32
|
* may apply to invalidate the grant)
|
|
34
33
|
*/
|
|
35
34
|
|
|
36
|
-
expiration?:
|
|
35
|
+
expiration?: Date;
|
|
37
36
|
}
|
|
38
37
|
/**
|
|
39
38
|
* Grant gives permissions to execute
|
|
@@ -42,13 +41,7 @@ export interface Grant {
|
|
|
42
41
|
|
|
43
42
|
export interface GrantSDKType {
|
|
44
43
|
authorization?: AnySDKType;
|
|
45
|
-
|
|
46
|
-
* time when the grant will expire and will be pruned. If null, then the grant
|
|
47
|
-
* doesn't have a time expiration (other conditions in `authorization`
|
|
48
|
-
* may apply to invalidate the grant)
|
|
49
|
-
*/
|
|
50
|
-
|
|
51
|
-
expiration?: TimestampSDKType;
|
|
44
|
+
expiration?: Date;
|
|
52
45
|
}
|
|
53
46
|
/**
|
|
54
47
|
* GrantAuthorization extends a grant with both the addresses of the grantee and granter.
|
|
@@ -59,7 +52,7 @@ export interface GrantAuthorization {
|
|
|
59
52
|
granter: string;
|
|
60
53
|
grantee: string;
|
|
61
54
|
authorization?: Any;
|
|
62
|
-
expiration?:
|
|
55
|
+
expiration?: Date;
|
|
63
56
|
}
|
|
64
57
|
/**
|
|
65
58
|
* GrantAuthorization extends a grant with both the addresses of the grantee and granter.
|
|
@@ -70,7 +63,7 @@ export interface GrantAuthorizationSDKType {
|
|
|
70
63
|
granter: string;
|
|
71
64
|
grantee: string;
|
|
72
65
|
authorization?: AnySDKType;
|
|
73
|
-
expiration?:
|
|
66
|
+
expiration?: Date;
|
|
74
67
|
}
|
|
75
68
|
/** GrantQueueItem contains the list of TypeURL of a sdk.Msg. */
|
|
76
69
|
|
|
@@ -81,7 +74,6 @@ export interface GrantQueueItem {
|
|
|
81
74
|
/** GrantQueueItem contains the list of TypeURL of a sdk.Msg. */
|
|
82
75
|
|
|
83
76
|
export interface GrantQueueItemSDKType {
|
|
84
|
-
/** msg_type_urls contains the list of TypeURL of a sdk.Msg. */
|
|
85
77
|
msg_type_urls: string[];
|
|
86
78
|
}
|
|
87
79
|
|
|
@@ -122,19 +114,7 @@ export const GenericAuthorization = {
|
|
|
122
114
|
return message;
|
|
123
115
|
},
|
|
124
116
|
|
|
125
|
-
|
|
126
|
-
return {
|
|
127
|
-
msg: isSet(object.msg) ? String(object.msg) : ""
|
|
128
|
-
};
|
|
129
|
-
},
|
|
130
|
-
|
|
131
|
-
toJSON(message: GenericAuthorization): unknown {
|
|
132
|
-
const obj: any = {};
|
|
133
|
-
message.msg !== undefined && (obj.msg = message.msg);
|
|
134
|
-
return obj;
|
|
135
|
-
},
|
|
136
|
-
|
|
137
|
-
fromPartial(object: Partial<GenericAuthorization>): GenericAuthorization {
|
|
117
|
+
fromPartial(object: DeepPartial<GenericAuthorization>): GenericAuthorization {
|
|
138
118
|
const message = createBaseGenericAuthorization();
|
|
139
119
|
message.msg = object.msg ?? "";
|
|
140
120
|
return message;
|
|
@@ -156,7 +136,7 @@ export const Grant = {
|
|
|
156
136
|
}
|
|
157
137
|
|
|
158
138
|
if (message.expiration !== undefined) {
|
|
159
|
-
Timestamp.encode(message.expiration, writer.uint32(18).fork()).ldelim();
|
|
139
|
+
Timestamp.encode(toTimestamp(message.expiration), writer.uint32(18).fork()).ldelim();
|
|
160
140
|
}
|
|
161
141
|
|
|
162
142
|
return writer;
|
|
@@ -176,7 +156,7 @@ export const Grant = {
|
|
|
176
156
|
break;
|
|
177
157
|
|
|
178
158
|
case 2:
|
|
179
|
-
message.expiration = Timestamp.decode(reader, reader.uint32());
|
|
159
|
+
message.expiration = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
|
|
180
160
|
break;
|
|
181
161
|
|
|
182
162
|
default:
|
|
@@ -188,24 +168,10 @@ export const Grant = {
|
|
|
188
168
|
return message;
|
|
189
169
|
},
|
|
190
170
|
|
|
191
|
-
|
|
192
|
-
return {
|
|
193
|
-
authorization: isSet(object.authorization) ? Any.fromJSON(object.authorization) : undefined,
|
|
194
|
-
expiration: isSet(object.expiration) ? fromJsonTimestamp(object.expiration) : undefined
|
|
195
|
-
};
|
|
196
|
-
},
|
|
197
|
-
|
|
198
|
-
toJSON(message: Grant): unknown {
|
|
199
|
-
const obj: any = {};
|
|
200
|
-
message.authorization !== undefined && (obj.authorization = message.authorization ? Any.toJSON(message.authorization) : undefined);
|
|
201
|
-
message.expiration !== undefined && (obj.expiration = fromTimestamp(message.expiration).toISOString());
|
|
202
|
-
return obj;
|
|
203
|
-
},
|
|
204
|
-
|
|
205
|
-
fromPartial(object: Partial<Grant>): Grant {
|
|
171
|
+
fromPartial(object: DeepPartial<Grant>): Grant {
|
|
206
172
|
const message = createBaseGrant();
|
|
207
173
|
message.authorization = object.authorization !== undefined && object.authorization !== null ? Any.fromPartial(object.authorization) : undefined;
|
|
208
|
-
message.expiration = object.expiration
|
|
174
|
+
message.expiration = object.expiration ?? undefined;
|
|
209
175
|
return message;
|
|
210
176
|
}
|
|
211
177
|
|
|
@@ -235,7 +201,7 @@ export const GrantAuthorization = {
|
|
|
235
201
|
}
|
|
236
202
|
|
|
237
203
|
if (message.expiration !== undefined) {
|
|
238
|
-
Timestamp.encode(message.expiration, writer.uint32(34).fork()).ldelim();
|
|
204
|
+
Timestamp.encode(toTimestamp(message.expiration), writer.uint32(34).fork()).ldelim();
|
|
239
205
|
}
|
|
240
206
|
|
|
241
207
|
return writer;
|
|
@@ -263,7 +229,7 @@ export const GrantAuthorization = {
|
|
|
263
229
|
break;
|
|
264
230
|
|
|
265
231
|
case 4:
|
|
266
|
-
message.expiration = Timestamp.decode(reader, reader.uint32());
|
|
232
|
+
message.expiration = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
|
|
267
233
|
break;
|
|
268
234
|
|
|
269
235
|
default:
|
|
@@ -275,30 +241,12 @@ export const GrantAuthorization = {
|
|
|
275
241
|
return message;
|
|
276
242
|
},
|
|
277
243
|
|
|
278
|
-
|
|
279
|
-
return {
|
|
280
|
-
granter: isSet(object.granter) ? String(object.granter) : "",
|
|
281
|
-
grantee: isSet(object.grantee) ? String(object.grantee) : "",
|
|
282
|
-
authorization: isSet(object.authorization) ? Any.fromJSON(object.authorization) : undefined,
|
|
283
|
-
expiration: isSet(object.expiration) ? fromJsonTimestamp(object.expiration) : undefined
|
|
284
|
-
};
|
|
285
|
-
},
|
|
286
|
-
|
|
287
|
-
toJSON(message: GrantAuthorization): unknown {
|
|
288
|
-
const obj: any = {};
|
|
289
|
-
message.granter !== undefined && (obj.granter = message.granter);
|
|
290
|
-
message.grantee !== undefined && (obj.grantee = message.grantee);
|
|
291
|
-
message.authorization !== undefined && (obj.authorization = message.authorization ? Any.toJSON(message.authorization) : undefined);
|
|
292
|
-
message.expiration !== undefined && (obj.expiration = fromTimestamp(message.expiration).toISOString());
|
|
293
|
-
return obj;
|
|
294
|
-
},
|
|
295
|
-
|
|
296
|
-
fromPartial(object: Partial<GrantAuthorization>): GrantAuthorization {
|
|
244
|
+
fromPartial(object: DeepPartial<GrantAuthorization>): GrantAuthorization {
|
|
297
245
|
const message = createBaseGrantAuthorization();
|
|
298
246
|
message.granter = object.granter ?? "";
|
|
299
247
|
message.grantee = object.grantee ?? "";
|
|
300
248
|
message.authorization = object.authorization !== undefined && object.authorization !== null ? Any.fromPartial(object.authorization) : undefined;
|
|
301
|
-
message.expiration = object.expiration
|
|
249
|
+
message.expiration = object.expiration ?? undefined;
|
|
302
250
|
return message;
|
|
303
251
|
}
|
|
304
252
|
|
|
@@ -341,25 +289,7 @@ export const GrantQueueItem = {
|
|
|
341
289
|
return message;
|
|
342
290
|
},
|
|
343
291
|
|
|
344
|
-
|
|
345
|
-
return {
|
|
346
|
-
msgTypeUrls: Array.isArray(object?.msgTypeUrls) ? object.msgTypeUrls.map((e: any) => String(e)) : []
|
|
347
|
-
};
|
|
348
|
-
},
|
|
349
|
-
|
|
350
|
-
toJSON(message: GrantQueueItem): unknown {
|
|
351
|
-
const obj: any = {};
|
|
352
|
-
|
|
353
|
-
if (message.msgTypeUrls) {
|
|
354
|
-
obj.msgTypeUrls = message.msgTypeUrls.map(e => e);
|
|
355
|
-
} else {
|
|
356
|
-
obj.msgTypeUrls = [];
|
|
357
|
-
}
|
|
358
|
-
|
|
359
|
-
return obj;
|
|
360
|
-
},
|
|
361
|
-
|
|
362
|
-
fromPartial(object: Partial<GrantQueueItem>): GrantQueueItem {
|
|
292
|
+
fromPartial(object: DeepPartial<GrantQueueItem>): GrantQueueItem {
|
|
363
293
|
const message = createBaseGrantQueueItem();
|
|
364
294
|
message.msgTypeUrls = object.msgTypeUrls?.map(e => e) || [];
|
|
365
295
|
return message;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _m0 from "protobufjs/minimal";
|
|
2
|
-
import {
|
|
2
|
+
import { DeepPartial } from "../../../helpers";
|
|
3
3
|
/** EventGrant is emitted on Msg/Grant */
|
|
4
4
|
|
|
5
5
|
export interface EventGrant {
|
|
@@ -15,13 +15,8 @@ export interface EventGrant {
|
|
|
15
15
|
/** EventGrant is emitted on Msg/Grant */
|
|
16
16
|
|
|
17
17
|
export interface EventGrantSDKType {
|
|
18
|
-
/** Msg type URL for which an autorization is granted */
|
|
19
18
|
msg_type_url: string;
|
|
20
|
-
/** Granter account address */
|
|
21
|
-
|
|
22
19
|
granter: string;
|
|
23
|
-
/** Grantee account address */
|
|
24
|
-
|
|
25
20
|
grantee: string;
|
|
26
21
|
}
|
|
27
22
|
/** EventRevoke is emitted on Msg/Revoke */
|
|
@@ -39,13 +34,8 @@ export interface EventRevoke {
|
|
|
39
34
|
/** EventRevoke is emitted on Msg/Revoke */
|
|
40
35
|
|
|
41
36
|
export interface EventRevokeSDKType {
|
|
42
|
-
/** Msg type URL for which an autorization is revoked */
|
|
43
37
|
msg_type_url: string;
|
|
44
|
-
/** Granter account address */
|
|
45
|
-
|
|
46
38
|
granter: string;
|
|
47
|
-
/** Grantee account address */
|
|
48
|
-
|
|
49
39
|
grantee: string;
|
|
50
40
|
}
|
|
51
41
|
|
|
@@ -104,23 +94,7 @@ export const EventGrant = {
|
|
|
104
94
|
return message;
|
|
105
95
|
},
|
|
106
96
|
|
|
107
|
-
|
|
108
|
-
return {
|
|
109
|
-
msgTypeUrl: isSet(object.msgTypeUrl) ? String(object.msgTypeUrl) : "",
|
|
110
|
-
granter: isSet(object.granter) ? String(object.granter) : "",
|
|
111
|
-
grantee: isSet(object.grantee) ? String(object.grantee) : ""
|
|
112
|
-
};
|
|
113
|
-
},
|
|
114
|
-
|
|
115
|
-
toJSON(message: EventGrant): unknown {
|
|
116
|
-
const obj: any = {};
|
|
117
|
-
message.msgTypeUrl !== undefined && (obj.msgTypeUrl = message.msgTypeUrl);
|
|
118
|
-
message.granter !== undefined && (obj.granter = message.granter);
|
|
119
|
-
message.grantee !== undefined && (obj.grantee = message.grantee);
|
|
120
|
-
return obj;
|
|
121
|
-
},
|
|
122
|
-
|
|
123
|
-
fromPartial(object: Partial<EventGrant>): EventGrant {
|
|
97
|
+
fromPartial(object: DeepPartial<EventGrant>): EventGrant {
|
|
124
98
|
const message = createBaseEventGrant();
|
|
125
99
|
message.msgTypeUrl = object.msgTypeUrl ?? "";
|
|
126
100
|
message.granter = object.granter ?? "";
|
|
@@ -185,23 +159,7 @@ export const EventRevoke = {
|
|
|
185
159
|
return message;
|
|
186
160
|
},
|
|
187
161
|
|
|
188
|
-
|
|
189
|
-
return {
|
|
190
|
-
msgTypeUrl: isSet(object.msgTypeUrl) ? String(object.msgTypeUrl) : "",
|
|
191
|
-
granter: isSet(object.granter) ? String(object.granter) : "",
|
|
192
|
-
grantee: isSet(object.grantee) ? String(object.grantee) : ""
|
|
193
|
-
};
|
|
194
|
-
},
|
|
195
|
-
|
|
196
|
-
toJSON(message: EventRevoke): unknown {
|
|
197
|
-
const obj: any = {};
|
|
198
|
-
message.msgTypeUrl !== undefined && (obj.msgTypeUrl = message.msgTypeUrl);
|
|
199
|
-
message.granter !== undefined && (obj.granter = message.granter);
|
|
200
|
-
message.grantee !== undefined && (obj.grantee = message.grantee);
|
|
201
|
-
return obj;
|
|
202
|
-
},
|
|
203
|
-
|
|
204
|
-
fromPartial(object: Partial<EventRevoke>): EventRevoke {
|
|
162
|
+
fromPartial(object: DeepPartial<EventRevoke>): EventRevoke {
|
|
205
163
|
const message = createBaseEventRevoke();
|
|
206
164
|
message.msgTypeUrl = object.msgTypeUrl ?? "";
|
|
207
165
|
message.granter = object.granter ?? "";
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { GrantAuthorization, GrantAuthorizationSDKType } from "./authz";
|
|
2
2
|
import * as _m0 from "protobufjs/minimal";
|
|
3
|
+
import { DeepPartial } from "../../../helpers";
|
|
3
4
|
/** GenesisState defines the authz module's genesis state. */
|
|
4
5
|
|
|
5
6
|
export interface GenesisState {
|
|
@@ -48,25 +49,7 @@ export const GenesisState = {
|
|
|
48
49
|
return message;
|
|
49
50
|
},
|
|
50
51
|
|
|
51
|
-
|
|
52
|
-
return {
|
|
53
|
-
authorization: Array.isArray(object?.authorization) ? object.authorization.map((e: any) => GrantAuthorization.fromJSON(e)) : []
|
|
54
|
-
};
|
|
55
|
-
},
|
|
56
|
-
|
|
57
|
-
toJSON(message: GenesisState): unknown {
|
|
58
|
-
const obj: any = {};
|
|
59
|
-
|
|
60
|
-
if (message.authorization) {
|
|
61
|
-
obj.authorization = message.authorization.map(e => e ? GrantAuthorization.toJSON(e) : undefined);
|
|
62
|
-
} else {
|
|
63
|
-
obj.authorization = [];
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
return obj;
|
|
67
|
-
},
|
|
68
|
-
|
|
69
|
-
fromPartial(object: Partial<GenesisState>): GenesisState {
|
|
52
|
+
fromPartial(object: DeepPartial<GenesisState>): GenesisState {
|
|
70
53
|
const message = createBaseGenesisState();
|
|
71
54
|
message.authorization = object.authorization?.map(e => GrantAuthorization.fromPartial(e)) || [];
|
|
72
55
|
return message;
|