Repaying Loans
This guide focuses on working directly with contracts on Ethereum or Mantle via network-specific block explorers, not via the Minterest UI.
Repaying Outstanding Loan Amounts
For these next steps, we'll be interacting with Ethereum's & Mantle's explorer using both $USDC's market or token address:
Market address on Ethereum:
0x45e90AfE8112CbE940adb1436d89Fb9450815eeAToken address:
0xA0b86991c6218b36c1d19d4a2e9Eb0cE3606eB48
Market address on Mantle:
0xEcbE4A2519f1e26df8Dfde95a4a2b89DE832896CToken address: 0x09bc4e0d864854c6afb6eb9a9cdf58ac190d0df9
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 Ethereum's or Mantle'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:115792089237316195423570985008687907853269984665640564039457584007913129639935
Click 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
