Skip to content

Commit

Permalink
feat: Compound, Hfs (#1335)
Browse files Browse the repository at this point in the history
  • Loading branch information
0xpeluche authored Mar 4, 2024
1 parent 39ad578 commit 07d0279
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/adapters/compound-v3/common/asset.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export async function getCollContracts(ctx: BaseContext, compounder: Contract):
return {
...compounder,
underlyings: mapSuccessFilter(assetsInfoRes, (res) => {
return res.output.asset
return { chain: ctx.chain, address: res.output.asset, collateralFactor: res.output.borrowCollateralFactor }
}),
}
}

0 comments on commit 07d0279

Please sign in to comment.