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

Function implAt

tests/localdev/genesis.test.ts:151–154  ·  view source on GitHub ↗
(proxyAddress: Address)

Source from the content-addressed store, hash-verified

149 // Helper: read the implementation slot of an AdminUpgradeableProxy at `proxyAddress`.
150 // Used to verify proxies point at the CREATE2 impl address we compute from bytecode.
151 const implAt = async (proxyAddress: Address): Promise<Address> => {
152 const { client } = await getClients()
153 return AdminUpgradeableProxy.attach(client, proxyAddress).read.implementation()
154 }
155
156 // The stablecoin contracts (SignatureChecker, NativeFiatTokenV2_2, FiatTokenProxy) are
157 // not compiled locally — they ship as static artifacts under

Callers 1

genesis.test.tsFile · 0.85

Calls 2

getClientsFunction · 0.90
attachMethod · 0.45

Tested by

no test coverage detected