Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion projects/helper/tokenMapping.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ const ibcMappings = {
}

const fixBalancesTokens = {
bsc: {
// TORDESS (TDS) – https://www.coingecko.com/en/coins/tordess
'0x82f0508797a7167add9274b3aee4293158a8645e': { coingeckoId: 'tordess', decimals: 18 },
},
ozone: {
// '0x83048f0bf34feed8ced419455a4320a735a92e9d': { coingeckoId: "ozonechain", decimals: 18 }, // was mapped to wrong chain
},
Expand Down Expand Up @@ -276,4 +280,4 @@ module.exports = {
stripTokenHeader,
getUniqueAddresses,
eulerTokens,
}
}
2 changes: 1 addition & 1 deletion projects/helper/unwrapLPs.js
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ async function unwrapUniswapV4NFTs({ balances = {}, block, chain = 'ethereum', o


// in case the graph is stale or down, we use cached data, to ensure that owners still hold the v4 nfts, verify it on chain
const positionOwners = await sdk.api2.abi.multiCall({ chain, block, abi: 'function ownerOf(uint256) view returns (address)', calls: positionIds, target: nftAddress })
const positionOwners = await sdk.api2.abi.multiCall({ chain, abi: 'function ownerOf(uint256) view returns (address)', calls: positionIds, target: nftAddress })
positionOwners.forEach((pOwner, i) => {
if (pOwner.toLowerCase() === owner.toLowerCase()) verifiedPositionIds.push(positionIds[i])
})
Expand Down
Loading