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

extract common functions/variables into inheritable YakContract #36

Closed
wants to merge 3 commits into from

Conversation

fsboehme
Copy link
Contributor

@fsboehme fsboehme commented Oct 5, 2021

My stab at #1 YakLibrary for helpers. I'm new to working with solidity, so please let me know if I've taken the wrong approach. Happy to learn!

Note the todo in contracts/adapters/UnilikeAdapter.sol – I wasn't sure how to override the FEE_DENOMINATOR state variable, so I used a different name OVERRIDE_FEE_DENOMINATOR temporarily.

@halo3mic
Copy link
Member

@fsboehme I like your solution and would like to merge it, but there are some merge conflicts. Is it possible to resolve them?

@halo3mic halo3mic closed this Jan 17, 2023
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.

2 participants