How to configure LP fee distribution
LP tokens
LP distribution
Field
Description
Examples
// 40% platform, 50% creator, 10% burned
{
platformScale: new BN(400000),
creatorScale: new BN(500000),
burnScale: new BN(100000),
}
// 100% to creator
{
platformScale: new BN(0),
creatorScale: new BN(1000000),
burnScale: new BN(0),
}
// 100% burned
{
platformScale: new BN(0),
creatorScale: new BN(0),
burnScale: new BN(1000000),
}Relationship to CPMM fees
Configuration
Updating
Update type
Value
Description
Last updated
Was this helpful?