ETH Price: $3,296.87 (-9.36%)

Token

Valenftines (GTAP3)
 

Overview

Max Total Supply

0 GTAP3

Holders

134

Total Transfers

-

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.

Contract Source Code Verified (Exact Match)

Contract Name:
Valenftines

Compiler Version
v0.8.10+commit.fc410830

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 9 : Valenftines.sol
// SPDX-License-Identifier: AGPL-3.0-only
pragma solidity 0.8.10;

import {ERC721} from "@rari-capital/solmate/src/tokens/ERC721.sol";
import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol";
import {MerkleProof} from "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";

import {ValenftinesDescriptors} from "../libraries/ValenftinesDescriptors.sol";


struct Valentine {
    uint8 h1;
    uint8 h2;
    uint8 h3;
    uint24 requitedTokenId;
    address to;
    address from;
}

/// Reverts
/// 1 - value less than mint fee
/// 2 - mint started yet 
/// 3 - mint ended
/// 4 - GTAP mint ended
/// 5 - GTAP mint claimed
/// 6 - invalid proof
/// 7 - inavlid heart type
/// 8 - token does not exist
contract Valenftines is ERC721, Ownable {
    uint256 public immutable mintStartTimestamp;
    uint256 public immutable mintEndTimestamp;
    bytes32 public immutable merkleRoot;
    mapping(uint256 => Valentine) public _valentineInfo;
    mapping(uint256 => uint256) public matchOf;
    mapping(address => bool) public gtapEarlyMintClaimed;

    uint24 private _nonce;

    function valentineInfo(uint256 tokenId) view public returns(Valentine memory){
        require(tokenId <= _nonce, '8');
        return _valentineInfo[tokenId];
    }

    function tokenURI(uint256 id) public view virtual override returns (string memory) {
        require(id <= _nonce, '8');
        return ValenftinesDescriptors.tokenURI(id, address(this));
    }

    function svgImage(uint256 id) external view returns (bytes memory) {
        require(id <= _nonce, '8');
        uint256 copy = matchOf[id];
        if(copy > 0){
            Valentine memory vc = _valentineInfo[copy];
            return ValenftinesDescriptors.svgImage(true, copy, vc);
        } else {
            Valentine memory v = _valentineInfo[id];
            return ValenftinesDescriptors.svgImage(false, id, v);
        }
    }

    constructor(
        address _owner,
        uint256 _mintStartTimestamp, 
        uint256 _mintEndTimestamp,
        bytes32 _merkleRoot
    ) 
        ERC721("Valenftines", "GTAP3")
    {
        transferOwnership(_owner);
        mintStartTimestamp = _mintStartTimestamp;
        mintEndTimestamp = _mintEndTimestamp;
        merkleRoot = _merkleRoot;
    }

    /// Mint

    function mint(address to, uint8 h1, uint8 h2, uint8 h3) payable external returns(uint256 id) {
        require(heartMintCostWei(h1) + heartMintCostWei(h2) + heartMintCostWei(h3) <= msg.value, '1');
        require(block.timestamp > mintStartTimestamp, '2');
        require(block.timestamp < mintEndTimestamp, '3');
        
        id = ++_nonce;
        Valentine storage v = _valentineInfo[id];
        v.from = msg.sender;
        v.to = to;
        v.h1 = h1;
        v.h2 = h2;
        v.h3 = h3;
        _safeMint(to, id);
    }

    function gtapMint(address to, uint8 h1, uint8 h2, uint8 h3, bytes32[] calldata merkleProof) payable external returns(uint256 id) {
        require((((heartMintCostWei(h1) + heartMintCostWei(h2) + heartMintCostWei(h3)) * 50) / 100)  <= msg.value, '1');
        require(block.timestamp < mintStartTimestamp, '4');
        require(!gtapEarlyMintClaimed[msg.sender], '5');

        bytes32 node = keccak256(abi.encodePacked(msg.sender));
        require(MerkleProof.verify(merkleProof, merkleRoot, node), '6');

        gtapEarlyMintClaimed[msg.sender] = true;
        
        id = ++_nonce;
        Valentine storage v = _valentineInfo[id];
        v.from = msg.sender;
        v.to = to;
        v.h1 = h1;
        v.h2 = h2;
        v.h3 = h3;
        _safeMint(to, id);
    }

    function heartMintCostWei(uint8 heartType) public pure returns(uint256) {
        require(heartType > 0 && heartType < 24, '7');
        return (heartType < 11 ? 1e16 : 
            (heartType < 18 ? 2e16 : 
                (heartType < 23 ? 1e17 : 1e18)));
    }

    /// Transfer

    function transferFrom(
        address from,
        address to,
        uint256 id
    ) public virtual override {
        _beforeTransfer(from, to, id);
        super.transferFrom(from, to, id);
    } 

    function safeTransferFrom(
        address from,
        address to,
        uint256 id
    ) public virtual override {
        _beforeTransfer(from, to, id);
        super.safeTransferFrom(from, to, id);
    }

    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        bytes memory data
    ) public virtual override {
        _beforeTransfer(from, to, id);
        super.safeTransferFrom(from, to, id, data);
    }

    function _beforeTransfer(
        address from,
        address to,
        uint256 id
    ) private {
        Valentine storage v = _valentineInfo[id];
        if (v.requitedTokenId == 0 && matchOf[id] == 0){
            if(to == v.from){
                uint24 nId = ++_nonce;
                _mint(from, nId);
                v.requitedTokenId = nId;
                matchOf[nId] = id;
            } else {
                v.from = from;
                v.to = to;
            }
        }
    }

    function payOwner(address to, uint256 amount) public onlyOwner {
        require(amount <= address(this).balance, "amount too high");
        payable(to).transfer(amount);
    }
}

File 2 of 9 : ERC721.sol
// SPDX-License-Identifier: AGPL-3.0-only
pragma solidity >=0.8.0;

/// @notice Modern, minimalist, and gas efficient ERC-721 implementation.
/// @author Solmate (https://github.com/Rari-Capital/solmate/blob/main/src/tokens/ERC721.sol)
/// @dev Note that balanceOf does not revert if passed the zero address, in defiance of the ERC.
abstract contract ERC721 {
    /*///////////////////////////////////////////////////////////////
                                 EVENTS
    //////////////////////////////////////////////////////////////*/

    event Transfer(address indexed from, address indexed to, uint256 indexed id);

    event Approval(address indexed owner, address indexed spender, uint256 indexed id);

    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

    /*///////////////////////////////////////////////////////////////
                          METADATA STORAGE/LOGIC
    //////////////////////////////////////////////////////////////*/

    string public name;

    string public symbol;

    function tokenURI(uint256 id) public view virtual returns (string memory);

    /*///////////////////////////////////////////////////////////////
                            ERC721 STORAGE                        
    //////////////////////////////////////////////////////////////*/

    mapping(address => uint256) public balanceOf;

    mapping(uint256 => address) public ownerOf;

    mapping(uint256 => address) public getApproved;

    mapping(address => mapping(address => bool)) public isApprovedForAll;

    /*///////////////////////////////////////////////////////////////
                              CONSTRUCTOR
    //////////////////////////////////////////////////////////////*/

    constructor(string memory _name, string memory _symbol) {
        name = _name;
        symbol = _symbol;
    }

    /*///////////////////////////////////////////////////////////////
                              ERC721 LOGIC
    //////////////////////////////////////////////////////////////*/

    function approve(address spender, uint256 id) public virtual {
        address owner = ownerOf[id];

        require(msg.sender == owner || isApprovedForAll[owner][msg.sender], "NOT_AUTHORIZED");

        getApproved[id] = spender;

        emit Approval(owner, spender, id);
    }

    function setApprovalForAll(address operator, bool approved) public virtual {
        isApprovedForAll[msg.sender][operator] = approved;

        emit ApprovalForAll(msg.sender, operator, approved);
    }

    function transferFrom(
        address from,
        address to,
        uint256 id
    ) public virtual {
        require(from == ownerOf[id], "WRONG_FROM");

        require(to != address(0), "INVALID_RECIPIENT");

        require(
            msg.sender == from || msg.sender == getApproved[id] || isApprovedForAll[from][msg.sender],
            "NOT_AUTHORIZED"
        );

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        unchecked {
            balanceOf[from]--;

            balanceOf[to]++;
        }

        ownerOf[id] = to;

        delete getApproved[id];

        emit Transfer(from, to, id);
    }

    function safeTransferFrom(
        address from,
        address to,
        uint256 id
    ) public virtual {
        transferFrom(from, to, id);

        require(
            to.code.length == 0 ||
                ERC721TokenReceiver(to).onERC721Received(msg.sender, from, id, "") ==
                ERC721TokenReceiver.onERC721Received.selector,
            "UNSAFE_RECIPIENT"
        );
    }

    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        bytes memory data
    ) public virtual {
        transferFrom(from, to, id);

        require(
            to.code.length == 0 ||
                ERC721TokenReceiver(to).onERC721Received(msg.sender, from, id, data) ==
                ERC721TokenReceiver.onERC721Received.selector,
            "UNSAFE_RECIPIENT"
        );
    }

    /*///////////////////////////////////////////////////////////////
                              ERC165 LOGIC
    //////////////////////////////////////////////////////////////*/

    function supportsInterface(bytes4 interfaceId) public pure virtual returns (bool) {
        return
            interfaceId == 0x01ffc9a7 || // ERC165 Interface ID for ERC165
            interfaceId == 0x80ac58cd || // ERC165 Interface ID for ERC721
            interfaceId == 0x5b5e139f; // ERC165 Interface ID for ERC721Metadata
    }

    /*///////////////////////////////////////////////////////////////
                       INTERNAL MINT/BURN LOGIC
    //////////////////////////////////////////////////////////////*/

    function _mint(address to, uint256 id) internal virtual {
        require(to != address(0), "INVALID_RECIPIENT");

        require(ownerOf[id] == address(0), "ALREADY_MINTED");

        // Counter overflow is incredibly unrealistic.
        unchecked {
            balanceOf[to]++;
        }

        ownerOf[id] = to;

        emit Transfer(address(0), to, id);
    }

    function _burn(uint256 id) internal virtual {
        address owner = ownerOf[id];

        require(ownerOf[id] != address(0), "NOT_MINTED");

        // Ownership check above ensures no underflow.
        unchecked {
            balanceOf[owner]--;
        }

        delete ownerOf[id];

        delete getApproved[id];

        emit Transfer(owner, address(0), id);
    }

    /*///////////////////////////////////////////////////////////////
                       INTERNAL SAFE MINT LOGIC
    //////////////////////////////////////////////////////////////*/

    function _safeMint(address to, uint256 id) internal virtual {
        _mint(to, id);

        require(
            to.code.length == 0 ||
                ERC721TokenReceiver(to).onERC721Received(msg.sender, address(0), id, "") ==
                ERC721TokenReceiver.onERC721Received.selector,
            "UNSAFE_RECIPIENT"
        );
    }

    function _safeMint(
        address to,
        uint256 id,
        bytes memory data
    ) internal virtual {
        _mint(to, id);

        require(
            to.code.length == 0 ||
                ERC721TokenReceiver(to).onERC721Received(msg.sender, address(0), id, data) ==
                ERC721TokenReceiver.onERC721Received.selector,
            "UNSAFE_RECIPIENT"
        );
    }
}

/// @notice A generic interface for a contract which properly accepts ERC721 tokens.
/// @author Solmate (https://github.com/Rari-Capital/solmate/blob/main/src/tokens/ERC721.sol)
interface ERC721TokenReceiver {
    function onERC721Received(
        address operator,
        address from,
        uint256 id,
        bytes calldata data
    ) external returns (bytes4);
}

File 3 of 9 : Ownable.sol
// SPDX-License-Identifier: MIT

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() {
        _setOwner(_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 {
        _setOwner(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");
        _setOwner(newOwner);
    }

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 4 of 9 : MerkleProof.sol
// SPDX-License-Identifier: MIT

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) {
        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 = keccak256(abi.encodePacked(computedHash, proofElement));
            } else {
                // Hash(current element of the proof + current computed hash)
                computedHash = keccak256(abi.encodePacked(proofElement, computedHash));
            }
        }

        // Check if the computed hash (root) is equal to the provided root
        return computedHash == root;
    }
}

File 5 of 9 : ValenftinesDescriptors.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.10;

import {Strings} from "@openzeppelin/contracts/utils/Strings.sol";
import {Base64} from "base64-sol/base64.sol";

import {HexStrings} from "./HexStrings.sol";
import {Valenftines, Valentine} from '../valenftines//Valenftines.sol';

library ValenftinesDescriptors {
    function tokenURI(uint256 id, address valenftines) public view returns (string memory) {
        Valentine memory v = Valenftines(valenftines).valentineInfo(id);
        uint256 copy = Valenftines(valenftines).matchOf(id);
        return string(
                abi.encodePacked(
                    'data:application/json;base64,',
                        Base64.encode(
                            bytes(
                                abi.encodePacked(
                                    '{"name":"'
                                    '#',
                                    Strings.toString(id),
                                    _tokenName(id, v.requitedTokenId, valenftines),
                                    '", "description":"',
                                    'Valenftines are on-chain art for friends and lovers. They display the address of the sender and recipient along with messages picked by the minter. When the Valenftine is transferred back to the most recent sender, love is REQUITED and the NFT transforms and clones itself so both parties have a copy.',
                                    '", "attributes": [',
                                    tokenAttributes(id, v.requitedTokenId, v.to, v.from),
                                    ']',
                                    ', "image": "'
                                    'data:image/svg+xml;base64,',
                                    Base64.encode(copy > 0 ? svgImage(true, copy, Valenftines(valenftines).valentineInfo(copy)) : svgImage(false, id, v)),
                                    '"}'
                                )
                            )
                        )
                )
            );
    }

    function _tokenName(uint256 tokenId, uint24 requitedTokenId, address valenftines) private view returns(string memory){
        uint256 copy = Valenftines(valenftines).matchOf(tokenId);
        return requitedTokenId == 0 && copy == 0 ?
                '' : 
                string(
                    abi.encodePacked(
                        ' (match of #',
                        copy == 0 ? 
                            Strings.toString(requitedTokenId)
                            : Strings.toString(copy) 
                        , 
                        ')'
                    )
                );
    }

    function tokenAttributes(uint256 tokenId, uint24 requitedTokenId, address to, address from) public view returns(string memory) {
        return string(
            abi.encodePacked(
                '{',
                '"trait_type": "Love",', 
                '"value":"',
                requitedTokenId == 0 ? 'UNREQUITED' : 'REQUITED',
                '"}'
            )
        );
    }

    /// TOKEN ART 

    function svgImage(
        bool isCopy,
        uint256 tokenId, 
        Valentine memory v
    ) 
        public view returns (bytes memory)
    {
        return abi.encodePacked(
            '<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="400" height="400" class="container" ',
	            'viewBox="0 0 400 400" style="enable-background:new 0 0 400 400;" xml:space="preserve">',
            styles(tokenId),
            '<defs>',
                '<g id="heart">',
                    '<path d="M79.2-43C71.2-78.4,30.8-84.9,5-60.9c-2.5,2.3-6.4,2.1-8.8-0.3c-25-25.9-75.1-15-76.7,28.2C-82.6,22.3-14,75.2,1.5,75.1C17.3,75.1,91.3,10.7,79.2-43z"/>',
                '</g>',
                '<radialGradient id="rainbow" cx="58%" cy="49%" fr="0%" r="70%" spreadMethod="repeat">',
                '<stop offset="0%" style="stop-color:#ffb9b9" />',
                '<stop offset="30%" style="stop-color:#',
                isCopy ? 'cfbcff' : 'fff7ad',
                '" />',
                '<stop offset="50%" style="stop-color:#97fff3" />',
                '<stop offset="80%" style="stop-color:#',
                isCopy ? 'fff7ad' : 'cfbcff',
                '" />',
                '<stop offset="100%" style="stop-color:#ffb9b9" />',
                '</radialGradient>',
            '</defs>',

            '<rect ',
            v.requitedTokenId != 0 ? 'fill="url(#rainbow)"' : 'class="background"',
            ' width="400" height="400"/>',

            '<animate xlink:href="#rainbow" ',
                'attributeName="fr" ',
                'dur="16s" ',
                'values="0%;25%;0%" ',
                'repeatCount="indefinite"',
            '/>',

            '<animate xlink:href="#rainbow" ',
                'attributeName="r" ',
                'dur="16s" ',
                'values="70%;180%;70%" ',
                'repeatCount="indefinite"',
            '/>',
           
            heartsSVGs(tokenId, v),
            '</svg>'
        );
    }

    function styles(uint256 tokenId) private pure returns(bytes memory) {
        return abi.encodePacked(
            '<style type="text/css">',
                '.container{font-size:28px; font-family: monospace, monospace; font-weight: 500; letter-spacing: 2px;}',
                '.whitetext{fill:#ffffff; text-anchor:middle;}',
                '.blacktext{fill:#000000; text-anchor:middle;}',
                '.pinktext{fill:#FA0F95; text-anchor:middle;}',
                '.whiteheart{fill:#ffffff;}',
                '.whiteheartoutline{fill:#ffffff; stroke: #000000; stroke-width: 6px;}',
                '.black{fill:#000000;}',
                '.pink{fill:#FFC9DF;}',
                '.blue{fill:#A2E2FF;}',
                '.orange{fill:#FFCC99;}',
                '.green{fill:#A4FFCA;}',
                '.purple{fill:#DAB5FF;}',
                '.yellow{fill:#FFF6AE;}',
                '.background{fill:#FFDBDB;}',
            '</style>'
        );
    }

    function heartsSVGs(
        uint256 tokenId,
        Valentine memory v
    ) 
        public view returns (bytes memory)
    {
        bool requited = v.requitedTokenId != 0;
        return abi.encodePacked(
            addrHeart(true, tokenId, requited, v.from),

            addrHeart(false, tokenId, requited, v.to),

            textHeart(1, v.h1, tokenId, requited, v.to, v.from),
            textHeart(2, v.h2, tokenId, requited, v.from, v.to),
            textHeart(3, v.h3, tokenId, requited, address(this), v.from),

            emptyHeart(true, tokenId, requited, v.to),
            emptyHeart(false, tokenId, requited, v.from)
        );
    }

    function addrHeart(bool first, uint256 tokenId, bool requited, address account) private pure returns (bytes memory) {
        string memory xy = first ? '93,96' : '236,209';
        return abi.encodePacked(
            '<g transform="translate(',
            xy,
            ') rotate(',
            rotation(tokenId + (first ? 100 : 101)),
            ')">',
                '<use xlink:href="#heart" class="whiteheart',
                requited ? '' : 'outline',
                '"/>',
                '<text class="',
                requited ? 'pinktext' : 'blacktext',
                '">',
                    '<tspan x="0" y="-10">',
                    HexStrings.partialHexString(uint160(account), 4, 40),
                    '</tspan>',
                '</text>',
            '</g>'
        );
    }

    function textHeart(uint256 index, uint8 heartType, uint256 tokenId, bool requited, address addr1, address addr2) private pure returns (bytes memory) {
        string memory xy = (index < 2 ? '327,62' :
                                index < 3 ? '102,325' : '336,348');
        return abi.encodePacked(
            '<g transform="translate(',
            xy,
            ') rotate(',
            rotation(tokenId + 101 + index),
            ')">',
                '<use xlink:href="#heart" class="',
                requited ? heartColorClass(addr1, addr2) : 'black',
                '"/>',
                '<text class="',
                requited ? 'pinktext' : 'whitetext',
                '">',
                    heartMessageTspans(heartType),
                '</text>',
            '</g>'
        );
    }

    function heartMessageTspans(uint8 heartType) private pure returns(bytes memory){
        return (heartType < 2 ? bullishForYou() :
                (heartType < 3 ? beMine() : 
                (heartType < 4 ? toTheMoon() : 
                (heartType < 5 ? coolCat() : 
                (heartType < 6 ? cutiePie() :
                (heartType < 7 ? zeroXZeroX() : 
                (heartType < 8 ? bestFren() : 
                (heartType < 9 ? bigFan() : 
                (heartType < 10 ? gm() : 
                (heartType < 11 ? coinBae() : 
                (heartType < 12 ? sayIDAO() :
                (heartType < 13 ? wagmi() : 
                (heartType < 14 ? myDegen() : 
                (heartType < 15 ? payMyTaxes() :
                (heartType < 16 ? upOnly() : 
                (heartType < 17 ? lilMfer() : 
                (heartType < 18 ? onboardMe() : 
                (heartType < 19 ? letsMerge() : 
                (heartType < 20 ? hodlMe() : 
                (heartType < 21 ? looksRare() :
                (heartType < 22 ? wenRing() : 
                (heartType < 23 ? idMintYou() : simpForYou()))))))))))))))))))))));
    }

    function emptyHeart(bool first, uint256 tokenId, bool requited, address account) private view returns (bytes memory) {
        string memory xy = first ? '-40,210' : '460,190';
        return abi.encodePacked(
            '<g transform="translate(',
            xy,
            ') rotate(',
            rotation(tokenId + (first ? 104 : 105)),
            ')">',
                '<use xlink:href="#heart" class="',
                requited ? heartColorClass(account, address(this)) : 'black',
                '"/>',
            '</g>'
        );
    }

    function rotation(uint256 n) private pure returns (string memory) {
        uint256 r = n % 30;
        bool isPos = (n % 2) > 0 ? true : false;
        return string(
            abi.encodePacked(
                isPos ? '' : '-',
                Strings.toString(r)
            )
        );
    }

    function heartColorClass(address addr1, address addr2) private pure returns(string memory){
        uint256 i = numberFromAddresses(addr1, addr2, 100) % 6;
        return (i < 1 ? 'pink' : 
            (i < 2 ? 'blue' : 
                (i < 3 ? 'orange' : 
                    (i < 4 ? 'green' : 
                        (i < 5 ? 'purple' : 'yellow')))));

    }

    // gives a number from address where 
    // numberFromAddresses(addr1, addr2, mod) != numberFromAddresses(addr2, addr1, mod)
    function numberFromAddresses(address addr1, address addr2, uint256 mod) private pure returns(uint256) {
        return ((uint160(addr1) % 201) + (uint160(addr2) % 100)) % mod;
    } 

    function gm() private pure returns(bytes memory){
        return oneLineText("GM");
    }

    function zeroXZeroX() private pure returns(bytes memory){
        return oneLineText("0x0x");
    }

    function wagmi() private pure returns(bytes memory){
        return oneLineText("WAGMI");
    }
    
    function bullishForYou() private pure returns(bytes memory){
        return twoLineText("BULLISH", "4YOU");
    }

    function beMine() private pure returns(bytes memory){
        return twoLineText("BE", "MINE");
    }

    function toTheMoon() private pure returns(bytes memory){
        return twoLineText("2THE", "MOON");
    }

    function coolCat() private pure returns(bytes memory){
        return twoLineText("COOL", "CAT");
    }

    function cutiePie() private pure returns(bytes memory){
        return twoLineText("CUTIE", "PIE");
    }

    function bestFren() private pure returns(bytes memory){
        return twoLineText("BEST", "FREN");
    }

    function bigFan() private pure returns(bytes memory){
        return twoLineText("BIG", "FAN");
    }
    
    function coinBae() private pure returns(bytes memory){
        return twoLineText("COIN", "BAE");
    }

    function sayIDAO() private pure returns(bytes memory){
        return twoLineText("SAY I", "DAO");
    }

    function myDegen() private pure returns(bytes memory){
        return twoLineText("MY", "DEGEN");
    }

    function payMyTaxes() private pure returns(bytes memory){
        return twoLineText("PAY MY", "TAXES");
    }

    function upOnly() private pure returns(bytes memory){
        return twoLineText("UP", "ONLY");
    }

    function lilMfer() private pure returns(bytes memory){
        return twoLineText("LIL", "MFER");
    }

    function onboardMe() private pure returns(bytes memory){
        return twoLineText("ONBOARD", "ME");
    }

    function letsMerge() private pure returns(bytes memory){
        return twoLineText("LETS", "MERGE");
    }

    function hodlMe() private pure returns(bytes memory){
        return twoLineText("HODL", "ME");
    }

    function looksRare() private pure returns(bytes memory){
        return twoLineText("LOOKS", "RARE");
    }

    function wenRing() private pure returns(bytes memory){
        return twoLineText("WEN", "RING");
    }

    function simpForYou() private pure returns(bytes memory){
        return twoLineText("SIMP", "4U");
    }

    function idMintYou() private pure returns(bytes memory){
        return threeLineText('ID', 'MINT', 'YOU');
    }

    function oneLineText(string memory text) private pure returns(bytes memory){
        return abi.encodePacked(
            '<tspan x="0" y="-10">',
            text,
            '</tspan>'
        );
    }

    function twoLineText(string memory line1, string memory line2) private pure returns(bytes memory){
        return abi.encodePacked(
            '<tspan x="0" y="-15">',
            line1,
            '</tspan>',
            '<tspan x="0" y="20">',
            line2,
            '</tspan>'
        );
    }

    function threeLineText(string memory line1, string memory line2, string memory line3) private pure returns(bytes memory){
        return abi.encodePacked(
            '<tspan x="0" y="-25">',
            line1,
            '</tspan>',
            '<tspan x="0" y="10">',
            line2,
            '</tspan>',
            '<tspan x="0" y="45">',
            line3,
            '</tspan>'
        );
    }
}

File 6 of 9 : Context.sol
// SPDX-License-Identifier: MIT

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;
    }
}

File 7 of 9 : Strings.sol
// SPDX-License-Identifier: MIT

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);
    }
}

File 8 of 9 : base64.sol
// SPDX-License-Identifier: MIT

/// @title Base64
/// @author Brecht Devos - <[email protected]>
/// @notice Provides a function for encoding some bytes in base64
library Base64 {
    string internal constant TABLE = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';

    function encode(bytes memory data) internal pure returns (string memory) {
        if (data.length == 0) return '';
        
        // load the table into memory
        string memory table = TABLE;

        // multiply by 4/3 rounded up
        uint256 encodedLen = 4 * ((data.length + 2) / 3);

        // add some extra buffer at the end required for the writing
        string memory result = new string(encodedLen + 32);

        assembly {
            // set the actual output length
            mstore(result, encodedLen)
            
            // prepare the lookup table
            let tablePtr := add(table, 1)
            
            // input ptr
            let dataPtr := data
            let endPtr := add(dataPtr, mload(data))
            
            // result ptr, jump over length
            let resultPtr := add(result, 32)
            
            // run over the input, 3 bytes at a time
            for {} lt(dataPtr, endPtr) {}
            {
               dataPtr := add(dataPtr, 3)
               
               // read 3 bytes
               let input := mload(dataPtr)
               
               // write 4 characters
               mstore(resultPtr, shl(248, mload(add(tablePtr, and(shr(18, input), 0x3F)))))
               resultPtr := add(resultPtr, 1)
               mstore(resultPtr, shl(248, mload(add(tablePtr, and(shr(12, input), 0x3F)))))
               resultPtr := add(resultPtr, 1)
               mstore(resultPtr, shl(248, mload(add(tablePtr, and(shr( 6, input), 0x3F)))))
               resultPtr := add(resultPtr, 1)
               mstore(resultPtr, shl(248, mload(add(tablePtr, and(        input,  0x3F)))))
               resultPtr := add(resultPtr, 1)
            }
            
            // padding with '='
            switch mod(mload(data), 3)
            case 1 { mstore(sub(resultPtr, 2), shl(240, 0x3d3d)) }
            case 2 { mstore(sub(resultPtr, 1), shl(248, 0x3d)) }
        }
        
        return result;
    }
}

File 9 of 9 : HexStrings.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.10;

library HexStrings {
    bytes16 internal constant ALPHABET = '0123456789abcdef';

    // @notice returns value as a hex string of desiredPartialStringLength length,
    // adding '0x' to the start
    // Designed to be used for shortening addresses for display purposes.
    // @param value The value to return as a hex string
    // @param desiredPartialStringLength How many hex characters of `value` to return in the string
    // @param valueLengthAsHexString The length of `value` as a hex string
    function partialHexString(
        uint160 value,
        uint8 desiredPartialStringLength,
        uint8 valueLengthAsHexString
    ) 
        internal pure returns (string memory) 
    {
        bytes memory buffer = new bytes(desiredPartialStringLength + 2);
        buffer[0] = '0';
        buffer[1] = 'x';
        uint8 offset = desiredPartialStringLength + 1;
        // remove values not in partial length, four bytes for every hex character
        value >>= 4 * (valueLengthAsHexString - desiredPartialStringLength);
        for (uint8 i = offset; i > 1; --i) {
            buffer[i] = ALPHABET[value & 0xf];
            value >>= 4;
        }
        require(value == 0, 'HexStrings: hex length insufficient');

        return string(buffer);
    }
}

Settings
{
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {
    "contracts/libraries/ValenftinesDescriptors.sol": {
      "ValenftinesDescriptors": "0x56bfba24ae68da358db3de7b47ff7a4a56ccd21f"
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"uint256","name":"_mintStartTimestamp","type":"uint256"},{"internalType":"uint256","name":"_mintEndTimestamp","type":"uint256"},{"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":"spender","type":"address"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"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":"id","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"_valentineInfo","outputs":[{"internalType":"uint8","name":"h1","type":"uint8"},{"internalType":"uint8","name":"h2","type":"uint8"},{"internalType":"uint8","name":"h3","type":"uint8"},{"internalType":"uint24","name":"requitedTokenId","type":"uint24"},{"internalType":"address","name":"to","type":"address"},{"internalType":"address","name":"from","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"gtapEarlyMintClaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint8","name":"h1","type":"uint8"},{"internalType":"uint8","name":"h2","type":"uint8"},{"internalType":"uint8","name":"h3","type":"uint8"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"gtapMint","outputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint8","name":"heartType","type":"uint8"}],"name":"heartMintCostWei","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"matchOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint8","name":"h1","type":"uint8"},{"internalType":"uint8","name":"h2","type":"uint8"},{"internalType":"uint8","name":"h3","type":"uint8"}],"name":"mint","outputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintEndTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintStartTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"payOwner","outputs":[],"stateMutability":"nonpayable","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":"id","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"svgImage","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"valentineInfo","outputs":[{"components":[{"internalType":"uint8","name":"h1","type":"uint8"},{"internalType":"uint8","name":"h2","type":"uint8"},{"internalType":"uint8","name":"h3","type":"uint8"},{"internalType":"uint24","name":"requitedTokenId","type":"uint24"},{"internalType":"address","name":"to","type":"address"},{"internalType":"address","name":"from","type":"address"}],"internalType":"struct Valentine","name":"","type":"tuple"}],"stateMutability":"view","type":"function"}]

60e06040523480156200001157600080fd5b5060405162004a9d38038062004a9d8339818101604052810190620000379190620004c8565b6040518060400160405280600b81526020017f56616c656e6674696e65730000000000000000000000000000000000000000008152506040518060400160405280600581526020017f47544150330000000000000000000000000000000000000000000000000000008152508160009080519060200190620000bb92919062000338565b508060019080519060200190620000d492919062000338565b505050620000f7620000eb6200012a60201b60201c565b6200013260201b60201c565b6200010884620001f860201b60201c565b82608081815250508160a081815250508060c0818152505050505050620006ba565b600033905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620002086200012a60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff166200022e6200030e60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff161462000287576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200027e906200059b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415620002fa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002f19062000633565b60405180910390fd5b6200030b816200013260201b60201c565b50565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b828054620003469062000684565b90600052602060002090601f0160209004810192826200036a5760008555620003b6565b82601f106200038557805160ff1916838001178555620003b6565b82800160010185558215620003b6579182015b82811115620003b557825182559160200191906001019062000398565b5b509050620003c59190620003c9565b5090565b5b80821115620003e4576000816000905550600101620003ca565b5090565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006200041a82620003ed565b9050919050565b6200042c816200040d565b81146200043857600080fd5b50565b6000815190506200044c8162000421565b92915050565b6000819050919050565b620004678162000452565b81146200047357600080fd5b50565b60008151905062000487816200045c565b92915050565b6000819050919050565b620004a2816200048d565b8114620004ae57600080fd5b50565b600081519050620004c28162000497565b92915050565b60008060008060808587031215620004e557620004e4620003e8565b5b6000620004f5878288016200043b565b9450506020620005088782880162000476565b93505060406200051b8782880162000476565b92505060606200052e87828801620004b1565b91505092959194509250565b600082825260208201905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000620005836020836200053a565b915062000590826200054b565b602082019050919050565b60006020820190508181036000830152620005b68162000574565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006200061b6026836200053a565b91506200062882620005bd565b604082019050919050565b600060208201905081810360008301526200064e816200060c565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200069d57607f821691505b60208210811415620006b457620006b362000655565b5b50919050565b60805160a05160c0516143976200070660003960008181610cf60152611431015260008181611a110152611c9a0152600081816112d2015281816117de01526119af01526143976000f3fe6080604052600436106101b75760003560e01c8063715018a6116100ec578063c75986ee1161008a578063cf103ea811610064578063cf103ea814610650578063d9bbdc0e1461068d578063e985e9c5146106cf578063f2fde38b1461070c576101b7565b8063c75986ee146105b8578063c87b56dd146105e8578063cc6ac2f514610625576101b7565b8063a0e389de116100c6578063a0e389de146104fe578063a22cb46514610529578063a5d6b60614610552578063b88d4fde1461058f576101b7565b8063715018a6146104915780638da5cb5b146104a857806395d89b41146104d3576101b7565b80632eb4a7ab116101595780633effe885116101335780633effe885146103be57806342842e0e146103ee5780636352211e1461041757806370a0823114610454576101b7565b80632eb4a7ab1461032d5780633959327c146103585780633e6d155014610381576101b7565b806309291e611161019557806309291e6114610261578063095ea7b31461029e57806323b872dd146102c75780632c93f0d4146102f0576101b7565b806301ffc9a7146101bc57806306fdde03146101f9578063081812fc14610224575b600080fd5b3480156101c857600080fd5b506101e360048036038101906101de9190612c96565b610735565b6040516101f09190612cde565b60405180910390f35b34801561020557600080fd5b5061020e6107c7565b60405161021b9190612d92565b60405180910390f35b34801561023057600080fd5b5061024b60048036038101906102469190612dea565b610855565b6040516102589190612e58565b60405180910390f35b34801561026d57600080fd5b5061028860048036038101906102839190612dea565b610888565b6040516102959190612f37565b60405180910390f35b3480156102aa57600080fd5b506102c560048036038101906102c09190612f7e565b610a34565b005b3480156102d357600080fd5b506102ee60048036038101906102e99190612fbe565b610c1d565b005b3480156102fc57600080fd5b506103176004803603810190610312919061303d565b610c38565b6040516103249190613079565b60405180910390f35b34801561033957600080fd5b50610342610cf4565b60405161034f91906130ad565b60405180910390f35b34801561036457600080fd5b5061037f600480360381019061037a9190612f7e565b610d18565b005b34801561038d57600080fd5b506103a860048036038101906103a39190612dea565b610e22565b6040516103b5919061311d565b60405180910390f35b6103d860048036038101906103d391906131a4565b611245565b6040516103e59190613079565b60405180910390f35b3480156103fa57600080fd5b5061041560048036038101906104109190612fbe565b611636565b005b34801561042357600080fd5b5061043e60048036038101906104399190612dea565b611651565b60405161044b9190612e58565b60405180910390f35b34801561046057600080fd5b5061047b6004803603810190610476919061323e565b611684565b6040516104889190613079565b60405180910390f35b34801561049d57600080fd5b506104a661169c565b005b3480156104b457600080fd5b506104bd611724565b6040516104ca9190612e58565b60405180910390f35b3480156104df57600080fd5b506104e861174e565b6040516104f59190612d92565b60405180910390f35b34801561050a57600080fd5b506105136117dc565b6040516105209190613079565b60405180910390f35b34801561053557600080fd5b50610550600480360381019061054b9190613297565b611800565b005b34801561055e57600080fd5b506105796004803603810190610574919061323e565b6118fd565b6040516105869190612cde565b60405180910390f35b34801561059b57600080fd5b506105b660048036038101906105b19190613407565b61191d565b005b6105d260048036038101906105cd919061348a565b61193a565b6040516105df9190613079565b60405180910390f35b3480156105f457600080fd5b5061060f600480360381019061060a9190612dea565b611bb7565b60405161061c9190612d92565b60405180910390f35b34801561063157600080fd5b5061063a611c98565b6040516106479190613079565b60405180910390f35b34801561065c57600080fd5b5061067760048036038101906106729190612dea565b611cbc565b6040516106849190613079565b60405180910390f35b34801561069957600080fd5b506106b460048036038101906106af9190612dea565b611cd4565b6040516106c69695949392919061350f565b60405180910390f35b3480156106db57600080fd5b506106f660048036038101906106f19190613570565b611d86565b6040516107039190612cde565b60405180910390f35b34801561071857600080fd5b50610733600480360381019061072e919061323e565b611db5565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061079057506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806107c05750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b600080546107d4906135df565b80601f0160208091040260200160405190810160405280929190818152602001828054610800906135df565b801561084d5780601f106108225761010080835404028352916020019161084d565b820191906000526020600020905b81548152906001019060200180831161083057829003601f168201915b505050505081565b60046020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610890612bba565b600a60009054906101000a900462ffffff1662ffffff168211156108e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108e09061365d565b60405180910390fd5b600760008381526020019081526020016000206040518060c00160405290816000820160009054906101000a900460ff1660ff1660ff1681526020016000820160019054906101000a900460ff1660ff1660ff1681526020016000820160029054906101000a900460ff1660ff1660ff1681526020016000820160039054906101000a900462ffffff1662ffffff1662ffffff1681526020016000820160069054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016001820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815250509050919050565b60006003600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610b2c5750600560008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b610b6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b62906136c9565b60405180910390fd5b826004600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b610c28838383611ead565b610c33838383612079565b505050565b6000808260ff16118015610c4f575060188260ff16105b610c8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c8590613735565b60405180910390fd5b600b8260ff1610610cda5760128260ff1610610ccc5760178260ff1610610cbd57670de0b6b3a7640000610cc7565b67016345785d8a00005b610cd5565b66470de4df8200005b610ce3565b662386f26fc100005b67ffffffffffffffff169050919050565b7f000000000000000000000000000000000000000000000000000000000000000081565b610d20612479565b73ffffffffffffffffffffffffffffffffffffffff16610d3e611724565b73ffffffffffffffffffffffffffffffffffffffff1614610d94576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d8b906137a1565b60405180910390fd5b47811115610dd7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dce9061380d565b60405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610e1d573d6000803e3d6000fd5b505050565b6060600a60009054906101000a900462ffffff1662ffffff16821115610e7d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e749061365d565b60405180910390fd5b6000600860008481526020019081526020016000205490506000811115611071576000600760008381526020019081526020016000206040518060c00160405290816000820160009054906101000a900460ff1660ff1660ff1681526020016000820160019054906101000a900460ff1660ff1660ff1681526020016000820160029054906101000a900460ff1660ff1660ff1681526020016000820160039054906101000a900462ffffff1662ffffff1662ffffff1681526020016000820160069054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016001820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152505090507356bfba24ae68da358db3de7b47ff7a4a56ccd21f63ba993cc9600184846040518463ffffffff1660e01b8152600401611022939291906138f3565b600060405180830381865af415801561103f573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190611068919061399b565b92505050611240565b6000600760008581526020019081526020016000206040518060c00160405290816000820160009054906101000a900460ff1660ff1660ff1681526020016000820160019054906101000a900460ff1660ff1660ff1681526020016000820160029054906101000a900460ff1660ff1660ff1681526020016000820160039054906101000a900462ffffff1662ffffff1662ffffff1681526020016000820160069054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016001820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152505090507356bfba24ae68da358db3de7b47ff7a4a56ccd21f63ba993cc9600086846040518463ffffffff1660e01b81526004016111f5939291906138f3565b600060405180830381865af4158015611212573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f8201168201806040525081019061123b919061399b565b925050505b919050565b6000346064603261125587610c38565b61125e89610c38565b6112678b610c38565b6112719190613a13565b61127b9190613a13565b6112859190613a69565b61128f9190613af2565b11156112d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112c790613b6f565b60405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000004210611332576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161132990613bdb565b60405180910390fd5b600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16156113bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113b690613c47565b60405180910390fd5b6000336040516020016113d29190613caf565b604051602081830303815290604052805190602001209050611456848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050507f000000000000000000000000000000000000000000000000000000000000000083612481565b611495576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148c90613d16565b60405180910390fd5b6001600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550600a600081819054906101000a900462ffffff1661150a90613d36565b91906101000a81548162ffffff021916908362ffffff160217905562ffffff1691506000600760008481526020019081526020016000209050338160010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550888160000160066101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550878160000160006101000a81548160ff021916908360ff160217905550868160000160016101000a81548160ff021916908360ff160217905550858160000160026101000a81548160ff021916908360ff16021790555061162a8984612537565b50509695505050505050565b611641838383611ead565b61164c83838361266e565b505050565b60036020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60026020528060005260406000206000915090505481565b6116a4612479565b73ffffffffffffffffffffffffffffffffffffffff166116c2611724565b73ffffffffffffffffffffffffffffffffffffffff1614611718576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161170f906137a1565b60405180910390fd5b61172260006127a6565b565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6001805461175b906135df565b80601f0160208091040260200160405190810160405280929190818152602001828054611787906135df565b80156117d45780601f106117a9576101008083540402835291602001916117d4565b820191906000526020600020905b8154815290600101906020018083116117b757829003601f168201915b505050505081565b7f000000000000000000000000000000000000000000000000000000000000000081565b80600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516118f19190612cde565b60405180910390a35050565b60096020528060005260406000206000915054906101000a900460ff1681565b611928848484611ead565b6119348484848461286c565b50505050565b60003461194683610c38565b61194f85610c38565b61195887610c38565b6119629190613a13565b61196c9190613a13565b11156119ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119a490613b6f565b60405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000004211611a0f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a0690613dae565b60405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000004210611a71576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a6890613e1a565b60405180910390fd5b600a600081819054906101000a900462ffffff16611a8e90613d36565b91906101000a81548162ffffff021916908362ffffff160217905562ffffff1690506000600760008381526020019081526020016000209050338160010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550858160000160066101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550848160000160006101000a81548160ff021916908360ff160217905550838160000160016101000a81548160ff021916908360ff160217905550828160000160026101000a81548160ff021916908360ff160217905550611bae8683612537565b50949350505050565b6060600a60009054906101000a900462ffffff1662ffffff16821115611c12576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c099061365d565b60405180910390fd5b7356bfba24ae68da358db3de7b47ff7a4a56ccd21f638c4c1b2f83306040518363ffffffff1660e01b8152600401611c4b929190613e49565b600060405180830381865af4158015611c68573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190611c919190613f13565b9050919050565b7f000000000000000000000000000000000000000000000000000000000000000081565b60086020528060005260406000206000915090505481565b60076020528060005260406000206000915090508060000160009054906101000a900460ff16908060000160019054906101000a900460ff16908060000160029054906101000a900460ff16908060000160039054906101000a900462ffffff16908060000160069054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905086565b60056020528160005260406000206020528060005260406000206000915091509054906101000a900460ff1681565b611dbd612479565b73ffffffffffffffffffffffffffffffffffffffff16611ddb611724565b73ffffffffffffffffffffffffffffffffffffffff1614611e31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e28906137a1565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611ea1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e9890613fce565b60405180910390fd5b611eaa816127a6565b50565b600060076000838152602001908152602001600020905060008160000160039054906101000a900462ffffff1662ffffff16148015611eff575060006008600084815260200190815260200160002054145b15612073578060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611feb576000600a600081819054906101000a900462ffffff16611f7b90613d36565b91906101000a81548162ffffff021916908362ffffff16021790559050611fa7858262ffffff166129a7565b808260000160036101000a81548162ffffff021916908362ffffff16021790555082600860008362ffffff1681526020019081526020016000208190555050612072565b838160010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550828160000160066101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b5b50505050565b6003600082815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461211a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121119061403a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561218a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612181906140a6565b60405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16148061222257506004600082815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b806122b35750600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b6122f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122e9906136c9565b60405180910390fd5b600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815480929190600190039190505550600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154809291906001019190505550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506004600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600033905090565b60008082905060005b85518110156125295760008682815181106124a8576124a76140c6565b5b602002602001015190508083116124e95782816040516020016124cc929190614116565b604051602081830303815290604052805190602001209250612515565b80836040516020016124fc929190614116565b6040516020818303038152906040528051906020012092505b50808061252190614142565b91505061248a565b508381149150509392505050565b61254182826129a7565b60008273ffffffffffffffffffffffffffffffffffffffff163b148061262b575063150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168273ffffffffffffffffffffffffffffffffffffffff1663150b7a02336000856040518463ffffffff1660e01b81526004016125c7939291906141b1565b6020604051808303816000875af11580156125e6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061260a9190614210565b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b61266a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161266190614289565b60405180910390fd5b5050565b612679838383610c1d565b60008273ffffffffffffffffffffffffffffffffffffffff163b1480612762575063150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168273ffffffffffffffffffffffffffffffffffffffff1663150b7a023386856040518463ffffffff1660e01b81526004016126fe939291906141b1565b6020604051808303816000875af115801561271d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127419190614210565b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b6127a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161279890614289565b60405180910390fd5b505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612877848484610c1d565b60008373ffffffffffffffffffffffffffffffffffffffff163b1480612962575063150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168373ffffffffffffffffffffffffffffffffffffffff1663150b7a02338786866040518563ffffffff1660e01b81526004016128fe94939291906142a9565b6020604051808303816000875af115801561291d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129419190614210565b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b6129a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161299890614289565b60405180910390fd5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612a17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a0e906140a6565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff166003600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612ab9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ab090614341565b60405180910390fd5b600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154809291906001019190505550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6040518060c00160405280600060ff168152602001600060ff168152602001600060ff168152602001600062ffffff168152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001600073ffffffffffffffffffffffffffffffffffffffff1681525090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612c7381612c3e565b8114612c7e57600080fd5b50565b600081359050612c9081612c6a565b92915050565b600060208284031215612cac57612cab612c34565b5b6000612cba84828501612c81565b91505092915050565b60008115159050919050565b612cd881612cc3565b82525050565b6000602082019050612cf36000830184612ccf565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612d33578082015181840152602081019050612d18565b83811115612d42576000848401525b50505050565b6000601f19601f8301169050919050565b6000612d6482612cf9565b612d6e8185612d04565b9350612d7e818560208601612d15565b612d8781612d48565b840191505092915050565b60006020820190508181036000830152612dac8184612d59565b905092915050565b6000819050919050565b612dc781612db4565b8114612dd257600080fd5b50565b600081359050612de481612dbe565b92915050565b600060208284031215612e0057612dff612c34565b5b6000612e0e84828501612dd5565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612e4282612e17565b9050919050565b612e5281612e37565b82525050565b6000602082019050612e6d6000830184612e49565b92915050565b600060ff82169050919050565b612e8981612e73565b82525050565b600062ffffff82169050919050565b612ea781612e8f565b82525050565b612eb681612e37565b82525050565b60c082016000820151612ed26000850182612e80565b506020820151612ee56020850182612e80565b506040820151612ef86040850182612e80565b506060820151612f0b6060850182612e9e565b506080820151612f1e6080850182612ead565b5060a0820151612f3160a0850182612ead565b50505050565b600060c082019050612f4c6000830184612ebc565b92915050565b612f5b81612e37565b8114612f6657600080fd5b50565b600081359050612f7881612f52565b92915050565b60008060408385031215612f9557612f94612c34565b5b6000612fa385828601612f69565b9250506020612fb485828601612dd5565b9150509250929050565b600080600060608486031215612fd757612fd6612c34565b5b6000612fe586828701612f69565b9350506020612ff686828701612f69565b925050604061300786828701612dd5565b9150509250925092565b61301a81612e73565b811461302557600080fd5b50565b60008135905061303781613011565b92915050565b60006020828403121561305357613052612c34565b5b600061306184828501613028565b91505092915050565b61307381612db4565b82525050565b600060208201905061308e600083018461306a565b92915050565b6000819050919050565b6130a781613094565b82525050565b60006020820190506130c2600083018461309e565b92915050565b600081519050919050565b600082825260208201905092915050565b60006130ef826130c8565b6130f981856130d3565b9350613109818560208601612d15565b61311281612d48565b840191505092915050565b6000602082019050818103600083015261313781846130e4565b905092915050565b600080fd5b600080fd5b600080fd5b60008083601f8401126131645761316361313f565b5b8235905067ffffffffffffffff81111561318157613180613144565b5b60208301915083602082028301111561319d5761319c613149565b5b9250929050565b60008060008060008060a087890312156131c1576131c0612c34565b5b60006131cf89828a01612f69565b96505060206131e089828a01613028565b95505060406131f189828a01613028565b945050606061320289828a01613028565b935050608087013567ffffffffffffffff81111561322357613222612c39565b5b61322f89828a0161314e565b92509250509295509295509295565b60006020828403121561325457613253612c34565b5b600061326284828501612f69565b91505092915050565b61327481612cc3565b811461327f57600080fd5b50565b6000813590506132918161326b565b92915050565b600080604083850312156132ae576132ad612c34565b5b60006132bc85828601612f69565b92505060206132cd85828601613282565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61331482612d48565b810181811067ffffffffffffffff82111715613333576133326132dc565b5b80604052505050565b6000613346612c2a565b9050613352828261330b565b919050565b600067ffffffffffffffff821115613372576133716132dc565b5b61337b82612d48565b9050602081019050919050565b82818337600083830152505050565b60006133aa6133a584613357565b61333c565b9050828152602081018484840111156133c6576133c56132d7565b5b6133d1848285613388565b509392505050565b600082601f8301126133ee576133ed61313f565b5b81356133fe848260208601613397565b91505092915050565b6000806000806080858703121561342157613420612c34565b5b600061342f87828801612f69565b945050602061344087828801612f69565b935050604061345187828801612dd5565b925050606085013567ffffffffffffffff81111561347257613471612c39565b5b61347e878288016133d9565b91505092959194509250565b600080600080608085870312156134a4576134a3612c34565b5b60006134b287828801612f69565b94505060206134c387828801613028565b93505060406134d487828801613028565b92505060606134e587828801613028565b91505092959194509250565b6134fa81612e73565b82525050565b61350981612e8f565b82525050565b600060c08201905061352460008301896134f1565b61353160208301886134f1565b61353e60408301876134f1565b61354b6060830186613500565b6135586080830185612e49565b61356560a0830184612e49565b979650505050505050565b6000806040838503121561358757613586612c34565b5b600061359585828601612f69565b92505060206135a685828601612f69565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806135f757607f821691505b6020821081141561360b5761360a6135b0565b5b50919050565b7f3800000000000000000000000000000000000000000000000000000000000000600082015250565b6000613647600183612d04565b915061365282613611565b602082019050919050565b600060208201905081810360008301526136768161363a565b9050919050565b7f4e4f545f415554484f52495a4544000000000000000000000000000000000000600082015250565b60006136b3600e83612d04565b91506136be8261367d565b602082019050919050565b600060208201905081810360008301526136e2816136a6565b9050919050565b7f3700000000000000000000000000000000000000000000000000000000000000600082015250565b600061371f600183612d04565b915061372a826136e9565b602082019050919050565b6000602082019050818103600083015261374e81613712565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061378b602083612d04565b915061379682613755565b602082019050919050565b600060208201905081810360008301526137ba8161377e565b9050919050565b7f616d6f756e7420746f6f20686967680000000000000000000000000000000000600082015250565b60006137f7600f83612d04565b9150613802826137c1565b602082019050919050565b60006020820190508181036000830152613826816137ea565b9050919050565b61383681612cc3565b82525050565b61384581612db4565b82525050565b61385481612e73565b82525050565b61386381612e8f565b82525050565b61387281612e37565b82525050565b60c08201600082015161388e600085018261384b565b5060208201516138a1602085018261384b565b5060408201516138b4604085018261384b565b5060608201516138c7606085018261385a565b5060808201516138da6080850182613869565b5060a08201516138ed60a0850182613869565b50505050565b600061010082019050613909600083018661382d565b613916602083018561383c565b6139236040830184613878565b949350505050565b600061393e61393984613357565b61333c565b90508281526020810184848401111561395a576139596132d7565b5b613965848285612d15565b509392505050565b600082601f8301126139825761398161313f565b5b815161399284826020860161392b565b91505092915050565b6000602082840312156139b1576139b0612c34565b5b600082015167ffffffffffffffff8111156139cf576139ce612c39565b5b6139db8482850161396d565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613a1e82612db4565b9150613a2983612db4565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613a5e57613a5d6139e4565b5b828201905092915050565b6000613a7482612db4565b9150613a7f83612db4565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613ab857613ab76139e4565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613afd82612db4565b9150613b0883612db4565b925082613b1857613b17613ac3565b5b828204905092915050565b7f3100000000000000000000000000000000000000000000000000000000000000600082015250565b6000613b59600183612d04565b9150613b6482613b23565b602082019050919050565b60006020820190508181036000830152613b8881613b4c565b9050919050565b7f3400000000000000000000000000000000000000000000000000000000000000600082015250565b6000613bc5600183612d04565b9150613bd082613b8f565b602082019050919050565b60006020820190508181036000830152613bf481613bb8565b9050919050565b7f3500000000000000000000000000000000000000000000000000000000000000600082015250565b6000613c31600183612d04565b9150613c3c82613bfb565b602082019050919050565b60006020820190508181036000830152613c6081613c24565b9050919050565b60008160601b9050919050565b6000613c7f82613c67565b9050919050565b6000613c9182613c74565b9050919050565b613ca9613ca482612e37565b613c86565b82525050565b6000613cbb8284613c98565b60148201915081905092915050565b7f3600000000000000000000000000000000000000000000000000000000000000600082015250565b6000613d00600183612d04565b9150613d0b82613cca565b602082019050919050565b60006020820190508181036000830152613d2f81613cf3565b9050919050565b6000613d4182612e8f565b915062ffffff821415613d5757613d566139e4565b5b600182019050919050565b7f3200000000000000000000000000000000000000000000000000000000000000600082015250565b6000613d98600183612d04565b9150613da382613d62565b602082019050919050565b60006020820190508181036000830152613dc781613d8b565b9050919050565b7f3300000000000000000000000000000000000000000000000000000000000000600082015250565b6000613e04600183612d04565b9150613e0f82613dce565b602082019050919050565b60006020820190508181036000830152613e3381613df7565b9050919050565b613e4381612e37565b82525050565b6000604082019050613e5e600083018561383c565b613e6b6020830184613e3a565b9392505050565b600067ffffffffffffffff821115613e8d57613e8c6132dc565b5b613e9682612d48565b9050602081019050919050565b6000613eb6613eb184613e72565b61333c565b905082815260208101848484011115613ed257613ed16132d7565b5b613edd848285612d15565b509392505050565b600082601f830112613efa57613ef961313f565b5b8151613f0a848260208601613ea3565b91505092915050565b600060208284031215613f2957613f28612c34565b5b600082015167ffffffffffffffff811115613f4757613f46612c39565b5b613f5384828501613ee5565b91505092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613fb8602683612d04565b9150613fc382613f5c565b604082019050919050565b60006020820190508181036000830152613fe781613fab565b9050919050565b7f57524f4e475f46524f4d00000000000000000000000000000000000000000000600082015250565b6000614024600a83612d04565b915061402f82613fee565b602082019050919050565b6000602082019050818103600083015261405381614017565b9050919050565b7f494e56414c49445f524543495049454e54000000000000000000000000000000600082015250565b6000614090601183612d04565b915061409b8261405a565b602082019050919050565b600060208201905081810360008301526140bf81614083565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000819050919050565b61411061410b82613094565b6140f5565b82525050565b600061412282856140ff565b60208201915061413282846140ff565b6020820191508190509392505050565b600061414d82612db4565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156141805761417f6139e4565b5b600182019050919050565b50565b600061419b6000836130d3565b91506141a68261418b565b600082019050919050565b60006080820190506141c66000830186612e49565b6141d36020830185612e49565b6141e0604083018461306a565b81810360608301526141f18161418e565b9050949350505050565b60008151905061420a81612c6a565b92915050565b60006020828403121561422657614225612c34565b5b6000614234848285016141fb565b91505092915050565b7f554e534146455f524543495049454e5400000000000000000000000000000000600082015250565b6000614273601083612d04565b915061427e8261423d565b602082019050919050565b600060208201905081810360008301526142a281614266565b9050919050565b60006080820190506142be6000830187612e49565b6142cb6020830186612e49565b6142d8604083018561306a565b81810360608301526142ea81846130e4565b905095945050505050565b7f414c52454144595f4d494e544544000000000000000000000000000000000000600082015250565b600061432b600e83612d04565b9150614336826142f5565b602082019050919050565b6000602082019050818103600083015261435a8161431e565b905091905056fea26469706673582212203343e24dbab876a9955dd4a4afd5b90e65ac04693b4ce9203c72e33b783ea72c64736f6c634300080a0033000000000000000000000000bc3ed6b537f2980e66f396fe14210a56ba3f72c4000000000000000000000000000000000000000000000000000000006208d6a000000000000000000000000000000000000000000000000000000000620b958451a631c44934c4d34c8d4555b3cc0a535dc35aef263b096bcdf320b0b454118e

Deployed Bytecode

0x6080604052600436106101b75760003560e01c8063715018a6116100ec578063c75986ee1161008a578063cf103ea811610064578063cf103ea814610650578063d9bbdc0e1461068d578063e985e9c5146106cf578063f2fde38b1461070c576101b7565b8063c75986ee146105b8578063c87b56dd146105e8578063cc6ac2f514610625576101b7565b8063a0e389de116100c6578063a0e389de146104fe578063a22cb46514610529578063a5d6b60614610552578063b88d4fde1461058f576101b7565b8063715018a6146104915780638da5cb5b146104a857806395d89b41146104d3576101b7565b80632eb4a7ab116101595780633effe885116101335780633effe885146103be57806342842e0e146103ee5780636352211e1461041757806370a0823114610454576101b7565b80632eb4a7ab1461032d5780633959327c146103585780633e6d155014610381576101b7565b806309291e611161019557806309291e6114610261578063095ea7b31461029e57806323b872dd146102c75780632c93f0d4146102f0576101b7565b806301ffc9a7146101bc57806306fdde03146101f9578063081812fc14610224575b600080fd5b3480156101c857600080fd5b506101e360048036038101906101de9190612c96565b610735565b6040516101f09190612cde565b60405180910390f35b34801561020557600080fd5b5061020e6107c7565b60405161021b9190612d92565b60405180910390f35b34801561023057600080fd5b5061024b60048036038101906102469190612dea565b610855565b6040516102589190612e58565b60405180910390f35b34801561026d57600080fd5b5061028860048036038101906102839190612dea565b610888565b6040516102959190612f37565b60405180910390f35b3480156102aa57600080fd5b506102c560048036038101906102c09190612f7e565b610a34565b005b3480156102d357600080fd5b506102ee60048036038101906102e99190612fbe565b610c1d565b005b3480156102fc57600080fd5b506103176004803603810190610312919061303d565b610c38565b6040516103249190613079565b60405180910390f35b34801561033957600080fd5b50610342610cf4565b60405161034f91906130ad565b60405180910390f35b34801561036457600080fd5b5061037f600480360381019061037a9190612f7e565b610d18565b005b34801561038d57600080fd5b506103a860048036038101906103a39190612dea565b610e22565b6040516103b5919061311d565b60405180910390f35b6103d860048036038101906103d391906131a4565b611245565b6040516103e59190613079565b60405180910390f35b3480156103fa57600080fd5b5061041560048036038101906104109190612fbe565b611636565b005b34801561042357600080fd5b5061043e60048036038101906104399190612dea565b611651565b60405161044b9190612e58565b60405180910390f35b34801561046057600080fd5b5061047b6004803603810190610476919061323e565b611684565b6040516104889190613079565b60405180910390f35b34801561049d57600080fd5b506104a661169c565b005b3480156104b457600080fd5b506104bd611724565b6040516104ca9190612e58565b60405180910390f35b3480156104df57600080fd5b506104e861174e565b6040516104f59190612d92565b60405180910390f35b34801561050a57600080fd5b506105136117dc565b6040516105209190613079565b60405180910390f35b34801561053557600080fd5b50610550600480360381019061054b9190613297565b611800565b005b34801561055e57600080fd5b506105796004803603810190610574919061323e565b6118fd565b6040516105869190612cde565b60405180910390f35b34801561059b57600080fd5b506105b660048036038101906105b19190613407565b61191d565b005b6105d260048036038101906105cd919061348a565b61193a565b6040516105df9190613079565b60405180910390f35b3480156105f457600080fd5b5061060f600480360381019061060a9190612dea565b611bb7565b60405161061c9190612d92565b60405180910390f35b34801561063157600080fd5b5061063a611c98565b6040516106479190613079565b60405180910390f35b34801561065c57600080fd5b5061067760048036038101906106729190612dea565b611cbc565b6040516106849190613079565b60405180910390f35b34801561069957600080fd5b506106b460048036038101906106af9190612dea565b611cd4565b6040516106c69695949392919061350f565b60405180910390f35b3480156106db57600080fd5b506106f660048036038101906106f19190613570565b611d86565b6040516107039190612cde565b60405180910390f35b34801561071857600080fd5b50610733600480360381019061072e919061323e565b611db5565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061079057506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806107c05750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b600080546107d4906135df565b80601f0160208091040260200160405190810160405280929190818152602001828054610800906135df565b801561084d5780601f106108225761010080835404028352916020019161084d565b820191906000526020600020905b81548152906001019060200180831161083057829003601f168201915b505050505081565b60046020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610890612bba565b600a60009054906101000a900462ffffff1662ffffff168211156108e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108e09061365d565b60405180910390fd5b600760008381526020019081526020016000206040518060c00160405290816000820160009054906101000a900460ff1660ff1660ff1681526020016000820160019054906101000a900460ff1660ff1660ff1681526020016000820160029054906101000a900460ff1660ff1660ff1681526020016000820160039054906101000a900462ffffff1662ffffff1662ffffff1681526020016000820160069054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016001820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815250509050919050565b60006003600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610b2c5750600560008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b610b6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b62906136c9565b60405180910390fd5b826004600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b610c28838383611ead565b610c33838383612079565b505050565b6000808260ff16118015610c4f575060188260ff16105b610c8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c8590613735565b60405180910390fd5b600b8260ff1610610cda5760128260ff1610610ccc5760178260ff1610610cbd57670de0b6b3a7640000610cc7565b67016345785d8a00005b610cd5565b66470de4df8200005b610ce3565b662386f26fc100005b67ffffffffffffffff169050919050565b7f51a631c44934c4d34c8d4555b3cc0a535dc35aef263b096bcdf320b0b454118e81565b610d20612479565b73ffffffffffffffffffffffffffffffffffffffff16610d3e611724565b73ffffffffffffffffffffffffffffffffffffffff1614610d94576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d8b906137a1565b60405180910390fd5b47811115610dd7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dce9061380d565b60405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610e1d573d6000803e3d6000fd5b505050565b6060600a60009054906101000a900462ffffff1662ffffff16821115610e7d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e749061365d565b60405180910390fd5b6000600860008481526020019081526020016000205490506000811115611071576000600760008381526020019081526020016000206040518060c00160405290816000820160009054906101000a900460ff1660ff1660ff1681526020016000820160019054906101000a900460ff1660ff1660ff1681526020016000820160029054906101000a900460ff1660ff1660ff1681526020016000820160039054906101000a900462ffffff1662ffffff1662ffffff1681526020016000820160069054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016001820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152505090507356bfba24ae68da358db3de7b47ff7a4a56ccd21f63ba993cc9600184846040518463ffffffff1660e01b8152600401611022939291906138f3565b600060405180830381865af415801561103f573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190611068919061399b565b92505050611240565b6000600760008581526020019081526020016000206040518060c00160405290816000820160009054906101000a900460ff1660ff1660ff1681526020016000820160019054906101000a900460ff1660ff1660ff1681526020016000820160029054906101000a900460ff1660ff1660ff1681526020016000820160039054906101000a900462ffffff1662ffffff1662ffffff1681526020016000820160069054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016001820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152505090507356bfba24ae68da358db3de7b47ff7a4a56ccd21f63ba993cc9600086846040518463ffffffff1660e01b81526004016111f5939291906138f3565b600060405180830381865af4158015611212573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f8201168201806040525081019061123b919061399b565b925050505b919050565b6000346064603261125587610c38565b61125e89610c38565b6112678b610c38565b6112719190613a13565b61127b9190613a13565b6112859190613a69565b61128f9190613af2565b11156112d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112c790613b6f565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000006208d6a04210611332576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161132990613bdb565b60405180910390fd5b600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16156113bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113b690613c47565b60405180910390fd5b6000336040516020016113d29190613caf565b604051602081830303815290604052805190602001209050611456848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050507f51a631c44934c4d34c8d4555b3cc0a535dc35aef263b096bcdf320b0b454118e83612481565b611495576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148c90613d16565b60405180910390fd5b6001600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550600a600081819054906101000a900462ffffff1661150a90613d36565b91906101000a81548162ffffff021916908362ffffff160217905562ffffff1691506000600760008481526020019081526020016000209050338160010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550888160000160066101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550878160000160006101000a81548160ff021916908360ff160217905550868160000160016101000a81548160ff021916908360ff160217905550858160000160026101000a81548160ff021916908360ff16021790555061162a8984612537565b50509695505050505050565b611641838383611ead565b61164c83838361266e565b505050565b60036020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60026020528060005260406000206000915090505481565b6116a4612479565b73ffffffffffffffffffffffffffffffffffffffff166116c2611724565b73ffffffffffffffffffffffffffffffffffffffff1614611718576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161170f906137a1565b60405180910390fd5b61172260006127a6565b565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6001805461175b906135df565b80601f0160208091040260200160405190810160405280929190818152602001828054611787906135df565b80156117d45780601f106117a9576101008083540402835291602001916117d4565b820191906000526020600020905b8154815290600101906020018083116117b757829003601f168201915b505050505081565b7f000000000000000000000000000000000000000000000000000000006208d6a081565b80600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516118f19190612cde565b60405180910390a35050565b60096020528060005260406000206000915054906101000a900460ff1681565b611928848484611ead565b6119348484848461286c565b50505050565b60003461194683610c38565b61194f85610c38565b61195887610c38565b6119629190613a13565b61196c9190613a13565b11156119ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119a490613b6f565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000006208d6a04211611a0f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a0690613dae565b60405180910390fd5b7f00000000000000000000000000000000000000000000000000000000620b95844210611a71576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a6890613e1a565b60405180910390fd5b600a600081819054906101000a900462ffffff16611a8e90613d36565b91906101000a81548162ffffff021916908362ffffff160217905562ffffff1690506000600760008381526020019081526020016000209050338160010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550858160000160066101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550848160000160006101000a81548160ff021916908360ff160217905550838160000160016101000a81548160ff021916908360ff160217905550828160000160026101000a81548160ff021916908360ff160217905550611bae8683612537565b50949350505050565b6060600a60009054906101000a900462ffffff1662ffffff16821115611c12576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c099061365d565b60405180910390fd5b7356bfba24ae68da358db3de7b47ff7a4a56ccd21f638c4c1b2f83306040518363ffffffff1660e01b8152600401611c4b929190613e49565b600060405180830381865af4158015611c68573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190611c919190613f13565b9050919050565b7f00000000000000000000000000000000000000000000000000000000620b958481565b60086020528060005260406000206000915090505481565b60076020528060005260406000206000915090508060000160009054906101000a900460ff16908060000160019054906101000a900460ff16908060000160029054906101000a900460ff16908060000160039054906101000a900462ffffff16908060000160069054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905086565b60056020528160005260406000206020528060005260406000206000915091509054906101000a900460ff1681565b611dbd612479565b73ffffffffffffffffffffffffffffffffffffffff16611ddb611724565b73ffffffffffffffffffffffffffffffffffffffff1614611e31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e28906137a1565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611ea1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e9890613fce565b60405180910390fd5b611eaa816127a6565b50565b600060076000838152602001908152602001600020905060008160000160039054906101000a900462ffffff1662ffffff16148015611eff575060006008600084815260200190815260200160002054145b15612073578060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611feb576000600a600081819054906101000a900462ffffff16611f7b90613d36565b91906101000a81548162ffffff021916908362ffffff16021790559050611fa7858262ffffff166129a7565b808260000160036101000a81548162ffffff021916908362ffffff16021790555082600860008362ffffff1681526020019081526020016000208190555050612072565b838160010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550828160000160066101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b5b50505050565b6003600082815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461211a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121119061403a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561218a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612181906140a6565b60405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16148061222257506004600082815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b806122b35750600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b6122f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122e9906136c9565b60405180910390fd5b600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815480929190600190039190505550600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154809291906001019190505550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506004600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600033905090565b60008082905060005b85518110156125295760008682815181106124a8576124a76140c6565b5b602002602001015190508083116124e95782816040516020016124cc929190614116565b604051602081830303815290604052805190602001209250612515565b80836040516020016124fc929190614116565b6040516020818303038152906040528051906020012092505b50808061252190614142565b91505061248a565b508381149150509392505050565b61254182826129a7565b60008273ffffffffffffffffffffffffffffffffffffffff163b148061262b575063150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168273ffffffffffffffffffffffffffffffffffffffff1663150b7a02336000856040518463ffffffff1660e01b81526004016125c7939291906141b1565b6020604051808303816000875af11580156125e6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061260a9190614210565b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b61266a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161266190614289565b60405180910390fd5b5050565b612679838383610c1d565b60008273ffffffffffffffffffffffffffffffffffffffff163b1480612762575063150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168273ffffffffffffffffffffffffffffffffffffffff1663150b7a023386856040518463ffffffff1660e01b81526004016126fe939291906141b1565b6020604051808303816000875af115801561271d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127419190614210565b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b6127a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161279890614289565b60405180910390fd5b505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612877848484610c1d565b60008373ffffffffffffffffffffffffffffffffffffffff163b1480612962575063150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168373ffffffffffffffffffffffffffffffffffffffff1663150b7a02338786866040518563ffffffff1660e01b81526004016128fe94939291906142a9565b6020604051808303816000875af115801561291d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129419190614210565b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b6129a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161299890614289565b60405180910390fd5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612a17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a0e906140a6565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff166003600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612ab9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ab090614341565b60405180910390fd5b600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154809291906001019190505550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6040518060c00160405280600060ff168152602001600060ff168152602001600060ff168152602001600062ffffff168152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001600073ffffffffffffffffffffffffffffffffffffffff1681525090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612c7381612c3e565b8114612c7e57600080fd5b50565b600081359050612c9081612c6a565b92915050565b600060208284031215612cac57612cab612c34565b5b6000612cba84828501612c81565b91505092915050565b60008115159050919050565b612cd881612cc3565b82525050565b6000602082019050612cf36000830184612ccf565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612d33578082015181840152602081019050612d18565b83811115612d42576000848401525b50505050565b6000601f19601f8301169050919050565b6000612d6482612cf9565b612d6e8185612d04565b9350612d7e818560208601612d15565b612d8781612d48565b840191505092915050565b60006020820190508181036000830152612dac8184612d59565b905092915050565b6000819050919050565b612dc781612db4565b8114612dd257600080fd5b50565b600081359050612de481612dbe565b92915050565b600060208284031215612e0057612dff612c34565b5b6000612e0e84828501612dd5565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612e4282612e17565b9050919050565b612e5281612e37565b82525050565b6000602082019050612e6d6000830184612e49565b92915050565b600060ff82169050919050565b612e8981612e73565b82525050565b600062ffffff82169050919050565b612ea781612e8f565b82525050565b612eb681612e37565b82525050565b60c082016000820151612ed26000850182612e80565b506020820151612ee56020850182612e80565b506040820151612ef86040850182612e80565b506060820151612f0b6060850182612e9e565b506080820151612f1e6080850182612ead565b5060a0820151612f3160a0850182612ead565b50505050565b600060c082019050612f4c6000830184612ebc565b92915050565b612f5b81612e37565b8114612f6657600080fd5b50565b600081359050612f7881612f52565b92915050565b60008060408385031215612f9557612f94612c34565b5b6000612fa385828601612f69565b9250506020612fb485828601612dd5565b9150509250929050565b600080600060608486031215612fd757612fd6612c34565b5b6000612fe586828701612f69565b9350506020612ff686828701612f69565b925050604061300786828701612dd5565b9150509250925092565b61301a81612e73565b811461302557600080fd5b50565b60008135905061303781613011565b92915050565b60006020828403121561305357613052612c34565b5b600061306184828501613028565b91505092915050565b61307381612db4565b82525050565b600060208201905061308e600083018461306a565b92915050565b6000819050919050565b6130a781613094565b82525050565b60006020820190506130c2600083018461309e565b92915050565b600081519050919050565b600082825260208201905092915050565b60006130ef826130c8565b6130f981856130d3565b9350613109818560208601612d15565b61311281612d48565b840191505092915050565b6000602082019050818103600083015261313781846130e4565b905092915050565b600080fd5b600080fd5b600080fd5b60008083601f8401126131645761316361313f565b5b8235905067ffffffffffffffff81111561318157613180613144565b5b60208301915083602082028301111561319d5761319c613149565b5b9250929050565b60008060008060008060a087890312156131c1576131c0612c34565b5b60006131cf89828a01612f69565b96505060206131e089828a01613028565b95505060406131f189828a01613028565b945050606061320289828a01613028565b935050608087013567ffffffffffffffff81111561322357613222612c39565b5b61322f89828a0161314e565b92509250509295509295509295565b60006020828403121561325457613253612c34565b5b600061326284828501612f69565b91505092915050565b61327481612cc3565b811461327f57600080fd5b50565b6000813590506132918161326b565b92915050565b600080604083850312156132ae576132ad612c34565b5b60006132bc85828601612f69565b92505060206132cd85828601613282565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61331482612d48565b810181811067ffffffffffffffff82111715613333576133326132dc565b5b80604052505050565b6000613346612c2a565b9050613352828261330b565b919050565b600067ffffffffffffffff821115613372576133716132dc565b5b61337b82612d48565b9050602081019050919050565b82818337600083830152505050565b60006133aa6133a584613357565b61333c565b9050828152602081018484840111156133c6576133c56132d7565b5b6133d1848285613388565b509392505050565b600082601f8301126133ee576133ed61313f565b5b81356133fe848260208601613397565b91505092915050565b6000806000806080858703121561342157613420612c34565b5b600061342f87828801612f69565b945050602061344087828801612f69565b935050604061345187828801612dd5565b925050606085013567ffffffffffffffff81111561347257613471612c39565b5b61347e878288016133d9565b91505092959194509250565b600080600080608085870312156134a4576134a3612c34565b5b60006134b287828801612f69565b94505060206134c387828801613028565b93505060406134d487828801613028565b92505060606134e587828801613028565b91505092959194509250565b6134fa81612e73565b82525050565b61350981612e8f565b82525050565b600060c08201905061352460008301896134f1565b61353160208301886134f1565b61353e60408301876134f1565b61354b6060830186613500565b6135586080830185612e49565b61356560a0830184612e49565b979650505050505050565b6000806040838503121561358757613586612c34565b5b600061359585828601612f69565b92505060206135a685828601612f69565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806135f757607f821691505b6020821081141561360b5761360a6135b0565b5b50919050565b7f3800000000000000000000000000000000000000000000000000000000000000600082015250565b6000613647600183612d04565b915061365282613611565b602082019050919050565b600060208201905081810360008301526136768161363a565b9050919050565b7f4e4f545f415554484f52495a4544000000000000000000000000000000000000600082015250565b60006136b3600e83612d04565b91506136be8261367d565b602082019050919050565b600060208201905081810360008301526136e2816136a6565b9050919050565b7f3700000000000000000000000000000000000000000000000000000000000000600082015250565b600061371f600183612d04565b915061372a826136e9565b602082019050919050565b6000602082019050818103600083015261374e81613712565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061378b602083612d04565b915061379682613755565b602082019050919050565b600060208201905081810360008301526137ba8161377e565b9050919050565b7f616d6f756e7420746f6f20686967680000000000000000000000000000000000600082015250565b60006137f7600f83612d04565b9150613802826137c1565b602082019050919050565b60006020820190508181036000830152613826816137ea565b9050919050565b61383681612cc3565b82525050565b61384581612db4565b82525050565b61385481612e73565b82525050565b61386381612e8f565b82525050565b61387281612e37565b82525050565b60c08201600082015161388e600085018261384b565b5060208201516138a1602085018261384b565b5060408201516138b4604085018261384b565b5060608201516138c7606085018261385a565b5060808201516138da6080850182613869565b5060a08201516138ed60a0850182613869565b50505050565b600061010082019050613909600083018661382d565b613916602083018561383c565b6139236040830184613878565b949350505050565b600061393e61393984613357565b61333c565b90508281526020810184848401111561395a576139596132d7565b5b613965848285612d15565b509392505050565b600082601f8301126139825761398161313f565b5b815161399284826020860161392b565b91505092915050565b6000602082840312156139b1576139b0612c34565b5b600082015167ffffffffffffffff8111156139cf576139ce612c39565b5b6139db8482850161396d565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613a1e82612db4565b9150613a2983612db4565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613a5e57613a5d6139e4565b5b828201905092915050565b6000613a7482612db4565b9150613a7f83612db4565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613ab857613ab76139e4565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613afd82612db4565b9150613b0883612db4565b925082613b1857613b17613ac3565b5b828204905092915050565b7f3100000000000000000000000000000000000000000000000000000000000000600082015250565b6000613b59600183612d04565b9150613b6482613b23565b602082019050919050565b60006020820190508181036000830152613b8881613b4c565b9050919050565b7f3400000000000000000000000000000000000000000000000000000000000000600082015250565b6000613bc5600183612d04565b9150613bd082613b8f565b602082019050919050565b60006020820190508181036000830152613bf481613bb8565b9050919050565b7f3500000000000000000000000000000000000000000000000000000000000000600082015250565b6000613c31600183612d04565b9150613c3c82613bfb565b602082019050919050565b60006020820190508181036000830152613c6081613c24565b9050919050565b60008160601b9050919050565b6000613c7f82613c67565b9050919050565b6000613c9182613c74565b9050919050565b613ca9613ca482612e37565b613c86565b82525050565b6000613cbb8284613c98565b60148201915081905092915050565b7f3600000000000000000000000000000000000000000000000000000000000000600082015250565b6000613d00600183612d04565b9150613d0b82613cca565b602082019050919050565b60006020820190508181036000830152613d2f81613cf3565b9050919050565b6000613d4182612e8f565b915062ffffff821415613d5757613d566139e4565b5b600182019050919050565b7f3200000000000000000000000000000000000000000000000000000000000000600082015250565b6000613d98600183612d04565b9150613da382613d62565b602082019050919050565b60006020820190508181036000830152613dc781613d8b565b9050919050565b7f3300000000000000000000000000000000000000000000000000000000000000600082015250565b6000613e04600183612d04565b9150613e0f82613dce565b602082019050919050565b60006020820190508181036000830152613e3381613df7565b9050919050565b613e4381612e37565b82525050565b6000604082019050613e5e600083018561383c565b613e6b6020830184613e3a565b9392505050565b600067ffffffffffffffff821115613e8d57613e8c6132dc565b5b613e9682612d48565b9050602081019050919050565b6000613eb6613eb184613e72565b61333c565b905082815260208101848484011115613ed257613ed16132d7565b5b613edd848285612d15565b509392505050565b600082601f830112613efa57613ef961313f565b5b8151613f0a848260208601613ea3565b91505092915050565b600060208284031215613f2957613f28612c34565b5b600082015167ffffffffffffffff811115613f4757613f46612c39565b5b613f5384828501613ee5565b91505092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613fb8602683612d04565b9150613fc382613f5c565b604082019050919050565b60006020820190508181036000830152613fe781613fab565b9050919050565b7f57524f4e475f46524f4d00000000000000000000000000000000000000000000600082015250565b6000614024600a83612d04565b915061402f82613fee565b602082019050919050565b6000602082019050818103600083015261405381614017565b9050919050565b7f494e56414c49445f524543495049454e54000000000000000000000000000000600082015250565b6000614090601183612d04565b915061409b8261405a565b602082019050919050565b600060208201905081810360008301526140bf81614083565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000819050919050565b61411061410b82613094565b6140f5565b82525050565b600061412282856140ff565b60208201915061413282846140ff565b6020820191508190509392505050565b600061414d82612db4565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156141805761417f6139e4565b5b600182019050919050565b50565b600061419b6000836130d3565b91506141a68261418b565b600082019050919050565b60006080820190506141c66000830186612e49565b6141d36020830185612e49565b6141e0604083018461306a565b81810360608301526141f18161418e565b9050949350505050565b60008151905061420a81612c6a565b92915050565b60006020828403121561422657614225612c34565b5b6000614234848285016141fb565b91505092915050565b7f554e534146455f524543495049454e5400000000000000000000000000000000600082015250565b6000614273601083612d04565b915061427e8261423d565b602082019050919050565b600060208201905081810360008301526142a281614266565b9050919050565b60006080820190506142be6000830187612e49565b6142cb6020830186612e49565b6142d8604083018561306a565b81810360608301526142ea81846130e4565b905095945050505050565b7f414c52454144595f4d494e544544000000000000000000000000000000000000600082015250565b600061432b600e83612d04565b9150614336826142f5565b602082019050919050565b6000602082019050818103600083015261435a8161431e565b905091905056fea26469706673582212203343e24dbab876a9955dd4a4afd5b90e65ac04693b4ce9203c72e33b783ea72c64736f6c634300080a0033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

000000000000000000000000bc3ed6b537f2980e66f396fe14210a56ba3f72c4000000000000000000000000000000000000000000000000000000006208d6a000000000000000000000000000000000000000000000000000000000620b958451a631c44934c4d34c8d4555b3cc0a535dc35aef263b096bcdf320b0b454118e

-----Decoded View---------------
Arg [0] : _owner (address): 0xbc3ed6B537f2980e66f396Fe14210A56ba3f72C4
Arg [1] : _mintStartTimestamp (uint256): 1644746400
Arg [2] : _mintEndTimestamp (uint256): 1644926340
Arg [3] : _merkleRoot (bytes32): 0x51a631c44934c4d34c8d4555b3cc0a535dc35aef263b096bcdf320b0b454118e

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 000000000000000000000000bc3ed6b537f2980e66f396fe14210a56ba3f72c4
Arg [1] : 000000000000000000000000000000000000000000000000000000006208d6a0
Arg [2] : 00000000000000000000000000000000000000000000000000000000620b9584
Arg [3] : 51a631c44934c4d34c8d4555b3cc0a535dc35aef263b096bcdf320b0b454118e


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.