Add selector collisions to the IERC20 lib

This commit is contained in:
Luke Parker
2025-01-23 08:22:41 -05:00
parent 7e53eff642
commit e922264ebf
4 changed files with 47 additions and 4 deletions

View File

@@ -29,8 +29,7 @@ contract Router is IRouterWithoutCollisions {
bytes32 constant ACCOUNT_WITHOUT_CODE_CODEHASH = keccak256("");
/// @dev The address in transient storage used for the reentrancy guard
bytes32 constant REENTRANCY_GUARD_SLOT =
bytes32(uint256(keccak256("ReentrancyGuard Router")) - 1);
bytes32 constant REENTRANCY_GUARD_SLOT = bytes32(uint256(keccak256("ReentrancyGuard Router")) - 1);
/**
* @dev The next nonce used to determine the address of contracts deployed with CREATE. This is