ETH Price: $3,646.69 (+1.87%)
Gas: 6.33 Gwei

Contract

0x59B03c31CCa3331a0a593a5c0179f39F8D9B0df9
 

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...189101022024-01-01 4:04:59334 days ago1704081899IN
Silk: SILK Token
0 ETH0.000462429.91595515
Set Approval For...188935202023-12-29 20:11:35336 days ago1703880695IN
Silk: SILK Token
0 ETH0.001047822.43413334
Safe Transfer Fr...188883162023-12-29 2:38:23337 days ago1703817503IN
Silk: SILK Token
0 ETH0.0009955718.50124212
Set Approval For...188779192023-12-27 15:34:47338 days ago1703691287IN
Silk: SILK Token
0 ETH0.0024147451.6876101
Set Approval For...188031442023-12-17 3:41:59349 days ago1702784519IN
Silk: SILK Token
0 ETH0.0007963832.21354252
Set Approval For...182334492023-09-28 9:50:35428 days ago1695894635IN
Silk: SILK Token
0 ETH0.00032697.0100531
Set Approval For...182333892023-09-28 9:38:23428 days ago1695893903IN
Silk: SILK Token
0 ETH0.000474910.18367387
Set Approval For...177673582023-07-25 3:13:11494 days ago1690254791IN
Silk: SILK Token
0 ETH0.0005337121.58846523
Set Approval For...170831262023-04-19 20:51:35590 days ago1681937495IN
Silk: SILK Token
0 ETH0.0019303778.0831016
Set Approval For...170088722023-04-09 6:06:23600 days ago1681020383IN
Silk: SILK Token
0 ETH0.0005199320.95995853
Set Approval For...166034922023-02-11 5:40:47657 days ago1676094047IN
Silk: SILK Token
0 ETH0.0007527716.14209138
Set Approval For...165881602023-02-09 2:17:11660 days ago1675909031IN
Silk: SILK Token
0 ETH0.0016421435.21342473
Set Approval For...164981722023-01-27 12:32:47672 days ago1674822767IN
Silk: SILK Token
0 ETH0.0003761715.21602092
Set Approval For...164876802023-01-26 1:22:35674 days ago1674696155IN
Silk: SILK Token
0 ETH0.0004325417.49637372
Set Approval For...164114032023-01-15 9:46:59684 days ago1673776019IN
Silk: SILK Token
0 ETH0.0003707614.99725316
Set Approval For...162271572022-12-20 16:39:23710 days ago1671554363IN
Silk: SILK Token
0 ETH0.0009950921.33847533
Set Approval For...161236172022-12-06 5:19:23724 days ago1670303963IN
Silk: SILK Token
0 ETH0.0003609114.59894367
Set Approval For...160583992022-11-27 2:41:47734 days ago1669516907IN
Silk: SILK Token
0 ETH0.0002497110.10082655
Set Approval For...157658182022-10-17 5:42:59774 days ago1665985379IN
Silk: SILK Token
0 ETH0.0005310511.38779758
Safe Transfer Fr...156889382022-10-06 12:03:35785 days ago1665057815IN
Silk: SILK Token
0 ETH0.0011782221.86480037
Safe Transfer Fr...156888032022-10-06 11:36:35785 days ago1665056195IN
Silk: SILK Token
0 ETH0.000305215.66392341
Set Approval For...156806542022-10-05 8:16:47786 days ago1664957807IN
Silk: SILK Token
0 ETH0.0002472210
Set Approval For...156629142022-10-02 20:40:35789 days ago1664743235IN
Silk: SILK Token
0 ETH0.000277195.94404841
Safe Transfer Fr...156589472022-10-02 7:24:23789 days ago1664695463IN
Silk: SILK Token
0 ETH0.000234854.35824471
Safe Transfer Fr...156406822022-09-29 18:07:23792 days ago1664474843IN
Silk: SILK Token
0 ETH0.0008913316.54084279
View all transactions

Latest 1 internal transaction

Advanced mode:
Parent Transaction Hash Block From To
151438502022-07-14 23:39:08869 days ago1657841948
Silk: SILK Token
553.42 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Silk

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
No with 200 runs

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


/*

*/
error InvalidTokenId();
error NotAuthorized();
error SoldOut();
error HasBatchClaimed();
error ZeroContract();
error InsufficientBalance();
error Underpriced();
error MaxMints();
error SaleNotStarted();
error ArraysDontMatch();
error AlreadyMinted();
error MaxMintsPerTx();
error CantMintZero();
import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Supply.sol";




contract Silk is ERC1155, ERC1155Supply, Ownable {
    using ECDSA for bytes32;
    using Strings for uint;


  /*///////////////////////////////////////
                  VARIABLES
  \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/
  uint constant silkTokenId = 0;
  uint public maxSupply = 2250;
  uint public price = .99 ether;
  uint public maxMintsPerTxPublic = 1;
  string public name;
  string public symbol;
  address private signer = 0x6884efd53b2650679996D3Ea206D116356dA08a9;
  enum SaleStatus{INACTIVE, SILK, OG,RESERVE,PUBLIC}
  SaleStatus public saleStatus = SaleStatus.SILK;
  string baseUri = "ipfs://QmWBb72STMYvSa5j41LVxwPkXL9yyjbo6RZWFMTpWodH7g";

  //Mints carry over on each sale
  mapping(address => uint) public tokenMints;

  /*///////////////////////////////////////
                  CONSTRUCTOR
  \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/
  constructor() ERC1155("") {
    name = "Silk";
    symbol = "SILK";
    _mint(0x4c5b3a1f4999c0a5def76543Fceab81bc53D95f4, silkTokenId, 1,"");

  }


  /*///////////////////////////////////////
                    MINTING
  \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/
  function airdrop(address[] calldata accounts, uint[] calldata amounts) external onlyOwner {
    if(accounts.length != amounts.length) revert ArraysDontMatch();
    for(uint i; i<accounts.length; i++){
        if(totalSupply(silkTokenId) + amounts[i] > maxSupply) revert SoldOut();
        _mint(accounts[i],silkTokenId, amounts[i],"");
    }  
  }
  function verifyForSale(string memory phase,uint max,address account,bytes memory signature) internal view returns(bool) {
    bytes32 hash = keccak256(abi.encodePacked(phase,max,account));
    return signer == hash.toEthSignedMessageHash().recover(signature);
  }
  function silkMint(uint amount,uint max,bytes memory signature) external payable {
    if(amount == 0 ) revert CantMintZero();
    if(totalSupply(silkTokenId) + amount > maxSupply) revert SoldOut();
    if(tokenMints[msg.sender]  + amount > max ) revert MaxMints();
    if(saleStatus != SaleStatus.SILK) revert SaleNotStarted();
    if(!verifyForSale("SILK",max,msg.sender, signature)) revert NotAuthorized();
    if(msg.value < price * amount) revert Underpriced();
    tokenMints[msg.sender] += amount;
    _mint(msg.sender,silkTokenId,amount,"");
  }

  function ogMint(uint amount, uint max,bytes memory signature) external payable {
    if(amount == 0 ) revert CantMintZero();
    if(totalSupply(silkTokenId) + amount > maxSupply) revert SoldOut();
    if(tokenMints[msg.sender] + amount > max) revert MaxMints();
    if(saleStatus != SaleStatus.OG) revert SaleNotStarted();
    if(!verifyForSale("OG",max,msg.sender, signature)) revert NotAuthorized();
    if(msg.value < price * amount) revert Underpriced();
    tokenMints[msg.sender] += amount;
    _mint(msg.sender,silkTokenId,amount,"");
  }

  function reserveMint(uint amount, uint max,bytes memory signature) external payable {
    if(amount == 0 ) revert CantMintZero();
    if(totalSupply(silkTokenId) + amount > maxSupply) revert SoldOut();
    if(tokenMints[msg.sender] + amount > max) revert MaxMints();
    if(saleStatus != SaleStatus.RESERVE) revert SaleNotStarted();
    if(!verifyForSale("RESERVE",max,msg.sender, signature)) revert NotAuthorized();
    if(msg.value < price * amount) revert Underpriced();
    tokenMints[msg.sender] += amount;
    _mint(msg.sender,silkTokenId,amount,"");
  }

  function publicMint(uint amount) external payable {
    if(amount == 0 ) revert CantMintZero();
    if(totalSupply(silkTokenId) + amount > maxSupply) revert SoldOut();
    if(amount > maxMintsPerTxPublic) revert MaxMintsPerTx();
    if(saleStatus != SaleStatus.PUBLIC) revert SaleNotStarted();
    if(msg.value < price * amount) revert Underpriced();
    _mint(msg.sender,silkTokenId,amount,"");
  }



  /*///////////////////////////////////////
                  SETTERS
  \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/

function setBaseURI(string memory newUri) public onlyOwner {
  baseUri = newUri;
}

  function turnSilkSaleOn() external onlyOwner{
    saleStatus = SaleStatus.SILK;
  }
  function turnOgOn() external onlyOwner{
    saleStatus = SaleStatus.OG;
  }
  function turnReserveOn() external onlyOwner{
    saleStatus = SaleStatus.RESERVE;
  }
  function turnPublicOn() external onlyOwner{
    saleStatus = SaleStatus.PUBLIC;
  }
  function turnAllSalesOff() external onlyOwner{
    saleStatus = SaleStatus.INACTIVE;
  }
  function setPrice(uint newPrice) external onlyOwner{
    price = newPrice;
  }
  function setMaxMintsPerTxPublic(uint max) external onlyOwner {
    maxMintsPerTxPublic = max;
  }
  function setMaxSupply(uint max) external onlyOwner {
    maxSupply = max;
  }
  function setSigner(address newSigner) external onlyOwner {
    signer = newSigner;
  }




  /*///////////////////////////////////////
                  METDATA
  \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/
  function uri(uint _id) public override view returns (string memory) {
    if(_id != silkTokenId) revert InvalidTokenId();
    return baseUri; 
  }

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

  function _beforeTokenTransfer(address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data)
  internal
  override(ERC1155, ERC1155Supply)
{
  super._beforeTokenTransfer(operator, from, to, ids, amounts, data);
}


}

File 2 of 13 : ERC1155.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (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: address zero is not a valid owner");
        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 token 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: caller is not token 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();
        uint256[] memory ids = _asSingletonArray(id);
        uint256[] memory amounts = _asSingletonArray(amount);

        _beforeTokenTransfer(operator, from, to, ids, amounts, 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);

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

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

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

        _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();
        uint256[] memory ids = _asSingletonArray(id);
        uint256[] memory amounts = _asSingletonArray(amount);

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

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

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

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

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_mint}.
     *
     * 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 _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);

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

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

    /**
     * @dev Destroys `amount` tokens of token type `id` from `from`
     *
     * Emits a {TransferSingle} event.
     *
     * 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();
        uint256[] memory ids = _asSingletonArray(id);
        uint256[] memory amounts = _asSingletonArray(amount);

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

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

        _afterTokenTransfer(operator, from, address(0), ids, amounts, "");
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_burn}.
     *
     * Emits a {TransferBatch} event.
     *
     * 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);

        _afterTokenTransfer(operator, from, address(0), ids, amounts, "");
    }

    /**
     * @dev Approve `operator` to operate on all of `owner` tokens
     *
     * Emits an {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 `ids` and `amounts` 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 {}

    /**
     * @dev Hook that is called after 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 _afterTokenTransfer(
        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 (last updated v4.7.0) (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 Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        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 : ECDSA.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/cryptography/ECDSA.sol)

pragma solidity ^0.8.0;

import "../Strings.sol";

/**
 * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
 *
 * These functions can be used to verify that a message was signed by the holder
 * of the private keys of a given address.
 */
library ECDSA {
    enum RecoverError {
        NoError,
        InvalidSignature,
        InvalidSignatureLength,
        InvalidSignatureS,
        InvalidSignatureV
    }

    function _throwError(RecoverError error) private pure {
        if (error == RecoverError.NoError) {
            return; // no error: do nothing
        } else if (error == RecoverError.InvalidSignature) {
            revert("ECDSA: invalid signature");
        } else if (error == RecoverError.InvalidSignatureLength) {
            revert("ECDSA: invalid signature length");
        } else if (error == RecoverError.InvalidSignatureS) {
            revert("ECDSA: invalid signature 's' value");
        } else if (error == RecoverError.InvalidSignatureV) {
            revert("ECDSA: invalid signature 'v' value");
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature` or error string. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     *
     * Documentation for signature generation:
     * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]
     * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]
     *
     * _Available since v4.3._
     */
    function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) {
        // Check the signature length
        // - case 65: r,s,v signature (standard)
        // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._
        if (signature.length == 65) {
            bytes32 r;
            bytes32 s;
            uint8 v;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            /// @solidity memory-safe-assembly
            assembly {
                r := mload(add(signature, 0x20))
                s := mload(add(signature, 0x40))
                v := byte(0, mload(add(signature, 0x60)))
            }
            return tryRecover(hash, v, r, s);
        } else if (signature.length == 64) {
            bytes32 r;
            bytes32 vs;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            /// @solidity memory-safe-assembly
            assembly {
                r := mload(add(signature, 0x20))
                vs := mload(add(signature, 0x40))
            }
            return tryRecover(hash, r, vs);
        } else {
            return (address(0), RecoverError.InvalidSignatureLength);
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature`. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     */
    function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, signature);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.
     *
     * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures]
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address, RecoverError) {
        bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff);
        uint8 v = uint8((uint256(vs) >> 255) + 27);
        return tryRecover(hash, v, r, s);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately.
     *
     * _Available since v4.2._
     */
    function recover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, r, vs);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `v`,
     * `r` and `s` signature fields separately.
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address, RecoverError) {
        // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature
        // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines
        // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most
        // signatures from current libraries generate a unique signature with an s-value in the lower half order.
        //
        // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value
        // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or
        // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept
        // these malleable signatures as well.
        if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {
            return (address(0), RecoverError.InvalidSignatureS);
        }
        if (v != 27 && v != 28) {
            return (address(0), RecoverError.InvalidSignatureV);
        }

        // If the signature is valid (and not malleable), return the signer address
        address signer = ecrecover(hash, v, r, s);
        if (signer == address(0)) {
            return (address(0), RecoverError.InvalidSignature);
        }

        return (signer, RecoverError.NoError);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `v`,
     * `r` and `s` signature fields separately.
     */
    function recover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, v, r, s);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from a `hash`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {
        // 32 is the length in bytes of hash,
        // enforced by the type signature above
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash));
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from `s`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s));
    }

    /**
     * @dev Returns an Ethereum Signed Typed Data, created from a
     * `domainSeparator` and a `structHash`. This produces hash corresponding
     * to the one signed with the
     * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]
     * JSON-RPC method as part of EIP-712.
     *
     * See {recover}.
     */
    function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
    }
}

File 5 of 13 : ERC1155Supply.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC1155/extensions/ERC1155Supply.sol)

pragma solidity ^0.8.0;

import "../ERC1155.sol";

/**
 * @dev Extension of ERC1155 that adds tracking of total supply per id.
 *
 * Useful for scenarios where Fungible and Non-fungible tokens have to be
 * clearly identified. Note: While a totalSupply of 1 might mean the
 * corresponding is an NFT, there is no guarantees that no other token with the
 * same id are not going to be minted.
 */
abstract contract ERC1155Supply is ERC1155 {
    mapping(uint256 => uint256) private _totalSupply;

    /**
     * @dev Total amount of tokens in with a given id.
     */
    function totalSupply(uint256 id) public view virtual returns (uint256) {
        return _totalSupply[id];
    }

    /**
     * @dev Indicates whether any token exist with a given id, or not.
     */
    function exists(uint256 id) public view virtual returns (bool) {
        return ERC1155Supply.totalSupply(id) > 0;
    }

    /**
     * @dev See {ERC1155-_beforeTokenTransfer}.
     */
    function _beforeTokenTransfer(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual override {
        super._beforeTokenTransfer(operator, from, to, ids, amounts, data);

        if (from == address(0)) {
            for (uint256 i = 0; i < ids.length; ++i) {
                _totalSupply[ids[i]] += amounts[i];
            }
        }

        if (to == address(0)) {
            for (uint256 i = 0; i < ids.length; ++i) {
                uint256 id = ids[i];
                uint256 amount = amounts[i];
                uint256 supply = _totalSupply[id];
                require(supply >= amount, "ERC1155: burn amount exceeds totalSupply");
                unchecked {
                    _totalSupply[id] = supply - amount;
                }
            }
        }
    }
}

File 6 of 13 : IERC1155.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (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 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 7 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 8 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 9 of 13 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.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
                /// @solidity memory-safe-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 10 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 11 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 12 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);
}

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

pragma solidity ^0.8.0;

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

    /**
     * @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);
    }

    /**
     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.
     */
    function toHexString(address addr) internal pure returns (string memory) {
        return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ArraysDontMatch","type":"error"},{"inputs":[],"name":"CantMintZero","type":"error"},{"inputs":[],"name":"InvalidTokenId","type":"error"},{"inputs":[],"name":"MaxMints","type":"error"},{"inputs":[],"name":"MaxMintsPerTx","type":"error"},{"inputs":[],"name":"NotAuthorized","type":"error"},{"inputs":[],"name":"SaleNotStarted","type":"error"},{"inputs":[],"name":"SoldOut","type":"error"},{"inputs":[],"name":"Underpriced","type":"error"},{"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":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":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"airdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"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":"uint256","name":"id","type":"uint256"}],"name":"exists","outputs":[{"internalType":"bool","name":"","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":[],"name":"maxMintsPerTxPublic","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"max","type":"uint256"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"ogMint","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":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"max","type":"uint256"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"reserveMint","outputs":[],"stateMutability":"payable","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":[],"name":"saleStatus","outputs":[{"internalType":"enum Silk.SaleStatus","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newUri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"max","type":"uint256"}],"name":"setMaxMintsPerTxPublic","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"max","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newSigner","type":"address"}],"name":"setSigner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"max","type":"uint256"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"silkMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"tokenMints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"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":[],"name":"turnAllSalesOff","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"turnOgOn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"turnPublicOn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"turnReserveOn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"turnSilkSaleOn","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":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526108ca600555670dbd2fc137a300006006556001600755736884efd53b2650679996d3ea206d116356da08a9600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001600a60146101000a81548160ff0219169083600481111562000099576200009862000a58565b5b02179055506040518060600160405280603581526020016200618d60359139600b9080519060200190620000cf929190620009a8565b50348015620000dd57600080fd5b5060405180602001604052806000815250620000ff81620001fb60201b60201c565b5062000120620001146200021760201b60201c565b6200021f60201b60201c565b6040518060400160405280600481526020017f53696c6b00000000000000000000000000000000000000000000000000000000815250600890805190602001906200016d929190620009a8565b506040518060400160405280600481526020017f53494c4b0000000000000000000000000000000000000000000000000000000081525060099080519060200190620001bb929190620009a8565b50620001f5734c5b3a1f4999c0a5def76543fceab81bc53d95f46000600160405180602001604052806000815250620002e560201b60201c565b62001242565b806002908051906020019062000213929190620009a8565b5050565b600033905090565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141562000358576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200034f9062000b0e565b60405180910390fd5b60006200036a6200021760201b60201c565b905060006200037f85620004cd60201b60201c565b905060006200039485620004cd60201b60201c565b9050620003ad836000898585896200054e60201b60201c565b8460008088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546200040e919062000b69565b925050819055508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6289896040516200048e92919062000bd7565b60405180910390a4620004ad836000898585896200057160201b60201c565b620004c4836000898989896200057960201b60201c565b50505050505050565b60606000600167ffffffffffffffff811115620004ef57620004ee62000c04565b5b6040519080825280602002602001820160405280156200051e5781602001602082028036833780820191505090505b509050828160008151811062000539576200053862000c33565b5b60200260200101818152505080915050919050565b620005698686868686866200078360201b62001cb21760201c565b505050505050565b505050505050565b620005a58473ffffffffffffffffffffffffffffffffffffffff166200097d60201b62001e841760201c565b156200077b578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b8152600401620005ee95949392919062000d4b565b602060405180830381600087803b1580156200060957600080fd5b505af19250505080156200063d57506040513d601f19601f820116820180604052508101906200063a919062000e1b565b60015b620006ef576200064c62000e5a565b806308c379a01415620006b057506200066462000eb5565b80620006715750620006b2565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620006a7919062000fa3565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620006e6906200103d565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161462000779576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200077090620010d5565b60405180910390fd5b505b505050505050565b6200079e868686868686620009a060201b62001ea71760201c565b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614156200085d5760005b83518110156200085b57828181518110620007f757620007f662000c33565b5b60200260200101516003600086848151811062000819576200081862000c33565b5b60200260200101518152602001908152602001600020600082825462000840919062000b69565b92505081905550806200085390620010f7565b9050620007d7565b505b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415620009755760005b835181101562000973576000848281518110620008b857620008b762000c33565b5b602002602001015190506000848381518110620008da57620008d962000c33565b5b602002602001015190506000600360008481526020019081526020016000205490508181101562000942576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200093990620011bb565b60405180910390fd5b8181036003600085815260200190815260200160002081905550505050806200096b90620010f7565b905062000896565b505b505050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b505050505050565b828054620009b6906200120c565b90600052602060002090601f016020900481019282620009da576000855562000a26565b82601f10620009f557805160ff191683800117855562000a26565b8280016001018555821562000a26579182015b8281111562000a2557825182559160200191906001019062000a08565b5b50905062000a35919062000a39565b5090565b5b8082111562000a5457600081600090555060010162000a3a565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b600082825260208201905092915050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b600062000af660218362000a87565b915062000b038262000a98565b604082019050919050565b6000602082019050818103600083015262000b298162000ae7565b9050919050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600062000b768262000b30565b915062000b838362000b30565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111562000bbb5762000bba62000b3a565b5b828201905092915050565b62000bd18162000b30565b82525050565b600060408201905062000bee600083018562000bc6565b62000bfd602083018462000bc6565b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600062000c8f8262000c62565b9050919050565b62000ca18162000c82565b82525050565b600081519050919050565b600082825260208201905092915050565b60005b8381101562000ce357808201518184015260208101905062000cc6565b8381111562000cf3576000848401525b50505050565b6000601f19601f8301169050919050565b600062000d178262000ca7565b62000d23818562000cb2565b935062000d3581856020860162000cc3565b62000d408162000cf9565b840191505092915050565b600060a08201905062000d62600083018862000c96565b62000d71602083018762000c96565b62000d80604083018662000bc6565b62000d8f606083018562000bc6565b818103608083015262000da3818462000d0a565b90509695505050505050565b6000604051905090565b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b62000df58162000dbe565b811462000e0157600080fd5b50565b60008151905062000e158162000dea565b92915050565b60006020828403121562000e345762000e3362000db9565b5b600062000e448482850162000e04565b91505092915050565b60008160e01c9050919050565b600060033d111562000e7c5760046000803e62000e7960005162000e4d565b90505b90565b62000e8a8262000cf9565b810181811067ffffffffffffffff8211171562000eac5762000eab62000c04565b5b80604052505050565b600060443d101562000ec75762000f54565b62000ed162000daf565b60043d036004823e80513d602482011167ffffffffffffffff8211171562000efb57505062000f54565b808201805167ffffffffffffffff81111562000f1b575050505062000f54565b80602083010160043d03850181111562000f3a57505050505062000f54565b62000f4b8260200185018662000e7f565b82955050505050505b90565b600081519050919050565b600062000f6f8262000f57565b62000f7b818562000a87565b935062000f8d81856020860162000cc3565b62000f988162000cf9565b840191505092915050565b6000602082019050818103600083015262000fbf818462000f62565b905092915050565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b60006200102560348362000a87565b9150620010328262000fc7565b604082019050919050565b60006020820190508181036000830152620010588162001016565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b6000620010bd60288362000a87565b9150620010ca826200105f565b604082019050919050565b60006020820190508181036000830152620010f081620010ae565b9050919050565b6000620011048262000b30565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156200113a576200113962000b3a565b5b600182019050919050565b7f455243313135353a206275726e20616d6f756e74206578636565647320746f7460008201527f616c537570706c79000000000000000000000000000000000000000000000000602082015250565b6000620011a360288362000a87565b9150620011b08262001145565b604082019050919050565b60006020820190508181036000830152620011d68162001194565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200122557607f821691505b602082108114156200123c576200123b620011dd565b5b50919050565b614f3b80620012526000396000f3fe60806040526004361061020e5760003560e01c8063715018a611610118578063b4727f53116100a0578063e985e9c51161006f578063e985e9c514610702578063f0cb996d1461073f578063f242432a14610756578063f2fde38b1461077f578063f9020e33146107a85761020e565b8063b4727f5314610646578063bd85b0391461065d578063d5abeb011461069a578063e03feb69146106c55761020e565b806395d89b41116100e757806395d89b4114610594578063a035b1fe146105bf578063a22cb465146105ea578063a89eb23814610613578063b3932ef51461062f5761020e565b8063715018a6146104fe57806375f519fb146105155780638da5cb5b1461054057806391b7f5ed1461056b5761020e565b806338fe297b1161019b5780634f558e791161016a5780634f558e791461041d57806355f804b31461045a57806367243482146104835780636c19e783146104ac5780636f8b44b0146104d55761020e565b806338fe297b146103895780633ccfd60b146103a0578063421f21ef146103b75780634e1273f4146103e05761020e565b80630e89341c116101e25780630e89341c146102cf5780632db115441461030c5780632eb2c2d6146103285780632eba117e14610351578063346a5b9c1461036d5761020e565b8062fdd58e1461021357806301ffc9a71461025057806306fdde031461028d5780630d527b1d146102b8575b600080fd5b34801561021f57600080fd5b5061023a600480360381019061023591906133b3565b6107d3565b6040516102479190613402565b60405180910390f35b34801561025c57600080fd5b5061027760048036038101906102729190613475565b61089c565b60405161028491906134bd565b60405180910390f35b34801561029957600080fd5b506102a261097e565b6040516102af9190613571565b60405180910390f35b3480156102c457600080fd5b506102cd610a0c565b005b3480156102db57600080fd5b506102f660048036038101906102f19190613593565b610a41565b6040516103039190613571565b60405180910390f35b61032660048036038101906103219190613593565b610b0f565b005b34801561033457600080fd5b5061034f600480360381019061034a91906137bd565b610ca8565b005b61036b6004803603810190610366919061388c565b610d49565b005b6103876004803603810190610382919061388c565b610ffa565b005b34801561039557600080fd5b5061039e6112ab565b005b3480156103ac57600080fd5b506103b56112e0565b005b3480156103c357600080fd5b506103de60048036038101906103d99190613593565b611368565b005b3480156103ec57600080fd5b50610407600480360381019061040291906139be565b61137a565b6040516104149190613af4565b60405180910390f35b34801561042957600080fd5b50610444600480360381019061043f9190613593565b611493565b60405161045191906134bd565b60405180910390f35b34801561046657600080fd5b50610481600480360381019061047c9190613bb7565b6114a7565b005b34801561048f57600080fd5b506104aa60048036038101906104a59190613cb1565b6114c9565b005b3480156104b857600080fd5b506104d360048036038101906104ce9190613d32565b6115fd565b005b3480156104e157600080fd5b506104fc60048036038101906104f79190613593565b611649565b005b34801561050a57600080fd5b5061051361165b565b005b34801561052157600080fd5b5061052a61166f565b6040516105379190613402565b60405180910390f35b34801561054c57600080fd5b50610555611675565b6040516105629190613d6e565b60405180910390f35b34801561057757600080fd5b50610592600480360381019061058d9190613593565b61169f565b005b3480156105a057600080fd5b506105a96116b1565b6040516105b69190613571565b60405180910390f35b3480156105cb57600080fd5b506105d461173f565b6040516105e19190613402565b60405180910390f35b3480156105f657600080fd5b50610611600480360381019061060c9190613db5565b611745565b005b61062d6004803603810190610628919061388c565b61175b565b005b34801561063b57600080fd5b50610644611a0c565b005b34801561065257600080fd5b5061065b611a41565b005b34801561066957600080fd5b50610684600480360381019061067f9190613593565b611a76565b6040516106919190613402565b60405180910390f35b3480156106a657600080fd5b506106af611a93565b6040516106bc9190613402565b60405180910390f35b3480156106d157600080fd5b506106ec60048036038101906106e79190613d32565b611a99565b6040516106f99190613402565b60405180910390f35b34801561070e57600080fd5b5061072960048036038101906107249190613df5565b611ab1565b60405161073691906134bd565b60405180910390f35b34801561074b57600080fd5b50610754611b45565b005b34801561076257600080fd5b5061077d60048036038101906107789190613e35565b611b7a565b005b34801561078b57600080fd5b506107a660048036038101906107a19190613d32565b611c1b565b005b3480156107b457600080fd5b506107bd611c9f565b6040516107ca9190613f43565b60405180910390f35b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610844576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161083b90613fd0565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061096757507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610977575061097682611eaf565b5b9050919050565b6008805461098b9061401f565b80601f01602080910402602001604051908101604052809291908181526020018280546109b79061401f565b8015610a045780601f106109d957610100808354040283529160200191610a04565b820191906000526020600020905b8154815290600101906020018083116109e757829003601f168201915b505050505081565b610a14611f19565b6003600a60146101000a81548160ff02191690836004811115610a3a57610a39613ecc565b5b0217905550565b606060008214610a7d576040517f3f6cc76800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600b8054610a8a9061401f565b80601f0160208091040260200160405190810160405280929190818152602001828054610ab69061401f565b8015610b035780601f10610ad857610100808354040283529160200191610b03565b820191906000526020600020905b815481529060010190602001808311610ae657829003601f168201915b50505050509050919050565b6000811415610b4a576040517f1880b78200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60055481610b586000611a76565b610b629190614080565b1115610b9a576040517f52df9fe500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600754811115610bd6576040517fd9f206c100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600480811115610be957610be8613ecc565b5b600a60149054906101000a900460ff166004811115610c0b57610c0a613ecc565b5b14610c42576040517f2d0a346e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600654610c5091906140d6565b341015610c89576040517fd0afc53400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610ca53360008360405180602001604052806000815250611f97565b50565b610cb0612148565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610cf65750610cf585610cf0612148565b611ab1565b5b610d35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2c906141a2565b60405180910390fd5b610d428585858585612150565b5050505050565b6000831415610d84576040517f1880b78200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60055483610d926000611a76565b610d9c9190614080565b1115610dd4576040517f52df9fe500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8183600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610e209190614080565b1115610e58576040517fc3b708de00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60036004811115610e6c57610e6b613ecc565b5b600a60149054906101000a900460ff166004811115610e8e57610e8d613ecc565b5b14610ec5576040517f2d0a346e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610f066040518060400160405280600781526020017f5245534552564500000000000000000000000000000000000000000000000000815250833384612472565b610f3c576040517fea8e4eb500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b82600654610f4a91906140d6565b341015610f83576040517fd0afc53400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b82600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610fd29190614080565b92505081905550610ff53360008560405180602001604052806000815250611f97565b505050565b6000831415611035576040517f1880b78200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600554836110436000611a76565b61104d9190614080565b1115611085576040517f52df9fe500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8183600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546110d19190614080565b1115611109576040517fc3b708de00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600481111561111d5761111c613ecc565b5b600a60149054906101000a900460ff16600481111561113f5761113e613ecc565b5b14611176576040517f2d0a346e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6111b76040518060400160405280600481526020017f53494c4b00000000000000000000000000000000000000000000000000000000815250833384612472565b6111ed576040517fea8e4eb500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b826006546111fb91906140d6565b341015611234576040517fd0afc53400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b82600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546112839190614080565b925050819055506112a63360008560405180602001604052806000815250611f97565b505050565b6112b3611f19565b6001600a60146101000a81548160ff021916908360048111156112d9576112d8613ecc565b5b0217905550565b6112e8611f19565b60006112f2611675565b73ffffffffffffffffffffffffffffffffffffffff1647604051611315906141f3565b60006040518083038185875af1925050503d8060008114611352576040519150601f19603f3d011682016040523d82523d6000602084013e611357565b606091505b505090508061136557600080fd5b50565b611370611f19565b8060078190555050565b606081518351146113c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113b79061427a565b60405180910390fd5b6000835167ffffffffffffffff8111156113dd576113dc6135c5565b5b60405190808252806020026020018201604052801561140b5781602001602082028036833780820191505090505b50905060005b8451811015611488576114588582815181106114305761142f61429a565b5b602002602001015185838151811061144b5761144a61429a565b5b60200260200101516107d3565b82828151811061146b5761146a61429a565b5b60200260200101818152505080611481906142c9565b9050611411565b508091505092915050565b60008061149f83611a76565b119050919050565b6114af611f19565b80600b90805190602001906114c5929190613268565b5050565b6114d1611f19565b818190508484905014611510576040517fe6bbb3c100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b848490508110156115f6576005548383838181106115345761153361429a565b5b905060200201356115456000611a76565b61154f9190614080565b1115611587576040517f52df9fe500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6115e385858381811061159d5761159c61429a565b5b90506020020160208101906115b29190613d32565b60008585858181106115c7576115c661429a565b5b9050602002013560405180602001604052806000815250611f97565b80806115ee906142c9565b915050611513565b5050505050565b611605611f19565b80600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b611651611f19565b8060058190555050565b611663611f19565b61166d6000612518565b565b60075481565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6116a7611f19565b8060068190555050565b600980546116be9061401f565b80601f01602080910402602001604051908101604052809291908181526020018280546116ea9061401f565b80156117375780601f1061170c57610100808354040283529160200191611737565b820191906000526020600020905b81548152906001019060200180831161171a57829003601f168201915b505050505081565b60065481565b611757611750612148565b83836125de565b5050565b6000831415611796576040517f1880b78200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600554836117a46000611a76565b6117ae9190614080565b11156117e6576040517f52df9fe500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8183600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546118329190614080565b111561186a576040517fc3b708de00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6002600481111561187e5761187d613ecc565b5b600a60149054906101000a900460ff1660048111156118a05761189f613ecc565b5b146118d7576040517f2d0a346e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6119186040518060400160405280600281526020017f4f47000000000000000000000000000000000000000000000000000000000000815250833384612472565b61194e576040517fea8e4eb500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8260065461195c91906140d6565b341015611995576040517fd0afc53400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b82600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546119e49190614080565b92505081905550611a073360008560405180602001604052806000815250611f97565b505050565b611a14611f19565b6000600a60146101000a81548160ff02191690836004811115611a3a57611a39613ecc565b5b0217905550565b611a49611f19565b6002600a60146101000a81548160ff02191690836004811115611a6f57611a6e613ecc565b5b0217905550565b600060036000838152602001908152602001600020549050919050565b60055481565b600c6020528060005260406000206000915090505481565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611b4d611f19565b6004600a60146101000a81548160ff02191690836004811115611b7357611b72613ecc565b5b0217905550565b611b82612148565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480611bc85750611bc785611bc2612148565b611ab1565b5b611c07576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bfe906141a2565b60405180910390fd5b611c14858585858561274b565b5050505050565b611c23611f19565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611c93576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c8a90614384565b60405180910390fd5b611c9c81612518565b50565b600a60149054906101000a900460ff1681565b611cc0868686868686611ea7565b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415611d725760005b8351811015611d7057828181518110611d1457611d1361429a565b5b602002602001015160036000868481518110611d3357611d3261429a565b5b602002602001015181526020019081526020016000206000828254611d589190614080565b9250508190555080611d69906142c9565b9050611cf8565b505b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611e7c5760005b8351811015611e7a576000848281518110611dc857611dc761429a565b5b602002602001015190506000848381518110611de757611de661429a565b5b6020026020010151905060006003600084815260200190815260200160002054905081811015611e4c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e4390614416565b60405180910390fd5b818103600360008581526020019081526020016000208190555050505080611e73906142c9565b9050611daa565b505b505050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b505050505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b611f21612148565b73ffffffffffffffffffffffffffffffffffffffff16611f3f611675565b73ffffffffffffffffffffffffffffffffffffffff1614611f95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f8c90614482565b60405180910390fd5b565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612007576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ffe90614514565b60405180910390fd5b6000612011612148565b9050600061201e856129e7565b9050600061202b856129e7565b905061203c83600089858589612a61565b8460008088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461209b9190614080565b925050819055508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628989604051612119929190614534565b60405180910390a461213083600089858589612a77565b61213f83600089898989612a7f565b50505050505050565b600033905090565b8151835114612194576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161218b906145cf565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612204576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121fb90614661565b60405180910390fd5b600061220e612148565b905061221e818787878787612a61565b60005b84518110156123cf57600085828151811061223f5761223e61429a565b5b60200260200101519050600085838151811061225e5761225d61429a565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156122ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122f6906146f3565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546123b49190614080565b92505081905550505050806123c8906142c9565b9050612221565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051612446929190614713565b60405180910390a461245c818787878787612a77565b61246a818787878787612c66565b505050505050565b60008085858560405160200161248a939291906147ef565b6040516020818303038152906040528051906020012090506124bd836124af83612e4d565b612e7d90919063ffffffff16565b73ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614915050949350505050565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561264d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126449061489a565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161273e91906134bd565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156127bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127b290614661565b60405180910390fd5b60006127c5612148565b905060006127d2856129e7565b905060006127df856129e7565b90506127ef838989858589612a61565b600080600088815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905085811015612886576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161287d906146f3565b60405180910390fd5b85810360008089815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508560008089815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461293b9190614080565b925050819055508773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628a8a6040516129b8929190614534565b60405180910390a46129ce848a8a86868a612a77565b6129dc848a8a8a8a8a612a7f565b505050505050505050565b60606000600167ffffffffffffffff811115612a0657612a056135c5565b5b604051908082528060200260200182016040528015612a345781602001602082028036833780820191505090505b5090508281600081518110612a4c57612a4b61429a565b5b60200260200101818152505080915050919050565b612a6f868686868686611cb2565b505050505050565b505050505050565b612a9e8473ffffffffffffffffffffffffffffffffffffffff16611e84565b15612c5e578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b8152600401612ae495949392919061490f565b602060405180830381600087803b158015612afe57600080fd5b505af1925050508015612b2f57506040513d601f19601f82011682018060405250810190612b2c919061497e565b60015b612bd557612b3b6149b8565b806308c379a01415612b985750612b506149da565b80612b5b5750612b9a565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b8f9190613571565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bcc90614ae2565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612c5c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c5390614b74565b60405180910390fd5b505b505050505050565b612c858473ffffffffffffffffffffffffffffffffffffffff16611e84565b15612e45578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b8152600401612ccb959493929190614b94565b602060405180830381600087803b158015612ce557600080fd5b505af1925050508015612d1657506040513d601f19601f82011682018060405250810190612d13919061497e565b60015b612dbc57612d226149b8565b806308c379a01415612d7f5750612d376149da565b80612d425750612d81565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d769190613571565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612db390614ae2565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612e43576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e3a90614b74565b60405180910390fd5b505b505050505050565b600081604051602001612e609190614c73565b604051602081830303815290604052805190602001209050919050565b6000806000612e8c8585612ea4565b91509150612e9981612f27565b819250505092915050565b600080604183511415612ee65760008060006020860151925060408601519150606086015160001a9050612eda878285856130fc565b94509450505050612f20565b604083511415612f17576000806020850151915060408501519050612f0c868383613209565b935093505050612f20565b60006002915091505b9250929050565b60006004811115612f3b57612f3a613ecc565b5b816004811115612f4e57612f4d613ecc565b5b1415612f59576130f9565b60016004811115612f6d57612f6c613ecc565b5b816004811115612f8057612f7f613ecc565b5b1415612fc1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fb890614ce5565b60405180910390fd5b60026004811115612fd557612fd4613ecc565b5b816004811115612fe857612fe7613ecc565b5b1415613029576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161302090614d51565b60405180910390fd5b6003600481111561303d5761303c613ecc565b5b8160048111156130505761304f613ecc565b5b1415613091576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161308890614de3565b60405180910390fd5b6004808111156130a4576130a3613ecc565b5b8160048111156130b7576130b6613ecc565b5b14156130f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130ef90614e75565b60405180910390fd5b5b50565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c1115613137576000600391509150613200565b601b8560ff161415801561314f5750601c8560ff1614155b15613161576000600491509150613200565b6000600187878787604051600081526020016040526040516131869493929190614ec0565b6020604051602081039080840390855afa1580156131a8573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156131f757600060019250925050613200565b80600092509250505b94509492505050565b60008060007f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60001b841690506000601b60ff8660001c901c61324c9190614080565b905061325a878288856130fc565b935093505050935093915050565b8280546132749061401f565b90600052602060002090601f01602090048101928261329657600085556132dd565b82601f106132af57805160ff19168380011785556132dd565b828001600101855582156132dd579182015b828111156132dc5782518255916020019190600101906132c1565b5b5090506132ea91906132ee565b5090565b5b808211156133075760008160009055506001016132ef565b5090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061334a8261331f565b9050919050565b61335a8161333f565b811461336557600080fd5b50565b60008135905061337781613351565b92915050565b6000819050919050565b6133908161337d565b811461339b57600080fd5b50565b6000813590506133ad81613387565b92915050565b600080604083850312156133ca576133c9613315565b5b60006133d885828601613368565b92505060206133e98582860161339e565b9150509250929050565b6133fc8161337d565b82525050565b600060208201905061341760008301846133f3565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6134528161341d565b811461345d57600080fd5b50565b60008135905061346f81613449565b92915050565b60006020828403121561348b5761348a613315565b5b600061349984828501613460565b91505092915050565b60008115159050919050565b6134b7816134a2565b82525050565b60006020820190506134d260008301846134ae565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156135125780820151818401526020810190506134f7565b83811115613521576000848401525b50505050565b6000601f19601f8301169050919050565b6000613543826134d8565b61354d81856134e3565b935061355d8185602086016134f4565b61356681613527565b840191505092915050565b6000602082019050818103600083015261358b8184613538565b905092915050565b6000602082840312156135a9576135a8613315565b5b60006135b78482850161339e565b91505092915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6135fd82613527565b810181811067ffffffffffffffff8211171561361c5761361b6135c5565b5b80604052505050565b600061362f61330b565b905061363b82826135f4565b919050565b600067ffffffffffffffff82111561365b5761365a6135c5565b5b602082029050602081019050919050565b600080fd5b600061368461367f84613640565b613625565b905080838252602082019050602084028301858111156136a7576136a661366c565b5b835b818110156136d057806136bc888261339e565b8452602084019350506020810190506136a9565b5050509392505050565b600082601f8301126136ef576136ee6135c0565b5b81356136ff848260208601613671565b91505092915050565b600080fd5b600067ffffffffffffffff821115613728576137276135c5565b5b61373182613527565b9050602081019050919050565b82818337600083830152505050565b600061376061375b8461370d565b613625565b90508281526020810184848401111561377c5761377b613708565b5b61378784828561373e565b509392505050565b600082601f8301126137a4576137a36135c0565b5b81356137b484826020860161374d565b91505092915050565b600080600080600060a086880312156137d9576137d8613315565b5b60006137e788828901613368565b95505060206137f888828901613368565b945050604086013567ffffffffffffffff8111156138195761381861331a565b5b613825888289016136da565b935050606086013567ffffffffffffffff8111156138465761384561331a565b5b613852888289016136da565b925050608086013567ffffffffffffffff8111156138735761387261331a565b5b61387f8882890161378f565b9150509295509295909350565b6000806000606084860312156138a5576138a4613315565b5b60006138b38682870161339e565b93505060206138c48682870161339e565b925050604084013567ffffffffffffffff8111156138e5576138e461331a565b5b6138f18682870161378f565b9150509250925092565b600067ffffffffffffffff821115613916576139156135c5565b5b602082029050602081019050919050565b600061393a613935846138fb565b613625565b9050808382526020820190506020840283018581111561395d5761395c61366c565b5b835b8181101561398657806139728882613368565b84526020840193505060208101905061395f565b5050509392505050565b600082601f8301126139a5576139a46135c0565b5b81356139b5848260208601613927565b91505092915050565b600080604083850312156139d5576139d4613315565b5b600083013567ffffffffffffffff8111156139f3576139f261331a565b5b6139ff85828601613990565b925050602083013567ffffffffffffffff811115613a2057613a1f61331a565b5b613a2c858286016136da565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613a6b8161337d565b82525050565b6000613a7d8383613a62565b60208301905092915050565b6000602082019050919050565b6000613aa182613a36565b613aab8185613a41565b9350613ab683613a52565b8060005b83811015613ae7578151613ace8882613a71565b9750613ad983613a89565b925050600181019050613aba565b5085935050505092915050565b60006020820190508181036000830152613b0e8184613a96565b905092915050565b600067ffffffffffffffff821115613b3157613b306135c5565b5b613b3a82613527565b9050602081019050919050565b6000613b5a613b5584613b16565b613625565b905082815260208101848484011115613b7657613b75613708565b5b613b8184828561373e565b509392505050565b600082601f830112613b9e57613b9d6135c0565b5b8135613bae848260208601613b47565b91505092915050565b600060208284031215613bcd57613bcc613315565b5b600082013567ffffffffffffffff811115613beb57613bea61331a565b5b613bf784828501613b89565b91505092915050565b600080fd5b60008083601f840112613c1b57613c1a6135c0565b5b8235905067ffffffffffffffff811115613c3857613c37613c00565b5b602083019150836020820283011115613c5457613c5361366c565b5b9250929050565b60008083601f840112613c7157613c706135c0565b5b8235905067ffffffffffffffff811115613c8e57613c8d613c00565b5b602083019150836020820283011115613caa57613ca961366c565b5b9250929050565b60008060008060408587031215613ccb57613cca613315565b5b600085013567ffffffffffffffff811115613ce957613ce861331a565b5b613cf587828801613c05565b9450945050602085013567ffffffffffffffff811115613d1857613d1761331a565b5b613d2487828801613c5b565b925092505092959194509250565b600060208284031215613d4857613d47613315565b5b6000613d5684828501613368565b91505092915050565b613d688161333f565b82525050565b6000602082019050613d836000830184613d5f565b92915050565b613d92816134a2565b8114613d9d57600080fd5b50565b600081359050613daf81613d89565b92915050565b60008060408385031215613dcc57613dcb613315565b5b6000613dda85828601613368565b9250506020613deb85828601613da0565b9150509250929050565b60008060408385031215613e0c57613e0b613315565b5b6000613e1a85828601613368565b9250506020613e2b85828601613368565b9150509250929050565b600080600080600060a08688031215613e5157613e50613315565b5b6000613e5f88828901613368565b9550506020613e7088828901613368565b9450506040613e818882890161339e565b9350506060613e928882890161339e565b925050608086013567ffffffffffffffff811115613eb357613eb261331a565b5b613ebf8882890161378f565b9150509295509295909350565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b60058110613f0c57613f0b613ecc565b5b50565b6000819050613f1d82613efb565b919050565b6000613f2d82613f0f565b9050919050565b613f3d81613f22565b82525050565b6000602082019050613f586000830184613f34565b92915050565b7f455243313135353a2061646472657373207a65726f206973206e6f742061207660008201527f616c6964206f776e657200000000000000000000000000000000000000000000602082015250565b6000613fba602a836134e3565b9150613fc582613f5e565b604082019050919050565b60006020820190508181036000830152613fe981613fad565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061403757607f821691505b6020821081141561404b5761404a613ff0565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061408b8261337d565b91506140968361337d565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156140cb576140ca614051565b5b828201905092915050565b60006140e18261337d565b91506140ec8361337d565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561412557614124614051565b5b828202905092915050565b7f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60008201527f6572206e6f7220617070726f7665640000000000000000000000000000000000602082015250565b600061418c602f836134e3565b915061419782614130565b604082019050919050565b600060208201905081810360008301526141bb8161417f565b9050919050565b600081905092915050565b50565b60006141dd6000836141c2565b91506141e8826141cd565b600082019050919050565b60006141fe826141d0565b9150819050919050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b60006142646029836134e3565b915061426f82614208565b604082019050919050565b6000602082019050818103600083015261429381614257565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60006142d48261337d565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561430757614306614051565b5b600182019050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061436e6026836134e3565b915061437982614312565b604082019050919050565b6000602082019050818103600083015261439d81614361565b9050919050565b7f455243313135353a206275726e20616d6f756e74206578636565647320746f7460008201527f616c537570706c79000000000000000000000000000000000000000000000000602082015250565b60006144006028836134e3565b915061440b826143a4565b604082019050919050565b6000602082019050818103600083015261442f816143f3565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061446c6020836134e3565b915061447782614436565b602082019050919050565b6000602082019050818103600083015261449b8161445f565b9050919050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b60006144fe6021836134e3565b9150614509826144a2565b604082019050919050565b6000602082019050818103600083015261452d816144f1565b9050919050565b600060408201905061454960008301856133f3565b61455660208301846133f3565b9392505050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b60006145b96028836134e3565b91506145c48261455d565b604082019050919050565b600060208201905081810360008301526145e8816145ac565b9050919050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b600061464b6025836134e3565b9150614656826145ef565b604082019050919050565b6000602082019050818103600083015261467a8161463e565b9050919050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b60006146dd602a836134e3565b91506146e882614681565b604082019050919050565b6000602082019050818103600083015261470c816146d0565b9050919050565b6000604082019050818103600083015261472d8185613a96565b905081810360208301526147418184613a96565b90509392505050565b600081905092915050565b6000614760826134d8565b61476a818561474a565b935061477a8185602086016134f4565b80840191505092915050565b6000819050919050565b6147a161479c8261337d565b614786565b82525050565b60008160601b9050919050565b60006147bf826147a7565b9050919050565b60006147d1826147b4565b9050919050565b6147e96147e48261333f565b6147c6565b82525050565b60006147fb8286614755565b91506148078285614790565b60208201915061481782846147d8565b601482019150819050949350505050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b60006148846029836134e3565b915061488f82614828565b604082019050919050565b600060208201905081810360008301526148b381614877565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006148e1826148ba565b6148eb81856148c5565b93506148fb8185602086016134f4565b61490481613527565b840191505092915050565b600060a0820190506149246000830188613d5f565b6149316020830187613d5f565b61493e60408301866133f3565b61494b60608301856133f3565b818103608083015261495d81846148d6565b90509695505050505050565b60008151905061497881613449565b92915050565b60006020828403121561499457614993613315565b5b60006149a284828501614969565b91505092915050565b60008160e01c9050919050565b600060033d11156149d75760046000803e6149d46000516149ab565b90505b90565b600060443d10156149ea57614a6d565b6149f261330b565b60043d036004823e80513d602482011167ffffffffffffffff82111715614a1a575050614a6d565b808201805167ffffffffffffffff811115614a385750505050614a6d565b80602083010160043d038501811115614a55575050505050614a6d565b614a64826020018501866135f4565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b6000614acc6034836134e3565b9150614ad782614a70565b604082019050919050565b60006020820190508181036000830152614afb81614abf565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b6000614b5e6028836134e3565b9150614b6982614b02565b604082019050919050565b60006020820190508181036000830152614b8d81614b51565b9050919050565b600060a082019050614ba96000830188613d5f565b614bb66020830187613d5f565b8181036040830152614bc88186613a96565b90508181036060830152614bdc8185613a96565b90508181036080830152614bf081846148d6565b90509695505050505050565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b6000614c32601c8361474a565b9150614c3d82614bfc565b601c82019050919050565b6000819050919050565b6000819050919050565b614c6d614c6882614c48565b614c52565b82525050565b6000614c7e82614c25565b9150614c8a8284614c5c565b60208201915081905092915050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b6000614ccf6018836134e3565b9150614cda82614c99565b602082019050919050565b60006020820190508181036000830152614cfe81614cc2565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b6000614d3b601f836134e3565b9150614d4682614d05565b602082019050919050565b60006020820190508181036000830152614d6a81614d2e565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000614dcd6022836134e3565b9150614dd882614d71565b604082019050919050565b60006020820190508181036000830152614dfc81614dc0565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000614e5f6022836134e3565b9150614e6a82614e03565b604082019050919050565b60006020820190508181036000830152614e8e81614e52565b9050919050565b614e9e81614c48565b82525050565b600060ff82169050919050565b614eba81614ea4565b82525050565b6000608082019050614ed56000830187614e95565b614ee26020830186614eb1565b614eef6040830185614e95565b614efc6060830184614e95565b9594505050505056fea264697066735822122077be5bcd3fe4071c45bb18cd487d43adcc07e520183a697872eb20aab753a63664736f6c63430008090033697066733a2f2f516d574262373253544d59765361356a34314c567877506b584c3979796a626f36525a57464d5470576f64483767

Deployed Bytecode

0x60806040526004361061020e5760003560e01c8063715018a611610118578063b4727f53116100a0578063e985e9c51161006f578063e985e9c514610702578063f0cb996d1461073f578063f242432a14610756578063f2fde38b1461077f578063f9020e33146107a85761020e565b8063b4727f5314610646578063bd85b0391461065d578063d5abeb011461069a578063e03feb69146106c55761020e565b806395d89b41116100e757806395d89b4114610594578063a035b1fe146105bf578063a22cb465146105ea578063a89eb23814610613578063b3932ef51461062f5761020e565b8063715018a6146104fe57806375f519fb146105155780638da5cb5b1461054057806391b7f5ed1461056b5761020e565b806338fe297b1161019b5780634f558e791161016a5780634f558e791461041d57806355f804b31461045a57806367243482146104835780636c19e783146104ac5780636f8b44b0146104d55761020e565b806338fe297b146103895780633ccfd60b146103a0578063421f21ef146103b75780634e1273f4146103e05761020e565b80630e89341c116101e25780630e89341c146102cf5780632db115441461030c5780632eb2c2d6146103285780632eba117e14610351578063346a5b9c1461036d5761020e565b8062fdd58e1461021357806301ffc9a71461025057806306fdde031461028d5780630d527b1d146102b8575b600080fd5b34801561021f57600080fd5b5061023a600480360381019061023591906133b3565b6107d3565b6040516102479190613402565b60405180910390f35b34801561025c57600080fd5b5061027760048036038101906102729190613475565b61089c565b60405161028491906134bd565b60405180910390f35b34801561029957600080fd5b506102a261097e565b6040516102af9190613571565b60405180910390f35b3480156102c457600080fd5b506102cd610a0c565b005b3480156102db57600080fd5b506102f660048036038101906102f19190613593565b610a41565b6040516103039190613571565b60405180910390f35b61032660048036038101906103219190613593565b610b0f565b005b34801561033457600080fd5b5061034f600480360381019061034a91906137bd565b610ca8565b005b61036b6004803603810190610366919061388c565b610d49565b005b6103876004803603810190610382919061388c565b610ffa565b005b34801561039557600080fd5b5061039e6112ab565b005b3480156103ac57600080fd5b506103b56112e0565b005b3480156103c357600080fd5b506103de60048036038101906103d99190613593565b611368565b005b3480156103ec57600080fd5b50610407600480360381019061040291906139be565b61137a565b6040516104149190613af4565b60405180910390f35b34801561042957600080fd5b50610444600480360381019061043f9190613593565b611493565b60405161045191906134bd565b60405180910390f35b34801561046657600080fd5b50610481600480360381019061047c9190613bb7565b6114a7565b005b34801561048f57600080fd5b506104aa60048036038101906104a59190613cb1565b6114c9565b005b3480156104b857600080fd5b506104d360048036038101906104ce9190613d32565b6115fd565b005b3480156104e157600080fd5b506104fc60048036038101906104f79190613593565b611649565b005b34801561050a57600080fd5b5061051361165b565b005b34801561052157600080fd5b5061052a61166f565b6040516105379190613402565b60405180910390f35b34801561054c57600080fd5b50610555611675565b6040516105629190613d6e565b60405180910390f35b34801561057757600080fd5b50610592600480360381019061058d9190613593565b61169f565b005b3480156105a057600080fd5b506105a96116b1565b6040516105b69190613571565b60405180910390f35b3480156105cb57600080fd5b506105d461173f565b6040516105e19190613402565b60405180910390f35b3480156105f657600080fd5b50610611600480360381019061060c9190613db5565b611745565b005b61062d6004803603810190610628919061388c565b61175b565b005b34801561063b57600080fd5b50610644611a0c565b005b34801561065257600080fd5b5061065b611a41565b005b34801561066957600080fd5b50610684600480360381019061067f9190613593565b611a76565b6040516106919190613402565b60405180910390f35b3480156106a657600080fd5b506106af611a93565b6040516106bc9190613402565b60405180910390f35b3480156106d157600080fd5b506106ec60048036038101906106e79190613d32565b611a99565b6040516106f99190613402565b60405180910390f35b34801561070e57600080fd5b5061072960048036038101906107249190613df5565b611ab1565b60405161073691906134bd565b60405180910390f35b34801561074b57600080fd5b50610754611b45565b005b34801561076257600080fd5b5061077d60048036038101906107789190613e35565b611b7a565b005b34801561078b57600080fd5b506107a660048036038101906107a19190613d32565b611c1b565b005b3480156107b457600080fd5b506107bd611c9f565b6040516107ca9190613f43565b60405180910390f35b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610844576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161083b90613fd0565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061096757507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610977575061097682611eaf565b5b9050919050565b6008805461098b9061401f565b80601f01602080910402602001604051908101604052809291908181526020018280546109b79061401f565b8015610a045780601f106109d957610100808354040283529160200191610a04565b820191906000526020600020905b8154815290600101906020018083116109e757829003601f168201915b505050505081565b610a14611f19565b6003600a60146101000a81548160ff02191690836004811115610a3a57610a39613ecc565b5b0217905550565b606060008214610a7d576040517f3f6cc76800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600b8054610a8a9061401f565b80601f0160208091040260200160405190810160405280929190818152602001828054610ab69061401f565b8015610b035780601f10610ad857610100808354040283529160200191610b03565b820191906000526020600020905b815481529060010190602001808311610ae657829003601f168201915b50505050509050919050565b6000811415610b4a576040517f1880b78200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60055481610b586000611a76565b610b629190614080565b1115610b9a576040517f52df9fe500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600754811115610bd6576040517fd9f206c100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600480811115610be957610be8613ecc565b5b600a60149054906101000a900460ff166004811115610c0b57610c0a613ecc565b5b14610c42576040517f2d0a346e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600654610c5091906140d6565b341015610c89576040517fd0afc53400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610ca53360008360405180602001604052806000815250611f97565b50565b610cb0612148565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610cf65750610cf585610cf0612148565b611ab1565b5b610d35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2c906141a2565b60405180910390fd5b610d428585858585612150565b5050505050565b6000831415610d84576040517f1880b78200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60055483610d926000611a76565b610d9c9190614080565b1115610dd4576040517f52df9fe500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8183600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610e209190614080565b1115610e58576040517fc3b708de00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60036004811115610e6c57610e6b613ecc565b5b600a60149054906101000a900460ff166004811115610e8e57610e8d613ecc565b5b14610ec5576040517f2d0a346e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610f066040518060400160405280600781526020017f5245534552564500000000000000000000000000000000000000000000000000815250833384612472565b610f3c576040517fea8e4eb500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b82600654610f4a91906140d6565b341015610f83576040517fd0afc53400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b82600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610fd29190614080565b92505081905550610ff53360008560405180602001604052806000815250611f97565b505050565b6000831415611035576040517f1880b78200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600554836110436000611a76565b61104d9190614080565b1115611085576040517f52df9fe500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8183600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546110d19190614080565b1115611109576040517fc3b708de00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600481111561111d5761111c613ecc565b5b600a60149054906101000a900460ff16600481111561113f5761113e613ecc565b5b14611176576040517f2d0a346e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6111b76040518060400160405280600481526020017f53494c4b00000000000000000000000000000000000000000000000000000000815250833384612472565b6111ed576040517fea8e4eb500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b826006546111fb91906140d6565b341015611234576040517fd0afc53400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b82600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546112839190614080565b925050819055506112a63360008560405180602001604052806000815250611f97565b505050565b6112b3611f19565b6001600a60146101000a81548160ff021916908360048111156112d9576112d8613ecc565b5b0217905550565b6112e8611f19565b60006112f2611675565b73ffffffffffffffffffffffffffffffffffffffff1647604051611315906141f3565b60006040518083038185875af1925050503d8060008114611352576040519150601f19603f3d011682016040523d82523d6000602084013e611357565b606091505b505090508061136557600080fd5b50565b611370611f19565b8060078190555050565b606081518351146113c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113b79061427a565b60405180910390fd5b6000835167ffffffffffffffff8111156113dd576113dc6135c5565b5b60405190808252806020026020018201604052801561140b5781602001602082028036833780820191505090505b50905060005b8451811015611488576114588582815181106114305761142f61429a565b5b602002602001015185838151811061144b5761144a61429a565b5b60200260200101516107d3565b82828151811061146b5761146a61429a565b5b60200260200101818152505080611481906142c9565b9050611411565b508091505092915050565b60008061149f83611a76565b119050919050565b6114af611f19565b80600b90805190602001906114c5929190613268565b5050565b6114d1611f19565b818190508484905014611510576040517fe6bbb3c100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b848490508110156115f6576005548383838181106115345761153361429a565b5b905060200201356115456000611a76565b61154f9190614080565b1115611587576040517f52df9fe500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6115e385858381811061159d5761159c61429a565b5b90506020020160208101906115b29190613d32565b60008585858181106115c7576115c661429a565b5b9050602002013560405180602001604052806000815250611f97565b80806115ee906142c9565b915050611513565b5050505050565b611605611f19565b80600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b611651611f19565b8060058190555050565b611663611f19565b61166d6000612518565b565b60075481565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6116a7611f19565b8060068190555050565b600980546116be9061401f565b80601f01602080910402602001604051908101604052809291908181526020018280546116ea9061401f565b80156117375780601f1061170c57610100808354040283529160200191611737565b820191906000526020600020905b81548152906001019060200180831161171a57829003601f168201915b505050505081565b60065481565b611757611750612148565b83836125de565b5050565b6000831415611796576040517f1880b78200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600554836117a46000611a76565b6117ae9190614080565b11156117e6576040517f52df9fe500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8183600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546118329190614080565b111561186a576040517fc3b708de00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6002600481111561187e5761187d613ecc565b5b600a60149054906101000a900460ff1660048111156118a05761189f613ecc565b5b146118d7576040517f2d0a346e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6119186040518060400160405280600281526020017f4f47000000000000000000000000000000000000000000000000000000000000815250833384612472565b61194e576040517fea8e4eb500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8260065461195c91906140d6565b341015611995576040517fd0afc53400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b82600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546119e49190614080565b92505081905550611a073360008560405180602001604052806000815250611f97565b505050565b611a14611f19565b6000600a60146101000a81548160ff02191690836004811115611a3a57611a39613ecc565b5b0217905550565b611a49611f19565b6002600a60146101000a81548160ff02191690836004811115611a6f57611a6e613ecc565b5b0217905550565b600060036000838152602001908152602001600020549050919050565b60055481565b600c6020528060005260406000206000915090505481565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611b4d611f19565b6004600a60146101000a81548160ff02191690836004811115611b7357611b72613ecc565b5b0217905550565b611b82612148565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480611bc85750611bc785611bc2612148565b611ab1565b5b611c07576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bfe906141a2565b60405180910390fd5b611c14858585858561274b565b5050505050565b611c23611f19565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611c93576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c8a90614384565b60405180910390fd5b611c9c81612518565b50565b600a60149054906101000a900460ff1681565b611cc0868686868686611ea7565b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415611d725760005b8351811015611d7057828181518110611d1457611d1361429a565b5b602002602001015160036000868481518110611d3357611d3261429a565b5b602002602001015181526020019081526020016000206000828254611d589190614080565b9250508190555080611d69906142c9565b9050611cf8565b505b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611e7c5760005b8351811015611e7a576000848281518110611dc857611dc761429a565b5b602002602001015190506000848381518110611de757611de661429a565b5b6020026020010151905060006003600084815260200190815260200160002054905081811015611e4c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e4390614416565b60405180910390fd5b818103600360008581526020019081526020016000208190555050505080611e73906142c9565b9050611daa565b505b505050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b505050505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b611f21612148565b73ffffffffffffffffffffffffffffffffffffffff16611f3f611675565b73ffffffffffffffffffffffffffffffffffffffff1614611f95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f8c90614482565b60405180910390fd5b565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612007576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ffe90614514565b60405180910390fd5b6000612011612148565b9050600061201e856129e7565b9050600061202b856129e7565b905061203c83600089858589612a61565b8460008088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461209b9190614080565b925050819055508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628989604051612119929190614534565b60405180910390a461213083600089858589612a77565b61213f83600089898989612a7f565b50505050505050565b600033905090565b8151835114612194576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161218b906145cf565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612204576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121fb90614661565b60405180910390fd5b600061220e612148565b905061221e818787878787612a61565b60005b84518110156123cf57600085828151811061223f5761223e61429a565b5b60200260200101519050600085838151811061225e5761225d61429a565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156122ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122f6906146f3565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546123b49190614080565b92505081905550505050806123c8906142c9565b9050612221565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051612446929190614713565b60405180910390a461245c818787878787612a77565b61246a818787878787612c66565b505050505050565b60008085858560405160200161248a939291906147ef565b6040516020818303038152906040528051906020012090506124bd836124af83612e4d565b612e7d90919063ffffffff16565b73ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614915050949350505050565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561264d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126449061489a565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161273e91906134bd565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156127bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127b290614661565b60405180910390fd5b60006127c5612148565b905060006127d2856129e7565b905060006127df856129e7565b90506127ef838989858589612a61565b600080600088815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905085811015612886576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161287d906146f3565b60405180910390fd5b85810360008089815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508560008089815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461293b9190614080565b925050819055508773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628a8a6040516129b8929190614534565b60405180910390a46129ce848a8a86868a612a77565b6129dc848a8a8a8a8a612a7f565b505050505050505050565b60606000600167ffffffffffffffff811115612a0657612a056135c5565b5b604051908082528060200260200182016040528015612a345781602001602082028036833780820191505090505b5090508281600081518110612a4c57612a4b61429a565b5b60200260200101818152505080915050919050565b612a6f868686868686611cb2565b505050505050565b505050505050565b612a9e8473ffffffffffffffffffffffffffffffffffffffff16611e84565b15612c5e578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b8152600401612ae495949392919061490f565b602060405180830381600087803b158015612afe57600080fd5b505af1925050508015612b2f57506040513d601f19601f82011682018060405250810190612b2c919061497e565b60015b612bd557612b3b6149b8565b806308c379a01415612b985750612b506149da565b80612b5b5750612b9a565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b8f9190613571565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bcc90614ae2565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612c5c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c5390614b74565b60405180910390fd5b505b505050505050565b612c858473ffffffffffffffffffffffffffffffffffffffff16611e84565b15612e45578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b8152600401612ccb959493929190614b94565b602060405180830381600087803b158015612ce557600080fd5b505af1925050508015612d1657506040513d601f19601f82011682018060405250810190612d13919061497e565b60015b612dbc57612d226149b8565b806308c379a01415612d7f5750612d376149da565b80612d425750612d81565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d769190613571565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612db390614ae2565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612e43576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e3a90614b74565b60405180910390fd5b505b505050505050565b600081604051602001612e609190614c73565b604051602081830303815290604052805190602001209050919050565b6000806000612e8c8585612ea4565b91509150612e9981612f27565b819250505092915050565b600080604183511415612ee65760008060006020860151925060408601519150606086015160001a9050612eda878285856130fc565b94509450505050612f20565b604083511415612f17576000806020850151915060408501519050612f0c868383613209565b935093505050612f20565b60006002915091505b9250929050565b60006004811115612f3b57612f3a613ecc565b5b816004811115612f4e57612f4d613ecc565b5b1415612f59576130f9565b60016004811115612f6d57612f6c613ecc565b5b816004811115612f8057612f7f613ecc565b5b1415612fc1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fb890614ce5565b60405180910390fd5b60026004811115612fd557612fd4613ecc565b5b816004811115612fe857612fe7613ecc565b5b1415613029576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161302090614d51565b60405180910390fd5b6003600481111561303d5761303c613ecc565b5b8160048111156130505761304f613ecc565b5b1415613091576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161308890614de3565b60405180910390fd5b6004808111156130a4576130a3613ecc565b5b8160048111156130b7576130b6613ecc565b5b14156130f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130ef90614e75565b60405180910390fd5b5b50565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c1115613137576000600391509150613200565b601b8560ff161415801561314f5750601c8560ff1614155b15613161576000600491509150613200565b6000600187878787604051600081526020016040526040516131869493929190614ec0565b6020604051602081039080840390855afa1580156131a8573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156131f757600060019250925050613200565b80600092509250505b94509492505050565b60008060007f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60001b841690506000601b60ff8660001c901c61324c9190614080565b905061325a878288856130fc565b935093505050935093915050565b8280546132749061401f565b90600052602060002090601f01602090048101928261329657600085556132dd565b82601f106132af57805160ff19168380011785556132dd565b828001600101855582156132dd579182015b828111156132dc5782518255916020019190600101906132c1565b5b5090506132ea91906132ee565b5090565b5b808211156133075760008160009055506001016132ef565b5090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061334a8261331f565b9050919050565b61335a8161333f565b811461336557600080fd5b50565b60008135905061337781613351565b92915050565b6000819050919050565b6133908161337d565b811461339b57600080fd5b50565b6000813590506133ad81613387565b92915050565b600080604083850312156133ca576133c9613315565b5b60006133d885828601613368565b92505060206133e98582860161339e565b9150509250929050565b6133fc8161337d565b82525050565b600060208201905061341760008301846133f3565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6134528161341d565b811461345d57600080fd5b50565b60008135905061346f81613449565b92915050565b60006020828403121561348b5761348a613315565b5b600061349984828501613460565b91505092915050565b60008115159050919050565b6134b7816134a2565b82525050565b60006020820190506134d260008301846134ae565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156135125780820151818401526020810190506134f7565b83811115613521576000848401525b50505050565b6000601f19601f8301169050919050565b6000613543826134d8565b61354d81856134e3565b935061355d8185602086016134f4565b61356681613527565b840191505092915050565b6000602082019050818103600083015261358b8184613538565b905092915050565b6000602082840312156135a9576135a8613315565b5b60006135b78482850161339e565b91505092915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6135fd82613527565b810181811067ffffffffffffffff8211171561361c5761361b6135c5565b5b80604052505050565b600061362f61330b565b905061363b82826135f4565b919050565b600067ffffffffffffffff82111561365b5761365a6135c5565b5b602082029050602081019050919050565b600080fd5b600061368461367f84613640565b613625565b905080838252602082019050602084028301858111156136a7576136a661366c565b5b835b818110156136d057806136bc888261339e565b8452602084019350506020810190506136a9565b5050509392505050565b600082601f8301126136ef576136ee6135c0565b5b81356136ff848260208601613671565b91505092915050565b600080fd5b600067ffffffffffffffff821115613728576137276135c5565b5b61373182613527565b9050602081019050919050565b82818337600083830152505050565b600061376061375b8461370d565b613625565b90508281526020810184848401111561377c5761377b613708565b5b61378784828561373e565b509392505050565b600082601f8301126137a4576137a36135c0565b5b81356137b484826020860161374d565b91505092915050565b600080600080600060a086880312156137d9576137d8613315565b5b60006137e788828901613368565b95505060206137f888828901613368565b945050604086013567ffffffffffffffff8111156138195761381861331a565b5b613825888289016136da565b935050606086013567ffffffffffffffff8111156138465761384561331a565b5b613852888289016136da565b925050608086013567ffffffffffffffff8111156138735761387261331a565b5b61387f8882890161378f565b9150509295509295909350565b6000806000606084860312156138a5576138a4613315565b5b60006138b38682870161339e565b93505060206138c48682870161339e565b925050604084013567ffffffffffffffff8111156138e5576138e461331a565b5b6138f18682870161378f565b9150509250925092565b600067ffffffffffffffff821115613916576139156135c5565b5b602082029050602081019050919050565b600061393a613935846138fb565b613625565b9050808382526020820190506020840283018581111561395d5761395c61366c565b5b835b8181101561398657806139728882613368565b84526020840193505060208101905061395f565b5050509392505050565b600082601f8301126139a5576139a46135c0565b5b81356139b5848260208601613927565b91505092915050565b600080604083850312156139d5576139d4613315565b5b600083013567ffffffffffffffff8111156139f3576139f261331a565b5b6139ff85828601613990565b925050602083013567ffffffffffffffff811115613a2057613a1f61331a565b5b613a2c858286016136da565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613a6b8161337d565b82525050565b6000613a7d8383613a62565b60208301905092915050565b6000602082019050919050565b6000613aa182613a36565b613aab8185613a41565b9350613ab683613a52565b8060005b83811015613ae7578151613ace8882613a71565b9750613ad983613a89565b925050600181019050613aba565b5085935050505092915050565b60006020820190508181036000830152613b0e8184613a96565b905092915050565b600067ffffffffffffffff821115613b3157613b306135c5565b5b613b3a82613527565b9050602081019050919050565b6000613b5a613b5584613b16565b613625565b905082815260208101848484011115613b7657613b75613708565b5b613b8184828561373e565b509392505050565b600082601f830112613b9e57613b9d6135c0565b5b8135613bae848260208601613b47565b91505092915050565b600060208284031215613bcd57613bcc613315565b5b600082013567ffffffffffffffff811115613beb57613bea61331a565b5b613bf784828501613b89565b91505092915050565b600080fd5b60008083601f840112613c1b57613c1a6135c0565b5b8235905067ffffffffffffffff811115613c3857613c37613c00565b5b602083019150836020820283011115613c5457613c5361366c565b5b9250929050565b60008083601f840112613c7157613c706135c0565b5b8235905067ffffffffffffffff811115613c8e57613c8d613c00565b5b602083019150836020820283011115613caa57613ca961366c565b5b9250929050565b60008060008060408587031215613ccb57613cca613315565b5b600085013567ffffffffffffffff811115613ce957613ce861331a565b5b613cf587828801613c05565b9450945050602085013567ffffffffffffffff811115613d1857613d1761331a565b5b613d2487828801613c5b565b925092505092959194509250565b600060208284031215613d4857613d47613315565b5b6000613d5684828501613368565b91505092915050565b613d688161333f565b82525050565b6000602082019050613d836000830184613d5f565b92915050565b613d92816134a2565b8114613d9d57600080fd5b50565b600081359050613daf81613d89565b92915050565b60008060408385031215613dcc57613dcb613315565b5b6000613dda85828601613368565b9250506020613deb85828601613da0565b9150509250929050565b60008060408385031215613e0c57613e0b613315565b5b6000613e1a85828601613368565b9250506020613e2b85828601613368565b9150509250929050565b600080600080600060a08688031215613e5157613e50613315565b5b6000613e5f88828901613368565b9550506020613e7088828901613368565b9450506040613e818882890161339e565b9350506060613e928882890161339e565b925050608086013567ffffffffffffffff811115613eb357613eb261331a565b5b613ebf8882890161378f565b9150509295509295909350565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b60058110613f0c57613f0b613ecc565b5b50565b6000819050613f1d82613efb565b919050565b6000613f2d82613f0f565b9050919050565b613f3d81613f22565b82525050565b6000602082019050613f586000830184613f34565b92915050565b7f455243313135353a2061646472657373207a65726f206973206e6f742061207660008201527f616c6964206f776e657200000000000000000000000000000000000000000000602082015250565b6000613fba602a836134e3565b9150613fc582613f5e565b604082019050919050565b60006020820190508181036000830152613fe981613fad565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061403757607f821691505b6020821081141561404b5761404a613ff0565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061408b8261337d565b91506140968361337d565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156140cb576140ca614051565b5b828201905092915050565b60006140e18261337d565b91506140ec8361337d565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561412557614124614051565b5b828202905092915050565b7f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60008201527f6572206e6f7220617070726f7665640000000000000000000000000000000000602082015250565b600061418c602f836134e3565b915061419782614130565b604082019050919050565b600060208201905081810360008301526141bb8161417f565b9050919050565b600081905092915050565b50565b60006141dd6000836141c2565b91506141e8826141cd565b600082019050919050565b60006141fe826141d0565b9150819050919050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b60006142646029836134e3565b915061426f82614208565b604082019050919050565b6000602082019050818103600083015261429381614257565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60006142d48261337d565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561430757614306614051565b5b600182019050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061436e6026836134e3565b915061437982614312565b604082019050919050565b6000602082019050818103600083015261439d81614361565b9050919050565b7f455243313135353a206275726e20616d6f756e74206578636565647320746f7460008201527f616c537570706c79000000000000000000000000000000000000000000000000602082015250565b60006144006028836134e3565b915061440b826143a4565b604082019050919050565b6000602082019050818103600083015261442f816143f3565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061446c6020836134e3565b915061447782614436565b602082019050919050565b6000602082019050818103600083015261449b8161445f565b9050919050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b60006144fe6021836134e3565b9150614509826144a2565b604082019050919050565b6000602082019050818103600083015261452d816144f1565b9050919050565b600060408201905061454960008301856133f3565b61455660208301846133f3565b9392505050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b60006145b96028836134e3565b91506145c48261455d565b604082019050919050565b600060208201905081810360008301526145e8816145ac565b9050919050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b600061464b6025836134e3565b9150614656826145ef565b604082019050919050565b6000602082019050818103600083015261467a8161463e565b9050919050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b60006146dd602a836134e3565b91506146e882614681565b604082019050919050565b6000602082019050818103600083015261470c816146d0565b9050919050565b6000604082019050818103600083015261472d8185613a96565b905081810360208301526147418184613a96565b90509392505050565b600081905092915050565b6000614760826134d8565b61476a818561474a565b935061477a8185602086016134f4565b80840191505092915050565b6000819050919050565b6147a161479c8261337d565b614786565b82525050565b60008160601b9050919050565b60006147bf826147a7565b9050919050565b60006147d1826147b4565b9050919050565b6147e96147e48261333f565b6147c6565b82525050565b60006147fb8286614755565b91506148078285614790565b60208201915061481782846147d8565b601482019150819050949350505050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b60006148846029836134e3565b915061488f82614828565b604082019050919050565b600060208201905081810360008301526148b381614877565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006148e1826148ba565b6148eb81856148c5565b93506148fb8185602086016134f4565b61490481613527565b840191505092915050565b600060a0820190506149246000830188613d5f565b6149316020830187613d5f565b61493e60408301866133f3565b61494b60608301856133f3565b818103608083015261495d81846148d6565b90509695505050505050565b60008151905061497881613449565b92915050565b60006020828403121561499457614993613315565b5b60006149a284828501614969565b91505092915050565b60008160e01c9050919050565b600060033d11156149d75760046000803e6149d46000516149ab565b90505b90565b600060443d10156149ea57614a6d565b6149f261330b565b60043d036004823e80513d602482011167ffffffffffffffff82111715614a1a575050614a6d565b808201805167ffffffffffffffff811115614a385750505050614a6d565b80602083010160043d038501811115614a55575050505050614a6d565b614a64826020018501866135f4565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b6000614acc6034836134e3565b9150614ad782614a70565b604082019050919050565b60006020820190508181036000830152614afb81614abf565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b6000614b5e6028836134e3565b9150614b6982614b02565b604082019050919050565b60006020820190508181036000830152614b8d81614b51565b9050919050565b600060a082019050614ba96000830188613d5f565b614bb66020830187613d5f565b8181036040830152614bc88186613a96565b90508181036060830152614bdc8185613a96565b90508181036080830152614bf081846148d6565b90509695505050505050565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b6000614c32601c8361474a565b9150614c3d82614bfc565b601c82019050919050565b6000819050919050565b6000819050919050565b614c6d614c6882614c48565b614c52565b82525050565b6000614c7e82614c25565b9150614c8a8284614c5c565b60208201915081905092915050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b6000614ccf6018836134e3565b9150614cda82614c99565b602082019050919050565b60006020820190508181036000830152614cfe81614cc2565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b6000614d3b601f836134e3565b9150614d4682614d05565b602082019050919050565b60006020820190508181036000830152614d6a81614d2e565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000614dcd6022836134e3565b9150614dd882614d71565b604082019050919050565b60006020820190508181036000830152614dfc81614dc0565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000614e5f6022836134e3565b9150614e6a82614e03565b604082019050919050565b60006020820190508181036000830152614e8e81614e52565b9050919050565b614e9e81614c48565b82525050565b600060ff82169050919050565b614eba81614ea4565b82525050565b6000608082019050614ed56000830187614e95565b614ee26020830186614eb1565b614eef6040830185614e95565b614efc6060830184614e95565b9594505050505056fea264697066735822122077be5bcd3fe4071c45bb18cd487d43adcc07e520183a697872eb20aab753a63664736f6c63430008090033

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

OVERVIEW

Old genesis pass, holders recieve access to the SilkNFT tool suite beta.

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.