zetrix_contract_generate_advanced
Generate multi-class Zetrix smart contracts with interfaces, libraries, utilities, and test specifications for complex architectures using inheritance and modular design.
Instructions
Generate advanced multi-class Zetrix smart contract with interfaces, libraries, utilities, main contract, and comprehensive test specs. MANDATORY WORKFLOW: (1) First call zetrix_contract_init_dev_environment with contractName (e.g., 'CertificateContract'). (2) Then call this tool with the SAME contractName and outputDirectory set to './{contractName}'. Calling this tool WITHOUT initializing the project first will result in an error. Supports complex architectures with inheritance, composition, and modular design.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| contractName | Yes | Name of the main contract (e.g., 'StableCoin', 'NFTMarketplace') | |
| contractType | Yes | Type of contract to generate | |
| features | No | Advanced features to include | |
| tokenStandard | No | Token standard (required if contractType is 'token' or 'nft') | |
| includeTests | No | Generate comprehensive test specifications (default: true) | |
| outputDirectory | No | Directory to output the contract files (defaults to current directory) |