ETH Price: $2,233.07 (+2.56%)

Contract

0x24b56813472f519646382D71fF165A6AFC1E2149
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

More Info

Private Name Tags

TokenTracker

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Set Approval For...214661782024-12-23 15:48:1172 days ago1734968891IN
0x24b56813...AFC1E2149
0 ETH0.0009175219.91930277
Set Approval For...190628372024-01-22 14:22:59408 days ago1705933379IN
0x24b56813...AFC1E2149
0 ETH0.0004228217.5084617
Set Approval For...188753682023-12-27 6:58:59434 days ago1703660339IN
0x24b56813...AFC1E2149
0 ETH0.0008433818.30979498
Set Approval For...188528822023-12-24 3:12:23437 days ago1703387543IN
0x24b56813...AFC1E2149
0 ETH0.000388516.03142524
Set Approval For...188410042023-12-22 11:11:59439 days ago1703243519IN
0x24b56813...AFC1E2149
0 ETH0.0014640231.78378915
Set Approval For...188040712023-12-17 6:49:11444 days ago1702795751IN
0x24b56813...AFC1E2149
0 ETH0.0006829128.27821343
Set Approval For...188039172023-12-17 6:17:59444 days ago1702793879IN
0x24b56813...AFC1E2149
0 ETH0.0008026533.12118611
Set Approval For...187821442023-12-14 4:56:35447 days ago1702529795IN
0x24b56813...AFC1E2149
0 ETH0.0018945241.1298905
Set Approval For...182340592023-09-28 11:53:35524 days ago1695902015IN
0x24b56813...AFC1E2149
0 ETH0.0004919310.67995125
Set Approval For...178289812023-08-02 18:04:11581 days ago1690999451IN
0x24b56813...AFC1E2149
0 ETH0.0020582644.68469562
Set Approval For...174741862023-06-13 22:57:47630 days ago1686697067IN
0x24b56813...AFC1E2149
0 ETH0.0006137213.32383755
Set Approval For...173347692023-05-25 7:45:59650 days ago1685000759IN
0x24b56813...AFC1E2149
0 ETH0.0013471229.24599974
Set Approval For...171338172023-04-26 23:59:35678 days ago1682553575IN
0x24b56813...AFC1E2149
0 ETH0.0017463737.91353271
Set Approval For...169947372023-04-07 6:04:11698 days ago1680847451IN
0x24b56813...AFC1E2149
0 ETH0.001013922.01164392
Set Approval For...169904982023-04-06 15:38:59699 days ago1680795539IN
0x24b56813...AFC1E2149
0 ETH0.0007664631.64330413
Set Approval For...169687202023-04-03 13:13:47702 days ago1680527627IN
0x24b56813...AFC1E2149
0 ETH0.0011930425.90087359
Set Approval For...169254372023-03-28 11:08:11708 days ago1680001691IN
0x24b56813...AFC1E2149
0 ETH0.0010470222.73086849
Set Approval For...168434482023-03-16 22:43:35719 days ago1679006615IN
0x24b56813...AFC1E2149
0 ETH0.0008339818.10560732
Set Approval For...167655172023-03-05 23:40:11730 days ago1678059611IN
0x24b56813...AFC1E2149
0 ETH0.0014703131.92042362
Set Approval For...166780672023-02-21 16:28:35743 days ago1676996915IN
0x24b56813...AFC1E2149
0 ETH0.0023906551.90071187
Set Approval For...166334082023-02-15 10:00:11749 days ago1676455211IN
0x24b56813...AFC1E2149
0 ETH0.0013086428.41058216
Set Approval For...165673892023-02-06 4:34:47758 days ago1675658087IN
0x24b56813...AFC1E2149
0 ETH0.0008322818.06883529
Set Approval For...165293172023-01-31 20:52:23764 days ago1675198343IN
0x24b56813...AFC1E2149
0 ETH0.0014246230.92839662
Set Approval For...165047782023-01-28 10:40:11767 days ago1674902411IN
0x24b56813...AFC1E2149
0 ETH0.0003685615.26135591
Set Approval For...164891292023-01-26 6:13:35769 days ago1674713615IN
0x24b56813...AFC1E2149
0 ETH0.0007633516.57235547
View all transactions

Latest 1 internal transaction

Advanced mode:
Parent Transaction Hash Block
From
To
153614062022-08-17 22:46:44930 days ago1660776404
0x24b56813...AFC1E2149
46.6 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
ShiestySmilesss

Compiler Version
v0.8.11+commit.d7f03943

Optimization Enabled:
Yes with 20000 runs

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

// All Smilesss LLC (www.smilesss.com)

import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";

contract ShiestySmilesss is ERC1155, Ownable, ReentrancyGuard {
  using Strings for uint256;

  uint256 private _counter = 0;

  mapping(address => bool) public firstTwenty;
  uint256 public firstTwentyCounter = 0;

  // Smart contract status
  enum MintStatus {
    CLOSED,
    PRESALE,
    PUBLIC
  }
  MintStatus public status = MintStatus.CLOSED;

  // Collection info
  string private _uri = "https://smilesssvrs.mypinata.cloud/ipfs/Qmag96HBhnp6EWzzNJkqi3hv7SDEbC3WM6331D5ULNrBY7/";
  string private _suffix = ".json";
  uint256 public price = 0.1 ether;
  uint256[3] public maxPerStatus = [0, 1, 4];
  uint256 private publicSupply = 1000;

  // Presale
  bytes32 public merkleRoot = 0xf4673a559825e70d5678bc571b3f84dcde0f4302ca3e5e046a3422eaf70b678a;
  mapping(address => bool) private _hasMinted;

  // Event declaration
  event ChangedStatusEvent(uint256 newStatus);

  constructor() ERC1155(_uri) {
    // Token zero has only 1 edition and it will be put on auction
    _mint(msg.sender, 0, 1, "");
  }

  // To be used to mint id 1,2,3 and 4
  function mint(
    uint256 _qty,
    bytes32[] calldata _proof
  ) external payable nonReentrant presaleValidation(_proof){
    uint256 __counter = _counter;
    require(msg.sender == tx.origin, "You cannot mint from a smart contract");
    require(status != MintStatus.CLOSED, "Minting is closed");
    require(msg.value >= price * _qty, "Ether sent is not correct");
    require(_qty <= maxPerStatus[uint256(status)], "Exceeded the max amount of NFTs");
    require(__counter < publicSupply, "Amount not available");

    _counter += _qty;
    for (uint i = 0; i < _qty; ++i){
      uint256 tokenId = (__counter % 4) + 1;
      ++__counter;
      _mint(msg.sender, tokenId, 1, "");
    }

    if(firstTwentyCounter < 20 && !firstTwenty[msg.sender]){
        isSetCompleted(msg.sender);
    }
  }

  modifier presaleValidation(bytes32[] calldata _proof) {
    if (status == MintStatus.PRESALE) {
      require(
        MerkleProof.verify(_proof, merkleRoot, keccak256(abi.encodePacked(msg.sender))),
        "You are not in presale"
      );
      require(!_hasMinted[msg.sender], "Already minted");
      _hasMinted[msg.sender] = true;
    }
    _;
  }

  // Getters
  function uri(uint256 _id) public view override(ERC1155) returns (string memory) {
    return string(abi.encodePacked(super.uri(_id), _id.toString(), _suffix));
  }

  function totalSupply() public view returns (uint256) {
    return _counter;
  }

  function getStatus(address _address) public view returns (uint256 mintStatus, uint256 minted, bool presaleMinted){
    return (uint256(status), _counter, _hasMinted[_address]);
  }

  // Setters
  function setURI(string memory newuri, string memory suffix) public onlyOwner {
      _suffix = suffix;
      _setURI(newuri);
  }

  function setStatus(uint256 _status) external onlyOwner {
    // _status -> 0: CLOSED, 1: PRESALE, 2: PUBLIC
    require(_status >= 0 && _status <= 2, "Mint status must be between 0 and 2");
    status = MintStatus(_status);
    emit ChangedStatusEvent(_status);
  }

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

  // Withdraw function
  function withdraw(address payable withdraw_address) external payable nonReentrant onlyOwner {
    require(withdraw_address != address(0), "Withdraw address cannot be zero");
    require(address(this).balance != 0, "Balance is zero");
    payable(withdraw_address).transfer(address(this).balance);
  }


  // FirstTwenty
  function _safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) internal override {
      super._safeTransferFrom(from, to, id, amount, data);

      if(firstTwentyCounter < 20 && !firstTwenty[to]){
        isSetCompleted(to);
      }
    }
  
  function _safeBatchTransferFrom(
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal override {
      super._safeBatchTransferFrom(from, to, ids, amounts, data);

      if(firstTwentyCounter < 20 && !firstTwenty[to]){
        isSetCompleted(to);
      }
    }

  function isSetCompleted(address _address) internal {
    if(balanceOf(_address, 1) > 0 && balanceOf(_address, 2) > 0 && balanceOf(_address, 3) > 0 && balanceOf(_address, 4) > 0){
      firstTwenty[_address] = true;
      ++ firstTwentyCounter;
    }
  }

  function isInFirstTwenty(address _address) public view returns(bool){
    return(firstTwenty[_address]);
  }
}

File 2 of 13 : ERC1155.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC1155/ERC1155.sol)

pragma solidity ^0.8.0;

import "./IERC1155.sol";
import "./IERC1155Receiver.sol";
import "./extensions/IERC1155MetadataURI.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @dev Implementation of the basic standard multi-token.
 * See https://eips.ethereum.org/EIPS/eip-1155
 * Originally based on code by Enjin: https://github.com/enjin/erc-1155
 *
 * _Available since v3.1._
 */
contract ERC1155 is Context, ERC165, IERC1155, IERC1155MetadataURI {
    using Address for address;

    // Mapping from token ID to account balances
    mapping(uint256 => mapping(address => uint256)) private _balances;

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

    // Used as the URI for all token types by relying on ID substitution, e.g. https://token-cdn-domain/{id}.json
    string private _uri;

    /**
     * @dev See {_setURI}.
     */
    constructor(string memory uri_) {
        _setURI(uri_);
    }

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

    /**
     * @dev See {IERC1155MetadataURI-uri}.
     *
     * This implementation returns the same URI for *all* token types. It relies
     * on the token type ID substitution mechanism
     * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP].
     *
     * Clients calling this function must replace the `\{id\}` substring with the
     * actual token type ID.
     */
    function uri(uint256) public view virtual override returns (string memory) {
        return _uri;
    }

    /**
     * @dev See {IERC1155-balanceOf}.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function balanceOf(address account, uint256 id) public view virtual override returns (uint256) {
        require(account != address(0), "ERC1155: balance query for the zero address");
        return _balances[id][account];
    }

    /**
     * @dev See {IERC1155-balanceOfBatch}.
     *
     * Requirements:
     *
     * - `accounts` and `ids` must have the same length.
     */
    function balanceOfBatch(address[] memory accounts, uint256[] memory ids)
        public
        view
        virtual
        override
        returns (uint256[] memory)
    {
        require(accounts.length == ids.length, "ERC1155: accounts and ids length mismatch");

        uint256[] memory batchBalances = new uint256[](accounts.length);

        for (uint256 i = 0; i < accounts.length; ++i) {
            batchBalances[i] = balanceOf(accounts[i], ids[i]);
        }

        return batchBalances;
    }

    /**
     * @dev See {IERC1155-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        _setApprovalForAll(_msgSender(), operator, approved);
    }

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

    /**
     * @dev See {IERC1155-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) public virtual override {
        require(
            from == _msgSender() || isApprovedForAll(from, _msgSender()),
            "ERC1155: caller is not owner nor approved"
        );
        _safeTransferFrom(from, to, id, amount, data);
    }

    /**
     * @dev See {IERC1155-safeBatchTransferFrom}.
     */
    function safeBatchTransferFrom(
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) public virtual override {
        require(
            from == _msgSender() || isApprovedForAll(from, _msgSender()),
            "ERC1155: transfer caller is not owner nor approved"
        );
        _safeBatchTransferFrom(from, to, ids, amounts, data);
    }

    /**
     * @dev Transfers `amount` tokens of token type `id` from `from` to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `from` must have a balance of tokens of type `id` of at least `amount`.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function _safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) internal virtual {
        require(to != address(0), "ERC1155: transfer to the zero address");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, from, to, _asSingletonArray(id), _asSingletonArray(amount), data);

        uint256 fromBalance = _balances[id][from];
        require(fromBalance >= amount, "ERC1155: insufficient balance for transfer");
        unchecked {
            _balances[id][from] = fromBalance - amount;
        }
        _balances[id][to] += amount;

        emit TransferSingle(operator, from, to, id, amount);

        _doSafeTransferAcceptanceCheck(operator, from, to, id, amount, data);
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_safeTransferFrom}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function _safeBatchTransferFrom(
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");
        require(to != address(0), "ERC1155: transfer to the zero address");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, from, to, ids, amounts, data);

        for (uint256 i = 0; i < ids.length; ++i) {
            uint256 id = ids[i];
            uint256 amount = amounts[i];

            uint256 fromBalance = _balances[id][from];
            require(fromBalance >= amount, "ERC1155: insufficient balance for transfer");
            unchecked {
                _balances[id][from] = fromBalance - amount;
            }
            _balances[id][to] += amount;
        }

        emit TransferBatch(operator, from, to, ids, amounts);

        _doSafeBatchTransferAcceptanceCheck(operator, from, to, ids, amounts, data);
    }

    /**
     * @dev Sets a new URI for all token types, by relying on the token type ID
     * substitution mechanism
     * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP].
     *
     * By this mechanism, any occurrence of the `\{id\}` substring in either the
     * URI or any of the amounts in the JSON file at said URI will be replaced by
     * clients with the token type ID.
     *
     * For example, the `https://token-cdn-domain/\{id\}.json` URI would be
     * interpreted by clients as
     * `https://token-cdn-domain/000000000000000000000000000000000000000000000000000000000004cce0.json`
     * for token type ID 0x4cce0.
     *
     * See {uri}.
     *
     * Because these URIs cannot be meaningfully represented by the {URI} event,
     * this function emits no events.
     */
    function _setURI(string memory newuri) internal virtual {
        _uri = newuri;
    }

    /**
     * @dev Creates `amount` tokens of token type `id`, and assigns them to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function _mint(
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) internal virtual {
        require(to != address(0), "ERC1155: mint to the zero address");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, address(0), to, _asSingletonArray(id), _asSingletonArray(amount), data);

        _balances[id][to] += amount;
        emit TransferSingle(operator, address(0), to, id, amount);

        _doSafeTransferAcceptanceCheck(operator, address(0), to, id, amount, data);
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_mint}.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function _mintBatch(
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {
        require(to != address(0), "ERC1155: mint to the zero address");
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, address(0), to, ids, amounts, data);

        for (uint256 i = 0; i < ids.length; i++) {
            _balances[ids[i]][to] += amounts[i];
        }

        emit TransferBatch(operator, address(0), to, ids, amounts);

        _doSafeBatchTransferAcceptanceCheck(operator, address(0), to, ids, amounts, data);
    }

    /**
     * @dev Destroys `amount` tokens of token type `id` from `from`
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `from` must have at least `amount` tokens of token type `id`.
     */
    function _burn(
        address from,
        uint256 id,
        uint256 amount
    ) internal virtual {
        require(from != address(0), "ERC1155: burn from the zero address");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, from, address(0), _asSingletonArray(id), _asSingletonArray(amount), "");

        uint256 fromBalance = _balances[id][from];
        require(fromBalance >= amount, "ERC1155: burn amount exceeds balance");
        unchecked {
            _balances[id][from] = fromBalance - amount;
        }

        emit TransferSingle(operator, from, address(0), id, amount);
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_burn}.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     */
    function _burnBatch(
        address from,
        uint256[] memory ids,
        uint256[] memory amounts
    ) internal virtual {
        require(from != address(0), "ERC1155: burn from the zero address");
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, from, address(0), ids, amounts, "");

        for (uint256 i = 0; i < ids.length; i++) {
            uint256 id = ids[i];
            uint256 amount = amounts[i];

            uint256 fromBalance = _balances[id][from];
            require(fromBalance >= amount, "ERC1155: burn amount exceeds balance");
            unchecked {
                _balances[id][from] = fromBalance - amount;
            }
        }

        emit TransferBatch(operator, from, address(0), ids, amounts);
    }

    /**
     * @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, "ERC1155: setting approval status for self");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning, as well as batched variants.
     *
     * The same hook is called on both single and batched variants. For single
     * transfers, the length of the `id` and `amount` arrays will be 1.
     *
     * Calling conditions (for each `id` and `amount` pair):
     *
     * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * of token type `id` will be  transferred to `to`.
     * - When `from` is zero, `amount` tokens of token type `id` will be minted
     * for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens of token type `id`
     * will be burned.
     * - `from` and `to` are never both zero.
     * - `ids` and `amounts` have the same, non-zero length.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {}

    function _doSafeTransferAcceptanceCheck(
        address operator,
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) private {
        if (to.isContract()) {
            try IERC1155Receiver(to).onERC1155Received(operator, from, id, amount, data) returns (bytes4 response) {
                if (response != IERC1155Receiver.onERC1155Received.selector) {
                    revert("ERC1155: ERC1155Receiver rejected tokens");
                }
            } catch Error(string memory reason) {
                revert(reason);
            } catch {
                revert("ERC1155: transfer to non ERC1155Receiver implementer");
            }
        }
    }

    function _doSafeBatchTransferAcceptanceCheck(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) private {
        if (to.isContract()) {
            try IERC1155Receiver(to).onERC1155BatchReceived(operator, from, ids, amounts, data) returns (
                bytes4 response
            ) {
                if (response != IERC1155Receiver.onERC1155BatchReceived.selector) {
                    revert("ERC1155: ERC1155Receiver rejected tokens");
                }
            } catch Error(string memory reason) {
                revert(reason);
            } catch {
                revert("ERC1155: transfer to non ERC1155Receiver implementer");
            }
        }
    }

    function _asSingletonArray(uint256 element) private pure returns (uint256[] memory) {
        uint256[] memory array = new uint256[](1);
        array[0] = element;

        return array;
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

File 4 of 13 : 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 5 of 13 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

File 6 of 13 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (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 = _efficientHash(computedHash, proofElement);
            } else {
                // Hash(current element of the proof + current computed hash)
                computedHash = _efficientHash(proofElement, computedHash);
            }
        }
        return computedHash;
    }

    function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) {
        assembly {
            mstore(0x00, a)
            mstore(0x20, b)
            value := keccak256(0x00, 0x40)
        }
    }
}

File 7 of 13 : IERC1155.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC1155/IERC1155.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Required interface of an ERC1155 compliant contract, as defined in the
 * https://eips.ethereum.org/EIPS/eip-1155[EIP].
 *
 * _Available since v3.1._
 */
interface IERC1155 is IERC165 {
    /**
     * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`.
     */
    event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value);

    /**
     * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all
     * transfers.
     */
    event TransferBatch(
        address indexed operator,
        address indexed from,
        address indexed to,
        uint256[] ids,
        uint256[] values
    );

    /**
     * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to
     * `approved`.
     */
    event ApprovalForAll(address indexed account, address indexed operator, bool approved);

    /**
     * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI.
     *
     * If an {URI} event was emitted for `id`, the standard
     * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value
     * returned by {IERC1155MetadataURI-uri}.
     */
    event URI(string value, uint256 indexed id);

    /**
     * @dev Returns the amount of tokens of token type `id` owned by `account`.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function balanceOf(address account, uint256 id) external view returns (uint256);

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}.
     *
     * Requirements:
     *
     * - `accounts` and `ids` must have the same length.
     */
    function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids)
        external
        view
        returns (uint256[] memory);

    /**
     * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`,
     *
     * Emits an {ApprovalForAll} event.
     *
     * Requirements:
     *
     * - `operator` cannot be the caller.
     */
    function setApprovalForAll(address operator, bool approved) external;

    /**
     * @dev Returns true if `operator` is approved to transfer ``account``'s tokens.
     *
     * See {setApprovalForAll}.
     */
    function isApprovedForAll(address account, address operator) external view returns (bool);

    /**
     * @dev Transfers `amount` tokens of token type `id` from `from` to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - If the caller is not `from`, it must be have been approved to spend ``from``'s tokens via {setApprovalForAll}.
     * - `from` must have a balance of tokens of type `id` of at least `amount`.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes calldata data
    ) external;

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function safeBatchTransferFrom(
        address from,
        address to,
        uint256[] calldata ids,
        uint256[] calldata amounts,
        bytes calldata data
    ) external;
}

File 8 of 13 : IERC1155Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC1155/IERC1155Receiver.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev _Available since v3.1._
 */
interface IERC1155Receiver is IERC165 {
    /**
     * @dev Handles the receipt of a single ERC1155 token type. This function is
     * called at the end of a `safeTransferFrom` after the balance has been updated.
     *
     * NOTE: To accept the transfer, this must return
     * `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))`
     * (i.e. 0xf23a6e61, or its own function selector).
     *
     * @param operator The address which initiated the transfer (i.e. msg.sender)
     * @param from The address which previously owned the token
     * @param id The ID of the token being transferred
     * @param value The amount of tokens being transferred
     * @param data Additional data with no specified format
     * @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed
     */
    function onERC1155Received(
        address operator,
        address from,
        uint256 id,
        uint256 value,
        bytes calldata data
    ) external returns (bytes4);

    /**
     * @dev Handles the receipt of a multiple ERC1155 token types. This function
     * is called at the end of a `safeBatchTransferFrom` after the balances have
     * been updated.
     *
     * NOTE: To accept the transfer(s), this must return
     * `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))`
     * (i.e. 0xbc197c81, or its own function selector).
     *
     * @param operator The address which initiated the batch transfer (i.e. msg.sender)
     * @param from The address which previously owned the token
     * @param ids An array containing ids of each token being transferred (order and length must match values array)
     * @param values An array containing amounts of each token being transferred (order and length must match ids array)
     * @param data Additional data with no specified format
     * @return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` if transfer is allowed
     */
    function onERC1155BatchReceived(
        address operator,
        address from,
        uint256[] calldata ids,
        uint256[] calldata values,
        bytes calldata data
    ) external returns (bytes4);
}

File 9 of 13 : IERC1155MetadataURI.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC1155/extensions/IERC1155MetadataURI.sol)

pragma solidity ^0.8.0;

import "../IERC1155.sol";

/**
 * @dev Interface of the optional ERC1155MetadataExtension interface, as defined
 * in the https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[EIP].
 *
 * _Available since v3.1._
 */
interface IERC1155MetadataURI is IERC1155 {
    /**
     * @dev Returns the URI for token type `id`.
     *
     * If the `\{id\}` substring is present in the URI, it must be replaced by
     * clients with the actual token type ID.
     */
    function uri(uint256 id) external view returns (string memory);
}

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

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 11 of 13 : 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 12 of 13 : 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 13 of 13 : 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": true,
    "runs": 20000
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

API
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newStatus","type":"uint256"}],"name":"ChangedStatusEvent","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":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"URI","type":"event"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"firstTwenty","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"firstTwentyCounter","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"getStatus","outputs":[{"internalType":"uint256","name":"mintStatus","type":"uint256"},{"internalType":"uint256","name":"minted","type":"uint256"},{"internalType":"bool","name":"presaleMinted","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"isInFirstTwenty","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"maxPerStatus","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":"_qty","type":"uint256"},{"internalType":"bytes32[]","name":"_proof","type":"bytes32[]"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","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":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeBatchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_status","type":"uint256"}],"name":"setStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newuri","type":"string"},{"internalType":"string","name":"suffix","type":"string"}],"name":"setURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"status","outputs":[{"internalType":"enum ShiestySmilesss.MintStatus","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"withdraw_address","type":"address"}],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]

600060058190556007556008805460ff191690556101006040526057608081815290620038dc60a03980516200003e9160099160209091019062000581565b5060408051808201909152600580825264173539b7b760d91b60209092019182526200006d91600a9162000581565b5067016345785d8a0000600b55604080516060810182526000815260016020820152600491810191909152620000a890600c90600362000610565b506103e8600f557ff4673a559825e70d5678bc571b3f84dcde0f4302ca3e5e046a3422eaf70b678a601055348015620000e057600080fd5b5060098054620000f0906200065d565b80601f01602080910402602001604051908101604052809291908181526020018280546200011e906200065d565b80156200016f5780601f1062000143576101008083540402835291602001916200016f565b820191906000526020600020905b8154815290600101906020018083116200015157829003601f168201915b50505050506200018581620001bb60201b60201c565b506200019133620001d4565b6001600481905560408051602081019091526000808252620001b592339262000226565b6200089d565b8051620001d090600290602084019062000581565b5050565b600380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0384166200028c5760405162461bcd60e51b815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b60648201526084015b60405180910390fd5b33620002b281600087620002a08862000346565b620002ab8862000346565b5050505050565b6000848152602081815260408083206001600160a01b038916845290915281208054859290620002e49084906200069a565b909155505060408051858152602081018590526001600160a01b0380881692600092918516917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4620002ab816000878787876200039c565b60408051600180825281830190925260609160009190602080830190803683370190505090508281600081518110620003835762000383620006c1565b602090810291909101015292915050565b505050505050565b620003bb846001600160a01b03166200057260201b620014671760201c565b15620003945760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e6190620003f7908990899088908890889060040162000727565b6020604051808303816000875af192505050801562000435575060408051601f3d908101601f1916820190925262000432918101906200076e565b60015b620004f65762000444620007a1565b806308c379a014156200048557506200045c620007f9565b8062000469575062000487565b8060405162461bcd60e51b815260040162000283919062000888565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e204552433131353560448201527f526563656976657220696d706c656d656e746572000000000000000000000000606482015260840162000283565b6001600160e01b0319811663f23a6e6160e01b14620005695760405162461bcd60e51b815260206004820152602860248201527f455243313135353a204552433131353552656365697665722072656a656374656044820152676420746f6b656e7360c01b606482015260840162000283565b50505050505050565b6001600160a01b03163b151590565b8280546200058f906200065d565b90600052602060002090601f016020900481019282620005b35760008555620005fe565b82601f10620005ce57805160ff1916838001178555620005fe565b82800160010185558215620005fe579182015b82811115620005fe578251825591602001919060010190620005e1565b506200060c92915062000646565b5090565b8260038101928215620005fe579160200282015b82811115620005fe578251829060ff1690559160200191906001019062000624565b5b808211156200060c576000815560010162000647565b600181811c908216806200067257607f821691505b602082108114156200069457634e487b7160e01b600052602260045260246000fd5b50919050565b60008219821115620006bc57634e487b7160e01b600052601160045260246000fd5b500190565b634e487b7160e01b600052603260045260246000fd5b6000815180845260005b81811015620006ff57602081850181015186830182015201620006e1565b8181111562000712576000602083870101525b50601f01601f19169290920160200192915050565b6001600160a01b03868116825285166020820152604081018490526060810183905260a0608082018190526000906200076390830184620006d7565b979650505050505050565b6000602082840312156200078157600080fd5b81516001600160e01b0319811681146200079a57600080fd5b9392505050565b600060033d1115620007bb5760046000803e5060005160e01c5b90565b601f8201601f191681016001600160401b0381118282101715620007f257634e487b7160e01b600052604160045260246000fd5b6040525050565b600060443d1015620008085790565b6040516003193d81016004833e81513d6001600160401b0380831160248401831017156200083857505050505090565b8285019150815181811115620008515750505050505090565b843d87010160208285010111156200086c5750505050505090565b6200087d60208286010187620007be565b509095945050505050565b6020815260006200079a6020830184620006d7565b61302f80620008ad6000396000f3fe6080604052600436106101955760003560e01c806369ba1a75116100e1578063a22cb4651161008a578063d17f3bd011610064578063d17f3bd01461048a578063e985e9c5146104ba578063f242432a14610510578063f2fde38b1461053057600080fd5b8063a22cb46514610437578063ba41b0c614610457578063bf2db4c81461046a57600080fd5b80637de0aeae116100bb5780637de0aeae146103cc5780638da5cb5b146103ec578063a035b1fe1461042157600080fd5b806369ba1a7514610377578063715018a6146103975780637cb64759146103ac57600080fd5b80632eb4a7ab116101435780634e1273f41161011d5780634e1273f4146102f157806351cff8d91461031e578063648c70921461033157600080fd5b80632eb4a7ab1461028857806330ccebb51461029e578063412ef0d9146102db57600080fd5b806318160ddd1161017457806318160ddd1461022a578063200d2ed21461023f5780632eb2c2d61461026657600080fd5b8062fdd58e1461019a57806301ffc9a7146101cd5780630e89341c146101fd575b600080fd5b3480156101a657600080fd5b506101ba6101b53660046124bd565b610550565b6040519081526020015b60405180910390f35b3480156101d957600080fd5b506101ed6101e8366004612517565b610613565b60405190151581526020016101c4565b34801561020957600080fd5b5061021d61021836600461253b565b6106f8565b6040516101c491906125ce565b34801561023657600080fd5b506005546101ba565b34801561024b57600080fd5b506008546102599060ff1681565b6040516101c49190612610565b34801561027257600080fd5b506102866102813660046127f2565b610736565b005b34801561029457600080fd5b506101ba60105481565b3480156102aa57600080fd5b506102be6102b93660046128a0565b6107e5565b6040805193845260208401929092521515908201526060016101c4565b3480156102e757600080fd5b506101ba60075481565b3480156102fd57600080fd5b5061031161030c3660046128bd565b61083c565b6040516101c491906129c5565b61028661032c3660046128a0565b61097a565b34801561033d57600080fd5b506101ed61034c3660046128a0565b73ffffffffffffffffffffffffffffffffffffffff1660009081526006602052604090205460ff1690565b34801561038357600080fd5b5061028661039236600461253b565b610b34565b3480156103a357600080fd5b50610286610c99565b3480156103b857600080fd5b506102866103c736600461253b565b610d0c565b3480156103d857600080fd5b506101ba6103e736600461253b565b610d78565b3480156103f857600080fd5b5060035460405173ffffffffffffffffffffffffffffffffffffffff90911681526020016101c4565b34801561042d57600080fd5b506101ba600b5481565b34801561044357600080fd5b506102866104523660046129d8565b610d8f565b610286610465366004612a16565b610d9e565b34801561047657600080fd5b50610286610485366004612a95565b61123f565b34801561049657600080fd5b506101ed6104a53660046128a0565b60066020526000908152604090205460ff1681565b3480156104c657600080fd5b506101ed6104d5366004612aef565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205460ff1690565b34801561051c57600080fd5b5061028661052b366004612b1d565b6112c3565b34801561053c57600080fd5b5061028661054b3660046128a0565b61136b565b600073ffffffffffffffffffffffffffffffffffffffff83166105e05760405162461bcd60e51b815260206004820152602b60248201527f455243313135353a2062616c616e636520717565727920666f7220746865207a60448201527f65726f206164647265737300000000000000000000000000000000000000000060648201526084015b60405180910390fd5b5060009081526020818152604080832073ffffffffffffffffffffffffffffffffffffffff949094168352929052205490565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167fd9b67a260000000000000000000000000000000000000000000000000000000014806106a657507fffffffff0000000000000000000000000000000000000000000000000000000082167f0e89341c00000000000000000000000000000000000000000000000000000000145b806106f257507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b606061070382611483565b61070c83611517565b600a60405160200161072093929190612bda565b6040516020818303038152906040529050919050565b73ffffffffffffffffffffffffffffffffffffffff851633148061075f575061075f85336104d5565b6107d15760405162461bcd60e51b815260206004820152603260248201527f455243313135353a207472616e736665722063616c6c6572206973206e6f742060448201527f6f776e6572206e6f7220617070726f766564000000000000000000000000000060648201526084016105d7565b6107de8585858585611651565b5050505050565b6008546000908190819060ff166002811115610803576108036125e1565b60055473ffffffffffffffffffffffffffffffffffffffff95909516600090815260116020526040902054909560ff9091169350915050565b606081518351146108b55760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e67746860448201527f206d69736d61746368000000000000000000000000000000000000000000000060648201526084016105d7565b6000835167ffffffffffffffff8111156108d1576108d1612651565b6040519080825280602002602001820160405280156108fa578160200160208202803683370190505b50905060005b84518110156109725761094585828151811061091e5761091e612cd5565b602002602001015185838151811061093857610938612cd5565b6020026020010151610550565b82828151811061095757610957612cd5565b602090810291909101015261096b81612d33565b9050610900565b509392505050565b600260045414156109cd5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016105d7565b600260045560035473ffffffffffffffffffffffffffffffffffffffff163314610a395760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016105d7565b73ffffffffffffffffffffffffffffffffffffffff8116610a9c5760405162461bcd60e51b815260206004820152601f60248201527f576974686472617720616464726573732063616e6e6f74206265207a65726f0060448201526064016105d7565b47610ae95760405162461bcd60e51b815260206004820152600f60248201527f42616c616e6365206973207a65726f000000000000000000000000000000000060448201526064016105d7565b60405173ffffffffffffffffffffffffffffffffffffffff8216904780156108fc02916000818181858888f19350505050158015610b2b573d6000803e3d6000fd5b50506001600455565b60035473ffffffffffffffffffffffffffffffffffffffff163314610b9b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016105d7565b6002811115610c125760405162461bcd60e51b815260206004820152602360248201527f4d696e7420737461747573206d757374206265206265747765656e203020616e60448201527f642032000000000000000000000000000000000000000000000000000000000060648201526084016105d7565b806002811115610c2457610c246125e1565b600880547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001836002811115610c5e57610c5e6125e1565b02179055506040518181527f4cc5ea37df50e6ca53a9b0b7897785aac7fbd6e69b095d62b7df79f291a0a6789060200160405180910390a150565b60035473ffffffffffffffffffffffffffffffffffffffff163314610d005760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016105d7565b610d0a60006116a4565b565b60035473ffffffffffffffffffffffffffffffffffffffff163314610d735760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016105d7565b601055565b600c8160038110610d8857600080fd5b0154905081565b610d9a33838361171b565b5050565b60026004541415610df15760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016105d7565b60026004558181600160085460ff166002811115610e1157610e116125e1565b1415610f8457610e9f828280806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506010546040517fffffffffffffffffffffffffffffffffffffffff0000000000000000000000003360601b166020820152909250603401905060405160208183030381529060405280519060200120611855565b610eeb5760405162461bcd60e51b815260206004820152601660248201527f596f7520617265206e6f7420696e2070726573616c650000000000000000000060448201526064016105d7565b3360009081526011602052604090205460ff1615610f4b5760405162461bcd60e51b815260206004820152600e60248201527f416c7265616479206d696e74656400000000000000000000000000000000000060448201526064016105d7565b33600090815260116020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790555b600554333214610ffc5760405162461bcd60e51b815260206004820152602560248201527f596f752063616e6e6f74206d696e742066726f6d206120736d61727420636f6e60448201527f747261637400000000000000000000000000000000000000000000000000000060648201526084016105d7565b600060085460ff166002811115611015576110156125e1565b14156110635760405162461bcd60e51b815260206004820152601160248201527f4d696e74696e6720697320636c6f73656400000000000000000000000000000060448201526064016105d7565b85600b546110719190612d6c565b3410156110c05760405162461bcd60e51b815260206004820152601960248201527f45746865722073656e74206973206e6f7420636f72726563740000000000000060448201526064016105d7565b600854600c9060ff1660028111156110da576110da6125e1565b600381106110ea576110ea612cd5565b015486111561113b5760405162461bcd60e51b815260206004820152601f60248201527f457863656564656420746865206d617820616d6f756e74206f66204e4654730060448201526064016105d7565b600f54811061118c5760405162461bcd60e51b815260206004820152601460248201527f416d6f756e74206e6f7420617661696c61626c6500000000000000000000000060448201526064016105d7565b856005600082825461119e9190612da9565b90915550600090505b868110156112015760006111bc600484612df0565b6111c7906001612da9565b90506111d283612d33565b92506111f0338260016040518060200160405280600081525061186b565b506111fa81612d33565b90506111a7565b50601460075410801561122457503360009081526006602052604090205460ff16155b1561123257611232336119b8565b5050600160045550505050565b60035473ffffffffffffffffffffffffffffffffffffffff1633146112a65760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016105d7565b80516112b990600a906020840190612402565b50610d9a82611a72565b73ffffffffffffffffffffffffffffffffffffffff85163314806112ec57506112ec85336104d5565b61135e5760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201527f20617070726f766564000000000000000000000000000000000000000000000060648201526084016105d7565b6107de8585858585611a85565b60035473ffffffffffffffffffffffffffffffffffffffff1633146113d25760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016105d7565b73ffffffffffffffffffffffffffffffffffffffff811661145b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016105d7565b611464816116a4565b50565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b60606002805461149290612b86565b80601f01602080910402602001604051908101604052809291908181526020018280546114be90612b86565b801561150b5780601f106114e05761010080835404028352916020019161150b565b820191906000526020600020905b8154815290600101906020018083116114ee57829003601f168201915b50505050509050919050565b60608161155757505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115611581578061156b81612d33565b915061157a9050600a83612e04565b915061155b565b60008167ffffffffffffffff81111561159c5761159c612651565b6040519080825280601f01601f1916602001820160405280156115c6576020820181803683370190505b5090505b8415611649576115db600183612e18565b91506115e8600a86612df0565b6115f3906030612da9565b60f81b81838151811061160857611608612cd5565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350611642600a86612e04565b94506115ca565b949350505050565b61165e8585858585611a92565b6014600754108015611696575073ffffffffffffffffffffffffffffffffffffffff841660009081526006602052604090205460ff16155b156107de576107de846119b8565b6003805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156117bd5760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c2073746174757360448201527f20666f722073656c66000000000000000000000000000000000000000000000060648201526084016105d7565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526001602090815260408083209487168084529482529182902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6000826118628584611d7e565b14949350505050565b73ffffffffffffffffffffffffffffffffffffffff84166118f45760405162461bcd60e51b815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f2061646472657360448201527f730000000000000000000000000000000000000000000000000000000000000060648201526084016105d7565b3361190e8160008761190588611dea565b6107de88611dea565b60008481526020818152604080832073ffffffffffffffffffffffffffffffffffffffff891684529091528120805485929061194b908490612da9565b9091555050604080518581526020810185905273ffffffffffffffffffffffffffffffffffffffff80881692600092918516917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a46107de81600087878787611e35565b60006119c5826001610550565b1180156119dc575060006119da826002610550565b115b80156119f2575060006119f0826003610550565b115b8015611a0857506000611a06826004610550565b115b156114645773ffffffffffffffffffffffffffffffffffffffff8116600090815260066020526040812080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016600117905560078054909190611a6b90612d33565b9091555050565b8051610d9a906002906020840190612402565b61165e858585858561207b565b8151835114611b095760405162461bcd60e51b815260206004820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060448201527f6d69736d6174636800000000000000000000000000000000000000000000000060648201526084016105d7565b73ffffffffffffffffffffffffffffffffffffffff8416611b925760405162461bcd60e51b815260206004820152602560248201527f455243313135353a207472616e7366657220746f20746865207a65726f20616460448201527f647265737300000000000000000000000000000000000000000000000000000060648201526084016105d7565b3360005b8451811015611ce9576000858281518110611bb357611bb3612cd5565b602002602001015190506000858381518110611bd157611bd1612cd5565b6020908102919091018101516000848152808352604080822073ffffffffffffffffffffffffffffffffffffffff8e168352909352919091205490915081811015611c845760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60448201527f72207472616e736665720000000000000000000000000000000000000000000060648201526084016105d7565b60008381526020818152604080832073ffffffffffffffffffffffffffffffffffffffff8e8116855292528083208585039055908b16825281208054849290611cce908490612da9565b9250508190555050505080611ce290612d33565b9050611b96565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051611d60929190612e2f565b60405180910390a4611d7681878787878761226f565b505050505050565b600081815b8451811015610972576000858281518110611da057611da0612cd5565b60200260200101519050808311611dc65760008381526020829052604090209250611dd7565b600081815260208490526040902092505b5080611de281612d33565b915050611d83565b60408051600180825281830190925260609160009190602080830190803683370190505090508281600081518110611e2457611e24612cd5565b602090810291909101015292915050565b73ffffffffffffffffffffffffffffffffffffffff84163b15611d76576040517ff23a6e6100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85169063f23a6e6190611eac9089908990889088908890600401612e5d565b6020604051808303816000875af1925050508015611f05575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0168201909252611f0291810190612ead565b60015b611fbb57611f11612eca565b806308c379a01415611f4b5750611f26612ee6565b80611f315750611f4d565b8060405162461bcd60e51b81526004016105d791906125ce565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e204552433131353560448201527f526563656976657220696d706c656d656e74657200000000000000000000000060648201526084016105d7565b7fffffffff0000000000000000000000000000000000000000000000000000000081167ff23a6e6100000000000000000000000000000000000000000000000000000000146120725760405162461bcd60e51b815260206004820152602860248201527f455243313135353a204552433131353552656365697665722072656a6563746560448201527f6420746f6b656e7300000000000000000000000000000000000000000000000060648201526084016105d7565b50505050505050565b73ffffffffffffffffffffffffffffffffffffffff84166121045760405162461bcd60e51b815260206004820152602560248201527f455243313135353a207472616e7366657220746f20746865207a65726f20616460448201527f647265737300000000000000000000000000000000000000000000000000000060648201526084016105d7565b3361211481878761190588611dea565b60008481526020818152604080832073ffffffffffffffffffffffffffffffffffffffff8a168452909152902054838110156121b85760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60448201527f72207472616e736665720000000000000000000000000000000000000000000060648201526084016105d7565b60008581526020818152604080832073ffffffffffffffffffffffffffffffffffffffff8b8116855292528083208785039055908816825281208054869290612202908490612da9565b9091555050604080518681526020810186905273ffffffffffffffffffffffffffffffffffffffff808916928a821692918616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4612072828888888888611e35565b73ffffffffffffffffffffffffffffffffffffffff84163b15611d76576040517fbc197c8100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85169063bc197c81906122e69089908990889088908890600401612f8e565b6020604051808303816000875af192505050801561233f575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016820190925261233c91810190612ead565b60015b61234b57611f11612eca565b7fffffffff0000000000000000000000000000000000000000000000000000000081167fbc197c8100000000000000000000000000000000000000000000000000000000146120725760405162461bcd60e51b815260206004820152602860248201527f455243313135353a204552433131353552656365697665722072656a6563746560448201527f6420746f6b656e7300000000000000000000000000000000000000000000000060648201526084016105d7565b82805461240e90612b86565b90600052602060002090601f0160209004810192826124305760008555612476565b82601f1061244957805160ff1916838001178555612476565b82800160010185558215612476579182015b8281111561247657825182559160200191906001019061245b565b50612482929150612486565b5090565b5b808211156124825760008155600101612487565b73ffffffffffffffffffffffffffffffffffffffff8116811461146457600080fd5b600080604083850312156124d057600080fd5b82356124db8161249b565b946020939093013593505050565b7fffffffff000000000000000000000000000000000000000000000000000000008116811461146457600080fd5b60006020828403121561252957600080fd5b8135612534816124e9565b9392505050565b60006020828403121561254d57600080fd5b5035919050565b60005b8381101561256f578181015183820152602001612557565b8381111561257e576000848401525b50505050565b6000815180845261259c816020860160208601612554565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6020815260006125346020830184612584565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b602081016003831061264b577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b91905290565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f830116810181811067ffffffffffffffff821117156126c4576126c4612651565b6040525050565b600067ffffffffffffffff8211156126e5576126e5612651565b5060051b60200190565b600082601f83011261270057600080fd5b8135602061270d826126cb565b60405161271a8282612680565b83815260059390931b850182019282810191508684111561273a57600080fd5b8286015b84811015612755578035835291830191830161273e565b509695505050505050565b600082601f83011261277157600080fd5b813567ffffffffffffffff81111561278b5761278b612651565b6040516127c060207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8501160182612680565b8181528460208386010111156127d557600080fd5b816020850160208301376000918101602001919091529392505050565b600080600080600060a0868803121561280a57600080fd5b85356128158161249b565b945060208601356128258161249b565b9350604086013567ffffffffffffffff8082111561284257600080fd5b61284e89838a016126ef565b9450606088013591508082111561286457600080fd5b61287089838a016126ef565b9350608088013591508082111561288657600080fd5b5061289388828901612760565b9150509295509295909350565b6000602082840312156128b257600080fd5b81356125348161249b565b600080604083850312156128d057600080fd5b823567ffffffffffffffff808211156128e857600080fd5b818501915085601f8301126128fc57600080fd5b81356020612909826126cb565b6040516129168282612680565b83815260059390931b850182019282810191508984111561293657600080fd5b948201945b8386101561295d57853561294e8161249b565b8252948201949082019061293b565b9650508601359250508082111561297357600080fd5b50612980858286016126ef565b9150509250929050565b600081518084526020808501945080840160005b838110156129ba5781518752958201959082019060010161299e565b509495945050505050565b602081526000612534602083018461298a565b600080604083850312156129eb57600080fd5b82356129f68161249b565b915060208301358015158114612a0b57600080fd5b809150509250929050565b600080600060408486031215612a2b57600080fd5b83359250602084013567ffffffffffffffff80821115612a4a57600080fd5b818601915086601f830112612a5e57600080fd5b813581811115612a6d57600080fd5b8760208260051b8501011115612a8257600080fd5b6020830194508093505050509250925092565b60008060408385031215612aa857600080fd5b823567ffffffffffffffff80821115612ac057600080fd5b612acc86838701612760565b93506020850135915080821115612ae257600080fd5b5061298085828601612760565b60008060408385031215612b0257600080fd5b8235612b0d8161249b565b91506020830135612a0b8161249b565b600080600080600060a08688031215612b3557600080fd5b8535612b408161249b565b94506020860135612b508161249b565b93506040860135925060608601359150608086013567ffffffffffffffff811115612b7a57600080fd5b61289388828901612760565b600181811c90821680612b9a57607f821691505b60208210811415612bd4577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b600084516020612bed8285838a01612554565b855191840191612c008184848a01612554565b8554920191600090600181811c9080831680612c1d57607f831692505b858310811415612c54577f4e487b710000000000000000000000000000000000000000000000000000000085526022600452602485fd5b808015612c685760018114612c9757612cc4565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00851688528388019550612cc4565b60008b81526020902060005b85811015612cbc5781548a820152908401908801612ca3565b505083880195505b50939b9a5050505050505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415612d6557612d65612d04565b5060010190565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615612da457612da4612d04565b500290565b60008219821115612dbc57612dbc612d04565b500190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600082612dff57612dff612dc1565b500690565b600082612e1357612e13612dc1565b500490565b600082821015612e2a57612e2a612d04565b500390565b604081526000612e42604083018561298a565b8281036020840152612e54818561298a565b95945050505050565b600073ffffffffffffffffffffffffffffffffffffffff808816835280871660208401525084604083015283606083015260a06080830152612ea260a0830184612584565b979650505050505050565b600060208284031215612ebf57600080fd5b8151612534816124e9565b600060033d1115612ee35760046000803e5060005160e01c5b90565b600060443d1015612ef45790565b6040517ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc803d016004833e81513d67ffffffffffffffff8160248401118184111715612f4257505050505090565b8285019150815181811115612f5a5750505050505090565b843d8701016020828501011115612f745750505050505090565b612f8360208286010187612680565b509095945050505050565b600073ffffffffffffffffffffffffffffffffffffffff808816835280871660208401525060a06040830152612fc760a083018661298a565b8281036060840152612fd9818661298a565b90508281036080840152612fed8185612584565b9897505050505050505056fea26469706673582212205f4cc061c5c64a35265a994975f941f6099786771be45bbbddf8d6ebe94ac06164736f6c634300080b003368747470733a2f2f736d696c657373737672732e6d7970696e6174612e636c6f75642f697066732f516d616739364842686e703645577a7a4e4a6b716933687637534445624333574d363333314435554c4e724259372f

Deployed Bytecode

0x6080604052600436106101955760003560e01c806369ba1a75116100e1578063a22cb4651161008a578063d17f3bd011610064578063d17f3bd01461048a578063e985e9c5146104ba578063f242432a14610510578063f2fde38b1461053057600080fd5b8063a22cb46514610437578063ba41b0c614610457578063bf2db4c81461046a57600080fd5b80637de0aeae116100bb5780637de0aeae146103cc5780638da5cb5b146103ec578063a035b1fe1461042157600080fd5b806369ba1a7514610377578063715018a6146103975780637cb64759146103ac57600080fd5b80632eb4a7ab116101435780634e1273f41161011d5780634e1273f4146102f157806351cff8d91461031e578063648c70921461033157600080fd5b80632eb4a7ab1461028857806330ccebb51461029e578063412ef0d9146102db57600080fd5b806318160ddd1161017457806318160ddd1461022a578063200d2ed21461023f5780632eb2c2d61461026657600080fd5b8062fdd58e1461019a57806301ffc9a7146101cd5780630e89341c146101fd575b600080fd5b3480156101a657600080fd5b506101ba6101b53660046124bd565b610550565b6040519081526020015b60405180910390f35b3480156101d957600080fd5b506101ed6101e8366004612517565b610613565b60405190151581526020016101c4565b34801561020957600080fd5b5061021d61021836600461253b565b6106f8565b6040516101c491906125ce565b34801561023657600080fd5b506005546101ba565b34801561024b57600080fd5b506008546102599060ff1681565b6040516101c49190612610565b34801561027257600080fd5b506102866102813660046127f2565b610736565b005b34801561029457600080fd5b506101ba60105481565b3480156102aa57600080fd5b506102be6102b93660046128a0565b6107e5565b6040805193845260208401929092521515908201526060016101c4565b3480156102e757600080fd5b506101ba60075481565b3480156102fd57600080fd5b5061031161030c3660046128bd565b61083c565b6040516101c491906129c5565b61028661032c3660046128a0565b61097a565b34801561033d57600080fd5b506101ed61034c3660046128a0565b73ffffffffffffffffffffffffffffffffffffffff1660009081526006602052604090205460ff1690565b34801561038357600080fd5b5061028661039236600461253b565b610b34565b3480156103a357600080fd5b50610286610c99565b3480156103b857600080fd5b506102866103c736600461253b565b610d0c565b3480156103d857600080fd5b506101ba6103e736600461253b565b610d78565b3480156103f857600080fd5b5060035460405173ffffffffffffffffffffffffffffffffffffffff90911681526020016101c4565b34801561042d57600080fd5b506101ba600b5481565b34801561044357600080fd5b506102866104523660046129d8565b610d8f565b610286610465366004612a16565b610d9e565b34801561047657600080fd5b50610286610485366004612a95565b61123f565b34801561049657600080fd5b506101ed6104a53660046128a0565b60066020526000908152604090205460ff1681565b3480156104c657600080fd5b506101ed6104d5366004612aef565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205460ff1690565b34801561051c57600080fd5b5061028661052b366004612b1d565b6112c3565b34801561053c57600080fd5b5061028661054b3660046128a0565b61136b565b600073ffffffffffffffffffffffffffffffffffffffff83166105e05760405162461bcd60e51b815260206004820152602b60248201527f455243313135353a2062616c616e636520717565727920666f7220746865207a60448201527f65726f206164647265737300000000000000000000000000000000000000000060648201526084015b60405180910390fd5b5060009081526020818152604080832073ffffffffffffffffffffffffffffffffffffffff949094168352929052205490565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167fd9b67a260000000000000000000000000000000000000000000000000000000014806106a657507fffffffff0000000000000000000000000000000000000000000000000000000082167f0e89341c00000000000000000000000000000000000000000000000000000000145b806106f257507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b606061070382611483565b61070c83611517565b600a60405160200161072093929190612bda565b6040516020818303038152906040529050919050565b73ffffffffffffffffffffffffffffffffffffffff851633148061075f575061075f85336104d5565b6107d15760405162461bcd60e51b815260206004820152603260248201527f455243313135353a207472616e736665722063616c6c6572206973206e6f742060448201527f6f776e6572206e6f7220617070726f766564000000000000000000000000000060648201526084016105d7565b6107de8585858585611651565b5050505050565b6008546000908190819060ff166002811115610803576108036125e1565b60055473ffffffffffffffffffffffffffffffffffffffff95909516600090815260116020526040902054909560ff9091169350915050565b606081518351146108b55760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e67746860448201527f206d69736d61746368000000000000000000000000000000000000000000000060648201526084016105d7565b6000835167ffffffffffffffff8111156108d1576108d1612651565b6040519080825280602002602001820160405280156108fa578160200160208202803683370190505b50905060005b84518110156109725761094585828151811061091e5761091e612cd5565b602002602001015185838151811061093857610938612cd5565b6020026020010151610550565b82828151811061095757610957612cd5565b602090810291909101015261096b81612d33565b9050610900565b509392505050565b600260045414156109cd5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016105d7565b600260045560035473ffffffffffffffffffffffffffffffffffffffff163314610a395760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016105d7565b73ffffffffffffffffffffffffffffffffffffffff8116610a9c5760405162461bcd60e51b815260206004820152601f60248201527f576974686472617720616464726573732063616e6e6f74206265207a65726f0060448201526064016105d7565b47610ae95760405162461bcd60e51b815260206004820152600f60248201527f42616c616e6365206973207a65726f000000000000000000000000000000000060448201526064016105d7565b60405173ffffffffffffffffffffffffffffffffffffffff8216904780156108fc02916000818181858888f19350505050158015610b2b573d6000803e3d6000fd5b50506001600455565b60035473ffffffffffffffffffffffffffffffffffffffff163314610b9b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016105d7565b6002811115610c125760405162461bcd60e51b815260206004820152602360248201527f4d696e7420737461747573206d757374206265206265747765656e203020616e60448201527f642032000000000000000000000000000000000000000000000000000000000060648201526084016105d7565b806002811115610c2457610c246125e1565b600880547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001836002811115610c5e57610c5e6125e1565b02179055506040518181527f4cc5ea37df50e6ca53a9b0b7897785aac7fbd6e69b095d62b7df79f291a0a6789060200160405180910390a150565b60035473ffffffffffffffffffffffffffffffffffffffff163314610d005760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016105d7565b610d0a60006116a4565b565b60035473ffffffffffffffffffffffffffffffffffffffff163314610d735760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016105d7565b601055565b600c8160038110610d8857600080fd5b0154905081565b610d9a33838361171b565b5050565b60026004541415610df15760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016105d7565b60026004558181600160085460ff166002811115610e1157610e116125e1565b1415610f8457610e9f828280806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506010546040517fffffffffffffffffffffffffffffffffffffffff0000000000000000000000003360601b166020820152909250603401905060405160208183030381529060405280519060200120611855565b610eeb5760405162461bcd60e51b815260206004820152601660248201527f596f7520617265206e6f7420696e2070726573616c650000000000000000000060448201526064016105d7565b3360009081526011602052604090205460ff1615610f4b5760405162461bcd60e51b815260206004820152600e60248201527f416c7265616479206d696e74656400000000000000000000000000000000000060448201526064016105d7565b33600090815260116020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790555b600554333214610ffc5760405162461bcd60e51b815260206004820152602560248201527f596f752063616e6e6f74206d696e742066726f6d206120736d61727420636f6e60448201527f747261637400000000000000000000000000000000000000000000000000000060648201526084016105d7565b600060085460ff166002811115611015576110156125e1565b14156110635760405162461bcd60e51b815260206004820152601160248201527f4d696e74696e6720697320636c6f73656400000000000000000000000000000060448201526064016105d7565b85600b546110719190612d6c565b3410156110c05760405162461bcd60e51b815260206004820152601960248201527f45746865722073656e74206973206e6f7420636f72726563740000000000000060448201526064016105d7565b600854600c9060ff1660028111156110da576110da6125e1565b600381106110ea576110ea612cd5565b015486111561113b5760405162461bcd60e51b815260206004820152601f60248201527f457863656564656420746865206d617820616d6f756e74206f66204e4654730060448201526064016105d7565b600f54811061118c5760405162461bcd60e51b815260206004820152601460248201527f416d6f756e74206e6f7420617661696c61626c6500000000000000000000000060448201526064016105d7565b856005600082825461119e9190612da9565b90915550600090505b868110156112015760006111bc600484612df0565b6111c7906001612da9565b90506111d283612d33565b92506111f0338260016040518060200160405280600081525061186b565b506111fa81612d33565b90506111a7565b50601460075410801561122457503360009081526006602052604090205460ff16155b1561123257611232336119b8565b5050600160045550505050565b60035473ffffffffffffffffffffffffffffffffffffffff1633146112a65760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016105d7565b80516112b990600a906020840190612402565b50610d9a82611a72565b73ffffffffffffffffffffffffffffffffffffffff85163314806112ec57506112ec85336104d5565b61135e5760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201527f20617070726f766564000000000000000000000000000000000000000000000060648201526084016105d7565b6107de8585858585611a85565b60035473ffffffffffffffffffffffffffffffffffffffff1633146113d25760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016105d7565b73ffffffffffffffffffffffffffffffffffffffff811661145b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016105d7565b611464816116a4565b50565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b60606002805461149290612b86565b80601f01602080910402602001604051908101604052809291908181526020018280546114be90612b86565b801561150b5780601f106114e05761010080835404028352916020019161150b565b820191906000526020600020905b8154815290600101906020018083116114ee57829003601f168201915b50505050509050919050565b60608161155757505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115611581578061156b81612d33565b915061157a9050600a83612e04565b915061155b565b60008167ffffffffffffffff81111561159c5761159c612651565b6040519080825280601f01601f1916602001820160405280156115c6576020820181803683370190505b5090505b8415611649576115db600183612e18565b91506115e8600a86612df0565b6115f3906030612da9565b60f81b81838151811061160857611608612cd5565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350611642600a86612e04565b94506115ca565b949350505050565b61165e8585858585611a92565b6014600754108015611696575073ffffffffffffffffffffffffffffffffffffffff841660009081526006602052604090205460ff16155b156107de576107de846119b8565b6003805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156117bd5760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c2073746174757360448201527f20666f722073656c66000000000000000000000000000000000000000000000060648201526084016105d7565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526001602090815260408083209487168084529482529182902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6000826118628584611d7e565b14949350505050565b73ffffffffffffffffffffffffffffffffffffffff84166118f45760405162461bcd60e51b815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f2061646472657360448201527f730000000000000000000000000000000000000000000000000000000000000060648201526084016105d7565b3361190e8160008761190588611dea565b6107de88611dea565b60008481526020818152604080832073ffffffffffffffffffffffffffffffffffffffff891684529091528120805485929061194b908490612da9565b9091555050604080518581526020810185905273ffffffffffffffffffffffffffffffffffffffff80881692600092918516917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a46107de81600087878787611e35565b60006119c5826001610550565b1180156119dc575060006119da826002610550565b115b80156119f2575060006119f0826003610550565b115b8015611a0857506000611a06826004610550565b115b156114645773ffffffffffffffffffffffffffffffffffffffff8116600090815260066020526040812080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016600117905560078054909190611a6b90612d33565b9091555050565b8051610d9a906002906020840190612402565b61165e858585858561207b565b8151835114611b095760405162461bcd60e51b815260206004820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060448201527f6d69736d6174636800000000000000000000000000000000000000000000000060648201526084016105d7565b73ffffffffffffffffffffffffffffffffffffffff8416611b925760405162461bcd60e51b815260206004820152602560248201527f455243313135353a207472616e7366657220746f20746865207a65726f20616460448201527f647265737300000000000000000000000000000000000000000000000000000060648201526084016105d7565b3360005b8451811015611ce9576000858281518110611bb357611bb3612cd5565b602002602001015190506000858381518110611bd157611bd1612cd5565b6020908102919091018101516000848152808352604080822073ffffffffffffffffffffffffffffffffffffffff8e168352909352919091205490915081811015611c845760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60448201527f72207472616e736665720000000000000000000000000000000000000000000060648201526084016105d7565b60008381526020818152604080832073ffffffffffffffffffffffffffffffffffffffff8e8116855292528083208585039055908b16825281208054849290611cce908490612da9565b9250508190555050505080611ce290612d33565b9050611b96565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051611d60929190612e2f565b60405180910390a4611d7681878787878761226f565b505050505050565b600081815b8451811015610972576000858281518110611da057611da0612cd5565b60200260200101519050808311611dc65760008381526020829052604090209250611dd7565b600081815260208490526040902092505b5080611de281612d33565b915050611d83565b60408051600180825281830190925260609160009190602080830190803683370190505090508281600081518110611e2457611e24612cd5565b602090810291909101015292915050565b73ffffffffffffffffffffffffffffffffffffffff84163b15611d76576040517ff23a6e6100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85169063f23a6e6190611eac9089908990889088908890600401612e5d565b6020604051808303816000875af1925050508015611f05575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0168201909252611f0291810190612ead565b60015b611fbb57611f11612eca565b806308c379a01415611f4b5750611f26612ee6565b80611f315750611f4d565b8060405162461bcd60e51b81526004016105d791906125ce565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e204552433131353560448201527f526563656976657220696d706c656d656e74657200000000000000000000000060648201526084016105d7565b7fffffffff0000000000000000000000000000000000000000000000000000000081167ff23a6e6100000000000000000000000000000000000000000000000000000000146120725760405162461bcd60e51b815260206004820152602860248201527f455243313135353a204552433131353552656365697665722072656a6563746560448201527f6420746f6b656e7300000000000000000000000000000000000000000000000060648201526084016105d7565b50505050505050565b73ffffffffffffffffffffffffffffffffffffffff84166121045760405162461bcd60e51b815260206004820152602560248201527f455243313135353a207472616e7366657220746f20746865207a65726f20616460448201527f647265737300000000000000000000000000000000000000000000000000000060648201526084016105d7565b3361211481878761190588611dea565b60008481526020818152604080832073ffffffffffffffffffffffffffffffffffffffff8a168452909152902054838110156121b85760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60448201527f72207472616e736665720000000000000000000000000000000000000000000060648201526084016105d7565b60008581526020818152604080832073ffffffffffffffffffffffffffffffffffffffff8b8116855292528083208785039055908816825281208054869290612202908490612da9565b9091555050604080518681526020810186905273ffffffffffffffffffffffffffffffffffffffff808916928a821692918616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4612072828888888888611e35565b73ffffffffffffffffffffffffffffffffffffffff84163b15611d76576040517fbc197c8100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85169063bc197c81906122e69089908990889088908890600401612f8e565b6020604051808303816000875af192505050801561233f575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016820190925261233c91810190612ead565b60015b61234b57611f11612eca565b7fffffffff0000000000000000000000000000000000000000000000000000000081167fbc197c8100000000000000000000000000000000000000000000000000000000146120725760405162461bcd60e51b815260206004820152602860248201527f455243313135353a204552433131353552656365697665722072656a6563746560448201527f6420746f6b656e7300000000000000000000000000000000000000000000000060648201526084016105d7565b82805461240e90612b86565b90600052602060002090601f0160209004810192826124305760008555612476565b82601f1061244957805160ff1916838001178555612476565b82800160010185558215612476579182015b8281111561247657825182559160200191906001019061245b565b50612482929150612486565b5090565b5b808211156124825760008155600101612487565b73ffffffffffffffffffffffffffffffffffffffff8116811461146457600080fd5b600080604083850312156124d057600080fd5b82356124db8161249b565b946020939093013593505050565b7fffffffff000000000000000000000000000000000000000000000000000000008116811461146457600080fd5b60006020828403121561252957600080fd5b8135612534816124e9565b9392505050565b60006020828403121561254d57600080fd5b5035919050565b60005b8381101561256f578181015183820152602001612557565b8381111561257e576000848401525b50505050565b6000815180845261259c816020860160208601612554565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6020815260006125346020830184612584565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b602081016003831061264b577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b91905290565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f830116810181811067ffffffffffffffff821117156126c4576126c4612651565b6040525050565b600067ffffffffffffffff8211156126e5576126e5612651565b5060051b60200190565b600082601f83011261270057600080fd5b8135602061270d826126cb565b60405161271a8282612680565b83815260059390931b850182019282810191508684111561273a57600080fd5b8286015b84811015612755578035835291830191830161273e565b509695505050505050565b600082601f83011261277157600080fd5b813567ffffffffffffffff81111561278b5761278b612651565b6040516127c060207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8501160182612680565b8181528460208386010111156127d557600080fd5b816020850160208301376000918101602001919091529392505050565b600080600080600060a0868803121561280a57600080fd5b85356128158161249b565b945060208601356128258161249b565b9350604086013567ffffffffffffffff8082111561284257600080fd5b61284e89838a016126ef565b9450606088013591508082111561286457600080fd5b61287089838a016126ef565b9350608088013591508082111561288657600080fd5b5061289388828901612760565b9150509295509295909350565b6000602082840312156128b257600080fd5b81356125348161249b565b600080604083850312156128d057600080fd5b823567ffffffffffffffff808211156128e857600080fd5b818501915085601f8301126128fc57600080fd5b81356020612909826126cb565b6040516129168282612680565b83815260059390931b850182019282810191508984111561293657600080fd5b948201945b8386101561295d57853561294e8161249b565b8252948201949082019061293b565b9650508601359250508082111561297357600080fd5b50612980858286016126ef565b9150509250929050565b600081518084526020808501945080840160005b838110156129ba5781518752958201959082019060010161299e565b509495945050505050565b602081526000612534602083018461298a565b600080604083850312156129eb57600080fd5b82356129f68161249b565b915060208301358015158114612a0b57600080fd5b809150509250929050565b600080600060408486031215612a2b57600080fd5b83359250602084013567ffffffffffffffff80821115612a4a57600080fd5b818601915086601f830112612a5e57600080fd5b813581811115612a6d57600080fd5b8760208260051b8501011115612a8257600080fd5b6020830194508093505050509250925092565b60008060408385031215612aa857600080fd5b823567ffffffffffffffff80821115612ac057600080fd5b612acc86838701612760565b93506020850135915080821115612ae257600080fd5b5061298085828601612760565b60008060408385031215612b0257600080fd5b8235612b0d8161249b565b91506020830135612a0b8161249b565b600080600080600060a08688031215612b3557600080fd5b8535612b408161249b565b94506020860135612b508161249b565b93506040860135925060608601359150608086013567ffffffffffffffff811115612b7a57600080fd5b61289388828901612760565b600181811c90821680612b9a57607f821691505b60208210811415612bd4577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b600084516020612bed8285838a01612554565b855191840191612c008184848a01612554565b8554920191600090600181811c9080831680612c1d57607f831692505b858310811415612c54577f4e487b710000000000000000000000000000000000000000000000000000000085526022600452602485fd5b808015612c685760018114612c9757612cc4565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00851688528388019550612cc4565b60008b81526020902060005b85811015612cbc5781548a820152908401908801612ca3565b505083880195505b50939b9a5050505050505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415612d6557612d65612d04565b5060010190565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615612da457612da4612d04565b500290565b60008219821115612dbc57612dbc612d04565b500190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600082612dff57612dff612dc1565b500690565b600082612e1357612e13612dc1565b500490565b600082821015612e2a57612e2a612d04565b500390565b604081526000612e42604083018561298a565b8281036020840152612e54818561298a565b95945050505050565b600073ffffffffffffffffffffffffffffffffffffffff808816835280871660208401525084604083015283606083015260a06080830152612ea260a0830184612584565b979650505050505050565b600060208284031215612ebf57600080fd5b8151612534816124e9565b600060033d1115612ee35760046000803e5060005160e01c5b90565b600060443d1015612ef45790565b6040517ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc803d016004833e81513d67ffffffffffffffff8160248401118184111715612f4257505050505090565b8285019150815181811115612f5a5750505050505090565b843d8701016020828501011115612f745750505050505090565b612f8360208286010187612680565b509095945050505050565b600073ffffffffffffffffffffffffffffffffffffffff808816835280871660208401525060a06040830152612fc760a083018661298a565b8281036060840152612fd9818661298a565b90508281036080840152612fed8185612584565b9897505050505050505056fea26469706673582212205f4cc061c5c64a35265a994975f941f6099786771be45bbbddf8d6ebe94ac06164736f6c634300080b0033

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

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

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