Skip to content

Latest commit

 

History

History
23 lines (14 loc) · 539 Bytes

start-prank.md

File metadata and controls

23 lines (14 loc) · 539 Bytes

startPrank

Signature

function startPrank(address) external;
function startPrank(address sender, address origin) external;

Description

Sets msg.sender for all subsequent calls until stopPrank is called.

If the alternative signature of startPrank is used, then tx.origin is set as well for all subsequent calls.

SEE ALSO

Forge Standard Library

startHoax, changePrank