audit
This commit is contained in:
@@ -11,14 +11,9 @@ contract LendingFactory is LendingConfiguration, Ownable {
|
||||
|
||||
event LendingDeployed(address indexed lending);
|
||||
|
||||
/**
|
||||
* @notice 部署新的 Lending 实现合约
|
||||
* @return 新 Lending 合约地址
|
||||
*/
|
||||
function deploy() external onlyOwner returns (address) {
|
||||
Lending lending = new Lending();
|
||||
emit LendingDeployed(address(lending));
|
||||
return address(lending);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user