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

Function clients

tests/simulation/ProtocolConfig.test.ts:32–40  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

30 }
31
32 const clients = async () => {
33 const client = await hre.viem.getPublicClient({
34 chain: getChain(hre),
35 })
36 const protocolConfig = ProtocolConfig.attach(client)
37 const extraAbi = parseAbi(['function upgradeTo(address newImplementation)'])
38
39 return { client, protocolConfig, extraAbi }
40 }
41
42 it('migrate contract', async () => {
43 const { client, protocolConfig, extraAbi } = await clients()

Callers 1

Calls 2

getChainFunction · 0.90
attachMethod · 0.45

Tested by

no test coverage detected