write.asset_manager.cow_swapper
Enables ERC20 token swaps via CoW Protocol batch auctions with MEV protection. Returns data to be passed to write.account.set_asset_managers. Requires owner signature for each swap.
Instructions
Encode args for standalone direct CowSwap mode. Enables the CowSwapper to swap any ERC20 → ERC20 via CoW Protocol batch auctions (MEV-protected). Unlike compounder_staked or yield_claimer_cowswap, this is NOT coupled to any other automation — each swap requires an additional signature from the account owner. Only available on Base (8453). Returns { asset_managers, statuses, datas } — pass to write.account.set_asset_managers. Combinable with other intent tools.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| enabled | No | True to enable, false to disable | |
| chain_id | No | Chain ID: 8453 (Base), 130 (Unichain), or 10 (Optimism) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| description | No | ||
| asset_managers | Yes | ||
| statuses | Yes | ||
| datas | Yes | ||
| strategy_name | No |