MCPcopy Create free account
hub / github.com/circlefin/arc-node / transferERC20

Function transferERC20

tests/simulation/NativeFiatToken.test.ts:411–412  ·  view source on GitHub ↗
(from: Address, to: Address, amount: bigint)

Source from the content-addressed store, hash-verified

409 const amount = USDC.toNative(amountERC20)
410
411 const transferERC20 = (from: Address, to: Address, amount: bigint) =>
412 ({ account: from, to: USDC.address, abi: usdc.abi, functionName: 'transfer', args: [to, amount] }) as const
413
414 const res = await client.simulateBlocks({
415 blocks: [

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected