---
# System prepended metadata

title: Liqee Protocol on the Rinkeby

---

# Liqee Protocol on the Rinkeby


### Operator for Liqee on Rinkeby

| Contract Name                       | Contract Address                           |
| ----------------------------------- | ------------------------------------------ |
| liqeeOperator                       | 0x25AB64Ca14678F8a8F4F6047BDf6AE95928660DE |
| liqeeVault                          | 0x6F4b714e5a9B32391E0c1EF177BccCce1B210eD6 |
| strategyDepositAndBorrow            | 0xD44DE315762c9f5c585b23A4E8a3B1eBb10A79F2 |
| strategyRepayAndWithdraw            | 0xd3EefE9AEcC4F538434BAD29d82baBe7DA6C2C86 |
| strategyDepositAndBorrowAndTransfer | 0xa498e01C2192AabdC6eB5163A45b64bff9E717B9 |


#### Parameters for execute strategy

```
function executeStrategy(
        uint256 _strategyIndex,
        bytes memory _vaultData,
        bytes memory _traderData,
        bytes memory _makerData
    ) 
```

- `_strategyIndex` for Liqee Operator, 
	- 0 is `strategyDepositAndBorrow`
	- 1 is `strategyRepayAndWithdraw`
	- 2 is `strategyDepositAndBorrowAndTransfer`
- `_vaultData` 
	- For strategy `strategyDepositAndBorrow` and `strategyRepayAndWithdraw`, which includes:
		```
		  const depositData = abiCoder.encode(
			["address", "uint256"],
			[info.qtUSDC, ethers.utils.parseUnits("1000.0", 18)]
		  );

		  const borrowData = abiCoder.encode(
			["address", "uint256"],
			[info.qUSDC, ethers.utils.parseUnits("800.0", 6)]
		  );

		  const vaultData = abiCoder.encode(
			["bytes", "bytes"],
			[depositData, borrowData]
		  );
		```
	- For strategy `strategyDepositAndBorrowAndTransfer`, it has additional `transferData`
		```  
		  const transferData = abiCoder.encode(
			["address", "address", "uint256"],
			[info.USDC, recipient, ethers.utils.parseUnits("1", 6)]
		  );

		  const vaultData = abiCoder.encode(
			["bytes", "bytes", "bytes"],
			[depositData, borrowData, transferData]
		  );
		```

- `_traderData` Set to `0x0` as `strategyDepositAndBorrow` or `strategyRepayAndWithdraw` does not involve any trader operation
- `_makerData` Set to `0x0` as `strategyDepositAndBorrow` or `strategyRepayAndWithdraw` does not involve any maker operation

#### Execute strategyDepositAndBorrow
Deposit 1000 tUSDC and borrow 800 USDC

https://rinkeby.etherscan.io/address/0x25AB64Ca14678F8a8F4F6047BDf6AE95928660DE#writeProxyContract

12.executeStrategy

_strategyIndex	
0

_vaultData	0x000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000040000000000000000000000000f2a8730b8b94d7fc2c2c0440b3fe48db2ddbbfe900000000000000000000000000000000000000000000003635c9adc5dea000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000d47d45b1639b8b11c0989b211ae81218f3ec658c000000000000000000000000000000000000000000000000000000002faf0800

_traderData
0x0	

_makerData
0x0


#### test for strategyDepositAndBorrow
Deposit 1000 tUSDC and borrow 800 USDC
https://rinkeby.etherscan.io/tx/0x6068c84f2abd254a0dd7485b31b7b6e84e005c38114a524ecb08974be438a280

## Liqee Contracts

| Contract Name      | Contract Address                           | Link                                                                                    |
| ------------------ | ------------------------------------------ | --------------------------------------------------------------------------------------- |
| Proxy Admin        | 0x08E8ecaFb48693d4B187570F0b17168AC97832bb | [link](https://rinkeby.etherscan.io/address/0x08E8ecaFb48693d4B187570F0b17168AC97832bb) |
| Oracle             | 0xd0718e64FAEda9feDca924c2C7e5b663d18B6ecA | [link](https://rinkeby.etherscan.io/address/0xd0718e64FAEda9feDca924c2C7e5b663d18B6ecA) |
| Controller         | 0x799807F8d5a98b43fE7AEe0D9809B1B1ABb1c79A | [link](https://rinkeby.etherscan.io/address/0x799807F8d5a98b43fE7AEe0D9809B1B1ABb1c79A) |
| MSD Controller     | 0xeF089A51044fE6C7D1De0E3af6bd1754bC894AED | [link](https://rinkeby.etherscan.io/address/0xeF089A51044fE6C7D1De0E3af6bd1754bC894AED) |
| Reward Distributor | 0xE3bE62a7dcD673b0Fb503555f0BaBc6a1EdE2F72 | [link](https://rinkeby.etherscan.io/address/0xE3bE62a7dcD673b0Fb503555f0BaBc6a1EdE2F72) |
| Lending Data       | 0xe0172037feEEbBfd3917d9e569122701206c8332 | [link](https://rinkeby.etherscan.io/address/0xe0172037feEEbBfd3917d9e569122701206c8332) |
| qETH Impl          | 0x3fFb24f3866Ff941763aEd9A1aAAB5BE124c4775 |                                                                                         |
| qETH               | 0xACE71A0D363E2D0CF4F3FE5f594Ea511017F35E2 | [link](https://rinkeby.etherscan.io/address/0xACE71A0D363E2D0CF4F3FE5f594Ea511017F35E2) |
| USDC               | 0x4ccBe175dAc644af176C4635A7E9E27F433211F6 | [link](https://rinkeby.etherscan.io/address/0x4ccBe175dAc644af176C4635A7E9E27F433211F6) |
| qUSDC Impl         | 0x26BeDE176b3772Ac812797840232d8B071F123c0 |                                                                                         |
| qUSDC              | 0xD47D45b1639B8B11C0989b211Ae81218f3Ec658c | [link](https://rinkeby.etherscan.io/address/0xD47D45b1639B8B11C0989b211Ae81218f3Ec658c) |
| tUSDC              | 0xB4d37826b14Cd3CB7257A2A5094507d701fe715f | [link](https://rinkeby.etherscan.io/address/0xB4d37826b14Cd3CB7257A2A5094507d701fe715f) |
| qtUSDC             | 0xf2a8730b8b94D7fC2c2C0440b3fE48Db2ddbbFe9 | [link](https://rinkeby.etherscan.io/address/0xf2a8730b8b94D7fC2c2C0440b3fE48Db2ddbbFe9) |
| USX                | 0xB7b252aC1e886F1dB5663627EaFc23250537e6b4 | [link](https://rinkeby.etherscan.io/address/0xB7b252aC1e886F1dB5663627EaFc23250537e6b4) |
| qMUSX Impl                   |0x576b5cf6cb78fCB41347226E2a44b75A018269Cb|                                                                                         |
| qMUSX              | 0x827e70351279148Cc23F6950d14914A9c1Fe3093 | [link](https://rinkeby.etherscan.io/address/0x827e70351279148Cc23F6950d14914A9c1Fe3093) |
| qUSX               | 0xA15346c48dbe326549FF7a941E5e957aD8ca3ACA | [link](https://rinkeby.etherscan.io/address/0xA15346c48dbe326549FF7a941E5e957aD8ca3ACA) |
