-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
✨ debt-manager: support cross-leverage
Co-authored-by: danilo neves cruz <cruzdanilo@gmail.com>
- Loading branch information
1 parent
000693d
commit ba05342
Showing
6 changed files
with
318 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@exactly/protocol": patch | ||
--- | ||
|
||
✨ debt-manager: support cross-leverage |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import type { DeployFunction } from "hardhat-deploy/types"; | ||
|
||
const func: DeployFunction = async ({ | ||
ethers: { | ||
constants: { AddressZero }, | ||
}, | ||
deployments: { getOrNull, save }, | ||
network: { live }, | ||
}) => { | ||
if (!(await getOrNull("UniswapV3Factory")) && !live) { | ||
await save("UniswapV3Factory", { address: AddressZero, abi: [] }); | ||
} | ||
}; | ||
|
||
func.tags = ["UniswapV3Factory"]; | ||
|
||
export default func; |
Oops, something went wrong.