Tx: create a manager
prepare_create_managerReturns an UNSIGNED transaction {chainId, to, data, value} plus simulation — an eth_call of exactly it from from (ok, or the revert decoded by name) — warnings and next. This server signs nothing: the sender signs and sends it with their own wallet and pays the gas. LPManagerFactory.createManagerNondeterministic on Base, Arbitrum, Unichain or Ethereum; from pays its gas. To create without gas of your own on Base, Arbitrum or Unichain, use quote_create_manager → create_manager instead (Envelop's relayer, paid in USDC; mainnet has no relayer). Anyone may send it; the manager NFT goes to owner. Either strategy (a Think Tank id: its template fixes product and pools) or product + pools. The pool set is fixed forever; the chain's price oracle is wired in. The new address is the proxy of the factory's EnvelopV2Deployment event in the receipt.
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": {
"chainId": "<chainId>",
"owner": "<owner>",
"from": "<from>"
},
"name": "prepare_create_manager"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from | Yes | Who sends (and pays gas for) the transaction; any address — the factory is permissionless and the NFT still goes to `owner` | |
| name | No | Display name, up to 31 UTF-8 bytes | |
| owner | Yes | Who receives the manager NFT. Explicit on purpose: a smart account on one chain may not exist on another | |
| pools | No | Without `strategy`: the manager's pool set, 1–32, fixed forever at creation | |
| chainId | Yes | EVM chain id: 8453 Base, 42161 Arbitrum, 130 Unichain (1 = Ethereum mainnet, your gas) | |
| product | No | Without `strategy`: which manager | |
| strategy | No | A Think Tank strategy id (think-tank/<slug>) — its manager template supplies product and pools; chainId must be the strategy's chain |