Integration example
Developers > Yield Tranches > Integration example
Routing Contract
One way for external protocols to integrate Yield Tranches is to create a Routing Contract around the IdleCDO contracts.
How it works
Users deposit funds into the Routing Contract
The Routing contract moves funds deposited into the
IdleCDOcontracts on behalf of usersIdleCDO contract issues
IdleCDO_AA_StrategyName(if Senior tranche) orIdleCDO_BB_StrategyName(if Junior tranche) tokens to users
Example
An example of a Routing contract used by ShapeShift to integrate Best Yield and Yield Tranches, with related tests, is available on GitHub.
Integrators program
Protocols deploying funds into the Yield Tranches are eligible to join the Integrators program.
Last updated
Was this helpful?
