mirror of
https://github.com/Instadapp/yield-contract.git
synced 2024-07-29 21:47:29 +00:00
deployLogic() => deployFlusher()
This commit is contained in:
parent
c6ae072dac
commit
0be9cc1126
|
@ -90,7 +90,7 @@ contract InstaDeployer is Controller {
|
|||
mapping (address => address) public flushers;
|
||||
|
||||
// deploy create2 + minimal proxy
|
||||
function deployLogic(address owner, address logic) public returns (address proxy) {
|
||||
function deployFlusher(address owner, address logic) public returns (address proxy) {
|
||||
require(!(isFlusherDeployed(getAddress(owner, logic))), "flusher-already-deployed");
|
||||
bytes32 salt = keccak256(abi.encodePacked(owner, logic));
|
||||
bytes20 targetBytes = bytes20(logic);
|
||||
|
|
Loading…
Reference in New Issue
Block a user