Structs§
Enums§
- The type of expected call.
- The type of expected revert.
Constants§
- DUMMY_
CREATE_ πADDRESS Same reasoning as DUMMY_CALL_OUTPUT, but for creates.
Statics§
- DUMMY_
CALL_ πOUTPUT For some cheatcodes we may internally change the status of the call, i.e. inexpectRevert
. Solidity will see a successful call and attempt to decode the return data. Therefore, we need to populate the return with dummy bytes so the decode doesnβt fail.
Functions§
- decode_
revert π - expect_
call πHandles expected calls specified by theexpectCall
cheatcodes. - expect_
emit π - expect_
revert π - expect_
safe_ πmemory - handle_
expect_ πemit - handle_
expect_ πrevert
Type Aliases§
- Tracks the expected calls per address.
- Handles expected emits specified by the
expectEmit
cheatcodes.