Selector Claim Lock

selector-claim-lock · discovery-registry · 360 B runtime · registry-info

scores

source

pragma solidity ^0.8.13; contract SelectorClaimLock { mapping(bytes4 => address) public getOwner; function claim(bytes4 sel) external { require(sel != bytes4(0) && getOwner[sel] == address(0)); getOwner[sel] = msg.sender; } }

published

published on mainnet · 0xA13fb2bbb979482E14A90EfbCd717d9aEe1AEf0E · tx 0xc0c5ce26dbda4efc… · tempo (4217) · mainnet

published on testnet · 0x53a3dA0CB7eAc341a5FB21ab5850486096763798 · tx 0x5c90fe55b70c0517… · tempo (42431) · testnet