Skip to content

Commit

Permalink
WIp:withdrawREth
Browse files Browse the repository at this point in the history
  • Loading branch information
brucedonovan committed Sep 26, 2023
1 parent ad06c11 commit 82336d8
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/components/current/widgets/rocketPool/rocketPoolWithdraw.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { useMemo } from 'react';
import { Address, UsePrepareContractWriteConfig } from 'wagmi';
import stethAbi from '@/abi/steth';
import {
ActionResponse,
HeaderResponse,
Expand All @@ -10,6 +9,7 @@ import {
import { ResponseRow } from '@/components/cactiComponents/helpers/layout';
import useToken from '@/hooks/useToken';
import { cleanValue } from '@/utils';
import rETHAbi from '@/abi/rETH';

interface RethProps {
inputString: string;
Expand All @@ -26,10 +26,10 @@ const RethWithdraw = ({ inputString }: RethProps) => {

const tx: UsePrepareContractWriteConfig = useMemo(
() => ({
address: tokenOut?.address as Address | undefined,
abi: stethAbi,
functionName: 'submit',
args: ['0x0000000000000000000000000000000000000000'],
address: '0xDD3f50F8A6CafbE9b31a427582963f465E745AF8',
abi: rETHAbi,
functionName: 'burn',
args: [],
}),
[tokenOut?.address]
);
Expand Down

0 comments on commit 82336d8

Please sign in to comment.