ETH Price: $3,922.20 (+0.95%)

Contract

0x17b055C6CeECF8C8da703E48bf4389b5dcC0cF5A
 

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
Transfer From189449212024-01-06 1:29:23342 days ago1704504563IN
0x17b055C6...5dcC0cF5A
0 ETH0.0006618110.42278518
Set Approval For...189053642023-12-31 12:08:47348 days ago1704024527IN
0x17b055C6...5dcC0cF5A
0 ETH0.0005556911.89183411
Safe Transfer Fr...182727962023-10-03 21:51:11437 days ago1696369871IN
0x17b055C6...5dcC0cF5A
0 ETH0.0008319811.30633047
Mint To168499552023-03-17 20:39:11637 days ago1679085551IN
0x17b055C6...5dcC0cF5A
0 ETH0.0029950621.60972395
Safe Transfer Fr...167192902023-02-27 11:39:59655 days ago1677497999IN
0x17b055C6...5dcC0cF5A
0 ETH0.000931214.8834965
Mint To166793462023-02-21 20:47:59661 days ago1677012479IN
0x17b055C6...5dcC0cF5A
0 ETH0.0051637437.25699547
Mint To166336722023-02-15 10:53:11667 days ago1676458391IN
0x17b055C6...5dcC0cF5A
0 ETH0.0022908821.95390158
Mint To166335152023-02-15 10:21:35667 days ago1676456495IN
0x17b055C6...5dcC0cF5A
0 ETH0.0029095521
Mint To166200512023-02-13 13:11:11669 days ago1676293871IN
0x17b055C6...5dcC0cF5A
0 ETH0.0026452624.7457316
Mint To166200442023-02-13 13:09:47669 days ago1676293787IN
0x17b055C6...5dcC0cF5A
0 ETH0.0032077425.86930871
Mint To166197812023-02-13 12:16:47669 days ago1676290607IN
0x17b055C6...5dcC0cF5A
0 ETH0.0054310539.18565234
Mint To166081862023-02-11 21:24:11671 days ago1676150651IN
0x17b055C6...5dcC0cF5A
0 ETH0.0024483717.66529089
Mint To166033562023-02-11 5:13:23671 days ago1676092403IN
0x17b055C6...5dcC0cF5A
0 ETH0.0024260117.50394647
Set Mint Price165928132023-02-09 17:53:59673 days ago1675965239IN
0x17b055C6...5dcC0cF5A
0 ETH0.0010620943.91722271
Transfer From164085472023-01-15 0:11:59699 days ago1673741519IN
0x17b055C6...5dcC0cF5A
0 ETH0.0015778826.88188485
Transfer From164069842023-01-14 18:57:47699 days ago1673722667IN
0x17b055C6...5dcC0cF5A
0 ETH0.0009724116.56674091
Safe Transfer Fr...159256402022-11-08 13:33:47766 days ago1667914427IN
0x17b055C6...5dcC0cF5A
0 ETH0.0006182212.60896047
Approve159256392022-11-08 13:33:35766 days ago1667914415IN
0x17b055C6...5dcC0cF5A
0 ETH0.0005714311.61428285
Transfer From151403112022-07-14 10:46:06883 days ago1657795566IN
0x17b055C6...5dcC0cF5A
0 ETH0.0007972112.55522073
Transfer From149164742022-06-06 18:46:50921 days ago1654541210IN
0x17b055C6...5dcC0cF5A
0 ETH0.0032947651.89835921
Transfer From147424272022-05-09 12:26:16949 days ago1652099176IN
0x17b055C6...5dcC0cF5A
0 ETH0.001089526.19195623
Transfer From147424172022-05-09 12:24:15949 days ago1652099055IN
0x17b055C6...5dcC0cF5A
0 ETH0.0012944627.89969317
Transfer From147424162022-05-09 12:24:02949 days ago1652099042IN
0x17b055C6...5dcC0cF5A
0 ETH0.0013811529.76827745
Transfer From147424062022-05-09 12:21:55949 days ago1652098915IN
0x17b055C6...5dcC0cF5A
0 ETH0.0019968931.44860316
Transfer From146932152022-05-01 17:16:21957 days ago1651425381IN
0x17b055C6...5dcC0cF5A
0 ETH0.0046686679.5383291
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block
From
To
144881342022-03-30 14:41:17989 days ago1648651277
0x17b055C6...5dcC0cF5A
0.014 ETH
142258912022-02-17 20:50:351030 days ago1645131035
0x17b055C6...5dcC0cF5A
0.014 ETH
142083812022-02-15 3:48:041032 days ago1644896884
0x17b055C6...5dcC0cF5A
0.014 ETH
142083522022-02-15 3:41:171032 days ago1644896477
0x17b055C6...5dcC0cF5A
0.014 ETH
142083442022-02-15 3:39:471032 days ago1644896387
0x17b055C6...5dcC0cF5A
0.014 ETH
142083422022-02-15 3:39:111032 days ago1644896351
0x17b055C6...5dcC0cF5A
0.014 ETH
142083412022-02-15 3:38:481032 days ago1644896328
0x17b055C6...5dcC0cF5A
0.014 ETH
142083382022-02-15 3:37:591032 days ago1644896279
0x17b055C6...5dcC0cF5A
0.014 ETH
142018042022-02-14 3:32:281033 days ago1644809548
0x17b055C6...5dcC0cF5A
0.014 ETH
142002112022-02-13 21:20:081034 days ago1644787208
0x17b055C6...5dcC0cF5A
0.014 ETH
141985602022-02-13 15:21:421034 days ago1644765702
0x17b055C6...5dcC0cF5A
0.014 ETH
141940672022-02-12 22:45:081035 days ago1644705908
0x17b055C6...5dcC0cF5A
0.014 ETH
141868852022-02-11 20:20:551036 days ago1644610855
0x17b055C6...5dcC0cF5A
0.014 ETH
141736182022-02-09 18:59:091038 days ago1644433149
0x17b055C6...5dcC0cF5A
0.014 ETH
141722842022-02-09 13:53:161038 days ago1644414796
0x17b055C6...5dcC0cF5A
0.014 ETH
141722432022-02-09 13:43:091038 days ago1644414189
0x17b055C6...5dcC0cF5A
0.014 ETH
141721782022-02-09 13:30:211038 days ago1644413421
0x17b055C6...5dcC0cF5A
0.014 ETH
141696832022-02-09 4:18:411038 days ago1644380321
0x17b055C6...5dcC0cF5A
0.014 ETH
141696112022-02-09 4:03:401038 days ago1644379420
0x17b055C6...5dcC0cF5A
0.014 ETH
141695342022-02-09 3:46:211038 days ago1644378381
0x17b055C6...5dcC0cF5A
0.014 ETH
141694292022-02-09 3:22:191038 days ago1644376939
0x17b055C6...5dcC0cF5A
0.014 ETH
141692092022-02-09 2:36:141038 days ago1644374174
0x17b055C6...5dcC0cF5A
0.014 ETH
141690802022-02-09 2:10:451038 days ago1644372645
0x17b055C6...5dcC0cF5A
0.014 ETH
141683312022-02-08 23:13:411039 days ago1644362021
0x17b055C6...5dcC0cF5A
0.014 ETH
141680872022-02-08 22:23:051039 days ago1644358985
0x17b055C6...5dcC0cF5A
0.014 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Sweetheartz

Compiler Version
v0.8.11+commit.d7f03943

Optimization Enabled:
No with 200 runs

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

import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/security/PullPayment.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";


contract Sweetheartz is ERC721URIStorage, PullPayment, Ownable {
    using Counters for Counters.Counter;
    Counters.Counter private _tokenIds;
    Counters.Counter private _freeTokensCounter;

    // Mapping from owner address to tokenId
    mapping(address => uint256) private _latestTokenIdToOwner;

    // Mapping from owner address to free token
    mapping(address => bool) private _freeTokenIdToOwner;

    /// @dev Base token URI used as a prefix by tokenURI().
    string public baseTokenURI;

    // Constants
    uint256 public constant MAX_SUPPLY = 10000;
    uint256 public constant MAX_FREE_TOKENS = 100;
    uint256 private MINT_PRICE = 0.014 ether;

    // Events
    event PermanentURI(string _value, uint256 indexed _id);

    constructor() public ERC721("Sweetheartz", "SH") {
        baseTokenURI = "";
    }

    function setMintPrice(uint256 price) public onlyOwner {
        MINT_PRICE = price;
    }

    function getMintPrice() public view returns (uint256) {
        return MINT_PRICE;
    }

    function getLatestOwnerTokenId() public view returns (uint256) {
        return _latestTokenIdToOwner[msg.sender];
    }

    function _mintToken(address recipient) private returns (uint256) {
        uint256 tokenId = _tokenIds.current();
        require(tokenId < MAX_SUPPLY, "Max supply reached");

        _latestTokenIdToOwner[msg.sender] = tokenId;

        _tokenIds.increment();
        _safeMint(recipient, tokenId);
        _setTokenURI(tokenId, string(abi.encodePacked(Strings.toString(tokenId), ".json")));
        return tokenId;
    }

    modifier freeToken() {
        uint256 freeTokensCounter = _freeTokensCounter.current();
        require(freeTokensCounter < MAX_FREE_TOKENS, "Free tokens reached to their limit");
        require(_freeTokenIdToOwner[msg.sender] == false, "Free token is already minted for this user");
        _;
    }

    function canMintFreeToken() public view returns (bool) {
        return _freeTokensCounter.current() < MAX_FREE_TOKENS && _freeTokenIdToOwner[msg.sender] == false;
    }

    function mintFree(address recipient) public freeToken
    {
        _mintToken(recipient);
        _freeTokensCounter.increment();
        _freeTokenIdToOwner[msg.sender] = true;
    }

    function mint(address recipient) public onlyOwner
    {
        _mintToken(recipient);
    }

    function mintTo(address recipient) public payable {
        require(msg.value == MINT_PRICE, "Transaction value did not equal the mint price");

        _mintToken(recipient);
        _asyncTransfer(owner(), msg.value);
    }

    function freeze(uint256 tokenId) public onlyOwner {
        emit PermanentURI(tokenURI(tokenId), tokenId);
    }

    function withdrawPayments() public onlyOwner {
        super.withdrawPayments(payable(owner()));
    }

    function payments() public view onlyOwner returns (uint256) {
        return super.payments(owner());
    }

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

    function totalFreeSupply() public view returns (uint256) {
        return _freeTokensCounter.current();
    }

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

    function setBaseTokenURI(string memory _baseTokenURI) public onlyOwner {
        baseTokenURI = _baseTokenURI;
    }

    function getBaseTokenURI() public view onlyOwner returns (string memory) {
        return _baseURI();
    }
}

File 2 of 15 : 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 3 of 15 : 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 4 of 15 : Escrow.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/escrow/Escrow.sol)

pragma solidity ^0.8.0;

import "../../access/Ownable.sol";
import "../Address.sol";

/**
 * @title Escrow
 * @dev Base escrow contract, holds funds designated for a payee until they
 * withdraw them.
 *
 * Intended usage: This contract (and derived escrow contracts) should be a
 * standalone contract, that only interacts with the contract that instantiated
 * it. That way, it is guaranteed that all Ether will be handled according to
 * the `Escrow` rules, and there is no need to check for payable functions or
 * transfers in the inheritance tree. The contract that uses the escrow as its
 * payment method should be its owner, and provide public methods redirecting
 * to the escrow's deposit and withdraw.
 */
contract Escrow is Ownable {
    using Address for address payable;

    event Deposited(address indexed payee, uint256 weiAmount);
    event Withdrawn(address indexed payee, uint256 weiAmount);

    mapping(address => uint256) private _deposits;

    function depositsOf(address payee) public view returns (uint256) {
        return _deposits[payee];
    }

    /**
     * @dev Stores the sent amount as credit to be withdrawn.
     * @param payee The destination address of the funds.
     */
    function deposit(address payee) public payable virtual onlyOwner {
        uint256 amount = msg.value;
        _deposits[payee] += amount;
        emit Deposited(payee, amount);
    }

    /**
     * @dev Withdraw accumulated balance for a payee, forwarding all gas to the
     * recipient.
     *
     * WARNING: Forwarding all gas opens the door to reentrancy vulnerabilities.
     * Make sure you trust the recipient, or are either following the
     * checks-effects-interactions pattern or using {ReentrancyGuard}.
     *
     * @param payee The address whose funds will be withdrawn and transferred to.
     */
    function withdraw(address payable payee) public virtual onlyOwner {
        uint256 payment = _deposits[payee];

        _deposits[payee] = 0;

        payee.sendValue(payment);

        emit Withdrawn(payee, payment);
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

File 6 of 15 : Counters.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Counters.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

File 7 of 15 : 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 8 of 15 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Address.sol)

pragma solidity ^0.8.0;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.0;

import "../ERC721.sol";

/**
 * @dev ERC721 token with storage based token URI management.
 */
abstract contract ERC721URIStorage is ERC721 {
    using Strings for uint256;

    // Optional mapping for token URIs
    mapping(uint256 => string) private _tokenURIs;

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

        string memory _tokenURI = _tokenURIs[tokenId];
        string memory base = _baseURI();

        // If there is no base URI, return the token URI.
        if (bytes(base).length == 0) {
            return _tokenURI;
        }
        // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked).
        if (bytes(_tokenURI).length > 0) {
            return string(abi.encodePacked(base, _tokenURI));
        }

        return super.tokenURI(tokenId);
    }

    /**
     * @dev Sets `_tokenURI` as the tokenURI of `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual {
        require(_exists(tokenId), "ERC721URIStorage: URI set of nonexistent token");
        _tokenURIs[tokenId] = _tokenURI;
    }

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId) internal virtual override {
        super._burn(tokenId);

        if (bytes(_tokenURIs[tokenId]).length != 0) {
            delete _tokenURIs[tokenId];
        }
    }
}

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

        string memory baseURI = _baseURI();
        return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : "";
    }

    /**
     * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each
     * token will be the concatenation of the `baseURI` and the `tokenId`. Empty
     * by default, can be overriden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return "";
    }

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public virtual override {
        address owner = ERC721.ownerOf(tokenId);
        require(to != owner, "ERC721: approval to current owner");

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");

        _transfer(from, to, tokenId);
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        safeTransferFrom(from, to, tokenId, "");
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public virtual override {
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");
        _safeTransfer(from, to, tokenId, _data);
    }

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * `_data` is additional data, it has no specified format and it is sent in call to `to`.
     *
     * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
     * implement alternative mechanisms to perform token transfer, such as signature-based.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeTransfer(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _transfer(from, to, tokenId);
        require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer");
    }

    /**
     * @dev Returns whether `tokenId` exists.
     *
     * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
     *
     * Tokens start existing when they are minted (`_mint`),
     * and stop existing when they are burned (`_burn`).
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return _owners[tokenId] != address(0);
    }

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

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

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

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

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

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

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

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId) internal virtual {
        address owner = ERC721.ownerOf(tokenId);

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

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

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

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

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *  As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function _transfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own");
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

    /**
     * @dev Approve `to` to operate on `tokenId`
     *
     * Emits a {Approval} event.
     */
    function _approve(address to, uint256 tokenId) internal virtual {
        _tokenApprovals[tokenId] = to;
        emit Approval(ERC721.ownerOf(tokenId), to, tokenId);
    }

    /**
     * @dev Approve `operator` to operate on all of `owner` tokens
     *
     * Emits a {ApprovalForAll} event.
     */
    function _setApprovalForAll(
        address owner,
        address operator,
        bool approved
    ) internal virtual {
        require(owner != operator, "ERC721: approve to caller");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
     * The call is not executed if the target address is not a contract.
     *
     * @param from address representing the previous owner of the given token ID
     * @param to target address that will receive the tokens
     * @param tokenId uint256 ID of the token to be transferred
     * @param _data bytes optional data to send along with the call
     * @return bool whether the call correctly returned the expected magic value
     */
    function _checkOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        if (to.isContract()) {
            try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
                return retval == IERC721Receiver.onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert("ERC721: transfer to non ERC721Receiver implementer");
                } else {
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

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

File 14 of 15 : PullPayment.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/PullPayment.sol)

pragma solidity ^0.8.0;

import "../utils/escrow/Escrow.sol";

/**
 * @dev Simple implementation of a
 * https://consensys.github.io/smart-contract-best-practices/recommendations/#favor-pull-over-push-for-external-calls[pull-payment]
 * strategy, where the paying contract doesn't interact directly with the
 * receiver account, which must withdraw its payments itself.
 *
 * Pull-payments are often considered the best practice when it comes to sending
 * Ether, security-wise. It prevents recipients from blocking execution, and
 * eliminates reentrancy concerns.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 *
 * To use, derive from the `PullPayment` contract, and use {_asyncTransfer}
 * instead of Solidity's `transfer` function. Payees can query their due
 * payments with {payments}, and retrieve them with {withdrawPayments}.
 */
abstract contract PullPayment {
    Escrow private immutable _escrow;

    constructor() {
        _escrow = new Escrow();
    }

    /**
     * @dev Withdraw accumulated payments, forwarding all gas to the recipient.
     *
     * Note that _any_ account can call this function, not just the `payee`.
     * This means that contracts unaware of the `PullPayment` protocol can still
     * receive funds this way, by having a separate account call
     * {withdrawPayments}.
     *
     * WARNING: Forwarding all gas opens the door to reentrancy vulnerabilities.
     * Make sure you trust the recipient, or are either following the
     * checks-effects-interactions pattern or using {ReentrancyGuard}.
     *
     * @param payee Whose payments will be withdrawn.
     */
    function withdrawPayments(address payable payee) public virtual {
        _escrow.withdraw(payee);
    }

    /**
     * @dev Returns the payments owed to an address.
     * @param dest The creditor's address.
     */
    function payments(address dest) public view returns (uint256) {
        return _escrow.depositsOf(dest);
    }

    /**
     * @dev Called by the payer to store the sent amount as credit to be pulled.
     * Funds sent in this way are stored in an intermediate {Escrow} contract, so
     * there is no danger of them being spent before withdrawal.
     *
     * @param dest The destination address of the funds.
     * @param amount The amount to transfer.
     */
    function _asyncTransfer(address dest, uint256 amount) internal virtual {
        _escrow.deposit{value: amount}(dest);
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"_value","type":"string"},{"indexed":true,"internalType":"uint256","name":"_id","type":"uint256"}],"name":"PermanentURI","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_FREE_TOKENS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"canMintFreeToken","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"freeze","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getBaseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getLatestOwnerTokenId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"}],"name":"mintFree","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"}],"name":"mintTo","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"payments","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"dest","type":"address"}],"name":"payments","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseTokenURI","type":"string"}],"name":"setBaseTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"price","type":"uint256"}],"name":"setMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalFreeSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"payee","type":"address"}],"name":"withdrawPayments","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawPayments","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60a06040526631bced02db0000600d553480156200001c57600080fd5b506040518060400160405280600b81526020017f537765657468656172747a0000000000000000000000000000000000000000008152506040518060400160405280600281526020017f53480000000000000000000000000000000000000000000000000000000000008152508160009080519060200190620000a192919062000238565b508060019080519060200190620000ba92919062000238565b505050604051620000cb90620002c9565b604051809103906000f080158015620000e8573d6000803e3d6000fd5b5073ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff16815250506200013c620001306200016a60201b60201c565b6200017260201b60201c565b60405180602001604052806000815250600c90805190602001906200016392919062000238565b506200035b565b600033905090565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620002469062000325565b90600052602060002090601f0160209004810192826200026a5760008555620002b6565b82601f106200028557805160ff1916838001178555620002b6565b82800160010185558215620002b6579182015b82811115620002b557825182559160200191906001019062000298565b5b509050620002c59190620002d7565b5090565b610d16806200459383390190565b5b80821115620002f2576000816000905550600101620002d8565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200033e57607f821691505b60208210811415620003555762000354620002f6565b5b50919050565b60805161420e6200038560003960008181610c440152818161161c01526120ad015261420e6000f3fe6080604052600436106102045760003560e01c8063755edd1711610118578063c87b56dd116100a0578063e2982c211161006f578063e2982c2114610724578063e55fcf2d14610761578063e985e9c51461078a578063f2fde38b146107c7578063f4a0a528146107f057610204565b8063c87b56dd14610668578063d547cfb7146106a5578063d7a78db8146106d0578063def59d32146106f957610204565b8063a6d23e10116100e7578063a6d23e1014610593578063a7f93ebd146105be578063ac95556f146105e9578063b88d4fde14610614578063bdc32be01461063d57610204565b8063755edd17146104f85780638da5cb5b1461051457806395d89b411461053f578063a22cb4651461056a57610204565b806331b3eb941161019b5780636352211e1161016a5780636352211e146104135780636a627842146104505780636dc2a1bf1461047957806370a08231146104a4578063715018a6146104e157610204565b806331b3eb941461037f57806332cb6b0c146103a857806342842e0e146103d35780636103d70b146103fc57610204565b8063095ea7b3116101d7578063095ea7b3146102d957806318160ddd1461030257806323b872dd1461032d57806330176e131461035657610204565b806301ffc9a714610209578063027c89771461024657806306fdde0314610271578063081812fc1461029c575b600080fd5b34801561021557600080fd5b50610230600480360381019061022b9190612b1e565b610819565b60405161023d9190612b66565b60405180910390f35b34801561025257600080fd5b5061025b6108fb565b6040516102689190612b9a565b60405180910390f35b34801561027d57600080fd5b5061028661090c565b6040516102939190612c4e565b60405180910390f35b3480156102a857600080fd5b506102c360048036038101906102be9190612c9c565b61099e565b6040516102d09190612d0a565b60405180910390f35b3480156102e557600080fd5b5061030060048036038101906102fb9190612d51565b610a23565b005b34801561030e57600080fd5b50610317610b3b565b6040516103249190612b9a565b60405180910390f35b34801561033957600080fd5b50610354600480360381019061034f9190612d91565b610b4c565b005b34801561036257600080fd5b5061037d60048036038101906103789190612f19565b610bac565b005b34801561038b57600080fd5b506103a660048036038101906103a19190612fa0565b610c42565b005b3480156103b457600080fd5b506103bd610cd0565b6040516103ca9190612b9a565b60405180910390f35b3480156103df57600080fd5b506103fa60048036038101906103f59190612d91565b610cd6565b005b34801561040857600080fd5b50610411610cf6565b005b34801561041f57600080fd5b5061043a60048036038101906104359190612c9c565b610d84565b6040516104479190612d0a565b60405180910390f35b34801561045c57600080fd5b5061047760048036038101906104729190612fcd565b610e36565b005b34801561048557600080fd5b5061048e610ebf565b60405161049b9190612b66565b60405180910390f35b3480156104b057600080fd5b506104cb60048036038101906104c69190612fcd565b610f2f565b6040516104d89190612b9a565b60405180910390f35b3480156104ed57600080fd5b506104f6610fe7565b005b610512600480360381019061050d9190612fcd565b61106f565b005b34801561052057600080fd5b506105296110d1565b6040516105369190612d0a565b60405180910390f35b34801561054b57600080fd5b506105546110fb565b6040516105619190612c4e565b60405180910390f35b34801561057657600080fd5b50610591600480360381019061058c9190613026565b61118d565b005b34801561059f57600080fd5b506105a86111a3565b6040516105b59190612b9a565b60405180910390f35b3480156105ca57600080fd5b506105d3611236565b6040516105e09190612b9a565b60405180910390f35b3480156105f557600080fd5b506105fe611240565b60405161060b9190612b9a565b60405180910390f35b34801561062057600080fd5b5061063b60048036038101906106369190613107565b611245565b005b34801561064957600080fd5b506106526112a7565b60405161065f9190612c4e565b60405180910390f35b34801561067457600080fd5b5061068f600480360381019061068a9190612c9c565b611332565b60405161069c9190612c4e565b60405180910390f35b3480156106b157600080fd5b506106ba611484565b6040516106c79190612c4e565b60405180910390f35b3480156106dc57600080fd5b506106f760048036038101906106f29190612c9c565b611512565b005b34801561070557600080fd5b5061070e6115d1565b60405161071b9190612b9a565b60405180910390f35b34801561073057600080fd5b5061074b60048036038101906107469190612fcd565b611618565b6040516107589190612b9a565b60405180910390f35b34801561076d57600080fd5b5061078860048036038101906107839190612fcd565b6116bb565b005b34801561079657600080fd5b506107b160048036038101906107ac919061318a565b61180f565b6040516107be9190612b66565b60405180910390f35b3480156107d357600080fd5b506107ee60048036038101906107e99190612fcd565b6118a3565b005b3480156107fc57600080fd5b5061081760048036038101906108129190612c9c565b61199b565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806108e457507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806108f457506108f382611a21565b5b9050919050565b60006109076009611a8b565b905090565b60606000805461091b906131f9565b80601f0160208091040260200160405190810160405280929190818152602001828054610947906131f9565b80156109945780601f1061096957610100808354040283529160200191610994565b820191906000526020600020905b81548152906001019060200180831161097757829003601f168201915b5050505050905090565b60006109a982611a99565b6109e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109df9061329d565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a2e82610d84565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610a9f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a969061332f565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610abe611b05565b73ffffffffffffffffffffffffffffffffffffffff161480610aed5750610aec81610ae7611b05565b61180f565b5b610b2c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b23906133c1565b60405180910390fd5b610b368383611b0d565b505050565b6000610b476008611a8b565b905090565b610b5d610b57611b05565b82611bc6565b610b9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b9390613453565b60405180910390fd5b610ba7838383611ca4565b505050565b610bb4611b05565b73ffffffffffffffffffffffffffffffffffffffff16610bd26110d1565b73ffffffffffffffffffffffffffffffffffffffff1614610c28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c1f906134bf565b60405180910390fd5b80600c9080519060200190610c3e929190612a0f565b5050565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166351cff8d9826040518263ffffffff1660e01b8152600401610c9b91906134ee565b600060405180830381600087803b158015610cb557600080fd5b505af1158015610cc9573d6000803e3d6000fd5b5050505050565b61271081565b610cf183838360405180602001604052806000815250611245565b505050565b610cfe611b05565b73ffffffffffffffffffffffffffffffffffffffff16610d1c6110d1565b73ffffffffffffffffffffffffffffffffffffffff1614610d72576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d69906134bf565b60405180910390fd5b610d82610d7d6110d1565b610c42565b565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610e2d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e249061357b565b60405180910390fd5b80915050919050565b610e3e611b05565b73ffffffffffffffffffffffffffffffffffffffff16610e5c6110d1565b73ffffffffffffffffffffffffffffffffffffffff1614610eb2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ea9906134bf565b60405180910390fd5b610ebb81611f00565b5050565b60006064610ecd6009611a8b565b108015610f2a575060001515600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161515145b905090565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610fa0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f979061360d565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610fef611b05565b73ffffffffffffffffffffffffffffffffffffffff1661100d6110d1565b73ffffffffffffffffffffffffffffffffffffffff1614611063576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161105a906134bf565b60405180910390fd5b61106d6000611fe5565b565b600d5434146110b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110aa9061369f565b60405180910390fd5b6110bc81611f00565b506110ce6110c86110d1565b346120ab565b50565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461110a906131f9565b80601f0160208091040260200160405190810160405280929190818152602001828054611136906131f9565b80156111835780601f1061115857610100808354040283529160200191611183565b820191906000526020600020905b81548152906001019060200180831161116657829003601f168201915b5050505050905090565b61119f611198611b05565b838361213b565b5050565b60006111ad611b05565b73ffffffffffffffffffffffffffffffffffffffff166111cb6110d1565b73ffffffffffffffffffffffffffffffffffffffff1614611221576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611218906134bf565b60405180910390fd5b61123161122c6110d1565b611618565b905090565b6000600d54905090565b606481565b611256611250611b05565b83611bc6565b611295576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128c90613453565b60405180910390fd5b6112a1848484846122a8565b50505050565b60606112b1611b05565b73ffffffffffffffffffffffffffffffffffffffff166112cf6110d1565b73ffffffffffffffffffffffffffffffffffffffff1614611325576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161131c906134bf565b60405180910390fd5b61132d612304565b905090565b606061133d82611a99565b61137c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161137390613731565b60405180910390fd5b600060066000848152602001908152602001600020805461139c906131f9565b80601f01602080910402602001604051908101604052809291908181526020018280546113c8906131f9565b80156114155780601f106113ea57610100808354040283529160200191611415565b820191906000526020600020905b8154815290600101906020018083116113f857829003601f168201915b505050505090506000611426612304565b905060008151141561143c57819250505061147f565b60008251111561147157808260405160200161145992919061378d565b6040516020818303038152906040529250505061147f565b61147a84612396565b925050505b919050565b600c8054611491906131f9565b80601f01602080910402602001604051908101604052809291908181526020018280546114bd906131f9565b801561150a5780601f106114df5761010080835404028352916020019161150a565b820191906000526020600020905b8154815290600101906020018083116114ed57829003601f168201915b505050505081565b61151a611b05565b73ffffffffffffffffffffffffffffffffffffffff166115386110d1565b73ffffffffffffffffffffffffffffffffffffffff161461158e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611585906134bf565b60405180910390fd5b807fa109ba539900bf1b633f956d63c96fc89b814c7287f7aa50a9216d0b556572076115b983611332565b6040516115c69190612c4e565b60405180910390a250565b6000600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905090565b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663e3a9db1a836040518263ffffffff1660e01b81526004016116739190612d0a565b602060405180830381865afa158015611690573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116b491906137c6565b9050919050565b60006116c76009611a8b565b90506064811061170c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161170390613865565b60405180910390fd5b60001515600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615151461179f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611796906138f7565b60405180910390fd5b6117a882611f00565b506117b3600961243d565b6001600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6118ab611b05565b73ffffffffffffffffffffffffffffffffffffffff166118c96110d1565b73ffffffffffffffffffffffffffffffffffffffff161461191f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611916906134bf565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561198f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161198690613989565b60405180910390fd5b61199881611fe5565b50565b6119a3611b05565b73ffffffffffffffffffffffffffffffffffffffff166119c16110d1565b73ffffffffffffffffffffffffffffffffffffffff1614611a17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a0e906134bf565b60405180910390fd5b80600d8190555050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600081600001549050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611b8083610d84565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611bd182611a99565b611c10576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c0790613a1b565b60405180910390fd5b6000611c1b83610d84565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611c8a57508373ffffffffffffffffffffffffffffffffffffffff16611c728461099e565b73ffffffffffffffffffffffffffffffffffffffff16145b80611c9b5750611c9a818561180f565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611cc482610d84565b73ffffffffffffffffffffffffffffffffffffffff1614611d1a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d1190613aad565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611d8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d8190613b3f565b60405180910390fd5b611d95838383612453565b611da0600082611b0d565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611df09190613b8e565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611e479190613bc2565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600080611f0d6008611a8b565b90506127108110611f53576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f4a90613c64565b60405180910390fd5b80600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611fa1600861243d565b611fab8382612458565b611fdc81611fb883612476565b604051602001611fc89190613cd0565b6040516020818303038152906040526125d7565b80915050919050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663f340fa0182846040518363ffffffff1660e01b81526004016121059190612d0a565b6000604051808303818588803b15801561211e57600080fd5b505af1158015612132573d6000803e3d6000fd5b50505050505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156121aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121a190613d3e565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161229b9190612b66565b60405180910390a3505050565b6122b3848484611ca4565b6122bf8484848461264b565b6122fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122f590613dd0565b60405180910390fd5b50505050565b6060600c8054612313906131f9565b80601f016020809104026020016040519081016040528092919081815260200182805461233f906131f9565b801561238c5780601f106123615761010080835404028352916020019161238c565b820191906000526020600020905b81548152906001019060200180831161236f57829003601f168201915b5050505050905090565b60606123a182611a99565b6123e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123d790613e62565b60405180910390fd5b60006123ea612304565b9050600081511161240a5760405180602001604052806000815250612435565b8061241484612476565b60405160200161242592919061378d565b6040516020818303038152906040525b915050919050565b6001816000016000828254019250508190555050565b505050565b6124728282604051806020016040528060008152506127d3565b5050565b606060008214156124be576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506125d2565b600082905060005b600082146124f05780806124d990613e82565b915050600a826124e99190613efa565b91506124c6565b60008167ffffffffffffffff81111561250c5761250b612dee565b5b6040519080825280601f01601f19166020018201604052801561253e5781602001600182028036833780820191505090505b5090505b600085146125cb576001826125579190613b8e565b9150600a856125669190613f2b565b60306125729190613bc2565b60f81b81838151811061258857612587613f5c565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856125c49190613efa565b9450612542565b8093505050505b919050565b6125e082611a99565b61261f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161261690613ffd565b60405180910390fd5b80600660008481526020019081526020016000209080519060200190612646929190612a0f565b505050565b600061266c8473ffffffffffffffffffffffffffffffffffffffff1661282e565b156127c6578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612695611b05565b8786866040518563ffffffff1660e01b81526004016126b79493929190614072565b6020604051808303816000875af19250505080156126f357506040513d601f19601f820116820180604052508101906126f091906140d3565b60015b612776573d8060008114612723576040519150601f19603f3d011682016040523d82523d6000602084013e612728565b606091505b5060008151141561276e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161276590613dd0565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506127cb565b600190505b949350505050565b6127dd8383612841565b6127ea600084848461264b565b612829576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161282090613dd0565b60405180910390fd5b505050565b600080823b905060008111915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156128b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128a89061414c565b60405180910390fd5b6128ba81611a99565b156128fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128f1906141b8565b60405180910390fd5b61290660008383612453565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546129569190613bc2565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b828054612a1b906131f9565b90600052602060002090601f016020900481019282612a3d5760008555612a84565b82601f10612a5657805160ff1916838001178555612a84565b82800160010185558215612a84579182015b82811115612a83578251825591602001919060010190612a68565b5b509050612a919190612a95565b5090565b5b80821115612aae576000816000905550600101612a96565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612afb81612ac6565b8114612b0657600080fd5b50565b600081359050612b1881612af2565b92915050565b600060208284031215612b3457612b33612abc565b5b6000612b4284828501612b09565b91505092915050565b60008115159050919050565b612b6081612b4b565b82525050565b6000602082019050612b7b6000830184612b57565b92915050565b6000819050919050565b612b9481612b81565b82525050565b6000602082019050612baf6000830184612b8b565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612bef578082015181840152602081019050612bd4565b83811115612bfe576000848401525b50505050565b6000601f19601f8301169050919050565b6000612c2082612bb5565b612c2a8185612bc0565b9350612c3a818560208601612bd1565b612c4381612c04565b840191505092915050565b60006020820190508181036000830152612c688184612c15565b905092915050565b612c7981612b81565b8114612c8457600080fd5b50565b600081359050612c9681612c70565b92915050565b600060208284031215612cb257612cb1612abc565b5b6000612cc084828501612c87565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612cf482612cc9565b9050919050565b612d0481612ce9565b82525050565b6000602082019050612d1f6000830184612cfb565b92915050565b612d2e81612ce9565b8114612d3957600080fd5b50565b600081359050612d4b81612d25565b92915050565b60008060408385031215612d6857612d67612abc565b5b6000612d7685828601612d3c565b9250506020612d8785828601612c87565b9150509250929050565b600080600060608486031215612daa57612da9612abc565b5b6000612db886828701612d3c565b9350506020612dc986828701612d3c565b9250506040612dda86828701612c87565b9150509250925092565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612e2682612c04565b810181811067ffffffffffffffff82111715612e4557612e44612dee565b5b80604052505050565b6000612e58612ab2565b9050612e648282612e1d565b919050565b600067ffffffffffffffff821115612e8457612e83612dee565b5b612e8d82612c04565b9050602081019050919050565b82818337600083830152505050565b6000612ebc612eb784612e69565b612e4e565b905082815260208101848484011115612ed857612ed7612de9565b5b612ee3848285612e9a565b509392505050565b600082601f830112612f0057612eff612de4565b5b8135612f10848260208601612ea9565b91505092915050565b600060208284031215612f2f57612f2e612abc565b5b600082013567ffffffffffffffff811115612f4d57612f4c612ac1565b5b612f5984828501612eeb565b91505092915050565b6000612f6d82612cc9565b9050919050565b612f7d81612f62565b8114612f8857600080fd5b50565b600081359050612f9a81612f74565b92915050565b600060208284031215612fb657612fb5612abc565b5b6000612fc484828501612f8b565b91505092915050565b600060208284031215612fe357612fe2612abc565b5b6000612ff184828501612d3c565b91505092915050565b61300381612b4b565b811461300e57600080fd5b50565b60008135905061302081612ffa565b92915050565b6000806040838503121561303d5761303c612abc565b5b600061304b85828601612d3c565b925050602061305c85828601613011565b9150509250929050565b600067ffffffffffffffff82111561308157613080612dee565b5b61308a82612c04565b9050602081019050919050565b60006130aa6130a584613066565b612e4e565b9050828152602081018484840111156130c6576130c5612de9565b5b6130d1848285612e9a565b509392505050565b600082601f8301126130ee576130ed612de4565b5b81356130fe848260208601613097565b91505092915050565b6000806000806080858703121561312157613120612abc565b5b600061312f87828801612d3c565b945050602061314087828801612d3c565b935050604061315187828801612c87565b925050606085013567ffffffffffffffff81111561317257613171612ac1565b5b61317e878288016130d9565b91505092959194509250565b600080604083850312156131a1576131a0612abc565b5b60006131af85828601612d3c565b92505060206131c085828601612d3c565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061321157607f821691505b60208210811415613225576132246131ca565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000613287602c83612bc0565b91506132928261322b565b604082019050919050565b600060208201905081810360008301526132b68161327a565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000613319602183612bc0565b9150613324826132bd565b604082019050919050565b600060208201905081810360008301526133488161330c565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b60006133ab603883612bc0565b91506133b68261334f565b604082019050919050565b600060208201905081810360008301526133da8161339e565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b600061343d603183612bc0565b9150613448826133e1565b604082019050919050565b6000602082019050818103600083015261346c81613430565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006134a9602083612bc0565b91506134b482613473565b602082019050919050565b600060208201905081810360008301526134d88161349c565b9050919050565b6134e881612f62565b82525050565b600060208201905061350360008301846134df565b92915050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b6000613565602983612bc0565b915061357082613509565b604082019050919050565b6000602082019050818103600083015261359481613558565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b60006135f7602a83612bc0565b91506136028261359b565b604082019050919050565b60006020820190508181036000830152613626816135ea565b9050919050565b7f5472616e73616374696f6e2076616c756520646964206e6f7420657175616c2060008201527f746865206d696e74207072696365000000000000000000000000000000000000602082015250565b6000613689602e83612bc0565b91506136948261362d565b604082019050919050565b600060208201905081810360008301526136b88161367c565b9050919050565b7f45524337323155524953746f726167653a2055524920717565727920666f722060008201527f6e6f6e6578697374656e7420746f6b656e000000000000000000000000000000602082015250565b600061371b603183612bc0565b9150613726826136bf565b604082019050919050565b6000602082019050818103600083015261374a8161370e565b9050919050565b600081905092915050565b600061376782612bb5565b6137718185613751565b9350613781818560208601612bd1565b80840191505092915050565b6000613799828561375c565b91506137a5828461375c565b91508190509392505050565b6000815190506137c081612c70565b92915050565b6000602082840312156137dc576137db612abc565b5b60006137ea848285016137b1565b91505092915050565b7f4672656520746f6b656e73207265616368656420746f207468656972206c696d60008201527f6974000000000000000000000000000000000000000000000000000000000000602082015250565b600061384f602283612bc0565b915061385a826137f3565b604082019050919050565b6000602082019050818103600083015261387e81613842565b9050919050565b7f4672656520746f6b656e20697320616c7265616479206d696e74656420666f7260008201527f2074686973207573657200000000000000000000000000000000000000000000602082015250565b60006138e1602a83612bc0565b91506138ec82613885565b604082019050919050565b60006020820190508181036000830152613910816138d4565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613973602683612bc0565b915061397e82613917565b604082019050919050565b600060208201905081810360008301526139a281613966565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000613a05602c83612bc0565b9150613a10826139a9565b604082019050919050565b60006020820190508181036000830152613a34816139f8565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b6000613a97602983612bc0565b9150613aa282613a3b565b604082019050919050565b60006020820190508181036000830152613ac681613a8a565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000613b29602483612bc0565b9150613b3482613acd565b604082019050919050565b60006020820190508181036000830152613b5881613b1c565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613b9982612b81565b9150613ba483612b81565b925082821015613bb757613bb6613b5f565b5b828203905092915050565b6000613bcd82612b81565b9150613bd883612b81565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613c0d57613c0c613b5f565b5b828201905092915050565b7f4d617820737570706c7920726561636865640000000000000000000000000000600082015250565b6000613c4e601283612bc0565b9150613c5982613c18565b602082019050919050565b60006020820190508181036000830152613c7d81613c41565b9050919050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b6000613cba600583613751565b9150613cc582613c84565b600582019050919050565b6000613cdc828461375c565b9150613ce782613cad565b915081905092915050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000613d28601983612bc0565b9150613d3382613cf2565b602082019050919050565b60006020820190508181036000830152613d5781613d1b565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000613dba603283612bc0565b9150613dc582613d5e565b604082019050919050565b60006020820190508181036000830152613de981613dad565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000613e4c602f83612bc0565b9150613e5782613df0565b604082019050919050565b60006020820190508181036000830152613e7b81613e3f565b9050919050565b6000613e8d82612b81565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613ec057613ebf613b5f565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613f0582612b81565b9150613f1083612b81565b925082613f2057613f1f613ecb565b5b828204905092915050565b6000613f3682612b81565b9150613f4183612b81565b925082613f5157613f50613ecb565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60008201527f6578697374656e7420746f6b656e000000000000000000000000000000000000602082015250565b6000613fe7602e83612bc0565b9150613ff282613f8b565b604082019050919050565b6000602082019050818103600083015261401681613fda565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006140448261401d565b61404e8185614028565b935061405e818560208601612bd1565b61406781612c04565b840191505092915050565b60006080820190506140876000830187612cfb565b6140946020830186612cfb565b6140a16040830185612b8b565b81810360608301526140b38184614039565b905095945050505050565b6000815190506140cd81612af2565b92915050565b6000602082840312156140e9576140e8612abc565b5b60006140f7848285016140be565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000614136602083612bc0565b915061414182614100565b602082019050919050565b6000602082019050818103600083015261416581614129565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b60006141a2601c83612bc0565b91506141ad8261416c565b602082019050919050565b600060208201905081810360008301526141d181614195565b905091905056fea26469706673582212201ac00b04e6fc4e588a2a9706ed6320611413748f5c83e3bc7aff4ce03625ea2664736f6c634300080b0033608060405234801561001057600080fd5b5061002d61002261003260201b60201c565b61003a60201b60201c565b6100fe565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b610c098061010d6000396000f3fe6080604052600436106100555760003560e01c806351cff8d91461005a578063715018a6146100835780638da5cb5b1461009a578063e3a9db1a146100c5578063f2fde38b14610102578063f340fa011461012b575b600080fd5b34801561006657600080fd5b50610081600480360381019061007c9190610805565b610147565b005b34801561008f57600080fd5b506100986102c7565b005b3480156100a657600080fd5b506100af61034f565b6040516100bc9190610853565b60405180910390f35b3480156100d157600080fd5b506100ec60048036038101906100e7919061089a565b610378565b6040516100f991906108e0565b60405180910390f35b34801561010e57600080fd5b506101296004803603810190610124919061089a565b6103c1565b005b6101456004803603810190610140919061089a565b6104b9565b005b61014f6105e2565b73ffffffffffffffffffffffffffffffffffffffff1661016d61034f565b73ffffffffffffffffffffffffffffffffffffffff16146101c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101ba90610958565b60405180910390fd5b6000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490506000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550610275818373ffffffffffffffffffffffffffffffffffffffff166105ea90919063ffffffff16565b8173ffffffffffffffffffffffffffffffffffffffff167f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5826040516102bb91906108e0565b60405180910390a25050565b6102cf6105e2565b73ffffffffffffffffffffffffffffffffffffffff166102ed61034f565b73ffffffffffffffffffffffffffffffffffffffff1614610343576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161033a90610958565b60405180910390fd5b61034d60006106de565b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6103c96105e2565b73ffffffffffffffffffffffffffffffffffffffff166103e761034f565b73ffffffffffffffffffffffffffffffffffffffff161461043d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161043490610958565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156104ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104a4906109ea565b60405180910390fd5b6104b6816106de565b50565b6104c16105e2565b73ffffffffffffffffffffffffffffffffffffffff166104df61034f565b73ffffffffffffffffffffffffffffffffffffffff1614610535576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161052c90610958565b60405180910390fd5b600034905080600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546105899190610a39565b925050819055508173ffffffffffffffffffffffffffffffffffffffff167f2da466a7b24304f47e87fa2e1e5a81b9831ce54fec19055ce277ca2f39ba42c4826040516105d691906108e0565b60405180910390a25050565b600033905090565b8047101561062d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161062490610adb565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff168260405161065390610b2c565b60006040518083038185875af1925050503d8060008114610690576040519150601f19603f3d011682016040523d82523d6000602084013e610695565b606091505b50509050806106d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106d090610bb3565b60405180910390fd5b505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006107d2826107a7565b9050919050565b6107e2816107c7565b81146107ed57600080fd5b50565b6000813590506107ff816107d9565b92915050565b60006020828403121561081b5761081a6107a2565b5b6000610829848285016107f0565b91505092915050565b600061083d826107a7565b9050919050565b61084d81610832565b82525050565b60006020820190506108686000830184610844565b92915050565b61087781610832565b811461088257600080fd5b50565b6000813590506108948161086e565b92915050565b6000602082840312156108b0576108af6107a2565b5b60006108be84828501610885565b91505092915050565b6000819050919050565b6108da816108c7565b82525050565b60006020820190506108f560008301846108d1565b92915050565b600082825260208201905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006109426020836108fb565b915061094d8261090c565b602082019050919050565b6000602082019050818103600083015261097181610935565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006109d46026836108fb565b91506109df82610978565b604082019050919050565b60006020820190508181036000830152610a03816109c7565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000610a44826108c7565b9150610a4f836108c7565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115610a8457610a83610a0a565b5b828201905092915050565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b6000610ac5601d836108fb565b9150610ad082610a8f565b602082019050919050565b60006020820190508181036000830152610af481610ab8565b9050919050565b600081905092915050565b50565b6000610b16600083610afb565b9150610b2182610b06565b600082019050919050565b6000610b3782610b09565b9150819050919050565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b6000610b9d603a836108fb565b9150610ba882610b41565b604082019050919050565b60006020820190508181036000830152610bcc81610b90565b905091905056fea2646970667358221220ba79d01fb443f0cd1200f9aa14e3f08d2f3dd55b8067ccaa7dad1bbe5500018264736f6c634300080b0033

Deployed Bytecode

0x6080604052600436106102045760003560e01c8063755edd1711610118578063c87b56dd116100a0578063e2982c211161006f578063e2982c2114610724578063e55fcf2d14610761578063e985e9c51461078a578063f2fde38b146107c7578063f4a0a528146107f057610204565b8063c87b56dd14610668578063d547cfb7146106a5578063d7a78db8146106d0578063def59d32146106f957610204565b8063a6d23e10116100e7578063a6d23e1014610593578063a7f93ebd146105be578063ac95556f146105e9578063b88d4fde14610614578063bdc32be01461063d57610204565b8063755edd17146104f85780638da5cb5b1461051457806395d89b411461053f578063a22cb4651461056a57610204565b806331b3eb941161019b5780636352211e1161016a5780636352211e146104135780636a627842146104505780636dc2a1bf1461047957806370a08231146104a4578063715018a6146104e157610204565b806331b3eb941461037f57806332cb6b0c146103a857806342842e0e146103d35780636103d70b146103fc57610204565b8063095ea7b3116101d7578063095ea7b3146102d957806318160ddd1461030257806323b872dd1461032d57806330176e131461035657610204565b806301ffc9a714610209578063027c89771461024657806306fdde0314610271578063081812fc1461029c575b600080fd5b34801561021557600080fd5b50610230600480360381019061022b9190612b1e565b610819565b60405161023d9190612b66565b60405180910390f35b34801561025257600080fd5b5061025b6108fb565b6040516102689190612b9a565b60405180910390f35b34801561027d57600080fd5b5061028661090c565b6040516102939190612c4e565b60405180910390f35b3480156102a857600080fd5b506102c360048036038101906102be9190612c9c565b61099e565b6040516102d09190612d0a565b60405180910390f35b3480156102e557600080fd5b5061030060048036038101906102fb9190612d51565b610a23565b005b34801561030e57600080fd5b50610317610b3b565b6040516103249190612b9a565b60405180910390f35b34801561033957600080fd5b50610354600480360381019061034f9190612d91565b610b4c565b005b34801561036257600080fd5b5061037d60048036038101906103789190612f19565b610bac565b005b34801561038b57600080fd5b506103a660048036038101906103a19190612fa0565b610c42565b005b3480156103b457600080fd5b506103bd610cd0565b6040516103ca9190612b9a565b60405180910390f35b3480156103df57600080fd5b506103fa60048036038101906103f59190612d91565b610cd6565b005b34801561040857600080fd5b50610411610cf6565b005b34801561041f57600080fd5b5061043a60048036038101906104359190612c9c565b610d84565b6040516104479190612d0a565b60405180910390f35b34801561045c57600080fd5b5061047760048036038101906104729190612fcd565b610e36565b005b34801561048557600080fd5b5061048e610ebf565b60405161049b9190612b66565b60405180910390f35b3480156104b057600080fd5b506104cb60048036038101906104c69190612fcd565b610f2f565b6040516104d89190612b9a565b60405180910390f35b3480156104ed57600080fd5b506104f6610fe7565b005b610512600480360381019061050d9190612fcd565b61106f565b005b34801561052057600080fd5b506105296110d1565b6040516105369190612d0a565b60405180910390f35b34801561054b57600080fd5b506105546110fb565b6040516105619190612c4e565b60405180910390f35b34801561057657600080fd5b50610591600480360381019061058c9190613026565b61118d565b005b34801561059f57600080fd5b506105a86111a3565b6040516105b59190612b9a565b60405180910390f35b3480156105ca57600080fd5b506105d3611236565b6040516105e09190612b9a565b60405180910390f35b3480156105f557600080fd5b506105fe611240565b60405161060b9190612b9a565b60405180910390f35b34801561062057600080fd5b5061063b60048036038101906106369190613107565b611245565b005b34801561064957600080fd5b506106526112a7565b60405161065f9190612c4e565b60405180910390f35b34801561067457600080fd5b5061068f600480360381019061068a9190612c9c565b611332565b60405161069c9190612c4e565b60405180910390f35b3480156106b157600080fd5b506106ba611484565b6040516106c79190612c4e565b60405180910390f35b3480156106dc57600080fd5b506106f760048036038101906106f29190612c9c565b611512565b005b34801561070557600080fd5b5061070e6115d1565b60405161071b9190612b9a565b60405180910390f35b34801561073057600080fd5b5061074b60048036038101906107469190612fcd565b611618565b6040516107589190612b9a565b60405180910390f35b34801561076d57600080fd5b5061078860048036038101906107839190612fcd565b6116bb565b005b34801561079657600080fd5b506107b160048036038101906107ac919061318a565b61180f565b6040516107be9190612b66565b60405180910390f35b3480156107d357600080fd5b506107ee60048036038101906107e99190612fcd565b6118a3565b005b3480156107fc57600080fd5b5061081760048036038101906108129190612c9c565b61199b565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806108e457507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806108f457506108f382611a21565b5b9050919050565b60006109076009611a8b565b905090565b60606000805461091b906131f9565b80601f0160208091040260200160405190810160405280929190818152602001828054610947906131f9565b80156109945780601f1061096957610100808354040283529160200191610994565b820191906000526020600020905b81548152906001019060200180831161097757829003601f168201915b5050505050905090565b60006109a982611a99565b6109e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109df9061329d565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a2e82610d84565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610a9f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a969061332f565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610abe611b05565b73ffffffffffffffffffffffffffffffffffffffff161480610aed5750610aec81610ae7611b05565b61180f565b5b610b2c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b23906133c1565b60405180910390fd5b610b368383611b0d565b505050565b6000610b476008611a8b565b905090565b610b5d610b57611b05565b82611bc6565b610b9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b9390613453565b60405180910390fd5b610ba7838383611ca4565b505050565b610bb4611b05565b73ffffffffffffffffffffffffffffffffffffffff16610bd26110d1565b73ffffffffffffffffffffffffffffffffffffffff1614610c28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c1f906134bf565b60405180910390fd5b80600c9080519060200190610c3e929190612a0f565b5050565b7f000000000000000000000000f410b41398a3f165a7229f387106ead3778313fd73ffffffffffffffffffffffffffffffffffffffff166351cff8d9826040518263ffffffff1660e01b8152600401610c9b91906134ee565b600060405180830381600087803b158015610cb557600080fd5b505af1158015610cc9573d6000803e3d6000fd5b5050505050565b61271081565b610cf183838360405180602001604052806000815250611245565b505050565b610cfe611b05565b73ffffffffffffffffffffffffffffffffffffffff16610d1c6110d1565b73ffffffffffffffffffffffffffffffffffffffff1614610d72576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d69906134bf565b60405180910390fd5b610d82610d7d6110d1565b610c42565b565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610e2d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e249061357b565b60405180910390fd5b80915050919050565b610e3e611b05565b73ffffffffffffffffffffffffffffffffffffffff16610e5c6110d1565b73ffffffffffffffffffffffffffffffffffffffff1614610eb2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ea9906134bf565b60405180910390fd5b610ebb81611f00565b5050565b60006064610ecd6009611a8b565b108015610f2a575060001515600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161515145b905090565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610fa0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f979061360d565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610fef611b05565b73ffffffffffffffffffffffffffffffffffffffff1661100d6110d1565b73ffffffffffffffffffffffffffffffffffffffff1614611063576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161105a906134bf565b60405180910390fd5b61106d6000611fe5565b565b600d5434146110b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110aa9061369f565b60405180910390fd5b6110bc81611f00565b506110ce6110c86110d1565b346120ab565b50565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461110a906131f9565b80601f0160208091040260200160405190810160405280929190818152602001828054611136906131f9565b80156111835780601f1061115857610100808354040283529160200191611183565b820191906000526020600020905b81548152906001019060200180831161116657829003601f168201915b5050505050905090565b61119f611198611b05565b838361213b565b5050565b60006111ad611b05565b73ffffffffffffffffffffffffffffffffffffffff166111cb6110d1565b73ffffffffffffffffffffffffffffffffffffffff1614611221576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611218906134bf565b60405180910390fd5b61123161122c6110d1565b611618565b905090565b6000600d54905090565b606481565b611256611250611b05565b83611bc6565b611295576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128c90613453565b60405180910390fd5b6112a1848484846122a8565b50505050565b60606112b1611b05565b73ffffffffffffffffffffffffffffffffffffffff166112cf6110d1565b73ffffffffffffffffffffffffffffffffffffffff1614611325576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161131c906134bf565b60405180910390fd5b61132d612304565b905090565b606061133d82611a99565b61137c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161137390613731565b60405180910390fd5b600060066000848152602001908152602001600020805461139c906131f9565b80601f01602080910402602001604051908101604052809291908181526020018280546113c8906131f9565b80156114155780601f106113ea57610100808354040283529160200191611415565b820191906000526020600020905b8154815290600101906020018083116113f857829003601f168201915b505050505090506000611426612304565b905060008151141561143c57819250505061147f565b60008251111561147157808260405160200161145992919061378d565b6040516020818303038152906040529250505061147f565b61147a84612396565b925050505b919050565b600c8054611491906131f9565b80601f01602080910402602001604051908101604052809291908181526020018280546114bd906131f9565b801561150a5780601f106114df5761010080835404028352916020019161150a565b820191906000526020600020905b8154815290600101906020018083116114ed57829003601f168201915b505050505081565b61151a611b05565b73ffffffffffffffffffffffffffffffffffffffff166115386110d1565b73ffffffffffffffffffffffffffffffffffffffff161461158e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611585906134bf565b60405180910390fd5b807fa109ba539900bf1b633f956d63c96fc89b814c7287f7aa50a9216d0b556572076115b983611332565b6040516115c69190612c4e565b60405180910390a250565b6000600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905090565b60007f000000000000000000000000f410b41398a3f165a7229f387106ead3778313fd73ffffffffffffffffffffffffffffffffffffffff1663e3a9db1a836040518263ffffffff1660e01b81526004016116739190612d0a565b602060405180830381865afa158015611690573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116b491906137c6565b9050919050565b60006116c76009611a8b565b90506064811061170c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161170390613865565b60405180910390fd5b60001515600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615151461179f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611796906138f7565b60405180910390fd5b6117a882611f00565b506117b3600961243d565b6001600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6118ab611b05565b73ffffffffffffffffffffffffffffffffffffffff166118c96110d1565b73ffffffffffffffffffffffffffffffffffffffff161461191f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611916906134bf565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561198f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161198690613989565b60405180910390fd5b61199881611fe5565b50565b6119a3611b05565b73ffffffffffffffffffffffffffffffffffffffff166119c16110d1565b73ffffffffffffffffffffffffffffffffffffffff1614611a17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a0e906134bf565b60405180910390fd5b80600d8190555050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600081600001549050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611b8083610d84565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611bd182611a99565b611c10576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c0790613a1b565b60405180910390fd5b6000611c1b83610d84565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611c8a57508373ffffffffffffffffffffffffffffffffffffffff16611c728461099e565b73ffffffffffffffffffffffffffffffffffffffff16145b80611c9b5750611c9a818561180f565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611cc482610d84565b73ffffffffffffffffffffffffffffffffffffffff1614611d1a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d1190613aad565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611d8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d8190613b3f565b60405180910390fd5b611d95838383612453565b611da0600082611b0d565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611df09190613b8e565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611e479190613bc2565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600080611f0d6008611a8b565b90506127108110611f53576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f4a90613c64565b60405180910390fd5b80600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611fa1600861243d565b611fab8382612458565b611fdc81611fb883612476565b604051602001611fc89190613cd0565b6040516020818303038152906040526125d7565b80915050919050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b7f000000000000000000000000f410b41398a3f165a7229f387106ead3778313fd73ffffffffffffffffffffffffffffffffffffffff1663f340fa0182846040518363ffffffff1660e01b81526004016121059190612d0a565b6000604051808303818588803b15801561211e57600080fd5b505af1158015612132573d6000803e3d6000fd5b50505050505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156121aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121a190613d3e565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161229b9190612b66565b60405180910390a3505050565b6122b3848484611ca4565b6122bf8484848461264b565b6122fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122f590613dd0565b60405180910390fd5b50505050565b6060600c8054612313906131f9565b80601f016020809104026020016040519081016040528092919081815260200182805461233f906131f9565b801561238c5780601f106123615761010080835404028352916020019161238c565b820191906000526020600020905b81548152906001019060200180831161236f57829003601f168201915b5050505050905090565b60606123a182611a99565b6123e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123d790613e62565b60405180910390fd5b60006123ea612304565b9050600081511161240a5760405180602001604052806000815250612435565b8061241484612476565b60405160200161242592919061378d565b6040516020818303038152906040525b915050919050565b6001816000016000828254019250508190555050565b505050565b6124728282604051806020016040528060008152506127d3565b5050565b606060008214156124be576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506125d2565b600082905060005b600082146124f05780806124d990613e82565b915050600a826124e99190613efa565b91506124c6565b60008167ffffffffffffffff81111561250c5761250b612dee565b5b6040519080825280601f01601f19166020018201604052801561253e5781602001600182028036833780820191505090505b5090505b600085146125cb576001826125579190613b8e565b9150600a856125669190613f2b565b60306125729190613bc2565b60f81b81838151811061258857612587613f5c565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856125c49190613efa565b9450612542565b8093505050505b919050565b6125e082611a99565b61261f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161261690613ffd565b60405180910390fd5b80600660008481526020019081526020016000209080519060200190612646929190612a0f565b505050565b600061266c8473ffffffffffffffffffffffffffffffffffffffff1661282e565b156127c6578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612695611b05565b8786866040518563ffffffff1660e01b81526004016126b79493929190614072565b6020604051808303816000875af19250505080156126f357506040513d601f19601f820116820180604052508101906126f091906140d3565b60015b612776573d8060008114612723576040519150601f19603f3d011682016040523d82523d6000602084013e612728565b606091505b5060008151141561276e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161276590613dd0565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506127cb565b600190505b949350505050565b6127dd8383612841565b6127ea600084848461264b565b612829576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161282090613dd0565b60405180910390fd5b505050565b600080823b905060008111915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156128b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128a89061414c565b60405180910390fd5b6128ba81611a99565b156128fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128f1906141b8565b60405180910390fd5b61290660008383612453565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546129569190613bc2565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b828054612a1b906131f9565b90600052602060002090601f016020900481019282612a3d5760008555612a84565b82601f10612a5657805160ff1916838001178555612a84565b82800160010185558215612a84579182015b82811115612a83578251825591602001919060010190612a68565b5b509050612a919190612a95565b5090565b5b80821115612aae576000816000905550600101612a96565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612afb81612ac6565b8114612b0657600080fd5b50565b600081359050612b1881612af2565b92915050565b600060208284031215612b3457612b33612abc565b5b6000612b4284828501612b09565b91505092915050565b60008115159050919050565b612b6081612b4b565b82525050565b6000602082019050612b7b6000830184612b57565b92915050565b6000819050919050565b612b9481612b81565b82525050565b6000602082019050612baf6000830184612b8b565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612bef578082015181840152602081019050612bd4565b83811115612bfe576000848401525b50505050565b6000601f19601f8301169050919050565b6000612c2082612bb5565b612c2a8185612bc0565b9350612c3a818560208601612bd1565b612c4381612c04565b840191505092915050565b60006020820190508181036000830152612c688184612c15565b905092915050565b612c7981612b81565b8114612c8457600080fd5b50565b600081359050612c9681612c70565b92915050565b600060208284031215612cb257612cb1612abc565b5b6000612cc084828501612c87565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612cf482612cc9565b9050919050565b612d0481612ce9565b82525050565b6000602082019050612d1f6000830184612cfb565b92915050565b612d2e81612ce9565b8114612d3957600080fd5b50565b600081359050612d4b81612d25565b92915050565b60008060408385031215612d6857612d67612abc565b5b6000612d7685828601612d3c565b9250506020612d8785828601612c87565b9150509250929050565b600080600060608486031215612daa57612da9612abc565b5b6000612db886828701612d3c565b9350506020612dc986828701612d3c565b9250506040612dda86828701612c87565b9150509250925092565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612e2682612c04565b810181811067ffffffffffffffff82111715612e4557612e44612dee565b5b80604052505050565b6000612e58612ab2565b9050612e648282612e1d565b919050565b600067ffffffffffffffff821115612e8457612e83612dee565b5b612e8d82612c04565b9050602081019050919050565b82818337600083830152505050565b6000612ebc612eb784612e69565b612e4e565b905082815260208101848484011115612ed857612ed7612de9565b5b612ee3848285612e9a565b509392505050565b600082601f830112612f0057612eff612de4565b5b8135612f10848260208601612ea9565b91505092915050565b600060208284031215612f2f57612f2e612abc565b5b600082013567ffffffffffffffff811115612f4d57612f4c612ac1565b5b612f5984828501612eeb565b91505092915050565b6000612f6d82612cc9565b9050919050565b612f7d81612f62565b8114612f8857600080fd5b50565b600081359050612f9a81612f74565b92915050565b600060208284031215612fb657612fb5612abc565b5b6000612fc484828501612f8b565b91505092915050565b600060208284031215612fe357612fe2612abc565b5b6000612ff184828501612d3c565b91505092915050565b61300381612b4b565b811461300e57600080fd5b50565b60008135905061302081612ffa565b92915050565b6000806040838503121561303d5761303c612abc565b5b600061304b85828601612d3c565b925050602061305c85828601613011565b9150509250929050565b600067ffffffffffffffff82111561308157613080612dee565b5b61308a82612c04565b9050602081019050919050565b60006130aa6130a584613066565b612e4e565b9050828152602081018484840111156130c6576130c5612de9565b5b6130d1848285612e9a565b509392505050565b600082601f8301126130ee576130ed612de4565b5b81356130fe848260208601613097565b91505092915050565b6000806000806080858703121561312157613120612abc565b5b600061312f87828801612d3c565b945050602061314087828801612d3c565b935050604061315187828801612c87565b925050606085013567ffffffffffffffff81111561317257613171612ac1565b5b61317e878288016130d9565b91505092959194509250565b600080604083850312156131a1576131a0612abc565b5b60006131af85828601612d3c565b92505060206131c085828601612d3c565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061321157607f821691505b60208210811415613225576132246131ca565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000613287602c83612bc0565b91506132928261322b565b604082019050919050565b600060208201905081810360008301526132b68161327a565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000613319602183612bc0565b9150613324826132bd565b604082019050919050565b600060208201905081810360008301526133488161330c565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b60006133ab603883612bc0565b91506133b68261334f565b604082019050919050565b600060208201905081810360008301526133da8161339e565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b600061343d603183612bc0565b9150613448826133e1565b604082019050919050565b6000602082019050818103600083015261346c81613430565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006134a9602083612bc0565b91506134b482613473565b602082019050919050565b600060208201905081810360008301526134d88161349c565b9050919050565b6134e881612f62565b82525050565b600060208201905061350360008301846134df565b92915050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b6000613565602983612bc0565b915061357082613509565b604082019050919050565b6000602082019050818103600083015261359481613558565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b60006135f7602a83612bc0565b91506136028261359b565b604082019050919050565b60006020820190508181036000830152613626816135ea565b9050919050565b7f5472616e73616374696f6e2076616c756520646964206e6f7420657175616c2060008201527f746865206d696e74207072696365000000000000000000000000000000000000602082015250565b6000613689602e83612bc0565b91506136948261362d565b604082019050919050565b600060208201905081810360008301526136b88161367c565b9050919050565b7f45524337323155524953746f726167653a2055524920717565727920666f722060008201527f6e6f6e6578697374656e7420746f6b656e000000000000000000000000000000602082015250565b600061371b603183612bc0565b9150613726826136bf565b604082019050919050565b6000602082019050818103600083015261374a8161370e565b9050919050565b600081905092915050565b600061376782612bb5565b6137718185613751565b9350613781818560208601612bd1565b80840191505092915050565b6000613799828561375c565b91506137a5828461375c565b91508190509392505050565b6000815190506137c081612c70565b92915050565b6000602082840312156137dc576137db612abc565b5b60006137ea848285016137b1565b91505092915050565b7f4672656520746f6b656e73207265616368656420746f207468656972206c696d60008201527f6974000000000000000000000000000000000000000000000000000000000000602082015250565b600061384f602283612bc0565b915061385a826137f3565b604082019050919050565b6000602082019050818103600083015261387e81613842565b9050919050565b7f4672656520746f6b656e20697320616c7265616479206d696e74656420666f7260008201527f2074686973207573657200000000000000000000000000000000000000000000602082015250565b60006138e1602a83612bc0565b91506138ec82613885565b604082019050919050565b60006020820190508181036000830152613910816138d4565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613973602683612bc0565b915061397e82613917565b604082019050919050565b600060208201905081810360008301526139a281613966565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000613a05602c83612bc0565b9150613a10826139a9565b604082019050919050565b60006020820190508181036000830152613a34816139f8565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b6000613a97602983612bc0565b9150613aa282613a3b565b604082019050919050565b60006020820190508181036000830152613ac681613a8a565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000613b29602483612bc0565b9150613b3482613acd565b604082019050919050565b60006020820190508181036000830152613b5881613b1c565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613b9982612b81565b9150613ba483612b81565b925082821015613bb757613bb6613b5f565b5b828203905092915050565b6000613bcd82612b81565b9150613bd883612b81565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613c0d57613c0c613b5f565b5b828201905092915050565b7f4d617820737570706c7920726561636865640000000000000000000000000000600082015250565b6000613c4e601283612bc0565b9150613c5982613c18565b602082019050919050565b60006020820190508181036000830152613c7d81613c41565b9050919050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b6000613cba600583613751565b9150613cc582613c84565b600582019050919050565b6000613cdc828461375c565b9150613ce782613cad565b915081905092915050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000613d28601983612bc0565b9150613d3382613cf2565b602082019050919050565b60006020820190508181036000830152613d5781613d1b565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000613dba603283612bc0565b9150613dc582613d5e565b604082019050919050565b60006020820190508181036000830152613de981613dad565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000613e4c602f83612bc0565b9150613e5782613df0565b604082019050919050565b60006020820190508181036000830152613e7b81613e3f565b9050919050565b6000613e8d82612b81565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613ec057613ebf613b5f565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613f0582612b81565b9150613f1083612b81565b925082613f2057613f1f613ecb565b5b828204905092915050565b6000613f3682612b81565b9150613f4183612b81565b925082613f5157613f50613ecb565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60008201527f6578697374656e7420746f6b656e000000000000000000000000000000000000602082015250565b6000613fe7602e83612bc0565b9150613ff282613f8b565b604082019050919050565b6000602082019050818103600083015261401681613fda565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006140448261401d565b61404e8185614028565b935061405e818560208601612bd1565b61406781612c04565b840191505092915050565b60006080820190506140876000830187612cfb565b6140946020830186612cfb565b6140a16040830185612b8b565b81810360608301526140b38184614039565b905095945050505050565b6000815190506140cd81612af2565b92915050565b6000602082840312156140e9576140e8612abc565b5b60006140f7848285016140be565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000614136602083612bc0565b915061414182614100565b602082019050919050565b6000602082019050818103600083015261416581614129565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b60006141a2601c83612bc0565b91506141ad8261416c565b602082019050919050565b600060208201905081810360008301526141d181614195565b905091905056fea26469706673582212201ac00b04e6fc4e588a2a9706ed6320611413748f5c83e3bc7aff4ce03625ea2664736f6c634300080b0033

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

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

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