Start: allocate to strategy
Check KillSwitch on?
Yes
setKillSwitch(false)
Called by MYT Strategy Owner on MYT Strategy contract
No Continue to next step
Check Cap needs raising?
Yes
submitIncreaseAbsoluteCap(strategy, amount)
increaseAbsoluteCap(strategy, amount)
submitIncreaseRelativeCap(strategy, amount)
increaseRelativeCap(strategy, amount)
Called by Curator Admin on Curator Contract
No Continue to next step
Check Which allocation routes are configured?
Check the documentation for which direct / swap paths are enabled for this strategy
Allocate If direct route: allocate(strategy, amount)
OR
Allocate If swap route: allocateWithSwap(strategy, amount, txData)
Called by Allocator Admin or Operator on Allocator Contract. Using the wrong route will revert.
Done
Constructing 0x txData: Call the 0x Swap API off-chain with sellToken, buyToken, sellAmount, and taker = strategy contract address. The API returns encoded calldata to pass directly as txData. Quotes are time-sensitive — fetch and submit in the same session. The Alchemix Admin UI should be used to construct txData when available.