What are the benefits for partners?
Yearn vaults earn fees, and partners get a 50% split of the fees earned by the TVL that they have direct to Yearn vaults.
What is required to onboard a new partner?
Not much, we just need a way to identify the correct list of user addresses who deposit into Yearn vaults from your frontend. One way to do this is to deploy a Yearn 4626 Router contract that acts as a passthrough to Yearn vaults, and this Router contract will be specific to your partnership.
If my protocol becomes a partner, how do I know the amount of fees accrued to my protocol? When do I get my payout?
Easy, Yearn will provide a login for you to view a dashboard showing the fees accumulated to your protocol. You receive a payout each month to your protocol address.
How does Yearn sum all the fees owed to a partner?
In the background, envio is used to track all deposit, withdraw, and transfer events for relevant Yearn vaults. The list of addresses who deposited into Yearn from your frontend serves as a whitelist to focus only on the events related to the movement of Yearn vault tokens for those users. By calculating the vault PPS (price per share) at every deposit, withdraw, or transfer, it is possible to sum the total fees accrued by a user piece-by-piece over time.
What if a single user deposits into Yearn from two different partner websites?
Yes, that is a tricky situation for sure. Yearn does its best to calculate the fees owned to each party, our backend algo for this is improving every week. The goal is to keep the fee ratio split evenly between N partners, where deposits are attributed to a single partner but withdrawals withdraw from all partners (maintaining the same fee split ratio determined by deposits). If your calculations differ, we are happy to discuss!