Overview
TokenID
109
Total Transfers
-
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
OniApes
Compiler Version
v0.8.17+commit.8df45f5f
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity 0.8.17; /** * @dev Interface of ERC721A. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * The caller cannot approve to their own address. */ error ApproveToCaller(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the * ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); /** * The `quantity` minted with ERC2309 exceeds the safety limit. */ error MintERC2309QuantityExceedsLimit(); /** * The `extraData` cannot be set on an unintialized ownership slot. */ error OwnershipNotInitializedForExtraData(); // ============================================================= // STRUCTS // ============================================================= struct TokenOwnership { // The address of the owner. address addr; // Stores the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; // Arbitrary data similar to `startTimestamp` that can be set via {_extraData}. uint24 extraData; } // ============================================================= // TOKEN COUNTERS // ============================================================= /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() external view returns (uint256); // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); // ============================================================= // IERC721 // ============================================================= /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables * (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, * checking first that contract recipients are aware of the ERC721 protocol * to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move * this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} * whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) external view returns (bool); // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); // ============================================================= // IERC2309 // ============================================================= /** * @dev Emitted when tokens in `fromTokenId` to `toTokenId` * (inclusive) is transferred from `from` to `to`, as defined in the * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard. * * See {_mintERC2309} for more details. */ event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to); } contract OniApes is IERC721A { address private _owner; function owner() public view returns(address){ return _owner; } modifier onlyOwner() { require(_owner==msg.sender); _; } uint256 public constant MAX_SUPPLY = 2023; uint256 public MAX_FREE = 555; uint256 public MAX_FREE_PER_WALLET = 1; uint256 public COST = 0.001 ether; string private constant _name = "OniApes"; string private constant _symbol = "OA"; string private _baseURI = "QmT16C8PSXiM4WMPPo8652extTRAfCwJWEVd5PjEQjgVRF"; constructor() { _owner = msg.sender; } function mint(uint256 amount) external payable{ address _caller = _msgSenderERC721A(); require(totalSupply() + amount <= MAX_SUPPLY, "SoldOut"); require(amount*COST <= msg.value, "Value to Low"); _mint(_caller, amount); } function freeMint() external{ address _caller = _msgSenderERC721A(); uint256 amount = 1; require(totalSupply() + amount <= MAX_FREE, "Freemint SoldOut"); require(amount + _numberMinted(_caller) <= MAX_FREE_PER_WALLET, "Max per Wallet"); _mint(_caller, amount); } // Mask of an entry in packed address data. uint256 private constant BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1; // The bit position of `numberMinted` in packed address data. uint256 private constant BITPOS_NUMBER_MINTED = 64; // The bit position of `numberBurned` in packed address data. uint256 private constant BITPOS_NUMBER_BURNED = 128; // The bit position of `aux` in packed address data. uint256 private constant BITPOS_AUX = 192; // Mask of all 256 bits in packed address data except the 64 bits for `aux`. uint256 private constant BITMASK_AUX_COMPLEMENT = (1 << 192) - 1; // The bit position of `startTimestamp` in packed ownership. uint256 private constant BITPOS_START_TIMESTAMP = 160; // The bit mask of the `burned` bit in packed ownership. uint256 private constant BITMASK_BURNED = 1 << 224; // The bit position of the `nextInitialized` bit in packed ownership. uint256 private constant BITPOS_NEXT_INITIALIZED = 225; // The bit mask of the `nextInitialized` bit in packed ownership. uint256 private constant BITMASK_NEXT_INITIALIZED = 1 << 225; // The tokenId of the next token to be minted. uint256 private _currentIndex = 0; // The number of tokens burned. // uint256 private _burnCounter; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. // See `_packedOwnershipOf` implementation for details. // // Bits Layout: // - [0..159] `addr` // - [160..223] `startTimestamp` // - [224] `burned` // - [225] `nextInitialized` mapping(uint256 => uint256) private _packedOwnerships; // Mapping owner address to address data. // // Bits Layout: // - [0..63] `balance` // - [64..127] `numberMinted` // - [128..191] `numberBurned` // - [192..255] `aux` mapping(address => uint256) private _packedAddressData; // Mapping from token ID to approved address. mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; function setData(string memory _base) external onlyOwner{ _baseURI = _base; } function setConfig(uint256 _MAX_FREE_PER_WALLET, uint256 _COST, uint256 _MAX_FREE) external onlyOwner{ MAX_FREE_PER_WALLET = _MAX_FREE_PER_WALLET; COST = _COST; MAX_FREE = _MAX_FREE; } /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view returns (uint256) { return _currentIndex; } /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see `_totalMinted`. */ function totalSupply() public view override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than `_currentIndex - _startTokenId()` times. unchecked { return _currentIndex - _startTokenId(); } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view returns (uint256) { // Counter underflow is impossible as _currentIndex does not decrement, // and it is initialized to `_startTokenId()` unchecked { return _currentIndex - _startTokenId(); } } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { // The interface IDs are constants representing the first 4 bytes of the XOR of // all function selectors in the interface. See: https://eips.ethereum.org/EIPS/eip-165 // e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)` return interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165. interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721. interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata. } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view override returns (uint256) { if (_addressToUint256(owner) == 0) revert BalanceQueryForZeroAddress(); return _packedAddressData[owner] & BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> BITPOS_NUMBER_MINTED) & BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return uint64(_packedAddressData[owner] >> BITPOS_AUX); } /** * Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { uint256 packed = _packedOwnerships[curr]; // If not burned. if (packed & BITMASK_BURNED == 0) { // Invariant: // There will always be an ownership that has an address and is not burned // before an ownership that does not have an address and is not burned. // Hence, curr will not underflow. // // We can directly compare the packed value. // If the address is zero, packed is zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * Returns the unpacked `TokenOwnership` struct from `packed`. */ function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) { ownership.addr = address(uint160(packed)); ownership.startTimestamp = uint64(packed >> BITPOS_START_TIMESTAMP); ownership.burned = packed & BITMASK_BURNED != 0; } /** * Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around in the collection over time. */ function _ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI; return bytes(baseURI).length != 0 ? string(abi.encodePacked("ipfs://", baseURI, "/", _toString(tokenId), ".json")) : ""; } /** * @dev Casts the address to uint256 without masking. */ function _addressToUint256(address value) private pure returns (uint256 result) { assembly { result := value } } /** * @dev Casts the boolean to uint256 without branching. */ function _boolToUint256(bool value) private pure returns (uint256 result) { assembly { result := value } } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public override { address owner = address(uint160(_packedOwnershipOf(tokenId))); if (to == owner) revert(); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { if (operator == _msgSenderERC721A()) revert ApproveToCaller(); _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { _transfer(from, to, tokenId); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), */ function _exists(uint256 tokenId) internal view returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex; } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _mint(address to, uint256 quantity) internal { uint256 startTokenId = _currentIndex; if (_addressToUint256(to) == 0) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); // Overflows are incredibly unrealistic. // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1 // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1 unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the balance and number minted. _packedAddressData[to] += quantity * ((1 << BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _addressToUint256(to) | (block.timestamp << BITPOS_START_TIMESTAMP) | (_boolToUint256(quantity == 1) << BITPOS_NEXT_INITIALIZED); uint256 updatedIndex = startTokenId; uint256 end = updatedIndex + quantity; do { emit Transfer(address(0), to, updatedIndex++); } while (updatedIndex < end); _currentIndex = updatedIndex; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) private { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); address approvedAddress = _tokenApprovals[tokenId]; bool isApprovedOrOwner = (_msgSenderERC721A() == from || isApprovedForAll(from, _msgSenderERC721A()) || approvedAddress == _msgSenderERC721A()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); // Clear approvals from the previous owner. if (_addressToUint256(approvedAddress) != 0) { delete _tokenApprovals[tokenId]; } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { // We can directly increment and decrement the balances. --_packedAddressData[from]; // Updates: `balance -= 1`. ++_packedAddressData[to]; // Updates: `balance += 1`. // Updates: // - `address` to the next owner. // - `startTimestamp` to the timestamp of transfering. // - `burned` to `false`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _addressToUint256(to) | (block.timestamp << BITPOS_START_TIMESTAMP) | BITMASK_NEXT_INITIALIZED; // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes * minting. * And also called after one token has been burned. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Returns the message sender (defaults to `msg.sender`). * * If you are writing GSN compatible contracts, you need to override this function. */ function _msgSenderERC721A() internal view virtual returns (address) { return msg.sender; } /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function _toString(uint256 value) internal pure returns (string memory ptr) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), // but we allocate 128 bytes to keep the free memory pointer 32-byte word aliged. // We will need 1 32-byte word to store the length, // and 3 32-byte words to store a maximum of 78 digits. Total: 32 + 3 * 32 = 128. ptr := add(mload(0x40), 128) // Update the free memory pointer to allocate. mstore(0x40, ptr) // Cache the end of the memory to calculate the length later. let end := ptr // We write the string from the rightmost digit to the leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // Costs a bit more than early returning for the zero case, // but cheaper in terms of deployment and overall runtime costs. for { // Initialize and perform the first pass without check. let temp := value // Move the pointer 1 byte leftwards to point to an empty character slot. ptr := sub(ptr, 1) // Write the character to the pointer. 48 is the ASCII index of '0'. mstore8(ptr, add(48, mod(temp, 10))) temp := div(temp, 10) } temp { // Keep dividing `temp` until zero. temp := div(temp, 10) } { // Body of the for loop. ptr := sub(ptr, 1) mstore8(ptr, add(48, mod(temp, 10))) } let length := sub(end, ptr) // Move the pointer 32 bytes leftwards to make room for the length. ptr := sub(ptr, 32) // Store the length. mstore(ptr, length) } } function withdraw() external onlyOwner { uint256 balance = address(this).balance; payable(msg.sender).transfer(balance); } }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","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":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","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":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"COST","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_FREE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_FREE_PER_WALLET","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","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":"freeMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","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":"tokenId","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":"uint256","name":"_MAX_FREE_PER_WALLET","type":"uint256"},{"internalType":"uint256","name":"_COST","type":"uint256"},{"internalType":"uint256","name":"_MAX_FREE","type":"uint256"}],"name":"setConfig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_base","type":"string"}],"name":"setData","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":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","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":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405261022b600155600160025566038d7ea4c680006003556040518060600160405280602e8152602001620028ac602e91396004908162000044919062000318565b5060006005553480156200005757600080fd5b50336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550620003ff565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200012057607f821691505b602082108103620001365762000135620000d8565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620001a07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262000161565b620001ac868362000161565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b6000620001f9620001f3620001ed84620001c4565b620001ce565b620001c4565b9050919050565b6000819050919050565b6200021583620001d8565b6200022d620002248262000200565b8484546200016e565b825550505050565b600090565b6200024462000235565b620002518184846200020a565b505050565b5b8181101562000279576200026d6000826200023a565b60018101905062000257565b5050565b601f821115620002c85762000292816200013c565b6200029d8462000151565b81016020851015620002ad578190505b620002c5620002bc8562000151565b83018262000256565b50505b505050565b600082821c905092915050565b6000620002ed60001984600802620002cd565b1980831691505092915050565b6000620003088383620002da565b9150826002028217905092915050565b62000323826200009e565b67ffffffffffffffff8111156200033f576200033e620000a9565b5b6200034b825462000107565b620003588282856200027d565b600060209050601f8311600181146200039057600084156200037b578287015190505b620003878582620002fa565b865550620003f7565b601f198416620003a0866200013c565b60005b82811015620003ca57848901518255600182019150602085019450602081019050620003a3565b86831015620003ea5784890151620003e6601f891682620002da565b8355505b6001600288020188555050505b505050505050565b61249d806200040f6000396000f3fe60806040526004361061014b5760003560e01c80636352211e116100b6578063a22cb4651161006f578063a22cb4651461045d578063b88d4fde14610486578063bf8fbbd2146104af578063c87b56dd146104da578063e985e9c514610517578063ed6661c2146105545761014b565b80636352211e1461034657806370a08231146103835780638da5cb5b146103c057806395d89b41146103eb57806398710d1e14610416578063a0712d68146104415761014b565b806323b872dd1161010857806323b872dd1461027257806332cb6b0c1461029b5780633ccfd60b146102c657806342842e0e146102dd57806347064d6a146103065780635b70ea9f1461032f5761014b565b806301ffc9a71461015057806306fdde031461018d578063081812fc146101b8578063095ea7b3146101f5578063129ee21a1461021e57806318160ddd14610247575b600080fd5b34801561015c57600080fd5b5061017760048036038101906101729190611744565b61057f565b604051610184919061178c565b60405180910390f35b34801561019957600080fd5b506101a2610611565b6040516101af9190611837565b60405180910390f35b3480156101c457600080fd5b506101df60048036038101906101da919061188f565b61064e565b6040516101ec91906118fd565b60405180910390f35b34801561020157600080fd5b5061021c60048036038101906102179190611944565b6106ca565b005b34801561022a57600080fd5b5061024560048036038101906102409190611984565b610843565b005b34801561025357600080fd5b5061025c6108b5565b60405161026991906119e6565b60405180910390f35b34801561027e57600080fd5b5061029960048036038101906102949190611a01565b6108c8565b005b3480156102a757600080fd5b506102b06108d8565b6040516102bd91906119e6565b60405180910390f35b3480156102d257600080fd5b506102db6108de565b005b3480156102e957600080fd5b5061030460048036038101906102ff9190611a01565b610985565b005b34801561031257600080fd5b5061032d60048036038101906103289190611b89565b6109a5565b005b34801561033b57600080fd5b50610344610a10565b005b34801561035257600080fd5b5061036d6004803603810190610368919061188f565b610adf565b60405161037a91906118fd565b60405180910390f35b34801561038f57600080fd5b506103aa60048036038101906103a59190611bd2565b610af1565b6040516103b791906119e6565b60405180910390f35b3480156103cc57600080fd5b506103d5610b85565b6040516103e291906118fd565b60405180910390f35b3480156103f757600080fd5b50610400610bae565b60405161040d9190611837565b60405180910390f35b34801561042257600080fd5b5061042b610beb565b60405161043891906119e6565b60405180910390f35b61045b6004803603810190610456919061188f565b610bf1565b005b34801561046957600080fd5b50610484600480360381019061047f9190611c2b565b610cb2565b005b34801561049257600080fd5b506104ad60048036038101906104a89190611d0c565b610e29565b005b3480156104bb57600080fd5b506104c4610e3a565b6040516104d191906119e6565b60405180910390f35b3480156104e657600080fd5b5061050160048036038101906104fc919061188f565b610e40565b60405161050e9190611837565b60405180910390f35b34801561052357600080fd5b5061053e60048036038101906105399190611d8f565b610f61565b60405161054b919061178c565b60405180910390f35b34801561056057600080fd5b50610569610ff5565b60405161057691906119e6565b60405180910390f35b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806105da57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061060a5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b60606040518060400160405280600781526020017f4f6e694170657300000000000000000000000000000000000000000000000000815250905090565b600061065982610ffb565b61068f576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6008600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006106d58261101c565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361070f57600080fd5b8073ffffffffffffffffffffffffffffffffffffffff1661072e6110e8565b73ffffffffffffffffffffffffffffffffffffffff16146107915761075a816107556110e8565b610f61565b610790576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826008600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b3373ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461089b57600080fd5b826002819055508160038190555080600181905550505050565b60006108bf6110f0565b60055403905090565b6108d38383836110f5565b505050565b6107e781565b3373ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461093657600080fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610981573d6000803e3d6000fd5b5050565b6109a083838360405180602001604052806000815250610e29565b505050565b3373ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146109fd57600080fd5b8060049081610a0c9190611fdb565b5050565b6000610a1a6110e8565b905060006001905060015481610a2e6108b5565b610a3891906120dc565b1115610a79576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a709061215c565b60405180910390fd5b600254610a858361146b565b82610a9091906120dc565b1115610ad1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ac8906121c8565b60405180910390fd5b610adb82826114c2565b5050565b6000610aea8261101c565b9050919050565b600080610afd83611664565b03610b34576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606040518060400160405280600281526020017f4f41000000000000000000000000000000000000000000000000000000000000815250905090565b60025481565b6000610bfb6110e8565b90506107e782610c096108b5565b610c1391906120dc565b1115610c54576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c4b90612234565b60405180910390fd5b3460035483610c639190612254565b1115610ca4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9b906122e2565b60405180910390fd5b610cae81836114c2565b5050565b610cba6110e8565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610d1e576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060096000610d2b6110e8565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16610dd86110e8565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051610e1d919061178c565b60405180910390a35050565b610e348484846110f5565b50505050565b60035481565b6060610e4b82610ffb565b610e81576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600060048054610e9090611dfe565b80601f0160208091040260200160405190810160405280929190818152602001828054610ebc90611dfe565b8015610f095780601f10610ede57610100808354040283529160200191610f09565b820191906000526020600020905b815481529060010190602001808311610eec57829003601f168201915b505050505090506000815103610f2e5760405180602001604052806000815250610f59565b80610f388461166e565b604051602001610f49929190612422565b6040516020818303038152906040525b915050919050565b6000600960008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60015481565b6000816110066110f0565b11158015611015575060055482105b9050919050565b6000808290508061102b6110f0565b116110b1576005548110156110b05760006006600083815260200190815260200160002054905060007c01000000000000000000000000000000000000000000000000000000008216036110ae575b600081036110a457600660008360019003935083815260200190815260200160002054905061107a565b80925050506110e3565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b600033905090565b600090565b60006111008261101c565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611167576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006008600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060008573ffffffffffffffffffffffffffffffffffffffff166111c06110e8565b73ffffffffffffffffffffffffffffffffffffffff1614806111ef57506111ee866111e96110e8565b610f61565b5b8061122c57506111fd6110e8565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16145b905080611265576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600061127083611664565b146112ac576008600085815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690555b600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055507c020000000000000000000000000000000000000000000000000000000060a042901b61137387611664565b1717600660008681526020019081526020016000208190555060007c02000000000000000000000000000000000000000000000000000000008416036113fb57600060018501905060006006600083815260200190815260200160002054036113f95760055481146113f8578360066000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461146386868660016116c8565b505050505050565b600067ffffffffffffffff6040600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054901c169050919050565b6000600554905060006114d484611664565b0361150b576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008203611545576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600160406001901b178202600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555060e16115aa600184146116ce565b901b60a042901b6115ba85611664565b171760066000838152602001908152602001600020819055506000819050600083820190505b818060010192508573ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48082106115e05781600581905550505061165f60008483856116c8565b505050565b6000819050919050565b60606080604051019050806040528082600183039250600a81066030018353600a810490505b80156116b457600183039250600a81066030018353600a81049050611694565b508181036020830392508083525050919050565b50505050565b6000819050919050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b611721816116ec565b811461172c57600080fd5b50565b60008135905061173e81611718565b92915050565b60006020828403121561175a576117596116e2565b5b60006117688482850161172f565b91505092915050565b60008115159050919050565b61178681611771565b82525050565b60006020820190506117a1600083018461177d565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156117e15780820151818401526020810190506117c6565b60008484015250505050565b6000601f19601f8301169050919050565b6000611809826117a7565b61181381856117b2565b93506118238185602086016117c3565b61182c816117ed565b840191505092915050565b6000602082019050818103600083015261185181846117fe565b905092915050565b6000819050919050565b61186c81611859565b811461187757600080fd5b50565b60008135905061188981611863565b92915050565b6000602082840312156118a5576118a46116e2565b5b60006118b38482850161187a565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006118e7826118bc565b9050919050565b6118f7816118dc565b82525050565b600060208201905061191260008301846118ee565b92915050565b611921816118dc565b811461192c57600080fd5b50565b60008135905061193e81611918565b92915050565b6000806040838503121561195b5761195a6116e2565b5b60006119698582860161192f565b925050602061197a8582860161187a565b9150509250929050565b60008060006060848603121561199d5761199c6116e2565b5b60006119ab8682870161187a565b93505060206119bc8682870161187a565b92505060406119cd8682870161187a565b9150509250925092565b6119e081611859565b82525050565b60006020820190506119fb60008301846119d7565b92915050565b600080600060608486031215611a1a57611a196116e2565b5b6000611a288682870161192f565b9350506020611a398682870161192f565b9250506040611a4a8682870161187a565b9150509250925092565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b611a96826117ed565b810181811067ffffffffffffffff82111715611ab557611ab4611a5e565b5b80604052505050565b6000611ac86116d8565b9050611ad48282611a8d565b919050565b600067ffffffffffffffff821115611af457611af3611a5e565b5b611afd826117ed565b9050602081019050919050565b82818337600083830152505050565b6000611b2c611b2784611ad9565b611abe565b905082815260208101848484011115611b4857611b47611a59565b5b611b53848285611b0a565b509392505050565b600082601f830112611b7057611b6f611a54565b5b8135611b80848260208601611b19565b91505092915050565b600060208284031215611b9f57611b9e6116e2565b5b600082013567ffffffffffffffff811115611bbd57611bbc6116e7565b5b611bc984828501611b5b565b91505092915050565b600060208284031215611be857611be76116e2565b5b6000611bf68482850161192f565b91505092915050565b611c0881611771565b8114611c1357600080fd5b50565b600081359050611c2581611bff565b92915050565b60008060408385031215611c4257611c416116e2565b5b6000611c508582860161192f565b9250506020611c6185828601611c16565b9150509250929050565b600067ffffffffffffffff821115611c8657611c85611a5e565b5b611c8f826117ed565b9050602081019050919050565b6000611caf611caa84611c6b565b611abe565b905082815260208101848484011115611ccb57611cca611a59565b5b611cd6848285611b0a565b509392505050565b600082601f830112611cf357611cf2611a54565b5b8135611d03848260208601611c9c565b91505092915050565b60008060008060808587031215611d2657611d256116e2565b5b6000611d348782880161192f565b9450506020611d458782880161192f565b9350506040611d568782880161187a565b925050606085013567ffffffffffffffff811115611d7757611d766116e7565b5b611d8387828801611cde565b91505092959194509250565b60008060408385031215611da657611da56116e2565b5b6000611db48582860161192f565b9250506020611dc58582860161192f565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680611e1657607f821691505b602082108103611e2957611e28611dcf565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302611e917fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82611e54565b611e9b8683611e54565b95508019841693508086168417925050509392505050565b6000819050919050565b6000611ed8611ed3611ece84611859565b611eb3565b611859565b9050919050565b6000819050919050565b611ef283611ebd565b611f06611efe82611edf565b848454611e61565b825550505050565b600090565b611f1b611f0e565b611f26818484611ee9565b505050565b5b81811015611f4a57611f3f600082611f13565b600181019050611f2c565b5050565b601f821115611f8f57611f6081611e2f565b611f6984611e44565b81016020851015611f78578190505b611f8c611f8485611e44565b830182611f2b565b50505b505050565b600082821c905092915050565b6000611fb260001984600802611f94565b1980831691505092915050565b6000611fcb8383611fa1565b9150826002028217905092915050565b611fe4826117a7565b67ffffffffffffffff811115611ffd57611ffc611a5e565b5b6120078254611dfe565b612012828285611f4e565b600060209050601f8311600181146120455760008415612033578287015190505b61203d8582611fbf565b8655506120a5565b601f19841661205386611e2f565b60005b8281101561207b57848901518255600182019150602085019450602081019050612056565b868310156120985784890151612094601f891682611fa1565b8355505b6001600288020188555050505b505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006120e782611859565b91506120f283611859565b925082820190508082111561210a576121096120ad565b5b92915050565b7f467265656d696e7420536f6c644f757400000000000000000000000000000000600082015250565b60006121466010836117b2565b915061215182612110565b602082019050919050565b6000602082019050818103600083015261217581612139565b9050919050565b7f4d6178207065722057616c6c6574000000000000000000000000000000000000600082015250565b60006121b2600e836117b2565b91506121bd8261217c565b602082019050919050565b600060208201905081810360008301526121e1816121a5565b9050919050565b7f536f6c644f757400000000000000000000000000000000000000000000000000600082015250565b600061221e6007836117b2565b9150612229826121e8565b602082019050919050565b6000602082019050818103600083015261224d81612211565b9050919050565b600061225f82611859565b915061226a83611859565b925082820261227881611859565b9150828204841483151761228f5761228e6120ad565b5b5092915050565b7f56616c756520746f204c6f770000000000000000000000000000000000000000600082015250565b60006122cc600c836117b2565b91506122d782612296565b602082019050919050565b600060208201905081810360008301526122fb816122bf565b9050919050565b600081905092915050565b7f697066733a2f2f00000000000000000000000000000000000000000000000000600082015250565b6000612343600783612302565b915061234e8261230d565b600782019050919050565b6000612364826117a7565b61236e8185612302565b935061237e8185602086016117c3565b80840191505092915050565b7f2f00000000000000000000000000000000000000000000000000000000000000600082015250565b60006123c0600183612302565b91506123cb8261238a565b600182019050919050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b600061240c600583612302565b9150612417826123d6565b600582019050919050565b600061242d82612336565b91506124398285612359565b9150612444826123b3565b91506124508284612359565b915061245b826123ff565b9150819050939250505056fea2646970667358221220e1ac783f82589cefc78a472ac2fdb27d81ea4023de736de84ca1010439f64ace64736f6c63430008110033516d5431364338505358694d34574d50506f383635326578745452416643774a5745566435506a45516a67565246
Deployed Bytecode
0x60806040526004361061014b5760003560e01c80636352211e116100b6578063a22cb4651161006f578063a22cb4651461045d578063b88d4fde14610486578063bf8fbbd2146104af578063c87b56dd146104da578063e985e9c514610517578063ed6661c2146105545761014b565b80636352211e1461034657806370a08231146103835780638da5cb5b146103c057806395d89b41146103eb57806398710d1e14610416578063a0712d68146104415761014b565b806323b872dd1161010857806323b872dd1461027257806332cb6b0c1461029b5780633ccfd60b146102c657806342842e0e146102dd57806347064d6a146103065780635b70ea9f1461032f5761014b565b806301ffc9a71461015057806306fdde031461018d578063081812fc146101b8578063095ea7b3146101f5578063129ee21a1461021e57806318160ddd14610247575b600080fd5b34801561015c57600080fd5b5061017760048036038101906101729190611744565b61057f565b604051610184919061178c565b60405180910390f35b34801561019957600080fd5b506101a2610611565b6040516101af9190611837565b60405180910390f35b3480156101c457600080fd5b506101df60048036038101906101da919061188f565b61064e565b6040516101ec91906118fd565b60405180910390f35b34801561020157600080fd5b5061021c60048036038101906102179190611944565b6106ca565b005b34801561022a57600080fd5b5061024560048036038101906102409190611984565b610843565b005b34801561025357600080fd5b5061025c6108b5565b60405161026991906119e6565b60405180910390f35b34801561027e57600080fd5b5061029960048036038101906102949190611a01565b6108c8565b005b3480156102a757600080fd5b506102b06108d8565b6040516102bd91906119e6565b60405180910390f35b3480156102d257600080fd5b506102db6108de565b005b3480156102e957600080fd5b5061030460048036038101906102ff9190611a01565b610985565b005b34801561031257600080fd5b5061032d60048036038101906103289190611b89565b6109a5565b005b34801561033b57600080fd5b50610344610a10565b005b34801561035257600080fd5b5061036d6004803603810190610368919061188f565b610adf565b60405161037a91906118fd565b60405180910390f35b34801561038f57600080fd5b506103aa60048036038101906103a59190611bd2565b610af1565b6040516103b791906119e6565b60405180910390f35b3480156103cc57600080fd5b506103d5610b85565b6040516103e291906118fd565b60405180910390f35b3480156103f757600080fd5b50610400610bae565b60405161040d9190611837565b60405180910390f35b34801561042257600080fd5b5061042b610beb565b60405161043891906119e6565b60405180910390f35b61045b6004803603810190610456919061188f565b610bf1565b005b34801561046957600080fd5b50610484600480360381019061047f9190611c2b565b610cb2565b005b34801561049257600080fd5b506104ad60048036038101906104a89190611d0c565b610e29565b005b3480156104bb57600080fd5b506104c4610e3a565b6040516104d191906119e6565b60405180910390f35b3480156104e657600080fd5b5061050160048036038101906104fc919061188f565b610e40565b60405161050e9190611837565b60405180910390f35b34801561052357600080fd5b5061053e60048036038101906105399190611d8f565b610f61565b60405161054b919061178c565b60405180910390f35b34801561056057600080fd5b50610569610ff5565b60405161057691906119e6565b60405180910390f35b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806105da57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061060a5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b60606040518060400160405280600781526020017f4f6e694170657300000000000000000000000000000000000000000000000000815250905090565b600061065982610ffb565b61068f576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6008600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006106d58261101c565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361070f57600080fd5b8073ffffffffffffffffffffffffffffffffffffffff1661072e6110e8565b73ffffffffffffffffffffffffffffffffffffffff16146107915761075a816107556110e8565b610f61565b610790576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826008600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b3373ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461089b57600080fd5b826002819055508160038190555080600181905550505050565b60006108bf6110f0565b60055403905090565b6108d38383836110f5565b505050565b6107e781565b3373ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461093657600080fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610981573d6000803e3d6000fd5b5050565b6109a083838360405180602001604052806000815250610e29565b505050565b3373ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146109fd57600080fd5b8060049081610a0c9190611fdb565b5050565b6000610a1a6110e8565b905060006001905060015481610a2e6108b5565b610a3891906120dc565b1115610a79576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a709061215c565b60405180910390fd5b600254610a858361146b565b82610a9091906120dc565b1115610ad1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ac8906121c8565b60405180910390fd5b610adb82826114c2565b5050565b6000610aea8261101c565b9050919050565b600080610afd83611664565b03610b34576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606040518060400160405280600281526020017f4f41000000000000000000000000000000000000000000000000000000000000815250905090565b60025481565b6000610bfb6110e8565b90506107e782610c096108b5565b610c1391906120dc565b1115610c54576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c4b90612234565b60405180910390fd5b3460035483610c639190612254565b1115610ca4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9b906122e2565b60405180910390fd5b610cae81836114c2565b5050565b610cba6110e8565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610d1e576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060096000610d2b6110e8565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16610dd86110e8565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051610e1d919061178c565b60405180910390a35050565b610e348484846110f5565b50505050565b60035481565b6060610e4b82610ffb565b610e81576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600060048054610e9090611dfe565b80601f0160208091040260200160405190810160405280929190818152602001828054610ebc90611dfe565b8015610f095780601f10610ede57610100808354040283529160200191610f09565b820191906000526020600020905b815481529060010190602001808311610eec57829003601f168201915b505050505090506000815103610f2e5760405180602001604052806000815250610f59565b80610f388461166e565b604051602001610f49929190612422565b6040516020818303038152906040525b915050919050565b6000600960008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60015481565b6000816110066110f0565b11158015611015575060055482105b9050919050565b6000808290508061102b6110f0565b116110b1576005548110156110b05760006006600083815260200190815260200160002054905060007c01000000000000000000000000000000000000000000000000000000008216036110ae575b600081036110a457600660008360019003935083815260200190815260200160002054905061107a565b80925050506110e3565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b600033905090565b600090565b60006111008261101c565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611167576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006008600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060008573ffffffffffffffffffffffffffffffffffffffff166111c06110e8565b73ffffffffffffffffffffffffffffffffffffffff1614806111ef57506111ee866111e96110e8565b610f61565b5b8061122c57506111fd6110e8565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16145b905080611265576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600061127083611664565b146112ac576008600085815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690555b600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055507c020000000000000000000000000000000000000000000000000000000060a042901b61137387611664565b1717600660008681526020019081526020016000208190555060007c02000000000000000000000000000000000000000000000000000000008416036113fb57600060018501905060006006600083815260200190815260200160002054036113f95760055481146113f8578360066000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461146386868660016116c8565b505050505050565b600067ffffffffffffffff6040600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054901c169050919050565b6000600554905060006114d484611664565b0361150b576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008203611545576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600160406001901b178202600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555060e16115aa600184146116ce565b901b60a042901b6115ba85611664565b171760066000838152602001908152602001600020819055506000819050600083820190505b818060010192508573ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48082106115e05781600581905550505061165f60008483856116c8565b505050565b6000819050919050565b60606080604051019050806040528082600183039250600a81066030018353600a810490505b80156116b457600183039250600a81066030018353600a81049050611694565b508181036020830392508083525050919050565b50505050565b6000819050919050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b611721816116ec565b811461172c57600080fd5b50565b60008135905061173e81611718565b92915050565b60006020828403121561175a576117596116e2565b5b60006117688482850161172f565b91505092915050565b60008115159050919050565b61178681611771565b82525050565b60006020820190506117a1600083018461177d565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156117e15780820151818401526020810190506117c6565b60008484015250505050565b6000601f19601f8301169050919050565b6000611809826117a7565b61181381856117b2565b93506118238185602086016117c3565b61182c816117ed565b840191505092915050565b6000602082019050818103600083015261185181846117fe565b905092915050565b6000819050919050565b61186c81611859565b811461187757600080fd5b50565b60008135905061188981611863565b92915050565b6000602082840312156118a5576118a46116e2565b5b60006118b38482850161187a565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006118e7826118bc565b9050919050565b6118f7816118dc565b82525050565b600060208201905061191260008301846118ee565b92915050565b611921816118dc565b811461192c57600080fd5b50565b60008135905061193e81611918565b92915050565b6000806040838503121561195b5761195a6116e2565b5b60006119698582860161192f565b925050602061197a8582860161187a565b9150509250929050565b60008060006060848603121561199d5761199c6116e2565b5b60006119ab8682870161187a565b93505060206119bc8682870161187a565b92505060406119cd8682870161187a565b9150509250925092565b6119e081611859565b82525050565b60006020820190506119fb60008301846119d7565b92915050565b600080600060608486031215611a1a57611a196116e2565b5b6000611a288682870161192f565b9350506020611a398682870161192f565b9250506040611a4a8682870161187a565b9150509250925092565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b611a96826117ed565b810181811067ffffffffffffffff82111715611ab557611ab4611a5e565b5b80604052505050565b6000611ac86116d8565b9050611ad48282611a8d565b919050565b600067ffffffffffffffff821115611af457611af3611a5e565b5b611afd826117ed565b9050602081019050919050565b82818337600083830152505050565b6000611b2c611b2784611ad9565b611abe565b905082815260208101848484011115611b4857611b47611a59565b5b611b53848285611b0a565b509392505050565b600082601f830112611b7057611b6f611a54565b5b8135611b80848260208601611b19565b91505092915050565b600060208284031215611b9f57611b9e6116e2565b5b600082013567ffffffffffffffff811115611bbd57611bbc6116e7565b5b611bc984828501611b5b565b91505092915050565b600060208284031215611be857611be76116e2565b5b6000611bf68482850161192f565b91505092915050565b611c0881611771565b8114611c1357600080fd5b50565b600081359050611c2581611bff565b92915050565b60008060408385031215611c4257611c416116e2565b5b6000611c508582860161192f565b9250506020611c6185828601611c16565b9150509250929050565b600067ffffffffffffffff821115611c8657611c85611a5e565b5b611c8f826117ed565b9050602081019050919050565b6000611caf611caa84611c6b565b611abe565b905082815260208101848484011115611ccb57611cca611a59565b5b611cd6848285611b0a565b509392505050565b600082601f830112611cf357611cf2611a54565b5b8135611d03848260208601611c9c565b91505092915050565b60008060008060808587031215611d2657611d256116e2565b5b6000611d348782880161192f565b9450506020611d458782880161192f565b9350506040611d568782880161187a565b925050606085013567ffffffffffffffff811115611d7757611d766116e7565b5b611d8387828801611cde565b91505092959194509250565b60008060408385031215611da657611da56116e2565b5b6000611db48582860161192f565b9250506020611dc58582860161192f565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680611e1657607f821691505b602082108103611e2957611e28611dcf565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302611e917fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82611e54565b611e9b8683611e54565b95508019841693508086168417925050509392505050565b6000819050919050565b6000611ed8611ed3611ece84611859565b611eb3565b611859565b9050919050565b6000819050919050565b611ef283611ebd565b611f06611efe82611edf565b848454611e61565b825550505050565b600090565b611f1b611f0e565b611f26818484611ee9565b505050565b5b81811015611f4a57611f3f600082611f13565b600181019050611f2c565b5050565b601f821115611f8f57611f6081611e2f565b611f6984611e44565b81016020851015611f78578190505b611f8c611f8485611e44565b830182611f2b565b50505b505050565b600082821c905092915050565b6000611fb260001984600802611f94565b1980831691505092915050565b6000611fcb8383611fa1565b9150826002028217905092915050565b611fe4826117a7565b67ffffffffffffffff811115611ffd57611ffc611a5e565b5b6120078254611dfe565b612012828285611f4e565b600060209050601f8311600181146120455760008415612033578287015190505b61203d8582611fbf565b8655506120a5565b601f19841661205386611e2f565b60005b8281101561207b57848901518255600182019150602085019450602081019050612056565b868310156120985784890151612094601f891682611fa1565b8355505b6001600288020188555050505b505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006120e782611859565b91506120f283611859565b925082820190508082111561210a576121096120ad565b5b92915050565b7f467265656d696e7420536f6c644f757400000000000000000000000000000000600082015250565b60006121466010836117b2565b915061215182612110565b602082019050919050565b6000602082019050818103600083015261217581612139565b9050919050565b7f4d6178207065722057616c6c6574000000000000000000000000000000000000600082015250565b60006121b2600e836117b2565b91506121bd8261217c565b602082019050919050565b600060208201905081810360008301526121e1816121a5565b9050919050565b7f536f6c644f757400000000000000000000000000000000000000000000000000600082015250565b600061221e6007836117b2565b9150612229826121e8565b602082019050919050565b6000602082019050818103600083015261224d81612211565b9050919050565b600061225f82611859565b915061226a83611859565b925082820261227881611859565b9150828204841483151761228f5761228e6120ad565b5b5092915050565b7f56616c756520746f204c6f770000000000000000000000000000000000000000600082015250565b60006122cc600c836117b2565b91506122d782612296565b602082019050919050565b600060208201905081810360008301526122fb816122bf565b9050919050565b600081905092915050565b7f697066733a2f2f00000000000000000000000000000000000000000000000000600082015250565b6000612343600783612302565b915061234e8261230d565b600782019050919050565b6000612364826117a7565b61236e8185612302565b935061237e8185602086016117c3565b80840191505092915050565b7f2f00000000000000000000000000000000000000000000000000000000000000600082015250565b60006123c0600183612302565b91506123cb8261238a565b600182019050919050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b600061240c600583612302565b9150612417826123d6565b600582019050919050565b600061242d82612336565b91506124398285612359565b9150612444826123b3565b91506124508284612359565b915061245b826123ff565b9150819050939250505056fea2646970667358221220e1ac783f82589cefc78a472ac2fdb27d81ea4023de736de84ca1010439f64ace64736f6c63430008110033
Loading...
Loading
Loading...
Loading
[ 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.