caller_address
Cheatcodes modifying caller_address
:
prank
fn prank(target: CheatTarget, caller_address: ContractAddress, span: CheatSpan)
Changes the caller address for the given target and span.
start_prank
fn start_prank(target: CheatTarget, caller_address: ContractAddress)
Changes the caller address for the given target.
stop_prank
fn stop_prank(target: CheatTarget)
Cancels the prank
/ start_prank
for the given target.