Expand description
Decode Solidity Panic(uint256) errors (introduced in Solidity 0.8.0).
Selector: 0x4e487b71 == keccak256("Panic(uint256)")[..4]
Full list of panic codes: https://docs.soliditylang.org/en/latest/control-structures.html#panic-via-assert-and-error-via-require
Constants§
- PANIC_
SELECTOR - The 4-byte selector for
Panic(uint256).
Functions§
- decode_
panic - Decode
Panic(uint256)revert data. - panic_
meaning - Map a Solidity panic code to a human-readable description.