Skip to content

NeokingdomDAO/contracts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

2812cac · May 10, 2024
Apr 28, 2023
Feb 27, 2023
Dec 1, 2023
May 10, 2024
Nov 10, 2023
Jul 3, 2023
Oct 20, 2023
Nov 10, 2023
May 3, 2023
Nov 10, 2023
May 10, 2024
Aug 11, 2023
May 20, 2022
Jan 13, 2023
Feb 28, 2023
Feb 28, 2023
Jul 5, 2022
Jan 12, 2022
Oct 20, 2023
Apr 14, 2023
Nov 10, 2023
May 27, 2022
Dec 1, 2023
Feb 28, 2023
Apr 7, 2023
Apr 18, 2023
May 2, 2023
Feb 28, 2023
Mar 13, 2023

Repository files navigation

Test workflow

Neokingdom DAO Contracts

Welcome to the Neokingdom DAO Contacts.

Documentation

  • NEOKingdom DAO Yellow Paper describes why this project exists, and provides high level overview of the structure of the smart contracts.
  • Flow charts includes four flow charts:
    • contributor shows how new people are added to the DAO as contributors.
    • proposal gives an overview of the governance process of the DAO.
    • tokenomics explains how tokens are moved from the contributor's wallet to another wallet.
    • voting shows how contributors vote to resolutions.
  • Complex flows:
    • voting elaborates the logic behind the voting power distribution and delegation implemented in the Neokingdom DAO contracts
    • redemption elaborates the logic behind the redemption process of Neokingdom DAO
  • Integration tests:

Deployments

Neokingdom DAO lives on EVMOS.

  • NeokingdomToken (NEOK) 0x655ecB57432CC1370f65e5dc2309588b71b473A9
  • ShareholderRegistry (NEOS) 0x4706eD7a10064801F260BBf94743f241FCEf815e, impl 0x37aed261a1c6a3ef342ce14032636afd4a6328ca
  • GovernanceToken 0x05d1b2355721903152768F0ec1B105Be1c35BCb4, impl 0x21bc56fa89902ad945413ed606afc1fd8c22fbe2
  • Voting 0x5DC219C8CaeF7c9ECd0b97372e6Ef4fC5D827975, impl 0x3d76aaf1e34fcb191018cf8fc76dcc2547c4a59d
  • RedemptionController 0x7045bfaB66B55074C56aBeE34308CDa0916e086C, impl 0xe961a4bb3e1289215a597cbd14df57f4cd49c091
  • InternalMarket 0x7687155fB855e24d1416C288CbaC0AFC3B65353c, impl 0xeddf3b7810ca9dfb32e6a3e275e635987904450e
  • ResolutionManager 0xE5714C29b7acE2C6a3A80BE511ED7e5b92594204, impl 0x9f589d09e7760ad46ecf9348353f348aad6b35f4
  • DAORoles 0x6A176C92985430535E738A79749A4137BEC6C4Db
  • Operator SAFE on EVMOS 0xd232121c41EF9ad4e4d0251BdCbe60b9F3D20758

Commands

# Update readme
python scripts/update-readme.py deployments/9001.network.json
# Clean the build dir, sometimes this is a good idea
npx hardhat clean

# Compile the contracts
npx hardhat compile

# Test the contracts
npx hardhat test

# Deploy to production
npx hardhat deploy --network evmos

Audits