TEDDY_d
for a deposit d
made through a frontend with kickback ratek
, the frontend receives(1-k)*TEDDY_d
and the user receivesk * TEDDY_d
.provideToSP(uint _amount, address _frontEndTag)
. This tag will remain attached to a user's deposit even if they use another frontend. The tag can also be a 0 address, meaning the user will receive 100% of their accrued TEDDY rewards.registerFrontEnd(uint _kickbackRate)
function on the Stability Pool smart contract. The kickback rate is a value between [0,1] (e.g. 0.8 = 80% kickback rate).