pylon-protocol/corecontracts define Pylon interest redirection logic, of which:
- any UST deposited to the
Poolcontract is deposited to Anchor, and returned aUST from resulting contracts is held by this contract.
Poolcontract returns DP tokens (Deposit Provider tokens) instead, which are pegged 1:1 to UST.
Poolcontract queries new
exchange_rateparameters from Anchor, and uses this information to calculate how much UST should be returned for DP token redemptions and interest redirection, respectively.
virtual exchange rateparameter calculated by the
Exchange Ratecontract, which charges a 10% fee for all generated interest.
- collected fees are sent to the
pylon-protocol/token/collectorcontract to be used for MINE buybacks for MINE governance stakers.