ETH Price: $3,493.23 (-1.95%)
Gas: 49 Gwei

Contract

0xFFB4bCC28B1B3936f095F382b6Fd9b27cFc9E3f9
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Value
Safe Transfer Fr...191505722024-02-03 21:42:2354 days ago1706996543IN
0xFFB4bCC2...7cFc9E3f9
0 ETH0.0009145714.84264097
Set Approval For...189111662024-01-01 7:39:5988 days ago1704094799IN
0xFFB4bCC2...7cFc9E3f9
0 ETH0.000240489.71879312
Set Approval For...189111622024-01-01 7:39:1188 days ago1704094751IN
0xFFB4bCC2...7cFc9E3f9
0 ETH0.0002620810.561293
Set Approval For...189111282024-01-01 7:32:2388 days ago1704094343IN
0xFFB4bCC2...7cFc9E3f9
0 ETH0.000432669.25914599
Set Approval For...189097932024-01-01 3:02:3588 days ago1704078155IN
0xFFB4bCC2...7cFc9E3f9
0 ETH0.0005143711.02479879
Set Approval For...189045892023-12-31 9:32:3589 days ago1704015155IN
0xFFB4bCC2...7cFc9E3f9
0 ETH0.0006692714.34498379
Set Approval For...187804932023-12-13 23:22:59106 days ago1702509779IN
0xFFB4bCC2...7cFc9E3f9
0 ETH0.0024217851.90735288
Set Approval For...186581092023-11-26 20:05:35123 days ago1701029135IN
0xFFB4bCC2...7cFc9E3f9
0 ETH0.0014093230.16028926
Set Approval For...186127132023-11-20 11:30:47130 days ago1700479847IN
0xFFB4bCC2...7cFc9E3f9
0 ETH0.0005446822.01268766
Set Approval For...185233042023-11-07 23:16:23142 days ago1699398983IN
0xFFB4bCC2...7cFc9E3f9
0 ETH0.0010810423.17051639
Set Approval For...181194662023-09-12 9:50:11199 days ago1694512211IN
0xFFB4bCC2...7cFc9E3f9
0 ETH0.0004967310.63206681
Set Approval For...179713862023-08-22 16:16:47219 days ago1692721007IN
0xFFB4bCC2...7cFc9E3f9
0 ETH0.0015173861.32341479
Approve178576862023-08-06 18:24:59235 days ago1691346299IN
0xFFB4bCC2...7cFc9E3f9
0 ETH0.0007309414.83248647
Approve178576782023-08-06 18:23:23235 days ago1691346203IN
0xFFB4bCC2...7cFc9E3f9
0 ETH0.000761315.44853008
Approve178576702023-08-06 18:21:47235 days ago1691346107IN
0xFFB4bCC2...7cFc9E3f9
0 ETH0.0007393815.00370446
Set Approval For...178576592023-08-06 18:19:35235 days ago1691345975IN
0xFFB4bCC2...7cFc9E3f9
0 ETH0.0007913216.93463646
Set Approval For...175208212023-06-20 12:10:47283 days ago1687263047IN
0xFFB4bCC2...7cFc9E3f9
0 ETH0.0006630814.2121416
Set Approval For...174589032023-06-11 19:21:11291 days ago1686511271IN
0xFFB4bCC2...7cFc9E3f9
0 ETH0.0007523716.12606457
Safe Transfer Fr...168422132023-03-16 18:33:35378 days ago1678991615IN
0xFFB4bCC2...7cFc9E3f9
0 ETH0.0015610323.2538686
Set Approval For...167753192023-03-07 8:44:35388 days ago1678178675IN
0xFFB4bCC2...7cFc9E3f9
0 ETH0.0010515522.53855709
Safe Transfer Fr...167103452023-02-26 5:31:23397 days ago1677389483IN
0xFFB4bCC2...7cFc9E3f9
0 ETH0.0008553117.09603411
Safe Transfer Fr...167080452023-02-25 21:45:11397 days ago1677361511IN
0xFFB4bCC2...7cFc9E3f9
0 ETH0.0012626420.25744295
Set Approval For...165966202023-02-10 6:39:23413 days ago1676011163IN
0xFFB4bCC2...7cFc9E3f9
0 ETH0.0005021120.22370248
Set Approval For...165907102023-02-09 10:50:23414 days ago1675939823IN
0xFFB4bCC2...7cFc9E3f9
0 ETH0.0009297419.92770849
Set Approval For...165870462023-02-08 22:33:35414 days ago1675895615IN
0xFFB4bCC2...7cFc9E3f9
0 ETH0.0014482531.04110489
View all transactions

Latest 3 internal transactions

Advanced mode:
Parent Txn Hash Block From To Value
142403102022-02-20 2:46:29768 days ago1645325189
0xFFB4bCC2...7cFc9E3f9
38.43125 ETH
142403102022-02-20 2:46:29768 days ago1645325189
0xFFB4bCC2...7cFc9E3f9
38.43125 ETH
142403102022-02-20 2:46:29768 days ago1645325189
0xFFB4bCC2...7cFc9E3f9
76.8625 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
KokoroAcademy

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 14 : KokoroAcademy.sol
//SPDX-License-Identifier: UNLICENSED

/*
 _  __     _                   
| |/ /    | |                  
| ' / ___ | | _____  _ __ ___  
|  < / _ \| |/ / _ \| '__/ _ \ 
| . \ (_) |   < (_) | | | (_) |
|_|\_\___/|_|\_\___/|_|  \___/ 
                               
                               
                       _                      
    /\                | |                     
   /  \   ___ __ _  __| | ___ _ __ ___  _   _ 
  / /\ \ / __/ _` |/ _` |/ _ \ '_ ` _ \| | | |
 / ____ \ (_| (_| | (_| |  __/ | | | | | |_| |
/_/    \_\___\__,_|\__,_|\___|_| |_| |_|\__, |
                                         __/ |
                                        |___/ 
A gas-optimized contract standard by @magmar_official
*/

pragma solidity >=0.7.0 <0.9.0;

import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";

contract KokoroAcademy is ERC721, Ownable {
  using Counters for Counters.Counter;
  using SafeMath for uint256;

  Counters.Counter private supply;
  
  uint256 public presaleCost = .065 ether;
  uint256 public presalemaxMintAmountPlusOne = 4;

  uint256 public publicCost = .08 ether;
  uint256 public maxMintAmountPlusOne = 6;

  uint256 public maxSupplyPlusOne = 8889;
  uint256 public devMintAmount = 100;

  string public PROVENANCE;
  string private _baseURIextended;

  bool public saleIsActive;
  bool public presaleIsActive;

  address payable public immutable creatorAddress = payable(0xBdA74fbe5135b374DA44DBE99E0D5e35A1008C94);
  address payable public immutable devAddress = payable(0x15C560d2D9Eb3AF98524aA73BeCBA43E9e6ceF02);
  address payable public immutable marketingAddress = payable(0xb596fB8CcDAFEF91017D311a734F22e572EB0A79);

  mapping(address => uint256) public whitelistBalances;

  bytes32 public merkleRoot;

  constructor() ERC721("Kokoro Academy", "KOKORO") {
    _baseURIextended = "ipfs://QmVntcYNfRoM1NJRhXzQrfdaaGEZHfcBtCuQZeYZv964QU/";
    _mintLoop(msg.sender, devMintAmount);
    saleIsActive = false;
    presaleIsActive = false;
  }

  modifier mintCompliance(uint256 _mintAmount) {
    require(_mintAmount > 0 && _mintAmount < maxMintAmountPlusOne, "Invalid mint amount!");
    require(supply.current() + _mintAmount < maxSupplyPlusOne, "Max supply exceeded!");
    _;
  }

  modifier callerIsUser() {
    require(tx.origin == msg.sender, "The caller is another contract");
    _;
  }

  function totalSupply() public view returns (uint256) {
    return supply.current();
  }

  function setMerkleRoot(bytes32 _merkleRoot) public onlyOwner {
    merkleRoot = _merkleRoot;
  }

  function whitelistMint(uint256 _mintAmount, bytes32[] calldata merkleProof) public payable mintCompliance(_mintAmount) callerIsUser {
    require (presaleIsActive, "Presale inactive");
    require(balanceOf(msg.sender) + _mintAmount < presalemaxMintAmountPlusOne, "Attempting to mint too many Waifus for pre-sale");
    require(whitelistBalances[msg.sender] + _mintAmount < presalemaxMintAmountPlusOne, "Attempting to mint too many Waifus for pre-sale (balance transferred out)");
    require(msg.value >= presaleCost * _mintAmount, "Not enough eth sent!");

    bytes32 leaf = keccak256(abi.encodePacked(msg.sender));
    require(MerkleProof.verify(merkleProof, merkleRoot, leaf), "You're not whitelisted for presale!");
    _mintLoop(msg.sender, _mintAmount);
    whitelistBalances[msg.sender] += _mintAmount;
  }

  function mint(uint256 _mintAmount) public payable mintCompliance(_mintAmount) callerIsUser {
    require (saleIsActive, "Public sale inactive");
    require(msg.value >= publicCost * _mintAmount, "Not enough eth sent!");
    _mintLoop(msg.sender, _mintAmount);
  }

  function setSale(bool newState) public onlyOwner {
    saleIsActive = newState;
  }

  function setPreSale(bool newState) public onlyOwner {
    presaleIsActive = newState;
  }

  function setProvenance(string memory provenance) public onlyOwner {
    PROVENANCE = provenance;
  }

  function setPublicCost(uint256 _newCost) public onlyOwner {
    publicCost = _newCost;
  }

  function setPreSaleCost(uint256 _newCost) public onlyOwner {
    presaleCost = _newCost;
  }

  function _mintLoop(address _receiver, uint256 _mintAmount) internal {
    for (uint256 i = 0; i < _mintAmount; i++) {
      supply.increment();
      _safeMint(_receiver, supply.current());
    }
  }

  function setBaseURI(string memory baseURI_) external onlyOwner() {
    _baseURIextended = baseURI_;
  }

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

  function withdraw() public onlyOwner {
      uint256 balance = address(this).balance;
      Address.sendValue(creatorAddress, balance.mul(50).div(100));
      Address.sendValue(marketingAddress, balance.mul(25).div(100));
      Address.sendValue(devAddress, balance.mul(25).div(100));
  }

}

File 3 of 14 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/ERC721.sol)

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 {
        _setApprovalForAll(_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 Approve `operator` to operate on all of `owner` tokens
     *
     * Emits a {ApprovalForAll} event.
     */
    function _setApprovalForAll(
        address owner,
        address operator,
        bool approved
    ) internal virtual {
        require(owner != operator, "ERC721: approve to caller");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

    /**
     * @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 4 of 14 : Counters.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Counters.sol)

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 5 of 14 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

File 6 of 14 : SafeMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/math/SafeMath.sol)

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

File 7 of 14 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Trees proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProof(proof, leaf) == root;
    }

    /**
     * @dev Returns the rebuilt hash obtained by traversing a Merklee tree up
     * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt
     * hash matches the root of the tree. When processing the proof, the pairs
     * of leafs & pre-images are assumed to be sorted.
     *
     * _Available since v4.4._
     */
    function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            bytes32 proofElement = proof[i];
            if (computedHash <= proofElement) {
                // Hash(current computed hash + current element of the proof)
                computedHash = keccak256(abi.encodePacked(computedHash, proofElement));
            } else {
                // Hash(current element of the proof + current computed hash)
                computedHash = keccak256(abi.encodePacked(proofElement, computedHash));
            }
        }
        return computedHash;
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 11 of 14 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Address.sol)

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 12 of 14 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"PROVENANCE","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"creatorAddress","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"devAddress","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"devMintAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"marketingAddress","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintAmountPlusOne","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupplyPlusOne","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaleCost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presalemaxMintAmountPlusOne","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicCost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"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":"baseURI_","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"newState","type":"bool"}],"name":"setPreSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newCost","type":"uint256"}],"name":"setPreSaleCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"provenance","type":"string"}],"name":"setProvenance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newCost","type":"uint256"}],"name":"setPublicCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"newState","type":"bool"}],"name":"setSale","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":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelistBalances","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"whitelistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60e060405266e6ed27d6668000600855600460095567011c37937e080000600a556006600b556122b9600c556064600d5573bda74fbe5135b374da44dbe99e0d5e35a1008c9473ffffffffffffffffffffffffffffffffffffffff1660809073ffffffffffffffffffffffffffffffffffffffff1660601b8152507315c560d2d9eb3af98524aa73becba43e9e6cef0273ffffffffffffffffffffffffffffffffffffffff1660a09073ffffffffffffffffffffffffffffffffffffffff1660601b81525073b596fb8ccdafef91017d311a734f22e572eb0a7973ffffffffffffffffffffffffffffffffffffffff1660c09073ffffffffffffffffffffffffffffffffffffffff1660601b8152503480156200011b57600080fd5b506040518060400160405280600e81526020017f4b6f6b6f726f2041636164656d790000000000000000000000000000000000008152506040518060400160405280600681526020017f4b4f4b4f524f00000000000000000000000000000000000000000000000000008152508160009080519060200190620001a09291906200086e565b508060019080519060200190620001b99291906200086e565b505050620001dc620001d06200025e60201b60201c565b6200026660201b60201c565b6040518060600160405280603681526020016200563f60369139600f90805190602001906200020d9291906200086e565b506200022233600d546200032c60201b60201c565b6000601060006101000a81548160ff0219169083151502179055506000601060016101000a81548160ff02191690831515021790555062000da1565b600033905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60005b818110156200038d576200034f60076200039260201b62001e8b1760201c565b62000377836200036b6007620003a860201b62001ea11760201c565b620003b660201b60201c565b8080620003849062000cca565b9150506200032f565b505050565b6001816000016000828254019250508190555050565b600081600001549050919050565b620003d8828260405180602001604052806000815250620003dc60201b60201c565b5050565b620003ee83836200044a60201b60201c565b6200040360008484846200063060201b60201c565b62000445576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200043c9062000b04565b60405180910390fd5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415620004bd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620004b49062000b48565b60405180910390fd5b620004ce81620007ea60201b60201c565b1562000511576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620005089062000b26565b60405180910390fd5b62000525600083836200085660201b60201c565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825462000577919062000b97565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b60006200065e8473ffffffffffffffffffffffffffffffffffffffff166200085b60201b62001eaf1760201c565b15620007dd578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02620006906200025e60201b60201c565b8786866040518563ffffffff1660e01b8152600401620006b4949392919062000ab0565b602060405180830381600087803b158015620006cf57600080fd5b505af19250505080156200070357506040513d601f19601f8201168201806040525081019062000700919062000935565b60015b6200078c573d806000811462000736576040519150601f19603f3d011682016040523d82523d6000602084013e6200073b565b606091505b5060008151141562000784576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200077b9062000b04565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050620007e2565b600190505b949350505050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b505050565b600080823b905060008111915050919050565b8280546200087c9062000c94565b90600052602060002090601f016020900481019282620008a05760008555620008ec565b82601f10620008bb57805160ff1916838001178555620008ec565b82800160010185558215620008ec579182015b82811115620008eb578251825591602001919060010190620008ce565b5b509050620008fb9190620008ff565b5090565b5b808211156200091a57600081600090555060010162000900565b5090565b6000815190506200092f8162000d87565b92915050565b6000602082840312156200094857600080fd5b600062000958848285016200091e565b91505092915050565b6200096c8162000bf4565b82525050565b60006200097f8262000b6a565b6200098b818562000b75565b93506200099d81856020860162000c5e565b620009a88162000d76565b840191505092915050565b6000620009c260328362000b86565b91507f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008301527f63656976657220696d706c656d656e74657200000000000000000000000000006020830152604082019050919050565b600062000a2a601c8362000b86565b91507f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006000830152602082019050919050565b600062000a6c60208362000b86565b91507f4552433732313a206d696e7420746f20746865207a65726f20616464726573736000830152602082019050919050565b62000aaa8162000c54565b82525050565b600060808201905062000ac7600083018762000961565b62000ad6602083018662000961565b62000ae5604083018562000a9f565b818103606083015262000af9818462000972565b905095945050505050565b6000602082019050818103600083015262000b1f81620009b3565b9050919050565b6000602082019050818103600083015262000b418162000a1b565b9050919050565b6000602082019050818103600083015262000b638162000a5d565b9050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600062000ba48262000c54565b915062000bb18362000c54565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111562000be95762000be862000d18565b5b828201905092915050565b600062000c018262000c34565b9050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60005b8381101562000c7e57808201518184015260208101905062000c61565b8381111562000c8e576000848401525b50505050565b6000600282049050600182168062000cad57607f821691505b6020821081141562000cc45762000cc362000d47565b5b50919050565b600062000cd78262000c54565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141562000d0d5762000d0c62000d18565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000601f19601f8301169050919050565b62000d928162000c08565b811462000d9e57600080fd5b50565b60805160601c60a05160601c60c05160601c61485062000def60003960008181610fa50152611729015260008181610ead0152610ff5015260008181610f550152611c1c01526148506000f3fe6080604052600436106102465760003560e01c8063715018a611610139578063b88d4fde116100b6578063e927fc5c1161007a578063e927fc5c1461082a578063e985e9c514610855578063eb8d244414610892578063f2fde38b146108bd578063f7ea21b2146108e6578063ffe630b51461092357610246565b8063b88d4fde14610752578063c87b56dd1461077b578063d2cab056146107b8578063d4d20d59146107d4578063e07dcd14146107ff57610246565b80638da5cb5b116100fd5780638da5cb5b1461068c57806395d89b41146106b7578063a0712d68146106e2578063a22cb465146106fe578063a5ece9411461072757610246565b8063715018a6146105cd5780637759e29f146105e45780637cb647591461060f578063811d2437146106385780638693da201461066157610246565b80632b935c0f116101c757806342842e0e1161018b57806342842e0e146104d657806355f804b3146104ff5780636352211e146105285780636373a6b11461056557806370a082311461059057610246565b80632b935c0f146104135780632eb4a7ab1461043e57806330f72cd4146104695780633ad10ef6146104945780633ccfd60b146104bf57610246565b806318160ddd1161020e57806318160ddd146103425780631d2e5a3a1461036d578063231b07161461039657806323b872dd146103bf5780632a23d07d146103e857610246565b806301ffc9a71461024b57806306fdde0314610288578063081812fc146102b3578063095ea7b3146102f05780630d95ccc914610319575b600080fd5b34801561025757600080fd5b50610272600480360381019061026d91906132c8565b61094c565b60405161027f9190613f5a565b60405180910390f35b34801561029457600080fd5b5061029d610a2e565b6040516102aa9190613f90565b60405180910390f35b3480156102bf57600080fd5b506102da60048036038101906102d5919061335b565b610ac0565b6040516102e79190613ed8565b60405180910390f35b3480156102fc57600080fd5b506103176004803603810190610312919061323a565b610b45565b005b34801561032557600080fd5b50610340600480360381019061033b9190613276565b610c5d565b005b34801561034e57600080fd5b50610357610cf6565b6040516103649190614312565b60405180910390f35b34801561037957600080fd5b50610394600480360381019061038f9190613276565b610d07565b005b3480156103a257600080fd5b506103bd60048036038101906103b8919061335b565b610da0565b005b3480156103cb57600080fd5b506103e660048036038101906103e19190613134565b610e26565b005b3480156103f457600080fd5b506103fd610e86565b60405161040a9190614312565b60405180910390f35b34801561041f57600080fd5b50610428610e8c565b6040516104359190614312565b60405180910390f35b34801561044a57600080fd5b50610453610e92565b6040516104609190613f75565b60405180910390f35b34801561047557600080fd5b5061047e610e98565b60405161048b9190613f5a565b60405180910390f35b3480156104a057600080fd5b506104a9610eab565b6040516104b69190613ef3565b60405180910390f35b3480156104cb57600080fd5b506104d4610ecf565b005b3480156104e257600080fd5b506104fd60048036038101906104f89190613134565b611043565b005b34801561050b57600080fd5b506105266004803603810190610521919061331a565b611063565b005b34801561053457600080fd5b5061054f600480360381019061054a919061335b565b6110f9565b60405161055c9190613ed8565b60405180910390f35b34801561057157600080fd5b5061057a6111ab565b6040516105879190613f90565b60405180910390f35b34801561059c57600080fd5b506105b760048036038101906105b291906130cf565b611239565b6040516105c49190614312565b60405180910390f35b3480156105d957600080fd5b506105e26112f1565b005b3480156105f057600080fd5b506105f9611379565b6040516106069190614312565b60405180910390f35b34801561061b57600080fd5b506106366004803603810190610631919061329f565b61137f565b005b34801561064457600080fd5b5061065f600480360381019061065a919061335b565b611405565b005b34801561066d57600080fd5b5061067661148b565b6040516106839190614312565b60405180910390f35b34801561069857600080fd5b506106a1611491565b6040516106ae9190613ed8565b60405180910390f35b3480156106c357600080fd5b506106cc6114bb565b6040516106d99190613f90565b60405180910390f35b6106fc60048036038101906106f7919061335b565b61154d565b005b34801561070a57600080fd5b50610725600480360381019061072091906131fe565b611711565b005b34801561073357600080fd5b5061073c611727565b6040516107499190613ef3565b60405180910390f35b34801561075e57600080fd5b5061077960048036038101906107749190613183565b61174b565b005b34801561078757600080fd5b506107a2600480360381019061079d919061335b565b6117ad565b6040516107af9190613f90565b60405180910390f35b6107d260048036038101906107cd9190613384565b611854565b005b3480156107e057600080fd5b506107e9611c0e565b6040516107f69190614312565b60405180910390f35b34801561080b57600080fd5b50610814611c14565b6040516108219190614312565b60405180910390f35b34801561083657600080fd5b5061083f611c1a565b60405161084c9190613ef3565b60405180910390f35b34801561086157600080fd5b5061087c600480360381019061087791906130f8565b611c3e565b6040516108899190613f5a565b60405180910390f35b34801561089e57600080fd5b506108a7611cd2565b6040516108b49190613f5a565b60405180910390f35b3480156108c957600080fd5b506108e460048036038101906108df91906130cf565b611ce5565b005b3480156108f257600080fd5b5061090d600480360381019061090891906130cf565b611ddd565b60405161091a9190614312565b60405180910390f35b34801561092f57600080fd5b5061094a6004803603810190610945919061331a565b611df5565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a1757507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610a275750610a2682611ec2565b5b9050919050565b606060008054610a3d906145f3565b80601f0160208091040260200160405190810160405280929190818152602001828054610a69906145f3565b8015610ab65780601f10610a8b57610100808354040283529160200191610ab6565b820191906000526020600020905b815481529060010190602001808311610a9957829003601f168201915b5050505050905090565b6000610acb82611f2c565b610b0a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b0190614172565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b50826110f9565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610bc1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bb890614212565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610be0611f98565b73ffffffffffffffffffffffffffffffffffffffff161480610c0f5750610c0e81610c09611f98565b611c3e565b5b610c4e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c45906140f2565b60405180910390fd5b610c588383611fa0565b505050565b610c65611f98565b73ffffffffffffffffffffffffffffffffffffffff16610c83611491565b73ffffffffffffffffffffffffffffffffffffffff1614610cd9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cd090614192565b60405180910390fd5b80601060016101000a81548160ff02191690831515021790555050565b6000610d026007611ea1565b905090565b610d0f611f98565b73ffffffffffffffffffffffffffffffffffffffff16610d2d611491565b73ffffffffffffffffffffffffffffffffffffffff1614610d83576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d7a90614192565b60405180910390fd5b80601060006101000a81548160ff02191690831515021790555050565b610da8611f98565b73ffffffffffffffffffffffffffffffffffffffff16610dc6611491565b73ffffffffffffffffffffffffffffffffffffffff1614610e1c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e1390614192565b60405180910390fd5b8060088190555050565b610e37610e31611f98565b82612059565b610e76576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6d90614272565b60405180910390fd5b610e81838383612137565b505050565b60085481565b600b5481565b60125481565b601060019054906101000a900460ff1681565b7f000000000000000000000000000000000000000000000000000000000000000081565b610ed7611f98565b73ffffffffffffffffffffffffffffffffffffffff16610ef5611491565b73ffffffffffffffffffffffffffffffffffffffff1614610f4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f4290614192565b60405180910390fd5b6000479050610fa07f0000000000000000000000000000000000000000000000000000000000000000610f9b6064610f8d60328661239390919063ffffffff16565b6123a990919063ffffffff16565b6123bf565b610ff07f0000000000000000000000000000000000000000000000000000000000000000610feb6064610fdd60198661239390919063ffffffff16565b6123a990919063ffffffff16565b6123bf565b6110407f000000000000000000000000000000000000000000000000000000000000000061103b606461102d60198661239390919063ffffffff16565b6123a990919063ffffffff16565b6123bf565b50565b61105e8383836040518060200160405280600081525061174b565b505050565b61106b611f98565b73ffffffffffffffffffffffffffffffffffffffff16611089611491565b73ffffffffffffffffffffffffffffffffffffffff16146110df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110d690614192565b60405180910390fd5b80600f90805190602001906110f5929190612e94565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156111a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161119990614132565b60405180910390fd5b80915050919050565b600e80546111b8906145f3565b80601f01602080910402602001604051908101604052809291908181526020018280546111e4906145f3565b80156112315780601f1061120657610100808354040283529160200191611231565b820191906000526020600020905b81548152906001019060200180831161121457829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156112aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112a190614112565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6112f9611f98565b73ffffffffffffffffffffffffffffffffffffffff16611317611491565b73ffffffffffffffffffffffffffffffffffffffff161461136d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161136490614192565b60405180910390fd5b61137760006124b3565b565b60095481565b611387611f98565b73ffffffffffffffffffffffffffffffffffffffff166113a5611491565b73ffffffffffffffffffffffffffffffffffffffff16146113fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113f290614192565b60405180910390fd5b8060128190555050565b61140d611f98565b73ffffffffffffffffffffffffffffffffffffffff1661142b611491565b73ffffffffffffffffffffffffffffffffffffffff1614611481576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147890614192565b60405180910390fd5b80600a8190555050565b600a5481565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600180546114ca906145f3565b80601f01602080910402602001604051908101604052809291908181526020018280546114f6906145f3565b80156115435780601f1061151857610100808354040283529160200191611543565b820191906000526020600020905b81548152906001019060200180831161152657829003601f168201915b5050505050905090565b8060008111801561155f5750600b5481105b61159e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161159590614012565b60405180910390fd5b600c54816115ac6007611ea1565b6115b6919061440c565b106115f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ed90614252565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611664576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161165b906140d2565b60405180910390fd5b601060009054906101000a900460ff166116b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116aa906141f2565b60405180910390fd5b81600a546116c19190614493565b341015611703576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116fa906142f2565b60405180910390fd5b61170d3383612579565b5050565b61172361171c611f98565b83836125b9565b5050565b7f000000000000000000000000000000000000000000000000000000000000000081565b61175c611756611f98565b83612059565b61179b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161179290614272565b60405180910390fd5b6117a784848484612726565b50505050565b60606117b882611f2c565b6117f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117ee906141d2565b60405180910390fd5b6000611801612782565b90506000815111611821576040518060200160405280600081525061184c565b8061182b84612814565b60405160200161183c929190613e9f565b6040516020818303038152906040525b915050919050565b826000811180156118665750600b5481105b6118a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161189c90614012565b60405180910390fd5b600c54816118b36007611ea1565b6118bd919061440c565b106118fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118f490614252565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff161461196b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611962906140d2565b60405180910390fd5b601060019054906101000a900460ff166119ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119b190614232565b60405180910390fd5b600954846119c733611239565b6119d1919061440c565b10611a11576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a08906142d2565b60405180910390fd5b60095484601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611a5f919061440c565b10611a9f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a96906142b2565b60405180910390fd5b83600854611aad9190614493565b341015611aef576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ae6906142f2565b60405180910390fd5b600033604051602001611b029190613e58565b604051602081830303815290604052805190602001209050611b68848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050601254836129c1565b611ba7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b9e90614292565b60405180910390fd5b611bb13386612579565b84601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611c00919061440c565b925050819055505050505050565b600c5481565b600d5481565b7f000000000000000000000000000000000000000000000000000000000000000081565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b601060009054906101000a900460ff1681565b611ced611f98565b73ffffffffffffffffffffffffffffffffffffffff16611d0b611491565b73ffffffffffffffffffffffffffffffffffffffff1614611d61576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d5890614192565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611dd1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dc890613fd2565b60405180910390fd5b611dda816124b3565b50565b60116020528060005260406000206000915090505481565b611dfd611f98565b73ffffffffffffffffffffffffffffffffffffffff16611e1b611491565b73ffffffffffffffffffffffffffffffffffffffff1614611e71576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e6890614192565b60405180910390fd5b80600e9080519060200190611e87929190612e94565b5050565b6001816000016000828254019250508190555050565b600081600001549050919050565b600080823b905060008111915050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612013836110f9565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061206482611f2c565b6120a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161209a906140b2565b60405180910390fd5b60006120ae836110f9565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061211d57508373ffffffffffffffffffffffffffffffffffffffff1661210584610ac0565b73ffffffffffffffffffffffffffffffffffffffff16145b8061212e575061212d8185611c3e565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612157826110f9565b73ffffffffffffffffffffffffffffffffffffffff16146121ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121a4906141b2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561221d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161221490614032565b60405180910390fd5b6122288383836129d8565b612233600082611fa0565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461228391906144ed565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546122da919061440c565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600081836123a19190614493565b905092915050565b600081836123b79190614462565b905092915050565b80471015612402576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123f990614092565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff168260405161242890613ec3565b60006040518083038185875af1925050503d8060008114612465576040519150601f19603f3d011682016040523d82523d6000602084013e61246a565b606091505b50509050806124ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124a590614072565b60405180910390fd5b505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60005b818110156125b45761258e6007611e8b565b6125a18361259c6007611ea1565b6129dd565b80806125ac90614625565b91505061257c565b505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612628576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161261f90614052565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516127199190613f5a565b60405180910390a3505050565b612731848484612137565b61273d848484846129fb565b61277c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161277390613fb2565b60405180910390fd5b50505050565b6060600f8054612791906145f3565b80601f01602080910402602001604051908101604052809291908181526020018280546127bd906145f3565b801561280a5780601f106127df5761010080835404028352916020019161280a565b820191906000526020600020905b8154815290600101906020018083116127ed57829003601f168201915b5050505050905090565b6060600082141561285c576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506129bc565b600082905060005b6000821461288e57808061287790614625565b915050600a826128879190614462565b9150612864565b60008167ffffffffffffffff8111156128d0577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156129025781602001600182028036833780820191505090505b5090505b600085146129b55760018261291b91906144ed565b9150600a8561292a919061469c565b6030612936919061440c565b60f81b818381518110612972577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856129ae9190614462565b9450612906565b8093505050505b919050565b6000826129ce8584612b92565b1490509392505050565b505050565b6129f7828260405180602001604052806000815250612c6b565b5050565b6000612a1c8473ffffffffffffffffffffffffffffffffffffffff16611eaf565b15612b85578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612a45611f98565b8786866040518563ffffffff1660e01b8152600401612a679493929190613f0e565b602060405180830381600087803b158015612a8157600080fd5b505af1925050508015612ab257506040513d601f19601f82011682018060405250810190612aaf91906132f1565b60015b612b35573d8060008114612ae2576040519150601f19603f3d011682016040523d82523d6000602084013e612ae7565b606091505b50600081511415612b2d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b2490613fb2565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612b8a565b600190505b949350505050565b60008082905060005b8451811015612c60576000858281518110612bdf577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519050808311612c20578281604051602001612c03929190613e73565b604051602081830303815290604052805190602001209250612c4c565b8083604051602001612c33929190613e73565b6040516020818303038152906040528051906020012092505b508080612c5890614625565b915050612b9b565b508091505092915050565b612c758383612cc6565b612c8260008484846129fb565b612cc1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cb890613fb2565b60405180910390fd5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612d36576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d2d90614152565b60405180910390fd5b612d3f81611f2c565b15612d7f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d7690613ff2565b60405180910390fd5b612d8b600083836129d8565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612ddb919061440c565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b828054612ea0906145f3565b90600052602060002090601f016020900481019282612ec25760008555612f09565b82601f10612edb57805160ff1916838001178555612f09565b82800160010185558215612f09579182015b82811115612f08578251825591602001919060010190612eed565b5b509050612f169190612f1a565b5090565b5b80821115612f33576000816000905550600101612f1b565b5090565b6000612f4a612f458461435e565b61432d565b905082815260208101848484011115612f6257600080fd5b612f6d8482856145b1565b509392505050565b6000612f88612f838461438e565b61432d565b905082815260208101848484011115612fa057600080fd5b612fab8482856145b1565b509392505050565b600081359050612fc2816147a7565b92915050565b60008083601f840112612fda57600080fd5b8235905067ffffffffffffffff811115612ff357600080fd5b60208301915083602082028301111561300b57600080fd5b9250929050565b600081359050613021816147be565b92915050565b600081359050613036816147d5565b92915050565b60008135905061304b816147ec565b92915050565b600081519050613060816147ec565b92915050565b600082601f83011261307757600080fd5b8135613087848260208601612f37565b91505092915050565b600082601f8301126130a157600080fd5b81356130b1848260208601612f75565b91505092915050565b6000813590506130c981614803565b92915050565b6000602082840312156130e157600080fd5b60006130ef84828501612fb3565b91505092915050565b6000806040838503121561310b57600080fd5b600061311985828601612fb3565b925050602061312a85828601612fb3565b9150509250929050565b60008060006060848603121561314957600080fd5b600061315786828701612fb3565b935050602061316886828701612fb3565b9250506040613179868287016130ba565b9150509250925092565b6000806000806080858703121561319957600080fd5b60006131a787828801612fb3565b94505060206131b887828801612fb3565b93505060406131c9878288016130ba565b925050606085013567ffffffffffffffff8111156131e657600080fd5b6131f287828801613066565b91505092959194509250565b6000806040838503121561321157600080fd5b600061321f85828601612fb3565b925050602061323085828601613012565b9150509250929050565b6000806040838503121561324d57600080fd5b600061325b85828601612fb3565b925050602061326c858286016130ba565b9150509250929050565b60006020828403121561328857600080fd5b600061329684828501613012565b91505092915050565b6000602082840312156132b157600080fd5b60006132bf84828501613027565b91505092915050565b6000602082840312156132da57600080fd5b60006132e88482850161303c565b91505092915050565b60006020828403121561330357600080fd5b600061331184828501613051565b91505092915050565b60006020828403121561332c57600080fd5b600082013567ffffffffffffffff81111561334657600080fd5b61335284828501613090565b91505092915050565b60006020828403121561336d57600080fd5b600061337b848285016130ba565b91505092915050565b60008060006040848603121561339957600080fd5b60006133a7868287016130ba565b935050602084013567ffffffffffffffff8111156133c457600080fd5b6133d086828701612fc8565b92509250509250925092565b6133e581614533565b82525050565b6133f481614521565b82525050565b61340b61340682614521565b61466e565b82525050565b61341a81614545565b82525050565b61342981614551565b82525050565b61344061343b82614551565b614680565b82525050565b6000613451826143be565b61345b81856143d4565b935061346b8185602086016145c0565b61347481614789565b840191505092915050565b600061348a826143c9565b61349481856143f0565b93506134a48185602086016145c0565b6134ad81614789565b840191505092915050565b60006134c3826143c9565b6134cd8185614401565b93506134dd8185602086016145c0565b80840191505092915050565b60006134f66032836143f0565b91507f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008301527f63656976657220696d706c656d656e74657200000000000000000000000000006020830152604082019050919050565b600061355c6026836143f0565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006135c2601c836143f0565b91507f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006000830152602082019050919050565b60006136026014836143f0565b91507f496e76616c6964206d696e7420616d6f756e74210000000000000000000000006000830152602082019050919050565b60006136426024836143f0565b91507f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006136a86019836143f0565b91507f4552433732313a20617070726f766520746f2063616c6c6572000000000000006000830152602082019050919050565b60006136e8603a836143f0565b91507f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008301527f6563697069656e74206d617920686176652072657665727465640000000000006020830152604082019050919050565b600061374e601d836143f0565b91507f416464726573733a20696e73756666696369656e742062616c616e63650000006000830152602082019050919050565b600061378e602c836143f0565b91507f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b60006137f4601e836143f0565b91507f5468652063616c6c657220697320616e6f7468657220636f6e747261637400006000830152602082019050919050565b60006138346038836143f0565b91507f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020830152604082019050919050565b600061389a602a836143f0565b91507f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008301527f726f2061646472657373000000000000000000000000000000000000000000006020830152604082019050919050565b60006139006029836143f0565b91507f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008301527f656e7420746f6b656e00000000000000000000000000000000000000000000006020830152604082019050919050565b60006139666020836143f0565b91507f4552433732313a206d696e7420746f20746865207a65726f20616464726573736000830152602082019050919050565b60006139a6602c836143f0565b91507f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000613a0c6020836143f0565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b6000613a4c6029836143f0565b91507f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008301527f73206e6f74206f776e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000613ab2602f836143f0565b91507f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008301527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006020830152604082019050919050565b6000613b186014836143f0565b91507f5075626c69632073616c6520696e6163746976650000000000000000000000006000830152602082019050919050565b6000613b586021836143f0565b91507f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008301527f72000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613bbe6010836143f0565b91507f50726573616c6520696e616374697665000000000000000000000000000000006000830152602082019050919050565b6000613bfe6000836143e5565b9150600082019050919050565b6000613c186014836143f0565b91507f4d617820737570706c79206578636565646564210000000000000000000000006000830152602082019050919050565b6000613c586031836143f0565b91507f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f7665640000000000000000000000000000006020830152604082019050919050565b6000613cbe6023836143f0565b91507f596f75277265206e6f742077686974656c697374656420666f7220707265736160008301527f6c652100000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613d246049836143f0565b91507f417474656d7074696e6720746f206d696e7420746f6f206d616e79205761696660008301527f757320666f72207072652d73616c65202862616c616e6365207472616e73666560208301527f72726564206f75742900000000000000000000000000000000000000000000006040830152606082019050919050565b6000613db0602f836143f0565b91507f417474656d7074696e6720746f206d696e7420746f6f206d616e79205761696660008301527f757320666f72207072652d73616c6500000000000000000000000000000000006020830152604082019050919050565b6000613e166014836143f0565b91507f4e6f7420656e6f756768206574682073656e74210000000000000000000000006000830152602082019050919050565b613e52816145a7565b82525050565b6000613e6482846133fa565b60148201915081905092915050565b6000613e7f828561342f565b602082019150613e8f828461342f565b6020820191508190509392505050565b6000613eab82856134b8565b9150613eb782846134b8565b91508190509392505050565b6000613ece82613bf1565b9150819050919050565b6000602082019050613eed60008301846133eb565b92915050565b6000602082019050613f0860008301846133dc565b92915050565b6000608082019050613f2360008301876133eb565b613f3060208301866133eb565b613f3d6040830185613e49565b8181036060830152613f4f8184613446565b905095945050505050565b6000602082019050613f6f6000830184613411565b92915050565b6000602082019050613f8a6000830184613420565b92915050565b60006020820190508181036000830152613faa818461347f565b905092915050565b60006020820190508181036000830152613fcb816134e9565b9050919050565b60006020820190508181036000830152613feb8161354f565b9050919050565b6000602082019050818103600083015261400b816135b5565b9050919050565b6000602082019050818103600083015261402b816135f5565b9050919050565b6000602082019050818103600083015261404b81613635565b9050919050565b6000602082019050818103600083015261406b8161369b565b9050919050565b6000602082019050818103600083015261408b816136db565b9050919050565b600060208201905081810360008301526140ab81613741565b9050919050565b600060208201905081810360008301526140cb81613781565b9050919050565b600060208201905081810360008301526140eb816137e7565b9050919050565b6000602082019050818103600083015261410b81613827565b9050919050565b6000602082019050818103600083015261412b8161388d565b9050919050565b6000602082019050818103600083015261414b816138f3565b9050919050565b6000602082019050818103600083015261416b81613959565b9050919050565b6000602082019050818103600083015261418b81613999565b9050919050565b600060208201905081810360008301526141ab816139ff565b9050919050565b600060208201905081810360008301526141cb81613a3f565b9050919050565b600060208201905081810360008301526141eb81613aa5565b9050919050565b6000602082019050818103600083015261420b81613b0b565b9050919050565b6000602082019050818103600083015261422b81613b4b565b9050919050565b6000602082019050818103600083015261424b81613bb1565b9050919050565b6000602082019050818103600083015261426b81613c0b565b9050919050565b6000602082019050818103600083015261428b81613c4b565b9050919050565b600060208201905081810360008301526142ab81613cb1565b9050919050565b600060208201905081810360008301526142cb81613d17565b9050919050565b600060208201905081810360008301526142eb81613da3565b9050919050565b6000602082019050818103600083015261430b81613e09565b9050919050565b60006020820190506143276000830184613e49565b92915050565b6000604051905081810181811067ffffffffffffffff821117156143545761435361475a565b5b8060405250919050565b600067ffffffffffffffff8211156143795761437861475a565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff8211156143a9576143a861475a565b5b601f19601f8301169050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000614417826145a7565b9150614422836145a7565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614457576144566146cd565b5b828201905092915050565b600061446d826145a7565b9150614478836145a7565b925082614488576144876146fc565b5b828204905092915050565b600061449e826145a7565b91506144a9836145a7565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156144e2576144e16146cd565b5b828202905092915050565b60006144f8826145a7565b9150614503836145a7565b925082821015614516576145156146cd565b5b828203905092915050565b600061452c82614587565b9050919050565b600061453e82614587565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156145de5780820151818401526020810190506145c3565b838111156145ed576000848401525b50505050565b6000600282049050600182168061460b57607f821691505b6020821081141561461f5761461e61472b565b5b50919050565b6000614630826145a7565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614663576146626146cd565b5b600182019050919050565b60006146798261468a565b9050919050565b6000819050919050565b60006146958261479a565b9050919050565b60006146a7826145a7565b91506146b2836145a7565b9250826146c2576146c16146fc565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b6147b081614521565b81146147bb57600080fd5b50565b6147c781614545565b81146147d257600080fd5b50565b6147de81614551565b81146147e957600080fd5b50565b6147f58161455b565b811461480057600080fd5b50565b61480c816145a7565b811461481757600080fd5b5056fea26469706673582212203736ef5703a7f7bcc36b5d0aa70fd86727ec0f0a4989070f98cdc561764dd2bd64736f6c63430008000033697066733a2f2f516d566e7463594e66526f4d314e4a5268587a51726664616147455a48666342744375515a65595a7639363451552f

Deployed Bytecode

0x6080604052600436106102465760003560e01c8063715018a611610139578063b88d4fde116100b6578063e927fc5c1161007a578063e927fc5c1461082a578063e985e9c514610855578063eb8d244414610892578063f2fde38b146108bd578063f7ea21b2146108e6578063ffe630b51461092357610246565b8063b88d4fde14610752578063c87b56dd1461077b578063d2cab056146107b8578063d4d20d59146107d4578063e07dcd14146107ff57610246565b80638da5cb5b116100fd5780638da5cb5b1461068c57806395d89b41146106b7578063a0712d68146106e2578063a22cb465146106fe578063a5ece9411461072757610246565b8063715018a6146105cd5780637759e29f146105e45780637cb647591461060f578063811d2437146106385780638693da201461066157610246565b80632b935c0f116101c757806342842e0e1161018b57806342842e0e146104d657806355f804b3146104ff5780636352211e146105285780636373a6b11461056557806370a082311461059057610246565b80632b935c0f146104135780632eb4a7ab1461043e57806330f72cd4146104695780633ad10ef6146104945780633ccfd60b146104bf57610246565b806318160ddd1161020e57806318160ddd146103425780631d2e5a3a1461036d578063231b07161461039657806323b872dd146103bf5780632a23d07d146103e857610246565b806301ffc9a71461024b57806306fdde0314610288578063081812fc146102b3578063095ea7b3146102f05780630d95ccc914610319575b600080fd5b34801561025757600080fd5b50610272600480360381019061026d91906132c8565b61094c565b60405161027f9190613f5a565b60405180910390f35b34801561029457600080fd5b5061029d610a2e565b6040516102aa9190613f90565b60405180910390f35b3480156102bf57600080fd5b506102da60048036038101906102d5919061335b565b610ac0565b6040516102e79190613ed8565b60405180910390f35b3480156102fc57600080fd5b506103176004803603810190610312919061323a565b610b45565b005b34801561032557600080fd5b50610340600480360381019061033b9190613276565b610c5d565b005b34801561034e57600080fd5b50610357610cf6565b6040516103649190614312565b60405180910390f35b34801561037957600080fd5b50610394600480360381019061038f9190613276565b610d07565b005b3480156103a257600080fd5b506103bd60048036038101906103b8919061335b565b610da0565b005b3480156103cb57600080fd5b506103e660048036038101906103e19190613134565b610e26565b005b3480156103f457600080fd5b506103fd610e86565b60405161040a9190614312565b60405180910390f35b34801561041f57600080fd5b50610428610e8c565b6040516104359190614312565b60405180910390f35b34801561044a57600080fd5b50610453610e92565b6040516104609190613f75565b60405180910390f35b34801561047557600080fd5b5061047e610e98565b60405161048b9190613f5a565b60405180910390f35b3480156104a057600080fd5b506104a9610eab565b6040516104b69190613ef3565b60405180910390f35b3480156104cb57600080fd5b506104d4610ecf565b005b3480156104e257600080fd5b506104fd60048036038101906104f89190613134565b611043565b005b34801561050b57600080fd5b506105266004803603810190610521919061331a565b611063565b005b34801561053457600080fd5b5061054f600480360381019061054a919061335b565b6110f9565b60405161055c9190613ed8565b60405180910390f35b34801561057157600080fd5b5061057a6111ab565b6040516105879190613f90565b60405180910390f35b34801561059c57600080fd5b506105b760048036038101906105b291906130cf565b611239565b6040516105c49190614312565b60405180910390f35b3480156105d957600080fd5b506105e26112f1565b005b3480156105f057600080fd5b506105f9611379565b6040516106069190614312565b60405180910390f35b34801561061b57600080fd5b506106366004803603810190610631919061329f565b61137f565b005b34801561064457600080fd5b5061065f600480360381019061065a919061335b565b611405565b005b34801561066d57600080fd5b5061067661148b565b6040516106839190614312565b60405180910390f35b34801561069857600080fd5b506106a1611491565b6040516106ae9190613ed8565b60405180910390f35b3480156106c357600080fd5b506106cc6114bb565b6040516106d99190613f90565b60405180910390f35b6106fc60048036038101906106f7919061335b565b61154d565b005b34801561070a57600080fd5b50610725600480360381019061072091906131fe565b611711565b005b34801561073357600080fd5b5061073c611727565b6040516107499190613ef3565b60405180910390f35b34801561075e57600080fd5b5061077960048036038101906107749190613183565b61174b565b005b34801561078757600080fd5b506107a2600480360381019061079d919061335b565b6117ad565b6040516107af9190613f90565b60405180910390f35b6107d260048036038101906107cd9190613384565b611854565b005b3480156107e057600080fd5b506107e9611c0e565b6040516107f69190614312565b60405180910390f35b34801561080b57600080fd5b50610814611c14565b6040516108219190614312565b60405180910390f35b34801561083657600080fd5b5061083f611c1a565b60405161084c9190613ef3565b60405180910390f35b34801561086157600080fd5b5061087c600480360381019061087791906130f8565b611c3e565b6040516108899190613f5a565b60405180910390f35b34801561089e57600080fd5b506108a7611cd2565b6040516108b49190613f5a565b60405180910390f35b3480156108c957600080fd5b506108e460048036038101906108df91906130cf565b611ce5565b005b3480156108f257600080fd5b5061090d600480360381019061090891906130cf565b611ddd565b60405161091a9190614312565b60405180910390f35b34801561092f57600080fd5b5061094a6004803603810190610945919061331a565b611df5565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a1757507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610a275750610a2682611ec2565b5b9050919050565b606060008054610a3d906145f3565b80601f0160208091040260200160405190810160405280929190818152602001828054610a69906145f3565b8015610ab65780601f10610a8b57610100808354040283529160200191610ab6565b820191906000526020600020905b815481529060010190602001808311610a9957829003601f168201915b5050505050905090565b6000610acb82611f2c565b610b0a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b0190614172565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b50826110f9565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610bc1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bb890614212565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610be0611f98565b73ffffffffffffffffffffffffffffffffffffffff161480610c0f5750610c0e81610c09611f98565b611c3e565b5b610c4e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c45906140f2565b60405180910390fd5b610c588383611fa0565b505050565b610c65611f98565b73ffffffffffffffffffffffffffffffffffffffff16610c83611491565b73ffffffffffffffffffffffffffffffffffffffff1614610cd9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cd090614192565b60405180910390fd5b80601060016101000a81548160ff02191690831515021790555050565b6000610d026007611ea1565b905090565b610d0f611f98565b73ffffffffffffffffffffffffffffffffffffffff16610d2d611491565b73ffffffffffffffffffffffffffffffffffffffff1614610d83576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d7a90614192565b60405180910390fd5b80601060006101000a81548160ff02191690831515021790555050565b610da8611f98565b73ffffffffffffffffffffffffffffffffffffffff16610dc6611491565b73ffffffffffffffffffffffffffffffffffffffff1614610e1c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e1390614192565b60405180910390fd5b8060088190555050565b610e37610e31611f98565b82612059565b610e76576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6d90614272565b60405180910390fd5b610e81838383612137565b505050565b60085481565b600b5481565b60125481565b601060019054906101000a900460ff1681565b7f00000000000000000000000015c560d2d9eb3af98524aa73becba43e9e6cef0281565b610ed7611f98565b73ffffffffffffffffffffffffffffffffffffffff16610ef5611491565b73ffffffffffffffffffffffffffffffffffffffff1614610f4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f4290614192565b60405180910390fd5b6000479050610fa07f000000000000000000000000bda74fbe5135b374da44dbe99e0d5e35a1008c94610f9b6064610f8d60328661239390919063ffffffff16565b6123a990919063ffffffff16565b6123bf565b610ff07f000000000000000000000000b596fb8ccdafef91017d311a734f22e572eb0a79610feb6064610fdd60198661239390919063ffffffff16565b6123a990919063ffffffff16565b6123bf565b6110407f00000000000000000000000015c560d2d9eb3af98524aa73becba43e9e6cef0261103b606461102d60198661239390919063ffffffff16565b6123a990919063ffffffff16565b6123bf565b50565b61105e8383836040518060200160405280600081525061174b565b505050565b61106b611f98565b73ffffffffffffffffffffffffffffffffffffffff16611089611491565b73ffffffffffffffffffffffffffffffffffffffff16146110df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110d690614192565b60405180910390fd5b80600f90805190602001906110f5929190612e94565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156111a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161119990614132565b60405180910390fd5b80915050919050565b600e80546111b8906145f3565b80601f01602080910402602001604051908101604052809291908181526020018280546111e4906145f3565b80156112315780601f1061120657610100808354040283529160200191611231565b820191906000526020600020905b81548152906001019060200180831161121457829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156112aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112a190614112565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6112f9611f98565b73ffffffffffffffffffffffffffffffffffffffff16611317611491565b73ffffffffffffffffffffffffffffffffffffffff161461136d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161136490614192565b60405180910390fd5b61137760006124b3565b565b60095481565b611387611f98565b73ffffffffffffffffffffffffffffffffffffffff166113a5611491565b73ffffffffffffffffffffffffffffffffffffffff16146113fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113f290614192565b60405180910390fd5b8060128190555050565b61140d611f98565b73ffffffffffffffffffffffffffffffffffffffff1661142b611491565b73ffffffffffffffffffffffffffffffffffffffff1614611481576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147890614192565b60405180910390fd5b80600a8190555050565b600a5481565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600180546114ca906145f3565b80601f01602080910402602001604051908101604052809291908181526020018280546114f6906145f3565b80156115435780601f1061151857610100808354040283529160200191611543565b820191906000526020600020905b81548152906001019060200180831161152657829003601f168201915b5050505050905090565b8060008111801561155f5750600b5481105b61159e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161159590614012565b60405180910390fd5b600c54816115ac6007611ea1565b6115b6919061440c565b106115f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ed90614252565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611664576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161165b906140d2565b60405180910390fd5b601060009054906101000a900460ff166116b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116aa906141f2565b60405180910390fd5b81600a546116c19190614493565b341015611703576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116fa906142f2565b60405180910390fd5b61170d3383612579565b5050565b61172361171c611f98565b83836125b9565b5050565b7f000000000000000000000000b596fb8ccdafef91017d311a734f22e572eb0a7981565b61175c611756611f98565b83612059565b61179b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161179290614272565b60405180910390fd5b6117a784848484612726565b50505050565b60606117b882611f2c565b6117f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117ee906141d2565b60405180910390fd5b6000611801612782565b90506000815111611821576040518060200160405280600081525061184c565b8061182b84612814565b60405160200161183c929190613e9f565b6040516020818303038152906040525b915050919050565b826000811180156118665750600b5481105b6118a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161189c90614012565b60405180910390fd5b600c54816118b36007611ea1565b6118bd919061440c565b106118fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118f490614252565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff161461196b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611962906140d2565b60405180910390fd5b601060019054906101000a900460ff166119ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119b190614232565b60405180910390fd5b600954846119c733611239565b6119d1919061440c565b10611a11576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a08906142d2565b60405180910390fd5b60095484601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611a5f919061440c565b10611a9f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a96906142b2565b60405180910390fd5b83600854611aad9190614493565b341015611aef576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ae6906142f2565b60405180910390fd5b600033604051602001611b029190613e58565b604051602081830303815290604052805190602001209050611b68848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050601254836129c1565b611ba7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b9e90614292565b60405180910390fd5b611bb13386612579565b84601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611c00919061440c565b925050819055505050505050565b600c5481565b600d5481565b7f000000000000000000000000bda74fbe5135b374da44dbe99e0d5e35a1008c9481565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b601060009054906101000a900460ff1681565b611ced611f98565b73ffffffffffffffffffffffffffffffffffffffff16611d0b611491565b73ffffffffffffffffffffffffffffffffffffffff1614611d61576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d5890614192565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611dd1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dc890613fd2565b60405180910390fd5b611dda816124b3565b50565b60116020528060005260406000206000915090505481565b611dfd611f98565b73ffffffffffffffffffffffffffffffffffffffff16611e1b611491565b73ffffffffffffffffffffffffffffffffffffffff1614611e71576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e6890614192565b60405180910390fd5b80600e9080519060200190611e87929190612e94565b5050565b6001816000016000828254019250508190555050565b600081600001549050919050565b600080823b905060008111915050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612013836110f9565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061206482611f2c565b6120a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161209a906140b2565b60405180910390fd5b60006120ae836110f9565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061211d57508373ffffffffffffffffffffffffffffffffffffffff1661210584610ac0565b73ffffffffffffffffffffffffffffffffffffffff16145b8061212e575061212d8185611c3e565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612157826110f9565b73ffffffffffffffffffffffffffffffffffffffff16146121ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121a4906141b2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561221d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161221490614032565b60405180910390fd5b6122288383836129d8565b612233600082611fa0565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461228391906144ed565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546122da919061440c565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600081836123a19190614493565b905092915050565b600081836123b79190614462565b905092915050565b80471015612402576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123f990614092565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff168260405161242890613ec3565b60006040518083038185875af1925050503d8060008114612465576040519150601f19603f3d011682016040523d82523d6000602084013e61246a565b606091505b50509050806124ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124a590614072565b60405180910390fd5b505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60005b818110156125b45761258e6007611e8b565b6125a18361259c6007611ea1565b6129dd565b80806125ac90614625565b91505061257c565b505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612628576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161261f90614052565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516127199190613f5a565b60405180910390a3505050565b612731848484612137565b61273d848484846129fb565b61277c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161277390613fb2565b60405180910390fd5b50505050565b6060600f8054612791906145f3565b80601f01602080910402602001604051908101604052809291908181526020018280546127bd906145f3565b801561280a5780601f106127df5761010080835404028352916020019161280a565b820191906000526020600020905b8154815290600101906020018083116127ed57829003601f168201915b5050505050905090565b6060600082141561285c576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506129bc565b600082905060005b6000821461288e57808061287790614625565b915050600a826128879190614462565b9150612864565b60008167ffffffffffffffff8111156128d0577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156129025781602001600182028036833780820191505090505b5090505b600085146129b55760018261291b91906144ed565b9150600a8561292a919061469c565b6030612936919061440c565b60f81b818381518110612972577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856129ae9190614462565b9450612906565b8093505050505b919050565b6000826129ce8584612b92565b1490509392505050565b505050565b6129f7828260405180602001604052806000815250612c6b565b5050565b6000612a1c8473ffffffffffffffffffffffffffffffffffffffff16611eaf565b15612b85578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612a45611f98565b8786866040518563ffffffff1660e01b8152600401612a679493929190613f0e565b602060405180830381600087803b158015612a8157600080fd5b505af1925050508015612ab257506040513d601f19601f82011682018060405250810190612aaf91906132f1565b60015b612b35573d8060008114612ae2576040519150601f19603f3d011682016040523d82523d6000602084013e612ae7565b606091505b50600081511415612b2d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b2490613fb2565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612b8a565b600190505b949350505050565b60008082905060005b8451811015612c60576000858281518110612bdf577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519050808311612c20578281604051602001612c03929190613e73565b604051602081830303815290604052805190602001209250612c4c565b8083604051602001612c33929190613e73565b6040516020818303038152906040528051906020012092505b508080612c5890614625565b915050612b9b565b508091505092915050565b612c758383612cc6565b612c8260008484846129fb565b612cc1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cb890613fb2565b60405180910390fd5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612d36576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d2d90614152565b60405180910390fd5b612d3f81611f2c565b15612d7f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d7690613ff2565b60405180910390fd5b612d8b600083836129d8565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612ddb919061440c565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b828054612ea0906145f3565b90600052602060002090601f016020900481019282612ec25760008555612f09565b82601f10612edb57805160ff1916838001178555612f09565b82800160010185558215612f09579182015b82811115612f08578251825591602001919060010190612eed565b5b509050612f169190612f1a565b5090565b5b80821115612f33576000816000905550600101612f1b565b5090565b6000612f4a612f458461435e565b61432d565b905082815260208101848484011115612f6257600080fd5b612f6d8482856145b1565b509392505050565b6000612f88612f838461438e565b61432d565b905082815260208101848484011115612fa057600080fd5b612fab8482856145b1565b509392505050565b600081359050612fc2816147a7565b92915050565b60008083601f840112612fda57600080fd5b8235905067ffffffffffffffff811115612ff357600080fd5b60208301915083602082028301111561300b57600080fd5b9250929050565b600081359050613021816147be565b92915050565b600081359050613036816147d5565b92915050565b60008135905061304b816147ec565b92915050565b600081519050613060816147ec565b92915050565b600082601f83011261307757600080fd5b8135613087848260208601612f37565b91505092915050565b600082601f8301126130a157600080fd5b81356130b1848260208601612f75565b91505092915050565b6000813590506130c981614803565b92915050565b6000602082840312156130e157600080fd5b60006130ef84828501612fb3565b91505092915050565b6000806040838503121561310b57600080fd5b600061311985828601612fb3565b925050602061312a85828601612fb3565b9150509250929050565b60008060006060848603121561314957600080fd5b600061315786828701612fb3565b935050602061316886828701612fb3565b9250506040613179868287016130ba565b9150509250925092565b6000806000806080858703121561319957600080fd5b60006131a787828801612fb3565b94505060206131b887828801612fb3565b93505060406131c9878288016130ba565b925050606085013567ffffffffffffffff8111156131e657600080fd5b6131f287828801613066565b91505092959194509250565b6000806040838503121561321157600080fd5b600061321f85828601612fb3565b925050602061323085828601613012565b9150509250929050565b6000806040838503121561324d57600080fd5b600061325b85828601612fb3565b925050602061326c858286016130ba565b9150509250929050565b60006020828403121561328857600080fd5b600061329684828501613012565b91505092915050565b6000602082840312156132b157600080fd5b60006132bf84828501613027565b91505092915050565b6000602082840312156132da57600080fd5b60006132e88482850161303c565b91505092915050565b60006020828403121561330357600080fd5b600061331184828501613051565b91505092915050565b60006020828403121561332c57600080fd5b600082013567ffffffffffffffff81111561334657600080fd5b61335284828501613090565b91505092915050565b60006020828403121561336d57600080fd5b600061337b848285016130ba565b91505092915050565b60008060006040848603121561339957600080fd5b60006133a7868287016130ba565b935050602084013567ffffffffffffffff8111156133c457600080fd5b6133d086828701612fc8565b92509250509250925092565b6133e581614533565b82525050565b6133f481614521565b82525050565b61340b61340682614521565b61466e565b82525050565b61341a81614545565b82525050565b61342981614551565b82525050565b61344061343b82614551565b614680565b82525050565b6000613451826143be565b61345b81856143d4565b935061346b8185602086016145c0565b61347481614789565b840191505092915050565b600061348a826143c9565b61349481856143f0565b93506134a48185602086016145c0565b6134ad81614789565b840191505092915050565b60006134c3826143c9565b6134cd8185614401565b93506134dd8185602086016145c0565b80840191505092915050565b60006134f66032836143f0565b91507f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008301527f63656976657220696d706c656d656e74657200000000000000000000000000006020830152604082019050919050565b600061355c6026836143f0565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006135c2601c836143f0565b91507f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006000830152602082019050919050565b60006136026014836143f0565b91507f496e76616c6964206d696e7420616d6f756e74210000000000000000000000006000830152602082019050919050565b60006136426024836143f0565b91507f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006136a86019836143f0565b91507f4552433732313a20617070726f766520746f2063616c6c6572000000000000006000830152602082019050919050565b60006136e8603a836143f0565b91507f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008301527f6563697069656e74206d617920686176652072657665727465640000000000006020830152604082019050919050565b600061374e601d836143f0565b91507f416464726573733a20696e73756666696369656e742062616c616e63650000006000830152602082019050919050565b600061378e602c836143f0565b91507f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b60006137f4601e836143f0565b91507f5468652063616c6c657220697320616e6f7468657220636f6e747261637400006000830152602082019050919050565b60006138346038836143f0565b91507f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020830152604082019050919050565b600061389a602a836143f0565b91507f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008301527f726f2061646472657373000000000000000000000000000000000000000000006020830152604082019050919050565b60006139006029836143f0565b91507f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008301527f656e7420746f6b656e00000000000000000000000000000000000000000000006020830152604082019050919050565b60006139666020836143f0565b91507f4552433732313a206d696e7420746f20746865207a65726f20616464726573736000830152602082019050919050565b60006139a6602c836143f0565b91507f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000613a0c6020836143f0565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b6000613a4c6029836143f0565b91507f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008301527f73206e6f74206f776e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000613ab2602f836143f0565b91507f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008301527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006020830152604082019050919050565b6000613b186014836143f0565b91507f5075626c69632073616c6520696e6163746976650000000000000000000000006000830152602082019050919050565b6000613b586021836143f0565b91507f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008301527f72000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613bbe6010836143f0565b91507f50726573616c6520696e616374697665000000000000000000000000000000006000830152602082019050919050565b6000613bfe6000836143e5565b9150600082019050919050565b6000613c186014836143f0565b91507f4d617820737570706c79206578636565646564210000000000000000000000006000830152602082019050919050565b6000613c586031836143f0565b91507f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f7665640000000000000000000000000000006020830152604082019050919050565b6000613cbe6023836143f0565b91507f596f75277265206e6f742077686974656c697374656420666f7220707265736160008301527f6c652100000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613d246049836143f0565b91507f417474656d7074696e6720746f206d696e7420746f6f206d616e79205761696660008301527f757320666f72207072652d73616c65202862616c616e6365207472616e73666560208301527f72726564206f75742900000000000000000000000000000000000000000000006040830152606082019050919050565b6000613db0602f836143f0565b91507f417474656d7074696e6720746f206d696e7420746f6f206d616e79205761696660008301527f757320666f72207072652d73616c6500000000000000000000000000000000006020830152604082019050919050565b6000613e166014836143f0565b91507f4e6f7420656e6f756768206574682073656e74210000000000000000000000006000830152602082019050919050565b613e52816145a7565b82525050565b6000613e6482846133fa565b60148201915081905092915050565b6000613e7f828561342f565b602082019150613e8f828461342f565b6020820191508190509392505050565b6000613eab82856134b8565b9150613eb782846134b8565b91508190509392505050565b6000613ece82613bf1565b9150819050919050565b6000602082019050613eed60008301846133eb565b92915050565b6000602082019050613f0860008301846133dc565b92915050565b6000608082019050613f2360008301876133eb565b613f3060208301866133eb565b613f3d6040830185613e49565b8181036060830152613f4f8184613446565b905095945050505050565b6000602082019050613f6f6000830184613411565b92915050565b6000602082019050613f8a6000830184613420565b92915050565b60006020820190508181036000830152613faa818461347f565b905092915050565b60006020820190508181036000830152613fcb816134e9565b9050919050565b60006020820190508181036000830152613feb8161354f565b9050919050565b6000602082019050818103600083015261400b816135b5565b9050919050565b6000602082019050818103600083015261402b816135f5565b9050919050565b6000602082019050818103600083015261404b81613635565b9050919050565b6000602082019050818103600083015261406b8161369b565b9050919050565b6000602082019050818103600083015261408b816136db565b9050919050565b600060208201905081810360008301526140ab81613741565b9050919050565b600060208201905081810360008301526140cb81613781565b9050919050565b600060208201905081810360008301526140eb816137e7565b9050919050565b6000602082019050818103600083015261410b81613827565b9050919050565b6000602082019050818103600083015261412b8161388d565b9050919050565b6000602082019050818103600083015261414b816138f3565b9050919050565b6000602082019050818103600083015261416b81613959565b9050919050565b6000602082019050818103600083015261418b81613999565b9050919050565b600060208201905081810360008301526141ab816139ff565b9050919050565b600060208201905081810360008301526141cb81613a3f565b9050919050565b600060208201905081810360008301526141eb81613aa5565b9050919050565b6000602082019050818103600083015261420b81613b0b565b9050919050565b6000602082019050818103600083015261422b81613b4b565b9050919050565b6000602082019050818103600083015261424b81613bb1565b9050919050565b6000602082019050818103600083015261426b81613c0b565b9050919050565b6000602082019050818103600083015261428b81613c4b565b9050919050565b600060208201905081810360008301526142ab81613cb1565b9050919050565b600060208201905081810360008301526142cb81613d17565b9050919050565b600060208201905081810360008301526142eb81613da3565b9050919050565b6000602082019050818103600083015261430b81613e09565b9050919050565b60006020820190506143276000830184613e49565b92915050565b6000604051905081810181811067ffffffffffffffff821117156143545761435361475a565b5b8060405250919050565b600067ffffffffffffffff8211156143795761437861475a565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff8211156143a9576143a861475a565b5b601f19601f8301169050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000614417826145a7565b9150614422836145a7565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614457576144566146cd565b5b828201905092915050565b600061446d826145a7565b9150614478836145a7565b925082614488576144876146fc565b5b828204905092915050565b600061449e826145a7565b91506144a9836145a7565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156144e2576144e16146cd565b5b828202905092915050565b60006144f8826145a7565b9150614503836145a7565b925082821015614516576145156146cd565b5b828203905092915050565b600061452c82614587565b9050919050565b600061453e82614587565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156145de5780820151818401526020810190506145c3565b838111156145ed576000848401525b50505050565b6000600282049050600182168061460b57607f821691505b6020821081141561461f5761461e61472b565b5b50919050565b6000614630826145a7565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614663576146626146cd565b5b600182019050919050565b60006146798261468a565b9050919050565b6000819050919050565b60006146958261479a565b9050919050565b60006146a7826145a7565b91506146b2836145a7565b9250826146c2576146c16146fc565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b6147b081614521565b81146147bb57600080fd5b50565b6147c781614545565b81146147d257600080fd5b50565b6147de81614551565b81146147e957600080fd5b50565b6147f58161455b565b811461480057600080fd5b50565b61480c816145a7565b811461481757600080fd5b5056fea26469706673582212203736ef5703a7f7bcc36b5d0aa70fd86727ec0f0a4989070f98cdc561764dd2bd64736f6c63430008000033

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

Txn Hash Block Value Eth2 PubKey Valid
View All Deposits
[ Download: CSV Export  ]
[ Download: CSV Export  ]

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