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

fix: correct typos #92

Merged
merged 1 commit into from
Apr 6, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 3 additions & 3 deletions SPECIFICATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ The base strategy is a simple abstract contract designed to be inherited by the
### Modifiers
`onlySelf`: This modifier is placed on callback functions for the TokenizedStrategy to use during deposits, withdraws, reports and tends. The modifier should revert if msg.sender is not equal to itself. In order for a call to be forwarded to the TokenizedStrategy it must not be defined in the Strategy and hit the fallback function which will delegatecall the TokenizedStrategy. If within that call, the TokenizedStrategy makes an external call back to the BaseStrategy the msg.sender of that call will be the original caller, which should be the Strategy itself.

`onlyManagement`: Should be placed on function that only the Strategies specific management address can call. This uses the isManagement(address) function defined in TokenizedStrategy by sending the original msg.sender address.
`onlyManagement`: Should be placed on function that only the Strategies specific management address can call. This uses the requireManagement(address) function defined in TokenizedStrategy by sending the original msg.sender address.

`onlyKeepers`: Should be placed on functions that only the Strategies specific management or keeper can call. This uses the isManagementOrKeeper(address) defined in TokenizedStrategy sending the original msg.sender address.
`onlyKeepers`: Should be placed on functions that only the Strategies specific management or keeper can call. This uses the requireKeeperOrManagement(address) defined in TokenizedStrategy sending the original msg.sender address.

`onlyEmergencyAuthorized`: Should be placed on functions that only the strategy specific management OR emergencyAdmin can call. This uses the isEmergencyAuthorized(address) function defined in TokenizedStrategy by sending the original msg.sender address.
`onlyEmergencyAuthorized`: Should be placed on functions that only the strategy specific management OR emergencyAdmin can call. This uses the requireEmergencyAuthorized(address) function defined in TokenizedStrategy by sending the original msg.sender address.

### Variables

Expand Down