Doppler404
Create hybrid fungible and non-fungible tokens
About
DN404 & ERC-7631 modifications
Example usage
const dynamicBuilder = new DynamicAuctionBuilder()
.tokenConfig({
type: 'doppler404' as const,
name: data.tokenName,
symbol: data.tokenSymbol,
baseURI: data.baseURI || `https://metadata.example.com/${data.symbol}/`,
})
.saleConfig({ initialSupply, numTokensToSell })
.poolConfig({ fee: 3000, tickSpacing: 8 })
.auctionByTicks({
startTick, endTick,
minProceeds: parseEther("100"),
maxProceeds: parseEther("600"),
duration: 7 * 24 * 60 * 60, // 7 days in seconds
epochLength: 43200, // 12 hours (default)
})
.withMigration({
type: 'uniswapV4', fee: 3000, tickSpacing: 60,
streamableFees: {
lockDuration: 60 * 60 * 24 * 30,
beneficiaries: []
}
})
.withGovernance({ type: 'noOp' })
.withUserAddress(account.address)
.withIntegrator()
.withTime({ blockTimestamp: Number(adjustedTimestamp) })
.build();Demo application

Last updated