Skip to content

Commit

Permalink
build: allocator (#51)
Browse files Browse the repository at this point in the history
* build: allocator

* fix: import

* build: compile allocator

* chore: comments

* fix: encode call
  • Loading branch information
Schlagonia authored Aug 20, 2024
1 parent 23ba741 commit aa47dd9
Show file tree
Hide file tree
Showing 6 changed files with 626 additions and 417 deletions.
4 changes: 3 additions & 1 deletion contracts/Managers/V3Deployer.sol
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,9 @@ contract V3Deployer is Positions {
}

if (_debtAllocator == address(0)) {
_debtAllocator = address(new DebtAllocatorFactory(_roleManager));
_debtAllocator = DebtAllocatorFactory(
_fromAddressProvider(ALLOCATOR_FACTORY)
).newDebtAllocator(_roleManager);
}

projects[_id] = Project({
Expand Down
Loading

0 comments on commit aa47dd9

Please sign in to comment.