This section explains the details for successful and failed initial liquidity offering taking place.
Scenario 1: The soft cap of the ILO is met, and the end block of the second round is reached.
Scenario 2: The hard cap of the ILO is met, prior to the end block of the second round.
⏩ Publicly callable function to initialize the markets and lock the liquidity
⏩ Only then, participants can withdraw their tokens from the Dapp and start trading.
The soft cap of the ILO is not met by the end block of the second round.
The markets cannot initiate due to errors in token's smart contract .
A liquidity pool is created manually during the ILO.
⏩ Participants can withdraw (ETH, BUSD, BNB, ...) from the Dapp.
The "Initiate Markets/pair" button appears as soon as the ILO is in "Success" status and this button can be clicked by anyone to initiate the markets.
Within one transaction, it will:
create a liquidity pool using "token of ILO" + "currency used to purchase"
(BNB, ETH, BUSD, MATIC, AVAX, etc.)
send to the newly created pair the % of funds (60-100%) reserved for the liquidity
send the rest (0-40%) to the ILO creator
time-lock the LP token as per the parameters of the ILO
burn the unsold portion of the tokens in case the hardcap wasn't reached
This will effectively make the token purchased during the ILO tradable on the target AMM.