Skip to content

Commit

Permalink
fix: BAL address on base (#461)
Browse files Browse the repository at this point in the history
  • Loading branch information
gmbronco authored Sep 26, 2023
1 parent 408f2c7 commit 1b980c7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modules/network/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ const baseNetworkData: NetworkData = {
},
protocolToken: 'bal',
bal: {
address: '0x4158734D47Fc9692176B5085E0F52ee0Da5d47F1 ',
address: '0x4158734d47fc9692176b5085e0f52ee0da5d47f1',
},
veBal: {
address: '0xc128a9954e6c874ea3d62ce62b468ba073093f25',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export class GaugeAprService implements PoolAprService {
gauge.rewards.map(async ({ tokenAddress, rewardPerSecond }) => {
const price = this.tokenService.getPriceForToken(tokenPrices, tokenAddress);
if (!price) {
return Promise.reject('Price not found');
return Promise.reject(`Price not found for ${tokenAddress}`);
}

let definition;
Expand Down Expand Up @@ -91,6 +91,7 @@ export class GaugeAprService implements PoolAprService {
const aprItems = rewards
.map((reward) => {
if (reward.status === 'rejected') {
console.error(`Failed to get reward data for ${gauge.id}: ${reward.reason}`)
return null;
}

Expand Down

0 comments on commit 1b980c7

Please sign in to comment.