ERC-721
Overview
Max Total Supply
0 kaw-ai
Holders
65
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 kaw-aiLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
uwu
Compiler Version
v0.8.10+commit.fc410830
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: UNLICENSED pragma solidity 0.8.10; import "solmate/tokens/ERC721.sol"; import "solmate/utils/MerkleProofLib.sol"; import "solmate/auth/Owned.sol"; error SoldOut(); error AlreadyMinted(); error InvalidProof(); error TokenNotFound(); contract uwu is ERC721, Owned { uint256 public constant MAX_SUPPLY = 69; string public baseURI; uint256 public nextTokenId = 1; uint256 public reservedTokens = 41; mapping(address => bool) public hasMinted; bytes32 public merkleRoot1; bytes32 public merkleRoot2; constructor(string memory _baseURI) ERC721("kaw-ai", "kaw-ai") Owned(msg.sender) { baseURI = _baseURI; } function setRoot1(bytes32 newRoot) public onlyOwner { merkleRoot1 = newRoot; } function setRoot2(bytes32 newRoot) public onlyOwner { merkleRoot2 = newRoot; } function setReserved(uint256 newReserve) public onlyOwner { reservedTokens = newReserve; } function setBaseURI(string memory _baseURI) public onlyOwner { baseURI = _baseURI; } function mint1(bytes32[] calldata proof) public { bytes32 leaf = bytes32(uint256(uint160(msg.sender))); if (!MerkleProofLib.verify(proof, merkleRoot1, leaf)) revert InvalidProof(); if (nextTokenId > MAX_SUPPLY) revert SoldOut(); if (hasMinted[msg.sender]) revert AlreadyMinted(); hasMinted[msg.sender] = true; if (reservedTokens > 0) reservedTokens--; _mint(msg.sender, nextTokenId++); } function mint2(bytes32[] calldata proof) public { bytes32 leaf = bytes32(uint256(uint160(msg.sender))); if (!MerkleProofLib.verify(proof, merkleRoot2, leaf)) revert InvalidProof(); if (nextTokenId > MAX_SUPPLY - reservedTokens) revert SoldOut(); if (hasMinted[msg.sender]) revert AlreadyMinted(); hasMinted[msg.sender] = true; _mint(msg.sender, nextTokenId++); } function tokenURI(uint256 id) public view virtual override returns (string memory) { ownerOf(id); // will revert if not minted return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, toString(id))) : ""; } // https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/math/Math.sol#L254-L290 function log10(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >= 10**64) { value /= 10**64; result += 64; } if (value >= 10**32) { value /= 10**32; result += 32; } if (value >= 10**16) { value /= 10**16; result += 16; } if (value >= 10**8) { value /= 10**8; result += 8; } if (value >= 10**4) { value /= 10**4; result += 4; } if (value >= 10**2) { value /= 10**2; result += 2; } if (value >= 10**1) { result += 1; } } return result; } // https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/Strings.sol#L15-L38 bytes16 private constant _SYMBOLS = "0123456789abcdef"; function toString(uint256 value) internal pure returns (string memory) { unchecked { uint256 length = log10(value) + 1; string memory buffer = new string(length); uint256 ptr; /// @solidity memory-safe-assembly assembly { ptr := add(buffer, add(32, length)) } while (true) { ptr--; /// @solidity memory-safe-assembly assembly { mstore8(ptr, byte(mod(value, 10), _SYMBOLS)) } value /= 10; if (value == 0) break; } return buffer; } } }
// SPDX-License-Identifier: AGPL-3.0-only pragma solidity >=0.8.0; /// @notice Modern, minimalist, and gas efficient ERC-721 implementation. /// @author Solmate (https://github.com/transmissions11/solmate/blob/main/src/tokens/ERC721.sol) abstract contract ERC721 { /*////////////////////////////////////////////////////////////// EVENTS //////////////////////////////////////////////////////////////*/ event Transfer(address indexed from, address indexed to, uint256 indexed id); event Approval(address indexed owner, address indexed spender, uint256 indexed id); event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /*////////////////////////////////////////////////////////////// METADATA STORAGE/LOGIC //////////////////////////////////////////////////////////////*/ string public name; string public symbol; function tokenURI(uint256 id) public view virtual returns (string memory); /*////////////////////////////////////////////////////////////// ERC721 BALANCE/OWNER STORAGE //////////////////////////////////////////////////////////////*/ mapping(uint256 => address) internal _ownerOf; mapping(address => uint256) internal _balanceOf; function ownerOf(uint256 id) public view virtual returns (address owner) { require((owner = _ownerOf[id]) != address(0), "NOT_MINTED"); } function balanceOf(address owner) public view virtual returns (uint256) { require(owner != address(0), "ZERO_ADDRESS"); return _balanceOf[owner]; } /*////////////////////////////////////////////////////////////// ERC721 APPROVAL STORAGE //////////////////////////////////////////////////////////////*/ mapping(uint256 => address) public getApproved; mapping(address => mapping(address => bool)) public isApprovedForAll; /*////////////////////////////////////////////////////////////// CONSTRUCTOR //////////////////////////////////////////////////////////////*/ constructor(string memory _name, string memory _symbol) { name = _name; symbol = _symbol; } /*////////////////////////////////////////////////////////////// ERC721 LOGIC //////////////////////////////////////////////////////////////*/ function approve(address spender, uint256 id) public virtual { address owner = _ownerOf[id]; require(msg.sender == owner || isApprovedForAll[owner][msg.sender], "NOT_AUTHORIZED"); getApproved[id] = spender; emit Approval(owner, spender, id); } function setApprovalForAll(address operator, bool approved) public virtual { isApprovedForAll[msg.sender][operator] = approved; emit ApprovalForAll(msg.sender, operator, approved); } function transferFrom( address from, address to, uint256 id ) public virtual { require(from == _ownerOf[id], "WRONG_FROM"); require(to != address(0), "INVALID_RECIPIENT"); require( msg.sender == from || isApprovedForAll[from][msg.sender] || msg.sender == getApproved[id], "NOT_AUTHORIZED" ); // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. unchecked { _balanceOf[from]--; _balanceOf[to]++; } _ownerOf[id] = to; delete getApproved[id]; emit Transfer(from, to, id); } function safeTransferFrom( address from, address to, uint256 id ) public virtual { transferFrom(from, to, id); require( to.code.length == 0 || ERC721TokenReceiver(to).onERC721Received(msg.sender, from, id, "") == ERC721TokenReceiver.onERC721Received.selector, "UNSAFE_RECIPIENT" ); } function safeTransferFrom( address from, address to, uint256 id, bytes calldata data ) public virtual { transferFrom(from, to, id); require( to.code.length == 0 || ERC721TokenReceiver(to).onERC721Received(msg.sender, from, id, data) == ERC721TokenReceiver.onERC721Received.selector, "UNSAFE_RECIPIENT" ); } /*////////////////////////////////////////////////////////////// ERC165 LOGIC //////////////////////////////////////////////////////////////*/ function supportsInterface(bytes4 interfaceId) public view virtual returns (bool) { return interfaceId == 0x01ffc9a7 || // ERC165 Interface ID for ERC165 interfaceId == 0x80ac58cd || // ERC165 Interface ID for ERC721 interfaceId == 0x5b5e139f; // ERC165 Interface ID for ERC721Metadata } /*////////////////////////////////////////////////////////////// INTERNAL MINT/BURN LOGIC //////////////////////////////////////////////////////////////*/ function _mint(address to, uint256 id) internal virtual { require(to != address(0), "INVALID_RECIPIENT"); require(_ownerOf[id] == address(0), "ALREADY_MINTED"); // Counter overflow is incredibly unrealistic. unchecked { _balanceOf[to]++; } _ownerOf[id] = to; emit Transfer(address(0), to, id); } function _burn(uint256 id) internal virtual { address owner = _ownerOf[id]; require(owner != address(0), "NOT_MINTED"); // Ownership check above ensures no underflow. unchecked { _balanceOf[owner]--; } delete _ownerOf[id]; delete getApproved[id]; emit Transfer(owner, address(0), id); } /*////////////////////////////////////////////////////////////// INTERNAL SAFE MINT LOGIC //////////////////////////////////////////////////////////////*/ function _safeMint(address to, uint256 id) internal virtual { _mint(to, id); require( to.code.length == 0 || ERC721TokenReceiver(to).onERC721Received(msg.sender, address(0), id, "") == ERC721TokenReceiver.onERC721Received.selector, "UNSAFE_RECIPIENT" ); } function _safeMint( address to, uint256 id, bytes memory data ) internal virtual { _mint(to, id); require( to.code.length == 0 || ERC721TokenReceiver(to).onERC721Received(msg.sender, address(0), id, data) == ERC721TokenReceiver.onERC721Received.selector, "UNSAFE_RECIPIENT" ); } } /// @notice A generic interface for a contract which properly accepts ERC721 tokens. /// @author Solmate (https://github.com/transmissions11/solmate/blob/main/src/tokens/ERC721.sol) abstract contract ERC721TokenReceiver { function onERC721Received( address, address, uint256, bytes calldata ) external virtual returns (bytes4) { return ERC721TokenReceiver.onERC721Received.selector; } }
// SPDX-License-Identifier: MIT pragma solidity >=0.8.0; /// @notice Gas optimized merkle proof verification library. /// @author Solmate (https://github.com/transmissions11/solmate/blob/main/src/utils/MerkleProofLib.sol) /// @author Modified from Solady (https://github.com/Vectorized/solady/blob/main/src/utils/MerkleProofLib.sol) library MerkleProofLib { function verify( bytes32[] calldata proof, bytes32 root, bytes32 leaf ) internal pure returns (bool isValid) { assembly { if proof.length { // Left shifting by 5 is like multiplying by 32. let end := add(proof.offset, shl(5, proof.length)) // Initialize offset to the offset of the proof in calldata. let offset := proof.offset // Iterate over proof elements to compute root hash. // prettier-ignore for {} 1 {} { // Slot where the leaf should be put in scratch space. If // leaf > calldataload(offset): slot 32, otherwise: slot 0. let leafSlot := shl(5, gt(leaf, calldataload(offset))) // Store elements to hash contiguously in scratch space. // The xor puts calldataload(offset) in whichever slot leaf // is not occupying, so 0 if leafSlot is 32, and 32 otherwise. mstore(leafSlot, leaf) mstore(xor(leafSlot, 32), calldataload(offset)) // Reuse leaf to store the hash to reduce stack operations. leaf := keccak256(0, 64) // Hash both slots of scratch space. offset := add(offset, 32) // Shift 1 word per cycle. // prettier-ignore if iszero(lt(offset, end)) { break } } } isValid := eq(leaf, root) // The proof is valid if the roots match. } } }
// SPDX-License-Identifier: AGPL-3.0-only pragma solidity >=0.8.0; /// @notice Simple single owner authorization mixin. /// @author Solmate (https://github.com/transmissions11/solmate/blob/main/src/auth/Owned.sol) abstract contract Owned { /*////////////////////////////////////////////////////////////// EVENTS //////////////////////////////////////////////////////////////*/ event OwnerUpdated(address indexed user, address indexed newOwner); /*////////////////////////////////////////////////////////////// OWNERSHIP STORAGE //////////////////////////////////////////////////////////////*/ address public owner; modifier onlyOwner() virtual { require(msg.sender == owner, "UNAUTHORIZED"); _; } /*////////////////////////////////////////////////////////////// CONSTRUCTOR //////////////////////////////////////////////////////////////*/ constructor(address _owner) { owner = _owner; emit OwnerUpdated(address(0), _owner); } /*////////////////////////////////////////////////////////////// OWNERSHIP LOGIC //////////////////////////////////////////////////////////////*/ function setOwner(address newOwner) public virtual onlyOwner { owner = newOwner; emit OwnerUpdated(msg.sender, newOwner); } }
{ "remappings": [ "ds-test/=lib/ds-test/src/", "forge-std/=lib/forge-std/src/", "solmate/=lib/solmate/src/" ], "optimizer": { "enabled": true, "runs": 200 }, "metadata": { "bytecodeHash": "ipfs" }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "evmVersion": "london", "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"AlreadyMinted","type":"error"},{"inputs":[],"name":"InvalidProof","type":"error"},{"inputs":[],"name":"SoldOut","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnerUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"hasMinted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot1","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot2","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"mint1","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"mint2","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextTokenId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"owner","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"reservedTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"setOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newReserve","type":"uint256"}],"name":"setReserved","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"newRoot","type":"bytes32"}],"name":"setRoot1","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"newRoot","type":"bytes32"}],"name":"setRoot2","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6080604052600160085560296009553480156200001b57600080fd5b5060405162001a0f38038062001a0f8339810160408190526200003e91620001be565b6040805180820182526006808252656b61772d616960d01b60208084018281528551808701909652928552840152815133939162000080916000919062000102565b5080516200009690600190602084019062000102565b5050600680546001600160a01b0319166001600160a01b0384169081179091556040519091506000907f8292fce18fa69edf4db7b94ea2e58241df0ae57f97e0a6c9b29067028bf92d76908290a3508051620000fa90600790602084019062000102565b5050620002d7565b82805462000110906200029a565b90600052602060002090601f0160209004810192826200013457600085556200017f565b82601f106200014f57805160ff19168380011785556200017f565b828001600101855582156200017f579182015b828111156200017f57825182559160200191906001019062000162565b506200018d92915062000191565b5090565b5b808211156200018d576000815560010162000192565b634e487b7160e01b600052604160045260246000fd5b60006020808385031215620001d257600080fd5b82516001600160401b0380821115620001ea57600080fd5b818501915085601f830112620001ff57600080fd5b815181811115620002145762000214620001a8565b604051601f8201601f19908116603f011681019083821181831017156200023f576200023f620001a8565b8160405282815288868487010111156200025857600080fd5b600093505b828410156200027c57848401860151818501870152928501926200025d565b828411156200028e5760008684830101525b98975050505050505050565b600181811c90821680620002af57607f821691505b60208210811415620002d157634e487b7160e01b600052602260045260246000fd5b50919050565b61172880620002e76000396000f3fe608060405234801561001057600080fd5b50600436106101c45760003560e01c80636352211e116100f9578063b88d4fde11610097578063e0dd8cb811610071578063e0dd8cb8146103b7578063e64710e6146103ca578063e8502697146103d3578063e985e9c5146103e657600080fd5b8063b88d4fde14610388578063c87b56dd1461039b578063ca34adf0146103ae57600080fd5b806375794a3c116100d357806375794a3c146103515780638da5cb5b1461035a57806395d89b411461036d578063a22cb4651461037557600080fd5b80636352211e146103235780636c0360eb1461033657806370a082311461033e57600080fd5b80632d6e71b61161016657806342842e0e1161014057806342842e0e146102d757806351c4998e146102ea57806355f804b3146102fd57806357b8d5281461031057600080fd5b80632d6e71b61461029957806332cb6b0c146102ac57806338e21cce146102b457600080fd5b8063095ea7b3116101a2578063095ea7b31461024757806313af40351461025c57806315a553471461026f57806323b872dd1461028657600080fd5b806301ffc9a7146101c957806306fdde03146101f1578063081812fc14610206575b600080fd5b6101dc6101d7366004611180565b610414565b60405190151581526020015b60405180910390f35b6101f9610466565b6040516101e891906111d4565b61022f610214366004611207565b6004602052600090815260409020546001600160a01b031681565b6040516001600160a01b0390911681526020016101e8565b61025a610255366004611237565b6104f4565b005b61025a61026a366004611261565b6105db565b61027860095481565b6040519081526020016101e8565b61025a61029436600461127c565b610651565b61025a6102a7366004611207565b610818565b610278604581565b6101dc6102c2366004611261565b600a6020526000908152604090205460ff1681565b61025a6102e536600461127c565b610847565b61025a6102f8366004611207565b61093f565b61025a61030b3660046112ce565b61096e565b61025a61031e36600461137f565b6109af565b61022f610331366004611207565b610a78565b6101f9610acf565b61027861034c366004611261565b610adc565b61027860085481565b60065461022f906001600160a01b031681565b6101f9610b3f565b61025a6103833660046113f4565b610b4c565b61025a610396366004611430565b610bb8565b6101f96103a9366004611207565b610ca0565b610278600c5481565b61025a6103c5366004611207565b610d08565b610278600b5481565b61025a6103e136600461137f565b610d37565b6101dc6103f43660046114cb565b600560209081526000928352604080842090915290825290205460ff1681565b60006301ffc9a760e01b6001600160e01b03198316148061044557506380ac58cd60e01b6001600160e01b03198316145b806104605750635b5e139f60e01b6001600160e01b03198316145b92915050565b60008054610473906114fe565b80601f016020809104026020016040519081016040528092919081815260200182805461049f906114fe565b80156104ec5780601f106104c1576101008083540402835291602001916104ec565b820191906000526020600020905b8154815290600101906020018083116104cf57829003601f168201915b505050505081565b6000818152600260205260409020546001600160a01b03163381148061053d57506001600160a01b038116600090815260056020908152604080832033845290915290205460ff165b61057f5760405162461bcd60e51b815260206004820152600e60248201526d1393d517d055551213d49256915160921b60448201526064015b60405180910390fd5b60008281526004602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6006546001600160a01b031633146106055760405162461bcd60e51b815260040161057690611539565b600680546001600160a01b0319166001600160a01b03831690811790915560405133907f8292fce18fa69edf4db7b94ea2e58241df0ae57f97e0a6c9b29067028bf92d7690600090a350565b6000818152600260205260409020546001600160a01b038481169116146106a75760405162461bcd60e51b815260206004820152600a60248201526957524f4e475f46524f4d60b01b6044820152606401610576565b6001600160a01b0382166106f15760405162461bcd60e51b81526020600482015260116024820152701253959053125117d49150d25412515395607a1b6044820152606401610576565b336001600160a01b038416148061072b57506001600160a01b038316600090815260056020908152604080832033845290915290205460ff165b8061074c57506000818152600460205260409020546001600160a01b031633145b6107895760405162461bcd60e51b815260206004820152600e60248201526d1393d517d055551213d49256915160921b6044820152606401610576565b6001600160a01b0380841660008181526003602090815260408083208054600019019055938616808352848320805460010190558583526002825284832080546001600160a01b03199081168317909155600490925284832080549092169091559251849392917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6006546001600160a01b031633146108425760405162461bcd60e51b815260040161057690611539565b600955565b610852838383610651565b6001600160a01b0382163b15806108fb5750604051630a85bd0160e11b8082523360048301526001600160a01b03858116602484015260448301849052608060648401526000608484015290919084169063150b7a029060a4016020604051808303816000875af11580156108cb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108ef919061155f565b6001600160e01b031916145b61093a5760405162461bcd60e51b815260206004820152601060248201526f155394d0519157d49150d2541251539560821b6044820152606401610576565b505050565b6006546001600160a01b031633146109695760405162461bcd60e51b815260040161057690611539565b600b55565b6006546001600160a01b031633146109985760405162461bcd60e51b815260040161057690611539565b80516109ab9060079060208401906110ce565b5050565b600c5433906109c2908490849084610e0a565b6109df576040516309bde33960e01b815260040160405180910390fd5b6009546109ed906045611592565b6008541115610a0f576040516352df9fe560e01b815260040160405180910390fd5b336000908152600a602052604090205460ff1615610a4057604051631bbdf5c560e31b815260040160405180910390fd5b336000818152600a60205260408120805460ff191660011790556008805461093a9392909190610a6f836115a9565b91905055610e4e565b6000818152600260205260409020546001600160a01b031680610aca5760405162461bcd60e51b815260206004820152600a6024820152691393d517d3525395115160b21b6044820152606401610576565b919050565b60078054610473906114fe565b60006001600160a01b038216610b235760405162461bcd60e51b815260206004820152600c60248201526b5a45524f5f4144445245535360a01b6044820152606401610576565b506001600160a01b031660009081526003602052604090205490565b60018054610473906114fe565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610bc3858585610651565b6001600160a01b0384163b1580610c5a5750604051630a85bd0160e11b808252906001600160a01b0386169063150b7a0290610c0b9033908a908990899089906004016115c4565b6020604051808303816000875af1158015610c2a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c4e919061155f565b6001600160e01b031916145b610c995760405162461bcd60e51b815260206004820152601060248201526f155394d0519157d49150d2541251539560821b6044820152606401610576565b5050505050565b6060610cab82610a78565b50600060078054610cbb906114fe565b905011610cd75760405180602001604052806000815250610460565b6007610ce283610f59565b604051602001610cf3929190611634565b60405160208183030381529060405292915050565b6006546001600160a01b03163314610d325760405162461bcd60e51b815260040161057690611539565b600c55565b600b543390610d4a908490849084610e0a565b610d67576040516309bde33960e01b815260040160405180910390fd5b60456008541115610d8b576040516352df9fe560e01b815260040160405180910390fd5b336000908152600a602052604090205460ff1615610dbc57604051631bbdf5c560e31b815260040160405180910390fd5b336000908152600a60205260409020805460ff1916600117905560095415610df45760098054906000610dee836116db565b91905055505b6008805461093a913391906000610a6f836115a9565b60008315610e46578360051b8501855b803580851160051b94855260209485185260406000209301818110610e3e57610e43565b610e1a565b50505b501492915050565b6001600160a01b038216610e985760405162461bcd60e51b81526020600482015260116024820152701253959053125117d49150d25412515395607a1b6044820152606401610576565b6000818152600260205260409020546001600160a01b031615610eee5760405162461bcd60e51b815260206004820152600e60248201526d1053149150511657d3525395115160921b6044820152606401610576565b6001600160a01b038216600081815260036020908152604080832080546001019055848352600290915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60606000610f6683610ff6565b600101905060008167ffffffffffffffff811115610f8657610f866112b8565b6040519080825280601f01601f191660200182016040528015610fb0576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a8504945084610fe957610fee565b610fba565b509392505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106110355772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310611061576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061107f57662386f26fc10000830492506010015b6305f5e1008310611097576305f5e100830492506008015b61271083106110ab57612710830492506004015b606483106110bd576064830492506002015b600a83106104605760010192915050565b8280546110da906114fe565b90600052602060002090601f0160209004810192826110fc5760008555611142565b82601f1061111557805160ff1916838001178555611142565b82800160010185558215611142579182015b82811115611142578251825591602001919060010190611127565b5061114e929150611152565b5090565b5b8082111561114e5760008155600101611153565b6001600160e01b03198116811461117d57600080fd5b50565b60006020828403121561119257600080fd5b813561119d81611167565b9392505050565b60005b838110156111bf5781810151838201526020016111a7565b838111156111ce576000848401525b50505050565b60208152600082518060208401526111f38160408501602087016111a4565b601f01601f19169190910160400192915050565b60006020828403121561121957600080fd5b5035919050565b80356001600160a01b0381168114610aca57600080fd5b6000806040838503121561124a57600080fd5b61125383611220565b946020939093013593505050565b60006020828403121561127357600080fd5b61119d82611220565b60008060006060848603121561129157600080fd5b61129a84611220565b92506112a860208501611220565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b6000602082840312156112e057600080fd5b813567ffffffffffffffff808211156112f857600080fd5b818401915084601f83011261130c57600080fd5b81358181111561131e5761131e6112b8565b604051601f8201601f19908116603f01168101908382118183101715611346576113466112b8565b8160405282815287602084870101111561135f57600080fd5b826020860160208301376000928101602001929092525095945050505050565b6000806020838503121561139257600080fd5b823567ffffffffffffffff808211156113aa57600080fd5b818501915085601f8301126113be57600080fd5b8135818111156113cd57600080fd5b8660208260051b85010111156113e257600080fd5b60209290920196919550909350505050565b6000806040838503121561140757600080fd5b61141083611220565b91506020830135801515811461142557600080fd5b809150509250929050565b60008060008060006080868803121561144857600080fd5b61145186611220565b945061145f60208701611220565b935060408601359250606086013567ffffffffffffffff8082111561148357600080fd5b818801915088601f83011261149757600080fd5b8135818111156114a657600080fd5b8960208285010111156114b857600080fd5b9699959850939650602001949392505050565b600080604083850312156114de57600080fd5b6114e783611220565b91506114f560208401611220565b90509250929050565b600181811c9082168061151257607f821691505b6020821081141561153357634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252600c908201526b15539055551213d49256915160a21b604082015260600190565b60006020828403121561157157600080fd5b815161119d81611167565b634e487b7160e01b600052601160045260246000fd5b6000828210156115a4576115a461157c565b500390565b60006000198214156115bd576115bd61157c565b5060010190565b6001600160a01b038681168252851660208201526040810184905260806060820181905281018290526000828460a0840137600060a0848401015260a0601f19601f85011683010190509695505050505050565b6000815161162a8185602086016111a4565b9290920192915050565b600080845481600182811c91508083168061165057607f831692505b602080841082141561167057634e487b7160e01b86526022600452602486fd5b8180156116845760018114611695576116c2565b60ff198616895284890196506116c2565b60008b81526020902060005b868110156116ba5781548b8201529085019083016116a1565b505084890196505b5050505050506116d28185611618565b95945050505050565b6000816116ea576116ea61157c565b50600019019056fea26469706673582212201182a6ac78b402f8da54ae5442c4eb36853034021cdb0f0d9a53620d06d56d4764736f6c634300080a00330000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002168747470733a2f2f7374617469632e3732312e67672f6b617761692d6d6574612f00000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101c45760003560e01c80636352211e116100f9578063b88d4fde11610097578063e0dd8cb811610071578063e0dd8cb8146103b7578063e64710e6146103ca578063e8502697146103d3578063e985e9c5146103e657600080fd5b8063b88d4fde14610388578063c87b56dd1461039b578063ca34adf0146103ae57600080fd5b806375794a3c116100d357806375794a3c146103515780638da5cb5b1461035a57806395d89b411461036d578063a22cb4651461037557600080fd5b80636352211e146103235780636c0360eb1461033657806370a082311461033e57600080fd5b80632d6e71b61161016657806342842e0e1161014057806342842e0e146102d757806351c4998e146102ea57806355f804b3146102fd57806357b8d5281461031057600080fd5b80632d6e71b61461029957806332cb6b0c146102ac57806338e21cce146102b457600080fd5b8063095ea7b3116101a2578063095ea7b31461024757806313af40351461025c57806315a553471461026f57806323b872dd1461028657600080fd5b806301ffc9a7146101c957806306fdde03146101f1578063081812fc14610206575b600080fd5b6101dc6101d7366004611180565b610414565b60405190151581526020015b60405180910390f35b6101f9610466565b6040516101e891906111d4565b61022f610214366004611207565b6004602052600090815260409020546001600160a01b031681565b6040516001600160a01b0390911681526020016101e8565b61025a610255366004611237565b6104f4565b005b61025a61026a366004611261565b6105db565b61027860095481565b6040519081526020016101e8565b61025a61029436600461127c565b610651565b61025a6102a7366004611207565b610818565b610278604581565b6101dc6102c2366004611261565b600a6020526000908152604090205460ff1681565b61025a6102e536600461127c565b610847565b61025a6102f8366004611207565b61093f565b61025a61030b3660046112ce565b61096e565b61025a61031e36600461137f565b6109af565b61022f610331366004611207565b610a78565b6101f9610acf565b61027861034c366004611261565b610adc565b61027860085481565b60065461022f906001600160a01b031681565b6101f9610b3f565b61025a6103833660046113f4565b610b4c565b61025a610396366004611430565b610bb8565b6101f96103a9366004611207565b610ca0565b610278600c5481565b61025a6103c5366004611207565b610d08565b610278600b5481565b61025a6103e136600461137f565b610d37565b6101dc6103f43660046114cb565b600560209081526000928352604080842090915290825290205460ff1681565b60006301ffc9a760e01b6001600160e01b03198316148061044557506380ac58cd60e01b6001600160e01b03198316145b806104605750635b5e139f60e01b6001600160e01b03198316145b92915050565b60008054610473906114fe565b80601f016020809104026020016040519081016040528092919081815260200182805461049f906114fe565b80156104ec5780601f106104c1576101008083540402835291602001916104ec565b820191906000526020600020905b8154815290600101906020018083116104cf57829003601f168201915b505050505081565b6000818152600260205260409020546001600160a01b03163381148061053d57506001600160a01b038116600090815260056020908152604080832033845290915290205460ff165b61057f5760405162461bcd60e51b815260206004820152600e60248201526d1393d517d055551213d49256915160921b60448201526064015b60405180910390fd5b60008281526004602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6006546001600160a01b031633146106055760405162461bcd60e51b815260040161057690611539565b600680546001600160a01b0319166001600160a01b03831690811790915560405133907f8292fce18fa69edf4db7b94ea2e58241df0ae57f97e0a6c9b29067028bf92d7690600090a350565b6000818152600260205260409020546001600160a01b038481169116146106a75760405162461bcd60e51b815260206004820152600a60248201526957524f4e475f46524f4d60b01b6044820152606401610576565b6001600160a01b0382166106f15760405162461bcd60e51b81526020600482015260116024820152701253959053125117d49150d25412515395607a1b6044820152606401610576565b336001600160a01b038416148061072b57506001600160a01b038316600090815260056020908152604080832033845290915290205460ff165b8061074c57506000818152600460205260409020546001600160a01b031633145b6107895760405162461bcd60e51b815260206004820152600e60248201526d1393d517d055551213d49256915160921b6044820152606401610576565b6001600160a01b0380841660008181526003602090815260408083208054600019019055938616808352848320805460010190558583526002825284832080546001600160a01b03199081168317909155600490925284832080549092169091559251849392917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6006546001600160a01b031633146108425760405162461bcd60e51b815260040161057690611539565b600955565b610852838383610651565b6001600160a01b0382163b15806108fb5750604051630a85bd0160e11b8082523360048301526001600160a01b03858116602484015260448301849052608060648401526000608484015290919084169063150b7a029060a4016020604051808303816000875af11580156108cb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108ef919061155f565b6001600160e01b031916145b61093a5760405162461bcd60e51b815260206004820152601060248201526f155394d0519157d49150d2541251539560821b6044820152606401610576565b505050565b6006546001600160a01b031633146109695760405162461bcd60e51b815260040161057690611539565b600b55565b6006546001600160a01b031633146109985760405162461bcd60e51b815260040161057690611539565b80516109ab9060079060208401906110ce565b5050565b600c5433906109c2908490849084610e0a565b6109df576040516309bde33960e01b815260040160405180910390fd5b6009546109ed906045611592565b6008541115610a0f576040516352df9fe560e01b815260040160405180910390fd5b336000908152600a602052604090205460ff1615610a4057604051631bbdf5c560e31b815260040160405180910390fd5b336000818152600a60205260408120805460ff191660011790556008805461093a9392909190610a6f836115a9565b91905055610e4e565b6000818152600260205260409020546001600160a01b031680610aca5760405162461bcd60e51b815260206004820152600a6024820152691393d517d3525395115160b21b6044820152606401610576565b919050565b60078054610473906114fe565b60006001600160a01b038216610b235760405162461bcd60e51b815260206004820152600c60248201526b5a45524f5f4144445245535360a01b6044820152606401610576565b506001600160a01b031660009081526003602052604090205490565b60018054610473906114fe565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610bc3858585610651565b6001600160a01b0384163b1580610c5a5750604051630a85bd0160e11b808252906001600160a01b0386169063150b7a0290610c0b9033908a908990899089906004016115c4565b6020604051808303816000875af1158015610c2a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c4e919061155f565b6001600160e01b031916145b610c995760405162461bcd60e51b815260206004820152601060248201526f155394d0519157d49150d2541251539560821b6044820152606401610576565b5050505050565b6060610cab82610a78565b50600060078054610cbb906114fe565b905011610cd75760405180602001604052806000815250610460565b6007610ce283610f59565b604051602001610cf3929190611634565b60405160208183030381529060405292915050565b6006546001600160a01b03163314610d325760405162461bcd60e51b815260040161057690611539565b600c55565b600b543390610d4a908490849084610e0a565b610d67576040516309bde33960e01b815260040160405180910390fd5b60456008541115610d8b576040516352df9fe560e01b815260040160405180910390fd5b336000908152600a602052604090205460ff1615610dbc57604051631bbdf5c560e31b815260040160405180910390fd5b336000908152600a60205260409020805460ff1916600117905560095415610df45760098054906000610dee836116db565b91905055505b6008805461093a913391906000610a6f836115a9565b60008315610e46578360051b8501855b803580851160051b94855260209485185260406000209301818110610e3e57610e43565b610e1a565b50505b501492915050565b6001600160a01b038216610e985760405162461bcd60e51b81526020600482015260116024820152701253959053125117d49150d25412515395607a1b6044820152606401610576565b6000818152600260205260409020546001600160a01b031615610eee5760405162461bcd60e51b815260206004820152600e60248201526d1053149150511657d3525395115160921b6044820152606401610576565b6001600160a01b038216600081815260036020908152604080832080546001019055848352600290915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60606000610f6683610ff6565b600101905060008167ffffffffffffffff811115610f8657610f866112b8565b6040519080825280601f01601f191660200182016040528015610fb0576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a8504945084610fe957610fee565b610fba565b509392505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106110355772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310611061576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061107f57662386f26fc10000830492506010015b6305f5e1008310611097576305f5e100830492506008015b61271083106110ab57612710830492506004015b606483106110bd576064830492506002015b600a83106104605760010192915050565b8280546110da906114fe565b90600052602060002090601f0160209004810192826110fc5760008555611142565b82601f1061111557805160ff1916838001178555611142565b82800160010185558215611142579182015b82811115611142578251825591602001919060010190611127565b5061114e929150611152565b5090565b5b8082111561114e5760008155600101611153565b6001600160e01b03198116811461117d57600080fd5b50565b60006020828403121561119257600080fd5b813561119d81611167565b9392505050565b60005b838110156111bf5781810151838201526020016111a7565b838111156111ce576000848401525b50505050565b60208152600082518060208401526111f38160408501602087016111a4565b601f01601f19169190910160400192915050565b60006020828403121561121957600080fd5b5035919050565b80356001600160a01b0381168114610aca57600080fd5b6000806040838503121561124a57600080fd5b61125383611220565b946020939093013593505050565b60006020828403121561127357600080fd5b61119d82611220565b60008060006060848603121561129157600080fd5b61129a84611220565b92506112a860208501611220565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b6000602082840312156112e057600080fd5b813567ffffffffffffffff808211156112f857600080fd5b818401915084601f83011261130c57600080fd5b81358181111561131e5761131e6112b8565b604051601f8201601f19908116603f01168101908382118183101715611346576113466112b8565b8160405282815287602084870101111561135f57600080fd5b826020860160208301376000928101602001929092525095945050505050565b6000806020838503121561139257600080fd5b823567ffffffffffffffff808211156113aa57600080fd5b818501915085601f8301126113be57600080fd5b8135818111156113cd57600080fd5b8660208260051b85010111156113e257600080fd5b60209290920196919550909350505050565b6000806040838503121561140757600080fd5b61141083611220565b91506020830135801515811461142557600080fd5b809150509250929050565b60008060008060006080868803121561144857600080fd5b61145186611220565b945061145f60208701611220565b935060408601359250606086013567ffffffffffffffff8082111561148357600080fd5b818801915088601f83011261149757600080fd5b8135818111156114a657600080fd5b8960208285010111156114b857600080fd5b9699959850939650602001949392505050565b600080604083850312156114de57600080fd5b6114e783611220565b91506114f560208401611220565b90509250929050565b600181811c9082168061151257607f821691505b6020821081141561153357634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252600c908201526b15539055551213d49256915160a21b604082015260600190565b60006020828403121561157157600080fd5b815161119d81611167565b634e487b7160e01b600052601160045260246000fd5b6000828210156115a4576115a461157c565b500390565b60006000198214156115bd576115bd61157c565b5060010190565b6001600160a01b038681168252851660208201526040810184905260806060820181905281018290526000828460a0840137600060a0848401015260a0601f19601f85011683010190509695505050505050565b6000815161162a8185602086016111a4565b9290920192915050565b600080845481600182811c91508083168061165057607f831692505b602080841082141561167057634e487b7160e01b86526022600452602486fd5b8180156116845760018114611695576116c2565b60ff198616895284890196506116c2565b60008b81526020902060005b868110156116ba5781548b8201529085019083016116a1565b505084890196505b5050505050506116d28185611618565b95945050505050565b6000816116ea576116ea61157c565b50600019019056fea26469706673582212201182a6ac78b402f8da54ae5442c4eb36853034021cdb0f0d9a53620d06d56d4764736f6c634300080a0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002168747470733a2f2f7374617469632e3732312e67672f6b617761692d6d6574612f00000000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _baseURI (string): https://static.721.gg/kawai-meta/
-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000021
Arg [2] : 68747470733a2f2f7374617469632e3732312e67672f6b617761692d6d657461
Arg [3] : 2f00000000000000000000000000000000000000000000000000000000000000
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.