Function: launch(string name, string symbol, string mediaURI)
Anyone can launch a new LaunchToken instance, but the LAUNCH_FEE must be paid.
Inputs
nameControl: Full control.
Constraints: No constraints.
Impact: The name for the new LaunchToken.
symbolControl: Full control.
Constraints: No constraints.
Impact: The symbol for the new LaunchToken.
mediaURIControl: Full control.
Constraints: No constraints.
Impact: The media URI for the new LaunchToken.
Branches and code coverage
Intended branches
The new LaunchToken has been successfully created, and
TOTAL_SUPPLYtokens have been minted.
Negative behavior
msg.valueis less thanLAUNCH_FEE.bondingCurveaddress is not set up and is equal to zero.
Function call analysis
LaunchToken(token).mint(Launchpad.TOTAL_SUPPLY)What is controllable? N/A.
If the return value is controllable, how is it used and how can it go wrong? There is no return value here.
What happens if it reverts, reenters or does other unusual control flow? N/A.