@sparkdreamnft/sparkdreamjs 0.0.6 → 0.0.8
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/binary.d.ts +1 -1
- package/binary.js +1 -1
- package/cosmos/app/runtime/v1alpha1/module.d.ts +75 -10
- package/cosmos/app/runtime/v1alpha1/module.js +44 -1
- package/cosmos/app/v1alpha1/module.d.ts +55 -6
- package/cosmos/app/v1alpha1/module.js +19 -0
- package/cosmos/auth/module/v1/module.d.ts +72 -12
- package/cosmos/auth/module/v1/module.js +25 -1
- package/cosmos/auth/v1beta1/auth.d.ts +68 -10
- package/cosmos/auth/v1beta1/auth.js +26 -0
- package/cosmos/auth/v1beta1/genesis.d.ts +30 -6
- package/cosmos/auth/v1beta1/genesis.js +6 -0
- package/cosmos/auth/v1beta1/query.d.ts +334 -92
- package/cosmos/auth/v1beta1/query.js +120 -0
- package/cosmos/auth/v1beta1/query.lcd.js +7 -21
- package/cosmos/auth/v1beta1/query.rpc.Query.d.ts +6 -32
- package/cosmos/auth/v1beta1/query.rpc.Query.js +7 -21
- package/cosmos/auth/v1beta1/tx.d.ts +31 -10
- package/cosmos/auth/v1beta1/tx.js +13 -0
- package/cosmos/auth/v1beta1/tx.rpc.msg.d.ts +0 -2
- package/cosmos/auth/v1beta1/tx.rpc.msg.js +1 -3
- package/cosmos/authz/module/v1/module.d.ts +18 -2
- package/cosmos/authz/module/v1/module.js +6 -0
- package/cosmos/authz/v1beta1/authz.d.ts +69 -6
- package/cosmos/authz/v1beta1/authz.js +27 -0
- package/cosmos/authz/v1beta1/event.d.ts +72 -16
- package/cosmos/authz/v1beta1/event.js +12 -0
- package/cosmos/authz/v1beta1/genesis.d.ts +18 -2
- package/cosmos/authz/v1beta1/genesis.js +6 -0
- package/cosmos/authz/v1beta1/query.d.ts +168 -32
- package/cosmos/authz/v1beta1/query.js +36 -0
- package/cosmos/authz/v1beta1/query.lcd.js +2 -6
- package/cosmos/authz/v1beta1/query.rpc.Query.d.ts +2 -10
- package/cosmos/authz/v1beta1/query.rpc.Query.js +2 -6
- package/cosmos/authz/v1beta1/tx.d.ts +94 -6
- package/cosmos/authz/v1beta1/tx.js +40 -0
- package/cosmos/bank/module/v1/module.d.ts +24 -4
- package/cosmos/bank/module/v1/module.js +6 -0
- package/cosmos/bank/v1beta1/authz.d.ts +13 -8
- package/cosmos/bank/v1beta1/authz.js +7 -0
- package/cosmos/bank/v1beta1/bank.d.ts +136 -34
- package/cosmos/bank/v1beta1/bank.js +48 -0
- package/cosmos/bank/v1beta1/genesis.d.ts +61 -16
- package/cosmos/bank/v1beta1/genesis.js +13 -0
- package/cosmos/bank/v1beta1/query.d.ts +599 -138
- package/cosmos/bank/v1beta1/query.js +179 -0
- package/cosmos/bank/v1beta1/query.lcd.d.ts +2 -2
- package/cosmos/bank/v1beta1/query.lcd.js +28 -29
- package/cosmos/bank/v1beta1/query.rpc.Query.d.ts +7 -17
- package/cosmos/bank/v1beta1/query.rpc.Query.js +17 -27
- package/cosmos/bank/v1beta1/tx.d.ts +143 -30
- package/cosmos/bank/v1beta1/tx.js +53 -0
- package/cosmos/bank/v1beta1/tx.rpc.msg.d.ts +0 -4
- package/cosmos/bank/v1beta1/tx.rpc.msg.js +2 -6
- package/cosmos/base/abci/v1beta1/abci.d.ts +331 -80
- package/cosmos/base/abci/v1beta1/abci.js +73 -0
- package/cosmos/base/node/v1beta1/query.d.ts +102 -18
- package/cosmos/base/node/v1beta1/query.js +24 -0
- package/cosmos/base/query/v1beta1/pagination.d.ts +36 -4
- package/cosmos/base/query/v1beta1/pagination.js +24 -0
- package/cosmos/base/reflection/v2alpha1/reflection.d.ts +613 -98
- package/cosmos/base/reflection/v2alpha1/reflection.js +163 -0
- package/cosmos/base/v1beta1/coin.d.ts +56 -0
- package/cosmos/base/v1beta1/coin.js +32 -0
- package/cosmos/benchmark/module/v1/module.d.ts +102 -26
- package/cosmos/benchmark/module/v1/module.js +12 -0
- package/cosmos/benchmark/v1/benchmark.d.ts +18 -2
- package/cosmos/benchmark/v1/benchmark.js +6 -0
- package/cosmos/benchmark/v1/tx.d.ts +36 -4
- package/cosmos/benchmark/v1/tx.js +12 -0
- package/cosmos/bundle.d.ts +2284 -2422
- package/cosmos/bundle.js +242 -261
- package/cosmos/circuit/module/v1/module.d.ts +24 -4
- package/cosmos/circuit/module/v1/module.js +6 -0
- package/cosmos/circuit/v1/query.d.ts +120 -16
- package/cosmos/circuit/v1/query.js +36 -0
- package/cosmos/circuit/v1/tx.d.ts +126 -18
- package/cosmos/circuit/v1/tx.js +36 -0
- package/cosmos/circuit/v1/types.d.ts +55 -6
- package/cosmos/circuit/v1/types.js +19 -0
- package/cosmos/consensus/module/v1/module.d.ts +24 -4
- package/cosmos/consensus/module/v1/module.js +6 -0
- package/cosmos/consensus/v1/query.d.ts +36 -4
- package/cosmos/consensus/v1/query.js +12 -0
- package/cosmos/consensus/v1/tx.d.ts +37 -6
- package/cosmos/consensus/v1/tx.js +13 -0
- package/cosmos/consensus/v1/tx.rpc.msg.d.ts +0 -2
- package/cosmos/consensus/v1/tx.rpc.msg.js +1 -3
- package/cosmos/counter/module/v1/module.d.ts +24 -4
- package/cosmos/counter/module/v1/module.js +6 -0
- package/cosmos/counter/v1/query.d.ts +36 -4
- package/cosmos/counter/v1/query.js +12 -0
- package/cosmos/counter/v1/tx.d.ts +54 -10
- package/cosmos/counter/v1/tx.js +12 -0
- package/cosmos/crisis/module/v1/module.d.ts +30 -6
- package/cosmos/crisis/module/v1/module.js +6 -0
- package/cosmos/crypto/ed25519/keys.d.ts +29 -0
- package/cosmos/crypto/ed25519/keys.js +17 -0
- package/cosmos/crypto/hd/v1/hd.d.ts +42 -10
- package/cosmos/crypto/hd/v1/hd.js +6 -0
- package/cosmos/crypto/keyring/v1/record.d.ts +121 -20
- package/cosmos/crypto/keyring/v1/record.js +31 -0
- package/cosmos/crypto/multisig/keys.d.ts +14 -0
- package/cosmos/crypto/multisig/keys.js +8 -0
- package/cosmos/crypto/multisig/v1beta1/multisig.d.ts +29 -0
- package/cosmos/crypto/multisig/v1beta1/multisig.js +17 -0
- package/cosmos/crypto/secp256k1/keys.d.ts +34 -2
- package/cosmos/crypto/secp256k1/keys.js +16 -0
- package/cosmos/crypto/secp256r1/keys.d.ts +42 -6
- package/cosmos/crypto/secp256r1/keys.js +12 -0
- package/cosmos/distribution/module/v1/module.d.ts +24 -4
- package/cosmos/distribution/module/v1/module.js +6 -0
- package/cosmos/distribution/v1beta1/distribution.d.ts +201 -12
- package/cosmos/distribution/v1beta1/distribution.js +105 -0
- package/cosmos/distribution/v1beta1/genesis.d.ts +298 -66
- package/cosmos/distribution/v1beta1/genesis.js +52 -0
- package/cosmos/distribution/v1beta1/query.d.ts +430 -58
- package/cosmos/distribution/v1beta1/query.js +136 -0
- package/cosmos/distribution/v1beta1/query.lcd.js +3 -1
- package/cosmos/distribution/v1beta1/query.rpc.Query.d.ts +5 -1
- package/cosmos/distribution/v1beta1/query.rpc.Query.js +3 -1
- package/cosmos/distribution/v1beta1/tx.d.ts +199 -34
- package/cosmos/distribution/v1beta1/tx.js +97 -0
- package/cosmos/distribution/v1beta1/tx.rpc.msg.d.ts +3 -5
- package/cosmos/distribution/v1beta1/tx.rpc.msg.js +6 -8
- package/cosmos/epochs/module/v1/module.d.ts +18 -2
- package/cosmos/epochs/module/v1/module.js +6 -0
- package/cosmos/epochs/v1beta1/events.d.ts +36 -4
- package/cosmos/epochs/v1beta1/events.js +12 -0
- package/cosmos/epochs/v1beta1/genesis.d.ts +37 -4
- package/cosmos/epochs/v1beta1/genesis.js +13 -0
- package/cosmos/epochs/v1beta1/query.d.ts +52 -0
- package/cosmos/epochs/v1beta1/query.js +28 -0
- package/cosmos/evidence/module/v1/module.d.ts +18 -2
- package/cosmos/evidence/module/v1/module.js +6 -0
- package/cosmos/feegrant/module/v1/module.d.ts +18 -2
- package/cosmos/feegrant/module/v1/module.js +6 -0
- package/cosmos/feegrant/v1beta1/feegrant.d.ts +118 -22
- package/cosmos/feegrant/v1beta1/feegrant.js +26 -0
- package/cosmos/feegrant/v1beta1/genesis.d.ts +18 -2
- package/cosmos/feegrant/v1beta1/genesis.js +6 -0
- package/cosmos/feegrant/v1beta1/query.d.ts +150 -34
- package/cosmos/feegrant/v1beta1/query.js +36 -0
- package/cosmos/feegrant/v1beta1/query.lcd.js +1 -3
- package/cosmos/feegrant/v1beta1/query.rpc.Query.d.ts +1 -5
- package/cosmos/feegrant/v1beta1/query.rpc.Query.js +1 -3
- package/cosmos/feegrant/v1beta1/tx.d.ts +131 -27
- package/cosmos/feegrant/v1beta1/tx.js +37 -0
- package/cosmos/feegrant/v1beta1/tx.rpc.msg.d.ts +1 -5
- package/cosmos/feegrant/v1beta1/tx.rpc.msg.js +1 -3
- package/cosmos/genutil/module/v1/module.d.ts +18 -2
- package/cosmos/genutil/module/v1/module.js +6 -0
- package/cosmos/gov/module/v1/module.d.ts +24 -4
- package/cosmos/gov/module/v1/module.js +6 -0
- package/cosmos/gov/v1/genesis.d.ts +48 -24
- package/cosmos/gov/v1/genesis.js +6 -0
- package/cosmos/gov/v1/gov.d.ts +341 -124
- package/cosmos/gov/v1/gov.js +59 -0
- package/cosmos/gov/v1/query.d.ts +469 -92
- package/cosmos/gov/v1/query.js +109 -0
- package/cosmos/gov/v1/tx.d.ts +368 -93
- package/cosmos/gov/v1/tx.js +88 -0
- package/cosmos/gov/v1/tx.rpc.msg.d.ts +1 -7
- package/cosmos/gov/v1/tx.rpc.msg.js +2 -6
- package/cosmos/gov/v1beta1/genesis.d.ts +60 -16
- package/cosmos/gov/v1beta1/genesis.js +6 -0
- package/cosmos/gov/v1beta1/gov.d.ts +291 -69
- package/cosmos/gov/v1beta1/gov.js +57 -0
- package/cosmos/gov/v1beta1/query.d.ts +439 -82
- package/cosmos/gov/v1beta1/query.js +97 -0
- package/cosmos/gov/v1beta1/tx.d.ts +209 -45
- package/cosmos/gov/v1beta1/tx.js +49 -0
- package/cosmos/gov/v1beta1/tx.rpc.msg.d.ts +1 -5
- package/cosmos/gov/v1beta1/tx.rpc.msg.js +1 -3
- package/cosmos/group/module/v1/module.d.ts +18 -2
- package/cosmos/group/module/v1/module.js +6 -0
- package/cosmos/group/v1/events.d.ts +300 -56
- package/cosmos/group/v1/events.js +66 -0
- package/cosmos/group/v1/genesis.d.ts +48 -12
- package/cosmos/group/v1/genesis.js +6 -0
- package/cosmos/group/v1/query.d.ts +768 -152
- package/cosmos/group/v1/query.js +168 -0
- package/cosmos/group/v1/query.lcd.js +1 -3
- package/cosmos/group/v1/query.rpc.Query.d.ts +1 -5
- package/cosmos/group/v1/query.rpc.Query.js +1 -3
- package/cosmos/group/v1/tx.d.ts +804 -163
- package/cosmos/group/v1/tx.js +168 -0
- package/cosmos/group/v1/types.d.ts +398 -91
- package/cosmos/group/v1/types.js +82 -0
- package/cosmos/ics23/v1/proofs.d.ts +294 -22
- package/cosmos/ics23/v1/proofs.js +138 -0
- package/cosmos/mint/module/v1/module.d.ts +24 -4
- package/cosmos/mint/module/v1/module.js +6 -0
- package/cosmos/mint/v1beta1/genesis.d.ts +30 -6
- package/cosmos/mint/v1beta1/genesis.js +6 -0
- package/cosmos/mint/v1beta1/mint.d.ts +84 -20
- package/cosmos/mint/v1beta1/mint.js +12 -0
- package/cosmos/mint/v1beta1/query.d.ts +111 -12
- package/cosmos/mint/v1beta1/query.js +39 -0
- package/cosmos/mint/v1beta1/tx.d.ts +31 -10
- package/cosmos/mint/v1beta1/tx.js +13 -0
- package/cosmos/mint/v1beta1/tx.rpc.msg.d.ts +0 -2
- package/cosmos/mint/v1beta1/tx.rpc.msg.js +1 -3
- package/cosmos/nft/module/v1/module.d.ts +18 -2
- package/cosmos/nft/module/v1/module.js +6 -0
- package/cosmos/params/module/v1/module.d.ts +18 -2
- package/cosmos/params/module/v1/module.js +6 -0
- package/cosmos/params/v1beta1/params.d.ts +31 -2
- package/cosmos/params/v1beta1/params.js +13 -0
- package/cosmos/params/v1beta1/query.d.ts +93 -22
- package/cosmos/params/v1beta1/query.js +33 -0
- package/cosmos/params/v1beta1/query.lcd.js +1 -3
- package/cosmos/params/v1beta1/query.rpc.Query.d.ts +1 -5
- package/cosmos/params/v1beta1/query.rpc.Query.js +1 -3
- package/cosmos/protocolpool/module/v1/module.d.ts +24 -4
- package/cosmos/protocolpool/module/v1/module.js +6 -0
- package/cosmos/protocolpool/v1/genesis.d.ts +24 -4
- package/cosmos/protocolpool/v1/genesis.js +6 -0
- package/cosmos/protocolpool/v1/query.d.ts +138 -12
- package/cosmos/protocolpool/v1/query.js +54 -0
- package/cosmos/protocolpool/v1/tx.d.ts +217 -30
- package/cosmos/protocolpool/v1/tx.js +67 -0
- package/cosmos/protocolpool/v1/types.d.ts +54 -10
- package/cosmos/protocolpool/v1/types.js +12 -0
- package/cosmos/reflection/v1/reflection.d.ts +42 -6
- package/cosmos/reflection/v1/reflection.js +12 -0
- package/cosmos/rpc.query.d.ts +1 -9
- package/cosmos/rpc.query.js +0 -5
- package/cosmos/slashing/module/v1/module.d.ts +24 -4
- package/cosmos/slashing/module/v1/module.js +6 -0
- package/cosmos/staking/module/v1/module.d.ts +36 -8
- package/cosmos/staking/module/v1/module.js +6 -0
- package/cosmos/staking/v1beta1/authz.d.ts +43 -15
- package/cosmos/staking/v1beta1/authz.js +13 -5
- package/cosmos/staking/v1beta1/genesis.d.ts +84 -20
- package/cosmos/staking/v1beta1/genesis.js +12 -0
- package/cosmos/staking/v1beta1/query.d.ts +660 -102
- package/cosmos/staking/v1beta1/query.js +186 -0
- package/cosmos/staking/v1beta1/staking.d.ts +631 -121
- package/cosmos/staking/v1beta1/staking.js +153 -0
- package/cosmos/staking/v1beta1/tx.d.ts +234 -42
- package/cosmos/staking/v1beta1/tx.js +88 -0
- package/cosmos/staking/v1beta1/tx.rpc.msg.d.ts +0 -3
- package/cosmos/staking/v1beta1/tx.rpc.msg.js +2 -5
- package/cosmos/store/internal/kv/v1beta1/kv.d.ts +36 -4
- package/cosmos/store/internal/kv/v1beta1/kv.js +12 -0
- package/cosmos/store/snapshots/v1/snapshot.d.ts +114 -30
- package/cosmos/store/snapshots/v1/snapshot.js +42 -0
- package/cosmos/store/streaming/abci/grpc.d.ts +78 -10
- package/cosmos/store/streaming/abci/grpc.js +24 -0
- package/cosmos/store/v1beta1/commit_info.d.ts +39 -0
- package/cosmos/store/v1beta1/commit_info.js +21 -0
- package/cosmos/store/v1beta1/listening.d.ts +45 -10
- package/cosmos/store/v1beta1/listening.js +15 -0
- package/cosmos/tx/config/v1/config.d.ts +18 -2
- package/cosmos/tx/config/v1/config.js +6 -0
- package/cosmos/tx/signing/v1beta1/signing.d.ts +135 -24
- package/cosmos/tx/signing/v1beta1/signing.js +33 -0
- package/cosmos/tx/v1beta1/service.d.ts +355 -94
- package/cosmos/tx/v1beta1/service.js +125 -0
- package/cosmos/tx/v1beta1/service.lcd.js +1 -3
- package/cosmos/tx/v1beta1/service.rpc.Service.d.ts +5 -25
- package/cosmos/tx/v1beta1/service.rpc.Service.js +5 -15
- package/cosmos/tx/v1beta1/tx.d.ts +371 -80
- package/cosmos/tx/v1beta1/tx.js +118 -0
- package/cosmos/upgrade/module/v1/module.d.ts +24 -4
- package/cosmos/upgrade/module/v1/module.js +6 -0
- package/cosmos/upgrade/v1beta1/query.d.ts +158 -30
- package/cosmos/upgrade/v1beta1/query.js +70 -0
- package/cosmos/upgrade/v1beta1/query.lcd.js +2 -6
- package/cosmos/upgrade/v1beta1/query.rpc.Query.d.ts +2 -10
- package/cosmos/upgrade/v1beta1/query.rpc.Query.js +2 -6
- package/cosmos/upgrade/v1beta1/tx.d.ts +66 -22
- package/cosmos/upgrade/v1beta1/tx.js +24 -0
- package/cosmos/upgrade/v1beta1/tx.rpc.msg.d.ts +1 -7
- package/cosmos/upgrade/v1beta1/tx.rpc.msg.js +2 -6
- package/cosmos/upgrade/v1beta1/upgrade.d.ts +118 -30
- package/cosmos/upgrade/v1beta1/upgrade.js +32 -0
- package/cosmos/vesting/module/v1/module.d.ts +18 -2
- package/cosmos/vesting/module/v1/module.js +6 -0
- package/cosmos/vesting/v1beta1/tx.d.ts +94 -22
- package/cosmos/vesting/v1beta1/tx.js +40 -0
- package/cosmos/vesting/v1beta1/tx.rpc.msg.d.ts +0 -4
- package/cosmos/vesting/v1beta1/tx.rpc.msg.js +2 -6
- package/cosmos/vesting/v1beta1/vesting.d.ts +103 -12
- package/cosmos/vesting/v1beta1/vesting.js +43 -0
- package/cosmos_proto/cosmos.d.ts +31 -0
- package/cosmos_proto/cosmos.js +19 -0
- package/esm/binary.js +1 -1
- package/esm/cosmos/app/runtime/v1alpha1/module.js +44 -1
- package/esm/cosmos/app/v1alpha1/module.js +19 -0
- package/esm/cosmos/auth/module/v1/module.js +25 -1
- package/esm/cosmos/auth/v1beta1/auth.js +26 -0
- package/esm/cosmos/auth/v1beta1/genesis.js +6 -0
- package/esm/cosmos/auth/v1beta1/query.js +120 -0
- package/esm/cosmos/auth/v1beta1/query.lcd.js +7 -21
- package/esm/cosmos/auth/v1beta1/query.rpc.Query.js +7 -21
- package/esm/cosmos/auth/v1beta1/tx.js +13 -0
- package/esm/cosmos/auth/v1beta1/tx.rpc.msg.js +1 -3
- package/esm/cosmos/authz/module/v1/module.js +6 -0
- package/esm/cosmos/authz/v1beta1/authz.js +27 -0
- package/esm/cosmos/authz/v1beta1/event.js +12 -0
- package/esm/cosmos/authz/v1beta1/genesis.js +6 -0
- package/esm/cosmos/authz/v1beta1/query.js +36 -0
- package/esm/cosmos/authz/v1beta1/query.lcd.js +2 -6
- package/esm/cosmos/authz/v1beta1/query.rpc.Query.js +2 -6
- package/esm/cosmos/authz/v1beta1/tx.js +40 -0
- package/esm/cosmos/bank/module/v1/module.js +6 -0
- package/esm/cosmos/bank/v1beta1/authz.js +7 -0
- package/esm/cosmos/bank/v1beta1/bank.js +48 -0
- package/esm/cosmos/bank/v1beta1/genesis.js +13 -0
- package/esm/cosmos/bank/v1beta1/query.js +179 -0
- package/esm/cosmos/bank/v1beta1/query.lcd.js +28 -29
- package/esm/cosmos/bank/v1beta1/query.rpc.Query.js +18 -28
- package/esm/cosmos/bank/v1beta1/tx.js +53 -0
- package/esm/cosmos/bank/v1beta1/tx.rpc.msg.js +2 -6
- package/esm/cosmos/base/abci/v1beta1/abci.js +73 -0
- package/esm/cosmos/base/node/v1beta1/query.js +24 -0
- package/esm/cosmos/base/query/v1beta1/pagination.js +24 -0
- package/esm/cosmos/base/reflection/v2alpha1/reflection.js +163 -0
- package/esm/cosmos/base/v1beta1/coin.js +32 -0
- package/esm/cosmos/benchmark/module/v1/module.js +12 -0
- package/esm/cosmos/benchmark/v1/benchmark.js +6 -0
- package/esm/cosmos/benchmark/v1/tx.js +12 -0
- package/esm/cosmos/bundle.js +242 -261
- package/esm/cosmos/circuit/module/v1/module.js +6 -0
- package/esm/cosmos/circuit/v1/query.js +36 -0
- package/esm/cosmos/circuit/v1/tx.js +36 -0
- package/esm/cosmos/circuit/v1/types.js +19 -0
- package/esm/cosmos/consensus/module/v1/module.js +6 -0
- package/esm/cosmos/consensus/v1/query.js +12 -0
- package/esm/cosmos/consensus/v1/tx.js +13 -0
- package/esm/cosmos/consensus/v1/tx.rpc.msg.js +1 -3
- package/esm/cosmos/counter/module/v1/module.js +6 -0
- package/esm/cosmos/counter/v1/query.js +12 -0
- package/esm/cosmos/counter/v1/tx.js +12 -0
- package/esm/cosmos/crisis/module/v1/module.js +6 -0
- package/esm/cosmos/crypto/ed25519/keys.js +17 -0
- package/esm/cosmos/crypto/hd/v1/hd.js +6 -0
- package/esm/cosmos/crypto/keyring/v1/record.js +31 -0
- package/esm/cosmos/crypto/multisig/keys.js +8 -0
- package/esm/cosmos/crypto/multisig/v1beta1/multisig.js +17 -0
- package/esm/cosmos/crypto/secp256k1/keys.js +16 -0
- package/esm/cosmos/crypto/secp256r1/keys.js +12 -0
- package/esm/cosmos/distribution/module/v1/module.js +6 -0
- package/esm/cosmos/distribution/v1beta1/distribution.js +105 -0
- package/esm/cosmos/distribution/v1beta1/genesis.js +52 -0
- package/esm/cosmos/distribution/v1beta1/query.js +136 -0
- package/esm/cosmos/distribution/v1beta1/query.lcd.js +3 -1
- package/esm/cosmos/distribution/v1beta1/query.rpc.Query.js +3 -1
- package/esm/cosmos/distribution/v1beta1/tx.js +97 -0
- package/esm/cosmos/distribution/v1beta1/tx.rpc.msg.js +6 -8
- package/esm/cosmos/epochs/module/v1/module.js +6 -0
- package/esm/cosmos/epochs/v1beta1/events.js +12 -0
- package/esm/cosmos/epochs/v1beta1/genesis.js +13 -0
- package/esm/cosmos/epochs/v1beta1/query.js +28 -0
- package/esm/cosmos/evidence/module/v1/module.js +6 -0
- package/esm/cosmos/feegrant/module/v1/module.js +6 -0
- package/esm/cosmos/feegrant/v1beta1/feegrant.js +26 -0
- package/esm/cosmos/feegrant/v1beta1/genesis.js +6 -0
- package/esm/cosmos/feegrant/v1beta1/query.js +36 -0
- package/esm/cosmos/feegrant/v1beta1/query.lcd.js +1 -3
- package/esm/cosmos/feegrant/v1beta1/query.rpc.Query.js +1 -3
- package/esm/cosmos/feegrant/v1beta1/tx.js +37 -0
- package/esm/cosmos/feegrant/v1beta1/tx.rpc.msg.js +1 -3
- package/esm/cosmos/genutil/module/v1/module.js +6 -0
- package/esm/cosmos/gov/module/v1/module.js +6 -0
- package/esm/cosmos/gov/v1/genesis.js +6 -0
- package/esm/cosmos/gov/v1/gov.js +59 -0
- package/esm/cosmos/gov/v1/query.js +109 -0
- package/esm/cosmos/gov/v1/tx.js +88 -0
- package/esm/cosmos/gov/v1/tx.rpc.msg.js +2 -6
- package/esm/cosmos/gov/v1beta1/genesis.js +6 -0
- package/esm/cosmos/gov/v1beta1/gov.js +57 -0
- package/esm/cosmos/gov/v1beta1/query.js +97 -0
- package/esm/cosmos/gov/v1beta1/tx.js +49 -0
- package/esm/cosmos/gov/v1beta1/tx.rpc.msg.js +1 -3
- package/esm/cosmos/group/module/v1/module.js +6 -0
- package/esm/cosmos/group/v1/events.js +66 -0
- package/esm/cosmos/group/v1/genesis.js +6 -0
- package/esm/cosmos/group/v1/query.js +168 -0
- package/esm/cosmos/group/v1/query.lcd.js +1 -3
- package/esm/cosmos/group/v1/query.rpc.Query.js +1 -3
- package/esm/cosmos/group/v1/tx.js +168 -0
- package/esm/cosmos/group/v1/types.js +82 -0
- package/esm/cosmos/ics23/v1/proofs.js +138 -0
- package/esm/cosmos/mint/module/v1/module.js +6 -0
- package/esm/cosmos/mint/v1beta1/genesis.js +6 -0
- package/esm/cosmos/mint/v1beta1/mint.js +12 -0
- package/esm/cosmos/mint/v1beta1/query.js +39 -0
- package/esm/cosmos/mint/v1beta1/tx.js +13 -0
- package/esm/cosmos/mint/v1beta1/tx.rpc.msg.js +1 -3
- package/esm/cosmos/nft/module/v1/module.js +6 -0
- package/esm/cosmos/params/module/v1/module.js +6 -0
- package/esm/cosmos/params/v1beta1/params.js +13 -0
- package/esm/cosmos/params/v1beta1/query.js +33 -0
- package/esm/cosmos/params/v1beta1/query.lcd.js +1 -3
- package/esm/cosmos/params/v1beta1/query.rpc.Query.js +1 -3
- package/esm/cosmos/protocolpool/module/v1/module.js +6 -0
- package/esm/cosmos/protocolpool/v1/genesis.js +6 -0
- package/esm/cosmos/protocolpool/v1/query.js +54 -0
- package/esm/cosmos/protocolpool/v1/tx.js +67 -0
- package/esm/cosmos/protocolpool/v1/types.js +12 -0
- package/esm/cosmos/reflection/v1/reflection.js +12 -0
- package/esm/cosmos/rpc.query.js +0 -5
- package/esm/cosmos/slashing/module/v1/module.js +6 -0
- package/esm/cosmos/staking/module/v1/module.js +6 -0
- package/esm/cosmos/staking/v1beta1/authz.js +13 -5
- package/esm/cosmos/staking/v1beta1/genesis.js +12 -0
- package/esm/cosmos/staking/v1beta1/query.js +186 -0
- package/esm/cosmos/staking/v1beta1/staking.js +153 -0
- package/esm/cosmos/staking/v1beta1/tx.js +88 -0
- package/esm/cosmos/staking/v1beta1/tx.rpc.msg.js +2 -5
- package/esm/cosmos/store/internal/kv/v1beta1/kv.js +12 -0
- package/esm/cosmos/store/snapshots/v1/snapshot.js +42 -0
- package/esm/cosmos/store/streaming/abci/grpc.js +24 -0
- package/esm/cosmos/store/v1beta1/commit_info.js +21 -0
- package/esm/cosmos/store/v1beta1/listening.js +15 -0
- package/esm/cosmos/tx/config/v1/config.js +6 -0
- package/esm/cosmos/tx/signing/v1beta1/signing.js +33 -0
- package/esm/cosmos/tx/v1beta1/service.js +125 -0
- package/esm/cosmos/tx/v1beta1/service.lcd.js +1 -3
- package/esm/cosmos/tx/v1beta1/service.rpc.Service.js +5 -15
- package/esm/cosmos/tx/v1beta1/tx.js +119 -1
- package/esm/cosmos/upgrade/module/v1/module.js +6 -0
- package/esm/cosmos/upgrade/v1beta1/query.js +70 -0
- package/esm/cosmos/upgrade/v1beta1/query.lcd.js +2 -6
- package/esm/cosmos/upgrade/v1beta1/query.rpc.Query.js +2 -6
- package/esm/cosmos/upgrade/v1beta1/tx.js +24 -0
- package/esm/cosmos/upgrade/v1beta1/tx.rpc.msg.js +2 -6
- package/esm/cosmos/upgrade/v1beta1/upgrade.js +32 -0
- package/esm/cosmos/vesting/module/v1/module.js +6 -0
- package/esm/cosmos/vesting/v1beta1/tx.js +40 -0
- package/esm/cosmos/vesting/v1beta1/tx.rpc.msg.js +2 -6
- package/esm/cosmos/vesting/v1beta1/vesting.js +43 -0
- package/esm/cosmos_proto/cosmos.js +19 -0
- package/esm/gogoproto/bundle.js +2 -2
- package/esm/google/api/http.js +283 -0
- package/esm/google/bundle.js +7 -7
- package/esm/google/protobuf/any.js +90 -0
- package/esm/google/protobuf/descriptor.js +220 -0
- package/esm/google/protobuf/duration.js +63 -0
- package/esm/google/protobuf/timestamp.js +94 -0
- package/esm/helpers.js +1 -1
- package/esm/ibc/applications/interchain_accounts/controller/v1/controller.js +7 -0
- package/esm/ibc/applications/interchain_accounts/controller/v1/query.js +24 -0
- package/esm/ibc/applications/interchain_accounts/controller/v1/tx.js +36 -0
- package/esm/ibc/applications/interchain_accounts/genesis/v1/genesis.js +31 -0
- package/esm/ibc/applications/interchain_accounts/host/v1/host.js +14 -0
- package/esm/ibc/applications/interchain_accounts/host/v1/query.js +12 -0
- package/esm/ibc/applications/interchain_accounts/host/v1/tx.js +24 -0
- package/esm/ibc/applications/interchain_accounts/v1/account.js +6 -0
- package/esm/ibc/applications/interchain_accounts/v1/metadata.js +7 -0
- package/esm/ibc/applications/interchain_accounts/v1/packet.js +12 -0
- package/esm/ibc/applications/packet_forward_middleware/v1/genesis.js +18 -0
- package/esm/ibc/applications/rate_limiting/v1/genesis.js +139 -0
- package/esm/ibc/applications/rate_limiting/v1/query.js +903 -0
- package/esm/ibc/applications/rate_limiting/v1/query.lcd.js +44 -0
- package/esm/ibc/applications/rate_limiting/v1/query.rpc.Query.js +71 -0
- package/esm/ibc/applications/rate_limiting/v1/rate_limiting.js +632 -0
- package/esm/ibc/applications/rate_limiting/v1/tx.amino.js +24 -0
- package/esm/ibc/applications/rate_limiting/v1/tx.js +726 -0
- package/esm/ibc/applications/rate_limiting/v1/tx.registry.js +87 -0
- package/esm/ibc/applications/rate_limiting/v1/tx.rpc.msg.js +35 -0
- package/esm/ibc/applications/transfer/v1/authz.js +13 -0
- package/esm/ibc/applications/transfer/v1/denomtrace.js +8 -0
- package/esm/ibc/applications/transfer/v1/genesis.js +6 -0
- package/esm/ibc/applications/transfer/v1/packet.js +8 -0
- package/esm/ibc/applications/transfer/v1/query.js +78 -0
- package/esm/ibc/applications/transfer/v1/token.js +18 -0
- package/esm/ibc/applications/transfer/v1/transfer.js +9 -0
- package/esm/ibc/applications/transfer/v1/tx.js +40 -1
- package/esm/ibc/bundle.js +196 -173
- package/esm/ibc/client.js +4 -1
- package/esm/ibc/core/channel/v1/channel.js +64 -0
- package/esm/ibc/core/channel/v1/genesis.js +13 -0
- package/esm/ibc/core/channel/v1/query.js +197 -0
- package/esm/ibc/core/channel/v1/tx.js +129 -0
- package/esm/ibc/core/channel/v2/genesis.js +21 -0
- package/esm/ibc/core/channel/v2/packet.js +29 -0
- package/esm/ibc/core/channel/v2/query.js +100 -0
- package/esm/ibc/core/channel/v2/tx.js +48 -0
- package/esm/ibc/core/client/v1/client.js +45 -0
- package/esm/ibc/core/client/v1/genesis.js +20 -0
- package/esm/ibc/core/client/v1/query.js +154 -0
- package/esm/ibc/core/client/v1/tx.amino.js +1 -6
- package/esm/ibc/core/client/v1/tx.js +86 -151
- package/esm/ibc/core/client/v1/tx.registry.js +2 -20
- package/esm/ibc/core/client/v1/tx.rpc.msg.js +1 -7
- package/esm/ibc/core/client/v2/config.js +9 -0
- package/esm/ibc/core/client/v2/counterparty.js +6 -0
- package/esm/ibc/core/client/v2/genesis.js +12 -0
- package/esm/ibc/core/client/v2/query.js +26 -0
- package/esm/ibc/core/client/v2/tx.js +24 -0
- package/esm/ibc/core/commitment/v1/commitment.js +25 -0
- package/esm/ibc/core/commitment/v2/commitment.js +36 -0
- package/esm/ibc/core/connection/v1/connection.js +47 -0
- package/esm/ibc/core/connection/v1/genesis.js +6 -0
- package/esm/ibc/core/connection/v1/query.js +83 -0
- package/esm/ibc/core/connection/v1/tx.js +66 -0
- package/esm/ibc/lcd.js +5 -0
- package/esm/ibc/lightclients/solomachine/v2/solomachine.js +109 -0
- package/esm/ibc/lightclients/solomachine/v3/solomachine.js +54 -0
- package/esm/ibc/lightclients/tendermint/v1/tendermint.js +44 -0
- package/esm/ibc/lightclients/wasm/v1/genesis.js +12 -0
- package/esm/ibc/lightclients/wasm/v1/query.js +24 -0
- package/esm/ibc/lightclients/wasm/v1/tx.js +36 -0
- package/esm/ibc/lightclients/wasm/v1/wasm.js +18 -73
- package/esm/ibc/rpc.query.js +3 -5
- package/esm/ibc/rpc.tx.js +3 -0
- package/esm/index.js +1 -1
- package/esm/sparkdream/blog/module/v1/module.js +6 -0
- package/esm/sparkdream/blog/v1/genesis.js +93 -1
- package/esm/sparkdream/blog/v1/params.js +439 -5
- package/esm/sparkdream/blog/v1/post.js +211 -2
- package/esm/sparkdream/blog/v1/query.js +1399 -0
- package/esm/sparkdream/blog/v1/query.lcd.js +105 -2
- package/esm/sparkdream/blog/v1/query.rpc.Query.js +75 -3
- package/esm/sparkdream/blog/v1/tx.amino.js +61 -1
- package/esm/sparkdream/blog/v1/tx.js +1910 -3
- package/esm/sparkdream/blog/v1/tx.registry.js +218 -2
- package/esm/sparkdream/blog/v1/tx.rpc.msg.js +77 -4
- package/esm/sparkdream/blog/v1/types.js +809 -0
- package/esm/sparkdream/bundle.js +558 -45
- package/esm/sparkdream/client.js +38 -2
- package/esm/sparkdream/collect/module/v1/module.js +71 -0
- package/esm/sparkdream/collect/v1/genesis.js +271 -0
- package/esm/sparkdream/collect/v1/params.js +763 -0
- package/esm/sparkdream/collect/v1/query.js +3790 -0
- package/esm/sparkdream/collect/v1/query.lcd.js +223 -0
- package/esm/sparkdream/collect/v1/query.rpc.Query.js +252 -0
- package/esm/sparkdream/collect/v1/tx.amino.js +149 -0
- package/esm/sparkdream/collect/v1/tx.js +4767 -0
- package/esm/sparkdream/collect/v1/tx.registry.js +537 -0
- package/esm/sparkdream/collect/v1/tx.rpc.msg.js +185 -0
- package/esm/sparkdream/collect/v1/types.js +3434 -0
- package/esm/sparkdream/common/v1/content_type.js +96 -0
- package/esm/sparkdream/common/v1/flag_record.js +119 -0
- package/esm/sparkdream/common/v1/moderation_reason.js +115 -0
- package/esm/sparkdream/common/v1/reserved_tag.js +96 -0
- package/esm/sparkdream/common/v1/tag.js +120 -0
- package/esm/sparkdream/commons/module/v1/module.js +71 -0
- package/esm/sparkdream/commons/v1/genesis.js +533 -0
- package/esm/sparkdream/commons/v1/group.js +1116 -0
- package/esm/sparkdream/commons/v1/params.js +78 -0
- package/esm/sparkdream/commons/v1/policy_permissions.js +86 -0
- package/esm/sparkdream/commons/v1/query.js +1337 -0
- package/esm/sparkdream/commons/v1/query.lcd.js +78 -0
- package/esm/sparkdream/commons/v1/query.rpc.Query.js +100 -0
- package/esm/sparkdream/commons/v1/tx.amino.js +94 -0
- package/esm/sparkdream/commons/v1/tx.js +3282 -0
- package/esm/sparkdream/commons/v1/tx.registry.js +339 -0
- package/esm/sparkdream/commons/v1/tx.rpc.msg.js +122 -0
- package/esm/sparkdream/ecosystem/module/v1/module.js +71 -0
- package/esm/sparkdream/ecosystem/v1/genesis.js +72 -0
- package/esm/sparkdream/ecosystem/v1/params.js +65 -0
- package/esm/sparkdream/ecosystem/v1/query.js +128 -0
- package/esm/sparkdream/ecosystem/v1/query.lcd.js +11 -0
- package/esm/sparkdream/ecosystem/v1/query.rpc.Query.js +24 -0
- package/esm/sparkdream/ecosystem/v1/tx.amino.js +14 -0
- package/esm/sparkdream/ecosystem/v1/tx.js +308 -0
- package/esm/sparkdream/ecosystem/v1/tx.registry.js +51 -0
- package/esm/sparkdream/ecosystem/v1/tx.rpc.msg.js +24 -0
- package/esm/sparkdream/forum/module/v1/module.js +71 -0
- package/esm/sparkdream/forum/v1/archive_metadata.js +119 -0
- package/esm/sparkdream/forum/v1/bounty.js +183 -0
- package/esm/sparkdream/forum/v1/category.js +119 -0
- package/esm/sparkdream/forum/v1/genesis.js +516 -0
- package/esm/sparkdream/forum/v1/gov_action_appeal.js +202 -0
- package/esm/sparkdream/forum/v1/hide_record.js +154 -0
- package/esm/sparkdream/forum/v1/jury_participation.js +131 -0
- package/esm/sparkdream/forum/v1/member_report.js +219 -0
- package/esm/sparkdream/forum/v1/member_salvation_status.js +119 -0
- package/esm/sparkdream/forum/v1/member_warning.js +156 -0
- package/esm/sparkdream/forum/v1/params.js +867 -0
- package/esm/sparkdream/forum/v1/post.js +397 -0
- package/esm/sparkdream/forum/v1/post_flag.js +254 -0
- package/esm/sparkdream/forum/v1/query.js +12470 -0
- package/esm/sparkdream/forum/v1/query.lcd.js +730 -0
- package/esm/sparkdream/forum/v1/query.rpc.Query.js +799 -0
- package/esm/sparkdream/forum/v1/sentinel_activity.js +490 -0
- package/esm/sparkdream/forum/v1/tag_budget.js +143 -0
- package/esm/sparkdream/forum/v1/tag_budget_award.js +155 -0
- package/esm/sparkdream/forum/v1/tag_report.js +122 -0
- package/esm/sparkdream/forum/v1/thread_follow.js +95 -0
- package/esm/sparkdream/forum/v1/thread_follow_count.js +83 -0
- package/esm/sparkdream/forum/v1/thread_lock_record.js +155 -0
- package/esm/sparkdream/forum/v1/thread_metadata.js +184 -0
- package/esm/sparkdream/forum/v1/thread_move_record.js +179 -0
- package/esm/sparkdream/forum/v1/tx.amino.js +254 -0
- package/esm/sparkdream/forum/v1/tx.js +7464 -0
- package/esm/sparkdream/forum/v1/tx.registry.js +915 -0
- package/esm/sparkdream/forum/v1/tx.rpc.msg.js +313 -0
- package/esm/sparkdream/forum/v1/types.js +758 -0
- package/esm/sparkdream/forum/v1/user_rate_limit.js +119 -0
- package/esm/sparkdream/forum/v1/user_reaction_limit.js +107 -0
- package/esm/sparkdream/futarchy/module/v1/module.js +71 -0
- package/esm/sparkdream/futarchy/v1/genesis.js +88 -0
- package/esm/sparkdream/futarchy/v1/market.js +240 -0
- package/esm/sparkdream/futarchy/v1/params.js +241 -0
- package/esm/sparkdream/futarchy/v1/query.js +596 -0
- package/esm/sparkdream/futarchy/v1/query.lcd.js +45 -0
- package/esm/sparkdream/futarchy/v1/query.rpc.Query.js +53 -0
- package/esm/sparkdream/futarchy/v1/tx.amino.js +39 -0
- package/esm/sparkdream/futarchy/v1/tx.js +1097 -0
- package/esm/sparkdream/futarchy/v1/tx.registry.js +141 -0
- package/esm/sparkdream/futarchy/v1/tx.rpc.msg.js +55 -0
- package/esm/sparkdream/lcd.js +60 -0
- package/esm/sparkdream/name/module/v1/module.js +71 -0
- package/esm/sparkdream/name/v1/dispute.js +341 -0
- package/esm/sparkdream/name/v1/genesis.js +120 -0
- package/esm/sparkdream/name/v1/name_record.js +95 -0
- package/esm/sparkdream/name/v1/owner_info.js +95 -0
- package/esm/sparkdream/name/v1/params.js +306 -0
- package/esm/sparkdream/name/v1/query.js +863 -0
- package/esm/sparkdream/name/v1/query.lcd.js +52 -0
- package/esm/sparkdream/name/v1/query.rpc.Query.js +71 -0
- package/esm/sparkdream/name/v1/tx.amino.js +44 -0
- package/esm/sparkdream/name/v1/tx.js +1222 -0
- package/esm/sparkdream/name/v1/tx.registry.js +159 -0
- package/esm/sparkdream/name/v1/tx.rpc.msg.js +62 -0
- package/esm/{cosmos/orm/module/v1alpha1 → sparkdream/rep/module/v1}/module.js +26 -14
- package/esm/sparkdream/rep/v1/challenge.js +226 -0
- package/esm/sparkdream/rep/v1/content_challenge.js +303 -0
- package/esm/sparkdream/rep/v1/genesis.js +481 -0
- package/esm/sparkdream/rep/v1/initiative.js +558 -0
- package/esm/sparkdream/rep/v1/interim.js +426 -0
- package/esm/sparkdream/rep/v1/interim_template.js +291 -0
- package/esm/sparkdream/rep/v1/invitation.js +251 -0
- package/esm/sparkdream/rep/v1/jury_review.js +635 -0
- package/esm/sparkdream/rep/v1/member.js +857 -0
- package/esm/sparkdream/rep/v1/params.js +1819 -0
- package/esm/sparkdream/rep/v1/project.js +545 -0
- package/esm/sparkdream/rep/v1/query.js +6896 -0
- package/esm/sparkdream/rep/v1/query.lcd.js +377 -0
- package/esm/sparkdream/rep/v1/query.rpc.Query.js +424 -0
- package/esm/sparkdream/rep/v1/stake.js +575 -0
- package/esm/sparkdream/rep/v1/tx.amino.js +159 -0
- package/esm/sparkdream/rep/v1/tx.js +5198 -0
- package/esm/sparkdream/rep/v1/tx.registry.js +573 -0
- package/esm/sparkdream/rep/v1/tx.rpc.msg.js +199 -0
- package/esm/sparkdream/reveal/module/v1/module.js +71 -0
- package/esm/sparkdream/reveal/v1/genesis.js +142 -0
- package/esm/sparkdream/reveal/v1/params.js +235 -0
- package/esm/sparkdream/reveal/v1/query.js +1700 -0
- package/esm/sparkdream/reveal/v1/query.lcd.js +101 -0
- package/esm/sparkdream/reveal/v1/query.rpc.Query.js +116 -0
- package/esm/sparkdream/reveal/v1/tx.amino.js +54 -0
- package/esm/sparkdream/reveal/v1/tx.js +1699 -0
- package/esm/sparkdream/reveal/v1/tx.registry.js +195 -0
- package/esm/sparkdream/reveal/v1/tx.rpc.msg.js +72 -0
- package/esm/sparkdream/reveal/v1/types.js +1141 -0
- package/esm/sparkdream/rpc.query.js +36 -5
- package/esm/sparkdream/rpc.tx.js +36 -0
- package/esm/sparkdream/season/module/v1/module.js +71 -0
- package/esm/sparkdream/season/v1/achievement.js +142 -0
- package/esm/sparkdream/season/v1/display_name_appeal_stake.js +95 -0
- package/esm/sparkdream/season/v1/display_name_moderation.js +155 -0
- package/esm/sparkdream/season/v1/display_name_report_stake.js +95 -0
- package/esm/sparkdream/season/v1/enums.js +391 -0
- package/esm/sparkdream/season/v1/epoch_xp_tracker.js +119 -0
- package/esm/sparkdream/season/v1/forum_xp_cooldown.js +83 -0
- package/esm/sparkdream/season/v1/genesis.js +482 -0
- package/esm/sparkdream/season/v1/guild.js +172 -0
- package/esm/sparkdream/season/v1/guild_invite.js +107 -0
- package/esm/sparkdream/season/v1/guild_membership.js +119 -0
- package/esm/sparkdream/season/v1/member_profile.js +296 -0
- package/esm/sparkdream/season/v1/member_quest_progress.js +132 -0
- package/esm/sparkdream/season/v1/member_registration.js +83 -0
- package/esm/sparkdream/season/v1/member_season_snapshot.js +238 -0
- package/esm/sparkdream/season/v1/next_season_info.js +83 -0
- package/esm/sparkdream/season/v1/nomination.js +428 -0
- package/esm/sparkdream/season/v1/params.js +1597 -0
- package/esm/sparkdream/season/v1/query.js +10569 -0
- package/esm/sparkdream/season/v1/query.lcd.js +598 -0
- package/esm/sparkdream/season/v1/query.rpc.Query.js +673 -0
- package/esm/sparkdream/season/v1/quest.js +334 -0
- package/esm/sparkdream/season/v1/season.js +166 -0
- package/esm/sparkdream/season/v1/season_snapshot.js +83 -0
- package/esm/sparkdream/season/v1/season_title_eligibility.js +194 -0
- package/esm/sparkdream/season/v1/season_transition_state.js +130 -0
- package/esm/sparkdream/season/v1/title.js +154 -0
- package/esm/sparkdream/season/v1/transition_recovery_state.js +118 -0
- package/esm/sparkdream/season/v1/tx.amino.js +219 -0
- package/esm/sparkdream/season/v1/tx.js +6823 -0
- package/esm/sparkdream/season/v1/tx.registry.js +789 -0
- package/esm/sparkdream/season/v1/tx.rpc.msg.js +272 -0
- package/esm/sparkdream/season/v1/vote_xp_record.js +83 -0
- package/esm/sparkdream/session/module/v1/module.js +71 -0
- package/esm/sparkdream/session/v1/genesis.js +88 -0
- package/esm/sparkdream/session/v1/params.js +275 -0
- package/esm/sparkdream/session/v1/query.js +743 -0
- package/esm/sparkdream/session/v1/query.lcd.js +45 -0
- package/esm/sparkdream/session/v1/query.rpc.Query.js +60 -0
- package/esm/sparkdream/session/v1/session.js +185 -0
- package/esm/sparkdream/session/v1/tx.amino.js +29 -0
- package/esm/sparkdream/session/v1/tx.js +768 -0
- package/esm/sparkdream/session/v1/tx.registry.js +105 -0
- package/esm/sparkdream/session/v1/tx.rpc.msg.js +43 -0
- package/esm/sparkdream/shield/module/v1/module.js +71 -0
- package/esm/sparkdream/shield/v1/genesis.js +301 -0
- package/esm/sparkdream/shield/v1/params.js +282 -0
- package/esm/sparkdream/shield/v1/query.js +2323 -0
- package/esm/sparkdream/shield/v1/query.lcd.js +110 -0
- package/esm/sparkdream/shield/v1/query.rpc.Query.js +170 -0
- package/esm/sparkdream/shield/v1/tx.amino.js +29 -0
- package/esm/sparkdream/shield/v1/tx.js +838 -0
- package/esm/sparkdream/shield/v1/tx.registry.js +105 -0
- package/esm/sparkdream/shield/v1/tx.rpc.msg.js +43 -0
- package/esm/sparkdream/shield/v1/types.js +2385 -0
- package/esm/sparkdream/sparkdream/module/v1/module.js +6 -0
- package/esm/sparkdream/sparkdream/v1/genesis.js +6 -0
- package/esm/sparkdream/sparkdream/v1/params.js +6 -0
- package/esm/sparkdream/sparkdream/v1/query.js +12 -0
- package/esm/sparkdream/sparkdream/v1/tx.js +13 -0
- package/esm/sparkdream/split/module/v1/module.js +71 -0
- package/esm/sparkdream/split/v1/genesis.js +88 -0
- package/esm/sparkdream/split/v1/params.js +65 -0
- package/esm/sparkdream/split/v1/query.js +421 -0
- package/esm/sparkdream/split/v1/query.lcd.js +31 -0
- package/esm/sparkdream/split/v1/query.rpc.Query.js +44 -0
- package/esm/sparkdream/split/v1/share.js +83 -0
- package/esm/sparkdream/split/v1/tx.amino.js +9 -0
- package/esm/sparkdream/split/v1/tx.js +148 -0
- package/esm/sparkdream/split/v1/tx.registry.js +33 -0
- package/esm/sparkdream/split/v1/tx.rpc.msg.js +18 -0
- package/esm/tendermint/abci/types.js +255 -0
- package/esm/tendermint/bundle.js +20 -20
- package/esm/tendermint/crypto/keys.js +6 -0
- package/esm/tendermint/crypto/proof.js +29 -0
- package/esm/tendermint/p2p/types.js +20 -0
- package/esm/tendermint/types/block.js +5 -0
- package/esm/tendermint/types/evidence.js +22 -0
- package/esm/tendermint/types/params.js +46 -0
- package/esm/tendermint/types/types.js +87 -0
- package/esm/tendermint/types/validator.js +15 -0
- package/esm/tendermint/version/types.js +16 -0
- package/esm/types.js +1 -1
- package/esm/utf8.js +1 -1
- package/esm/varint.js +1 -1
- package/gogoproto/bundle.js +2 -2
- package/google/api/http.d.ts +343 -14
- package/google/api/http.js +283 -0
- package/google/bundle.d.ts +418 -418
- package/google/bundle.js +7 -7
- package/google/protobuf/any.d.ts +102 -2
- package/google/protobuf/any.js +90 -0
- package/google/protobuf/descriptor.d.ts +738 -90
- package/google/protobuf/descriptor.js +220 -0
- package/google/protobuf/duration.d.ts +69 -0
- package/google/protobuf/duration.js +63 -0
- package/google/protobuf/timestamp.d.ts +100 -0
- package/google/protobuf/timestamp.js +94 -0
- package/helpers.d.ts +1 -1
- package/helpers.js +1 -1
- package/ibc/applications/interchain_accounts/controller/v1/controller.d.ts +19 -2
- package/ibc/applications/interchain_accounts/controller/v1/controller.js +7 -0
- package/ibc/applications/interchain_accounts/controller/v1/query.d.ts +78 -10
- package/ibc/applications/interchain_accounts/controller/v1/query.js +24 -0
- package/ibc/applications/interchain_accounts/controller/v1/tx.d.ts +114 -14
- package/ibc/applications/interchain_accounts/controller/v1/tx.js +36 -0
- package/ibc/applications/interchain_accounts/genesis/v1/genesis.d.ts +85 -8
- package/ibc/applications/interchain_accounts/genesis/v1/genesis.js +31 -0
- package/ibc/applications/interchain_accounts/host/v1/host.d.ts +38 -4
- package/ibc/applications/interchain_accounts/host/v1/host.js +14 -0
- package/ibc/applications/interchain_accounts/host/v1/query.d.ts +42 -6
- package/ibc/applications/interchain_accounts/host/v1/query.js +12 -0
- package/ibc/applications/interchain_accounts/host/v1/tx.d.ts +102 -18
- package/ibc/applications/interchain_accounts/host/v1/tx.js +24 -0
- package/ibc/applications/interchain_accounts/v1/account.d.ts +18 -2
- package/ibc/applications/interchain_accounts/v1/account.js +6 -0
- package/ibc/applications/interchain_accounts/v1/metadata.d.ts +43 -10
- package/ibc/applications/interchain_accounts/v1/metadata.js +7 -0
- package/ibc/applications/interchain_accounts/v1/packet.d.ts +36 -4
- package/ibc/applications/interchain_accounts/v1/packet.js +12 -0
- package/ibc/applications/packet_forward_middleware/v1/genesis.d.ts +46 -2
- package/ibc/applications/packet_forward_middleware/v1/genesis.js +18 -0
- package/ibc/applications/rate_limiting/v1/genesis.d.ts +57 -0
- package/ibc/applications/rate_limiting/v1/genesis.js +142 -0
- package/ibc/applications/rate_limiting/v1/query.d.ts +551 -0
- package/ibc/applications/rate_limiting/v1/query.js +906 -0
- package/ibc/applications/rate_limiting/v1/query.lcd.d.ts +14 -0
- package/ibc/applications/rate_limiting/v1/query.lcd.js +48 -0
- package/ibc/applications/rate_limiting/v1/query.rpc.Query.d.ts +40 -0
- package/ibc/applications/rate_limiting/v1/query.rpc.Query.js +76 -0
- package/ibc/applications/rate_limiting/v1/rate_limiting.d.ts +374 -0
- package/ibc/applications/rate_limiting/v1/rate_limiting.js +637 -0
- package/ibc/applications/rate_limiting/v1/tx.amino.d.ts +23 -0
- package/ibc/applications/rate_limiting/v1/tx.amino.js +27 -0
- package/ibc/applications/rate_limiting/v1/tx.d.ts +518 -0
- package/ibc/applications/rate_limiting/v1/tx.js +729 -0
- package/ibc/applications/rate_limiting/v1/tx.registry.d.ts +61 -0
- package/ibc/applications/rate_limiting/v1/tx.registry.js +91 -0
- package/ibc/applications/rate_limiting/v1/tx.rpc.msg.d.ts +22 -0
- package/ibc/applications/rate_limiting/v1/tx.rpc.msg.js +40 -0
- package/ibc/applications/transfer/v1/authz.d.ts +61 -12
- package/ibc/applications/transfer/v1/authz.js +13 -0
- package/ibc/applications/transfer/v1/denomtrace.d.ts +22 -4
- package/ibc/applications/transfer/v1/denomtrace.js +8 -0
- package/ibc/applications/transfer/v1/genesis.d.ts +18 -2
- package/ibc/applications/transfer/v1/genesis.js +6 -0
- package/ibc/applications/transfer/v1/packet.d.ts +44 -10
- package/ibc/applications/transfer/v1/packet.js +8 -0
- package/ibc/applications/transfer/v1/query.d.ts +252 -34
- package/ibc/applications/transfer/v1/query.js +78 -0
- package/ibc/applications/transfer/v1/token.d.ts +78 -14
- package/ibc/applications/transfer/v1/token.js +18 -0
- package/ibc/applications/transfer/v1/transfer.d.ts +15 -0
- package/ibc/applications/transfer/v1/transfer.js +9 -0
- package/ibc/applications/transfer/v1/tx.d.ts +135 -22
- package/ibc/applications/transfer/v1/tx.js +40 -1
- package/ibc/bundle.d.ts +3830 -3396
- package/ibc/bundle.js +196 -173
- package/ibc/client.d.ts +20 -5
- package/ibc/client.js +4 -1
- package/ibc/core/channel/v1/channel.d.ts +292 -60
- package/ibc/core/channel/v1/channel.js +64 -0
- package/ibc/core/channel/v1/genesis.d.ts +37 -4
- package/ibc/core/channel/v1/genesis.js +13 -0
- package/ibc/core/channel/v1/query.d.ts +839 -158
- package/ibc/core/channel/v1/query.js +197 -0
- package/ibc/core/channel/v1/tx.d.ts +335 -30
- package/ibc/core/channel/v1/tx.js +129 -0
- package/ibc/core/channel/v2/genesis.d.ts +81 -14
- package/ibc/core/channel/v2/genesis.js +21 -0
- package/ibc/core/channel/v2/packet.d.ts +137 -28
- package/ibc/core/channel/v2/packet.js +29 -0
- package/ibc/core/channel/v2/query.d.ts +490 -98
- package/ibc/core/channel/v2/query.js +100 -0
- package/ibc/core/channel/v2/tx.d.ts +144 -16
- package/ibc/core/channel/v2/tx.js +48 -0
- package/ibc/core/client/v1/client.d.ts +129 -18
- package/ibc/core/client/v1/client.js +45 -0
- package/ibc/core/client/v1/genesis.d.ts +82 -16
- package/ibc/core/client/v1/genesis.js +20 -0
- package/ibc/core/client/v1/query.d.ts +508 -74
- package/ibc/core/client/v1/query.js +154 -0
- package/ibc/core/client/v1/tx.amino.d.ts +1 -6
- package/ibc/core/client/v1/tx.amino.js +0 -5
- package/ibc/core/client/v1/tx.d.ts +336 -138
- package/ibc/core/client/v1/tx.js +87 -152
- package/ibc/core/client/v1/tx.registry.d.ts +1 -13
- package/ibc/core/client/v1/tx.registry.js +1 -19
- package/ibc/core/client/v1/tx.rpc.msg.d.ts +1 -4
- package/ibc/core/client/v1/tx.rpc.msg.js +0 -6
- package/ibc/core/client/v2/config.d.ts +21 -2
- package/ibc/core/client/v2/config.js +9 -0
- package/ibc/core/client/v2/counterparty.d.ts +30 -6
- package/ibc/core/client/v2/counterparty.js +6 -0
- package/ibc/core/client/v2/genesis.d.ts +54 -10
- package/ibc/core/client/v2/genesis.js +12 -0
- package/ibc/core/client/v2/query.d.ts +74 -8
- package/ibc/core/client/v2/query.js +26 -0
- package/ibc/core/client/v2/tx.d.ts +108 -20
- package/ibc/core/client/v2/tx.js +24 -0
- package/ibc/core/commitment/v1/commitment.d.ts +43 -0
- package/ibc/core/commitment/v1/commitment.js +25 -0
- package/ibc/core/commitment/v2/commitment.d.ts +42 -0
- package/ibc/core/commitment/v2/commitment.js +36 -0
- package/ibc/core/connection/v1/connection.d.ts +197 -36
- package/ibc/core/connection/v1/connection.js +47 -0
- package/ibc/core/connection/v1/genesis.d.ts +24 -4
- package/ibc/core/connection/v1/genesis.js +6 -0
- package/ibc/core/connection/v1/query.d.ts +293 -46
- package/ibc/core/connection/v1/query.js +83 -0
- package/ibc/core/connection/v1/tx.d.ts +250 -56
- package/ibc/core/connection/v1/tx.js +66 -0
- package/ibc/lcd.d.ts +3 -0
- package/ibc/lcd.js +5 -0
- package/ibc/lightclients/solomachine/v2/solomachine.d.ts +277 -24
- package/ibc/lightclients/solomachine/v2/solomachine.js +109 -0
- package/ibc/lightclients/solomachine/v3/solomachine.d.ts +180 -26
- package/ibc/lightclients/solomachine/v3/solomachine.js +54 -0
- package/ibc/lightclients/tendermint/v1/tendermint.d.ts +140 -26
- package/ibc/lightclients/tendermint/v1/tendermint.js +44 -0
- package/ibc/lightclients/wasm/v1/genesis.d.ts +48 -8
- package/ibc/lightclients/wasm/v1/genesis.js +12 -0
- package/ibc/lightclients/wasm/v1/query.d.ts +96 -16
- package/ibc/lightclients/wasm/v1/query.js +24 -0
- package/ibc/lightclients/wasm/v1/tx.d.ts +162 -30
- package/ibc/lightclients/wasm/v1/tx.js +36 -0
- package/ibc/lightclients/wasm/v1/wasm.d.ts +52 -46
- package/ibc/lightclients/wasm/v1/wasm.js +19 -74
- package/ibc/rpc.query.d.ts +11 -9
- package/ibc/rpc.query.js +3 -5
- package/ibc/rpc.tx.d.ts +3 -0
- package/ibc/rpc.tx.js +3 -0
- package/index.d.ts +1 -1
- package/index.js +1 -1
- package/package.json +1 -1
- package/sparkdream/blog/module/v1/module.d.ts +18 -2
- package/sparkdream/blog/module/v1/module.js +6 -0
- package/sparkdream/blog/v1/genesis.d.ts +74 -4
- package/sparkdream/blog/v1/genesis.js +93 -1
- package/sparkdream/blog/v1/params.d.ts +310 -6
- package/sparkdream/blog/v1/params.js +440 -6
- package/sparkdream/blog/v1/post.d.ts +180 -2
- package/sparkdream/blog/v1/post.js +211 -2
- package/sparkdream/blog/v1/query.d.ts +865 -14
- package/sparkdream/blog/v1/query.js +1400 -1
- package/sparkdream/blog/v1/query.lcd.d.ts +9 -1
- package/sparkdream/blog/v1/query.lcd.js +105 -2
- package/sparkdream/blog/v1/query.rpc.Query.d.ts +35 -3
- package/sparkdream/blog/v1/query.rpc.Query.js +74 -2
- package/sparkdream/blog/v1/tx.amino.d.ts +61 -1
- package/sparkdream/blog/v1/tx.amino.js +60 -0
- package/sparkdream/blog/v1/tx.d.ts +1306 -19
- package/sparkdream/blog/v1/tx.js +1910 -3
- package/sparkdream/blog/v1/tx.registry.d.ts +145 -1
- package/sparkdream/blog/v1/tx.registry.js +217 -1
- package/sparkdream/blog/v1/tx.rpc.msg.d.ts +43 -4
- package/sparkdream/blog/v1/tx.rpc.msg.js +76 -3
- package/sparkdream/blog/v1/types.d.ts +463 -0
- package/sparkdream/blog/v1/types.js +818 -0
- package/sparkdream/bundle.d.ts +19938 -325
- package/sparkdream/bundle.js +558 -45
- package/sparkdream/client.d.ts +1105 -0
- package/sparkdream/client.js +38 -2
- package/sparkdream/collect/module/v1/module.d.ts +54 -0
- package/sparkdream/collect/module/v1/module.js +74 -0
- package/sparkdream/collect/v1/genesis.d.ts +82 -0
- package/sparkdream/collect/v1/genesis.js +274 -0
- package/sparkdream/collect/v1/params.d.ts +240 -0
- package/sparkdream/collect/v1/params.js +766 -0
- package/sparkdream/collect/v1/query.d.ts +2157 -0
- package/sparkdream/collect/v1/query.js +3793 -0
- package/sparkdream/collect/v1/query.lcd.d.ts +33 -0
- package/sparkdream/collect/v1/query.lcd.js +227 -0
- package/sparkdream/collect/v1/query.rpc.Query.d.ts +101 -0
- package/sparkdream/collect/v1/query.rpc.Query.js +257 -0
- package/sparkdream/collect/v1/tx.amino.d.ts +148 -0
- package/sparkdream/collect/v1/tx.amino.js +152 -0
- package/sparkdream/collect/v1/tx.d.ts +2581 -0
- package/sparkdream/collect/v1/tx.js +4771 -0
- package/sparkdream/collect/v1/tx.registry.d.ts +361 -0
- package/sparkdream/collect/v1/tx.registry.js +541 -0
- package/sparkdream/collect/v1/tx.rpc.msg.d.ts +76 -0
- package/sparkdream/collect/v1/tx.rpc.msg.js +190 -0
- package/sparkdream/collect/v1/types.d.ts +1205 -0
- package/sparkdream/collect/v1/types.js +3453 -0
- package/sparkdream/common/v1/content_type.d.ts +31 -0
- package/sparkdream/common/v1/content_type.js +101 -0
- package/sparkdream/common/v1/flag_record.d.ts +58 -0
- package/sparkdream/common/v1/flag_record.js +122 -0
- package/sparkdream/common/v1/moderation_reason.d.ts +35 -0
- package/sparkdream/common/v1/moderation_reason.js +120 -0
- package/sparkdream/common/v1/reserved_tag.d.ts +53 -0
- package/sparkdream/common/v1/reserved_tag.js +99 -0
- package/sparkdream/common/v1/tag.d.ts +57 -0
- package/sparkdream/common/v1/tag.js +123 -0
- package/sparkdream/commons/module/v1/module.d.ts +54 -0
- package/sparkdream/commons/module/v1/module.js +74 -0
- package/sparkdream/commons/v1/genesis.d.ts +299 -0
- package/sparkdream/commons/v1/genesis.js +536 -0
- package/sparkdream/commons/v1/group.d.ts +529 -0
- package/sparkdream/commons/v1/group.js +1123 -0
- package/sparkdream/commons/v1/params.d.ts +48 -0
- package/sparkdream/commons/v1/params.js +81 -0
- package/sparkdream/commons/v1/policy_permissions.d.ts +48 -0
- package/sparkdream/commons/v1/policy_permissions.js +89 -0
- package/sparkdream/commons/v1/query.d.ts +822 -0
- package/sparkdream/commons/v1/query.js +1340 -0
- package/sparkdream/commons/v1/query.lcd.d.ts +17 -0
- package/sparkdream/commons/v1/query.lcd.js +82 -0
- package/sparkdream/commons/v1/query.rpc.Query.d.ts +48 -0
- package/sparkdream/commons/v1/query.rpc.Query.js +105 -0
- package/sparkdream/commons/v1/tx.amino.d.ts +93 -0
- package/sparkdream/commons/v1/tx.amino.js +97 -0
- package/sparkdream/commons/v1/tx.d.ts +1930 -0
- package/sparkdream/commons/v1/tx.js +3285 -0
- package/sparkdream/commons/v1/tx.registry.d.ts +229 -0
- package/sparkdream/commons/v1/tx.registry.js +343 -0
- package/sparkdream/commons/v1/tx.rpc.msg.d.ts +73 -0
- package/sparkdream/commons/v1/tx.rpc.msg.js +127 -0
- package/sparkdream/ecosystem/module/v1/module.d.ts +54 -0
- package/sparkdream/ecosystem/module/v1/module.js +74 -0
- package/sparkdream/ecosystem/v1/genesis.d.ts +53 -0
- package/sparkdream/ecosystem/v1/genesis.js +75 -0
- package/sparkdream/ecosystem/v1/params.d.ts +46 -0
- package/sparkdream/ecosystem/v1/params.js +68 -0
- package/sparkdream/ecosystem/v1/query.d.ts +95 -0
- package/sparkdream/ecosystem/v1/query.js +131 -0
- package/sparkdream/ecosystem/v1/query.lcd.d.ts +9 -0
- package/sparkdream/ecosystem/v1/query.lcd.js +15 -0
- package/sparkdream/ecosystem/v1/query.rpc.Query.d.ts +16 -0
- package/sparkdream/ecosystem/v1/query.rpc.Query.js +29 -0
- package/sparkdream/ecosystem/v1/tx.amino.d.ts +13 -0
- package/sparkdream/ecosystem/v1/tx.amino.js +17 -0
- package/sparkdream/ecosystem/v1/tx.d.ts +201 -0
- package/sparkdream/ecosystem/v1/tx.js +311 -0
- package/sparkdream/ecosystem/v1/tx.registry.d.ts +37 -0
- package/sparkdream/ecosystem/v1/tx.registry.js +55 -0
- package/sparkdream/ecosystem/v1/tx.rpc.msg.d.ts +19 -0
- package/sparkdream/ecosystem/v1/tx.rpc.msg.js +29 -0
- package/sparkdream/forum/module/v1/module.d.ts +54 -0
- package/sparkdream/forum/module/v1/module.js +74 -0
- package/sparkdream/forum/v1/archive_metadata.d.ts +54 -0
- package/sparkdream/forum/v1/archive_metadata.js +122 -0
- package/sparkdream/forum/v1/bounty.d.ts +65 -0
- package/sparkdream/forum/v1/bounty.js +186 -0
- package/sparkdream/forum/v1/category.d.ts +54 -0
- package/sparkdream/forum/v1/category.js +122 -0
- package/sparkdream/forum/v1/genesis.d.ts +135 -0
- package/sparkdream/forum/v1/genesis.js +519 -0
- package/sparkdream/forum/v1/gov_action_appeal.d.ts +69 -0
- package/sparkdream/forum/v1/gov_action_appeal.js +205 -0
- package/sparkdream/forum/v1/hide_record.d.ts +61 -0
- package/sparkdream/forum/v1/hide_record.js +157 -0
- package/sparkdream/forum/v1/jury_participation.d.ts +56 -0
- package/sparkdream/forum/v1/jury_participation.js +134 -0
- package/sparkdream/forum/v1/member_report.d.ts +67 -0
- package/sparkdream/forum/v1/member_report.js +222 -0
- package/sparkdream/forum/v1/member_salvation_status.d.ts +54 -0
- package/sparkdream/forum/v1/member_salvation_status.js +122 -0
- package/sparkdream/forum/v1/member_warning.d.ts +58 -0
- package/sparkdream/forum/v1/member_warning.js +159 -0
- package/sparkdream/forum/v1/params.d.ts +450 -0
- package/sparkdream/forum/v1/params.js +870 -0
- package/sparkdream/forum/v1/post.d.ts +102 -0
- package/sparkdream/forum/v1/post.js +400 -0
- package/sparkdream/forum/v1/post_flag.d.ts +106 -0
- package/sparkdream/forum/v1/post_flag.js +257 -0
- package/sparkdream/forum/v1/query.d.ts +7296 -0
- package/sparkdream/forum/v1/query.js +12476 -0
- package/sparkdream/forum/v1/query.lcd.d.ts +88 -0
- package/sparkdream/forum/v1/query.lcd.js +734 -0
- package/sparkdream/forum/v1/query.rpc.Query.d.ts +332 -0
- package/sparkdream/forum/v1/query.rpc.Query.js +804 -0
- package/sparkdream/forum/v1/sentinel_activity.d.ts +117 -0
- package/sparkdream/forum/v1/sentinel_activity.js +493 -0
- package/sparkdream/forum/v1/tag_budget.d.ts +58 -0
- package/sparkdream/forum/v1/tag_budget.js +146 -0
- package/sparkdream/forum/v1/tag_budget_award.d.ts +60 -0
- package/sparkdream/forum/v1/tag_budget_award.js +158 -0
- package/sparkdream/forum/v1/tag_report.d.ts +54 -0
- package/sparkdream/forum/v1/tag_report.js +125 -0
- package/sparkdream/forum/v1/thread_follow.d.ts +50 -0
- package/sparkdream/forum/v1/thread_follow.js +98 -0
- package/sparkdream/forum/v1/thread_follow_count.d.ts +48 -0
- package/sparkdream/forum/v1/thread_follow_count.js +86 -0
- package/sparkdream/forum/v1/thread_lock_record.d.ts +60 -0
- package/sparkdream/forum/v1/thread_lock_record.js +158 -0
- package/sparkdream/forum/v1/thread_metadata.d.ts +63 -0
- package/sparkdream/forum/v1/thread_metadata.js +187 -0
- package/sparkdream/forum/v1/thread_move_record.d.ts +64 -0
- package/sparkdream/forum/v1/thread_move_record.js +182 -0
- package/sparkdream/forum/v1/tx.amino.d.ts +253 -0
- package/sparkdream/forum/v1/tx.amino.js +257 -0
- package/sparkdream/forum/v1/tx.d.ts +4551 -0
- package/sparkdream/forum/v1/tx.js +7468 -0
- package/sparkdream/forum/v1/tx.registry.d.ts +613 -0
- package/sparkdream/forum/v1/tx.registry.js +919 -0
- package/sparkdream/forum/v1/tx.rpc.msg.d.ts +166 -0
- package/sparkdream/forum/v1/tx.rpc.msg.js +318 -0
- package/sparkdream/forum/v1/types.d.ts +221 -0
- package/sparkdream/forum/v1/types.js +777 -0
- package/sparkdream/forum/v1/user_rate_limit.d.ts +54 -0
- package/sparkdream/forum/v1/user_rate_limit.js +122 -0
- package/sparkdream/forum/v1/user_reaction_limit.d.ts +52 -0
- package/sparkdream/forum/v1/user_reaction_limit.js +110 -0
- package/sparkdream/futarchy/module/v1/module.d.ts +54 -0
- package/sparkdream/futarchy/module/v1/module.js +74 -0
- package/sparkdream/futarchy/v1/genesis.d.ts +56 -0
- package/sparkdream/futarchy/v1/genesis.js +91 -0
- package/sparkdream/futarchy/v1/market.d.ts +104 -0
- package/sparkdream/futarchy/v1/market.js +243 -0
- package/sparkdream/futarchy/v1/params.d.ts +171 -0
- package/sparkdream/futarchy/v1/params.js +244 -0
- package/sparkdream/futarchy/v1/query.d.ts +381 -0
- package/sparkdream/futarchy/v1/query.js +599 -0
- package/sparkdream/futarchy/v1/query.lcd.d.ts +12 -0
- package/sparkdream/futarchy/v1/query.lcd.js +49 -0
- package/sparkdream/futarchy/v1/query.rpc.Query.d.ts +28 -0
- package/sparkdream/futarchy/v1/query.rpc.Query.js +58 -0
- package/sparkdream/futarchy/v1/tx.amino.d.ts +38 -0
- package/sparkdream/futarchy/v1/tx.amino.js +42 -0
- package/sparkdream/futarchy/v1/tx.d.ts +688 -0
- package/sparkdream/futarchy/v1/tx.js +1100 -0
- package/sparkdream/futarchy/v1/tx.registry.d.ts +97 -0
- package/sparkdream/futarchy/v1/tx.registry.js +145 -0
- package/sparkdream/futarchy/v1/tx.rpc.msg.d.ts +37 -0
- package/sparkdream/futarchy/v1/tx.rpc.msg.js +60 -0
- package/sparkdream/lcd.d.ts +36 -0
- package/sparkdream/lcd.js +60 -0
- package/sparkdream/name/module/v1/module.d.ts +54 -0
- package/sparkdream/name/module/v1/module.js +74 -0
- package/sparkdream/name/v1/dispute.d.ts +216 -0
- package/sparkdream/name/v1/dispute.js +344 -0
- package/sparkdream/name/v1/genesis.d.ts +62 -0
- package/sparkdream/name/v1/genesis.js +123 -0
- package/sparkdream/name/v1/name_record.d.ts +50 -0
- package/sparkdream/name/v1/name_record.js +98 -0
- package/sparkdream/name/v1/owner_info.d.ts +50 -0
- package/sparkdream/name/v1/owner_info.js +98 -0
- package/sparkdream/name/v1/params.d.ts +165 -0
- package/sparkdream/name/v1/params.js +309 -0
- package/sparkdream/name/v1/query.d.ts +544 -0
- package/sparkdream/name/v1/query.js +866 -0
- package/sparkdream/name/v1/query.lcd.d.ts +14 -0
- package/sparkdream/name/v1/query.lcd.js +56 -0
- package/sparkdream/name/v1/query.rpc.Query.d.ts +36 -0
- package/sparkdream/name/v1/query.rpc.Query.js +76 -0
- package/sparkdream/name/v1/tx.amino.d.ts +43 -0
- package/sparkdream/name/v1/tx.amino.js +47 -0
- package/sparkdream/name/v1/tx.d.ts +804 -0
- package/sparkdream/name/v1/tx.js +1225 -0
- package/sparkdream/name/v1/tx.registry.d.ts +109 -0
- package/sparkdream/name/v1/tx.registry.js +163 -0
- package/sparkdream/name/v1/tx.rpc.msg.d.ts +43 -0
- package/sparkdream/name/v1/tx.rpc.msg.js +67 -0
- package/sparkdream/rep/module/v1/module.d.ts +54 -0
- package/{cosmos/orm/module/v1alpha1 → sparkdream/rep/module/v1}/module.js +26 -14
- package/sparkdream/rep/v1/challenge.d.ts +74 -0
- package/sparkdream/rep/v1/challenge.js +231 -0
- package/sparkdream/rep/v1/content_challenge.d.ts +154 -0
- package/sparkdream/rep/v1/content_challenge.js +308 -0
- package/sparkdream/rep/v1/genesis.d.ts +185 -0
- package/sparkdream/rep/v1/genesis.js +484 -0
- package/sparkdream/rep/v1/initiative.d.ts +140 -0
- package/sparkdream/rep/v1/initiative.js +567 -0
- package/sparkdream/rep/v1/interim.d.ts +163 -0
- package/sparkdream/rep/v1/interim.js +435 -0
- package/sparkdream/rep/v1/interim_template.d.ts +114 -0
- package/sparkdream/rep/v1/interim_template.js +296 -0
- package/sparkdream/rep/v1/invitation.d.ts +78 -0
- package/sparkdream/rep/v1/invitation.js +256 -0
- package/sparkdream/rep/v1/jury_review.d.ts +235 -0
- package/sparkdream/rep/v1/jury_review.js +640 -0
- package/sparkdream/rep/v1/member.d.ts +408 -0
- package/sparkdream/rep/v1/member.js +864 -0
- package/sparkdream/rep/v1/params.d.ts +730 -0
- package/sparkdream/rep/v1/params.js +1822 -0
- package/sparkdream/rep/v1/project.d.ts +162 -0
- package/sparkdream/rep/v1/project.js +554 -0
- package/sparkdream/rep/v1/query.d.ts +4030 -0
- package/sparkdream/rep/v1/query.js +6900 -0
- package/sparkdream/rep/v1/query.lcd.d.ts +51 -0
- package/sparkdream/rep/v1/query.lcd.js +381 -0
- package/sparkdream/rep/v1/query.rpc.Query.d.ts +184 -0
- package/sparkdream/rep/v1/query.rpc.Query.js +429 -0
- package/sparkdream/rep/v1/stake.d.ts +266 -0
- package/sparkdream/rep/v1/stake.js +580 -0
- package/sparkdream/rep/v1/tx.amino.d.ts +158 -0
- package/sparkdream/rep/v1/tx.amino.js +162 -0
- package/sparkdream/rep/v1/tx.d.ts +2940 -0
- package/sparkdream/rep/v1/tx.js +5204 -0
- package/sparkdream/rep/v1/tx.registry.d.ts +385 -0
- package/sparkdream/rep/v1/tx.registry.js +577 -0
- package/sparkdream/rep/v1/tx.rpc.msg.d.ts +109 -0
- package/sparkdream/rep/v1/tx.rpc.msg.js +204 -0
- package/sparkdream/reveal/module/v1/module.d.ts +54 -0
- package/sparkdream/reveal/module/v1/module.js +74 -0
- package/sparkdream/reveal/v1/genesis.d.ts +64 -0
- package/sparkdream/reveal/v1/genesis.js +145 -0
- package/sparkdream/reveal/v1/params.d.ts +140 -0
- package/sparkdream/reveal/v1/params.js +238 -0
- package/sparkdream/reveal/v1/query.d.ts +949 -0
- package/sparkdream/reveal/v1/query.js +1703 -0
- package/sparkdream/reveal/v1/query.lcd.d.ts +19 -0
- package/sparkdream/reveal/v1/query.lcd.js +105 -0
- package/sparkdream/reveal/v1/query.rpc.Query.d.ts +56 -0
- package/sparkdream/reveal/v1/query.rpc.Query.js +121 -0
- package/sparkdream/reveal/v1/tx.amino.d.ts +53 -0
- package/sparkdream/reveal/v1/tx.amino.js +57 -0
- package/sparkdream/reveal/v1/tx.d.ts +1043 -0
- package/sparkdream/reveal/v1/tx.js +1702 -0
- package/sparkdream/reveal/v1/tx.registry.d.ts +133 -0
- package/sparkdream/reveal/v1/tx.registry.js +199 -0
- package/sparkdream/reveal/v1/tx.rpc.msg.d.ts +43 -0
- package/sparkdream/reveal/v1/tx.rpc.msg.js +77 -0
- package/sparkdream/reveal/v1/types.d.ts +455 -0
- package/sparkdream/reveal/v1/types.js +1150 -0
- package/sparkdream/rpc.query.d.ts +329 -9
- package/sparkdream/rpc.query.js +36 -5
- package/sparkdream/rpc.tx.d.ts +36 -0
- package/sparkdream/rpc.tx.js +36 -0
- package/sparkdream/season/module/v1/module.d.ts +54 -0
- package/sparkdream/season/module/v1/module.js +74 -0
- package/sparkdream/season/v1/achievement.d.ts +101 -0
- package/sparkdream/season/v1/achievement.js +145 -0
- package/sparkdream/season/v1/display_name_appeal_stake.d.ts +68 -0
- package/sparkdream/season/v1/display_name_appeal_stake.js +98 -0
- package/sparkdream/season/v1/display_name_moderation.d.ts +60 -0
- package/sparkdream/season/v1/display_name_moderation.js +158 -0
- package/sparkdream/season/v1/display_name_report_stake.d.ts +68 -0
- package/sparkdream/season/v1/display_name_report_stake.js +98 -0
- package/sparkdream/season/v1/enums.d.ts +86 -0
- package/sparkdream/season/v1/enums.js +406 -0
- package/sparkdream/season/v1/epoch_xp_tracker.d.ts +54 -0
- package/sparkdream/season/v1/epoch_xp_tracker.js +122 -0
- package/sparkdream/season/v1/forum_xp_cooldown.d.ts +48 -0
- package/sparkdream/season/v1/forum_xp_cooldown.js +86 -0
- package/sparkdream/season/v1/genesis.d.ts +136 -0
- package/sparkdream/season/v1/genesis.js +485 -0
- package/sparkdream/season/v1/guild.d.ts +117 -0
- package/sparkdream/season/v1/guild.js +175 -0
- package/sparkdream/season/v1/guild_invite.d.ts +52 -0
- package/sparkdream/season/v1/guild_invite.js +110 -0
- package/sparkdream/season/v1/guild_membership.d.ts +54 -0
- package/sparkdream/season/v1/guild_membership.js +122 -0
- package/sparkdream/season/v1/member_profile.d.ts +196 -0
- package/sparkdream/season/v1/member_profile.js +299 -0
- package/sparkdream/season/v1/member_quest_progress.d.ts +84 -0
- package/sparkdream/season/v1/member_quest_progress.js +135 -0
- package/sparkdream/season/v1/member_registration.d.ts +48 -0
- package/sparkdream/season/v1/member_registration.js +86 -0
- package/sparkdream/season/v1/member_season_snapshot.d.ts +145 -0
- package/sparkdream/season/v1/member_season_snapshot.js +241 -0
- package/sparkdream/season/v1/next_season_info.d.ts +48 -0
- package/sparkdream/season/v1/next_season_info.js +86 -0
- package/sparkdream/season/v1/nomination.d.ts +194 -0
- package/sparkdream/season/v1/nomination.js +431 -0
- package/sparkdream/season/v1/params.d.ts +611 -0
- package/sparkdream/season/v1/params.js +1600 -0
- package/sparkdream/season/v1/query.d.ts +6199 -0
- package/sparkdream/season/v1/query.js +10574 -0
- package/sparkdream/season/v1/query.lcd.d.ts +76 -0
- package/sparkdream/season/v1/query.lcd.js +602 -0
- package/sparkdream/season/v1/query.rpc.Query.d.ts +284 -0
- package/sparkdream/season/v1/query.rpc.Query.js +678 -0
- package/sparkdream/season/v1/quest.d.ts +231 -0
- package/sparkdream/season/v1/quest.js +337 -0
- package/sparkdream/season/v1/season.d.ts +117 -0
- package/sparkdream/season/v1/season.js +169 -0
- package/sparkdream/season/v1/season_snapshot.d.ts +48 -0
- package/sparkdream/season/v1/season_snapshot.js +86 -0
- package/sparkdream/season/v1/season_title_eligibility.d.ts +134 -0
- package/sparkdream/season/v1/season_title_eligibility.js +197 -0
- package/sparkdream/season/v1/season_transition_state.d.ts +93 -0
- package/sparkdream/season/v1/season_transition_state.js +133 -0
- package/sparkdream/season/v1/title.d.ts +109 -0
- package/sparkdream/season/v1/title.js +157 -0
- package/sparkdream/season/v1/transition_recovery_state.d.ts +85 -0
- package/sparkdream/season/v1/transition_recovery_state.js +121 -0
- package/sparkdream/season/v1/tx.amino.d.ts +218 -0
- package/sparkdream/season/v1/tx.amino.js +222 -0
- package/sparkdream/season/v1/tx.d.ts +4133 -0
- package/sparkdream/season/v1/tx.js +6827 -0
- package/sparkdream/season/v1/tx.registry.d.ts +529 -0
- package/sparkdream/season/v1/tx.registry.js +793 -0
- package/sparkdream/season/v1/tx.rpc.msg.d.ts +144 -0
- package/sparkdream/season/v1/tx.rpc.msg.js +277 -0
- package/sparkdream/season/v1/vote_xp_record.d.ts +48 -0
- package/sparkdream/season/v1/vote_xp_record.js +86 -0
- package/sparkdream/session/module/v1/module.d.ts +54 -0
- package/sparkdream/session/module/v1/module.js +74 -0
- package/sparkdream/session/v1/genesis.d.ts +62 -0
- package/sparkdream/session/v1/genesis.js +91 -0
- package/sparkdream/session/v1/params.d.ts +168 -0
- package/sparkdream/session/v1/params.js +278 -0
- package/sparkdream/session/v1/query.d.ts +423 -0
- package/sparkdream/session/v1/query.js +746 -0
- package/sparkdream/session/v1/query.lcd.d.ts +13 -0
- package/sparkdream/session/v1/query.lcd.js +49 -0
- package/sparkdream/session/v1/query.rpc.Query.d.ts +32 -0
- package/sparkdream/session/v1/query.rpc.Query.js +65 -0
- package/sparkdream/session/v1/session.d.ts +125 -0
- package/sparkdream/session/v1/session.js +188 -0
- package/sparkdream/session/v1/tx.amino.d.ts +28 -0
- package/sparkdream/session/v1/tx.amino.js +32 -0
- package/sparkdream/session/v1/tx.d.ts +481 -0
- package/sparkdream/session/v1/tx.js +771 -0
- package/sparkdream/session/v1/tx.registry.d.ts +73 -0
- package/sparkdream/session/v1/tx.registry.js +109 -0
- package/sparkdream/session/v1/tx.rpc.msg.d.ts +31 -0
- package/sparkdream/session/v1/tx.rpc.msg.js +48 -0
- package/sparkdream/shield/module/v1/module.d.ts +54 -0
- package/sparkdream/shield/module/v1/module.js +74 -0
- package/sparkdream/shield/v1/genesis.d.ts +182 -0
- package/sparkdream/shield/v1/genesis.js +304 -0
- package/sparkdream/shield/v1/params.d.ts +192 -0
- package/sparkdream/shield/v1/params.js +285 -0
- package/sparkdream/shield/v1/query.d.ts +1406 -0
- package/sparkdream/shield/v1/query.js +2326 -0
- package/sparkdream/shield/v1/query.lcd.d.ts +25 -0
- package/sparkdream/shield/v1/query.lcd.js +114 -0
- package/sparkdream/shield/v1/query.rpc.Query.d.ts +80 -0
- package/sparkdream/shield/v1/query.rpc.Query.js +175 -0
- package/sparkdream/shield/v1/tx.amino.d.ts +28 -0
- package/sparkdream/shield/v1/tx.amino.js +32 -0
- package/sparkdream/shield/v1/tx.d.ts +542 -0
- package/sparkdream/shield/v1/tx.js +841 -0
- package/sparkdream/shield/v1/tx.registry.d.ts +73 -0
- package/sparkdream/shield/v1/tx.registry.js +109 -0
- package/sparkdream/shield/v1/tx.rpc.msg.d.ts +29 -0
- package/sparkdream/shield/v1/tx.rpc.msg.js +48 -0
- package/sparkdream/shield/v1/types.d.ts +1412 -0
- package/sparkdream/shield/v1/types.js +2398 -0
- package/sparkdream/sparkdream/module/v1/module.d.ts +18 -2
- package/sparkdream/sparkdream/module/v1/module.js +6 -0
- package/sparkdream/sparkdream/v1/genesis.d.ts +24 -4
- package/sparkdream/sparkdream/v1/genesis.js +6 -0
- package/sparkdream/sparkdream/v1/params.d.ts +18 -2
- package/sparkdream/sparkdream/v1/params.js +6 -0
- package/sparkdream/sparkdream/v1/query.d.ts +42 -6
- package/sparkdream/sparkdream/v1/query.js +12 -0
- package/sparkdream/sparkdream/v1/tx.d.ts +37 -4
- package/sparkdream/sparkdream/v1/tx.js +13 -0
- package/sparkdream/split/module/v1/module.d.ts +54 -0
- package/sparkdream/split/module/v1/module.js +74 -0
- package/sparkdream/split/v1/genesis.d.ts +56 -0
- package/sparkdream/split/v1/genesis.js +91 -0
- package/sparkdream/split/v1/params.d.ts +46 -0
- package/sparkdream/split/v1/params.js +68 -0
- package/sparkdream/split/v1/query.d.ts +275 -0
- package/sparkdream/split/v1/query.js +424 -0
- package/sparkdream/split/v1/query.lcd.d.ts +11 -0
- package/sparkdream/split/v1/query.lcd.js +35 -0
- package/sparkdream/split/v1/query.rpc.Query.d.ts +24 -0
- package/sparkdream/split/v1/query.rpc.Query.js +49 -0
- package/sparkdream/split/v1/share.d.ts +48 -0
- package/sparkdream/split/v1/share.js +86 -0
- package/sparkdream/split/v1/tx.amino.d.ts +8 -0
- package/sparkdream/split/v1/tx.amino.js +12 -0
- package/sparkdream/split/v1/tx.d.ts +108 -0
- package/sparkdream/split/v1/tx.js +151 -0
- package/sparkdream/split/v1/tx.registry.d.ts +25 -0
- package/sparkdream/split/v1/tx.registry.js +37 -0
- package/sparkdream/split/v1/tx.rpc.msg.d.ts +16 -0
- package/sparkdream/split/v1/tx.rpc.msg.js +23 -0
- package/tendermint/abci/types.d.ts +971 -98
- package/tendermint/abci/types.js +255 -0
- package/tendermint/bundle.d.ts +844 -844
- package/tendermint/bundle.js +20 -20
- package/tendermint/crypto/keys.d.ts +18 -2
- package/tendermint/crypto/keys.js +6 -0
- package/tendermint/crypto/proof.d.ts +89 -6
- package/tendermint/crypto/proof.js +29 -0
- package/tendermint/p2p/types.d.ts +60 -0
- package/tendermint/p2p/types.js +20 -0
- package/tendermint/types/block.d.ts +15 -0
- package/tendermint/types/block.js +5 -0
- package/tendermint/types/evidence.d.ts +66 -4
- package/tendermint/types/evidence.js +22 -0
- package/tendermint/types/params.d.ts +112 -8
- package/tendermint/types/params.js +46 -0
- package/tendermint/types/types.d.ts +327 -42
- package/tendermint/types/types.js +87 -0
- package/tendermint/types/validator.d.ts +45 -0
- package/tendermint/types/validator.js +15 -0
- package/tendermint/version/types.d.ts +28 -0
- package/tendermint/version/types.js +16 -0
- package/types.d.ts +1 -1
- package/types.js +1 -1
- package/utf8.d.ts +1 -1
- package/utf8.js +1 -1
- package/varint.d.ts +1 -1
- package/varint.js +1 -1
- package/cosmos/orm/module/v1alpha1/module.d.ts +0 -38
- package/cosmos/orm/query/v1alpha1/query.d.ts +0 -353
- package/cosmos/orm/query/v1alpha1/query.js +0 -695
- package/cosmos/orm/query/v1alpha1/query.rpc.Query.d.ts +0 -20
- package/cosmos/orm/query/v1alpha1/query.rpc.Query.js +0 -38
- package/esm/cosmos/orm/query/v1alpha1/query.js +0 -692
- package/esm/cosmos/orm/query/v1alpha1/query.rpc.Query.js +0 -33
|
@@ -0,0 +1,1819 @@
|
|
|
1
|
+
//@ts-nocheck
|
|
2
|
+
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
3
|
+
import { Decimal } from "@interchainjs/math";
|
|
4
|
+
function createBaseTierConfig() {
|
|
5
|
+
return {
|
|
6
|
+
maxBudget: "",
|
|
7
|
+
minReputation: "",
|
|
8
|
+
reputationCap: "",
|
|
9
|
+
rewardMultiplier: ""
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* TierConfig defines configuration for an initiative tier
|
|
14
|
+
* @name TierConfig
|
|
15
|
+
* @package sparkdream.rep.v1
|
|
16
|
+
* @see proto type: sparkdream.rep.v1.TierConfig
|
|
17
|
+
*/
|
|
18
|
+
export const TierConfig = {
|
|
19
|
+
typeUrl: "/sparkdream.rep.v1.TierConfig",
|
|
20
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
21
|
+
if (message.maxBudget !== "") {
|
|
22
|
+
writer.uint32(10).string(message.maxBudget);
|
|
23
|
+
}
|
|
24
|
+
if (message.minReputation !== "") {
|
|
25
|
+
writer.uint32(18).string(Decimal.fromUserInput(message.minReputation, 18).atomics);
|
|
26
|
+
}
|
|
27
|
+
if (message.reputationCap !== "") {
|
|
28
|
+
writer.uint32(26).string(Decimal.fromUserInput(message.reputationCap, 18).atomics);
|
|
29
|
+
}
|
|
30
|
+
if (message.rewardMultiplier !== "") {
|
|
31
|
+
writer.uint32(34).string(Decimal.fromUserInput(message.rewardMultiplier, 18).atomics);
|
|
32
|
+
}
|
|
33
|
+
return writer;
|
|
34
|
+
},
|
|
35
|
+
decode(input, length) {
|
|
36
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
37
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
38
|
+
const message = createBaseTierConfig();
|
|
39
|
+
while (reader.pos < end) {
|
|
40
|
+
const tag = reader.uint32();
|
|
41
|
+
switch (tag >>> 3) {
|
|
42
|
+
case 1:
|
|
43
|
+
message.maxBudget = reader.string();
|
|
44
|
+
break;
|
|
45
|
+
case 2:
|
|
46
|
+
message.minReputation = Decimal.fromAtomics(reader.string(), 18).toString();
|
|
47
|
+
break;
|
|
48
|
+
case 3:
|
|
49
|
+
message.reputationCap = Decimal.fromAtomics(reader.string(), 18).toString();
|
|
50
|
+
break;
|
|
51
|
+
case 4:
|
|
52
|
+
message.rewardMultiplier = Decimal.fromAtomics(reader.string(), 18).toString();
|
|
53
|
+
break;
|
|
54
|
+
default:
|
|
55
|
+
reader.skipType(tag & 7);
|
|
56
|
+
break;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
return message;
|
|
60
|
+
},
|
|
61
|
+
fromPartial(object) {
|
|
62
|
+
const message = createBaseTierConfig();
|
|
63
|
+
message.maxBudget = object.maxBudget ?? "";
|
|
64
|
+
message.minReputation = object.minReputation ?? "";
|
|
65
|
+
message.reputationCap = object.reputationCap ?? "";
|
|
66
|
+
message.rewardMultiplier = object.rewardMultiplier ?? "";
|
|
67
|
+
return message;
|
|
68
|
+
},
|
|
69
|
+
fromAmino(object) {
|
|
70
|
+
const message = createBaseTierConfig();
|
|
71
|
+
if (object.max_budget !== undefined && object.max_budget !== null) {
|
|
72
|
+
message.maxBudget = object.max_budget;
|
|
73
|
+
}
|
|
74
|
+
if (object.min_reputation !== undefined && object.min_reputation !== null) {
|
|
75
|
+
message.minReputation = object.min_reputation;
|
|
76
|
+
}
|
|
77
|
+
if (object.reputation_cap !== undefined && object.reputation_cap !== null) {
|
|
78
|
+
message.reputationCap = object.reputation_cap;
|
|
79
|
+
}
|
|
80
|
+
if (object.reward_multiplier !== undefined && object.reward_multiplier !== null) {
|
|
81
|
+
message.rewardMultiplier = object.reward_multiplier;
|
|
82
|
+
}
|
|
83
|
+
return message;
|
|
84
|
+
},
|
|
85
|
+
toAmino(message) {
|
|
86
|
+
const obj = {};
|
|
87
|
+
obj.max_budget = message.maxBudget === "" ? undefined : message.maxBudget;
|
|
88
|
+
obj.min_reputation = message.minReputation === "" ? undefined : message.minReputation;
|
|
89
|
+
obj.reputation_cap = message.reputationCap === "" ? undefined : message.reputationCap;
|
|
90
|
+
obj.reward_multiplier = message.rewardMultiplier === "" ? undefined : message.rewardMultiplier;
|
|
91
|
+
return obj;
|
|
92
|
+
},
|
|
93
|
+
fromAminoMsg(object) {
|
|
94
|
+
return TierConfig.fromAmino(object.value);
|
|
95
|
+
},
|
|
96
|
+
fromProtoMsg(message) {
|
|
97
|
+
return TierConfig.decode(message.value);
|
|
98
|
+
},
|
|
99
|
+
toProto(message) {
|
|
100
|
+
return TierConfig.encode(message).finish();
|
|
101
|
+
},
|
|
102
|
+
toProtoMsg(message) {
|
|
103
|
+
return {
|
|
104
|
+
typeUrl: "/sparkdream.rep.v1.TierConfig",
|
|
105
|
+
value: TierConfig.encode(message).finish()
|
|
106
|
+
};
|
|
107
|
+
}
|
|
108
|
+
};
|
|
109
|
+
function createBaseTrustLevelConfig() {
|
|
110
|
+
return {
|
|
111
|
+
provisionalMinRep: "",
|
|
112
|
+
provisionalMinInterims: 0,
|
|
113
|
+
establishedMinRep: "",
|
|
114
|
+
establishedMinInterims: 0,
|
|
115
|
+
trustedMinRep: "",
|
|
116
|
+
trustedMinSeasons: 0,
|
|
117
|
+
coreMinRep: "",
|
|
118
|
+
coreMinSeasons: 0,
|
|
119
|
+
newInvitationCredits: 0,
|
|
120
|
+
provisionalInvitationCredits: 0,
|
|
121
|
+
establishedInvitationCredits: 0,
|
|
122
|
+
trustedInvitationCredits: 0,
|
|
123
|
+
coreInvitationCredits: 0
|
|
124
|
+
};
|
|
125
|
+
}
|
|
126
|
+
/**
|
|
127
|
+
* TrustLevelConfig defines thresholds for trust level progression
|
|
128
|
+
* @name TrustLevelConfig
|
|
129
|
+
* @package sparkdream.rep.v1
|
|
130
|
+
* @see proto type: sparkdream.rep.v1.TrustLevelConfig
|
|
131
|
+
*/
|
|
132
|
+
export const TrustLevelConfig = {
|
|
133
|
+
typeUrl: "/sparkdream.rep.v1.TrustLevelConfig",
|
|
134
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
135
|
+
if (message.provisionalMinRep !== "") {
|
|
136
|
+
writer.uint32(10).string(Decimal.fromUserInput(message.provisionalMinRep, 18).atomics);
|
|
137
|
+
}
|
|
138
|
+
if (message.provisionalMinInterims !== 0) {
|
|
139
|
+
writer.uint32(16).uint32(message.provisionalMinInterims);
|
|
140
|
+
}
|
|
141
|
+
if (message.establishedMinRep !== "") {
|
|
142
|
+
writer.uint32(26).string(Decimal.fromUserInput(message.establishedMinRep, 18).atomics);
|
|
143
|
+
}
|
|
144
|
+
if (message.establishedMinInterims !== 0) {
|
|
145
|
+
writer.uint32(32).uint32(message.establishedMinInterims);
|
|
146
|
+
}
|
|
147
|
+
if (message.trustedMinRep !== "") {
|
|
148
|
+
writer.uint32(42).string(Decimal.fromUserInput(message.trustedMinRep, 18).atomics);
|
|
149
|
+
}
|
|
150
|
+
if (message.trustedMinSeasons !== 0) {
|
|
151
|
+
writer.uint32(48).uint32(message.trustedMinSeasons);
|
|
152
|
+
}
|
|
153
|
+
if (message.coreMinRep !== "") {
|
|
154
|
+
writer.uint32(58).string(Decimal.fromUserInput(message.coreMinRep, 18).atomics);
|
|
155
|
+
}
|
|
156
|
+
if (message.coreMinSeasons !== 0) {
|
|
157
|
+
writer.uint32(64).uint32(message.coreMinSeasons);
|
|
158
|
+
}
|
|
159
|
+
if (message.newInvitationCredits !== 0) {
|
|
160
|
+
writer.uint32(72).uint32(message.newInvitationCredits);
|
|
161
|
+
}
|
|
162
|
+
if (message.provisionalInvitationCredits !== 0) {
|
|
163
|
+
writer.uint32(80).uint32(message.provisionalInvitationCredits);
|
|
164
|
+
}
|
|
165
|
+
if (message.establishedInvitationCredits !== 0) {
|
|
166
|
+
writer.uint32(88).uint32(message.establishedInvitationCredits);
|
|
167
|
+
}
|
|
168
|
+
if (message.trustedInvitationCredits !== 0) {
|
|
169
|
+
writer.uint32(96).uint32(message.trustedInvitationCredits);
|
|
170
|
+
}
|
|
171
|
+
if (message.coreInvitationCredits !== 0) {
|
|
172
|
+
writer.uint32(104).uint32(message.coreInvitationCredits);
|
|
173
|
+
}
|
|
174
|
+
return writer;
|
|
175
|
+
},
|
|
176
|
+
decode(input, length) {
|
|
177
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
178
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
179
|
+
const message = createBaseTrustLevelConfig();
|
|
180
|
+
while (reader.pos < end) {
|
|
181
|
+
const tag = reader.uint32();
|
|
182
|
+
switch (tag >>> 3) {
|
|
183
|
+
case 1:
|
|
184
|
+
message.provisionalMinRep = Decimal.fromAtomics(reader.string(), 18).toString();
|
|
185
|
+
break;
|
|
186
|
+
case 2:
|
|
187
|
+
message.provisionalMinInterims = reader.uint32();
|
|
188
|
+
break;
|
|
189
|
+
case 3:
|
|
190
|
+
message.establishedMinRep = Decimal.fromAtomics(reader.string(), 18).toString();
|
|
191
|
+
break;
|
|
192
|
+
case 4:
|
|
193
|
+
message.establishedMinInterims = reader.uint32();
|
|
194
|
+
break;
|
|
195
|
+
case 5:
|
|
196
|
+
message.trustedMinRep = Decimal.fromAtomics(reader.string(), 18).toString();
|
|
197
|
+
break;
|
|
198
|
+
case 6:
|
|
199
|
+
message.trustedMinSeasons = reader.uint32();
|
|
200
|
+
break;
|
|
201
|
+
case 7:
|
|
202
|
+
message.coreMinRep = Decimal.fromAtomics(reader.string(), 18).toString();
|
|
203
|
+
break;
|
|
204
|
+
case 8:
|
|
205
|
+
message.coreMinSeasons = reader.uint32();
|
|
206
|
+
break;
|
|
207
|
+
case 9:
|
|
208
|
+
message.newInvitationCredits = reader.uint32();
|
|
209
|
+
break;
|
|
210
|
+
case 10:
|
|
211
|
+
message.provisionalInvitationCredits = reader.uint32();
|
|
212
|
+
break;
|
|
213
|
+
case 11:
|
|
214
|
+
message.establishedInvitationCredits = reader.uint32();
|
|
215
|
+
break;
|
|
216
|
+
case 12:
|
|
217
|
+
message.trustedInvitationCredits = reader.uint32();
|
|
218
|
+
break;
|
|
219
|
+
case 13:
|
|
220
|
+
message.coreInvitationCredits = reader.uint32();
|
|
221
|
+
break;
|
|
222
|
+
default:
|
|
223
|
+
reader.skipType(tag & 7);
|
|
224
|
+
break;
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
return message;
|
|
228
|
+
},
|
|
229
|
+
fromPartial(object) {
|
|
230
|
+
const message = createBaseTrustLevelConfig();
|
|
231
|
+
message.provisionalMinRep = object.provisionalMinRep ?? "";
|
|
232
|
+
message.provisionalMinInterims = object.provisionalMinInterims ?? 0;
|
|
233
|
+
message.establishedMinRep = object.establishedMinRep ?? "";
|
|
234
|
+
message.establishedMinInterims = object.establishedMinInterims ?? 0;
|
|
235
|
+
message.trustedMinRep = object.trustedMinRep ?? "";
|
|
236
|
+
message.trustedMinSeasons = object.trustedMinSeasons ?? 0;
|
|
237
|
+
message.coreMinRep = object.coreMinRep ?? "";
|
|
238
|
+
message.coreMinSeasons = object.coreMinSeasons ?? 0;
|
|
239
|
+
message.newInvitationCredits = object.newInvitationCredits ?? 0;
|
|
240
|
+
message.provisionalInvitationCredits = object.provisionalInvitationCredits ?? 0;
|
|
241
|
+
message.establishedInvitationCredits = object.establishedInvitationCredits ?? 0;
|
|
242
|
+
message.trustedInvitationCredits = object.trustedInvitationCredits ?? 0;
|
|
243
|
+
message.coreInvitationCredits = object.coreInvitationCredits ?? 0;
|
|
244
|
+
return message;
|
|
245
|
+
},
|
|
246
|
+
fromAmino(object) {
|
|
247
|
+
const message = createBaseTrustLevelConfig();
|
|
248
|
+
if (object.provisional_min_rep !== undefined && object.provisional_min_rep !== null) {
|
|
249
|
+
message.provisionalMinRep = object.provisional_min_rep;
|
|
250
|
+
}
|
|
251
|
+
if (object.provisional_min_interims !== undefined && object.provisional_min_interims !== null) {
|
|
252
|
+
message.provisionalMinInterims = object.provisional_min_interims;
|
|
253
|
+
}
|
|
254
|
+
if (object.established_min_rep !== undefined && object.established_min_rep !== null) {
|
|
255
|
+
message.establishedMinRep = object.established_min_rep;
|
|
256
|
+
}
|
|
257
|
+
if (object.established_min_interims !== undefined && object.established_min_interims !== null) {
|
|
258
|
+
message.establishedMinInterims = object.established_min_interims;
|
|
259
|
+
}
|
|
260
|
+
if (object.trusted_min_rep !== undefined && object.trusted_min_rep !== null) {
|
|
261
|
+
message.trustedMinRep = object.trusted_min_rep;
|
|
262
|
+
}
|
|
263
|
+
if (object.trusted_min_seasons !== undefined && object.trusted_min_seasons !== null) {
|
|
264
|
+
message.trustedMinSeasons = object.trusted_min_seasons;
|
|
265
|
+
}
|
|
266
|
+
if (object.core_min_rep !== undefined && object.core_min_rep !== null) {
|
|
267
|
+
message.coreMinRep = object.core_min_rep;
|
|
268
|
+
}
|
|
269
|
+
if (object.core_min_seasons !== undefined && object.core_min_seasons !== null) {
|
|
270
|
+
message.coreMinSeasons = object.core_min_seasons;
|
|
271
|
+
}
|
|
272
|
+
if (object.new_invitation_credits !== undefined && object.new_invitation_credits !== null) {
|
|
273
|
+
message.newInvitationCredits = object.new_invitation_credits;
|
|
274
|
+
}
|
|
275
|
+
if (object.provisional_invitation_credits !== undefined && object.provisional_invitation_credits !== null) {
|
|
276
|
+
message.provisionalInvitationCredits = object.provisional_invitation_credits;
|
|
277
|
+
}
|
|
278
|
+
if (object.established_invitation_credits !== undefined && object.established_invitation_credits !== null) {
|
|
279
|
+
message.establishedInvitationCredits = object.established_invitation_credits;
|
|
280
|
+
}
|
|
281
|
+
if (object.trusted_invitation_credits !== undefined && object.trusted_invitation_credits !== null) {
|
|
282
|
+
message.trustedInvitationCredits = object.trusted_invitation_credits;
|
|
283
|
+
}
|
|
284
|
+
if (object.core_invitation_credits !== undefined && object.core_invitation_credits !== null) {
|
|
285
|
+
message.coreInvitationCredits = object.core_invitation_credits;
|
|
286
|
+
}
|
|
287
|
+
return message;
|
|
288
|
+
},
|
|
289
|
+
toAmino(message) {
|
|
290
|
+
const obj = {};
|
|
291
|
+
obj.provisional_min_rep = message.provisionalMinRep === "" ? undefined : message.provisionalMinRep;
|
|
292
|
+
obj.provisional_min_interims = message.provisionalMinInterims === 0 ? undefined : message.provisionalMinInterims;
|
|
293
|
+
obj.established_min_rep = message.establishedMinRep === "" ? undefined : message.establishedMinRep;
|
|
294
|
+
obj.established_min_interims = message.establishedMinInterims === 0 ? undefined : message.establishedMinInterims;
|
|
295
|
+
obj.trusted_min_rep = message.trustedMinRep === "" ? undefined : message.trustedMinRep;
|
|
296
|
+
obj.trusted_min_seasons = message.trustedMinSeasons === 0 ? undefined : message.trustedMinSeasons;
|
|
297
|
+
obj.core_min_rep = message.coreMinRep === "" ? undefined : message.coreMinRep;
|
|
298
|
+
obj.core_min_seasons = message.coreMinSeasons === 0 ? undefined : message.coreMinSeasons;
|
|
299
|
+
obj.new_invitation_credits = message.newInvitationCredits === 0 ? undefined : message.newInvitationCredits;
|
|
300
|
+
obj.provisional_invitation_credits = message.provisionalInvitationCredits === 0 ? undefined : message.provisionalInvitationCredits;
|
|
301
|
+
obj.established_invitation_credits = message.establishedInvitationCredits === 0 ? undefined : message.establishedInvitationCredits;
|
|
302
|
+
obj.trusted_invitation_credits = message.trustedInvitationCredits === 0 ? undefined : message.trustedInvitationCredits;
|
|
303
|
+
obj.core_invitation_credits = message.coreInvitationCredits === 0 ? undefined : message.coreInvitationCredits;
|
|
304
|
+
return obj;
|
|
305
|
+
},
|
|
306
|
+
fromAminoMsg(object) {
|
|
307
|
+
return TrustLevelConfig.fromAmino(object.value);
|
|
308
|
+
},
|
|
309
|
+
fromProtoMsg(message) {
|
|
310
|
+
return TrustLevelConfig.decode(message.value);
|
|
311
|
+
},
|
|
312
|
+
toProto(message) {
|
|
313
|
+
return TrustLevelConfig.encode(message).finish();
|
|
314
|
+
},
|
|
315
|
+
toProtoMsg(message) {
|
|
316
|
+
return {
|
|
317
|
+
typeUrl: "/sparkdream.rep.v1.TrustLevelConfig",
|
|
318
|
+
value: TrustLevelConfig.encode(message).finish()
|
|
319
|
+
};
|
|
320
|
+
}
|
|
321
|
+
};
|
|
322
|
+
function createBaseParams() {
|
|
323
|
+
return {
|
|
324
|
+
epochBlocks: BigInt(0),
|
|
325
|
+
seasonDurationEpochs: BigInt(0),
|
|
326
|
+
stakingApy: "",
|
|
327
|
+
unstakedDecayRate: "",
|
|
328
|
+
transferTaxRate: "",
|
|
329
|
+
maxTipAmount: "",
|
|
330
|
+
maxTipsPerEpoch: 0,
|
|
331
|
+
maxGiftAmount: "",
|
|
332
|
+
giftOnlyToInvitees: false,
|
|
333
|
+
completerShare: "",
|
|
334
|
+
treasuryShare: "",
|
|
335
|
+
minReputationMultiplier: "",
|
|
336
|
+
apprenticeTier: TierConfig.fromPartial({}),
|
|
337
|
+
standardTier: TierConfig.fromPartial({}),
|
|
338
|
+
expertTier: TierConfig.fromPartial({}),
|
|
339
|
+
epicTier: TierConfig.fromPartial({}),
|
|
340
|
+
convictionHalfLifeEpochs: BigInt(0),
|
|
341
|
+
externalConvictionRatio: "",
|
|
342
|
+
convictionPerDream: "",
|
|
343
|
+
defaultReviewPeriodEpochs: BigInt(0),
|
|
344
|
+
defaultChallengePeriodEpochs: BigInt(0),
|
|
345
|
+
minInvitationStake: "",
|
|
346
|
+
invitationAccountabilityEpochs: BigInt(0),
|
|
347
|
+
referralRewardRate: "",
|
|
348
|
+
invitationCostMultiplier: "",
|
|
349
|
+
trustLevelConfig: TrustLevelConfig.fromPartial({}),
|
|
350
|
+
minChallengeStake: "",
|
|
351
|
+
challengerRewardRate: "",
|
|
352
|
+
jurySize: 0,
|
|
353
|
+
jurySuperMajority: "",
|
|
354
|
+
minJurorReputation: "",
|
|
355
|
+
simpleComplexityBudget: "",
|
|
356
|
+
standardComplexityBudget: "",
|
|
357
|
+
complexComplexityBudget: "",
|
|
358
|
+
expertComplexityBudget: "",
|
|
359
|
+
soloExpertBonusRate: "",
|
|
360
|
+
interimDeadlineEpochs: BigInt(0),
|
|
361
|
+
maxActiveChallengesPerCommittee: 0,
|
|
362
|
+
maxNewChallengesPerEpoch: 0,
|
|
363
|
+
challengeQueueMaxSize: 0,
|
|
364
|
+
minorSlashPenalty: "",
|
|
365
|
+
moderateSlashPenalty: "",
|
|
366
|
+
severeSlashPenalty: "",
|
|
367
|
+
zeroingSlashPenalty: "",
|
|
368
|
+
projectStakingApy: "",
|
|
369
|
+
projectCompletionBonusRate: "",
|
|
370
|
+
memberStakeRevenueShare: "",
|
|
371
|
+
tagStakeRevenueShare: "",
|
|
372
|
+
minStakeDurationSeconds: BigInt(0),
|
|
373
|
+
allowSelfMemberStake: false,
|
|
374
|
+
challengeResponseDeadlineEpochs: BigInt(0),
|
|
375
|
+
giftCooldownBlocks: BigInt(0),
|
|
376
|
+
maxGiftsPerSenderEpoch: "",
|
|
377
|
+
contentConvictionHalfLifeEpochs: BigInt(0),
|
|
378
|
+
maxContentStakePerMember: "",
|
|
379
|
+
maxAuthorBondPerContent: "",
|
|
380
|
+
authorBondSlashOnModeration: false,
|
|
381
|
+
contentChallengeRewardShare: "",
|
|
382
|
+
convictionPropagationRatio: "",
|
|
383
|
+
maxTagsPerInitiative: 0,
|
|
384
|
+
reputationDecayRate: "",
|
|
385
|
+
maxConvictionSharePerMember: "",
|
|
386
|
+
invitationStakeBurnRate: "",
|
|
387
|
+
maxReputationGainPerEpoch: ""
|
|
388
|
+
};
|
|
389
|
+
}
|
|
390
|
+
/**
|
|
391
|
+
* Params defines the parameters for the module.
|
|
392
|
+
* @name Params
|
|
393
|
+
* @package sparkdream.rep.v1
|
|
394
|
+
* @see proto type: sparkdream.rep.v1.Params
|
|
395
|
+
*/
|
|
396
|
+
export const Params = {
|
|
397
|
+
typeUrl: "/sparkdream.rep.v1.Params",
|
|
398
|
+
aminoType: "sparkdream/x/rep/Params",
|
|
399
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
400
|
+
if (message.epochBlocks !== BigInt(0)) {
|
|
401
|
+
writer.uint32(8).int64(message.epochBlocks);
|
|
402
|
+
}
|
|
403
|
+
if (message.seasonDurationEpochs !== BigInt(0)) {
|
|
404
|
+
writer.uint32(16).int64(message.seasonDurationEpochs);
|
|
405
|
+
}
|
|
406
|
+
if (message.stakingApy !== "") {
|
|
407
|
+
writer.uint32(26).string(Decimal.fromUserInput(message.stakingApy, 18).atomics);
|
|
408
|
+
}
|
|
409
|
+
if (message.unstakedDecayRate !== "") {
|
|
410
|
+
writer.uint32(34).string(Decimal.fromUserInput(message.unstakedDecayRate, 18).atomics);
|
|
411
|
+
}
|
|
412
|
+
if (message.transferTaxRate !== "") {
|
|
413
|
+
writer.uint32(42).string(Decimal.fromUserInput(message.transferTaxRate, 18).atomics);
|
|
414
|
+
}
|
|
415
|
+
if (message.maxTipAmount !== "") {
|
|
416
|
+
writer.uint32(50).string(message.maxTipAmount);
|
|
417
|
+
}
|
|
418
|
+
if (message.maxTipsPerEpoch !== 0) {
|
|
419
|
+
writer.uint32(56).uint32(message.maxTipsPerEpoch);
|
|
420
|
+
}
|
|
421
|
+
if (message.maxGiftAmount !== "") {
|
|
422
|
+
writer.uint32(66).string(message.maxGiftAmount);
|
|
423
|
+
}
|
|
424
|
+
if (message.giftOnlyToInvitees === true) {
|
|
425
|
+
writer.uint32(72).bool(message.giftOnlyToInvitees);
|
|
426
|
+
}
|
|
427
|
+
if (message.completerShare !== "") {
|
|
428
|
+
writer.uint32(82).string(Decimal.fromUserInput(message.completerShare, 18).atomics);
|
|
429
|
+
}
|
|
430
|
+
if (message.treasuryShare !== "") {
|
|
431
|
+
writer.uint32(90).string(Decimal.fromUserInput(message.treasuryShare, 18).atomics);
|
|
432
|
+
}
|
|
433
|
+
if (message.minReputationMultiplier !== "") {
|
|
434
|
+
writer.uint32(98).string(Decimal.fromUserInput(message.minReputationMultiplier, 18).atomics);
|
|
435
|
+
}
|
|
436
|
+
if (message.apprenticeTier !== undefined) {
|
|
437
|
+
TierConfig.encode(message.apprenticeTier, writer.uint32(106).fork()).ldelim();
|
|
438
|
+
}
|
|
439
|
+
if (message.standardTier !== undefined) {
|
|
440
|
+
TierConfig.encode(message.standardTier, writer.uint32(114).fork()).ldelim();
|
|
441
|
+
}
|
|
442
|
+
if (message.expertTier !== undefined) {
|
|
443
|
+
TierConfig.encode(message.expertTier, writer.uint32(122).fork()).ldelim();
|
|
444
|
+
}
|
|
445
|
+
if (message.epicTier !== undefined) {
|
|
446
|
+
TierConfig.encode(message.epicTier, writer.uint32(130).fork()).ldelim();
|
|
447
|
+
}
|
|
448
|
+
if (message.convictionHalfLifeEpochs !== BigInt(0)) {
|
|
449
|
+
writer.uint32(136).int64(message.convictionHalfLifeEpochs);
|
|
450
|
+
}
|
|
451
|
+
if (message.externalConvictionRatio !== "") {
|
|
452
|
+
writer.uint32(146).string(Decimal.fromUserInput(message.externalConvictionRatio, 18).atomics);
|
|
453
|
+
}
|
|
454
|
+
if (message.convictionPerDream !== "") {
|
|
455
|
+
writer.uint32(154).string(Decimal.fromUserInput(message.convictionPerDream, 18).atomics);
|
|
456
|
+
}
|
|
457
|
+
if (message.defaultReviewPeriodEpochs !== BigInt(0)) {
|
|
458
|
+
writer.uint32(160).int64(message.defaultReviewPeriodEpochs);
|
|
459
|
+
}
|
|
460
|
+
if (message.defaultChallengePeriodEpochs !== BigInt(0)) {
|
|
461
|
+
writer.uint32(168).int64(message.defaultChallengePeriodEpochs);
|
|
462
|
+
}
|
|
463
|
+
if (message.minInvitationStake !== "") {
|
|
464
|
+
writer.uint32(178).string(message.minInvitationStake);
|
|
465
|
+
}
|
|
466
|
+
if (message.invitationAccountabilityEpochs !== BigInt(0)) {
|
|
467
|
+
writer.uint32(184).int64(message.invitationAccountabilityEpochs);
|
|
468
|
+
}
|
|
469
|
+
if (message.referralRewardRate !== "") {
|
|
470
|
+
writer.uint32(194).string(Decimal.fromUserInput(message.referralRewardRate, 18).atomics);
|
|
471
|
+
}
|
|
472
|
+
if (message.invitationCostMultiplier !== "") {
|
|
473
|
+
writer.uint32(202).string(Decimal.fromUserInput(message.invitationCostMultiplier, 18).atomics);
|
|
474
|
+
}
|
|
475
|
+
if (message.trustLevelConfig !== undefined) {
|
|
476
|
+
TrustLevelConfig.encode(message.trustLevelConfig, writer.uint32(210).fork()).ldelim();
|
|
477
|
+
}
|
|
478
|
+
if (message.minChallengeStake !== "") {
|
|
479
|
+
writer.uint32(218).string(message.minChallengeStake);
|
|
480
|
+
}
|
|
481
|
+
if (message.challengerRewardRate !== "") {
|
|
482
|
+
writer.uint32(226).string(Decimal.fromUserInput(message.challengerRewardRate, 18).atomics);
|
|
483
|
+
}
|
|
484
|
+
if (message.jurySize !== 0) {
|
|
485
|
+
writer.uint32(232).uint32(message.jurySize);
|
|
486
|
+
}
|
|
487
|
+
if (message.jurySuperMajority !== "") {
|
|
488
|
+
writer.uint32(242).string(Decimal.fromUserInput(message.jurySuperMajority, 18).atomics);
|
|
489
|
+
}
|
|
490
|
+
if (message.minJurorReputation !== "") {
|
|
491
|
+
writer.uint32(250).string(Decimal.fromUserInput(message.minJurorReputation, 18).atomics);
|
|
492
|
+
}
|
|
493
|
+
if (message.simpleComplexityBudget !== "") {
|
|
494
|
+
writer.uint32(258).string(message.simpleComplexityBudget);
|
|
495
|
+
}
|
|
496
|
+
if (message.standardComplexityBudget !== "") {
|
|
497
|
+
writer.uint32(266).string(message.standardComplexityBudget);
|
|
498
|
+
}
|
|
499
|
+
if (message.complexComplexityBudget !== "") {
|
|
500
|
+
writer.uint32(274).string(message.complexComplexityBudget);
|
|
501
|
+
}
|
|
502
|
+
if (message.expertComplexityBudget !== "") {
|
|
503
|
+
writer.uint32(282).string(message.expertComplexityBudget);
|
|
504
|
+
}
|
|
505
|
+
if (message.soloExpertBonusRate !== "") {
|
|
506
|
+
writer.uint32(290).string(Decimal.fromUserInput(message.soloExpertBonusRate, 18).atomics);
|
|
507
|
+
}
|
|
508
|
+
if (message.interimDeadlineEpochs !== BigInt(0)) {
|
|
509
|
+
writer.uint32(296).int64(message.interimDeadlineEpochs);
|
|
510
|
+
}
|
|
511
|
+
if (message.maxActiveChallengesPerCommittee !== 0) {
|
|
512
|
+
writer.uint32(304).uint32(message.maxActiveChallengesPerCommittee);
|
|
513
|
+
}
|
|
514
|
+
if (message.maxNewChallengesPerEpoch !== 0) {
|
|
515
|
+
writer.uint32(312).uint32(message.maxNewChallengesPerEpoch);
|
|
516
|
+
}
|
|
517
|
+
if (message.challengeQueueMaxSize !== 0) {
|
|
518
|
+
writer.uint32(320).uint32(message.challengeQueueMaxSize);
|
|
519
|
+
}
|
|
520
|
+
if (message.minorSlashPenalty !== "") {
|
|
521
|
+
writer.uint32(330).string(Decimal.fromUserInput(message.minorSlashPenalty, 18).atomics);
|
|
522
|
+
}
|
|
523
|
+
if (message.moderateSlashPenalty !== "") {
|
|
524
|
+
writer.uint32(338).string(Decimal.fromUserInput(message.moderateSlashPenalty, 18).atomics);
|
|
525
|
+
}
|
|
526
|
+
if (message.severeSlashPenalty !== "") {
|
|
527
|
+
writer.uint32(346).string(Decimal.fromUserInput(message.severeSlashPenalty, 18).atomics);
|
|
528
|
+
}
|
|
529
|
+
if (message.zeroingSlashPenalty !== "") {
|
|
530
|
+
writer.uint32(354).string(Decimal.fromUserInput(message.zeroingSlashPenalty, 18).atomics);
|
|
531
|
+
}
|
|
532
|
+
if (message.projectStakingApy !== "") {
|
|
533
|
+
writer.uint32(362).string(Decimal.fromUserInput(message.projectStakingApy, 18).atomics);
|
|
534
|
+
}
|
|
535
|
+
if (message.projectCompletionBonusRate !== "") {
|
|
536
|
+
writer.uint32(370).string(Decimal.fromUserInput(message.projectCompletionBonusRate, 18).atomics);
|
|
537
|
+
}
|
|
538
|
+
if (message.memberStakeRevenueShare !== "") {
|
|
539
|
+
writer.uint32(378).string(Decimal.fromUserInput(message.memberStakeRevenueShare, 18).atomics);
|
|
540
|
+
}
|
|
541
|
+
if (message.tagStakeRevenueShare !== "") {
|
|
542
|
+
writer.uint32(386).string(Decimal.fromUserInput(message.tagStakeRevenueShare, 18).atomics);
|
|
543
|
+
}
|
|
544
|
+
if (message.minStakeDurationSeconds !== BigInt(0)) {
|
|
545
|
+
writer.uint32(392).int64(message.minStakeDurationSeconds);
|
|
546
|
+
}
|
|
547
|
+
if (message.allowSelfMemberStake === true) {
|
|
548
|
+
writer.uint32(400).bool(message.allowSelfMemberStake);
|
|
549
|
+
}
|
|
550
|
+
if (message.challengeResponseDeadlineEpochs !== BigInt(0)) {
|
|
551
|
+
writer.uint32(408).int64(message.challengeResponseDeadlineEpochs);
|
|
552
|
+
}
|
|
553
|
+
if (message.giftCooldownBlocks !== BigInt(0)) {
|
|
554
|
+
writer.uint32(416).int64(message.giftCooldownBlocks);
|
|
555
|
+
}
|
|
556
|
+
if (message.maxGiftsPerSenderEpoch !== "") {
|
|
557
|
+
writer.uint32(426).string(message.maxGiftsPerSenderEpoch);
|
|
558
|
+
}
|
|
559
|
+
if (message.contentConvictionHalfLifeEpochs !== BigInt(0)) {
|
|
560
|
+
writer.uint32(432).int64(message.contentConvictionHalfLifeEpochs);
|
|
561
|
+
}
|
|
562
|
+
if (message.maxContentStakePerMember !== "") {
|
|
563
|
+
writer.uint32(442).string(message.maxContentStakePerMember);
|
|
564
|
+
}
|
|
565
|
+
if (message.maxAuthorBondPerContent !== "") {
|
|
566
|
+
writer.uint32(450).string(message.maxAuthorBondPerContent);
|
|
567
|
+
}
|
|
568
|
+
if (message.authorBondSlashOnModeration === true) {
|
|
569
|
+
writer.uint32(456).bool(message.authorBondSlashOnModeration);
|
|
570
|
+
}
|
|
571
|
+
if (message.contentChallengeRewardShare !== "") {
|
|
572
|
+
writer.uint32(466).string(Decimal.fromUserInput(message.contentChallengeRewardShare, 18).atomics);
|
|
573
|
+
}
|
|
574
|
+
if (message.convictionPropagationRatio !== "") {
|
|
575
|
+
writer.uint32(474).string(Decimal.fromUserInput(message.convictionPropagationRatio, 18).atomics);
|
|
576
|
+
}
|
|
577
|
+
if (message.maxTagsPerInitiative !== 0) {
|
|
578
|
+
writer.uint32(480).uint32(message.maxTagsPerInitiative);
|
|
579
|
+
}
|
|
580
|
+
if (message.reputationDecayRate !== "") {
|
|
581
|
+
writer.uint32(490).string(Decimal.fromUserInput(message.reputationDecayRate, 18).atomics);
|
|
582
|
+
}
|
|
583
|
+
if (message.maxConvictionSharePerMember !== "") {
|
|
584
|
+
writer.uint32(498).string(Decimal.fromUserInput(message.maxConvictionSharePerMember, 18).atomics);
|
|
585
|
+
}
|
|
586
|
+
if (message.invitationStakeBurnRate !== "") {
|
|
587
|
+
writer.uint32(506).string(Decimal.fromUserInput(message.invitationStakeBurnRate, 18).atomics);
|
|
588
|
+
}
|
|
589
|
+
if (message.maxReputationGainPerEpoch !== "") {
|
|
590
|
+
writer.uint32(514).string(Decimal.fromUserInput(message.maxReputationGainPerEpoch, 18).atomics);
|
|
591
|
+
}
|
|
592
|
+
return writer;
|
|
593
|
+
},
|
|
594
|
+
decode(input, length) {
|
|
595
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
596
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
597
|
+
const message = createBaseParams();
|
|
598
|
+
while (reader.pos < end) {
|
|
599
|
+
const tag = reader.uint32();
|
|
600
|
+
switch (tag >>> 3) {
|
|
601
|
+
case 1:
|
|
602
|
+
message.epochBlocks = reader.int64();
|
|
603
|
+
break;
|
|
604
|
+
case 2:
|
|
605
|
+
message.seasonDurationEpochs = reader.int64();
|
|
606
|
+
break;
|
|
607
|
+
case 3:
|
|
608
|
+
message.stakingApy = Decimal.fromAtomics(reader.string(), 18).toString();
|
|
609
|
+
break;
|
|
610
|
+
case 4:
|
|
611
|
+
message.unstakedDecayRate = Decimal.fromAtomics(reader.string(), 18).toString();
|
|
612
|
+
break;
|
|
613
|
+
case 5:
|
|
614
|
+
message.transferTaxRate = Decimal.fromAtomics(reader.string(), 18).toString();
|
|
615
|
+
break;
|
|
616
|
+
case 6:
|
|
617
|
+
message.maxTipAmount = reader.string();
|
|
618
|
+
break;
|
|
619
|
+
case 7:
|
|
620
|
+
message.maxTipsPerEpoch = reader.uint32();
|
|
621
|
+
break;
|
|
622
|
+
case 8:
|
|
623
|
+
message.maxGiftAmount = reader.string();
|
|
624
|
+
break;
|
|
625
|
+
case 9:
|
|
626
|
+
message.giftOnlyToInvitees = reader.bool();
|
|
627
|
+
break;
|
|
628
|
+
case 10:
|
|
629
|
+
message.completerShare = Decimal.fromAtomics(reader.string(), 18).toString();
|
|
630
|
+
break;
|
|
631
|
+
case 11:
|
|
632
|
+
message.treasuryShare = Decimal.fromAtomics(reader.string(), 18).toString();
|
|
633
|
+
break;
|
|
634
|
+
case 12:
|
|
635
|
+
message.minReputationMultiplier = Decimal.fromAtomics(reader.string(), 18).toString();
|
|
636
|
+
break;
|
|
637
|
+
case 13:
|
|
638
|
+
message.apprenticeTier = TierConfig.decode(reader, reader.uint32());
|
|
639
|
+
break;
|
|
640
|
+
case 14:
|
|
641
|
+
message.standardTier = TierConfig.decode(reader, reader.uint32());
|
|
642
|
+
break;
|
|
643
|
+
case 15:
|
|
644
|
+
message.expertTier = TierConfig.decode(reader, reader.uint32());
|
|
645
|
+
break;
|
|
646
|
+
case 16:
|
|
647
|
+
message.epicTier = TierConfig.decode(reader, reader.uint32());
|
|
648
|
+
break;
|
|
649
|
+
case 17:
|
|
650
|
+
message.convictionHalfLifeEpochs = reader.int64();
|
|
651
|
+
break;
|
|
652
|
+
case 18:
|
|
653
|
+
message.externalConvictionRatio = Decimal.fromAtomics(reader.string(), 18).toString();
|
|
654
|
+
break;
|
|
655
|
+
case 19:
|
|
656
|
+
message.convictionPerDream = Decimal.fromAtomics(reader.string(), 18).toString();
|
|
657
|
+
break;
|
|
658
|
+
case 20:
|
|
659
|
+
message.defaultReviewPeriodEpochs = reader.int64();
|
|
660
|
+
break;
|
|
661
|
+
case 21:
|
|
662
|
+
message.defaultChallengePeriodEpochs = reader.int64();
|
|
663
|
+
break;
|
|
664
|
+
case 22:
|
|
665
|
+
message.minInvitationStake = reader.string();
|
|
666
|
+
break;
|
|
667
|
+
case 23:
|
|
668
|
+
message.invitationAccountabilityEpochs = reader.int64();
|
|
669
|
+
break;
|
|
670
|
+
case 24:
|
|
671
|
+
message.referralRewardRate = Decimal.fromAtomics(reader.string(), 18).toString();
|
|
672
|
+
break;
|
|
673
|
+
case 25:
|
|
674
|
+
message.invitationCostMultiplier = Decimal.fromAtomics(reader.string(), 18).toString();
|
|
675
|
+
break;
|
|
676
|
+
case 26:
|
|
677
|
+
message.trustLevelConfig = TrustLevelConfig.decode(reader, reader.uint32());
|
|
678
|
+
break;
|
|
679
|
+
case 27:
|
|
680
|
+
message.minChallengeStake = reader.string();
|
|
681
|
+
break;
|
|
682
|
+
case 28:
|
|
683
|
+
message.challengerRewardRate = Decimal.fromAtomics(reader.string(), 18).toString();
|
|
684
|
+
break;
|
|
685
|
+
case 29:
|
|
686
|
+
message.jurySize = reader.uint32();
|
|
687
|
+
break;
|
|
688
|
+
case 30:
|
|
689
|
+
message.jurySuperMajority = Decimal.fromAtomics(reader.string(), 18).toString();
|
|
690
|
+
break;
|
|
691
|
+
case 31:
|
|
692
|
+
message.minJurorReputation = Decimal.fromAtomics(reader.string(), 18).toString();
|
|
693
|
+
break;
|
|
694
|
+
case 32:
|
|
695
|
+
message.simpleComplexityBudget = reader.string();
|
|
696
|
+
break;
|
|
697
|
+
case 33:
|
|
698
|
+
message.standardComplexityBudget = reader.string();
|
|
699
|
+
break;
|
|
700
|
+
case 34:
|
|
701
|
+
message.complexComplexityBudget = reader.string();
|
|
702
|
+
break;
|
|
703
|
+
case 35:
|
|
704
|
+
message.expertComplexityBudget = reader.string();
|
|
705
|
+
break;
|
|
706
|
+
case 36:
|
|
707
|
+
message.soloExpertBonusRate = Decimal.fromAtomics(reader.string(), 18).toString();
|
|
708
|
+
break;
|
|
709
|
+
case 37:
|
|
710
|
+
message.interimDeadlineEpochs = reader.int64();
|
|
711
|
+
break;
|
|
712
|
+
case 38:
|
|
713
|
+
message.maxActiveChallengesPerCommittee = reader.uint32();
|
|
714
|
+
break;
|
|
715
|
+
case 39:
|
|
716
|
+
message.maxNewChallengesPerEpoch = reader.uint32();
|
|
717
|
+
break;
|
|
718
|
+
case 40:
|
|
719
|
+
message.challengeQueueMaxSize = reader.uint32();
|
|
720
|
+
break;
|
|
721
|
+
case 41:
|
|
722
|
+
message.minorSlashPenalty = Decimal.fromAtomics(reader.string(), 18).toString();
|
|
723
|
+
break;
|
|
724
|
+
case 42:
|
|
725
|
+
message.moderateSlashPenalty = Decimal.fromAtomics(reader.string(), 18).toString();
|
|
726
|
+
break;
|
|
727
|
+
case 43:
|
|
728
|
+
message.severeSlashPenalty = Decimal.fromAtomics(reader.string(), 18).toString();
|
|
729
|
+
break;
|
|
730
|
+
case 44:
|
|
731
|
+
message.zeroingSlashPenalty = Decimal.fromAtomics(reader.string(), 18).toString();
|
|
732
|
+
break;
|
|
733
|
+
case 45:
|
|
734
|
+
message.projectStakingApy = Decimal.fromAtomics(reader.string(), 18).toString();
|
|
735
|
+
break;
|
|
736
|
+
case 46:
|
|
737
|
+
message.projectCompletionBonusRate = Decimal.fromAtomics(reader.string(), 18).toString();
|
|
738
|
+
break;
|
|
739
|
+
case 47:
|
|
740
|
+
message.memberStakeRevenueShare = Decimal.fromAtomics(reader.string(), 18).toString();
|
|
741
|
+
break;
|
|
742
|
+
case 48:
|
|
743
|
+
message.tagStakeRevenueShare = Decimal.fromAtomics(reader.string(), 18).toString();
|
|
744
|
+
break;
|
|
745
|
+
case 49:
|
|
746
|
+
message.minStakeDurationSeconds = reader.int64();
|
|
747
|
+
break;
|
|
748
|
+
case 50:
|
|
749
|
+
message.allowSelfMemberStake = reader.bool();
|
|
750
|
+
break;
|
|
751
|
+
case 51:
|
|
752
|
+
message.challengeResponseDeadlineEpochs = reader.int64();
|
|
753
|
+
break;
|
|
754
|
+
case 52:
|
|
755
|
+
message.giftCooldownBlocks = reader.int64();
|
|
756
|
+
break;
|
|
757
|
+
case 53:
|
|
758
|
+
message.maxGiftsPerSenderEpoch = reader.string();
|
|
759
|
+
break;
|
|
760
|
+
case 54:
|
|
761
|
+
message.contentConvictionHalfLifeEpochs = reader.int64();
|
|
762
|
+
break;
|
|
763
|
+
case 55:
|
|
764
|
+
message.maxContentStakePerMember = reader.string();
|
|
765
|
+
break;
|
|
766
|
+
case 56:
|
|
767
|
+
message.maxAuthorBondPerContent = reader.string();
|
|
768
|
+
break;
|
|
769
|
+
case 57:
|
|
770
|
+
message.authorBondSlashOnModeration = reader.bool();
|
|
771
|
+
break;
|
|
772
|
+
case 58:
|
|
773
|
+
message.contentChallengeRewardShare = Decimal.fromAtomics(reader.string(), 18).toString();
|
|
774
|
+
break;
|
|
775
|
+
case 59:
|
|
776
|
+
message.convictionPropagationRatio = Decimal.fromAtomics(reader.string(), 18).toString();
|
|
777
|
+
break;
|
|
778
|
+
case 60:
|
|
779
|
+
message.maxTagsPerInitiative = reader.uint32();
|
|
780
|
+
break;
|
|
781
|
+
case 61:
|
|
782
|
+
message.reputationDecayRate = Decimal.fromAtomics(reader.string(), 18).toString();
|
|
783
|
+
break;
|
|
784
|
+
case 62:
|
|
785
|
+
message.maxConvictionSharePerMember = Decimal.fromAtomics(reader.string(), 18).toString();
|
|
786
|
+
break;
|
|
787
|
+
case 63:
|
|
788
|
+
message.invitationStakeBurnRate = Decimal.fromAtomics(reader.string(), 18).toString();
|
|
789
|
+
break;
|
|
790
|
+
case 64:
|
|
791
|
+
message.maxReputationGainPerEpoch = Decimal.fromAtomics(reader.string(), 18).toString();
|
|
792
|
+
break;
|
|
793
|
+
default:
|
|
794
|
+
reader.skipType(tag & 7);
|
|
795
|
+
break;
|
|
796
|
+
}
|
|
797
|
+
}
|
|
798
|
+
return message;
|
|
799
|
+
},
|
|
800
|
+
fromPartial(object) {
|
|
801
|
+
const message = createBaseParams();
|
|
802
|
+
message.epochBlocks = object.epochBlocks !== undefined && object.epochBlocks !== null ? BigInt(object.epochBlocks.toString()) : BigInt(0);
|
|
803
|
+
message.seasonDurationEpochs = object.seasonDurationEpochs !== undefined && object.seasonDurationEpochs !== null ? BigInt(object.seasonDurationEpochs.toString()) : BigInt(0);
|
|
804
|
+
message.stakingApy = object.stakingApy ?? "";
|
|
805
|
+
message.unstakedDecayRate = object.unstakedDecayRate ?? "";
|
|
806
|
+
message.transferTaxRate = object.transferTaxRate ?? "";
|
|
807
|
+
message.maxTipAmount = object.maxTipAmount ?? "";
|
|
808
|
+
message.maxTipsPerEpoch = object.maxTipsPerEpoch ?? 0;
|
|
809
|
+
message.maxGiftAmount = object.maxGiftAmount ?? "";
|
|
810
|
+
message.giftOnlyToInvitees = object.giftOnlyToInvitees ?? false;
|
|
811
|
+
message.completerShare = object.completerShare ?? "";
|
|
812
|
+
message.treasuryShare = object.treasuryShare ?? "";
|
|
813
|
+
message.minReputationMultiplier = object.minReputationMultiplier ?? "";
|
|
814
|
+
message.apprenticeTier = object.apprenticeTier !== undefined && object.apprenticeTier !== null ? TierConfig.fromPartial(object.apprenticeTier) : undefined;
|
|
815
|
+
message.standardTier = object.standardTier !== undefined && object.standardTier !== null ? TierConfig.fromPartial(object.standardTier) : undefined;
|
|
816
|
+
message.expertTier = object.expertTier !== undefined && object.expertTier !== null ? TierConfig.fromPartial(object.expertTier) : undefined;
|
|
817
|
+
message.epicTier = object.epicTier !== undefined && object.epicTier !== null ? TierConfig.fromPartial(object.epicTier) : undefined;
|
|
818
|
+
message.convictionHalfLifeEpochs = object.convictionHalfLifeEpochs !== undefined && object.convictionHalfLifeEpochs !== null ? BigInt(object.convictionHalfLifeEpochs.toString()) : BigInt(0);
|
|
819
|
+
message.externalConvictionRatio = object.externalConvictionRatio ?? "";
|
|
820
|
+
message.convictionPerDream = object.convictionPerDream ?? "";
|
|
821
|
+
message.defaultReviewPeriodEpochs = object.defaultReviewPeriodEpochs !== undefined && object.defaultReviewPeriodEpochs !== null ? BigInt(object.defaultReviewPeriodEpochs.toString()) : BigInt(0);
|
|
822
|
+
message.defaultChallengePeriodEpochs = object.defaultChallengePeriodEpochs !== undefined && object.defaultChallengePeriodEpochs !== null ? BigInt(object.defaultChallengePeriodEpochs.toString()) : BigInt(0);
|
|
823
|
+
message.minInvitationStake = object.minInvitationStake ?? "";
|
|
824
|
+
message.invitationAccountabilityEpochs = object.invitationAccountabilityEpochs !== undefined && object.invitationAccountabilityEpochs !== null ? BigInt(object.invitationAccountabilityEpochs.toString()) : BigInt(0);
|
|
825
|
+
message.referralRewardRate = object.referralRewardRate ?? "";
|
|
826
|
+
message.invitationCostMultiplier = object.invitationCostMultiplier ?? "";
|
|
827
|
+
message.trustLevelConfig = object.trustLevelConfig !== undefined && object.trustLevelConfig !== null ? TrustLevelConfig.fromPartial(object.trustLevelConfig) : undefined;
|
|
828
|
+
message.minChallengeStake = object.minChallengeStake ?? "";
|
|
829
|
+
message.challengerRewardRate = object.challengerRewardRate ?? "";
|
|
830
|
+
message.jurySize = object.jurySize ?? 0;
|
|
831
|
+
message.jurySuperMajority = object.jurySuperMajority ?? "";
|
|
832
|
+
message.minJurorReputation = object.minJurorReputation ?? "";
|
|
833
|
+
message.simpleComplexityBudget = object.simpleComplexityBudget ?? "";
|
|
834
|
+
message.standardComplexityBudget = object.standardComplexityBudget ?? "";
|
|
835
|
+
message.complexComplexityBudget = object.complexComplexityBudget ?? "";
|
|
836
|
+
message.expertComplexityBudget = object.expertComplexityBudget ?? "";
|
|
837
|
+
message.soloExpertBonusRate = object.soloExpertBonusRate ?? "";
|
|
838
|
+
message.interimDeadlineEpochs = object.interimDeadlineEpochs !== undefined && object.interimDeadlineEpochs !== null ? BigInt(object.interimDeadlineEpochs.toString()) : BigInt(0);
|
|
839
|
+
message.maxActiveChallengesPerCommittee = object.maxActiveChallengesPerCommittee ?? 0;
|
|
840
|
+
message.maxNewChallengesPerEpoch = object.maxNewChallengesPerEpoch ?? 0;
|
|
841
|
+
message.challengeQueueMaxSize = object.challengeQueueMaxSize ?? 0;
|
|
842
|
+
message.minorSlashPenalty = object.minorSlashPenalty ?? "";
|
|
843
|
+
message.moderateSlashPenalty = object.moderateSlashPenalty ?? "";
|
|
844
|
+
message.severeSlashPenalty = object.severeSlashPenalty ?? "";
|
|
845
|
+
message.zeroingSlashPenalty = object.zeroingSlashPenalty ?? "";
|
|
846
|
+
message.projectStakingApy = object.projectStakingApy ?? "";
|
|
847
|
+
message.projectCompletionBonusRate = object.projectCompletionBonusRate ?? "";
|
|
848
|
+
message.memberStakeRevenueShare = object.memberStakeRevenueShare ?? "";
|
|
849
|
+
message.tagStakeRevenueShare = object.tagStakeRevenueShare ?? "";
|
|
850
|
+
message.minStakeDurationSeconds = object.minStakeDurationSeconds !== undefined && object.minStakeDurationSeconds !== null ? BigInt(object.minStakeDurationSeconds.toString()) : BigInt(0);
|
|
851
|
+
message.allowSelfMemberStake = object.allowSelfMemberStake ?? false;
|
|
852
|
+
message.challengeResponseDeadlineEpochs = object.challengeResponseDeadlineEpochs !== undefined && object.challengeResponseDeadlineEpochs !== null ? BigInt(object.challengeResponseDeadlineEpochs.toString()) : BigInt(0);
|
|
853
|
+
message.giftCooldownBlocks = object.giftCooldownBlocks !== undefined && object.giftCooldownBlocks !== null ? BigInt(object.giftCooldownBlocks.toString()) : BigInt(0);
|
|
854
|
+
message.maxGiftsPerSenderEpoch = object.maxGiftsPerSenderEpoch ?? "";
|
|
855
|
+
message.contentConvictionHalfLifeEpochs = object.contentConvictionHalfLifeEpochs !== undefined && object.contentConvictionHalfLifeEpochs !== null ? BigInt(object.contentConvictionHalfLifeEpochs.toString()) : BigInt(0);
|
|
856
|
+
message.maxContentStakePerMember = object.maxContentStakePerMember ?? "";
|
|
857
|
+
message.maxAuthorBondPerContent = object.maxAuthorBondPerContent ?? "";
|
|
858
|
+
message.authorBondSlashOnModeration = object.authorBondSlashOnModeration ?? false;
|
|
859
|
+
message.contentChallengeRewardShare = object.contentChallengeRewardShare ?? "";
|
|
860
|
+
message.convictionPropagationRatio = object.convictionPropagationRatio ?? "";
|
|
861
|
+
message.maxTagsPerInitiative = object.maxTagsPerInitiative ?? 0;
|
|
862
|
+
message.reputationDecayRate = object.reputationDecayRate ?? "";
|
|
863
|
+
message.maxConvictionSharePerMember = object.maxConvictionSharePerMember ?? "";
|
|
864
|
+
message.invitationStakeBurnRate = object.invitationStakeBurnRate ?? "";
|
|
865
|
+
message.maxReputationGainPerEpoch = object.maxReputationGainPerEpoch ?? "";
|
|
866
|
+
return message;
|
|
867
|
+
},
|
|
868
|
+
fromAmino(object) {
|
|
869
|
+
const message = createBaseParams();
|
|
870
|
+
if (object.epoch_blocks !== undefined && object.epoch_blocks !== null) {
|
|
871
|
+
message.epochBlocks = BigInt(object.epoch_blocks);
|
|
872
|
+
}
|
|
873
|
+
if (object.season_duration_epochs !== undefined && object.season_duration_epochs !== null) {
|
|
874
|
+
message.seasonDurationEpochs = BigInt(object.season_duration_epochs);
|
|
875
|
+
}
|
|
876
|
+
if (object.staking_apy !== undefined && object.staking_apy !== null) {
|
|
877
|
+
message.stakingApy = object.staking_apy;
|
|
878
|
+
}
|
|
879
|
+
if (object.unstaked_decay_rate !== undefined && object.unstaked_decay_rate !== null) {
|
|
880
|
+
message.unstakedDecayRate = object.unstaked_decay_rate;
|
|
881
|
+
}
|
|
882
|
+
if (object.transfer_tax_rate !== undefined && object.transfer_tax_rate !== null) {
|
|
883
|
+
message.transferTaxRate = object.transfer_tax_rate;
|
|
884
|
+
}
|
|
885
|
+
if (object.max_tip_amount !== undefined && object.max_tip_amount !== null) {
|
|
886
|
+
message.maxTipAmount = object.max_tip_amount;
|
|
887
|
+
}
|
|
888
|
+
if (object.max_tips_per_epoch !== undefined && object.max_tips_per_epoch !== null) {
|
|
889
|
+
message.maxTipsPerEpoch = object.max_tips_per_epoch;
|
|
890
|
+
}
|
|
891
|
+
if (object.max_gift_amount !== undefined && object.max_gift_amount !== null) {
|
|
892
|
+
message.maxGiftAmount = object.max_gift_amount;
|
|
893
|
+
}
|
|
894
|
+
if (object.gift_only_to_invitees !== undefined && object.gift_only_to_invitees !== null) {
|
|
895
|
+
message.giftOnlyToInvitees = object.gift_only_to_invitees;
|
|
896
|
+
}
|
|
897
|
+
if (object.completer_share !== undefined && object.completer_share !== null) {
|
|
898
|
+
message.completerShare = object.completer_share;
|
|
899
|
+
}
|
|
900
|
+
if (object.treasury_share !== undefined && object.treasury_share !== null) {
|
|
901
|
+
message.treasuryShare = object.treasury_share;
|
|
902
|
+
}
|
|
903
|
+
if (object.min_reputation_multiplier !== undefined && object.min_reputation_multiplier !== null) {
|
|
904
|
+
message.minReputationMultiplier = object.min_reputation_multiplier;
|
|
905
|
+
}
|
|
906
|
+
if (object.apprentice_tier !== undefined && object.apprentice_tier !== null) {
|
|
907
|
+
message.apprenticeTier = TierConfig.fromAmino(object.apprentice_tier);
|
|
908
|
+
}
|
|
909
|
+
if (object.standard_tier !== undefined && object.standard_tier !== null) {
|
|
910
|
+
message.standardTier = TierConfig.fromAmino(object.standard_tier);
|
|
911
|
+
}
|
|
912
|
+
if (object.expert_tier !== undefined && object.expert_tier !== null) {
|
|
913
|
+
message.expertTier = TierConfig.fromAmino(object.expert_tier);
|
|
914
|
+
}
|
|
915
|
+
if (object.epic_tier !== undefined && object.epic_tier !== null) {
|
|
916
|
+
message.epicTier = TierConfig.fromAmino(object.epic_tier);
|
|
917
|
+
}
|
|
918
|
+
if (object.conviction_half_life_epochs !== undefined && object.conviction_half_life_epochs !== null) {
|
|
919
|
+
message.convictionHalfLifeEpochs = BigInt(object.conviction_half_life_epochs);
|
|
920
|
+
}
|
|
921
|
+
if (object.external_conviction_ratio !== undefined && object.external_conviction_ratio !== null) {
|
|
922
|
+
message.externalConvictionRatio = object.external_conviction_ratio;
|
|
923
|
+
}
|
|
924
|
+
if (object.conviction_per_dream !== undefined && object.conviction_per_dream !== null) {
|
|
925
|
+
message.convictionPerDream = object.conviction_per_dream;
|
|
926
|
+
}
|
|
927
|
+
if (object.default_review_period_epochs !== undefined && object.default_review_period_epochs !== null) {
|
|
928
|
+
message.defaultReviewPeriodEpochs = BigInt(object.default_review_period_epochs);
|
|
929
|
+
}
|
|
930
|
+
if (object.default_challenge_period_epochs !== undefined && object.default_challenge_period_epochs !== null) {
|
|
931
|
+
message.defaultChallengePeriodEpochs = BigInt(object.default_challenge_period_epochs);
|
|
932
|
+
}
|
|
933
|
+
if (object.min_invitation_stake !== undefined && object.min_invitation_stake !== null) {
|
|
934
|
+
message.minInvitationStake = object.min_invitation_stake;
|
|
935
|
+
}
|
|
936
|
+
if (object.invitation_accountability_epochs !== undefined && object.invitation_accountability_epochs !== null) {
|
|
937
|
+
message.invitationAccountabilityEpochs = BigInt(object.invitation_accountability_epochs);
|
|
938
|
+
}
|
|
939
|
+
if (object.referral_reward_rate !== undefined && object.referral_reward_rate !== null) {
|
|
940
|
+
message.referralRewardRate = object.referral_reward_rate;
|
|
941
|
+
}
|
|
942
|
+
if (object.invitation_cost_multiplier !== undefined && object.invitation_cost_multiplier !== null) {
|
|
943
|
+
message.invitationCostMultiplier = object.invitation_cost_multiplier;
|
|
944
|
+
}
|
|
945
|
+
if (object.trust_level_config !== undefined && object.trust_level_config !== null) {
|
|
946
|
+
message.trustLevelConfig = TrustLevelConfig.fromAmino(object.trust_level_config);
|
|
947
|
+
}
|
|
948
|
+
if (object.min_challenge_stake !== undefined && object.min_challenge_stake !== null) {
|
|
949
|
+
message.minChallengeStake = object.min_challenge_stake;
|
|
950
|
+
}
|
|
951
|
+
if (object.challenger_reward_rate !== undefined && object.challenger_reward_rate !== null) {
|
|
952
|
+
message.challengerRewardRate = object.challenger_reward_rate;
|
|
953
|
+
}
|
|
954
|
+
if (object.jury_size !== undefined && object.jury_size !== null) {
|
|
955
|
+
message.jurySize = object.jury_size;
|
|
956
|
+
}
|
|
957
|
+
if (object.jury_super_majority !== undefined && object.jury_super_majority !== null) {
|
|
958
|
+
message.jurySuperMajority = object.jury_super_majority;
|
|
959
|
+
}
|
|
960
|
+
if (object.min_juror_reputation !== undefined && object.min_juror_reputation !== null) {
|
|
961
|
+
message.minJurorReputation = object.min_juror_reputation;
|
|
962
|
+
}
|
|
963
|
+
if (object.simple_complexity_budget !== undefined && object.simple_complexity_budget !== null) {
|
|
964
|
+
message.simpleComplexityBudget = object.simple_complexity_budget;
|
|
965
|
+
}
|
|
966
|
+
if (object.standard_complexity_budget !== undefined && object.standard_complexity_budget !== null) {
|
|
967
|
+
message.standardComplexityBudget = object.standard_complexity_budget;
|
|
968
|
+
}
|
|
969
|
+
if (object.complex_complexity_budget !== undefined && object.complex_complexity_budget !== null) {
|
|
970
|
+
message.complexComplexityBudget = object.complex_complexity_budget;
|
|
971
|
+
}
|
|
972
|
+
if (object.expert_complexity_budget !== undefined && object.expert_complexity_budget !== null) {
|
|
973
|
+
message.expertComplexityBudget = object.expert_complexity_budget;
|
|
974
|
+
}
|
|
975
|
+
if (object.solo_expert_bonus_rate !== undefined && object.solo_expert_bonus_rate !== null) {
|
|
976
|
+
message.soloExpertBonusRate = object.solo_expert_bonus_rate;
|
|
977
|
+
}
|
|
978
|
+
if (object.interim_deadline_epochs !== undefined && object.interim_deadline_epochs !== null) {
|
|
979
|
+
message.interimDeadlineEpochs = BigInt(object.interim_deadline_epochs);
|
|
980
|
+
}
|
|
981
|
+
if (object.max_active_challenges_per_committee !== undefined && object.max_active_challenges_per_committee !== null) {
|
|
982
|
+
message.maxActiveChallengesPerCommittee = object.max_active_challenges_per_committee;
|
|
983
|
+
}
|
|
984
|
+
if (object.max_new_challenges_per_epoch !== undefined && object.max_new_challenges_per_epoch !== null) {
|
|
985
|
+
message.maxNewChallengesPerEpoch = object.max_new_challenges_per_epoch;
|
|
986
|
+
}
|
|
987
|
+
if (object.challenge_queue_max_size !== undefined && object.challenge_queue_max_size !== null) {
|
|
988
|
+
message.challengeQueueMaxSize = object.challenge_queue_max_size;
|
|
989
|
+
}
|
|
990
|
+
if (object.minor_slash_penalty !== undefined && object.minor_slash_penalty !== null) {
|
|
991
|
+
message.minorSlashPenalty = object.minor_slash_penalty;
|
|
992
|
+
}
|
|
993
|
+
if (object.moderate_slash_penalty !== undefined && object.moderate_slash_penalty !== null) {
|
|
994
|
+
message.moderateSlashPenalty = object.moderate_slash_penalty;
|
|
995
|
+
}
|
|
996
|
+
if (object.severe_slash_penalty !== undefined && object.severe_slash_penalty !== null) {
|
|
997
|
+
message.severeSlashPenalty = object.severe_slash_penalty;
|
|
998
|
+
}
|
|
999
|
+
if (object.zeroing_slash_penalty !== undefined && object.zeroing_slash_penalty !== null) {
|
|
1000
|
+
message.zeroingSlashPenalty = object.zeroing_slash_penalty;
|
|
1001
|
+
}
|
|
1002
|
+
if (object.project_staking_apy !== undefined && object.project_staking_apy !== null) {
|
|
1003
|
+
message.projectStakingApy = object.project_staking_apy;
|
|
1004
|
+
}
|
|
1005
|
+
if (object.project_completion_bonus_rate !== undefined && object.project_completion_bonus_rate !== null) {
|
|
1006
|
+
message.projectCompletionBonusRate = object.project_completion_bonus_rate;
|
|
1007
|
+
}
|
|
1008
|
+
if (object.member_stake_revenue_share !== undefined && object.member_stake_revenue_share !== null) {
|
|
1009
|
+
message.memberStakeRevenueShare = object.member_stake_revenue_share;
|
|
1010
|
+
}
|
|
1011
|
+
if (object.tag_stake_revenue_share !== undefined && object.tag_stake_revenue_share !== null) {
|
|
1012
|
+
message.tagStakeRevenueShare = object.tag_stake_revenue_share;
|
|
1013
|
+
}
|
|
1014
|
+
if (object.min_stake_duration_seconds !== undefined && object.min_stake_duration_seconds !== null) {
|
|
1015
|
+
message.minStakeDurationSeconds = BigInt(object.min_stake_duration_seconds);
|
|
1016
|
+
}
|
|
1017
|
+
if (object.allow_self_member_stake !== undefined && object.allow_self_member_stake !== null) {
|
|
1018
|
+
message.allowSelfMemberStake = object.allow_self_member_stake;
|
|
1019
|
+
}
|
|
1020
|
+
if (object.challenge_response_deadline_epochs !== undefined && object.challenge_response_deadline_epochs !== null) {
|
|
1021
|
+
message.challengeResponseDeadlineEpochs = BigInt(object.challenge_response_deadline_epochs);
|
|
1022
|
+
}
|
|
1023
|
+
if (object.gift_cooldown_blocks !== undefined && object.gift_cooldown_blocks !== null) {
|
|
1024
|
+
message.giftCooldownBlocks = BigInt(object.gift_cooldown_blocks);
|
|
1025
|
+
}
|
|
1026
|
+
if (object.max_gifts_per_sender_epoch !== undefined && object.max_gifts_per_sender_epoch !== null) {
|
|
1027
|
+
message.maxGiftsPerSenderEpoch = object.max_gifts_per_sender_epoch;
|
|
1028
|
+
}
|
|
1029
|
+
if (object.content_conviction_half_life_epochs !== undefined && object.content_conviction_half_life_epochs !== null) {
|
|
1030
|
+
message.contentConvictionHalfLifeEpochs = BigInt(object.content_conviction_half_life_epochs);
|
|
1031
|
+
}
|
|
1032
|
+
if (object.max_content_stake_per_member !== undefined && object.max_content_stake_per_member !== null) {
|
|
1033
|
+
message.maxContentStakePerMember = object.max_content_stake_per_member;
|
|
1034
|
+
}
|
|
1035
|
+
if (object.max_author_bond_per_content !== undefined && object.max_author_bond_per_content !== null) {
|
|
1036
|
+
message.maxAuthorBondPerContent = object.max_author_bond_per_content;
|
|
1037
|
+
}
|
|
1038
|
+
if (object.author_bond_slash_on_moderation !== undefined && object.author_bond_slash_on_moderation !== null) {
|
|
1039
|
+
message.authorBondSlashOnModeration = object.author_bond_slash_on_moderation;
|
|
1040
|
+
}
|
|
1041
|
+
if (object.content_challenge_reward_share !== undefined && object.content_challenge_reward_share !== null) {
|
|
1042
|
+
message.contentChallengeRewardShare = object.content_challenge_reward_share;
|
|
1043
|
+
}
|
|
1044
|
+
if (object.conviction_propagation_ratio !== undefined && object.conviction_propagation_ratio !== null) {
|
|
1045
|
+
message.convictionPropagationRatio = object.conviction_propagation_ratio;
|
|
1046
|
+
}
|
|
1047
|
+
if (object.max_tags_per_initiative !== undefined && object.max_tags_per_initiative !== null) {
|
|
1048
|
+
message.maxTagsPerInitiative = object.max_tags_per_initiative;
|
|
1049
|
+
}
|
|
1050
|
+
if (object.reputation_decay_rate !== undefined && object.reputation_decay_rate !== null) {
|
|
1051
|
+
message.reputationDecayRate = object.reputation_decay_rate;
|
|
1052
|
+
}
|
|
1053
|
+
if (object.max_conviction_share_per_member !== undefined && object.max_conviction_share_per_member !== null) {
|
|
1054
|
+
message.maxConvictionSharePerMember = object.max_conviction_share_per_member;
|
|
1055
|
+
}
|
|
1056
|
+
if (object.invitation_stake_burn_rate !== undefined && object.invitation_stake_burn_rate !== null) {
|
|
1057
|
+
message.invitationStakeBurnRate = object.invitation_stake_burn_rate;
|
|
1058
|
+
}
|
|
1059
|
+
if (object.max_reputation_gain_per_epoch !== undefined && object.max_reputation_gain_per_epoch !== null) {
|
|
1060
|
+
message.maxReputationGainPerEpoch = object.max_reputation_gain_per_epoch;
|
|
1061
|
+
}
|
|
1062
|
+
return message;
|
|
1063
|
+
},
|
|
1064
|
+
toAmino(message) {
|
|
1065
|
+
const obj = {};
|
|
1066
|
+
obj.epoch_blocks = message.epochBlocks !== BigInt(0) ? message.epochBlocks?.toString() : undefined;
|
|
1067
|
+
obj.season_duration_epochs = message.seasonDurationEpochs !== BigInt(0) ? message.seasonDurationEpochs?.toString() : undefined;
|
|
1068
|
+
obj.staking_apy = message.stakingApy === "" ? undefined : message.stakingApy;
|
|
1069
|
+
obj.unstaked_decay_rate = message.unstakedDecayRate === "" ? undefined : message.unstakedDecayRate;
|
|
1070
|
+
obj.transfer_tax_rate = message.transferTaxRate === "" ? undefined : message.transferTaxRate;
|
|
1071
|
+
obj.max_tip_amount = message.maxTipAmount === "" ? undefined : message.maxTipAmount;
|
|
1072
|
+
obj.max_tips_per_epoch = message.maxTipsPerEpoch === 0 ? undefined : message.maxTipsPerEpoch;
|
|
1073
|
+
obj.max_gift_amount = message.maxGiftAmount === "" ? undefined : message.maxGiftAmount;
|
|
1074
|
+
obj.gift_only_to_invitees = message.giftOnlyToInvitees === false ? undefined : message.giftOnlyToInvitees;
|
|
1075
|
+
obj.completer_share = message.completerShare === "" ? undefined : message.completerShare;
|
|
1076
|
+
obj.treasury_share = message.treasuryShare === "" ? undefined : message.treasuryShare;
|
|
1077
|
+
obj.min_reputation_multiplier = message.minReputationMultiplier === "" ? undefined : message.minReputationMultiplier;
|
|
1078
|
+
obj.apprentice_tier = message.apprenticeTier ? TierConfig.toAmino(message.apprenticeTier) : undefined;
|
|
1079
|
+
obj.standard_tier = message.standardTier ? TierConfig.toAmino(message.standardTier) : undefined;
|
|
1080
|
+
obj.expert_tier = message.expertTier ? TierConfig.toAmino(message.expertTier) : undefined;
|
|
1081
|
+
obj.epic_tier = message.epicTier ? TierConfig.toAmino(message.epicTier) : undefined;
|
|
1082
|
+
obj.conviction_half_life_epochs = message.convictionHalfLifeEpochs !== BigInt(0) ? message.convictionHalfLifeEpochs?.toString() : undefined;
|
|
1083
|
+
obj.external_conviction_ratio = message.externalConvictionRatio === "" ? undefined : message.externalConvictionRatio;
|
|
1084
|
+
obj.conviction_per_dream = message.convictionPerDream === "" ? undefined : message.convictionPerDream;
|
|
1085
|
+
obj.default_review_period_epochs = message.defaultReviewPeriodEpochs !== BigInt(0) ? message.defaultReviewPeriodEpochs?.toString() : undefined;
|
|
1086
|
+
obj.default_challenge_period_epochs = message.defaultChallengePeriodEpochs !== BigInt(0) ? message.defaultChallengePeriodEpochs?.toString() : undefined;
|
|
1087
|
+
obj.min_invitation_stake = message.minInvitationStake === "" ? undefined : message.minInvitationStake;
|
|
1088
|
+
obj.invitation_accountability_epochs = message.invitationAccountabilityEpochs !== BigInt(0) ? message.invitationAccountabilityEpochs?.toString() : undefined;
|
|
1089
|
+
obj.referral_reward_rate = message.referralRewardRate === "" ? undefined : message.referralRewardRate;
|
|
1090
|
+
obj.invitation_cost_multiplier = message.invitationCostMultiplier === "" ? undefined : message.invitationCostMultiplier;
|
|
1091
|
+
obj.trust_level_config = message.trustLevelConfig ? TrustLevelConfig.toAmino(message.trustLevelConfig) : undefined;
|
|
1092
|
+
obj.min_challenge_stake = message.minChallengeStake === "" ? undefined : message.minChallengeStake;
|
|
1093
|
+
obj.challenger_reward_rate = message.challengerRewardRate === "" ? undefined : message.challengerRewardRate;
|
|
1094
|
+
obj.jury_size = message.jurySize === 0 ? undefined : message.jurySize;
|
|
1095
|
+
obj.jury_super_majority = message.jurySuperMajority === "" ? undefined : message.jurySuperMajority;
|
|
1096
|
+
obj.min_juror_reputation = message.minJurorReputation === "" ? undefined : message.minJurorReputation;
|
|
1097
|
+
obj.simple_complexity_budget = message.simpleComplexityBudget === "" ? undefined : message.simpleComplexityBudget;
|
|
1098
|
+
obj.standard_complexity_budget = message.standardComplexityBudget === "" ? undefined : message.standardComplexityBudget;
|
|
1099
|
+
obj.complex_complexity_budget = message.complexComplexityBudget === "" ? undefined : message.complexComplexityBudget;
|
|
1100
|
+
obj.expert_complexity_budget = message.expertComplexityBudget === "" ? undefined : message.expertComplexityBudget;
|
|
1101
|
+
obj.solo_expert_bonus_rate = message.soloExpertBonusRate === "" ? undefined : message.soloExpertBonusRate;
|
|
1102
|
+
obj.interim_deadline_epochs = message.interimDeadlineEpochs !== BigInt(0) ? message.interimDeadlineEpochs?.toString() : undefined;
|
|
1103
|
+
obj.max_active_challenges_per_committee = message.maxActiveChallengesPerCommittee === 0 ? undefined : message.maxActiveChallengesPerCommittee;
|
|
1104
|
+
obj.max_new_challenges_per_epoch = message.maxNewChallengesPerEpoch === 0 ? undefined : message.maxNewChallengesPerEpoch;
|
|
1105
|
+
obj.challenge_queue_max_size = message.challengeQueueMaxSize === 0 ? undefined : message.challengeQueueMaxSize;
|
|
1106
|
+
obj.minor_slash_penalty = message.minorSlashPenalty === "" ? undefined : message.minorSlashPenalty;
|
|
1107
|
+
obj.moderate_slash_penalty = message.moderateSlashPenalty === "" ? undefined : message.moderateSlashPenalty;
|
|
1108
|
+
obj.severe_slash_penalty = message.severeSlashPenalty === "" ? undefined : message.severeSlashPenalty;
|
|
1109
|
+
obj.zeroing_slash_penalty = message.zeroingSlashPenalty === "" ? undefined : message.zeroingSlashPenalty;
|
|
1110
|
+
obj.project_staking_apy = message.projectStakingApy === "" ? undefined : message.projectStakingApy;
|
|
1111
|
+
obj.project_completion_bonus_rate = message.projectCompletionBonusRate === "" ? undefined : message.projectCompletionBonusRate;
|
|
1112
|
+
obj.member_stake_revenue_share = message.memberStakeRevenueShare === "" ? undefined : message.memberStakeRevenueShare;
|
|
1113
|
+
obj.tag_stake_revenue_share = message.tagStakeRevenueShare === "" ? undefined : message.tagStakeRevenueShare;
|
|
1114
|
+
obj.min_stake_duration_seconds = message.minStakeDurationSeconds !== BigInt(0) ? message.minStakeDurationSeconds?.toString() : undefined;
|
|
1115
|
+
obj.allow_self_member_stake = message.allowSelfMemberStake === false ? undefined : message.allowSelfMemberStake;
|
|
1116
|
+
obj.challenge_response_deadline_epochs = message.challengeResponseDeadlineEpochs !== BigInt(0) ? message.challengeResponseDeadlineEpochs?.toString() : undefined;
|
|
1117
|
+
obj.gift_cooldown_blocks = message.giftCooldownBlocks !== BigInt(0) ? message.giftCooldownBlocks?.toString() : undefined;
|
|
1118
|
+
obj.max_gifts_per_sender_epoch = message.maxGiftsPerSenderEpoch === "" ? undefined : message.maxGiftsPerSenderEpoch;
|
|
1119
|
+
obj.content_conviction_half_life_epochs = message.contentConvictionHalfLifeEpochs !== BigInt(0) ? message.contentConvictionHalfLifeEpochs?.toString() : undefined;
|
|
1120
|
+
obj.max_content_stake_per_member = message.maxContentStakePerMember === "" ? undefined : message.maxContentStakePerMember;
|
|
1121
|
+
obj.max_author_bond_per_content = message.maxAuthorBondPerContent === "" ? undefined : message.maxAuthorBondPerContent;
|
|
1122
|
+
obj.author_bond_slash_on_moderation = message.authorBondSlashOnModeration === false ? undefined : message.authorBondSlashOnModeration;
|
|
1123
|
+
obj.content_challenge_reward_share = message.contentChallengeRewardShare === "" ? undefined : message.contentChallengeRewardShare;
|
|
1124
|
+
obj.conviction_propagation_ratio = message.convictionPropagationRatio === "" ? undefined : message.convictionPropagationRatio;
|
|
1125
|
+
obj.max_tags_per_initiative = message.maxTagsPerInitiative === 0 ? undefined : message.maxTagsPerInitiative;
|
|
1126
|
+
obj.reputation_decay_rate = message.reputationDecayRate === "" ? undefined : message.reputationDecayRate;
|
|
1127
|
+
obj.max_conviction_share_per_member = message.maxConvictionSharePerMember === "" ? undefined : message.maxConvictionSharePerMember;
|
|
1128
|
+
obj.invitation_stake_burn_rate = message.invitationStakeBurnRate === "" ? undefined : message.invitationStakeBurnRate;
|
|
1129
|
+
obj.max_reputation_gain_per_epoch = message.maxReputationGainPerEpoch === "" ? undefined : message.maxReputationGainPerEpoch;
|
|
1130
|
+
return obj;
|
|
1131
|
+
},
|
|
1132
|
+
fromAminoMsg(object) {
|
|
1133
|
+
return Params.fromAmino(object.value);
|
|
1134
|
+
},
|
|
1135
|
+
toAminoMsg(message) {
|
|
1136
|
+
return {
|
|
1137
|
+
type: "sparkdream/x/rep/Params",
|
|
1138
|
+
value: Params.toAmino(message)
|
|
1139
|
+
};
|
|
1140
|
+
},
|
|
1141
|
+
fromProtoMsg(message) {
|
|
1142
|
+
return Params.decode(message.value);
|
|
1143
|
+
},
|
|
1144
|
+
toProto(message) {
|
|
1145
|
+
return Params.encode(message).finish();
|
|
1146
|
+
},
|
|
1147
|
+
toProtoMsg(message) {
|
|
1148
|
+
return {
|
|
1149
|
+
typeUrl: "/sparkdream.rep.v1.Params",
|
|
1150
|
+
value: Params.encode(message).finish()
|
|
1151
|
+
};
|
|
1152
|
+
}
|
|
1153
|
+
};
|
|
1154
|
+
function createBaseRepOperationalParams() {
|
|
1155
|
+
return {
|
|
1156
|
+
epochBlocks: BigInt(0),
|
|
1157
|
+
seasonDurationEpochs: BigInt(0),
|
|
1158
|
+
stakingApy: "",
|
|
1159
|
+
unstakedDecayRate: "",
|
|
1160
|
+
transferTaxRate: "",
|
|
1161
|
+
maxTipAmount: "",
|
|
1162
|
+
maxTipsPerEpoch: 0,
|
|
1163
|
+
maxGiftAmount: "",
|
|
1164
|
+
giftOnlyToInvitees: false,
|
|
1165
|
+
minReputationMultiplier: "",
|
|
1166
|
+
defaultReviewPeriodEpochs: BigInt(0),
|
|
1167
|
+
defaultChallengePeriodEpochs: BigInt(0),
|
|
1168
|
+
minInvitationStake: "",
|
|
1169
|
+
invitationAccountabilityEpochs: BigInt(0),
|
|
1170
|
+
referralRewardRate: "",
|
|
1171
|
+
invitationCostMultiplier: "",
|
|
1172
|
+
minChallengeStake: "",
|
|
1173
|
+
challengerRewardRate: "",
|
|
1174
|
+
jurySize: 0,
|
|
1175
|
+
jurySuperMajority: "",
|
|
1176
|
+
minJurorReputation: "",
|
|
1177
|
+
simpleComplexityBudget: "",
|
|
1178
|
+
standardComplexityBudget: "",
|
|
1179
|
+
complexComplexityBudget: "",
|
|
1180
|
+
expertComplexityBudget: "",
|
|
1181
|
+
soloExpertBonusRate: "",
|
|
1182
|
+
interimDeadlineEpochs: BigInt(0),
|
|
1183
|
+
maxActiveChallengesPerCommittee: 0,
|
|
1184
|
+
maxNewChallengesPerEpoch: 0,
|
|
1185
|
+
challengeQueueMaxSize: 0,
|
|
1186
|
+
projectStakingApy: "",
|
|
1187
|
+
projectCompletionBonusRate: "",
|
|
1188
|
+
memberStakeRevenueShare: "",
|
|
1189
|
+
tagStakeRevenueShare: "",
|
|
1190
|
+
minStakeDurationSeconds: BigInt(0),
|
|
1191
|
+
allowSelfMemberStake: false,
|
|
1192
|
+
challengeResponseDeadlineEpochs: BigInt(0),
|
|
1193
|
+
giftCooldownBlocks: BigInt(0),
|
|
1194
|
+
maxGiftsPerSenderEpoch: "",
|
|
1195
|
+
contentConvictionHalfLifeEpochs: BigInt(0),
|
|
1196
|
+
maxContentStakePerMember: "",
|
|
1197
|
+
maxAuthorBondPerContent: "",
|
|
1198
|
+
authorBondSlashOnModeration: false,
|
|
1199
|
+
contentChallengeRewardShare: "",
|
|
1200
|
+
convictionPropagationRatio: "",
|
|
1201
|
+
maxTagsPerInitiative: 0,
|
|
1202
|
+
reputationDecayRate: "",
|
|
1203
|
+
maxConvictionSharePerMember: "",
|
|
1204
|
+
invitationStakeBurnRate: "",
|
|
1205
|
+
maxReputationGainPerEpoch: ""
|
|
1206
|
+
};
|
|
1207
|
+
}
|
|
1208
|
+
/**
|
|
1209
|
+
* RepOperationalParams defines the operational parameters that can be updated
|
|
1210
|
+
* by committee/council authority without full governance. These are day-to-day
|
|
1211
|
+
* tuning knobs that do not affect core economic incentives or tier structures.
|
|
1212
|
+
* @name RepOperationalParams
|
|
1213
|
+
* @package sparkdream.rep.v1
|
|
1214
|
+
* @see proto type: sparkdream.rep.v1.RepOperationalParams
|
|
1215
|
+
*/
|
|
1216
|
+
export const RepOperationalParams = {
|
|
1217
|
+
typeUrl: "/sparkdream.rep.v1.RepOperationalParams",
|
|
1218
|
+
aminoType: "sparkdream/x/rep/RepOperationalParams",
|
|
1219
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
1220
|
+
if (message.epochBlocks !== BigInt(0)) {
|
|
1221
|
+
writer.uint32(8).int64(message.epochBlocks);
|
|
1222
|
+
}
|
|
1223
|
+
if (message.seasonDurationEpochs !== BigInt(0)) {
|
|
1224
|
+
writer.uint32(16).int64(message.seasonDurationEpochs);
|
|
1225
|
+
}
|
|
1226
|
+
if (message.stakingApy !== "") {
|
|
1227
|
+
writer.uint32(26).string(Decimal.fromUserInput(message.stakingApy, 18).atomics);
|
|
1228
|
+
}
|
|
1229
|
+
if (message.unstakedDecayRate !== "") {
|
|
1230
|
+
writer.uint32(34).string(Decimal.fromUserInput(message.unstakedDecayRate, 18).atomics);
|
|
1231
|
+
}
|
|
1232
|
+
if (message.transferTaxRate !== "") {
|
|
1233
|
+
writer.uint32(42).string(Decimal.fromUserInput(message.transferTaxRate, 18).atomics);
|
|
1234
|
+
}
|
|
1235
|
+
if (message.maxTipAmount !== "") {
|
|
1236
|
+
writer.uint32(50).string(message.maxTipAmount);
|
|
1237
|
+
}
|
|
1238
|
+
if (message.maxTipsPerEpoch !== 0) {
|
|
1239
|
+
writer.uint32(56).uint32(message.maxTipsPerEpoch);
|
|
1240
|
+
}
|
|
1241
|
+
if (message.maxGiftAmount !== "") {
|
|
1242
|
+
writer.uint32(66).string(message.maxGiftAmount);
|
|
1243
|
+
}
|
|
1244
|
+
if (message.giftOnlyToInvitees === true) {
|
|
1245
|
+
writer.uint32(72).bool(message.giftOnlyToInvitees);
|
|
1246
|
+
}
|
|
1247
|
+
if (message.minReputationMultiplier !== "") {
|
|
1248
|
+
writer.uint32(82).string(Decimal.fromUserInput(message.minReputationMultiplier, 18).atomics);
|
|
1249
|
+
}
|
|
1250
|
+
if (message.defaultReviewPeriodEpochs !== BigInt(0)) {
|
|
1251
|
+
writer.uint32(88).int64(message.defaultReviewPeriodEpochs);
|
|
1252
|
+
}
|
|
1253
|
+
if (message.defaultChallengePeriodEpochs !== BigInt(0)) {
|
|
1254
|
+
writer.uint32(96).int64(message.defaultChallengePeriodEpochs);
|
|
1255
|
+
}
|
|
1256
|
+
if (message.minInvitationStake !== "") {
|
|
1257
|
+
writer.uint32(106).string(message.minInvitationStake);
|
|
1258
|
+
}
|
|
1259
|
+
if (message.invitationAccountabilityEpochs !== BigInt(0)) {
|
|
1260
|
+
writer.uint32(112).int64(message.invitationAccountabilityEpochs);
|
|
1261
|
+
}
|
|
1262
|
+
if (message.referralRewardRate !== "") {
|
|
1263
|
+
writer.uint32(122).string(Decimal.fromUserInput(message.referralRewardRate, 18).atomics);
|
|
1264
|
+
}
|
|
1265
|
+
if (message.invitationCostMultiplier !== "") {
|
|
1266
|
+
writer.uint32(130).string(Decimal.fromUserInput(message.invitationCostMultiplier, 18).atomics);
|
|
1267
|
+
}
|
|
1268
|
+
if (message.minChallengeStake !== "") {
|
|
1269
|
+
writer.uint32(138).string(message.minChallengeStake);
|
|
1270
|
+
}
|
|
1271
|
+
if (message.challengerRewardRate !== "") {
|
|
1272
|
+
writer.uint32(146).string(Decimal.fromUserInput(message.challengerRewardRate, 18).atomics);
|
|
1273
|
+
}
|
|
1274
|
+
if (message.jurySize !== 0) {
|
|
1275
|
+
writer.uint32(152).uint32(message.jurySize);
|
|
1276
|
+
}
|
|
1277
|
+
if (message.jurySuperMajority !== "") {
|
|
1278
|
+
writer.uint32(162).string(Decimal.fromUserInput(message.jurySuperMajority, 18).atomics);
|
|
1279
|
+
}
|
|
1280
|
+
if (message.minJurorReputation !== "") {
|
|
1281
|
+
writer.uint32(170).string(Decimal.fromUserInput(message.minJurorReputation, 18).atomics);
|
|
1282
|
+
}
|
|
1283
|
+
if (message.simpleComplexityBudget !== "") {
|
|
1284
|
+
writer.uint32(178).string(message.simpleComplexityBudget);
|
|
1285
|
+
}
|
|
1286
|
+
if (message.standardComplexityBudget !== "") {
|
|
1287
|
+
writer.uint32(186).string(message.standardComplexityBudget);
|
|
1288
|
+
}
|
|
1289
|
+
if (message.complexComplexityBudget !== "") {
|
|
1290
|
+
writer.uint32(194).string(message.complexComplexityBudget);
|
|
1291
|
+
}
|
|
1292
|
+
if (message.expertComplexityBudget !== "") {
|
|
1293
|
+
writer.uint32(202).string(message.expertComplexityBudget);
|
|
1294
|
+
}
|
|
1295
|
+
if (message.soloExpertBonusRate !== "") {
|
|
1296
|
+
writer.uint32(210).string(Decimal.fromUserInput(message.soloExpertBonusRate, 18).atomics);
|
|
1297
|
+
}
|
|
1298
|
+
if (message.interimDeadlineEpochs !== BigInt(0)) {
|
|
1299
|
+
writer.uint32(216).int64(message.interimDeadlineEpochs);
|
|
1300
|
+
}
|
|
1301
|
+
if (message.maxActiveChallengesPerCommittee !== 0) {
|
|
1302
|
+
writer.uint32(224).uint32(message.maxActiveChallengesPerCommittee);
|
|
1303
|
+
}
|
|
1304
|
+
if (message.maxNewChallengesPerEpoch !== 0) {
|
|
1305
|
+
writer.uint32(232).uint32(message.maxNewChallengesPerEpoch);
|
|
1306
|
+
}
|
|
1307
|
+
if (message.challengeQueueMaxSize !== 0) {
|
|
1308
|
+
writer.uint32(240).uint32(message.challengeQueueMaxSize);
|
|
1309
|
+
}
|
|
1310
|
+
if (message.projectStakingApy !== "") {
|
|
1311
|
+
writer.uint32(250).string(Decimal.fromUserInput(message.projectStakingApy, 18).atomics);
|
|
1312
|
+
}
|
|
1313
|
+
if (message.projectCompletionBonusRate !== "") {
|
|
1314
|
+
writer.uint32(258).string(Decimal.fromUserInput(message.projectCompletionBonusRate, 18).atomics);
|
|
1315
|
+
}
|
|
1316
|
+
if (message.memberStakeRevenueShare !== "") {
|
|
1317
|
+
writer.uint32(266).string(Decimal.fromUserInput(message.memberStakeRevenueShare, 18).atomics);
|
|
1318
|
+
}
|
|
1319
|
+
if (message.tagStakeRevenueShare !== "") {
|
|
1320
|
+
writer.uint32(274).string(Decimal.fromUserInput(message.tagStakeRevenueShare, 18).atomics);
|
|
1321
|
+
}
|
|
1322
|
+
if (message.minStakeDurationSeconds !== BigInt(0)) {
|
|
1323
|
+
writer.uint32(280).int64(message.minStakeDurationSeconds);
|
|
1324
|
+
}
|
|
1325
|
+
if (message.allowSelfMemberStake === true) {
|
|
1326
|
+
writer.uint32(288).bool(message.allowSelfMemberStake);
|
|
1327
|
+
}
|
|
1328
|
+
if (message.challengeResponseDeadlineEpochs !== BigInt(0)) {
|
|
1329
|
+
writer.uint32(296).int64(message.challengeResponseDeadlineEpochs);
|
|
1330
|
+
}
|
|
1331
|
+
if (message.giftCooldownBlocks !== BigInt(0)) {
|
|
1332
|
+
writer.uint32(304).int64(message.giftCooldownBlocks);
|
|
1333
|
+
}
|
|
1334
|
+
if (message.maxGiftsPerSenderEpoch !== "") {
|
|
1335
|
+
writer.uint32(314).string(message.maxGiftsPerSenderEpoch);
|
|
1336
|
+
}
|
|
1337
|
+
if (message.contentConvictionHalfLifeEpochs !== BigInt(0)) {
|
|
1338
|
+
writer.uint32(320).int64(message.contentConvictionHalfLifeEpochs);
|
|
1339
|
+
}
|
|
1340
|
+
if (message.maxContentStakePerMember !== "") {
|
|
1341
|
+
writer.uint32(330).string(message.maxContentStakePerMember);
|
|
1342
|
+
}
|
|
1343
|
+
if (message.maxAuthorBondPerContent !== "") {
|
|
1344
|
+
writer.uint32(338).string(message.maxAuthorBondPerContent);
|
|
1345
|
+
}
|
|
1346
|
+
if (message.authorBondSlashOnModeration === true) {
|
|
1347
|
+
writer.uint32(344).bool(message.authorBondSlashOnModeration);
|
|
1348
|
+
}
|
|
1349
|
+
if (message.contentChallengeRewardShare !== "") {
|
|
1350
|
+
writer.uint32(354).string(Decimal.fromUserInput(message.contentChallengeRewardShare, 18).atomics);
|
|
1351
|
+
}
|
|
1352
|
+
if (message.convictionPropagationRatio !== "") {
|
|
1353
|
+
writer.uint32(362).string(Decimal.fromUserInput(message.convictionPropagationRatio, 18).atomics);
|
|
1354
|
+
}
|
|
1355
|
+
if (message.maxTagsPerInitiative !== 0) {
|
|
1356
|
+
writer.uint32(368).uint32(message.maxTagsPerInitiative);
|
|
1357
|
+
}
|
|
1358
|
+
if (message.reputationDecayRate !== "") {
|
|
1359
|
+
writer.uint32(378).string(Decimal.fromUserInput(message.reputationDecayRate, 18).atomics);
|
|
1360
|
+
}
|
|
1361
|
+
if (message.maxConvictionSharePerMember !== "") {
|
|
1362
|
+
writer.uint32(386).string(Decimal.fromUserInput(message.maxConvictionSharePerMember, 18).atomics);
|
|
1363
|
+
}
|
|
1364
|
+
if (message.invitationStakeBurnRate !== "") {
|
|
1365
|
+
writer.uint32(394).string(Decimal.fromUserInput(message.invitationStakeBurnRate, 18).atomics);
|
|
1366
|
+
}
|
|
1367
|
+
if (message.maxReputationGainPerEpoch !== "") {
|
|
1368
|
+
writer.uint32(402).string(Decimal.fromUserInput(message.maxReputationGainPerEpoch, 18).atomics);
|
|
1369
|
+
}
|
|
1370
|
+
return writer;
|
|
1371
|
+
},
|
|
1372
|
+
decode(input, length) {
|
|
1373
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1374
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1375
|
+
const message = createBaseRepOperationalParams();
|
|
1376
|
+
while (reader.pos < end) {
|
|
1377
|
+
const tag = reader.uint32();
|
|
1378
|
+
switch (tag >>> 3) {
|
|
1379
|
+
case 1:
|
|
1380
|
+
message.epochBlocks = reader.int64();
|
|
1381
|
+
break;
|
|
1382
|
+
case 2:
|
|
1383
|
+
message.seasonDurationEpochs = reader.int64();
|
|
1384
|
+
break;
|
|
1385
|
+
case 3:
|
|
1386
|
+
message.stakingApy = Decimal.fromAtomics(reader.string(), 18).toString();
|
|
1387
|
+
break;
|
|
1388
|
+
case 4:
|
|
1389
|
+
message.unstakedDecayRate = Decimal.fromAtomics(reader.string(), 18).toString();
|
|
1390
|
+
break;
|
|
1391
|
+
case 5:
|
|
1392
|
+
message.transferTaxRate = Decimal.fromAtomics(reader.string(), 18).toString();
|
|
1393
|
+
break;
|
|
1394
|
+
case 6:
|
|
1395
|
+
message.maxTipAmount = reader.string();
|
|
1396
|
+
break;
|
|
1397
|
+
case 7:
|
|
1398
|
+
message.maxTipsPerEpoch = reader.uint32();
|
|
1399
|
+
break;
|
|
1400
|
+
case 8:
|
|
1401
|
+
message.maxGiftAmount = reader.string();
|
|
1402
|
+
break;
|
|
1403
|
+
case 9:
|
|
1404
|
+
message.giftOnlyToInvitees = reader.bool();
|
|
1405
|
+
break;
|
|
1406
|
+
case 10:
|
|
1407
|
+
message.minReputationMultiplier = Decimal.fromAtomics(reader.string(), 18).toString();
|
|
1408
|
+
break;
|
|
1409
|
+
case 11:
|
|
1410
|
+
message.defaultReviewPeriodEpochs = reader.int64();
|
|
1411
|
+
break;
|
|
1412
|
+
case 12:
|
|
1413
|
+
message.defaultChallengePeriodEpochs = reader.int64();
|
|
1414
|
+
break;
|
|
1415
|
+
case 13:
|
|
1416
|
+
message.minInvitationStake = reader.string();
|
|
1417
|
+
break;
|
|
1418
|
+
case 14:
|
|
1419
|
+
message.invitationAccountabilityEpochs = reader.int64();
|
|
1420
|
+
break;
|
|
1421
|
+
case 15:
|
|
1422
|
+
message.referralRewardRate = Decimal.fromAtomics(reader.string(), 18).toString();
|
|
1423
|
+
break;
|
|
1424
|
+
case 16:
|
|
1425
|
+
message.invitationCostMultiplier = Decimal.fromAtomics(reader.string(), 18).toString();
|
|
1426
|
+
break;
|
|
1427
|
+
case 17:
|
|
1428
|
+
message.minChallengeStake = reader.string();
|
|
1429
|
+
break;
|
|
1430
|
+
case 18:
|
|
1431
|
+
message.challengerRewardRate = Decimal.fromAtomics(reader.string(), 18).toString();
|
|
1432
|
+
break;
|
|
1433
|
+
case 19:
|
|
1434
|
+
message.jurySize = reader.uint32();
|
|
1435
|
+
break;
|
|
1436
|
+
case 20:
|
|
1437
|
+
message.jurySuperMajority = Decimal.fromAtomics(reader.string(), 18).toString();
|
|
1438
|
+
break;
|
|
1439
|
+
case 21:
|
|
1440
|
+
message.minJurorReputation = Decimal.fromAtomics(reader.string(), 18).toString();
|
|
1441
|
+
break;
|
|
1442
|
+
case 22:
|
|
1443
|
+
message.simpleComplexityBudget = reader.string();
|
|
1444
|
+
break;
|
|
1445
|
+
case 23:
|
|
1446
|
+
message.standardComplexityBudget = reader.string();
|
|
1447
|
+
break;
|
|
1448
|
+
case 24:
|
|
1449
|
+
message.complexComplexityBudget = reader.string();
|
|
1450
|
+
break;
|
|
1451
|
+
case 25:
|
|
1452
|
+
message.expertComplexityBudget = reader.string();
|
|
1453
|
+
break;
|
|
1454
|
+
case 26:
|
|
1455
|
+
message.soloExpertBonusRate = Decimal.fromAtomics(reader.string(), 18).toString();
|
|
1456
|
+
break;
|
|
1457
|
+
case 27:
|
|
1458
|
+
message.interimDeadlineEpochs = reader.int64();
|
|
1459
|
+
break;
|
|
1460
|
+
case 28:
|
|
1461
|
+
message.maxActiveChallengesPerCommittee = reader.uint32();
|
|
1462
|
+
break;
|
|
1463
|
+
case 29:
|
|
1464
|
+
message.maxNewChallengesPerEpoch = reader.uint32();
|
|
1465
|
+
break;
|
|
1466
|
+
case 30:
|
|
1467
|
+
message.challengeQueueMaxSize = reader.uint32();
|
|
1468
|
+
break;
|
|
1469
|
+
case 31:
|
|
1470
|
+
message.projectStakingApy = Decimal.fromAtomics(reader.string(), 18).toString();
|
|
1471
|
+
break;
|
|
1472
|
+
case 32:
|
|
1473
|
+
message.projectCompletionBonusRate = Decimal.fromAtomics(reader.string(), 18).toString();
|
|
1474
|
+
break;
|
|
1475
|
+
case 33:
|
|
1476
|
+
message.memberStakeRevenueShare = Decimal.fromAtomics(reader.string(), 18).toString();
|
|
1477
|
+
break;
|
|
1478
|
+
case 34:
|
|
1479
|
+
message.tagStakeRevenueShare = Decimal.fromAtomics(reader.string(), 18).toString();
|
|
1480
|
+
break;
|
|
1481
|
+
case 35:
|
|
1482
|
+
message.minStakeDurationSeconds = reader.int64();
|
|
1483
|
+
break;
|
|
1484
|
+
case 36:
|
|
1485
|
+
message.allowSelfMemberStake = reader.bool();
|
|
1486
|
+
break;
|
|
1487
|
+
case 37:
|
|
1488
|
+
message.challengeResponseDeadlineEpochs = reader.int64();
|
|
1489
|
+
break;
|
|
1490
|
+
case 38:
|
|
1491
|
+
message.giftCooldownBlocks = reader.int64();
|
|
1492
|
+
break;
|
|
1493
|
+
case 39:
|
|
1494
|
+
message.maxGiftsPerSenderEpoch = reader.string();
|
|
1495
|
+
break;
|
|
1496
|
+
case 40:
|
|
1497
|
+
message.contentConvictionHalfLifeEpochs = reader.int64();
|
|
1498
|
+
break;
|
|
1499
|
+
case 41:
|
|
1500
|
+
message.maxContentStakePerMember = reader.string();
|
|
1501
|
+
break;
|
|
1502
|
+
case 42:
|
|
1503
|
+
message.maxAuthorBondPerContent = reader.string();
|
|
1504
|
+
break;
|
|
1505
|
+
case 43:
|
|
1506
|
+
message.authorBondSlashOnModeration = reader.bool();
|
|
1507
|
+
break;
|
|
1508
|
+
case 44:
|
|
1509
|
+
message.contentChallengeRewardShare = Decimal.fromAtomics(reader.string(), 18).toString();
|
|
1510
|
+
break;
|
|
1511
|
+
case 45:
|
|
1512
|
+
message.convictionPropagationRatio = Decimal.fromAtomics(reader.string(), 18).toString();
|
|
1513
|
+
break;
|
|
1514
|
+
case 46:
|
|
1515
|
+
message.maxTagsPerInitiative = reader.uint32();
|
|
1516
|
+
break;
|
|
1517
|
+
case 47:
|
|
1518
|
+
message.reputationDecayRate = Decimal.fromAtomics(reader.string(), 18).toString();
|
|
1519
|
+
break;
|
|
1520
|
+
case 48:
|
|
1521
|
+
message.maxConvictionSharePerMember = Decimal.fromAtomics(reader.string(), 18).toString();
|
|
1522
|
+
break;
|
|
1523
|
+
case 49:
|
|
1524
|
+
message.invitationStakeBurnRate = Decimal.fromAtomics(reader.string(), 18).toString();
|
|
1525
|
+
break;
|
|
1526
|
+
case 50:
|
|
1527
|
+
message.maxReputationGainPerEpoch = Decimal.fromAtomics(reader.string(), 18).toString();
|
|
1528
|
+
break;
|
|
1529
|
+
default:
|
|
1530
|
+
reader.skipType(tag & 7);
|
|
1531
|
+
break;
|
|
1532
|
+
}
|
|
1533
|
+
}
|
|
1534
|
+
return message;
|
|
1535
|
+
},
|
|
1536
|
+
fromPartial(object) {
|
|
1537
|
+
const message = createBaseRepOperationalParams();
|
|
1538
|
+
message.epochBlocks = object.epochBlocks !== undefined && object.epochBlocks !== null ? BigInt(object.epochBlocks.toString()) : BigInt(0);
|
|
1539
|
+
message.seasonDurationEpochs = object.seasonDurationEpochs !== undefined && object.seasonDurationEpochs !== null ? BigInt(object.seasonDurationEpochs.toString()) : BigInt(0);
|
|
1540
|
+
message.stakingApy = object.stakingApy ?? "";
|
|
1541
|
+
message.unstakedDecayRate = object.unstakedDecayRate ?? "";
|
|
1542
|
+
message.transferTaxRate = object.transferTaxRate ?? "";
|
|
1543
|
+
message.maxTipAmount = object.maxTipAmount ?? "";
|
|
1544
|
+
message.maxTipsPerEpoch = object.maxTipsPerEpoch ?? 0;
|
|
1545
|
+
message.maxGiftAmount = object.maxGiftAmount ?? "";
|
|
1546
|
+
message.giftOnlyToInvitees = object.giftOnlyToInvitees ?? false;
|
|
1547
|
+
message.minReputationMultiplier = object.minReputationMultiplier ?? "";
|
|
1548
|
+
message.defaultReviewPeriodEpochs = object.defaultReviewPeriodEpochs !== undefined && object.defaultReviewPeriodEpochs !== null ? BigInt(object.defaultReviewPeriodEpochs.toString()) : BigInt(0);
|
|
1549
|
+
message.defaultChallengePeriodEpochs = object.defaultChallengePeriodEpochs !== undefined && object.defaultChallengePeriodEpochs !== null ? BigInt(object.defaultChallengePeriodEpochs.toString()) : BigInt(0);
|
|
1550
|
+
message.minInvitationStake = object.minInvitationStake ?? "";
|
|
1551
|
+
message.invitationAccountabilityEpochs = object.invitationAccountabilityEpochs !== undefined && object.invitationAccountabilityEpochs !== null ? BigInt(object.invitationAccountabilityEpochs.toString()) : BigInt(0);
|
|
1552
|
+
message.referralRewardRate = object.referralRewardRate ?? "";
|
|
1553
|
+
message.invitationCostMultiplier = object.invitationCostMultiplier ?? "";
|
|
1554
|
+
message.minChallengeStake = object.minChallengeStake ?? "";
|
|
1555
|
+
message.challengerRewardRate = object.challengerRewardRate ?? "";
|
|
1556
|
+
message.jurySize = object.jurySize ?? 0;
|
|
1557
|
+
message.jurySuperMajority = object.jurySuperMajority ?? "";
|
|
1558
|
+
message.minJurorReputation = object.minJurorReputation ?? "";
|
|
1559
|
+
message.simpleComplexityBudget = object.simpleComplexityBudget ?? "";
|
|
1560
|
+
message.standardComplexityBudget = object.standardComplexityBudget ?? "";
|
|
1561
|
+
message.complexComplexityBudget = object.complexComplexityBudget ?? "";
|
|
1562
|
+
message.expertComplexityBudget = object.expertComplexityBudget ?? "";
|
|
1563
|
+
message.soloExpertBonusRate = object.soloExpertBonusRate ?? "";
|
|
1564
|
+
message.interimDeadlineEpochs = object.interimDeadlineEpochs !== undefined && object.interimDeadlineEpochs !== null ? BigInt(object.interimDeadlineEpochs.toString()) : BigInt(0);
|
|
1565
|
+
message.maxActiveChallengesPerCommittee = object.maxActiveChallengesPerCommittee ?? 0;
|
|
1566
|
+
message.maxNewChallengesPerEpoch = object.maxNewChallengesPerEpoch ?? 0;
|
|
1567
|
+
message.challengeQueueMaxSize = object.challengeQueueMaxSize ?? 0;
|
|
1568
|
+
message.projectStakingApy = object.projectStakingApy ?? "";
|
|
1569
|
+
message.projectCompletionBonusRate = object.projectCompletionBonusRate ?? "";
|
|
1570
|
+
message.memberStakeRevenueShare = object.memberStakeRevenueShare ?? "";
|
|
1571
|
+
message.tagStakeRevenueShare = object.tagStakeRevenueShare ?? "";
|
|
1572
|
+
message.minStakeDurationSeconds = object.minStakeDurationSeconds !== undefined && object.minStakeDurationSeconds !== null ? BigInt(object.minStakeDurationSeconds.toString()) : BigInt(0);
|
|
1573
|
+
message.allowSelfMemberStake = object.allowSelfMemberStake ?? false;
|
|
1574
|
+
message.challengeResponseDeadlineEpochs = object.challengeResponseDeadlineEpochs !== undefined && object.challengeResponseDeadlineEpochs !== null ? BigInt(object.challengeResponseDeadlineEpochs.toString()) : BigInt(0);
|
|
1575
|
+
message.giftCooldownBlocks = object.giftCooldownBlocks !== undefined && object.giftCooldownBlocks !== null ? BigInt(object.giftCooldownBlocks.toString()) : BigInt(0);
|
|
1576
|
+
message.maxGiftsPerSenderEpoch = object.maxGiftsPerSenderEpoch ?? "";
|
|
1577
|
+
message.contentConvictionHalfLifeEpochs = object.contentConvictionHalfLifeEpochs !== undefined && object.contentConvictionHalfLifeEpochs !== null ? BigInt(object.contentConvictionHalfLifeEpochs.toString()) : BigInt(0);
|
|
1578
|
+
message.maxContentStakePerMember = object.maxContentStakePerMember ?? "";
|
|
1579
|
+
message.maxAuthorBondPerContent = object.maxAuthorBondPerContent ?? "";
|
|
1580
|
+
message.authorBondSlashOnModeration = object.authorBondSlashOnModeration ?? false;
|
|
1581
|
+
message.contentChallengeRewardShare = object.contentChallengeRewardShare ?? "";
|
|
1582
|
+
message.convictionPropagationRatio = object.convictionPropagationRatio ?? "";
|
|
1583
|
+
message.maxTagsPerInitiative = object.maxTagsPerInitiative ?? 0;
|
|
1584
|
+
message.reputationDecayRate = object.reputationDecayRate ?? "";
|
|
1585
|
+
message.maxConvictionSharePerMember = object.maxConvictionSharePerMember ?? "";
|
|
1586
|
+
message.invitationStakeBurnRate = object.invitationStakeBurnRate ?? "";
|
|
1587
|
+
message.maxReputationGainPerEpoch = object.maxReputationGainPerEpoch ?? "";
|
|
1588
|
+
return message;
|
|
1589
|
+
},
|
|
1590
|
+
fromAmino(object) {
|
|
1591
|
+
const message = createBaseRepOperationalParams();
|
|
1592
|
+
if (object.epoch_blocks !== undefined && object.epoch_blocks !== null) {
|
|
1593
|
+
message.epochBlocks = BigInt(object.epoch_blocks);
|
|
1594
|
+
}
|
|
1595
|
+
if (object.season_duration_epochs !== undefined && object.season_duration_epochs !== null) {
|
|
1596
|
+
message.seasonDurationEpochs = BigInt(object.season_duration_epochs);
|
|
1597
|
+
}
|
|
1598
|
+
if (object.staking_apy !== undefined && object.staking_apy !== null) {
|
|
1599
|
+
message.stakingApy = object.staking_apy;
|
|
1600
|
+
}
|
|
1601
|
+
if (object.unstaked_decay_rate !== undefined && object.unstaked_decay_rate !== null) {
|
|
1602
|
+
message.unstakedDecayRate = object.unstaked_decay_rate;
|
|
1603
|
+
}
|
|
1604
|
+
if (object.transfer_tax_rate !== undefined && object.transfer_tax_rate !== null) {
|
|
1605
|
+
message.transferTaxRate = object.transfer_tax_rate;
|
|
1606
|
+
}
|
|
1607
|
+
if (object.max_tip_amount !== undefined && object.max_tip_amount !== null) {
|
|
1608
|
+
message.maxTipAmount = object.max_tip_amount;
|
|
1609
|
+
}
|
|
1610
|
+
if (object.max_tips_per_epoch !== undefined && object.max_tips_per_epoch !== null) {
|
|
1611
|
+
message.maxTipsPerEpoch = object.max_tips_per_epoch;
|
|
1612
|
+
}
|
|
1613
|
+
if (object.max_gift_amount !== undefined && object.max_gift_amount !== null) {
|
|
1614
|
+
message.maxGiftAmount = object.max_gift_amount;
|
|
1615
|
+
}
|
|
1616
|
+
if (object.gift_only_to_invitees !== undefined && object.gift_only_to_invitees !== null) {
|
|
1617
|
+
message.giftOnlyToInvitees = object.gift_only_to_invitees;
|
|
1618
|
+
}
|
|
1619
|
+
if (object.min_reputation_multiplier !== undefined && object.min_reputation_multiplier !== null) {
|
|
1620
|
+
message.minReputationMultiplier = object.min_reputation_multiplier;
|
|
1621
|
+
}
|
|
1622
|
+
if (object.default_review_period_epochs !== undefined && object.default_review_period_epochs !== null) {
|
|
1623
|
+
message.defaultReviewPeriodEpochs = BigInt(object.default_review_period_epochs);
|
|
1624
|
+
}
|
|
1625
|
+
if (object.default_challenge_period_epochs !== undefined && object.default_challenge_period_epochs !== null) {
|
|
1626
|
+
message.defaultChallengePeriodEpochs = BigInt(object.default_challenge_period_epochs);
|
|
1627
|
+
}
|
|
1628
|
+
if (object.min_invitation_stake !== undefined && object.min_invitation_stake !== null) {
|
|
1629
|
+
message.minInvitationStake = object.min_invitation_stake;
|
|
1630
|
+
}
|
|
1631
|
+
if (object.invitation_accountability_epochs !== undefined && object.invitation_accountability_epochs !== null) {
|
|
1632
|
+
message.invitationAccountabilityEpochs = BigInt(object.invitation_accountability_epochs);
|
|
1633
|
+
}
|
|
1634
|
+
if (object.referral_reward_rate !== undefined && object.referral_reward_rate !== null) {
|
|
1635
|
+
message.referralRewardRate = object.referral_reward_rate;
|
|
1636
|
+
}
|
|
1637
|
+
if (object.invitation_cost_multiplier !== undefined && object.invitation_cost_multiplier !== null) {
|
|
1638
|
+
message.invitationCostMultiplier = object.invitation_cost_multiplier;
|
|
1639
|
+
}
|
|
1640
|
+
if (object.min_challenge_stake !== undefined && object.min_challenge_stake !== null) {
|
|
1641
|
+
message.minChallengeStake = object.min_challenge_stake;
|
|
1642
|
+
}
|
|
1643
|
+
if (object.challenger_reward_rate !== undefined && object.challenger_reward_rate !== null) {
|
|
1644
|
+
message.challengerRewardRate = object.challenger_reward_rate;
|
|
1645
|
+
}
|
|
1646
|
+
if (object.jury_size !== undefined && object.jury_size !== null) {
|
|
1647
|
+
message.jurySize = object.jury_size;
|
|
1648
|
+
}
|
|
1649
|
+
if (object.jury_super_majority !== undefined && object.jury_super_majority !== null) {
|
|
1650
|
+
message.jurySuperMajority = object.jury_super_majority;
|
|
1651
|
+
}
|
|
1652
|
+
if (object.min_juror_reputation !== undefined && object.min_juror_reputation !== null) {
|
|
1653
|
+
message.minJurorReputation = object.min_juror_reputation;
|
|
1654
|
+
}
|
|
1655
|
+
if (object.simple_complexity_budget !== undefined && object.simple_complexity_budget !== null) {
|
|
1656
|
+
message.simpleComplexityBudget = object.simple_complexity_budget;
|
|
1657
|
+
}
|
|
1658
|
+
if (object.standard_complexity_budget !== undefined && object.standard_complexity_budget !== null) {
|
|
1659
|
+
message.standardComplexityBudget = object.standard_complexity_budget;
|
|
1660
|
+
}
|
|
1661
|
+
if (object.complex_complexity_budget !== undefined && object.complex_complexity_budget !== null) {
|
|
1662
|
+
message.complexComplexityBudget = object.complex_complexity_budget;
|
|
1663
|
+
}
|
|
1664
|
+
if (object.expert_complexity_budget !== undefined && object.expert_complexity_budget !== null) {
|
|
1665
|
+
message.expertComplexityBudget = object.expert_complexity_budget;
|
|
1666
|
+
}
|
|
1667
|
+
if (object.solo_expert_bonus_rate !== undefined && object.solo_expert_bonus_rate !== null) {
|
|
1668
|
+
message.soloExpertBonusRate = object.solo_expert_bonus_rate;
|
|
1669
|
+
}
|
|
1670
|
+
if (object.interim_deadline_epochs !== undefined && object.interim_deadline_epochs !== null) {
|
|
1671
|
+
message.interimDeadlineEpochs = BigInt(object.interim_deadline_epochs);
|
|
1672
|
+
}
|
|
1673
|
+
if (object.max_active_challenges_per_committee !== undefined && object.max_active_challenges_per_committee !== null) {
|
|
1674
|
+
message.maxActiveChallengesPerCommittee = object.max_active_challenges_per_committee;
|
|
1675
|
+
}
|
|
1676
|
+
if (object.max_new_challenges_per_epoch !== undefined && object.max_new_challenges_per_epoch !== null) {
|
|
1677
|
+
message.maxNewChallengesPerEpoch = object.max_new_challenges_per_epoch;
|
|
1678
|
+
}
|
|
1679
|
+
if (object.challenge_queue_max_size !== undefined && object.challenge_queue_max_size !== null) {
|
|
1680
|
+
message.challengeQueueMaxSize = object.challenge_queue_max_size;
|
|
1681
|
+
}
|
|
1682
|
+
if (object.project_staking_apy !== undefined && object.project_staking_apy !== null) {
|
|
1683
|
+
message.projectStakingApy = object.project_staking_apy;
|
|
1684
|
+
}
|
|
1685
|
+
if (object.project_completion_bonus_rate !== undefined && object.project_completion_bonus_rate !== null) {
|
|
1686
|
+
message.projectCompletionBonusRate = object.project_completion_bonus_rate;
|
|
1687
|
+
}
|
|
1688
|
+
if (object.member_stake_revenue_share !== undefined && object.member_stake_revenue_share !== null) {
|
|
1689
|
+
message.memberStakeRevenueShare = object.member_stake_revenue_share;
|
|
1690
|
+
}
|
|
1691
|
+
if (object.tag_stake_revenue_share !== undefined && object.tag_stake_revenue_share !== null) {
|
|
1692
|
+
message.tagStakeRevenueShare = object.tag_stake_revenue_share;
|
|
1693
|
+
}
|
|
1694
|
+
if (object.min_stake_duration_seconds !== undefined && object.min_stake_duration_seconds !== null) {
|
|
1695
|
+
message.minStakeDurationSeconds = BigInt(object.min_stake_duration_seconds);
|
|
1696
|
+
}
|
|
1697
|
+
if (object.allow_self_member_stake !== undefined && object.allow_self_member_stake !== null) {
|
|
1698
|
+
message.allowSelfMemberStake = object.allow_self_member_stake;
|
|
1699
|
+
}
|
|
1700
|
+
if (object.challenge_response_deadline_epochs !== undefined && object.challenge_response_deadline_epochs !== null) {
|
|
1701
|
+
message.challengeResponseDeadlineEpochs = BigInt(object.challenge_response_deadline_epochs);
|
|
1702
|
+
}
|
|
1703
|
+
if (object.gift_cooldown_blocks !== undefined && object.gift_cooldown_blocks !== null) {
|
|
1704
|
+
message.giftCooldownBlocks = BigInt(object.gift_cooldown_blocks);
|
|
1705
|
+
}
|
|
1706
|
+
if (object.max_gifts_per_sender_epoch !== undefined && object.max_gifts_per_sender_epoch !== null) {
|
|
1707
|
+
message.maxGiftsPerSenderEpoch = object.max_gifts_per_sender_epoch;
|
|
1708
|
+
}
|
|
1709
|
+
if (object.content_conviction_half_life_epochs !== undefined && object.content_conviction_half_life_epochs !== null) {
|
|
1710
|
+
message.contentConvictionHalfLifeEpochs = BigInt(object.content_conviction_half_life_epochs);
|
|
1711
|
+
}
|
|
1712
|
+
if (object.max_content_stake_per_member !== undefined && object.max_content_stake_per_member !== null) {
|
|
1713
|
+
message.maxContentStakePerMember = object.max_content_stake_per_member;
|
|
1714
|
+
}
|
|
1715
|
+
if (object.max_author_bond_per_content !== undefined && object.max_author_bond_per_content !== null) {
|
|
1716
|
+
message.maxAuthorBondPerContent = object.max_author_bond_per_content;
|
|
1717
|
+
}
|
|
1718
|
+
if (object.author_bond_slash_on_moderation !== undefined && object.author_bond_slash_on_moderation !== null) {
|
|
1719
|
+
message.authorBondSlashOnModeration = object.author_bond_slash_on_moderation;
|
|
1720
|
+
}
|
|
1721
|
+
if (object.content_challenge_reward_share !== undefined && object.content_challenge_reward_share !== null) {
|
|
1722
|
+
message.contentChallengeRewardShare = object.content_challenge_reward_share;
|
|
1723
|
+
}
|
|
1724
|
+
if (object.conviction_propagation_ratio !== undefined && object.conviction_propagation_ratio !== null) {
|
|
1725
|
+
message.convictionPropagationRatio = object.conviction_propagation_ratio;
|
|
1726
|
+
}
|
|
1727
|
+
if (object.max_tags_per_initiative !== undefined && object.max_tags_per_initiative !== null) {
|
|
1728
|
+
message.maxTagsPerInitiative = object.max_tags_per_initiative;
|
|
1729
|
+
}
|
|
1730
|
+
if (object.reputation_decay_rate !== undefined && object.reputation_decay_rate !== null) {
|
|
1731
|
+
message.reputationDecayRate = object.reputation_decay_rate;
|
|
1732
|
+
}
|
|
1733
|
+
if (object.max_conviction_share_per_member !== undefined && object.max_conviction_share_per_member !== null) {
|
|
1734
|
+
message.maxConvictionSharePerMember = object.max_conviction_share_per_member;
|
|
1735
|
+
}
|
|
1736
|
+
if (object.invitation_stake_burn_rate !== undefined && object.invitation_stake_burn_rate !== null) {
|
|
1737
|
+
message.invitationStakeBurnRate = object.invitation_stake_burn_rate;
|
|
1738
|
+
}
|
|
1739
|
+
if (object.max_reputation_gain_per_epoch !== undefined && object.max_reputation_gain_per_epoch !== null) {
|
|
1740
|
+
message.maxReputationGainPerEpoch = object.max_reputation_gain_per_epoch;
|
|
1741
|
+
}
|
|
1742
|
+
return message;
|
|
1743
|
+
},
|
|
1744
|
+
toAmino(message) {
|
|
1745
|
+
const obj = {};
|
|
1746
|
+
obj.epoch_blocks = message.epochBlocks !== BigInt(0) ? message.epochBlocks?.toString() : undefined;
|
|
1747
|
+
obj.season_duration_epochs = message.seasonDurationEpochs !== BigInt(0) ? message.seasonDurationEpochs?.toString() : undefined;
|
|
1748
|
+
obj.staking_apy = message.stakingApy === "" ? undefined : message.stakingApy;
|
|
1749
|
+
obj.unstaked_decay_rate = message.unstakedDecayRate === "" ? undefined : message.unstakedDecayRate;
|
|
1750
|
+
obj.transfer_tax_rate = message.transferTaxRate === "" ? undefined : message.transferTaxRate;
|
|
1751
|
+
obj.max_tip_amount = message.maxTipAmount === "" ? undefined : message.maxTipAmount;
|
|
1752
|
+
obj.max_tips_per_epoch = message.maxTipsPerEpoch === 0 ? undefined : message.maxTipsPerEpoch;
|
|
1753
|
+
obj.max_gift_amount = message.maxGiftAmount === "" ? undefined : message.maxGiftAmount;
|
|
1754
|
+
obj.gift_only_to_invitees = message.giftOnlyToInvitees === false ? undefined : message.giftOnlyToInvitees;
|
|
1755
|
+
obj.min_reputation_multiplier = message.minReputationMultiplier === "" ? undefined : message.minReputationMultiplier;
|
|
1756
|
+
obj.default_review_period_epochs = message.defaultReviewPeriodEpochs !== BigInt(0) ? message.defaultReviewPeriodEpochs?.toString() : undefined;
|
|
1757
|
+
obj.default_challenge_period_epochs = message.defaultChallengePeriodEpochs !== BigInt(0) ? message.defaultChallengePeriodEpochs?.toString() : undefined;
|
|
1758
|
+
obj.min_invitation_stake = message.minInvitationStake === "" ? undefined : message.minInvitationStake;
|
|
1759
|
+
obj.invitation_accountability_epochs = message.invitationAccountabilityEpochs !== BigInt(0) ? message.invitationAccountabilityEpochs?.toString() : undefined;
|
|
1760
|
+
obj.referral_reward_rate = message.referralRewardRate === "" ? undefined : message.referralRewardRate;
|
|
1761
|
+
obj.invitation_cost_multiplier = message.invitationCostMultiplier === "" ? undefined : message.invitationCostMultiplier;
|
|
1762
|
+
obj.min_challenge_stake = message.minChallengeStake === "" ? undefined : message.minChallengeStake;
|
|
1763
|
+
obj.challenger_reward_rate = message.challengerRewardRate === "" ? undefined : message.challengerRewardRate;
|
|
1764
|
+
obj.jury_size = message.jurySize === 0 ? undefined : message.jurySize;
|
|
1765
|
+
obj.jury_super_majority = message.jurySuperMajority === "" ? undefined : message.jurySuperMajority;
|
|
1766
|
+
obj.min_juror_reputation = message.minJurorReputation === "" ? undefined : message.minJurorReputation;
|
|
1767
|
+
obj.simple_complexity_budget = message.simpleComplexityBudget === "" ? undefined : message.simpleComplexityBudget;
|
|
1768
|
+
obj.standard_complexity_budget = message.standardComplexityBudget === "" ? undefined : message.standardComplexityBudget;
|
|
1769
|
+
obj.complex_complexity_budget = message.complexComplexityBudget === "" ? undefined : message.complexComplexityBudget;
|
|
1770
|
+
obj.expert_complexity_budget = message.expertComplexityBudget === "" ? undefined : message.expertComplexityBudget;
|
|
1771
|
+
obj.solo_expert_bonus_rate = message.soloExpertBonusRate === "" ? undefined : message.soloExpertBonusRate;
|
|
1772
|
+
obj.interim_deadline_epochs = message.interimDeadlineEpochs !== BigInt(0) ? message.interimDeadlineEpochs?.toString() : undefined;
|
|
1773
|
+
obj.max_active_challenges_per_committee = message.maxActiveChallengesPerCommittee === 0 ? undefined : message.maxActiveChallengesPerCommittee;
|
|
1774
|
+
obj.max_new_challenges_per_epoch = message.maxNewChallengesPerEpoch === 0 ? undefined : message.maxNewChallengesPerEpoch;
|
|
1775
|
+
obj.challenge_queue_max_size = message.challengeQueueMaxSize === 0 ? undefined : message.challengeQueueMaxSize;
|
|
1776
|
+
obj.project_staking_apy = message.projectStakingApy === "" ? undefined : message.projectStakingApy;
|
|
1777
|
+
obj.project_completion_bonus_rate = message.projectCompletionBonusRate === "" ? undefined : message.projectCompletionBonusRate;
|
|
1778
|
+
obj.member_stake_revenue_share = message.memberStakeRevenueShare === "" ? undefined : message.memberStakeRevenueShare;
|
|
1779
|
+
obj.tag_stake_revenue_share = message.tagStakeRevenueShare === "" ? undefined : message.tagStakeRevenueShare;
|
|
1780
|
+
obj.min_stake_duration_seconds = message.minStakeDurationSeconds !== BigInt(0) ? message.minStakeDurationSeconds?.toString() : undefined;
|
|
1781
|
+
obj.allow_self_member_stake = message.allowSelfMemberStake === false ? undefined : message.allowSelfMemberStake;
|
|
1782
|
+
obj.challenge_response_deadline_epochs = message.challengeResponseDeadlineEpochs !== BigInt(0) ? message.challengeResponseDeadlineEpochs?.toString() : undefined;
|
|
1783
|
+
obj.gift_cooldown_blocks = message.giftCooldownBlocks !== BigInt(0) ? message.giftCooldownBlocks?.toString() : undefined;
|
|
1784
|
+
obj.max_gifts_per_sender_epoch = message.maxGiftsPerSenderEpoch === "" ? undefined : message.maxGiftsPerSenderEpoch;
|
|
1785
|
+
obj.content_conviction_half_life_epochs = message.contentConvictionHalfLifeEpochs !== BigInt(0) ? message.contentConvictionHalfLifeEpochs?.toString() : undefined;
|
|
1786
|
+
obj.max_content_stake_per_member = message.maxContentStakePerMember === "" ? undefined : message.maxContentStakePerMember;
|
|
1787
|
+
obj.max_author_bond_per_content = message.maxAuthorBondPerContent === "" ? undefined : message.maxAuthorBondPerContent;
|
|
1788
|
+
obj.author_bond_slash_on_moderation = message.authorBondSlashOnModeration === false ? undefined : message.authorBondSlashOnModeration;
|
|
1789
|
+
obj.content_challenge_reward_share = message.contentChallengeRewardShare === "" ? undefined : message.contentChallengeRewardShare;
|
|
1790
|
+
obj.conviction_propagation_ratio = message.convictionPropagationRatio === "" ? undefined : message.convictionPropagationRatio;
|
|
1791
|
+
obj.max_tags_per_initiative = message.maxTagsPerInitiative === 0 ? undefined : message.maxTagsPerInitiative;
|
|
1792
|
+
obj.reputation_decay_rate = message.reputationDecayRate === "" ? undefined : message.reputationDecayRate;
|
|
1793
|
+
obj.max_conviction_share_per_member = message.maxConvictionSharePerMember === "" ? undefined : message.maxConvictionSharePerMember;
|
|
1794
|
+
obj.invitation_stake_burn_rate = message.invitationStakeBurnRate === "" ? undefined : message.invitationStakeBurnRate;
|
|
1795
|
+
obj.max_reputation_gain_per_epoch = message.maxReputationGainPerEpoch === "" ? undefined : message.maxReputationGainPerEpoch;
|
|
1796
|
+
return obj;
|
|
1797
|
+
},
|
|
1798
|
+
fromAminoMsg(object) {
|
|
1799
|
+
return RepOperationalParams.fromAmino(object.value);
|
|
1800
|
+
},
|
|
1801
|
+
toAminoMsg(message) {
|
|
1802
|
+
return {
|
|
1803
|
+
type: "sparkdream/x/rep/RepOperationalParams",
|
|
1804
|
+
value: RepOperationalParams.toAmino(message)
|
|
1805
|
+
};
|
|
1806
|
+
},
|
|
1807
|
+
fromProtoMsg(message) {
|
|
1808
|
+
return RepOperationalParams.decode(message.value);
|
|
1809
|
+
},
|
|
1810
|
+
toProto(message) {
|
|
1811
|
+
return RepOperationalParams.encode(message).finish();
|
|
1812
|
+
},
|
|
1813
|
+
toProtoMsg(message) {
|
|
1814
|
+
return {
|
|
1815
|
+
typeUrl: "/sparkdream.rep.v1.RepOperationalParams",
|
|
1816
|
+
value: RepOperationalParams.encode(message).finish()
|
|
1817
|
+
};
|
|
1818
|
+
}
|
|
1819
|
+
};
|