ETH Price: $3,390.71 (-1.23%)
Gas: 6.88 Gwei

Contract

0xb009eD24A16C9658Daf74C599365569b6Ef27d4B
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Set Approval For...211636532024-11-11 9:49:3515 days ago1731318575IN
0xb009eD24...b6Ef27d4B
0 ETH0.0006025813.05228167
Set Approval For...211023122024-11-02 20:22:1124 days ago1730578931IN
0xb009eD24...b6Ef27d4B
0 ETH0.000258955.61044802
Set Approval For...199619002024-05-27 14:47:47183 days ago1716821267IN
0xb009eD24...b6Ef27d4B
0 ETH0.0011182324.26570259
Set Approval For...186067002023-11-19 15:18:47373 days ago1700407127IN
0xb009eD24...b6Ef27d4B
0 ETH0.0011076724.03648158
Set Approval For...184107542023-10-23 4:59:23401 days ago1698037163IN
0xb009eD24...b6Ef27d4B
0 ETH0.000364987.92013416
Set Approval For...178957202023-08-12 2:11:59473 days ago1691806319IN
0xb009eD24...b6Ef27d4B
0 ETH0.0005469511.86265405
Set Approval For...178942342023-08-11 21:09:35473 days ago1691788175IN
0xb009eD24...b6Ef27d4B
0 ETH0.0006912415
Set Approval For...177966092023-07-29 5:27:47486 days ago1690608467IN
0xb009eD24...b6Ef27d4B
0 ETH0.0008756219.00110277
Set Approval For...173505592023-05-27 13:02:47549 days ago1685192567IN
0xb009eD24...b6Ef27d4B
0 ETH0.0010642423.05210626
Set Approval For...167639832023-03-05 18:30:11632 days ago1678041011IN
0xb009eD24...b6Ef27d4B
0 ETH0.0012788327.75078372
Set Approval For...167553852023-03-04 13:30:47633 days ago1677936647IN
0xb009eD24...b6Ef27d4B
0 ETH0.0012442427
Set Approval For...167411402023-03-02 13:21:11635 days ago1677763271IN
0xb009eD24...b6Ef27d4B
0 ETH0.0010914923.68544314
Set Approval For...167133642023-02-26 15:41:47639 days ago1677426107IN
0xb009eD24...b6Ef27d4B
0 ETH0.0010397722.56312493
Set Approval For...167122652023-02-26 11:58:59639 days ago1677412739IN
0xb009eD24...b6Ef27d4B
0 ETH0.0004835518.46810595
Set Approval For...167122652023-02-26 11:58:59639 days ago1677412739IN
0xb009eD24...b6Ef27d4B
0 ETH0.0008510618.46810595
Set Approval For...167057802023-02-25 14:05:47640 days ago1677333947IN
0xb009eD24...b6Ef27d4B
0 ETH0.0010105721.92947135
Set Approval For...166958912023-02-24 4:38:35642 days ago1677213515IN
0xb009eD24...b6Ef27d4B
0 ETH0.0011423224.78842685
Set Approval For...166560972023-02-18 14:25:47647 days ago1676730347IN
0xb009eD24...b6Ef27d4B
0 ETH0.0013701529.73236959
Set Approval For...166559762023-02-18 14:01:23647 days ago1676728883IN
0xb009eD24...b6Ef27d4B
0 ETH0.0030314665.78281355
Set Approval For...165630622023-02-05 14:04:35660 days ago1675605875IN
0xb009eD24...b6Ef27d4B
0 ETH0.0010764323.35857583
Set Approval For...164701132023-01-23 14:30:35673 days ago1674484235IN
0xb009eD24...b6Ef27d4B
0 ETH0.0007863817.06462606
Set Approval For...162071142022-12-17 21:30:59710 days ago1671312659IN
0xb009eD24...b6Ef27d4B
0 ETH0.000648814.05337322
Set Approval For...161894802022-12-15 10:24:47712 days ago1671099887IN
0xb009eD24...b6Ef27d4B
0 ETH0.0005784912.53056628
Set Approval For...161658212022-12-12 3:03:47716 days ago1670814227IN
0xb009eD24...b6Ef27d4B
0 ETH0.0006492514.08881929
Set Approval For...160743802022-11-29 8:13:35728 days ago1669709615IN
0xb009eD24...b6Ef27d4B
0 ETH0.0005691212.32761611
View all transactions

Latest 10 internal transactions

Advanced mode:
Parent Transaction Hash Block From To
146099892022-04-18 15:31:32953 days ago1650295892
0xb009eD24...b6Ef27d4B
0.05 ETH
145843932022-04-14 15:35:06957 days ago1649950506
0xb009eD24...b6Ef27d4B
0.01 ETH
145251452022-04-05 9:39:54966 days ago1649151594
0xb009eD24...b6Ef27d4B
0.01 ETH
145125962022-04-03 10:20:51968 days ago1648981251
0xb009eD24...b6Ef27d4B
0.03 ETH
145075072022-04-02 15:25:55969 days ago1648913155
0xb009eD24...b6Ef27d4B
0.07 ETH
144796212022-03-29 6:57:38973 days ago1648537058
0xb009eD24...b6Ef27d4B
0.09 ETH
144541672022-03-25 7:49:03977 days ago1648194543
0xb009eD24...b6Ef27d4B
0.08 ETH
144360502022-03-22 12:14:25980 days ago1647951265
0xb009eD24...b6Ef27d4B
0.15 ETH
144317212022-03-21 20:04:10981 days ago1647893050
0xb009eD24...b6Ef27d4B
2.14 ETH
143987052022-03-16 16:31:07986 days ago1647448267
0xb009eD24...b6Ef27d4B
0.66 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Duckles

Compiler Version
v0.8.12+commit.f00d7308

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

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

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.12;

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


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

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

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

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

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

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

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

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

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

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

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

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

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


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

/**
 * @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..).
 *
 * Does not support burning tokens to address(0).
 *
 * Assumes that an owner cannot have more than the 2**128 - 1 (max value of uint128) of supply
 */
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 = 1;

    // 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) internal _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;

    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

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

    /**
     * @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(totalSupply). 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;
        address currOwnershipAddr;

        // Counter overflow is impossible as the loop breaks when uint256 i is equal to another uint256 numMintedSoFar.
        unchecked {
            for (uint256 i; 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);
    }

    /**
     * Gas spent here starts off proportional to the maximum mint batch size.
     * It gradually moves to O(1) as tokens get transferred around in the collection over time.
     */
    function ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) {
        require(_exists(tokenId), 'ERC721A: owner query for nonexistent token');

        unchecked {
            for (uint256 curr = tokenId; curr >= 0; 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, "Duckle%20%23", tokenId.toString(), ".json")) : '';
    }

    /**
     * @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 "ipfs:/QmSQMJZcEfnzc9M5tL13etoHnbdsw5SV8Pi2J948dhAepz/";
    }

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

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

    /**
     * @dev Safely mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called for each safe transfer.
     * - `quantity` must be greater than 0.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(
        address to,
        uint256 quantity,
        bytes memory _data
    ) internal {
        _mint(to, quantity, _data, true);
    }

    /**
     * @dev Mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `quantity` must be greater than 0.
     *
     * Emits a {Transfer} event.
     */
    function _mint(
        address to,
        uint256 quantity,
        bytes memory _data,
        bool safe
    ) internal {
        uint256 startTokenId = currentIndex;
        require(to != address(0), 'ERC721A: mint to the zero address');
        require(quantity != 0, 'ERC721A: quantity must be greater than 0');

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

        // Overflows are incredibly unrealistic.
        // balance or numberMinted overflow if current value of either + quantity > 3.4e38 (2**128) - 1
        // updatedIndex overflows if currentIndex + quantity > 1.56e77 (2**256) - 1
        unchecked {
            _addressData[to].balance += uint128(quantity);
            _addressData[to].numberMinted += uint128(quantity);

            _ownerships[startTokenId].addr = to;
            _ownerships[startTokenId].startTimestamp = uint64(block.timestamp);

            uint256 updatedIndex = startTokenId;

            for (uint256 i; i < quantity; i++) {
                emit Transfer(address(0), to, updatedIndex);
                if (safe) {
                    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);

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256.
        unchecked {
            _addressData[from].balance -= 1;
            _addressData[to].balance += 1;

            _ownerships[tokenId].addr = to;
            _ownerships[tokenId].startTimestamp = 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].addr = prevOwnership.addr;
                    _ownerships[nextTokenId].startTimestamp = 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);
    }

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

contract Duckles is ERC721A, Ownable {

    constructor() ERC721A("Duckles", "DCKLS") {}

    // ---------------------------------------------------------------------------------------------
    // CONSTANTS
    // ---------------------------------------------------------------------------------------------

    uint64 public constant FREE_SUPPLY = 7264;  
    uint64 public constant MAX_SUPPLY = 10000;     
    uint64 public constant FOUNDERS_SUPPLY = 100;  
    uint64 public constant MAX_FREE_PER_WALLET_AND_TX = 10;  

    // ---------------------------------------------------------------------------------------------
    // VARIABLES
    // ---------------------------------------------------------------------------------------------

    bool private saleStatus;  
    uint256 public price = 0.03 ether;
 
    // ---------------------------------------------------------------------------------------------
    // MAPPINGS
    // ---------------------------------------------------------------------------------------------

    mapping(address => uint) public _freeMinted;

    // ---------------------------------------------------------------------------------------------
    // OWNER SETTERS
    // ---------------------------------------------------------------------------------------------

    function setPrice(uint256 _price) external onlyOwner {
        price = _price;
    } 

    function startSale() external onlyOwner {
        _safeMint(msg.sender, FOUNDERS_SUPPLY);
        saleStatus = !saleStatus;
    }

    function withdraw() external onlyOwner {
        payable(msg.sender).transfer(address(this).balance);
    }

    // ---------------------------------------------------------------------------------------------
    // PUBLIC SETTERS
    // ---------------------------------------------------------------------------------------------

    function freeMint(uint256 amount) external {
        require(saleStatus, "SALE_NOT_ACTIVE!");
        require(amount <= MAX_FREE_PER_WALLET_AND_TX, "EXCEEDS_MAX_PER_TX!");    
        require(currentIndex + amount <= FREE_SUPPLY + 1, "NOT_ENOUGH_TOKENS!");
        require(_freeMinted[msg.sender] + amount <= MAX_FREE_PER_WALLET_AND_TX, "EXCEEDS_MAX_PER_WALLET!");
        _safeMint(msg.sender, amount);
        _freeMinted[msg.sender] += amount;
    }

    function saleMint(uint256 amount) external payable {
        require(saleStatus, "SALE_NOT_ACTIVE!");
        require(msg.value == price * amount, "INCORRECT_VALUE!");          
        require(amount <= MAX_FREE_PER_WALLET_AND_TX, "EXCEEDS_MAX_PER_TX!");
        require(currentIndex + amount > FREE_SUPPLY && currentIndex + amount <= MAX_SUPPLY + 1, "NOT_ALLOWED!");
        _safeMint(msg.sender, amount);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"FOUNDERS_SUPPLY","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"FREE_SUPPLY","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_FREE_PER_WALLET_AND_TX","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_freeMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"freeMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"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":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"saleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","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":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526001600055666a94d74f4300006008553480156200002157600080fd5b5060408051808201825260078152664475636b6c657360c81b60208083019182528351808501909452600584526444434b4c5360d81b9084015281519192916200006e91600191620000fd565b50805162000084906002906020840190620000fd565b505050620000a16200009b620000a760201b60201c565b620000ab565b620001e0565b3390565b600780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200010b90620001a3565b90600052602060002090601f0160209004810192826200012f57600085556200017a565b82601f106200014a57805160ff19168380011785556200017a565b828001600101855582156200017a579182015b828111156200017a5782518255916020019190600101906200015d565b50620001889291506200018c565b5090565b5b808211156200018857600081556001016200018d565b600181811c90821680620001b857607f821691505b60208210811415620001da57634e487b7160e01b600052602260045260246000fd5b50919050565b611f9380620001f06000396000f3fe6080604052600436106101cd5760003560e01c80637c928fe9116100f7578063a035b1fe11610095578063b88d4fde11610064578063b88d4fde146104fd578063c87b56dd1461051d578063e985e9c51461053d578063f2fde38b1461058657600080fd5b8063a035b1fe1461049d578063a22cb465146104b3578063a5c1b475146104d3578063b66a0e5d146104e857600080fd5b806391b7f5ed116100d157806391b7f5ed1461043d57806395d89b411461045d5780639858cf191461047257806398ca667f1461048857600080fd5b80637c928fe9146103ec5780638ca887ca1461040c5780638da5cb5b1461041f57600080fd5b806332cb6b0c1161016f5780636352211e1161013e5780636352211e1461036a57806369296ca01461038a57806370a08231146103b7578063715018a6146103d757600080fd5b806332cb6b0c146102e65780633ccfd60b1461031557806342842e0e1461032a5780634f6ccce71461034a57600080fd5b8063095ea7b3116101ab578063095ea7b31461026157806318160ddd1461028357806323b872dd146102a65780632f745c59146102c657600080fd5b806301ffc9a7146101d257806306fdde0314610207578063081812fc14610229575b600080fd5b3480156101de57600080fd5b506101f26101ed366004611a14565b6105a6565b60405190151581526020015b60405180910390f35b34801561021357600080fd5b5061021c610613565b6040516101fe9190611a89565b34801561023557600080fd5b50610249610244366004611a9c565b6106a5565b6040516001600160a01b0390911681526020016101fe565b34801561026d57600080fd5b5061028161027c366004611ad1565b610733565b005b34801561028f57600080fd5b5061029861084b565b6040519081526020016101fe565b3480156102b257600080fd5b506102816102c1366004611afb565b610861565b3480156102d257600080fd5b506102986102e1366004611ad1565b61086c565b3480156102f257600080fd5b506102fc61271081565b60405167ffffffffffffffff90911681526020016101fe565b34801561032157600080fd5b506102816109d3565b34801561033657600080fd5b50610281610345366004611afb565b610a2c565b34801561035657600080fd5b50610298610365366004611a9c565b610a47565b34801561037657600080fd5b50610249610385366004611a9c565b610aaf565b34801561039657600080fd5b506102986103a5366004611b37565b60096020526000908152604090205481565b3480156103c357600080fd5b506102986103d2366004611b37565b610ac1565b3480156103e357600080fd5b50610281610b52565b3480156103f857600080fd5b50610281610407366004611a9c565b610b88565b61028161041a366004611a9c565b610d20565b34801561042b57600080fd5b506007546001600160a01b0316610249565b34801561044957600080fd5b50610281610458366004611a9c565b610e89565b34801561046957600080fd5b5061021c610eb8565b34801561047e57600080fd5b506102fc611c6081565b34801561049457600080fd5b506102fc606481565b3480156104a957600080fd5b5061029860085481565b3480156104bf57600080fd5b506102816104ce366004611b52565b610ec7565b3480156104df57600080fd5b506102fc600a81565b3480156104f457600080fd5b50610281610f8c565b34801561050957600080fd5b50610281610518366004611ba4565b610fe2565b34801561052957600080fd5b5061021c610538366004611a9c565b61101b565b34801561054957600080fd5b506101f2610558366004611c80565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b34801561059257600080fd5b506102816105a1366004611b37565b6110e7565b60006001600160e01b031982166380ac58cd60e01b14806105d757506001600160e01b03198216635b5e139f60e01b145b806105f257506001600160e01b0319821663780e9d6360e01b145b8061060d57506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606001805461062290611cb3565b80601f016020809104026020016040519081016040528092919081815260200182805461064e90611cb3565b801561069b5780601f106106705761010080835404028352916020019161069b565b820191906000526020600020905b81548152906001019060200180831161067e57829003601f168201915b5050505050905090565b60006106b08261117f565b6107175760405162461bcd60e51b815260206004820152602d60248201527f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560448201526c3c34b9ba32b73a103a37b5b2b760991b60648201526084015b60405180910390fd5b506000908152600560205260409020546001600160a01b031690565b600061073e82610aaf565b9050806001600160a01b0316836001600160a01b031614156107ad5760405162461bcd60e51b815260206004820152602260248201527f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60448201526132b960f11b606482015260840161070e565b336001600160a01b03821614806107c957506107c98133610558565b61083b5760405162461bcd60e51b815260206004820152603960248201527f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656420666f7220616c6c00000000000000606482015260840161070e565b610846838383611192565b505050565b6000600160005461085c9190611d04565b905090565b6108468383836111ee565b600061087783610ac1565b82106108d05760405162461bcd60e51b815260206004820152602260248201527f455243373231413a206f776e657220696e646578206f7574206f6620626f756e604482015261647360f01b606482015260840161070e565b60006108da61084b565b905060008060005b83811015610973576000818152600360209081526040918290208251808401909352546001600160a01b038116808452600160a01b90910467ffffffffffffffff16918301919091521561093557805192505b876001600160a01b0316836001600160a01b0316141561096a57868414156109635750935061060d92505050565b6001909301925b506001016108e2565b5060405162461bcd60e51b815260206004820152602e60248201527f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060448201526d0deeedccae440c4f240d2dcc8caf60931b606482015260840161070e565b6007546001600160a01b031633146109fd5760405162461bcd60e51b815260040161070e90611d1b565b60405133904780156108fc02916000818181858888f19350505050158015610a29573d6000803e3d6000fd5b50565b61084683838360405180602001604052806000815250610fe2565b6000610a5161084b565b8210610aab5760405162461bcd60e51b815260206004820152602360248201527f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f756044820152626e647360e81b606482015260840161070e565b5090565b6000610aba826114d1565b5192915050565b60006001600160a01b038216610b2d5760405162461bcd60e51b815260206004820152602b60248201527f455243373231413a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b606482015260840161070e565b506001600160a01b03166000908152600460205260409020546001600160801b031690565b6007546001600160a01b03163314610b7c5760405162461bcd60e51b815260040161070e90611d1b565b610b8660006115a6565b565b600754600160a01b900460ff16610bd45760405162461bcd60e51b815260206004820152601060248201526f53414c455f4e4f545f4143544956452160801b604482015260640161070e565b600a811115610c1b5760405162461bcd60e51b8152602060048201526013602482015272455843454544535f4d41585f5045525f54582160681b604482015260640161070e565b610c28611c606001611d50565b67ffffffffffffffff1681600054610c409190611d7c565b1115610c835760405162461bcd60e51b81526020600482015260126024820152714e4f545f454e4f5547485f544f4b454e532160701b604482015260640161070e565b33600090815260096020526040902054600a90610ca1908390611d7c565b1115610cef5760405162461bcd60e51b815260206004820152601760248201527f455843454544535f4d41585f5045525f57414c4c455421000000000000000000604482015260640161070e565b610cf933826115f8565b3360009081526009602052604081208054839290610d18908490611d7c565b909155505050565b600754600160a01b900460ff16610d6c5760405162461bcd60e51b815260206004820152601060248201526f53414c455f4e4f545f4143544956452160801b604482015260640161070e565b80600854610d7a9190611d94565b3414610dbb5760405162461bcd60e51b815260206004820152601060248201526f494e434f52524543545f56414c55452160801b604482015260640161070e565b600a811115610e025760405162461bcd60e51b8152602060048201526013602482015272455843454544535f4d41585f5045525f54582160681b604482015260640161070e565b600054611c6090610e14908390611d7c565b118015610e445750610e296127106001611d50565b67ffffffffffffffff1681600054610e419190611d7c565b11155b610e7f5760405162461bcd60e51b815260206004820152600c60248201526b4e4f545f414c4c4f5745442160a01b604482015260640161070e565b610a2933826115f8565b6007546001600160a01b03163314610eb35760405162461bcd60e51b815260040161070e90611d1b565b600855565b60606002805461062290611cb3565b6001600160a01b038216331415610f205760405162461bcd60e51b815260206004820152601a60248201527f455243373231413a20617070726f766520746f2063616c6c6572000000000000604482015260640161070e565b3360008181526006602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6007546001600160a01b03163314610fb65760405162461bcd60e51b815260040161070e90611d1b565b610fc13360646115f8565b6007805460ff60a01b198116600160a01b9182900460ff1615909102179055565b610fed8484846111ee565b610ff984848484611616565b6110155760405162461bcd60e51b815260040161070e90611db3565b50505050565b60606110268261117f565b61108a5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b606482015260840161070e565b6000611094611715565b90508051600014156110b557604051806020016040528060008152506110e0565b806110bf84611735565b6040516020016110d0929190611e06565b6040516020818303038152906040525b9392505050565b6007546001600160a01b031633146111115760405162461bcd60e51b815260040161070e90611d1b565b6001600160a01b0381166111765760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161070e565b610a29816115a6565b600080548210801561060d575050151590565b60008281526005602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006111f9826114d1565b80519091506000906001600160a01b0316336001600160a01b03161480611230575033611225846106a5565b6001600160a01b0316145b80611242575081516112429033610558565b9050806112ac5760405162461bcd60e51b815260206004820152603260248201527f455243373231413a207472616e736665722063616c6c6572206973206e6f74206044820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b606482015260840161070e565b846001600160a01b031682600001516001600160a01b0316146113205760405162461bcd60e51b815260206004820152602660248201527f455243373231413a207472616e736665722066726f6d20696e636f72726563746044820152651037bbb732b960d11b606482015260840161070e565b6001600160a01b0384166113845760405162461bcd60e51b815260206004820152602560248201527f455243373231413a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b606482015260840161070e565b6113946000848460000151611192565b6001600160a01b03858116600090815260046020908152604080832080546001600160801b03198082166001600160801b03928316600019018316179092558986168086528386208054938416938316600190810190931693909317909255888552600390935281842080546001600160e01b031916909117600160a01b4267ffffffffffffffff16021790559086018083529120549091166114875761143a8161117f565b15611487578251600082815260036020908152604090912080549186015167ffffffffffffffff16600160a01b026001600160e01b03199092166001600160a01b03909316929092171790555b5082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b60408051808201909152600080825260208201526114ee8261117f565b61154d5760405162461bcd60e51b815260206004820152602a60248201527f455243373231413a206f776e657220717565727920666f72206e6f6e657869736044820152693a32b73a103a37b5b2b760b11b606482015260840161070e565b815b6000818152600360209081526040918290208251808401909352546001600160a01b038116808452600160a01b90910467ffffffffffffffff16918301919091521561159c579392505050565b506000190161154f565b600780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b611612828260405180602001604052806000815250611833565b5050565b60006001600160a01b0384163b1561170957604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061165a903390899088908890600401611e5f565b6020604051808303816000875af1925050508015611695575060408051601f3d908101601f1916820190925261169291810190611e9c565b60015b6116ef573d8080156116c3576040519150601f19603f3d011682016040523d82523d6000602084013e6116c8565b606091505b5080516116e75760405162461bcd60e51b815260040161070e90611db3565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061170d565b5060015b949350505050565b6060604051806060016040528060358152602001611f2960359139905090565b6060816117595750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611783578061176d81611eb9565b915061177c9050600a83611eea565b915061175d565b60008167ffffffffffffffff81111561179e5761179e611b8e565b6040519080825280601f01601f1916602001820160405280156117c8576020820181803683370190505b5090505b841561170d576117dd600183611d04565b91506117ea600a86611efe565b6117f5906030611d7c565b60f81b81838151811061180a5761180a611f12565b60200101906001600160f81b031916908160001a90535061182c600a86611eea565b94506117cc565b61084683838360016000546001600160a01b03851661189e5760405162461bcd60e51b815260206004820152602160248201527f455243373231413a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b606482015260840161070e565b836118fc5760405162461bcd60e51b815260206004820152602860248201527f455243373231413a207175616e74697479206d75737420626520677265617465604482015267072207468616e20360c41b606482015260840161070e565b6001600160a01b03851660008181526004602090815260408083208054600160801b6001600160801b031982166001600160801b039283168c01831690811782900483168c01909216021790558483526003909152812080546001600160e01b031916909217600160a01b4267ffffffffffffffff16021790915581905b858110156119f55760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a483156119e9576119cd6000888488611616565b6119e95760405162461bcd60e51b815260040161070e90611db3565b6001918201910161197a565b506000556114ca565b6001600160e01b031981168114610a2957600080fd5b600060208284031215611a2657600080fd5b81356110e0816119fe565b60005b83811015611a4c578181015183820152602001611a34565b838111156110155750506000910152565b60008151808452611a75816020860160208601611a31565b601f01601f19169290920160200192915050565b6020815260006110e06020830184611a5d565b600060208284031215611aae57600080fd5b5035919050565b80356001600160a01b0381168114611acc57600080fd5b919050565b60008060408385031215611ae457600080fd5b611aed83611ab5565b946020939093013593505050565b600080600060608486031215611b1057600080fd5b611b1984611ab5565b9250611b2760208501611ab5565b9150604084013590509250925092565b600060208284031215611b4957600080fd5b6110e082611ab5565b60008060408385031215611b6557600080fd5b611b6e83611ab5565b915060208301358015158114611b8357600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b60008060008060808587031215611bba57600080fd5b611bc385611ab5565b9350611bd160208601611ab5565b925060408501359150606085013567ffffffffffffffff80821115611bf557600080fd5b818701915087601f830112611c0957600080fd5b813581811115611c1b57611c1b611b8e565b604051601f8201601f19908116603f01168101908382118183101715611c4357611c43611b8e565b816040528281528a6020848701011115611c5c57600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b60008060408385031215611c9357600080fd5b611c9c83611ab5565b9150611caa60208401611ab5565b90509250929050565b600181811c90821680611cc757607f821691505b60208210811415611ce857634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b600082821015611d1657611d16611cee565b500390565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600067ffffffffffffffff808316818516808303821115611d7357611d73611cee565b01949350505050565b60008219821115611d8f57611d8f611cee565b500190565b6000816000190483118215151615611dae57611dae611cee565b500290565b60208082526033908201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260408201527232b1b2b4bb32b91034b6b83632b6b2b73a32b960691b606082015260800190565b60008351611e18818460208801611a31565b6b4475636b6c6525323025323360a01b9083019081528351611e4181600c840160208801611a31565b64173539b7b760d91b600c9290910191820152601101949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611e9290830184611a5d565b9695505050505050565b600060208284031215611eae57600080fd5b81516110e0816119fe565b6000600019821415611ecd57611ecd611cee565b5060010190565b634e487b7160e01b600052601260045260246000fd5b600082611ef957611ef9611ed4565b500490565b600082611f0d57611f0d611ed4565b500690565b634e487b7160e01b600052603260045260246000fdfe697066733a2f516d53514d4a5a6345666e7a63394d35744c313365746f486e62647377355356385069324a39343864684165707a2fa26469706673582212202309d6d48b441f15fe92fe786a20c836963e1806ae156cd9e37513ee870681ee64736f6c634300080c0033

Deployed Bytecode

0x6080604052600436106101cd5760003560e01c80637c928fe9116100f7578063a035b1fe11610095578063b88d4fde11610064578063b88d4fde146104fd578063c87b56dd1461051d578063e985e9c51461053d578063f2fde38b1461058657600080fd5b8063a035b1fe1461049d578063a22cb465146104b3578063a5c1b475146104d3578063b66a0e5d146104e857600080fd5b806391b7f5ed116100d157806391b7f5ed1461043d57806395d89b411461045d5780639858cf191461047257806398ca667f1461048857600080fd5b80637c928fe9146103ec5780638ca887ca1461040c5780638da5cb5b1461041f57600080fd5b806332cb6b0c1161016f5780636352211e1161013e5780636352211e1461036a57806369296ca01461038a57806370a08231146103b7578063715018a6146103d757600080fd5b806332cb6b0c146102e65780633ccfd60b1461031557806342842e0e1461032a5780634f6ccce71461034a57600080fd5b8063095ea7b3116101ab578063095ea7b31461026157806318160ddd1461028357806323b872dd146102a65780632f745c59146102c657600080fd5b806301ffc9a7146101d257806306fdde0314610207578063081812fc14610229575b600080fd5b3480156101de57600080fd5b506101f26101ed366004611a14565b6105a6565b60405190151581526020015b60405180910390f35b34801561021357600080fd5b5061021c610613565b6040516101fe9190611a89565b34801561023557600080fd5b50610249610244366004611a9c565b6106a5565b6040516001600160a01b0390911681526020016101fe565b34801561026d57600080fd5b5061028161027c366004611ad1565b610733565b005b34801561028f57600080fd5b5061029861084b565b6040519081526020016101fe565b3480156102b257600080fd5b506102816102c1366004611afb565b610861565b3480156102d257600080fd5b506102986102e1366004611ad1565b61086c565b3480156102f257600080fd5b506102fc61271081565b60405167ffffffffffffffff90911681526020016101fe565b34801561032157600080fd5b506102816109d3565b34801561033657600080fd5b50610281610345366004611afb565b610a2c565b34801561035657600080fd5b50610298610365366004611a9c565b610a47565b34801561037657600080fd5b50610249610385366004611a9c565b610aaf565b34801561039657600080fd5b506102986103a5366004611b37565b60096020526000908152604090205481565b3480156103c357600080fd5b506102986103d2366004611b37565b610ac1565b3480156103e357600080fd5b50610281610b52565b3480156103f857600080fd5b50610281610407366004611a9c565b610b88565b61028161041a366004611a9c565b610d20565b34801561042b57600080fd5b506007546001600160a01b0316610249565b34801561044957600080fd5b50610281610458366004611a9c565b610e89565b34801561046957600080fd5b5061021c610eb8565b34801561047e57600080fd5b506102fc611c6081565b34801561049457600080fd5b506102fc606481565b3480156104a957600080fd5b5061029860085481565b3480156104bf57600080fd5b506102816104ce366004611b52565b610ec7565b3480156104df57600080fd5b506102fc600a81565b3480156104f457600080fd5b50610281610f8c565b34801561050957600080fd5b50610281610518366004611ba4565b610fe2565b34801561052957600080fd5b5061021c610538366004611a9c565b61101b565b34801561054957600080fd5b506101f2610558366004611c80565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b34801561059257600080fd5b506102816105a1366004611b37565b6110e7565b60006001600160e01b031982166380ac58cd60e01b14806105d757506001600160e01b03198216635b5e139f60e01b145b806105f257506001600160e01b0319821663780e9d6360e01b145b8061060d57506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606001805461062290611cb3565b80601f016020809104026020016040519081016040528092919081815260200182805461064e90611cb3565b801561069b5780601f106106705761010080835404028352916020019161069b565b820191906000526020600020905b81548152906001019060200180831161067e57829003601f168201915b5050505050905090565b60006106b08261117f565b6107175760405162461bcd60e51b815260206004820152602d60248201527f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560448201526c3c34b9ba32b73a103a37b5b2b760991b60648201526084015b60405180910390fd5b506000908152600560205260409020546001600160a01b031690565b600061073e82610aaf565b9050806001600160a01b0316836001600160a01b031614156107ad5760405162461bcd60e51b815260206004820152602260248201527f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60448201526132b960f11b606482015260840161070e565b336001600160a01b03821614806107c957506107c98133610558565b61083b5760405162461bcd60e51b815260206004820152603960248201527f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656420666f7220616c6c00000000000000606482015260840161070e565b610846838383611192565b505050565b6000600160005461085c9190611d04565b905090565b6108468383836111ee565b600061087783610ac1565b82106108d05760405162461bcd60e51b815260206004820152602260248201527f455243373231413a206f776e657220696e646578206f7574206f6620626f756e604482015261647360f01b606482015260840161070e565b60006108da61084b565b905060008060005b83811015610973576000818152600360209081526040918290208251808401909352546001600160a01b038116808452600160a01b90910467ffffffffffffffff16918301919091521561093557805192505b876001600160a01b0316836001600160a01b0316141561096a57868414156109635750935061060d92505050565b6001909301925b506001016108e2565b5060405162461bcd60e51b815260206004820152602e60248201527f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060448201526d0deeedccae440c4f240d2dcc8caf60931b606482015260840161070e565b6007546001600160a01b031633146109fd5760405162461bcd60e51b815260040161070e90611d1b565b60405133904780156108fc02916000818181858888f19350505050158015610a29573d6000803e3d6000fd5b50565b61084683838360405180602001604052806000815250610fe2565b6000610a5161084b565b8210610aab5760405162461bcd60e51b815260206004820152602360248201527f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f756044820152626e647360e81b606482015260840161070e565b5090565b6000610aba826114d1565b5192915050565b60006001600160a01b038216610b2d5760405162461bcd60e51b815260206004820152602b60248201527f455243373231413a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b606482015260840161070e565b506001600160a01b03166000908152600460205260409020546001600160801b031690565b6007546001600160a01b03163314610b7c5760405162461bcd60e51b815260040161070e90611d1b565b610b8660006115a6565b565b600754600160a01b900460ff16610bd45760405162461bcd60e51b815260206004820152601060248201526f53414c455f4e4f545f4143544956452160801b604482015260640161070e565b600a811115610c1b5760405162461bcd60e51b8152602060048201526013602482015272455843454544535f4d41585f5045525f54582160681b604482015260640161070e565b610c28611c606001611d50565b67ffffffffffffffff1681600054610c409190611d7c565b1115610c835760405162461bcd60e51b81526020600482015260126024820152714e4f545f454e4f5547485f544f4b454e532160701b604482015260640161070e565b33600090815260096020526040902054600a90610ca1908390611d7c565b1115610cef5760405162461bcd60e51b815260206004820152601760248201527f455843454544535f4d41585f5045525f57414c4c455421000000000000000000604482015260640161070e565b610cf933826115f8565b3360009081526009602052604081208054839290610d18908490611d7c565b909155505050565b600754600160a01b900460ff16610d6c5760405162461bcd60e51b815260206004820152601060248201526f53414c455f4e4f545f4143544956452160801b604482015260640161070e565b80600854610d7a9190611d94565b3414610dbb5760405162461bcd60e51b815260206004820152601060248201526f494e434f52524543545f56414c55452160801b604482015260640161070e565b600a811115610e025760405162461bcd60e51b8152602060048201526013602482015272455843454544535f4d41585f5045525f54582160681b604482015260640161070e565b600054611c6090610e14908390611d7c565b118015610e445750610e296127106001611d50565b67ffffffffffffffff1681600054610e419190611d7c565b11155b610e7f5760405162461bcd60e51b815260206004820152600c60248201526b4e4f545f414c4c4f5745442160a01b604482015260640161070e565b610a2933826115f8565b6007546001600160a01b03163314610eb35760405162461bcd60e51b815260040161070e90611d1b565b600855565b60606002805461062290611cb3565b6001600160a01b038216331415610f205760405162461bcd60e51b815260206004820152601a60248201527f455243373231413a20617070726f766520746f2063616c6c6572000000000000604482015260640161070e565b3360008181526006602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6007546001600160a01b03163314610fb65760405162461bcd60e51b815260040161070e90611d1b565b610fc13360646115f8565b6007805460ff60a01b198116600160a01b9182900460ff1615909102179055565b610fed8484846111ee565b610ff984848484611616565b6110155760405162461bcd60e51b815260040161070e90611db3565b50505050565b60606110268261117f565b61108a5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b606482015260840161070e565b6000611094611715565b90508051600014156110b557604051806020016040528060008152506110e0565b806110bf84611735565b6040516020016110d0929190611e06565b6040516020818303038152906040525b9392505050565b6007546001600160a01b031633146111115760405162461bcd60e51b815260040161070e90611d1b565b6001600160a01b0381166111765760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161070e565b610a29816115a6565b600080548210801561060d575050151590565b60008281526005602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006111f9826114d1565b80519091506000906001600160a01b0316336001600160a01b03161480611230575033611225846106a5565b6001600160a01b0316145b80611242575081516112429033610558565b9050806112ac5760405162461bcd60e51b815260206004820152603260248201527f455243373231413a207472616e736665722063616c6c6572206973206e6f74206044820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b606482015260840161070e565b846001600160a01b031682600001516001600160a01b0316146113205760405162461bcd60e51b815260206004820152602660248201527f455243373231413a207472616e736665722066726f6d20696e636f72726563746044820152651037bbb732b960d11b606482015260840161070e565b6001600160a01b0384166113845760405162461bcd60e51b815260206004820152602560248201527f455243373231413a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b606482015260840161070e565b6113946000848460000151611192565b6001600160a01b03858116600090815260046020908152604080832080546001600160801b03198082166001600160801b03928316600019018316179092558986168086528386208054938416938316600190810190931693909317909255888552600390935281842080546001600160e01b031916909117600160a01b4267ffffffffffffffff16021790559086018083529120549091166114875761143a8161117f565b15611487578251600082815260036020908152604090912080549186015167ffffffffffffffff16600160a01b026001600160e01b03199092166001600160a01b03909316929092171790555b5082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b60408051808201909152600080825260208201526114ee8261117f565b61154d5760405162461bcd60e51b815260206004820152602a60248201527f455243373231413a206f776e657220717565727920666f72206e6f6e657869736044820152693a32b73a103a37b5b2b760b11b606482015260840161070e565b815b6000818152600360209081526040918290208251808401909352546001600160a01b038116808452600160a01b90910467ffffffffffffffff16918301919091521561159c579392505050565b506000190161154f565b600780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b611612828260405180602001604052806000815250611833565b5050565b60006001600160a01b0384163b1561170957604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061165a903390899088908890600401611e5f565b6020604051808303816000875af1925050508015611695575060408051601f3d908101601f1916820190925261169291810190611e9c565b60015b6116ef573d8080156116c3576040519150601f19603f3d011682016040523d82523d6000602084013e6116c8565b606091505b5080516116e75760405162461bcd60e51b815260040161070e90611db3565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061170d565b5060015b949350505050565b6060604051806060016040528060358152602001611f2960359139905090565b6060816117595750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611783578061176d81611eb9565b915061177c9050600a83611eea565b915061175d565b60008167ffffffffffffffff81111561179e5761179e611b8e565b6040519080825280601f01601f1916602001820160405280156117c8576020820181803683370190505b5090505b841561170d576117dd600183611d04565b91506117ea600a86611efe565b6117f5906030611d7c565b60f81b81838151811061180a5761180a611f12565b60200101906001600160f81b031916908160001a90535061182c600a86611eea565b94506117cc565b61084683838360016000546001600160a01b03851661189e5760405162461bcd60e51b815260206004820152602160248201527f455243373231413a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b606482015260840161070e565b836118fc5760405162461bcd60e51b815260206004820152602860248201527f455243373231413a207175616e74697479206d75737420626520677265617465604482015267072207468616e20360c41b606482015260840161070e565b6001600160a01b03851660008181526004602090815260408083208054600160801b6001600160801b031982166001600160801b039283168c01831690811782900483168c01909216021790558483526003909152812080546001600160e01b031916909217600160a01b4267ffffffffffffffff16021790915581905b858110156119f55760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a483156119e9576119cd6000888488611616565b6119e95760405162461bcd60e51b815260040161070e90611db3565b6001918201910161197a565b506000556114ca565b6001600160e01b031981168114610a2957600080fd5b600060208284031215611a2657600080fd5b81356110e0816119fe565b60005b83811015611a4c578181015183820152602001611a34565b838111156110155750506000910152565b60008151808452611a75816020860160208601611a31565b601f01601f19169290920160200192915050565b6020815260006110e06020830184611a5d565b600060208284031215611aae57600080fd5b5035919050565b80356001600160a01b0381168114611acc57600080fd5b919050565b60008060408385031215611ae457600080fd5b611aed83611ab5565b946020939093013593505050565b600080600060608486031215611b1057600080fd5b611b1984611ab5565b9250611b2760208501611ab5565b9150604084013590509250925092565b600060208284031215611b4957600080fd5b6110e082611ab5565b60008060408385031215611b6557600080fd5b611b6e83611ab5565b915060208301358015158114611b8357600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b60008060008060808587031215611bba57600080fd5b611bc385611ab5565b9350611bd160208601611ab5565b925060408501359150606085013567ffffffffffffffff80821115611bf557600080fd5b818701915087601f830112611c0957600080fd5b813581811115611c1b57611c1b611b8e565b604051601f8201601f19908116603f01168101908382118183101715611c4357611c43611b8e565b816040528281528a6020848701011115611c5c57600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b60008060408385031215611c9357600080fd5b611c9c83611ab5565b9150611caa60208401611ab5565b90509250929050565b600181811c90821680611cc757607f821691505b60208210811415611ce857634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b600082821015611d1657611d16611cee565b500390565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600067ffffffffffffffff808316818516808303821115611d7357611d73611cee565b01949350505050565b60008219821115611d8f57611d8f611cee565b500190565b6000816000190483118215151615611dae57611dae611cee565b500290565b60208082526033908201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260408201527232b1b2b4bb32b91034b6b83632b6b2b73a32b960691b606082015260800190565b60008351611e18818460208801611a31565b6b4475636b6c6525323025323360a01b9083019081528351611e4181600c840160208801611a31565b64173539b7b760d91b600c9290910191820152601101949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611e9290830184611a5d565b9695505050505050565b600060208284031215611eae57600080fd5b81516110e0816119fe565b6000600019821415611ecd57611ecd611cee565b5060010190565b634e487b7160e01b600052601260045260246000fd5b600082611ef957611ef9611ed4565b500490565b600082611f0d57611f0d611ed4565b500690565b634e487b7160e01b600052603260045260246000fdfe697066733a2f516d53514d4a5a6345666e7a63394d35744c313365746f486e62647377355356385069324a39343864684165707a2fa26469706673582212202309d6d48b441f15fe92fe786a20c836963e1806ae156cd9e37513ee870681ee64736f6c634300080c0033

Deployed Bytecode Sourcemap

38361:2815:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25144:372;;;;;;;;;;-1:-1:-1;25144:372:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;25144:372:0;;;;;;;;27030:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;28670:214::-;;;;;;;;;;-1:-1:-1;28670:214:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1692:32:1;;;1674:51;;1662:2;1647:18;28670:214:0;1528:203:1;28191:413:0;;;;;;;;;;-1:-1:-1;28191:413:0;;;;;:::i;:::-;;:::i;:::-;;23397:104;;;;;;;;;;;;;:::i;:::-;;;2319:25:1;;;2307:2;2292:18;23397:104:0;2173:177:1;29546:162:0;;;;;;;;;;-1:-1:-1;29546:162:0;;;;;:::i;:::-;;:::i;24065:1007::-;;;;;;;;;;-1:-1:-1;24065:1007:0;;;;;:::i;:::-;;:::i;38733:41::-;;;;;;;;;;;;38769:5;38733:41;;;;;2862:18:1;2850:31;;;2832:50;;2820:2;2805:18;38733:41:0;2688:200:1;39941:109:0;;;;;;;;;;;;;:::i;29779:177::-;;;;;;;;;;-1:-1:-1;29779:177:0;;;;;:::i;:::-;;:::i;23578:187::-;;;;;;;;;;-1:-1:-1;23578:187:0;;;;;:::i;:::-;;:::i;26839:124::-;;;;;;;;;;-1:-1:-1;26839:124:0;;;;;:::i;:::-;;:::i;39426:43::-;;;;;;;;;;-1:-1:-1;39426:43:0;;;;;:::i;:::-;;;;;;;;;;;;;;25580:221;;;;;;;;;;-1:-1:-1;25580:221:0;;;;;:::i;:::-;;:::i;4365:94::-;;;;;;;;;;;;;:::i;40287:459::-;;;;;;;;;;-1:-1:-1;40287:459:0;;;;;:::i;:::-;;:::i;40754:419::-;;;;;;:::i;:::-;;:::i;3714:87::-;;;;;;;;;;-1:-1:-1;3787:6:0;;-1:-1:-1;;;;;3787:6:0;3714:87;;39706:86;;;;;;;;;;-1:-1:-1;39706:86:0;;;;;:::i;:::-;;:::i;27199:104::-;;;;;;;;;;;;;:::i;38683:41::-;;;;;;;;;;;;38720:4;38683:41;;38786:44;;;;;;;;;;;;38827:3;38786:44;;39160:33;;;;;;;;;;;;;;;;28956:288;;;;;;;;;;-1:-1:-1;28956:288:0;;;;;:::i;:::-;;:::i;38839:54::-;;;;;;;;;;;;38891:2;38839:54;;39801:132;;;;;;;;;;;;;:::i;30027:355::-;;;;;;;;;;-1:-1:-1;30027:355:0;;;;;:::i;:::-;;:::i;27374:360::-;;;;;;;;;;-1:-1:-1;27374:360:0;;;;;:::i;:::-;;:::i;29315:164::-;;;;;;;;;;-1:-1:-1;29315:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;29436:25:0;;;29412:4;29436:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;29315:164;4614:192;;;;;;;;;;-1:-1:-1;4614:192:0;;;;;:::i;:::-;;:::i;25144:372::-;25246:4;-1:-1:-1;;;;;;25283:40:0;;-1:-1:-1;;;25283:40:0;;:105;;-1:-1:-1;;;;;;;25340:48:0;;-1:-1:-1;;;25340:48:0;25283:105;:172;;;-1:-1:-1;;;;;;;25405:50:0;;-1:-1:-1;;;25405:50:0;25283:172;:225;;;-1:-1:-1;;;;;;;;;;15425:40:0;;;25472:36;25263:245;25144:372;-1:-1:-1;;25144:372:0:o;27030:100::-;27084:13;27117:5;27110:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27030:100;:::o;28670:214::-;28738:7;28766:16;28774:7;28766;:16::i;:::-;28758:74;;;;-1:-1:-1;;;28758:74:0;;5563:2:1;28758:74:0;;;5545:21:1;5602:2;5582:18;;;5575:30;5641:34;5621:18;;;5614:62;-1:-1:-1;;;5692:18:1;;;5685:43;5745:19;;28758:74:0;;;;;;;;;-1:-1:-1;28852:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;28852:24:0;;28670:214::o;28191:413::-;28264:13;28280:24;28296:7;28280:15;:24::i;:::-;28264:40;;28329:5;-1:-1:-1;;;;;28323:11:0;:2;-1:-1:-1;;;;;28323:11:0;;;28315:58;;;;-1:-1:-1;;;28315:58:0;;5977:2:1;28315:58:0;;;5959:21:1;6016:2;5996:18;;;5989:30;6055:34;6035:18;;;6028:62;-1:-1:-1;;;6106:18:1;;;6099:32;6148:19;;28315:58:0;5775:398:1;28315:58:0;2670:10;-1:-1:-1;;;;;28408:21:0;;;;:62;;-1:-1:-1;28433:37:0;28450:5;2670:10;29315:164;:::i;28433:37::-;28386:169;;;;-1:-1:-1;;;28386:169:0;;6380:2:1;28386:169:0;;;6362:21:1;6419:2;6399:18;;;6392:30;6458:34;6438:18;;;6431:62;6529:27;6509:18;;;6502:55;6574:19;;28386:169:0;6178:421:1;28386:169:0;28568:28;28577:2;28581:7;28590:5;28568:8;:28::i;:::-;28253:351;28191:413;;:::o;23397:104::-;23450:7;23492:1;23477:12;;:16;;;;:::i;:::-;23470:23;;23397:104;:::o;29546:162::-;29672:28;29682:4;29688:2;29692:7;29672:9;:28::i;24065:1007::-;24154:7;24190:16;24200:5;24190:9;:16::i;:::-;24182:5;:24;24174:71;;;;-1:-1:-1;;;24174:71:0;;7068:2:1;24174:71:0;;;7050:21:1;7107:2;7087:18;;;7080:30;7146:34;7126:18;;;7119:62;-1:-1:-1;;;7197:18:1;;;7190:32;7239:19;;24174:71:0;6866:398:1;24174:71:0;24256:22;24281:13;:11;:13::i;:::-;24256:38;;24305:19;24335:25;24524:9;24519:466;24539:14;24535:1;:18;24519:466;;;24579:31;24613:14;;;:11;:14;;;;;;;;;24579:48;;;;;;;;;-1:-1:-1;;;;;24579:48:0;;;;;-1:-1:-1;;;24579:48:0;;;;;;;;;;;;24650:28;24646:111;;24723:14;;;-1:-1:-1;24646:111:0;24800:5;-1:-1:-1;;;;;24779:26:0;:17;-1:-1:-1;;;;;24779:26:0;;24775:195;;;24849:5;24834:11;:20;24830:85;;;-1:-1:-1;24890:1:0;-1:-1:-1;24883:8:0;;-1:-1:-1;;;24883:8:0;24830:85;24937:13;;;;;24775:195;-1:-1:-1;24555:3:0;;24519:466;;;-1:-1:-1;25008:56:0;;-1:-1:-1;;;25008:56:0;;7471:2:1;25008:56:0;;;7453:21:1;7510:2;7490:18;;;7483:30;7549:34;7529:18;;;7522:62;-1:-1:-1;;;7600:18:1;;;7593:44;7654:19;;25008:56:0;7269:410:1;39941:109:0;3787:6;;-1:-1:-1;;;;;3787:6:0;2670:10;3934:23;3926:68;;;;-1:-1:-1;;;3926:68:0;;;;;;;:::i;:::-;39991:51:::1;::::0;39999:10:::1;::::0;40020:21:::1;39991:51:::0;::::1;;;::::0;::::1;::::0;;;40020:21;39999:10;39991:51;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;39941:109::o:0;29779:177::-;29909:39;29926:4;29932:2;29936:7;29909:39;;;;;;;;;;;;:16;:39::i;23578:187::-;23645:7;23681:13;:11;:13::i;:::-;23673:5;:21;23665:69;;;;-1:-1:-1;;;23665:69:0;;8247:2:1;23665:69:0;;;8229:21:1;8286:2;8266:18;;;8259:30;8325:34;8305:18;;;8298:62;-1:-1:-1;;;8376:18:1;;;8369:33;8419:19;;23665:69:0;8045:399:1;23665:69:0;-1:-1:-1;23752:5:0;23578:187::o;26839:124::-;26903:7;26930:20;26942:7;26930:11;:20::i;:::-;:25;;26839:124;-1:-1:-1;;26839:124:0:o;25580:221::-;25644:7;-1:-1:-1;;;;;25672:19:0;;25664:75;;;;-1:-1:-1;;;25664:75:0;;8651:2:1;25664:75:0;;;8633:21:1;8690:2;8670:18;;;8663:30;8729:34;8709:18;;;8702:62;-1:-1:-1;;;8780:18:1;;;8773:41;8831:19;;25664:75:0;8449:407:1;25664:75:0;-1:-1:-1;;;;;;25765:19:0;;;;;:12;:19;;;;;:27;-1:-1:-1;;;;;25765:27:0;;25580:221::o;4365:94::-;3787:6;;-1:-1:-1;;;;;3787:6:0;2670:10;3934:23;3926:68;;;;-1:-1:-1;;;3926:68:0;;;;;;;:::i;:::-;4430:21:::1;4448:1;4430:9;:21::i;:::-;4365:94::o:0;40287:459::-;40349:10;;-1:-1:-1;;;40349:10:0;;;;40341:39;;;;-1:-1:-1;;;40341:39:0;;9063:2:1;40341:39:0;;;9045:21:1;9102:2;9082:18;;;9075:30;-1:-1:-1;;;9121:18:1;;;9114:46;9177:18;;40341:39:0;8861:340:1;40341:39:0;38891:2;40399:36;;;40391:68;;;;-1:-1:-1;;;40391:68:0;;9408:2:1;40391:68:0;;;9390:21:1;9447:2;9427:18;;;9420:30;-1:-1:-1;;;9466:18:1;;;9459:49;9525:18;;40391:68:0;9206:343:1;40391:68:0;40507:15;38720:4;40521:1;40507:15;:::i;:::-;40482:40;;40497:6;40482:12;;:21;;;;:::i;:::-;:40;;40474:71;;;;-1:-1:-1;;;40474:71:0;;10130:2:1;40474:71:0;;;10112:21:1;10169:2;10149:18;;;10142:30;-1:-1:-1;;;10188:18:1;;;10181:48;10246:18;;40474:71:0;9928:342:1;40474:71:0;40576:10;40564:23;;;;:11;:23;;;;;;38891:2;;40564:32;;40590:6;;40564:32;:::i;:::-;:62;;40556:98;;;;-1:-1:-1;;;40556:98:0;;10477:2:1;40556:98:0;;;10459:21:1;10516:2;10496:18;;;10489:30;10555:25;10535:18;;;10528:53;10598:18;;40556:98:0;10275:347:1;40556:98:0;40665:29;40675:10;40687:6;40665:9;:29::i;:::-;40717:10;40705:23;;;;:11;:23;;;;;:33;;40732:6;;40705:23;:33;;40732:6;;40705:33;:::i;:::-;;;;-1:-1:-1;;;40287:459:0:o;40754:419::-;40824:10;;-1:-1:-1;;;40824:10:0;;;;40816:39;;;;-1:-1:-1;;;40816:39:0;;9063:2:1;40816:39:0;;;9045:21:1;9102:2;9082:18;;;9075:30;-1:-1:-1;;;9121:18:1;;;9114:46;9177:18;;40816:39:0;8861:340:1;40816:39:0;40895:6;40887:5;;:14;;;;:::i;:::-;40874:9;:27;40866:56;;;;-1:-1:-1;;;40866:56:0;;11002:2:1;40866:56:0;;;10984:21:1;11041:2;11021:18;;;11014:30;-1:-1:-1;;;11060:18:1;;;11053:46;11116:18;;40866:56:0;10800:340:1;40866:56:0;38891:2;40951:36;;;40943:68;;;;-1:-1:-1;;;40943:68:0;;9408:2:1;40943:68:0;;;9390:21:1;9447:2;9427:18;;;9420:30;-1:-1:-1;;;9466:18:1;;;9459:49;9525:18;;40943:68:0;9206:343:1;40943:68:0;41030:12;;38720:4;;41030:21;;41045:6;;41030:21;:::i;:::-;:35;:78;;;;-1:-1:-1;41094:14:0;38769:5;41107:1;41094:14;:::i;:::-;41069:39;;41084:6;41069:12;;:21;;;;:::i;:::-;:39;;41030:78;41022:103;;;;-1:-1:-1;;;41022:103:0;;11347:2:1;41022:103:0;;;11329:21:1;11386:2;11366:18;;;11359:30;-1:-1:-1;;;11405:18:1;;;11398:42;11457:18;;41022:103:0;11145:336:1;41022:103:0;41136:29;41146:10;41158:6;41136:9;:29::i;39706:86::-;3787:6;;-1:-1:-1;;;;;3787:6:0;2670:10;3934:23;3926:68;;;;-1:-1:-1;;;3926:68:0;;;;;;;:::i;:::-;39770:5:::1;:14:::0;39706:86::o;27199:104::-;27255:13;27288:7;27281:14;;;;;:::i;28956:288::-;-1:-1:-1;;;;;29051:24:0;;2670:10;29051:24;;29043:63;;;;-1:-1:-1;;;29043:63:0;;11688:2:1;29043:63:0;;;11670:21:1;11727:2;11707:18;;;11700:30;11766:28;11746:18;;;11739:56;11812:18;;29043:63:0;11486:350:1;29043:63:0;2670:10;29119:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;29119:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;29119:53:0;;;;;;;;;;29188:48;;540:41:1;;;29119:42:0;;2670:10;29188:48;;513:18:1;29188:48:0;;;;;;;28956:288;;:::o;39801:132::-;3787:6;;-1:-1:-1;;;;;3787:6:0;2670:10;3934:23;3926:68;;;;-1:-1:-1;;;3926:68:0;;;;;;;:::i;:::-;39852:38:::1;39862:10;38827:3;39852:9;:38::i;:::-;39915:10;::::0;;-1:-1:-1;;;;39901:24:0;::::1;-1:-1:-1::0;;;39915:10:0;;;::::1;;;39914:11;39901:24:::0;;::::1;;::::0;;39801:132::o;30027:355::-;30186:28;30196:4;30202:2;30206:7;30186:9;:28::i;:::-;30247:48;30270:4;30276:2;30280:7;30289:5;30247:22;:48::i;:::-;30225:149;;;;-1:-1:-1;;;30225:149:0;;;;;;;:::i;:::-;30027:355;;;;:::o;27374:360::-;27447:13;27481:16;27489:7;27481;:16::i;:::-;27473:76;;;;-1:-1:-1;;;27473:76:0;;12463:2:1;27473:76:0;;;12445:21:1;12502:2;12482:18;;;12475:30;12541:34;12521:18;;;12514:62;-1:-1:-1;;;12592:18:1;;;12585:45;12647:19;;27473:76:0;12261:411:1;27473:76:0;27562:21;27586:10;:8;:10::i;:::-;27562:34;;27620:7;27614:21;27639:1;27614:26;;:112;;;;;;;;;;;;;;;;;27667:7;27692:18;:7;:16;:18::i;:::-;27650:70;;;;;;;;;:::i;:::-;;;;;;;;;;;;;27614:112;27607:119;27374:360;-1:-1:-1;;;27374:360:0:o;4614:192::-;3787:6;;-1:-1:-1;;;;;3787:6:0;2670:10;3934:23;3926:68;;;;-1:-1:-1;;;3926:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;4703:22:0;::::1;4695:73;;;::::0;-1:-1:-1;;;4695:73:0;;13670:2:1;4695:73:0::1;::::0;::::1;13652:21:1::0;13709:2;13689:18;;;13682:30;13748:34;13728:18;;;13721:62;-1:-1:-1;;;13799:18:1;;;13792:36;13845:19;;4695:73:0::1;13468:402:1::0;4695:73:0::1;4779:19;4789:8;4779:9;:19::i;30637:126::-:0;30694:4;30728:12;;30718:7;:22;:37;;;;-1:-1:-1;;30744:11:0;;;30637:126::o;35572:196::-;35687:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;35687:29:0;-1:-1:-1;;;;;35687:29:0;;;;;;;;;35732:28;;35687:24;;35732:28;;;;;;;35572:196;;;:::o;33452:2002::-;33567:35;33605:20;33617:7;33605:11;:20::i;:::-;33680:18;;33567:58;;-1:-1:-1;33638:22:0;;-1:-1:-1;;;;;33664:34:0;2670:10;-1:-1:-1;;;;;33664:34:0;;:87;;;-1:-1:-1;2670:10:0;33715:20;33727:7;33715:11;:20::i;:::-;-1:-1:-1;;;;;33715:36:0;;33664:87;:154;;;-1:-1:-1;33785:18:0;;33768:50;;2670:10;29315:164;:::i;33768:50::-;33638:181;;33840:17;33832:80;;;;-1:-1:-1;;;33832:80:0;;14077:2:1;33832:80:0;;;14059:21:1;14116:2;14096:18;;;14089:30;14155:34;14135:18;;;14128:62;-1:-1:-1;;;14206:18:1;;;14199:48;14264:19;;33832:80:0;13875:414:1;33832:80:0;33955:4;-1:-1:-1;;;;;33933:26:0;:13;:18;;;-1:-1:-1;;;;;33933:26:0;;33925:77;;;;-1:-1:-1;;;33925:77:0;;14496:2:1;33925:77:0;;;14478:21:1;14535:2;14515:18;;;14508:30;14574:34;14554:18;;;14547:62;-1:-1:-1;;;14625:18:1;;;14618:36;14671:19;;33925:77:0;14294:402:1;33925:77:0;-1:-1:-1;;;;;34021:16:0;;34013:66;;;;-1:-1:-1;;;34013:66:0;;14903:2:1;34013:66:0;;;14885:21:1;14942:2;14922:18;;;14915:30;14981:34;14961:18;;;14954:62;-1:-1:-1;;;15032:18:1;;;15025:35;15077:19;;34013:66:0;14701:401:1;34013:66:0;34200:49;34217:1;34221:7;34230:13;:18;;;34200:8;:49::i;:::-;-1:-1:-1;;;;;34545:18:0;;;;;;;:12;:18;;;;;;;;:31;;-1:-1:-1;;;;;;34545:31:0;;;-1:-1:-1;;;;;34545:31:0;;;-1:-1:-1;;34545:31:0;;;;;;;34591:16;;;;;;;;;:29;;;;;;;;-1:-1:-1;34591:29:0;;;;;;;;;;;;;34637:20;;;:11;:20;;;;;;:30;;-1:-1:-1;;;;;;34682:61:0;;;;-1:-1:-1;;;34727:15:0;34682:61;;;;;;35017:11;;;35047:24;;;;;:29;35017:11;;35047:29;35043:295;;35115:20;35123:11;35115:7;:20::i;:::-;35111:212;;;35192:18;;;35160:24;;;:11;:24;;;;;;;;:50;;35275:28;;;;35233:70;;-1:-1:-1;;;35233:70:0;-1:-1:-1;;;;;;35233:70:0;;;-1:-1:-1;;;;;35160:50:0;;;35233:70;;;;;;;35111:212;34520:829;35385:7;35381:2;-1:-1:-1;;;;;35366:27:0;35375:4;-1:-1:-1;;;;;35366:27:0;;;;;;;;;;;35404:42;33556:1898;;33452:2002;;;:::o;26240:537::-;-1:-1:-1;;;;;;;;;;;;;;;;;26343:16:0;26351:7;26343;:16::i;:::-;26335:71;;;;-1:-1:-1;;;26335:71:0;;15309:2:1;26335:71:0;;;15291:21:1;15348:2;15328:18;;;15321:30;15387:34;15367:18;;;15360:62;-1:-1:-1;;;15438:18:1;;;15431:40;15488:19;;26335:71:0;15107:406:1;26335:71:0;26464:7;26444:245;26511:31;26545:17;;;:11;:17;;;;;;;;;26511:51;;;;;;;;;-1:-1:-1;;;;;26511:51:0;;;;;-1:-1:-1;;;26511:51:0;;;;;;;;;;;;26585:28;26581:93;;26645:9;26240:537;-1:-1:-1;;;26240:537:0:o;26581:93::-;-1:-1:-1;;;26484:6:0;26444:245;;4814:173;4889:6;;;-1:-1:-1;;;;;4906:17:0;;;-1:-1:-1;;;;;;4906:17:0;;;;;;;4939:40;;4889:6;;;4906:17;4889:6;;4939:40;;4870:16;;4939:40;4859:128;4814:173;:::o;30771:104::-;30840:27;30850:2;30854:8;30840:27;;;;;;;;;;;;:9;:27::i;:::-;30771:104;;:::o;36333:804::-;36488:4;-1:-1:-1;;;;;36509:13:0;;5998:20;6046:8;36505:625;;36545:72;;-1:-1:-1;;;36545:72:0;;-1:-1:-1;;;;;36545:36:0;;;;;:72;;2670:10;;36596:4;;36602:7;;36611:5;;36545:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;36545:72:0;;;;;;;;-1:-1:-1;;36545:72:0;;;;;;;;;;;;:::i;:::-;;;36541:534;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;36791:13:0;;36787:273;;36834:61;;-1:-1:-1;;;36834:61:0;;;;;;;:::i;36787:273::-;37010:6;37004:13;36995:6;36991:2;36987:15;36980:38;36541:534;-1:-1:-1;;;;;;36668:55:0;-1:-1:-1;;;36668:55:0;;-1:-1:-1;36661:62:0;;36505:625;-1:-1:-1;37114:4:0;36505:625;36333:804;;;;;;:::o;27982:147::-;28033:13;28059:62;;;;;;;;;;;;;;;;;;;27982:147;:::o;289:723::-;345:13;566:10;562:53;;-1:-1:-1;;593:10:0;;;;;;;;;;;;-1:-1:-1;;;593:10:0;;;;;289:723::o;562:53::-;640:5;625:12;681:78;688:9;;681:78;;714:8;;;;:::i;:::-;;-1:-1:-1;737:10:0;;-1:-1:-1;745:2:0;737:10;;:::i;:::-;;;681:78;;;769:19;801:6;791:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;791:17:0;;769:39;;819:154;826:10;;819:154;;853:11;863:1;853:11;;:::i;:::-;;-1:-1:-1;922:10:0;930:2;922:5;:10;:::i;:::-;909:24;;:2;:24;:::i;:::-;896:39;;879:6;886;879:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;879:56:0;;;;;;;;-1:-1:-1;950:11:0;959:2;950:11;;:::i;:::-;;;819:154;;31238:163;31361:32;31367:2;31371:8;31381:5;31388:4;31799:20;31822:12;-1:-1:-1;;;;;31853:16:0;;31845:62;;;;-1:-1:-1;;;31845:62:0;;17530:2:1;31845:62:0;;;17512:21:1;17569:2;17549:18;;;17542:30;17608:34;17588:18;;;17581:62;-1:-1:-1;;;17659:18:1;;;17652:31;17700:19;;31845:62:0;17328:397:1;31845:62:0;31926:13;31918:66;;;;-1:-1:-1;;;31918:66:0;;17932:2:1;31918:66:0;;;17914:21:1;17971:2;17951:18;;;17944:30;18010:34;17990:18;;;17983:62;-1:-1:-1;;;18061:18:1;;;18054:38;18109:19;;31918:66:0;17730:404:1;31918:66:0;-1:-1:-1;;;;;32336:16:0;;;;;;:12;:16;;;;;;;;:45;;-1:-1:-1;;;;;;;;;32336:45:0;;-1:-1:-1;;;;;32336:45:0;;;;;;;;;;32396:50;;;;;;;;;;;;;;32463:25;;;:11;:25;;;;;:35;;-1:-1:-1;;;;;;32513:66:0;;;;-1:-1:-1;;;32563:15:0;32513:66;;;;;;;32463:25;;32648:415;32668:8;32664:1;:12;32648:415;;;32707:38;;32732:12;;-1:-1:-1;;;;;32707:38:0;;;32724:1;;32707:38;;32724:1;;32707:38;32768:4;32764:249;;;32831:59;32862:1;32866:2;32870:12;32884:5;32831:22;:59::i;:::-;32797:196;;;;-1:-1:-1;;;32797:196:0;;;;;;;:::i;:::-;33033:14;;;;;32678:3;32648:415;;;-1:-1:-1;33079:12:0;:27;33130:60;30027:355;14:131:1;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:258::-;664:1;674:113;688:6;685:1;682:13;674:113;;;764:11;;;758:18;745:11;;;738:39;710:2;703:10;674:113;;;805:6;802:1;799:13;796:48;;;-1:-1:-1;;840:1:1;822:16;;815:27;592:258::o;855:::-;897:3;935:5;929:12;962:6;957:3;950:19;978:63;1034:6;1027:4;1022:3;1018:14;1011:4;1004:5;1000:16;978:63;:::i;:::-;1095:2;1074:15;-1:-1:-1;;1070:29:1;1061:39;;;;1102:4;1057:50;;855:258;-1:-1:-1;;855:258:1:o;1118:220::-;1267:2;1256:9;1249:21;1230:4;1287:45;1328:2;1317:9;1313:18;1305:6;1287:45;:::i;1343:180::-;1402:6;1455:2;1443:9;1434:7;1430:23;1426:32;1423:52;;;1471:1;1468;1461:12;1423:52;-1:-1:-1;1494:23:1;;1343:180;-1:-1:-1;1343:180:1:o;1736:173::-;1804:20;;-1:-1:-1;;;;;1853:31:1;;1843:42;;1833:70;;1899:1;1896;1889:12;1833:70;1736:173;;;:::o;1914:254::-;1982:6;1990;2043:2;2031:9;2022:7;2018:23;2014:32;2011:52;;;2059:1;2056;2049:12;2011:52;2082:29;2101:9;2082:29;:::i;:::-;2072:39;2158:2;2143:18;;;;2130:32;;-1:-1:-1;;;1914:254:1:o;2355:328::-;2432:6;2440;2448;2501:2;2489:9;2480:7;2476:23;2472:32;2469:52;;;2517:1;2514;2507:12;2469:52;2540:29;2559:9;2540:29;:::i;:::-;2530:39;;2588:38;2622:2;2611:9;2607:18;2588:38;:::i;:::-;2578:48;;2673:2;2662:9;2658:18;2645:32;2635:42;;2355:328;;;;;:::o;2893:186::-;2952:6;3005:2;2993:9;2984:7;2980:23;2976:32;2973:52;;;3021:1;3018;3011:12;2973:52;3044:29;3063:9;3044:29;:::i;3084:347::-;3149:6;3157;3210:2;3198:9;3189:7;3185:23;3181:32;3178:52;;;3226:1;3223;3216:12;3178:52;3249:29;3268:9;3249:29;:::i;:::-;3239:39;;3328:2;3317:9;3313:18;3300:32;3375:5;3368:13;3361:21;3354:5;3351:32;3341:60;;3397:1;3394;3387:12;3341:60;3420:5;3410:15;;;3084:347;;;;;:::o;3436:127::-;3497:10;3492:3;3488:20;3485:1;3478:31;3528:4;3525:1;3518:15;3552:4;3549:1;3542:15;3568:1138;3663:6;3671;3679;3687;3740:3;3728:9;3719:7;3715:23;3711:33;3708:53;;;3757:1;3754;3747:12;3708:53;3780:29;3799:9;3780:29;:::i;:::-;3770:39;;3828:38;3862:2;3851:9;3847:18;3828:38;:::i;:::-;3818:48;;3913:2;3902:9;3898:18;3885:32;3875:42;;3968:2;3957:9;3953:18;3940:32;3991:18;4032:2;4024:6;4021:14;4018:34;;;4048:1;4045;4038:12;4018:34;4086:6;4075:9;4071:22;4061:32;;4131:7;4124:4;4120:2;4116:13;4112:27;4102:55;;4153:1;4150;4143:12;4102:55;4189:2;4176:16;4211:2;4207;4204:10;4201:36;;;4217:18;;:::i;:::-;4292:2;4286:9;4260:2;4346:13;;-1:-1:-1;;4342:22:1;;;4366:2;4338:31;4334:40;4322:53;;;4390:18;;;4410:22;;;4387:46;4384:72;;;4436:18;;:::i;:::-;4476:10;4472:2;4465:22;4511:2;4503:6;4496:18;4551:7;4546:2;4541;4537;4533:11;4529:20;4526:33;4523:53;;;4572:1;4569;4562:12;4523:53;4628:2;4623;4619;4615:11;4610:2;4602:6;4598:15;4585:46;4673:1;4668:2;4663;4655:6;4651:15;4647:24;4640:35;4694:6;4684:16;;;;;;;3568:1138;;;;;;;:::o;4711:260::-;4779:6;4787;4840:2;4828:9;4819:7;4815:23;4811:32;4808:52;;;4856:1;4853;4846:12;4808:52;4879:29;4898:9;4879:29;:::i;:::-;4869:39;;4927:38;4961:2;4950:9;4946:18;4927:38;:::i;:::-;4917:48;;4711:260;;;;;:::o;4976:380::-;5055:1;5051:12;;;;5098;;;5119:61;;5173:4;5165:6;5161:17;5151:27;;5119:61;5226:2;5218:6;5215:14;5195:18;5192:38;5189:161;;;5272:10;5267:3;5263:20;5260:1;5253:31;5307:4;5304:1;5297:15;5335:4;5332:1;5325:15;5189:161;;4976:380;;;:::o;6604:127::-;6665:10;6660:3;6656:20;6653:1;6646:31;6696:4;6693:1;6686:15;6720:4;6717:1;6710:15;6736:125;6776:4;6804:1;6801;6798:8;6795:34;;;6809:18;;:::i;:::-;-1:-1:-1;6846:9:1;;6736:125::o;7684:356::-;7886:2;7868:21;;;7905:18;;;7898:30;7964:34;7959:2;7944:18;;7937:62;8031:2;8016:18;;7684:356::o;9554:236::-;9593:3;9621:18;9666:2;9663:1;9659:10;9696:2;9693:1;9689:10;9727:3;9723:2;9719:12;9714:3;9711:21;9708:47;;;9735:18;;:::i;:::-;9771:13;;9554:236;-1:-1:-1;;;;9554:236:1:o;9795:128::-;9835:3;9866:1;9862:6;9859:1;9856:13;9853:39;;;9872:18;;:::i;:::-;-1:-1:-1;9908:9:1;;9795:128::o;10627:168::-;10667:7;10733:1;10729;10725:6;10721:14;10718:1;10715:21;10710:1;10703:9;10696:17;10692:45;10689:71;;;10740:18;;:::i;:::-;-1:-1:-1;10780:9:1;;10627:168::o;11841:415::-;12043:2;12025:21;;;12082:2;12062:18;;;12055:30;12121:34;12116:2;12101:18;;12094:62;-1:-1:-1;;;12187:2:1;12172:18;;12165:49;12246:3;12231:19;;11841:415::o;12677:786::-;13058:3;13096:6;13090:13;13112:53;13158:6;13153:3;13146:4;13138:6;13134:17;13112:53;:::i;:::-;-1:-1:-1;;;13187:16:1;;;13212:29;;;13266:13;;13288:66;13266:13;13340:2;13329:14;;13322:4;13310:17;;13288:66;:::i;:::-;-1:-1:-1;;;13417:2:1;13373:20;;;;13409:11;;;13402:28;13454:2;13446:11;;12677:786;-1:-1:-1;;;;12677:786:1:o;15934:489::-;-1:-1:-1;;;;;16203:15:1;;;16185:34;;16255:15;;16250:2;16235:18;;16228:43;16302:2;16287:18;;16280:34;;;16350:3;16345:2;16330:18;;16323:31;;;16128:4;;16371:46;;16397:19;;16389:6;16371:46;:::i;:::-;16363:54;15934:489;-1:-1:-1;;;;;;15934:489:1:o;16428:249::-;16497:6;16550:2;16538:9;16529:7;16525:23;16521:32;16518:52;;;16566:1;16563;16556:12;16518:52;16598:9;16592:16;16617:30;16641:5;16617:30;:::i;16682:135::-;16721:3;-1:-1:-1;;16742:17:1;;16739:43;;;16762:18;;:::i;:::-;-1:-1:-1;16809:1:1;16798:13;;16682:135::o;16822:127::-;16883:10;16878:3;16874:20;16871:1;16864:31;16914:4;16911:1;16904:15;16938:4;16935:1;16928:15;16954:120;16994:1;17020;17010:35;;17025:18;;:::i;:::-;-1:-1:-1;17059:9:1;;16954:120::o;17079:112::-;17111:1;17137;17127:35;;17142:18;;:::i;:::-;-1:-1:-1;17176:9:1;;17079:112::o;17196:127::-;17257:10;17252:3;17248:20;17245:1;17238:31;17288:4;17285:1;17278:15;17312:4;17309:1;17302:15

Swarm Source

ipfs://2309d6d48b441f15fe92fe786a20c836963e1806ae156cd9e37513ee870681ee

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

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

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