Skip to content

Commit

Permalink
fix: use redeem for WOETH price
Browse files Browse the repository at this point in the history
  • Loading branch information
toniocodo committed Sep 5, 2023
1 parent 72592c5 commit bc03ae8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/shared/providers/src/prices/hooks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export const usePrices = (
const oethAmount = await readContract({
address: contracts.mainnet.WOETH.address,
abi: contracts.mainnet.WOETH.abi,
functionName: 'previewDeposit',
functionName: 'previewRedeem',
args: [parseUnits('1', toks.mainnet.WOETH.decimals)],
});

Expand Down

0 comments on commit bc03ae8

Please sign in to comment.