File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 968
968
"uUSD" : " KT1XRPEPXbZK25r3Htzp2o1x7xdMMmfocKNW" ,
969
969
"YOU" : " KT1Xobej4mc6XgEjDoJoHtTKgbD1ELMvcQuL" ,
970
970
"USDS" : " KT1REEb5VxWRjcHm5GzDMwErMmNFftsE5Gpf" ,
971
- "tzBTC" : " KT1PWx2mnDueood7fEmfbBDKx1D9BAnnXitn" ,
971
+ "tzBTC" : " KT1PWx2mnDueood7fEmfbBDKx1D9BAnnXitn-0 " ,
972
972
"BUSD" : " KT1UsSfaXyqcjSVPeiD7U1bWgKy3taYN7NWY-7" ,
973
973
"DAI" : " KT1UsSfaXyqcjSVPeiD7U1bWgKy3taYN7NWY-6" ,
974
974
"PAUL" : " KT19DUSZw7mfeEATrbWVPHRrWNVbNnmfFAE6" ,
Original file line number Diff line number Diff line change @@ -34,7 +34,8 @@ async function borrowed() {
34
34
for ( const { address, decimals } of markets ) {
35
35
const storage = await getStorage ( address ) ;
36
36
let borrows = Number ( storage . totalBorrows || 0 ) ;
37
- let tokenAddress = storage . fa1_2_TokenAddress || storage . fa2_TokenAddress || "tezos" ;
37
+
38
+ let tokenAddress = storage . fa1_2_TokenAddress ? `${ storage . fa1_2_TokenAddress } -0` : storage . fa2_TokenAddress ? `${ storage . fa2_TokenAddress } -${ storage . tokenId } ` : "tezos" ;
38
39
39
40
borrows = borrows / 10 ** decimals ;
40
41
You can’t perform that action at this time.
0 commit comments