Pwned statement query

Hello,

Can someone tell me if this mapping statement is saying anything more than validating a statement in a function?

mapping(address => bool) private pwned;

Thanks

Remember mapping is just an store for a key with a value.

So the key are address and value is bool, so pwned mapping just store true or false value for a given address.

Carlos Z

Hello Carlos,

Thank you, I thought as much but was not sure if pwned actually obtained something within it so just wanted to double check.

Cheers my man :+1:

1 Like