Wrapped SmartTokens
Wrapped rON/rOFF
wrappedSmartToken
State Variables
sellingToken
address private sellingToken;isWrappedX
bool private isWrappedX;timeout
uint256 private timeout;SCALING_FACTOR
uint256 private constant SCALING_FACTOR = 10 ** 18;orchestrator
address private orchestrator;premiumPercentage
premiumDenominator
signers
currentDiscountRates
_activeLoan
Functions
onlyOrchestrator
CustomNonReentrant
constructor
riskInitialize
initialize
_authorizeUpgrade
flashLoanAlt
Name
Type
Description
flashLoan
Name
Type
Description
setTimeout
discountRateSetter
setDiscountRateOrchestrator
setDiscountRate
setSigners
setPremiumPercentage
setOrchestator
getFlashloanPremium
getIsWrappedX
getTimeout
getDiscountRate
getSigners
calculateUserShare
refundUnwantedTokens
getConversionRate
getOrchestrator
verifyAndDecode
Name
Type
Description
Name
Type
Description
burn
Name
Type
Description
Name
Type
Description
burnTo
Name
Type
Description
Name
Type
Description
burnAll
Name
Type
Description
burnAllTo
Name
Type
Description
Name
Type
Description
withdraw
Name
Type
Description
Name
Type
Description
withdrawTo
Name
Type
Description
Name
Type
Description
withdrawAll
Name
Type
Description
withdrawAllTo
Name
Type
Description
Name
Type
Description
Errors
WrappedSmartToken__Not_Implemented
WrappedSmartToken__PriceFeedOutdated
WrappedSmartToken__InvalidSigner
WrappedSmartToken__InvalidDiscount
WrappedSmartToken__InvalidOrchestrator
WrappedSmartToken__ReEntrantCall
Structs
PriceFeed
DiscountRates
Enums
LoanType
Last updated
