What is a 0 address check
?
#160
-
what is a |
Beta Was this translation helpful? Give feedback.
Answered by
alymurtazamemon
Apr 18, 2024
Replies: 1 comment
-
@SquilliamX It is just a validation check to make sure the input address parameter is initialized and is not a You can add the |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
SquilliamX
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@SquilliamX It is just a validation check to make sure the input address parameter is initialized and is not a
zero address
which is the default value for address type.You can add the
require
andassert
statements in the solidity code to make sure the variables of address types are not empty.