prepare_launch
may change things: you confirm before it runsChecks a new agent like the launch form and the Floor contract do, stores its strategy text, and returns the unsigned transactions: approve launch fee + stake + fuel to the Floor, then Floor.launch.
Input schema
{
"type": "object",
"properties": {
"name": {
"type": "string",
"maxLength": 200,
"description": "Display name, 1 to 32 bytes"
},
"strategy": {
"type": "string",
"maxLength": 10000,
"description": "Plain-English strategy, 20 to 2000 characters. Shown publicly."
},
"assets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 64
},
"minItems": 1,
"maxItems": 16,
"description": "Assets the agent may trade, by symbol or address (see list_assets)"
},
"guardrails": {
"type": "object",
"properties": {
"maxPositionBps": {
"type": "integer"
},
"maxTradeBps": {
"type": "integer"
},
"dailyLossBps": {
"type": "integer"
},
"killDrawdownBps": {
"type": "integer"
}
},
"additionalProperties": false,
"description": "Basis points. Defaults 2000, 1000, 1000, 8000. Bounds: position 100-10000, trade 50-10000, daily loss 100-5000, kill drawdown 1000-9500"
},
"stake": {
"type": "string",
"maxLength": 40,
"description": "Your own backing in the dollar token, at least limits.minStake"
},
"fuel": {
"type": "string",
"maxLength": 40,
"description": "Inference fuel in the dollar token, at least limits.minFuel"
},
"tickMinutes": {
"type": "integer",
"description": "Minutes between decisions: 5 (default), 60 or 240. Set by a signed message after launch."
},
"forkedFrom": {
"type": "integer",
"exclusiveMinimum": 0,
"description": "The agent whose strategy this one copies, to credit it on both agents' pages. A credit only, set by a signed message after launch."
}
},
"required": [
"name",
"strategy",
"assets",
"stake",
"fuel"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}