Skip to content

Latest commit

 

History

History
25 lines (15 loc) · 948 Bytes

YPP-0102.md

File metadata and controls

25 lines (15 loc) · 948 Bytes

Proposal

Add Contango contracts to Cloak on mainnet and arbitrum

Background

Contango has access to the Joins and FYToken on the Yield Protocol, which poses a certain risk. Adding the Contango Ladle and Witch to the Cloak will allow to isolate them in emergencies.

Details

Isolation plans will be added for the Contango Ladle and Witch. The plans will be tested with the Assert contract and the cloak.check function.

[https://github.com/yieldprotocol/environments-v2/tree/feat/add-contango-to-cloak/scripts/governance/replace/cloakV2/contango](Script for proposal)

Configuration applied (Arbitrum and Mainnet):

export const joins: Map<string, string> = readAddressMappingIfExists('contangoJoins.json')
export const fyTokens: Map<string, string> = readAddressMappingIfExists('contangoFYTokens.json')

export const users: Array<string> = [protocol.getOrThrow(CONTANGO_LADLE), protocol.getOrThrow(CONTANGO_WITCH)]

Testing

TBA