Lossless Wrapped ERC20 Ownable
Overview
The Lossless Wrapped ERC20 Ownable smart contract is one of the types of wrapping protections a protocol is able to choose.
By default it has all the related protection for the Lossless Core Protocol, allowing any protocol to protect their tokens without the need of relaunching. Once the contract is deployed any user has the ability to swap and lock the original token for a wrapped version of it.
Over the wrapped tokens, any user is able to generate reports, stake on said reports, and the report be voted by Lossless and the Committee.
This smart contracts inherits all the functions and logic from Lossless Wrapped ERC20 Ownable and extends it’s functionality with the ability to have an admin and recovery admin. These two roles are able to trigger specific functions in order to set new parameters on specific workflows.
Workflow
Variables
recoveryAdmin
recoveryAdmin
recoveryAdminCandidate
recoveryAdminCandidate
admin
admin
timelockPeriod
timelockPeriod
losslessTurnOffTimestamp
losslessTurnOffTimestamp
Functions
setLosslessAdmin
setLosslessAdmin
transferRecoveryAdminOwnership
transferRecoveryAdminOwnership
acceptRecoveryAdminOwnership
acceptRecoveryAdminOwnership
proposeLosslessTurnOff
proposeLosslessTurnOff
executeLosslessTurnOff
executeLosslessTurnOff
executeLosslessTurnOn
executeLosslessTurnOn
Last updated