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

Function randomAddress

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

Source from the content-addressed store, hash-verified

30describe('Delegatecall Attack (Simulation)', () => {
31 // Helper: Generate random address
32 const randomAddress = () => privateKeyToAccount(generatePrivateKey()).address
33
34 // Helper: Get malicious contract artifact
35 const getMaliciousContract = async () => {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected