Comment on page
This PalPool has the same properties and methods of a normal PalPool but has a complementary method. claimFromAave() allows the Pool to claim the rewards from the Aave Safety Module and directly stake them back in the Safety Module. In this manner, the staking rewards are fairly distributed to the users.
This claimFromAave() method is called before each user-facing method (deposit, withdraw, borrow, …).