Contest Proposal: Audit of the Dune Network → Free TON merge contracts
Short Description
The contestants shall perform an audit of the Solidity smart contracts developed for the Dune Network → Free TON merge by Origin Labs.
Motivation
During the Dune Network → Free TON merge, a supply of 9M TONs will be swapped in exchange for DUNs tokens. Given this amount, the security of the smart contracts used in the infrastructure is essential. The goal of this contest is to identify vulnerabilities in the code that could lead to a leak of tokens or a non-working infrastructure.
Location
The code of the smart contracts is located on Gitlab in:
In the contracts/free-ton/ sub-directory.
Prerequisites
The code has been tested both using integration tests (see tests/free-ton/ directory) and a test deployment on https://merge.dune.network/ .
Discussions with contract developers are available through:
- A telegram group: Telegram: Contact @dun_ton_merge
- Weekly one-hour meetings to be scheduled
The architecture and implementation have been described in the corresponding contests in the main sub-governance.
Contest Terms
Contestants shall submit a document in PDF format that covers:
- All the errors found
- All the warnings found
- All the “bad code” (long functions, violation of abstraction levels, poor readability etc.) foundings
Errors and warnings should be submitted to the developers as early as possible, during the contest, so that the code can be fixed immediately.
The document should also contain a high-level description of the code, and any information showing that the contest had a good understanding of the infrastructure and of the code.
Contest Dates
- Contest duration: two weeks after the contest proposal has been approved
- Contest voting: one week after the end of the contest
Proposed Prices
The total contest budget is 95 kTON, whereby 95% are allocated to the contestant awards and
5% are allocated to the jury reward.
The contestant awards are distributed as follows:
● Place 1 - 50 kTON
● Place 2 - 30 kTON
● Place 3 - 15 kTON
Procedural remarks to jurors
As per Procedural remarks on contests.
This contest is judged by the Jury of Format Methods sub governance.
Jury rewards
As per Procedural remarks on contests.
Governance rewards
As per Procedural remarks on contests.
Procedural reminders to all contestants
As per Procedural remarks on contests.
Fair play
As per Procedural remarks on contests.