@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
|
@@ -9,7 +9,6 @@ var _pagination = require("../../base/query/v1beta1/pagination");
|
|
|
9
9
|
var _any = require("../../../google/protobuf/any");
|
|
10
10
|
var _auth = require("./auth");
|
|
11
11
|
var _m0 = _interopRequireWildcard(require("protobufjs/minimal"));
|
|
12
|
-
var _helpers = require("../../../helpers");
|
|
13
12
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
14
13
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
15
14
|
function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
|
|
@@ -45,16 +44,6 @@ var QueryAccountsRequest = {
|
|
|
45
44
|
}
|
|
46
45
|
return message;
|
|
47
46
|
},
|
|
48
|
-
fromJSON: function fromJSON(object) {
|
|
49
|
-
return {
|
|
50
|
-
pagination: (0, _helpers.isSet)(object.pagination) ? _pagination.PageRequest.fromJSON(object.pagination) : undefined
|
|
51
|
-
};
|
|
52
|
-
},
|
|
53
|
-
toJSON: function toJSON(message) {
|
|
54
|
-
var obj = {};
|
|
55
|
-
message.pagination !== undefined && (obj.pagination = message.pagination ? _pagination.PageRequest.toJSON(message.pagination) : undefined);
|
|
56
|
-
return obj;
|
|
57
|
-
},
|
|
58
47
|
fromPartial: function fromPartial(object) {
|
|
59
48
|
var message = createBaseQueryAccountsRequest();
|
|
60
49
|
message.pagination = object.pagination !== undefined && object.pagination !== null ? _pagination.PageRequest.fromPartial(object.pagination) : undefined;
|
|
@@ -108,26 +97,6 @@ var QueryAccountsResponse = {
|
|
|
108
97
|
}
|
|
109
98
|
return message;
|
|
110
99
|
},
|
|
111
|
-
fromJSON: function fromJSON(object) {
|
|
112
|
-
return {
|
|
113
|
-
accounts: Array.isArray(object === null || object === void 0 ? void 0 : object.accounts) ? object.accounts.map(function (e) {
|
|
114
|
-
return _any.Any.fromJSON(e);
|
|
115
|
-
}) : [],
|
|
116
|
-
pagination: (0, _helpers.isSet)(object.pagination) ? _pagination.PageResponse.fromJSON(object.pagination) : undefined
|
|
117
|
-
};
|
|
118
|
-
},
|
|
119
|
-
toJSON: function toJSON(message) {
|
|
120
|
-
var obj = {};
|
|
121
|
-
if (message.accounts) {
|
|
122
|
-
obj.accounts = message.accounts.map(function (e) {
|
|
123
|
-
return e ? _any.Any.toJSON(e) : undefined;
|
|
124
|
-
});
|
|
125
|
-
} else {
|
|
126
|
-
obj.accounts = [];
|
|
127
|
-
}
|
|
128
|
-
message.pagination !== undefined && (obj.pagination = message.pagination ? _pagination.PageResponse.toJSON(message.pagination) : undefined);
|
|
129
|
-
return obj;
|
|
130
|
-
},
|
|
131
100
|
fromPartial: function fromPartial(object) {
|
|
132
101
|
var _object$accounts;
|
|
133
102
|
var message = createBaseQueryAccountsResponse();
|
|
@@ -169,16 +138,6 @@ var QueryAccountRequest = {
|
|
|
169
138
|
}
|
|
170
139
|
return message;
|
|
171
140
|
},
|
|
172
|
-
fromJSON: function fromJSON(object) {
|
|
173
|
-
return {
|
|
174
|
-
address: (0, _helpers.isSet)(object.address) ? String(object.address) : ""
|
|
175
|
-
};
|
|
176
|
-
},
|
|
177
|
-
toJSON: function toJSON(message) {
|
|
178
|
-
var obj = {};
|
|
179
|
-
message.address !== undefined && (obj.address = message.address);
|
|
180
|
-
return obj;
|
|
181
|
-
},
|
|
182
141
|
fromPartial: function fromPartial(object) {
|
|
183
142
|
var _object$address;
|
|
184
143
|
var message = createBaseQueryAccountRequest();
|
|
@@ -209,13 +168,6 @@ var QueryModuleAccountsRequest = {
|
|
|
209
168
|
}
|
|
210
169
|
return message;
|
|
211
170
|
},
|
|
212
|
-
fromJSON: function fromJSON(_) {
|
|
213
|
-
return {};
|
|
214
|
-
},
|
|
215
|
-
toJSON: function toJSON(_) {
|
|
216
|
-
var obj = {};
|
|
217
|
-
return obj;
|
|
218
|
-
},
|
|
219
171
|
fromPartial: function fromPartial(_) {
|
|
220
172
|
var message = createBaseQueryModuleAccountsRequest();
|
|
221
173
|
return message;
|
|
@@ -252,16 +204,6 @@ var QueryParamsResponse = {
|
|
|
252
204
|
}
|
|
253
205
|
return message;
|
|
254
206
|
},
|
|
255
|
-
fromJSON: function fromJSON(object) {
|
|
256
|
-
return {
|
|
257
|
-
params: (0, _helpers.isSet)(object.params) ? _auth.Params.fromJSON(object.params) : undefined
|
|
258
|
-
};
|
|
259
|
-
},
|
|
260
|
-
toJSON: function toJSON(message) {
|
|
261
|
-
var obj = {};
|
|
262
|
-
message.params !== undefined && (obj.params = message.params ? _auth.Params.toJSON(message.params) : undefined);
|
|
263
|
-
return obj;
|
|
264
|
-
},
|
|
265
207
|
fromPartial: function fromPartial(object) {
|
|
266
208
|
var message = createBaseQueryParamsResponse();
|
|
267
209
|
message.params = object.params !== undefined && object.params !== null ? _auth.Params.fromPartial(object.params) : undefined;
|
|
@@ -299,16 +241,6 @@ var QueryAccountResponse = {
|
|
|
299
241
|
}
|
|
300
242
|
return message;
|
|
301
243
|
},
|
|
302
|
-
fromJSON: function fromJSON(object) {
|
|
303
|
-
return {
|
|
304
|
-
account: (0, _helpers.isSet)(object.account) ? _any.Any.fromJSON(object.account) : undefined
|
|
305
|
-
};
|
|
306
|
-
},
|
|
307
|
-
toJSON: function toJSON(message) {
|
|
308
|
-
var obj = {};
|
|
309
|
-
message.account !== undefined && (obj.account = message.account ? _any.Any.toJSON(message.account) : undefined);
|
|
310
|
-
return obj;
|
|
311
|
-
},
|
|
312
244
|
fromPartial: function fromPartial(object) {
|
|
313
245
|
var message = createBaseQueryAccountResponse();
|
|
314
246
|
message.account = object.account !== undefined && object.account !== null ? _any.Any.fromPartial(object.account) : undefined;
|
|
@@ -338,13 +270,6 @@ var QueryParamsRequest = {
|
|
|
338
270
|
}
|
|
339
271
|
return message;
|
|
340
272
|
},
|
|
341
|
-
fromJSON: function fromJSON(_) {
|
|
342
|
-
return {};
|
|
343
|
-
},
|
|
344
|
-
toJSON: function toJSON(_) {
|
|
345
|
-
var obj = {};
|
|
346
|
-
return obj;
|
|
347
|
-
},
|
|
348
273
|
fromPartial: function fromPartial(_) {
|
|
349
274
|
var message = createBaseQueryParamsRequest();
|
|
350
275
|
return message;
|
|
@@ -390,24 +315,6 @@ var QueryModuleAccountsResponse = {
|
|
|
390
315
|
}
|
|
391
316
|
return message;
|
|
392
317
|
},
|
|
393
|
-
fromJSON: function fromJSON(object) {
|
|
394
|
-
return {
|
|
395
|
-
accounts: Array.isArray(object === null || object === void 0 ? void 0 : object.accounts) ? object.accounts.map(function (e) {
|
|
396
|
-
return _any.Any.fromJSON(e);
|
|
397
|
-
}) : []
|
|
398
|
-
};
|
|
399
|
-
},
|
|
400
|
-
toJSON: function toJSON(message) {
|
|
401
|
-
var obj = {};
|
|
402
|
-
if (message.accounts) {
|
|
403
|
-
obj.accounts = message.accounts.map(function (e) {
|
|
404
|
-
return e ? _any.Any.toJSON(e) : undefined;
|
|
405
|
-
});
|
|
406
|
-
} else {
|
|
407
|
-
obj.accounts = [];
|
|
408
|
-
}
|
|
409
|
-
return obj;
|
|
410
|
-
},
|
|
411
318
|
fromPartial: function fromPartial(object) {
|
|
412
319
|
var _object$accounts2;
|
|
413
320
|
var message = createBaseQueryModuleAccountsResponse();
|
|
@@ -440,13 +347,6 @@ var Bech32PrefixRequest = {
|
|
|
440
347
|
}
|
|
441
348
|
return message;
|
|
442
349
|
},
|
|
443
|
-
fromJSON: function fromJSON(_) {
|
|
444
|
-
return {};
|
|
445
|
-
},
|
|
446
|
-
toJSON: function toJSON(_) {
|
|
447
|
-
var obj = {};
|
|
448
|
-
return obj;
|
|
449
|
-
},
|
|
450
350
|
fromPartial: function fromPartial(_) {
|
|
451
351
|
var message = createBaseBech32PrefixRequest();
|
|
452
352
|
return message;
|
|
@@ -483,16 +383,6 @@ var Bech32PrefixResponse = {
|
|
|
483
383
|
}
|
|
484
384
|
return message;
|
|
485
385
|
},
|
|
486
|
-
fromJSON: function fromJSON(object) {
|
|
487
|
-
return {
|
|
488
|
-
bech32Prefix: (0, _helpers.isSet)(object.bech32Prefix) ? String(object.bech32Prefix) : ""
|
|
489
|
-
};
|
|
490
|
-
},
|
|
491
|
-
toJSON: function toJSON(message) {
|
|
492
|
-
var obj = {};
|
|
493
|
-
message.bech32Prefix !== undefined && (obj.bech32Prefix = message.bech32Prefix);
|
|
494
|
-
return obj;
|
|
495
|
-
},
|
|
496
386
|
fromPartial: function fromPartial(object) {
|
|
497
387
|
var _object$bech32Prefix;
|
|
498
388
|
var message = createBaseBech32PrefixResponse();
|
|
@@ -531,16 +421,6 @@ var AddressBytesToStringRequest = {
|
|
|
531
421
|
}
|
|
532
422
|
return message;
|
|
533
423
|
},
|
|
534
|
-
fromJSON: function fromJSON(object) {
|
|
535
|
-
return {
|
|
536
|
-
addressBytes: (0, _helpers.isSet)(object.addressBytes) ? (0, _helpers.bytesFromBase64)(object.addressBytes) : new Uint8Array()
|
|
537
|
-
};
|
|
538
|
-
},
|
|
539
|
-
toJSON: function toJSON(message) {
|
|
540
|
-
var obj = {};
|
|
541
|
-
message.addressBytes !== undefined && (obj.addressBytes = (0, _helpers.base64FromBytes)(message.addressBytes !== undefined ? message.addressBytes : new Uint8Array()));
|
|
542
|
-
return obj;
|
|
543
|
-
},
|
|
544
424
|
fromPartial: function fromPartial(object) {
|
|
545
425
|
var _object$addressBytes;
|
|
546
426
|
var message = createBaseAddressBytesToStringRequest();
|
|
@@ -579,16 +459,6 @@ var AddressBytesToStringResponse = {
|
|
|
579
459
|
}
|
|
580
460
|
return message;
|
|
581
461
|
},
|
|
582
|
-
fromJSON: function fromJSON(object) {
|
|
583
|
-
return {
|
|
584
|
-
addressString: (0, _helpers.isSet)(object.addressString) ? String(object.addressString) : ""
|
|
585
|
-
};
|
|
586
|
-
},
|
|
587
|
-
toJSON: function toJSON(message) {
|
|
588
|
-
var obj = {};
|
|
589
|
-
message.addressString !== undefined && (obj.addressString = message.addressString);
|
|
590
|
-
return obj;
|
|
591
|
-
},
|
|
592
462
|
fromPartial: function fromPartial(object) {
|
|
593
463
|
var _object$addressString;
|
|
594
464
|
var message = createBaseAddressBytesToStringResponse();
|
|
@@ -627,16 +497,6 @@ var AddressStringToBytesRequest = {
|
|
|
627
497
|
}
|
|
628
498
|
return message;
|
|
629
499
|
},
|
|
630
|
-
fromJSON: function fromJSON(object) {
|
|
631
|
-
return {
|
|
632
|
-
addressString: (0, _helpers.isSet)(object.addressString) ? String(object.addressString) : ""
|
|
633
|
-
};
|
|
634
|
-
},
|
|
635
|
-
toJSON: function toJSON(message) {
|
|
636
|
-
var obj = {};
|
|
637
|
-
message.addressString !== undefined && (obj.addressString = message.addressString);
|
|
638
|
-
return obj;
|
|
639
|
-
},
|
|
640
500
|
fromPartial: function fromPartial(object) {
|
|
641
501
|
var _object$addressString2;
|
|
642
502
|
var message = createBaseAddressStringToBytesRequest();
|
|
@@ -675,16 +535,6 @@ var AddressStringToBytesResponse = {
|
|
|
675
535
|
}
|
|
676
536
|
return message;
|
|
677
537
|
},
|
|
678
|
-
fromJSON: function fromJSON(object) {
|
|
679
|
-
return {
|
|
680
|
-
addressBytes: (0, _helpers.isSet)(object.addressBytes) ? (0, _helpers.bytesFromBase64)(object.addressBytes) : new Uint8Array()
|
|
681
|
-
};
|
|
682
|
-
},
|
|
683
|
-
toJSON: function toJSON(message) {
|
|
684
|
-
var obj = {};
|
|
685
|
-
message.addressBytes !== undefined && (obj.addressBytes = (0, _helpers.base64FromBytes)(message.addressBytes !== undefined ? message.addressBytes : new Uint8Array()));
|
|
686
|
-
return obj;
|
|
687
|
-
},
|
|
688
538
|
fromPartial: function fromPartial(object) {
|
|
689
539
|
var _object$addressBytes2;
|
|
690
540
|
var message = createBaseAddressStringToBytesResponse();
|
|
@@ -44,16 +44,6 @@ var GenericAuthorization = {
|
|
|
44
44
|
}
|
|
45
45
|
return message;
|
|
46
46
|
},
|
|
47
|
-
fromJSON: function fromJSON(object) {
|
|
48
|
-
return {
|
|
49
|
-
msg: (0, _helpers.isSet)(object.msg) ? String(object.msg) : ""
|
|
50
|
-
};
|
|
51
|
-
},
|
|
52
|
-
toJSON: function toJSON(message) {
|
|
53
|
-
var obj = {};
|
|
54
|
-
message.msg !== undefined && (obj.msg = message.msg);
|
|
55
|
-
return obj;
|
|
56
|
-
},
|
|
57
47
|
fromPartial: function fromPartial(object) {
|
|
58
48
|
var _object$msg;
|
|
59
49
|
var message = createBaseGenericAuthorization();
|
|
@@ -75,7 +65,7 @@ var Grant = {
|
|
|
75
65
|
_any.Any.encode(message.authorization, writer.uint32(10).fork()).ldelim();
|
|
76
66
|
}
|
|
77
67
|
if (message.expiration !== undefined) {
|
|
78
|
-
_timestamp.Timestamp.encode(message.expiration, writer.uint32(18).fork()).ldelim();
|
|
68
|
+
_timestamp.Timestamp.encode((0, _helpers.toTimestamp)(message.expiration), writer.uint32(18).fork()).ldelim();
|
|
79
69
|
}
|
|
80
70
|
return writer;
|
|
81
71
|
},
|
|
@@ -90,7 +80,7 @@ var Grant = {
|
|
|
90
80
|
message.authorization = _any.Any.decode(reader, reader.uint32());
|
|
91
81
|
break;
|
|
92
82
|
case 2:
|
|
93
|
-
message.expiration = _timestamp.Timestamp.decode(reader, reader.uint32());
|
|
83
|
+
message.expiration = (0, _helpers.fromTimestamp)(_timestamp.Timestamp.decode(reader, reader.uint32()));
|
|
94
84
|
break;
|
|
95
85
|
default:
|
|
96
86
|
reader.skipType(tag & 7);
|
|
@@ -99,22 +89,11 @@ var Grant = {
|
|
|
99
89
|
}
|
|
100
90
|
return message;
|
|
101
91
|
},
|
|
102
|
-
fromJSON: function fromJSON(object) {
|
|
103
|
-
return {
|
|
104
|
-
authorization: (0, _helpers.isSet)(object.authorization) ? _any.Any.fromJSON(object.authorization) : undefined,
|
|
105
|
-
expiration: (0, _helpers.isSet)(object.expiration) ? (0, _helpers.fromJsonTimestamp)(object.expiration) : undefined
|
|
106
|
-
};
|
|
107
|
-
},
|
|
108
|
-
toJSON: function toJSON(message) {
|
|
109
|
-
var obj = {};
|
|
110
|
-
message.authorization !== undefined && (obj.authorization = message.authorization ? _any.Any.toJSON(message.authorization) : undefined);
|
|
111
|
-
message.expiration !== undefined && (obj.expiration = (0, _helpers.fromTimestamp)(message.expiration).toISOString());
|
|
112
|
-
return obj;
|
|
113
|
-
},
|
|
114
92
|
fromPartial: function fromPartial(object) {
|
|
93
|
+
var _object$expiration;
|
|
115
94
|
var message = createBaseGrant();
|
|
116
95
|
message.authorization = object.authorization !== undefined && object.authorization !== null ? _any.Any.fromPartial(object.authorization) : undefined;
|
|
117
|
-
message.expiration = object.expiration !==
|
|
96
|
+
message.expiration = (_object$expiration = object.expiration) !== null && _object$expiration !== void 0 ? _object$expiration : undefined;
|
|
118
97
|
return message;
|
|
119
98
|
}
|
|
120
99
|
};
|
|
@@ -140,7 +119,7 @@ var GrantAuthorization = {
|
|
|
140
119
|
_any.Any.encode(message.authorization, writer.uint32(26).fork()).ldelim();
|
|
141
120
|
}
|
|
142
121
|
if (message.expiration !== undefined) {
|
|
143
|
-
_timestamp.Timestamp.encode(message.expiration, writer.uint32(34).fork()).ldelim();
|
|
122
|
+
_timestamp.Timestamp.encode((0, _helpers.toTimestamp)(message.expiration), writer.uint32(34).fork()).ldelim();
|
|
144
123
|
}
|
|
145
124
|
return writer;
|
|
146
125
|
},
|
|
@@ -161,7 +140,7 @@ var GrantAuthorization = {
|
|
|
161
140
|
message.authorization = _any.Any.decode(reader, reader.uint32());
|
|
162
141
|
break;
|
|
163
142
|
case 4:
|
|
164
|
-
message.expiration = _timestamp.Timestamp.decode(reader, reader.uint32());
|
|
143
|
+
message.expiration = (0, _helpers.fromTimestamp)(_timestamp.Timestamp.decode(reader, reader.uint32()));
|
|
165
144
|
break;
|
|
166
145
|
default:
|
|
167
146
|
reader.skipType(tag & 7);
|
|
@@ -170,29 +149,13 @@ var GrantAuthorization = {
|
|
|
170
149
|
}
|
|
171
150
|
return message;
|
|
172
151
|
},
|
|
173
|
-
fromJSON: function fromJSON(object) {
|
|
174
|
-
return {
|
|
175
|
-
granter: (0, _helpers.isSet)(object.granter) ? String(object.granter) : "",
|
|
176
|
-
grantee: (0, _helpers.isSet)(object.grantee) ? String(object.grantee) : "",
|
|
177
|
-
authorization: (0, _helpers.isSet)(object.authorization) ? _any.Any.fromJSON(object.authorization) : undefined,
|
|
178
|
-
expiration: (0, _helpers.isSet)(object.expiration) ? (0, _helpers.fromJsonTimestamp)(object.expiration) : undefined
|
|
179
|
-
};
|
|
180
|
-
},
|
|
181
|
-
toJSON: function toJSON(message) {
|
|
182
|
-
var obj = {};
|
|
183
|
-
message.granter !== undefined && (obj.granter = message.granter);
|
|
184
|
-
message.grantee !== undefined && (obj.grantee = message.grantee);
|
|
185
|
-
message.authorization !== undefined && (obj.authorization = message.authorization ? _any.Any.toJSON(message.authorization) : undefined);
|
|
186
|
-
message.expiration !== undefined && (obj.expiration = (0, _helpers.fromTimestamp)(message.expiration).toISOString());
|
|
187
|
-
return obj;
|
|
188
|
-
},
|
|
189
152
|
fromPartial: function fromPartial(object) {
|
|
190
|
-
var _object$granter, _object$grantee;
|
|
153
|
+
var _object$granter, _object$grantee, _object$expiration2;
|
|
191
154
|
var message = createBaseGrantAuthorization();
|
|
192
155
|
message.granter = (_object$granter = object.granter) !== null && _object$granter !== void 0 ? _object$granter : "";
|
|
193
156
|
message.grantee = (_object$grantee = object.grantee) !== null && _object$grantee !== void 0 ? _object$grantee : "";
|
|
194
157
|
message.authorization = object.authorization !== undefined && object.authorization !== null ? _any.Any.fromPartial(object.authorization) : undefined;
|
|
195
|
-
message.expiration = object.expiration !==
|
|
158
|
+
message.expiration = (_object$expiration2 = object.expiration) !== null && _object$expiration2 !== void 0 ? _object$expiration2 : undefined;
|
|
196
159
|
return message;
|
|
197
160
|
}
|
|
198
161
|
};
|
|
@@ -236,24 +199,6 @@ var GrantQueueItem = {
|
|
|
236
199
|
}
|
|
237
200
|
return message;
|
|
238
201
|
},
|
|
239
|
-
fromJSON: function fromJSON(object) {
|
|
240
|
-
return {
|
|
241
|
-
msgTypeUrls: Array.isArray(object === null || object === void 0 ? void 0 : object.msgTypeUrls) ? object.msgTypeUrls.map(function (e) {
|
|
242
|
-
return String(e);
|
|
243
|
-
}) : []
|
|
244
|
-
};
|
|
245
|
-
},
|
|
246
|
-
toJSON: function toJSON(message) {
|
|
247
|
-
var obj = {};
|
|
248
|
-
if (message.msgTypeUrls) {
|
|
249
|
-
obj.msgTypeUrls = message.msgTypeUrls.map(function (e) {
|
|
250
|
-
return e;
|
|
251
|
-
});
|
|
252
|
-
} else {
|
|
253
|
-
obj.msgTypeUrls = [];
|
|
254
|
-
}
|
|
255
|
-
return obj;
|
|
256
|
-
},
|
|
257
202
|
fromPartial: function fromPartial(object) {
|
|
258
203
|
var _object$msgTypeUrls;
|
|
259
204
|
var message = createBaseGrantQueueItem();
|
|
@@ -6,7 +6,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.EventRevoke = exports.EventGrant = void 0;
|
|
8
8
|
var _m0 = _interopRequireWildcard(require("protobufjs/minimal"));
|
|
9
|
-
var _helpers = require("../../../helpers");
|
|
10
9
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
11
10
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
12
11
|
function createBaseEventGrant() {
|
|
@@ -53,20 +52,6 @@ var EventGrant = {
|
|
|
53
52
|
}
|
|
54
53
|
return message;
|
|
55
54
|
},
|
|
56
|
-
fromJSON: function fromJSON(object) {
|
|
57
|
-
return {
|
|
58
|
-
msgTypeUrl: (0, _helpers.isSet)(object.msgTypeUrl) ? String(object.msgTypeUrl) : "",
|
|
59
|
-
granter: (0, _helpers.isSet)(object.granter) ? String(object.granter) : "",
|
|
60
|
-
grantee: (0, _helpers.isSet)(object.grantee) ? String(object.grantee) : ""
|
|
61
|
-
};
|
|
62
|
-
},
|
|
63
|
-
toJSON: function toJSON(message) {
|
|
64
|
-
var obj = {};
|
|
65
|
-
message.msgTypeUrl !== undefined && (obj.msgTypeUrl = message.msgTypeUrl);
|
|
66
|
-
message.granter !== undefined && (obj.granter = message.granter);
|
|
67
|
-
message.grantee !== undefined && (obj.grantee = message.grantee);
|
|
68
|
-
return obj;
|
|
69
|
-
},
|
|
70
55
|
fromPartial: function fromPartial(object) {
|
|
71
56
|
var _object$msgTypeUrl, _object$granter, _object$grantee;
|
|
72
57
|
var message = createBaseEventGrant();
|
|
@@ -121,20 +106,6 @@ var EventRevoke = {
|
|
|
121
106
|
}
|
|
122
107
|
return message;
|
|
123
108
|
},
|
|
124
|
-
fromJSON: function fromJSON(object) {
|
|
125
|
-
return {
|
|
126
|
-
msgTypeUrl: (0, _helpers.isSet)(object.msgTypeUrl) ? String(object.msgTypeUrl) : "",
|
|
127
|
-
granter: (0, _helpers.isSet)(object.granter) ? String(object.granter) : "",
|
|
128
|
-
grantee: (0, _helpers.isSet)(object.grantee) ? String(object.grantee) : ""
|
|
129
|
-
};
|
|
130
|
-
},
|
|
131
|
-
toJSON: function toJSON(message) {
|
|
132
|
-
var obj = {};
|
|
133
|
-
message.msgTypeUrl !== undefined && (obj.msgTypeUrl = message.msgTypeUrl);
|
|
134
|
-
message.granter !== undefined && (obj.granter = message.granter);
|
|
135
|
-
message.grantee !== undefined && (obj.grantee = message.grantee);
|
|
136
|
-
return obj;
|
|
137
|
-
},
|
|
138
109
|
fromPartial: function fromPartial(object) {
|
|
139
110
|
var _object$msgTypeUrl2, _object$granter2, _object$grantee2;
|
|
140
111
|
var message = createBaseEventRevoke();
|
|
@@ -51,24 +51,6 @@ var GenesisState = {
|
|
|
51
51
|
}
|
|
52
52
|
return message;
|
|
53
53
|
},
|
|
54
|
-
fromJSON: function fromJSON(object) {
|
|
55
|
-
return {
|
|
56
|
-
authorization: Array.isArray(object === null || object === void 0 ? void 0 : object.authorization) ? object.authorization.map(function (e) {
|
|
57
|
-
return _authz.GrantAuthorization.fromJSON(e);
|
|
58
|
-
}) : []
|
|
59
|
-
};
|
|
60
|
-
},
|
|
61
|
-
toJSON: function toJSON(message) {
|
|
62
|
-
var obj = {};
|
|
63
|
-
if (message.authorization) {
|
|
64
|
-
obj.authorization = message.authorization.map(function (e) {
|
|
65
|
-
return e ? _authz.GrantAuthorization.toJSON(e) : undefined;
|
|
66
|
-
});
|
|
67
|
-
} else {
|
|
68
|
-
obj.authorization = [];
|
|
69
|
-
}
|
|
70
|
-
return obj;
|
|
71
|
-
},
|
|
72
54
|
fromPartial: function fromPartial(object) {
|
|
73
55
|
var _object$authorization;
|
|
74
56
|
var message = createBaseGenesisState();
|
|
@@ -8,7 +8,6 @@ exports.QueryGrantsResponse = exports.QueryGrantsRequest = exports.QueryGranterG
|
|
|
8
8
|
var _pagination = require("../../base/query/v1beta1/pagination");
|
|
9
9
|
var _authz = require("./authz");
|
|
10
10
|
var _m0 = _interopRequireWildcard(require("protobufjs/minimal"));
|
|
11
|
-
var _helpers = require("../../../helpers");
|
|
12
11
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
13
12
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
14
13
|
function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
|
|
@@ -65,22 +64,6 @@ var QueryGrantsRequest = {
|
|
|
65
64
|
}
|
|
66
65
|
return message;
|
|
67
66
|
},
|
|
68
|
-
fromJSON: function fromJSON(object) {
|
|
69
|
-
return {
|
|
70
|
-
granter: (0, _helpers.isSet)(object.granter) ? String(object.granter) : "",
|
|
71
|
-
grantee: (0, _helpers.isSet)(object.grantee) ? String(object.grantee) : "",
|
|
72
|
-
msgTypeUrl: (0, _helpers.isSet)(object.msgTypeUrl) ? String(object.msgTypeUrl) : "",
|
|
73
|
-
pagination: (0, _helpers.isSet)(object.pagination) ? _pagination.PageRequest.fromJSON(object.pagination) : undefined
|
|
74
|
-
};
|
|
75
|
-
},
|
|
76
|
-
toJSON: function toJSON(message) {
|
|
77
|
-
var obj = {};
|
|
78
|
-
message.granter !== undefined && (obj.granter = message.granter);
|
|
79
|
-
message.grantee !== undefined && (obj.grantee = message.grantee);
|
|
80
|
-
message.msgTypeUrl !== undefined && (obj.msgTypeUrl = message.msgTypeUrl);
|
|
81
|
-
message.pagination !== undefined && (obj.pagination = message.pagination ? _pagination.PageRequest.toJSON(message.pagination) : undefined);
|
|
82
|
-
return obj;
|
|
83
|
-
},
|
|
84
67
|
fromPartial: function fromPartial(object) {
|
|
85
68
|
var _object$granter, _object$grantee, _object$msgTypeUrl;
|
|
86
69
|
var message = createBaseQueryGrantsRequest();
|
|
@@ -138,26 +121,6 @@ var QueryGrantsResponse = {
|
|
|
138
121
|
}
|
|
139
122
|
return message;
|
|
140
123
|
},
|
|
141
|
-
fromJSON: function fromJSON(object) {
|
|
142
|
-
return {
|
|
143
|
-
grants: Array.isArray(object === null || object === void 0 ? void 0 : object.grants) ? object.grants.map(function (e) {
|
|
144
|
-
return _authz.Grant.fromJSON(e);
|
|
145
|
-
}) : [],
|
|
146
|
-
pagination: (0, _helpers.isSet)(object.pagination) ? _pagination.PageResponse.fromJSON(object.pagination) : undefined
|
|
147
|
-
};
|
|
148
|
-
},
|
|
149
|
-
toJSON: function toJSON(message) {
|
|
150
|
-
var obj = {};
|
|
151
|
-
if (message.grants) {
|
|
152
|
-
obj.grants = message.grants.map(function (e) {
|
|
153
|
-
return e ? _authz.Grant.toJSON(e) : undefined;
|
|
154
|
-
});
|
|
155
|
-
} else {
|
|
156
|
-
obj.grants = [];
|
|
157
|
-
}
|
|
158
|
-
message.pagination !== undefined && (obj.pagination = message.pagination ? _pagination.PageResponse.toJSON(message.pagination) : undefined);
|
|
159
|
-
return obj;
|
|
160
|
-
},
|
|
161
124
|
fromPartial: function fromPartial(object) {
|
|
162
125
|
var _object$grants;
|
|
163
126
|
var message = createBaseQueryGrantsResponse();
|
|
@@ -206,18 +169,6 @@ var QueryGranterGrantsRequest = {
|
|
|
206
169
|
}
|
|
207
170
|
return message;
|
|
208
171
|
},
|
|
209
|
-
fromJSON: function fromJSON(object) {
|
|
210
|
-
return {
|
|
211
|
-
granter: (0, _helpers.isSet)(object.granter) ? String(object.granter) : "",
|
|
212
|
-
pagination: (0, _helpers.isSet)(object.pagination) ? _pagination.PageRequest.fromJSON(object.pagination) : undefined
|
|
213
|
-
};
|
|
214
|
-
},
|
|
215
|
-
toJSON: function toJSON(message) {
|
|
216
|
-
var obj = {};
|
|
217
|
-
message.granter !== undefined && (obj.granter = message.granter);
|
|
218
|
-
message.pagination !== undefined && (obj.pagination = message.pagination ? _pagination.PageRequest.toJSON(message.pagination) : undefined);
|
|
219
|
-
return obj;
|
|
220
|
-
},
|
|
221
172
|
fromPartial: function fromPartial(object) {
|
|
222
173
|
var _object$granter2;
|
|
223
174
|
var message = createBaseQueryGranterGrantsRequest();
|
|
@@ -273,26 +224,6 @@ var QueryGranterGrantsResponse = {
|
|
|
273
224
|
}
|
|
274
225
|
return message;
|
|
275
226
|
},
|
|
276
|
-
fromJSON: function fromJSON(object) {
|
|
277
|
-
return {
|
|
278
|
-
grants: Array.isArray(object === null || object === void 0 ? void 0 : object.grants) ? object.grants.map(function (e) {
|
|
279
|
-
return _authz.GrantAuthorization.fromJSON(e);
|
|
280
|
-
}) : [],
|
|
281
|
-
pagination: (0, _helpers.isSet)(object.pagination) ? _pagination.PageResponse.fromJSON(object.pagination) : undefined
|
|
282
|
-
};
|
|
283
|
-
},
|
|
284
|
-
toJSON: function toJSON(message) {
|
|
285
|
-
var obj = {};
|
|
286
|
-
if (message.grants) {
|
|
287
|
-
obj.grants = message.grants.map(function (e) {
|
|
288
|
-
return e ? _authz.GrantAuthorization.toJSON(e) : undefined;
|
|
289
|
-
});
|
|
290
|
-
} else {
|
|
291
|
-
obj.grants = [];
|
|
292
|
-
}
|
|
293
|
-
message.pagination !== undefined && (obj.pagination = message.pagination ? _pagination.PageResponse.toJSON(message.pagination) : undefined);
|
|
294
|
-
return obj;
|
|
295
|
-
},
|
|
296
227
|
fromPartial: function fromPartial(object) {
|
|
297
228
|
var _object$grants2;
|
|
298
229
|
var message = createBaseQueryGranterGrantsResponse();
|
|
@@ -341,18 +272,6 @@ var QueryGranteeGrantsRequest = {
|
|
|
341
272
|
}
|
|
342
273
|
return message;
|
|
343
274
|
},
|
|
344
|
-
fromJSON: function fromJSON(object) {
|
|
345
|
-
return {
|
|
346
|
-
grantee: (0, _helpers.isSet)(object.grantee) ? String(object.grantee) : "",
|
|
347
|
-
pagination: (0, _helpers.isSet)(object.pagination) ? _pagination.PageRequest.fromJSON(object.pagination) : undefined
|
|
348
|
-
};
|
|
349
|
-
},
|
|
350
|
-
toJSON: function toJSON(message) {
|
|
351
|
-
var obj = {};
|
|
352
|
-
message.grantee !== undefined && (obj.grantee = message.grantee);
|
|
353
|
-
message.pagination !== undefined && (obj.pagination = message.pagination ? _pagination.PageRequest.toJSON(message.pagination) : undefined);
|
|
354
|
-
return obj;
|
|
355
|
-
},
|
|
356
275
|
fromPartial: function fromPartial(object) {
|
|
357
276
|
var _object$grantee2;
|
|
358
277
|
var message = createBaseQueryGranteeGrantsRequest();
|
|
@@ -408,26 +327,6 @@ var QueryGranteeGrantsResponse = {
|
|
|
408
327
|
}
|
|
409
328
|
return message;
|
|
410
329
|
},
|
|
411
|
-
fromJSON: function fromJSON(object) {
|
|
412
|
-
return {
|
|
413
|
-
grants: Array.isArray(object === null || object === void 0 ? void 0 : object.grants) ? object.grants.map(function (e) {
|
|
414
|
-
return _authz.GrantAuthorization.fromJSON(e);
|
|
415
|
-
}) : [],
|
|
416
|
-
pagination: (0, _helpers.isSet)(object.pagination) ? _pagination.PageResponse.fromJSON(object.pagination) : undefined
|
|
417
|
-
};
|
|
418
|
-
},
|
|
419
|
-
toJSON: function toJSON(message) {
|
|
420
|
-
var obj = {};
|
|
421
|
-
if (message.grants) {
|
|
422
|
-
obj.grants = message.grants.map(function (e) {
|
|
423
|
-
return e ? _authz.GrantAuthorization.toJSON(e) : undefined;
|
|
424
|
-
});
|
|
425
|
-
} else {
|
|
426
|
-
obj.grants = [];
|
|
427
|
-
}
|
|
428
|
-
message.pagination !== undefined && (obj.pagination = message.pagination ? _pagination.PageResponse.toJSON(message.pagination) : undefined);
|
|
429
|
-
return obj;
|
|
430
|
-
},
|
|
431
330
|
fromPartial: function fromPartial(object) {
|
|
432
331
|
var _object$grants3;
|
|
433
332
|
var message = createBaseQueryGranteeGrantsResponse();
|