ETH Price: $2,045.96 (+0.47%)

Contract

0x575D9A2eA50cb2e33fd2C52AE87e6259E55FB11B
 

Overview

ETH Balance

0.543396226415094342 ETH

Eth Value

$1,111.76 (@ $2,045.96/ETH)

Token Holdings

More Info

Private Name Tags

TokenTracker

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Release201706142024-06-25 18:53:35624 days ago1719341615IN
0x575D9A2e...9E55FB11B
0 ETH0.000527218.20682299
Release173304962023-05-24 17:21:231022 days ago1684948883IN
0x575D9A2e...9E55FB11B
0 ETH0.00394961.47169284
Safe Transfer Fr...162005142022-12-16 23:24:111181 days ago1671233051IN
0x575D9A2e...9E55FB11B
0 ETH0.0016875927.38438559
Release160710672022-11-28 21:06:591199 days ago1669669619IN
0x575D9A2e...9E55FB11B
0 ETH0.0005542611.75768361
Transfer From151506942022-07-16 1:16:301335 days ago1657934190IN
0x575D9A2e...9E55FB11B
0 ETH0.0006675110.51335338
Transfer From151425282022-07-14 18:56:361336 days ago1657824996IN
0x575D9A2e...9E55FB11B
0 ETH0.002507460.28572585
Transfer From151425242022-07-14 18:55:371336 days ago1657824937IN
0x575D9A2e...9E55FB11B
0 ETH0.0035348155.67345377
Transfer From151424252022-07-14 18:32:281336 days ago1657823548IN
0x575D9A2e...9E55FB11B
0 ETH0.003043373.1705323
Transfer From150914212022-07-06 21:29:541344 days ago1657142994IN
0x575D9A2e...9E55FB11B
0 ETH0.0005628913.53364829
Transfer From150910432022-07-06 20:12:041344 days ago1657138324IN
0x575D9A2e...9E55FB11B
0 ETH0.0013406728.89874329
Release150751712022-07-04 9:25:231346 days ago1656926723IN
0x575D9A2e...9E55FB11B
0 ETH0.0007160315.18922638
Mint150742552022-07-04 6:02:031346 days ago1656914523IN
0x575D9A2e...9E55FB11B
0.18 ETH0.0015456318.47190515
Transfer From150728942022-07-04 0:46:421347 days ago1656895602IN
0x575D9A2e...9E55FB11B
0 ETH0.0005648212.17509855
Transfer From150726252022-07-03 23:43:111347 days ago1656891791IN
0x575D9A2e...9E55FB11B
0 ETH0.0007863312.38474938
Mint150599392022-07-02 1:00:481349 days ago1656723648IN
0x575D9A2e...9E55FB11B
0.18 ETH0.0020084724.00332135
Mint150534692022-07-01 0:50:431350 days ago1656636643IN
0x575D9A2e...9E55FB11B
0.18 ETH0.0032486238.82436672
Mint150530772022-06-30 23:21:311350 days ago1656631291IN
0x575D9A2e...9E55FB11B
0.18 ETH0.0139049166.17757898
Mint150461832022-06-29 17:50:171351 days ago1656525017IN
0x575D9A2e...9E55FB11B
0.18 ETH0.0042205650.44000445
Mint150369982022-06-28 0:13:431353 days ago1656375223IN
0x575D9A2e...9E55FB11B
0.18 ETH0.0029640435.42333855
Release150367122022-06-27 22:55:111353 days ago1656370511IN
0x575D9A2e...9E55FB11B
0 ETH0.0034324853.43138593
Transfer From150366302022-06-27 22:36:391353 days ago1656369399IN
0x575D9A2e...9E55FB11B
0 ETH0.0028510244.90365239
Mint150190422022-06-24 15:46:181356 days ago1656085578IN
0x575D9A2e...9E55FB11B
0.18 ETH0.0043713952.24258193
Mint150167362022-06-24 5:32:441356 days ago1656048764IN
0x575D9A2e...9E55FB11B
0.18 ETH0.0015584718.6252946
Mint149766232022-06-17 2:04:321363 days ago1655431472IN
0x575D9A2e...9E55FB11B
0.18 ETH0.0042564263.93431325
Mint149765962022-06-17 1:59:041364 days ago1655431144IN
0x575D9A2e...9E55FB11B
0.18 ETH0.0026387239.6353484
View all transactions

Latest 6 internal transactions

Advanced mode:
Parent Transaction Hash Method Block
From
To
Transfer201706142024-06-25 18:53:35624 days ago1719341615
0x575D9A2e...9E55FB11B
1.29056603 ETH
Transfer173304962023-05-24 17:21:231022 days ago1684948883
0x575D9A2e...9E55FB11B
1.29056603 ETH
Transfer160710672022-11-28 21:06:591199 days ago1669669619
0x575D9A2e...9E55FB11B
0.07132075 ETH
Transfer150751712022-07-04 9:25:231346 days ago1656926723
0x575D9A2e...9E55FB11B
0.1426415 ETH
Transfer150367122022-06-27 22:55:111353 days ago1656370511
0x575D9A2e...9E55FB11B
0.16641509 ETH
-148797832022-05-31 16:38:571380 days ago1654015137
0x575D9A2e...9E55FB11B
0.09509433 ETH
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
NstyPass

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
/*


______  ___  ___  ____ _          _   _           _                               
|  _  \|_  | |  \/  (_) |        | \ | |         | |                              
| | | |  | | | .  . |_| | _____  |  \| | __ _ ___| |_ _   _                       
| | | |  | | | |\/| | | |/ / _ \ | . ` |/ _` / __| __| | | |                      
| |/ /\__/ / | |  | | |   <  __/ | |\  | (_| \__ \ |_| |_| |                      
|___/\____/  \_|  |_/_|_|\_\___| \_| \_/\__,_|___/\__|\__, |                      
                                                       __/ |                      
                                                      |___/                       
                                                                                  
                                                                                  
__  __                                                                            
\ \/ /                                                                            
 >  <                                                                             
/_/\_\                                                                            
                                                                                  
                                                                                  
______ _         _____                                                            
| ___ (_)       |_   _|                                                           
| |_/ /_  __ _    | |_ __ __ ___   __                                             
| ___ \ |/ _` |   | | '__/ _` \ \ / /                                             
| |_/ / | (_| |   | | | | (_| |\ V /                                              
\____/|_|\__, |   \_/_|  \__,_| \_/                                               
          __/ |                                                                   
         |___/                                                                    
__   __                                                                           
\ \ / /                                                                           
 \ V /                                                                            
 /   \                                                                            
/ /^\ \                                                                           
\/   \/                                                                           
                                                                                  
                                                                                  
 _____ _            _               _     _____ _            ______       _       
|_   _| |          | |             | |   |  __ (_)           | ___ \     | |      
  | | | |__   ___  | |     __ _ ___| |_  | |  \/_  __ _  __ _| |_/ /_   _| |_ ___ 
  | | | '_ \ / _ \ | |    / _` / __| __| | | __| |/ _` |/ _` | ___ \ | | | __/ _ \
  | | | | | |  __/ | |___| (_| \__ \ |_  | |_\ \ | (_| | (_| | |_/ / |_| | ||  __/
  \_/ |_| |_|\___| \_____/\__,_|___/\__|  \____/_|\__, |\__,_\____/ \__, |\__\___|
                                                   __/ |             __/ |        
                                                  |___/             |___/                                     
                                                                                                                                                                     
 */

import "@openzeppelin/contracts/finance/PaymentSplitter.sol";
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/access/Ownable.sol";

contract NstyPass is ERC721, PaymentSplitter, Ownable {
    using Counters for Counters.Counter;
    Counters.Counter private supply;
    uint256 public cost = 0.18 ether;
    uint256 public maxSupply = 160;
    uint256 public maxMintAmountPerTx = 3;
    bool public paused = true;
    string public uriPrefix;

    constructor(
        string memory name,
        string memory symbol,
        string memory baseURI,
        address[] memory payees,
        uint256[] memory shares
    ) ERC721(name, symbol) PaymentSplitter(payees, shares) {
        uriPrefix = baseURI;
    }

    modifier mintCompliance(uint256 _mintAmount) {
        require(
            _mintAmount > 0 && _mintAmount <= maxMintAmountPerTx,
            "Invalid mint amount!"
        );
        require(
            supply.current() + _mintAmount <= maxSupply,
            "Max supply exceeded!"
        );
        require(!paused, "The contract is paused!");
        _;
    }

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

    function mint(uint256 _mintAmount)
        public
        payable
        mintCompliance(_mintAmount)
    {
        require(msg.value >= cost * _mintAmount, "Insufficient funds!");
        _mintLoop(msg.sender, _mintAmount);
    }

    function setPaused(bool _state) public onlyOwner {
        paused = _state;
    }

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

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

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

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (finance/PaymentSplitter.sol)

pragma solidity ^0.8.0;

import "../token/ERC20/utils/SafeERC20.sol";
import "../utils/Address.sol";
import "../utils/Context.sol";

/**
 * @title PaymentSplitter
 * @dev This contract allows to split Ether payments among a group of accounts. The sender does not need to be aware
 * that the Ether will be split in this way, since it is handled transparently by the contract.
 *
 * The split can be in equal parts or in any other arbitrary proportion. The way this is specified is by assigning each
 * account to a number of shares. Of all the Ether that this contract receives, each account will then be able to claim
 * an amount proportional to the percentage of total shares they were assigned.
 *
 * `PaymentSplitter` follows a _pull payment_ model. This means that payments are not automatically forwarded to the
 * accounts but kept in this contract, and the actual transfer is triggered as a separate step by calling the {release}
 * function.
 *
 * NOTE: This contract assumes that ERC20 tokens will behave similarly to native tokens (Ether). Rebasing tokens, and
 * tokens that apply fees during transfers, are likely to not be supported as expected. If in doubt, we encourage you
 * to run tests before sending real value to this contract.
 */
contract PaymentSplitter is Context {
    event PayeeAdded(address account, uint256 shares);
    event PaymentReleased(address to, uint256 amount);
    event ERC20PaymentReleased(IERC20 indexed token, address to, uint256 amount);
    event PaymentReceived(address from, uint256 amount);

    uint256 private _totalShares;
    uint256 private _totalReleased;

    mapping(address => uint256) private _shares;
    mapping(address => uint256) private _released;
    address[] private _payees;

    mapping(IERC20 => uint256) private _erc20TotalReleased;
    mapping(IERC20 => mapping(address => uint256)) private _erc20Released;

    /**
     * @dev Creates an instance of `PaymentSplitter` where each account in `payees` is assigned the number of shares at
     * the matching position in the `shares` array.
     *
     * All addresses in `payees` must be non-zero. Both arrays must have the same non-zero length, and there must be no
     * duplicates in `payees`.
     */
    constructor(address[] memory payees, uint256[] memory shares_) payable {
        require(payees.length == shares_.length, "PaymentSplitter: payees and shares length mismatch");
        require(payees.length > 0, "PaymentSplitter: no payees");

        for (uint256 i = 0; i < payees.length; i++) {
            _addPayee(payees[i], shares_[i]);
        }
    }

    /**
     * @dev The Ether received will be logged with {PaymentReceived} events. Note that these events are not fully
     * reliable: it's possible for a contract to receive Ether without triggering this function. This only affects the
     * reliability of the events, and not the actual splitting of Ether.
     *
     * To learn more about this see the Solidity documentation for
     * https://solidity.readthedocs.io/en/latest/contracts.html#fallback-function[fallback
     * functions].
     */
    receive() external payable virtual {
        emit PaymentReceived(_msgSender(), msg.value);
    }

    /**
     * @dev Getter for the total shares held by payees.
     */
    function totalShares() public view returns (uint256) {
        return _totalShares;
    }

    /**
     * @dev Getter for the total amount of Ether already released.
     */
    function totalReleased() public view returns (uint256) {
        return _totalReleased;
    }

    /**
     * @dev Getter for the total amount of `token` already released. `token` should be the address of an IERC20
     * contract.
     */
    function totalReleased(IERC20 token) public view returns (uint256) {
        return _erc20TotalReleased[token];
    }

    /**
     * @dev Getter for the amount of shares held by an account.
     */
    function shares(address account) public view returns (uint256) {
        return _shares[account];
    }

    /**
     * @dev Getter for the amount of Ether already released to a payee.
     */
    function released(address account) public view returns (uint256) {
        return _released[account];
    }

    /**
     * @dev Getter for the amount of `token` tokens already released to a payee. `token` should be the address of an
     * IERC20 contract.
     */
    function released(IERC20 token, address account) public view returns (uint256) {
        return _erc20Released[token][account];
    }

    /**
     * @dev Getter for the address of the payee number `index`.
     */
    function payee(uint256 index) public view returns (address) {
        return _payees[index];
    }

    /**
     * @dev Triggers a transfer to `account` of the amount of Ether they are owed, according to their percentage of the
     * total shares and their previous withdrawals.
     */
    function release(address payable account) public virtual {
        require(_shares[account] > 0, "PaymentSplitter: account has no shares");

        uint256 totalReceived = address(this).balance + totalReleased();
        uint256 payment = _pendingPayment(account, totalReceived, released(account));

        require(payment != 0, "PaymentSplitter: account is not due payment");

        _released[account] += payment;
        _totalReleased += payment;

        Address.sendValue(account, payment);
        emit PaymentReleased(account, payment);
    }

    /**
     * @dev Triggers a transfer to `account` of the amount of `token` tokens they are owed, according to their
     * percentage of the total shares and their previous withdrawals. `token` must be the address of an IERC20
     * contract.
     */
    function release(IERC20 token, address account) public virtual {
        require(_shares[account] > 0, "PaymentSplitter: account has no shares");

        uint256 totalReceived = token.balanceOf(address(this)) + totalReleased(token);
        uint256 payment = _pendingPayment(account, totalReceived, released(token, account));

        require(payment != 0, "PaymentSplitter: account is not due payment");

        _erc20Released[token][account] += payment;
        _erc20TotalReleased[token] += payment;

        SafeERC20.safeTransfer(token, account, payment);
        emit ERC20PaymentReleased(token, account, payment);
    }

    /**
     * @dev internal logic for computing the pending payment of an `account` given the token historical balances and
     * already released amounts.
     */
    function _pendingPayment(
        address account,
        uint256 totalReceived,
        uint256 alreadyReleased
    ) private view returns (uint256) {
        return (totalReceived * _shares[account]) / _totalShares - alreadyReleased;
    }

    /**
     * @dev Add a new payee to the contract.
     * @param account The address of the payee to add.
     * @param shares_ The number of shares owned by the payee.
     */
    function _addPayee(address account, uint256 shares_) private {
        require(account != address(0), "PaymentSplitter: account is the zero address");
        require(shares_ > 0, "PaymentSplitter: shares are 0");
        require(_shares[account] == 0, "PaymentSplitter: account already has shares");

        _payees.push(account);
        _shares[account] = shares_;
        _totalShares = _totalShares + shares_;
        emit PayeeAdded(account, shares_);
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (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 overridden 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 || isApprovedForAll(owner, spender) || getApproved(tokenId) == 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);

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

        _afterTokenTransfer(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 from incorrect owner");
        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);

        _afterTokenTransfer(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 {}

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}
}

// 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;
    }
}

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

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/utils/SafeERC20.sol)

pragma solidity ^0.8.0;

import "../IERC20.sol";
import "../../../utils/Address.sol";

/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using Address for address;

    function safeTransfer(
        IERC20 token,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    function safeTransferFrom(
        IERC20 token,
        address from,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

    /**
     * @dev Deprecated. This function has issues similar to the ones found in
     * {IERC20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        require(
            (value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    function safeIncreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        uint256 newAllowance = token.allowance(address(this), spender) + value;
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        unchecked {
            uint256 oldAllowance = token.allowance(address(this), spender);
            require(oldAllowance >= value, "SafeERC20: decreased allowance below zero");
            uint256 newAllowance = oldAllowance - value;
            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
        }
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
        if (returndata.length > 0) {
            // Return data is optional
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}

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

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// 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;
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);

    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `from` to `to` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) external returns (bool);
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (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`.
     *
     * 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;

    /**
     * @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 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 the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

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

File 11 of 15 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (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 `IERC721Receiver.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

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

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

// 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;
    }
}

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

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"string","name":"baseURI","type":"string"},{"internalType":"address[]","name":"payees","type":"address[]"},{"internalType":"uint256[]","name":"shares","type":"uint256[]"}],"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":"contract IERC20","name":"token","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"ERC20PaymentReleased","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":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"shares","type":"uint256"}],"name":"PayeeAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReceived","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReleased","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":[{"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":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintAmountPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"payee","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"account","type":"address"}],"name":"release","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"account","type":"address"}],"name":"release","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"account","type":"address"}],"name":"released","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"released","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":"bool","name":"_state","type":"bool"}],"name":"setPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"shares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"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":[{"internalType":"contract IERC20","name":"token","type":"address"}],"name":"totalReleased","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalReleased","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalShares","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":[],"name":"uriPrefix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

608060405267027f7d0bdb920000600f5560a060105560036011556001601260006101000a81548160ff0219169083151502179055503480156200004257600080fd5b50604051620056d7380380620056d78339818101604052810190620000689190620007c8565b8181868681600090805190602001906200008492919062000534565b5080600190805190602001906200009d92919062000534565b5050508051825114620000e7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620000de90620009fb565b60405180910390fd5b60008251116200012e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620001259062000a3f565b60405180910390fd5b60005b8251811015620001e557620001cf83828151811062000179577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151838381518110620001bb577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101516200022c60201b60201c565b8080620001dc9062000c8e565b91505062000131565b50505062000208620001fc6200046660201b60201c565b6200046e60201b60201c565b82601390805190602001906200022092919062000534565b50505050505062000eed565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156200029f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200029690620009d9565b60405180910390fd5b60008111620002e5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002dc9062000a61565b60405180910390fd5b6000600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054146200036a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003619062000a1d565b60405180910390fd5b600a829080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508060065462000421919062000b51565b6006819055507f40c340f65e17194d14ddddb073d3c9f888e3cb52b5aae0c6c7706b4fbc905fac82826040516200045a929190620009ac565b60405180910390a15050565b600033905090565b6000600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620005429062000c22565b90600052602060002090601f016020900481019282620005665760008555620005b2565b82601f106200058157805160ff1916838001178555620005b2565b82800160010185558215620005b2579182015b82811115620005b157825182559160200191906001019062000594565b5b509050620005c19190620005c5565b5090565b5b80821115620005e0576000816000905550600101620005c6565b5090565b6000620005fb620005f58462000aac565b62000a83565b905080838252602082019050828560208602820111156200061b57600080fd5b60005b858110156200064f578162000634888262000713565b8452602084019350602083019250506001810190506200061e565b5050509392505050565b6000620006706200066a8462000adb565b62000a83565b905080838252602082019050828560208602820111156200069057600080fd5b60005b85811015620006c45781620006a98882620007b1565b84526020840193506020830192505060018101905062000693565b5050509392505050565b6000620006e5620006df8462000b0a565b62000a83565b905082815260208101848484011115620006fe57600080fd5b6200070b84828562000bec565b509392505050565b600081519050620007248162000eb9565b92915050565b600082601f8301126200073c57600080fd5b81516200074e848260208601620005e4565b91505092915050565b600082601f8301126200076957600080fd5b81516200077b84826020860162000659565b91505092915050565b600082601f8301126200079657600080fd5b8151620007a8848260208601620006ce565b91505092915050565b600081519050620007c28162000ed3565b92915050565b600080600080600060a08688031215620007e157600080fd5b600086015167ffffffffffffffff811115620007fc57600080fd5b6200080a8882890162000784565b955050602086015167ffffffffffffffff8111156200082857600080fd5b620008368882890162000784565b945050604086015167ffffffffffffffff8111156200085457600080fd5b620008628882890162000784565b935050606086015167ffffffffffffffff8111156200088057600080fd5b6200088e888289016200072a565b925050608086015167ffffffffffffffff811115620008ac57600080fd5b620008ba8882890162000757565b9150509295509295909350565b620008d28162000bae565b82525050565b6000620008e7602c8362000b40565b9150620008f48262000d7a565b604082019050919050565b60006200090e60328362000b40565b91506200091b8262000dc9565b604082019050919050565b600062000935602b8362000b40565b9150620009428262000e18565b604082019050919050565b60006200095c601a8362000b40565b9150620009698262000e67565b602082019050919050565b600062000983601d8362000b40565b9150620009908262000e90565b602082019050919050565b620009a68162000be2565b82525050565b6000604082019050620009c36000830185620008c7565b620009d260208301846200099b565b9392505050565b60006020820190508181036000830152620009f481620008d8565b9050919050565b6000602082019050818103600083015262000a1681620008ff565b9050919050565b6000602082019050818103600083015262000a388162000926565b9050919050565b6000602082019050818103600083015262000a5a816200094d565b9050919050565b6000602082019050818103600083015262000a7c8162000974565b9050919050565b600062000a8f62000aa2565b905062000a9d828262000c58565b919050565b6000604051905090565b600067ffffffffffffffff82111562000aca5762000ac962000d3a565b5b602082029050602081019050919050565b600067ffffffffffffffff82111562000af95762000af862000d3a565b5b602082029050602081019050919050565b600067ffffffffffffffff82111562000b285762000b2762000d3a565b5b62000b338262000d69565b9050602081019050919050565b600082825260208201905092915050565b600062000b5e8262000be2565b915062000b6b8362000be2565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111562000ba35762000ba262000cdc565b5b828201905092915050565b600062000bbb8262000bc2565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60005b8381101562000c0c57808201518184015260208101905062000bef565b8381111562000c1c576000848401525b50505050565b6000600282049050600182168062000c3b57607f821691505b6020821081141562000c525762000c5162000d0b565b5b50919050565b62000c638262000d69565b810181811067ffffffffffffffff8211171562000c855762000c8462000d3a565b5b80604052505050565b600062000c9b8262000be2565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141562000cd15762000cd062000cdc565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f5061796d656e7453706c69747465723a206163636f756e74206973207468652060008201527f7a65726f20616464726573730000000000000000000000000000000000000000602082015250565b7f5061796d656e7453706c69747465723a2070617965657320616e64207368617260008201527f6573206c656e677468206d69736d617463680000000000000000000000000000602082015250565b7f5061796d656e7453706c69747465723a206163636f756e7420616c726561647960008201527f2068617320736861726573000000000000000000000000000000000000000000602082015250565b7f5061796d656e7453706c69747465723a206e6f20706179656573000000000000600082015250565b7f5061796d656e7453706c69747465723a20736861726573206172652030000000600082015250565b62000ec48162000bae565b811462000ed057600080fd5b50565b62000ede8162000be2565b811462000eea57600080fd5b50565b6147da8062000efd6000396000f3fe6080604052600436106101fd5760003560e01c806370a082311161010d578063a22cb465116100a0578063d5abeb011161006f578063d5abeb0114610783578063d79779b2146107ae578063e33b7de3146107eb578063e985e9c514610816578063f2fde38b1461085357610244565b8063a22cb465146106b7578063b88d4fde146106e0578063c87b56dd14610709578063ce7c2ac21461074657610244565b806394354fd0116100dc57806394354fd01461060857806395d89b41146106335780639852595c1461065e578063a0712d681461069b57610244565b806370a082311461054c578063715018a6146105895780638b83209b146105a05780638da5cb5b146105dd57610244565b806323b872dd1161019057806342842e0e1161015f57806342842e0e1461046757806348b75044146104905780635c975abb146104b957806362b99ad4146104e45780636352211e1461050f57610244565b806323b872dd146103bf5780633a98ef39146103e85780633ccfd60b14610413578063406072a91461042a57610244565b806313faede6116101cc57806313faede61461031757806316c38b3c1461034257806318160ddd1461036b578063191655871461039657610244565b806301ffc9a71461024957806306fdde0314610286578063081812fc146102b1578063095ea7b3146102ee57610244565b36610244577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be77061022b61087c565b3460405161023a9291906137ea565b60405180910390a1005b600080fd5b34801561025557600080fd5b50610270600480360381019061026b919061311d565b610884565b60405161027d9190613813565b60405180910390f35b34801561029257600080fd5b5061029b610966565b6040516102a8919061382e565b60405180910390f35b3480156102bd57600080fd5b506102d860048036038101906102d391906131d4565b6109f8565b6040516102e5919061375a565b60405180910390f35b3480156102fa57600080fd5b506103156004803603810190610310919061308f565b610a7d565b005b34801561032357600080fd5b5061032c610b95565b6040516103399190613bb0565b60405180910390f35b34801561034e57600080fd5b50610369600480360381019061036491906130cb565b610b9b565b005b34801561037757600080fd5b50610380610c34565b60405161038d9190613bb0565b60405180910390f35b3480156103a257600080fd5b506103bd60048036038101906103b89190612f24565b610c45565b005b3480156103cb57600080fd5b506103e660048036038101906103e19190612f89565b610df0565b005b3480156103f457600080fd5b506103fd610e50565b60405161040a9190613bb0565b60405180910390f35b34801561041f57600080fd5b50610428610e5a565b005b34801561043657600080fd5b50610451600480360381019061044c9190613198565b610f56565b60405161045e9190613bb0565b60405180910390f35b34801561047357600080fd5b5061048e60048036038101906104899190612f89565b610fdd565b005b34801561049c57600080fd5b506104b760048036038101906104b29190613198565b610ffd565b005b3480156104c557600080fd5b506104ce6112c5565b6040516104db9190613813565b60405180910390f35b3480156104f057600080fd5b506104f96112d8565b604051610506919061382e565b60405180910390f35b34801561051b57600080fd5b50610536600480360381019061053191906131d4565b611366565b604051610543919061375a565b60405180910390f35b34801561055857600080fd5b50610573600480360381019061056e9190612efb565b611418565b6040516105809190613bb0565b60405180910390f35b34801561059557600080fd5b5061059e6114d0565b005b3480156105ac57600080fd5b506105c760048036038101906105c291906131d4565b611558565b6040516105d4919061375a565b60405180910390f35b3480156105e957600080fd5b506105f26115c6565b6040516105ff919061375a565b60405180910390f35b34801561061457600080fd5b5061061d6115f0565b60405161062a9190613bb0565b60405180910390f35b34801561063f57600080fd5b506106486115f6565b604051610655919061382e565b60405180910390f35b34801561066a57600080fd5b5061068560048036038101906106809190612efb565b611688565b6040516106929190613bb0565b60405180910390f35b6106b560048036038101906106b091906131d4565b6116d1565b005b3480156106c357600080fd5b506106de60048036038101906106d99190613053565b61182a565b005b3480156106ec57600080fd5b5061070760048036038101906107029190612fd8565b611840565b005b34801561071557600080fd5b50610730600480360381019061072b91906131d4565b6118a2565b60405161073d919061382e565b60405180910390f35b34801561075257600080fd5b5061076d60048036038101906107689190612efb565b611949565b60405161077a9190613bb0565b60405180910390f35b34801561078f57600080fd5b50610798611992565b6040516107a59190613bb0565b60405180910390f35b3480156107ba57600080fd5b506107d560048036038101906107d0919061316f565b611998565b6040516107e29190613bb0565b60405180910390f35b3480156107f757600080fd5b506108006119e1565b60405161080d9190613bb0565b60405180910390f35b34801561082257600080fd5b5061083d60048036038101906108389190612f4d565b6119eb565b60405161084a9190613813565b60405180910390f35b34801561085f57600080fd5b5061087a60048036038101906108759190612efb565b611a7f565b005b600033905090565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061094f57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061095f575061095e82611b77565b5b9050919050565b60606000805461097590613e94565b80601f01602080910402602001604051908101604052809291908181526020018280546109a190613e94565b80156109ee5780601f106109c3576101008083540402835291602001916109ee565b820191906000526020600020905b8154815290600101906020018083116109d157829003601f168201915b5050505050905090565b6000610a0382611be1565b610a42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a3990613a70565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a8882611366565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610af9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610af090613af0565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b1861087c565b73ffffffffffffffffffffffffffffffffffffffff161480610b475750610b4681610b4161087c565b6119eb565b5b610b86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b7d906139f0565b60405180910390fd5b610b908383611c4d565b505050565b600f5481565b610ba361087c565b73ffffffffffffffffffffffffffffffffffffffff16610bc16115c6565b73ffffffffffffffffffffffffffffffffffffffff1614610c17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c0e90613a90565b60405180910390fd5b80601260006101000a81548160ff02191690831515021790555050565b6000610c40600e611d06565b905090565b6000600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411610cc7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cbe906138f0565b60405180910390fd5b6000610cd16119e1565b47610cdc9190613c6f565b90506000610cf38383610cee86611688565b611d14565b90506000811415610d39576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d30906139d0565b60405180910390fd5b80600960008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610d889190613c6f565b925050819055508060076000828254610da19190613c6f565b92505081905550610db28382611d82565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b0568382604051610de3929190613775565b60405180910390a1505050565b610e01610dfb61087c565b82611e76565b610e40576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3790613b30565b60405180910390fd5b610e4b838383611f54565b505050565b6000600654905090565b610e6261087c565b73ffffffffffffffffffffffffffffffffffffffff16610e806115c6565b73ffffffffffffffffffffffffffffffffffffffff1614610ed6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ecd90613a90565b60405180910390fd5b6000610ee06115c6565b73ffffffffffffffffffffffffffffffffffffffff1647604051610f0390613745565b60006040518083038185875af1925050503d8060008114610f40576040519150601f19603f3d011682016040523d82523d6000602084013e610f45565b606091505b5050905080610f5357600080fd5b50565b6000600c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b610ff883838360405180602001604052806000815250611840565b505050565b6000600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541161107f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611076906138f0565b60405180910390fd5b600061108a83611998565b8373ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016110c3919061375a565b60206040518083038186803b1580156110db57600080fd5b505afa1580156110ef573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061111391906131fd565b61111d9190613c6f565b9050600061113583836111308787610f56565b611d14565b9050600081141561117b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611172906139d0565b60405180910390fd5b80600c60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546112079190613c6f565b9250508190555080600b60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461125d9190613c6f565b9250508190555061126f8484836121bb565b8373ffffffffffffffffffffffffffffffffffffffff167f3be5b7a71e84ed12875d241991c70855ac5817d847039e17a9d895c1ceb0f18a84836040516112b79291906137ea565b60405180910390a250505050565b601260009054906101000a900460ff1681565b601380546112e590613e94565b80601f016020809104026020016040519081016040528092919081815260200182805461131190613e94565b801561135e5780601f106113335761010080835404028352916020019161135e565b820191906000526020600020905b81548152906001019060200180831161134157829003601f168201915b505050505081565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561140f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161140690613a30565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611489576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148090613a10565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6114d861087c565b73ffffffffffffffffffffffffffffffffffffffff166114f66115c6565b73ffffffffffffffffffffffffffffffffffffffff161461154c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154390613a90565b60405180910390fd5b6115566000612241565b565b6000600a8281548110611594577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60115481565b60606001805461160590613e94565b80601f016020809104026020016040519081016040528092919081815260200182805461163190613e94565b801561167e5780601f106116535761010080835404028352916020019161167e565b820191906000526020600020905b81548152906001019060200180831161166157829003601f168201915b5050505050905090565b6000600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b806000811180156116e457506011548111155b611723576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161171a906138d0565b60405180910390fd5b60105481611731600e611d06565b61173b9190613c6f565b111561177c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161177390613b10565b60405180910390fd5b601260009054906101000a900460ff16156117cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117c390613ab0565b60405180910390fd5b81600f546117da9190613cf6565b34101561181c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161181390613b90565b60405180910390fd5b6118263383612307565b5050565b61183c61183561087c565b8383612347565b5050565b61185161184b61087c565b83611e76565b611890576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161188790613b30565b60405180910390fd5b61189c848484846124b4565b50505050565b60606118ad82611be1565b6118ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118e390613ad0565b60405180910390fd5b60006118f6612510565b905060008151116119165760405180602001604052806000815250611941565b80611920846125a2565b604051602001611931929190613721565b6040516020818303038152906040525b915050919050565b6000600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60105481565b6000600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000600754905090565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611a8761087c565b73ffffffffffffffffffffffffffffffffffffffff16611aa56115c6565b73ffffffffffffffffffffffffffffffffffffffff1614611afb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611af290613a90565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611b6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b6290613870565b60405180910390fd5b611b7481612241565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611cc083611366565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600081600001549050919050565b600081600654600860008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205485611d659190613cf6565b611d6f9190613cc5565b611d799190613d50565b90509392505050565b80471015611dc5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dbc90613970565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff1682604051611deb90613745565b60006040518083038185875af1925050503d8060008114611e28576040519150601f19603f3d011682016040523d82523d6000602084013e611e2d565b606091505b5050905080611e71576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e6890613950565b60405180910390fd5b505050565b6000611e8182611be1565b611ec0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eb7906139b0565b60405180910390fd5b6000611ecb83611366565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611f0d5750611f0c81856119eb565b5b80611f4b57508373ffffffffffffffffffffffffffffffffffffffff16611f33846109f8565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611f7482611366565b73ffffffffffffffffffffffffffffffffffffffff1614611fca576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fc190613890565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561203a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161203190613910565b60405180910390fd5b61204583838361274f565b612050600082611c4d565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546120a09190613d50565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546120f79190613c6f565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46121b6838383612754565b505050565b61223c8363a9059cbb60e01b84846040516024016121da9291906137ea565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050612759565b505050565b6000600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60005b818110156123425761231c600e612820565b61232f8361232a600e611d06565b612836565b808061233a90613ef7565b91505061230a565b505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156123b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123ad90613930565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516124a79190613813565b60405180910390a3505050565b6124bf848484611f54565b6124cb84848484612854565b61250a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161250190613850565b60405180910390fd5b50505050565b60606013805461251f90613e94565b80601f016020809104026020016040519081016040528092919081815260200182805461254b90613e94565b80156125985780601f1061256d57610100808354040283529160200191612598565b820191906000526020600020905b81548152906001019060200180831161257b57829003601f168201915b5050505050905090565b606060008214156125ea576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061274a565b600082905060005b6000821461261c57808061260590613ef7565b915050600a826126159190613cc5565b91506125f2565b60008167ffffffffffffffff81111561265e577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156126905781602001600182028036833780820191505090505b5090505b60008514612743576001826126a99190613d50565b9150600a856126b89190613f40565b60306126c49190613c6f565b60f81b818381518110612700577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561273c9190613cc5565b9450612694565b8093505050505b919050565b505050565b505050565b60006127bb826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166129eb9092919063ffffffff16565b905060008151111561281b57808060200190518101906127db91906130f4565b61281a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161281190613b70565b60405180910390fd5b5b505050565b6001816000016000828254019250508190555050565b612850828260405180602001604052806000815250612a03565b5050565b60006128758473ffffffffffffffffffffffffffffffffffffffff16612a5e565b156129de578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261289e61087c565b8786866040518563ffffffff1660e01b81526004016128c0949392919061379e565b602060405180830381600087803b1580156128da57600080fd5b505af192505050801561290b57506040513d601f19601f820116820180604052508101906129089190613146565b60015b61298e573d806000811461293b576040519150601f19603f3d011682016040523d82523d6000602084013e612940565b606091505b50600081511415612986576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161297d90613850565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506129e3565b600190505b949350505050565b60606129fa8484600085612a81565b90509392505050565b612a0d8383612b95565b612a1a6000848484612854565b612a59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a5090613850565b60405180910390fd5b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b606082471015612ac6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612abd90613990565b60405180910390fd5b612acf85612a5e565b612b0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b0590613b50565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff168587604051612b37919061370a565b60006040518083038185875af1925050503d8060008114612b74576040519150601f19603f3d011682016040523d82523d6000602084013e612b79565b606091505b5091509150612b89828286612d6f565b92505050949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612c05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bfc90613a50565b60405180910390fd5b612c0e81611be1565b15612c4e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c45906138b0565b60405180910390fd5b612c5a6000838361274f565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612caa9190613c6f565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612d6b60008383612754565b5050565b60608315612d7f57829050612dcf565b600083511115612d925782518084602001fd5b816040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dc6919061382e565b60405180910390fd5b9392505050565b6000612de9612de484613bf0565b613bcb565b905082815260208101848484011115612e0157600080fd5b612e0c848285613e52565b509392505050565b600081359050612e238161471a565b92915050565b600081359050612e3881614731565b92915050565b600081359050612e4d81614748565b92915050565b600081519050612e6281614748565b92915050565b600081359050612e778161475f565b92915050565b600081519050612e8c8161475f565b92915050565b600082601f830112612ea357600080fd5b8135612eb3848260208601612dd6565b91505092915050565b600081359050612ecb81614776565b92915050565b600081359050612ee08161478d565b92915050565b600081519050612ef58161478d565b92915050565b600060208284031215612f0d57600080fd5b6000612f1b84828501612e14565b91505092915050565b600060208284031215612f3657600080fd5b6000612f4484828501612e29565b91505092915050565b60008060408385031215612f6057600080fd5b6000612f6e85828601612e14565b9250506020612f7f85828601612e14565b9150509250929050565b600080600060608486031215612f9e57600080fd5b6000612fac86828701612e14565b9350506020612fbd86828701612e14565b9250506040612fce86828701612ed1565b9150509250925092565b60008060008060808587031215612fee57600080fd5b6000612ffc87828801612e14565b945050602061300d87828801612e14565b935050604061301e87828801612ed1565b925050606085013567ffffffffffffffff81111561303b57600080fd5b61304787828801612e92565b91505092959194509250565b6000806040838503121561306657600080fd5b600061307485828601612e14565b925050602061308585828601612e3e565b9150509250929050565b600080604083850312156130a257600080fd5b60006130b085828601612e14565b92505060206130c185828601612ed1565b9150509250929050565b6000602082840312156130dd57600080fd5b60006130eb84828501612e3e565b91505092915050565b60006020828403121561310657600080fd5b600061311484828501612e53565b91505092915050565b60006020828403121561312f57600080fd5b600061313d84828501612e68565b91505092915050565b60006020828403121561315857600080fd5b600061316684828501612e7d565b91505092915050565b60006020828403121561318157600080fd5b600061318f84828501612ebc565b91505092915050565b600080604083850312156131ab57600080fd5b60006131b985828601612ebc565b92505060206131ca85828601612e14565b9150509250929050565b6000602082840312156131e657600080fd5b60006131f484828501612ed1565b91505092915050565b60006020828403121561320f57600080fd5b600061321d84828501612ee6565b91505092915050565b61322f81613e1c565b82525050565b61323e81613d84565b82525050565b61324d81613da8565b82525050565b600061325e82613c21565b6132688185613c37565b9350613278818560208601613e61565b6132818161402d565b840191505092915050565b600061329782613c21565b6132a18185613c48565b93506132b1818560208601613e61565b80840191505092915050565b60006132c882613c2c565b6132d28185613c53565b93506132e2818560208601613e61565b6132eb8161402d565b840191505092915050565b600061330182613c2c565b61330b8185613c64565b935061331b818560208601613e61565b80840191505092915050565b6000613334603283613c53565b915061333f8261403e565b604082019050919050565b6000613357602683613c53565b91506133628261408d565b604082019050919050565b600061337a602583613c53565b9150613385826140dc565b604082019050919050565b600061339d601c83613c53565b91506133a88261412b565b602082019050919050565b60006133c0601483613c53565b91506133cb82614154565b602082019050919050565b60006133e3602683613c53565b91506133ee8261417d565b604082019050919050565b6000613406602483613c53565b9150613411826141cc565b604082019050919050565b6000613429601983613c53565b91506134348261421b565b602082019050919050565b600061344c603a83613c53565b915061345782614244565b604082019050919050565b600061346f601d83613c53565b915061347a82614293565b602082019050919050565b6000613492602683613c53565b915061349d826142bc565b604082019050919050565b60006134b5602c83613c53565b91506134c08261430b565b604082019050919050565b60006134d8602b83613c53565b91506134e38261435a565b604082019050919050565b60006134fb603883613c53565b9150613506826143a9565b604082019050919050565b600061351e602a83613c53565b9150613529826143f8565b604082019050919050565b6000613541602983613c53565b915061354c82614447565b604082019050919050565b6000613564602083613c53565b915061356f82614496565b602082019050919050565b6000613587602c83613c53565b9150613592826144bf565b604082019050919050565b60006135aa602083613c53565b91506135b58261450e565b602082019050919050565b60006135cd601783613c53565b91506135d882614537565b602082019050919050565b60006135f0602f83613c53565b91506135fb82614560565b604082019050919050565b6000613613602183613c53565b915061361e826145af565b604082019050919050565b6000613636600083613c48565b9150613641826145fe565b600082019050919050565b6000613659601483613c53565b915061366482614601565b602082019050919050565b600061367c603183613c53565b91506136878261462a565b604082019050919050565b600061369f601d83613c53565b91506136aa82614679565b602082019050919050565b60006136c2602a83613c53565b91506136cd826146a2565b604082019050919050565b60006136e5601383613c53565b91506136f0826146f1565b602082019050919050565b61370481613e12565b82525050565b6000613716828461328c565b915081905092915050565b600061372d82856132f6565b915061373982846132f6565b91508190509392505050565b600061375082613629565b9150819050919050565b600060208201905061376f6000830184613235565b92915050565b600060408201905061378a6000830185613226565b61379760208301846136fb565b9392505050565b60006080820190506137b36000830187613235565b6137c06020830186613235565b6137cd60408301856136fb565b81810360608301526137df8184613253565b905095945050505050565b60006040820190506137ff6000830185613235565b61380c60208301846136fb565b9392505050565b60006020820190506138286000830184613244565b92915050565b6000602082019050818103600083015261384881846132bd565b905092915050565b6000602082019050818103600083015261386981613327565b9050919050565b600060208201905081810360008301526138898161334a565b9050919050565b600060208201905081810360008301526138a98161336d565b9050919050565b600060208201905081810360008301526138c981613390565b9050919050565b600060208201905081810360008301526138e9816133b3565b9050919050565b60006020820190508181036000830152613909816133d6565b9050919050565b60006020820190508181036000830152613929816133f9565b9050919050565b600060208201905081810360008301526139498161341c565b9050919050565b600060208201905081810360008301526139698161343f565b9050919050565b6000602082019050818103600083015261398981613462565b9050919050565b600060208201905081810360008301526139a981613485565b9050919050565b600060208201905081810360008301526139c9816134a8565b9050919050565b600060208201905081810360008301526139e9816134cb565b9050919050565b60006020820190508181036000830152613a09816134ee565b9050919050565b60006020820190508181036000830152613a2981613511565b9050919050565b60006020820190508181036000830152613a4981613534565b9050919050565b60006020820190508181036000830152613a6981613557565b9050919050565b60006020820190508181036000830152613a898161357a565b9050919050565b60006020820190508181036000830152613aa98161359d565b9050919050565b60006020820190508181036000830152613ac9816135c0565b9050919050565b60006020820190508181036000830152613ae9816135e3565b9050919050565b60006020820190508181036000830152613b0981613606565b9050919050565b60006020820190508181036000830152613b298161364c565b9050919050565b60006020820190508181036000830152613b498161366f565b9050919050565b60006020820190508181036000830152613b6981613692565b9050919050565b60006020820190508181036000830152613b89816136b5565b9050919050565b60006020820190508181036000830152613ba9816136d8565b9050919050565b6000602082019050613bc560008301846136fb565b92915050565b6000613bd5613be6565b9050613be18282613ec6565b919050565b6000604051905090565b600067ffffffffffffffff821115613c0b57613c0a613ffe565b5b613c148261402d565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000613c7a82613e12565b9150613c8583613e12565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613cba57613cb9613f71565b5b828201905092915050565b6000613cd082613e12565b9150613cdb83613e12565b925082613ceb57613cea613fa0565b5b828204905092915050565b6000613d0182613e12565b9150613d0c83613e12565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613d4557613d44613f71565b5b828202905092915050565b6000613d5b82613e12565b9150613d6683613e12565b925082821015613d7957613d78613f71565b5b828203905092915050565b6000613d8f82613df2565b9050919050565b6000613da182613df2565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6000613deb82613d84565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6000613e2782613e2e565b9050919050565b6000613e3982613e40565b9050919050565b6000613e4b82613df2565b9050919050565b82818337600083830152505050565b60005b83811015613e7f578082015181840152602081019050613e64565b83811115613e8e576000848401525b50505050565b60006002820490506001821680613eac57607f821691505b60208210811415613ec057613ebf613fcf565b5b50919050565b613ecf8261402d565b810181811067ffffffffffffffff82111715613eee57613eed613ffe565b5b80604052505050565b6000613f0282613e12565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613f3557613f34613f71565b5b600182019050919050565b6000613f4b82613e12565b9150613f5683613e12565b925082613f6657613f65613fa0565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f496e76616c6964206d696e7420616d6f756e7421000000000000000000000000600082015250565b7f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060008201527f7368617265730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060008201527f647565207061796d656e74000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f54686520636f6e74726163742069732070617573656421000000000000000000600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b50565b7f4d617820737570706c7920657863656564656421000000000000000000000000600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b7f496e73756666696369656e742066756e64732100000000000000000000000000600082015250565b61472381613d84565b811461472e57600080fd5b50565b61473a81613d96565b811461474557600080fd5b50565b61475181613da8565b811461475c57600080fd5b50565b61476881613db4565b811461477357600080fd5b50565b61477f81613de0565b811461478a57600080fd5b50565b61479681613e12565b81146147a157600080fd5b5056fea2646970667358221220ba40c98b8f0aa9f7b8f9174cf5bbcc90ade388d4691daca951168a529d3c4deb64736f6c6343000804003300000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000001800000000000000000000000000000000000000000000000000000000000000240000000000000000000000000000000000000000000000000000000000000000a4e6173747920506173730000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044e535459000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d664d4e6542325864736e69486b565a6a376275374d717366394a74317a4b5856385472797047486b455750342f000000000000000000000000000000000000000000000000000000000000000000000000000000000005000000000000000000000000f70eb1ab344d8066c4f74b125b7ab1e2404914e1000000000000000000000000f75f43709edaa31da32eaa5660194533f89e62d0000000000000000000000000e6249971c198c9471cbcdb6710139fc783ee44ab0000000000000000000000000aff155c5246d40a4dea995f16c59147402b434a000000000000000000000000827605d4bdf392696ff1e6f9ac1b3c3767e3a414000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000260000000000000000000000000000000000000000000000000000000000000026000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000000007

Deployed Bytecode

0x6080604052600436106101fd5760003560e01c806370a082311161010d578063a22cb465116100a0578063d5abeb011161006f578063d5abeb0114610783578063d79779b2146107ae578063e33b7de3146107eb578063e985e9c514610816578063f2fde38b1461085357610244565b8063a22cb465146106b7578063b88d4fde146106e0578063c87b56dd14610709578063ce7c2ac21461074657610244565b806394354fd0116100dc57806394354fd01461060857806395d89b41146106335780639852595c1461065e578063a0712d681461069b57610244565b806370a082311461054c578063715018a6146105895780638b83209b146105a05780638da5cb5b146105dd57610244565b806323b872dd1161019057806342842e0e1161015f57806342842e0e1461046757806348b75044146104905780635c975abb146104b957806362b99ad4146104e45780636352211e1461050f57610244565b806323b872dd146103bf5780633a98ef39146103e85780633ccfd60b14610413578063406072a91461042a57610244565b806313faede6116101cc57806313faede61461031757806316c38b3c1461034257806318160ddd1461036b578063191655871461039657610244565b806301ffc9a71461024957806306fdde0314610286578063081812fc146102b1578063095ea7b3146102ee57610244565b36610244577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be77061022b61087c565b3460405161023a9291906137ea565b60405180910390a1005b600080fd5b34801561025557600080fd5b50610270600480360381019061026b919061311d565b610884565b60405161027d9190613813565b60405180910390f35b34801561029257600080fd5b5061029b610966565b6040516102a8919061382e565b60405180910390f35b3480156102bd57600080fd5b506102d860048036038101906102d391906131d4565b6109f8565b6040516102e5919061375a565b60405180910390f35b3480156102fa57600080fd5b506103156004803603810190610310919061308f565b610a7d565b005b34801561032357600080fd5b5061032c610b95565b6040516103399190613bb0565b60405180910390f35b34801561034e57600080fd5b50610369600480360381019061036491906130cb565b610b9b565b005b34801561037757600080fd5b50610380610c34565b60405161038d9190613bb0565b60405180910390f35b3480156103a257600080fd5b506103bd60048036038101906103b89190612f24565b610c45565b005b3480156103cb57600080fd5b506103e660048036038101906103e19190612f89565b610df0565b005b3480156103f457600080fd5b506103fd610e50565b60405161040a9190613bb0565b60405180910390f35b34801561041f57600080fd5b50610428610e5a565b005b34801561043657600080fd5b50610451600480360381019061044c9190613198565b610f56565b60405161045e9190613bb0565b60405180910390f35b34801561047357600080fd5b5061048e60048036038101906104899190612f89565b610fdd565b005b34801561049c57600080fd5b506104b760048036038101906104b29190613198565b610ffd565b005b3480156104c557600080fd5b506104ce6112c5565b6040516104db9190613813565b60405180910390f35b3480156104f057600080fd5b506104f96112d8565b604051610506919061382e565b60405180910390f35b34801561051b57600080fd5b50610536600480360381019061053191906131d4565b611366565b604051610543919061375a565b60405180910390f35b34801561055857600080fd5b50610573600480360381019061056e9190612efb565b611418565b6040516105809190613bb0565b60405180910390f35b34801561059557600080fd5b5061059e6114d0565b005b3480156105ac57600080fd5b506105c760048036038101906105c291906131d4565b611558565b6040516105d4919061375a565b60405180910390f35b3480156105e957600080fd5b506105f26115c6565b6040516105ff919061375a565b60405180910390f35b34801561061457600080fd5b5061061d6115f0565b60405161062a9190613bb0565b60405180910390f35b34801561063f57600080fd5b506106486115f6565b604051610655919061382e565b60405180910390f35b34801561066a57600080fd5b5061068560048036038101906106809190612efb565b611688565b6040516106929190613bb0565b60405180910390f35b6106b560048036038101906106b091906131d4565b6116d1565b005b3480156106c357600080fd5b506106de60048036038101906106d99190613053565b61182a565b005b3480156106ec57600080fd5b5061070760048036038101906107029190612fd8565b611840565b005b34801561071557600080fd5b50610730600480360381019061072b91906131d4565b6118a2565b60405161073d919061382e565b60405180910390f35b34801561075257600080fd5b5061076d60048036038101906107689190612efb565b611949565b60405161077a9190613bb0565b60405180910390f35b34801561078f57600080fd5b50610798611992565b6040516107a59190613bb0565b60405180910390f35b3480156107ba57600080fd5b506107d560048036038101906107d0919061316f565b611998565b6040516107e29190613bb0565b60405180910390f35b3480156107f757600080fd5b506108006119e1565b60405161080d9190613bb0565b60405180910390f35b34801561082257600080fd5b5061083d60048036038101906108389190612f4d565b6119eb565b60405161084a9190613813565b60405180910390f35b34801561085f57600080fd5b5061087a60048036038101906108759190612efb565b611a7f565b005b600033905090565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061094f57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061095f575061095e82611b77565b5b9050919050565b60606000805461097590613e94565b80601f01602080910402602001604051908101604052809291908181526020018280546109a190613e94565b80156109ee5780601f106109c3576101008083540402835291602001916109ee565b820191906000526020600020905b8154815290600101906020018083116109d157829003601f168201915b5050505050905090565b6000610a0382611be1565b610a42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a3990613a70565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a8882611366565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610af9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610af090613af0565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b1861087c565b73ffffffffffffffffffffffffffffffffffffffff161480610b475750610b4681610b4161087c565b6119eb565b5b610b86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b7d906139f0565b60405180910390fd5b610b908383611c4d565b505050565b600f5481565b610ba361087c565b73ffffffffffffffffffffffffffffffffffffffff16610bc16115c6565b73ffffffffffffffffffffffffffffffffffffffff1614610c17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c0e90613a90565b60405180910390fd5b80601260006101000a81548160ff02191690831515021790555050565b6000610c40600e611d06565b905090565b6000600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411610cc7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cbe906138f0565b60405180910390fd5b6000610cd16119e1565b47610cdc9190613c6f565b90506000610cf38383610cee86611688565b611d14565b90506000811415610d39576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d30906139d0565b60405180910390fd5b80600960008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610d889190613c6f565b925050819055508060076000828254610da19190613c6f565b92505081905550610db28382611d82565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b0568382604051610de3929190613775565b60405180910390a1505050565b610e01610dfb61087c565b82611e76565b610e40576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3790613b30565b60405180910390fd5b610e4b838383611f54565b505050565b6000600654905090565b610e6261087c565b73ffffffffffffffffffffffffffffffffffffffff16610e806115c6565b73ffffffffffffffffffffffffffffffffffffffff1614610ed6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ecd90613a90565b60405180910390fd5b6000610ee06115c6565b73ffffffffffffffffffffffffffffffffffffffff1647604051610f0390613745565b60006040518083038185875af1925050503d8060008114610f40576040519150601f19603f3d011682016040523d82523d6000602084013e610f45565b606091505b5050905080610f5357600080fd5b50565b6000600c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b610ff883838360405180602001604052806000815250611840565b505050565b6000600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541161107f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611076906138f0565b60405180910390fd5b600061108a83611998565b8373ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016110c3919061375a565b60206040518083038186803b1580156110db57600080fd5b505afa1580156110ef573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061111391906131fd565b61111d9190613c6f565b9050600061113583836111308787610f56565b611d14565b9050600081141561117b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611172906139d0565b60405180910390fd5b80600c60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546112079190613c6f565b9250508190555080600b60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461125d9190613c6f565b9250508190555061126f8484836121bb565b8373ffffffffffffffffffffffffffffffffffffffff167f3be5b7a71e84ed12875d241991c70855ac5817d847039e17a9d895c1ceb0f18a84836040516112b79291906137ea565b60405180910390a250505050565b601260009054906101000a900460ff1681565b601380546112e590613e94565b80601f016020809104026020016040519081016040528092919081815260200182805461131190613e94565b801561135e5780601f106113335761010080835404028352916020019161135e565b820191906000526020600020905b81548152906001019060200180831161134157829003601f168201915b505050505081565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561140f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161140690613a30565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611489576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148090613a10565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6114d861087c565b73ffffffffffffffffffffffffffffffffffffffff166114f66115c6565b73ffffffffffffffffffffffffffffffffffffffff161461154c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154390613a90565b60405180910390fd5b6115566000612241565b565b6000600a8281548110611594577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60115481565b60606001805461160590613e94565b80601f016020809104026020016040519081016040528092919081815260200182805461163190613e94565b801561167e5780601f106116535761010080835404028352916020019161167e565b820191906000526020600020905b81548152906001019060200180831161166157829003601f168201915b5050505050905090565b6000600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b806000811180156116e457506011548111155b611723576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161171a906138d0565b60405180910390fd5b60105481611731600e611d06565b61173b9190613c6f565b111561177c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161177390613b10565b60405180910390fd5b601260009054906101000a900460ff16156117cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117c390613ab0565b60405180910390fd5b81600f546117da9190613cf6565b34101561181c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161181390613b90565b60405180910390fd5b6118263383612307565b5050565b61183c61183561087c565b8383612347565b5050565b61185161184b61087c565b83611e76565b611890576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161188790613b30565b60405180910390fd5b61189c848484846124b4565b50505050565b60606118ad82611be1565b6118ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118e390613ad0565b60405180910390fd5b60006118f6612510565b905060008151116119165760405180602001604052806000815250611941565b80611920846125a2565b604051602001611931929190613721565b6040516020818303038152906040525b915050919050565b6000600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60105481565b6000600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000600754905090565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611a8761087c565b73ffffffffffffffffffffffffffffffffffffffff16611aa56115c6565b73ffffffffffffffffffffffffffffffffffffffff1614611afb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611af290613a90565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611b6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b6290613870565b60405180910390fd5b611b7481612241565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611cc083611366565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600081600001549050919050565b600081600654600860008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205485611d659190613cf6565b611d6f9190613cc5565b611d799190613d50565b90509392505050565b80471015611dc5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dbc90613970565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff1682604051611deb90613745565b60006040518083038185875af1925050503d8060008114611e28576040519150601f19603f3d011682016040523d82523d6000602084013e611e2d565b606091505b5050905080611e71576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e6890613950565b60405180910390fd5b505050565b6000611e8182611be1565b611ec0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eb7906139b0565b60405180910390fd5b6000611ecb83611366565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611f0d5750611f0c81856119eb565b5b80611f4b57508373ffffffffffffffffffffffffffffffffffffffff16611f33846109f8565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611f7482611366565b73ffffffffffffffffffffffffffffffffffffffff1614611fca576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fc190613890565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561203a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161203190613910565b60405180910390fd5b61204583838361274f565b612050600082611c4d565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546120a09190613d50565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546120f79190613c6f565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46121b6838383612754565b505050565b61223c8363a9059cbb60e01b84846040516024016121da9291906137ea565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050612759565b505050565b6000600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60005b818110156123425761231c600e612820565b61232f8361232a600e611d06565b612836565b808061233a90613ef7565b91505061230a565b505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156123b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123ad90613930565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516124a79190613813565b60405180910390a3505050565b6124bf848484611f54565b6124cb84848484612854565b61250a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161250190613850565b60405180910390fd5b50505050565b60606013805461251f90613e94565b80601f016020809104026020016040519081016040528092919081815260200182805461254b90613e94565b80156125985780601f1061256d57610100808354040283529160200191612598565b820191906000526020600020905b81548152906001019060200180831161257b57829003601f168201915b5050505050905090565b606060008214156125ea576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061274a565b600082905060005b6000821461261c57808061260590613ef7565b915050600a826126159190613cc5565b91506125f2565b60008167ffffffffffffffff81111561265e577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156126905781602001600182028036833780820191505090505b5090505b60008514612743576001826126a99190613d50565b9150600a856126b89190613f40565b60306126c49190613c6f565b60f81b818381518110612700577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561273c9190613cc5565b9450612694565b8093505050505b919050565b505050565b505050565b60006127bb826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166129eb9092919063ffffffff16565b905060008151111561281b57808060200190518101906127db91906130f4565b61281a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161281190613b70565b60405180910390fd5b5b505050565b6001816000016000828254019250508190555050565b612850828260405180602001604052806000815250612a03565b5050565b60006128758473ffffffffffffffffffffffffffffffffffffffff16612a5e565b156129de578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261289e61087c565b8786866040518563ffffffff1660e01b81526004016128c0949392919061379e565b602060405180830381600087803b1580156128da57600080fd5b505af192505050801561290b57506040513d601f19601f820116820180604052508101906129089190613146565b60015b61298e573d806000811461293b576040519150601f19603f3d011682016040523d82523d6000602084013e612940565b606091505b50600081511415612986576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161297d90613850565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506129e3565b600190505b949350505050565b60606129fa8484600085612a81565b90509392505050565b612a0d8383612b95565b612a1a6000848484612854565b612a59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a5090613850565b60405180910390fd5b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b606082471015612ac6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612abd90613990565b60405180910390fd5b612acf85612a5e565b612b0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b0590613b50565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff168587604051612b37919061370a565b60006040518083038185875af1925050503d8060008114612b74576040519150601f19603f3d011682016040523d82523d6000602084013e612b79565b606091505b5091509150612b89828286612d6f565b92505050949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612c05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bfc90613a50565b60405180910390fd5b612c0e81611be1565b15612c4e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c45906138b0565b60405180910390fd5b612c5a6000838361274f565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612caa9190613c6f565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612d6b60008383612754565b5050565b60608315612d7f57829050612dcf565b600083511115612d925782518084602001fd5b816040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dc6919061382e565b60405180910390fd5b9392505050565b6000612de9612de484613bf0565b613bcb565b905082815260208101848484011115612e0157600080fd5b612e0c848285613e52565b509392505050565b600081359050612e238161471a565b92915050565b600081359050612e3881614731565b92915050565b600081359050612e4d81614748565b92915050565b600081519050612e6281614748565b92915050565b600081359050612e778161475f565b92915050565b600081519050612e8c8161475f565b92915050565b600082601f830112612ea357600080fd5b8135612eb3848260208601612dd6565b91505092915050565b600081359050612ecb81614776565b92915050565b600081359050612ee08161478d565b92915050565b600081519050612ef58161478d565b92915050565b600060208284031215612f0d57600080fd5b6000612f1b84828501612e14565b91505092915050565b600060208284031215612f3657600080fd5b6000612f4484828501612e29565b91505092915050565b60008060408385031215612f6057600080fd5b6000612f6e85828601612e14565b9250506020612f7f85828601612e14565b9150509250929050565b600080600060608486031215612f9e57600080fd5b6000612fac86828701612e14565b9350506020612fbd86828701612e14565b9250506040612fce86828701612ed1565b9150509250925092565b60008060008060808587031215612fee57600080fd5b6000612ffc87828801612e14565b945050602061300d87828801612e14565b935050604061301e87828801612ed1565b925050606085013567ffffffffffffffff81111561303b57600080fd5b61304787828801612e92565b91505092959194509250565b6000806040838503121561306657600080fd5b600061307485828601612e14565b925050602061308585828601612e3e565b9150509250929050565b600080604083850312156130a257600080fd5b60006130b085828601612e14565b92505060206130c185828601612ed1565b9150509250929050565b6000602082840312156130dd57600080fd5b60006130eb84828501612e3e565b91505092915050565b60006020828403121561310657600080fd5b600061311484828501612e53565b91505092915050565b60006020828403121561312f57600080fd5b600061313d84828501612e68565b91505092915050565b60006020828403121561315857600080fd5b600061316684828501612e7d565b91505092915050565b60006020828403121561318157600080fd5b600061318f84828501612ebc565b91505092915050565b600080604083850312156131ab57600080fd5b60006131b985828601612ebc565b92505060206131ca85828601612e14565b9150509250929050565b6000602082840312156131e657600080fd5b60006131f484828501612ed1565b91505092915050565b60006020828403121561320f57600080fd5b600061321d84828501612ee6565b91505092915050565b61322f81613e1c565b82525050565b61323e81613d84565b82525050565b61324d81613da8565b82525050565b600061325e82613c21565b6132688185613c37565b9350613278818560208601613e61565b6132818161402d565b840191505092915050565b600061329782613c21565b6132a18185613c48565b93506132b1818560208601613e61565b80840191505092915050565b60006132c882613c2c565b6132d28185613c53565b93506132e2818560208601613e61565b6132eb8161402d565b840191505092915050565b600061330182613c2c565b61330b8185613c64565b935061331b818560208601613e61565b80840191505092915050565b6000613334603283613c53565b915061333f8261403e565b604082019050919050565b6000613357602683613c53565b91506133628261408d565b604082019050919050565b600061337a602583613c53565b9150613385826140dc565b604082019050919050565b600061339d601c83613c53565b91506133a88261412b565b602082019050919050565b60006133c0601483613c53565b91506133cb82614154565b602082019050919050565b60006133e3602683613c53565b91506133ee8261417d565b604082019050919050565b6000613406602483613c53565b9150613411826141cc565b604082019050919050565b6000613429601983613c53565b91506134348261421b565b602082019050919050565b600061344c603a83613c53565b915061345782614244565b604082019050919050565b600061346f601d83613c53565b915061347a82614293565b602082019050919050565b6000613492602683613c53565b915061349d826142bc565b604082019050919050565b60006134b5602c83613c53565b91506134c08261430b565b604082019050919050565b60006134d8602b83613c53565b91506134e38261435a565b604082019050919050565b60006134fb603883613c53565b9150613506826143a9565b604082019050919050565b600061351e602a83613c53565b9150613529826143f8565b604082019050919050565b6000613541602983613c53565b915061354c82614447565b604082019050919050565b6000613564602083613c53565b915061356f82614496565b602082019050919050565b6000613587602c83613c53565b9150613592826144bf565b604082019050919050565b60006135aa602083613c53565b91506135b58261450e565b602082019050919050565b60006135cd601783613c53565b91506135d882614537565b602082019050919050565b60006135f0602f83613c53565b91506135fb82614560565b604082019050919050565b6000613613602183613c53565b915061361e826145af565b604082019050919050565b6000613636600083613c48565b9150613641826145fe565b600082019050919050565b6000613659601483613c53565b915061366482614601565b602082019050919050565b600061367c603183613c53565b91506136878261462a565b604082019050919050565b600061369f601d83613c53565b91506136aa82614679565b602082019050919050565b60006136c2602a83613c53565b91506136cd826146a2565b604082019050919050565b60006136e5601383613c53565b91506136f0826146f1565b602082019050919050565b61370481613e12565b82525050565b6000613716828461328c565b915081905092915050565b600061372d82856132f6565b915061373982846132f6565b91508190509392505050565b600061375082613629565b9150819050919050565b600060208201905061376f6000830184613235565b92915050565b600060408201905061378a6000830185613226565b61379760208301846136fb565b9392505050565b60006080820190506137b36000830187613235565b6137c06020830186613235565b6137cd60408301856136fb565b81810360608301526137df8184613253565b905095945050505050565b60006040820190506137ff6000830185613235565b61380c60208301846136fb565b9392505050565b60006020820190506138286000830184613244565b92915050565b6000602082019050818103600083015261384881846132bd565b905092915050565b6000602082019050818103600083015261386981613327565b9050919050565b600060208201905081810360008301526138898161334a565b9050919050565b600060208201905081810360008301526138a98161336d565b9050919050565b600060208201905081810360008301526138c981613390565b9050919050565b600060208201905081810360008301526138e9816133b3565b9050919050565b60006020820190508181036000830152613909816133d6565b9050919050565b60006020820190508181036000830152613929816133f9565b9050919050565b600060208201905081810360008301526139498161341c565b9050919050565b600060208201905081810360008301526139698161343f565b9050919050565b6000602082019050818103600083015261398981613462565b9050919050565b600060208201905081810360008301526139a981613485565b9050919050565b600060208201905081810360008301526139c9816134a8565b9050919050565b600060208201905081810360008301526139e9816134cb565b9050919050565b60006020820190508181036000830152613a09816134ee565b9050919050565b60006020820190508181036000830152613a2981613511565b9050919050565b60006020820190508181036000830152613a4981613534565b9050919050565b60006020820190508181036000830152613a6981613557565b9050919050565b60006020820190508181036000830152613a898161357a565b9050919050565b60006020820190508181036000830152613aa98161359d565b9050919050565b60006020820190508181036000830152613ac9816135c0565b9050919050565b60006020820190508181036000830152613ae9816135e3565b9050919050565b60006020820190508181036000830152613b0981613606565b9050919050565b60006020820190508181036000830152613b298161364c565b9050919050565b60006020820190508181036000830152613b498161366f565b9050919050565b60006020820190508181036000830152613b6981613692565b9050919050565b60006020820190508181036000830152613b89816136b5565b9050919050565b60006020820190508181036000830152613ba9816136d8565b9050919050565b6000602082019050613bc560008301846136fb565b92915050565b6000613bd5613be6565b9050613be18282613ec6565b919050565b6000604051905090565b600067ffffffffffffffff821115613c0b57613c0a613ffe565b5b613c148261402d565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000613c7a82613e12565b9150613c8583613e12565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613cba57613cb9613f71565b5b828201905092915050565b6000613cd082613e12565b9150613cdb83613e12565b925082613ceb57613cea613fa0565b5b828204905092915050565b6000613d0182613e12565b9150613d0c83613e12565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613d4557613d44613f71565b5b828202905092915050565b6000613d5b82613e12565b9150613d6683613e12565b925082821015613d7957613d78613f71565b5b828203905092915050565b6000613d8f82613df2565b9050919050565b6000613da182613df2565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6000613deb82613d84565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6000613e2782613e2e565b9050919050565b6000613e3982613e40565b9050919050565b6000613e4b82613df2565b9050919050565b82818337600083830152505050565b60005b83811015613e7f578082015181840152602081019050613e64565b83811115613e8e576000848401525b50505050565b60006002820490506001821680613eac57607f821691505b60208210811415613ec057613ebf613fcf565b5b50919050565b613ecf8261402d565b810181811067ffffffffffffffff82111715613eee57613eed613ffe565b5b80604052505050565b6000613f0282613e12565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613f3557613f34613f71565b5b600182019050919050565b6000613f4b82613e12565b9150613f5683613e12565b925082613f6657613f65613fa0565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f496e76616c6964206d696e7420616d6f756e7421000000000000000000000000600082015250565b7f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060008201527f7368617265730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060008201527f647565207061796d656e74000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f54686520636f6e74726163742069732070617573656421000000000000000000600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b50565b7f4d617820737570706c7920657863656564656421000000000000000000000000600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b7f496e73756666696369656e742066756e64732100000000000000000000000000600082015250565b61472381613d84565b811461472e57600080fd5b50565b61473a81613d96565b811461474557600080fd5b50565b61475181613da8565b811461475c57600080fd5b50565b61476881613db4565b811461477357600080fd5b50565b61477f81613de0565b811461478a57600080fd5b50565b61479681613e12565b81146147a157600080fd5b5056fea2646970667358221220ba40c98b8f0aa9f7b8f9174cf5bbcc90ade388d4691daca951168a529d3c4deb64736f6c63430008040033

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

00000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000001800000000000000000000000000000000000000000000000000000000000000240000000000000000000000000000000000000000000000000000000000000000a4e6173747920506173730000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044e535459000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d664d4e6542325864736e69486b565a6a376275374d717366394a74317a4b5856385472797047486b455750342f000000000000000000000000000000000000000000000000000000000000000000000000000000000005000000000000000000000000f70eb1ab344d8066c4f74b125b7ab1e2404914e1000000000000000000000000f75f43709edaa31da32eaa5660194533f89e62d0000000000000000000000000e6249971c198c9471cbcdb6710139fc783ee44ab0000000000000000000000000aff155c5246d40a4dea995f16c59147402b434a000000000000000000000000827605d4bdf392696ff1e6f9ac1b3c3767e3a414000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000260000000000000000000000000000000000000000000000000000000000000026000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000000007

-----Decoded View---------------
Arg [0] : name (string): Nasty Pass
Arg [1] : symbol (string): NSTY
Arg [2] : baseURI (string): ipfs://QmfMNeB2XdsniHkVZj7bu7Mqsf9Jt1zKXV8TrypGHkEWP4/
Arg [3] : payees (address[]): 0xf70EB1ab344d8066c4f74b125B7ab1e2404914E1,0xF75F43709eDAA31da32eaa5660194533F89e62d0,0xE6249971c198C9471Cbcdb6710139Fc783ee44ab,0x0Aff155C5246d40A4DEA995f16C59147402B434a,0x827605D4BDf392696FF1e6f9Ac1b3c3767e3a414
Arg [4] : shares (uint256[]): 38,38,16,7,7

-----Encoded View---------------
24 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000180
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000240
Arg [5] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [6] : 4e61737479205061737300000000000000000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [8] : 4e53545900000000000000000000000000000000000000000000000000000000
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [10] : 697066733a2f2f516d664d4e6542325864736e69486b565a6a376275374d7173
Arg [11] : 66394a74317a4b5856385472797047486b455750342f00000000000000000000
Arg [12] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [13] : 000000000000000000000000f70eb1ab344d8066c4f74b125b7ab1e2404914e1
Arg [14] : 000000000000000000000000f75f43709edaa31da32eaa5660194533f89e62d0
Arg [15] : 000000000000000000000000e6249971c198c9471cbcdb6710139fc783ee44ab
Arg [16] : 0000000000000000000000000aff155c5246d40a4dea995f16c59147402b434a
Arg [17] : 000000000000000000000000827605d4bdf392696ff1e6f9ac1b3c3767e3a414
Arg [18] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [19] : 0000000000000000000000000000000000000000000000000000000000000026
Arg [20] : 0000000000000000000000000000000000000000000000000000000000000026
Arg [21] : 0000000000000000000000000000000000000000000000000000000000000010
Arg [22] : 0000000000000000000000000000000000000000000000000000000000000007
Arg [23] : 0000000000000000000000000000000000000000000000000000000000000007


Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
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.