Opals V2 Recipe
Contract Deployments
ProjectCreationArgs
struct ProjectCreationArgs {
address owner; // Project owner address
string projectName; // Project display name
string tokenName; // ERC20 token name
string tokenSymbol; // ERC20 token symbol
string projectImageURI; // Project metadata URI
string projectDescriptorURI; // Project descriptor URI
uint256 tokenInitialSupply; // Total token supply (1e27 default)
uint256 launcherWethReserve; // Initial WETH for LP
uint256 launcherTokenReserve; // Initial tokens for LP
uint256 launcherTokenPriceInWei; // Token price in wei
address launcherTrigger; // Address authorized to trigger launch
uint256 launcherTarget; // ETH threshold for auto-launch
string patronCardImageURI; // Patron card metadata
string patronCardDescriptorURI; // Patron card descriptor
string patronCardBaseURI; // Patron card base URI
string vaultCardImageURI; // Vault card metadata
string vaultCardDescriptorURI; // Vault card descriptor
string vaultCardBaseURI; // Vault card base URI
}Deployment Flow
Phase 1: Deploy Core Components
Phase 2: Deploy Cards and Claims
Phase 3: Wire Components
Phase 4: Transfer Tokens
Initialization Dependencies
Constants
Return Value
Security Properties
Usage Example
Last updated