Skip to content

Commit

Permalink
feat: Cleanup and more unit testing (#37)
Browse files Browse the repository at this point in the history
* feat: Latest Maple Proxy Factory

- no need for nonces or create2 for debt lockers

* feat: More Cleanup

- take latest `maple-proxy-factory` (to be discussed)
- added missing prototypes to `IDebtLockerFactory` interface
- fixed some test names
- test TODOs
- reordered some functions

* feat: Add missing unit tests (SC-4140) (#30)

* feat: set up unit testing

* feat: set up unit testing

* feat: finished unit testing, all passing

* chore: rebase and do fixes

* fix: test cases, dos failing

* fix: dos prevention test

Co-authored-by: Michael De Luca <[email protected]>
Co-authored-by: JG Carvalho <[email protected]>
  • Loading branch information
3 people authored Dec 1, 2021
1 parent 5ac7b36 commit 7bd18c1
Show file tree
Hide file tree
Showing 6 changed files with 385 additions and 95 deletions.
2 changes: 1 addition & 1 deletion contracts/DebtLocker.sol
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { IERC20Like, IMapleGlobalsLike, IMapleLoanLike, IPoolLike, IPoolFactoryL

import { DebtLockerStorage } from "./DebtLockerStorage.sol";

/// @title DebtLocker holds custody of LoanFDT tokens.
/// @title DebtLocker interacts with Loans on behalf of PoolV1
contract DebtLocker is IDebtLocker, DebtLockerStorage, MapleProxied {

/********************************/
Expand Down
Loading

0 comments on commit 7bd18c1

Please sign in to comment.