ETH Price: $3,398.16 (+1.50%)

Contract

0x90cA8a3eb2574F937F514749ce619fDCCa187d45
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

Transaction Hash
Method
Block
From
To
Set Approval For...214926692024-12-27 8:42:112 days ago1735288931IN
Gambling Apes: GA Token
0 ETH0.000236845.07677031
Transfer From214781842024-12-25 8:06:114 days ago1735113971IN
Gambling Apes: GA Token
0 ETH0.000427094.86472432
Transfer From214780902024-12-25 7:47:234 days ago1735112843IN
Gambling Apes: GA Token
0 ETH0.000483315.06356991
Safe Transfer Fr...214571242024-12-22 9:24:357 days ago1734859475IN
Gambling Apes: GA Token
0 ETH0.000406185.37397937
Safe Transfer Fr...214571202024-12-22 9:23:477 days ago1734859427IN
Gambling Apes: GA Token
0 ETH0.000528665.37589771
Set Approval For...214474092024-12-21 0:47:118 days ago1734742031IN
Gambling Apes: GA Token
0 ETH0.000373147.99629628
Set Approval For...214389652024-12-19 20:30:359 days ago1734640235IN
Gambling Apes: GA Token
0 ETH0.0014648759.03676223
Set Approval For...214302582024-12-18 15:17:4710 days ago1734535067IN
Gambling Apes: GA Token
0 ETH0.0009754720.87687735
Set Approval For...214226442024-12-17 13:46:1111 days ago1734443171IN
Gambling Apes: GA Token
0 ETH0.0005185920.9
Set Approval For...214088552024-12-15 15:36:5913 days ago1734277019IN
Gambling Apes: GA Token
0 ETH0.0002585410.41971952
Set Approval For...212956702024-11-29 20:15:4729 days ago1732911347IN
Gambling Apes: GA Token
0 ETH0.0005372311.49787496
Set Approval For...212777942024-11-27 8:08:1132 days ago1732694891IN
Gambling Apes: GA Token
0 ETH0.0004734110.13200231
Safe Transfer Fr...212533962024-11-23 22:22:5935 days ago1732400579IN
Gambling Apes: GA Token
0 ETH0.0003237810.44960306
Safe Transfer Fr...212533942024-11-23 22:22:3535 days ago1732400555IN
Gambling Apes: GA Token
0 ETH0.0009558910.87675786
Set Approval For...212323862024-11-21 0:00:1138 days ago1732147211IN
Gambling Apes: GA Token
0 ETH0.00043299.26500885
Transfer From212242202024-11-19 20:37:5939 days ago1732048679IN
Gambling Apes: GA Token
0 ETH0.001688319.86378346
Set Approval For...211092462024-11-03 19:36:4755 days ago1730662607IN
Gambling Apes: GA Token
0 ETH0.000288096.17378625
Set Approval For...210174862024-10-22 0:17:1168 days ago1729556231IN
Gambling Apes: GA Token
0 ETH0.000305226.53231657
Set Approval For...208808752024-10-02 22:42:3587 days ago1727908955IN
Gambling Apes: GA Token
0 ETH0.000176527.11409568
Set Approval For...207639652024-09-16 15:07:23103 days ago1726499243IN
Gambling Apes: GA Token
0 ETH0.000306112.33643477
Safe Transfer Fr...206958752024-09-07 2:57:11113 days ago1725677831IN
Gambling Apes: GA Token
0 ETH0.000106371.16099558
Safe Transfer Fr...206958712024-09-07 2:56:23113 days ago1725677783IN
Gambling Apes: GA Token
0 ETH0.000125121.22581197
Safe Transfer Fr...206958682024-09-07 2:55:47113 days ago1725677747IN
Gambling Apes: GA Token
0 ETH0.000113061.25942942
Safe Transfer Fr...206958652024-09-07 2:55:11113 days ago1725677711IN
Gambling Apes: GA Token
0 ETH0.000101471.27928169
Safe Transfer Fr...206958622024-09-07 2:54:35113 days ago1725677675IN
Gambling Apes: GA Token
0 ETH0.000124771.22236268
View all transactions

Latest 8 internal transactions

Advanced mode:
Parent Transaction Hash Block
From
To
131782762021-09-07 11:06:321209 days ago1631012792
Gambling Apes: GA Token
148.447368 ETH
131782762021-09-07 11:06:321209 days ago1631012792
Gambling Apes: GA Token
82.47076 ETH
131782762021-09-07 11:06:321209 days ago1631012792
Gambling Apes: GA Token
169.065058 ETH
131782762021-09-07 11:06:321209 days ago1631012792
Gambling Apes: GA Token
12.370614 ETH
131729842021-09-06 15:29:131209 days ago1630942153
Gambling Apes: GA Token
62.97984 ETH
131729842021-09-06 15:29:131209 days ago1630942153
Gambling Apes: GA Token
34.9888 ETH
131729842021-09-06 15:29:131209 days ago1630942153
Gambling Apes: GA Token
71.72704 ETH
131729842021-09-06 15:29:131209 days ago1630942153
Gambling Apes: GA Token
5.24832 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
GamblingApes

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 13 : GamblingApes.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";

contract GamblingApes is ERC721Enumerable, Ownable {
    uint256 private basePrice = 77000000000000000; //0.077

    uint256 private reserveAtATime = 25;
    uint256 private reservedCount = 0;
    uint256 private maxReserveCount = 200;
    address private MPAddress = 0xAa0D34B3Ac6420B769DDe4783bB1a95F157ddDF5;
    address private ProjectAddress = 0x435E71FF5f32682B30b4A95cD0B672457DabA776;
    address private MarcelAddress = 0x9820a642879E0d5C68a7d4eB9269a38d70406c09;

    string _baseTokenURI;
    
    bool public isActive = false;
    bool public isAllowListActive = false;
    
    uint256 public constant MAX_MINTSUPPLY = 7777;
    uint256 public maximumAllowedTokensPerPurchase = 10;
    uint256 public allowListMaxMint = 3;

    mapping(address => bool) private _allowList;
    mapping(address => uint256) private _allowListClaimed;

    event AssetMinted(uint256 tokenId, address sender);
    event SaleActivation(bool isActive);

    constructor(string memory baseURI) ERC721("Gambling Apes", "GA") {
        setBaseURI(baseURI);
    }

    modifier saleIsOpen {
        require(totalSupply() <= MAX_MINTSUPPLY, "Sale has ended.");
        _;
    }

    modifier onlyAuthorized() {
        require(MPAddress == msg.sender || owner() == msg.sender);
        _;
    }

    function setMaximumAllowedTokens(uint256 _count) public onlyAuthorized {
        maximumAllowedTokensPerPurchase = _count;
    }

    function setActive(bool val) public onlyAuthorized {
        isActive = val;
        emit SaleActivation(val);
    }

    function setIsAllowListActive(bool _isAllowListActive) external onlyAuthorized {
        isAllowListActive = _isAllowListActive;
    }

    function setAllowListMaxMint(uint256 maxMint) external  onlyAuthorized {
        allowListMaxMint = maxMint;
    }

    function addToAllowList(address[] calldata addresses) external onlyAuthorized {
      for (uint256 i = 0; i < addresses.length; i++) {
        require(addresses[i] != address(0), "Can't add a null address");

        _allowList[addresses[i]] = true;
        _allowListClaimed[addresses[i]] > 0 ? _allowListClaimed[addresses[i]] : 0;
      }
    }

    function checkIfOnAllowList(address addr) external view returns (bool) {
      return _allowList[addr];
    }

    function removeFromAllowList(address[] calldata addresses) external onlyAuthorized {
      for (uint256 i = 0; i < addresses.length; i++) {
        require(addresses[i] != address(0), "Can't add a null address");

        _allowList[addresses[i]] = false;
      }
    }

    function allowListClaimedBy(address owner) external view returns (uint256){
      require(owner != address(0), 'Zero address not on Allow List');

      return _allowListClaimed[owner];
    }
    
    function setReserveAtATime(uint256 val) public onlyAuthorized {
        reserveAtATime = val;
    }

    function setMaxReserve(uint256 val) public onlyAuthorized {
        maxReserveCount = val;
    }
    
    function setPrice(uint256 _price) public onlyAuthorized {
        basePrice = _price;
    }
    
    function setBaseURI(string memory baseURI) public onlyAuthorized {
        _baseTokenURI = baseURI;
    }

    function getMaximumAllowedTokens() public view onlyAuthorized returns (uint256) {
        return maximumAllowedTokensPerPurchase;
    }

    function getPrice() external view returns (uint256) {
        return basePrice; 
    }

    function getReserveAtATime() external view returns (uint256) {
        return reserveAtATime; 
    }

    function getTotalSupply() external view returns (uint256) {
        return totalSupply();
    }

    function getContractOwner() public view returns (address) {    
        return owner();
    }

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

    function reserveNft() public onlyAuthorized {
        require(reservedCount <= maxReserveCount, "Max Reserves taken already!");
        uint256 supply = totalSupply();
        uint256 i;
        for (i = 0; i < reserveAtATime; i++) {
            emit AssetMinted(supply + i, msg.sender);
            _safeMint(msg.sender, supply + i);
            reservedCount++;
        }  
    }

    function mint(address _to, uint256 _count) public payable saleIsOpen {
        if (msg.sender != owner()) {
            require(isActive, "Sale is not active currently.");
        }
        
        require(totalSupply() + _count <= MAX_MINTSUPPLY, "Total supply exceeded.");
        require(totalSupply() <= MAX_MINTSUPPLY, "Total supply spent.");
        require(
            _count <= maximumAllowedTokensPerPurchase,
            "Exceeds maximum allowed tokens"
        );
        require(msg.value >= basePrice * _count, "Insuffient ETH amount sent.");

        for (uint256 i = 0; i < _count; i++) {
            emit AssetMinted(totalSupply(), _to);
            _safeMint(_to, totalSupply());
        }
    }

  function preSaleMint(uint256 _count) public payable saleIsOpen {
    require(isAllowListActive, 'Allow List is not active');
    require(_allowList[msg.sender], 'You are not on the Allow List');
    require(totalSupply() < MAX_MINTSUPPLY, 'All tokens have been minted');
    require(_count <= allowListMaxMint, 'Cannot purchase this many tokens');
    require(_allowListClaimed[msg.sender] + _count <= allowListMaxMint, 'Purchase exceeds max allowed');
    require(msg.value >= basePrice * _count, 'Insuffient ETH amount sent.');

    for (uint256 i = 0; i < _count; i++) {
      _allowListClaimed[msg.sender] += 1;
      emit AssetMinted(totalSupply(), msg.sender);
      _safeMint(msg.sender, totalSupply());
    }
  }


  function walletOfOwner(address _owner) external view returns(uint256[] memory) {
    uint tokenCount = balanceOf(_owner);
    uint256[] memory tokensId = new uint256[](tokenCount);
    for(uint i = 0; i < tokenCount; i++){
        tokensId[i] = tokenOfOwnerByIndex(_owner, i);
    }
    return tokensId;
  }

  function withdraw() external onlyAuthorized {
    uint balance = address(this).balance;
    payable(MPAddress).transfer(balance * 300 / 10000);
    payable(ProjectAddress).transfer(balance * 4100 / 10000);
    payable(MarcelAddress).transfer(balance * 2000 / 10000);
    payable(owner()).transfer(address(this).balance);
  }
}

File 2 of 13 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

File 3 of 13 : ERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../ERC721.sol";
import "./IERC721Enumerable.sol";

/**
 * @dev This implements an optional extension of {ERC721} defined in the EIP that adds
 * enumerability of all the token ids in the contract as well as all token ids owned by each
 * account.
 */
abstract contract ERC721Enumerable is ERC721, IERC721Enumerable {
    // Mapping from owner to list of owned token IDs
    mapping(address => mapping(uint256 => uint256)) private _ownedTokens;

    // Mapping from token ID to index of the owner tokens list
    mapping(uint256 => uint256) private _ownedTokensIndex;

    // Array with all token ids, used for enumeration
    uint256[] private _allTokens;

    // Mapping from token id to position in the allTokens array
    mapping(uint256 => uint256) private _allTokensIndex;

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

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds");
        return _ownedTokens[owner][index];
    }

    /**
     * @dev See {IERC721Enumerable-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _allTokens.length;
    }

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     */
    function tokenByIndex(uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds");
        return _allTokens[index];
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * 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, ``from``'s `tokenId` will be burned.
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual override {
        super._beforeTokenTransfer(from, to, tokenId);

        if (from == address(0)) {
            _addTokenToAllTokensEnumeration(tokenId);
        } else if (from != to) {
            _removeTokenFromOwnerEnumeration(from, tokenId);
        }
        if (to == address(0)) {
            _removeTokenFromAllTokensEnumeration(tokenId);
        } else if (to != from) {
            _addTokenToOwnerEnumeration(to, tokenId);
        }
    }

    /**
     * @dev Private function to add a token to this extension's ownership-tracking data structures.
     * @param to address representing the new owner of the given token ID
     * @param tokenId uint256 ID of the token to be added to the tokens list of the given address
     */
    function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private {
        uint256 length = ERC721.balanceOf(to);
        _ownedTokens[to][length] = tokenId;
        _ownedTokensIndex[tokenId] = length;
    }

    /**
     * @dev Private function to add a token to this extension's token tracking data structures.
     * @param tokenId uint256 ID of the token to be added to the tokens list
     */
    function _addTokenToAllTokensEnumeration(uint256 tokenId) private {
        _allTokensIndex[tokenId] = _allTokens.length;
        _allTokens.push(tokenId);
    }

    /**
     * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that
     * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for
     * gas optimizations e.g. when performing a transfer operation (avoiding double writes).
     * This has O(1) time complexity, but alters the order of the _ownedTokens array.
     * @param from address representing the previous owner of the given token ID
     * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address
     */
    function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private {
        // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = ERC721.balanceOf(from) - 1;
        uint256 tokenIndex = _ownedTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary
        if (tokenIndex != lastTokenIndex) {
            uint256 lastTokenId = _ownedTokens[from][lastTokenIndex];

            _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
            _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index
        }

        // This also deletes the contents at the last position of the array
        delete _ownedTokensIndex[tokenId];
        delete _ownedTokens[from][lastTokenIndex];
    }

    /**
     * @dev Private function to remove a token from this extension's token tracking data structures.
     * This has O(1) time complexity, but alters the order of the _allTokens array.
     * @param tokenId uint256 ID of the token to be removed from the tokens list
     */
    function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private {
        // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = _allTokens.length - 1;
        uint256 tokenIndex = _allTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so
        // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding
        // an 'if' statement (like in _removeTokenFromOwnerEnumeration)
        uint256 lastTokenId = _allTokens[lastTokenIndex];

        _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
        _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index

        // This also deletes the contents at the last position of the array
        delete _allTokensIndex[tokenId];
        _allTokens.pop();
    }
}

File 4 of 13 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT

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

    /**
     * @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 5 of 13 : ERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC721.sol";
import "./IERC721Receiver.sol";
import "./extensions/IERC721Metadata.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/Strings.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension, but not including the Enumerable extension, which is available separately as
 * {ERC721Enumerable}.
 */
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to owner address
    mapping(uint256 => address) private _owners;

    // Mapping owner address to token count
    mapping(address => uint256) private _balances;

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

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

    /**
     * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @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 ||
            super.supportsInterface(interfaceId);
    }

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        require(owner != address(0), "ERC721: balance query for the zero address");
        return _balances[owner];
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        address owner = _owners[tokenId];
        require(owner != address(0), "ERC721: owner query for nonexistent token");
        return owner;
    }

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

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

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");

        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 virtual override {
        address owner = ERC721.ownerOf(tokenId);
        require(to != owner, "ERC721: approval to current owner");

        require(
            _msgSender() == owner || isApprovedForAll(owner, _msgSender()),
            "ERC721: approve caller is not owner nor approved for all"
        );

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        require(_exists(tokenId), "ERC721: approved query for nonexistent token");

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        require(operator != _msgSender(), "ERC721: approve to caller");

        _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 {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");

        _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 {
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");
        _safeTransfer(from, to, tokenId, _data);
    }

    /**
     * @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.
     *
     * `_data` is additional data, it has no specified format and it is sent in call to `to`.
     *
     * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
     * implement alternative mechanisms to perform token transfer, such as signature-based.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeTransfer(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _transfer(from, to, tokenId);
        require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer");
    }

    /**
     * @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`),
     * and stop existing when they are burned (`_burn`).
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return _owners[tokenId] != address(0);
    }

    /**
     * @dev Returns whether `spender` is allowed to manage `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {
        require(_exists(tokenId), "ERC721: operator query for nonexistent token");
        address owner = ERC721.ownerOf(tokenId);
        return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender));
    }

    /**
     * @dev Safely mints `tokenId` and transfers it to `to`.
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(address to, uint256 tokenId) internal virtual {
        _safeMint(to, tokenId, "");
    }

    /**
     * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is
     * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
     */
    function _safeMint(
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _mint(to, tokenId);
        require(
            _checkOnERC721Received(address(0), to, tokenId, _data),
            "ERC721: transfer to non ERC721Receiver implementer"
        );
    }

    /**
     * @dev Mints `tokenId` and transfers it to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - `to` cannot be the zero address.
     *
     * Emits a {Transfer} event.
     */
    function _mint(address to, uint256 tokenId) internal virtual {
        require(to != address(0), "ERC721: mint to the zero address");
        require(!_exists(tokenId), "ERC721: token already minted");

        _beforeTokenTransfer(address(0), to, tokenId);

        _balances[to] += 1;
        _owners[tokenId] = to;

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

    /**
     * @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 {
        address owner = ERC721.ownerOf(tokenId);

        _beforeTokenTransfer(owner, address(0), tokenId);

        // Clear approvals
        _approve(address(0), tokenId);

        _balances[owner] -= 1;
        delete _owners[tokenId];

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

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *  As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
     *
     * 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
    ) internal virtual {
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own");
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId);

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

        _balances[from] -= 1;
        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);
    }

    /**
     * @dev Approve `to` to operate on `tokenId`
     *
     * Emits a {Approval} event.
     */
    function _approve(address to, uint256 tokenId) internal virtual {
        _tokenApprovals[tokenId] = to;
        emit Approval(ERC721.ownerOf(tokenId), 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.onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert("ERC721: transfer to non ERC721Receiver implementer");
                } else {
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * 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, ``from``'s `tokenId` will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}
}

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

pragma solidity ^0.8.0;

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

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

File 7 of 13 : IERC721.sol
// SPDX-License-Identifier: MIT

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 8 of 13 : ERC165.sol
// SPDX-License-Identifier: MIT

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 9 of 13 : Strings.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

File 10 of 13 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @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
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 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 11 of 13 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT

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 12 of 13 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT

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 13 of 13 : IERC165.sol
// SPDX-License-Identifier: MIT

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",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"address","name":"sender","type":"address"}],"name":"AssetMinted","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":false,"internalType":"bool","name":"isActive","type":"bool"}],"name":"SaleActivation","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_MINTSUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"}],"name":"addToAllowList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"allowListClaimedBy","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"allowListMaxMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"checkIfOnAllowList","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getContractOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMaximumAllowedTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getReserveAtATime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTotalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isAllowListActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maximumAllowedTokensPerPurchase","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_count","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_count","type":"uint256"}],"name":"preSaleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"}],"name":"removeFromAllowList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reserveNft","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"val","type":"bool"}],"name":"setActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxMint","type":"uint256"}],"name":"setAllowListMaxMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isAllowListActive","type":"bool"}],"name":"setIsAllowListActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"val","type":"uint256"}],"name":"setMaxReserve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_count","type":"uint256"}],"name":"setMaximumAllowedTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"val","type":"uint256"}],"name":"setReserveAtATime","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":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526701118f178fb48000600b556019600c556000600d5560c8600e5573aa0d34b3ac6420b769dde4783bb1a95f157dddf5600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073435e71ff5f32682b30b4a95cd0b672457daba776601060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550739820a642879e0d5c68a7d4eb9269a38d70406c09601160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000601360006101000a81548160ff0219169083151502179055506000601360016101000a81548160ff021916908315150217905550600a60145560036015553480156200016b57600080fd5b50604051620061233803806200612383398181016040528101906200019191906200054c565b6040518060400160405280600d81526020017f47616d626c696e672041706573000000000000000000000000000000000000008152506040518060400160405280600281526020017f47410000000000000000000000000000000000000000000000000000000000008152508160009080519060200190620002159291906200041e565b5080600190805190602001906200022e9291906200041e565b50505062000251620002456200026960201b60201c565b6200027160201b60201c565b62000262816200033760201b60201c565b5062000721565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b3373ffffffffffffffffffffffffffffffffffffffff16600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161480620003ce57503373ffffffffffffffffffffffffffffffffffffffff16620003b6620003f460201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16145b620003d857600080fd5b8060129080519060200190620003f09291906200041e565b5050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b8280546200042c9062000632565b90600052602060002090601f0160209004810192826200045057600085556200049c565b82601f106200046b57805160ff19168380011785556200049c565b828001600101855582156200049c579182015b828111156200049b5782518255916020019190600101906200047e565b5b509050620004ab9190620004af565b5090565b5b80821115620004ca576000816000905550600101620004b0565b5090565b6000620004e5620004df84620005c6565b6200059d565b90508281526020810184848401111562000504576200050362000701565b5b62000511848285620005fc565b509392505050565b600082601f830112620005315762000530620006fc565b5b815162000543848260208601620004ce565b91505092915050565b6000602082840312156200056557620005646200070b565b5b600082015167ffffffffffffffff81111562000586576200058562000706565b5b620005948482850162000519565b91505092915050565b6000620005a9620005bc565b9050620005b7828262000668565b919050565b6000604051905090565b600067ffffffffffffffff821115620005e457620005e3620006cd565b5b620005ef8262000710565b9050602081019050919050565b60005b838110156200061c578082015181840152602081019050620005ff565b838111156200062c576000848401525b50505050565b600060028204905060018216806200064b57607f821691505b602082108114156200066257620006616200069e565b5b50919050565b620006738262000710565b810181811067ffffffffffffffff82111715620006955762000694620006cd565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b6159f280620007316000396000f3fe60806040526004361061027c5760003560e01c8063715018a61161014f5780639a3bf728116100c1578063c4e41b221161007a578063c4e41b2214610965578063c87b56dd14610990578063e7b62d96146109cd578063e985e9c5146109f8578063f2fde38b14610a35578063f6c9d9e314610a5e5761027c565b80639a3bf7281461086b578063a22cb46514610896578063a51312c8146108bf578063acec338a146108e8578063ad06d75814610911578063b88d4fde1461093c5761027c565b80637a6685f1116101135780637a6685f11461076d5780637f44ab2f146107965780638da5cb5b146107c157806391b7f5ed146107ec57806395d89b411461081557806398d5fdca146108405761027c565b8063715018a6146106d1578063718bc4af146106e857806371e3500c146107115780637263cfe2146107285780637835c635146107515761027c565b80632f745c59116101f35780634dfea627116101ac5780634dfea6271461059f5780634f6ccce7146105c857806355f804b31461060557806356a87caa1461062e5780636352211e1461065757806370a08231146106945761027c565b80632f745c591461049e5780633ccfd60b146104db57806340c10f19146104f257806342842e0e1461050e578063438b630014610537578063442890d5146105745761027c565b806318160ddd1161024557806318160ddd1461038c57806322e63d2e146103b757806322f3e2d4146103e257806323b872dd1461040d57806329fc6bae146104365780632c1205f4146104615761027c565b806208ffdd1461028157806301ffc9a7146102be57806306fdde03146102fb578063081812fc14610326578063095ea7b314610363575b600080fd5b34801561028d57600080fd5b506102a860048036038101906102a39190613f48565b610a87565b6040516102b59190614cf4565b60405180910390f35b3480156102ca57600080fd5b506102e560048036038101906102e09190614185565b610b3f565b6040516102f291906148b7565b60405180910390f35b34801561030757600080fd5b50610310610bb9565b60405161031d91906148d2565b60405180910390f35b34801561033257600080fd5b5061034d60048036038101906103489190614228565b610c4b565b60405161035a919061482e565b60405180910390f35b34801561036f57600080fd5b5061038a600480360381019061038591906140cb565b610cd0565b005b34801561039857600080fd5b506103a1610de8565b6040516103ae9190614cf4565b60405180910390f35b3480156103c357600080fd5b506103cc610df5565b6040516103d99190614cf4565b60405180910390f35b3480156103ee57600080fd5b506103f7610dfb565b60405161040491906148b7565b60405180910390f35b34801561041957600080fd5b50610434600480360381019061042f9190613fb5565b610e0e565b005b34801561044257600080fd5b5061044b610e6e565b60405161045891906148b7565b60405180910390f35b34801561046d57600080fd5b5061048860048036038101906104839190613f48565b610e81565b60405161049591906148b7565b60405180910390f35b3480156104aa57600080fd5b506104c560048036038101906104c091906140cb565b610ed7565b6040516104d29190614cf4565b60405180910390f35b3480156104e757600080fd5b506104f0610f7c565b005b61050c600480360381019061050791906140cb565b6111f2565b005b34801561051a57600080fd5b5061053560048036038101906105309190613fb5565b611474565b005b34801561054357600080fd5b5061055e60048036038101906105599190613f48565b611494565b60405161056b9190614895565b60405180910390f35b34801561058057600080fd5b50610589611542565b604051610596919061482e565b60405180910390f35b3480156105ab57600080fd5b506105c660048036038101906105c19190614228565b611551565b005b3480156105d457600080fd5b506105ef60048036038101906105ea9190614228565b6115f2565b6040516105fc9190614cf4565b60405180910390f35b34801561061157600080fd5b5061062c600480360381019061062791906141df565b611663565b005b34801561063a57600080fd5b5061065560048036038101906106509190614228565b611714565b005b34801561066357600080fd5b5061067e60048036038101906106799190614228565b6117b5565b60405161068b919061482e565b60405180910390f35b3480156106a057600080fd5b506106bb60048036038101906106b69190613f48565b611867565b6040516106c89190614cf4565b60405180910390f35b3480156106dd57600080fd5b506106e661191f565b005b3480156106f457600080fd5b5061070f600480360381019061070a9190614158565b6119a7565b005b34801561071d57600080fd5b50610726611a5b565b005b34801561073457600080fd5b5061074f600480360381019061074a919061410b565b611bda565b005b61076b60048036038101906107669190614228565b611e8b565b005b34801561077957600080fd5b50610794600480360381019061078f9190614228565b6121eb565b005b3480156107a257600080fd5b506107ab61228c565b6040516107b89190614cf4565b60405180910390f35b3480156107cd57600080fd5b506107d6612292565b6040516107e3919061482e565b60405180910390f35b3480156107f857600080fd5b50610813600480360381019061080e9190614228565b6122bc565b005b34801561082157600080fd5b5061082a61235d565b60405161083791906148d2565b60405180910390f35b34801561084c57600080fd5b506108556123ef565b6040516108629190614cf4565b60405180910390f35b34801561087757600080fd5b506108806123f9565b60405161088d9190614cf4565b60405180910390f35b3480156108a257600080fd5b506108bd60048036038101906108b8919061408b565b6123ff565b005b3480156108cb57600080fd5b506108e660048036038101906108e1919061410b565b612580565b005b3480156108f457600080fd5b5061090f600480360381019061090a9190614158565b612753565b005b34801561091d57600080fd5b5061092661283e565b6040516109339190614cf4565b60405180910390f35b34801561094857600080fd5b50610963600480360381019061095e9190614008565b6128df565b005b34801561097157600080fd5b5061097a612941565b6040516109879190614cf4565b60405180910390f35b34801561099c57600080fd5b506109b760048036038101906109b29190614228565b612950565b6040516109c491906148d2565b60405180910390f35b3480156109d957600080fd5b506109e26129f7565b6040516109ef9190614cf4565b60405180910390f35b348015610a0457600080fd5b50610a1f6004803603810190610a1a9190613f75565b612a01565b604051610a2c91906148b7565b60405180910390f35b348015610a4157600080fd5b50610a5c6004803603810190610a579190613f48565b612a95565b005b348015610a6a57600080fd5b50610a856004803603810190610a809190614228565b612b8d565b005b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610af8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aef90614b54565b60405180910390fd5b601760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610bb25750610bb182612c2e565b5b9050919050565b606060008054610bc890615006565b80601f0160208091040260200160405190810160405280929190818152602001828054610bf490615006565b8015610c415780601f10610c1657610100808354040283529160200191610c41565b820191906000526020600020905b815481529060010190602001808311610c2457829003601f168201915b5050505050905090565b6000610c5682612d10565b610c95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c8c90614af4565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610cdb826117b5565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610d4c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d4390614bd4565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610d6b612d7c565b73ffffffffffffffffffffffffffffffffffffffff161480610d9a5750610d9981610d94612d7c565b612a01565b5b610dd9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dd090614a74565b60405180910390fd5b610de38383612d84565b505050565b6000600880549050905090565b611e6181565b601360009054906101000a900460ff1681565b610e1f610e19612d7c565b82612e3d565b610e5e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e5590614c14565b60405180910390fd5b610e69838383612f1b565b505050565b601360019054906101000a900460ff1681565b6000601660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b6000610ee283611867565b8210610f23576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f1a90614974565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b3373ffffffffffffffffffffffffffffffffffffffff16600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16148061100a57503373ffffffffffffffffffffffffffffffffffffffff16610ff2612292565b73ffffffffffffffffffffffffffffffffffffffff16145b61101357600080fd5b6000479050600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc61271061012c846110659190614ec2565b61106f9190614e91565b9081150290604051600060405180830381858888f1935050505015801561109a573d6000803e3d6000fd5b50601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc612710611004846110e89190614ec2565b6110f29190614e91565b9081150290604051600060405180830381858888f1935050505015801561111d573d6000803e3d6000fd5b50601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc6127106107d08461116b9190614ec2565b6111759190614e91565b9081150290604051600060405180830381858888f193505050501580156111a0573d6000803e3d6000fd5b506111a9612292565b73ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f193505050501580156111ee573d6000803e3d6000fd5b5050565b611e616111fd610de8565b111561123e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611235906149f4565b60405180910390fd5b611246612292565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146112c857601360009054906101000a900460ff166112c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112be90614954565b60405180910390fd5b5b611e61816112d4610de8565b6112de9190614e3b565b111561131f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161131690614bf4565b60405180910390fd5b611e6161132a610de8565b111561136b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161136290614c54565b60405180910390fd5b6014548111156113b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113a790614bb4565b60405180910390fd5b80600b546113be9190614ec2565b341015611400576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113f790614c74565b60405180910390fd5b60005b8181101561146f577f55f284809f4c5b7377fbe62f2feeb9686e3834dcae5f3ca955140fe6547cd355611434610de8565b84604051611443929190614d0f565b60405180910390a161145c83611457610de8565b613177565b808061146790615069565b915050611403565b505050565b61148f838383604051806020016040528060008152506128df565b505050565b606060006114a183611867565b905060008167ffffffffffffffff8111156114bf576114be6151ce565b5b6040519080825280602002602001820160405280156114ed5781602001602082028036833780820191505090505b50905060005b82811015611537576115058582610ed7565b8282815181106115185761151761519f565b5b602002602001018181525050808061152f90615069565b9150506114f3565b508092505050919050565b600061154c612292565b905090565b3373ffffffffffffffffffffffffffffffffffffffff16600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614806115df57503373ffffffffffffffffffffffffffffffffffffffff166115c7612292565b73ffffffffffffffffffffffffffffffffffffffff16145b6115e857600080fd5b8060148190555050565b60006115fc610de8565b821061163d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161163490614c34565b60405180910390fd5b600882815481106116515761165061519f565b5b90600052602060002001549050919050565b3373ffffffffffffffffffffffffffffffffffffffff16600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614806116f157503373ffffffffffffffffffffffffffffffffffffffff166116d9612292565b73ffffffffffffffffffffffffffffffffffffffff16145b6116fa57600080fd5b8060129080519060200190611710929190613d06565b5050565b3373ffffffffffffffffffffffffffffffffffffffff16600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614806117a257503373ffffffffffffffffffffffffffffffffffffffff1661178a612292565b73ffffffffffffffffffffffffffffffffffffffff16145b6117ab57600080fd5b80600e8190555050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561185e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161185590614ab4565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156118d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118cf90614a94565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611927612d7c565b73ffffffffffffffffffffffffffffffffffffffff16611945612292565b73ffffffffffffffffffffffffffffffffffffffff161461199b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161199290614b34565b60405180910390fd5b6119a56000613195565b565b3373ffffffffffffffffffffffffffffffffffffffff16600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161480611a3557503373ffffffffffffffffffffffffffffffffffffffff16611a1d612292565b73ffffffffffffffffffffffffffffffffffffffff16145b611a3e57600080fd5b80601360016101000a81548160ff02191690831515021790555050565b3373ffffffffffffffffffffffffffffffffffffffff16600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161480611ae957503373ffffffffffffffffffffffffffffffffffffffff16611ad1612292565b73ffffffffffffffffffffffffffffffffffffffff16145b611af257600080fd5b600e54600d541115611b39576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b30906148f4565b60405180910390fd5b6000611b43610de8565b905060005b600c54811015611bd6577f55f284809f4c5b7377fbe62f2feeb9686e3834dcae5f3ca955140fe6547cd3558183611b7f9190614e3b565b33604051611b8e929190614d0f565b60405180910390a1611bab338284611ba69190614e3b565b613177565b600d6000815480929190611bbe90615069565b91905055508080611bce90615069565b915050611b48565b5050565b3373ffffffffffffffffffffffffffffffffffffffff16600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161480611c6857503373ffffffffffffffffffffffffffffffffffffffff16611c50612292565b73ffffffffffffffffffffffffffffffffffffffff16145b611c7157600080fd5b60005b82829050811015611e8657600073ffffffffffffffffffffffffffffffffffffffff16838383818110611caa57611ca961519f565b5b9050602002016020810190611cbf9190613f48565b73ffffffffffffffffffffffffffffffffffffffff161415611d16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d0d90614b14565b60405180910390fd5b600160166000858585818110611d2f57611d2e61519f565b5b9050602002016020810190611d449190613f48565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550600060176000858585818110611dae57611dad61519f565b5b9050602002016020810190611dc39190613f48565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411611e0a576000611e72565b60176000848484818110611e2157611e2061519f565b5b9050602002016020810190611e369190613f48565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020545b508080611e7e90615069565b915050611c74565b505050565b611e61611e96610de8565b1115611ed7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ece906149f4565b60405180910390fd5b601360019054906101000a900460ff16611f26576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f1d90614914565b60405180910390fd5b601660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611fb2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fa990614934565b60405180910390fd5b611e61611fbd610de8565b10611ffd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ff490614cb4565b60405180910390fd5b601554811115612042576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161203990614cd4565b60405180910390fd5b60155481601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546120909190614e3b565b11156120d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120c890614c94565b60405180910390fd5b80600b546120df9190614ec2565b341015612121576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161211890614c74565b60405180910390fd5b60005b818110156121e7576001601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461217c9190614e3b565b925050819055507f55f284809f4c5b7377fbe62f2feeb9686e3834dcae5f3ca955140fe6547cd3556121ac610de8565b336040516121bb929190614d0f565b60405180910390a16121d4336121cf610de8565b613177565b80806121df90615069565b915050612124565b5050565b3373ffffffffffffffffffffffffffffffffffffffff16600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16148061227957503373ffffffffffffffffffffffffffffffffffffffff16612261612292565b73ffffffffffffffffffffffffffffffffffffffff16145b61228257600080fd5b8060158190555050565b60155481565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b3373ffffffffffffffffffffffffffffffffffffffff16600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16148061234a57503373ffffffffffffffffffffffffffffffffffffffff16612332612292565b73ffffffffffffffffffffffffffffffffffffffff16145b61235357600080fd5b80600b8190555050565b60606001805461236c90615006565b80601f016020809104026020016040519081016040528092919081815260200182805461239890615006565b80156123e55780601f106123ba576101008083540402835291602001916123e5565b820191906000526020600020905b8154815290600101906020018083116123c857829003601f168201915b5050505050905090565b6000600b54905090565b60145481565b612407612d7c565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612475576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161246c90614a34565b60405180910390fd5b8060056000612482612d7c565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661252f612d7c565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161257491906148b7565b60405180910390a35050565b3373ffffffffffffffffffffffffffffffffffffffff16600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16148061260e57503373ffffffffffffffffffffffffffffffffffffffff166125f6612292565b73ffffffffffffffffffffffffffffffffffffffff16145b61261757600080fd5b60005b8282905081101561274e57600073ffffffffffffffffffffffffffffffffffffffff168383838181106126505761264f61519f565b5b90506020020160208101906126659190613f48565b73ffffffffffffffffffffffffffffffffffffffff1614156126bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126b390614b14565b60405180910390fd5b6000601660008585858181106126d5576126d461519f565b5b90506020020160208101906126ea9190613f48565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550808061274690615069565b91505061261a565b505050565b3373ffffffffffffffffffffffffffffffffffffffff16600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614806127e157503373ffffffffffffffffffffffffffffffffffffffff166127c9612292565b73ffffffffffffffffffffffffffffffffffffffff16145b6127ea57600080fd5b80601360006101000a81548160ff0219169083151502179055507f58655b75d3df612fe99ead00dbf0812d415d35078fe06217a94c0818bb13967f8160405161283391906148b7565b60405180910390a150565b60003373ffffffffffffffffffffffffffffffffffffffff16600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614806128ce57503373ffffffffffffffffffffffffffffffffffffffff166128b6612292565b73ffffffffffffffffffffffffffffffffffffffff16145b6128d757600080fd5b601454905090565b6128f06128ea612d7c565b83612e3d565b61292f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161292690614c14565b60405180910390fd5b61293b8484848461325b565b50505050565b600061294b610de8565b905090565b606061295b82612d10565b61299a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161299190614b94565b60405180910390fd5b60006129a46132b7565b905060008151116129c457604051806020016040528060008152506129ef565b806129ce84613349565b6040516020016129df92919061480a565b6040516020818303038152906040525b915050919050565b6000600c54905090565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b612a9d612d7c565b73ffffffffffffffffffffffffffffffffffffffff16612abb612292565b73ffffffffffffffffffffffffffffffffffffffff1614612b11576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b0890614b34565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612b81576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b78906149b4565b60405180910390fd5b612b8a81613195565b50565b3373ffffffffffffffffffffffffffffffffffffffff16600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161480612c1b57503373ffffffffffffffffffffffffffffffffffffffff16612c03612292565b73ffffffffffffffffffffffffffffffffffffffff16145b612c2457600080fd5b80600c8190555050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612cf957507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612d095750612d08826134aa565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612df7836117b5565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000612e4882612d10565b612e87576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e7e90614a54565b60405180910390fd5b6000612e92836117b5565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612f0157508373ffffffffffffffffffffffffffffffffffffffff16612ee984610c4b565b73ffffffffffffffffffffffffffffffffffffffff16145b80612f125750612f118185612a01565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612f3b826117b5565b73ffffffffffffffffffffffffffffffffffffffff1614612f91576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f8890614b74565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613001576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ff890614a14565b60405180910390fd5b61300c838383613514565b613017600082612d84565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546130679190614f1c565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546130be9190614e3b565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b613191828260405180602001604052806000815250613628565b5050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b613266848484612f1b565b61327284848484613683565b6132b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132a890614994565b60405180910390fd5b50505050565b6060601280546132c690615006565b80601f01602080910402602001604051908101604052809291908181526020018280546132f290615006565b801561333f5780601f106133145761010080835404028352916020019161333f565b820191906000526020600020905b81548152906001019060200180831161332257829003601f168201915b5050505050905090565b60606000821415613391576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506134a5565b600082905060005b600082146133c35780806133ac90615069565b915050600a826133bc9190614e91565b9150613399565b60008167ffffffffffffffff8111156133df576133de6151ce565b5b6040519080825280601f01601f1916602001820160405280156134115781602001600182028036833780820191505090505b5090505b6000851461349e5760018261342a9190614f1c565b9150600a8561343991906150b2565b60306134459190614e3b565b60f81b81838151811061345b5761345a61519f565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856134979190614e91565b9450613415565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b61351f83838361381a565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156135625761355d8161381f565b6135a1565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146135a05761359f8382613868565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156135e4576135df816139d5565b613623565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614613622576136218282613aa6565b5b5b505050565b6136328383613b25565b61363f6000848484613683565b61367e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161367590614994565b60405180910390fd5b505050565b60006136a48473ffffffffffffffffffffffffffffffffffffffff16613cf3565b1561380d578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026136cd612d7c565b8786866040518563ffffffff1660e01b81526004016136ef9493929190614849565b602060405180830381600087803b15801561370957600080fd5b505af192505050801561373a57506040513d601f19601f8201168201806040525081019061373791906141b2565b60015b6137bd573d806000811461376a576040519150601f19603f3d011682016040523d82523d6000602084013e61376f565b606091505b506000815114156137b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016137ac90614994565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613812565b600190505b949350505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161387584611867565b61387f9190614f1c565b9050600060076000848152602001908152602001600020549050818114613964576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506139e99190614f1c565b9050600060096000848152602001908152602001600020549050600060088381548110613a1957613a1861519f565b5b906000526020600020015490508060088381548110613a3b57613a3a61519f565b5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613a8a57613a89615170565b5b6001900381819060005260206000200160009055905550505050565b6000613ab183611867565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613b95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613b8c90614ad4565b60405180910390fd5b613b9e81612d10565b15613bde576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613bd5906149d4565b60405180910390fd5b613bea60008383613514565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613c3a9190614e3b565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b828054613d1290615006565b90600052602060002090601f016020900481019282613d345760008555613d7b565b82601f10613d4d57805160ff1916838001178555613d7b565b82800160010185558215613d7b579182015b82811115613d7a578251825591602001919060010190613d5f565b5b509050613d889190613d8c565b5090565b5b80821115613da5576000816000905550600101613d8d565b5090565b6000613dbc613db784614d5d565b614d38565b905082815260208101848484011115613dd857613dd761520c565b5b613de3848285614fc4565b509392505050565b6000613dfe613df984614d8e565b614d38565b905082815260208101848484011115613e1a57613e1961520c565b5b613e25848285614fc4565b509392505050565b600081359050613e3c81615960565b92915050565b60008083601f840112613e5857613e57615202565b5b8235905067ffffffffffffffff811115613e7557613e746151fd565b5b602083019150836020820283011115613e9157613e90615207565b5b9250929050565b600081359050613ea781615977565b92915050565b600081359050613ebc8161598e565b92915050565b600081519050613ed18161598e565b92915050565b600082601f830112613eec57613eeb615202565b5b8135613efc848260208601613da9565b91505092915050565b600082601f830112613f1a57613f19615202565b5b8135613f2a848260208601613deb565b91505092915050565b600081359050613f42816159a5565b92915050565b600060208284031215613f5e57613f5d615216565b5b6000613f6c84828501613e2d565b91505092915050565b60008060408385031215613f8c57613f8b615216565b5b6000613f9a85828601613e2d565b9250506020613fab85828601613e2d565b9150509250929050565b600080600060608486031215613fce57613fcd615216565b5b6000613fdc86828701613e2d565b9350506020613fed86828701613e2d565b9250506040613ffe86828701613f33565b9150509250925092565b6000806000806080858703121561402257614021615216565b5b600061403087828801613e2d565b945050602061404187828801613e2d565b935050604061405287828801613f33565b925050606085013567ffffffffffffffff81111561407357614072615211565b5b61407f87828801613ed7565b91505092959194509250565b600080604083850312156140a2576140a1615216565b5b60006140b085828601613e2d565b92505060206140c185828601613e98565b9150509250929050565b600080604083850312156140e2576140e1615216565b5b60006140f085828601613e2d565b925050602061410185828601613f33565b9150509250929050565b6000806020838503121561412257614121615216565b5b600083013567ffffffffffffffff8111156141405761413f615211565b5b61414c85828601613e42565b92509250509250929050565b60006020828403121561416e5761416d615216565b5b600061417c84828501613e98565b91505092915050565b60006020828403121561419b5761419a615216565b5b60006141a984828501613ead565b91505092915050565b6000602082840312156141c8576141c7615216565b5b60006141d684828501613ec2565b91505092915050565b6000602082840312156141f5576141f4615216565b5b600082013567ffffffffffffffff81111561421357614212615211565b5b61421f84828501613f05565b91505092915050565b60006020828403121561423e5761423d615216565b5b600061424c84828501613f33565b91505092915050565b600061426183836147ec565b60208301905092915050565b61427681614f50565b82525050565b600061428782614dcf565b6142918185614dfd565b935061429c83614dbf565b8060005b838110156142cd5781516142b48882614255565b97506142bf83614df0565b9250506001810190506142a0565b5085935050505092915050565b6142e381614f62565b82525050565b60006142f482614dda565b6142fe8185614e0e565b935061430e818560208601614fd3565b6143178161521b565b840191505092915050565b600061432d82614de5565b6143378185614e1f565b9350614347818560208601614fd3565b6143508161521b565b840191505092915050565b600061436682614de5565b6143708185614e30565b9350614380818560208601614fd3565b80840191505092915050565b6000614399601b83614e1f565b91506143a48261522c565b602082019050919050565b60006143bc601883614e1f565b91506143c782615255565b602082019050919050565b60006143df601d83614e1f565b91506143ea8261527e565b602082019050919050565b6000614402601d83614e1f565b915061440d826152a7565b602082019050919050565b6000614425602b83614e1f565b9150614430826152d0565b604082019050919050565b6000614448603283614e1f565b91506144538261531f565b604082019050919050565b600061446b602683614e1f565b91506144768261536e565b604082019050919050565b600061448e601c83614e1f565b9150614499826153bd565b602082019050919050565b60006144b1600f83614e1f565b91506144bc826153e6565b602082019050919050565b60006144d4602483614e1f565b91506144df8261540f565b604082019050919050565b60006144f7601983614e1f565b91506145028261545e565b602082019050919050565b600061451a602c83614e1f565b915061452582615487565b604082019050919050565b600061453d603883614e1f565b9150614548826154d6565b604082019050919050565b6000614560602a83614e1f565b915061456b82615525565b604082019050919050565b6000614583602983614e1f565b915061458e82615574565b604082019050919050565b60006145a6602083614e1f565b91506145b1826155c3565b602082019050919050565b60006145c9602c83614e1f565b91506145d4826155ec565b604082019050919050565b60006145ec601883614e1f565b91506145f78261563b565b602082019050919050565b600061460f602083614e1f565b915061461a82615664565b602082019050919050565b6000614632601e83614e1f565b915061463d8261568d565b602082019050919050565b6000614655602983614e1f565b9150614660826156b6565b604082019050919050565b6000614678602f83614e1f565b915061468382615705565b604082019050919050565b600061469b601e83614e1f565b91506146a682615754565b602082019050919050565b60006146be602183614e1f565b91506146c98261577d565b604082019050919050565b60006146e1601683614e1f565b91506146ec826157cc565b602082019050919050565b6000614704603183614e1f565b915061470f826157f5565b604082019050919050565b6000614727602c83614e1f565b915061473282615844565b604082019050919050565b600061474a601383614e1f565b915061475582615893565b602082019050919050565b600061476d601b83614e1f565b9150614778826158bc565b602082019050919050565b6000614790601c83614e1f565b915061479b826158e5565b602082019050919050565b60006147b3601b83614e1f565b91506147be8261590e565b602082019050919050565b60006147d6602083614e1f565b91506147e182615937565b602082019050919050565b6147f581614fba565b82525050565b61480481614fba565b82525050565b6000614816828561435b565b9150614822828461435b565b91508190509392505050565b6000602082019050614843600083018461426d565b92915050565b600060808201905061485e600083018761426d565b61486b602083018661426d565b61487860408301856147fb565b818103606083015261488a81846142e9565b905095945050505050565b600060208201905081810360008301526148af818461427c565b905092915050565b60006020820190506148cc60008301846142da565b92915050565b600060208201905081810360008301526148ec8184614322565b905092915050565b6000602082019050818103600083015261490d8161438c565b9050919050565b6000602082019050818103600083015261492d816143af565b9050919050565b6000602082019050818103600083015261494d816143d2565b9050919050565b6000602082019050818103600083015261496d816143f5565b9050919050565b6000602082019050818103600083015261498d81614418565b9050919050565b600060208201905081810360008301526149ad8161443b565b9050919050565b600060208201905081810360008301526149cd8161445e565b9050919050565b600060208201905081810360008301526149ed81614481565b9050919050565b60006020820190508181036000830152614a0d816144a4565b9050919050565b60006020820190508181036000830152614a2d816144c7565b9050919050565b60006020820190508181036000830152614a4d816144ea565b9050919050565b60006020820190508181036000830152614a6d8161450d565b9050919050565b60006020820190508181036000830152614a8d81614530565b9050919050565b60006020820190508181036000830152614aad81614553565b9050919050565b60006020820190508181036000830152614acd81614576565b9050919050565b60006020820190508181036000830152614aed81614599565b9050919050565b60006020820190508181036000830152614b0d816145bc565b9050919050565b60006020820190508181036000830152614b2d816145df565b9050919050565b60006020820190508181036000830152614b4d81614602565b9050919050565b60006020820190508181036000830152614b6d81614625565b9050919050565b60006020820190508181036000830152614b8d81614648565b9050919050565b60006020820190508181036000830152614bad8161466b565b9050919050565b60006020820190508181036000830152614bcd8161468e565b9050919050565b60006020820190508181036000830152614bed816146b1565b9050919050565b60006020820190508181036000830152614c0d816146d4565b9050919050565b60006020820190508181036000830152614c2d816146f7565b9050919050565b60006020820190508181036000830152614c4d8161471a565b9050919050565b60006020820190508181036000830152614c6d8161473d565b9050919050565b60006020820190508181036000830152614c8d81614760565b9050919050565b60006020820190508181036000830152614cad81614783565b9050919050565b60006020820190508181036000830152614ccd816147a6565b9050919050565b60006020820190508181036000830152614ced816147c9565b9050919050565b6000602082019050614d0960008301846147fb565b92915050565b6000604082019050614d2460008301856147fb565b614d31602083018461426d565b9392505050565b6000614d42614d53565b9050614d4e8282615038565b919050565b6000604051905090565b600067ffffffffffffffff821115614d7857614d776151ce565b5b614d818261521b565b9050602081019050919050565b600067ffffffffffffffff821115614da957614da86151ce565b5b614db28261521b565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000614e4682614fba565b9150614e5183614fba565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614e8657614e856150e3565b5b828201905092915050565b6000614e9c82614fba565b9150614ea783614fba565b925082614eb757614eb6615112565b5b828204905092915050565b6000614ecd82614fba565b9150614ed883614fba565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614f1157614f106150e3565b5b828202905092915050565b6000614f2782614fba565b9150614f3283614fba565b925082821015614f4557614f446150e3565b5b828203905092915050565b6000614f5b82614f9a565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015614ff1578082015181840152602081019050614fd6565b83811115615000576000848401525b50505050565b6000600282049050600182168061501e57607f821691505b6020821081141561503257615031615141565b5b50919050565b6150418261521b565b810181811067ffffffffffffffff821117156150605761505f6151ce565b5b80604052505050565b600061507482614fba565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156150a7576150a66150e3565b5b600182019050919050565b60006150bd82614fba565b91506150c883614fba565b9250826150d8576150d7615112565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4d61782052657365727665732074616b656e20616c7265616479210000000000600082015250565b7f416c6c6f77204c697374206973206e6f74206163746976650000000000000000600082015250565b7f596f7520617265206e6f74206f6e2074686520416c6c6f77204c697374000000600082015250565b7f53616c65206973206e6f74206163746976652063757272656e746c792e000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f53616c652068617320656e6465642e0000000000000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f43616e2774206164642061206e756c6c20616464726573730000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f5a65726f2061646472657373206e6f74206f6e20416c6c6f77204c6973740000600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f45786365656473206d6178696d756d20616c6c6f77656420746f6b656e730000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f546f74616c20737570706c792065786365656465642e00000000000000000000600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f546f74616c20737570706c79207370656e742e00000000000000000000000000600082015250565b7f496e7375666669656e742045544820616d6f756e742073656e742e0000000000600082015250565b7f50757263686173652065786365656473206d617820616c6c6f77656400000000600082015250565b7f416c6c20746f6b656e732068617665206265656e206d696e7465640000000000600082015250565b7f43616e6e6f742070757263686173652074686973206d616e7920746f6b656e73600082015250565b61596981614f50565b811461597457600080fd5b50565b61598081614f62565b811461598b57600080fd5b50565b61599781614f6e565b81146159a257600080fd5b50565b6159ae81614fba565b81146159b957600080fd5b5056fea26469706673582212204cb372714082d043ede24103c15366036c12eb3996bcc3a3b9d0a775ba0c98bc64736f6c634300080700330000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000005168747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066732f516d576a4d524b36777645414262414e4678637075546844777466446a37644b7674613576314c79534744704c4b2f000000000000000000000000000000

Deployed Bytecode

0x60806040526004361061027c5760003560e01c8063715018a61161014f5780639a3bf728116100c1578063c4e41b221161007a578063c4e41b2214610965578063c87b56dd14610990578063e7b62d96146109cd578063e985e9c5146109f8578063f2fde38b14610a35578063f6c9d9e314610a5e5761027c565b80639a3bf7281461086b578063a22cb46514610896578063a51312c8146108bf578063acec338a146108e8578063ad06d75814610911578063b88d4fde1461093c5761027c565b80637a6685f1116101135780637a6685f11461076d5780637f44ab2f146107965780638da5cb5b146107c157806391b7f5ed146107ec57806395d89b411461081557806398d5fdca146108405761027c565b8063715018a6146106d1578063718bc4af146106e857806371e3500c146107115780637263cfe2146107285780637835c635146107515761027c565b80632f745c59116101f35780634dfea627116101ac5780634dfea6271461059f5780634f6ccce7146105c857806355f804b31461060557806356a87caa1461062e5780636352211e1461065757806370a08231146106945761027c565b80632f745c591461049e5780633ccfd60b146104db57806340c10f19146104f257806342842e0e1461050e578063438b630014610537578063442890d5146105745761027c565b806318160ddd1161024557806318160ddd1461038c57806322e63d2e146103b757806322f3e2d4146103e257806323b872dd1461040d57806329fc6bae146104365780632c1205f4146104615761027c565b806208ffdd1461028157806301ffc9a7146102be57806306fdde03146102fb578063081812fc14610326578063095ea7b314610363575b600080fd5b34801561028d57600080fd5b506102a860048036038101906102a39190613f48565b610a87565b6040516102b59190614cf4565b60405180910390f35b3480156102ca57600080fd5b506102e560048036038101906102e09190614185565b610b3f565b6040516102f291906148b7565b60405180910390f35b34801561030757600080fd5b50610310610bb9565b60405161031d91906148d2565b60405180910390f35b34801561033257600080fd5b5061034d60048036038101906103489190614228565b610c4b565b60405161035a919061482e565b60405180910390f35b34801561036f57600080fd5b5061038a600480360381019061038591906140cb565b610cd0565b005b34801561039857600080fd5b506103a1610de8565b6040516103ae9190614cf4565b60405180910390f35b3480156103c357600080fd5b506103cc610df5565b6040516103d99190614cf4565b60405180910390f35b3480156103ee57600080fd5b506103f7610dfb565b60405161040491906148b7565b60405180910390f35b34801561041957600080fd5b50610434600480360381019061042f9190613fb5565b610e0e565b005b34801561044257600080fd5b5061044b610e6e565b60405161045891906148b7565b60405180910390f35b34801561046d57600080fd5b5061048860048036038101906104839190613f48565b610e81565b60405161049591906148b7565b60405180910390f35b3480156104aa57600080fd5b506104c560048036038101906104c091906140cb565b610ed7565b6040516104d29190614cf4565b60405180910390f35b3480156104e757600080fd5b506104f0610f7c565b005b61050c600480360381019061050791906140cb565b6111f2565b005b34801561051a57600080fd5b5061053560048036038101906105309190613fb5565b611474565b005b34801561054357600080fd5b5061055e60048036038101906105599190613f48565b611494565b60405161056b9190614895565b60405180910390f35b34801561058057600080fd5b50610589611542565b604051610596919061482e565b60405180910390f35b3480156105ab57600080fd5b506105c660048036038101906105c19190614228565b611551565b005b3480156105d457600080fd5b506105ef60048036038101906105ea9190614228565b6115f2565b6040516105fc9190614cf4565b60405180910390f35b34801561061157600080fd5b5061062c600480360381019061062791906141df565b611663565b005b34801561063a57600080fd5b5061065560048036038101906106509190614228565b611714565b005b34801561066357600080fd5b5061067e60048036038101906106799190614228565b6117b5565b60405161068b919061482e565b60405180910390f35b3480156106a057600080fd5b506106bb60048036038101906106b69190613f48565b611867565b6040516106c89190614cf4565b60405180910390f35b3480156106dd57600080fd5b506106e661191f565b005b3480156106f457600080fd5b5061070f600480360381019061070a9190614158565b6119a7565b005b34801561071d57600080fd5b50610726611a5b565b005b34801561073457600080fd5b5061074f600480360381019061074a919061410b565b611bda565b005b61076b60048036038101906107669190614228565b611e8b565b005b34801561077957600080fd5b50610794600480360381019061078f9190614228565b6121eb565b005b3480156107a257600080fd5b506107ab61228c565b6040516107b89190614cf4565b60405180910390f35b3480156107cd57600080fd5b506107d6612292565b6040516107e3919061482e565b60405180910390f35b3480156107f857600080fd5b50610813600480360381019061080e9190614228565b6122bc565b005b34801561082157600080fd5b5061082a61235d565b60405161083791906148d2565b60405180910390f35b34801561084c57600080fd5b506108556123ef565b6040516108629190614cf4565b60405180910390f35b34801561087757600080fd5b506108806123f9565b60405161088d9190614cf4565b60405180910390f35b3480156108a257600080fd5b506108bd60048036038101906108b8919061408b565b6123ff565b005b3480156108cb57600080fd5b506108e660048036038101906108e1919061410b565b612580565b005b3480156108f457600080fd5b5061090f600480360381019061090a9190614158565b612753565b005b34801561091d57600080fd5b5061092661283e565b6040516109339190614cf4565b60405180910390f35b34801561094857600080fd5b50610963600480360381019061095e9190614008565b6128df565b005b34801561097157600080fd5b5061097a612941565b6040516109879190614cf4565b60405180910390f35b34801561099c57600080fd5b506109b760048036038101906109b29190614228565b612950565b6040516109c491906148d2565b60405180910390f35b3480156109d957600080fd5b506109e26129f7565b6040516109ef9190614cf4565b60405180910390f35b348015610a0457600080fd5b50610a1f6004803603810190610a1a9190613f75565b612a01565b604051610a2c91906148b7565b60405180910390f35b348015610a4157600080fd5b50610a5c6004803603810190610a579190613f48565b612a95565b005b348015610a6a57600080fd5b50610a856004803603810190610a809190614228565b612b8d565b005b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610af8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aef90614b54565b60405180910390fd5b601760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610bb25750610bb182612c2e565b5b9050919050565b606060008054610bc890615006565b80601f0160208091040260200160405190810160405280929190818152602001828054610bf490615006565b8015610c415780601f10610c1657610100808354040283529160200191610c41565b820191906000526020600020905b815481529060010190602001808311610c2457829003601f168201915b5050505050905090565b6000610c5682612d10565b610c95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c8c90614af4565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610cdb826117b5565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610d4c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d4390614bd4565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610d6b612d7c565b73ffffffffffffffffffffffffffffffffffffffff161480610d9a5750610d9981610d94612d7c565b612a01565b5b610dd9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dd090614a74565b60405180910390fd5b610de38383612d84565b505050565b6000600880549050905090565b611e6181565b601360009054906101000a900460ff1681565b610e1f610e19612d7c565b82612e3d565b610e5e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e5590614c14565b60405180910390fd5b610e69838383612f1b565b505050565b601360019054906101000a900460ff1681565b6000601660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b6000610ee283611867565b8210610f23576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f1a90614974565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b3373ffffffffffffffffffffffffffffffffffffffff16600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16148061100a57503373ffffffffffffffffffffffffffffffffffffffff16610ff2612292565b73ffffffffffffffffffffffffffffffffffffffff16145b61101357600080fd5b6000479050600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc61271061012c846110659190614ec2565b61106f9190614e91565b9081150290604051600060405180830381858888f1935050505015801561109a573d6000803e3d6000fd5b50601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc612710611004846110e89190614ec2565b6110f29190614e91565b9081150290604051600060405180830381858888f1935050505015801561111d573d6000803e3d6000fd5b50601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc6127106107d08461116b9190614ec2565b6111759190614e91565b9081150290604051600060405180830381858888f193505050501580156111a0573d6000803e3d6000fd5b506111a9612292565b73ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f193505050501580156111ee573d6000803e3d6000fd5b5050565b611e616111fd610de8565b111561123e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611235906149f4565b60405180910390fd5b611246612292565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146112c857601360009054906101000a900460ff166112c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112be90614954565b60405180910390fd5b5b611e61816112d4610de8565b6112de9190614e3b565b111561131f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161131690614bf4565b60405180910390fd5b611e6161132a610de8565b111561136b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161136290614c54565b60405180910390fd5b6014548111156113b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113a790614bb4565b60405180910390fd5b80600b546113be9190614ec2565b341015611400576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113f790614c74565b60405180910390fd5b60005b8181101561146f577f55f284809f4c5b7377fbe62f2feeb9686e3834dcae5f3ca955140fe6547cd355611434610de8565b84604051611443929190614d0f565b60405180910390a161145c83611457610de8565b613177565b808061146790615069565b915050611403565b505050565b61148f838383604051806020016040528060008152506128df565b505050565b606060006114a183611867565b905060008167ffffffffffffffff8111156114bf576114be6151ce565b5b6040519080825280602002602001820160405280156114ed5781602001602082028036833780820191505090505b50905060005b82811015611537576115058582610ed7565b8282815181106115185761151761519f565b5b602002602001018181525050808061152f90615069565b9150506114f3565b508092505050919050565b600061154c612292565b905090565b3373ffffffffffffffffffffffffffffffffffffffff16600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614806115df57503373ffffffffffffffffffffffffffffffffffffffff166115c7612292565b73ffffffffffffffffffffffffffffffffffffffff16145b6115e857600080fd5b8060148190555050565b60006115fc610de8565b821061163d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161163490614c34565b60405180910390fd5b600882815481106116515761165061519f565b5b90600052602060002001549050919050565b3373ffffffffffffffffffffffffffffffffffffffff16600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614806116f157503373ffffffffffffffffffffffffffffffffffffffff166116d9612292565b73ffffffffffffffffffffffffffffffffffffffff16145b6116fa57600080fd5b8060129080519060200190611710929190613d06565b5050565b3373ffffffffffffffffffffffffffffffffffffffff16600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614806117a257503373ffffffffffffffffffffffffffffffffffffffff1661178a612292565b73ffffffffffffffffffffffffffffffffffffffff16145b6117ab57600080fd5b80600e8190555050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561185e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161185590614ab4565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156118d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118cf90614a94565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611927612d7c565b73ffffffffffffffffffffffffffffffffffffffff16611945612292565b73ffffffffffffffffffffffffffffffffffffffff161461199b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161199290614b34565b60405180910390fd5b6119a56000613195565b565b3373ffffffffffffffffffffffffffffffffffffffff16600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161480611a3557503373ffffffffffffffffffffffffffffffffffffffff16611a1d612292565b73ffffffffffffffffffffffffffffffffffffffff16145b611a3e57600080fd5b80601360016101000a81548160ff02191690831515021790555050565b3373ffffffffffffffffffffffffffffffffffffffff16600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161480611ae957503373ffffffffffffffffffffffffffffffffffffffff16611ad1612292565b73ffffffffffffffffffffffffffffffffffffffff16145b611af257600080fd5b600e54600d541115611b39576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b30906148f4565b60405180910390fd5b6000611b43610de8565b905060005b600c54811015611bd6577f55f284809f4c5b7377fbe62f2feeb9686e3834dcae5f3ca955140fe6547cd3558183611b7f9190614e3b565b33604051611b8e929190614d0f565b60405180910390a1611bab338284611ba69190614e3b565b613177565b600d6000815480929190611bbe90615069565b91905055508080611bce90615069565b915050611b48565b5050565b3373ffffffffffffffffffffffffffffffffffffffff16600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161480611c6857503373ffffffffffffffffffffffffffffffffffffffff16611c50612292565b73ffffffffffffffffffffffffffffffffffffffff16145b611c7157600080fd5b60005b82829050811015611e8657600073ffffffffffffffffffffffffffffffffffffffff16838383818110611caa57611ca961519f565b5b9050602002016020810190611cbf9190613f48565b73ffffffffffffffffffffffffffffffffffffffff161415611d16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d0d90614b14565b60405180910390fd5b600160166000858585818110611d2f57611d2e61519f565b5b9050602002016020810190611d449190613f48565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550600060176000858585818110611dae57611dad61519f565b5b9050602002016020810190611dc39190613f48565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411611e0a576000611e72565b60176000848484818110611e2157611e2061519f565b5b9050602002016020810190611e369190613f48565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020545b508080611e7e90615069565b915050611c74565b505050565b611e61611e96610de8565b1115611ed7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ece906149f4565b60405180910390fd5b601360019054906101000a900460ff16611f26576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f1d90614914565b60405180910390fd5b601660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611fb2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fa990614934565b60405180910390fd5b611e61611fbd610de8565b10611ffd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ff490614cb4565b60405180910390fd5b601554811115612042576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161203990614cd4565b60405180910390fd5b60155481601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546120909190614e3b565b11156120d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120c890614c94565b60405180910390fd5b80600b546120df9190614ec2565b341015612121576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161211890614c74565b60405180910390fd5b60005b818110156121e7576001601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461217c9190614e3b565b925050819055507f55f284809f4c5b7377fbe62f2feeb9686e3834dcae5f3ca955140fe6547cd3556121ac610de8565b336040516121bb929190614d0f565b60405180910390a16121d4336121cf610de8565b613177565b80806121df90615069565b915050612124565b5050565b3373ffffffffffffffffffffffffffffffffffffffff16600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16148061227957503373ffffffffffffffffffffffffffffffffffffffff16612261612292565b73ffffffffffffffffffffffffffffffffffffffff16145b61228257600080fd5b8060158190555050565b60155481565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b3373ffffffffffffffffffffffffffffffffffffffff16600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16148061234a57503373ffffffffffffffffffffffffffffffffffffffff16612332612292565b73ffffffffffffffffffffffffffffffffffffffff16145b61235357600080fd5b80600b8190555050565b60606001805461236c90615006565b80601f016020809104026020016040519081016040528092919081815260200182805461239890615006565b80156123e55780601f106123ba576101008083540402835291602001916123e5565b820191906000526020600020905b8154815290600101906020018083116123c857829003601f168201915b5050505050905090565b6000600b54905090565b60145481565b612407612d7c565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612475576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161246c90614a34565b60405180910390fd5b8060056000612482612d7c565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661252f612d7c565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161257491906148b7565b60405180910390a35050565b3373ffffffffffffffffffffffffffffffffffffffff16600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16148061260e57503373ffffffffffffffffffffffffffffffffffffffff166125f6612292565b73ffffffffffffffffffffffffffffffffffffffff16145b61261757600080fd5b60005b8282905081101561274e57600073ffffffffffffffffffffffffffffffffffffffff168383838181106126505761264f61519f565b5b90506020020160208101906126659190613f48565b73ffffffffffffffffffffffffffffffffffffffff1614156126bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126b390614b14565b60405180910390fd5b6000601660008585858181106126d5576126d461519f565b5b90506020020160208101906126ea9190613f48565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550808061274690615069565b91505061261a565b505050565b3373ffffffffffffffffffffffffffffffffffffffff16600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614806127e157503373ffffffffffffffffffffffffffffffffffffffff166127c9612292565b73ffffffffffffffffffffffffffffffffffffffff16145b6127ea57600080fd5b80601360006101000a81548160ff0219169083151502179055507f58655b75d3df612fe99ead00dbf0812d415d35078fe06217a94c0818bb13967f8160405161283391906148b7565b60405180910390a150565b60003373ffffffffffffffffffffffffffffffffffffffff16600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614806128ce57503373ffffffffffffffffffffffffffffffffffffffff166128b6612292565b73ffffffffffffffffffffffffffffffffffffffff16145b6128d757600080fd5b601454905090565b6128f06128ea612d7c565b83612e3d565b61292f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161292690614c14565b60405180910390fd5b61293b8484848461325b565b50505050565b600061294b610de8565b905090565b606061295b82612d10565b61299a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161299190614b94565b60405180910390fd5b60006129a46132b7565b905060008151116129c457604051806020016040528060008152506129ef565b806129ce84613349565b6040516020016129df92919061480a565b6040516020818303038152906040525b915050919050565b6000600c54905090565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b612a9d612d7c565b73ffffffffffffffffffffffffffffffffffffffff16612abb612292565b73ffffffffffffffffffffffffffffffffffffffff1614612b11576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b0890614b34565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612b81576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b78906149b4565b60405180910390fd5b612b8a81613195565b50565b3373ffffffffffffffffffffffffffffffffffffffff16600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161480612c1b57503373ffffffffffffffffffffffffffffffffffffffff16612c03612292565b73ffffffffffffffffffffffffffffffffffffffff16145b612c2457600080fd5b80600c8190555050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612cf957507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612d095750612d08826134aa565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612df7836117b5565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000612e4882612d10565b612e87576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e7e90614a54565b60405180910390fd5b6000612e92836117b5565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612f0157508373ffffffffffffffffffffffffffffffffffffffff16612ee984610c4b565b73ffffffffffffffffffffffffffffffffffffffff16145b80612f125750612f118185612a01565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612f3b826117b5565b73ffffffffffffffffffffffffffffffffffffffff1614612f91576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f8890614b74565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613001576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ff890614a14565b60405180910390fd5b61300c838383613514565b613017600082612d84565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546130679190614f1c565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546130be9190614e3b565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b613191828260405180602001604052806000815250613628565b5050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b613266848484612f1b565b61327284848484613683565b6132b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132a890614994565b60405180910390fd5b50505050565b6060601280546132c690615006565b80601f01602080910402602001604051908101604052809291908181526020018280546132f290615006565b801561333f5780601f106133145761010080835404028352916020019161333f565b820191906000526020600020905b81548152906001019060200180831161332257829003601f168201915b5050505050905090565b60606000821415613391576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506134a5565b600082905060005b600082146133c35780806133ac90615069565b915050600a826133bc9190614e91565b9150613399565b60008167ffffffffffffffff8111156133df576133de6151ce565b5b6040519080825280601f01601f1916602001820160405280156134115781602001600182028036833780820191505090505b5090505b6000851461349e5760018261342a9190614f1c565b9150600a8561343991906150b2565b60306134459190614e3b565b60f81b81838151811061345b5761345a61519f565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856134979190614e91565b9450613415565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b61351f83838361381a565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156135625761355d8161381f565b6135a1565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146135a05761359f8382613868565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156135e4576135df816139d5565b613623565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614613622576136218282613aa6565b5b5b505050565b6136328383613b25565b61363f6000848484613683565b61367e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161367590614994565b60405180910390fd5b505050565b60006136a48473ffffffffffffffffffffffffffffffffffffffff16613cf3565b1561380d578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026136cd612d7c565b8786866040518563ffffffff1660e01b81526004016136ef9493929190614849565b602060405180830381600087803b15801561370957600080fd5b505af192505050801561373a57506040513d601f19601f8201168201806040525081019061373791906141b2565b60015b6137bd573d806000811461376a576040519150601f19603f3d011682016040523d82523d6000602084013e61376f565b606091505b506000815114156137b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016137ac90614994565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613812565b600190505b949350505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161387584611867565b61387f9190614f1c565b9050600060076000848152602001908152602001600020549050818114613964576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506139e99190614f1c565b9050600060096000848152602001908152602001600020549050600060088381548110613a1957613a1861519f565b5b906000526020600020015490508060088381548110613a3b57613a3a61519f565b5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613a8a57613a89615170565b5b6001900381819060005260206000200160009055905550505050565b6000613ab183611867565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613b95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613b8c90614ad4565b60405180910390fd5b613b9e81612d10565b15613bde576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613bd5906149d4565b60405180910390fd5b613bea60008383613514565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613c3a9190614e3b565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b828054613d1290615006565b90600052602060002090601f016020900481019282613d345760008555613d7b565b82601f10613d4d57805160ff1916838001178555613d7b565b82800160010185558215613d7b579182015b82811115613d7a578251825591602001919060010190613d5f565b5b509050613d889190613d8c565b5090565b5b80821115613da5576000816000905550600101613d8d565b5090565b6000613dbc613db784614d5d565b614d38565b905082815260208101848484011115613dd857613dd761520c565b5b613de3848285614fc4565b509392505050565b6000613dfe613df984614d8e565b614d38565b905082815260208101848484011115613e1a57613e1961520c565b5b613e25848285614fc4565b509392505050565b600081359050613e3c81615960565b92915050565b60008083601f840112613e5857613e57615202565b5b8235905067ffffffffffffffff811115613e7557613e746151fd565b5b602083019150836020820283011115613e9157613e90615207565b5b9250929050565b600081359050613ea781615977565b92915050565b600081359050613ebc8161598e565b92915050565b600081519050613ed18161598e565b92915050565b600082601f830112613eec57613eeb615202565b5b8135613efc848260208601613da9565b91505092915050565b600082601f830112613f1a57613f19615202565b5b8135613f2a848260208601613deb565b91505092915050565b600081359050613f42816159a5565b92915050565b600060208284031215613f5e57613f5d615216565b5b6000613f6c84828501613e2d565b91505092915050565b60008060408385031215613f8c57613f8b615216565b5b6000613f9a85828601613e2d565b9250506020613fab85828601613e2d565b9150509250929050565b600080600060608486031215613fce57613fcd615216565b5b6000613fdc86828701613e2d565b9350506020613fed86828701613e2d565b9250506040613ffe86828701613f33565b9150509250925092565b6000806000806080858703121561402257614021615216565b5b600061403087828801613e2d565b945050602061404187828801613e2d565b935050604061405287828801613f33565b925050606085013567ffffffffffffffff81111561407357614072615211565b5b61407f87828801613ed7565b91505092959194509250565b600080604083850312156140a2576140a1615216565b5b60006140b085828601613e2d565b92505060206140c185828601613e98565b9150509250929050565b600080604083850312156140e2576140e1615216565b5b60006140f085828601613e2d565b925050602061410185828601613f33565b9150509250929050565b6000806020838503121561412257614121615216565b5b600083013567ffffffffffffffff8111156141405761413f615211565b5b61414c85828601613e42565b92509250509250929050565b60006020828403121561416e5761416d615216565b5b600061417c84828501613e98565b91505092915050565b60006020828403121561419b5761419a615216565b5b60006141a984828501613ead565b91505092915050565b6000602082840312156141c8576141c7615216565b5b60006141d684828501613ec2565b91505092915050565b6000602082840312156141f5576141f4615216565b5b600082013567ffffffffffffffff81111561421357614212615211565b5b61421f84828501613f05565b91505092915050565b60006020828403121561423e5761423d615216565b5b600061424c84828501613f33565b91505092915050565b600061426183836147ec565b60208301905092915050565b61427681614f50565b82525050565b600061428782614dcf565b6142918185614dfd565b935061429c83614dbf565b8060005b838110156142cd5781516142b48882614255565b97506142bf83614df0565b9250506001810190506142a0565b5085935050505092915050565b6142e381614f62565b82525050565b60006142f482614dda565b6142fe8185614e0e565b935061430e818560208601614fd3565b6143178161521b565b840191505092915050565b600061432d82614de5565b6143378185614e1f565b9350614347818560208601614fd3565b6143508161521b565b840191505092915050565b600061436682614de5565b6143708185614e30565b9350614380818560208601614fd3565b80840191505092915050565b6000614399601b83614e1f565b91506143a48261522c565b602082019050919050565b60006143bc601883614e1f565b91506143c782615255565b602082019050919050565b60006143df601d83614e1f565b91506143ea8261527e565b602082019050919050565b6000614402601d83614e1f565b915061440d826152a7565b602082019050919050565b6000614425602b83614e1f565b9150614430826152d0565b604082019050919050565b6000614448603283614e1f565b91506144538261531f565b604082019050919050565b600061446b602683614e1f565b91506144768261536e565b604082019050919050565b600061448e601c83614e1f565b9150614499826153bd565b602082019050919050565b60006144b1600f83614e1f565b91506144bc826153e6565b602082019050919050565b60006144d4602483614e1f565b91506144df8261540f565b604082019050919050565b60006144f7601983614e1f565b91506145028261545e565b602082019050919050565b600061451a602c83614e1f565b915061452582615487565b604082019050919050565b600061453d603883614e1f565b9150614548826154d6565b604082019050919050565b6000614560602a83614e1f565b915061456b82615525565b604082019050919050565b6000614583602983614e1f565b915061458e82615574565b604082019050919050565b60006145a6602083614e1f565b91506145b1826155c3565b602082019050919050565b60006145c9602c83614e1f565b91506145d4826155ec565b604082019050919050565b60006145ec601883614e1f565b91506145f78261563b565b602082019050919050565b600061460f602083614e1f565b915061461a82615664565b602082019050919050565b6000614632601e83614e1f565b915061463d8261568d565b602082019050919050565b6000614655602983614e1f565b9150614660826156b6565b604082019050919050565b6000614678602f83614e1f565b915061468382615705565b604082019050919050565b600061469b601e83614e1f565b91506146a682615754565b602082019050919050565b60006146be602183614e1f565b91506146c98261577d565b604082019050919050565b60006146e1601683614e1f565b91506146ec826157cc565b602082019050919050565b6000614704603183614e1f565b915061470f826157f5565b604082019050919050565b6000614727602c83614e1f565b915061473282615844565b604082019050919050565b600061474a601383614e1f565b915061475582615893565b602082019050919050565b600061476d601b83614e1f565b9150614778826158bc565b602082019050919050565b6000614790601c83614e1f565b915061479b826158e5565b602082019050919050565b60006147b3601b83614e1f565b91506147be8261590e565b602082019050919050565b60006147d6602083614e1f565b91506147e182615937565b602082019050919050565b6147f581614fba565b82525050565b61480481614fba565b82525050565b6000614816828561435b565b9150614822828461435b565b91508190509392505050565b6000602082019050614843600083018461426d565b92915050565b600060808201905061485e600083018761426d565b61486b602083018661426d565b61487860408301856147fb565b818103606083015261488a81846142e9565b905095945050505050565b600060208201905081810360008301526148af818461427c565b905092915050565b60006020820190506148cc60008301846142da565b92915050565b600060208201905081810360008301526148ec8184614322565b905092915050565b6000602082019050818103600083015261490d8161438c565b9050919050565b6000602082019050818103600083015261492d816143af565b9050919050565b6000602082019050818103600083015261494d816143d2565b9050919050565b6000602082019050818103600083015261496d816143f5565b9050919050565b6000602082019050818103600083015261498d81614418565b9050919050565b600060208201905081810360008301526149ad8161443b565b9050919050565b600060208201905081810360008301526149cd8161445e565b9050919050565b600060208201905081810360008301526149ed81614481565b9050919050565b60006020820190508181036000830152614a0d816144a4565b9050919050565b60006020820190508181036000830152614a2d816144c7565b9050919050565b60006020820190508181036000830152614a4d816144ea565b9050919050565b60006020820190508181036000830152614a6d8161450d565b9050919050565b60006020820190508181036000830152614a8d81614530565b9050919050565b60006020820190508181036000830152614aad81614553565b9050919050565b60006020820190508181036000830152614acd81614576565b9050919050565b60006020820190508181036000830152614aed81614599565b9050919050565b60006020820190508181036000830152614b0d816145bc565b9050919050565b60006020820190508181036000830152614b2d816145df565b9050919050565b60006020820190508181036000830152614b4d81614602565b9050919050565b60006020820190508181036000830152614b6d81614625565b9050919050565b60006020820190508181036000830152614b8d81614648565b9050919050565b60006020820190508181036000830152614bad8161466b565b9050919050565b60006020820190508181036000830152614bcd8161468e565b9050919050565b60006020820190508181036000830152614bed816146b1565b9050919050565b60006020820190508181036000830152614c0d816146d4565b9050919050565b60006020820190508181036000830152614c2d816146f7565b9050919050565b60006020820190508181036000830152614c4d8161471a565b9050919050565b60006020820190508181036000830152614c6d8161473d565b9050919050565b60006020820190508181036000830152614c8d81614760565b9050919050565b60006020820190508181036000830152614cad81614783565b9050919050565b60006020820190508181036000830152614ccd816147a6565b9050919050565b60006020820190508181036000830152614ced816147c9565b9050919050565b6000602082019050614d0960008301846147fb565b92915050565b6000604082019050614d2460008301856147fb565b614d31602083018461426d565b9392505050565b6000614d42614d53565b9050614d4e8282615038565b919050565b6000604051905090565b600067ffffffffffffffff821115614d7857614d776151ce565b5b614d818261521b565b9050602081019050919050565b600067ffffffffffffffff821115614da957614da86151ce565b5b614db28261521b565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000614e4682614fba565b9150614e5183614fba565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614e8657614e856150e3565b5b828201905092915050565b6000614e9c82614fba565b9150614ea783614fba565b925082614eb757614eb6615112565b5b828204905092915050565b6000614ecd82614fba565b9150614ed883614fba565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614f1157614f106150e3565b5b828202905092915050565b6000614f2782614fba565b9150614f3283614fba565b925082821015614f4557614f446150e3565b5b828203905092915050565b6000614f5b82614f9a565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015614ff1578082015181840152602081019050614fd6565b83811115615000576000848401525b50505050565b6000600282049050600182168061501e57607f821691505b6020821081141561503257615031615141565b5b50919050565b6150418261521b565b810181811067ffffffffffffffff821117156150605761505f6151ce565b5b80604052505050565b600061507482614fba565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156150a7576150a66150e3565b5b600182019050919050565b60006150bd82614fba565b91506150c883614fba565b9250826150d8576150d7615112565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4d61782052657365727665732074616b656e20616c7265616479210000000000600082015250565b7f416c6c6f77204c697374206973206e6f74206163746976650000000000000000600082015250565b7f596f7520617265206e6f74206f6e2074686520416c6c6f77204c697374000000600082015250565b7f53616c65206973206e6f74206163746976652063757272656e746c792e000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f53616c652068617320656e6465642e0000000000000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f43616e2774206164642061206e756c6c20616464726573730000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f5a65726f2061646472657373206e6f74206f6e20416c6c6f77204c6973740000600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f45786365656473206d6178696d756d20616c6c6f77656420746f6b656e730000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f546f74616c20737570706c792065786365656465642e00000000000000000000600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f546f74616c20737570706c79207370656e742e00000000000000000000000000600082015250565b7f496e7375666669656e742045544820616d6f756e742073656e742e0000000000600082015250565b7f50757263686173652065786365656473206d617820616c6c6f77656400000000600082015250565b7f416c6c20746f6b656e732068617665206265656e206d696e7465640000000000600082015250565b7f43616e6e6f742070757263686173652074686973206d616e7920746f6b656e73600082015250565b61596981614f50565b811461597457600080fd5b50565b61598081614f62565b811461598b57600080fd5b50565b61599781614f6e565b81146159a257600080fd5b50565b6159ae81614fba565b81146159b957600080fd5b5056fea26469706673582212204cb372714082d043ede24103c15366036c12eb3996bcc3a3b9d0a775ba0c98bc64736f6c63430008070033

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

0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000005168747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066732f516d576a4d524b36777645414262414e4678637075546844777466446a37644b7674613576314c79534744704c4b2f000000000000000000000000000000

-----Decoded View---------------
Arg [0] : baseURI (string): https://gateway.pinata.cloud/ipfs/QmWjMRK6wvEABbANFxcpuThDwtfDj7dKvta5v1LySGDpLK/

-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000051
Arg [2] : 68747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066
Arg [3] : 732f516d576a4d524b36777645414262414e4678637075546844777466446a37
Arg [4] : 644b7674613576314c79534744704c4b2f000000000000000000000000000000


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

OVERVIEW

Gambling Ape owners co-own a Casino in the Metaverse, are invited to exclusive meetups & weekly competitions, and much more!

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.