Extensions
cc0strategy includes optional extensions for additional functionality.
Airdrop Extension
Enables token airdrops to NFT holders at launch.
Address
| Network | Address |
|---|---|
| Base | 0x... |
| Ethereum | 0x... |
How It Works
When deploying with airdrop enabled:
- •Specify percentage of supply for airdrop
- •Supply is reserved in airdrop contract
- •NFT holders can claim proportionally
solidity
function claimAirdrop(
address token,
uint256[] calldata tokenIds
) external returns (uint256 amount)Dev Buy Extension
Allows automatic token purchase at launch.
How It Works
When deploying with dev buy:
- •Send ETH with deployment transaction
- •ETH is swapped for tokens after pool creation
- •Tokens sent to deployer
javascript
// Deploy with 0.1 ETH dev buy
const tx = await factory.deployToken(
"Token",
"TKN",
supply,
nftCollection,
imageUrl,
socialUrl,
website,
ethers.parseEther("0.1"), // dev buy amount
{ value: ethers.parseEther("0.1") }
);MEV Protection Module
Protects against sandwich attacks.
Address
| Network | Address |
|---|---|
| Base | 0x9EbA427CE82A4A780871D5AB098eF5EB6c590ffd |
| Ethereum | 0x47bee4a3b92caa86009e00dbeb4d43e8dcc1e955 |