ETH Price: $3,283.95 (-3.46%)
 

Overview

Max Total Supply

729 HOS

Holders

394

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
2 HOS
0x756a0f90EE980e917aC66B3CB951758DA96305b0
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
HouseOfSatanNFT

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 17 : HouseOfSatanNFT.sol
// SPDX-License-Identifier: MIT
/** 
    )                                             (                                  
 ( /(                                    (        )\ )             )                 
 )\())          (           (            )\ )    (()/(      )   ( /(      )          
((_)\    (     ))\   (     ))\      (   (()/(     /(_))  ( /(   )\())  ( /(    (     
 _((_)   )\   /((_)  )\   /((_)     )\   /(_))   (_))    )(_)) (_))/   )(_))   )\ )  
| || |  ((_) (_))(  ((_) (_))      ((_) (_) _|   / __|  ((_)_  | |_   ((_)_   _(_/(  
| __ | / _ \ | || | (_-< / -_)    / _ \  |  _|   \__ \  / _` | |  _|  / _` | | ' \)) 
|_||_| \___/  \_,_| /__/ \___|    \___/  |_|     |___/  \__,_|  \__|  \__,_| |_||_| 
*/

pragma solidity 0.8.0;

import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/access/AccessControl.sol";
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";

/**
 * @title HouseOfSatanNFT contracts
 * @dev Extends ERC721 Non-Fungible Token Standard basic implementation
 */
contract HouseOfSatanNFT is ERC721, ERC721Enumerable, Ownable, AccessControl, ReentrancyGuard {
    // Using Statements
    using Counters for Counters.Counter;

    // Constants
    uint256 public constant MAX_ADMIN_PREMINT_AMOUNT = 100; // The max that can be minted by admin for promos
    uint256 public constant MAX_TOKEN_PURCHASE = 40; // Max tokens per tx
    bytes32 public constant COUNCIL_ROLE = keccak256("COUNCIL_ROLE"); // Council role for council functions

    // Variables
    uint256 public tokenPrice = 0.0666 ether; // Token Price
    uint256 public maxTokens = 6666; // Max supply
    bool public saleIsActive = false; // Is the sale active?
    string private _baseTokenURI; // The baseURI for tokens
    Counters.Counter public currentAdminPremintedAmount; // The current minted admin premint amount

    /**
     * @dev Constructor for HouseOfSatanNFT contract
     * @param baseURI The initial baseURI used for all tokens
     * @param councilAddress The address the satanic council multisig
     */
    constructor(string memory baseURI, address councilAddress) ERC721("House of Satan", "HOS") {
        _setupRole(DEFAULT_ADMIN_ROLE, councilAddress); // This allows the council address to assign new roles
        _setupRole(COUNCIL_ROLE, councilAddress); // This grants the council address the COUNCIL_ROLE
        _baseTokenURI = baseURI; // Set the initial baseURI
    }

    ////////////////////////////
    /// Overridden Functions ///
    ////////////////////////////

    /**
     * @dev Overrides _beforeTokenTransfer from ERC721, ERC721Enumerable
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal override(ERC721, ERC721Enumerable) {
        super._beforeTokenTransfer(from, to, tokenId);
    }

    /**
     * @dev Overrides supportsInterface from ERC721, ERC721Enumerable, AccessControl
     */
    function supportsInterface(bytes4 interfaceId)
        public
        view
        virtual
        override(ERC721, ERC721Enumerable, AccessControl)
        returns (bool)
    {
        return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId);
    }

    /**
     * @dev Used by the contract to retrieve current baseURI
     * @return string
     */
    function _baseURI() internal view virtual override returns (string memory) {
        return _baseTokenURI;
    }

    //////////////////////////
    /// End User Functions ///
    //////////////////////////

    /**
     * @notice Used to mint Satans
     * @param numberOfTokens The number of tokens to mint
     */
    function mintSatan(uint256 numberOfTokens) external payable nonReentrant {
        uint256 totalSupply = totalSupply();

        require(saleIsActive, "The sale has not started");
        require(numberOfTokens <= MAX_TOKEN_PURCHASE, "Max purchase exceeded");
        require(totalSupply + numberOfTokens <= maxTokens, "Maximum supply has been reached");
        require(tokenPrice * numberOfTokens <= msg.value, "Not enough Eth");

        for (uint256 i = 0; i < numberOfTokens; i++) {
            _safeMint(msg.sender, totalSupply);
            totalSupply++;
        }
    }

    /////////////////////
    /// Dev Functions ///
    /////////////////////
    
    /**
     * @notice Used to change the price of the token
     * @param newPrice The new price
     */
    function setNewTokenPrice(uint256 newPrice) external onlyOwner {
        tokenPrice = newPrice;
    }

    /**
     * @notice Used to increase max tokens
     * @param newMax The new maximum amount of tokens
     */
    function setMaxTokens(uint256 newMax) external onlyOwner {
        require(newMax > totalSupply(), "New maximum cannot be less than current supply!");
        maxTokens = newMax;
    }

    /**
     * @notice Sets the base URI for the token collection
     * @param newBaseURI The new baseURI
     */
    function setBaseURI(string memory newBaseURI) external onlyOwner {
        _baseTokenURI = newBaseURI;
    }

    /**
     * @notice Used to enable/disable the token sale
     */
    function flipSaleState() external onlyOwner {
        saleIsActive = !saleIsActive;
    }

    /**
     * @notice Used for minting the initial 100 tokens for promos / giveaways etc
     * @param numberOfTokens How many tokens to mint
     */
    function reserveSatan(uint256 numberOfTokens) external onlyOwner {
        uint256 totalSupply = totalSupply();

        require(
            currentAdminPremintedAmount.current() + numberOfTokens <= MAX_ADMIN_PREMINT_AMOUNT,
            "Cannot pre-mint more"
        );

        for (uint256 i = 0; i < numberOfTokens; i++) {
            _safeMint(msg.sender, totalSupply);
            currentAdminPremintedAmount.increment();
            totalSupply++;
        }
    }

    /////////////////////////
    /// Council Functions ///
    /////////////////////////

    /**
     * @notice Allows council multisig to withdraw funds from the contract
     */
    function withdraw() external onlyRole(COUNCIL_ROLE) {
        uint256 balance = address(this).balance;
        payable(msg.sender).transfer(balance);
    }
}

File 2 of 17 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and make it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;

        _;

        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}

File 3 of 17 : 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 17 : 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 5 of 17 : AccessControl.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IAccessControl.sol";
import "../utils/Context.sol";
import "../utils/Strings.sol";
import "../utils/introspection/ERC165.sol";

/**
 * @dev Contract module that allows children to implement role-based access
 * control mechanisms. This is a lightweight version that doesn't allow enumerating role
 * members except through off-chain means by accessing the contract event logs. Some
 * applications may benefit from on-chain enumerability, for those cases see
 * {AccessControlEnumerable}.
 *
 * Roles are referred to by their `bytes32` identifier. These should be exposed
 * in the external API and be unique. The best way to achieve this is by
 * using `public constant` hash digests:
 *
 * ```
 * bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
 * ```
 *
 * Roles can be used to represent a set of permissions. To restrict access to a
 * function call, use {hasRole}:
 *
 * ```
 * function foo() public {
 *     require(hasRole(MY_ROLE, msg.sender));
 *     ...
 * }
 * ```
 *
 * Roles can be granted and revoked dynamically via the {grantRole} and
 * {revokeRole} functions. Each role has an associated admin role, and only
 * accounts that have a role's admin role can call {grantRole} and {revokeRole}.
 *
 * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
 * that only accounts with this role will be able to grant or revoke other
 * roles. More complex role relationships can be created by using
 * {_setRoleAdmin}.
 *
 * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
 * grant and revoke this role. Extra precautions should be taken to secure
 * accounts that have been granted it.
 */
abstract contract AccessControl is Context, IAccessControl, ERC165 {
    struct RoleData {
        mapping(address => bool) members;
        bytes32 adminRole;
    }

    mapping(bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

    /**
     * @dev Modifier that checks that an account has a specific role. Reverts
     * with a standardized message including the required role.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     *
     * _Available since v4.1._
     */
    modifier onlyRole(bytes32 role) {
        _checkRole(role, _msgSender());
        _;
    }

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

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) public view override returns (bool) {
        return _roles[role].members[account];
    }

    /**
     * @dev Revert with a standard message if `account` is missing `role`.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     */
    function _checkRole(bytes32 role, address account) internal view {
        if (!hasRole(role, account)) {
            revert(
                string(
                    abi.encodePacked(
                        "AccessControl: account ",
                        Strings.toHexString(uint160(account), 20),
                        " is missing role ",
                        Strings.toHexString(uint256(role), 32)
                    )
                )
            );
        }
    }

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) public view override returns (bytes32) {
        return _roles[role].adminRole;
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _grantRole(role, account);
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _revokeRole(role, account);
    }

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been granted `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) public virtual override {
        require(account == _msgSender(), "AccessControl: can only renounce roles for self");

        _revokeRole(role, account);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event. Note that unlike {grantRole}, this function doesn't perform any
     * checks on the calling account.
     *
     * [WARNING]
     * ====
     * This function should only be called from the constructor when setting
     * up the initial roles for the system.
     *
     * Using this function in any other way is effectively circumventing the admin
     * system imposed by {AccessControl}.
     * ====
     */
    function _setupRole(bytes32 role, address account) internal virtual {
        _grantRole(role, account);
    }

    /**
     * @dev Sets `adminRole` as ``role``'s admin role.
     *
     * Emits a {RoleAdminChanged} event.
     */
    function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
        bytes32 previousAdminRole = getRoleAdmin(role);
        _roles[role].adminRole = adminRole;
        emit RoleAdminChanged(role, previousAdminRole, adminRole);
    }

    function _grantRole(bytes32 role, address account) private {
        if (!hasRole(role, account)) {
            _roles[role].members[account] = true;
            emit RoleGranted(role, account, _msgSender());
        }
    }

    function _revokeRole(bytes32 role, address account) private {
        if (hasRole(role, account)) {
            _roles[role].members[account] = false;
            emit RoleRevoked(role, account, _msgSender());
        }
    }
}

File 6 of 17 : 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 7 of 17 : Counters.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @title Counters
 * @author Matt Condon (@shrugs)
 * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number
 * of elements in a mapping, issuing ERC721 ids, or counting request ids.
 *
 * Include with `using Counters for Counters.Counter;`
 */
library Counters {
    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

    function current(Counter storage counter) internal view returns (uint256) {
        return counter._value;
    }

    function increment(Counter storage counter) internal {
        unchecked {
            counter._value += 1;
        }
    }

    function decrement(Counter storage counter) internal {
        uint256 value = counter._value;
        require(value > 0, "Counter: decrement overflow");
        unchecked {
            counter._value = value - 1;
        }
    }

    function reset(Counter storage counter) internal {
        counter._value = 0;
    }
}

File 8 of 17 : 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 9 of 17 : 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 10 of 17 : 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 11 of 17 : 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 12 of 17 : 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 13 of 17 : 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 14 of 17 : 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 15 of 17 : 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 16 of 17 : IAccessControl.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev External interface of AccessControl declared to support ERC165 detection.
 */
interface IAccessControl {
    /**
     * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
     *
     * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
     * {RoleAdminChanged} not being emitted signaling this.
     *
     * _Available since v3.1._
     */
    event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);

    /**
     * @dev Emitted when `account` is granted `role`.
     *
     * `sender` is the account that originated the contract call, an admin role
     * bearer except when using {AccessControl-_setupRole}.
     */
    event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Emitted when `account` is revoked `role`.
     *
     * `sender` is the account that originated the contract call:
     *   - if using `revokeRole`, it is the admin role bearer
     *   - if using `renounceRole`, it is the role bearer (i.e. `account`)
     */
    event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) external view returns (bool);

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {AccessControl-_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) external view returns (bytes32);

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been granted `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) external;
}

File 17 of 17 : 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",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"baseURI","type":"string"},{"internalType":"address","name":"councilAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","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":"COUNCIL_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_ADMIN_PREMINT_AMOUNT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_TOKEN_PURCHASE","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":[],"name":"currentAdminPremintedAmount","outputs":[{"internalType":"uint256","name":"_value","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"flipSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","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":"maxTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"mintSatan","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":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"reserveSatan","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","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":[],"name":"saleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMax","type":"uint256"}],"name":"setMaxTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setNewTokenPrice","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":[],"name":"tokenPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405266ec9c58de0a8000600d55611a0a600e556000600f60006101000a81548160ff0219169083151502179055503480156200003d57600080fd5b50604051620053e3380380620053e383398181016040528101906200006391906200050d565b6040518060400160405280600e81526020017f486f757365206f6620536174616e0000000000000000000000000000000000008152506040518060400160405280600381526020017f484f5300000000000000000000000000000000000000000000000000000000008152508160009080519060200190620000e7929190620003d4565b50806001908051906020019062000100929190620003d4565b50505062000123620001176200019360201b60201c565b6200019b60201b60201c565b6001600c81905550620001406000801b826200026160201b60201c565b620001727ff25036a6852152e96c39cc9bf999cf0e78b9ebf96c37327327f9c87088a5dfa7826200026160201b60201c565b81601090805190602001906200018a929190620003d4565b505050620006e6565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6200027382826200027760201b60201c565b5050565b6200028982826200036960201b60201c565b62000365576001600b600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506200030a6200019360201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6000600b600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b828054620003e29062000638565b90600052602060002090601f01602090048101928262000406576000855562000452565b82601f106200042157805160ff191683800117855562000452565b8280016001018555821562000452579182015b828111156200045157825182559160200191906001019062000434565b5b50905062000461919062000465565b5090565b5b808211156200048057600081600090555060010162000466565b5090565b60006200049b62000495846200059b565b62000567565b905082815260208101848484011115620004b457600080fd5b620004c184828562000602565b509392505050565b600081519050620004da81620006cc565b92915050565b600082601f830112620004f257600080fd5b81516200050484826020860162000484565b91505092915050565b600080604083850312156200052157600080fd5b600083015167ffffffffffffffff8111156200053c57600080fd5b6200054a85828601620004e0565b92505060206200055d85828601620004c9565b9150509250929050565b6000604051905081810181811067ffffffffffffffff821117156200059157620005906200069d565b5b8060405250919050565b600067ffffffffffffffff821115620005b957620005b86200069d565b5b601f19601f8301169050602081019050919050565b6000620005db82620005e2565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60005b838110156200062257808201518184015260208101905062000605565b8381111562000632576000848401525b50505050565b600060028204905060018216806200065157607f821691505b602082108114156200066857620006676200066e565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b620006d781620005ce565b8114620006e357600080fd5b50565b614ced80620006f66000396000f3fe60806040526004361061022f5760003560e01c8063616ba54c1161012e578063a22cb465116100ab578063d547741f1161006f578063d547741f1461082b578063e831574214610854578063e985e9c51461087f578063eb8d2444146108bc578063f2fde38b146108e75761022f565b8063a22cb4651461074a578063a9f1b4af14610773578063b88d4fde1461079c578063c87b56dd146107c5578063d41edb18146108025761022f565b80638da5cb5b116100f25780638da5cb5b1461067057806391d148541461069b57806395d89b41146106d85780639a6f07e314610703578063a217fddf1461071f5761022f565b8063616ba54c146105895780636352211e146105b457806370a08231146105f1578063715018a61461062e5780637ff9b596146106455761022f565b8063248a9ca3116101bc57806336568abe1161018057806336568abe146104ba5780633ccfd60b146104e357806342842e0e146104fa5780634f6ccce71461052357806355f804b3146105605761022f565b8063248a9ca3146103d55780632c829690146104125780632f2ff15d1461043d5780632f745c591461046657806334918dfd146104a35761022f565b8063095ea7b311610203578063095ea7b3146103045780630e3609091461032d57806311e776fe1461035857806318160ddd1461038157806323b872dd146103ac5761022f565b80622854d71461023457806301ffc9a71461025f57806306fdde031461029c578063081812fc146102c7575b600080fd5b34801561024057600080fd5b50610249610910565b6040516102569190614440565b60405180910390f35b34801561026b57600080fd5b5061028660048036038101906102819190613825565b610934565b6040516102939190614425565b60405180910390f35b3480156102a857600080fd5b506102b16109ae565b6040516102be919061445b565b60405180910390f35b3480156102d357600080fd5b506102ee60048036038101906102e991906138b8565b610a40565b6040516102fb91906143be565b60405180910390f35b34801561031057600080fd5b5061032b60048036038101906103269190613784565b610ac5565b005b34801561033957600080fd5b50610342610bdd565b60405161034f91906147dd565b60405180910390f35b34801561036457600080fd5b5061037f600480360381019061037a91906138b8565b610be2565b005b34801561038d57600080fd5b50610396610cb1565b6040516103a391906147dd565b60405180910390f35b3480156103b857600080fd5b506103d360048036038101906103ce919061367e565b610cbe565b005b3480156103e157600080fd5b506103fc60048036038101906103f791906137c0565b610d1e565b6040516104099190614440565b60405180910390f35b34801561041e57600080fd5b50610427610d3e565b60405161043491906147dd565b60405180910390f35b34801561044957600080fd5b50610464600480360381019061045f91906137e9565b610d43565b005b34801561047257600080fd5b5061048d60048036038101906104889190613784565b610d6c565b60405161049a91906147dd565b60405180910390f35b3480156104af57600080fd5b506104b8610e11565b005b3480156104c657600080fd5b506104e160048036038101906104dc91906137e9565b610eb9565b005b3480156104ef57600080fd5b506104f8610f3c565b005b34801561050657600080fd5b50610521600480360381019061051c919061367e565b610fbe565b005b34801561052f57600080fd5b5061054a600480360381019061054591906138b8565b610fde565b60405161055791906147dd565b60405180910390f35b34801561056c57600080fd5b5061058760048036038101906105829190613877565b611075565b005b34801561059557600080fd5b5061059e61110b565b6040516105ab91906147dd565b60405180910390f35b3480156105c057600080fd5b506105db60048036038101906105d691906138b8565b611117565b6040516105e891906143be565b60405180910390f35b3480156105fd57600080fd5b5061061860048036038101906106139190613619565b6111c9565b60405161062591906147dd565b60405180910390f35b34801561063a57600080fd5b50610643611281565b005b34801561065157600080fd5b5061065a611309565b60405161066791906147dd565b60405180910390f35b34801561067c57600080fd5b5061068561130f565b60405161069291906143be565b60405180910390f35b3480156106a757600080fd5b506106c260048036038101906106bd91906137e9565b611339565b6040516106cf9190614425565b60405180910390f35b3480156106e457600080fd5b506106ed6113a4565b6040516106fa919061445b565b60405180910390f35b61071d600480360381019061071891906138b8565b611436565b005b34801561072b57600080fd5b50610734611606565b6040516107419190614440565b60405180910390f35b34801561075657600080fd5b50610771600480360381019061076c9190613748565b61160d565b005b34801561077f57600080fd5b5061079a600480360381019061079591906138b8565b61178e565b005b3480156107a857600080fd5b506107c360048036038101906107be91906136cd565b6118b3565b005b3480156107d157600080fd5b506107ec60048036038101906107e791906138b8565b611915565b6040516107f9919061445b565b60405180910390f35b34801561080e57600080fd5b50610829600480360381019061082491906138b8565b6119bc565b005b34801561083757600080fd5b50610852600480360381019061084d91906137e9565b611a42565b005b34801561086057600080fd5b50610869611a6b565b60405161087691906147dd565b60405180910390f35b34801561088b57600080fd5b506108a660048036038101906108a19190613642565b611a71565b6040516108b39190614425565b60405180910390f35b3480156108c857600080fd5b506108d1611b05565b6040516108de9190614425565b60405180910390f35b3480156108f357600080fd5b5061090e60048036038101906109099190613619565b611b18565b005b7ff25036a6852152e96c39cc9bf999cf0e78b9ebf96c37327327f9c87088a5dfa781565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806109a757506109a682611c10565b5b9050919050565b6060600080546109bd90614acb565b80601f01602080910402602001604051908101604052809291908181526020018280546109e990614acb565b8015610a365780601f10610a0b57610100808354040283529160200191610a36565b820191906000526020600020905b815481529060010190602001808311610a1957829003601f168201915b5050505050905090565b6000610a4b82611c8a565b610a8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a819061463d565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610ad082611117565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b41576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b38906146dd565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b60611cf6565b73ffffffffffffffffffffffffffffffffffffffff161480610b8f5750610b8e81610b89611cf6565b611a71565b5b610bce576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bc59061459d565b60405180910390fd5b610bd88383611cfe565b505050565b606481565b610bea611cf6565b73ffffffffffffffffffffffffffffffffffffffff16610c0861130f565b73ffffffffffffffffffffffffffffffffffffffff1614610c5e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c559061465d565b60405180910390fd5b610c66610cb1565b8111610ca7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9e9061473d565b60405180910390fd5b80600e8190555050565b6000600880549050905090565b610ccf610cc9611cf6565b82611db7565b610d0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d05906146fd565b60405180910390fd5b610d19838383611e95565b505050565b6000600b6000838152602001908152602001600020600101549050919050565b602881565b610d4c82610d1e565b610d5d81610d58611cf6565b6120f1565b610d67838361218e565b505050565b6000610d77836111c9565b8210610db8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610daf9061449d565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610e19611cf6565b73ffffffffffffffffffffffffffffffffffffffff16610e3761130f565b73ffffffffffffffffffffffffffffffffffffffff1614610e8d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e849061465d565b60405180910390fd5b600f60009054906101000a900460ff1615600f60006101000a81548160ff021916908315150217905550565b610ec1611cf6565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610f2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f259061479d565b60405180910390fd5b610f38828261226f565b5050565b7ff25036a6852152e96c39cc9bf999cf0e78b9ebf96c37327327f9c87088a5dfa7610f6e81610f69611cf6565b6120f1565b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610fb9573d6000803e3d6000fd5b505050565b610fd9838383604051806020016040528060008152506118b3565b505050565b6000610fe8610cb1565b8210611029576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110209061471d565b60405180910390fd5b60088281548110611063577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b61107d611cf6565b73ffffffffffffffffffffffffffffffffffffffff1661109b61130f565b73ffffffffffffffffffffffffffffffffffffffff16146110f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110e89061465d565b60405180910390fd5b8060109080519060200190611107929190613428565b5050565b60118060000154905081565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156111c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111b7906145dd565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561123a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611231906145bd565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611289611cf6565b73ffffffffffffffffffffffffffffffffffffffff166112a761130f565b73ffffffffffffffffffffffffffffffffffffffff16146112fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112f49061465d565b60405180910390fd5b6113076000612351565b565b600d5481565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600b600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6060600180546113b390614acb565b80601f01602080910402602001604051908101604052809291908181526020018280546113df90614acb565b801561142c5780601f106114015761010080835404028352916020019161142c565b820191906000526020600020905b81548152906001019060200180831161140f57829003601f168201915b5050505050905090565b6002600c54141561147c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114739061477d565b60405180910390fd5b6002600c81905550600061148e610cb1565b9050600f60009054906101000a900460ff166114df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114d6906147bd565b60405180910390fd5b6028821115611523576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161151a9061451d565b60405180910390fd5b600e54828261153291906148cc565b1115611573576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161156a906146bd565b60405180910390fd5b3482600d546115829190614953565b11156115c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ba9061475d565b60405180910390fd5b60005b828110156115f9576115d83383612417565b81806115e390614afd565b92505080806115f190614afd565b9150506115c6565b50506001600c8190555050565b6000801b81565b611615611cf6565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611683576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161167a9061455d565b60405180910390fd5b8060056000611690611cf6565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661173d611cf6565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516117829190614425565b60405180910390a35050565b611796611cf6565b73ffffffffffffffffffffffffffffffffffffffff166117b461130f565b73ffffffffffffffffffffffffffffffffffffffff161461180a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118019061465d565b60405180910390fd5b6000611814610cb1565b90506064826118236011612435565b61182d91906148cc565b111561186e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118659061461d565b60405180910390fd5b60005b828110156118ae576118833383612417565b61188d6011612443565b818061189890614afd565b92505080806118a690614afd565b915050611871565b505050565b6118c46118be611cf6565b83611db7565b611903576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118fa906146fd565b60405180910390fd5b61190f84848484612459565b50505050565b606061192082611c8a565b61195f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119569061469d565b60405180910390fd5b60006119696124b5565b9050600081511161198957604051806020016040528060008152506119b4565b8061199384612547565b6040516020016119a4929190614360565b6040516020818303038152906040525b915050919050565b6119c4611cf6565b73ffffffffffffffffffffffffffffffffffffffff166119e261130f565b73ffffffffffffffffffffffffffffffffffffffff1614611a38576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a2f9061465d565b60405180910390fd5b80600d8190555050565b611a4b82610d1e565b611a5c81611a57611cf6565b6120f1565b611a66838361226f565b505050565b600e5481565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600f60009054906101000a900460ff1681565b611b20611cf6565b73ffffffffffffffffffffffffffffffffffffffff16611b3e61130f565b73ffffffffffffffffffffffffffffffffffffffff1614611b94576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b8b9061465d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611c04576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bfb906144dd565b60405180910390fd5b611c0d81612351565b50565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611c835750611c82826126f4565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611d7183611117565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611dc282611c8a565b611e01576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611df89061457d565b60405180910390fd5b6000611e0c83611117565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611e7b57508373ffffffffffffffffffffffffffffffffffffffff16611e6384610a40565b73ffffffffffffffffffffffffffffffffffffffff16145b80611e8c5750611e8b8185611a71565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611eb582611117565b73ffffffffffffffffffffffffffffffffffffffff1614611f0b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f029061467d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611f7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f729061453d565b60405180910390fd5b611f8683838361276e565b611f91600082611cfe565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611fe191906149ad565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461203891906148cc565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6120fb8282611339565b61218a576121208173ffffffffffffffffffffffffffffffffffffffff16601461277e565b61212e8360001c602061277e565b60405160200161213f929190614384565b6040516020818303038152906040526040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612181919061445b565b60405180910390fd5b5050565b6121988282611339565b61226b576001600b600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550612210611cf6565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6122798282611339565b1561234d576000600b600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506122f2611cf6565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612431828260405180602001604052806000815250612a78565b5050565b600081600001549050919050565b6001816000016000828254019250508190555050565b612464848484611e95565b61247084848484612ad3565b6124af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124a6906144bd565b60405180910390fd5b50505050565b6060601080546124c490614acb565b80601f01602080910402602001604051908101604052809291908181526020018280546124f090614acb565b801561253d5780601f106125125761010080835404028352916020019161253d565b820191906000526020600020905b81548152906001019060200180831161252057829003601f168201915b5050505050905090565b6060600082141561258f576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506126ef565b600082905060005b600082146125c15780806125aa90614afd565b915050600a826125ba9190614922565b9150612597565b60008167ffffffffffffffff811115612603577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156126355781602001600182028036833780820191505090505b5090505b600085146126e85760018261264e91906149ad565b9150600a8561265d9190614b46565b603061266991906148cc565b60f81b8183815181106126a5577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856126e19190614922565b9450612639565b8093505050505b919050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612767575061276682612c6a565b5b9050919050565b612779838383612d4c565b505050565b6060600060028360026127919190614953565b61279b91906148cc565b67ffffffffffffffff8111156127da577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561280c5781602001600182028036833780820191505090505b5090507f30000000000000000000000000000000000000000000000000000000000000008160008151811061286a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f7800000000000000000000000000000000000000000000000000000000000000816001815181106128f4577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600060018460026129349190614953565b61293e91906148cc565b90505b6001811115612a2a577f3031323334353637383961626364656600000000000000000000000000000000600f8616601081106129a6577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b1a60f81b8282815181106129e3577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c945080612a2390614aa1565b9050612941565b5060008414612a6e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a659061447d565b60405180910390fd5b8091505092915050565b612a828383612e60565b612a8f6000848484612ad3565b612ace576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ac5906144bd565b60405180910390fd5b505050565b6000612af48473ffffffffffffffffffffffffffffffffffffffff1661302e565b15612c5d578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612b1d611cf6565b8786866040518563ffffffff1660e01b8152600401612b3f94939291906143d9565b602060405180830381600087803b158015612b5957600080fd5b505af1925050508015612b8a57506040513d601f19601f82011682018060405250810190612b87919061384e565b60015b612c0d573d8060008114612bba576040519150601f19603f3d011682016040523d82523d6000602084013e612bbf565b606091505b50600081511415612c05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bfc906144bd565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612c62565b600190505b949350505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612d3557507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612d455750612d4482613041565b5b9050919050565b612d578383836130ab565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612d9a57612d95816130b0565b612dd9565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612dd857612dd783826130f9565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612e1c57612e1781613266565b612e5b565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612e5a57612e5982826133a9565b5b5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612ed0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ec7906145fd565b60405180910390fd5b612ed981611c8a565b15612f19576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f10906144fd565b60405180910390fd5b612f256000838361276e565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612f7591906148cc565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001613106846111c9565b61311091906149ad565b90506000600760008481526020019081526020016000205490508181146131f5576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160088054905061327a91906149ad565b90506000600960008481526020019081526020016000205490506000600883815481106132d0577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110613318577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001819055508160096000838152602001908152602001600020819055506009600085815260200190815260200160002060009055600880548061338d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b60006133b4836111c9565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b82805461343490614acb565b90600052602060002090601f016020900481019282613456576000855561349d565b82601f1061346f57805160ff191683800117855561349d565b8280016001018555821561349d579182015b8281111561349c578251825591602001919060010190613481565b5b5090506134aa91906134ae565b5090565b5b808211156134c75760008160009055506001016134af565b5090565b60006134de6134d984614829565b6147f8565b9050828152602081018484840111156134f657600080fd5b613501848285614a5f565b509392505050565b600061351c61351784614859565b6147f8565b90508281526020810184848401111561353457600080fd5b61353f848285614a5f565b509392505050565b60008135905061355681614c44565b92915050565b60008135905061356b81614c5b565b92915050565b60008135905061358081614c72565b92915050565b60008135905061359581614c89565b92915050565b6000815190506135aa81614c89565b92915050565b600082601f8301126135c157600080fd5b81356135d18482602086016134cb565b91505092915050565b600082601f8301126135eb57600080fd5b81356135fb848260208601613509565b91505092915050565b60008135905061361381614ca0565b92915050565b60006020828403121561362b57600080fd5b600061363984828501613547565b91505092915050565b6000806040838503121561365557600080fd5b600061366385828601613547565b925050602061367485828601613547565b9150509250929050565b60008060006060848603121561369357600080fd5b60006136a186828701613547565b93505060206136b286828701613547565b92505060406136c386828701613604565b9150509250925092565b600080600080608085870312156136e357600080fd5b60006136f187828801613547565b945050602061370287828801613547565b935050604061371387828801613604565b925050606085013567ffffffffffffffff81111561373057600080fd5b61373c878288016135b0565b91505092959194509250565b6000806040838503121561375b57600080fd5b600061376985828601613547565b925050602061377a8582860161355c565b9150509250929050565b6000806040838503121561379757600080fd5b60006137a585828601613547565b92505060206137b685828601613604565b9150509250929050565b6000602082840312156137d257600080fd5b60006137e084828501613571565b91505092915050565b600080604083850312156137fc57600080fd5b600061380a85828601613571565b925050602061381b85828601613547565b9150509250929050565b60006020828403121561383757600080fd5b600061384584828501613586565b91505092915050565b60006020828403121561386057600080fd5b600061386e8482850161359b565b91505092915050565b60006020828403121561388957600080fd5b600082013567ffffffffffffffff8111156138a357600080fd5b6138af848285016135da565b91505092915050565b6000602082840312156138ca57600080fd5b60006138d884828501613604565b91505092915050565b6138ea816149e1565b82525050565b6138f9816149f3565b82525050565b613908816149ff565b82525050565b600061391982614889565b613923818561489f565b9350613933818560208601614a6e565b61393c81614c33565b840191505092915050565b600061395282614894565b61395c81856148b0565b935061396c818560208601614a6e565b61397581614c33565b840191505092915050565b600061398b82614894565b61399581856148c1565b93506139a5818560208601614a6e565b80840191505092915050565b60006139be6020836148b0565b91507f537472696e67733a20686578206c656e67746820696e73756666696369656e746000830152602082019050919050565b60006139fe602b836148b0565b91507f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008301527f74206f6620626f756e64730000000000000000000000000000000000000000006020830152604082019050919050565b6000613a646032836148b0565b91507f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008301527f63656976657220696d706c656d656e74657200000000000000000000000000006020830152604082019050919050565b6000613aca6026836148b0565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613b30601c836148b0565b91507f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006000830152602082019050919050565b6000613b706015836148b0565b91507f4d617820707572636861736520657863656564656400000000000000000000006000830152602082019050919050565b6000613bb06024836148b0565b91507f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613c166019836148b0565b91507f4552433732313a20617070726f766520746f2063616c6c6572000000000000006000830152602082019050919050565b6000613c56602c836148b0565b91507f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000613cbc6038836148b0565b91507f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020830152604082019050919050565b6000613d22602a836148b0565b91507f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008301527f726f2061646472657373000000000000000000000000000000000000000000006020830152604082019050919050565b6000613d886029836148b0565b91507f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008301527f656e7420746f6b656e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000613dee6020836148b0565b91507f4552433732313a206d696e7420746f20746865207a65726f20616464726573736000830152602082019050919050565b6000613e2e6014836148b0565b91507f43616e6e6f74207072652d6d696e74206d6f72650000000000000000000000006000830152602082019050919050565b6000613e6e602c836148b0565b91507f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000613ed46020836148b0565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b6000613f146029836148b0565b91507f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008301527f73206e6f74206f776e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000613f7a602f836148b0565b91507f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008301527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006020830152604082019050919050565b6000613fe0601f836148b0565b91507f4d6178696d756d20737570706c7920686173206265656e2072656163686564006000830152602082019050919050565b60006140206021836148b0565b91507f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008301527f72000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006140866031836148b0565b91507f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f7665640000000000000000000000000000006020830152604082019050919050565b60006140ec602c836148b0565b91507f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008301527f7574206f6620626f756e647300000000000000000000000000000000000000006020830152604082019050919050565b60006141526017836148c1565b91507f416363657373436f6e74726f6c3a206163636f756e74200000000000000000006000830152601782019050919050565b6000614192602f836148b0565b91507f4e6577206d6178696d756d2063616e6e6f74206265206c657373207468616e2060008301527f63757272656e7420737570706c792100000000000000000000000000000000006020830152604082019050919050565b60006141f8600e836148b0565b91507f4e6f7420656e6f756768204574680000000000000000000000000000000000006000830152602082019050919050565b6000614238601f836148b0565b91507f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006000830152602082019050919050565b60006142786011836148c1565b91507f206973206d697373696e6720726f6c65200000000000000000000000000000006000830152601182019050919050565b60006142b8602f836148b0565b91507f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008301527f20726f6c657320666f722073656c6600000000000000000000000000000000006020830152604082019050919050565b600061431e6018836148b0565b91507f5468652073616c6520686173206e6f74207374617274656400000000000000006000830152602082019050919050565b61435a81614a55565b82525050565b600061436c8285613980565b91506143788284613980565b91508190509392505050565b600061438f82614145565b915061439b8285613980565b91506143a68261426b565b91506143b28284613980565b91508190509392505050565b60006020820190506143d360008301846138e1565b92915050565b60006080820190506143ee60008301876138e1565b6143fb60208301866138e1565b6144086040830185614351565b818103606083015261441a818461390e565b905095945050505050565b600060208201905061443a60008301846138f0565b92915050565b600060208201905061445560008301846138ff565b92915050565b600060208201905081810360008301526144758184613947565b905092915050565b60006020820190508181036000830152614496816139b1565b9050919050565b600060208201905081810360008301526144b6816139f1565b9050919050565b600060208201905081810360008301526144d681613a57565b9050919050565b600060208201905081810360008301526144f681613abd565b9050919050565b6000602082019050818103600083015261451681613b23565b9050919050565b6000602082019050818103600083015261453681613b63565b9050919050565b6000602082019050818103600083015261455681613ba3565b9050919050565b6000602082019050818103600083015261457681613c09565b9050919050565b6000602082019050818103600083015261459681613c49565b9050919050565b600060208201905081810360008301526145b681613caf565b9050919050565b600060208201905081810360008301526145d681613d15565b9050919050565b600060208201905081810360008301526145f681613d7b565b9050919050565b6000602082019050818103600083015261461681613de1565b9050919050565b6000602082019050818103600083015261463681613e21565b9050919050565b6000602082019050818103600083015261465681613e61565b9050919050565b6000602082019050818103600083015261467681613ec7565b9050919050565b6000602082019050818103600083015261469681613f07565b9050919050565b600060208201905081810360008301526146b681613f6d565b9050919050565b600060208201905081810360008301526146d681613fd3565b9050919050565b600060208201905081810360008301526146f681614013565b9050919050565b6000602082019050818103600083015261471681614079565b9050919050565b60006020820190508181036000830152614736816140df565b9050919050565b6000602082019050818103600083015261475681614185565b9050919050565b60006020820190508181036000830152614776816141eb565b9050919050565b600060208201905081810360008301526147968161422b565b9050919050565b600060208201905081810360008301526147b6816142ab565b9050919050565b600060208201905081810360008301526147d681614311565b9050919050565b60006020820190506147f26000830184614351565b92915050565b6000604051905081810181811067ffffffffffffffff8211171561481f5761481e614c04565b5b8060405250919050565b600067ffffffffffffffff82111561484457614843614c04565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff82111561487457614873614c04565b5b601f19601f8301169050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006148d782614a55565b91506148e283614a55565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561491757614916614b77565b5b828201905092915050565b600061492d82614a55565b915061493883614a55565b92508261494857614947614ba6565b5b828204905092915050565b600061495e82614a55565b915061496983614a55565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156149a2576149a1614b77565b5b828202905092915050565b60006149b882614a55565b91506149c383614a55565b9250828210156149d6576149d5614b77565b5b828203905092915050565b60006149ec82614a35565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015614a8c578082015181840152602081019050614a71565b83811115614a9b576000848401525b50505050565b6000614aac82614a55565b91506000821415614ac057614abf614b77565b5b600182039050919050565b60006002820490506001821680614ae357607f821691505b60208210811415614af757614af6614bd5565b5b50919050565b6000614b0882614a55565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614b3b57614b3a614b77565b5b600182019050919050565b6000614b5182614a55565b9150614b5c83614a55565b925082614b6c57614b6b614ba6565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b614c4d816149e1565b8114614c5857600080fd5b50565b614c64816149f3565b8114614c6f57600080fd5b50565b614c7b816149ff565b8114614c8657600080fd5b50565b614c9281614a09565b8114614c9d57600080fd5b50565b614ca981614a55565b8114614cb457600080fd5b5056fea2646970667358221220ca8c68d544585f20cc6c36734c2d08f888e2a80acfdc2fc4e85d9525d7b0e7c364736f6c6343000800003300000000000000000000000000000000000000000000000000000000000000400000000000000000000000008986235405b7b24490da4f9f510268f4fcd3b2a60000000000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x60806040526004361061022f5760003560e01c8063616ba54c1161012e578063a22cb465116100ab578063d547741f1161006f578063d547741f1461082b578063e831574214610854578063e985e9c51461087f578063eb8d2444146108bc578063f2fde38b146108e75761022f565b8063a22cb4651461074a578063a9f1b4af14610773578063b88d4fde1461079c578063c87b56dd146107c5578063d41edb18146108025761022f565b80638da5cb5b116100f25780638da5cb5b1461067057806391d148541461069b57806395d89b41146106d85780639a6f07e314610703578063a217fddf1461071f5761022f565b8063616ba54c146105895780636352211e146105b457806370a08231146105f1578063715018a61461062e5780637ff9b596146106455761022f565b8063248a9ca3116101bc57806336568abe1161018057806336568abe146104ba5780633ccfd60b146104e357806342842e0e146104fa5780634f6ccce71461052357806355f804b3146105605761022f565b8063248a9ca3146103d55780632c829690146104125780632f2ff15d1461043d5780632f745c591461046657806334918dfd146104a35761022f565b8063095ea7b311610203578063095ea7b3146103045780630e3609091461032d57806311e776fe1461035857806318160ddd1461038157806323b872dd146103ac5761022f565b80622854d71461023457806301ffc9a71461025f57806306fdde031461029c578063081812fc146102c7575b600080fd5b34801561024057600080fd5b50610249610910565b6040516102569190614440565b60405180910390f35b34801561026b57600080fd5b5061028660048036038101906102819190613825565b610934565b6040516102939190614425565b60405180910390f35b3480156102a857600080fd5b506102b16109ae565b6040516102be919061445b565b60405180910390f35b3480156102d357600080fd5b506102ee60048036038101906102e991906138b8565b610a40565b6040516102fb91906143be565b60405180910390f35b34801561031057600080fd5b5061032b60048036038101906103269190613784565b610ac5565b005b34801561033957600080fd5b50610342610bdd565b60405161034f91906147dd565b60405180910390f35b34801561036457600080fd5b5061037f600480360381019061037a91906138b8565b610be2565b005b34801561038d57600080fd5b50610396610cb1565b6040516103a391906147dd565b60405180910390f35b3480156103b857600080fd5b506103d360048036038101906103ce919061367e565b610cbe565b005b3480156103e157600080fd5b506103fc60048036038101906103f791906137c0565b610d1e565b6040516104099190614440565b60405180910390f35b34801561041e57600080fd5b50610427610d3e565b60405161043491906147dd565b60405180910390f35b34801561044957600080fd5b50610464600480360381019061045f91906137e9565b610d43565b005b34801561047257600080fd5b5061048d60048036038101906104889190613784565b610d6c565b60405161049a91906147dd565b60405180910390f35b3480156104af57600080fd5b506104b8610e11565b005b3480156104c657600080fd5b506104e160048036038101906104dc91906137e9565b610eb9565b005b3480156104ef57600080fd5b506104f8610f3c565b005b34801561050657600080fd5b50610521600480360381019061051c919061367e565b610fbe565b005b34801561052f57600080fd5b5061054a600480360381019061054591906138b8565b610fde565b60405161055791906147dd565b60405180910390f35b34801561056c57600080fd5b5061058760048036038101906105829190613877565b611075565b005b34801561059557600080fd5b5061059e61110b565b6040516105ab91906147dd565b60405180910390f35b3480156105c057600080fd5b506105db60048036038101906105d691906138b8565b611117565b6040516105e891906143be565b60405180910390f35b3480156105fd57600080fd5b5061061860048036038101906106139190613619565b6111c9565b60405161062591906147dd565b60405180910390f35b34801561063a57600080fd5b50610643611281565b005b34801561065157600080fd5b5061065a611309565b60405161066791906147dd565b60405180910390f35b34801561067c57600080fd5b5061068561130f565b60405161069291906143be565b60405180910390f35b3480156106a757600080fd5b506106c260048036038101906106bd91906137e9565b611339565b6040516106cf9190614425565b60405180910390f35b3480156106e457600080fd5b506106ed6113a4565b6040516106fa919061445b565b60405180910390f35b61071d600480360381019061071891906138b8565b611436565b005b34801561072b57600080fd5b50610734611606565b6040516107419190614440565b60405180910390f35b34801561075657600080fd5b50610771600480360381019061076c9190613748565b61160d565b005b34801561077f57600080fd5b5061079a600480360381019061079591906138b8565b61178e565b005b3480156107a857600080fd5b506107c360048036038101906107be91906136cd565b6118b3565b005b3480156107d157600080fd5b506107ec60048036038101906107e791906138b8565b611915565b6040516107f9919061445b565b60405180910390f35b34801561080e57600080fd5b50610829600480360381019061082491906138b8565b6119bc565b005b34801561083757600080fd5b50610852600480360381019061084d91906137e9565b611a42565b005b34801561086057600080fd5b50610869611a6b565b60405161087691906147dd565b60405180910390f35b34801561088b57600080fd5b506108a660048036038101906108a19190613642565b611a71565b6040516108b39190614425565b60405180910390f35b3480156108c857600080fd5b506108d1611b05565b6040516108de9190614425565b60405180910390f35b3480156108f357600080fd5b5061090e60048036038101906109099190613619565b611b18565b005b7ff25036a6852152e96c39cc9bf999cf0e78b9ebf96c37327327f9c87088a5dfa781565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806109a757506109a682611c10565b5b9050919050565b6060600080546109bd90614acb565b80601f01602080910402602001604051908101604052809291908181526020018280546109e990614acb565b8015610a365780601f10610a0b57610100808354040283529160200191610a36565b820191906000526020600020905b815481529060010190602001808311610a1957829003601f168201915b5050505050905090565b6000610a4b82611c8a565b610a8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a819061463d565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610ad082611117565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b41576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b38906146dd565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b60611cf6565b73ffffffffffffffffffffffffffffffffffffffff161480610b8f5750610b8e81610b89611cf6565b611a71565b5b610bce576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bc59061459d565b60405180910390fd5b610bd88383611cfe565b505050565b606481565b610bea611cf6565b73ffffffffffffffffffffffffffffffffffffffff16610c0861130f565b73ffffffffffffffffffffffffffffffffffffffff1614610c5e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c559061465d565b60405180910390fd5b610c66610cb1565b8111610ca7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9e9061473d565b60405180910390fd5b80600e8190555050565b6000600880549050905090565b610ccf610cc9611cf6565b82611db7565b610d0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d05906146fd565b60405180910390fd5b610d19838383611e95565b505050565b6000600b6000838152602001908152602001600020600101549050919050565b602881565b610d4c82610d1e565b610d5d81610d58611cf6565b6120f1565b610d67838361218e565b505050565b6000610d77836111c9565b8210610db8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610daf9061449d565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610e19611cf6565b73ffffffffffffffffffffffffffffffffffffffff16610e3761130f565b73ffffffffffffffffffffffffffffffffffffffff1614610e8d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e849061465d565b60405180910390fd5b600f60009054906101000a900460ff1615600f60006101000a81548160ff021916908315150217905550565b610ec1611cf6565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610f2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f259061479d565b60405180910390fd5b610f38828261226f565b5050565b7ff25036a6852152e96c39cc9bf999cf0e78b9ebf96c37327327f9c87088a5dfa7610f6e81610f69611cf6565b6120f1565b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610fb9573d6000803e3d6000fd5b505050565b610fd9838383604051806020016040528060008152506118b3565b505050565b6000610fe8610cb1565b8210611029576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110209061471d565b60405180910390fd5b60088281548110611063577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b61107d611cf6565b73ffffffffffffffffffffffffffffffffffffffff1661109b61130f565b73ffffffffffffffffffffffffffffffffffffffff16146110f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110e89061465d565b60405180910390fd5b8060109080519060200190611107929190613428565b5050565b60118060000154905081565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156111c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111b7906145dd565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561123a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611231906145bd565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611289611cf6565b73ffffffffffffffffffffffffffffffffffffffff166112a761130f565b73ffffffffffffffffffffffffffffffffffffffff16146112fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112f49061465d565b60405180910390fd5b6113076000612351565b565b600d5481565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600b600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6060600180546113b390614acb565b80601f01602080910402602001604051908101604052809291908181526020018280546113df90614acb565b801561142c5780601f106114015761010080835404028352916020019161142c565b820191906000526020600020905b81548152906001019060200180831161140f57829003601f168201915b5050505050905090565b6002600c54141561147c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114739061477d565b60405180910390fd5b6002600c81905550600061148e610cb1565b9050600f60009054906101000a900460ff166114df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114d6906147bd565b60405180910390fd5b6028821115611523576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161151a9061451d565b60405180910390fd5b600e54828261153291906148cc565b1115611573576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161156a906146bd565b60405180910390fd5b3482600d546115829190614953565b11156115c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ba9061475d565b60405180910390fd5b60005b828110156115f9576115d83383612417565b81806115e390614afd565b92505080806115f190614afd565b9150506115c6565b50506001600c8190555050565b6000801b81565b611615611cf6565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611683576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161167a9061455d565b60405180910390fd5b8060056000611690611cf6565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661173d611cf6565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516117829190614425565b60405180910390a35050565b611796611cf6565b73ffffffffffffffffffffffffffffffffffffffff166117b461130f565b73ffffffffffffffffffffffffffffffffffffffff161461180a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118019061465d565b60405180910390fd5b6000611814610cb1565b90506064826118236011612435565b61182d91906148cc565b111561186e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118659061461d565b60405180910390fd5b60005b828110156118ae576118833383612417565b61188d6011612443565b818061189890614afd565b92505080806118a690614afd565b915050611871565b505050565b6118c46118be611cf6565b83611db7565b611903576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118fa906146fd565b60405180910390fd5b61190f84848484612459565b50505050565b606061192082611c8a565b61195f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119569061469d565b60405180910390fd5b60006119696124b5565b9050600081511161198957604051806020016040528060008152506119b4565b8061199384612547565b6040516020016119a4929190614360565b6040516020818303038152906040525b915050919050565b6119c4611cf6565b73ffffffffffffffffffffffffffffffffffffffff166119e261130f565b73ffffffffffffffffffffffffffffffffffffffff1614611a38576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a2f9061465d565b60405180910390fd5b80600d8190555050565b611a4b82610d1e565b611a5c81611a57611cf6565b6120f1565b611a66838361226f565b505050565b600e5481565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600f60009054906101000a900460ff1681565b611b20611cf6565b73ffffffffffffffffffffffffffffffffffffffff16611b3e61130f565b73ffffffffffffffffffffffffffffffffffffffff1614611b94576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b8b9061465d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611c04576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bfb906144dd565b60405180910390fd5b611c0d81612351565b50565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611c835750611c82826126f4565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611d7183611117565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611dc282611c8a565b611e01576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611df89061457d565b60405180910390fd5b6000611e0c83611117565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611e7b57508373ffffffffffffffffffffffffffffffffffffffff16611e6384610a40565b73ffffffffffffffffffffffffffffffffffffffff16145b80611e8c5750611e8b8185611a71565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611eb582611117565b73ffffffffffffffffffffffffffffffffffffffff1614611f0b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f029061467d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611f7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f729061453d565b60405180910390fd5b611f8683838361276e565b611f91600082611cfe565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611fe191906149ad565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461203891906148cc565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6120fb8282611339565b61218a576121208173ffffffffffffffffffffffffffffffffffffffff16601461277e565b61212e8360001c602061277e565b60405160200161213f929190614384565b6040516020818303038152906040526040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612181919061445b565b60405180910390fd5b5050565b6121988282611339565b61226b576001600b600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550612210611cf6565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6122798282611339565b1561234d576000600b600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506122f2611cf6565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612431828260405180602001604052806000815250612a78565b5050565b600081600001549050919050565b6001816000016000828254019250508190555050565b612464848484611e95565b61247084848484612ad3565b6124af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124a6906144bd565b60405180910390fd5b50505050565b6060601080546124c490614acb565b80601f01602080910402602001604051908101604052809291908181526020018280546124f090614acb565b801561253d5780601f106125125761010080835404028352916020019161253d565b820191906000526020600020905b81548152906001019060200180831161252057829003601f168201915b5050505050905090565b6060600082141561258f576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506126ef565b600082905060005b600082146125c15780806125aa90614afd565b915050600a826125ba9190614922565b9150612597565b60008167ffffffffffffffff811115612603577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156126355781602001600182028036833780820191505090505b5090505b600085146126e85760018261264e91906149ad565b9150600a8561265d9190614b46565b603061266991906148cc565b60f81b8183815181106126a5577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856126e19190614922565b9450612639565b8093505050505b919050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612767575061276682612c6a565b5b9050919050565b612779838383612d4c565b505050565b6060600060028360026127919190614953565b61279b91906148cc565b67ffffffffffffffff8111156127da577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561280c5781602001600182028036833780820191505090505b5090507f30000000000000000000000000000000000000000000000000000000000000008160008151811061286a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f7800000000000000000000000000000000000000000000000000000000000000816001815181106128f4577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600060018460026129349190614953565b61293e91906148cc565b90505b6001811115612a2a577f3031323334353637383961626364656600000000000000000000000000000000600f8616601081106129a6577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b1a60f81b8282815181106129e3577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c945080612a2390614aa1565b9050612941565b5060008414612a6e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a659061447d565b60405180910390fd5b8091505092915050565b612a828383612e60565b612a8f6000848484612ad3565b612ace576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ac5906144bd565b60405180910390fd5b505050565b6000612af48473ffffffffffffffffffffffffffffffffffffffff1661302e565b15612c5d578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612b1d611cf6565b8786866040518563ffffffff1660e01b8152600401612b3f94939291906143d9565b602060405180830381600087803b158015612b5957600080fd5b505af1925050508015612b8a57506040513d601f19601f82011682018060405250810190612b87919061384e565b60015b612c0d573d8060008114612bba576040519150601f19603f3d011682016040523d82523d6000602084013e612bbf565b606091505b50600081511415612c05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bfc906144bd565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612c62565b600190505b949350505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612d3557507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612d455750612d4482613041565b5b9050919050565b612d578383836130ab565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612d9a57612d95816130b0565b612dd9565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612dd857612dd783826130f9565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612e1c57612e1781613266565b612e5b565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612e5a57612e5982826133a9565b5b5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612ed0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ec7906145fd565b60405180910390fd5b612ed981611c8a565b15612f19576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f10906144fd565b60405180910390fd5b612f256000838361276e565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612f7591906148cc565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001613106846111c9565b61311091906149ad565b90506000600760008481526020019081526020016000205490508181146131f5576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160088054905061327a91906149ad565b90506000600960008481526020019081526020016000205490506000600883815481106132d0577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110613318577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001819055508160096000838152602001908152602001600020819055506009600085815260200190815260200160002060009055600880548061338d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b60006133b4836111c9565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b82805461343490614acb565b90600052602060002090601f016020900481019282613456576000855561349d565b82601f1061346f57805160ff191683800117855561349d565b8280016001018555821561349d579182015b8281111561349c578251825591602001919060010190613481565b5b5090506134aa91906134ae565b5090565b5b808211156134c75760008160009055506001016134af565b5090565b60006134de6134d984614829565b6147f8565b9050828152602081018484840111156134f657600080fd5b613501848285614a5f565b509392505050565b600061351c61351784614859565b6147f8565b90508281526020810184848401111561353457600080fd5b61353f848285614a5f565b509392505050565b60008135905061355681614c44565b92915050565b60008135905061356b81614c5b565b92915050565b60008135905061358081614c72565b92915050565b60008135905061359581614c89565b92915050565b6000815190506135aa81614c89565b92915050565b600082601f8301126135c157600080fd5b81356135d18482602086016134cb565b91505092915050565b600082601f8301126135eb57600080fd5b81356135fb848260208601613509565b91505092915050565b60008135905061361381614ca0565b92915050565b60006020828403121561362b57600080fd5b600061363984828501613547565b91505092915050565b6000806040838503121561365557600080fd5b600061366385828601613547565b925050602061367485828601613547565b9150509250929050565b60008060006060848603121561369357600080fd5b60006136a186828701613547565b93505060206136b286828701613547565b92505060406136c386828701613604565b9150509250925092565b600080600080608085870312156136e357600080fd5b60006136f187828801613547565b945050602061370287828801613547565b935050604061371387828801613604565b925050606085013567ffffffffffffffff81111561373057600080fd5b61373c878288016135b0565b91505092959194509250565b6000806040838503121561375b57600080fd5b600061376985828601613547565b925050602061377a8582860161355c565b9150509250929050565b6000806040838503121561379757600080fd5b60006137a585828601613547565b92505060206137b685828601613604565b9150509250929050565b6000602082840312156137d257600080fd5b60006137e084828501613571565b91505092915050565b600080604083850312156137fc57600080fd5b600061380a85828601613571565b925050602061381b85828601613547565b9150509250929050565b60006020828403121561383757600080fd5b600061384584828501613586565b91505092915050565b60006020828403121561386057600080fd5b600061386e8482850161359b565b91505092915050565b60006020828403121561388957600080fd5b600082013567ffffffffffffffff8111156138a357600080fd5b6138af848285016135da565b91505092915050565b6000602082840312156138ca57600080fd5b60006138d884828501613604565b91505092915050565b6138ea816149e1565b82525050565b6138f9816149f3565b82525050565b613908816149ff565b82525050565b600061391982614889565b613923818561489f565b9350613933818560208601614a6e565b61393c81614c33565b840191505092915050565b600061395282614894565b61395c81856148b0565b935061396c818560208601614a6e565b61397581614c33565b840191505092915050565b600061398b82614894565b61399581856148c1565b93506139a5818560208601614a6e565b80840191505092915050565b60006139be6020836148b0565b91507f537472696e67733a20686578206c656e67746820696e73756666696369656e746000830152602082019050919050565b60006139fe602b836148b0565b91507f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008301527f74206f6620626f756e64730000000000000000000000000000000000000000006020830152604082019050919050565b6000613a646032836148b0565b91507f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008301527f63656976657220696d706c656d656e74657200000000000000000000000000006020830152604082019050919050565b6000613aca6026836148b0565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613b30601c836148b0565b91507f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006000830152602082019050919050565b6000613b706015836148b0565b91507f4d617820707572636861736520657863656564656400000000000000000000006000830152602082019050919050565b6000613bb06024836148b0565b91507f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613c166019836148b0565b91507f4552433732313a20617070726f766520746f2063616c6c6572000000000000006000830152602082019050919050565b6000613c56602c836148b0565b91507f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000613cbc6038836148b0565b91507f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020830152604082019050919050565b6000613d22602a836148b0565b91507f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008301527f726f2061646472657373000000000000000000000000000000000000000000006020830152604082019050919050565b6000613d886029836148b0565b91507f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008301527f656e7420746f6b656e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000613dee6020836148b0565b91507f4552433732313a206d696e7420746f20746865207a65726f20616464726573736000830152602082019050919050565b6000613e2e6014836148b0565b91507f43616e6e6f74207072652d6d696e74206d6f72650000000000000000000000006000830152602082019050919050565b6000613e6e602c836148b0565b91507f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000613ed46020836148b0565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b6000613f146029836148b0565b91507f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008301527f73206e6f74206f776e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000613f7a602f836148b0565b91507f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008301527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006020830152604082019050919050565b6000613fe0601f836148b0565b91507f4d6178696d756d20737570706c7920686173206265656e2072656163686564006000830152602082019050919050565b60006140206021836148b0565b91507f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008301527f72000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006140866031836148b0565b91507f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f7665640000000000000000000000000000006020830152604082019050919050565b60006140ec602c836148b0565b91507f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008301527f7574206f6620626f756e647300000000000000000000000000000000000000006020830152604082019050919050565b60006141526017836148c1565b91507f416363657373436f6e74726f6c3a206163636f756e74200000000000000000006000830152601782019050919050565b6000614192602f836148b0565b91507f4e6577206d6178696d756d2063616e6e6f74206265206c657373207468616e2060008301527f63757272656e7420737570706c792100000000000000000000000000000000006020830152604082019050919050565b60006141f8600e836148b0565b91507f4e6f7420656e6f756768204574680000000000000000000000000000000000006000830152602082019050919050565b6000614238601f836148b0565b91507f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006000830152602082019050919050565b60006142786011836148c1565b91507f206973206d697373696e6720726f6c65200000000000000000000000000000006000830152601182019050919050565b60006142b8602f836148b0565b91507f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008301527f20726f6c657320666f722073656c6600000000000000000000000000000000006020830152604082019050919050565b600061431e6018836148b0565b91507f5468652073616c6520686173206e6f74207374617274656400000000000000006000830152602082019050919050565b61435a81614a55565b82525050565b600061436c8285613980565b91506143788284613980565b91508190509392505050565b600061438f82614145565b915061439b8285613980565b91506143a68261426b565b91506143b28284613980565b91508190509392505050565b60006020820190506143d360008301846138e1565b92915050565b60006080820190506143ee60008301876138e1565b6143fb60208301866138e1565b6144086040830185614351565b818103606083015261441a818461390e565b905095945050505050565b600060208201905061443a60008301846138f0565b92915050565b600060208201905061445560008301846138ff565b92915050565b600060208201905081810360008301526144758184613947565b905092915050565b60006020820190508181036000830152614496816139b1565b9050919050565b600060208201905081810360008301526144b6816139f1565b9050919050565b600060208201905081810360008301526144d681613a57565b9050919050565b600060208201905081810360008301526144f681613abd565b9050919050565b6000602082019050818103600083015261451681613b23565b9050919050565b6000602082019050818103600083015261453681613b63565b9050919050565b6000602082019050818103600083015261455681613ba3565b9050919050565b6000602082019050818103600083015261457681613c09565b9050919050565b6000602082019050818103600083015261459681613c49565b9050919050565b600060208201905081810360008301526145b681613caf565b9050919050565b600060208201905081810360008301526145d681613d15565b9050919050565b600060208201905081810360008301526145f681613d7b565b9050919050565b6000602082019050818103600083015261461681613de1565b9050919050565b6000602082019050818103600083015261463681613e21565b9050919050565b6000602082019050818103600083015261465681613e61565b9050919050565b6000602082019050818103600083015261467681613ec7565b9050919050565b6000602082019050818103600083015261469681613f07565b9050919050565b600060208201905081810360008301526146b681613f6d565b9050919050565b600060208201905081810360008301526146d681613fd3565b9050919050565b600060208201905081810360008301526146f681614013565b9050919050565b6000602082019050818103600083015261471681614079565b9050919050565b60006020820190508181036000830152614736816140df565b9050919050565b6000602082019050818103600083015261475681614185565b9050919050565b60006020820190508181036000830152614776816141eb565b9050919050565b600060208201905081810360008301526147968161422b565b9050919050565b600060208201905081810360008301526147b6816142ab565b9050919050565b600060208201905081810360008301526147d681614311565b9050919050565b60006020820190506147f26000830184614351565b92915050565b6000604051905081810181811067ffffffffffffffff8211171561481f5761481e614c04565b5b8060405250919050565b600067ffffffffffffffff82111561484457614843614c04565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff82111561487457614873614c04565b5b601f19601f8301169050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006148d782614a55565b91506148e283614a55565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561491757614916614b77565b5b828201905092915050565b600061492d82614a55565b915061493883614a55565b92508261494857614947614ba6565b5b828204905092915050565b600061495e82614a55565b915061496983614a55565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156149a2576149a1614b77565b5b828202905092915050565b60006149b882614a55565b91506149c383614a55565b9250828210156149d6576149d5614b77565b5b828203905092915050565b60006149ec82614a35565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015614a8c578082015181840152602081019050614a71565b83811115614a9b576000848401525b50505050565b6000614aac82614a55565b91506000821415614ac057614abf614b77565b5b600182039050919050565b60006002820490506001821680614ae357607f821691505b60208210811415614af757614af6614bd5565b5b50919050565b6000614b0882614a55565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614b3b57614b3a614b77565b5b600182019050919050565b6000614b5182614a55565b9150614b5c83614a55565b925082614b6c57614b6b614ba6565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b614c4d816149e1565b8114614c5857600080fd5b50565b614c64816149f3565b8114614c6f57600080fd5b50565b614c7b816149ff565b8114614c8657600080fd5b50565b614c9281614a09565b8114614c9d57600080fd5b50565b614ca981614a55565b8114614cb457600080fd5b5056fea2646970667358221220ca8c68d544585f20cc6c36734c2d08f888e2a80acfdc2fc4e85d9525d7b0e7c364736f6c63430008000033

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

00000000000000000000000000000000000000000000000000000000000000400000000000000000000000008986235405b7b24490da4f9f510268f4fcd3b2a60000000000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : baseURI (string):
Arg [1] : councilAddress (address): 0x8986235405B7B24490dA4F9f510268f4fcd3b2a6

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 0000000000000000000000008986235405b7b24490da4f9f510268f4fcd3b2a6
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000000


Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.