ETH Price: $3,849.51 (+4.13%)

Token

ERC-20: ()
 

Overview

Max Total Supply

17,490

Holders

983

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
laotu.eth
0xCc789E2342BE0C15661bE0b54CA82e9DF4336886
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:
VouchersContract

Compiler Version
v0.7.4+commit.3f05b770

Optimization Enabled:
Yes with 20000 runs

Other Settings:
default evmVersion
File 1 of 7 : VouchersContract.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.7.4;
pragma experimental ABIEncoderV2;

import "./interfaces/IERC1155.sol";
import "./interfaces/IERC1155TokenReceiver.sol";
import "./interfaces/IERC1155Metadata_URI.sol";
import "./libraries/LibStrings.sol";
import "./interfaces/IERC173.sol";
import "./interfaces/IERC165.sol";

struct Vouchers {
    // user address => balance
    mapping(address => uint256) accountBalances;
    uint256 totalSupply;
}

struct AppStorage {
    mapping(bytes4 => bool) supportedInterfaces;
    mapping(address => mapping(address => bool)) approved;
    Vouchers[] vouchers;
    string vouchersBaseUri;
    address contractOwner;
}

contract VouchersContract is IERC1155, IERC173, IERC165 {
    AppStorage internal s;
    bytes4 internal constant ERC1155_ACCEPTED = 0xf23a6e61; // Return value from `onERC1155Received` call if a contract accepts receipt (i.e `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))`).
    bytes4 internal constant ERC1155_BATCH_ACCEPTED = 0xbc197c81; // Return value from `onERC1155BatchReceived` call if a contract accepts receipt (i.e `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))`).

    constructor(address _contractOwner) {
        s.contractOwner = _contractOwner;
        s.vouchersBaseUri = "https://aavegotchi.com/metadata/vouchers/";

        // adding ERC165 data
        s.supportedInterfaces[type(IERC165).interfaceId] = true;
        s.supportedInterfaces[type(IERC173).interfaceId] = true;

        // ERC1155
        // ERC165 identifier for the main token standard.
        s.supportedInterfaces[type(IERC1155).interfaceId] = true;

        // ERC1155
        // ERC1155Metadata_URI
        s.supportedInterfaces[type(IERC1155Metadata_URI).interfaceId] = true;
    }

    function supportsInterface(bytes4 _interfaceId) external view override returns (bool) {
        return s.supportedInterfaces[_interfaceId];
    }

    function owner() external view override returns (address) {
        return s.contractOwner;
    }

    function transferOwnership(address _newContractOwner) external override {
        address previousOwner = s.contractOwner;
        require(msg.sender == previousOwner, "Vouchers: Must be contract owner");
        s.contractOwner = _newContractOwner;
        emit OwnershipTransferred(previousOwner, _newContractOwner);
    }

    /**
        @notice Creates new voucher types and mints vouchers
        @dev Can only be called by contract owner
        @param _to      Who gets the vouchers that are minted
        @param _values  How many vouchers to mint for each new voucher type
        @param _data    Additional data with no specified format, MUST be sent unaltered in call to `onERC1155BatchReceived` on `_to`
    */
    function createVoucherTypes(
        address _to,
        uint256[] calldata _values,
        bytes calldata _data
    ) external {
        require(_to != address(0), "Vouchers: Can't mint to 0 address");
        require(msg.sender == s.contractOwner, "Vouchers: Must be contract owner");
        uint256 vouchersIndex = s.vouchers.length;
        uint256[] memory ids = new uint256[](_values.length);
        for (uint256 i; i < _values.length; i++) {
            ids[i] = vouchersIndex;
            uint256 value = _values[i];
            s.vouchers.push();
            s.vouchers[vouchersIndex].totalSupply = value;
            s.vouchers[vouchersIndex].accountBalances[_to] = value;
            vouchersIndex++;
        }
        emit TransferBatch(msg.sender, address(0), _to, ids, _values);
        uint256 size;
        assembly {
            size := extcodesize(_to)
        }
        if (size > 0) {
            require(
                ERC1155_BATCH_ACCEPTED == IERC1155TokenReceiver(_to).onERC1155BatchReceived(msg.sender, address(0), ids, _values, _data),
                "Vouchers: createVoucherTypes rejected/failed"
            );
        }
    }

    /**
        @notice Mints new vouchers
        @dev Can only be called by contract owner
        @param _to      Who gets the vouchers that are minted
        @param _ids     Which voucher types to mint
        @param _values  How many vouchers to mint for each voucher type
        @param _data    Additional data with no specified format, MUST be sent unaltered in call to `onERC1155BatchReceived` on `_to`
    */
    function mintVouchers(
        address _to,
        uint256[] calldata _ids,
        uint256[] calldata _values,
        bytes calldata _data
    ) external {
        require(_to != address(0), "Vouchers: Can't mint to 0 address");
        require(msg.sender == s.contractOwner, "Vouchers: Must be contract owner");
        require(_ids.length == _values.length, "Vouchers: _ids must be same length as _values");
        uint256 vouchersLength = s.vouchers.length;
        for (uint256 i; i < _values.length; i++) {
            uint256 id = _ids[i];
            require(id < vouchersLength, "Vouchers: id does not exist");
            uint256 value = _values[i];
            s.vouchers[id].totalSupply += value;
            s.vouchers[id].accountBalances[_to] += value;
        }
        emit TransferBatch(msg.sender, address(0), _to, _ids, _values);
        uint256 size;
        assembly {
            size := extcodesize(_to)
        }
        if (size > 0) {
            require(
                ERC1155_BATCH_ACCEPTED == IERC1155TokenReceiver(_to).onERC1155BatchReceived(msg.sender, address(0), _ids, _values, _data),
                "Vouchers: Mint rejected/failed"
            );
        }
    }

    /**
        @notice Set the base url for all voucher types
        @param _value The new base url        
    */
    function setBaseURI(string memory _value) external {
        require(msg.sender == s.contractOwner, "Vouchers: Must be contract owner");
        s.vouchersBaseUri = _value;
        for (uint256 i; i < s.vouchers.length; i++) {
            emit URI(string(abi.encodePacked(_value, LibStrings.uintStr(i))), i);
        }
    }

    /**
        @notice Get the URI for a voucher type
        @return URI for token type
    */
    function uri(uint256 _id) external view returns (string memory) {
        require(_id < s.vouchers.length, "_id not found for  ticket");
        return string(abi.encodePacked(s.vouchersBaseUri, LibStrings.uintStr(_id)));
    }

    /**
        @notice Transfers `_value` amount of an `_id` from the `_from` address to the `_to` address specified (with safety call).
        @dev Caller must be approved to manage the tokens being transferred out of the `_from` account (see "Approval" section of the standard).
        MUST revert if `_to` is the zero address.
        MUST revert if balance of holder for token `_id` is lower than the `_value` sent.
        MUST revert on any other error.
        MUST emit the `TransferSingle` event to reflect the balance change (see "Safe Transfer Rules" section of the standard).
        After the above conditions are met, this function MUST check if `_to` is a smart contract (e.g. code size > 0). If so, it MUST call `onERC1155Received` on `_to` and act appropriately (see "Safe Transfer Rules" section of the standard).        
        @param _from    Source address
        @param _to      Target address
        @param _id      ID of the token type
        @param _value   Transfer amount
        @param _data    Additional data with no specified format, MUST be sent unaltered in call to `onERC1155Received` on `_to`
    */
    function safeTransferFrom(
        address _from,
        address _to,
        uint256 _id,
        uint256 _value,
        bytes calldata _data
    ) external override {
        require(_to != address(0), "Vouchers: Can't transfer to 0 address");
        require(_id < s.vouchers.length, "Vouchers: _id not found");
        require(_from == msg.sender || s.approved[_from][msg.sender], "Vouchers: Not approved to transfer");
        uint256 bal = s.vouchers[_id].accountBalances[_from];
        require(bal >= _value, "Vouchers: _value greater than balance");
        s.vouchers[_id].accountBalances[_from] = bal - _value;
        s.vouchers[_id].accountBalances[_to] += _value;
        emit TransferSingle(msg.sender, _from, _to, _id, _value);
        uint256 size;
        assembly {
            size := extcodesize(_to)
        }
        if (size > 0) {
            require(
                ERC1155_ACCEPTED == IERC1155TokenReceiver(_to).onERC1155Received(msg.sender, _from, _id, _value, _data),
                "Vouchers: Transfer rejected/failed by _to"
            );
        }
    }

    /**
        @notice Transfers `_values` amount(s) of `_ids` from the `_from` address to the `_to` address specified (with safety call).
        @dev Caller must be approved to manage the tokens being transferred out of the `_from` account (see "Approval" section of the standard).
        MUST revert if `_to` is the zero address.
        MUST revert if length of `_ids` is not the same as length of `_values`.
        MUST revert if any of the balance(s) of the holder(s) for token(s) in `_ids` is lower than the respective amount(s) in `_values` sent to the recipient.
        MUST revert on any other error.        
        MUST emit `TransferSingle` or `TransferBatch` event(s) such that all the balance changes are reflected (see "Safe Transfer Rules" section of the standard).
        Balance changes and events MUST follow the ordering of the arrays (_ids[0]/_values[0] before _ids[1]/_values[1], etc).
        After the above conditions for the transfer(s) in the batch are met, this function MUST check if `_to` is a smart contract (e.g. code size > 0). If so, it MUST call the relevant `ERC1155TokenReceiver` hook(s) on `_to` and act appropriately (see "Safe Transfer Rules" section of the standard).                      
        @param _from    Source address
        @param _to      Target address
        @param _ids     IDs of each token type (order and length must match _values array)
        @param _values  Transfer amounts per token type (order and length must match _ids array)
        @param _data    Additional data with no specified format, MUST be sent unaltered in call to the `ERC1155TokenReceiver` hook(s) on `_to`
    */
    function safeBatchTransferFrom(
        address _from,
        address _to,
        uint256[] calldata _ids,
        uint256[] calldata _values,
        bytes calldata _data
    ) external override {
        require(_to != address(0), "Vouchers: Can't transfer to 0 address");
        require(_ids.length == _values.length, "Vouchers: _ids not the same length as _values");
        require(_from == msg.sender || s.approved[_from][msg.sender], "Vouchers: Not approved to transfer");
        uint256 vouchersLength = s.vouchers.length;
        for (uint256 i; i < _ids.length; i++) {
            uint256 id = _ids[i];
            require(id < vouchersLength, "Vouchers: id not found");
            uint256 value = _values[i];
            uint256 bal = s.vouchers[id].accountBalances[_from];
            require(bal >= value, "Vouchers: _value greater than balance");
            s.vouchers[id].accountBalances[_from] = bal - value;
            s.vouchers[id].accountBalances[_to] += value;
        }
        emit TransferBatch(msg.sender, _from, _to, _ids, _values);
        uint256 size;
        assembly {
            size := extcodesize(_to)
        }
        if (size > 0) {
            require(
                ERC1155_BATCH_ACCEPTED == IERC1155TokenReceiver(_to).onERC1155BatchReceived(msg.sender, _from, _ids, _values, _data),
                "Vouchers: Batch transfer rejected/failed by _to"
            );
        }
    }

    /**
        @notice Get total supply of each voucher type        
        @return totalSupplies_ The totalSupply of each voucher type
    */
    function totalSupplies() external view returns (uint256[] memory totalSupplies_) {
        uint256 vouchersLength = s.vouchers.length;
        totalSupplies_ = new uint256[](vouchersLength);
        for (uint256 i; i < vouchersLength; i++) {
            totalSupplies_[i] = s.vouchers[i].totalSupply;
        }
    }

    /**
        @notice Get total supply of voucher type
        @param _id           The voucher type id
        @return totalSupply_ The totalSupply of a voucher type
    */
    function totalSupply(uint256 _id) external view returns (uint256 totalSupply_) {
        require(_id < s.vouchers.length, "Vourchers:  Voucher not found");
        totalSupply_ = s.vouchers[_id].totalSupply;
    }

    /**
        @notice Get balance of an account's vouchers for each voucher type.
        @param _owner    The address of the token holder        
        @return balances_ The _owner's balances of the token types
    */
    function balanceOfAll(address _owner) external view returns (uint256[] memory balances_) {
        uint256 vouchersLength = s.vouchers.length;
        balances_ = new uint256[](vouchersLength);
        for (uint256 i; i < vouchersLength; i++) {
            balances_[i] = s.vouchers[i].accountBalances[_owner];
        }
    }

    /**
        @notice Get the balance of an account's tokens.
        @param _owner    The address of the token holder
        @param _id       ID of the token
        @return balance_ The _owner's balance of the token type requested
    */
    function balanceOf(address _owner, uint256 _id) external view override returns (uint256 balance_) {
        require(_id < s.vouchers.length, "Vouchers: _id not found");
        balance_ = s.vouchers[_id].accountBalances[_owner];
    }

    /**
        @notice Get the balance of multiple account/token pairs
        @param _owners    The addresses of the token holders
        @param _ids       ID of the tokens
        @return balances_ The _owner's balance of the token types requested (i.e. balance for each (owner, id) pair)
     */
    function balanceOfBatch(address[] calldata _owners, uint256[] calldata _ids) external view override returns (uint256[] memory balances_) {
        require(_owners.length == _ids.length, "Vouchers: _owners not same length as _ids");
        uint256 vouchersLength = s.vouchers.length;
        balances_ = new uint256[](_owners.length);
        for (uint256 i; i < _owners.length; i++) {
            uint256 id = _ids[i];
            require(id < vouchersLength, "Vouchers: id not found");
            balances_[i] = s.vouchers[id].accountBalances[_owners[i]];
        }
    }

    /**
        @notice Enable or disable approval for a third party ("operator") to manage all of the caller's tokens.
        @dev MUST emit the ApprovalForAll event on success.
        @param _operator  Address to add to the set of authorized operators
        @param _approved  True if the operator is approved, false to revoke approval
    */
    function setApprovalForAll(address _operator, bool _approved) external override {
        s.approved[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) external view override returns (bool) {
        return s.approved[_owner][_operator];
    }
}

File 2 of 7 : IERC1155.sol
//SPDX-License-Identifier: MIT
pragma solidity 0.7.4;

/**
    @title ERC-1155 Multi Token Standard
    @dev See https://eips.ethereum.org/EIPS/eip-1155
    Note: The ERC-165 identifier for this interface is 0xd9b67a26.
 */
/* is ERC165 */
interface IERC1155 {
    /**
        @dev Either `TransferSingle` or `TransferBatch` MUST emit when tokens are transferred, including zero value transfers as well as minting or burning (see "Safe Transfer Rules" section of the standard).
        The `_operator` argument MUST be the address of an account/contract that is approved to make the transfer (SHOULD be msg.sender).
        The `_from` argument MUST be the address of the holder whose balance is decreased.
        The `_to` argument MUST be the address of the recipient whose balance is increased.
        The `_id` argument MUST be the token type being transferred.
        The `_value` argument MUST be the number of tokens the holder balance is decreased by and match what the recipient balance is increased by.
        When minting/creating tokens, the `_from` argument MUST be set to `0x0` (i.e. zero address).
        When burning/destroying tokens, the `_to` argument MUST be set to `0x0` (i.e. zero address).        
    */
    event TransferSingle(address indexed _operator, address indexed _from, address indexed _to, uint256 _id, uint256 _value);

    /**
        @dev Either `TransferSingle` or `TransferBatch` MUST emit when tokens are transferred, including zero value transfers as well as minting or burning (see "Safe Transfer Rules" section of the standard).      
        The `_operator` argument MUST be the address of an account/contract that is approved to make the transfer (SHOULD be msg.sender).
        The `_from` argument MUST be the address of the holder whose balance is decreased.
        The `_to` argument MUST be the address of the recipient whose balance is increased.
        The `_ids` argument MUST be the list of tokens being transferred.
        The `_values` argument MUST be the list of number of tokens (matching the list and order of tokens specified in _ids) the holder balance is decreased by and match what the recipient balance is increased by.
        When minting/creating tokens, the `_from` argument MUST be set to `0x0` (i.e. zero address).
        When burning/destroying tokens, the `_to` argument MUST be set to `0x0` (i.e. zero address).                
    */
    event TransferBatch(address indexed _operator, address indexed _from, address indexed _to, uint256[] _ids, uint256[] _values);

    /**
        @dev MUST emit when approval for a second party/operator address to manage all tokens for an owner address is enabled or disabled (absence of an event assumes disabled).        
    */
    event ApprovalForAll(address indexed _owner, address indexed _operator, bool _approved);

    /**
        @dev MUST emit when the URI is updated for a token ID.
        URIs are defined in RFC 3986.
        The URI MUST point to a JSON file that conforms to the "ERC-1155 Metadata URI JSON Schema".
    */
    event URI(string _value, uint256 indexed _id);

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

    /**
        @notice Transfers `_values` amount(s) of `_ids` from the `_from` address to the `_to` address specified (with safety call).
        @dev Caller must be approved to manage the tokens being transferred out of the `_from` account (see "Approval" section of the standard).
        MUST revert if `_to` is the zero address.
        MUST revert if length of `_ids` is not the same as length of `_values`.
        MUST revert if any of the balance(s) of the holder(s) for token(s) in `_ids` is lower than the respective amount(s) in `_values` sent to the recipient.
        MUST revert on any other error.        
        MUST emit `TransferSingle` or `TransferBatch` event(s) such that all the balance changes are reflected (see "Safe Transfer Rules" section of the standard).
        Balance changes and events MUST follow the ordering of the arrays (_ids[0]/_values[0] before _ids[1]/_values[1], etc).
        After the above conditions for the transfer(s) in the batch are met, this function MUST check if `_to` is a smart contract (e.g. code size > 0). If so, it MUST call the relevant `ERC1155TokenReceiver` hook(s) on `_to` and act appropriately (see "Safe Transfer Rules" section of the standard).                      
        @param _from    Source address
        @param _to      Target address
        @param _ids     IDs of each token type (order and length must match _values array)
        @param _values  Transfer amounts per token type (order and length must match _ids array)
        @param _data    Additional data with no specified format, MUST be sent unaltered in call to the `ERC1155TokenReceiver` hook(s) on `_to`
    */
    function safeBatchTransferFrom(
        address _from,
        address _to,
        uint256[] calldata _ids,
        uint256[] calldata _values,
        bytes calldata _data
    ) external;

    /**
        @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) external view returns (uint256);

    /**
        @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[] calldata _owners, uint256[] calldata _ids) external view returns (uint256[] memory);

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

    /**
        @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) external view returns (bool);
}

File 3 of 7 : IERC1155TokenReceiver.sol
//SPDX-License-Identifier: MIT
pragma solidity 0.7.4;

/**
    Note: The ERC-165 identifier for this interface is 0x4e2312e0.
*/
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 MUST return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` (i.e. 0xf23a6e61) if it accepts the transfer.
        This function MUST revert if it rejects the transfer.
        Return of any other value than the prescribed keccak256 generated value MUST result in the transaction being reverted by the caller.
        @param _operator  The address which initiated the transfer (i.e. msg.sender)
        @param _from      The address which previously owned the token
        @param _id        The ID of the token being transferred
        @param _value     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 _value,
        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 MUST return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` (i.e. 0xbc197c81) if it accepts the transfer(s).
        This function MUST revert if it rejects the transfer(s).
        Return of any other value than the prescribed keccak256 generated value MUST result in the transaction being reverted by the caller.
        @param _operator  The address which initiated the batch transfer (i.e. msg.sender)
        @param _from      The address which previously owned the token
        @param _ids       An array containing ids of each token being transferred (order and length must match _values array)
        @param _values    An array containing amounts of each token being transferred (order and length must match _ids array)
        @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 _values,
        bytes calldata _data
    ) external returns (bytes4);
}

File 4 of 7 : IERC1155Metadata_URI.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.7.4;

/**
    Note: The ERC-165 identifier for this interface is 0x0e89341c.
*/
interface IERC1155Metadata_URI {
    /**
        @notice A distinct Uniform Resource Identifier (URI) for a given token.
        @dev URIs are defined in RFC 3986.
        The URI MUST point to a JSON file that conforms to the "ERC-1155 Metadata URI JSON Schema".        
        @return URI string
    */
    function uri(uint256 _id) external view returns (string memory);
}

File 5 of 7 : LibStrings.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.7.4;

// From Open Zeppelin contracts: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/Strings.sol

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

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

File 6 of 7 : IERC173.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.7.4;

/// @title ERC-173 Contract Ownership Standard
///  Note: the ERC-165 identifier for this interface is 0x7f5828d0
/* is ERC165 */
interface IERC173 {
    /// @dev This emits when ownership of a contract changes.
    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /// @notice Get the address of the owner
    /// @return owner_ The address of the owner.
    function owner() external view returns (address owner_);

    /// @notice Set the address of the new owner of the contract
    /// @dev Set _newOwner to address(0) to renounce any ownership.
    /// @param _newOwner The address of the new owner of the contract
    function transferOwnership(address _newOwner) external;
}

File 7 of 7 : IERC165.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.7.4;

interface IERC165 {
    /// @notice Query if a contract implements an interface
    /// @param interfaceId The interface identifier, as specified in ERC-165
    /// @dev Interface identification is specified in ERC-165. This function
    ///  uses less than 30,000 gas.
    /// @return `true` if the contract implements `interfaceID` and
    ///  `interfaceID` is not 0xffffffff, `false` otherwise
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 20000
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_contractOwner","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_owner","type":"address"},{"indexed":true,"internalType":"address","name":"_operator","type":"address"},{"indexed":false,"internalType":"bool","name":"_approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_operator","type":"address"},{"indexed":true,"internalType":"address","name":"_from","type":"address"},{"indexed":true,"internalType":"address","name":"_to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"_ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"_values","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_operator","type":"address"},{"indexed":true,"internalType":"address","name":"_from","type":"address"},{"indexed":true,"internalType":"address","name":"_to","type":"address"},{"indexed":false,"internalType":"uint256","name":"_id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_value","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"_value","type":"string"},{"indexed":true,"internalType":"uint256","name":"_id","type":"uint256"}],"name":"URI","type":"event"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"balance_","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"balanceOfAll","outputs":[{"internalType":"uint256[]","name":"balances_","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_owners","type":"address[]"},{"internalType":"uint256[]","name":"_ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"balances_","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256[]","name":"_values","type":"uint256[]"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"createVoucherTypes","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"address","name":"_operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256[]","name":"_ids","type":"uint256[]"},{"internalType":"uint256[]","name":"_values","type":"uint256[]"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"mintVouchers","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256[]","name":"_ids","type":"uint256[]"},{"internalType":"uint256[]","name":"_values","type":"uint256[]"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeBatchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_id","type":"uint256"},{"internalType":"uint256","name":"_value","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_operator","type":"address"},{"internalType":"bool","name":"_approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_value","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"_interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupplies","outputs":[{"internalType":"uint256[]","name":"totalSupplies_","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"totalSupply_","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_newContractOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}]

60806040523480156200001157600080fd5b506040516200293a3803806200293a8339810160408190526200003491620001ef565b600480546001600160a01b0319166001600160a01b0383161790556040805160608101909152602980825262002911602083013980516200007e9160039160209091019062000143565b5050600060208190527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c58054600160ff1991821681179092557feddca8dd33b41bff4f2689af38c5006161c5d608c330f99c8fe70d8b11b59a4080548216831790557f64d37ee7271936a8fb23c08f528c402845952d93a20b2439a0bc36ed6991047780548216831790556303a24d0760e21b9092527f7d93b6b1eee8b6e2d09e6667386df99a6d3bda9a65ccfc9ee82c5f48a08bca7180549092161790556200021f565b828054600181600116156101000203166002900490600052602060002090601f0160209004810192826200017b5760008555620001c6565b82601f106200019657805160ff1916838001178555620001c6565b82800160010185558215620001c6579182015b82811115620001c6578251825591602001919060010190620001a9565b50620001d4929150620001d8565b5090565b5b80821115620001d45760008155600101620001d9565b60006020828403121562000201578081fd5b81516001600160a01b038116811462000218578182fd5b9392505050565b6126e2806200022f6000396000f3fe608060405234801561001057600080fd5b50600436106100ff5760003560e01c8063a22cb46511610097578063e985e9c511610066578063e985e9c51461021e578063f242432a14610231578063f2fde38b14610244578063fe992c9814610257576100ff565b8063a22cb465146101dd578063b833e16a146101f0578063bd85b03914610203578063d068cdc514610216576100ff565b80634e1273f4116100d35780634e1273f41461018257806355f804b3146101a25780638145cc22146101b55780638da5cb5b146101c8576100ff565b8062fdd58e1461010457806301ffc9a71461012d5780630e89341c1461014d5780632eb2c2d61461016d575b600080fd5b610117610112366004611bc6565b61026a565b6040516101249190612634565b60405180910390f35b61014061013b366004611c58565b6102de565b60405161012491906120b7565b61016061015b366004611d43565b610319565b60405161012491906120c2565b61018061017b36600461193a565b61036f565b005b610195610190366004611bef565b610798565b6040516101249190612074565b6101806101b0366004611c90565b6108e8565b6101806101c3366004611a67565b6109c9565b6101d0610d01565b6040516101249190611eef565b6101806101eb366004611b8c565b610d1d565b6101806101fe366004611b0e565b610db7565b610117610211366004611d43565b6110cf565b61019561111a565b61014061022c366004611908565b6111b3565b61018061023f3660046119f1565b6111ee565b6101806102523660046118e7565b611501565b6101956102653660046118e7565b6115af565b60025460009082106102975760405162461bcd60e51b815260040161028e90612569565b60405180910390fd5b60028054839081106102a557fe5b6000918252602080832073ffffffffffffffffffffffffffffffffffffffff909616835260029091029094019093525050604090205490565b7fffffffff00000000000000000000000000000000000000000000000000000000811660009081526020819052604090205460ff165b919050565b600254606090821061033d5760405162461bcd60e51b815260040161028e90612478565b60036103488361166c565b604051602001610359929190611e59565b6040516020818303038152906040529050919050565b73ffffffffffffffffffffffffffffffffffffffff87166103a25760405162461bcd60e51b815260040161028e9061250c565b8483146103c15760405162461bcd60e51b815260040161028e90612270565b73ffffffffffffffffffffffffffffffffffffffff8816331480610415575073ffffffffffffffffffffffffffffffffffffffff8816600090815260016020908152604080832033845290915290205460ff165b6104315760405162461bcd60e51b815260040161028e906123be565b60025460005b868110156105ef57600088888381811061044d57fe5b9050602002013590508281106104755760405162461bcd60e51b815260040161028e9061214a565b600087878481811061048357fe5b905060200201359050600080600201838154811061049d57fe5b906000526020600020906002020160000160008e73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508181101561050e5760405162461bcd60e51b815260040161028e906121de565b8181036000600201848154811061052157fe5b906000526020600020906002020160000160008f73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000600201848154811061058457fe5b906000526020600020906002020160000160008e73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055505050508080600101915050610437565b508773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8a8a8a8a60405161066a9493929190612042565b60405180910390a4873b801561078c576040517fbc197c8100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8a169063bc197c81906106da9033908e908d908d908d908d908d908d90600401611f10565b602060405180830381600087803b1580156106f457600080fd5b505af1158015610708573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061072c9190611c74565b7fffffffff00000000000000000000000000000000000000000000000000000000167fbc197c81000000000000000000000000000000000000000000000000000000001461078c5760405162461bcd60e51b815260040161028e90612304565b50505050505050505050565b60608382146107b95760405162461bcd60e51b815260040161028e9061241b565b6002548467ffffffffffffffff811180156107d357600080fd5b506040519080825280602002602001820160405280156107fd578160200160208202803683370190505b50915060005b858110156108de57600085858381811061081957fe5b9050602002013590508281106108415760405162461bcd60e51b815260040161028e9061214a565b600280548290811061084f57fe5b9060005260206000209060020201600001600089898581811061086e57fe5b905060200201602081019061088391906118e7565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548483815181106108ca57fe5b602090810291909101015250600101610803565b5050949350505050565b60045473ffffffffffffffffffffffffffffffffffffffff16331461091f5760405162461bcd60e51b815260040161028e9061223b565b8051610932906003906020840190611799565b5060005b6002548110156109c557807f6bb7ff708619ba0610cba295a58592e0451dee2622938c8755667688daf3529b8361096c8461166c565b60405160200161097d929190611e2a565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0818403018152908290526109b5916120c2565b60405180910390a2600101610936565b5050565b73ffffffffffffffffffffffffffffffffffffffff87166109fc5760405162461bcd60e51b815260040161028e90612361565b60045473ffffffffffffffffffffffffffffffffffffffff163314610a335760405162461bcd60e51b815260040161028e9061223b565b848314610a525760405162461bcd60e51b815260040161028e906125a0565b60025460005b84811015610b57576000888883818110610a6e57fe5b905060200201359050828110610a965760405162461bcd60e51b815260040161028e906125fd565b6000878784818110610aa457fe5b9050602002013590508060006002018381548110610abe57fe5b9060005260206000209060020201600101600082825401925050819055508060006002018381548110610aed57fe5b906000526020600020906002020160000160008d73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555050508080600101915050610a58565b508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8a8a8a8a604051610bd39493929190612042565b60405180910390a4873b8015610cf6576040517fbc197c8100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8a169063bc197c8190610c449033906000908d908d908d908d908d908d90600401611f10565b602060405180830381600087803b158015610c5e57600080fd5b505af1158015610c72573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c969190611c74565b7fffffffff00000000000000000000000000000000000000000000000000000000167fbc197c810000000000000000000000000000000000000000000000000000000014610cf65760405162461bcd60e51b815260040161028e906122cd565b505050505050505050565b60045473ffffffffffffffffffffffffffffffffffffffff1690565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff871680855292529182902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001685151517905590519091907f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3190610dab9085906120b7565b60405180910390a35050565b73ffffffffffffffffffffffffffffffffffffffff8516610dea5760405162461bcd60e51b815260040161028e90612361565b60045473ffffffffffffffffffffffffffffffffffffffff163314610e215760405162461bcd60e51b815260040161028e9061223b565b60025460608467ffffffffffffffff81118015610e3d57600080fd5b50604051908082528060200260200182016040528015610e67578160200160208202803683370190505b50905060005b85811015610f2a5782828281518110610e8257fe5b6020026020010181815250506000878783818110610e9c57fe5b6002805460010180825560008290526020909202939093013593508392915086908110610ec557fe5b9060005260206000209060020201600101819055508060006002018581548110610eeb57fe5b6000918252602080832073ffffffffffffffffffffffffffffffffffffffff8e1684526002909202909101905260409020555060019283019201610e6d565b508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb848a8a604051610fa493929190612087565b60405180910390a4863b80156110c5576040517fbc197c8100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff89169063bc197c819061101390339060009087908d908d908d908d90600401611f81565b602060405180830381600087803b15801561102d57600080fd5b505af1158015611041573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110659190611c74565b7fffffffff00000000000000000000000000000000000000000000000000000000167fbc197c8100000000000000000000000000000000000000000000000000000000146110c55760405162461bcd60e51b815260040161028e906124af565b5050505050505050565b60025460009082106110f35760405162461bcd60e51b815260040161028e90612113565b600280548390811061110157fe5b9060005260206000209060020201600101549050919050565b6002546060908067ffffffffffffffff8111801561113757600080fd5b50604051908082528060200260200182016040528015611161578160200160208202803683370190505b50915060005b818110156111ae57600280548290811061117d57fe5b90600052602060002090600202016001015483828151811061119b57fe5b6020908102919091010152600101611167565b505090565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205460ff1690565b73ffffffffffffffffffffffffffffffffffffffff85166112215760405162461bcd60e51b815260040161028e9061250c565b60025484106112425760405162461bcd60e51b815260040161028e90612569565b73ffffffffffffffffffffffffffffffffffffffff8616331480611296575073ffffffffffffffffffffffffffffffffffffffff8616600090815260016020908152604080832033845290915290205460ff165b6112b25760405162461bcd60e51b815260040161028e906123be565b60008060020185815481106112c357fe5b6000918252602080832073ffffffffffffffffffffffffffffffffffffffff8b1684526002909202909101905260409020549050838110156113175760405162461bcd60e51b815260040161028e906121de565b8381036000600201868154811061132a57fe5b6000918252602080832073ffffffffffffffffffffffffffffffffffffffff8c168452600292830201905260409091209190915580548591908790811061136d57fe5b6000918252602080832073ffffffffffffffffffffffffffffffffffffffff808c16808652600290940290910190915260409283902080549094019093559051909189169033907fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62906113e3908a908a9061263d565b60405180910390a4853b80156110c5576040517ff23a6e6100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff88169063f23a6e619061144f9033908c908b908b908b908b90600401611ff0565b602060405180830381600087803b15801561146957600080fd5b505af115801561147d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114a19190611c74565b7fffffffff00000000000000000000000000000000000000000000000000000000167ff23a6e6100000000000000000000000000000000000000000000000000000000146110c55760405162461bcd60e51b815260040161028e90612181565b60045473ffffffffffffffffffffffffffffffffffffffff163381146115395760405162461bcd60e51b815260040161028e9061223b565b600480547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff84811691821790925560405190918316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6002546060908067ffffffffffffffff811180156115cc57600080fd5b506040519080825280602002602001820160405280156115f6578160200160208202803683370190505b50915060005b8181101561166557600280548290811061161257fe5b6000918252602080832073ffffffffffffffffffffffffffffffffffffffff88168452600290920290910190526040902054835184908390811061165257fe5b60209081029190910101526001016115fc565b5050919050565b6060816116ad575060408051808201909152600181527f30000000000000000000000000000000000000000000000000000000000000006020820152610314565b8160005b81156116c557600101600a820491506116b1565b60608167ffffffffffffffff811180156116de57600080fd5b506040519080825280601f01601f191660200182016040528015611709576020820181803683370190505b5085935090507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82015b831561179057600a840660300160f81b8282806001900393508151811061175657fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a84049350611733565b50949350505050565b828054600181600116156101000203166002900490600052602060002090601f0160209004810192826117cf5760008555611815565b82601f106117e857805160ff1916838001178555611815565b82800160010185558215611815579182015b828111156118155782518255916020019190600101906117fa565b50611821929150611825565b5090565b5b808211156118215760008155600101611826565b803573ffffffffffffffffffffffffffffffffffffffff8116811461031457600080fd5b60008083601f84011261186f578182fd5b50813567ffffffffffffffff811115611886578182fd5b60208301915083602080830285010111156118a057600080fd5b9250929050565b60008083601f8401126118b8578182fd5b50813567ffffffffffffffff8111156118cf578182fd5b6020830191508360208285010111156118a057600080fd5b6000602082840312156118f8578081fd5b6119018261183a565b9392505050565b6000806040838503121561191a578081fd5b6119238361183a565b91506119316020840161183a565b90509250929050565b60008060008060008060008060a0898b031215611955578384fd5b61195e8961183a565b975061196c60208a0161183a565b9650604089013567ffffffffffffffff80821115611988578586fd5b6119948c838d0161185e565b909850965060608b01359150808211156119ac578586fd5b6119b88c838d0161185e565b909650945060808b01359150808211156119d0578384fd5b506119dd8b828c016118a7565b999c989b5096995094979396929594505050565b60008060008060008060a08789031215611a09578182fd5b611a128761183a565b9550611a206020880161183a565b94506040870135935060608701359250608087013567ffffffffffffffff811115611a49578283fd5b611a5589828a016118a7565b979a9699509497509295939492505050565b60008060008060008060006080888a031215611a81578283fd5b611a8a8861183a565b9650602088013567ffffffffffffffff80821115611aa6578485fd5b611ab28b838c0161185e565b909850965060408a0135915080821115611aca578485fd5b611ad68b838c0161185e565b909650945060608a0135915080821115611aee578384fd5b50611afb8a828b016118a7565b989b979a50959850939692959293505050565b600080600080600060608688031215611b25578081fd5b611b2e8661183a565b9450602086013567ffffffffffffffff80821115611b4a578283fd5b611b5689838a0161185e565b90965094506040880135915080821115611b6e578283fd5b50611b7b888289016118a7565b969995985093965092949392505050565b60008060408385031215611b9e578182fd5b611ba78361183a565b915060208301358015158114611bbb578182fd5b809150509250929050565b60008060408385031215611bd8578182fd5b611be18361183a565b946020939093013593505050565b60008060008060408587031215611c04578384fd5b843567ffffffffffffffff80821115611c1b578586fd5b611c278883890161185e565b90965094506020870135915080821115611c3f578384fd5b50611c4c8782880161185e565b95989497509550505050565b600060208284031215611c69578081fd5b81356119018161267b565b600060208284031215611c85578081fd5b81516119018161267b565b60006020808385031215611ca2578182fd5b823567ffffffffffffffff80821115611cb9578384fd5b818501915085601f830112611ccc578384fd5b813581811115611cd857fe5b604051847fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8401168201018181108482111715611d1357fe5b6040528181528382018501881015611d29578586fd5b818585018683013790810190930193909352509392505050565b600060208284031215611d54578081fd5b5035919050565b60008284527f07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff831115611d8c578081fd5b6020830280836020870137939093016020019283525090919050565b6000815180845260208085019450808401835b83811015611dd757815187529582019590820190600101611dbb565b509495945050505050565b600082845282826020860137806020848601015260207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f85011685010190509392505050565b60008351611e3c81846020880161264b565b835190830190611e5081836020880161264b565b01949350505050565b6000808454600180821660008114611e785760018114611ead57611edc565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0083168652607f600284041686019350611edc565b600283048886526020808720875b83811015611ed45781548a820152908501908201611ebb565b505050860193505b5050508351611e5081836020880161264b565b73ffffffffffffffffffffffffffffffffffffffff91909116815260200190565b600073ffffffffffffffffffffffffffffffffffffffff808b168352808a1660208401525060a06040830152611f4a60a08301888a611d5b565b8281036060840152611f5d818789611d5b565b90508281036080840152611f72818587611de2565b9b9a5050505050505050505050565b600073ffffffffffffffffffffffffffffffffffffffff808a16835280891660208401525060a06040830152611fba60a0830188611da8565b8281036060840152611fcd818789611d5b565b90508281036080840152611fe2818587611de2565b9a9950505050505050505050565b600073ffffffffffffffffffffffffffffffffffffffff808916835280881660208401525085604083015284606083015260a0608083015261203660a083018486611de2565b98975050505050505050565b600060408252612056604083018688611d5b565b8281036020840152612069818587611d5b565b979650505050505050565b6000602082526119016020830184611da8565b60006040825261209a6040830186611da8565b82810360208401526120ad818587611d5b565b9695505050505050565b901515815260200190565b60006020825282518060208401526120e181604085016020870161264b565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169190910160400192915050565b6020808252601d908201527f566f757263686572733a2020566f7563686572206e6f7420666f756e64000000604082015260600190565b60208082526016908201527f566f7563686572733a206964206e6f7420666f756e6400000000000000000000604082015260600190565b60208082526029908201527f566f7563686572733a205472616e736665722072656a65637465642f6661696c60408201527f6564206279205f746f0000000000000000000000000000000000000000000000606082015260800190565b60208082526025908201527f566f7563686572733a205f76616c75652067726561746572207468616e20626160408201527f6c616e6365000000000000000000000000000000000000000000000000000000606082015260800190565b6020808252818101527f566f7563686572733a204d75737420626520636f6e7472616374206f776e6572604082015260600190565b6020808252602d908201527f566f7563686572733a205f696473206e6f74207468652073616d65206c656e6760408201527f7468206173205f76616c75657300000000000000000000000000000000000000606082015260800190565b6020808252601e908201527f566f7563686572733a204d696e742072656a65637465642f6661696c65640000604082015260600190565b6020808252602f908201527f566f7563686572733a204261746368207472616e736665722072656a6563746560408201527f642f6661696c6564206279205f746f0000000000000000000000000000000000606082015260800190565b60208082526021908201527f566f7563686572733a2043616e2774206d696e7420746f20302061646472657360408201527f7300000000000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526022908201527f566f7563686572733a204e6f7420617070726f76656420746f207472616e736660408201527f6572000000000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526029908201527f566f7563686572733a205f6f776e657273206e6f742073616d65206c656e677460408201527f68206173205f6964730000000000000000000000000000000000000000000000606082015260800190565b60208082526019908201527f5f6964206e6f7420666f756e6420666f7220207469636b657400000000000000604082015260600190565b6020808252602c908201527f566f7563686572733a20637265617465566f756368657254797065732072656a60408201527f65637465642f6661696c65640000000000000000000000000000000000000000606082015260800190565b60208082526025908201527f566f7563686572733a2043616e2774207472616e7366657220746f203020616460408201527f6472657373000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526017908201527f566f7563686572733a205f6964206e6f7420666f756e64000000000000000000604082015260600190565b6020808252602d908201527f566f7563686572733a205f696473206d7573742062652073616d65206c656e6760408201527f7468206173205f76616c75657300000000000000000000000000000000000000606082015260800190565b6020808252601b908201527f566f7563686572733a20696420646f6573206e6f742065786973740000000000604082015260600190565b90815260200190565b918252602082015260400190565b60005b8381101561266657818101518382015260200161264e565b83811115612675576000848401525b50505050565b7fffffffff00000000000000000000000000000000000000000000000000000000811681146126a957600080fd5b5056fea2646970667358221220134b33672600f6e3ff365cda3d23b0c6d49a22f79520ba0a82649efd84b962e064736f6c6343000704003368747470733a2f2f61617665676f746368692e636f6d2f6d657461646174612f766f7563686572732f000000000000000000000000819c3fc356bb319035f9d2886fac9e57df0343f5

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100ff5760003560e01c8063a22cb46511610097578063e985e9c511610066578063e985e9c51461021e578063f242432a14610231578063f2fde38b14610244578063fe992c9814610257576100ff565b8063a22cb465146101dd578063b833e16a146101f0578063bd85b03914610203578063d068cdc514610216576100ff565b80634e1273f4116100d35780634e1273f41461018257806355f804b3146101a25780638145cc22146101b55780638da5cb5b146101c8576100ff565b8062fdd58e1461010457806301ffc9a71461012d5780630e89341c1461014d5780632eb2c2d61461016d575b600080fd5b610117610112366004611bc6565b61026a565b6040516101249190612634565b60405180910390f35b61014061013b366004611c58565b6102de565b60405161012491906120b7565b61016061015b366004611d43565b610319565b60405161012491906120c2565b61018061017b36600461193a565b61036f565b005b610195610190366004611bef565b610798565b6040516101249190612074565b6101806101b0366004611c90565b6108e8565b6101806101c3366004611a67565b6109c9565b6101d0610d01565b6040516101249190611eef565b6101806101eb366004611b8c565b610d1d565b6101806101fe366004611b0e565b610db7565b610117610211366004611d43565b6110cf565b61019561111a565b61014061022c366004611908565b6111b3565b61018061023f3660046119f1565b6111ee565b6101806102523660046118e7565b611501565b6101956102653660046118e7565b6115af565b60025460009082106102975760405162461bcd60e51b815260040161028e90612569565b60405180910390fd5b60028054839081106102a557fe5b6000918252602080832073ffffffffffffffffffffffffffffffffffffffff909616835260029091029094019093525050604090205490565b7fffffffff00000000000000000000000000000000000000000000000000000000811660009081526020819052604090205460ff165b919050565b600254606090821061033d5760405162461bcd60e51b815260040161028e90612478565b60036103488361166c565b604051602001610359929190611e59565b6040516020818303038152906040529050919050565b73ffffffffffffffffffffffffffffffffffffffff87166103a25760405162461bcd60e51b815260040161028e9061250c565b8483146103c15760405162461bcd60e51b815260040161028e90612270565b73ffffffffffffffffffffffffffffffffffffffff8816331480610415575073ffffffffffffffffffffffffffffffffffffffff8816600090815260016020908152604080832033845290915290205460ff165b6104315760405162461bcd60e51b815260040161028e906123be565b60025460005b868110156105ef57600088888381811061044d57fe5b9050602002013590508281106104755760405162461bcd60e51b815260040161028e9061214a565b600087878481811061048357fe5b905060200201359050600080600201838154811061049d57fe5b906000526020600020906002020160000160008e73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508181101561050e5760405162461bcd60e51b815260040161028e906121de565b8181036000600201848154811061052157fe5b906000526020600020906002020160000160008f73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000600201848154811061058457fe5b906000526020600020906002020160000160008e73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055505050508080600101915050610437565b508773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8a8a8a8a60405161066a9493929190612042565b60405180910390a4873b801561078c576040517fbc197c8100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8a169063bc197c81906106da9033908e908d908d908d908d908d908d90600401611f10565b602060405180830381600087803b1580156106f457600080fd5b505af1158015610708573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061072c9190611c74565b7fffffffff00000000000000000000000000000000000000000000000000000000167fbc197c81000000000000000000000000000000000000000000000000000000001461078c5760405162461bcd60e51b815260040161028e90612304565b50505050505050505050565b60608382146107b95760405162461bcd60e51b815260040161028e9061241b565b6002548467ffffffffffffffff811180156107d357600080fd5b506040519080825280602002602001820160405280156107fd578160200160208202803683370190505b50915060005b858110156108de57600085858381811061081957fe5b9050602002013590508281106108415760405162461bcd60e51b815260040161028e9061214a565b600280548290811061084f57fe5b9060005260206000209060020201600001600089898581811061086e57fe5b905060200201602081019061088391906118e7565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548483815181106108ca57fe5b602090810291909101015250600101610803565b5050949350505050565b60045473ffffffffffffffffffffffffffffffffffffffff16331461091f5760405162461bcd60e51b815260040161028e9061223b565b8051610932906003906020840190611799565b5060005b6002548110156109c557807f6bb7ff708619ba0610cba295a58592e0451dee2622938c8755667688daf3529b8361096c8461166c565b60405160200161097d929190611e2a565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0818403018152908290526109b5916120c2565b60405180910390a2600101610936565b5050565b73ffffffffffffffffffffffffffffffffffffffff87166109fc5760405162461bcd60e51b815260040161028e90612361565b60045473ffffffffffffffffffffffffffffffffffffffff163314610a335760405162461bcd60e51b815260040161028e9061223b565b848314610a525760405162461bcd60e51b815260040161028e906125a0565b60025460005b84811015610b57576000888883818110610a6e57fe5b905060200201359050828110610a965760405162461bcd60e51b815260040161028e906125fd565b6000878784818110610aa457fe5b9050602002013590508060006002018381548110610abe57fe5b9060005260206000209060020201600101600082825401925050819055508060006002018381548110610aed57fe5b906000526020600020906002020160000160008d73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555050508080600101915050610a58565b508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8a8a8a8a604051610bd39493929190612042565b60405180910390a4873b8015610cf6576040517fbc197c8100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8a169063bc197c8190610c449033906000908d908d908d908d908d908d90600401611f10565b602060405180830381600087803b158015610c5e57600080fd5b505af1158015610c72573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c969190611c74565b7fffffffff00000000000000000000000000000000000000000000000000000000167fbc197c810000000000000000000000000000000000000000000000000000000014610cf65760405162461bcd60e51b815260040161028e906122cd565b505050505050505050565b60045473ffffffffffffffffffffffffffffffffffffffff1690565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff871680855292529182902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001685151517905590519091907f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3190610dab9085906120b7565b60405180910390a35050565b73ffffffffffffffffffffffffffffffffffffffff8516610dea5760405162461bcd60e51b815260040161028e90612361565b60045473ffffffffffffffffffffffffffffffffffffffff163314610e215760405162461bcd60e51b815260040161028e9061223b565b60025460608467ffffffffffffffff81118015610e3d57600080fd5b50604051908082528060200260200182016040528015610e67578160200160208202803683370190505b50905060005b85811015610f2a5782828281518110610e8257fe5b6020026020010181815250506000878783818110610e9c57fe5b6002805460010180825560008290526020909202939093013593508392915086908110610ec557fe5b9060005260206000209060020201600101819055508060006002018581548110610eeb57fe5b6000918252602080832073ffffffffffffffffffffffffffffffffffffffff8e1684526002909202909101905260409020555060019283019201610e6d565b508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb848a8a604051610fa493929190612087565b60405180910390a4863b80156110c5576040517fbc197c8100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff89169063bc197c819061101390339060009087908d908d908d908d90600401611f81565b602060405180830381600087803b15801561102d57600080fd5b505af1158015611041573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110659190611c74565b7fffffffff00000000000000000000000000000000000000000000000000000000167fbc197c8100000000000000000000000000000000000000000000000000000000146110c55760405162461bcd60e51b815260040161028e906124af565b5050505050505050565b60025460009082106110f35760405162461bcd60e51b815260040161028e90612113565b600280548390811061110157fe5b9060005260206000209060020201600101549050919050565b6002546060908067ffffffffffffffff8111801561113757600080fd5b50604051908082528060200260200182016040528015611161578160200160208202803683370190505b50915060005b818110156111ae57600280548290811061117d57fe5b90600052602060002090600202016001015483828151811061119b57fe5b6020908102919091010152600101611167565b505090565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205460ff1690565b73ffffffffffffffffffffffffffffffffffffffff85166112215760405162461bcd60e51b815260040161028e9061250c565b60025484106112425760405162461bcd60e51b815260040161028e90612569565b73ffffffffffffffffffffffffffffffffffffffff8616331480611296575073ffffffffffffffffffffffffffffffffffffffff8616600090815260016020908152604080832033845290915290205460ff165b6112b25760405162461bcd60e51b815260040161028e906123be565b60008060020185815481106112c357fe5b6000918252602080832073ffffffffffffffffffffffffffffffffffffffff8b1684526002909202909101905260409020549050838110156113175760405162461bcd60e51b815260040161028e906121de565b8381036000600201868154811061132a57fe5b6000918252602080832073ffffffffffffffffffffffffffffffffffffffff8c168452600292830201905260409091209190915580548591908790811061136d57fe5b6000918252602080832073ffffffffffffffffffffffffffffffffffffffff808c16808652600290940290910190915260409283902080549094019093559051909189169033907fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62906113e3908a908a9061263d565b60405180910390a4853b80156110c5576040517ff23a6e6100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff88169063f23a6e619061144f9033908c908b908b908b908b90600401611ff0565b602060405180830381600087803b15801561146957600080fd5b505af115801561147d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114a19190611c74565b7fffffffff00000000000000000000000000000000000000000000000000000000167ff23a6e6100000000000000000000000000000000000000000000000000000000146110c55760405162461bcd60e51b815260040161028e90612181565b60045473ffffffffffffffffffffffffffffffffffffffff163381146115395760405162461bcd60e51b815260040161028e9061223b565b600480547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff84811691821790925560405190918316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6002546060908067ffffffffffffffff811180156115cc57600080fd5b506040519080825280602002602001820160405280156115f6578160200160208202803683370190505b50915060005b8181101561166557600280548290811061161257fe5b6000918252602080832073ffffffffffffffffffffffffffffffffffffffff88168452600290920290910190526040902054835184908390811061165257fe5b60209081029190910101526001016115fc565b5050919050565b6060816116ad575060408051808201909152600181527f30000000000000000000000000000000000000000000000000000000000000006020820152610314565b8160005b81156116c557600101600a820491506116b1565b60608167ffffffffffffffff811180156116de57600080fd5b506040519080825280601f01601f191660200182016040528015611709576020820181803683370190505b5085935090507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82015b831561179057600a840660300160f81b8282806001900393508151811061175657fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a84049350611733565b50949350505050565b828054600181600116156101000203166002900490600052602060002090601f0160209004810192826117cf5760008555611815565b82601f106117e857805160ff1916838001178555611815565b82800160010185558215611815579182015b828111156118155782518255916020019190600101906117fa565b50611821929150611825565b5090565b5b808211156118215760008155600101611826565b803573ffffffffffffffffffffffffffffffffffffffff8116811461031457600080fd5b60008083601f84011261186f578182fd5b50813567ffffffffffffffff811115611886578182fd5b60208301915083602080830285010111156118a057600080fd5b9250929050565b60008083601f8401126118b8578182fd5b50813567ffffffffffffffff8111156118cf578182fd5b6020830191508360208285010111156118a057600080fd5b6000602082840312156118f8578081fd5b6119018261183a565b9392505050565b6000806040838503121561191a578081fd5b6119238361183a565b91506119316020840161183a565b90509250929050565b60008060008060008060008060a0898b031215611955578384fd5b61195e8961183a565b975061196c60208a0161183a565b9650604089013567ffffffffffffffff80821115611988578586fd5b6119948c838d0161185e565b909850965060608b01359150808211156119ac578586fd5b6119b88c838d0161185e565b909650945060808b01359150808211156119d0578384fd5b506119dd8b828c016118a7565b999c989b5096995094979396929594505050565b60008060008060008060a08789031215611a09578182fd5b611a128761183a565b9550611a206020880161183a565b94506040870135935060608701359250608087013567ffffffffffffffff811115611a49578283fd5b611a5589828a016118a7565b979a9699509497509295939492505050565b60008060008060008060006080888a031215611a81578283fd5b611a8a8861183a565b9650602088013567ffffffffffffffff80821115611aa6578485fd5b611ab28b838c0161185e565b909850965060408a0135915080821115611aca578485fd5b611ad68b838c0161185e565b909650945060608a0135915080821115611aee578384fd5b50611afb8a828b016118a7565b989b979a50959850939692959293505050565b600080600080600060608688031215611b25578081fd5b611b2e8661183a565b9450602086013567ffffffffffffffff80821115611b4a578283fd5b611b5689838a0161185e565b90965094506040880135915080821115611b6e578283fd5b50611b7b888289016118a7565b969995985093965092949392505050565b60008060408385031215611b9e578182fd5b611ba78361183a565b915060208301358015158114611bbb578182fd5b809150509250929050565b60008060408385031215611bd8578182fd5b611be18361183a565b946020939093013593505050565b60008060008060408587031215611c04578384fd5b843567ffffffffffffffff80821115611c1b578586fd5b611c278883890161185e565b90965094506020870135915080821115611c3f578384fd5b50611c4c8782880161185e565b95989497509550505050565b600060208284031215611c69578081fd5b81356119018161267b565b600060208284031215611c85578081fd5b81516119018161267b565b60006020808385031215611ca2578182fd5b823567ffffffffffffffff80821115611cb9578384fd5b818501915085601f830112611ccc578384fd5b813581811115611cd857fe5b604051847fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8401168201018181108482111715611d1357fe5b6040528181528382018501881015611d29578586fd5b818585018683013790810190930193909352509392505050565b600060208284031215611d54578081fd5b5035919050565b60008284527f07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff831115611d8c578081fd5b6020830280836020870137939093016020019283525090919050565b6000815180845260208085019450808401835b83811015611dd757815187529582019590820190600101611dbb565b509495945050505050565b600082845282826020860137806020848601015260207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f85011685010190509392505050565b60008351611e3c81846020880161264b565b835190830190611e5081836020880161264b565b01949350505050565b6000808454600180821660008114611e785760018114611ead57611edc565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0083168652607f600284041686019350611edc565b600283048886526020808720875b83811015611ed45781548a820152908501908201611ebb565b505050860193505b5050508351611e5081836020880161264b565b73ffffffffffffffffffffffffffffffffffffffff91909116815260200190565b600073ffffffffffffffffffffffffffffffffffffffff808b168352808a1660208401525060a06040830152611f4a60a08301888a611d5b565b8281036060840152611f5d818789611d5b565b90508281036080840152611f72818587611de2565b9b9a5050505050505050505050565b600073ffffffffffffffffffffffffffffffffffffffff808a16835280891660208401525060a06040830152611fba60a0830188611da8565b8281036060840152611fcd818789611d5b565b90508281036080840152611fe2818587611de2565b9a9950505050505050505050565b600073ffffffffffffffffffffffffffffffffffffffff808916835280881660208401525085604083015284606083015260a0608083015261203660a083018486611de2565b98975050505050505050565b600060408252612056604083018688611d5b565b8281036020840152612069818587611d5b565b979650505050505050565b6000602082526119016020830184611da8565b60006040825261209a6040830186611da8565b82810360208401526120ad818587611d5b565b9695505050505050565b901515815260200190565b60006020825282518060208401526120e181604085016020870161264b565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169190910160400192915050565b6020808252601d908201527f566f757263686572733a2020566f7563686572206e6f7420666f756e64000000604082015260600190565b60208082526016908201527f566f7563686572733a206964206e6f7420666f756e6400000000000000000000604082015260600190565b60208082526029908201527f566f7563686572733a205472616e736665722072656a65637465642f6661696c60408201527f6564206279205f746f0000000000000000000000000000000000000000000000606082015260800190565b60208082526025908201527f566f7563686572733a205f76616c75652067726561746572207468616e20626160408201527f6c616e6365000000000000000000000000000000000000000000000000000000606082015260800190565b6020808252818101527f566f7563686572733a204d75737420626520636f6e7472616374206f776e6572604082015260600190565b6020808252602d908201527f566f7563686572733a205f696473206e6f74207468652073616d65206c656e6760408201527f7468206173205f76616c75657300000000000000000000000000000000000000606082015260800190565b6020808252601e908201527f566f7563686572733a204d696e742072656a65637465642f6661696c65640000604082015260600190565b6020808252602f908201527f566f7563686572733a204261746368207472616e736665722072656a6563746560408201527f642f6661696c6564206279205f746f0000000000000000000000000000000000606082015260800190565b60208082526021908201527f566f7563686572733a2043616e2774206d696e7420746f20302061646472657360408201527f7300000000000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526022908201527f566f7563686572733a204e6f7420617070726f76656420746f207472616e736660408201527f6572000000000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526029908201527f566f7563686572733a205f6f776e657273206e6f742073616d65206c656e677460408201527f68206173205f6964730000000000000000000000000000000000000000000000606082015260800190565b60208082526019908201527f5f6964206e6f7420666f756e6420666f7220207469636b657400000000000000604082015260600190565b6020808252602c908201527f566f7563686572733a20637265617465566f756368657254797065732072656a60408201527f65637465642f6661696c65640000000000000000000000000000000000000000606082015260800190565b60208082526025908201527f566f7563686572733a2043616e2774207472616e7366657220746f203020616460408201527f6472657373000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526017908201527f566f7563686572733a205f6964206e6f7420666f756e64000000000000000000604082015260600190565b6020808252602d908201527f566f7563686572733a205f696473206d7573742062652073616d65206c656e6760408201527f7468206173205f76616c75657300000000000000000000000000000000000000606082015260800190565b6020808252601b908201527f566f7563686572733a20696420646f6573206e6f742065786973740000000000604082015260600190565b90815260200190565b918252602082015260400190565b60005b8381101561266657818101518382015260200161264e565b83811115612675576000848401525b50505050565b7fffffffff00000000000000000000000000000000000000000000000000000000811681146126a957600080fd5b5056fea2646970667358221220134b33672600f6e3ff365cda3d23b0c6d49a22f79520ba0a82649efd84b962e064736f6c63430007040033

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

000000000000000000000000819c3fc356bb319035f9d2886fac9e57df0343f5

-----Decoded View---------------
Arg [0] : _contractOwner (address): 0x819C3fc356bb319035f9D2886fAc9E57DF0343F5

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000819c3fc356bb319035f9d2886fac9e57df0343f5


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.