ETH Price: $3,409.40 (+3.44%)

Contract

0xfAf9DdAe3C238942E5b9A830110079F8dc8c189C
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Transfer From189986212024-01-13 14:39:11314 days ago1705156751IN
0xfAf9DdAe...8dc8c189C
0 ETH0.0012155617.83456724
Set Approval For...170225172023-04-11 4:32:11592 days ago1681187531IN
0xfAf9DdAe...8dc8c189C
0 ETH0.0009731320.86383261
Set Approval For...158919882022-11-03 20:51:23750 days ago1667508683IN
0xfAf9DdAe...8dc8c189C
0 ETH0.0009552220.4798531
Set Approval For...155525092022-09-17 9:48:11798 days ago1663408091IN
0xfAf9DdAe...8dc8c189C
0 ETH0.000285746.12631795
Set Approval For...154828392022-09-06 7:54:24809 days ago1662450864IN
0xfAf9DdAe...8dc8c189C
0 ETH0.000370057.9340121
Set Approval For...153960452022-08-23 10:29:23823 days ago1661250563IN
0xfAf9DdAe...8dc8c189C
0 ETH0.000384618.24619683
Set Approval For...152388932022-07-29 18:05:05847 days ago1659117905IN
0xfAf9DdAe...8dc8c189C
0 ETH0.0005929812.71357757
Transfer From151948812022-07-22 21:25:15854 days ago1658525115IN
0xfAf9DdAe...8dc8c189C
0 ETH0.000553018.73012339
Set Approval For...151388272022-07-14 5:26:54863 days ago1657776414IN
0xfAf9DdAe...8dc8c189C
0 ETH0.0007437215.94538682
Transfer From149372812022-06-10 7:46:48897 days ago1654847208IN
0xfAf9DdAe...8dc8c189C
0 ETH0.002304633.8126318
Transfer From147929152022-05-17 13:59:11920 days ago1652795951IN
0xfAf9DdAe...8dc8c189C
0 ETH0.0019710838.61394365
Transfer From147929112022-05-17 13:57:23920 days ago1652795843IN
0xfAf9DdAe...8dc8c189C
0 ETH0.0029280341.26379175
Transfer From147925372022-05-17 12:29:31921 days ago1652790571IN
0xfAf9DdAe...8dc8c189C
0 ETH0.0032335447.44182661
Transfer From147496012022-05-10 16:28:02927 days ago1652200082IN
0xfAf9DdAe...8dc8c189C
0 ETH0.005055356.81332362
Set Approval For...146142602022-04-19 7:38:11949 days ago1650353891IN
0xfAf9DdAe...8dc8c189C
0 ETH0.0009272319.84419298
Transfer From146095122022-04-18 13:42:56949 days ago1650289376IN
0xfAf9DdAe...8dc8c189C
0 ETH0.0021372924.01969678
Set Approval For...145740732022-04-13 0:45:54955 days ago1649810754IN
0xfAf9DdAe...8dc8c189C
0 ETH0.0033335471.3423483
Set Approval For...145464932022-04-08 17:30:06959 days ago1649439006IN
0xfAf9DdAe...8dc8c189C
0 ETH0.0028984262.03018078
Set Approval For...145131512022-04-03 12:31:00965 days ago1648989060IN
0xfAf9DdAe...8dc8c189C
0 ETH0.0017702437.88574998
Set Approval For...145006132022-04-01 13:25:25966 days ago1648819525IN
0xfAf9DdAe...8dc8c189C
0 ETH0.0026273956.2297363
Safe Transfer Fr...144997662022-04-01 10:20:24967 days ago1648808424IN
0xfAf9DdAe...8dc8c189C
0 ETH0.0026685537
Set Approval For...144590732022-03-26 2:08:22973 days ago1648260502IN
0xfAf9DdAe...8dc8c189C
0 ETH0.0026752757.2544286
Transfer From144543692022-03-25 8:29:37974 days ago1648196977IN
0xfAf9DdAe...8dc8c189C
0 ETH0.0127218529.12886178
Transfer From144543202022-03-25 8:19:17974 days ago1648196357IN
0xfAf9DdAe...8dc8c189C
0 ETH0.0050545730.5626348
Safe Transfer Fr...144416722022-03-23 9:13:55976 days ago1648026835IN
0xfAf9DdAe...8dc8c189C
0 ETH0.0022870217.76878284
View all transactions

Latest 1 internal transaction

Advanced mode:
Parent Transaction Hash Block From To
143843452022-03-14 11:04:55985 days ago1647255895
0xfAf9DdAe...8dc8c189C
15.29 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
ACatEvolved

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 12 : ACatEvolved.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

import "erc721a/contracts/ERC721A.sol";
import "@openzeppelin/contracts/access/Ownable.sol";


contract ACatEvolved is ERC721A, Ownable {
    using Strings for uint256;

    string private baseURI;
    string private notRevealedURI;

    string public baseExtension = ".json";
    bool public revealed = false;

    uint256 constant price = 0.16 ether; 
    uint256 constant whitelistPrice = 0.09 ether;

    uint256 public maxSupply = 6666;
    uint256 public maxPreMintSupply = 1998;

    uint256 public maxMintAmount = 9;
    uint256 public maxPreMintAmount = 3;
    uint256 public maxPartnerMintAmount = 15;

    //Paused
    bool public mintPaused = true;
    bool public preMintPaused = true;

    address[] public whitelistedAddresses;
    address[] public partnerAddresses;

    constructor() ERC721A("A Cat Evolved", "ACE") {}

    /*
        MINT FUNCTION
     */
    function mint(uint256 mintAmount) public payable {
        uint256 supply = totalSupply();

        require(!mintPaused, "Mint ACE is paused");
        require(mintAmount > 0, "need to mint at least 1 ACE");
        require(mintAmount <= maxMintAmount, "Maximun mint amount per session exceeded");
        require(supply + mintAmount <= maxSupply, "Maximun NFT limit exceeded");
        require(msg.value >= price * mintAmount, "insufficient funds");

        require(numberMinted(msg.sender) + mintAmount <= maxMintAmount, "Maximun mint NFT per address exceeded");

        _safeMint(msg.sender, mintAmount);
    }

    function preMint(uint256 mintAmount) public payable {
        uint256 supply = totalSupply();

        require(!preMintPaused, "Pre mint ACE is paused");
        require(mintAmount > 0, "need to mint at least 1 ACE");
        require(mintAmount <= maxPreMintAmount, "Maximun mint amount per session exceeded");
        
        require(supply + mintAmount <= maxPreMintSupply, "Pre mint sold out");
        require(isWhitelisted(msg.sender), "buyer not in whitelist");
        require(msg.value >= whitelistPrice * mintAmount, "insufficient funds");

        require(numberMinted(msg.sender) + mintAmount <= maxPreMintAmount, "Maximun mint NFT per address exceeded");

        _safeMint(msg.sender, mintAmount);
    }

    function partnerMint(uint256 mintAmount) public payable {
        uint256 supply = totalSupply();

        require(mintAmount > 0, "need to mint at least 1 ACE");
        require(mintAmount <= maxPartnerMintAmount, "Maximun mint amount per session exceeded");
        require(supply + mintAmount <= maxSupply, "Maximun ACE limit exceeded");
        require(isPartner(msg.sender), "You are not our partner");

        require(numberMinted(msg.sender) + mintAmount <= maxPartnerMintAmount, "Maximun mint NFT per address exceeded");
 
        _safeMint(msg.sender, mintAmount);
    }

    function mintForOwner(uint256 mintAmount) external onlyOwner {
        uint256 supply = totalSupply();

        require(mintAmount > 0, "need to mint at least 1 ACE");
        require(supply + mintAmount <= maxSupply, "max ACE limit exceeded");

        _safeMint(msg.sender, mintAmount);
    }

    function giveawayMint(address to, uint256 mintAmount) external onlyOwner {
        uint256 supply = totalSupply();
        
        require(mintAmount > 0, "need to mint at least 1 ACE");
        require(supply + mintAmount <= maxSupply, "max ACE limit exceeded");

        _safeMint(to, mintAmount);
    }

    /*
        PUBLIC FUNCTION
     */
    function numberMinted(address owner) public view returns (uint256) {
      return _numberMinted(owner);
    }

    function checkCostAmount(uint256 mintAmount) external view returns (uint256){
      if(mintPaused){
          return whitelistPrice * mintAmount;
      }
      else{
          return price * mintAmount;
      }
    }

    function isMintActive() public view returns (bool) {
        if(mintPaused)
            return false;
        else
            return true;
    }  
    
    function isPreMintActive() public view returns (bool) {
        if(preMintPaused)
            return false;
        else
            return true;
    }

    function isSoldOut() external view returns (bool) {
        uint256 supply = totalSupply();

        if(!isPreMintActive() && !isMintActive()){
            return false;
        }
        if(isPreMintActive()){
            if(supply >= maxPreMintSupply)
                return true;
            else
                return false;
        }
        else {
            if(supply >= maxSupply)
                return true;
            else
                return false;
        }
    }

    //metadata routing
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory){
        require(_exists(tokenId),"ERC721Metadata: URI query for nonexistent token");

        if (revealed == false) {
            return notRevealedURI;
        }

        string memory currentBaseURI = _baseURI();
        return
            bytes(currentBaseURI).length > 0
                ? string(abi.encodePacked(currentBaseURI,tokenId.toString(),baseExtension))
                : "";
    }

    function isWhitelisted(address _user) internal view returns (bool) {
        for (uint i = 0; i < whitelistedAddresses.length; i++) {
            if (whitelistedAddresses[i] == _user) {
                return true;
            }
        }
        return false;
    }

    function CheckSenderIsWhitelisted() external view returns (bool) {
        for (uint i = 0; i < whitelistedAddresses.length; i++) {
            if (whitelistedAddresses[i] == msg.sender) {
                return true;
            }
        }
        return false;
    }

    function isPartner(address _user) internal view returns (bool) {
        for (uint i = 0; i < partnerAddresses.length; i++) {
            if (partnerAddresses[i] == _user) {
                return true;
            }
        }
        return false;
    }

    function CheckSenderIsPartner() external view returns (bool) {
        for (uint i = 0; i < partnerAddresses.length; i++) {
            if (partnerAddresses[i] == msg.sender) {
                return true;
            }
        }
        return false;
    }
    
    function walletOfOwner(address _owner) public view returns (uint256[] memory)
    {
        uint256 ownerTokenCount = balanceOf(_owner);
        uint256[] memory tokenIds = new uint256[](ownerTokenCount);
        for (uint256 i; i < ownerTokenCount; i++) {
        tokenIds[i] = tokenOfOwnerByIndex(_owner, i);
        }
        return tokenIds;
    }

    function _baseURI() internal view virtual override returns (string memory) {
        return baseURI;
    }

    function setReveal() public onlyOwner {
        revealed = true;
    }
    
    function startPublicMint(bool status) public onlyOwner {
        mintPaused = !status;
        preMintPaused = status;
    }

    function stopMint() public onlyOwner {
        mintPaused = true;
        preMintPaused = true;
    }

    function addPartnerAddresses(address[] calldata users) public onlyOwner {
        delete partnerAddresses; //Clean 
        partnerAddresses = users;
    }

    function addWhitelistAddress(address[] calldata users) public onlyOwner {
        delete whitelistedAddresses; //Clean 
        whitelistedAddresses = users;
    }

    function withdraw() public payable onlyOwner {
        (bool success, ) = payable(owner()).call{value: address(this).balance}("");

        require(success, "Failed to send ether");
    }

    function updateMaxSupply(uint256 _value) public onlyOwner {
        maxSupply = _value;
    }

    function updateMaxPreMintSupply(uint256 _value) public onlyOwner {
        maxPreMintSupply = _value;
    }
    
    function updateMaxPreMintAmount(uint256 _value) public onlyOwner {
        maxPreMintAmount = _value;
    }

     function updateMaxMintAmount(uint256 _value) public onlyOwner {
        maxMintAmount = _value;
    }

    function updateBaseURI(string memory _value) public onlyOwner {
        baseURI = _value;
    }

    function updateNotRevealedURI(string memory _value) public onlyOwner {
        notRevealedURI = _value;
    }
}

File 2 of 12 : ERC721A.sol
// SPDX-License-Identifier: MIT
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import '@openzeppelin/contracts/token/ERC721/IERC721.sol';
import '@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol';
import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol';
import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol';
import '@openzeppelin/contracts/utils/Address.sol';
import '@openzeppelin/contracts/utils/Context.sol';
import '@openzeppelin/contracts/utils/Strings.sol';
import '@openzeppelin/contracts/utils/introspection/ERC165.sol';

error ApprovalCallerNotOwnerNorApproved();
error ApprovalQueryForNonexistentToken();
error ApproveToCaller();
error ApprovalToCurrentOwner();
error BalanceQueryForZeroAddress();
error MintedQueryForZeroAddress();
error BurnedQueryForZeroAddress();
error MintToZeroAddress();
error MintZeroQuantity();
error OwnerIndexOutOfBounds();
error OwnerQueryForNonexistentToken();
error TokenIndexOutOfBounds();
error TransferCallerNotOwnerNorApproved();
error TransferFromIncorrectOwner();
error TransferToNonERC721ReceiverImplementer();
error TransferToZeroAddress();
error URIQueryForNonexistentToken();

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata and Enumerable extension. Built to optimize for lower gas during batch mints.
 *
 * Assumes serials are sequentially minted starting at 0 (e.g. 0, 1, 2, 3..).
 *
 * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply.
 *
 * Assumes that the maximum token id cannot exceed 2**128 - 1 (max value of uint128).
 */
contract ERC721A is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable {
    using Address for address;
    using Strings for uint256;

    // Compiler will pack this into a single 256bit word.
    struct TokenOwnership {
        // The address of the owner.
        address addr;
        // Keeps track of the start time of ownership with minimal overhead for tokenomics.
        uint64 startTimestamp;
        // Whether the token has been burned.
        bool burned;
    }

    // Compiler will pack this into a single 256bit word.
    struct AddressData {
        // Realistically, 2**64-1 is more than enough.
        uint64 balance;
        // Keeps track of mint count with minimal overhead for tokenomics.
        uint64 numberMinted;
        // Keeps track of burn count with minimal overhead for tokenomics.
        uint64 numberBurned;
    }

    // Compiler will pack the following 
    // _currentIndex and _burnCounter into a single 256bit word.
    
    // The tokenId of the next token to be minted.
    uint128 internal _currentIndex;

    // The number of tokens burned.
    uint128 internal _burnCounter;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to ownership details
    // An empty struct value does not necessarily mean the token is unowned. See ownershipOf implementation for details.
    mapping(uint256 => TokenOwnership) internal _ownerships;

    // Mapping owner address to address data
    mapping(address => AddressData) private _addressData;

    // Mapping from token ID to approved address
    mapping(uint256 => address) private _tokenApprovals;

    // Mapping from owner to operator approvals
    mapping(address => mapping(address => bool)) private _operatorApprovals;

    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @dev See {IERC721Enumerable-totalSupply}.
     */
    function totalSupply() public view override returns (uint256) {
        // Counter underflow is impossible as _burnCounter cannot be incremented
        // more than _currentIndex times
        unchecked {
            return _currentIndex - _burnCounter;    
        }
    }

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     * This read function is O(totalSupply). If calling from a separate contract, be sure to test gas first.
     * It may also degrade with extremely large collection sizes (e.g >> 10000), test for your use case.
     */
    function tokenByIndex(uint256 index) public view override returns (uint256) {
        uint256 numMintedSoFar = _currentIndex;
        uint256 tokenIdsIdx;

        // Counter overflow is impossible as the loop breaks when
        // uint256 i is equal to another uint256 numMintedSoFar.
        unchecked {
            for (uint256 i; i < numMintedSoFar; i++) {
                TokenOwnership memory ownership = _ownerships[i];
                if (!ownership.burned) {
                    if (tokenIdsIdx == index) {
                        return i;
                    }
                    tokenIdsIdx++;
                }
            }
        }
        revert TokenIndexOutOfBounds();
    }

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     * This read function is O(totalSupply). If calling from a separate contract, be sure to test gas first.
     * It may also degrade with extremely large collection sizes (e.g >> 10000), test for your use case.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view override returns (uint256) {
        if (index >= balanceOf(owner)) revert OwnerIndexOutOfBounds();
        uint256 numMintedSoFar = _currentIndex;
        uint256 tokenIdsIdx;
        address currOwnershipAddr;

        // Counter overflow is impossible as the loop breaks when
        // uint256 i is equal to another uint256 numMintedSoFar.
        unchecked {
            for (uint256 i; i < numMintedSoFar; i++) {
                TokenOwnership memory ownership = _ownerships[i];
                if (ownership.burned) {
                    continue;
                }
                if (ownership.addr != address(0)) {
                    currOwnershipAddr = ownership.addr;
                }
                if (currOwnershipAddr == owner) {
                    if (tokenIdsIdx == index) {
                        return i;
                    }
                    tokenIdsIdx++;
                }
            }
        }

        // Execution should never reach this point.
        revert();
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {
        return
            interfaceId == type(IERC721).interfaceId ||
            interfaceId == type(IERC721Metadata).interfaceId ||
            interfaceId == type(IERC721Enumerable).interfaceId ||
            super.supportsInterface(interfaceId);
    }

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view override returns (uint256) {
        if (owner == address(0)) revert BalanceQueryForZeroAddress();
        return uint256(_addressData[owner].balance);
    }

    function _numberMinted(address owner) internal view returns (uint256) {
        if (owner == address(0)) revert MintedQueryForZeroAddress();
        return uint256(_addressData[owner].numberMinted);
    }

    function _numberBurned(address owner) internal view returns (uint256) {
        if (owner == address(0)) revert BurnedQueryForZeroAddress();
        return uint256(_addressData[owner].numberBurned);
    }

    /**
     * Gas spent here starts off proportional to the maximum mint batch size.
     * It gradually moves to O(1) as tokens get transferred around in the collection over time.
     */
    function ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) {
        uint256 curr = tokenId;

        unchecked {
            if (curr < _currentIndex) {
                TokenOwnership memory ownership = _ownerships[curr];
                if (!ownership.burned) {
                    if (ownership.addr != address(0)) {
                        return ownership;
                    }
                    // Invariant: 
                    // There will always be an ownership that has an address and is not burned 
                    // before an ownership that does not have an address and is not burned.
                    // Hence, curr will not underflow.
                    while (true) {
                        curr--;
                        ownership = _ownerships[curr];
                        if (ownership.addr != address(0)) {
                            return ownership;
                        }
                    }
                }
            }
        }
        revert OwnerQueryForNonexistentToken();
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view override returns (address) {
        return ownershipOf(tokenId).addr;
    }

    /**
     * @dev See {IERC721Metadata-name}.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev See {IERC721Metadata-symbol}.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        if (!_exists(tokenId)) revert URIQueryForNonexistentToken();

        string memory baseURI = _baseURI();
        return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : '';
    }

    /**
     * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each
     * token will be the concatenation of the `baseURI` and the `tokenId`. Empty
     * by default, can be overriden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return '';
    }

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public override {
        address owner = ERC721A.ownerOf(tokenId);
        if (to == owner) revert ApprovalToCurrentOwner();

        if (_msgSender() != owner && !isApprovedForAll(owner, _msgSender())) {
            revert ApprovalCallerNotOwnerNorApproved();
        }

        _approve(to, tokenId, owner);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view override returns (address) {
        if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken();

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public override {
        if (operator == _msgSender()) revert ApproveToCaller();

        _operatorApprovals[_msgSender()][operator] = approved;
        emit ApprovalForAll(_msgSender(), operator, approved);
    }

    /**
     * @dev See {IERC721-isApprovedForAll}.
     */
    function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {
        return _operatorApprovals[owner][operator];
    }

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        _transfer(from, to, tokenId);
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        safeTransferFrom(from, to, tokenId, '');
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public virtual override {
        _transfer(from, to, tokenId);
        if (!_checkOnERC721Received(from, to, tokenId, _data)) {
            revert TransferToNonERC721ReceiverImplementer();
        }
    }

    /**
     * @dev Returns whether `tokenId` exists.
     *
     * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
     *
     * Tokens start existing when they are minted (`_mint`),
     */
    function _exists(uint256 tokenId) internal view returns (bool) {
        return tokenId < _currentIndex && !_ownerships[tokenId].burned;
    }

    function _safeMint(address to, uint256 quantity) internal {
        _safeMint(to, quantity, '');
    }

    /**
     * @dev Safely mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called for each safe transfer.
     * - `quantity` must be greater than 0.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(
        address to,
        uint256 quantity,
        bytes memory _data
    ) internal {
        _mint(to, quantity, _data, true);
    }

    /**
     * @dev Mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `quantity` must be greater than 0.
     *
     * Emits a {Transfer} event.
     */
    function _mint(
        address to,
        uint256 quantity,
        bytes memory _data,
        bool safe
    ) internal {
        uint256 startTokenId = _currentIndex;
        if (to == address(0)) revert MintToZeroAddress();
        if (quantity == 0) revert MintZeroQuantity();

        _beforeTokenTransfers(address(0), to, startTokenId, quantity);

        // Overflows are incredibly unrealistic.
        // balance or numberMinted overflow if current value of either + quantity > 3.4e38 (2**128) - 1
        // updatedIndex overflows if _currentIndex + quantity > 3.4e38 (2**128) - 1
        unchecked {
            _addressData[to].balance += uint64(quantity);
            _addressData[to].numberMinted += uint64(quantity);

            _ownerships[startTokenId].addr = to;
            _ownerships[startTokenId].startTimestamp = uint64(block.timestamp);

            uint256 updatedIndex = startTokenId;

            for (uint256 i; i < quantity; i++) {
                emit Transfer(address(0), to, updatedIndex);
                if (safe && !_checkOnERC721Received(address(0), to, updatedIndex, _data)) {
                    revert TransferToNonERC721ReceiverImplementer();
                }
                updatedIndex++;
            }

            _currentIndex = uint128(updatedIndex);
        }
        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function _transfer(
        address from,
        address to,
        uint256 tokenId
    ) private {
        TokenOwnership memory prevOwnership = ownershipOf(tokenId);

        bool isApprovedOrOwner = (_msgSender() == prevOwnership.addr ||
            isApprovedForAll(prevOwnership.addr, _msgSender()) ||
            getApproved(tokenId) == _msgSender());

        if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        if (prevOwnership.addr != from) revert TransferFromIncorrectOwner();
        if (to == address(0)) revert TransferToZeroAddress();

        _beforeTokenTransfers(from, to, tokenId, 1);

        // Clear approvals from the previous owner
        _approve(address(0), tokenId, prevOwnership.addr);

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as tokenId would have to be 2**128.
        unchecked {
            _addressData[from].balance -= 1;
            _addressData[to].balance += 1;

            _ownerships[tokenId].addr = to;
            _ownerships[tokenId].startTimestamp = uint64(block.timestamp);

            // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it.
            // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
            uint256 nextTokenId = tokenId + 1;
            if (_ownerships[nextTokenId].addr == address(0)) {
                // This will suffice for checking _exists(nextTokenId),
                // as a burned slot cannot contain the zero address.
                if (nextTokenId < _currentIndex) {
                    _ownerships[nextTokenId].addr = prevOwnership.addr;
                    _ownerships[nextTokenId].startTimestamp = prevOwnership.startTimestamp;
                }
            }
        }

        emit Transfer(from, to, tokenId);
        _afterTokenTransfers(from, to, tokenId, 1);
    }

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId) internal virtual {
        TokenOwnership memory prevOwnership = ownershipOf(tokenId);

        _beforeTokenTransfers(prevOwnership.addr, address(0), tokenId, 1);

        // Clear approvals from the previous owner
        _approve(address(0), tokenId, prevOwnership.addr);

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as tokenId would have to be 2**128.
        unchecked {
            _addressData[prevOwnership.addr].balance -= 1;
            _addressData[prevOwnership.addr].numberBurned += 1;

            // Keep track of who burned the token, and the timestamp of burning.
            _ownerships[tokenId].addr = prevOwnership.addr;
            _ownerships[tokenId].startTimestamp = uint64(block.timestamp);
            _ownerships[tokenId].burned = true;

            // If the ownership slot of tokenId+1 is not explicitly set, that means the burn initiator owns it.
            // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
            uint256 nextTokenId = tokenId + 1;
            if (_ownerships[nextTokenId].addr == address(0)) {
                // This will suffice for checking _exists(nextTokenId),
                // as a burned slot cannot contain the zero address.
                if (nextTokenId < _currentIndex) {
                    _ownerships[nextTokenId].addr = prevOwnership.addr;
                    _ownerships[nextTokenId].startTimestamp = prevOwnership.startTimestamp;
                }
            }
        }

        emit Transfer(prevOwnership.addr, address(0), tokenId);
        _afterTokenTransfers(prevOwnership.addr, address(0), tokenId, 1);

        // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times.
        unchecked { 
            _burnCounter++;
        }
    }

    /**
     * @dev Approve `to` to operate on `tokenId`
     *
     * Emits a {Approval} event.
     */
    function _approve(
        address to,
        uint256 tokenId,
        address owner
    ) private {
        _tokenApprovals[tokenId] = to;
        emit Approval(owner, to, tokenId);
    }

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
     * The call is not executed if the target address is not a contract.
     *
     * @param from address representing the previous owner of the given token ID
     * @param to target address that will receive the tokens
     * @param tokenId uint256 ID of the token to be transferred
     * @param _data bytes optional data to send along with the call
     * @return bool whether the call correctly returned the expected magic value
     */
    function _checkOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        if (to.isContract()) {
            try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
                return retval == IERC721Receiver(to).onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert TransferToNonERC721ReceiverImplementer();
                } else {
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

    /**
     * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting.
     * And also called before burning one token.
     *
     * startTokenId - the first token id to be transferred
     * quantity - the amount to be transferred
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, `tokenId` will be burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _beforeTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}

    /**
     * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes
     * minting.
     * And also called after one token has been burned.
     *
     * startTokenId - the first token id to be transferred
     * quantity - the amount to be transferred
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been
     * transferred to `to`.
     * - When `from` is zero, `tokenId` has been minted for `to`.
     * - When `to` is zero, `tokenId` has been burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _afterTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}
}

File 3 of 12 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../utils/Context.sol";

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 4 of 12 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

import "../../utils/introspection/IERC165.sol";

/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721 is IERC165 {
    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
     */
    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
     */
    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

    /**
     * @dev Returns the number of tokens in ``owner``'s account.
     */
    function balanceOf(address owner) external view returns (uint256 balance);

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) external view returns (address owner);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Gives permission to `to` to transfer `tokenId` token to another account.
     * The approval is cleared when the token is transferred.
     *
     * Only a single account can be approved at a time, so approving the zero address clears previous approvals.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function approve(address to, uint256 tokenId) external;

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool _approved) external;

    /**
     * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
     *
     * See {setApprovalForAll}
     */
    function isApprovedForAll(address owner, address operator) external view returns (bool);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes calldata data
    ) external;
}

File 5 of 12 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

/**
 * @title ERC721 token receiver interface
 * @dev Interface for any contract that wants to support safeTransfers
 * from ERC721 asset contracts.
 */
interface IERC721Receiver {
    /**
     * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
     * by `operator` from `from`, this function is called.
     *
     * It must return its Solidity selector to confirm the token transfer.
     * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
     *
     * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

File 6 of 12 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {
    /**
     * @dev Returns the token collection name.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the token collection symbol.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 tokenId) external view returns (string memory);
}

File 7 of 12 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Enumerable is IERC721 {
    /**
     * @dev Returns the total amount of tokens stored by the contract.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns a token ID owned by `owner` at a given `index` of its token list.
     * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256);

    /**
     * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.
     * Use along with {totalSupply} to enumerate all tokens.
     */
    function tokenByIndex(uint256 index) external view returns (uint256);
}

File 8 of 12 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain `call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 9 of 12 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

File 10 of 12 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

        if (value == 0) {
            return "0";
        }
        uint256 temp = value;
        uint256 digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        while (value != 0) {
            digits -= 1;
            buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
            value /= 10;
        }
        return string(buffer);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return "0x00";
        }
        uint256 temp = value;
        uint256 length = 0;
        while (temp != 0) {
            length++;
            temp >>= 8;
        }
        return toHexString(value, length);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = _HEX_SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }
}

File 11 of 12 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
 * for the additional interface id that will be supported. For example:
 *
 * ```solidity
 * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
 *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
 * }
 * ```
 *
 * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

File 12 of 12 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"MintedQueryForZeroAddress","type":"error"},{"inputs":[],"name":"OwnerIndexOutOfBounds","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TokenIndexOutOfBounds","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"CheckSenderIsPartner","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"CheckSenderIsWhitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"users","type":"address[]"}],"name":"addPartnerAddresses","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"users","type":"address[]"}],"name":"addWhitelistAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseExtension","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"mintAmount","type":"uint256"}],"name":"checkCostAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"mintAmount","type":"uint256"}],"name":"giveawayMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isMintActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPreMintActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isSoldOut","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPartnerMintAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPreMintAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPreMintSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"mintAmount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"mintAmount","type":"uint256"}],"name":"mintForOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintPaused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"numberMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"partnerAddresses","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"mintAmount","type":"uint256"}],"name":"partnerMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"mintAmount","type":"uint256"}],"name":"preMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"preMintPaused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setReveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"status","type":"bool"}],"name":"startPublicMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stopMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_value","type":"string"}],"name":"updateBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_value","type":"uint256"}],"name":"updateMaxMintAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_value","type":"uint256"}],"name":"updateMaxPreMintAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_value","type":"uint256"}],"name":"updateMaxPreMintSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_value","type":"uint256"}],"name":"updateMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_value","type":"string"}],"name":"updateNotRevealedURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"whitelistedAddresses","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]

60806040526040518060400160405280600581526020017f2e6a736f6e000000000000000000000000000000000000000000000000000000815250600a90805190602001906200005192919062000260565b506000600b60006101000a81548160ff021916908315150217905550611a0a600c556107ce600d556009600e556003600f55600f6010556001601160006101000a81548160ff0219169083151502179055506001601160016101000a81548160ff021916908315150217905550348015620000cb57600080fd5b506040518060400160405280600d81526020017f41204361742045766f6c766564000000000000000000000000000000000000008152506040518060400160405280600381526020017f414345000000000000000000000000000000000000000000000000000000000081525081600190805190602001906200015092919062000260565b5080600290805190602001906200016992919062000260565b5050506200018c620001806200019260201b60201c565b6200019a60201b60201c565b62000375565b600033905090565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200026e9062000310565b90600052602060002090601f016020900481019282620002925760008555620002de565b82601f10620002ad57805160ff1916838001178555620002de565b82800160010185558215620002de579182015b82811115620002dd578251825591602001919060010190620002c0565b5b509050620002ed9190620002f1565b5090565b5b808211156200030c576000816000905550600101620002f2565b5090565b600060028204905060018216806200032957607f821691505b6020821081141562000340576200033f62000346565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6159ee80620003856000396000f3fe6080604052600436106103505760003560e01c806376645315116101c6578063a22cb465116100f7578063d5abeb0111610095578063e985e9c51161006f578063e985e9c514610c16578063f103b43314610c53578063f2fde38b14610c7c578063f48c846d14610ca557610350565b8063d5abeb0114610b83578063dc33e68114610bae578063e645401714610beb57610350565b8063ba4e5c49116100d1578063ba4e5c4914610ac7578063c668286214610b04578063c87b56dd14610b2f578063d558296514610b6c57610350565b8063a22cb46514610a4a578063b47fbd1714610a73578063b88d4fde14610a9e57610350565b80638ec6f78111610164578063942f0de61161013e578063942f0de61461099d57806395d89b41146109da578063a0712d6814610a05578063a19b8d4614610a2157610350565b80638ec6f7811461092257806392c3f4731461094b578063931688cb1461097457610350565b806382c87328116101a057806382c87328146108965780638a6f9a9e146108b25780638ad433ac146108db5780638da5cb5b146108f757610350565b806376645315146108295780637e4831d3146108405780637f5ab77a1461086b57610350565b8063353f42a9116102a0578063518302271161023e57806363bc312a1161021857806363bc312a1461078157806368abfea9146107aa57806370a08231146107d5578063715018a61461081257610350565b806351830227146106ee5780635b92ac0d146107195780636352211e1461074457610350565b80633eb470501161027a5780633eb470501461062057806342842e0e1461064b578063438b6300146106745780634f6ccce7146106b157610350565b8063353f42a9146105c2578063380a0df2146105ed5780633ccfd60b1461061657610350565b806318160ddd1161030d57806323b872dd116102e757806323b872dd146105085780632b1dd8e5146105315780632da5ea171461055a5780632f745c591461058557610350565b806318160ddd146104895780631e60fb3b146104b4578063239c70ae146104dd57610350565b806301ffc9a714610355578063048266241461039257806306fdde03146103bb578063081812fc146103e6578063095ea7b314610423578063115b79271461044c575b600080fd5b34801561036157600080fd5b5061037c6004803603810190610377919061498f565b610cd0565b6040516103899190614f41565b60405180910390f35b34801561039e57600080fd5b506103b960048036038101906103b491906148e5565b610e1a565b005b3480156103c757600080fd5b506103d0610f44565b6040516103dd9190614f5c565b60405180910390f35b3480156103f257600080fd5b5061040d60048036038101906104089190614a22565b610fd6565b60405161041a9190614eb8565b60405180910390f35b34801561042f57600080fd5b5061044a600480360381019061044591906148e5565b611052565b005b34801561045857600080fd5b50610473600480360381019061046e9190614a22565b61115d565b604051610480919061517e565b60405180910390f35b34801561049557600080fd5b5061049e6111ab565b6040516104ab919061517e565b60405180910390f35b3480156104c057600080fd5b506104db60048036038101906104d69190614966565b611200565b005b3480156104e957600080fd5b506104f26112b4565b6040516104ff919061517e565b60405180910390f35b34801561051457600080fd5b5061052f600480360381019061052a91906147df565b6112ba565b005b34801561053d57600080fd5b5061055860048036038101906105539190614921565b6112ca565b005b34801561056657600080fd5b5061056f61136a565b60405161057c9190614f41565b60405180910390f35b34801561059157600080fd5b506105ac60048036038101906105a791906148e5565b6113e6565b6040516105b9919061517e565b60405180910390f35b3480156105ce57600080fd5b506105d76115ed565b6040516105e49190614f41565b60405180910390f35b3480156105f957600080fd5b50610614600480360381019061060f9190614a22565b6116c0565b005b61061e611746565b005b34801561062c57600080fd5b50610635611878565b604051610642919061517e565b60405180910390f35b34801561065757600080fd5b50610672600480360381019061066d91906147df565b61187e565b005b34801561068057600080fd5b5061069b6004803603810190610696919061477a565b61189e565b6040516106a89190614f1f565b60405180910390f35b3480156106bd57600080fd5b506106d860048036038101906106d39190614a22565b611998565b6040516106e5919061517e565b60405180910390f35b3480156106fa57600080fd5b50610703611b09565b6040516107109190614f41565b60405180910390f35b34801561072557600080fd5b5061072e611b1c565b60405161073b9190614f41565b60405180910390f35b34801561075057600080fd5b5061076b60048036038101906107669190614a22565b611b44565b6040516107789190614eb8565b60405180910390f35b34801561078d57600080fd5b506107a860048036038101906107a39190614a22565b611b5a565b005b3480156107b657600080fd5b506107bf611c83565b6040516107cc9190614f41565b60405180910390f35b3480156107e157600080fd5b506107fc60048036038101906107f7919061477a565b611c96565b604051610809919061517e565b60405180910390f35b34801561081e57600080fd5b50610827611d66565b005b34801561083557600080fd5b5061083e611dee565b005b34801561084c57600080fd5b50610855611e87565b6040516108629190614f41565b60405180910390f35b34801561087757600080fd5b50610880611e9a565b60405161088d9190614f41565b60405180910390f35b6108b060048036038101906108ab9190614a22565b611ec2565b005b3480156108be57600080fd5b506108d960048036038101906108d491906149e1565b612054565b005b6108f560048036038101906108f09190614a22565b6120ea565b005b34801561090357600080fd5b5061090c612322565b6040516109199190614eb8565b60405180910390f35b34801561092e57600080fd5b5061094960048036038101906109449190614a22565b61234c565b005b34801561095757600080fd5b50610972600480360381019061096d9190614a22565b6123d2565b005b34801561098057600080fd5b5061099b600480360381019061099691906149e1565b612458565b005b3480156109a957600080fd5b506109c460048036038101906109bf9190614a22565b6124ee565b6040516109d19190614eb8565b60405180910390f35b3480156109e657600080fd5b506109ef61252d565b6040516109fc9190614f5c565b60405180910390f35b610a1f6004803603810190610a1a9190614a22565b6125bf565b005b348015610a2d57600080fd5b50610a486004803603810190610a439190614921565b6127af565b005b348015610a5657600080fd5b50610a716004803603810190610a6c91906148a9565b61284f565b005b348015610a7f57600080fd5b50610a886129c7565b604051610a95919061517e565b60405180910390f35b348015610aaa57600080fd5b50610ac56004803603810190610ac0919061482e565b6129cd565b005b348015610ad357600080fd5b50610aee6004803603810190610ae99190614a22565b612a20565b604051610afb9190614eb8565b60405180910390f35b348015610b1057600080fd5b50610b19612a5f565b604051610b269190614f5c565b60405180910390f35b348015610b3b57600080fd5b50610b566004803603810190610b519190614a22565b612aed565b604051610b639190614f5c565b60405180910390f35b348015610b7857600080fd5b50610b81612c46565b005b348015610b8f57600080fd5b50610b98612cfa565b604051610ba5919061517e565b60405180910390f35b348015610bba57600080fd5b50610bd56004803603810190610bd0919061477a565b612d00565b604051610be2919061517e565b60405180910390f35b348015610bf757600080fd5b50610c00612d12565b604051610c0d919061517e565b60405180910390f35b348015610c2257600080fd5b50610c3d6004803603810190610c3891906147a3565b612d18565b604051610c4a9190614f41565b60405180910390f35b348015610c5f57600080fd5b50610c7a6004803603810190610c759190614a22565b612dac565b005b348015610c8857600080fd5b50610ca36004803603810190610c9e919061477a565b612e32565b005b348015610cb157600080fd5b50610cba612f2a565b604051610cc79190614f41565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610d9b57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610e0357507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610e135750610e1282612ffd565b5b9050919050565b610e22613067565b73ffffffffffffffffffffffffffffffffffffffff16610e40612322565b73ffffffffffffffffffffffffffffffffffffffff1614610e96576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e8d9061503e565b60405180910390fd5b6000610ea06111ab565b905060008211610ee5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610edc90614f9e565b60405180910390fd5b600c548282610ef491906152bc565b1115610f35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2c90614fbe565b60405180910390fd5b610f3f838361306f565b505050565b606060018054610f5390615487565b80601f0160208091040260200160405190810160405280929190818152602001828054610f7f90615487565b8015610fcc5780601f10610fa157610100808354040283529160200191610fcc565b820191906000526020600020905b815481529060010190602001808311610faf57829003601f168201915b5050505050905090565b6000610fe18261308d565b611017576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061105d82611b44565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156110c5576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166110e4613067565b73ffffffffffffffffffffffffffffffffffffffff161415801561111657506111148161110f613067565b612d18565b155b1561114d576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6111588383836130f5565b505050565b6000601160009054906101000a900460ff161561118f578167013fbe85edc900006111889190615343565b90506111a6565b816702386f26fc1000006111a39190615343565b90505b919050565b60008060109054906101000a90046fffffffffffffffffffffffffffffffff1660008054906101000a90046fffffffffffffffffffffffffffffffff16036fffffffffffffffffffffffffffffffff16905090565b611208613067565b73ffffffffffffffffffffffffffffffffffffffff16611226612322565b73ffffffffffffffffffffffffffffffffffffffff161461127c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112739061503e565b60405180910390fd5b8015601160006101000a81548160ff02191690831515021790555080601160016101000a81548160ff02191690831515021790555050565b600e5481565b6112c58383836131a7565b505050565b6112d2613067565b73ffffffffffffffffffffffffffffffffffffffff166112f0612322565b73ffffffffffffffffffffffffffffffffffffffff1614611346576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133d9061503e565b60405180910390fd5b601260006113549190614450565b818160129190611365929190614471565b505050565b6000806113756111ab565b905061137f611e9a565b158015611391575061138f611b1c565b155b156113a05760009150506113e3565b6113a8611e9a565b156113ca57600d5481106113c05760019150506113e3565b60009150506113e3565b600c5481106113dd5760019150506113e3565b60009150505b90565b60006113f183611c96565b8210611429576040517f0ddac30e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008060009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff16905060008060005b838110156115e1576000600360008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff161515151581525050905080604001511561154057506115d4565b600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461158057806000015192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156115d257868414156115c95781955050505050506115e7565b83806001019450505b505b8080600101915050611463565b50600080fd5b92915050565b600080600090505b6012805490508110156116b7573373ffffffffffffffffffffffffffffffffffffffff1660128281548110611653577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156116a45760019150506116bd565b80806116af906154ea565b9150506115f5565b50600090505b90565b6116c8613067565b73ffffffffffffffffffffffffffffffffffffffff166116e6612322565b73ffffffffffffffffffffffffffffffffffffffff161461173c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117339061503e565b60405180910390fd5b80600e8190555050565b61174e613067565b73ffffffffffffffffffffffffffffffffffffffff1661176c612322565b73ffffffffffffffffffffffffffffffffffffffff16146117c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117b99061503e565b60405180910390fd5b60006117cc612322565b73ffffffffffffffffffffffffffffffffffffffff16476040516117ef90614ea3565b60006040518083038185875af1925050503d806000811461182c576040519150601f19603f3d011682016040523d82523d6000602084013e611831565b606091505b5050905080611875576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161186c9061505e565b60405180910390fd5b50565b600d5481565b611899838383604051806020016040528060008152506129cd565b505050565b606060006118ab83611c96565b905060008167ffffffffffffffff8111156118ef577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60405190808252806020026020018201604052801561191d5781602001602082028036833780820191505090505b50905060005b8281101561198d5761193585826113e6565b82828151811061196e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010181815250508080611985906154ea565b915050611923565b508092505050919050565b60008060008054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1690506000805b82811015611ad1576000600360008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff16151515158152505090508060400151611ac35785831415611aba5781945050505050611b04565b82806001019350505b5080806001019150506119d0565b506040517fa723001c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b600b60009054906101000a900460ff1681565b6000601160009054906101000a900460ff1615611b3c5760009050611b41565b600190505b90565b6000611b4f826136c4565b600001519050919050565b611b62613067565b73ffffffffffffffffffffffffffffffffffffffff16611b80612322565b73ffffffffffffffffffffffffffffffffffffffff1614611bd6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bcd9061503e565b60405180910390fd5b6000611be06111ab565b905060008211611c25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c1c90614f9e565b60405180910390fd5b600c548282611c3491906152bc565b1115611c75576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c6c90614fbe565b60405180910390fd5b611c7f338361306f565b5050565b601160019054906101000a900460ff1681565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611cfe576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b611d6e613067565b73ffffffffffffffffffffffffffffffffffffffff16611d8c612322565b73ffffffffffffffffffffffffffffffffffffffff1614611de2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dd99061503e565b60405180910390fd5b611dec600061396c565b565b611df6613067565b73ffffffffffffffffffffffffffffffffffffffff16611e14612322565b73ffffffffffffffffffffffffffffffffffffffff1614611e6a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e619061503e565b60405180910390fd5b6001600b60006101000a81548160ff021916908315150217905550565b601160009054906101000a900460ff1681565b6000601160019054906101000a900460ff1615611eba5760009050611ebf565b600190505b90565b6000611ecc6111ab565b905060008211611f11576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f0890614f9e565b60405180910390fd5b601054821115611f56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f4d906150fe565b60405180910390fd5b600c548282611f6591906152bc565b1115611fa6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f9d906150de565b60405180910390fd5b611faf33613a32565b611fee576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fe590614fde565b60405180910390fd5b60105482611ffb33612d00565b61200591906152bc565b1115612046576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161203d9061513e565b60405180910390fd5b612050338361306f565b5050565b61205c613067565b73ffffffffffffffffffffffffffffffffffffffff1661207a612322565b73ffffffffffffffffffffffffffffffffffffffff16146120d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120c79061503e565b60405180910390fd5b80600990805190602001906120e6929190614511565b5050565b60006120f46111ab565b9050601160019054906101000a900460ff1615612146576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161213d9061501e565b60405180910390fd5b60008211612189576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161218090614f9e565b60405180910390fd5b600f548211156121ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121c5906150fe565b60405180910390fd5b600d5482826121dd91906152bc565b111561221e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122159061515e565b60405180910390fd5b61222733613b07565b612266576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161225d906150be565b60405180910390fd5b8167013fbe85edc9000061227a9190615343565b3410156122bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122b39061511e565b60405180910390fd5b600f54826122c933612d00565b6122d391906152bc565b1115612314576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161230b9061513e565b60405180910390fd5b61231e338361306f565b5050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b612354613067565b73ffffffffffffffffffffffffffffffffffffffff16612372612322565b73ffffffffffffffffffffffffffffffffffffffff16146123c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123bf9061503e565b60405180910390fd5b80600d8190555050565b6123da613067565b73ffffffffffffffffffffffffffffffffffffffff166123f8612322565b73ffffffffffffffffffffffffffffffffffffffff161461244e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124459061503e565b60405180910390fd5b80600f8190555050565b612460613067565b73ffffffffffffffffffffffffffffffffffffffff1661247e612322565b73ffffffffffffffffffffffffffffffffffffffff16146124d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124cb9061503e565b60405180910390fd5b80600890805190602001906124ea929190614511565b5050565b601381815481106124fe57600080fd5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60606002805461253c90615487565b80601f016020809104026020016040519081016040528092919081815260200182805461256890615487565b80156125b55780601f1061258a576101008083540402835291602001916125b5565b820191906000526020600020905b81548152906001019060200180831161259857829003601f168201915b5050505050905090565b60006125c96111ab565b9050601160009054906101000a900460ff161561261b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161261290614ffe565b60405180910390fd5b6000821161265e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161265590614f9e565b60405180910390fd5b600e548211156126a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161269a906150fe565b60405180910390fd5b600c5482826126b291906152bc565b11156126f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126ea9061509e565b60405180910390fd5b816702386f26fc1000006127079190615343565b341015612749576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127409061511e565b60405180910390fd5b600e548261275633612d00565b61276091906152bc565b11156127a1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127989061513e565b60405180910390fd5b6127ab338361306f565b5050565b6127b7613067565b73ffffffffffffffffffffffffffffffffffffffff166127d5612322565b73ffffffffffffffffffffffffffffffffffffffff161461282b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128229061503e565b60405180910390fd5b601360006128399190614450565b81816013919061284a929190614471565b505050565b612857613067565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156128bc576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600660006128c9613067565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16612976613067565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516129bb9190614f41565b60405180910390a35050565b600f5481565b6129d88484846131a7565b6129e484848484613bdc565b612a1a576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b60128181548110612a3057600080fd5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600a8054612a6c90615487565b80601f0160208091040260200160405190810160405280929190818152602001828054612a9890615487565b8015612ae55780601f10612aba57610100808354040283529160200191612ae5565b820191906000526020600020905b815481529060010190602001808311612ac857829003601f168201915b505050505081565b6060612af88261308d565b612b37576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b2e9061507e565b60405180910390fd5b60001515600b60009054906101000a900460ff1615151415612be55760098054612b6090615487565b80601f0160208091040260200160405190810160405280929190818152602001828054612b8c90615487565b8015612bd95780601f10612bae57610100808354040283529160200191612bd9565b820191906000526020600020905b815481529060010190602001808311612bbc57829003601f168201915b50505050509050612c41565b6000612bef613d6a565b90506000815111612c0f5760405180602001604052806000815250612c3d565b80612c1984613dfc565b600a604051602001612c2d93929190614e72565b6040516020818303038152906040525b9150505b919050565b612c4e613067565b73ffffffffffffffffffffffffffffffffffffffff16612c6c612322565b73ffffffffffffffffffffffffffffffffffffffff1614612cc2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cb99061503e565b60405180910390fd5b6001601160006101000a81548160ff0219169083151502179055506001601160016101000a81548160ff021916908315150217905550565b600c5481565b6000612d0b82613fa9565b9050919050565b60105481565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b612db4613067565b73ffffffffffffffffffffffffffffffffffffffff16612dd2612322565b73ffffffffffffffffffffffffffffffffffffffff1614612e28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e1f9061503e565b60405180910390fd5b80600c8190555050565b612e3a613067565b73ffffffffffffffffffffffffffffffffffffffff16612e58612322565b73ffffffffffffffffffffffffffffffffffffffff1614612eae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ea59061503e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612f1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f1590614f7e565b60405180910390fd5b612f278161396c565b50565b600080600090505b601380549050811015612ff4573373ffffffffffffffffffffffffffffffffffffffff1660138281548110612f90577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415612fe1576001915050612ffa565b8080612fec906154ea565b915050612f32565b50600090505b90565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b613089828260405180602001604052806000815250614079565b5050565b60008060009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff16821080156130ee575060036000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b826005600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60006131b2826136c4565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff166131d9613067565b73ffffffffffffffffffffffffffffffffffffffff16148061320c575061320b8260000151613206613067565b612d18565b5b80613251575061321a613067565b73ffffffffffffffffffffffffffffffffffffffff1661323984610fd6565b73ffffffffffffffffffffffffffffffffffffffff16145b90508061328a576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff16146132f3576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561335a576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b613367858585600161408b565b61337760008484600001516130f5565b6001600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550836003600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426003600085815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600184019050600073ffffffffffffffffffffffffffffffffffffffff166003600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156136545760008054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff168110156136535782600001516003600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082602001516003600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b50828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46136bd8585856001614091565b5050505050565b6136cc614597565b600082905060008054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff16811015613935576000600360008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050806040015161393357600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614613817578092505050613967565b5b60011561393257818060019003925050600360008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461392d578092505050613967565b613818565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600080600090505b601380549050811015613afc578273ffffffffffffffffffffffffffffffffffffffff1660138281548110613a98577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415613ae9576001915050613b02565b8080613af4906154ea565b915050613a3a565b50600090505b919050565b600080600090505b601280549050811015613bd1578273ffffffffffffffffffffffffffffffffffffffff1660128281548110613b6d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415613bbe576001915050613bd7565b8080613bc9906154ea565b915050613b0f565b50600090505b919050565b6000613bfd8473ffffffffffffffffffffffffffffffffffffffff16614097565b15613d5d578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613c26613067565b8786866040518563ffffffff1660e01b8152600401613c489493929190614ed3565b602060405180830381600087803b158015613c6257600080fd5b505af1925050508015613c9357506040513d601f19601f82011682018060405250810190613c9091906149b8565b60015b613d0d573d8060008114613cc3576040519150601f19603f3d011682016040523d82523d6000602084013e613cc8565b606091505b50600081511415613d05576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613d62565b600190505b949350505050565b606060088054613d7990615487565b80601f0160208091040260200160405190810160405280929190818152602001828054613da590615487565b8015613df25780601f10613dc757610100808354040283529160200191613df2565b820191906000526020600020905b815481529060010190602001808311613dd557829003601f168201915b5050505050905090565b60606000821415613e44576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613fa4565b600082905060005b60008214613e76578080613e5f906154ea565b915050600a82613e6f9190615312565b9150613e4c565b60008167ffffffffffffffff811115613eb8577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015613eea5781602001600182028036833780820191505090505b5090505b60008514613f9d57600182613f03919061539d565b9150600a85613f129190615533565b6030613f1e91906152bc565b60f81b818381518110613f5a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85613f969190615312565b9450613eee565b8093505050505b919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415614011576040517f35ebb31900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160089054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b61408683838360016140ba565b505050565b50505050565b50505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008060009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415614155576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000841415614190576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61419d600086838761408b565b83600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846003600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426003600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060005b8581101561440257818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48380156143b657506143b46000888488613bdc565b155b156143ed576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8180600101925050808060010191505061433b565b50806000806101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff160217905550506144496000868387614091565b5050505050565b508054600082559060005260206000209081019061446e91906145da565b50565b828054828255906000526020600020908101928215614500579160200282015b828111156144ff57823573ffffffffffffffffffffffffffffffffffffffff168260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555091602001919060010190614491565b5b50905061450d91906145da565b5090565b82805461451d90615487565b90600052602060002090601f01602090048101928261453f5760008555614586565b82601f1061455857805160ff1916838001178555614586565b82800160010185558215614586579182015b8281111561458557825182559160200191906001019061456a565b5b50905061459391906145da565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b808211156145f35760008160009055506001016145db565b5090565b600061460a614605846151be565b615199565b90508281526020810184848401111561462257600080fd5b61462d848285615445565b509392505050565b6000614648614643846151ef565b615199565b90508281526020810184848401111561466057600080fd5b61466b848285615445565b509392505050565b6000813590506146828161595c565b92915050565b60008083601f84011261469a57600080fd5b8235905067ffffffffffffffff8111156146b357600080fd5b6020830191508360208202830111156146cb57600080fd5b9250929050565b6000813590506146e181615973565b92915050565b6000813590506146f68161598a565b92915050565b60008151905061470b8161598a565b92915050565b600082601f83011261472257600080fd5b81356147328482602086016145f7565b91505092915050565b600082601f83011261474c57600080fd5b813561475c848260208601614635565b91505092915050565b600081359050614774816159a1565b92915050565b60006020828403121561478c57600080fd5b600061479a84828501614673565b91505092915050565b600080604083850312156147b657600080fd5b60006147c485828601614673565b92505060206147d585828601614673565b9150509250929050565b6000806000606084860312156147f457600080fd5b600061480286828701614673565b935050602061481386828701614673565b925050604061482486828701614765565b9150509250925092565b6000806000806080858703121561484457600080fd5b600061485287828801614673565b945050602061486387828801614673565b935050604061487487828801614765565b925050606085013567ffffffffffffffff81111561489157600080fd5b61489d87828801614711565b91505092959194509250565b600080604083850312156148bc57600080fd5b60006148ca85828601614673565b92505060206148db858286016146d2565b9150509250929050565b600080604083850312156148f857600080fd5b600061490685828601614673565b925050602061491785828601614765565b9150509250929050565b6000806020838503121561493457600080fd5b600083013567ffffffffffffffff81111561494e57600080fd5b61495a85828601614688565b92509250509250929050565b60006020828403121561497857600080fd5b6000614986848285016146d2565b91505092915050565b6000602082840312156149a157600080fd5b60006149af848285016146e7565b91505092915050565b6000602082840312156149ca57600080fd5b60006149d8848285016146fc565b91505092915050565b6000602082840312156149f357600080fd5b600082013567ffffffffffffffff811115614a0d57600080fd5b614a198482850161473b565b91505092915050565b600060208284031215614a3457600080fd5b6000614a4284828501614765565b91505092915050565b6000614a578383614e54565b60208301905092915050565b614a6c816153d1565b82525050565b6000614a7d82615245565b614a878185615273565b9350614a9283615220565b8060005b83811015614ac3578151614aaa8882614a4b565b9750614ab583615266565b925050600181019050614a96565b5085935050505092915050565b614ad9816153e3565b82525050565b6000614aea82615250565b614af48185615284565b9350614b04818560208601615454565b614b0d81615620565b840191505092915050565b6000614b238261525b565b614b2d81856152a0565b9350614b3d818560208601615454565b614b4681615620565b840191505092915050565b6000614b5c8261525b565b614b6681856152b1565b9350614b76818560208601615454565b80840191505092915050565b60008154614b8f81615487565b614b9981866152b1565b94506001821660008114614bb45760018114614bc557614bf8565b60ff19831686528186019350614bf8565b614bce85615230565b60005b83811015614bf057815481890152600182019150602081019050614bd1565b838801955050505b50505092915050565b6000614c0e6026836152a0565b9150614c1982615631565b604082019050919050565b6000614c31601b836152a0565b9150614c3c82615680565b602082019050919050565b6000614c546016836152a0565b9150614c5f826156a9565b602082019050919050565b6000614c776017836152a0565b9150614c82826156d2565b602082019050919050565b6000614c9a6012836152a0565b9150614ca5826156fb565b602082019050919050565b6000614cbd6016836152a0565b9150614cc882615724565b602082019050919050565b6000614ce06020836152a0565b9150614ceb8261574d565b602082019050919050565b6000614d036014836152a0565b9150614d0e82615776565b602082019050919050565b6000614d26602f836152a0565b9150614d318261579f565b604082019050919050565b6000614d49601a836152a0565b9150614d54826157ee565b602082019050919050565b6000614d6c6016836152a0565b9150614d7782615817565b602082019050919050565b6000614d8f601a836152a0565b9150614d9a82615840565b602082019050919050565b6000614db26028836152a0565b9150614dbd82615869565b604082019050919050565b6000614dd5600083615295565b9150614de0826158b8565b600082019050919050565b6000614df86012836152a0565b9150614e03826158bb565b602082019050919050565b6000614e1b6025836152a0565b9150614e26826158e4565b604082019050919050565b6000614e3e6011836152a0565b9150614e4982615933565b602082019050919050565b614e5d8161543b565b82525050565b614e6c8161543b565b82525050565b6000614e7e8286614b51565b9150614e8a8285614b51565b9150614e968284614b82565b9150819050949350505050565b6000614eae82614dc8565b9150819050919050565b6000602082019050614ecd6000830184614a63565b92915050565b6000608082019050614ee86000830187614a63565b614ef56020830186614a63565b614f026040830185614e63565b8181036060830152614f148184614adf565b905095945050505050565b60006020820190508181036000830152614f398184614a72565b905092915050565b6000602082019050614f566000830184614ad0565b92915050565b60006020820190508181036000830152614f768184614b18565b905092915050565b60006020820190508181036000830152614f9781614c01565b9050919050565b60006020820190508181036000830152614fb781614c24565b9050919050565b60006020820190508181036000830152614fd781614c47565b9050919050565b60006020820190508181036000830152614ff781614c6a565b9050919050565b6000602082019050818103600083015261501781614c8d565b9050919050565b6000602082019050818103600083015261503781614cb0565b9050919050565b6000602082019050818103600083015261505781614cd3565b9050919050565b6000602082019050818103600083015261507781614cf6565b9050919050565b6000602082019050818103600083015261509781614d19565b9050919050565b600060208201905081810360008301526150b781614d3c565b9050919050565b600060208201905081810360008301526150d781614d5f565b9050919050565b600060208201905081810360008301526150f781614d82565b9050919050565b6000602082019050818103600083015261511781614da5565b9050919050565b6000602082019050818103600083015261513781614deb565b9050919050565b6000602082019050818103600083015261515781614e0e565b9050919050565b6000602082019050818103600083015261517781614e31565b9050919050565b60006020820190506151936000830184614e63565b92915050565b60006151a36151b4565b90506151af82826154b9565b919050565b6000604051905090565b600067ffffffffffffffff8211156151d9576151d86155f1565b5b6151e282615620565b9050602081019050919050565b600067ffffffffffffffff82111561520a576152096155f1565b5b61521382615620565b9050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b60006152c78261543b565b91506152d28361543b565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561530757615306615564565b5b828201905092915050565b600061531d8261543b565b91506153288361543b565b92508261533857615337615593565b5b828204905092915050565b600061534e8261543b565b91506153598361543b565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561539257615391615564565b5b828202905092915050565b60006153a88261543b565b91506153b38361543b565b9250828210156153c6576153c5615564565b5b828203905092915050565b60006153dc8261541b565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015615472578082015181840152602081019050615457565b83811115615481576000848401525b50505050565b6000600282049050600182168061549f57607f821691505b602082108114156154b3576154b26155c2565b5b50919050565b6154c282615620565b810181811067ffffffffffffffff821117156154e1576154e06155f1565b5b80604052505050565b60006154f58261543b565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561552857615527615564565b5b600182019050919050565b600061553e8261543b565b91506155498361543b565b92508261555957615558615593565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f6e65656420746f206d696e74206174206c656173742031204143450000000000600082015250565b7f6d617820414345206c696d697420657863656564656400000000000000000000600082015250565b7f596f7520617265206e6f74206f757220706172746e6572000000000000000000600082015250565b7f4d696e7420414345206973207061757365640000000000000000000000000000600082015250565b7f507265206d696e74204143452069732070617573656400000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4661696c656420746f2073656e64206574686572000000000000000000000000600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4d6178696d756e204e4654206c696d6974206578636565646564000000000000600082015250565b7f6275796572206e6f7420696e2077686974656c69737400000000000000000000600082015250565b7f4d6178696d756e20414345206c696d6974206578636565646564000000000000600082015250565b7f4d6178696d756e206d696e7420616d6f756e74207065722073657373696f6e2060008201527f6578636565646564000000000000000000000000000000000000000000000000602082015250565b50565b7f696e73756666696369656e742066756e64730000000000000000000000000000600082015250565b7f4d6178696d756e206d696e74204e46542070657220616464726573732065786360008201527f6565646564000000000000000000000000000000000000000000000000000000602082015250565b7f507265206d696e7420736f6c64206f7574000000000000000000000000000000600082015250565b615965816153d1565b811461597057600080fd5b50565b61597c816153e3565b811461598757600080fd5b50565b615993816153ef565b811461599e57600080fd5b50565b6159aa8161543b565b81146159b557600080fd5b5056fea26469706673582212207d5c0d8f3815ae8cd1878e37011e4d5ebae5bd26fb77bc70c7bc3cd6836f209e64736f6c63430008040033

Deployed Bytecode

0x6080604052600436106103505760003560e01c806376645315116101c6578063a22cb465116100f7578063d5abeb0111610095578063e985e9c51161006f578063e985e9c514610c16578063f103b43314610c53578063f2fde38b14610c7c578063f48c846d14610ca557610350565b8063d5abeb0114610b83578063dc33e68114610bae578063e645401714610beb57610350565b8063ba4e5c49116100d1578063ba4e5c4914610ac7578063c668286214610b04578063c87b56dd14610b2f578063d558296514610b6c57610350565b8063a22cb46514610a4a578063b47fbd1714610a73578063b88d4fde14610a9e57610350565b80638ec6f78111610164578063942f0de61161013e578063942f0de61461099d57806395d89b41146109da578063a0712d6814610a05578063a19b8d4614610a2157610350565b80638ec6f7811461092257806392c3f4731461094b578063931688cb1461097457610350565b806382c87328116101a057806382c87328146108965780638a6f9a9e146108b25780638ad433ac146108db5780638da5cb5b146108f757610350565b806376645315146108295780637e4831d3146108405780637f5ab77a1461086b57610350565b8063353f42a9116102a0578063518302271161023e57806363bc312a1161021857806363bc312a1461078157806368abfea9146107aa57806370a08231146107d5578063715018a61461081257610350565b806351830227146106ee5780635b92ac0d146107195780636352211e1461074457610350565b80633eb470501161027a5780633eb470501461062057806342842e0e1461064b578063438b6300146106745780634f6ccce7146106b157610350565b8063353f42a9146105c2578063380a0df2146105ed5780633ccfd60b1461061657610350565b806318160ddd1161030d57806323b872dd116102e757806323b872dd146105085780632b1dd8e5146105315780632da5ea171461055a5780632f745c591461058557610350565b806318160ddd146104895780631e60fb3b146104b4578063239c70ae146104dd57610350565b806301ffc9a714610355578063048266241461039257806306fdde03146103bb578063081812fc146103e6578063095ea7b314610423578063115b79271461044c575b600080fd5b34801561036157600080fd5b5061037c6004803603810190610377919061498f565b610cd0565b6040516103899190614f41565b60405180910390f35b34801561039e57600080fd5b506103b960048036038101906103b491906148e5565b610e1a565b005b3480156103c757600080fd5b506103d0610f44565b6040516103dd9190614f5c565b60405180910390f35b3480156103f257600080fd5b5061040d60048036038101906104089190614a22565b610fd6565b60405161041a9190614eb8565b60405180910390f35b34801561042f57600080fd5b5061044a600480360381019061044591906148e5565b611052565b005b34801561045857600080fd5b50610473600480360381019061046e9190614a22565b61115d565b604051610480919061517e565b60405180910390f35b34801561049557600080fd5b5061049e6111ab565b6040516104ab919061517e565b60405180910390f35b3480156104c057600080fd5b506104db60048036038101906104d69190614966565b611200565b005b3480156104e957600080fd5b506104f26112b4565b6040516104ff919061517e565b60405180910390f35b34801561051457600080fd5b5061052f600480360381019061052a91906147df565b6112ba565b005b34801561053d57600080fd5b5061055860048036038101906105539190614921565b6112ca565b005b34801561056657600080fd5b5061056f61136a565b60405161057c9190614f41565b60405180910390f35b34801561059157600080fd5b506105ac60048036038101906105a791906148e5565b6113e6565b6040516105b9919061517e565b60405180910390f35b3480156105ce57600080fd5b506105d76115ed565b6040516105e49190614f41565b60405180910390f35b3480156105f957600080fd5b50610614600480360381019061060f9190614a22565b6116c0565b005b61061e611746565b005b34801561062c57600080fd5b50610635611878565b604051610642919061517e565b60405180910390f35b34801561065757600080fd5b50610672600480360381019061066d91906147df565b61187e565b005b34801561068057600080fd5b5061069b6004803603810190610696919061477a565b61189e565b6040516106a89190614f1f565b60405180910390f35b3480156106bd57600080fd5b506106d860048036038101906106d39190614a22565b611998565b6040516106e5919061517e565b60405180910390f35b3480156106fa57600080fd5b50610703611b09565b6040516107109190614f41565b60405180910390f35b34801561072557600080fd5b5061072e611b1c565b60405161073b9190614f41565b60405180910390f35b34801561075057600080fd5b5061076b60048036038101906107669190614a22565b611b44565b6040516107789190614eb8565b60405180910390f35b34801561078d57600080fd5b506107a860048036038101906107a39190614a22565b611b5a565b005b3480156107b657600080fd5b506107bf611c83565b6040516107cc9190614f41565b60405180910390f35b3480156107e157600080fd5b506107fc60048036038101906107f7919061477a565b611c96565b604051610809919061517e565b60405180910390f35b34801561081e57600080fd5b50610827611d66565b005b34801561083557600080fd5b5061083e611dee565b005b34801561084c57600080fd5b50610855611e87565b6040516108629190614f41565b60405180910390f35b34801561087757600080fd5b50610880611e9a565b60405161088d9190614f41565b60405180910390f35b6108b060048036038101906108ab9190614a22565b611ec2565b005b3480156108be57600080fd5b506108d960048036038101906108d491906149e1565b612054565b005b6108f560048036038101906108f09190614a22565b6120ea565b005b34801561090357600080fd5b5061090c612322565b6040516109199190614eb8565b60405180910390f35b34801561092e57600080fd5b5061094960048036038101906109449190614a22565b61234c565b005b34801561095757600080fd5b50610972600480360381019061096d9190614a22565b6123d2565b005b34801561098057600080fd5b5061099b600480360381019061099691906149e1565b612458565b005b3480156109a957600080fd5b506109c460048036038101906109bf9190614a22565b6124ee565b6040516109d19190614eb8565b60405180910390f35b3480156109e657600080fd5b506109ef61252d565b6040516109fc9190614f5c565b60405180910390f35b610a1f6004803603810190610a1a9190614a22565b6125bf565b005b348015610a2d57600080fd5b50610a486004803603810190610a439190614921565b6127af565b005b348015610a5657600080fd5b50610a716004803603810190610a6c91906148a9565b61284f565b005b348015610a7f57600080fd5b50610a886129c7565b604051610a95919061517e565b60405180910390f35b348015610aaa57600080fd5b50610ac56004803603810190610ac0919061482e565b6129cd565b005b348015610ad357600080fd5b50610aee6004803603810190610ae99190614a22565b612a20565b604051610afb9190614eb8565b60405180910390f35b348015610b1057600080fd5b50610b19612a5f565b604051610b269190614f5c565b60405180910390f35b348015610b3b57600080fd5b50610b566004803603810190610b519190614a22565b612aed565b604051610b639190614f5c565b60405180910390f35b348015610b7857600080fd5b50610b81612c46565b005b348015610b8f57600080fd5b50610b98612cfa565b604051610ba5919061517e565b60405180910390f35b348015610bba57600080fd5b50610bd56004803603810190610bd0919061477a565b612d00565b604051610be2919061517e565b60405180910390f35b348015610bf757600080fd5b50610c00612d12565b604051610c0d919061517e565b60405180910390f35b348015610c2257600080fd5b50610c3d6004803603810190610c3891906147a3565b612d18565b604051610c4a9190614f41565b60405180910390f35b348015610c5f57600080fd5b50610c7a6004803603810190610c759190614a22565b612dac565b005b348015610c8857600080fd5b50610ca36004803603810190610c9e919061477a565b612e32565b005b348015610cb157600080fd5b50610cba612f2a565b604051610cc79190614f41565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610d9b57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610e0357507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610e135750610e1282612ffd565b5b9050919050565b610e22613067565b73ffffffffffffffffffffffffffffffffffffffff16610e40612322565b73ffffffffffffffffffffffffffffffffffffffff1614610e96576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e8d9061503e565b60405180910390fd5b6000610ea06111ab565b905060008211610ee5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610edc90614f9e565b60405180910390fd5b600c548282610ef491906152bc565b1115610f35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2c90614fbe565b60405180910390fd5b610f3f838361306f565b505050565b606060018054610f5390615487565b80601f0160208091040260200160405190810160405280929190818152602001828054610f7f90615487565b8015610fcc5780601f10610fa157610100808354040283529160200191610fcc565b820191906000526020600020905b815481529060010190602001808311610faf57829003601f168201915b5050505050905090565b6000610fe18261308d565b611017576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061105d82611b44565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156110c5576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166110e4613067565b73ffffffffffffffffffffffffffffffffffffffff161415801561111657506111148161110f613067565b612d18565b155b1561114d576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6111588383836130f5565b505050565b6000601160009054906101000a900460ff161561118f578167013fbe85edc900006111889190615343565b90506111a6565b816702386f26fc1000006111a39190615343565b90505b919050565b60008060109054906101000a90046fffffffffffffffffffffffffffffffff1660008054906101000a90046fffffffffffffffffffffffffffffffff16036fffffffffffffffffffffffffffffffff16905090565b611208613067565b73ffffffffffffffffffffffffffffffffffffffff16611226612322565b73ffffffffffffffffffffffffffffffffffffffff161461127c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112739061503e565b60405180910390fd5b8015601160006101000a81548160ff02191690831515021790555080601160016101000a81548160ff02191690831515021790555050565b600e5481565b6112c58383836131a7565b505050565b6112d2613067565b73ffffffffffffffffffffffffffffffffffffffff166112f0612322565b73ffffffffffffffffffffffffffffffffffffffff1614611346576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133d9061503e565b60405180910390fd5b601260006113549190614450565b818160129190611365929190614471565b505050565b6000806113756111ab565b905061137f611e9a565b158015611391575061138f611b1c565b155b156113a05760009150506113e3565b6113a8611e9a565b156113ca57600d5481106113c05760019150506113e3565b60009150506113e3565b600c5481106113dd5760019150506113e3565b60009150505b90565b60006113f183611c96565b8210611429576040517f0ddac30e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008060009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff16905060008060005b838110156115e1576000600360008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff161515151581525050905080604001511561154057506115d4565b600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461158057806000015192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156115d257868414156115c95781955050505050506115e7565b83806001019450505b505b8080600101915050611463565b50600080fd5b92915050565b600080600090505b6012805490508110156116b7573373ffffffffffffffffffffffffffffffffffffffff1660128281548110611653577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156116a45760019150506116bd565b80806116af906154ea565b9150506115f5565b50600090505b90565b6116c8613067565b73ffffffffffffffffffffffffffffffffffffffff166116e6612322565b73ffffffffffffffffffffffffffffffffffffffff161461173c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117339061503e565b60405180910390fd5b80600e8190555050565b61174e613067565b73ffffffffffffffffffffffffffffffffffffffff1661176c612322565b73ffffffffffffffffffffffffffffffffffffffff16146117c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117b99061503e565b60405180910390fd5b60006117cc612322565b73ffffffffffffffffffffffffffffffffffffffff16476040516117ef90614ea3565b60006040518083038185875af1925050503d806000811461182c576040519150601f19603f3d011682016040523d82523d6000602084013e611831565b606091505b5050905080611875576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161186c9061505e565b60405180910390fd5b50565b600d5481565b611899838383604051806020016040528060008152506129cd565b505050565b606060006118ab83611c96565b905060008167ffffffffffffffff8111156118ef577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60405190808252806020026020018201604052801561191d5781602001602082028036833780820191505090505b50905060005b8281101561198d5761193585826113e6565b82828151811061196e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010181815250508080611985906154ea565b915050611923565b508092505050919050565b60008060008054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1690506000805b82811015611ad1576000600360008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff16151515158152505090508060400151611ac35785831415611aba5781945050505050611b04565b82806001019350505b5080806001019150506119d0565b506040517fa723001c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b600b60009054906101000a900460ff1681565b6000601160009054906101000a900460ff1615611b3c5760009050611b41565b600190505b90565b6000611b4f826136c4565b600001519050919050565b611b62613067565b73ffffffffffffffffffffffffffffffffffffffff16611b80612322565b73ffffffffffffffffffffffffffffffffffffffff1614611bd6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bcd9061503e565b60405180910390fd5b6000611be06111ab565b905060008211611c25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c1c90614f9e565b60405180910390fd5b600c548282611c3491906152bc565b1115611c75576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c6c90614fbe565b60405180910390fd5b611c7f338361306f565b5050565b601160019054906101000a900460ff1681565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611cfe576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b611d6e613067565b73ffffffffffffffffffffffffffffffffffffffff16611d8c612322565b73ffffffffffffffffffffffffffffffffffffffff1614611de2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dd99061503e565b60405180910390fd5b611dec600061396c565b565b611df6613067565b73ffffffffffffffffffffffffffffffffffffffff16611e14612322565b73ffffffffffffffffffffffffffffffffffffffff1614611e6a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e619061503e565b60405180910390fd5b6001600b60006101000a81548160ff021916908315150217905550565b601160009054906101000a900460ff1681565b6000601160019054906101000a900460ff1615611eba5760009050611ebf565b600190505b90565b6000611ecc6111ab565b905060008211611f11576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f0890614f9e565b60405180910390fd5b601054821115611f56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f4d906150fe565b60405180910390fd5b600c548282611f6591906152bc565b1115611fa6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f9d906150de565b60405180910390fd5b611faf33613a32565b611fee576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fe590614fde565b60405180910390fd5b60105482611ffb33612d00565b61200591906152bc565b1115612046576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161203d9061513e565b60405180910390fd5b612050338361306f565b5050565b61205c613067565b73ffffffffffffffffffffffffffffffffffffffff1661207a612322565b73ffffffffffffffffffffffffffffffffffffffff16146120d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120c79061503e565b60405180910390fd5b80600990805190602001906120e6929190614511565b5050565b60006120f46111ab565b9050601160019054906101000a900460ff1615612146576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161213d9061501e565b60405180910390fd5b60008211612189576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161218090614f9e565b60405180910390fd5b600f548211156121ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121c5906150fe565b60405180910390fd5b600d5482826121dd91906152bc565b111561221e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122159061515e565b60405180910390fd5b61222733613b07565b612266576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161225d906150be565b60405180910390fd5b8167013fbe85edc9000061227a9190615343565b3410156122bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122b39061511e565b60405180910390fd5b600f54826122c933612d00565b6122d391906152bc565b1115612314576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161230b9061513e565b60405180910390fd5b61231e338361306f565b5050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b612354613067565b73ffffffffffffffffffffffffffffffffffffffff16612372612322565b73ffffffffffffffffffffffffffffffffffffffff16146123c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123bf9061503e565b60405180910390fd5b80600d8190555050565b6123da613067565b73ffffffffffffffffffffffffffffffffffffffff166123f8612322565b73ffffffffffffffffffffffffffffffffffffffff161461244e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124459061503e565b60405180910390fd5b80600f8190555050565b612460613067565b73ffffffffffffffffffffffffffffffffffffffff1661247e612322565b73ffffffffffffffffffffffffffffffffffffffff16146124d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124cb9061503e565b60405180910390fd5b80600890805190602001906124ea929190614511565b5050565b601381815481106124fe57600080fd5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60606002805461253c90615487565b80601f016020809104026020016040519081016040528092919081815260200182805461256890615487565b80156125b55780601f1061258a576101008083540402835291602001916125b5565b820191906000526020600020905b81548152906001019060200180831161259857829003601f168201915b5050505050905090565b60006125c96111ab565b9050601160009054906101000a900460ff161561261b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161261290614ffe565b60405180910390fd5b6000821161265e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161265590614f9e565b60405180910390fd5b600e548211156126a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161269a906150fe565b60405180910390fd5b600c5482826126b291906152bc565b11156126f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126ea9061509e565b60405180910390fd5b816702386f26fc1000006127079190615343565b341015612749576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127409061511e565b60405180910390fd5b600e548261275633612d00565b61276091906152bc565b11156127a1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127989061513e565b60405180910390fd5b6127ab338361306f565b5050565b6127b7613067565b73ffffffffffffffffffffffffffffffffffffffff166127d5612322565b73ffffffffffffffffffffffffffffffffffffffff161461282b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128229061503e565b60405180910390fd5b601360006128399190614450565b81816013919061284a929190614471565b505050565b612857613067565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156128bc576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600660006128c9613067565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16612976613067565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516129bb9190614f41565b60405180910390a35050565b600f5481565b6129d88484846131a7565b6129e484848484613bdc565b612a1a576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b60128181548110612a3057600080fd5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600a8054612a6c90615487565b80601f0160208091040260200160405190810160405280929190818152602001828054612a9890615487565b8015612ae55780601f10612aba57610100808354040283529160200191612ae5565b820191906000526020600020905b815481529060010190602001808311612ac857829003601f168201915b505050505081565b6060612af88261308d565b612b37576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b2e9061507e565b60405180910390fd5b60001515600b60009054906101000a900460ff1615151415612be55760098054612b6090615487565b80601f0160208091040260200160405190810160405280929190818152602001828054612b8c90615487565b8015612bd95780601f10612bae57610100808354040283529160200191612bd9565b820191906000526020600020905b815481529060010190602001808311612bbc57829003601f168201915b50505050509050612c41565b6000612bef613d6a565b90506000815111612c0f5760405180602001604052806000815250612c3d565b80612c1984613dfc565b600a604051602001612c2d93929190614e72565b6040516020818303038152906040525b9150505b919050565b612c4e613067565b73ffffffffffffffffffffffffffffffffffffffff16612c6c612322565b73ffffffffffffffffffffffffffffffffffffffff1614612cc2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cb99061503e565b60405180910390fd5b6001601160006101000a81548160ff0219169083151502179055506001601160016101000a81548160ff021916908315150217905550565b600c5481565b6000612d0b82613fa9565b9050919050565b60105481565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b612db4613067565b73ffffffffffffffffffffffffffffffffffffffff16612dd2612322565b73ffffffffffffffffffffffffffffffffffffffff1614612e28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e1f9061503e565b60405180910390fd5b80600c8190555050565b612e3a613067565b73ffffffffffffffffffffffffffffffffffffffff16612e58612322565b73ffffffffffffffffffffffffffffffffffffffff1614612eae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ea59061503e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612f1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f1590614f7e565b60405180910390fd5b612f278161396c565b50565b600080600090505b601380549050811015612ff4573373ffffffffffffffffffffffffffffffffffffffff1660138281548110612f90577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415612fe1576001915050612ffa565b8080612fec906154ea565b915050612f32565b50600090505b90565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b613089828260405180602001604052806000815250614079565b5050565b60008060009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff16821080156130ee575060036000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b826005600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60006131b2826136c4565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff166131d9613067565b73ffffffffffffffffffffffffffffffffffffffff16148061320c575061320b8260000151613206613067565b612d18565b5b80613251575061321a613067565b73ffffffffffffffffffffffffffffffffffffffff1661323984610fd6565b73ffffffffffffffffffffffffffffffffffffffff16145b90508061328a576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff16146132f3576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561335a576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b613367858585600161408b565b61337760008484600001516130f5565b6001600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550836003600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426003600085815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600184019050600073ffffffffffffffffffffffffffffffffffffffff166003600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156136545760008054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff168110156136535782600001516003600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082602001516003600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b50828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46136bd8585856001614091565b5050505050565b6136cc614597565b600082905060008054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff16811015613935576000600360008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050806040015161393357600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614613817578092505050613967565b5b60011561393257818060019003925050600360008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461392d578092505050613967565b613818565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600080600090505b601380549050811015613afc578273ffffffffffffffffffffffffffffffffffffffff1660138281548110613a98577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415613ae9576001915050613b02565b8080613af4906154ea565b915050613a3a565b50600090505b919050565b600080600090505b601280549050811015613bd1578273ffffffffffffffffffffffffffffffffffffffff1660128281548110613b6d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415613bbe576001915050613bd7565b8080613bc9906154ea565b915050613b0f565b50600090505b919050565b6000613bfd8473ffffffffffffffffffffffffffffffffffffffff16614097565b15613d5d578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613c26613067565b8786866040518563ffffffff1660e01b8152600401613c489493929190614ed3565b602060405180830381600087803b158015613c6257600080fd5b505af1925050508015613c9357506040513d601f19601f82011682018060405250810190613c9091906149b8565b60015b613d0d573d8060008114613cc3576040519150601f19603f3d011682016040523d82523d6000602084013e613cc8565b606091505b50600081511415613d05576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613d62565b600190505b949350505050565b606060088054613d7990615487565b80601f0160208091040260200160405190810160405280929190818152602001828054613da590615487565b8015613df25780601f10613dc757610100808354040283529160200191613df2565b820191906000526020600020905b815481529060010190602001808311613dd557829003601f168201915b5050505050905090565b60606000821415613e44576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613fa4565b600082905060005b60008214613e76578080613e5f906154ea565b915050600a82613e6f9190615312565b9150613e4c565b60008167ffffffffffffffff811115613eb8577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015613eea5781602001600182028036833780820191505090505b5090505b60008514613f9d57600182613f03919061539d565b9150600a85613f129190615533565b6030613f1e91906152bc565b60f81b818381518110613f5a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85613f969190615312565b9450613eee565b8093505050505b919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415614011576040517f35ebb31900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160089054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b61408683838360016140ba565b505050565b50505050565b50505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008060009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415614155576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000841415614190576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61419d600086838761408b565b83600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846003600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426003600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060005b8581101561440257818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48380156143b657506143b46000888488613bdc565b155b156143ed576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8180600101925050808060010191505061433b565b50806000806101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff160217905550506144496000868387614091565b5050505050565b508054600082559060005260206000209081019061446e91906145da565b50565b828054828255906000526020600020908101928215614500579160200282015b828111156144ff57823573ffffffffffffffffffffffffffffffffffffffff168260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555091602001919060010190614491565b5b50905061450d91906145da565b5090565b82805461451d90615487565b90600052602060002090601f01602090048101928261453f5760008555614586565b82601f1061455857805160ff1916838001178555614586565b82800160010185558215614586579182015b8281111561458557825182559160200191906001019061456a565b5b50905061459391906145da565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b808211156145f35760008160009055506001016145db565b5090565b600061460a614605846151be565b615199565b90508281526020810184848401111561462257600080fd5b61462d848285615445565b509392505050565b6000614648614643846151ef565b615199565b90508281526020810184848401111561466057600080fd5b61466b848285615445565b509392505050565b6000813590506146828161595c565b92915050565b60008083601f84011261469a57600080fd5b8235905067ffffffffffffffff8111156146b357600080fd5b6020830191508360208202830111156146cb57600080fd5b9250929050565b6000813590506146e181615973565b92915050565b6000813590506146f68161598a565b92915050565b60008151905061470b8161598a565b92915050565b600082601f83011261472257600080fd5b81356147328482602086016145f7565b91505092915050565b600082601f83011261474c57600080fd5b813561475c848260208601614635565b91505092915050565b600081359050614774816159a1565b92915050565b60006020828403121561478c57600080fd5b600061479a84828501614673565b91505092915050565b600080604083850312156147b657600080fd5b60006147c485828601614673565b92505060206147d585828601614673565b9150509250929050565b6000806000606084860312156147f457600080fd5b600061480286828701614673565b935050602061481386828701614673565b925050604061482486828701614765565b9150509250925092565b6000806000806080858703121561484457600080fd5b600061485287828801614673565b945050602061486387828801614673565b935050604061487487828801614765565b925050606085013567ffffffffffffffff81111561489157600080fd5b61489d87828801614711565b91505092959194509250565b600080604083850312156148bc57600080fd5b60006148ca85828601614673565b92505060206148db858286016146d2565b9150509250929050565b600080604083850312156148f857600080fd5b600061490685828601614673565b925050602061491785828601614765565b9150509250929050565b6000806020838503121561493457600080fd5b600083013567ffffffffffffffff81111561494e57600080fd5b61495a85828601614688565b92509250509250929050565b60006020828403121561497857600080fd5b6000614986848285016146d2565b91505092915050565b6000602082840312156149a157600080fd5b60006149af848285016146e7565b91505092915050565b6000602082840312156149ca57600080fd5b60006149d8848285016146fc565b91505092915050565b6000602082840312156149f357600080fd5b600082013567ffffffffffffffff811115614a0d57600080fd5b614a198482850161473b565b91505092915050565b600060208284031215614a3457600080fd5b6000614a4284828501614765565b91505092915050565b6000614a578383614e54565b60208301905092915050565b614a6c816153d1565b82525050565b6000614a7d82615245565b614a878185615273565b9350614a9283615220565b8060005b83811015614ac3578151614aaa8882614a4b565b9750614ab583615266565b925050600181019050614a96565b5085935050505092915050565b614ad9816153e3565b82525050565b6000614aea82615250565b614af48185615284565b9350614b04818560208601615454565b614b0d81615620565b840191505092915050565b6000614b238261525b565b614b2d81856152a0565b9350614b3d818560208601615454565b614b4681615620565b840191505092915050565b6000614b5c8261525b565b614b6681856152b1565b9350614b76818560208601615454565b80840191505092915050565b60008154614b8f81615487565b614b9981866152b1565b94506001821660008114614bb45760018114614bc557614bf8565b60ff19831686528186019350614bf8565b614bce85615230565b60005b83811015614bf057815481890152600182019150602081019050614bd1565b838801955050505b50505092915050565b6000614c0e6026836152a0565b9150614c1982615631565b604082019050919050565b6000614c31601b836152a0565b9150614c3c82615680565b602082019050919050565b6000614c546016836152a0565b9150614c5f826156a9565b602082019050919050565b6000614c776017836152a0565b9150614c82826156d2565b602082019050919050565b6000614c9a6012836152a0565b9150614ca5826156fb565b602082019050919050565b6000614cbd6016836152a0565b9150614cc882615724565b602082019050919050565b6000614ce06020836152a0565b9150614ceb8261574d565b602082019050919050565b6000614d036014836152a0565b9150614d0e82615776565b602082019050919050565b6000614d26602f836152a0565b9150614d318261579f565b604082019050919050565b6000614d49601a836152a0565b9150614d54826157ee565b602082019050919050565b6000614d6c6016836152a0565b9150614d7782615817565b602082019050919050565b6000614d8f601a836152a0565b9150614d9a82615840565b602082019050919050565b6000614db26028836152a0565b9150614dbd82615869565b604082019050919050565b6000614dd5600083615295565b9150614de0826158b8565b600082019050919050565b6000614df86012836152a0565b9150614e03826158bb565b602082019050919050565b6000614e1b6025836152a0565b9150614e26826158e4565b604082019050919050565b6000614e3e6011836152a0565b9150614e4982615933565b602082019050919050565b614e5d8161543b565b82525050565b614e6c8161543b565b82525050565b6000614e7e8286614b51565b9150614e8a8285614b51565b9150614e968284614b82565b9150819050949350505050565b6000614eae82614dc8565b9150819050919050565b6000602082019050614ecd6000830184614a63565b92915050565b6000608082019050614ee86000830187614a63565b614ef56020830186614a63565b614f026040830185614e63565b8181036060830152614f148184614adf565b905095945050505050565b60006020820190508181036000830152614f398184614a72565b905092915050565b6000602082019050614f566000830184614ad0565b92915050565b60006020820190508181036000830152614f768184614b18565b905092915050565b60006020820190508181036000830152614f9781614c01565b9050919050565b60006020820190508181036000830152614fb781614c24565b9050919050565b60006020820190508181036000830152614fd781614c47565b9050919050565b60006020820190508181036000830152614ff781614c6a565b9050919050565b6000602082019050818103600083015261501781614c8d565b9050919050565b6000602082019050818103600083015261503781614cb0565b9050919050565b6000602082019050818103600083015261505781614cd3565b9050919050565b6000602082019050818103600083015261507781614cf6565b9050919050565b6000602082019050818103600083015261509781614d19565b9050919050565b600060208201905081810360008301526150b781614d3c565b9050919050565b600060208201905081810360008301526150d781614d5f565b9050919050565b600060208201905081810360008301526150f781614d82565b9050919050565b6000602082019050818103600083015261511781614da5565b9050919050565b6000602082019050818103600083015261513781614deb565b9050919050565b6000602082019050818103600083015261515781614e0e565b9050919050565b6000602082019050818103600083015261517781614e31565b9050919050565b60006020820190506151936000830184614e63565b92915050565b60006151a36151b4565b90506151af82826154b9565b919050565b6000604051905090565b600067ffffffffffffffff8211156151d9576151d86155f1565b5b6151e282615620565b9050602081019050919050565b600067ffffffffffffffff82111561520a576152096155f1565b5b61521382615620565b9050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b60006152c78261543b565b91506152d28361543b565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561530757615306615564565b5b828201905092915050565b600061531d8261543b565b91506153288361543b565b92508261533857615337615593565b5b828204905092915050565b600061534e8261543b565b91506153598361543b565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561539257615391615564565b5b828202905092915050565b60006153a88261543b565b91506153b38361543b565b9250828210156153c6576153c5615564565b5b828203905092915050565b60006153dc8261541b565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015615472578082015181840152602081019050615457565b83811115615481576000848401525b50505050565b6000600282049050600182168061549f57607f821691505b602082108114156154b3576154b26155c2565b5b50919050565b6154c282615620565b810181811067ffffffffffffffff821117156154e1576154e06155f1565b5b80604052505050565b60006154f58261543b565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561552857615527615564565b5b600182019050919050565b600061553e8261543b565b91506155498361543b565b92508261555957615558615593565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f6e65656420746f206d696e74206174206c656173742031204143450000000000600082015250565b7f6d617820414345206c696d697420657863656564656400000000000000000000600082015250565b7f596f7520617265206e6f74206f757220706172746e6572000000000000000000600082015250565b7f4d696e7420414345206973207061757365640000000000000000000000000000600082015250565b7f507265206d696e74204143452069732070617573656400000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4661696c656420746f2073656e64206574686572000000000000000000000000600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4d6178696d756e204e4654206c696d6974206578636565646564000000000000600082015250565b7f6275796572206e6f7420696e2077686974656c69737400000000000000000000600082015250565b7f4d6178696d756e20414345206c696d6974206578636565646564000000000000600082015250565b7f4d6178696d756e206d696e7420616d6f756e74207065722073657373696f6e2060008201527f6578636565646564000000000000000000000000000000000000000000000000602082015250565b50565b7f696e73756666696369656e742066756e64730000000000000000000000000000600082015250565b7f4d6178696d756e206d696e74204e46542070657220616464726573732065786360008201527f6565646564000000000000000000000000000000000000000000000000000000602082015250565b7f507265206d696e7420736f6c64206f7574000000000000000000000000000000600082015250565b615965816153d1565b811461597057600080fd5b50565b61597c816153e3565b811461598757600080fd5b50565b615993816153ef565b811461599e57600080fd5b50565b6159aa8161543b565b81146159b557600080fd5b5056fea26469706673582212207d5c0d8f3815ae8cd1878e37011e4d5ebae5bd26fb77bc70c7bc3cd6836f209e64736f6c63430008040033

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.