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

Function getMaliciousContract

tests/simulation/DelegateCall.test.ts:35–37  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

33
34 // Helper: Get malicious contract artifact
35 const getMaliciousContract = async () => {
36 return await hre.artifacts.readArtifact('PrecompileDelegater')
37 }
38
39 // Helper: Create state override for malicious contract
40 const createStateOverride = (address: Address, code: Hex) => [{ address, code }]

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected