Repaying Loans
This guide focuses on working directly with contracts on Taiko or Morph via network-specific block explorers, not via the Minterest UI.
Repaying Outstanding Loan Amounts
For these next steps, we'll be interacting with Taiko's & Morph's explorer using both $USDC's market or token address:
Market address on Taiko:
0xF89B01fa87a3E51BDA2dA67154Ea35A3F84eC373Token address:
0x07d83526730c7438048D55A4fc0b850e2aaB6f0b
Market address on Morph:
0x793ce6AC5112DA5Db9C046848af99C749e14b1A4Token address:
0xe34c91815d7fc18A9e2148bcD4241d0a5848b693
Providing an Approval
Locate the contract address for the token associated with your desired market in the smart contracts list provided in this guide.
Go to the Contract section, open the Write as Proxy or Write proxy tab, then click Connect to Web3 or Connect wallet:

Select the blockchain wallet you're using — after that, your wallet will display a browser pop-up asking you to connect to Taiko's or Morph's explorer.
Once connected, scroll down and choose the
approvefunction.Paste the market contract address of the market associated with your desired token into the
spenderinput field.To ensure the entire borrow amount is repaid, it's recommended to enter the following string in the
value (uint256)input field:115792089237316195423570985008687907853269984665640564039457584007913129639935This is the maximum value for
value (uint256)and ensures the market can pull the correct amount considering newly accrued interest, guaranteeing the loan is fully repaid:
Click Write, then approve the transaction in the browser pop-up displayed by your wallet.
Executing the Repay
Locate the contract address for the market associated with your desired market in the smart contracts list provided in this guide.
Go to the Contract section, open the Write as Proxy or Write proxy tab, then click Connect to Web3 or Connect wallet:

Locate and choose the
repayBorrowfunction, then enter the following string in therepayAmount (uint256)input field:115792089237316195423570985008687907853269984665640564039457584007913129639935Click Write, then approve the transaction in the browser pop-up displayed by your wallet.
After repaying your loan, it's recommended to remove the approval from the market contract by using the same flow but setting the
value (uint256)input field to zero:0
Last updated


