diff --git a/subgraphs/isolated-pools/src/operations/create.ts b/subgraphs/isolated-pools/src/operations/create.ts index b35473ea..a44c258e 100644 --- a/subgraphs/isolated-pools/src/operations/create.ts +++ b/subgraphs/isolated-pools/src/operations/create.ts @@ -112,7 +112,10 @@ export function createMarket( market.address = vTokenAddress; market.pool = comptroller; - market.name = vTokenContract.name(); + const nameResult = vTokenContract.try_name(); + if (!nameResult.reverted) { + market.name = nameResult.value; + } market.isListed = true; market.interestRateModelAddress = vTokenContract.interestRateModel(); market.symbol = vTokenContract.symbol();