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

tests ok #6

Merged
merged 2 commits into from
Sep 16, 2022
Merged

tests ok #6

merged 2 commits into from
Sep 16, 2022

Conversation

toufic0710
Copy link
Member

adding a function which enable burning of dbit and dgov

Edoumou
Edoumou previously approved these changes Sep 16, 2022
@@ -255,4 +255,8 @@ abstract contract DebondToken is IDebondToken, ERC20, GovernanceOwnable {
);
exchangeAddress = _exchangeAddress;
}

function burn(uint amount) external {
Copy link

Choose a reason for hiding this comment

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

I considered that the issue was the burn function was missing in the DebondToken contract. In that case, the burn function added by @toufic0710 to burn Debond tokens has no issue since it's similar to the mint function that was already there. Therefore, this function can be used safely.

@drikssy drikssy merged commit f3f4c7a into main Sep 16, 2022
@drikssy drikssy deleted the new_unstaking branch September 16, 2022 14:37
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.

None yet

3 participants