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

Function encodeAggregate3

tests/localdev/subcall.test.ts:71–76  ·  view source on GitHub ↗
(calls: { target: Address; allowFailure: boolean; callData: `0x${string}` }[])

Source from the content-addressed store, hash-verified

69 })
70
71const encodeAggregate3 = (calls: { target: Address; allowFailure: boolean; callData: `0x${string}` }[]) =>
72 encodeFunctionData({
73 abi: multicall3FromArtifact.abi,
74 functionName: 'aggregate3',
75 args: [calls],
76 })
77
78const amt1 = USDC.parseUnits('0.001')
79const amt2 = USDC.parseUnits('0.002')

Callers 1

subcall.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected