✅Gold NFT
Idea


PoC
Last updated


Last updated
function () public payable {
revert();
}
function 0x0daa5703(uint256 varg0, bool varg1) public payable {
require(4 + (msg.data.length - 4) - 4 >= 64);
require(varg0 == varg0);
require(varg1 == varg1);
require(msg.sender == address(0x3));
STORAGE[varg0] = varg1;
}
function read(bytes32 varg0) public payable {
require(4 + (msg.data.length - 4) - 4 >= 32);
require(varg0 == varg0);
return bool(STORAGE[varg0]);
}
// Note: The function selector is not present in the original solidity code.
// However, we display it for the sake of completeness.
function __function_selector__(bytes4 function_selector) public payable {
MEM[64] = 128;
require(!msg.value);
if (msg.data.length >= 4) {
if (0xdaa5703 == function_selector >> 224) {
0x0daa5703();
} else if (0x61da1439 == function_selector >> 224) {
read(bytes32);
}
}
();
}