Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions contracts/LpTokenFactory.sol
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,9 @@ contract LpTokenFactory is LpTokenFactoryInterface {
_append("Av2-", IERC20Metadata(l1Token).symbol(), "-LP"), // LP Token Symbol
IERC20Metadata(l1Token).decimals() // LP Token Decimals
);
lpToken.addMember(1, msg.sender); // Set this contract as the LP Token's minter.
lpToken.addMember(2, msg.sender); // Set this contract as the LP Token's burner.
lpToken.addMinter(msg.sender); // Set the caller as the LP Token's minter.
lpToken.addBurner(msg.sender); // Set the caller as the LP Token's burner.
lpToken.resetOwner(msg.sender); // Set the caller as the LP Token's owner.

return address(lpToken);
}
Expand Down