This commit is contained in:
2025-12-26 13:38:10 +08:00
parent fcb02f3335
commit 7c28a4fb70
91 changed files with 99 additions and 480 deletions

View File

@@ -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);
}
}
}