Compounder flow

  • Rewards harvested from the farm are sent to the Compounder contract.

  • The contract converts the rewards into underlying assets of the LP token. The calculation of the amount of assets to be swapped is done through the optimalAmounts function. Do note that the design of this function may vary depending on the specific protocol being used.

  • Once the LP tokens have been converted, they are sent back to the ProtocolSynthChef for compounding.

For more detailed information, we recommend exploring the protocol documentation and contracts.

Last updated