pentagonal_compile
Compile Solidity smart contracts to generate ABI, bytecode, constructor arguments, and gas estimates for deployment preparation.
Instructions
Compile Solidity source code and return the ABI, bytecode, constructor arguments, and gas estimates. Use this after generating and auditing a contract to prepare it for deployment.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"code": "<code>"
},
"name": "pentagonal_compile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Solidity source code to compile | |
| contract_name | No | Specific contract name to compile (auto-detected if omitted) |