UIP-015: Union Safety Module
Abstract
Specification
- Deploying the Union Safety Module requires 3 transactions to the CozyRouter contract (0xC58F8634E085243CC661b1623B3bC3224D80B439)
- Deploying the governance-controlled trigger contract
- Deploying the Safety Module
- Update the Safety Module metadata
Test Cases
Tests and simulations can be found here
Implementation
- Deploying the governance-controlled trigger contract by calling CozyRouter.deployOwnableTrigger(address,(string,string,string,string),bytes32)
- Deploying the Safety Module by calling CozyRouter.deploySafetyModule(address,address,((uint256,address)[],(address,address,bool)[],(uint64,uint64,uint64)),bytes32)
- Update the Safety Module metadata by calling CozyRouter.updateSafetyModuleMetadata(address,address,(string,string,string,string))