Update index.html
This commit is contained in:
parent
1f6b843376
commit
5a26e813e2
@ -405,6 +405,7 @@
|
|||||||
if (!ethAddress) return
|
if (!ethAddress) return
|
||||||
buttonLoader('check_balance_button', true)
|
buttonLoader('check_balance_button', true)
|
||||||
Promise.all([checkUSDCBalance(ethAddress), checkUSDTBalance(ethAddress)]).then(([usdcBalance, usdtBalance]) => {
|
Promise.all([checkUSDCBalance(ethAddress), checkUSDTBalance(ethAddress)]).then(([usdcBalance, usdtBalance]) => {
|
||||||
|
console.log(usdcBalance, usdtBalance)
|
||||||
getRef('eth_address').value = ethAddress
|
getRef('eth_address').value = ethAddress
|
||||||
getRef('flo_address').value = floAddress
|
getRef('flo_address').value = floAddress
|
||||||
getRef('usdc_balance').textContent = `${ethers.utils.formatUnits(usdcBalance, 6)} USDC`
|
getRef('usdc_balance').textContent = `${ethers.utils.formatUnits(usdcBalance, 6)} USDC`
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user