{"repo":"Idle-Labs/idle-tranches","free":true,"listed":false,"github":"https://github.com/Idle-Labs/idle-tranches","clone":"git clone https://github.com/Idle-Labs/idle-tranches.git","description":"Idle Perpertual Yield Tranches contract implementation / Pareto credit vaults","language":"Solidity","stars":55,"topics":["defi","ethereum"],"license":null,"category":"blockchain-web3","readme_excerpt":"Idle Perpetual Yield Tranches Intro The aim of Idle Perpetual Yield Tranches is to pool capital of users (eg DAI), deposit it into a lending provider and split the interest received between 2 classes of users with different risk profiles. One will gain more interest and will be more risky (BB or junior tranche) and the other will have a lower APR but more safety (AA or senior tranche). In the case of an hack or a loss of funds of the lending provider integrated (or any other protocol integrated by this provider), all funds still available will be used to refund senior tranche holders first with the aim of making them whole, and with remaining funds, if any, junior holders after. There are no locking period or epochs and users are free to enter and exit at any time, the interest earned (and governance tokens, after being sold in the market) will be split between the two classes according to a dynamic ratio called trancheAPRSplitRatio which is updated, based on the TVL of both tranches, at each deposit/redeem. The apr is variable for both classes of tranches. Docs https://docs.idle.finance/developers/perpetual-yield-tranches Architecture The main contract which will be used by users is IdleCDO which allows to deposit underlying and mint tranche tokens (ERC20), either AA or BB, and redeem principal+interest from it. The IdleCDO uses an IIdleCDOStrategy for interacting with a specific lending protocol. Governance tokens collected as rewards, are not redistributed to users directl","default_branch":null,"files":null,"tree":[],"storefront":"/r/Idle-Labs","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Idle-Labs/idle-tranches/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}