Liquidity Bootstrapping Example
// XYZ and DAI are addresses
// XYZ is the "project token" we're launching
const poolParams = {
tokenSymbol: 'LBT',
tokenName: 'Liquidity Bootstrapping Token',
tokens: [XYZ, DAI],
startBalances: [toWei('4000'), toWei('1000')],
startWeights: [toWei('32'), toWei('8')],
swapFee: toWei('0.005'), // 0.5%
}
const permissions = {
canPauseSwapping: false,
canChangeSwapFee: false,
canChangeWeights: true,
canAddRemoveTokens: false,
canWhitelistLPs: false,
canChangeCap: false
};Last updated
Was this helpful?