StrategyBase
This is an abstract contract which has common protection strategy variables and functions.
Contract can be found here:
guardian
controller
event GuardianSet(address indexed newGuardian)
event Paused(address indexed token, address indexed protectedAddress)
event Unpaused(address indexed token, address indexed protectedAddress)
onlyProtectionAdmin
Checks if
msg.sender
is protectionAdmin
for the token.setGuardian
function setGuardian(Guardian newGuardian) external
Sets guardian contract.
Parameters:
Name | Type | Description |
---|---|---|
newGuardian | Guardian | New guardian contract address. |
Last modified 1yr ago