@sparkdreamnft/sparkdreamjs 0.0.35 → 0.0.37
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/akash/bundle.d.ts +134 -134
- package/akash/bundle.js +150 -150
- package/cosmos/bundle.d.ts +160 -160
- package/cosmos/bundle.js +182 -182
- package/esm/akash/bundle.js +150 -150
- package/esm/cosmos/bundle.js +182 -182
- package/esm/ibc/bundle.js +116 -116
- package/esm/sparkdream/bundle.js +305 -301
- package/esm/sparkdream/federation/v1/genesis.js +101 -3
- package/esm/sparkdream/federation/v1/params.js +129 -117
- package/esm/sparkdream/federation/v1/query.js +204 -7
- package/esm/sparkdream/federation/v1/query.lcd.js +11 -2
- package/esm/sparkdream/federation/v1/query.rpc.Query.js +16 -3
- package/esm/sparkdream/federation/v1/types.js +73 -1
- package/esm/sparkdream/federation/v1/verifier_activity.js +143 -45
- package/esm/sparkdream/rep/v1/{interim_template.js → acceptance_criteria.js} +13 -123
- package/esm/sparkdream/rep/v1/accountability.js +11 -0
- package/esm/sparkdream/rep/v1/bonded_role.js +50 -1
- package/esm/sparkdream/rep/v1/challenge.js +21 -9
- package/esm/sparkdream/rep/v1/genesis.js +198 -59
- package/esm/sparkdream/rep/v1/initiative.js +160 -49
- package/esm/sparkdream/rep/v1/initiative_review.js +179 -0
- package/esm/sparkdream/rep/v1/jury_participation.js +39 -9
- package/esm/sparkdream/rep/v1/jury_review.js +40 -1
- package/esm/sparkdream/rep/v1/member_report.js +8 -8
- package/esm/sparkdream/rep/v1/member_warning.js +2 -2
- package/esm/sparkdream/rep/v1/params.js +806 -2
- package/esm/sparkdream/rep/v1/query.js +1446 -325
- package/esm/sparkdream/rep/v1/query.lcd.js +49 -16
- package/esm/sparkdream/rep/v1/query.rpc.Query.js +67 -21
- package/esm/sparkdream/rep/v1/review_bounty.js +215 -0
- package/esm/sparkdream/rep/v1/role_activity.js +13 -1
- package/esm/sparkdream/rep/v1/tag_report.js +2 -2
- package/esm/sparkdream/rep/v1/tx.js +2610 -1442
- package/esm/sparkdream/rep/v1/tx.registry.js +128 -2
- package/esm/sparkdream/rep/v1/tx.rpc.msg.js +43 -1
- package/esm/tendermint/bundle.js +18 -18
- package/ibc/bundle.d.ts +99 -99
- package/ibc/bundle.js +116 -116
- package/package.json +1 -1
- package/sparkdream/bundle.d.ts +9709 -9199
- package/sparkdream/bundle.js +305 -301
- package/sparkdream/federation/v1/genesis.d.ts +66 -0
- package/sparkdream/federation/v1/genesis.js +102 -4
- package/sparkdream/federation/v1/params.d.ts +72 -10
- package/sparkdream/federation/v1/params.js +129 -117
- package/sparkdream/federation/v1/query.d.ts +120 -3
- package/sparkdream/federation/v1/query.js +204 -7
- package/sparkdream/federation/v1/query.lcd.d.ts +2 -1
- package/sparkdream/federation/v1/query.lcd.js +11 -2
- package/sparkdream/federation/v1/query.rpc.Query.d.ts +13 -3
- package/sparkdream/federation/v1/query.rpc.Query.js +15 -2
- package/sparkdream/federation/v1/types.d.ts +44 -0
- package/sparkdream/federation/v1/types.js +73 -1
- package/sparkdream/federation/v1/verifier_activity.d.ts +151 -68
- package/sparkdream/federation/v1/verifier_activity.js +144 -46
- package/sparkdream/rep/v1/{interim_template.d.ts → acceptance_criteria.d.ts} +39 -52
- package/sparkdream/rep/v1/{interim_template.js → acceptance_criteria.js} +14 -124
- package/sparkdream/rep/v1/accountability.d.ts +6 -0
- package/sparkdream/rep/v1/accountability.js +11 -0
- package/sparkdream/rep/v1/bonded_role.d.ts +50 -0
- package/sparkdream/rep/v1/bonded_role.js +50 -1
- package/sparkdream/rep/v1/challenge.d.ts +14 -0
- package/sparkdream/rep/v1/challenge.js +21 -9
- package/sparkdream/rep/v1/genesis.d.ts +100 -3
- package/sparkdream/rep/v1/genesis.js +199 -60
- package/sparkdream/rep/v1/initiative.d.ts +106 -2
- package/sparkdream/rep/v1/initiative.js +163 -50
- package/sparkdream/rep/v1/initiative_review.d.ts +121 -0
- package/sparkdream/rep/v1/initiative_review.js +182 -0
- package/sparkdream/rep/v1/jury_participation.d.ts +89 -5
- package/sparkdream/rep/v1/jury_participation.js +39 -9
- package/sparkdream/rep/v1/jury_review.d.ts +38 -0
- package/sparkdream/rep/v1/jury_review.js +40 -1
- package/sparkdream/rep/v1/member_report.js +8 -8
- package/sparkdream/rep/v1/member_warning.js +2 -2
- package/sparkdream/rep/v1/params.d.ts +764 -16
- package/sparkdream/rep/v1/params.js +806 -2
- package/sparkdream/rep/v1/query.d.ts +929 -179
- package/sparkdream/rep/v1/query.js +1450 -329
- package/sparkdream/rep/v1/query.lcd.d.ts +7 -3
- package/sparkdream/rep/v1/query.lcd.js +49 -16
- package/sparkdream/rep/v1/query.rpc.Query.d.ts +47 -9
- package/sparkdream/rep/v1/query.rpc.Query.js +66 -20
- package/sparkdream/rep/v1/review_bounty.d.ts +168 -0
- package/sparkdream/rep/v1/review_bounty.js +218 -0
- package/sparkdream/rep/v1/role_activity.d.ts +26 -0
- package/sparkdream/rep/v1/role_activity.js +13 -1
- package/sparkdream/rep/v1/tag_report.js +2 -2
- package/sparkdream/rep/v1/tx.d.ts +816 -9
- package/sparkdream/rep/v1/tx.js +2612 -1443
- package/sparkdream/rep/v1/tx.registry.d.ts +85 -1
- package/sparkdream/rep/v1/tx.registry.js +127 -1
- package/sparkdream/rep/v1/tx.rpc.msg.d.ts +20 -1
- package/sparkdream/rep/v1/tx.rpc.msg.js +42 -0
- package/sparkdream/rpc.query.d.ts +7 -2
- package/tendermint/bundle.d.ts +844 -844
- package/tendermint/bundle.js +18 -18
|
@@ -376,23 +376,310 @@ export interface Params {
|
|
|
376
376
|
*/
|
|
377
377
|
proposedProjectExpiryBlocks: bigint;
|
|
378
378
|
/**
|
|
379
|
-
* Fraction of the initiative budget locked as a DREAM bond when
|
|
380
|
-
*
|
|
381
|
-
*
|
|
382
|
-
*
|
|
379
|
+
* Fraction of the initiative budget locked as a DREAM bond when an
|
|
380
|
+
* initiative is self-assigned on a budget-backed project. Bond is returned
|
|
381
|
+
* on completion or abandonment and burned when a challenge is upheld.
|
|
382
|
+
* Range [0, 1]; 0 disables.
|
|
383
383
|
*/
|
|
384
384
|
selfAssignedBondRate: string;
|
|
385
385
|
/**
|
|
386
386
|
* External-conviction ratio applied instead of external_conviction_ratio when
|
|
387
|
-
* the
|
|
388
|
-
*
|
|
387
|
+
* the initiative is self-assigned. Must be >= external_conviction_ratio and
|
|
388
|
+
* <= 1. Default 1.0: the community alone vouches for self-assigned work.
|
|
389
389
|
*/
|
|
390
390
|
selfAssignedExternalConvictionRatio: string;
|
|
391
391
|
/**
|
|
392
|
-
* Multiplier applied to the challenge window for
|
|
393
|
-
*
|
|
392
|
+
* Multiplier applied to the challenge window for self-assigned initiatives.
|
|
393
|
+
* Must be >= 1. Default 2.
|
|
394
394
|
*/
|
|
395
395
|
selfAssignedChallengeMultiplier: bigint;
|
|
396
|
+
/**
|
|
397
|
+
* Bond rate applied instead of self_assigned_bond_rate when the initiative
|
|
398
|
+
* is self-assigned under a permissionless project. Higher because the two
|
|
399
|
+
* cases expose the commons differently: a budget-backed initiative MOVES
|
|
400
|
+
* DREAM that governance already approved, while a permissionless one MINTS
|
|
401
|
+
* DREAM nobody approved and dilutes every holder. Permissionless
|
|
402
|
+
* self-assignment used to be exempt from the bond entirely, which disabled
|
|
403
|
+
* the main economic deterrent exactly where no counterparty exists.
|
|
404
|
+
* Range [0, 1]; 0 disables. Default 0.25.
|
|
405
|
+
*/
|
|
406
|
+
permissionlessSelfAssignedBondRate: string;
|
|
407
|
+
/**
|
|
408
|
+
* Reputation deducted, per tag of the disputed initiative, from a juror who
|
|
409
|
+
* accepted a summons and then let it lapse. Accepting is voluntary and
|
|
410
|
+
* declining is free and immediate, so an abandoned seat is a broken
|
|
411
|
+
* commitment rather than an accident of the draw.
|
|
412
|
+
*
|
|
413
|
+
* Charged in reputation because that is what qualifies a juror: enough
|
|
414
|
+
* abandoned seats and they fall below min_juror_reputation and stop being
|
|
415
|
+
* drawn for that tag at all. Must be non-negative; 0 disables. Default 10.
|
|
416
|
+
*/
|
|
417
|
+
abandonedJurySeatPenalty: string;
|
|
418
|
+
/**
|
|
419
|
+
* Fraction of the disputed initiative's budget paid out to its jury, split
|
|
420
|
+
* evenly across the seats. Juror pay was a flat StandardComplexityBudget
|
|
421
|
+
* regardless of what was in dispute, so a challenge over a 100 DREAM
|
|
422
|
+
* APPRENTICE initiative minted 750 DREAM in juror fees to settle it — more
|
|
423
|
+
* than the work was worth. Range [0, 1]. Default 0.25.
|
|
424
|
+
*/
|
|
425
|
+
jurorRewardRate: string;
|
|
426
|
+
/**
|
|
427
|
+
* Fraction of an initiative's review period a juror has to answer a summons
|
|
428
|
+
* before the seat is swept and redrawn.
|
|
429
|
+
*
|
|
430
|
+
* A ratio rather than a block count because the review period varies by two
|
|
431
|
+
* orders of magnitude across networks: the previous fixed 1200-block (~2h)
|
|
432
|
+
* window was 1.2% of mainnet's ~7-day review but 133% of devnet's, putting
|
|
433
|
+
* the acceptance deadline *after* the vote deadline there and making the
|
|
434
|
+
* sweep unreachable. It also contradicted the reason no-shows go unpunished
|
|
435
|
+
* — that a member cannot be expected to watch the chain for an event that
|
|
436
|
+
* reaches them about once a year — by then withdrawing the seat if they did
|
|
437
|
+
* not answer within two hours.
|
|
438
|
+
*
|
|
439
|
+
* Sized for how long it takes someone to read a notification, not to react
|
|
440
|
+
* to a block. Range (0, 1). Default 0.25 — about 42 hours on mainnet.
|
|
441
|
+
*
|
|
442
|
+
* Operational alongside the other juror knobs: leaving juror *pay* committee
|
|
443
|
+
* tunable while juror *timing* needed a governance vote was an artifact of
|
|
444
|
+
* build order, not a decision.
|
|
445
|
+
*/
|
|
446
|
+
juryAcceptanceWindowRatio: string;
|
|
447
|
+
/**
|
|
448
|
+
* Floor on a single juror's pay, in micro-DREAM.
|
|
449
|
+
*
|
|
450
|
+
* juror_reward_rate scales pay against the disputed initiative's budget, but
|
|
451
|
+
* content challenges and moderation appeals have no initiative budget to
|
|
452
|
+
* scale against — for those this floor *is* the whole rate, which is why it
|
|
453
|
+
* cannot stay a compile-time constant. Default 5 DREAM.
|
|
454
|
+
*/
|
|
455
|
+
minJurorReward: string;
|
|
456
|
+
/**
|
|
457
|
+
* Floor on the responsiveness multiplier applied to a juror's selection
|
|
458
|
+
* weight. A juror who never answers is drawn less often, never not at all —
|
|
459
|
+
* a zero-weight address could never earn its way back, since it would stop
|
|
460
|
+
* being drawn and so could never demonstrate otherwise.
|
|
461
|
+
*
|
|
462
|
+
* Chosen for shape rather than fitted to anything, and meant to be revisited
|
|
463
|
+
* against observed response rates. Range (0,1]. Default 0.1.
|
|
464
|
+
*/
|
|
465
|
+
minJurorSelectionWeight: string;
|
|
466
|
+
/**
|
|
467
|
+
* Seatings a juror must have before the responsiveness weight applies at all.
|
|
468
|
+
* Below this there is no meaningful record and they are drawn at full weight.
|
|
469
|
+
* Like the floor above, a guess awaiting real data. Default 3.
|
|
470
|
+
*/
|
|
471
|
+
minJurySeatingsForWeighting: bigint;
|
|
472
|
+
/**
|
|
473
|
+
* Conviction-weighted completion bonus, as a fraction of the initiative
|
|
474
|
+
* budget, paid to external stakers on completion.
|
|
475
|
+
*
|
|
476
|
+
* Was a hardcoded 1/10 divisor while the project-side equivalent
|
|
477
|
+
* (project_completion_bonus_rate) was already a param — the same economic
|
|
478
|
+
* knob, tunable on one side and fixed on the other. Range [0,1].
|
|
479
|
+
* Default 0.1.
|
|
480
|
+
*/
|
|
481
|
+
initiativeCompletionBonusRate: string;
|
|
482
|
+
/**
|
|
483
|
+
* Replacement rounds the acceptance sweep may run per jury review.
|
|
484
|
+
*
|
|
485
|
+
* Coupled to jury_acceptance_window_ratio and validated against it: each round
|
|
486
|
+
* costs one acceptance window out of the review period, so widening the window
|
|
487
|
+
* without lowering this leaves replacement jurors no time to read the work.
|
|
488
|
+
* Both live in the same scope so the pair always moves under one authority.
|
|
489
|
+
* Default 1.
|
|
490
|
+
*/
|
|
491
|
+
maxJuryRedraws: number;
|
|
492
|
+
/**
|
|
493
|
+
* Fraction of an initiative's budget a reviewer commits as bond when filing a
|
|
494
|
+
* verdict on it, and the amount slashed if a jury overturns that verdict.
|
|
495
|
+
*
|
|
496
|
+
* Scaled rather than flat so liability tracks what the review could mint — a
|
|
497
|
+
* wrong approval on an EPIC initiative releases up to 10,000 DREAM, and the
|
|
498
|
+
* same risk should not attach to a 100 DREAM one. It is also self-limiting:
|
|
499
|
+
* a reviewer can only hold as many open verdicts as their free bond covers.
|
|
500
|
+
* Range (0,1]. Default 0.1.
|
|
501
|
+
*/
|
|
502
|
+
reviewerBondReserveRate: string;
|
|
503
|
+
/**
|
|
504
|
+
* Fraction of an initiative's budget paid to the reviewers who filed a
|
|
505
|
+
* verdict on the round that resolved it, scaled by the tier's
|
|
506
|
+
* reward_multiplier and split evenly across those reviewers.
|
|
507
|
+
*
|
|
508
|
+
* Paid per verdict filed, never per approval — if approving paid and
|
|
509
|
+
* rejecting did not, the role would rebuild "paid to say yes" one layer down.
|
|
510
|
+
* Paid when the initiative resolves, so an unacted-on review costs nothing and
|
|
511
|
+
* filing verdicts earns nothing until something turns on them. Range [0,1].
|
|
512
|
+
* Default 0.05.
|
|
513
|
+
*/
|
|
514
|
+
reviewFeeRate: string;
|
|
515
|
+
/**
|
|
516
|
+
* Review rounds an initiative may go through before a rejection becomes
|
|
517
|
+
* terminal. A rejection returns the work to ASSIGNED so the assignee can fix
|
|
518
|
+
* and resubmit, which is the right remedy for "not done" — but unbounded it
|
|
519
|
+
* lets a bad-faith assignee burn reviewer effort indefinitely. Default 3.
|
|
520
|
+
*/
|
|
521
|
+
maxReviewRounds: number;
|
|
522
|
+
/**
|
|
523
|
+
* SPARK reward pool for initiative reviewers, mirroring the sentinel pool but
|
|
524
|
+
* held and tuned separately.
|
|
525
|
+
*
|
|
526
|
+
* The DREAM review fee pays for the act of reviewing; this pays for reviewing
|
|
527
|
+
* *well*, gated on windowed accuracy the same way sentinel pay is. Separate
|
|
528
|
+
* knobs because the liability differs by orders of magnitude: a wrong
|
|
529
|
+
* approval mints DREAM that cannot be clawed back, where a wrong hide costs a
|
|
530
|
+
* post some visibility.
|
|
531
|
+
*
|
|
532
|
+
* The pool is an ordinary bank sub-address, so a council policy funds it with
|
|
533
|
+
* a plain send.
|
|
534
|
+
*/
|
|
535
|
+
maxReviewerRewardPool: string;
|
|
536
|
+
/**
|
|
537
|
+
* Fraction of overflow burned per epoch. Default 0.5.
|
|
538
|
+
*/
|
|
539
|
+
reviewerRewardPoolOverflowBurnRatio: string;
|
|
540
|
+
/**
|
|
541
|
+
* Distribution cadence. Default 14400 (~1 day).
|
|
542
|
+
*/
|
|
543
|
+
reviewerRewardEpochBlocks: bigint;
|
|
544
|
+
/**
|
|
545
|
+
* Minimum windowed accuracy to earn a share. Default 0.70.
|
|
546
|
+
*/
|
|
547
|
+
minReviewerAccuracy: string;
|
|
548
|
+
/**
|
|
549
|
+
* Epochs of history the accuracy ring scores. Default 6.
|
|
550
|
+
*/
|
|
551
|
+
reviewerAccuracyWindowEpochs: bigint;
|
|
552
|
+
/**
|
|
553
|
+
* Ceiling on the uspark x/rep may draw from the community pool per UTC day to
|
|
554
|
+
* fund its bonded-role reward pools.
|
|
555
|
+
*
|
|
556
|
+
* One capped claim on the community pool for the whole module, divided
|
|
557
|
+
* internally by headroom — adding a fourth bonded role must not mean adding a
|
|
558
|
+
* fourth funding line. The skim tops pools up toward their own caps and stops
|
|
559
|
+
* there, so an idle role costs the community pool nothing.
|
|
560
|
+
*
|
|
561
|
+
* Funding is automatic rather than by council transfer because pay that
|
|
562
|
+
* depends on somebody remembering to send it arrives unpredictably, and
|
|
563
|
+
* unpredictable pay does not hold a roster.
|
|
564
|
+
*
|
|
565
|
+
* Expressed as a SHARE OF INFLATION rather than an absolute daily amount:
|
|
566
|
+
*
|
|
567
|
+
* daily_allowance = annual_provisions * community_tax * share / 365
|
|
568
|
+
*
|
|
569
|
+
* A fixed nominal draw takes its largest share of the community pool exactly
|
|
570
|
+
* when the pool is poorest — inflation floats 2–5%, so a constant amount is
|
|
571
|
+
* half the pool's income at the top of that range and more than all of it at
|
|
572
|
+
* the bottom, and x/rep skims before x/split. A share is counter-cyclical:
|
|
573
|
+
* it takes less when there is less, so the councils' remainder is structural
|
|
574
|
+
* rather than whatever happens to be left over. It also tracks supply growth
|
|
575
|
+
* without periodic retuning.
|
|
576
|
+
*
|
|
577
|
+
* The base is inflation, NOT the community pool balance. A share of the
|
|
578
|
+
* balance would let x/rep raid the 95M SPARK genesis allocation that x/split
|
|
579
|
+
* exists to hand to the councils, and would take a cut of every direct
|
|
580
|
+
* fund-community-pool deposit. annual_provisions is also set by x/mint, whose
|
|
581
|
+
* authority is the burn address — so this rate is anchored to a number no
|
|
582
|
+
* committee or proposal can move.
|
|
583
|
+
*
|
|
584
|
+
* Default 0.5 (half the community pool's inflation income); zero disables the
|
|
585
|
+
* skim, leaving the pools to forfeited bonds and direct sends.
|
|
586
|
+
*/
|
|
587
|
+
roleRewardInflationShare: string;
|
|
588
|
+
/**
|
|
589
|
+
* Curator SPARK pool. Same shape and cadence as the sentinel pool above and
|
|
590
|
+
* sized to match it: curating a collection rating and hiding a post are
|
|
591
|
+
* comparable judgment calls with comparable liability. Kept as separate
|
|
592
|
+
* params (and a separate pool) anyway, so neither role can draw on the
|
|
593
|
+
* other's funds or be retuned by the other's bar.
|
|
594
|
+
*/
|
|
595
|
+
maxCuratorRewardPool: string;
|
|
596
|
+
curatorRewardPoolOverflowBurnRatio: string;
|
|
597
|
+
curatorRewardEpochBlocks: bigint;
|
|
598
|
+
minCuratorAccuracy: string;
|
|
599
|
+
curatorAccuracyWindowEpochs: bigint;
|
|
600
|
+
/**
|
|
601
|
+
* Budget above which an initiative cannot complete without at least one
|
|
602
|
+
* reviewer verdict, regardless of the parent project's verification policy.
|
|
603
|
+
*
|
|
604
|
+
* The gate keys on how much DREAM the completion CREATES, not on whether the
|
|
605
|
+
* project is budget-backed. Permissionless initiatives mint against a
|
|
606
|
+
* self-declared budget with no treasury behind it, capped only by tier — so
|
|
607
|
+
* the funded/unfunded axis gets the risk ordering backwards. Mint size is the
|
|
608
|
+
* number that actually matters and it exists on both paths.
|
|
609
|
+
*
|
|
610
|
+
* Default 100 DREAM, the APPRENTICE ceiling: apprentice work stays exempt
|
|
611
|
+
* because it is small and it is the on-ramp where reviewer scarcity would
|
|
612
|
+
* hurt newcomers most, while every permissionless STANDARD initiative — the
|
|
613
|
+
* whole farming vector — is gated.
|
|
614
|
+
*
|
|
615
|
+
* Composes with the per-project policy as a MAXIMUM, never a replacement: a
|
|
616
|
+
* project may demand more verifiers than this, never fewer. Zero disables the
|
|
617
|
+
* chain-wide gate and leaves review entirely to project policy.
|
|
618
|
+
*/
|
|
619
|
+
reviewRequiredAboveBudget: string;
|
|
620
|
+
/**
|
|
621
|
+
* Blocks a review bounty must sit before its funder may reclaim it. Stops a
|
|
622
|
+
* funder advertising a bounty and withdrawing it in the same breath, which
|
|
623
|
+
* would let anyone grief the reviewer roster at zero cost. Reclaim is barred
|
|
624
|
+
* outright once any verdict is filed, regardless of this delay.
|
|
625
|
+
*/
|
|
626
|
+
reviewBountyReclaimDelay: bigint;
|
|
627
|
+
/**
|
|
628
|
+
* Minimum review bounty a PERMISSIONLESS initiative must escrow at creation,
|
|
629
|
+
* as a fraction of its budget, paid in existing DREAM.
|
|
630
|
+
*
|
|
631
|
+
* Permissionless initiatives mint against a self-declared budget with no
|
|
632
|
+
* treasury behind them, and their review fee is minted too — so reviewers of
|
|
633
|
+
* permissionless work are currently paid purely by dilution, the very thing
|
|
634
|
+
* the funded path's budget-netting exists to avoid. A creator-funded bounty
|
|
635
|
+
* prices that reviewer attention onto whoever consumes it, is non-inflationary
|
|
636
|
+
* because it moves existing DREAM, and scales the spam brake with the amount
|
|
637
|
+
* being minted instead of a flat creation fee.
|
|
638
|
+
*
|
|
639
|
+
* Charged ONLY when the budget exceeds review_required_above_budget: the
|
|
640
|
+
* bounty funds mandatory review, so below the gate it would take DREAM for a
|
|
641
|
+
* service that is never delivered. That keeps apprentice work — the on-ramp,
|
|
642
|
+
* where members arrive holding zero DREAM — free of it. Zero disables the
|
|
643
|
+
* requirement entirely.
|
|
644
|
+
*/
|
|
645
|
+
permissionlessMinReviewBountyRate: string;
|
|
646
|
+
/**
|
|
647
|
+
* --- Federation verifier pay (SPARK pool + DREAM stipend) ---
|
|
648
|
+
*
|
|
649
|
+
* The verifier's whole reward distribution lives here rather than in
|
|
650
|
+
* x/federation, for the same reason the curator's lives here rather than in
|
|
651
|
+
* x/collect: the accuracy it scores comes from the shared RoleActivity
|
|
652
|
+
* record x/rep owns, and the epoch it resets is the epoch the accuracy ring
|
|
653
|
+
* is stamped in. Two modules distributing on two independently-editable
|
|
654
|
+
* cadences would both reset those per-epoch counters and neither would read
|
|
655
|
+
* a coherent window. x/federation keeps the verification mechanics -- bond,
|
|
656
|
+
* slash, challenge windows, cooldown base -- and reports actions here.
|
|
657
|
+
*
|
|
658
|
+
* The verifier is the one bonded role whose work has an OFF-chain cost:
|
|
659
|
+
* fetching the peer's content and hashing it, then paying SPARK gas to
|
|
660
|
+
* submit. Paying only in DREAM made it the single role where doing the job
|
|
661
|
+
* drains the holder's SPARK and returns a token they cannot spend on gas.
|
|
662
|
+
*/
|
|
663
|
+
maxVerifierRewardPool: string;
|
|
664
|
+
verifierRewardPoolOverflowBurnRatio: string;
|
|
665
|
+
verifierRewardEpochBlocks: bigint;
|
|
666
|
+
minVerifierAccuracy: string;
|
|
667
|
+
verifierAccuracyWindowEpochs: bigint;
|
|
668
|
+
/**
|
|
669
|
+
* Verified items required in an epoch to earn anything that epoch. This is
|
|
670
|
+
* the ONLY place volume enters verifier pay -- as a floor, never as a
|
|
671
|
+
* weight. See the score formula in x/rep/keeper/verifier_reward_distribution.go
|
|
672
|
+
* for why weighting by verified_count is the wrong curve for this role.
|
|
673
|
+
*/
|
|
674
|
+
minEpochVerifications: number;
|
|
675
|
+
/**
|
|
676
|
+
* Flat DREAM minted per eligible verifier per epoch, scaled down pro-rata
|
|
677
|
+
* when the roster would push the epoch's total past the mint cap. Auto-bonds
|
|
678
|
+
* while the verifier is in RECOVERY so a slashed verifier can rebuild their
|
|
679
|
+
* bond by working rather than by fronting DREAM.
|
|
680
|
+
*/
|
|
681
|
+
verifierDreamReward: string;
|
|
682
|
+
maxVerifierDreamMintPerEpoch: string;
|
|
396
683
|
}
|
|
397
684
|
export interface ParamsProtoMsg {
|
|
398
685
|
typeUrl: "/sparkdream.rep.v1.Params";
|
|
@@ -684,23 +971,310 @@ export interface ParamsAmino {
|
|
|
684
971
|
*/
|
|
685
972
|
proposed_project_expiry_blocks?: string;
|
|
686
973
|
/**
|
|
687
|
-
* Fraction of the initiative budget locked as a DREAM bond when
|
|
688
|
-
*
|
|
689
|
-
*
|
|
690
|
-
*
|
|
974
|
+
* Fraction of the initiative budget locked as a DREAM bond when an
|
|
975
|
+
* initiative is self-assigned on a budget-backed project. Bond is returned
|
|
976
|
+
* on completion or abandonment and burned when a challenge is upheld.
|
|
977
|
+
* Range [0, 1]; 0 disables.
|
|
691
978
|
*/
|
|
692
979
|
self_assigned_bond_rate?: string;
|
|
693
980
|
/**
|
|
694
981
|
* External-conviction ratio applied instead of external_conviction_ratio when
|
|
695
|
-
* the
|
|
696
|
-
*
|
|
982
|
+
* the initiative is self-assigned. Must be >= external_conviction_ratio and
|
|
983
|
+
* <= 1. Default 1.0: the community alone vouches for self-assigned work.
|
|
697
984
|
*/
|
|
698
985
|
self_assigned_external_conviction_ratio?: string;
|
|
699
986
|
/**
|
|
700
|
-
* Multiplier applied to the challenge window for
|
|
701
|
-
*
|
|
987
|
+
* Multiplier applied to the challenge window for self-assigned initiatives.
|
|
988
|
+
* Must be >= 1. Default 2.
|
|
702
989
|
*/
|
|
703
990
|
self_assigned_challenge_multiplier?: string;
|
|
991
|
+
/**
|
|
992
|
+
* Bond rate applied instead of self_assigned_bond_rate when the initiative
|
|
993
|
+
* is self-assigned under a permissionless project. Higher because the two
|
|
994
|
+
* cases expose the commons differently: a budget-backed initiative MOVES
|
|
995
|
+
* DREAM that governance already approved, while a permissionless one MINTS
|
|
996
|
+
* DREAM nobody approved and dilutes every holder. Permissionless
|
|
997
|
+
* self-assignment used to be exempt from the bond entirely, which disabled
|
|
998
|
+
* the main economic deterrent exactly where no counterparty exists.
|
|
999
|
+
* Range [0, 1]; 0 disables. Default 0.25.
|
|
1000
|
+
*/
|
|
1001
|
+
permissionless_self_assigned_bond_rate?: string;
|
|
1002
|
+
/**
|
|
1003
|
+
* Reputation deducted, per tag of the disputed initiative, from a juror who
|
|
1004
|
+
* accepted a summons and then let it lapse. Accepting is voluntary and
|
|
1005
|
+
* declining is free and immediate, so an abandoned seat is a broken
|
|
1006
|
+
* commitment rather than an accident of the draw.
|
|
1007
|
+
*
|
|
1008
|
+
* Charged in reputation because that is what qualifies a juror: enough
|
|
1009
|
+
* abandoned seats and they fall below min_juror_reputation and stop being
|
|
1010
|
+
* drawn for that tag at all. Must be non-negative; 0 disables. Default 10.
|
|
1011
|
+
*/
|
|
1012
|
+
abandoned_jury_seat_penalty?: string;
|
|
1013
|
+
/**
|
|
1014
|
+
* Fraction of the disputed initiative's budget paid out to its jury, split
|
|
1015
|
+
* evenly across the seats. Juror pay was a flat StandardComplexityBudget
|
|
1016
|
+
* regardless of what was in dispute, so a challenge over a 100 DREAM
|
|
1017
|
+
* APPRENTICE initiative minted 750 DREAM in juror fees to settle it — more
|
|
1018
|
+
* than the work was worth. Range [0, 1]. Default 0.25.
|
|
1019
|
+
*/
|
|
1020
|
+
juror_reward_rate?: string;
|
|
1021
|
+
/**
|
|
1022
|
+
* Fraction of an initiative's review period a juror has to answer a summons
|
|
1023
|
+
* before the seat is swept and redrawn.
|
|
1024
|
+
*
|
|
1025
|
+
* A ratio rather than a block count because the review period varies by two
|
|
1026
|
+
* orders of magnitude across networks: the previous fixed 1200-block (~2h)
|
|
1027
|
+
* window was 1.2% of mainnet's ~7-day review but 133% of devnet's, putting
|
|
1028
|
+
* the acceptance deadline *after* the vote deadline there and making the
|
|
1029
|
+
* sweep unreachable. It also contradicted the reason no-shows go unpunished
|
|
1030
|
+
* — that a member cannot be expected to watch the chain for an event that
|
|
1031
|
+
* reaches them about once a year — by then withdrawing the seat if they did
|
|
1032
|
+
* not answer within two hours.
|
|
1033
|
+
*
|
|
1034
|
+
* Sized for how long it takes someone to read a notification, not to react
|
|
1035
|
+
* to a block. Range (0, 1). Default 0.25 — about 42 hours on mainnet.
|
|
1036
|
+
*
|
|
1037
|
+
* Operational alongside the other juror knobs: leaving juror *pay* committee
|
|
1038
|
+
* tunable while juror *timing* needed a governance vote was an artifact of
|
|
1039
|
+
* build order, not a decision.
|
|
1040
|
+
*/
|
|
1041
|
+
jury_acceptance_window_ratio?: string;
|
|
1042
|
+
/**
|
|
1043
|
+
* Floor on a single juror's pay, in micro-DREAM.
|
|
1044
|
+
*
|
|
1045
|
+
* juror_reward_rate scales pay against the disputed initiative's budget, but
|
|
1046
|
+
* content challenges and moderation appeals have no initiative budget to
|
|
1047
|
+
* scale against — for those this floor *is* the whole rate, which is why it
|
|
1048
|
+
* cannot stay a compile-time constant. Default 5 DREAM.
|
|
1049
|
+
*/
|
|
1050
|
+
min_juror_reward?: string;
|
|
1051
|
+
/**
|
|
1052
|
+
* Floor on the responsiveness multiplier applied to a juror's selection
|
|
1053
|
+
* weight. A juror who never answers is drawn less often, never not at all —
|
|
1054
|
+
* a zero-weight address could never earn its way back, since it would stop
|
|
1055
|
+
* being drawn and so could never demonstrate otherwise.
|
|
1056
|
+
*
|
|
1057
|
+
* Chosen for shape rather than fitted to anything, and meant to be revisited
|
|
1058
|
+
* against observed response rates. Range (0,1]. Default 0.1.
|
|
1059
|
+
*/
|
|
1060
|
+
min_juror_selection_weight?: string;
|
|
1061
|
+
/**
|
|
1062
|
+
* Seatings a juror must have before the responsiveness weight applies at all.
|
|
1063
|
+
* Below this there is no meaningful record and they are drawn at full weight.
|
|
1064
|
+
* Like the floor above, a guess awaiting real data. Default 3.
|
|
1065
|
+
*/
|
|
1066
|
+
min_jury_seatings_for_weighting?: string;
|
|
1067
|
+
/**
|
|
1068
|
+
* Conviction-weighted completion bonus, as a fraction of the initiative
|
|
1069
|
+
* budget, paid to external stakers on completion.
|
|
1070
|
+
*
|
|
1071
|
+
* Was a hardcoded 1/10 divisor while the project-side equivalent
|
|
1072
|
+
* (project_completion_bonus_rate) was already a param — the same economic
|
|
1073
|
+
* knob, tunable on one side and fixed on the other. Range [0,1].
|
|
1074
|
+
* Default 0.1.
|
|
1075
|
+
*/
|
|
1076
|
+
initiative_completion_bonus_rate?: string;
|
|
1077
|
+
/**
|
|
1078
|
+
* Replacement rounds the acceptance sweep may run per jury review.
|
|
1079
|
+
*
|
|
1080
|
+
* Coupled to jury_acceptance_window_ratio and validated against it: each round
|
|
1081
|
+
* costs one acceptance window out of the review period, so widening the window
|
|
1082
|
+
* without lowering this leaves replacement jurors no time to read the work.
|
|
1083
|
+
* Both live in the same scope so the pair always moves under one authority.
|
|
1084
|
+
* Default 1.
|
|
1085
|
+
*/
|
|
1086
|
+
max_jury_redraws?: number;
|
|
1087
|
+
/**
|
|
1088
|
+
* Fraction of an initiative's budget a reviewer commits as bond when filing a
|
|
1089
|
+
* verdict on it, and the amount slashed if a jury overturns that verdict.
|
|
1090
|
+
*
|
|
1091
|
+
* Scaled rather than flat so liability tracks what the review could mint — a
|
|
1092
|
+
* wrong approval on an EPIC initiative releases up to 10,000 DREAM, and the
|
|
1093
|
+
* same risk should not attach to a 100 DREAM one. It is also self-limiting:
|
|
1094
|
+
* a reviewer can only hold as many open verdicts as their free bond covers.
|
|
1095
|
+
* Range (0,1]. Default 0.1.
|
|
1096
|
+
*/
|
|
1097
|
+
reviewer_bond_reserve_rate?: string;
|
|
1098
|
+
/**
|
|
1099
|
+
* Fraction of an initiative's budget paid to the reviewers who filed a
|
|
1100
|
+
* verdict on the round that resolved it, scaled by the tier's
|
|
1101
|
+
* reward_multiplier and split evenly across those reviewers.
|
|
1102
|
+
*
|
|
1103
|
+
* Paid per verdict filed, never per approval — if approving paid and
|
|
1104
|
+
* rejecting did not, the role would rebuild "paid to say yes" one layer down.
|
|
1105
|
+
* Paid when the initiative resolves, so an unacted-on review costs nothing and
|
|
1106
|
+
* filing verdicts earns nothing until something turns on them. Range [0,1].
|
|
1107
|
+
* Default 0.05.
|
|
1108
|
+
*/
|
|
1109
|
+
review_fee_rate?: string;
|
|
1110
|
+
/**
|
|
1111
|
+
* Review rounds an initiative may go through before a rejection becomes
|
|
1112
|
+
* terminal. A rejection returns the work to ASSIGNED so the assignee can fix
|
|
1113
|
+
* and resubmit, which is the right remedy for "not done" — but unbounded it
|
|
1114
|
+
* lets a bad-faith assignee burn reviewer effort indefinitely. Default 3.
|
|
1115
|
+
*/
|
|
1116
|
+
max_review_rounds?: number;
|
|
1117
|
+
/**
|
|
1118
|
+
* SPARK reward pool for initiative reviewers, mirroring the sentinel pool but
|
|
1119
|
+
* held and tuned separately.
|
|
1120
|
+
*
|
|
1121
|
+
* The DREAM review fee pays for the act of reviewing; this pays for reviewing
|
|
1122
|
+
* *well*, gated on windowed accuracy the same way sentinel pay is. Separate
|
|
1123
|
+
* knobs because the liability differs by orders of magnitude: a wrong
|
|
1124
|
+
* approval mints DREAM that cannot be clawed back, where a wrong hide costs a
|
|
1125
|
+
* post some visibility.
|
|
1126
|
+
*
|
|
1127
|
+
* The pool is an ordinary bank sub-address, so a council policy funds it with
|
|
1128
|
+
* a plain send.
|
|
1129
|
+
*/
|
|
1130
|
+
max_reviewer_reward_pool?: string;
|
|
1131
|
+
/**
|
|
1132
|
+
* Fraction of overflow burned per epoch. Default 0.5.
|
|
1133
|
+
*/
|
|
1134
|
+
reviewer_reward_pool_overflow_burn_ratio?: string;
|
|
1135
|
+
/**
|
|
1136
|
+
* Distribution cadence. Default 14400 (~1 day).
|
|
1137
|
+
*/
|
|
1138
|
+
reviewer_reward_epoch_blocks?: string;
|
|
1139
|
+
/**
|
|
1140
|
+
* Minimum windowed accuracy to earn a share. Default 0.70.
|
|
1141
|
+
*/
|
|
1142
|
+
min_reviewer_accuracy?: string;
|
|
1143
|
+
/**
|
|
1144
|
+
* Epochs of history the accuracy ring scores. Default 6.
|
|
1145
|
+
*/
|
|
1146
|
+
reviewer_accuracy_window_epochs?: string;
|
|
1147
|
+
/**
|
|
1148
|
+
* Ceiling on the uspark x/rep may draw from the community pool per UTC day to
|
|
1149
|
+
* fund its bonded-role reward pools.
|
|
1150
|
+
*
|
|
1151
|
+
* One capped claim on the community pool for the whole module, divided
|
|
1152
|
+
* internally by headroom — adding a fourth bonded role must not mean adding a
|
|
1153
|
+
* fourth funding line. The skim tops pools up toward their own caps and stops
|
|
1154
|
+
* there, so an idle role costs the community pool nothing.
|
|
1155
|
+
*
|
|
1156
|
+
* Funding is automatic rather than by council transfer because pay that
|
|
1157
|
+
* depends on somebody remembering to send it arrives unpredictably, and
|
|
1158
|
+
* unpredictable pay does not hold a roster.
|
|
1159
|
+
*
|
|
1160
|
+
* Expressed as a SHARE OF INFLATION rather than an absolute daily amount:
|
|
1161
|
+
*
|
|
1162
|
+
* daily_allowance = annual_provisions * community_tax * share / 365
|
|
1163
|
+
*
|
|
1164
|
+
* A fixed nominal draw takes its largest share of the community pool exactly
|
|
1165
|
+
* when the pool is poorest — inflation floats 2–5%, so a constant amount is
|
|
1166
|
+
* half the pool's income at the top of that range and more than all of it at
|
|
1167
|
+
* the bottom, and x/rep skims before x/split. A share is counter-cyclical:
|
|
1168
|
+
* it takes less when there is less, so the councils' remainder is structural
|
|
1169
|
+
* rather than whatever happens to be left over. It also tracks supply growth
|
|
1170
|
+
* without periodic retuning.
|
|
1171
|
+
*
|
|
1172
|
+
* The base is inflation, NOT the community pool balance. A share of the
|
|
1173
|
+
* balance would let x/rep raid the 95M SPARK genesis allocation that x/split
|
|
1174
|
+
* exists to hand to the councils, and would take a cut of every direct
|
|
1175
|
+
* fund-community-pool deposit. annual_provisions is also set by x/mint, whose
|
|
1176
|
+
* authority is the burn address — so this rate is anchored to a number no
|
|
1177
|
+
* committee or proposal can move.
|
|
1178
|
+
*
|
|
1179
|
+
* Default 0.5 (half the community pool's inflation income); zero disables the
|
|
1180
|
+
* skim, leaving the pools to forfeited bonds and direct sends.
|
|
1181
|
+
*/
|
|
1182
|
+
role_reward_inflation_share?: string;
|
|
1183
|
+
/**
|
|
1184
|
+
* Curator SPARK pool. Same shape and cadence as the sentinel pool above and
|
|
1185
|
+
* sized to match it: curating a collection rating and hiding a post are
|
|
1186
|
+
* comparable judgment calls with comparable liability. Kept as separate
|
|
1187
|
+
* params (and a separate pool) anyway, so neither role can draw on the
|
|
1188
|
+
* other's funds or be retuned by the other's bar.
|
|
1189
|
+
*/
|
|
1190
|
+
max_curator_reward_pool?: string;
|
|
1191
|
+
curator_reward_pool_overflow_burn_ratio?: string;
|
|
1192
|
+
curator_reward_epoch_blocks?: string;
|
|
1193
|
+
min_curator_accuracy?: string;
|
|
1194
|
+
curator_accuracy_window_epochs?: string;
|
|
1195
|
+
/**
|
|
1196
|
+
* Budget above which an initiative cannot complete without at least one
|
|
1197
|
+
* reviewer verdict, regardless of the parent project's verification policy.
|
|
1198
|
+
*
|
|
1199
|
+
* The gate keys on how much DREAM the completion CREATES, not on whether the
|
|
1200
|
+
* project is budget-backed. Permissionless initiatives mint against a
|
|
1201
|
+
* self-declared budget with no treasury behind it, capped only by tier — so
|
|
1202
|
+
* the funded/unfunded axis gets the risk ordering backwards. Mint size is the
|
|
1203
|
+
* number that actually matters and it exists on both paths.
|
|
1204
|
+
*
|
|
1205
|
+
* Default 100 DREAM, the APPRENTICE ceiling: apprentice work stays exempt
|
|
1206
|
+
* because it is small and it is the on-ramp where reviewer scarcity would
|
|
1207
|
+
* hurt newcomers most, while every permissionless STANDARD initiative — the
|
|
1208
|
+
* whole farming vector — is gated.
|
|
1209
|
+
*
|
|
1210
|
+
* Composes with the per-project policy as a MAXIMUM, never a replacement: a
|
|
1211
|
+
* project may demand more verifiers than this, never fewer. Zero disables the
|
|
1212
|
+
* chain-wide gate and leaves review entirely to project policy.
|
|
1213
|
+
*/
|
|
1214
|
+
review_required_above_budget?: string;
|
|
1215
|
+
/**
|
|
1216
|
+
* Blocks a review bounty must sit before its funder may reclaim it. Stops a
|
|
1217
|
+
* funder advertising a bounty and withdrawing it in the same breath, which
|
|
1218
|
+
* would let anyone grief the reviewer roster at zero cost. Reclaim is barred
|
|
1219
|
+
* outright once any verdict is filed, regardless of this delay.
|
|
1220
|
+
*/
|
|
1221
|
+
review_bounty_reclaim_delay?: string;
|
|
1222
|
+
/**
|
|
1223
|
+
* Minimum review bounty a PERMISSIONLESS initiative must escrow at creation,
|
|
1224
|
+
* as a fraction of its budget, paid in existing DREAM.
|
|
1225
|
+
*
|
|
1226
|
+
* Permissionless initiatives mint against a self-declared budget with no
|
|
1227
|
+
* treasury behind them, and their review fee is minted too — so reviewers of
|
|
1228
|
+
* permissionless work are currently paid purely by dilution, the very thing
|
|
1229
|
+
* the funded path's budget-netting exists to avoid. A creator-funded bounty
|
|
1230
|
+
* prices that reviewer attention onto whoever consumes it, is non-inflationary
|
|
1231
|
+
* because it moves existing DREAM, and scales the spam brake with the amount
|
|
1232
|
+
* being minted instead of a flat creation fee.
|
|
1233
|
+
*
|
|
1234
|
+
* Charged ONLY when the budget exceeds review_required_above_budget: the
|
|
1235
|
+
* bounty funds mandatory review, so below the gate it would take DREAM for a
|
|
1236
|
+
* service that is never delivered. That keeps apprentice work — the on-ramp,
|
|
1237
|
+
* where members arrive holding zero DREAM — free of it. Zero disables the
|
|
1238
|
+
* requirement entirely.
|
|
1239
|
+
*/
|
|
1240
|
+
permissionless_min_review_bounty_rate?: string;
|
|
1241
|
+
/**
|
|
1242
|
+
* --- Federation verifier pay (SPARK pool + DREAM stipend) ---
|
|
1243
|
+
*
|
|
1244
|
+
* The verifier's whole reward distribution lives here rather than in
|
|
1245
|
+
* x/federation, for the same reason the curator's lives here rather than in
|
|
1246
|
+
* x/collect: the accuracy it scores comes from the shared RoleActivity
|
|
1247
|
+
* record x/rep owns, and the epoch it resets is the epoch the accuracy ring
|
|
1248
|
+
* is stamped in. Two modules distributing on two independently-editable
|
|
1249
|
+
* cadences would both reset those per-epoch counters and neither would read
|
|
1250
|
+
* a coherent window. x/federation keeps the verification mechanics -- bond,
|
|
1251
|
+
* slash, challenge windows, cooldown base -- and reports actions here.
|
|
1252
|
+
*
|
|
1253
|
+
* The verifier is the one bonded role whose work has an OFF-chain cost:
|
|
1254
|
+
* fetching the peer's content and hashing it, then paying SPARK gas to
|
|
1255
|
+
* submit. Paying only in DREAM made it the single role where doing the job
|
|
1256
|
+
* drains the holder's SPARK and returns a token they cannot spend on gas.
|
|
1257
|
+
*/
|
|
1258
|
+
max_verifier_reward_pool?: string;
|
|
1259
|
+
verifier_reward_pool_overflow_burn_ratio?: string;
|
|
1260
|
+
verifier_reward_epoch_blocks?: string;
|
|
1261
|
+
min_verifier_accuracy?: string;
|
|
1262
|
+
verifier_accuracy_window_epochs?: string;
|
|
1263
|
+
/**
|
|
1264
|
+
* Verified items required in an epoch to earn anything that epoch. This is
|
|
1265
|
+
* the ONLY place volume enters verifier pay -- as a floor, never as a
|
|
1266
|
+
* weight. See the score formula in x/rep/keeper/verifier_reward_distribution.go
|
|
1267
|
+
* for why weighting by verified_count is the wrong curve for this role.
|
|
1268
|
+
*/
|
|
1269
|
+
min_epoch_verifications?: number;
|
|
1270
|
+
/**
|
|
1271
|
+
* Flat DREAM minted per eligible verifier per epoch, scaled down pro-rata
|
|
1272
|
+
* when the roster would push the epoch's total past the mint cap. Auto-bonds
|
|
1273
|
+
* while the verifier is in RECOVERY so a slashed verifier can rebuild their
|
|
1274
|
+
* bond by working rather than by fronting DREAM.
|
|
1275
|
+
*/
|
|
1276
|
+
verifier_dream_reward?: string;
|
|
1277
|
+
max_verifier_dream_mint_per_epoch?: string;
|
|
704
1278
|
}
|
|
705
1279
|
export interface ParamsAminoMsg {
|
|
706
1280
|
type: "sparkdream/x/rep/Params";
|
|
@@ -901,6 +1475,93 @@ export interface RepOperationalParams {
|
|
|
901
1475
|
maxProjectRequestedBudget: string;
|
|
902
1476
|
maxProjectRequestedSpark: string;
|
|
903
1477
|
proposedProjectExpiryBlocks: bigint;
|
|
1478
|
+
/**
|
|
1479
|
+
* Reputation deducted from a juror who accepted a summons and abandoned it.
|
|
1480
|
+
* Mirrors abandoned_jury_seat_penalty in Params.
|
|
1481
|
+
*/
|
|
1482
|
+
abandonedJurySeatPenalty: string;
|
|
1483
|
+
/**
|
|
1484
|
+
* Fraction of the disputed initiative's budget paid out to its jury, split
|
|
1485
|
+
* evenly across the seats. Juror pay was a flat StandardComplexityBudget
|
|
1486
|
+
* regardless of what was in dispute, so a challenge over a 100 DREAM
|
|
1487
|
+
* APPRENTICE initiative minted 750 DREAM in juror fees to settle it — more
|
|
1488
|
+
* than the work was worth. Range [0, 1]. Default 0.25.
|
|
1489
|
+
*/
|
|
1490
|
+
jurorRewardRate: string;
|
|
1491
|
+
/**
|
|
1492
|
+
* Mirrors min_juror_reward in Params.
|
|
1493
|
+
*/
|
|
1494
|
+
minJurorReward: string;
|
|
1495
|
+
/**
|
|
1496
|
+
* Mirrors min_juror_selection_weight in Params.
|
|
1497
|
+
*/
|
|
1498
|
+
minJurorSelectionWeight: string;
|
|
1499
|
+
/**
|
|
1500
|
+
* Mirrors min_jury_seatings_for_weighting in Params.
|
|
1501
|
+
*/
|
|
1502
|
+
minJurySeatingsForWeighting: bigint;
|
|
1503
|
+
/**
|
|
1504
|
+
* Mirrors initiative_completion_bonus_rate in Params.
|
|
1505
|
+
*/
|
|
1506
|
+
initiativeCompletionBonusRate: string;
|
|
1507
|
+
/**
|
|
1508
|
+
* Mirrors jury_acceptance_window_ratio in Params. Validated against
|
|
1509
|
+
* max_jury_redraws below — the pair must fit inside the review period.
|
|
1510
|
+
*/
|
|
1511
|
+
juryAcceptanceWindowRatio: string;
|
|
1512
|
+
/**
|
|
1513
|
+
* Mirrors max_jury_redraws in Params.
|
|
1514
|
+
*/
|
|
1515
|
+
maxJuryRedraws: number;
|
|
1516
|
+
/**
|
|
1517
|
+
* Mirrors reviewer_bond_reserve_rate in Params.
|
|
1518
|
+
*/
|
|
1519
|
+
reviewerBondReserveRate: string;
|
|
1520
|
+
/**
|
|
1521
|
+
* Mirrors review_fee_rate in Params.
|
|
1522
|
+
*/
|
|
1523
|
+
reviewFeeRate: string;
|
|
1524
|
+
/**
|
|
1525
|
+
* Mirrors max_review_rounds in Params.
|
|
1526
|
+
*/
|
|
1527
|
+
maxReviewRounds: number;
|
|
1528
|
+
/**
|
|
1529
|
+
* Mirrors the reviewer reward pool knobs in Params.
|
|
1530
|
+
*/
|
|
1531
|
+
maxReviewerRewardPool: string;
|
|
1532
|
+
reviewerRewardPoolOverflowBurnRatio: string;
|
|
1533
|
+
reviewerRewardEpochBlocks: bigint;
|
|
1534
|
+
minReviewerAccuracy: string;
|
|
1535
|
+
reviewerAccuracyWindowEpochs: bigint;
|
|
1536
|
+
/**
|
|
1537
|
+
* Mirrors role_reward_inflation_share in Params.
|
|
1538
|
+
*/
|
|
1539
|
+
roleRewardInflationShare: string;
|
|
1540
|
+
/**
|
|
1541
|
+
* Mirrors the curator SPARK pool params in Params.
|
|
1542
|
+
*/
|
|
1543
|
+
maxCuratorRewardPool: string;
|
|
1544
|
+
curatorRewardPoolOverflowBurnRatio: string;
|
|
1545
|
+
curatorRewardEpochBlocks: bigint;
|
|
1546
|
+
minCuratorAccuracy: string;
|
|
1547
|
+
curatorAccuracyWindowEpochs: bigint;
|
|
1548
|
+
/**
|
|
1549
|
+
* Mirrors review_required_above_budget in Params.
|
|
1550
|
+
*/
|
|
1551
|
+
reviewRequiredAboveBudget: string;
|
|
1552
|
+
reviewBountyReclaimDelay: bigint;
|
|
1553
|
+
permissionlessMinReviewBountyRate: string;
|
|
1554
|
+
/**
|
|
1555
|
+
* Mirrors the federation-verifier pay params in Params.
|
|
1556
|
+
*/
|
|
1557
|
+
maxVerifierRewardPool: string;
|
|
1558
|
+
verifierRewardPoolOverflowBurnRatio: string;
|
|
1559
|
+
verifierRewardEpochBlocks: bigint;
|
|
1560
|
+
minVerifierAccuracy: string;
|
|
1561
|
+
verifierAccuracyWindowEpochs: bigint;
|
|
1562
|
+
minEpochVerifications: number;
|
|
1563
|
+
verifierDreamReward: string;
|
|
1564
|
+
maxVerifierDreamMintPerEpoch: string;
|
|
904
1565
|
}
|
|
905
1566
|
export interface RepOperationalParamsProtoMsg {
|
|
906
1567
|
typeUrl: "/sparkdream.rep.v1.RepOperationalParams";
|
|
@@ -1101,6 +1762,93 @@ export interface RepOperationalParamsAmino {
|
|
|
1101
1762
|
max_project_requested_budget?: string;
|
|
1102
1763
|
max_project_requested_spark?: string;
|
|
1103
1764
|
proposed_project_expiry_blocks?: string;
|
|
1765
|
+
/**
|
|
1766
|
+
* Reputation deducted from a juror who accepted a summons and abandoned it.
|
|
1767
|
+
* Mirrors abandoned_jury_seat_penalty in Params.
|
|
1768
|
+
*/
|
|
1769
|
+
abandoned_jury_seat_penalty?: string;
|
|
1770
|
+
/**
|
|
1771
|
+
* Fraction of the disputed initiative's budget paid out to its jury, split
|
|
1772
|
+
* evenly across the seats. Juror pay was a flat StandardComplexityBudget
|
|
1773
|
+
* regardless of what was in dispute, so a challenge over a 100 DREAM
|
|
1774
|
+
* APPRENTICE initiative minted 750 DREAM in juror fees to settle it — more
|
|
1775
|
+
* than the work was worth. Range [0, 1]. Default 0.25.
|
|
1776
|
+
*/
|
|
1777
|
+
juror_reward_rate?: string;
|
|
1778
|
+
/**
|
|
1779
|
+
* Mirrors min_juror_reward in Params.
|
|
1780
|
+
*/
|
|
1781
|
+
min_juror_reward?: string;
|
|
1782
|
+
/**
|
|
1783
|
+
* Mirrors min_juror_selection_weight in Params.
|
|
1784
|
+
*/
|
|
1785
|
+
min_juror_selection_weight?: string;
|
|
1786
|
+
/**
|
|
1787
|
+
* Mirrors min_jury_seatings_for_weighting in Params.
|
|
1788
|
+
*/
|
|
1789
|
+
min_jury_seatings_for_weighting?: string;
|
|
1790
|
+
/**
|
|
1791
|
+
* Mirrors initiative_completion_bonus_rate in Params.
|
|
1792
|
+
*/
|
|
1793
|
+
initiative_completion_bonus_rate?: string;
|
|
1794
|
+
/**
|
|
1795
|
+
* Mirrors jury_acceptance_window_ratio in Params. Validated against
|
|
1796
|
+
* max_jury_redraws below — the pair must fit inside the review period.
|
|
1797
|
+
*/
|
|
1798
|
+
jury_acceptance_window_ratio?: string;
|
|
1799
|
+
/**
|
|
1800
|
+
* Mirrors max_jury_redraws in Params.
|
|
1801
|
+
*/
|
|
1802
|
+
max_jury_redraws?: number;
|
|
1803
|
+
/**
|
|
1804
|
+
* Mirrors reviewer_bond_reserve_rate in Params.
|
|
1805
|
+
*/
|
|
1806
|
+
reviewer_bond_reserve_rate?: string;
|
|
1807
|
+
/**
|
|
1808
|
+
* Mirrors review_fee_rate in Params.
|
|
1809
|
+
*/
|
|
1810
|
+
review_fee_rate?: string;
|
|
1811
|
+
/**
|
|
1812
|
+
* Mirrors max_review_rounds in Params.
|
|
1813
|
+
*/
|
|
1814
|
+
max_review_rounds?: number;
|
|
1815
|
+
/**
|
|
1816
|
+
* Mirrors the reviewer reward pool knobs in Params.
|
|
1817
|
+
*/
|
|
1818
|
+
max_reviewer_reward_pool?: string;
|
|
1819
|
+
reviewer_reward_pool_overflow_burn_ratio?: string;
|
|
1820
|
+
reviewer_reward_epoch_blocks?: string;
|
|
1821
|
+
min_reviewer_accuracy?: string;
|
|
1822
|
+
reviewer_accuracy_window_epochs?: string;
|
|
1823
|
+
/**
|
|
1824
|
+
* Mirrors role_reward_inflation_share in Params.
|
|
1825
|
+
*/
|
|
1826
|
+
role_reward_inflation_share?: string;
|
|
1827
|
+
/**
|
|
1828
|
+
* Mirrors the curator SPARK pool params in Params.
|
|
1829
|
+
*/
|
|
1830
|
+
max_curator_reward_pool?: string;
|
|
1831
|
+
curator_reward_pool_overflow_burn_ratio?: string;
|
|
1832
|
+
curator_reward_epoch_blocks?: string;
|
|
1833
|
+
min_curator_accuracy?: string;
|
|
1834
|
+
curator_accuracy_window_epochs?: string;
|
|
1835
|
+
/**
|
|
1836
|
+
* Mirrors review_required_above_budget in Params.
|
|
1837
|
+
*/
|
|
1838
|
+
review_required_above_budget?: string;
|
|
1839
|
+
review_bounty_reclaim_delay?: string;
|
|
1840
|
+
permissionless_min_review_bounty_rate?: string;
|
|
1841
|
+
/**
|
|
1842
|
+
* Mirrors the federation-verifier pay params in Params.
|
|
1843
|
+
*/
|
|
1844
|
+
max_verifier_reward_pool?: string;
|
|
1845
|
+
verifier_reward_pool_overflow_burn_ratio?: string;
|
|
1846
|
+
verifier_reward_epoch_blocks?: string;
|
|
1847
|
+
min_verifier_accuracy?: string;
|
|
1848
|
+
verifier_accuracy_window_epochs?: string;
|
|
1849
|
+
min_epoch_verifications?: number;
|
|
1850
|
+
verifier_dream_reward?: string;
|
|
1851
|
+
max_verifier_dream_mint_per_epoch?: string;
|
|
1104
1852
|
}
|
|
1105
1853
|
export interface RepOperationalParamsAminoMsg {
|
|
1106
1854
|
type: "sparkdream/x/rep/RepOperationalParams";
|