@aurigami/sdk 0.6.1 → 0.6.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2247,29 +2247,37 @@ function _fetchPrice() {
2247
2247
  while (1) {
2248
2248
  switch (_context7.prev = _context7.next) {
2249
2249
  case 0:
2250
+ if (!( isSameAddress(address, networkAddresses.tokens.PLY))) {
2251
+ _context7.next = 2;
2252
+ break;
2253
+ }
2254
+
2255
+ return _context7.abrupt("return", new BigNumber(0));
2256
+
2257
+ case 2:
2250
2258
  matchingAuToken = networkAddresses.auTokens.find(function (auToken) {
2251
2259
  return isSameAddress(auToken.underlying, address);
2252
2260
  });
2253
2261
 
2254
2262
  if (!(matchingAuToken !== undefined)) {
2255
- _context7.next = 5;
2263
+ _context7.next = 7;
2256
2264
  break;
2257
2265
  }
2258
2266
 
2259
2267
  return _context7.abrupt("return", fetchPriceFromOracle(matchingAuToken.address, getDecimal(address), provider));
2260
2268
 
2261
- case 5:
2269
+ case 7:
2262
2270
  if (!isSameAddress(address, networkAddresses.misc.AUPLYLP)) {
2263
- _context7.next = 9;
2271
+ _context7.next = 11;
2264
2272
  break;
2265
2273
  }
2266
2274
 
2267
2275
  return _context7.abrupt("return", fetchLPPrice(address, provider));
2268
2276
 
2269
- case 9:
2277
+ case 11:
2270
2278
  return _context7.abrupt("return", fetchPriceFromCoingecko(address));
2271
2279
 
2272
- case 10:
2280
+ case 12:
2273
2281
  case "end":
2274
2282
  return _context7.stop();
2275
2283
  }