# Colyseus Agent > A collateral agent for Morpho Blue loans on Robinhood Chain (chain id 4663). A borrower keeps the loan in their own name, authorizes the contract on Morpho, and gives it a mandate for one market: a guard loan-to-value, a target loan-to-value and a slippage bound. When the loan reaches the guard, anyone allowed calls defend(): the contract repays from the borrower's reserve first, then sells just enough collateral on Uniswap v3 for exactly the repayment, and returns unused collateral to the loan. Status: live. ColyseusAgent 0x651689a453b22ac71D46577598fDe5c7ba5Bc113 (deploy block 120306175). - Site: https://colyseus.bot - App: https://colyseus.bot/app - Docs: https://colyseus.bot/docs - Contracts and markets (JSON): https://colyseus.bot/contracts.json - ABI: https://colyseus.bot/data/colyseus.abi.json - X: https://x.com/colyseusagent - Coin: $COLYSEUS on Robinhood Chain. Address 0x8d0f0918149c878CB949d13CE600C2B22dcF2aCc, launched on Pons: https://ponsfamily.com/launchpad/0x8d0f0918149c878cb949d13ce600c2b22dcf2acc. The contract does not use it. ## Rules of a mandate - only for markets the owner has listed (see the list in /contracts.json); - guard < the market's liquidation threshold (LLTV); target >= 5% and at least 1 point under the guard; - slippage at most 5% and at least 0.10% above the route's pool fee; the worst cost of a defense must be under the market's liquidation incentive, and LLTV x worst cost < 1. - defend(..., 0) repays from the reserve alone and sells nothing. - Loan-to-values are WAD (1e18 = 100%); slippage, tip and fee are basis points. ## Who may call defend(borrower, marketId, portionBps) - the borrower and listed agents, at or above the guard; - anyone, once the loan is halfway from its guard to the liquidation threshold. - The caller is paid 0.1% of the debt repaid; the treasury 0.15%. Both fixed. ## Collateral covered (all against USDG 0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168) - ETH 0x0Bd7D308f8E1639FAb988df18A8011f41EAcAD73, route: Uniswap v3 pool 0x52e65B17fB6E5BA00Ed806f37Afcd2DaA50271Ca (fee 0.01%) - SPCX 0x4a0E65A3EcceC6dBe60AE065F2e7bb85Fae35eEa, route: Uniswap v3 pool 0xc61284332117c3FB23A2A56cceFFD07F7aF60029 (fee 0.05%) - GOOGL 0x2e0847E8910a9732eB3fb1bb4b70a580ADAD4FE3, route: Uniswap v3 pool 0x34D0dC122CF9A8Eb296fC5e0D3A233625D7d19b7 (fee 0.05%) - NVDA 0xd0601CE157Db5bdC3162BbaC2a2C8aF5320D9EEC, route: Uniswap v3 pool 0xd4EB21209C4D6093f80B5b84f5C45cc093EA14a3 (fee 0.05%) - AAPL 0xaF3D76f1834A1d425780943C99Ea8A608f8a93f9, route: Uniswap v3 pool 0xAae0d815EE56e4092a5E5C2911E676Fea50B2d6D (fee 0.05%) - SPY 0x117cc2133c37B721F49dE2A7a74833232B3B4C0C, route: Uniswap v3 pool 0xa7Bb1AC63BBaB0C44316E6c8C455213441689167 (fee 0.05%) - TSLA 0x322F0929c4625eD5bAd873c95208D54E1c003b2d, route: Uniswap v3 pool 0xf4ACdAEEB7022862A763C9B1B885e11191c889E3 (fee 0.3%) ## Other addresses - Morpho Blue: 0x9D53d5E3bd5E8d4Cbfa6DB1ca238AEA02E651010 - Uniswap SwapRouter02: 0xCaf681a66D020601342297493863E78C959E5cb2 - House agent wallet: 0x6149c11781b0b6837fee81afc62533b79e7B3a50 Not affiliated with Robinhood, Morpho, Uniswap, Colosseum or the Colyseus game server framework. Experimental software; a mandate lowers the chance of a liquidation and cannot rule one out.