# Scheme of Contracts

### Zapping

<figure><img src="https://content.gitbook.com/content/c8CwAEN8ihh81y90gyG1/blobs/2lOtC6Txbta0xSy3ur6Y/image.png" alt=""><figcaption><p>Zap dLP protocol flow</p></figcaption></figure>

### Lending pool, rTokens, MultiFeeDistribution

<figure><img src="https://content.gitbook.com/content/c8CwAEN8ihh81y90gyG1/blobs/CBu16eP1VzU4eKvTX0Pn/image.png" alt=""><figcaption><p>Lending pool, rTokens, MultiFeeDistribution protocol flow</p></figcaption></figure>

### Staking Flow

<figure><img src="https://content.gitbook.com/content/c8CwAEN8ihh81y90gyG1/blobs/WNyl93SOiNjrE5b3z4XX/image.png" alt=""><figcaption><p>Locking mechanics &#x26; rewards MultiFeeDsitributor.Sol</p></figcaption></figure>

### Withdraw expired Locks (dLP)

<figure><img src="https://content.gitbook.com/content/c8CwAEN8ihh81y90gyG1/blobs/j1RsyEsduVg8n6X01zeF/image.png" alt=""><figcaption><p>Withdraw expired locks MultiFeeDsitributor.Sol</p></figcaption></figure>

### Mint earnings

<figure><img src="https://content.gitbook.com/content/c8CwAEN8ihh81y90gyG1/blobs/eWlM66AXnTM5jGt17xGk/image.png" alt=""><figcaption><p>Mint earnings MultiFeeDistributor.Sol</p></figcaption></figure>

### Withdraw earnings

<figure><img src="https://content.gitbook.com/content/c8CwAEN8ihh81y90gyG1/blobs/YOY2zM6pWAa21snV7Cmz/image.png" alt=""><figcaption><p>Withdraw earnings MultiFeeDistributor.Sol</p></figcaption></figure>

### ETH zapping flow

<figure><img src="https://content.gitbook.com/content/c8CwAEN8ihh81y90gyG1/blobs/wksg4Y6Q1SsfGfxSUtfU/image.png" alt=""><figcaption><p>LockZap.Sol</p></figcaption></figure>

### Loop deposits

<figure><img src="https://content.gitbook.com/content/c8CwAEN8ihh81y90gyG1/blobs/vl8oHpWLR7JQUOU7FKTL/image.png" alt=""><figcaption><p>Leverager.Sol</p></figcaption></figure>

### Stargate Integration

<figure><img src="https://content.gitbook.com/content/c8CwAEN8ihh81y90gyG1/blobs/am0DkF8LK1vAAW28hbDC/image.png" alt=""><figcaption><p>Stargate</p></figcaption></figure>

### Bounty System

<figure><img src="https://content.gitbook.com/content/c8CwAEN8ihh81y90gyG1/blobs/juEHKfglho4xTL9OME0W/image.png" alt=""><figcaption><p>BountyManager.Sol</p></figcaption></figure>

### Uniswap Oracle

<figure><img src="https://content.gitbook.com/content/c8CwAEN8ihh81y90gyG1/blobs/heeTTRuBsXN1ziQq9PEL/image.png" alt=""><figcaption><p>Uni V2/V3 Twap Oracle</p></figcaption></figure>
