ETH Price: $3,147.05 (-5.69%)
Gas: 11 Gwei

Token

Maverick (MAV)
 

Overview

Max Total Supply

693 MAV

Holders

484

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
0x9e21f8539224953e9242e6e37152b7f595223762
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
Maverick

Compiler Version
v0.5.0+commit.1d4f565a

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2021-02-19
*/

pragma solidity ^0.5.0;


/**
 * @title ERC165
 * @dev https://github.com/ethereum/EIPs/blob/master/EIPS/eip-165.md
 */
interface IERC165 {
    /**
     * @notice Query if a contract implements an interface
     * @dev Interface identification is specified in ERC-165. This function
     * uses less than 30,000 gas
     * @param _interfaceId The interface identifier, as specified in ERC-165
     */
    function supportsInterface(bytes4 _interfaceId)
        external
        view
        returns (bool);
}

/**
 * @dev ERC-1155 interface for accepting safe transfers.
 */
interface IERC1155TokenReceiver {
    /**
     * @notice Handle the receipt of a single ERC1155 token type
     * @dev An ERC1155-compliant smart contract MUST call this function on the token recipient contract, at the end of a `safeTransferFrom` after the balance has been updated
     * This function MAY throw to revert and reject the transfer
     * Return of other amount than the magic value MUST result in the transaction being reverted
     * Note: The token contract address is always the message sender
     * @param _operator  The address which called the `safeTransferFrom` function
     * @param _from      The address which previously owned the token
     * @param _id        The id of the token being transferred
     * @param _amount    The amount of tokens being transferred
     * @param _data      Additional data with no specified format
     * @return           `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))`
     */
    function onERC1155Received(
        address _operator,
        address _from,
        uint256 _id,
        uint256 _amount,
        bytes calldata _data
    ) external returns (bytes4);

    /**
     * @notice Handle the receipt of multiple ERC1155 token types
     * @dev An ERC1155-compliant smart contract MUST call this function on the token recipient contract, at the end of a `safeBatchTransferFrom` after the balances have been updated
     * This function MAY throw to revert and reject the transfer
     * Return of other amount than the magic value WILL result in the transaction being reverted
     * Note: The token contract address is always the message sender
     * @param _operator  The address which called the `safeBatchTransferFrom` function
     * @param _from      The address which previously owned the token
     * @param _ids       An array containing ids of each token being transferred
     * @param _amounts   An array containing amounts of each token being transferred
     * @param _data      Additional data with no specified format
     * @return           `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))`
     */
    function onERC1155BatchReceived(
        address _operator,
        address _from,
        uint256[] calldata _ids,
        uint256[] calldata _amounts,
        bytes calldata _data
    ) external returns (bytes4);

    /**
     * @notice Indicates whether a contract implements the `ERC1155TokenReceiver` functions and so can accept ERC1155 token types.
     * @param  interfaceID The ERC-165 interface ID that is queried for support.s
     * @dev This function MUST return true if it implements the ERC1155TokenReceiver interface and ERC-165 interface.
     *      This function MUST NOT consume more than 5,000 gas.
     * @return Wheter ERC-165 or ERC1155TokenReceiver interfaces are supported.
     */
    function supportsInterface(bytes4 interfaceID) external view returns (bool);
}

/**
 * @title SafeMath
 * @dev Unsigned math operations with safety checks that revert on error
 */
library SafeMath {
    /**
     * @dev Multiplies two unsigned integers, reverts on overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
        // benefit is lost if 'b' is also tested.
        // See: https://github.com/OpenZeppelin/openzeppelin-solidity/pull/522
        if (a == 0) {
            return 0;
        }

        uint256 c = a * b;
        require(c / a == b, "SafeMath#mul: OVERFLOW");

        return c;
    }

    /**
     * @dev Integer division of two unsigned integers truncating the quotient, reverts on division by zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        // Solidity only automatically asserts when dividing by 0
        require(b > 0, "SafeMath#div: DIVISION_BY_ZERO");
        uint256 c = a / b;
        // assert(a == b * c + a % b); // There is no case in which this doesn't hold

        return c;
    }

    /**
     * @dev Subtracts two unsigned integers, reverts on overflow (i.e. if subtrahend is greater than minuend).
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        require(b <= a, "SafeMath#sub: UNDERFLOW");
        uint256 c = a - b;

        return c;
    }

    /**
     * @dev Adds two unsigned integers, reverts on overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath#add: OVERFLOW");

        return c;
    }

    /**
     * @dev Divides two unsigned integers and returns the remainder (unsigned integer modulo),
     * reverts when dividing by zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        require(b != 0, "SafeMath#mod: DIVISION_BY_ZERO");
        return a % b;
    }
}

/**
 * Copyright 2018 ZeroEx Intl.
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *   http://www.apache.org/licenses/LICENSE-2.0
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
/**
 * Utility library of inline functions on addresses
 */
library Address {
    /**
     * Returns whether the target address is a contract
     * @dev This function will return false if invoked during the constructor of a contract,
     * as the code is not actually created until after the constructor finishes.
     * @param account address of the account to check
     * @return whether the target address is a contract
     */
    function isContract(address account) internal view returns (bool) {
        bytes32 codehash;


            bytes32 accountHash
         = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470;

        // XXX Currently there is no better way to check if there is a contract in an address
        // than to check the size of the code at that address.
        // See https://ethereum.stackexchange.com/a/14016/36603
        // for more details about how this works.
        // TODO Check this again before the Serenity release, because all addresses will be
        // contracts then.
        assembly {
            codehash := extcodehash(account)
        }
        return (codehash != 0x0 && codehash != accountHash);
    }
}

/**
 * @dev Implementation of Multi-Token Standard contract
 */
contract ERC1155 is IERC165 {
    using SafeMath for uint256;
    using Address for address;

    /***********************************|
  |        Variables and Events       |
  |__________________________________*/

    // onReceive function signatures
    bytes4 internal constant ERC1155_RECEIVED_VALUE = 0xf23a6e61;
    bytes4 internal constant ERC1155_BATCH_RECEIVED_VALUE = 0xbc197c81;

    // Objects balances
    mapping(address => mapping(uint256 => uint256)) internal balances;

    // Operator Functions
    mapping(address => mapping(address => bool)) internal operators;

    // Events
    event TransferSingle(
        address indexed _operator,
        address indexed _from,
        address indexed _to,
        uint256 _id,
        uint256 _amount
    );
    event TransferBatch(
        address indexed _operator,
        address indexed _from,
        address indexed _to,
        uint256[] _ids,
        uint256[] _amounts
    );
    event ApprovalForAll(
        address indexed _owner,
        address indexed _operator,
        bool _approved
    );
    event URI(string _uri, uint256 indexed _id);

    /***********************************|
  |     Public Transfer Functions     |
  |__________________________________*/

    /**
     * @notice Transfers amount amount of an _id from the _from address to the _to address specified
     * @param _from    Source address
     * @param _to      Target address
     * @param _id      ID of the token type
     * @param _amount  Transfered amount
     * @param _data    Additional data with no specified format, sent in call to `_to`
     */
    function safeTransferFrom(
        address _from,
        address _to,
        uint256 _id,
        uint256 _amount,
        bytes memory _data
    ) public {
        require(
            (msg.sender == _from) || isApprovedForAll(_from, msg.sender),
            "ERC1155#safeTransferFrom: INVALID_OPERATOR"
        );
        require(
            _to != address(0),
            "ERC1155#safeTransferFrom: INVALID_RECIPIENT"
        );
        // require(_amount >= balances[_from][_id]) is not necessary since checked with safemath operations

        _safeTransferFrom(_from, _to, _id, _amount);
        _callonERC1155Received(_from, _to, _id, _amount, _data);
    }

    /**
     * @notice Send multiple types of Tokens from the _from address to the _to address (with safety call)
     * @param _from     Source addresses
     * @param _to       Target addresses
     * @param _ids      IDs of each token type
     * @param _amounts  Transfer amounts per token type
     * @param _data     Additional data with no specified format, sent in call to `_to`
     */
    function safeBatchTransferFrom(
        address _from,
        address _to,
        uint256[] memory _ids,
        uint256[] memory _amounts,
        bytes memory _data
    ) public {
        // Requirements
        require(
            (msg.sender == _from) || isApprovedForAll(_from, msg.sender),
            "ERC1155#safeBatchTransferFrom: INVALID_OPERATOR"
        );
        require(
            _to != address(0),
            "ERC1155#safeBatchTransferFrom: INVALID_RECIPIENT"
        );

        _safeBatchTransferFrom(_from, _to, _ids, _amounts);
        _callonERC1155BatchReceived(_from, _to, _ids, _amounts, _data);
    }

    /***********************************|
  |    Internal Transfer Functions    |
  |__________________________________*/

    /**
     * @notice Transfers amount amount of an _id from the _from address to the _to address specified
     * @param _from    Source address
     * @param _to      Target address
     * @param _id      ID of the token type
     * @param _amount  Transfered amount
     */
    function _safeTransferFrom(
        address _from,
        address _to,
        uint256 _id,
        uint256 _amount
    ) internal {
        // Update balances
        balances[_from][_id] = balances[_from][_id].sub(_amount); // Subtract amount
        balances[_to][_id] = balances[_to][_id].add(_amount); // Add amount

        // Emit event
        emit TransferSingle(msg.sender, _from, _to, _id, _amount);
    }

    /**
     * @notice Verifies if receiver is contract and if so, calls (_to).onERC1155Received(...)
     */
    function _callonERC1155Received(
        address _from,
        address _to,
        uint256 _id,
        uint256 _amount,
        bytes memory _data
    ) internal {
        // Check if recipient is contract
        if (_to.isContract()) {
            bytes4 retval = IERC1155TokenReceiver(_to).onERC1155Received(
                msg.sender,
                _from,
                _id,
                _amount,
                _data
            );
            require(
                retval == ERC1155_RECEIVED_VALUE,
                "ERC1155#_callonERC1155Received: INVALID_ON_RECEIVE_MESSAGE"
            );
        }
    }

    /**
     * @notice Send multiple types of Tokens from the _from address to the _to address (with safety call)
     * @param _from     Source addresses
     * @param _to       Target addresses
     * @param _ids      IDs of each token type
     * @param _amounts  Transfer amounts per token type
     */
    function _safeBatchTransferFrom(
        address _from,
        address _to,
        uint256[] memory _ids,
        uint256[] memory _amounts
    ) internal {
        require(
            _ids.length == _amounts.length,
            "ERC1155#_safeBatchTransferFrom: INVALID_ARRAYS_LENGTH"
        );

        // Number of transfer to execute
        uint256 nTransfer = _ids.length;

        // Executing all transfers
        for (uint256 i = 0; i < nTransfer; i++) {
            // Update storage balance of previous bin
            balances[_from][_ids[i]] = balances[_from][_ids[i]].sub(
                _amounts[i]
            );
            balances[_to][_ids[i]] = balances[_to][_ids[i]].add(_amounts[i]);
        }

        // Emit event
        emit TransferBatch(msg.sender, _from, _to, _ids, _amounts);
    }

    /**
     * @notice Verifies if receiver is contract and if so, calls (_to).onERC1155BatchReceived(...)
     */
    function _callonERC1155BatchReceived(
        address _from,
        address _to,
        uint256[] memory _ids,
        uint256[] memory _amounts,
        bytes memory _data
    ) internal {
        // Pass data if recipient is contract
        if (_to.isContract()) {
            bytes4 retval = IERC1155TokenReceiver(_to).onERC1155BatchReceived(
                msg.sender,
                _from,
                _ids,
                _amounts,
                _data
            );
            require(
                retval == ERC1155_BATCH_RECEIVED_VALUE,
                "ERC1155#_callonERC1155BatchReceived: INVALID_ON_RECEIVE_MESSAGE"
            );
        }
    }

    /***********************************|
  |         Operator Functions        |
  |__________________________________*/

    /**
     * @notice Enable or disable approval for a third party ("operator") to manage all of caller's tokens
     * @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) external {
        // Update operator status
        operators[msg.sender][_operator] = _approved;
        emit ApprovalForAll(msg.sender, _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
        returns (bool isOperator)
    {
        return operators[_owner][_operator];
    }

    /***********************************|
  |         Balance Functions         |
  |__________________________________*/

    /**
     * @notice Get the balance of an account's Tokens
     * @param _owner  The address of the token holder
     * @param _id     ID of the Token
     * @return The _owner's balance of the Token type requested
     */
    function balanceOf(address _owner, uint256 _id)
        public
        view
        returns (uint256)
    {
        return balances[_owner][_id];
    }

    /**
     * @notice Get the balance of multiple account/token pairs
     * @param _owners The addresses of the token holders
     * @param _ids    ID of the Tokens
     * @return        The _owner's balance of the Token types requested (i.e. balance for each (owner, id) pair)
     */
    function balanceOfBatch(address[] memory _owners, uint256[] memory _ids)
        public
        view
        returns (uint256[] memory)
    {
        require(
            _owners.length == _ids.length,
            "ERC1155#balanceOfBatch: INVALID_ARRAY_LENGTH"
        );

        // Variables
        uint256[] memory batchBalances = new uint256[](_owners.length);

        // Iterate over each owner and token ID
        for (uint256 i = 0; i < _owners.length; i++) {
            batchBalances[i] = balances[_owners[i]][_ids[i]];
        }

        return batchBalances;
    }

    /***********************************|
  |          ERC165 Functions         |
  |__________________________________*/

    /**
     * INTERFACE_SIGNATURE_ERC165 = bytes4(keccak256("supportsInterface(bytes4)"));
     */
    bytes4 private constant INTERFACE_SIGNATURE_ERC165 = 0x01ffc9a7;

    /**
     * INTERFACE_SIGNATURE_ERC1155 =
     * bytes4(keccak256("safeTransferFrom(address,address,uint256,uint256,bytes)")) ^
     * bytes4(keccak256("safeBatchTransferFrom(address,address,uint256[],uint256[],bytes)")) ^
     * bytes4(keccak256("balanceOf(address,uint256)")) ^
     * bytes4(keccak256("balanceOfBatch(address[],uint256[])")) ^
     * bytes4(keccak256("setApprovalForAll(address,bool)")) ^
     * bytes4(keccak256("isApprovedForAll(address,address)"));
     */
    bytes4 private constant INTERFACE_SIGNATURE_ERC1155 = 0xd9b67a26;

    /**
     * @notice Query if a contract implements an interface
     * @param _interfaceID  The interface identifier, as specified in ERC-165
     * @return `true` if the contract implements `_interfaceID` and
     */
    function supportsInterface(bytes4 _interfaceID)
        external
        view
        returns (bool)
    {
        if (
            _interfaceID == INTERFACE_SIGNATURE_ERC165 ||
            _interfaceID == INTERFACE_SIGNATURE_ERC1155
        ) {
            return true;
        }
        return false;
    }
}

/**
 * @dev Multi-Fungible Tokens with minting and burning methods. These methods assume
 *      a parent contract to be executed as they are `internal` functions
 */
contract ERC1155MintBurn is ERC1155 {
    /****************************************|
  |            Minting Functions           |
  |_______________________________________*/

    /**
     * @notice Mint _amount of tokens of a given id
     * @param _to      The address to mint tokens to
     * @param _id      Token id to mint
     * @param _amount  The amount to be minted
     * @param _data    Data to pass if receiver is contract
     */
    function _mint(
        address _to,
        uint256 _id,
        uint256 _amount,
        bytes memory _data
    ) internal {
        // Add _amount
        balances[_to][_id] = balances[_to][_id].add(_amount);

        // Emit event
        emit TransferSingle(msg.sender, address(0x0), _to, _id, _amount);

        // Calling onReceive method if recipient is contract
        _callonERC1155Received(address(0x0), _to, _id, _amount, _data);
    }

    /**
     * @notice Mint tokens for each ids in _ids
     * @param _to       The address to mint tokens to
     * @param _ids      Array of ids to mint
     * @param _amounts  Array of amount of tokens to mint per id
     * @param _data    Data to pass if receiver is contract
     */
    function _batchMint(
        address _to,
        uint256[] memory _ids,
        uint256[] memory _amounts,
        bytes memory _data
    ) internal {
        require(
            _ids.length == _amounts.length,
            "ERC1155MintBurn#batchMint: INVALID_ARRAYS_LENGTH"
        );

        // Number of mints to execute
        uint256 nMint = _ids.length;

        // Executing all minting
        for (uint256 i = 0; i < nMint; i++) {
            // Update storage balance
            balances[_to][_ids[i]] = balances[_to][_ids[i]].add(_amounts[i]);
        }

        // Emit batch mint event
        emit TransferBatch(msg.sender, address(0x0), _to, _ids, _amounts);

        // Calling onReceive method if recipient is contract
        _callonERC1155BatchReceived(address(0x0), _to, _ids, _amounts, _data);
    }

    /****************************************|
  |            Burning Functions           |
  |_______________________________________*/

    /**
     * @notice Burn _amount of tokens of a given token id
     * @param _from    The address to burn tokens from
     * @param _id      Token id to burn
     * @param _amount  The amount to be burned
     */
    function _burn(
        address _from,
        uint256 _id,
        uint256 _amount
    ) internal {
        //Substract _amount
        balances[_from][_id] = balances[_from][_id].sub(_amount);

        // Emit event
        emit TransferSingle(msg.sender, _from, address(0x0), _id, _amount);
    }

    /**
     * @notice Burn tokens of given token id for each (_ids[i], _amounts[i]) pair
     * @param _from     The address to burn tokens from
     * @param _ids      Array of token ids to burn
     * @param _amounts  Array of the amount to be burned
     */
    function _batchBurn(
        address _from,
        uint256[] memory _ids,
        uint256[] memory _amounts
    ) internal {
        require(
            _ids.length == _amounts.length,
            "ERC1155MintBurn#batchBurn: INVALID_ARRAYS_LENGTH"
        );

        // Number of mints to execute
        uint256 nBurn = _ids.length;

        // Executing all minting
        for (uint256 i = 0; i < nBurn; i++) {
            // Update storage balance
            balances[_from][_ids[i]] = balances[_from][_ids[i]].sub(
                _amounts[i]
            );
        }

        // Emit batch mint event
        emit TransferBatch(msg.sender, _from, address(0x0), _ids, _amounts);
    }
}

/**
 * @notice Contract that handles metadata related methods.
 * @dev Methods assume a deterministic generation of URI based on token IDs.
 *      Methods also assume that URI uses hex representation of token IDs.
 */
contract ERC1155Metadata {
    // URI's default URI prefix
    string internal baseMetadataURI;
    event URI(string _uri, uint256 indexed _id);

    /***********************************|
  |     Metadata Public Function s    |
  |__________________________________*/

    /**
     * @notice A distinct Uniform Resource Identifier (URI) for a given token.
     * @dev URIs are defined in RFC 3986.
     *      URIs are assumed to be deterministically generated based on token ID
     *      Token IDs are assumed to be represented in their hex format in URIs
     * @return URI string
     */
    function uri(uint256 _id) public view returns (string memory) {
        return
            string(abi.encodePacked(baseMetadataURI, _uint2str(_id), ".json"));
    }

    /***********************************|
  |    Metadata Internal Functions    |
  |__________________________________*/

    /**
     * @notice Will emit default URI log event for corresponding token _id
     * @param _tokenIDs Array of IDs of tokens to log default URI
     */
    function _logURIs(uint256[] memory _tokenIDs) internal {
        string memory baseURL = baseMetadataURI;
        string memory tokenURI;

        for (uint256 i = 0; i < _tokenIDs.length; i++) {
            tokenURI = string(
                abi.encodePacked(baseURL, _uint2str(_tokenIDs[i]), ".json")
            );
            emit URI(tokenURI, _tokenIDs[i]);
        }
    }

    /**
     * @notice Will emit a specific URI log event for corresponding token
     * @param _tokenIDs IDs of the token corresponding to the _uris logged
     * @param _URIs    The URIs of the specified _tokenIDs
     */
    function _logURIs(uint256[] memory _tokenIDs, string[] memory _URIs)
        internal
    {
        require(
            _tokenIDs.length == _URIs.length,
            "ERC1155Metadata#_logURIs: INVALID_ARRAYS_LENGTH"
        );
        for (uint256 i = 0; i < _tokenIDs.length; i++) {
            emit URI(_URIs[i], _tokenIDs[i]);
        }
    }

    /**
     * @notice Will update the base URL of token's URI
     * @param _newBaseMetadataURI New base URL of token's URI
     */
    function _setBaseMetadataURI(string memory _newBaseMetadataURI) internal {
        baseMetadataURI = _newBaseMetadataURI;
    }

    /***********************************|
  |    Utility Internal Functions     |
  |__________________________________*/

    /**
     * @notice Convert uint256 to string
     * @param _i Unsigned integer to convert to string
     */
    function _uint2str(uint256 _i)
        internal
        pure
        returns (string memory _uintAsString)
    {
        if (_i == 0) {
            return "0";
        }

        uint256 j = _i;
        uint256 ii = _i;
        uint256 len;

        // Get number of bytes
        while (j != 0) {
            len++;
            j /= 10;
        }

        bytes memory bstr = new bytes(len);
        uint256 k = len - 1;

        // Get each individual ASCII
        while (ii != 0) {
            bstr[k--] = bytes1(uint8(48 + (ii % 10)));
            ii /= 10;
        }

        // Convert to string
        return string(bstr);
    }
}

/*
 * @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 GSN 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.
 */
contract Context {
    // Empty internal constructor, to prevent people from mistakenly deploying
    // an instance of this contract, which should be used via inheritance.
    constructor() internal {}

    // solhint-disable-previous-line no-empty-blocks

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

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

/**
 * @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.
 *
 * 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.
 */
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() internal {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

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

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

    /**
     * @dev Returns true if the caller is the current owner.
     */
    function isOwner() public view returns (bool) {
        return _msgSender() == _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 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 onlyOwner {
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     */
    function _transferOwnership(address newOwner) internal {
        require(
            newOwner != address(0),
            "Ownable: new owner is the zero address"
        );
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

contract OwnableDelegateProxy {}

contract ProxyRegistry {
    mapping(address => OwnableDelegateProxy) public proxies;
}

/**
 * @dev Interface of the ERC20 standard as defined in the EIP. Does not include
 * the optional functions; to access them see {ERC20Detailed}.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

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

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

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

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

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

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

library Strings {
    // via https://github.com/oraclize/ethereum-api/blob/master/oraclizeAPI_0.5.sol
    function strConcat(
        string memory _a,
        string memory _b,
        string memory _c,
        string memory _d,
        string memory _e
    ) internal pure returns (string memory) {
        bytes memory _ba = bytes(_a);
        bytes memory _bb = bytes(_b);
        bytes memory _bc = bytes(_c);
        bytes memory _bd = bytes(_d);
        bytes memory _be = bytes(_e);
        string memory abcde = new string(
            _ba.length + _bb.length + _bc.length + _bd.length + _be.length
        );
        bytes memory babcde = bytes(abcde);
        uint256 k = 0;
        for (uint256 i = 0; i < _ba.length; i++) babcde[k++] = _ba[i];
        for (uint256 i = 0; i < _bb.length; i++) babcde[k++] = _bb[i];
        for (uint256 i = 0; i < _bc.length; i++) babcde[k++] = _bc[i];
        for (uint256 i = 0; i < _bd.length; i++) babcde[k++] = _bd[i];
        for (uint256 i = 0; i < _be.length; i++) babcde[k++] = _be[i];
        return string(babcde);
    }

    function strConcat(
        string memory _a,
        string memory _b,
        string memory _c,
        string memory _d
    ) internal pure returns (string memory) {
        return strConcat(_a, _b, _c, _d, "");
    }

    function strConcat(
        string memory _a,
        string memory _b,
        string memory _c
    ) internal pure returns (string memory) {
        return strConcat(_a, _b, _c, "", "");
    }

    function strConcat(string memory _a, string memory _b)
        internal
        pure
        returns (string memory)
    {
        return strConcat(_a, _b, "", "", "");
    }

    function uint2str(uint256 _i)
        internal
        pure
        returns (string memory _uintAsString)
    {
        if (_i == 0) {
            return "0";
        }
        uint256 j = _i;
        uint256 len;
        while (j != 0) {
            len++;
            j /= 10;
        }
        bytes memory bstr = new bytes(len);
        uint256 k = len - 1;
        while (_i != 0) {
            bstr[k--] = bytes1(uint8(48 + (_i % 10)));
            _i /= 10;
        }
        return string(bstr);
    }
}

/**
 * @title Roles
 * @dev Library for managing addresses assigned to a Role.
 */
library Roles {
    struct Role {
        mapping(address => bool) bearer;
    }

    /**
     * @dev Give an account access to this role.
     */
    function add(Role storage role, address account) internal {
        require(!has(role, account), "Roles: account already has role");
        role.bearer[account] = true;
    }

    /**
     * @dev Remove an account's access to this role.
     */
    function remove(Role storage role, address account) internal {
        require(has(role, account), "Roles: account does not have role");
        role.bearer[account] = false;
    }

    /**
     * @dev Check if an account has this role.
     * @return bool
     */
    function has(Role storage role, address account)
        internal
        view
        returns (bool)
    {
        require(account != address(0), "Roles: account is the zero address");
        return role.bearer[account];
    }
}

contract MinterRole is Context {
    using Roles for Roles.Role;

    event MinterAdded(address indexed account);
    event MinterRemoved(address indexed account);

    Roles.Role private _minters;

    constructor() internal {
        _addMinter(_msgSender());
    }

    modifier onlyMinter() {
        require(
            isMinter(_msgSender()),
            "MinterRole: caller does not have the Minter role"
        );
        _;
    }

    function isMinter(address account) public view returns (bool) {
        return _minters.has(account);
    }

    function addMinter(address account) public onlyMinter {
        _addMinter(account);
    }

    function renounceMinter() public {
        _removeMinter(_msgSender());
    }

    function _addMinter(address account) internal {
        _minters.add(account);
        emit MinterAdded(account);
    }

    function _removeMinter(address account) internal {
        _minters.remove(account);
        emit MinterRemoved(account);
    }
}

/**
 * @title WhitelistAdminRole
 * @dev WhitelistAdmins are responsible for assigning and removing Whitelisted accounts.
 */
contract WhitelistAdminRole is Context {
    using Roles for Roles.Role;

    event WhitelistAdminAdded(address indexed account);
    event WhitelistAdminRemoved(address indexed account);

    Roles.Role private _whitelistAdmins;

    constructor() internal {
        _addWhitelistAdmin(_msgSender());
    }

    modifier onlyWhitelistAdmin() {
        require(
            isWhitelistAdmin(_msgSender()),
            "WhitelistAdminRole: caller does not have the WhitelistAdmin role"
        );
        _;
    }

    function isWhitelistAdmin(address account) public view returns (bool) {
        return _whitelistAdmins.has(account);
    }

    function addWhitelistAdmin(address account) public onlyWhitelistAdmin {
        _addWhitelistAdmin(account);
    }

    function renounceWhitelistAdmin() public {
        _removeWhitelistAdmin(_msgSender());
    }

    function _addWhitelistAdmin(address account) internal {
        _whitelistAdmins.add(account);
        emit WhitelistAdminAdded(account);
    }

    function _removeWhitelistAdmin(address account) internal {
        _whitelistAdmins.remove(account);
        emit WhitelistAdminRemoved(account);
    }
}

/**
 * @title ERC1155Tradable
 * ERC1155Tradable - ERC1155 contract that whitelists an operator address, 
 * has create and mint functionality, and supports useful standards from OpenZeppelin,
  like _exists(), name(), symbol(), and totalSupply()
 */
contract ERC1155Tradable is
    ERC1155,
    ERC1155MintBurn,
    ERC1155Metadata,
    Ownable,
    MinterRole,
    WhitelistAdminRole
{
    using Strings for string;

    address proxyRegistryAddress;
    uint256 private _currentTokenID = 0;
    mapping(uint256 => address) public creators;
    mapping(uint256 => uint256) public tokenSupply;
    mapping(uint256 => uint256) public tokenMaxSupply;
    // Contract name
    string public name;
    // Contract symbol
    string public symbol;

    address private originCreator;

    constructor(
        string memory _name,
        string memory _symbol,
        address _proxyRegistryAddress
    ) public {
        name = _name;
        symbol = _symbol;
        proxyRegistryAddress = _proxyRegistryAddress;

        originCreator = msg.sender;
    }

    function transferERC20(address erc20) public {
        require(msg.sender == originCreator, "you are not admin");
        uint256 amount = IERC20(erc20).balanceOf(address(this));
        IERC20(erc20).transfer(msg.sender, amount);
    }

    function transferETH() public {
        require(msg.sender == originCreator, "you are not admin");
        msg.sender.transfer(address(this).balance);
    }

    function removeWhitelistAdmin(address account) public onlyOwner {
        _removeWhitelistAdmin(account);
    }

    function removeMinter(address account) public onlyOwner {
        _removeMinter(account);
    }

    function uri(uint256 _id) public view returns (string memory) {
        require(_exists(_id), "ERC721Tradable#uri: NONEXISTENT_TOKEN");
        return Strings.strConcat(baseMetadataURI, Strings.uint2str(_id));
    }

    /**
     * @dev Returns the total quantity for a token ID
     * @param _id uint256 ID of the token to query
     * @return amount of token in existence
     */
    function totalSupply(uint256 _id) public view returns (uint256) {
        return tokenSupply[_id];
    }

    /**
     * @dev Returns the max quantity for a token ID
     * @param _id uint256 ID of the token to query
     * @return amount of token in existence
     */
    function maxSupply(uint256 _id) public view returns (uint256) {
        return tokenMaxSupply[_id];
    }

    /**
     * @dev Will update the base URL of token's URI
     * @param _newBaseMetadataURI New base URL of token's URI
     */
    function setBaseMetadataURI(string memory _newBaseMetadataURI)
        public
        onlyWhitelistAdmin
    {
        _setBaseMetadataURI(_newBaseMetadataURI);
    }

    /**
     * @dev Creates a new token type and assigns _initialSupply to an address
     * @param _maxSupply max supply allowed
     * @param _initialSupply Optional amount to supply the first owner
     * @param _uri Optional URI for this token type
     * @param _data Optional data to pass if receiver is contract
     * @return The newly created token ID
     */
    function create(
        uint256 _maxSupply,
        uint256 _initialSupply,
        string calldata _uri,
        bytes calldata _data
    ) external onlyWhitelistAdmin returns (uint256 tokenId) {
        require(
            _initialSupply <= _maxSupply,
            "Initial supply cannot be more than max supply"
        );
        uint256 _id = _getNextTokenID();
        _incrementTokenTypeId();
        creators[_id] = msg.sender;

        if (bytes(_uri).length > 0) {
            emit URI(_uri, _id);
        }

        if (_initialSupply != 0) _mint(msg.sender, _id, _initialSupply, _data);
        tokenSupply[_id] = _initialSupply;
        tokenMaxSupply[_id] = _maxSupply;
        return _id;
    }

    /**
     * @dev Mints some amount of tokens to an address
     * @param _to          Address of the future owner of the token
     * @param _id          Token ID to mint
     * @param _quantity    Amount of tokens to mint
     * @param _data        Data to pass if receiver is contract
     */
    function mint(
        address _to,
        uint256 _id,
        uint256 _quantity,
        bytes memory _data
    ) public onlyMinter {
        uint256 tokenId = _id;
        require(
            tokenSupply[tokenId] < tokenMaxSupply[tokenId],
            "Max supply reached"
        );
        _mint(_to, _id, _quantity, _data);
        tokenSupply[_id] = tokenSupply[_id].add(_quantity);
    }

    /**
     * @dev Mints some amount of multiple tokens to an addresse
     * @param _to          Address of the future owner of the token
     * @param _ids          Token ID to mint
     * @param _amounts    Amount of tokens to mint
     * @param _data        Data to pass if receiver is contract
     */
    function batchMint(
        address _to,
        uint256[] memory _ids,
        uint256[] memory _amounts,
        bytes memory _data
    ) public onlyMinter {
        require(
            _ids.length == _amounts.length,
            "ERC1155MintBurn#batchMint: INVALID_ARRAYS_LENGTH"
        );

        uint256 nLength = _ids.length;
        for (uint256 i = 0; i < nLength; i++) {
            require(
                tokenSupply[_ids[i]] < tokenMaxSupply[_ids[i]],
                "Max supply reached"
            );
            tokenSupply[_ids[i]] = tokenSupply[_ids[i]].add(_amounts[i]);
        }
        _batchMint(_to, _ids, _amounts, _data);
    }

    /**
     * @dev Burns some amount of tokens from an address
     * @param _from          Address of the future owner of the token
     * @param _id          Token ID to mint
     * @param _quantity    Amount of tokens to mint
     */
    function burn(
        address _from,
        uint256 _id,
        uint256 _quantity
    ) public {
        uint256 tokenId = _id;
        require(
            balances[_from][tokenId] >= _quantity,
            "Exceed the amount of balance"
        );
        _burn(_from, tokenId, _quantity);
        tokenMaxSupply[tokenId] = tokenMaxSupply[tokenId].sub(_quantity);
        tokenSupply[tokenId] = tokenSupply[tokenId].sub(_quantity);
    }

    /**
     * @dev Burns some amount of multiple tokens from an addresse
     * @param _from          Address of the future owner of the token
     * @param _ids          Token ID to mint
     * @param _amounts    Amount of tokens to mint
     */
    function batchBurn(
        address _from,
        uint256[] memory _ids,
        uint256[] memory _amounts
    ) public {
        require(
            _ids.length == _amounts.length,
            "ERC1155MintBurn#batchBurn: INVALID_ARRAYS_LENGTH"
        );

        uint256 nLength = _ids.length;
        for (uint256 i = 0; i < nLength; i++) {
            require(
                balances[_from][_ids[i]] >= _amounts[i],
                "Exceed the amount of balance"
            );
            tokenSupply[_ids[i]] = tokenSupply[_ids[i]].sub(_amounts[i]);
            tokenMaxSupply[_ids[i]] = tokenMaxSupply[_ids[i]].sub(_amounts[i]);
        }
        _batchBurn(_from, _ids, _amounts);
    }

    /**
     * Override isApprovedForAll to whitelist user's OpenSea proxy accounts to enable gas-free listings.
     */
    function isApprovedForAll(address _owner, address _operator)
        public
        view
        returns (bool isOperator)
    {
        // Whitelist OpenSea proxy contract for easy trading.
        ProxyRegistry proxyRegistry = ProxyRegistry(proxyRegistryAddress);
        if (address(proxyRegistry.proxies(_owner)) == _operator) {
            return true;
        }
        return ERC1155.isApprovedForAll(_owner, _operator);
    }

    /**
     * @dev Returns whether the specified token exists by checking to see if it has a creator
     * @param _id uint256 ID of the token to query the existence of
     * @return bool whether the token exists
     */
    function _exists(uint256 _id) internal view returns (bool) {
        return creators[_id] != address(0);
    }

    /**
     * @dev calculates the next token ID based on value of _currentTokenID
     * @return uint256 for the next token ID
     */
    function _getNextTokenID() private view returns (uint256) {
        return _currentTokenID.add(1);
    }

    /**
     * @dev increments the value of _currentTokenID
     */
    function _incrementTokenTypeId() private {
        _currentTokenID++;
    }
}

contract Maverick is ERC1155Tradable {
    constructor(address _proxyRegistryAddress)
        public
        ERC1155Tradable("Maverick", "MAV", _proxyRegistryAddress)
    {
        _setBaseMetadataURI("https://api.maverickchamp.com/api/maverick/");
    }

    function contractURI() public pure returns (string memory) {
        return "https://api.maverickchamp.com/api/contract/maverick";
    }
}

Contract Security Audit

Contract ABI

[{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"tokenMaxSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"},{"name":"_id","type":"uint256"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_interfaceID","type":"bytes4"}],"name":"supportsInterface","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_id","type":"uint256"}],"name":"uri","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"tokenSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_from","type":"address"},{"name":"_to","type":"address"},{"name":"_ids","type":"uint256[]"},{"name":"_amounts","type":"uint256[]"},{"name":"_data","type":"bytes"}],"name":"safeBatchTransferFrom","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"account","type":"address"}],"name":"removeMinter","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"renounceWhitelistAdmin","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_owners","type":"address[]"},{"name":"_ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"name":"","type":"uint256[]"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"account","type":"address"}],"name":"removeWhitelistAdmin","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"renounceOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_id","type":"uint256"},{"name":"_quantity","type":"uint256"},{"name":"_data","type":"bytes"}],"name":"mint","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"account","type":"address"}],"name":"addWhitelistAdmin","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_newBaseMetadataURI","type":"string"}],"name":"setBaseMetadataURI","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_id","type":"uint256"}],"name":"maxSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"isOwner","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"account","type":"address"}],"name":"addMinter","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"renounceMinter","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_operator","type":"address"},{"name":"_approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"account","type":"address"}],"name":"isMinter","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_maxSupply","type":"uint256"},{"name":"_initialSupply","type":"uint256"},{"name":"_uri","type":"string"},{"name":"_data","type":"bytes"}],"name":"create","outputs":[{"name":"tokenId","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_ids","type":"uint256[]"},{"name":"_amounts","type":"uint256[]"},{"name":"_data","type":"bytes"}],"name":"batchMint","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"account","type":"address"}],"name":"isWhitelistAdmin","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_id","type":"uint256"}],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"creators","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"erc20","type":"address"}],"name":"transferERC20","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"transferETH","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"contractURI","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"pure","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"},{"name":"_operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"name":"isOperator","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_from","type":"address"},{"name":"_to","type":"address"},{"name":"_id","type":"uint256"},{"name":"_amount","type":"uint256"},{"name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_from","type":"address"},{"name":"_id","type":"uint256"},{"name":"_quantity","type":"uint256"}],"name":"burn","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_from","type":"address"},{"name":"_ids","type":"uint256[]"},{"name":"_amounts","type":"uint256[]"}],"name":"batchBurn","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"inputs":[{"name":"_proxyRegistryAddress","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"name":"account","type":"address"}],"name":"WhitelistAdminAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"account","type":"address"}],"name":"WhitelistAdminRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"account","type":"address"}],"name":"MinterAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"account","type":"address"}],"name":"MinterRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"previousOwner","type":"address"},{"indexed":true,"name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"_uri","type":"string"},{"indexed":true,"name":"_id","type":"uint256"}],"name":"URI","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_operator","type":"address"},{"indexed":true,"name":"_from","type":"address"},{"indexed":true,"name":"_to","type":"address"},{"indexed":false,"name":"_id","type":"uint256"},{"indexed":false,"name":"_amount","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_operator","type":"address"},{"indexed":true,"name":"_from","type":"address"},{"indexed":true,"name":"_to","type":"address"},{"indexed":false,"name":"_ids","type":"uint256[]"},{"indexed":false,"name":"_amounts","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_owner","type":"address"},{"indexed":true,"name":"_operator","type":"address"},{"indexed":false,"name":"_approved","type":"bool"}],"name":"ApprovalForAll","type":"event"}]

608060405260006007553480156200001657600080fd5b506040516020806200433d833981018060405260208110156200003857600080fd5b5051604080518082018252600881527f4d6176657269636b0000000000000000000000000000000000000000000000006020828101919091528251808401909352600383527f4d415600000000000000000000000000000000000000000000000000000000009083015290826000620000b964010000000062000221810204565b60038054600160a060020a031916600160a060020a038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506200012d6200011e64010000000062000221810204565b64010000000062000226810204565b620001536200014464010000000062000221810204565b64010000000062000278810204565b82516200016890600b9060208601906200044a565b5081516200017e90600c9060208501906200044a565b5060068054600160a060020a03909216600160a060020a0319928316179055600d805490911633179055505060408051606081018252602b81527f68747470733a2f2f6170692e6d6176657269636b6368616d702e636f6d2f617060208201527f692f6d6176657269636b2f000000000000000000000000000000000000000000918101919091526200021a90640100000000620002ca810204565b50620004ec565b335b90565b6200024160048264010000000062003cb9620002e382021704565b604051600160a060020a038216907f6ae172837ea30b801fbfcdd4108aa1d5bf8ff775444fd70256b44e6bf3dfc3f690600090a250565b6200029360058264010000000062003cb9620002e382021704565b604051600160a060020a038216907f22380c05984257a1cb900161c713dd71d39e74820f1aea43bd3f1bdd2096129990600090a250565b8051620002df9060029060208401906200044a565b5050565b620002f882826401000000006200038a810204565b156200036557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f526f6c65733a206163636f756e7420616c72656164792068617320726f6c6500604482015290519081900360640190fd5b600160a060020a0316600090815260209190915260409020805460ff19166001179055565b6000600160a060020a03821615156200042a57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f526f6c65733a206163636f756e7420697320746865207a65726f20616464726560448201527f7373000000000000000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b50600160a060020a03166000908152602091909152604090205460ff1690565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200048d57805160ff1916838001178555620004bd565b82800160010185558215620004bd579182015b82811115620004bd578251825591602001919060010190620004a0565b50620004cb929150620004cf565b5090565b6200022391905b80821115620004cb5760008155600101620004d6565b613e4180620004fc6000396000f3fe6080604052600436106101a65763ffffffff60e060020a6000350416624221f081146101ab578062fdd58e146101e757806301ffc9a71461022057806306fdde03146102685780630e89341c146102f25780632693ebf21461031c5780632eb2c2d6146103465780633092afd51461051c5780634c5a628c1461054f5780634e1273f4146105645780636897e974146106e8578063715018a61461071b578063731133e9146107305780637362d9c8146107ff5780637e518ec814610832578063869f7594146108e55780638da5cb5b1461090f5780638f32d59b1461094057806395d89b4114610955578063983b2d561461096a578063986502751461099d578063a22cb465146109b2578063aa271e1a146109ed578063b09ddf7b14610a20578063b48ab8b614610afb578063bb5f747b14610cc6578063bd85b03914610cf9578063cd53d08e14610d23578063d1d6b73914610d4d578063e28d717b14610d80578063e8a3d48514610d95578063e985e9c514610daa578063f242432a14610de5578063f2fde38b14610ebd578063f5298aca14610ef0578063f6eb127a14610f2f575b600080fd5b3480156101b757600080fd5b506101d5600480360360208110156101ce57600080fd5b5035611073565b60408051918252519081900360200190f35b3480156101f357600080fd5b506101d56004803603604081101561020a57600080fd5b50600160a060020a038135169060200135611085565b34801561022c57600080fd5b506102546004803603602081101561024357600080fd5b5035600160e060020a0319166110ae565b604080519115158252519081900360200190f35b34801561027457600080fd5b5061027d611127565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102b757818101518382015260200161029f565b50505050905090810190601f1680156102e45780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156102fe57600080fd5b5061027d6004803603602081101561031557600080fd5b50356111b5565b34801561032857600080fd5b506101d56004803603602081101561033f57600080fd5b50356112d9565b34801561035257600080fd5b5061051a600480360360a081101561036957600080fd5b600160a060020a03823581169260208101359091169181019060608101604082013564010000000081111561039d57600080fd5b8201836020820111156103af57600080fd5b803590602001918460208302840111640100000000831117156103d157600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929594936020810193503591505064010000000081111561042157600080fd5b82018360208201111561043357600080fd5b8035906020019184602083028401116401000000008311171561045557600080fd5b91908080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525092959493602081019350359150506401000000008111156104a557600080fd5b8201836020820111156104b757600080fd5b803590602001918460018302840111640100000000831117156104d957600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506112eb945050505050565b005b34801561052857600080fd5b5061051a6004803603602081101561053f57600080fd5b5035600160a060020a0316611429565b34801561055b57600080fd5b5061051a611481565b34801561057057600080fd5b506106986004803603604081101561058757600080fd5b8101906020810181356401000000008111156105a257600080fd5b8201836020820111156105b457600080fd5b803590602001918460208302840111640100000000831117156105d657600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929594936020810193503591505064010000000081111561062657600080fd5b82018360208201111561063857600080fd5b8035906020019184602083028401116401000000008311171561065a57600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550611493945050505050565b60408051602080825283518183015283519192839290830191858101910280838360005b838110156106d45781810151838201526020016106bc565b505050509050019250505060405180910390f35b3480156106f457600080fd5b5061051a6004803603602081101561070b57600080fd5b5035600160a060020a03166115dd565b34801561072757600080fd5b5061051a611632565b34801561073c57600080fd5b5061051a6004803603608081101561075357600080fd5b600160a060020a03823516916020810135916040820135919081019060808101606082013564010000000081111561078a57600080fd5b82018360208201111561079c57600080fd5b803590602001918460018302840111640100000000831117156107be57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506116d5945050505050565b34801561080b57600080fd5b5061051a6004803603602081101561082257600080fd5b5035600160a060020a0316611817565b34801561083e57600080fd5b5061051a6004803603602081101561085557600080fd5b81019060208101813564010000000081111561087057600080fd5b82018360208201111561088257600080fd5b803590602001918460018302840111640100000000831117156108a457600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506118ac945050505050565b3480156108f157600080fd5b506101d56004803603602081101561090857600080fd5b503561193c565b34801561091b57600080fd5b5061092461194e565b60408051600160a060020a039092168252519081900360200190f35b34801561094c57600080fd5b5061025461195e565b34801561096157600080fd5b5061027d611984565b34801561097657600080fd5b5061051a6004803603602081101561098d57600080fd5b5035600160a060020a03166119df565b3480156109a957600080fd5b5061051a611a6f565b3480156109be57600080fd5b5061051a600480360360408110156109d557600080fd5b50600160a060020a0381351690602001351515611a7f565b3480156109f957600080fd5b5061025460048036036020811015610a1057600080fd5b5035600160a060020a0316611aed565b348015610a2c57600080fd5b506101d560048036036080811015610a4357600080fd5b813591602081013591810190606081016040820135640100000000811115610a6a57600080fd5b820183602082011115610a7c57600080fd5b80359060200191846001830284011164010000000083111715610a9e57600080fd5b919390929091602081019035640100000000811115610abc57600080fd5b820183602082011115610ace57600080fd5b80359060200191846001830284011164010000000083111715610af057600080fd5b509092509050611b00565b348015610b0757600080fd5b5061051a60048036036080811015610b1e57600080fd5b600160a060020a038235169190810190604081016020820135640100000000811115610b4957600080fd5b820183602082011115610b5b57600080fd5b80359060200191846020830284011164010000000083111715610b7d57600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050640100000000811115610bcd57600080fd5b820183602082011115610bdf57600080fd5b80359060200191846020830284011164010000000083111715610c0157600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050640100000000811115610c5157600080fd5b820183602082011115610c6357600080fd5b80359060200191846001830284011164010000000083111715610c8557600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550611d21945050505050565b348015610cd257600080fd5b5061025460048036036020811015610ce957600080fd5b5035600160a060020a0316611f64565b348015610d0557600080fd5b506101d560048036036020811015610d1c57600080fd5b5035611f77565b348015610d2f57600080fd5b5061092460048036036020811015610d4657600080fd5b5035611f89565b348015610d5957600080fd5b5061051a60048036036020811015610d7057600080fd5b5035600160a060020a0316611fa4565b348015610d8c57600080fd5b5061051a612131565b348015610da157600080fd5b5061027d6121c0565b348015610db657600080fd5b5061025460048036036040811015610dcd57600080fd5b50600160a060020a038135811691602001351661221f565b348015610df157600080fd5b5061051a600480360360a0811015610e0857600080fd5b600160a060020a03823581169260208101359091169160408201359160608101359181019060a081016080820135640100000000811115610e4857600080fd5b820183602082011115610e5a57600080fd5b80359060200191846001830284011164010000000083111715610e7c57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506122e3945050505050565b348015610ec957600080fd5b5061051a60048036036020811015610ee057600080fd5b5035600160a060020a031661241a565b348015610efc57600080fd5b5061051a60048036036060811015610f1357600080fd5b50600160a060020a03813516906020810135906040013561246f565b348015610f3b57600080fd5b5061051a60048036036060811015610f5257600080fd5b600160a060020a038235169190810190604081016020820135640100000000811115610f7d57600080fd5b820183602082011115610f8f57600080fd5b80359060200191846020830284011164010000000083111715610fb157600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929594936020810193503591505064010000000081111561100157600080fd5b82018360208201111561101357600080fd5b8035906020019184602083028401116401000000008311171561103557600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550612554945050505050565b600a6020526000908152604090205481565b600160a060020a0382166000908152602081815260408083208484529091529020545b92915050565b6000600160e060020a031982167f01ffc9a70000000000000000000000000000000000000000000000000000000014806111115750600160e060020a031982167fd9b67a2600000000000000000000000000000000000000000000000000000000145b1561111e57506001611122565b5060005b919050565b600b805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156111ad5780601f10611182576101008083540402835291602001916111ad565b820191906000526020600020905b81548152906001019060200180831161119057829003601f168201915b505050505081565b60606111c08261277a565b151561123c576040805160e560020a62461bcd02815260206004820152602560248201527f4552433732315472616461626c65237572693a204e4f4e4558495354454e545f60448201527f544f4b454e000000000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b60028054604080516020601f600019610100600187161502019094168590049384018190048102820181019092528281526110a893909290918301828280156112c65780601f1061129b576101008083540402835291602001916112c6565b820191906000526020600020905b8154815290600101906020018083116112a957829003601f168201915b50505050506112d484612797565b61287b565b60096020526000908152604090205481565b33600160a060020a03861614806113075750611307853361221f565b1515611383576040805160e560020a62461bcd02815260206004820152602f60248201527f45524331313535237361666542617463685472616e7366657246726f6d3a204960448201527f4e56414c49445f4f50455241544f520000000000000000000000000000000000606482015290519081900360840190fd5b600160a060020a0384161515611409576040805160e560020a62461bcd02815260206004820152603060248201527f45524331313535237361666542617463685472616e7366657246726f6d3a204960448201527f4e56414c49445f524543495049454e5400000000000000000000000000000000606482015290519081900360840190fd5b611415858585856128b7565b6114228585858585612b52565b5050505050565b61143161195e565b1515611475576040805160e560020a62461bcd0281526020600482018190526024820152600080516020613dd6833981519152604482015290519081900360640190fd5b61147e81612db3565b50565b61149161148c612dfb565b612dff565b565b8051825160609114611515576040805160e560020a62461bcd02815260206004820152602c60248201527f455243313135352362616c616e63654f6642617463683a20494e56414c49445f60448201527f41525241595f4c454e4754480000000000000000000000000000000000000000606482015290519081900360840190fd5b60608351604051908082528060200260200182016040528015611542578160200160208202803883390190505b50905060005b84518110156115d557600080868381518110151561156257fe5b90602001906020020151600160a060020a0316600160a060020a031681526020019081526020016000206000858381518110151561159c57fe5b9060200190602002015181526020019081526020016000205482828151811015156115c357fe5b60209081029091010152600101611548565b509392505050565b6115e561195e565b1515611629576040805160e560020a62461bcd0281526020600482018190526024820152600080516020613dd6833981519152604482015290519081900360640190fd5b61147e81612dff565b61163a61195e565b151561167e576040805160e560020a62461bcd0281526020600482018190526024820152600080516020613dd6833981519152604482015290519081900360640190fd5b600354604051600091600160a060020a0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a36003805473ffffffffffffffffffffffffffffffffffffffff19169055565b6116e56116e0612dfb565b611aed565b1515611761576040805160e560020a62461bcd02815260206004820152603060248201527f4d696e746572526f6c653a2063616c6c657220646f6573206e6f74206861766560448201527f20746865204d696e74657220726f6c6500000000000000000000000000000000606482015290519081900360840190fd5b6000838152600a60209081526040808320546009909252909120548491116117d3576040805160e560020a62461bcd02815260206004820152601260248201527f4d617820737570706c7920726561636865640000000000000000000000000000604482015290519081900360640190fd5b6117df85858585612e47565b6000848152600960205260409020546117fe908463ffffffff612ee716565b6000948552600960205260409094209390935550505050565b611827611822612dfb565b611f64565b15156118a3576040805160e560020a62461bcd02815260206004820152602481018290527f57686974656c69737441646d696e526f6c653a2063616c6c657220646f65732060448201527f6e6f742068617665207468652057686974656c69737441646d696e20726f6c65606482015290519081900360840190fd5b61147e81612f44565b6118b7611822612dfb565b1515611933576040805160e560020a62461bcd02815260206004820152602481018290527f57686974656c69737441646d696e526f6c653a2063616c6c657220646f65732060448201527f6e6f742068617665207468652057686974656c69737441646d696e20726f6c65606482015290519081900360840190fd5b61147e81612f8c565b6000908152600a602052604090205490565b600354600160a060020a03165b90565b600354600090600160a060020a0316611975612dfb565b600160a060020a031614905090565b600c805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156111ad5780601f10611182576101008083540402835291602001916111ad565b6119ea6116e0612dfb565b1515611a66576040805160e560020a62461bcd02815260206004820152603060248201527f4d696e746572526f6c653a2063616c6c657220646f6573206e6f74206861766560448201527f20746865204d696e74657220726f6c6500000000000000000000000000000000606482015290519081900360840190fd5b61147e81612fa3565b611491611a7a612dfb565b612db3565b336000818152600160209081526040808320600160a060020a03871680855290835292819020805460ff1916861515908117909155815190815290519293927f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31929181900390910190a35050565b60006110a860048363ffffffff612feb16565b6000611b0d611822612dfb565b1515611b89576040805160e560020a62461bcd02815260206004820152602481018290527f57686974656c69737441646d696e526f6c653a2063616c6c657220646f65732060448201527f6e6f742068617665207468652057686974656c69737441646d696e20726f6c65606482015290519081900360840190fd5b86861115611c07576040805160e560020a62461bcd02815260206004820152602d60248201527f496e697469616c20737570706c792063616e6e6f74206265206d6f726520746860448201527f616e206d617820737570706c7900000000000000000000000000000000000000606482015290519081900360840190fd5b6000611c11613093565b9050611c1b6130af565b6000818152600860205260408120805473ffffffffffffffffffffffffffffffffffffffff191633179055851115611caf57807f6bb7ff708619ba0610cba295a58592e0451dee2622938c8755667688daf3529b878760405180806020018281038252848482818152602001925080828437600083820152604051601f909101601f19169092018290039550909350505050a25b8615611cf757611cf733828987878080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250612e4792505050565b60008181526009602090815260408083208a9055600a909152902088905590509695505050505050565b611d2c6116e0612dfb565b1515611da8576040805160e560020a62461bcd02815260206004820152603060248201527f4d696e746572526f6c653a2063616c6c657220646f6573206e6f74206861766560448201527f20746865204d696e74657220726f6c6500000000000000000000000000000000606482015290519081900360840190fd5b8151835114611e15576040805160e560020a62461bcd02815260206004820152603060248201527f455243313135354d696e744275726e2362617463684d696e743a20494e56414c6044820152600080516020613df6833981519152606482015290519081900360840190fd5b825160005b81811015611f5757600a60008683815181101515611e3457fe5b90602001906020020151815260200190815260200160002054600960008784815181101515611e5f57fe5b90602001906020020151815260200190815260200160002054101515611ecf576040805160e560020a62461bcd02815260206004820152601260248201527f4d617820737570706c7920726561636865640000000000000000000000000000604482015290519081900360640190fd5b611f238482815181101515611ee057fe5b90602001906020020151600960008885815181101515611efc57fe5b90602001906020020151815260200190815260200160002054612ee790919063ffffffff16565b600960008784815181101515611f3557fe5b6020908102909101810151825281019190915260400160002055600101611e1a565b50611422858585856130ba565b60006110a860058363ffffffff612feb16565b60009081526009602052604090205490565b600860205260009081526040902054600160a060020a031681565b600d54600160a060020a03163314612006576040805160e560020a62461bcd02815260206004820152601160248201527f796f7520617265206e6f742061646d696e000000000000000000000000000000604482015290519081900360640190fd5b604080517f70a082310000000000000000000000000000000000000000000000000000000081523060048201529051600091600160a060020a038416916370a0823191602480820192602092909190829003018186803b15801561206957600080fd5b505afa15801561207d573d6000803e3d6000fd5b505050506040513d602081101561209357600080fd5b5051604080517fa9059cbb000000000000000000000000000000000000000000000000000000008152336004820152602481018390529051919250600160a060020a0384169163a9059cbb916044808201926020929091908290030181600087803b15801561210157600080fd5b505af1158015612115573d6000803e3d6000fd5b505050506040513d602081101561212b57600080fd5b50505050565b600d54600160a060020a03163314612193576040805160e560020a62461bcd02815260206004820152601160248201527f796f7520617265206e6f742061646d696e000000000000000000000000000000604482015290519081900360640190fd5b6040513390303180156108fc02916000818181858888f1935050505015801561147e573d6000803e3d6000fd5b60408051606081018252603381527f68747470733a2f2f6170692e6d6176657269636b6368616d702e636f6d2f617060208201527f692f636f6e74726163742f6d6176657269636b000000000000000000000000009181019190915290565b600654604080517fc4552791000000000000000000000000000000000000000000000000000000008152600160a060020a0385811660048301529151600093831692851691839163c455279191602480820192602092909190829003018186803b15801561228c57600080fd5b505afa1580156122a0573d6000803e3d6000fd5b505050506040513d60208110156122b657600080fd5b5051600160a060020a031614156122d15760019150506110a8565b6122db84846132b7565b949350505050565b33600160a060020a03861614806122ff57506122ff853361221f565b151561237b576040805160e560020a62461bcd02815260206004820152602a60248201527f4552433131353523736166655472616e7366657246726f6d3a20494e56414c4960448201527f445f4f50455241544f5200000000000000000000000000000000000000000000606482015290519081900360840190fd5b600160a060020a0384161515612401576040805160e560020a62461bcd02815260206004820152602b60248201527f4552433131353523736166655472616e7366657246726f6d3a20494e56414c4960448201527f445f524543495049454e54000000000000000000000000000000000000000000606482015290519081900360840190fd5b61240d858585856132e5565b61142285858585856133cd565b61242261195e565b1515612466576040805160e560020a62461bcd0281526020600482018190526024820152600080516020613dd6833981519152604482015290519081900360640190fd5b61147e816135aa565b600160a060020a03831660009081526020818152604080832085845290915290205482908211156124ea576040805160e560020a62461bcd02815260206004820152601c60248201527f4578636565642074686520616d6f756e74206f662062616c616e636500000000604482015290519081900360640190fd5b6124f5848284613699565b6000818152600a6020526040902054612514908363ffffffff61373016565b6000828152600a602090815260408083209390935560099052205461253f908363ffffffff61373016565b60009182526009602052604090912055505050565b80518251146125c1576040805160e560020a62461bcd02815260206004820152603060248201527f455243313135354d696e744275726e2362617463684275726e3a20494e56414c6044820152600080516020613df6833981519152606482015290519081900360840190fd5b815160005b8181101561276e5782818151811015156125dc57fe5b9060200190602002015160008087600160a060020a0316600160a060020a031681526020019081526020016000206000868481518110151561261a57fe5b906020019060200201518152602001908152602001600020541015151561268b576040805160e560020a62461bcd02815260206004820152601c60248201527f4578636565642074686520616d6f756e74206f662062616c616e636500000000604482015290519081900360640190fd5b6126df838281518110151561269c57fe5b906020019060200201516009600087858151811015156126b857fe5b9060200190602002015181526020019081526020016000205461373090919063ffffffff16565b6009600086848151811015156126f157fe5b9060200190602002015181526020019081526020016000208190555061273a838281518110151561271e57fe5b90602001906020020151600a600087858151811015156126b857fe5b600a6000868481518110151561274c57fe5b60209081029091018101518252810191909152604001600020556001016125c6565b5061212b848484613790565b600090815260086020526040902054600160a060020a0316151590565b60608115156127da575060408051808201909152600181527f30000000000000000000000000000000000000000000000000000000000000006020820152611122565b8160005b81156127f257600101600a820491506127de565b6060816040519080825280601f01601f19166020018201604052801561281f576020820181803883390190505b50905060001982015b851561287257815160001982019160f860020a6030600a8a06010291849190811061284f57fe5b906020010190600160f860020a031916908160001a905350600a86049550612828565b50949350505050565b6040805160208181018352600080835283518083018552818152845192830190945281526060926128b0928692869290613985565b9392505050565b8051825114612936576040805160e560020a62461bcd02815260206004820152603560248201527f45524331313535235f7361666542617463685472616e7366657246726f6d3a2060448201527f494e56414c49445f4152524159535f4c454e4754480000000000000000000000606482015290519081900360840190fd5b815160005b81811015612a7157612992838281518110151561295457fe5b9060200190602002015160008089600160a060020a0316600160a060020a03168152602001908152602001600020600087858151811015156126b857fe5b600160a060020a038716600090815260208190526040812086519091908790859081106129bb57fe5b90602001906020020151815260200190815260200160002081905550612a2683828151811015156129e857fe5b9060200190602002015160008088600160a060020a0316600160a060020a0316815260200190815260200160002060008785815181101515611efc57fe5b600160a060020a03861660009081526020819052604081208651909190879085908110612a4f57fe5b602090810290910181015182528101919091526040016000205560010161293b565b5083600160a060020a031685600160a060020a031633600160a060020a03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8686604051808060200180602001838103835285818151815260200191508051906020019060200280838360005b83811015612af7578181015183820152602001612adf565b50505050905001838103825284818151815260200191508051906020019060200280838360005b83811015612b36578181015183820152602001612b1e565b5050505090500194505050505060405180910390a45050505050565b612b6484600160a060020a0316613bda565b1561142257600084600160a060020a031663bc197c8133888787876040518663ffffffff1660e060020a0281526004018086600160a060020a0316600160a060020a0316815260200185600160a060020a0316600160a060020a03168152602001806020018060200180602001848103845287818151815260200191508051906020019060200280838360005b83811015612c09578181015183820152602001612bf1565b50505050905001848103835286818151815260200191508051906020019060200280838360005b83811015612c48578181015183820152602001612c30565b50505050905001848103825285818151815260200191508051906020019080838360005b83811015612c84578181015183820152602001612c6c565b50505050905090810190601f168015612cb15780820380516001836020036101000a031916815260200191505b5098505050505050505050602060405180830381600087803b158015612cd657600080fd5b505af1158015612cea573d6000803e3d6000fd5b505050506040513d6020811015612d0057600080fd5b50519050600160e060020a031981167fbc197c810000000000000000000000000000000000000000000000000000000014612dab576040805160e560020a62461bcd02815260206004820152603f60248201527f45524331313535235f63616c6c6f6e455243313135354261746368526563656960448201527f7665643a20494e56414c49445f4f4e5f524543454956455f4d45535341474500606482015290519081900360840190fd5b505050505050565b612dc460048263ffffffff613c1116565b604051600160a060020a038216907fe94479a9f7e1952cc78f2d6baab678adc1b772d936c6583def489e524cb6669290600090a250565b3390565b612e1060058263ffffffff613c1116565b604051600160a060020a038216907f0a8eb35e5ca14b3d6f28e4abf2f128dbab231a58b56e89beb5d636115001e16590600090a250565b600160a060020a038416600090815260208181526040808320868452909152902054612e79908363ffffffff612ee716565b600160a060020a038516600081815260208181526040808320888452825280832094909455835187815290810186905283519293919233927fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62928290030190a461212b6000858585856133cd565b6000828201838110156128b0576040805160e560020a62461bcd02815260206004820152601660248201527f536166654d617468236164643a204f564552464c4f5700000000000000000000604482015290519081900360640190fd5b612f5560058263ffffffff613cb916565b604051600160a060020a038216907f22380c05984257a1cb900161c713dd71d39e74820f1aea43bd3f1bdd2096129990600090a250565b8051612f9f906002906020840190613d3d565b5050565b612fb460048263ffffffff613cb916565b604051600160a060020a038216907f6ae172837ea30b801fbfcdd4108aa1d5bf8ff775444fd70256b44e6bf3dfc3f690600090a250565b6000600160a060020a0382161515613073576040805160e560020a62461bcd02815260206004820152602260248201527f526f6c65733a206163636f756e7420697320746865207a65726f20616464726560448201527f7373000000000000000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b50600160a060020a03166000908152602091909152604090205460ff1690565b6007546000906130aa90600163ffffffff612ee716565b905090565b600780546001019055565b8151835114613127576040805160e560020a62461bcd02815260206004820152603060248201527f455243313135354d696e744275726e2362617463684d696e743a20494e56414c6044820152600080516020613df6833981519152606482015290519081900360840190fd5b825160005b818110156131ce57613183848281518110151561314557fe5b9060200190602002015160008089600160a060020a0316600160a060020a0316815260200190815260200160002060008885815181101515611efc57fe5b600160a060020a038716600090815260208190526040812087519091908890859081106131ac57fe5b602090810290910181015182528101919091526040016000205560010161312c565b5084600160a060020a03166000600160a060020a031633600160a060020a03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051808060200180602001838103835285818151815260200191508051906020019060200280838360005b8381101561325557818101518382015260200161323d565b50505050905001838103825284818151815260200191508051906020019060200280838360005b8381101561329457818101518382015260200161327c565b5050505090500194505050505060405180910390a4611422600086868686612b52565b600160a060020a03918216600090815260016020908152604080832093909416825291909152205460ff1690565b600160a060020a038416600090815260208181526040808320858452909152902054613317908263ffffffff61373016565b600160a060020a0380861660009081526020818152604080832087845282528083209490945591861681528082528281208582529091522054613360908263ffffffff612ee716565b600160a060020a03808516600081815260208181526040808320888452825291829020949094558051868152938401859052805191939288169233927fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62929181900390910190a450505050565b6133df84600160a060020a0316613bda565b1561142257600084600160a060020a031663f23a6e6133888787876040518663ffffffff1660e060020a0281526004018086600160a060020a0316600160a060020a0316815260200185600160a060020a0316600160a060020a0316815260200184815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b8381101561348557818101518382015260200161346d565b50505050905090810190601f1680156134b25780820380516001836020036101000a031916815260200191505b509650505050505050602060405180830381600087803b1580156134d557600080fd5b505af11580156134e9573d6000803e3d6000fd5b505050506040513d60208110156134ff57600080fd5b50519050600160e060020a031981167ff23a6e610000000000000000000000000000000000000000000000000000000014612dab576040805160e560020a62461bcd02815260206004820152603a60248201527f45524331313535235f63616c6c6f6e4552433131353552656365697665643a2060448201527f494e56414c49445f4f4e5f524543454956455f4d455353414745000000000000606482015290519081900360840190fd5b600160a060020a0381161515613630576040805160e560020a62461bcd02815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b600354604051600160a060020a038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a36003805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600160a060020a0383166000908152602081815260408083208584529091529020546136cb908263ffffffff61373016565b600160a060020a03841660008181526020818152604080832087845282528083209490945583518681529081018590528351919333927fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f629281900390910190a4505050565b60008282111561378a576040805160e560020a62461bcd02815260206004820152601760248201527f536166654d617468237375623a20554e444552464c4f57000000000000000000604482015290519081900360640190fd5b50900390565b80518251146137fd576040805160e560020a62461bcd02815260206004820152603060248201527f455243313135354d696e744275726e2362617463684275726e3a20494e56414c6044820152600080516020613df6833981519152606482015290519081900360840190fd5b815160005b818110156138a457613859838281518110151561381b57fe5b9060200190602002015160008088600160a060020a0316600160a060020a03168152602001908152602001600020600087858151811015156126b857fe5b600160a060020a0386166000908152602081905260408120865190919087908590811061388257fe5b6020908102909101810151825281019190915260400160002055600101613802565b506000600160a060020a031684600160a060020a031633600160a060020a03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8686604051808060200180602001838103835285818151815260200191508051906020019060200280838360005b8381101561392b578181015183820152602001613913565b50505050905001838103825284818151815260200191508051906020019060200280838360005b8381101561396a578181015183820152602001613952565b5050505090500194505050505060405180910390a450505050565b6060808690506060869050606086905060608690506060869050606081518351855187518951010101016040519080825280601f01601f1916602001820160405280156139d9576020820181803883390190505b509050806000805b8851811015613a3f5788818151811015156139f857fe5b90602001015160f860020a900460f860020a028383806001019450815181101515613a1f57fe5b906020010190600160f860020a031916908160001a9053506001016139e1565b5060005b8751811015613aa1578781815181101515613a5a57fe5b90602001015160f860020a900460f860020a028383806001019450815181101515613a8157fe5b906020010190600160f860020a031916908160001a905350600101613a43565b5060005b8651811015613b03578681815181101515613abc57fe5b90602001015160f860020a900460f860020a028383806001019450815181101515613ae357fe5b906020010190600160f860020a031916908160001a905350600101613aa5565b5060005b8551811015613b65578581815181101515613b1e57fe5b90602001015160f860020a900460f860020a028383806001019450815181101515613b4557fe5b906020010190600160f860020a031916908160001a905350600101613b07565b5060005b8451811015613bc7578481815181101515613b8057fe5b90602001015160f860020a900460f860020a028383806001019450815181101515613ba757fe5b906020010190600160f860020a031916908160001a905350600101613b69565b50909d9c50505050505050505050505050565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47081158015906122db5750141592915050565b613c1b8282612feb565b1515613c97576040805160e560020a62461bcd02815260206004820152602160248201527f526f6c65733a206163636f756e7420646f6573206e6f74206861766520726f6c60448201527f6500000000000000000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b600160a060020a0316600090815260209190915260409020805460ff19169055565b613cc38282612feb565b15613d18576040805160e560020a62461bcd02815260206004820152601f60248201527f526f6c65733a206163636f756e7420616c72656164792068617320726f6c6500604482015290519081900360640190fd5b600160a060020a0316600090815260209190915260409020805460ff19166001179055565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10613d7e57805160ff1916838001178555613dab565b82800160010185558215613dab579182015b82811115613dab578251825591602001919060010190613d90565b50613db7929150613dbb565b5090565b61195b91905b80821115613db75760008155600101613dc156fe4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657249445f4152524159535f4c454e47544800000000000000000000000000000000a165627a7a72305820966980adc5ba96ed1e9d4448288bf2af9a317136a6ed3bdebb1a3fee92adb48f0029000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1

Deployed Bytecode

0x6080604052600436106101a65763ffffffff60e060020a6000350416624221f081146101ab578062fdd58e146101e757806301ffc9a71461022057806306fdde03146102685780630e89341c146102f25780632693ebf21461031c5780632eb2c2d6146103465780633092afd51461051c5780634c5a628c1461054f5780634e1273f4146105645780636897e974146106e8578063715018a61461071b578063731133e9146107305780637362d9c8146107ff5780637e518ec814610832578063869f7594146108e55780638da5cb5b1461090f5780638f32d59b1461094057806395d89b4114610955578063983b2d561461096a578063986502751461099d578063a22cb465146109b2578063aa271e1a146109ed578063b09ddf7b14610a20578063b48ab8b614610afb578063bb5f747b14610cc6578063bd85b03914610cf9578063cd53d08e14610d23578063d1d6b73914610d4d578063e28d717b14610d80578063e8a3d48514610d95578063e985e9c514610daa578063f242432a14610de5578063f2fde38b14610ebd578063f5298aca14610ef0578063f6eb127a14610f2f575b600080fd5b3480156101b757600080fd5b506101d5600480360360208110156101ce57600080fd5b5035611073565b60408051918252519081900360200190f35b3480156101f357600080fd5b506101d56004803603604081101561020a57600080fd5b50600160a060020a038135169060200135611085565b34801561022c57600080fd5b506102546004803603602081101561024357600080fd5b5035600160e060020a0319166110ae565b604080519115158252519081900360200190f35b34801561027457600080fd5b5061027d611127565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102b757818101518382015260200161029f565b50505050905090810190601f1680156102e45780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156102fe57600080fd5b5061027d6004803603602081101561031557600080fd5b50356111b5565b34801561032857600080fd5b506101d56004803603602081101561033f57600080fd5b50356112d9565b34801561035257600080fd5b5061051a600480360360a081101561036957600080fd5b600160a060020a03823581169260208101359091169181019060608101604082013564010000000081111561039d57600080fd5b8201836020820111156103af57600080fd5b803590602001918460208302840111640100000000831117156103d157600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929594936020810193503591505064010000000081111561042157600080fd5b82018360208201111561043357600080fd5b8035906020019184602083028401116401000000008311171561045557600080fd5b91908080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525092959493602081019350359150506401000000008111156104a557600080fd5b8201836020820111156104b757600080fd5b803590602001918460018302840111640100000000831117156104d957600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506112eb945050505050565b005b34801561052857600080fd5b5061051a6004803603602081101561053f57600080fd5b5035600160a060020a0316611429565b34801561055b57600080fd5b5061051a611481565b34801561057057600080fd5b506106986004803603604081101561058757600080fd5b8101906020810181356401000000008111156105a257600080fd5b8201836020820111156105b457600080fd5b803590602001918460208302840111640100000000831117156105d657600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929594936020810193503591505064010000000081111561062657600080fd5b82018360208201111561063857600080fd5b8035906020019184602083028401116401000000008311171561065a57600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550611493945050505050565b60408051602080825283518183015283519192839290830191858101910280838360005b838110156106d45781810151838201526020016106bc565b505050509050019250505060405180910390f35b3480156106f457600080fd5b5061051a6004803603602081101561070b57600080fd5b5035600160a060020a03166115dd565b34801561072757600080fd5b5061051a611632565b34801561073c57600080fd5b5061051a6004803603608081101561075357600080fd5b600160a060020a03823516916020810135916040820135919081019060808101606082013564010000000081111561078a57600080fd5b82018360208201111561079c57600080fd5b803590602001918460018302840111640100000000831117156107be57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506116d5945050505050565b34801561080b57600080fd5b5061051a6004803603602081101561082257600080fd5b5035600160a060020a0316611817565b34801561083e57600080fd5b5061051a6004803603602081101561085557600080fd5b81019060208101813564010000000081111561087057600080fd5b82018360208201111561088257600080fd5b803590602001918460018302840111640100000000831117156108a457600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506118ac945050505050565b3480156108f157600080fd5b506101d56004803603602081101561090857600080fd5b503561193c565b34801561091b57600080fd5b5061092461194e565b60408051600160a060020a039092168252519081900360200190f35b34801561094c57600080fd5b5061025461195e565b34801561096157600080fd5b5061027d611984565b34801561097657600080fd5b5061051a6004803603602081101561098d57600080fd5b5035600160a060020a03166119df565b3480156109a957600080fd5b5061051a611a6f565b3480156109be57600080fd5b5061051a600480360360408110156109d557600080fd5b50600160a060020a0381351690602001351515611a7f565b3480156109f957600080fd5b5061025460048036036020811015610a1057600080fd5b5035600160a060020a0316611aed565b348015610a2c57600080fd5b506101d560048036036080811015610a4357600080fd5b813591602081013591810190606081016040820135640100000000811115610a6a57600080fd5b820183602082011115610a7c57600080fd5b80359060200191846001830284011164010000000083111715610a9e57600080fd5b919390929091602081019035640100000000811115610abc57600080fd5b820183602082011115610ace57600080fd5b80359060200191846001830284011164010000000083111715610af057600080fd5b509092509050611b00565b348015610b0757600080fd5b5061051a60048036036080811015610b1e57600080fd5b600160a060020a038235169190810190604081016020820135640100000000811115610b4957600080fd5b820183602082011115610b5b57600080fd5b80359060200191846020830284011164010000000083111715610b7d57600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050640100000000811115610bcd57600080fd5b820183602082011115610bdf57600080fd5b80359060200191846020830284011164010000000083111715610c0157600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050640100000000811115610c5157600080fd5b820183602082011115610c6357600080fd5b80359060200191846001830284011164010000000083111715610c8557600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550611d21945050505050565b348015610cd257600080fd5b5061025460048036036020811015610ce957600080fd5b5035600160a060020a0316611f64565b348015610d0557600080fd5b506101d560048036036020811015610d1c57600080fd5b5035611f77565b348015610d2f57600080fd5b5061092460048036036020811015610d4657600080fd5b5035611f89565b348015610d5957600080fd5b5061051a60048036036020811015610d7057600080fd5b5035600160a060020a0316611fa4565b348015610d8c57600080fd5b5061051a612131565b348015610da157600080fd5b5061027d6121c0565b348015610db657600080fd5b5061025460048036036040811015610dcd57600080fd5b50600160a060020a038135811691602001351661221f565b348015610df157600080fd5b5061051a600480360360a0811015610e0857600080fd5b600160a060020a03823581169260208101359091169160408201359160608101359181019060a081016080820135640100000000811115610e4857600080fd5b820183602082011115610e5a57600080fd5b80359060200191846001830284011164010000000083111715610e7c57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506122e3945050505050565b348015610ec957600080fd5b5061051a60048036036020811015610ee057600080fd5b5035600160a060020a031661241a565b348015610efc57600080fd5b5061051a60048036036060811015610f1357600080fd5b50600160a060020a03813516906020810135906040013561246f565b348015610f3b57600080fd5b5061051a60048036036060811015610f5257600080fd5b600160a060020a038235169190810190604081016020820135640100000000811115610f7d57600080fd5b820183602082011115610f8f57600080fd5b80359060200191846020830284011164010000000083111715610fb157600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929594936020810193503591505064010000000081111561100157600080fd5b82018360208201111561101357600080fd5b8035906020019184602083028401116401000000008311171561103557600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550612554945050505050565b600a6020526000908152604090205481565b600160a060020a0382166000908152602081815260408083208484529091529020545b92915050565b6000600160e060020a031982167f01ffc9a70000000000000000000000000000000000000000000000000000000014806111115750600160e060020a031982167fd9b67a2600000000000000000000000000000000000000000000000000000000145b1561111e57506001611122565b5060005b919050565b600b805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156111ad5780601f10611182576101008083540402835291602001916111ad565b820191906000526020600020905b81548152906001019060200180831161119057829003601f168201915b505050505081565b60606111c08261277a565b151561123c576040805160e560020a62461bcd02815260206004820152602560248201527f4552433732315472616461626c65237572693a204e4f4e4558495354454e545f60448201527f544f4b454e000000000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b60028054604080516020601f600019610100600187161502019094168590049384018190048102820181019092528281526110a893909290918301828280156112c65780601f1061129b576101008083540402835291602001916112c6565b820191906000526020600020905b8154815290600101906020018083116112a957829003601f168201915b50505050506112d484612797565b61287b565b60096020526000908152604090205481565b33600160a060020a03861614806113075750611307853361221f565b1515611383576040805160e560020a62461bcd02815260206004820152602f60248201527f45524331313535237361666542617463685472616e7366657246726f6d3a204960448201527f4e56414c49445f4f50455241544f520000000000000000000000000000000000606482015290519081900360840190fd5b600160a060020a0384161515611409576040805160e560020a62461bcd02815260206004820152603060248201527f45524331313535237361666542617463685472616e7366657246726f6d3a204960448201527f4e56414c49445f524543495049454e5400000000000000000000000000000000606482015290519081900360840190fd5b611415858585856128b7565b6114228585858585612b52565b5050505050565b61143161195e565b1515611475576040805160e560020a62461bcd0281526020600482018190526024820152600080516020613dd6833981519152604482015290519081900360640190fd5b61147e81612db3565b50565b61149161148c612dfb565b612dff565b565b8051825160609114611515576040805160e560020a62461bcd02815260206004820152602c60248201527f455243313135352362616c616e63654f6642617463683a20494e56414c49445f60448201527f41525241595f4c454e4754480000000000000000000000000000000000000000606482015290519081900360840190fd5b60608351604051908082528060200260200182016040528015611542578160200160208202803883390190505b50905060005b84518110156115d557600080868381518110151561156257fe5b90602001906020020151600160a060020a0316600160a060020a031681526020019081526020016000206000858381518110151561159c57fe5b9060200190602002015181526020019081526020016000205482828151811015156115c357fe5b60209081029091010152600101611548565b509392505050565b6115e561195e565b1515611629576040805160e560020a62461bcd0281526020600482018190526024820152600080516020613dd6833981519152604482015290519081900360640190fd5b61147e81612dff565b61163a61195e565b151561167e576040805160e560020a62461bcd0281526020600482018190526024820152600080516020613dd6833981519152604482015290519081900360640190fd5b600354604051600091600160a060020a0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a36003805473ffffffffffffffffffffffffffffffffffffffff19169055565b6116e56116e0612dfb565b611aed565b1515611761576040805160e560020a62461bcd02815260206004820152603060248201527f4d696e746572526f6c653a2063616c6c657220646f6573206e6f74206861766560448201527f20746865204d696e74657220726f6c6500000000000000000000000000000000606482015290519081900360840190fd5b6000838152600a60209081526040808320546009909252909120548491116117d3576040805160e560020a62461bcd02815260206004820152601260248201527f4d617820737570706c7920726561636865640000000000000000000000000000604482015290519081900360640190fd5b6117df85858585612e47565b6000848152600960205260409020546117fe908463ffffffff612ee716565b6000948552600960205260409094209390935550505050565b611827611822612dfb565b611f64565b15156118a3576040805160e560020a62461bcd02815260206004820152602481018290527f57686974656c69737441646d696e526f6c653a2063616c6c657220646f65732060448201527f6e6f742068617665207468652057686974656c69737441646d696e20726f6c65606482015290519081900360840190fd5b61147e81612f44565b6118b7611822612dfb565b1515611933576040805160e560020a62461bcd02815260206004820152602481018290527f57686974656c69737441646d696e526f6c653a2063616c6c657220646f65732060448201527f6e6f742068617665207468652057686974656c69737441646d696e20726f6c65606482015290519081900360840190fd5b61147e81612f8c565b6000908152600a602052604090205490565b600354600160a060020a03165b90565b600354600090600160a060020a0316611975612dfb565b600160a060020a031614905090565b600c805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156111ad5780601f10611182576101008083540402835291602001916111ad565b6119ea6116e0612dfb565b1515611a66576040805160e560020a62461bcd02815260206004820152603060248201527f4d696e746572526f6c653a2063616c6c657220646f6573206e6f74206861766560448201527f20746865204d696e74657220726f6c6500000000000000000000000000000000606482015290519081900360840190fd5b61147e81612fa3565b611491611a7a612dfb565b612db3565b336000818152600160209081526040808320600160a060020a03871680855290835292819020805460ff1916861515908117909155815190815290519293927f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31929181900390910190a35050565b60006110a860048363ffffffff612feb16565b6000611b0d611822612dfb565b1515611b89576040805160e560020a62461bcd02815260206004820152602481018290527f57686974656c69737441646d696e526f6c653a2063616c6c657220646f65732060448201527f6e6f742068617665207468652057686974656c69737441646d696e20726f6c65606482015290519081900360840190fd5b86861115611c07576040805160e560020a62461bcd02815260206004820152602d60248201527f496e697469616c20737570706c792063616e6e6f74206265206d6f726520746860448201527f616e206d617820737570706c7900000000000000000000000000000000000000606482015290519081900360840190fd5b6000611c11613093565b9050611c1b6130af565b6000818152600860205260408120805473ffffffffffffffffffffffffffffffffffffffff191633179055851115611caf57807f6bb7ff708619ba0610cba295a58592e0451dee2622938c8755667688daf3529b878760405180806020018281038252848482818152602001925080828437600083820152604051601f909101601f19169092018290039550909350505050a25b8615611cf757611cf733828987878080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250612e4792505050565b60008181526009602090815260408083208a9055600a909152902088905590509695505050505050565b611d2c6116e0612dfb565b1515611da8576040805160e560020a62461bcd02815260206004820152603060248201527f4d696e746572526f6c653a2063616c6c657220646f6573206e6f74206861766560448201527f20746865204d696e74657220726f6c6500000000000000000000000000000000606482015290519081900360840190fd5b8151835114611e15576040805160e560020a62461bcd02815260206004820152603060248201527f455243313135354d696e744275726e2362617463684d696e743a20494e56414c6044820152600080516020613df6833981519152606482015290519081900360840190fd5b825160005b81811015611f5757600a60008683815181101515611e3457fe5b90602001906020020151815260200190815260200160002054600960008784815181101515611e5f57fe5b90602001906020020151815260200190815260200160002054101515611ecf576040805160e560020a62461bcd02815260206004820152601260248201527f4d617820737570706c7920726561636865640000000000000000000000000000604482015290519081900360640190fd5b611f238482815181101515611ee057fe5b90602001906020020151600960008885815181101515611efc57fe5b90602001906020020151815260200190815260200160002054612ee790919063ffffffff16565b600960008784815181101515611f3557fe5b6020908102909101810151825281019190915260400160002055600101611e1a565b50611422858585856130ba565b60006110a860058363ffffffff612feb16565b60009081526009602052604090205490565b600860205260009081526040902054600160a060020a031681565b600d54600160a060020a03163314612006576040805160e560020a62461bcd02815260206004820152601160248201527f796f7520617265206e6f742061646d696e000000000000000000000000000000604482015290519081900360640190fd5b604080517f70a082310000000000000000000000000000000000000000000000000000000081523060048201529051600091600160a060020a038416916370a0823191602480820192602092909190829003018186803b15801561206957600080fd5b505afa15801561207d573d6000803e3d6000fd5b505050506040513d602081101561209357600080fd5b5051604080517fa9059cbb000000000000000000000000000000000000000000000000000000008152336004820152602481018390529051919250600160a060020a0384169163a9059cbb916044808201926020929091908290030181600087803b15801561210157600080fd5b505af1158015612115573d6000803e3d6000fd5b505050506040513d602081101561212b57600080fd5b50505050565b600d54600160a060020a03163314612193576040805160e560020a62461bcd02815260206004820152601160248201527f796f7520617265206e6f742061646d696e000000000000000000000000000000604482015290519081900360640190fd5b6040513390303180156108fc02916000818181858888f1935050505015801561147e573d6000803e3d6000fd5b60408051606081018252603381527f68747470733a2f2f6170692e6d6176657269636b6368616d702e636f6d2f617060208201527f692f636f6e74726163742f6d6176657269636b000000000000000000000000009181019190915290565b600654604080517fc4552791000000000000000000000000000000000000000000000000000000008152600160a060020a0385811660048301529151600093831692851691839163c455279191602480820192602092909190829003018186803b15801561228c57600080fd5b505afa1580156122a0573d6000803e3d6000fd5b505050506040513d60208110156122b657600080fd5b5051600160a060020a031614156122d15760019150506110a8565b6122db84846132b7565b949350505050565b33600160a060020a03861614806122ff57506122ff853361221f565b151561237b576040805160e560020a62461bcd02815260206004820152602a60248201527f4552433131353523736166655472616e7366657246726f6d3a20494e56414c4960448201527f445f4f50455241544f5200000000000000000000000000000000000000000000606482015290519081900360840190fd5b600160a060020a0384161515612401576040805160e560020a62461bcd02815260206004820152602b60248201527f4552433131353523736166655472616e7366657246726f6d3a20494e56414c4960448201527f445f524543495049454e54000000000000000000000000000000000000000000606482015290519081900360840190fd5b61240d858585856132e5565b61142285858585856133cd565b61242261195e565b1515612466576040805160e560020a62461bcd0281526020600482018190526024820152600080516020613dd6833981519152604482015290519081900360640190fd5b61147e816135aa565b600160a060020a03831660009081526020818152604080832085845290915290205482908211156124ea576040805160e560020a62461bcd02815260206004820152601c60248201527f4578636565642074686520616d6f756e74206f662062616c616e636500000000604482015290519081900360640190fd5b6124f5848284613699565b6000818152600a6020526040902054612514908363ffffffff61373016565b6000828152600a602090815260408083209390935560099052205461253f908363ffffffff61373016565b60009182526009602052604090912055505050565b80518251146125c1576040805160e560020a62461bcd02815260206004820152603060248201527f455243313135354d696e744275726e2362617463684275726e3a20494e56414c6044820152600080516020613df6833981519152606482015290519081900360840190fd5b815160005b8181101561276e5782818151811015156125dc57fe5b9060200190602002015160008087600160a060020a0316600160a060020a031681526020019081526020016000206000868481518110151561261a57fe5b906020019060200201518152602001908152602001600020541015151561268b576040805160e560020a62461bcd02815260206004820152601c60248201527f4578636565642074686520616d6f756e74206f662062616c616e636500000000604482015290519081900360640190fd5b6126df838281518110151561269c57fe5b906020019060200201516009600087858151811015156126b857fe5b9060200190602002015181526020019081526020016000205461373090919063ffffffff16565b6009600086848151811015156126f157fe5b9060200190602002015181526020019081526020016000208190555061273a838281518110151561271e57fe5b90602001906020020151600a600087858151811015156126b857fe5b600a6000868481518110151561274c57fe5b60209081029091018101518252810191909152604001600020556001016125c6565b5061212b848484613790565b600090815260086020526040902054600160a060020a0316151590565b60608115156127da575060408051808201909152600181527f30000000000000000000000000000000000000000000000000000000000000006020820152611122565b8160005b81156127f257600101600a820491506127de565b6060816040519080825280601f01601f19166020018201604052801561281f576020820181803883390190505b50905060001982015b851561287257815160001982019160f860020a6030600a8a06010291849190811061284f57fe5b906020010190600160f860020a031916908160001a905350600a86049550612828565b50949350505050565b6040805160208181018352600080835283518083018552818152845192830190945281526060926128b0928692869290613985565b9392505050565b8051825114612936576040805160e560020a62461bcd02815260206004820152603560248201527f45524331313535235f7361666542617463685472616e7366657246726f6d3a2060448201527f494e56414c49445f4152524159535f4c454e4754480000000000000000000000606482015290519081900360840190fd5b815160005b81811015612a7157612992838281518110151561295457fe5b9060200190602002015160008089600160a060020a0316600160a060020a03168152602001908152602001600020600087858151811015156126b857fe5b600160a060020a038716600090815260208190526040812086519091908790859081106129bb57fe5b90602001906020020151815260200190815260200160002081905550612a2683828151811015156129e857fe5b9060200190602002015160008088600160a060020a0316600160a060020a0316815260200190815260200160002060008785815181101515611efc57fe5b600160a060020a03861660009081526020819052604081208651909190879085908110612a4f57fe5b602090810290910181015182528101919091526040016000205560010161293b565b5083600160a060020a031685600160a060020a031633600160a060020a03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8686604051808060200180602001838103835285818151815260200191508051906020019060200280838360005b83811015612af7578181015183820152602001612adf565b50505050905001838103825284818151815260200191508051906020019060200280838360005b83811015612b36578181015183820152602001612b1e565b5050505090500194505050505060405180910390a45050505050565b612b6484600160a060020a0316613bda565b1561142257600084600160a060020a031663bc197c8133888787876040518663ffffffff1660e060020a0281526004018086600160a060020a0316600160a060020a0316815260200185600160a060020a0316600160a060020a03168152602001806020018060200180602001848103845287818151815260200191508051906020019060200280838360005b83811015612c09578181015183820152602001612bf1565b50505050905001848103835286818151815260200191508051906020019060200280838360005b83811015612c48578181015183820152602001612c30565b50505050905001848103825285818151815260200191508051906020019080838360005b83811015612c84578181015183820152602001612c6c565b50505050905090810190601f168015612cb15780820380516001836020036101000a031916815260200191505b5098505050505050505050602060405180830381600087803b158015612cd657600080fd5b505af1158015612cea573d6000803e3d6000fd5b505050506040513d6020811015612d0057600080fd5b50519050600160e060020a031981167fbc197c810000000000000000000000000000000000000000000000000000000014612dab576040805160e560020a62461bcd02815260206004820152603f60248201527f45524331313535235f63616c6c6f6e455243313135354261746368526563656960448201527f7665643a20494e56414c49445f4f4e5f524543454956455f4d45535341474500606482015290519081900360840190fd5b505050505050565b612dc460048263ffffffff613c1116565b604051600160a060020a038216907fe94479a9f7e1952cc78f2d6baab678adc1b772d936c6583def489e524cb6669290600090a250565b3390565b612e1060058263ffffffff613c1116565b604051600160a060020a038216907f0a8eb35e5ca14b3d6f28e4abf2f128dbab231a58b56e89beb5d636115001e16590600090a250565b600160a060020a038416600090815260208181526040808320868452909152902054612e79908363ffffffff612ee716565b600160a060020a038516600081815260208181526040808320888452825280832094909455835187815290810186905283519293919233927fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62928290030190a461212b6000858585856133cd565b6000828201838110156128b0576040805160e560020a62461bcd02815260206004820152601660248201527f536166654d617468236164643a204f564552464c4f5700000000000000000000604482015290519081900360640190fd5b612f5560058263ffffffff613cb916565b604051600160a060020a038216907f22380c05984257a1cb900161c713dd71d39e74820f1aea43bd3f1bdd2096129990600090a250565b8051612f9f906002906020840190613d3d565b5050565b612fb460048263ffffffff613cb916565b604051600160a060020a038216907f6ae172837ea30b801fbfcdd4108aa1d5bf8ff775444fd70256b44e6bf3dfc3f690600090a250565b6000600160a060020a0382161515613073576040805160e560020a62461bcd02815260206004820152602260248201527f526f6c65733a206163636f756e7420697320746865207a65726f20616464726560448201527f7373000000000000000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b50600160a060020a03166000908152602091909152604090205460ff1690565b6007546000906130aa90600163ffffffff612ee716565b905090565b600780546001019055565b8151835114613127576040805160e560020a62461bcd02815260206004820152603060248201527f455243313135354d696e744275726e2362617463684d696e743a20494e56414c6044820152600080516020613df6833981519152606482015290519081900360840190fd5b825160005b818110156131ce57613183848281518110151561314557fe5b9060200190602002015160008089600160a060020a0316600160a060020a0316815260200190815260200160002060008885815181101515611efc57fe5b600160a060020a038716600090815260208190526040812087519091908890859081106131ac57fe5b602090810290910181015182528101919091526040016000205560010161312c565b5084600160a060020a03166000600160a060020a031633600160a060020a03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051808060200180602001838103835285818151815260200191508051906020019060200280838360005b8381101561325557818101518382015260200161323d565b50505050905001838103825284818151815260200191508051906020019060200280838360005b8381101561329457818101518382015260200161327c565b5050505090500194505050505060405180910390a4611422600086868686612b52565b600160a060020a03918216600090815260016020908152604080832093909416825291909152205460ff1690565b600160a060020a038416600090815260208181526040808320858452909152902054613317908263ffffffff61373016565b600160a060020a0380861660009081526020818152604080832087845282528083209490945591861681528082528281208582529091522054613360908263ffffffff612ee716565b600160a060020a03808516600081815260208181526040808320888452825291829020949094558051868152938401859052805191939288169233927fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62929181900390910190a450505050565b6133df84600160a060020a0316613bda565b1561142257600084600160a060020a031663f23a6e6133888787876040518663ffffffff1660e060020a0281526004018086600160a060020a0316600160a060020a0316815260200185600160a060020a0316600160a060020a0316815260200184815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b8381101561348557818101518382015260200161346d565b50505050905090810190601f1680156134b25780820380516001836020036101000a031916815260200191505b509650505050505050602060405180830381600087803b1580156134d557600080fd5b505af11580156134e9573d6000803e3d6000fd5b505050506040513d60208110156134ff57600080fd5b50519050600160e060020a031981167ff23a6e610000000000000000000000000000000000000000000000000000000014612dab576040805160e560020a62461bcd02815260206004820152603a60248201527f45524331313535235f63616c6c6f6e4552433131353552656365697665643a2060448201527f494e56414c49445f4f4e5f524543454956455f4d455353414745000000000000606482015290519081900360840190fd5b600160a060020a0381161515613630576040805160e560020a62461bcd02815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b600354604051600160a060020a038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a36003805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600160a060020a0383166000908152602081815260408083208584529091529020546136cb908263ffffffff61373016565b600160a060020a03841660008181526020818152604080832087845282528083209490945583518681529081018590528351919333927fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f629281900390910190a4505050565b60008282111561378a576040805160e560020a62461bcd02815260206004820152601760248201527f536166654d617468237375623a20554e444552464c4f57000000000000000000604482015290519081900360640190fd5b50900390565b80518251146137fd576040805160e560020a62461bcd02815260206004820152603060248201527f455243313135354d696e744275726e2362617463684275726e3a20494e56414c6044820152600080516020613df6833981519152606482015290519081900360840190fd5b815160005b818110156138a457613859838281518110151561381b57fe5b9060200190602002015160008088600160a060020a0316600160a060020a03168152602001908152602001600020600087858151811015156126b857fe5b600160a060020a0386166000908152602081905260408120865190919087908590811061388257fe5b6020908102909101810151825281019190915260400160002055600101613802565b506000600160a060020a031684600160a060020a031633600160a060020a03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8686604051808060200180602001838103835285818151815260200191508051906020019060200280838360005b8381101561392b578181015183820152602001613913565b50505050905001838103825284818151815260200191508051906020019060200280838360005b8381101561396a578181015183820152602001613952565b5050505090500194505050505060405180910390a450505050565b6060808690506060869050606086905060608690506060869050606081518351855187518951010101016040519080825280601f01601f1916602001820160405280156139d9576020820181803883390190505b509050806000805b8851811015613a3f5788818151811015156139f857fe5b90602001015160f860020a900460f860020a028383806001019450815181101515613a1f57fe5b906020010190600160f860020a031916908160001a9053506001016139e1565b5060005b8751811015613aa1578781815181101515613a5a57fe5b90602001015160f860020a900460f860020a028383806001019450815181101515613a8157fe5b906020010190600160f860020a031916908160001a905350600101613a43565b5060005b8651811015613b03578681815181101515613abc57fe5b90602001015160f860020a900460f860020a028383806001019450815181101515613ae357fe5b906020010190600160f860020a031916908160001a905350600101613aa5565b5060005b8551811015613b65578581815181101515613b1e57fe5b90602001015160f860020a900460f860020a028383806001019450815181101515613b4557fe5b906020010190600160f860020a031916908160001a905350600101613b07565b5060005b8451811015613bc7578481815181101515613b8057fe5b90602001015160f860020a900460f860020a028383806001019450815181101515613ba757fe5b906020010190600160f860020a031916908160001a905350600101613b69565b50909d9c50505050505050505050505050565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47081158015906122db5750141592915050565b613c1b8282612feb565b1515613c97576040805160e560020a62461bcd02815260206004820152602160248201527f526f6c65733a206163636f756e7420646f6573206e6f74206861766520726f6c60448201527f6500000000000000000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b600160a060020a0316600090815260209190915260409020805460ff19169055565b613cc38282612feb565b15613d18576040805160e560020a62461bcd02815260206004820152601f60248201527f526f6c65733a206163636f756e7420616c72656164792068617320726f6c6500604482015290519081900360640190fd5b600160a060020a0316600090815260209190915260409020805460ff19166001179055565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10613d7e57805160ff1916838001178555613dab565b82800160010185558215613dab579182015b82811115613dab578251825591602001919060010190613d90565b50613db7929150613dbb565b5090565b61195b91905b80821115613db75760008155600101613dc156fe4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657249445f4152524159535f4c454e47544800000000000000000000000000000000a165627a7a72305820966980adc5ba96ed1e9d4448288bf2af9a317136a6ed3bdebb1a3fee92adb48f0029

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

000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1

-----Decoded View---------------
Arg [0] : _proxyRegistryAddress (address): 0xa5409ec958C83C3f309868babACA7c86DCB077c1

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1


Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.