ETH Price: $3,165.35 (+3.37%)

Contract

0x95e81f4e0dF5d2ef5581F8870262ED576135f99b
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Transaction Hash
Method
Block
From
To
Admin Withdraw T...147058102022-05-03 16:48:55930 days ago1651596535IN
0x95e81f4e...76135f99b
0 ETH0.0020328744.2718845
Admin Withdraw T...147058102022-05-03 16:48:55930 days ago1651596535IN
0x95e81f4e...76135f99b
0 ETH0.0020323444.2718845
Admin Withdraw T...147058102022-05-03 16:48:55930 days ago1651596535IN
0x95e81f4e...76135f99b
0 ETH0.0021109244.2718845
Admin Withdraw T...147058102022-05-03 16:48:55930 days ago1651596535IN
0x95e81f4e...76135f99b
0 ETH0.0021109244.2718845
Admin Withdraw T...147058102022-05-03 16:48:55930 days ago1651596535IN
0x95e81f4e...76135f99b
0 ETH0.0021109244.2718845
Admin Withdraw T...144059732022-03-17 19:52:27977 days ago1647546747IN
0x95e81f4e...76135f99b
0 ETH0.0015616755.37851978
Admin Withdraw T...144059502022-03-17 19:47:09977 days ago1647546429IN
0x95e81f4e...76135f99b
0 ETH0.0037338381.31524443
Claim141985162022-02-13 15:14:201009 days ago1644765260IN
0x95e81f4e...76135f99b
0 ETH0.0014338937.996178
Claim141984952022-02-13 15:10:471009 days ago1644765047IN
0x95e81f4e...76135f99b
0 ETH0.001581341.90224297
Claim141935092022-02-12 20:43:481010 days ago1644698628IN
0x95e81f4e...76135f99b
0 ETH0.0030502880.85358836
Claim141653052022-02-08 12:01:291014 days ago1644321689IN
0x95e81f4e...76135f99b
0 ETH0.0068432362.44056379
Claim Pay141507322022-02-06 6:04:421016 days ago1644127482IN
0x95e81f4e...76135f99b
0.05 ETH0.0052411242.27906706
Claim141396372022-02-04 12:53:371018 days ago1643979217IN
0x95e81f4e...76135f99b
0 ETH0.0054719449.11758961
Claim141395932022-02-04 12:41:551018 days ago1643978515IN
0x95e81f4e...76135f99b
0 ETH0.0054715649.89572469
Claim141391882022-02-04 11:17:151018 days ago1643973435IN
0x95e81f4e...76135f99b
0 ETH0.0062161755.36657909
Claim141276982022-02-02 16:30:221020 days ago1643819422IN
0x95e81f4e...76135f99b
0 ETH0.0187303170.88444402
Claim Pay141245292022-02-02 4:39:511020 days ago1643776791IN
0x95e81f4e...76135f99b
0.025 ETH0.01531605124.47424948
Claim Pay141245242022-02-02 4:38:141020 days ago1643776694IN
0x95e81f4e...76135f99b
0.05 ETH0.012053897.27796341
Claim Pay141245042022-02-02 4:34:251020 days ago1643776465IN
0x95e81f4e...76135f99b
0.025 ETH0.01919985152.75075566
Claim Pay141244992022-02-02 4:32:391020 days ago1643776359IN
0x95e81f4e...76135f99b
0.05 ETH0.01621228128.99240384
Claim Pay141112072022-01-31 3:23:541022 days ago1643599434IN
0x95e81f4e...76135f99b
0.025 ETH0.0102059382.96425673
Claim Pay141112052022-01-31 3:23:331022 days ago1643599413IN
0x95e81f4e...76135f99b
0.05 ETH0.0114419892.34336967
Claim141112052022-01-31 3:23:331022 days ago1643599413IN
0x95e81f4e...76135f99b
0 ETH0.0101213892.34336967
Claim Pay141075042022-01-30 13:51:381023 days ago1643550698IN
0x95e81f4e...76135f99b
0.025 ETH0.0100340684.00078092
Claim Pay141065502022-01-30 10:20:291023 days ago1643538029IN
0x95e81f4e...76135f99b
0.025 ETH0.0105926386.13158125
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To
141507322022-02-06 6:04:421016 days ago1644127482
0x95e81f4e...76135f99b
0.05 ETH
141245292022-02-02 4:39:511020 days ago1643776791
0x95e81f4e...76135f99b
0.025 ETH
141245242022-02-02 4:38:141020 days ago1643776694
0x95e81f4e...76135f99b
0.05 ETH
141245042022-02-02 4:34:251020 days ago1643776465
0x95e81f4e...76135f99b
0.025 ETH
141244992022-02-02 4:32:391020 days ago1643776359
0x95e81f4e...76135f99b
0.05 ETH
141112072022-01-31 3:23:541022 days ago1643599434
0x95e81f4e...76135f99b
0.025 ETH
141112052022-01-31 3:23:331022 days ago1643599413
0x95e81f4e...76135f99b
0.05 ETH
141075042022-01-30 13:51:381023 days ago1643550698
0x95e81f4e...76135f99b
0.025 ETH
141065502022-01-30 10:20:291023 days ago1643538029
0x95e81f4e...76135f99b
0.025 ETH
141065492022-01-30 10:20:271023 days ago1643538027
0x95e81f4e...76135f99b
0.05 ETH
141065322022-01-30 10:14:331023 days ago1643537673
0x95e81f4e...76135f99b
0.025 ETH
141065272022-01-30 10:12:281023 days ago1643537548
0x95e81f4e...76135f99b
0.05 ETH
141016822022-01-29 16:18:121024 days ago1643473092
0x95e81f4e...76135f99b
0.025 ETH
141016822022-01-29 16:18:121024 days ago1643473092
0x95e81f4e...76135f99b
0.05 ETH
140992502022-01-29 7:07:521024 days ago1643440072
0x95e81f4e...76135f99b
0.025 ETH
140992452022-01-29 7:07:301024 days ago1643440050
0x95e81f4e...76135f99b
0.05 ETH
140974892022-01-29 0:40:181024 days ago1643416818
0x95e81f4e...76135f99b
0.025 ETH
140974882022-01-29 0:40:091024 days ago1643416809
0x95e81f4e...76135f99b
0.05 ETH
140943532022-01-28 13:11:131025 days ago1643375473
0x95e81f4e...76135f99b
0.025 ETH
140943502022-01-28 13:10:451025 days ago1643375445
0x95e81f4e...76135f99b
0.05 ETH
140933682022-01-28 9:34:011025 days ago1643362441
0x95e81f4e...76135f99b
0.05 ETH
140867422022-01-27 8:52:321026 days ago1643273552
0x95e81f4e...76135f99b
0.05 ETH
140821082022-01-26 15:34:241027 days ago1643211264
0x95e81f4e...76135f99b
0.025 ETH
140821072022-01-26 15:34:111027 days ago1643211251
0x95e81f4e...76135f99b
0.05 ETH
140812832022-01-26 12:39:021027 days ago1643200742
0x95e81f4e...76135f99b
0.05 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
AirDropperErc1155

Compiler Version
v0.8.11+commit.d7f03943

Optimization Enabled:
Yes with 300 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-01-11
*/

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


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

pragma solidity ^0.8.0;

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

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


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

pragma solidity ^0.8.0;

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

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


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

pragma solidity ^0.8.0;


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

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


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

pragma solidity ^0.8.0;


/**
 * @dev _Available since v3.1._
 */
interface IERC1155Receiver is IERC165 {
    /**
        @dev Handles the receipt of a single ERC1155 token type. This function is
        called at the end of a `safeTransferFrom` after the balance has been updated.
        To accept the transfer, this must return
        `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))`
        (i.e. 0xf23a6e61, or its own function selector).
        @param operator The address which initiated the transfer (i.e. msg.sender)
        @param from The address which previously owned the token
        @param id The ID of the token being transferred
        @param value The amount of tokens being transferred
        @param data Additional data with no specified format
        @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed
    */
    function onERC1155Received(
        address operator,
        address from,
        uint256 id,
        uint256 value,
        bytes calldata data
    ) external returns (bytes4);

    /**
        @dev Handles the receipt of a multiple ERC1155 token types. This function
        is called at the end of a `safeBatchTransferFrom` after the balances have
        been updated. To accept the transfer(s), this must return
        `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))`
        (i.e. 0xbc197c81, or its own function selector).
        @param operator The address which initiated the batch transfer (i.e. msg.sender)
        @param from The address which previously owned the token
        @param ids An array containing ids of each token being transferred (order and length must match values array)
        @param values An array containing amounts of each token being transferred (order and length must match ids array)
        @param data Additional data with no specified format
        @return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` if transfer is allowed
    */
    function onERC1155BatchReceived(
        address operator,
        address from,
        uint256[] calldata ids,
        uint256[] calldata values,
        bytes calldata data
    ) external returns (bytes4);
}

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


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

pragma solidity ^0.8.0;



/**
 * @dev _Available since v3.1._
 */
abstract contract ERC1155Receiver is ERC165, IERC1155Receiver {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {
        return interfaceId == type(IERC1155Receiver).interfaceId || super.supportsInterface(interfaceId);
    }
}

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


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

pragma solidity ^0.8.0;


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

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

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

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

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

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

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

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

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

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

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


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

pragma solidity ^0.8.0;


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

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


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

pragma solidity ^0.8.0;

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

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

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


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

pragma solidity ^0.8.0;







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

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

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

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

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

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

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

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

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

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

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

        return batchBalances;
    }

    /**
     * @dev See {IERC1155-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        _setApprovalForAll(_msgSender(), operator, approved);
    }

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

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

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

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

        address operator = _msgSender();

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

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

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

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

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

        address operator = _msgSender();

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

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

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

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

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

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

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

        address operator = _msgSender();

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

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

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

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

        address operator = _msgSender();

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

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

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

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

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

        address operator = _msgSender();

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

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

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

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

        address operator = _msgSender();

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

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

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

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

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

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

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

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

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

        return array;
    }
}

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


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

pragma solidity ^0.8.0;


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

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

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

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

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

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

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

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


// OpenZeppelin Contracts v4.4.1 (utils/math/SafeMath.sol)

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

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

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

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

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

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

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

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

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

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

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

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

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

// File: @openzeppelin/contracts/utils/cryptography/MerkleProof.sol


// OpenZeppelin Contracts v4.4.1 (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Trees proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProof(proof, leaf) == root;
    }

    /**
     * @dev Returns the rebuilt hash obtained by traversing a Merklee tree up
     * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt
     * hash matches the root of the tree. When processing the proof, the pairs
     * of leafs & pre-images are assumed to be sorted.
     *
     * _Available since v4.4._
     */
    function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            bytes32 proofElement = proof[i];
            if (computedHash <= proofElement) {
                // Hash(current computed hash + current element of the proof)
                computedHash = keccak256(abi.encodePacked(computedHash, proofElement));
            } else {
                // Hash(current element of the proof + current computed hash)
                computedHash = keccak256(abi.encodePacked(proofElement, computedHash));
            }
        }
        return computedHash;
    }
}

// File: contracts/AD2.sol


pragma solidity >= 0.8.9;






contract AirDropperErc1155 is Ownable, ERC1155Receiver {

    uint256 public constant DEFAULT_AIRDROP_EXPIRATION = 90 * 24 * 60 * 60;
    uint256 public constant DEFAULT_ADMIN_WITHDRAWAL  = 30 * 24 * 60 * 60;

    struct AirDrop {
        ERC1155 token;              
        uint256 tokenId;
        uint64 expirationTimestamp; 
        bytes32 merkleRoot;
        uint256 amount;
        address creator;
        bool paidable;
        uint256 piecePrice;
        address payout;
        mapping(uint256 => uint256) claimedBitMap;
    }

    mapping(uint256 => AirDrop) public airDrops;
    mapping(uint256 => bool) public isPaused;


    function addErc1155Airdrop(
        uint256 airdropId,
        ERC1155 token,
        uint256 tokenId,
        uint256 amount,
        bytes32 merkleRoot,
        uint256 expirationSeconds,
        bool paidable,
        uint256 piecePrice,
        address payout
    )
    external
    {
        require(!isPaused[0], "Paused");

        AirDrop storage airDrop = airDrops[airdropId];
        require(address(airDrop.token) == address(0), "Airdrop already exists");
      

        token.safeTransferFrom(msg.sender, address(this), tokenId, amount, "");
        airDrop.token = token;
        airDrop.tokenId = tokenId;
        airDrop.creator = msg.sender;
        airDrop.merkleRoot = merkleRoot;
        airDrop.amount = amount;
        airDrop.paidable = paidable;
        airDrop.piecePrice = piecePrice;
        airDrop.payout = payout;

        if (expirationSeconds > 0) {
            airDrop.expirationTimestamp = uint64(block.timestamp + expirationSeconds);
        } else {
            airDrop.expirationTimestamp = uint64(block.timestamp + DEFAULT_AIRDROP_EXPIRATION);
        }
        emit AddedAirdrop(airdropId, token, tokenId, amount, paidable);
    }

    function isClaimed(uint256 airdropId, uint256 index) public view returns (bool) {
        // to save the gas, whether user claim the token is stored in bitmap
        uint256 claimedWordIndex = index / 256;
        uint256 claimedBitIndex = index % 256;
        AirDrop storage airDrop = airDrops[airdropId];
        uint256 claimedWord = airDrop.claimedBitMap[claimedWordIndex];
        uint256 mask = (1 << claimedBitIndex);
        return claimedWord & mask == mask;
    }

    function _setClaimed(uint256 airdropId, uint256 index) private {
        uint256 claimedWordIndex = index / 256;
        uint256 claimedBitIndex = index % 256;
        AirDrop storage airDrop = airDrops[airdropId];
        airDrop.claimedBitMap[claimedWordIndex] = airDrop.claimedBitMap[claimedWordIndex] | (1 << claimedBitIndex);
    }

    function claim(
        uint256 airdropId,
        uint256 index,
        address payable account,
        uint256 amount,
        bytes32[] calldata merkleProof
    )
    external
    {
        require(!isPaused[1], "Paused");
        AirDrop storage airDrop = airDrops[airdropId];

        require(airDrop.paidable != true, "This piece is not claimable");
        require(address(airDrop.token) != address(0), "Airdrop with given ID doesn't exists");
        require(!isClaimed(airdropId, index), "Account already claimed");
        require(block.timestamp <= airDrop.expirationTimestamp, "Airdrop expired");

        // Verify the merkle proof.
        bytes32 node = keccak256(abi.encodePacked(msg.sender));
        require(MerkleProof.verify(merkleProof, airDrop.merkleRoot, node), "Invalid Merkle-proof");

        airDrop.amount = airDrop.amount - amount;
        // Mark it claimed and send the token.
        _setClaimed(airdropId, index);
        airDrop.token.safeTransferFrom(address(this), account, airDrop.tokenId, amount, "");

        emit Claimed(airdropId, index, account, amount);
    }

    function claimPay (
        uint256 airdropId,
        uint256 index,
        address account,
        uint256 amount,
        bytes32[] calldata merkleProof
    )
    external payable
    {
        require(!isPaused[1], "Paused");

        AirDrop storage airDrop = airDrops[airdropId];

        require(msg.value >= airDrop.piecePrice * amount, "Ether value sent is below the price");

        require(address(airDrop.token) != address(0), "Airdrop with given ID doesn't exists");
        require(!isClaimed(airdropId, index), "Account already claimed");
        require(block.timestamp <= airDrop.expirationTimestamp, "Airdrop expired");

        // Verify the merkle proof.
        bytes32 node = keccak256(abi.encodePacked(msg.sender));
        require(MerkleProof.verify(merkleProof, airDrop.merkleRoot, node), "Invalid Merkle-proof");

        airDrop.amount = airDrop.amount - amount;
        // Mark it claimed and send the token.
        _setClaimed(airdropId, index);
        payable(airDrop.payout).transfer(airDrop.piecePrice);
        airDrop.token.safeTransferFrom(address(this), account, airDrop.tokenId, 1, "");

        emit Claimed(airdropId, index, account, amount);
    }

   function adminWithdrawTokensFromExpiredAirdrop(uint256 airdropId) external onlyOwner {
        AirDrop storage airDrop = airDrops[airdropId];
        require(address(airDrop.token) != address(0), "Airdrop with given Id doesn't exists");
        require(airDrop.expirationTimestamp + DEFAULT_ADMIN_WITHDRAWAL < block.timestamp,
            "need to wait creator withdrawal expiration");
        require(airDrop.amount > 0, "Airdrop balance is empty");
        uint256 amount = airDrop.amount;
        airDrop.amount = 0;
        airDrop.token.safeTransferFrom(address(this), msg.sender, airDrop.tokenId, amount, "");
    }

    receive() external payable {
        emit Received(msg.sender, msg.value);
    }
  

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

    function setPause(uint256 i, bool _isPaused) onlyOwner external {
        isPaused[i] = _isPaused;
    }

    event AddedAirdrop(uint256 airdropId, ERC1155 token, uint256 tokenId, uint256 amount, bool paidable);
    event Claimed(uint256 airdropId, uint256 index, address account, uint256 amount);
    event Received(address, uint);

    /**
    * @dev See {IERC165-supportsInterface}.
    */
    function onERC1155Received(
        address operator,
        address from,
        uint256 id,
        uint256 value,
        bytes calldata data
    )
    external
    override
    returns (bytes4)
    {
        return this.onERC1155Received.selector;
    }

    function onERC1155BatchReceived(
        address operator,
        address from,
        uint256[] calldata ids,
        uint256[] calldata values,
        bytes calldata data
    )
    external
    override
    returns (bytes4)
    {
        return this.onERC1155BatchReceived.selector;
    }

}

Contract Security Audit

Contract ABI

[{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"airdropId","type":"uint256"},{"indexed":false,"internalType":"contract ERC1155","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"bool","name":"paidable","type":"bool"}],"name":"AddedAirdrop","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"airdropId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"index","type":"uint256"},{"indexed":false,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Claimed","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":false,"internalType":"address","name":"","type":"address"},{"indexed":false,"internalType":"uint256","name":"","type":"uint256"}],"name":"Received","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_WITHDRAWAL","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DEFAULT_AIRDROP_EXPIRATION","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"airdropId","type":"uint256"},{"internalType":"contract ERC1155","name":"token","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes32","name":"merkleRoot","type":"bytes32"},{"internalType":"uint256","name":"expirationSeconds","type":"uint256"},{"internalType":"bool","name":"paidable","type":"bool"},{"internalType":"uint256","name":"piecePrice","type":"uint256"},{"internalType":"address","name":"payout","type":"address"}],"name":"addErc1155Airdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"airdropId","type":"uint256"}],"name":"adminWithdrawTokensFromExpiredAirdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"airDrops","outputs":[{"internalType":"contract ERC1155","name":"token","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint64","name":"expirationTimestamp","type":"uint64"},{"internalType":"bytes32","name":"merkleRoot","type":"bytes32"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"creator","type":"address"},{"internalType":"bool","name":"paidable","type":"bool"},{"internalType":"uint256","name":"piecePrice","type":"uint256"},{"internalType":"address","name":"payout","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"airdropId","type":"uint256"},{"internalType":"uint256","name":"index","type":"uint256"},{"internalType":"address payable","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"airdropId","type":"uint256"},{"internalType":"uint256","name":"index","type":"uint256"},{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"claimPay","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"airdropId","type":"uint256"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"isClaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"isPaused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"address","name":"from","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"values","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"onERC1155BatchReceived","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"address","name":"from","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"onERC1155Received","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"i","type":"uint256"},{"internalType":"bool","name":"_isPaused","type":"bool"}],"name":"setPause","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":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

608060405234801561001057600080fd5b5061001a3361001f565b61006f565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b61182a8061007e6000396000f3fe6080604052600436106101025760003560e01c8063715018a611610095578063bdf2a43c11610064578063bdf2a43c146103b8578063e941fa78146103e8578063f23a6e61146103fd578063f2fde38b1461042a578063f364c90c1461044a57600080fd5b8063715018a61461031c5780638da5cb5b14610331578063a3e82b1314610359578063bc197c811461037057600080fd5b80634903a879116100d15780634903a879146101d05780634cef7bcd146101f55780635d4df3bf146102dc57806360269ee8146102fc57600080fd5b806301ffc9a714610146578063116d86971461017b5780632e25368114610190578063355b7ce4146101b057600080fd5b3661014157604080513381523460208201527f88a5966d370b9919b20f3e2c13ff65706f196a4e32cc2c12bf57088f88525874910160405180910390a1005b600080fd5b34801561015257600080fd5b506101666101613660046112f8565b61046a565b60405190151581526020015b60405180910390f35b61018e61018936600461138a565b6104a1565b005b34801561019c57600080fd5b5061018e6101ab366004611412565b61082d565b3480156101bc57600080fd5b5061018e6101cb36600461143e565b610895565b3480156101dc57600080fd5b506101e76276a70081565b604051908152602001610172565b34801561020157600080fd5b5061027a61021036600461143e565b6001602081905260009182526040909120805491810154600282015460038301546004840154600585015460068601546007909601546001600160a01b0397881697959667ffffffffffffffff909516959394929380831693600160a01b90930460ff1692911689565b604080516001600160a01b039a8b168152602081019990995267ffffffffffffffff9097169688019690965260608701949094526080860192909252851660a0850152151560c084015260e08301529190911661010082015261012001610172565b3480156102e857600080fd5b5061018e6102f736600461138a565b610a9c565b34801561030857600080fd5b5061018e610317366004611457565b610d50565b34801561032857600080fd5b5061018e610fca565b34801561033d57600080fd5b506000546040516001600160a01b039091168152602001610172565b34801561036557600080fd5b506101e762278d0081565b34801561037c57600080fd5b5061039f61038b36600461151d565b63bc197c8160e01b98975050505050505050565b6040516001600160e01b03199091168152602001610172565b3480156103c457600080fd5b506101666103d336600461143e565b60026020526000908152604090205460ff1681565b3480156103f457600080fd5b5061018e61101e565b34801561040957600080fd5b5061039f6104183660046115dc565b63f23a6e6160e01b9695505050505050565b34801561043657600080fd5b5061018e610445366004611646565b611095565b34801561045657600080fd5b50610166610465366004611663565b61114b565b60006001600160e01b03198216630271189760e51b148061049b57506301ffc9a760e01b6001600160e01b03198316145b92915050565b600160005260026020527fe90b7bceb6e7df5418fb78d8ee546e97c83a08bbccc01a0644d599ccd2a7c2e05460ff161561050b5760405162461bcd60e51b815260206004820152600660248201526514185d5cd95960d21b60448201526064015b60405180910390fd5b6000868152600160205260409020600681015461052990859061169b565b3410156105845760405162461bcd60e51b815260206004820152602360248201527f45746865722076616c75652073656e742069732062656c6f772074686520707260448201526269636560e81b6064820152608401610502565b80546001600160a01b03166105ab5760405162461bcd60e51b8152600401610502906116ba565b6105b5878761114b565b156105fc5760405162461bcd60e51b81526020600482015260176024820152761058d8dbdd5b9d08185b1c9958591e4818db185a5b5959604a1b6044820152606401610502565b600281015467ffffffffffffffff1642111561064c5760405162461bcd60e51b815260206004820152600f60248201526e105a5c991c9bdc08195e1c1a5c9959608a1b6044820152606401610502565b6040516bffffffffffffffffffffffff193360601b1660208201526000906034016040516020818303038152906040528051906020012090506106c6848480806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250505050600384015483611199565b6107095760405162461bcd60e51b815260206004820152601460248201527324b73b30b634b21026b2b935b63296b83937b7b360611b6044820152606401610502565b84826004015461071991906116fe565b600483015561072888886111af565b600782015460068301546040516001600160a01b039092169181156108fc0291906000818181858888f19350505050158015610768573d6000803e3d6000fd5b508154600180840154604051637921219560e11b81526001600160a01b039093169263f242432a926107a19230928c9290600401611715565b600060405180830381600087803b1580156107bb57600080fd5b505af11580156107cf573d6000803e3d6000fd5b5050604080518b8152602081018b90526001600160a01b038a16818301526060810189905290517fb94bf7f9302edf52a596286915a69b4b0685574cffdedd0712e3c62f2550f0ba9350908190036080019150a15050505050505050565b6000546001600160a01b031633146108755760405162461bcd60e51b815260206004820181905260248201526000805160206117d58339815191526044820152606401610502565b600091825260026020526040909120805460ff1916911515919091179055565b6000546001600160a01b031633146108dd5760405162461bcd60e51b815260206004820181905260248201526000805160206117d58339815191526044820152606401610502565b600081815260016020526040902080546001600160a01b031661094e5760405162461bcd60e51b8152602060048201526024808201527f41697264726f70207769746820676976656e20496420646f65736e27742065786044820152636973747360e01b6064820152608401610502565b6002810154429061096d9062278d009067ffffffffffffffff1661174d565b106109cd5760405162461bcd60e51b815260206004820152602a60248201527f6e65656420746f20776169742063726561746f72207769746864726177616c2060448201526932bc3834b930ba34b7b760b11b6064820152608401610502565b6000816004015411610a215760405162461bcd60e51b815260206004820152601860248201527f41697264726f702062616c616e636520697320656d70747900000000000000006044820152606401610502565b60048082018054600090915582546001840154604051637921219560e11b815292936001600160a01b039092169263f242432a92610a659230923392889101611715565b600060405180830381600087803b158015610a7f57600080fd5b505af1158015610a93573d6000803e3d6000fd5b50505050505050565b600160005260026020527fe90b7bceb6e7df5418fb78d8ee546e97c83a08bbccc01a0644d599ccd2a7c2e05460ff1615610b015760405162461bcd60e51b815260206004820152600660248201526514185d5cd95960d21b6044820152606401610502565b600086815260016020819052604090912060058101549091600160a01b90910460ff1615151415610b745760405162461bcd60e51b815260206004820152601b60248201527f54686973207069656365206973206e6f7420636c61696d61626c6500000000006044820152606401610502565b80546001600160a01b0316610b9b5760405162461bcd60e51b8152600401610502906116ba565b610ba5878761114b565b15610bec5760405162461bcd60e51b81526020600482015260176024820152761058d8dbdd5b9d08185b1c9958591e4818db185a5b5959604a1b6044820152606401610502565b600281015467ffffffffffffffff16421115610c3c5760405162461bcd60e51b815260206004820152600f60248201526e105a5c991c9bdc08195e1c1a5c9959608a1b6044820152606401610502565b6040516bffffffffffffffffffffffff193360601b166020820152600090603401604051602081830303815290604052805190602001209050610cb6848480806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250505050600384015483611199565b610cf95760405162461bcd60e51b815260206004820152601460248201527324b73b30b634b21026b2b935b63296b83937b7b360611b6044820152606401610502565b848260040154610d0991906116fe565b6004830155610d1888886111af565b81546001830154604051637921219560e11b81526001600160a01b039092169163f242432a916107a19130918b918b90600401611715565b6000805260026020527fac33ff75c19e70fe83507db0d683fd3465c996598dc972688b7ace676c89077b5460ff1615610db45760405162461bcd60e51b815260206004820152600660248201526514185d5cd95960d21b6044820152606401610502565b600089815260016020526040902080546001600160a01b031615610e1a5760405162461bcd60e51b815260206004820152601660248201527f41697264726f7020616c726561647920657869737473000000000000000000006044820152606401610502565b604051637921219560e11b81526001600160a01b038a169063f242432a90610e4c90339030908d908d90600401611715565b600060405180830381600087803b158015610e6657600080fd5b505af1158015610e7a573d6000803e3d6000fd5b505082546001600160a01b03199081166001600160a01b038d8116919091178555600185018c9055600585018054600387018c9055600487018d905574ffffffffffffffffffffffffffffffffffffffffff19163360ff60a01b191617600160a01b8a1515021790556006850187905560078501805490921690861617905550508415610f3457610f0b854261174d565b60028201805467ffffffffffffffff191667ffffffffffffffff92909216919091179055610f66565b610f416276a7004261174d565b60028201805467ffffffffffffffff191667ffffffffffffffff929092169190911790555b604080518b81526001600160a01b038b1660208201529081018990526060810188905284151560808201527fac26846ff28bc9346f5efdcfa4decfb4184e9e901c7d5ef1bad038a09946dc6f9060a00160405180910390a150505050505050505050565b6000546001600160a01b031633146110125760405162461bcd60e51b815260206004820181905260248201526000805160206117d58339815191526044820152606401610502565b61101c60006111fc565b565b6000546001600160a01b031633146110665760405162461bcd60e51b815260206004820181905260248201526000805160206117d58339815191526044820152606401610502565b60405133904780156108fc02916000818181858888f19350505050158015611092573d6000803e3d6000fd5b50565b6000546001600160a01b031633146110dd5760405162461bcd60e51b815260206004820181905260248201526000805160206117d58339815191526044820152606401610502565b6001600160a01b0381166111425760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610502565b611092816111fc565b60008061115a6101008461177b565b9050600061116a6101008561178f565b60009586526001602081815260408089209589526008909501905292909520549190941b908116149392505050565b6000826111a6858461124c565b14949350505050565b60006111bd6101008361177b565b905060006111cd6101008461178f565b6000948552600160208181526040808820958852600890950190529290942080549290941b9091179092555050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600081815b84518110156112f057600085828151811061126e5761126e6117a3565b602002602001015190508083116112b05760408051602081018590529081018290526060016040516020818303038152906040528051906020012092506112dd565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b50806112e8816117b9565b915050611251565b509392505050565b60006020828403121561130a57600080fd5b81356001600160e01b03198116811461132257600080fd5b9392505050565b6001600160a01b038116811461109257600080fd5b60008083601f84011261135057600080fd5b50813567ffffffffffffffff81111561136857600080fd5b6020830191508360208260051b850101111561138357600080fd5b9250929050565b60008060008060008060a087890312156113a357600080fd5b863595506020870135945060408701356113bc81611329565b935060608701359250608087013567ffffffffffffffff8111156113df57600080fd5b6113eb89828a0161133e565b979a9699509497509295939492505050565b8035801515811461140d57600080fd5b919050565b6000806040838503121561142557600080fd5b82359150611435602084016113fd565b90509250929050565b60006020828403121561145057600080fd5b5035919050565b60008060008060008060008060006101208a8c03121561147657600080fd5b8935985060208a013561148881611329565b975060408a0135965060608a0135955060808a0135945060a08a013593506114b260c08b016113fd565b925060e08a013591506101008a01356114ca81611329565b809150509295985092959850929598565b60008083601f8401126114ed57600080fd5b50813567ffffffffffffffff81111561150557600080fd5b60208301915083602082850101111561138357600080fd5b60008060008060008060008060a0898b03121561153957600080fd5b883561154481611329565b9750602089013561155481611329565b9650604089013567ffffffffffffffff8082111561157157600080fd5b61157d8c838d0161133e565b909850965060608b013591508082111561159657600080fd5b6115a28c838d0161133e565b909650945060808b01359150808211156115bb57600080fd5b506115c88b828c016114db565b999c989b5096995094979396929594505050565b60008060008060008060a087890312156115f557600080fd5b863561160081611329565b9550602087013561161081611329565b94506040870135935060608701359250608087013567ffffffffffffffff81111561163a57600080fd5b6113eb89828a016114db565b60006020828403121561165857600080fd5b813561132281611329565b6000806040838503121561167657600080fd5b50508035926020909101359150565b634e487b7160e01b600052601160045260246000fd5b60008160001904831182151516156116b5576116b5611685565b500290565b60208082526024908201527f41697264726f70207769746820676976656e20494420646f65736e27742065786040820152636973747360e01b606082015260800190565b60008282101561171057611710611685565b500390565b6001600160a01b0394851681529290931660208301526040820152606081019190915260a06080820181905260009082015260c00190565b6000821982111561176057611760611685565b500190565b634e487b7160e01b600052601260045260246000fd5b60008261178a5761178a611765565b500490565b60008261179e5761179e611765565b500690565b634e487b7160e01b600052603260045260246000fd5b60006000198214156117cd576117cd611685565b506001019056fe4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a26469706673582212202db119ae88a211d575abf567bc03f4fae30589bb519918081b74ea12f8c5ac3764736f6c634300080b0033

Deployed Bytecode

0x6080604052600436106101025760003560e01c8063715018a611610095578063bdf2a43c11610064578063bdf2a43c146103b8578063e941fa78146103e8578063f23a6e61146103fd578063f2fde38b1461042a578063f364c90c1461044a57600080fd5b8063715018a61461031c5780638da5cb5b14610331578063a3e82b1314610359578063bc197c811461037057600080fd5b80634903a879116100d15780634903a879146101d05780634cef7bcd146101f55780635d4df3bf146102dc57806360269ee8146102fc57600080fd5b806301ffc9a714610146578063116d86971461017b5780632e25368114610190578063355b7ce4146101b057600080fd5b3661014157604080513381523460208201527f88a5966d370b9919b20f3e2c13ff65706f196a4e32cc2c12bf57088f88525874910160405180910390a1005b600080fd5b34801561015257600080fd5b506101666101613660046112f8565b61046a565b60405190151581526020015b60405180910390f35b61018e61018936600461138a565b6104a1565b005b34801561019c57600080fd5b5061018e6101ab366004611412565b61082d565b3480156101bc57600080fd5b5061018e6101cb36600461143e565b610895565b3480156101dc57600080fd5b506101e76276a70081565b604051908152602001610172565b34801561020157600080fd5b5061027a61021036600461143e565b6001602081905260009182526040909120805491810154600282015460038301546004840154600585015460068601546007909601546001600160a01b0397881697959667ffffffffffffffff909516959394929380831693600160a01b90930460ff1692911689565b604080516001600160a01b039a8b168152602081019990995267ffffffffffffffff9097169688019690965260608701949094526080860192909252851660a0850152151560c084015260e08301529190911661010082015261012001610172565b3480156102e857600080fd5b5061018e6102f736600461138a565b610a9c565b34801561030857600080fd5b5061018e610317366004611457565b610d50565b34801561032857600080fd5b5061018e610fca565b34801561033d57600080fd5b506000546040516001600160a01b039091168152602001610172565b34801561036557600080fd5b506101e762278d0081565b34801561037c57600080fd5b5061039f61038b36600461151d565b63bc197c8160e01b98975050505050505050565b6040516001600160e01b03199091168152602001610172565b3480156103c457600080fd5b506101666103d336600461143e565b60026020526000908152604090205460ff1681565b3480156103f457600080fd5b5061018e61101e565b34801561040957600080fd5b5061039f6104183660046115dc565b63f23a6e6160e01b9695505050505050565b34801561043657600080fd5b5061018e610445366004611646565b611095565b34801561045657600080fd5b50610166610465366004611663565b61114b565b60006001600160e01b03198216630271189760e51b148061049b57506301ffc9a760e01b6001600160e01b03198316145b92915050565b600160005260026020527fe90b7bceb6e7df5418fb78d8ee546e97c83a08bbccc01a0644d599ccd2a7c2e05460ff161561050b5760405162461bcd60e51b815260206004820152600660248201526514185d5cd95960d21b60448201526064015b60405180910390fd5b6000868152600160205260409020600681015461052990859061169b565b3410156105845760405162461bcd60e51b815260206004820152602360248201527f45746865722076616c75652073656e742069732062656c6f772074686520707260448201526269636560e81b6064820152608401610502565b80546001600160a01b03166105ab5760405162461bcd60e51b8152600401610502906116ba565b6105b5878761114b565b156105fc5760405162461bcd60e51b81526020600482015260176024820152761058d8dbdd5b9d08185b1c9958591e4818db185a5b5959604a1b6044820152606401610502565b600281015467ffffffffffffffff1642111561064c5760405162461bcd60e51b815260206004820152600f60248201526e105a5c991c9bdc08195e1c1a5c9959608a1b6044820152606401610502565b6040516bffffffffffffffffffffffff193360601b1660208201526000906034016040516020818303038152906040528051906020012090506106c6848480806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250505050600384015483611199565b6107095760405162461bcd60e51b815260206004820152601460248201527324b73b30b634b21026b2b935b63296b83937b7b360611b6044820152606401610502565b84826004015461071991906116fe565b600483015561072888886111af565b600782015460068301546040516001600160a01b039092169181156108fc0291906000818181858888f19350505050158015610768573d6000803e3d6000fd5b508154600180840154604051637921219560e11b81526001600160a01b039093169263f242432a926107a19230928c9290600401611715565b600060405180830381600087803b1580156107bb57600080fd5b505af11580156107cf573d6000803e3d6000fd5b5050604080518b8152602081018b90526001600160a01b038a16818301526060810189905290517fb94bf7f9302edf52a596286915a69b4b0685574cffdedd0712e3c62f2550f0ba9350908190036080019150a15050505050505050565b6000546001600160a01b031633146108755760405162461bcd60e51b815260206004820181905260248201526000805160206117d58339815191526044820152606401610502565b600091825260026020526040909120805460ff1916911515919091179055565b6000546001600160a01b031633146108dd5760405162461bcd60e51b815260206004820181905260248201526000805160206117d58339815191526044820152606401610502565b600081815260016020526040902080546001600160a01b031661094e5760405162461bcd60e51b8152602060048201526024808201527f41697264726f70207769746820676976656e20496420646f65736e27742065786044820152636973747360e01b6064820152608401610502565b6002810154429061096d9062278d009067ffffffffffffffff1661174d565b106109cd5760405162461bcd60e51b815260206004820152602a60248201527f6e65656420746f20776169742063726561746f72207769746864726177616c2060448201526932bc3834b930ba34b7b760b11b6064820152608401610502565b6000816004015411610a215760405162461bcd60e51b815260206004820152601860248201527f41697264726f702062616c616e636520697320656d70747900000000000000006044820152606401610502565b60048082018054600090915582546001840154604051637921219560e11b815292936001600160a01b039092169263f242432a92610a659230923392889101611715565b600060405180830381600087803b158015610a7f57600080fd5b505af1158015610a93573d6000803e3d6000fd5b50505050505050565b600160005260026020527fe90b7bceb6e7df5418fb78d8ee546e97c83a08bbccc01a0644d599ccd2a7c2e05460ff1615610b015760405162461bcd60e51b815260206004820152600660248201526514185d5cd95960d21b6044820152606401610502565b600086815260016020819052604090912060058101549091600160a01b90910460ff1615151415610b745760405162461bcd60e51b815260206004820152601b60248201527f54686973207069656365206973206e6f7420636c61696d61626c6500000000006044820152606401610502565b80546001600160a01b0316610b9b5760405162461bcd60e51b8152600401610502906116ba565b610ba5878761114b565b15610bec5760405162461bcd60e51b81526020600482015260176024820152761058d8dbdd5b9d08185b1c9958591e4818db185a5b5959604a1b6044820152606401610502565b600281015467ffffffffffffffff16421115610c3c5760405162461bcd60e51b815260206004820152600f60248201526e105a5c991c9bdc08195e1c1a5c9959608a1b6044820152606401610502565b6040516bffffffffffffffffffffffff193360601b166020820152600090603401604051602081830303815290604052805190602001209050610cb6848480806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250505050600384015483611199565b610cf95760405162461bcd60e51b815260206004820152601460248201527324b73b30b634b21026b2b935b63296b83937b7b360611b6044820152606401610502565b848260040154610d0991906116fe565b6004830155610d1888886111af565b81546001830154604051637921219560e11b81526001600160a01b039092169163f242432a916107a19130918b918b90600401611715565b6000805260026020527fac33ff75c19e70fe83507db0d683fd3465c996598dc972688b7ace676c89077b5460ff1615610db45760405162461bcd60e51b815260206004820152600660248201526514185d5cd95960d21b6044820152606401610502565b600089815260016020526040902080546001600160a01b031615610e1a5760405162461bcd60e51b815260206004820152601660248201527f41697264726f7020616c726561647920657869737473000000000000000000006044820152606401610502565b604051637921219560e11b81526001600160a01b038a169063f242432a90610e4c90339030908d908d90600401611715565b600060405180830381600087803b158015610e6657600080fd5b505af1158015610e7a573d6000803e3d6000fd5b505082546001600160a01b03199081166001600160a01b038d8116919091178555600185018c9055600585018054600387018c9055600487018d905574ffffffffffffffffffffffffffffffffffffffffff19163360ff60a01b191617600160a01b8a1515021790556006850187905560078501805490921690861617905550508415610f3457610f0b854261174d565b60028201805467ffffffffffffffff191667ffffffffffffffff92909216919091179055610f66565b610f416276a7004261174d565b60028201805467ffffffffffffffff191667ffffffffffffffff929092169190911790555b604080518b81526001600160a01b038b1660208201529081018990526060810188905284151560808201527fac26846ff28bc9346f5efdcfa4decfb4184e9e901c7d5ef1bad038a09946dc6f9060a00160405180910390a150505050505050505050565b6000546001600160a01b031633146110125760405162461bcd60e51b815260206004820181905260248201526000805160206117d58339815191526044820152606401610502565b61101c60006111fc565b565b6000546001600160a01b031633146110665760405162461bcd60e51b815260206004820181905260248201526000805160206117d58339815191526044820152606401610502565b60405133904780156108fc02916000818181858888f19350505050158015611092573d6000803e3d6000fd5b50565b6000546001600160a01b031633146110dd5760405162461bcd60e51b815260206004820181905260248201526000805160206117d58339815191526044820152606401610502565b6001600160a01b0381166111425760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610502565b611092816111fc565b60008061115a6101008461177b565b9050600061116a6101008561178f565b60009586526001602081815260408089209589526008909501905292909520549190941b908116149392505050565b6000826111a6858461124c565b14949350505050565b60006111bd6101008361177b565b905060006111cd6101008461178f565b6000948552600160208181526040808820958852600890950190529290942080549290941b9091179092555050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600081815b84518110156112f057600085828151811061126e5761126e6117a3565b602002602001015190508083116112b05760408051602081018590529081018290526060016040516020818303038152906040528051906020012092506112dd565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b50806112e8816117b9565b915050611251565b509392505050565b60006020828403121561130a57600080fd5b81356001600160e01b03198116811461132257600080fd5b9392505050565b6001600160a01b038116811461109257600080fd5b60008083601f84011261135057600080fd5b50813567ffffffffffffffff81111561136857600080fd5b6020830191508360208260051b850101111561138357600080fd5b9250929050565b60008060008060008060a087890312156113a357600080fd5b863595506020870135945060408701356113bc81611329565b935060608701359250608087013567ffffffffffffffff8111156113df57600080fd5b6113eb89828a0161133e565b979a9699509497509295939492505050565b8035801515811461140d57600080fd5b919050565b6000806040838503121561142557600080fd5b82359150611435602084016113fd565b90509250929050565b60006020828403121561145057600080fd5b5035919050565b60008060008060008060008060006101208a8c03121561147657600080fd5b8935985060208a013561148881611329565b975060408a0135965060608a0135955060808a0135945060a08a013593506114b260c08b016113fd565b925060e08a013591506101008a01356114ca81611329565b809150509295985092959850929598565b60008083601f8401126114ed57600080fd5b50813567ffffffffffffffff81111561150557600080fd5b60208301915083602082850101111561138357600080fd5b60008060008060008060008060a0898b03121561153957600080fd5b883561154481611329565b9750602089013561155481611329565b9650604089013567ffffffffffffffff8082111561157157600080fd5b61157d8c838d0161133e565b909850965060608b013591508082111561159657600080fd5b6115a28c838d0161133e565b909650945060808b01359150808211156115bb57600080fd5b506115c88b828c016114db565b999c989b5096995094979396929594505050565b60008060008060008060a087890312156115f557600080fd5b863561160081611329565b9550602087013561161081611329565b94506040870135935060608701359250608087013567ffffffffffffffff81111561163a57600080fd5b6113eb89828a016114db565b60006020828403121561165857600080fd5b813561132281611329565b6000806040838503121561167657600080fd5b50508035926020909101359150565b634e487b7160e01b600052601160045260246000fd5b60008160001904831182151516156116b5576116b5611685565b500290565b60208082526024908201527f41697264726f70207769746820676976656e20494420646f65736e27742065786040820152636973747360e01b606082015260800190565b60008282101561171057611710611685565b500390565b6001600160a01b0394851681529290931660208301526040820152606081019190915260a06080820181905260009082015260c00190565b6000821982111561176057611760611685565b500190565b634e487b7160e01b600052601260045260246000fd5b60008261178a5761178a611765565b500490565b60008261179e5761179e611765565b500690565b634e487b7160e01b600052603260045260246000fd5b60006000198214156117cd576117cd611685565b506001019056fe4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a26469706673582212202db119ae88a211d575abf567bc03f4fae30589bb519918081b74ea12f8c5ac3764736f6c634300080b0033

Deployed Bytecode Sourcemap

46340:6934:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52105:31;;;52114:10;188:74:1;;52126:9:0;293:2:1;278:18;;271:34;52105:31:0;;161:18:1;52105:31:0;;;;;;;46340:6934;;;;;12966:223;;;;;;;;;;-1:-1:-1;12966:223:0;;;;;:::i;:::-;;:::i;:::-;;;772:14:1;;765:22;747:41;;735:2;720:18;12966:223:0;;;;;;;;50195:1222;;;;;;:::i;:::-;;:::i;:::-;;52277:106;;;;;;;;;;-1:-1:-1;52277:106:0;;;;;:::i;:::-;;:::i;51424:630::-;;;;;;;;;;-1:-1:-1;51424:630:0;;;;;:::i;:::-;;:::i;46404:70::-;;;;;;;;;;;;46457:17;46404:70;;;;;2862:25:1;;;2850:2;2835:18;46404:70:0;2716:177:1;46902:43:0;;;;;;;;;;-1:-1:-1;46902:43:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;46902:43:0;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;46902:43:0;;;;;;;;;;;;;;-1:-1:-1;;;;;3356:15:1;;;3338:34;;3403:2;3388:18;;3381:34;;;;3463:18;3451:31;;;3431:18;;;3424:59;;;;3514:2;3499:18;;3492:34;;;;3557:3;3542:19;;3535:35;;;;3607:15;;3601:3;3586:19;;3579:44;3667:14;3660:22;3654:3;3639:19;;3632:51;3714:3;3699:19;;3692:35;3764:15;;;;3758:3;3743:19;;3736:44;3264:3;3249:19;46902:43:0;2898:888:1;49055:1132:0;;;;;;;;;;-1:-1:-1;49055:1132:0;;;;;:::i;:::-;;:::i;47003:1204::-;;;;;;;;;;-1:-1:-1;47003:1204:0;;;;;:::i;:::-;;:::i;36257:103::-;;;;;;;;;;;;;:::i;35606:87::-;;;;;;;;;;-1:-1:-1;35652:7:0;35679:6;35606:87;;-1:-1:-1;;;;;35679:6:0;;;5619:74:1;;5607:2;5592:18;35606:87:0;5473:226:1;46481:69:0;;;;;;;;;;;;46533:17;46481:69;;52964:305;;;;;;;;;;-1:-1:-1;52964:305:0;;;;;:::i;:::-;-1:-1:-1;;;52964:305:0;;;;;;;;;;;;;;-1:-1:-1;;;;;;7561:33:1;;;7543:52;;7531:2;7516:18;52964:305:0;7399:202:1;46952:40:0;;;;;;;;;;-1:-1:-1;46952:40:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;52156:113;;;;;;;;;;;;;:::i;52685:271::-;;;;;;;;;;-1:-1:-1;52685:271:0;;;;;:::i;:::-;-1:-1:-1;;;52685:271:0;;;;;;;;;36515:201;;;;;;;;;;-1:-1:-1;36515:201:0;;;;;:::i;:::-;;:::i;48215:483::-;;;;;;;;;;-1:-1:-1;48215:483:0;;;;;:::i;:::-;;:::i;12966:223::-;13068:4;-1:-1:-1;;;;;;13092:49:0;;-1:-1:-1;;;13092:49:0;;:89;;-1:-1:-1;;;;;;;;;;10042:40:0;;;13145:36;13085:96;12966:223;-1:-1:-1;;12966:223:0:o;50195:1222::-;50421:1;50412:11;;:8;:11;;;;;;50411:12;50403:31;;;;-1:-1:-1;;;50403:31:0;;9141:2:1;50403:31:0;;;9123:21:1;9180:1;9160:18;;;9153:29;-1:-1:-1;;;9198:18:1;;;9191:36;9244:18;;50403:31:0;;;;;;;;;50447:23;50473:19;;;:8;:19;;;;;50526:18;;;;:27;;50547:6;;50526:27;:::i;:::-;50513:9;:40;;50505:88;;;;-1:-1:-1;;;50505:88:0;;9780:2:1;50505:88:0;;;9762:21:1;9819:2;9799:18;;;9792:30;9858:34;9838:18;;;9831:62;-1:-1:-1;;;9909:18:1;;;9902:33;9952:19;;50505:88:0;9578:399:1;50505:88:0;50622:13;;-1:-1:-1;;;;;50622:13:0;50606:85;;;;-1:-1:-1;;;50606:85:0;;;;;;;:::i;:::-;50711:27;50721:9;50732:5;50711:9;:27::i;:::-;50710:28;50702:64;;;;-1:-1:-1;;;50702:64:0;;10589:2:1;50702:64:0;;;10571:21:1;10628:2;10608:18;;;10601:30;-1:-1:-1;;;10647:18:1;;;10640:53;10710:18;;50702:64:0;10387:347:1;50702:64:0;50804:27;;;;;;50785:15;:46;;50777:74;;;;-1:-1:-1;;;50777:74:0;;10941:2:1;50777:74:0;;;10923:21:1;10980:2;10960:18;;;10953:30;-1:-1:-1;;;10999:18:1;;;10992:45;11054:18;;50777:74:0;10739:339:1;50777:74:0;50926:28;;-1:-1:-1;;50943:10:0;11232:2:1;11228:15;11224:53;50926:28:0;;;11212:66:1;50901:12:0;;11294::1;;50926:28:0;;;;;;;;;;;;50916:39;;;;;;50901:54;;50974:57;50993:11;;50974:57;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;51006:18:0;;;;51026:4;50974:18;:57::i;:::-;50966:90;;;;-1:-1:-1;;;50966:90:0;;11519:2:1;50966:90:0;;;11501:21:1;11558:2;11538:18;;;11531:30;-1:-1:-1;;;11577:18:1;;;11570:50;11637:18;;50966:90:0;11317:344:1;50966:90:0;51103:6;51086:7;:14;;;:23;;;;:::i;:::-;51069:14;;;:40;51168:29;51180:9;51191:5;51168:11;:29::i;:::-;51216:14;;;;51241:18;;;;51208:52;;-1:-1:-1;;;;;51216:14:0;;;;51208:52;;;;;51241:18;51216:14;51208:52;51216:14;51208:52;51241:18;51216:14;51208:52;;;;;;;;;;;;;;;;;;;;-1:-1:-1;51271:13:0;;;51326:15;;;;51271:78;;-1:-1:-1;;;51271:78:0;;-1:-1:-1;;;;;51271:13:0;;;;:30;;:78;;51310:4;;51317:7;;51271:13;:78;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;51367:42:0;;;12690:25:1;;;12746:2;12731:18;;12724:34;;;-1:-1:-1;;;;;12794:55:1;;12774:18;;;12767:83;12881:2;12866:18;;12859:34;;;51367:42:0;;;;-1:-1:-1;51367:42:0;;;;12677:3:1;51367:42:0;;-1:-1:-1;51367:42:0;50392:1025;;50195:1222;;;;;;:::o;52277:106::-;35652:7;35679:6;-1:-1:-1;;;;;35679:6:0;18853:10;35826:23;35818:68;;;;-1:-1:-1;;;35818:68:0;;13106:2:1;35818:68:0;;;13088:21:1;;;13125:18;;;13118:30;-1:-1:-1;;;;;;;;;;;13164:18:1;;;13157:62;13236:18;;35818:68:0;12904:356:1;35818:68:0;52352:11:::1;::::0;;;:8:::1;:11;::::0;;;;;:23;;-1:-1:-1;;52352:23:0::1;::::0;::::1;;::::0;;;::::1;::::0;;52277:106::o;51424:630::-;35652:7;35679:6;-1:-1:-1;;;;;35679:6:0;18853:10;35826:23;35818:68;;;;-1:-1:-1;;;35818:68:0;;13106:2:1;35818:68:0;;;13088:21:1;;;13125:18;;;13118:30;-1:-1:-1;;;;;;;;;;;13164:18:1;;;13157:62;13236:18;;35818:68:0;12904:356:1;35818:68:0;51520:23:::1;51546:19:::0;;;:8:::1;:19;::::0;;;;51592:13;;-1:-1:-1;;;;;51592:13:0::1;51576:85;;;::::0;-1:-1:-1;;;51576:85:0;;13467:2:1;51576:85:0::1;::::0;::::1;13449:21:1::0;13506:2;13486:18;;;13479:30;13545:34;13525:18;;;13518:62;-1:-1:-1;;;13596:18:1;;;13589:34;13640:19;;51576:85:0::1;13265:400:1::0;51576:85:0::1;51680:27;::::0;::::1;::::0;51737:15:::1;::::0;51680:54:::1;::::0;46533:17:::1;::::0;51680:27:::1;;:54;:::i;:::-;:72;51672:140;;;::::0;-1:-1:-1;;;51672:140:0;;14005:2:1;51672:140:0::1;::::0;::::1;13987:21:1::0;14044:2;14024:18;;;14017:30;14083:34;14063:18;;;14056:62;-1:-1:-1;;;14134:18:1;;;14127:40;14184:19;;51672:140:0::1;13803:406:1::0;51672:140:0::1;51848:1;51831:7;:14;;;:18;51823:55;;;::::0;-1:-1:-1;;;51823:55:0;;14416:2:1;51823:55:0::1;::::0;::::1;14398:21:1::0;14455:2;14435:18;;;14428:30;14494:26;14474:18;;;14467:54;14538:18;;51823:55:0::1;14214:348:1::0;51823:55:0::1;51906:14;::::0;;::::1;::::0;;51889::::1;51931:18:::0;;;51960:13;;-1:-1:-1;52018:15:0;::::1;::::0;51960:86:::1;::::0;-1:-1:-1;;;51960:86:0;;51906:14;;-1:-1:-1;;;;;51960:13:0;;::::1;::::0;:30:::1;::::0;:86:::1;::::0;51999:4:::1;::::0;52006:10:::1;::::0;51906:14;;51960:86:::1;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;51509:545;;51424:630:::0;:::o;49055:1132::-;49277:1;49268:11;;:8;:11;;;;;;49267:12;49259:31;;;;-1:-1:-1;;;49259:31:0;;9141:2:1;49259:31:0;;;9123:21:1;9180:1;9160:18;;;9153:29;-1:-1:-1;;;9198:18:1;;;9191:36;9244:18;;49259:31:0;8939:329:1;49259:31:0;49301:23;49327:19;;;:8;:19;;;;;;;;49367:16;;;;49327:19;;-1:-1:-1;;;49367:16:0;;;;;:24;;;;49359:64;;;;-1:-1:-1;;;49359:64:0;;15424:2:1;49359:64:0;;;15406:21:1;15463:2;15443:18;;;15436:30;15502:29;15482:18;;;15475:57;15549:18;;49359:64:0;15222:351:1;49359:64:0;49450:13;;-1:-1:-1;;;;;49450:13:0;49434:85;;;;-1:-1:-1;;;49434:85:0;;;;;;;:::i;:::-;49539:27;49549:9;49560:5;49539:9;:27::i;:::-;49538:28;49530:64;;;;-1:-1:-1;;;49530:64:0;;10589:2:1;49530:64:0;;;10571:21:1;10628:2;10608:18;;;10601:30;-1:-1:-1;;;10647:18:1;;;10640:53;10710:18;;49530:64:0;10387:347:1;49530:64:0;49632:27;;;;;;49613:15;:46;;49605:74;;;;-1:-1:-1;;;49605:74:0;;10941:2:1;49605:74:0;;;10923:21:1;10980:2;10960:18;;;10953:30;-1:-1:-1;;;10999:18:1;;;10992:45;11054:18;;49605:74:0;10739:339:1;49605:74:0;49754:28;;-1:-1:-1;;49771:10:0;11232:2:1;11228:15;11224:53;49754:28:0;;;11212:66:1;49729:12:0;;11294::1;;49754:28:0;;;;;;;;;;;;49744:39;;;;;;49729:54;;49802:57;49821:11;;49802:57;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;49834:18:0;;;;49854:4;49802:18;:57::i;:::-;49794:90;;;;-1:-1:-1;;;49794:90:0;;11519:2:1;49794:90:0;;;11501:21:1;11558:2;11538:18;;;11531:30;-1:-1:-1;;;11577:18:1;;;11570:50;11637:18;;49794:90:0;11317:344:1;49794:90:0;49931:6;49914:7;:14;;;:23;;;;:::i;:::-;49897:14;;;:40;49996:29;50008:9;50019:5;49996:11;:29::i;:::-;50036:13;;;50091:15;;;50036:83;;-1:-1:-1;;;50036:83:0;;-1:-1:-1;;;;;50036:13:0;;;;:30;;:83;;50075:4;;50082:7;;50108:6;;50036:83;;;:::i;47003:1204::-;47322:11;;;:8;:11;;;;;;47321:12;47313:31;;;;-1:-1:-1;;;47313:31:0;;9141:2:1;47313:31:0;;;9123:21:1;9180:1;9160:18;;;9153:29;-1:-1:-1;;;9198:18:1;;;9191:36;9244:18;;47313:31:0;8939:329:1;47313:31:0;47357:23;47383:19;;;:8;:19;;;;;47429:13;;-1:-1:-1;;;;;47429:13:0;47421:36;47413:71;;;;-1:-1:-1;;;47413:71:0;;16896:2:1;47413:71:0;;;16878:21:1;16935:2;16915:18;;;16908:30;16974:24;16954:18;;;16947:52;17016:18;;47413:71:0;16694:346:1;47413:71:0;47505:70;;-1:-1:-1;;;47505:70:0;;-1:-1:-1;;;;;47505:22:0;;;;;:70;;47528:10;;47548:4;;47555:7;;47564:6;;47505:70;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;47586:21:0;;-1:-1:-1;;;;;;47586:21:0;;;-1:-1:-1;;;;;47586:21:0;;;;;;;;;-1:-1:-1;47618:15:0;;:25;;;47654:15;;;:28;;47693:18;;;:31;;;47735:14;;;:23;;;-1:-1:-1;;47769:27:0;47672:10;-1:-1:-1;;;;47769:27:0;;-1:-1:-1;;;47769:27:0;;;;;;;47807:18;;;:31;;;47849:14;;;:23;;;;;;;;;;;-1:-1:-1;;47889:21:0;;47885:242;;47964:35;47982:17;47964:15;:35;:::i;:::-;47927:27;;;:73;;-1:-1:-1;;47927:73:0;;;;;;;;;;;;47885:242;;;48070:44;46457:17;48070:15;:44;:::i;:::-;48033:27;;;:82;;-1:-1:-1;;48033:82:0;;;;;;;;;;;;47885:242;48142:57;;;17314:25:1;;;-1:-1:-1;;;;;17375:55:1;;17370:2;17355:18;;17348:83;17447:18;;;17440:34;;;17505:2;17490:18;;17483:34;;;17561:14;;17554:22;17548:3;17533:19;;17526:51;48142:57:0;;17301:3:1;17286:19;48142:57:0;;;;;;;47302:905;47003:1204;;;;;;;;;:::o;36257:103::-;35652:7;35679:6;-1:-1:-1;;;;;35679:6:0;18853:10;35826:23;35818:68;;;;-1:-1:-1;;;35818:68:0;;13106:2:1;35818:68:0;;;13088:21:1;;;13125:18;;;13118:30;-1:-1:-1;;;;;;;;;;;13164:18:1;;;13157:62;13236:18;;35818:68:0;12904:356:1;35818:68:0;36322:30:::1;36349:1;36322:18;:30::i;:::-;36257:103::o:0;52156:113::-;35652:7;35679:6;-1:-1:-1;;;;;35679:6:0;18853:10;35826:23;35818:68;;;;-1:-1:-1;;;35818:68:0;;13106:2:1;35818:68:0;;;13088:21:1;;;13125:18;;;13118:30;-1:-1:-1;;;;;;;;;;;13164:18:1;;;13157:62;13236:18;;35818:68:0;12904:356:1;35818:68:0;52210:51:::1;::::0;52218:10:::1;::::0;52239:21:::1;52210:51:::0;::::1;;;::::0;::::1;::::0;;;52239:21;52218:10;52210:51;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;52156:113::o:0;36515:201::-;35652:7;35679:6;-1:-1:-1;;;;;35679:6:0;18853:10;35826:23;35818:68;;;;-1:-1:-1;;;35818:68:0;;13106:2:1;35818:68:0;;;13088:21:1;;;13125:18;;;13118:30;-1:-1:-1;;;;;;;;;;;13164:18:1;;;13157:62;13236:18;;35818:68:0;12904:356:1;35818:68:0;-1:-1:-1;;;;;36604:22:0;::::1;36596:73;;;::::0;-1:-1:-1;;;36596:73:0;;17790:2:1;36596:73:0::1;::::0;::::1;17772:21:1::0;17829:2;17809:18;;;17802:30;17868:34;17848:18;;;17841:62;-1:-1:-1;;;17919:18:1;;;17912:36;17965:19;;36596:73:0::1;17588:402:1::0;36596:73:0::1;36680:28;36699:8;36680:18;:28::i;48215:483::-:0;48289:4;;48411:11;48419:3;48411:5;:11;:::i;:::-;48384:38;-1:-1:-1;48433:23:0;48459:11;48467:3;48459:5;:11;:::i;:::-;48481:23;48507:19;;;:8;:19;;;;;;;;48559:39;;;:21;;;;:39;;;;;;;48625:20;;;;48664:18;;;:26;;48215:483;-1:-1:-1;;;48215:483:0:o;45009:190::-;45134:4;45187;45158:25;45171:5;45178:4;45158:12;:25::i;:::-;:33;;45009:190;-1:-1:-1;;;;45009:190:0:o;48706:341::-;48780:24;48807:11;48815:3;48807:5;:11;:::i;:::-;48780:38;-1:-1:-1;48829:23:0;48855:11;48863:3;48855:5;:11;:::i;:::-;48877:23;48903:19;;;:8;:19;;;;;;;;48975:39;;;:21;;;;:39;;;;;;;;49018:20;;;;48975:64;;;48933:106;;;-1:-1:-1;;48706:341:0:o;36876:191::-;36950:16;36969:6;;-1:-1:-1;;;;;36986:17:0;;;-1:-1:-1;;;;;;36986:17:0;;;;;;37019:40;;36969:6;;;;;;;37019:40;;36950:16;37019:40;36939:128;36876:191;:::o;45561:701::-;45644:7;45687:4;45644:7;45702:523;45726:5;:12;45722:1;:16;45702:523;;;45760:20;45783:5;45789:1;45783:8;;;;;;;;:::i;:::-;;;;;;;45760:31;;45826:12;45810;:28;45806:408;;45963:44;;;;;;18658:19:1;;;18693:12;;;18686:28;;;18730:12;;45963:44:0;;;;;;;;;;;;45953:55;;;;;;45938:70;;45806:408;;;46153:44;;;;;;18658:19:1;;;18693:12;;;18686:28;;;18730:12;;46153:44:0;;;;;;;;;;;;46143:55;;;;;;46128:70;;45806:408;-1:-1:-1;45740:3:0;;;;:::i;:::-;;;;45702:523;;;-1:-1:-1;46242:12:0;45561:701;-1:-1:-1;;;45561:701:0:o;316:286:1:-;374:6;427:2;415:9;406:7;402:23;398:32;395:52;;;443:1;440;433:12;395:52;469:23;;-1:-1:-1;;;;;;521:32:1;;511:43;;501:71;;568:1;565;558:12;501:71;591:5;316:286;-1:-1:-1;;;316:286:1:o;799:154::-;-1:-1:-1;;;;;878:5:1;874:54;867:5;864:65;854:93;;943:1;940;933:12;958:367;1021:8;1031:6;1085:3;1078:4;1070:6;1066:17;1062:27;1052:55;;1103:1;1100;1093:12;1052:55;-1:-1:-1;1126:20:1;;1169:18;1158:30;;1155:50;;;1201:1;1198;1191:12;1155:50;1238:4;1230:6;1226:17;1214:29;;1298:3;1291:4;1281:6;1278:1;1274:14;1266:6;1262:27;1258:38;1255:47;1252:67;;;1315:1;1312;1305:12;1252:67;958:367;;;;;:::o;1330:778::-;1452:6;1460;1468;1476;1484;1492;1545:3;1533:9;1524:7;1520:23;1516:33;1513:53;;;1562:1;1559;1552:12;1513:53;1598:9;1585:23;1575:33;;1655:2;1644:9;1640:18;1627:32;1617:42;;1709:2;1698:9;1694:18;1681:32;1722:31;1747:5;1722:31;:::i;:::-;1772:5;-1:-1:-1;1824:2:1;1809:18;;1796:32;;-1:-1:-1;1879:3:1;1864:19;;1851:33;1907:18;1896:30;;1893:50;;;1939:1;1936;1929:12;1893:50;1978:70;2040:7;2031:6;2020:9;2016:22;1978:70;:::i;:::-;1330:778;;;;-1:-1:-1;1330:778:1;;-1:-1:-1;1330:778:1;;2067:8;;1330:778;-1:-1:-1;;;1330:778:1:o;2113:160::-;2178:20;;2234:13;;2227:21;2217:32;;2207:60;;2263:1;2260;2253:12;2207:60;2113:160;;;:::o;2278:248::-;2343:6;2351;2404:2;2392:9;2383:7;2379:23;2375:32;2372:52;;;2420:1;2417;2410:12;2372:52;2456:9;2443:23;2433:33;;2485:35;2516:2;2505:9;2501:18;2485:35;:::i;:::-;2475:45;;2278:248;;;;;:::o;2531:180::-;2590:6;2643:2;2631:9;2622:7;2618:23;2614:32;2611:52;;;2659:1;2656;2649:12;2611:52;-1:-1:-1;2682:23:1;;2531:180;-1:-1:-1;2531:180:1:o;4582:886::-;4726:6;4734;4742;4750;4758;4766;4774;4782;4790;4843:3;4831:9;4822:7;4818:23;4814:33;4811:53;;;4860:1;4857;4850:12;4811:53;4896:9;4883:23;4873:33;;4956:2;4945:9;4941:18;4928:32;4969:31;4994:5;4969:31;:::i;:::-;5019:5;-1:-1:-1;5071:2:1;5056:18;;5043:32;;-1:-1:-1;5122:2:1;5107:18;;5094:32;;-1:-1:-1;5173:3:1;5158:19;;5145:33;;-1:-1:-1;5225:3:1;5210:19;;5197:33;;-1:-1:-1;5249:36:1;5280:3;5265:19;;5249:36;:::i;:::-;5239:46;;5332:3;5321:9;5317:19;5304:33;5294:43;;5389:3;5378:9;5374:19;5361:33;5403;5428:7;5403:33;:::i;:::-;5455:7;5445:17;;;4582:886;;;;;;;;;;;:::o;5704:347::-;5755:8;5765:6;5819:3;5812:4;5804:6;5800:17;5796:27;5786:55;;5837:1;5834;5827:12;5786:55;-1:-1:-1;5860:20:1;;5903:18;5892:30;;5889:50;;;5935:1;5932;5925:12;5889:50;5972:4;5964:6;5960:17;5948:29;;6024:3;6017:4;6008:6;6000;5996:19;5992:30;5989:39;5986:59;;;6041:1;6038;6031:12;6056:1338;6216:6;6224;6232;6240;6248;6256;6264;6272;6325:3;6313:9;6304:7;6300:23;6296:33;6293:53;;;6342:1;6339;6332:12;6293:53;6381:9;6368:23;6400:31;6425:5;6400:31;:::i;:::-;6450:5;-1:-1:-1;6507:2:1;6492:18;;6479:32;6520:33;6479:32;6520:33;:::i;:::-;6572:7;-1:-1:-1;6630:2:1;6615:18;;6602:32;6653:18;6683:14;;;6680:34;;;6710:1;6707;6700:12;6680:34;6749:70;6811:7;6802:6;6791:9;6787:22;6749:70;:::i;:::-;6838:8;;-1:-1:-1;6723:96:1;-1:-1:-1;6926:2:1;6911:18;;6898:32;;-1:-1:-1;6942:16:1;;;6939:36;;;6971:1;6968;6961:12;6939:36;7010:72;7074:7;7063:8;7052:9;7048:24;7010:72;:::i;:::-;7101:8;;-1:-1:-1;6984:98:1;-1:-1:-1;7189:3:1;7174:19;;7161:33;;-1:-1:-1;7206:16:1;;;7203:36;;;7235:1;7232;7225:12;7203:36;;7274:60;7326:7;7315:8;7304:9;7300:24;7274:60;:::i;:::-;6056:1338;;;;-1:-1:-1;6056:1338:1;;-1:-1:-1;6056:1338:1;;;;;;7353:8;-1:-1:-1;;;6056:1338:1:o;7606:823::-;7712:6;7720;7728;7736;7744;7752;7805:3;7793:9;7784:7;7780:23;7776:33;7773:53;;;7822:1;7819;7812:12;7773:53;7861:9;7848:23;7880:31;7905:5;7880:31;:::i;:::-;7930:5;-1:-1:-1;7987:2:1;7972:18;;7959:32;8000:33;7959:32;8000:33;:::i;:::-;8052:7;-1:-1:-1;8106:2:1;8091:18;;8078:32;;-1:-1:-1;8157:2:1;8142:18;;8129:32;;-1:-1:-1;8212:3:1;8197:19;;8184:33;8240:18;8229:30;;8226:50;;;8272:1;8269;8262:12;8226:50;8311:58;8361:7;8352:6;8341:9;8337:22;8311:58;:::i;8434:247::-;8493:6;8546:2;8534:9;8525:7;8521:23;8517:32;8514:52;;;8562:1;8559;8552:12;8514:52;8601:9;8588:23;8620:31;8645:5;8620:31;:::i;8686:248::-;8754:6;8762;8815:2;8803:9;8794:7;8790:23;8786:32;8783:52;;;8831:1;8828;8821:12;8783:52;-1:-1:-1;;8854:23:1;;;8924:2;8909:18;;;8896:32;;-1:-1:-1;8686:248:1:o;9273:127::-;9334:10;9329:3;9325:20;9322:1;9315:31;9365:4;9362:1;9355:15;9389:4;9386:1;9379:15;9405:168;9445:7;9511:1;9507;9503:6;9499:14;9496:1;9493:21;9488:1;9481:9;9474:17;9470:45;9467:71;;;9518:18;;:::i;:::-;-1:-1:-1;9558:9:1;;9405:168::o;9982:400::-;10184:2;10166:21;;;10223:2;10203:18;;;10196:30;10262:34;10257:2;10242:18;;10235:62;-1:-1:-1;;;10328:2:1;10313:18;;10306:34;10372:3;10357:19;;9982:400::o;11666:125::-;11706:4;11734:1;11731;11728:8;11725:34;;;11739:18;;:::i;:::-;-1:-1:-1;11776:9:1;;11666:125::o;11796:658::-;-1:-1:-1;;;;;12178:15:1;;;12160:34;;12230:15;;;;12225:2;12210:18;;12203:43;12277:2;12262:18;;12255:34;12320:2;12305:18;;12298:34;;;;12369:3;12363;12348:19;;12341:32;;;12080:4;12389:19;;;12382:30;12444:3;12429:19;;11796:658::o;13670:128::-;13710:3;13741:1;13737:6;13734:1;13731:13;13728:39;;;13747:18;;:::i;:::-;-1:-1:-1;13783:9:1;;13670:128::o;17995:127::-;18056:10;18051:3;18047:20;18044:1;18037:31;18087:4;18084:1;18077:15;18111:4;18108:1;18101:15;18127:120;18167:1;18193;18183:35;;18198:18;;:::i;:::-;-1:-1:-1;18232:9:1;;18127:120::o;18252:112::-;18284:1;18310;18300:35;;18315:18;;:::i;:::-;-1:-1:-1;18349:9:1;;18252:112::o;18369:127::-;18430:10;18425:3;18421:20;18418:1;18411:31;18461:4;18458:1;18451:15;18485:4;18482:1;18475:15;18753:135;18792:3;-1:-1:-1;;18813:17:1;;18810:43;;;18833:18;;:::i;:::-;-1:-1:-1;18880:1:1;18869:13;;18753:135::o

Swarm Source

ipfs://2db119ae88a211d575abf567bc03f4fae30589bb519918081b74ea12f8c5ac37

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.