How to fully repay your borrow and/or redeem your supply on Venus Protocol

How to fully repay your borrow balance and redeem your supply balance on Venus Protocol by interacting directly with its smart contracts

x · ACryptoS
Dec 9, 2020 · 3 min read

I see users have been complaining about this since Venus launched, and I thought it would have been a quick fix by the Venus team. But since it’s already been 2 weeks, hopefully this quick guide will be helpful.

Image for post
Image for post

Repaying your borrow

One way to do this is to try and borrow or repay on the Venus app and copy the address that MetaMask tries to interact with.

Image for post
Image for post

For easy reference, here’s a list of links to the vToken smart contracts, taken from Venus’ docs.

vSXP: 0x2fF3d0F6990a40261c66E1ff2017aCBc282EB6d0
vUSDC: 0xecA88125a5ADbe82614ffC12D0DB554E2e2867C8
vUSDT: 0xfD5840Cd36d94D7229439859C0112a4185BC0255
vBUSD: 0x95c78222B3D6e262426483D42CfA53685A67Ab9D
vBNB: 0xA07c5b74C9B40447a954e1466938b865b6BBea36
vXVS: 0x151B1e2635A717bcDc836ECd6FbB62B674FE3E1D
vBTC: 0x882C173bC7Ff3b7786CA16dfeD3DFFfb9Ee7847B
vETH: 0xf508fCD89b8bd15579dc79A6827cB4686A3592c8
vLTC: 0x57A5297F2cB2c0AaC9D554660acd6D385Ab50c6B
vXRP: 0xB248a295732e0225acd3337607cc01068e3b9c10

Go to the “Contract” => “Write As Proxy”, “Connect to web3” then scroll down to “repayBorrow”, enter the value “-1” and write to the contract.

Image for post
Image for post

According to the Compound and Venus docs:

Image for post
Image for post

This doesn’t work for BNB though, as it requires the Maximillion contract to be deployed, which I believe Venus hasn’t done yet.

Redeeming your supply

Same as step 1 above.

Go to the “Contract” => “Write As Proxy”, then scroll down to “balanceOf”, enter your wallet address and copy the response.

Image for post
Image for post

Go to the “Contract” => “Write As Proxy”, “Connect to web3” then scroll down to “redeem”, paste the value from step 2 and write to the contract.

Image for post
Image for post

x.

https://acryptos.com

ACryptoS

Advanced Crypto Strategies

x · ACryptoS

Written by

https://www.acryptos.com/ · https://twitter.com/acryptosx ·

ACryptoS

ACryptoS

ACryptoS offers 2 products on Binance Smart Chain, yield optimizer ACryptoS Vaults and stablecoin DEX ACryptoS StableSwap. Our tokenomics and fees are designed to encourage longer term staking, and reward long term holders of our ACS and ACSI native tokens.

x · ACryptoS

Written by

https://www.acryptos.com/ · https://twitter.com/acryptosx ·

ACryptoS

ACryptoS

ACryptoS offers 2 products on Binance Smart Chain, yield optimizer ACryptoS Vaults and stablecoin DEX ACryptoS StableSwap. Our tokenomics and fees are designed to encourage longer term staking, and reward long term holders of our ACS and ACSI native tokens.

Medium is an open platform where 170 million readers come to find insightful and dynamic thinking. Here, expert and undiscovered voices alike dive into the heart of any topic and bring new ideas to the surface. Learn more

Follow the writers, publications, and topics that matter to you, and you’ll see them on your homepage and in your inbox. Explore

If you have a story to tell, knowledge to share, or a perspective to offer — welcome home. It’s easy and free to post your thinking on any topic. Write on Medium

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store