generate_optimization_recommendations
Generate Clarity contract optimization recommendations based on SIP-012 improvements and best practices to address performance issues and achieve target throughput goals.
Instructions
Generate specific optimization recommendations for Clarity contracts based on SIP-012 improvements and best practices.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
contractPattern | Yes | Type of contract pattern | |
currentIssues | Yes | Current performance issues identified | |
targetThroughput | No | Target performance goals |
Input Schema (JSON Schema)
{
"properties": {
"contractPattern": {
"description": "Type of contract pattern",
"enum": [
"token-contract",
"nft-collection",
"defi-pool",
"dao-governance",
"marketplace",
"staking-pool",
"generic"
],
"type": "string"
},
"currentIssues": {
"description": "Current performance issues identified",
"items": {
"type": "string"
},
"type": "array"
},
"targetThroughput": {
"description": "Target performance goals",
"type": "string"
}
},
"required": [
"contractPattern",
"currentIssues"
],
"type": "object"
}