POL Price: $0.626446 (+5.43%)
 

Overview

POL Balance

Polygon PoS Chain LogoPolygon PoS Chain LogoPolygon PoS Chain Logo0 POL

POL Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Deploy561830882024-04-24 2:13:18222 days ago1713924798IN
0x03a177C8...bDc7a29e7
0 POL0.22921353103.81753
Deploy561829302024-04-24 2:07:14222 days ago1713924434IN
0x03a177C8...bDc7a29e7
0 POL0.22399607101.45439075
Deploy561828052024-04-24 2:02:10222 days ago1713924130IN
0x03a177C8...bDc7a29e7
0 POL0.1800353581.54373521
Deploy561825022024-04-24 1:50:35222 days ago1713923435IN
0x03a177C8...bDc7a29e7
0 POL0.2118400495.94856818
Deploy561444622024-04-23 1:19:24223 days ago1713835164IN
0x03a177C8...bDc7a29e7
0 POL0.066707130.21360241
Deploy532579762024-02-08 4:08:44298 days ago1707365324IN
0x03a177C8...bDc7a29e7
0 POL0.0662381730.00006857
Deploy532578142024-02-08 4:02:34298 days ago1707364954IN
0x03a177C8...bDc7a29e7
0 POL0.0662381130.00004178
Deploy532576572024-02-08 3:56:26298 days ago1707364586IN
0x03a177C8...bDc7a29e7
0 POL0.0662380430.00001089
Deploy532575052024-02-08 3:50:52298 days ago1707364252IN
0x03a177C8...bDc7a29e7
0 POL0.0662373330.0000164
Deploy532574122024-02-08 3:47:26298 days ago1707364046IN
0x03a177C8...bDc7a29e7
0 POL0.0662377230.00002895
Deploy532573102024-02-08 3:43:48298 days ago1707363828IN
0x03a177C8...bDc7a29e7
0 POL0.0662377130.00002467
Deploy532572342024-02-08 3:40:34298 days ago1707363634IN
0x03a177C8...bDc7a29e7
0 POL0.0662373430.00002224
Deploy532571272024-02-08 3:36:46298 days ago1707363406IN
0x03a177C8...bDc7a29e7
0 POL0.0662376930.00001724
Deploy532570192024-02-08 3:32:48298 days ago1707363168IN
0x03a177C8...bDc7a29e7
0 POL0.0662377330.00003305
Deploy532568562024-02-08 3:26:35298 days ago1707362795IN
0x03a177C8...bDc7a29e7
0 POL0.0662376830.00001119
Deploy532565822024-02-08 3:16:05298 days ago1707362165IN
0x03a177C8...bDc7a29e7
0 POL0.0662376730.00000522
Deploy532564172024-02-08 3:09:43298 days ago1707361783IN
0x03a177C8...bDc7a29e7
0 POL0.0680650430.82764837
Deploy504325512023-11-27 0:46:31371 days ago1701045991IN
0x03a177C8...bDc7a29e7
0 POL0.0818558738.25850771
Deploy459986072023-08-07 0:35:15483 days ago1691368515IN
0x03a177C8...bDc7a29e7
0 POL0.2193121101.42796185
Deploy453925772023-07-22 18:36:41498 days ago1690051001IN
0x03a177C8...bDc7a29e7
0 POL0.2256497105.472026
Deploy453923812023-07-22 18:29:43498 days ago1690050583IN
0x03a177C8...bDc7a29e7
0 POL0.21623133101.06974162
Deploy453921922023-07-22 18:22:28498 days ago1690050148IN
0x03a177C8...bDc7a29e7
0 POL0.1786471383.50185886
Deploy453917522023-07-22 18:06:28498 days ago1690049188IN
0x03a177C8...bDc7a29e7
0 POL0.23418303109.46001958
Deploy453913042023-07-22 17:50:09498 days ago1690048209IN
0x03a177C8...bDc7a29e7
0 POL0.33168338155.03374522
Deploy400543402023-03-07 2:48:44636 days ago1678157324IN
0x03a177C8...bDc7a29e7
0 POL0.24303735116.04783472
View all transactions

Latest 25 internal transactions (View All)

Parent Transaction Hash Block From To
561830882024-04-24 2:13:18222 days ago1713924798
0x03a177C8...bDc7a29e7
 Contract Creation0 POL
561829302024-04-24 2:07:14222 days ago1713924434
0x03a177C8...bDc7a29e7
 Contract Creation0 POL
561828052024-04-24 2:02:10222 days ago1713924130
0x03a177C8...bDc7a29e7
 Contract Creation0 POL
561825022024-04-24 1:50:35222 days ago1713923435
0x03a177C8...bDc7a29e7
 Contract Creation0 POL
561444622024-04-23 1:19:24223 days ago1713835164
0x03a177C8...bDc7a29e7
 Contract Creation0 POL
532579762024-02-08 4:08:44298 days ago1707365324
0x03a177C8...bDc7a29e7
 Contract Creation0 POL
532578142024-02-08 4:02:34298 days ago1707364954
0x03a177C8...bDc7a29e7
 Contract Creation0 POL
532576572024-02-08 3:56:26298 days ago1707364586
0x03a177C8...bDc7a29e7
 Contract Creation0 POL
532575052024-02-08 3:50:52298 days ago1707364252
0x03a177C8...bDc7a29e7
 Contract Creation0 POL
532574122024-02-08 3:47:26298 days ago1707364046
0x03a177C8...bDc7a29e7
 Contract Creation0 POL
532573102024-02-08 3:43:48298 days ago1707363828
0x03a177C8...bDc7a29e7
 Contract Creation0 POL
532572342024-02-08 3:40:34298 days ago1707363634
0x03a177C8...bDc7a29e7
 Contract Creation0 POL
532571272024-02-08 3:36:46298 days ago1707363406
0x03a177C8...bDc7a29e7
 Contract Creation0 POL
532570192024-02-08 3:32:48298 days ago1707363168
0x03a177C8...bDc7a29e7
 Contract Creation0 POL
532568562024-02-08 3:26:35298 days ago1707362795
0x03a177C8...bDc7a29e7
 Contract Creation0 POL
532565822024-02-08 3:16:05298 days ago1707362165
0x03a177C8...bDc7a29e7
 Contract Creation0 POL
532564172024-02-08 3:09:43298 days ago1707361783
0x03a177C8...bDc7a29e7
 Contract Creation0 POL
504325512023-11-27 0:46:31371 days ago1701045991
0x03a177C8...bDc7a29e7
 Contract Creation0 POL
459986072023-08-07 0:35:15483 days ago1691368515
0x03a177C8...bDc7a29e7
 Contract Creation0 POL
453925772023-07-22 18:36:41498 days ago1690051001
0x03a177C8...bDc7a29e7
 Contract Creation0 POL
453923812023-07-22 18:29:43498 days ago1690050583
0x03a177C8...bDc7a29e7
 Contract Creation0 POL
453921922023-07-22 18:22:28498 days ago1690050148
0x03a177C8...bDc7a29e7
 Contract Creation0 POL
453917522023-07-22 18:06:28498 days ago1690049188
0x03a177C8...bDc7a29e7
 Contract Creation0 POL
453913042023-07-22 17:50:09498 days ago1690048209
0x03a177C8...bDc7a29e7
 Contract Creation0 POL
400543402023-03-07 2:48:44636 days ago1678157324
0x03a177C8...bDc7a29e7
 Contract Creation0 POL
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Factory721

Compiler Version
v0.8.13+commit.abaa5c0e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity Multiple files format)

File 1 of 2: Factory721.sol
//SPDX-License-Identifier: UNLICENSED
pragma solidity 0.8.13;

import "./MarleyDigitalMediaUserToken721.sol";

contract Factory721 {
	event Deployed(address owner, address contractAddress);

	function deploy(bytes32 _salt, string memory name, string memory symbol, string memory tokenURIPrefix) external returns(address addr) {
		addr = address(new MarleyDigitalMediaUserToken721{salt: _salt}(name, symbol, tokenURIPrefix));
		MarleyDigitalMediaUserToken721 token = MarleyDigitalMediaUserToken721(address(addr));
		token.transferOwnership(msg.sender);
		emit Deployed(msg.sender, addr);
	}
}

File 2 of 2: MarleyDigitalMediaUserToken721.sol
// SPDX-License-Identifier:UNLICENSED
pragma solidity 0.8.13;

library Strings {

    function toString(uint256 value) internal pure returns (string memory) {

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

library EnumerableMap {

    struct MapEntry {
        bytes32 _key;
        bytes32 _value;
    }

    struct Map {
        MapEntry[] _entries;

        mapping (bytes32 => uint256) _indexes;
    }

    function _set(Map storage map, bytes32 key, bytes32 value) private returns (bool) {
        uint256 keyIndex = map._indexes[key];

        if (keyIndex == 0) { // Equivalent to !contains(map, key)
            map._entries.push(MapEntry({ _key: key, _value: value }));
            map._indexes[key] = map._entries.length;
            return true;
        } else {
            map._entries[keyIndex - 1]._value = value;
            return false;
        }
    }

    function _remove(Map storage map, bytes32 key) private returns (bool) {
        uint256 keyIndex = map._indexes[key];

        if (keyIndex != 0) { // Equivalent to contains(map, key)
            uint256 toDeleteIndex = keyIndex - 1;
            uint256 lastIndex = map._entries.length - 1;
            MapEntry storage lastEntry = map._entries[lastIndex];

            map._entries[toDeleteIndex] = lastEntry;
            map._indexes[lastEntry._key] = toDeleteIndex + 1; // All indexes are 1-based

            map._entries.pop();

            delete map._indexes[key];

            return true;
        } else {
            return false;
        }
    }

    function _contains(Map storage map, bytes32 key) private view returns (bool) {
        return map._indexes[key] != 0;
    }

    function _length(Map storage map) private view returns (uint256) {
        return map._entries.length;
    }

    function _at(Map storage map, uint256 index) private view returns (bytes32, bytes32) {
        require(map._entries.length > index, "EnumerableMap: index out of bounds");

        MapEntry storage entry = map._entries[index];
        return (entry._key, entry._value);
    }

    function _tryGet(Map storage map, bytes32 key) private view returns (bool, bytes32) {
        uint256 keyIndex = map._indexes[key];
        if (keyIndex == 0) return (false, 0); // Equivalent to contains(map, key)
        return (true, map._entries[keyIndex - 1]._value); // All indexes are 1-based
    }

    function _get(Map storage map, bytes32 key) private view returns (bytes32) {
        uint256 keyIndex = map._indexes[key];
        require(keyIndex != 0, "EnumerableMap: nonexistent key"); // Equivalent to contains(map, key)
        return map._entries[keyIndex - 1]._value; // All indexes are 1-based
    }

    function _get(Map storage map, bytes32 key, string memory errorMessage) private view returns (bytes32) {
        uint256 keyIndex = map._indexes[key];
        require(keyIndex != 0, errorMessage); // Equivalent to contains(map, key)
        return map._entries[keyIndex - 1]._value; // All indexes are 1-based
    }

    struct UintToAddressMap {
        Map _inner;
    }

    function set(UintToAddressMap storage map, uint256 key, address value) internal returns (bool) {
        return _set(map._inner, bytes32(key), bytes32(uint256(uint160(value))));
    }

    function remove(UintToAddressMap storage map, uint256 key) internal returns (bool) {
        return _remove(map._inner, bytes32(key));
    }

    function contains(UintToAddressMap storage map, uint256 key) internal view returns (bool) {
        return _contains(map._inner, bytes32(key));
    }

    function length(UintToAddressMap storage map) internal view returns (uint256) {
        return _length(map._inner);
    }

    function at(UintToAddressMap storage map, uint256 index) internal view returns (uint256, address) {
        (bytes32 key, bytes32 value) = _at(map._inner, index);
        return (uint256(key), address(uint160(uint256(value))));
    }

    function tryGet(UintToAddressMap storage map, uint256 key) internal view returns (bool, address) {
        (bool success, bytes32 value) = _tryGet(map._inner, bytes32(key));
        return (success, address(uint160(uint256(value))));
    }

    function get(UintToAddressMap storage map, uint256 key) internal view returns (address) {
        return address(uint160(uint256(_get(map._inner, bytes32(key)))));
    }

    function get(UintToAddressMap storage map, uint256 key, string memory errorMessage) internal view returns (address) {
        return address(uint160(uint256(_get(map._inner, bytes32(key), errorMessage))));
    }
}

library EnumerableSet {
    struct Set {
        bytes32[] _values;
        mapping (bytes32 => uint256) _indexes;
    }

    function _add(Set storage set, bytes32 value) private returns (bool) {
        if (!_contains(set, value)) {
            set._values.push(value);
            set._indexes[value] = set._values.length;
            return true;
        } else {
            return false;
        }
    }

    function _remove(Set storage set, bytes32 value) private returns (bool) {
        uint256 valueIndex = set._indexes[value];

        if (valueIndex != 0) { // Equivalent to contains(set, value)
            uint256 toDeleteIndex = valueIndex - 1;
            uint256 lastIndex = set._values.length - 1;
            bytes32 lastvalue = set._values[lastIndex];

            set._values[toDeleteIndex] = lastvalue;
            set._indexes[lastvalue] = toDeleteIndex + 1; // All indexes are 1-based

            set._values.pop();

            delete set._indexes[value];

            return true;
        } else {
            return false;
        }
    }

    function _contains(Set storage set, bytes32 value) private view returns (bool) {
        return set._indexes[value] != 0;
    }

    function _length(Set storage set) private view returns (uint256) {
        return set._values.length;
    }

    function _at(Set storage set, uint256 index) private view returns (bytes32) {
        require(set._values.length > index, "EnumerableSet: index out of bounds");
        return set._values[index];
    }

    struct Bytes32Set {
        Set _inner;
    }

    function add(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _add(set._inner, value);
    }

    function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _remove(set._inner, value);
    }

    function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) {
        return _contains(set._inner, value);
    }

    function length(Bytes32Set storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) {
        return _at(set._inner, index);
    }

    struct AddressSet {
        Set _inner;
    }

    function add(AddressSet storage set, address value) internal returns (bool) {
        return _add(set._inner, bytes32(uint256(uint160(value))));
    }

    function remove(AddressSet storage set, address value) internal returns (bool) {
        return _remove(set._inner, bytes32(uint256(uint160(value))));
    }

    function contains(AddressSet storage set, address value) internal view returns (bool) {
        return _contains(set._inner, bytes32(uint256(uint160(value))));
    }

    function length(AddressSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    function at(AddressSet storage set, uint256 index) internal view returns (address) {
        return address(uint160(uint256(_at(set._inner, index))));
    }

    struct UintSet {
        Set _inner;
    }

    function add(UintSet storage set, uint256 value) internal returns (bool) {
        return _add(set._inner, bytes32(value));
    }

    function remove(UintSet storage set, uint256 value) internal returns (bool) {
        return _remove(set._inner, bytes32(value));
    }

    function contains(UintSet storage set, uint256 value) internal view returns (bool) {
        return _contains(set._inner, bytes32(value));
    }

    function length(UintSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    function at(UintSet storage set, uint256 index) internal view returns (uint256) {
        return uint256(_at(set._inner, index));
    }
}

library Address {

    function isContract(address account) internal view returns (bool) {
        uint256 size;
        assembly { size := extcodesize(account) }
        return size > 0;
    }

    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

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

    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
      return functionCall(target, data, "Address: low-level call failed");
    }

    function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

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

    function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

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

    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

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

    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

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

    function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {
        if (success) {
            return returndata;
        } else {
            if (returndata.length > 0) {
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

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

abstract contract ERC165 is IERC165 {

    bytes4 private constant _INTERFACE_ID_ERC165 = 0x01ffc9a7;

    mapping(bytes4 => bool) private _supportedInterfaces;

    constructor () {
        _registerInterface(_INTERFACE_ID_ERC165);
    }

    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return _supportedInterfaces[interfaceId];
    }

    function _registerInterface(bytes4 interfaceId) internal virtual {
        require(interfaceId != 0xffffffff, "ERC165: invalid interface id");
        _supportedInterfaces[interfaceId] = true;
    }
}

interface IERC721 is IERC165 {

    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);

    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

    event URI(string value, uint256 indexed id);

    event tokenBaseURI(string value);

    function balanceOf(address owner) external view returns (uint256 balance);

    function royaltyFee(uint256 tokenId) external view  returns(uint256);
        
    function getCreator(uint256 tokenId) external view returns(address);

    function ownerOf(uint256 tokenId) external view returns (address owner);

    function safeTransferFrom(address from, address to, uint256 tokenId) external;

    function transferFrom(address from, address to, uint256 tokenId) external;

    function approve(address to, uint256 tokenId) external;

    function getApproved(uint256 tokenId) external view returns (address operator);

    function setApprovalForAll(address operator, bool _approved) external;

    function isApprovedForAll(address owner, address operator) external view returns (bool);

    function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external;
}


interface IERC721Receiver {

    function onERC721Received(address operator, address from, uint256 tokenId, bytes calldata data) external returns (bytes4);
}

interface IERC721Enumerable is IERC721 {

    function totalSupply() external view returns (uint256);

    function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId);

    function tokenByIndex(uint256 index) external view returns (uint256);
}

interface IERC721Metadata is IERC721 {

    function name() external view returns (string memory);

    function symbol() external view returns (string memory);

    function tokenURI(uint256 tokenId) external view returns (string memory);
}

abstract contract Context {
    function _msgSender() internal view virtual returns (address payable) {
        return payable(msg.sender);
    }

    function _msgData() internal view virtual returns (bytes memory) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

contract ERC721 is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable {
    using Address for address;
    using EnumerableSet for EnumerableSet.UintSet;
    using EnumerableMap for EnumerableMap.UintToAddressMap;
    using Strings for uint256;

    bytes4 private constant _ERC721_RECEIVED = 0x150b7a02;

    // Mapping from token ID to account balances

    mapping (address => EnumerableSet.UintSet) private _holderTokens;

    EnumerableMap.UintToAddressMap private _tokenOwners;

     // Mapping from tokenId to operator approvals

    mapping (uint256 => address) private _tokenApprovals;

    // Mapping from account to operator approvals

    mapping (address => mapping (address => bool)) private _operatorApprovals;

    string private _name;

    string private _symbol;

    // mapping for token URIs

    mapping (uint256 => string) private _tokenURIs;

   // mapping for token royaltyFee    

    mapping(uint256 => uint256) private _royaltyFee;

  // mapping for token creator

    mapping (uint256 => address) private _creator;

    string private _baseURI;

    bytes4 private constant _INTERFACE_ID_ERC721 = 0x80ac58cd;

    bytes4 private constant _INTERFACE_ID_ERC721_METADATA = 0x5b5e139f;

    bytes4 private constant _INTERFACE_ID_ERC721_ENUMERABLE = 0x780e9d63;

    constructor (string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;

        _registerInterface(_INTERFACE_ID_ERC721);
        _registerInterface(_INTERFACE_ID_ERC721_METADATA);
        _registerInterface(_INTERFACE_ID_ERC721_ENUMERABLE);
    }

    /**
        @notice Get the Token balance of an account's.
        @param owner  The address of the token holder
        @return        The account's balance of the Token type requested
     */

    function balanceOf(address owner) public view virtual override returns (uint256) {
        require(owner != address(0), "ERC721: balance query for the zero address");
        return _holderTokens[owner].length();
    }

    /**
        @notice Get the owner of tokenId.
        @param tokenId  The tokenId of the token holder
        @return        The current owner of the requested tokenId
     */

    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        return _tokenOwners.get(tokenId, "ERC721: owner query for nonexistent token");
    }

    function name() public view virtual override returns (string memory) {
        return _name;
    }

    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");

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

        if (bytes(base).length == 0) {
            return _tokenURI;
        }
        if (bytes(_tokenURI).length > 0) {
            return string(abi.encodePacked(base, _tokenURI));
        }
        return string(abi.encodePacked(base, tokenId.toString()));
    }

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

    function royaltyFee(uint256 tokenId) public view override returns(uint256) {
        return _royaltyFee[tokenId];
    }

    function getCreator(uint256 tokenId) public view override returns(address) {
        return _creator[tokenId];
    }

    function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {
        return _holderTokens[owner].at(index);
    }

    function totalSupply() public view virtual override returns (uint256) {
        return _tokenOwners.length();
    }

    function tokenByIndex(uint256 index) public view virtual override returns (uint256) {
        (uint256 tokenId, ) = _tokenOwners.at(index);
        return tokenId;
    }

    function approve(address to, uint256 tokenId) public virtual override {
        address owner = ERC721.ownerOf(tokenId);
        require(to != owner, "ERC721: approval to current owner");

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

        _approve(to, tokenId);
    }

    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        require(_exists(tokenId), "ERC721: approved query for nonexistent token");

        return _tokenApprovals[tokenId];
    }

    /**
        @notice Enable or disable approval for a third party ("operator") to manage all of the caller's tokens.
        @dev MUST emit the ApprovalForAll event on success.
        @param operator  Address to add to the set of authorized operators
        @param approved  True if the operator is approved, false to revoke approval
    */

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

    /**
        @notice Queries the approval status of an operator for a given owner.
        @param owner     The owner of the Tokens
        @param operator  Address of authorized operator
        @return           True if the operator is approved, false if not
    */

    function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {
        return _operatorApprovals[owner][operator];
    }

    function transferFrom(address from, address to, uint256 tokenId) public virtual override {
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");

        _transfer(from, to, tokenId);
    }

    function safeTransferFrom(address from, address to, uint256 tokenId) public virtual override {
        safeTransferFrom(from, to, tokenId, "");
    }


    /**
        @notice Transfers `_value` amount of an `_id` from the `_from` address to the `_to` address specified (with safety call).
        @dev Caller must be approved to manage the tokens being transferred out of the `_from` account (see "Approval" section of the standard).
        MUST revert if `_to` is the zero address.
        MUST revert if balance of holder for token `_id` is lower than the `_value` sent.
        MUST revert on any other error.
        MUST emit the `TransferSingle` event to reflect the balance change (see "Safe Transfer Rules" section of the standard).
        After the above conditions are met, this function MUST check if `_to` is a smart contract (e.g. code size > 0). If so, it MUST call `onERC1155Received` on `_to` and act appropriately (see "Safe Transfer Rules" section of the standard).
        @param from    Source address
        @param to      Target address
        @param tokenId      ID of the token type.
        @param _data    Additional data with no specified format, MUST be sent unaltered in call to `onERC1155Received` on `_to`
    */

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

    }

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

    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return _tokenOwners.contains(tokenId);
    }

    function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {
        require(_exists(tokenId), "ERC721: operator query for nonexistent token");
        address owner = ERC721.ownerOf(tokenId);
        return (spender == owner || getApproved(tokenId) == spender || ERC721.isApprovedForAll(owner, spender));
    }

    function _safeMint(address to, uint256 tokenId, uint256 fee) internal virtual {
        _safeMint(to, tokenId, fee, "");
    }

    function _safeMint(address to, uint256 tokenId, uint256 fee, bytes memory _data) internal virtual {
        _mint(to, tokenId, fee);
        require(_checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer");
    }

    function _mint(address to, uint256 tokenId, uint256 fee) internal virtual {
        require(to != address(0), "ERC721: mint to the zero address");
        require(!_exists(tokenId), "ERC721: token already minted");

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

        _holderTokens[to].add(tokenId);

        _tokenOwners.set(tokenId, to);
        _creator[tokenId] = msg.sender;
        _royaltyFee[tokenId] = fee;

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

     /**
     * @dev Internal function to burn a specific token.
     * Reverts if the token does not exist.
     * Deprecated, use {ERC721-_burn} instead.
     * required msg.sender must be owner of the token.
     * @param tokenId uint256 Token being burned
     */

    function _burn(uint256 tokenId) internal virtual {
        require(msg.sender == ownerOf(tokenId),"caller not owner");
        address owner = ERC721.ownerOf(tokenId); // internal owner

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

        _approve(address(0), tokenId);

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

        _holderTokens[owner].remove(tokenId);

        _tokenOwners.remove(tokenId);

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

    function _transfer(address from, address to, uint256 tokenId) internal virtual {
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); // internal owner
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId);

        _approve(address(0), tokenId);

        _holderTokens[from].remove(tokenId);
        _holderTokens[to].add(tokenId);

        _tokenOwners.set(tokenId, to);

        emit Transfer(from, to, tokenId);
    }

     /**
     * @dev Internal function to set the token URI for a given token.
     * Reverts if the token ID does not exist.
     * @param tokenId uint256 ID of the token to set its URI
     * @param _tokenURI string URI to assign
     */

    function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual {
        require(_exists(tokenId), "ERC721Metadata: URI set of nonexistent token");
        require(bytes(_tokenURI).length > 0, "uri should be set");
        _tokenURIs[tokenId] = _tokenURI;
         emit URI(_tokenURI, tokenId);
    }

    function _setBaseURI(string memory baseURI_) internal virtual {
        _baseURI = baseURI_;
        emit tokenBaseURI(_baseURI);
    }

    function _checkOnERC721Received(address from, address to, uint256 tokenId, bytes memory _data)
        private returns (bool)
    {
        if (!to.isContract()) {
            return true;
        }
        bytes memory returndata = to.functionCall(abi.encodeWithSelector(
            IERC721Receiver(to).onERC721Received.selector,
            _msgSender(),
            from,
            tokenId,
            _data
        ), "ERC721: transfer to non ERC721Receiver implementer");
        bytes4 retval = abi.decode(returndata, (bytes4));
        return (retval == _ERC721_RECEIVED);
    }

    function _approve(address to, uint256 tokenId) internal virtual {
        _tokenApprovals[tokenId] = to;
        emit Approval(ERC721.ownerOf(tokenId), to, tokenId); // internal owner
    }

    function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal virtual { }
}

contract MarleyDigitalMediaUserToken721 is ERC721 {

    uint256 public tokenCounter;
    address public owner;

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

    constructor (string memory name, string memory symbol, string memory tokenURIPrefix) ERC721 (name, symbol){
        tokenCounter = 1;
        owner = msg.sender;
        _setBaseURI(tokenURIPrefix);
    }

    modifier onlyOwner() {
        require(owner == msg.sender, "Ownable: caller is not the owner");
        _;
    }

    function transferOwnership(address newOwner) external onlyOwner returns(bool){
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        emit OwnershipTransferred(owner, newOwner);
        owner = newOwner;
        return true;
    }

    /**
     * @dev Internal function to mint a new token.
     * Reverts if the given token ID already exists.
     * @param tokenURI string memory URI of the token to be minted.
     * @param fee uint256 royalty of the token to be minted.
     */

    function createCollectible(string memory tokenURI, uint256 fee) external returns (uint256) {
        uint256 newItemId = tokenCounter;
        _safeMint(msg.sender, newItemId, fee);
        _setTokenURI(newItemId, tokenURI);
        tokenCounter = tokenCounter + 1;
        return newItemId;
    }

    function setBaseURI(string memory _baseURI) external onlyOwner{
        _setBaseURI(_baseURI);
    }
    
    function burn(uint256 tokenId) external {
        require(_exists(tokenId), "ERC721: nonexistent token");
        _burn(tokenId);
    }
}

Contract Security Audit

Contract ABI

[{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"address","name":"contractAddress","type":"address"}],"name":"Deployed","type":"event"},{"inputs":[{"internalType":"bytes32","name":"_salt","type":"bytes32"},{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"string","name":"tokenURIPrefix","type":"string"}],"name":"deploy","outputs":[{"internalType":"address","name":"addr","type":"address"}],"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b50612ae7806100206000396000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c8063bf3c7c9514610030575b600080fd5b61004361003e366004610208565b61005f565b6040516001600160a01b03909116815260200160405180910390f35b60008484848460405161007190610158565b61007d939291906102e7565b8190604051809103906000f590508015801561009d573d6000803e3d6000fd5b5060405163f2fde38b60e01b815233600482015290915081906001600160a01b0382169063f2fde38b906024016020604051808303816000875af11580156100e9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061010d919061032a565b50604080513381526001600160a01b03841660208201527f09e48df7857bd0c1e0d31bb8a85d42cf1874817895f171c917f6ee2cea73ec20910160405180910390a150949350505050565b61275e8061035483390190565b634e487b7160e01b600052604160045260246000fd5b600082601f83011261018c57600080fd5b813567ffffffffffffffff808211156101a7576101a7610165565b604051601f8301601f19908116603f011681019082821181831017156101cf576101cf610165565b816040528381528660208588010111156101e857600080fd5b836020870160208301376000602085830101528094505050505092915050565b6000806000806080858703121561021e57600080fd5b84359350602085013567ffffffffffffffff8082111561023d57600080fd5b6102498883890161017b565b9450604087013591508082111561025f57600080fd5b61026b8883890161017b565b9350606087013591508082111561028157600080fd5b5061028e8782880161017b565b91505092959194509250565b6000815180845260005b818110156102c0576020818501810151868301820152016102a4565b818111156102d2576000602083870101525b50601f01601f19169290920160200192915050565b6060815260006102fa606083018661029a565b828103602084015261030c818661029a565b90508281036040840152610320818561029a565b9695505050505050565b60006020828403121561033c57600080fd5b8151801515811461034c57600080fd5b939250505056fe60806040523480156200001157600080fd5b506040516200275e3803806200275e833981016040819052620000349162000321565b8282620000486301ffc9a760e01b620000d7565b81516200005d906006906020850190620001ae565b50805162000073906007906020840190620001ae565b50620000866380ac58cd60e01b620000d7565b62000098635b5e139f60e01b620000d7565b620000aa63780e9d6360e01b620000d7565b50506001600c55600d80546001600160a01b03191633179055620000ce816200015b565b5050506200049d565b6001600160e01b03198082169003620001365760405162461bcd60e51b815260206004820152601c60248201527f4552433136353a20696e76616c696420696e7465726661636520696400000000604482015260640160405180910390fd5b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b80516200017090600b906020840190620001ae565b507f5514cc7324ac64a875ba50a1849367d39c8b030fe0f563c3c7142984552bc306600b604051620001a39190620003ee565b60405180910390a150565b828054620001bc90620003b2565b90600052602060002090601f016020900481019282620001e057600085556200022b565b82601f10620001fb57805160ff19168380011785556200022b565b828001600101855582156200022b579182015b828111156200022b5782518255916020019190600101906200020e565b50620002399291506200023d565b5090565b5b808211156200023957600081556001016200023e565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200027c57600080fd5b81516001600160401b038082111562000299576200029962000254565b604051601f8301601f19908116603f01168101908282118183101715620002c457620002c462000254565b81604052838152602092508683858801011115620002e157600080fd5b600091505b83821015620003055785820183015181830184015290820190620002e6565b83821115620003175760008385830101525b9695505050505050565b6000806000606084860312156200033757600080fd5b83516001600160401b03808211156200034f57600080fd5b6200035d878388016200026a565b945060208601519150808211156200037457600080fd5b62000382878388016200026a565b935060408601519150808211156200039957600080fd5b50620003a8868287016200026a565b9150509250925092565b600181811c90821680620003c757607f821691505b602082108103620003e857634e487b7160e01b600052602260045260246000fd5b50919050565b600060208083526000845481600182811c9150808316806200041157607f831692505b85831081036200042f57634e487b7160e01b85526022600452602485fd5b8786018381526020018180156200044f576001811462000461576200048e565b60ff198616825287820196506200048e565b60008b81526020902060005b8681101562000488578154848201529085019089016200046d565b83019750505b50949998505050505050505050565b6122b180620004ad6000396000f3fe608060405234801561001057600080fd5b50600436106101735760003560e01c80636352211e116100de578063b88d4fde11610097578063d082e38111610071578063d082e3811461034c578063d48e638a14610355578063e985e9c51461037e578063f2fde38b146103ba57600080fd5b8063b88d4fde14610306578063c57dc23514610319578063c87b56dd1461033957600080fd5b80636352211e146102aa5780636c0360eb146102bd57806370a08231146102c55780638da5cb5b146102d857806395d89b41146102eb578063a22cb465146102f357600080fd5b806323b872dd1161013057806323b872dd146102385780632f745c591461024b57806342842e0e1461025e57806342966c68146102715780634f6ccce71461028457806355f804b31461029757600080fd5b806301ffc9a71461017857806306fdde03146101ba578063081812fc146101cf578063095ea7b3146101fa57806318160ddd1461020f5780631f061a2914610225575b600080fd5b6101a5610186366004611c20565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101c26103cd565b6040516101b19190611c95565b6101e26101dd366004611ca8565b61045f565b6040516001600160a01b0390911681526020016101b1565b61020d610208366004611cd8565b6104ec565b005b610217610601565b6040519081526020016101b1565b610217610233366004611dae565b610612565b61020d610246366004611df3565b610647565b610217610259366004611cd8565b610678565b61020d61026c366004611df3565b6106a1565b61020d61027f366004611ca8565b6106bc565b610217610292366004611ca8565b61071d565b61020d6102a5366004611e2f565b610733565b6101e26102b8366004611ca8565b610796565b6101c26107be565b6102176102d3366004611e64565b6107cd565b600d546101e2906001600160a01b031681565b6101c2610859565b61020d610301366004611e7f565b610868565b61020d610314366004611ebb565b61092c565b610217610327366004611ca8565b60009081526009602052604090205490565b6101c2610347366004611ca8565b610964565b610217600c5481565b6101e2610363366004611ca8565b6000908152600a60205260409020546001600160a01b031690565b6101a561038c366004611f37565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6101a56103c8366004611e64565b610ad5565b6060600680546103dc90611f6a565b80601f016020809104026020016040519081016040528092919081815260200182805461040890611f6a565b80156104555780601f1061042a57610100808354040283529160200191610455565b820191906000526020600020905b81548152906001019060200180831161043857829003601f168201915b5050505050905090565b600061046a82610bf5565b6104d05760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006104f782610796565b9050806001600160a01b0316836001600160a01b0316036105645760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016104c7565b336001600160a01b03821614806105805750610580813361038c565b6105f25760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016104c7565b6105fc8383610c02565b505050565b600061060d6002610c70565b905090565b600c54600090610623338285610c7a565b61062d8185610c95565b600c5461063b906001611fba565b600c5590505b92915050565b6106513382610da0565b61066d5760405162461bcd60e51b81526004016104c790611fd2565b6105fc838383610e8a565b6001600160a01b038216600090815260016020526040812061069a908361100b565b9392505050565b6105fc8383836040518060200160405280600081525061092c565b6106c581610bf5565b6107115760405162461bcd60e51b815260206004820152601960248201527f4552433732313a206e6f6e6578697374656e7420746f6b656e0000000000000060448201526064016104c7565b61071a81611017565b50565b60008061072b60028461112d565b509392505050565b600d546001600160a01b0316331461078d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104c7565b61071a81611149565b6000610641826040518060600160405280602981526020016122536029913960029190611198565b6060600b80546103dc90611f6a565b60006001600160a01b0382166108385760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016104c7565b6001600160a01b038216600090815260016020526040902061064190610c70565b6060600780546103dc90611f6a565b336001600160a01b038316036108c05760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016104c7565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6109363383610da0565b6109525760405162461bcd60e51b81526004016104c790611fd2565b61095e848484846111a5565b50505050565b606061096f82610bf5565b6109d35760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016104c7565b600082815260086020526040812080546109ec90611f6a565b80601f0160208091040260200160405190810160405280929190818152602001828054610a1890611f6a565b8015610a655780601f10610a3a57610100808354040283529160200191610a65565b820191906000526020600020905b815481529060010190602001808311610a4857829003601f168201915b505050505090506000610a766107be565b90508051600003610a88575092915050565b815115610aba578082604051602001610aa2929190612023565b60405160208183030381529060405292505050919050565b80610ac485611223565b604051602001610aa2929190612023565b600d546000906001600160a01b03163314610b325760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104c7565b6001600160a01b038216610b975760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016104c7565b600d546040516001600160a01b038085169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a350600d80546001600160a01b0319166001600160a01b03831617905560015b919050565b600061064160028361133d565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610c3782610796565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000610641825490565b6105fc83838360405180602001604052806000815250611355565b610c9e82610bf5565b610cff5760405162461bcd60e51b815260206004820152602c60248201527f4552433732314d657461646174613a2055524920736574206f66206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016104c7565b6000815111610d445760405162461bcd60e51b81526020600482015260116024820152701d5c9a481cda1bdd5b19081899481cd95d607a1b60448201526064016104c7565b60008281526008602090815260409091208251610d6392840190611b3b565b50817f6bb7ff708619ba0610cba295a58592e0451dee2622938c8755667688daf3529b82604051610d949190611c95565b60405180910390a25050565b6000610dab82610bf5565b610e0c5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016104c7565b6000610e1783610796565b9050806001600160a01b0316846001600160a01b03161480610e525750836001600160a01b0316610e478461045f565b6001600160a01b0316145b80610e8257506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316610e9d82610796565b6001600160a01b031614610f055760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b60648201526084016104c7565b6001600160a01b038216610f675760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016104c7565b610f72600082610c02565b6001600160a01b0383166000908152600160205260409020610f94908261136d565b506001600160a01b0382166000908152600160205260409020610fb79082611379565b50610fc460028284611385565b5080826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600061069a838361139b565b61102081610796565b6001600160a01b0316336001600160a01b0316146110735760405162461bcd60e51b815260206004820152601060248201526f31b0b63632b9103737ba1037bbb732b960811b60448201526064016104c7565b600061107e82610796565b905061108b600083610c02565b600082815260086020526040902080546110a490611f6a565b1590506110c25760008281526008602052604081206110c291611bbf565b6001600160a01b03811660009081526001602052604090206110e4908361136d565b506110f0600283611421565b5060405182906000906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b600080808061113c868661142d565b9097909650945050505050565b805161115c90600b906020840190611b3b565b507f5514cc7324ac64a875ba50a1849367d39c8b030fe0f563c3c7142984552bc306600b60405161118d9190612052565b60405180910390a150565b6000610e828484846114ca565b6111b0848484610e8a565b6111bc84848484611533565b61095e5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b60648201526084016104c7565b60608160000361124a5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611274578061125e816120f9565b915061126d9050600a83612128565b915061124e565b60008167ffffffffffffffff81111561128f5761128f611d02565b6040519080825280601f01601f1916602001820160405280156112b9576020820181803683370190505b50905060006112c960018461213c565b90508593505b8315611334576112e0600a85612153565b6112eb906030611fba565b60f81b82826112f981612167565b93508151811061130b5761130b61217e565b60200101906001600160f81b031916908160001a90535061132d600a85612128565b93506112cf565b50949350505050565b6000818152600183016020526040812054151561069a565b611360848484611604565b6111bc6000858584611533565b600061069a8383611744565b600061069a8383611837565b6000610e8284846001600160a01b038516611886565b815460009082106113f95760405162461bcd60e51b815260206004820152602260248201527f456e756d657261626c655365743a20696e646578206f7574206f6620626f756e604482015261647360f01b60648201526084016104c7565b82600001828154811061140e5761140e61217e565b9060005260206000200154905092915050565b600061069a8383611929565b81546000908190831061148d5760405162461bcd60e51b815260206004820152602260248201527f456e756d657261626c654d61703a20696e646578206f7574206f6620626f756e604482015261647360f01b60648201526084016104c7565b60008460000184815481106114a4576114a461217e565b906000526020600020906002020190508060000154816001015492509250509250929050565b600082815260018401602052604081205482816114fa5760405162461bcd60e51b81526004016104c79190611c95565b508461150760018361213c565b815481106115175761151761217e565b9060005260206000209060020201600101549150509392505050565b60006001600160a01b0384163b61154c57506001610e82565b60006115cd630a85bd0160e11b338887876040516024016115709493929190612194565b604051602081830303815290604052906001600160e01b0319166020820180516001600160e01b038381831617835250505050604051806060016040528060328152602001612221603291396001600160a01b0388169190611a30565b90506000818060200190518101906115e591906121d1565b6001600160e01b031916630a85bd0160e11b1492505050949350505050565b6001600160a01b03831661165a5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016104c7565b61166382610bf5565b156116b05760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016104c7565b6001600160a01b03831660009081526001602052604090206116d29083611379565b506116df60028385611385565b506000828152600a6020908152604080832080546001600160a01b0319163317905560099091528082208390555183916001600160a01b038616917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4505050565b6000818152600183016020526040812054801561182d57600061176860018361213c565b855490915060009061177c9060019061213c565b905060008660000182815481106117955761179561217e565b90600052602060002001549050808760000184815481106117b8576117b861217e565b6000918252602090912001556117cf836001611fba565b600082815260018901602052604090205586548790806117f1576117f16121ee565b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050610641565b6000915050610641565b600081815260018301602052604081205461187e57508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610641565b506000610641565b60008281526001840160205260408120548082036118ed57505060408051808201825283815260208082018481528654600181810189556000898152848120955160029093029095019182559151908201558654868452818801909252929091205561069a565b82856118fa60018461213c565b8154811061190a5761190a61217e565b906000526020600020906002020160010181905550600091505061069a565b6000818152600183016020526040812054801561182d57600061194d60018361213c565b85549091506000906119619060019061213c565b9050600086600001828154811061197a5761197a61217e565b90600052602060002090600202019050808760000184815481106119a0576119a061217e565b600091825260209091208254600290920201908155600191820154908201556119ca908490611fba565b8154600090815260018901602052604090205586548790806119ee576119ee6121ee565b60008281526020808220600260001990940193840201828155600190810183905592909355888152898201909252604082209190915594506106419350505050565b6060610e82848460008585843b611a895760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016104c7565b600080866001600160a01b03168587604051611aa59190612204565b60006040518083038185875af1925050503d8060008114611ae2576040519150601f19603f3d011682016040523d82523d6000602084013e611ae7565b606091505b5091509150611af7828286611b02565b979650505050505050565b60608315611b1157508161069a565b825115611b215782518084602001fd5b8160405162461bcd60e51b81526004016104c79190611c95565b828054611b4790611f6a565b90600052602060002090601f016020900481019282611b695760008555611baf565b82601f10611b8257805160ff1916838001178555611baf565b82800160010185558215611baf579182015b82811115611baf578251825591602001919060010190611b94565b50611bbb929150611bf5565b5090565b508054611bcb90611f6a565b6000825580601f10611bdb575050565b601f01602090049060005260206000209081019061071a91905b5b80821115611bbb5760008155600101611bf6565b6001600160e01b03198116811461071a57600080fd5b600060208284031215611c3257600080fd5b813561069a81611c0a565b60005b83811015611c58578181015183820152602001611c40565b8381111561095e5750506000910152565b60008151808452611c81816020860160208601611c3d565b601f01601f19169290920160200192915050565b60208152600061069a6020830184611c69565b600060208284031215611cba57600080fd5b5035919050565b80356001600160a01b0381168114610bf057600080fd5b60008060408385031215611ceb57600080fd5b611cf483611cc1565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115611d3357611d33611d02565b604051601f8501601f19908116603f01168101908282118183101715611d5b57611d5b611d02565b81604052809350858152868686011115611d7457600080fd5b858560208301376000602087830101525050509392505050565b600082601f830112611d9f57600080fd5b61069a83833560208501611d18565b60008060408385031215611dc157600080fd5b823567ffffffffffffffff811115611dd857600080fd5b611de485828601611d8e565b95602094909401359450505050565b600080600060608486031215611e0857600080fd5b611e1184611cc1565b9250611e1f60208501611cc1565b9150604084013590509250925092565b600060208284031215611e4157600080fd5b813567ffffffffffffffff811115611e5857600080fd5b610e8284828501611d8e565b600060208284031215611e7657600080fd5b61069a82611cc1565b60008060408385031215611e9257600080fd5b611e9b83611cc1565b915060208301358015158114611eb057600080fd5b809150509250929050565b60008060008060808587031215611ed157600080fd5b611eda85611cc1565b9350611ee860208601611cc1565b925060408501359150606085013567ffffffffffffffff811115611f0b57600080fd5b8501601f81018713611f1c57600080fd5b611f2b87823560208401611d18565b91505092959194509250565b60008060408385031215611f4a57600080fd5b611f5383611cc1565b9150611f6160208401611cc1565b90509250929050565b600181811c90821680611f7e57607f821691505b602082108103611f9e57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60008219821115611fcd57611fcd611fa4565b500190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b60008351612035818460208801611c3d565b835190830190612049818360208801611c3d565b01949350505050565b600060208083526000845481600182811c91508083168061207457607f831692505b858310810361209157634e487b7160e01b85526022600452602485fd5b8786018381526020018180156120ae57600181146120bf576120ea565b60ff198616825287820196506120ea565b60008b81526020902060005b868110156120e4578154848201529085019089016120cb565b83019750505b50949998505050505050505050565b60006001820161210b5761210b611fa4565b5060010190565b634e487b7160e01b600052601260045260246000fd5b60008261213757612137612112565b500490565b60008282101561214e5761214e611fa4565b500390565b60008261216257612162612112565b500690565b60008161217657612176611fa4565b506000190190565b634e487b7160e01b600052603260045260246000fd5b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906121c790830184611c69565b9695505050505050565b6000602082840312156121e357600080fd5b815161069a81611c0a565b634e487b7160e01b600052603160045260246000fd5b60008251612216818460208701611c3d565b919091019291505056fe4552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656ea26469706673582212203ee4ca4839229107d9e79394a33b2feb13a84494137be94e945902917840e14564736f6c634300080d0033a264697066735822122056fe5192e0e1d3ea7d2d4e7581ef61ec84c31fed4cf841d3514ee27689e89a7664736f6c634300080d0033

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061002b5760003560e01c8063bf3c7c9514610030575b600080fd5b61004361003e366004610208565b61005f565b6040516001600160a01b03909116815260200160405180910390f35b60008484848460405161007190610158565b61007d939291906102e7565b8190604051809103906000f590508015801561009d573d6000803e3d6000fd5b5060405163f2fde38b60e01b815233600482015290915081906001600160a01b0382169063f2fde38b906024016020604051808303816000875af11580156100e9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061010d919061032a565b50604080513381526001600160a01b03841660208201527f09e48df7857bd0c1e0d31bb8a85d42cf1874817895f171c917f6ee2cea73ec20910160405180910390a150949350505050565b61275e8061035483390190565b634e487b7160e01b600052604160045260246000fd5b600082601f83011261018c57600080fd5b813567ffffffffffffffff808211156101a7576101a7610165565b604051601f8301601f19908116603f011681019082821181831017156101cf576101cf610165565b816040528381528660208588010111156101e857600080fd5b836020870160208301376000602085830101528094505050505092915050565b6000806000806080858703121561021e57600080fd5b84359350602085013567ffffffffffffffff8082111561023d57600080fd5b6102498883890161017b565b9450604087013591508082111561025f57600080fd5b61026b8883890161017b565b9350606087013591508082111561028157600080fd5b5061028e8782880161017b565b91505092959194509250565b6000815180845260005b818110156102c0576020818501810151868301820152016102a4565b818111156102d2576000602083870101525b50601f01601f19169290920160200192915050565b6060815260006102fa606083018661029a565b828103602084015261030c818661029a565b90508281036040840152610320818561029a565b9695505050505050565b60006020828403121561033c57600080fd5b8151801515811461034c57600080fd5b939250505056fe60806040523480156200001157600080fd5b506040516200275e3803806200275e833981016040819052620000349162000321565b8282620000486301ffc9a760e01b620000d7565b81516200005d906006906020850190620001ae565b50805162000073906007906020840190620001ae565b50620000866380ac58cd60e01b620000d7565b62000098635b5e139f60e01b620000d7565b620000aa63780e9d6360e01b620000d7565b50506001600c55600d80546001600160a01b03191633179055620000ce816200015b565b5050506200049d565b6001600160e01b03198082169003620001365760405162461bcd60e51b815260206004820152601c60248201527f4552433136353a20696e76616c696420696e7465726661636520696400000000604482015260640160405180910390fd5b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b80516200017090600b906020840190620001ae565b507f5514cc7324ac64a875ba50a1849367d39c8b030fe0f563c3c7142984552bc306600b604051620001a39190620003ee565b60405180910390a150565b828054620001bc90620003b2565b90600052602060002090601f016020900481019282620001e057600085556200022b565b82601f10620001fb57805160ff19168380011785556200022b565b828001600101855582156200022b579182015b828111156200022b5782518255916020019190600101906200020e565b50620002399291506200023d565b5090565b5b808211156200023957600081556001016200023e565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200027c57600080fd5b81516001600160401b038082111562000299576200029962000254565b604051601f8301601f19908116603f01168101908282118183101715620002c457620002c462000254565b81604052838152602092508683858801011115620002e157600080fd5b600091505b83821015620003055785820183015181830184015290820190620002e6565b83821115620003175760008385830101525b9695505050505050565b6000806000606084860312156200033757600080fd5b83516001600160401b03808211156200034f57600080fd5b6200035d878388016200026a565b945060208601519150808211156200037457600080fd5b62000382878388016200026a565b935060408601519150808211156200039957600080fd5b50620003a8868287016200026a565b9150509250925092565b600181811c90821680620003c757607f821691505b602082108103620003e857634e487b7160e01b600052602260045260246000fd5b50919050565b600060208083526000845481600182811c9150808316806200041157607f831692505b85831081036200042f57634e487b7160e01b85526022600452602485fd5b8786018381526020018180156200044f576001811462000461576200048e565b60ff198616825287820196506200048e565b60008b81526020902060005b8681101562000488578154848201529085019089016200046d565b83019750505b50949998505050505050505050565b6122b180620004ad6000396000f3fe608060405234801561001057600080fd5b50600436106101735760003560e01c80636352211e116100de578063b88d4fde11610097578063d082e38111610071578063d082e3811461034c578063d48e638a14610355578063e985e9c51461037e578063f2fde38b146103ba57600080fd5b8063b88d4fde14610306578063c57dc23514610319578063c87b56dd1461033957600080fd5b80636352211e146102aa5780636c0360eb146102bd57806370a08231146102c55780638da5cb5b146102d857806395d89b41146102eb578063a22cb465146102f357600080fd5b806323b872dd1161013057806323b872dd146102385780632f745c591461024b57806342842e0e1461025e57806342966c68146102715780634f6ccce71461028457806355f804b31461029757600080fd5b806301ffc9a71461017857806306fdde03146101ba578063081812fc146101cf578063095ea7b3146101fa57806318160ddd1461020f5780631f061a2914610225575b600080fd5b6101a5610186366004611c20565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101c26103cd565b6040516101b19190611c95565b6101e26101dd366004611ca8565b61045f565b6040516001600160a01b0390911681526020016101b1565b61020d610208366004611cd8565b6104ec565b005b610217610601565b6040519081526020016101b1565b610217610233366004611dae565b610612565b61020d610246366004611df3565b610647565b610217610259366004611cd8565b610678565b61020d61026c366004611df3565b6106a1565b61020d61027f366004611ca8565b6106bc565b610217610292366004611ca8565b61071d565b61020d6102a5366004611e2f565b610733565b6101e26102b8366004611ca8565b610796565b6101c26107be565b6102176102d3366004611e64565b6107cd565b600d546101e2906001600160a01b031681565b6101c2610859565b61020d610301366004611e7f565b610868565b61020d610314366004611ebb565b61092c565b610217610327366004611ca8565b60009081526009602052604090205490565b6101c2610347366004611ca8565b610964565b610217600c5481565b6101e2610363366004611ca8565b6000908152600a60205260409020546001600160a01b031690565b6101a561038c366004611f37565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6101a56103c8366004611e64565b610ad5565b6060600680546103dc90611f6a565b80601f016020809104026020016040519081016040528092919081815260200182805461040890611f6a565b80156104555780601f1061042a57610100808354040283529160200191610455565b820191906000526020600020905b81548152906001019060200180831161043857829003601f168201915b5050505050905090565b600061046a82610bf5565b6104d05760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006104f782610796565b9050806001600160a01b0316836001600160a01b0316036105645760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016104c7565b336001600160a01b03821614806105805750610580813361038c565b6105f25760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016104c7565b6105fc8383610c02565b505050565b600061060d6002610c70565b905090565b600c54600090610623338285610c7a565b61062d8185610c95565b600c5461063b906001611fba565b600c5590505b92915050565b6106513382610da0565b61066d5760405162461bcd60e51b81526004016104c790611fd2565b6105fc838383610e8a565b6001600160a01b038216600090815260016020526040812061069a908361100b565b9392505050565b6105fc8383836040518060200160405280600081525061092c565b6106c581610bf5565b6107115760405162461bcd60e51b815260206004820152601960248201527f4552433732313a206e6f6e6578697374656e7420746f6b656e0000000000000060448201526064016104c7565b61071a81611017565b50565b60008061072b60028461112d565b509392505050565b600d546001600160a01b0316331461078d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104c7565b61071a81611149565b6000610641826040518060600160405280602981526020016122536029913960029190611198565b6060600b80546103dc90611f6a565b60006001600160a01b0382166108385760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016104c7565b6001600160a01b038216600090815260016020526040902061064190610c70565b6060600780546103dc90611f6a565b336001600160a01b038316036108c05760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016104c7565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6109363383610da0565b6109525760405162461bcd60e51b81526004016104c790611fd2565b61095e848484846111a5565b50505050565b606061096f82610bf5565b6109d35760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016104c7565b600082815260086020526040812080546109ec90611f6a565b80601f0160208091040260200160405190810160405280929190818152602001828054610a1890611f6a565b8015610a655780601f10610a3a57610100808354040283529160200191610a65565b820191906000526020600020905b815481529060010190602001808311610a4857829003601f168201915b505050505090506000610a766107be565b90508051600003610a88575092915050565b815115610aba578082604051602001610aa2929190612023565b60405160208183030381529060405292505050919050565b80610ac485611223565b604051602001610aa2929190612023565b600d546000906001600160a01b03163314610b325760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104c7565b6001600160a01b038216610b975760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016104c7565b600d546040516001600160a01b038085169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a350600d80546001600160a01b0319166001600160a01b03831617905560015b919050565b600061064160028361133d565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610c3782610796565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000610641825490565b6105fc83838360405180602001604052806000815250611355565b610c9e82610bf5565b610cff5760405162461bcd60e51b815260206004820152602c60248201527f4552433732314d657461646174613a2055524920736574206f66206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016104c7565b6000815111610d445760405162461bcd60e51b81526020600482015260116024820152701d5c9a481cda1bdd5b19081899481cd95d607a1b60448201526064016104c7565b60008281526008602090815260409091208251610d6392840190611b3b565b50817f6bb7ff708619ba0610cba295a58592e0451dee2622938c8755667688daf3529b82604051610d949190611c95565b60405180910390a25050565b6000610dab82610bf5565b610e0c5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016104c7565b6000610e1783610796565b9050806001600160a01b0316846001600160a01b03161480610e525750836001600160a01b0316610e478461045f565b6001600160a01b0316145b80610e8257506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316610e9d82610796565b6001600160a01b031614610f055760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b60648201526084016104c7565b6001600160a01b038216610f675760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016104c7565b610f72600082610c02565b6001600160a01b0383166000908152600160205260409020610f94908261136d565b506001600160a01b0382166000908152600160205260409020610fb79082611379565b50610fc460028284611385565b5080826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600061069a838361139b565b61102081610796565b6001600160a01b0316336001600160a01b0316146110735760405162461bcd60e51b815260206004820152601060248201526f31b0b63632b9103737ba1037bbb732b960811b60448201526064016104c7565b600061107e82610796565b905061108b600083610c02565b600082815260086020526040902080546110a490611f6a565b1590506110c25760008281526008602052604081206110c291611bbf565b6001600160a01b03811660009081526001602052604090206110e4908361136d565b506110f0600283611421565b5060405182906000906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b600080808061113c868661142d565b9097909650945050505050565b805161115c90600b906020840190611b3b565b507f5514cc7324ac64a875ba50a1849367d39c8b030fe0f563c3c7142984552bc306600b60405161118d9190612052565b60405180910390a150565b6000610e828484846114ca565b6111b0848484610e8a565b6111bc84848484611533565b61095e5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b60648201526084016104c7565b60608160000361124a5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611274578061125e816120f9565b915061126d9050600a83612128565b915061124e565b60008167ffffffffffffffff81111561128f5761128f611d02565b6040519080825280601f01601f1916602001820160405280156112b9576020820181803683370190505b50905060006112c960018461213c565b90508593505b8315611334576112e0600a85612153565b6112eb906030611fba565b60f81b82826112f981612167565b93508151811061130b5761130b61217e565b60200101906001600160f81b031916908160001a90535061132d600a85612128565b93506112cf565b50949350505050565b6000818152600183016020526040812054151561069a565b611360848484611604565b6111bc6000858584611533565b600061069a8383611744565b600061069a8383611837565b6000610e8284846001600160a01b038516611886565b815460009082106113f95760405162461bcd60e51b815260206004820152602260248201527f456e756d657261626c655365743a20696e646578206f7574206f6620626f756e604482015261647360f01b60648201526084016104c7565b82600001828154811061140e5761140e61217e565b9060005260206000200154905092915050565b600061069a8383611929565b81546000908190831061148d5760405162461bcd60e51b815260206004820152602260248201527f456e756d657261626c654d61703a20696e646578206f7574206f6620626f756e604482015261647360f01b60648201526084016104c7565b60008460000184815481106114a4576114a461217e565b906000526020600020906002020190508060000154816001015492509250509250929050565b600082815260018401602052604081205482816114fa5760405162461bcd60e51b81526004016104c79190611c95565b508461150760018361213c565b815481106115175761151761217e565b9060005260206000209060020201600101549150509392505050565b60006001600160a01b0384163b61154c57506001610e82565b60006115cd630a85bd0160e11b338887876040516024016115709493929190612194565b604051602081830303815290604052906001600160e01b0319166020820180516001600160e01b038381831617835250505050604051806060016040528060328152602001612221603291396001600160a01b0388169190611a30565b90506000818060200190518101906115e591906121d1565b6001600160e01b031916630a85bd0160e11b1492505050949350505050565b6001600160a01b03831661165a5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016104c7565b61166382610bf5565b156116b05760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016104c7565b6001600160a01b03831660009081526001602052604090206116d29083611379565b506116df60028385611385565b506000828152600a6020908152604080832080546001600160a01b0319163317905560099091528082208390555183916001600160a01b038616917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4505050565b6000818152600183016020526040812054801561182d57600061176860018361213c565b855490915060009061177c9060019061213c565b905060008660000182815481106117955761179561217e565b90600052602060002001549050808760000184815481106117b8576117b861217e565b6000918252602090912001556117cf836001611fba565b600082815260018901602052604090205586548790806117f1576117f16121ee565b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050610641565b6000915050610641565b600081815260018301602052604081205461187e57508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610641565b506000610641565b60008281526001840160205260408120548082036118ed57505060408051808201825283815260208082018481528654600181810189556000898152848120955160029093029095019182559151908201558654868452818801909252929091205561069a565b82856118fa60018461213c565b8154811061190a5761190a61217e565b906000526020600020906002020160010181905550600091505061069a565b6000818152600183016020526040812054801561182d57600061194d60018361213c565b85549091506000906119619060019061213c565b9050600086600001828154811061197a5761197a61217e565b90600052602060002090600202019050808760000184815481106119a0576119a061217e565b600091825260209091208254600290920201908155600191820154908201556119ca908490611fba565b8154600090815260018901602052604090205586548790806119ee576119ee6121ee565b60008281526020808220600260001990940193840201828155600190810183905592909355888152898201909252604082209190915594506106419350505050565b6060610e82848460008585843b611a895760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016104c7565b600080866001600160a01b03168587604051611aa59190612204565b60006040518083038185875af1925050503d8060008114611ae2576040519150601f19603f3d011682016040523d82523d6000602084013e611ae7565b606091505b5091509150611af7828286611b02565b979650505050505050565b60608315611b1157508161069a565b825115611b215782518084602001fd5b8160405162461bcd60e51b81526004016104c79190611c95565b828054611b4790611f6a565b90600052602060002090601f016020900481019282611b695760008555611baf565b82601f10611b8257805160ff1916838001178555611baf565b82800160010185558215611baf579182015b82811115611baf578251825591602001919060010190611b94565b50611bbb929150611bf5565b5090565b508054611bcb90611f6a565b6000825580601f10611bdb575050565b601f01602090049060005260206000209081019061071a91905b5b80821115611bbb5760008155600101611bf6565b6001600160e01b03198116811461071a57600080fd5b600060208284031215611c3257600080fd5b813561069a81611c0a565b60005b83811015611c58578181015183820152602001611c40565b8381111561095e5750506000910152565b60008151808452611c81816020860160208601611c3d565b601f01601f19169290920160200192915050565b60208152600061069a6020830184611c69565b600060208284031215611cba57600080fd5b5035919050565b80356001600160a01b0381168114610bf057600080fd5b60008060408385031215611ceb57600080fd5b611cf483611cc1565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115611d3357611d33611d02565b604051601f8501601f19908116603f01168101908282118183101715611d5b57611d5b611d02565b81604052809350858152868686011115611d7457600080fd5b858560208301376000602087830101525050509392505050565b600082601f830112611d9f57600080fd5b61069a83833560208501611d18565b60008060408385031215611dc157600080fd5b823567ffffffffffffffff811115611dd857600080fd5b611de485828601611d8e565b95602094909401359450505050565b600080600060608486031215611e0857600080fd5b611e1184611cc1565b9250611e1f60208501611cc1565b9150604084013590509250925092565b600060208284031215611e4157600080fd5b813567ffffffffffffffff811115611e5857600080fd5b610e8284828501611d8e565b600060208284031215611e7657600080fd5b61069a82611cc1565b60008060408385031215611e9257600080fd5b611e9b83611cc1565b915060208301358015158114611eb057600080fd5b809150509250929050565b60008060008060808587031215611ed157600080fd5b611eda85611cc1565b9350611ee860208601611cc1565b925060408501359150606085013567ffffffffffffffff811115611f0b57600080fd5b8501601f81018713611f1c57600080fd5b611f2b87823560208401611d18565b91505092959194509250565b60008060408385031215611f4a57600080fd5b611f5383611cc1565b9150611f6160208401611cc1565b90509250929050565b600181811c90821680611f7e57607f821691505b602082108103611f9e57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60008219821115611fcd57611fcd611fa4565b500190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b60008351612035818460208801611c3d565b835190830190612049818360208801611c3d565b01949350505050565b600060208083526000845481600182811c91508083168061207457607f831692505b858310810361209157634e487b7160e01b85526022600452602485fd5b8786018381526020018180156120ae57600181146120bf576120ea565b60ff198616825287820196506120ea565b60008b81526020902060005b868110156120e4578154848201529085019089016120cb565b83019750505b50949998505050505050505050565b60006001820161210b5761210b611fa4565b5060010190565b634e487b7160e01b600052601260045260246000fd5b60008261213757612137612112565b500490565b60008282101561214e5761214e611fa4565b500390565b60008261216257612162612112565b500690565b60008161217657612176611fa4565b506000190190565b634e487b7160e01b600052603260045260246000fd5b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906121c790830184611c69565b9695505050505050565b6000602082840312156121e357600080fd5b815161069a81611c0a565b634e487b7160e01b600052603160045260246000fd5b60008251612216818460208701611c3d565b919091019291505056fe4552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656ea26469706673582212203ee4ca4839229107d9e79394a33b2feb13a84494137be94e945902917840e14564736f6c634300080d0033a264697066735822122056fe5192e0e1d3ea7d2d4e7581ef61ec84c31fed4cf841d3514ee27689e89a7664736f6c634300080d0033

Deployed Bytecode Sourcemap

111:480:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;192:397;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1851:32:2;;;1833:51;;1821:2;1806:18;192:397:0;;;;;;;;312:12;386:5;393:4;399:6;407:14;345:77;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;515:35:0;;-1:-1:-1;;;515:35:0;;539:10;515:35;;;1833:51:2;330:93:0;;-1:-1:-1;330:93:0;;-1:-1:-1;;;;;515:23:0;;;;;1806:18:2;;515:35:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;559:26:0;;;568:10;3417:34:2;;-1:-1:-1;;;;;3487:15:2;;3482:2;3467:18;;3460:43;559:26:0;;3352:18:2;559:26:0;;;;;;;326:263;192:397;;;;;;:::o;-1:-1:-1:-;;;;;;;;:::o;14:127:2:-;75:10;70:3;66:20;63:1;56:31;106:4;103:1;96:15;130:4;127:1;120:15;146:719;189:5;242:3;235:4;227:6;223:17;219:27;209:55;;260:1;257;250:12;209:55;296:6;283:20;322:18;359:2;355;352:10;349:36;;;365:18;;:::i;:::-;440:2;434:9;408:2;494:13;;-1:-1:-1;;490:22:2;;;514:2;486:31;482:40;470:53;;;538:18;;;558:22;;;535:46;532:72;;;584:18;;:::i;:::-;624:10;620:2;613:22;659:2;651:6;644:18;705:3;698:4;693:2;685:6;681:15;677:26;674:35;671:55;;;722:1;719;712:12;671:55;786:2;779:4;771:6;767:17;760:4;752:6;748:17;735:54;833:1;826:4;821:2;813:6;809:15;805:26;798:37;853:6;844:15;;;;;;146:719;;;;:::o;870:812::-;986:6;994;1002;1010;1063:3;1051:9;1042:7;1038:23;1034:33;1031:53;;;1080:1;1077;1070:12;1031:53;1116:9;1103:23;1093:33;;1177:2;1166:9;1162:18;1149:32;1200:18;1241:2;1233:6;1230:14;1227:34;;;1257:1;1254;1247:12;1227:34;1280:50;1322:7;1313:6;1302:9;1298:22;1280:50;:::i;:::-;1270:60;;1383:2;1372:9;1368:18;1355:32;1339:48;;1412:2;1402:8;1399:16;1396:36;;;1428:1;1425;1418:12;1396:36;1451:52;1495:7;1484:8;1473:9;1469:24;1451:52;:::i;:::-;1441:62;;1556:2;1545:9;1541:18;1528:32;1512:48;;1585:2;1575:8;1572:16;1569:36;;;1601:1;1598;1591:12;1569:36;;1624:52;1668:7;1657:8;1646:9;1642:24;1624:52;:::i;:::-;1614:62;;;870:812;;;;;;;:::o;1895:472::-;1937:3;1975:5;1969:12;2002:6;1997:3;1990:19;2027:1;2037:162;2051:6;2048:1;2045:13;2037:162;;;2113:4;2169:13;;;2165:22;;2159:29;2141:11;;;2137:20;;2130:59;2066:12;2037:162;;;2217:6;2214:1;2211:13;2208:87;;;2283:1;2276:4;2267:6;2262:3;2258:16;2254:27;2247:38;2208:87;-1:-1:-1;2349:2:2;2328:15;-1:-1:-1;;2324:29:2;2315:39;;;;2356:4;2311:50;;1895:472;-1:-1:-1;;1895:472:2:o;2372:546::-;2617:2;2606:9;2599:21;2580:4;2643:45;2684:2;2673:9;2669:18;2661:6;2643:45;:::i;:::-;2736:9;2728:6;2724:22;2719:2;2708:9;2704:18;2697:50;2770:33;2796:6;2788;2770:33;:::i;:::-;2756:47;;2851:9;2843:6;2839:22;2834:2;2823:9;2819:18;2812:50;2879:33;2905:6;2897;2879:33;:::i;:::-;2871:41;2372:546;-1:-1:-1;;;;;;2372:546:2:o;2923:277::-;2990:6;3043:2;3031:9;3022:7;3018:23;3014:32;3011:52;;;3059:1;3056;3049:12;3011:52;3091:9;3085:16;3144:5;3137:13;3130:21;3123:5;3120:32;3110:60;;3166:1;3163;3156:12;3110:60;3189:5;2923:277;-1:-1:-1;;;2923:277:2:o

Swarm Source

ipfs://56fe5192e0e1d3ea7d2d4e7581ef61ec84c31fed4cf841d3514ee27689e89a76

Block Transaction 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
[ Download: CSV Export  ]
[ Download: CSV Export  ]

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