Master of the leading zeroes address
The champion of this disclipline will be awarded with the NFT for having at least 6 leading zeores in the address.
The smart contract for the allowlist features the following function:
function getLeadingZeroes(address addr) public view returns (uint) {
bytes20 bytesAdr = bytes20(addr);
uint counter = 0;
for (uint i = 0; i < 20; i++) {
if (uint8(bytesAdr[i]) == 0) {
counter++;
} else {
break;
}
}
return counter;
}
Claim your NFT under this address on Goerli:
0x2030e04c2e8c4748fd96aa56d67ad83c86641bf9
More resources: