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

Execute VOLT <> FEI OTC #985

Merged
merged 11 commits into from
Jul 26, 2022
Merged

Execute VOLT <> FEI OTC #985

merged 11 commits into from
Jul 26, 2022

Conversation

thomas-waite
Copy link
Contributor

Execute VOLT <> FEI OTC

Transfers the VOLT to the TC timelock, approves the VOLT OTC escrow contract, executes the swap and then burns the returned 10.17M FEI.

@thomas-waite thomas-waite self-assigned this Jul 19, 2022
@thomas-waite thomas-waite requested a review from a team as a code owner July 19, 2022 13:53
@thomas-waite thomas-waite changed the base branch from develop to withdraw-eth July 19, 2022 13:54
@eswak
Copy link
Contributor

eswak commented Jul 19, 2022

👍

Don't forget to deprecate volt deposit, volt oracle, and remove the deposit from CR oracle

Base automatically changed from withdraw-eth to develop July 19, 2022 16:40
ElliotFriedman
ElliotFriedman previously approved these changes Jul 20, 2022
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!

eswak
eswak previously approved these changes Jul 26, 2022
await forceEth(voltSafe);
await contracts.fei
.connect(voltSafeSigner)
.transfer(addresses.voltOTCEscrow, ethers.constants.WeiPerEther.mul(10_170_000));
Copy link
Contributor

Choose a reason for hiding this comment

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

not a big deal but you could have used FEI_LOAN_PAID_BACK here instead of ethers.constants.WeiPerEther.mul(10_170_000)

@thomas-waite thomas-waite dismissed stale reviews from eswak and ElliotFriedman via b77abb1 July 26, 2022 11:13
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!

@thomas-waite thomas-waite merged commit 6908dcd into develop Jul 26, 2022
@thomas-waite thomas-waite deleted the volt-to-escrow branch July 26, 2022 19:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants