lira-dao / ecosystem

2 stars 4 forks source link

[dex] intercept stake event for referral bonus #62

Closed fredev closed 3 months ago

fredev commented 3 months ago

Intercept staking events on time lock staking pools

If the wallet staking for the first time has been referred, a reward equal to 10% of the value staked must be assigned to both the staking wallet and the referrer

The rewards must be saved in a postgres table to be subsequently sent with the following data

nicholas-aternum commented 3 months ago

I added the address of the staked token to the basic specifications, because the reward will be sent in that currency.