Contract 0xf0ed8966761D514DFE247bcAAd66969d7b377632

 
 
Txn Hash
Method
Block
From
To
Value
0xa88cb99bddee8375d0d1e0f2522ff485dcb11092bf440c7d80e99b4f0d15f98bSafe Transfer Fr...152177732022-07-26 11:14:10130 days 10 hrs ago0x3ad0bd16800a6ce1e62b8cb1eb349d5e9964fa0e IN  0xf0ed8966761d514dfe247bcaad66969d7b3776320 Ether0.00063449 11.06145255
0x80435776a5a2ae3790671e5cce61f83131dc703d64b86e523d6b93f94c5fcd8aSafe Transfer Fr...152177672022-07-26 11:12:53130 days 10 hrs ago0x3ad0bd16800a6ce1e62b8cb1eb349d5e9964fa0e IN  0xf0ed8966761d514dfe247bcaad66969d7b3776320 Ether0.00068458 11.9347557
0x1ef026e79a2a5f1b08a8531283ee2ade321ca6c29aa17b821c05c19b79fe0d21Safe Transfer Fr...149339442022-06-09 18:07:22177 days 3 hrs ago0x3ad0bd16800a6ce1e62b8cb1eb349d5e9964fa0e IN  0xf0ed8966761d514dfe247bcaad66969d7b3776320 Ether0.00550298 95.93594193
0x20ba5a48d8eda468978f58ec2dd57ec819b88d58a06f1387bb4c112349bba202Safe Transfer Fr...148966152022-06-03 10:22:40183 days 11 hrs ago0x3ad0bd16800a6ce1e62b8cb1eb349d5e9964fa0e IN  0xf0ed8966761d514dfe247bcaad66969d7b3776320 Ether0.00148233 25.84220293
0x42657bbe630ebb897c8b1ef2c20e5343f393cef7e75c2b942d9a2fbf3870efe2Set Approval For...148962752022-06-03 9:09:27183 days 12 hrs ago0x4bf616b37ffd9bfee3323d2a1b162732b8499fde IN  0xf0ed8966761d514dfe247bcaad66969d7b3776320 Ether0.0019887 42.74570588
0x68dbc4be822a08fd35cfb0cacd71aa3a6e6ad69cee9b333005dfc6b03b3db4b5Set Approval For...148958762022-06-03 7:38:57183 days 14 hrs ago0x3ad0bd16800a6ce1e62b8cb1eb349d5e9964fa0e IN  0xf0ed8966761d514dfe247bcaad66969d7b3776320 Ether0.00219413 47.1612736
0xde404270d2e4ee9a871225334e19f442e75bd471ed997cee5d0c590d9293e11aSafe Transfer Fr...148907922022-06-02 11:44:48184 days 10 hrs ago0x3ad0bd16800a6ce1e62b8cb1eb349d5e9964fa0e IN  0xf0ed8966761d514dfe247bcaad66969d7b3776320 Ether0.00234176 40.82498672
0xc11e852504f9dd770b3665c2a912f9f46829ab2480bc68751992da6d9ddc713dSafe Transfer Fr...148837602022-06-01 8:12:41185 days 13 hrs ago0x3ad0bd16800a6ce1e62b8cb1eb349d5e9964fa0e IN  0xf0ed8966761d514dfe247bcaad66969d7b3776320 Ether0.00154478 26.930857
0x1a3aa2c2fd640cf32cc29b05c3fac7404d49122c15e83bcb262466a7a7bfee50Safe Transfer Fr...148801342022-05-31 17:58:11186 days 3 hrs ago0x3ad0bd16800a6ce1e62b8cb1eb349d5e9964fa0e IN  0xf0ed8966761d514dfe247bcaad66969d7b3776320 Ether0.00331248 57.74799707
0x476644c054e6cc4970fc3bb1abbd96afa65ecd094275ab61aa9b6db48e9fcacfMint148799412022-05-31 17:12:59186 days 4 hrs ago0x3ad0bd16800a6ce1e62b8cb1eb349d5e9964fa0e IN  0xf0ed8966761d514dfe247bcaad66969d7b3776320 Ether0.00335248 59.7197411
0x17d83b83ca6604848f95cab089adae7dcde3d5ab65b34e81d2e0101c56b8ec71Mint148799372022-05-31 17:11:19186 days 4 hrs ago0x3ad0bd16800a6ce1e62b8cb1eb349d5e9964fa0e IN  0xf0ed8966761d514dfe247bcaad66969d7b3776320 Ether0.00263348 46.91178609
0x0c3c56337957d76a59833531d76cc68756b379d5c6d8e594e9a7f4d09a2970ceMint148799322022-05-31 17:10:20186 days 4 hrs ago0x3ad0bd16800a6ce1e62b8cb1eb349d5e9964fa0e IN  0xf0ed8966761d514dfe247bcaad66969d7b3776320 Ether0.0026935 47.98092666
0x971a471eeaf45f3c320b319e5333938580117623cb17094ab3e067339f2cefbcMint148730452022-05-30 14:26:58187 days 7 hrs ago0x3ad0bd16800a6ce1e62b8cb1eb349d5e9964fa0e IN  0xf0ed8966761d514dfe247bcaad66969d7b3776320 Ether0.00345323 47.15150224
[ Download CSV Export 
Latest 1 internal transaction
Parent Txn Hash Block From To Value
0x03344083fa8e5d6ee0a389ee48037ab947d204ea85899f2a24133b636e3a3b19148730052022-05-30 14:17:41187 days 7 hrs ago 0x59f41e2116f7d1b524c0542aba0481ecc0eacced  Contract Creation0 Ether
[ Download CSV Export 
Loading

Similar Match Source Code
Note: This contract matches the deployed ByteCode of the Source Code for Contract 0xc58d5ec9b31516321CAd1d0Cfd4020545843606a

Contract Name:
cvCollectibles

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2021-08-25
*/

/**
 *Submitted for verification at polygonscan.com on 2021-06-10
*/

// File: @openzeppelin/contracts/introspection/IERC165.sol

pragma solidity >=0.6.0 <=0.8.0;

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

// File: @openzeppelin/contracts/token/ERC1155/IERC1155.sol

/**
 * @dev Required interface of an ERC1155 compliant contract, as defined in the
 * https://eips.ethereum.org/EIPS/eip-1155[EIP].
 *
 * _Available since v3.1._
 */
interface IERC1155 is IERC165 {
    /**
     * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`.
     */
    event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value);

    /**
     * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all
     * transfers.
     */
    event TransferBatch(address indexed operator, address indexed from, address indexed to, uint256[] ids, uint256[] values);

    /**
     * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to
     * `approved`.
     */
    event ApprovalForAll(address indexed account, address indexed operator, bool approved);

    /**
     * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI.
     *
     * If an {URI} event was emitted for `id`, the standard
     * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value
     * returned by {IERC1155MetadataURI-uri}.
     */
    event URI(string value, uint256 indexed id);

    /**
     * @dev Returns the amount of tokens of token type `id` owned by `account`.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function balanceOf(address account, uint256 id) external view returns (uint256);

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}.
     *
     * Requirements:
     *
     * - `accounts` and `ids` must have the same length.
     */
    function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids) external view returns (uint256[] memory);

    /**
     * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`,
     *
     * Emits an {ApprovalForAll} event.
     *
     * Requirements:
     *
     * - `operator` cannot be the caller.
     */
    function setApprovalForAll(address operator, bool approved) external;

    /**
     * @dev Returns true if `operator` is approved to transfer ``account``'s tokens.
     *
     * See {setApprovalForAll}.
     */
    function isApprovedForAll(address account, address operator) external view returns (bool);

    /**
     * @dev Transfers `amount` tokens of token type `id` from `from` to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - If the caller is not `from`, it must be have been approved to spend ``from``'s tokens via {setApprovalForAll}.
     * - `from` must have a balance of tokens of type `id` of at least `amount`.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function safeTransferFrom(address from, address to, uint256 id, uint256 amount, bytes calldata data) external;

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function safeBatchTransferFrom(address from, address to, uint256[] calldata ids, uint256[] calldata amounts, bytes calldata data) external;
}


/**
 * @dev Interface of the optional ERC1155MetadataExtension interface, as defined
 * in the https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[EIP].
 *
 * _Available since v3.1._
 */
interface IERC1155MetadataURI is IERC1155 {
    /**
     * @dev Returns the URI for token type `id`.
     *
     * If the `\{id\}` substring is present in the URI, it must be replaced by
     * clients with the actual token type ID.
     */
    function uri(uint256 id) external view returns (string memory);
}

/**
 * @title Counters
 * @author Matt Condon (@shrugs)
 * @dev Provides counters that can only be incremented or decremented by one. This can be used e.g. to track the number
 * of elements in a mapping, issuing ERC721 ids, or counting request ids.
 *
 * Include with `using Counters for Counters.Counter;`
 */
library Counters {
    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

    function current(Counter storage counter) internal view returns (uint256) {
        return counter._value;
    }

    function increment(Counter storage counter) internal {

        counter._value += 1;
        
    }

    function decrement(Counter storage counter) internal {
        uint256 value = counter._value;
        require(value > 0, "Counter: decrement overflow");

        counter._value = value - 1;
        
    }
}


/**
 * _Available since v3.1._
 */
interface IERC1155Receiver is IERC165 {

    /**
        @dev Handles the receipt of a single ERC1155 token type. This function is
        called at the end of a `safeTransferFrom` after the balance has been updated.
        To accept the transfer, this must return
        `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))`
        (i.e. 0xf23a6e61, or its own function selector).
        @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)"))` if transfer is allowed
    */
    function onERC1155Received(
        address operator,
        address from,
        uint256 id,
        uint256 value,
        bytes calldata data
    )
        external
        returns(bytes4);

    /**
        @dev Handles the receipt of a multiple ERC1155 token types. This function
        is called at the end of a `safeBatchTransferFrom` after the balances have
        been updated. To accept the transfer(s), this must return
        `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))`
        (i.e. 0xbc197c81, or its own function selector).
        @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)"))` if transfer is allowed
    */
    function onERC1155BatchReceived(
        address operator,
        address from,
        uint256[] calldata ids,
        uint256[] calldata values,
        bytes calldata data
    )
        external
        returns(bytes4);
}


/*
 * @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.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address payable) {
        return payable(msg.sender);
    }

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


/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts may inherit from this and call {_registerInterface} to declare
 * their support of an interface.
 */
abstract contract ERC165 is IERC165 {
    /*
     * bytes4(keccak256('supportsInterface(bytes4)')) == 0x01ffc9a7
     */
    bytes4 private constant _INTERFACE_ID_ERC165 = 0x01ffc9a7;

    /**
     * @dev Mapping of interface ids to whether or not it's supported.
     */
    mapping(bytes4 => bool) private _supportedInterfaces;

    constructor () internal {
        // Derived contracts need only register support for their own interfaces,
        // we register support for ERC165 itself here
        _registerInterface(_INTERFACE_ID_ERC165);
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     *
     * Time complexity O(1), guaranteed to always use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return _supportedInterfaces[interfaceId];
    }

    /**
     * @dev Registers the contract as an implementer of the interface defined by
     * `interfaceId`. Support of the actual ERC165 interface is automatic and
     * registering its interface id is not required.
     *
     * See {IERC165-supportsInterface}.
     *
     * Requirements:
     *
     * - `interfaceId` cannot be the ERC165 invalid interface (`0xffffffff`).
     */
    function _registerInterface(bytes4 interfaceId) internal virtual {
        require(interfaceId != 0xffffffff, "ERC165: invalid interface id");
        _supportedInterfaces[interfaceId] = true;
    }
}

// File: @openzeppelin/contracts/math/SafeMath.sol

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        uint256 c = a + b;
        if (c < a) return (false, 0);
        return (true, c);
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b > a) return (false, 0);
        return (true, a - b);
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, 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-contracts/pull/522
        if (a == 0) return (true, 0);
        uint256 c = a * b;
        if (c / a != b) return (false, 0);
        return (true, c);
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b == 0) return (false, 0);
        return (true, a / b);
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b == 0) return (false, 0);
        return (true, a % b);
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");
        return c;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        require(b <= a, "SafeMath: subtraction overflow");
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        if (a == 0) return 0;
        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");
        return c;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        require(b > 0, "SafeMath: division by zero");
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        require(b > 0, "SafeMath: modulo by zero");
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        return a - b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryDiv}.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        return a % b;
    }
}

// File: @openzeppelin/contracts/utils/Address.sol

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

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

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

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (bool success, ) = recipient.call{ value: amount }("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

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

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

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

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

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

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

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

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

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

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

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

    function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

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

// File: @openzeppelin/contracts/token/ERC1155/ERC1155.sol







/**
 *
 * @dev Implementation of the basic standard multi-token.
 * See https://eips.ethereum.org/EIPS/eip-1155
 * Originally based on code by Enjin: https://github.com/enjin/erc-1155
 *
 * _Available since v3.1._
 */
contract ERC1155 is Context, ERC165, IERC1155, IERC1155MetadataURI {
    using SafeMath for uint256;
    using Address for address;

    // Mapping from token ID to account balances
    mapping (uint256 => mapping(address => uint256)) private _balances;

    // Mapping from account to operator approvals
    mapping (address => mapping(address => bool)) private _operatorApprovals;

    // Used as the URI for all token types by relying on ID substitution, e.g. https://token-cdn-domain/{id}.json
    string private _uri;

    /*
     *     bytes4(keccak256('balanceOf(address,uint256)')) == 0x00fdd58e
     *     bytes4(keccak256('balanceOfBatch(address[],uint256[])')) == 0x4e1273f4
     *     bytes4(keccak256('setApprovalForAll(address,bool)')) == 0xa22cb465
     *     bytes4(keccak256('isApprovedForAll(address,address)')) == 0xe985e9c5
     *     bytes4(keccak256('safeTransferFrom(address,address,uint256,uint256,bytes)')) == 0xf242432a
     *     bytes4(keccak256('safeBatchTransferFrom(address,address,uint256[],uint256[],bytes)')) == 0x2eb2c2d6
     *
     *     => 0x00fdd58e ^ 0x4e1273f4 ^ 0xa22cb465 ^
     *        0xe985e9c5 ^ 0xf242432a ^ 0x2eb2c2d6 == 0xd9b67a26
     */
    bytes4 private constant _INTERFACE_ID_ERC1155 = 0xd9b67a26;

    /*
     *     bytes4(keccak256('uri(uint256)')) == 0x0e89341c
     */
    bytes4 private constant _INTERFACE_ID_ERC1155_METADATA_URI = 0x0e89341c;

    /**
     * @dev See {_setURI}.
     */
    constructor (string memory uri_) public {
        _setURI(uri_);

        // register the supported interfaces to conform to ERC1155 via ERC165
        _registerInterface(_INTERFACE_ID_ERC1155);

        // register the supported interfaces to conform to ERC1155MetadataURI via ERC165
        _registerInterface(_INTERFACE_ID_ERC1155_METADATA_URI);
    }

    /**
     * @dev See {IERC1155MetadataURI-uri}.
     *
     * This implementation returns the same URI for *all* token types. It relies
     * on the token type ID substitution mechanism
     * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP].
     *
     * Clients calling this function must replace the `\{id\}` substring with the
     * actual token type ID.
     */
    function uri(uint256) external view virtual override returns (string memory) {
        return _uri;
    }

    /**
     * @dev See {IERC1155-balanceOf}.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function balanceOf(address account, uint256 id) public view virtual override returns (uint256) {
        require(account != address(0), "ERC1155: balance query for the zero address");
        return _balances[id][account];
    }

    /**
     * @dev See {IERC1155-balanceOfBatch}.
     *
     * Requirements:
     *
     * - `accounts` and `ids` must have the same length.
     */
    function balanceOfBatch(
        address[] memory accounts,
        uint256[] memory ids
    )
        public
        view
        virtual
        override
        returns (uint256[] memory)
    {
        require(accounts.length == ids.length, "ERC1155: accounts and ids length mismatch");

        uint256[] memory batchBalances = new uint256[](accounts.length);

        for (uint256 i = 0; i < accounts.length; ++i) {
            batchBalances[i] = balanceOf(accounts[i], ids[i]);
        }

        return batchBalances;
    }

    /**
     * @dev See {IERC1155-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        require(_msgSender() != operator, "ERC1155: setting approval status for self");

        _operatorApprovals[_msgSender()][operator] = approved;
        emit ApprovalForAll(_msgSender(), operator, approved);
    }

    /**
     * @dev See {IERC1155-isApprovedForAll}.
     */
    function isApprovedForAll(address account, address operator) public view virtual override returns (bool) {
        return _operatorApprovals[account][operator];
    }

    /**
     * @dev See {IERC1155-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    )
        public
        virtual
        override
    {
        require(to != address(0), "ERC1155: transfer to the zero address");
        require(
            from == _msgSender() || isApprovedForAll(from, _msgSender()),
            "ERC1155: caller is not owner nor approved"
        );

        address operator = _msgSender();

        _beforeTokenTransfer(operator, from, to, _asSingletonArray(id), _asSingletonArray(amount), data);

        _balances[id][from] = _balances[id][from].sub(amount, "ERC1155: insufficient balance for transfer");
        _balances[id][to] = _balances[id][to].add(amount);

        emit TransferSingle(operator, from, to, id, amount);

        _doSafeTransferAcceptanceCheck(operator, from, to, id, amount, data);
    }

    /**
     * @dev See {IERC1155-safeBatchTransferFrom}.
     */
    function safeBatchTransferFrom(
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    )
        public
        virtual
        override
    {
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");
        require(to != address(0), "ERC1155: transfer to the zero address");
        require(
            from == _msgSender() || isApprovedForAll(from, _msgSender()),
            "ERC1155: transfer caller is not owner nor approved"
        );

        address operator = _msgSender();

        _beforeTokenTransfer(operator, from, to, ids, amounts, data);

        for (uint256 i = 0; i < ids.length; ++i) {
            uint256 id = ids[i];
            uint256 amount = amounts[i];

            _balances[id][from] = _balances[id][from].sub(
                amount,
                "ERC1155: insufficient balance for transfer"
            );
            _balances[id][to] = _balances[id][to].add(amount);
        }

        emit TransferBatch(operator, from, to, ids, amounts);

        _doSafeBatchTransferAcceptanceCheck(operator, from, to, ids, amounts, data);
    }

    /**
     * @dev Sets a new URI for all token types, by relying on the token type ID
     * substitution mechanism
     * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP].
     *
     * By this mechanism, any occurrence of the `\{id\}` substring in either the
     * URI or any of the amounts in the JSON file at said URI will be replaced by
     * clients with the token type ID.
     *
     * For example, the `https://token-cdn-domain/\{id\}.json` URI would be
     * interpreted by clients as
     * `https://token-cdn-domain/000000000000000000000000000000000000000000000000000000000004cce0.json`
     * for token type ID 0x4cce0.
     *
     * See {uri}.
     *
     * Because these URIs cannot be meaningfully represented by the {URI} event,
     * this function emits no events.
     */
    function _setURI(string memory newuri) internal virtual {
        _uri = newuri;
    }

    /**
     * @dev Creates `amount` tokens of token type `id`, and assigns them to `account`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - If `account` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function _mint(address account, uint256 id, uint256 amount, bytes memory data) internal virtual {
        require(account != address(0), "ERC1155: mint to the zero address");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, address(0), account, _asSingletonArray(id), _asSingletonArray(amount), data);

        _balances[id][account] = _balances[id][account].add(amount);
        emit TransferSingle(operator, address(0), account, id, amount);

        _doSafeTransferAcceptanceCheck(operator, address(0), account, id, amount, data);
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_mint}.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function _mintBatch(address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data) internal virtual {
        require(to != address(0), "ERC1155: mint to the zero address");
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, address(0), to, ids, amounts, data);

        for (uint i = 0; i < ids.length; i++) {
            _balances[ids[i]][to] = amounts[i].add(_balances[ids[i]][to]);
        }

        emit TransferBatch(operator, address(0), to, ids, amounts);

        _doSafeBatchTransferAcceptanceCheck(operator, address(0), to, ids, amounts, data);
    }

    /**
     * @dev Destroys `amount` tokens of token type `id` from `account`
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens of token type `id`.
     */
    function _burn(address account, uint256 id, uint256 amount) internal virtual {
        require(account != address(0), "ERC1155: burn from the zero address");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, account, address(0), _asSingletonArray(id), _asSingletonArray(amount), "");

        _balances[id][account] = _balances[id][account].sub(
            amount,
            "ERC1155: burn amount exceeds balance"
        );

        emit TransferSingle(operator, account, address(0), id, amount);
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_burn}.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     */
    function _burnBatch(address account, uint256[] memory ids, uint256[] memory amounts) internal virtual {
        require(account != address(0), "ERC1155: burn from the zero address");
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, account, address(0), ids, amounts, "");

        for (uint i = 0; i < ids.length; i++) {
            _balances[ids[i]][account] = _balances[ids[i]][account].sub(
                amounts[i],
                "ERC1155: burn amount exceeds balance"
            );
        }

        emit TransferBatch(operator, account, address(0), ids, amounts);
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning, as well as batched variants.
     *
     * The same hook is called on both single and batched variants. For single
     * transfers, the length of the `id` and `amount` arrays will be 1.
     *
     * Calling conditions (for each `id` and `amount` pair):
     *
     * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * of token type `id` will be  transferred to `to`.
     * - When `from` is zero, `amount` tokens of token type `id` will be minted
     * for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens of token type `id`
     * will be burned.
     * - `from` and `to` are never both zero.
     * - `ids` and `amounts` have the same, non-zero length.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    )
        internal
        virtual
    { }

    function _doSafeTransferAcceptanceCheck(
        address operator,
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    )
        private
    {
        if (to.isContract()) {
            try IERC1155Receiver(to).onERC1155Received(operator, from, id, amount, data) returns (bytes4 response) {
                if (response != IERC1155Receiver(to).onERC1155Received.selector) {
                    revert("ERC1155: ERC1155Receiver rejected tokens");
                }
            } catch Error(string memory reason) {
                revert(reason);
            } catch {
                revert("ERC1155: transfer to non ERC1155Receiver implementer");
            }
        }
    }

    function _doSafeBatchTransferAcceptanceCheck(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    )
        private
    {
        if (to.isContract()) {
            try IERC1155Receiver(to).onERC1155BatchReceived(operator, from, ids, amounts, data) returns (bytes4 response) {
                if (response != IERC1155Receiver(to).onERC1155BatchReceived.selector) {
                    revert("ERC1155: ERC1155Receiver rejected tokens");
                }
            } catch Error(string memory reason) {
                revert(reason);
            } catch {
                revert("ERC1155: transfer to non ERC1155Receiver implementer");
            }
        }
    }

    function _asSingletonArray(uint256 element) private pure returns (uint256[] memory) {
        uint256[] memory array = new uint256[](1);
        array[0] = element;

        return array;
    }
}

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;
    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor () internal {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

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

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

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        emit OwnershipTransferred(_owner, address(0));
        _owner = address(0);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}


/**
 * https://github.com/maticnetwork/pos-portal/blob/master/contracts/common/ContextMixin.sol
 */
abstract contract ContextMixin {
    function msgSender()
        internal
        view
        returns (address payable sender)
    {
        if (msg.sender == address(this)) {
            bytes memory array = msg.data;
            uint256 index = msg.data.length;
            assembly {
                // Load the 32 bytes word from memory with the address on the lower 20 bytes, and mask those.
                sender := and(
                    mload(add(array, index)),
                    0xffffffffffffffffffffffffffffffffffffffff
                )
            }
        } else {
            sender = payable(msg.sender);
        }
        return sender;
    }
}

/**
 * https://github.com/maticnetwork/pos-portal/blob/master/contracts/common/Initializable.sol
 */
contract Initializable {
    bool inited = false;

    modifier initializer() {
        require(!inited, "already inited");
        _;
        inited = true;
    }
}

/**
 * https://github.com/maticnetwork/pos-portal/blob/master/contracts/common/EIP712Base.sol
 */
contract EIP712Base is Initializable {
    struct EIP712Domain {
        string name;
        string version;
        address verifyingContract;
        bytes32 salt;
    }

    string constant public ERC712_VERSION = "1";

    bytes32 internal constant EIP712_DOMAIN_TYPEHASH = keccak256(
        bytes(
            "EIP712Domain(string name,string version,address verifyingContract,bytes32 salt)"
        )
    );
    bytes32 internal domainSeperator;

    // supposed to be called once while initializing.
    // one of the contractsa that inherits this contract follows proxy pattern
    // so it is not possible to do this in a constructor
    function _initializeEIP712(
        string memory name
    )
        internal
        initializer
    {
        _setDomainSeperator(name);
    }

    function _setDomainSeperator(string memory name) internal {
        domainSeperator = keccak256(
            abi.encode(
                EIP712_DOMAIN_TYPEHASH,
                keccak256(bytes(name)),
                keccak256(bytes(ERC712_VERSION)),
                address(this),
                bytes32(getChainId())
            )
        );
    }

    function getDomainSeperator() public view returns (bytes32) {
        return domainSeperator;
    }

    function getChainId() public view returns (uint256) {
        uint256 id;
        assembly {
            id := chainid()
        }
        return id;
    }

    /**
     * Accept message hash and returns hash message in EIP712 compatible form
     * So that it can be used to recover signer from signature signed using EIP712 formatted data
     * https://eips.ethereum.org/EIPS/eip-712
     * "\\x19" makes the encoding deterministic
     * "\\x01" is the version byte to make it compatible to EIP-191
     */
    function toTypedMessageHash(bytes32 messageHash)
        internal
        view
        returns (bytes32)
    {
        return
            keccak256(
                abi.encodePacked("\x19\x01", getDomainSeperator(), messageHash)
            );
    }
}

/**
 * https://github.com/maticnetwork/pos-portal/blob/master/contracts/common/NativeMetaTransaction.sol
 */
contract NativeMetaTransaction is EIP712Base {
    using SafeMath for uint256;
    bytes32 private constant META_TRANSACTION_TYPEHASH = keccak256(
        bytes(
            "MetaTransaction(uint256 nonce,address from,bytes functionSignature)"
        )
    );
    event MetaTransactionExecuted(
        address userAddress,
        address payable relayerAddress,
        bytes functionSignature
    );
    mapping(address => uint256) nonces;

    /*
     * Meta transaction structure.
     * No point of including value field here as if user is doing value transfer then he has the funds to pay for gas
     * He should call the desired function directly in that case.
     */
    struct MetaTransaction {
        uint256 nonce;
        address from;
        bytes functionSignature;
    }

    function executeMetaTransaction(
        address userAddress,
        bytes memory functionSignature,
        bytes32 sigR,
        bytes32 sigS,
        uint8 sigV
    ) public payable returns (bytes memory) {
        MetaTransaction memory metaTx = MetaTransaction({
            nonce: nonces[userAddress],
            from: userAddress,
            functionSignature: functionSignature
        });

        require(
            verify(userAddress, metaTx, sigR, sigS, sigV),
            "Signer and signature do not match"
        );

        // increase nonce for user (to avoid re-use)
        nonces[userAddress] = nonces[userAddress].add(1);

        emit MetaTransactionExecuted(
            userAddress,
            payable(msg.sender),
            functionSignature
        );

        // Append userAddress and relayer address at the end to extract it from calling context
        (bool success, bytes memory returnData) = address(this).call(
            abi.encodePacked(functionSignature, userAddress)
        );
        require(success, "Function call not successful");

        return returnData;
    }

    function hashMetaTransaction(MetaTransaction memory metaTx)
        internal
        pure
        returns (bytes32)
    {
        return
            keccak256(
                abi.encode(
                    META_TRANSACTION_TYPEHASH,
                    metaTx.nonce,
                    metaTx.from,
                    keccak256(metaTx.functionSignature)
                )
            );
    }

    function getNonce(address user) public view returns (uint256 nonce) {
        nonce = nonces[user];
    }

    function verify(
        address signer,
        MetaTransaction memory metaTx,
        bytes32 sigR,
        bytes32 sigS,
        uint8 sigV
    ) internal view returns (bool) {
        require(signer != address(0), "NativeMetaTransaction: INVALID_SIGNER");
        return
            signer ==
            ecrecover(
                toTypedMessageHash(hashMetaTransaction(metaTx)),
                sigV,
                sigR,
                sigS
            );
    }
}

contract cvCollectibles is ERC1155, ContextMixin, NativeMetaTransaction, Ownable {
    address internal creator;
    using Counters for Counters.Counter;
    Counters.Counter private _tokenIds;
  // Token name
    string private _name;
    constructor (string memory uri_, string memory name_) public ERC1155(uri_) {
        _name = name_;
        _setURI(uri_);
        _initializeEIP712(name_);
        creator = msg.sender;
        
    }
    
    /**
     * @dev See {IERC721Metadata-name}.
     */
    function name() public view virtual returns (string memory) {
        return _name;
    }
    
    function takeOwnership() external {
        require(msg.sender == creator);
        transferOwnership(creator);
    }

    function setURI(string memory uri_) public onlyOwner {
        _setURI(uri_);
    }

  /**
    * @dev Mints some amount of tokens to an address
    * @param _to          Address of the future owner of the token
    * @param _quantity    Amount of tokens to mint
    * @param _data        Data to pass if receiver is contract
    */
  function mint(
    address _to,
    uint256 _quantity,
    bytes memory _data
  ) public onlyOwner {
      _tokenIds.increment();
      uint256 newItemId = _tokenIds.current();
    _mint(_to, newItemId, _quantity, _data);
  }

  /**
     * This is used instead of msg.sender as transactions won't be sent by the original token owner, but by OpenSea.
     */
    function _msgSender()
        internal
        override
        view
        returns (address payable sender)
    {
        return ContextMixin.msgSender();
    }

    /**
    * As another option for supporting trading without requiring meta transactions, override isApprovedForAll to whitelist OpenSea proxy accounts on Matic
    */
    function isApprovedForAll(
        address _owner,
        address _operator
    ) public override view returns (bool isOperator) {
        if (_operator == address(0x207Fa8Df3a17D96Ca7EA4f2893fcdCb78a304101)) {
            return true;
        }
        
        return ERC1155.isApprovedForAll(_owner, _operator);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"uri_","type":"string"},{"internalType":"string","name":"name_","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","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":false,"internalType":"address","name":"userAddress","type":"address"},{"indexed":false,"internalType":"address payable","name":"relayerAddress","type":"address"},{"indexed":false,"internalType":"bytes","name":"functionSignature","type":"bytes"}],"name":"MetaTransactionExecuted","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":[],"name":"ERC712_VERSION","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"userAddress","type":"address"},{"internalType":"bytes","name":"functionSignature","type":"bytes"},{"internalType":"bytes32","name":"sigR","type":"bytes32"},{"internalType":"bytes32","name":"sigS","type":"bytes32"},{"internalType":"uint8","name":"sigV","type":"uint8"}],"name":"executeMetaTransaction","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"getChainId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getDomainSeperator","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"getNonce","outputs":[{"internalType":"uint256","name":"nonce","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"address","name":"_operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"isOperator","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_quantity","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","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":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"uri_","type":"string"}],"name":"setURI","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":"takeOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}]

60806040526004805460ff191690553480156200001b57600080fd5b506040516200296e3803806200296e8339810160408190526200003e9162000448565b81620000516301ffc9a760e01b62000121565b6200005c816200017c565b6200006e636cdb3d1360e11b62000121565b620000806303a24d0760e21b62000121565b5060006200008d62000195565b600780546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3508051620000f090600a906020840190620002f7565b50620000fc826200017c565b6200010781620001b2565b5050600880546001600160a01b031916331790556200058d565b6001600160e01b03198082161415620001575760405162461bcd60e51b81526004016200014e90620004db565b60405180910390fd5b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b805162000191906003906020840190620002f7565b5050565b6000620001ac620001f360201b62000f491760201c565b90505b90565b60045460ff1615620001d85760405162461bcd60e51b81526004016200014e9062000512565b620001e38162000251565b506004805460ff19166001179055565b6000333014156200024c57600080368080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152505050503601516001600160a01b03169150620001af9050565b503390565b6040518060800160405280604f81526020016200291f604f913980516020918201208251838301206040805180820190915260018152603160f81b930192909252907fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc630620002bf620002f3565b604051620002d5959493929190602001620004af565b60408051601f19818403018152919052805160209091012060055550565b4690565b82805462000305906200053a565b90600052602060002090601f01602090048101928262000329576000855562000374565b82601f106200034457805160ff191683800117855562000374565b8280016001018555821562000374579182015b828111156200037457825182559160200191906001019062000357565b506200038292915062000386565b5090565b5b8082111562000382576000815560010162000387565b600082601f830112620003ae578081fd5b81516001600160401b0380821115620003cb57620003cb62000577565b6040516020601f8401601f1916820181018381118382101715620003f357620003f362000577565b60405283825285840181018710156200040a578485fd5b8492505b838310156200042d57858301810151828401820152918201916200040e565b838311156200043e57848185840101525b5095945050505050565b600080604083850312156200045b578182fd5b82516001600160401b038082111562000472578384fd5b62000480868387016200039d565b9350602085015191508082111562000496578283fd5b50620004a5858286016200039d565b9150509250929050565b948552602085019390935260408401919091526001600160a01b03166060830152608082015260a00190565b6020808252601c908201527f4552433136353a20696e76616c696420696e7465726661636520696400000000604082015260600190565b6020808252600e908201526d185b1c9958591e481a5b9a5d195960921b604082015260600190565b6002810460018216806200054f57607f821691505b602082108114156200057157634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b612382806200059d6000396000f3fe60806040526004361061011e5760003560e01c80633408e470116100a057806394d008ef1161006457806394d008ef146102f5578063a22cb46514610315578063e985e9c514610335578063f242432a14610355578063f2fde38b146103755761011e565b80633408e470146102675780634e1273f41461027c57806360536172146102a9578063715018a6146102be5780638da5cb5b146102d35761011e565b80630e89341c116100e75780630e89341c146101dd5780630f7e5970146101fd57806320379ee5146102125780632d0335ab146102275780632eb2c2d6146102475761011e565b8062fdd58e1461012357806301ffc9a71461015957806302fe53051461018657806306fdde03146101a85780630c53c51c146101ca575b600080fd5b34801561012f57600080fd5b5061014361013e36600461186d565b610395565b6040516101509190611c36565b60405180910390f35b34801561016557600080fd5b506101796101743660046119a9565b6103f1565b6040516101509190611c2b565b34801561019257600080fd5b506101a66101a13660046119e1565b610414565b005b3480156101b457600080fd5b506101bd61045f565b6040516101509190611c81565b6101bd6101d83660046117f4565b6104f2565b3480156101e957600080fd5b506101bd6101f8366004611a27565b610672565b34801561020957600080fd5b506101bd610706565b34801561021e57600080fd5b50610143610723565b34801561023357600080fd5b50610143610242366004611665565b610729565b34801561025357600080fd5b506101a66102623660046116b1565b610744565b34801561027357600080fd5b50610143610993565b34801561028857600080fd5b5061029c6102973660046118eb565b610997565b6040516101509190611bf3565b3480156102b557600080fd5b506101a6610ab7565b3480156102ca57600080fd5b506101a6610ae5565b3480156102df57600080fd5b506102e8610b6e565b6040516101509190611b13565b34801561030157600080fd5b506101a6610310366004611896565b610b7d565b34801561032157600080fd5b506101a66103303660046117ba565b610be6565b34801561034157600080fd5b5061017961035036600461167f565b610cb4565b34801561036157600080fd5b506101a6610370366004611757565b610cf4565b34801561038157600080fd5b506101a6610390366004611665565b610e88565b60006001600160a01b0383166103c65760405162461bcd60e51b81526004016103bd90611d30565b60405180910390fd5b5060008181526001602090815260408083206001600160a01b03861684529091529020545b92915050565b6001600160e01b0319811660009081526020819052604090205460ff165b919050565b61041c610fa5565b6001600160a01b031661042d610b6e565b6001600160a01b0316146104535760405162461bcd60e51b81526004016103bd90611f54565b61045c81610fb4565b50565b6060600a805461046e9061219c565b80601f016020809104026020016040519081016040528092919081815260200182805461049a9061219c565b80156104e75780601f106104bc576101008083540402835291602001916104e7565b820191906000526020600020905b8154815290600101906020018083116104ca57829003601f168201915b505050505090505b90565b60408051606081810183526001600160a01b038816600081815260066020908152908590205484528301529181018690526105308782878787610fcb565b61054c5760405162461bcd60e51b81526004016103bd90611f89565b6001600160a01b038716600090815260066020526040902054610570906001611071565b6001600160a01b0388166000908152600660205260409081902091909155517f5845892132946850460bff5a0083f71031bc5bf9aadcd40f1de79423eac9b10b906105c090899033908a90611b27565b60405180910390a1600080306001600160a01b0316888a6040516020016105e8929190611ac1565b60408051601f198184030181529082905261060291611aa5565b6000604051808303816000865af19150503d806000811461063f576040519150601f19603f3d011682016040523d82523d6000602084013e610644565b606091505b5091509150816106665760405162461bcd60e51b81526004016103bd90611dc1565b98975050505050505050565b6060600380546106819061219c565b80601f01602080910402602001604051908101604052809291908181526020018280546106ad9061219c565b80156106fa5780601f106106cf576101008083540402835291602001916106fa565b820191906000526020600020905b8154815290600101906020018083116106dd57829003601f168201915b50505050509050919050565b604051806040016040528060018152602001603160f81b81525081565b60055490565b6001600160a01b031660009081526006602052604090205490565b81518351146107655760405162461bcd60e51b81526004016103bd9061205c565b6001600160a01b03841661078b5760405162461bcd60e51b81526004016103bd90611ebd565b610793610fa5565b6001600160a01b0316856001600160a01b031614806107b957506107b985610350610fa5565b6107d55760405162461bcd60e51b81526004016103bd90611f02565b60006107df610fa5565b90506107ef81878787878761098b565b60005b845181101561092557600085828151811061081d57634e487b7160e01b600052603260045260246000fd5b60200260200101519050600085838151811061084957634e487b7160e01b600052603260045260246000fd5b602002602001015190506108b6816040518060600160405280602a8152602001612323602a91396001600086815260200190815260200160002060008d6001600160a01b03166001600160a01b03168152602001908152602001600020546110a09092919063ffffffff16565b60008381526001602090815260408083206001600160a01b038e811685529252808320939093558a16815220546108ed9082611071565b60009283526001602090815260408085206001600160a01b038c168652909152909220919091555061091e816121d7565b90506107f2565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051610975929190611c06565b60405180910390a461098b8187878787876110d7565b505050505050565b4690565b606081518351146109ba5760405162461bcd60e51b81526004016103bd90612013565b6000835167ffffffffffffffff8111156109e457634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610a0d578160200160208202803683370190505b50905060005b8451811015610aaf57610a74858281518110610a3f57634e487b7160e01b600052603260045260246000fd5b6020026020010151858381518110610a6757634e487b7160e01b600052603260045260246000fd5b6020026020010151610395565b828281518110610a9457634e487b7160e01b600052603260045260246000fd5b6020908102919091010152610aa8816121d7565b9050610a13565b509392505050565b6008546001600160a01b03163314610ace57600080fd5b600854610ae3906001600160a01b0316610e88565b565b610aed610fa5565b6001600160a01b0316610afe610b6e565b6001600160a01b031614610b245760405162461bcd60e51b81526004016103bd90611f54565b6007546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600780546001600160a01b0319169055565b6007546001600160a01b031690565b610b85610fa5565b6001600160a01b0316610b96610b6e565b6001600160a01b031614610bbc5760405162461bcd60e51b81526004016103bd90611f54565b610bc660096111ee565b6000610bd2600961120b565b9050610be08482858561120f565b50505050565b816001600160a01b0316610bf8610fa5565b6001600160a01b03161415610c1f5760405162461bcd60e51b81526004016103bd90611fca565b8060026000610c2c610fa5565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff191692151592909217909155610c70610fa5565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051610ca89190611c2b565b60405180910390a35050565b60006001600160a01b03821673207fa8df3a17d96ca7ea4f2893fcdcb78a3041011415610ce3575060016103eb565b610ced83836112fa565b9392505050565b6001600160a01b038416610d1a5760405162461bcd60e51b81526004016103bd90611ebd565b610d22610fa5565b6001600160a01b0316856001600160a01b03161480610d485750610d4885610350610fa5565b610d645760405162461bcd60e51b81526004016103bd90611e2f565b6000610d6e610fa5565b9050610d8e818787610d7f88611328565b610d8888611328565b8761098b565b610dd5836040518060600160405280602a8152602001612323602a913960008781526001602090815260408083206001600160a01b038d16845290915290205491906110a0565b60008581526001602090815260408083206001600160a01b038b81168552925280832093909355871681522054610e0c9084611071565b60008581526001602090815260408083206001600160a01b03808b168086529190935292819020939093559151909188811691908416907fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6290610e7290899089906120e5565b60405180910390a461098b818787878787611381565b610e90610fa5565b6001600160a01b0316610ea1610b6e565b6001600160a01b031614610ec75760405162461bcd60e51b81526004016103bd90611f54565b6001600160a01b038116610eed5760405162461bcd60e51b81526004016103bd90611d7b565b6007546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600780546001600160a01b0319166001600160a01b0392909216919091179055565b600033301415610fa057600080368080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152505050503601516001600160a01b031691506104ef9050565b503390565b6000610faf610f49565b905090565b8051610fc79060039060208401906114d2565b5050565b60006001600160a01b038616610ff35760405162461bcd60e51b81526004016103bd90611e78565b600161100661100187611452565b6114b0565b838686604051600081526020016040526040516110269493929190611c63565b6020604051602081039080840390855afa158015611048573d6000803e3d6000fd5b505050602060405103516001600160a01b0316866001600160a01b031614905095945050505050565b60008061107e8385612141565b905083811015610ced5760405162461bcd60e51b81526004016103bd90611df8565b600081848411156110c45760405162461bcd60e51b81526004016103bd9190611c81565b506110cf8385612159565b949350505050565b6110e9846001600160a01b03166114cc565b1561098b5760405163bc197c8160e01b81526001600160a01b0385169063bc197c81906111229089908990889088908890600401611b5c565b602060405180830381600087803b15801561113c57600080fd5b505af192505050801561116c575060408051601f3d908101601f19168201909252611169918101906119c5565b60015b6111b557611178612224565b80611183575061119d565b8060405162461bcd60e51b81526004016103bd9190611c81565b60405162461bcd60e51b81526004016103bd90611c94565b6001600160e01b0319811663bc197c8160e01b146111e55760405162461bcd60e51b81526004016103bd90611ce8565b50505050505050565b60018160000160008282546112039190612141565b909155505050565b5490565b6001600160a01b0384166112355760405162461bcd60e51b81526004016103bd906120a4565b600061123f610fa5565b905061125181600087610d7f88611328565b60008481526001602090815260408083206001600160a01b038916845290915290205461127e9084611071565b60008581526001602090815260408083206001600160a01b03808b16808652919093528184209490945551908416907fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62906112dc90899089906120e5565b60405180910390a46112f381600087878787611381565b5050505050565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205460ff1690565b6040805160018082528183019092526060916000919060208083019080368337019050509050828160008151811061137057634e487b7160e01b600052603260045260246000fd5b602090810291909101015292915050565b611393846001600160a01b03166114cc565b1561098b5760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e61906113cc9089908990889088908890600401611bae565b602060405180830381600087803b1580156113e657600080fd5b505af1925050508015611416575060408051601f3d908101601f19168201909252611413918101906119c5565b60015b61142257611178612224565b6001600160e01b0319811663f23a6e6160e01b146111e55760405162461bcd60e51b81526004016103bd90611ce8565b60006040518060800160405280604381526020016122e060439139805160209182012083518483015160408087015180519086012090516114939501611c3f565b604051602081830303815290604052805190602001209050919050565b60006114ba610723565b82604051602001611493929190611af8565b3b151590565b8280546114de9061219c565b90600052602060002090601f0160209004810192826115005760008555611546565b82601f1061151957805160ff1916838001178555611546565b82800160010185558215611546579182015b8281111561154657825182559160200191906001019061152b565b50611552929150611556565b5090565b5b808211156115525760008155600101611557565b600067ffffffffffffffff83111561158557611585612208565b611598601f8401601f19166020016120f3565b90508281528383830111156115ac57600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b038116811461040f57600080fd5b600082601f8301126115ea578081fd5b813560206115ff6115fa8361211d565b6120f3565b828152818101908583018385028701840188101561161b578586fd5b855b858110156116395781358452928401929084019060010161161d565b5090979650505050505050565b600082601f830112611656578081fd5b610ced8383356020850161156b565b600060208284031215611676578081fd5b610ced826115c3565b60008060408385031215611691578081fd5b61169a836115c3565b91506116a8602084016115c3565b90509250929050565b600080600080600060a086880312156116c8578081fd5b6116d1866115c3565b94506116df602087016115c3565b9350604086013567ffffffffffffffff808211156116fb578283fd5b61170789838a016115da565b9450606088013591508082111561171c578283fd5b61172889838a016115da565b9350608088013591508082111561173d578283fd5b5061174a88828901611646565b9150509295509295909350565b600080600080600060a0868803121561176e578081fd5b611777866115c3565b9450611785602087016115c3565b93506040860135925060608601359150608086013567ffffffffffffffff8111156117ae578182fd5b61174a88828901611646565b600080604083850312156117cc578182fd5b6117d5836115c3565b9150602083013580151581146117e9578182fd5b809150509250929050565b600080600080600060a0868803121561180b578081fd5b611814866115c3565b9450602086013567ffffffffffffffff81111561182f578182fd5b61183b88828901611646565b9450506040860135925060608601359150608086013560ff8116811461185f578182fd5b809150509295509295909350565b6000806040838503121561187f578182fd5b611888836115c3565b946020939093013593505050565b6000806000606084860312156118aa578081fd5b6118b3846115c3565b925060208401359150604084013567ffffffffffffffff8111156118d5578182fd5b6118e186828701611646565b9150509250925092565b600080604083850312156118fd578182fd5b823567ffffffffffffffff80821115611914578384fd5b818501915085601f830112611927578384fd5b813560206119376115fa8361211d565b82815281810190858301838502870184018b1015611953578889fd5b8896505b8487101561197c57611968816115c3565b835260019690960195918301918301611957565b5096505086013592505080821115611992578283fd5b5061199f858286016115da565b9150509250929050565b6000602082840312156119ba578081fd5b8135610ced816122c9565b6000602082840312156119d6578081fd5b8151610ced816122c9565b6000602082840312156119f2578081fd5b813567ffffffffffffffff811115611a08578182fd5b8201601f81018413611a18578182fd5b6110cf8482356020840161156b565b600060208284031215611a38578081fd5b5035919050565b6000815180845260208085019450808401835b83811015611a6e57815187529582019590820190600101611a52565b509495945050505050565b60008151808452611a91816020860160208601612170565b601f01601f19169290920160200192915050565b60008251611ab7818460208701612170565b9190910192915050565b60008351611ad3818460208801612170565b60609390931b6bffffffffffffffffffffffff19169190920190815260140192915050565b61190160f01b81526002810192909252602282015260420190565b6001600160a01b0391909116815260200190565b6001600160a01b03848116825283166020820152606060408201819052600090611b5390830184611a79565b95945050505050565b6001600160a01b0386811682528516602082015260a060408201819052600090611b8890830186611a3f565b8281036060840152611b9a8186611a3f565b905082810360808401526106668185611a79565b6001600160a01b03868116825285166020820152604081018490526060810183905260a060808201819052600090611be890830184611a79565b979650505050505050565b600060208252610ced6020830184611a3f565b600060408252611c196040830185611a3f565b8281036020840152611b538185611a3f565b901515815260200190565b90815260200190565b93845260208401929092526001600160a01b03166040830152606082015260800190565b93845260ff9290921660208401526040830152606082015260800190565b600060208252610ced6020830184611a79565b60208082526034908201527f455243313135353a207472616e7366657220746f206e6f6e20455243313135356040820152732932b1b2b4bb32b91034b6b83632b6b2b73a32b960611b606082015260800190565b60208082526028908201527f455243313135353a204552433131353552656365697665722072656a656374656040820152676420746f6b656e7360c01b606082015260800190565b6020808252602b908201527f455243313135353a2062616c616e636520717565727920666f7220746865207a60408201526a65726f206164647265737360a81b606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252601c908201527f46756e6374696f6e2063616c6c206e6f74207375636365737366756c00000000604082015260600190565b6020808252601b908201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604082015260600190565b60208082526029908201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260408201526808185c1c1c9bdd995960ba1b606082015260800190565b60208082526025908201527f4e61746976654d6574615472616e73616374696f6e3a20494e56414c49445f5360408201526424a3a722a960d91b606082015260800190565b60208082526025908201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526032908201527f455243313135353a207472616e736665722063616c6c6572206973206e6f74206040820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526021908201527f5369676e657220616e64207369676e617475726520646f206e6f74206d6174636040820152600d60fb1b606082015260800190565b60208082526029908201527f455243313135353a2073657474696e6720617070726f76616c20737461747573604082015268103337b91039b2b63360b91b606082015260800190565b60208082526029908201527f455243313135353a206163636f756e747320616e6420696473206c656e677468604082015268040dad2e6dac2e8c6d60bb1b606082015260800190565b60208082526028908201527f455243313135353a2069647320616e6420616d6f756e7473206c656e677468206040820152670dad2e6dac2e8c6d60c31b606082015260800190565b60208082526021908201527f455243313135353a206d696e7420746f20746865207a65726f206164647265736040820152607360f81b606082015260800190565b918252602082015260400190565b60405181810167ffffffffffffffff8111828210171561211557612115612208565b604052919050565b600067ffffffffffffffff82111561213757612137612208565b5060209081020190565b60008219821115612154576121546121f2565b500190565b60008282101561216b5761216b6121f2565b500390565b60005b8381101561218b578181015183820152602001612173565b83811115610be05750506000910152565b6002810460018216806121b057607f821691505b602082108114156121d157634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156121eb576121eb6121f2565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b60e01c90565b600060443d1015612234576104ef565b600481823e6308c379a0612248825161221e565b14612252576104ef565b6040513d600319016004823e80513d67ffffffffffffffff816024840111818411171561228257505050506104ef565b8284019250825191508082111561229c57505050506104ef565b503d830160208284010111156122b4575050506104ef565b601f01601f1916810160200160405291505090565b6001600160e01b03198116811461045c57600080fdfe4d6574615472616e73616374696f6e2875696e74323536206e6f6e63652c616464726573732066726f6d2c62797465732066756e6374696f6e5369676e617475726529455243313135353a20696e73756666696369656e742062616c616e636520666f72207472616e73666572a2646970667358221220d8be95875b235f4bba160c8da1829e0c981b9e82e408d64ce5f39f23c9b8cd0264736f6c63430008000033454950373132446f6d61696e28737472696e67206e616d652c737472696e672076657273696f6e2c6164647265737320766572696679696e67436f6e74726163742c627974657333322073616c7429000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000002768747470733a2f2f7777772e63727970746f766f78656c732e636f6d2f632f3237372f7b69647d00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001445756c65724265617473205765617261626c6573000000000000000000000000

Deployed ByteCode Sourcemap

49897:2157:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29701:231;;;;;;;;;;-1:-1:-1;29701:231:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;10698:150;;;;;;;;;;-1:-1:-1;10698:150:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;50652:85::-;;;;;;;;;;-1:-1:-1;50652:85:0;;;;;:::i;:::-;;:::i;:::-;;50421:91;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;47712:1151::-;;;;;;:::i;:::-;;:::i;29443:107::-;;;;;;;;;;-1:-1:-1;29443:107:0;;;;;:::i;:::-;;:::i;44864:43::-;;;;;;;;;;;;;:::i;45874:101::-;;;;;;;;;;;;;:::i;49289:107::-;;;;;;;;;;-1:-1:-1;49289:107:0;;;;;:::i;:::-;;:::i;32344:1220::-;;;;;;;;;;-1:-1:-1;32344:1220:0;;;;;:::i;:::-;;:::i;45983:161::-;;;;;;;;;;;;;:::i;30098:549::-;;;;;;;;;;-1:-1:-1;30098:549:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;50524:120::-;;;;;;;;;;;;;:::i;42942:148::-;;;;;;;;;;;;;:::i;42291:87::-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;50996:233::-;;;;;;;;;;-1:-1:-1;50996:233:0;;;;;:::i;:::-;;:::i;30720:311::-;;;;;;;;;;-1:-1:-1;30720:311:0;;;;;:::i;:::-;;:::i;51721:330::-;;;;;;;;;;-1:-1:-1;51721:330:0;;;;;:::i;:::-;;:::i;31343:924::-;;;;;;;;;;-1:-1:-1;31343:924:0;;;;;:::i;:::-;;:::i;43245:244::-;;;;;;;;;;-1:-1:-1;43245:244:0;;;;;:::i;:::-;;:::i;29701:231::-;29787:7;-1:-1:-1;;;;;29815:21:0;;29807:77;;;;-1:-1:-1;;;29807:77:0;;;;;;;:::i;:::-;;;;;;;;;-1:-1:-1;29902:13:0;;;;:9;:13;;;;;;;;-1:-1:-1;;;;;29902:22:0;;;;;;;;;;29701:231;;;;;:::o;10698:150::-;-1:-1:-1;;;;;;10807:33:0;;10783:4;10807:33;;;;;;;;;;;;;10698:150;;;;:::o;50652:85::-;42522:12;:10;:12::i;:::-;-1:-1:-1;;;;;42511:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;42511:23:0;;42503:68;;;;-1:-1:-1;;;42503:68:0;;;;;;;:::i;:::-;50716:13:::1;50724:4;50716:7;:13::i;:::-;50652:85:::0;:::o;50421:91::-;50466:13;50499:5;50492:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50421:91;;:::o;47712:1151::-;47970:152;;;47913:12;47970:152;;;;;-1:-1:-1;;;;;48008:19:0;;47938:29;48008:19;;;:6;:19;;;;;;;;;47970:152;;;;;;;;;;;48157:45;48015:11;47970:152;48185:4;48191;48197;48157:6;:45::i;:::-;48135:128;;;;-1:-1:-1;;;48135:128:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;48352:19:0;;;;;;:6;:19;;;;;;:26;;48376:1;48352:23;:26::i;:::-;-1:-1:-1;;;;;48330:19:0;;;;;;:6;:19;;;;;;;:48;;;;48396:126;;;;;48337:11;;48468:10;;48494:17;;48396:126;:::i;:::-;;;;;;;;48633:12;48647:23;48682:4;-1:-1:-1;;;;;48674:18:0;48724:17;48743:11;48707:48;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;48707:48:0;;;;;;;;;;48674:92;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48632:134;;;;48785:7;48777:48;;;;-1:-1:-1;;;48777:48:0;;;;;;;:::i;:::-;48845:10;47712:1151;-1:-1:-1;;;;;;;;47712:1151:0:o;29443:107::-;29505:13;29538:4;29531:11;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29443:107;;;:::o;44864:43::-;;;;;;;;;;;;;;-1:-1:-1;;;44864:43:0;;;;:::o;45874:101::-;45952:15;;45874:101;:::o;49289:107::-;-1:-1:-1;;;;;49376:12:0;49342:13;49376:12;;;:6;:12;;;;;;;49289:107::o;32344:1220::-;32609:7;:14;32595:3;:10;:28;32587:81;;;;-1:-1:-1;;;32587:81:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;32687:16:0;;32679:66;;;;-1:-1:-1;;;32679:66:0;;;;;;;:::i;:::-;32786:12;:10;:12::i;:::-;-1:-1:-1;;;;;32778:20:0;:4;-1:-1:-1;;;;;32778:20:0;;:60;;;;32802:36;32819:4;32825:12;:10;:12::i;32802:36::-;32756:160;;;;-1:-1:-1;;;32756:160:0;;;;;;;:::i;:::-;32929:16;32948:12;:10;:12::i;:::-;32929:31;;32973:60;32994:8;33004:4;33010:2;33014:3;33019:7;33028:4;32973:20;:60::i;:::-;33051:9;33046:358;33070:3;:10;33066:1;:14;33046:358;;;33102:10;33115:3;33119:1;33115:6;;;;;;-1:-1:-1;;;33115:6:0;;;;;;;;;;;;;;;33102:19;;33136:14;33153:7;33161:1;33153:10;;;;;;-1:-1:-1;;;33153:10:0;;;;;;;;;;;;;;;33136:27;;33202:126;33244:6;33202:126;;;;;;;;;;;;;;;;;:9;:13;33212:2;33202:13;;;;;;;;;;;:19;33216:4;-1:-1:-1;;;;;33202:19:0;-1:-1:-1;;;;;33202:19:0;;;;;;;;;;;;;:23;;:126;;;;;:::i;:::-;33180:13;;;;:9;:13;;;;;;;;-1:-1:-1;;;;;33180:19:0;;;;;;;;;;:148;;;;33363:17;;;;;;:29;;33385:6;33363:21;:29::i;:::-;33343:13;;;;:9;:13;;;;;;;;-1:-1:-1;;;;;33343:17:0;;;;;;;;;;:49;;;;-1:-1:-1;33082:3:0;;;:::i;:::-;;;33046:358;;;;33451:2;-1:-1:-1;;;;;33421:47:0;33445:4;-1:-1:-1;;;;;33421:47:0;33435:8;-1:-1:-1;;;;;33421:47:0;;33455:3;33460:7;33421:47;;;;;;;:::i;:::-;;;;;;;;33481:75;33517:8;33527:4;33533:2;33537:3;33542:7;33551:4;33481:35;:75::i;:::-;32344:1220;;;;;;:::o;45983:161::-;46097:9;45983:161;:::o;30098:549::-;30279:16;30340:3;:10;30321:8;:15;:29;30313:83;;;;-1:-1:-1;;;30313:83:0;;;;;;;:::i;:::-;30409:30;30456:8;:15;30442:30;;;;;;-1:-1:-1;;;30442:30:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;30442:30:0;;30409:63;;30490:9;30485:122;30509:8;:15;30505:1;:19;30485:122;;;30565:30;30575:8;30584:1;30575:11;;;;;;-1:-1:-1;;;30575:11:0;;;;;;;;;;;;;;;30588:3;30592:1;30588:6;;;;;;-1:-1:-1;;;30588:6:0;;;;;;;;;;;;;;;30565:9;:30::i;:::-;30546:13;30560:1;30546:16;;;;;;-1:-1:-1;;;30546:16:0;;;;;;;;;;;;;;;;;;:49;30526:3;;;:::i;:::-;;;30485:122;;;-1:-1:-1;30626:13:0;30098:549;-1:-1:-1;;;30098:549:0:o;50524:120::-;50591:7;;-1:-1:-1;;;;;50591:7:0;50577:10;:21;50569:30;;;;;;50628:7;;50610:26;;-1:-1:-1;;;;;50628:7:0;50610:17;:26::i;:::-;50524:120::o;42942:148::-;42522:12;:10;:12::i;:::-;-1:-1:-1;;;;;42511:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;42511:23:0;;42503:68;;;;-1:-1:-1;;;42503:68:0;;;;;;;:::i;:::-;43033:6:::1;::::0;43012:40:::1;::::0;43049:1:::1;::::0;-1:-1:-1;;;;;43033:6:0::1;::::0;43012:40:::1;::::0;43049:1;;43012:40:::1;43063:6;:19:::0;;-1:-1:-1;;;;;;43063:19:0::1;::::0;;42942:148::o;42291:87::-;42364:6;;-1:-1:-1;;;;;42364:6:0;42291:87;:::o;50996:233::-;42522:12;:10;:12::i;:::-;-1:-1:-1;;;;;42511:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;42511:23:0;;42503:68;;;;-1:-1:-1;;;42503:68:0;;;;;;;:::i;:::-;51108:21:::1;:9;:19;:21::i;:::-;51138:17;51158:19;:9;:17;:19::i;:::-;51138:39;;51184;51190:3;51195:9;51206;51217:5;51184;:39::i;:::-;42582:1;50996:233:::0;;;:::o;30720:311::-;30839:8;-1:-1:-1;;;;;30823:24:0;:12;:10;:12::i;:::-;-1:-1:-1;;;;;30823:24:0;;;30815:78;;;;-1:-1:-1;;;30815:78:0;;;;;;;:::i;:::-;30951:8;30906:18;:32;30925:12;:10;:12::i;:::-;-1:-1:-1;;;;;30906:32:0;;;;;;;;;;;;;;;;;-1:-1:-1;30906:32:0;;;:42;;;;;;;;;;;;:53;;-1:-1:-1;;30906:53:0;;;;;;;;;;;30990:12;:10;:12::i;:::-;-1:-1:-1;;;;;30975:48:0;;31014:8;30975:48;;;;;;:::i;:::-;;;;;;;;30720:311;;:::o;51721:330::-;51837:15;-1:-1:-1;;;;;51869:64:0;;51890:42;51869:64;51865:108;;;-1:-1:-1;51957:4:0;51950:11;;51865:108;52000:43;52025:6;52033:9;52000:24;:43::i;:::-;51993:50;51721:330;-1:-1:-1;;;51721:330:0:o;31343:924::-;-1:-1:-1;;;;;31569:16:0;;31561:66;;;;-1:-1:-1;;;31561:66:0;;;;;;;:::i;:::-;31668:12;:10;:12::i;:::-;-1:-1:-1;;;;;31660:20:0;:4;-1:-1:-1;;;;;31660:20:0;;:60;;;;31684:36;31701:4;31707:12;:10;:12::i;31684:36::-;31638:151;;;;-1:-1:-1;;;31638:151:0;;;;;;;:::i;:::-;31802:16;31821:12;:10;:12::i;:::-;31802:31;;31846:96;31867:8;31877:4;31883:2;31887:21;31905:2;31887:17;:21::i;:::-;31910:25;31928:6;31910:17;:25::i;:::-;31937:4;31846:20;:96::i;:::-;31977:77;32001:6;31977:77;;;;;;;;;;;;;;;;;:13;;;;:9;:13;;;;;;;;-1:-1:-1;;;;;31977:19:0;;;;;;;;;;;:77;:23;:77::i;:::-;31955:13;;;;:9;:13;;;;;;;;-1:-1:-1;;;;;31955:19:0;;;;;;;;;;:99;;;;32085:17;;;;;;:29;;32107:6;32085:21;:29::i;:::-;32065:13;;;;:9;:13;;;;;;;;-1:-1:-1;;;;;32065:17:0;;;;;;;;;;;;;;:49;;;;32132:46;;32065:17;;32132:46;;;;;;;;;;;;32075:2;;32171:6;;32132:46;:::i;:::-;;;;;;;;32191:68;32222:8;32232:4;32238:2;32242;32246:6;32254:4;32191:30;:68::i;43245:244::-;42522:12;:10;:12::i;:::-;-1:-1:-1;;;;;42511:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;42511:23:0;;42503:68;;;;-1:-1:-1;;;42503:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;43334:22:0;::::1;43326:73;;;;-1:-1:-1::0;;;43326:73:0::1;;;;;;;:::i;:::-;43436:6;::::0;43415:38:::1;::::0;-1:-1:-1;;;;;43415:38:0;;::::1;::::0;43436:6:::1;::::0;43415:38:::1;::::0;43436:6:::1;::::0;43415:38:::1;43464:6;:17:::0;;-1:-1:-1;;;;;;43464:17:0::1;-1:-1:-1::0;;;;;43464:17:0;;;::::1;::::0;;;::::1;::::0;;43245:244::o;43639:650::-;43710:22;43754:10;43776:4;43754:27;43750:508;;;43798:18;43819:8;;43798:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;43858:8:0;44069:17;44063:24;-1:-1:-1;;;;;44037:134:0;;-1:-1:-1;43897:289:0;;-1:-1:-1;43897:289:0;;-1:-1:-1;44235:10:0;43639:650;:::o;51371:169::-;51461:22;51508:24;:22;:24::i;:::-;51501:31;;51371:169;:::o;34408:88::-;34475:13;;;;:4;;:13;;;;;:::i;:::-;;34408:88;:::o;49404:486::-;49582:4;-1:-1:-1;;;;;49607:20:0;;49599:70;;;;-1:-1:-1;;;49599:70:0;;;;;;;:::i;:::-;49723:159;49751:47;49770:27;49790:6;49770:19;:27::i;:::-;49751:18;:47::i;:::-;49817:4;49840;49863;49723:159;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;49700:182:0;:6;-1:-1:-1;;;;;49700:182:0;;49680:202;;49404:486;;;;;;;:::o;14221:179::-;14279:7;;14311:5;14315:1;14311;:5;:::i;:::-;14299:17;;14340:1;14335;:6;;14327:46;;;;-1:-1:-1;;;14327:46:0;;;;;;;:::i;17048:166::-;17134:7;17170:12;17162:6;;;;17154:29;;;;-1:-1:-1;;;17154:29:0;;;;;;;;:::i;:::-;-1:-1:-1;17201:5:0;17205:1;17201;:5;:::i;:::-;17194:12;17048:166;-1:-1:-1;;;;17048:166:0:o;40264:799::-;40518:15;:2;-1:-1:-1;;;;;40518:13:0;;:15::i;:::-;40514:542;;;40554:79;;-1:-1:-1;;;40554:79:0;;-1:-1:-1;;;;;40554:43:0;;;;;:79;;40598:8;;40608:4;;40614:3;;40619:7;;40628:4;;40554:79;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;40554:79:0;;;;;;;;-1:-1:-1;;40554:79:0;;;;;;;;;;;;:::i;:::-;;;40550:495;;;;:::i;:::-;;;;;;;;40918:6;40911:14;;-1:-1:-1;;;40911:14:0;;;;;;;;:::i;40550:495::-;40967:62;;-1:-1:-1;;;40967:62:0;;;;;;;:::i;40550:495::-;-1:-1:-1;;;;;;40683:64:0;;-1:-1:-1;;;40683:64:0;40679:163;;40772:50;;-1:-1:-1;;;40772:50:0;;;;;;;:::i;40679:163::-;40634:223;40264:799;;;;;;:::o;6193:103::-;6277:1;6259:7;:14;;;:19;;;;;;;:::i;:::-;;;;-1:-1:-1;;;6193:103:0:o;6071:114::-;6163:14;;6071:114::o;34897:583::-;-1:-1:-1;;;;;35012:21:0;;35004:67;;;;-1:-1:-1;;;35004:67:0;;;;;;;:::i;:::-;35084:16;35103:12;:10;:12::i;:::-;35084:31;;35128:107;35149:8;35167:1;35171:7;35180:21;35198:2;35180:17;:21::i;35128:107::-;35273:13;;;;:9;:13;;;;;;;;-1:-1:-1;;;;;35273:22:0;;;;;;;;;;:34;;35300:6;35273:26;:34::i;:::-;35248:13;;;;:9;:13;;;;;;;;-1:-1:-1;;;;;35248:22:0;;;;;;;;;;;;;:59;;;;35323:57;;;;;;;;;35258:2;;35373:6;;35323:57;:::i;:::-;;;;;;;;35393:79;35424:8;35442:1;35446:7;35455:2;35459:6;35467:4;35393:30;:79::i;:::-;34897:583;;;;;:::o;31103:168::-;-1:-1:-1;;;;;31226:27:0;;;31202:4;31226:27;;;:18;:27;;;;;;;;:37;;;;;;;;;;;;;;;31103:168::o;41071:198::-;41191:16;;;41205:1;41191:16;;;;;;;;;41137;;41166:22;;41191:16;;;;;;;;;;;;-1:-1:-1;41191:16:0;41166:41;;41229:7;41218:5;41224:1;41218:8;;;;;;-1:-1:-1;;;41218:8:0;;;;;;;;;;;;;;;;;;:18;41256:5;41071:198;-1:-1:-1;;41071:198:0:o;39494:762::-;39723:15;:2;-1:-1:-1;;;;;39723:13:0;;:15::i;:::-;39719:530;;;39759:72;;-1:-1:-1;;;39759:72:0;;-1:-1:-1;;;;;39759:38:0;;;;;:72;;39798:8;;39808:4;;39814:2;;39818:6;;39826:4;;39759:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;39759:72:0;;;;;;;;-1:-1:-1;;39759:72:0;;;;;;;;;;;;:::i;:::-;;;39755:483;;;;:::i;:::-;-1:-1:-1;;;;;;39881:59:0;;-1:-1:-1;;;39881:59:0;39877:158;;39965:50;;-1:-1:-1;;;39965:50:0;;;;;;;:::i;48871:410::-;48981:7;47048:100;;;;;;;;;;;;;;;;;47028:127;;;;;;;49135:12;;49170:11;;;;49214:24;;;;;49204:35;;;;;;49054:204;;;;;;:::i;:::-;;;;;;;;;;;;;49026:247;;;;;;49006:267;;48871:410;;;:::o;46513:258::-;46612:7;46714:20;:18;:20::i;:::-;46736:11;46685:63;;;;;;;;;:::i;19623:422::-;19990:20;20029:8;;;19623:422::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:409:1;;114:18;106:6;103:30;100:2;;;136:18;;:::i;:::-;174:58;220:2;197:17;;-1:-1:-1;;193:31:1;226:4;189:42;174:58;:::i;:::-;165:67;;255:6;248:5;241:21;295:3;286:6;281:3;277:16;274:25;271:2;;;312:1;309;302:12;271:2;361:6;356:3;349:4;342:5;338:16;325:43;415:1;408:4;399:6;392:5;388:18;384:29;377:40;90:333;;;;;:::o;428:175::-;498:20;;-1:-1:-1;;;;;547:31:1;;537:42;;527:2;;593:1;590;583:12;608:705;;721:3;714:4;706:6;702:17;698:27;688:2;;743:5;736;729:20;688:2;783:6;770:20;809:4;833:65;848:49;894:2;848:49;:::i;:::-;833:65;:::i;:::-;932:15;;;963:12;;;;995:15;;;1041:11;;;1029:24;;1025:33;;1022:42;-1:-1:-1;1019:2:1;;;1081:5;1074;1067:20;1019:2;1107:5;1121:163;1135:2;1132:1;1129:9;1121:163;;;1192:17;;1180:30;;1230:12;;;;1262;;;;1153:1;1146:9;1121:163;;;-1:-1:-1;1302:5:1;;678:635;-1:-1:-1;;;;;;;678:635:1:o;1318:232::-;;1415:3;1408:4;1400:6;1396:17;1392:27;1382:2;;1437:5;1430;1423:20;1382:2;1463:81;1540:3;1531:6;1518:20;1511:4;1503:6;1499:17;1463:81;:::i;1555:198::-;;1667:2;1655:9;1646:7;1642:23;1638:32;1635:2;;;1688:6;1680;1673:22;1635:2;1716:31;1737:9;1716:31;:::i;1758:274::-;;;1887:2;1875:9;1866:7;1862:23;1858:32;1855:2;;;1908:6;1900;1893:22;1855:2;1936:31;1957:9;1936:31;:::i;:::-;1926:41;;1986:40;2022:2;2011:9;2007:18;1986:40;:::i;:::-;1976:50;;1845:187;;;;;:::o;2037:1001::-;;;;;;2276:3;2264:9;2255:7;2251:23;2247:33;2244:2;;;2298:6;2290;2283:22;2244:2;2326:31;2347:9;2326:31;:::i;:::-;2316:41;;2376:40;2412:2;2401:9;2397:18;2376:40;:::i;:::-;2366:50;;2467:2;2456:9;2452:18;2439:32;2490:18;2531:2;2523:6;2520:14;2517:2;;;2552:6;2544;2537:22;2517:2;2580:67;2639:7;2630:6;2619:9;2615:22;2580:67;:::i;:::-;2570:77;;2700:2;2689:9;2685:18;2672:32;2656:48;;2729:2;2719:8;2716:16;2713:2;;;2750:6;2742;2735:22;2713:2;2778:69;2839:7;2828:8;2817:9;2813:24;2778:69;:::i;:::-;2768:79;;2900:3;2889:9;2885:19;2872:33;2856:49;;2930:2;2920:8;2917:16;2914:2;;;2951:6;2943;2936:22;2914:2;;2979:53;3024:7;3013:8;3002:9;2998:24;2979:53;:::i;:::-;2969:63;;;2234:804;;;;;;;;:::o;3043:632::-;;;;;;3232:3;3220:9;3211:7;3207:23;3203:33;3200:2;;;3254:6;3246;3239:22;3200:2;3282:31;3303:9;3282:31;:::i;:::-;3272:41;;3332:40;3368:2;3357:9;3353:18;3332:40;:::i;:::-;3322:50;;3419:2;3408:9;3404:18;3391:32;3381:42;;3470:2;3459:9;3455:18;3442:32;3432:42;;3525:3;3514:9;3510:19;3497:33;3553:18;3545:6;3542:30;3539:2;;;3590:6;3582;3575:22;3539:2;3618:51;3661:7;3652:6;3641:9;3637:22;3618:51;:::i;3680:369::-;;;3806:2;3794:9;3785:7;3781:23;3777:32;3774:2;;;3827:6;3819;3812:22;3774:2;3855:31;3876:9;3855:31;:::i;:::-;3845:41;;3936:2;3925:9;3921:18;3908:32;3983:5;3976:13;3969:21;3962:5;3959:32;3949:2;;4010:6;4002;3995:22;3949:2;4038:5;4028:15;;;3764:285;;;;;:::o;4054:723::-;;;;;;4241:3;4229:9;4220:7;4216:23;4212:33;4209:2;;;4263:6;4255;4248:22;4209:2;4291:31;4312:9;4291:31;:::i;:::-;4281:41;;4373:2;4362:9;4358:18;4345:32;4400:18;4392:6;4389:30;4386:2;;;4437:6;4429;4422:22;4386:2;4465:51;4508:7;4499:6;4488:9;4484:22;4465:51;:::i;:::-;4455:61;;;4563:2;4552:9;4548:18;4535:32;4525:42;;4614:2;4603:9;4599:18;4586:32;4576:42;;4668:3;4657:9;4653:19;4640:33;4713:4;4706:5;4702:16;4695:5;4692:27;4682:2;;4738:6;4730;4723:22;4682:2;4766:5;4756:15;;;4199:578;;;;;;;;:::o;4782:266::-;;;4911:2;4899:9;4890:7;4886:23;4882:32;4879:2;;;4932:6;4924;4917:22;4879:2;4960:31;4981:9;4960:31;:::i;:::-;4950:41;5038:2;5023:18;;;;5010:32;;-1:-1:-1;;;4869:179:1:o;5053:486::-;;;;5208:2;5196:9;5187:7;5183:23;5179:32;5176:2;;;5229:6;5221;5214:22;5176:2;5257:31;5278:9;5257:31;:::i;:::-;5247:41;;5335:2;5324:9;5320:18;5307:32;5297:42;;5390:2;5379:9;5375:18;5362:32;5417:18;5409:6;5406:30;5403:2;;;5454:6;5446;5439:22;5403:2;5482:51;5525:7;5516:6;5505:9;5501:22;5482:51;:::i;:::-;5472:61;;;5166:373;;;;;:::o;5544:1226::-;;;5723:2;5711:9;5702:7;5698:23;5694:32;5691:2;;;5744:6;5736;5729:22;5691:2;5789:9;5776:23;5818:18;5859:2;5851:6;5848:14;5845:2;;;5880:6;5872;5865:22;5845:2;5923:6;5912:9;5908:22;5898:32;;5968:7;5961:4;5957:2;5953:13;5949:27;5939:2;;5995:6;5987;5980:22;5939:2;6036;6023:16;6058:4;6082:65;6097:49;6143:2;6097:49;:::i;6082:65::-;6181:15;;;6212:12;;;;6244:11;;;6282;;;6274:20;;6270:29;;6267:42;-1:-1:-1;6264:2:1;;;6327:6;6319;6312:22;6264:2;6354:6;6345:15;;6369:171;6383:2;6380:1;6377:9;6369:171;;;6440:25;6461:3;6440:25;:::i;:::-;6428:38;;6401:1;6394:9;;;;;6486:12;;;;6518;;6369:171;;;-1:-1:-1;6559:5:1;-1:-1:-1;;6602:18:1;;6589:32;;-1:-1:-1;;6633:16:1;;;6630:2;;;6667:6;6659;6652:22;6630:2;;6695:69;6756:7;6745:8;6734:9;6730:24;6695:69;:::i;:::-;6685:79;;;5681:1089;;;;;:::o;6775:257::-;;6886:2;6874:9;6865:7;6861:23;6857:32;6854:2;;;6907:6;6899;6892:22;6854:2;6951:9;6938:23;6970:32;6996:5;6970:32;:::i;7037:261::-;;7159:2;7147:9;7138:7;7134:23;7130:32;7127:2;;;7180:6;7172;7165:22;7127:2;7217:9;7211:16;7236:32;7262:5;7236:32;:::i;7303:482::-;;7425:2;7413:9;7404:7;7400:23;7396:32;7393:2;;;7446:6;7438;7431:22;7393:2;7491:9;7478:23;7524:18;7516:6;7513:30;7510:2;;;7561:6;7553;7546:22;7510:2;7589:22;;7642:4;7634:13;;7630:27;-1:-1:-1;7620:2:1;;7676:6;7668;7661:22;7620:2;7704:75;7771:7;7766:2;7753:16;7748:2;7744;7740:11;7704:75;:::i;7790:190::-;;7902:2;7890:9;7881:7;7877:23;7873:32;7870:2;;;7923:6;7915;7908:22;7870:2;-1:-1:-1;7951:23:1;;7860:120;-1:-1:-1;7860:120:1:o;7985:443::-;;8082:5;8076:12;8109:6;8104:3;8097:19;8135:4;8164:2;8159:3;8155:12;8148:19;;8201:2;8194:5;8190:14;8222:3;8234:169;8248:6;8245:1;8242:13;8234:169;;;8309:13;;8297:26;;8343:12;;;;8378:15;;;;8270:1;8263:9;8234:169;;;-1:-1:-1;8419:3:1;;8052:376;-1:-1:-1;;;;;8052:376:1:o;8433:259::-;;8514:5;8508:12;8541:6;8536:3;8529:19;8557:63;8613:6;8606:4;8601:3;8597:14;8590:4;8583:5;8579:16;8557:63;:::i;:::-;8674:2;8653:15;-1:-1:-1;;8649:29:1;8640:39;;;;8681:4;8636:50;;8484:208;-1:-1:-1;;8484:208:1:o;8697:274::-;;8864:6;8858:13;8880:53;8926:6;8921:3;8914:4;8906:6;8902:17;8880:53;:::i;:::-;8949:16;;;;;8834:137;-1:-1:-1;;8834:137:1:o;8976:415::-;;9171:6;9165:13;9187:53;9233:6;9228:3;9221:4;9213:6;9209:17;9187:53;:::i;:::-;9309:2;9305:15;;;;-1:-1:-1;;9301:53:1;9262:16;;;;9287:68;;;9382:2;9371:14;;9141:250;-1:-1:-1;;9141:250:1:o;9396:392::-;-1:-1:-1;;;9654:27:1;;9706:1;9697:11;;9690:27;;;;9742:2;9733:12;;9726:28;9779:2;9770:12;;9644:144::o;9793:203::-;-1:-1:-1;;;;;9957:32:1;;;;9939:51;;9927:2;9912:18;;9894:102::o;10001:433::-;-1:-1:-1;;;;;10258:15:1;;;10240:34;;10310:15;;10305:2;10290:18;;10283:43;10362:2;10357;10342:18;;10335:30;;;10001:433;;10382:46;;10409:18;;10401:6;10382:46;:::i;:::-;10374:54;10192:242;-1:-1:-1;;;;;10192:242:1:o;10439:840::-;-1:-1:-1;;;;;10836:15:1;;;10818:34;;10888:15;;10883:2;10868:18;;10861:43;10798:3;10935:2;10920:18;;10913:31;;;10439:840;;10967:63;;11010:19;;11002:6;10967:63;:::i;:::-;11078:9;11070:6;11066:22;11061:2;11050:9;11046:18;11039:50;11112;11155:6;11147;11112:50;:::i;:::-;11098:64;;11211:9;11203:6;11199:22;11193:3;11182:9;11178:19;11171:51;11239:34;11266:6;11258;11239:34;:::i;11284:562::-;-1:-1:-1;;;;;11581:15:1;;;11563:34;;11633:15;;11628:2;11613:18;;11606:43;11680:2;11665:18;;11658:34;;;11723:2;11708:18;;11701:34;;;11543:3;11766;11751:19;;11744:32;;;11284:562;;11793:47;;11820:19;;11812:6;11793:47;:::i;:::-;11785:55;11515:331;-1:-1:-1;;;;;;;11515:331:1:o;11851:267::-;;12030:2;12019:9;12012:21;12050:62;12108:2;12097:9;12093:18;12085:6;12050:62;:::i;12123:477::-;;12380:2;12369:9;12362:21;12406:62;12464:2;12453:9;12449:18;12441:6;12406:62;:::i;:::-;12516:9;12508:6;12504:22;12499:2;12488:9;12484:18;12477:50;12544;12587:6;12579;12544:50;:::i;12605:187::-;12770:14;;12763:22;12745:41;;12733:2;12718:18;;12700:92::o;12797:177::-;12943:25;;;12931:2;12916:18;;12898:76::o;12979:417::-;13210:25;;;13266:2;13251:18;;13244:34;;;;-1:-1:-1;;;;;13314:32:1;13309:2;13294:18;;13287:60;13378:2;13363:18;;13356:34;13197:3;13182:19;;13164:232::o;13401:398::-;13628:25;;;13701:4;13689:17;;;;13684:2;13669:18;;13662:45;13738:2;13723:18;;13716:34;13781:2;13766:18;;13759:34;13615:3;13600:19;;13582:217::o;13804:219::-;;13951:2;13940:9;13933:21;13971:46;14013:2;14002:9;13998:18;13990:6;13971:46;:::i;14254:416::-;14456:2;14438:21;;;14495:2;14475:18;;;14468:30;14534:34;14529:2;14514:18;;14507:62;-1:-1:-1;;;14600:2:1;14585:18;;14578:50;14660:3;14645:19;;14428:242::o;14675:404::-;14877:2;14859:21;;;14916:2;14896:18;;;14889:30;14955:34;14950:2;14935:18;;14928:62;-1:-1:-1;;;15021:2:1;15006:18;;14999:38;15069:3;15054:19;;14849:230::o;15084:407::-;15286:2;15268:21;;;15325:2;15305:18;;;15298:30;15364:34;15359:2;15344:18;;15337:62;-1:-1:-1;;;15430:2:1;15415:18;;15408:41;15481:3;15466:19;;15258:233::o;15496:402::-;15698:2;15680:21;;;15737:2;15717:18;;;15710:30;15776:34;15771:2;15756:18;;15749:62;-1:-1:-1;;;15842:2:1;15827:18;;15820:36;15888:3;15873:19;;15670:228::o;15903:352::-;16105:2;16087:21;;;16144:2;16124:18;;;16117:30;16183;16178:2;16163:18;;16156:58;16246:2;16231:18;;16077:178::o;16260:351::-;16462:2;16444:21;;;16501:2;16481:18;;;16474:30;16540:29;16535:2;16520:18;;16513:57;16602:2;16587:18;;16434:177::o;16616:405::-;16818:2;16800:21;;;16857:2;16837:18;;;16830:30;16896:34;16891:2;16876:18;;16869:62;-1:-1:-1;;;16962:2:1;16947:18;;16940:39;17011:3;16996:19;;16790:231::o;17026:401::-;17228:2;17210:21;;;17267:2;17247:18;;;17240:30;17306:34;17301:2;17286:18;;17279:62;-1:-1:-1;;;17372:2:1;17357:18;;17350:35;17417:3;17402:19;;17200:227::o;17432:401::-;17634:2;17616:21;;;17673:2;17653:18;;;17646:30;17712:34;17707:2;17692:18;;17685:62;-1:-1:-1;;;17778:2:1;17763:18;;17756:35;17823:3;17808:19;;17606:227::o;17838:414::-;18040:2;18022:21;;;18079:2;18059:18;;;18052:30;18118:34;18113:2;18098:18;;18091:62;-1:-1:-1;;;18184:2:1;18169:18;;18162:48;18242:3;18227:19;;18012:240::o;18257:356::-;18459:2;18441:21;;;18478:18;;;18471:30;18537:34;18532:2;18517:18;;18510:62;18604:2;18589:18;;18431:182::o;18618:397::-;18820:2;18802:21;;;18859:2;18839:18;;;18832:30;18898:34;18893:2;18878:18;;18871:62;-1:-1:-1;;;18964:2:1;18949:18;;18942:31;19005:3;18990:19;;18792:223::o;19020:405::-;19222:2;19204:21;;;19261:2;19241:18;;;19234:30;19300:34;19295:2;19280:18;;19273:62;-1:-1:-1;;;19366:2:1;19351:18;;19344:39;19415:3;19400:19;;19194:231::o;19430:405::-;19632:2;19614:21;;;19671:2;19651:18;;;19644:30;19710:34;19705:2;19690:18;;19683:62;-1:-1:-1;;;19776:2:1;19761:18;;19754:39;19825:3;19810:19;;19604:231::o;19840:404::-;20042:2;20024:21;;;20081:2;20061:18;;;20054:30;20120:34;20115:2;20100:18;;20093:62;-1:-1:-1;;;20186:2:1;20171:18;;20164:38;20234:3;20219:19;;20014:230::o;20249:397::-;20451:2;20433:21;;;20490:2;20470:18;;;20463:30;20529:34;20524:2;20509:18;;20502:62;-1:-1:-1;;;20595:2:1;20580:18;;20573:31;20636:3;20621:19;;20423:223::o;20833:248::-;21007:25;;;21063:2;21048:18;;21041:34;20995:2;20980:18;;20962:119::o;21086:251::-;21156:2;21150:9;21186:17;;;21233:18;21218:34;;21254:22;;;21215:62;21212:2;;;21280:18;;:::i;:::-;21316:2;21309:22;21130:207;;-1:-1:-1;21130:207:1:o;21342:192::-;;21441:18;21433:6;21430:30;21427:2;;;21463:18;;:::i;:::-;-1:-1:-1;21523:4:1;21504:17;;;21500:28;;21417:117::o;21539:128::-;;21610:1;21606:6;21603:1;21600:13;21597:2;;;21616:18;;:::i;:::-;-1:-1:-1;21652:9:1;;21587:80::o;21672:125::-;;21740:1;21737;21734:8;21731:2;;;21745:18;;:::i;:::-;-1:-1:-1;21782:9:1;;21721:76::o;21802:258::-;21874:1;21884:113;21898:6;21895:1;21892:13;21884:113;;;21974:11;;;21968:18;21955:11;;;21948:39;21920:2;21913:10;21884:113;;;22015:6;22012:1;22009:13;22006:2;;;-1:-1:-1;;22050:1:1;22032:16;;22025:27;21855:205::o;22065:380::-;22150:1;22140:12;;22197:1;22187:12;;;22208:2;;22262:4;22254:6;22250:17;22240:27;;22208:2;22315;22307:6;22304:14;22284:18;22281:38;22278:2;;;22361:10;22356:3;22352:20;22349:1;22342:31;22396:4;22393:1;22386:15;22424:4;22421:1;22414:15;22278:2;;22120:325;;;:::o;22450:135::-;;-1:-1:-1;;22510:17:1;;22507:2;;;22530:18;;:::i;:::-;-1:-1:-1;22577:1:1;22566:13;;22497:88::o;22590:127::-;22651:10;22646:3;22642:20;22639:1;22632:31;22682:4;22679:1;22672:15;22706:4;22703:1;22696:15;22722:127;22783:10;22778:3;22774:20;22771:1;22764:31;22814:4;22811:1;22804:15;22838:4;22835:1;22828:15;22854:88;22929:3;22925:15;;22911:31::o;22947:764::-;;23028:4;23010:16;23007:26;23004:2;;;23036:5;;23004:2;23077:1;23072:3;23067;23052:27;23139:10;23101:36;23132:3;23126:10;23101:36;:::i;:::-;23098:52;23088:2;;23154:5;;23088:2;23188;23182:9;23228:16;-1:-1:-1;;23224:29:1;23221:1;23182:9;23200:54;23283:4;23277:11;23307:16;23342:18;23413:2;23406:4;23398:6;23394:17;23391:25;23386:2;23378:6;23375:14;23372:45;23369:2;;;23420:5;;;;;;23369:2;23457:6;23451:4;23447:17;23436:28;;23493:3;23487:10;23473:24;;23520:2;23512:6;23509:14;23506:2;;;23526:5;;;;;;23506:2;;23587:16;23581:4;23577:27;23570:4;23561:6;23556:3;23552:16;23548:27;23545:60;23542:2;;;23608:5;;;;;23542:2;23673;23652:15;-1:-1:-1;;23648:29:1;23639:39;;23680:4;23635:50;23631:2;23624:62;23643:3;-1:-1:-1;;22994:717:1;:::o;23716:133::-;-1:-1:-1;;;;;;23792:32:1;;23782:43;;23772:2;;23839:1;23836;23829:12

Swarm Source

ipfs://d8be95875b235f4bba160c8da1829e0c981b9e82e408d64ce5f39f23c9b8cd02
Block Transaction Difficulty Gas Used Reward
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.

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