Skip to content

Commit

Permalink
fix name L1StandardBridge in usePrepareERC20DepositTo.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
Dimitrolito authored Jan 31, 2025
1 parent c43077e commit 52e5299
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions apps/bridge/src/utils/hooks/usePrepareERC20DepositTo.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import L1StandartBridge from 'apps/bridge/src/contract-abis/L1StandardBridge';
import L1StandardBridge from 'apps/bridge/src/contract-abis/L1StandardBridge';
import { Asset } from 'apps/bridge/src/types/Asset';
import getConfig from 'next/config';
import { parseUnits } from 'viem';
Expand Down Expand Up @@ -28,7 +28,7 @@ export function usePrepareERC20DepositTo({
isPermittedToBridge && depositAmount !== ''
? publicRuntimeConfig.l1BridgeProxyAddress
: undefined,
abi: L1StandartBridge,
abi: L1StandardBridge,
functionName: 'depositERC20To',
chainId: parseInt(publicRuntimeConfig.l1ChainID),
args: [
Expand All @@ -55,7 +55,7 @@ export async function prepareERC20DepositTo({
}: UsePrepareERC20DepositToProps) {
return prepareWriteContract({
address: publicRuntimeConfig.l1BridgeProxyAddress,
abi: L1StandartBridge,
abi: L1StandardBridge,
functionName: 'depositERC20To',
chainId: parseInt(publicRuntimeConfig.l1ChainID),
args: [
Expand Down

0 comments on commit 52e5299

Please sign in to comment.