cairo-custom
Generate a custom smart contract with configurable pausability, access control, upgradeability, and macros. Returns the source code as Markdown.
Instructions
Make a custom smart contract.
Returns the source code of the generated contract, formatted in a Markdown code block. Does not write to disk.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The name of the contract | |
| pausable | No | Whether privileged accounts will be able to pause specifically marked functionality. Useful for emergency response. | |
| access | No | ||
| upgradeable | No | Whether the smart contract is upgradeable. | |
| info | No | Metadata about the contract and author | |
| macros | No | The macros to use for the contract. |