-
Notifications
You must be signed in to change notification settings - Fork 50
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
feat: Add LSP7Votes and LSP8Votes extension to support LSP-based Governance #980
base: develop
Are you sure you want to change the base?
Conversation
force: force, | ||
data: data | ||
}); | ||
_update(address(0), to, amount, force, data); |
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.
Let's wait for #974 to be merged first, as the Core
contract does not exist anymore,
if (fromBalance < value) { | ||
revert LSP7AmountExceedsBalance(fromBalance, from, value); | ||
} | ||
unchecked { |
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.
Nice this is inspired from OZ 🫡
*/ | ||
function checkpoints( | ||
address account, | ||
uint32 pos |
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.
What does pos
stands for? Suggest a more explicit param name
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.
LGTM
What does this PR introduce?
🚀 Feature
PR Checklist
npm run lint
&&npm run lint:solidity
(solhint)npm run format
(prettier)npm run build
npm run test