POL Price: $0.378551 (+0.58%)
 

Overview

POL Balance

Polygon PoS Chain LogoPolygon PoS Chain LogoPolygon PoS Chain Logo0 POL

POL Value

$0.00

Token Holdings

Sponsored

Transaction Hash
Method
Block
From
To
List Any Item433786932023-05-31 19:06:04470 days ago1685559964IN
0x6b562321...8e527f274
0 POL0.02279468188.97308954
Take Item For Bu...433603042023-05-31 8:06:55470 days ago1685520415IN
0x6b562321...8e527f274
0 POL0.01494093174.08604386
List Any Item433602942023-05-31 8:06:33470 days ago1685520393IN
0x6b562321...8e527f274
0 POL0.02183313181.01957259
Take Item For Bu...432846062023-05-29 10:20:57472 days ago1685355657IN
0x6b562321...8e527f274
0 POL0.02261039263.44764779
List Any Item432845562023-05-29 10:19:03472 days ago1685355543IN
0x6b562321...8e527f274
0 POL0.03604679298.86576635
Take Item For Bu...432837312023-05-29 9:48:53472 days ago1685353733IN
0x6b562321...8e527f274
0 POL0.01391329162.11241645
List Any Item432836732023-05-29 9:46:49472 days ago1685353609IN
0x6b562321...8e527f274
0 POL0.02244446186.08816779
Delist Item430437602023-05-23 8:07:16478 days ago1684829236IN
0x6b562321...8e527f274
0 POL0.01542601199.25875067
List Any Item430437422023-05-23 8:06:36478 days ago1684829196IN
0x6b562321...8e527f274
0 POL0.0267951222.15950704
Take Item For Bu...430436832023-05-23 8:04:03478 days ago1684829043IN
0x6b562321...8e527f274
0 POL0.0147019142.84090818
List Any Item430435742023-05-23 8:00:11478 days ago1684828811IN
0x6b562321...8e527f274
0 POL0.01792836148.64494575
Buy Item387410502023-01-31 10:58:35590 days ago1675162715IN
0x6b562321...8e527f274
0.1 POL0.0119091696.86504412
Buy Item387408452023-01-31 10:51:19590 days ago1675162279IN
0x6b562321...8e527f274
0.1 POL0.01244046101.18638285
Buy Item387408422023-01-31 10:51:13590 days ago1675162273IN
0x6b562321...8e527f274
0.1 POL0.01071017101.18638285
Buy Item387405622023-01-31 10:41:19590 days ago1675161679IN
0x6b562321...8e527f274
0.1 POL0.01244046101.18638285
Buy Item387405622023-01-31 10:41:19590 days ago1675161679IN
0x6b562321...8e527f274
0.1 POL0.01244046101.18638285
Buy Item387227872023-01-30 23:55:48591 days ago1675122948IN
0x6b562321...8e527f274
0.1 POL0.009235787.26595766
List Any Item387227722023-01-30 23:55:16591 days ago1675122916IN
0x6b562321...8e527f274
0 POL0.0118797398.49547332
List Any Item387227702023-01-30 23:55:12591 days ago1675122912IN
0x6b562321...8e527f274
0 POL0.0112938393.63777403
List Any Item387227682023-01-30 23:55:08591 days ago1675122908IN
0x6b562321...8e527f274
0 POL0.0113503794.10655567
List Any Item387227662023-01-30 23:55:02591 days ago1675122902IN
0x6b562321...8e527f274
0 POL0.0114750995.14058596
List Any Item387227632023-01-30 23:54:56591 days ago1675122896IN
0x6b562321...8e527f274
0 POL0.0117603197.50533622
List Any Item387227602023-01-30 23:54:50591 days ago1675122890IN
0x6b562321...8e527f274
0 POL0.0118349498.12413576
List Any Item387227582023-01-30 23:54:46591 days ago1675122886IN
0x6b562321...8e527f274
0 POL0.0122579101.63089973
List Any Item387227552023-01-30 23:54:40591 days ago1675122880IN
0x6b562321...8e527f274
0 POL0.01262396104.66587983
View all transactions

Latest 25 internal transactions (View All)

Parent Transaction Hash Block From To
387410502023-01-31 10:58:35590 days ago1675162715
0x6b562321...8e527f274
0.098 POL
387410502023-01-31 10:58:35590 days ago1675162715
0x6b562321...8e527f274
0.002 POL
387408452023-01-31 10:51:19590 days ago1675162279
0x6b562321...8e527f274
0.098 POL
387408452023-01-31 10:51:19590 days ago1675162279
0x6b562321...8e527f274
0.002 POL
387408422023-01-31 10:51:13590 days ago1675162273
0x6b562321...8e527f274
0.098 POL
387408422023-01-31 10:51:13590 days ago1675162273
0x6b562321...8e527f274
0.002 POL
387405622023-01-31 10:41:19590 days ago1675161679
0x6b562321...8e527f274
0.098 POL
387405622023-01-31 10:41:19590 days ago1675161679
0x6b562321...8e527f274
0.002 POL
387405622023-01-31 10:41:19590 days ago1675161679
0x6b562321...8e527f274
0.098 POL
387405622023-01-31 10:41:19590 days ago1675161679
0x6b562321...8e527f274
0.002 POL
387227872023-01-30 23:55:48591 days ago1675122948
0x6b562321...8e527f274
0.098 POL
387227872023-01-30 23:55:48591 days ago1675122948
0x6b562321...8e527f274
0.002 POL
387221932023-01-30 23:33:41591 days ago1675121621
0x6b562321...8e527f274
0.49 POL
387221932023-01-30 23:33:41591 days ago1675121621
0x6b562321...8e527f274
0.01 POL
387221832023-01-30 23:33:19591 days ago1675121599
0x6b562321...8e527f274
0.49 POL
387221832023-01-30 23:33:19591 days ago1675121599
0x6b562321...8e527f274
0.01 POL
297132772022-06-18 11:44:53817 days ago1655552693
0x6b562321...8e527f274
1.47 POL
297132772022-06-18 11:44:53817 days ago1655552693
0x6b562321...8e527f274
0.03 POL
296897162022-06-17 20:48:56818 days ago1655498936
0x6b562321...8e527f274
1.47 POL
296897162022-06-17 20:48:56818 days ago1655498936
0x6b562321...8e527f274
0.03 POL
296896622022-06-17 20:45:18818 days ago1655498718
0x6b562321...8e527f274
1.47 POL
296896622022-06-17 20:45:18818 days ago1655498718
0x6b562321...8e527f274
0.03 POL
296895592022-06-17 20:41:48818 days ago1655498508
0x6b562321...8e527f274
1.47 POL
296895592022-06-17 20:41:48818 days ago1655498508
0x6b562321...8e527f274
0.03 POL
295543342022-06-14 10:51:32821 days ago1655203892
0x6b562321...8e527f274
0.98 POL
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
A4AMarket

Compiler Version
v0.8.1+commit.df193b15

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 6 : A4AMarket.sol
// SPDX-License-Identifier: GPL-3.0
pragma solidity 0.8.1;

import "./IERC721.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol";
import "@openzeppelin/contracts/access/Ownable.sol";

contract A4AMarket is Ownable, IERC721Receiver {

    address private a4A_NFT_address = 0x9Fe1D867313DbE8Fb92264c1D0481e3b49e610ba;
    IERC721 a4A_items = IERC721(a4A_NFT_address);

    mapping(uint256 => uint256) private _listedITemsPrice;
    mapping(uint256 => address) private _listedITemsOwner;

    uint256 public _marketFee;
    address payable private _a4A_wallet;
    uint256 public _itemsForSale;


    event ItemListed(uint256 tokenId, address seller, uint256 price, address author, uint256 itemsForSale);
    event ItemDelisted(uint256 tokenId, address seller, uint256 price, address author, uint256 itemsForSale);

    event ItemSold(uint256 tokenId, address buyer, address seller, uint256 price, address author, uint256 authorFee);
    event ItemSoldOffchain(uint256 tokenId, address buyer, address seller, uint256 price, address author, uint256 authorFee);
    event ItemPriceUpdated(uint256 itemID, address owner, address sender, uint256 itemPrice, address author);

    modifier onlyOwnerOrA4A(uint256 itemID) {
        require( _listedITemsOwner[itemID] == _msgSender() || owner() == _msgSender(), "Sender is not authorized." );
        _;
    }

    constructor() {
        _a4A_wallet = payable(_msgSender());
        _marketFee = 0;
        _itemsForSale = 0;
    }



    function listItem(uint256 itemID, uint256 price) external {
        require( a4A_items.ownerOf(itemID) == _msgSender(), "Only owner can list items for sale.");
        //Save NFT price & owner
        _listedITemsPrice[itemID] = price;
        _listedITemsOwner[itemID] = a4A_items.ownerOf(itemID);

        a4A_items.safeTransferFrom(_msgSender(), address(this), itemID);

        _itemsForSale++;

        emit ItemListed(itemID, _msgSender(), _listedITemsPrice[itemID], a4A_items.author(itemID), _itemsForSale);
    }

    function listAnyItem(uint256 itemID, uint256 price) external onlyOwner {
        //Save NFT price & owner
        _listedITemsPrice[itemID] = price;
        address itemOwner = a4A_items.ownerOf(itemID);
        _listedITemsOwner[itemID] = itemOwner;

        a4A_items.safeTransferFrom(itemOwner, address(this), itemID);

        _itemsForSale++;

        emit ItemListed(itemID, itemOwner, _listedITemsPrice[itemID], a4A_items.author(itemID), _itemsForSale);
    }

    function delistItem(uint256 itemID) external onlyOwnerOrA4A(itemID) {

        a4A_items.safeTransferFrom(address(this), _listedITemsOwner[itemID], itemID);
        _removeSaleData(itemID);

        emit ItemDelisted(itemID, _listedITemsOwner[itemID], _listedITemsPrice[itemID], a4A_items.author(itemID), _itemsForSale);
    }

    function buyItem(uint256 itemID) external payable {
        require(_listedITemsPrice[itemID] > 0 && _listedITemsOwner[itemID] != address(0), "Item is not for sale (price = 0).");

        //Check payment
        uint256 _itemPrice = _listedITemsPrice[itemID];
        require(msg.value == _itemPrice, "Price and paid amount do not match.");

        address seller = _listedITemsOwner[itemID];
        require(seller != address(0), "Seller cannot be address 0.");

        //Calculate market fee
        uint256 marketAmt = 0;
        if (_marketFee > 0){
            marketAmt = _marketFee * _itemPrice / 100;
            (bool sentMarketFee, ) = _a4A_wallet.call{value: marketAmt}("");
            require(sentMarketFee, "Failed to send BNB fee to the market.");
        }

        //Calculate author fee
        uint256 authorFee = a4A_items.authorFee(itemID);
        uint256 authorAmt = 0;
        if (authorFee > 0){
            authorAmt = a4A_items.authorFee(itemID) * _itemPrice / 100;
            (bool sentAuthortFee, ) = payable( a4A_items.author(itemID)).call{value: authorAmt}("");
            require(sentAuthortFee, "Failed to send BNB fee to the Author.");
        }

        //Calculate seller's amount
        uint256 sellerAmt = _itemPrice - marketAmt - authorAmt;
        (bool sentValue, ) = seller.call{value: sellerAmt}("");
        require(sentValue, "Failed to send BNB to the seller.");

        //Transfer NFT to the buyer
        a4A_items.safeTransferFrom(address(this), _msgSender(), itemID);

        //check New owner
        require(a4A_items.ownerOf(itemID) == _msgSender(), "New owner not assigned.");


        emit ItemSold(itemID, a4A_items.ownerOf(itemID), seller, _itemPrice, a4A_items.author(itemID), a4A_items.authorFee(itemID));
        _removeSaleData(itemID);

    }

    function takeItemForBuyer(uint256 itemID, address receiver) external payable onlyOwner {
        require(_listedITemsPrice[itemID] > 0 && _listedITemsOwner[itemID] != address(0), "Item is not for sale (price = 0).");

        address seller = _listedITemsOwner[itemID];
        uint256 _itemPrice = _listedITemsPrice[itemID];

        //Transfer NFT to the buyer
        a4A_items.safeTransferFrom(address(this), receiver, itemID);
        //check New owner
        require(a4A_items.ownerOf(itemID) == receiver, "New owner not assigned.");

        _removeSaleData(itemID);

        emit ItemSoldOffchain(itemID, a4A_items.ownerOf(itemID), seller, _itemPrice, a4A_items.author(itemID), a4A_items.authorFee(itemID));

    }

    function updateItemPrice(uint256 itemID, uint256 newPrice) external onlyOwnerOrA4A(itemID) {
        _listedITemsPrice[itemID] = newPrice;

        emit ItemPriceUpdated(itemID, a4A_items.ownerOf(itemID), _msgSender(), newPrice, a4A_items.author(itemID));

    }

    function _removeSaleData(uint256 itemID) internal {
        _listedITemsPrice[itemID] = 0;
        _listedITemsOwner[itemID] = address(0);
        _itemsForSale--;
    }

    function itemsForSale() external view returns(uint256){
        return _itemsForSale;
    }

    function isItemForSale(uint256 itemID) external view returns(bool){
        return (_listedITemsPrice[itemID] > 0 ||  _listedITemsOwner[itemID] == address(0));
    }

    function ownerOfItem(uint256 itemID) external view returns(address){
        return _listedITemsOwner[itemID];
    }

    function itemPrice(uint256 itemID) external view returns(uint256){
        return _listedITemsPrice[itemID];
    }

    function setA4AWallet(address payable wallet) external onlyOwner {
        _a4A_wallet = wallet;
    }

    function setA4Afee(uint256 fee) external onlyOwner {
        _marketFee = fee;
    }

    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) public override returns (bytes4) {
        return this.onERC721Received.selector;
    }

}

File 2 of 6 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/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 be have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

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

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

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

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

    /**
     * @dev Returns the author fee of `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function authorFee(uint256 tokenID) external view returns(uint256);


}

File 3 of 6 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (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 4 of 6 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (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 5 of 6 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

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

File 6 of 6 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.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 Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

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

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

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"address","name":"seller","type":"address"},{"indexed":false,"internalType":"uint256","name":"price","type":"uint256"},{"indexed":false,"internalType":"address","name":"author","type":"address"},{"indexed":false,"internalType":"uint256","name":"itemsForSale","type":"uint256"}],"name":"ItemDelisted","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"address","name":"seller","type":"address"},{"indexed":false,"internalType":"uint256","name":"price","type":"uint256"},{"indexed":false,"internalType":"address","name":"author","type":"address"},{"indexed":false,"internalType":"uint256","name":"itemsForSale","type":"uint256"}],"name":"ItemListed","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"itemID","type":"uint256"},{"indexed":false,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"itemPrice","type":"uint256"},{"indexed":false,"internalType":"address","name":"author","type":"address"}],"name":"ItemPriceUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"address","name":"buyer","type":"address"},{"indexed":false,"internalType":"address","name":"seller","type":"address"},{"indexed":false,"internalType":"uint256","name":"price","type":"uint256"},{"indexed":false,"internalType":"address","name":"author","type":"address"},{"indexed":false,"internalType":"uint256","name":"authorFee","type":"uint256"}],"name":"ItemSold","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"address","name":"buyer","type":"address"},{"indexed":false,"internalType":"address","name":"seller","type":"address"},{"indexed":false,"internalType":"uint256","name":"price","type":"uint256"},{"indexed":false,"internalType":"address","name":"author","type":"address"},{"indexed":false,"internalType":"uint256","name":"authorFee","type":"uint256"}],"name":"ItemSoldOffchain","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":[],"name":"_itemsForSale","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_marketFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"itemID","type":"uint256"}],"name":"buyItem","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"itemID","type":"uint256"}],"name":"delistItem","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"itemID","type":"uint256"}],"name":"isItemForSale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"itemID","type":"uint256"}],"name":"itemPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"itemsForSale","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"itemID","type":"uint256"},{"internalType":"uint256","name":"price","type":"uint256"}],"name":"listAnyItem","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"itemID","type":"uint256"},{"internalType":"uint256","name":"price","type":"uint256"}],"name":"listItem","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"address","name":"from","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"onERC721Received","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"itemID","type":"uint256"}],"name":"ownerOfItem","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"wallet","type":"address"}],"name":"setA4AWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"fee","type":"uint256"}],"name":"setA4Afee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"itemID","type":"uint256"},{"internalType":"address","name":"receiver","type":"address"}],"name":"takeItemForBuyer","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"itemID","type":"uint256"},{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"updateItemPrice","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052739fe1d867313dbe8fb92264c1d0481e3b49e610ba600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550348015620000c957600080fd5b50620000ea620000de6200015060201b60201c565b6200015860201b60201c565b620000fa6200015060201b60201c565b600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600060058190555060006007819055506200021c565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b613306806200022c6000396000f3fe6080604052600436106101095760003560e01c80638da5cb5b11610095578063dfe9ec9411610064578063dfe9ec9414610355578063e7846b6614610371578063e7fb74c7146103ae578063f2fde38b146103ca578063fdebd2f2146103f357610109565b80638da5cb5b14610299578063adcb005c146102c4578063b82f91c714610301578063ded7bd561461032a57610109565b80632769b96b116100dc5780632769b96b146101da5780635d7a45ad14610203578063715018a61461022e57806384d6ff2f14610245578063883efa671461027057610109565b8063010eea911461010e578063100616311461014b578063150b7a021461017457806315f5c962146101b1575b600080fd5b34801561011a57600080fd5b50610135600480360381019061013091906127c0565b61041c565b6040516101429190612a7f565b60405180910390f35b34801561015757600080fd5b50610172600480360381019061016d91906127c0565b610459565b005b34801561018057600080fd5b5061019b60048036038101906101969190612740565b610748565b6040516101a89190612aec565b60405180910390f35b3480156101bd57600080fd5b506101d860048036038101906101d39190612717565b61075d565b005b3480156101e657600080fd5b5061020160048036038101906101fc919061284e565b61081d565b005b34801561020f57600080fd5b50610218610ac1565b6040516102259190612c67565b60405180910390f35b34801561023a57600080fd5b50610243610acb565b005b34801561025157600080fd5b5061025a610b53565b6040516102679190612c67565b60405180910390f35b34801561027c57600080fd5b506102976004803603810190610292919061284e565b610b59565b005b3480156102a557600080fd5b506102ae610f45565b6040516102bb9190612a7f565b60405180910390f35b3480156102d057600080fd5b506102eb60048036038101906102e691906127c0565b610f6e565b6040516102f89190612c67565b60405180910390f35b34801561030d57600080fd5b506103286004803603810190610323919061284e565b610f8b565b005b34801561033657600080fd5b5061033f6112cc565b60405161034c9190612c67565b60405180910390f35b61036f600480360381019061036a9190612812565b6112d2565b005b34801561037d57600080fd5b50610398600480360381019061039391906127c0565b611857565b6040516103a59190612ad1565b60405180910390f35b6103c860048036038101906103c391906127c0565b6118e0565b005b3480156103d657600080fd5b506103f160048036038101906103ec91906126c5565b612341565b005b3480156103ff57600080fd5b5061041a600480360381019061041591906127c0565b612439565b005b60006004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b806104626124bf565b73ffffffffffffffffffffffffffffffffffffffff166004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16148061050757506104d16124bf565b73ffffffffffffffffffffffffffffffffffffffff166104ef610f45565b73ffffffffffffffffffffffffffffffffffffffff16145b610546576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161053d90612bc7565b60405180910390fd5b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166342842e0e306004600086815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16856040518463ffffffff1660e01b81526004016105d893929190612a9a565b600060405180830381600087803b1580156105f257600080fd5b505af1158015610606573d6000803e3d6000fd5b50505050610613826124c7565b7f106246e78cd4092204d8e94311303e937bd064ca7e676013596ebce594808933826004600085815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166003600086815260200190815260200160002054600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ec4eb442876040518263ffffffff1660e01b81526004016106d89190612c67565b60206040518083038186803b1580156106f057600080fd5b505afa158015610704573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061072891906126ee565b60075460405161073c959493929190612d36565b60405180910390a15050565b600063150b7a0260e01b905095945050505050565b6107656124bf565b73ffffffffffffffffffffffffffffffffffffffff16610783610f45565b73ffffffffffffffffffffffffffffffffffffffff16146107d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107d090612c27565b60405180910390fd5b80600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b816108266124bf565b73ffffffffffffffffffffffffffffffffffffffff166004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614806108cb57506108956124bf565b73ffffffffffffffffffffffffffffffffffffffff166108b3610f45565b73ffffffffffffffffffffffffffffffffffffffff16145b61090a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161090190612bc7565b60405180910390fd5b8160036000858152602001908152602001600020819055507f21c6645228bb0a2cdef3273c38dd6422e40d5a28cb195f5278a6a373465f60ff83600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e866040518263ffffffff1660e01b815260040161099f9190612c67565b60206040518083038186803b1580156109b757600080fd5b505afa1580156109cb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109ef91906126ee565b6109f76124bf565b85600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ec4eb442896040518263ffffffff1660e01b8152600401610a539190612c67565b60206040518083038186803b158015610a6b57600080fd5b505afa158015610a7f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aa391906126ee565b604051610ab4959493929190612c82565b60405180910390a1505050565b6000600754905090565b610ad36124bf565b73ffffffffffffffffffffffffffffffffffffffff16610af1610f45565b73ffffffffffffffffffffffffffffffffffffffff1614610b47576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b3e90612c27565b60405180910390fd5b610b51600061254e565b565b60055481565b610b616124bf565b73ffffffffffffffffffffffffffffffffffffffff16600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e846040518263ffffffff1660e01b8152600401610bd29190612c67565b60206040518083038186803b158015610bea57600080fd5b505afa158015610bfe573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c2291906126ee565b73ffffffffffffffffffffffffffffffffffffffff1614610c78576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c6f90612be7565b60405180910390fd5b806003600084815260200190815260200160002081905550600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b8152600401610ceb9190612c67565b60206040518083038186803b158015610d0357600080fd5b505afa158015610d17573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d3b91906126ee565b6004600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166342842e0e610dd26124bf565b30856040518463ffffffff1660e01b8152600401610df293929190612a9a565b600060405180830381600087803b158015610e0c57600080fd5b505af1158015610e20573d6000803e3d6000fd5b5050505060076000815480929190610e3790612f14565b91905055507ffc03b4e2884c77019bbed322825d5474a29f5a432ee06b79726bb2b5b707fae582610e666124bf565b6003600086815260200190815260200160002054600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ec4eb442876040518263ffffffff1660e01b8152600401610ed59190612c67565b60206040518083038186803b158015610eed57600080fd5b505afa158015610f01573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f2591906126ee565b600754604051610f39959493929190612d36565b60405180910390a15050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600060036000838152602001908152602001600020549050919050565b610f936124bf565b73ffffffffffffffffffffffffffffffffffffffff16610fb1610f45565b73ffffffffffffffffffffffffffffffffffffffff1614611007576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ffe90612c27565b60405180910390fd5b8060036000848152602001908152602001600020819055506000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e846040518263ffffffff1660e01b815260040161107c9190612c67565b60206040518083038186803b15801561109457600080fd5b505afa1580156110a8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110cc91906126ee565b9050806004600085815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166342842e0e8230866040518463ffffffff1660e01b815260040161117f93929190612a9a565b600060405180830381600087803b15801561119957600080fd5b505af11580156111ad573d6000803e3d6000fd5b50505050600760008154809291906111c490612f14565b91905055507ffc03b4e2884c77019bbed322825d5474a29f5a432ee06b79726bb2b5b707fae583826003600087815260200190815260200160002054600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ec4eb442886040518263ffffffff1660e01b815260040161125b9190612c67565b60206040518083038186803b15801561127357600080fd5b505afa158015611287573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112ab91906126ee565b6007546040516112bf959493929190612d36565b60405180910390a1505050565b60075481565b6112da6124bf565b73ffffffffffffffffffffffffffffffffffffffff166112f8610f45565b73ffffffffffffffffffffffffffffffffffffffff161461134e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161134590612c27565b60405180910390fd5b600060036000848152602001908152602001600020541180156113d15750600073ffffffffffffffffffffffffffffffffffffffff166004600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614155b611410576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161140790612ba7565b60405180910390fd5b60006004600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600060036000858152602001908152602001600020549050600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166342842e0e3085876040518463ffffffff1660e01b81526004016114bf93929190612a9a565b600060405180830381600087803b1580156114d957600080fd5b505af11580156114ed573d6000803e3d6000fd5b505050508273ffffffffffffffffffffffffffffffffffffffff16600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e866040518263ffffffff1660e01b81526004016115639190612c67565b60206040518083038186803b15801561157b57600080fd5b505afa15801561158f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115b391906126ee565b73ffffffffffffffffffffffffffffffffffffffff1614611609576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161160090612c47565b60405180910390fd5b611612846124c7565b7f48876dbe47a4a0cfb604c1a816f4cdb835506a9c78f42bed069a946f70f6615484600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e876040518263ffffffff1660e01b815260040161168f9190612c67565b60206040518083038186803b1580156116a757600080fd5b505afa1580156116bb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116df91906126ee565b8484600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ec4eb4428a6040518263ffffffff1660e01b815260040161173c9190612c67565b60206040518083038186803b15801561175457600080fd5b505afa158015611768573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061178c91906126ee565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635bd159868b6040518263ffffffff1660e01b81526004016117e79190612c67565b60206040518083038186803b1580156117ff57600080fd5b505afa158015611813573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061183791906127e9565b60405161184996959493929190612cd5565b60405180910390a150505050565b600080600360008481526020019081526020016000205411806118d95750600073ffffffffffffffffffffffffffffffffffffffff166004600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16145b9050919050565b600060036000838152602001908152602001600020541180156119635750600073ffffffffffffffffffffffffffffffffffffffff166004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614155b6119a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161199990612ba7565b60405180910390fd5b6000600360008381526020019081526020016000205490508034146119fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119f390612b67565b60405180910390fd5b60006004600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611aa4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a9b90612c07565b60405180910390fd5b6000806005541115611b9c57606483600554611ac09190612dd6565b611aca9190612da5565b90506000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1682604051611b1490612a6a565b60006040518083038185875af1925050503d8060008114611b51576040519150601f19603f3d011682016040523d82523d6000602084013e611b56565b606091505b5050905080611b9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b9190612b87565b60405180910390fd5b505b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635bd15986866040518263ffffffff1660e01b8152600401611bf99190612c67565b60206040518083038186803b158015611c1157600080fd5b505afa158015611c25573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c4991906127e9565b9050600080821115611e7157606485600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635bd15986896040518263ffffffff1660e01b8152600401611cb39190612c67565b60206040518083038186803b158015611ccb57600080fd5b505afa158015611cdf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d0391906127e9565b611d0d9190612dd6565b611d179190612da5565b90506000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ec4eb442886040518263ffffffff1660e01b8152600401611d769190612c67565b60206040518083038186803b158015611d8e57600080fd5b505afa158015611da2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611dc691906126ee565b73ffffffffffffffffffffffffffffffffffffffff1682604051611de990612a6a565b60006040518083038185875af1925050503d8060008114611e26576040519150601f19603f3d011682016040523d82523d6000602084013e611e2b565b606091505b5050905080611e6f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e6690612b47565b60405180910390fd5b505b6000818487611e809190612e30565b611e8a9190612e30565b905060008573ffffffffffffffffffffffffffffffffffffffff1682604051611eb290612a6a565b60006040518083038185875af1925050503d8060008114611eef576040519150601f19603f3d011682016040523d82523d6000602084013e611ef4565b606091505b5050905080611f38576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f2f90612b07565b60405180910390fd5b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166342842e0e30611f7f6124bf565b8b6040518463ffffffff1660e01b8152600401611f9e93929190612a9a565b600060405180830381600087803b158015611fb857600080fd5b505af1158015611fcc573d6000803e3d6000fd5b50505050611fd86124bf565b73ffffffffffffffffffffffffffffffffffffffff16600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e8a6040518263ffffffff1660e01b81526004016120499190612c67565b60206040518083038186803b15801561206157600080fd5b505afa158015612075573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061209991906126ee565b73ffffffffffffffffffffffffffffffffffffffff16146120ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120e690612c47565b60405180910390fd5b7f684b792a4ef4a0bf42fb899733c36b4bea72d0a4980758489a537d6a4f2e3a3388600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e8b6040518263ffffffff1660e01b815260040161216c9190612c67565b60206040518083038186803b15801561218457600080fd5b505afa158015612198573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121bc91906126ee565b888a600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ec4eb4428e6040518263ffffffff1660e01b81526004016122199190612c67565b60206040518083038186803b15801561223157600080fd5b505afa158015612245573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061226991906126ee565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635bd159868f6040518263ffffffff1660e01b81526004016122c49190612c67565b60206040518083038186803b1580156122dc57600080fd5b505afa1580156122f0573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061231491906127e9565b60405161232696959493929190612cd5565b60405180910390a1612337886124c7565b5050505050505050565b6123496124bf565b73ffffffffffffffffffffffffffffffffffffffff16612367610f45565b73ffffffffffffffffffffffffffffffffffffffff16146123bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123b490612c27565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561242d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161242490612b27565b60405180910390fd5b6124368161254e565b50565b6124416124bf565b73ffffffffffffffffffffffffffffffffffffffff1661245f610f45565b73ffffffffffffffffffffffffffffffffffffffff16146124b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124ac90612c27565b60405180910390fd5b8060058190555050565b600033905090565b6000600360008381526020019081526020016000208190555060006004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506007600081548092919061254690612eea565b919050555050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000813590506126218161328b565b92915050565b6000815190506126368161328b565b92915050565b60008135905061264b816132a2565b92915050565b60008083601f84011261266357600080fd5b8235905067ffffffffffffffff81111561267c57600080fd5b60208301915083600182028301111561269457600080fd5b9250929050565b6000813590506126aa816132b9565b92915050565b6000815190506126bf816132b9565b92915050565b6000602082840312156126d757600080fd5b60006126e584828501612612565b91505092915050565b60006020828403121561270057600080fd5b600061270e84828501612627565b91505092915050565b60006020828403121561272957600080fd5b60006127378482850161263c565b91505092915050565b60008060008060006080868803121561275857600080fd5b600061276688828901612612565b955050602061277788828901612612565b94505060406127888882890161269b565b935050606086013567ffffffffffffffff8111156127a557600080fd5b6127b188828901612651565b92509250509295509295909350565b6000602082840312156127d257600080fd5b60006127e08482850161269b565b91505092915050565b6000602082840312156127fb57600080fd5b6000612809848285016126b0565b91505092915050565b6000806040838503121561282557600080fd5b60006128338582860161269b565b925050602061284485828601612612565b9150509250929050565b6000806040838503121561286157600080fd5b600061286f8582860161269b565b92505060206128808582860161269b565b9150509250929050565b61289381612e64565b82525050565b6128a281612e88565b82525050565b6128b181612e94565b82525050565b60006128c4602183612d94565b91506128cf82612fbb565b604082019050919050565b60006128e7602683612d94565b91506128f28261300a565b604082019050919050565b600061290a602583612d94565b915061291582613059565b604082019050919050565b600061292d602383612d94565b9150612938826130a8565b604082019050919050565b6000612950602583612d94565b915061295b826130f7565b604082019050919050565b6000612973602183612d94565b915061297e82613146565b604082019050919050565b6000612996601983612d94565b91506129a182613195565b602082019050919050565b60006129b9602383612d94565b91506129c4826131be565b604082019050919050565b60006129dc601b83612d94565b91506129e78261320d565b602082019050919050565b60006129ff602083612d94565b9150612a0a82613236565b602082019050919050565b6000612a22600083612d89565b9150612a2d8261325f565b600082019050919050565b6000612a45601783612d94565b9150612a5082613262565b602082019050919050565b612a6481612ee0565b82525050565b6000612a7582612a15565b9150819050919050565b6000602082019050612a94600083018461288a565b92915050565b6000606082019050612aaf600083018661288a565b612abc602083018561288a565b612ac96040830184612a5b565b949350505050565b6000602082019050612ae66000830184612899565b92915050565b6000602082019050612b0160008301846128a8565b92915050565b60006020820190508181036000830152612b20816128b7565b9050919050565b60006020820190508181036000830152612b40816128da565b9050919050565b60006020820190508181036000830152612b60816128fd565b9050919050565b60006020820190508181036000830152612b8081612920565b9050919050565b60006020820190508181036000830152612ba081612943565b9050919050565b60006020820190508181036000830152612bc081612966565b9050919050565b60006020820190508181036000830152612be081612989565b9050919050565b60006020820190508181036000830152612c00816129ac565b9050919050565b60006020820190508181036000830152612c20816129cf565b9050919050565b60006020820190508181036000830152612c40816129f2565b9050919050565b60006020820190508181036000830152612c6081612a38565b9050919050565b6000602082019050612c7c6000830184612a5b565b92915050565b600060a082019050612c976000830188612a5b565b612ca4602083018761288a565b612cb1604083018661288a565b612cbe6060830185612a5b565b612ccb608083018461288a565b9695505050505050565b600060c082019050612cea6000830189612a5b565b612cf7602083018861288a565b612d04604083018761288a565b612d116060830186612a5b565b612d1e608083018561288a565b612d2b60a0830184612a5b565b979650505050505050565b600060a082019050612d4b6000830188612a5b565b612d58602083018761288a565b612d656040830186612a5b565b612d72606083018561288a565b612d7f6080830184612a5b565b9695505050505050565b600081905092915050565b600082825260208201905092915050565b6000612db082612ee0565b9150612dbb83612ee0565b925082612dcb57612dca612f8c565b5b828204905092915050565b6000612de182612ee0565b9150612dec83612ee0565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615612e2557612e24612f5d565b5b828202905092915050565b6000612e3b82612ee0565b9150612e4683612ee0565b925082821015612e5957612e58612f5d565b5b828203905092915050565b6000612e6f82612ec0565b9050919050565b6000612e8182612ec0565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6000612ef582612ee0565b91506000821415612f0957612f08612f5d565b5b600182039050919050565b6000612f1f82612ee0565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415612f5257612f51612f5d565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4661696c656420746f2073656e6420424e4220746f207468652073656c6c657260008201527f2e00000000000000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4661696c656420746f2073656e6420424e422066656520746f2074686520417560008201527f74686f722e000000000000000000000000000000000000000000000000000000602082015250565b7f507269636520616e64207061696420616d6f756e7420646f206e6f74206d617460008201527f63682e0000000000000000000000000000000000000000000000000000000000602082015250565b7f4661696c656420746f2073656e6420424e422066656520746f20746865206d6160008201527f726b65742e000000000000000000000000000000000000000000000000000000602082015250565b7f4974656d206973206e6f7420666f722073616c6520287072696365203d20302960008201527f2e00000000000000000000000000000000000000000000000000000000000000602082015250565b7f53656e646572206973206e6f7420617574686f72697a65642e00000000000000600082015250565b7f4f6e6c79206f776e65722063616e206c697374206974656d7320666f7220736160008201527f6c652e0000000000000000000000000000000000000000000000000000000000602082015250565b7f53656c6c65722063616e6e6f74206265206164647265737320302e0000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b50565b7f4e6577206f776e6572206e6f742061737369676e65642e000000000000000000600082015250565b61329481612e64565b811461329f57600080fd5b50565b6132ab81612e76565b81146132b657600080fd5b50565b6132c281612ee0565b81146132cd57600080fd5b5056fea2646970667358221220612383454513bbe60a519610396970dd4f4e298d2f950912206ca51b6db1052064736f6c63430008010033

Deployed Bytecode

0x6080604052600436106101095760003560e01c80638da5cb5b11610095578063dfe9ec9411610064578063dfe9ec9414610355578063e7846b6614610371578063e7fb74c7146103ae578063f2fde38b146103ca578063fdebd2f2146103f357610109565b80638da5cb5b14610299578063adcb005c146102c4578063b82f91c714610301578063ded7bd561461032a57610109565b80632769b96b116100dc5780632769b96b146101da5780635d7a45ad14610203578063715018a61461022e57806384d6ff2f14610245578063883efa671461027057610109565b8063010eea911461010e578063100616311461014b578063150b7a021461017457806315f5c962146101b1575b600080fd5b34801561011a57600080fd5b50610135600480360381019061013091906127c0565b61041c565b6040516101429190612a7f565b60405180910390f35b34801561015757600080fd5b50610172600480360381019061016d91906127c0565b610459565b005b34801561018057600080fd5b5061019b60048036038101906101969190612740565b610748565b6040516101a89190612aec565b60405180910390f35b3480156101bd57600080fd5b506101d860048036038101906101d39190612717565b61075d565b005b3480156101e657600080fd5b5061020160048036038101906101fc919061284e565b61081d565b005b34801561020f57600080fd5b50610218610ac1565b6040516102259190612c67565b60405180910390f35b34801561023a57600080fd5b50610243610acb565b005b34801561025157600080fd5b5061025a610b53565b6040516102679190612c67565b60405180910390f35b34801561027c57600080fd5b506102976004803603810190610292919061284e565b610b59565b005b3480156102a557600080fd5b506102ae610f45565b6040516102bb9190612a7f565b60405180910390f35b3480156102d057600080fd5b506102eb60048036038101906102e691906127c0565b610f6e565b6040516102f89190612c67565b60405180910390f35b34801561030d57600080fd5b506103286004803603810190610323919061284e565b610f8b565b005b34801561033657600080fd5b5061033f6112cc565b60405161034c9190612c67565b60405180910390f35b61036f600480360381019061036a9190612812565b6112d2565b005b34801561037d57600080fd5b50610398600480360381019061039391906127c0565b611857565b6040516103a59190612ad1565b60405180910390f35b6103c860048036038101906103c391906127c0565b6118e0565b005b3480156103d657600080fd5b506103f160048036038101906103ec91906126c5565b612341565b005b3480156103ff57600080fd5b5061041a600480360381019061041591906127c0565b612439565b005b60006004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b806104626124bf565b73ffffffffffffffffffffffffffffffffffffffff166004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16148061050757506104d16124bf565b73ffffffffffffffffffffffffffffffffffffffff166104ef610f45565b73ffffffffffffffffffffffffffffffffffffffff16145b610546576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161053d90612bc7565b60405180910390fd5b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166342842e0e306004600086815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16856040518463ffffffff1660e01b81526004016105d893929190612a9a565b600060405180830381600087803b1580156105f257600080fd5b505af1158015610606573d6000803e3d6000fd5b50505050610613826124c7565b7f106246e78cd4092204d8e94311303e937bd064ca7e676013596ebce594808933826004600085815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166003600086815260200190815260200160002054600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ec4eb442876040518263ffffffff1660e01b81526004016106d89190612c67565b60206040518083038186803b1580156106f057600080fd5b505afa158015610704573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061072891906126ee565b60075460405161073c959493929190612d36565b60405180910390a15050565b600063150b7a0260e01b905095945050505050565b6107656124bf565b73ffffffffffffffffffffffffffffffffffffffff16610783610f45565b73ffffffffffffffffffffffffffffffffffffffff16146107d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107d090612c27565b60405180910390fd5b80600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b816108266124bf565b73ffffffffffffffffffffffffffffffffffffffff166004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614806108cb57506108956124bf565b73ffffffffffffffffffffffffffffffffffffffff166108b3610f45565b73ffffffffffffffffffffffffffffffffffffffff16145b61090a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161090190612bc7565b60405180910390fd5b8160036000858152602001908152602001600020819055507f21c6645228bb0a2cdef3273c38dd6422e40d5a28cb195f5278a6a373465f60ff83600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e866040518263ffffffff1660e01b815260040161099f9190612c67565b60206040518083038186803b1580156109b757600080fd5b505afa1580156109cb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109ef91906126ee565b6109f76124bf565b85600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ec4eb442896040518263ffffffff1660e01b8152600401610a539190612c67565b60206040518083038186803b158015610a6b57600080fd5b505afa158015610a7f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aa391906126ee565b604051610ab4959493929190612c82565b60405180910390a1505050565b6000600754905090565b610ad36124bf565b73ffffffffffffffffffffffffffffffffffffffff16610af1610f45565b73ffffffffffffffffffffffffffffffffffffffff1614610b47576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b3e90612c27565b60405180910390fd5b610b51600061254e565b565b60055481565b610b616124bf565b73ffffffffffffffffffffffffffffffffffffffff16600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e846040518263ffffffff1660e01b8152600401610bd29190612c67565b60206040518083038186803b158015610bea57600080fd5b505afa158015610bfe573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c2291906126ee565b73ffffffffffffffffffffffffffffffffffffffff1614610c78576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c6f90612be7565b60405180910390fd5b806003600084815260200190815260200160002081905550600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b8152600401610ceb9190612c67565b60206040518083038186803b158015610d0357600080fd5b505afa158015610d17573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d3b91906126ee565b6004600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166342842e0e610dd26124bf565b30856040518463ffffffff1660e01b8152600401610df293929190612a9a565b600060405180830381600087803b158015610e0c57600080fd5b505af1158015610e20573d6000803e3d6000fd5b5050505060076000815480929190610e3790612f14565b91905055507ffc03b4e2884c77019bbed322825d5474a29f5a432ee06b79726bb2b5b707fae582610e666124bf565b6003600086815260200190815260200160002054600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ec4eb442876040518263ffffffff1660e01b8152600401610ed59190612c67565b60206040518083038186803b158015610eed57600080fd5b505afa158015610f01573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f2591906126ee565b600754604051610f39959493929190612d36565b60405180910390a15050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600060036000838152602001908152602001600020549050919050565b610f936124bf565b73ffffffffffffffffffffffffffffffffffffffff16610fb1610f45565b73ffffffffffffffffffffffffffffffffffffffff1614611007576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ffe90612c27565b60405180910390fd5b8060036000848152602001908152602001600020819055506000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e846040518263ffffffff1660e01b815260040161107c9190612c67565b60206040518083038186803b15801561109457600080fd5b505afa1580156110a8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110cc91906126ee565b9050806004600085815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166342842e0e8230866040518463ffffffff1660e01b815260040161117f93929190612a9a565b600060405180830381600087803b15801561119957600080fd5b505af11580156111ad573d6000803e3d6000fd5b50505050600760008154809291906111c490612f14565b91905055507ffc03b4e2884c77019bbed322825d5474a29f5a432ee06b79726bb2b5b707fae583826003600087815260200190815260200160002054600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ec4eb442886040518263ffffffff1660e01b815260040161125b9190612c67565b60206040518083038186803b15801561127357600080fd5b505afa158015611287573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112ab91906126ee565b6007546040516112bf959493929190612d36565b60405180910390a1505050565b60075481565b6112da6124bf565b73ffffffffffffffffffffffffffffffffffffffff166112f8610f45565b73ffffffffffffffffffffffffffffffffffffffff161461134e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161134590612c27565b60405180910390fd5b600060036000848152602001908152602001600020541180156113d15750600073ffffffffffffffffffffffffffffffffffffffff166004600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614155b611410576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161140790612ba7565b60405180910390fd5b60006004600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600060036000858152602001908152602001600020549050600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166342842e0e3085876040518463ffffffff1660e01b81526004016114bf93929190612a9a565b600060405180830381600087803b1580156114d957600080fd5b505af11580156114ed573d6000803e3d6000fd5b505050508273ffffffffffffffffffffffffffffffffffffffff16600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e866040518263ffffffff1660e01b81526004016115639190612c67565b60206040518083038186803b15801561157b57600080fd5b505afa15801561158f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115b391906126ee565b73ffffffffffffffffffffffffffffffffffffffff1614611609576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161160090612c47565b60405180910390fd5b611612846124c7565b7f48876dbe47a4a0cfb604c1a816f4cdb835506a9c78f42bed069a946f70f6615484600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e876040518263ffffffff1660e01b815260040161168f9190612c67565b60206040518083038186803b1580156116a757600080fd5b505afa1580156116bb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116df91906126ee565b8484600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ec4eb4428a6040518263ffffffff1660e01b815260040161173c9190612c67565b60206040518083038186803b15801561175457600080fd5b505afa158015611768573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061178c91906126ee565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635bd159868b6040518263ffffffff1660e01b81526004016117e79190612c67565b60206040518083038186803b1580156117ff57600080fd5b505afa158015611813573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061183791906127e9565b60405161184996959493929190612cd5565b60405180910390a150505050565b600080600360008481526020019081526020016000205411806118d95750600073ffffffffffffffffffffffffffffffffffffffff166004600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16145b9050919050565b600060036000838152602001908152602001600020541180156119635750600073ffffffffffffffffffffffffffffffffffffffff166004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614155b6119a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161199990612ba7565b60405180910390fd5b6000600360008381526020019081526020016000205490508034146119fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119f390612b67565b60405180910390fd5b60006004600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611aa4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a9b90612c07565b60405180910390fd5b6000806005541115611b9c57606483600554611ac09190612dd6565b611aca9190612da5565b90506000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1682604051611b1490612a6a565b60006040518083038185875af1925050503d8060008114611b51576040519150601f19603f3d011682016040523d82523d6000602084013e611b56565b606091505b5050905080611b9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b9190612b87565b60405180910390fd5b505b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635bd15986866040518263ffffffff1660e01b8152600401611bf99190612c67565b60206040518083038186803b158015611c1157600080fd5b505afa158015611c25573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c4991906127e9565b9050600080821115611e7157606485600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635bd15986896040518263ffffffff1660e01b8152600401611cb39190612c67565b60206040518083038186803b158015611ccb57600080fd5b505afa158015611cdf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d0391906127e9565b611d0d9190612dd6565b611d179190612da5565b90506000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ec4eb442886040518263ffffffff1660e01b8152600401611d769190612c67565b60206040518083038186803b158015611d8e57600080fd5b505afa158015611da2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611dc691906126ee565b73ffffffffffffffffffffffffffffffffffffffff1682604051611de990612a6a565b60006040518083038185875af1925050503d8060008114611e26576040519150601f19603f3d011682016040523d82523d6000602084013e611e2b565b606091505b5050905080611e6f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e6690612b47565b60405180910390fd5b505b6000818487611e809190612e30565b611e8a9190612e30565b905060008573ffffffffffffffffffffffffffffffffffffffff1682604051611eb290612a6a565b60006040518083038185875af1925050503d8060008114611eef576040519150601f19603f3d011682016040523d82523d6000602084013e611ef4565b606091505b5050905080611f38576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f2f90612b07565b60405180910390fd5b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166342842e0e30611f7f6124bf565b8b6040518463ffffffff1660e01b8152600401611f9e93929190612a9a565b600060405180830381600087803b158015611fb857600080fd5b505af1158015611fcc573d6000803e3d6000fd5b50505050611fd86124bf565b73ffffffffffffffffffffffffffffffffffffffff16600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e8a6040518263ffffffff1660e01b81526004016120499190612c67565b60206040518083038186803b15801561206157600080fd5b505afa158015612075573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061209991906126ee565b73ffffffffffffffffffffffffffffffffffffffff16146120ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120e690612c47565b60405180910390fd5b7f684b792a4ef4a0bf42fb899733c36b4bea72d0a4980758489a537d6a4f2e3a3388600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e8b6040518263ffffffff1660e01b815260040161216c9190612c67565b60206040518083038186803b15801561218457600080fd5b505afa158015612198573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121bc91906126ee565b888a600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ec4eb4428e6040518263ffffffff1660e01b81526004016122199190612c67565b60206040518083038186803b15801561223157600080fd5b505afa158015612245573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061226991906126ee565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635bd159868f6040518263ffffffff1660e01b81526004016122c49190612c67565b60206040518083038186803b1580156122dc57600080fd5b505afa1580156122f0573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061231491906127e9565b60405161232696959493929190612cd5565b60405180910390a1612337886124c7565b5050505050505050565b6123496124bf565b73ffffffffffffffffffffffffffffffffffffffff16612367610f45565b73ffffffffffffffffffffffffffffffffffffffff16146123bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123b490612c27565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561242d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161242490612b27565b60405180910390fd5b6124368161254e565b50565b6124416124bf565b73ffffffffffffffffffffffffffffffffffffffff1661245f610f45565b73ffffffffffffffffffffffffffffffffffffffff16146124b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124ac90612c27565b60405180910390fd5b8060058190555050565b600033905090565b6000600360008381526020019081526020016000208190555060006004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506007600081548092919061254690612eea565b919050555050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000813590506126218161328b565b92915050565b6000815190506126368161328b565b92915050565b60008135905061264b816132a2565b92915050565b60008083601f84011261266357600080fd5b8235905067ffffffffffffffff81111561267c57600080fd5b60208301915083600182028301111561269457600080fd5b9250929050565b6000813590506126aa816132b9565b92915050565b6000815190506126bf816132b9565b92915050565b6000602082840312156126d757600080fd5b60006126e584828501612612565b91505092915050565b60006020828403121561270057600080fd5b600061270e84828501612627565b91505092915050565b60006020828403121561272957600080fd5b60006127378482850161263c565b91505092915050565b60008060008060006080868803121561275857600080fd5b600061276688828901612612565b955050602061277788828901612612565b94505060406127888882890161269b565b935050606086013567ffffffffffffffff8111156127a557600080fd5b6127b188828901612651565b92509250509295509295909350565b6000602082840312156127d257600080fd5b60006127e08482850161269b565b91505092915050565b6000602082840312156127fb57600080fd5b6000612809848285016126b0565b91505092915050565b6000806040838503121561282557600080fd5b60006128338582860161269b565b925050602061284485828601612612565b9150509250929050565b6000806040838503121561286157600080fd5b600061286f8582860161269b565b92505060206128808582860161269b565b9150509250929050565b61289381612e64565b82525050565b6128a281612e88565b82525050565b6128b181612e94565b82525050565b60006128c4602183612d94565b91506128cf82612fbb565b604082019050919050565b60006128e7602683612d94565b91506128f28261300a565b604082019050919050565b600061290a602583612d94565b915061291582613059565b604082019050919050565b600061292d602383612d94565b9150612938826130a8565b604082019050919050565b6000612950602583612d94565b915061295b826130f7565b604082019050919050565b6000612973602183612d94565b915061297e82613146565b604082019050919050565b6000612996601983612d94565b91506129a182613195565b602082019050919050565b60006129b9602383612d94565b91506129c4826131be565b604082019050919050565b60006129dc601b83612d94565b91506129e78261320d565b602082019050919050565b60006129ff602083612d94565b9150612a0a82613236565b602082019050919050565b6000612a22600083612d89565b9150612a2d8261325f565b600082019050919050565b6000612a45601783612d94565b9150612a5082613262565b602082019050919050565b612a6481612ee0565b82525050565b6000612a7582612a15565b9150819050919050565b6000602082019050612a94600083018461288a565b92915050565b6000606082019050612aaf600083018661288a565b612abc602083018561288a565b612ac96040830184612a5b565b949350505050565b6000602082019050612ae66000830184612899565b92915050565b6000602082019050612b0160008301846128a8565b92915050565b60006020820190508181036000830152612b20816128b7565b9050919050565b60006020820190508181036000830152612b40816128da565b9050919050565b60006020820190508181036000830152612b60816128fd565b9050919050565b60006020820190508181036000830152612b8081612920565b9050919050565b60006020820190508181036000830152612ba081612943565b9050919050565b60006020820190508181036000830152612bc081612966565b9050919050565b60006020820190508181036000830152612be081612989565b9050919050565b60006020820190508181036000830152612c00816129ac565b9050919050565b60006020820190508181036000830152612c20816129cf565b9050919050565b60006020820190508181036000830152612c40816129f2565b9050919050565b60006020820190508181036000830152612c6081612a38565b9050919050565b6000602082019050612c7c6000830184612a5b565b92915050565b600060a082019050612c976000830188612a5b565b612ca4602083018761288a565b612cb1604083018661288a565b612cbe6060830185612a5b565b612ccb608083018461288a565b9695505050505050565b600060c082019050612cea6000830189612a5b565b612cf7602083018861288a565b612d04604083018761288a565b612d116060830186612a5b565b612d1e608083018561288a565b612d2b60a0830184612a5b565b979650505050505050565b600060a082019050612d4b6000830188612a5b565b612d58602083018761288a565b612d656040830186612a5b565b612d72606083018561288a565b612d7f6080830184612a5b565b9695505050505050565b600081905092915050565b600082825260208201905092915050565b6000612db082612ee0565b9150612dbb83612ee0565b925082612dcb57612dca612f8c565b5b828204905092915050565b6000612de182612ee0565b9150612dec83612ee0565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615612e2557612e24612f5d565b5b828202905092915050565b6000612e3b82612ee0565b9150612e4683612ee0565b925082821015612e5957612e58612f5d565b5b828203905092915050565b6000612e6f82612ec0565b9050919050565b6000612e8182612ec0565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6000612ef582612ee0565b91506000821415612f0957612f08612f5d565b5b600182039050919050565b6000612f1f82612ee0565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415612f5257612f51612f5d565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4661696c656420746f2073656e6420424e4220746f207468652073656c6c657260008201527f2e00000000000000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4661696c656420746f2073656e6420424e422066656520746f2074686520417560008201527f74686f722e000000000000000000000000000000000000000000000000000000602082015250565b7f507269636520616e64207061696420616d6f756e7420646f206e6f74206d617460008201527f63682e0000000000000000000000000000000000000000000000000000000000602082015250565b7f4661696c656420746f2073656e6420424e422066656520746f20746865206d6160008201527f726b65742e000000000000000000000000000000000000000000000000000000602082015250565b7f4974656d206973206e6f7420666f722073616c6520287072696365203d20302960008201527f2e00000000000000000000000000000000000000000000000000000000000000602082015250565b7f53656e646572206973206e6f7420617574686f72697a65642e00000000000000600082015250565b7f4f6e6c79206f776e65722063616e206c697374206974656d7320666f7220736160008201527f6c652e0000000000000000000000000000000000000000000000000000000000602082015250565b7f53656c6c65722063616e6e6f74206265206164647265737320302e0000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b50565b7f4e6577206f776e6572206e6f742061737369676e65642e000000000000000000600082015250565b61329481612e64565b811461329f57600080fd5b50565b6132ab81612e76565b81146132b657600080fd5b50565b6132c281612ee0565b81146132cd57600080fd5b5056fea2646970667358221220612383454513bbe60a519610396970dd4f4e298d2f950912206ca51b6db1052064736f6c63430008010033

Block Transaction Gas Used Reward
view all blocks produced

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

Validator Index Block Amount
View All Withdrawals

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