Help and Support Center - Curve Shader Engine
Help and SupportCurve rules: groups, constraints, errors 6018 and 6025

Curve rules: groups, constraints, errors 6018 and 6025

Curve rules are how a platform enforces its graph: the program checks every launch against them and refuses the ones that do not match.

Groups and constraints

A rule account belongs to one platform and one GlobalConfig. It holds up to 10 groups of up to 25 constraints. A launch passes when every constraint of at least one group holds. A constraint is a field, an operator (equal, at least, at most, not equal) and a value.

MigrateType = 1Supply = 10^15TotalSellA = 7.931·10^14TotalFundRaisingB = 3·10^10TotalLockedAmount = 0BaseTokenProgram = 0
Group 0 for a 30 SOL pad with the default supply, 79.31% sold and no vesting.

What the editor writes

One group with equality constraints on the migrate type (CPMM), supply, amount sold, raise and locked amount, the token program, and when set, cliff, unlock period, transfer fee flag and transfer fee rate. Then the restrict flag goes on, which is what makes the program check.

Errors

6018The launch parameters break the GlobalConfig bounds (raise, sell or migrate share, lock).
6025The launch breaks the platform's curve rules, so the program refused it as intended.