Skip to content
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

swapper changes #257

Merged
merged 12 commits into from
Oct 19, 2021
Merged

swapper changes #257

merged 12 commits into from
Oct 19, 2021

Conversation

Joeysantoro
Copy link
Contributor

@Joeysantoro Joeysantoro commented Oct 18, 2021

From auditor feedback, add exitPool and withdrawERC20 functionality, as well as make the min token a requirement.

Also:

  • Adds events
  • moved init timer to after the pool is initialized
  • adds a helper method for exit and transferAll
  • calls transferAll of tokenReceived upon first pool creation

TODO:

  • finalize unit tests
  • finalize e2e tests
  • deploy contracts
  • verify contracts

kryptoklob
kryptoklob previously approved these changes Oct 19, 2021
@kryptoklob
Copy link
Contributor

Looks good except that e2e tests are failing.

@@ -42,7 +42,7 @@ describe('e2e-buybacks', function () {
doLogging && console.log(`Environment loaded.`);
});

describe('PCV Equity Minter + LBP', async function () {
describe.only('PCV Equity Minter + LBP', async function () {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove .only

ElliotFriedman
ElliotFriedman previously approved these changes Oct 19, 2021
Copy link
Contributor

@ElliotFriedman ElliotFriedman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

ElliotFriedman
ElliotFriedman previously approved these changes Oct 19, 2021
Copy link
Contributor

@ElliotFriedman ElliotFriedman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@Joeysantoro Joeysantoro merged commit 5289145 into develop Oct 19, 2021
@Joeysantoro Joeysantoro deleted the feat/LBPSwapperFixes branch October 19, 2021 19:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants