SPA Buyback
State Variables
veSpaRewarder
address public veSpaRewarder;
rewardPercentage
uint256 public rewardPercentage;
oracle
address public oracle;
Functions
constructor
initialize
Name
Type
Description
withdraw
Name
Type
Description
updateRewardPercentage
Name
Type
Description
updateVeSpaRewarder
Name
Type
Description
updateOracle
Name
Type
Description
buyUSDs
Name
Type
Description
getSPAReqdForUSDs
Name
Type
Description
Name
Type
Description
buyUSDs
Name
Type
Description
distributeAndBurnSPA
getUsdsOutForSpa
Name
Type
Description
Name
Type
Description
_getUsdsOutForSpa
Name
Type
Description
Name
Type
Description
_getOracleData
Name
Type
Description
_isValidRewardPercentage
Name
Type
Description
Events
BoughtBack
Withdrawn
SPARewarded
SPABurned
RewardPercentageUpdated
VeSpaRewarderUpdated
OracleUpdated
Errors
CannotWithdrawSPA
InsufficientUSDsBalance
Was this helpful?