ETH Price: $3,229.58 (-0.77%)
Gas: 1 Gwei

Contract

0x2F69DEDD3F47968C504b8E853131a54662A34b98
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Set Approval For...158472822022-10-28 14:53:11638 days ago1666968791IN
0x2F69DEDD...662A34b98
0 ETH0.0003432514.08014831
Set Approval For...154941022022-09-08 2:55:31689 days ago1662605731IN
0x2F69DEDD...662A34b98
0 ETH0.00030336.56394862
Withdraw154688262022-09-04 1:41:36693 days ago1662255696IN
0x2F69DEDD...662A34b98
0 ETH0.000234935.51784101
Redeem Token150848322022-07-05 20:54:04753 days ago1657054444IN
0x2F69DEDD...662A34b98
0 ETH0.0012012319.29825844
Redeem Token148738622022-05-30 17:32:31789 days ago1653931951IN
0x2F69DEDD...662A34b98
0 ETH0.001730827.80587104
Purchase148738492022-05-30 17:29:42789 days ago1653931782IN
0x2F69DEDD...662A34b98
0.33 ETH0.0023256126.64428123
Set Price147500132022-05-10 18:07:17809 days ago1652206037IN
0x2F69DEDD...662A34b98
0 ETH0.0016574957.76064081
Redeem Token147279912022-05-07 5:36:39812 days ago1651901799IN
0x2F69DEDD...662A34b98
0 ETH0.001672426.86766339
Purchase147279792022-05-07 5:34:22812 days ago1651901662IN
0x2F69DEDD...662A34b98
0.28 ETH0.0030440134.87483273
Redeem Token147274012022-05-07 3:11:39813 days ago1651893099IN
0x2F69DEDD...662A34b98
0 ETH0.0019525431.36819735
Redeem Token147252512022-05-06 18:59:34813 days ago1651863574IN
0x2F69DEDD...662A34b98
0 ETH0.00273944.00284421
Purchase147252392022-05-06 18:55:49813 days ago1651863349IN
0x2F69DEDD...662A34b98
0.28 ETH0.003509740.21013181
Toggle Sale Stat...147243992022-05-06 15:45:44813 days ago1651851944IN
0x2F69DEDD...662A34b98
0 ETH0.0018915841.33974432
Withdraw146054752022-04-17 22:38:39832 days ago1650235119IN
0x2F69DEDD...662A34b98
0 ETH0.0020907130.9377922
Toggle Sale Stat...145227792022-04-05 0:42:08845 days ago1649119328IN
0x2F69DEDD...662A34b98
0 ETH0.0012637152.99707477
Purchase144078732022-03-18 3:04:40863 days ago1647572680IN
0x2F69DEDD...662A34b98
0.28 ETH0.0049354356.54456934
Safe Transfer Fr...143865142022-03-14 19:05:10866 days ago1647284710IN
0x2F69DEDD...662A34b98
0 ETH0.0017756234.1039225
Purchase143818852022-03-14 1:52:03867 days ago1647222723IN
0x2F69DEDD...662A34b98
0.28 ETH0.0024839128.45784038
Redeem Token143784462022-03-13 13:02:48867 days ago1647176568IN
0x2F69DEDD...662A34b98
0 ETH0.0023697338.0704479
Purchase143762352022-03-13 4:26:35868 days ago1647145595IN
0x2F69DEDD...662A34b98
0.28 ETH0.0015608417.88237386
Safe Transfer Fr...143748962022-03-12 23:21:53868 days ago1647127313IN
0x2F69DEDD...662A34b98
0 ETH0.0014960526.31445426
Purchase143688612022-03-12 1:01:51869 days ago1647046911IN
0x2F69DEDD...662A34b98
0.28 ETH0.0026723130.61635902
Redeem Token143683282022-03-11 23:04:48869 days ago1647039888IN
0x2F69DEDD...662A34b98
0 ETH0.0012371619.87546079
Purchase143681992022-03-11 22:36:21869 days ago1647038181IN
0x2F69DEDD...662A34b98
0.28 ETH0.0019511622.35424075
Redeem Token143678382022-03-11 21:11:46869 days ago1647033106IN
0x2F69DEDD...662A34b98
0 ETH0.0050375380.92942482
View all transactions

Latest 4 internal transactions

Advanced mode:
Parent Transaction Hash Block From To
154688262022-09-04 1:41:36693 days ago1662255696
0x2F69DEDD...662A34b98
0.7565 ETH
154688262022-09-04 1:41:36693 days ago1662255696
0x2F69DEDD...662A34b98
0.1335 ETH
146054752022-04-17 22:38:39832 days ago1650235119
0x2F69DEDD...662A34b98
3.145 ETH
146054752022-04-17 22:38:39832 days ago1650235119
0x2F69DEDD...662A34b98
0.555 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Workwares

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-03-07
*/

// SPDX-License-Identifier: MIT
// File: @openzeppelin/contracts/utils/Strings.sol


// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";

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

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

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return "0x00";
        }
        uint256 temp = value;
        uint256 length = 0;
        while (temp != 0) {
            length++;
            temp >>= 8;
        }
        return toHexString(value, length);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = _HEX_SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }
}

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


// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @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
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 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");

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

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

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

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

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal 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

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

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


// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

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

// File: @openzeppelin/contracts/utils/introspection/ERC165.sol


// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;


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

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


// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC1155/IERC1155Receiver.sol)

pragma solidity ^0.8.0;


/**
 * @dev _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.
     *
     * NOTE: 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.
     *
     * NOTE: 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);
}

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


// OpenZeppelin Contracts v4.4.1 (token/ERC1155/IERC1155.sol)

pragma solidity ^0.8.0;


/**
 * @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;
}

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


// OpenZeppelin Contracts v4.4.1 (token/ERC1155/extensions/IERC1155MetadataURI.sol)

pragma solidity ^0.8.0;


/**
 * @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);
}

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


// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

// File: @openzeppelin/contracts/security/Pausable.sol


// OpenZeppelin Contracts v4.4.1 (security/Pausable.sol)

pragma solidity ^0.8.0;


/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
abstract contract Pausable is Context {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor() {
        _paused = false;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        require(!paused(), "Pausable: paused");
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        require(paused(), "Pausable: not paused");
        _;
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}

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


// OpenZeppelin Contracts v4.4.1 (token/ERC1155/ERC1155.sol)

pragma solidity ^0.8.0;







/**
 * @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 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;

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

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {
        return
            interfaceId == type(IERC1155).interfaceId ||
            interfaceId == type(IERC1155MetadataURI).interfaceId ||
            super.supportsInterface(interfaceId);
    }

    /**
     * @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) public 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 {
        _setApprovalForAll(_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(
            from == _msgSender() || isApprovedForAll(from, _msgSender()),
            "ERC1155: caller is not owner nor approved"
        );
        _safeTransferFrom(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(
            from == _msgSender() || isApprovedForAll(from, _msgSender()),
            "ERC1155: transfer caller is not owner nor approved"
        );
        _safeBatchTransferFrom(from, to, ids, amounts, data);
    }

    /**
     * @dev Transfers `amount` tokens of token type `id` from `from` to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `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 memory data
    ) internal virtual {
        require(to != address(0), "ERC1155: transfer to the zero address");

        address operator = _msgSender();

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

        uint256 fromBalance = _balances[id][from];
        require(fromBalance >= amount, "ERC1155: insufficient balance for transfer");
        unchecked {
            _balances[id][from] = fromBalance - amount;
        }
        _balances[id][to] += amount;

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

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

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_safeTransferFrom}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - 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[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");
        require(to != address(0), "ERC1155: transfer to the zero address");

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

            uint256 fromBalance = _balances[id][from];
            require(fromBalance >= amount, "ERC1155: insufficient balance for transfer");
            unchecked {
                _balances[id][from] = fromBalance - amount;
            }
            _balances[id][to] += 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 `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function _mint(
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) internal virtual {
        require(to != address(0), "ERC1155: mint to the zero address");

        address operator = _msgSender();

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

        _balances[id][to] += amount;
        emit TransferSingle(operator, address(0), to, id, amount);

        _doSafeTransferAcceptanceCheck(operator, address(0), to, 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 (uint256 i = 0; i < ids.length; i++) {
            _balances[ids[i]][to] += amounts[i];
        }

        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 `from`
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `from` must have at least `amount` tokens of token type `id`.
     */
    function _burn(
        address from,
        uint256 id,
        uint256 amount
    ) internal virtual {
        require(from != address(0), "ERC1155: burn from the zero address");

        address operator = _msgSender();

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

        uint256 fromBalance = _balances[id][from];
        require(fromBalance >= amount, "ERC1155: burn amount exceeds balance");
        unchecked {
            _balances[id][from] = fromBalance - amount;
        }

        emit TransferSingle(operator, from, 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 from,
        uint256[] memory ids,
        uint256[] memory amounts
    ) internal virtual {
        require(from != address(0), "ERC1155: burn from the zero address");
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");

        address operator = _msgSender();

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

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

            uint256 fromBalance = _balances[id][from];
            require(fromBalance >= amount, "ERC1155: burn amount exceeds balance");
            unchecked {
                _balances[id][from] = fromBalance - amount;
            }
        }

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

    /**
     * @dev Approve `operator` to operate on all of `owner` tokens
     *
     * Emits a {ApprovalForAll} event.
     */
    function _setApprovalForAll(
        address owner,
        address operator,
        bool approved
    ) internal virtual {
        require(owner != operator, "ERC1155: setting approval status for self");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

    /**
     * @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.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.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;
    }
}

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


// OpenZeppelin Contracts v4.4.1 (token/ERC1155/extensions/ERC1155Supply.sol)

pragma solidity ^0.8.0;


/**
 * @dev Extension of ERC1155 that adds tracking of total supply per id.
 *
 * Useful for scenarios where Fungible and Non-fungible tokens have to be
 * clearly identified. Note: While a totalSupply of 1 might mean the
 * corresponding is an NFT, there is no guarantees that no other token with the
 * same id are not going to be minted.
 */
abstract contract ERC1155Supply is ERC1155 {
    mapping(uint256 => uint256) private _totalSupply;

    /**
     * @dev Total amount of tokens in with a given id.
     */
    function totalSupply(uint256 id) public view virtual returns (uint256) {
        return _totalSupply[id];
    }

    /**
     * @dev Indicates whether any token exist with a given id, or not.
     */
    function exists(uint256 id) public view virtual returns (bool) {
        return ERC1155Supply.totalSupply(id) > 0;
    }

    /**
     * @dev See {ERC1155-_beforeTokenTransfer}.
     */
    function _beforeTokenTransfer(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual override {
        super._beforeTokenTransfer(operator, from, to, ids, amounts, data);

        if (from == address(0)) {
            for (uint256 i = 0; i < ids.length; ++i) {
                _totalSupply[ids[i]] += amounts[i];
            }
        }

        if (to == address(0)) {
            for (uint256 i = 0; i < ids.length; ++i) {
                _totalSupply[ids[i]] -= amounts[i];
            }
        }
    }
}

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


// OpenZeppelin Contracts v4.4.1 (token/ERC1155/extensions/ERC1155Burnable.sol)

pragma solidity ^0.8.0;


/**
 * @dev Extension of {ERC1155} that allows token holders to destroy both their
 * own tokens and those that they have been approved to use.
 *
 * _Available since v3.1._
 */
abstract contract ERC1155Burnable is ERC1155 {
    function burn(
        address account,
        uint256 id,
        uint256 value
    ) public virtual {
        require(
            account == _msgSender() || isApprovedForAll(account, _msgSender()),
            "ERC1155: caller is not owner nor approved"
        );

        _burn(account, id, value);
    }

    function burnBatch(
        address account,
        uint256[] memory ids,
        uint256[] memory values
    ) public virtual {
        require(
            account == _msgSender() || isApprovedForAll(account, _msgSender()),
            "ERC1155: caller is not owner nor approved"
        );

        _burnBatch(account, ids, values);
    }
}

// File: @openzeppelin/contracts/access/Ownable.sol


// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;


/**
 * @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() {
        _transferOwnership(_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 {
        _transferOwnership(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");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

// File: contracts/AbstractERC1155.sol

pragma solidity ^0.8.0;

abstract contract AbstractERC1155 is ERC1155Supply, ERC1155Burnable, Ownable {

    string name_;
    string symbol_;

    function setURI(string memory baseURI) external onlyOwner {
        _setURI(baseURI);
    }

    function name() public view returns (string memory) {
        return name_;
    }

    function symbol() public view returns (string memory) {
        return symbol_;
    }        

    function _beforeTokenTransfer(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual override(ERC1155, ERC1155Supply) {
        super._beforeTokenTransfer(operator, from, to, ids, amounts, data);
    } 
}

// File: contracts/Workwares.sol

pragma solidity ^0.8.0;

contract Workwares is AbstractERC1155 {

    uint256 constant MAX_SUPPLY_WHITE = 323;
    uint256 constant MAX_SUPPLY_GOLD = 10;
    uint256 constant MAX_RESERVED = 5;
    uint256 public presalePrice = 0.1 ether;
    uint256 public mintPrice = 0.28 ether;
    uint256 public presaleActive = 0;
    uint256 public saleActive = 0;
    uint256 public numWhiteMints = 0;
    uint256 public numGoldMints = 0;

    // change to hosted folder
    string baseURI = "http://bayc1.mintworkwares.io/metadata/";

    mapping(address => uint256) public numMints;
    mapping(address => uint256) public whitelist;
    mapping(address => uint256) public numReserved;

    constructor() ERC1155(baseURI) {
        name_ = "Workwares";
        symbol_ = "BAYC1";
    }

    function setPrice(uint256 _price) external onlyOwner {
        require(_price > 0, "Price cannot be 0");
        mintPrice = _price;
    }

    function toggleSaleState(uint256 state) external onlyOwner {
        saleActive = state;
    }

    function togglePresaleState(uint256 state) external onlyOwner {
        presaleActive = state;
    }

    function reserveTokens(uint256 amount) external onlyOwner {
        require(numReserved[msg.sender] + amount <= MAX_RESERVED, "Would exceed max reserved tokens");
        numReserved[msg.sender] += amount;
        numWhiteMints += amount;
        _mint(msg.sender, 0, amount, "");
    }

    function withdraw() public payable onlyOwner {
        uint256 balance = address(this).balance;

        address acct1 = 0x011C2799d043D2D384Ac19aA3cF0567021Cd9Fa4;
        address studio = 0x388CcBf8c1A37F444DcFF6eDE0014DfA85BeDC1B;

        uint256 acct1_share = balance / 100 * 85;
        uint256 studio_share = balance / 100 * 15;

        // transfer eth to addresses
        payable(studio).transfer(studio_share);
        payable(acct1).transfer(acct1_share);
    }

    function addWhitelist(address[] calldata addresses) external onlyOwner {
        for (uint256 i = 0; i < addresses.length; i++) {
            whitelist[addresses[i]] = 1;
        }
    }

    // presale mint
    function presalePurchase() external payable {
        require(presaleActive == 1, "Presale closed");
        require(whitelist[msg.sender] == 1, "Address not on whitelist");
        require(msg.value == presalePrice, "Incorrect payment");

        uint256 nonce = 0;
        uint256 mintIndex = uint(keccak256(abi.encodePacked(block.timestamp, msg.sender, nonce))) % 30;
        whitelist[msg.sender] = 0;
        numMints[msg.sender]++;
        
        if (mintIndex == 0 && numGoldMints < MAX_SUPPLY_GOLD) {
            numGoldMints++;
            _mint(msg.sender, 1, 1, "");            
        } else {
            numWhiteMints++;
            _mint(msg.sender, 0, 1, "");            
        }
            
    }

    // public mint
    function purchase() external payable {
        require(saleActive == 1, "Sale currently closed");
        require(numMints[msg.sender] < 10 , "max tx amount exceeded");
        require(numWhiteMints < MAX_SUPPLY_WHITE || numGoldMints < MAX_SUPPLY_GOLD, "Transaction would exceed maximum supply");
        require(msg.value == mintPrice, "Incorrect payment");

        if (balanceOf(msg.sender, 1) >= 1 && numWhiteMints == MAX_SUPPLY_WHITE) {
            revert("Not enough tokens remaining to fulfill transaction");
        }

        uint256 nonce = 0;
        uint256 mintIndex = uint(keccak256(abi.encodePacked(block.timestamp, msg.sender, nonce))) % 30;

        numMints[msg.sender]++;

        if (mintIndex == 0 && balanceOf(msg.sender, 1) == 0 && numGoldMints < MAX_SUPPLY_GOLD) {
            // mint gold
            numGoldMints++;
            _mint(msg.sender, 1, 1, "");        
        } else if (mintIndex != 0 && numWhiteMints == MAX_SUPPLY_WHITE) {
            numGoldMints++;
            _mint(msg.sender, 1, 1, "");
        } else {
            // mint white
            numWhiteMints++;
            _mint(msg.sender, 0, 1, "");
        }
        
    }

    function redeemToken(uint256 id) external {
        require(balanceOf(msg.sender, id) > 0, "RedeemToken: must have a token to redeem");
        _burn(msg.sender, id, 1);
        _mint(msg.sender, id+2, 1, "");
    }

    function uri(uint256 _id) public view override returns (string memory) {
            require(exists(_id), "URI: nonexistent token");

            return string(abi.encodePacked(super.uri(_id), Strings.toString(_id)));
    }
    
    // burn function
    function burn(
        address account,
        uint256 id,
        uint256 value
    ) public virtual override {
        require(account == _msgSender() || isApprovedForAll(account, _msgSender()),
            "ERC1155: caller is not owner nor approved"
        );

        _burn(account, id, value);
    }

}

Contract Security Audit

Contract ABI

[{"inputs":[],"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":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"URI","type":"event"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"}],"name":"addWhitelist","outputs":[],"stateMutability":"nonpayable","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":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"burnBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"exists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"numGoldMints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"numMints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"numReserved","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"numWhiteMints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaleActive","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presalePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presalePurchase","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"purchase","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"redeemToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"reserveTokens","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":[],"name":"saleActive","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","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":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"state","type":"uint256"}],"name":"togglePresaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"state","type":"uint256"}],"name":"toggleSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelist","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]

67016345785d8a00006007556703e2c284391c000060085560006009819055600a819055600b819055600c5560e06040526027608081815290620030dc60a03980516200005591600d91602090910190620001e7565b503480156200006357600080fd5b50600d805462000073906200028d565b80601f0160208091040260200160405190810160405280929190818152602001828054620000a1906200028d565b8015620000f25780601f10620000c657610100808354040283529160200191620000f2565b820191906000526020600020905b815481529060010190602001808311620000d457829003601f168201915b505050505062000108816200017c60201b60201c565b50620001143362000195565b60408051808201909152600980825268576f726b776172657360b81b60209092019182526200014691600591620001e7565b5060408051808201909152600580825264424159433160d81b60209092019182526200017591600691620001e7565b50620002ca565b805162000191906002906020840190620001e7565b5050565b600480546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054620001f5906200028d565b90600052602060002090601f01602090048101928262000219576000855562000264565b82601f106200023457805160ff191683800117855562000264565b8280016001018555821562000264579182015b828111156200026457825182559160200191906001019062000247565b506200027292915062000276565b5090565b5b8082111562000272576000815560010162000277565b600181811c90821680620002a257607f821691505b60208210811415620002c457634e487b7160e01b600052602260045260246000fd5b50919050565b612e0280620002da6000396000f3fe60806040526004361061020d5760003560e01c806368428a1b11610118578063a9627b72116100a0578063e985e9c51161006f578063e985e9c5146105d7578063edac985b14610620578063f242432a14610640578063f2fde38b14610660578063f5298aca1461068057600080fd5b8063a9627b721461055e578063bd85b03914610574578063c0833ec4146105a1578063d031370b146105b757600080fd5b806391b7f5ed116100e757806391b7f5ed146104af57806395d89b41146104cf5780639b19251a146104e45780639c24a74d14610511578063a22cb4651461053e57600080fd5b806368428a1b1461043c5780636b20c45414610452578063715018a6146104725780638da5cb5b1461048757600080fd5b8063147ed35f1161019b5780634f558e791161016a5780634f558e79146103b957806353135ca0146103e8578063628dd13e146103fe57806364edfbf01461041e5780636817c76c1461042657600080fd5b8063147ed35f1461035c5780632eb2c2d6146103645780633ccfd60b146103845780634e1273f41461038c57600080fd5b806301ffc9a7116101e257806301ffc9a71461029d57806302fe5305146102cd5780630335eb12146102ed57806306fdde031461031a5780630e89341c1461033c57600080fd5b80620e7fa814610212578062fdd58e1461023b578063013054c21461025b57806301c2446e1461027d575b600080fd5b34801561021e57600080fd5b5061022860075481565b6040519081526020015b60405180910390f35b34801561024757600080fd5b5061022861025636600461257b565b6106a0565b34801561026757600080fd5b5061027b6102763660046127a1565b610737565b005b34801561028957600080fd5b5061027b6102983660046127a1565b6107d6565b3480156102a957600080fd5b506102bd6102b836600461271e565b610805565b6040519015158152602001610232565b3480156102d957600080fd5b5061027b6102e8366004612758565b610857565b3480156102f957600080fd5b5061022861030836600461236e565b600e6020526000908152604090205481565b34801561032657600080fd5b5061032f61088a565b6040516102329190612934565b34801561034857600080fd5b5061032f6103573660046127a1565b61091c565b61027b6109ac565b34801561037057600080fd5b5061027b61037f3660046123bc565b610b98565b61027b610c2f565b34801561039857600080fd5b506103ac6103a736600461264d565b610d2e565b60405161023291906128f3565b3480156103c557600080fd5b506102bd6103d43660046127a1565b600090815260036020526040902054151590565b3480156103f457600080fd5b5061022860095481565b34801561040a57600080fd5b5061027b6104193660046127a1565b610e58565b61027b610e87565b34801561043257600080fd5b5061022860085481565b34801561044857600080fd5b50610228600a5481565b34801561045e57600080fd5b5061027b61046d3660046124cb565b61113f565b34801561047e57600080fd5b5061027b611187565b34801561049357600080fd5b506004546040516001600160a01b039091168152602001610232565b3480156104bb57600080fd5b5061027b6104ca3660046127a1565b6111bd565b3480156104db57600080fd5b5061032f611230565b3480156104f057600080fd5b506102286104ff36600461236e565b600f6020526000908152604090205481565b34801561051d57600080fd5b5061022861052c36600461236e565b60106020526000908152604090205481565b34801561054a57600080fd5b5061027b61055936600461253f565b61123f565b34801561056a57600080fd5b50610228600c5481565b34801561058057600080fd5b5061022861058f3660046127a1565b60009081526003602052604090205490565b3480156105ad57600080fd5b50610228600b5481565b3480156105c357600080fd5b5061027b6105d23660046127a1565b61124a565b3480156105e357600080fd5b506102bd6105f2366004612389565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205460ff1690565b34801561062c57600080fd5b5061027b61063b3660046125d8565b61133b565b34801561064c57600080fd5b5061027b61065b366004612466565b6113c9565b34801561066c57600080fd5b5061027b61067b36600461236e565b61140e565b34801561068c57600080fd5b5061027b61069b3660046125a5565b6114a6565b60006001600160a01b0383166107115760405162461bcd60e51b815260206004820152602b60248201527f455243313135353a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b60648201526084015b60405180910390fd5b506000908152602081815260408083206001600160a01b03949094168352929052205490565b600061074333836106a0565b116107a15760405162461bcd60e51b815260206004820152602860248201527f52656465656d546f6b656e3a206d7573742068617665206120746f6b656e20746044820152676f2072656465656d60c01b6064820152608401610708565b6107ad338260016114e5565b6107d3336107bc836002612b8f565b6001604051806020016040528060008152506115e6565b50565b6004546001600160a01b031633146108005760405162461bcd60e51b815260040161070890612aee565b600955565b60006001600160e01b03198216636cdb3d1360e11b148061083657506001600160e01b031982166303a24d0760e21b145b8061085157506301ffc9a760e01b6001600160e01b03198316145b92915050565b6004546001600160a01b031633146108815760405162461bcd60e51b815260040161070890612aee565b6107d3816116f6565b60606005805461089990612c21565b80601f01602080910402602001604051908101604052809291908181526020018280546108c590612c21565b80156109125780601f106108e757610100808354040283529160200191610912565b820191906000526020600020905b8154815290600101906020018083116108f557829003601f168201915b5050505050905090565b6000818152600360205260409020546060906109735760405162461bcd60e51b81526020600482015260166024820152752aa9249d103737b732bc34b9ba32b73a103a37b5b2b760511b6044820152606401610708565b61097c82611709565b6109858361179d565b604051602001610996929190612821565b6040516020818303038152906040529050919050565b6009546001146109ef5760405162461bcd60e51b815260206004820152600e60248201526d141c995cd85b194818db1bdcd95960921b6044820152606401610708565b336000908152600f6020526040902054600114610a4e5760405162461bcd60e51b815260206004820152601860248201527f41646472657373206e6f74206f6e2077686974656c69737400000000000000006044820152606401610708565b6007543414610a935760405162461bcd60e51b8152602060048201526011602482015270125b98dbdc9c9958dd081c185e5b595b9d607a1b6044820152606401610708565b604080514260208201526bffffffffffffffffffffffff193360601b1691810191909152600060548201819052908190601e906074016040516020818303038152906040528051906020012060001c610aec9190612ca4565b336000908152600f60209081526040808320839055600e9091528120805492935090610b1783612c89565b909155505080158015610b2c5750600a600c54105b15610b6657600c8054906000610b4183612c89565b9190505550610b6233600180604051806020016040528060008152506115e6565b5050565b600b8054906000610b7683612c89565b9190505550610b623360006001604051806020016040528060008152506115e6565b6001600160a01b038516331480610bb45750610bb485336105f2565b610c1b5760405162461bcd60e51b815260206004820152603260248201527f455243313135353a207472616e736665722063616c6c6572206973206e6f74206044820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b6064820152608401610708565b610c2885858585856118a3565b5050505050565b6004546001600160a01b03163314610c595760405162461bcd60e51b815260040161070890612aee565b4773011c2799d043d2d384ac19aa3cf0567021cd9fa473388ccbf8c1a37f444dcff6ede0014dfa85bedc1b6000610c91606485612ba7565b610c9c906055612bbb565b90506000610cab606486612ba7565b610cb690600f612bbb565b6040519091506001600160a01b0384169082156108fc029083906000818181858888f19350505050158015610cef573d6000803e3d6000fd5b506040516001600160a01b0385169083156108fc029084906000818181858888f19350505050158015610d26573d6000803e3d6000fd5b505050505050565b60608151835114610d935760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e677468604482015268040dad2e6dac2e8c6d60bb1b6064820152608401610708565b6000835167ffffffffffffffff811115610daf57610daf612cfa565b604051908082528060200260200182016040528015610dd8578160200160208202803683370190505b50905060005b8451811015610e5057610e23858281518110610dfc57610dfc612ce4565b6020026020010151858381518110610e1657610e16612ce4565b60200260200101516106a0565b828281518110610e3557610e35612ce4565b6020908102919091010152610e4981612c89565b9050610dde565b509392505050565b6004546001600160a01b03163314610e825760405162461bcd60e51b815260040161070890612aee565b600a55565b600a54600114610ed15760405162461bcd60e51b815260206004820152601560248201527414d85b194818dd5c9c995b9d1b1e4818db1bdcd959605a1b6044820152606401610708565b336000908152600e6020526040902054600a11610f295760405162461bcd60e51b81526020600482015260166024820152751b585e081d1e08185b5bdd5b9d08195e18d95959195960521b6044820152606401610708565b610143600b541080610f3d5750600a600c54105b610f995760405162461bcd60e51b815260206004820152602760248201527f5472616e73616374696f6e20776f756c6420657863656564206d6178696d756d60448201526620737570706c7960c81b6064820152608401610708565b6008543414610fde5760405162461bcd60e51b8152602060048201526011602482015270125b98dbdc9c9958dd081c185e5b595b9d607a1b6044820152606401610708565b6001610feb3360016106a0565b10158015610ffc5750610143600b54145b156110645760405162461bcd60e51b815260206004820152603260248201527f4e6f7420656e6f75676820746f6b656e732072656d61696e696e6720746f20666044820152713ab63334b636103a3930b739b0b1ba34b7b760711b6064820152608401610708565b604080514260208201526bffffffffffffffffffffffff193360601b1691810191909152600060548201819052908190601e906074016040516020818303038152906040528051906020012060001c6110bd9190612ca4565b336000908152600e602052604081208054929350906110db83612c89565b9091555050801580156110f657506110f43360016106a0565b155b80156111045750600a600c54105b1561111957600c8054906000610b4183612c89565b8015801590610b2c5750610143600b541415610b6657600c8054906000610b4183612c89565b6001600160a01b03831633148061115b575061115b83336105f2565b6111775760405162461bcd60e51b8152600401610708906129d3565b611182838383611a45565b505050565b6004546001600160a01b031633146111b15760405162461bcd60e51b815260040161070890612aee565b6111bb6000611bd3565b565b6004546001600160a01b031633146111e75760405162461bcd60e51b815260040161070890612aee565b6000811161122b5760405162461bcd60e51b8152602060048201526011602482015270050726963652063616e6e6f74206265203607c1b6044820152606401610708565b600855565b60606006805461089990612c21565b610b62338383611c25565b6004546001600160a01b031633146112745760405162461bcd60e51b815260040161070890612aee565b33600090815260106020526040902054600590611292908390612b8f565b11156112e05760405162461bcd60e51b815260206004820181905260248201527f576f756c6420657863656564206d617820726573657276656420746f6b656e736044820152606401610708565b33600090815260106020526040812080548392906112ff908490612b8f565b9250508190555080600b60008282546113189190612b8f565b925050819055506107d333600083604051806020016040528060008152506115e6565b6004546001600160a01b031633146113655760405162461bcd60e51b815260040161070890612aee565b60005b81811015611182576001600f600085858581811061138857611388612ce4565b905060200201602081019061139d919061236e565b6001600160a01b03168152602081019190915260400160002055806113c181612c89565b915050611368565b6001600160a01b0385163314806113e557506113e585336105f2565b6114015760405162461bcd60e51b8152600401610708906129d3565b610c288585858585611d06565b6004546001600160a01b031633146114385760405162461bcd60e51b815260040161070890612aee565b6001600160a01b03811661149d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610708565b6107d381611bd3565b6001600160a01b0383163314806114c257506114c283336105f2565b6114de5760405162461bcd60e51b8152600401610708906129d3565b6111828383835b6001600160a01b03831661150b5760405162461bcd60e51b815260040161070890612a61565b3361153a8185600061151c87611e23565b61152587611e23565b60405180602001604052806000815250611e6e565b6000838152602081815260408083206001600160a01b03881684529091529020548281101561157b5760405162461bcd60e51b81526004016107089061298f565b6000848152602081815260408083206001600160a01b03898116808652918452828520888703905582518981529384018890529092908616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a45050505050565b6001600160a01b0384166116465760405162461bcd60e51b815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b6064820152608401610708565b336116668160008761165788611e23565b61166088611e23565b87611e6e565b6000848152602081815260408083206001600160a01b038916845290915281208054859290611696908490612b8f565b909155505060408051858152602081018590526001600160a01b0380881692600092918516917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4610c2881600087878787611e7c565b8051610b629060029060208401906121bd565b60606002805461171890612c21565b80601f016020809104026020016040519081016040528092919081815260200182805461174490612c21565b80156117915780601f1061176657610100808354040283529160200191611791565b820191906000526020600020905b81548152906001019060200180831161177457829003601f168201915b50505050509050919050565b6060816117c15750506040805180820190915260018152600360fc1b602082015290565b8160005b81156117eb57806117d581612c89565b91506117e49050600a83612ba7565b91506117c5565b60008167ffffffffffffffff81111561180657611806612cfa565b6040519080825280601f01601f191660200182016040528015611830576020820181803683370190505b5090505b841561189b57611845600183612bda565b9150611852600a86612ca4565b61185d906030612b8f565b60f81b81838151811061187257611872612ce4565b60200101906001600160f81b031916908160001a905350611894600a86612ba7565b9450611834565b949350505050565b81518351146118c45760405162461bcd60e51b815260040161070890612b23565b6001600160a01b0384166118ea5760405162461bcd60e51b815260040161070890612a1c565b336118f9818787878787611e6e565b60005b84518110156119df57600085828151811061191957611919612ce4565b60200260200101519050600085838151811061193757611937612ce4565b602090810291909101810151600084815280835260408082206001600160a01b038e1683529093529190912054909150818110156119875760405162461bcd60e51b815260040161070890612aa4565b6000838152602081815260408083206001600160a01b038e8116855292528083208585039055908b168252812080548492906119c4908490612b8f565b92505081905550505050806119d890612c89565b90506118fc565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051611a2f929190612906565b60405180910390a4610d26818787878787611fe7565b6001600160a01b038316611a6b5760405162461bcd60e51b815260040161070890612a61565b8051825114611a8c5760405162461bcd60e51b815260040161070890612b23565b6000339050611aaf81856000868660405180602001604052806000815250611e6e565b60005b8351811015611b74576000848281518110611acf57611acf612ce4565b602002602001015190506000848381518110611aed57611aed612ce4565b602090810291909101810151600084815280835260408082206001600160a01b038c168352909352919091205490915081811015611b3d5760405162461bcd60e51b81526004016107089061298f565b6000928352602083815260408085206001600160a01b038b1686529091529092209103905580611b6c81612c89565b915050611ab2565b5060006001600160a01b0316846001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8686604051611bc5929190612906565b60405180910390a450505050565b600480546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b03161415611c995760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c20737461747573604482015268103337b91039b2b63360b91b6064820152608401610708565b6001600160a01b03838116600081815260016020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6001600160a01b038416611d2c5760405162461bcd60e51b815260040161070890612a1c565b33611d3c81878761165788611e23565b6000848152602081815260408083206001600160a01b038a16845290915290205483811015611d7d5760405162461bcd60e51b815260040161070890612aa4565b6000858152602081815260408083206001600160a01b038b8116855292528083208785039055908816825281208054869290611dba908490612b8f565b909155505060408051868152602081018690526001600160a01b03808916928a821692918616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4611e1a828888888888611e7c565b50505050505050565b60408051600180825281830190925260609160009190602080830190803683370190505090508281600081518110611e5d57611e5d612ce4565b602090810291909101015292915050565b610d268686868686866120b1565b6001600160a01b0384163b15610d265760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e6190611ec090899089908890889088906004016128ae565b602060405180830381600087803b158015611eda57600080fd5b505af1925050508015611f0a575060408051601f3d908101601f19168201909252611f079181019061273b565b60015b611fb757611f16612d10565b806308c379a01415611f505750611f2b612d2c565b80611f365750611f52565b8060405162461bcd60e51b81526004016107089190612934565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e20455243313135356044820152732932b1b2b4bb32b91034b6b83632b6b2b73a32b960611b6064820152608401610708565b6001600160e01b0319811663f23a6e6160e01b14611e1a5760405162461bcd60e51b815260040161070890612947565b6001600160a01b0384163b15610d265760405163bc197c8160e01b81526001600160a01b0385169063bc197c819061202b9089908990889088908890600401612850565b602060405180830381600087803b15801561204557600080fd5b505af1925050508015612075575060408051601f3d908101601f191682019092526120729181019061273b565b60015b61208157611f16612d10565b6001600160e01b0319811663bc197c8160e01b14611e1a5760405162461bcd60e51b815260040161070890612947565b6001600160a01b0385166121385760005b8351811015612136578281815181106120dd576120dd612ce4565b6020026020010151600360008684815181106120fb576120fb612ce4565b6020026020010151815260200190815260200160002060008282546121209190612b8f565b9091555061212f905081612c89565b90506120c2565b505b6001600160a01b038416610d265760005b8351811015611e1a5782818151811061216457612164612ce4565b60200260200101516003600086848151811061218257612182612ce4565b6020026020010151815260200190815260200160002060008282546121a79190612bda565b909155506121b6905081612c89565b9050612149565b8280546121c990612c21565b90600052602060002090601f0160209004810192826121eb5760008555612231565b82601f1061220457805160ff1916838001178555612231565b82800160010185558215612231579182015b82811115612231578251825591602001919060010190612216565b5061223d929150612241565b5090565b5b8082111561223d5760008155600101612242565b600067ffffffffffffffff83111561227057612270612cfa565b604051612287601f8501601f191660200182612c5c565b80915083815284848401111561229c57600080fd5b83836020830137600060208583010152509392505050565b80356001600160a01b03811681146122cb57600080fd5b919050565b600082601f8301126122e157600080fd5b813560206122ee82612b6b565b6040516122fb8282612c5c565b8381528281019150858301600585901b8701840188101561231b57600080fd5b60005b8581101561233a5781358452928401929084019060010161231e565b5090979650505050505050565b600082601f83011261235857600080fd5b61236783833560208501612256565b9392505050565b60006020828403121561238057600080fd5b612367826122b4565b6000806040838503121561239c57600080fd5b6123a5836122b4565b91506123b3602084016122b4565b90509250929050565b600080600080600060a086880312156123d457600080fd5b6123dd866122b4565b94506123eb602087016122b4565b9350604086013567ffffffffffffffff8082111561240857600080fd5b61241489838a016122d0565b9450606088013591508082111561242a57600080fd5b61243689838a016122d0565b9350608088013591508082111561244c57600080fd5b5061245988828901612347565b9150509295509295909350565b600080600080600060a0868803121561247e57600080fd5b612487866122b4565b9450612495602087016122b4565b93506040860135925060608601359150608086013567ffffffffffffffff8111156124bf57600080fd5b61245988828901612347565b6000806000606084860312156124e057600080fd5b6124e9846122b4565b9250602084013567ffffffffffffffff8082111561250657600080fd5b612512878388016122d0565b9350604086013591508082111561252857600080fd5b50612535868287016122d0565b9150509250925092565b6000806040838503121561255257600080fd5b61255b836122b4565b91506020830135801515811461257057600080fd5b809150509250929050565b6000806040838503121561258e57600080fd5b612597836122b4565b946020939093013593505050565b6000806000606084860312156125ba57600080fd5b6125c3846122b4565b95602085013595506040909401359392505050565b600080602083850312156125eb57600080fd5b823567ffffffffffffffff8082111561260357600080fd5b818501915085601f83011261261757600080fd5b81358181111561262657600080fd5b8660208260051b850101111561263b57600080fd5b60209290920196919550909350505050565b6000806040838503121561266057600080fd5b823567ffffffffffffffff8082111561267857600080fd5b818501915085601f83011261268c57600080fd5b8135602061269982612b6b565b6040516126a68282612c5c565b8381528281019150858301600585901b870184018b10156126c657600080fd5b600096505b848710156126f0576126dc816122b4565b8352600196909601959183019183016126cb565b509650508601359250508082111561270757600080fd5b50612714858286016122d0565b9150509250929050565b60006020828403121561273057600080fd5b813561236781612db6565b60006020828403121561274d57600080fd5b815161236781612db6565b60006020828403121561276a57600080fd5b813567ffffffffffffffff81111561278157600080fd5b8201601f8101841361279257600080fd5b61189b84823560208401612256565b6000602082840312156127b357600080fd5b5035919050565b600081518084526020808501945080840160005b838110156127ea578151875295820195908201906001016127ce565b509495945050505050565b6000815180845261280d816020860160208601612bf1565b601f01601f19169290920160200192915050565b60008351612833818460208801612bf1565b835190830190612847818360208801612bf1565b01949350505050565b6001600160a01b0386811682528516602082015260a06040820181905260009061287c908301866127ba565b828103606084015261288e81866127ba565b905082810360808401526128a281856127f5565b98975050505050505050565b6001600160a01b03868116825285166020820152604081018490526060810183905260a0608082018190526000906128e8908301846127f5565b979650505050505050565b60208152600061236760208301846127ba565b60408152600061291960408301856127ba565b828103602084015261292b81856127ba565b95945050505050565b60208152600061236760208301846127f5565b60208082526028908201527f455243313135353a204552433131353552656365697665722072656a656374656040820152676420746f6b656e7360c01b606082015260800190565b60208082526024908201527f455243313135353a206275726e20616d6f756e7420657863656564732062616c604082015263616e636560e01b606082015260800190565b60208082526029908201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260408201526808185c1c1c9bdd995960ba1b606082015260800190565b60208082526025908201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f455243313135353a206275726e2066726f6d20746865207a65726f206164647260408201526265737360e81b606082015260800190565b6020808252602a908201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60408201526939103a3930b739b332b960b11b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526028908201527f455243313135353a2069647320616e6420616d6f756e7473206c656e677468206040820152670dad2e6dac2e8c6d60c31b606082015260800190565b600067ffffffffffffffff821115612b8557612b85612cfa565b5060051b60200190565b60008219821115612ba257612ba2612cb8565b500190565b600082612bb657612bb6612cce565b500490565b6000816000190483118215151615612bd557612bd5612cb8565b500290565b600082821015612bec57612bec612cb8565b500390565b60005b83811015612c0c578181015183820152602001612bf4565b83811115612c1b576000848401525b50505050565b600181811c90821680612c3557607f821691505b60208210811415612c5657634e487b7160e01b600052602260045260246000fd5b50919050565b601f8201601f1916810167ffffffffffffffff81118282101715612c8257612c82612cfa565b6040525050565b6000600019821415612c9d57612c9d612cb8565b5060010190565b600082612cb357612cb3612cce565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b600060033d1115612d295760046000803e5060005160e01c5b90565b600060443d1015612d3a5790565b6040516003193d81016004833e81513d67ffffffffffffffff8160248401118184111715612d6a57505050505090565b8285019150815181811115612d825750505050505090565b843d8701016020828501011115612d9c5750505050505090565b612dab60208286010187612c5c565b509095945050505050565b6001600160e01b0319811681146107d357600080fdfea2646970667358221220f4d2e2633e639767bd36185738906d933d649ba9241fbcde25b4b84fe6c096c364736f6c63430008070033687474703a2f2f62617963312e6d696e74776f726b77617265732e696f2f6d657461646174612f

Deployed Bytecode

0x60806040526004361061020d5760003560e01c806368428a1b11610118578063a9627b72116100a0578063e985e9c51161006f578063e985e9c5146105d7578063edac985b14610620578063f242432a14610640578063f2fde38b14610660578063f5298aca1461068057600080fd5b8063a9627b721461055e578063bd85b03914610574578063c0833ec4146105a1578063d031370b146105b757600080fd5b806391b7f5ed116100e757806391b7f5ed146104af57806395d89b41146104cf5780639b19251a146104e45780639c24a74d14610511578063a22cb4651461053e57600080fd5b806368428a1b1461043c5780636b20c45414610452578063715018a6146104725780638da5cb5b1461048757600080fd5b8063147ed35f1161019b5780634f558e791161016a5780634f558e79146103b957806353135ca0146103e8578063628dd13e146103fe57806364edfbf01461041e5780636817c76c1461042657600080fd5b8063147ed35f1461035c5780632eb2c2d6146103645780633ccfd60b146103845780634e1273f41461038c57600080fd5b806301ffc9a7116101e257806301ffc9a71461029d57806302fe5305146102cd5780630335eb12146102ed57806306fdde031461031a5780630e89341c1461033c57600080fd5b80620e7fa814610212578062fdd58e1461023b578063013054c21461025b57806301c2446e1461027d575b600080fd5b34801561021e57600080fd5b5061022860075481565b6040519081526020015b60405180910390f35b34801561024757600080fd5b5061022861025636600461257b565b6106a0565b34801561026757600080fd5b5061027b6102763660046127a1565b610737565b005b34801561028957600080fd5b5061027b6102983660046127a1565b6107d6565b3480156102a957600080fd5b506102bd6102b836600461271e565b610805565b6040519015158152602001610232565b3480156102d957600080fd5b5061027b6102e8366004612758565b610857565b3480156102f957600080fd5b5061022861030836600461236e565b600e6020526000908152604090205481565b34801561032657600080fd5b5061032f61088a565b6040516102329190612934565b34801561034857600080fd5b5061032f6103573660046127a1565b61091c565b61027b6109ac565b34801561037057600080fd5b5061027b61037f3660046123bc565b610b98565b61027b610c2f565b34801561039857600080fd5b506103ac6103a736600461264d565b610d2e565b60405161023291906128f3565b3480156103c557600080fd5b506102bd6103d43660046127a1565b600090815260036020526040902054151590565b3480156103f457600080fd5b5061022860095481565b34801561040a57600080fd5b5061027b6104193660046127a1565b610e58565b61027b610e87565b34801561043257600080fd5b5061022860085481565b34801561044857600080fd5b50610228600a5481565b34801561045e57600080fd5b5061027b61046d3660046124cb565b61113f565b34801561047e57600080fd5b5061027b611187565b34801561049357600080fd5b506004546040516001600160a01b039091168152602001610232565b3480156104bb57600080fd5b5061027b6104ca3660046127a1565b6111bd565b3480156104db57600080fd5b5061032f611230565b3480156104f057600080fd5b506102286104ff36600461236e565b600f6020526000908152604090205481565b34801561051d57600080fd5b5061022861052c36600461236e565b60106020526000908152604090205481565b34801561054a57600080fd5b5061027b61055936600461253f565b61123f565b34801561056a57600080fd5b50610228600c5481565b34801561058057600080fd5b5061022861058f3660046127a1565b60009081526003602052604090205490565b3480156105ad57600080fd5b50610228600b5481565b3480156105c357600080fd5b5061027b6105d23660046127a1565b61124a565b3480156105e357600080fd5b506102bd6105f2366004612389565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205460ff1690565b34801561062c57600080fd5b5061027b61063b3660046125d8565b61133b565b34801561064c57600080fd5b5061027b61065b366004612466565b6113c9565b34801561066c57600080fd5b5061027b61067b36600461236e565b61140e565b34801561068c57600080fd5b5061027b61069b3660046125a5565b6114a6565b60006001600160a01b0383166107115760405162461bcd60e51b815260206004820152602b60248201527f455243313135353a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b60648201526084015b60405180910390fd5b506000908152602081815260408083206001600160a01b03949094168352929052205490565b600061074333836106a0565b116107a15760405162461bcd60e51b815260206004820152602860248201527f52656465656d546f6b656e3a206d7573742068617665206120746f6b656e20746044820152676f2072656465656d60c01b6064820152608401610708565b6107ad338260016114e5565b6107d3336107bc836002612b8f565b6001604051806020016040528060008152506115e6565b50565b6004546001600160a01b031633146108005760405162461bcd60e51b815260040161070890612aee565b600955565b60006001600160e01b03198216636cdb3d1360e11b148061083657506001600160e01b031982166303a24d0760e21b145b8061085157506301ffc9a760e01b6001600160e01b03198316145b92915050565b6004546001600160a01b031633146108815760405162461bcd60e51b815260040161070890612aee565b6107d3816116f6565b60606005805461089990612c21565b80601f01602080910402602001604051908101604052809291908181526020018280546108c590612c21565b80156109125780601f106108e757610100808354040283529160200191610912565b820191906000526020600020905b8154815290600101906020018083116108f557829003601f168201915b5050505050905090565b6000818152600360205260409020546060906109735760405162461bcd60e51b81526020600482015260166024820152752aa9249d103737b732bc34b9ba32b73a103a37b5b2b760511b6044820152606401610708565b61097c82611709565b6109858361179d565b604051602001610996929190612821565b6040516020818303038152906040529050919050565b6009546001146109ef5760405162461bcd60e51b815260206004820152600e60248201526d141c995cd85b194818db1bdcd95960921b6044820152606401610708565b336000908152600f6020526040902054600114610a4e5760405162461bcd60e51b815260206004820152601860248201527f41646472657373206e6f74206f6e2077686974656c69737400000000000000006044820152606401610708565b6007543414610a935760405162461bcd60e51b8152602060048201526011602482015270125b98dbdc9c9958dd081c185e5b595b9d607a1b6044820152606401610708565b604080514260208201526bffffffffffffffffffffffff193360601b1691810191909152600060548201819052908190601e906074016040516020818303038152906040528051906020012060001c610aec9190612ca4565b336000908152600f60209081526040808320839055600e9091528120805492935090610b1783612c89565b909155505080158015610b2c5750600a600c54105b15610b6657600c8054906000610b4183612c89565b9190505550610b6233600180604051806020016040528060008152506115e6565b5050565b600b8054906000610b7683612c89565b9190505550610b623360006001604051806020016040528060008152506115e6565b6001600160a01b038516331480610bb45750610bb485336105f2565b610c1b5760405162461bcd60e51b815260206004820152603260248201527f455243313135353a207472616e736665722063616c6c6572206973206e6f74206044820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b6064820152608401610708565b610c2885858585856118a3565b5050505050565b6004546001600160a01b03163314610c595760405162461bcd60e51b815260040161070890612aee565b4773011c2799d043d2d384ac19aa3cf0567021cd9fa473388ccbf8c1a37f444dcff6ede0014dfa85bedc1b6000610c91606485612ba7565b610c9c906055612bbb565b90506000610cab606486612ba7565b610cb690600f612bbb565b6040519091506001600160a01b0384169082156108fc029083906000818181858888f19350505050158015610cef573d6000803e3d6000fd5b506040516001600160a01b0385169083156108fc029084906000818181858888f19350505050158015610d26573d6000803e3d6000fd5b505050505050565b60608151835114610d935760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e677468604482015268040dad2e6dac2e8c6d60bb1b6064820152608401610708565b6000835167ffffffffffffffff811115610daf57610daf612cfa565b604051908082528060200260200182016040528015610dd8578160200160208202803683370190505b50905060005b8451811015610e5057610e23858281518110610dfc57610dfc612ce4565b6020026020010151858381518110610e1657610e16612ce4565b60200260200101516106a0565b828281518110610e3557610e35612ce4565b6020908102919091010152610e4981612c89565b9050610dde565b509392505050565b6004546001600160a01b03163314610e825760405162461bcd60e51b815260040161070890612aee565b600a55565b600a54600114610ed15760405162461bcd60e51b815260206004820152601560248201527414d85b194818dd5c9c995b9d1b1e4818db1bdcd959605a1b6044820152606401610708565b336000908152600e6020526040902054600a11610f295760405162461bcd60e51b81526020600482015260166024820152751b585e081d1e08185b5bdd5b9d08195e18d95959195960521b6044820152606401610708565b610143600b541080610f3d5750600a600c54105b610f995760405162461bcd60e51b815260206004820152602760248201527f5472616e73616374696f6e20776f756c6420657863656564206d6178696d756d60448201526620737570706c7960c81b6064820152608401610708565b6008543414610fde5760405162461bcd60e51b8152602060048201526011602482015270125b98dbdc9c9958dd081c185e5b595b9d607a1b6044820152606401610708565b6001610feb3360016106a0565b10158015610ffc5750610143600b54145b156110645760405162461bcd60e51b815260206004820152603260248201527f4e6f7420656e6f75676820746f6b656e732072656d61696e696e6720746f20666044820152713ab63334b636103a3930b739b0b1ba34b7b760711b6064820152608401610708565b604080514260208201526bffffffffffffffffffffffff193360601b1691810191909152600060548201819052908190601e906074016040516020818303038152906040528051906020012060001c6110bd9190612ca4565b336000908152600e602052604081208054929350906110db83612c89565b9091555050801580156110f657506110f43360016106a0565b155b80156111045750600a600c54105b1561111957600c8054906000610b4183612c89565b8015801590610b2c5750610143600b541415610b6657600c8054906000610b4183612c89565b6001600160a01b03831633148061115b575061115b83336105f2565b6111775760405162461bcd60e51b8152600401610708906129d3565b611182838383611a45565b505050565b6004546001600160a01b031633146111b15760405162461bcd60e51b815260040161070890612aee565b6111bb6000611bd3565b565b6004546001600160a01b031633146111e75760405162461bcd60e51b815260040161070890612aee565b6000811161122b5760405162461bcd60e51b8152602060048201526011602482015270050726963652063616e6e6f74206265203607c1b6044820152606401610708565b600855565b60606006805461089990612c21565b610b62338383611c25565b6004546001600160a01b031633146112745760405162461bcd60e51b815260040161070890612aee565b33600090815260106020526040902054600590611292908390612b8f565b11156112e05760405162461bcd60e51b815260206004820181905260248201527f576f756c6420657863656564206d617820726573657276656420746f6b656e736044820152606401610708565b33600090815260106020526040812080548392906112ff908490612b8f565b9250508190555080600b60008282546113189190612b8f565b925050819055506107d333600083604051806020016040528060008152506115e6565b6004546001600160a01b031633146113655760405162461bcd60e51b815260040161070890612aee565b60005b81811015611182576001600f600085858581811061138857611388612ce4565b905060200201602081019061139d919061236e565b6001600160a01b03168152602081019190915260400160002055806113c181612c89565b915050611368565b6001600160a01b0385163314806113e557506113e585336105f2565b6114015760405162461bcd60e51b8152600401610708906129d3565b610c288585858585611d06565b6004546001600160a01b031633146114385760405162461bcd60e51b815260040161070890612aee565b6001600160a01b03811661149d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610708565b6107d381611bd3565b6001600160a01b0383163314806114c257506114c283336105f2565b6114de5760405162461bcd60e51b8152600401610708906129d3565b6111828383835b6001600160a01b03831661150b5760405162461bcd60e51b815260040161070890612a61565b3361153a8185600061151c87611e23565b61152587611e23565b60405180602001604052806000815250611e6e565b6000838152602081815260408083206001600160a01b03881684529091529020548281101561157b5760405162461bcd60e51b81526004016107089061298f565b6000848152602081815260408083206001600160a01b03898116808652918452828520888703905582518981529384018890529092908616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a45050505050565b6001600160a01b0384166116465760405162461bcd60e51b815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b6064820152608401610708565b336116668160008761165788611e23565b61166088611e23565b87611e6e565b6000848152602081815260408083206001600160a01b038916845290915281208054859290611696908490612b8f565b909155505060408051858152602081018590526001600160a01b0380881692600092918516917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4610c2881600087878787611e7c565b8051610b629060029060208401906121bd565b60606002805461171890612c21565b80601f016020809104026020016040519081016040528092919081815260200182805461174490612c21565b80156117915780601f1061176657610100808354040283529160200191611791565b820191906000526020600020905b81548152906001019060200180831161177457829003601f168201915b50505050509050919050565b6060816117c15750506040805180820190915260018152600360fc1b602082015290565b8160005b81156117eb57806117d581612c89565b91506117e49050600a83612ba7565b91506117c5565b60008167ffffffffffffffff81111561180657611806612cfa565b6040519080825280601f01601f191660200182016040528015611830576020820181803683370190505b5090505b841561189b57611845600183612bda565b9150611852600a86612ca4565b61185d906030612b8f565b60f81b81838151811061187257611872612ce4565b60200101906001600160f81b031916908160001a905350611894600a86612ba7565b9450611834565b949350505050565b81518351146118c45760405162461bcd60e51b815260040161070890612b23565b6001600160a01b0384166118ea5760405162461bcd60e51b815260040161070890612a1c565b336118f9818787878787611e6e565b60005b84518110156119df57600085828151811061191957611919612ce4565b60200260200101519050600085838151811061193757611937612ce4565b602090810291909101810151600084815280835260408082206001600160a01b038e1683529093529190912054909150818110156119875760405162461bcd60e51b815260040161070890612aa4565b6000838152602081815260408083206001600160a01b038e8116855292528083208585039055908b168252812080548492906119c4908490612b8f565b92505081905550505050806119d890612c89565b90506118fc565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051611a2f929190612906565b60405180910390a4610d26818787878787611fe7565b6001600160a01b038316611a6b5760405162461bcd60e51b815260040161070890612a61565b8051825114611a8c5760405162461bcd60e51b815260040161070890612b23565b6000339050611aaf81856000868660405180602001604052806000815250611e6e565b60005b8351811015611b74576000848281518110611acf57611acf612ce4565b602002602001015190506000848381518110611aed57611aed612ce4565b602090810291909101810151600084815280835260408082206001600160a01b038c168352909352919091205490915081811015611b3d5760405162461bcd60e51b81526004016107089061298f565b6000928352602083815260408085206001600160a01b038b1686529091529092209103905580611b6c81612c89565b915050611ab2565b5060006001600160a01b0316846001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8686604051611bc5929190612906565b60405180910390a450505050565b600480546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b03161415611c995760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c20737461747573604482015268103337b91039b2b63360b91b6064820152608401610708565b6001600160a01b03838116600081815260016020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6001600160a01b038416611d2c5760405162461bcd60e51b815260040161070890612a1c565b33611d3c81878761165788611e23565b6000848152602081815260408083206001600160a01b038a16845290915290205483811015611d7d5760405162461bcd60e51b815260040161070890612aa4565b6000858152602081815260408083206001600160a01b038b8116855292528083208785039055908816825281208054869290611dba908490612b8f565b909155505060408051868152602081018690526001600160a01b03808916928a821692918616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4611e1a828888888888611e7c565b50505050505050565b60408051600180825281830190925260609160009190602080830190803683370190505090508281600081518110611e5d57611e5d612ce4565b602090810291909101015292915050565b610d268686868686866120b1565b6001600160a01b0384163b15610d265760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e6190611ec090899089908890889088906004016128ae565b602060405180830381600087803b158015611eda57600080fd5b505af1925050508015611f0a575060408051601f3d908101601f19168201909252611f079181019061273b565b60015b611fb757611f16612d10565b806308c379a01415611f505750611f2b612d2c565b80611f365750611f52565b8060405162461bcd60e51b81526004016107089190612934565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e20455243313135356044820152732932b1b2b4bb32b91034b6b83632b6b2b73a32b960611b6064820152608401610708565b6001600160e01b0319811663f23a6e6160e01b14611e1a5760405162461bcd60e51b815260040161070890612947565b6001600160a01b0384163b15610d265760405163bc197c8160e01b81526001600160a01b0385169063bc197c819061202b9089908990889088908890600401612850565b602060405180830381600087803b15801561204557600080fd5b505af1925050508015612075575060408051601f3d908101601f191682019092526120729181019061273b565b60015b61208157611f16612d10565b6001600160e01b0319811663bc197c8160e01b14611e1a5760405162461bcd60e51b815260040161070890612947565b6001600160a01b0385166121385760005b8351811015612136578281815181106120dd576120dd612ce4565b6020026020010151600360008684815181106120fb576120fb612ce4565b6020026020010151815260200190815260200160002060008282546121209190612b8f565b9091555061212f905081612c89565b90506120c2565b505b6001600160a01b038416610d265760005b8351811015611e1a5782818151811061216457612164612ce4565b60200260200101516003600086848151811061218257612182612ce4565b6020026020010151815260200190815260200160002060008282546121a79190612bda565b909155506121b6905081612c89565b9050612149565b8280546121c990612c21565b90600052602060002090601f0160209004810192826121eb5760008555612231565b82601f1061220457805160ff1916838001178555612231565b82800160010185558215612231579182015b82811115612231578251825591602001919060010190612216565b5061223d929150612241565b5090565b5b8082111561223d5760008155600101612242565b600067ffffffffffffffff83111561227057612270612cfa565b604051612287601f8501601f191660200182612c5c565b80915083815284848401111561229c57600080fd5b83836020830137600060208583010152509392505050565b80356001600160a01b03811681146122cb57600080fd5b919050565b600082601f8301126122e157600080fd5b813560206122ee82612b6b565b6040516122fb8282612c5c565b8381528281019150858301600585901b8701840188101561231b57600080fd5b60005b8581101561233a5781358452928401929084019060010161231e565b5090979650505050505050565b600082601f83011261235857600080fd5b61236783833560208501612256565b9392505050565b60006020828403121561238057600080fd5b612367826122b4565b6000806040838503121561239c57600080fd5b6123a5836122b4565b91506123b3602084016122b4565b90509250929050565b600080600080600060a086880312156123d457600080fd5b6123dd866122b4565b94506123eb602087016122b4565b9350604086013567ffffffffffffffff8082111561240857600080fd5b61241489838a016122d0565b9450606088013591508082111561242a57600080fd5b61243689838a016122d0565b9350608088013591508082111561244c57600080fd5b5061245988828901612347565b9150509295509295909350565b600080600080600060a0868803121561247e57600080fd5b612487866122b4565b9450612495602087016122b4565b93506040860135925060608601359150608086013567ffffffffffffffff8111156124bf57600080fd5b61245988828901612347565b6000806000606084860312156124e057600080fd5b6124e9846122b4565b9250602084013567ffffffffffffffff8082111561250657600080fd5b612512878388016122d0565b9350604086013591508082111561252857600080fd5b50612535868287016122d0565b9150509250925092565b6000806040838503121561255257600080fd5b61255b836122b4565b91506020830135801515811461257057600080fd5b809150509250929050565b6000806040838503121561258e57600080fd5b612597836122b4565b946020939093013593505050565b6000806000606084860312156125ba57600080fd5b6125c3846122b4565b95602085013595506040909401359392505050565b600080602083850312156125eb57600080fd5b823567ffffffffffffffff8082111561260357600080fd5b818501915085601f83011261261757600080fd5b81358181111561262657600080fd5b8660208260051b850101111561263b57600080fd5b60209290920196919550909350505050565b6000806040838503121561266057600080fd5b823567ffffffffffffffff8082111561267857600080fd5b818501915085601f83011261268c57600080fd5b8135602061269982612b6b565b6040516126a68282612c5c565b8381528281019150858301600585901b870184018b10156126c657600080fd5b600096505b848710156126f0576126dc816122b4565b8352600196909601959183019183016126cb565b509650508601359250508082111561270757600080fd5b50612714858286016122d0565b9150509250929050565b60006020828403121561273057600080fd5b813561236781612db6565b60006020828403121561274d57600080fd5b815161236781612db6565b60006020828403121561276a57600080fd5b813567ffffffffffffffff81111561278157600080fd5b8201601f8101841361279257600080fd5b61189b84823560208401612256565b6000602082840312156127b357600080fd5b5035919050565b600081518084526020808501945080840160005b838110156127ea578151875295820195908201906001016127ce565b509495945050505050565b6000815180845261280d816020860160208601612bf1565b601f01601f19169290920160200192915050565b60008351612833818460208801612bf1565b835190830190612847818360208801612bf1565b01949350505050565b6001600160a01b0386811682528516602082015260a06040820181905260009061287c908301866127ba565b828103606084015261288e81866127ba565b905082810360808401526128a281856127f5565b98975050505050505050565b6001600160a01b03868116825285166020820152604081018490526060810183905260a0608082018190526000906128e8908301846127f5565b979650505050505050565b60208152600061236760208301846127ba565b60408152600061291960408301856127ba565b828103602084015261292b81856127ba565b95945050505050565b60208152600061236760208301846127f5565b60208082526028908201527f455243313135353a204552433131353552656365697665722072656a656374656040820152676420746f6b656e7360c01b606082015260800190565b60208082526024908201527f455243313135353a206275726e20616d6f756e7420657863656564732062616c604082015263616e636560e01b606082015260800190565b60208082526029908201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260408201526808185c1c1c9bdd995960ba1b606082015260800190565b60208082526025908201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f455243313135353a206275726e2066726f6d20746865207a65726f206164647260408201526265737360e81b606082015260800190565b6020808252602a908201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60408201526939103a3930b739b332b960b11b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526028908201527f455243313135353a2069647320616e6420616d6f756e7473206c656e677468206040820152670dad2e6dac2e8c6d60c31b606082015260800190565b600067ffffffffffffffff821115612b8557612b85612cfa565b5060051b60200190565b60008219821115612ba257612ba2612cb8565b500190565b600082612bb657612bb6612cce565b500490565b6000816000190483118215151615612bd557612bd5612cb8565b500290565b600082821015612bec57612bec612cb8565b500390565b60005b83811015612c0c578181015183820152602001612bf4565b83811115612c1b576000848401525b50505050565b600181811c90821680612c3557607f821691505b60208210811415612c5657634e487b7160e01b600052602260045260246000fd5b50919050565b601f8201601f1916810167ffffffffffffffff81118282101715612c8257612c82612cfa565b6040525050565b6000600019821415612c9d57612c9d612cb8565b5060010190565b600082612cb357612cb3612cce565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b600060033d1115612d295760046000803e5060005160e01c5b90565b600060443d1015612d3a5790565b6040516003193d81016004833e81513d67ffffffffffffffff8160248401118184111715612d6a57505050505090565b8285019150815181811115612d825750505050505090565b843d8701016020828501011115612d9c5750505050505090565b612dab60208286010187612c5c565b509095945050505050565b6001600160e01b0319811681146107d357600080fdfea2646970667358221220f4d2e2633e639767bd36185738906d933d649ba9241fbcde25b4b84fe6c096c364736f6c63430008070033

Deployed Bytecode Sourcemap

45170:4936:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45347:39;;;;;;;;;;;;;;;;;;;22821:25:1;;;22809:2;22794:18;45347:39:0;;;;;;;;25322:231;;;;;;;;;;-1:-1:-1;25322:231:0;;;;;:::i;:::-;;:::i;49297:219::-;;;;;;;;;;-1:-1:-1;49297:219:0;;;;;:::i;:::-;;:::i;:::-;;46204:102;;;;;;;;;;-1:-1:-1;46204:102:0;;;;;:::i;:::-;;:::i;24345:310::-;;;;;;;;;;-1:-1:-1;24345:310:0;;;;;:::i;:::-;;:::i;:::-;;;12291:14:1;;12284:22;12266:41;;12254:2;12239:18;24345:310:0;12126:187:1;44467:93:0;;;;;;;;;;-1:-1:-1;44467:93:0;;;;;:::i;:::-;;:::i;45690:43::-;;;;;;;;;;-1:-1:-1;45690:43:0;;;;;:::i;:::-;;;;;;;;;;;;;;44568:83;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;49524:227::-;;;;;;;;;;-1:-1:-1;49524:227:0;;;;;:::i;:::-;;:::i;47325:737::-;;;:::i;27261:442::-;;;;;;;;;;-1:-1:-1;27261:442:0;;;;;:::i;:::-;;:::i;46613:485::-;;;:::i;25719:524::-;;;;;;;;;;-1:-1:-1;25719:524:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;39761:122::-;;;;;;;;;;-1:-1:-1;39761:122:0;;;;;:::i;:::-;39818:4;39639:16;;;:12;:16;;;;;;-1:-1:-1;;;39761:122:0;45437:32;;;;;;;;;;;;;;;;46100:96;;;;;;;;;;-1:-1:-1;46100:96:0;;;;;:::i;:::-;;:::i;48090:1199::-;;;:::i;45393:37::-;;;;;;;;;;;;;;;;45476:29;;;;;;;;;;;;;;;;41380:353;;;;;;;;;;-1:-1:-1;41380:353:0;;;;;:::i;:::-;;:::i;43453:103::-;;;;;;;;;;;;;:::i;42802:87::-;;;;;;;;;;-1:-1:-1;42875:6:0;;42802:87;;-1:-1:-1;;;;;42875:6:0;;;9932:51:1;;9920:2;9905:18;42802:87:0;9786:203:1;45951:141:0;;;;;;;;;;-1:-1:-1;45951:141:0;;;;;:::i;:::-;;:::i;44659:87::-;;;;;;;;;;;;;:::i;45740:44::-;;;;;;;;;;-1:-1:-1;45740:44:0;;;;;:::i;:::-;;;;;;;;;;;;;;45791:46;;;;;;;;;;-1:-1:-1;45791:46:0;;;;;:::i;:::-;;;;;;;;;;;;;;26316:155;;;;;;;;;;-1:-1:-1;26316:155:0;;;;;:::i;:::-;;:::i;45551:31::-;;;;;;;;;;;;;;;;39550:113;;;;;;;;;;-1:-1:-1;39550:113:0;;;;;:::i;:::-;39612:7;39639:16;;;:12;:16;;;;;;;39550:113;45512:32;;;;;;;;;;;;;;;;46314:291;;;;;;;;;;-1:-1:-1;46314:291:0;;;;;:::i;:::-;;:::i;26543:168::-;;;;;;;;;;-1:-1:-1;26543:168:0;;;;;:::i;:::-;-1:-1:-1;;;;;26666:27:0;;;26642:4;26666:27;;;:18;:27;;;;;;;;:37;;;;;;;;;;;;;;;26543:168;47106:190;;;;;;;;;;-1:-1:-1;47106:190:0;;;;;:::i;:::-;;:::i;26783:401::-;;;;;;;;;;-1:-1:-1;26783:401:0;;;;;:::i;:::-;;:::i;43711:201::-;;;;;;;;;;-1:-1:-1;43711:201:0;;;;;:::i;:::-;;:::i;49785:316::-;;;;;;;;;;-1:-1:-1;49785:316:0;;;;;:::i;:::-;;:::i;25322:231::-;25408:7;-1:-1:-1;;;;;25436:21:0;;25428:77;;;;-1:-1:-1;;;25428:77:0;;14627:2:1;25428:77:0;;;14609:21:1;14666:2;14646:18;;;14639:30;14705:34;14685:18;;;14678:62;-1:-1:-1;;;14756:18:1;;;14749:41;14807:19;;25428:77:0;;;;;;;;;-1:-1:-1;25523:9:0;:13;;;;;;;;;;;-1:-1:-1;;;;;25523:22:0;;;;;;;;;;;;25322:231::o;49297:219::-;49386:1;49358:25;49368:10;49380:2;49358:9;:25::i;:::-;:29;49350:82;;;;-1:-1:-1;;;49350:82:0;;20143:2:1;49350:82:0;;;20125:21:1;20182:2;20162:18;;;20155:30;20221:34;20201:18;;;20194:62;-1:-1:-1;;;20272:18:1;;;20265:38;20320:19;;49350:82:0;19941:404:1;49350:82:0;49443:24;49449:10;49461:2;49465:1;49443:5;:24::i;:::-;49478:30;49484:10;49496:4;:2;49499:1;49496:4;:::i;:::-;49502:1;49478:30;;;;;;;;;;;;:5;:30::i;:::-;49297:219;:::o;46204:102::-;42875:6;;-1:-1:-1;;;;;42875:6:0;20816:10;43022:23;43014:68;;;;-1:-1:-1;;;43014:68:0;;;;;;;:::i;:::-;46277:13:::1;:21:::0;46204:102::o;24345:310::-;24447:4;-1:-1:-1;;;;;;24484:41:0;;-1:-1:-1;;;24484:41:0;;:110;;-1:-1:-1;;;;;;;24542:52:0;;-1:-1:-1;;;24542:52:0;24484:110;:163;;;-1:-1:-1;;;;;;;;;;12551:40:0;;;24611:36;24464:183;24345:310;-1:-1:-1;;24345:310:0:o;44467:93::-;42875:6;;-1:-1:-1;;;;;42875:6:0;20816:10;43022:23;43014:68;;;;-1:-1:-1;;;43014:68:0;;;;;;;:::i;:::-;44536:16:::1;44544:7;44536;:16::i;44568:83::-:0;44605:13;44638:5;44631:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44568:83;:::o;49524:227::-;39818:4;39639:16;;;:12;:16;;;;;;49580:13;;49610:46;;;;-1:-1:-1;;;49610:46:0;;19792:2:1;49610:46:0;;;19774:21:1;19831:2;19811:18;;;19804:30;-1:-1:-1;;;19850:18:1;;;19843:52;19912:18;;49610:46:0;19590:346:1;49610:46:0;49704:14;49714:3;49704:9;:14::i;:::-;49720:21;49737:3;49720:16;:21::i;:::-;49687:55;;;;;;;;;:::i;:::-;;;;;;;;;;;;;49673:70;;49524:227;;;:::o;47325:737::-;47388:13;;47405:1;47388:18;47380:45;;;;-1:-1:-1;;;47380:45:0;;21723:2:1;47380:45:0;;;21705:21:1;21762:2;21742:18;;;21735:30;-1:-1:-1;;;21781:18:1;;;21774:44;21835:18;;47380:45:0;21521:338:1;47380:45:0;47454:10;47444:21;;;;:9;:21;;;;;;47469:1;47444:26;47436:63;;;;-1:-1:-1;;;47436:63:0;;16609:2:1;47436:63:0;;;16591:21:1;16648:2;16628:18;;;16621:30;16687:26;16667:18;;;16660:54;16731:18;;47436:63:0;16407:348:1;47436:63:0;47531:12;;47518:9;:25;47510:55;;;;-1:-1:-1;;;47510:55:0;;13165:2:1;47510:55:0;;;13147:21:1;13204:2;13184:18;;;13177:30;-1:-1:-1;;;13223:18:1;;;13216:47;13280:18;;47510:55:0;12963:341:1;47510:55:0;47641:52;;;47658:15;47641:52;;;9607:19:1;-1:-1:-1;;47675:10:0;9664:2:1;9660:15;9656:53;9642:12;;;9635:75;;;;47578:13:0;9726:12:1;;;9719:28;;;47578:13:0;;;47698:2;;9763:12:1;;47641:52:0;;;;;;;;;;;;47631:63;;;;;;47626:69;;:74;;;;:::i;:::-;47721:10;47735:1;47711:21;;;:9;:21;;;;;;;;:25;;;47747:8;:20;;;;;:22;;47606:94;;-1:-1:-1;47747:20:0;:22;;;:::i;:::-;;;;-1:-1:-1;;47794:14:0;;:48;;;;;45298:2;47812:12;;:30;47794:48;47790:251;;;47859:12;:14;;;:12;:14;;;:::i;:::-;;;;;;47888:27;47894:10;47906:1;47909;47888:27;;;;;;;;;;;;:5;:27::i;:::-;47369:693;;47325:737::o;47790:251::-;47960:13;:15;;;:13;:15;;;:::i;:::-;;;;;;47990:27;47996:10;48008:1;48011;47990:27;;;;;;;;;;;;:5;:27::i;27261:442::-;-1:-1:-1;;;;;27494:20:0;;20816:10;27494:20;;:60;;-1:-1:-1;27518:36:0;27535:4;20816:10;26543:168;:::i;27518:36::-;27472:160;;;;-1:-1:-1;;;27472:160:0;;17778:2:1;27472:160:0;;;17760:21:1;17817:2;17797:18;;;17790:30;17856:34;17836:18;;;17829:62;-1:-1:-1;;;17907:18:1;;;17900:48;17965:19;;27472:160:0;17576:414:1;27472:160:0;27643:52;27666:4;27672:2;27676:3;27681:7;27690:4;27643:22;:52::i;:::-;27261:442;;;;;:::o;46613:485::-;42875:6;;-1:-1:-1;;;;;42875:6:0;20816:10;43022:23;43014:68;;;;-1:-1:-1;;;43014:68:0;;;;;;;:::i;:::-;46687:21:::1;46737:42;46807;46669:15;46884:13;46894:3;46687:21:::0;46884:13:::1;:::i;:::-;:18;::::0;46900:2:::1;46884:18;:::i;:::-;46862:40:::0;-1:-1:-1;46913:20:0::1;46936:13;46946:3;46936:7:::0;:13:::1;:::i;:::-;:18;::::0;46952:2:::1;46936:18;:::i;:::-;47005:38;::::0;46913:41;;-1:-1:-1;;;;;;47005:24:0;::::1;::::0;:38;::::1;;;::::0;46913:41;;47005:38:::1;::::0;;;46913:41;47005:24;:38;::::1;;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;47054:36:0::1;::::0;-1:-1:-1;;;;;47054:23:0;::::1;::::0;:36;::::1;;;::::0;47078:11;;47054:36:::1;::::0;;;47078:11;47054:23;:36;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;46658:440;;;;;46613:485::o:0;25719:524::-;25875:16;25936:3;:10;25917:8;:15;:29;25909:83;;;;-1:-1:-1;;;25909:83:0;;21313:2:1;25909:83:0;;;21295:21:1;21352:2;21332:18;;;21325:30;21391:34;21371:18;;;21364:62;-1:-1:-1;;;21442:18:1;;;21435:39;21491:19;;25909:83:0;21111:405:1;25909:83:0;26005:30;26052:8;:15;26038:30;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;26038:30:0;;26005:63;;26086:9;26081:122;26105:8;:15;26101:1;:19;26081:122;;;26161:30;26171:8;26180:1;26171:11;;;;;;;;:::i;:::-;;;;;;;26184:3;26188:1;26184:6;;;;;;;;:::i;:::-;;;;;;;26161:9;:30::i;:::-;26142:13;26156:1;26142:16;;;;;;;;:::i;:::-;;;;;;;;;;:49;26122:3;;;:::i;:::-;;;26081:122;;;-1:-1:-1;26222:13:0;25719:524;-1:-1:-1;;;25719:524:0:o;46100:96::-;42875:6;;-1:-1:-1;;;;;42875:6:0;20816:10;43022:23;43014:68;;;;-1:-1:-1;;;43014:68:0;;;;;;;:::i;:::-;46170:10:::1;:18:::0;46100:96::o;48090:1199::-;48146:10;;48160:1;48146:15;48138:49;;;;-1:-1:-1;;;48138:49:0;;15854:2:1;48138:49:0;;;15836:21:1;15893:2;15873:18;;;15866:30;-1:-1:-1;;;15912:18:1;;;15905:51;15973:18;;48138:49:0;15652:345:1;48138:49:0;48215:10;48206:20;;;;:8;:20;;;;;;48229:2;-1:-1:-1;48198:61:0;;;;-1:-1:-1;;;48198:61:0;;20962:2:1;48198:61:0;;;20944:21:1;21001:2;20981:18;;;20974:30;-1:-1:-1;;;21020:18:1;;;21013:52;21082:18;;48198:61:0;20760:346:1;48198:61:0;45253:3;48278:13;;:32;:66;;;;45298:2;48314:12;;:30;48278:66;48270:118;;;;-1:-1:-1;;;48270:118:0;;15446:2:1;48270:118:0;;;15428:21:1;15485:2;15465:18;;;15458:30;15524:34;15504:18;;;15497:62;-1:-1:-1;;;15575:18:1;;;15568:37;15622:19;;48270:118:0;15244:403:1;48270:118:0;48420:9;;48407;:22;48399:52;;;;-1:-1:-1;;;48399:52:0;;13165:2:1;48399:52:0;;;13147:21:1;13204:2;13184:18;;;13177:30;-1:-1:-1;;;13223:18:1;;;13216:47;13280:18;;48399:52:0;12963:341:1;48399:52:0;48496:1;48468:24;48478:10;48490:1;48468:9;:24::i;:::-;:29;;:66;;;;;45253:3;48501:13;;:33;48468:66;48464:159;;;48551:60;;-1:-1:-1;;;48551:60:0;;18197:2:1;48551:60:0;;;18179:21:1;18236:2;18216:18;;;18209:30;18275:34;18255:18;;;18248:62;-1:-1:-1;;;18326:18:1;;;18319:48;18384:19;;48551:60:0;17995:414:1;48464:159:0;48698:52;;;48715:15;48698:52;;;9607:19:1;-1:-1:-1;;48732:10:0;9664:2:1;9660:15;9656:53;9642:12;;;9635:75;;;;48635:13:0;9726:12:1;;;9719:28;;;48635:13:0;;;48755:2;;9763:12:1;;48698:52:0;;;;;;;;;;;;48688:63;;;;;;48683:69;;:74;;;;:::i;:::-;48779:10;48770:20;;;;:8;:20;;;;;:22;;48663:94;;-1:-1:-1;48770:20:0;:22;;;:::i;:::-;;;;-1:-1:-1;;48809:14:0;;:47;;;;;48827:24;48837:10;48849:1;48827:9;:24::i;:::-;:29;48809:47;:81;;;;;45298:2;48860:12;;:30;48809:81;48805:467;;;48933:12;:14;;;:12;:14;;;:::i;48805:467::-;49019:14;;;;;:51;;;45253:3;49037:13;;:33;49015:257;;;49087:12;:14;;;:12;:14;;;:::i;41380:353::-;-1:-1:-1;;;;;41545:23:0;;20816:10;41545:23;;:66;;-1:-1:-1;41572:39:0;41589:7;20816:10;26543:168;:::i;41572:39::-;41523:157;;;;-1:-1:-1;;;41523:157:0;;;;;;;:::i;:::-;41693:32;41704:7;41713:3;41718:6;41693:10;:32::i;:::-;41380:353;;;:::o;43453:103::-;42875:6;;-1:-1:-1;;;;;42875:6:0;20816:10;43022:23;43014:68;;;;-1:-1:-1;;;43014:68:0;;;;;;;:::i;:::-;43518:30:::1;43545:1;43518:18;:30::i;:::-;43453:103::o:0;45951:141::-;42875:6;;-1:-1:-1;;;;;42875:6:0;20816:10;43022:23;43014:68;;;;-1:-1:-1;;;43014:68:0;;;;;;;:::i;:::-;46032:1:::1;46023:6;:10;46015:40;;;::::0;-1:-1:-1;;;46015:40:0;;14281:2:1;46015:40:0::1;::::0;::::1;14263:21:1::0;14320:2;14300:18;;;14293:30;-1:-1:-1;;;14339:18:1;;;14332:47;14396:18;;46015:40:0::1;14079:341:1::0;46015:40:0::1;46066:9;:18:::0;45951:141::o;44659:87::-;44698:13;44731:7;44724:14;;;;;:::i;26316:155::-;26411:52;20816:10;26444:8;26454;26411:18;:52::i;46314:291::-;42875:6;;-1:-1:-1;;;;;42875:6:0;20816:10;43022:23;43014:68;;;;-1:-1:-1;;;43014:68:0;;;;;;;:::i;:::-;46403:10:::1;46391:23;::::0;;;:11:::1;:23;::::0;;;;;45339:1:::1;::::0;46391:32:::1;::::0;46417:6;;46391:32:::1;:::i;:::-;:48;;46383:93;;;::::0;-1:-1:-1;;;46383:93:0;;13920:2:1;46383:93:0::1;::::0;::::1;13902:21:1::0;;;13939:18;;;13932:30;13998:34;13978:18;;;13971:62;14050:18;;46383:93:0::1;13718:356:1::0;46383:93:0::1;46499:10;46487:23;::::0;;;:11:::1;:23;::::0;;;;:33;;46514:6;;46487:23;:33:::1;::::0;46514:6;;46487:33:::1;:::i;:::-;;;;;;;;46548:6;46531:13;;:23;;;;;;;:::i;:::-;;;;;;;;46565:32;46571:10;46583:1;46586:6;46565:32;;;;;;;;;;;::::0;:5:::1;:32::i;47106:190::-:0;42875:6;;-1:-1:-1;;;;;42875:6:0;20816:10;43022:23;43014:68;;;;-1:-1:-1;;;43014:68:0;;;;;;;:::i;:::-;47193:9:::1;47188:101;47208:20:::0;;::::1;47188:101;;;47276:1;47250:9;:23;47260:9;;47270:1;47260:12;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;47250:23:0::1;::::0;;::::1;::::0;::::1;::::0;;;;;;-1:-1:-1;47250:23:0;:27;47230:3;::::1;::::0;::::1;:::i;:::-;;;;47188:101;;26783:401:::0;-1:-1:-1;;;;;26991:20:0;;20816:10;26991:20;;:60;;-1:-1:-1;27015:36:0;27032:4;20816:10;26543:168;:::i;27015:36::-;26969:151;;;;-1:-1:-1;;;26969:151:0;;;;;;;:::i;:::-;27131:45;27149:4;27155:2;27159;27163:6;27171:4;27131:17;:45::i;43711:201::-;42875:6;;-1:-1:-1;;;;;42875:6:0;20816:10;43022:23;43014:68;;;;-1:-1:-1;;;43014:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;43800:22:0;::::1;43792:73;;;::::0;-1:-1:-1;;;43792:73:0;;15039:2:1;43792:73:0::1;::::0;::::1;15021:21:1::0;15078:2;15058:18;;;15051:30;15117:34;15097:18;;;15090:62;-1:-1:-1;;;15168:18:1;;;15161:36;15214:19;;43792:73:0::1;14837:402:1::0;43792:73:0::1;43876:28;43895:8;43876:18;:28::i;49785:316::-:0;-1:-1:-1;;;;;49920:23:0;;20816:10;49920:23;;:66;;-1:-1:-1;49947:39:0;49964:7;20816:10;26543:168;:::i;49947:39::-;49912:143;;;;-1:-1:-1;;;49912:143:0;;;;;;;:::i;:::-;50068:25;50074:7;50083:2;50087:5;33647:648;-1:-1:-1;;;;;33774:18:0;;33766:66;;;;-1:-1:-1;;;33766:66:0;;;;;;;:::i;:::-;20816:10;33889:102;20816:10;33920:4;33845:16;33938:21;33956:2;33938:17;:21::i;:::-;33961:25;33979:6;33961:17;:25::i;:::-;33889:102;;;;;;;;;;;;:20;:102::i;:::-;34004:19;34026:13;;;;;;;;;;;-1:-1:-1;;;;;34026:19:0;;;;;;;;;;34064:21;;;;34056:70;;;;-1:-1:-1;;;34056:70:0;;;;;;;:::i;:::-;34162:9;:13;;;;;;;;;;;-1:-1:-1;;;;;34162:19:0;;;;;;;;;;;;34184:20;;;34162:42;;34233:54;;23031:25:1;;;23072:18;;;23065:34;;;34162:19:0;;34233:54;;;;;;23004:18:1;34233:54:0;;;;;;;33755:540;;33647:648;;;:::o;31737:569::-;-1:-1:-1;;;;;31890:16:0;;31882:62;;;;-1:-1:-1;;;31882:62:0;;22475:2:1;31882:62:0;;;22457:21:1;22514:2;22494:18;;;22487:30;22553:34;22533:18;;;22526:62;-1:-1:-1;;;22604:18:1;;;22597:31;22645:19;;31882:62:0;22273:397:1;31882:62:0;20816:10;32001:102;20816:10;31957:16;32044:2;32048:21;32066:2;32048:17;:21::i;:::-;32071:25;32089:6;32071:17;:25::i;:::-;32098:4;32001:20;:102::i;:::-;32116:9;:13;;;;;;;;;;;-1:-1:-1;;;;;32116:17:0;;;;;;;;;:27;;32137:6;;32116:9;:27;;32137:6;;32116:27;:::i;:::-;;;;-1:-1:-1;;32159:52:0;;;23031:25:1;;;23087:2;23072:18;;23065:34;;;-1:-1:-1;;;;;32159:52:0;;;;32192:1;;32159:52;;;;;;23004:18:1;32159:52:0;;;;;;;32224:74;32255:8;32273:1;32277:2;32281;32285:6;32293:4;32224:30;:74::i;31263:88::-;31330:13;;;;:4;;:13;;;;;:::i;25066:105::-;25126:13;25159:4;25152:11;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25066:105;;;:::o;398:723::-;454:13;675:10;671:53;;-1:-1:-1;;702:10:0;;;;;;;;;;;;-1:-1:-1;;;702:10:0;;;;;398:723::o;671:53::-;749:5;734:12;790:78;797:9;;790:78;;823:8;;;;:::i;:::-;;-1:-1:-1;846:10:0;;-1:-1:-1;854:2:0;846:10;;:::i;:::-;;;790:78;;;878:19;910:6;900:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;900:17:0;;878:39;;928:154;935:10;;928:154;;962:11;972:1;962:11;;:::i;:::-;;-1:-1:-1;1031:10:0;1039:2;1031:5;:10;:::i;:::-;1018:24;;:2;:24;:::i;:::-;1005:39;;988:6;995;988:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;988:56:0;;;;;;;;-1:-1:-1;1059:11:0;1068:2;1059:11;;:::i;:::-;;;928:154;;;1106:6;398:723;-1:-1:-1;;;;398:723:0:o;29345:1074::-;29572:7;:14;29558:3;:10;:28;29550:81;;;;-1:-1:-1;;;29550:81:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;29650:16:0;;29642:66;;;;-1:-1:-1;;;29642:66:0;;;;;;;:::i;:::-;20816:10;29765:60;20816:10;29796:4;29802:2;29806:3;29811:7;29820:4;29765:20;:60::i;:::-;29843:9;29838:421;29862:3;:10;29858:1;:14;29838:421;;;29894:10;29907:3;29911:1;29907:6;;;;;;;;:::i;:::-;;;;;;;29894:19;;29928:14;29945:7;29953:1;29945:10;;;;;;;;:::i;:::-;;;;;;;;;;;;29972:19;29994:13;;;;;;;;;;-1:-1:-1;;;;;29994:19:0;;;;;;;;;;;;29945:10;;-1:-1:-1;30036:21:0;;;;30028:76;;;;-1:-1:-1;;;30028:76:0;;;;;;;:::i;:::-;30148:9;:13;;;;;;;;;;;-1:-1:-1;;;;;30148:19:0;;;;;;;;;;30170:20;;;30148:42;;30220:17;;;;;;;:27;;30170:20;;30148:9;30220:27;;30170:20;;30220:27;:::i;:::-;;;;;;;;29879:380;;;29874:3;;;;:::i;:::-;;;29838:421;;;;30306:2;-1:-1:-1;;;;;30276:47:0;30300:4;-1:-1:-1;;;;;30276:47:0;30290:8;-1:-1:-1;;;;;30276:47:0;;30310:3;30315:7;30276:47;;;;;;;:::i;:::-;;;;;;;;30336:75;30372:8;30382:4;30388:2;30392:3;30397:7;30406:4;30336:35;:75::i;34498:891::-;-1:-1:-1;;;;;34650:18:0;;34642:66;;;;-1:-1:-1;;;34642:66:0;;;;;;;:::i;:::-;34741:7;:14;34727:3;:10;:28;34719:81;;;;-1:-1:-1;;;34719:81:0;;;;;;;:::i;:::-;34813:16;20816:10;34813:31;;34857:66;34878:8;34888:4;34902:1;34906:3;34911:7;34857:66;;;;;;;;;;;;:20;:66::i;:::-;34941:9;34936:373;34960:3;:10;34956:1;:14;34936:373;;;34992:10;35005:3;35009:1;35005:6;;;;;;;;:::i;:::-;;;;;;;34992:19;;35026:14;35043:7;35051:1;35043:10;;;;;;;;:::i;:::-;;;;;;;;;;;;35070:19;35092:13;;;;;;;;;;-1:-1:-1;;;;;35092:19:0;;;;;;;;;;;;35043:10;;-1:-1:-1;35134:21:0;;;;35126:70;;;;-1:-1:-1;;;35126:70:0;;;;;;;:::i;:::-;35240:9;:13;;;;;;;;;;;-1:-1:-1;;;;;35240:19:0;;;;;;;;;;35262:20;;35240:42;;34972:3;;;;:::i;:::-;;;;34936:373;;;;35364:1;-1:-1:-1;;;;;35326:55:0;35350:4;-1:-1:-1;;;;;35326:55:0;35340:8;-1:-1:-1;;;;;35326:55:0;;35368:3;35373:7;35326:55;;;;;;;:::i;:::-;;;;;;;;34631:758;34498:891;;;:::o;44072:191::-;44165:6;;;-1:-1:-1;;;;;44182:17:0;;;-1:-1:-1;;;;;;44182:17:0;;;;;;;44215:40;;44165:6;;;44182:17;44165:6;;44215:40;;44146:16;;44215:40;44135:128;44072:191;:::o;35531:331::-;35686:8;-1:-1:-1;;;;;35677:17:0;:5;-1:-1:-1;;;;;35677:17:0;;;35669:71;;;;-1:-1:-1;;;35669:71:0;;20552:2:1;35669:71:0;;;20534:21:1;20591:2;20571:18;;;20564:30;20630:34;20610:18;;;20603:62;-1:-1:-1;;;20681:18:1;;;20674:39;20730:19;;35669:71:0;20350:405:1;35669:71:0;-1:-1:-1;;;;;35751:25:0;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;35751:46:0;;;;;;;;;;35813:41;;12266::1;;;35813::0;;12239:18:1;35813:41:0;;;;;;;35531:331;;;:::o;28167:820::-;-1:-1:-1;;;;;28355:16:0;;28347:66;;;;-1:-1:-1;;;28347:66:0;;;;;;;:::i;:::-;20816:10;28470:96;20816:10;28501:4;28507:2;28511:21;28529:2;28511:17;:21::i;28470:96::-;28579:19;28601:13;;;;;;;;;;;-1:-1:-1;;;;;28601:19:0;;;;;;;;;;28639:21;;;;28631:76;;;;-1:-1:-1;;;28631:76:0;;;;;;;:::i;:::-;28743:9;:13;;;;;;;;;;;-1:-1:-1;;;;;28743:19:0;;;;;;;;;;28765:20;;;28743:42;;28807:17;;;;;;;:27;;28765:20;;28743:9;28807:27;;28765:20;;28807:27;:::i;:::-;;;;-1:-1:-1;;28852:46:0;;;23031:25:1;;;23087:2;23072:18;;23065:34;;;-1:-1:-1;;;;;28852:46:0;;;;;;;;;;;;;;23004:18:1;28852:46:0;;;;;;;28911:68;28942:8;28952:4;28958:2;28962;28966:6;28974:4;28911:30;:68::i;:::-;28336:651;;28167:820;;;;;:::o;38620:198::-;38740:16;;;38754:1;38740:16;;;;;;;;;38686;;38715:22;;38740:16;;;;;;;;;;;;-1:-1:-1;38740:16:0;38715:41;;38778:7;38767:5;38773:1;38767:8;;;;;;;;:::i;:::-;;;;;;;;;;:18;38805:5;38620:198;-1:-1:-1;;38620:198:0:o;44762:337::-;45025:66;45052:8;45062:4;45068:2;45072:3;45077:7;45086:4;45025:26;:66::i;37047:744::-;-1:-1:-1;;;;;37262:13:0;;3685:19;:23;37258:526;;37298:72;;-1:-1:-1;;;37298:72:0;;-1:-1:-1;;;;;37298:38:0;;;;;:72;;37337:8;;37347:4;;37353:2;;37357:6;;37365:4;;37298:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;37298:72:0;;;;;;;;-1:-1:-1;;37298:72:0;;;;;;;;;;;;:::i;:::-;;;37294:479;;;;:::i;:::-;;;;;;;;;;:::i;:::-;;;;;;;;37646:6;37639:14;;-1:-1:-1;;;37639:14:0;;;;;;;;:::i;37294:479::-;;;37695:62;;-1:-1:-1;;;37695:62:0;;12744:2:1;37695:62:0;;;12726:21:1;12783:2;12763:18;;;12756:30;12822:34;12802:18;;;12795:62;-1:-1:-1;;;12873:18:1;;;12866:50;12933:19;;37695:62:0;12542:416:1;37294:479:0;-1:-1:-1;;;;;;37420:55:0;;-1:-1:-1;;;37420:55:0;37416:154;;37500:50;;-1:-1:-1;;;37500:50:0;;;;;;;:::i;37799:813::-;-1:-1:-1;;;;;38039:13:0;;3685:19;:23;38035:570;;38075:79;;-1:-1:-1;;;38075:79:0;;-1:-1:-1;;;;;38075:43:0;;;;;:79;;38119:8;;38129:4;;38135:3;;38140:7;;38149:4;;38075:79;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;38075:79:0;;;;;;;;-1:-1:-1;;38075:79:0;;;;;;;;;;;;:::i;:::-;;;38071:523;;;;:::i;:::-;-1:-1:-1;;;;;;38236:60:0;;-1:-1:-1;;;38236:60:0;38232:159;;38321:50;;-1:-1:-1;;;38321:50:0;;;;;;;:::i;39958:655::-;-1:-1:-1;;;;;40280:18:0;;40276:160;;40320:9;40315:110;40339:3;:10;40335:1;:14;40315:110;;;40399:7;40407:1;40399:10;;;;;;;;:::i;:::-;;;;;;;40375:12;:20;40388:3;40392:1;40388:6;;;;;;;;:::i;:::-;;;;;;;40375:20;;;;;;;;;;;;:34;;;;;;;:::i;:::-;;;;-1:-1:-1;40351:3:0;;-1:-1:-1;40351:3:0;;:::i;:::-;;;40315:110;;;;40276:160;-1:-1:-1;;;;;40452:16:0;;40448:158;;40490:9;40485:110;40509:3;:10;40505:1;:14;40485:110;;;40569:7;40577:1;40569:10;;;;;;;;:::i;:::-;;;;;;;40545:12;:20;40558:3;40562:1;40558:6;;;;;;;;:::i;:::-;;;;;;;40545:20;;;;;;;;;;;;:34;;;;;;;:::i;:::-;;;;-1:-1:-1;40521:3:0;;-1:-1:-1;40521:3:0;;:::i;:::-;;;40485:110;;-1:-1:-1;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:468:1;78:5;112:18;104:6;101:30;98:56;;;134:18;;:::i;:::-;183:2;177:9;195:69;252:2;231:15;;-1:-1:-1;;227:29:1;258:4;223:40;177:9;195:69;:::i;:::-;282:6;273:15;;312:6;304;297:22;352:3;343:6;338:3;334:16;331:25;328:45;;;369:1;366;359:12;328:45;419:6;414:3;407:4;399:6;395:17;382:44;474:1;467:4;458:6;450;446:19;442:30;435:41;;14:468;;;;;:::o;487:173::-;555:20;;-1:-1:-1;;;;;604:31:1;;594:42;;584:70;;650:1;647;640:12;584:70;487:173;;;:::o;665:735::-;719:5;772:3;765:4;757:6;753:17;749:27;739:55;;790:1;787;780:12;739:55;826:6;813:20;852:4;875:43;915:2;875:43;:::i;:::-;947:2;941:9;959:31;987:2;979:6;959:31;:::i;:::-;1025:18;;;1059:15;;;;-1:-1:-1;1094:15:1;;;1144:1;1140:10;;;1128:23;;1124:32;;1121:41;-1:-1:-1;1118:61:1;;;1175:1;1172;1165:12;1118:61;1197:1;1207:163;1221:2;1218:1;1215:9;1207:163;;;1278:17;;1266:30;;1316:12;;;;1348;;;;1239:1;1232:9;1207:163;;;-1:-1:-1;1388:6:1;;665:735;-1:-1:-1;;;;;;;665:735:1:o;1405:220::-;1447:5;1500:3;1493:4;1485:6;1481:17;1477:27;1467:55;;1518:1;1515;1508:12;1467:55;1540:79;1615:3;1606:6;1593:20;1586:4;1578:6;1574:17;1540:79;:::i;:::-;1531:88;1405:220;-1:-1:-1;;;1405:220:1:o;1630:186::-;1689:6;1742:2;1730:9;1721:7;1717:23;1713:32;1710:52;;;1758:1;1755;1748:12;1710:52;1781:29;1800:9;1781:29;:::i;1821:260::-;1889:6;1897;1950:2;1938:9;1929:7;1925:23;1921:32;1918:52;;;1966:1;1963;1956:12;1918:52;1989:29;2008:9;1989:29;:::i;:::-;1979:39;;2037:38;2071:2;2060:9;2056:18;2037:38;:::i;:::-;2027:48;;1821:260;;;;;:::o;2086:943::-;2240:6;2248;2256;2264;2272;2325:3;2313:9;2304:7;2300:23;2296:33;2293:53;;;2342:1;2339;2332:12;2293:53;2365:29;2384:9;2365:29;:::i;:::-;2355:39;;2413:38;2447:2;2436:9;2432:18;2413:38;:::i;:::-;2403:48;;2502:2;2491:9;2487:18;2474:32;2525:18;2566:2;2558:6;2555:14;2552:34;;;2582:1;2579;2572:12;2552:34;2605:61;2658:7;2649:6;2638:9;2634:22;2605:61;:::i;:::-;2595:71;;2719:2;2708:9;2704:18;2691:32;2675:48;;2748:2;2738:8;2735:16;2732:36;;;2764:1;2761;2754:12;2732:36;2787:63;2842:7;2831:8;2820:9;2816:24;2787:63;:::i;:::-;2777:73;;2903:3;2892:9;2888:19;2875:33;2859:49;;2933:2;2923:8;2920:16;2917:36;;;2949:1;2946;2939:12;2917:36;;2972:51;3015:7;3004:8;2993:9;2989:24;2972:51;:::i;:::-;2962:61;;;2086:943;;;;;;;;:::o;3034:606::-;3138:6;3146;3154;3162;3170;3223:3;3211:9;3202:7;3198:23;3194:33;3191:53;;;3240:1;3237;3230:12;3191:53;3263:29;3282:9;3263:29;:::i;:::-;3253:39;;3311:38;3345:2;3334:9;3330:18;3311:38;:::i;:::-;3301:48;;3396:2;3385:9;3381:18;3368:32;3358:42;;3447:2;3436:9;3432:18;3419:32;3409:42;;3502:3;3491:9;3487:19;3474:33;3530:18;3522:6;3519:30;3516:50;;;3562:1;3559;3552:12;3516:50;3585:49;3626:7;3617:6;3606:9;3602:22;3585:49;:::i;3645:669::-;3772:6;3780;3788;3841:2;3829:9;3820:7;3816:23;3812:32;3809:52;;;3857:1;3854;3847:12;3809:52;3880:29;3899:9;3880:29;:::i;:::-;3870:39;;3960:2;3949:9;3945:18;3932:32;3983:18;4024:2;4016:6;4013:14;4010:34;;;4040:1;4037;4030:12;4010:34;4063:61;4116:7;4107:6;4096:9;4092:22;4063:61;:::i;:::-;4053:71;;4177:2;4166:9;4162:18;4149:32;4133:48;;4206:2;4196:8;4193:16;4190:36;;;4222:1;4219;4212:12;4190:36;;4245:63;4300:7;4289:8;4278:9;4274:24;4245:63;:::i;:::-;4235:73;;;3645:669;;;;;:::o;4319:347::-;4384:6;4392;4445:2;4433:9;4424:7;4420:23;4416:32;4413:52;;;4461:1;4458;4451:12;4413:52;4484:29;4503:9;4484:29;:::i;:::-;4474:39;;4563:2;4552:9;4548:18;4535:32;4610:5;4603:13;4596:21;4589:5;4586:32;4576:60;;4632:1;4629;4622:12;4576:60;4655:5;4645:15;;;4319:347;;;;;:::o;4671:254::-;4739:6;4747;4800:2;4788:9;4779:7;4775:23;4771:32;4768:52;;;4816:1;4813;4806:12;4768:52;4839:29;4858:9;4839:29;:::i;:::-;4829:39;4915:2;4900:18;;;;4887:32;;-1:-1:-1;;;4671:254:1:o;4930:322::-;5007:6;5015;5023;5076:2;5064:9;5055:7;5051:23;5047:32;5044:52;;;5092:1;5089;5082:12;5044:52;5115:29;5134:9;5115:29;:::i;:::-;5105:39;5191:2;5176:18;;5163:32;;-1:-1:-1;5242:2:1;5227:18;;;5214:32;;4930:322;-1:-1:-1;;;4930:322:1:o;5257:615::-;5343:6;5351;5404:2;5392:9;5383:7;5379:23;5375:32;5372:52;;;5420:1;5417;5410:12;5372:52;5460:9;5447:23;5489:18;5530:2;5522:6;5519:14;5516:34;;;5546:1;5543;5536:12;5516:34;5584:6;5573:9;5569:22;5559:32;;5629:7;5622:4;5618:2;5614:13;5610:27;5600:55;;5651:1;5648;5641:12;5600:55;5691:2;5678:16;5717:2;5709:6;5706:14;5703:34;;;5733:1;5730;5723:12;5703:34;5786:7;5781:2;5771:6;5768:1;5764:14;5760:2;5756:23;5752:32;5749:45;5746:65;;;5807:1;5804;5797:12;5746:65;5838:2;5830:11;;;;;5860:6;;-1:-1:-1;5257:615:1;;-1:-1:-1;;;;5257:615:1:o;5877:1219::-;5995:6;6003;6056:2;6044:9;6035:7;6031:23;6027:32;6024:52;;;6072:1;6069;6062:12;6024:52;6112:9;6099:23;6141:18;6182:2;6174:6;6171:14;6168:34;;;6198:1;6195;6188:12;6168:34;6236:6;6225:9;6221:22;6211:32;;6281:7;6274:4;6270:2;6266:13;6262:27;6252:55;;6303:1;6300;6293:12;6252:55;6339:2;6326:16;6361:4;6384:43;6424:2;6384:43;:::i;:::-;6456:2;6450:9;6468:31;6496:2;6488:6;6468:31;:::i;:::-;6534:18;;;6568:15;;;;-1:-1:-1;6603:11:1;;;6645:1;6641:10;;;6633:19;;6629:28;;6626:41;-1:-1:-1;6623:61:1;;;6680:1;6677;6670:12;6623:61;6702:1;6693:10;;6712:169;6726:2;6723:1;6720:9;6712:169;;;6783:23;6802:3;6783:23;:::i;:::-;6771:36;;6744:1;6737:9;;;;;6827:12;;;;6859;;6712:169;;;-1:-1:-1;6900:6:1;-1:-1:-1;;6944:18:1;;6931:32;;-1:-1:-1;;6975:16:1;;;6972:36;;;7004:1;7001;6994:12;6972:36;;7027:63;7082:7;7071:8;7060:9;7056:24;7027:63;:::i;:::-;7017:73;;;5877:1219;;;;;:::o;7101:245::-;7159:6;7212:2;7200:9;7191:7;7187:23;7183:32;7180:52;;;7228:1;7225;7218:12;7180:52;7267:9;7254:23;7286:30;7310:5;7286:30;:::i;7351:249::-;7420:6;7473:2;7461:9;7452:7;7448:23;7444:32;7441:52;;;7489:1;7486;7479:12;7441:52;7521:9;7515:16;7540:30;7564:5;7540:30;:::i;7605:450::-;7674:6;7727:2;7715:9;7706:7;7702:23;7698:32;7695:52;;;7743:1;7740;7733:12;7695:52;7783:9;7770:23;7816:18;7808:6;7805:30;7802:50;;;7848:1;7845;7838:12;7802:50;7871:22;;7924:4;7916:13;;7912:27;-1:-1:-1;7902:55:1;;7953:1;7950;7943:12;7902:55;7976:73;8041:7;8036:2;8023:16;8018:2;8014;8010:11;7976:73;:::i;8060:180::-;8119:6;8172:2;8160:9;8151:7;8147:23;8143:32;8140:52;;;8188:1;8185;8178:12;8140:52;-1:-1:-1;8211:23:1;;8060:180;-1:-1:-1;8060:180:1:o;8245:435::-;8298:3;8336:5;8330:12;8363:6;8358:3;8351:19;8389:4;8418:2;8413:3;8409:12;8402:19;;8455:2;8448:5;8444:14;8476:1;8486:169;8500:6;8497:1;8494:13;8486:169;;;8561:13;;8549:26;;8595:12;;;;8630:15;;;;8522:1;8515:9;8486:169;;;-1:-1:-1;8671:3:1;;8245:435;-1:-1:-1;;;;;8245:435:1:o;8685:257::-;8726:3;8764:5;8758:12;8791:6;8786:3;8779:19;8807:63;8863:6;8856:4;8851:3;8847:14;8840:4;8833:5;8829:16;8807:63;:::i;:::-;8924:2;8903:15;-1:-1:-1;;8899:29:1;8890:39;;;;8931:4;8886:50;;8685:257;-1:-1:-1;;8685:257:1:o;8947:470::-;9126:3;9164:6;9158:13;9180:53;9226:6;9221:3;9214:4;9206:6;9202:17;9180:53;:::i;:::-;9296:13;;9255:16;;;;9318:57;9296:13;9255:16;9352:4;9340:17;;9318:57;:::i;:::-;9391:20;;8947:470;-1:-1:-1;;;;8947:470:1:o;9994:826::-;-1:-1:-1;;;;;10391:15:1;;;10373:34;;10443:15;;10438:2;10423:18;;10416:43;10353:3;10490:2;10475:18;;10468:31;;;10316:4;;10522:57;;10559:19;;10551:6;10522:57;:::i;:::-;10627:9;10619:6;10615:22;10610:2;10599:9;10595:18;10588:50;10661:44;10698:6;10690;10661:44;:::i;:::-;10647:58;;10754:9;10746:6;10742:22;10736:3;10725:9;10721:19;10714:51;10782:32;10807:6;10799;10782:32;:::i;:::-;10774:40;9994:826;-1:-1:-1;;;;;;;;9994:826:1:o;10825:560::-;-1:-1:-1;;;;;11122:15:1;;;11104:34;;11174:15;;11169:2;11154:18;;11147:43;11221:2;11206:18;;11199:34;;;11264:2;11249:18;;11242:34;;;11084:3;11307;11292:19;;11285:32;;;11047:4;;11334:45;;11359:19;;11351:6;11334:45;:::i;:::-;11326:53;10825:560;-1:-1:-1;;;;;;;10825:560:1:o;11390:261::-;11569:2;11558:9;11551:21;11532:4;11589:56;11641:2;11630:9;11626:18;11618:6;11589:56;:::i;11656:465::-;11913:2;11902:9;11895:21;11876:4;11939:56;11991:2;11980:9;11976:18;11968:6;11939:56;:::i;:::-;12043:9;12035:6;12031:22;12026:2;12015:9;12011:18;12004:50;12071:44;12108:6;12100;12071:44;:::i;:::-;12063:52;11656:465;-1:-1:-1;;;;;11656:465:1:o;12318:219::-;12467:2;12456:9;12449:21;12430:4;12487:44;12527:2;12516:9;12512:18;12504:6;12487:44;:::i;13309:404::-;13511:2;13493:21;;;13550:2;13530:18;;;13523:30;13589:34;13584:2;13569:18;;13562:62;-1:-1:-1;;;13655:2:1;13640:18;;13633:38;13703:3;13688:19;;13309:404::o;16002:400::-;16204:2;16186:21;;;16243:2;16223:18;;;16216:30;16282:34;16277:2;16262:18;;16255:62;-1:-1:-1;;;16348:2:1;16333:18;;16326:34;16392:3;16377:19;;16002:400::o;16760:405::-;16962:2;16944:21;;;17001:2;16981:18;;;16974:30;17040:34;17035:2;17020:18;;17013:62;-1:-1:-1;;;17106:2:1;17091:18;;17084:39;17155:3;17140:19;;16760:405::o;17170:401::-;17372:2;17354:21;;;17411:2;17391:18;;;17384:30;17450:34;17445:2;17430:18;;17423:62;-1:-1:-1;;;17516:2:1;17501:18;;17494:35;17561:3;17546:19;;17170:401::o;18414:399::-;18616:2;18598:21;;;18655:2;18635:18;;;18628:30;18694:34;18689:2;18674:18;;18667:62;-1:-1:-1;;;18760:2:1;18745:18;;18738:33;18803:3;18788:19;;18414:399::o;18818:406::-;19020:2;19002:21;;;19059:2;19039:18;;;19032:30;19098:34;19093:2;19078:18;;19071:62;-1:-1:-1;;;19164:2:1;19149:18;;19142:40;19214:3;19199:19;;18818:406::o;19229:356::-;19431:2;19413:21;;;19450:18;;;19443:30;19509:34;19504:2;19489:18;;19482:62;19576:2;19561:18;;19229:356::o;21864:404::-;22066:2;22048:21;;;22105:2;22085:18;;;22078:30;22144:34;22139:2;22124:18;;22117:62;-1:-1:-1;;;22210:2:1;22195:18;;22188:38;22258:3;22243:19;;21864:404::o;23110:183::-;23170:4;23203:18;23195:6;23192:30;23189:56;;;23225:18;;:::i;:::-;-1:-1:-1;23270:1:1;23266:14;23282:4;23262:25;;23110:183::o;23298:128::-;23338:3;23369:1;23365:6;23362:1;23359:13;23356:39;;;23375:18;;:::i;:::-;-1:-1:-1;23411:9:1;;23298:128::o;23431:120::-;23471:1;23497;23487:35;;23502:18;;:::i;:::-;-1:-1:-1;23536:9:1;;23431:120::o;23556:168::-;23596:7;23662:1;23658;23654:6;23650:14;23647:1;23644:21;23639:1;23632:9;23625:17;23621:45;23618:71;;;23669:18;;:::i;:::-;-1:-1:-1;23709:9:1;;23556:168::o;23729:125::-;23769:4;23797:1;23794;23791:8;23788:34;;;23802:18;;:::i;:::-;-1:-1:-1;23839:9:1;;23729:125::o;23859:258::-;23931:1;23941:113;23955:6;23952:1;23949:13;23941:113;;;24031:11;;;24025:18;24012:11;;;24005:39;23977:2;23970:10;23941:113;;;24072:6;24069:1;24066:13;24063:48;;;24107:1;24098:6;24093:3;24089:16;24082:27;24063:48;;23859:258;;;:::o;24122:380::-;24201:1;24197:12;;;;24244;;;24265:61;;24319:4;24311:6;24307:17;24297:27;;24265:61;24372:2;24364:6;24361:14;24341:18;24338:38;24335:161;;;24418:10;24413:3;24409:20;24406:1;24399:31;24453:4;24450:1;24443:15;24481:4;24478:1;24471:15;24335:161;;24122:380;;;:::o;24507:249::-;24617:2;24598:13;;-1:-1:-1;;24594:27:1;24582:40;;24652:18;24637:34;;24673:22;;;24634:62;24631:88;;;24699:18;;:::i;:::-;24735:2;24728:22;-1:-1:-1;;24507:249:1:o;24761:135::-;24800:3;-1:-1:-1;;24821:17:1;;24818:43;;;24841:18;;:::i;:::-;-1:-1:-1;24888:1:1;24877:13;;24761:135::o;24901:112::-;24933:1;24959;24949:35;;24964:18;;:::i;:::-;-1:-1:-1;24998:9:1;;24901:112::o;25018:127::-;25079:10;25074:3;25070:20;25067:1;25060:31;25110:4;25107:1;25100:15;25134:4;25131:1;25124:15;25150:127;25211:10;25206:3;25202:20;25199:1;25192:31;25242:4;25239:1;25232:15;25266:4;25263:1;25256:15;25282:127;25343:10;25338:3;25334:20;25331:1;25324:31;25374:4;25371:1;25364:15;25398:4;25395:1;25388:15;25414:127;25475:10;25470:3;25466:20;25463:1;25456:31;25506:4;25503:1;25496:15;25530:4;25527:1;25520:15;25546:179;25581:3;25623:1;25605:16;25602:23;25599:120;;;25669:1;25666;25663;25648:23;-1:-1:-1;25706:1:1;25700:8;25695:3;25691:18;25599:120;25546:179;:::o;25730:671::-;25769:3;25811:4;25793:16;25790:26;25787:39;;;25730:671;:::o;25787:39::-;25853:2;25847:9;-1:-1:-1;;25918:16:1;25914:25;;25911:1;25847:9;25890:50;25969:4;25963:11;25993:16;26028:18;26099:2;26092:4;26084:6;26080:17;26077:25;26072:2;26064:6;26061:14;26058:45;26055:58;;;26106:5;;;;;25730:671;:::o;26055:58::-;26143:6;26137:4;26133:17;26122:28;;26179:3;26173:10;26206:2;26198:6;26195:14;26192:27;;;26212:5;;;;;;25730:671;:::o;26192:27::-;26296:2;26277:16;26271:4;26267:27;26263:36;26256:4;26247:6;26242:3;26238:16;26234:27;26231:69;26228:82;;;26303:5;;;;;;25730:671;:::o;26228:82::-;26319:57;26370:4;26361:6;26353;26349:19;26345:30;26339:4;26319:57;:::i;:::-;-1:-1:-1;26392:3:1;;25730:671;-1:-1:-1;;;;;25730:671:1:o;26406:131::-;-1:-1:-1;;;;;;26480:32:1;;26470:43;;26460:71;;26527:1;26524;26517:12

Swarm Source

ipfs://f4d2e2633e639767bd36185738906d933d649ba9241fbcde25b4b84fe6c096c3

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

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

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