The TON Smart Challenge winners are listed below.
Blockchain contracts development is an art because code optimisation can literally save money for the contract owners. Contract execution literally costs money and this is a brilliant opportunity for the developers to exercise algorithms knowledge and software development skills to the fullest extent.
We are holding a contest aimed at optimisation of 5 smart contracts written in the FunC language native for The Open Network blockchain. Goal of the contest is to optimize contract execution cost preserving functionality and business logic.
This simple counter smart contract stores a
total - 64-bit unsigned integer in its data (it is guaranteed that storage data contains
When receiving an internal incoming message, contract takes a 32-bit unsigned integer from message body, adds it to the
total and saves the result in contract data.
get_total should returns actual
total value stored in contract data.
If the body of the incoming message is less than 32 bits then it should throw ANY error.
*Remaining 5,777 TON will be split among other participants, who solved at least one task. However if there will be less than 30 total participants, all the other N participants will get 100 TON each, and remaining 5,777 - N*100 TON will be split among top-10.
Update 14 April 2022: participants from 11th to 127th places will get prizes in accordance to formula
INT(SCORE * 3 + 300*EXP(-(RANK-11/14.309)). There are also bonuses beyond basic prize pool, which are described in the official contest chat.
Bonuses for the best solution of #2, #3, #4, and #5 tasks were awarded to crazyministr, SpyCheese, Arsenicum12, and pyAndr3w correspondingly. Bonuses for the correct solution in the case of non-standard address for task #3 were awarded to SpyCheese, pscvn, otov4its, and YellowCataclysm.