Increasing Reward Relayer
Contract that relays SF rewards from the treasury to any other address
The
IncreasingRewardRelayer
is a contract meant to pull funds from the StabilityFeeTreasury
and send them to a custom address. The relayer can only be called by a specific address that requests payments.Variables
refundRequestor
- address that can request fundslastReimburseTime
- timestamp of the last reimbursementreimburseDelay
- enforced gap between reimbursements
Functions
modifyParameters
- modify contract parametersreimburseCaller(feeReceiver: address)
- send SF rewards from the treasury to thefeeReceiver
refundRequestor
is the only address that can call reimburseCaller
and request a stability fee payment from the treasury.reimburseCaller
can only be called again after at least reimburseDelay
seconds have passed since the last call.