We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cdebe0f commit 11e0b32Copy full SHA for 11e0b32
public/tutorials/LockboxSuperchainERC20.sol
@@ -17,6 +17,8 @@ contract LockboxSuperchainERC20 is SuperchainERC20 {
17
uint8 decimals_,
18
address originalTokenAddress_,
19
uint256 originalChainId_) {
20
+ require(originalTokenAddress_ != address(0), "Invalid token address");
21
+ require(originalChainId_ != 0, "Invalid chain ID");
22
_name = name_;
23
_symbol = symbol_;
24
_decimals = decimals_;
0 commit comments