Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update LqMiningSimple.md #40

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions protocols/LqMiningSimple.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Liquidity Mining (LM) Pool is represented on-chain as a UTxO with the following
| `epoch` | `Int` | Index of the epoch being compounded |

_Notes_:
* `maxRoundingError` can be estimated as `epochNum` . Since the exact number of participants is difficult to predict in advance,
* `maxRoundingError` can be estimated as `epochNum`. Since the exact number of participants is difficult to predict in advance,
It is convenient to choose a larger value, but it should be << `programBudget / epochNum` . If the `maxRoundingError` value is too small, the **LM program may break**,
and if the value is too large, the **distribution of rewards may be incorrect**!
* `execBudget` is **not necessary** for Self-Hosted LM Pool
Expand Down Expand Up @@ -74,7 +74,7 @@ Creator will have to monitor ERGs balance and perform additional deposits.
#### General LM Pool initialization rules
When initializing an LM Pool (Self-Hosted or Delegated), the following actions **must be performed:**
1. Correct config:
1. `epochNum` <= `maxRoundingError` << `programBudget / epochNum`
1. `epochNum` < `maxRoundingError` << `programBudget / epochNum`
2. `programBudget` stored in R5 of the LM Pool Box == (Total LM program budget - 1L)

2. Initial transaction with correct tokens' amounts, the creator of the LM Pool should also Deposit
Expand Down