Goerli Testnet

Contract

0xD2ee9b746A9CC9d5067F33DcE6BEa88dC984dde8
Transaction Hash
Method
Block
From
To
Value
Buy Order99564002023-10-30 9:40:36171 days ago1698658836IN
0xD2ee9b74...dC984dde8
0.02 ETH0.000172691.50000002
Create Order99563722023-10-30 9:32:48171 days ago1698658368IN
0xD2ee9b74...dC984dde8
0.02 ETH0.000618781.50000002
Buy Order98999192023-10-20 12:28:48180 days ago1697804928IN
0xD2ee9b74...dC984dde8
0.02 ETH0.000165681.50000003
Create Order98999092023-10-20 12:26:24180 days ago1697804784IN
0xD2ee9b74...dC984dde8
0.02 ETH0.000514411.50000002
Buy Order98996422023-10-20 11:20:00181 days ago1697800800IN
0xD2ee9b74...dC984dde8
0.02 ETH0.000206991.50000001
Create Order98995662023-10-20 10:59:48181 days ago1697799588IN
0xD2ee9b74...dC984dde8
0.02 ETH0.000808021.50000001
Create Order98995292023-10-20 10:51:24181 days ago1697799084IN
0xD2ee9b74...dC984dde8
0.02 ETH0.000867841.50000001
Buy Order98993472023-10-20 10:07:48181 days ago1697796468IN
0xD2ee9b74...dC984dde8
0.02 ETH0.000135551.50000001
Create Order98993382023-10-20 10:05:24181 days ago1697796324IN
0xD2ee9b74...dC984dde8
0.02 ETH0.000482151.50000001
Buy Order98948532023-10-19 15:51:48181 days ago1697730708IN
0xD2ee9b74...dC984dde8
0.02 ETH0.000205671.50000001
Create Order98948112023-10-19 15:41:24181 days ago1697730084IN
0xD2ee9b74...dC984dde8
0.02 ETH0.000641831.50000001
Buy Order98933202023-10-19 9:26:24182 days ago1697707584IN
0xD2ee9b74...dC984dde8
0.02 ETH0.000190761.50000001
Create Order98933082023-10-19 9:22:48182 days ago1697707368IN
0xD2ee9b74...dC984dde8
0.02 ETH0.000482181.50000001
Buy Order98870072023-10-18 7:19:36183 days ago1697613576IN
0xD2ee9b74...dC984dde8
0.02 ETH0.000169911.5
Create Order98869802023-10-18 7:14:00183 days ago1697613240IN
0xD2ee9b74...dC984dde8
0.02 ETH0.000514451.5
Buy Order98823012023-10-17 12:23:48183 days ago1697545428IN
0xD2ee9b74...dC984dde8
0.02 ETH0.000425061.50000001
Create Order98822892023-10-17 12:20:48183 days ago1697545248IN
0xD2ee9b74...dC984dde8
0.02 ETH0.001347861.50000001
Buy Order98822042023-10-17 11:58:36183 days ago1697543916IN
0xD2ee9b74...dC984dde8
0.02 ETH0.000171771.50000001
Create Order98820992023-10-17 11:33:00183 days ago1697542380IN
0xD2ee9b74...dC984dde8
0.02 ETH0.000575721.50000001
Create Order98776092023-10-16 17:03:36184 days ago1697475816IN
0xD2ee9b74...dC984dde8
0.02 ETH0.000482151.50000001
Create Order98775982023-10-16 17:00:48184 days ago1697475648IN
0xD2ee9b74...dC984dde8
0.02 ETH0.000482151.50000001
Buy Order98775652023-10-16 16:52:12184 days ago1697475132IN
0xD2ee9b74...dC984dde8
0.02 ETH0.000262411.50000001
Create Order98771512023-10-16 15:08:24184 days ago1697468904IN
0xD2ee9b74...dC984dde8
0.02 ETH0.000933351.50000001
Create Order98185002023-10-06 9:22:36195 days ago1696584156IN
0xD2ee9b74...dC984dde8
0.02 ETH0.001324991.5
Create Order98029422023-10-03 16:16:24197 days ago1696349784IN
0xD2ee9b74...dC984dde8
0.02 ETH0.000054311.50000001
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To Value
99564002023-10-30 9:40:36171 days ago1698658836
0xD2ee9b74...dC984dde8
0 ETH
99564002023-10-30 9:40:36171 days ago1698658836
0xD2ee9b74...dC984dde8
0 ETH
99564002023-10-30 9:40:36171 days ago1698658836
0xD2ee9b74...dC984dde8
0 ETH
99564002023-10-30 9:40:36171 days ago1698658836
0xD2ee9b74...dC984dde8
0 ETH
99563722023-10-30 9:32:48171 days ago1698658368
0xD2ee9b74...dC984dde8
0 ETH
99563722023-10-30 9:32:48171 days ago1698658368
0xD2ee9b74...dC984dde8
0 ETH
99563722023-10-30 9:32:48171 days ago1698658368
0xD2ee9b74...dC984dde8
0 ETH
98999192023-10-20 12:28:48180 days ago1697804928
0xD2ee9b74...dC984dde8
0 ETH
98999192023-10-20 12:28:48180 days ago1697804928
0xD2ee9b74...dC984dde8
0 ETH
98999192023-10-20 12:28:48180 days ago1697804928
0xD2ee9b74...dC984dde8
0 ETH
98999092023-10-20 12:26:24180 days ago1697804784
0xD2ee9b74...dC984dde8
0 ETH
98996422023-10-20 11:20:00181 days ago1697800800
0xD2ee9b74...dC984dde8
0 ETH
98996422023-10-20 11:20:00181 days ago1697800800
0xD2ee9b74...dC984dde8
0 ETH
98996422023-10-20 11:20:00181 days ago1697800800
0xD2ee9b74...dC984dde8
0 ETH
98996422023-10-20 11:20:00181 days ago1697800800
0xD2ee9b74...dC984dde8
0 ETH
98996422023-10-20 11:20:00181 days ago1697800800
0xD2ee9b74...dC984dde8
0 ETH
98995662023-10-20 10:59:48181 days ago1697799588
0xD2ee9b74...dC984dde8
0 ETH
98995662023-10-20 10:59:48181 days ago1697799588
0xD2ee9b74...dC984dde8
0 ETH
98995662023-10-20 10:59:48181 days ago1697799588
0xD2ee9b74...dC984dde8
0 ETH
98995662023-10-20 10:59:48181 days ago1697799588
0xD2ee9b74...dC984dde8
0 ETH
98995662023-10-20 10:59:48181 days ago1697799588
0xD2ee9b74...dC984dde8
0 ETH
98995292023-10-20 10:51:24181 days ago1697799084
0xD2ee9b74...dC984dde8
0 ETH
98995292023-10-20 10:51:24181 days ago1697799084
0xD2ee9b74...dC984dde8
0 ETH
98995292023-10-20 10:51:24181 days ago1697799084
0xD2ee9b74...dC984dde8
0 ETH
98995292023-10-20 10:51:24181 days ago1697799084
0xD2ee9b74...dC984dde8
0 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
P2PSwap

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 15 : P2PSwap.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;

import "@openzeppelin/contracts/interfaces/IERC20.sol";
import "@openzeppelin/contracts/interfaces/IERC721.sol";
import "@openzeppelin/contracts/interfaces/IERC1155.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC1155/utils/ERC1155Holder.sol";
import "hardhat/console.sol";

contract P2PSwap is Ownable, ERC1155Holder {

    struct ERC20Asset {
        address tokenAddress;
        uint256 value;
    }

    struct ERC721Asset {
        address tokenAddress;
        uint256 tokenId;
    }

    struct ERC1155Asset {
        address tokenAddress;
        uint256 tokenId;
        uint256 value;
    }

    struct Order {
        address recipient;
        uint256 eth;
        uint256 requestedEth;
        ERC20Asset[] erc20Assets;
        ERC721Asset[] erc721Assets;
        ERC1155Asset[] erc1155Assets;
        ERC20Asset[] requestedErc20Assets;
        ERC721Asset[] requestedErc721Assets;
        ERC1155Asset[] requestedErc1155Assets;
    }

    struct OrderInfo {
        address recipient;
        address owner;
        uint256 createdAt;
        uint256 value;
        uint256 requestedValue;
        bool isActive;
        ERC20Asset[] erc20Assets;
        ERC721Asset[] erc721Assets;
        ERC1155Asset[] erc1155Assets;
        ERC20Asset[] requestedErc20Assets;
        ERC721Asset[] requestedErc721Assets;
        ERC1155Asset[] requestedErc1155Assets;
    }

    uint256 private idCounter;
    address private feeReceiver;

    uint256 public fee = 2 ether / 100;

    mapping(uint256 => Order) private orders;
    mapping(uint256 => address) private orderOwner;
    mapping(uint256 => uint256) private orderCreatedTimestamp;
    mapping(uint256 => bool) private isActiveOrder;
    mapping(uint256 => uint256) private orderFee;

    event CreateOrder(uint256 orderId, address creator, uint256 timestamp, Order order);
    event BuyOrder(uint256 orderId);
    event CancelOrder(uint256 orderId);

    constructor() {
        feeReceiver = msg.sender;
    }

    function setFeeReceiver(address _feeReceiver) external onlyOwner {
        feeReceiver = _feeReceiver;
    }

    function setFee(uint256 _fee) external onlyOwner {
        fee = _fee;
    }

    function createOrder(Order calldata order) external payable {
        require(msg.value >= (fee + order.eth), "[createOrder]: not enough eth");

        address sender = msg.sender;

        _processERC20(sender, address(this), order.erc20Assets);
        _processERC721(sender, address(this), order.erc721Assets);
        _processERC1155(sender, address(this), order.erc1155Assets);

        orders[idCounter] = order;
        orderOwner[idCounter] = sender;
        orderCreatedTimestamp[idCounter] = block.timestamp;
        isActiveOrder[idCounter] = true;
        orderFee[idCounter] = fee;

        emit CreateOrder(idCounter, sender, block.timestamp, order);
        idCounter++;
    }

    function buyOrder(uint256 orderId) external payable {
        require(isActiveOrder[orderId], "[buyOrder]: order is not active");

        Order memory order = orders[orderId];
        require(msg.value >= (fee + order.requestedEth), "[buyOrder]: not enough fee");

        address sender = msg.sender;

        require(order.recipient == sender, "[buyOrder]: sender is not order recipient");


        _processERC20(address(this), sender, order.erc20Assets);
        _processERC721(address(this), sender, order.erc721Assets);
        _processERC1155(address(this), sender, order.erc1155Assets);

        address owner = orderOwner[orderId];

        _processERC20(sender, owner, order.requestedErc20Assets);
        _processERC721(sender, owner, order.requestedErc721Assets);
        _processERC1155(sender, owner, order.requestedErc1155Assets);

        payable(sender).transfer(order.eth);

        isActiveOrder[orderId] = false;

        emit BuyOrder(orderId);
    }

    function cancelOrder(uint256 orderId) external {
        require(isActiveOrder[orderId], "[cancelOrder]: order is already canceled");
        require(block.timestamp - orderCreatedTimestamp[orderId] >= 1 days, "[cancelOrder]: order can be canceled only after 24 hours");

        address sender = msg.sender;
        require(orderOwner[orderId] == sender, "[cancelOrder]: sender is not owner of order");

        Order memory order = orders[orderId];

        _processERC20(address(this), sender, order.erc20Assets);
        _processERC721(address(this), sender, order.erc721Assets);
        _processERC1155(address(this), sender, order.erc1155Assets);

        payable(sender).transfer(orderFee[orderId] + order.eth);

        isActiveOrder[orderId] = false;

        emit CancelOrder(orderId);
    }

    function claimFees() external onlyOwner {
        payable(feeReceiver).transfer(address(this).balance);
    }

    function getOrder(uint256 orderId) external view returns (OrderInfo memory) {
        Order memory order = orders[orderId];
        return OrderInfo(
                    order.recipient,
                    orderOwner[orderId],
                    orderCreatedTimestamp[orderId],
                    order.eth,
                    order.requestedEth,
                    isActiveOrder[orderId],
                    order.erc20Assets,
                    order.erc721Assets,
                    order.erc1155Assets,
                    order.requestedErc20Assets,
                    order.requestedErc721Assets,
                    order.requestedErc1155Assets
        );
    }

    function _processERC20(address from, address to, ERC20Asset[] memory assets) internal {
        for (uint i = 0; i < assets.length;) {
            if (from == address(this)) {
                IERC20(assets[i].tokenAddress).transfer(to, assets[i].value);
            } else {
                IERC20(assets[i].tokenAddress).transferFrom(from, to, assets[i].value);
            }
            unchecked {
                i++;
            }
        }
    }

    function _processERC721(address from, address to, ERC721Asset[] memory assets) internal {
        for (uint i = 0; i < assets.length;) {
            IERC721(assets[i].tokenAddress).transferFrom(from, to, assets[i].tokenId);
            unchecked {
                i++;
            }
        }
    }

    function _processERC1155(address from, address to, ERC1155Asset[] memory assets) internal {
        for (uint i = 0; i < assets.length;) {
            IERC1155(assets[i].tokenAddress).safeTransferFrom(from, to, assets[i].tokenId, assets[i].value, "0x");
            unchecked {
                i++;
            }
        }
    }

}

File 2 of 15 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../utils/Context.sol";

/**
 * @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 Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby disabling 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 3 of 15 : IERC1155.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (interfaces/IERC1155.sol)

pragma solidity ^0.8.0;

import "../token/ERC1155/IERC1155.sol";

File 4 of 15 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (interfaces/IERC20.sol)

pragma solidity ^0.8.0;

import "../token/ERC20/IERC20.sol";

File 5 of 15 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (interfaces/IERC721.sol)

pragma solidity ^0.8.0;

import "../token/ERC721/IERC721.sol";

File 6 of 15 : IERC1155.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC1155/IERC1155.sol)

pragma solidity ^0.8.0;

import "../../utils/introspection/IERC165.sol";

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

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

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

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

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

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

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

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

    /**
     * @dev Transfers `amount` tokens of token type `id` from `from` to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - If the caller is not `from`, it must 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 7 of 15 : IERC1155Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC1155/IERC1155Receiver.sol)

pragma solidity ^0.8.0;

import "../../utils/introspection/IERC165.sol";

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

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

File 8 of 15 : ERC1155Holder.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC1155/utils/ERC1155Holder.sol)

pragma solidity ^0.8.0;

import "./ERC1155Receiver.sol";

/**
 * Simple implementation of `ERC1155Receiver` that will allow a contract to hold ERC1155 tokens.
 *
 * IMPORTANT: When inheriting this contract, you must include a way to use the received tokens, otherwise they will be
 * stuck.
 *
 * @dev _Available since v3.1._
 */
contract ERC1155Holder is ERC1155Receiver {
    function onERC1155Received(
        address,
        address,
        uint256,
        uint256,
        bytes memory
    ) public virtual override returns (bytes4) {
        return this.onERC1155Received.selector;
    }

    function onERC1155BatchReceived(
        address,
        address,
        uint256[] memory,
        uint256[] memory,
        bytes memory
    ) public virtual override returns (bytes4) {
        return this.onERC1155BatchReceived.selector;
    }
}

File 9 of 15 : ERC1155Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC1155/utils/ERC1155Receiver.sol)

pragma solidity ^0.8.0;

import "../IERC1155Receiver.sol";
import "../../../utils/introspection/ERC165.sol";

/**
 * @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 10 of 15 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

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

    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

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

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

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

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

File 11 of 15 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

import "../../utils/introspection/IERC165.sol";

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

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

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

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

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

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

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

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721
     * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must
     * understand this adds an external call which potentially creates a reentrancy vulnerability.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(address from, address to, uint256 tokenId) external;

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

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

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

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

File 12 of 15 : Context.sol
// SPDX-License-Identifier: MIT
// 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 13 of 15 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

/**
 * @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 14 of 15 : IERC165.sol
// SPDX-License-Identifier: MIT
// 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 16 of 15 : console.sol
// SPDX-License-Identifier: MIT
pragma solidity >=0.4.22 <0.9.0;

library console {
    address constant CONSOLE_ADDRESS =
        0x000000000000000000636F6e736F6c652e6c6f67;

    function _sendLogPayloadImplementation(bytes memory payload) internal view {
        address consoleAddress = CONSOLE_ADDRESS;
        /// @solidity memory-safe-assembly
        assembly {
            pop(
                staticcall(
                    gas(),
                    consoleAddress,
                    add(payload, 32),
                    mload(payload),
                    0,
                    0
                )
            )
        }
    }

    function _castToPure(
      function(bytes memory) internal view fnIn
    ) internal pure returns (function(bytes memory) pure fnOut) {
        assembly {
            fnOut := fnIn
        }
    }

    function _sendLogPayload(bytes memory payload) internal pure {
        _castToPure(_sendLogPayloadImplementation)(payload);
    }

    function log() internal pure {
        _sendLogPayload(abi.encodeWithSignature("log()"));
    }
    function logInt(int256 p0) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(int256)", p0));
    }

    function logUint(uint256 p0) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(uint256)", p0));
    }

    function logString(string memory p0) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(string)", p0));
    }

    function logBool(bool p0) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(bool)", p0));
    }

    function logAddress(address p0) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(address)", p0));
    }

    function logBytes(bytes memory p0) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(bytes)", p0));
    }

    function logBytes1(bytes1 p0) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(bytes1)", p0));
    }

    function logBytes2(bytes2 p0) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(bytes2)", p0));
    }

    function logBytes3(bytes3 p0) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(bytes3)", p0));
    }

    function logBytes4(bytes4 p0) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(bytes4)", p0));
    }

    function logBytes5(bytes5 p0) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(bytes5)", p0));
    }

    function logBytes6(bytes6 p0) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(bytes6)", p0));
    }

    function logBytes7(bytes7 p0) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(bytes7)", p0));
    }

    function logBytes8(bytes8 p0) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(bytes8)", p0));
    }

    function logBytes9(bytes9 p0) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(bytes9)", p0));
    }

    function logBytes10(bytes10 p0) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(bytes10)", p0));
    }

    function logBytes11(bytes11 p0) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(bytes11)", p0));
    }

    function logBytes12(bytes12 p0) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(bytes12)", p0));
    }

    function logBytes13(bytes13 p0) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(bytes13)", p0));
    }

    function logBytes14(bytes14 p0) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(bytes14)", p0));
    }

    function logBytes15(bytes15 p0) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(bytes15)", p0));
    }

    function logBytes16(bytes16 p0) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(bytes16)", p0));
    }

    function logBytes17(bytes17 p0) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(bytes17)", p0));
    }

    function logBytes18(bytes18 p0) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(bytes18)", p0));
    }

    function logBytes19(bytes19 p0) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(bytes19)", p0));
    }

    function logBytes20(bytes20 p0) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(bytes20)", p0));
    }

    function logBytes21(bytes21 p0) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(bytes21)", p0));
    }

    function logBytes22(bytes22 p0) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(bytes22)", p0));
    }

    function logBytes23(bytes23 p0) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(bytes23)", p0));
    }

    function logBytes24(bytes24 p0) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(bytes24)", p0));
    }

    function logBytes25(bytes25 p0) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(bytes25)", p0));
    }

    function logBytes26(bytes26 p0) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(bytes26)", p0));
    }

    function logBytes27(bytes27 p0) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(bytes27)", p0));
    }

    function logBytes28(bytes28 p0) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(bytes28)", p0));
    }

    function logBytes29(bytes29 p0) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(bytes29)", p0));
    }

    function logBytes30(bytes30 p0) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(bytes30)", p0));
    }

    function logBytes31(bytes31 p0) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(bytes31)", p0));
    }

    function logBytes32(bytes32 p0) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(bytes32)", p0));
    }

    function log(uint256 p0) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(uint256)", p0));
    }

    function log(string memory p0) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(string)", p0));
    }

    function log(bool p0) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(bool)", p0));
    }

    function log(address p0) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(address)", p0));
    }

    function log(uint256 p0, uint256 p1) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256)", p0, p1));
    }

    function log(uint256 p0, string memory p1) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(uint256,string)", p0, p1));
    }

    function log(uint256 p0, bool p1) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(uint256,bool)", p0, p1));
    }

    function log(uint256 p0, address p1) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(uint256,address)", p0, p1));
    }

    function log(string memory p0, uint256 p1) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(string,uint256)", p0, p1));
    }

    function log(string memory p0, string memory p1) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(string,string)", p0, p1));
    }

    function log(string memory p0, bool p1) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(string,bool)", p0, p1));
    }

    function log(string memory p0, address p1) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(string,address)", p0, p1));
    }

    function log(bool p0, uint256 p1) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(bool,uint256)", p0, p1));
    }

    function log(bool p0, string memory p1) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(bool,string)", p0, p1));
    }

    function log(bool p0, bool p1) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(bool,bool)", p0, p1));
    }

    function log(bool p0, address p1) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(bool,address)", p0, p1));
    }

    function log(address p0, uint256 p1) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(address,uint256)", p0, p1));
    }

    function log(address p0, string memory p1) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(address,string)", p0, p1));
    }

    function log(address p0, bool p1) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(address,bool)", p0, p1));
    }

    function log(address p0, address p1) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(address,address)", p0, p1));
    }

    function log(uint256 p0, uint256 p1, uint256 p2) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,uint256)", p0, p1, p2));
    }

    function log(uint256 p0, uint256 p1, string memory p2) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,string)", p0, p1, p2));
    }

    function log(uint256 p0, uint256 p1, bool p2) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,bool)", p0, p1, p2));
    }

    function log(uint256 p0, uint256 p1, address p2) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,address)", p0, p1, p2));
    }

    function log(uint256 p0, string memory p1, uint256 p2) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(uint256,string,uint256)", p0, p1, p2));
    }

    function log(uint256 p0, string memory p1, string memory p2) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(uint256,string,string)", p0, p1, p2));
    }

    function log(uint256 p0, string memory p1, bool p2) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(uint256,string,bool)", p0, p1, p2));
    }

    function log(uint256 p0, string memory p1, address p2) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(uint256,string,address)", p0, p1, p2));
    }

    function log(uint256 p0, bool p1, uint256 p2) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,uint256)", p0, p1, p2));
    }

    function log(uint256 p0, bool p1, string memory p2) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,string)", p0, p1, p2));
    }

    function log(uint256 p0, bool p1, bool p2) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,bool)", p0, p1, p2));
    }

    function log(uint256 p0, bool p1, address p2) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,address)", p0, p1, p2));
    }

    function log(uint256 p0, address p1, uint256 p2) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(uint256,address,uint256)", p0, p1, p2));
    }

    function log(uint256 p0, address p1, string memory p2) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(uint256,address,string)", p0, p1, p2));
    }

    function log(uint256 p0, address p1, bool p2) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(uint256,address,bool)", p0, p1, p2));
    }

    function log(uint256 p0, address p1, address p2) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(uint256,address,address)", p0, p1, p2));
    }

    function log(string memory p0, uint256 p1, uint256 p2) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(string,uint256,uint256)", p0, p1, p2));
    }

    function log(string memory p0, uint256 p1, string memory p2) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(string,uint256,string)", p0, p1, p2));
    }

    function log(string memory p0, uint256 p1, bool p2) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(string,uint256,bool)", p0, p1, p2));
    }

    function log(string memory p0, uint256 p1, address p2) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(string,uint256,address)", p0, p1, p2));
    }

    function log(string memory p0, string memory p1, uint256 p2) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(string,string,uint256)", p0, p1, p2));
    }

    function log(string memory p0, string memory p1, string memory p2) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(string,string,string)", p0, p1, p2));
    }

    function log(string memory p0, string memory p1, bool p2) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(string,string,bool)", p0, p1, p2));
    }

    function log(string memory p0, string memory p1, address p2) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(string,string,address)", p0, p1, p2));
    }

    function log(string memory p0, bool p1, uint256 p2) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(string,bool,uint256)", p0, p1, p2));
    }

    function log(string memory p0, bool p1, string memory p2) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(string,bool,string)", p0, p1, p2));
    }

    function log(string memory p0, bool p1, bool p2) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(string,bool,bool)", p0, p1, p2));
    }

    function log(string memory p0, bool p1, address p2) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(string,bool,address)", p0, p1, p2));
    }

    function log(string memory p0, address p1, uint256 p2) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(string,address,uint256)", p0, p1, p2));
    }

    function log(string memory p0, address p1, string memory p2) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(string,address,string)", p0, p1, p2));
    }

    function log(string memory p0, address p1, bool p2) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(string,address,bool)", p0, p1, p2));
    }

    function log(string memory p0, address p1, address p2) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(string,address,address)", p0, p1, p2));
    }

    function log(bool p0, uint256 p1, uint256 p2) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,uint256)", p0, p1, p2));
    }

    function log(bool p0, uint256 p1, string memory p2) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,string)", p0, p1, p2));
    }

    function log(bool p0, uint256 p1, bool p2) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,bool)", p0, p1, p2));
    }

    function log(bool p0, uint256 p1, address p2) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,address)", p0, p1, p2));
    }

    function log(bool p0, string memory p1, uint256 p2) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(bool,string,uint256)", p0, p1, p2));
    }

    function log(bool p0, string memory p1, string memory p2) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(bool,string,string)", p0, p1, p2));
    }

    function log(bool p0, string memory p1, bool p2) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(bool,string,bool)", p0, p1, p2));
    }

    function log(bool p0, string memory p1, address p2) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(bool,string,address)", p0, p1, p2));
    }

    function log(bool p0, bool p1, uint256 p2) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint256)", p0, p1, p2));
    }

    function log(bool p0, bool p1, string memory p2) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(bool,bool,string)", p0, p1, p2));
    }

    function log(bool p0, bool p1, bool p2) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool)", p0, p1, p2));
    }

    function log(bool p0, bool p1, address p2) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(bool,bool,address)", p0, p1, p2));
    }

    function log(bool p0, address p1, uint256 p2) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(bool,address,uint256)", p0, p1, p2));
    }

    function log(bool p0, address p1, string memory p2) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(bool,address,string)", p0, p1, p2));
    }

    function log(bool p0, address p1, bool p2) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(bool,address,bool)", p0, p1, p2));
    }

    function log(bool p0, address p1, address p2) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(bool,address,address)", p0, p1, p2));
    }

    function log(address p0, uint256 p1, uint256 p2) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(address,uint256,uint256)", p0, p1, p2));
    }

    function log(address p0, uint256 p1, string memory p2) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(address,uint256,string)", p0, p1, p2));
    }

    function log(address p0, uint256 p1, bool p2) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(address,uint256,bool)", p0, p1, p2));
    }

    function log(address p0, uint256 p1, address p2) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(address,uint256,address)", p0, p1, p2));
    }

    function log(address p0, string memory p1, uint256 p2) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(address,string,uint256)", p0, p1, p2));
    }

    function log(address p0, string memory p1, string memory p2) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(address,string,string)", p0, p1, p2));
    }

    function log(address p0, string memory p1, bool p2) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(address,string,bool)", p0, p1, p2));
    }

    function log(address p0, string memory p1, address p2) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(address,string,address)", p0, p1, p2));
    }

    function log(address p0, bool p1, uint256 p2) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(address,bool,uint256)", p0, p1, p2));
    }

    function log(address p0, bool p1, string memory p2) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(address,bool,string)", p0, p1, p2));
    }

    function log(address p0, bool p1, bool p2) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(address,bool,bool)", p0, p1, p2));
    }

    function log(address p0, bool p1, address p2) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(address,bool,address)", p0, p1, p2));
    }

    function log(address p0, address p1, uint256 p2) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(address,address,uint256)", p0, p1, p2));
    }

    function log(address p0, address p1, string memory p2) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(address,address,string)", p0, p1, p2));
    }

    function log(address p0, address p1, bool p2) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(address,address,bool)", p0, p1, p2));
    }

    function log(address p0, address p1, address p2) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(address,address,address)", p0, p1, p2));
    }

    function log(uint256 p0, uint256 p1, uint256 p2, uint256 p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,uint256,uint256)", p0, p1, p2, p3));
    }

    function log(uint256 p0, uint256 p1, uint256 p2, string memory p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,uint256,string)", p0, p1, p2, p3));
    }

    function log(uint256 p0, uint256 p1, uint256 p2, bool p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,uint256,bool)", p0, p1, p2, p3));
    }

    function log(uint256 p0, uint256 p1, uint256 p2, address p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,uint256,address)", p0, p1, p2, p3));
    }

    function log(uint256 p0, uint256 p1, string memory p2, uint256 p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,string,uint256)", p0, p1, p2, p3));
    }

    function log(uint256 p0, uint256 p1, string memory p2, string memory p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,string,string)", p0, p1, p2, p3));
    }

    function log(uint256 p0, uint256 p1, string memory p2, bool p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,string,bool)", p0, p1, p2, p3));
    }

    function log(uint256 p0, uint256 p1, string memory p2, address p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,string,address)", p0, p1, p2, p3));
    }

    function log(uint256 p0, uint256 p1, bool p2, uint256 p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,bool,uint256)", p0, p1, p2, p3));
    }

    function log(uint256 p0, uint256 p1, bool p2, string memory p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,bool,string)", p0, p1, p2, p3));
    }

    function log(uint256 p0, uint256 p1, bool p2, bool p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,bool,bool)", p0, p1, p2, p3));
    }

    function log(uint256 p0, uint256 p1, bool p2, address p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,bool,address)", p0, p1, p2, p3));
    }

    function log(uint256 p0, uint256 p1, address p2, uint256 p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,address,uint256)", p0, p1, p2, p3));
    }

    function log(uint256 p0, uint256 p1, address p2, string memory p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,address,string)", p0, p1, p2, p3));
    }

    function log(uint256 p0, uint256 p1, address p2, bool p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,address,bool)", p0, p1, p2, p3));
    }

    function log(uint256 p0, uint256 p1, address p2, address p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,address,address)", p0, p1, p2, p3));
    }

    function log(uint256 p0, string memory p1, uint256 p2, uint256 p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(uint256,string,uint256,uint256)", p0, p1, p2, p3));
    }

    function log(uint256 p0, string memory p1, uint256 p2, string memory p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(uint256,string,uint256,string)", p0, p1, p2, p3));
    }

    function log(uint256 p0, string memory p1, uint256 p2, bool p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(uint256,string,uint256,bool)", p0, p1, p2, p3));
    }

    function log(uint256 p0, string memory p1, uint256 p2, address p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(uint256,string,uint256,address)", p0, p1, p2, p3));
    }

    function log(uint256 p0, string memory p1, string memory p2, uint256 p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(uint256,string,string,uint256)", p0, p1, p2, p3));
    }

    function log(uint256 p0, string memory p1, string memory p2, string memory p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(uint256,string,string,string)", p0, p1, p2, p3));
    }

    function log(uint256 p0, string memory p1, string memory p2, bool p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(uint256,string,string,bool)", p0, p1, p2, p3));
    }

    function log(uint256 p0, string memory p1, string memory p2, address p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(uint256,string,string,address)", p0, p1, p2, p3));
    }

    function log(uint256 p0, string memory p1, bool p2, uint256 p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(uint256,string,bool,uint256)", p0, p1, p2, p3));
    }

    function log(uint256 p0, string memory p1, bool p2, string memory p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(uint256,string,bool,string)", p0, p1, p2, p3));
    }

    function log(uint256 p0, string memory p1, bool p2, bool p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(uint256,string,bool,bool)", p0, p1, p2, p3));
    }

    function log(uint256 p0, string memory p1, bool p2, address p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(uint256,string,bool,address)", p0, p1, p2, p3));
    }

    function log(uint256 p0, string memory p1, address p2, uint256 p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(uint256,string,address,uint256)", p0, p1, p2, p3));
    }

    function log(uint256 p0, string memory p1, address p2, string memory p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(uint256,string,address,string)", p0, p1, p2, p3));
    }

    function log(uint256 p0, string memory p1, address p2, bool p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(uint256,string,address,bool)", p0, p1, p2, p3));
    }

    function log(uint256 p0, string memory p1, address p2, address p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(uint256,string,address,address)", p0, p1, p2, p3));
    }

    function log(uint256 p0, bool p1, uint256 p2, uint256 p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,uint256,uint256)", p0, p1, p2, p3));
    }

    function log(uint256 p0, bool p1, uint256 p2, string memory p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,uint256,string)", p0, p1, p2, p3));
    }

    function log(uint256 p0, bool p1, uint256 p2, bool p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,uint256,bool)", p0, p1, p2, p3));
    }

    function log(uint256 p0, bool p1, uint256 p2, address p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,uint256,address)", p0, p1, p2, p3));
    }

    function log(uint256 p0, bool p1, string memory p2, uint256 p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,string,uint256)", p0, p1, p2, p3));
    }

    function log(uint256 p0, bool p1, string memory p2, string memory p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,string,string)", p0, p1, p2, p3));
    }

    function log(uint256 p0, bool p1, string memory p2, bool p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,string,bool)", p0, p1, p2, p3));
    }

    function log(uint256 p0, bool p1, string memory p2, address p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,string,address)", p0, p1, p2, p3));
    }

    function log(uint256 p0, bool p1, bool p2, uint256 p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,bool,uint256)", p0, p1, p2, p3));
    }

    function log(uint256 p0, bool p1, bool p2, string memory p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,bool,string)", p0, p1, p2, p3));
    }

    function log(uint256 p0, bool p1, bool p2, bool p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,bool,bool)", p0, p1, p2, p3));
    }

    function log(uint256 p0, bool p1, bool p2, address p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,bool,address)", p0, p1, p2, p3));
    }

    function log(uint256 p0, bool p1, address p2, uint256 p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,address,uint256)", p0, p1, p2, p3));
    }

    function log(uint256 p0, bool p1, address p2, string memory p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,address,string)", p0, p1, p2, p3));
    }

    function log(uint256 p0, bool p1, address p2, bool p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,address,bool)", p0, p1, p2, p3));
    }

    function log(uint256 p0, bool p1, address p2, address p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,address,address)", p0, p1, p2, p3));
    }

    function log(uint256 p0, address p1, uint256 p2, uint256 p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(uint256,address,uint256,uint256)", p0, p1, p2, p3));
    }

    function log(uint256 p0, address p1, uint256 p2, string memory p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(uint256,address,uint256,string)", p0, p1, p2, p3));
    }

    function log(uint256 p0, address p1, uint256 p2, bool p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(uint256,address,uint256,bool)", p0, p1, p2, p3));
    }

    function log(uint256 p0, address p1, uint256 p2, address p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(uint256,address,uint256,address)", p0, p1, p2, p3));
    }

    function log(uint256 p0, address p1, string memory p2, uint256 p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(uint256,address,string,uint256)", p0, p1, p2, p3));
    }

    function log(uint256 p0, address p1, string memory p2, string memory p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(uint256,address,string,string)", p0, p1, p2, p3));
    }

    function log(uint256 p0, address p1, string memory p2, bool p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(uint256,address,string,bool)", p0, p1, p2, p3));
    }

    function log(uint256 p0, address p1, string memory p2, address p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(uint256,address,string,address)", p0, p1, p2, p3));
    }

    function log(uint256 p0, address p1, bool p2, uint256 p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(uint256,address,bool,uint256)", p0, p1, p2, p3));
    }

    function log(uint256 p0, address p1, bool p2, string memory p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(uint256,address,bool,string)", p0, p1, p2, p3));
    }

    function log(uint256 p0, address p1, bool p2, bool p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(uint256,address,bool,bool)", p0, p1, p2, p3));
    }

    function log(uint256 p0, address p1, bool p2, address p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(uint256,address,bool,address)", p0, p1, p2, p3));
    }

    function log(uint256 p0, address p1, address p2, uint256 p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(uint256,address,address,uint256)", p0, p1, p2, p3));
    }

    function log(uint256 p0, address p1, address p2, string memory p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(uint256,address,address,string)", p0, p1, p2, p3));
    }

    function log(uint256 p0, address p1, address p2, bool p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(uint256,address,address,bool)", p0, p1, p2, p3));
    }

    function log(uint256 p0, address p1, address p2, address p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(uint256,address,address,address)", p0, p1, p2, p3));
    }

    function log(string memory p0, uint256 p1, uint256 p2, uint256 p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(string,uint256,uint256,uint256)", p0, p1, p2, p3));
    }

    function log(string memory p0, uint256 p1, uint256 p2, string memory p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(string,uint256,uint256,string)", p0, p1, p2, p3));
    }

    function log(string memory p0, uint256 p1, uint256 p2, bool p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(string,uint256,uint256,bool)", p0, p1, p2, p3));
    }

    function log(string memory p0, uint256 p1, uint256 p2, address p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(string,uint256,uint256,address)", p0, p1, p2, p3));
    }

    function log(string memory p0, uint256 p1, string memory p2, uint256 p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(string,uint256,string,uint256)", p0, p1, p2, p3));
    }

    function log(string memory p0, uint256 p1, string memory p2, string memory p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(string,uint256,string,string)", p0, p1, p2, p3));
    }

    function log(string memory p0, uint256 p1, string memory p2, bool p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(string,uint256,string,bool)", p0, p1, p2, p3));
    }

    function log(string memory p0, uint256 p1, string memory p2, address p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(string,uint256,string,address)", p0, p1, p2, p3));
    }

    function log(string memory p0, uint256 p1, bool p2, uint256 p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(string,uint256,bool,uint256)", p0, p1, p2, p3));
    }

    function log(string memory p0, uint256 p1, bool p2, string memory p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(string,uint256,bool,string)", p0, p1, p2, p3));
    }

    function log(string memory p0, uint256 p1, bool p2, bool p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(string,uint256,bool,bool)", p0, p1, p2, p3));
    }

    function log(string memory p0, uint256 p1, bool p2, address p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(string,uint256,bool,address)", p0, p1, p2, p3));
    }

    function log(string memory p0, uint256 p1, address p2, uint256 p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(string,uint256,address,uint256)", p0, p1, p2, p3));
    }

    function log(string memory p0, uint256 p1, address p2, string memory p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(string,uint256,address,string)", p0, p1, p2, p3));
    }

    function log(string memory p0, uint256 p1, address p2, bool p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(string,uint256,address,bool)", p0, p1, p2, p3));
    }

    function log(string memory p0, uint256 p1, address p2, address p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(string,uint256,address,address)", p0, p1, p2, p3));
    }

    function log(string memory p0, string memory p1, uint256 p2, uint256 p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(string,string,uint256,uint256)", p0, p1, p2, p3));
    }

    function log(string memory p0, string memory p1, uint256 p2, string memory p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(string,string,uint256,string)", p0, p1, p2, p3));
    }

    function log(string memory p0, string memory p1, uint256 p2, bool p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(string,string,uint256,bool)", p0, p1, p2, p3));
    }

    function log(string memory p0, string memory p1, uint256 p2, address p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(string,string,uint256,address)", p0, p1, p2, p3));
    }

    function log(string memory p0, string memory p1, string memory p2, uint256 p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(string,string,string,uint256)", p0, p1, p2, p3));
    }

    function log(string memory p0, string memory p1, string memory p2, string memory p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(string,string,string,string)", p0, p1, p2, p3));
    }

    function log(string memory p0, string memory p1, string memory p2, bool p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(string,string,string,bool)", p0, p1, p2, p3));
    }

    function log(string memory p0, string memory p1, string memory p2, address p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(string,string,string,address)", p0, p1, p2, p3));
    }

    function log(string memory p0, string memory p1, bool p2, uint256 p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(string,string,bool,uint256)", p0, p1, p2, p3));
    }

    function log(string memory p0, string memory p1, bool p2, string memory p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(string,string,bool,string)", p0, p1, p2, p3));
    }

    function log(string memory p0, string memory p1, bool p2, bool p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(string,string,bool,bool)", p0, p1, p2, p3));
    }

    function log(string memory p0, string memory p1, bool p2, address p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(string,string,bool,address)", p0, p1, p2, p3));
    }

    function log(string memory p0, string memory p1, address p2, uint256 p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(string,string,address,uint256)", p0, p1, p2, p3));
    }

    function log(string memory p0, string memory p1, address p2, string memory p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(string,string,address,string)", p0, p1, p2, p3));
    }

    function log(string memory p0, string memory p1, address p2, bool p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(string,string,address,bool)", p0, p1, p2, p3));
    }

    function log(string memory p0, string memory p1, address p2, address p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(string,string,address,address)", p0, p1, p2, p3));
    }

    function log(string memory p0, bool p1, uint256 p2, uint256 p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(string,bool,uint256,uint256)", p0, p1, p2, p3));
    }

    function log(string memory p0, bool p1, uint256 p2, string memory p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(string,bool,uint256,string)", p0, p1, p2, p3));
    }

    function log(string memory p0, bool p1, uint256 p2, bool p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(string,bool,uint256,bool)", p0, p1, p2, p3));
    }

    function log(string memory p0, bool p1, uint256 p2, address p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(string,bool,uint256,address)", p0, p1, p2, p3));
    }

    function log(string memory p0, bool p1, string memory p2, uint256 p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(string,bool,string,uint256)", p0, p1, p2, p3));
    }

    function log(string memory p0, bool p1, string memory p2, string memory p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(string,bool,string,string)", p0, p1, p2, p3));
    }

    function log(string memory p0, bool p1, string memory p2, bool p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(string,bool,string,bool)", p0, p1, p2, p3));
    }

    function log(string memory p0, bool p1, string memory p2, address p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(string,bool,string,address)", p0, p1, p2, p3));
    }

    function log(string memory p0, bool p1, bool p2, uint256 p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,uint256)", p0, p1, p2, p3));
    }

    function log(string memory p0, bool p1, bool p2, string memory p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,string)", p0, p1, p2, p3));
    }

    function log(string memory p0, bool p1, bool p2, bool p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,bool)", p0, p1, p2, p3));
    }

    function log(string memory p0, bool p1, bool p2, address p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,address)", p0, p1, p2, p3));
    }

    function log(string memory p0, bool p1, address p2, uint256 p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(string,bool,address,uint256)", p0, p1, p2, p3));
    }

    function log(string memory p0, bool p1, address p2, string memory p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(string,bool,address,string)", p0, p1, p2, p3));
    }

    function log(string memory p0, bool p1, address p2, bool p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(string,bool,address,bool)", p0, p1, p2, p3));
    }

    function log(string memory p0, bool p1, address p2, address p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(string,bool,address,address)", p0, p1, p2, p3));
    }

    function log(string memory p0, address p1, uint256 p2, uint256 p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(string,address,uint256,uint256)", p0, p1, p2, p3));
    }

    function log(string memory p0, address p1, uint256 p2, string memory p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(string,address,uint256,string)", p0, p1, p2, p3));
    }

    function log(string memory p0, address p1, uint256 p2, bool p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(string,address,uint256,bool)", p0, p1, p2, p3));
    }

    function log(string memory p0, address p1, uint256 p2, address p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(string,address,uint256,address)", p0, p1, p2, p3));
    }

    function log(string memory p0, address p1, string memory p2, uint256 p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(string,address,string,uint256)", p0, p1, p2, p3));
    }

    function log(string memory p0, address p1, string memory p2, string memory p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(string,address,string,string)", p0, p1, p2, p3));
    }

    function log(string memory p0, address p1, string memory p2, bool p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(string,address,string,bool)", p0, p1, p2, p3));
    }

    function log(string memory p0, address p1, string memory p2, address p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(string,address,string,address)", p0, p1, p2, p3));
    }

    function log(string memory p0, address p1, bool p2, uint256 p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(string,address,bool,uint256)", p0, p1, p2, p3));
    }

    function log(string memory p0, address p1, bool p2, string memory p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(string,address,bool,string)", p0, p1, p2, p3));
    }

    function log(string memory p0, address p1, bool p2, bool p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(string,address,bool,bool)", p0, p1, p2, p3));
    }

    function log(string memory p0, address p1, bool p2, address p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(string,address,bool,address)", p0, p1, p2, p3));
    }

    function log(string memory p0, address p1, address p2, uint256 p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(string,address,address,uint256)", p0, p1, p2, p3));
    }

    function log(string memory p0, address p1, address p2, string memory p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(string,address,address,string)", p0, p1, p2, p3));
    }

    function log(string memory p0, address p1, address p2, bool p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(string,address,address,bool)", p0, p1, p2, p3));
    }

    function log(string memory p0, address p1, address p2, address p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(string,address,address,address)", p0, p1, p2, p3));
    }

    function log(bool p0, uint256 p1, uint256 p2, uint256 p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,uint256,uint256)", p0, p1, p2, p3));
    }

    function log(bool p0, uint256 p1, uint256 p2, string memory p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,uint256,string)", p0, p1, p2, p3));
    }

    function log(bool p0, uint256 p1, uint256 p2, bool p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,uint256,bool)", p0, p1, p2, p3));
    }

    function log(bool p0, uint256 p1, uint256 p2, address p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,uint256,address)", p0, p1, p2, p3));
    }

    function log(bool p0, uint256 p1, string memory p2, uint256 p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,string,uint256)", p0, p1, p2, p3));
    }

    function log(bool p0, uint256 p1, string memory p2, string memory p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,string,string)", p0, p1, p2, p3));
    }

    function log(bool p0, uint256 p1, string memory p2, bool p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,string,bool)", p0, p1, p2, p3));
    }

    function log(bool p0, uint256 p1, string memory p2, address p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,string,address)", p0, p1, p2, p3));
    }

    function log(bool p0, uint256 p1, bool p2, uint256 p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,bool,uint256)", p0, p1, p2, p3));
    }

    function log(bool p0, uint256 p1, bool p2, string memory p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,bool,string)", p0, p1, p2, p3));
    }

    function log(bool p0, uint256 p1, bool p2, bool p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,bool,bool)", p0, p1, p2, p3));
    }

    function log(bool p0, uint256 p1, bool p2, address p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,bool,address)", p0, p1, p2, p3));
    }

    function log(bool p0, uint256 p1, address p2, uint256 p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,address,uint256)", p0, p1, p2, p3));
    }

    function log(bool p0, uint256 p1, address p2, string memory p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,address,string)", p0, p1, p2, p3));
    }

    function log(bool p0, uint256 p1, address p2, bool p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,address,bool)", p0, p1, p2, p3));
    }

    function log(bool p0, uint256 p1, address p2, address p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,address,address)", p0, p1, p2, p3));
    }

    function log(bool p0, string memory p1, uint256 p2, uint256 p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(bool,string,uint256,uint256)", p0, p1, p2, p3));
    }

    function log(bool p0, string memory p1, uint256 p2, string memory p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(bool,string,uint256,string)", p0, p1, p2, p3));
    }

    function log(bool p0, string memory p1, uint256 p2, bool p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(bool,string,uint256,bool)", p0, p1, p2, p3));
    }

    function log(bool p0, string memory p1, uint256 p2, address p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(bool,string,uint256,address)", p0, p1, p2, p3));
    }

    function log(bool p0, string memory p1, string memory p2, uint256 p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(bool,string,string,uint256)", p0, p1, p2, p3));
    }

    function log(bool p0, string memory p1, string memory p2, string memory p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(bool,string,string,string)", p0, p1, p2, p3));
    }

    function log(bool p0, string memory p1, string memory p2, bool p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(bool,string,string,bool)", p0, p1, p2, p3));
    }

    function log(bool p0, string memory p1, string memory p2, address p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(bool,string,string,address)", p0, p1, p2, p3));
    }

    function log(bool p0, string memory p1, bool p2, uint256 p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,uint256)", p0, p1, p2, p3));
    }

    function log(bool p0, string memory p1, bool p2, string memory p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,string)", p0, p1, p2, p3));
    }

    function log(bool p0, string memory p1, bool p2, bool p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,bool)", p0, p1, p2, p3));
    }

    function log(bool p0, string memory p1, bool p2, address p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,address)", p0, p1, p2, p3));
    }

    function log(bool p0, string memory p1, address p2, uint256 p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(bool,string,address,uint256)", p0, p1, p2, p3));
    }

    function log(bool p0, string memory p1, address p2, string memory p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(bool,string,address,string)", p0, p1, p2, p3));
    }

    function log(bool p0, string memory p1, address p2, bool p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(bool,string,address,bool)", p0, p1, p2, p3));
    }

    function log(bool p0, string memory p1, address p2, address p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(bool,string,address,address)", p0, p1, p2, p3));
    }

    function log(bool p0, bool p1, uint256 p2, uint256 p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint256,uint256)", p0, p1, p2, p3));
    }

    function log(bool p0, bool p1, uint256 p2, string memory p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint256,string)", p0, p1, p2, p3));
    }

    function log(bool p0, bool p1, uint256 p2, bool p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint256,bool)", p0, p1, p2, p3));
    }

    function log(bool p0, bool p1, uint256 p2, address p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint256,address)", p0, p1, p2, p3));
    }

    function log(bool p0, bool p1, string memory p2, uint256 p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,uint256)", p0, p1, p2, p3));
    }

    function log(bool p0, bool p1, string memory p2, string memory p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,string)", p0, p1, p2, p3));
    }

    function log(bool p0, bool p1, string memory p2, bool p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,bool)", p0, p1, p2, p3));
    }

    function log(bool p0, bool p1, string memory p2, address p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,address)", p0, p1, p2, p3));
    }

    function log(bool p0, bool p1, bool p2, uint256 p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,uint256)", p0, p1, p2, p3));
    }

    function log(bool p0, bool p1, bool p2, string memory p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,string)", p0, p1, p2, p3));
    }

    function log(bool p0, bool p1, bool p2, bool p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,bool)", p0, p1, p2, p3));
    }

    function log(bool p0, bool p1, bool p2, address p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,address)", p0, p1, p2, p3));
    }

    function log(bool p0, bool p1, address p2, uint256 p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,uint256)", p0, p1, p2, p3));
    }

    function log(bool p0, bool p1, address p2, string memory p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,string)", p0, p1, p2, p3));
    }

    function log(bool p0, bool p1, address p2, bool p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,bool)", p0, p1, p2, p3));
    }

    function log(bool p0, bool p1, address p2, address p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,address)", p0, p1, p2, p3));
    }

    function log(bool p0, address p1, uint256 p2, uint256 p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(bool,address,uint256,uint256)", p0, p1, p2, p3));
    }

    function log(bool p0, address p1, uint256 p2, string memory p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(bool,address,uint256,string)", p0, p1, p2, p3));
    }

    function log(bool p0, address p1, uint256 p2, bool p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(bool,address,uint256,bool)", p0, p1, p2, p3));
    }

    function log(bool p0, address p1, uint256 p2, address p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(bool,address,uint256,address)", p0, p1, p2, p3));
    }

    function log(bool p0, address p1, string memory p2, uint256 p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(bool,address,string,uint256)", p0, p1, p2, p3));
    }

    function log(bool p0, address p1, string memory p2, string memory p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(bool,address,string,string)", p0, p1, p2, p3));
    }

    function log(bool p0, address p1, string memory p2, bool p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(bool,address,string,bool)", p0, p1, p2, p3));
    }

    function log(bool p0, address p1, string memory p2, address p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(bool,address,string,address)", p0, p1, p2, p3));
    }

    function log(bool p0, address p1, bool p2, uint256 p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,uint256)", p0, p1, p2, p3));
    }

    function log(bool p0, address p1, bool p2, string memory p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,string)", p0, p1, p2, p3));
    }

    function log(bool p0, address p1, bool p2, bool p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,bool)", p0, p1, p2, p3));
    }

    function log(bool p0, address p1, bool p2, address p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,address)", p0, p1, p2, p3));
    }

    function log(bool p0, address p1, address p2, uint256 p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(bool,address,address,uint256)", p0, p1, p2, p3));
    }

    function log(bool p0, address p1, address p2, string memory p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(bool,address,address,string)", p0, p1, p2, p3));
    }

    function log(bool p0, address p1, address p2, bool p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(bool,address,address,bool)", p0, p1, p2, p3));
    }

    function log(bool p0, address p1, address p2, address p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(bool,address,address,address)", p0, p1, p2, p3));
    }

    function log(address p0, uint256 p1, uint256 p2, uint256 p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(address,uint256,uint256,uint256)", p0, p1, p2, p3));
    }

    function log(address p0, uint256 p1, uint256 p2, string memory p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(address,uint256,uint256,string)", p0, p1, p2, p3));
    }

    function log(address p0, uint256 p1, uint256 p2, bool p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(address,uint256,uint256,bool)", p0, p1, p2, p3));
    }

    function log(address p0, uint256 p1, uint256 p2, address p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(address,uint256,uint256,address)", p0, p1, p2, p3));
    }

    function log(address p0, uint256 p1, string memory p2, uint256 p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(address,uint256,string,uint256)", p0, p1, p2, p3));
    }

    function log(address p0, uint256 p1, string memory p2, string memory p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(address,uint256,string,string)", p0, p1, p2, p3));
    }

    function log(address p0, uint256 p1, string memory p2, bool p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(address,uint256,string,bool)", p0, p1, p2, p3));
    }

    function log(address p0, uint256 p1, string memory p2, address p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(address,uint256,string,address)", p0, p1, p2, p3));
    }

    function log(address p0, uint256 p1, bool p2, uint256 p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(address,uint256,bool,uint256)", p0, p1, p2, p3));
    }

    function log(address p0, uint256 p1, bool p2, string memory p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(address,uint256,bool,string)", p0, p1, p2, p3));
    }

    function log(address p0, uint256 p1, bool p2, bool p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(address,uint256,bool,bool)", p0, p1, p2, p3));
    }

    function log(address p0, uint256 p1, bool p2, address p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(address,uint256,bool,address)", p0, p1, p2, p3));
    }

    function log(address p0, uint256 p1, address p2, uint256 p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(address,uint256,address,uint256)", p0, p1, p2, p3));
    }

    function log(address p0, uint256 p1, address p2, string memory p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(address,uint256,address,string)", p0, p1, p2, p3));
    }

    function log(address p0, uint256 p1, address p2, bool p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(address,uint256,address,bool)", p0, p1, p2, p3));
    }

    function log(address p0, uint256 p1, address p2, address p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(address,uint256,address,address)", p0, p1, p2, p3));
    }

    function log(address p0, string memory p1, uint256 p2, uint256 p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(address,string,uint256,uint256)", p0, p1, p2, p3));
    }

    function log(address p0, string memory p1, uint256 p2, string memory p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(address,string,uint256,string)", p0, p1, p2, p3));
    }

    function log(address p0, string memory p1, uint256 p2, bool p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(address,string,uint256,bool)", p0, p1, p2, p3));
    }

    function log(address p0, string memory p1, uint256 p2, address p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(address,string,uint256,address)", p0, p1, p2, p3));
    }

    function log(address p0, string memory p1, string memory p2, uint256 p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(address,string,string,uint256)", p0, p1, p2, p3));
    }

    function log(address p0, string memory p1, string memory p2, string memory p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(address,string,string,string)", p0, p1, p2, p3));
    }

    function log(address p0, string memory p1, string memory p2, bool p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(address,string,string,bool)", p0, p1, p2, p3));
    }

    function log(address p0, string memory p1, string memory p2, address p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(address,string,string,address)", p0, p1, p2, p3));
    }

    function log(address p0, string memory p1, bool p2, uint256 p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(address,string,bool,uint256)", p0, p1, p2, p3));
    }

    function log(address p0, string memory p1, bool p2, string memory p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(address,string,bool,string)", p0, p1, p2, p3));
    }

    function log(address p0, string memory p1, bool p2, bool p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(address,string,bool,bool)", p0, p1, p2, p3));
    }

    function log(address p0, string memory p1, bool p2, address p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(address,string,bool,address)", p0, p1, p2, p3));
    }

    function log(address p0, string memory p1, address p2, uint256 p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(address,string,address,uint256)", p0, p1, p2, p3));
    }

    function log(address p0, string memory p1, address p2, string memory p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(address,string,address,string)", p0, p1, p2, p3));
    }

    function log(address p0, string memory p1, address p2, bool p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(address,string,address,bool)", p0, p1, p2, p3));
    }

    function log(address p0, string memory p1, address p2, address p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(address,string,address,address)", p0, p1, p2, p3));
    }

    function log(address p0, bool p1, uint256 p2, uint256 p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(address,bool,uint256,uint256)", p0, p1, p2, p3));
    }

    function log(address p0, bool p1, uint256 p2, string memory p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(address,bool,uint256,string)", p0, p1, p2, p3));
    }

    function log(address p0, bool p1, uint256 p2, bool p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(address,bool,uint256,bool)", p0, p1, p2, p3));
    }

    function log(address p0, bool p1, uint256 p2, address p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(address,bool,uint256,address)", p0, p1, p2, p3));
    }

    function log(address p0, bool p1, string memory p2, uint256 p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(address,bool,string,uint256)", p0, p1, p2, p3));
    }

    function log(address p0, bool p1, string memory p2, string memory p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(address,bool,string,string)", p0, p1, p2, p3));
    }

    function log(address p0, bool p1, string memory p2, bool p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(address,bool,string,bool)", p0, p1, p2, p3));
    }

    function log(address p0, bool p1, string memory p2, address p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(address,bool,string,address)", p0, p1, p2, p3));
    }

    function log(address p0, bool p1, bool p2, uint256 p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,uint256)", p0, p1, p2, p3));
    }

    function log(address p0, bool p1, bool p2, string memory p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,string)", p0, p1, p2, p3));
    }

    function log(address p0, bool p1, bool p2, bool p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,bool)", p0, p1, p2, p3));
    }

    function log(address p0, bool p1, bool p2, address p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,address)", p0, p1, p2, p3));
    }

    function log(address p0, bool p1, address p2, uint256 p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(address,bool,address,uint256)", p0, p1, p2, p3));
    }

    function log(address p0, bool p1, address p2, string memory p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(address,bool,address,string)", p0, p1, p2, p3));
    }

    function log(address p0, bool p1, address p2, bool p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(address,bool,address,bool)", p0, p1, p2, p3));
    }

    function log(address p0, bool p1, address p2, address p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(address,bool,address,address)", p0, p1, p2, p3));
    }

    function log(address p0, address p1, uint256 p2, uint256 p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(address,address,uint256,uint256)", p0, p1, p2, p3));
    }

    function log(address p0, address p1, uint256 p2, string memory p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(address,address,uint256,string)", p0, p1, p2, p3));
    }

    function log(address p0, address p1, uint256 p2, bool p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(address,address,uint256,bool)", p0, p1, p2, p3));
    }

    function log(address p0, address p1, uint256 p2, address p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(address,address,uint256,address)", p0, p1, p2, p3));
    }

    function log(address p0, address p1, string memory p2, uint256 p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(address,address,string,uint256)", p0, p1, p2, p3));
    }

    function log(address p0, address p1, string memory p2, string memory p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(address,address,string,string)", p0, p1, p2, p3));
    }

    function log(address p0, address p1, string memory p2, bool p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(address,address,string,bool)", p0, p1, p2, p3));
    }

    function log(address p0, address p1, string memory p2, address p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(address,address,string,address)", p0, p1, p2, p3));
    }

    function log(address p0, address p1, bool p2, uint256 p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(address,address,bool,uint256)", p0, p1, p2, p3));
    }

    function log(address p0, address p1, bool p2, string memory p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(address,address,bool,string)", p0, p1, p2, p3));
    }

    function log(address p0, address p1, bool p2, bool p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(address,address,bool,bool)", p0, p1, p2, p3));
    }

    function log(address p0, address p1, bool p2, address p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(address,address,bool,address)", p0, p1, p2, p3));
    }

    function log(address p0, address p1, address p2, uint256 p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(address,address,address,uint256)", p0, p1, p2, p3));
    }

    function log(address p0, address p1, address p2, string memory p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(address,address,address,string)", p0, p1, p2, p3));
    }

    function log(address p0, address p1, address p2, bool p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(address,address,address,bool)", p0, p1, p2, p3));
    }

    function log(address p0, address p1, address p2, address p3) internal pure {
        _sendLogPayload(abi.encodeWithSignature("log(address,address,address,address)", p0, p1, p2, p3));
    }

}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"orderId","type":"uint256"}],"name":"BuyOrder","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"orderId","type":"uint256"}],"name":"CancelOrder","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"orderId","type":"uint256"},{"indexed":false,"internalType":"address","name":"creator","type":"address"},{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"},{"components":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"eth","type":"uint256"},{"internalType":"uint256","name":"requestedEth","type":"uint256"},{"components":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"internalType":"struct P2PSwap.ERC20Asset[]","name":"erc20Assets","type":"tuple[]"},{"components":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"internalType":"struct P2PSwap.ERC721Asset[]","name":"erc721Assets","type":"tuple[]"},{"components":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"value","type":"uint256"}],"internalType":"struct P2PSwap.ERC1155Asset[]","name":"erc1155Assets","type":"tuple[]"},{"components":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"internalType":"struct P2PSwap.ERC20Asset[]","name":"requestedErc20Assets","type":"tuple[]"},{"components":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"internalType":"struct P2PSwap.ERC721Asset[]","name":"requestedErc721Assets","type":"tuple[]"},{"components":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"value","type":"uint256"}],"internalType":"struct P2PSwap.ERC1155Asset[]","name":"requestedErc1155Assets","type":"tuple[]"}],"indexed":false,"internalType":"struct P2PSwap.Order","name":"order","type":"tuple"}],"name":"CreateOrder","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"},{"inputs":[{"internalType":"uint256","name":"orderId","type":"uint256"}],"name":"buyOrder","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"orderId","type":"uint256"}],"name":"cancelOrder","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"eth","type":"uint256"},{"internalType":"uint256","name":"requestedEth","type":"uint256"},{"components":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"internalType":"struct P2PSwap.ERC20Asset[]","name":"erc20Assets","type":"tuple[]"},{"components":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"internalType":"struct P2PSwap.ERC721Asset[]","name":"erc721Assets","type":"tuple[]"},{"components":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"value","type":"uint256"}],"internalType":"struct P2PSwap.ERC1155Asset[]","name":"erc1155Assets","type":"tuple[]"},{"components":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"internalType":"struct P2PSwap.ERC20Asset[]","name":"requestedErc20Assets","type":"tuple[]"},{"components":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"internalType":"struct P2PSwap.ERC721Asset[]","name":"requestedErc721Assets","type":"tuple[]"},{"components":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"value","type":"uint256"}],"internalType":"struct P2PSwap.ERC1155Asset[]","name":"requestedErc1155Assets","type":"tuple[]"}],"internalType":"struct P2PSwap.Order","name":"order","type":"tuple"}],"name":"createOrder","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"fee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"orderId","type":"uint256"}],"name":"getOrder","outputs":[{"components":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"createdAt","type":"uint256"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"requestedValue","type":"uint256"},{"internalType":"bool","name":"isActive","type":"bool"},{"components":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"internalType":"struct P2PSwap.ERC20Asset[]","name":"erc20Assets","type":"tuple[]"},{"components":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"internalType":"struct P2PSwap.ERC721Asset[]","name":"erc721Assets","type":"tuple[]"},{"components":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"value","type":"uint256"}],"internalType":"struct P2PSwap.ERC1155Asset[]","name":"erc1155Assets","type":"tuple[]"},{"components":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"internalType":"struct P2PSwap.ERC20Asset[]","name":"requestedErc20Assets","type":"tuple[]"},{"components":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"internalType":"struct P2PSwap.ERC721Asset[]","name":"requestedErc721Assets","type":"tuple[]"},{"components":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"value","type":"uint256"}],"internalType":"struct P2PSwap.ERC1155Asset[]","name":"requestedErc1155Assets","type":"tuple[]"}],"internalType":"struct P2PSwap.OrderInfo","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256[]","name":"","type":"uint256[]"},{"internalType":"uint256[]","name":"","type":"uint256[]"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"onERC1155BatchReceived","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bytes","name":"","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":"_fee","type":"uint256"}],"name":"setFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_feeReceiver","type":"address"}],"name":"setFeeReceiver","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"}]

608060405266470de4df82000060035534801561001b57600080fd5b506100253361003c565b600280546001600160a01b0319163317905561008c565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6127838061009b6000396000f3fe6080604052600436106100dd5760003560e01c8063bc197c811161007f578063ddca3f4311610059578063ddca3f4314610243578063efdcd97414610267578063f23a6e6114610287578063f2fde38b146102b357600080fd5b8063bc197c81146101bc578063d09ef24114610201578063d294f0931461022e57600080fd5b806369fe0e2d116100bb57806369fe0e2d1461014c578063715018a61461016c578063872a7baf146101815780638da5cb5b1461019457600080fd5b806301ffc9a7146100e257806322f85eaa14610117578063514fcac71461012c575b600080fd5b3480156100ee57600080fd5b506101026100fd3660046119e1565b6102d3565b60405190151581526020015b60405180910390f35b61012a610125366004611a12565b61030a565b005b34801561013857600080fd5b5061012a610147366004611a12565b610857565b34801561015857600080fd5b5061012a610167366004611a12565b610dc3565b34801561017857600080fd5b5061012a610dd0565b61012a61018f366004611a2b565b610de4565b3480156101a057600080fd5b506000546040516001600160a01b03909116815260200161010e565b3480156101c857600080fd5b506101e86101d7366004611bc3565b63bc197c8160e01b95945050505050565b6040516001600160e01b0319909116815260200161010e565b34801561020d57600080fd5b5061022161021c366004611a12565b61105b565b60405161010e9190611d65565b34801561023a57600080fd5b5061012a6114a5565b34801561024f57600080fd5b5061025960035481565b60405190815260200161010e565b34801561027357600080fd5b5061012a610282366004611e8d565b6114e9565b34801561029357600080fd5b506101e86102a2366004611eaa565b63f23a6e6160e01b95945050505050565b3480156102bf57600080fd5b5061012a6102ce366004611e8d565b611513565b60006001600160e01b03198216630271189760e51b148061030457506301ffc9a760e01b6001600160e01b03198316145b92915050565b60008181526007602052604090205460ff1661036d5760405162461bcd60e51b815260206004820152601f60248201527f5b6275794f726465725d3a206f72646572206973206e6f74206163746976650060448201526064015b60405180910390fd5b600081815260046020908152604080832081516101208101835281546001600160a01b03168152600182015481850152600282015481840152600382018054845181870281018701909552808552919492936060860193909290879084015b82821015610414576000848152602090819020604080518082019091526002850290910180546001600160a01b031682526001908101548284015290835290920191016103cc565b50505050815260200160048201805480602002602001604051908101604052809291908181526020016000905b82821015610489576000848152602090819020604080518082019091526002850290910180546001600160a01b03168252600190810154828401529083529092019101610441565b50505050815260200160058201805480602002602001604051908101604052809291908181526020016000905b8282101561050b576000848152602090819020604080516060810182526003860290920180546001600160a01b03168352600180820154848601526002909101549183019190915290835290920191016104b6565b50505050815260200160068201805480602002602001604051908101604052809291908181526020016000905b82821015610580576000848152602090819020604080518082019091526002850290910180546001600160a01b03168252600190810154828401529083529092019101610538565b50505050815260200160078201805480602002602001604051908101604052809291908181526020016000905b828210156105f5576000848152602090819020604080518082019091526002850290910180546001600160a01b031682526001908101548284015290835290920191016105ad565b50505050815260200160088201805480602002602001604051908101604052809291908181526020016000905b82821015610677576000848152602090819020604080516060810182526003860290920180546001600160a01b0316835260018082015484860152600290910154918301919091529083529092019101610622565b50505091525050604081015160035491925061069291611f29565b3410156106e15760405162461bcd60e51b815260206004820152601a60248201527f5b6275794f726465725d3a206e6f7420656e6f756768206665650000000000006044820152606401610364565b805133906001600160a01b0316811461074e5760405162461bcd60e51b815260206004820152602960248201527f5b6275794f726465725d3a2073656e646572206973206e6f74206f72646572206044820152681c9958da5c1a595b9d60ba1b6064820152608401610364565b61075d30828460600151611589565b61076c3082846080015161175f565b61077b30828460a0015161182c565b60008381526005602052604090205460c08301516001600160a01b03909116906107a89083908390611589565b6107b782828560e0015161175f565b6107c7828285610100015161182c565b60208301516040516001600160a01b0384169180156108fc02916000818181858888f19350505050158015610800573d6000803e3d6000fd5b5060008481526007602052604090819020805460ff19169055517f387e728a257f80da42bf70be65494acea9c0a868df4927e3f25503f76f222684906108499086815260200190565b60405180910390a150505050565b60008181526007602052604090205460ff166108c65760405162461bcd60e51b815260206004820152602860248201527f5b63616e63656c4f726465725d3a206f7264657220697320616c72656164792060448201526718d85b98d95b195960c21b6064820152608401610364565b60008181526006602052604090205462015180906108e49042611f41565b10156109585760405162461bcd60e51b815260206004820152603860248201527f5b63616e63656c4f726465725d3a206f726465722063616e2062652063616e6360448201527f656c6564206f6e6c7920616674657220323420686f75727300000000000000006064820152608401610364565b60008181526005602052604090205433906001600160a01b031681146109d45760405162461bcd60e51b815260206004820152602b60248201527f5b63616e63656c4f726465725d3a2073656e646572206973206e6f74206f776e60448201526a32b91037b31037b93232b960a91b6064820152608401610364565b600082815260046020908152604080832081516101208101835281546001600160a01b03168152600182015481850152600282015481840152600382018054845181870281018701909552808552919492936060860193909290879084015b82821015610a7b576000848152602090819020604080518082019091526002850290910180546001600160a01b03168252600190810154828401529083529092019101610a33565b50505050815260200160048201805480602002602001604051908101604052809291908181526020016000905b82821015610af0576000848152602090819020604080518082019091526002850290910180546001600160a01b03168252600190810154828401529083529092019101610aa8565b50505050815260200160058201805480602002602001604051908101604052809291908181526020016000905b82821015610b72576000848152602090819020604080516060810182526003860290920180546001600160a01b0316835260018082015484860152600290910154918301919091529083529092019101610b1d565b50505050815260200160068201805480602002602001604051908101604052809291908181526020016000905b82821015610be7576000848152602090819020604080518082019091526002850290910180546001600160a01b03168252600190810154828401529083529092019101610b9f565b50505050815260200160078201805480602002602001604051908101604052809291908181526020016000905b82821015610c5c576000848152602090819020604080518082019091526002850290910180546001600160a01b03168252600190810154828401529083529092019101610c14565b50505050815260200160088201805480602002602001604051908101604052809291908181526020016000905b82821015610cde576000848152602090819020604080516060810182526003860290920180546001600160a01b0316835260018082015484860152600290910154918301919091529083529092019101610c89565b50505050815250509050610cf730838360600151611589565b610d063083836080015161175f565b610d1530838360a0015161182c565b816001600160a01b03166108fc82602001516008600087815260200190815260200160002054610d459190611f29565b6040518115909202916000818181858888f19350505050158015610d6d573d6000803e3d6000fd5b5060008381526007602052604090819020805460ff19169055517f935c9ad2f1fda9d7eae0d2a512f1521cb7190ee06165414e722366a65975fb6b90610db69085815260200190565b60405180910390a1505050565b610dcb611937565b600355565b610dd8611937565b610de26000611991565b565b8060200135600354610df69190611f29565b341015610e455760405162461bcd60e51b815260206004820152601d60248201527f5b6372656174654f726465725d3a206e6f7420656e6f756768206574680000006044820152606401610364565b33610eae8130610e586060860186611f58565b808060200260200160405190810160405280939291908181526020016000905b82821015610ea457610e9560408302860136819003810190612002565b81526020019060010190610e78565b5050505050611589565b610f168130610ec06080860186611f58565b808060200260200160405190810160405280939291908181526020016000905b82821015610f0c57610efd60408302860136819003810190612002565b81526020019060010190610ee0565b505050505061175f565b610f7e8130610f2860a086018661201e565b808060200260200160405190810160405280939291908181526020016000905b82821015610f7457610f6560608302860136819003810190612067565b81526020019060010190610f48565b505050505061182c565b60015460009081526004602052604090208290610f9b82826123a6565b505060018054600090815260056020908152604080832080546001600160a01b0319166001600160a01b038716179055835483526006825280832042908190558454845260078352818420805460ff1916861790556003548554855260089093529281902091909155915491517f35603aec64fa774f5d05b3e830a8b15e4d65129072f6d50f6988a1e3d39663b49261103a92909185919087906125a5565b60405180910390a160018054906000611052836126fa565b91905055505050565b6110d360405180610180016040528060006001600160a01b0316815260200160006001600160a01b031681526020016000815260200160008152602001600081526020016000151581526020016060815260200160608152602001606081526020016060815260200160608152602001606081525090565b600082815260046020908152604080832081516101208101835281546001600160a01b03168152600182015481850152600282015481840152600382018054845181870281018701909552808552919492936060860193909290879084015b8282101561117a576000848152602090819020604080518082019091526002850290910180546001600160a01b03168252600190810154828401529083529092019101611132565b50505050815260200160048201805480602002602001604051908101604052809291908181526020016000905b828210156111ef576000848152602090819020604080518082019091526002850290910180546001600160a01b031682526001908101548284015290835290920191016111a7565b50505050815260200160058201805480602002602001604051908101604052809291908181526020016000905b82821015611271576000848152602090819020604080516060810182526003860290920180546001600160a01b031683526001808201548486015260029091015491830191909152908352909201910161121c565b50505050815260200160068201805480602002602001604051908101604052809291908181526020016000905b828210156112e6576000848152602090819020604080518082019091526002850290910180546001600160a01b0316825260019081015482840152908352909201910161129e565b50505050815260200160078201805480602002602001604051908101604052809291908181526020016000905b8282101561135b576000848152602090819020604080518082019091526002850290910180546001600160a01b03168252600190810154828401529083529092019101611313565b50505050815260200160088201805480602002602001604051908101604052809291908181526020016000905b828210156113dd576000848152602090819020604080516060810182526003860290920180546001600160a01b0316835260018082015484860152600290910154918301919091529083529092019101611388565b50505091525050604080516101808101825282516001600160a01b039081168252600087815260056020908152848220549092168284015287815260068252838120548385015281850151606080850191909152848601516080808601919091529882526007909252929092205460ff16151560a0808301919091529183015160c0808301919091529583015160e080830191909152918301516101008083019190915295830151610120820152908201516101408201529301516101608401525090919050565b6114ad611937565b6002546040516001600160a01b03909116904780156108fc02916000818181858888f193505050501580156114e6573d6000803e3d6000fd5b50565b6114f1611937565b600280546001600160a01b0319166001600160a01b0392909216919091179055565b61151b611937565b6001600160a01b0381166115805760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610364565b6114e681611991565b60005b8151811015611759576001600160a01b03841630141561167a578181815181106115b8576115b8612715565b6020026020010151600001516001600160a01b031663a9059cbb848484815181106115e5576115e5612715565b6020026020010151602001516040518363ffffffff1660e01b81526004016116229291906001600160a01b03929092168252602082015260400190565b602060405180830381600087803b15801561163c57600080fd5b505af1158015611650573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611674919061272b565b50611751565b81818151811061168c5761168c612715565b6020026020010151600001516001600160a01b03166323b872dd85858585815181106116ba576116ba612715565b60209081029190910181015101516040516001600160e01b031960e086901b1681526001600160a01b0393841660048201529290911660248301526044820152606401602060405180830381600087803b15801561171757600080fd5b505af115801561172b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061174f919061272b565b505b60010161158c565b50505050565b60005b81518110156117595781818151811061177d5761177d612715565b6020026020010151600001516001600160a01b03166323b872dd85858585815181106117ab576117ab612715565b60209081029190910181015101516040516001600160e01b031960e086901b1681526001600160a01b0393841660048201529290911660248301526044820152606401600060405180830381600087803b15801561180857600080fd5b505af115801561181c573d6000803e3d6000fd5b5050600190920191506117629050565b60005b81518110156117595781818151811061184a5761184a612715565b6020026020010151600001516001600160a01b031663f242432a858585858151811061187857611878612715565b60200260200101516020015186868151811061189657611896612715565b602090810291909101015160409081015190516001600160e01b031960e087901b1681526001600160a01b0394851660048201529390921660248401526044830152606482015260a06084820152600260a482015261060f60f31b60c482015260e401600060405180830381600087803b15801561191357600080fd5b505af1158015611927573d6000803e3d6000fd5b50506001909201915061182f9050565b6000546001600160a01b03163314610de25760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610364565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156119f357600080fd5b81356001600160e01b031981168114611a0b57600080fd5b9392505050565b600060208284031215611a2457600080fd5b5035919050565b600060208284031215611a3d57600080fd5b813567ffffffffffffffff811115611a5457600080fd5b82016101208185031215611a0b57600080fd5b6001600160a01b03811681146114e657600080fd5b8035611a8781611a67565b919050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715611acb57611acb611a8c565b604052919050565b600082601f830112611ae457600080fd5b8135602067ffffffffffffffff821115611b0057611b00611a8c565b8160051b611b0f828201611aa2565b9283528481018201928281019087851115611b2957600080fd5b83870192505b84831015611b4857823582529183019190830190611b2f565b979650505050505050565b600082601f830112611b6457600080fd5b813567ffffffffffffffff811115611b7e57611b7e611a8c565b611b91601f8201601f1916602001611aa2565b818152846020838601011115611ba657600080fd5b816020850160208301376000918101602001919091529392505050565b600080600080600060a08688031215611bdb57600080fd5b8535611be681611a67565b94506020860135611bf681611a67565b9350604086013567ffffffffffffffff80821115611c1357600080fd5b611c1f89838a01611ad3565b94506060880135915080821115611c3557600080fd5b611c4189838a01611ad3565b93506080880135915080821115611c5757600080fd5b50611c6488828901611b53565b9150509295509295909350565b600081518084526020808501945080840160005b83811015611cbe57611cab87835180516001600160a01b03168252602090810151910152565b6040969096019590820190600101611c85565b509495945050505050565b600081518084526020808501945080840160005b83811015611cbe57611d0387835180516001600160a01b03168252602090810151910152565b6040969096019590820190600101611cdd565b600081518084526020808501945080840160005b83811015611cbe57815180516001600160a01b0316885283810151848901526040908101519088015260609096019590820190600101611d2a565b60208152611d7f6020820183516001600160a01b03169052565b60006020830151611d9b60408401826001600160a01b03169052565b506040830151606083015260608301516080830152608083015160a083015260a0830151611dcd60c084018215159052565b5060c08301516101808060e0850152611dea6101a0850183611c71565b915060e0850151601f19610100818786030181880152611e0a8584611cc9565b945080880151925050610120818786030181880152611e298584611d16565b945080880151925050610140818786030181880152611e488584611c71565b945080880151925050610160818786030181880152611e678584611cc9565b908801518782039092018488015293509050611e838382611d16565b9695505050505050565b600060208284031215611e9f57600080fd5b8135611a0b81611a67565b600080600080600060a08688031215611ec257600080fd5b8535611ecd81611a67565b94506020860135611edd81611a67565b93506040860135925060608601359150608086013567ffffffffffffffff811115611f0757600080fd5b611c6488828901611b53565b634e487b7160e01b600052601160045260246000fd5b60008219821115611f3c57611f3c611f13565b500190565b600082821015611f5357611f53611f13565b500390565b6000808335601e19843603018112611f6f57600080fd5b83018035915067ffffffffffffffff821115611f8a57600080fd5b6020019150600681901b3603821315611fa257600080fd5b9250929050565b600060408284031215611fbb57600080fd5b6040516040810181811067ffffffffffffffff82111715611fde57611fde611a8c565b6040529050808235611fef81611a67565b8152602092830135920191909152919050565b60006040828403121561201457600080fd5b611a0b8383611fa9565b6000808335601e1984360301811261203557600080fd5b83018035915067ffffffffffffffff82111561205057600080fd5b6020019150606081023603821315611fa257600080fd5b60006060828403121561207957600080fd5b6040516060810181811067ffffffffffffffff8211171561209c5761209c611a8c565b60405282356120aa81611a67565b8152602083810135908201526040928301359281019290925250919050565b6000813561030481611a67565b80546001600160a01b0319166001600160a01b0392909216919091179055565b813561210181611a67565b61210b81836120d6565b50602082013560018201555050565b600160401b83111561212e5761212e611a8c565b8054838255808410156121a2576001600160ff1b038082116001161561215657612156611f13565b8085116001161561216957612169611f13565b508160005260206000208160011b81018560011b820191505b8082101561219f5760008083556001830155600282019150612182565b50505b5060008181526020812083915b858110156121d7576121c183836120f6565b60409290920191600291909101906001016121af565b505050505050565b600160401b8311156121f3576121f3611a8c565b805483825580841015612267576001600160ff1b038082116001161561221b5761221b611f13565b8085116001161561222e5761222e611f13565b508160005260206000208160011b81018560011b820191505b808210156122645760008083556001830155600282019150612247565b50505b5060008181526020812083915b858110156121d75761228683836120f6565b6040929092019160029190910190600101612274565b81356122a781611a67565b6122b181836120d6565b5060208201356001820155604082013560028201555050565b600160401b8311156122de576122de611a8c565b805483825580841015612371577f5555555555555555555555555555555555555555555555555555555555555555600181831181161561232057612320611f13565b600382871182161561233457612334611f13565b600085815260208120909350878202810190828602015b8082101561236b578482558484830155846002830155828201915061234b565b50505050505b5060008181526020812083915b858110156121d757612390838361229c565b606092909201916003919091019060010161237e565b6123b86123b2836120c9565b826120d6565b60208201356001820155604082013560028201556123d96060830183611f58565b6123e781836003860161211a565b50506123f66080830183611f58565b6124048183600486016121df565b505061241360a083018361201e565b6124218183600586016122ca565b505061243060c0830183611f58565b61243e81836006860161211a565b505061244d60e0830183611f58565b61245b8183600786016121df565b505061246b61010083018361201e565b6117598183600886016122ca565b6000808335601e1984360301811261249057600080fd5b830160208101925035905067ffffffffffffffff8111156124b057600080fd5b8060061b3603831315611fa257600080fd5b8183526000602080850194508260005b85811015611cbe5781356124e581611a67565b6001600160a01b031687528183013583880152604096870196909101906001016124d2565b6000808335601e1984360301811261252157600080fd5b830160208101925035905067ffffffffffffffff81111561254157600080fd5b606081023603831315611fa257600080fd5b8183526000602080850194508260005b85811015611cbe57813561257681611a67565b6001600160a01b0316875281830135838801526040808301359088015260609687019690910190600101612563565b8481526001600160a01b0384166020820152604081018390526080606082018190526125e39082016125d684611a7c565b6001600160a01b03169052565b602082013560a0820152604082013560c082015260006126066060840184612479565b6101208060e086015261261e6101a0860183856124c2565b925061262d6080870187612479565b9250607f196101008188870301818901526126498686856124c2565b955061265860a08a018a61250a565b95509250818887030184890152612670868685612553565b955061267f60c08a018a612479565b9550935081888703016101408901526126998686866124c2565b95506126a860e08a018a612479565b9550935081888703016101608901526126c28686866124c2565b95506126d0818a018a61250a565b9550935050808786030161018088015250506126ed838383612553565b9998505050505050505050565b600060001982141561270e5761270e611f13565b5060010190565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561273d57600080fd5b81518015158114611a0b57600080fdfea264697066735822122083421aa424139d7a488b77b7e69b19abb5b611c101d7dee03a1ecbfa6727479364736f6c63430008090033

Deployed Bytecode

0x6080604052600436106100dd5760003560e01c8063bc197c811161007f578063ddca3f4311610059578063ddca3f4314610243578063efdcd97414610267578063f23a6e6114610287578063f2fde38b146102b357600080fd5b8063bc197c81146101bc578063d09ef24114610201578063d294f0931461022e57600080fd5b806369fe0e2d116100bb57806369fe0e2d1461014c578063715018a61461016c578063872a7baf146101815780638da5cb5b1461019457600080fd5b806301ffc9a7146100e257806322f85eaa14610117578063514fcac71461012c575b600080fd5b3480156100ee57600080fd5b506101026100fd3660046119e1565b6102d3565b60405190151581526020015b60405180910390f35b61012a610125366004611a12565b61030a565b005b34801561013857600080fd5b5061012a610147366004611a12565b610857565b34801561015857600080fd5b5061012a610167366004611a12565b610dc3565b34801561017857600080fd5b5061012a610dd0565b61012a61018f366004611a2b565b610de4565b3480156101a057600080fd5b506000546040516001600160a01b03909116815260200161010e565b3480156101c857600080fd5b506101e86101d7366004611bc3565b63bc197c8160e01b95945050505050565b6040516001600160e01b0319909116815260200161010e565b34801561020d57600080fd5b5061022161021c366004611a12565b61105b565b60405161010e9190611d65565b34801561023a57600080fd5b5061012a6114a5565b34801561024f57600080fd5b5061025960035481565b60405190815260200161010e565b34801561027357600080fd5b5061012a610282366004611e8d565b6114e9565b34801561029357600080fd5b506101e86102a2366004611eaa565b63f23a6e6160e01b95945050505050565b3480156102bf57600080fd5b5061012a6102ce366004611e8d565b611513565b60006001600160e01b03198216630271189760e51b148061030457506301ffc9a760e01b6001600160e01b03198316145b92915050565b60008181526007602052604090205460ff1661036d5760405162461bcd60e51b815260206004820152601f60248201527f5b6275794f726465725d3a206f72646572206973206e6f74206163746976650060448201526064015b60405180910390fd5b600081815260046020908152604080832081516101208101835281546001600160a01b03168152600182015481850152600282015481840152600382018054845181870281018701909552808552919492936060860193909290879084015b82821015610414576000848152602090819020604080518082019091526002850290910180546001600160a01b031682526001908101548284015290835290920191016103cc565b50505050815260200160048201805480602002602001604051908101604052809291908181526020016000905b82821015610489576000848152602090819020604080518082019091526002850290910180546001600160a01b03168252600190810154828401529083529092019101610441565b50505050815260200160058201805480602002602001604051908101604052809291908181526020016000905b8282101561050b576000848152602090819020604080516060810182526003860290920180546001600160a01b03168352600180820154848601526002909101549183019190915290835290920191016104b6565b50505050815260200160068201805480602002602001604051908101604052809291908181526020016000905b82821015610580576000848152602090819020604080518082019091526002850290910180546001600160a01b03168252600190810154828401529083529092019101610538565b50505050815260200160078201805480602002602001604051908101604052809291908181526020016000905b828210156105f5576000848152602090819020604080518082019091526002850290910180546001600160a01b031682526001908101548284015290835290920191016105ad565b50505050815260200160088201805480602002602001604051908101604052809291908181526020016000905b82821015610677576000848152602090819020604080516060810182526003860290920180546001600160a01b0316835260018082015484860152600290910154918301919091529083529092019101610622565b50505091525050604081015160035491925061069291611f29565b3410156106e15760405162461bcd60e51b815260206004820152601a60248201527f5b6275794f726465725d3a206e6f7420656e6f756768206665650000000000006044820152606401610364565b805133906001600160a01b0316811461074e5760405162461bcd60e51b815260206004820152602960248201527f5b6275794f726465725d3a2073656e646572206973206e6f74206f72646572206044820152681c9958da5c1a595b9d60ba1b6064820152608401610364565b61075d30828460600151611589565b61076c3082846080015161175f565b61077b30828460a0015161182c565b60008381526005602052604090205460c08301516001600160a01b03909116906107a89083908390611589565b6107b782828560e0015161175f565b6107c7828285610100015161182c565b60208301516040516001600160a01b0384169180156108fc02916000818181858888f19350505050158015610800573d6000803e3d6000fd5b5060008481526007602052604090819020805460ff19169055517f387e728a257f80da42bf70be65494acea9c0a868df4927e3f25503f76f222684906108499086815260200190565b60405180910390a150505050565b60008181526007602052604090205460ff166108c65760405162461bcd60e51b815260206004820152602860248201527f5b63616e63656c4f726465725d3a206f7264657220697320616c72656164792060448201526718d85b98d95b195960c21b6064820152608401610364565b60008181526006602052604090205462015180906108e49042611f41565b10156109585760405162461bcd60e51b815260206004820152603860248201527f5b63616e63656c4f726465725d3a206f726465722063616e2062652063616e6360448201527f656c6564206f6e6c7920616674657220323420686f75727300000000000000006064820152608401610364565b60008181526005602052604090205433906001600160a01b031681146109d45760405162461bcd60e51b815260206004820152602b60248201527f5b63616e63656c4f726465725d3a2073656e646572206973206e6f74206f776e60448201526a32b91037b31037b93232b960a91b6064820152608401610364565b600082815260046020908152604080832081516101208101835281546001600160a01b03168152600182015481850152600282015481840152600382018054845181870281018701909552808552919492936060860193909290879084015b82821015610a7b576000848152602090819020604080518082019091526002850290910180546001600160a01b03168252600190810154828401529083529092019101610a33565b50505050815260200160048201805480602002602001604051908101604052809291908181526020016000905b82821015610af0576000848152602090819020604080518082019091526002850290910180546001600160a01b03168252600190810154828401529083529092019101610aa8565b50505050815260200160058201805480602002602001604051908101604052809291908181526020016000905b82821015610b72576000848152602090819020604080516060810182526003860290920180546001600160a01b0316835260018082015484860152600290910154918301919091529083529092019101610b1d565b50505050815260200160068201805480602002602001604051908101604052809291908181526020016000905b82821015610be7576000848152602090819020604080518082019091526002850290910180546001600160a01b03168252600190810154828401529083529092019101610b9f565b50505050815260200160078201805480602002602001604051908101604052809291908181526020016000905b82821015610c5c576000848152602090819020604080518082019091526002850290910180546001600160a01b03168252600190810154828401529083529092019101610c14565b50505050815260200160088201805480602002602001604051908101604052809291908181526020016000905b82821015610cde576000848152602090819020604080516060810182526003860290920180546001600160a01b0316835260018082015484860152600290910154918301919091529083529092019101610c89565b50505050815250509050610cf730838360600151611589565b610d063083836080015161175f565b610d1530838360a0015161182c565b816001600160a01b03166108fc82602001516008600087815260200190815260200160002054610d459190611f29565b6040518115909202916000818181858888f19350505050158015610d6d573d6000803e3d6000fd5b5060008381526007602052604090819020805460ff19169055517f935c9ad2f1fda9d7eae0d2a512f1521cb7190ee06165414e722366a65975fb6b90610db69085815260200190565b60405180910390a1505050565b610dcb611937565b600355565b610dd8611937565b610de26000611991565b565b8060200135600354610df69190611f29565b341015610e455760405162461bcd60e51b815260206004820152601d60248201527f5b6372656174654f726465725d3a206e6f7420656e6f756768206574680000006044820152606401610364565b33610eae8130610e586060860186611f58565b808060200260200160405190810160405280939291908181526020016000905b82821015610ea457610e9560408302860136819003810190612002565b81526020019060010190610e78565b5050505050611589565b610f168130610ec06080860186611f58565b808060200260200160405190810160405280939291908181526020016000905b82821015610f0c57610efd60408302860136819003810190612002565b81526020019060010190610ee0565b505050505061175f565b610f7e8130610f2860a086018661201e565b808060200260200160405190810160405280939291908181526020016000905b82821015610f7457610f6560608302860136819003810190612067565b81526020019060010190610f48565b505050505061182c565b60015460009081526004602052604090208290610f9b82826123a6565b505060018054600090815260056020908152604080832080546001600160a01b0319166001600160a01b038716179055835483526006825280832042908190558454845260078352818420805460ff1916861790556003548554855260089093529281902091909155915491517f35603aec64fa774f5d05b3e830a8b15e4d65129072f6d50f6988a1e3d39663b49261103a92909185919087906125a5565b60405180910390a160018054906000611052836126fa565b91905055505050565b6110d360405180610180016040528060006001600160a01b0316815260200160006001600160a01b031681526020016000815260200160008152602001600081526020016000151581526020016060815260200160608152602001606081526020016060815260200160608152602001606081525090565b600082815260046020908152604080832081516101208101835281546001600160a01b03168152600182015481850152600282015481840152600382018054845181870281018701909552808552919492936060860193909290879084015b8282101561117a576000848152602090819020604080518082019091526002850290910180546001600160a01b03168252600190810154828401529083529092019101611132565b50505050815260200160048201805480602002602001604051908101604052809291908181526020016000905b828210156111ef576000848152602090819020604080518082019091526002850290910180546001600160a01b031682526001908101548284015290835290920191016111a7565b50505050815260200160058201805480602002602001604051908101604052809291908181526020016000905b82821015611271576000848152602090819020604080516060810182526003860290920180546001600160a01b031683526001808201548486015260029091015491830191909152908352909201910161121c565b50505050815260200160068201805480602002602001604051908101604052809291908181526020016000905b828210156112e6576000848152602090819020604080518082019091526002850290910180546001600160a01b0316825260019081015482840152908352909201910161129e565b50505050815260200160078201805480602002602001604051908101604052809291908181526020016000905b8282101561135b576000848152602090819020604080518082019091526002850290910180546001600160a01b03168252600190810154828401529083529092019101611313565b50505050815260200160088201805480602002602001604051908101604052809291908181526020016000905b828210156113dd576000848152602090819020604080516060810182526003860290920180546001600160a01b0316835260018082015484860152600290910154918301919091529083529092019101611388565b50505091525050604080516101808101825282516001600160a01b039081168252600087815260056020908152848220549092168284015287815260068252838120548385015281850151606080850191909152848601516080808601919091529882526007909252929092205460ff16151560a0808301919091529183015160c0808301919091529583015160e080830191909152918301516101008083019190915295830151610120820152908201516101408201529301516101608401525090919050565b6114ad611937565b6002546040516001600160a01b03909116904780156108fc02916000818181858888f193505050501580156114e6573d6000803e3d6000fd5b50565b6114f1611937565b600280546001600160a01b0319166001600160a01b0392909216919091179055565b61151b611937565b6001600160a01b0381166115805760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610364565b6114e681611991565b60005b8151811015611759576001600160a01b03841630141561167a578181815181106115b8576115b8612715565b6020026020010151600001516001600160a01b031663a9059cbb848484815181106115e5576115e5612715565b6020026020010151602001516040518363ffffffff1660e01b81526004016116229291906001600160a01b03929092168252602082015260400190565b602060405180830381600087803b15801561163c57600080fd5b505af1158015611650573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611674919061272b565b50611751565b81818151811061168c5761168c612715565b6020026020010151600001516001600160a01b03166323b872dd85858585815181106116ba576116ba612715565b60209081029190910181015101516040516001600160e01b031960e086901b1681526001600160a01b0393841660048201529290911660248301526044820152606401602060405180830381600087803b15801561171757600080fd5b505af115801561172b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061174f919061272b565b505b60010161158c565b50505050565b60005b81518110156117595781818151811061177d5761177d612715565b6020026020010151600001516001600160a01b03166323b872dd85858585815181106117ab576117ab612715565b60209081029190910181015101516040516001600160e01b031960e086901b1681526001600160a01b0393841660048201529290911660248301526044820152606401600060405180830381600087803b15801561180857600080fd5b505af115801561181c573d6000803e3d6000fd5b5050600190920191506117629050565b60005b81518110156117595781818151811061184a5761184a612715565b6020026020010151600001516001600160a01b031663f242432a858585858151811061187857611878612715565b60200260200101516020015186868151811061189657611896612715565b602090810291909101015160409081015190516001600160e01b031960e087901b1681526001600160a01b0394851660048201529390921660248401526044830152606482015260a06084820152600260a482015261060f60f31b60c482015260e401600060405180830381600087803b15801561191357600080fd5b505af1158015611927573d6000803e3d6000fd5b50506001909201915061182f9050565b6000546001600160a01b03163314610de25760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610364565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156119f357600080fd5b81356001600160e01b031981168114611a0b57600080fd5b9392505050565b600060208284031215611a2457600080fd5b5035919050565b600060208284031215611a3d57600080fd5b813567ffffffffffffffff811115611a5457600080fd5b82016101208185031215611a0b57600080fd5b6001600160a01b03811681146114e657600080fd5b8035611a8781611a67565b919050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715611acb57611acb611a8c565b604052919050565b600082601f830112611ae457600080fd5b8135602067ffffffffffffffff821115611b0057611b00611a8c565b8160051b611b0f828201611aa2565b9283528481018201928281019087851115611b2957600080fd5b83870192505b84831015611b4857823582529183019190830190611b2f565b979650505050505050565b600082601f830112611b6457600080fd5b813567ffffffffffffffff811115611b7e57611b7e611a8c565b611b91601f8201601f1916602001611aa2565b818152846020838601011115611ba657600080fd5b816020850160208301376000918101602001919091529392505050565b600080600080600060a08688031215611bdb57600080fd5b8535611be681611a67565b94506020860135611bf681611a67565b9350604086013567ffffffffffffffff80821115611c1357600080fd5b611c1f89838a01611ad3565b94506060880135915080821115611c3557600080fd5b611c4189838a01611ad3565b93506080880135915080821115611c5757600080fd5b50611c6488828901611b53565b9150509295509295909350565b600081518084526020808501945080840160005b83811015611cbe57611cab87835180516001600160a01b03168252602090810151910152565b6040969096019590820190600101611c85565b509495945050505050565b600081518084526020808501945080840160005b83811015611cbe57611d0387835180516001600160a01b03168252602090810151910152565b6040969096019590820190600101611cdd565b600081518084526020808501945080840160005b83811015611cbe57815180516001600160a01b0316885283810151848901526040908101519088015260609096019590820190600101611d2a565b60208152611d7f6020820183516001600160a01b03169052565b60006020830151611d9b60408401826001600160a01b03169052565b506040830151606083015260608301516080830152608083015160a083015260a0830151611dcd60c084018215159052565b5060c08301516101808060e0850152611dea6101a0850183611c71565b915060e0850151601f19610100818786030181880152611e0a8584611cc9565b945080880151925050610120818786030181880152611e298584611d16565b945080880151925050610140818786030181880152611e488584611c71565b945080880151925050610160818786030181880152611e678584611cc9565b908801518782039092018488015293509050611e838382611d16565b9695505050505050565b600060208284031215611e9f57600080fd5b8135611a0b81611a67565b600080600080600060a08688031215611ec257600080fd5b8535611ecd81611a67565b94506020860135611edd81611a67565b93506040860135925060608601359150608086013567ffffffffffffffff811115611f0757600080fd5b611c6488828901611b53565b634e487b7160e01b600052601160045260246000fd5b60008219821115611f3c57611f3c611f13565b500190565b600082821015611f5357611f53611f13565b500390565b6000808335601e19843603018112611f6f57600080fd5b83018035915067ffffffffffffffff821115611f8a57600080fd5b6020019150600681901b3603821315611fa257600080fd5b9250929050565b600060408284031215611fbb57600080fd5b6040516040810181811067ffffffffffffffff82111715611fde57611fde611a8c565b6040529050808235611fef81611a67565b8152602092830135920191909152919050565b60006040828403121561201457600080fd5b611a0b8383611fa9565b6000808335601e1984360301811261203557600080fd5b83018035915067ffffffffffffffff82111561205057600080fd5b6020019150606081023603821315611fa257600080fd5b60006060828403121561207957600080fd5b6040516060810181811067ffffffffffffffff8211171561209c5761209c611a8c565b60405282356120aa81611a67565b8152602083810135908201526040928301359281019290925250919050565b6000813561030481611a67565b80546001600160a01b0319166001600160a01b0392909216919091179055565b813561210181611a67565b61210b81836120d6565b50602082013560018201555050565b600160401b83111561212e5761212e611a8c565b8054838255808410156121a2576001600160ff1b038082116001161561215657612156611f13565b8085116001161561216957612169611f13565b508160005260206000208160011b81018560011b820191505b8082101561219f5760008083556001830155600282019150612182565b50505b5060008181526020812083915b858110156121d7576121c183836120f6565b60409290920191600291909101906001016121af565b505050505050565b600160401b8311156121f3576121f3611a8c565b805483825580841015612267576001600160ff1b038082116001161561221b5761221b611f13565b8085116001161561222e5761222e611f13565b508160005260206000208160011b81018560011b820191505b808210156122645760008083556001830155600282019150612247565b50505b5060008181526020812083915b858110156121d75761228683836120f6565b6040929092019160029190910190600101612274565b81356122a781611a67565b6122b181836120d6565b5060208201356001820155604082013560028201555050565b600160401b8311156122de576122de611a8c565b805483825580841015612371577f5555555555555555555555555555555555555555555555555555555555555555600181831181161561232057612320611f13565b600382871182161561233457612334611f13565b600085815260208120909350878202810190828602015b8082101561236b578482558484830155846002830155828201915061234b565b50505050505b5060008181526020812083915b858110156121d757612390838361229c565b606092909201916003919091019060010161237e565b6123b86123b2836120c9565b826120d6565b60208201356001820155604082013560028201556123d96060830183611f58565b6123e781836003860161211a565b50506123f66080830183611f58565b6124048183600486016121df565b505061241360a083018361201e565b6124218183600586016122ca565b505061243060c0830183611f58565b61243e81836006860161211a565b505061244d60e0830183611f58565b61245b8183600786016121df565b505061246b61010083018361201e565b6117598183600886016122ca565b6000808335601e1984360301811261249057600080fd5b830160208101925035905067ffffffffffffffff8111156124b057600080fd5b8060061b3603831315611fa257600080fd5b8183526000602080850194508260005b85811015611cbe5781356124e581611a67565b6001600160a01b031687528183013583880152604096870196909101906001016124d2565b6000808335601e1984360301811261252157600080fd5b830160208101925035905067ffffffffffffffff81111561254157600080fd5b606081023603831315611fa257600080fd5b8183526000602080850194508260005b85811015611cbe57813561257681611a67565b6001600160a01b0316875281830135838801526040808301359088015260609687019690910190600101612563565b8481526001600160a01b0384166020820152604081018390526080606082018190526125e39082016125d684611a7c565b6001600160a01b03169052565b602082013560a0820152604082013560c082015260006126066060840184612479565b6101208060e086015261261e6101a0860183856124c2565b925061262d6080870187612479565b9250607f196101008188870301818901526126498686856124c2565b955061265860a08a018a61250a565b95509250818887030184890152612670868685612553565b955061267f60c08a018a612479565b9550935081888703016101408901526126998686866124c2565b95506126a860e08a018a612479565b9550935081888703016101608901526126c28686866124c2565b95506126d0818a018a61250a565b9550935050808786030161018088015250506126ed838383612553565b9998505050505050505050565b600060001982141561270e5761270e611f13565b5060010190565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561273d57600080fd5b81518015158114611a0b57600080fdfea264697066735822122083421aa424139d7a488b77b7e69b19abb5b611c101d7dee03a1ecbfa6727479364736f6c63430008090033

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
[ 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.