diff --git a/src/adaptors/idle/index.js b/src/adaptors/idle/index.js index a46b02430d..caedb5b4d9 100644 --- a/src/adaptors/idle/index.js +++ b/src/adaptors/idle/index.js @@ -27,9 +27,13 @@ const getApy = async () => { if (v.borrowerName){ protocolName += ` ${v.borrowerName}` } + const apyReward = v.apyReward || Number(0); + const rewardTokens = v.rewardTokens || []; return { pool: v.address, apyBase: Number(v.apr), + apyReward, + rewardTokens, symbol: v.tokenName, poolMeta: v.poolName.includes('Best') ? v.poolName.split(' ').slice(1).join(' ')