ERC-721
Overview
Max Total Supply
6,667 MVRV1
Holders
936
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
0 MVRV1Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
MartiansVsRednecks
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
Yes with 1500 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/access/Ownable.sol"; import "./ERC721A.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; contract MartiansVsRednecks is Ownable, ERC721A { string private _baseTokenURI; uint public constant MAX_MVSR = 6667; uint public MAX_SALE = 10; uint public MAX_PRESALE = 5; address private teamAddress1; address private teamAddress2; address private teamAddress3; address private teamAddress4; address private netvrkAddress; address private devTeamAddress; uint public price; bytes32 public merkleRoot; bool public hasPreSaleStarted = false; bool public preSaleOver = false; bool public hasSaleStarted = false; modifier onlyDev() { require(devTeamAddress == _msgSender(), "MartiansVsRednecks::onlyDev: caller is not the dev."); _; } constructor( string memory baseURI_, bytes32 _merkleRoot ) ERC721A( "MartiansVsRednecks", "MVRV1", 300, MAX_MVSR ) { price = 0.1 ether; netvrkAddress = 0x901FC05c4a4bC027a8979089D716b6793052Cc16; devTeamAddress = 0x71298E004c85e339C90390Df54e9265c4fF7b285; teamAddress1 = 0xaA9CB1fa773c3d36E79Ad39Ba116D8FF28344203; teamAddress2 = 0x9eA791D214aFE8FCb0257DC3e8fcf54C3AD35171; teamAddress3 = 0x3Bc057a2b4bb703FC5c02D2eAeDB63eD517F31DD; teamAddress4 = 0x49F2f8802531421873669Af560D99579fe243a21; _baseTokenURI = baseURI_; merkleRoot = _merkleRoot; } function mint(uint _quantity) external payable { require(hasSaleStarted, "MartiansVsRednecks::mint: Sale hasn't started."); require(_quantity > 0, "MartiansVsRednecks::mint: Quantity cannot be zero."); require(_quantity <= MAX_SALE, "MartiansVsRednecks::mint: Quantity cannot be bigger than MAX_BUYING."); require(totalSupply() + _quantity <= MAX_MVSR, "MartiansVsRednecks::mint: Sold out."); require(msg.value >= price * _quantity, "MartiansVsRednecks::mint: Ether value sent is below the price."); _safeMint(msg.sender, _quantity); } function preMint( uint _quantity, bytes32[] calldata merkleProof ) external payable { require(hasPreSaleStarted, "MartiansVsRednecks::preMint: Presale hasn't started."); require(!preSaleOver, "MartiansVsRednecks::preMint: Presale is over, no more allowances."); require(_quantity > 0, "MartiansVsRednecks::preMint: Quantity cannot be zero."); require(_quantity <= MAX_PRESALE, "MartiansVsRednecks::preMint: Quantity cannot be bigger than MAX_PRESALE."); require(_numberMinted(msg.sender) + _quantity <= MAX_PRESALE, "MartiansVsRednecks::preMint: The user is not allowed to do further presale buyings."); require(totalSupply() + _quantity <= MAX_MVSR, "MartiansVsRednecks::preMint: Sold out"); require(msg.value >= price *_quantity, "MartiansVsRednecks::preMint: Ether value sent is below the price."); bytes32 node = keccak256(abi.encodePacked(msg.sender)); require( MerkleProof.verify(merkleProof, merkleRoot, node), "MartiansVsRednecks::preMint: Invalid merkle proof." ); _safeMint(msg.sender, _quantity); } function mintByOwner(address _to, uint256 _quantity) public onlyOwner { require(_quantity > 0, "MartiansVsRednecks::mintByOwner: Quantity cannot be zero."); require(totalSupply() + _quantity <= MAX_MVSR, "MartiansVsRednecks::mintByOwner: Sold out."); _safeMint(_to, _quantity); } function batchMintByOwner(address[] memory _mintAddressList, uint256[] memory _quantityList) external onlyOwner { require (_mintAddressList.length == _quantityList.length, "MartiansVsRednecks::batchMintByOwner: The length should be same"); for (uint256 i = 0; i < _mintAddressList.length; i += 1) { mintByOwner(_mintAddressList[i], _quantityList[i]); } } function setMerkleRoot(bytes32 _merkleRoot) external onlyOwner { merkleRoot = _merkleRoot; } function _baseURI() internal view virtual override returns (string memory) { return _baseTokenURI; } function setBaseURI(string calldata baseURI) external onlyOwner { _baseTokenURI = baseURI; } function setPrice(uint _price) external onlyOwner { price = _price; } function setSaleMax(uint _saleMax) external onlyOwner { MAX_SALE = _saleMax; } function setPreSaleMax(uint _preSaleMax) external onlyOwner { MAX_PRESALE = _preSaleMax; } function startSale() external onlyOwner { require(!hasSaleStarted, "MartiansVsRednecks::startSale: Sale already active."); hasSaleStarted = true; hasPreSaleStarted = false; preSaleOver = true; } function pauseSale() external onlyOwner { require(hasSaleStarted, "MartiansVsRednecks::pauseSale: Sale is not active."); hasSaleStarted = false; } function startPreSale() external onlyOwner { require(!preSaleOver, "MartiansVsRednecks::startPreSale: Presale is over, cannot start again."); require(!hasPreSaleStarted, "MartiansVsRednecks::startPreSale: Presale already active."); hasPreSaleStarted = true; } function pausePreSale() external onlyOwner { require(hasPreSaleStarted, "MartiansVsRednecks::pausePreSale: Presale is not active."); hasPreSaleStarted = false; } function setTeamAddress1(address _teamAddress1) external onlyOwner { teamAddress1 = _teamAddress1; } function setTeamAddress2(address _teamAddress2) external onlyOwner { teamAddress2 = _teamAddress2; } function setTeamAddress3(address _teamAddress3) external onlyOwner { teamAddress3 = _teamAddress3; } function setTeamAddress4(address _teamAddress4) external onlyOwner { teamAddress3 = _teamAddress4; } function setNetvrkAddress(address _netvrksAddress) external onlyOwner { netvrkAddress = _netvrksAddress; } function setDevTeamAddress(address _devTeamAddress) external onlyDev { devTeamAddress = _devTeamAddress; } function numberMinted(address owner) public view returns (uint256) { return _numberMinted(owner); } function getOwnershipData(uint256 tokenId) external view returns (TokenOwnership memory) { return ownershipOf(tokenId); } function withdrawETH() external onlyOwner { uint256 totalBalance = address(this).balance; uint256 devTeamAmount = totalBalance; uint256 teamAmount = (totalBalance * 1750) / 10000; // 17.5 for every team member uint256 netvrkAmount = (totalBalance * 2000) / 10000; // 20% for Netvrk devTeamAmount = devTeamAmount - (teamAmount * 4) - netvrkAmount; // resting 10% for dev team (bool withdrawTeam1, ) = teamAddress1.call{value: teamAmount}(""); require(withdrawTeam1, "Withdraw Failed To Team address 1."); (bool withdrawTeam2, ) = teamAddress2.call{value: teamAmount}(""); require(withdrawTeam2, "Withdraw Failed To Team address 2."); (bool withdrawTeam3, ) = teamAddress3.call{value: teamAmount}(""); require(withdrawTeam3, "Withdraw Failed To Team address 3."); (bool withdrawTeam4, ) = teamAddress4.call{value: teamAmount}(""); require(withdrawTeam4, "Withdraw Failed To Team address 4."); (bool withdrawNetvrk, ) = netvrkAddress.call{value: netvrkAmount}(""); require(withdrawNetvrk, "Withdraw Failed To Netvrk."); (bool withdrawDevTeam, ) = devTeamAddress.call{value: devTeamAmount}(""); require(withdrawDevTeam, "Withdraw Failed To Dev Team."); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Trees proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. * * See `test/utils/cryptography/MerkleProof.test.js` for some examples. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merklee tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { bytes32 proofElement = proof[i]; if (computedHash <= proofElement) { // Hash(current computed hash + current element of the proof) computedHash = _efficientHash(computedHash, proofElement); } else { // Hash(current element of the proof + current computed hash) computedHash = _efficientHash(proofElement, computedHash); } } return computedHash; } function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) { assembly { mstore(0x00, a) mstore(0x20, b) value := keccak256(0x00, 0x40) } } }
// 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 pragma solidity ^0.8.0; 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"; contract ERC721A 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 collectionSize; uint256 internal immutable maxBatchSize; // Token name string private _name; // Token symbol string private _symbol; // 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(address => mapping(address => bool)) private _operatorApprovals; constructor( string memory name_, string memory symbol_, uint256 maxBatchSize_, uint256 collectionSize_ ) { require( collectionSize_ > 0, "ERC721A: collection must have a nonzero supply" ); require(maxBatchSize_ > 0, "ERC721A: max batch size must be nonzero"); _name = name_; _symbol = symbol_; maxBatchSize = maxBatchSize_; collectionSize = collectionSize_; } function totalSupply() public view override returns (uint256) { return currentIndex; } function tokenByIndex(uint256 index) public view override returns (uint256) { require(index < totalSupply(), "ERC721A: global index out of bounds"); return index; } function tokenOfOwnerByIndex(address owner, uint256 index) public view override returns (uint256) { require(index < balanceOf(owner), "ERC721A: owner index out of bounds"); 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("ERC721A: unable to get token of owner by index"); } 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); } function balanceOf(address owner) public view override returns (uint256) { require(owner != address(0), "ERC721A: balance query for the zero address"); return uint256(_addressData[owner].balance); } function _numberMinted(address owner) internal view returns (uint256) { require( owner != address(0), "ERC721A: number minted query for the zero address" ); return uint256(_addressData[owner].numberMinted); } function ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { require(_exists(tokenId), "ERC721A: owner query for nonexistent token"); 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("ERC721A: unable to determine the owner of token"); } function ownerOf(uint256 tokenId) public view override returns (address) { return ownershipOf(tokenId).addr; } function name() public view virtual override returns (string memory) { return _name; } function symbol() public view virtual override returns (string memory) { return _symbol; } function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require( _exists(tokenId), "ERC721Metadata: URI query for nonexistent token" ); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } function _baseURI() internal view virtual returns (string memory) { return ""; } function approve(address to, uint256 tokenId) public override { address owner = ERC721A.ownerOf(tokenId); require(to != owner, "ERC721A: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721A: approve caller is not owner nor approved for all" ); _approve(to, tokenId, owner); } function getApproved(uint256 tokenId) public view override returns (address) { require(_exists(tokenId), "ERC721A: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } function setApprovalForAll(address operator, bool approved) public override { require(operator != _msgSender(), "ERC721A: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } function transferFrom( address from, address to, uint256 tokenId ) public override { _transfer(from, to, tokenId); } function safeTransferFrom( address from, address to, uint256 tokenId ) public override { safeTransferFrom(from, to, tokenId, ""); } function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public override { _transfer(from, to, tokenId); require( _checkOnERC721Received(from, to, tokenId, _data), "ERC721A: transfer to non ERC721Receiver implementer" ); } function _exists(uint256 tokenId) internal view returns (bool) { return tokenId < currentIndex; } function _safeMint(address to, uint256 quantity) internal { _safeMint(to, quantity, ""); } function _safeMint( address to, uint256 quantity, bytes memory _data ) internal { uint256 startTokenId = currentIndex; require(to != address(0), "ERC721A: mint to the zero address"); // 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), "ERC721A: token already minted"); require(quantity <= maxBatchSize, "ERC721A: quantity to mint too high"); _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), "ERC721A: transfer to non ERC721Receiver implementer" ); updatedIndex++; } currentIndex = updatedIndex; _afterTokenTransfers(address(0), to, startTokenId, quantity); } 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, "ERC721A: transfer caller is not owner nor approved" ); require( prevOwnership.addr == from, "ERC721A: transfer from incorrect owner" ); require(to != address(0), "ERC721A: transfer to the zero address"); _beforeTokenTransfers(from, to, tokenId, 1); _approve(address(0), tokenId, prevOwnership.addr); _addressData[from].balance -= 1; _addressData[to].balance += 1; _ownerships[tokenId] = TokenOwnership(to, uint64(block.timestamp)); 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); } function _approve( address to, uint256 tokenId, address owner ) private { _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } 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("ERC721A: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} }
// 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 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/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.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 (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 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 v4.4.1 (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 `IERC721.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/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`, 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 Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @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 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); /** * @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; }
// 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": 1500 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"baseURI_","type":"string"},{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"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":"MAX_MVSR","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PRESALE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SALE","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":[{"internalType":"address[]","name":"_mintAddressList","type":"address[]"},{"internalType":"uint256[]","name":"_quantityList","type":"uint256[]"}],"name":"batchMintByOwner","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":"uint256","name":"tokenId","type":"uint256"}],"name":"getOwnershipData","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"}],"internalType":"struct ERC721A.TokenOwnership","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hasPreSaleStarted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hasSaleStarted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"mintByOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"numberMinted","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":"pausePreSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"pauseSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"preMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"preSaleOver","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"address","name":"_devTeamAddress","type":"address"}],"name":"setDevTeamAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_netvrksAddress","type":"address"}],"name":"setNetvrkAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_preSaleMax","type":"uint256"}],"name":"setPreSaleMax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_saleMax","type":"uint256"}],"name":"setSaleMax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_teamAddress1","type":"address"}],"name":"setTeamAddress1","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_teamAddress2","type":"address"}],"name":"setTeamAddress2","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_teamAddress3","type":"address"}],"name":"setTeamAddress3","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_teamAddress4","type":"address"}],"name":"setTeamAddress4","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startPreSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startSale","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":"withdrawETH","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60c06040526000600155600a6009819055600590556013805462ffffff191690553480156200002d57600080fd5b50604051620044cb380380620044cb8339810160408190526200005091620003a5565b604051806040016040528060128152602001714d61727469616e7356735265646e65636b7360701b815250604051806040016040528060058152602001644d5652563160d81b81525061012c611a0b620000b9620000b3620002ab60201b60201c565b620002af565b60008111620001265760405162461bcd60e51b815260206004820152602e60248201527f455243373231413a20636f6c6c656374696f6e206d757374206861766520612060448201526d6e6f6e7a65726f20737570706c7960901b60648201526084015b60405180910390fd5b60008211620001885760405162461bcd60e51b815260206004820152602760248201527f455243373231413a206d61782062617463682073697a65206d757374206265206044820152666e6f6e7a65726f60c81b60648201526084016200011d565b83516200019d906002906020870190620002ff565b508251620001b3906003906020860190620002ff565b5060a091909152608052505067016345785d8a0000601155600f80546001600160a01b031990811673901fc05c4a4bc027a8979089d716b6793052cc16179091556010805482167371298e004c85e339c90390df54e9265c4ff7b285179055600b8054821673aa9cb1fa773c3d36e79ad39ba116d8ff28344203179055600c80548216739ea791d214afe8fcb0257dc3e8fcf54c3ad35171179055600d80548216733bc057a2b4bb703fc5c02d2eaedb63ed517f31dd179055600e80549091167349f2f8802531421873669af560d99579fe243a211790558151620002a0906008906020850190620002ff565b5060125550620004d7565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b8280546200030d9062000484565b90600052602060002090601f0160209004810192826200033157600085556200037c565b82601f106200034c57805160ff19168380011785556200037c565b828001600101855582156200037c579182015b828111156200037c5782518255916020019190600101906200035f565b506200038a9291506200038e565b5090565b5b808211156200038a57600081556001016200038f565b60008060408385031215620003b8578182fd5b82516001600160401b0380821115620003cf578384fd5b818501915085601f830112620003e3578384fd5b815181811115620003f857620003f8620004c1565b604051601f8201601f19908116603f01168101908382118183101715620004235762000423620004c1565b816040528281526020935088848487010111156200043f578687fd5b8691505b8282101562000462578482018401518183018501529083019062000443565b828211156200047357868484830101525b969092015195979596505050505050565b600181811c908216806200049957607f821691505b60208210811415620004bb57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b60805160a051613fc36200050860003960008181612f9001528181612fba01526134b0015260005050613fc36000f3fe60806040526004361061031e5760003560e01c806355dd574c116101a557806395d89b41116100ec578063c80f85fc11610095578063dc33e6811161006f578063dc33e6811461086e578063e086e5ec1461088e578063e985e9c5146108a3578063f2fde38b146108ec57600080fd5b8063c80f85fc14610418578063c87b56dd1461082e578063db8ff1fd1461084e57600080fd5b8063a22cb465116100c6578063a22cb465146107d9578063b66a0e5d146107f9578063b88d4fde1461080e57600080fd5b806395d89b411461079b578063a035b1fe146107b0578063a0712d68146107c657600080fd5b806370a082311161014e5780638da5cb5b116101285780638da5cb5b1461070f57806391b7f5ed1461072d5780639231ab2a1461074d57600080fd5b806370a08231146106ba578063715018a6146106da5780637cb64759146106ef57600080fd5b80636352211e1161017f5780636352211e146106615780636a5928f5146106815780636bb6bf8b1461069b57600080fd5b806355dd574c1461061957806355f804b31461062e5780635a5462231461064e57600080fd5b80632760072b116102695780634357da58116102125780634f6ccce7116101ec5780634f6ccce7146105c4578063535258b5146105e457806355367ba91461060457600080fd5b80634357da58146105795780634c5a459a1461058e5780634d4c4e99146105ae57600080fd5b80633542aee2116102435780633542aee21461051957806337d4dd891461053957806342842e0e1461055957600080fd5b80632760072b146104c35780632eb4a7ab146104e35780632f745c59146104f957600080fd5b80630e5dba68116102cb5780631c8b232d116102a55780631c8b232d14610463578063224c22d31461048357806323b872dd146104a357600080fd5b80630e5dba6814610418578063136f3cfc1461043857806318160ddd1461044e57600080fd5b8063081812fc116102fc578063081812fc1461039e578063095ea7b3146103d65780630c00d74e146103f857600080fd5b806301ffc9a71461032357806306fdde0314610358578063080ef2fe1461037a575b600080fd5b34801561032f57600080fd5b5061034361033e366004613b8c565b61090c565b60405190151581526020015b60405180910390f35b34801561036457600080fd5b5061036d6109dd565b60405161034f9190613d42565b34801561038657600080fd5b50610390611a0b81565b60405190815260200161034f565b3480156103aa57600080fd5b506103be6103b9366004613b74565b610a6f565b6040516001600160a01b03909116815260200161034f565b3480156103e257600080fd5b506103f66103f1366004613a8a565b610b0f565b005b34801561040457600080fd5b506103f6610413366004613911565b610c42565b34801561042457600080fd5b506103f6610433366004613911565b610cac565b34801561044457600080fd5b5061039060095481565b34801561045a57600080fd5b50600154610390565b34801561046f57600080fd5b506013546103439062010000900460ff1681565b34801561048f57600080fd5b506103f661049e366004613911565b610d16565b3480156104af57600080fd5b506103f66104be36600461395d565b610d80565b3480156104cf57600080fd5b506103f66104de366004613911565b610d8b565b3480156104ef57600080fd5b5061039060125481565b34801561050557600080fd5b50610390610514366004613a8a565b610e2d565b34801561052557600080fd5b506103f6610534366004613a8a565b610fd0565b34801561054557600080fd5b506103f6610554366004613b74565b611127565b34801561056557600080fd5b506103f661057436600461395d565b611174565b34801561058557600080fd5b506103f661118f565b34801561059a57600080fd5b506103f66105a9366004613b74565b61125b565b3480156105ba57600080fd5b50610390600a5481565b3480156105d057600080fd5b506103906105df366004613b74565b6112a8565b3480156105f057600080fd5b506103f66105ff366004613911565b61132b565b34801561061057600080fd5b506103f6611395565b34801561062557600080fd5b506103f6611469565b34801561063a57600080fd5b506103f6610649366004613bc4565b6115dd565b6103f661065c366004613c31565b611631565b34801561066d57600080fd5b506103be61067c366004613b74565b611b1d565b34801561068d57600080fd5b506013546103439060ff1681565b3480156106a757600080fd5b5060135461034390610100900460ff1681565b3480156106c657600080fd5b506103906106d5366004613911565b611b2f565b3480156106e657600080fd5b506103f6611bdb565b3480156106fb57600080fd5b506103f661070a366004613b74565b611c2f565b34801561071b57600080fd5b506000546001600160a01b03166103be565b34801561073957600080fd5b506103f6610748366004613b74565b611c7c565b34801561075957600080fd5b5061076d610768366004613b74565b611cc9565b6040805182516001600160a01b0316815260209283015167ffffffffffffffff16928101929092520161034f565b3480156107a757600080fd5b5061036d611ce6565b3480156107bc57600080fd5b5061039060115481565b6103f66107d4366004613b74565b611cf5565b3480156107e557600080fd5b506103f66107f4366004613a50565b611fa3565b34801561080557600080fd5b506103f6612068565b34801561081a57600080fd5b506103f6610829366004613998565b612142565b34801561083a57600080fd5b5061036d610849366004613b74565b6121cb565b34801561085a57600080fd5b506103f6610869366004613ab3565b6122a6565b34801561087a57600080fd5b50610390610889366004613911565b6123db565b34801561089a57600080fd5b506103f66123e6565b3480156108af57600080fd5b506103436108be36600461392b565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156108f857600080fd5b506103f6610907366004613911565b612905565b60006001600160e01b031982167f80ac58cd00000000000000000000000000000000000000000000000000000000148061096f57506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b806109a357506001600160e01b031982167f780e9d6300000000000000000000000000000000000000000000000000000000145b806109d757507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b03198316145b92915050565b6060600280546109ec90613eab565b80601f0160208091040260200160405190810160405280929190818152602001828054610a1890613eab565b8015610a655780601f10610a3a57610100808354040283529160200191610a65565b820191906000526020600020905b815481529060010190602001808311610a4857829003601f168201915b5050505050905090565b6000610a7c826001541190565b610af35760405162461bcd60e51b815260206004820152602d60248201527f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560448201527f78697374656e7420746f6b656e0000000000000000000000000000000000000060648201526084015b60405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6000610b1a82611b1d565b9050806001600160a01b0316836001600160a01b03161415610ba45760405162461bcd60e51b815260206004820152602260248201527f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60448201527f65720000000000000000000000000000000000000000000000000000000000006064820152608401610aea565b336001600160a01b0382161480610bc05750610bc081336108be565b610c325760405162461bcd60e51b815260206004820152603960248201527f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656420666f7220616c6c000000000000006064820152608401610aea565b610c3d8383836129d2565b505050565b6000546001600160a01b03163314610c8a5760405162461bcd60e51b81526020600482018190526024820152600080516020613f6e8339815191526044820152606401610aea565b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b03163314610cf45760405162461bcd60e51b81526020600482018190526024820152600080516020613f6e8339815191526044820152606401610aea565b600d80546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b03163314610d5e5760405162461bcd60e51b81526020600482018190526024820152600080516020613f6e8339815191526044820152606401610aea565b600f80546001600160a01b0319166001600160a01b0392909216919091179055565b610c3d838383612a2e565b6010546001600160a01b03163314610e0b5760405162461bcd60e51b815260206004820152603360248201527f4d61727469616e7356735265646e65636b733a3a6f6e6c794465763a2063616c60448201527f6c6572206973206e6f7420746865206465762e000000000000000000000000006064820152608401610aea565b601080546001600160a01b0319166001600160a01b0392909216919091179055565b6000610e3883611b2f565b8210610eac5760405162461bcd60e51b815260206004820152602260248201527f455243373231413a206f776e657220696e646578206f7574206f6620626f756e60448201527f64730000000000000000000000000000000000000000000000000000000000006064820152608401610aea565b6000610eb760015490565b905060008060005b83811015610f61576000818152600460209081526040918290208251808401909352546001600160a01b038116808452600160a01b90910467ffffffffffffffff169183019190915215610f1257805192505b876001600160a01b0316836001600160a01b03161415610f4e5786841415610f40575093506109d792505050565b83610f4a81613ee6565b9450505b5080610f5981613ee6565b915050610ebf565b5060405162461bcd60e51b815260206004820152602e60248201527f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060448201527f6f776e657220627920696e6465780000000000000000000000000000000000006064820152608401610aea565b6000546001600160a01b031633146110185760405162461bcd60e51b81526020600482018190526024820152600080516020613f6e8339815191526044820152606401610aea565b6000811161108e5760405162461bcd60e51b815260206004820152603960248201527f4d61727469616e7356735265646e65636b733a3a6d696e7442794f776e65723a60448201527f205175616e746974792063616e6e6f74206265207a65726f2e000000000000006064820152608401610aea565b611a0b8161109b60015490565b6110a59190613dd5565b11156111195760405162461bcd60e51b815260206004820152602a60248201527f4d61727469616e7356735265646e65636b733a3a6d696e7442794f776e65723a60448201527f20536f6c64206f75742e000000000000000000000000000000000000000000006064820152608401610aea565b6111238282612e0b565b5050565b6000546001600160a01b0316331461116f5760405162461bcd60e51b81526020600482018190526024820152600080516020613f6e8339815191526044820152606401610aea565b600955565b610c3d83838360405180602001604052806000815250612142565b6000546001600160a01b031633146111d75760405162461bcd60e51b81526020600482018190526024820152600080516020613f6e8339815191526044820152606401610aea565b60135460ff1661124f5760405162461bcd60e51b815260206004820152603860248201527f4d61727469616e7356735265646e65636b733a3a706175736550726553616c6560448201527f3a2050726573616c65206973206e6f74206163746976652e00000000000000006064820152608401610aea565b6013805460ff19169055565b6000546001600160a01b031633146112a35760405162461bcd60e51b81526020600482018190526024820152600080516020613f6e8339815191526044820152606401610aea565b600a55565b60006112b360015490565b82106113275760405162461bcd60e51b815260206004820152602360248201527f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f7560448201527f6e647300000000000000000000000000000000000000000000000000000000006064820152608401610aea565b5090565b6000546001600160a01b031633146113735760405162461bcd60e51b81526020600482018190526024820152600080516020613f6e8339815191526044820152606401610aea565b600b80546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031633146113dd5760405162461bcd60e51b81526020600482018190526024820152600080516020613f6e8339815191526044820152606401610aea565b60135462010000900460ff1661145b5760405162461bcd60e51b815260206004820152603260248201527f4d61727469616e7356735265646e65636b733a3a706175736553616c653a205360448201527f616c65206973206e6f74206163746976652e00000000000000000000000000006064820152608401610aea565b6013805462ff000019169055565b6000546001600160a01b031633146114b15760405162461bcd60e51b81526020600482018190526024820152600080516020613f6e8339815191526044820152606401610aea565b601354610100900460ff16156115555760405162461bcd60e51b815260206004820152604660248201527f4d61727469616e7356735265646e65636b733a3a737461727450726553616c6560448201527f3a2050726573616c65206973206f7665722c2063616e6e6f742073746172742060648201527f616761696e2e0000000000000000000000000000000000000000000000000000608482015260a401610aea565b60135460ff16156115ce5760405162461bcd60e51b815260206004820152603960248201527f4d61727469616e7356735265646e65636b733a3a737461727450726553616c6560448201527f3a2050726573616c6520616c7265616479206163746976652e000000000000006064820152608401610aea565b6013805460ff19166001179055565b6000546001600160a01b031633146116255760405162461bcd60e51b81526020600482018190526024820152600080516020613f6e8339815191526044820152606401610aea565b610c3d600883836137f6565b60135460ff166116a95760405162461bcd60e51b815260206004820152603460248201527f4d61727469616e7356735265646e65636b733a3a7072654d696e743a2050726560448201527f73616c65206861736e277420737461727465642e0000000000000000000000006064820152608401610aea565b601354610100900460ff16156117315760405162461bcd60e51b815260206004820152604160248201527f4d61727469616e7356735265646e65636b733a3a7072654d696e743a2050726560448201527f73616c65206973206f7665722c206e6f206d6f726520616c6c6f77616e6365736064820152601760f91b608482015260a401610aea565b600083116117a75760405162461bcd60e51b815260206004820152603560248201527f4d61727469616e7356735265646e65636b733a3a7072654d696e743a2051756160448201527f6e746974792063616e6e6f74206265207a65726f2e00000000000000000000006064820152608401610aea565b600a548311156118455760405162461bcd60e51b815260206004820152604860248201527f4d61727469616e7356735265646e65636b733a3a7072654d696e743a2051756160448201527f6e746974792063616e6e6f7420626520626967676572207468616e204d41585f60648201527f50524553414c452e000000000000000000000000000000000000000000000000608482015260a401610aea565b600a548361185233612e25565b61185c9190613dd5565b11156118f65760405162461bcd60e51b815260206004820152605360248201527f4d61727469616e7356735265646e65636b733a3a7072654d696e743a2054686560448201527f2075736572206973206e6f7420616c6c6f77656420746f20646f20667572746860648201527f65722070726573616c6520627579696e67732e00000000000000000000000000608482015260a401610aea565b611a0b8361190360015490565b61190d9190613dd5565b11156119815760405162461bcd60e51b815260206004820152602560248201527f4d61727469616e7356735265646e65636b733a3a7072654d696e743a20536f6c60448201527f64206f75740000000000000000000000000000000000000000000000000000006064820152608401610aea565b8260115461198f9190613e01565b341015611a0e5760405162461bcd60e51b815260206004820152604160248201527f4d61727469616e7356735265646e65636b733a3a7072654d696e743a2045746860448201527f65722076616c75652073656e742069732062656c6f77207468652070726963656064820152601760f91b608482015260a401610aea565b6040517fffffffffffffffffffffffffffffffffffffffff0000000000000000000000003360601b166020820152600090603401604051602081830303815290604052805190602001209050611a9b838380806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506012549150849050612ee5565b611b0d5760405162461bcd60e51b815260206004820152603260248201527f4d61727469616e7356735265646e65636b733a3a7072654d696e743a20496e7660448201527f616c6964206d65726b6c652070726f6f662e00000000000000000000000000006064820152608401610aea565b611b173385612e0b565b50505050565b6000611b2882612efb565b5192915050565b60006001600160a01b038216611bad5760405162461bcd60e51b815260206004820152602b60248201527f455243373231413a2062616c616e636520717565727920666f7220746865207a60448201527f65726f20616464726573730000000000000000000000000000000000000000006064820152608401610aea565b506001600160a01b03166000908152600560205260409020546fffffffffffffffffffffffffffffffff1690565b6000546001600160a01b03163314611c235760405162461bcd60e51b81526020600482018190526024820152600080516020613f6e8339815191526044820152606401610aea565b611c2d60006130c6565b565b6000546001600160a01b03163314611c775760405162461bcd60e51b81526020600482018190526024820152600080516020613f6e8339815191526044820152606401610aea565b601255565b6000546001600160a01b03163314611cc45760405162461bcd60e51b81526020600482018190526024820152600080516020613f6e8339815191526044820152606401610aea565b601155565b60408051808201909152600080825260208201526109d782612efb565b6060600380546109ec90613eab565b60135462010000900460ff16611d735760405162461bcd60e51b815260206004820152602e60248201527f4d61727469616e7356735265646e65636b733a3a6d696e743a2053616c65206860448201527f61736e277420737461727465642e0000000000000000000000000000000000006064820152608401610aea565b60008111611de95760405162461bcd60e51b815260206004820152603260248201527f4d61727469616e7356735265646e65636b733a3a6d696e743a205175616e746960448201527f74792063616e6e6f74206265207a65726f2e00000000000000000000000000006064820152608401610aea565b600954811115611e885760405162461bcd60e51b8152602060048201526044602482018190527f4d61727469616e7356735265646e65636b733a3a6d696e743a205175616e7469908201527f74792063616e6e6f7420626520626967676572207468616e204d41585f42555960648201527f494e472e00000000000000000000000000000000000000000000000000000000608482015260a401610aea565b611a0b81611e9560015490565b611e9f9190613dd5565b1115611f135760405162461bcd60e51b815260206004820152602360248201527f4d61727469616e7356735265646e65636b733a3a6d696e743a20536f6c64206f60448201527f75742e00000000000000000000000000000000000000000000000000000000006064820152608401610aea565b80601154611f219190613e01565b341015611f965760405162461bcd60e51b815260206004820152603e60248201527f4d61727469616e7356735265646e65636b733a3a6d696e743a2045746865722060448201527f76616c75652073656e742069732062656c6f77207468652070726963652e00006064820152608401610aea565b611fa03382612e0b565b50565b6001600160a01b038216331415611ffc5760405162461bcd60e51b815260206004820152601a60248201527f455243373231413a20617070726f766520746f2063616c6c65720000000000006044820152606401610aea565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6000546001600160a01b031633146120b05760405162461bcd60e51b81526020600482018190526024820152600080516020613f6e8339815191526044820152606401610aea565b60135462010000900460ff161561212f5760405162461bcd60e51b815260206004820152603360248201527f4d61727469616e7356735265646e65636b733a3a737461727453616c653a205360448201527f616c6520616c7265616479206163746976652e000000000000000000000000006064820152608401610aea565b6013805462ffffff191662010100179055565b61214d848484612a2e565b61215984848484613116565b611b175760405162461bcd60e51b815260206004820152603360248201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260448201527f6563656976657220696d706c656d656e746572000000000000000000000000006064820152608401610aea565b60606121d8826001541190565b61224a5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006064820152608401610aea565b600061225461327a565b90506000815111612274576040518060200160405280600081525061229f565b8061227e84613289565b60405160200161228f929190613cd7565b6040516020818303038152906040525b9392505050565b6000546001600160a01b031633146122ee5760405162461bcd60e51b81526020600482018190526024820152600080516020613f6e8339815191526044820152606401610aea565b80518251146123655760405162461bcd60e51b815260206004820152603f60248201527f4d61727469616e7356735265646e65636b733a3a62617463684d696e7442794f60448201527f776e65723a20546865206c656e6774682073686f756c642062652073616d65006064820152608401610aea565b60005b8251811015610c3d576123c983828151811061239457634e487b7160e01b600052603260045260246000fd5b60200260200101518383815181106123bc57634e487b7160e01b600052603260045260246000fd5b6020026020010151610fd0565b6123d4600182613dd5565b9050612368565b60006109d782612e25565b6000546001600160a01b0316331461242e5760405162461bcd60e51b81526020600482018190526024820152600080516020613f6e8339815191526044820152606401610aea565b47806000612710612441836106d6613e01565b61244b9190613ded565b9050600061271061245e856107d0613e01565b6124689190613ded565b905080612476836004613e01565b6124809085613e51565b61248a9190613e51565b600b546040519194506000916001600160a01b039091169084908381818185875af1925050503d80600081146124dc576040519150601f19603f3d011682016040523d82523d6000602084013e6124e1565b606091505b50509050806125585760405162461bcd60e51b815260206004820152602260248201527f5769746864726177204661696c656420546f205465616d20616464726573732060448201527f312e0000000000000000000000000000000000000000000000000000000000006064820152608401610aea565b600c546040516000916001600160a01b03169085908381818185875af1925050503d80600081146125a5576040519150601f19603f3d011682016040523d82523d6000602084013e6125aa565b606091505b50509050806126215760405162461bcd60e51b815260206004820152602260248201527f5769746864726177204661696c656420546f205465616d20616464726573732060448201527f322e0000000000000000000000000000000000000000000000000000000000006064820152608401610aea565b600d546040516000916001600160a01b03169086908381818185875af1925050503d806000811461266e576040519150601f19603f3d011682016040523d82523d6000602084013e612673565b606091505b50509050806126ea5760405162461bcd60e51b815260206004820152602260248201527f5769746864726177204661696c656420546f205465616d20616464726573732060448201527f332e0000000000000000000000000000000000000000000000000000000000006064820152608401610aea565b600e546040516000916001600160a01b03169087908381818185875af1925050503d8060008114612737576040519150601f19603f3d011682016040523d82523d6000602084013e61273c565b606091505b50509050806127b35760405162461bcd60e51b815260206004820152602260248201527f5769746864726177204661696c656420546f205465616d20616464726573732060448201527f342e0000000000000000000000000000000000000000000000000000000000006064820152608401610aea565b600f546040516000916001600160a01b03169087908381818185875af1925050503d8060008114612800576040519150601f19603f3d011682016040523d82523d6000602084013e612805565b606091505b50509050806128565760405162461bcd60e51b815260206004820152601a60248201527f5769746864726177204661696c656420546f204e657476726b2e0000000000006044820152606401610aea565b6010546040516000916001600160a01b0316908a908381818185875af1925050503d80600081146128a3576040519150601f19603f3d011682016040523d82523d6000602084013e6128a8565b606091505b50509050806128f95760405162461bcd60e51b815260206004820152601c60248201527f5769746864726177204661696c656420546f20446576205465616d2e000000006044820152606401610aea565b50505050505050505050565b6000546001600160a01b0316331461294d5760405162461bcd60e51b81526020600482018190526024820152600080516020613f6e8339815191526044820152606401610aea565b6001600160a01b0381166129c95760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610aea565b611fa0816130c6565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000612a3982612efb565b80519091506000906001600160a01b0316336001600160a01b03161480612a70575033612a6584610a6f565b6001600160a01b0316145b80612a8257508151612a8290336108be565b905080612af75760405162461bcd60e51b815260206004820152603260248201527f455243373231413a207472616e736665722063616c6c6572206973206e6f742060448201527f6f776e6572206e6f7220617070726f76656400000000000000000000000000006064820152608401610aea565b846001600160a01b031682600001516001600160a01b031614612b825760405162461bcd60e51b815260206004820152602660248201527f455243373231413a207472616e736665722066726f6d20696e636f727265637460448201527f206f776e657200000000000000000000000000000000000000000000000000006064820152608401610aea565b6001600160a01b038416612bfe5760405162461bcd60e51b815260206004820152602560248201527f455243373231413a207472616e7366657220746f20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610aea565b612c0e60008484600001516129d2565b6001600160a01b0385166000908152600560205260408120805460019290612c499084906fffffffffffffffffffffffffffffffff16613e20565b82546101009290920a6fffffffffffffffffffffffffffffffff8181021990931691831602179091556001600160a01b03861660009081526005602052604081208054600194509092612c9e91859116613daa565b82546fffffffffffffffffffffffffffffffff9182166101009390930a9283029190920219909116179055506040805180820182526001600160a01b03808716825267ffffffffffffffff428116602080850191825260008981526004909152948520935184549151909216600160a01b026001600160e01b03199091169190921617179055612d2f846001613dd5565b6000818152600460205260409020549091506001600160a01b0316612dc157612d59816001541190565b15612dc15760408051808201825284516001600160a01b03908116825260208087015167ffffffffffffffff9081168285019081526000878152600490935294909120925183549451909116600160a01b026001600160e01b03199094169116179190911790555b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b6111238282604051806020016040528060008152506133d7565b60006001600160a01b038216612ea35760405162461bcd60e51b815260206004820152603160248201527f455243373231413a206e756d626572206d696e74656420717565727920666f7260448201527f20746865207a65726f20616464726573730000000000000000000000000000006064820152608401610aea565b506001600160a01b031660009081526005602052604090205470010000000000000000000000000000000090046fffffffffffffffffffffffffffffffff1690565b600082612ef28584613774565b14949350505050565b6040805180820190915260008082526020820152612f1a826001541190565b612f8c5760405162461bcd60e51b815260206004820152602a60248201527f455243373231413a206f776e657220717565727920666f72206e6f6e6578697360448201527f74656e7420746f6b656e000000000000000000000000000000000000000000006064820152608401610aea565b60007f00000000000000000000000000000000000000000000000000000000000000008310612fed57612fdf7f000000000000000000000000000000000000000000000000000000000000000084613e51565b612fea906001613dd5565b90505b825b818110613057576000818152600460209081526040918290208251808401909352546001600160a01b038116808452600160a01b90910467ffffffffffffffff16918301919091521561304457949350505050565b508061304f81613e94565b915050612fef565b5060405162461bcd60e51b815260206004820152602f60248201527f455243373231413a20756e61626c6520746f2064657465726d696e652074686560448201527f206f776e6572206f6620746f6b656e00000000000000000000000000000000006064820152608401610aea565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60006001600160a01b0384163b1561326e57604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061315a903390899088908890600401613d06565b602060405180830381600087803b15801561317457600080fd5b505af19250505080156131a4575060408051601f3d908101601f191682019092526131a191810190613ba8565b60015b613254573d8080156131d2576040519150601f19603f3d011682016040523d82523d6000602084013e6131d7565b606091505b50805161324c5760405162461bcd60e51b815260206004820152603360248201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260448201527f6563656976657220696d706c656d656e746572000000000000000000000000006064820152608401610aea565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050613272565b5060015b949350505050565b6060600880546109ec90613eab565b6060816132c957505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b81156132f357806132dd81613ee6565b91506132ec9050600a83613ded565b91506132cd565b60008167ffffffffffffffff81111561331c57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015613346576020820181803683370190505b5090505b84156132725761335b600183613e51565b9150613368600a86613f01565b613373906030613dd5565b60f81b81838151811061339657634e487b7160e01b600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506133d0600a86613ded565b945061334a565b6001546001600160a01b0384166134565760405162461bcd60e51b815260206004820152602160248201527f455243373231413a206d696e7420746f20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152608401610aea565b613461816001541190565b156134ae5760405162461bcd60e51b815260206004820152601d60248201527f455243373231413a20746f6b656e20616c7265616479206d696e7465640000006044820152606401610aea565b7f00000000000000000000000000000000000000000000000000000000000000008311156135445760405162461bcd60e51b815260206004820152602260248201527f455243373231413a207175616e7469747920746f206d696e7420746f6f20686960448201527f67680000000000000000000000000000000000000000000000000000000000006064820152608401610aea565b6001600160a01b0384166000908152600560209081526040918290208251808401845290546fffffffffffffffffffffffffffffffff808216835270010000000000000000000000000000000090910416918101919091528151808301909252805190919081906135b6908790613daa565b6fffffffffffffffffffffffffffffffff1681526020018583602001516135dd9190613daa565b6fffffffffffffffffffffffffffffffff9081169091526001600160a01b03808816600081815260056020908152604080832087519783015187167001000000000000000000000000000000000297909616969096179094558451808601865291825267ffffffffffffffff4281168386019081528883526004909552948120915182549451909516600160a01b026001600160e01b031990941694909216939093179190911790915582905b858110156137695760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46136d76000888488613116565b6137495760405162461bcd60e51b815260206004820152603360248201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260448201527f6563656976657220696d706c656d656e746572000000000000000000000000006064820152608401610aea565b8161375381613ee6565b925050808061376190613ee6565b91505061368a565b506001819055612e03565b600081815b84518110156137ee5760008582815181106137a457634e487b7160e01b600052603260045260246000fd5b602002602001015190508083116137ca57600083815260208290526040902092506137db565b600081815260208490526040902092505b50806137e681613ee6565b915050613779565b509392505050565b82805461380290613eab565b90600052602060002090601f016020900481019282613824576000855561386a565b82601f1061383d5782800160ff1982351617855561386a565b8280016001018555821561386a579182015b8281111561386a57823582559160200191906001019061384f565b506113279291505b808211156113275760008155600101613872565b80356001600160a01b038116811461389d57600080fd5b919050565b600082601f8301126138b2578081fd5b813560206138c76138c283613d86565b613d55565b80838252828201915082860187848660051b89010111156138e6578586fd5b855b85811015613904578135845292840192908401906001016138e8565b5090979650505050505050565b600060208284031215613922578081fd5b61229f82613886565b6000806040838503121561393d578081fd5b61394683613886565b915061395460208401613886565b90509250929050565b600080600060608486031215613971578081fd5b61397a84613886565b925061398860208501613886565b9150604084013590509250925092565b600080600080608085870312156139ad578081fd5b6139b685613886565b935060206139c5818701613886565b935060408601359250606086013567ffffffffffffffff808211156139e8578384fd5b818801915088601f8301126139fb578384fd5b813581811115613a0d57613a0d613f41565b613a1f601f8201601f19168501613d55565b91508082528984828501011115613a34578485fd5b8084840185840137810190920192909252939692955090935050565b60008060408385031215613a62578182fd5b613a6b83613886565b915060208301358015158114613a7f578182fd5b809150509250929050565b60008060408385031215613a9c578182fd5b613aa583613886565b946020939093013593505050565b60008060408385031215613ac5578182fd5b823567ffffffffffffffff80821115613adc578384fd5b818501915085601f830112613aef578384fd5b81356020613aff6138c283613d86565b8083825282820191508286018a848660051b8901011115613b1e578889fd5b8896505b84871015613b4757613b3381613886565b835260019690960195918301918301613b22565b5096505086013592505080821115613b5d578283fd5b50613b6a858286016138a2565b9150509250929050565b600060208284031215613b85578081fd5b5035919050565b600060208284031215613b9d578081fd5b813561229f81613f57565b600060208284031215613bb9578081fd5b815161229f81613f57565b60008060208385031215613bd6578182fd5b823567ffffffffffffffff80821115613bed578384fd5b818501915085601f830112613c00578384fd5b813581811115613c0e578485fd5b866020828501011115613c1f578485fd5b60209290920196919550909350505050565b600080600060408486031215613c45578081fd5b83359250602084013567ffffffffffffffff80821115613c63578283fd5b818601915086601f830112613c76578283fd5b813581811115613c84578384fd5b8760208260051b8501011115613c98578384fd5b6020830194508093505050509250925092565b60008151808452613cc3816020860160208601613e68565b601f01601f19169290920160200192915050565b60008351613ce9818460208801613e68565b835190830190613cfd818360208801613e68565b01949350505050565b60006001600160a01b03808716835280861660208401525083604083015260806060830152613d386080830184613cab565b9695505050505050565b60208152600061229f6020830184613cab565b604051601f8201601f1916810167ffffffffffffffff81118282101715613d7e57613d7e613f41565b604052919050565b600067ffffffffffffffff821115613da057613da0613f41565b5060051b60200190565b60006fffffffffffffffffffffffffffffffff808316818516808303821115613cfd57613cfd613f15565b60008219821115613de857613de8613f15565b500190565b600082613dfc57613dfc613f2b565b500490565b6000816000190483118215151615613e1b57613e1b613f15565b500290565b60006fffffffffffffffffffffffffffffffff83811690831681811015613e4957613e49613f15565b039392505050565b600082821015613e6357613e63613f15565b500390565b60005b83811015613e83578181015183820152602001613e6b565b83811115611b175750506000910152565b600081613ea357613ea3613f15565b506000190190565b600181811c90821680613ebf57607f821691505b60208210811415613ee057634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415613efa57613efa613f15565b5060010190565b600082613f1057613f10613f2b565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114611fa057600080fdfe4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a264697066735822122030bb56487d912a051b93f2a3786a1ec93c3c7177c7c54855002ff33f46f20b4d64736f6c63430008040033000000000000000000000000000000000000000000000000000000000000004027479fb707e146f5ca96470fef966a872a10b1b6870add054435cd59a290274d000000000000000000000000000000000000000000000000000000000000002968747470733a2f2f6170692e6d61727469616e7376737265646e65636b732e636f6d2f746f6b656e2f0000000000000000000000000000000000000000000000
Deployed Bytecode
0x60806040526004361061031e5760003560e01c806355dd574c116101a557806395d89b41116100ec578063c80f85fc11610095578063dc33e6811161006f578063dc33e6811461086e578063e086e5ec1461088e578063e985e9c5146108a3578063f2fde38b146108ec57600080fd5b8063c80f85fc14610418578063c87b56dd1461082e578063db8ff1fd1461084e57600080fd5b8063a22cb465116100c6578063a22cb465146107d9578063b66a0e5d146107f9578063b88d4fde1461080e57600080fd5b806395d89b411461079b578063a035b1fe146107b0578063a0712d68146107c657600080fd5b806370a082311161014e5780638da5cb5b116101285780638da5cb5b1461070f57806391b7f5ed1461072d5780639231ab2a1461074d57600080fd5b806370a08231146106ba578063715018a6146106da5780637cb64759146106ef57600080fd5b80636352211e1161017f5780636352211e146106615780636a5928f5146106815780636bb6bf8b1461069b57600080fd5b806355dd574c1461061957806355f804b31461062e5780635a5462231461064e57600080fd5b80632760072b116102695780634357da58116102125780634f6ccce7116101ec5780634f6ccce7146105c4578063535258b5146105e457806355367ba91461060457600080fd5b80634357da58146105795780634c5a459a1461058e5780634d4c4e99146105ae57600080fd5b80633542aee2116102435780633542aee21461051957806337d4dd891461053957806342842e0e1461055957600080fd5b80632760072b146104c35780632eb4a7ab146104e35780632f745c59146104f957600080fd5b80630e5dba68116102cb5780631c8b232d116102a55780631c8b232d14610463578063224c22d31461048357806323b872dd146104a357600080fd5b80630e5dba6814610418578063136f3cfc1461043857806318160ddd1461044e57600080fd5b8063081812fc116102fc578063081812fc1461039e578063095ea7b3146103d65780630c00d74e146103f857600080fd5b806301ffc9a71461032357806306fdde0314610358578063080ef2fe1461037a575b600080fd5b34801561032f57600080fd5b5061034361033e366004613b8c565b61090c565b60405190151581526020015b60405180910390f35b34801561036457600080fd5b5061036d6109dd565b60405161034f9190613d42565b34801561038657600080fd5b50610390611a0b81565b60405190815260200161034f565b3480156103aa57600080fd5b506103be6103b9366004613b74565b610a6f565b6040516001600160a01b03909116815260200161034f565b3480156103e257600080fd5b506103f66103f1366004613a8a565b610b0f565b005b34801561040457600080fd5b506103f6610413366004613911565b610c42565b34801561042457600080fd5b506103f6610433366004613911565b610cac565b34801561044457600080fd5b5061039060095481565b34801561045a57600080fd5b50600154610390565b34801561046f57600080fd5b506013546103439062010000900460ff1681565b34801561048f57600080fd5b506103f661049e366004613911565b610d16565b3480156104af57600080fd5b506103f66104be36600461395d565b610d80565b3480156104cf57600080fd5b506103f66104de366004613911565b610d8b565b3480156104ef57600080fd5b5061039060125481565b34801561050557600080fd5b50610390610514366004613a8a565b610e2d565b34801561052557600080fd5b506103f6610534366004613a8a565b610fd0565b34801561054557600080fd5b506103f6610554366004613b74565b611127565b34801561056557600080fd5b506103f661057436600461395d565b611174565b34801561058557600080fd5b506103f661118f565b34801561059a57600080fd5b506103f66105a9366004613b74565b61125b565b3480156105ba57600080fd5b50610390600a5481565b3480156105d057600080fd5b506103906105df366004613b74565b6112a8565b3480156105f057600080fd5b506103f66105ff366004613911565b61132b565b34801561061057600080fd5b506103f6611395565b34801561062557600080fd5b506103f6611469565b34801561063a57600080fd5b506103f6610649366004613bc4565b6115dd565b6103f661065c366004613c31565b611631565b34801561066d57600080fd5b506103be61067c366004613b74565b611b1d565b34801561068d57600080fd5b506013546103439060ff1681565b3480156106a757600080fd5b5060135461034390610100900460ff1681565b3480156106c657600080fd5b506103906106d5366004613911565b611b2f565b3480156106e657600080fd5b506103f6611bdb565b3480156106fb57600080fd5b506103f661070a366004613b74565b611c2f565b34801561071b57600080fd5b506000546001600160a01b03166103be565b34801561073957600080fd5b506103f6610748366004613b74565b611c7c565b34801561075957600080fd5b5061076d610768366004613b74565b611cc9565b6040805182516001600160a01b0316815260209283015167ffffffffffffffff16928101929092520161034f565b3480156107a757600080fd5b5061036d611ce6565b3480156107bc57600080fd5b5061039060115481565b6103f66107d4366004613b74565b611cf5565b3480156107e557600080fd5b506103f66107f4366004613a50565b611fa3565b34801561080557600080fd5b506103f6612068565b34801561081a57600080fd5b506103f6610829366004613998565b612142565b34801561083a57600080fd5b5061036d610849366004613b74565b6121cb565b34801561085a57600080fd5b506103f6610869366004613ab3565b6122a6565b34801561087a57600080fd5b50610390610889366004613911565b6123db565b34801561089a57600080fd5b506103f66123e6565b3480156108af57600080fd5b506103436108be36600461392b565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156108f857600080fd5b506103f6610907366004613911565b612905565b60006001600160e01b031982167f80ac58cd00000000000000000000000000000000000000000000000000000000148061096f57506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b806109a357506001600160e01b031982167f780e9d6300000000000000000000000000000000000000000000000000000000145b806109d757507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b03198316145b92915050565b6060600280546109ec90613eab565b80601f0160208091040260200160405190810160405280929190818152602001828054610a1890613eab565b8015610a655780601f10610a3a57610100808354040283529160200191610a65565b820191906000526020600020905b815481529060010190602001808311610a4857829003601f168201915b5050505050905090565b6000610a7c826001541190565b610af35760405162461bcd60e51b815260206004820152602d60248201527f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560448201527f78697374656e7420746f6b656e0000000000000000000000000000000000000060648201526084015b60405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6000610b1a82611b1d565b9050806001600160a01b0316836001600160a01b03161415610ba45760405162461bcd60e51b815260206004820152602260248201527f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60448201527f65720000000000000000000000000000000000000000000000000000000000006064820152608401610aea565b336001600160a01b0382161480610bc05750610bc081336108be565b610c325760405162461bcd60e51b815260206004820152603960248201527f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656420666f7220616c6c000000000000006064820152608401610aea565b610c3d8383836129d2565b505050565b6000546001600160a01b03163314610c8a5760405162461bcd60e51b81526020600482018190526024820152600080516020613f6e8339815191526044820152606401610aea565b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b03163314610cf45760405162461bcd60e51b81526020600482018190526024820152600080516020613f6e8339815191526044820152606401610aea565b600d80546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b03163314610d5e5760405162461bcd60e51b81526020600482018190526024820152600080516020613f6e8339815191526044820152606401610aea565b600f80546001600160a01b0319166001600160a01b0392909216919091179055565b610c3d838383612a2e565b6010546001600160a01b03163314610e0b5760405162461bcd60e51b815260206004820152603360248201527f4d61727469616e7356735265646e65636b733a3a6f6e6c794465763a2063616c60448201527f6c6572206973206e6f7420746865206465762e000000000000000000000000006064820152608401610aea565b601080546001600160a01b0319166001600160a01b0392909216919091179055565b6000610e3883611b2f565b8210610eac5760405162461bcd60e51b815260206004820152602260248201527f455243373231413a206f776e657220696e646578206f7574206f6620626f756e60448201527f64730000000000000000000000000000000000000000000000000000000000006064820152608401610aea565b6000610eb760015490565b905060008060005b83811015610f61576000818152600460209081526040918290208251808401909352546001600160a01b038116808452600160a01b90910467ffffffffffffffff169183019190915215610f1257805192505b876001600160a01b0316836001600160a01b03161415610f4e5786841415610f40575093506109d792505050565b83610f4a81613ee6565b9450505b5080610f5981613ee6565b915050610ebf565b5060405162461bcd60e51b815260206004820152602e60248201527f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060448201527f6f776e657220627920696e6465780000000000000000000000000000000000006064820152608401610aea565b6000546001600160a01b031633146110185760405162461bcd60e51b81526020600482018190526024820152600080516020613f6e8339815191526044820152606401610aea565b6000811161108e5760405162461bcd60e51b815260206004820152603960248201527f4d61727469616e7356735265646e65636b733a3a6d696e7442794f776e65723a60448201527f205175616e746974792063616e6e6f74206265207a65726f2e000000000000006064820152608401610aea565b611a0b8161109b60015490565b6110a59190613dd5565b11156111195760405162461bcd60e51b815260206004820152602a60248201527f4d61727469616e7356735265646e65636b733a3a6d696e7442794f776e65723a60448201527f20536f6c64206f75742e000000000000000000000000000000000000000000006064820152608401610aea565b6111238282612e0b565b5050565b6000546001600160a01b0316331461116f5760405162461bcd60e51b81526020600482018190526024820152600080516020613f6e8339815191526044820152606401610aea565b600955565b610c3d83838360405180602001604052806000815250612142565b6000546001600160a01b031633146111d75760405162461bcd60e51b81526020600482018190526024820152600080516020613f6e8339815191526044820152606401610aea565b60135460ff1661124f5760405162461bcd60e51b815260206004820152603860248201527f4d61727469616e7356735265646e65636b733a3a706175736550726553616c6560448201527f3a2050726573616c65206973206e6f74206163746976652e00000000000000006064820152608401610aea565b6013805460ff19169055565b6000546001600160a01b031633146112a35760405162461bcd60e51b81526020600482018190526024820152600080516020613f6e8339815191526044820152606401610aea565b600a55565b60006112b360015490565b82106113275760405162461bcd60e51b815260206004820152602360248201527f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f7560448201527f6e647300000000000000000000000000000000000000000000000000000000006064820152608401610aea565b5090565b6000546001600160a01b031633146113735760405162461bcd60e51b81526020600482018190526024820152600080516020613f6e8339815191526044820152606401610aea565b600b80546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031633146113dd5760405162461bcd60e51b81526020600482018190526024820152600080516020613f6e8339815191526044820152606401610aea565b60135462010000900460ff1661145b5760405162461bcd60e51b815260206004820152603260248201527f4d61727469616e7356735265646e65636b733a3a706175736553616c653a205360448201527f616c65206973206e6f74206163746976652e00000000000000000000000000006064820152608401610aea565b6013805462ff000019169055565b6000546001600160a01b031633146114b15760405162461bcd60e51b81526020600482018190526024820152600080516020613f6e8339815191526044820152606401610aea565b601354610100900460ff16156115555760405162461bcd60e51b815260206004820152604660248201527f4d61727469616e7356735265646e65636b733a3a737461727450726553616c6560448201527f3a2050726573616c65206973206f7665722c2063616e6e6f742073746172742060648201527f616761696e2e0000000000000000000000000000000000000000000000000000608482015260a401610aea565b60135460ff16156115ce5760405162461bcd60e51b815260206004820152603960248201527f4d61727469616e7356735265646e65636b733a3a737461727450726553616c6560448201527f3a2050726573616c6520616c7265616479206163746976652e000000000000006064820152608401610aea565b6013805460ff19166001179055565b6000546001600160a01b031633146116255760405162461bcd60e51b81526020600482018190526024820152600080516020613f6e8339815191526044820152606401610aea565b610c3d600883836137f6565b60135460ff166116a95760405162461bcd60e51b815260206004820152603460248201527f4d61727469616e7356735265646e65636b733a3a7072654d696e743a2050726560448201527f73616c65206861736e277420737461727465642e0000000000000000000000006064820152608401610aea565b601354610100900460ff16156117315760405162461bcd60e51b815260206004820152604160248201527f4d61727469616e7356735265646e65636b733a3a7072654d696e743a2050726560448201527f73616c65206973206f7665722c206e6f206d6f726520616c6c6f77616e6365736064820152601760f91b608482015260a401610aea565b600083116117a75760405162461bcd60e51b815260206004820152603560248201527f4d61727469616e7356735265646e65636b733a3a7072654d696e743a2051756160448201527f6e746974792063616e6e6f74206265207a65726f2e00000000000000000000006064820152608401610aea565b600a548311156118455760405162461bcd60e51b815260206004820152604860248201527f4d61727469616e7356735265646e65636b733a3a7072654d696e743a2051756160448201527f6e746974792063616e6e6f7420626520626967676572207468616e204d41585f60648201527f50524553414c452e000000000000000000000000000000000000000000000000608482015260a401610aea565b600a548361185233612e25565b61185c9190613dd5565b11156118f65760405162461bcd60e51b815260206004820152605360248201527f4d61727469616e7356735265646e65636b733a3a7072654d696e743a2054686560448201527f2075736572206973206e6f7420616c6c6f77656420746f20646f20667572746860648201527f65722070726573616c6520627579696e67732e00000000000000000000000000608482015260a401610aea565b611a0b8361190360015490565b61190d9190613dd5565b11156119815760405162461bcd60e51b815260206004820152602560248201527f4d61727469616e7356735265646e65636b733a3a7072654d696e743a20536f6c60448201527f64206f75740000000000000000000000000000000000000000000000000000006064820152608401610aea565b8260115461198f9190613e01565b341015611a0e5760405162461bcd60e51b815260206004820152604160248201527f4d61727469616e7356735265646e65636b733a3a7072654d696e743a2045746860448201527f65722076616c75652073656e742069732062656c6f77207468652070726963656064820152601760f91b608482015260a401610aea565b6040517fffffffffffffffffffffffffffffffffffffffff0000000000000000000000003360601b166020820152600090603401604051602081830303815290604052805190602001209050611a9b838380806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506012549150849050612ee5565b611b0d5760405162461bcd60e51b815260206004820152603260248201527f4d61727469616e7356735265646e65636b733a3a7072654d696e743a20496e7660448201527f616c6964206d65726b6c652070726f6f662e00000000000000000000000000006064820152608401610aea565b611b173385612e0b565b50505050565b6000611b2882612efb565b5192915050565b60006001600160a01b038216611bad5760405162461bcd60e51b815260206004820152602b60248201527f455243373231413a2062616c616e636520717565727920666f7220746865207a60448201527f65726f20616464726573730000000000000000000000000000000000000000006064820152608401610aea565b506001600160a01b03166000908152600560205260409020546fffffffffffffffffffffffffffffffff1690565b6000546001600160a01b03163314611c235760405162461bcd60e51b81526020600482018190526024820152600080516020613f6e8339815191526044820152606401610aea565b611c2d60006130c6565b565b6000546001600160a01b03163314611c775760405162461bcd60e51b81526020600482018190526024820152600080516020613f6e8339815191526044820152606401610aea565b601255565b6000546001600160a01b03163314611cc45760405162461bcd60e51b81526020600482018190526024820152600080516020613f6e8339815191526044820152606401610aea565b601155565b60408051808201909152600080825260208201526109d782612efb565b6060600380546109ec90613eab565b60135462010000900460ff16611d735760405162461bcd60e51b815260206004820152602e60248201527f4d61727469616e7356735265646e65636b733a3a6d696e743a2053616c65206860448201527f61736e277420737461727465642e0000000000000000000000000000000000006064820152608401610aea565b60008111611de95760405162461bcd60e51b815260206004820152603260248201527f4d61727469616e7356735265646e65636b733a3a6d696e743a205175616e746960448201527f74792063616e6e6f74206265207a65726f2e00000000000000000000000000006064820152608401610aea565b600954811115611e885760405162461bcd60e51b8152602060048201526044602482018190527f4d61727469616e7356735265646e65636b733a3a6d696e743a205175616e7469908201527f74792063616e6e6f7420626520626967676572207468616e204d41585f42555960648201527f494e472e00000000000000000000000000000000000000000000000000000000608482015260a401610aea565b611a0b81611e9560015490565b611e9f9190613dd5565b1115611f135760405162461bcd60e51b815260206004820152602360248201527f4d61727469616e7356735265646e65636b733a3a6d696e743a20536f6c64206f60448201527f75742e00000000000000000000000000000000000000000000000000000000006064820152608401610aea565b80601154611f219190613e01565b341015611f965760405162461bcd60e51b815260206004820152603e60248201527f4d61727469616e7356735265646e65636b733a3a6d696e743a2045746865722060448201527f76616c75652073656e742069732062656c6f77207468652070726963652e00006064820152608401610aea565b611fa03382612e0b565b50565b6001600160a01b038216331415611ffc5760405162461bcd60e51b815260206004820152601a60248201527f455243373231413a20617070726f766520746f2063616c6c65720000000000006044820152606401610aea565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6000546001600160a01b031633146120b05760405162461bcd60e51b81526020600482018190526024820152600080516020613f6e8339815191526044820152606401610aea565b60135462010000900460ff161561212f5760405162461bcd60e51b815260206004820152603360248201527f4d61727469616e7356735265646e65636b733a3a737461727453616c653a205360448201527f616c6520616c7265616479206163746976652e000000000000000000000000006064820152608401610aea565b6013805462ffffff191662010100179055565b61214d848484612a2e565b61215984848484613116565b611b175760405162461bcd60e51b815260206004820152603360248201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260448201527f6563656976657220696d706c656d656e746572000000000000000000000000006064820152608401610aea565b60606121d8826001541190565b61224a5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006064820152608401610aea565b600061225461327a565b90506000815111612274576040518060200160405280600081525061229f565b8061227e84613289565b60405160200161228f929190613cd7565b6040516020818303038152906040525b9392505050565b6000546001600160a01b031633146122ee5760405162461bcd60e51b81526020600482018190526024820152600080516020613f6e8339815191526044820152606401610aea565b80518251146123655760405162461bcd60e51b815260206004820152603f60248201527f4d61727469616e7356735265646e65636b733a3a62617463684d696e7442794f60448201527f776e65723a20546865206c656e6774682073686f756c642062652073616d65006064820152608401610aea565b60005b8251811015610c3d576123c983828151811061239457634e487b7160e01b600052603260045260246000fd5b60200260200101518383815181106123bc57634e487b7160e01b600052603260045260246000fd5b6020026020010151610fd0565b6123d4600182613dd5565b9050612368565b60006109d782612e25565b6000546001600160a01b0316331461242e5760405162461bcd60e51b81526020600482018190526024820152600080516020613f6e8339815191526044820152606401610aea565b47806000612710612441836106d6613e01565b61244b9190613ded565b9050600061271061245e856107d0613e01565b6124689190613ded565b905080612476836004613e01565b6124809085613e51565b61248a9190613e51565b600b546040519194506000916001600160a01b039091169084908381818185875af1925050503d80600081146124dc576040519150601f19603f3d011682016040523d82523d6000602084013e6124e1565b606091505b50509050806125585760405162461bcd60e51b815260206004820152602260248201527f5769746864726177204661696c656420546f205465616d20616464726573732060448201527f312e0000000000000000000000000000000000000000000000000000000000006064820152608401610aea565b600c546040516000916001600160a01b03169085908381818185875af1925050503d80600081146125a5576040519150601f19603f3d011682016040523d82523d6000602084013e6125aa565b606091505b50509050806126215760405162461bcd60e51b815260206004820152602260248201527f5769746864726177204661696c656420546f205465616d20616464726573732060448201527f322e0000000000000000000000000000000000000000000000000000000000006064820152608401610aea565b600d546040516000916001600160a01b03169086908381818185875af1925050503d806000811461266e576040519150601f19603f3d011682016040523d82523d6000602084013e612673565b606091505b50509050806126ea5760405162461bcd60e51b815260206004820152602260248201527f5769746864726177204661696c656420546f205465616d20616464726573732060448201527f332e0000000000000000000000000000000000000000000000000000000000006064820152608401610aea565b600e546040516000916001600160a01b03169087908381818185875af1925050503d8060008114612737576040519150601f19603f3d011682016040523d82523d6000602084013e61273c565b606091505b50509050806127b35760405162461bcd60e51b815260206004820152602260248201527f5769746864726177204661696c656420546f205465616d20616464726573732060448201527f342e0000000000000000000000000000000000000000000000000000000000006064820152608401610aea565b600f546040516000916001600160a01b03169087908381818185875af1925050503d8060008114612800576040519150601f19603f3d011682016040523d82523d6000602084013e612805565b606091505b50509050806128565760405162461bcd60e51b815260206004820152601a60248201527f5769746864726177204661696c656420546f204e657476726b2e0000000000006044820152606401610aea565b6010546040516000916001600160a01b0316908a908381818185875af1925050503d80600081146128a3576040519150601f19603f3d011682016040523d82523d6000602084013e6128a8565b606091505b50509050806128f95760405162461bcd60e51b815260206004820152601c60248201527f5769746864726177204661696c656420546f20446576205465616d2e000000006044820152606401610aea565b50505050505050505050565b6000546001600160a01b0316331461294d5760405162461bcd60e51b81526020600482018190526024820152600080516020613f6e8339815191526044820152606401610aea565b6001600160a01b0381166129c95760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610aea565b611fa0816130c6565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000612a3982612efb565b80519091506000906001600160a01b0316336001600160a01b03161480612a70575033612a6584610a6f565b6001600160a01b0316145b80612a8257508151612a8290336108be565b905080612af75760405162461bcd60e51b815260206004820152603260248201527f455243373231413a207472616e736665722063616c6c6572206973206e6f742060448201527f6f776e6572206e6f7220617070726f76656400000000000000000000000000006064820152608401610aea565b846001600160a01b031682600001516001600160a01b031614612b825760405162461bcd60e51b815260206004820152602660248201527f455243373231413a207472616e736665722066726f6d20696e636f727265637460448201527f206f776e657200000000000000000000000000000000000000000000000000006064820152608401610aea565b6001600160a01b038416612bfe5760405162461bcd60e51b815260206004820152602560248201527f455243373231413a207472616e7366657220746f20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610aea565b612c0e60008484600001516129d2565b6001600160a01b0385166000908152600560205260408120805460019290612c499084906fffffffffffffffffffffffffffffffff16613e20565b82546101009290920a6fffffffffffffffffffffffffffffffff8181021990931691831602179091556001600160a01b03861660009081526005602052604081208054600194509092612c9e91859116613daa565b82546fffffffffffffffffffffffffffffffff9182166101009390930a9283029190920219909116179055506040805180820182526001600160a01b03808716825267ffffffffffffffff428116602080850191825260008981526004909152948520935184549151909216600160a01b026001600160e01b03199091169190921617179055612d2f846001613dd5565b6000818152600460205260409020549091506001600160a01b0316612dc157612d59816001541190565b15612dc15760408051808201825284516001600160a01b03908116825260208087015167ffffffffffffffff9081168285019081526000878152600490935294909120925183549451909116600160a01b026001600160e01b03199094169116179190911790555b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b6111238282604051806020016040528060008152506133d7565b60006001600160a01b038216612ea35760405162461bcd60e51b815260206004820152603160248201527f455243373231413a206e756d626572206d696e74656420717565727920666f7260448201527f20746865207a65726f20616464726573730000000000000000000000000000006064820152608401610aea565b506001600160a01b031660009081526005602052604090205470010000000000000000000000000000000090046fffffffffffffffffffffffffffffffff1690565b600082612ef28584613774565b14949350505050565b6040805180820190915260008082526020820152612f1a826001541190565b612f8c5760405162461bcd60e51b815260206004820152602a60248201527f455243373231413a206f776e657220717565727920666f72206e6f6e6578697360448201527f74656e7420746f6b656e000000000000000000000000000000000000000000006064820152608401610aea565b60007f000000000000000000000000000000000000000000000000000000000000012c8310612fed57612fdf7f000000000000000000000000000000000000000000000000000000000000012c84613e51565b612fea906001613dd5565b90505b825b818110613057576000818152600460209081526040918290208251808401909352546001600160a01b038116808452600160a01b90910467ffffffffffffffff16918301919091521561304457949350505050565b508061304f81613e94565b915050612fef565b5060405162461bcd60e51b815260206004820152602f60248201527f455243373231413a20756e61626c6520746f2064657465726d696e652074686560448201527f206f776e6572206f6620746f6b656e00000000000000000000000000000000006064820152608401610aea565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60006001600160a01b0384163b1561326e57604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061315a903390899088908890600401613d06565b602060405180830381600087803b15801561317457600080fd5b505af19250505080156131a4575060408051601f3d908101601f191682019092526131a191810190613ba8565b60015b613254573d8080156131d2576040519150601f19603f3d011682016040523d82523d6000602084013e6131d7565b606091505b50805161324c5760405162461bcd60e51b815260206004820152603360248201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260448201527f6563656976657220696d706c656d656e746572000000000000000000000000006064820152608401610aea565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050613272565b5060015b949350505050565b6060600880546109ec90613eab565b6060816132c957505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b81156132f357806132dd81613ee6565b91506132ec9050600a83613ded565b91506132cd565b60008167ffffffffffffffff81111561331c57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015613346576020820181803683370190505b5090505b84156132725761335b600183613e51565b9150613368600a86613f01565b613373906030613dd5565b60f81b81838151811061339657634e487b7160e01b600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506133d0600a86613ded565b945061334a565b6001546001600160a01b0384166134565760405162461bcd60e51b815260206004820152602160248201527f455243373231413a206d696e7420746f20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152608401610aea565b613461816001541190565b156134ae5760405162461bcd60e51b815260206004820152601d60248201527f455243373231413a20746f6b656e20616c7265616479206d696e7465640000006044820152606401610aea565b7f000000000000000000000000000000000000000000000000000000000000012c8311156135445760405162461bcd60e51b815260206004820152602260248201527f455243373231413a207175616e7469747920746f206d696e7420746f6f20686960448201527f67680000000000000000000000000000000000000000000000000000000000006064820152608401610aea565b6001600160a01b0384166000908152600560209081526040918290208251808401845290546fffffffffffffffffffffffffffffffff808216835270010000000000000000000000000000000090910416918101919091528151808301909252805190919081906135b6908790613daa565b6fffffffffffffffffffffffffffffffff1681526020018583602001516135dd9190613daa565b6fffffffffffffffffffffffffffffffff9081169091526001600160a01b03808816600081815260056020908152604080832087519783015187167001000000000000000000000000000000000297909616969096179094558451808601865291825267ffffffffffffffff4281168386019081528883526004909552948120915182549451909516600160a01b026001600160e01b031990941694909216939093179190911790915582905b858110156137695760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46136d76000888488613116565b6137495760405162461bcd60e51b815260206004820152603360248201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260448201527f6563656976657220696d706c656d656e746572000000000000000000000000006064820152608401610aea565b8161375381613ee6565b925050808061376190613ee6565b91505061368a565b506001819055612e03565b600081815b84518110156137ee5760008582815181106137a457634e487b7160e01b600052603260045260246000fd5b602002602001015190508083116137ca57600083815260208290526040902092506137db565b600081815260208490526040902092505b50806137e681613ee6565b915050613779565b509392505050565b82805461380290613eab565b90600052602060002090601f016020900481019282613824576000855561386a565b82601f1061383d5782800160ff1982351617855561386a565b8280016001018555821561386a579182015b8281111561386a57823582559160200191906001019061384f565b506113279291505b808211156113275760008155600101613872565b80356001600160a01b038116811461389d57600080fd5b919050565b600082601f8301126138b2578081fd5b813560206138c76138c283613d86565b613d55565b80838252828201915082860187848660051b89010111156138e6578586fd5b855b85811015613904578135845292840192908401906001016138e8565b5090979650505050505050565b600060208284031215613922578081fd5b61229f82613886565b6000806040838503121561393d578081fd5b61394683613886565b915061395460208401613886565b90509250929050565b600080600060608486031215613971578081fd5b61397a84613886565b925061398860208501613886565b9150604084013590509250925092565b600080600080608085870312156139ad578081fd5b6139b685613886565b935060206139c5818701613886565b935060408601359250606086013567ffffffffffffffff808211156139e8578384fd5b818801915088601f8301126139fb578384fd5b813581811115613a0d57613a0d613f41565b613a1f601f8201601f19168501613d55565b91508082528984828501011115613a34578485fd5b8084840185840137810190920192909252939692955090935050565b60008060408385031215613a62578182fd5b613a6b83613886565b915060208301358015158114613a7f578182fd5b809150509250929050565b60008060408385031215613a9c578182fd5b613aa583613886565b946020939093013593505050565b60008060408385031215613ac5578182fd5b823567ffffffffffffffff80821115613adc578384fd5b818501915085601f830112613aef578384fd5b81356020613aff6138c283613d86565b8083825282820191508286018a848660051b8901011115613b1e578889fd5b8896505b84871015613b4757613b3381613886565b835260019690960195918301918301613b22565b5096505086013592505080821115613b5d578283fd5b50613b6a858286016138a2565b9150509250929050565b600060208284031215613b85578081fd5b5035919050565b600060208284031215613b9d578081fd5b813561229f81613f57565b600060208284031215613bb9578081fd5b815161229f81613f57565b60008060208385031215613bd6578182fd5b823567ffffffffffffffff80821115613bed578384fd5b818501915085601f830112613c00578384fd5b813581811115613c0e578485fd5b866020828501011115613c1f578485fd5b60209290920196919550909350505050565b600080600060408486031215613c45578081fd5b83359250602084013567ffffffffffffffff80821115613c63578283fd5b818601915086601f830112613c76578283fd5b813581811115613c84578384fd5b8760208260051b8501011115613c98578384fd5b6020830194508093505050509250925092565b60008151808452613cc3816020860160208601613e68565b601f01601f19169290920160200192915050565b60008351613ce9818460208801613e68565b835190830190613cfd818360208801613e68565b01949350505050565b60006001600160a01b03808716835280861660208401525083604083015260806060830152613d386080830184613cab565b9695505050505050565b60208152600061229f6020830184613cab565b604051601f8201601f1916810167ffffffffffffffff81118282101715613d7e57613d7e613f41565b604052919050565b600067ffffffffffffffff821115613da057613da0613f41565b5060051b60200190565b60006fffffffffffffffffffffffffffffffff808316818516808303821115613cfd57613cfd613f15565b60008219821115613de857613de8613f15565b500190565b600082613dfc57613dfc613f2b565b500490565b6000816000190483118215151615613e1b57613e1b613f15565b500290565b60006fffffffffffffffffffffffffffffffff83811690831681811015613e4957613e49613f15565b039392505050565b600082821015613e6357613e63613f15565b500390565b60005b83811015613e83578181015183820152602001613e6b565b83811115611b175750506000910152565b600081613ea357613ea3613f15565b506000190190565b600181811c90821680613ebf57607f821691505b60208210811415613ee057634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415613efa57613efa613f15565b5060010190565b600082613f1057613f10613f2b565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114611fa057600080fdfe4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a264697066735822122030bb56487d912a051b93f2a3786a1ec93c3c7177c7c54855002ff33f46f20b4d64736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000004027479fb707e146f5ca96470fef966a872a10b1b6870add054435cd59a290274d000000000000000000000000000000000000000000000000000000000000002968747470733a2f2f6170692e6d61727469616e7376737265646e65636b732e636f6d2f746f6b656e2f0000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : baseURI_ (string): https://api.martiansvsrednecks.com/token/
Arg [1] : _merkleRoot (bytes32): 0x27479fb707e146f5ca96470fef966a872a10b1b6870add054435cd59a290274d
-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 27479fb707e146f5ca96470fef966a872a10b1b6870add054435cd59a290274d
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000029
Arg [3] : 68747470733a2f2f6170692e6d61727469616e7376737265646e65636b732e63
Arg [4] : 6f6d2f746f6b656e2f0000000000000000000000000000000000000000000000
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.