Smart Contract and DEX Listing
This technology is essential for building trust between projects and investors, making it a cornerstone for successful token sales and decentralized investment mechanisms.
A smart contract is a self-executing program that runs on a blockchain, with the terms of the agreement directly written into its code. It operates autonomously, without the need for intermediaries, ensuring transparency, security, and immutability. A smart contract enables projects to conduct token sales and attract investments in a secure and transparent manner. For participants, the smart contract guarantees adherence to the predefined rules of the transaction, ensuring fairness and reliability.
Our official GitHub with open source contract code: https://github.com/multixcrypto/dao-contract
Basic Principles of Our Contract
Transparency All transactions and rules are publicly recorded on the blockchain, allowing participants to verify the process at any time.
Security The contract is designed with robust security measures to protect funds and ensure the integrity of transactions.
Automation Key processes, such as token distribution and fund allocation, are automated, eliminating the need for intermediaries and reducing operational risks.
Fairness The contract enforces strict adherence to predefined rules, ensuring all participants are treated equally and fairly.
Immutability Once deployed, the contract’s code cannot be altered, guaranteeing consistency and reliability throughout the project lifecycle.
Decentralization The contract operates independently on the blockchain, promoting trust and reducing reliance on centralized entities.
These principles form the foundation of our smart contract, ensuring a secure, efficient, and trustworthy experience for all participants.
Pioneering Open Source on TON
We are among the first in the TON blockchain market to make our contract code fully open source. This approach allows independent experts to thoroughly audit and verify the contract's logic, ensuring transparency and building trust with our community.
By opening our code, we set a new standard for accountability and reliability in the TON ecosystem, empowering users to engage with confidence.
Getting Started
To work with a smart contract, you need basic knowledge of working with blockchain - connect a wallet, calculate the project tokenomics and understand basic terms. There is also a limited opportunity to get a personal assistant for your project who will help you.
"Total supply" - the total number of coins of your token, "farm supply" - what percentage will be distributed by airdrop on our platform, "DEX Platform" - listing of tokens occurs at the moment only through DeDust DEX.
"DEX Listing Jettons" - what percentage of tokens will be sent to the DEX during listing, "DEX Listing Liquidity" - what amount of funds raised will be sent to the DEX during listing. When listing on a DEX, a liquidity pool must be created. Its ratio sets the initial trading price. Consider this carefully when developing your tokenomics.
Parameters for unlocking coins received during airdrop on our platform. More information about unlocking parameters can be found in the relevant section.
Also at this stage you can enable two additional modules
DAO Veto - increases community trust by adding a mechanism for demanding a refund by voting.
Bot purchage protection - a special mechanism that protects participation in token sales from bots, but adds an additional commission of 0.1 TON due to additional cryptographic calculations.
Click "Create Contract" and sign the transaction in your wallet. Do not lose access to your wallet, as it is used to manage the contract until it is listed on the DEX.
Smart contract dashboard
After the smart contract is deployed, a token will be created and the rights to it will be revoked. Further management of your token will be carried out only through the smart contract and only through the wallet from which it was created.
View Contract - click to open your smart contract on the TON blockchain network.
Unlink Contract - уou can recreate the contract by detaching the current smart contract from the project. The data in the blockchain will not be deleted.
Adding DAO entries
To enter the project tokenomics, it is necessary to create records in the DAO.
Specify the number of records to add. You can add multiple records at once.
Provide a name for the DAO entry, such as "Marketing" or "Team":
Specify the number of coins to allocate for this entry.
Specify the wallet that will receive funds for this entry. Do not lose access to this wallet – funds will only be sent to this wallet, and there is no way to bypass this restriction.
Specify the parameters for unlocking funds, including the cliff and vesting schedule.
Attention
There is no need to specify coins received during token sales – they will be created automatically.
Only the owner of the wallet specified here will be able to receive the funds. This restriction cannot be bypassed.
List of DAO entries
DAO entries enable you to define the project's tokenomics. When adding a contract, our platform automatically generates an entry for the airdrop of farmed coins. The amount of these coins is determined by you during the contract creation process.
Entry for the distribution of coins earned through farming on our platform.
We have just created an entry for the distribution of coins, not for marketing, in the previous section.
Click "Lock DAO entries" to prevent changes to the DAO entries once you have finalized your tokenomics. You will no longer be able to add entries once you start the coin sales.
Asset unlocking parameters
Our platform uses an advanced asset unlocking system that supports cliffs and vesting. You don't need to specify the TGE date or worry about matching it with the listing date — the contract will calculate everything automatically.
The system has default unlocking parameters, which you can modify by selecting "Custom unlock."
"Custom unlock" allows you to define custom asset unlocking parameters. For instance, you can set a non-linear unlock, where the unlocking speed changes over time — starting at one rate and shifting to another after a certain period.
At the bottom, you'll see a chart illustrating the unlocking schedule over a 3-year period. The red line indicates that less than 5% of the funds are unlocked, the green line represents the unlocking process currently underway, and the gray line shows that all assets have been fully unlocked.
Adding a token sale
The contract features a fully flexible token sale system. You can organize a presale and then a fair launch at any point before the DEX listing. Multiple fair launches are possible. You can conduct a token sale, cancel it, refund the funds, and relaunch the sale under a different structure, and so on.
Parameters for conducting a token sale
Unlocking parameters for tokens received by participants
Unlocking parameters for funds received by the token (a unique feature of our contract)
You can add token sales without specifying a date, making it convenient if the date has not yet been decided. Token sale entries can be edited until the start of trading. Additionally, you can cancel the sale at any time before the listing. In such cases, participants will be able to reclaim their funds, minus the network fee.
List of token sales
This tab displays all the token sales you have added. You can edit any token sale before its launch date and cancel them both before and after the sale starts.
The "Listing on DEX" button allows you to list tokens on a DEX before all tokens are distributed. Any remaining tokens will be burned. If no undistributed tokens remain after the token sale is completed, the listing on the DEX will be performed automatically.
You can lock the list of token sales once you have finalized the dates for all sales and are certain that no further changes will be needed. Locking the list is not mandatory, but we recommend doing so if you believe it will help build trust with your community.
Participation in token sales
As soon as you add a token sale to the contract, its details will immediately appear in the application for all users. Once the trading start date arrives, users will be able to participate.
To participate, a user must connect their wallet and make a purchase for the required amount. Tokens will only be available for claiming after the DEX listing, following the specified unlocking parameters.
The platform automatically generates a tokenomics chart based on DAO entries and token sale information.
Why are tokens only available after the DEX listing? This is because DEXs use an Automated Market Maker (AMM) mechanism for price formation. The price is determined during the initial liquidity provision to the pool. That is why the first liquidity pool must be created and is automatically created by the contract. Only after this step can other participants receive tokens in their wallets.
Receiving Tokens and Unlocking
Once the DEX listing is complete, all token sale participants can claim their tokens. The specified unlocking mechanism set during the token sale will be enforced.
Congratulations! Your project's token has been successfully listed on the DEX, and participants' tokens are securely protected and stored in your project's smart contract.
Questions & Answers
When does a refund to participants occur? Participants' funds can be refunded before the listing if the soft cap was not reached or if you manually canceled the token sale.
How does the Bot Purchase Protection module work?
To prevent bots from participating in token sales by interacting directly with the smart contract and bypassing our platform, you can enable the Bot Purchase Protection mechanism. This system employs advanced cryptography based on the Ed25519 signature scheme, built on the Curve25519 elliptic curve. Every purchase transaction is digitally signed by our platform with a unique cryptographic signature, which the smart contract verifies. This ensures that participation in the token sale is only possible through our platform. As a result, the number of bots attempting to participate is significantly reduced, making the token sale both fairer and more secure. However, this mechanism increases the transaction fee for participating in the token sale by an additional 0.1 TON, as cryptographic computations on the blockchain add to the overall cost.
How does the DAO Veto module work?
The DAO Veto module is an optional feature aimed at enhancing community trust. Currently, if a project mismanages the funds it has received, participants have no means to demand a refund. This module introduces a voting system that empowers participants to initiate a refund request, provided at least 70% of votes are in favor.
Using this module is entirely optional and at your discretion. For more information, please visit the modules page.
Why is gradual token unlocking necessary?
Gradual token unlocking prevents market oversaturation and helps maintain token price stability by controlling the supply. It encourages long-term commitment from team members and investors, aligning their interests with the project's success. This approach reduces the risk of sudden sell-offs (dumping) that could harm the token's value. Additionally, it builds community trust by ensuring fair and responsible distribution of tokens.
Last updated