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

Function clients

tests/localdev/NativeFiatToken.test.ts:77–82  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

75 encodeFunctionData({ abi: USDC.abi, functionName: 'mint', args: [to, amount] })
76
77 const clients = async () => {
78 const { client, ...rest } = await getClients()
79 const usdc = USDC.attach(client).read
80 const totalSupply = async () => NativeCoinAuthority.totalSupply(client)
81 return { ...rest, client, totalSupply, usdc }
82 }
83
84 before(async () => {
85 const { client, admin } = await clients()

Callers 2

testCallTypeFunction · 0.70

Calls 2

getClientsFunction · 0.90
attachMethod · 0.45

Tested by

no test coverage detected