-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* certora updates * ignore solidity warnings in servicer * ignore solidity warnings rollover manager * replace newSplitParallel certora config proverarg * get rid of branch versions of certora * replace newSplitParallel certora config proverarg * update access roles test for servicer with new controller function for mint access * remove extra semicolon * remove specialist role from servicer specs certora * link controller to servicer in servicer spec for certora * prevent previous term locker from conflicting with controller treasury address * add envfree declaration of get treasury address to rollover exposure certora spec * no zero address msg sender in exposure opening on new rollover certora * treasuery cannot be borrow address * treasuery cannot be borrow address * treasuery address always 100 * treasuery address always 100 * 100 address for treasury imported from rules for servicer * 100 address for treasury imported from rules for servicer * 100 address for treasury imported from rules for servicer * controller harness for certora * controller harness for certora * fix acccess roles for servicer certora spec * 100 address for treasury imported from rules for servicer * 100 address for treasury imported from rules for servicer * further split tests * undo servicer update * minting changes certora spec * minting changes certora spec * beta cli runs for errors in certora prod * add 2 new reverts for repayments in certora * NONDET summary for access roles controller call for mint open exposure certora * split repay and redemption revert certora specs * add semicolon to end of summary in access roles servicer certora * ignore solidity warnings certora * split repay and redemption revert certora specs * verify mint exposure access methods certora * add env to verifyMintExposureAccess calls * DISPATCHER true verifyMintExposureAccess * trying to get linking to work * trying to get linking to work * trying to get linking to work * trying to get linking to work * redemption reverts branch version removed * redemption reverts branch version removed * redemption reverts branch version removed * get mint integrity to stop timing out
- Loading branch information
Showing
35 changed files
with
384 additions
and
53 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
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
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
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
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,37 @@ | ||
{ | ||
"files": [ | ||
"certora/harness/TermRepoServicerHarness.sol", | ||
"contracts/TermAuctionBidLocker.sol", | ||
"contracts/TermController.sol", | ||
"contracts/TermRepoLocker.sol", | ||
"contracts/TermRepoToken.sol", | ||
"contracts/TermRepoRolloverManager.sol", | ||
"certora/harness/TermRepoCollateralManagerHarness.sol", | ||
"certora/helpers/DummyERC20A.sol" | ||
], | ||
"link": [ | ||
"TermRepoServicerHarness:termRepoToken=TermRepoToken", | ||
"TermRepoServicerHarness:termRepoLocker=TermRepoLocker", | ||
"TermRepoServicerHarness:termRepoCollateralManager=TermRepoCollateralManagerHarness", | ||
"TermRepoServicerHarness:termRepoRolloverManager=TermRepoRolloverManager", | ||
"TermRepoCollateralManagerHarness:termRepoLocker=TermRepoLocker" | ||
], | ||
"prover_args": [ | ||
"-depth 15", | ||
"-splitParallel true" | ||
], | ||
"solc_optimize": "50", | ||
"loop_iter": "2", | ||
"optimistic_loop": true, | ||
"ignore_solidity_warnings": true, | ||
"smt_timeout": "7200", | ||
"parametric_contracts": [ | ||
"TermRepoServicerHarness" | ||
], | ||
"rule_sanity": "basic", | ||
"packages": [ | ||
"@chainlink=node_modules/@chainlink", | ||
"@openzeppelin=node_modules/@openzeppelin" | ||
], | ||
"verify": "TermRepoServicerHarness:certora/specs/termRepoServicer/rulesMintIntegrity.spec" | ||
} |
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,37 @@ | ||
{ | ||
"files": [ | ||
"certora/harness/TermRepoServicerHarness.sol", | ||
"contracts/TermAuctionBidLocker.sol", | ||
"contracts/TermController.sol", | ||
"contracts/TermRepoLocker.sol", | ||
"contracts/TermRepoToken.sol", | ||
"contracts/TermRepoRolloverManager.sol", | ||
"certora/harness/TermRepoCollateralManagerHarness.sol", | ||
"certora/helpers/DummyERC20A.sol" | ||
], | ||
"link": [ | ||
"TermRepoServicerHarness:termRepoToken=TermRepoToken", | ||
"TermRepoServicerHarness:termRepoLocker=TermRepoLocker", | ||
"TermRepoServicerHarness:termRepoCollateralManager=TermRepoCollateralManagerHarness", | ||
"TermRepoServicerHarness:termRepoRolloverManager=TermRepoRolloverManager", | ||
"TermRepoCollateralManagerHarness:termRepoLocker=TermRepoLocker" | ||
], | ||
"prover_args": [ | ||
"-depth 15", | ||
"-splitParallel true" | ||
], | ||
"solc_optimize": "50", | ||
"ignore_solidity_warnings": true, | ||
"loop_iter": "2", | ||
"optimistic_loop": true, | ||
"smt_timeout": "7200", | ||
"parametric_contracts": [ | ||
"TermRepoServicerHarness" | ||
], | ||
"rule_sanity": "basic", | ||
"packages": [ | ||
"@chainlink=node_modules/@chainlink", | ||
"@openzeppelin=node_modules/@openzeppelin" | ||
], | ||
"verify": "TermRepoServicerHarness:certora/specs/termRepoServicer/rulesRedemptionsReverts.spec" | ||
} |
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,42 @@ | ||
{ | ||
"files": [ | ||
"certora/harness/TermRepoServicerHarness.sol", | ||
"contracts/TermAuctionBidLocker.sol", | ||
"contracts/TermController.sol", | ||
"contracts/TermRepoLocker.sol", | ||
"contracts/TermRepoToken.sol", | ||
"contracts/TermRepoRolloverManager.sol", | ||
"certora/harness/TermRepoCollateralManagerHarness.sol", | ||
"certora/helpers/DummyERC20A.sol" | ||
], | ||
"link": [ | ||
"TermRepoServicerHarness:termRepoToken=TermRepoToken", | ||
"TermRepoServicerHarness:termRepoLocker=TermRepoLocker", | ||
"TermRepoServicerHarness:termRepoCollateralManager=TermRepoCollateralManagerHarness", | ||
"TermRepoServicerHarness:termController=TermController", | ||
"TermRepoServicerHarness:termRepoRolloverManager=TermRepoRolloverManager", | ||
"TermRepoCollateralManagerHarness:termRepoLocker=TermRepoLocker" | ||
], | ||
"prover_args": [ | ||
"-smt_initialSplitDepth 10", | ||
"-depth 20", | ||
"-mediumTimeout 2", | ||
"-splitParallel true", | ||
"-splitParallelTimelimit 7200", | ||
"-splitParallelInitialDepth 10" | ||
], | ||
"solc_optimize": "50", | ||
"loop_iter": "2", | ||
"optimistic_loop": true, | ||
"ignore_solidity_warnings": true, | ||
"smt_timeout": "7200", | ||
"parametric_contracts": [ | ||
"TermRepoServicerHarness" | ||
], | ||
"rule_sanity": "basic", | ||
"packages": [ | ||
"@chainlink=node_modules/@chainlink", | ||
"@openzeppelin=node_modules/@openzeppelin" | ||
], | ||
"verify": "TermRepoServicerHarness:certora/specs/termRepoServicer/rulesRolloverReverts.spec" | ||
} |
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
Oops, something went wrong.