You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/access-control-audit.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,8 +17,8 @@ signature requirement on any particular address.
17
17
|`initialize`| Deployer/authorized setup only (implicit — not written down anywhere) | none |`admin.require_auth()`|**Mismatch, fixed** — see "`initialize` has no access control" below |
18
18
|`fund`| Sponsor-only |`sponsor.require_auth()`| unchanged | Match |
19
19
|`release`| Admin-only |`require_admin(&env)?.require_auth()`| unchanged | Match |
20
-
|`refund` (before `deadline`) | Admin-only |`require_admin(&env)?.require_auth()`| unchanged | Match |
21
-
|`refund` (at/after `deadline`) | Permissionless (deliberate) | none | unchanged | Match — see [refund analysis](./refund-permissionless-analysis.md)|
|`refund` (at/after `deadline + GRACE_PERIOD`) | Permissionless (deliberate) | none | unchanged | Match — see [refund analysis](./refund-permissionless-analysis.md). The permissionless window opens at `deadline + GRACE_PERIOD`, not at `deadline` itself; the 14-day `GRACE_PERIOD` was introduced by [#49](https://github.com/MergeFi/contracts/issues/49) to close a race where a sponsor could call permissionless `refund()` right at `deadline` to claw back funds from a contributor whose `release()` had already landed.|
22
22
|`extend_deadline` (new, this PR) | Sponsor-only, monotonic | n/a |`escrow.sponsor.require_auth()` + `new_deadline` must strictly increase | Match (new function) |
23
23
|`get_escrow`| Permissionless (view) | none | unchanged | Match |
24
24
|`get_admin`| Permissionless (view) | none | unchanged | Match |
0 commit comments