StrategyBase
Last updated
Last updated
This is an abstract contract which has common protection strategy variables and functions.
Contract can be found here:
guardian
controller
Lossless guardian contract.
Lossless controller contract.
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
Sets guardian contract.
Parameters:
newGuardian
Guardian
New guardian contract address.