-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fees #65
base: development
Are you sure you want to change the base?
Fees #65
Conversation
uint256 exitFeeRecipientShare; | ||
uint256 exitFee; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you verify this does not cause any storage corruption issues when upgrading existing contracts to this? @Evert0x
test/advancedPoolFunctionality.ts
Outdated
}); | ||
describe("Exit fee", async () => { | ||
it("Setting the exit fee should work", async () => { | ||
const tenPercent = constants.One.mul(10).pow(17) // 10% |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
parseEther("0.1");
might be easier to understand. But its not really an issue.
test/basicPoolFunctionality.ts
Outdated
const fee = constants.One.mul(10).pow(16).mul(4); // 4% | ||
const hundrerdPercent = constants.One.mul(10).pow(18) // 100% |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
parseEther()
Implement exit fee with percentage for FeeRecipient