Skip to content

Commit 831d864

Browse files
fix abi name
1 parent 5124c42 commit 831d864

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/transaction-controller/src/utils/transaction-type.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import type { TransactionDescription } from '@ethersproject/abi';
22
import { Interface } from '@ethersproject/abi';
33
import { query } from '@metamask/controller-utils';
44
import type EthQuery from '@metamask/eth-query';
5-
import { abiERC721, abiERC20, abiERC1155, USDC_ABI } from '@metamask/metamask-eth-abis';
5+
import { abiERC721, abiERC20, abiERC1155, abiFiatTokenV2 } from '@metamask/metamask-eth-abis';
66

77
import type { InferTransactionTypeResult, TransactionParams } from '../types';
88
import { TransactionType } from '../types';
@@ -12,7 +12,7 @@ export const ESTIMATE_GAS_ERROR = 'eth_estimateGas rpc method error';
1212
const ERC20Interface = new Interface(abiERC20);
1313
const ERC721Interface = new Interface(abiERC721);
1414
const ERC1155Interface = new Interface(abiERC1155);
15-
const USDCInterface = new Interface(USDC_ABI);
15+
const USDCInterface = new Interface(abiFiatTokenV2);
1616

1717
/**
1818
* Determines the type of the transaction by analyzing the txParams.

0 commit comments

Comments
 (0)