ERC-7751 Wrapping of bubbled up reverts
Handling bubbled up reverts using custom errors with additional context
Functions this standard introduces (5)
0x92e842c0 | foo(address,bytes) | |
0x12c09793 | test_BubbledNestedReverts(uint256) | |
0xa9059cbb | transfer(address,uint256) | |
0xf3fef3a3 | withdraw(address,uint256) | |
0x2e1a7d4d | withdraw(uint256) |
Events (1)
Topic0 is the keccak256 hash of the signature, which is what a log filter matches on.
0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef | Transfer(address,address,uint256) |
Custom errors (3)
0x90bfb865 | WrappedError(address,bytes4,bytes,bytes) | |
0x4c4537b1 | ERC20TransferFailed(address) | |
0xd35f45de | MyCustomError(uint256) |
What the specification covers
Compare with
Parsed from the canonical specification · discussion