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

Function encodeUSDCTransfer

tests/localdev/subcall.test.ts:61–62  ·  view source on GitHub ↗
(to: Address, amount: bigint)

Source from the content-addressed store, hash-verified

59}
60
61const encodeUSDCTransfer = (to: Address, amount: bigint) =>
62 encodeFunctionData({ abi: erc20Abi, functionName: 'transfer', args: [to, amount] })
63
64const encodeMemo = (target: Address, data: `0x${string}`, memoId: `0x${string}`, memo: `0x${string}`) =>
65 encodeFunctionData({

Callers 1

subcall.test.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected