Skip to content

tokamak-network/tokamak-dao-contracts

Repository files navigation

tokamak-dao-contracts

This repository contains the DAO contracts of Tokamak Network. Tokamak Network DAO supports all functionality in Tokamak Network contracts. All functions of all contracts are executed only by the DAO. And Tokamak Network foundation doesn't own any contracts(except dao itself. It will be renounced later).

DAO Contract Upgraded Work Contents

  1. [2023-09-27] Upgrade to added the ability to execute SeigManger's pause and unpause functions in DAO Contract, change the target's SeigManager address, and create a Candidate designated by the operator. (0x4B4b52c7042Ae24f74c5C42C09bc925FeFaFA49E)
  2. [2023-10-24] Upgrade to added the ability to execute setGlobalWithdrawalDelay Value and addMinter functions in DAO Contract, After using these functions, revert to the previous logic. (0x72655449e82211624D5F4D2ABb235bB6Fe2fe989)
  3. [2023-12-07] Upgrade to created DAOCommitteeOwner and found an error related to SeigManager, so fixed it urgently. (2023-12-07)
  4. [2023-12-07] Upgrade to disable TON tokens in DAO Vault (0xba5634e0c432Af80060CF19E0940B59b2DC31173)
  5. [2024-03-21] Upgrade to DAOCommittee_V1 separated the logic that is used separately from DAOCommitteeOwner. founded a calculation error in the Member Claim function and fixed that part. (0xdF2eCda32970DB7dB3428FC12Bc1697098418815)
  6. [createAgenda] Upgraded the structure because there were some inconveniences in using two types of logic in the existing DAO structure, and added functions that are compatible with StakingV2.5. Please refer to the link for details. [DAOCommiteeProxy2 : 0xD6175F575F4d32392508Ee2FBbDec9a2E8B3c01a, DAOCommitte_V1 : 0xcC88dFa531512f24A8a5CbCB88F7B6731807EEFe, DAOCommitteeOwner: 0x5991Aebb5271522d33C457bf6DF26d83c0dAa221]

Deployed contracts on mainnet

DAO contracts

* CandidateFactory: 0xE6713aF11aDB0cFD3C60e15b23E43f5548C32942

* DAOCommitteeOwner : 0xe070fFD0E25801392108076ed5291fA9524c3f44

plasma-evm-contracts

* DepositManager: 0x56E465f654393fa48f007Ed7346105c7195CEe43

Deployed contracts on sepolia

DAO contracts

plasma-evm-contracts

How it works

  • Agendas: Anyone can create an agenda. An agenda has one or more function executions.
  • Members: Members can vote on agendas. And they get rewards based on activity period.
  • Candidates: Anyone can be a candidate. The amount of votes a candidate gets is deposited TON amount on the candidate.
  • Users: Users can deposit on candidates and get seigniorage.

Build

$ npm install
$ npm run compile:plasma
$ truffle compile

Test

$ npm test

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •