ETH Price: $3,122.93 (+2.17%)

Contract

0xe891809f7325CDB7286C2De897Ba8B2a0F83EfF7
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Approve208467102024-09-28 4:21:3552 days ago1727497295IN
0xe891809f...a0F83EfF7
0 ETH0.00018757.51686872
Approve204708782024-08-06 16:59:23104 days ago1722963563IN
0xe891809f...a0F83EfF7
0 ETH0.000163486.55375809
Approve195771182024-04-03 18:45:23229 days ago1712169923IN
0xe891809f...a0F83EfF7
0 ETH0.001015140.69360078
Approve164091092023-01-15 2:05:23674 days ago1673748323IN
0xe891809f...a0F83EfF7
0 ETH0.0003965615.89739051
Approve162737612022-12-27 4:41:11693 days ago1672116071IN
0xe891809f...a0F83EfF7
0 ETH0.0005279221.16348927
Claim159428332022-11-10 23:14:23739 days ago1668122063IN
0xe891809f...a0F83EfF7
0 ETH0.0014843615.50375711
Approve151494662022-07-15 20:37:52857 days ago1657917472IN
0xe891809f...a0F83EfF7
0 ETH0.0008102632.4819926
Approve151030782022-07-08 16:43:55864 days ago1657298635IN
0xe891809f...a0F83EfF7
0 ETH0.0006896227.64562959
Approve147788612022-05-15 8:21:02919 days ago1652602862IN
0xe891809f...a0F83EfF7
0 ETH0.0005919923.73183397
Transfer147163452022-05-05 9:03:41929 days ago1651741421IN
0xe891809f...a0F83EfF7
0 ETH0.0009212531.17075696
Approve146992332022-05-02 15:50:50931 days ago1651506650IN
0xe891809f...a0F83EfF7
0 ETH0.0017640470.71719233
Transfer146650932022-04-27 7:14:49937 days ago1651043689IN
0xe891809f...a0F83EfF7
0 ETH0.0009163131.00383871
Transfer146650702022-04-27 7:09:49937 days ago1651043389IN
0xe891809f...a0F83EfF7
0 ETH0.0016316234.36511972
Transfer146300002022-04-21 18:54:53942 days ago1650567293IN
0xe891809f...a0F83EfF7
0 ETH0.0039419983.02611888
Transfer145449272022-04-08 11:45:09955 days ago1649418309IN
0xe891809f...a0F83EfF7
0 ETH0.0009345230.76204514
Transfer144935882022-03-31 11:07:12964 days ago1648724832IN
0xe891809f...a0F83EfF7
0 ETH0.0013235625.3174189
Claim144747982022-03-28 12:59:15966 days ago1648472355IN
0xe891809f...a0F83EfF7
0 ETH0.0023564925.09022262
Claim144741732022-03-28 10:33:42967 days ago1648463622IN
0xe891809f...a0F83EfF7
0 ETH0.0026947620.91885003
Claim144738062022-03-28 9:06:25967 days ago1648458385IN
0xe891809f...a0F83EfF7
0 ETH0.0021306834.68427355
Claim144710802022-03-27 23:05:59967 days ago1648422359IN
0xe891809f...a0F83EfF7
0 ETH0.0038627240.34516176
Claim144642462022-03-26 21:29:25968 days ago1648330165IN
0xe891809f...a0F83EfF7
0 ETH0.0032563434.67108527
Claim144595552022-03-26 3:56:40969 days ago1648267000IN
0xe891809f...a0F83EfF7
0 ETH0.0019632130.03326305
Claim144595502022-03-26 3:55:56969 days ago1648266956IN
0xe891809f...a0F83EfF7
0 ETH0.0020622631.54859309
Claim144595482022-03-26 3:55:48969 days ago1648266948IN
0xe891809f...a0F83EfF7
0 ETH0.0044130934.45304633
Claim144576622022-03-25 20:50:13969 days ago1648241413IN
0xe891809f...a0F83EfF7
0 ETH0.0029140736.64303997
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
BBZToken

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

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

// 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/token/ERC721/IERC721Receiver.sol


// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

/**
 * @title ERC721 token receiver interface
 * @dev Interface for any contract that wants to support safeTransfers
 * from ERC721 asset contracts.
 */
interface IERC721Receiver {
    /**
     * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
     * by `operator` from `from`, this function is called.
     *
     * It must return its Solidity selector to confirm the token transfer.
     * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
     *
     * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

// 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/ERC721/IERC721.sol


// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;


/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721 is IERC165 {
    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
     */
    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
     */
    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

    /**
     * @dev Returns the number of tokens in ``owner``'s account.
     */
    function balanceOf(address owner) external view returns (uint256 balance);

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) external view returns (address owner);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Gives permission to `to` to transfer `tokenId` token to another account.
     * The approval is cleared when the token is transferred.
     *
     * Only a single account can be approved at a time, so approving the zero address clears previous approvals.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function approve(address to, uint256 tokenId) external;

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool _approved) external;

    /**
     * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
     *
     * See {setApprovalForAll}
     */
    function isApprovedForAll(address owner, address operator) external view returns (bool);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes calldata data
    ) external;
}

// File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol


// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol)

pragma solidity ^0.8.0;


/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Enumerable is IERC721 {
    /**
     * @dev Returns the total amount of tokens stored by the contract.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns a token ID owned by `owner` at a given `index` of its token list.
     * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256);

    /**
     * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.
     * Use along with {totalSupply} to enumerate all tokens.
     */
    function tokenByIndex(uint256 index) external view returns (uint256);
}

// File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol


// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.0;


/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {
    /**
     * @dev Returns the token collection name.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the token collection symbol.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 tokenId) external view returns (string memory);
}

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


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

pragma solidity ^0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;

        _;

        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}

// 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: contracts/babyzuki/ERC721A.sol



pragma solidity ^0.8.0;









interface IOwnershipData{
    function getOwnershipData(uint256 tokenId)
        external
        view
        returns (address _address, uint64 _timestamp);
}

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata and Enumerable extension. Built to optimize for lower gas during batch mints.
 *
 * Assumes serials are sequentially minted starting at 0 (e.g. 0, 1, 2, 3..).
 *
 * Assumes the number of issuable tokens (collection size) is capped and fits in a uint128.
 *
 * Does not support burning tokens to address(0).
 */
contract ERC721A is
  Context,
  ERC165,
  IERC721,
  IERC721Metadata,
  IERC721Enumerable
{
  using Address for address;
  using Strings for uint256;

  struct TokenOwnership {
    address addr;
    uint64 startTimestamp;
  }

  struct AddressData {
    uint128 balance;
    uint128 numberMinted;
  }

  uint256 internal currentIndex = 0;

  uint256 internal immutable collectionSize;
  uint256 internal immutable maxBatchSize;

  // Token name
  string private _name;

  // Token symbol
  string private _symbol;

  // Mapping from token ID to ownership details
  // An empty struct value does not necessarily mean the token is unowned. See ownershipOf implementation for details.
  mapping(uint256 => TokenOwnership) private _ownerships;

  // Mapping owner address to address data
  mapping(address => AddressData) private _addressData;

  // Mapping from token ID to approved address
  mapping(uint256 => address) private _tokenApprovals;

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

  /**
   * @dev
   * `maxBatchSize` refers to how much a minter can mint at a time.
   * `collectionSize_` refers to how many tokens are in the collection.
   */
  constructor(
    string memory name_,
    string memory symbol_,
    uint256 maxBatchSize_,
    uint256 collectionSize_
  ) {
    require(
      collectionSize_ > 0,
      "ERC721A: collection must have a nonzero supply"
    );
    require(maxBatchSize_ > 0, "ERC721A: max batch size must be nonzero");
    _name = name_;
    _symbol = symbol_;
    maxBatchSize = maxBatchSize_;
    collectionSize = collectionSize_;
  }

  /**
   * @dev See {IERC721Enumerable-totalSupply}.
   */
  function totalSupply() public view override returns (uint256) {
    return currentIndex;
  }

  /**
   * @dev See {IERC721Enumerable-tokenByIndex}.
   */
  function tokenByIndex(uint256 index) public view override returns (uint256) {
    require(index < totalSupply(), "ERC721A: global index out of bounds");
    return index;
  }

  /**
   * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
   * This read function is O(collectionSize). If calling from a separate contract, be sure to test gas first.
   * It may also degrade with extremely large collection sizes (e.g >> 10000), test for your use case.
   */
  function tokenOfOwnerByIndex(address owner, uint256 index)
    public
    view
    override
    returns (uint256)
  {
    require(index < balanceOf(owner), "ERC721A: owner index out of bounds");
    uint256 numMintedSoFar = totalSupply();
    uint256 tokenIdsIdx = 0;
    address currOwnershipAddr = address(0);
    for (uint256 i = 0; i < numMintedSoFar; i++) {
      TokenOwnership memory ownership = _ownerships[i];
      if (ownership.addr != address(0)) {
        currOwnershipAddr = ownership.addr;
      }
      if (currOwnershipAddr == owner) {
        if (tokenIdsIdx == index) {
          return i;
        }
        tokenIdsIdx++;
      }
    }
    revert("ERC721A: unable to get token of owner by index");
  }

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

  /**
   * @dev See {IERC721-balanceOf}.
   */
  function balanceOf(address owner) public view override returns (uint256) {
    require(owner != address(0), "ERC721A: balance query for the zero address");
    return uint256(_addressData[owner].balance);
  }

  function _numberMinted(address owner) internal view returns (uint256) {
    require(
      owner != address(0),
      "ERC721A: number minted query for the zero address"
    );
    return uint256(_addressData[owner].numberMinted);
  }

  function ownershipOf(uint256 tokenId)
    internal
    view
    returns (TokenOwnership memory)
  {
    require(_exists(tokenId), "ERC721A: owner query for nonexistent token");

    uint256 lowestTokenToCheck;
    if (tokenId >= maxBatchSize) {
      lowestTokenToCheck = tokenId - maxBatchSize + 1;
    }

    for (uint256 curr = tokenId; curr >= lowestTokenToCheck; curr--) {
      TokenOwnership memory ownership = _ownerships[curr];
      if (ownership.addr != address(0)) {
        return ownership;
      }
    }

    revert("ERC721A: unable to determine the owner of token");
  }

  /**
   * @dev See {IERC721-ownerOf}.
   */
  function ownerOf(uint256 tokenId) public view override returns (address) {
    return ownershipOf(tokenId).addr;
  }

  /**
   * @dev See {IERC721Metadata-name}.
   */
  function name() public view virtual override returns (string memory) {
    return _name;
  }

  /**
   * @dev See {IERC721Metadata-symbol}.
   */
  function symbol() public view virtual override returns (string memory) {
    return _symbol;
  }

  /**
   * @dev See {IERC721Metadata-tokenURI}.
   */
  function tokenURI(uint256 tokenId)
    public
    view
    virtual
    override
    returns (string memory)
  {
    require(
      _exists(tokenId),
      "ERC721Metadata: URI query for nonexistent token"
    );

    string memory baseURI = _baseURI();
    return
      bytes(baseURI).length > 0
        ? string(abi.encodePacked(baseURI, tokenId.toString()))
        : "";
  }

  /**
   * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each
   * token will be the concatenation of the `baseURI` and the `tokenId`. Empty
   * by default, can be overriden in child contracts.
   */
  function _baseURI() internal view virtual returns (string memory) {
    return "";
  }

  /**
   * @dev See {IERC721-approve}.
   */
  function approve(address to, uint256 tokenId) public override {
    address owner = ERC721A.ownerOf(tokenId);
    require(to != owner, "ERC721A: approval to current owner");

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

    _approve(to, tokenId, owner);
  }

  /**
   * @dev See {IERC721-getApproved}.
   */
  function getApproved(uint256 tokenId) public view override returns (address) {
    require(_exists(tokenId), "ERC721A: approved query for nonexistent token");

    return _tokenApprovals[tokenId];
  }

  /**
   * @dev See {IERC721-setApprovalForAll}.
   */
  function setApprovalForAll(address operator, bool approved) public override {
    require(operator != _msgSender(), "ERC721A: approve to caller");

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

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

  /**
   * @dev See {IERC721-transferFrom}.
   */
  function transferFrom(
    address from,
    address to,
    uint256 tokenId
  ) public override {
    _transfer(from, to, tokenId);
  }

  /**
   * @dev See {IERC721-safeTransferFrom}.
   */
  function safeTransferFrom(
    address from,
    address to,
    uint256 tokenId
  ) public override {
    safeTransferFrom(from, to, tokenId, "");
  }

  /**
   * @dev See {IERC721-safeTransferFrom}.
   */
  function safeTransferFrom(
    address from,
    address to,
    uint256 tokenId,
    bytes memory _data
  ) public override {
    _transfer(from, to, tokenId);
    require(
      _checkOnERC721Received(from, to, tokenId, _data),
      "ERC721A: transfer to non ERC721Receiver implementer"
    );
  }

  /**
   * @dev Returns whether `tokenId` exists.
   *
   * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
   *
   * Tokens start existing when they are minted (`_mint`),
   */
  function _exists(uint256 tokenId) internal view returns (bool) {
    return tokenId < currentIndex;
  }

  function _safeMint(address to, uint256 quantity) internal {
    _safeMint(to, quantity, "");
  }

  /**
   * @dev Mints `quantity` tokens and transfers them to `to`.
   *
   * Requirements:
   *
   * - there must be `quantity` tokens remaining unminted in the total collection.
   * - `to` cannot be the zero address.
   * - `quantity` cannot be larger than the max batch size.
   *
   * Emits a {Transfer} event.
   */
  function _safeMint(
    address to,
    uint256 quantity,
    bytes memory _data
  ) internal {
    uint256 startTokenId = currentIndex;
    require(to != address(0), "ERC721A: mint to the zero address");
    // We know if the first token in the batch doesn't exist, the other ones don't as well, because of serial ordering.
    require(!_exists(startTokenId), "ERC721A: token already minted");
    require(quantity <= maxBatchSize, "ERC721A: quantity to mint too high");

    _beforeTokenTransfers(address(0), to, startTokenId, quantity);

    AddressData memory addressData = _addressData[to];
    _addressData[to] = AddressData(
      addressData.balance + uint128(quantity),
      addressData.numberMinted + uint128(quantity)
    );
    _ownerships[startTokenId] = TokenOwnership(to, uint64(block.timestamp));

    uint256 updatedIndex = startTokenId;

    for (uint256 i = 0; i < quantity; i++) {
      emit Transfer(address(0), to, updatedIndex);
      require(
        _checkOnERC721Received(address(0), to, updatedIndex, _data),
        "ERC721A: transfer to non ERC721Receiver implementer"
      );
      updatedIndex++;
    }

    currentIndex = updatedIndex;
    _afterTokenTransfers(address(0), to, startTokenId, quantity);
  }

  /**
   * @dev Transfers `tokenId` from `from` to `to`.
   *
   * Requirements:
   *
   * - `to` cannot be the zero address.
   * - `tokenId` token must be owned by `from`.
   *
   * Emits a {Transfer} event.
   */
  function _transfer(
    address from,
    address to,
    uint256 tokenId
  ) private {
    TokenOwnership memory prevOwnership = ownershipOf(tokenId);

    bool isApprovedOrOwner = (_msgSender() == prevOwnership.addr ||
      getApproved(tokenId) == _msgSender() ||
      isApprovedForAll(prevOwnership.addr, _msgSender()));

    require(
      isApprovedOrOwner,
      "ERC721A: transfer caller is not owner nor approved"
    );

    require(
      prevOwnership.addr == from,
      "ERC721A: transfer from incorrect owner"
    );
    require(to != address(0), "ERC721A: transfer to the zero address");

    _beforeTokenTransfers(from, to, tokenId, 1);

    // Clear approvals from the previous owner
    _approve(address(0), tokenId, prevOwnership.addr);

    _addressData[from].balance -= 1;
    _addressData[to].balance += 1;
    _ownerships[tokenId] = TokenOwnership(to, uint64(block.timestamp));

    // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it.
    // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
    uint256 nextTokenId = tokenId + 1;
    if (_ownerships[nextTokenId].addr == address(0)) {
      if (_exists(nextTokenId)) {
        _ownerships[nextTokenId] = TokenOwnership(
          prevOwnership.addr,
          prevOwnership.startTimestamp
        );
      }
    }

    emit Transfer(from, to, tokenId);
    _afterTokenTransfers(from, to, tokenId, 1);
  }

  /**
   * @dev Approve `to` to operate on `tokenId`
   *
   * Emits a {Approval} event.
   */
  function _approve(
    address to,
    uint256 tokenId,
    address owner
  ) private {
    _tokenApprovals[tokenId] = to;
    emit Approval(owner, to, tokenId);
  }

  uint256 public nextOwnerToExplicitlySet = 0;

  /**
   * @dev Explicitly set `owners` to eliminate loops in future calls of ownerOf().
   */
  function _setOwnersExplicit(uint256 quantity) internal {
    uint256 oldNextOwnerToSet = nextOwnerToExplicitlySet;
    require(quantity > 0, "quantity must be nonzero");
    uint256 endIndex = oldNextOwnerToSet + quantity - 1;
    if (endIndex > collectionSize - 1) {
      endIndex = collectionSize - 1;
    }
    // We know if the last one in the group exists, all in the group exist, due to serial ordering.
    require(_exists(endIndex), "not enough minted yet for this cleanup");
    for (uint256 i = oldNextOwnerToSet; i <= endIndex; i++) {
      if (_ownerships[i].addr == address(0)) {
        TokenOwnership memory ownership = ownershipOf(i);
        _ownerships[i] = TokenOwnership(
          ownership.addr,
          ownership.startTimestamp
        );
      }
    }
    nextOwnerToExplicitlySet = endIndex + 1;
  }

  /**
   * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
   * The call is not executed if the target address is not a contract.
   *
   * @param from address representing the previous owner of the given token ID
   * @param to target address that will receive the tokens
   * @param tokenId uint256 ID of the token to be transferred
   * @param _data bytes optional data to send along with the call
   * @return bool whether the call correctly returned the expected magic value
   */
  function _checkOnERC721Received(
    address from,
    address to,
    uint256 tokenId,
    bytes memory _data
  ) private returns (bool) {
    if (to.isContract()) {
      try
        IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data)
      returns (bytes4 retval) {
        return retval == IERC721Receiver(to).onERC721Received.selector;
      } catch (bytes memory reason) {
        if (reason.length == 0) {
          revert("ERC721A: transfer to non ERC721Receiver implementer");
        } else {
          assembly {
            revert(add(32, reason), mload(reason))
          }
        }
      }
    } else {
      return true;
    }
  }

  /**
   * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting.
   *
   * startTokenId - the first token id to be transferred
   * quantity - the amount to be transferred
   *
   * Calling conditions:
   *
   * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
   * transferred to `to`.
   * - When `from` is zero, `tokenId` will be minted for `to`.
   */
  function _beforeTokenTransfers(
    address from,
    address to,
    uint256 startTokenId,
    uint256 quantity
  ) internal virtual {}

  /**
   * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes
   * minting.
   *
   * startTokenId - the first token id to be transferred
   * quantity - the amount to be transferred
   *
   * Calling conditions:
   *
   * - when `from` and `to` are both non-zero.
   * - `from` and `to` are never both zero.
   */
  function _afterTokenTransfers(
    address from,
    address to,
    uint256 startTokenId,
    uint256 quantity
  ) internal virtual {}
}
// 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/babyzuki/contracts.sol



pragma solidity ^0.8.0;





contract BBZOrigin is Ownable, ERC721A, ReentrancyGuard, IOwnershipData {
    struct MintConfig {
        uint256 dnmAmount;
        bool groupAActive;
        uint256 groupAPrice;
        bool groupBActive;
        uint256 groupBPrice;
        bool groupCActive;
        uint256 groupCPrice;
    }

    MintConfig public config;

    mapping(address => uint256) public groupA;
    mapping(address => uint256) public groupB;

    string private baseTokenURI;

    constructor(
        uint256 collectionSize,
        uint256 dnmAmount
    ) ERC721A("BBZ Origin", "BBZORIGIN", 5, collectionSize) {
      config.dnmAmount = dnmAmount;
      config.groupAPrice = 0.1 ether;
      config.groupBPrice = 0.12 ether;
      config.groupCPrice = 0.14 ether;
      baseTokenURI = "https://d359zl9sgwt1qi.cloudfront.net/";
    }

    modifier callerIsNotContract() {
        require(tx.origin == msg.sender, "The caller is another contract");
        _;
    }

    /* DnM Related */
    function mintDnM() external onlyOwner {
        uint256 numChunks = config.dnmAmount / maxBatchSize;
        for (uint256 i = 0; i < numChunks; i++) {
            _safeMint(msg.sender, maxBatchSize);
        }
    }

    function mintUnclaimed() external onlyOwner {
        for (uint256 i = currentIndex; i < collectionSize; i++) {
            _safeMint(msg.sender, 1);
        }
    }

    /* Manage */
    function setGroupState(bool g1, bool g2, bool g3) external onlyOwner {
        config.groupAActive = g1;
        config.groupBActive = g2;
        config.groupCActive = g3;
    }

    function setGroupPrice(uint256 p1, uint256 p2, uint256 p3) external onlyOwner {
        config.groupAPrice = p1;
        config.groupBPrice = p2;
        config.groupCPrice = p3;
    }

    function withdrawETH() external onlyOwner nonReentrant {
        (bool success, ) = msg.sender.call{value: address(this).balance}("");
        require(success, "Transfer failed.");
    }

    /* OG Mint */
    function isOGMintActive() external view returns (bool) {
        return config.groupAActive;
    }

    function isInOgList() external view returns (bool) {
        return (groupA[msg.sender] > 0);
    }

    function mintOG(uint256 quantity)
        external
        payable
        callerIsNotContract
    {
        uint256 totalCost = uint256(config.groupAPrice) * quantity;

        require(config.groupAActive, "OG Sale is not active");
        require(msg.value >= totalCost, "Not enough ETH");
        require(groupA[msg.sender] >= quantity, "Not in OG list or already minted max amount");
        require(currentIndex + quantity <= collectionSize, "Total tokens amount reached");

        groupA[msg.sender] = groupA[msg.sender] - quantity;
        _safeMint(msg.sender, quantity);
    }

    function setOGList(
        address[] memory addresses,
        uint256[] memory numSlots
    ) external onlyOwner {
        require(
            addresses.length == numSlots.length,
            "Addresses does not match numSlots length"
        );
        for (uint256 i = 0; i < addresses.length; i++) {
            groupA[addresses[i]] += numSlots[i];
        }
    }

    /* WL Mint */
    function isWLMintActive() external view returns (bool) {
        return config.groupBActive;
    }

    function isInWLList() external view returns (bool) {
        return (groupB[msg.sender] > 0);
    }

    function mintWL(uint256 quantity)
        external
        payable
        callerIsNotContract
    {
        uint256 totalCost = uint256(config.groupBPrice) * quantity;

        require(config.groupBActive, "WL Sale is not active");
        require(msg.value >= totalCost, "Not enough ETH");
        require(groupB[msg.sender] >= quantity, "Not in WL list or already minted max amount");
        require(currentIndex + quantity <= collectionSize, "Total tokens amount reached");

        groupB[msg.sender] = groupB[msg.sender] - quantity;
        _safeMint(msg.sender, quantity);
    }

    function setWLList(
        address[] memory addresses,
        uint256[] memory numSlots
    ) external onlyOwner {
        require(
            addresses.length == numSlots.length,
            "Addresses does not match numSlots length"
        );
        for (uint256 i = 0; i < addresses.length; i++) {
            groupB[addresses[i]] += numSlots[i];
        }
    }

    /* Public Mint */
    function isPublicMintActive() external view returns (bool) {
        return config.groupCActive;
    }

    function mint(uint256 quantity)
        external
        payable
        callerIsNotContract
    {
        uint256 totalCost = uint256(config.groupCPrice) * quantity;

        require(config.groupCActive, "Public Sale is not active");
        require(msg.value >= totalCost, "Not enough ETH");
        require(currentIndex + quantity <= collectionSize, "Total tokens amount reached");
        require(quantity <= 3, "Max mint amount is 3");

        _safeMint(msg.sender, quantity);
    }

    /* Metadata */
    function _baseURI() internal view virtual override returns (string memory) {
        return baseTokenURI;
    }

    function setBaseURI(string calldata baseURI) external onlyOwner {
        baseTokenURI = baseURI;
    }

    function setOwnersExplicit(uint256 quantity)
        external
        onlyOwner
        nonReentrant
    {
        _setOwnersExplicit(quantity);
    }

    function numberMinted(address owner) public view returns (uint256) {
        return _numberMinted(owner);
    }

    function getOwnershipData(uint256 tokenId)
        external override
        view
        returns (address _address, uint64 _timestamp)
    {
        TokenOwnership memory ownership = ownershipOf(tokenId);
        return (ownership.addr, ownership.startTimestamp);
    }
}

// File: @openzeppelin/contracts/token/ERC20/IERC20.sol


// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

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

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

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

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

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

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

// File: @openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol


// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.0;


/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 *
 * _Available since v4.1._
 */
interface IERC20Metadata is IERC20 {
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the symbol of the token.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the decimals places of the token.
     */
    function decimals() external view returns (uint8);
}

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


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

pragma solidity ^0.8.0;




/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin Contracts guidelines: functions revert
 * instead returning `false` on failure. This behavior is nonetheless
 * conventional and does not conflict with the expectations of ERC20
 * applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20, IERC20Metadata {
    mapping(address => uint256) private _balances;

    mapping(address => mapping(address => uint256)) private _allowances;

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * The default value of {decimals} is 18. To select a different value for
     * {decimals} you should overload it.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @dev Returns the name of the token.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5.05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the value {ERC20} uses, unless this function is
     * overridden;
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view virtual override returns (uint8) {
        return 18;
    }

    /**
     * @dev See {IERC20-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _totalSupply;
    }

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view virtual override returns (uint256) {
        return _balances[account];
    }

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address to, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _transfer(owner, to, amount);
        return true;
    }

    /**
     * @dev See {IERC20-allowance}.
     */
    function allowance(address owner, address spender) public view virtual override returns (uint256) {
        return _allowances[owner][spender];
    }

    /**
     * @dev See {IERC20-approve}.
     *
     * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on
     * `transferFrom`. This is semantically equivalent to an infinite approval.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * NOTE: Does not update the allowance if the current allowance
     * is the maximum `uint256`.
     *
     * Requirements:
     *
     * - `from` and `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     * - the caller must have allowance for ``from``'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) public virtual override returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, amount);
        _transfer(from, to, amount);
        return true;
    }

    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, _allowances[owner][spender] + addedValue);
        return true;
    }

    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        address owner = _msgSender();
        uint256 currentAllowance = _allowances[owner][spender];
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(owner, spender, currentAllowance - subtractedValue);
        }

        return true;
    }

    /**
     * @dev Moves `amount` of tokens from `sender` to `recipient`.
     *
     * This internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     */
    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(from, to, amount);

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

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, amount);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

        _beforeTokenTransfer(address(0), account, amount);

        _totalSupply += amount;
        _balances[account] += amount;
        emit Transfer(address(0), account, amount);

        _afterTokenTransfer(address(0), account, amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");

        _beforeTokenTransfer(account, address(0), amount);

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        unchecked {
            _balances[account] = accountBalance - amount;
        }
        _totalSupply -= amount;

        emit Transfer(account, address(0), amount);

        _afterTokenTransfer(account, address(0), amount);
    }

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
     *
     * This internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

    /**
     * @dev Spend `amount` form the allowance of `owner` toward `spender`.
     *
     * Does not update the allowance amount in case of infinite allowance.
     * Revert if not enough allowance is available.
     *
     * Might emit an {Approval} event.
     */
    function _spendAllowance(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        uint256 currentAllowance = allowance(owner, spender);
        if (currentAllowance != type(uint256).max) {
            require(currentAllowance >= amount, "ERC20: insufficient allowance");
            unchecked {
                _approve(owner, spender, currentAllowance - amount);
            }
        }
    }

    /**
     * @dev Hook that is called before any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be transferred to `to`.
     * - when `from` is zero, `amount` tokens will be minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * has been transferred to `to`.
     * - when `from` is zero, `amount` tokens have been minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens have been burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}
}

// File: contracts/babyzuki/bbz.sol


pragma solidity 0.8.7;




interface ISpendable{
    function spend(address spender, uint256 amount) external returns (uint256);
}

contract BBZToken is ERC20, Ownable, ISpendable {
    
    struct ClaimableTokenData {
        bool active;
        uint256 defaultBonus;
        uint256 cycle;
        uint256 startTimestamp;
        mapping(uint256 => uint256) bonus;
    }

    mapping(address => ClaimableTokenData) claimableTokens;
    mapping(address => mapping(uint256 => uint256)) claims;

    address marketMaker;

    constructor(string memory name, string memory symbol) ERC20(name, symbol) {
        marketMaker = address(0);
    }

    function decimals() public view virtual override returns (uint8) {
        return 0;
    }

    function marketMakerAddress() public view returns (address){
        return marketMaker;
    }

    function setMarketMakerAddress(address newAddress) external onlyOwner {
        marketMaker = newAddress;
    }

    function setCollectionBonus(address collectionAddress, bool active, uint256 timestamp, uint256 defaultBonus, uint256 cycle, uint256[] calldata tokenIds, uint256[] calldata bonus) external onlyOwner{
        require(tokenIds.length == bonus.length, "Tokens ids are not compatible with bonuses");
        require(cycle >= 60, "Cycle too low");

        ClaimableTokenData storage tokenData = claimableTokens[collectionAddress];
        tokenData.active = active;
        tokenData.defaultBonus = defaultBonus;
        tokenData.cycle = cycle;
        tokenData.startTimestamp = timestamp;
        for (uint256 i = 0; i < tokenIds.length; i++) {
            tokenData.bonus[tokenIds[i]] = bonus[i];
        }
    }

    function setCollectionState(address collectionAddress, bool active, uint256 timestamp) external onlyOwner {
        ClaimableTokenData storage tokenData = claimableTokens[collectionAddress];
        tokenData.active = active;
        tokenData.startTimestamp = timestamp;
    }

    function getTokenBonus(address collectionAddress, uint256 tokenId) external view returns (uint256){
        ClaimableTokenData storage tokenData = claimableTokens[collectionAddress];
        uint256 bonus = tokenData.bonus[tokenId];
        return bonus == 0 ? tokenData.defaultBonus : bonus;
    }

    function claim(address tokenAddress, uint256[] calldata tokenIds) external {
        ClaimableTokenData storage tokenData = claimableTokens[tokenAddress];
        require(tokenData.active, "Token is not activated for BBZ rewards.");
        
        _mint(msg.sender, _calculateAmountBeforeClaim(tokenData, tokenAddress, tokenIds));
    }

    function claimableAmount(address tokenAddress, uint256[] calldata tokenIds) external view returns (uint256) {
        ClaimableTokenData storage tokenData = claimableTokens[tokenAddress];
        require(tokenData.active, "Token is not activated for BBZ rewards.");

        return _calculateAmount(tokenData, tokenAddress, tokenIds);
    }
    
    function _calculateAmount(ClaimableTokenData storage tokenData, address tokenAddress, uint256[] memory tokenIds) private view returns (uint256){
        IOwnershipData token = IOwnershipData(tokenAddress);
        uint256 amount = 0;
        mapping(uint256 => uint256) storage tokenClaims = claims[tokenAddress];
        for (uint256 i = 0; i < tokenIds.length; i++) {
            (address tokenOwner, uint256 timestamp) = token.getOwnershipData(tokenIds[i]);
            require(tokenOwner == msg.sender, "You are not the owner of the NFT Token");
            require(tokenOwner != address(0), "Token is not yet minted");

            uint256 lastClaim = tokenClaims[tokenIds[i]];
            if (lastClaim == 0 || lastClaim < timestamp){
                lastClaim = timestamp;
            }

            if (lastClaim < tokenData.startTimestamp){
                lastClaim = tokenData.startTimestamp;
            }

            uint256 diff = block.timestamp - lastClaim;
            uint256 bonus = tokenData.bonus[tokenIds[i]];
            if (bonus == 0) {
                bonus = tokenData.defaultBonus;
            }

            amount = amount + ((diff / tokenData.cycle) * bonus);
        }

        return amount;
    }

    function _calculateAmountBeforeClaim(ClaimableTokenData storage tokenData, address tokenAddress, uint256[] memory tokenIds) private returns (uint256){
        IOwnershipData token = IOwnershipData(tokenAddress);
        uint256 amount = 0;
        mapping(uint256 => uint256) storage tokenClaims = claims[tokenAddress];
        for (uint256 i = 0; i < tokenIds.length; i++) {
            (address tokenOwner, uint256 timestamp) = token.getOwnershipData(tokenIds[i]);
            require(tokenOwner == msg.sender, "You are not the owner of the NFT Token");
            require(tokenOwner != address(0), "Token is not yet minted");

            uint256 lastClaim = tokenClaims[tokenIds[i]];
            if (lastClaim == 0 || lastClaim < timestamp){
                lastClaim = timestamp;
            }

            if (lastClaim < tokenData.startTimestamp){
                lastClaim = tokenData.startTimestamp;
            }

            uint256 diff = block.timestamp - lastClaim;
            uint256 bonus = tokenData.bonus[tokenIds[i]];
            if (bonus == 0) {
                bonus = tokenData.defaultBonus;
            }

            amount = amount + ((diff / tokenData.cycle) * bonus);
            tokenClaims[tokenIds[i]] = lastClaim + (diff / tokenData.cycle) * tokenData.cycle;
        }

        return amount;
    }

    // To be used by a market maker contract to burn users funds
    function spend(address from, uint256 amount) external override returns (uint256){
        require(msg.sender == marketMaker, "Access denied");
        require(balanceOf(from) >= amount, "Balance too low");

        _burn(from, amount);

        return amount;
    }

    // For future use of manuall selling/negociating BBZ
    function mintTo(address to, uint256 amount) external onlyOwner {
        require(amount > 0, "Invalid amount");

        _mint(to, amount);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","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":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"claimableAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"collectionAddress","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getTokenBonus","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"marketMakerAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mintTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"collectionAddress","type":"address"},{"internalType":"bool","name":"active","type":"bool"},{"internalType":"uint256","name":"timestamp","type":"uint256"},{"internalType":"uint256","name":"defaultBonus","type":"uint256"},{"internalType":"uint256","name":"cycle","type":"uint256"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"},{"internalType":"uint256[]","name":"bonus","type":"uint256[]"}],"name":"setCollectionBonus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"collectionAddress","type":"address"},{"internalType":"bool","name":"active","type":"bool"},{"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"setCollectionState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAddress","type":"address"}],"name":"setMarketMakerAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"spend","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b50604051620038b8380380620038b88339818101604052810190620000379190620002d3565b8181816003908051906020019062000051929190620001a5565b5080600490805190602001906200006a929190620001a5565b5050506200008d62000081620000d760201b60201c565b620000df60201b60201c565b6000600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050620004dc565b600033905090565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620001b390620003ed565b90600052602060002090601f016020900481019282620001d7576000855562000223565b82601f10620001f257805160ff191683800117855562000223565b8280016001018555821562000223579182015b828111156200022257825182559160200191906001019062000205565b5b50905062000232919062000236565b5090565b5b808211156200025157600081600090555060010162000237565b5090565b60006200026c620002668462000381565b62000358565b9050828152602081018484840111156200028b576200028a620004bc565b5b62000298848285620003b7565b509392505050565b600082601f830112620002b857620002b7620004b7565b5b8151620002ca84826020860162000255565b91505092915050565b60008060408385031215620002ed57620002ec620004c6565b5b600083015167ffffffffffffffff8111156200030e576200030d620004c1565b5b6200031c85828601620002a0565b925050602083015167ffffffffffffffff81111562000340576200033f620004c1565b5b6200034e85828601620002a0565b9150509250929050565b60006200036462000377565b905062000372828262000423565b919050565b6000604051905090565b600067ffffffffffffffff8211156200039f576200039e62000488565b5b620003aa82620004cb565b9050602081019050919050565b60005b83811015620003d7578082015181840152602081019050620003ba565b83811115620003e7576000848401525b50505050565b600060028204905060018216806200040657607f821691505b602082108114156200041d576200041c62000459565b5b50919050565b6200042e82620004cb565b810181811067ffffffffffffffff8211171562000450576200044f62000488565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b6133cc80620004ec6000396000f3fe608060405234801561001057600080fd5b506004361061014d5760003560e01c806370a08231116100c3578063a9059cbb1161007c578063a9059cbb1461039e578063af7d6ca3146103ce578063b9f3cdd4146103fe578063cc9105881461042e578063dd62ed3e1461044c578063f2fde38b1461047c5761014d565b806370a08231146102dc578063715018a61461030c5780638da5cb5b1461031657806395d89b41146103345780639c4c132f14610352578063a457c2d71461036e5761014d565b8063313ce56711610115578063313ce5671461020a578063395093511461022857806340f3d7a514610258578063449a52f814610274578063457182781461029057806364b5ad2c146102ac5761014d565b806306fdde0314610152578063095ea7b31461017057806318160ddd146101a05780631f559806146101be57806323b872dd146101da575b600080fd5b61015a610498565b6040516101679190612838565b60405180910390f35b61018a60048036038101906101859190612451565b61052a565b604051610197919061281d565b60405180910390f35b6101a861054d565b6040516101b59190612ada565b60405180910390f35b6101d860048036038101906101d3919061231c565b610557565b005b6101f460048036038101906101ef9190612269565b610641565b604051610201919061281d565b60405180910390f35b610212610670565b60405161021f9190612af5565b60405180910390f35b610242600480360381019061023d9190612451565b610675565b60405161024f919061281d565b60405180910390f35b610272600480360381019061026d919061236f565b61071f565b005b61028e60048036038101906102899190612451565b61091b565b005b6102aa60048036038101906102a591906122bc565b6109e8565b005b6102c660048036038101906102c191906122bc565b610ad7565b6040516102d39190612ada565b60405180910390f35b6102f660048036038101906102f191906121fc565b610bc2565b6040516103039190612ada565b60405180910390f35b610314610c0a565b005b61031e610c92565b60405161032b9190612802565b60405180910390f35b61033c610cbc565b6040516103499190612838565b60405180910390f35b61036c600480360381019061036791906121fc565b610d4e565b005b61038860048036038101906103839190612451565b610e0e565b604051610395919061281d565b60405180910390f35b6103b860048036038101906103b39190612451565b610ef8565b6040516103c5919061281d565b60405180910390f35b6103e860048036038101906103e39190612451565b610f1b565b6040516103f59190612ada565b60405180910390f35b61041860048036038101906104139190612451565b61100b565b6040516104259190612ada565b60405180910390f35b610436611087565b6040516104439190612802565b60405180910390f35b61046660048036038101906104619190612229565b6110b1565b6040516104739190612ada565b60405180910390f35b610496600480360381019061049191906121fc565b611138565b005b6060600380546104a790612cdd565b80601f01602080910402602001604051908101604052809291908181526020018280546104d390612cdd565b80156105205780601f106104f557610100808354040283529160200191610520565b820191906000526020600020905b81548152906001019060200180831161050357829003601f168201915b5050505050905090565b600080610535611230565b9050610542818585611238565b600191505092915050565b6000600254905090565b61055f611230565b73ffffffffffffffffffffffffffffffffffffffff1661057d610c92565b73ffffffffffffffffffffffffffffffffffffffff16146105d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105ca906129da565b60405180910390fd5b6000600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050828160000160006101000a81548160ff02191690831515021790555081816003018190555050505050565b60008061064c611230565b9050610659858285611403565b61066485858561148f565b60019150509392505050565b600090565b600080610680611230565b9050610714818585600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461070f9190612b2c565b611238565b600191505092915050565b610727611230565b73ffffffffffffffffffffffffffffffffffffffff16610745610c92565b73ffffffffffffffffffffffffffffffffffffffff161461079b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610792906129da565b60405180910390fd5b8181905084849050146107e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107da906129fa565b60405180910390fd5b603c851015610827576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161081e9061297a565b60405180910390fd5b6000600660008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050888160000160006101000a81548160ff02191690831515021790555086816001018190555085816002018190555087816003018190555060005b8585905081101561090e578383828181106108c2576108c1612de5565b5b905060200201358260040160008888858181106108e2576108e1612de5565b5b90506020020135815260200190815260200160002081905550808061090690612d0f565b9150506108a4565b5050505050505050505050565b610923611230565b73ffffffffffffffffffffffffffffffffffffffff16610941610c92565b73ffffffffffffffffffffffffffffffffffffffff1614610997576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161098e906129da565b60405180910390fd5b600081116109da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109d19061291a565b60405180910390fd5b6109e48282611710565b5050565b6000600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090508060000160009054906101000a900460ff16610a7c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a739061299a565b60405180910390fd5b610ad133610acc8387878780806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050611870565b611710565b50505050565b600080600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090508060000160009054906101000a900460ff16610b6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b639061299a565b60405180910390fd5b610bb88186868680806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050611bb0565b9150509392505050565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610c12611230565b73ffffffffffffffffffffffffffffffffffffffff16610c30610c92565b73ffffffffffffffffffffffffffffffffffffffff1614610c86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c7d906129da565b60405180910390fd5b610c906000611e96565b565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060048054610ccb90612cdd565b80601f0160208091040260200160405190810160405280929190818152602001828054610cf790612cdd565b8015610d445780601f10610d1957610100808354040283529160200191610d44565b820191906000526020600020905b815481529060010190602001808311610d2757829003601f168201915b5050505050905090565b610d56611230565b73ffffffffffffffffffffffffffffffffffffffff16610d74610c92565b73ffffffffffffffffffffffffffffffffffffffff1614610dca576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc1906129da565b60405180910390fd5b80600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600080610e19611230565b90506000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905083811015610edf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ed690612a9a565b60405180910390fd5b610eec8286868403611238565b60019250505092915050565b600080610f03611230565b9050610f1081858561148f565b600191505092915050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610fad576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fa490612a7a565b60405180910390fd5b81610fb784610bc2565b1015610ff8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fef9061289a565b60405180910390fd5b6110028383611f5c565b81905092915050565b600080600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050600081600401600085815260200190815260200160002054905060008114611077578061107d565b81600101545b9250505092915050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b611140611230565b73ffffffffffffffffffffffffffffffffffffffff1661115e610c92565b73ffffffffffffffffffffffffffffffffffffffff16146111b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111ab906129da565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611224576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161121b906128da565b60405180910390fd5b61122d81611e96565b50565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156112a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161129f90612a5a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611318576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161130f906128fa565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516113f69190612ada565b60405180910390a3505050565b600061140f84846110b1565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114611489578181101561147b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114729061293a565b60405180910390fd5b6114888484848403611238565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156114ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114f690612a3a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561156f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115669061287a565b60405180910390fd5b61157a838383612133565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611600576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115f79061295a565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546116939190612b2c565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516116f79190612ada565b60405180910390a361170a848484612138565b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611780576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161177790612aba565b60405180910390fd5b61178c60008383612133565b806002600082825461179e9190612b2c565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546117f39190612b2c565b925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516118589190612ada565b60405180910390a361186c60008383612138565b5050565b600080839050600080600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905060005b8551811015611ba2576000808573ffffffffffffffffffffffffffffffffffffffff16639231ab2a8985815181106118f8576118f7612de5565b5b60200260200101516040518263ffffffff1660e01b815260040161191c9190612ada565b604080518083038186803b15801561193357600080fd5b505afa158015611947573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061196b9190612491565b67ffffffffffffffff16915091503373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146119e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119de906129ba565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611a57576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a4e9061285a565b60405180910390fd5b60008460008a8681518110611a6f57611a6e612de5565b5b602002602001015181526020019081526020016000205490506000811480611a9657508181105b15611a9f578190505b8a60030154811015611ab3578a6003015490505b60008142611ac19190612c0d565b905060008c60040160008c8881518110611ade57611add612de5565b5b602002602001015181526020019081526020016000205490506000811415611b08578c6001015490505b808d6002015483611b199190612b82565b611b239190612bb3565b88611b2e9190612b2c565b97508c600201548d6002015483611b459190612b82565b611b4f9190612bb3565b83611b5a9190612b2c565b8760008d8981518110611b7057611b6f612de5565b5b602002602001015181526020019081526020016000208190555050505050508080611b9a90612d0f565b9150506118bd565b508193505050509392505050565b600080839050600080600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905060005b8551811015611e88576000808573ffffffffffffffffffffffffffffffffffffffff16639231ab2a898581518110611c3857611c37612de5565b5b60200260200101516040518263ffffffff1660e01b8152600401611c5c9190612ada565b604080518083038186803b158015611c7357600080fd5b505afa158015611c87573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cab9190612491565b67ffffffffffffffff16915091503373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614611d27576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d1e906129ba565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611d97576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d8e9061285a565b60405180910390fd5b60008460008a8681518110611daf57611dae612de5565b5b602002602001015181526020019081526020016000205490506000811480611dd657508181105b15611ddf578190505b8a60030154811015611df3578a6003015490505b60008142611e019190612c0d565b905060008c60040160008c8881518110611e1e57611e1d612de5565b5b602002602001015181526020019081526020016000205490506000811415611e48578c6001015490505b808d6002015483611e599190612b82565b611e639190612bb3565b88611e6e9190612b2c565b975050505050508080611e8090612d0f565b915050611bfd565b508193505050509392505050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611fcc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fc390612a1a565b60405180910390fd5b611fd882600083612133565b60008060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508181101561205e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612055906128ba565b60405180910390fd5b8181036000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600260008282546120b59190612c0d565b92505081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161211a9190612ada565b60405180910390a361212e83600084612138565b505050565b505050565b505050565b60008135905061214c8161333a565b92915050565b6000815190506121618161333a565b92915050565b60008083601f84011261217d5761217c612e19565b5b8235905067ffffffffffffffff81111561219a57612199612e14565b5b6020830191508360208202830111156121b6576121b5612e1e565b5b9250929050565b6000813590506121cc81613351565b92915050565b6000813590506121e181613368565b92915050565b6000815190506121f68161337f565b92915050565b60006020828403121561221257612211612e28565b5b60006122208482850161213d565b91505092915050565b600080604083850312156122405761223f612e28565b5b600061224e8582860161213d565b925050602061225f8582860161213d565b9150509250929050565b60008060006060848603121561228257612281612e28565b5b60006122908682870161213d565b93505060206122a18682870161213d565b92505060406122b2868287016121d2565b9150509250925092565b6000806000604084860312156122d5576122d4612e28565b5b60006122e38682870161213d565b935050602084013567ffffffffffffffff81111561230457612303612e23565b5b61231086828701612167565b92509250509250925092565b60008060006060848603121561233557612334612e28565b5b60006123438682870161213d565b9350506020612354868287016121bd565b9250506040612365868287016121d2565b9150509250925092565b600080600080600080600080600060e08a8c03121561239157612390612e28565b5b600061239f8c828d0161213d565b99505060206123b08c828d016121bd565b98505060406123c18c828d016121d2565b97505060606123d28c828d016121d2565b96505060806123e38c828d016121d2565b95505060a08a013567ffffffffffffffff81111561240457612403612e23565b5b6124108c828d01612167565b945094505060c08a013567ffffffffffffffff81111561243357612432612e23565b5b61243f8c828d01612167565b92509250509295985092959850929598565b6000806040838503121561246857612467612e28565b5b60006124768582860161213d565b9250506020612487858286016121d2565b9150509250929050565b600080604083850312156124a8576124a7612e28565b5b60006124b685828601612152565b92505060206124c7858286016121e7565b9150509250929050565b6124da81612c41565b82525050565b6124e981612c53565b82525050565b60006124fa82612b10565b6125048185612b1b565b9350612514818560208601612caa565b61251d81612e2d565b840191505092915050565b6000612535601783612b1b565b915061254082612e3e565b602082019050919050565b6000612558602383612b1b565b915061256382612e67565b604082019050919050565b600061257b600f83612b1b565b915061258682612eb6565b602082019050919050565b600061259e602283612b1b565b91506125a982612edf565b604082019050919050565b60006125c1602683612b1b565b91506125cc82612f2e565b604082019050919050565b60006125e4602283612b1b565b91506125ef82612f7d565b604082019050919050565b6000612607600e83612b1b565b915061261282612fcc565b602082019050919050565b600061262a601d83612b1b565b915061263582612ff5565b602082019050919050565b600061264d602683612b1b565b91506126588261301e565b604082019050919050565b6000612670600d83612b1b565b915061267b8261306d565b602082019050919050565b6000612693602783612b1b565b915061269e82613096565b604082019050919050565b60006126b6602683612b1b565b91506126c1826130e5565b604082019050919050565b60006126d9602083612b1b565b91506126e482613134565b602082019050919050565b60006126fc602a83612b1b565b91506127078261315d565b604082019050919050565b600061271f602183612b1b565b915061272a826131ac565b604082019050919050565b6000612742602583612b1b565b915061274d826131fb565b604082019050919050565b6000612765602483612b1b565b91506127708261324a565b604082019050919050565b6000612788600d83612b1b565b915061279382613299565b602082019050919050565b60006127ab602583612b1b565b91506127b6826132c2565b604082019050919050565b60006127ce601f83612b1b565b91506127d982613311565b602082019050919050565b6127ed81612c7f565b82525050565b6127fc81612c9d565b82525050565b600060208201905061281760008301846124d1565b92915050565b600060208201905061283260008301846124e0565b92915050565b6000602082019050818103600083015261285281846124ef565b905092915050565b6000602082019050818103600083015261287381612528565b9050919050565b600060208201905081810360008301526128938161254b565b9050919050565b600060208201905081810360008301526128b38161256e565b9050919050565b600060208201905081810360008301526128d381612591565b9050919050565b600060208201905081810360008301526128f3816125b4565b9050919050565b60006020820190508181036000830152612913816125d7565b9050919050565b60006020820190508181036000830152612933816125fa565b9050919050565b600060208201905081810360008301526129538161261d565b9050919050565b6000602082019050818103600083015261297381612640565b9050919050565b6000602082019050818103600083015261299381612663565b9050919050565b600060208201905081810360008301526129b381612686565b9050919050565b600060208201905081810360008301526129d3816126a9565b9050919050565b600060208201905081810360008301526129f3816126cc565b9050919050565b60006020820190508181036000830152612a13816126ef565b9050919050565b60006020820190508181036000830152612a3381612712565b9050919050565b60006020820190508181036000830152612a5381612735565b9050919050565b60006020820190508181036000830152612a7381612758565b9050919050565b60006020820190508181036000830152612a938161277b565b9050919050565b60006020820190508181036000830152612ab38161279e565b9050919050565b60006020820190508181036000830152612ad3816127c1565b9050919050565b6000602082019050612aef60008301846127e4565b92915050565b6000602082019050612b0a60008301846127f3565b92915050565b600081519050919050565b600082825260208201905092915050565b6000612b3782612c7f565b9150612b4283612c7f565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115612b7757612b76612d58565b5b828201905092915050565b6000612b8d82612c7f565b9150612b9883612c7f565b925082612ba857612ba7612d87565b5b828204905092915050565b6000612bbe82612c7f565b9150612bc983612c7f565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615612c0257612c01612d58565b5b828202905092915050565b6000612c1882612c7f565b9150612c2383612c7f565b925082821015612c3657612c35612d58565b5b828203905092915050565b6000612c4c82612c5f565b9050919050565b60008115159050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600067ffffffffffffffff82169050919050565b600060ff82169050919050565b60005b83811015612cc8578082015181840152602081019050612cad565b83811115612cd7576000848401525b50505050565b60006002820490506001821680612cf557607f821691505b60208210811415612d0957612d08612db6565b5b50919050565b6000612d1a82612c7f565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415612d4d57612d4c612d58565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f546f6b656e206973206e6f7420796574206d696e746564000000000000000000600082015250565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b7f42616c616e636520746f6f206c6f770000000000000000000000000000000000600082015250565b7f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60008201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b7f496e76616c696420616d6f756e74000000000000000000000000000000000000600082015250565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b7f4379636c6520746f6f206c6f7700000000000000000000000000000000000000600082015250565b7f546f6b656e206973206e6f742061637469766174656420666f722042425a207260008201527f6577617264732e00000000000000000000000000000000000000000000000000602082015250565b7f596f7520617265206e6f7420746865206f776e6572206f6620746865204e465460008201527f20546f6b656e0000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f546f6b656e732069647320617265206e6f7420636f6d70617469626c6520776960008201527f746820626f6e7573657300000000000000000000000000000000000000000000602082015250565b7f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4163636573732064656e69656400000000000000000000000000000000000000600082015250565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b61334381612c41565b811461334e57600080fd5b50565b61335a81612c53565b811461336557600080fd5b50565b61337181612c7f565b811461337c57600080fd5b50565b61338881612c89565b811461339357600080fd5b5056fea2646970667358221220c8068803ba398903886e1b3b548d6feda1d0e16665ab923b339b55cc2cea3cad64736f6c6343000807003300000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000942425a20546f6b656e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000342425a0000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061014d5760003560e01c806370a08231116100c3578063a9059cbb1161007c578063a9059cbb1461039e578063af7d6ca3146103ce578063b9f3cdd4146103fe578063cc9105881461042e578063dd62ed3e1461044c578063f2fde38b1461047c5761014d565b806370a08231146102dc578063715018a61461030c5780638da5cb5b1461031657806395d89b41146103345780639c4c132f14610352578063a457c2d71461036e5761014d565b8063313ce56711610115578063313ce5671461020a578063395093511461022857806340f3d7a514610258578063449a52f814610274578063457182781461029057806364b5ad2c146102ac5761014d565b806306fdde0314610152578063095ea7b31461017057806318160ddd146101a05780631f559806146101be57806323b872dd146101da575b600080fd5b61015a610498565b6040516101679190612838565b60405180910390f35b61018a60048036038101906101859190612451565b61052a565b604051610197919061281d565b60405180910390f35b6101a861054d565b6040516101b59190612ada565b60405180910390f35b6101d860048036038101906101d3919061231c565b610557565b005b6101f460048036038101906101ef9190612269565b610641565b604051610201919061281d565b60405180910390f35b610212610670565b60405161021f9190612af5565b60405180910390f35b610242600480360381019061023d9190612451565b610675565b60405161024f919061281d565b60405180910390f35b610272600480360381019061026d919061236f565b61071f565b005b61028e60048036038101906102899190612451565b61091b565b005b6102aa60048036038101906102a591906122bc565b6109e8565b005b6102c660048036038101906102c191906122bc565b610ad7565b6040516102d39190612ada565b60405180910390f35b6102f660048036038101906102f191906121fc565b610bc2565b6040516103039190612ada565b60405180910390f35b610314610c0a565b005b61031e610c92565b60405161032b9190612802565b60405180910390f35b61033c610cbc565b6040516103499190612838565b60405180910390f35b61036c600480360381019061036791906121fc565b610d4e565b005b61038860048036038101906103839190612451565b610e0e565b604051610395919061281d565b60405180910390f35b6103b860048036038101906103b39190612451565b610ef8565b6040516103c5919061281d565b60405180910390f35b6103e860048036038101906103e39190612451565b610f1b565b6040516103f59190612ada565b60405180910390f35b61041860048036038101906104139190612451565b61100b565b6040516104259190612ada565b60405180910390f35b610436611087565b6040516104439190612802565b60405180910390f35b61046660048036038101906104619190612229565b6110b1565b6040516104739190612ada565b60405180910390f35b610496600480360381019061049191906121fc565b611138565b005b6060600380546104a790612cdd565b80601f01602080910402602001604051908101604052809291908181526020018280546104d390612cdd565b80156105205780601f106104f557610100808354040283529160200191610520565b820191906000526020600020905b81548152906001019060200180831161050357829003601f168201915b5050505050905090565b600080610535611230565b9050610542818585611238565b600191505092915050565b6000600254905090565b61055f611230565b73ffffffffffffffffffffffffffffffffffffffff1661057d610c92565b73ffffffffffffffffffffffffffffffffffffffff16146105d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105ca906129da565b60405180910390fd5b6000600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050828160000160006101000a81548160ff02191690831515021790555081816003018190555050505050565b60008061064c611230565b9050610659858285611403565b61066485858561148f565b60019150509392505050565b600090565b600080610680611230565b9050610714818585600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461070f9190612b2c565b611238565b600191505092915050565b610727611230565b73ffffffffffffffffffffffffffffffffffffffff16610745610c92565b73ffffffffffffffffffffffffffffffffffffffff161461079b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610792906129da565b60405180910390fd5b8181905084849050146107e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107da906129fa565b60405180910390fd5b603c851015610827576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161081e9061297a565b60405180910390fd5b6000600660008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050888160000160006101000a81548160ff02191690831515021790555086816001018190555085816002018190555087816003018190555060005b8585905081101561090e578383828181106108c2576108c1612de5565b5b905060200201358260040160008888858181106108e2576108e1612de5565b5b90506020020135815260200190815260200160002081905550808061090690612d0f565b9150506108a4565b5050505050505050505050565b610923611230565b73ffffffffffffffffffffffffffffffffffffffff16610941610c92565b73ffffffffffffffffffffffffffffffffffffffff1614610997576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161098e906129da565b60405180910390fd5b600081116109da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109d19061291a565b60405180910390fd5b6109e48282611710565b5050565b6000600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090508060000160009054906101000a900460ff16610a7c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a739061299a565b60405180910390fd5b610ad133610acc8387878780806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050611870565b611710565b50505050565b600080600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090508060000160009054906101000a900460ff16610b6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b639061299a565b60405180910390fd5b610bb88186868680806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050611bb0565b9150509392505050565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610c12611230565b73ffffffffffffffffffffffffffffffffffffffff16610c30610c92565b73ffffffffffffffffffffffffffffffffffffffff1614610c86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c7d906129da565b60405180910390fd5b610c906000611e96565b565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060048054610ccb90612cdd565b80601f0160208091040260200160405190810160405280929190818152602001828054610cf790612cdd565b8015610d445780601f10610d1957610100808354040283529160200191610d44565b820191906000526020600020905b815481529060010190602001808311610d2757829003601f168201915b5050505050905090565b610d56611230565b73ffffffffffffffffffffffffffffffffffffffff16610d74610c92565b73ffffffffffffffffffffffffffffffffffffffff1614610dca576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc1906129da565b60405180910390fd5b80600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600080610e19611230565b90506000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905083811015610edf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ed690612a9a565b60405180910390fd5b610eec8286868403611238565b60019250505092915050565b600080610f03611230565b9050610f1081858561148f565b600191505092915050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610fad576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fa490612a7a565b60405180910390fd5b81610fb784610bc2565b1015610ff8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fef9061289a565b60405180910390fd5b6110028383611f5c565b81905092915050565b600080600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050600081600401600085815260200190815260200160002054905060008114611077578061107d565b81600101545b9250505092915050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b611140611230565b73ffffffffffffffffffffffffffffffffffffffff1661115e610c92565b73ffffffffffffffffffffffffffffffffffffffff16146111b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111ab906129da565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611224576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161121b906128da565b60405180910390fd5b61122d81611e96565b50565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156112a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161129f90612a5a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611318576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161130f906128fa565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516113f69190612ada565b60405180910390a3505050565b600061140f84846110b1565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114611489578181101561147b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114729061293a565b60405180910390fd5b6114888484848403611238565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156114ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114f690612a3a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561156f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115669061287a565b60405180910390fd5b61157a838383612133565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611600576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115f79061295a565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546116939190612b2c565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516116f79190612ada565b60405180910390a361170a848484612138565b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611780576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161177790612aba565b60405180910390fd5b61178c60008383612133565b806002600082825461179e9190612b2c565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546117f39190612b2c565b925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516118589190612ada565b60405180910390a361186c60008383612138565b5050565b600080839050600080600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905060005b8551811015611ba2576000808573ffffffffffffffffffffffffffffffffffffffff16639231ab2a8985815181106118f8576118f7612de5565b5b60200260200101516040518263ffffffff1660e01b815260040161191c9190612ada565b604080518083038186803b15801561193357600080fd5b505afa158015611947573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061196b9190612491565b67ffffffffffffffff16915091503373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146119e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119de906129ba565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611a57576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a4e9061285a565b60405180910390fd5b60008460008a8681518110611a6f57611a6e612de5565b5b602002602001015181526020019081526020016000205490506000811480611a9657508181105b15611a9f578190505b8a60030154811015611ab3578a6003015490505b60008142611ac19190612c0d565b905060008c60040160008c8881518110611ade57611add612de5565b5b602002602001015181526020019081526020016000205490506000811415611b08578c6001015490505b808d6002015483611b199190612b82565b611b239190612bb3565b88611b2e9190612b2c565b97508c600201548d6002015483611b459190612b82565b611b4f9190612bb3565b83611b5a9190612b2c565b8760008d8981518110611b7057611b6f612de5565b5b602002602001015181526020019081526020016000208190555050505050508080611b9a90612d0f565b9150506118bd565b508193505050509392505050565b600080839050600080600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905060005b8551811015611e88576000808573ffffffffffffffffffffffffffffffffffffffff16639231ab2a898581518110611c3857611c37612de5565b5b60200260200101516040518263ffffffff1660e01b8152600401611c5c9190612ada565b604080518083038186803b158015611c7357600080fd5b505afa158015611c87573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cab9190612491565b67ffffffffffffffff16915091503373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614611d27576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d1e906129ba565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611d97576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d8e9061285a565b60405180910390fd5b60008460008a8681518110611daf57611dae612de5565b5b602002602001015181526020019081526020016000205490506000811480611dd657508181105b15611ddf578190505b8a60030154811015611df3578a6003015490505b60008142611e019190612c0d565b905060008c60040160008c8881518110611e1e57611e1d612de5565b5b602002602001015181526020019081526020016000205490506000811415611e48578c6001015490505b808d6002015483611e599190612b82565b611e639190612bb3565b88611e6e9190612b2c565b975050505050508080611e8090612d0f565b915050611bfd565b508193505050509392505050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611fcc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fc390612a1a565b60405180910390fd5b611fd882600083612133565b60008060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508181101561205e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612055906128ba565b60405180910390fd5b8181036000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600260008282546120b59190612c0d565b92505081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161211a9190612ada565b60405180910390a361212e83600084612138565b505050565b505050565b505050565b60008135905061214c8161333a565b92915050565b6000815190506121618161333a565b92915050565b60008083601f84011261217d5761217c612e19565b5b8235905067ffffffffffffffff81111561219a57612199612e14565b5b6020830191508360208202830111156121b6576121b5612e1e565b5b9250929050565b6000813590506121cc81613351565b92915050565b6000813590506121e181613368565b92915050565b6000815190506121f68161337f565b92915050565b60006020828403121561221257612211612e28565b5b60006122208482850161213d565b91505092915050565b600080604083850312156122405761223f612e28565b5b600061224e8582860161213d565b925050602061225f8582860161213d565b9150509250929050565b60008060006060848603121561228257612281612e28565b5b60006122908682870161213d565b93505060206122a18682870161213d565b92505060406122b2868287016121d2565b9150509250925092565b6000806000604084860312156122d5576122d4612e28565b5b60006122e38682870161213d565b935050602084013567ffffffffffffffff81111561230457612303612e23565b5b61231086828701612167565b92509250509250925092565b60008060006060848603121561233557612334612e28565b5b60006123438682870161213d565b9350506020612354868287016121bd565b9250506040612365868287016121d2565b9150509250925092565b600080600080600080600080600060e08a8c03121561239157612390612e28565b5b600061239f8c828d0161213d565b99505060206123b08c828d016121bd565b98505060406123c18c828d016121d2565b97505060606123d28c828d016121d2565b96505060806123e38c828d016121d2565b95505060a08a013567ffffffffffffffff81111561240457612403612e23565b5b6124108c828d01612167565b945094505060c08a013567ffffffffffffffff81111561243357612432612e23565b5b61243f8c828d01612167565b92509250509295985092959850929598565b6000806040838503121561246857612467612e28565b5b60006124768582860161213d565b9250506020612487858286016121d2565b9150509250929050565b600080604083850312156124a8576124a7612e28565b5b60006124b685828601612152565b92505060206124c7858286016121e7565b9150509250929050565b6124da81612c41565b82525050565b6124e981612c53565b82525050565b60006124fa82612b10565b6125048185612b1b565b9350612514818560208601612caa565b61251d81612e2d565b840191505092915050565b6000612535601783612b1b565b915061254082612e3e565b602082019050919050565b6000612558602383612b1b565b915061256382612e67565b604082019050919050565b600061257b600f83612b1b565b915061258682612eb6565b602082019050919050565b600061259e602283612b1b565b91506125a982612edf565b604082019050919050565b60006125c1602683612b1b565b91506125cc82612f2e565b604082019050919050565b60006125e4602283612b1b565b91506125ef82612f7d565b604082019050919050565b6000612607600e83612b1b565b915061261282612fcc565b602082019050919050565b600061262a601d83612b1b565b915061263582612ff5565b602082019050919050565b600061264d602683612b1b565b91506126588261301e565b604082019050919050565b6000612670600d83612b1b565b915061267b8261306d565b602082019050919050565b6000612693602783612b1b565b915061269e82613096565b604082019050919050565b60006126b6602683612b1b565b91506126c1826130e5565b604082019050919050565b60006126d9602083612b1b565b91506126e482613134565b602082019050919050565b60006126fc602a83612b1b565b91506127078261315d565b604082019050919050565b600061271f602183612b1b565b915061272a826131ac565b604082019050919050565b6000612742602583612b1b565b915061274d826131fb565b604082019050919050565b6000612765602483612b1b565b91506127708261324a565b604082019050919050565b6000612788600d83612b1b565b915061279382613299565b602082019050919050565b60006127ab602583612b1b565b91506127b6826132c2565b604082019050919050565b60006127ce601f83612b1b565b91506127d982613311565b602082019050919050565b6127ed81612c7f565b82525050565b6127fc81612c9d565b82525050565b600060208201905061281760008301846124d1565b92915050565b600060208201905061283260008301846124e0565b92915050565b6000602082019050818103600083015261285281846124ef565b905092915050565b6000602082019050818103600083015261287381612528565b9050919050565b600060208201905081810360008301526128938161254b565b9050919050565b600060208201905081810360008301526128b38161256e565b9050919050565b600060208201905081810360008301526128d381612591565b9050919050565b600060208201905081810360008301526128f3816125b4565b9050919050565b60006020820190508181036000830152612913816125d7565b9050919050565b60006020820190508181036000830152612933816125fa565b9050919050565b600060208201905081810360008301526129538161261d565b9050919050565b6000602082019050818103600083015261297381612640565b9050919050565b6000602082019050818103600083015261299381612663565b9050919050565b600060208201905081810360008301526129b381612686565b9050919050565b600060208201905081810360008301526129d3816126a9565b9050919050565b600060208201905081810360008301526129f3816126cc565b9050919050565b60006020820190508181036000830152612a13816126ef565b9050919050565b60006020820190508181036000830152612a3381612712565b9050919050565b60006020820190508181036000830152612a5381612735565b9050919050565b60006020820190508181036000830152612a7381612758565b9050919050565b60006020820190508181036000830152612a938161277b565b9050919050565b60006020820190508181036000830152612ab38161279e565b9050919050565b60006020820190508181036000830152612ad3816127c1565b9050919050565b6000602082019050612aef60008301846127e4565b92915050565b6000602082019050612b0a60008301846127f3565b92915050565b600081519050919050565b600082825260208201905092915050565b6000612b3782612c7f565b9150612b4283612c7f565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115612b7757612b76612d58565b5b828201905092915050565b6000612b8d82612c7f565b9150612b9883612c7f565b925082612ba857612ba7612d87565b5b828204905092915050565b6000612bbe82612c7f565b9150612bc983612c7f565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615612c0257612c01612d58565b5b828202905092915050565b6000612c1882612c7f565b9150612c2383612c7f565b925082821015612c3657612c35612d58565b5b828203905092915050565b6000612c4c82612c5f565b9050919050565b60008115159050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600067ffffffffffffffff82169050919050565b600060ff82169050919050565b60005b83811015612cc8578082015181840152602081019050612cad565b83811115612cd7576000848401525b50505050565b60006002820490506001821680612cf557607f821691505b60208210811415612d0957612d08612db6565b5b50919050565b6000612d1a82612c7f565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415612d4d57612d4c612d58565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f546f6b656e206973206e6f7420796574206d696e746564000000000000000000600082015250565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b7f42616c616e636520746f6f206c6f770000000000000000000000000000000000600082015250565b7f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60008201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b7f496e76616c696420616d6f756e74000000000000000000000000000000000000600082015250565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b7f4379636c6520746f6f206c6f7700000000000000000000000000000000000000600082015250565b7f546f6b656e206973206e6f742061637469766174656420666f722042425a207260008201527f6577617264732e00000000000000000000000000000000000000000000000000602082015250565b7f596f7520617265206e6f7420746865206f776e6572206f6620746865204e465460008201527f20546f6b656e0000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f546f6b656e732069647320617265206e6f7420636f6d70617469626c6520776960008201527f746820626f6e7573657300000000000000000000000000000000000000000000602082015250565b7f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4163636573732064656e69656400000000000000000000000000000000000000600082015250565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b61334381612c41565b811461334e57600080fd5b50565b61335a81612c53565b811461336557600080fd5b50565b61337181612c7f565b811461337c57600080fd5b50565b61338881612c89565b811461339357600080fd5b5056fea2646970667358221220c8068803ba398903886e1b3b548d6feda1d0e16665ab923b339b55cc2cea3cad64736f6c63430008070033

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

00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000942425a20546f6b656e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000342425a0000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name (string): BBZ Token
Arg [1] : symbol (string): BBZ

-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000009
Arg [3] : 42425a20546f6b656e0000000000000000000000000000000000000000000000
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [5] : 42425a0000000000000000000000000000000000000000000000000000000000


Deployed Bytecode Sourcemap

65547:6089:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54570:100;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;56921:201;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;55690:108;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;67137:281;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;57702:295;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;66081:92;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;58406:240;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;66406:723;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;71484:149;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;67736:343;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;68087:345;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;55861:127;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;41959:103;;;:::i;:::-;;41308:87;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;54789:104;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;66285:113;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;59149:438;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;56194:193;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;71146:272;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;67426:302;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;66181:96;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;56450:151;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;42217:201;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;54570:100;54624:13;54657:5;54650:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54570:100;:::o;56921:201::-;57004:4;57021:13;57037:12;:10;:12::i;:::-;57021:28;;57060:32;57069:5;57076:7;57085:6;57060:8;:32::i;:::-;57110:4;57103:11;;;56921:201;;;;:::o;55690:108::-;55751:7;55778:12;;55771:19;;55690:108;:::o;67137:281::-;41539:12;:10;:12::i;:::-;41528:23;;:7;:5;:7::i;:::-;:23;;;41520:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;67254:36:::1;67293:15;:34;67309:17;67293:34;;;;;;;;;;;;;;;67254:73;;67357:6;67338:9;:16;;;:25;;;;;;;;;;;;;;;;;;67401:9;67374;:24;;:36;;;;67243:175;67137:281:::0;;;:::o;57702:295::-;57833:4;57850:15;57868:12;:10;:12::i;:::-;57850:30;;57891:38;57907:4;57913:7;57922:6;57891:15;:38::i;:::-;57940:27;57950:4;57956:2;57960:6;57940:9;:27::i;:::-;57985:4;57978:11;;;57702:295;;;;;:::o;66081:92::-;66139:5;66081:92;:::o;58406:240::-;58494:4;58511:13;58527:12;:10;:12::i;:::-;58511:28;;58550:66;58559:5;58566:7;58605:10;58575:11;:18;58587:5;58575:18;;;;;;;;;;;;;;;:27;58594:7;58575:27;;;;;;;;;;;;;;;;:40;;;;:::i;:::-;58550:8;:66::i;:::-;58634:4;58627:11;;;58406:240;;;;:::o;66406:723::-;41539:12;:10;:12::i;:::-;41528:23;;:7;:5;:7::i;:::-;:23;;;41520:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;66641:5:::1;;:12;;66622:8;;:15;;:31;66614:86;;;;;;;;;;;;:::i;:::-;;;;;;;;;66728:2;66719:5;:11;;66711:37;;;;;;;;;;;;:::i;:::-;;;;;;;;;66761:36;66800:15;:34;66816:17;66800:34;;;;;;;;;;;;;;;66761:73;;66864:6;66845:9;:16;;;:25;;;;;;;;;;;;;;;;;;66906:12;66881:9;:22;;:37;;;;66947:5;66929:9;:15;;:23;;;;66990:9;66963;:24;;:36;;;;67015:9;67010:112;67034:8;;:15;;67030:1;:19;67010:112;;;67102:5;;67108:1;67102:8;;;;;;;:::i;:::-;;;;;;;;67071:9;:15;;:28;67087:8;;67096:1;67087:11;;;;;;;:::i;:::-;;;;;;;;67071:28;;;;;;;;;;;:39;;;;67051:3;;;;;:::i;:::-;;;;67010:112;;;;66603:526;66406:723:::0;;;;;;;;;:::o;71484:149::-;41539:12;:10;:12::i;:::-;41528:23;;:7;:5;:7::i;:::-;:23;;;41520:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;71575:1:::1;71566:6;:10;71558:37;;;;;;;;;;;;:::i;:::-;;;;;;;;;71608:17;71614:2;71618:6;71608:5;:17::i;:::-;71484:149:::0;;:::o;67736:343::-;67822:36;67861:15;:29;67877:12;67861:29;;;;;;;;;;;;;;;67822:68;;67909:9;:16;;;;;;;;;;;;67901:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;67990:81;67996:10;68008:62;68036:9;68047:12;68061:8;;68008:62;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:27;:62::i;:::-;67990:5;:81::i;:::-;67811:268;67736:343;;;:::o;68087:345::-;68186:7;68206:36;68245:15;:29;68261:12;68245:29;;;;;;;;;;;;;;;68206:68;;68293:9;:16;;;;;;;;;;;;68285:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;68373:51;68390:9;68401:12;68415:8;;68373:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:16;:51::i;:::-;68366:58;;;68087:345;;;;;:::o;55861:127::-;55935:7;55962:9;:18;55972:7;55962:18;;;;;;;;;;;;;;;;55955:25;;55861:127;;;:::o;41959:103::-;41539:12;:10;:12::i;:::-;41528:23;;:7;:5;:7::i;:::-;:23;;;41520:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;42024:30:::1;42051:1;42024:18;:30::i;:::-;41959:103::o:0;41308:87::-;41354:7;41381:6;;;;;;;;;;;41374:13;;41308:87;:::o;54789:104::-;54845:13;54878:7;54871:14;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54789:104;:::o;66285:113::-;41539:12;:10;:12::i;:::-;41528:23;;:7;:5;:7::i;:::-;:23;;;41520:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;66380:10:::1;66366:11;;:24;;;;;;;;;;;;;;;;;;66285:113:::0;:::o;59149:438::-;59242:4;59259:13;59275:12;:10;:12::i;:::-;59259:28;;59298:24;59325:11;:18;59337:5;59325:18;;;;;;;;;;;;;;;:27;59344:7;59325:27;;;;;;;;;;;;;;;;59298:54;;59391:15;59371:16;:35;;59363:85;;;;;;;;;;;;:::i;:::-;;;;;;;;;59484:60;59493:5;59500:7;59528:15;59509:16;:34;59484:8;:60::i;:::-;59575:4;59568:11;;;;59149:438;;;;:::o;56194:193::-;56273:4;56290:13;56306:12;:10;:12::i;:::-;56290:28;;56329;56339:5;56346:2;56350:6;56329:9;:28::i;:::-;56375:4;56368:11;;;56194:193;;;;:::o;71146:272::-;71218:7;71259:11;;;;;;;;;;;71245:25;;:10;:25;;;71237:51;;;;;;;;;;;;:::i;:::-;;;;;;;;;71326:6;71307:15;71317:4;71307:9;:15::i;:::-;:25;;71299:53;;;;;;;;;;;;:::i;:::-;;;;;;;;;71365:19;71371:4;71377:6;71365:5;:19::i;:::-;71404:6;71397:13;;71146:272;;;;:::o;67426:302::-;67516:7;67535:36;67574:15;:34;67590:17;67574:34;;;;;;;;;;;;;;;67535:73;;67619:13;67635:9;:15;;:24;67651:7;67635:24;;;;;;;;;;;;67619:40;;67686:1;67677:5;:10;:43;;67715:5;67677:43;;;67690:9;:22;;;67677:43;67670:50;;;;67426:302;;;;:::o;66181:96::-;66232:7;66258:11;;;;;;;;;;;66251:18;;66181:96;:::o;56450:151::-;56539:7;56566:11;:18;56578:5;56566:18;;;;;;;;;;;;;;;:27;56585:7;56566:27;;;;;;;;;;;;;;;;56559:34;;56450:151;;;;:::o;42217:201::-;41539:12;:10;:12::i;:::-;41528:23;;:7;:5;:7::i;:::-;:23;;;41520:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;42326:1:::1;42306:22;;:8;:22;;;;42298:73;;;;;;;;;;;;:::i;:::-;;;;;;;;;42382:28;42401:8;42382:18;:28::i;:::-;42217:201:::0;:::o;23797:98::-;23850:7;23877:10;23870:17;;23797:98;:::o;62785:380::-;62938:1;62921:19;;:5;:19;;;;62913:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;63019:1;63000:21;;:7;:21;;;;62992:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;63103:6;63073:11;:18;63085:5;63073:18;;;;;;;;;;;;;;;:27;63092:7;63073:27;;;;;;;;;;;;;;;:36;;;;63141:7;63125:32;;63134:5;63125:32;;;63150:6;63125:32;;;;;;:::i;:::-;;;;;;;;62785:380;;;:::o;63452:453::-;63587:24;63614:25;63624:5;63631:7;63614:9;:25::i;:::-;63587:52;;63674:17;63654:16;:37;63650:248;;63736:6;63716:16;:26;;63708:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;63820:51;63829:5;63836:7;63864:6;63845:16;:25;63820:8;:51::i;:::-;63650:248;63576:329;63452:453;;;:::o;60066:671::-;60213:1;60197:18;;:4;:18;;;;60189:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;60290:1;60276:16;;:2;:16;;;;60268:64;;;;;;;;;;;;:::i;:::-;;;;;;;;;60345:38;60366:4;60372:2;60376:6;60345:20;:38::i;:::-;60396:19;60418:9;:15;60428:4;60418:15;;;;;;;;;;;;;;;;60396:37;;60467:6;60452:11;:21;;60444:72;;;;;;;;;;;;:::i;:::-;;;;;;;;;60584:6;60570:11;:20;60552:9;:15;60562:4;60552:15;;;;;;;;;;;;;;;:38;;;;60629:6;60612:9;:13;60622:2;60612:13;;;;;;;;;;;;;;;;:23;;;;;;;:::i;:::-;;;;;;;;60668:2;60653:26;;60662:4;60653:26;;;60672:6;60653:26;;;;;;:::i;:::-;;;;;;;;60692:37;60712:4;60718:2;60722:6;60692:19;:37::i;:::-;60178:559;60066:671;;;:::o;61024:399::-;61127:1;61108:21;;:7;:21;;;;61100:65;;;;;;;;;;;;:::i;:::-;;;;;;;;;61178:49;61207:1;61211:7;61220:6;61178:20;:49::i;:::-;61256:6;61240:12;;:22;;;;;;;:::i;:::-;;;;;;;;61295:6;61273:9;:18;61283:7;61273:18;;;;;;;;;;;;;;;;:28;;;;;;;:::i;:::-;;;;;;;;61338:7;61317:37;;61334:1;61317:37;;;61347:6;61317:37;;;;;;:::i;:::-;;;;;;;;61367:48;61395:1;61399:7;61408:6;61367:19;:48::i;:::-;61024:399;;:::o;69711:1361::-;69852:7;69871:20;69909:12;69871:51;;69933:14;69962:47;70012:6;:20;70019:12;70012:20;;;;;;;;;;;;;;;69962:70;;70048:9;70043:996;70067:8;:15;70063:1;:19;70043:996;;;70105:18;70125:17;70146:5;:22;;;70169:8;70178:1;70169:11;;;;;;;;:::i;:::-;;;;;;;;70146:35;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;70104:77;;;;;;70218:10;70204:24;;:10;:24;;;70196:75;;;;;;;;;;;;:::i;:::-;;;;;;;;;70316:1;70294:24;;:10;:24;;;;70286:60;;;;;;;;;;;;:::i;:::-;;;;;;;;;70363:17;70383:11;:24;70395:8;70404:1;70395:11;;;;;;;;:::i;:::-;;;;;;;;70383:24;;;;;;;;;;;;70363:44;;70439:1;70426:9;:14;:39;;;;70456:9;70444;:21;70426:39;70422:100;;;70497:9;70485:21;;70422:100;70554:9;:24;;;70542:9;:36;70538:112;;;70610:9;:24;;;70598:36;;70538:112;70666:12;70699:9;70681:15;:27;;;;:::i;:::-;70666:42;;70723:13;70739:9;:15;;:28;70755:8;70764:1;70755:11;;;;;;;;:::i;:::-;;;;;;;;70739:28;;;;;;;;;;;;70723:44;;70795:1;70786:5;:10;70782:81;;;70825:9;:22;;;70817:30;;70782:81;70925:5;70906:9;:15;;;70899:4;:22;;;;:::i;:::-;70898:32;;;;:::i;:::-;70888:6;:43;;;;:::i;:::-;70879:52;;71012:9;:15;;;70993:9;:15;;;70986:4;:22;;;;:::i;:::-;70985:42;;;;:::i;:::-;70973:9;:54;;;;:::i;:::-;70946:11;:24;70958:8;70967:1;70958:11;;;;;;;;:::i;:::-;;;;;;;;70946:24;;;;;;;;;;;:81;;;;70089:950;;;;;70084:3;;;;;:::i;:::-;;;;70043:996;;;;71058:6;71051:13;;;;;69711:1361;;;;;:::o;68444:1259::-;68579:7;68598:20;68636:12;68598:51;;68660:14;68689:47;68739:6;:20;68746:12;68739:20;;;;;;;;;;;;;;;68689:70;;68775:9;68770:900;68794:8;:15;68790:1;:19;68770:900;;;68832:18;68852:17;68873:5;:22;;;68896:8;68905:1;68896:11;;;;;;;;:::i;:::-;;;;;;;;68873:35;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;68831:77;;;;;;68945:10;68931:24;;:10;:24;;;68923:75;;;;;;;;;;;;:::i;:::-;;;;;;;;;69043:1;69021:24;;:10;:24;;;;69013:60;;;;;;;;;;;;:::i;:::-;;;;;;;;;69090:17;69110:11;:24;69122:8;69131:1;69122:11;;;;;;;;:::i;:::-;;;;;;;;69110:24;;;;;;;;;;;;69090:44;;69166:1;69153:9;:14;:39;;;;69183:9;69171;:21;69153:39;69149:100;;;69224:9;69212:21;;69149:100;69281:9;:24;;;69269:9;:36;69265:112;;;69337:9;:24;;;69325:36;;69265:112;69393:12;69426:9;69408:15;:27;;;;:::i;:::-;69393:42;;69450:13;69466:9;:15;;:28;69482:8;69491:1;69482:11;;;;;;;;:::i;:::-;;;;;;;;69466:28;;;;;;;;;;;;69450:44;;69522:1;69513:5;:10;69509:81;;;69552:9;:22;;;69544:30;;69509:81;69652:5;69633:9;:15;;;69626:4;:22;;;;:::i;:::-;69625:32;;;;:::i;:::-;69615:6;:43;;;;:::i;:::-;69606:52;;68816:854;;;;;68811:3;;;;;:::i;:::-;;;;68770:900;;;;69689:6;69682:13;;;;;68444:1259;;;;;:::o;42578:191::-;42652:16;42671:6;;;;;;;;;;;42652:25;;42697:8;42688:6;;:17;;;;;;;;;;;;;;;;;;42752:8;42721:40;;42742:8;42721:40;;;;;;;;;;;;42641:128;42578:191;:::o;61756:591::-;61859:1;61840:21;;:7;:21;;;;61832:67;;;;;;;;;;;;:::i;:::-;;;;;;;;;61912:49;61933:7;61950:1;61954:6;61912:20;:49::i;:::-;61974:22;61999:9;:18;62009:7;61999:18;;;;;;;;;;;;;;;;61974:43;;62054:6;62036:14;:24;;62028:71;;;;;;;;;;;;:::i;:::-;;;;;;;;;62173:6;62156:14;:23;62135:9;:18;62145:7;62135:18;;;;;;;;;;;;;;;:44;;;;62217:6;62201:12;;:22;;;;;;;:::i;:::-;;;;;;;;62267:1;62241:37;;62250:7;62241:37;;;62271:6;62241:37;;;;;;:::i;:::-;;;;;;;;62291:48;62311:7;62328:1;62332:6;62291:19;:48::i;:::-;61821:526;61756:591;;:::o;64505:125::-;;;;:::o;65234:124::-;;;;:::o;7:139:1:-;53:5;91:6;78:20;69:29;;107:33;134:5;107:33;:::i;:::-;7:139;;;;:::o;152:143::-;209:5;240:6;234:13;225:22;;256:33;283:5;256:33;:::i;:::-;152:143;;;;:::o;318:568::-;391:8;401:6;451:3;444:4;436:6;432:17;428:27;418:122;;459:79;;:::i;:::-;418:122;572:6;559:20;549:30;;602:18;594:6;591:30;588:117;;;624:79;;:::i;:::-;588:117;738:4;730:6;726:17;714:29;;792:3;784:4;776:6;772:17;762:8;758:32;755:41;752:128;;;799:79;;:::i;:::-;752:128;318:568;;;;;:::o;892:133::-;935:5;973:6;960:20;951:29;;989:30;1013:5;989:30;:::i;:::-;892:133;;;;:::o;1031:139::-;1077:5;1115:6;1102:20;1093:29;;1131:33;1158:5;1131:33;:::i;:::-;1031:139;;;;:::o;1176:141::-;1232:5;1263:6;1257:13;1248:22;;1279:32;1305:5;1279:32;:::i;:::-;1176:141;;;;:::o;1323:329::-;1382:6;1431:2;1419:9;1410:7;1406:23;1402:32;1399:119;;;1437:79;;:::i;:::-;1399:119;1557:1;1582:53;1627:7;1618:6;1607:9;1603:22;1582:53;:::i;:::-;1572:63;;1528:117;1323:329;;;;:::o;1658:474::-;1726:6;1734;1783:2;1771:9;1762:7;1758:23;1754:32;1751:119;;;1789:79;;:::i;:::-;1751:119;1909:1;1934:53;1979:7;1970:6;1959:9;1955:22;1934:53;:::i;:::-;1924:63;;1880:117;2036:2;2062:53;2107:7;2098:6;2087:9;2083:22;2062:53;:::i;:::-;2052:63;;2007:118;1658:474;;;;;:::o;2138:619::-;2215:6;2223;2231;2280:2;2268:9;2259:7;2255:23;2251:32;2248:119;;;2286:79;;:::i;:::-;2248:119;2406:1;2431:53;2476:7;2467:6;2456:9;2452:22;2431:53;:::i;:::-;2421:63;;2377:117;2533:2;2559:53;2604:7;2595:6;2584:9;2580:22;2559:53;:::i;:::-;2549:63;;2504:118;2661:2;2687:53;2732:7;2723:6;2712:9;2708:22;2687:53;:::i;:::-;2677:63;;2632:118;2138:619;;;;;:::o;2763:704::-;2858:6;2866;2874;2923:2;2911:9;2902:7;2898:23;2894:32;2891:119;;;2929:79;;:::i;:::-;2891:119;3049:1;3074:53;3119:7;3110:6;3099:9;3095:22;3074:53;:::i;:::-;3064:63;;3020:117;3204:2;3193:9;3189:18;3176:32;3235:18;3227:6;3224:30;3221:117;;;3257:79;;:::i;:::-;3221:117;3370:80;3442:7;3433:6;3422:9;3418:22;3370:80;:::i;:::-;3352:98;;;;3147:313;2763:704;;;;;:::o;3473:613::-;3547:6;3555;3563;3612:2;3600:9;3591:7;3587:23;3583:32;3580:119;;;3618:79;;:::i;:::-;3580:119;3738:1;3763:53;3808:7;3799:6;3788:9;3784:22;3763:53;:::i;:::-;3753:63;;3709:117;3865:2;3891:50;3933:7;3924:6;3913:9;3909:22;3891:50;:::i;:::-;3881:60;;3836:115;3990:2;4016:53;4061:7;4052:6;4041:9;4037:22;4016:53;:::i;:::-;4006:63;;3961:118;3473:613;;;;;:::o;4092:1657::-;4256:6;4264;4272;4280;4288;4296;4304;4312;4320;4369:3;4357:9;4348:7;4344:23;4340:33;4337:120;;;4376:79;;:::i;:::-;4337:120;4496:1;4521:53;4566:7;4557:6;4546:9;4542:22;4521:53;:::i;:::-;4511:63;;4467:117;4623:2;4649:50;4691:7;4682:6;4671:9;4667:22;4649:50;:::i;:::-;4639:60;;4594:115;4748:2;4774:53;4819:7;4810:6;4799:9;4795:22;4774:53;:::i;:::-;4764:63;;4719:118;4876:2;4902:53;4947:7;4938:6;4927:9;4923:22;4902:53;:::i;:::-;4892:63;;4847:118;5004:3;5031:53;5076:7;5067:6;5056:9;5052:22;5031:53;:::i;:::-;5021:63;;4975:119;5161:3;5150:9;5146:19;5133:33;5193:18;5185:6;5182:30;5179:117;;;5215:79;;:::i;:::-;5179:117;5328:80;5400:7;5391:6;5380:9;5376:22;5328:80;:::i;:::-;5310:98;;;;5104:314;5485:3;5474:9;5470:19;5457:33;5517:18;5509:6;5506:30;5503:117;;;5539:79;;:::i;:::-;5503:117;5652:80;5724:7;5715:6;5704:9;5700:22;5652:80;:::i;:::-;5634:98;;;;5428:314;4092:1657;;;;;;;;;;;:::o;5755:474::-;5823:6;5831;5880:2;5868:9;5859:7;5855:23;5851:32;5848:119;;;5886:79;;:::i;:::-;5848:119;6006:1;6031:53;6076:7;6067:6;6056:9;6052:22;6031:53;:::i;:::-;6021:63;;5977:117;6133:2;6159:53;6204:7;6195:6;6184:9;6180:22;6159:53;:::i;:::-;6149:63;;6104:118;5755:474;;;;;:::o;6235:505::-;6313:6;6321;6370:2;6358:9;6349:7;6345:23;6341:32;6338:119;;;6376:79;;:::i;:::-;6338:119;6496:1;6521:64;6577:7;6568:6;6557:9;6553:22;6521:64;:::i;:::-;6511:74;;6467:128;6634:2;6660:63;6715:7;6706:6;6695:9;6691:22;6660:63;:::i;:::-;6650:73;;6605:128;6235:505;;;;;:::o;6746:118::-;6833:24;6851:5;6833:24;:::i;:::-;6828:3;6821:37;6746:118;;:::o;6870:109::-;6951:21;6966:5;6951:21;:::i;:::-;6946:3;6939:34;6870:109;;:::o;6985:364::-;7073:3;7101:39;7134:5;7101:39;:::i;:::-;7156:71;7220:6;7215:3;7156:71;:::i;:::-;7149:78;;7236:52;7281:6;7276:3;7269:4;7262:5;7258:16;7236:52;:::i;:::-;7313:29;7335:6;7313:29;:::i;:::-;7308:3;7304:39;7297:46;;7077:272;6985:364;;;;:::o;7355:366::-;7497:3;7518:67;7582:2;7577:3;7518:67;:::i;:::-;7511:74;;7594:93;7683:3;7594:93;:::i;:::-;7712:2;7707:3;7703:12;7696:19;;7355:366;;;:::o;7727:::-;7869:3;7890:67;7954:2;7949:3;7890:67;:::i;:::-;7883:74;;7966:93;8055:3;7966:93;:::i;:::-;8084:2;8079:3;8075:12;8068:19;;7727:366;;;:::o;8099:::-;8241:3;8262:67;8326:2;8321:3;8262:67;:::i;:::-;8255:74;;8338:93;8427:3;8338:93;:::i;:::-;8456:2;8451:3;8447:12;8440:19;;8099:366;;;:::o;8471:::-;8613:3;8634:67;8698:2;8693:3;8634:67;:::i;:::-;8627:74;;8710:93;8799:3;8710:93;:::i;:::-;8828:2;8823:3;8819:12;8812:19;;8471:366;;;:::o;8843:::-;8985:3;9006:67;9070:2;9065:3;9006:67;:::i;:::-;8999:74;;9082:93;9171:3;9082:93;:::i;:::-;9200:2;9195:3;9191:12;9184:19;;8843:366;;;:::o;9215:::-;9357:3;9378:67;9442:2;9437:3;9378:67;:::i;:::-;9371:74;;9454:93;9543:3;9454:93;:::i;:::-;9572:2;9567:3;9563:12;9556:19;;9215:366;;;:::o;9587:::-;9729:3;9750:67;9814:2;9809:3;9750:67;:::i;:::-;9743:74;;9826:93;9915:3;9826:93;:::i;:::-;9944:2;9939:3;9935:12;9928:19;;9587:366;;;:::o;9959:::-;10101:3;10122:67;10186:2;10181:3;10122:67;:::i;:::-;10115:74;;10198:93;10287:3;10198:93;:::i;:::-;10316:2;10311:3;10307:12;10300:19;;9959:366;;;:::o;10331:::-;10473:3;10494:67;10558:2;10553:3;10494:67;:::i;:::-;10487:74;;10570:93;10659:3;10570:93;:::i;:::-;10688:2;10683:3;10679:12;10672:19;;10331:366;;;:::o;10703:::-;10845:3;10866:67;10930:2;10925:3;10866:67;:::i;:::-;10859:74;;10942:93;11031:3;10942:93;:::i;:::-;11060:2;11055:3;11051:12;11044:19;;10703:366;;;:::o;11075:::-;11217:3;11238:67;11302:2;11297:3;11238:67;:::i;:::-;11231:74;;11314:93;11403:3;11314:93;:::i;:::-;11432:2;11427:3;11423:12;11416:19;;11075:366;;;:::o;11447:::-;11589:3;11610:67;11674:2;11669:3;11610:67;:::i;:::-;11603:74;;11686:93;11775:3;11686:93;:::i;:::-;11804:2;11799:3;11795:12;11788:19;;11447:366;;;:::o;11819:::-;11961:3;11982:67;12046:2;12041:3;11982:67;:::i;:::-;11975:74;;12058:93;12147:3;12058:93;:::i;:::-;12176:2;12171:3;12167:12;12160:19;;11819:366;;;:::o;12191:::-;12333:3;12354:67;12418:2;12413:3;12354:67;:::i;:::-;12347:74;;12430:93;12519:3;12430:93;:::i;:::-;12548:2;12543:3;12539:12;12532:19;;12191:366;;;:::o;12563:::-;12705:3;12726:67;12790:2;12785:3;12726:67;:::i;:::-;12719:74;;12802:93;12891:3;12802:93;:::i;:::-;12920:2;12915:3;12911:12;12904:19;;12563:366;;;:::o;12935:::-;13077:3;13098:67;13162:2;13157:3;13098:67;:::i;:::-;13091:74;;13174:93;13263:3;13174:93;:::i;:::-;13292:2;13287:3;13283:12;13276:19;;12935:366;;;:::o;13307:::-;13449:3;13470:67;13534:2;13529:3;13470:67;:::i;:::-;13463:74;;13546:93;13635:3;13546:93;:::i;:::-;13664:2;13659:3;13655:12;13648:19;;13307:366;;;:::o;13679:::-;13821:3;13842:67;13906:2;13901:3;13842:67;:::i;:::-;13835:74;;13918:93;14007:3;13918:93;:::i;:::-;14036:2;14031:3;14027:12;14020:19;;13679:366;;;:::o;14051:::-;14193:3;14214:67;14278:2;14273:3;14214:67;:::i;:::-;14207:74;;14290:93;14379:3;14290:93;:::i;:::-;14408:2;14403:3;14399:12;14392:19;;14051:366;;;:::o;14423:::-;14565:3;14586:67;14650:2;14645:3;14586:67;:::i;:::-;14579:74;;14662:93;14751:3;14662:93;:::i;:::-;14780:2;14775:3;14771:12;14764:19;;14423:366;;;:::o;14795:118::-;14882:24;14900:5;14882:24;:::i;:::-;14877:3;14870:37;14795:118;;:::o;14919:112::-;15002:22;15018:5;15002:22;:::i;:::-;14997:3;14990:35;14919:112;;:::o;15037:222::-;15130:4;15168:2;15157:9;15153:18;15145:26;;15181:71;15249:1;15238:9;15234:17;15225:6;15181:71;:::i;:::-;15037:222;;;;:::o;15265:210::-;15352:4;15390:2;15379:9;15375:18;15367:26;;15403:65;15465:1;15454:9;15450:17;15441:6;15403:65;:::i;:::-;15265:210;;;;:::o;15481:313::-;15594:4;15632:2;15621:9;15617:18;15609:26;;15681:9;15675:4;15671:20;15667:1;15656:9;15652:17;15645:47;15709:78;15782:4;15773:6;15709:78;:::i;:::-;15701:86;;15481:313;;;;:::o;15800:419::-;15966:4;16004:2;15993:9;15989:18;15981:26;;16053:9;16047:4;16043:20;16039:1;16028:9;16024:17;16017:47;16081:131;16207:4;16081:131;:::i;:::-;16073:139;;15800:419;;;:::o;16225:::-;16391:4;16429:2;16418:9;16414:18;16406:26;;16478:9;16472:4;16468:20;16464:1;16453:9;16449:17;16442:47;16506:131;16632:4;16506:131;:::i;:::-;16498:139;;16225:419;;;:::o;16650:::-;16816:4;16854:2;16843:9;16839:18;16831:26;;16903:9;16897:4;16893:20;16889:1;16878:9;16874:17;16867:47;16931:131;17057:4;16931:131;:::i;:::-;16923:139;;16650:419;;;:::o;17075:::-;17241:4;17279:2;17268:9;17264:18;17256:26;;17328:9;17322:4;17318:20;17314:1;17303:9;17299:17;17292:47;17356:131;17482:4;17356:131;:::i;:::-;17348:139;;17075:419;;;:::o;17500:::-;17666:4;17704:2;17693:9;17689:18;17681:26;;17753:9;17747:4;17743:20;17739:1;17728:9;17724:17;17717:47;17781:131;17907:4;17781:131;:::i;:::-;17773:139;;17500:419;;;:::o;17925:::-;18091:4;18129:2;18118:9;18114:18;18106:26;;18178:9;18172:4;18168:20;18164:1;18153:9;18149:17;18142:47;18206:131;18332:4;18206:131;:::i;:::-;18198:139;;17925:419;;;:::o;18350:::-;18516:4;18554:2;18543:9;18539:18;18531:26;;18603:9;18597:4;18593:20;18589:1;18578:9;18574:17;18567:47;18631:131;18757:4;18631:131;:::i;:::-;18623:139;;18350:419;;;:::o;18775:::-;18941:4;18979:2;18968:9;18964:18;18956:26;;19028:9;19022:4;19018:20;19014:1;19003:9;18999:17;18992:47;19056:131;19182:4;19056:131;:::i;:::-;19048:139;;18775:419;;;:::o;19200:::-;19366:4;19404:2;19393:9;19389:18;19381:26;;19453:9;19447:4;19443:20;19439:1;19428:9;19424:17;19417:47;19481:131;19607:4;19481:131;:::i;:::-;19473:139;;19200:419;;;:::o;19625:::-;19791:4;19829:2;19818:9;19814:18;19806:26;;19878:9;19872:4;19868:20;19864:1;19853:9;19849:17;19842:47;19906:131;20032:4;19906:131;:::i;:::-;19898:139;;19625:419;;;:::o;20050:::-;20216:4;20254:2;20243:9;20239:18;20231:26;;20303:9;20297:4;20293:20;20289:1;20278:9;20274:17;20267:47;20331:131;20457:4;20331:131;:::i;:::-;20323:139;;20050:419;;;:::o;20475:::-;20641:4;20679:2;20668:9;20664:18;20656:26;;20728:9;20722:4;20718:20;20714:1;20703:9;20699:17;20692:47;20756:131;20882:4;20756:131;:::i;:::-;20748:139;;20475:419;;;:::o;20900:::-;21066:4;21104:2;21093:9;21089:18;21081:26;;21153:9;21147:4;21143:20;21139:1;21128:9;21124:17;21117:47;21181:131;21307:4;21181:131;:::i;:::-;21173:139;;20900:419;;;:::o;21325:::-;21491:4;21529:2;21518:9;21514:18;21506:26;;21578:9;21572:4;21568:20;21564:1;21553:9;21549:17;21542:47;21606:131;21732:4;21606:131;:::i;:::-;21598:139;;21325:419;;;:::o;21750:::-;21916:4;21954:2;21943:9;21939:18;21931:26;;22003:9;21997:4;21993:20;21989:1;21978:9;21974:17;21967:47;22031:131;22157:4;22031:131;:::i;:::-;22023:139;;21750:419;;;:::o;22175:::-;22341:4;22379:2;22368:9;22364:18;22356:26;;22428:9;22422:4;22418:20;22414:1;22403:9;22399:17;22392:47;22456:131;22582:4;22456:131;:::i;:::-;22448:139;;22175:419;;;:::o;22600:::-;22766:4;22804:2;22793:9;22789:18;22781:26;;22853:9;22847:4;22843:20;22839:1;22828:9;22824:17;22817:47;22881:131;23007:4;22881:131;:::i;:::-;22873:139;;22600:419;;;:::o;23025:::-;23191:4;23229:2;23218:9;23214:18;23206:26;;23278:9;23272:4;23268:20;23264:1;23253:9;23249:17;23242:47;23306:131;23432:4;23306:131;:::i;:::-;23298:139;;23025:419;;;:::o;23450:::-;23616:4;23654:2;23643:9;23639:18;23631:26;;23703:9;23697:4;23693:20;23689:1;23678:9;23674:17;23667:47;23731:131;23857:4;23731:131;:::i;:::-;23723:139;;23450:419;;;:::o;23875:::-;24041:4;24079:2;24068:9;24064:18;24056:26;;24128:9;24122:4;24118:20;24114:1;24103:9;24099:17;24092:47;24156:131;24282:4;24156:131;:::i;:::-;24148:139;;23875:419;;;:::o;24300:222::-;24393:4;24431:2;24420:9;24416:18;24408:26;;24444:71;24512:1;24501:9;24497:17;24488:6;24444:71;:::i;:::-;24300:222;;;;:::o;24528:214::-;24617:4;24655:2;24644:9;24640:18;24632:26;;24668:67;24732:1;24721:9;24717:17;24708:6;24668:67;:::i;:::-;24528:214;;;;:::o;24829:99::-;24881:6;24915:5;24909:12;24899:22;;24829:99;;;:::o;24934:169::-;25018:11;25052:6;25047:3;25040:19;25092:4;25087:3;25083:14;25068:29;;24934:169;;;;:::o;25109:305::-;25149:3;25168:20;25186:1;25168:20;:::i;:::-;25163:25;;25202:20;25220:1;25202:20;:::i;:::-;25197:25;;25356:1;25288:66;25284:74;25281:1;25278:81;25275:107;;;25362:18;;:::i;:::-;25275:107;25406:1;25403;25399:9;25392:16;;25109:305;;;;:::o;25420:185::-;25460:1;25477:20;25495:1;25477:20;:::i;:::-;25472:25;;25511:20;25529:1;25511:20;:::i;:::-;25506:25;;25550:1;25540:35;;25555:18;;:::i;:::-;25540:35;25597:1;25594;25590:9;25585:14;;25420:185;;;;:::o;25611:348::-;25651:7;25674:20;25692:1;25674:20;:::i;:::-;25669:25;;25708:20;25726:1;25708:20;:::i;:::-;25703:25;;25896:1;25828:66;25824:74;25821:1;25818:81;25813:1;25806:9;25799:17;25795:105;25792:131;;;25903:18;;:::i;:::-;25792:131;25951:1;25948;25944:9;25933:20;;25611:348;;;;:::o;25965:191::-;26005:4;26025:20;26043:1;26025:20;:::i;:::-;26020:25;;26059:20;26077:1;26059:20;:::i;:::-;26054:25;;26098:1;26095;26092:8;26089:34;;;26103:18;;:::i;:::-;26089:34;26148:1;26145;26141:9;26133:17;;25965:191;;;;:::o;26162:96::-;26199:7;26228:24;26246:5;26228:24;:::i;:::-;26217:35;;26162:96;;;:::o;26264:90::-;26298:7;26341:5;26334:13;26327:21;26316:32;;26264:90;;;:::o;26360:126::-;26397:7;26437:42;26430:5;26426:54;26415:65;;26360:126;;;:::o;26492:77::-;26529:7;26558:5;26547:16;;26492:77;;;:::o;26575:101::-;26611:7;26651:18;26644:5;26640:30;26629:41;;26575:101;;;:::o;26682:86::-;26717:7;26757:4;26750:5;26746:16;26735:27;;26682:86;;;:::o;26774:307::-;26842:1;26852:113;26866:6;26863:1;26860:13;26852:113;;;26951:1;26946:3;26942:11;26936:18;26932:1;26927:3;26923:11;26916:39;26888:2;26885:1;26881:10;26876:15;;26852:113;;;26983:6;26980:1;26977:13;26974:101;;;27063:1;27054:6;27049:3;27045:16;27038:27;26974:101;26823:258;26774:307;;;:::o;27087:320::-;27131:6;27168:1;27162:4;27158:12;27148:22;;27215:1;27209:4;27205:12;27236:18;27226:81;;27292:4;27284:6;27280:17;27270:27;;27226:81;27354:2;27346:6;27343:14;27323:18;27320:38;27317:84;;;27373:18;;:::i;:::-;27317:84;27138:269;27087:320;;;:::o;27413:233::-;27452:3;27475:24;27493:5;27475:24;:::i;:::-;27466:33;;27521:66;27514:5;27511:77;27508:103;;;27591:18;;:::i;:::-;27508:103;27638:1;27631:5;27627:13;27620:20;;27413:233;;;:::o;27652:180::-;27700:77;27697:1;27690:88;27797:4;27794:1;27787:15;27821:4;27818:1;27811:15;27838:180;27886:77;27883:1;27876:88;27983:4;27980:1;27973:15;28007:4;28004:1;27997:15;28024:180;28072:77;28069:1;28062:88;28169:4;28166:1;28159:15;28193:4;28190:1;28183:15;28210:180;28258:77;28255:1;28248:88;28355:4;28352:1;28345:15;28379:4;28376:1;28369:15;28396:117;28505:1;28502;28495:12;28519:117;28628:1;28625;28618:12;28642:117;28751:1;28748;28741:12;28765:117;28874:1;28871;28864:12;28888:117;28997:1;28994;28987:12;29011:102;29052:6;29103:2;29099:7;29094:2;29087:5;29083:14;29079:28;29069:38;;29011:102;;;:::o;29119:173::-;29259:25;29255:1;29247:6;29243:14;29236:49;29119:173;:::o;29298:222::-;29438:34;29434:1;29426:6;29422:14;29415:58;29507:5;29502:2;29494:6;29490:15;29483:30;29298:222;:::o;29526:165::-;29666:17;29662:1;29654:6;29650:14;29643:41;29526:165;:::o;29697:221::-;29837:34;29833:1;29825:6;29821:14;29814:58;29906:4;29901:2;29893:6;29889:15;29882:29;29697:221;:::o;29924:225::-;30064:34;30060:1;30052:6;30048:14;30041:58;30133:8;30128:2;30120:6;30116:15;30109:33;29924:225;:::o;30155:221::-;30295:34;30291:1;30283:6;30279:14;30272:58;30364:4;30359:2;30351:6;30347:15;30340:29;30155:221;:::o;30382:164::-;30522:16;30518:1;30510:6;30506:14;30499:40;30382:164;:::o;30552:179::-;30692:31;30688:1;30680:6;30676:14;30669:55;30552:179;:::o;30737:225::-;30877:34;30873:1;30865:6;30861:14;30854:58;30946:8;30941:2;30933:6;30929:15;30922:33;30737:225;:::o;30968:163::-;31108:15;31104:1;31096:6;31092:14;31085:39;30968:163;:::o;31137:226::-;31277:34;31273:1;31265:6;31261:14;31254:58;31346:9;31341:2;31333:6;31329:15;31322:34;31137:226;:::o;31369:225::-;31509:34;31505:1;31497:6;31493:14;31486:58;31578:8;31573:2;31565:6;31561:15;31554:33;31369:225;:::o;31600:182::-;31740:34;31736:1;31728:6;31724:14;31717:58;31600:182;:::o;31788:229::-;31928:34;31924:1;31916:6;31912:14;31905:58;31997:12;31992:2;31984:6;31980:15;31973:37;31788:229;:::o;32023:220::-;32163:34;32159:1;32151:6;32147:14;32140:58;32232:3;32227:2;32219:6;32215:15;32208:28;32023:220;:::o;32249:224::-;32389:34;32385:1;32377:6;32373:14;32366:58;32458:7;32453:2;32445:6;32441:15;32434:32;32249:224;:::o;32479:223::-;32619:34;32615:1;32607:6;32603:14;32596:58;32688:6;32683:2;32675:6;32671:15;32664:31;32479:223;:::o;32708:163::-;32848:15;32844:1;32836:6;32832:14;32825:39;32708:163;:::o;32877:224::-;33017:34;33013:1;33005:6;33001:14;32994:58;33086:7;33081:2;33073:6;33069:15;33062:32;32877:224;:::o;33107:181::-;33247:33;33243:1;33235:6;33231:14;33224:57;33107:181;:::o;33294:122::-;33367:24;33385:5;33367:24;:::i;:::-;33360:5;33357:35;33347:63;;33406:1;33403;33396:12;33347:63;33294:122;:::o;33422:116::-;33492:21;33507:5;33492:21;:::i;:::-;33485:5;33482:32;33472:60;;33528:1;33525;33518:12;33472:60;33422:116;:::o;33544:122::-;33617:24;33635:5;33617:24;:::i;:::-;33610:5;33607:35;33597:63;;33656:1;33653;33646:12;33597:63;33544:122;:::o;33672:120::-;33744:23;33761:5;33744:23;:::i;:::-;33737:5;33734:34;33724:62;;33782:1;33779;33772:12;33724:62;33672:120;:::o

Swarm Source

ipfs://c8068803ba398903886e1b3b548d6feda1d0e16665ab923b339b55cc2cea3cad

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  ]

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.