memoscan
← all memos

Memo 0x70c13157…a7ca5c on Ethereum

deploySafetyModule(address,address,((uint256,address)[],(address,address,bool)[],(uint64,uint64,uint64)),bytes32) UIP-015: Union Safety Module # Abstract # Specification - Deploying the Union Safety Module requires 3 transactions to the CozyRouter contract (0xC58F8634E085243CC661b1623B3bC3224D80B439) 1. Deploying the governance-controlled trigger contract 1. Deploying the Safety Module 1. Update the Safety Module metadata # Test Cases Tests and simulations can be found [here](https://github.com/unioncredit/UIPs/pull/24) # 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))