-
Notifications
You must be signed in to change notification settings - Fork 0
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
add base XPToken with IXPProvider interface #10
Conversation
c6a0310
to
bce7a88
Compare
"verify": "certoraRun certora/certora.conf", | ||
"verify": "pnpm verify:rewards_streamer_mp && pnpm verify:xp_token", | ||
"verify:rewards_streamer_mp": "certoraRun certora/confs/RewardsStreamerMP.conf", | ||
"verify:xp_token": "certoraRun certora/confs/XPToken.conf", |
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.
We might want to introduce separate CI tasks for these in the github action. But can do that in a follow-up PR
src/XPToken.sol
Outdated
|
||
function balanceOf(address account) public view returns (uint256) { | ||
uint256 userTotalXPContribution = 0; | ||
uint256 totalXPContribution = 0; |
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.
I think we wanted to rename this to shares
no?
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.
@0x-r4bbit yes I renamed the storage vars but not these local ones, I'm doing it now
@gravityblast can you run |
c615a4e
to
75e34f0
Compare
…d of contribution
75e34f0
to
c77c795
Compare
Description
Describe the changes made in your pull request here.
Checklist
Ensure you completed all of the steps below before submitting your pull request:
pnpm adorno
?pnpm verify
?closes #41