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

🔥 Forge the nemeton genesis #11

Merged
merged 13 commits into from
Oct 10, 2022
Merged

🔥 Forge the nemeton genesis #11

merged 13 commits into from
Oct 10, 2022

Conversation

ccamel
Copy link
Member

@ccamel ccamel commented Sep 22, 2022

This PR aims to forge the genesis file named nemeton for the the first main OKP4 testnet.

Todo:

  • Implement state for modules (wasm, logic)
  • Implement the tokenomics stated in the OKP4 Whitepaper
    • Allowed validators limit
    • Token emission (staking rewards)
    • Token allocations (with cliff & vesting)

@amimart amimart force-pushed the feat/forge-nemeton branch from d3e6316 to fe49847 Compare October 5, 2022 13:05
@ccamel
Copy link
Member Author

ccamel commented Oct 5, 2022

image

@bdeneux
Copy link
Contributor

bdeneux commented Oct 6, 2022

@ccamel @amimart @tpelliet

I've updated the Nemeton genesis file with this 4 accounts following our needs. Please have an attentive look to check if this is good.

Faucet

25% (50MM), 100% at TGE, no cliff, no vesting

Address : okp41hhmuvam7dpvccexeam2px9j2xrzhv004ryh6se
Account type : BaseAccount
Balance : 50 000 000 000 000uknow (25%)
Vesting amount : 0 (100% TGE)
Vesting start : 0
Vesting cliff : 0
Vesting end : 0

Account 1

40% (80MM), 10% at TGE, 1 month cliff, 6 months vesting

Address : okp4157k92xl5kxy89se8h93lng6dk226mkg96t8g48
Account type : CliffVestingAccount
Balance : 80 000 000 000 000uknow (40%)
Vesting amount : 72 000 000 000 000uknow (10% TGE)
Vesting start : 1665748800 (GMT: Friday 14 October 2022 12:00:00)
Vesting cliff : 1668430800 (GMT: Monday 14 November 2022 13:00:00)
Vesting end : 1681473600 (GMT: Friday 14 April 2023 12:00:00)

Account 2

25% (50MM), 0% at TGE, 24 months vesting

Address : okp41870uw80d4yvrhcrxlyyj9csd9trz7cc9aeh67p
Account type : ContinuousVestingAccount
Balance : 50 000 000 000 000uknow (25%)
Vesting amount : 50 000 000 000 000uknow (0% TGE)
Vesting start : 1665748800 (GMT: Friday 14 October 2022 12:00:00)
Vesting cliff : 0
Vesting end : 1728907200 (GMT: Monday 14 October 2024 12:00:00)

Account 3

10% (20MM), 50% at TGE, 6 month cliff, no vesting

Address : okp41htjlyu4z5833zzkrw4hlaaqvd2je3w9zg50e86
Account type : DelayedVestingAccount
Balance : 20 000 000 000 000uknow (10%)
Vesting amount : 10 000 000 000 000uknow (50% TGE)
Vesting start : 0
Vesting cliff : 0
Vesting end : 1681473600 (GMT: Friday 14 April 2023 12:00:00)

reflect tokenomics described in whitepaper with an adaptation to change
inflation every month instead of every year to test it.
@amimart amimart force-pushed the feat/forge-nemeton branch from db9f41d to e141aea Compare October 7, 2022 11:12
@amimart amimart requested review from amimart and bdeneux October 7, 2022 11:35
@amimart
Copy link
Member

amimart commented Oct 7, 2022

A precision about the mint parameters: The mint module populate the new inflation rate every blocks against the total supply containing minted coins, the inflation model written in the whitepaper is different, the inflation rate change only every year.

The mint module shall be re-implemented but for now, by setting the initial inflation rate to 7.5% instead of 15% will lead to the same number of minted coins but not linearly.

The number of blocks per year has been set to 438300 to force inflation rate change every months for test purposes.

@amimart amimart marked this pull request as ready for review October 7, 2022 11:58
@amimart amimart requested a review from tpelliet October 7, 2022 12:45
@amimart amimart requested a review from ad2ien October 10, 2022 06:59
Copy link
Contributor

@bdeneux bdeneux left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@ccamel
Copy link
Member Author

ccamel commented Oct 10, 2022

Good to me! 🚀

@ccamel ccamel merged commit f887c25 into main Oct 10, 2022
@ccamel ccamel deleted the feat/forge-nemeton branch October 10, 2022 07:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants