Update text/0001-agile-coretime.md

Co-authored-by: Muharem Ismailov <ismailov.m.h@gmail.com>
This commit is contained in:
Gavin Wood
2023-07-17 11:59:57 +02:00
committed by GitHub
parent 7c92da08c8
commit 38a0189132
+1 -1
View File
@@ -370,7 +370,7 @@ Each timeslice, `InstaPoolIo` is used to update the current value of `PoolSize`.
When Instantaneous Coretime Market Revenues are reported for a particular timeslice from the Relay-chain, this information gets placed in the `maybe_payout` field of the relevant record of `InstaPoolHistory`.
Payments can be requested made for for any records in `InstaPoolContribution` whose `begin` is the key for a value in `InstaPoolHistory` whose `maybe_payout` is `Some`. In this case, the `total_contributions` is reduced by the `ContributionRecord`'s `parts` and a pro rata amount paid. The `ContributionRecord` is mutated by incrementing `begin`, or removed if `begin` becomes equal to `end`.
Payments can be requested made for any records in `InstaPoolContribution` whose `begin` is the key for a value in `InstaPoolHistory` whose `maybe_payout` is `Some`. In this case, the `total_contributions` is reduced by the `ContributionRecord`'s `parts` and a pro rata amount paid. The `ContributionRecord` is mutated by incrementing `begin`, or removed if `begin` becomes equal to `end`.
Example: