ETH Price: $3,292.98 (-1.69%)

Contract

0xe2A52a5f91A83846706FA7A4F036fE8C6723eaF8
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Safe Transfer Fr...210985642024-11-02 7:47:2320 days ago1730533643IN
0xe2A52a5f...C6723eaF8
0 ETH0.000299144.49696463
Set Approval For...210984372024-11-02 7:21:4720 days ago1730532107IN
0xe2A52a5f...C6723eaF8
0 ETH0.000159993.4318633
Set Approval For...189299532024-01-03 22:59:35323 days ago1704322775IN
0xe2A52a5f...C6723eaF8
0 ETH0.0018763540.24865483
Transfer From185205632023-11-07 14:06:23381 days ago1699365983IN
0xe2A52a5f...C6723eaF8
0 ETH0.0021718327.2966818
Transfer From185205612023-11-07 14:05:59381 days ago1699365959IN
0xe2A52a5f...C6723eaF8
0 ETH0.002302428.93782179
Transfer From185205592023-11-07 14:05:35381 days ago1699365935IN
0xe2A52a5f...C6723eaF8
0 ETH0.0020954226.33637506
Transfer From185205572023-11-07 14:05:11381 days ago1699365911IN
0xe2A52a5f...C6723eaF8
0 ETH0.0024516225.36229697
Transfer From185205542023-11-07 14:04:23381 days ago1699365863IN
0xe2A52a5f...C6723eaF8
0 ETH0.0027128428.06467986
Transfer From185205442023-11-07 14:02:23381 days ago1699365743IN
0xe2A52a5f...C6723eaF8
0 ETH0.0026301833.05743893
Transfer From185205412023-11-07 14:01:47381 days ago1699365707IN
0xe2A52a5f...C6723eaF8
0 ETH0.0027918335.08923584
Transfer From185205392023-11-07 14:01:23381 days ago1699365683IN
0xe2A52a5f...C6723eaF8
0 ETH0.0028515335.83948524
Transfer From185205372023-11-07 14:00:59381 days ago1699365659IN
0xe2A52a5f...C6723eaF8
0 ETH0.0033232734.37966058
Transfer From185205312023-11-07 13:59:35381 days ago1699365575IN
0xe2A52a5f...C6723eaF8
0 ETH0.002534631.85612465
Transfer From185205292023-11-07 13:59:11381 days ago1699365551IN
0xe2A52a5f...C6723eaF8
0 ETH0.0026133832.84633154
Transfer From185205272023-11-07 13:58:47381 days ago1699365527IN
0xe2A52a5f...C6723eaF8
0 ETH0.0026597733.42932431
Transfer From185205242023-11-07 13:58:11381 days ago1699365491IN
0xe2A52a5f...C6723eaF8
0 ETH0.0027327834.34698298
Transfer From180756802023-09-06 6:37:59443 days ago1693982279IN
0xe2A52a5f...C6723eaF8
0 ETH0.0008069810.14261099
Transfer From180756762023-09-06 6:37:11443 days ago1693982231IN
0xe2A52a5f...C6723eaF8
0 ETH0.000779699.79953693
Transfer From180756722023-09-06 6:36:23443 days ago1693982183IN
0xe2A52a5f...C6723eaF8
0 ETH0.0008144510.2364608
Transfer From180756682023-09-06 6:35:35443 days ago1693982135IN
0xe2A52a5f...C6723eaF8
0 ETH0.000930999.63129394
Transfer From180756642023-09-06 6:34:47443 days ago1693982087IN
0xe2A52a5f...C6723eaF8
0 ETH0.0008068110.14043596
Transfer From180756612023-09-06 6:34:11443 days ago1693982051IN
0xe2A52a5f...C6723eaF8
0 ETH0.000886111.13700341
Transfer From180756582023-09-06 6:33:35443 days ago1693982015IN
0xe2A52a5f...C6723eaF8
0 ETH0.0009049911.3744536
Transfer From180756552023-09-06 6:32:59443 days ago1693981979IN
0xe2A52a5f...C6723eaF8
0 ETH0.0009450111.87746511
Transfer From178753662023-08-09 5:49:35471 days ago1691560175IN
0xe2A52a5f...C6723eaF8
0 ETH0.0010369313.03271087
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
E1337POA

Compiler Version
v0.8.1+commit.df193b15

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 12 : E1337POA.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
pragma experimental ABIEncoderV2;

import "./ERC721.sol";

contract E1337POA is ERC721 {
    event ConsecutiveTransfer(
        uint256 indexed fromTokenId,
        uint256 toTokenId,
        address indexed fromAddress,
        address indexed toAddress
    );

    struct Media {
        string uri;
        string mime;
    }

    struct Model {
        string name;
        uint256 from;
        uint256 to;
    }

    struct ModelData {
        string name;
    }

    struct Trait {
        string name;
        string value;
    }

    struct ModelView {
        string name;
        uint256 totalEditions;
        Media[] media;
        Trait[] traits;
    }

    struct TokenView {
        ModelView model;
        uint256 edition;
    }

    Model[] private models;
    mapping(uint256 => Media[]) private media;
    mapping(uint256 => Trait[]) private traits;
    mapping(uint256 => bool) private burnedTokens;

    string private baseURI;

    constructor() ERC721("E1337 Proof of Authenticity", "POA") {}

    function create(
        ModelData memory _model,
        Media[] memory _media,
        Trait[] memory _traits,
        uint256 quantity
    ) external onlyOwner {
        for (uint256 i; i < models.length; i++) {
            if (
                keccak256(abi.encodePacked(models[i].name)) ==
                keccak256(abi.encodePacked(_model.name))
            ) {
                revert();
            }
        }

        uint256 from;

        if (models.length == 0) {
            from = 0;
        } else {
            from = models[models.length - 1].to + 1;
        }

        uint256 to = from + quantity - 1;
        models.push(Model(_model.name, from, to));
        uint256 modelId = models.length - 1;

        for (uint256 i = 0; i < _media.length; i++) {
            media[modelId].push(Media(_media[i].uri, _media[i].mime));
        }

        for (uint256 i = 0; i < _traits.length; i++) {
            traits[modelId].push(Trait(_traits[i].name, _traits[i].value));
        }

        _increaseBalance(msg.sender, quantity);

        for (uint256 i = from; i <= to; i++) {
            emit Transfer(address(0), msg.sender, i);
        }
    }

    function addMediaForModel(uint256 _modelId, Media memory _media)
        external
        onlyOwner
    {
        media[_modelId].push(Media(_media.uri, _media.mime));
    }

    function updateMediaForModelByURI(
        uint256 _modelId,
        string memory _uri,
        string memory _newUri,
        string memory _mime
    ) external onlyOwner {
        for (uint256 i; i < media[_modelId].length; i++) {
            if (
                keccak256(abi.encodePacked(media[_modelId][i].uri)) !=
                keccak256(abi.encodePacked(_uri))
            ) {
                continue;
            }

            media[_modelId][i].uri = _newUri;
            media[_modelId][i].mime = _mime;
        }
    }

    function addTraitForModel(uint256 _modelId, Trait memory _traits)
        external
        onlyOwner
    {
        traits[_modelId].push(Trait(_traits.name, _traits.value));
    }

    function updateTraitForModelByName(
        uint256 _modelId,
        string memory _name,
        string memory _value
    ) external onlyOwner {
        for (uint256 i; i < traits[_modelId].length; i++) {
            if (
                keccak256(abi.encodePacked(traits[_modelId][i].name)) !=
                keccak256(abi.encodePacked(_name))
            ) {
                continue;
            }

            traits[_modelId][i].value = _value;
        }
    }

    function withdraw() external onlyOwner {
        payable(msg.sender).transfer(address(this).balance);
    }

    function baseTokenURI() external view returns (string memory) {
        return baseURI;
    }

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

    function setBaseTokenURI(string memory _uri) external onlyOwner {
        baseURI = _uri;
    }

    function retrieve(uint256 _id) external view returns (TokenView memory) {
        require(_exists(_id), "ERC721: retrieve for nonexistent token");

        for (uint256 i; i < models.length; i++) {
            if (_id < models[i].from || _id > models[i].to) {
                continue;
            }

            return
                TokenView(
                    ModelView(
                        models[i].name,
                        models[i].to - models[i].from + 1,
                        media[i],
                        traits[i]
                    ),
                    _id - models[i].from + 1
                );
        }

        revert();
    }

    function retrieveModelById(uint256 _id)
        external
        view
        returns (ModelView memory)
    {
        for (uint256 i; i < models.length; i++) {
            if (i != _id) {
                continue;
            }

            return
                ModelView(
                    models[i].name,
                    models[i].to - models[i].from + 1,
                    media[i],
                    traits[i]
                );
        }

        // No model found with the given name
        revert();
    }

    function _exists(uint256 tokenId)
        internal
        view
        virtual
        override
        returns (bool)
    {
        if (burnedTokens[tokenId]) {
            return false;
        }

        if (models.length == 0) {
            return false;
        }

        return tokenId <= models[models.length - 1].to;
    }

    function totalSupply() public view virtual returns (uint256) {
        if (models.length == 0) {
            return 0;
        }

        return models[models.length - 1].to + 1;
    }

    function burn(uint256 _tokenId) public virtual {
        require(
            _isApprovedOrOwner(_msgSender(), _tokenId),
            "ERC721Burnable: caller is not owner nor approved"
        );
        _burn(_tokenId);
        burnedTokens[_tokenId] = true;
    }
}

File 2 of 12 : ERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol";
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/utils/Context.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/introspection/ERC165.sol";
import "@openzeppelin/contracts/access/Ownable.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}.
 */
abstract contract ERC721 is Context, ERC165, IERC721, IERC721Metadata, Ownable {
    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)
    {
        require(_exists(tokenId), "ERC721: ownerOf for nonexistent token");

        address ownerAddress = _owners[tokenId];

        // If there is no owner set, consider the owner of the contract as the owner.
        if (ownerAddress == address(0)) {
            return owner();
        }

        return ownerAddress;
    }

    /**
     * @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}. Empty by default, can be overriden
     * in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return "";
    }

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

        require(
            _msgSender() == owner ||
                ERC721.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
    {
        require(operator != _msgSender(), "ERC721: approve to caller");

        _operatorApprovals[_msgSender()][operator] = approved;
        emit ApprovalForAll(_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);

    /**
     * @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 = ownerOf(tokenId);
        return (spender == owner ||
            getApproved(tokenId) == spender ||
            ERC721.isApprovedForAll(owner, spender));
    }

    function _increaseBalance(address to, uint256 quantity) internal virtual {
        _balances[to] += quantity;
    }

    /**
     * @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 = ownerOf(tokenId);

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

    /**
     * @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(to).onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert(
                        "ERC721: transfer to non ERC721Receiver implementer"
                    );
                } else {
                    // solhint-disable-next-line no-inline-assembly
                    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` cannot be the zero address.
     * - `to` cannot be the zero address.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}
}

File 3 of 12 : Ownable.sol
// SPDX-License-Identifier: MIT

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 () {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), 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 {
        emit OwnershipTransferred(_owner, address(0));
        _owner = 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");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

File 4 of 12 : IERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

File 5 of 12 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

File 6 of 12 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Enumerable is IERC721 {

    /**
     * @dev Returns the total amount of tokens stored by the contract.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns a token ID owned by `owner` at a given `index` of its token list.
     * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId);

    /**
     * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.
     * Use along with {totalSupply} to enumerate all tokens.
     */
    function tokenByIndex(uint256 index) external view returns (uint256);
}

File 7 of 12 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {

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

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

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

File 8 of 12 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

        uint256 size;
        // solhint-disable-next-line no-inline-assembly
        assembly { size := extcodesize(account) }
        return size > 0;
    }

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

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (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");

        // solhint-disable-next-line avoid-low-level-calls
        (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");

        // solhint-disable-next-line avoid-low-level-calls
        (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");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private 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

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 9 of 12 : Context.sol
// SPDX-License-Identifier: MIT

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) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

File 10 of 12 : Strings.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant alphabet = "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] = alphabet[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }

}

File 11 of 12 : ERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

File 12 of 12 : IERC165.sol
// SPDX-License-Identifier: MIT

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
{
  "remappings": [],
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "evmVersion": "istanbul",
  "libraries": {},
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"fromAddress","type":"address"},{"indexed":true,"internalType":"address","name":"toAddress","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"uint256","name":"_modelId","type":"uint256"},{"components":[{"internalType":"string","name":"uri","type":"string"},{"internalType":"string","name":"mime","type":"string"}],"internalType":"struct E1337POA.Media","name":"_media","type":"tuple"}],"name":"addMediaForModel","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_modelId","type":"uint256"},{"components":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"value","type":"string"}],"internalType":"struct E1337POA.Trait","name":"_traits","type":"tuple"}],"name":"addTraitForModel","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"string","name":"name","type":"string"}],"internalType":"struct E1337POA.ModelData","name":"_model","type":"tuple"},{"components":[{"internalType":"string","name":"uri","type":"string"},{"internalType":"string","name":"mime","type":"string"}],"internalType":"struct E1337POA.Media[]","name":"_media","type":"tuple[]"},{"components":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"value","type":"string"}],"internalType":"struct E1337POA.Trait[]","name":"_traits","type":"tuple[]"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"create","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"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":"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":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"retrieve","outputs":[{"components":[{"components":[{"internalType":"string","name":"name","type":"string"},{"internalType":"uint256","name":"totalEditions","type":"uint256"},{"components":[{"internalType":"string","name":"uri","type":"string"},{"internalType":"string","name":"mime","type":"string"}],"internalType":"struct E1337POA.Media[]","name":"media","type":"tuple[]"},{"components":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"value","type":"string"}],"internalType":"struct E1337POA.Trait[]","name":"traits","type":"tuple[]"}],"internalType":"struct E1337POA.ModelView","name":"model","type":"tuple"},{"internalType":"uint256","name":"edition","type":"uint256"}],"internalType":"struct E1337POA.TokenView","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"retrieveModelById","outputs":[{"components":[{"internalType":"string","name":"name","type":"string"},{"internalType":"uint256","name":"totalEditions","type":"uint256"},{"components":[{"internalType":"string","name":"uri","type":"string"},{"internalType":"string","name":"mime","type":"string"}],"internalType":"struct E1337POA.Media[]","name":"media","type":"tuple[]"},{"components":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"value","type":"string"}],"internalType":"struct E1337POA.Trait[]","name":"traits","type":"tuple[]"}],"internalType":"struct E1337POA.ModelView","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uri","type":"string"}],"name":"setBaseTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_modelId","type":"uint256"},{"internalType":"string","name":"_uri","type":"string"},{"internalType":"string","name":"_newUri","type":"string"},{"internalType":"string","name":"_mime","type":"string"}],"name":"updateMediaForModelByURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_modelId","type":"uint256"},{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_value","type":"string"}],"name":"updateTraitForModelByName","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b506040518060400160405280601b81526020017f45313333372050726f6f66206f662041757468656e74696369747900000000008152506040518060400160405280600381526020017f504f4100000000000000000000000000000000000000000000000000000000008152506000620000906200016860201b60201c565b9050806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35081600190805190602001906200014692919062000170565b5080600290805190602001906200015f92919062000170565b50505062000285565b600033905090565b8280546200017e9062000220565b90600052602060002090601f016020900481019282620001a25760008555620001ee565b82601f10620001bd57805160ff1916838001178555620001ee565b82800160010185558215620001ee579182015b82811115620001ed578251825591602001919060010190620001d0565b5b509050620001fd919062000201565b5090565b5b808211156200021c57600081600090555060010162000202565b5090565b600060028204905060018216806200023957607f821691505b6020821081141562000250576200024f62000256565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b61536080620002956000396000f3fe608060405234801561001057600080fd5b50600436106101c45760003560e01c806370a08231116100f9578063a22cb46511610097578063c87b56dd11610071578063c87b56dd146104c5578063d547cfb7146104f5578063e985e9c514610513578063f2fde38b14610543576101c4565b8063a22cb4651461045d578063a3bb5c5314610479578063b88d4fde146104a9576101c4565b80638da5cb5b116100d35780638da5cb5b146103d55780638e07adeb146103f35780638f88708b1461040f57806395d89b411461043f576101c4565b806370a082311461037f578063715018a6146103af57806372def72e146103b9576101c4565b80633a92ec721161016657806342966c681161014057806342966c68146102fb57806352f274371461031757806354112f4b146103335780636352211e1461034f576101c4565b80633a92ec72146102b95780633ccfd60b146102d557806342842e0e146102df576101c4565b8063095ea7b3116101a2578063095ea7b31461024757806318160ddd1461026357806323b872dd1461028157806330176e131461029d576101c4565b806301ffc9a7146101c957806306fdde03146101f9578063081812fc14610217575b600080fd5b6101e360048036038101906101de9190613c47565b61055f565b6040516101f091906146b9565b60405180910390f35b610201610641565b60405161020e91906146d4565b60405180910390f35b610231600480360381019061022c9190613d85565b6106d3565b60405161023e9190614652565b60405180910390f35b610261600480360381019061025c9190613c0b565b610758565b005b61026b610870565b604051610278919061493a565b60405180910390f35b61029b60048036038101906102969190613b05565b6108f7565b005b6102b760048036038101906102b29190613c99565b610957565b005b6102d360048036038101906102ce9190613dae565b6109ed565b005b6102dd610bc8565b005b6102f960048036038101906102f49190613b05565b610c8d565b005b61031560048036038101906103109190613d85565b610cad565b005b610331600480360381019061032c9190613cda565b610d35565b005b61034d60048036038101906103489190613f2c565b6112a9565b005b61036960048036038101906103649190613d85565b6113be565b6040516103769190614652565b60405180910390f35b61039960048036038101906103949190613aa0565b61148f565b6040516103a6919061493a565b60405180910390f35b6103b7611547565b005b6103d360048036038101906103ce9190613ed8565b611681565b005b6103dd611796565b6040516103ea9190614652565b60405180910390f35b61040d60048036038101906104089190613e2d565b6117bf565b005b61042960048036038101906104249190613d85565b611a0c565b6040516104369190614918565b60405180910390f35b61044761206e565b60405161045491906146d4565b60405180910390f35b61047760048036038101906104729190613bcf565b612100565b005b610493600480360381019061048e9190613d85565b612281565b6040516104a091906148f6565b60405180910390f35b6104c360048036038101906104be9190613b54565b612784565b005b6104df60048036038101906104da9190613d85565b6127e6565b6040516104ec91906146d4565b60405180910390f35b6104fd61288d565b60405161050a91906146d4565b60405180910390f35b61052d60048036038101906105289190613ac9565b61291f565b60405161053a91906146b9565b60405180910390f35b61055d60048036038101906105589190613aa0565b6129b3565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061062a57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061063a575061063982612b5c565b5b9050919050565b60606001805461065090614c80565b80601f016020809104026020016040519081016040528092919081815260200182805461067c90614c80565b80156106c95780601f1061069e576101008083540402835291602001916106c9565b820191906000526020600020905b8154815290600101906020018083116106ac57829003601f168201915b5050505050905090565b60006106de82612bc6565b61071d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610714906147f6565b60405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610763826113be565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156107d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107cb90614876565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166107f3612c76565b73ffffffffffffffffffffffffffffffffffffffff16148061082257506108218161081c612c76565b61291f565b5b610861576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610858906147b6565b60405180910390fd5b61086b8383612c7e565b505050565b600080600780549050141561088857600090506108f4565b60016007600160078054905061089e9190614b96565b815481106108d5577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000209060030201600201546108f19190614b0f565b90505b90565b610908610902612c76565b82612d37565b610947576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161093e90614896565b60405180910390fd5b610952838383612e15565b505050565b61095f612c76565b73ffffffffffffffffffffffffffffffffffffffff1661097d611796565b73ffffffffffffffffffffffffffffffffffffffff16146109d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109ca90614816565b60405180910390fd5b80600b90805190602001906109e9929190613626565b5050565b6109f5612c76565b73ffffffffffffffffffffffffffffffffffffffff16610a13611796565b73ffffffffffffffffffffffffffffffffffffffff1614610a69576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a6090614816565b60405180910390fd5b60005b6009600085815260200190815260200160002080549050811015610bc25782604051602001610a9b9190614600565b60405160208183030381529060405280519060200120600960008681526020019081526020016000208281548110610afc577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000209060020201600001604051602001610b1d919061463b565b6040516020818303038152906040528051906020012014610b3d57610baf565b81600960008681526020019081526020016000208281548110610b89577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002090600202016001019080519060200190610bad929190613626565b505b8080610bba90614ce3565b915050610a6c565b50505050565b610bd0612c76565b73ffffffffffffffffffffffffffffffffffffffff16610bee611796565b73ffffffffffffffffffffffffffffffffffffffff1614610c44576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c3b90614816565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015610c8a573d6000803e3d6000fd5b50565b610ca883838360405180602001604052806000815250612784565b505050565b610cbe610cb8612c76565b82612d37565b610cfd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cf4906148d6565b60405180910390fd5b610d0681613071565b6001600a600083815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b610d3d612c76565b73ffffffffffffffffffffffffffffffffffffffff16610d5b611796565b73ffffffffffffffffffffffffffffffffffffffff1614610db1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610da890614816565b60405180910390fd5b60005b600780549050811015610e7b578460000151604051602001610dd69190614600565b6040516020818303038152906040528051906020012060078281548110610e26577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000209060030201600001604051602001610e47919061463b565b604051602081830303815290604052805190602001201415610e6857600080fd5b8080610e7390614ce3565b915050610db4565b506000806007805490501415610e945760009050610f00565b600160076001600780549050610eaa9190614b96565b81548110610ee1577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020906003020160020154610efd9190614b0f565b90505b600060018383610f109190614b0f565b610f1a9190614b96565b905060076040518060600160405280886000015181526020018481526020018381525090806001815401808255809150506001900390600052602060002090600302016000909190919091506000820151816000019080519060200190610f82929190613626565b506020820151816001015560408201518160020155505060006001600780549050610fad9190614b96565b905060005b86518110156110e357600860008381526020019081526020016000206040518060400160405280898481518110611012577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015160000151815260200189848151811061105c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015160200151815250908060018154018082558091505060019003906000526020600020906002020160009091909190915060008201518160000190805190602001906110b0929190613626565b5060208201518160010190805190602001906110cd929190613626565b50505080806110db90614ce3565b915050610fb2565b5060005b855181101561121857600960008381526020019081526020016000206040518060400160405280888481518110611147577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151600001518152602001888481518110611191577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015160200151815250908060018154018082558091505060019003906000526020600020906002020160009091909190915060008201518160000190805190602001906111e5929190613626565b506020820151816001019080519060200190611202929190613626565b505050808061121090614ce3565b9150506110e7565b506112233385613182565b60008390505b82811161129f57803373ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808061129790614ce3565b915050611229565b5050505050505050565b6112b1612c76565b73ffffffffffffffffffffffffffffffffffffffff166112cf611796565b73ffffffffffffffffffffffffffffffffffffffff1614611325576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161131c90614816565b60405180910390fd5b6009600083815260200190815260200160002060405180604001604052808360000151815260200183602001518152509080600181540180825580915050600190039060005260206000209060020201600090919091909150600082015181600001908051906020019061139a929190613626565b5060208201518160010190805190602001906113b7929190613626565b5050505050565b60006113c982612bc6565b611408576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113ff90614716565b60405180910390fd5b60006003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156114855761147d611796565b91505061148a565b809150505b919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611500576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114f7906147d6565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61154f612c76565b73ffffffffffffffffffffffffffffffffffffffff1661156d611796565b73ffffffffffffffffffffffffffffffffffffffff16146115c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ba90614816565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b611689612c76565b73ffffffffffffffffffffffffffffffffffffffff166116a7611796565b73ffffffffffffffffffffffffffffffffffffffff16146116fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116f490614816565b60405180910390fd5b60086000838152602001908152602001600020604051806040016040528083600001518152602001836020015181525090806001815401808255809150506001900390600052602060002090600202016000909190919091506000820151816000019080519060200190611772929190613626565b50602082015181600101908051906020019061178f929190613626565b5050505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6117c7612c76565b73ffffffffffffffffffffffffffffffffffffffff166117e5611796565b73ffffffffffffffffffffffffffffffffffffffff161461183b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183290614816565b60405180910390fd5b60005b6008600086815260200190815260200160002080549050811015611a05578360405160200161186d9190614600565b604051602081830303815290604052805190602001206008600087815260200190815260200160002082815481106118ce577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002090600202016000016040516020016118ef919061463b565b604051602081830303815290604052805190602001201461190f576119f2565b8260086000878152602001908152602001600020828154811061195b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000209060020201600001908051906020019061197f929190613626565b50816008600087815260200190815260200160002082815481106119cc577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020906002020160010190805190602001906119f0929190613626565b505b80806119fd90614ce3565b91505061183e565b5050505050565b611a146136ac565b611a1d82612bc6565b611a5c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a53906148b6565b60405180910390fd5b60005b6007805490508110156120635760078181548110611aa6577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020906003020160010154831080611b0f575060078181548110611afa577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002090600302016002015483115b15611b1957612050565b6040518060400160405280604051806080016040528060078581548110611b69577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002090600302016000018054611b8590614c80565b80601f0160208091040260200160405190810160405280929190818152602001828054611bb190614c80565b8015611bfe5780601f10611bd357610100808354040283529160200191611bfe565b820191906000526020600020905b815481529060010190602001808311611be157829003601f168201915b50505050508152602001600160078681548110611c44577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002090600302016001015460078781548110611c90577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020906003020160020154611cac9190614b96565b611cb69190614b0f565b815260200160086000868152602001908152602001600020805480602002602001604051908101604052809291908181526020016000905b82821015611e445783829060005260206000209060020201604051806040016040529081600082018054611d2190614c80565b80601f0160208091040260200160405190810160405280929190818152602001828054611d4d90614c80565b8015611d9a5780601f10611d6f57610100808354040283529160200191611d9a565b820191906000526020600020905b815481529060010190602001808311611d7d57829003601f168201915b50505050508152602001600182018054611db390614c80565b80601f0160208091040260200160405190810160405280929190818152602001828054611ddf90614c80565b8015611e2c5780601f10611e0157610100808354040283529160200191611e2c565b820191906000526020600020905b815481529060010190602001808311611e0f57829003601f168201915b50505050508152505081526020019060010190611cee565b50505050815260200160096000868152602001908152602001600020805480602002602001604051908101604052809291908181526020016000905b82821015611fd65783829060005260206000209060020201604051806040016040529081600082018054611eb390614c80565b80601f0160208091040260200160405190810160405280929190818152602001828054611edf90614c80565b8015611f2c5780601f10611f0157610100808354040283529160200191611f2c565b820191906000526020600020905b815481529060010190602001808311611f0f57829003601f168201915b50505050508152602001600182018054611f4590614c80565b80601f0160208091040260200160405190810160405280929190818152602001828054611f7190614c80565b8015611fbe5780601f10611f9357610100808354040283529160200191611fbe565b820191906000526020600020905b815481529060010190602001808311611fa157829003601f168201915b50505050508152505081526020019060010190611e80565b50505050815250815260200160016007848154811061201e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000209060030201600101548661203b9190614b96565b6120459190614b0f565b815250915050612069565b808061205b90614ce3565b915050611a5f565b50600080fd5b919050565b60606002805461207d90614c80565b80601f01602080910402602001604051908101604052809291908181526020018280546120a990614c80565b80156120f65780601f106120cb576101008083540402835291602001916120f6565b820191906000526020600020905b8154815290600101906020018083116120d957829003601f168201915b5050505050905090565b612108612c76565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612176576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161216d90614776565b60405180910390fd5b8060066000612183612c76565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16612230612c76565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161227591906146b9565b60405180910390a35050565b6122896136cc565b60005b600780549050811015612779578281146122a557612766565b6040518060800160405280600783815481106122ea577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000209060030201600001805461230690614c80565b80601f016020809104026020016040519081016040528092919081815260200182805461233290614c80565b801561237f5780601f106123545761010080835404028352916020019161237f565b820191906000526020600020905b81548152906001019060200180831161236257829003601f168201915b505050505081526020016001600784815481106123c5577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002090600302016001015460078581548110612411577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002090600302016002015461242d9190614b96565b6124379190614b0f565b815260200160086000848152602001908152602001600020805480602002602001604051908101604052809291908181526020016000905b828210156125c557838290600052602060002090600202016040518060400160405290816000820180546124a290614c80565b80601f01602080910402602001604051908101604052809291908181526020018280546124ce90614c80565b801561251b5780601f106124f05761010080835404028352916020019161251b565b820191906000526020600020905b8154815290600101906020018083116124fe57829003601f168201915b5050505050815260200160018201805461253490614c80565b80601f016020809104026020016040519081016040528092919081815260200182805461256090614c80565b80156125ad5780601f10612582576101008083540402835291602001916125ad565b820191906000526020600020905b81548152906001019060200180831161259057829003601f168201915b5050505050815250508152602001906001019061246f565b50505050815260200160096000848152602001908152602001600020805480602002602001604051908101604052809291908181526020016000905b82821015612757578382906000526020600020906002020160405180604001604052908160008201805461263490614c80565b80601f016020809104026020016040519081016040528092919081815260200182805461266090614c80565b80156126ad5780601f10612682576101008083540402835291602001916126ad565b820191906000526020600020905b81548152906001019060200180831161269057829003601f168201915b505050505081526020016001820180546126c690614c80565b80601f01602080910402602001604051908101604052809291908181526020018280546126f290614c80565b801561273f5780601f106127145761010080835404028352916020019161273f565b820191906000526020600020905b81548152906001019060200180831161272257829003601f168201915b50505050508152505081526020019060010190612601565b5050505081525091505061277f565b808061277190614ce3565b91505061228c565b50600080fd5b919050565b61279561278f612c76565b83612d37565b6127d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127cb90614896565b60405180910390fd5b6127e0848484846131dc565b50505050565b60606127f182612bc6565b612830576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161282790614856565b60405180910390fd5b600061283a613238565b9050600081511161285a5760405180602001604052806000815250612885565b80612864846132ca565b604051602001612875929190614617565b6040516020818303038152906040525b915050919050565b6060600b805461289c90614c80565b80601f01602080910402602001604051908101604052809291908181526020018280546128c890614c80565b80156129155780601f106128ea57610100808354040283529160200191612915565b820191906000526020600020905b8154815290600101906020018083116128f857829003601f168201915b5050505050905090565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6129bb612c76565b73ffffffffffffffffffffffffffffffffffffffff166129d9611796565b73ffffffffffffffffffffffffffffffffffffffff1614612a2f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a2690614816565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612a9f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a9690614736565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000600a600083815260200190815260200160002060009054906101000a900460ff1615612bf75760009050612c71565b60006007805490501415612c0e5760009050612c71565b60076001600780549050612c229190614b96565b81548110612c59577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002090600302016002015482111590505b919050565b600033905090565b816005600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612cf1836113be565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000612d4282612bc6565b612d81576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d7890614796565b60405180910390fd5b6000612d8c836113be565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612dfb57508373ffffffffffffffffffffffffffffffffffffffff16612de3846106d3565b73ffffffffffffffffffffffffffffffffffffffff16145b80612e0c5750612e0b818561291f565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612e35826113be565b73ffffffffffffffffffffffffffffffffffffffff1614612e8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e8290614836565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612efb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ef290614756565b60405180910390fd5b612f06838383613477565b612f11600082612c7e565b6001600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612f619190614b96565b925050819055506001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612fb89190614b0f565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600061307c826113be565b905061308a81600084613477565b613095600083612c7e565b6001600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546130e59190614b96565b925050819055506003600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b80600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546131d19190614b0f565b925050819055505050565b6131e7848484612e15565b6131f38484848461347c565b613232576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613229906146f6565b60405180910390fd5b50505050565b6060600b805461324790614c80565b80601f016020809104026020016040519081016040528092919081815260200182805461327390614c80565b80156132c05780601f10613295576101008083540402835291602001916132c0565b820191906000526020600020905b8154815290600101906020018083116132a357829003601f168201915b5050505050905090565b60606000821415613312576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613472565b600082905060005b6000821461334457808061332d90614ce3565b915050600a8261333d9190614b65565b915061331a565b60008167ffffffffffffffff811115613386577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156133b85781602001600182028036833780820191505090505b5090505b6000851461346b576001826133d19190614b96565b9150600a856133e09190614d2c565b60306133ec9190614b0f565b60f81b818381518110613428577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856134649190614b65565b94506133bc565b8093505050505b919050565b505050565b600061349d8473ffffffffffffffffffffffffffffffffffffffff16613613565b15613606578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026134c6612c76565b8786866040518563ffffffff1660e01b81526004016134e8949392919061466d565b602060405180830381600087803b15801561350257600080fd5b505af192505050801561353357506040513d601f19601f820116820180604052508101906135309190613c70565b60015b6135b6573d8060008114613563576040519150601f19603f3d011682016040523d82523d6000602084013e613568565b606091505b506000815114156135ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135a5906146f6565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061360b565b600190505b949350505050565b600080823b905060008111915050919050565b82805461363290614c80565b90600052602060002090601f016020900481019282613654576000855561369b565b82601f1061366d57805160ff191683800117855561369b565b8280016001018555821561369b579182015b8281111561369a57825182559160200191906001019061367f565b5b5090506136a891906136f4565b5090565b60405180604001604052806136bf6136cc565b8152602001600081525090565b6040518060800160405280606081526020016000815260200160608152602001606081525090565b5b8082111561370d5760008160009055506001016136f5565b5090565b600061372461371f8461497a565b614955565b9050808382526020820190508260005b85811015613764578135850161374a8882613943565b845260208401935060208301925050600181019050613734565b5050509392505050565b600061378161377c846149a6565b614955565b9050808382526020820190508260005b858110156137c157813585016137a78882613a0f565b845260208401935060208301925050600181019050613791565b5050509392505050565b60006137de6137d9846149d2565b614955565b9050828152602081018484840111156137f657600080fd5b613801848285614c3e565b509392505050565b600061381c61381784614a03565b614955565b90508281526020810184848401111561383457600080fd5b61383f848285614c3e565b509392505050565b600081359050613856816152ce565b92915050565b600082601f83011261386d57600080fd5b813561387d848260208601613711565b91505092915050565b600082601f83011261389757600080fd5b81356138a784826020860161376e565b91505092915050565b6000813590506138bf816152e5565b92915050565b6000813590506138d4816152fc565b92915050565b6000815190506138e9816152fc565b92915050565b600082601f83011261390057600080fd5b81356139108482602086016137cb565b91505092915050565b600082601f83011261392a57600080fd5b813561393a848260208601613809565b91505092915050565b60006040828403121561395557600080fd5b61395f6040614955565b9050600082013567ffffffffffffffff81111561397b57600080fd5b61398784828501613919565b600083015250602082013567ffffffffffffffff8111156139a757600080fd5b6139b384828501613919565b60208301525092915050565b6000602082840312156139d157600080fd5b6139db6020614955565b9050600082013567ffffffffffffffff8111156139f757600080fd5b613a0384828501613919565b60008301525092915050565b600060408284031215613a2157600080fd5b613a2b6040614955565b9050600082013567ffffffffffffffff811115613a4757600080fd5b613a5384828501613919565b600083015250602082013567ffffffffffffffff811115613a7357600080fd5b613a7f84828501613919565b60208301525092915050565b600081359050613a9a81615313565b92915050565b600060208284031215613ab257600080fd5b6000613ac084828501613847565b91505092915050565b60008060408385031215613adc57600080fd5b6000613aea85828601613847565b9250506020613afb85828601613847565b9150509250929050565b600080600060608486031215613b1a57600080fd5b6000613b2886828701613847565b9350506020613b3986828701613847565b9250506040613b4a86828701613a8b565b9150509250925092565b60008060008060808587031215613b6a57600080fd5b6000613b7887828801613847565b9450506020613b8987828801613847565b9350506040613b9a87828801613a8b565b925050606085013567ffffffffffffffff811115613bb757600080fd5b613bc3878288016138ef565b91505092959194509250565b60008060408385031215613be257600080fd5b6000613bf085828601613847565b9250506020613c01858286016138b0565b9150509250929050565b60008060408385031215613c1e57600080fd5b6000613c2c85828601613847565b9250506020613c3d85828601613a8b565b9150509250929050565b600060208284031215613c5957600080fd5b6000613c67848285016138c5565b91505092915050565b600060208284031215613c8257600080fd5b6000613c90848285016138da565b91505092915050565b600060208284031215613cab57600080fd5b600082013567ffffffffffffffff811115613cc557600080fd5b613cd184828501613919565b91505092915050565b60008060008060808587031215613cf057600080fd5b600085013567ffffffffffffffff811115613d0a57600080fd5b613d16878288016139bf565b945050602085013567ffffffffffffffff811115613d3357600080fd5b613d3f8782880161385c565b935050604085013567ffffffffffffffff811115613d5c57600080fd5b613d6887828801613886565b9250506060613d7987828801613a8b565b91505092959194509250565b600060208284031215613d9757600080fd5b6000613da584828501613a8b565b91505092915050565b600080600060608486031215613dc357600080fd5b6000613dd186828701613a8b565b935050602084013567ffffffffffffffff811115613dee57600080fd5b613dfa86828701613919565b925050604084013567ffffffffffffffff811115613e1757600080fd5b613e2386828701613919565b9150509250925092565b60008060008060808587031215613e4357600080fd5b6000613e5187828801613a8b565b945050602085013567ffffffffffffffff811115613e6e57600080fd5b613e7a87828801613919565b935050604085013567ffffffffffffffff811115613e9757600080fd5b613ea387828801613919565b925050606085013567ffffffffffffffff811115613ec057600080fd5b613ecc87828801613919565b91505092959194509250565b60008060408385031215613eeb57600080fd5b6000613ef985828601613a8b565b925050602083013567ffffffffffffffff811115613f1657600080fd5b613f2285828601613943565b9150509250929050565b60008060408385031215613f3f57600080fd5b6000613f4d85828601613a8b565b925050602083013567ffffffffffffffff811115613f6a57600080fd5b613f7685828601613a0f565b9150509250929050565b6000613f8c838361443b565b905092915050565b6000613fa0838361459e565b905092915050565b613fb181614bca565b82525050565b6000613fc282614a69565b613fcc8185614aaf565b935083602082028501613fde85614a34565b8060005b8581101561401a5784840389528151613ffb8582613f80565b945061400683614a95565b925060208a01995050600181019050613fe2565b50829750879550505050505092915050565b600061403782614a74565b6140418185614ac0565b93508360208202850161405385614a44565b8060005b8581101561408f57848403895281516140708582613f94565b945061407b83614aa2565b925060208a01995050600181019050614057565b50829750879550505050505092915050565b6140aa81614bdc565b82525050565b60006140bb82614a7f565b6140c58185614ad1565b93506140d5818560208601614c4d565b6140de81614e19565b840191505092915050565b60006140f482614a8a565b6140fe8185614ae2565b935061410e818560208601614c4d565b61411781614e19565b840191505092915050565b600061412d82614a8a565b6141378185614af3565b9350614147818560208601614c4d565b61415081614e19565b840191505092915050565b600061416682614a8a565b6141708185614b04565b9350614180818560208601614c4d565b80840191505092915050565b6000815461419981614c80565b6141a38186614b04565b945060018216600081146141be57600181146141cf57614202565b60ff19831686528186019350614202565b6141d885614a54565b60005b838110156141fa578154818901526001820191506020810190506141db565b838801955050505b50505092915050565b6000614218603283614af3565b915061422382614e2a565b604082019050919050565b600061423b602583614af3565b915061424682614e79565b604082019050919050565b600061425e602683614af3565b915061426982614ec8565b604082019050919050565b6000614281602483614af3565b915061428c82614f17565b604082019050919050565b60006142a4601983614af3565b91506142af82614f66565b602082019050919050565b60006142c7602c83614af3565b91506142d282614f8f565b604082019050919050565b60006142ea603883614af3565b91506142f582614fde565b604082019050919050565b600061430d602a83614af3565b91506143188261502d565b604082019050919050565b6000614330602c83614af3565b915061433b8261507c565b604082019050919050565b6000614353602083614af3565b915061435e826150cb565b602082019050919050565b6000614376602983614af3565b9150614381826150f4565b604082019050919050565b6000614399602f83614af3565b91506143a482615143565b604082019050919050565b60006143bc602183614af3565b91506143c782615192565b604082019050919050565b60006143df603183614af3565b91506143ea826151e1565b604082019050919050565b6000614402602683614af3565b915061440d82615230565b604082019050919050565b6000614425603083614af3565b91506144308261527f565b604082019050919050565b6000604083016000830151848203600086015261445882826140e9565b9150506020830151848203602086015261447282826140e9565b9150508091505092915050565b6000608083016000830151848203600086015261449c82826140e9565b91505060208301516144b160208601826145e2565b50604083015184820360408601526144c98282613fb7565b915050606083015184820360608601526144e3828261402c565b9150508091505092915050565b6000608083016000830151848203600086015261450d82826140e9565b915050602083015161452260208601826145e2565b506040830151848203604086015261453a8282613fb7565b91505060608301518482036060860152614554828261402c565b9150508091505092915050565b6000604083016000830151848203600086015261457e828261447f565b915050602083015161459360208601826145e2565b508091505092915050565b600060408301600083015184820360008601526145bb82826140e9565b915050602083015184820360208601526145d582826140e9565b9150508091505092915050565b6145eb81614c34565b82525050565b6145fa81614c34565b82525050565b600061460c828461415b565b915081905092915050565b6000614623828561415b565b915061462f828461415b565b91508190509392505050565b6000614647828461418c565b915081905092915050565b60006020820190506146676000830184613fa8565b92915050565b60006080820190506146826000830187613fa8565b61468f6020830186613fa8565b61469c60408301856145f1565b81810360608301526146ae81846140b0565b905095945050505050565b60006020820190506146ce60008301846140a1565b92915050565b600060208201905081810360008301526146ee8184614122565b905092915050565b6000602082019050818103600083015261470f8161420b565b9050919050565b6000602082019050818103600083015261472f8161422e565b9050919050565b6000602082019050818103600083015261474f81614251565b9050919050565b6000602082019050818103600083015261476f81614274565b9050919050565b6000602082019050818103600083015261478f81614297565b9050919050565b600060208201905081810360008301526147af816142ba565b9050919050565b600060208201905081810360008301526147cf816142dd565b9050919050565b600060208201905081810360008301526147ef81614300565b9050919050565b6000602082019050818103600083015261480f81614323565b9050919050565b6000602082019050818103600083015261482f81614346565b9050919050565b6000602082019050818103600083015261484f81614369565b9050919050565b6000602082019050818103600083015261486f8161438c565b9050919050565b6000602082019050818103600083015261488f816143af565b9050919050565b600060208201905081810360008301526148af816143d2565b9050919050565b600060208201905081810360008301526148cf816143f5565b9050919050565b600060208201905081810360008301526148ef81614418565b9050919050565b6000602082019050818103600083015261491081846144f0565b905092915050565b600060208201905081810360008301526149328184614561565b905092915050565b600060208201905061494f60008301846145f1565b92915050565b600061495f614970565b905061496b8282614cb2565b919050565b6000604051905090565b600067ffffffffffffffff82111561499557614994614dea565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156149c1576149c0614dea565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156149ed576149ec614dea565b5b6149f682614e19565b9050602081019050919050565b600067ffffffffffffffff821115614a1e57614a1d614dea565b5b614a2782614e19565b9050602081019050919050565b6000819050602082019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000614b1a82614c34565b9150614b2583614c34565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614b5a57614b59614d5d565b5b828201905092915050565b6000614b7082614c34565b9150614b7b83614c34565b925082614b8b57614b8a614d8c565b5b828204905092915050565b6000614ba182614c34565b9150614bac83614c34565b925082821015614bbf57614bbe614d5d565b5b828203905092915050565b6000614bd582614c14565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015614c6b578082015181840152602081019050614c50565b83811115614c7a576000848401525b50505050565b60006002820490506001821680614c9857607f821691505b60208210811415614cac57614cab614dbb565b5b50919050565b614cbb82614e19565b810181811067ffffffffffffffff82111715614cda57614cd9614dea565b5b80604052505050565b6000614cee82614c34565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614d2157614d20614d5d565b5b600182019050919050565b6000614d3782614c34565b9150614d4283614c34565b925082614d5257614d51614d8c565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4552433732313a206f776e65724f6620666f72206e6f6e6578697374656e742060008201527f746f6b656e000000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f4552433732313a20726574726965766520666f72206e6f6e6578697374656e7460008201527f20746f6b656e0000000000000000000000000000000000000000000000000000602082015250565b7f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656400000000000000000000000000000000602082015250565b6152d781614bca565b81146152e257600080fd5b50565b6152ee81614bdc565b81146152f957600080fd5b50565b61530581614be8565b811461531057600080fd5b50565b61531c81614c34565b811461532757600080fd5b5056fea264697066735822122041d209e08b6dd9ebeedf56a11277614cfead6aac0ad937b83c9dcea4571b5a8b64736f6c63430008010033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101c45760003560e01c806370a08231116100f9578063a22cb46511610097578063c87b56dd11610071578063c87b56dd146104c5578063d547cfb7146104f5578063e985e9c514610513578063f2fde38b14610543576101c4565b8063a22cb4651461045d578063a3bb5c5314610479578063b88d4fde146104a9576101c4565b80638da5cb5b116100d35780638da5cb5b146103d55780638e07adeb146103f35780638f88708b1461040f57806395d89b411461043f576101c4565b806370a082311461037f578063715018a6146103af57806372def72e146103b9576101c4565b80633a92ec721161016657806342966c681161014057806342966c68146102fb57806352f274371461031757806354112f4b146103335780636352211e1461034f576101c4565b80633a92ec72146102b95780633ccfd60b146102d557806342842e0e146102df576101c4565b8063095ea7b3116101a2578063095ea7b31461024757806318160ddd1461026357806323b872dd1461028157806330176e131461029d576101c4565b806301ffc9a7146101c957806306fdde03146101f9578063081812fc14610217575b600080fd5b6101e360048036038101906101de9190613c47565b61055f565b6040516101f091906146b9565b60405180910390f35b610201610641565b60405161020e91906146d4565b60405180910390f35b610231600480360381019061022c9190613d85565b6106d3565b60405161023e9190614652565b60405180910390f35b610261600480360381019061025c9190613c0b565b610758565b005b61026b610870565b604051610278919061493a565b60405180910390f35b61029b60048036038101906102969190613b05565b6108f7565b005b6102b760048036038101906102b29190613c99565b610957565b005b6102d360048036038101906102ce9190613dae565b6109ed565b005b6102dd610bc8565b005b6102f960048036038101906102f49190613b05565b610c8d565b005b61031560048036038101906103109190613d85565b610cad565b005b610331600480360381019061032c9190613cda565b610d35565b005b61034d60048036038101906103489190613f2c565b6112a9565b005b61036960048036038101906103649190613d85565b6113be565b6040516103769190614652565b60405180910390f35b61039960048036038101906103949190613aa0565b61148f565b6040516103a6919061493a565b60405180910390f35b6103b7611547565b005b6103d360048036038101906103ce9190613ed8565b611681565b005b6103dd611796565b6040516103ea9190614652565b60405180910390f35b61040d60048036038101906104089190613e2d565b6117bf565b005b61042960048036038101906104249190613d85565b611a0c565b6040516104369190614918565b60405180910390f35b61044761206e565b60405161045491906146d4565b60405180910390f35b61047760048036038101906104729190613bcf565b612100565b005b610493600480360381019061048e9190613d85565b612281565b6040516104a091906148f6565b60405180910390f35b6104c360048036038101906104be9190613b54565b612784565b005b6104df60048036038101906104da9190613d85565b6127e6565b6040516104ec91906146d4565b60405180910390f35b6104fd61288d565b60405161050a91906146d4565b60405180910390f35b61052d60048036038101906105289190613ac9565b61291f565b60405161053a91906146b9565b60405180910390f35b61055d60048036038101906105589190613aa0565b6129b3565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061062a57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061063a575061063982612b5c565b5b9050919050565b60606001805461065090614c80565b80601f016020809104026020016040519081016040528092919081815260200182805461067c90614c80565b80156106c95780601f1061069e576101008083540402835291602001916106c9565b820191906000526020600020905b8154815290600101906020018083116106ac57829003601f168201915b5050505050905090565b60006106de82612bc6565b61071d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610714906147f6565b60405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610763826113be565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156107d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107cb90614876565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166107f3612c76565b73ffffffffffffffffffffffffffffffffffffffff16148061082257506108218161081c612c76565b61291f565b5b610861576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610858906147b6565b60405180910390fd5b61086b8383612c7e565b505050565b600080600780549050141561088857600090506108f4565b60016007600160078054905061089e9190614b96565b815481106108d5577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000209060030201600201546108f19190614b0f565b90505b90565b610908610902612c76565b82612d37565b610947576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161093e90614896565b60405180910390fd5b610952838383612e15565b505050565b61095f612c76565b73ffffffffffffffffffffffffffffffffffffffff1661097d611796565b73ffffffffffffffffffffffffffffffffffffffff16146109d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109ca90614816565b60405180910390fd5b80600b90805190602001906109e9929190613626565b5050565b6109f5612c76565b73ffffffffffffffffffffffffffffffffffffffff16610a13611796565b73ffffffffffffffffffffffffffffffffffffffff1614610a69576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a6090614816565b60405180910390fd5b60005b6009600085815260200190815260200160002080549050811015610bc25782604051602001610a9b9190614600565b60405160208183030381529060405280519060200120600960008681526020019081526020016000208281548110610afc577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000209060020201600001604051602001610b1d919061463b565b6040516020818303038152906040528051906020012014610b3d57610baf565b81600960008681526020019081526020016000208281548110610b89577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002090600202016001019080519060200190610bad929190613626565b505b8080610bba90614ce3565b915050610a6c565b50505050565b610bd0612c76565b73ffffffffffffffffffffffffffffffffffffffff16610bee611796565b73ffffffffffffffffffffffffffffffffffffffff1614610c44576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c3b90614816565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015610c8a573d6000803e3d6000fd5b50565b610ca883838360405180602001604052806000815250612784565b505050565b610cbe610cb8612c76565b82612d37565b610cfd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cf4906148d6565b60405180910390fd5b610d0681613071565b6001600a600083815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b610d3d612c76565b73ffffffffffffffffffffffffffffffffffffffff16610d5b611796565b73ffffffffffffffffffffffffffffffffffffffff1614610db1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610da890614816565b60405180910390fd5b60005b600780549050811015610e7b578460000151604051602001610dd69190614600565b6040516020818303038152906040528051906020012060078281548110610e26577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000209060030201600001604051602001610e47919061463b565b604051602081830303815290604052805190602001201415610e6857600080fd5b8080610e7390614ce3565b915050610db4565b506000806007805490501415610e945760009050610f00565b600160076001600780549050610eaa9190614b96565b81548110610ee1577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020906003020160020154610efd9190614b0f565b90505b600060018383610f109190614b0f565b610f1a9190614b96565b905060076040518060600160405280886000015181526020018481526020018381525090806001815401808255809150506001900390600052602060002090600302016000909190919091506000820151816000019080519060200190610f82929190613626565b506020820151816001015560408201518160020155505060006001600780549050610fad9190614b96565b905060005b86518110156110e357600860008381526020019081526020016000206040518060400160405280898481518110611012577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015160000151815260200189848151811061105c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015160200151815250908060018154018082558091505060019003906000526020600020906002020160009091909190915060008201518160000190805190602001906110b0929190613626565b5060208201518160010190805190602001906110cd929190613626565b50505080806110db90614ce3565b915050610fb2565b5060005b855181101561121857600960008381526020019081526020016000206040518060400160405280888481518110611147577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151600001518152602001888481518110611191577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015160200151815250908060018154018082558091505060019003906000526020600020906002020160009091909190915060008201518160000190805190602001906111e5929190613626565b506020820151816001019080519060200190611202929190613626565b505050808061121090614ce3565b9150506110e7565b506112233385613182565b60008390505b82811161129f57803373ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808061129790614ce3565b915050611229565b5050505050505050565b6112b1612c76565b73ffffffffffffffffffffffffffffffffffffffff166112cf611796565b73ffffffffffffffffffffffffffffffffffffffff1614611325576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161131c90614816565b60405180910390fd5b6009600083815260200190815260200160002060405180604001604052808360000151815260200183602001518152509080600181540180825580915050600190039060005260206000209060020201600090919091909150600082015181600001908051906020019061139a929190613626565b5060208201518160010190805190602001906113b7929190613626565b5050505050565b60006113c982612bc6565b611408576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113ff90614716565b60405180910390fd5b60006003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156114855761147d611796565b91505061148a565b809150505b919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611500576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114f7906147d6565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61154f612c76565b73ffffffffffffffffffffffffffffffffffffffff1661156d611796565b73ffffffffffffffffffffffffffffffffffffffff16146115c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ba90614816565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b611689612c76565b73ffffffffffffffffffffffffffffffffffffffff166116a7611796565b73ffffffffffffffffffffffffffffffffffffffff16146116fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116f490614816565b60405180910390fd5b60086000838152602001908152602001600020604051806040016040528083600001518152602001836020015181525090806001815401808255809150506001900390600052602060002090600202016000909190919091506000820151816000019080519060200190611772929190613626565b50602082015181600101908051906020019061178f929190613626565b5050505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6117c7612c76565b73ffffffffffffffffffffffffffffffffffffffff166117e5611796565b73ffffffffffffffffffffffffffffffffffffffff161461183b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183290614816565b60405180910390fd5b60005b6008600086815260200190815260200160002080549050811015611a05578360405160200161186d9190614600565b604051602081830303815290604052805190602001206008600087815260200190815260200160002082815481106118ce577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002090600202016000016040516020016118ef919061463b565b604051602081830303815290604052805190602001201461190f576119f2565b8260086000878152602001908152602001600020828154811061195b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000209060020201600001908051906020019061197f929190613626565b50816008600087815260200190815260200160002082815481106119cc577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020906002020160010190805190602001906119f0929190613626565b505b80806119fd90614ce3565b91505061183e565b5050505050565b611a146136ac565b611a1d82612bc6565b611a5c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a53906148b6565b60405180910390fd5b60005b6007805490508110156120635760078181548110611aa6577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020906003020160010154831080611b0f575060078181548110611afa577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002090600302016002015483115b15611b1957612050565b6040518060400160405280604051806080016040528060078581548110611b69577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002090600302016000018054611b8590614c80565b80601f0160208091040260200160405190810160405280929190818152602001828054611bb190614c80565b8015611bfe5780601f10611bd357610100808354040283529160200191611bfe565b820191906000526020600020905b815481529060010190602001808311611be157829003601f168201915b50505050508152602001600160078681548110611c44577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002090600302016001015460078781548110611c90577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020906003020160020154611cac9190614b96565b611cb69190614b0f565b815260200160086000868152602001908152602001600020805480602002602001604051908101604052809291908181526020016000905b82821015611e445783829060005260206000209060020201604051806040016040529081600082018054611d2190614c80565b80601f0160208091040260200160405190810160405280929190818152602001828054611d4d90614c80565b8015611d9a5780601f10611d6f57610100808354040283529160200191611d9a565b820191906000526020600020905b815481529060010190602001808311611d7d57829003601f168201915b50505050508152602001600182018054611db390614c80565b80601f0160208091040260200160405190810160405280929190818152602001828054611ddf90614c80565b8015611e2c5780601f10611e0157610100808354040283529160200191611e2c565b820191906000526020600020905b815481529060010190602001808311611e0f57829003601f168201915b50505050508152505081526020019060010190611cee565b50505050815260200160096000868152602001908152602001600020805480602002602001604051908101604052809291908181526020016000905b82821015611fd65783829060005260206000209060020201604051806040016040529081600082018054611eb390614c80565b80601f0160208091040260200160405190810160405280929190818152602001828054611edf90614c80565b8015611f2c5780601f10611f0157610100808354040283529160200191611f2c565b820191906000526020600020905b815481529060010190602001808311611f0f57829003601f168201915b50505050508152602001600182018054611f4590614c80565b80601f0160208091040260200160405190810160405280929190818152602001828054611f7190614c80565b8015611fbe5780601f10611f9357610100808354040283529160200191611fbe565b820191906000526020600020905b815481529060010190602001808311611fa157829003601f168201915b50505050508152505081526020019060010190611e80565b50505050815250815260200160016007848154811061201e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000209060030201600101548661203b9190614b96565b6120459190614b0f565b815250915050612069565b808061205b90614ce3565b915050611a5f565b50600080fd5b919050565b60606002805461207d90614c80565b80601f01602080910402602001604051908101604052809291908181526020018280546120a990614c80565b80156120f65780601f106120cb576101008083540402835291602001916120f6565b820191906000526020600020905b8154815290600101906020018083116120d957829003601f168201915b5050505050905090565b612108612c76565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612176576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161216d90614776565b60405180910390fd5b8060066000612183612c76565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16612230612c76565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161227591906146b9565b60405180910390a35050565b6122896136cc565b60005b600780549050811015612779578281146122a557612766565b6040518060800160405280600783815481106122ea577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000209060030201600001805461230690614c80565b80601f016020809104026020016040519081016040528092919081815260200182805461233290614c80565b801561237f5780601f106123545761010080835404028352916020019161237f565b820191906000526020600020905b81548152906001019060200180831161236257829003601f168201915b505050505081526020016001600784815481106123c5577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002090600302016001015460078581548110612411577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002090600302016002015461242d9190614b96565b6124379190614b0f565b815260200160086000848152602001908152602001600020805480602002602001604051908101604052809291908181526020016000905b828210156125c557838290600052602060002090600202016040518060400160405290816000820180546124a290614c80565b80601f01602080910402602001604051908101604052809291908181526020018280546124ce90614c80565b801561251b5780601f106124f05761010080835404028352916020019161251b565b820191906000526020600020905b8154815290600101906020018083116124fe57829003601f168201915b5050505050815260200160018201805461253490614c80565b80601f016020809104026020016040519081016040528092919081815260200182805461256090614c80565b80156125ad5780601f10612582576101008083540402835291602001916125ad565b820191906000526020600020905b81548152906001019060200180831161259057829003601f168201915b5050505050815250508152602001906001019061246f565b50505050815260200160096000848152602001908152602001600020805480602002602001604051908101604052809291908181526020016000905b82821015612757578382906000526020600020906002020160405180604001604052908160008201805461263490614c80565b80601f016020809104026020016040519081016040528092919081815260200182805461266090614c80565b80156126ad5780601f10612682576101008083540402835291602001916126ad565b820191906000526020600020905b81548152906001019060200180831161269057829003601f168201915b505050505081526020016001820180546126c690614c80565b80601f01602080910402602001604051908101604052809291908181526020018280546126f290614c80565b801561273f5780601f106127145761010080835404028352916020019161273f565b820191906000526020600020905b81548152906001019060200180831161272257829003601f168201915b50505050508152505081526020019060010190612601565b5050505081525091505061277f565b808061277190614ce3565b91505061228c565b50600080fd5b919050565b61279561278f612c76565b83612d37565b6127d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127cb90614896565b60405180910390fd5b6127e0848484846131dc565b50505050565b60606127f182612bc6565b612830576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161282790614856565b60405180910390fd5b600061283a613238565b9050600081511161285a5760405180602001604052806000815250612885565b80612864846132ca565b604051602001612875929190614617565b6040516020818303038152906040525b915050919050565b6060600b805461289c90614c80565b80601f01602080910402602001604051908101604052809291908181526020018280546128c890614c80565b80156129155780601f106128ea57610100808354040283529160200191612915565b820191906000526020600020905b8154815290600101906020018083116128f857829003601f168201915b5050505050905090565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6129bb612c76565b73ffffffffffffffffffffffffffffffffffffffff166129d9611796565b73ffffffffffffffffffffffffffffffffffffffff1614612a2f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a2690614816565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612a9f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a9690614736565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000600a600083815260200190815260200160002060009054906101000a900460ff1615612bf75760009050612c71565b60006007805490501415612c0e5760009050612c71565b60076001600780549050612c229190614b96565b81548110612c59577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002090600302016002015482111590505b919050565b600033905090565b816005600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612cf1836113be565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000612d4282612bc6565b612d81576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d7890614796565b60405180910390fd5b6000612d8c836113be565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612dfb57508373ffffffffffffffffffffffffffffffffffffffff16612de3846106d3565b73ffffffffffffffffffffffffffffffffffffffff16145b80612e0c5750612e0b818561291f565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612e35826113be565b73ffffffffffffffffffffffffffffffffffffffff1614612e8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e8290614836565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612efb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ef290614756565b60405180910390fd5b612f06838383613477565b612f11600082612c7e565b6001600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612f619190614b96565b925050819055506001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612fb89190614b0f565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600061307c826113be565b905061308a81600084613477565b613095600083612c7e565b6001600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546130e59190614b96565b925050819055506003600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b80600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546131d19190614b0f565b925050819055505050565b6131e7848484612e15565b6131f38484848461347c565b613232576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613229906146f6565b60405180910390fd5b50505050565b6060600b805461324790614c80565b80601f016020809104026020016040519081016040528092919081815260200182805461327390614c80565b80156132c05780601f10613295576101008083540402835291602001916132c0565b820191906000526020600020905b8154815290600101906020018083116132a357829003601f168201915b5050505050905090565b60606000821415613312576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613472565b600082905060005b6000821461334457808061332d90614ce3565b915050600a8261333d9190614b65565b915061331a565b60008167ffffffffffffffff811115613386577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156133b85781602001600182028036833780820191505090505b5090505b6000851461346b576001826133d19190614b96565b9150600a856133e09190614d2c565b60306133ec9190614b0f565b60f81b818381518110613428577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856134649190614b65565b94506133bc565b8093505050505b919050565b505050565b600061349d8473ffffffffffffffffffffffffffffffffffffffff16613613565b15613606578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026134c6612c76565b8786866040518563ffffffff1660e01b81526004016134e8949392919061466d565b602060405180830381600087803b15801561350257600080fd5b505af192505050801561353357506040513d601f19601f820116820180604052508101906135309190613c70565b60015b6135b6573d8060008114613563576040519150601f19603f3d011682016040523d82523d6000602084013e613568565b606091505b506000815114156135ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135a5906146f6565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061360b565b600190505b949350505050565b600080823b905060008111915050919050565b82805461363290614c80565b90600052602060002090601f016020900481019282613654576000855561369b565b82601f1061366d57805160ff191683800117855561369b565b8280016001018555821561369b579182015b8281111561369a57825182559160200191906001019061367f565b5b5090506136a891906136f4565b5090565b60405180604001604052806136bf6136cc565b8152602001600081525090565b6040518060800160405280606081526020016000815260200160608152602001606081525090565b5b8082111561370d5760008160009055506001016136f5565b5090565b600061372461371f8461497a565b614955565b9050808382526020820190508260005b85811015613764578135850161374a8882613943565b845260208401935060208301925050600181019050613734565b5050509392505050565b600061378161377c846149a6565b614955565b9050808382526020820190508260005b858110156137c157813585016137a78882613a0f565b845260208401935060208301925050600181019050613791565b5050509392505050565b60006137de6137d9846149d2565b614955565b9050828152602081018484840111156137f657600080fd5b613801848285614c3e565b509392505050565b600061381c61381784614a03565b614955565b90508281526020810184848401111561383457600080fd5b61383f848285614c3e565b509392505050565b600081359050613856816152ce565b92915050565b600082601f83011261386d57600080fd5b813561387d848260208601613711565b91505092915050565b600082601f83011261389757600080fd5b81356138a784826020860161376e565b91505092915050565b6000813590506138bf816152e5565b92915050565b6000813590506138d4816152fc565b92915050565b6000815190506138e9816152fc565b92915050565b600082601f83011261390057600080fd5b81356139108482602086016137cb565b91505092915050565b600082601f83011261392a57600080fd5b813561393a848260208601613809565b91505092915050565b60006040828403121561395557600080fd5b61395f6040614955565b9050600082013567ffffffffffffffff81111561397b57600080fd5b61398784828501613919565b600083015250602082013567ffffffffffffffff8111156139a757600080fd5b6139b384828501613919565b60208301525092915050565b6000602082840312156139d157600080fd5b6139db6020614955565b9050600082013567ffffffffffffffff8111156139f757600080fd5b613a0384828501613919565b60008301525092915050565b600060408284031215613a2157600080fd5b613a2b6040614955565b9050600082013567ffffffffffffffff811115613a4757600080fd5b613a5384828501613919565b600083015250602082013567ffffffffffffffff811115613a7357600080fd5b613a7f84828501613919565b60208301525092915050565b600081359050613a9a81615313565b92915050565b600060208284031215613ab257600080fd5b6000613ac084828501613847565b91505092915050565b60008060408385031215613adc57600080fd5b6000613aea85828601613847565b9250506020613afb85828601613847565b9150509250929050565b600080600060608486031215613b1a57600080fd5b6000613b2886828701613847565b9350506020613b3986828701613847565b9250506040613b4a86828701613a8b565b9150509250925092565b60008060008060808587031215613b6a57600080fd5b6000613b7887828801613847565b9450506020613b8987828801613847565b9350506040613b9a87828801613a8b565b925050606085013567ffffffffffffffff811115613bb757600080fd5b613bc3878288016138ef565b91505092959194509250565b60008060408385031215613be257600080fd5b6000613bf085828601613847565b9250506020613c01858286016138b0565b9150509250929050565b60008060408385031215613c1e57600080fd5b6000613c2c85828601613847565b9250506020613c3d85828601613a8b565b9150509250929050565b600060208284031215613c5957600080fd5b6000613c67848285016138c5565b91505092915050565b600060208284031215613c8257600080fd5b6000613c90848285016138da565b91505092915050565b600060208284031215613cab57600080fd5b600082013567ffffffffffffffff811115613cc557600080fd5b613cd184828501613919565b91505092915050565b60008060008060808587031215613cf057600080fd5b600085013567ffffffffffffffff811115613d0a57600080fd5b613d16878288016139bf565b945050602085013567ffffffffffffffff811115613d3357600080fd5b613d3f8782880161385c565b935050604085013567ffffffffffffffff811115613d5c57600080fd5b613d6887828801613886565b9250506060613d7987828801613a8b565b91505092959194509250565b600060208284031215613d9757600080fd5b6000613da584828501613a8b565b91505092915050565b600080600060608486031215613dc357600080fd5b6000613dd186828701613a8b565b935050602084013567ffffffffffffffff811115613dee57600080fd5b613dfa86828701613919565b925050604084013567ffffffffffffffff811115613e1757600080fd5b613e2386828701613919565b9150509250925092565b60008060008060808587031215613e4357600080fd5b6000613e5187828801613a8b565b945050602085013567ffffffffffffffff811115613e6e57600080fd5b613e7a87828801613919565b935050604085013567ffffffffffffffff811115613e9757600080fd5b613ea387828801613919565b925050606085013567ffffffffffffffff811115613ec057600080fd5b613ecc87828801613919565b91505092959194509250565b60008060408385031215613eeb57600080fd5b6000613ef985828601613a8b565b925050602083013567ffffffffffffffff811115613f1657600080fd5b613f2285828601613943565b9150509250929050565b60008060408385031215613f3f57600080fd5b6000613f4d85828601613a8b565b925050602083013567ffffffffffffffff811115613f6a57600080fd5b613f7685828601613a0f565b9150509250929050565b6000613f8c838361443b565b905092915050565b6000613fa0838361459e565b905092915050565b613fb181614bca565b82525050565b6000613fc282614a69565b613fcc8185614aaf565b935083602082028501613fde85614a34565b8060005b8581101561401a5784840389528151613ffb8582613f80565b945061400683614a95565b925060208a01995050600181019050613fe2565b50829750879550505050505092915050565b600061403782614a74565b6140418185614ac0565b93508360208202850161405385614a44565b8060005b8581101561408f57848403895281516140708582613f94565b945061407b83614aa2565b925060208a01995050600181019050614057565b50829750879550505050505092915050565b6140aa81614bdc565b82525050565b60006140bb82614a7f565b6140c58185614ad1565b93506140d5818560208601614c4d565b6140de81614e19565b840191505092915050565b60006140f482614a8a565b6140fe8185614ae2565b935061410e818560208601614c4d565b61411781614e19565b840191505092915050565b600061412d82614a8a565b6141378185614af3565b9350614147818560208601614c4d565b61415081614e19565b840191505092915050565b600061416682614a8a565b6141708185614b04565b9350614180818560208601614c4d565b80840191505092915050565b6000815461419981614c80565b6141a38186614b04565b945060018216600081146141be57600181146141cf57614202565b60ff19831686528186019350614202565b6141d885614a54565b60005b838110156141fa578154818901526001820191506020810190506141db565b838801955050505b50505092915050565b6000614218603283614af3565b915061422382614e2a565b604082019050919050565b600061423b602583614af3565b915061424682614e79565b604082019050919050565b600061425e602683614af3565b915061426982614ec8565b604082019050919050565b6000614281602483614af3565b915061428c82614f17565b604082019050919050565b60006142a4601983614af3565b91506142af82614f66565b602082019050919050565b60006142c7602c83614af3565b91506142d282614f8f565b604082019050919050565b60006142ea603883614af3565b91506142f582614fde565b604082019050919050565b600061430d602a83614af3565b91506143188261502d565b604082019050919050565b6000614330602c83614af3565b915061433b8261507c565b604082019050919050565b6000614353602083614af3565b915061435e826150cb565b602082019050919050565b6000614376602983614af3565b9150614381826150f4565b604082019050919050565b6000614399602f83614af3565b91506143a482615143565b604082019050919050565b60006143bc602183614af3565b91506143c782615192565b604082019050919050565b60006143df603183614af3565b91506143ea826151e1565b604082019050919050565b6000614402602683614af3565b915061440d82615230565b604082019050919050565b6000614425603083614af3565b91506144308261527f565b604082019050919050565b6000604083016000830151848203600086015261445882826140e9565b9150506020830151848203602086015261447282826140e9565b9150508091505092915050565b6000608083016000830151848203600086015261449c82826140e9565b91505060208301516144b160208601826145e2565b50604083015184820360408601526144c98282613fb7565b915050606083015184820360608601526144e3828261402c565b9150508091505092915050565b6000608083016000830151848203600086015261450d82826140e9565b915050602083015161452260208601826145e2565b506040830151848203604086015261453a8282613fb7565b91505060608301518482036060860152614554828261402c565b9150508091505092915050565b6000604083016000830151848203600086015261457e828261447f565b915050602083015161459360208601826145e2565b508091505092915050565b600060408301600083015184820360008601526145bb82826140e9565b915050602083015184820360208601526145d582826140e9565b9150508091505092915050565b6145eb81614c34565b82525050565b6145fa81614c34565b82525050565b600061460c828461415b565b915081905092915050565b6000614623828561415b565b915061462f828461415b565b91508190509392505050565b6000614647828461418c565b915081905092915050565b60006020820190506146676000830184613fa8565b92915050565b60006080820190506146826000830187613fa8565b61468f6020830186613fa8565b61469c60408301856145f1565b81810360608301526146ae81846140b0565b905095945050505050565b60006020820190506146ce60008301846140a1565b92915050565b600060208201905081810360008301526146ee8184614122565b905092915050565b6000602082019050818103600083015261470f8161420b565b9050919050565b6000602082019050818103600083015261472f8161422e565b9050919050565b6000602082019050818103600083015261474f81614251565b9050919050565b6000602082019050818103600083015261476f81614274565b9050919050565b6000602082019050818103600083015261478f81614297565b9050919050565b600060208201905081810360008301526147af816142ba565b9050919050565b600060208201905081810360008301526147cf816142dd565b9050919050565b600060208201905081810360008301526147ef81614300565b9050919050565b6000602082019050818103600083015261480f81614323565b9050919050565b6000602082019050818103600083015261482f81614346565b9050919050565b6000602082019050818103600083015261484f81614369565b9050919050565b6000602082019050818103600083015261486f8161438c565b9050919050565b6000602082019050818103600083015261488f816143af565b9050919050565b600060208201905081810360008301526148af816143d2565b9050919050565b600060208201905081810360008301526148cf816143f5565b9050919050565b600060208201905081810360008301526148ef81614418565b9050919050565b6000602082019050818103600083015261491081846144f0565b905092915050565b600060208201905081810360008301526149328184614561565b905092915050565b600060208201905061494f60008301846145f1565b92915050565b600061495f614970565b905061496b8282614cb2565b919050565b6000604051905090565b600067ffffffffffffffff82111561499557614994614dea565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156149c1576149c0614dea565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156149ed576149ec614dea565b5b6149f682614e19565b9050602081019050919050565b600067ffffffffffffffff821115614a1e57614a1d614dea565b5b614a2782614e19565b9050602081019050919050565b6000819050602082019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000614b1a82614c34565b9150614b2583614c34565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614b5a57614b59614d5d565b5b828201905092915050565b6000614b7082614c34565b9150614b7b83614c34565b925082614b8b57614b8a614d8c565b5b828204905092915050565b6000614ba182614c34565b9150614bac83614c34565b925082821015614bbf57614bbe614d5d565b5b828203905092915050565b6000614bd582614c14565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015614c6b578082015181840152602081019050614c50565b83811115614c7a576000848401525b50505050565b60006002820490506001821680614c9857607f821691505b60208210811415614cac57614cab614dbb565b5b50919050565b614cbb82614e19565b810181811067ffffffffffffffff82111715614cda57614cd9614dea565b5b80604052505050565b6000614cee82614c34565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614d2157614d20614d5d565b5b600182019050919050565b6000614d3782614c34565b9150614d4283614c34565b925082614d5257614d51614d8c565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4552433732313a206f776e65724f6620666f72206e6f6e6578697374656e742060008201527f746f6b656e000000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f4552433732313a20726574726965766520666f72206e6f6e6578697374656e7460008201527f20746f6b656e0000000000000000000000000000000000000000000000000000602082015250565b7f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656400000000000000000000000000000000602082015250565b6152d781614bca565b81146152e257600080fd5b50565b6152ee81614bdc565b81146152f957600080fd5b50565b61530581614be8565b811461531057600080fd5b50565b61531c81614c34565b811461532757600080fd5b5056fea264697066735822122041d209e08b6dd9ebeedf56a11277614cfead6aac0ad937b83c9dcea4571b5a8b64736f6c63430008010033

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

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

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.