Skip to content

Commit

Permalink
notional -> notional v2
Browse files Browse the repository at this point in the history
  • Loading branch information
slasher125 committed Nov 15, 2023
1 parent a81b3e6 commit e413280
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ const main = async () => {
let data = await utils.getData(
'https://classic.notional.finance/.netlify/functions/yields'
);
const project = 'notional';
data = data.map((p) => {
const name = p.symbol.split(' ');
return {
...p,
pool: `${p.symbol.replace(/\s/g, '-')}-${project}`,
project: 'notional-v2',
pool: `${p.symbol.replace(/\s/g, '-')}-notional`,
symbol: name[0],
poolMeta: name.length > 1 ? name.slice(1).join(' ') : null,
url: `https://www.notional.finance/lend/${name}`,
Expand Down

0 comments on commit e413280

Please sign in to comment.