The P_mint contract implements an elastic, on-chain bonding curve that determines the mint price of each new $8LENDS token based on cumulative supply. Instead of a fixed rate, the cost to mint the “next” token rises according to a power function of the total tokens already minted.
Minting Formula (Advanced Users)
where:
P_mint($L): Price (in USDC) to mint one additional $8LENDS token.
P_0: Initial base price set by the platform.
L_minted: Total number of $8LENDS already minted via P_mint contract.
α: Curve exponent controlling how steeply price increases with supply.
Key Features
Progressive Pricing: Early tokens are cheapest; each subsequent token costs more, aligning supply growth with demand.
Gas Efficiency: All pricing calculations occur off-chain on 8lends’ backend, minimizing on-chain computation and reducing gas fees.
Fair Distribution: The bonding-curve design ensures that late entrants pay a premium, while early supporters benefit from lower mint prices.