Info
Source on GitHub
Smart Contract Address
-1:a17b813f6ff877770026db5eb3636f37eeee4f4eb4293c77f2cdf106ed16f400
Testing and Issues
You can test this entry and submit issues during the testing period of the Blockchain Contest, Stage 2 contest.
Entries with serious issues will not be able to win the contest, but even minor issues might be important for overall results.
Voting
Comments
Everyone can test pools in the bot @pool_ton_bot
I attach a small diagram for a better understanding of the smart contract.
I attach a small diagram for a better understanding of the smart contract.
You have not added any comments yet...
by rating
Issues
We found some issues in your contract.
Critical:
- Check `(msg_destination_addr != destination_addr) & (msg_destination_wc != destination_wc)` allows admin to send collected grams to any address on the masterchain, because "&" is used instead of "|".
- The contract pays itself all processing and storage fees, sending back the whole extra gram, so it can run out of funds.
Minor:
- Some dictionaries indexed only by 256-bit addresses, ignoring workchain_id.
Critical:
- Check `(msg_destination_addr != destination_addr) & (msg_destination_wc != destination_wc)` allows admin to send collected grams to any address on the masterchain, because "&" is used instead of "|".
- The contract pays itself all processing and storage fees, sending back the whole extra gram, so it can run out of funds.
Minor:
- Some dictionaries indexed only by 256-bit addresses, ignoring workchain_id.
Nobody added any issues yet...