Minting WBTC Tranches

Instructions

1. Find the smart contract address for the WBTC bond you wish to mint tranche tokens for.

2. Open our UniV3lLoanRouter smart contract on Etherscan, ideally in a new tab or window.

3. Select the "Contract" tab.

4. Select the "Write Contract" button.

5. Use the "Connect to Web3" button to connect your Web3 wallet.

6. Expand "3. wrapAndBorrow".

7. For the "underlyingAmount (uint256)" field, enter the amount of WBTC you would like to collateralize.

WBTC's contract has a 8-decimal point value. This means that 8 digits come after the decimal point. When inputting an amount ensure that you add enough digits to meet this requirement.

Example: 4.25 WBTC would be formatted as 425000000

8. Enter the smart contract address for your desired bond, from Step 1, into the "bond (address)" field.

9. Enter the smart contract address for Tether (USDT) into the "currency (address)" field.

Tether USD (USDT): 0xdAC17F958D2ee523a2206206994597C13D831ec7

10. Enter "0,0,0" for the "sales (uint256[])" field.

11. Enter "0" for the "minOutput" field.

12. Review your entries for accuracy before proceeding.

13. Select the "Write" button and finish the transaction process in your Web3 wallet.

If you receive a gas estimation warning due to the possibility of the transaction failing, please review your entries again for accuracy. If you have trouble with this tutorial please reach out in our Discord to a team member for help.

14. A successful transaction should yield a change in the balance of your Web3 wallet. Some tokens may need to be imported to be seen. We suggest checking your wallet address on Etherscan to confirm the minting of tranche tokens to your wallet.

Last updated