Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
236 MEV
Holders
163
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 MEVLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
MEV
Compiler Version
v0.8.10+commit.fc410830
Optimization Enabled:
Yes with 1000 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.10; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "./IReverseRegistrar.sol"; import "./ERC721.sol"; contract MEV is ERC721, Ownable { string public PROVENANCE; bool provenanceSet; bool public paused; address immutable bricks = 0x6C06FF31156C4db4BE59D2ee4525b7380C9f09cA; address immutable ENSReverseRegistrar = 0x084b1c3C81545d370f3634392De611CaaBFf8148; mapping (uint256 => bool) public bricksTokenIDsUsed; constructor( string memory _name, string memory _symbol ) ERC721(_name, _symbol, 99) {} function flipPaused() external onlyOwner { paused = !paused; } function setProvenanceHash(string memory provenanceHash) public onlyOwner { require(!provenanceSet); PROVENANCE = provenanceHash; provenanceSet = true; } function setBaseURI(string memory baseURI) public onlyOwner { _setBaseURI(baseURI); } function mintWithBricks(uint256[] calldata bricksTokenIDs) public payable { require(!paused, "s"); uint amountToMint = 0; for (uint i = 0; i<bricksTokenIDs.length; i++) { if (!bricksTokenIDsUsed[bricksTokenIDs[i]] && IERC721(bricks).ownerOf(bricksTokenIDs[i]) == msg.sender) { bricksTokenIDsUsed[bricksTokenIDs[i]] = true; amountToMint = amountToMint + 1; } } require(amountToMint > 0, "must have non zero mint amount"); _safeMint(msg.sender, amountToMint); } function addReverseENSRecord(string memory name) external onlyOwner{ IReverseRegistrar(ENSReverseRegistrar).setName(name); } function withdraw() external onlyOwner() { uint balance = address(this).balance; payable(msg.sender).transfer(balance); } function withdrawTokens(address tokenAddress) external onlyOwner() { IERC20(tokenAddress).transfer(msg.sender, IERC20(tokenAddress).balanceOf(address(this))); } } // The High Table
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 amount ) external returns (bool); }
// SPDX-License-Identifier: UNLICENSED pragma solidity >=0.8.4; interface IReverseRegistrar { function setDefaultResolver(address resolver) external; function claim(address owner) external returns (bytes32); function claimForAddr( address addr, address owner, address resolver ) external returns (bytes32); function claimWithResolver(address owner, address resolver) external returns (bytes32); function setName(string memory name) external returns (bytes32); function setNameForAddr( address addr, address owner, address resolver, string memory name ) external returns (bytes32); function node(address addr) external pure returns (bytes32); }
// SPDX-License-Identifier: MIT // Creator: Chiru Labs pragma solidity ^0.8.10; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/utils/Context.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata and Enumerable extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at 0 (e.g. 0, 1, 2, 3..). * * Does not support burning tokens to address(0). */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable { using Address for address; using Strings for uint256; struct TokenOwnership { address addr; uint64 startTimestamp; } struct AddressData { uint128 balance; uint128 numberMinted; } uint256 private currentIndex = 0; uint256 internal immutable maxBatchSize; // Token name string private _name; // Token symbol string private _symbol; // Base URI string private _baseURI; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. See ownershipOf implementation for details. mapping(uint256 => TokenOwnership) private _ownerships; // Mapping owner address to address data mapping(address => AddressData) private _addressData; // 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; /** * @dev * `maxBatchSize` refers to how much a minter can mint at a time. */ constructor( string memory name_, string memory symbol_, uint256 maxBatchSize_ ) { require(maxBatchSize_ > 0, "b"); _name = name_; _symbol = symbol_; maxBatchSize = maxBatchSize_; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view override returns (uint256) { return currentIndex; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view override returns (uint256) { require(index < totalSupply(), "g"); return index; } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. * This read function is O(totalSupply). If calling from a separate contract, be sure to test gas first. * It may also degrade with extremely large collection sizes (e.g >> 10000), test for your use case. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view override returns (uint256) { require(index < balanceOf(owner), "b"); uint256 numMintedSoFar = totalSupply(); uint256 tokenIdsIdx = 0; address currOwnershipAddr = address(0); for (uint256 i = 0; i < numMintedSoFar; i++) { TokenOwnership memory ownership = _ownerships[i]; if (ownership.addr != address(0)) { currOwnershipAddr = ownership.addr; } if (currOwnershipAddr == owner) { if (tokenIdsIdx == index) { return i; } tokenIdsIdx++; } } revert("u"); } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view override returns (uint256) { require(owner != address(0), "0"); return uint256(_addressData[owner].balance); } function _numberMinted(address owner) internal view returns (uint256) { require(owner != address(0), "0"); return uint256(_addressData[owner].numberMinted); } function ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { require(_exists(tokenId), "t"); uint256 lowestTokenToCheck; if (tokenId >= maxBatchSize) { lowestTokenToCheck = tokenId - maxBatchSize + 1; } for (uint256 curr = tokenId; curr >= lowestTokenToCheck; curr--) { TokenOwnership memory ownership = _ownerships[curr]; if (ownership.addr != address(0)) { return ownership; } } revert("o"); } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return ownershipOf(tokenId).addr; } /** * @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; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "z"); return bytes(_baseURI).length > 0 ? string(abi.encodePacked(_baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function baseURI() public view virtual returns (string memory) { return _baseURI; } /** * @dev Internal function to set the base URI for all token IDs. It is * automatically added as a prefix to the value returned in {tokenURI}, * or to the token ID if {tokenURI} is empty. */ function _setBaseURI(string memory baseURI_) internal virtual { _baseURI = baseURI_; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "o"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "a" ); _approve(to, tokenId, owner); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { require(_exists(tokenId), "a"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public override { require(operator != _msgSender(), "a"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), 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 override { _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public override { _transfer(from, to, tokenId); require( _checkOnERC721Received(from, to, tokenId, _data), "z" ); } /** * @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 tokenId < currentIndex; } function _safeMint(address to, uint256 quantity) internal { _safeMint(to, quantity, ""); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` cannot be larger than the max batch size. * * Emits a {Transfer} event. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal { uint256 startTokenId = currentIndex; require(to != address(0), "0"); // We know if the first token in the batch doesn't exist, the other ones don't as well, because of serial ordering. require(!_exists(startTokenId), "a"); require(quantity <= maxBatchSize, "m"); _beforeTokenTransfers(address(0), to, startTokenId, quantity); AddressData memory addressData = _addressData[to]; _addressData[to] = AddressData( addressData.balance + uint128(quantity), addressData.numberMinted + uint128(quantity) ); _ownerships[startTokenId] = TokenOwnership(to, uint64(block.timestamp)); uint256 updatedIndex = startTokenId; for (uint256 i = 0; i < quantity; i++) { emit Transfer(address(0), to, updatedIndex); require( _checkOnERC721Received(address(0), to, updatedIndex, _data), "z" ); updatedIndex++; } 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 { TokenOwnership memory prevOwnership = ownershipOf(tokenId); bool isApprovedOrOwner = (_msgSender() == prevOwnership.addr || getApproved(tokenId) == _msgSender() || isApprovedForAll(prevOwnership.addr, _msgSender())); require(isApprovedOrOwner, "a"); require(prevOwnership.addr == from, "o"); require(to != address(0), "0"); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, prevOwnership.addr); _addressData[from].balance -= 1; _addressData[to].balance += 1; _ownerships[tokenId] = TokenOwnership(to, uint64(block.timestamp)); // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; if (_ownerships[nextTokenId].addr == address(0)) { if (_exists(nextTokenId)) { _ownerships[nextTokenId] = TokenOwnership(prevOwnership.addr, prevOwnership.startTimestamp); } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve( address to, uint256 tokenId, address owner ) private { _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } uint256 public nextOwnerToExplicitlySet = 0; /** * @dev Explicitly set `owners` to eliminate loops in future calls of ownerOf(). */ function _setOwnersExplicit(uint256 quantity) internal { uint256 oldNextOwnerToSet = nextOwnerToExplicitlySet; require(quantity > 0, "q"); uint256 endIndex = oldNextOwnerToSet + quantity - 1; if (endIndex > currentIndex - 1) { endIndex = currentIndex - 1; } // We know if the last one in the group exists, all in the group exist, due to serial ordering. require(_exists(endIndex), "n"); for (uint256 i = oldNextOwnerToSet; i <= endIndex; i++) { if (_ownerships[i].addr == address(0)) { TokenOwnership memory ownership = ownershipOf(i); _ownerships[i] = TokenOwnership(ownership.addr, ownership.startTimestamp); } } nextOwnerToExplicitlySet = endIndex + 1; } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("z"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting. * * 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` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes * minting. * * 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` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @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`. * * 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 approved 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 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 ) external; /** * @dev Transfers `tokenId` token 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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "optimizer": { "enabled": true, "runs": 1000 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "metadata": { "useLiteralContent": true }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"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":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","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":"PROVENANCE","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"name","type":"string"}],"name":"addReverseENSRecord","outputs":[],"stateMutability":"nonpayable","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":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"bricksTokenIDsUsed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"flipPaused","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":"bricksTokenIDs","type":"uint256[]"}],"name":"mintWithBricks","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextOwnerToExplicitlySet","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":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","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":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"provenanceHash","type":"string"}],"name":"setProvenanceHash","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":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"}],"name":"withdrawTokens","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60e06040526000808055600855736c06ff31156c4db4be59d2ee4525b7380c9f09ca60a05273084b1c3c81545d370f3634392de611caabff814860c0523480156200004957600080fd5b5060405162002917380380620029178339810160408190526200006c916200027a565b8181606382516200008590600190602086019062000107565b5081516200009b90600290602085019062000107565b5060805250620000ad905033620000b5565b505062000321565b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200011590620002e4565b90600052602060002090601f01602090048101928262000139576000855562000184565b82601f106200015457805160ff191683800117855562000184565b8280016001018555821562000184579182015b828111156200018457825182559160200191906001019062000167565b506200019292915062000196565b5090565b5b8082111562000192576000815560010162000197565b634e487b7160e01b600052604160045260246000fd5b600082601f830112620001d557600080fd5b81516001600160401b0380821115620001f257620001f2620001ad565b604051601f8301601f19908116603f011681019082821181831017156200021d576200021d620001ad565b816040528381526020925086838588010111156200023a57600080fd5b600091505b838210156200025e57858201830151818301840152908201906200023f565b83821115620002705760008385830101525b9695505050505050565b600080604083850312156200028e57600080fd5b82516001600160401b0380821115620002a657600080fd5b620002b486838701620001c3565b93506020850151915080821115620002cb57600080fd5b50620002da85828601620001c3565b9150509250929050565b600181811c90821680620002f957607f821691505b602082108114156200031b57634e487b7160e01b600052602260045260246000fd5b50919050565b60805160a05160c0516125b86200035f60003960006112fe01526000610f7501526000818161183c015281816118660152611c4d01526125b86000f3fe6080604052600436106101d85760003560e01c80636352211e11610102578063a13bfa0111610095578063d7224ba011610064578063d7224ba01461052b578063dfb5259c14610541578063e985e9c514610561578063f2fde38b146105aa57600080fd5b8063a13bfa01146104b8578063a22cb465146104cb578063b88d4fde146104eb578063c87b56dd1461050b57600080fd5b8063715018a6116100d1578063715018a61461044057806383d7f91f146104555780638da5cb5b1461048557806395d89b41146104a357600080fd5b80636352211e146103d65780636373a6b1146103f65780636c0360eb1461040b57806370a082311461042057600080fd5b80632f745c591161017a57806349df728c1161014957806349df728c146103575780634f6ccce71461037757806355f804b3146103975780635c975abb146103b757600080fd5b80632f745c59146102ed578063333171bb1461030d5780633ccfd60b1461032257806342842e0e1461033757600080fd5b8063095ea7b3116101b6578063095ea7b31461026c578063109695231461028e57806318160ddd146102ae57806323b872dd146102cd57600080fd5b806301ffc9a7146101dd57806306fdde0314610212578063081812fc14610234575b600080fd5b3480156101e957600080fd5b506101fd6101f8366004611f34565b6105ca565b60405190151581526020015b60405180910390f35b34801561021e57600080fd5b5061022761069b565b6040516102099190611fb0565b34801561024057600080fd5b5061025461024f366004611fc3565b61072d565b6040516001600160a01b039091168152602001610209565b34801561027857600080fd5b5061028c610287366004611ff1565b61078b565b005b34801561029a57600080fd5b5061028c6102a93660046120a9565b61083a565b3480156102ba57600080fd5b506000545b604051908152602001610209565b3480156102d957600080fd5b5061028c6102e83660046120f2565b6108c8565b3480156102f957600080fd5b506102bf610308366004611ff1565b6108d3565b34801561031957600080fd5b5061028c610a1f565b34801561032e57600080fd5b5061028c610a96565b34801561034357600080fd5b5061028c6103523660046120f2565b610b23565b34801561036357600080fd5b5061028c610372366004612133565b610b3e565b34801561038357600080fd5b506102bf610392366004611fc3565b610c92565b3480156103a357600080fd5b5061028c6103b23660046120a9565b610ce8565b3480156103c357600080fd5b50600b546101fd90610100900460ff1681565b3480156103e257600080fd5b506102546103f1366004611fc3565b610d4e565b34801561040257600080fd5b50610227610d60565b34801561041757600080fd5b50610227610dee565b34801561042c57600080fd5b506102bf61043b366004612133565b610dfd565b34801561044c57600080fd5b5061028c610e5e565b34801561046157600080fd5b506101fd610470366004611fc3565b600c6020526000908152604090205460ff1681565b34801561049157600080fd5b506009546001600160a01b0316610254565b3480156104af57600080fd5b50610227610ec4565b61028c6104c6366004612150565b610ed3565b3480156104d757600080fd5b5061028c6104e63660046121d3565b6110e5565b3480156104f757600080fd5b5061028c61050636600461220c565b61118e565b34801561051757600080fd5b50610227610526366004611fc3565b6111db565b34801561053757600080fd5b506102bf60085481565b34801561054d57600080fd5b5061028c61055c3660046120a9565b611274565b34801561056d57600080fd5b506101fd61057c36600461228c565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156105b657600080fd5b5061028c6105c5366004612133565b611376565b60006001600160e01b031982167f80ac58cd00000000000000000000000000000000000000000000000000000000148061062d57506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b8061066157506001600160e01b031982167f780e9d6300000000000000000000000000000000000000000000000000000000145b8061069557507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b03198316145b92915050565b6060600180546106aa906122ba565b80601f01602080910402602001604051908101604052809291908181526020018280546106d6906122ba565b80156107235780601f106106f857610100808354040283529160200191610723565b820191906000526020600020905b81548152906001019060200180831161070657829003601f168201915b5050505050905090565b600061073a826000541190565b61076f5760405162461bcd60e51b81526020600482015260016024820152606160f81b60448201526064015b60405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061079682610d4e565b9050806001600160a01b0316836001600160a01b031614156107de5760405162461bcd60e51b81526020600482015260016024820152606f60f81b6044820152606401610766565b336001600160a01b03821614806107fa57506107fa813361057c565b61082a5760405162461bcd60e51b81526020600482015260016024820152606160f81b6044820152606401610766565b610835838383611455565b505050565b6009546001600160a01b031633146108945760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610766565b600b5460ff16156108a457600080fd5b80516108b790600a906020840190611e8e565b5050600b805460ff19166001179055565b6108358383836114be565b60006108de83610dfd565b821061092c5760405162461bcd60e51b815260206004820152600160248201527f62000000000000000000000000000000000000000000000000000000000000006044820152606401610766565b600080549080805b838110156109d6576000818152600460209081526040918290208251808401909352546001600160a01b038116808452600160a01b90910467ffffffffffffffff16918301919091521561098757805192505b876001600160a01b0316836001600160a01b031614156109c357868414156109b55750935061069592505050565b836109bf8161230b565b9450505b50806109ce8161230b565b915050610934565b5060405162461bcd60e51b815260206004820152600160248201527f75000000000000000000000000000000000000000000000000000000000000006044820152606401610766565b6009546001600160a01b03163314610a795760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610766565b600b805461ff001981166101009182900460ff1615909102179055565b6009546001600160a01b03163314610af05760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610766565b6040514790339082156108fc029083906000818181858888f19350505050158015610b1f573d6000803e3d6000fd5b5050565b6108358383836040518060200160405280600081525061118e565b6009546001600160a01b03163314610b985760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610766565b6040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201526001600160a01b0382169063a9059cbb90339083906370a0823190602401602060405180830381865afa158015610bff573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c239190612326565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044016020604051808303816000875af1158015610c6e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b1f919061233f565b600080548210610ce45760405162461bcd60e51b815260206004820152600160248201527f67000000000000000000000000000000000000000000000000000000000000006044820152606401610766565b5090565b6009546001600160a01b03163314610d425760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610766565b610d4b816117ba565b50565b6000610d59826117cd565b5192915050565b600a8054610d6d906122ba565b80601f0160208091040260200160405190810160405280929190818152602001828054610d99906122ba565b8015610de65780601f10610dbb57610100808354040283529160200191610de6565b820191906000526020600020905b815481529060010190602001808311610dc957829003601f168201915b505050505081565b6060600380546106aa906122ba565b60006001600160a01b038216610e395760405162461bcd60e51b81526020600482015260016024820152600360fc1b6044820152606401610766565b506001600160a01b03166000908152600560205260409020546001600160801b031690565b6009546001600160a01b03163314610eb85760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610766565b610ec26000611930565b565b6060600280546106aa906122ba565b600b54610100900460ff1615610f2b5760405162461bcd60e51b815260206004820152600160248201527f73000000000000000000000000000000000000000000000000000000000000006044820152606401610766565b6000805b8281101561108a57600c6000858584818110610f4d57610f4d61235c565b602090810292909201358352508101919091526040016000205460ff161580156110255750337f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316636352211e868685818110610fb457610fb461235c565b905060200201356040518263ffffffff1660e01b8152600401610fd991815260200190565b602060405180830381865afa158015610ff6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061101a9190612372565b6001600160a01b0316145b15611078576001600c60008686858181106110425761104261235c565b60209081029290920135835250810191909152604001600020805460ff191691151591909117905561107582600161238f565b91505b806110828161230b565b915050610f2f565b50600081116110db5760405162461bcd60e51b815260206004820152601e60248201527f6d7573742068617665206e6f6e207a65726f206d696e7420616d6f756e7400006044820152606401610766565b610835338261198f565b6001600160a01b0382163314156111225760405162461bcd60e51b81526020600482015260016024820152606160f81b6044820152606401610766565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6111998484846114be565b6111a5848484846119a9565b6111d55760405162461bcd60e51b81526020600482015260016024820152603d60f91b6044820152606401610766565b50505050565b60606111e8826000541190565b6112185760405162461bcd60e51b81526020600482015260016024820152603d60f91b6044820152606401610766565b600060038054611227906122ba565b9050116112435760405180602001604052806000815250610695565b600361124e83611abc565b60405160200161125f9291906123c3565b60405160208183030381529060405292915050565b6009546001600160a01b031633146112ce5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610766565b6040517fc47f00270000000000000000000000000000000000000000000000000000000081526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063c47f002790611333908490600401611fb0565b6020604051808303816000875af1158015611352573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b1f9190612326565b6009546001600160a01b031633146113d05760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610766565b6001600160a01b03811661144c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610766565b610d4b81611930565b600082815260066020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006114c9826117cd565b80519091506000906001600160a01b0316336001600160a01b031614806115005750336114f58461072d565b6001600160a01b0316145b8061151257508151611512903361057c565b9050806115455760405162461bcd60e51b81526020600482015260016024820152606160f81b6044820152606401610766565b846001600160a01b031682600001516001600160a01b03161461158e5760405162461bcd60e51b81526020600482015260016024820152606f60f81b6044820152606401610766565b6001600160a01b0384166115c85760405162461bcd60e51b81526020600482015260016024820152600360fc1b6044820152606401610766565b6115d86000848460000151611455565b6001600160a01b038516600090815260056020526040812080546001929061160a9084906001600160801b031661246a565b82546101009290920a6001600160801b038181021990931691831602179091556001600160a01b0386166000908152600560205260408120805460019450909261165691859116612492565b82546001600160801b039182166101009390930a9283029190920219909116179055506040805180820182526001600160a01b03808716825267ffffffffffffffff428116602080850191825260008981526004909152948520935184549151909216600160a01b026001600160e01b031990911691909216171790556116de84600161238f565b6000818152600460205260409020549091506001600160a01b031661177057611708816000541190565b156117705760408051808201825284516001600160a01b03908116825260208087015167ffffffffffffffff9081168285019081526000878152600490935294909120925183549451909116600160a01b026001600160e01b03199094169116179190911790555b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b8051610b1f906003906020840190611e8e565b60408051808201909152600080825260208201526117ec826000541190565b6118385760405162461bcd60e51b815260206004820152600160248201527f74000000000000000000000000000000000000000000000000000000000000006044820152606401610766565b60007f000000000000000000000000000000000000000000000000000000000000000083106118995761188b7f0000000000000000000000000000000000000000000000000000000000000000846124bd565b61189690600161238f565b90505b825b818110611903576000818152600460209081526040918290208251808401909352546001600160a01b038116808452600160a01b90910467ffffffffffffffff1691830191909152156118f057949350505050565b50806118fb816124d4565b91505061189b565b5060405162461bcd60e51b81526020600482015260016024820152606f60f81b6044820152606401610766565b600980546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610b1f828260405180602001604052806000815250611bd2565b60006001600160a01b0384163b15611ab057604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906119ed9033908990889088906004016124eb565b6020604051808303816000875af1925050508015611a28575060408051601f3d908101601f19168201909252611a2591810190612527565b60015b611a96573d808015611a56576040519150601f19603f3d011682016040523d82523d6000602084013e611a5b565b606091505b508051611a8e5760405162461bcd60e51b81526020600482015260016024820152603d60f91b6044820152606401610766565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611ab4565b5060015b949350505050565b606081611ae05750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611b0a5780611af48161230b565b9150611b039050600a8361255a565b9150611ae4565b60008167ffffffffffffffff811115611b2557611b2561201d565b6040519080825280601f01601f191660200182016040528015611b4f576020820181803683370190505b5090505b8415611ab457611b646001836124bd565b9150611b71600a8661256e565b611b7c90603061238f565b60f81b818381518110611b9157611b9161235c565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350611bcb600a8661255a565b9450611b53565b6000546001600160a01b038416611c0f5760405162461bcd60e51b81526020600482015260016024820152600360fc1b6044820152606401610766565b611c1a816000541190565b15611c4b5760405162461bcd60e51b81526020600482015260016024820152606160f81b6044820152606401610766565b7f0000000000000000000000000000000000000000000000000000000000000000831115611cbb5760405162461bcd60e51b815260206004820152600160248201527f6d000000000000000000000000000000000000000000000000000000000000006044820152606401610766565b6001600160a01b0384166000908152600560209081526040918290208251808401845290546001600160801b0380821683527001000000000000000000000000000000009091041691810191909152815180830190925280519091908190611d24908790612492565b6001600160801b03168152602001858360200151611d429190612492565b6001600160801b039081169091526001600160a01b03808816600081815260056020908152604080832087519783015187167001000000000000000000000000000000000297909616969096179094558451808601865291825267ffffffffffffffff4281168386019081528883526004909552948120915182549451909516600160a01b026001600160e01b031990941694909216939093179190911790915582905b85811015611e835760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4611e3360008884886119a9565b611e635760405162461bcd60e51b81526020600482015260016024820152603d60f91b6044820152606401610766565b81611e6d8161230b565b9250508080611e7b9061230b565b915050611de6565b5060008190556117b2565b828054611e9a906122ba565b90600052602060002090601f016020900481019282611ebc5760008555611f02565b82601f10611ed557805160ff1916838001178555611f02565b82800160010185558215611f02579182015b82811115611f02578251825591602001919060010190611ee7565b50610ce49291505b80821115610ce45760008155600101611f0a565b6001600160e01b031981168114610d4b57600080fd5b600060208284031215611f4657600080fd5b8135611f5181611f1e565b9392505050565b60005b83811015611f73578181015183820152602001611f5b565b838111156111d55750506000910152565b60008151808452611f9c816020860160208601611f58565b601f01601f19169290920160200192915050565b602081526000611f516020830184611f84565b600060208284031215611fd557600080fd5b5035919050565b6001600160a01b0381168114610d4b57600080fd5b6000806040838503121561200457600080fd5b823561200f81611fdc565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561204e5761204e61201d565b604051601f8501601f19908116603f011681019082821181831017156120765761207661201d565b8160405280935085815286868601111561208f57600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156120bb57600080fd5b813567ffffffffffffffff8111156120d257600080fd5b8201601f810184136120e357600080fd5b611ab484823560208401612033565b60008060006060848603121561210757600080fd5b833561211281611fdc565b9250602084013561212281611fdc565b929592945050506040919091013590565b60006020828403121561214557600080fd5b8135611f5181611fdc565b6000806020838503121561216357600080fd5b823567ffffffffffffffff8082111561217b57600080fd5b818501915085601f83011261218f57600080fd5b81358181111561219e57600080fd5b8660208260051b85010111156121b357600080fd5b60209290920196919550909350505050565b8015158114610d4b57600080fd5b600080604083850312156121e657600080fd5b82356121f181611fdc565b91506020830135612201816121c5565b809150509250929050565b6000806000806080858703121561222257600080fd5b843561222d81611fdc565b9350602085013561223d81611fdc565b925060408501359150606085013567ffffffffffffffff81111561226057600080fd5b8501601f8101871361227157600080fd5b61228087823560208401612033565b91505092959194509250565b6000806040838503121561229f57600080fd5b82356122aa81611fdc565b9150602083013561220181611fdc565b600181811c908216806122ce57607f821691505b602082108114156122ef57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b600060001982141561231f5761231f6122f5565b5060010190565b60006020828403121561233857600080fd5b5051919050565b60006020828403121561235157600080fd5b8151611f51816121c5565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561238457600080fd5b8151611f5181611fdc565b600082198211156123a2576123a26122f5565b500190565b600081516123b9818560208601611f58565b9290920192915050565b600080845481600182811c9150808316806123df57607f831692505b60208084108214156123ff57634e487b7160e01b86526022600452602486fd5b818015612413576001811461242457612451565b60ff19861689528489019650612451565b60008b81526020902060005b868110156124495781548b820152908501908301612430565b505084890196505b50505050505061246181856123a7565b95945050505050565b60006001600160801b038381169083168181101561248a5761248a6122f5565b039392505050565b60006001600160801b038083168185168083038211156124b4576124b46122f5565b01949350505050565b6000828210156124cf576124cf6122f5565b500390565b6000816124e3576124e36122f5565b506000190190565b60006001600160a01b0380871683528086166020840152508360408301526080606083015261251d6080830184611f84565b9695505050505050565b60006020828403121561253957600080fd5b8151611f5181611f1e565b634e487b7160e01b600052601260045260246000fd5b60008261256957612569612544565b500490565b60008261257d5761257d612544565b50069056fea2646970667358221220a9cd975ea1f8bb93d976c2579267cc20b9e1109ed657cb439f9532f7c1eca87064736f6c634300080a00330000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000034d4556000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000034d45560000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106101d85760003560e01c80636352211e11610102578063a13bfa0111610095578063d7224ba011610064578063d7224ba01461052b578063dfb5259c14610541578063e985e9c514610561578063f2fde38b146105aa57600080fd5b8063a13bfa01146104b8578063a22cb465146104cb578063b88d4fde146104eb578063c87b56dd1461050b57600080fd5b8063715018a6116100d1578063715018a61461044057806383d7f91f146104555780638da5cb5b1461048557806395d89b41146104a357600080fd5b80636352211e146103d65780636373a6b1146103f65780636c0360eb1461040b57806370a082311461042057600080fd5b80632f745c591161017a57806349df728c1161014957806349df728c146103575780634f6ccce71461037757806355f804b3146103975780635c975abb146103b757600080fd5b80632f745c59146102ed578063333171bb1461030d5780633ccfd60b1461032257806342842e0e1461033757600080fd5b8063095ea7b3116101b6578063095ea7b31461026c578063109695231461028e57806318160ddd146102ae57806323b872dd146102cd57600080fd5b806301ffc9a7146101dd57806306fdde0314610212578063081812fc14610234575b600080fd5b3480156101e957600080fd5b506101fd6101f8366004611f34565b6105ca565b60405190151581526020015b60405180910390f35b34801561021e57600080fd5b5061022761069b565b6040516102099190611fb0565b34801561024057600080fd5b5061025461024f366004611fc3565b61072d565b6040516001600160a01b039091168152602001610209565b34801561027857600080fd5b5061028c610287366004611ff1565b61078b565b005b34801561029a57600080fd5b5061028c6102a93660046120a9565b61083a565b3480156102ba57600080fd5b506000545b604051908152602001610209565b3480156102d957600080fd5b5061028c6102e83660046120f2565b6108c8565b3480156102f957600080fd5b506102bf610308366004611ff1565b6108d3565b34801561031957600080fd5b5061028c610a1f565b34801561032e57600080fd5b5061028c610a96565b34801561034357600080fd5b5061028c6103523660046120f2565b610b23565b34801561036357600080fd5b5061028c610372366004612133565b610b3e565b34801561038357600080fd5b506102bf610392366004611fc3565b610c92565b3480156103a357600080fd5b5061028c6103b23660046120a9565b610ce8565b3480156103c357600080fd5b50600b546101fd90610100900460ff1681565b3480156103e257600080fd5b506102546103f1366004611fc3565b610d4e565b34801561040257600080fd5b50610227610d60565b34801561041757600080fd5b50610227610dee565b34801561042c57600080fd5b506102bf61043b366004612133565b610dfd565b34801561044c57600080fd5b5061028c610e5e565b34801561046157600080fd5b506101fd610470366004611fc3565b600c6020526000908152604090205460ff1681565b34801561049157600080fd5b506009546001600160a01b0316610254565b3480156104af57600080fd5b50610227610ec4565b61028c6104c6366004612150565b610ed3565b3480156104d757600080fd5b5061028c6104e63660046121d3565b6110e5565b3480156104f757600080fd5b5061028c61050636600461220c565b61118e565b34801561051757600080fd5b50610227610526366004611fc3565b6111db565b34801561053757600080fd5b506102bf60085481565b34801561054d57600080fd5b5061028c61055c3660046120a9565b611274565b34801561056d57600080fd5b506101fd61057c36600461228c565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156105b657600080fd5b5061028c6105c5366004612133565b611376565b60006001600160e01b031982167f80ac58cd00000000000000000000000000000000000000000000000000000000148061062d57506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b8061066157506001600160e01b031982167f780e9d6300000000000000000000000000000000000000000000000000000000145b8061069557507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b03198316145b92915050565b6060600180546106aa906122ba565b80601f01602080910402602001604051908101604052809291908181526020018280546106d6906122ba565b80156107235780601f106106f857610100808354040283529160200191610723565b820191906000526020600020905b81548152906001019060200180831161070657829003601f168201915b5050505050905090565b600061073a826000541190565b61076f5760405162461bcd60e51b81526020600482015260016024820152606160f81b60448201526064015b60405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061079682610d4e565b9050806001600160a01b0316836001600160a01b031614156107de5760405162461bcd60e51b81526020600482015260016024820152606f60f81b6044820152606401610766565b336001600160a01b03821614806107fa57506107fa813361057c565b61082a5760405162461bcd60e51b81526020600482015260016024820152606160f81b6044820152606401610766565b610835838383611455565b505050565b6009546001600160a01b031633146108945760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610766565b600b5460ff16156108a457600080fd5b80516108b790600a906020840190611e8e565b5050600b805460ff19166001179055565b6108358383836114be565b60006108de83610dfd565b821061092c5760405162461bcd60e51b815260206004820152600160248201527f62000000000000000000000000000000000000000000000000000000000000006044820152606401610766565b600080549080805b838110156109d6576000818152600460209081526040918290208251808401909352546001600160a01b038116808452600160a01b90910467ffffffffffffffff16918301919091521561098757805192505b876001600160a01b0316836001600160a01b031614156109c357868414156109b55750935061069592505050565b836109bf8161230b565b9450505b50806109ce8161230b565b915050610934565b5060405162461bcd60e51b815260206004820152600160248201527f75000000000000000000000000000000000000000000000000000000000000006044820152606401610766565b6009546001600160a01b03163314610a795760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610766565b600b805461ff001981166101009182900460ff1615909102179055565b6009546001600160a01b03163314610af05760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610766565b6040514790339082156108fc029083906000818181858888f19350505050158015610b1f573d6000803e3d6000fd5b5050565b6108358383836040518060200160405280600081525061118e565b6009546001600160a01b03163314610b985760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610766565b6040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201526001600160a01b0382169063a9059cbb90339083906370a0823190602401602060405180830381865afa158015610bff573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c239190612326565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044016020604051808303816000875af1158015610c6e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b1f919061233f565b600080548210610ce45760405162461bcd60e51b815260206004820152600160248201527f67000000000000000000000000000000000000000000000000000000000000006044820152606401610766565b5090565b6009546001600160a01b03163314610d425760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610766565b610d4b816117ba565b50565b6000610d59826117cd565b5192915050565b600a8054610d6d906122ba565b80601f0160208091040260200160405190810160405280929190818152602001828054610d99906122ba565b8015610de65780601f10610dbb57610100808354040283529160200191610de6565b820191906000526020600020905b815481529060010190602001808311610dc957829003601f168201915b505050505081565b6060600380546106aa906122ba565b60006001600160a01b038216610e395760405162461bcd60e51b81526020600482015260016024820152600360fc1b6044820152606401610766565b506001600160a01b03166000908152600560205260409020546001600160801b031690565b6009546001600160a01b03163314610eb85760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610766565b610ec26000611930565b565b6060600280546106aa906122ba565b600b54610100900460ff1615610f2b5760405162461bcd60e51b815260206004820152600160248201527f73000000000000000000000000000000000000000000000000000000000000006044820152606401610766565b6000805b8281101561108a57600c6000858584818110610f4d57610f4d61235c565b602090810292909201358352508101919091526040016000205460ff161580156110255750337f0000000000000000000000006c06ff31156c4db4be59d2ee4525b7380c9f09ca6001600160a01b0316636352211e868685818110610fb457610fb461235c565b905060200201356040518263ffffffff1660e01b8152600401610fd991815260200190565b602060405180830381865afa158015610ff6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061101a9190612372565b6001600160a01b0316145b15611078576001600c60008686858181106110425761104261235c565b60209081029290920135835250810191909152604001600020805460ff191691151591909117905561107582600161238f565b91505b806110828161230b565b915050610f2f565b50600081116110db5760405162461bcd60e51b815260206004820152601e60248201527f6d7573742068617665206e6f6e207a65726f206d696e7420616d6f756e7400006044820152606401610766565b610835338261198f565b6001600160a01b0382163314156111225760405162461bcd60e51b81526020600482015260016024820152606160f81b6044820152606401610766565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6111998484846114be565b6111a5848484846119a9565b6111d55760405162461bcd60e51b81526020600482015260016024820152603d60f91b6044820152606401610766565b50505050565b60606111e8826000541190565b6112185760405162461bcd60e51b81526020600482015260016024820152603d60f91b6044820152606401610766565b600060038054611227906122ba565b9050116112435760405180602001604052806000815250610695565b600361124e83611abc565b60405160200161125f9291906123c3565b60405160208183030381529060405292915050565b6009546001600160a01b031633146112ce5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610766565b6040517fc47f00270000000000000000000000000000000000000000000000000000000081526001600160a01b037f000000000000000000000000084b1c3c81545d370f3634392de611caabff8148169063c47f002790611333908490600401611fb0565b6020604051808303816000875af1158015611352573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b1f9190612326565b6009546001600160a01b031633146113d05760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610766565b6001600160a01b03811661144c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610766565b610d4b81611930565b600082815260066020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006114c9826117cd565b80519091506000906001600160a01b0316336001600160a01b031614806115005750336114f58461072d565b6001600160a01b0316145b8061151257508151611512903361057c565b9050806115455760405162461bcd60e51b81526020600482015260016024820152606160f81b6044820152606401610766565b846001600160a01b031682600001516001600160a01b03161461158e5760405162461bcd60e51b81526020600482015260016024820152606f60f81b6044820152606401610766565b6001600160a01b0384166115c85760405162461bcd60e51b81526020600482015260016024820152600360fc1b6044820152606401610766565b6115d86000848460000151611455565b6001600160a01b038516600090815260056020526040812080546001929061160a9084906001600160801b031661246a565b82546101009290920a6001600160801b038181021990931691831602179091556001600160a01b0386166000908152600560205260408120805460019450909261165691859116612492565b82546001600160801b039182166101009390930a9283029190920219909116179055506040805180820182526001600160a01b03808716825267ffffffffffffffff428116602080850191825260008981526004909152948520935184549151909216600160a01b026001600160e01b031990911691909216171790556116de84600161238f565b6000818152600460205260409020549091506001600160a01b031661177057611708816000541190565b156117705760408051808201825284516001600160a01b03908116825260208087015167ffffffffffffffff9081168285019081526000878152600490935294909120925183549451909116600160a01b026001600160e01b03199094169116179190911790555b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b8051610b1f906003906020840190611e8e565b60408051808201909152600080825260208201526117ec826000541190565b6118385760405162461bcd60e51b815260206004820152600160248201527f74000000000000000000000000000000000000000000000000000000000000006044820152606401610766565b60007f000000000000000000000000000000000000000000000000000000000000006383106118995761188b7f0000000000000000000000000000000000000000000000000000000000000063846124bd565b61189690600161238f565b90505b825b818110611903576000818152600460209081526040918290208251808401909352546001600160a01b038116808452600160a01b90910467ffffffffffffffff1691830191909152156118f057949350505050565b50806118fb816124d4565b91505061189b565b5060405162461bcd60e51b81526020600482015260016024820152606f60f81b6044820152606401610766565b600980546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610b1f828260405180602001604052806000815250611bd2565b60006001600160a01b0384163b15611ab057604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906119ed9033908990889088906004016124eb565b6020604051808303816000875af1925050508015611a28575060408051601f3d908101601f19168201909252611a2591810190612527565b60015b611a96573d808015611a56576040519150601f19603f3d011682016040523d82523d6000602084013e611a5b565b606091505b508051611a8e5760405162461bcd60e51b81526020600482015260016024820152603d60f91b6044820152606401610766565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611ab4565b5060015b949350505050565b606081611ae05750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611b0a5780611af48161230b565b9150611b039050600a8361255a565b9150611ae4565b60008167ffffffffffffffff811115611b2557611b2561201d565b6040519080825280601f01601f191660200182016040528015611b4f576020820181803683370190505b5090505b8415611ab457611b646001836124bd565b9150611b71600a8661256e565b611b7c90603061238f565b60f81b818381518110611b9157611b9161235c565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350611bcb600a8661255a565b9450611b53565b6000546001600160a01b038416611c0f5760405162461bcd60e51b81526020600482015260016024820152600360fc1b6044820152606401610766565b611c1a816000541190565b15611c4b5760405162461bcd60e51b81526020600482015260016024820152606160f81b6044820152606401610766565b7f0000000000000000000000000000000000000000000000000000000000000063831115611cbb5760405162461bcd60e51b815260206004820152600160248201527f6d000000000000000000000000000000000000000000000000000000000000006044820152606401610766565b6001600160a01b0384166000908152600560209081526040918290208251808401845290546001600160801b0380821683527001000000000000000000000000000000009091041691810191909152815180830190925280519091908190611d24908790612492565b6001600160801b03168152602001858360200151611d429190612492565b6001600160801b039081169091526001600160a01b03808816600081815260056020908152604080832087519783015187167001000000000000000000000000000000000297909616969096179094558451808601865291825267ffffffffffffffff4281168386019081528883526004909552948120915182549451909516600160a01b026001600160e01b031990941694909216939093179190911790915582905b85811015611e835760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4611e3360008884886119a9565b611e635760405162461bcd60e51b81526020600482015260016024820152603d60f91b6044820152606401610766565b81611e6d8161230b565b9250508080611e7b9061230b565b915050611de6565b5060008190556117b2565b828054611e9a906122ba565b90600052602060002090601f016020900481019282611ebc5760008555611f02565b82601f10611ed557805160ff1916838001178555611f02565b82800160010185558215611f02579182015b82811115611f02578251825591602001919060010190611ee7565b50610ce49291505b80821115610ce45760008155600101611f0a565b6001600160e01b031981168114610d4b57600080fd5b600060208284031215611f4657600080fd5b8135611f5181611f1e565b9392505050565b60005b83811015611f73578181015183820152602001611f5b565b838111156111d55750506000910152565b60008151808452611f9c816020860160208601611f58565b601f01601f19169290920160200192915050565b602081526000611f516020830184611f84565b600060208284031215611fd557600080fd5b5035919050565b6001600160a01b0381168114610d4b57600080fd5b6000806040838503121561200457600080fd5b823561200f81611fdc565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561204e5761204e61201d565b604051601f8501601f19908116603f011681019082821181831017156120765761207661201d565b8160405280935085815286868601111561208f57600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156120bb57600080fd5b813567ffffffffffffffff8111156120d257600080fd5b8201601f810184136120e357600080fd5b611ab484823560208401612033565b60008060006060848603121561210757600080fd5b833561211281611fdc565b9250602084013561212281611fdc565b929592945050506040919091013590565b60006020828403121561214557600080fd5b8135611f5181611fdc565b6000806020838503121561216357600080fd5b823567ffffffffffffffff8082111561217b57600080fd5b818501915085601f83011261218f57600080fd5b81358181111561219e57600080fd5b8660208260051b85010111156121b357600080fd5b60209290920196919550909350505050565b8015158114610d4b57600080fd5b600080604083850312156121e657600080fd5b82356121f181611fdc565b91506020830135612201816121c5565b809150509250929050565b6000806000806080858703121561222257600080fd5b843561222d81611fdc565b9350602085013561223d81611fdc565b925060408501359150606085013567ffffffffffffffff81111561226057600080fd5b8501601f8101871361227157600080fd5b61228087823560208401612033565b91505092959194509250565b6000806040838503121561229f57600080fd5b82356122aa81611fdc565b9150602083013561220181611fdc565b600181811c908216806122ce57607f821691505b602082108114156122ef57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b600060001982141561231f5761231f6122f5565b5060010190565b60006020828403121561233857600080fd5b5051919050565b60006020828403121561235157600080fd5b8151611f51816121c5565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561238457600080fd5b8151611f5181611fdc565b600082198211156123a2576123a26122f5565b500190565b600081516123b9818560208601611f58565b9290920192915050565b600080845481600182811c9150808316806123df57607f831692505b60208084108214156123ff57634e487b7160e01b86526022600452602486fd5b818015612413576001811461242457612451565b60ff19861689528489019650612451565b60008b81526020902060005b868110156124495781548b820152908501908301612430565b505084890196505b50505050505061246181856123a7565b95945050505050565b60006001600160801b038381169083168181101561248a5761248a6122f5565b039392505050565b60006001600160801b038083168185168083038211156124b4576124b46122f5565b01949350505050565b6000828210156124cf576124cf6122f5565b500390565b6000816124e3576124e36122f5565b506000190190565b60006001600160a01b0380871683528086166020840152508360408301526080606083015261251d6080830184611f84565b9695505050505050565b60006020828403121561253957600080fd5b8151611f5181611f1e565b634e487b7160e01b600052601260045260246000fd5b60008261256957612569612544565b500490565b60008261257d5761257d612544565b50069056fea2646970667358221220a9cd975ea1f8bb93d976c2579267cc20b9e1109ed657cb439f9532f7c1eca87064736f6c634300080a0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000034d4556000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000034d45560000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _name (string): MEV
Arg [1] : _symbol (string): MEV
-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [3] : 4d45560000000000000000000000000000000000000000000000000000000000
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [5] : 4d45560000000000000000000000000000000000000000000000000000000000
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.