ERC-20 continuous tokens based on multiple bonding curve formulas.
Continuous tokens are a type of token where their price is managed by a bonding curve formula. Their supply is unlimited and the price is deterministically and continuously calculated meaning that the buy and sell prices increase and decrease based on the amount of tokens being in circulation. Furthermore, tokens can be purchased or sold instantaneously due to the bonding curve formula which acts as an automated market maker (AMM).
A Linear Bonding Curve is a curve that follows a linear formula, where the price of the token increases in direct proportion to the number of tokens sold.
Let's see an example of a linear curve graph following the next formula:
where:
Example:
this linear curve has the following graph:
Install the submodules using Forge:
forge install