-
Notifications
You must be signed in to change notification settings - Fork 146
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
[WIP] Horizon: add escrow and payments #968
Conversation
[WIP] Horizon: add escrow and payments
🚨 Report Summary
For more details view the full report in OpenZeppelin Code Inspector |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## horizon #968 +/- ##
==========================================
Coverage ? 92.70%
==========================================
Files ? 46
Lines ? 2370
Branches ? 426
==========================================
Hits ? 2197
Misses ? 173
Partials ? 0
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
} | ||
|
||
// approve a data service to collect funds | ||
function approveCollector(address dataService, uint256 amount) external { |
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.
A payer could bypass the thawing by re-approving a collector for a 0 amount.
I think we should not allow re approvals for amounts that are smaller than the current allowance.
If you want to reduce the allowance it should go through the thawing period.
No description provided.